OSDN Git Service

2004-10-18 Jeroen Frijters <jeroen@frijters.net>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2
3         * java/util/Timer.java
4         (nr): Removed useless initializer.
5         * java/util/logging/LogRecord.java
6         (lastSeqNum): Likewise.
7         * javax/naming/spi/NamingManager.java
8         (icfb, ofb): Likewise.
9
10 2004-10-18  Michael Koch  <konqueror@gmx.de>
11
12         * gnu/java/net/PlainDatagramSocketImpl.java:
13         Reworked import statements.
14         * gnu/java/security/provider/DSAParameters.java:
15         Fixed copyrigth years.
16         * java/net/JarURLConnection.java:
17         Fixed HTML in @author tags.
18         
19
20 2004-10-18  Michael Koch  <konqueror@gmx.de>
21
22         * java/rmi/activation/ActivationSystem.java
23         (SYSTEM_PORT): Initialize with correct port number.
24
25 2004-10-18  Michael Koch  <konqueror@gmx.de>
26
27         * java/lang/reflect/Proxy.java: Improved javadocs.
28
29 2004-10-18  Michael Koch  <konqueror@gmx.de>
30
31         * java/lang/reflect/AccessibleObject.java
32         (checkPermission): Removed redundant final modifier.
33         (secureSetAccessible): Likewise.
34         * java/lang/reflect/Proxy.java:
35         Reworked import statements.
36         (generate): Removed redundant final modifier.
37         * java/lang/reflect/ReflectPermission.java:
38         Reorder package declaration and import statement.
39
40 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
41
42         * java/lang/reflect/Proxy.java
43         (count): Removed useless initializer.
44
45 2004-10-17  Michael Koch  <konqueror@gmx.de>
46
47         * java/net/BindException.java,
48         java/net/ConnectException.java,
49         java/net/ContentHandler.java,
50         java/net/ContentHandlerFactory.java,
51         java/net/DatagramPacket.java,
52         java/net/DatagramSocket.java,
53         java/net/DatagramSocketImpl.java,
54         java/net/DatagramSocketImplFactory.java,
55         java/net/FileNameMap.java,
56         java/net/HttpURLConnection.java,
57         java/net/MalformedURLException.java,
58         java/net/MulticastSocket.java,
59         java/net/NetworkInterface.java,
60         java/net/NoRouteToHostException.java,
61         java/net/PasswordAuthentication.java,
62         java/net/PortUnreachableException.java,
63         java/net/ProtocolException.java,
64         java/net/ServerSocket.java,
65         java/net/Socket.java,
66         java/net/SocketException.java,
67         java/net/SocketImpl.java,
68         java/net/SocketImplFactory.java,
69         java/net/SocketOptions.java,
70         java/net/SocketPermission.java,
71         java/net/SocketTimeoutException.java,
72         java/net/URI.java,
73         java/net/URISyntaxException.java,
74         java/net/URL.java,
75         java/net/URLDecoder.java,
76         java/net/URLEncoder.java,
77         java/net/URLStreamHandler.java,
78         java/net/URLStreamHandlerFactory.java,
79         java/net/UnknownHostException.java,
80         java/net/UnknownServiceException.java:
81         Big import statement and @author tag cleanup.
82
83 2004-10-17  Michael Koch  <konqueror@gmx.de>
84
85         * gnu/java/security/OID.java,
86         gnu/java/security/provider/DSAParameters.java,
87         gnu/java/security/provider/DSASignature.java,
88         gnu/java/security/x509/X500DistinguishedName.java,
89         gnu/java/security/x509/X509CRL.java:
90         Import statements cleaned up.
91
92 2004-10-16  Michael Koch  <konqueror@gmx.de>
93
94         * gnu/java/nio/NIODatagramSocket.java,
95         gnu/java/nio/ServerSocketChannelImpl.java:
96         Reorganized import statements.
97
98 2004-10-16  Michael Koch  <konqueror@gmx.de>
99
100         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
101         gnu/java/rmi/rmic/RMIC.java,
102         gnu/java/rmi/server/RMIHashes.java,
103         gnu/java/rmi/server/RMIObjectInputStream.java,
104         gnu/java/rmi/server/RMIObjectOutputStream.java,
105         gnu/java/rmi/server/UnicastConnection.java,
106         gnu/java/rmi/server/UnicastConnectionManager.java,
107         gnu/java/rmi/server/UnicastRemoteCall.java,
108         gnu/java/rmi/server/UnicastServer.java,
109         gnu/java/rmi/server/UnicastServerRef.java,
110         java/rmi/MarshalledObject.java,
111         java/rmi/Naming.java,
112         java/rmi/RMISecurityManager.java,
113         java/rmi/Remote.java,
114         java/rmi/activation/Activatable.java,
115         java/rmi/activation/ActivationDesc.java,
116         java/rmi/activation/ActivationGroup.java,
117         java/rmi/activation/ActivationGroupDesc.java,
118         java/rmi/activation/ActivationGroupID.java,
119         java/rmi/activation/ActivationID.java,
120         java/rmi/activation/ActivationInstantiator.java,
121         java/rmi/activation/ActivationMonitor.java,
122         java/rmi/activation/ActivationSystem.java,
123         java/rmi/activation/Activator.java,
124         java/rmi/dgc/DGC.java,
125         java/rmi/dgc/Lease.java,
126         java/rmi/dgc/VMID.java,
127         java/rmi/registry/LocateRegistry.java,
128         java/rmi/registry/Registry.java,
129         java/rmi/registry/RegistryHandler.java,
130         java/rmi/server/LoaderHandler.java,
131         java/rmi/server/LogStream.java,
132         java/rmi/server/ObjID.java,
133         java/rmi/server/Operation.java,
134         java/rmi/server/RMIClassLoader.java,
135         java/rmi/server/RMIClassLoaderSpi.java,
136         java/rmi/server/RMIClientSocketFactory.java,
137         java/rmi/server/RMIFailureHandler.java,
138         java/rmi/server/RMIServerSocketFactory.java,
139         java/rmi/server/RMISocketFactory.java,
140         java/rmi/server/RemoteCall.java,
141         java/rmi/server/RemoteObject.java,
142         java/rmi/server/RemoteRef.java,
143         java/rmi/server/RemoteServer.java,
144         java/rmi/server/RemoteStub.java,
145         java/rmi/server/ServerRef.java,
146         java/rmi/server/Skeleton.java,
147         java/rmi/server/SkeletonMismatchException.java,
148         java/rmi/server/UID.java,
149         java/rmi/server/UnicastRemoteObject.java,
150         java/rmi/server/Unreferenced.java:
151         File headers and import statements cleaned up.
152
153 2004-10-16  Michael Koch  <konqueror@gmx.de>
154
155         * libjava/gnu/java/nio/charset/UTF_16.java,
156         libjava/gnu/java/nio/charset/UTF_16BE.java,
157         libjava/gnu/java/nio/charset/UTF_16LE.java,
158         libjava/java/nio/ByteOrder.java,
159         libjava/java/nio/MappedByteBuffer.java,
160         libjava/java/nio/channels/Channels.java,
161         libjava/java/nio/channels/spi/SelectorProvider.java,
162         libjava/java/nio/charset/Charset.java:
163         Cleanup.
164
165 2004-10-16  Michael Koch  <konqueror@gmx.de>
166
167         * gnu/java/nio/charset/UTF_16Encoder.java
168         (UTF_16Encoder): Fixed maxBytesPerChar handling.
169
170 2004-10-16  Michael Koch  <konqueror@gmx.de>
171
172         * java/math/BigDecimal.java, java/math/BigInteger.java:
173         Reorganized import statements, removed redundant and
174         reorganized modifiers.
175
176 2004-10-16  Michael Koch  <konqueror@gmx.de>
177
178         * gnu/java/beans/ExplicitBeanInfo.java:
179         Explicitely import java.awt.Image.
180         (getIcon): Fixed off-by-one error.
181
182 2004-10-15  Andrew Haley  <aph@redhat.com>
183
184         * Makefile.am (nat_files, xlib_nat_files): New.
185         * Makefile.in: Regenerate.
186
187 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
188
189         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
190         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
191
192 2004-10-13  Andrew Haley  <aph@redhat.com>
193
194         * interpret.cc (_Jv_InterpMethod::run): Initialize
195         _Jv_StartOfInterpreter.
196         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
197         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
198         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
199         _Unwind_FindEnclosingFunction to discover whether PC is within the
200         interpreter.
201
202 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
203
204         PR libgcj/17903:
205         * testsuite/libjava.lang/md5test.java: New file.
206         * testsuite/libjava.lang/md5test.out: Likewise.
207         * testsuite/libjava.lang/shatest.java: Likewise.
208         * testsuite/libjava.lang/shatest.out: Likewise.
209
210 2004-10-11  Richard Henderson  <rth@redhat.com>
211
212         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
213         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
214
215 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
216
217         * java/util/Calendar.java (set): Invalidate DST_OFFSET
218         field as a DST boundary may have been crossed.
219         * java/util/GregorianCalendar.java (add): Throw 
220         IllegalArgumentException on attempt to add to DST_OFFSET or 
221         ZONE_OFFSET fields. Update javadoc.
222
223 2004-10-09  Michael Koch  <konqueror@gmx.de>
224
225         * java/io/CharArrayWriter.java
226         (resize): Removed redundant 'final' modifier.
227         * java/io/DataInputStream.java
228         (readFully): Throw IndexOutOfBoundsException of len < 0.
229         * java/io/FileDescriptor.java,
230         java/io/FileInputStream.java,
231         java/io/FileOutputStream.java,
232         java/io/ObjectOutputStream.java,
233         java/io/ObjectStreamClass.java,
234         java/io/PipedInputStream.java,
235         java/io/RandomAccessFile.java:
236         Reorganized import statements.
237
238 2004-10-09  Michael Koch  <konqueror@gmx.de>
239
240         * gnu/java/rmi/rmic/RMIC.java,
241         gnu/java/rmi/server/RMIHashes.java,
242         gnu/java/rmi/server/RMIObjectInputStream.java,
243         gnu/java/rmi/server/UnicastConnection.java,
244         gnu/java/rmi/server/UnicastConnectionManager.java,
245         gnu/java/rmi/server/UnicastRemoteCall.java,
246         gnu/java/rmi/server/UnicastServerRef.java:
247         Reworked import statements and fixed file headers.
248
249 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
250
251         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
252         emission rule.
253         * configure: Rebuilt.
254
255 2004-09-30  Tom Tromey  <tromey@redhat.com>
256
257         * java/text/MessageFormat.java (Field): Constructor now
258         protected.
259
260 2004-09-30  Tom Tromey  <tromey@redhat.com>
261
262         * javax/crypto/MacSpi.java: Fixed typo.
263
264 2004-09-30  Michael Koch  <konqueror@gmx.de>
265
266         * java/net/InetAddress.java: Reformatted.
267         (loopback): Initialize with Inet4Address object.
268         (static): Initialize ANY_IF with Inet4Address object.
269         (InetAddress): Removed unused package-private constructor.
270
271 2004-09-30  Michael Koch  <konqueror@gmx.de>
272
273         * java/beans/Beans.java,
274         java/beans/EventHandler.java,
275         java/beans/EventSetDescriptor.java,
276         java/beans/Introspector.java,
277         java/beans/PropertyEditorManager.java,
278         java/beans/beancontext/BeanContext.java,
279         java/beans/beancontext/BeanContextChild.java,
280         java/beans/beancontext/BeanContextChildSupport.java,
281         java/beans/beancontext/BeanContextMembershipEvent.java:
282         Reordered import statements and removed redundant modifiers.
283
284 2004-09-29  Tom Tromey  <tromey@redhat.com>
285
286         PR libgcj/17715:
287         * Makefile.in: Rebuilt.
288         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
289         files.
290         (all_property_files): New macro.
291
292         * Makefile.in: Rebuilt.
293         * Makefile.am (ordinary_java_source_files): Re-sorted.
294         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
295
296 2004-09-28  Tom Tromey  <tromey@redhat.com>
297
298         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
299
300         PR libgcj/17222:
301         * Makefile.am (libgcj.la): Restored.
302         * Makefile.in: Rebuilt.
303
304 2004-09-28  Michael Koch  <konqueror@gmx.de>
305
306         * java/net/URLConnection.java: Reformatted.
307         * java/net/URLClassLoader.java: Reformatted.
308         (getContent): Reordered return of content.
309         (getContentHandler): Don't check for null explicitely.
310
311 2004-09-27  Michael Koch  <konqueror@gmx.de>
312
313         * java/io/BufferedInputStream.java
314         (BufferedInputStream): Added Jeroen Frijters to authors.
315         (count): Don't explicitely initialize with default value.
316         (pos): Likewise.
317         (marklimit): Likewise.
318         (read): Changed boolean expression to match GNU classpath' version.
319         (reset): Add proper message to exception.
320         (skip): Check for closed stream.
321         (refill): Likewise.
322
323 2004-09-26  Per Bothner  <per@bothner.com>
324
325         * prims.cc (unblock_signal): Annotate signum with __unused__ to
326         avoid warnings in the non-POSIX_VERSION case.
327         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
328         so place it inside an #if block.
329         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
330         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
331         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
332         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
333
334 2004-09-26  Per Bothner  <per@bothner.com>
335
336         * prims.cc (process_gcj_properties):  Optimization.
337
338 2004-09-26  Per Bothner  <per@bothner.com>
339
340         * java/util/Collections.java (sort):  Copy from array in forwards
341         order, rather than reverse order which may be much less efficient.
342
343 2004-09-26  Mark Wielaard  <mark@klomp.org>
344
345         * java/lang/System.java (properties): Make package private.
346         * java/lang/Throwable.java (StaticData.nl): Initialize through
347         directly accessing System.properties.getProperty().
348
349         * java/lang/Throwable.java (nl): Remove static field.
350         (StaticData): New private static inner class.
351         (stackTraceStringBuffer): Use StaticData.nl.
352
353 2004-09-26  Casey Marshall <csm@gnu.org>
354
355         * java/security/ProtectionDomain.java
356         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
357         `true'.
358
359         * java/security/SecureClassLoader.java
360         (defineClass): make protection domain dynamically bound.
361         (getPermissions): call `getCurrentPolicy' to avoid permission
362         check.
363
364 2004-09-25  Mark Wielaard  <mark@klomp.org>
365
366         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
367         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
368         * Makefile.in: Regenerated.
369
370         * gcj/javaprims.h: Regenerated.
371
372         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
373         (getDefaultTimeZone): Make package private. Check that GMToffset
374         contains at least one digit.
375         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
376         VMTimeZone.
377         * util/VMTimeZone.java: New file with above methods.
378
379         * java/util/natTimeZone.cc: Removed (renamed).
380         * java/util/natVMTimeZone.cc: Added (renamed).
381
382 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
383
384         * java/util/TimeZone.java
385         (getDefaultTimeZone): Fixed test to distinguish between hours and
386         minutes in specified timezone.
387
388 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
389
390         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
391         handling of default package. (generate): Removed confused comments
392         and code about making Method and Field accessible.
393
394 2004-09-25  Tom Tromey  <tromey@redhat.com>
395
396         PR java/17500:
397         * testsuite/libjava.compile/pr17500.java: New file.
398
399 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
400             Mark Wielaard  <mark@klomp.org>
401
402         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
403         * gnu/regexp/RETokenLookAhead.java: New file.
404
405         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
406         * Makefile.in: Regenerated.
407
408 2004-09-25  Michael Koch  <konqueror@gmx.de>
409
410         * java/io/ObjectStreamField.java:
411         Removed unused import statement.
412
413 2004-09-24  Tom Tromey  <tromey@redhat.com>
414
415         PR java/15656:
416         * testsuite/libjava.compile/pr15656.xfail: New file.
417         * testsuite/libjava.compile/pr15656.java: new file.
418
419         PR java/16789:
420         * testsuite/libjava.lang/pr16789.out: New file.
421         * testsuite/libjava.lang/pr16789.java: New file.
422
423 2004-09-24  Andrew Haley  <aph@redhat.com>
424
425         PR java/16927
426         * testsuite/libjava.compile/AssertBug.java: New file.
427
428 2004-09-24  Casey Marshall <csm@gnu.org>
429
430         * java/util/PropertyPermissionCollection.java
431         (implies): avoid infinite loop.
432
433 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
434
435         * javax/security/auth/PrivateCredentialPermission.java
436         (PrivateCredentialPermission): added serialization UID
437
438
439 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
440
441         * gnu/java/rmi/server/UnicastServer.java
442         (incomingMessageCall): Added code to handle Errors.
443         * gnu/java/rmi/server/UnicastServerRef.java
444         (incomingMessageCall): Added code to handle Errors.
445
446
447 2004-09-24  Tom Tromey  <tromey@redhat.com>
448
449         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
450         (definedPackages): Likewise.
451
452 2004-09-24  Michael Koch  <konqueror@gmx.de>
453
454         * java/io/ObjectInputStream.java:
455         Re-ordered imports.
456
457 2004-09-24  Casey Marshall <csm@gnu.org>
458
459         * java/io/ObjectInputStream.java (callReadMethod): re-throw
460         `ClassNotFoundException'.
461
462 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
463
464         * java/io/ObjectInputStream.java (readObject): Delegate instantation
465         of Externalizable classes to ObjectStreamClass.
466         * java/io/ObjectStreamClass.java (newInstance): New method to
467         instantiate Externalizable (while ignoring the accessibility of
468         the constructor). (constructor): New field to cache the constructor.
469
470 2004-09-24  Mark Wielaard  <mark@klomp.org>
471
472         * java/net/URL.java (systemClassLoader): New static field.
473         (getURLStreamHandler): Always use system/application classloader
474         for finding URLStreamhandler. Remove unecessary instanceof checks.
475
476 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
477
478         * java/net/URL.java
479         (set): This method now matches the behaviour of the JDK.
480         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
481
482 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
483
484         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
485
486 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
487
488         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
489         Don't set authority if host isn't specified.
490
491 2004-09-24  Michael Koch  <konqueror@gmx.de>
492
493         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
494         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
495         * gnu/java/nio/VMPipe.java,
496         gnu/java/nio/VMSelector.java:
497         New files.
498         * gnu/java/nio/natPipeImplEcos.cc,
499         gnu/java/nio/natPipeImplPosix.cc,
500         gnu/java/nio/natPipeImplWin32.cc:
501         Ported to VMPipe.
502         * gnu/java/nio/natSelectorImplEcos.cc,
503         gnu/java/nio/natSelectorImplPosix.cc,
504         gnu/java/nio/natSelectorImplWin32.cc:
505         Ported to VMSelector.
506         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
507         gnu/java/nio/VMSelector.java.
508         * Makefile.in: Regenerated.
509
510 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
511
512         * java/lang/StackTraceElement.java
513         (className): Renamed field to declaringClass to be compatible
514         with Sun serialization format.
515
516 2004-09-23  Michael Koch  <konqueror@gmx.de>
517
518         * java/applet/AppletContext.java,
519         java/applet/Applet.java,
520         java/applet/AppletStub.java,
521         java/applet/AudioClip.java:
522         Jalopied and checkstyle clean.
523
524 2004-09-23  Mark Wielaard  <mark@klomp.org>
525
526         * java/util/Collections.java
527         (binarySearch(List, Object, Comparator)): Explicitly
528         reverse direction in list iterator.
529         (rotate): Just return when list is empty.
530
531 2004-09-23  Tom Tromey  <tromey@redhat.com>
532
533         PR java/17329:
534         * testsuite/libjava.compile/pr17329.java: New file.
535
536         PR java/17380:
537         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
538         9.2-implicit-7.
539
540 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
541
542         * Makefile.am: Run aclocal with -I ../config
543         * acinclude.m4: Delete macros picked up from ../config and tidy.
544         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
545         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
546         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
547
548 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
549
550         * aclocal.m4: Regenerate with aclocal 1.9.2.
551         * configure: Regenerate.
552         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
553         * include/Makefile.in, testsuite/Makefile.in: Likewise.
554
555 2004-09-22  David Daney  <ddaney@avtrex.com>
556
557         PR libgcj/17623
558         * java/net/URL.java (URL): Copy userInfo from context.
559         (getUserInfo): Return cached userInfo if present.
560
561 2004-09-22  Tom Tromey  <tromey@redhat.com>
562
563         PR libgcj/6182:
564         * mauve-libgcj: Enable java.lang.Character tests.
565
566 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
567
568         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
569         dependencies.
570         (lib_org_ietf_jgss_la_LIBADD): Likewise.
571         * Makefile.in: Regenerated.
572
573 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
574
575         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
576         * configure: Regenerate.
577         * include/config.h.in: Likewise.
578         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
580         macro to gtkpeer.h.
581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
582         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
583         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
584         architectures.
585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
586         Likewise.
587
588 2004-09-22  Tom Tromey  <tromey@redhat.com>
589
590         PR libgcj/14446:
591         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
592         when comparing CRCs.
593         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
594         field.
595         (read()): New overload.
596
597 2004-09-21  Tom Tromey  <tromey@redhat.com>
598
599         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
600         Indentation fix.
601
602 2004-09-21  Michael Koch  <konqueror@gmx.de>
603
604         * java/net/Socket.java
605         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
606
607 2004-09-21  Casey Marshall  <csm@gnu.org>
608
609         * javax/crypto/MacSpi.java (clone): Provide meaningful
610         implementation.
611
612 2004-09-21  Tom Tromey  <tromey@redhat.com>
613
614         PR libgcj/16869:
615         * Makefile.in: Rebuilt.
616         * Makefile.am (MOSTLYCLEANFILES): Removed.
617         (mostlyclean-local): Remove header files.
618
619 2004-09-21  Casey Marshall  <csm@gnu.org>
620
621         * java/security/cert/X509CRLSelector.java:
622         (match): remove unreachable try-catch clauses.
623         Reported by: Dalibor Topic <robilad@kaffe.org>
624
625 2004-09-21  Mark Wielaard  <mark@klomp.org>
626
627         * java/util/TreeMap.java (root): Don't initialize.
628         (TreeMap(Comparator)): Call fabricateTree(0).
629         (fabricateTree): Initialize root and size when count is 0.
630
631 2004-09-21  Sven de Marothy <sven@physto.se>
632
633         * java/nio/ByteBuffer.java (hashCode): Implemented.
634         * java/nio/CharBuffer.java: Likewise.
635         * java/nio/DoubleBuffer.java: Likewise.
636         * java/nio/FloatBuffer.java: Likewise.
637         * java/nio/LongBuffer.java: Likewise.
638         * java/nio/IntBuffer.java: Likewise.
639         * java/nio/ShortBuffer.java: Likewise.
640
641 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
642
643         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
644
645 2004-09-21  Michael Koch  <konqueror@gmx.de>
646
647         * javax/net/ssl/SSLServerSocket.java:
648         Removed comment about "Do not edit this file, it's generated.".
649
650 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
651
652         Import the big Crypto/Jessie/Security merge from Classpath.
653
654         * Makefile.am: Add imported files.
655         * Makefile.in: Regenerate.
656
657         2004-08-14  Casey Marshall <csm@gnu.org>
658
659         The Big Crypto Merge of 2004.
660
661         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
662         Crypto's version.
663
664         Files imported from GNU Crypto.
665         * javax/crypto/BadPaddingException.java
666         * javax/crypto/Cipher.java
667         * javax/crypto/CipherInputStream.java
668         * javax/crypto/CipherOutputStream.java
669         * javax/crypto/CipherSpi.java
670         * javax/crypto/EncryptedPrivateKeyInfo.java
671         * javax/crypto/ExemptionMechanism.java
672         * javax/crypto/ExemptionMechanismException.java
673         * javax/crypto/ExemptionMechanismSpi.java
674         * javax/crypto/IllegalBlockSizeException.java
675         * javax/crypto/KeyAgreement.java
676         * javax/crypto/KeyAgreementSpi.java
677         * javax/crypto/KeyGenerator.java
678         * javax/crypto/KeyGeneratorSpi.java
679         * javax/crypto/Mac.java
680         * javax/crypto/MacSpi.java
681         * javax/crypto/Makefile.am
682         * javax/crypto/NoSuchPaddingException.java
683         * javax/crypto/NullCipher.java
684         * javax/crypto/NullCipherImpl.java
685         * javax/crypto/SealedObject.java
686         * javax/crypto/SecretKey.java
687         * javax/crypto/SecretKeyFactory.java
688         * javax/crypto/SecretKeyFactorySpi.java
689         * javax/crypto/ShortBufferException.java
690         * javax/crypto/interfaces/DHKey.java
691         * javax/crypto/interfaces/DHPrivateKey.java
692         * javax/crypto/interfaces/DHPublicKey.java
693         * javax/crypto/interfaces/PBEKey.java
694         * javax/crypto/spec/DESKeySpec.java
695         * javax/crypto/spec/DESedeKeySpec.java
696         * javax/crypto/spec/DHGenParameterSpec.java
697         * javax/crypto/spec/DHParameterSpec.java
698         * javax/crypto/spec/DHPrivateKeySpec.java
699         * javax/crypto/spec/DHPublicKeySpec.java
700         * javax/crypto/spec/IvParameterSpec.java
701         * javax/crypto/spec/PBEKeySpec.java
702         * javax/crypto/spec/PBEParameterSpec.java
703         * javax/crypto/spec/RC2ParameterSpec.java
704         * javax/crypto/spec/RC5ParameterSpec.java
705         * javax/crypto/spec/SecretKeySpec.java
706         * javax/security/auth/AuthPermission.java
707         * javax/security/auth/DestroyFailedException.java
708         * javax/security/auth/Destroyable.java
709         * javax/security/auth/Policy.java
710         * javax/security/auth/PrivateCredentialPermission.java
711         * javax/security/auth/RefreshFailedException.java
712         * javax/security/auth/Refreshable.java
713         * javax/security/auth/Subject.java
714         * javax/security/auth/SubjectDomainCombiner.java
715         * javax/security/auth/callback/Callback.java
716         * javax/security/auth/callback/CallbackHandler.java
717         * javax/security/auth/callback/ChoiceCallback.java
718         * javax/security/auth/callback/ConfirmationCallback.java
719         * javax/security/auth/callback/LanguageCallback.java
720         * javax/security/auth/callback/NameCallback.java
721         * javax/security/auth/callback/PasswordCallback.java
722         * javax/security/auth/callback/TextInputCallback.java
723         * javax/security/auth/callback/TextOutputCallback.java
724         * javax/security/auth/callback/UnsupportedCallbackException.java
725         * javax/security/auth/login/AccountExpiredException.java
726         * javax/security/auth/login/AppConfigurationEntry.java
727         * javax/security/auth/login/Configuration.java
728         * javax/security/auth/login/CredentialExpiredException.java
729         * javax/security/auth/login/FailedLoginException.java
730         * javax/security/auth/login/LoginContext.java
731         * javax/security/auth/login/LoginException.java
732         * javax/security/auth/login/NullConfiguration.java
733         * javax/security/auth/x500/X500PrivateCredential.java
734         * javax/security/sasl/AuthenticationException.java
735         * javax/security/sasl/AuthorizeCallback.java
736         * javax/security/sasl/RealmCallback.java
737         * javax/security/sasl/RealmChoiceCallback.java
738         * javax/security/sasl/Sasl.java
739         * javax/security/sasl/SaslClient.java
740         * javax/security/sasl/SaslClientFactory.java
741         * javax/security/sasl/SaslException.java
742         * javax/security/sasl/SaslServer.java
743         * javax/security/sasl/SaslServerFactory.java
744         * org/ietf/jgss/ChannelBinding.java
745         * org/ietf/jgss/GSSContext.java
746         * org/ietf/jgss/GSSCredential.java
747         * org/ietf/jgss/GSSException.java
748         * org/ietf/jgss/GSSManager.java
749         * org/ietf/jgss/GSSName.java
750         * org/ietf/jgss/MessageProp.java
751         * org/ietf/jgss/Oid.java
752         * org/ietf/jgss/MessagesBundle.properties
753
754         Files imported from Jessie <http://www.nongnu.org/jessie/>
755         * javax/net/ServerSocketFactory.java
756         * javax/net/SocketFactory.java
757         * javax/net/VanillaServerSocketFactory.java
758         * javax/net/VanillaSocketFactory.java
759         * javax/net/ssl/HandshakeCompletedEvent.java
760         * javax/net/ssl/HandshakeCompletedListener.java
761         * javax/net/ssl/HostnameVerifier.java
762         * javax/net/ssl/HttpsURLConnection.java
763         * javax/net/ssl/KeyManager.java
764         * javax/net/ssl/KeyManagerFactory.java
765         * javax/net/ssl/KeyManagerFactorySpi.java
766         * javax/net/ssl/ManagerFactoryParameters.java
767         * javax/net/ssl/SSLContext.java
768         * javax/net/ssl/SSLContextSpi.java
769         * javax/net/ssl/SSLException.java
770         * javax/net/ssl/SSLHandshakeException.java
771         * javax/net/ssl/SSLKeyException.java
772         * javax/net/ssl/SSLPeerUnverifiedException.java
773         * javax/net/ssl/SSLPermission.java
774         * javax/net/ssl/SSLProtocolException.java
775         * javax/net/ssl/SSLServerSocket.java
776         * javax/net/ssl/SSLServerSocketFactory.java
777         * javax/net/ssl/SSLSession.java
778         * javax/net/ssl/SSLSessionBindingEvent.java
779         * javax/net/ssl/SSLSessionBindingListener.java
780         * javax/net/ssl/SSLSessionContext.java
781         * javax/net/ssl/SSLSocket.java
782         * javax/net/ssl/SSLSocketFactory.java
783         * javax/net/ssl/TrivialHostnameVerifier.java
784         * javax/net/ssl/TrustManager.java
785         * javax/net/ssl/TrustManagerFactory.java
786         * javax/net/ssl/TrustManagerFactorySpi.java
787         * javax/net/ssl/X509KeyManager.java
788         * javax/net/ssl/X509TrustManager.java
789         * javax/security/cert/Certificate.java
790         * javax/security/cert/CertificateEncodingException.java
791         * javax/security/cert/CertificateException.java
792         * javax/security/cert/CertificateExpiredException.java
793         * javax/security/cert/CertificateNotYetValidException.java
794         * javax/security/cert/CertificateParsingException.java
795         * javax/security/cert/X509CertBridge.java
796         * javax/security/cert/X509Certificate.java
797
798         2004-08-20  Casey Marshall  <csm@gnu.org>
799
800         * java/security/cert/X509CRLSelector.java: New file.
801         * java/security/cert/X509CertSelector.java: New file.
802
803 2004-09-15  Michael Koch  <konqueror@gmx.de>
804
805         * gnu/java/net/protocol/file/Handler.java
806         (openConnection): Don't throw exception if host part for file: URI is
807         present. setURL() keeps file: protocol if ftp: protocol is not
808         available.
809
810 2004-09-14  Richard Henderson  <rth@redhat.com>
811
812         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
813         value of sigsuspend.
814
815 2004-09-12  Tom Tromey  <tromey@redhat.com>
816
817         * javax/naming/CompoundName.java (CompoundName): Don't check for
818         separator in "flat" case.
819
820 2004-09-12  Michael Koch  <konqueror@gmx.de>
821
822         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
823         AM_CONFIG_HEADER by AC_CONFIG_FILES.
824         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
825         Regenerate.
826
827 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
828
829         PR libgcj/14751
830         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
831         handle in newly-allocated _Jv_Thread_t.
832         (_Jv_ThreadDestroyData): Close thread handle.
833         (_Jv_ThreadStart): Remove obsolete comment.
834         Store handle of newly-created thread in _Jv_Thread_t.
835         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
836         before including <windows.h>
837         #define _Jv_HaveCondDestroy
838
839 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
840
841         * java/lang/natThread.cc (finalize_native): Destroy
842         join conditional variable and mutex if these destroy
843         operations are supported.
844
845 2004-09-10  Dalibor Topic <robilad@kaffe.org>
846
847         * gnu/java/net/protocol/file/Connection.java (permission): New field.
848         (DEFAULT_PERMISSION): New constant.
849         (Connection): Create a FilePermission with permission to read file.
850
851 2004-09-10  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/net/protocol/file/Connection.java
854         (getLastModified): Moved around.
855         (getPermission): Return stored permission.
856
857 2004-09-10  Michael Koch  <konqueror@gmx.de>
858
859         * Makefile.in: Regenerate.
860
861 2004-09-10  Michael Koch  <konqueror@gmx.de>
862
863         * Makefile.am: Reverted accidently commited stuff.
864         * configure: Regenerated.
865
866 2004-09-10  Michael Koch  <konqueror@gmx.de>
867
868         * gnu/java/net/protocol/file/Connection.java
869         (lineSeparator): Made non-final.
870         (static): Removed.
871         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
872         instead of StringBufferInputStream.
873
874 2004-09-10  Michael Koch  <konqueror@gmx.de>
875
876         * gnu/java/net/protocol/file/Connection.java
877         (connect): Handle file is a directory case.
878
879 2004-09-10  Michael Koch  <konqueror@gmx.de>
880
881         * Makefile.am
882         (xlib_includes): Removed.
883         (AM_CPPFLAGS): Renamed from INCLUDES.
884         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
885         * Makefile.in: Regenerate.
886
887 2004-09-09  Michael Koch  <konqueror@gmx.de>
888
889         * java/security/ProtectionDomain.java,
890         * java/util/PropertyPermissionCollection.java:
891         Fixed javadocs all over.
892
893 2004-09-09  Sven de Marothy  <sven@physto.se>
894
895         Patch from David Gilbert <david.gilbert@object-refinery.com>
896         * java/lang/Comparable.java: Fixed documentation errors.
897         * java/util/Arrays.java: Likewise.
898
899 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
900
901         * java/net/Inet4Address.java
902         (Inet4Address): Added comment to serialization UID.
903         * java/text/Format.java
904         (Format): Added comment to serialization UID.
905
906 2004-09-09  Michael Koch  <konqueror@gmx.de>
907
908         * java/lang/System.java
909         (err): Fixed javadoci to point to setErr() and not setOut().
910
911 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
912
913         (normalizePath): Added special case for windows systems.
914
915 2004-09-09  Michael Koch  <konqueror@gmx.de>
916
917         * java/io/File.java
918         (dupSeparator): Made private.
919         (File(URI)): New constructor.
920         (getParentFile): Fixed javadoc.
921         (createTempFile): Reformated.
922         (setReadOnly): Added comment.
923         (deleteOnExit): Merged javadoc with classpath version.
924
925 2004-09-09  Michael Koch  <konqueror@gmx.de>
926
927         * Makefile.am: Don't try to include deps.mk.
928         * Makefile.in: Regenerated.
929
930 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
931
932         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
933         .d files.
934         * configure: Rebuilt.
935
936 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
937
938         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
939         Changed pfn from static local to local.
940
941 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
942             H.J. Lu  <hongjiu.lu@intel.com>
943
944         PR libgcj/17290
945         * Makefile.am (GCJCOMPILE): Remove definition.
946         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
947         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
948         * Makefile.in: Rebuilt.
949
950 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
951
952         * configure.ac (enable-gc-debug): Update help for new syntax.
953         * configure: Regenerate.
954
955 2004-09-03  David Daney  <ddaney@avtrex.com>
956
957         * include/mips-signal.h: Update copyright.
958
959 2004-09-03  David Daney  <ddaney@avtrex.com>
960
961         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
962         * include/mips-signal.h: Added HANDLE_FPE support.
963         
964 2004-08-31  Michael Koch  <konqueror@gmx.de>
965
966         * javax/swing/plaf/basic/BasicTextAreaUI.java
967         (create): New method.
968         * javax/swing/text/DefaultHighlighter.java
969         (DefaultHighlightPainter.debugRect): Removed.
970         * javax/swing/text/StyleContext.java
971         (DEFAULT_STYLE): New field.
972
973 2004-08-31  Michael Koch  <konqueror@gmx.de>
974
975         * javax/swing/plaf/basic/BasicLookAndFeel.java
976         (initComponentDefaults): Add keybindings for selection.backward and
977         selection-forward for text components.
978         * javax/swing/plaf/basic/BasicTextUI.java
979         (paintSafely): Paint highlight only when something is actually
980         selected.
981         * javax/swing/text/DefaultCaret.java
982         (handleHighlight): New method.
983         (setSelectionVisible): Don't do anything when nothing changes.
984         Handle highlight.
985         (moveDot): Reimplemented. Handle highlight.
986         (setDot): Set mark too. Handle highlight.
987         (getSelectionPainter): New method.
988         * javax/swing/text/DefaultEditorKit.java
989         (defaultActions): Added new actions for text selection.
990         * javax/swing/text/DefaultHighlighter.java
991         (DefaultHighlightPainter): New inner class.
992         (DefaultPainter): New field.
993         (paint): Implemented.
994         * javax/swing/text/PlainView.java
995         (paint): Don't draw background here again.
996         * javax/swing/text/Utilities.java
997         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
998         (drawTabbedText): Likewise.
999
1000 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1001
1002         * javax/swing/JComponent.java
1003         (resetKeyboardActions): Add null checks.
1004
1005 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1006
1007         * javax/swing/DefaultButtonModel.java:
1008         Skip group notification when no group is set.
1009
1010 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1011
1012         * javax/swing/JColorChooser.java: 
1013         Make a couple inner classes static, for jikes.
1014
1015 2004-08-31  Michael Koch  <konqueror@gmx.de>
1016
1017         * javax/swing/plaf/basic/BasicTextUI.java
1018         (RottView.modelToView): New method.
1019         (UpdateHandler): Renamed from EventHandler.
1020         (updateHandler): Renamed from eventHandler.
1021         (modelToView): Implemented.
1022         * javax/swing/text/AbstractDocument.java
1023         (BranchElement.getElement): Return null for non-existing indeces.
1024         (BranchElement.getElementIndex): Return 0 in some corner cases.
1025         * javax/swing/text/FieldView.java
1026         (modelToView): New method.
1027         * javax/swing/text/PlainView.java
1028         (modelToView): Made public.
1029
1030 2004-08-31  Kim Ho  <kho@redhat.com>
1031
1032         * Makefile.am: New files.
1033         * Makefile.in: Regenerate.
1034         * gcj/Makefile.in: Regenerate.
1035         * include/Makefile.in: Regenerate.
1036         * java/awt/Color.java: Fix documentation.
1037         (RGBtoHSB): Use floats for conversions.
1038         * javax/swing/ButtonGroup.java: Run Jalopy.
1039         (setSelected): Reimplement.
1040         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1041         (changeState): Let ButtonGroup know that the button 
1042         is changing state.
1043         * javax/swing/JColorChooser.java: Implement.
1044         * javax/swing/JLabel.java: Run Jalopy.
1045         * javax/swing/JSpinner.java: Run Jalopy.
1046         (setValue): New method.
1047         * javax/swing/JTabbedPane.java: Run Jalopy.
1048         (removeTabAt): Call correct remove method.
1049         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1050         (getPreviousValue): Compare minimum value.
1051         * javax/swing/Timer.java: Run Jalopy.
1052         (run): Comment out println.
1053         * javax/swing/ToolTipManager.java:
1054         (mouseMoved): Get new tooltip text for location.
1055         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1056         Jalopy and Javadoc.
1057         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1058         Implement.
1059         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1060         Run Jalopy.
1061         (setSelectedColor): Fire ChangeEvent.
1062         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1063         New file. Implement.
1064         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1065         Ditto.
1066         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1067         Ditto.
1068         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1069         Ditto.
1070         * javax/swing/plaf/basic/BasicArrowButton.java:
1071         (getArrow): Fix size of upward pointing button.
1072         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1073         Implement.
1074         * javax/swing/plaf/basic/BasicSliderUI.java:
1075         (getWidthOfWidestLabel): Use preferred dimensions.
1076         (getHeightOfTallestLabel): Ditto.
1077         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1078         Run Jalopy.
1079         (mousePressed): Disable changes to spinner if it is not enabled.
1080         * testsuite/Makefile.in: Regenerate.
1081
1082
1083 2004-08-31  Michael Koch  <konqueror@gmx.de>
1084
1085         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1086         javax/swing/plaf/basic/BasicTableUI.java:
1087         Added copyright notice.
1088
1089 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1090
1091         * Makefile.am: Added new files.
1092         * Makefile.in: Regenerate.
1093         * javax/swing/ComboBoxEditor.java: Added javadocs.
1094         * javax/swing/ComboBoxModel.java: Likewise.
1095         * javax/swing/DefaultComboBoxModel.java: Implemented.
1096         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1097         and ran through jalopy to fix formatting style.
1098         (getListCellRendererComponent): Use appropriate border
1099         if renderer has focus and use noFocusBorder when it doesn't.
1100         * javax/swing/JComboBox.java: Implemented.
1101         * javax/swing/JList.java:
1102         (locationToIndex): New Method. Implemented.
1103         (indexToLocation): New Method.
1104         * javax/swing/JPopupMenu.java: 
1105         (visible): New field.
1106         (isVisible): Changed to use new field above.
1107         (setVisible): Likewise.
1108         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1109         * javax/swing/plaf/basic/BasicArrowButton.java: 
1110         (shadow): Changed default color to Color.gray.
1111         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1112         UI delegate for JComboBox.
1113         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1114         Popup menu containing list of JComboBox's items.
1115         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1116         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1117         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1118         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1119         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1120         (popupMenuWillBecomeVisible): Set selected path to the first
1121         element only if it is of type MenuElement. Also fix formatting
1122         style.
1123         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1124         methods signatures.
1125         
1126 2004-08-31  Michael Koch  <konqueror@gmx.de>
1127
1128         * javax/swing/text/AbstractDocument.java
1129         (createBranchElement): Use new constructor of BranchElement.
1130         (createLeafElement): Renamed arguments.
1131         (getRootElements): Implemented.
1132         (BranchElement.start): Removed.
1133         (BranchElement.end): Likewise.
1134         (BranchElement.BranchElement): Fixed arguments.
1135         (BranchElement.getEndOffset): Reimplemented.
1136         (BranchElement.getStartOffset): Likewis.
1137         * javax/swing/text/DefaultCaret.java
1138         (paint): Draw simple vertical line as caret instead of a rectangle.
1139         * javax/swing/text/JTextComponent.java
1140         (setText): Use doc directly.
1141         * javax/swing/text/PlainView.java
1142         (nextTabStop): Implemented.
1143         * javax/swing/text/Utilities.java
1144         (drawTabbedText): nextTabStop() returns an absolute x position.
1145         (getTabbedTextWidth): Likewise.
1146
1147 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1148
1149         * java/awt/Component.java 
1150         (isFocusTraversable): Predicate on isLightweight()
1151         (setFocusable): Set isFocusTraversableOverridden.
1152         (requestFocus): Predicate peer dispatch on !isLightweight()
1153         (requestFocusInWindow): Likewise.
1154         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1155         * java/awt/Container.java
1156         (dispatchEventImpl): Predicate on event mask.
1157         (LightweightDispatcher): Remove focus machinery.
1158         * java/awt/DefaultFocusTraversalPolicy.java
1159         (accept): Expand predicate to include isFocusable(). 
1160         * java/awt/DefaultKeyboardFocusManager.java:
1161         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1162         * java/awt/KeyboardFocusManager.java
1163         (redispatchEvent): Synchronize on event to prevent feedback.
1164         * javax/swing/AbstractButton.java
1165         (ButtonFocusListener): Remove class.
1166         (init): Set focusPainted, focusable.
1167         * javax/swing/ActionMap.java (get): Check parent for null. 
1168         * javax/swing/InputMap.java (get): Likewise. 
1169         * javax/swing/JComponent.java
1170         (inputMap_whenFocused): New InputMap.
1171         (inputMap_whenAncestorOfFocused): Likewise.
1172         (inputMap_whenInFocusedWindow): Likewise.
1173         (getActionForKeyStroke): Rewrite.
1174         (getConditionForKeystroke): Likewise.
1175         (ActionListenerProxy): New private class.
1176         (setInputMap): Implement.
1177         (getInputMap): Likewise.
1178         (setActionMap): Likewise.
1179         (getActionMap): Likewise.
1180         (processComponentKeyEvent): New empty method.
1181         (processKeyEvent): Implement.
1182         (processKeyBinding): Likewise.
1183         (resetKeyboardActions): Rewrite.
1184         * javax/swing/KeyStroke.java: Rewrite.
1185         * javax/swing/SwingUtilities.java
1186         (notifyAction): Implement.
1187         (replaceUIActionMap): Likewise.
1188         (replaceUIInputMap): Likewise.
1189         * javax/swing/plaf/basic/BasicButtonListener.java
1190         (focusGained): Implement.
1191         (focusLost): Repaint if focusPainted().
1192         (installKeyboardActions): Install pressed / released actions.
1193         (uninstallKeyboardActions): Implement.
1194         * javax/swing/plaf/basic/BasicButtonUI.java
1195         (focusColor): New field.
1196         (installDefaults): Load focus color, install input map.
1197         (installKeyboardActions): Implement.
1198         (uninstallKeyboardActions): Likewise.
1199         (paintFocus): Rewrite.
1200         * javax/swing/plaf/basic/BasicLookAndFeel.java
1201         (Button.focus): New default, midPurple. 
1202         * javax/swing/plaf/basic/BasicTextUI.java
1203         (kit): Make static.
1204         (installUI): Get doc from kit, load defaults.
1205         (getKeymapName): Implement.
1206         (createKeymap): Likewise.
1207         (installKeyboardActions): Likewise.
1208         (getInputMap): Likewise.
1209         (getActionMap): Likewise.
1210         (createActionMap): Likewise.
1211         * javax/swing/text/AbstractDocument.java
1212         (getStartPosition): Implement.
1213         (getEndPosition): Likewise.
1214         * javax/swing/text/DefaultEditorKit.java
1215         (CopyAction): New class.
1216         (CutAction): Likewise.
1217         (DefaultKeyTypedAction): Likewise.
1218         (InsertBreakAction): Likewise.
1219         (InsertContentAction): Likewise.
1220         (InsertTabAction): Likewise.
1221         (PasteAction): Likewise.
1222         (defaultActions): New static table.
1223         (createCaret): Implement.
1224         (getActions): Likewise.
1225         * javax/swing/text/JTextComponent.java
1226         (KeymapWrapper): New private class.
1227         (KeymapActionMap): Likewise.
1228         (DefaultKeymap): New class.
1229         (keymaps): New static table.
1230         (keymap): New field.
1231         (getKeymap): Implement.
1232         (removeKeymap): Likewise.
1233         (addKeymap): Likewise.
1234         (setKeymap): Likewise.
1235         (loadKeymap): Likewise.
1236         (getActions): Likewise.
1237         (margin): New field.
1238         (JTextComponent): Build and install default keymap.
1239         * javax/swing/text/TextAction.java
1240         (textAction): Call super properly.
1241         (getTextComponent): Implement.
1242         * javax/swing/text/Utilities.java
1243         (drawTabbedText): Adjust position by ascent.
1244
1245 2004-08-31  David Jee  <djee@redhat.com>
1246
1247         PR AWT/17156
1248
1249         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1250         (setEnabled): Make it a native method.
1251         * java/awt/DefaultKeyboardFocusManager.java
1252         (postProcessKeyEvent): Only post event if the menu item
1253         is active.
1254         * java/awt/MenuItem.java:
1255         Private field 'enabled' should be true by default.
1256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1257         (setEnabled): New function.
1258
1259 2004-08-31  David Jee  <djee@redhat.com>
1260
1261         PR AWT/17059
1262
1263         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1264         (nativeSetHelpMenu): New native method declaration.
1265         (addHelpMenu): Call nativeSetHelpMenu().
1266         (addMenu): Remove.
1267         * java/awt/MenuBar.java
1268         (setHelpMenu): Call addNotify() on the new help menu.
1269         (add): Call addNotify() on the new menu.
1270         (addNotify): Set the help menu if one exists.
1271         * java/awt/peer/MenuBarPeer.java
1272         (addMenu): Remove.
1273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1274         (nativeSetHelpMenu): New method.
1275
1276 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1277
1278         * Makefile.am: Add new files.
1279         * Makefile.in: Regenerate.
1280         * javax/swing/Box.java: Fix setting of layout in ctor.
1281         * javax/swing/JScrollPane.java: Scroll headers as well.
1282         * javax/swing/JTable.java: Reimplement.
1283         * javax/swing/JViewPort.java: Only add non-null children.
1284         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1285         * javax/swing/Timer.java: Fix stopping null waker.
1286         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1287         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1288         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1289         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1290         * javax/swing/table/DefaultTableModel.java: Clean up.
1291         * javax/swing/table/JTableHeader.java: Implement.
1292
1293 2004-08-31  Mark Wielaard  <mark@klomp.org>
1294
1295         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1296         semi-colon.
1297
1298 2004-08-31  Mark Wielaard  <mark@klomp.org>
1299
1300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1301         Declare variables at top of functions/block.
1302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1303
1304 2004-08-31  Mark Wielaard  <mark@klomp.org>
1305
1306         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1307         first.
1308
1309 2004-08-31  Michael Koch  <konqueror@gmx.de>
1310
1311         * javax/swing/text/PlainView.java
1312         (selectedColor): New field.
1313         (unselectedColor): Likewise.
1314         (font): Likewise.
1315         (updateMetrics): New method.
1316         (lineToRect): Likewise.
1317         (modelToView): Likewise.
1318         (drawSelectedText): Use color from JTextComponent ad draw with
1319         Utilities class.
1320         (drawUnselectedText): Likewise.
1321         (paint): Initialize helper fields.
1322         * javax/swing/text/View.java
1323         (getChildAllocation): New method.
1324         (getViewIndex): Likewise.
1325         (getToolTipText): Likewise.
1326
1327 2004-08-31  Michael Koch  <konqueror@gmx.de>
1328
1329         * javax/swing/text/Utilities.java
1330         (drawTabbedText): Reimplemented.
1331         (getTabbedTextWidth): Likewise.
1332
1333 2004-08-31  Michael Koch  <konqueror@gmx.de>
1334
1335         * javax/swing/plaf/basic/BasicTextUI.java
1336         (installDefaults): Install caret and highlighter.
1337         (modelToView): Use Bias.Forward when calling sibling.
1338         * javax/swing/text/AbstractDocument.java
1339         (ElementEdit): Implements DocumentEvent.ElementChange.
1340         (ElementEdit.ElementEdit): New method.
1341         (ElementEdit.getChildrenAdded): Likewise.
1342         (ElementEdit.getChildrenRemoved): Likewise.
1343         (ElementEdit.getElement): Likewise.
1344         (ElementEdit.getIndex): Likewise.
1345         * javax/swing/text/DefaultCaret.java
1346         (color): Removed.
1347         (textComponent): Renamed from parent, made private.
1348         (selectionVisible): Renamed from vis_sel, made private.
1349         (blinkRate): Renamed from blink, made private.
1350         (magicCaretPosition): Renamed from magic, made private.
1351         (visible): Renamed from vis, made private.
1352         (dot): Made private.
1353         (mark): Likewise.
1354         (deinstall): Remove as MouseMotionListener.
1355         (install): Initialize textComponent first. Add as MouseMotionListener.
1356         (paint): Reimplemented.
1357         * javax/swing/text/JTextComponent.java
1358         (setCaret): Deinstall old caret, install new one and fire property
1359         change after setting property.
1360         (setHighlighter): Deinstall old highlighter, install new one and fire
1361         property change after setting property.
1362         (setCaretColor): Fire property change after setting property.
1363         (setDisabledTextColor): Likewise.
1364         (setSelectedTextColor): Likewise.
1365         (setSelectionColor): Likewise.
1366         (modelToView): New method.
1367
1368 2004-08-31  Michael Koch  <konqueror@gmx.de>
1369
1370         * javax/swing/text/AbstractDocument.java
1371         (getText): Simplified.
1372         * javax/swing/text/Segment.java
1373         (current): New field.
1374         (current): Reimplemented.
1375         (first): Likewise.
1376         (getIndex): Likewise.
1377         (last): Likewise.
1378         (next): Likewise.
1379         (previous): Likewise.
1380         (setIndex): Likewise.
1381
1382 2004-08-31  Michael Koch  <konqueror@gmx.de>
1383
1384         * javax/swing/plaf/basic/BasicButtonUI.java
1385         (defaultTextIconGap): Made protected.
1386         (defaultTextShiftOffset): Likewise.
1387         (textShiftOffset): New field.
1388         (clearTextShiftOffset): New method.
1389         (getTextShiftOffset): Likewise.
1390         (setTextShiftOffset): Likewise.
1391
1392 2004-08-31  Michael Koch  <konqueror@gmx.de>
1393
1394         * javax/swing/plaf/basic/BasicTextUI.java
1395         (installUI): Add eventHandler as property listener.
1396         (uninstallUI): remove eventHandler as propert listener.
1397         (installDefaults): Added comment.
1398         (installListeners): Likewise.
1399         (installKeyboardActions): Likewise.
1400         (uninstallDefaults): Likewise.
1401         (uninstallListeners): Likewise.
1402         (uninstallKeyboardActions): Likewise.
1403
1404 2004-08-31  Michael Koch  <konqueror@gmx.de>
1405
1406         * javax/swing/text/AbstractDocument.java:
1407         Fixed some typos in comments.
1408         (insertString): Reimplemented.
1409         (remove): Likewise.
1410         (replace): New method.
1411         (children): Dont use fully qualified class name.
1412         (DefaultDocumentEvent.offset): Renamed from off.
1413         (DefaultDocumentEvent.length): Renamed from len.
1414         (DefaultDocumentEvent.type): New field.
1415         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1416         (DefaultDocumentEvent.getType): Implemented.
1417
1418 2004-08-31  Michael Koch  <konqueror@gmx.de>
1419
1420         * javax/swing/plaf/basic/BasicTextUI.java
1421         (RootView.textComponent): Removed.
1422         (RootView.RootView): Don't initialize textComponent.
1423         (RootView.getViewFactory): New method.
1424         (EventHandler): New inner class.
1425         (rootView): Initialize at instance creation.
1426         (eventHandler): New field.
1427         (installUI): Don't create view hierarchy directly,
1428         call modelChanged() instead.
1429         (modelChanged): New method.
1430         * javax/swing/text/JTextComponent.java
1431         (setDocument): Fire property change event.
1432
1433 2004-08-31  Michael Koch  <konqueror@gmx.de>
1434
1435         * javax/swing/plaf/basic/BasicTextUI.java
1436         (RootView.paint): Removed debug output.
1437         (paintSafely): Draw highlighter before text.
1438         (paintBackground): Use background color of text component.
1439         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1440         Reformatted.
1441
1442 2004-08-31  Michael Koch  <konqueror@gmx.de>
1443
1444         * javax/swing/plaf/basic/BasicToolBarUI.java
1445         (BasicToolBarUI): Fixed arguments for constructor.
1446         (createUI): Fixed creation of object.
1447
1448 2004-08-31  Michael Koch  <konqueror@gmx.de>
1449
1450         * javax/swing/DefaultListSelectionModel.java
1451         (fireValueChanged): Renamed from fireSelectionValueChanged,
1452         made protected.
1453
1454 2004-08-31  Michael Koch  <konqueror@gmx.de>
1455
1456         * javax/swing/text/TabSet.java
1457         (TabSet): Implements java.io.Serializable.
1458         * javax/swing/text/TabStop.java
1459         (TabStop): Implements java.io.Serializable.
1460         (TabStop): Made public.
1461
1462 2004-08-31  Michael Koch  <konqueror@gmx.de>
1463
1464         * javax/swing/JComponent.java
1465         (setUI): Fire PropertyChange.
1466         * javax/swing/JLabel.java
1467         (text): Renamed from labelText.
1468         (horizontalAlignment): New default vlaue.
1469         (icon): Renamed from activeIcon.
1470         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1471         (displayedMnemonicIndex): Renamed from underlineChar.
1472         (setDisplayedMnemonic): Reimplemented.
1473         * javax/swing/JRadioButton.java
1474         (JRadioButton): New constructors.
1475         * javax/swing/JTextField.java
1476         (JTextField): Throw exception if colums < 0, initialitialz
1477         this.columns directly and initialize document with text conditionally.
1478
1479 2004-08-31  Michael Koch  <konqueror@gmx.de>
1480
1481         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1482         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1483         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1484         * javax/swing/text/FieldView.java
1485         (paint): Just call super method for now.
1486         * Makefile.am: Added new files.
1487         * Makefile.in: Regenerated.
1488
1489 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1490
1491         * javax/swing/AbstractSpinnerModel.java,
1492         javax/swing/JSpinner.java,
1493         javax/swing/SpinnerNumberModel.java,
1494         javax/swing/plaf/basic/BasicSpinnerUI.java:
1495         New files.
1496         * javax/swing/plaf/basic/BasicLookAndFeel.java
1497         (initClassDefaults): Added defaults for BasicSpinnerUI.
1498
1499 2004-08-31  Michael Koch  <konqueror@gmx.de>
1500
1501         * Makefile.am: Added new files.
1502         * Makefile.in: Regenerated.
1503
1504 2004-08-31  Michael Koch  <konqueror@gmx.de>
1505
1506         * javax/swing/TransferHandler.java,
1507         javax/swing/plaf/basic/ComboPopup.java: New files
1508         * Makefile.am: Added javax/swing/TransferHandler.java and
1509         javax/swing/plaf/basic/ComboPopup.java
1510         * Makefile.in: Regenerated.
1511
1512 2004-08-31  Roman Kennke  <roman@ontographics.com>
1513
1514         * javax/swing/text/Utilities.java: New file.
1515
1516 2004-08-31  Michael Koch  <konqueror@gmx.de>
1517
1518         * Makefile.am: Added javax/swing/text/Utilities.java.
1519         * Makefile.in: Regenerated.
1520
1521 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1522
1523         * javax/swing/text/SimpleAttributeSet.java: New file.
1524         * javax/swing/text/StyleConstants.java: New file.
1525         * javax/swing/text/StyleContext.java: New file.
1526         * javax/swing/text/TabSet.java: New file.
1527         * javax/swing/text/TabStop.java: New file.
1528         * javax/swing/text/AbstactDocument.java:
1529         (AbstractElement): Implement attribute support.
1530         * javax/swing/text/AttributeSet.java
1531         (NameAttribute): New static field.
1532         (ResolveAttribute): New static field.
1533         * Makefile.am: Update for new files.
1534         * Makefile.in: Regenerate.
1535
1536 2004-08-31  Craig Black  <craig.black@aonix.com>
1537
1538         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1539         (drawImage): Add support for scaling pixmaps.
1540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1541         (copyAndScalePixmap): New native method.
1542  
1543 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1544
1545         PR AWT/16121
1546         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
1547         type-punning compiler warnings using unions.
1548         (throw): Replace bzero with memset.
1549
1550 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
1551             Thomas Fitzsimmons  <fitzsim@redhat.com>
1552
1553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1554         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
1555         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1557         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1558
1559 2004-08-31  Mark Wielaard  <mark@klomp.org>
1560
1561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1562         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1563         and stdlib.h, not gtkpeer.h.
1564         (*vm): New static variable.
1565         (areaPreparedID): Make static.
1566         (areaUpdatedID): Likewise.
1567         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1568         (area_prepared): Likewise.
1569         (area_updated): Likewise.
1570         (closed): Likewise.
1571         (initStaticState): Initialize *vm javaVM.
1572         (pumpBytes): Use given env, not global gdk_env.
1573
1574 2004-08-31  Mark Wielaard  <mark@klomp.org>
1575
1576         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1577         comments.
1578
1579 2004-08-31  Sven de Marothy  <sven@physto.se>
1580
1581         * java/awt/geom/CubicCurve2D.java: Reindent.
1582         (contains): Implemented.
1583         (intersects): Implemented.
1584         * java/awt/geom/QuadCurve2D.java: Likewise.
1585         * java/awt/geom/GeneralPath.java: Reindent and document.
1586         Fully (re)implemented using separate xpoints and ypoints
1587         float[] coords.
1588         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1589
1590 2004-08-31  Michael Koch  <konqueror@gmx.de>
1591
1592         * javax/swing/JMenuItem.java
1593         (getMenuDragMouseListeners): New method.
1594         (getMenuKeyListeners): Likewise.
1595
1596 2004-08-31  Michael Koch  <konqueror@gmx.de>
1597
1598         * javax/swing/AbstractButton.java
1599         (model): Made protected.
1600         (actionListener): Likewise.
1601         (changeListener): Likewise.
1602         (itemListener): Likewise.
1603         (multiClickThreshhold): New field.
1604         (getActionListeners): New method.
1605         (getChangeListeners): Likewise.
1606         (getItemListeners): Likewise.
1607         (fireItemStateChanged): Simplified implementation.
1608         (fireActionPerformed): Likewise.
1609         (fireStateChanged): Likewise.
1610         (getMultiClickThreshhold): New method.
1611         (setMultiClickThreshhold): Likewise.
1612
1613 2004-08-31  Tom Tromey  <tromey@redhat.com>
1614
1615         * java/awt/image/Kernel.java (clone): Use super.clone().
1616
1617 2004-08-31  David Jee  <djee@redhat.com>
1618
1619         PR AWT/16682
1620         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1621         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1622         (nativeSetIconImageFromData): New native method declaration.
1623         (setIconImage): Handle images not produced from GdkPixbufDecoder.
1624         * gnu/java/awt/peer/gtk/GtkImage.java
1625         (getPixelCache): New method.
1626         (getColorModel): New method.
1627         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1628         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1629         (free_pixbuf_data): New helper function.
1630         (nativeSetIconImageFromData): New function.
1631
1632 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1633
1634         PR SWING/16576
1635         * javax/swing/JLayeredPane.java 
1636         (setLayer): Permit changing layer after addition.
1637         (setPosition): Permit over-length positions.
1638         (layerToRange): Compare intValue()s.
1639         * javax/swing/Box.java (createHorizontalBox): Implement.
1640         (createRigidArea): Likewise.
1641         (createVerticalBox): Likewise.
1642
1643 2004-08-31  Kim Ho  <kho@redhat.com>
1644
1645         * java/awt/Component.java:
1646         (processMouseEvent): Consume event after
1647         listeners process it.
1648         (processMouseMotionEvent): ditto.
1649         (processMouseWheelEvent): ditto.
1650         * java/awt/Container.java:
1651         (acquireComponentForMouseEvent):
1652         Do not dispatch to events that have been
1653         removed from the Container.
1654         (handleEvent): Consume the MouseEvents.
1655         * javax/swing/RepaintManager.java:
1656         (paintDirtyRegions): Do not add to list of 
1657         damaged areas if the component has no root.
1658
1659 2004-08-31  Michael Koch  <konqueror@gmx.de>
1660
1661         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1662
1663 2004-08-31  Mark Wielaard  <mark@klomp.org>
1664
1665         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1666         null when a MissingResourceException is thrown. Should never happen.
1667
1668 2004-08-31  Mark Wielaard  <mark@klomp.org>
1669
1670         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1671         when argument is null.
1672
1673 2004-08-31  Mark Wielaard  <mark@klomp.org>
1674
1675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1676         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1677         Define hid at start of function.
1678         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1679         Likewise.
1680
1681 2004-08-31  Mark Wielaard  <mark@klomp.org>
1682
1683         * gnu/java/awt/EmbeddedWindow.java: Reindent.
1684         * javax/swing/JButton.java: Reindent.
1685         * javax/swing/JCheckBox.java: Reindent.
1686
1687 2004-08-31  Mark Wielaard  <mark@klomp.org>
1688
1689         * Makefile.am (gtk_c_source_files): Added
1690         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1691         (gtk_awt_peer_sources): Added
1692         gnu/java/awt/peer/gtk/GThreadMutex.java and
1693         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1694         * Makefile.in: Regenerated.
1695
1696 2004-08-31  Archie Cobbs  <archie@dellroad.org>
1697
1698         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1699
1700 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1701
1702         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
1703         Added jfieldID, jmethodID.
1704
1705 2004-08-31  Mark Wielaard  <mark@klomp.org>
1706
1707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1708         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1709         gdk_env before calling any gdk or gtk function.
1710
1711         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1712         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1713         (run): Set gtkInitCalled.
1714
1715 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1716
1717         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
1718         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1719
1720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1721         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1722         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
1723         init_glib_threads. 
1724         (init_glib_threads): New function.
1725
1726 2004-08-31  Mark Wielaard  <mark@klomp.org>
1727
1728         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1729         PRIORITY when not already defined in header file.
1730
1731 2004-08-31  Mark Wielaard  <mark@klomp.org>
1732
1733         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1734         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1735
1736 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1737
1738         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1739         Implemented missing functions for GTK2.
1740         Added error handling.
1741         Renamed static functions out of the g_ namespace.
1742         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
1743         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1744         Rewrote global-reference code.
1745         Eliminated cascading errors.
1746         (mutex_trylock_jni_impl) Fully implemented.
1747         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1748         resolution.
1749         (setup_cache) New function.
1750         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1751         bug where they were not unlocking the GMutex associated with the
1752         condition variable during the wait on that condition variable.
1753
1754         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1755         native/jni/gtk-peer/gthread-jni.c,
1756         native/jni/gtk-peer/gthread-jni.h
1757         (g_thread_jni_functions): Renamed to ...
1758         (portable_native_sync_jni_functions): this name.
1759         (gdk_vm): Renamed to...
1760         (the_vm): this name.
1761
1762         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1763         (gdk_vm): Removed duplicate definition.
1764         (gtkInit): Removed stray message to stdout.
1765         (gtkInit): Use g_malloc and g_free instead of malloc and free.
1766         (gtkInit): Fix a const assignment bug.
1767         (gtkInit): Simplified code.
1768
1769         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1770         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1771         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1772         gnu/java/awt/peer/gtk/GThreadMutex.java:
1773         New files.
1774
1775 2004-08-31  Mark Wielaard  <mark@klomp.org>
1776
1777         * javax/swing/Box.java: Put FIXME comment above class declaration.
1778         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1779         * javax/swing/JCheckBox.java: Likewise.
1780         * javax/swing/JDialog.java: Likewise.
1781         * javax/swing/JRadioButton.java: Likewise.
1782         * javax/swing/JToggleButton.java: Likewise.
1783         * javax/swing/UIManager.java: Likewise.
1784         * javax/swing/border/TitledBorder.java: Likewise.
1785         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1786         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1787         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1788         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1789         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1790         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1791         * javax/swing/text/JTextComponent.java: Likewise.
1792
1793 2004-08-31  David Jee  <djee@redhat.com>
1794
1795         PR AWT/16682
1796         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1797         (setIconImage): Add a FIXME for unhandled cases.
1798
1799 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1800
1801         PR AWT/16040
1802         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1803         getModifiers.  Replace old button masks with new ones.
1804         * gnu/awt/xlib/XEventLoop.java: Likewise.
1805         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1806         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1807         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1808         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1809         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1810         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1811         * java/awt/Component.java: Replace old modifier masks with new
1812         ones.
1813         * java/awt/Container.java: Call getModifiersEx, not
1814         getModifiers.
1815         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
1816         old modifier masks.
1817         * javax/swing/JMenuItem.java: Replace old button masks with new
1818         ones.
1819         * javax/swing/KeyStroke.java: Call getModifiersEx, not
1820         getModifiers.
1821         * javax/swing/SwingUtilities.java: Likewise.
1822         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1823         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1825         mask macros with new ones.
1826         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1827         macros with new ones representing new masks.
1828
1829 2004-08-31  Craig Black  <craig.black@aonix.com>
1830
1831         * gnu/java/awt/peer/gtk/GdkGraphics.java
1832         (drawRoundRect): Implemented.
1833         (fillRoundRect): Implemented.
1834         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1835         (drawRoundRect): Reimplemented to match GdkGraphics.
1836         (fillRoundRect): Reimplemented to match GdkGraphics.
1837
1838 2004-08-31  Mark Wielaard  <mark@klomp.org>
1839
1840         * Makefile.in: Regenerated.
1841
1842 2004-08-31  Michael Koch  <konqueror@gmx.de>
1843
1844         * gnu/java/awt/EmbeddedWindow.java
1845         (addNotify): Use AccessController to allow execution of privileged
1846         code.
1847
1848 2004-08-31  Michael Koch  <konqueror@gmx.de>
1849
1850         * gnu/java/awt/EmbeddedWindow.java
1851         (static): Removed.
1852         (addNotify): Set peer via reflection.
1853         (setWindowPeer): Removed.
1854         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1855         * Makefile.am (nat_source_files):
1856         Removed gnu/java/awt/natEmbeddedWindow.cc.
1857
1858 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1859
1860         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
1861         and gnu/java/security/action/SetAccessibleAction.java.
1862
1863 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1864
1865         * gnu/java/security/action/GetPropertyAction.java (setParameters):
1866         Renamed from 'setName'. New 2-argument form with default value.
1867         (run): Pass default 'value' parameter to System.getProperty().
1868         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1869         typos.
1870
1871 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1872
1873         * gnu/java/security/action/GetPropertyAction.java: New class.
1874         * gnu/java/security/action/SetAccessibleAction.java: New class.
1875
1876 2004-08-31  David Jee  <djee@redhat.com>
1877
1878         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1879         (setIconImage): Check if image is null.
1880
1881 2004-08-31  David Jee  <djee@redhat.com>
1882
1883         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1884         (create): Set the icon image.
1885         (nativeSetIconImage): New native method declaration.
1886         (setIconImage): Implement.
1887         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1888         (nativeSetIconImage): New function.
1889
1890 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1891
1892         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1893         (filenameFilterCallback): Declare local variable accepted before use.
1894
1895 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1896
1897         * gnu/java/awt/ComponentDataBlitOp.java:
1898         Cleaned up imports.
1899
1900 2004-08-31  Tom Tromey  <tromey@redhat.com>
1901
1902         * gnu/java/awt/peer/GLightweightPeer.java,
1903         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1904         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1905         javax/swing/JScrollPane.java: Removed
1906         redundant imports.
1907
1908 2004-08-31  David Jee  <djee@redhat.com>
1909
1910         * java/awt/DefaultKeyboardFocusManager.java
1911         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1912         event.  Fix shift modifier checking.
1913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1914         (accel_attach): Remove.
1915         (setupAccelGroup): Remove calls to accel_attach.
1916
1917 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1918
1919         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1920         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1921
1922         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1923         GtkArgList.java.
1924         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1925         * Makefile.in: Regenerate.
1926         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1927         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1928         (create(String)): New method.
1929         (create): Call new create method.
1930         (getArgs): Remove method.
1931         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1932         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
1933         (nativeCreate): Rename to create.
1934         (gtkSetLabel): Rename to gtkButtonSetLabel.
1935         (gtkToggleButtonSetActive): New method.
1936         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1937         (setState): Replace set call with gtkToggleButtonSetActive.
1938         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1939         (getArgs): Remove method.
1940         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1941         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1942         (gtkWidgetSetSensitive): New method.
1943         (gtkWidgetSetParent): Likewise.
1944         (GtkComponentPeer): Call setParent, setComponentBounds and
1945         setVisibleAndEnabled.
1946         (setParent): New method.
1947         (setComponentBounds): New method.
1948         (setVisibleAndEnabled): New method.
1949         (setEnabled): Call gtkWidgetSetSensitive.
1950         (getArgs): Remove method.
1951         Remove all set methods.
1952         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1953         gtkWindowSetModal, setTitle and setResizable.
1954         (getArgs): Remove method.
1955         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1956         (setComponentBounds): New method.
1957         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1958         Replace set call with gtkWindowSetResizable.
1959         (getArgs): Remove method.
1960         (create): Call setTitle and setResizable.
1961         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1962         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1963         (gtkWindowSetTitle): New method.
1964         (gtkWindowSetResizable): New method.
1965         (gtkWindowSetModal): New method.
1966         (setParent): New method.
1967         (setVisibleAndEnabled): New method.
1968         (getArgs): Remove method.
1969         (setTitle): Call gtkWindowSetTitle.
1970         (setResizable): Call gtkWindowSetResizable.
1971         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1972         and off locking instrumentation.
1973
1974 2004-08-31  Kim Ho  <kho@redhat.com>
1975
1976         * Makefile.am: Add new file.
1977         * Makefile.in: Regenerate.
1978         * gcj/Makefile.in: Regenerate
1979         * include/Makefile.in:
1980         * java/awt/Container.java:
1981         (acquireComponentForMouseEvent): Respect 
1982         the event mask when looking for candidate.
1983         * javax/swing/JComponent.java:
1984         Remove toolTip field.
1985         (createToolTip): Create a tooltip on demand.
1986         (setToolTipText): Register with the ToolTipManager.
1987         (getToolTipText(MouseEvent)): Return getToolTipText().
1988         * javax/swing/JToolTip.java: Implement.
1989         * javax/swing/Timer.java: Jalopy.
1990         (restart): Call stop, then start.
1991         (stop): Interrupt the timer rather than wait for
1992         the timer to come to a stop naturally.
1993         * javax/swing/ToolTipManager.java: Implement.
1994         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1995         Change ToolTip.background color.
1996         * javax/swing/plaf/basic/BasicToolTipUI.java:
1997         Implement.
1998         * testsuite/Makefile.in: Regenerate
1999
2000 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2001
2002         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2003         constructor param comments.
2004
2005 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2006
2007         * java/awt/Component.java: Document AWT 1.0 event handler
2008         methods.
2009
2010 2004-08-31  Roman Kennke  <roman@ontographics.com>
2011
2012         * javax/swing/Box.java:
2013         (createGlue): Implemented
2014         (createHorizontalGlue): Implemented
2015         (createHorizontalStrut): Implemented
2016         (createVerticalGlue): Implemented
2017         (createVerticalStrut): Implemented
2018
2019 2004-08-31  David Jee  <djee@redhat.com>
2020
2021         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2022         (GtkChoicePeer): Do not automatically select first item.
2023         (getHistory): Remove.
2024         (nativeGetSelected): New method.
2025         (nativeRemoveAll): New method.
2026         (add): Use nativeGetSelected() instead of getHistory().
2027         (remove): Likewise.
2028         (removeAll): Call nativeRemoveAll().
2029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2030         (create): Migrate to GtkComboBox.
2031         (append): Likewise.
2032         (nativeAdd): Likewise.
2033         (nativeRemove): Likewise.
2034         (select): Likewise.
2035         (nativeRemoveAll): New method.
2036         (nativeGetSelected): New method.
2037         (selection_changed): New method.
2038         (getHistory): Remove.
2039         (item_activate): Remove.
2040         (item_removed): Remove.
2041         (connect_choice_item_selectable_hook): Remove.
2042
2043 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2044
2045         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2046         variable in setEditable call.
2047
2048         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2049         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2050         (gtkWidgetSetBackground): New method.
2051         (gtkWidgetSetForeground): Likewise.
2052         (create): Set peer's editable state based on awtComponent's.
2053
2054         * java/awt/Button.java (Button()): Use empty string rather than
2055         null in no-label constructor.
2056
2057 2004-08-31  Roman Kennke  <roman@ontographics.com>
2058
2059         * javax/swing/BoxLayout.java: Reimplement.
2060
2061 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2062
2063         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2064         gnu_java_awt_peer_gtk_GdkGraphics.c
2065         (initState(GtkComponentPeer)): Don't return array of colour
2066         values.
2067         (GdkGraphics(int,int)): Set default font to size 12.
2068         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2069         component's foreground colour.
2070         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2071         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2072         (initState(GtkComponentPeer)): Don't return array of colour
2073         values.
2074         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2075         colours to component's colours.
2076         (current_colors_of_widget): Remove function.
2077         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2078         Return a new graphics object.
2079         * java/awt/Font.java (toString): Fix format.
2080         * java/awt/Graphics.java (toString): Likewise.
2081
2082 2004-08-31  Craig Black  <craig.black@aonix.com>
2083
2084         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2085         (addTearOff): New function.
2086         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2087         New native method.
2088         (init): Call addTearOff() when menu.isTearOff().
2089
2090 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2091
2092         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2093         Default implementation.
2094         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2095         Implement using GdkPixbufDecoder.
2096
2097 2004-08-31  David Jee  <djee@redhat.com>
2098
2099         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2100         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2101         setting the size of GtkFileDialogPeers.
2102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2103         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2104         use their default sizes rather than their natural requisitions.
2105
2106 2004-08-31  Michael Koch  <konqueror@gmx.de>
2107
2108         * javax/swing/JFormattedTextField.java
2109         (JFormattedTextField): Implemented.
2110         * javax/swing/text/DefaultEditorKit.java
2111         (BeepAction): New inner class.
2112         * javax/swing/text/Segment.java
2113         (partialReturn): New field.
2114         (setPartialReturn): New method.
2115         (isPartialReturn): Likewise.
2116         * javax/swing/text/View.java
2117         (createFragment): Fixed typo.
2118         (getStartOffset): New method.
2119         (getEndOffset): Likewise.
2120
2121 2004-08-31  Michael Koch  <konqueror@gmx.de>
2122
2123         * javax/swing/table/DefaultTableColumnModel.java
2124         (serialVersionUID): Made private.
2125         (listenerList): Initialize.
2126         (changeEvent): Initialize.
2127         * javax/swing/table/JTableHeader.java
2128         (JTableHeader): New constructors.
2129         (createDefaultColumnModel): New method.
2130         * javax/swing/table/TableColumn.java
2131         (setHeaderRenderer): Simplified code.
2132         (setCellRenderer): Likewise.
2133         (setWidth): Likewise.
2134
2135 2004-08-31  Tom Tromey  <tromey@redhat.com>
2136
2137         * java/text/AttributedString.java (AttributedString): Use
2138         ArrayList to build array of attribute ranges.  Don't use
2139         `attribs' before it is set.
2140
2141 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2142
2143         * HACKING: Remove reference to special automake. No longer needed.
2144
2145 2004-08-30  Tom Tromey  <tromey@redhat.com>
2146
2147         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2148         return result from `add'.
2149
2150 2004-08-30  Tom Tromey  <tromey@redhat.com>
2151
2152         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2153
2154 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2155
2156         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2157
2158 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2159
2160         * java/io/File.java File(String,String): Fixed handling of empty
2161         path.
2162
2163 2004-08-30  Casey Marshall  <csm@gnu.org>
2164
2165         Author e-mail updated for all files.
2166         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2167         instance of OID.
2168         (compareTo): Use `equals'.
2169         * gnu/java/security/der/BitString.java (equals): Test if the
2170         argument is an instance of BitString.
2171         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2172         class final. Made fields private.
2173         (<init>): New constructor.
2174         (skip): New method.
2175         (makeString): Made static; don't use NIO.
2176         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2177         * gnu/java/security/der/DERWriter.java: Fixed imports.
2178         (writeString): Don't use NIO.
2179         (toIso88591, toUtf16Be, toUtf8): New methods.
2180         * gnu/java/security/der/DERValue.java: Formatting changes only.
2181         * gnu/java/security/der/DER.java: Likewise.
2182
2183 2004-08-30  Tom Tromey  <tromey@redhat.com>
2184
2185         * java/nio/CharBuffer.java (put): Fix typo.
2186         * java/nio/DoubleBuffer.java (put): Fix typo.
2187         * java/nio/FloatBuffer.java (put): Fix typo.
2188         * java/nio/IntBuffer.java (put): Fix typo.
2189         * java/nio/LongBuffer.java (put): Fix typo.
2190         * java/nio/ShortBuffer.java (put): Fix typo.
2191
2192 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2193
2194         * java/nio/ByteBuffer.java (put): Fix typo.
2195
2196 2004-08-30  Casey Marshall  <csm@gnu.org>
2197
2198         * java/security/DummyKeyPairGenerator.java (clone): Removed
2199         useless instanceof check.
2200         * java/security/DummyMessageDigest.java (clone): Likewise.
2201         * java/security/DummySignature.java (clone): Likewise.
2202         * java/security/MessageDigest.java (clone): Remove useless
2203         instanceof check.
2204         * java/security/MessageDigestSpi.java (clone): Likewise.
2205         * java/security/Signature.java (clone): Provide meaningful
2206         implementation.
2207         * java/security/SignatureSpi.java (clone): Likewise.
2208
2209 2004-08-29  Mark Wielaard  <mark@klomp.org>
2210
2211         * java/util/Arrays.java
2212         (sort(byte[], int, int)): Check fromIndex < 0.
2213         (sort(char[], int, int)): Likewise.
2214         (sort(short[], int, int)): Likewise.
2215         (sort(int[], int, int)): Likewise.
2216         (sort(long[], int, int)): Likewise.
2217         (sort(float[], int, int)): Likewise.
2218         (sort(double[], int, int)): Likewise.
2219         (sort(Object[], int, int, Comparator)): Likewise.
2220         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2221         (qsort(char[], int, int)): Likewise.
2222         (qsort(short[], int, int)): Likewise.
2223         (qsort(int[], int, int)): Likewise.
2224         (qsort(long[], int, int)): Likewise.
2225         (qsort(float[], int, int)): Likewise.
2226         (qsort(double[], int, int)): Likewise.
2227
2228 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2229
2230         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2231         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2232         java/util/ArrayList.java, java/util/Arrays.java,
2233         java/util/BitSet.java, java/util/Calendar.java,
2234         java/util/Collection.java, java/util/ListIterator.java,
2235         java/util/Map.java, java/util/SortedSet.java:
2236         Added additional exceptions to documentation, along
2237         with some additions and corrections.
2238
2239 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2240
2241         * configure.ac: Handle --enable-gc-debug.
2242         * configure: Regenerate.
2243         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2244         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2245         Rearrange include file order.
2246         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2247         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2248         (disable_gc_mutex): Delete along with all references.
2249         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2250         adjust for debug header size.
2251         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2252         debug case.
2253         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2254         (gcj_describe_type_fn): New.
2255         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2256         Register gcj_describe_type_fn.
2257         * include/boehm-gc.h:
2258         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2259         Don't define, but declare, for debug case.
2260         * java/lang/natObject.cc:
2261         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2262
2263 2004-08-26  Mark Wielaard  <mark@klomp.org>
2264
2265         Fixes PR libgcj/17002:
2266         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2267         a TimeZoneId string and then try to convert that to a TimeZone with
2268         getDefaultSystemTimeZone(String).
2269         (timezones0): Changed type from Hashtable to HashMap.
2270         (timezones): Create HashMap, not Hashtable.
2271         (getDefaultTimeZone): New method, rewritten from CNI version.
2272         (readTimeZoneFile): New method.
2273         (readtzFile): Likewise.
2274         (skipFully): Likewise.
2275         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2276         getDefaultTimeZoneId and rewritten.
2277         (getDefaultTimeZoneId): Rewritten in java.
2278         
2279 2004-08-25  David Daney  <daney@avtrex.com>
2280
2281         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2282         * Makefile.in: Regenerated.
2283
2284 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2285
2286         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2287         only if jvmpi is enabled.
2288         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2289         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2290         (_Jv_AllocString): Likewise.
2291         (_Jv_AllocPtrFreeObject): Likewise.     
2292
2293 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2294
2295         * defineclass.cc: Include <stdio.h>.
2296         * java/lang/natClassLoader.cc: Include <stdio.h>.
2297
2298 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2299             Michael Koch  <konqueror@gmx.de>
2300
2301         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2302         * Makefile.in: Regenerated.
2303
2304 2004-08-20  Michael Koch  <konqueror@gmx.de>
2305
2306         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2307         AC_COMPILE_IFELSE macros.
2308
2309 2004-08-20  Michael Koch  <konqueror@gmx.de>
2310
2311         * configure.in: Renamed to configure.ac.
2312         * configure.ac: New file.
2313         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2314         include/config.h.in, testsuite/Makefile.in: Regenerated.
2315
2316 2004-08-20  Michael Koch  <konqueror@gmx.de>
2317
2318         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2319         * aclocal.m4, configure: Regenerated.
2320
2321 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2322             Michael Koch  <konqueror@gmx.de>
2323
2324         * configure.in, Makefile.am: Ported to automake 1.9.
2325         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2326         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2327         Regenerated.
2328
2329 2004-08-19  Tom Tromey  <tromey@redhat.com>
2330
2331         * java/net/DatagramSocket.java: Fixed typo.
2332
2333 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2334
2335         PR libgcj/17081
2336         * java/net/URI.java (string): New field. Make all other fields
2337         transient.
2338         (readObject): Implemented.
2339         (writeObject): Implemented.
2340         (URI): Set 'string'.
2341
2342 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2343
2344         PR libgcj/17079
2345         * java/util/logging/Handler.java (isLoggable): Accept record if its
2346         log level equals the threshold level. From Robin Green.
2347
2348 2004-08-18  David Daney  <ddaney@avtrex.com>
2349
2350         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2351         instead of sigwait.
2352
2353 2004-08-17  Michael Koch  <konqueror@gmx.de>
2354
2355         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2356         * Makefile.in: Regenerated.
2357
2358 2004-08-16  Tom Tromey  <tromey@redhat.com>
2359
2360         PR java/8473:
2361         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2362
2363 2004-08-16  Michael Koch  <konqueror@gmx.de>
2364
2365         * Makefile.am
2366         (math_c_files): Renamed from c_files.
2367         (math_c_source_files): Renamed from c_source_files.
2368         * Makefile.in,
2369         gcj/Makefile.in,
2370         include/Makefile.in,
2371         testsuite/Makefile.in: Regenerated.
2372
2373 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2374
2375         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2376         to avoid autoconf warning.
2377         * configure: Rebuilt.
2378
2379 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2380
2381         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2382         localhostAddress to loopbackAddress.
2383         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2384
2385 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2386
2387         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2388         boehm-gc's include dirs.
2389         * configure: Rebuilt.
2390         * include/boehm-gc.h: Include gc_config.h.
2391
2392 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2393
2394         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2395         localhostAddress.
2396         (getByName): Return loopback address for null hostname, without
2397         security check. Use lookup(), not getAllByName.
2398         (getAllByName): Return loopback address for null hostname, without
2399         security check.
2400         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2401         check here.
2402
2403 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2404
2405         PR libgcj/17020
2406         Reported by Robin Green.
2407         * defineclass.cc (handleField): Don't throw exception on unrecognised
2408         modifier. Add FIXME comments for spec compliance.
2409         (handleMethod): Likewise.
2410
2411 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2412
2413         PR libgcj/16662
2414         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2415         (Almost everywhere): add LOG calls, fix, add comments.
2416         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2417         Add explicit check for LOCKED bit in slow case (PR 16662).
2418         (_Jv_MonitorExit): Add casts in debug-only code.
2419         Always release LOCKED bit before throwing exception.
2420         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2421         isn't.  Handle easy cases without lock acquisition.
2422         (Object::wait): Use NotifyAll for lock inflation.
2423
2424 2004-08-12  David Daney  <ddaney@avtrex.com>
2425
2426         * testsuite/libjava.lang/Process_1.java: New test.
2427         * testsuite/libjava.lang/Process_2.java: New test.
2428         * testsuite/libjava.lang/Process_3.java: New test.
2429         * testsuite/libjava.lang/Process_4.java: New test.
2430         * testsuite/libjava.lang/Process_5.java: New test.
2431         * testsuite/libjava.lang/Process_6.java: New test.
2432         * testsuite/libjava.lang/Process_1.out: Expected result.
2433         * testsuite/libjava.lang/Process_2.out: Expected result.
2434         * testsuite/libjava.lang/Process_3.out: Expected result.
2435         * testsuite/libjava.lang/Process_4.out: Expected result.
2436         * testsuite/libjava.lang/Process_5.out: Expected result.
2437         * testsuite/libjava.lang/Process_6.out: Expected result.
2438
2439 2004-08-12  David Daney  <ddaney@avtrex.com>
2440
2441         PR libgcj/11801
2442         * java/lang/PosixProcess.java: Rewrote.
2443         * java/lang/natPosixProcess.cc: Rewrote.
2444         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2445         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2446         * posix-threads.cc (block_sigchld) New function.
2447         (_Jv_ThreadRegister) Use it.
2448         (_Jv_ThreadStart) Use it.
2449         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2450         * Makefile.am: ... to specify extra native headers.
2451         * configure: Regenerated.
2452         * include/config.h: Regenerated.
2453         * Makefile.in: Regenerated.
2454         * gcj/Makefile.in: Regenerated.
2455         * include/Makefile.in: Regenerated.
2456         * testsuite/Makefile.in: Regenerated.
2457
2458 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2459
2460         PR tree-optimization/16867
2461         * testsuite/libjava.lang/PR16867.java: New test.
2462
2463 2004-08-09  Per Bothner  <per@bothner.com>
2464
2465         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2466         with private fields and access methods.
2467         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2468         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2469         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2470         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2471         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2472         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2473         * jni.cc: Likewise.
2474         * resolve.cc: Likewise.
2475         * gcj/field.h: Likewise.
2476         * include/jvm.h: Likewise.
2477         * java/lang/Class.h: Likewise.
2478         * java/lang/natClass.cc: Likwise.
2479         * java/lang/natClassLoader.cc: Likewise
2480         * java/lang/reflect/natMethod.cc: Likewise
2481         * verify.cc: Likewise.
2482         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2483         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2484
2485 2004-08-10  Andrew Haley  <aph@redhat.com>
2486
2487         * testsuite/libjava.lang/err14.java: New file.
2488         * testsuite/libjava.lang/err14.out: New file.
2489
2490 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2491
2492         * Makefile.am: Fix missing rename from x_nat_headers to 
2493         xlib_nat_headers.
2494         * Makefile.in: Regenerated.
2495
2496 2004-08-04  Andrew Haley  <aph@redhat.com>
2497
2498         * java/security/BasicPermission.java: Don't check wildcards.
2499
2500 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2501             Michael Koch  <konqueror@gmx.de>
2502
2503         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2504         * configure.in: Replaced all usages of AC_LINK_FILES by
2505         AC_CONFIG_LINKS.
2506         * aclocal.m4,
2507         configure: Regenerated.
2508
2509 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2510             Michael Koch  <konqueror@gmx.de>
2511
2512         * acconfig.h: Removed.
2513         * Makefile.am: Rename variables for xlib peer to include xlib and
2514         gtk_c_headers to gtk_jni_headers.
2515         * Makefile.in: Regenerated.
2516
2517 2004-08-04  Andrew Haley  <aph@redhat.com>
2518
2519         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2520         debugging.
2521
2522 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2523
2524         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2525         Replace most top level 'dnl' comments with '#' comments, conforming
2526         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2527         help strings.
2528         * configure: Rebuilt.
2529
2530 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2531
2532         * acinclude.m4: Include no-executables.m4.
2533         * aclocal.m4: Rebuild.
2534         * configure.in: Convert to the autoconf 2.59 version of
2535         of the no-executables hack, and also of the nonstandard CXX
2536         hack and the multilibbed CC and CXX hack.  Change prerequisite
2537         to autoconf 2.59.
2538         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2539         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2540         testsuite/Makefile.in: Regenerate.
2541
2542 2004-08-03  Tom Tromey  <tromey@redhat.com>
2543
2544         * jni.cc: Reindented.
2545
2546 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2547
2548         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2549
2550 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2551
2552         * testsuite/libjava.compile/PR16701.java: New test.
2553
2554 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2555
2556         * java/util/Collection.java, java/util/List.java,
2557         java/util/Map.java, java/util/Set.java,
2558         java/util/SortedMap.java, java/util/SortedSet.java:
2559         Added additional exceptions to documentation.
2560
2561 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
2562
2563         PR libgcj/16814
2564         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2565         * configure. Regenerate.
2566         * include/win32.h: Explicitly include winsock2.h
2567         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2568         Winsock api.
2569
2570 2004-07-30  Michael Koch  <konqueror@gmx.de>
2571
2572         * java/util/zip/GZIPInputStream.java
2573         (GZIPInputStream): Increase buffer size to 4k.
2574         * java/util/zip/GZIPOutputStream.java
2575         (GZIPOutputStream): Likewise.
2576         * java/util/zip/Inflater.java
2577         (setInput): Merged formating with GNU classpath.
2578         * java/util/zip/InflaterInputStream.java
2579         (InflaterInputStream): Increase buffer size to 4k.
2580         (fill): Throw exception if stream ends early.
2581         (read): Merged endless-loop with GNU classpath.
2582         (skip): Increase buffer size to 2k.
2583
2584 2004-07-30  Michael Koch  <konqueror@gmx.de>
2585
2586         * gnu/java/awt/EmbeddedWindow.java
2587         (addNotify): Use AccessController to allow execution of privileged
2588         code.
2589
2590 2004-07-29  Michael Koch  <konqueror@gmx.de>
2591
2592         * gnu/java/lang/MainThread.java:
2593         Explicitely import used classes.
2594         (args): Make it type String[].
2595
2596 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2597
2598         * gnu/java/awt/ComponentDataBlitOp.java,
2599         gnu/java/beans/ExplicitBeanInfo.java,
2600         gnu/java/beans/IntrospectionIncubator.java,
2601         gnu/java/beans/editors/ColorEditor.java,
2602         gnu/java/beans/editors/FontEditor.java,
2603         gnu/java/beans/editors/NativeBooleanEditor.java,
2604         gnu/java/beans/editors/NativeByteEditor.java,
2605         gnu/java/beans/editors/NativeDoubleEditor.java,
2606         gnu/java/beans/editors/NativeFloatEditor.java,
2607         gnu/java/beans/editors/NativeIntEditor.java,
2608         gnu/java/beans/editors/NativeLongEditor.java,
2609         gnu/java/beans/editors/NativeShortEditor.java,
2610         gnu/java/beans/editors/StringEditor.java,
2611         gnu/java/io/ClassLoaderObjectInputStream.java,
2612         gnu/java/io/decode/Decoder.java,
2613         gnu/java/io/encode/Encoder.java,
2614         gnu/java/lang/ClassHelper.java,
2615         gnu/java/locale/Calendar.java,
2616         gnu/java/locale/Calendar_de.java,
2617         gnu/java/locale/Calendar_en.java,
2618         gnu/java/locale/Calendar_nl.java,
2619         gnu/java/locale/LocaleInformation_de.java,
2620         gnu/java/locale/LocaleInformation_en.java,
2621         gnu/java/locale/LocaleInformation_nl.java:
2622         Cleaned up imports.
2623
2624 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2625
2626         * README: Remove obsolete info. Update bug URL.
2627         * THANKS: Updated.
2628         * NEWS: Updated with news up to GCC 3.4 release.
2629
2630 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2631
2632         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2633         Renamed from 'setName'. New 2-argument form with default value.
2634         (run): Pass default 'value' parameter to System.getProperty().
2635         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2636         typos.
2637         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2638         not 'setName'.
2639
2640 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2641
2642         * configure.in: Check for minimum GTK version 2.4 requirement.
2643         * configure: Rebuilt.
2644
2645 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2646
2647         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2648         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2649         Reduce sleep time.
2650         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2651         compiler bug.
2652         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
2653         address. Reduce sleep times. Synchronize with target threads before
2654         attempting to interrupt them. Don't try to calibrate yeild count,
2655         instead, always loop for a fixed time.
2656         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2657         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2658         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2659         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2660         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2661         * testsuite/libjava.lang/pr179.java: Likewise.
2662         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2663         time. Remove upper bounds check on sleep time. 
2664
2665 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2666
2667         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2668         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
2669
2670 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2671
2672         * java/io/File.java (toURI): Throw RuntimeException, not 
2673         InternalError.
2674         * java/lang/Runtime.java (exit): Qualify static sleep() call with
2675         class name, not instance.
2676
2677 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
2678
2679         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2680         and gnu/java/security/action/SetAccessibleAction.java.
2681         * Makefile.in: Rebuilt.
2682
2683 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2684
2685         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2686         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2687         _Jv_InitPrimClass.
2688         (DECLARE_PRIM_TYPE): Don't declare array vtables.
2689         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2690         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2691
2692 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2693
2694         * Makefile.am: Replace jar, rmic and rmiregistry references with
2695         gjar, grmic and grmiregistry.
2696         * configure.in: Likewise.
2697         * Makefile.in: Regenerate.
2698         * configure: Likewise.
2699         * gcj/Makefile.in: Likewise.
2700         * include/Makefile.in: Likewise.
2701         * testsuite/Makefile.in: Likewise.
2702
2703 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2704
2705         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2706         for privileged getProperty calls.
2707         * java/io/ObjectOutputStream.java (getField): No longer static. Use
2708         SetAccessibleAction instead of anonymous class for doPrivileged call.
2709         (getMethod): Likewise.
2710         (setAccessible): New field. PrivilegedAction object to use when
2711         calling setAccessible.
2712         * java/io/ObjectStreamClass.java (calculateOffsets): Use
2713         SetAccessibleAction instead of anonymous class for diPrivileged call.
2714         (setFields): Likewise.
2715         (getClassUID): Likewise.
2716         (findMethod): Likewise.
2717         * gnu/java/security/action/GetPropertyAction.java: New class.
2718         * gnu/java/security/action/SetAccessibleAction.java: New class. 
2719
2720 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2721
2722         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2723         for final fields.
2724         * testsuite/libjava.lang/Serialization.java: New test.
2725         * testsuite/libjava.lang/Serialization.out: New.
2726
2727 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2728
2729         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2730         missed in last commit.
2731
2732 2004-07-23  Mark Wielaard  <mark@klomp.org>
2733
2734         * java/lang/System.java (static): Set http.agent system property when
2735         not yet set.
2736         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2737         from system property inside AccessController.doPrivileged() call.
2738         (proxyPort): Made package private.
2739         (proxyInUse): Likewise.
2740         (proxyHost): Likewise.
2741         (userAgent): Likewise.
2742
2743 2004-07-23  Mark Wielaard  <mark@klomp.org>
2744
2745         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2746         implementation.
2747
2748 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
2749
2750         * Makefile.am (ordinary_java_source_files): Add
2751         DefaultContentHandlerFactory.java.
2752         * Makefile.in: Rebuilt.
2753         * java/net/URLConnection.java (defaultFactory): New field.
2754         (getContent): 
2755         (getContentHandler): Renamed from 'setContentHandler'. Try 
2756         defaultFactory after user-set factory, if any. Search for content 
2757         handler implementations in gnu.java.net.content, not gnu.gcj.content.
2758         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2759         Implemented.
2760         (getLastModified): Implemented.
2761         (getPermission): Create file permission here, instead of in
2762         constructor.
2763         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2764         Implemented.
2765         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2766         Implemented.
2767         (getLastModified): Implemented.
2768         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2769         Default implementation.
2770         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2771         Implement using GdkPixbufDecoder.
2772         
2773 2004-07-21  Michael Koch  <konqueror@gmx.de>
2774
2775         * javax/swing/JTextArea.java
2776         (setLineWrap): Fire property change event after new value is set.
2777         (setTabSize): Likewise.
2778
2779 2004-07-21  Michael Koch  <konqueror@gmx.de>
2780
2781         * javax/swing/JTable.java
2782         (autoCreateColumnsFromModel): New field.
2783         (autoResizeMode): Likewise.
2784         (cellEditor): Likewise.
2785         (cellSelectionEnabled): Likewise.
2786         (columnModel): Likewise.
2787         (dataModel): Likewise.
2788         (defaultEditorsByColumnClass): Likewise.
2789         (defaultRenderersByColumnClass): Likewise.
2790         (editingColumn): Likewise.
2791         (editingRow): Likewise.
2792         (gridColor): Likewise.
2793         (preferredViewportSize): Likewise.
2794         (rowHeight): Likewise.
2795         (rowMargin): Likewise.
2796         (rowSelectionAllowed): Likewise.
2797         (selectionBackground): Likewise.
2798         (selectionForeground): Likewise.
2799         (selectionModel): Likewise.
2800         (showHorizontalLines): Likewise.
2801         (showVerticalLines): Likewise.
2802         (tableHeader): Likewise.
2803         (JTable): Implemented.
2804         (getColumnModel): Likewise.
2805         (getSelectedRow): Likewise.
2806         (getSelectionModel): Likewise.
2807         (setModel): Likewise.
2808         (setSelectionModel): Likewise.
2809         (createScrollPaneForTable): New method.
2810         (createDefaultDataModel): Likewise.
2811         (createDefaultListSelectionModel): Likewise.
2812         (getModel): Likewise.
2813         (getTableHeader): Likewise.
2814         (setTableHeader): Likewise.
2815         (getColumnSelectionAllowed): Likewise.
2816         (setColumnSelectionAllowed): Likewise.
2817         (getRowSelectionAllowed): Likewise.
2818         (setRowSelectionAllowed): Likewise.
2819         (getAutoResizeMode): Likewise.
2820         (setAutoResizeMode): Likewise.
2821         (getColumnCount): Likewise.
2822         (getRowCount): Likewise.
2823         (getCellRenderer): Likewise.
2824         * javax/swing/JTree.java
2825         (cellRenderer): New field.
2826         (editable): Likewise.
2827         (rootVisible): Likewise.
2828         (showsRootHandles): Likewise.
2829         (getModel): New method.
2830         (setModel): Likewise.
2831         (isEditable): Likewise.
2832         (setEditable): Likewise.
2833         (isRootVisbile): Likewise.
2834         (setRootVisible): Likewise.
2835         (getShowsRootHandles): Likewise.
2836         (setShowRootHandles): Likewise.
2837         (getCellRenderer): Likewise.
2838         (setCellRenderer): Likewise.
2839
2840 2004-07-21  Michael Koch  <konqueror@gmx.de>
2841
2842         * javax/swing/JFormattedTextField.java
2843         (setDocument): Implemented.
2844         * javax/swing/JRootPane.java:
2845         Fixed javadocs.
2846         * javax/swing/JTable.java
2847         (getDefaultRenderer): New method.
2848         * javax/swing/JTextField.java
2849         (setFont): Likewise.
2850         (getPreferredSize): Likewise.
2851         * javax/swing/JToggleButton.java
2852         (getAccessibleContext): Fix javadoc.
2853         * javax/swing/JTree.java:
2854         Add some javadocs.
2855         * javax/swing/JViewport.java:
2856         Likewise.
2857
2858 2004-07-21  David Jee  <djee@redhat.com>
2859
2860         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2861         Collect all native method declaration at the top.
2862         (create): Set the filename filter if necessary.
2863         (setDirectory): Call nativeSetDirectory().
2864         (setFilenameFilter): Implement.
2865         (filenameFilterCallback): New method.
2866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2867         (create): Configure dialog to show hidden files.
2868         (filenameFilterCallback): New function. 
2869         (nativeSetFilenameFilter): New function.
2870         (nativeSetDirectory): New function.
2871
2872 2004-07-21  Kim Ho  <kho@redhat.com>
2873
2874         * javax/swing/plaf/basic/BasicSliderUI.java:
2875         Ran Jalopy.
2876         (paintTrack): Fill the track before painting
2877         the borders.
2878
2879 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2880
2881         patch from Roman Kennke <roman@ontographics.com>
2882         * javax/swing/Spring.java: New file.
2883         * javax/swing/SpringLayout.java: New file.
2884         * Makefile.am: Add new files.
2885         * Makefile.in: Regenerate.
2886
2887 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2888
2889         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2890         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2891         * javax/swing/ScrollPaneLayout.java: Likewise.
2892
2893 2004-07-21  Kim Ho  <kho@redhat.com>
2894
2895         * javax/swing/DefaultDesktopManager.java:
2896         (findMinimum): Removed.
2897         (resizeFrame): Trust the UI to pass valid 
2898         bounds.
2899         * javax/swing/JOptionPane.java:
2900         Implemented showInternalXXXDialog methods.
2901         (startModal): New method.
2902         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2903         (BorderListener::mouseDragged): Verify that the new 
2904         bounds are valid before passing them to the DesktopManager.
2905         (preferredLayoutSize): Delegate
2906         to getSize.
2907         (minimumLayoutSize): Ditto.
2908         (getSize): New method.
2909         (GlassPaneDispatcher): Reimplemented by copying 
2910         a stripped down LightweightDispatcher from Container.
2911         (getMinimumSize): Call minimumLayoutSize.
2912         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2913         Ran Jalopy.
2914         (mousePressed): Add ability to properly close 
2915         JInternalFrames.
2916         * javax/swing/plaf/basic/BasicToolBarUI.java:
2917         (DragWindow): Set owner for DragWindow.
2918
2919 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2920
2921         * java/awt/image/ShortLookupTable.java: New file.
2922         * java/awt/image/ByteLookupTable.java: New file.
2923         * Makefile.am: Added new files.
2924         * Makefile.in: Regenerated.
2925
2926 2004-07-21  David Jee  <djee@redhat.com>
2927
2928         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2929         (create(GtkContainerPeer)): New native method.
2930         (create()): Call native create(), passing in the parent frame
2931         as the paramter. Natively set the current file and directory.
2932         (setFile): Construct an absolute filename before passing it to
2933         the native peer.
2934         (nativeGetDirectory): New method.
2935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2936         (window_closed): Removed.
2937         (ok_clicked): Likewise.
2938         (cancel_clicked): Likewise.
2939         (handle_response): New method.
2940         (create): Use GtkFileChooserDialog.
2941         (connectSignals): Connect to handle_response.
2942         (nativeGetDirectory): New method.
2943         (nativeSetFile): Use GtkFileChooserDialog.
2944
2945 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2946
2947         * java/awt/image/LookupTable.java: New file.
2948         * Makefile.am: Added new file.
2949         * Makefile.in: Regenerated.
2950
2951 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2952
2953         * java/awt/image/Kernel.java: New file.
2954         * Makefile.am: Added new file.
2955         * Makefile.in: Regenerated.
2956
2957 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2958
2959         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2960         * javax/swing/JMenu.java: Likewise.
2961         * javax/swing/JMenuBar.java: Likewise.
2962         (MARGIN_CHANGED_PROPERTY): New property.
2963         (setMargin): Implemented.
2964         * javax/swing/JMenuItem.java: Fixed javadocs.
2965         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2966         (LABEL_CHANGED_PROPERTY): New property.
2967         (add): changed to use createActionComponent.
2968         (createActionComponent): Implemented.   
2969         (setLabel): Fire PropertyChangeEvent if label property
2970         changes.
2971         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2972         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2973         (ContainerHandler): Repaint if margin property has changed.
2974         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2975         (installUI): Call installComponents().
2976         (uninstallUI): Call uinstallComponents().
2977         * javax/swing/plaf/basic/BasicMenuUI.java:
2978         Fixed javadocs.
2979         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2980         Likewise.
2981
2982 2004-07-21  Kim Ho  <kho@redhat.com>
2983
2984         * javax/swing/plaf/basic/BasicToolBarUI.java:
2985         (DragWindow): Use the right constructor.
2986
2987 2004-07-21  Kim Ho  <kho@redhat.com>
2988
2989         * javax/swing/JToolBar.java:
2990         (layoutContainer): Use getComponents.
2991         * javax/swing/plaf/basic/BasicToolBarUI.java:
2992         (DragWindow): Don't use SwingUtilities' 
2993         getOwnerFrame
2994         (ToolBarDialog): ditto.
2995
2996 2004-07-21  Kim Ho  <kho@redhat.com>
2997
2998         * javax/swing/JRootPane.java:
2999         Ran jalopy.
3000         (layoutContainer): Set the glasspane's size to 
3001         be the same as the content pane.
3002         (createGlassPane): Set opaque property to false.
3003
3004 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3005
3006         * java/awt/Component.java (requestFocus()): Don't handle Panels
3007         specially.
3008         (requestFocus(boolean)): Likewise.
3009         (requestFocusInWindow(boolean)): Likewise.
3010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3011         Set GTK_CAN_FOCUS flag.
3012
3013 2004-07-21  Kim Ho  <kho@redhat.com>
3014
3015         * Makefile.am: Added new file.
3016         * Makefile.in: Regenerated.
3017         * gcj/Makefile.in: Regenerated.
3018         * include/Makefile.in: Regenerated.
3019         * javax/swing/AbstractButton.java:
3020         Add rollOverEnabled property.
3021         (setRolloverEnabled): Use new property.
3022         (isRolloverEnabled): Use new property.
3023         * javax/swing/JTabbedPane.java:
3024         (setComponent): Remove useless JTabbedPane.this.
3025         * javax/swing/JToolBar.java: Finish implementation.
3026         * javax/swing/plaf/basic/BasicArrowButton.java:
3027         (paint): Moved border painting to a border.
3028         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3029         Change JToolBar look and feel defaults.
3030         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3031         (actionPerformed): Return Integer index instead of name.
3032         (addButtonComponents): Check to see if component is
3033         JButton last.
3034         (createMessageArea): Don't use components that are not
3035         completed yet.
3036         (getIconForType): Use temporary icons.
3037         * javax/swing/plaf/basic/BasicSliderUI.java:
3038         (mousePressed): Do not return if it's on thumb.
3039         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3040         (paintMinorTickForVertSlider): ditto.
3041         (paintMajorTickForHorizSlider): ditto.
3042         (paintMajorTickForVertSlider): ditto.
3043         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3044         Add a border around the SplitPaneDivider.
3045         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3046         Remove comments.
3047         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3048         New file. Implemented.
3049         * javax/swing/plaf/basic/BasicToolBarUI.java:
3050         Implemented.
3051         * testsuite/Makefile.in: Regenerated.
3052
3053 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3054
3055         * javax/swing/Timer.java (run): Queue events each time cycle.
3056
3057 2004-07-21  David Jee  <djee@redhat.com>
3058
3059         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3060         (imageComplete): Call image.imageComplete().
3061         * java/awt/image/MemoryImageSource.java:
3062         Reimplement consumers as a Vector instead of a Hashtable.  This is
3063         because enumeration on a Hashtable is not thread-safe.
3064         (addConsumer): Adapt to Vector consumers.
3065         (isConsumer): Adapt to Vector consumers.
3066         (removeConsumer): Adapt to Vector consumers.
3067         (startProduction): Adapt to Vector consumers. Call imageComplete()
3068         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3069         (newPixels): Adapt to Vector consumers.
3070         (sendPicture): Set the color model of the image consumer.
3071         (newPixels(IIII)): Adapt to Vector consumers.
3072         (newPixels(IIIIB)): Adapt to Vector consumers.
3073
3074 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3075
3076         * java/awt/Component.java (deliverEvent): Implement.
3077         (postEvent): Implement.
3078         (handleEvent): Implement.
3079         (translateEvent): New method.
3080         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3081         * java/awt/Container.java (deliverEvent): Implement.
3082         * java/awt/Event.java (paramString): Fix formatting.
3083         * java/awt/Font.java (toString): Likewise.
3084         * java/awt/Window.java (postEvent): Implement.
3085
3086 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3087
3088         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3089         Set window's focus owner upon receiving a FOCUS_LOST event.
3090         * java/awt/Window.java (Window()): Refocus the previously
3091         focused component within the window when the window regains the
3092         top-level focus.
3093         (setFocusOwner): New method.
3094         * java/awt/Component.java (requestFocus): Add FIXME.
3095
3096         * libgcj.pc.in: Remove library flags.
3097
3098 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3099
3100         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3101         MOUSE_PRESSED event.
3102         * java/awt/Component.java (requestFocus()): Handle Panel
3103         specially.  Post FOCUS_LOST event on opposite component.
3104         (requestFocus(boolean)): Likewise.
3105         (requestFocusInWindow(boolean)): Likewise.
3106         (paramString): Reorder dimension fields.
3107         * java/awt/Container.java (paramString): Fix string format.
3108         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3109         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3110         process key events if the focus owner is non-null.
3111         (dispatchKeyEvent): Likewise.
3112         * java/awt/Frame.java (paramString): Fix formatting.
3113         (generateName): New method.
3114         (getUniqueLong): Likewise.
3115         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3116         the temporary focus owner is null.  If so, return the permanent
3117         focus owner.
3118         * java/awt/Panel.java (generateName): New method.
3119         (getUniqueLong): Likewise.
3120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3121         signal handling to make callbacks more specific.
3122
3123 2004-07-21  Michael Koch  <konqueror@gmx.de>
3124
3125         * javax/swing/text/Position.java
3126         (Bias): Implemented.
3127
3128 2004-07-21  Michael Koch  <konqueror@gmx.de>
3129
3130         * javax/swing/LookAndFeel.java
3131         (provideErrorFeedback): New method.
3132
3133 2004-07-21  Michael Koch  <konqueror@gmx.de>
3134
3135         * javax/swing/JTextArea.java
3136         (tabSize): New field.
3137         (getTabSize): New method.
3138         (setTabSize): Likewise.
3139
3140 2004-07-21  Michael Koch  <konqueror@gmx.de>
3141
3142         * javax/swing/ActionMap.java:
3143         Fixed javadocs all over.
3144         (serialVersionUID): Made private.
3145         (parent): Don't explicitely initialize with default value.
3146         (get): SImplified.
3147         (keys): Reimplemented.
3148         (allKeys): Likewise.
3149         (convertSet): Removed.
3150         * javax/swing/ComponentInputMap.java:
3151         Fixed javadocs all over.
3152         (ComponentInputMap): Implemented.
3153         (put): Likewise.
3154         (clear): Likewise.
3155         (remove): Likewise.
3156         (SetParent): Likewise.
3157         (getComponent): Likewise.
3158         * javax/swing/InputMap.java:
3159         Fixed javadocs all over.
3160         (serialVersionUID): Made private.
3161         (parent): Don't explicitely initialize with default value.
3162         (get): SImplified.
3163         (keys): Reimplemented.
3164         (allKeys): Likewise.
3165         (convertSet): Removed.
3166
3167 2004-07-21  Michael Koch  <konqueror@gmx.de>
3168
3169         * javax/swing/ActionMap.java,
3170         javax/swing/ComponentInputMap.java,
3171         javax/swing/InputMap.java,
3172         javax/swing/table/DefaultTableColumnModel.java,
3173         javax/swing/table/TableColumn.java,
3174         javax/swing/table/TableColumnModel.java,
3175         javax/swing/table/TableModel.java,
3176         javax/swing/text/AbstractDocument.java,
3177         javax/swing/text/TextAction.java:
3178         Reformated.
3179
3180 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3181
3182         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3183         Make method non-static.
3184         * javax/swing/AbstractButton.java:
3185         Rename fields to match property names where possible.
3186         (iconTextGap): New property.
3187         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3188         (init) New method, call from after various constructors.
3189         * javax/swing/JComponent.java (revalidate): 
3190         Invalidate before queueing repair.
3191         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3192         Reimplement in terms of visibleRowCount property.
3193         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3194         * javax/swing/JScrollPane.java (createScrollListener): 
3195         Remove tracing chatter.
3196         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3197         * javax/swing/RepaintManager.java (addInvalidComponent): 
3198         Don't invalidate.
3199         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3200         calculations.
3201         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3202         Mimic sun behavior on top left/right positioning.
3203         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3204         Remove mistaken use of preferredScrollableViewportSize here.
3205         (layoutContainer): Use view's preferred size as basis.
3206         * javax/swing/plaf/basic/BasicButtonUI.java:
3207         Set, get, and use textIconGap property.
3208         (paint) Paint text returned from layout (with ellipsis).
3209         * javax/swing/plaf/basic/BasicListUI.java:
3210         Remove tracing chatter, correct various minor calculations.
3211         (getCellBounds): Update layout state before calculating.
3212         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3213         Use margin default similar to sun's.    
3214         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3215         (createIncreaseIcon): Center icon, minimize margins.
3216         (createDecreaseIcon): Likewise.
3217         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3218         Implement.
3219         (installUI): Call it.
3220         (uninstallDefaults): Implement.
3221         (uninstallUI): Call it.
3222         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3223         Call existing Window constructor.
3224         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3225         Set clip before painting.
3226
3227 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3228         
3229         * javax/swing/JMenuItem.java:
3230         (processMouseEvent): Reimplemented to deal with
3231         mouse drag events.
3232         (createMenuDragMouseEvent): New private helper method.
3233         Creates MenuDragMouseEvent.
3234         * javax/swing/MenuSelectionManager.java
3235         (componentForPoint): Implemented.
3236         (isComponentPartOfCurrentMenu): Made public.
3237         (processMouseEvent): Reimplemented to deal with 
3238         mouse drag events.
3239         (setSelectedPath): Corrected small mistake that caused
3240         path to be set incorrectly.
3241         (getPath): If given component is JMenu then also add this
3242         menu's popup menu to the selected path.
3243         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3244         (getPath): Ditto.
3245         (getPreferredSize): Call getPreferredMenuItemSize().
3246         (getPreferredItemSize): Moved code from getPreferredSize to here.
3247         (installListeners): Install MouseMotionListeners.
3248         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3249         if mouse wasn't released in the bounds of this menu item.
3250         (MenuDragMouseHandler): Implemented.
3251         * javax/swing/plaf/basic/BasicMenuUI.java:
3252         (installListeners): Install MouseMotionListener and 
3253         MenuDrageMouseListener.
3254         (MenuDragMouseHandler): Implemented.
3255         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3256         (uninstallListeners): Implemented.
3257         
3258 2004-07-21  Michael Koch  <konqueror@gmx.de>
3259
3260         * javax/swing/JCheckBox.java: Reformated.
3261         (JCheckBox): Fixed all constructors.
3262         (isBorderPaintedFlat): New method.
3263         (setBorderPaintedFlat): New method.
3264         * javax/swing/JEditorPane.java
3265         (createEditorKitForContentType): Made public.
3266         (scrollToReference): Likewise.
3267         * javax/swing/JTextArea.java
3268         (setLineWrap): Fire property change.
3269         * javax/swing/JToggleButton.java
3270         (JToggleButton): New constructor.
3271         (JToggleButton): Simplified.
3272         * javax/swing/text/AttributeSet.java
3273         (FontAttribute): Renamed from FontCharacterAttribute.
3274         * javax/swing/text/JTextComponent.java
3275         (KeyBinBinding): Added javadoc.
3276         (JTextComponent): Likewise.
3277         (getAccessibleContext): Fixed javadoc.
3278         * javax/swing/text/View.java
3279         (View): Added javadoc.
3280         * javax/swing/text/TabableView.java: New file.
3281         * Makefile.am: Added javax/swing/text/TabableView.java.
3282         * Makefile.in: Regenerated.
3283
3284 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3285
3286         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3287         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3288         (GtkErrorImage): New helper class.
3289         (bufferedImageOrError): New helper method.
3290         (createImage): Use it.
3291
3292 2004-07-21  David Jee  <djee@redhat.com>
3293
3294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3295         (setCaretPosition): Scroll the text view so the new caret position
3296         is visible on screen.
3297
3298 2004-07-21  David Jee  <djee@redhat.com>
3299
3300         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3301         (setBounds): Do not validate awtComponent here.
3302         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3303         (getPreferredSize): New method.
3304         * java/awt/ScrollPane.java
3305         (ScrollPane): Set default size to 100x100.
3306         (addNotify): If child is not a Panel, wrap it with a new Panel.
3307         (paramString): Implement.
3308
3309 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3310
3311         * javax/swing/JMenu.java:
3312         (setSelected): Display popup menu only if this menu 
3313         is showing on the screen.
3314         * javax/swing/JPopupMenu.java:
3315         (processMouseEvent): Added comment.
3316         (processKeyEvent): Likewise.
3317         * javax/swing/MenuSelectionManager.java:
3318         (clearSelectedPath): Only fireStateChanged() after
3319         selected path was changed, not before.
3320         (setSelectedPath): Likewise.
3321         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3322         (paintMenuItem): Corrected position of menu item's
3323         icon.
3324         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3325         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3326         (popupMenuCanceled): Reimplemented.
3327         (popupMenuWillBecomeVisible): Select first menu item by default 
3328         when displaying free floating popup menus.
3329         (TopWindowListener): Reimplemented.
3330
3331 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3332
3333         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3334         Panel from being painted twice when it is first shown.
3335
3336 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3337
3338         * java/awt/Window.java: Reverted changes from my 
3339         previous patch for creating window without an owner.
3340         * javax/swing/SwingUtilities.java: 
3341         (SwingUtilities.OwnerFrame): made static.
3342         (OwnerFrame.setVisible): New method. Overridden with
3343         empty implementation.
3344         (OwnerFrame.isShowing): New method. Ovverridden
3345         to return always true.
3346
3347 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3348
3349         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3350         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3351         (GtkComponentPeer): Remove temporary try/catch block.
3352         (setVisible): Call show and hide.
3353         (show): Make native.
3354         (hide): Likewise.
3355         (getArgs): Don't add "visible" argument.
3356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3357         (property_notify_predicate): Return Bool instead of int.
3358         (find_layout): New function.
3359         (connectJObject): Call find_layout.
3360         (connectSignals): Likewise.
3361         (moveLayout): Likewise.
3362         (gtkLayoutSetVisible): Likewise.
3363
3364 2004-07-21  Mark Wielaard  <mark@klomp.org>
3365
3366         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3367         on notifier object before calling notifyAll().
3368
3369 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3370
3371         * java/awt/Window.java: Changed constructors to use new
3372         method that is described below. Constructors call this
3373         methods only if newly created window should have an owner.
3374         (setWindowOwner): New method. Implementation for
3375         this method is moved from this(owner,configuration).
3376         * javax/swing/JWindow.java:
3377         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3378         instead of owner.
3379         * javax/swing/SwingUtilities.java:
3380         (ownerFrame): Change type of this field to OwnerFrame.
3381         (getOwnerFrame): Changed to return object of type OwnerFrame.
3382         (SwingUtilities.OwnerFrame): New class. Represents owner
3383         of a Window that is not provided with one.
3384
3385 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3386
3387         *  javax/swing/AbstractButton.java: 
3388         (configurePropertiesFromAction): Set action command
3389         to button's text by default if action command is not 
3390         explicitely specified.
3391         * javax/swing/JMenu.java: Remove unnecessary listener
3392         and methods relevant to it.
3393         (setSelected): Reimplemented.
3394         (menuSelectionChanged): Moved most part of implementation to
3395         setSelected() and call it instead.
3396         * javax/swing/JMenuItem.java: 
3397         (init): Comment out statement that sets paint_border to false.
3398         (configurePropertiesFromAction): Do not set accelerator
3399         for JMenu.
3400         (menuSelectionChanged): Change selected index in the selection
3401         model of menu item's parent.
3402         * javax/swing/JPopupMenu.java:
3403         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3404         instead of GridBagConstraints.HORIZONTAL.
3405         (insert): Likewise.
3406         (createActionChangeListener): Implemented.
3407         (setVisible): Correct location of HeavyWeightMenu and 
3408         don't firePopupMenuCanceled().
3409         (menuSelectionChanged): Implemented.
3410         (ActionChangeListener): New Listener. Implemented.
3411         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3412         (BasicMenuBarUI.ContainerHandler): Implemented.
3413         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3414         (paintMenuItem): Uncommented out code that paints 
3415         icon, now that icons are working properly.
3416         (PropertyChangeListener): Implemented.
3417         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3418         Added javadocs.
3419         (topWindowListener): New field.
3420         (Constructor): initialize topWindowListener.
3421         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3422         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3423         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3424         Implemented.
3425
3426 2004-07-21  Michael Koch  <konqueror@gmx.de>
3427
3428         * javax/swing/plaf/basic/BasicButtonUI.java
3429         (paintFocus): Fixed method signature.
3430         (paintButtonPressed): Likewise.
3431         (paintButtonNormal): Likewise.
3432         (paintText): New method.
3433         * javax/swing/plaf/basic/BasicLabelUI.java
3434         (paint): Re-indented.
3435         * javax/swing/plaf/basic/BasicTextUI.java
3436         (installUI): Set parent textComponent to opaque.
3437         * javax/swing/text/DefaultHighlighter.java
3438         (checkPositions): New helper method.
3439         (addHighlight): Throws BadLocationException, check positions.
3440         (changeHighlight): Likewise.
3441         * javax/swing/text/EditorKit.java
3442         (EditorKit): Implements Serializable.
3443         * javax/swing/text/JTextComponent.java
3444         (getUI): Added javadoc.
3445         (setUI): Likewise.
3446         (upadteUI): Added javadoc, don't revalidate and repaint.
3447
3448 2004-07-21  David Jee  <djee@redhat.com>
3449
3450         * java/awt/GridBagLayout.java
3451         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3452         * javax/swing/AbstractButton.java
3453         (setText): Reindent.
3454         * javax/swing/RepaintManager.java
3455         (addInvalidComponent): Find the first ancestor that isValidateRoot().
3456
3457 2004-07-21  Michael Koch  <konqueror@gmx.de>
3458
3459         * javax/swing/JFormattedTextField.java
3460         (value): New field.
3461         (JFormattedTextField): Implemented.
3462         (getValue): Likewise.
3463         (setValue): Likewise.
3464         * javax/swing/LookAndFeel.java
3465         (getSupportsWindowDecorations): New method.
3466         * javax/swing/UIDefaults.java:
3467         Use java.beans.PropertyChangeSupport instead of doing all ourself.
3468         (addPropertyChangeListener): Made public.
3469         (addResourceBundle): Likewise.
3470         (removeResourceBundle): Likewise.
3471         (setDefaultLocale): Likewise.
3472         * javax/swing/plaf/basic/BasicRootPaneUI.java
3473         (BasicRootPaneUI): Implements PropertyChangeListener.
3474         (propertyChange): New method.
3475         * javax/swing/plaf/basic/BasicTextUI.java
3476         (BasicHighlighter): New inner class.
3477         (createHighlighter): New method.
3478         * javax/swing/plaf/basic/BasicToolBarUI.java
3479         (DragWindow): Extends java.awt.Window.
3480         * javax/swing/text/JTextComponent.java
3481         (getDocument): Removed debug output.
3482         * javax/swing/plaf/basic/BasicTextFieldUI.java,
3483         javax/swing/text/DefaultHighlighter.java,
3484         javax/swing/text/FieldView.java,
3485         javax/swing/text/PlainView.java: New files.
3486         * Makefile.am: Added new files.
3487         * Makefile.in: Regenerated.
3488
3489 2004-07-21  Michael Koch  <konqueror@gmx.de>
3490
3491         * javax/swing/JEditorPane.java
3492         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3493         (createEditorKitForContentType): Likewise.
3494         * javax/swing/text/DefaultEditorKit.java
3495         (serialVersionUID): Added constant field.
3496         (EndOfLineStringPropery): Fixed typo.
3497         (DefaultEditorKit): New constructor.
3498         * javax/swing/text/Segment.java:
3499         Import java.text.CharacterIterator.
3500         * javax/swing/text/CharacterIterator.java,
3501         javax/swing/text/PlainEditorKit.java: Removed.
3502         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3503         javax/swing/text/PlainEditorKit.java.
3504         * Makefile.in: Regenerated.
3505
3506 2004-07-21  Michael Koch  <konqueror@gmx.de>
3507
3508         * javax/swing/JButton.java,
3509         javax/swing/text/DefaultEditorKit.java,
3510         javax/swing/text/EditorKit.java,
3511         javax/swing/text/Segment.java,
3512         javax/swing/text/StyledEditorKit.java:
3513         Reformatted.
3514
3515 2004-07-21  Michael Koch  <konqueror@gmx.de>
3516
3517         * javax/swing/ImageIcon.java
3518         (file): Removed.
3519         (description): Renamed from descr.
3520         (ImageIcon): Added missing constructors.
3521         (setParent): Removed.
3522         (setImageObserver): New method.
3523         (getImageObserver): New method.
3524         (paintIcon): Handle observer = null.
3525         * javax/swing/JButton.java
3526         (removeNotify): Fixed javadoc.
3527         (updateUI): Simplified.
3528         * javax/swing/JRootPane.java
3529         (serialVersionUID): New constant field.
3530         * javax/swing/UIManager.java:
3531         Fixed javadocs all over.
3532         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3533         * javax/swing/text/AbstractDocument.java
3534         (createPosition): Throws BadLocationException.
3535         (getText): Likewise.
3536         (remove): Likewise.
3537         * javax/swing/text/ComponentView.java
3538         (modelToView): Likewise.
3539         * javax/swing/text/DefaultEditorKit.java:
3540         Made all public methods public.
3541         (read): Throws BadLocationException and IOException.
3542         (write): Likewise.
3543         * javax/swing/text/EditorKit.java:
3544         Made all public methods public.
3545         (serialVersionUID): New constant field.
3546         (clone): New method.
3547         (read): Throws BadLocationException and IOException.
3548         (write): Likewise.
3549         * javax/swing/text/Segment.java
3550         (array): Made public.
3551         (count): Likewise.
3552         (offset): Likewise.
3553         (Segment): New constructors.
3554         (clone): Reimplemented.
3555         * javax/swing/text/StyledEditorKit.java
3556         (serialVersionUID): New constant field.
3557
3558 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3559
3560         * java/awt/image/BufferedImage.java 
3561         (getSource): Implement.
3562         * javax/swing/ImageIcon.java 
3563         (ImageIcon): Implement ctor.
3564         * javax/swing/ScrollPaneLayout.java 
3565         (preferredLayoutSize): Be more careful about nulls.
3566
3567 2004-07-21  Michael Koch  <konqueror@gmx.de>
3568
3569         * javax/swing/text/AttributeSet.java
3570         (CharacterAttribute): New interface
3571         (ColorAttribute): Likewise.
3572         (FontCharacterAttribute): Likewise.
3573         (ParagraphAttribute): Likewise.
3574         * javax/swing/text/DefaultCaret.java
3575         (moveCaret): New method.
3576         (positionCaret): Likewise.
3577         (repaint): Made protected.
3578         * javax/swing/text/JTextComponent.java
3579         (KeyBinding): Made it static.
3580         * javax/swing/text/View.java
3581         (getContainer): Honor parent == null.
3582
3583 2004-07-21  Michael Koch  <konqueror@gmx.de>
3584
3585         * javax/swing/text/AbstractDocument.java:
3586         Reformatted.
3587
3588 2004-07-21  Michael Koch  <konqueror@gmx.de>
3589
3590         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3591         Import javax.swing.UIManager explicitely.
3592         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3593         (ScrollingButton): Made it static.
3594
3595 2004-07-21  Michael Koch  <konqueror@gmx.de>
3596
3597         * javax/swing/UIDefaults.java
3598         (ActiveValue): Made public.
3599         (LazyValue): Likewise.
3600         * javax/swing/plaf/basic/BasicTextUI.java
3601         (RootView): Reintroduced.
3602         (view): Removed.
3603         (rootView): New field.
3604         (installUI): Create document if needed, initialize rootView.
3605         (uninstallUI): Hanle rootView.
3606         (paint): Likewise.
3607         (getRootView): Likewise.
3608         (setView): Likewise.
3609         * javax/swing/text/DefaultCaret.java:
3610         Renamed all "evt" variables to "event".
3611
3612 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3613
3614         * libgcj.spec.in: Add -l-java-util-logging.
3615
3616 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
3617
3618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3619         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3620         gtk-xft-dpi can no calculate the right value.
3621         (dpi_changed_cb): Mark *pspec as unsused.
3622
3623 2004-07-21  David Jee  <djee@redhat.com>
3624
3625         * java/awt/Component.java
3626         (move): Delegate to setBounds().
3627         (resize): Likewise.
3628         (reshape): Fix so it repaints parent and self only when necessary.
3629
3630 2004-07-21  David Jee  <djee@redhat.com>
3631
3632         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3633         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3634         (GtkComponentPeer): Revert previous patch from 2004-06-22.
3635         (setVisible): Likewise.
3636         (show): Likewise.
3637         (hide): Likewise.
3638         (getArgs): Likewise.
3639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3640         (property_notify_predicate): Likewise.
3641         (find_layout): Likewise.
3642         (connectJObject): Likewise.
3643         (connectSignals): Likewise.
3644         (moveLayout): Likewise.
3645         (gtkLayoutSetVisible): Likewise.
3646
3647 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3648
3649         * Makefile.am
3650         (jv_convert_LDADD):
3651         (gij_LDADD):
3652         (rmic_LDADD):
3653         (rmiregistry_LDADD): Add lib-java-util-logging.la
3654         * Makefile.in: Regenerate.
3655
3656 2004-07-21  Michael Koch  <konqueror@gmx.de>
3657
3658         * javax/swing/text/AbstractDocument.java
3659         (replace): Dont use protected method of java.util.Vector directly.
3660
3661 2004-07-21  Michael Koch  <konqueror@gmx.de>
3662
3663         * javax/swing/plaf/basic/BasicTextUI.java
3664         (installUI): Call specialized install methods.
3665         (installDefaults): New method.
3666         (installListeners): Likewise.
3667         (installKeyboardActions): Likewise.
3668         (uninstallUI): Likewise.
3669         (uninstallDefaults): New method.
3670         (uninstallListeners): Likewise.
3671         (uninstallKeyboardActions): Likewise.
3672         (getPropertyPrefix): New abstract method.
3673         (paint): Made final, just call paintSafely().
3674         (paintSavely): New method.
3675         (paintBackground): Likewise.
3676         (getVisibleEditorRect): Likewise.
3677         * javax/swing/text/LayeredHighlighter.java,
3678         javax/swing/text/TabExpander.java: New files.
3679         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3680         and javax/swing/text/TabExpander.java.
3681         * Makefile.in: Regenerated.
3682
3683 2004-07-21  Michael Koch  <konqueror@gmx.de>
3684
3685         * javax/swing/plaf/basic/BasicTextUI.java
3686         (BasicTextUI): Made abstract.
3687         (BasicCaret): New inner class.
3688         (view): Don't explicitely initialize with "null".
3689         (textComponent): New field.
3690         (textColor): Removed.
3691         (disabledTextColor): Removed.
3692         (normalBackgroundColor): Removed.
3693         (RootView): Removed commented out inner class.
3694         (createUI): Removed.
3695         (createCaret): New method.
3696         (getComponent): Likewise.
3697         (installUI): Initialize textComponent only.
3698         (getPreferredSize): Use installed JTextComponent.
3699         (setView): New method.
3700         (create): Likewise.
3701         * javax/swing/text/JTextComponent.java
3702         (highlighter): New field.
3703         (caretColor): Likewise.
3704         (disabledTextColor): Likewise.
3705         (seletedTextColor): Likewise.
3706         (selectionColor): Likewise.
3707         (setUI): New method.
3708         (getCaretColor): Likewise.
3709         (setCaretColor): Likewise.
3710         (getDisabledColor): Likewise.
3711         (setDisabledColor): Likewise.
3712         (getSelectedTextColor): Likewise.
3713         (setSelectedTextColor): Likewise.
3714         (getSelectionColor): Likewise.
3715         (setSelectionColor): Likewise.
3716         (getHighlighter): Likewise.
3717         (setHighlighter): Likewise.
3718         (replaceSelection): Likewise.
3719
3720 2004-07-21  Michael Koch  <konqueror@gmx.de>
3721
3722         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3723         (BasicScrollPaneUI): Implements ScrollPaneConstants.
3724         * javax/swing/plaf/basic/BasicToolBarUI.java
3725         (BasicToolBarUI): Implements SwingConstants.
3726
3727 2004-07-21  Michael Koch  <konqueror@gmx.de>
3728
3729         * javax/swing/JPopupMenu.java: Removed CVS tags.
3730         * javax/swing/UIDefaults.java: Reformatted.
3731         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3732         Explicitely import used classes.
3733
3734 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3735
3736         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3737         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3738         (GtkComponentPeer): Remove temporary try/catch block.
3739         (setVisible): Call show and hide.
3740         (show): Make native.
3741         (hide): Likewise.
3742         (getArgs): Don't add "visible" argument.
3743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3744         (property_notify_predicate): Return Bool instead of int.
3745         (find_layout): New function.
3746         (connectJObject): Call find_layout.
3747         (connectSignals): Likewise.
3748         (moveLayout): Likewise.
3749         (gtkLayoutSetVisible): Likewise.
3750
3751 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3752
3753         * javax/swing/AbstractButton.java:
3754         (setDisplayedMnemonicIndex): Check if button
3755         text is not null before checking its length.
3756         * javax/swing/JMenuItem.java:
3757         (processMouseEvent): Disarm menu item if mouse has
3758         exited it.
3759         * javax/swing/plaf/basic/BasicMenuUI.java:
3760         (MouseInputHandler.mouseEntered): Do not raise
3761         popup menu if this menu is already selected.
3762         (MouseInputHandler.mousePressed): Do not fire 
3763         MenuEvents.
3764         (MenuHandler): Implemented.     
3765
3766 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3767
3768         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3769         (getSelectedObjects): Implemented.
3770         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3771         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
3772         Added javadoc for few methods.
3773         (processMouseEvent): Made public.
3774         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3775         (processMouseEvent): Likewise.
3776
3777 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3778
3779         * javax/swing/AbstractButton.java:
3780         (init): Set display mnemonic index to -1.
3781         (setMnemonic(char)): Use setMnemonic(int).
3782         (setMnemonic(int)): Set display mnemonic index.
3783         (getDisplayedMnemonicIndex): Change method signature
3784         by removing 'index' parameter.
3785         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3786         Added default for Menu.selectionBackground.     
3787         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3788         (paintMenuItem): Change background color of the selected
3789         menu item.
3790         (paintText): Paint differently when menu item is disabled.
3791         Also paint mnemonic if it appears in the menu item's label.
3792         (paintAccelerator): Paint accelerator differently
3793         if menu item is disabled.
3794         * javax/swing/plaf/basic/BasicMenuUI.java:
3795         (installDefaults): Install defaults for 
3796         selectionForeground and selectionBackground.
3797         (uninstallDefaults): Uninstall defauls for 
3798         selectionForeground and selectionBackground.
3799
3800 2004-07-21  Michael Koch  <konqueror@gmx.de>
3801
3802         * javax/swing/text/AbstractDocument.java
3803         (BranchElement): Implemented.
3804         (LeafElement): Implemented.
3805         * javax/swing/text/DefaultCaret.java:
3806         Import used classes.
3807         (serialVersionUID): New constant.
3808         * javax/swing/text/JTextComponent.java
3809         (AccessibleJTextComponent): Removed dead declaration.
3810         (caretPos): Removed.
3811         (setCaret): New method.
3812         * javax/swing/text/PlainDocument.java
3813         (rootElement): New field.
3814         (PlainDocument): Initialize rootElement.
3815         (createDefaultRoot): New method.
3816         (getDefaultRootElement): Implemented.
3817         * javax/swing/text/View.java: Reformatted.
3818         * javax/swing/text/ViewFactory.java
3819         (create): Added javadoc.
3820
3821 2004-07-21  Michael Koch  <konqueror@gmx.de>
3822
3823         * javax/swing/ToolTipManager.java: Reformatted.
3824
3825 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
3826
3827         * javax/swing/AbstractButton.java
3828         (changeEvent): New field.
3829         (fireItemStateChanged): Change source of the event
3830         to 'this' before firing it to button listeners.
3831         (fireActionPerformed): Likewise.
3832         (fireStateChanged): Likewise.
3833         (createActionListener): Do not set source 
3834         of the event to AbstractButton.                                  
3835         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3836         (ContainerHandler.componentAdded): Removed 
3837         print out statement.
3838         (ContainerHandler.componentRemoved): Likewise.
3839
3840 2004-07-21  Michael Koch  <konqueror@gmx.de>
3841
3842         * javax/swing/text/Highlighter.java: New file.
3843         * Makefile.am: Added javax/swing/text/Highlighter.java.
3844         * Makefile.in: Regenerated.
3845
3846 2004-07-21  Michael Koch  <konqueror@gmx.de>
3847
3848         * javax/swing/ToolTipManager.java
3849         (stillInsideTimerAction): Fixed constructor arguments.
3850         (outsideTimerAction): Likewise.
3851         (insideTimerAction): Likewise.
3852
3853 2004-07-21  Michael Koch  <konqueror@gmx.de>
3854
3855         * javax/swing/JButton.java: Reformatted.
3856         * javax/swing/JFormattedTextField.java
3857         (getUIClassID): Implemented.
3858         * javax/swing/JRootPane.java
3859         (serialVersionUID): New constant.
3860         * javax/swing/JTextField.java
3861         (align): New field.
3862         (JTextField): Simplified.
3863         (getUIClassID): New method.
3864         (getActionListeners): Added @since tag.
3865         (setColumns): Invalidate layout and repaint.
3866         (getHorizontalAlignment): New method.
3867         (setHorizontalAlignment): New method.
3868         (selectAll): Removed.
3869         * javax/swing/SwingUtilities.java
3870         (getAncestorOfClass): Removed redundant @see tag.
3871         (isLeftMouseButton): Fixed implementation.
3872         (isMiddleMouseButton): Likewise.
3873         (isRightMouseButton): Likewise.
3874         * javax/swing/text/AbstractDocument.java
3875         (AttributeContext.addAttribute): New method.
3876         (AttributeContext.addAttributes): New method.
3877         (AttributeContext.getEmptySet): New method.
3878         (AttributeContext.reclaim): New method.
3879         (AttributeContext.removeAttribute): New method.
3880         (AttributeContext.removeAttributes): New method.
3881         * javax/swing/text/Document.java
3882         (createPosition): Throws BadLocationException.
3883         (getText): Likewise.
3884         (remove): Likewise.
3885         * javax/swing/text/JTextComponent.java
3886         (getText): Return null if no document is set. Catch
3887         BadLocationException.
3888         (getUI): Return ui.
3889         (updateUI): Simplified.
3890
3891 2004-07-21  Michael Koch  <konqueror@gmx.de>
3892
3893         * javax/swing/JButton.java
3894         (removeNotify): Fixed javadoc.
3895         (updateUI): Simplified.
3896
3897 2004-07-21  David Jee  <djee@redhat.com>
3898
3899         * gnu/java/awt/image/ImageDecoder.java
3900         (startProduction): Only add consumer if it's not added yet.
3901         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3902         (GdkPixbufDecoder): Don't call initState() here.
3903         (produce): Call initState() here, to ensure area_prepared and
3904         area_updated signals are properly connected.
3905         * gnu/java/awt/peer/gtk/GtkImage.java
3906         (setColorModel): Use equals() to compare ColorModel objects.
3907         (setPixels): Likewise.
3908         * java/awt/image/ColorModel.java
3909         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3910         * java/awt/image/RGBImageFilter.java
3911         (setColorModel): Set consumer's color model.
3912         (setPixels): Use equals() to compare ColorModel objects.
3913
3914 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
3915
3916         * java/net/URLConnection.java (position): New field.
3917         (dateFormat1, dateFormat2, dateFormat3): Removed.
3918         (dateFormats): New field.
3919         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3920         each time instead of re-allocating.
3921         (initializeDateFormats): Initialize 'dateFormats'.
3922
3923 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3924
3925         PR libgcj/16591
3926         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3927         is defined.
3928
3929 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3930
3931         * java/net/Socket.java (getImpl): Now private. Remove comment.
3932
3933 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3934
3935         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3936         of chained Writer when calling super-constructor.
3937         * java/io/FilterWriter.java (FilterWriter): Likewise.
3938         * java/io/PrintWriter.java (PrintWriter): Likewise.
3939
3940 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
3941
3942         * prims.cc (process_gcj_properties): Don't increment i within LHS
3943         of assignment.
3944
3945 2004-07-19  Per Bothner  <per@bothner.com>
3946
3947         Print -verbose:message on "loading", not initialization.
3948         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
3949         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
3950         gcj::verbose_class_flag.
3951         * java/lang/natClass.cc (initializeClass):  Don't print message here.
3952         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
3953         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3954         (_Jv_PrepareCompiledClass):  Likewise.
3955
3956 2004-07-18  Matthias Klose  <doko@debian.org>
3957
3958         * configure.in: Substitute target_noncanonical.
3959         * configure: Regenerate
3960
3961 2004-07-17  Michael Koch  <konqueror@gmx.de>
3962
3963         * java/lang/String.java: Fixed javadocs all over.
3964
3965 2004-07-17  Mark Wielaard  <mark@klomp.org>
3966
3967         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3968         when size is smaller.
3969         * java/io/RandomAccessFile.java (setLength): Use truncate for
3970         shrinking the file and seek plus write for expanding the file.
3971
3972 2004-07-17  Michael Koch  <konqueror@gmx.de>
3973
3974         * gnu/java/nio/channels/natFileChannelPosix.cc
3975         (implTruncate): Always save current position. Only reposition file
3976         pointer to where we started if not beyond new lenght. Reposition file
3977         pointer to file length if it points beyond the end of file.
3978
3979 2004-07-17  Mark Wielaard  <mark@klomp.org>
3980
3981         * javax/swing/Box.java: Put FIXME comment above class declaration.
3982         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3983         * javax/swing/JCheckBox.java: Likewise.
3984         * javax/swing/JDialog.java: Likewise.
3985         * javax/swing/JRadioButton.java: Likewise.
3986         * javax/swing/JToggleButton.java: Likewise.
3987         * javax/swing/UIManager.java: Likewise.
3988         * javax/swing/border/TitledBorder.java: Likewise.
3989         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3990         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3991         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3992         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3993         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3994         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3995         * javax/swing/text/JTextComponent.java: Likewise.
3996
3997 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
3998
3999         * java/net/DatagramPacket.java (setAddress): Removed check for
4000         null address.
4001
4002 2004-07-17  Michael Koch  <konqueror@gmx.de>
4003
4004         * java/net/DatagramSocket.java
4005         (getLocalAddress): Check if socket is bound or not.
4006         * java/net/Socket.java
4007         (getLocalAddrss): Check if socket is bound or not.
4008         (getPort): Return -1 when not connected. Dont check getImpl() for
4009         null.
4010         (setReuseAddress): Check if socket is closed.
4011         (isConnected): Check if getImpl() returns null.
4012
4013 2004-07-17  Mark Wielaard  <mark@klomp.org>
4014
4015         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4016         on notifier object before calling notifyAll().
4017
4018 2004-07-17  Michael Koch  <konqueror@gmx.de>
4019
4020         * gnu/java/nio/channels/FileChannelImpl.java
4021         (finalize): Added javadoc.
4022
4023 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4024
4025         * java/text/CollationElementIterator.java
4026         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4027         (setText): Use ArrayList instead of Vector.
4028
4029 2004-07-17  Michael Koch  <konqueror@gmx.de>
4030
4031         * java/nio/ByteOrder.java
4032         (static): Removed. Not needed.
4033         Thanks to Patrick Reali for noticing.
4034         * java/nio/charset/CharsetDecoder.java
4035         (decode): Fix for classpath bug #9177: Reset state before flipping.
4036
4037 2004-07-17  Michael Koch  <konqueror@gmx.de>
4038
4039         * java/security/Security.java: Fixed javadocs all over.
4040
4041 2004-07-17  Michael Koch  <konqueror@gmx.de>
4042
4043         * gnu/java/awt/EmbeddedWindow.java
4044         (static): Removed.
4045         (addNotify): Set peer via reflection.
4046         (setWindowPeer): Removed.
4047         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4048         * Makefile.am (nat_source_files):
4049         Removed gnu/java/awt/natEmbeddedWindow.cc.
4050         * Makefile.in: Regenerated.
4051
4052 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4053
4054         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4055         assignment.
4056         * configure: Regenerated.
4057
4058 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4059
4060         * configure.in: Use build_noncanonical rather than build_alias.
4061         * configure: Rebuild.
4062
4063         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4064         by logic refactoring.  Move default definition of NATIVE closer
4065         to first alternate definition.
4066         * configure: Regenerate.
4067
4068         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4069         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4070         gcj/Makefile.in: Regenerate.
4071         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4072         in AM_CONDITIONAL(NATIVE,...)
4073         * configure: Regenerate.
4074
4075 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4076
4077         * configure.in: Use target_noncanonical rather than
4078         target_alias for forward-compatibility with autoconf 2.59.
4079         * configure: Regenerate.
4080         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4081         testsuite/Makefile.am: Substitute target_noncanonical.
4082         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4083         testsuite/Makefile.in: Regenerate.
4084
4085         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4086         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4087         * acinclude.m4: Include acx.m4.
4088         * aclocal.m4: Regenerate.
4089         * configure: Regenerate.
4090
4091 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4092
4093         PR libgcj/16574
4094         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4095         (decimalFormat): New static variable.
4096         (sbuf): Likewise.
4097         (getTime): New. Override Date.getTime().
4098         (toString): Synchronize. Use decimalFormat to format nanos value
4099         correctly. Truncate extra zeros.
4100         (before): Compare getNanos() only if getTime() is equal.
4101         (after): Likewise.
4102         
4103 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4104
4105         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4106         * configure.in: ...here.
4107         * aclocal.m4: Regenerate.
4108         * configure: Regenerate.
4109
4110         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4111         * configure: Rebuilt with autoconf 2.13.
4112         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4113         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4114
4115 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4116
4117         PR libgcj/16204
4118         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4119         large file support.
4120         * Makefile.in: Rebuilt.
4121         * testsuite/libjava.lang/LargeFile.java: New test case.
4122         * testsuite/libjava.lang/LargeFile.out: New file.
4123
4124 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4125
4126         * java/beans/EventHandler.java: Remove debugging statements.
4127
4128 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4129
4130         * java/beans/EventHandler.java: New file.
4131         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4132         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4133         testsuite/Makefile.in: Regenerate.
4134
4135 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4136
4137         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4138         flag to the gcj_setup.
4139         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4140         the tclsh.
4141         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4142         deprecation flag change. 58 XFAILS removed.
4143
4144 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4145
4146         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4147         -fno-use-divide-subroutine.
4148         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4149         (HANDLE_FPE): Define.
4150         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4151         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4152         (HANDLE_DIVIDE_OVERFLOW): Define.
4153
4154 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4155             Matthias Klose  <doko@debian.org> 
4156
4157         * java/awt/im/InputContext.java: Initialize in, line.
4158
4159 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4160
4161         * interpret.cc (run): Correctly access libffi return values of
4162         integral smaller-than-int type; these are implicitly promoted.
4163
4164 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4165
4166         PR libgcj/7587
4167         * interpret.cc (compile_mutex): New.
4168         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4169         (run): Lock compile_mutex before calling compile() if compilation is
4170         required.
4171         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4172         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4173
4174 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4175
4176         PR libgcj/15713
4177         * include/jvm.h (_Jv_value): New union type.
4178         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4179         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4180         union members.
4181
4182 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4183
4184         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4185         * gnu/awt/xlib/XOffScreenImage.java
4186           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4187           constructor argument. Add constructor using ImageProducer.
4188           (getSource): Implement.
4189           (imageComplete): New method.
4190           (setColorModel): New method.
4191           (setDimensions): New method.
4192           (setHints): New method.
4193           (setPixels): New method.
4194           (setProperties): New method.
4195         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4196         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4197
4198 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4199
4200         PR libgcj/16478 
4201         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4202         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4203         (finalizerReady): Now native.
4204         (run): Likewise.
4205         (runFinalizers): Removed.
4206         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4207         a primitive lock, and don't hold it while running the finalizers.
4208         (runFinalizers): Implement. Don't aquire any Java lock.
4209         (finalizerReady): Use lock primitives to signal finalizer thread.
4210
4211 2004-07-11  Mark Wielaard  <mark@klomp.org>
4212
4213         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4214         * java/net/URLStreamHandler.java (parseURL): When url file part
4215         doesn't contain a '/' just ignore context.
4216
4217 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4218
4219         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4220         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4221         (MAKE_THROW_FRAME): Do not modify PSW address.
4222         (INIT_SEGV): Install SIGINFO-style signal handler.
4223         (INIT_FPE): Likewise.
4224
4225 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4226
4227         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4228         status. 21 xfail's removed, 1 added.
4229
4230 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4231
4232         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4233
4234 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4235
4236         * java/text/MessageFormat.java
4237         (formatInternal): Append "{n}" if argument n is unavailable.
4238         (format(Object, StringBuffer, FieldPosition)): This
4239         should be equivalent to format(Object[],
4240         StringBuffer, FieldPosition).
4241
4242 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4243
4244         * java.util.Calendar.java (cache): New private static field. Cached
4245         mappings of locales->calendar classes.
4246         (ctorArgTypes): New private static field. Singleton argument for
4247         calendar class constructor lookup.
4248         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4249         Optimize by bypassing reflection instantiation for the 
4250         GregorianCalendar case.
4251
4252 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4253
4254         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4255         ResourceBundle.getBundle() calls.
4256         * java/util/GregorianCalendar.java: Likewise.
4257         * java/util/Currency.java: Likewise.
4258         * java/text/BreakIterator.java: Likewise.
4259         * java/text/Collator.java: Likewise.
4260         * java/text/DateFormat.java: Likewise.
4261         * java/text/DateFormatSymbols.java: Likewise.
4262         * java/text/DecimalFormatSymbols.java: Likewise.
4263         * java/text/NumberFormat.java: Likewise.
4264         * java/awt/Window.java: Likewise.       
4265
4266 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4267
4268         * java/util/ResourceBundle.java (bundleCache): Renamed from
4269         resourceBundleCache. Update comments.
4270         (getObject): Don't catch MissingResourceException.
4271         (getBundle(String)): Remove 'final'. Use system classloader if
4272         getCallingClassLoader returned null.
4273         (getBundle(String, Locale)): Likewise.
4274         (BundleKey): New private class. HashMap key for bundle cache lookup.
4275         (lookupKey): New. Singleton instance of BundleKey.
4276         (nullEntry): New. Cache entry to represent failed lookups.
4277         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4278         caching strategy, no-allocation lookup, and new tryBundle methods.
4279         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4280         name using given classloader.
4281         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4282         baseName for given Locale and attempt to load bundle.
4283
4284 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4285
4286         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4287         illegal protected method calls.
4288
4289 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4290
4291         Fix or remove some bogus test cases.
4292         * testsuite/libjava.compile/pr10459_2.java: Removed.
4293         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4294         not Object.clone().
4295         * testsuite/libjava.compile/inner_data.java: Test against its own
4296         protected field.
4297
4298 2004-07-09  Michael Koch  <konqueror@gmx.de>
4299
4300         * scripts/unicode-muncher.pl: Updated to version 2.1
4301         from GNU classpath. Added some clarifications on where to find the
4302         needed files from www.unicode.org.
4303         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4304         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4305         Removed, these can directly be downloaded from www.unicode.org if
4306         needed. 
4307         * gnu/java/lang/CharData.java: Regenerated.
4308         * include/java-chartables.h: Regenerated.
4309         * Makefile.am (ordinary_java_source_files):
4310         Removed gnu/java/lang/CharData.java.
4311         * Makefile.in: Regenerated.
4312
4313 2004-07-09  Michael Koch  <konqueror@gmx.de>
4314
4315         * java/security/AccessControlContext.java,
4316         java/security/SecureClassLoader.java:
4317         Fixed javadocs.
4318
4319 2004-07-09  Michael Koch  <konqueror@gmx.de>
4320
4321         * java/io/ObjectInputStream.java (readFields): Use long datatype
4322         when shifting byte values more then 24 bits left.
4323
4324 2004-07-09  Michael Koch  <konqueror@gmx.de>
4325
4326         * java/util/zip/DeflaterOutputStream.java,
4327         java/util/zip/GZIPInputStream.java,
4328         java/util/zip/GZIPOutputStream.java,
4329         java/util/zip/InflaterInputStream.java:
4330         Reformatted. Added javadocs. Reordered all stuff.
4331         Renamed variables to be more clear.
4332
4333 2004-07-09  Michael Koch  <konqueror@gmx.de>
4334
4335         * javax/imageio/IIOException.java,
4336         javax/imageio/event/IIOReadProgressListener.java,
4337         javax/imageio/event/IIOReadUpdateListener.java,
4338         javax/imageio/event/IIOReadWarningListener.java,
4339         javax/imageio/event/IIOWriteProgressListener.java,
4340         javax/imageio/event/IIOWriteWarningListener.java:
4341         New files.
4342         * Makefile.am: Added new files.
4343         * Makefile.in: Regenerated.
4344
4345 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4346
4347         * java/text/RuleBasedCollator.java
4348         (mergeRules): Use ArrayList instead of Vector.
4349         (subParseString): likewise.
4350         (parseString): likewise.
4351         (buildCollationVector): likewise.
4352         (getCollationKey): likewise.
4353
4354 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4355
4356         * java/text/DateFormat.java (parse):
4357         Improved javadoc. Improved exception message.
4358
4359 2004-07-09  Mark Wielaard  <mark@klomp.org>
4360
4361         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4362         interrupted() method to clear interupt flag of our Thread.
4363
4364 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4365
4366         * java/nio/Buffer.java,
4367         java/nio/ByteBuffer.java,
4368         java/nio/ByteBufferHelper.java,
4369         java/nio/ByteBufferImpl.java,
4370         java/nio/CharBuffer.java,
4371         java/nio/CharBufferImpl.java,
4372         java/nio/CharViewBufferImpl.java,
4373         java/nio/DirectByteBufferImpl.java,
4374         java/nio/DoubleBuffer.java,
4375         java/nio/DoubleBufferImpl.java,
4376         java/nio/DoubleViewBufferImpl.java,
4377         java/nio/FloatBuffer.java,
4378         java/nio/FloatBufferImpl.java,
4379         java/nio/FloatViewBufferImpl.java,
4380         java/nio/IntBuffer.java,
4381         java/nio/IntBufferImpl.java,
4382         java/nio/IntViewBufferImpl.java,
4383         java/nio/LongBuffer.java,
4384         java/nio/LongBufferImpl.java,
4385         java/nio/LongViewBufferImpl.java,
4386         java/nio/MappedByteBufferImpl.java,
4387         java/nio/ShortBuffer.java,
4388         java/nio/ShortBufferImpl.java,
4389         java/nio/ShortViewBufferImpl.java:
4390         Fixed javadocs all over. Improved input error
4391         checking.
4392
4393         * java/nio/Buffer.java
4394         (checkForUnderflow, checkForOverflow, checkIndex,
4395         checkIfReadOnly, checkArraySize): New helper methods
4396         for error checking.
4397
4398         * java/nio/ByteBufferHelper.java
4399         (checkRemainingForRead, checkRemainingForWrite,
4400         checkAvailableForRead, checkAvailableForWrite): Removed
4401         no longer needed methods.
4402
4403 2004-07-09  Michael Koch  <konqueror@gmx.de>
4404
4405         * gnu/regexp/CharIndexedInputStream.java:
4406         Reordered imports to match classpath.
4407
4408 2004-07-09  Michael Koch  <konqueror@gmx.de>
4409
4410         * gnu/java/awt/EmbeddedWindow.java:
4411         Load native library for setWindowPeer method.
4412
4413 2004-07-08  Randolph Chung  <tausq@debian.org>
4414
4415         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4416         * configure: Regenerate.
4417         * configure.host: Set can_unwind_signal for hppa*-linux.
4418         * include/pa-signal.h: New file.
4419
4420 2004-07-07  Per Bothner  <per@bothner.com>
4421
4422         * Makefile.am:  Add rules to build libgij from just gij.cc.
4423
4424         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
4425         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
4426         (initializeClass):  If verbose_class_flag, print message.
4427         * gij.cc (main):  Handle -verbose:class flag.
4428
4429 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
4430
4431         * configure.host: Enable hash synchronization on Darwin.
4432         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4433         ';', since this is a comment on Darwin.
4434         (compare_and_swap_release): Likewise.
4435
4436 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
4437
4438         * java/net/URLStreamHandler.java (parseURL): Canonicalize
4439         file portion of URL in addition to spec for file: protocol.
4440
4441 2004-07-05  Anthony Green  <green@redhat.com>
4442
4443         * java/io/File.java (toURI): Merge from Classpath.
4444
4445 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4446
4447         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4448         before passing to URL constructor. Rethrow any MalformedURLException
4449         as a RuntimeException. Catch MalformedURLException specifically, not
4450         all exceptions.
4451
4452 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4453
4454         * java/util/Locale.java (readObject): Intern strings read from object
4455         stream.
4456
4457 2004-07-04  Michael Koch  <konqueror@gmx.de>
4458
4459         * gnu/gcj/runtime/FirstThread.java,
4460         gnu/gcj/runtime/natFirstThread.cc: Removed.
4461         * gnu/java/lang/MainThread.java,
4462         gnu/java/lang/natMainThread.cc: New files.
4463         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4464         * Makefile.am: Added new files and removed deleted ones.
4465         * Makefile.in: Regenerated.
4466
4467 2004-07-03  Mark Wielaard  <mark@klomp.org>
4468             Anthony Green  <green@redhat.com>
4469
4470         * java/net/URL.java (getFile): Clarify return value doc.
4471         (getPath): Return null if file is empty - not empty String.
4472         (set): Convert protocol to lower case before doing anything.
4473         Only change the protocol handler if it's different.
4474
4475 2004-07-03  Anthony Green  <green@redhat.com>
4476
4477         * java/net/URL.java (URL): Convert protocol to lower case before
4478         doing anything, so we getURLStreamHandler() with the proper value.
4479
4480 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
4481
4482         * java/util/Locale.java (hashcode): Made transient.
4483         (hashCode): No longer synchronized.
4484         (equals): Remove comment.
4485         (writeObject): No longer synchronized. Implement using writeObject 
4486         calls instead of tweaking hashCode field. Update doc.
4487         (readObject): Implement using readObject calls.
4488
4489 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
4490             Andreas Tobler  <a.tobler@schweiz.ch>
4491
4492         * configure.host (powerpc-*-darwin*): New case, define
4493         can_unwind_signal.
4494         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4495         * configure: Regenerate.
4496         * include/darwin-signal.h: New.
4497
4498 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
4499
4500         * java/beans/Statement.java (doExecute): Fix formatting.
4501
4502 2004-06-29  Per Bothner  <per@bothner.com>
4503
4504         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4505         etc etc):  Remove needless parenthesis, which causes __stdcall__
4506         attribute on MinGW to get ignored.
4507
4508 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
4509
4510         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4511
4512 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
4513
4514         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4515
4516 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
4517
4518         * java/beans/Expression.java: New file.
4519         * java/beans/Statement.java: New file.
4520         * Makefile.am: Added new files.
4521         * Makefile.in: Re-generate.
4522
4523 2004-06-27 Mark Wielaard  <mark@klomp.org>
4524
4525         * java/io/FilePermission.java (usingPerms): Removed.
4526         (actionsString): Made final.
4527         (cachePerms): Renamed to checkPerms.
4528         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4529         on action String.
4530         (FilePermission): Check arguments, call checkPerms().
4531         (equals): Remove cachePerms() call.
4532         (implies): Likewise.
4533
4534 2004-06-27  Mark Wielaard  <mark@klomp.org>
4535
4536         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4537         final field.
4538         (sendRequest): Use new field in user-agent http agent.
4539
4540 2004-06-27  Mark Wielaard  <mark@klomp.org>
4541
4542         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4543         when argument is null.
4544
4545 2004-06-26  Mark Wielaard  <mark@klomp.org>
4546
4547         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4548         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4549         GetMethodID call.
4550         (cancel_clicked): Likewise.
4551
4552 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
4553
4554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4555         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4556         can not calculate the right value.
4557         (dpi_changed_cb): Likewise. Mark *pspec as unused.
4558
4559 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
4560
4561         * testsuite/libjava.jacks/jacks.xfail: Remove
4562         15.9.1-qualified-concrete-20.
4563
4564 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4565
4566         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4567         encoding name to iconv.
4568         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4569
4570 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4571
4572         PR libgcj/16134:
4573         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
4574         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4575         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4576
4577 2004-06-21  Andrew Haley  <aph@redhat.com>
4578
4579         * java/io/ObjectOutputStream.java: Add DEBUG statements
4580         everywhere.
4581         (dumpElementln): New method.
4582         (depth): New field.
4583         * java/io/ObjectInputStream.java
4584         (currentClassLoader): Make native.
4585         (callersClassLoader): New field.
4586         (depth): New field.
4587         (readObject): ENDBLOCKDATA is generated if the class has a write
4588         method, not if it has a read method.
4589         (readObject): Save and restore this.currentObject and
4590         this.currentObjectStreamClass around calls to callReadMethod().
4591         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4592         method.
4593
4594 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
4595
4596         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4597         darwin.
4598
4599 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4600
4601         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4602         if desired, before the default class loader is initialised.
4603         Call INIT_SEGV only if HANDLE_SEGV is defined.
4604
4605 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4606
4607         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4608         directory only if it actually exists.
4609
4610 2004-06-18  Graydon Hoare  <graydon@redhat.com>
4611
4612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4613         Fix up non-ansi comments.
4614
4615 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4616
4617         * javax/swing/text/AbstractDocument.java: Adding missing import
4618         for javax.swing.event.EventListenerList.
4619         * javax/swing/text/DefaultCaret.java: Likewise.
4620
4621 2004-06-17  Michael Koch  <konqueror@gmx.de>
4622
4623         * javax/swing/JToolBar.java
4624         (name): Removed.
4625         (JToolBar): Use Component.setName(String) instead of doing it all
4626         alone.
4627         * javax/swing/Timer.java
4628         (queueEvent): Added missing modifier.
4629
4630 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
4631
4632         * Makefile.am: Added new file.
4633         * Makefile.in: Re-generate.
4634         * javax/swing/JMenu.java:
4635         (insertSeparator): Implemented.
4636         * javax/swing/JPopupMenu.java:
4637         (JPopupMenu.Separator): Implemented.
4638         * javax/swing/MenuSelectionManager.java:
4639         (processMouseEvent): Use java.awt.Component 
4640         for event source instead of javax.swing.JComponent. 
4641         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4642         New File. Implemented.
4643         
4644 2004-06-16  David Jee  <djee@redhat.com>
4645
4646         * java/awt/GridBagLayout.java
4647         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4648         Make sure pos_x and pos_y are never negative.
4649
4650 2004-04-16  Andrew Overholt  <overholt@redhat.com>
4651
4652         * Makefile.am: Add new file.
4653         * Makefile.in: Re-generate.     
4654         * javax/swing/JToolBar.java
4655         Partially implemented.
4656         * javax/swing/plaf/basic/BasicToolBarUI.java
4657         New file. Partially implemented.
4658
4659 2004-06-16  Graydon Hoare  <graydon@redhat.com>
4660
4661         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
4662         (setComposite): Accept AlphaComposite arguments.
4663         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4664         (createBufferedImage): Add new overloads.
4665         * gnu/java/awt/peer/gtk/GtkToolkit.java
4666         (createImage): Use GdkPixbufDecoder.createBufferedImage
4667         when useGraphics2D() is true.
4668         (getImage): Delegate to createImage.
4669         * javax/swing/JList.java
4670         (isSelectionEmpty):
4671         (getFirstVisibleIndex):
4672         (getLastVisibleIndex):
4673         (setSelectedValue):
4674         (ensureIndexIsVisible): New methods.
4675         * javax/swing/Timer.java: Reimplement.
4676
4677 2004-06-16  Michael Koch  <konqueror@gmx.de>
4678
4679         * javax/swing/text/AbstractDocument.java
4680         (AbstracElement): Made public, implements java.io.Serializable.
4681         (AttributeContext): Made public.
4682         (BranchElement): Likewise.
4683         (Content): Likewise.
4684         (DefaultDocumentEvent): Made public, extends
4685         javax.swing.undo.CompoundEdit.
4686         (ElementEdit): Made public, extends
4687         javax.swing.undo.AbstractUndoableEdit.
4688         (LeafElement): Made public.
4689         (LeafElement.LeafElement): Made public.
4690
4691 2004-06-16  Michael Koch  <konqueror@gmx.de>
4692
4693         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4694         methods (that were obviously never be intended to get included hi this
4695         class. Added some methods too.
4696
4697 2004-06-16  Michael Koch  <konqueror@gmx.de>
4698
4699         * javax/swing/text/PlainDocument.java
4700         (serialVersionUID): New constant.
4701         (lineLimitAttribute): Likewise.
4702         (tabSizeAttribute): Likewise.
4703         (tabSize): New field.
4704         (PlainDocument): Made public.
4705         (PlainDocument): New constructor.
4706
4707 2004-06-16  Michael Koch  <konqueror@gmx.de>
4708
4709         * javax/swing/text/AbstractDocument.java
4710         (insertString): Throws BadLocationException.
4711         * javax/swing/text/Document.java
4712         (insertString): Likewise.
4713         * javax/swing/text/JTextComponent.java:
4714         Javadocs and comments cleaned up.
4715
4716 2004-06-16  Michael Koch  <konqueror@gmx.de>
4717
4718         * javax/swing/event/UndoableEditListener.java: Reformatted.
4719         * javax/swing/text/AbstractDocument.java
4720         (AbstractDocument): Implements java.io.Serializable.
4721         (doc_list): Removed.
4722         (undo_list): Removed.
4723         (AbstractElement.serialVerionUID): New field.
4724         (BranchElement.serialVerionUID): Likewise.
4725         (DefaultDocumentEvent.serialVerionUID): Likewise.
4726         (ElementEdit.serialVerionUID): Likewise.
4727         (LeafElement.serialVerionUID): Likewise.
4728         (serialVerionUID): Likewise.
4729         (BAD_LOCATION): New constant.
4730         (BidiElementName): Likewise.
4731         (ContentElementName): Likewise.
4732         (ParagraphElementName): Likewise.
4733         (SectionElementName): Likewise.
4734         (ElementNameAttribute): Likewise.
4735         (AbstractDocument): Made protected.
4736         (AbstractDocument): New construtor.
4737         (listenerList): New field.
4738         (fireChangedUpdate): Implemented.
4739         (fireInsertUpdate): Likewise.
4740         (fireRemoveUpdate): Likewise.
4741         (fireUndoableEditUpdate): Likewise.
4742         (getListeners): Likewise.
4743         (addDocumentListener): Likewise.
4744         (removeDocumentListener): Likewise.
4745         (addUndoableEditListener): Likewise.
4746         (removeUndoableEditListener): Likewise.
4747         (getDocumentListeners): New method.
4748         (getUndoableEditListeners): Likewise.
4749         (getAsynchronousLoadPriority): Made public.
4750         (getBidiRootElement): Likewise.
4751         (setAsynchronousLoadPriority): Likewise.
4752         (setDocumentProperties): Likewise.
4753         * javax/swing/text/BadLocationException.java
4754         (serialVerionUID): New field.
4755         * javax/swing/text/DefaultCaret.java
4756         (changeEvent): New field.
4757         (listenerList): Likewise.
4758         (changes): Removed.
4759         (addChangeListener): Reimplemented.
4760         (removeChangeListener): Likewise.
4761         (getListeners): New method.
4762         (getChangeListeners): Likwise.
4763         (getComponent): Likewise.
4764         * javax/swing/text/GapContent.java
4765         (GapContent): Implements java.io.Serializable.
4766         (serialVerionUID): New field.
4767
4768 2004-06-16  Michael Koch  <konqueror@gmx.de>
4769
4770         * javax/swing/JTree.java
4771         (treeModel): New field.
4772         (JTree): New constructors, one existing one made public.
4773         (createTreeModel): New method.
4774         (addTreeExpansionListener): Likewise.
4775         (removeTreeExpansionListener): Likewise.
4776         (getTreeExpansionListeners): Likewise.
4777         (fireTreeCollapsed): Likewise.
4778         (fireTreeExpanded): Likewise.
4779         (addTreeSelectionListener): Likewise.
4780         (removeTreeSelectionListener): Likewise.
4781         (getTreeSelectionListeners): Likewise.
4782         (fireValueChanged): Likewise.
4783         (addTreeWillExpandListener): Likewise.
4784         (removeTreeWillExpandListener): Likewise.
4785         (getTreeWillExpandListeners): Likewise.
4786         (fireTreeWillCollapse): Likewise.
4787         (fireTreeWillExpand): Likewise.
4788
4789 2004-06-16  Michael Koch  <konqueror@gmx.de>
4790
4791         * javax/swing/JTree.java: Reformatted.
4792
4793 2004-06-16  Michael Koch  <konqueror@gmx.de>
4794
4795         * javax/swing/JTextArea.java: New file.
4796         * javax/swing/JTextField.java
4797         (actions): Removed.
4798         (notifyAction): New constant.
4799         (columns): New field.
4800         (JTextField): New constructors.
4801         (createDefaultModel): New method.
4802         (addActionListener): Reimplmemented.
4803         (removeActionListener): Reimplemented.
4804         (getActionListeners): New method.
4805         (fireActionPerformed): New method.
4806         (getColumns): New method.
4807         (setColumne): New method.
4808         * javax/swing/text/JTextComponent.java
4809         (AccessibleJTextComponent.serialVersionUID): New field.
4810         (serialVersionUID): Likewise.
4811         (DEFAULT_KEYMAP): Likewise.
4812         (FOCUS_ACCELERATOR_KEY): Likewise.
4813         (doc): Made private.
4814         (icon_gap): Likewise.
4815         (icon): Likewise.
4816         (align): Likewise.
4817         (JTextComponent): Some constructors removed.
4818         (getScrollableTracksViewportHeight): New method.
4819         (getScrollableTracksViewportWidth): Likewise.
4820         * Makefile.am: Added javax/swing/JTextArea.java.
4821         * Makefile.in: Regenerated.
4822
4823 2004-06-15  Graydon Hoare  <graydon@redhat.com>
4824
4825         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4826         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4827         * javax/swing/JViewport.java 
4828         (getExtentSize): Return size rather than preferred size.
4829         (toViewCoordinates): New methods.
4830         (getViewSize): Return size rather than preferred size.
4831         (setViewSize): Note view size as set.
4832         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4833         * javax/swing/plaf/basic/BasicScrollBarUI.java 
4834         (getPreferredSize): Don't redo layout.
4835         * javax/swing/plaf/basic/BasicViewportUI.java 
4836         (paint): Translate image properly and eat exceptions.
4837
4838 2004-06-15  Kim Ho  <kho@redhat.com>
4839
4840         * javax/swing/JTabbedPane.java
4841         (setComponent): Remove old component and
4842         add new component.
4843         (setSelectedIndex): Don't operate on the 
4844         components if they're null. Don't set index
4845         on the model if the index is the same.
4846         (insertTab): Don't add or hide the component
4847         if it's null. Repaint the container.
4848         * javax/swing/plaf/basic/BasicLookAndFeel.java
4849         Change colors for TabbedPane.
4850         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4851         (mousePressed): Re-layout and paint the component.
4852         (layoutContainer): Don't set location on the view.
4853         (ScrollingViewport::paint): Remove.
4854
4855 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4856
4857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4858         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4859
4860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4861         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4862         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
4863         critical region.
4864         (drawLine): Call gdk_flush before leaving GDK critical region.
4865         (fillRect): Likewise.
4866         (drawRect): Likewise.
4867         (copyArea): Likewise.
4868         (copyPixmap): Likewise.
4869         (clearRect): Likewise.
4870         (drawArc): Likewise.
4871         (drawPolyline): Likewise.
4872         (drawPolygon): Likewise.
4873         (fillPolygon): Likewise.
4874         (fillArc): Likewise.
4875         (drawOval): Likewise.
4876         (fillOval): Likewise.
4877
4878         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4879         style parameter.
4880         (GdkFontMetrics): Add style argument to initState call.
4881         (stringWidth(String,int,int,String)): Add style parameter.
4882         (stringWidth(String)): Add style argument to stringWidth call.
4883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4884         (initState): Set pango font style and weight based on AWT style
4885         parameter.  Pass default GTK language to
4886         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
4887         simply dividing by PANGO_SCALE.
4888         (stringWidth): Set pango font style and weight based on AWT style
4889         parameter.
4890
4891         * java/awt/Button.java (next_button_number): New field.
4892         (paramString): Change output.
4893         (generateName): New method.
4894         (getUniqueLong): New method.
4895
4896 2004-06-14  Kim Ho  <kho@redhat.com>
4897
4898         * javax/swing/JTabbedPane.java:
4899         (setComponentAt): Set the component, not
4900         the enabled status.
4901         * javax/swing/plaf/basic/BasicDesktopIconUI.java
4902         (actionPerformed): Let deiconize catch exception.
4903
4904 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4905
4906         * javax/swing/JPopupMenu.java:
4907         (setVisible): Corrected location of a 
4908         heavyweight popup menu.
4909
4910 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4911
4912         * javax/swing/MenuSelectionManager.java: 
4913         Ran through jalopy to fix formatting style.
4914
4915 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4916         
4917         * javax/swing/JLayeredPane.java: 
4918         (remove): Revalidate and repaint layered pane after
4919         the component was removed.
4920         javax/swing/JMenu.java:
4921         (setVisible): Display popup menu at the user location,
4922         if one was set by the user.
4923         (setMenuLocation): Reimplemented. Fixed javadoc.
4924         * javax/swing/JMenuBar.java: Added javadoc.
4925         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4926         (MODEL_CHANGED_PROPERTY): New Property.
4927         (isSelected): Implemented.
4928         (setBorderPainted): Fire PropertyChangeEvent
4929         if paintBorder property changes.
4930         (setSelected): Implemented.
4931         (setSelectionModel): Implemented.
4932         * javax/swing/JPopupMenu.java: Added Javadoc
4933         (pack): Implemented.
4934         (setVisible): Reimplemented.
4935         (show): Fixed location.
4936         (JPopupMenu.LigthWeightPopup): Reimplemented to use
4937         Container instead of JPanel.
4938         * javax/swing/MenuSelectionManager.java: Added Javadocs.
4939         (clearSelectedPath): Reimplemented to clear selectedPath
4940         in reverse order.
4941         (processMouseEvent): Reimplemented.
4942         (setSelectedPath): Fire stateChange event indicating that
4943         selected menu path has changed.
4944         (getPath): Change to use ArrayList instead of Vector.
4945         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4946         (installUI): call installKeyboardActions().
4947         (uninstallUI): call uninstallKeyboardActions().
4948
4949 2004-06-13  Michael Koch  <konqueror@gmx.de>
4950
4951         * javax/swing/text/DefaultCaret.java,
4952         javax/swing/text/BadLocationException.java:
4953         Reformatted.
4954
4955 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
4956
4957         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4958         DEFAULT_COLS): New variables.
4959         (create): Don't allow 0 rows or 0 columns.  Instead, set the
4960         values to DEFAULT_ROWS or DEFAULT_COLS.
4961         (getMinimumSize): Likewise.
4962         (getPreferredSize): Likewise.
4963         (minimumSize): Likewise.
4964         (preferredSize): Likewise.
4965         (create): Set peer's editable state.
4966         * java/awt/TextArea.java (TextArea()): Set rows and columns to
4967         zero.  Update javadocs.
4968         (TextArea(String)): Likewise.
4969         (TextArea(int,int)): Fix javadocs.
4970         (TextArea(String,int,int,int)): Only throw exception if one of
4971         rows or columns is zero.  Fix javadocs.
4972
4973 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
4974
4975         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4976         addition to Components.
4977
4978         * java/awt/MenuItem.java (dispatchEventImpl): If the event
4979         wasn't consumed by normal processing, send it to the parent
4980         menu.
4981
4982         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4983         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4984         translation.
4985
4986 2004-06-11  David Jee  <djee@redhat.com>
4987
4988         * java/awt/MediaTracker.java
4989         (addImage(Image,int)): Call imageUpdate() to udpate image status.
4990         (addImage(Image,int,int,int)): Likewise.
4991
4992 2004-06-11  Michael Koch  <konqueror@gmx.de>
4993
4994         * javax/swing/text/AbstractDocument.java,
4995         javax/swing/text/Document.java,
4996         javax/swing/text/GapContent.java,
4997         javax/swing/text/JTextComponent.java,
4998         javax/swing/text/PlainDocument.java:
4999         Reformatted.
5000
5001 2004-06-11  Michael Koch  <konqueror@gmx.de>
5002
5003         * javax/swing/JRootPane.java
5004         (AccessibleJRootPane.serialVersionUID): New field.
5005         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5006         (AccessibleJRootPane.getAccessibleRole): New method.
5007         (RootLayout): Implements Serializable.
5008         (RootLayout.serialVersionUID): New field.
5009         (RootLayout.RootLayout): New constructor.
5010         (setJMenuBar): Made public.
5011         (getJMenuBar): Likewise.
5012         (JRootPane): Likewise.
5013         (createContentPane): Likewise.
5014         (createGlassPane): Likewise.
5015         (createLayeredPane): Likewise.
5016
5017 2004-06-11  Michael Koch  <konqueror@gmx.de>
5018
5019         * javax/swing/SwingUtilities.java
5020         (isLeftMouseButton): Fixed javadoc.
5021         (isMiddleMouseButton): Likewise.
5022         (isRightMouseButton): Likewise.
5023
5024 2004-06-11  Michael Koch  <konqueror@gmx.de>
5025
5026         * javax/swing/JScrollPane.java
5027         (serialVersionUID): New field.
5028         (columnHeader): Made protected.
5029         (rowHeader): Likewise.
5030         (lowerLeft): Likewise.
5031         (lowerRight): Likewise.
5032         (upperLeft): Likewise.
5033         (upperRight): Likewise.
5034         (horizontalScrollBar): Likewise.
5035         (horizontalScrollBarPolicy): Likewise.
5036         (verticalScrollBar): Likewise.
5037         (verticalScrollBarPolicy): Likewise.
5038         (viewport): Likewise.
5039
5040 2004-06-11  Michael Koch  <konqueror@gmx.de>
5041
5042         * javax/swing/LookAndFeel.java: Fixed javadocs.
5043
5044 2004-06-11  Michael Koch  <konqueror@gmx.de>
5045
5046         * javax/swing/JEditorPane.java: Fixed javadocs.
5047         (JEditorPane): Removed redundant call to to this().
5048         (fireHyperlinkUpdate): Implemented.
5049
5050 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5051
5052         * javax/swing/JMenu.java: Fixed file name 
5053         in the file comment.
5054
5055 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5056
5057         * javax/swing/JMenu.java: Added javadoc.
5058         (JMenu): Added MenuChangeListener to listen to 
5059         ChangeEvents occuring in menu's model. 
5060         (insert): Throw IllegalArgumentException if 
5061         index is less than 0
5062         (setSelected): Reimplement.
5063         (setPopupMenuVisible): Call menu's model isEnabled()
5064         (setDelay): Throw IllegalArgumentException if 
5065         given amount of delay is less than 0.
5066         (createActionComponent): Implemented.
5067         (createActionChangeListener): Implemented.
5068         (addSeparator): Implemented.
5069         (getItem): Throw IllegalArgumentException if index is 
5070         less than 0.
5071         (getItemCount): Implemented.
5072         (fireMenuSelected): Changed to use menuEvent.
5073         (fireMenuDeselected): Likewise.
5074         (fireMenuCanceled): Likewise.
5075         (setAccelerator): Changed to throw an error if this 
5076         method is used. 
5077         (doClick): Implemented.
5078         (JMenu.ActionChangedListener): New inner class to handle
5079         PropertyChangeEvents occuring in the actions associated with menu.
5080         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5081         (BasicMenuUI): Added PropertyChangeListener to the menu.
5082         (createChangeListener): Implemented.
5083         (createMenuDragMouseListener): Likewise.
5084         (createMenuKeyListener): Likewise.
5085         (createPropertyChangeListener): Likewise.
5086         (uninstallListeners): Likewise.
5087         (BasicMenuUI.MouseInputHandler): Reimplemented.
5088         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5089         (BasicMenuUI.ChangeHandler): Likewise.
5090         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5091         (BasicMenuUI.MenuKeyHandler): Likewise.
5092
5093 2004-06-10  David Jee  <djee@redhat.com>
5094
5095         * java/awt/MediaTracker.java
5096         (imageUpdate): Only do notifyAll() if the image is complete.
5097
5098 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5099
5100         * javax/swing/JApplet.java:
5101         (getJMenuBar): Made public.
5102         (setJMenuBar): Likewise.
5103         * javax/swing/JFrame.java:
5104         (getJMenuBar): Made public.
5105         (setJMenuBar): Likewise.
5106         * javax/swing/JWindow.java:
5107         (getJMenuBar): Removed.
5108         (setJMenuBar): Removed.
5109
5110 2004-06-10  Michael Koch  <konqueror@gmx.de>
5111
5112         * javax/swing/JEditorPane.java
5113         (createEditorKitForContentType): Fixed visibility.
5114         (fireHyperlinkUpdate): Likewise.
5115         (getContentType): Likewise.
5116         (getEditorKit): Likewise.
5117         (getEditorKitForContentType): Likewise.
5118         (getPage): Likewise.
5119         (read): Likewise.
5120         (registerEditorKitForContentTyoe): Likewise.
5121         (replaceSelection): Likewise.
5122         (setContentType): Likewise.
5123         (setEditorKit): Likewise.
5124         (setPage): Likewise.
5125
5126 2004-06-10  Michael Koch  <konqueror@gmx.de>
5127
5128         * javax/swing/Timer.java
5129         (Timer): New constructor.
5130         * javax/swing/plaf/basic/BasicProgressBarUI.java
5131         (animationTimer): Don't initialize at construction.
5132         (startAnimationTimer): Added since tag.
5133         (stopAnimationTimer): Likewise.
5134         (installUI): Use new Timer constructor.
5135         * javax/swing/plaf/basic/BasicScrollBarUI.java
5136         (installUI): Likewise.
5137         * javax/swing/plaf/basic/BasicSliderUI.java
5138         (installUI): Likewise.
5139
5140 2004-06-10  Michael Koch  <konqueror@gmx.de>
5141
5142         * javax/swing/ButtonGroup.java
5143         (serialVersionUID): Made private.
5144         (buttons): Renamed from v, added javadoc.
5145         (sel): Added javadoc.
5146         (ButtonGroup): Likewise.
5147         (add): Likewise.
5148         (remove): Likewise.
5149         (getElements): Likewise.
5150         (getSelection): Likewise.
5151         (setSelected): Likewise.
5152         (isSelected): Likewise.
5153         (getButtonCount): Likewise.
5154
5155 2004-06-10  Michael Koch  <konqueror@gmx.de>
5156
5157         * javax/swing/ButtonGroup.java,
5158         javax/swing/ImageIcon.java,
5159         javax/swing/JEditorPane.java,
5160         javax/swing/JRootPane.java,
5161         javax/swing/JTextField.java,
5162         javax/swing/LookAndFeel.java,
5163         javax/swing/plaf/basic/BasicTextUI.java:
5164         Reindented.
5165
5166 2004-06-10  Michael Koch  <konqueror@gmx.de>
5167
5168         * javax/swing/text/Style.java: Added javadocs.
5169
5170 2004-06-10  Michael Koch  <konqueror@gmx.de>
5171
5172         * javax/swing/JComponent.java
5173         (fireVetoableChange): Removed redundant cast.
5174         * javax/swing/JLabel.java
5175         (getDisabledIcon): Save icon for next call.
5176
5177 2004-06-10  Michael Koch  <konqueror@gmx.de>
5178
5179         * javax/swing/KeyStroke.java
5180         (getKeyStroke(char,boolean)): Marked deprecated.
5181
5182 2004-06-10  Michael Koch  <konqueror@gmx.de>
5183
5184         * javax/swing/DefaultCellEditor.java,
5185         javax/swing/GrayFilter.java,
5186         javax/swing/event/DocumentEvent.java,
5187         javax/swing/text/JTextComponent.java,
5188         javax/swing/text/MutableAttributeSet.java:
5189         Reindented.
5190
5191 2004-06-10  Michael Koch  <konqueror@gmx.de>
5192
5193         * javax/swing/plaf/BorderUIResource.java:
5194         Added serialVersionUID all over.
5195
5196 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5197
5198         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5199
5200 2004-06-10  Michael Koch  <konqueror@gmx.de>
5201
5202         * javax/swing/table/DefaultTableCellRenderer.java
5203         (noFocusBorder): Initialize directly.
5204
5205 2004-06-10  Michael Koch  <konqueror@gmx.de>
5206
5207         * javax/swing/plaf/basic/BasicArrowButton.java
5208         (setDirection): Use method argument.
5209
5210 2004-06-10  Michael Koch  <konqueror@gmx.de>
5211
5212         * javax/swing/plaf/BorderUIResource.java,
5213         javax/swing/plaf/ComponentUI.java,
5214         javax/swing/undo/CompoundEdit.java,
5215         javax/swing/undo/StateEdit.java:
5216         Fixed javadocs all over.
5217
5218 2004-06-10  Michael Koch  <konqueror@gmx.de>
5219
5220         * javax/swing/DefaultButtonModel.java
5221         (ARMED): Made public final, fixed value.
5222         (ENABLED): Likewise.
5223         (PRESSED): Likewise.
5224         (ROLLOVER): Likewise.
5225         (SELECTED): Likewise.
5226         (stateMask): Initialize directly.
5227         (listenerList): Likewise.
5228         (mnemonic): Likewise.
5229         (fireStateChanged): Removed argument, use changeEvent as event.
5230         All places where this method is called are fixed too.
5231         (getActionCommant): Fixed javadoc.
5232         (setGroup): Fixed javadoc.
5233         (getGroup): New method.
5234
5235 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5236
5237         * javax/swing/AbstractButton.java
5238         (AbstractButton): Use init() to initialize the button.
5239         (init): New Method. Initializes AbstractButton.
5240         * javax/swing/JMenuItem.java: Documented.
5241         (JMenuItem): Reimplemented.
5242         (init): Implemented.
5243         (setEnabled): Changed to call super.setEnabled()
5244         (processMouseEvent): Reimplemented.
5245         (fireMenuKeyPressed): Implemented.
5246         (fireMenuKeyReleased): Implemented.
5247         (fireMenuKeyTyped): Implemented.
5248         (menuSelectionChanged): disarm the model if the menu item was
5249         deselected.
5250         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5251         (getPath): Change to use ArrayList instead of Vector.
5252         (getPreferredSize): Renamed variable.
5253         (paintMenuItem): Paint margin area of menu item.
5254         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5255         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5256         menu item's bounds before clearing the selection.       
5257
5258 2004-06-09  David Jee  <djee@redhat.com>
5259
5260         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5261         (GtkTextComponentPeer): Set caret position to 0.
5262         * java/awt/TextComponent.java
5263         (setText): Set caret position to 0.
5264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5265         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5266         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5267         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5268         Likewise.
5269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5270         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5271         visible.
5272
5273 2004-06-09  Kim Ho  <kho@redhat.com>
5274
5275         * Makefile.am: New files
5276         * Makefile.in: Regenerated
5277         * java/awt/Container.java
5278         (getComponentAt): Removed.
5279         * javax/swing/AbstractAction.java
5280         (ENABLED_PROPERTY): New property.
5281         (putValue): Fire PropertyChangeEvents.
5282         (setEnabled): ditto.
5283         (firePropertyChange): Javadoc and implement
5284         convenience method.
5285         * javax/swing/AbstractButton.java
5286         (setAction): Don't create PropertyChangeListener
5287         if new Action is null.
5288         (setIcon): Don't set icon till after comparing
5289         it.
5290         (configurePropertiesFromAction): Check mnemonic
5291         key before calling intValue().
5292         (createActionPropertyChangeListener): Check
5293         properties rather than bulk change.
5294         * javax/swing/DefaultDesktopManager.java:
5295         Implement.
5296         * javax/swing/DesktopManager.java:
5297         Jalopy and javadoc.
5298         * javax/swing/JComponent.java
5299         (fireVetoableChange): Implement.
5300         (paintImmediately): Use root component.
5301         * javax/swing/JDesktopPane.java: Implement
5302         * javax/swing/JInternalFrame.java: Implement
5303         * javax/swing/JLabel.java
5304         (getDisabledIcon): Return grayscaled icon if
5305         no disabled icon specified.
5306         * javax/swing/JMenuBar.java
5307         (getComponentAtIndex): Use getComponent
5308         * javax/swing/JOptionPane.java
5309         (getDesktopPaneForComponent): Use SwingUtilities'
5310         getAncestorOfClass
5311         (getFrameForComponent): ditto.
5312         * javax/swing/JSplitPane.java
5313         (remove): Use getComponent.
5314         * javax/swing/SwingUtilities.java
5315         (convertPoint): Implement.
5316         * javax/swing/plaf/basic/BasicButtonUI.java
5317         (paintButtonNormal): Check opaqueness before
5318         filling background.
5319         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5320         Implement
5321         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5322         Implement.
5323         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5324         Implement.
5325         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5326         Implement.
5327         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5328         Change InternalFrame and Desktop colors.
5329
5330 2004-06-09  David Jee  <djee@redhat.com>
5331
5332         * java/awt/Container.java
5333         (remove): Do not set component to invisible.
5334
5335 2004-06-09  Michael Koch  <konqueror@gmx.de>
5336
5337         * javax/swing/tree/DefaultMutableTreeNode.java
5338         (getLeafCount): Renamed enum to e.
5339
5340 2004-06-09  Michael Koch  <konqueror@gmx.de>
5341
5342         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5343         (positionForMouseEvent): Removed redundant semicolon.
5344         (continueDrag): Use method arguments.
5345
5346 2004-06-09  Michael Koch  <konqueror@gmx.de>
5347
5348         * javax/swing/border/TitledBorder.java,
5349         javax/swing/filechooser/FileSystemView.java,
5350         javax/swing/plaf/basic/BasicButtonListener.java,
5351         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5352         javax/swing/plaf/basic/BasicLabelUI.java,
5353         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5354         javax/swing/plaf/basic/BasicScrollBarUI.java,
5355         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5356         javax/swing/plaf/basic/BasicSliderUI.java,
5357         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5358         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5359         javax/swing/table/JTableHeader.java,
5360         javax/swing/text/AbstractDocument.java,
5361         javax/swing/text/DefaultCaret.java,
5362         javax/swing/text/StyledEditorKit.java,
5363         javax/swing/tree/DefaultTreeCellEditor.java:
5364         Reworked import statements.
5365
5366 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5367
5368         * javax/swing/Box.java: Temporarily comment out code
5369         broken due to visibility bug.
5370
5371 2004-06-09  Michael Koch  <konqueror@gmx.de>
5372
5373         * javax/swing/ImageIcon.java
5374         (ImageIcon): Added missing constructor.
5375
5376 2004-06-08  Michael Koch  <konqueror@gmx.de>
5377
5378         * javax/swing/JToggleButton.java
5379         (JToggleButton): New constructor.
5380         (getAccessibleContext): Moved documentation into javadoc.
5381         (getUIClassID): Likewise.
5382
5383 2004-06-08  Michael Koch  <konqueror@gmx.de>
5384
5385         * javax/swing/AbstractButton.java
5386         (getDisabledIcon): Create disabled icon if none exists yet.
5387
5388 2004-06-08  Michael Koch  <konqueror@gmx.de>
5389
5390         * javax/swing/plaf/basic/BasicLookAndFeel.java
5391         (initClassDefaults): Added FormattedTextFieldUI.
5392         (loadResourceBundle): Renamed enum to e.
5393
5394 2004-06-08  Michael Koch  <konqueror@gmx.de>
5395
5396         * javax/swing/plaf/basic/BasicButtonUI.java
5397         (paintIcon): Simplified.
5398         (paintText): Paint disabled button correctly.
5399
5400 2004-06-08  Michael Koch  <konqueror@gmx.de>
5401
5402         * javax/swing/JComponent.java
5403         (createToolTip): Use official JToolTip API.
5404
5405 2004-06-08  Michael Koch  <konqueror@gmx.de>
5406
5407         * javax/swing/JToolTip.java
5408         (JToolTip): No arguments in API.
5409         (setTipText): New method.
5410
5411 2004-06-08  Michael Koch  <konqueror@gmx.de>
5412
5413         * javax/swing/SwingUtilities.java
5414         (isLeftMouseButton): New method.
5415         (isMiddleMouseButton): New method.
5416         (isRightMouseButton): New method.
5417
5418 2004-06-08  Michael Koch  <konqueror@gmx.de>
5419
5420         * javax/swing/AbstractButton.java,
5421         javax/swing/CellRendererPane.java,
5422         javax/swing/JCheckBoxMenuItem.java,
5423         javax/swing/JColorChooser.java,
5424         javax/swing/JComboBox.java,
5425         javax/swing/JComponent.java,
5426         javax/swing/JDesktopPane.java,
5427         javax/swing/JFileChooser.java,
5428         javax/swing/JMenu.java,
5429         javax/swing/JMenuItem.java,
5430         javax/swing/JOptionPane.java,
5431         javax/swing/JPasswordField.java,
5432         javax/swing/JPopupMenu.java,
5433         javax/swing/JProgressBar.java,
5434         javax/swing/JRadioButtonMenuItem.java,
5435         javax/swing/JScrollBar.java,
5436         javax/swing/JSeparator.java,
5437         javax/swing/JSlider.java,
5438         javax/swing/JSplitPane.java,
5439         javax/swing/JTabbedPane.java,
5440         javax/swing/JTextField.java,
5441         javax/swing/JToolBar.java,
5442         javax/swing/text/JTextComponent.java:
5443         Fixed all constructors of accessibility classes.
5444
5445 2004-06-08  Michael Koch  <konqueror@gmx.de>
5446
5447         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5448         over.
5449
5450 2004-06-08  Michael Koch  <konqueror@gmx.de>
5451
5452         * javax/swing/Box.java
5453         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5454         (AccessibleBoxFiller.serialVersionUID): New member variable.
5455         * javax/swing/DefaultButtonModel.java
5456         (stateMask): Made protected.
5457         (listenerList): Likewise.
5458         (changeEvent): Likewise.
5459         (group): Likewise.
5460         (mnemonic): Likewise.
5461         (actionCommand): Likewise.
5462         (getListeners): New method.
5463         (getActionListeners): New method.
5464         (getItemListeners): New method.
5465         (getChangeListeners): New method.
5466         (fireItemStateChanged): Simplified.
5467         (fireActionPerformed): Simplified.
5468         (fireStateChanged): Simplified.
5469         * javax/swing/JFrame.java
5470         (JFrame): Implements WindowContants.
5471         (HIDE_ON_CLOSE): Removed.
5472         (EXIT_ON_CLOSE): Removed.
5473         (DISPOSE_ON_CLOSE): Removed.
5474         (DO_NOTHING_ON_CLOSE): Removed.
5475         (processWindowEvent): Exit with code 0.
5476         (setDefaultCloseOperation): Do security check before setting value.
5477         * javax/swing/JOptionPane.java
5478         (message): Initialize only in constructor.
5479         * javax/swing/JToolTip.java: Removed unused imports.
5480         * javax/swing/JViewport.java
5481         (serialVersionUID): New member variable.
5482         (SIMPLE_SCROLL_MODE): Made final, fixed value.
5483         (BLIT_SCROLL_MODE): Likewise.
5484         (BACKINGSTORE_SCROLL_MODE): Likewise.
5485         (scrollUnderway): Made protected.
5486         (isViewSizeSet): Likewise.
5487         * javax/swing/ListModel.java: Fixed javadoc.
5488         * javax/swing/Popup.java: Likewise.
5489         * javax/swing/RepaintManager.java
5490         (paintDirtyRegions): Don't use internal classes of
5491         java.util.AbstractMap.
5492         * javax/swing/ScrollPaneConstants.java: Reindented.
5493         * javax/swing/ScrollPaneLayout.java
5494         (viewport): Made protected.
5495         (verticalScrollBar): Made protected, renamed to vsb.
5496         (horizontalScrollBar): Made protected, renamed to hsb.
5497         (rowHeader): Made protected, renamed to rowHead.
5498         (columnHeader): Made protected, renamed to colHead.
5499         (lowerLeft): Made protected.
5500         (lowerRight): Made protected.
5501         (upperLeft): Made protected.
5502         (upperRight): Made protected.
5503         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5504         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5505
5506 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
5507
5508         * java/awt/MediaTracker.java (imageUpdate): Only set status to
5509         LOADING if flags has SOMEBITS set.
5510
5511 2004-06-07  Michael Koch  <konqueror@gmx.de>
5512
5513         * javax/swing/AbstractButton.java: Reorganized imports.
5514         * javax/swing/ActionMap.java: Likewise.
5515         * javax/swing/DefaultButtonModel.java: Likewise.
5516         * javax/swing/DefaultListModel.java: Likewise.
5517         * javax/swing/ImageIcon.java: Likewise.
5518         (serialVersionUID): New member variable.
5519         * javax/swing/JComboBox.java: Reorganized imports.
5520         * javax/swing/JComponent.java: Likewise.
5521         (ui): Made protected.
5522         (listenerList): Made protected.
5523         (TOOL_TIP_TEXT_KEY): New constant.
5524         (scrollRectToVisible): Removed redundant null check.
5525         * javax/swing/JFrame.java: Reorganized imports.
5526         * javax/swing/JInternalFrame.java: Reorganized imports.
5527         * javax/swing/JProgressBar.java: Likewise.
5528         * javax/swing/JRootPane.java: Likewise.
5529         * javax/swing/JScrollBar.java: Likewise.
5530         * javax/swing/JSeparator.java: Likewise.
5531         * javax/swing/JSlider.java: Likewise.
5532         * javax/swing/JTabbedPane.java: Likewise.
5533         * javax/swing/JTextField.java: Likewise.
5534         * javax/swing/JToolBar.java: Likewise.
5535         * javax/swing/JTree.java: Likewise.
5536         * javax/swing/JViewport.java: Likewise.
5537         * javax/swing/JWindow.java: Likewise.
5538         * javax/swing/KeyStroke.java: Likewise.
5539         * javax/swing/LookAndFeel.java: Likewise.
5540         * javax/swing/MenuSelectionManager.java: Likewise.
5541         * javax/swing/SwingUtilities.java: Likewise.
5542         * javax/swing/Timer.java: Likewise.
5543         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5544         * javax/swing/JList.java
5545         (HORIZONTAL_WRAP): Made final, fixed value.
5546         (VERTICAL): Likewise.
5547         (VERTICAL_WRAP): Likewise.
5548
5549 2004-06-07  Michael Koch  <konqueror@gmx.de>
5550
5551         * javax/swing/AbstractButton.java
5552         (serialVersionUID): New member variable.
5553         (AccessibleAbstractButton.serialVersionUID): Likewise.
5554         (AbstractButton): Made public.
5555         * javax/swing/Box.java
5556         (AccessibleBox.serialVersionUID): New member variable.
5557         (Filler.serialVersionUID): Likewise.
5558         * javax/swing/DefaultListSelectionModel.java
5559         (serialVersionUID): Likewise.
5560         * javax/swing/JApplet.java
5561         (serialVersionUID): Likewise.
5562         * javax/swing/JCheckBox.java
5563         (serialVersionUID): Likewise.
5564         * javax/swing/JCheckBoxMenuItem.java
5565         (serialVersionUID): Likewise.
5566         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5567         * javax/swing/JColorChooser.java
5568         (serialVersionUID): Likewise.
5569         (AccessibleJColorChooser.serialVersionUID): Likewise.
5570         * javax/swing/JComponent.java
5571         (serialVersionUID): Made private.
5572         (AccessibleJComponent.serialVersionUID): New member variable.
5573         * javax/swing/JDesktopPane.java
5574         (serialVersionUID): Likewise.
5575         * javax/swing/JDialog.java
5576         (serialVersionUID): Likewise.
5577         * javax/swing/JFormattedTextField.java
5578         (serialVersionUID): Fixed value.
5579         * javax/swing/JFrame.java
5580         (serialVersionUID): New member variable.
5581         (getDefaultCloseOpertation): Made public.
5582         * javax/swing/JLayeredPane.java
5583         (serialVersionUID): Likewise.
5584         (LAYER_PROPERTY): Made final, fixed value.
5585         (JLayeredPane): Made public.
5586         * javax/swing/JMenu.java
5587         (AccessibleJMenu.serialVersionUID): New member variable.
5588         (WinListener.serialVersionUID): Likewise.
5589         * javax/swing/JMenuBar.java
5590         (serialVersionUID): Likewise.
5591         (getComponentAtIndex): Added @deprecated tag.
5592         * javax/swing/JMenuItem.java
5593         (serialVersionUID): New member variable.
5594         (AccessibleJMenuItem.serialVersionUID): Likewise.
5595         * javax/swing/JOptionPane.java
5596         (serialVersionUID): Likewise.
5597         (AccessibleJOptionPane.serialVersionUID): Likewise.
5598         * javax/swing/JPopupMenu.java
5599         (serialVersionUID): Likewise.
5600         (AccessibleJPopupMenu.serialVersionUID): Likewise.
5601         (getPopupMenuListeners): New method.
5602         (getComponentAtIndex): Added @deprecated tag.
5603         * javax/swing/JProgressBar.java
5604         (serialVersionUID): New member variable.
5605         (AccessibleJProgressBar.serialVersionUID): Likewise.
5606         * javax/swing/JRadioButton.java
5607         (serialVersionUID): Likewise.
5608         * javax/swing/JRadioButtonMenuItem.java
5609         (serialVersionUID): Likewise.
5610         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5611         * javax/swing/JScrollBar.java
5612         (serialVersionUID): Likewise.
5613         (AccessibleJScrollBar.serialVersionUID): Likewise.
5614         * javax/swing/JSeparator.java
5615         (serialVersionUID): Likewise.
5616         (AccessibleJSeparator.serialVersionUID): Likewise.
5617         * javax/swing/JSlider.java: Fixed javadocs.
5618         (AccessibleJSlider.serialVersionUID): New member variable.
5619         * javax/swing/JSplitPane.java: Added copyright statement.
5620         (serialVersionUID): New member variable.
5621         (AccessibleJSplitPane.serialVersionUID): Likewise.
5622         * javax/swing/JTabbedPane.java
5623         (serialVersionUID): Likewise.
5624         (AccessibleJTabbedPane.serialVersionUID): Likewise.
5625         (ModelListener.serialVersionUID): Likewise.
5626         (ModelListener.ModelListener): New constructor.
5627         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5628         (WRAP_TAB_LAYOUT): Likewise.
5629         * javax/swing/JTable.java
5630         (serialVersionUID): New member variable.
5631         * javax/swing/JToggleButton.java
5632         (serialVersionUID): Likewise.
5633         (ToggleButtonModel): Made static.
5634         (ToggleButtonModel.serialVersionUID): New member variable.
5635         * javax/swing/JToolTip.java
5636         (serialVersionUID): Likewise.
5637         * javax/swing/JTree.java
5638         (serialVersionUID): Likewise.
5639         * javax/swing/JWindow.java
5640         (serialVersionUID): Likewise.
5641         * javax/swing/Timer.java
5642         (serialVersionUID): Likewise.
5643
5644 2004-06-06  Michael Koch  <konqueror@gmx.de>
5645
5646         * javax/swing/SwingConstants.java
5647         (NEXT): New constant.
5648         (PREVIOUS): Likewise.
5649         * javax/swing/UIManager.java
5650         (LookAndFeel): Made public.
5651         (LookAndFeel.getClassName): Likewise.
5652         (LookAndFeel.getName): Likewise.
5653
5654 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5655
5656         * javax/swing/JCheckBoxMenuItem.java:
5657         Removed CVS tags.
5658         * javax/swing/JMenu.java: Likewise.
5659         * javax/swing/JMenuBar.java: Likewise.
5660         * javax/swing/JMenuItem.java: Likewise.
5661         * javax/swing/JPopupMenu.java: Likewise.
5662         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5663         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5664         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5665         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5666         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5667         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5668         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5669
5670 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5671         
5672         * javax/swing/plaf/basic/BasicMenuUI.java:
5673         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5674         Call getPath() from super class instead.
5675
5676 2004-05-31  David Jee  <djee@redhat.com>
5677
5678         * java/awt/Container.java
5679         (remove): Set component visibility to false after removing it.
5680
5681 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5682
5683         * java/awt/Component.java (getForeground): Return SystemColor if
5684         parent is null.
5685         (getBackground): Likewise.
5686
5687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5688         (item_highlighted): New function.
5689         (connectSignals): Set item_highlighted as list's select
5690         function.
5691
5692         * java/applet/Applet.java: Revert changes from 2004-04-29,
5693         2004-03-15 and 2004-03-14.
5694
5695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5696         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5697         factor.
5698
5699         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5700         "Dialog" as the default font.
5701         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5702         Likewise.
5703         * java/awt/Component.java (getFont): Return "Dialog" font by
5704         default.
5705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5706         Multiply size argument to pango_font_description_set_size by the
5707         DPI conversion factor rather than by PANGO_SCALE.
5708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5718         Divide baseline y coordinate by DPI conversion factor rather
5719         than by PANGO_SCALE.
5720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5721         (area_prepared): Fix typo.
5722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5723         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5725         (dpi_conversion_factor): New global variable.
5726         (init_dpi_conversion_factor): New function to calculate and
5727         track DPI conversion factor.
5728         (dpi_changed_cb): New callback.
5729         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5730
5731 2004-05-27  David Jee  <djee@redhat.com>
5732
5733         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5734         (getGraphics): Return a new GdkGraphics instance.
5735         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5736         (getGraphics): Call super.getGraphics().
5737
5738 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5739
5740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5741         (setNativeBounds): Clamp width and height values to >= 0.
5742
5743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5744         (find_fg_color_widget): Handle GtkOptionMenu specially.
5745
5746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5747         (pre_event_handler): Only post configure events to visible
5748         top-level windows.
5749
5750 2004-05-26  David Jee  <djee@redhat.com>
5751
5752         * java/awt/BorderLayout.java
5753         (layoutContainer): Fix size calculations.
5754
5755 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5756
5757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5758         (window_wm_protocols_filter): Remove function.
5759         (create): Remove filter that removes WM_TAKE_FOCUS client
5760         messages.
5761
5762 2004-06-17  Anthony Green  <green@redhat.com>
5763
5764         * java/util/zip/ZipFile.java (getInputStream): Return null if
5765         entry not found.
5766
5767         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5768         directory contents to the class path.
5769
5770 2004-06-15  Andrew Haley  <aph@redhat.com>
5771
5772         * java/lang/natSystem.cc (getenv0): Don't assume environment
5773         variable is Latin 1 coded.
5774
5775 2004-06-14  Andreas Jaeger  <aj@suse.de>
5776
5777         * configure.in: Support --enable-version-specific-runtime-libs.
5778         * configure: Regenerated.
5779
5780 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
5781
5782         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5783         to pass ClassLoader argument.
5784         * java/util/GregorianCalendar.java: Likewise.
5785         * java/util/Currency.java: Likewise.
5786         * java/text/BreakIterator.java: Likewise.
5787         * java/text/Collator.java: Likewise.
5788         * java/text/DateFormat.java: Likewise.
5789         * java/text/DateFormatSymbols.java: Likewise.
5790         * java/text/DecimalFormatSymbols.java: Likewise.
5791         * java/text/NumberFormat.java: Likewise.
5792         * java/awt/Window.java: Likewise.
5793
5794 2004-06-14  Andrew Haley  <aph@redhat.com>
5795
5796         * java/lang/System.java: (getenv0): New method.
5797         (getenv): Add security check.  Do the right thing.
5798         * java/lang/natSystem.cc (getenv0): New method.
5799
5800 2004-06-12  Mark Wielaard  <mark@klomp.org>
5801
5802         * javax/swing/RepaintManager.java
5803         (paintDirtyRegions): Use entrySet(), not values().
5804
5805 2004-06-10  Mark Wielaard  <mark@klomp.org>
5806
5807         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5808         NoSuchMethodError.
5809
5810 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
5811
5812         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
5813         when we already know the answer.
5814         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5815         (setStartRule,setEndRule): Don't take abs of day number.
5816         (getOffset): Clarify docs.  Add argument checks.
5817         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5818         (equals,hasSameRules,toString,readObject): Use startTimeMode and
5819         endTimeMode.
5820
5821 2004-06-10  Tom Tromey  <tromey@redhat.com>
5822
5823         * interpret.cc (run): Handle wide fload.
5824
5825 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
5826
5827         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5828
5829 2004-06-05  Michael Koch  <konqueror@gmx.de>
5830
5831         * javax/swing/SwingConstants.java
5832         (NEXT): New constant.
5833         (PREVIOUS): Likewise.
5834
5835 2004-06-05  Michael Koch  <konqueror@gmx.de>
5836
5837         * javax/swing/UIManager.java
5838         (LookAndFeel): Made public.
5839         (LookAndFeel.getName): Likewise.
5840         (LookAndFeel.getClassName): Likewise.
5841
5842 2004-06-03  Michael Koch  <konqueror@gmx.de>
5843
5844         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5845         (requestFocus): Revert last changes.
5846         (gtkRequestFocus): Removed.
5847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5848         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5849         Renamed to ...
5850         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5851         Reverted last patch.
5852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5853         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5854         Reverted comment change.
5855
5856 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5857
5858         * javax/swing/JCheckBoxMenuItem.java:
5859         Removed CVS tags.
5860         * javax/swing/JMenu.java: Likewise.
5861         * javax/swing/JMenuBar.java: Likewise.
5862         * javax/swing/JMenuItem.java: Likewise.
5863         * javax/swing/JPopupMenu.java: Likewise.
5864         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5865         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5866         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5867         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5868         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5869         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5870         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5871
5872 2004-06-01  Tom Tromey  <tromey@redhat.com>
5873
5874         * java/io/ObjectStreamField.java: Cleaned up imports.
5875
5876 2004-06-01  Michael Koch  <konqueror@gmx.de>
5877
5878         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5879       
5880 2004-06-01  Mark Wielaard  <mark@klomp.org>
5881
5882         * java/io/Writer.java (Writer(Object)): Fixed API doc.
5883
5884 2004-06-01  Michael Koch  <konqueror@gmx.de>
5885
5886         * java/security/Security.java
5887         (insertProviderAt): Use equals() instead of ==.
5888         (removeProvicer): Likewise.
5889         (getProvider): Likewise.
5890         * java/security/Signature.java
5891         (sign): Don't set state to UNINITIALIZED.
5892         (verify): Likewise.
5893
5894 2004-06-01  Mark Wielaard  <mark@klomp.org>
5895
5896         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5897         Implement by calling gtkRequestFocus.
5898         (gtkRequestFocus): New native method.
5899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5900         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5901         Renamed to ...
5902         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5903         New function name.
5904         (filter_expose_event_handler):
5905         Mark static.
5906         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5907         (menu_pos): Mark static.
5908
5909 2004-06-01  Michael Koch  <konqueror@gmx.de>
5910
5911         * java/text/CollationElementIterator.java,
5912         java/text/CollationKey.java,
5913         java/text/RuleBasedCollator.java: New versions from GNU classpath.
5914         * testsuite/libjava.mauve/xfails: Removed all
5915         java.text.CollationElementIterator tests.
5916
5917 2004-06-01  Michael Koch  <konqueror@gmx.de>
5918
5919         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5920         version.
5921         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5922         Java 1.5 keyword usage.
5923
5924 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5925
5926         * javax/swing/plaf/basic/BasicMenuUI.java:
5927         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5928         Call getPath() from super class instead.
5929
5930 2004-05-31  Michael Koch  <konqueror@gmx.de>
5931
5932         * java/io/SequenceInputStream.java:
5933         Rename enum to e because enum is a keyword in Java 1.5.
5934
5935 2004-05-31  Michael Koch  <konqueror@gmx.de>
5936
5937         * gnu/java/rmi/rmic/CompilerProcess.java:
5938         Fixed javadoc to by XHTML compliant.
5939
5940 2004-05-30  Mark Wielaard  <mark@klomp.org>
5941
5942         * java/awt/Toolkit.java (loadSystemColors): Implement.
5943
5944 2004-05-30  Michael Koch  <konqueror@gmx.de>
5945
5946         * java/lang/System.java: Reordered imports.
5947
5948 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
5949
5950         * java/text/DecimalFormat.java
5951         (parse): Fixed parsing of decimal strings. Number of maximum
5952         digits to be read should now work.
5953         * java/text/SimpleDateFormat.java
5954         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5955         formatter. This fixes DateFormatTest.
5956
5957 2004-05-30  Michael Koch  <konqueror@gmx.de>
5958
5959         * java/nio/Buffer.java
5960         (limit): Fixed off by one error.
5961         * java/nio/CharBuffer.java
5962         (wrap): Fixed arguments, added javadocs.
5963
5964 2004-05-30  Michael Koch  <konqueror@gmx.de>
5965
5966         * gnu/java/beans/BeanInfoEmbryo.java,
5967         java/awt/im/InputContext.java,
5968         javax/swing/tree/DefaultMutableTreeNode.java:
5969         Rename enum to e because enum is a keyword in Java 1.5.
5970
5971 2004-05-30  Michael Koch  <konqueror@gmx.de>
5972
5973         * gnu/java/math/MPN.java,
5974         java/awt/geom/Arc2D.java:
5975         Fixed javadocs all over.
5976
5977 2004-05-30  Michael Koch  <konqueror@gmx.de>
5978
5979         * java/awt/DefaultKeyboardFocusManager.java
5980         (dispatchEvent): Call method to get key event dispatchers.
5981         (dispatchKeyEvent): Call method to get key event post processors.
5982         * javax/swing/JComponent.java
5983         (listenerList): Made protected.
5984         * javax/swing/JOptionPane.java
5985         (message): Don't initialize.
5986         (JOptionPane): Set message text.
5987         * javax/swing/JPopupMenu.java
5988         (show): Fixed typo in argument name.
5989         * javax/swing/RepaintManager.java
5990         (paintDirtyRegions): Use public API of java.util.Map.
5991         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5992         (positionForMouseEvent): Removed redundant ';'.
5993         (continueDrag): Use method arguments.
5994
5995 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
5996
5997         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5998         results.
5999
6000 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6001
6002         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6003         _Jv_AllocBytes.
6004         * gnu/gcj/RawDataManaged.java: New file.
6005         * java/lang/Thread.java (data): Declare as RawDataManaged.
6006         * java/lang/natThread.cc (init_native): Cast natThread data to
6007         RawDataManaged, not jobject.
6008         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6009         * Makefile.in: Rebuilt.
6010
6011 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6012
6013         * java/util/SimpleTimeZone.java: Reverting my last change until I
6014         can fix it properly.
6015
6016 2004-05-27  Michael Koch  <konqueror@gmx.de>
6017
6018         * javax/swing/JPopupMenu.java
6019         (isVisible): Do not use visible directly.
6020         (setVisible): Likewise.
6021         * javax/swing/JWindow.java
6022         (JWindow): call accessible constructor.
6023         * javax/swing/RepaintManager.java
6024         (paintDirtyRegions): Use public methods to obtain iterator.
6025
6026 2004-05-25  David Jee  <djee@redhat.com>
6027
6028         * java/awt/Container.java
6029         (remove): Set component's parent to null only after we removed the
6030         component from its parent's layout manager.
6031
6032 2004-05-25  David Jee  <djee@redhat.com>
6033
6034         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6035         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6036         is valid.
6037         * gnu/java/awt/peer/gtk/GtkListPeer.java
6038         (getSize): Change native method declaration.
6039         (minimumSize): Pass visible row count into getSize().
6040         (preferredSize): Likewise.
6041         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6042         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6043         natural size. Use visible row count to determine the final height
6044         value to return.
6045
6046 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6047
6048         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6049         (setClip): Minor correction to order of operations.
6050
6051         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6052         * javax/swing/ScrollPaneLayout.java: Likewise.
6053         * javax/swing/JViewPort.java: Likewise.
6054         * javax/swing/ViewportLayout.java: Likewise.
6055
6056         * javax/swing/JComponent.java: Rewrite.
6057         * javax/swing/RepaintManager.java: Likewise.
6058
6059         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6060         * javax/swing/JList.java 
6061         (setSelectedIndices):
6062         (getSelectedIndices):
6063         (getSelectedValues): New functions.
6064         (getPreferredScrollableViewportSize): Return preferred size.
6065         (getScrollableUnitIncrement):
6066         (getScrollableBlockIncrement): Initial implementations.
6067         * javax/swing/JRootPane.java: Clean up slightly.
6068         (getUI):
6069         (setUI):
6070         (updateUI):
6071         (getUIClassID):
6072         (isValidateRoot): Add overrides from JComponent.
6073         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6074         * javax/swing/UIManager.java (getDimension): Return the dimension.
6075
6076         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6077         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6078         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6079         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6080         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6081         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6082         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6083         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6084         Likewise, and set background.
6085         * javax/swing/plaf/basic/BasicListUI.java: 
6086         Likewise, and improve a bit.
6087         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6088         Likewise, and adjust calculations.
6089         * javax/swing/plaf/basic/BasicViewportUI.java:
6090         Likewise, and improve a bit.
6091         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6092         (Button.margin): Shrink.
6093
6094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6095         Hack to set horizontal always, workaround pango.
6096
6097         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6099         Synchronize more often, check cairo status after ops,
6100         handle changes to cairo pattern API, check for disposal.
6101
6102 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6103
6104         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6105         (BasicMenuItemUI): Create propertyChangeListener.
6106         (getPath):Implemented.
6107         (installListeners): Add propertyChangeListener to menuItem.
6108         (uninstallListeners): Remove propertyChangeListener from menuItem.
6109         (update): Implemented.
6110         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6111         (mouseEntered): Take insets of popup menu into account when
6112         calculating position of popup menu.     
6113         
6114 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6115
6116         * Makefile.am: Added new file. 
6117         * Makefile.in: Regenerate.
6118         * javax/swing/JMenuBar.java:
6119         Started implementation.
6120         * javax/swing/JPopupMenu.java:
6121         (setVisible): Fixed location of lightweight/mediumweight
6122         popup menu.
6123         (show): Fixed location of PopupMenu.
6124         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6125         New file. UI Delegate for JMenuBar.
6126         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6127         (mouseEntered): Corrected position of the submenu.
6128
6129 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6130
6131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6132         to _gtk_accel_group_attach.
6133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6134         Likewise.
6135
6136         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6137         package access.  Don't override setFont.
6138         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6139         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6140         gtkWidgetRequestFocus package access.
6141         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6142         setFont.
6143         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6144         Give gtkWidgetRequestFocus package access.
6145         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6146         gtkWidgetRequestFocus package access.  Don't override setFont.
6147         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6148         setFont.
6149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6150         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6151         region.
6152         (gtkSetFont): Likewise.
6153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6154         Implement.
6155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6156         (gtkSetFont): Whitespace fix.
6157
6158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6159         (gtkWidgetSetUsize): Remove method.
6160
6161 2004-05-18  David Jee  <djee@redhat.com>
6162
6163         * java/awt/image/MemoryImageSource.java
6164         (newPixels(int,int,int,int,boolean)): Set only the specified
6165         rectangle of pixels.
6166         (newPixels(byte[],ColorModel,int,int)): Implement.
6167         (newPixels(int[],ColorModel,int,int)): Implement.
6168
6169 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6170
6171         * Makefile.am: Added new file.
6172         * Makefile.in: Regenerate.
6173         * javax/swing/JMenu.java: Started 
6174         implementation.
6175         * javax/swing/JPopupMenu.java:
6176         (insert): If specified index is -1, then
6177         add component at the end.
6178         (isPopupTrigger): Reimplemented.
6179         (JPopupMenu.LightWeightPopup): setBounds
6180         of the lightWeightPopup before adding it 
6181         to the layeredPane.
6182         (javax/swing/plaf/basic/BasicIconFactory.java):
6183         (getMenuArrowIcon): Implemented.
6184         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6185         (getPreferredSize): Add size of the arrow icon 
6186         if this menu item is instance of JMenu.
6187         (paintMenuItem): Paint arrow icon if this 
6188         menu item is a submenu.
6189         * javax/swing/plaf/basic/BasicMenuUI.java:
6190         New File. UI Delegate for JMenu.
6191
6192 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6193
6194         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6195         Post KEY_TYPED events.
6196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6197         (generates_key_typed_event): Remove function.
6198
6199 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6200
6201         * javax/swing/JRootPane.java
6202         (JRootPane.RootLayout): Reimplemented to 
6203         set bounds of contentPane and menuBar.
6204         (setJMenuBar): Add menu bar to the layered pane.
6205         (createLayeredPane): Set layout of layeredPane
6206         to null.
6207         * javax/swing/JLayeredPane.java:
6208         (addImpl): Calculate index of the component in the
6209         layeredPane according to the specified position within 
6210         the layer.      
6211
6212 2004-05-17  David Jee  <djee@redhat.com>
6213
6214         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6215         (setPixels): Change color model to the default model after
6216         converting pixels.
6217         * java/awt/image/MemoryImageSource.java
6218         (newPixels): Set only the specified rectangle of pixels.
6219
6220 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6221
6222         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6223         -l-java-beans -l-javax-accessibility -l-javax-swing.
6224
6225         * java/awt/AWTEvent.java (toString): Print source's name rather
6226         than the source itself.
6227
6228 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6229
6230         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6231         native.
6232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6233         (gdk_color_to_java_color): New function.
6234         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6235
6236 2004-05-12  David Jee  <djee@redhat.com>
6237
6238         * java/awt/image/RGBImageFilter.java:
6239         Initialize origmodel as null.
6240         (makeColor): Fix pixel component order.
6241         (filterRGBPixels): Fix pixel iteration.
6242         (setPixels): Add extra checks for index color model. Convert pixels
6243         to default color model if necessary.
6244         (convertColorModelToDefault): New override method for byte pixels.
6245         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6246         (makeColorbyDefaultCM): New override method for byte pixels.
6247         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6248         (makeColor): Fix pixel component order.
6249
6250 2004-05-11  Kim Ho  <kho@redhat.com>
6251
6252         * javax/swing/Box.java:
6253         Comment out more parts of Box.Filler.
6254
6255 2004-05-11  Kim Ho  <kho@redhat.com>
6256
6257         * javax/swing/Box.java:
6258         Remove reference to AccessibleAWTComponent so
6259         it compiles again.
6260
6261 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6262
6263         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6264         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6265         implementation of list peer to use GtkTreeView instead of
6266         deprecated GtkCList.
6267
6268 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6269
6270         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6271         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6272         (handleEvent): Remove keyChar argument to
6273         gtkWidgetDispatchKeyEvent calls.
6274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6275         compiler warnings.
6276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6279         Likewise.
6280
6281 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6282
6283         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6284         (gtkWidgetRequestFocus): Mark protected.
6285         (GtkComponentPeer): Only set the peer's bounds if its component
6286         is valid.
6287         * java/awt/Component.java (static): Set the default keyboard
6288         focus manager.
6289         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6290         requestFocusInWindow(temporary)): Don't request focus if the
6291         component is not showing.  Get tree lock before traversing
6292         component hierarchy.
6293         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6294         Only set the global focus owner if it is not a Window.
6295         (processKeyEvent): Consume keystrokes associated with the focus
6296         traversal keystroke.
6297         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6298         downFocusCycle): Call requestFocusInWindow instead of
6299         requestFocus.
6300         * java/awt/EventDispatchThread.java (run): Move setting of
6301         default keyboard focus manager to Component.java.
6302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6303         (awt_keycode_to_keysym): New function.
6304         (gtkWidgetDispatchKeyEvent): Finish implementation.
6305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6306         (pre_event_handler): Add FIXME comment.
6307
6308         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6309         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6310         (gtkWidgetRequestFocus): New method.
6311         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6312         disable Tab and Shift-Tab keystrokes.
6313         (addNotify, appendText, insertText, replaceText): Simplify peer
6314         retrieval code.
6315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6316         (connectSignals): Remove connections to "commit" signals.
6317         Remove C++-style comments.
6318
6319         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6321         (handleEvent): Activate GTK button when the space bar key is
6322         pressed.
6323         (gtkActivate): New method.
6324
6325 2004-05-06  David Jee  <djee@redhat.com>
6326
6327         * java/awt/image/CropImageFilter.java
6328         (setPixels): Implement for byte array pixels.
6329         * java/awt/image/ReplicateScaleFilter.java
6330         (setPixels): Implement for byte array pixels.
6331         (replicatePixels): Overload for byte array pixels.
6332
6333 2004-05-06  Kim Ho  <kho@redhat.com>
6334
6335         * javax/swing/Box.java:
6336         (getAccessibleContext): Return an instance of the 
6337         correct class.
6338
6339 2004-05-05  David Jee  <djee@redhat.com>
6340
6341         * gnu/java/awt/peer/gtk/GdkGraphics.java
6342         (drawImage): When component is null, use SystemColor.window as
6343         the default bgcolor.
6344         * gnu/java/awt/peer/gtk/GtkImage.java
6345         (setPixels): We can avoid iterating through the pixel rows only
6346         when height is 1.
6347         * java/awt/Image.java
6348         (getScaledInstance): Partially implement.
6349         * java/awt/image/CropImageFilter.java
6350         (setProperties): Fix "filter" property.
6351         (setPixels): Implement.
6352         * java/awt/image/ReplicateScaleFilter.java
6353         (setDimensions): Use scaled dimensions.
6354         (setPixels): Implement.
6355         (replicatePixels): New method.
6356
6357 2004-05-05  David Jee  <djee@redhat.com>
6358
6359         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6360         (convertPixels): If either pixels or model is null, return null.
6361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6362         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6363         is null, do nothing and return.
6364
6365 2004-05-03  Kim Ho  <kho@redhat.com>
6366
6367         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6368         (getGraphics): Like GtkFramePeer, the Graphics
6369         object needs to be translate to account for
6370         window decorations.
6371         (postMouseEvent): New method. Account for
6372         translation.
6373         (postExposeEvent): ditto.
6374         * javax/swing/Box.java: Stubbed.
6375         * javax/swing/JDialog.java: Ran through jalopy
6376         to fix indentation.
6377         (JDialog): Call SwingUtilities' getOwnerFrame
6378         for null owners.
6379         (setLayout): Check isRootPaneCheckingEnabled
6380         * javax/swing/JOptionPane.java: Re-implemented.
6381         * javax/swing/SwingUtilities.java:
6382         (getOwnerFrame): Static method to grab a default
6383         owner frame for Dialogs that don't specify owners.
6384         * javax/swing/event/SwingPropertyChangeSupport.java:
6385         (firePropertyChange): Fix early exit condition.
6386         * javax/swing/plaf/basic/BasicLabelUI.java:
6387         (paint): Avoid painting text if it is null 
6388         or empty.
6389         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6390         Implement.
6391
6392 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6393
6394         * Makefile.am: Added new file.
6395         * Makefile.in: Regenerate.
6396         * javax/swing/JPopupMenu.java:
6397         Started implementation.
6398         * javax/swing/JWindow.java
6399         (JWindow): call super() if parent for window
6400         is not specified.
6401         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6402         New File. UI Delegate for JPopupMenu.
6403
6404 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6405
6406         * javax/swing/JApplet.java: Indicated that JApplet
6407         implements RootPaneContainer and made method of this
6408         interface public. 
6409         * javax/swing/JFrame.java: Ditto.
6410         * javax/swing/JWindow.java: Ditto.
6411         
6412 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6413
6414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6415         (nativeSetBounds): Call gdk_window_move in addition to
6416         gtk_window_move.
6417
6418         * java/applet/Applet.java (preferredSize): Call parent's
6419         preferredSize if the applet stub is null.
6420         (minimumSize): Likewise for parent's minimumSize.
6421
6422 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
6423
6424         * javax/swing/JMenuItem.java
6425         (createActionPropertyChangeListener): Implemented.
6426         (processMouseEvent): Ditto.
6427         (fireMenuDragMouseEntered): Ditto.
6428         (fireMenuDragMouseExited): Ditto.
6429         (fireMenuDragMouseDragged): Ditto.
6430         (fireMenuDragMouseReleased): Ditto.
6431         (menuSelectionChanged): Ditto.
6432         (getSubElements): Ditto.
6433         (getComponent): Ditto.
6434         (addMenuDragMouseListener): Ditto.
6435         (removeMenuDragMouseListener):Ditto.
6436         (addMenuKeyListener): Ditto.
6437         (removeMenuKeyListener): Ditto.
6438         * javax/swing/plaf/basic/BasicMenuItemUI.java
6439         (doClick): Imlemented.
6440         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6441         Don't handle mouse events here. Pass them to 
6442         MenuSelectionManager.
6443         
6444 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6445         Used correct version of jalopy configuration
6446         file to fix style in the files below.
6447
6448 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6449
6450         * javax/swing/JCheckBoxMenuItem.java: 
6451         Fixed style and removed unnecessary comments.
6452         * javax/swing/JMenuItem.java: Ditto.
6453         * javax/swing/JRadioButtonMenuItem.java: Ditto.
6454         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6455         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6456         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6457
6458 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6459
6460         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6461         C-style.
6462
6463         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6464
6465         * java/awt/ContainerOrderFocusTraversalPolicy.java
6466         (getComponentAfter): Start from current component and work up
6467         the component hierarchy until an acceptable component is found.
6468         Synchronize on tree lock.
6469         (getComponentBefore): Likewise.
6470
6471 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6472
6473         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6474         focus-related debugging messages.
6475         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6476         * java/awt/EventDispatchThread.java: Likewise.
6477         * java/awt/KeyboardFocusManager.java: Likewise.
6478         * java/awt/Window.java: Likewise.
6479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6481
6482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6483         new C++-style comments to C-style comments.
6484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6485
6486         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6487         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6488         (handleEvent): Dispatch key press and key release events to
6489         backing widget.
6490         (requestFocus): Post a FOCUS_GAINED event to the event queue.
6491         (gtkWidgetRequestFocus): New method.
6492         (gtkWidgetDispatchKeyEvent): Likewise.
6493         * java/awt/Component.java (requestFocus, requestFocus(boolean),
6494         requestFocusInWindow, requestFocusInWindow(boolean),
6495         getFocusCycleRootAncestor, nextFocus, transferFocus,
6496         transferFocusBackward, transferFocusUpCycle, hasFocus,
6497         isFocusOwner): Implement and document focus-handling methods.
6498         (setFocusTraversalKeys): Inherit focus traversal keys when
6499         keystrokes argument is null.  Fix focus-handling documentation
6500         throughout class.
6501         * java/awt/Container.java (setFocusTraversalKeys,
6502         getFocusTraversalKeys, areFocusTraversalKeysSet,
6503         isFocusCycleRoot, setFocusTraversalPolicy,
6504         getFocusTraversalPolicy, isFocusTraversalPolicySet,
6505         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6506         Implement and document focus-handling methods.
6507         (transferFocusBackward): Remove method.
6508         (readObject, writeObject): Implement and document serialization
6509         methods.
6510         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6511         and document.
6512         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6513         document.
6514         * java/awt/DefaultKeyboardFocusManager.java: Implement and
6515         partially document.
6516         * java/awt/EventDispatchThread.java (run): Set default keyboard
6517         focus manager.  Attempt to dispatch each event to the keyboard
6518         focus manager before normal dispatch.
6519         * java/awt/KeyboardFocusManager.java: Implement and partially
6520         document.
6521         * java/awt/Window.java (Window): Set focusCycleRoot to true.
6522         (show): Focus initial component when window is shown for the
6523         first time.
6524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6525         (pre_event_handler): Replace complex key press and key release
6526         logic with simple callbacks into GtkComponentPeer.
6527         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6528
6529 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
6530
6531         * javax/swing/MenuSelectionManager.java
6532         (componentForPoint): Added new method. 
6533         (defaultManager): New Method. Implemented.
6534         (getSelectedPath): Ditto.
6535         (isComponentPartOfCurrentMenu): Ditto.
6536         (processKeyEvent): Added new method.
6537         (processMouseEvent): New Method. Implemented.
6538         (setSelectedPath): Ditto.
6539         (getPath): Ditto.
6540
6541 2004-04-19  Kim Ho  <kho@redhat.com>
6542
6543         * java/awt/Container.java: 
6544         (remove): Set the component's parent to null.
6545         (getComponentAt): Implement.
6546         * javax/swing/JComponent.java:
6547         (JComponent): Initialize defaultLocale
6548         (getDefaultLocale): Implement.
6549         (setDefaultLocale): ditto.
6550         * javax/swing/JSlider.java:
6551         (JSlider): Fix calculation of value.
6552         * javax/swing/JSplitPane.java: Implement.
6553         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6554         Change SplitPane's default divider size.
6555         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6556         (paint): Remove unused code.
6557         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6558         Added comments and ran through jalopy.
6559         (setBasicSplitPaneUI): Get reference to hidden divider
6560         and set up one touch buttons if necessary.
6561         (setBorder): Fire propertyChangeEvent only if 
6562         borders are different.
6563         (getPreferredSize): Defer to layout manager.
6564         (propertyChange): Implement.
6565         (oneTouchExpandableChanged): ditto.
6566         (createLeftOneTouchButton): Use BasicArrowButton.
6567         (createRightOneTouchButton): ditto.
6568         (moveDividerTo): New method. Moves the divider
6569         to a set location based on the last divider location.
6570         (BasicSplitPaneDivider::MouseHandler): Implement.
6571         (BasicSplitPaneDivider::OneTouchButton): Removed.
6572         (BasicSplitPaneDivider::DragController): Implement.
6573         (BasicSplitPaneDivider::VerticalDragController):
6574         ditto.
6575         (BasicSplitPaneDivider::DividerLayout): ditto.
6576         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6577         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6578         (calculateLayoutInfo): Don't show component if it's
6579         null.
6580         (paintTab): Fix title paint logic.
6581
6582 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
6583
6584         PR libgcj/8321
6585         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6586         (setStartRule,setEndRule): Don't take abs of day number.
6587         (getOffset): Clarify docs.  Add argument checks.
6588         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6589         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6590         endTimeMode.
6591         * testsuite/libjava.mauve/xfails
6592         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6593
6594 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
6595
6596         Layout interfaces during preparation, not initialization. 
6597         * java/lang/natClass.cc (initializeClass): Move 
6598         _Jv_LayoutInterfaceMethods call...
6599         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6600
6601 2004-05-19  Anthony Green  <green@localhost.localdomain>
6602
6603         * Makefile.am (awt_java_source_files): Remove javax.rmi and
6604         gnu.javax.rmi code.
6605         * Makefile.in: Rebuilt.
6606         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6607         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6608         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6609         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6610         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6611         gnu/javax/rmi/CORBA/DelegateFactory.java,
6612         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6613         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6614         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6615         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6616         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6617         gnu/javax/rmi/PortableServer.java: Remove files.
6618
6619 2004-05-19  Anthony Green  <green@redhat.com>
6620
6621         * Makefile.am: Define JAVA_EXT_DIRS.
6622         * Makefile.in: Rebuilt.
6623         * java/lang/natRuntime.cc (insertSystemProperties): Set
6624         java.ext.dirs property.
6625
6626 2004-05-16  Mark Wielaard  <mark@klomp.org>
6627
6628         * java/io/Writer.java (Writer(Object)): Check for null lock object.
6629
6630 2004-05-15  Mark Wielaard  <mark@klomp.org>
6631
6632         * doc/cni.sgml: Removed, merged into gcj.texi.
6633
6634 2004-05-15  Mark Wielaard  <mark@klomp.org>
6635
6636         * Makefile.am (ordinary_java_source_files): Add new javax.print
6637         classes.
6638         * Makefile.in: Regenerated.
6639
6640 2004-05-15  Michael Koch  <konqueror@gmx.de>
6641
6642         * javax/print/attribute/standard/DateTimeAtCompleted.java,
6643         javax/print/attribute/standard/DateTimeAtCreation.java,
6644         javax/print/attribute/standard/DateTimeAtProcessing.java,
6645         javax/print/attribute/standard/DocumentName.java,
6646         javax/print/attribute/standard/JobHoldUntil.java,
6647         javax/print/attribute/standard/JobImpressionsCompleted.java,
6648         javax/print/attribute/standard/JobMessageFromOperator.java,
6649         javax/print/attribute/standard/JobName.java,
6650         javax/print/attribute/standard/JobOriginatingUserName.java,
6651         javax/print/attribute/standard/JobPriority.java,
6652         javax/print/attribute/standard/JobPrioritySupported.java,
6653         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6654         javax/print/attribute/standard/OutputDeviceAssigned.java,
6655         javax/print/attribute/standard/PrinterInfo.java,
6656         javax/print/attribute/standard/PrinterLocation.java,
6657         javax/print/attribute/standard/PrinterMakeAndModel.java,
6658         javax/print/attribute/standard/PrinterMessageFromOperator.java,
6659         javax/print/attribute/standard/PrinterName.java,
6660         javax/print/attribute/standard/QueuedJobCount.java,
6661         javax/print/attribute/standard/RequestingUserName.java:
6662         Fixed javadocs all over.
6663
6664 2004-05-15  Michael Koch  <konqueror@gmx.de>
6665
6666         * javax/print/DocFlavor.java,
6667         javax/print/attribute/standard/ColorSupported.java,
6668         javax/print/attribute/standard/Compression.java,
6669         javax/print/attribute/standard/CopiesSupported.java,
6670         javax/print/attribute/standard/Fidelity.java,
6671         javax/print/attribute/standard/Finishings.java,
6672         javax/print/attribute/standard/JobImpressionsSupported.java,
6673         javax/print/attribute/standard/JobKOctetsSupported.java,
6674         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6675         javax/print/attribute/standard/JobSheets.java,
6676         javax/print/attribute/standard/JobState.java,
6677         javax/print/attribute/standard/JobStateReason.java,
6678         javax/print/attribute/standard/JobStateReasons.java,
6679         javax/print/attribute/standard/Media.java,
6680         javax/print/attribute/standard/MediaSizeName.java,
6681         javax/print/attribute/standard/MultipleDocumentHandling.java,
6682         javax/print/attribute/standard/NumberUpSupported.java,
6683         javax/print/attribute/standard/OrientationRequested.java,
6684         javax/print/attribute/standard/PDLOverrideSupported.java,
6685         javax/print/attribute/standard/PageRanges.java,
6686         javax/print/attribute/standard/PresentationDirection.java,
6687         javax/print/attribute/standard/PrintQuality.java,
6688         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6689         javax/print/attribute/standard/PrinterMoreInfo.java,
6690         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6691         javax/print/attribute/standard/PrinterResolution.java,
6692         javax/print/attribute/standard/PrinterState.java,
6693         javax/print/attribute/standard/PrinterStateReason.java,
6694         javax/print/attribute/standard/PrinterStateReasons.java,
6695         javax/print/attribute/standard/PrinterURI.java,
6696         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6697         javax/print/attribute/standard/Severity.java,
6698         javax/print/attribute/standard/SheetCollate.java,
6699         javax/print/attribute/standard/Sides.java:
6700         Added serialVersionUID and removed final keyword where it doenst
6701         belong.
6702
6703 2004-05-15  Michael Koch  <konqueror@gmx.de>
6704
6705         * javax/print/PrintServiceLookup.java: New file.
6706
6707 2004-05-15  Michael Koch  <konqueror@gmx.de>
6708
6709         * javax/print/DocFlavor.java:
6710         Implemented all flavor classes.
6711
6712 2004-05-15  Michael Koch  <konqueror@gmx.de>
6713
6714         * javax/print/attribute/standard/ColorSupported.java,
6715         javax/print/attribute/standard/Compression.java,
6716         javax/print/attribute/standard/CopiesSupported.java,
6717         javax/print/attribute/standard/Fidelity.java,
6718         javax/print/attribute/standard/Finishings.java,
6719         javax/print/attribute/standard/JobImpressionsSupported.java,
6720         javax/print/attribute/standard/JobKOctetsSupported.java,
6721         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6722         javax/print/attribute/standard/JobSheets.java,
6723         javax/print/attribute/standard/JobState.java,
6724         javax/print/attribute/standard/JobStateReason.java,
6725         javax/print/attribute/standard/JobStateReasons.java,
6726         javax/print/attribute/standard/Media.java,
6727         javax/print/attribute/standard/MediaSizeName.java,
6728         javax/print/attribute/standard/MultipleDocumentHandling.java,
6729         javax/print/attribute/standard/NumberUpSupported.java,
6730         javax/print/attribute/standard/OrientationRequested.java,
6731         javax/print/attribute/standard/PDLOverrideSupported.java,
6732         javax/print/attribute/standard/PageRanges.java,
6733         javax/print/attribute/standard/PresentationDirection.java,
6734         javax/print/attribute/standard/PrintQuality.java,
6735         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6736         javax/print/attribute/standard/PrinterMoreInfo.java,
6737         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6738         javax/print/attribute/standard/PrinterResolution.java,
6739         javax/print/attribute/standard/PrinterState.java,
6740         javax/print/attribute/standard/PrinterStateReason.java,
6741         javax/print/attribute/standard/PrinterStateReasons.java,
6742         javax/print/attribute/standard/PrinterURI.java,
6743         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6744         javax/print/attribute/standard/Severity.java,
6745         javax/print/attribute/standard/SheetCollate.java,
6746         javax/print/attribute/standard/Sides.java: New files.
6747
6748 2004-05-15  Michael Koch  <konqueror@gmx.de>
6749
6750         * javax/print/Doc.java
6751         (getPrintData): Throws IOException.
6752         (getReaderForText): Likewise.
6753         (getStreamForBytes): Likewise.
6754         * javax/print/DocFlavor.java:
6755         Fixed filename in copyright.
6756         (serialVersionUID): New field.
6757         * javax/print/ServiceUIFactory.java:
6758         Made all constants final.
6759         * javax/print/AttributeException.java
6760         javax/print/MultiDoc.java
6761         javax/print/MultiDocPrintJob.java
6762         javax/print/MultiDocPrintService.java
6763         javax/print/StreamPrintService.java
6764         javax/print/URIException.java: New files.
6765         * javax/print/Makefile.am
6766         (EXTRA_DIST): Added all new files.
6767
6768 2004-05-15  Michael Koch  <konqueror@gmx.de>
6769
6770         * javax/print/attribute/standard/Copies.java,
6771         javax/print/attribute/standard/DateTimeAtCompleted.java,
6772         javax/print/attribute/standard/DateTimeAtCreation.java,
6773         javax/print/attribute/standard/DateTimeAtProcessing.java,
6774         javax/print/attribute/standard/DocumentName.java,
6775         javax/print/attribute/standard/JobHoldUntil.java,
6776         javax/print/attribute/standard/JobImpressions.java,
6777         javax/print/attribute/standard/JobImpressionsCompleted.java,
6778         javax/print/attribute/standard/JobKOctets.java,
6779         javax/print/attribute/standard/JobKOctetsProcessed.java,
6780         javax/print/attribute/standard/JobMediaSheets.java,
6781         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6782         javax/print/attribute/standard/JobMessageFromOperator.java,
6783         javax/print/attribute/standard/JobName.java,
6784         javax/print/attribute/standard/JobOriginatingUserName.java,
6785         javax/print/attribute/standard/JobPriority.java,
6786         javax/print/attribute/standard/JobPrioritySupported.java,
6787         javax/print/attribute/standard/NumberOfDocuments.java,
6788         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6789         javax/print/attribute/standard/NumberUp.java,
6790         javax/print/attribute/standard/OutputDeviceAssigned.java,
6791         javax/print/attribute/standard/PagesPerMinute.java,
6792         javax/print/attribute/standard/PagesPerMinuteColor.java:
6793         Fixed @return tag all over.
6794
6795 2004-05-15  Michael Koch  <konqueror@gmx.de>
6796
6797         * javax/print/attribute/AttributeSetUtilities.java
6798         (verifyCategoryForValue): Fixed typo in javadoc.
6799         * javax/print/attribute/HashAttributeSet.java
6800         (containsKey): Fixed @return tag.
6801         (comtainsValue): Likewise.
6802         (equals): Likewise.
6803         * javax/print/attribute/IntegerSyntax.java
6804         (equals): Likewise.
6805         * javax/print/attribute/ResolutionSyntax.java
6806         (equals): Likewise.
6807         (getCrossFeedResolution): Removed unused code.
6808         (getFeedResolution): Likewise.
6809         * javax/print/attribute/SetOfIntegerSyntax.java
6810         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6811         (equals): Fixed @return tag.
6812         * javax/print/attribute/TextSyntax.java
6813         (TextSyntax): Take locale into account.
6814         (hashCode): Better implementation.
6815
6816 2004-05-15  Michael Koch  <konqueror@gmx.de>
6817
6818         * javax/print/CancelablePrintJob.java,
6819         javax/print/Doc.java,
6820         javax/print/DocFlavor.java,
6821         javax/print/DocPrintJob.java,
6822         javax/print/FlavorException.java,
6823         javax/print/PrintException.java,
6824         javax/print/PrintService.java,
6825         javax/print/ServiceUIFactory.java: New files.
6826
6827 2004-05-15  Mark Wielaard  <mark@klomp.org>
6828
6829         * gnu/regexp/CharIndexedReader.java: Removed.
6830         * gnu/regexp/REFilterReader.java: Likewise.
6831         * gnu/regexp/RETokenLookAhead.java: Likewise.
6832         * Makefile.am (ordinary_java_source_files): Remove above classes.
6833         * Makefile.in: Regenerated.
6834
6835 2004-05-14  Tom Tromey  <tromey@redhat.com>
6836
6837         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6838         not `XGraphicsConfiguration.XOffScreenImage'.
6839
6840 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
6841
6842         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6843
6844 2004-05-14  Steven Augart  <augart@watson.ibm.com>
6845
6846         * include/jni.h (_Jv_func): Removed.
6847         (struct JNINativeInterface): Use `void *' for reserved slots.
6848         (struct JNIInvokeInterface): Likewise.
6849
6850 2004-05-11  Michael Koch  <konqueror@gmx.de>
6851
6852         * gnu/java/net/natPlainSocketImplPosix.cc
6853         (read): Fixed typo in expression.
6854
6855 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
6856
6857         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6858         ld_library_additions. Adjust all calls to libjava_invoke to match
6859         the new argument.
6860
6861         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6862         path to cxxflagslist.
6863         Pass path of libstdc++ to libjava_invoke.
6864
6865         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6866         libjava_invoke arguments.
6867
6868 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
6869
6870         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6871         reality.
6872
6873 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
6874
6875         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6876         main binary against the JNI shared library.
6877
6878 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6879
6880         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6881         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6882         (SimpleTimeZone): Tweak docs.  Add new variation.
6883         (setStartRule,setEndRule): Add new variations.  Use
6884         startTimeMode and endTimeMode.
6885
6886 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6887
6888         * java/util/Calendar.java (getActualMinimum,
6889         getActualMaximum):  Remove abstract.  Implement.
6890
6891 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6892
6893         Run the jni tests using the interpreter.
6894         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6895         options_cxx to shared lib compile command.
6896         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6897         they are used to link the shared lib, not the main binary.
6898         Use libjava_invoke to run gij.
6899
6900 2004-05-06  Michael Koch  <konqueror@gmx.de>
6901
6902         * java/util/logging/Level.java
6903         (parse): Use == instead of String.equals().
6904
6905 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6906
6907         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
6908         verify_field_signature and verify_method_signature, not 
6909         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6910         (_Jv_ClassReader::handleField): Likewise.
6911         (_Jv_ClassReader::handleMethod): Likewise.
6912
6913 2004-05-06  Michael Koch  <konqueror@gmx.de>
6914
6915         * javax/swing/table/TableColumn.java:
6916         Reformated.
6917
6918 2004-05-06  Michael Koch  <konqueror@gmx.de>
6919
6920         * javax/imageio/spi/ImageReaderWriterSpi.java
6921         (ImageReaderWriterSpi): Made it public.
6922         * javax/imageio/stream/ImageInputStream.java:
6923         Clean up imports.
6924
6925 2004-05-06  Michael Koch  <konqueror@gmx.de>
6926
6927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6928         Removed empty line.
6929
6930 2004-05-06  Michael Koch  <konqueror@gmx.de>
6931
6932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6933         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6934         New files.
6935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6936         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6938         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6939         their own source file.
6940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6941         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6942         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6944         (create): Define variable on top of function.
6945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6946         (menu_pos): Prototyped.
6947         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6948         (setTitle): Removed.
6949         * jni/gtk-peer/gthread-jni.c
6950         (gdk_threads_wake): Removed.
6951         * Makefile.am (gtk_c_source_files): Added new files
6952         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6954         * Makefile.in: Regenerated.
6955
6956 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
6957
6958         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6959         call.
6960
6961 2004-05-05  Mark Wielaard  <mark@klomp.org>
6962
6963         * javax/swing/AbstractButton.java: Replace special HTML entities with
6964         ASCII equivalent.
6965         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6966         * javax/swing/DefaultButtonModel.java: Likewise.
6967         * javax/swing/DefaultListModel.java: Likewise.
6968         * javax/swing/JList.java: Likewise.
6969         * javax/swing/JSlider.java: Likewise.
6970         * javax/swing/ListModel.java: Likewise.
6971         * javax/swing/Popup.java: Likewise.
6972         * javax/swing/SwingUtilities.java: Likewise.
6973
6974 2004-05-05  Michael Koch  <konqueror@gmx.de>
6975
6976         * javax/swing/AbstractButton.java,
6977         javax/swing/ActionMap.java,
6978         javax/swing/DefaultButtonModel.java,
6979         javax/swing/DefaultListModel.java,
6980         javax/swing/ImageIcon.java,
6981         javax/swing/JComboBox.java,
6982         javax/swing/JComponent.java,
6983         javax/swing/JFrame.java,
6984         javax/swing/JInternalFrame.java,
6985         javax/swing/JMenuBar.java,
6986         javax/swing/JMenuItem.java,
6987         javax/swing/JOptionPane.java,
6988         javax/swing/JProgressBar.java,
6989         javax/swing/JRootPane.java,
6990         javax/swing/JScrollBar.java,
6991         javax/swing/JScrollPane.java,
6992         javax/swing/JSeparator.java,
6993         javax/swing/JSlider.java,
6994         javax/swing/JTabbedPane.java,
6995         javax/swing/JTable.java,
6996         javax/swing/JTextField.java,
6997         javax/swing/JToolBar.java,
6998         javax/swing/JToolTip.java,
6999         javax/swing/JTree.java,
7000         javax/swing/JViewport.java,
7001         javax/swing/JWindow.java,
7002         javax/swing/KeyStroke.java,
7003         javax/swing/LookAndFeel.java,
7004         javax/swing/SwingUtilities.java,
7005         javax/swing/Timer.java,
7006         javax/swing/ToolTipManager.java,
7007         javax/swing/UIDefaults.java,
7008         javax/swing/border/TitledBorder.java,
7009         javax/swing/filechooser/FileSystemView.java,
7010         javax/swing/plaf/basic/BasicButtonListener.java,
7011         javax/swing/plaf/basic/BasicButtonUI.java,
7012         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7013         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7014         javax/swing/plaf/basic/BasicLabelUI.java,
7015         javax/swing/plaf/basic/BasicMenuItemUI.java,
7016         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7017         javax/swing/plaf/basic/BasicRootPaneUI.java,
7018         javax/swing/plaf/basic/BasicScrollBarUI.java,
7019         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7020         javax/swing/plaf/basic/BasicSliderUI.java,
7021         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7022         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7023         javax/swing/table/JTableHeader.java,
7024         javax/swing/text/AbstractDocument.java,
7025         javax/swing/text/DefaultCaret.java,
7026         javax/swing/text/StyledEditorKit.java,
7027         javax/swing/tree/DefaultTreeCellEditor.java:
7028         Cleaned up imports.
7029
7030 2004-05-05  Michael Koch  <konqueror@gmx.de>
7031
7032         * java/util/prefs/AbstractPreferences.java
7033         (AbstractPreferences): Added parenthesis for clarity.
7034         Closes classpath bug #7940.
7035
7036 2004-05-05  Tom Tromey  <tromey@redhat.com>
7037
7038         * javax/naming/CompoundName.java (endsWith): Look at correct
7039         element of source name.
7040
7041 2004-05-05  Mark Wielaard  <mark@klomp.org>
7042
7043         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7044         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7045
7046 2004-05-05  Tom Tromey  <tromey@redhat.com>
7047
7048         * java/io/BufferedReader.java (skip): Removed unused
7049         variable.
7050
7051 2004-05-05  Michael Koch  <konqueror@gmx.de>
7052
7053         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7054
7055 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7056
7057         * java/text/AttributedString.java,
7058         java/text/AttributedStringIterator.java,
7059         java/text/Collator.java,
7060         java/text/DecimalFormatSymbols.java,
7061         java/text/NumberFormat.java,
7062         java/text/RuleBasedCollator.java:
7063         Cleaned up imports.
7064
7065 2004-05-05  Tom Tromey  <tromey@redhat.com>
7066
7067         * java/text/Format.java: Cleaned up imports.
7068         * java/text/DecimalFormat.java: Cleaned up imports.
7069         * java/security/SecureRandom.java: Cleaned up imports.
7070         (SecureRandom): Removed unused variable.
7071         * java/security/UnresolvedPermission.java: Cleaned up imports.
7072         * java/util/Date.java (parse): Removed unused variable.
7073         * java/util/ResourceBundle.java: Cleaned up imports.
7074         (getBundle): Removed unused variable.
7075         (tryBundle): Likewise.
7076         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7077
7078 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7079
7080         * java/text/SimpleDateFormat.java:
7081         (formatWithAttribute): New method. It implements
7082         the formatting process with attributes.
7083         (format): Use formatWithAttribute.
7084         (formatToCharacterIterator): New method. Use
7085         formatWithAttribute.
7086
7087 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7088
7089         * java/text/MessageFormat.java:
7090         (class Field): New class.
7091         (formatToCharacterIterator): New method.
7092         (format): Use formatInternal now.
7093         (formatInternal): New method. String formatter should
7094         be done here (with attributes). Attributes merging supported.
7095         (parse): More documentation.
7096         (getFormatsByArgumentIndex): New method.
7097         (setFormatByArgumentIndex): New method.
7098         (setFormatsByArgumentIndex): New method.
7099
7100 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7101
7102         * java/text/DecimalFormat.java
7103         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7104         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7105         (parse): Fixed handling of exponentiation notation and grouping.
7106
7107 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7108
7109         * java/text/DecimalFormat.java
7110         (scanFix): Build attribute array. Fixed error reporting.
7111         (applyPatternWithSymbols): Store attributes for the prefix and
7112         suffix.
7113         (formatInternal): New method. Changed the way the string is
7114         computed. Implemented attributes. Cleant up rounding in
7115         exponential notation.
7116         (format): Use formatInternal.
7117         (formatToCharacterIterator): New method.
7118         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7119         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7120         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7121         New fields.
7122
7123 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7124
7125         * java/security/interfaces/DSAKeyPairGenerator.java,
7126         java/security/interfaces/DSAPrivateKey.java,
7127         java/security/interfaces/DSAPublicKey.java,
7128         java/security/interfaces/RSAPrivateKey.java,
7129         java/security/interfaces/RSAPublicKey.java:
7130         Cleaned up imports.
7131
7132 2004-05-04  Michael Koch  <konqueror@gmx.de>
7133
7134         * java/nio/ByteBuffer.java,
7135         java/nio/CharBuffer.java,
7136         java/nio/DoubleBuffer.java,
7137         java/nio/FloatBuffer.java,
7138         java/nio/IntBuffer.java,
7139         java/nio/LongBuffer.java,
7140         java/nio/ShortBuffer.java:
7141         (compareTo): Fixed bogus implementation in all buffer classes.
7142
7143 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7144
7145         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7146         32 bit pixels not 8 bit pixels.
7147         (isCompatibleRaster): Added javadoc comment.
7148
7149 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7150
7151         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7152         scanline stride.
7153
7154 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7155
7156         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7157         (getColorModel): Return the actual color model.
7158         (getRaster): Implemented.
7159         (ColorRaster): New inner class.
7160         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7161         a PaintContext.
7162         * java/awt/Color.java (<init>): Make exception more verbose.
7163         (createContext): Use ColorModel when creating a PaintContext.
7164
7165 2004-05-04  Michael Koch  <konqueror@gmx.de>
7166
7167         * gnu/java/text/CharacterBreakIterator.java
7168         (previous): Removed unused variable.
7169
7170 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7171
7172         * gnu/java/text/FormatBuffer.java,
7173         gnu/java/text/AttributedFormatBuffer.java,
7174         gnu/java/text/StringFormatBuffer.java: New classes to implement
7175         attributed iterators in java.text.
7176         * gnu/java/text/FormatCharacterIterator.java: Moved 
7177         from java/text as it is an internal class.
7178         * java/text/FormatCharacterIterator.java: Removed.
7179         * java/text/Format.java:
7180         Import gnu.java.text.FormatCharacterIterator.
7181         * Makefile.am (java_source_files): Added new files.
7182         * Makefile.in: Regenerated.
7183         
7184
7185 2004-05-04  Mark Wielaard  <mark@klomp.org>
7186
7187         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7188
7189 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7190
7191         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7192         * Makefile.in: Rebuilt.
7193
7194 2004-05-03  Mark Wielaard  <mark@klomp.org>
7195
7196         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7197         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7198         * java/net/URL.java
7199         (set(String, String, int, String, String, String, String, String)):
7200         Assign this.file to path or path + "?" + query.
7201         * java/util/Arrays.java: Call static methods staticly.
7202         * java/util/zip/ZipEntry.java: Likewise.
7203         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7204         dir to this.direction.
7205         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7206         Assign static field only once.
7207         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7208
7209 2004-05-03  Mark Wielaard  <mark@klomp.org>
7210
7211         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7212         unused variables hScrollbarHeight and vScrollbarWidth.
7213         (preferredSize): Likewise.
7214         * gnu/java/security/provider/DSAParameters.java (engineToString):
7215         Removed unused call to System.getProperty("line.seperator");
7216         * java/security/Security.java (loadProviders): Return result.
7217
7218 2004-05-03  Tom Tromey  <tromey@redhat.com>
7219
7220         * java/net/URLStreamHandler.java (toExternalForm): Removed
7221         unused variables.
7222         unused constructor.
7223         * java/math/BigDecimal.java (divide): Removed unused variable.
7224         * java/lang/Throwable.java: Cleaned up imports.
7225         * java/lang/ClassLoader.java: Cleaned up imports.
7226         * java/io/FilePermission.java (implies): Removed unused
7227         variable.
7228         * java/awt/TextComponent.java: Removed unused import.
7229         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7230         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7231         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7232         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7233         import.
7234         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7235         * gnu/java/text/CharacterBreakIterator.java: Removed
7236         unused import.
7237         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7238         Cleaned up imports.
7239         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7240         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7241         unused method.
7242         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7243         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7244         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7245         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7246         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7247         (lookupProviders): Removed unused variable.
7248         (loadNextServiceProvider): Likewise.
7249         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7250
7251 2004-05-03  Michael Koch  <konqueror@gmx.de>
7252
7253         Fixes PR libgcj/14695:
7254         * java/net/NetworkInterface.java
7255         (getByName): Return null when no interface was found.
7256
7257 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7258             Tom Tromey  <tromey@redhat.com>
7259
7260         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7261         additional option "-Wmissing-prototypes" for compiling C sources.
7262         Print actual filename for pass/fail rather than $name.c.
7263         * testsuite/libjava.jni/PR15133.java: New testcase file.
7264         * testsuite/libjava.jni/PR15133.c: Likewise.
7265         * testsuite/libjava.jni/PR15133.out: Likewise.
7266
7267 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7268
7269         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7270         ceil and floor.
7271
7272 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7273         
7274         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7275         limit the maximum heap size to avoid unnecessary thrashing.
7276
7277 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7278
7279         * java/text/CollationElementIterator.java (reset): Reset
7280         lookahead variables.
7281
7282 2004-04-23  Mark Wielaard  <mark@klomp.org>
7283
7284         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7285
7286 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7287
7288         * java/sql/DriverManager.java:
7289         Cleaned up imports.
7290
7291 2004-04-23  Michael Koch  <konqueror@gmx.de>
7292
7293         * java/net/URL.java
7294         (hashcode): Don't initialize with default value explicitely.
7295         (getContent): Removed redundant "final" keyword.
7296         (openStream): Likewise.
7297         (getURLStreamHandler): Fixed coding style.
7298         * java/net/URLConnection.java
7299         (defaultAllowUserInteraction): Don't initialize with default value
7300         explicitely.
7301         (connected): Likewise.
7302         (doOutput): Likewise.
7303         (ifModifiedSince): Likewise.
7304         (dateformats_initialized): Likewise.
7305         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7306
7307 2004-04-23  Michael Koch  <konqueror@gmx.de>
7308
7309         * gnu/java/nio/channels/FileChannelImpl.java
7310         (SET, CUR): Unused, removed.
7311         (read): Implement here directly.
7312         (implRead): Removed.
7313         (write): Implement here directly.
7314         (implWrite): Removed.
7315
7316 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7317
7318         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7319         javax/rmi/CORBA/Stub.java,
7320         javax/rmi/CORBA/Util.java,
7321         javax/rmi/CORBA/ValueHandler.java,
7322         javax/rmi/CORBA/ValueHandler.java,
7323         javax/rmi/PortableRemoteObject.java:
7324         Cleaned up imports.
7325
7326 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7327
7328         * java/util/jar/JarFile.java,
7329         java/util/jar/JarInputStream.java,
7330         java/util/jar/JarOutputStream.java,
7331         java/util/jar/Manifest.java:
7332         Cleaned up imports.
7333
7334 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7335
7336         * java/util/ArrayList.java,
7337         java/util/Calendar.java,
7338         java/util/Currency.java,
7339         java/util/HashMap.java,
7340         java/util/HashSet.java,
7341         java/util/Hashtable.java,
7342         java/util/LinkedList.java,
7343         java/util/Properties.java,
7344         java/util/PropertyPermission.java,
7345         java/util/TimeZone.java,
7346         java/util/TreeMap.java,
7347         java/util/TreeSet.java,
7348         java/util/Vector.java,
7349         java/util/WeakHashMap.java:
7350         Cleaned up imports.
7351
7352 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7353
7354         * java/util/logging/FileHandler.java,
7355         java/util/logging/Formatter.java,
7356         java/util/logging/Handler.java,
7357         java/util/logging/Logger.java,
7358         java/util/logging/SimpleFormatter.java,
7359         java/util/logging/XMLFormatter.java:
7360         Cleaned up imports.
7361
7362 2004-04-22  Mark Wielaard  <mark@klomp.org>
7363
7364         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7365         -Wno-long-long flags variable.
7366         (gtk_c_files): Use PEDANTIC_CFLAGS.
7367         * Makefile.in: Regenerated.
7368
7369 2004-04-22  Mark Wielaard  <mark@klomp.org>
7370
7371         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7372         Changed C++ comments into C comments.
7373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7374         Likewise.
7375
7376 2004-04-22  Michael Koch  <konqueror@gmx.de>
7377
7378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7379         Merged copyright year with GNU classpath.
7380
7381 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7382
7383         * javax/security/auth/x500/X500Principal.java:
7384         Cleaned up imports.
7385
7386 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7387
7388         * javax/swing/JSlider.java:
7389         Fixed HTML tags in comments.
7390
7391 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7392
7393         * javax/accessibility/AccessibleText.java:
7394         Cleaned up imports.
7395
7396 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7397
7398         * java/net/URLStreamHandler.java
7399         (parseURL): Convert the file path to using '/' instead of native
7400         file separator.
7401
7402 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7403
7404         * java/net/URL.java
7405         (userInfo): New field.
7406         (URL): Set authority to the right value.
7407         (setURL): Fixed authority and file initialization.
7408         * java/net/URLStreamHandler.java
7409         (parseURL): Take care of the query tag. Build authority.
7410         (toExternalForm): Fixed URL building using authority.
7411
7412 2004-04-22  Michael Koch  <konqueror@gmx.de>
7413
7414         * java/net/Socket.java
7415         (impl): Made package-private.
7416         * java/net/ServerSocket.java
7417         (implAccept): Access Socket.impl field directly.
7418
7419 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7420
7421         * java/util/prefs/Preferences.java,
7422         java/util/prefs/InvalidPreferencesFormatException.java,
7423         java/util/prefs/BackingStoreException.java,
7424         java/util/prefs/AbstractPreferences.java:
7425         Cleaned up imports.
7426
7427 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7428
7429         * java/util/regex/Matcher.java,
7430         java/util/regex/Pattern.java:
7431         Cleaned up imports.
7432
7433 2004-04-22  Michael Koch  <konqueror@gmx.de>
7434
7435         * java/nio/charset/IllegalCharsetNameException.java
7436         (charsetName): Made private.
7437         (IllegalCharsetNameException): Added @param tag to javadoc.
7438         (getCharsetName): Added @return tag to javadoc.
7439         * java/nio/charset/MalformedInputException.java
7440         (MalformedInputException): Added @param tag to javadoc.
7441         (getInputLength): Revised method description, added @return tag.
7442         (getMessage): Added @return tag.
7443
7444 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
7445
7446         * java/awt/Font.java (deriveFont): Implement missing variants.
7447         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7448         missing variants.
7449
7450 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
7451
7452         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7453         Set method->index values for interface methods to their itable index.
7454         (initializeClass): Call _Jv_LayoutInterfaceMethods.
7455
7456 2004-04-21  Michael Koch  <konqueror@gmx.de>
7457
7458         * java/nio/DirectByteBufferImpl.java
7459         (shiftDown): Made static, give address as argument and
7460         provide a convenience method that overwrites shiftDown in
7461         ByteBufferImpl and calls the native shiftDown.
7462         * java/nio/MappedByteBufferImpl.java
7463         (): Use optimized method in DirectByteBufferImpl.
7464         * java/nio/natDirectByteBufferImpl.cc
7465         (shiftDown): Changed method signature. Removed usage of array_offset.
7466
7467 2004-04-21  Michael Koch  <konqueror@gmx.de>
7468
7469         * gnu/java/net/natPlainSocketImplPosix.cc
7470         (SocketInputStream::read): Make sure returned data is a byte value.
7471
7472 2004-04-21  Michael Koch  <konqueror@gmx.de>
7473
7474         * gnu/classpath/ServiceFactory.java,
7475         gnu/classpath/ServiceProviderLoadingAction.java,
7476         javax/imageio/ImageReader.java,
7477         javax/imageio/ImageTranscoder.java,
7478         javax/imageio/ImageWriter.java,
7479         javax/imageio/package.html,
7480         javax/imageio/spi/IIOServiceProvider.java,
7481         javax/imageio/spi/ImageInputStreamSpi.java,
7482         javax/imageio/spi/ImageOutputStreamSpi.java,
7483         javax/imageio/spi/ImageReaderWriterSpi.java,
7484         javax/imageio/spi/ImageTranscoderSpi.java,
7485         javax/imageio/spi/RegisterableService.java,
7486         javax/imageio/spi/ServiceRegistry.java,
7487         javax/imageio/spi/package.html,
7488         javax/imageio/stream/IIOByteBuffer.java,
7489         javax/imageio/stream/ImageInputStream.java,
7490         javax/imageio/stream/ImageOutputStream.java,
7491         javax/imageio/stream/package.html:
7492         New files.
7493         * Makefile.am
7494         (ordinary_java_source_files): Added
7495         gnu/classpath/ServiceFactory.java and
7496         gnu/classpath/ServiceProviderLoadingAction.java.
7497         (javax_source_files): Added
7498         javax/imageio/ImageReader.java,
7499         javax/imageio/ImageTranscoder.java,
7500         javax/imageio/ImageWriter.java,
7501         javax/imageio/spi/IIOServiceProvider.java,
7502         javax/imageio/spi/ImageInputStreamSpi.java,
7503         javax/imageio/spi/ImageOutputStreamSpi.java,
7504         javax/imageio/spi/ImageReaderWriterSpi.java,
7505         javax/imageio/spi/ImageTranscoderSpi.java,
7506         javax/imageio/spi/RegisterableService.java,
7507         javax/imageio/spi/ServiceRegistry.java,
7508         javax/imageio/stream/IIOByteBuffer.java,
7509         javax/imageio/stream/ImageInputStream.java and
7510         javax/imageio/stream/ImageOutputStream.java.
7511         * Makefile.in: Regenerated.
7512
7513 2004-04-21  Michael Koch  <konqueror@gmx.de>
7514
7515         * java/util/Properties.java
7516         (load): Fix wrongly merged fix.
7517
7518 2004-04-21  Mark Wielaard  <mark@klomp.org>
7519
7520         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7521         malloc and free buf.
7522
7523 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
7524
7525         * javax/naming/AuthenticationException.java,
7526         javax/naming/AuthenticationNotSupportedException.java,
7527         javax/naming/CannotProceedException.java,
7528         javax/naming/CommunicationException.java,
7529         javax/naming/CompoundName.java,
7530         javax/naming/ConfigurationException.java,
7531         javax/naming/ContextNotEmptyException.java,
7532         javax/naming/InitialContext.java,
7533         javax/naming/InsufficientResourcesException.java,
7534         javax/naming/InterruptedNamingException.java,
7535         javax/naming/LimitExceededException.java,
7536         javax/naming/LinkException.java,
7537         javax/naming/LinkLoopException.java,
7538         javax/naming/LinkRef.java,
7539         javax/naming/MalformedLinkException.java,
7540         javax/naming/Name.java,
7541         javax/naming/NameAlreadyBoundException.java,
7542         javax/naming/NameNotFoundException.java,
7543         javax/naming/NamingSecurityException.java,
7544         javax/naming/NoInitialContextException.java,
7545         javax/naming/NoPermissionException.java,
7546         javax/naming/NotContextException.java,
7547         javax/naming/PartialResultException.java,
7548         javax/naming/ReferralException.java,
7549         javax/naming/ServiceUnavailableException.java,
7550         javax/naming/SizeLimitExceededException.java,
7551         javax/naming/TimeLimitExceededException.java,
7552         javax/naming/directory/Attribute.java,
7553         javax/naming/directory/Attributes.java,
7554         javax/naming/directory/SearchResult.java,
7555         javax/naming/event/NamingExceptionEvent.java,
7556         javax/naming/spi/ResolveResult.java:
7557         Cleaned up imports.
7558
7559 2004-04-21  Mark Wielaard  <mark@klomp.org>
7560
7561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7562         Changed C++ comments into C comments. Removed commented out code.
7563         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7564         Likewise.
7565         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7566         Likewise.
7567         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7568         Likewise.
7569         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7570         Likewise.
7571         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7572         Likewise.
7573         * native/jni/gtk-peer/gthread-jni.c:
7574         Likewise.
7575
7576 2004-04-21  Mark Wielaard  <mark@klomp.org>
7577
7578         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7579         static fields defined in interface.
7580         * javax/awt/JDialog.java: Likewise.
7581         (JDialog): Make constructors public.
7582         (getDefaultCloseOperation): Make public.
7583         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7584         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7585         * javax/swing/JViewport.java (JViewport): Make constructor public.
7586
7587 2004-04-21  Michael Koch  <konqueror@gmx.de>
7588
7589         * java/util/Map.java
7590         (Entry): Removed redundant "static" modifier.
7591         * java/text/AttributedCharacterIterator.java:
7592         Updated copyright year.
7593
7594 2004-04-20  Michael Koch  <konqueror@gmx.de>
7595
7596         * javax/naming/directory/SearchControls.java:
7597         Don't explicitely extend java.lang.Object.
7598         * javax/naming/spi/DirStateFactory.java:
7599         Merged copyright year with GNU classpath.
7600
7601 2004-04-20  Michael Koch  <konqueror@gmx.de>
7602
7603         * java/nio/channels/Channels.java:
7604         Merged coding style with GNU classpath.
7605
7606 2004-04-20  Michael Koch  <konqueror@gmx.de>
7607
7608         * java/net/ServerSocket.java
7609         Merged coding style from GNU classpath.
7610
7611 2004-04-20  Michael Koch  <konqueror@gmx.de>
7612
7613         * java/io/BufferedWriter.java:
7614         Reordered variables to be at top of the class.
7615         (localFlush): Removed redundant final keyword.
7616
7617 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7618
7619         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
7620
7621 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7622
7623         * java/text/DecimalFormat.java (scanFix): Removed suffix check
7624         for percent and permill check.
7625
7626 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7627
7628         * java/text/FieldPosition.java
7629         (FieldPosition) Constructor now behaves as it should according
7630         to the java documentation.
7631
7632 2004-04-20  Mark Wielaard  <mark@klomp.org>
7633
7634         * java/util/Properties.java: Use the word umlaut, not &auml; in api
7635         documentation.
7636
7637 2004-04-20  Michael Koch  <konqueror@gmx.de>
7638
7639         * java/nio/Buffer.java,
7640         java/nio/channels/AlreadyConnectedException.java,
7641         java/nio/channels/AsynchronousCloseException.java,
7642         java/nio/channels/ByteChannel.java,
7643         java/nio/channels/CancelledKeyException.java,
7644         java/nio/channels/Channel.java,
7645         java/nio/channels/Channels.java,
7646         java/nio/channels/ClosedByInterruptException.java,
7647         java/nio/channels/ClosedChannelException.java,
7648         java/nio/channels/ClosedSelectorException.java,
7649         java/nio/channels/ConnectionPendingException.java,
7650         java/nio/channels/DatagramChannel.java,
7651         java/nio/channels/FileChannel.java,
7652         java/nio/channels/FileLock.java,
7653         java/nio/channels/FileLockInterruptionException.java,
7654         java/nio/channels/GatheringByteChannel.java,
7655         java/nio/channels/IllegalBlockingModeException.java,
7656         java/nio/channels/IllegalSelectorException.java,
7657         java/nio/channels/InterruptibleChannel.java,
7658         java/nio/channels/NoConnectionPendingException.java,
7659         java/nio/channels/NonReadableChannelException.java,
7660         java/nio/channels/NonWritableChannelException.java,
7661         java/nio/channels/NotYetBoundException.java,
7662         java/nio/channels/NotYetConnectedException.java,
7663         java/nio/channels/OverlappingFileLockException.java,
7664         java/nio/channels/Pipe.java,
7665         java/nio/channels/ReadableByteChannel.java,
7666         java/nio/channels/ScatteringByteChannel.java,
7667         java/nio/channels/SelectableChannel.java,
7668         java/nio/channels/SelectionKey.java,
7669         java/nio/channels/Selector.java,
7670         java/nio/channels/ServerSocketChannel.java,
7671         java/nio/channels/SocketChannel.java,
7672         java/nio/channels/UnresolvedAddressException.java,
7673         java/nio/channels/UnsupportedAddressTypeException.java,
7674         java/nio/channels/WritableByteChannel.java,
7675         java/nio/channels/spi/AbstractInterruptibleChannel.java,
7676         java/nio/channels/spi/AbstractSelectableChannel.java,
7677         java/nio/channels/spi/AbstractSelectionKey.java,
7678         java/nio/channels/spi/AbstractSelector.java,
7679         java/nio/channels/spi/SelectorProvider.java,
7680         java/nio/charset/spi/CharsetProvider.java:
7681         Fixed javadocs and jalopied all over java.nio.
7682
7683 2004-04-20  Michael Koch  <konqueror@gmx.de>
7684
7685         * java/nio/ByteBufferImpl.java,
7686         java/nio/CharBufferImpl.java,
7687         java/nio/DirectByteBufferImpl.java,
7688         java/nio/DoubleBufferImpl.java,
7689         java/nio/DoubleViewBufferImpl.java,
7690         java/nio/FloatBufferImpl.java,
7691         java/nio/FloatViewBufferImpl.java,
7692         java/nio/IntBufferImpl.java,
7693         java/nio/IntViewBufferImpl.java,
7694         java/nio/LongBufferImpl.java,
7695         java/nio/LongViewBufferImpl.java,
7696         java/nio/MappedByteBufferImpl.java,
7697         java/nio/ShortBufferImpl.java,
7698         java/nio/ShortViewBufferImpl.java:
7699         Made sure all classes are final and removed final keyword from all
7700         methods.
7701
7702 2004-04-20  Michael Koch  <konqueror@gmx.de>
7703
7704         * java/rmi/MarshalledObject.java,
7705         java/rmi/Naming.java,
7706         java/rmi/RemoteException.java,
7707         java/rmi/activation/ActivationException.java,
7708         java/rmi/server/ServerCloneException.java,
7709         java/security/AccessController.java,
7710         java/security/AlgorithmParameterGenerator.java,
7711         java/security/AlgorithmParameters.java,
7712         java/security/CodeSource.java,
7713         java/security/Identity.java,
7714         java/security/IdentityScope.java,
7715         java/security/KeyPairGenerator.java,
7716         java/security/KeyStore.java,
7717         java/security/Security.java,
7718         java/security/Signature.java,
7719         java/security/SignatureSpi.java,
7720         java/security/SignedObject.java,
7721         java/security/spec/DSAParameterSpec.java,
7722         java/security/spec/DSAPrivateKeySpec.java,
7723         java/security/spec/DSAPublicKeySpec.java,
7724         java/sql/Array.java,
7725         java/sql/DatabaseMetaData.java,
7726         java/sql/ResultSet.java,
7727         java/text/ChoiceFormat.java,
7728         java/text/CollationElementIterator.java,
7729         java/text/CollationKey.java,
7730         java/text/Collator.java,
7731         java/text/DateFormat.java,
7732         java/text/DateFormatSymbols.java,
7733         java/text/DecimalFormatSymbols.java,
7734         java/text/Format.java,
7735         java/text/ParsePosition.java,
7736         java/text/RuleBasedCollator.java,
7737         java/text/SimpleDateFormat.java,
7738         java/text/StringCharacterIterator.java,
7739         java/util/Collections.java,
7740         java/util/PropertyResourceBundle.java,
7741         java/util/ResourceBundle.java,
7742         java/util/StringTokenizer.java,
7743         java/util/jar/Attributes.java,
7744         java/util/logging/ConsoleHandler.java,
7745         java/util/logging/LogManager.java,
7746         java/util/logging/MemoryHandler.java,
7747         java/util/logging/SocketHandler.java,
7748         javax/naming/NamingException.java:
7749         Fixed javadoc, coding style and argument names all over.
7750
7751 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7752
7753         * java/io/FileDescriptor.java: (FileDescriptor) Added public
7754         constructor. (valid) Added null check.
7755
7756 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7757
7758         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7759         * java/io/FileOutputStream.java
7760         (FileOutputStream) Reorganized constructors. Constructors now
7761         check whether the given path is directory.
7762
7763 2004-04-20  Michael Koch  <konqueror@gmx.de>
7764
7765         * java/net/Authenticator.java,
7766         java/net/BindException.java,
7767         java/net/ConnectException.java,
7768         java/net/ContentHandler.java,
7769         java/net/ContentHandlerFactory.java,
7770         java/net/DatagramPacket.java,
7771         java/net/DatagramSocket.java,
7772         java/net/DatagramSocketImpl.java,
7773         java/net/DatagramSocketImplFactory.java,
7774         java/net/FileNameMap.java,
7775         java/net/HttpURLConnection.java,
7776         java/net/Inet4Address.java,
7777         java/net/Inet6Address.java,
7778         java/net/InetAddress.java,
7779         java/net/InetSocketAddress.java,
7780         java/net/JarURLConnection.java,
7781         java/net/MalformedURLException.java,
7782         java/net/MulticastSocket.java,
7783         java/net/NetPermission.java,
7784         java/net/NetworkInterface.java,
7785         java/net/NoRouteToHostException.java,
7786         java/net/PasswordAuthentication.java,
7787         java/net/PortUnreachableException.java,
7788         java/net/ProtocolException.java,
7789         java/net/ServerSocket.java,
7790         java/net/Socket.java,
7791         java/net/SocketAddress.java,
7792         java/net/SocketException.java,
7793         java/net/SocketImpl.java,
7794         java/net/SocketImplFactory.java,
7795         java/net/SocketOptions.java,
7796         java/net/SocketPermission.java,
7797         java/net/SocketTimeoutException.java,
7798         java/net/URI.java,
7799         java/net/URISyntaxException.java,
7800         java/net/URL.java,
7801         java/net/URLClassLoader.java,
7802         java/net/URLConnection.java,
7803         java/net/URLDecoder.java,
7804         java/net/URLEncoder.java,
7805         java/net/URLStreamHandler.java,
7806         java/net/URLStreamHandlerFactory.java,
7807         java/net/UnknownHostException.java,
7808         java/net/UnknownServiceException.java:
7809         Fixed javadocs, coding style and argument names all over.
7810
7811 2004-04-20  Michael Koch  <konqueror@gmx.de>
7812
7813         * java/lang/Byte.java,
7814         java/lang/CharSequence.java,
7815         java/lang/ClassLoader.java,
7816         java/lang/Compiler.java,
7817         java/lang/Double.java,
7818         java/lang/Float.java,
7819         java/lang/Integer.java,
7820         java/lang/Long.java,
7821         java/lang/Math.java,
7822         java/lang/Number.java,
7823         java/lang/Package.java,
7824         java/lang/Runtime.java,
7825         java/lang/RuntimePermission.java,
7826         java/lang/SecurityManager.java,
7827         java/lang/Short.java,
7828         java/lang/StringBuffer.java,
7829         java/lang/System.java,
7830         java/lang/ThreadGroup.java,
7831         java/lang/Throwable.java,
7832         java/lang/reflect/InvocationHandler.java,
7833         java/lang/reflect/Proxy.java:
7834         Fixed javadocs, coding style and argument names all over.
7835
7836 2004-04-20  Michael Koch  <konqueror@gmx.de>
7837
7838         * java/io/BufferedWriter.java,
7839         java/io/ByteArrayInputStream.java,
7840         java/io/CharArrayWriter.java,
7841         java/io/DataInput.java,
7842         java/io/DataInputStream.java,
7843         java/io/File.java,
7844         java/io/FilterInputStream.java,
7845         java/io/InputStream.java,
7846         java/io/InputStreamReader.java,
7847         java/io/ObjectInputStream.java,
7848         java/io/ObjectStreamClass.java,
7849         java/io/PipedInputStream.java,
7850         java/io/PipedReader.java,
7851         java/io/PushbackInputStream.java,
7852         java/io/PushbackReader.java,
7853         java/io/RandomAccessFile.java,
7854         java/io/SerializablePermission.java,
7855         java/io/StreamTokenizer.java,
7856         java/io/StringWriter.java,
7857         java/io/WriteAbortedException.java,
7858         java/io/Writer.java:
7859         Fixed javadocs all over, rename arguments to match javadocs,
7860         fixed coding style.
7861
7862 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7863
7864         * java/awt/FontMetrics.java:
7865         (charsWidth): fixed accumulation of total_width
7866         (getWidth): simple default implementation
7867         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7868         in Rectangle constructor.
7869         * java/awt/image/Raster.java (toString): Added method. 
7870         * java/awt/image/SampleModel.java (<init>): Added error cause
7871         information to thrown exception.
7872         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7873         New method.
7874         (setDataElements): New method.
7875         (setPixels): New method.
7876         (toString): New method.
7877
7878 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7879
7880         * java/awt/image/ComponentColorModel.java
7881         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7882         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7883         Mauve tests on this method. Improved documentation.
7884
7885 2004-04-20  Michael Koch  <konqueror@gmx.de>
7886
7887         * javax/swing/JLayeredPane.java,
7888         javax/swing/plaf/BorderUIResource.java,
7889         javax/swing/plaf/ComponentUI.java,
7890         javax/swing/undo/CompoundEdit.java,
7891         javax/swing/undo/StateEdit.java:
7892         Fixed HTML tags in javadocs all over.
7893
7894 2004-04-20  Michael Koch  <konqueror@gmx.de>
7895
7896         * javax/print/attribute/EnumSyntax.java
7897         (getOffset): Made protected.
7898         * javax/print/attribute/HashAttributeSet.java
7899         (HashAttributeSet): Likewise.
7900         * javax/print/attribute/ResolutionSyntax.java
7901         (getFeedResolution): Fixed typo in exception name.
7902         (getCrossFeedResolution): Likewise.
7903         * javax/print/attribute/SetOfIntegerSyntax.java
7904         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7905         * javax/print/attribute/TextSyntax.java
7906         (TextSyntax): Handle locale correctly.
7907         (hashCode): Calc better hashcode value.
7908         (equals): Fixed @return tag.
7909         (toString): New method.
7910
7911 2004-04-20  Michael Koch  <konqueror@gmx.de>
7912
7913         * gnu/java/nio/FileLockImpl.java
7914         (static): Removed, not needed anymore.
7915         * gnu/java/nio/channels/FileChannelImpl.java
7916         (FileChannelImpl): Made final.
7917         (mode): Made private.
7918         (READ, WRITE, APPEND): Made public.
7919         (EXCL, SYNC, DSYNC): Likewise.
7920         (static): Load native JNI library, when needed.
7921         (length): Unused, removed.
7922         (available): Made public.
7923         (implPosition): Throws IOException.
7924         (seek): Likewise.
7925         (implTruncate): Likewise.
7926         (unlock): Likewise.
7927         (lock): Likewise.
7928
7929 2004-04-20  Michael Koch  <konqueror@gmx.de>
7930
7931         * java/awt/AWTPermission.java,
7932         java/awt/Component.java,
7933         java/awt/ComponentOrientation.java,,
7934         java/awt/Dialog.java,
7935         java/awt/FontMetrics.java,
7936         java/awt/Graphics.java,
7937         java/awt/datatransfer/DataFlavor.java,
7938         java/beans/Introspector.java,
7939         java/beans/PropertyEditor.java,
7940         java/beans/PropertyEditorManager.java,
7941         java/beans/beancontext/BeanContextServiceProvider.java:
7942         Fixed HTML tags in javadocs all over.
7943
7944 2004-04-20  Mark Wielaard  <mark@klomp.org>
7945
7946         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7947         MissingResourceException is thrown.
7948         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7949         null when a MissingResourceException is thrown. Should never happen.
7950
7951 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7952
7953         * java/awt/image/DataBufferShort.java,
7954         java/awt/image/DataBufferFloat.java,
7955         java/awt/image/DataBufferDouble.java,
7956         java/awt/image/PixelInterleavedSampleModel.java: New files.
7957         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7958         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7959
7960 2004-04-20  Michael Koch  <konqueror@gmx.de>
7961
7962         * Makefile.am (java_source_files): Added
7963         java/awt/image/DataBufferDouble.java,
7964         java/awt/image/DataBufferFloat.java,
7965         java/awt/image/DataBufferShort.java and
7966         java/awt/image/PixelInterleavedSampleModel.java.
7967         * Makefile.in: Regenerated.
7968
7969 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
7970  
7971         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
7972         undocumented CNI calls.
7973         * include/java-interp.h (_Jv_InterpClass): No longer
7974         extends java.lang.Class.
7975         * java/lang/Class.h (Class): Add new field `aux_info'.
7976         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7977         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7978         Use Class->aux_info instead.
7979         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7980         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7981         Use Class->aux_info instead.
7982         * java/io/natObjectInputStream.cc (allocateObject): Use
7983         _Jv_AllocObject.
7984         * java/lang/natClass.cc (newInstance): Likewise.
7985         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7986         * java/lang/natObject.cc (clone): Likewise.
7987         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7988         * java/lang/natVMClassLoader.cc (defineClass): Don't use
7989         JvAllocObject. Allocate klass->aux_info here for interpreted
7990         class.
7991         
7992 2004-04-17  Mark Wielaard  <mark@klomp.org>
7993
7994         * javax/swing/JToggleButton.java (ToggleButtonModel):
7995         Make public static inner class.
7996         * javax/swing/JTabbedPane.java (setComponentAt):
7997         Call Page.setComponent().
7998         (SCROLL_TAB_LAYOUT): Make public, value is 1.
7999         (WRAP_TAB_LAYOUT): Make public, value is 0.
8000         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8001         Make private static inner class.
8002
8003 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8004
8005         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8006         arguments to match new signature. Remove FIXME comments.
8007
8008 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8009
8010         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8011         Remove method.
8012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8013         unused code.
8014
8015 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8016
8017         * Makefile.am: Added new file.
8018         * Makefile.in: Regenerate.
8019         * javax/swing/ImageIcon.java: 
8020         (ImageIcon(file)): set description of the icon 
8021         to the file name
8022         * javax/swing/JCheckBoxMenuItem.java:
8023         Mostly Implemented. Work in progress.
8024         * javax/swing/JRadioButtonMenuItem.java:
8025         Reimplement constructors to use JToggleButtonModel.
8026         * javax/swing/plaf/basic/BasicIconFactory.java:
8027         (getCheckBoxMenuItemIcon): return check box
8028         icon.
8029         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8030         paint menu item selected only when it is armed and 
8031         pressed. 
8032  
8033 2004-04-02  David Jee  <djee@redhat.com>
8034
8035         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8036         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8037         * java/awt/Component.java
8038         (add): Set the parent of the popup as this component.
8039         * java/awt/PopupMenu.java
8040         (addNotify): Create popup menu when peer is null.
8041         (show): Call addNotify() if peer is null.
8042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8043         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8044         argument for gtk_menu_popup() as zero. This causes the popup menu to
8045         respond to any mouse button.
8046
8047 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8048
8049         * Makefile.am: Added new file.
8050         * Makefile.in: Regenerate.
8051         * javax/swing/JRadioButtonMenuItem.java:
8052         Implemented.
8053         * javax/swing/plaf/basic/BasicIconFactory.java:
8054         (getRadioButtonMenuItemIcon): Return
8055         radio button icon.
8056         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8057         (getPreferredSize): Add size of checkIcon if it
8058         exists.
8059         (installDefaults): Don't initialize checkIcon.
8060         It's value will be set in subclasses. 
8061         (uninstallDefaults): remove uninstallation of 
8062         checkIcon.
8063         (paint): Moved code to paintMenuItem().
8064         (paintMenuItem): Implemented.
8065         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8066         UI delegate for JRadioButtonMenuItem.
8067         
8068 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8069
8070         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8071         Corrected position of the accelerator.
8072
8073 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8074
8075         * Makefile.am: Added new file. 
8076         * Makefile.in: Regenerate.
8077         * javax/swing/JMenuItem.java: Partly 
8078         implemented. Work in progress
8079         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8080         Changed default value of acceleratorDelimiter.
8081         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8082         New class. Partly implemented.
8083                 
8084 2004-03-26  Mark Wielaard  <mark@klomp.org>
8085
8086         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8087         (item_activate): Declare label before use.
8088         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8089         (gtkSetFont): Removed unused variable label.
8090         (addExposeFilter): Declare variables before use.
8091         (removeExposeFilter): Likewise.
8092         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8093         (ok_clicked): Declare str_fileName before use.
8094
8095 2004-03-26  David Jee  <djee@redhat.com>
8096
8097         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8098         (addSeparator): Remove.
8099         * java/awt/Menu.java
8100         (separator): Remove static final MenuItem field.
8101         (separatorLabel): New static final String field.
8102         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8103         Use separatorLabel to denote that it is a separator.
8104         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8105         of reusing the static separator instance, because a MenuItem instance
8106         can't be added more than once without being cloned.
8107         * java/awt/peer/MenuPeer.java
8108         (addSeparator): Remove from interface.
8109
8110 2004-03-26  David Jee  <djee@redhat.com>
8111
8112         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8113         (connectSignals): New native method declaration.
8114         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8115         * java/awt/MenuItem.java
8116         (getActionCommand): Return the label if the action command is not set.
8117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8118         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8119         gtk_menu_shell_append().
8120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8121         (item_activate): Fix argument type.
8122         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8123         signal here.
8124         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8125         method.
8126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8127         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8128         given. Add the menu widget's top-level GtkWindow to the global window
8129         group, so it can grab the pointer.
8130         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8131         gtk_menu_shell_append().
8132
8133 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8134
8135         * java/text/AttributedString.java 
8136         (addAttribute): Fix off-by-one.
8137         (getIterator): Likewise.        
8138         * java/text/AttributedStringIterator.java 
8139         (getRunLimit): Correct logic.
8140         (getRunStart): Likewise.
8141         (getAttribute): Fix inequality.
8142         (getAttributes): Likewise.
8143         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8144
8145 2004-03-23  Kim Ho  <kho@redhat.com>
8146
8147         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8148         (calculateSizes): Return real width and height.
8149
8150 2004-03-23  Kim Ho  <kho@redhat.com>
8151
8152         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8153         (calculateTabRects): Set the selectedRun before
8154         trying to rotate tabs.
8155
8156 2004-03-23  Kim Ho  <kho@redhat.com>
8157
8158         * Makefile.am: New file
8159         * Makefile.in: Regenerate
8160         * java/awt/Graphics.java: (drawRect):
8161         Draw to the correct point.
8162         * javax/swing/DefaultSingleSelectionModel.java
8163         (isSelected): Return true if the selected index
8164         is not -1.
8165         * javax/swing/JLabel.java: Do not change mnemonic
8166         index if text is null.
8167         * javax/swing/JProgressBar.java: Use JComponent's
8168         EventListenerList.
8169         * javax/swing/JScrollBar.java: Ditto.
8170         * javax/swing/JSlider.java: Ditto.
8171         * javax/swing/JTabbedPane.java: Reimplement.
8172         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8173         Add defaults for TabbedPane.
8174         * javax/swing/plaf/basic/BasicArrowButton.java:
8175         Implement
8176         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8177         (paintDeterminate): Don't paint String if it's
8178         empty.
8179         (paintIndeterminate): ditto.
8180         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8181         Reimplement.
8182
8183 2004-03-19  Michael Koch  <konqueror@gmx.de>
8184
8185         * java/awt/image/AffineTransformOp.java
8186         (AffineTransformOp): Made public.
8187         * javax/swing/JComponent.java
8188         (listenerList): Made protected.
8189         (accessibleContext): Likewise.
8190         * javax/swing/JList.java
8191         (valueChanged): Dont use internal fields of ListSelectionEvent.
8192         * javax/swing/JViewport.java
8193         (getView): Dont use internal fields of Component.
8194         (addImpl): Likewise.
8195         * javax/swing/Timer.java
8196         (isRunning): Made public.
8197         (start): Likewise.
8198         (stop): Likewise.
8199         * javax/swing/UIDefaults.java
8200         (getInt): Made public.
8201         * javax/swing/plaf/basic/BasicListUI.java
8202         (mousePressed): Dont use internal fields of MouseEvent.
8203         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8204         * javax/swing/plaf/basic/BasicScrollBarUI.java
8205         (arrowIcon): Made static.
8206         * javax/swing/plaf/basic/BasicViewportUI.java
8207         (stateChanged): Dont use internal field on ChangeEvent.
8208         * javax/swing/text/JTextComponent.java
8209         (getUI): Call UIManager.getUI().
8210         (updateUI): Use getUI().
8211
8212 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8213
8214         * javax/swing/JComponent.java: Turn off double buffer by default.
8215         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8217         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8218         Use cairo to copy areas.
8219         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8220         Initialize and set clip region.
8221
8222 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8223
8224         * java/applet/Applet.java (preferredSize): Override deprecated
8225         variant of getPreferredSize.
8226         (minimumSize): Override deprecated variant of getMinimumSize.
8227
8228 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8229
8230         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8231         (drawImage(img,xform,bgcolor,obs)): New Method.
8232         Helper function that every drawImage method will
8233         use.
8234         (drawRaster): Added new parameter, bgcolor. All
8235         transparent pixels are changed to bgcolor before 
8236         image is drawn.
8237         (drawRenderedImage): Fixed to use changed drawRaster().
8238         (drawImage(image,xform,obs): Fixed to use new helper function 
8239         (drawImage(image,op,x,y)): Ditto.
8240         (drawImage (img,x,y,observer)): Ditto.
8241         ((PainterThread) bgcolor): New Field.
8242         ((PainterThread) (setPixels)): Changed all transparent pixels 
8243         to bgcolor.     
8244         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8245         Fixed FIXME - all the transparent pixels are 
8246         changed to the specified bgcolor. 
8247         (drawImage(img, x, y, width, height, observer): Changed to 
8248         use function above.
8249         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8250         Fixed FIXME- changed all transparent pixels to bgcolor.
8251         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8252         Changed to use function above. 
8253
8254 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8255
8256         * java/applet/Applet.java (dimensions): New field.
8257         (getDimensions): New method.
8258         (getPreferredSize): Call getDimensions.
8259         (getMinimumSize): Likewise.
8260
8261 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8262
8263         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8264         * jni/classpath/jnilink.c: Likewise.
8265
8266         * java/applet/Applet.java (getPreferredSize): New method.
8267         (getMinimumSize): New method.
8268
8269 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8270
8271         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8272         (_Jv_AllocObjectNoFinalizer): Likewise.
8273         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8274         (_Jv_AllocPtrFreeObject): Likewise.
8275         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8276         directly even in the JVMPI case.        
8277         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8278         _Jv_AllocObject calls.
8279         * gcj/javaprims.h: Update prototypes.
8280         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8281         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8282         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8283
8284 2004-04-14  Andrew Haley  <aph@redhat.com>
8285             Bryce McKinlay  <mckinlay@redhat.com>
8286
8287         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8288         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8289         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8290
8291         * testsuite/libjava.lang/InvokeInterface.java: New file.
8292         * testsuite/libjava.lang/InvokeInterface.out: New file.
8293
8294 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8295         
8296         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8297         modified lookup().
8298         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8299         StackTraceElement directly.
8300         (newElement): New native helper method to create StackTraceElement
8301         bypassing Java access control.
8302         (createStackTraceElement): Use newElement() instead of directly
8303         calling StackTraceElement's constructor.
8304         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8305
8306 2004-04-01  Michael Koch  <konqueror@gmx.de>
8307
8308         * java/lang/SecurityManager.java
8309         (checkAwtEventQueueAccess): Implemented.
8310
8311 2004-04-01  Gary Benson  <gbenson@redhat.com>
8312
8313         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8314         (_Jv_SearchMethodInClass): Likewise.
8315
8316 2004-03-26  Peter Moon  <peterm@miraculum.com>
8317
8318         * java/text/NumberFormat.java: Fix spelling of setCurrency
8319         method.
8320
8321 2004-03-21  Anthony Green  <green@redhat.com>
8322
8323         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8324         recursion when searching for the system ClassLoader.
8325
8326 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8327
8328         * java/net/ServerSocket.java
8329         (accept): Close the socket when error occured.
8330
8331 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8332
8333         * java/net/URI.java (parseURI): Added unquoting.
8334         (unquote): New method.
8335         (quoteAuthority): Implemented.
8336         (quote(String,String)): New method.
8337         (quotePath): Implemented.
8338         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8339         (getSchemeSpecificPart): Removed FIXME comment.
8340         (getRawAuthority): Return new rawAuthority field.
8341         (getAuthority): Removed FIXME comment.
8342         (getRawUserInfo): Return new rawUserInfo field.
8343         (getUserInfo): Removed FIXME comment.
8344         (getRawPath): Return new rawPath field.
8345         (getPath): Removed FIXME comment.
8346         (getRawQuery): Return new rawQuery field.
8347         (getQuery): Removed FIXME comment.
8348         (getRawFragment): Return new rawFragment field.
8349         (getFragment): Removed FIXME comment.
8350
8351 2004-03-20  Michael Koch  <konqueror@gmx.de>
8352
8353         * java/net/URLConnection.java: Merged copyright year with classpath.
8354
8355 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8356
8357         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8358         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8359         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8360         rmi-message.
8361         (getObjectInputStream): Return object reference, throw IOException if null.
8362         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8363         (getObjectOutputStream): Return object reference, throw IOException if null.
8364         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8365         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8366         (UnicastConnectionManager): Throw RemoteException if port is not available.
8367         (getInstance): Throw RemoteException.
8368         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8369         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8370         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8371         Collect Exceptions which are returned by a rmi-call and fix void returns.
8372         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8373         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8374         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8375         (dispatch): Answer ping messages which are sent by other java implementions.
8376         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8377         for every rmi-message and fix void return problems.
8378         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8379         (UnicastServerRef): Throw RemoteException.
8380         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8381         In some situations it is necessary to export a subclass of the class which has the _Stub.
8382         For instance when the class with has the _Stub is abstract.
8383         (findStubSkelClass): New method which looks for the class which has the _Stub.
8384         (getClientHost): Implementated.
8385         * gcc/libjava/java/rmi/server/RemoteServer.java
8386         (getClientHost): Implementated.
8387         * gcc/libjava/Makefile.am (rmi_java_source_files):
8388         Added gnu/java/rmi/server/RMIIncomingThread.java.
8389         * Makefile.in: Regenerated.
8390
8391 2004-03-20  Michael Koch  <konqueror@gmx.de>
8392
8393         * java/net/InetAddress.java
8394         (getLocalHostname): Added javadoc.
8395
8396 2004-03-19  Per Bothner  <per@bothner.com>
8397
8398         * configure.in: FILE variable  overrides FLATFORM when linking
8399         natFileChannelXXX.cc.
8400
8401         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8402         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8403
8404 2004-03-19  Per Bothner  <per@bothner.com>
8405
8406         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8407         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8408         * Makefile.am:  Update accordingly.
8409         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8410         as aliases for UnicodeLittle and UnicodeBig.
8411
8412 2004-03-20  Mark Wielaard  <mark@klomp.org>
8413
8414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8415         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8416         Don't access ws when it is null.
8417         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8418         Likewise.
8419
8420 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
8421
8422         * java/lang/ThreadGroup.java (list): Changed print to println.
8423
8424 2004-03-19  Mark Wielaard  <mark@klomp.org>
8425
8426         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8427         happy.
8428
8429 2004-02-10  Randolph Chung  <tausq@debian.org>
8430  
8431         * configure.in: Build java for hppa target.
8432         * configure: Regenerate.
8433         * libjava/configure.host (hppa-*): Add target.
8434         * libjava/sysdeps/pa/lock.h: New file.
8435
8436 2004-03-19  Mark Wielaard  <mark@klomp.org>
8437
8438         Reported by Stephen Crawley
8439         * java/io/FilePermission.java (implies): Use String.length() -1 to
8440         access last char of String.
8441
8442 2004-03-19  Michael Koch  <konqueror@gmx.de>
8443
8444         * java/awt/image/AffineTransformOp.java
8445         (AffineTransformOp): Made public.
8446         * javax/swing/JComponent.java
8447         (listenerList): Made protected.
8448         (accessibleContext): Likewise.
8449         * javax/swing/JList.java
8450         (valueChanged): Dont use internal fields of ListSelectionEvent.
8451         * javax/swing/JViewport.java
8452         (getView): Dont use internal fields of Component.
8453         (addImpl): Likewise.
8454         * javax/swing/Timer.java
8455         (isRunning): Made public.
8456         (start): Likewise.
8457         (stop): Likewise.
8458         * javax/swing/UIDefaults.java
8459         (getInt): Made public.
8460         * javax/swing/plaf/basic/BasicListUI.java
8461         (mousePressed): Dont use internal fields of MouseEvent.
8462         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8463         * javax/swing/plaf/basic/BasicScrollBarUI.java
8464         (arrowIcon): Made static.
8465         * javax/swing/plaf/basic/BasicViewportUI.java
8466         (stateChanged): Dont use internal field on ChangeEvent.
8467         * javax/swing/text/JTextComponent.java
8468         (getUI): Call UIManager.getUI().
8469         (updateUI): Use getUI().
8470
8471 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8472
8473         * verify.cc: Undef PC.
8474
8475 2004-03-18  Michael Koch  <konqueror@gmx.de>
8476
8477         * java/nio/channels/spi/AbstractSelectableChannel.java
8478         (keys): Initialize at declaration.
8479         (locate): keys cant be null.
8480         (add): Removed.
8481         (addSelectionKey): New method.
8482         (removeSelectionKey): New method.
8483         * java/nio/channels/spi/AbstractSelectionKey.java
8484         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8485         * java/nio/channels/spi/AbstractSelector.java
8486         (provider): Javadoc added.
8487         (cancelledKeys): Javadoc added.
8488         (cancelKey): Javadoc added, add key to cancelledKeys.
8489         (deregister): Implemented.
8490
8491 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8492
8493         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8494         MAP_FAILED to void *.
8495
8496 2004-03-12  Graydon Hoare  <graydon@redhat.com>
8497
8498         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8499         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
8500         * javax/swing/JList.java (ListListener): Revalidate on changes.
8501         * javax/swing/JScrollPane.java: Reimplement.
8502         * javax/swing/JViewport.java: Reimplement.
8503         * javax/swing/ScrollPaneLayout.java: Reimplement.
8504         * javax/swing/ViewportLayout.java: Tidy up.
8505         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8506         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8507         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8508         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8509         backing store only.
8510
8511 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
8512
8513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8514         (window_wm_protocols_filter): New function.
8515         (window_focus_in_cb): Remove function.
8516         (window_focus_out_cb): Likewise.
8517         (window_focus_or_active_state_change_cb): New function.
8518         (create): Add filter that removes WM_TAKE_FOCUS client messages.
8519         (connectSignals): Don't attach handlers to focus-in-event or
8520         focus-out-event signals.  Handle notify signal.
8521
8522 2004-03-11  David Jee  <djee@redhat.com>
8523
8524         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8525         (gtkSetLabel): New native method declaration.
8526         (setLabel): Use gtkSetLabel.
8527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8528         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8529
8530 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8531
8532         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8533         black when color argument is null.
8534
8535 2004-03-10  Kim Ho  <kho@redhat.com>
8536
8537         * java/awt/Container.java: Remove check
8538         for drag events.
8539
8540 2004-03-10  Kim Ho  <kho@redhat.com>
8541
8542         * java/awt/Container.java: (visitChild):
8543         Remove candidate clip. Use the component
8544         clip to intersect.
8545         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8546         (handleEvent): Use the PaintEvent's clip.
8547
8548 2004-03-10  Kim Ho  <kho@redhat.com>
8549
8550         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8551         (handleEvent): Don't set the clip for the
8552         Graphics object.
8553
8554 2004-03-09  Graydon Hoare  <graydon@redhat.com>
8555
8556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
8557         Fix double <-> fixed macros, reset font transform.
8558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8559         Likewise.
8560
8561 2004-03-09  Kim Ho  <kho@redhat.com>
8562
8563         * java/awt/Container.java: (visitChild): Move
8564         the x and y coordinate of the component rectangle
8565         to correct position.
8566         (handleEvent): Forward drag events to the pressed
8567         component.
8568         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8569         Fix comments.
8570         (ArrowButtonListener::mousePressed): Stop the
8571         existing timer.
8572         (mouseDragged): Implement.
8573         (TrackListener::mousePressed): Only react if
8574         the press doesn't occur on the thumb, otherwise
8575         just set the offset.
8576         (TrackListener::mouseReleased): Unset the isAdjusting
8577         value.
8578         (createIncreaseIcon): Switch icon.
8579         (createDecreaseIcon): Switch icon.
8580         (calculatePreferredSize): Use width.
8581         (getThumbBounds): Use the top as the lower value.
8582         (layoutVScrollBar): Switch the button locations.
8583         (paintIncreaseHighlight): Paint correct side of thumb.
8584         (paintDecreaseHighlight): ditto.
8585         (valueForYPosition): Use top as the lower value.
8586         * javax/swing/plaf/basic/BasicSliderUI.java:
8587         Fix comments.
8588         (mouseDragged): Implement.
8589         (mousePressed): Only react when the thumb isn't
8590         pressed, otherwise just set offset.
8591         (mouseReleased): Handle a release of the thumb.
8592         (scrollDueToClickInTrack): Stop the timer first.
8593         * javax/swing/JProgressBar.java:
8594         (setString): Fix change condition.
8595         * javax/swing/JSeparator.java:
8596         Remove println's.
8597
8598 2004-03-08  David Jee  <djee@redhat.com>
8599
8600         * java/awt/image/AffineTransformOp.java:
8601         (filter): Use Graphics2D interface instead of directly using the
8602         GdkGraphics2D peer.
8603
8604 2004-03-05  David Jee  <djee@redhat.com>
8605
8606         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8607         (handleEvent): Action events are generated upon MOUSE_RELEASED.
8608         * java/awt/Container.java
8609         (acquireComponentForMouseEvent): Fixed.
8610         (handleEvent): Fixed.
8611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8612         (state_to_awt_mods_with_button_states): New method.
8613         (pre_event_handler): Fixed mouse event generation.
8614
8615 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
8616
8617         gnu/java/awt/peer/gtk/GdkGraphics2D.java
8618         (GdkGraphics2D (BufferedImage)): Initialize
8619         pixmap associated with specified BufferedImage.
8620         (setPaint): Changed implementation of Texture
8621         Paint to use AffineTransformOp.
8622         * java/awt/image/AffineTransformOp.java
8623         (createCompatibleDestRaster): Throw RasterFormatException 
8624         if resulting width or height of raster is 0.
8625
8626 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
8627
8628         * java/awt/image/AffineTransformOp.java:
8629         Removed unnecessary field interpolationType.
8630         Formatted some of the lines to be consistent with 
8631         the GNU style.
8632         (AffineTransformOp): Create new RenderingHints 
8633         containing specified interpolation type.
8634         (createCompatibleDestImage): Implemented.
8635         (createCompatibleDestRaster): Implemented.
8636         (filter): Implemented.
8637         (getBounds2D(BufferedImage)): Implemented.
8638         (getBounds2D(Raster)): Implemented.
8639         (getInterpolationType): Get interpolation value from 
8640         rendering hints.
8641
8642 2004-03-04  David Jee  <djee@redhat.com>
8643
8644         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8645         (setFont): Check if child peers are null.
8646
8647 2004-03-04  Graydon Hoare  <graydon@redhat.com>
8648
8649         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8650         .libs in -L option.
8651         (libjava_arguments): Add new libraries to argument list.
8652
8653 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
8654
8655         * Makefile.am: Added java/awt/image/AffineTransformOp.java
8656         * Makefile.in: Re-generated.
8657         * java/awt/image/AffineTransformOp.java: New Class.
8658
8659 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
8660
8661         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8662         (setPaint): Interpret correctly TexturePaint's
8663         anchor rectangle.
8664         (drawImage): Fixed scale factors of the affine
8665         transform.
8666
8667 2004-02-27  David Jee  <djee@redhat.com>
8668
8669         * gnu/java/awt/peer/gtk/GdkGraphics.java
8670         (GdkGraphics(Component)): Inherit font from component.
8671         (drawString): Use font style.
8672         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8673         (gtkSetFont): New native method declaration.
8674         (setFont): New method.
8675         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8676         (gtkSetFont): New native method declaration.
8677         (setFont): Call new native method gtkSetFont.
8678         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8679         (setFont): For all child components who do not their fonts set,
8680         set their peers' fonts with this container's font.
8681         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8682         Move all native method declarations to the top for readability.
8683         (gtkSetFont): New native method declaration.
8684         (setFont): New method.
8685         * java/awt/Component.java
8686         (setFont): Invalidate after setting the font.
8687         * java/awt/Container.java
8688         (invalidateTree): New method.
8689         (setFont): Invalidate the container tree after setting the font.
8690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8691         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8693         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8695         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8697         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8698
8699 2004-02-27  Olga Rodimina <rodimina@redhat.com>
8700
8701         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8702         (updateBufferedImage): New helper function.
8703         Updates BufferedImage in memory if it was changed.
8704         (draw): changed to update BufferedImage in memory after
8705         this drawing operation
8706         (fill): Ditto.
8707         (draw3DRect): Ditto.
8708         (fill3DRect): Ditto.
8709         (clearRect): Ditto.
8710         (drawRaster): Ditto.
8711         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
8712         no affine transformation.
8713         (drawGlyphVector): Ditto.
8714
8715 2004-02-26  Olga Rodimina <rodimina@redhat.com>
8716
8717         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8718         (isBufferedImageGraphics): New Helper function. 
8719         Returns true if this graphics2d can be used to draw 
8720         into buffered image and false otherwise.
8721         (updateImagePixels): New Helper function. 
8722         Updates pixels in the BufferedImage.
8723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8724         (getImagePixels): New function. Returns pixels
8725         of the buffered image associated with 
8726         this Graphics2D.
8727
8728 2004-02-26  David Jee  <djee@redhat.com>
8729
8730         * java/awt/BorderLayout.java
8731         (layoutContainer): Fix width and height calculations to ensure
8732         that they're non-negative.
8733         * java/awt/Component.java
8734         (setBackground): If c is null, inherit from closest ancestor whose
8735         background color is set.
8736
8737 2004-02-26  Kim Ho  <kho@redhat.com>
8738
8739         * Makefile.am: Add new files.
8740         * Makefile.in: Re-generate.
8741         * javax/swing/JProgressBar.java: 
8742         (JProgressBar(int, int int)): Throw
8743         IllegalArgumentException if orientation is
8744         invalid.
8745         (JProgressBar(BoundedRangeModel)): Create
8746         ChangeListener and register it. UpdateUI.
8747         (getChangeListeners): Implement.
8748         (setModel): Reset ChangeListener.
8749         * javax/swing/JScrollBar.java: Implement.
8750         * javax/swing/JSeparator.java: Implement.
8751         * javax/swing/JSlider.java:
8752         (JSlider(int, int, int, int)): Throw 
8753         IllegalArgumentException if orientation
8754         is invalid.
8755         (getChangeListeners): Fix method name.
8756         * javax/swing/SwingUtilities.java:
8757         (layoutCompoundLabel): If there is no text,
8758         set the text rectangle dimensions to 0.
8759         * javax/swing/plaf/basic/BasicButtonUI.java:
8760         (paint): If there is no text, don't paint it.
8761         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8762         Implement.
8763         * javax/swing/plaf/basic/BasicSeparatorUI.java:
8764         Implement.
8765         * javax/swing/plaf/basic/BasicSliderUI.java: 
8766         (propertyChange): If the model changes, change
8767         the listeners accordingly.
8768
8769 2004-02-25  Graydon Hoare  <graydon@redhat.com>
8770
8771         * javax/swing/AbstractButton.java: Add "final" qualifiers.
8772         * javax/swing/JList.java: Reimplement.
8773         * javax/swing/DefaultListSelectionModel.java: Reimplement.
8774         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8775         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8776         * javax/swing/ListModel.java: Javadoc.
8777         * javax/swing/ListSelectionModel.java: Add missing methods.
8778         * javax/swing/AbstractListModel.java: Javadoc and corrections.
8779         * javax/swing/DefaultListModel.java: Javadoc and corrections.
8780         * javax/swing/ListModel.java: Javadoc and corrections.
8781         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8782
8783 2004-02-25  David Jee  <djee@redhat.com>
8784
8785         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8786         (GtkFontPeer): Change default size to 12.
8787         * gnu/java/awt/peer/gtk/GtkToolkit.java
8788         (getFontPeer): Change default size to 12.
8789         (getClasspathFontPeer): Likewise. Set default name to "Default".
8790         * java/awt/Font.java
8791         (Font(Map)): Call Font(String,Map).
8792         (Font(String,Map)): If attrs is null, initialize it as an empty
8793         HashMap, which will ensure that the Font will get default attributes.
8794
8795 2004-02-25  David Jee  <djee@redhat.com>
8796
8797         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8798         (GtkFontPeer(String,int)): Call the new constructor with size 1.
8799         (GtkFontPeer(String,int,int)): New constructor with size attribute.
8800         * gnu/java/awt/peer/gtk/GtkToolkit.java
8801         (getFontPeer(String,int)): Call the new overload method with size 1.
8802         (getFontPeer(String,int,int)): New method. Overloaded with size
8803         attribute.
8804         (getClasspathFontPeer): Set the size of the font.
8805
8806 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
8807
8808         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8809         (bimage): New field.
8810         (GdkGraphics2D): New Constructor. Constructs Graphics
8811         object that can be used to draw into the Buffered Image.
8812         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8813         (GdkGraphicsEnvironment): Fixed to include public 
8814         keyword.
8815         (createGraphics): Implemented.
8816         * gnu/java/awt/peer/gtk/GtkToolkit.java
8817         (getLocalGraphicsEnvironment): Implemented.
8818         * java/awt/GraphicsEnvironment.java:
8819         (getLocalGraphicsEnvironment): Implemented.
8820         * java/awt/image/BufferedImage.java:
8821         (createGraphics): Implemented.
8822                 
8823 2004-02-24  David Jee  <djee@redhat.com>
8824
8825         * java/awt/Component.java
8826         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8827         * java/awt/Container.java
8828         (addNotifyContainerChildren): Fix event enabling.
8829
8830 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
8831
8832         * Makefile.am: Added 
8833         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8834         * Makefile.in: Re-generated.
8835         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8836         New Class. 
8837         
8838 2004-02-19  Kim Ho  <kho@redhat.com>
8839
8840         * Makefile.am: Add BasicProgressBarUI
8841         * Makefile.in: Regenerate.
8842         * javax/swing/JProgressBar.java: 
8843         Re-implement.
8844         * javax/swing/plaf/basic/BasicLookAndFeel.java
8845         Add constants for JProgressBar.
8846         * javax/swing/plaf/basic/BasicProgressBarUI.java
8847         Implement.
8848         * javax/swing/plaf/basic/BasicSliderUI.java
8849         Change comments.
8850         (calculateGeometry): New method
8851         (paint): Remove unnecessary size calculations.
8852
8853 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
8854
8855         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8856         (drawRaster): Fixed small error that caused
8857         imageToUser transformation to be set incorrectly.
8858         (toString): Implemented.
8859
8860 2004-02-18  David Jee  <djee@redhat.com>
8861
8862         * java/awt/CardLayout.java
8863         (addLayoutComponent): Show the first component added as the default.
8864         (removeLayoutComponent): After removing, show the next component.
8865         (gotoComponent): If there is only one component, show it and return.
8866
8867 2004-02-18  Kim Ho  <kho@redhat.com>
8868
8869         * javax/swing/JSlider.java: Re-order
8870         modifiers.
8871         * javax/swing/JLabel.java: Re-order
8872         modifiers.
8873         * javax/swing/JComponent.java: 
8874         (addPropertyChangeListener):
8875         Implement.
8876         (removePropertyChangeListener):
8877         ditto.
8878         (firePropertyChangeEvent):
8879         ditto.
8880
8881 2004-02-17  David Jee  <djee@redhat.com>
8882
8883         * java/awt/Component.java
8884         (show): Dispatch ComponentEvent via system event queue.
8885         (hide): Likewise.
8886         (move): Likewise.
8887         (resize): Likewise.
8888         (reshape): Likewise.
8889         * java/awt/Window.java
8890         (setBoundsCallback): Likewise.
8891
8892 2004-02-17  David Jee  <djee@redhat.com>
8893
8894         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8895         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8896         Use gtk_widget_set_size_request() instead of the deprecated
8897         gtk_widget_set_usize().
8898
8899 2004-02-17  Kim Ho  <kho@redhat.com>
8900
8901         * javax/swing/JSlider.java: Fix comments and
8902         make property strings constants.
8903         (createStandardLabels): Use the labels
8904         preferred size as bounds.
8905         * javax/swing/plaf/basic/BasicSliderUI.java
8906         Fix comments.
8907         (ScrollHandler::actionPerformed): Don't
8908         calculate the timer stop value. Let the
8909         MouseListeners find the stop location.
8910         (getPreferredHorizontalSize): Re-implement.
8911         (getPreferredVerticalSize): ditto.
8912         (getMinimumHorizontalSize): ditto.
8913         (getMinimumVerticalSize): ditto.
8914         (getPreferredSize): ditto.
8915         (getMinimumSize): ditto.
8916         (getMaximumSize): ditto.
8917         (paintTicks): Use doubles to find the
8918         tick location.
8919         (paintHorizontalLabel):  Use preferredSize
8920         as initial width and height.
8921         (paintVerticalLabel): ditto.
8922
8923 2004-02-17  Kim Ho  <kho@redhat.com>
8924
8925         * javax/swing/JLabel.java: Changed 
8926         property strings to constants.
8927         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8928         New property.
8929         (setText): Change mnemonic index if
8930         text is too short.
8931         (setDisplayedMnemonicIndex): Fire property
8932         change event.
8933         (getDisplayedMnemonicIndex): Remove check
8934         against short text.
8935
8936 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8937
8938         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8939         (drawImage(img,xform,obs)): Invert xform before
8940         passing the xform to cairo.
8941         (drawImage(img,x,y,bgcolor,obs)): Implemented.
8942         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8943         implemented.
8944         (drawImage (img,x,y,w,h,obs)): Implemented.
8945         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8946         bgcolor,obs)): Partly implemented.
8947         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8948         Implemented.
8949         * java/awt/image/BufferedImage.java:
8950         (copyData): if dest is null, create raster with same
8951         dimensions as the current image.
8952
8953 2004-02-16  Graydon Hoare  <graydon@redhat.com>
8954
8955         * javax/swing/plaf/basic/BasicLabelUI.java 
8956         (getPreferredSize): Use layoutCL.
8957         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
8958         (getPreferredButtonSize): Start with empty view rect, layout using
8959         component's preferred alignment.
8960         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8961         List defaults.
8962
8963 2004-02-16  David Jee  <djee@redhat.com>
8964
8965         * java/awt/Component.java
8966         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8967         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8968         (move): Erase old bounds and repaint new bounds. Dispatch
8969         COMPONENT_MOVED ComponentEvent.
8970         (resize): Erase old bounds and repaint new bounds. Dispatch
8971         COMPONENT_RESIZED ComponentEvent.
8972         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8973         ComponentEvents.
8974         * java/awt/Window.java
8975         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8976         ComponentEvents.
8977
8978 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
8979
8980         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8981         (setRenderingHint): Added implementation of 
8982         Interpolation rendering hints.
8983         (setRenderingHints): Ditto.
8984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8985         (drawPixels): fixed to allow user to choose type 
8986         of filtering that should be used when displaying images.
8987         (cairoSurfaceSetFilter): New method. Sets filter type for 
8988         interpolation of pixel values.
8989
8990 2004-02-16  David Jee  <djee@redhat.com>
8991
8992         * java/awt/GridBagLayout.java
8993         (calcCellSizes): Rows or columns with zero sizes should still be
8994         considered for extra space distribution.
8995
8996 2004-02-16  Kim Ho  <kho@redhat.com>
8997
8998         * javax/swing/JLabel.java: Re-implement.
8999         * javax/swing/plaf/basic/BasicLabelUI.java
9000         Re-implement.
9001         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9002         Added constant.
9003
9004 2004-02-16  Kim Ho  <kho@redhat.com>
9005
9006         * javax/swing/JSlider.java: Fix indentation and comments.
9007         (setModel): Remove null check to conform with Sun's.
9008         (setOrientation): Throw exception if not
9009         HORIZONTAL or VERTICAL.
9010         (getInverted): Use private variable instead of 
9011         ComponentOrientation.
9012         (setInverted): ditto.
9013         * javax/swing/plaf/basic/BasicSliderUI.java:
9014         Fix indentation and comments.
9015         (propertyChange): Remove check for inverted slider, handle
9016         in main paint.
9017         (getMinimumSize): Return preferred size.
9018         (getMaximumSize): ditto.
9019         (calculateFocusRect): Don't relocate rectangle.
9020         (drawInverted): Return XOR of the slider's inversion and 
9021         the component's orientation.
9022         (paint): Update leftToRightCache
9023
9024 2004-02-13  David Jee  <djee@redhat.com>
9025
9026         * java/awt/GridBagLayout.java
9027         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9028         code to helper methods.
9029         (sortBySpan): New helper method.
9030         (distributeSizeAndWeight): Likewise.
9031         (calcCellWeights): Likewise.
9032         (calcCellSizes): Add comments.
9033
9034 2004-02-13  David Jee  <djee@redhat.com>
9035
9036         * java/awt/Component.java
9037         (show): Only do something if component is invisible at the moment.
9038         (hide): Only do something if component is visible at the moment.
9039         (reshape): If lightweight, erase old bounds and repaint new bounds.
9040
9041 2004-02-13  Kim Ho  <kho@redhat.com>
9042
9043         * Makefile.am: Updated for new file.
9044         * Makefile.in: Regenerated.
9045         * javax/swing/JSlider.java: Reimplement.
9046         * javax/swing/SwingUtilities.java
9047         (layoutCompoundLabel): Use icon height
9048         instead of width.
9049         (paintComponent): Implement.
9050         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9051         Add JSlider defaults.
9052         * javax/swing/plaf/basic/BasicSliderUI.java:
9053         Implement. New file.
9054
9055 2004-03-17  Michael Koch  <konqueror@gmx.de>
9056
9057         * gnu/java/net/PlainDatagramSocketImpl.java
9058         (RECEIVE_LOCK): New member field.
9059         (SEND_LOCK): New member field.
9060         (send0): New method.
9061         (send): Synchronize on SEND_LOCK.
9062         (receive0): New method.
9063         (receive): Synchronize on RECEIVE_LOCK.
9064         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9065         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9066         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9067         (send0): Renamed from send.
9068         (receive0): Renamed from receive.
9069 2004-03-17  Michael Koch  <konqueror@gmx.de>
9070
9071         * gnu/java/net/natPlainSocketImplPosix.cc
9072         (write): Just call write(jbyteArray, offset, len).
9073         (read): Just call read(jbyteArray, offset, len).
9074
9075 2004-03-16  Michael Koch  <konqueror@gmx.de>
9076
9077         * javax/swing/JTabbedPane.java
9078         (serialVersionUID): New field.
9079
9080 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9081
9082         * java/net/InetAddress.java
9083         (getByName): Handle hostname == "" case.
9084
9085 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9086
9087         Reported by: Adam Heath <doogie@debian.org>
9088         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9089         class loader.
9090
9091 2004-03-15  Michael Koch  <konqueror@gmx.de>
9092
9093         * java/util/Locale.java: Reverting my last patch
9094         and add a comment why the original version was okay.
9095
9096 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9097
9098         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9099         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9100         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9101         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9102
9103 2004-03-12  Michael Koch  <konqueror@gmx.de>
9104
9105         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9106
9107 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9108
9109         * java/net/URI.java (toURL): Implemented.
9110
9111 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9112
9113         * java/net/URI.java
9114         (URI_REGEXP) updated to contain scheme specific part.
9115         (SCHEME_SPEC_PART_GROUP) new constant.
9116         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9117         updated to make room for SCHEME_SPEC_PART_GROUP.
9118         (parseURI) parse scheme specific part.
9119         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9120         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9121         getQuery, getFragment) implemented.
9122
9123 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9124
9125         * libraries/javalib/java/net/URI.java
9126         partially implemented using java.util.regex.
9127         (URI_REGEXP) new constant. Used to parse URIs.
9128         (SCHEME_GROUP) new constant representing index of scheme group
9129         in parsed URI.
9130         (AUTHORITY_GROUP) new constant representing index of authority
9131         group in parsed URI.
9132         (PATH_GROUP) new constant representing index of path group in
9133         parsed URI.
9134         (QUERY_GROUP) new constant representing index of query group in
9135         parsed URI.
9136         (FRAGMENT_GROUP) new constant representing index of fragment
9137         group in parsed URI.
9138         (getURIGroup) new static utility method.
9139         (parseURI) implemented.
9140         (quote) stub for new static utility method.
9141         (quoteAuthority) stub for new static utility method.
9142         (quoteHost) stub for new static utility method.
9143         (quotePath) stub for new static utility method.
9144         (quoteUserInfo) stub for new static utility method.
9145         (URI) implemented.
9146         (create) don't throw URISyntaxException. Implemented.
9147         (toString) implemented.
9148
9149 2004-03-12  Michael Koch  <konqueror@gmx.de>
9150
9151         * java/net/HttpURLConnection.java
9152         (getResponseCode): Fix another typo in javadoc.
9153
9154 2004-03-11  Michael Koch  <konqueror@gmx.de>
9155
9156         * java/util/logging/Level.java
9157         (parse): Use String.equals() instead of ==.
9158
9159 2004-03-11  Michael Koch  <konqueror@gmx.de>
9160
9161         * gnu/java/net/protocol/jar/Connection.java
9162         (getContentLength): New method.
9163
9164 2004-03-11  Michael Koch  <konqueror@gmx.de>
9165
9166         * gnu/java/net/PlainSocketImpl.java:
9167         Reformated to merge better with classpath's version.
9168
9169 2004-03-11  Michael Koch  <konqueror@gmx.de>
9170
9171         * java/util/Locale.java
9172         (getISO3Language): Use String.equals() instead of ==.
9173         (getISO3Country): Likewise.
9174
9175 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9176
9177         * java/text/AttributedString.java
9178         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9179         Use HashMap instead of Hashtable since value can be null, and
9180         you can not store a null value in a Hashtable.
9181
9182 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9183
9184         * java/text/AttributedStringIterator.java
9185         (getAllAttributesKey): Return only keys concerned
9186         by the current iterator.
9187         (getAttributes): Use strict inequality for
9188         end_index. 
9189
9190 2004-03-11  Michael Koch  <konqueror@gmx.de>
9191
9192         * java/net/HttpURLConnection.java:
9193         Fixed typo in javadoc.
9194
9195 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9196
9197         * java/io/BufferedInputStream.java (marktarget): New field for max
9198         mark limit.
9199         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9200         (mark): Use new fields.
9201         (read): Likewise.
9202         (read(byte[],int,int)): Likewise.
9203         (skip): Likewise.
9204         (refill): Likewise.
9205
9206 2004-03-11  Mark Wielaard  <mark@klomp.org>
9207
9208         * java/beans/BeanDescriptor.java (BeanDescriptor):
9209         Set the FeatureDescriptor programmatic name.
9210
9211 2004-03-11  Michael Koch  <konqueror@gmx.de>
9212
9213         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9214         This file was was just copied form java/io/natFileDescriptorEcos.cc
9215         and never changed to compile correctly.
9216
9217 2004-03-11  Michael Koch  <konqueror@gmx.de>
9218
9219         * gnu/java/nio/PipeImpl.java
9220         (SourceChannelImpl): Made final.
9221         (read): Implemented.
9222         (SinkChannelImpl): Made final.
9223         (write): Implemented.
9224
9225 2004-03-11  Michael Koch  <konqueror@gmx.de>
9226
9227         * gnu/java/net/PlainDatagramSocketImpl.java:
9228         Reformated to match classpath's version more.
9229
9230 2004-03-11  Michael Koch  <konqueror@gmx.de>
9231
9232         * gnu/java/awt/peer/ClasspathFontPeer.java:
9233         Fixed javadoc to be correct xhtml.
9234         * gnu/java/awt/peer/gtk/GtkArgList.java
9235         (add): Use Boolean.valueOf() instead of new Boolean().
9236
9237 2004-03-09  Michael Koch  <konqueror@gmx.de>
9238
9239         * java/lang/Thread.java
9240         (runnable): Moved around.
9241         (daemon): Renamed from daemon_flag.
9242         (contextClassLoader): Renamed from context_class_loader.
9243         (Thread): Reordered constructors.
9244         (activeCount): Use group directly.
9245         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9246         (holdsLock): Reworked javadoc.
9247         (setDaemon): Reworked.
9248         * java/lang/natThread.cc
9249         (destroy): Removed.
9250
9251 2004-03-08  Anthony Green  <green@redhat.com>
9252
9253         * Makefile.am: Build property resource files into libgcj.
9254         * Makefile.in: Rebuilt.
9255         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9256         java/util/regex/PatternSyntaxException.java,
9257         gnu/regexp/CharIndexed.java,
9258         gnu/regexp/CharIndexedCharArray.java,
9259         gnu/regexp/CharIndexedInputStream.java,
9260         gnu/regexp/CharIndexedReader.java,
9261         gnu/regexp/CharIndexedString.java,
9262         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9263         gnu/regexp/REException.java,
9264         gnu/regexp/REFilterInputStream.java,
9265         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9266         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9267         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9268         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9269         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9270         gnu/regexp/RETokenLookAhead.java,
9271         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9272         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9273         gnu/regexp/RETokenStart.java,
9274         gnu/regexp/RETokenWordBoundary.java,
9275         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9276
9277 2004-03-03  Per Bothner  <per@bothner.com>
9278
9279         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9280         Optimize when argument is a FileChannelImpl.
9281         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9282         New native methods.
9283         * java/nio/channels/natChannels.cc:  New file for new native methods.
9284         * Makefile.am:  Update accordingly.
9285
9286 2004-03-02  Jan Hubicka  <jh@suse.cz>
9287
9288         * configure.host: Pass -fno-omit-frame-pointer for i386.
9289         * configure.in: Likewise.
9290         * configure: Regenerate.
9291
9292 2004-03-01  Per Bothner  <per@bothner.com>
9293
9294         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9295
9296 2004-02-29  Per Bothner  <per@bothner.com>
9297
9298         * java/nio/channels/FileChannelImpl.java:  Moved to package
9299         gnu/java/nio/channels, since we need to refer to it from java.io.
9300         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9301         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9302         from java/nio/channels.  Don't depend on FileDescriptor.
9303         (in, out, err):  New static fields.
9304         (mode):  New field.
9305         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9306         from FileDescriptor.
9307         (by):  Removed MappedByteBuffer field.
9308         (map):  New working implementation.
9309         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9310         some code "ported" from natFileDescriptoPosix.cc.
9311         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9312         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9313         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9314         Remove native methods.
9315         * Makefile.am, configure.in:  Updated accordingly.
9316
9317         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9318         (ch):  New FileChannelImpl field.  Update constructor to match.
9319         (releaseImpl):  Remove native method.  Instead ...
9320         (release):  Call unlock on channel.
9321         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9322
9323         * java/io/natFileDescriptorEcos.cc:  Remove file.
9324         * java/io/natFileDescriptorPosix.cc:  Remove file.
9325         * java/io/natFileDescriptorWin32.cc:  Remove file.
9326         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9327         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9328         (<init>(FileChannelImpl)):  New package-private constructor.
9329         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9330         (available, close, read, skip):  Implement using FileChannelImpl.
9331         (getFD):  Allocate FileDescriptor if needed.
9332         (getChannel):  Is now trivial.
9333         * java/io/FileOutputStream.java:  Corresponding changes.
9334         * java/io/RandomAccessFile.java:  Corresponding changes.
9335
9336         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9337         unmapImpl):  New dummy methods, to be overridden by subclass.
9338         (finalize, isLoaded, load, force):  New methods.
9339         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9340         Now works, at least for read mapping.
9341
9342         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9343         streams using FileChannelImpl, not FileDescriptor.
9344         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9345
9346 2004-02-28  Michael Koch  <konqueror@gmx.de>
9347
9348         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9349         wrong code.
9350
9351 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9352
9353         * java/io/ObjectInputStream.java
9354         (readClassDescriptor): Keep elements of the mapping non null.
9355         (checkTypeConsistency): New method.
9356         (readFields): Fixed main loop and base logic. Small reindentation.
9357         * java/io/ObjectStreamField.java
9358         (lookupField): New method to update the field reference.
9359         (checkFieldType): New method.
9360         * java/io/ObjectStreamClass.java
9361         (setClass, setFields): Call lookupField when building the field
9362         database. Check the real field type.
9363
9364 2004-02-28  Michael Koch  <konqueror@gmx.de>
9365
9366         * java/nio/ByteOrder.java
9367         (nativeOrder): Use equals() to compare strings.
9368
9369 2004-02-26  Michael Koch  <konqueror@gmx.de>
9370
9371         * gnu/java/nio/FileLockImpl.java
9372         (finalize): Made protected.
9373         * java/nio/channels/FileChannel.java
9374         (MapMode.READ_ONLY): Made final.
9375         (MapMode.READ_WRITE): Made final.
9376         (MapMode.PRIVATE): Made final.
9377         * java/nio/channels/SocketChannel.java
9378         (open): Simplified code.
9379         * java/nio/channels/spi/AbstractSelectableChannel.java
9380         (registered): Unused, removed.
9381         (keyFor): Check channel is open, only locate key
9382         and not add a new one.
9383         (register): Don't delete attachments.
9384
9385 2004-02-26  Michael Koch  <konqueror@gmx.de>
9386
9387         * gnu/java/awt/ComponentDataBlitOp.java
9388         (INSTANCE): Made final.
9389         * gnu/java/awt/image/ImageDecoder.java:
9390         Reworked imports.
9391         (cm): Unused, removed.
9392
9393 2004-02-26  Michael Koch  <konqueror@gmx.de>
9394
9395         * gnu/java/nio/DatagramChannelImpl.java
9396         (send): Check if target address is resolved.
9397
9398 2004-02-26  Michael Koch  <konqueror@gmx.de>
9399
9400         * Makefile.am: Generate and install headers for inner classes in
9401         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9402         * Makefile.in: Regenerated.
9403
9404 2004-02-24  Anthony Green  <green@redhat.com>
9405
9406         * java/lang/StringBuffer.java: No need to NULL out remainder of
9407         buffer since ensureCapacity_unsynchronized will have done this for
9408         us.
9409
9410 2004-02-20  Michael Koch  <konqueror@gmx.de>
9411
9412         * gnu/java/net/protocol/jar/Handler.java
9413         (): Removed unneeded check for file != null. java.net.URL.getFile()
9414         returns an empty string but never null.
9415
9416 2004-02-20  Michael Koch  <konqueror@gmx.de>
9417
9418         * gnu/gcj/convert/Convert.java
9419         (main): Use equals() to compare strings.
9420
9421 2004-02-20  Michael Koch  <konqueror@gmx.de>
9422
9423         * javax/swing/AbstractButton.java: Made several constants final.
9424         (getRolloverSelectedIcon): Made public.
9425         (getSelectedIcon): Made public.
9426
9427 2004-02-16  Per Bothner  <per@bothner.com>
9428
9429         * java/nio/CharBufferImpl.java:  Inline super constructor.
9430         * java/nio/DoubleBufferImpl.java:  Likewise.
9431         * java/nio/FloatBufferImpl.java:  Likewise.
9432         * java/nio/IntBufferImpl.java:  Likewise.
9433         * java/nio/LongBufferImpl.java:  Likewise.
9434         * java/nio/ShortBufferImpl.java:  Likewise.
9435         * java/nio/CharBuffer.java:  Remove unused constructor.
9436         * java/nio/DoubleBuffer.java:  Likewise.
9437         * java/nio/FloatBuffer.java:  Likewise.
9438         * java/nio/IntBuffer.java:  Likewise.
9439         * java/nio/LongBuffer.java:  Likewise.
9440         * java/nio/ShortBuffer.java:  Likewise.
9441         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
9442         Fix buggy call to super constructor.
9443         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9444         * java/nio/FloatViewBufferImpl.java:  Likewise.
9445         * java/nio/IntViewBufferImpl.java:  Likewise.
9446         * java/nio/LongViewBufferImpl.java:  Likewise.
9447         * java/nio/ShortViewBufferImpl.java:  Likewise.
9448         
9449         * java/nio/ByteBuffer.java (endian):  Make non-private so other
9450         java.nio classes can inherit it.
9451         (<init>):  Don't bother clearing array_offset.
9452         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
9453         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
9454         Remove redundant test.
9455
9456         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9457         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9458         Use new XxxViewBufferImpl constructors.
9459         * java/nio/MappedByteBufferImpl.java:  Likewise.
9460         * java/nio/DirectByteBufferImpl.java:  Likewise.
9461
9462         * java/nio/ByteBufferImpl.java:  Remove one constructor.
9463         Inline super in remaining constructor.
9464         * java/nio/ByteBuffer.java:  Remove unused constructor.
9465
9466         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
9467
9468         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
9469         * java/nio/DirectByteBufferImpl.java (owner):  New field.
9470         (offset):  Remove unused field.
9471         (<init>):  Modify one and add another constructor.  Change callers.
9472         (allocateDirect):  Removed - not used.
9473         (getImpl, putImpl):  Make static and pass address explicitly,
9474         to make them useful for MappedByteBufferImpl.
9475         (get, put):  Check for underflow.  Modify for new getImpl.
9476         (getImpl):  New native method where target is array.
9477         (get(byte[],int,int)):  Use the above.
9478         (adjustAddress):  New static native method.
9479         (slice, duplicate, asReadOnly):  New implementations.
9480         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9481         adjustAddress):  New or updated native methods.
9482
9483 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9484
9485         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9486         overflow of fieldmapping.
9487
9488 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
9489
9490         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9491
9492 2004-02-14  Per Bothner  <per@bothner.com>
9493
9494         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9495         Set closed before calling implCloseChannel, as in the spec.
9496
9497 2004-02-09  Graydon Hoare  <graydon@redhat.com>
9498
9499         * javax/swing/ToggleButtonModel.java: Remove dead class.
9500         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9501         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9502         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9503         * Makefile.am: Update for new and removed files.
9504         * Makefile.in: Regenerate.
9505
9506         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9507         * javax/swing/AbstractButton.java 
9508         (AbstractButton): Initialize fields correctly in ctor.
9509         * javax/swing/JCheckbox.java 
9510         (JCheckBox): Override painting flags.
9511         * javax/swing/DefaultButtonModel.java: Conform to sun.
9512         * javax/swing/JComponent.java (paint): Fill with background color
9513         if available.
9514         (processComponentKeyEvent)
9515         (processFocusEvent)
9516         (processKeyEvent)
9517         (processMouseMotionEvent): Remove event-consuming empty methods.
9518         (getUIClassID): Return "ComponentUI" not "JComponent"
9519         * javax/swing/JFrame.java: Remove some debugging chatter.
9520         (JFrame): Subscribe to window events.
9521         * javax/swing/JRadioButton.java 
9522         (JRadioButton): Override painting flags.
9523         * javax/swing/JRootPane.java 
9524         (JRootPane): Set background from UIDefaults.
9525         * javax/swing/JToggleButton.java 
9526         (ToggleButtonModel): New inner class.
9527         (JToggleButton): Override layout alighment.
9528         * javax/swing/SwingUtilities.java:
9529         (getLocalBounds): Return width and height, not x and y.
9530         (calculateInnerArea): Use local bounds, not bounds.
9531         (layoutCompoundLabel): Provide overridden form.
9532         (layoutCompoundLabel): Correct bugs.
9533         * javax/swing/UIDefaults.java: Correct comment.
9534         * javax/swing/plaf/basic/BasicButtonUI.java: 
9535         Move most logic into defaults, external listener.
9536         (paintIcon): Implement icon painting.
9537         (paint): Fix state painting to conform to changes in model.
9538         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9539         Remove most dead/wrong methods.
9540         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9541         * javax/swing/plaf/basic/BasicIconFactory.java:
9542         (DummyIcon): New class.
9543         (getMenuItemCheckIcon)
9544         (getMenuItemArrowIcon) 
9545         (getMenuArrowIcon)
9546         (getCheckBoxMenuItemIcon)
9547         (getRadioButtonMenuItemIcon)
9548         (createEmptyFrameIcon): Return DummyIcons, not null.
9549         (getCheckBoxIcon): Implement an icon that looks like sun's.
9550         (getRadioButtonIcon): Implement an icon that looks like sun's.
9551         * javax/swing/plaf/basic/BasicLookAndFeel.java 
9552         (initComponentDefaults): Fix impossible values, add some missing.
9553         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9554         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9555         Remove most dead/wrong methods.
9556         (icon): New field.
9557         (getDefaultIcon): New method.
9558         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9559         Remove most dead/wrong methods.
9560         * javax/swing/plaf/metal/MetalLookAndFeel.java
9561         (getDefaults): Return super.getDefaults(), not BasicDefaults.
9562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9563         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9564         Implement "clearing" as drawing, when on pixmap drawables.
9565
9566         * javax/swing/JButton.java (getUIClassID): 
9567         * javax/swing/JCheckBox.java (getUIClassID):
9568         * javax/swing/JEditorPane.java (getUIClassID):
9569         * javax/swing/JLabel.java (getUIClassID): 
9570         * javax/swing/JList.java (getUIClassID): 
9571         * javax/swing/JOptionPane.java (getUIClassID): 
9572         * javax/swing/JPanel.java (getUIClassID): 
9573         * javax/swing/JPasswordField.java (uiClassID): 
9574         * javax/swing/JRadioButton.java (getUIClassID): 
9575         * javax/swing/JRootPane.java (getUIClassID): 
9576         * javax/swing/JScrollPane.java (getUIClassID): 
9577         * javax/swing/JTabbedPane.java (getUIClassID): 
9578         * javax/swing/JToggleButton.java (getUIClassID): 
9579         * javax/swing/JTree.java (getUIClassID): 
9580         * javax/swing/JViewport.java (getUIClassID): 
9581         * javax/swing/text/JTextComponent.java (getUIClassID):
9582         Return "fooUI" not "Jfoo"
9583
9584 2004-02-11  Michael Koch  <konqueror@gmx.de>
9585
9586         * java/net/DatagramSocket.java
9587         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9588         Boolean object.
9589         (setBroadcast): Likewise.
9590         * java/net/MulticastSocket.java
9591         (setLoopbackMode): Likewise.
9592         * java/net/ServerSocket.java
9593         (setReuseAddress): Likewise.
9594         * java/net/Socket.java
9595         (setTcpNoDelay): Likewise.
9596         (setSoLinger): Likewise.
9597         (setOOBInline): Likewise.
9598         (setKeepAlive): Likewise.
9599         (setReuseAddress): Likewise.
9600         * java/net/URLConnection.java
9601         (setContentHandler): Replace == with equals().
9602         * java/net/URLStreamHandler.java
9603         (hostSEquals): Fix checking host addresses.
9604         (toExternalForm): Dont check protocol for null. We know already its
9605         not null.
9606
9607 2004-02-10  David Jee  <djee@redhat.com>
9608
9609         * java/awt/BorderLayout.java
9610         (calcCompSize): Invisible components get zero dimensions.
9611         * java/awt/Button.java
9612         (setLabel): Set actionCommand.
9613         * java/awt/Component.java
9614         (show): Invalidate component and parent container.
9615         (hide): Likewise.
9616
9617 2004-02-10  David Jee  <djee@redhat.com>
9618
9619         * java/awt/GridBagLayout.java
9620         (GridBagLayout): New private field, internalcomptable.
9621         (lookupInternalConstraints): New method.
9622         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9623         (GetLayoutInfo): Reimplement.
9624         (calcCellSizes): Ignore rows/columns with size 0.
9625
9626 2004-02-10  Michael Koch  <konqueror@gmx.de>
9627
9628         * gnu/java/awt/EmbeddedWindow.java
9629         (setHandle): Use java.awt.Component.getPeer() instead of
9630         java.awt.Component.peer directly.
9631
9632 2004-02-10  David Jee  <djee@redhat.com>
9633
9634         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9635         (gtkSetLabel): New native method definition.
9636         (setLabel): Use gtkSetLabel.
9637         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9638         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9639
9640 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
9641
9642         * include/powerpc-signal.h: Revert 2004-01-21 change.
9643         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
9644         from syscall for ppc32 versions.
9645
9646 2004-02-08  Per Bothner  <per@bothner.com>
9647
9648         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
9649         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
9650         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
9651         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
9652         Pass ByteOrder parameter to most methods, since the underlying
9653         ByteBuffer's order isn't always what we should use.
9654         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
9655         * java/nio/DirectByteBufferImpl.java:  Likewise.
9656         Use ByteBufferHelper methods.
9657         * java/nio/MappedByteBufferImpl.java:  Likewise.
9658         (compact):  Use shiftDown.
9659         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
9660         (get, put):  Use ByteBufferHelper.
9661         (compact):  Use new shiftDown method.
9662         (duplicate(boolean)):  New helper method.
9663         (duplicate, asReadOnlyBuffer):  Use it.
9664         (order):  Return endian field.
9665         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9666         * java/nio/FloatViewBufferImpl.java:  Likewise.
9667         * java/nio/IntViewBufferImpl.java:  Likewise.
9668         * java/nio/LongViewBufferImpl.java:  Likewise.
9669         * java/nio/ShortViewBufferImpl.java:  Likewise.
9670         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
9671         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
9672         (compact):  Re-implement using shiftDown.
9673
9674 2004-02-08  Andreas Jaeger  <aj@suse.de>
9675
9676         * include/x86_64-signal.h: Fix typo.
9677
9678 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
9679
9680         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9681         qualifier to _regs.
9682         (HANDLE_DIVIDE_OVERFLOW): Likewise.
9683
9684 2004-02-06  Michael Koch  <konqueror@gmx.de>
9685
9686         * java/io/ObjectInputStream.java
9687         (currentClassLoader): Reverted to old version of this method.
9688
9689 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
9690
9691         * java/io/ObjectInputStream.java: Made all calls
9692         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9693         use cached info from ObjectStreamClass. (readClassDescriptor):
9694         Cache more information in ObjectStreamClass. (processResolution,
9695         readFields): Use cached info from ObjectStreamClass.
9696         (newObject): Throw exception instead of returning null for failure.
9697         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9698         setCharField, setDoubleField, setFloatField, setIntField,
9699         setLongField, setShortField, setObjectField, readObjectParams):
9700         Removed. (dumpElement, dumpElementln): Removed dump flag condition
9701         check.
9702         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9703         (setClass): Added call to cacheMethods() (findMethod): New method.
9704         (cacheMethods): New method. (ObjectStreamClass): Added call to
9705         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9706         AccessController.doPrivileged to invoke setAccessible.
9707         (readObjectMethod, readResolveMethod, realClassIsSerializable,
9708         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9709         New fields.
9710         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9711         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9712         isPrimitive): Made safe for cases where type == null.
9713         (setBooleanField, setByteField, setCharField, setShortField,
9714         setIntField, setLongField, setFloatField, setDoubleField,
9715         setObjectField): New methods.
9716
9717 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
9718
9719         * java/awt/Component.java (getFont): Return a default font
9720         instead of null.
9721
9722         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9723         (Scrollbar (int, int, int, int, int)): Make default page
9724         increment 10.
9725         (setValues): Only call peer.setValues if one of the values has
9726         changed.
9727         (generateName): New method.
9728         (getUniqueLong): New method.
9729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9730         (range_scrollbar): Remove structure.
9731         (post_adjustment_event): Remove function.
9732         (post_change_event): Accept jobject argument.
9733         (create): Cast jints to gdoubles.  Round scrollbar values to the
9734         nearest integer.  Clamp min, max and value settings.
9735         (connectJObject): Connect hook to widget->window.
9736         (connectSignals): Remove range_scrollbar structure variables.
9737         Remove "move-slider" connection.  Pass global peer reference to
9738         "value-changed" callback.
9739         (setLineIncrement): Cast jint value to gdouble.
9740         (setPageIncrement): Likewise.
9741         (setValues): Likewise.  Clamp min, max and value settings.
9742
9743 2004-02-05  Michael Koch  <konqueror@gmx.de>
9744
9745         * javax/swing/AbstractCellEditor.java
9746         (getCellEditorValue): Removed.
9747         * javax/swing/Box.java: Reformated.
9748         (serialVersionUID): New field.
9749         * javax/swing/ButtonGroup.java:
9750         Removed some weird whitespace.
9751         * javax/swing/CellEditor.java: Reformated.
9752         * javax/swing/CellRendererPane.java
9753         (serialVersionUID): New field.
9754         (AccessibleCellRendererPaneserialVersionUID): New field.
9755         * javax/swing/DefaultListModel.java
9756         (serialVersionUID): New field.
9757         * javax/swing/JEditorPane.java
9758         (serialVersionUID): New field.
9759         (setPage): Throws IOException.
9760         (addHyperlinkListener): Implemented.
9761         (removeHyperlinkListener): Implemented.
9762         (getHyperlinkListener): New method.
9763         * javax/swing/JFileChooser.java
9764         (serialVersionUID): New field.
9765         (AccessibleJFileChooser.serialVersionUID): New field.
9766         (addActionListener): Implemented.
9767         (removeActionListener): Implemented.
9768         (getActionListeners): New method.
9769         * javax/swing/JFormattedTextField.java
9770         (serialVersionUID): New field.
9771         (AbstractFormatter.serialVersionUID): New field.
9772         (clone): Throws CloneNotSupportedException
9773         (setEditValid): Add missing argument.
9774         (stringToValue): Throws ParseExcpetion.
9775         (valueToString): Throws ParseException.
9776         (commitEdit): Throws ParseException.
9777         * javax/swing/JLabel.java
9778         (serialVersionUID): New field.
9779         * javax/swing/JList.java
9780         (serialVersionUID): New field.
9781         (addListSelectionListener): Reformated.
9782         (removeListSelectionListener): Reformated.
9783         (getListSelectionListeners): New method.
9784         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9785         Reformated.
9786         (serialVersionUID): New field.
9787         * javax/swing/table/AbstractTableModel.java
9788         (getValueAt): Removed.
9789         (getColumnCount): Removed.
9790         (getRowCount): Removed.
9791
9792 2004-02-05  Michael Koch  <konqueror@gmx.de>
9793
9794         * java/awt/datatransfer/DataFlavor.java
9795         (imageFlavor): Javadoc added.
9796         (javaJVMLocalObjectType): Fixed.
9797
9798 2004-02-05  Michael Koch  <konqueror@gmx.de>
9799
9800         * java/lang/Thread.java
9801         (Thread): Reordered.
9802         (setContextClassLoader): Fixed javadoc comment.
9803         (setPriority): Reordered.
9804         (yield): Reordered.
9805         (initialize_native): Reordered.
9806         (gen_name): Reordered.
9807
9808 2004-02-05  Michael Koch  <konqueror@gmx.de>
9809
9810         * java/lang/Thread.java: Reordered fields, reformated much code,
9811         no functional changes, some variables renamed, javadoc comments
9812         merged.
9813
9814 2004-02-05  Michael Koch  <konqueror@gmx.de>
9815
9816         * java/util/zip/Deflater.java,
9817         java/util/zip/DeflaterOutputStream.java,
9818         java/util/zip/GZIPInputStream.java:
9819         Reformated and javadoc comments merged from classpath.
9820
9821 2004-02-05  Michael Koch  <konqueror@gmx.de>
9822
9823         * gnu/java/nio/NIOServerSocket.java
9824         (impl): Unused, removed.
9825         * gnu/java/nio/SocketChannelImpl.java
9826         (finnishConnect): Don't throw NoConnectionPendingException if not
9827         connected or no connection pending.
9828
9829 2004-02-02  Graydon Hoare  <graydon@redhat.com>
9830
9831         * javax/swing/SwingUtilities.java: Many new functions.
9832         * java/awt/Container.java (LightweightDispatcher): Reimplement.
9833         * javax/swing/basic/BasicGraphicsUtils.java 
9834         (getPreferredButtonSize): Start layout from top-left corner.
9835
9836 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
9837
9838         * java/awt/geom/AffineTransform.java: 
9839         Corrected comments on the field definitions for
9840         m11 and m10.
9841         (shear): Fixed few errors that caused shear
9842         transformation to be performed incorrectly.
9843         (createInverse): Fixed to return correct
9844         inverse of the given matrix.
9845
9846 2004-02-03  Tom Tromey  <tromey@redhat.com>
9847
9848         * java/lang/natPosixProcess.cc (startProcess): Handle case where
9849         PATH or LD_LIBRARY_PATH is not set in parent environment.
9850
9851 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
9852
9853         * gnu/java/awt/peer/gtk/GtkListPeer.java,
9854         java/awt/BorderLayout.java, java/awt/CardLayout.java,
9855         java/awt/CheckboxGroup.java, java/awt/Choice.java,
9856         java/awt/Component.java, java/awt/Container.java,
9857         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9858         java/awt/LayoutManager2.java, java/awt/List.java,
9859         java/awt/Menu.java, java/awt/MenuBar.java,
9860         java/awt/MenuItem.java, java/awt/Polygon.java,
9861         java/awt/Rectangle.java, java/awt/ScrollPane.java,
9862         java/awt/Scrollbar.java, java/awt/TextArea.java,
9863         java/awt/TextField.java,
9864         java/awt/image/renderable/RenderContext.java,
9865         javax/swing/JApplet.java: Fix handling of alias methods, where a
9866         method has been deprecated in favour of a new one with the same
9867         funtion but a different name.  Put the method implementation in
9868         the deprecated method and have the new method call the
9869         deprecated one.  Make all other code call the new method.
9870
9871 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
9872
9873         * gnu/java/nio/DatagramChannelImpl.java
9874         (inChannelOperation): New field.
9875         (isInChannelOperation): New accessor.
9876         (setInChannelOperation): New modifier.
9877         (receive): Use capacity() - position() of destination
9878         buffer instead of remaining(). Set and reset our "in
9879         channel operation indicator" before and after delegating
9880         the receive to our datagram socket. Removed testing code.
9881         Update destination buffer's current position if it is
9882         backed by a byte array (hasArray() is true).
9883         (send): Set and reset our "in channel operation indicator"
9884         before and after delegating the send to our datagram socket.
9885         Removed testing code. Update source buffer's current position
9886         if it is backed by a byte array (hasArray() is true).
9887         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9888         Use capacity() - position() of destination buffer instead
9889         of remaining().
9890         * java/net/DatagramSocket.java (receive): Don't throw an
9891         IllegalBlockingModeException if we have a non-blocking
9892         channel which initiated this operation.
9893         (send): Likewise.
9894
9895 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
9896
9897         * configure.in: Add pkgconfig check for glib and gthread.
9898         * configure: Regenerate.
9899
9900 2004-02-01  Michael Koch  <konqueror@gmx.de>
9901
9902         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9903         arguments.
9904         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9905         * verify.cc (debug_print): Mark 'fmt' unused.
9906
9907 2004-01-30  Michael Koch  <konqueror@gmx.de>
9908
9909         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9910         * configure: Regenerated.
9911         * glib-2.0.m4: Removed.
9912         * gtk-2.0.m4: Removed.
9913         * libart.m4: Removed.
9914         * pkg.m4: New file.
9915
9916 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
9917
9918         * gnu/java/net/PlainSocketImpl.java 
9919         (inChannelOperation): New field.
9920         (isInChannelOperation): New accessor.
9921         (setInChannelOperation): New modifier.
9922         * gnu/java/nio/ServerSocketChannelImpl.java
9923         (accept): Set and reset our server socket's PlainSocketImpl's
9924         "in channel operation" indicator before and after delegating
9925         the accept to our server socket.
9926         * gnu/java/nio/SocketChannelImpl.java
9927         (connect): Set and reset our socket's PlainSocketImpl's "in channel
9928         operation" indicator before and after delegating the operation to
9929         our socket.
9930         (read): Likewise.
9931         (write): Likewise.
9932         * java/net/ServerSocket.java (implAccept): Don't throw an
9933         IllegalBlockingModeException if we have a non-blocking
9934         channel which initiated this accept operation.
9935         * java/net/Socket.java (connect): Don't throw an
9936         IllegalBlockingModeException if we have a non-blocking
9937         channel which initiated this connect operation.
9938         * java/nio/channels/spi/AbstractSelectableChannel.java
9939         (configureBlocking): Only call implConfigureBlocking() if
9940         the desired blocking mode is different from our current one.
9941
9942 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
9943
9944         * java/io/BufferedReader.java (sbuf): New field.
9945         (readLine): Use String.valueOf instead of new String() as per
9946         Per Bothner's suggestion. Use instance sbuf field instead of a
9947         local StringBuffer instance.
9948         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9949         caller's buffer to refill().
9950         (read(void)): Pass our internal work buffer to refill if our
9951         input queue is empty.
9952         (refill): Changed return type to int. Use the specified buffer
9953         instead of our work buffer as per Bryce McKinlay's suggestion.
9954         Return the number of characters read or -1 for EOF.
9955
9956 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9957
9958         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9959
9960 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9961
9962         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9963         * Makefile.in: Re-generated.
9964         * gnu/awt/xlib/XFontPeer.java: New file.
9965         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9966         (setClip): Commented out debug printout.
9967         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9968         (getFontPeer): Return XFontPeer.
9969         (getLocalGraphicsEnvironment): New method.
9970         (getClasspathFontPeer): New method.
9971         (createFont): New method.
9972
9973 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9974
9975         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9976         return null. 
9977
9978 2004-01-29  Kim Ho  <kho@redhat.com>
9979
9980         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9981         (gtkLayoutSetVisible): New method
9982         (setMenuBar): Hide layout before setting MenuBar
9983         and reshow it after.
9984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9985         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9986
9987 2004-01-28  Michael Koch  <konqueror@gmx.de>
9988
9989         * gnu/java/lang/ClassHelper.java
9990         (getPackagePortion): Removed.
9991
9992 2004-01-28  Michael Koch  <konqueror@gmx.de>
9993
9994         * javax/swing/JComponent.java
9995         (listenerList): Initalize globally.
9996         (ancestor_list): Removed.
9997         (veto_list): Removed.
9998         (change_list): Removed.
9999         (get_veto_list): Removed.
10000         (get_change_list): Removed.
10001         (get_ancestor_list): Removed.
10002         (removeAncestorListener): Reimplemented.
10003         (removePropertyChangeListener): Likewise.
10004         (removeVetoableChangeListener): Likewise.
10005         (addAncestorListener): Likewise.
10006         (addPropertyChangeListener): Likewise.
10007         (addVetoableChangeListener): Likewise.
10008         (getListeners): New method.
10009         (getAncestorListeners): Likewise.
10010         (getVetoableChangeListeners): Likewise.
10011         (fireVetoableChange): Throws PropertyVetoException.
10012         * javax/swing/JEditorPane.java
10013         (JEditorPane): Throws IOException.
10014
10015 2004-01-28  David Jee  <djee@redhat.com>
10016
10017         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10018         (create): Set the default foreground color to
10019         java.awt.SystemColor.windowText.
10020
10021 2004-01-27  Michael Koch  <konqueror@gmx.de>
10022
10023         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10024         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10025         Reindented to merge with classpath.
10026
10027 2004-01-27  David Jee  <djee@redhat.com>
10028
10029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10030         (addExposeFilter): Handle GtkFramePeer separately.
10031         (removeExposeFilter): Likewise.
10032
10033 2004-01-27  Michael Koch  <konqueror@gmx.de>
10034
10035         * gnu/java/net/protocol/http/Connection.java
10036         (getOutputStream): Fixed typo.
10037
10038 2004-01-27  Michael Koch  <konqueror@gmx.de>
10039
10040         * java/lang/Class.java
10041         (getConstructor): Removed SecurityException from throws clause.
10042         (_getConstructors): Likewise.
10043         (getConstructors): Likewise.
10044         (getDeclaredConstructor): Likewise.
10045         (getDeclaredClasses): Likewise.
10046         (getDeclaredConstructors): Likewise.
10047         (getDeclaredField): Likewise.
10048         (getDeclaredMethod): Likewise.
10049         (getDeclaredMethods): Likewise.
10050         (getField): Likewise.
10051         (getMethod): Likewise.
10052         (getMethods): Likewise.
10053
10054 2004-01-27  Kim Ho  <kho@redhat.com>
10055
10056         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10057         (removeMenuBarPeer): Remove MenuBarPeer argument.
10058         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10059         (dispose): Call native method.
10060         * java/awt/Frame.java (setMenuBar): Create and remove
10061         MenuBar peers only if the Frame has a peer.
10062         (addNotify): Create the MenuBar peer if one exists.
10063         (removeNotify): Remove MenuBar peer if one exists.
10064         * java/awt/Menu.java: Fix imports.
10065         (addNotify): Don't use full class name.
10066         (removeNotify): Call removeNotify on all children.
10067         * java/awt/MenuBar.java (removeNotify): Call
10068         removeNotify on all children.
10069         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10070         (removeMenuBarPeer): Remove MenuBarPeer argument.
10071         Iterate through children to find the Frame's MenuBar.
10072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10073         New file.
10074         (dispose): Remove references to the MenuComponent.
10075
10076 2004-01-27  Michael Koch  <konqueror@gmx.de>
10077
10078         * javax/swing/AbstractCellEditor.java: Reformated.
10079         * javax/swing/DefaultListSelectionModel.java
10080         (listenerList): Made protected.
10081         (addListSelectionListener): Javadoc added.
10082         (removeListSelectionListener): Likewise.
10083         (getListeners): Likewise.
10084         (getListSelectionListeners): Likewise.
10085         * javax/swing/JComboBox.java: Merged copyright year.
10086         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10087
10088 2004-01-26  Andrew Haley  <aph@redhat.com>
10089
10090         * javax/swing/table/JTableHeader.java: Extend JComponent
10091
10092 2004-01-26  Kim Ho  <kho@redhat.com>
10093
10094         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10095         Fix spacing.
10096
10097 2004-01-26  Kim Ho  <kho@redhat.com>
10098
10099         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10100         method.
10101         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10102         height and let the Layout Managers readjust anything that
10103         needs to move.
10104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10105         (moveLayout): New method. Shift everything in the Gtk
10106         layout in the Y direction by an offset.
10107
10108 2004-01-26  David Jee  <djee@redhat.com>
10109
10110         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10111         (handleEvent): Implemented. Handles PaintEvents.
10112         (paint): Implemented. Use GTK native methods to queue updates
10113         for this heavyweight peer.
10114         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10115         (handleEvent): Removed.
10116         * java/awt/Component.java
10117         (paint): Implemented. Explictly paint the heavyweight peer.
10118         (update): Clear the background for heavyweight components.
10119         (paintAll): No need to call peer.paint() anymore.
10120         (processEvent): Don't process PaintEvents here. It's now done in
10121         the peer's handleEvent().
10122         (processPaintEvent): Removed.
10123         * java/awt/Container.java
10124         (paint): No need to call super.paint(). Visit heavyweight
10125         children as well.
10126         (update): Don't clear the background here.  It's done in
10127         Component.update().
10128         (visitChildren): Added check to not recurse into Containers.
10129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10130         (filter_expose_event_handler): New method.  Filter unwanted
10131         expose events while painting heavyweight peers.
10132         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10133         New method. Connect filter and block pre_event_handler.
10134         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10135         New method. Disconnect filter and unblock pre_event_handler.
10136         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10137         New method. Invalidate and update given area.
10138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10139         (pre_event_handler): Add checks for unwanted expose events.
10140
10141 2004-01-26  David Jee  <djee@redhat.com>
10142
10143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10144         (find_bg_color_widget): For GtkButton, return its child.
10145
10146 2004-01-26  Kim Ho  <kho@redhat.com>
10147
10148         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10149         private.
10150         (setMenuBar): Grab MenuBar height and change insets.
10151         (setBounds): Account for MenuBar height.
10152         (postInsetsChangedEvent): Ditto.
10153         (postSizeAllocateEvent): Remove.
10154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10155         (menubar_resize_cb): Remove
10156         (setMenuBarPeer): Remove callback.
10157         (getMenuBarHeight): Use size requisition instead of
10158         allocation.
10159
10160 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10161
10162         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10163         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10164         when peer is null.
10165         (setColumns): Remove FIXME -- peer will retrieve number of
10166         columns by calling getColumns.
10167         (setRows): Likewise for number of rows.
10168         (next_text_number): New field.
10169         (paramString): Fix param string.
10170         (generateName): New method.
10171         (getUniqueLong): New method.
10172
10173 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10174
10175         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10176         image observer of image loading status.
10177         (getImage (String)): Start image production.
10178         (getImage (URL)): Likewise.
10179
10180 2004-01-25  Michael Koch  <konqueror@gmx.de>
10181
10182         * java/lang/Class.java: Imports reworked, reformated.
10183         (Class): Javadoc added.
10184         (forName): Likewise.
10185         (getClasses): Likewise.
10186         (getClassLoader): Likewise.
10187         (getComponentType): Likewise.
10188         (getConstructor): Likewise.
10189         (getConstructors): Likewise.
10190         (getDeclaredConstructor): Likewise.
10191         (getDeclaredClasses): Likewise.
10192         (getDeclaredConstructors): Likewise.
10193         (getDeclaredField): Likewise.
10194         (getDeclaredMethod): Likewise.
10195         (getDeclaredMethods): Likewise.
10196         (getDeclaringClass): Likewise.
10197         (getField): Likewise.
10198         (getInterfaces): Likewise.
10199         (getMethod): Likewise.
10200         (getMethods): Likewise.
10201         (getModifiers): Likewise.
10202         (getName): Likewise.
10203         (getResource): Likewise.
10204         (getResourceAsStream): Likewise.
10205         (getSigners): Likewise.
10206         (setSigners): Likewise.
10207         (getSuperclass): Likewise.
10208         (isArray): Likewise.
10209         (isAssignableFrom): Likewise.
10210         (isInstance): Likewise.
10211         (isInterface): Likewise.
10212         (isPrimitive): Likewise.
10213         (newInstance): Likewise.
10214         (getProtectionDomain): Likewise.
10215         (toString): Likewise.
10216         (Class): Moved.
10217         (initializeClass): Likewise.
10218         (finalize): Likewise.
10219
10220 2004-01-24  Michael Koch  <konqueror@gmx.de>
10221
10222         * gnu/java/net/protocol/jar/Connection.java
10223         (hdrHash): Removed.
10224         (hdrVec): Removed.
10225         (gotHeaders): Removed.
10226         (getHeaderField): Removed.
10227         (getHeaderFields): Removed.
10228         (getHeaderFieldKey): Removed.
10229         (getKey): Removed.
10230         (getField): Removed.
10231         (getHeaders): Removed.
10232
10233 2004-01-24  Michael Koch  <konqueror@gmx.de>
10234
10235         * Makefile.am: Added library version to gtk peer lib.
10236         * Makefile.in: Regenerated.
10237
10238 2004-01-24  Michael Koch  <konqueror@gmx.de>
10239
10240         * java/util/zip/InflaterInputStream.java: Merged class documentation
10241         with classpath.
10242
10243 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10244
10245         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10246         header.  For __powerpc64__ provide the default-signal.h definitions
10247         for now.
10248         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10249         instead of the dummy definitions.
10250         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10251         (powerpc64*-*): Remove with_libffi_default.
10252         Only add -mminimal-toc for 64-bit compilations.
10253         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10254         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10255         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10256         * configure: Rebuilt.
10257
10258 2004-01-23  Michael Koch  <konqueror@gmx.de>
10259
10260         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10261
10262 2004-01-23  Michael Koch  <konqueror@gmx.de>
10263
10264         * java/lang/VMClassLoader.java: Reworked imports.
10265         
10266 2004-01-23  Michael Koch  <konqueror@gmx.de>
10267
10268         * javax/swing/AbstractAction.java: Reformated.
10269
10270 2004-01-23  Michael Koch  <konqueror@gmx.de>
10271
10272         * java/text/CollationElementIterator.java:
10273         (setText): New method.
10274
10275 2004-01-23  Michael Koch  <konqueror@gmx.de>
10276
10277         * gnu/java/nio/FileLockImpl.java:
10278         Fixed filename in copyright.
10279         (released): Removed.
10280         (finalize): New method.
10281         * gnu/java/nio/natFileLockImpl.cc
10282         (releaseImpl): Implemented.
10283         * java/nio/channels/FileChannelImpl.java:
10284         Reworked imports.
10285         (lock): Implemented.
10286         (lockImpl): New method.
10287         (tryLock): Implemented.
10288         (tryLockImpl): New method.
10289         * java/nio/channels/natFileChannelImpl.cc
10290         (lockImpl): New method.
10291         (tryLockImpl): New method.
10292
10293 2004-01-23  Michael Koch  <konqueror@gmx.de>
10294
10295         * java/io/FileDescriptor.java
10296         (lock): New method.
10297         (tryLock): New method.
10298         (unlock): New method.
10299         * java/io/natFileDescriptorEcos.cc
10300         (lock): New method.
10301         (tryLock): New method.
10302         (unlock): New method.
10303         * java/io/natFileDescriptorPosix.cc
10304         (lock): New method.
10305         (tryLock): New method.
10306         (unlock): New method.
10307         * java/io/natFileDescriptorWin32.cc
10308         (lock): New method.
10309         (tryLock): New method.
10310         (unlock): New method.
10311
10312 2004-01-23  Michael Koch  <konqueror@gmx.de>
10313
10314         * java/io/FileDescriptor.java
10315         (sync): Moved around, added javadoc.
10316         (valid): Likewise.
10317         (open): Likewise.
10318         (write): Likewise.
10319         (close): Likewise.
10320         (setLength): Likewise.
10321         (seek): Likewise.
10322         (getLength): Likewise.
10323         (getFilePointer): Likewise.
10324         (read): Likewise.
10325         (available): Likewise.
10326         (finalize): Likewise.
10327
10328 2004-01-23  Michael Koch  <konqueror@gmx.de>
10329
10330         * javax/swing/AbstractAction.java: Reformated.
10331         (getPropertyChangeListeners): New method.
10332         * javax/swing/AbstractCellEditor.java: Reformated.
10333         (getCellEditorListeners): New method.
10334         * javax/swing/DefaultListSelectionModel.java
10335         (listenerList): New field.
10336         (listeners): Removed.
10337         (get_listeners): Removed.
10338         (addListSelectionListener): Rewritten.
10339         (removeListSelectionListener): Rewritten.
10340         (getListSelectionListeners): New method.
10341         (getListeners): New method.
10342         * javax/swing/JComboBox.java: Imports reworked.
10343         (addActionListener): Implemented.
10344         (removeActionListener): Implemented.
10345         (addItemListener): Implemented.
10346         (removeItemListener): Implemented.
10347         (addPopupMenuListener): Implemented.
10348         (removePopupMenuListener): Implemented.
10349         (getActionListeners): New method.
10350         (getItemListeners): New method.
10351         (getPopupMenuListeners): New method.
10352
10353 2004-01-23  Michael Koch  <konqueror@gmx.de>
10354
10355         * gnu/java/net/protocol/http/Connection.java
10356         (connect): Don't initialize bufferedOutputStream if not needed.
10357         (sendRequest): Set property for content length if content is present.
10358         Write content only if present.
10359         (getOutputStream): Check if already connected, dont connect,
10360         initalize bufferedOutputStream if needed.
10361
10362 2004-01-23  Michael Koch  <konqueror@gmx.de>
10363
10364         * java/io/FileDescriptor.java
10365         (in, out, err): Added javadoc.
10366         (static): Merged loading code.
10367         (fd, position): Moved around.
10368
10369 2004-01-23  Michael Koch  <konqueror@gmx.de>
10370
10371         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10372         New file.
10373
10374 2004-01-23  Michael Koch  <konqueror@gmx.de>
10375
10376         * java/lang/Class.java,
10377         java/lang/Object.java,
10378         java/lang/Thread.java: Merged copyright with classpath.
10379
10380 2004-01-23  Michael Koch  <konqueror@gmx.de>
10381
10382         * java/io/FileDescriptor.java: Merged copyright with classpath to
10383         start merging this class.
10384
10385 2004-01-22  Tom Tromey  <tromey@redhat.com>
10386
10387         PR libgcj/13107:
10388         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10389         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10390         * testsuite/libjava.lang/pr13107_3.java: New file.
10391         * testsuite/libjava.lang/pr13107_3.out: New file.
10392         * testsuite/libjava.lang/pr13107_2.java: New file.
10393         * testsuite/libjava.lang/pr13107_2.out: New file.
10394         * testsuite/libjava.lang/pr13107.java: New file.
10395         * testsuite/libjava.lang/pr13107.out: New file.
10396         * verify.cc (jsr_ptrs): Removed.
10397         (entry_points): Likewise.
10398         (struct subr_info): Likewise.
10399         (struct subr_entry_info): Likewise.
10400         (type_val::unused_by_subroutine_type): Likewise.
10401         (type::merge): Don't handle unused_by_subroutine_type.
10402         (type::print): Likewise.
10403         (state::flags): Removed.
10404         (state::subroutine): Likewise.
10405         (state::seen_subrs): Likewise.
10406         (state::NO_STACK): Likewise.
10407         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10408         (state): Updated all methods.
10409         (state::clean_subrs): Removed.
10410         (state::state): Removed `ret_semantics' flag.
10411         (state::copy): Likewise.
10412         (state::add_subr): Removed.
10413         (state::enter_subroutine): Likewise.
10414         (type::set_return_address): New method.
10415         (handle_jsr_insn): Set return address on the type.  Always
10416         invalidate PC after call.
10417         (check_nonrecursive_call): Removed.
10418         (~_Jv_BytecodeVerifier): Updated.
10419         (branch_prepass): Removed special handling of jsr.
10420         (note_branch_target): Likewise.
10421         (get_subroutine): Removed.
10422         (state::merge): Don't merge subroutines and don't handle
10423         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
10424         (state::note_variable): Removed.
10425         (state::is_unmerged_ret_state): Likewise.
10426         (state::print): Updated.
10427         (set_variable): Likewise.
10428         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
10429         and jsr_semantics arguments.  Updated for new reverification
10430         list.
10431         (pop_jump): Rewrote.
10432         (construct_primitive_array_type): Updated.
10433         (state::next): Removed.
10434         (INVALID_STATE): New define.
10435         (state::INVALID): Removed.
10436         (state::NO_NEXT): New value.
10437         (state::pc, state::next): New fields.
10438         (state::get_pc): New method.
10439         (next_verify_pc): Removed.
10440         (next_verify_state): New field.
10441         (verify_instructions_0): Always check for falling off end.
10442         (linked): New type.
10443         (linked_utf8): Removed.
10444         (states): Changed type.
10445         (type::state_mergeable_p): New method.
10446         (state::state_mergeable_p): Likewise.
10447         (handle_ret_insn): Removed most code.
10448         (state::reverify): New method.
10449         (add_new_state): Likewise.
10450         (state::set_pc): Likewise.
10451
10452 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
10453
10454         PR java/13733
10455         * testsuite/libjava.compile/PR13733.java: New file.
10456         * testsuite/libjava.compile/PR13733.xfail: New file.
10457
10458 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
10459             Michael Koch  <konqueror@gmx.de>
10460
10461         * javax/swing/table/DefaultTableCellRenderer.java
10462         (DefaultTableCellRenderer): Added javadoc for the class and for
10463         the constructor, Border instance, create an EmptyBorder.
10464         (UIResource): Removed the comment at the end of the class
10465         (setForeground): New method.
10466         (setBackground): New method.
10467         (updateUI): New method.
10468         (getTableCellRendererComponent): Rewritten with the help of
10469         dvholten and Stephane Meslin-Weber.
10470         (validate): New method.
10471         (repaint): New method.
10472         (firePropertyChange): New method.
10473         (setValue): New method.
10474
10475 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
10476
10477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10478         (connectJObject): Replace printf calls with g_assert statements.
10479         Move property-notify-event signal connection to ...
10480         (connectSignals): Connect property-notify-event signal.  Iterate
10481         through the vbox's children to find layout.
10482
10483 2004-01-22  Graydon Hoare  <graydon@redhat.com>
10484         
10485         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
10486         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10487         Predicate static initialization on GtkToolkit.useGraphics2D().
10488         * java/awt/Component.java (processPaintEvent): Consume event.
10489         * javax/swing/AbstractButton.java: Reimplement, document.
10490         * javax/swing/DefaultButtonModel.java: Reimplement, document.
10491         * javax/swing/JComponent.java (paint): Use double buffer.
10492         (listenerList): Enable member.
10493         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10494         * javax/swing/JToggleButton.java 
10495         (JToggleButton): Modify model constructor.
10496         * javax/swing/SwingUtilities.java 
10497         (layoutCompoundLabel): Adjust arithmetic.
10498         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10499         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10500         (getPreferredButtonSize): Include margins in calculation.
10501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10502         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10503         Receive up events from subordinate layout component.
10504
10505 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
10506
10507         * java/awt/Component.java (show): Set visible to true before
10508         showing the peer.
10509
10510 2004-01-21  Kim Ho  <kho@redhat.com>
10511
10512         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10513         Fix comments.
10514         (removeMenuBarPeer): Make package private.
10515         (setMenuBarPeer): Make package private.
10516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10517         (menubar_resize_cb): Mark attributes unused.
10518         (getMenuBarHeight): ditto.
10519
10520 2004-01-21  David Jee  <djee@redhat.com>
10521
10522         * java/awt/Container.java
10523         (LightweightDispatcher.handleEvent): Add an extra check to avoid
10524         dispatching MOUSE_ENTERED event twice. Translate the point for
10525         the mouse event target before dispatching the event.
10526
10527 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
10528
10529         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10530         lib_org_w3c_dom_la_LDFLAGS): New.
10531         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10532         * Makefile.in: Rebuilt.
10533
10534 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
10535
10536         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10537         Calculate proper offsets for heavyweight components packed in
10538         lightweight containers.
10539
10540         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10542         (native create): Add width parameter.
10543         (create): Calculate text entry width based on current font's
10544         metrics and number of columns.  Set TextField's font if not
10545         already set.  Call native create.
10546         (gtkEntryGetBorderWidth): New native method.
10547         (gtkEntryGetSize): Remove method.
10548         (getMinimumSize): Call minimumSize.
10549         (getPreferredSize): Call preferredSize.
10550         (minimumSize): Calculate minimum size based on backing
10551         GtkEntry's borders, font metrics and number of columns.
10552         (preferredSize): Likewise for preferred size.
10553         (get_border_width): New static function.
10554
10555         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10556         Override GtkWindowPeer's setResizable method to account for menu
10557         bar height when setting the frame's size.
10558
10559 2004-01-19  Matthias Klose  <doko@debian.org>
10560
10561         * libtool-version: Increased `current' to 6.
10562
10563 2004-01-19  Kim Ho  <kho@redhat.com>
10564
10565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10566         (connectJObject): Iterate through the vbox's children to find layout.
10567
10568 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10569
10570         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10571         isDispatchThread method to replace wrong test condition.
10572
10573 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10574
10575         * java/awt/EventQueue.java (pop): Prevent racing condition to add
10576         events to the queue out of order by acquiring locks in the proper
10577         order and not by releasing one before acquiring the other.
10578
10579 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10580
10581         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10582         visible so that dialog can be reused.
10583
10584 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10585
10586         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10587         events may be handled by any queue in the stack.
10588
10589 2004-01-19  Kim Ho  <kho@redhat.com>
10590
10591         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10592         MenuBarPeer parameter.
10593         (removeMenuBarPeer): New native method.
10594         (setMenuBar): Call remove if menu bar is null. Adjust insets
10595         appropriately.
10596         (postSizeAllocateEvent): New method. Called when menu bar size is
10597         allocated. Adjust insets and redo layout.
10598         (GtkFramePeer): Set menu bar during frame creation.
10599         (postConfigureEvent): Adjust position and size to accomodate
10600         menu bar.
10601         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10602         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10603         (addNotify): Create the peer if it doesn't exist and call addNotify
10604         for the menu's items.
10605         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10606         * java/awt/MenuItem.java (addNotify): Create the peer if it
10607         doesn't exist.
10608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10609         (removeMenuBarPeer): New method. Remove menu bar on the current
10610         frame.
10611         (setMenuBarPeer): Add the menu bar to the current frame and the
10612         callback for size-allocate events on the menu bar.
10613         (getMenuBarHeight): Add menu bar parameter.
10614         (menubar_resize_cb): New callback method for postSizeAllocate events.
10615
10616         Also: Fix indentation on last ChangeLog entry.
10617
10618 2004-01-16  Kim Ho  <kho@redhat.com>
10619
10620         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10621         (gtkWidgetGetDimensions): Remove.
10622         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10623         (gtkWidgetGetDimensions): Remove.
10624
10625 2004-01-16  Tom Tromey  <tromey@redhat.com>
10626
10627         * java/awt/Container.java: Typo and indentation fixes.
10628
10629         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10630         * java/lang/natVMClassLoader.cc: ...here.  New file.
10631         * Makefile.in: Rebuilt.
10632         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10633
10634 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10635
10636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10637         Discard GDK_ENTER_NOTIFY related to ungrabs.
10638
10639 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10640
10641         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10642         is called for an intermediate queue.
10643
10644 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
10645
10646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10647         (window_property_changed_cb): Set id_set.
10648
10649 2004-01-16  Kim Ho  <kho@redhat.com>
10650
10651         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10652         it is a FileDialog and has dimensions of 0 by 0, then the initial
10653         size is set to size request plus insets.
10654         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10655         (gtkWidgetGetDimensions): Override method.
10656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10657         (gtkWidgetGetDimensions): Override method. Returns size request plus
10658         insets.
10659
10660 2004-01-16  Andrew Haley  <aph@redhat.com>
10661
10662         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10663         * sysdep/i386/locks.h: Likewise.
10664
10665 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10666
10667         * java/awt/EventDispatchThread.java (run): Stop running when
10668         interrupted.
10669         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10670         Reset the queue after transferring its contents.
10671         (push): Start a new dispatch thread if none is running.
10672
10673 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10674
10675         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10676         (doPolygon): set fill rule of polygon to 
10677         WIND_EVEN_ODD by default.
10678
10679 2004-01-15  Olga Rodimina <rodimina@redhat.com>
10680
10681         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10682         Implemented rendering hints related methods.
10683         (getDefaultHints): New helper method. Returns
10684         default rendering hints.
10685         (walkPath): changed to normalize path if
10686         the KEY_STROKE_CONTROL key is in "normalize" mode.
10687         (draw3DRect): changed coordinates of rectangle by +0.5
10688         if in "normalize" mode.
10689
10690 2004-01-15  Tom Tromey  <tromey@redhat.com>
10691
10692         * Makefile.in: Rebuilt.
10693         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10694         (%.lo: %.java) Filter out StackTrace.lo.
10695
10696 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
10697
10698         * configure.in: Add in AC_PREREQ(2.13)
10699         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
10700         FIXME comment.
10701
10702 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
10703             Tom Tromey  <tromey@redhat.com>
10704
10705         PR libgcj/12001:
10706         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10707         array to superclass.
10708         (init): Changed interface; add URLs here.
10709         (initialize): New static method.
10710         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10711         (_Jv_RunMain): ... not here.
10712
10713 2004-01-14  Michael Koch  <konqueror@gmx.de>
10714
10715         * java/text/MessageFormat.java:
10716         Added descriptions to exceptions.
10717         This fixes PR libgcj/2429.
10718
10719 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10720
10721         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10722         (push): Make sure push is performed at the top of the thread stack.
10723
10724 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10725
10726         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10728         (native create): Add width and height parameters.  Set text
10729         view's size request according to new parameters.
10730         (create): Calculate text view size based on current font's
10731         metrics and number of rows and columns.  Set TextArea's font if
10732         not already set.  Call native create.
10733         (getMinimumSize): Call minimumSize.
10734         (getPreferredSize): Call preferredSize.
10735         (getHScrollbarHeight): New method.
10736         (getVScrollbarWidth): New method.
10737         (minimumSize): Calculate minimum size based on scrollbar
10738         visibility, scrollbar sizes, font metrics and number of rows and
10739         columns.
10740         (preferredSize): Likewise for preferred size.
10741         (gtkTextGetSize): Remove method.
10742
10743 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10744
10745         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10746         (initializeInsets): Remove method.
10747         (GtkComponentPeer): Initialize insets field.  Remove call to
10748         initializeInsets.
10749         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10750         Remove method.
10751         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10752         Remove method.
10753         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10754         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10755         (latestInsets): Remove field.
10756         (native create): Add insets parameter.  Call
10757         window_get_frame_extents.  Set the window's default size and
10758         size request based on its frame extents.
10759         (create): Initialize insets.
10760         (postInsetsChangedEvent): New method.
10761         (postConfigureEvent): Remove parameters top, left, bottom,
10762         right.  Remove insets-related logic.
10763         (connectJObject): Handle property-notify-event.
10764         (window_get_frame_extents, request_frame_extents,
10765         property_notify_predicate, window_property_changed_cb): New
10766         static functions.
10767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10768         (pre_event_handler): Remove insets-related logic for configure
10769         events.
10770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10771         Update postConfigureEvent signature.
10772
10773 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10774  
10775         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10776         to handle Window "Closing" events.
10777  
10778 2004-01-13  David Jee  <djee@redhat.com>
10779
10780         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10781         (setBackground): New method. Children with no explicitly-set
10782         background will be repainted with the parent container's new
10783         background color.
10784
10785 2004-01-13  David Jee  <djee@redhat.com>
10786
10787         * Makefile.am: Add BitwiseXORComposite.java.
10788         * Makefile.in: Regenerated.
10789         * gcj/Makefile.in: Regenerated.
10790         * include/Makefile.in: Regenerated.
10791         * testsuite/Makefile.in: Regenerated.
10792
10793 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10794
10795         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10796         not show modal dialogs twice and so that it allows showing a modal
10797         dialog from another modal dialog.
10798
10799 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10800
10801         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10802         and run secondary dispatch thread to process event queue while this
10803         thread is blocked.
10804
10805 2004-01-12  Graydon Hoare  <graydon@redhat.com>
10806
10807         * gnu/java/awt/gtk/GdkGraphics2D.java
10808         (static): Check GtkToolkit before initializing static state.
10809         (Graphics2D): Don't construct transform with 0.5 unit offset.
10810
10811 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
10812
10813         * gnu/java/awt/BitwiseXORComposite.java: Add.
10814         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10815         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10816         (BitwiseXORComposite): Remove inner class.
10817
10818 2004-01-11  Michael Koch  <konqueror@gmx.de>
10819
10820         * gnu/java/lang/reflect/TypeSignature.java
10821         (getEncodingOfClass): Documentation fixed.
10822         (getClassForEncoding): Give class loader to Class.forName().
10823         Documentation fixed.
10824
10825 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
10826
10827         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10828
10829 2004-01-11  Michael Koch  <konqueror@gmx.de>
10830
10831         * javax/swing/undo/StateEditable.java
10832         (RCSID): Removed redundant modifiers.
10833
10834 2004-01-10  Michael Koch  <konqueror@gmx.de>
10835
10836         * javax/print/attribute/EnumSyntax.java
10837         (getStringTable): Made protected.
10838         (getEnumValueTable): Likewise.
10839         * javax/print/attribute/standard/JobKOctetsProcessed.java
10840         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10841         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10842         (JobMediaSheetsCompleted): Made class final.
10843         * javax/print/attribute/standard/OutputDeviceAssigned.java
10844         (getName): Fixed typo.
10845         * javax/print/attribute/standard/RequestingUserName.java
10846         (serialVersionUID): Fixed value.
10847
10848 2004-01-10  Michael Koch  <konqueror@gmx.de>
10849
10850         * javax/swing/plaf/basic/BasicButtonUI.java,
10851         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10852         javax/swing/plaf/basic/BasicListUI.java,
10853         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10854         javax/swing/plaf/basic/BasicPanelUI.java,
10855         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10856         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10857         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10858         javax/swing/plaf/basic/BasicViewportUI.java:
10859         Fixed import statements.
10860
10861 2004-01-10  Michael Koch  <konqueror@gmx.de>
10862
10863         * gnu/java/awt/image/ImageDecoder.java
10864         (produce): Made public.
10865         * gnu/java/awt/peer/GLightweightPeer.java,
10866         gnu/java/awt/peer/gtk/GtkToolkit.java:
10867         Reformated.
10868
10869 2004-01-10  Michael Koch  <konqueror@gmx.de>
10870
10871         * javax/swing/JRadioButtonMenuItem.java,
10872         javax/swing/JSeparator.java,
10873         javax/swing/JSplitPane.java,
10874         javax/swing/JTextPane.java,
10875         javax/swing/JToolBar.java,
10876         javax/swing/ListCellRenderer.java,
10877         javax/swing/ListModel.java,
10878         javax/swing/MenuElement.java,
10879         javax/swing/OverlayLayout.java,
10880         javax/swing/ProgressMonitor.java,
10881         javax/swing/ProgressMonitorInputStream.java,
10882         javax/swing/Renderer.java,
10883         javax/swing/RootPaneContainer.java,
10884         javax/swing/Scrollable.java,
10885         javax/swing/SingleSelectionModel.java,
10886         javax/swing/ToolTipManager.java,
10887         javax/swing/ViewportLayout.java,
10888         javax/swing/event/DocumentEvent.java,
10889         javax/swing/event/SwingPropertyChangeSupport.java,
10890         javax/swing/event/TreeSelectionEvent.java,
10891         javax/swing/event/UndoableEditEvent.java,
10892         javax/swing/text/AbstractDocument.java,
10893         javax/swing/text/AttributeSet.java,
10894         javax/swing/text/Caret.java,
10895         javax/swing/text/ComponentView.java,
10896         javax/swing/text/DefaultCaret.java,
10897         javax/swing/text/DefaultEditorKit.java,
10898         javax/swing/text/Document.java,
10899         javax/swing/text/EditorKit.java,
10900         javax/swing/text/GapContent.java,
10901         javax/swing/text/Keymap.java,
10902         javax/swing/text/MutableAttributeSet.java,
10903         javax/swing/text/PlainEditorKit.java,
10904         javax/swing/text/Segment.java,
10905         javax/swing/text/Style.java,
10906         javax/swing/text/StyledDocument.java,
10907         javax/swing/text/StyledEditorKit.java,
10908         javax/swing/text/TextAction.java,
10909         javax/swing/text/View.java: Fixed import statements.
10910
10911 2004-01-08  Graydon Hoare  <graydon@redhat.com>
10912
10913         * javax/swing/JLayeredPane.java: Rewrite to accomodate
10914         djee@redhat.com's recent inverse ordering of Container elements.
10915
10916 2004-01-09  Michael Koch  <konqueror@gmx.de>
10917
10918         * gnu/java/lang/ArrayHelper.java
10919         (equalsArray): Removed.
10920
10921 2004-01-09  Andrew Haley  <aph@redhat.com>
10922
10923         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10924         a Utf8Const field before looking at its class.
10925
10926 2004-01-09  Michael Koch  <konqueror@gmx.de>
10927
10928         * javax/print/attribute/standard/DocumentName.java,
10929         javax/print/attribute/standard/JobHoldUntil.java,
10930         javax/print/attribute/standard/JobMessageFromOperator.java,
10931         javax/print/attribute/standard/JobName.java,
10932         javax/print/attribute/standard/JobOriginatingUserName.java,
10933         javax/print/attribute/standard/OutputDeviceAssigned.java,
10934         javax/print/attribute/standard/PrinterInfo.java,
10935         javax/print/attribute/standard/PrinterLocation.java,
10936         javax/print/attribute/standard/PrinterMakeAndModel.java,
10937         javax/print/attribute/standard/PrinterMessageFromOperator.java,
10938         javax/print/attribute/standard/PrinterName.java,
10939         javax/print/attribute/standard/RequestingUserName.java: New files.
10940         * Makefile.am (javax_source_files): Added new files.
10941         * Makefile.in: Regenerated.
10942
10943 2004-01-09  Michael Koch  <konqueror@gmx.de>
10944
10945         * javax/swing/AbstractAction.java,
10946         javax/swing/AbstractSet.java,
10947         javax/swing/Action.java,
10948         javax/swing/ActionMap.java,
10949         javax/swing/BoundedRangeModel.java,
10950         javax/swing/ButtonModel.java,
10951         javax/swing/CellEditor.java,
10952         javax/swing/CellRendererPane.java,
10953         javax/swing/ComboBoxEditor.java,
10954         javax/swing/DebugGraphics.java,
10955         javax/swing/DefaultCellEditor.java,
10956         javax/swing/DefaultCellRenderer.java,
10957         javax/swing/DefaultComboBoxModel.java,
10958         javax/swing/DefaultDesktopManager.java,
10959         javax/swing/DefaultFocusManager.java,
10960         javax/swing/DefaultListCellRenderer.java,
10961         javax/swing/Icon.java,
10962         javax/swing/JButton.java,
10963         javax/swing/JCheckBoxMenuItem.java,
10964         javax/swing/JDesktopPane.java,
10965         javax/swing/JEditorPane.java,
10966         javax/swing/JMenu.java,
10967         javax/swing/JPanel.java,
10968         javax/swing/JPasswordField.java,
10969         javax/swing/JPopupMenu.java,
10970         javax/swing/JProgressBar.java: Reworked imports.
10971
10972 2004-01-09  Michael Koch  <konqueror@gmx.de>
10973
10974         * java/awt/geom/PathIterator.java
10975         (WIND_EVEN_ODD): Removed redundant modifiers.
10976         (WIND_NON_ZERO): Likewise.
10977         (SEG_MOVETO): Likewise.
10978         (SEG_LINETO): Likewise.
10979         (SEG_QUADTO): Likewise.
10980         (SEG_CUBICTO): Likewise.
10981         (SEG_CLOSE): Likewise.
10982         * java/awt/image/SinglePixelPackedSampleModel.java:
10983         Removed redundant semicolon.
10984         * java/io/ObjectInputStream.java
10985         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10986         * java/util/logging/Filter.java
10987         (isLoggable): Removed redundant modifier.
10988         * java/util/logging/LogManager.java:
10989         Removed redundant semicolon.
10990         * java/util/logging/XMLFormatter.java
10991         (format): Removed unused variable "key".
10992
10993 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
10994
10995         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10996         New name for the former setFile native method.
10997         (setFile): New method.
10998         (setDirectory): Implemented.
10999         (connectSignals): New native method.
11000         (setFilenameFilter): Improve comment.
11001         (getGraphics): Comment.
11002         (gtkHideFileDialog): New method.
11003         (gtkDisposeFileDialog): New method.
11004         (gtkSetFilename): New method.
11005         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11006         for FileDialog for now.
11007         (hide): New method.
11008         (dispose): New method.
11009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11010         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11011         deprecated creation functions.  Make dialog modal.  Add it to the
11012         window group.
11013         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11014         function.
11015         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11016         Rename to...
11017         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11018         name.
11019         (window_closed): New function.
11020         (ok_clicked): New function.
11021         (cancel_clicked): New function.
11022
11023 2004-01-08  Michael Koch  <konqueror@gmx.de>
11024
11025         * javax/swing/JLayeredPane.java: Revert changes to standard
11026         boilerplate, reworked imports.
11027
11028 2004-01-07  Tom Tromey  <tromey@redhat.com>
11029
11030         PR libgcj/13439:
11031         * verify.cc (state::merge): Copy changed locals out of subroutine
11032         in NO_STACK case.
11033         (state::FLAG_CHANGED): New const.
11034         (state::FLAG_UNUSED): Likewise.
11035         (state::local_changed): Removed.  Updated all users.
11036         (state::flags): New field.
11037         (state::merge): Added jsr_semantics argument, more logic.
11038         (push_jump_merge): Added jsr_semantics argument.
11039         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11040         merging through the jsr instruction.
11041
11042 2004-01-07  Tom Tromey  <tromey@redhat.com>
11043
11044         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11045         backslash-newline.
11046
11047 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11048
11049         * java/awt/Container.java (LightweightDispatcher): Implement.
11050         (visitChild): Reuse graphics object.
11051         (dispatchEventImpl): Optionally dispatch to lightweight.
11052         (addNotifyContainerChildren): Build LightweightDispatcher.
11053
11054 2004-01-07  David Jee  <djee@redhat.com>
11055
11056         * java/awt/Container.java
11057         (update): Clear only the clipped region, instead of clearing the
11058         entire Container.
11059         (visitChildren): Visit children in descending order.
11060
11061 2004-01-07  Michael Koch  <konqueror@gmx.de>
11062
11063         * java/lang/reflect/Array.java: Merged documentation with classpath.
11064
11065 2004-01-07  Michael Koch  <konqueror@gmx.de>
11066
11067         * java/text/CollationElementIterator.java
11068         (textIndex): Renamed from index.
11069         * java/text/CollationKey.java
11070         (collator): New member.
11071         (CollationKey): New argument for parent collator.
11072         (equals): Check for same collator, source string and key array.
11073         * java/text/RuleBasedCollator.java:
11074         Reformated.
11075         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11076         value.
11077         (getCollationElementIterator): Rewritten.
11078         (getCollationKey): Added new argument to CollationKey constructor.
11079
11080 2004-01-07  Michael Koch  <konqueror@gmx.de>
11081
11082         * gnu/java/nio/DatagramChannelImpl.java
11083         (blocking): Removed.
11084         (DatagramChannelImpl): Call configureBlocking().
11085         (implConfigureBlocking): Dont initialize blocking.
11086         * gnu/java/nio/ServerSocketChannelImpl.java
11087         (blocking): Removed.
11088         (ServerSocketChannelImpl): Call configureBlocking().
11089         (implConfigureBlocking): Dont initialize blocking.
11090         * gnu/java/nio/SocketChannelImpl.java
11091         (blocking): Removed.
11092         (SocketChannelImpl): Call configureBlocking().
11093         (implConfigureBlocking): Dont initialize blocking.
11094         (connect): Use isBlocking().
11095         * java/nio/channels/spi/AbstractSelectableChannel.java
11096         (configureBlocking): Use blockingLock() instead of LOCK.
11097         Set blocking after successfully called implConfigureBlocking().
11098         (register): Use blockingLock() instead of LOCK.
11099
11100 2004-01-07  Michael Koch  <konqueror@gmx.de>
11101
11102         * java/net/ServerSocket.java (isBound): Fixed documentation.
11103
11104 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11105
11106         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11107         (changeEvent): Create event object on demand.
11108         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11109         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11110         fireStateChanged): Re-written.
11111         * javax/swing/event/EventListenerList.java: Reformatted, document
11112         typical usage.
11113         (toString): Implemented.
11114         (getListeners): Re-written.
11115         (remove): Re-written.
11116         (add): Re-written.
11117         (NO_LISTENERS): New singleton field.
11118         (listenerList): Declare as transient; document.
11119         (serialVersionUID): Document.
11120         (getListenerCount(Class)): More efficient implementation,
11121         also accepts null argument.  Improve Javadoc.
11122         (getListenerCount()): Remove unnecessary cast; docfix.
11123         * javax/swing/undo/UndoableEditSupport.java:
11124         Re-format, document.
11125         (UndoableEditSupport): Set realSource field. Improve documentation.
11126         (_postEdit): Iterate over cloned listener vector.
11127         (toString): Don't emit realSource.
11128         (beginUpdate, endUpdate): Support nested updates.
11129         (postEdit): Use compound edit if present.
11130
11131 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11132
11133         * java/awt/Container.java (swapComponents): Add forgotten
11134         function, required for JLayeredPane change.
11135
11136 2004-01-06  Michael Koch  <konqueror@gmx.de>
11137
11138         * java/text/CollationElementIterator.java: Reformated.
11139         (CollationElementIterator): Changed order of arguments.
11140         * java/text/RuleBasedCollator.java
11141         (RuleBasedCollator): Merged class documentation.
11142         (CollationElement): Added documentation.
11143         (compare): Reformated, renamed arguments.
11144         (equals): Likewise.
11145         (getCollationElementIterator): Likewise.
11146         (getCollationKey): Likewise.
11147
11148 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11149
11150         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11151
11152 2004-01-06  Michael Koch  <konqueror@gmx.de>
11153
11154         * gnu/java/net/protocol/file/Connection.java:
11155         Reformated copyright.
11156         (hdrHash): Removed.
11157         (hdrVec): Removed.
11158         (gotHeaders): Removed.
11159         (getHeaderField): Removed.
11160         (getHeaderField): Removed.
11161         (getHeaderFieldKey): Removed.
11162         (getKey): Removed.
11163         (getField): Removed.
11164         (getHeaders): Removed.
11165
11166 2004-01-06  Michael Koch  <konqueror@gmx.de>
11167
11168         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11169         javax/print/attribute/standard/DateTimeAtCreation.java,
11170         javax/print/attribute/standard/DateTimeAtProcessing.java,
11171         javax/print/attribute/standard/JobImpressionsCompleted.java,
11172         javax/print/attribute/standard/JobKOctets.java,
11173         javax/print/attribute/standard/JobKOctetsProcessed.java,
11174         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11175         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11176         * Makefile.am (javax_source_files): Added new files.
11177         * Makefile.in: Regenerated.
11178
11179 2004-01-06  Michael Koch  <konqueror@gmx.de>
11180
11181         * java/net/URLConnection.java
11182         (contentHandler): Removed.
11183         (locale): Removed.
11184         (getHeaderFields): Return an empty map instead of null.
11185         (getContent): Connect if needed, renamed "cType" to "type" and
11186         "contentHandler" to "ch" and made it a local variable.
11187         (getPermission): Don't use package in class name.
11188         (setDefaultRequestProperty): Fixed typo in documentation.
11189         (initializeDateFormats): Made locale a local variable.
11190
11191 2004-01-06  Michael Koch  <konqueror@gmx.de>
11192
11193         * java/lang/Package.java
11194         (getPackage): Get the current class loader directly.
11195         * java/lang/SecurityManager.java
11196         (currentLoadedClass): Dont iterate over class contexts.
11197         (classLoaderDepth): Don't check class loaders if everything is allowed.
11198
11199 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11200
11201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11202         (pre_event_handler): Set all insets to 0 when a Configure event
11203         is received for a GtkPlug.
11204         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11205         Make handle long, not int.
11206         (EmbeddedWindow()): New constructor.
11207         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11208         long, not int.
11209         (setHandle): New method.
11210         (getHandle): Return long, not int.
11211         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11212         declaration.
11213         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11214         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11215         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11216         argument to GdkNativeWindow.
11217         (construct): New method.
11218         (embed): New method.
11219
11220         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11222         (create(int, int)): New method.
11223         (create): Call new create method.
11224         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11225         methods.
11226         (childResized): Remove native implementation.  Implement in
11227         Java.
11228         (getHScrollbarHeight, getVScrollbarWidth): Call
11229         gtk_widget_size_request to get scrollbar dimensions.
11230         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11231         call getVScrollbarWidth and getHScrollbarHeight when vertical
11232         and horizontal scrollbars respectively are needed.
11233         (doLayout): Enlarge child if it is smaller than the viewport.
11234
11235 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11236
11237         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11238         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11239         argument as per spec.
11240
11241 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11242
11243         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11244         (insert): Ditto.
11245         (remove): Ditto.  Also, Check for valid argument.
11246         (removeAll): Use peer interface method.
11247         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11248         native add function.
11249         (nativeRemove): New name for native remove function.
11250         (getHistory): New native function.
11251         (constructor): Generate ItemEvent.
11252         (add): Ditto, if selection is changed.
11253         (remove): Ditto, ditto.
11254         (removeAll): Add implementation.
11255         (handleEvent): Remove.  Dead code.
11256         (choicePostItemEvent): Add comment.
11257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11258         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11259         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11260         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11261         comments and fix condition to change selection.
11262         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11263         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11264         remove all capability.
11265         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11266         (item_activate): Add cast to remove compiler warning.
11267
11268 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11269
11270         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11271         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11272         (getPreferredSize): Call preferredSize.
11273         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11274         (getMinimumSize): Call minimumSize.
11275         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11276         (gtkWidgetGetDimensions): Return the peer widget's current size
11277         request.
11278         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11279         natural size request.
11280
11281 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11282
11283         Thanks to Brian Gough <bjg@network-theory.com>
11284         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11285         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11286
11287 2004-01-04  Matthias Klose  <doko@debian.org>
11288
11289         * aclocal.m4: Rebuilt using "aclocal -I .".
11290         * configure: Rebuilt.
11291
11292 2004-01-03  Per Bothner  <per@bothner.com>
11293
11294         * java/util/Date.java (parse):  Fix a number of problems.
11295         (skipParens):  Remove no-longer-needed method.
11296