OSDN Git Service

2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2
3         * java/util/Date.java
4         Added missing documentation.
5
6 2004-11-06  Michael Koch  <konqueror@gmx.de>
7
8         * java/util/zip/CheckedInputStream.java,
9         java/util/zip/InflaterInputStream.java,
10         java/util/zip/ZipFile.java,
11         java/util/zip/ZipInputStream.java:
12         Import cleanups.
13
14 2004-11-06  Tom Tromey  <tromey@redhat.com>
15
16         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
17         package-private.
18         (connections): Likewise.
19         (scavenger): Likewise.
20         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
21         package-private.
22         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
23         package-private.
24         (ptr): Likewise.
25         * gnu/classpath/ServiceFactory.java (log): Now package-private.
26
27 2004-11-06  Tom Tromey  <tromey@redhat.com>
28
29         * javax/naming/directory/BasicAttributes.java (attributes): Now
30         package-private.
31         * javax/imageio/spi/ServiceRegistry.java (categories): Now
32         package-private.
33
34 2004-11-06  Tom Tromey  <tromey@redhat.com>
35
36         * java/net/URLClassLoader.java (URLClassLoader): Now
37         package-private.
38         * java/nio/charset/CoderResult.java (CoderResult): Now
39         package-private.
40         (get): Likewise.
41         (Cache): Likewise.  Don't synchronize on `this'.
42         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
43         package-private.
44         * java/util/TimeZone.java (timezones): Now package-private.
45
46 2004-11-06  Tom Tromey  <tromey@redhat.com>
47
48         * java/security/Permissions.java (perms): Now package-private.
49         * java/security/UnresolvedPermission.java (permissions): Now
50         package-private.
51
52 2004-11-06  Tom Tromey  <tromey@redhat.com>
53
54         * java/io/FilePermission.java: Reindented.
55
56 2004-11-06  Tom Tromey  <tromey@redhat.com>
57
58         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
59         package-private.
60         (setBlockDataMode): Likewise.
61
62 2004-11-06  Tom Tromey  <tromey@redhat.com>
63
64         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
65         package-private.
66         (Encoder): Likewise.
67         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
68         (Encoder): Likewise.
69         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
70         package-private.
71         (Encoder): Likewise.
72
73 2004-11-06  Mark Wielaard  <mark@klomp.org>
74
75         * Makefile.am: Add new javax.imageio files.
76         * Makefile.in: Regenerated.
77
78 2004-11-06  Michael Koch  <konqueror@gmx.de>
79
80         * javax/imageio/event/IIOReadProgressListener.java,
81         javax/imageio/event/IIOReadUpdateListener.java,
82         javax/imageio/event/IIOReadWarningListener.java,
83         javax/imageio/event/IIOWriteProgressListener.java,
84         javax/imageio/event/IIOWriteWarningListener.java,
85         javax/imageio/metadata/IIOMetadataFormat.java,
86         javax/imageio/stream/FileCacheImageInputStream.java,
87         javax/imageio/stream/FileCacheImageOutputStream.java,
88         javax/imageio/stream/ImageInputStreamImpl.java:
89         Import cleanup.
90         * javax/imageio/metadata/package.html: New file.
91
92 2004-11-06  Michael Koch  <konqueror@gmx.de>
93
94         * javax/imageio/spi/ImageReaderSpi.java
95         (isOwnReader): New method.
96         * javax/imageio/spi/ImageWriterSpi.java
97         (isOwnWriter): Likewise.
98
99 2004-11-06  Michael Koch  <konqueror@gmx.de>
100
101         * javax/imageio/ImageWriter.java
102         (convertImageMetadata): New abstract method.
103         (convertStreamMetadata): Likewise.
104         (write): Likewise.
105         * javax/imageio/stream/FileCacheImageInputStream.java
106         (close): Fixed setting of stream to null.
107         (checkStreamClosed): Throws IOException.
108
109 2004-11-06  Michael Koch  <konqueror@gmx.de>
110
111         * javax/imageio/stream/FileCacheImageInputStream.java,
112         javax/imageio/stream/FileCacheImageOutputStream.java,
113         javax/imageio/stream/FileImageInputStream.java,
114         javax/imageio/stream/FileImageOutputStream.java,
115         javax/imageio/stream/MemoryCacheImageInputStream.java,
116         javax/imageio/stream/MemoryCacheImageOutputStream.java:
117         New files.
118
119 2004-11-06  Michael Koch  <konqueror@gmx.de>
120
121         * javax/imageio/metadata/IIOInvalidTreeException.java,
122         javax/imageio/metadata/IIOMetadataFormatImpl.java,
123         javax/imageio/metadata/IIOMetadataNode.java:
124         New stub files.
125
126 2004-11-06  Michael Koch  <konqueror@gmx.de>
127
128         * javax/imageio/stream/ImageInputStreamImpl.java,
129         javax/imageio/stream/ImageOutputStreamImpl.java:
130         New files.
131
132 2004-11-06  Michael Koch  <konqueror@gmx.de>
133
134         * javax/imageio/ImageIO.java:
135         Added much new methods.
136
137 2004-11-06  Michael Koch  <konqueror@gmx.de>
138
139         * javax/imageio/ImageReader.java,
140         javax/imageio/ImageWriter.java,
141         javax/imageio/spi/ImageWriterSpi.java:
142         Add SOME new methods.
143
144 2004-11-06  Michael Koch  <konqueror@gmx.de>
145
146         * javax/imageio/IIOParam.java,
147         javax/imageio/ImageReadParam.java,
148         javax/imageio/ImageReader.java,
149         javax/imageio/ImageWriter.java:
150         Mostly implemented.
151         * javax/imageio/spi/ImageReaderSpi.java,
152         javax/imageio/spi/ImageWriterSpi.java:
153         New files.
154
155 2004-11-06  Michael Koch  <konqueror@gmx.de>
156
157         * javax/imageio/ImageWriteParam.java,
158         javax/imageio/metadata/IIOMetadataFormat.java:
159         Implemented.
160
161 2004-11-06  Michael Koch  <konqueror@gmx.de>
162
163         * javax/imageio/ImageTypeSpecifier.java:
164         Mostly implemented.
165
166 2004-11-06  Michael Koch  <konqueror@gmx.de>
167
168         * javax/imageio/metadata/IIOMetadata.java:
169         Mostly implemented.
170
171 2004-11-06  Michael Koch  <konqueror@gmx.de>
172
173         * javax/imageio/IIOImage.java,
174         javax/imageio/ImageReadParam.java,
175         javax/imageio/metadata/IIOMetadataController.java,
176         javax/imageio/metadata/IIOMetadataFormat.java:
177         New files.
178         * javax/imageio/stream/ImageOutputStream.java:
179         Implemented.
180
181 2004-11-06  Michael Koch  <konqueror@gmx.de>
182
183         * javax/imageio/IIOParam.java,
184         javax/imageio/IIOParamController.java,
185         javax/imageio/ImageTypeSpecifier.java,
186         javax/imageio/ImageWriteParam.java,
187         javax/imageio/metadata/IIOMetadata.java:
188         New files.
189         * javax/imageio/ImageTranscoder.java:
190         Implemented.
191
192 2004-11-06  Michael Koch  <konqueror@gmx.de>
193
194         * javax/imageio/spi/ImageInputStreamSpi.java,
195         javax/imageio/spi/ImageOutputStreamSpi.java:
196         Reworked import startments.
197         * javax/imageio/spi/ServiceRegistry.java:
198         Reworked import startments. Fixed XHTML in javadocs.
199         (ServiceRegistry): Added @param tag to javadoc.
200         * javax/imageio/stream/ImageInputStream.java
201         (mark): Doesn't throws IOException;
202
203 2004-11-06  Michael Koch  <konqueror@gmx.de>
204
205         * javax/imageio/ImageIO.java:
206         New file.
207
208 2004-11-06  Michael Koch  <konqueror@gmx.de>
209
210         * javax/imageio/spi/IIORegistry.java
211         (static): Don't register ImageReaderSpi.class and
212         ImageWriterSpi.class yet.
213
214 2004-11-06  Michael Koch  <konqueror@gmx.de>
215
216         * javax/imageio/spi/IIORegistry.java:
217         New file.
218
219 2004-11-06  Noa Resare  <noa@resare.com>
220
221         * java/net/Socket.java (getPort): Return 0 instead of -1 on
222         unconnected sockets.
223
224 2004-11-06  Michael Koch  <konqueror@gmx.de>
225
226         * java/lang/StringBuffer.java,
227         java/lang/Throwable.java,
228         java/security/spec/DSAParameterSpec.java,
229         java/util/zip/ZipEntry.java,
230         java/util/zip/ZipFile.java,
231         java/util/zip/ZipInputStream.java,
232         java/util/zip/ZipOutputStream.java:
233         Removed redundant and reordered modifiers.
234
235 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
236
237         * java/io/Vector.java
238         (writeObject): New function to serialized output thread safe.
239
240         * java/io/ObjectOutputStream.java
241         (writeObject): Move the assignment of the class handle to after
242         the assignment of class descriptor handle.
243
244 2004-11-06  Robert Schuster <thebohemian@gmx.net>
245
246         Fixes documentation and indentation
247         * java/beans/PropertyEditorSupport.java:
248         reworked initial API doc
249         (value): changed name from val
250
251 2004-11-06  Robert Schuster <thebohemian@gmx.net>
252
253         Updates to 1.5
254         * java/beans/PropertyEditorSupport.java
255         (PropertyEditorSupport()): Changed modifier to public
256         (PropertyEditorSupport(Object): Changed modifier to public
257         (setSource): New method
258         (getSource): New method
259
260 2004-11-06  Robert Schuster <thebohemian@gmx.net>
261
262         Fixes bug #10799
263         * java/beans/PropertyEditorSupport.java
264         (setValue): Fire property change event
265
266 2004-11-03  Tom Tromey  <tromey@redhat.com>
267
268         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
269         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
270         returns jobjectArray.
271         (_Jv_JNIEnv::NewObjectArray): Likewise.
272
273 2004-11-01  Tom Tromey  <tromey@redhat.com>
274
275         * verify.cc (state::check_no_uninitialized_objects): Removed.
276         (push_jump): Updated.
277         (push_exception_jump): Likewise.
278         (handle_ret_insn): Likewise.
279         (handle_jsr_insn): Likewise.
280
281 2004-10-30  Mark Wielaard  <mark@klomp.org>
282
283         PR libgcj/18234
284         * java/lang/Runtime.java (static): Call init().
285         (Runtime): Remove call to init().
286         (init): Make static.
287
288 2004-10-28  David Daney  <ddaney@avtrex.com>
289
290         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
291         * Makefile.am: Build it.
292         * Makefile.in: Regenerate.
293
294 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
295
296         PR libgcj/18104
297         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
298         colon.
299         * Makefile.in: Regenerate.
300         * configure: Regenerate.
301         * configure.ac (CLASSPATH_SEPARATOR): Define.
302         * gcj/Makefile.in: Regenerate.
303         * include/Makefile.in: Regenerate.
304         * testsuite/Makefile.in: Regenerate.
305         * testsuite/lib/libjava.exp (libjava_arguments): Fix
306         CLASSPATH separator handling for Windows.
307
308 2004-10-26  Michael Koch  <konqueror@gmx.de>
309
310         * gnu/java/net/protocol/http/Connection.java
311         (getOutputStream): Implicitely switch to POST method.
312
313 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
314
315         * libjava/java/lang/Class.h
316         (java::lang::Class): Correct friend class declaration.
317
318 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
319
320         * Makefile.am (DARWIN_CRT_SRC): New.
321         (libgcj_la_SOURCES): Use it.
322         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
323         * darwin.cc: New file.
324         * include/jvm.h (_Jv_RegisterClasses): Constify.
325         (_Jv_RegisterClasses_Counted): New prototype.
326         * java/lang/Class.h: Include stddef.h.  
327         (_Jv_RegisterClasses): Constify.
328         (_Jv_RegisterClasses_Counted): New prototype.
329         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
330         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
331         (_Jv_RegisterClasses_Counted): New function.
332         * configure: Regenerate.
333         * Makefile.in: Regenerate.
334         * gcj/Makefile.in: Regenerate.
335         * include/Makefile.in: Regenerate.
336         * testsuite/Makefile.in: Regenerate.
337
338 2004-10-25  Tom Tromey  <tromey@redhat.com>
339
340         * java/util/ResourceBundle.java (tryBundle): Use
341         Class.isAssignableFrom rather than catching ClassCastException.
342
343 2004-10-25  Tom Tromey  <tromey@redhat.com>
344
345         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
346         initialize `iter'.
347         * gnu/java/text/SentenceBreakIterator.java
348         (SentenceBreakIterator): Don't initialize `iter'.
349         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
350         initialize `iter'.
351         * gnu/java/text/CharacterBreakIterator.java
352         (CharacterBreakIterator): Don't initialize `iter'.
353         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
354         constructor.
355         * java/text/BreakIterator.java: Updated documentation.
356
357 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
358
359         PR other/18138
360         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
361
362 2004-10-23  Michael Koch  <konqueror@gmx.de>
363
364         * javax/print/DocFlavor.java,
365         javax/print/attribute/standard/JobStateReason.java,
366         javax/print/attribute/standard/MultipleDocumentHandling.java:
367         Added missing constants.
368
369 2004-10-22  Tom Tromey  <tromey@redhat.com>
370
371         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
372         typo.
373
374 2004-10-22  Michael Koch  <konqueror@gmx.de>
375
376         PR libjava/14009
377         * gnu/java/net/protocol/http/Connection.java
378         (sendRequest): Handle case when url.getFile() returns an empty string.
379
380 2004-10-22  Michael Koch  <konqueror@gmx.de>
381
382         * java/lang/Math.java,
383         java/lang/StackTraceElement.java,
384         java/nio/Buffer.java,
385         java/nio/ByteBuffer.java,
386         java/nio/CharBuffer.java,
387         java/nio/DoubleBuffer.java,
388         java/nio/FloatBuffer.java,
389         java/nio/IntBuffer.java,
390         java/nio/LongBuffer.java,
391         java/nio/ShortBuffer.java,
392         java/nio/charset/Charset.java,
393         java/rmi/server/RMIClassLoader.java,
394         java/rmi/server/RMISocketFactory.java,
395         java/security/Policy.java,
396         java/text/ChoiceFormat.java,
397         java/text/CollationElementIterator.java,
398         java/text/DateFormat.java,
399         java/text/DecimalFormat.java,
400         java/text/DecimalFormatSymbols.java,
401         java/text/MessageFormat.java,
402         java/text/NumberFormat.java,
403         java/text/RuleBasedCollator.java,
404         java/text/SimpleDateFormat.java,
405         java/util/BitSet.java,
406         java/util/Calendar.java,
407         java/util/Collections.java,
408         java/util/IdentityHashMap.java,
409         java/util/Locale.java,
410         java/util/TreeMap.java,
411         java/util/logging/LogRecord.java,
412         java/util/logging/XMLFormatter.java,
413         java/util/prefs/AbstractPreferences.java,
414         java/util/prefs/Preferences.java,
415         javax/crypto/interfaces/DHPrivateKey.java,
416         javax/crypto/interfaces/DHPublicKey.java,
417         javax/crypto/interfaces/PBEKey.java,
418         javax/net/ssl/HandshakeCompletedEvent.java,
419         javax/security/auth/Subject.java:
420         Removed redundant and reordered modifiers.
421
422 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
423
424         * gnu/java/net/natPlainSocketImplPosix.cc
425         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
426         with 'int *' argument instead of 'long *'.
427
428 2004-10-21  Michael Koch  <konqueror@gmx.de>
429
430         * java/net/NetworkInterface.java,
431         java/text/Format.java,
432         javax/security/auth/x500/X500Principal.java,
433         javax/security/auth/x500/X500PrivateCredential.java,
434         javax/security/cert/X509CertBridge.java,
435         javax/security/sasl/Sasl.java,
436         javax/sql/XAConnection.java:
437         Import cleanup.
438
439 2004-10-21  Michael Koch  <konqueror@gmx.de>
440
441         * javax/net/ssl/HandshakeCompletedEvent.java,
442         javax/net/ssl/KeyManagerFactory.java,
443         javax/net/ssl/SSLContext.java,
444         javax/net/ssl/SSLServerSocketFactory.java,
445         javax/net/ssl/SSLSession.java,
446         javax/net/ssl/SSLSocketFactory.java,
447         javax/net/ssl/TrustManagerFactory.java:
448         Import cleanup.
449
450 2004-10-21  Michael Koch  <konqueror@gmx.de>
451
452         * javax/naming/directory/BasicAttribute.java,
453         javax/naming/directory/BasicAttributes.java,
454         javax/naming/directory/InitialDirContext.java,
455         javax/naming/event/NamingEvent.java,
456         javax/naming/ldap/ControlFactory.java,
457         javax/naming/ldap/ExtendedRequest.java,
458         javax/naming/ldap/InitialLdapContext.java,
459         javax/naming/ldap/LdapReferralException.java,
460         javax/naming/spi/DirObjectFactory.java,
461         javax/naming/spi/DirStateFactory.java,
462         javax/naming/spi/DirectoryManager.java,
463         javax/naming/spi/InitialContextFactory.java,
464         javax/naming/spi/InitialContextFactoryBuilder.java,
465         javax/naming/spi/NamingManager.java,
466         javax/naming/spi/ObjectFactory.java,
467         javax/naming/spi/ObjectFactoryBuilder.java,
468         javax/naming/spi/StateFactory.java:
469         Import cleanup.
470
471 2004-10-21  Michael Koch  <konqueror@gmx.de>
472
473         * javax/crypto/Cipher.java,
474         javax/crypto/EncryptedPrivateKeyInfo.java,
475         javax/crypto/ExemptionMechanism.java,
476         javax/crypto/KeyAgreement.java,
477         javax/crypto/KeyGenerator.java,
478         javax/crypto/Mac.java,
479         javax/crypto/SecretKeyFactory.java,
480         javax/crypto/SecretKeyFactorySpi.java,
481         javax/crypto/spec/SecretKeySpec.java:
482         Import cleanup.
483
484 2004-10-21  Michael Koch  <konqueror@gmx.de>
485
486         * java/security/AlgorithmParameterGenerator.java,
487         java/security/AlgorithmParameters.java,
488         java/security/AlgorithmParametersSpi.java,
489         java/security/AllPermission.java,
490         java/security/BasicPermission.java,
491         java/security/Certificate.java,
492         java/security/CodeSource.java,
493         java/security/DigestInputStream.java,
494         java/security/DigestOutputStream.java,
495         java/security/GuardedObject.java,
496         java/security/KeyFactory.java,
497         java/security/KeyFactorySpi.java,
498         java/security/KeyPairGenerator.java,
499         java/security/KeyStore.java,
500         java/security/KeyStoreSpi.java,
501         java/security/Permissions.java,
502         java/security/Security.java,
503         java/security/Signature.java,
504         java/security/UnresolvedPermission.java,
505         java/security/cert/CertPathBuilder.java,
506         java/security/cert/CertPathValidator.java,
507         java/security/cert/CertStore.java,
508         java/security/cert/Certificate.java,
509         java/security/cert/CertificateFactory.java,
510         java/security/cert/PolicyQualifierInfo.java,
511         java/security/cert/TrustAnchor.java,
512         java/security/cert/X509CRL.java,
513         java/security/cert/X509CRLSelector.java,
514         java/security/cert/X509CertSelector.java:
515         Import cleanup.
516
517 2004-10-21  Michael Koch  <konqueror@gmx.de>
518
519         * java/rmi/MarshalledObject.java,
520         java/rmi/Naming.java,
521         java/rmi/activation/Activatable.java,
522         java/rmi/activation/ActivationGroup.java,
523         java/rmi/activation/ActivationGroupDesc.java,
524         java/rmi/activation/ActivationInstantiator.java,
525         java/rmi/activation/ActivationMonitor.java,
526         java/rmi/activation/ActivationSystem.java,
527         java/rmi/activation/Activator.java,
528         java/rmi/registry/LocateRegistry.java,
529         java/rmi/registry/Registry.java,
530         java/rmi/server/LogStream.java,
531         java/rmi/server/ObjID.java,
532         java/rmi/server/RMIClientSocketFactory.java,
533         java/rmi/server/RMIServerSocketFactory.java,
534         java/rmi/server/RMISocketFactory.java,
535         java/rmi/server/RemoteCall.java,
536         java/rmi/server/RemoteServer.java,
537         java/rmi/server/ServerRef.java,
538         java/rmi/server/UID.java,
539         java/rmi/server/UnicastRemoteObject.java:
540         Import cleanup.
541
542 2004-10-21  Tom Tromey  <tromey@redhat.com>
543
544         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
545         exception if we hit EOF of `in'.
546         (read): Handle case where inflating returns -1.
547
548 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
549
550         * gnu/java/nio/channels/natFileChannelPosix.cc
551         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
552         argument instead of 'long *'.
553
554 2004-10-21  Tom Tromey  <tromey@redhat.com>
555
556         * java/util/ResourceBundle.java (tryBundle): Also ignore
557         ClassCastException.
558
559 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
560
561         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
562         for all sh*-*-linux* targets.
563         * configure: Regenerate.
564         * include/sh-signal.h: New file.
565
566 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
567
568         * java/lang/ieeefp.h: Add m32r support.
569
570 2004-10-20  Andreas Schwab  <schwab@suse.de>
571
572         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
573         to uaddr, not int.
574         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
575         Likewise.
576
577 2004-10-20  Michael Koch  <konqueror@gmx.de>
578
579         * javax/print/attribute/standard/ColorSupported.java,
580         javax/print/attribute/standard/Compression.java,
581         javax/print/attribute/standard/Copies.java,
582         javax/print/attribute/standard/CopiesSupported.java,
583         javax/print/attribute/standard/DateTimeAtCompleted.java,
584         javax/print/attribute/standard/DateTimeAtCreation.java,
585         javax/print/attribute/standard/DateTimeAtProcessing.java,
586         javax/print/attribute/standard/DocumentName.java,
587         javax/print/attribute/standard/Fidelity.java,
588         javax/print/attribute/standard/Finishings.java,
589         javax/print/attribute/standard/JobHoldUntil.java,
590         javax/print/attribute/standard/JobImpressions.java,
591         javax/print/attribute/standard/JobImpressionsCompleted.java,
592         javax/print/attribute/standard/JobImpressionsSupported.java,
593         javax/print/attribute/standard/JobKOctets.java,
594         javax/print/attribute/standard/JobKOctetsProcessed.java,
595         javax/print/attribute/standard/JobKOctetsSupported.java,
596         javax/print/attribute/standard/JobMediaSheets.java,
597         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
598         javax/print/attribute/standard/JobMediaSheetsSupported.java,
599         javax/print/attribute/standard/JobMessageFromOperator.java,
600         javax/print/attribute/standard/JobName.java,
601         javax/print/attribute/standard/JobOriginatingUserName.java,
602         javax/print/attribute/standard/JobPriority.java,
603         javax/print/attribute/standard/JobPrioritySupported.java,
604         javax/print/attribute/standard/JobSheets.java,
605         javax/print/attribute/standard/JobState.java,
606         javax/print/attribute/standard/JobStateReason.java,
607         javax/print/attribute/standard/JobStateReasons.java,
608         javax/print/attribute/standard/Media.java,
609         javax/print/attribute/standard/MultipleDocumentHandling.java,
610         javax/print/attribute/standard/NumberOfDocuments.java,
611         javax/print/attribute/standard/NumberOfInterveningJobs.java,
612         javax/print/attribute/standard/NumberUp.java,
613         javax/print/attribute/standard/NumberUpSupported.java,
614         javax/print/attribute/standard/OrientationRequested.java,
615         javax/print/attribute/standard/OutputDeviceAssigned.java,
616         javax/print/attribute/standard/PDLOverrideSupported.java,
617         javax/print/attribute/standard/PageRanges.java,
618         javax/print/attribute/standard/PagesPerMinute.java,
619         javax/print/attribute/standard/PagesPerMinuteColor.java,
620         javax/print/attribute/standard/PrintQuality.java,
621         javax/print/attribute/standard/PrinterInfo.java,
622         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
623         javax/print/attribute/standard/PrinterLocation.java,
624         javax/print/attribute/standard/PrinterMakeAndModel.java,
625         javax/print/attribute/standard/PrinterMessageFromOperator.java,
626         javax/print/attribute/standard/PrinterMoreInfo.java,
627         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
628         javax/print/attribute/standard/PrinterName.java,
629         javax/print/attribute/standard/PrinterStateReason.java,
630         javax/print/attribute/standard/PrinterStateReasons.java,
631         javax/print/attribute/standard/PrinterURI.java,
632         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
633         javax/print/attribute/standard/RequestingUserName.java:
634         Reorganized imports and removed redundant final modifiers.
635
636 2004-10-20  Michael Koch  <konqueror@gmx.de>
637
638         * javax/security/sasl/SaslClient.java,
639         javax/security/sasl/SaslClientFactory.java,
640         javax/security/sasl/SaslException.java,
641         javax/security/sasl/SaslServer.java,
642         javax/security/sasl/SaslServerFactory.java:
643         Remvoed CVS tags.
644
645 2004-10-20  Michael Koch  <konqueror@gmx.de>
646
647         * javax/security/auth/login/NullConfiguration.java,
648         javax/security/auth/x500/X500Principal.java,
649         javax/security/cert/X509Certificate.java,
650         javax/security/sasl/AuthenticationException.java,
651         javax/security/sasl/AuthorizeCallback.java,
652         javax/security/sasl/RealmCallback.java,
653         javax/security/sasl/RealmChoiceCallback.java,
654         javax/security/sasl/Sasl.java,
655         javax/security/sasl/SaslClient.java,
656         javax/security/sasl/SaslClientFactory.java,
657         javax/security/sasl/SaslException.java,
658         javax/security/sasl/SaslServer.java,
659         javax/security/sasl/SaslServerFactory.java:
660         Cleaned up import statements and copyright notices.
661
662 2004-10-20  Michael Koch  <konqueror@gmx.de>
663
664         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
665
666 2004-10-20  Michael Koch  <konqueror@gmx.de>
667
668         * java/sql/Timestamp.java,
669         java/text/AttributedCharacterIterator.java,
670         java/text/AttributedString.java,
671         java/util/zip/CheckedOutputStream.java,
672         java/util/zip/DeflaterOutputStream.java,
673         java/util/zip/ZipFile.java,
674         javax/crypto/Cipher.java,
675         javax/crypto/ExemptionMechanismException.java,
676         javax/crypto/SecretKey.java,
677         javax/crypto/SecretKeyFactory.java,
678         javax/naming/directory/ModificationItem.java,
679         javax/naming/directory/SearchControls.java,
680         javax/naming/event/NamingListener.java,
681         javax/naming/ldap/Control.java,
682         javax/naming/ldap/ExtendedResponse.java,
683         javax/net/ssl/SSLSocketFactory.java:
684         Reorganized imports and fixed copyright headers.
685
686 2004-10-20  Michael Koch  <konqueror@gmx.de>
687
688         * java/util/logging/ConsoleHandler.java,
689         java/util/logging/ErrorManager.java,
690         java/util/logging/FileHandler.java,
691         java/util/logging/Filter.java,
692         java/util/logging/Formatter.java,
693         java/util/logging/Handler.java,
694         java/util/logging/Level.java,
695         java/util/logging/LogManager.java,
696         java/util/logging/LogRecord.java,
697         java/util/logging/Logger.java,
698         java/util/logging/LoggingPermission.java,
699         java/util/logging/MemoryHandler.java,
700         java/util/logging/SimpleFormatter.java,
701         java/util/logging/SocketHandler.java,
702         java/util/logging/StreamHandler.java,
703         java/util/logging/XMLFormatter.java:
704         Standardized copyrigth header.
705
706 2004-10-20  Michael Koch  <konqueror@gmx.de>
707
708         * java/security/AlgorithmParameterGenerator.java,
709         java/security/AlgorithmParameters.java,
710         java/security/DigestInputStream.java,
711         java/security/Identity.java,
712         java/security/KeyFactory.java,
713         java/security/KeyPairGenerator.java,
714         java/security/KeyStore.java,
715         java/security/MessageDigest.java,
716         java/security/MessageDigestSpi.java,
717         java/security/Policy.java,
718         java/security/SecureRandom.java,
719         java/security/Security.java,
720         java/security/Signature.java,
721         java/security/SignatureSpi.java,
722         java/security/cert/CertPathBuilder.java,
723         java/security/cert/CertPathValidator.java,
724         java/security/cert/CertStore.java,
725         java/security/cert/Certificate.java,
726         java/security/cert/CertificateFactory.java,
727         java/security/cert/PolicyQualifierInfo.java,
728         java/security/cert/TrustAnchor.java,
729         java/security/cert/X509CRL.java,
730         java/security/cert/X509CRLEntry.java,
731         java/security/cert/X509Certificate.java,
732         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
733         Import statements reorganized, some little formatting issues,
734         used java-style array declarations, added comments in empty catch
735         blocks.
736
737 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
738
739         * java/security/Security.java
740         (static): Use AccessController.doPrivileged to get system property.
741
742 2004-10-18  Sven de Marothy  <sven@physto.se>
743
744         * java/nio/ByteBufferHelper.java
745         (putDouble): Use Double.toRawLongBits instead.
746
747 2004-10-18  Mark Wielaard  <mark@klomp.org>
748         Andrew Haley  <aph@redhat.com>
749
750         * testsuite/libjava.lang/ExtraClassLoader.java: New.
751
752 2004-10-18  Andrew Haley  <aph@redhat.com>
753
754         PR java/18036:
755         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
756         and correct logic used to find interpreter.
757         
758 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
759
760         * java/util/logging/LogManager.java
761         (findAncestor): Fixed IndexOutOfBoundsException.
762
763 2004-10-18  Michael Koch  <konqueror@gmx.de>
764
765         * java/io/BufferedInputStream.java: Fixed @author tag.
766         (read): Simplified expression.
767         (read): Merged javadoc a bit more.
768         (read): Renamed 'remain' to 'totalBytesRead'.
769         * java/io/DataInputStream.java,
770         java/io/DataOutputStream.java,
771         java/io/ObjectInputStream.java,
772         java/io/ObjectOutputStream.java:
773         Reworked modifier order.
774
775 2004-10-18  Michael Koch  <konqueror@gmx.de>
776
777         * java/net/Inet4Address.java: Merged file header and javadocs.
778         * java/net/Inet6Address.java: Likewise.
779         * java/net/InetAddress.java
780         (getCanonicalHostName): Create Inet4Address object instead of
781         InetAddress and add comment regarding IPv6.
782         (toString): Simplified.
783
784 2004-10-18  Michael Koch  <konqueror@gmx.de>
785
786         * gnu/java/net/protocol/http/Connection.java,
787         java/nio/MappedByteBufferImpl.java,
788         java/text/RuleBasedCollator.java,
789         java/util/ResourceBundle.java:
790         Reworked import statements.
791
792 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
793
794         * java/security/IdentityScope.java
795         (systemScope): Removed useless initializer.
796         * java/security/Policy.java
797         (currentPolicy): Likewise.
798
799 2004-10-18  Michael Koch  <konqueror@gmx.de>
800
801         * java/lang/System.java: Revert accidential change.
802
803 2004-10-18  Michael Koch  <konqueror@gmx.de>
804
805         * java/lang/Math.java,
806         java/lang/Package.java,
807         java/lang/Runtime.java,
808         java/lang/StrictMath.java,
809         java/lang/System.java,
810         java/lang/Thread.java,
811         java/lang/ThreadLocal.java,
812         java/lang/Void.java:
813         Reworked import statements, HTML in javadocs and modifier orders.
814
815 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
816
817         * java/util/Timer.java
818         (nr): Removed useless initializer.
819         * java/util/logging/LogRecord.java
820         (lastSeqNum): Likewise.
821         * javax/naming/spi/NamingManager.java
822         (icfb, ofb): Likewise.
823
824 2004-10-18  Michael Koch  <konqueror@gmx.de>
825
826         * gnu/java/net/PlainDatagramSocketImpl.java:
827         Reworked import statements.
828         * gnu/java/security/provider/DSAParameters.java:
829         Fixed copyrigth years.
830         * java/net/JarURLConnection.java:
831         Fixed HTML in @author tags.
832         
833
834 2004-10-18  Michael Koch  <konqueror@gmx.de>
835
836         * java/rmi/activation/ActivationSystem.java
837         (SYSTEM_PORT): Initialize with correct port number.
838
839 2004-10-18  Michael Koch  <konqueror@gmx.de>
840
841         * java/lang/reflect/Proxy.java: Improved javadocs.
842
843 2004-10-18  Michael Koch  <konqueror@gmx.de>
844
845         * java/lang/reflect/AccessibleObject.java
846         (checkPermission): Removed redundant final modifier.
847         (secureSetAccessible): Likewise.
848         * java/lang/reflect/Proxy.java:
849         Reworked import statements.
850         (generate): Removed redundant final modifier.
851         * java/lang/reflect/ReflectPermission.java:
852         Reorder package declaration and import statement.
853
854 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
855
856         * java/lang/reflect/Proxy.java
857         (count): Removed useless initializer.
858
859 2004-10-17  Michael Koch  <konqueror@gmx.de>
860
861         * java/net/BindException.java,
862         java/net/ConnectException.java,
863         java/net/ContentHandler.java,
864         java/net/ContentHandlerFactory.java,
865         java/net/DatagramPacket.java,
866         java/net/DatagramSocket.java,
867         java/net/DatagramSocketImpl.java,
868         java/net/DatagramSocketImplFactory.java,
869         java/net/FileNameMap.java,
870         java/net/HttpURLConnection.java,
871         java/net/MalformedURLException.java,
872         java/net/MulticastSocket.java,
873         java/net/NetworkInterface.java,
874         java/net/NoRouteToHostException.java,
875         java/net/PasswordAuthentication.java,
876         java/net/PortUnreachableException.java,
877         java/net/ProtocolException.java,
878         java/net/ServerSocket.java,
879         java/net/Socket.java,
880         java/net/SocketException.java,
881         java/net/SocketImpl.java,
882         java/net/SocketImplFactory.java,
883         java/net/SocketOptions.java,
884         java/net/SocketPermission.java,
885         java/net/SocketTimeoutException.java,
886         java/net/URI.java,
887         java/net/URISyntaxException.java,
888         java/net/URL.java,
889         java/net/URLDecoder.java,
890         java/net/URLEncoder.java,
891         java/net/URLStreamHandler.java,
892         java/net/URLStreamHandlerFactory.java,
893         java/net/UnknownHostException.java,
894         java/net/UnknownServiceException.java:
895         Big import statement and @author tag cleanup.
896
897 2004-10-17  Michael Koch  <konqueror@gmx.de>
898
899         * gnu/java/security/OID.java,
900         gnu/java/security/provider/DSAParameters.java,
901         gnu/java/security/provider/DSASignature.java,
902         gnu/java/security/x509/X500DistinguishedName.java,
903         gnu/java/security/x509/X509CRL.java:
904         Import statements cleaned up.
905
906 2004-10-16  Michael Koch  <konqueror@gmx.de>
907
908         * gnu/java/nio/NIODatagramSocket.java,
909         gnu/java/nio/ServerSocketChannelImpl.java:
910         Reorganized import statements.
911
912 2004-10-16  Michael Koch  <konqueror@gmx.de>
913
914         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
915         gnu/java/rmi/rmic/RMIC.java,
916         gnu/java/rmi/server/RMIHashes.java,
917         gnu/java/rmi/server/RMIObjectInputStream.java,
918         gnu/java/rmi/server/RMIObjectOutputStream.java,
919         gnu/java/rmi/server/UnicastConnection.java,
920         gnu/java/rmi/server/UnicastConnectionManager.java,
921         gnu/java/rmi/server/UnicastRemoteCall.java,
922         gnu/java/rmi/server/UnicastServer.java,
923         gnu/java/rmi/server/UnicastServerRef.java,
924         java/rmi/MarshalledObject.java,
925         java/rmi/Naming.java,
926         java/rmi/RMISecurityManager.java,
927         java/rmi/Remote.java,
928         java/rmi/activation/Activatable.java,
929         java/rmi/activation/ActivationDesc.java,
930         java/rmi/activation/ActivationGroup.java,
931         java/rmi/activation/ActivationGroupDesc.java,
932         java/rmi/activation/ActivationGroupID.java,
933         java/rmi/activation/ActivationID.java,
934         java/rmi/activation/ActivationInstantiator.java,
935         java/rmi/activation/ActivationMonitor.java,
936         java/rmi/activation/ActivationSystem.java,
937         java/rmi/activation/Activator.java,
938         java/rmi/dgc/DGC.java,
939         java/rmi/dgc/Lease.java,
940         java/rmi/dgc/VMID.java,
941         java/rmi/registry/LocateRegistry.java,
942         java/rmi/registry/Registry.java,
943         java/rmi/registry/RegistryHandler.java,
944         java/rmi/server/LoaderHandler.java,
945         java/rmi/server/LogStream.java,
946         java/rmi/server/ObjID.java,
947         java/rmi/server/Operation.java,
948         java/rmi/server/RMIClassLoader.java,
949         java/rmi/server/RMIClassLoaderSpi.java,
950         java/rmi/server/RMIClientSocketFactory.java,
951         java/rmi/server/RMIFailureHandler.java,
952         java/rmi/server/RMIServerSocketFactory.java,
953         java/rmi/server/RMISocketFactory.java,
954         java/rmi/server/RemoteCall.java,
955         java/rmi/server/RemoteObject.java,
956         java/rmi/server/RemoteRef.java,
957         java/rmi/server/RemoteServer.java,
958         java/rmi/server/RemoteStub.java,
959         java/rmi/server/ServerRef.java,
960         java/rmi/server/Skeleton.java,
961         java/rmi/server/SkeletonMismatchException.java,
962         java/rmi/server/UID.java,
963         java/rmi/server/UnicastRemoteObject.java,
964         java/rmi/server/Unreferenced.java:
965         File headers and import statements cleaned up.
966
967 2004-10-16  Michael Koch  <konqueror@gmx.de>
968
969         * libjava/gnu/java/nio/charset/UTF_16.java,
970         libjava/gnu/java/nio/charset/UTF_16BE.java,
971         libjava/gnu/java/nio/charset/UTF_16LE.java,
972         libjava/java/nio/ByteOrder.java,
973         libjava/java/nio/MappedByteBuffer.java,
974         libjava/java/nio/channels/Channels.java,
975         libjava/java/nio/channels/spi/SelectorProvider.java,
976         libjava/java/nio/charset/Charset.java:
977         Cleanup.
978
979 2004-10-16  Michael Koch  <konqueror@gmx.de>
980
981         * gnu/java/nio/charset/UTF_16Encoder.java
982         (UTF_16Encoder): Fixed maxBytesPerChar handling.
983
984 2004-10-16  Michael Koch  <konqueror@gmx.de>
985
986         * java/math/BigDecimal.java, java/math/BigInteger.java:
987         Reorganized import statements, removed redundant and
988         reorganized modifiers.
989
990 2004-10-16  Michael Koch  <konqueror@gmx.de>
991
992         * gnu/java/beans/ExplicitBeanInfo.java:
993         Explicitely import java.awt.Image.
994         (getIcon): Fixed off-by-one error.
995
996 2004-10-15  Andrew Haley  <aph@redhat.com>
997
998         * Makefile.am (nat_files, xlib_nat_files): New.
999         * Makefile.in: Regenerate.
1000
1001 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1002
1003         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1004         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1005
1006 2004-10-13  Andrew Haley  <aph@redhat.com>
1007
1008         * interpret.cc (_Jv_InterpMethod::run): Initialize
1009         _Jv_StartOfInterpreter.
1010         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1011         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1012         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1013         _Unwind_FindEnclosingFunction to discover whether PC is within the
1014         interpreter.
1015
1016 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1017
1018         PR libgcj/17903:
1019         * testsuite/libjava.lang/md5test.java: New file.
1020         * testsuite/libjava.lang/md5test.out: Likewise.
1021         * testsuite/libjava.lang/shatest.java: Likewise.
1022         * testsuite/libjava.lang/shatest.out: Likewise.
1023
1024 2004-10-11  Richard Henderson  <rth@redhat.com>
1025
1026         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1027         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1028
1029 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1030
1031         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1032         field as a DST boundary may have been crossed.
1033         * java/util/GregorianCalendar.java (add): Throw 
1034         IllegalArgumentException on attempt to add to DST_OFFSET or 
1035         ZONE_OFFSET fields. Update javadoc.
1036
1037 2004-10-09  Michael Koch  <konqueror@gmx.de>
1038
1039         * java/io/CharArrayWriter.java
1040         (resize): Removed redundant 'final' modifier.
1041         * java/io/DataInputStream.java
1042         (readFully): Throw IndexOutOfBoundsException of len < 0.
1043         * java/io/FileDescriptor.java,
1044         java/io/FileInputStream.java,
1045         java/io/FileOutputStream.java,
1046         java/io/ObjectOutputStream.java,
1047         java/io/ObjectStreamClass.java,
1048         java/io/PipedInputStream.java,
1049         java/io/RandomAccessFile.java:
1050         Reorganized import statements.
1051
1052 2004-10-09  Michael Koch  <konqueror@gmx.de>
1053
1054         * gnu/java/rmi/rmic/RMIC.java,
1055         gnu/java/rmi/server/RMIHashes.java,
1056         gnu/java/rmi/server/RMIObjectInputStream.java,
1057         gnu/java/rmi/server/UnicastConnection.java,
1058         gnu/java/rmi/server/UnicastConnectionManager.java,
1059         gnu/java/rmi/server/UnicastRemoteCall.java,
1060         gnu/java/rmi/server/UnicastServerRef.java:
1061         Reworked import statements and fixed file headers.
1062
1063 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1064
1065         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1066         emission rule.
1067         * configure: Rebuilt.
1068
1069 2004-09-30  Tom Tromey  <tromey@redhat.com>
1070
1071         * java/text/MessageFormat.java (Field): Constructor now
1072         protected.
1073
1074 2004-09-30  Tom Tromey  <tromey@redhat.com>
1075
1076         * javax/crypto/MacSpi.java: Fixed typo.
1077
1078 2004-09-30  Michael Koch  <konqueror@gmx.de>
1079
1080         * java/net/InetAddress.java: Reformatted.
1081         (loopback): Initialize with Inet4Address object.
1082         (static): Initialize ANY_IF with Inet4Address object.
1083         (InetAddress): Removed unused package-private constructor.
1084
1085 2004-09-30  Michael Koch  <konqueror@gmx.de>
1086
1087         * java/beans/Beans.java,
1088         java/beans/EventHandler.java,
1089         java/beans/EventSetDescriptor.java,
1090         java/beans/Introspector.java,
1091         java/beans/PropertyEditorManager.java,
1092         java/beans/beancontext/BeanContext.java,
1093         java/beans/beancontext/BeanContextChild.java,
1094         java/beans/beancontext/BeanContextChildSupport.java,
1095         java/beans/beancontext/BeanContextMembershipEvent.java:
1096         Reordered import statements and removed redundant modifiers.
1097
1098 2004-09-29  Tom Tromey  <tromey@redhat.com>
1099
1100         PR libgcj/17715:
1101         * Makefile.in: Rebuilt.
1102         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1103         files.
1104         (all_property_files): New macro.
1105
1106         * Makefile.in: Rebuilt.
1107         * Makefile.am (ordinary_java_source_files): Re-sorted.
1108         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1109
1110 2004-09-28  Tom Tromey  <tromey@redhat.com>
1111
1112         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1113
1114         PR libgcj/17222:
1115         * Makefile.am (libgcj.la): Restored.
1116         * Makefile.in: Rebuilt.
1117
1118 2004-09-28  Michael Koch  <konqueror@gmx.de>
1119
1120         * java/net/URLConnection.java: Reformatted.
1121         * java/net/URLClassLoader.java: Reformatted.
1122         (getContent): Reordered return of content.
1123         (getContentHandler): Don't check for null explicitely.
1124
1125 2004-09-27  Michael Koch  <konqueror@gmx.de>
1126
1127         * java/io/BufferedInputStream.java
1128         (BufferedInputStream): Added Jeroen Frijters to authors.
1129         (count): Don't explicitely initialize with default value.
1130         (pos): Likewise.
1131         (marklimit): Likewise.
1132         (read): Changed boolean expression to match GNU classpath' version.
1133         (reset): Add proper message to exception.
1134         (skip): Check for closed stream.
1135         (refill): Likewise.
1136
1137 2004-09-26  Per Bothner  <per@bothner.com>
1138
1139         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1140         avoid warnings in the non-POSIX_VERSION case.
1141         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1142         so place it inside an #if block.
1143         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1144         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1145         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1146         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1147
1148 2004-09-26  Per Bothner  <per@bothner.com>
1149
1150         * prims.cc (process_gcj_properties):  Optimization.
1151
1152 2004-09-26  Per Bothner  <per@bothner.com>
1153
1154         * java/util/Collections.java (sort):  Copy from array in forwards
1155         order, rather than reverse order which may be much less efficient.
1156
1157 2004-09-26  Mark Wielaard  <mark@klomp.org>
1158
1159         * java/lang/System.java (properties): Make package private.
1160         * java/lang/Throwable.java (StaticData.nl): Initialize through
1161         directly accessing System.properties.getProperty().
1162
1163         * java/lang/Throwable.java (nl): Remove static field.
1164         (StaticData): New private static inner class.
1165         (stackTraceStringBuffer): Use StaticData.nl.
1166
1167 2004-09-26  Casey Marshall <csm@gnu.org>
1168
1169         * java/security/ProtectionDomain.java
1170         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1171         `true'.
1172
1173         * java/security/SecureClassLoader.java
1174         (defineClass): make protection domain dynamically bound.
1175         (getPermissions): call `getCurrentPolicy' to avoid permission
1176         check.
1177
1178 2004-09-25  Mark Wielaard  <mark@klomp.org>
1179
1180         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1181         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1182         * Makefile.in: Regenerated.
1183
1184         * gcj/javaprims.h: Regenerated.
1185
1186         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1187         (getDefaultTimeZone): Make package private. Check that GMToffset
1188         contains at least one digit.
1189         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1190         VMTimeZone.
1191         * util/VMTimeZone.java: New file with above methods.
1192
1193         * java/util/natTimeZone.cc: Removed (renamed).
1194         * java/util/natVMTimeZone.cc: Added (renamed).
1195
1196 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1197
1198         * java/util/TimeZone.java
1199         (getDefaultTimeZone): Fixed test to distinguish between hours and
1200         minutes in specified timezone.
1201
1202 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1203
1204         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1205         handling of default package. (generate): Removed confused comments
1206         and code about making Method and Field accessible.
1207
1208 2004-09-25  Tom Tromey  <tromey@redhat.com>
1209
1210         PR java/17500:
1211         * testsuite/libjava.compile/pr17500.java: New file.
1212
1213 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1214             Mark Wielaard  <mark@klomp.org>
1215
1216         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1217         * gnu/regexp/RETokenLookAhead.java: New file.
1218
1219         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1220         * Makefile.in: Regenerated.
1221
1222 2004-09-25  Michael Koch  <konqueror@gmx.de>
1223
1224         * java/io/ObjectStreamField.java:
1225         Removed unused import statement.
1226
1227 2004-09-24  Tom Tromey  <tromey@redhat.com>
1228
1229         PR java/15656:
1230         * testsuite/libjava.compile/pr15656.xfail: New file.
1231         * testsuite/libjava.compile/pr15656.java: new file.
1232
1233         PR java/16789:
1234         * testsuite/libjava.lang/pr16789.out: New file.
1235         * testsuite/libjava.lang/pr16789.java: New file.
1236
1237 2004-09-24  Andrew Haley  <aph@redhat.com>
1238
1239         PR java/16927
1240         * testsuite/libjava.compile/AssertBug.java: New file.
1241
1242 2004-09-24  Casey Marshall <csm@gnu.org>
1243
1244         * java/util/PropertyPermissionCollection.java
1245         (implies): avoid infinite loop.
1246
1247 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1248
1249         * javax/security/auth/PrivateCredentialPermission.java
1250         (PrivateCredentialPermission): added serialization UID
1251
1252
1253 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1254
1255         * gnu/java/rmi/server/UnicastServer.java
1256         (incomingMessageCall): Added code to handle Errors.
1257         * gnu/java/rmi/server/UnicastServerRef.java
1258         (incomingMessageCall): Added code to handle Errors.
1259
1260
1261 2004-09-24  Tom Tromey  <tromey@redhat.com>
1262
1263         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1264         (definedPackages): Likewise.
1265
1266 2004-09-24  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/io/ObjectInputStream.java:
1269         Re-ordered imports.
1270
1271 2004-09-24  Casey Marshall <csm@gnu.org>
1272
1273         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1274         `ClassNotFoundException'.
1275
1276 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1277
1278         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1279         of Externalizable classes to ObjectStreamClass.
1280         * java/io/ObjectStreamClass.java (newInstance): New method to
1281         instantiate Externalizable (while ignoring the accessibility of
1282         the constructor). (constructor): New field to cache the constructor.
1283
1284 2004-09-24  Mark Wielaard  <mark@klomp.org>
1285
1286         * java/net/URL.java (systemClassLoader): New static field.
1287         (getURLStreamHandler): Always use system/application classloader
1288         for finding URLStreamhandler. Remove unecessary instanceof checks.
1289
1290 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1291
1292         * java/net/URL.java
1293         (set): This method now matches the behaviour of the JDK.
1294         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1295
1296 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1297
1298         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1299
1300 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1301
1302         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1303         Don't set authority if host isn't specified.
1304
1305 2004-09-24  Michael Koch  <konqueror@gmx.de>
1306
1307         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1308         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1309         * gnu/java/nio/VMPipe.java,
1310         gnu/java/nio/VMSelector.java:
1311         New files.
1312         * gnu/java/nio/natPipeImplEcos.cc,
1313         gnu/java/nio/natPipeImplPosix.cc,
1314         gnu/java/nio/natPipeImplWin32.cc:
1315         Ported to VMPipe.
1316         * gnu/java/nio/natSelectorImplEcos.cc,
1317         gnu/java/nio/natSelectorImplPosix.cc,
1318         gnu/java/nio/natSelectorImplWin32.cc:
1319         Ported to VMSelector.
1320         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1321         gnu/java/nio/VMSelector.java.
1322         * Makefile.in: Regenerated.
1323
1324 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1325
1326         * java/lang/StackTraceElement.java
1327         (className): Renamed field to declaringClass to be compatible
1328         with Sun serialization format.
1329
1330 2004-09-23  Michael Koch  <konqueror@gmx.de>
1331
1332         * java/applet/AppletContext.java,
1333         java/applet/Applet.java,
1334         java/applet/AppletStub.java,
1335         java/applet/AudioClip.java:
1336         Jalopied and checkstyle clean.
1337
1338 2004-09-23  Mark Wielaard  <mark@klomp.org>
1339
1340         * java/util/Collections.java
1341         (binarySearch(List, Object, Comparator)): Explicitly
1342         reverse direction in list iterator.
1343         (rotate): Just return when list is empty.
1344
1345 2004-09-23  Tom Tromey  <tromey@redhat.com>
1346
1347         PR java/17329:
1348         * testsuite/libjava.compile/pr17329.java: New file.
1349
1350         PR java/17380:
1351         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1352         9.2-implicit-7.
1353
1354 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1355
1356         * Makefile.am: Run aclocal with -I ../config
1357         * acinclude.m4: Delete macros picked up from ../config and tidy.
1358         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1359         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1360         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1361
1362 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1363
1364         * aclocal.m4: Regenerate with aclocal 1.9.2.
1365         * configure: Regenerate.
1366         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1367         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1368
1369 2004-09-22  David Daney  <ddaney@avtrex.com>
1370
1371         PR libgcj/17623
1372         * java/net/URL.java (URL): Copy userInfo from context.
1373         (getUserInfo): Return cached userInfo if present.
1374
1375 2004-09-22  Tom Tromey  <tromey@redhat.com>
1376
1377         PR libgcj/6182:
1378         * mauve-libgcj: Enable java.lang.Character tests.
1379
1380 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1381
1382         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1383         dependencies.
1384         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1385         * Makefile.in: Regenerated.
1386
1387 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1388
1389         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1390         * configure: Regenerate.
1391         * include/config.h.in: Likewise.
1392         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1394         macro to gtkpeer.h.
1395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1396         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1397         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1398         architectures.
1399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1400         Likewise.
1401
1402 2004-09-22  Tom Tromey  <tromey@redhat.com>
1403
1404         PR libgcj/14446:
1405         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1406         when comparing CRCs.
1407         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1408         field.
1409         (read()): New overload.
1410
1411 2004-09-21  Tom Tromey  <tromey@redhat.com>
1412
1413         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1414         Indentation fix.
1415
1416 2004-09-21  Michael Koch  <konqueror@gmx.de>
1417
1418         * java/net/Socket.java
1419         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1420
1421 2004-09-21  Casey Marshall  <csm@gnu.org>
1422
1423         * javax/crypto/MacSpi.java (clone): Provide meaningful
1424         implementation.
1425
1426 2004-09-21  Tom Tromey  <tromey@redhat.com>
1427
1428         PR libgcj/16869:
1429         * Makefile.in: Rebuilt.
1430         * Makefile.am (MOSTLYCLEANFILES): Removed.
1431         (mostlyclean-local): Remove header files.
1432
1433 2004-09-21  Casey Marshall  <csm@gnu.org>
1434
1435         * java/security/cert/X509CRLSelector.java:
1436         (match): remove unreachable try-catch clauses.
1437         Reported by: Dalibor Topic <robilad@kaffe.org>
1438
1439 2004-09-21  Mark Wielaard  <mark@klomp.org>
1440
1441         * java/util/TreeMap.java (root): Don't initialize.
1442         (TreeMap(Comparator)): Call fabricateTree(0).
1443         (fabricateTree): Initialize root and size when count is 0.
1444
1445 2004-09-21  Sven de Marothy <sven@physto.se>
1446
1447         * java/nio/ByteBuffer.java (hashCode): Implemented.
1448         * java/nio/CharBuffer.java: Likewise.
1449         * java/nio/DoubleBuffer.java: Likewise.
1450         * java/nio/FloatBuffer.java: Likewise.
1451         * java/nio/LongBuffer.java: Likewise.
1452         * java/nio/IntBuffer.java: Likewise.
1453         * java/nio/ShortBuffer.java: Likewise.
1454
1455 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1456
1457         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1458
1459 2004-09-21  Michael Koch  <konqueror@gmx.de>
1460
1461         * javax/net/ssl/SSLServerSocket.java:
1462         Removed comment about "Do not edit this file, it's generated.".
1463
1464 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1465
1466         Import the big Crypto/Jessie/Security merge from Classpath.
1467
1468         * Makefile.am: Add imported files.
1469         * Makefile.in: Regenerate.
1470
1471         2004-08-14  Casey Marshall <csm@gnu.org>
1472
1473         The Big Crypto Merge of 2004.
1474
1475         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1476         Crypto's version.
1477
1478         Files imported from GNU Crypto.
1479         * javax/crypto/BadPaddingException.java
1480         * javax/crypto/Cipher.java
1481         * javax/crypto/CipherInputStream.java
1482         * javax/crypto/CipherOutputStream.java
1483         * javax/crypto/CipherSpi.java
1484         * javax/crypto/EncryptedPrivateKeyInfo.java
1485         * javax/crypto/ExemptionMechanism.java
1486         * javax/crypto/ExemptionMechanismException.java
1487         * javax/crypto/ExemptionMechanismSpi.java
1488         * javax/crypto/IllegalBlockSizeException.java
1489         * javax/crypto/KeyAgreement.java
1490         * javax/crypto/KeyAgreementSpi.java
1491         * javax/crypto/KeyGenerator.java
1492         * javax/crypto/KeyGeneratorSpi.java
1493         * javax/crypto/Mac.java
1494         * javax/crypto/MacSpi.java
1495         * javax/crypto/Makefile.am
1496         * javax/crypto/NoSuchPaddingException.java
1497         * javax/crypto/NullCipher.java
1498         * javax/crypto/NullCipherImpl.java
1499         * javax/crypto/SealedObject.java
1500         * javax/crypto/SecretKey.java
1501         * javax/crypto/SecretKeyFactory.java
1502         * javax/crypto/SecretKeyFactorySpi.java
1503         * javax/crypto/ShortBufferException.java
1504         * javax/crypto/interfaces/DHKey.java
1505         * javax/crypto/interfaces/DHPrivateKey.java
1506         * javax/crypto/interfaces/DHPublicKey.java
1507         * javax/crypto/interfaces/PBEKey.java
1508         * javax/crypto/spec/DESKeySpec.java
1509         * javax/crypto/spec/DESedeKeySpec.java
1510         * javax/crypto/spec/DHGenParameterSpec.java
1511         * javax/crypto/spec/DHParameterSpec.java
1512         * javax/crypto/spec/DHPrivateKeySpec.java
1513         * javax/crypto/spec/DHPublicKeySpec.java
1514         * javax/crypto/spec/IvParameterSpec.java
1515         * javax/crypto/spec/PBEKeySpec.java
1516         * javax/crypto/spec/PBEParameterSpec.java
1517         * javax/crypto/spec/RC2ParameterSpec.java
1518         * javax/crypto/spec/RC5ParameterSpec.java
1519         * javax/crypto/spec/SecretKeySpec.java
1520         * javax/security/auth/AuthPermission.java
1521         * javax/security/auth/DestroyFailedException.java
1522         * javax/security/auth/Destroyable.java
1523         * javax/security/auth/Policy.java
1524         * javax/security/auth/PrivateCredentialPermission.java
1525         * javax/security/auth/RefreshFailedException.java
1526         * javax/security/auth/Refreshable.java
1527         * javax/security/auth/Subject.java
1528         * javax/security/auth/SubjectDomainCombiner.java
1529         * javax/security/auth/callback/Callback.java
1530         * javax/security/auth/callback/CallbackHandler.java
1531         * javax/security/auth/callback/ChoiceCallback.java
1532         * javax/security/auth/callback/ConfirmationCallback.java
1533         * javax/security/auth/callback/LanguageCallback.java
1534         * javax/security/auth/callback/NameCallback.java
1535         * javax/security/auth/callback/PasswordCallback.java
1536         * javax/security/auth/callback/TextInputCallback.java
1537         * javax/security/auth/callback/TextOutputCallback.java
1538         * javax/security/auth/callback/UnsupportedCallbackException.java
1539         * javax/security/auth/login/AccountExpiredException.java
1540         * javax/security/auth/login/AppConfigurationEntry.java
1541         * javax/security/auth/login/Configuration.java
1542         * javax/security/auth/login/CredentialExpiredException.java
1543         * javax/security/auth/login/FailedLoginException.java
1544         * javax/security/auth/login/LoginContext.java
1545         * javax/security/auth/login/LoginException.java
1546         * javax/security/auth/login/NullConfiguration.java
1547         * javax/security/auth/x500/X500PrivateCredential.java
1548         * javax/security/sasl/AuthenticationException.java
1549         * javax/security/sasl/AuthorizeCallback.java
1550         * javax/security/sasl/RealmCallback.java
1551         * javax/security/sasl/RealmChoiceCallback.java
1552         * javax/security/sasl/Sasl.java
1553         * javax/security/sasl/SaslClient.java
1554         * javax/security/sasl/SaslClientFactory.java
1555         * javax/security/sasl/SaslException.java
1556         * javax/security/sasl/SaslServer.java
1557         * javax/security/sasl/SaslServerFactory.java
1558         * org/ietf/jgss/ChannelBinding.java
1559         * org/ietf/jgss/GSSContext.java
1560         * org/ietf/jgss/GSSCredential.java
1561         * org/ietf/jgss/GSSException.java
1562         * org/ietf/jgss/GSSManager.java
1563         * org/ietf/jgss/GSSName.java
1564         * org/ietf/jgss/MessageProp.java
1565         * org/ietf/jgss/Oid.java
1566         * org/ietf/jgss/MessagesBundle.properties
1567
1568         Files imported from Jessie <http://www.nongnu.org/jessie/>
1569         * javax/net/ServerSocketFactory.java
1570         * javax/net/SocketFactory.java
1571         * javax/net/VanillaServerSocketFactory.java
1572         * javax/net/VanillaSocketFactory.java
1573         * javax/net/ssl/HandshakeCompletedEvent.java
1574         * javax/net/ssl/HandshakeCompletedListener.java
1575         * javax/net/ssl/HostnameVerifier.java
1576         * javax/net/ssl/HttpsURLConnection.java
1577         * javax/net/ssl/KeyManager.java
1578         * javax/net/ssl/KeyManagerFactory.java
1579         * javax/net/ssl/KeyManagerFactorySpi.java
1580         * javax/net/ssl/ManagerFactoryParameters.java
1581         * javax/net/ssl/SSLContext.java
1582         * javax/net/ssl/SSLContextSpi.java
1583         * javax/net/ssl/SSLException.java
1584         * javax/net/ssl/SSLHandshakeException.java
1585         * javax/net/ssl/SSLKeyException.java
1586         * javax/net/ssl/SSLPeerUnverifiedException.java
1587         * javax/net/ssl/SSLPermission.java
1588         * javax/net/ssl/SSLProtocolException.java
1589         * javax/net/ssl/SSLServerSocket.java
1590         * javax/net/ssl/SSLServerSocketFactory.java
1591         * javax/net/ssl/SSLSession.java
1592         * javax/net/ssl/SSLSessionBindingEvent.java
1593         * javax/net/ssl/SSLSessionBindingListener.java
1594         * javax/net/ssl/SSLSessionContext.java
1595         * javax/net/ssl/SSLSocket.java
1596         * javax/net/ssl/SSLSocketFactory.java
1597         * javax/net/ssl/TrivialHostnameVerifier.java
1598         * javax/net/ssl/TrustManager.java
1599         * javax/net/ssl/TrustManagerFactory.java
1600         * javax/net/ssl/TrustManagerFactorySpi.java
1601         * javax/net/ssl/X509KeyManager.java
1602         * javax/net/ssl/X509TrustManager.java
1603         * javax/security/cert/Certificate.java
1604         * javax/security/cert/CertificateEncodingException.java
1605         * javax/security/cert/CertificateException.java
1606         * javax/security/cert/CertificateExpiredException.java
1607         * javax/security/cert/CertificateNotYetValidException.java
1608         * javax/security/cert/CertificateParsingException.java
1609         * javax/security/cert/X509CertBridge.java
1610         * javax/security/cert/X509Certificate.java
1611
1612         2004-08-20  Casey Marshall  <csm@gnu.org>
1613
1614         * java/security/cert/X509CRLSelector.java: New file.
1615         * java/security/cert/X509CertSelector.java: New file.
1616
1617 2004-09-15  Michael Koch  <konqueror@gmx.de>
1618
1619         * gnu/java/net/protocol/file/Handler.java
1620         (openConnection): Don't throw exception if host part for file: URI is
1621         present. setURL() keeps file: protocol if ftp: protocol is not
1622         available.
1623
1624 2004-09-14  Richard Henderson  <rth@redhat.com>
1625
1626         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1627         value of sigsuspend.
1628
1629 2004-09-12  Tom Tromey  <tromey@redhat.com>
1630
1631         * javax/naming/CompoundName.java (CompoundName): Don't check for
1632         separator in "flat" case.
1633
1634 2004-09-12  Michael Koch  <konqueror@gmx.de>
1635
1636         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1637         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1638         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1639         Regenerate.
1640
1641 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1642
1643         PR libgcj/14751
1644         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1645         handle in newly-allocated _Jv_Thread_t.
1646         (_Jv_ThreadDestroyData): Close thread handle.
1647         (_Jv_ThreadStart): Remove obsolete comment.
1648         Store handle of newly-created thread in _Jv_Thread_t.
1649         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1650         before including <windows.h>
1651         #define _Jv_HaveCondDestroy
1652
1653 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1654
1655         * java/lang/natThread.cc (finalize_native): Destroy
1656         join conditional variable and mutex if these destroy
1657         operations are supported.
1658
1659 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1660
1661         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1662         (DEFAULT_PERMISSION): New constant.
1663         (Connection): Create a FilePermission with permission to read file.
1664
1665 2004-09-10  Michael Koch  <konqueror@gmx.de>
1666
1667         * gnu/java/net/protocol/file/Connection.java
1668         (getLastModified): Moved around.
1669         (getPermission): Return stored permission.
1670
1671 2004-09-10  Michael Koch  <konqueror@gmx.de>
1672
1673         * Makefile.in: Regenerate.
1674
1675 2004-09-10  Michael Koch  <konqueror@gmx.de>
1676
1677         * Makefile.am: Reverted accidently commited stuff.
1678         * configure: Regenerated.
1679
1680 2004-09-10  Michael Koch  <konqueror@gmx.de>
1681
1682         * gnu/java/net/protocol/file/Connection.java
1683         (lineSeparator): Made non-final.
1684         (static): Removed.
1685         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1686         instead of StringBufferInputStream.
1687
1688 2004-09-10  Michael Koch  <konqueror@gmx.de>
1689
1690         * gnu/java/net/protocol/file/Connection.java
1691         (connect): Handle file is a directory case.
1692
1693 2004-09-10  Michael Koch  <konqueror@gmx.de>
1694
1695         * Makefile.am
1696         (xlib_includes): Removed.
1697         (AM_CPPFLAGS): Renamed from INCLUDES.
1698         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1699         * Makefile.in: Regenerate.
1700
1701 2004-09-09  Michael Koch  <konqueror@gmx.de>
1702
1703         * java/security/ProtectionDomain.java,
1704         * java/util/PropertyPermissionCollection.java:
1705         Fixed javadocs all over.
1706
1707 2004-09-09  Sven de Marothy  <sven@physto.se>
1708
1709         Patch from David Gilbert <david.gilbert@object-refinery.com>
1710         * java/lang/Comparable.java: Fixed documentation errors.
1711         * java/util/Arrays.java: Likewise.
1712
1713 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1714
1715         * java/net/Inet4Address.java
1716         (Inet4Address): Added comment to serialization UID.
1717         * java/text/Format.java
1718         (Format): Added comment to serialization UID.
1719
1720 2004-09-09  Michael Koch  <konqueror@gmx.de>
1721
1722         * java/lang/System.java
1723         (err): Fixed javadoci to point to setErr() and not setOut().
1724
1725 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1726
1727         (normalizePath): Added special case for windows systems.
1728
1729 2004-09-09  Michael Koch  <konqueror@gmx.de>
1730
1731         * java/io/File.java
1732         (dupSeparator): Made private.
1733         (File(URI)): New constructor.
1734         (getParentFile): Fixed javadoc.
1735         (createTempFile): Reformated.
1736         (setReadOnly): Added comment.
1737         (deleteOnExit): Merged javadoc with classpath version.
1738
1739 2004-09-09  Michael Koch  <konqueror@gmx.de>
1740
1741         * Makefile.am: Don't try to include deps.mk.
1742         * Makefile.in: Regenerated.
1743
1744 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1745
1746         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1747         .d files.
1748         * configure: Rebuilt.
1749
1750 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1751
1752         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1753         Changed pfn from static local to local.
1754
1755 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1756             H.J. Lu  <hongjiu.lu@intel.com>
1757
1758         PR libgcj/17290
1759         * Makefile.am (GCJCOMPILE): Remove definition.
1760         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1761         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1762         * Makefile.in: Rebuilt.
1763
1764 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1765
1766         * configure.ac (enable-gc-debug): Update help for new syntax.
1767         * configure: Regenerate.
1768
1769 2004-09-03  David Daney  <ddaney@avtrex.com>
1770
1771         * include/mips-signal.h: Update copyright.
1772
1773 2004-09-03  David Daney  <ddaney@avtrex.com>
1774
1775         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1776         * include/mips-signal.h: Added HANDLE_FPE support.
1777         
1778 2004-08-31  Michael Koch  <konqueror@gmx.de>
1779
1780         * javax/swing/plaf/basic/BasicTextAreaUI.java
1781         (create): New method.
1782         * javax/swing/text/DefaultHighlighter.java
1783         (DefaultHighlightPainter.debugRect): Removed.
1784         * javax/swing/text/StyleContext.java
1785         (DEFAULT_STYLE): New field.
1786
1787 2004-08-31  Michael Koch  <konqueror@gmx.de>
1788
1789         * javax/swing/plaf/basic/BasicLookAndFeel.java
1790         (initComponentDefaults): Add keybindings for selection.backward and
1791         selection-forward for text components.
1792         * javax/swing/plaf/basic/BasicTextUI.java
1793         (paintSafely): Paint highlight only when something is actually
1794         selected.
1795         * javax/swing/text/DefaultCaret.java
1796         (handleHighlight): New method.
1797         (setSelectionVisible): Don't do anything when nothing changes.
1798         Handle highlight.
1799         (moveDot): Reimplemented. Handle highlight.
1800         (setDot): Set mark too. Handle highlight.
1801         (getSelectionPainter): New method.
1802         * javax/swing/text/DefaultEditorKit.java
1803         (defaultActions): Added new actions for text selection.
1804         * javax/swing/text/DefaultHighlighter.java
1805         (DefaultHighlightPainter): New inner class.
1806         (DefaultPainter): New field.
1807         (paint): Implemented.
1808         * javax/swing/text/PlainView.java
1809         (paint): Don't draw background here again.
1810         * javax/swing/text/Utilities.java
1811         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1812         (drawTabbedText): Likewise.
1813
1814 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1815
1816         * javax/swing/JComponent.java
1817         (resetKeyboardActions): Add null checks.
1818
1819 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1820
1821         * javax/swing/DefaultButtonModel.java:
1822         Skip group notification when no group is set.
1823
1824 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1825
1826         * javax/swing/JColorChooser.java: 
1827         Make a couple inner classes static, for jikes.
1828
1829 2004-08-31  Michael Koch  <konqueror@gmx.de>
1830
1831         * javax/swing/plaf/basic/BasicTextUI.java
1832         (RottView.modelToView): New method.
1833         (UpdateHandler): Renamed from EventHandler.
1834         (updateHandler): Renamed from eventHandler.
1835         (modelToView): Implemented.
1836         * javax/swing/text/AbstractDocument.java
1837         (BranchElement.getElement): Return null for non-existing indeces.
1838         (BranchElement.getElementIndex): Return 0 in some corner cases.
1839         * javax/swing/text/FieldView.java
1840         (modelToView): New method.
1841         * javax/swing/text/PlainView.java
1842         (modelToView): Made public.
1843
1844 2004-08-31  Kim Ho  <kho@redhat.com>
1845
1846         * Makefile.am: New files.
1847         * Makefile.in: Regenerate.
1848         * gcj/Makefile.in: Regenerate.
1849         * include/Makefile.in: Regenerate.
1850         * java/awt/Color.java: Fix documentation.
1851         (RGBtoHSB): Use floats for conversions.
1852         * javax/swing/ButtonGroup.java: Run Jalopy.
1853         (setSelected): Reimplement.
1854         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1855         (changeState): Let ButtonGroup know that the button 
1856         is changing state.
1857         * javax/swing/JColorChooser.java: Implement.
1858         * javax/swing/JLabel.java: Run Jalopy.
1859         * javax/swing/JSpinner.java: Run Jalopy.
1860         (setValue): New method.
1861         * javax/swing/JTabbedPane.java: Run Jalopy.
1862         (removeTabAt): Call correct remove method.
1863         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1864         (getPreviousValue): Compare minimum value.
1865         * javax/swing/Timer.java: Run Jalopy.
1866         (run): Comment out println.
1867         * javax/swing/ToolTipManager.java:
1868         (mouseMoved): Get new tooltip text for location.
1869         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1870         Jalopy and Javadoc.
1871         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1872         Implement.
1873         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1874         Run Jalopy.
1875         (setSelectedColor): Fire ChangeEvent.
1876         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1877         New file. Implement.
1878         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1879         Ditto.
1880         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1881         Ditto.
1882         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1883         Ditto.
1884         * javax/swing/plaf/basic/BasicArrowButton.java:
1885         (getArrow): Fix size of upward pointing button.
1886         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1887         Implement.
1888         * javax/swing/plaf/basic/BasicSliderUI.java:
1889         (getWidthOfWidestLabel): Use preferred dimensions.
1890         (getHeightOfTallestLabel): Ditto.
1891         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1892         Run Jalopy.
1893         (mousePressed): Disable changes to spinner if it is not enabled.
1894         * testsuite/Makefile.in: Regenerate.
1895
1896
1897 2004-08-31  Michael Koch  <konqueror@gmx.de>
1898
1899         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1900         javax/swing/plaf/basic/BasicTableUI.java:
1901         Added copyright notice.
1902
1903 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1904
1905         * Makefile.am: Added new files.
1906         * Makefile.in: Regenerate.
1907         * javax/swing/ComboBoxEditor.java: Added javadocs.
1908         * javax/swing/ComboBoxModel.java: Likewise.
1909         * javax/swing/DefaultComboBoxModel.java: Implemented.
1910         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1911         and ran through jalopy to fix formatting style.
1912         (getListCellRendererComponent): Use appropriate border
1913         if renderer has focus and use noFocusBorder when it doesn't.
1914         * javax/swing/JComboBox.java: Implemented.
1915         * javax/swing/JList.java:
1916         (locationToIndex): New Method. Implemented.
1917         (indexToLocation): New Method.
1918         * javax/swing/JPopupMenu.java: 
1919         (visible): New field.
1920         (isVisible): Changed to use new field above.
1921         (setVisible): Likewise.
1922         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1923         * javax/swing/plaf/basic/BasicArrowButton.java: 
1924         (shadow): Changed default color to Color.gray.
1925         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1926         UI delegate for JComboBox.
1927         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1928         Popup menu containing list of JComboBox's items.
1929         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1930         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1931         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1932         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1933         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1934         (popupMenuWillBecomeVisible): Set selected path to the first
1935         element only if it is of type MenuElement. Also fix formatting
1936         style.
1937         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1938         methods signatures.
1939         
1940 2004-08-31  Michael Koch  <konqueror@gmx.de>
1941
1942         * javax/swing/text/AbstractDocument.java
1943         (createBranchElement): Use new constructor of BranchElement.
1944         (createLeafElement): Renamed arguments.
1945         (getRootElements): Implemented.
1946         (BranchElement.start): Removed.
1947         (BranchElement.end): Likewise.
1948         (BranchElement.BranchElement): Fixed arguments.
1949         (BranchElement.getEndOffset): Reimplemented.
1950         (BranchElement.getStartOffset): Likewis.
1951         * javax/swing/text/DefaultCaret.java
1952         (paint): Draw simple vertical line as caret instead of a rectangle.
1953         * javax/swing/text/JTextComponent.java
1954         (setText): Use doc directly.
1955         * javax/swing/text/PlainView.java
1956         (nextTabStop): Implemented.
1957         * javax/swing/text/Utilities.java
1958         (drawTabbedText): nextTabStop() returns an absolute x position.
1959         (getTabbedTextWidth): Likewise.
1960
1961 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1962
1963         * java/awt/Component.java 
1964         (isFocusTraversable): Predicate on isLightweight()
1965         (setFocusable): Set isFocusTraversableOverridden.
1966         (requestFocus): Predicate peer dispatch on !isLightweight()
1967         (requestFocusInWindow): Likewise.
1968         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1969         * java/awt/Container.java
1970         (dispatchEventImpl): Predicate on event mask.
1971         (LightweightDispatcher): Remove focus machinery.
1972         * java/awt/DefaultFocusTraversalPolicy.java
1973         (accept): Expand predicate to include isFocusable(). 
1974         * java/awt/DefaultKeyboardFocusManager.java:
1975         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1976         * java/awt/KeyboardFocusManager.java
1977         (redispatchEvent): Synchronize on event to prevent feedback.
1978         * javax/swing/AbstractButton.java
1979         (ButtonFocusListener): Remove class.
1980         (init): Set focusPainted, focusable.
1981         * javax/swing/ActionMap.java (get): Check parent for null. 
1982         * javax/swing/InputMap.java (get): Likewise. 
1983         * javax/swing/JComponent.java
1984         (inputMap_whenFocused): New InputMap.
1985         (inputMap_whenAncestorOfFocused): Likewise.
1986         (inputMap_whenInFocusedWindow): Likewise.
1987         (getActionForKeyStroke): Rewrite.
1988         (getConditionForKeystroke): Likewise.
1989         (ActionListenerProxy): New private class.
1990         (setInputMap): Implement.
1991         (getInputMap): Likewise.
1992         (setActionMap): Likewise.
1993         (getActionMap): Likewise.
1994         (processComponentKeyEvent): New empty method.
1995         (processKeyEvent): Implement.
1996         (processKeyBinding): Likewise.
1997         (resetKeyboardActions): Rewrite.
1998         * javax/swing/KeyStroke.java: Rewrite.
1999         * javax/swing/SwingUtilities.java
2000         (notifyAction): Implement.
2001         (replaceUIActionMap): Likewise.
2002         (replaceUIInputMap): Likewise.
2003         * javax/swing/plaf/basic/BasicButtonListener.java
2004         (focusGained): Implement.
2005         (focusLost): Repaint if focusPainted().
2006         (installKeyboardActions): Install pressed / released actions.
2007         (uninstallKeyboardActions): Implement.
2008         * javax/swing/plaf/basic/BasicButtonUI.java
2009         (focusColor): New field.
2010         (installDefaults): Load focus color, install input map.
2011         (installKeyboardActions): Implement.
2012         (uninstallKeyboardActions): Likewise.
2013         (paintFocus): Rewrite.
2014         * javax/swing/plaf/basic/BasicLookAndFeel.java
2015         (Button.focus): New default, midPurple. 
2016         * javax/swing/plaf/basic/BasicTextUI.java
2017         (kit): Make static.
2018         (installUI): Get doc from kit, load defaults.
2019         (getKeymapName): Implement.
2020         (createKeymap): Likewise.
2021         (installKeyboardActions): Likewise.
2022         (getInputMap): Likewise.
2023         (getActionMap): Likewise.
2024         (createActionMap): Likewise.
2025         * javax/swing/text/AbstractDocument.java
2026         (getStartPosition): Implement.
2027         (getEndPosition): Likewise.
2028         * javax/swing/text/DefaultEditorKit.java
2029         (CopyAction): New class.
2030         (CutAction): Likewise.
2031         (DefaultKeyTypedAction): Likewise.
2032         (InsertBreakAction): Likewise.
2033         (InsertContentAction): Likewise.
2034         (InsertTabAction): Likewise.
2035         (PasteAction): Likewise.
2036         (defaultActions): New static table.
2037         (createCaret): Implement.
2038         (getActions): Likewise.
2039         * javax/swing/text/JTextComponent.java
2040         (KeymapWrapper): New private class.
2041         (KeymapActionMap): Likewise.
2042         (DefaultKeymap): New class.
2043         (keymaps): New static table.
2044         (keymap): New field.
2045         (getKeymap): Implement.
2046         (removeKeymap): Likewise.
2047         (addKeymap): Likewise.
2048         (setKeymap): Likewise.
2049         (loadKeymap): Likewise.
2050         (getActions): Likewise.
2051         (margin): New field.
2052         (JTextComponent): Build and install default keymap.
2053         * javax/swing/text/TextAction.java
2054         (textAction): Call super properly.
2055         (getTextComponent): Implement.
2056         * javax/swing/text/Utilities.java
2057         (drawTabbedText): Adjust position by ascent.
2058
2059 2004-08-31  David Jee  <djee@redhat.com>
2060
2061         PR AWT/17156
2062
2063         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2064         (setEnabled): Make it a native method.
2065         * java/awt/DefaultKeyboardFocusManager.java
2066         (postProcessKeyEvent): Only post event if the menu item
2067         is active.
2068         * java/awt/MenuItem.java:
2069         Private field 'enabled' should be true by default.
2070         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2071         (setEnabled): New function.
2072
2073 2004-08-31  David Jee  <djee@redhat.com>
2074
2075         PR AWT/17059
2076
2077         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2078         (nativeSetHelpMenu): New native method declaration.
2079         (addHelpMenu): Call nativeSetHelpMenu().
2080         (addMenu): Remove.
2081         * java/awt/MenuBar.java
2082         (setHelpMenu): Call addNotify() on the new help menu.
2083         (add): Call addNotify() on the new menu.
2084         (addNotify): Set the help menu if one exists.
2085         * java/awt/peer/MenuBarPeer.java
2086         (addMenu): Remove.
2087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2088         (nativeSetHelpMenu): New method.
2089
2090 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2091
2092         * Makefile.am: Add new files.
2093         * Makefile.in: Regenerate.
2094         * javax/swing/Box.java: Fix setting of layout in ctor.
2095         * javax/swing/JScrollPane.java: Scroll headers as well.
2096         * javax/swing/JTable.java: Reimplement.
2097         * javax/swing/JViewPort.java: Only add non-null children.
2098         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2099         * javax/swing/Timer.java: Fix stopping null waker.
2100         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2101         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2102         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2103         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2104         * javax/swing/table/DefaultTableModel.java: Clean up.
2105         * javax/swing/table/JTableHeader.java: Implement.
2106
2107 2004-08-31  Mark Wielaard  <mark@klomp.org>
2108
2109         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2110         semi-colon.
2111
2112 2004-08-31  Mark Wielaard  <mark@klomp.org>
2113
2114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2115         Declare variables at top of functions/block.
2116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2117
2118 2004-08-31  Mark Wielaard  <mark@klomp.org>
2119
2120         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2121         first.
2122
2123 2004-08-31  Michael Koch  <konqueror@gmx.de>
2124
2125         * javax/swing/text/PlainView.java
2126         (selectedColor): New field.
2127         (unselectedColor): Likewise.
2128         (font): Likewise.
2129         (updateMetrics): New method.
2130         (lineToRect): Likewise.
2131         (modelToView): Likewise.
2132         (drawSelectedText): Use color from JTextComponent ad draw with
2133         Utilities class.
2134         (drawUnselectedText): Likewise.
2135         (paint): Initialize helper fields.
2136         * javax/swing/text/View.java
2137         (getChildAllocation): New method.
2138         (getViewIndex): Likewise.
2139         (getToolTipText): Likewise.
2140
2141 2004-08-31  Michael Koch  <konqueror@gmx.de>
2142
2143         * javax/swing/text/Utilities.java
2144         (drawTabbedText): Reimplemented.
2145         (getTabbedTextWidth): Likewise.
2146
2147 2004-08-31  Michael Koch  <konqueror@gmx.de>
2148
2149         * javax/swing/plaf/basic/BasicTextUI.java
2150         (installDefaults): Install caret and highlighter.
2151         (modelToView): Use Bias.Forward when calling sibling.
2152         * javax/swing/text/AbstractDocument.java
2153         (ElementEdit): Implements DocumentEvent.ElementChange.
2154         (ElementEdit.ElementEdit): New method.
2155         (ElementEdit.getChildrenAdded): Likewise.
2156         (ElementEdit.getChildrenRemoved): Likewise.
2157         (ElementEdit.getElement): Likewise.
2158         (ElementEdit.getIndex): Likewise.
2159         * javax/swing/text/DefaultCaret.java
2160         (color): Removed.
2161         (textComponent): Renamed from parent, made private.
2162         (selectionVisible): Renamed from vis_sel, made private.
2163         (blinkRate): Renamed from blink, made private.
2164         (magicCaretPosition): Renamed from magic, made private.
2165         (visible): Renamed from vis, made private.
2166         (dot): Made private.
2167         (mark): Likewise.
2168         (deinstall): Remove as MouseMotionListener.
2169         (install): Initialize textComponent first. Add as MouseMotionListener.
2170         (paint): Reimplemented.
2171         * javax/swing/text/JTextComponent.java
2172         (setCaret): Deinstall old caret, install new one and fire property
2173         change after setting property.
2174         (setHighlighter): Deinstall old highlighter, install new one and fire
2175         property change after setting property.
2176         (setCaretColor): Fire property change after setting property.
2177         (setDisabledTextColor): Likewise.
2178         (setSelectedTextColor): Likewise.
2179         (setSelectionColor): Likewise.
2180         (modelToView): New method.
2181
2182 2004-08-31  Michael Koch  <konqueror@gmx.de>
2183
2184         * javax/swing/text/AbstractDocument.java
2185         (getText): Simplified.
2186         * javax/swing/text/Segment.java
2187         (current): New field.
2188         (current): Reimplemented.
2189         (first): Likewise.
2190         (getIndex): Likewise.
2191         (last): Likewise.
2192         (next): Likewise.
2193         (previous): Likewise.
2194         (setIndex): Likewise.
2195
2196 2004-08-31  Michael Koch  <konqueror@gmx.de>
2197
2198         * javax/swing/plaf/basic/BasicButtonUI.java
2199         (defaultTextIconGap): Made protected.
2200         (defaultTextShiftOffset): Likewise.
2201         (textShiftOffset): New field.
2202         (clearTextShiftOffset): New method.
2203         (getTextShiftOffset): Likewise.
2204         (setTextShiftOffset): Likewise.
2205
2206 2004-08-31  Michael Koch  <konqueror@gmx.de>
2207
2208         * javax/swing/plaf/basic/BasicTextUI.java
2209         (installUI): Add eventHandler as property listener.
2210         (uninstallUI): remove eventHandler as propert listener.
2211         (installDefaults): Added comment.
2212         (installListeners): Likewise.
2213         (installKeyboardActions): Likewise.
2214         (uninstallDefaults): Likewise.
2215         (uninstallListeners): Likewise.
2216         (uninstallKeyboardActions): Likewise.
2217
2218 2004-08-31  Michael Koch  <konqueror@gmx.de>
2219
2220         * javax/swing/text/AbstractDocument.java:
2221         Fixed some typos in comments.
2222         (insertString): Reimplemented.
2223         (remove): Likewise.
2224         (replace): New method.
2225         (children): Dont use fully qualified class name.
2226         (DefaultDocumentEvent.offset): Renamed from off.
2227         (DefaultDocumentEvent.length): Renamed from len.
2228         (DefaultDocumentEvent.type): New field.
2229         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2230         (DefaultDocumentEvent.getType): Implemented.
2231
2232 2004-08-31  Michael Koch  <konqueror@gmx.de>
2233
2234         * javax/swing/plaf/basic/BasicTextUI.java
2235         (RootView.textComponent): Removed.
2236         (RootView.RootView): Don't initialize textComponent.
2237         (RootView.getViewFactory): New method.
2238         (EventHandler): New inner class.
2239         (rootView): Initialize at instance creation.
2240         (eventHandler): New field.
2241         (installUI): Don't create view hierarchy directly,
2242         call modelChanged() instead.
2243         (modelChanged): New method.
2244         * javax/swing/text/JTextComponent.java
2245         (setDocument): Fire property change event.
2246
2247 2004-08-31  Michael Koch  <konqueror@gmx.de>
2248
2249         * javax/swing/plaf/basic/BasicTextUI.java
2250         (RootView.paint): Removed debug output.
2251         (paintSafely): Draw highlighter before text.
2252         (paintBackground): Use background color of text component.
2253         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2254         Reformatted.
2255
2256 2004-08-31  Michael Koch  <konqueror@gmx.de>
2257
2258         * javax/swing/plaf/basic/BasicToolBarUI.java
2259         (BasicToolBarUI): Fixed arguments for constructor.
2260         (createUI): Fixed creation of object.
2261
2262 2004-08-31  Michael Koch  <konqueror@gmx.de>
2263
2264         * javax/swing/DefaultListSelectionModel.java
2265         (fireValueChanged): Renamed from fireSelectionValueChanged,
2266         made protected.
2267
2268 2004-08-31  Michael Koch  <konqueror@gmx.de>
2269
2270         * javax/swing/text/TabSet.java
2271         (TabSet): Implements java.io.Serializable.
2272         * javax/swing/text/TabStop.java
2273         (TabStop): Implements java.io.Serializable.
2274         (TabStop): Made public.
2275
2276 2004-08-31  Michael Koch  <konqueror@gmx.de>
2277
2278         * javax/swing/JComponent.java
2279         (setUI): Fire PropertyChange.
2280         * javax/swing/JLabel.java
2281         (text): Renamed from labelText.
2282         (horizontalAlignment): New default vlaue.
2283         (icon): Renamed from activeIcon.
2284         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2285         (displayedMnemonicIndex): Renamed from underlineChar.
2286         (setDisplayedMnemonic): Reimplemented.
2287         * javax/swing/JRadioButton.java
2288         (JRadioButton): New constructors.
2289         * javax/swing/JTextField.java
2290         (JTextField): Throw exception if colums < 0, initialitialz
2291         this.columns directly and initialize document with text conditionally.
2292
2293 2004-08-31  Michael Koch  <konqueror@gmx.de>
2294
2295         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2296         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2297         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2298         * javax/swing/text/FieldView.java
2299         (paint): Just call super method for now.
2300         * Makefile.am: Added new files.
2301         * Makefile.in: Regenerated.
2302
2303 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2304
2305         * javax/swing/AbstractSpinnerModel.java,
2306         javax/swing/JSpinner.java,
2307         javax/swing/SpinnerNumberModel.java,
2308         javax/swing/plaf/basic/BasicSpinnerUI.java:
2309         New files.
2310         * javax/swing/plaf/basic/BasicLookAndFeel.java
2311         (initClassDefaults): Added defaults for BasicSpinnerUI.
2312
2313 2004-08-31  Michael Koch  <konqueror@gmx.de>
2314
2315         * Makefile.am: Added new files.
2316         * Makefile.in: Regenerated.
2317
2318 2004-08-31  Michael Koch  <konqueror@gmx.de>
2319
2320         * javax/swing/TransferHandler.java,
2321         javax/swing/plaf/basic/ComboPopup.java: New files
2322         * Makefile.am: Added javax/swing/TransferHandler.java and
2323         javax/swing/plaf/basic/ComboPopup.java
2324         * Makefile.in: Regenerated.
2325
2326 2004-08-31  Roman Kennke  <roman@ontographics.com>
2327
2328         * javax/swing/text/Utilities.java: New file.
2329
2330 2004-08-31  Michael Koch  <konqueror@gmx.de>
2331
2332         * Makefile.am: Added javax/swing/text/Utilities.java.
2333         * Makefile.in: Regenerated.
2334
2335 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2336
2337         * javax/swing/text/SimpleAttributeSet.java: New file.
2338         * javax/swing/text/StyleConstants.java: New file.
2339         * javax/swing/text/StyleContext.java: New file.
2340         * javax/swing/text/TabSet.java: New file.
2341         * javax/swing/text/TabStop.java: New file.
2342         * javax/swing/text/AbstactDocument.java:
2343         (AbstractElement): Implement attribute support.
2344         * javax/swing/text/AttributeSet.java
2345         (NameAttribute): New static field.
2346         (ResolveAttribute): New static field.
2347         * Makefile.am: Update for new files.
2348         * Makefile.in: Regenerate.
2349
2350 2004-08-31  Craig Black  <craig.black@aonix.com>
2351
2352         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2353         (drawImage): Add support for scaling pixmaps.
2354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2355         (copyAndScalePixmap): New native method.
2356  
2357 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2358
2359         PR AWT/16121
2360         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2361         type-punning compiler warnings using unions.
2362         (throw): Replace bzero with memset.
2363
2364 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2365             Thomas Fitzsimmons  <fitzsim@redhat.com>
2366
2367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2368         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2369         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2371         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2372
2373 2004-08-31  Mark Wielaard  <mark@klomp.org>
2374
2375         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2376         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2377         and stdlib.h, not gtkpeer.h.
2378         (*vm): New static variable.
2379         (areaPreparedID): Make static.
2380         (areaUpdatedID): Likewise.
2381         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2382         (area_prepared): Likewise.
2383         (area_updated): Likewise.
2384         (closed): Likewise.
2385         (initStaticState): Initialize *vm javaVM.
2386         (pumpBytes): Use given env, not global gdk_env.
2387
2388 2004-08-31  Mark Wielaard  <mark@klomp.org>
2389
2390         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2391         comments.
2392
2393 2004-08-31  Sven de Marothy  <sven@physto.se>
2394
2395         * java/awt/geom/CubicCurve2D.java: Reindent.
2396         (contains): Implemented.
2397         (intersects): Implemented.
2398         * java/awt/geom/QuadCurve2D.java: Likewise.
2399         * java/awt/geom/GeneralPath.java: Reindent and document.
2400         Fully (re)implemented using separate xpoints and ypoints
2401         float[] coords.
2402         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2403
2404 2004-08-31  Michael Koch  <konqueror@gmx.de>
2405
2406         * javax/swing/JMenuItem.java
2407         (getMenuDragMouseListeners): New method.
2408         (getMenuKeyListeners): Likewise.
2409
2410 2004-08-31  Michael Koch  <konqueror@gmx.de>
2411
2412         * javax/swing/AbstractButton.java
2413         (model): Made protected.
2414         (actionListener): Likewise.
2415         (changeListener): Likewise.
2416         (itemListener): Likewise.
2417         (multiClickThreshhold): New field.
2418         (getActionListeners): New method.
2419         (getChangeListeners): Likewise.
2420         (getItemListeners): Likewise.
2421         (fireItemStateChanged): Simplified implementation.
2422         (fireActionPerformed): Likewise.
2423         (fireStateChanged): Likewise.
2424         (getMultiClickThreshhold): New method.
2425         (setMultiClickThreshhold): Likewise.
2426
2427 2004-08-31  Tom Tromey  <tromey@redhat.com>
2428
2429         * java/awt/image/Kernel.java (clone): Use super.clone().
2430
2431 2004-08-31  David Jee  <djee@redhat.com>
2432
2433         PR AWT/16682
2434         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2435         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2436         (nativeSetIconImageFromData): New native method declaration.
2437         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2438         * gnu/java/awt/peer/gtk/GtkImage.java
2439         (getPixelCache): New method.
2440         (getColorModel): New method.
2441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2442         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2443         (free_pixbuf_data): New helper function.
2444         (nativeSetIconImageFromData): New function.
2445
2446 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2447
2448         PR SWING/16576
2449         * javax/swing/JLayeredPane.java 
2450         (setLayer): Permit changing layer after addition.
2451         (setPosition): Permit over-length positions.
2452         (layerToRange): Compare intValue()s.
2453         * javax/swing/Box.java (createHorizontalBox): Implement.
2454         (createRigidArea): Likewise.
2455         (createVerticalBox): Likewise.
2456
2457 2004-08-31  Kim Ho  <kho@redhat.com>
2458
2459         * java/awt/Component.java:
2460         (processMouseEvent): Consume event after
2461         listeners process it.
2462         (processMouseMotionEvent): ditto.
2463         (processMouseWheelEvent): ditto.
2464         * java/awt/Container.java:
2465         (acquireComponentForMouseEvent):
2466         Do not dispatch to events that have been
2467         removed from the Container.
2468         (handleEvent): Consume the MouseEvents.
2469         * javax/swing/RepaintManager.java:
2470         (paintDirtyRegions): Do not add to list of 
2471         damaged areas if the component has no root.
2472
2473 2004-08-31  Michael Koch  <konqueror@gmx.de>
2474
2475         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2476
2477 2004-08-31  Mark Wielaard  <mark@klomp.org>
2478
2479         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2480         null when a MissingResourceException is thrown. Should never happen.
2481
2482 2004-08-31  Mark Wielaard  <mark@klomp.org>
2483
2484         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2485         when argument is null.
2486
2487 2004-08-31  Mark Wielaard  <mark@klomp.org>
2488
2489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2490         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2491         Define hid at start of function.
2492         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2493         Likewise.
2494
2495 2004-08-31  Mark Wielaard  <mark@klomp.org>
2496
2497         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2498         * javax/swing/JButton.java: Reindent.
2499         * javax/swing/JCheckBox.java: Reindent.
2500
2501 2004-08-31  Mark Wielaard  <mark@klomp.org>
2502
2503         * Makefile.am (gtk_c_source_files): Added
2504         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2505         (gtk_awt_peer_sources): Added
2506         gnu/java/awt/peer/gtk/GThreadMutex.java and
2507         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2508         * Makefile.in: Regenerated.
2509
2510 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2511
2512         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2513
2514 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2515
2516         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2517         Added jfieldID, jmethodID.
2518
2519 2004-08-31  Mark Wielaard  <mark@klomp.org>
2520
2521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2522         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2523         gdk_env before calling any gdk or gtk function.
2524
2525         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2526         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2527         (run): Set gtkInitCalled.
2528
2529 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2530
2531         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2532         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2533
2534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2535         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2536         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2537         init_glib_threads. 
2538         (init_glib_threads): New function.
2539
2540 2004-08-31  Mark Wielaard  <mark@klomp.org>
2541
2542         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2543         PRIORITY when not already defined in header file.
2544
2545 2004-08-31  Mark Wielaard  <mark@klomp.org>
2546
2547         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2548         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2549
2550 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2551
2552         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2553         Implemented missing functions for GTK2.
2554         Added error handling.
2555         Renamed static functions out of the g_ namespace.
2556         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2557         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2558         Rewrote global-reference code.
2559         Eliminated cascading errors.
2560         (mutex_trylock_jni_impl) Fully implemented.
2561         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2562         resolution.
2563         (setup_cache) New function.
2564         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2565         bug where they were not unlocking the GMutex associated with the
2566         condition variable during the wait on that condition variable.
2567
2568         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2569         native/jni/gtk-peer/gthread-jni.c,
2570         native/jni/gtk-peer/gthread-jni.h
2571         (g_thread_jni_functions): Renamed to ...
2572         (portable_native_sync_jni_functions): this name.
2573         (gdk_vm): Renamed to...
2574         (the_vm): this name.
2575
2576         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2577         (gdk_vm): Removed duplicate definition.
2578         (gtkInit): Removed stray message to stdout.
2579         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2580         (gtkInit): Fix a const assignment bug.
2581         (gtkInit): Simplified code.
2582
2583         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2584         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2585         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2586         gnu/java/awt/peer/gtk/GThreadMutex.java:
2587         New files.
2588
2589 2004-08-31  Mark Wielaard  <mark@klomp.org>
2590
2591         * javax/swing/Box.java: Put FIXME comment above class declaration.
2592         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2593         * javax/swing/JCheckBox.java: Likewise.
2594         * javax/swing/JDialog.java: Likewise.
2595         * javax/swing/JRadioButton.java: Likewise.
2596         * javax/swing/JToggleButton.java: Likewise.
2597         * javax/swing/UIManager.java: Likewise.
2598         * javax/swing/border/TitledBorder.java: Likewise.
2599         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2600         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2601         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2602         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2603         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2604         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2605         * javax/swing/text/JTextComponent.java: Likewise.
2606
2607 2004-08-31  David Jee  <djee@redhat.com>
2608
2609         PR AWT/16682
2610         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2611         (setIconImage): Add a FIXME for unhandled cases.
2612
2613 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2614
2615         PR AWT/16040
2616         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2617         getModifiers.  Replace old button masks with new ones.
2618         * gnu/awt/xlib/XEventLoop.java: Likewise.
2619         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2620         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2622         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2623         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2624         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2625         * java/awt/Component.java: Replace old modifier masks with new
2626         ones.
2627         * java/awt/Container.java: Call getModifiersEx, not
2628         getModifiers.
2629         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2630         old modifier masks.
2631         * javax/swing/JMenuItem.java: Replace old button masks with new
2632         ones.
2633         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2634         getModifiers.
2635         * javax/swing/SwingUtilities.java: Likewise.
2636         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2637         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2639         mask macros with new ones.
2640         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2641         macros with new ones representing new masks.
2642
2643 2004-08-31  Craig Black  <craig.black@aonix.com>
2644
2645         * gnu/java/awt/peer/gtk/GdkGraphics.java
2646         (drawRoundRect): Implemented.
2647         (fillRoundRect): Implemented.
2648         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2649         (drawRoundRect): Reimplemented to match GdkGraphics.
2650         (fillRoundRect): Reimplemented to match GdkGraphics.
2651
2652 2004-08-31  Mark Wielaard  <mark@klomp.org>
2653
2654         * Makefile.in: Regenerated.
2655
2656 2004-08-31  Michael Koch  <konqueror@gmx.de>
2657
2658         * gnu/java/awt/EmbeddedWindow.java
2659         (addNotify): Use AccessController to allow execution of privileged
2660         code.
2661
2662 2004-08-31  Michael Koch  <konqueror@gmx.de>
2663
2664         * gnu/java/awt/EmbeddedWindow.java
2665         (static): Removed.
2666         (addNotify): Set peer via reflection.
2667         (setWindowPeer): Removed.
2668         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2669         * Makefile.am (nat_source_files):
2670         Removed gnu/java/awt/natEmbeddedWindow.cc.
2671
2672 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2673
2674         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2675         and gnu/java/security/action/SetAccessibleAction.java.
2676
2677 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2678
2679         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2680         Renamed from 'setName'. New 2-argument form with default value.
2681         (run): Pass default 'value' parameter to System.getProperty().
2682         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2683         typos.
2684
2685 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2686
2687         * gnu/java/security/action/GetPropertyAction.java: New class.
2688         * gnu/java/security/action/SetAccessibleAction.java: New class.
2689
2690 2004-08-31  David Jee  <djee@redhat.com>
2691
2692         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2693         (setIconImage): Check if image is null.
2694
2695 2004-08-31  David Jee  <djee@redhat.com>
2696
2697         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2698         (create): Set the icon image.
2699         (nativeSetIconImage): New native method declaration.
2700         (setIconImage): Implement.
2701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2702         (nativeSetIconImage): New function.
2703
2704 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2705
2706         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2707         (filenameFilterCallback): Declare local variable accepted before use.
2708
2709 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2710
2711         * gnu/java/awt/ComponentDataBlitOp.java:
2712         Cleaned up imports.
2713
2714 2004-08-31  Tom Tromey  <tromey@redhat.com>
2715
2716         * gnu/java/awt/peer/GLightweightPeer.java,
2717         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2718         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2719         javax/swing/JScrollPane.java: Removed
2720         redundant imports.
2721
2722 2004-08-31  David Jee  <djee@redhat.com>
2723
2724         * java/awt/DefaultKeyboardFocusManager.java
2725         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2726         event.  Fix shift modifier checking.
2727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2728         (accel_attach): Remove.
2729         (setupAccelGroup): Remove calls to accel_attach.
2730
2731 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2732
2733         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2734         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2735
2736         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2737         GtkArgList.java.
2738         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2739         * Makefile.in: Regenerate.
2740         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2741         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2742         (create(String)): New method.
2743         (create): Call new create method.
2744         (getArgs): Remove method.
2745         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2746         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2747         (nativeCreate): Rename to create.
2748         (gtkSetLabel): Rename to gtkButtonSetLabel.
2749         (gtkToggleButtonSetActive): New method.
2750         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2751         (setState): Replace set call with gtkToggleButtonSetActive.
2752         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2753         (getArgs): Remove method.
2754         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2755         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2756         (gtkWidgetSetSensitive): New method.
2757         (gtkWidgetSetParent): Likewise.
2758         (GtkComponentPeer): Call setParent, setComponentBounds and
2759         setVisibleAndEnabled.
2760         (setParent): New method.
2761         (setComponentBounds): New method.
2762         (setVisibleAndEnabled): New method.
2763         (setEnabled): Call gtkWidgetSetSensitive.
2764         (getArgs): Remove method.
2765         Remove all set methods.
2766         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2767         gtkWindowSetModal, setTitle and setResizable.
2768         (getArgs): Remove method.
2769         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2770         (setComponentBounds): New method.
2771         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2772         Replace set call with gtkWindowSetResizable.
2773         (getArgs): Remove method.
2774         (create): Call setTitle and setResizable.
2775         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2776         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2777         (gtkWindowSetTitle): New method.
2778         (gtkWindowSetResizable): New method.
2779         (gtkWindowSetModal): New method.
2780         (setParent): New method.
2781         (setVisibleAndEnabled): New method.
2782         (getArgs): Remove method.
2783         (setTitle): Call gtkWindowSetTitle.
2784         (setResizable): Call gtkWindowSetResizable.
2785         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2786         and off locking instrumentation.
2787
2788 2004-08-31  Kim Ho  <kho@redhat.com>
2789
2790         * Makefile.am: Add new file.
2791         * Makefile.in: Regenerate.
2792         * gcj/Makefile.in: Regenerate
2793         * include/Makefile.in:
2794         * java/awt/Container.java:
2795         (acquireComponentForMouseEvent): Respect 
2796         the event mask when looking for candidate.
2797         * javax/swing/JComponent.java:
2798         Remove toolTip field.
2799         (createToolTip): Create a tooltip on demand.
2800         (setToolTipText): Register with the ToolTipManager.
2801         (getToolTipText(MouseEvent)): Return getToolTipText().
2802         * javax/swing/JToolTip.java: Implement.
2803         * javax/swing/Timer.java: Jalopy.
2804         (restart): Call stop, then start.
2805         (stop): Interrupt the timer rather than wait for
2806         the timer to come to a stop naturally.
2807         * javax/swing/ToolTipManager.java: Implement.
2808         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2809         Change ToolTip.background color.
2810         * javax/swing/plaf/basic/BasicToolTipUI.java:
2811         Implement.
2812         * testsuite/Makefile.in: Regenerate
2813
2814 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2815
2816         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2817         constructor param comments.
2818
2819 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2820
2821         * java/awt/Component.java: Document AWT 1.0 event handler
2822         methods.
2823
2824 2004-08-31  Roman Kennke  <roman@ontographics.com>
2825
2826         * javax/swing/Box.java:
2827         (createGlue): Implemented
2828         (createHorizontalGlue): Implemented
2829         (createHorizontalStrut): Implemented
2830         (createVerticalGlue): Implemented
2831         (createVerticalStrut): Implemented
2832
2833 2004-08-31  David Jee  <djee@redhat.com>
2834
2835         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2836         (GtkChoicePeer): Do not automatically select first item.
2837         (getHistory): Remove.
2838         (nativeGetSelected): New method.
2839         (nativeRemoveAll): New method.
2840         (add): Use nativeGetSelected() instead of getHistory().
2841         (remove): Likewise.
2842         (removeAll): Call nativeRemoveAll().
2843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2844         (create): Migrate to GtkComboBox.
2845         (append): Likewise.
2846         (nativeAdd): Likewise.
2847         (nativeRemove): Likewise.
2848         (select): Likewise.
2849         (nativeRemoveAll): New method.
2850         (nativeGetSelected): New method.
2851         (selection_changed): New method.
2852         (getHistory): Remove.
2853         (item_activate): Remove.
2854         (item_removed): Remove.
2855         (connect_choice_item_selectable_hook): Remove.
2856
2857 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2858
2859         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2860         variable in setEditable call.
2861
2862         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2864         (gtkWidgetSetBackground): New method.
2865         (gtkWidgetSetForeground): Likewise.
2866         (create): Set peer's editable state based on awtComponent's.
2867
2868         * java/awt/Button.java (Button()): Use empty string rather than
2869         null in no-label constructor.
2870
2871 2004-08-31  Roman Kennke  <roman@ontographics.com>
2872
2873         * javax/swing/BoxLayout.java: Reimplement.
2874
2875 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2876
2877         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2878         gnu_java_awt_peer_gtk_GdkGraphics.c
2879         (initState(GtkComponentPeer)): Don't return array of colour
2880         values.
2881         (GdkGraphics(int,int)): Set default font to size 12.
2882         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2883         component's foreground colour.
2884         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2885         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2886         (initState(GtkComponentPeer)): Don't return array of colour
2887         values.
2888         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2889         colours to component's colours.
2890         (current_colors_of_widget): Remove function.
2891         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2892         Return a new graphics object.
2893         * java/awt/Font.java (toString): Fix format.
2894         * java/awt/Graphics.java (toString): Likewise.
2895
2896 2004-08-31  Craig Black  <craig.black@aonix.com>
2897
2898         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2899         (addTearOff): New function.
2900         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2901         New native method.
2902         (init): Call addTearOff() when menu.isTearOff().
2903
2904 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2905
2906         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2907         Default implementation.
2908         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2909         Implement using GdkPixbufDecoder.
2910
2911 2004-08-31  David Jee  <djee@redhat.com>
2912
2913         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2914         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2915         setting the size of GtkFileDialogPeers.
2916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2917         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2918         use their default sizes rather than their natural requisitions.
2919
2920 2004-08-31  Michael Koch  <konqueror@gmx.de>
2921
2922         * javax/swing/JFormattedTextField.java
2923         (JFormattedTextField): Implemented.
2924         * javax/swing/text/DefaultEditorKit.java
2925         (BeepAction): New inner class.
2926         * javax/swing/text/Segment.java
2927         (partialReturn): New field.
2928         (setPartialReturn): New method.
2929         (isPartialReturn): Likewise.
2930         * javax/swing/text/View.java
2931         (createFragment): Fixed typo.
2932         (getStartOffset): New method.
2933         (getEndOffset): Likewise.
2934
2935 2004-08-31  Michael Koch  <konqueror@gmx.de>
2936
2937         * javax/swing/table/DefaultTableColumnModel.java
2938         (serialVersionUID): Made private.
2939         (listenerList): Initialize.
2940         (changeEvent): Initialize.
2941         * javax/swing/table/JTableHeader.java
2942         (JTableHeader): New constructors.
2943         (createDefaultColumnModel): New method.
2944         * javax/swing/table/TableColumn.java
2945         (setHeaderRenderer): Simplified code.
2946         (setCellRenderer): Likewise.
2947         (setWidth): Likewise.
2948
2949 2004-08-31  Tom Tromey  <tromey@redhat.com>
2950
2951         * java/text/AttributedString.java (AttributedString): Use
2952         ArrayList to build array of attribute ranges.  Don't use
2953         `attribs' before it is set.
2954
2955 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2956
2957         * HACKING: Remove reference to special automake. No longer needed.
2958
2959 2004-08-30  Tom Tromey  <tromey@redhat.com>
2960
2961         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2962         return result from `add'.
2963
2964 2004-08-30  Tom Tromey  <tromey@redhat.com>
2965
2966         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2967
2968 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2969
2970         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2971
2972 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2973
2974         * java/io/File.java File(String,String): Fixed handling of empty
2975         path.
2976
2977 2004-08-30  Casey Marshall  <csm@gnu.org>
2978
2979         Author e-mail updated for all files.
2980         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2981         instance of OID.
2982         (compareTo): Use `equals'.
2983         * gnu/java/security/der/BitString.java (equals): Test if the
2984         argument is an instance of BitString.
2985         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2986         class final. Made fields private.
2987         (<init>): New constructor.
2988         (skip): New method.
2989         (makeString): Made static; don't use NIO.
2990         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2991         * gnu/java/security/der/DERWriter.java: Fixed imports.
2992         (writeString): Don't use NIO.
2993         (toIso88591, toUtf16Be, toUtf8): New methods.
2994         * gnu/java/security/der/DERValue.java: Formatting changes only.
2995         * gnu/java/security/der/DER.java: Likewise.
2996
2997 2004-08-30  Tom Tromey  <tromey@redhat.com>
2998
2999         * java/nio/CharBuffer.java (put): Fix typo.
3000         * java/nio/DoubleBuffer.java (put): Fix typo.
3001         * java/nio/FloatBuffer.java (put): Fix typo.
3002         * java/nio/IntBuffer.java (put): Fix typo.
3003         * java/nio/LongBuffer.java (put): Fix typo.
3004         * java/nio/ShortBuffer.java (put): Fix typo.
3005
3006 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3007
3008         * java/nio/ByteBuffer.java (put): Fix typo.
3009
3010 2004-08-30  Casey Marshall  <csm@gnu.org>
3011
3012         * java/security/DummyKeyPairGenerator.java (clone): Removed
3013         useless instanceof check.
3014         * java/security/DummyMessageDigest.java (clone): Likewise.
3015         * java/security/DummySignature.java (clone): Likewise.
3016         * java/security/MessageDigest.java (clone): Remove useless
3017         instanceof check.
3018         * java/security/MessageDigestSpi.java (clone): Likewise.
3019         * java/security/Signature.java (clone): Provide meaningful
3020         implementation.
3021         * java/security/SignatureSpi.java (clone): Likewise.
3022
3023 2004-08-29  Mark Wielaard  <mark@klomp.org>
3024
3025         * java/util/Arrays.java
3026         (sort(byte[], int, int)): Check fromIndex < 0.
3027         (sort(char[], int, int)): Likewise.
3028         (sort(short[], int, int)): Likewise.
3029         (sort(int[], int, int)): Likewise.
3030         (sort(long[], int, int)): Likewise.
3031         (sort(float[], int, int)): Likewise.
3032         (sort(double[], int, int)): Likewise.
3033         (sort(Object[], int, int, Comparator)): Likewise.
3034         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3035         (qsort(char[], int, int)): Likewise.
3036         (qsort(short[], int, int)): Likewise.
3037         (qsort(int[], int, int)): Likewise.
3038         (qsort(long[], int, int)): Likewise.
3039         (qsort(float[], int, int)): Likewise.
3040         (qsort(double[], int, int)): Likewise.
3041
3042 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3043
3044         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3045         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3046         java/util/ArrayList.java, java/util/Arrays.java,
3047         java/util/BitSet.java, java/util/Calendar.java,
3048         java/util/Collection.java, java/util/ListIterator.java,
3049         java/util/Map.java, java/util/SortedSet.java:
3050         Added additional exceptions to documentation, along
3051         with some additions and corrections.
3052
3053 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3054
3055         * configure.ac: Handle --enable-gc-debug.
3056         * configure: Regenerate.
3057         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3058         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3059         Rearrange include file order.
3060         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3061         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3062         (disable_gc_mutex): Delete along with all references.
3063         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3064         adjust for debug header size.
3065         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3066         debug case.
3067         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3068         (gcj_describe_type_fn): New.
3069         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3070         Register gcj_describe_type_fn.
3071         * include/boehm-gc.h:
3072         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3073         Don't define, but declare, for debug case.
3074         * java/lang/natObject.cc:
3075         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3076
3077 2004-08-26  Mark Wielaard  <mark@klomp.org>
3078
3079         Fixes PR libgcj/17002:
3080         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3081         a TimeZoneId string and then try to convert that to a TimeZone with
3082         getDefaultSystemTimeZone(String).
3083         (timezones0): Changed type from Hashtable to HashMap.
3084         (timezones): Create HashMap, not Hashtable.
3085         (getDefaultTimeZone): New method, rewritten from CNI version.
3086         (readTimeZoneFile): New method.
3087         (readtzFile): Likewise.
3088         (skipFully): Likewise.
3089         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3090         getDefaultTimeZoneId and rewritten.
3091         (getDefaultTimeZoneId): Rewritten in java.
3092         
3093 2004-08-25  David Daney  <daney@avtrex.com>
3094
3095         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3096         * Makefile.in: Regenerated.
3097
3098 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3099
3100         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3101         only if jvmpi is enabled.
3102         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3103         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3104         (_Jv_AllocString): Likewise.
3105         (_Jv_AllocPtrFreeObject): Likewise.     
3106
3107 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3108
3109         * defineclass.cc: Include <stdio.h>.
3110         * java/lang/natClassLoader.cc: Include <stdio.h>.
3111
3112 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3113             Michael Koch  <konqueror@gmx.de>
3114
3115         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3116         * Makefile.in: Regenerated.
3117
3118 2004-08-20  Michael Koch  <konqueror@gmx.de>
3119
3120         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3121         AC_COMPILE_IFELSE macros.
3122
3123 2004-08-20  Michael Koch  <konqueror@gmx.de>
3124
3125         * configure.in: Renamed to configure.ac.
3126         * configure.ac: New file.
3127         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3128         include/config.h.in, testsuite/Makefile.in: Regenerated.
3129
3130 2004-08-20  Michael Koch  <konqueror@gmx.de>
3131
3132         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3133         * aclocal.m4, configure: Regenerated.
3134
3135 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3136             Michael Koch  <konqueror@gmx.de>
3137
3138         * configure.in, Makefile.am: Ported to automake 1.9.
3139         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3140         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3141         Regenerated.
3142
3143 2004-08-19  Tom Tromey  <tromey@redhat.com>
3144
3145         * java/net/DatagramSocket.java: Fixed typo.
3146
3147 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3148
3149         PR libgcj/17081
3150         * java/net/URI.java (string): New field. Make all other fields
3151         transient.
3152         (readObject): Implemented.
3153         (writeObject): Implemented.
3154         (URI): Set 'string'.
3155
3156 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3157
3158         PR libgcj/17079
3159         * java/util/logging/Handler.java (isLoggable): Accept record if its
3160         log level equals the threshold level. From Robin Green.
3161
3162 2004-08-18  David Daney  <ddaney@avtrex.com>
3163
3164         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3165         instead of sigwait.
3166
3167 2004-08-17  Michael Koch  <konqueror@gmx.de>
3168
3169         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3170         * Makefile.in: Regenerated.
3171
3172 2004-08-16  Tom Tromey  <tromey@redhat.com>
3173
3174         PR java/8473:
3175         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3176
3177 2004-08-16  Michael Koch  <konqueror@gmx.de>
3178
3179         * Makefile.am
3180         (math_c_files): Renamed from c_files.
3181         (math_c_source_files): Renamed from c_source_files.
3182         * Makefile.in,
3183         gcj/Makefile.in,
3184         include/Makefile.in,
3185         testsuite/Makefile.in: Regenerated.
3186
3187 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3188
3189         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3190         to avoid autoconf warning.
3191         * configure: Rebuilt.
3192
3193 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3194
3195         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3196         localhostAddress to loopbackAddress.
3197         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3198
3199 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3200
3201         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3202         boehm-gc's include dirs.
3203         * configure: Rebuilt.
3204         * include/boehm-gc.h: Include gc_config.h.
3205
3206 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3207
3208         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3209         localhostAddress.
3210         (getByName): Return loopback address for null hostname, without
3211         security check. Use lookup(), not getAllByName.
3212         (getAllByName): Return loopback address for null hostname, without
3213         security check.
3214         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3215         check here.
3216
3217 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3218
3219         PR libgcj/17020
3220         Reported by Robin Green.
3221         * defineclass.cc (handleField): Don't throw exception on unrecognised
3222         modifier. Add FIXME comments for spec compliance.
3223         (handleMethod): Likewise.
3224
3225 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3226
3227         PR libgcj/16662
3228         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3229         (Almost everywhere): add LOG calls, fix, add comments.
3230         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3231         Add explicit check for LOCKED bit in slow case (PR 16662).
3232         (_Jv_MonitorExit): Add casts in debug-only code.
3233         Always release LOCKED bit before throwing exception.
3234         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3235         isn't.  Handle easy cases without lock acquisition.
3236         (Object::wait): Use NotifyAll for lock inflation.
3237
3238 2004-08-12  David Daney  <ddaney@avtrex.com>
3239
3240         * testsuite/libjava.lang/Process_1.java: New test.
3241         * testsuite/libjava.lang/Process_2.java: New test.
3242         * testsuite/libjava.lang/Process_3.java: New test.
3243         * testsuite/libjava.lang/Process_4.java: New test.
3244         * testsuite/libjava.lang/Process_5.java: New test.
3245         * testsuite/libjava.lang/Process_6.java: New test.
3246         * testsuite/libjava.lang/Process_1.out: Expected result.
3247         * testsuite/libjava.lang/Process_2.out: Expected result.
3248         * testsuite/libjava.lang/Process_3.out: Expected result.
3249         * testsuite/libjava.lang/Process_4.out: Expected result.
3250         * testsuite/libjava.lang/Process_5.out: Expected result.
3251         * testsuite/libjava.lang/Process_6.out: Expected result.
3252
3253 2004-08-12  David Daney  <ddaney@avtrex.com>
3254
3255         PR libgcj/11801
3256         * java/lang/PosixProcess.java: Rewrote.
3257         * java/lang/natPosixProcess.cc: Rewrote.
3258         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3259         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3260         * posix-threads.cc (block_sigchld) New function.
3261         (_Jv_ThreadRegister) Use it.
3262         (_Jv_ThreadStart) Use it.
3263         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3264         * Makefile.am: ... to specify extra native headers.
3265         * configure: Regenerated.
3266         * include/config.h: Regenerated.
3267         * Makefile.in: Regenerated.
3268         * gcj/Makefile.in: Regenerated.
3269         * include/Makefile.in: Regenerated.
3270         * testsuite/Makefile.in: Regenerated.
3271
3272 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3273
3274         PR tree-optimization/16867
3275         * testsuite/libjava.lang/PR16867.java: New test.
3276
3277 2004-08-09  Per Bothner  <per@bothner.com>
3278
3279         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3280         with private fields and access methods.
3281         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3282         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3283         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3284         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3285         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3286         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3287         * jni.cc: Likewise.
3288         * resolve.cc: Likewise.
3289         * gcj/field.h: Likewise.
3290         * include/jvm.h: Likewise.
3291         * java/lang/Class.h: Likewise.
3292         * java/lang/natClass.cc: Likwise.
3293         * java/lang/natClassLoader.cc: Likewise
3294         * java/lang/reflect/natMethod.cc: Likewise
3295         * verify.cc: Likewise.
3296         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3297         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3298
3299 2004-08-10  Andrew Haley  <aph@redhat.com>
3300
3301         * testsuite/libjava.lang/err14.java: New file.
3302         * testsuite/libjava.lang/err14.out: New file.
3303
3304 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3305
3306         * Makefile.am: Fix missing rename from x_nat_headers to 
3307         xlib_nat_headers.
3308         * Makefile.in: Regenerated.
3309
3310 2004-08-04  Andrew Haley  <aph@redhat.com>
3311
3312         * java/security/BasicPermission.java: Don't check wildcards.
3313
3314 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3315             Michael Koch  <konqueror@gmx.de>
3316
3317         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3318         * configure.in: Replaced all usages of AC_LINK_FILES by
3319         AC_CONFIG_LINKS.
3320         * aclocal.m4,
3321         configure: Regenerated.
3322
3323 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3324             Michael Koch  <konqueror@gmx.de>
3325
3326         * acconfig.h: Removed.
3327         * Makefile.am: Rename variables for xlib peer to include xlib and
3328         gtk_c_headers to gtk_jni_headers.
3329         * Makefile.in: Regenerated.
3330
3331 2004-08-04  Andrew Haley  <aph@redhat.com>
3332
3333         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3334         debugging.
3335
3336 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3337
3338         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3339         Replace most top level 'dnl' comments with '#' comments, conforming
3340         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3341         help strings.
3342         * configure: Rebuilt.
3343
3344 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3345
3346         * acinclude.m4: Include no-executables.m4.
3347         * aclocal.m4: Rebuild.
3348         * configure.in: Convert to the autoconf 2.59 version of
3349         of the no-executables hack, and also of the nonstandard CXX
3350         hack and the multilibbed CC and CXX hack.  Change prerequisite
3351         to autoconf 2.59.
3352         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3353         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3354         testsuite/Makefile.in: Regenerate.
3355
3356 2004-08-03  Tom Tromey  <tromey@redhat.com>
3357
3358         * jni.cc: Reindented.
3359
3360 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3361
3362         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3363
3364 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3365
3366         * testsuite/libjava.compile/PR16701.java: New test.
3367
3368 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3369
3370         * java/util/Collection.java, java/util/List.java,
3371         java/util/Map.java, java/util/Set.java,
3372         java/util/SortedMap.java, java/util/SortedSet.java:
3373         Added additional exceptions to documentation.
3374
3375 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3376
3377         PR libgcj/16814
3378         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3379         * configure. Regenerate.
3380         * include/win32.h: Explicitly include winsock2.h
3381         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3382         Winsock api.
3383
3384 2004-07-30  Michael Koch  <konqueror@gmx.de>
3385
3386         * java/util/zip/GZIPInputStream.java
3387         (GZIPInputStream): Increase buffer size to 4k.
3388         * java/util/zip/GZIPOutputStream.java
3389         (GZIPOutputStream): Likewise.
3390         * java/util/zip/Inflater.java
3391         (setInput): Merged formating with GNU classpath.
3392         * java/util/zip/InflaterInputStream.java
3393         (InflaterInputStream): Increase buffer size to 4k.
3394         (fill): Throw exception if stream ends early.
3395         (read): Merged endless-loop with GNU classpath.
3396         (skip): Increase buffer size to 2k.
3397
3398 2004-07-30  Michael Koch  <konqueror@gmx.de>
3399
3400         * gnu/java/awt/EmbeddedWindow.java
3401         (addNotify): Use AccessController to allow execution of privileged
3402         code.
3403
3404 2004-07-29  Michael Koch  <konqueror@gmx.de>
3405
3406         * gnu/java/lang/MainThread.java:
3407         Explicitely import used classes.
3408         (args): Make it type String[].
3409
3410 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3411
3412         * gnu/java/awt/ComponentDataBlitOp.java,
3413         gnu/java/beans/ExplicitBeanInfo.java,
3414         gnu/java/beans/IntrospectionIncubator.java,
3415         gnu/java/beans/editors/ColorEditor.java,
3416         gnu/java/beans/editors/FontEditor.java,
3417         gnu/java/beans/editors/NativeBooleanEditor.java,
3418         gnu/java/beans/editors/NativeByteEditor.java,
3419         gnu/java/beans/editors/NativeDoubleEditor.java,
3420         gnu/java/beans/editors/NativeFloatEditor.java,
3421         gnu/java/beans/editors/NativeIntEditor.java,
3422         gnu/java/beans/editors/NativeLongEditor.java,
3423         gnu/java/beans/editors/NativeShortEditor.java,
3424         gnu/java/beans/editors/StringEditor.java,
3425         gnu/java/io/ClassLoaderObjectInputStream.java,
3426         gnu/java/io/decode/Decoder.java,
3427         gnu/java/io/encode/Encoder.java,
3428         gnu/java/lang/ClassHelper.java,
3429         gnu/java/locale/Calendar.java,
3430         gnu/java/locale/Calendar_de.java,
3431         gnu/java/locale/Calendar_en.java,
3432         gnu/java/locale/Calendar_nl.java,
3433         gnu/java/locale/LocaleInformation_de.java,
3434         gnu/java/locale/LocaleInformation_en.java,
3435         gnu/java/locale/LocaleInformation_nl.java:
3436         Cleaned up imports.
3437
3438 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3439
3440         * README: Remove obsolete info. Update bug URL.
3441         * THANKS: Updated.
3442         * NEWS: Updated with news up to GCC 3.4 release.
3443
3444 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3445
3446         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3447         Renamed from 'setName'. New 2-argument form with default value.
3448         (run): Pass default 'value' parameter to System.getProperty().
3449         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3450         typos.
3451         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3452         not 'setName'.
3453
3454 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3455
3456         * configure.in: Check for minimum GTK version 2.4 requirement.
3457         * configure: Rebuilt.
3458
3459 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3460
3461         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3462         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3463         Reduce sleep time.
3464         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3465         compiler bug.
3466         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3467         address. Reduce sleep times. Synchronize with target threads before
3468         attempting to interrupt them. Don't try to calibrate yeild count,
3469         instead, always loop for a fixed time.
3470         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3471         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3472         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3473         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3474         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3475         * testsuite/libjava.lang/pr179.java: Likewise.
3476         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3477         time. Remove upper bounds check on sleep time. 
3478
3479 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3480
3481         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3482         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3483
3484 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3485
3486         * java/io/File.java (toURI): Throw RuntimeException, not 
3487         InternalError.
3488         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3489         class name, not instance.
3490
3491 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3492
3493         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3494         and gnu/java/security/action/SetAccessibleAction.java.
3495         * Makefile.in: Rebuilt.
3496
3497 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3498
3499         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3500         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3501         _Jv_InitPrimClass.
3502         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3503         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3504         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3505
3506 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3507
3508         * Makefile.am: Replace jar, rmic and rmiregistry references with
3509         gjar, grmic and grmiregistry.
3510         * configure.in: Likewise.
3511         * Makefile.in: Regenerate.
3512         * configure: Likewise.
3513         * gcj/Makefile.in: Likewise.
3514         * include/Makefile.in: Likewise.
3515         * testsuite/Makefile.in: Likewise.
3516
3517 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3518
3519         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3520         for privileged getProperty calls.
3521         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3522         SetAccessibleAction instead of anonymous class for doPrivileged call.
3523         (getMethod): Likewise.
3524         (setAccessible): New field. PrivilegedAction object to use when
3525         calling setAccessible.
3526         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3527         SetAccessibleAction instead of anonymous class for diPrivileged call.
3528         (setFields): Likewise.
3529         (getClassUID): Likewise.
3530         (findMethod): Likewise.
3531         * gnu/java/security/action/GetPropertyAction.java: New class.
3532         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3533
3534 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3535
3536         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3537         for final fields.
3538         * testsuite/libjava.lang/Serialization.java: New test.
3539         * testsuite/libjava.lang/Serialization.out: New.
3540
3541 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3542
3543         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3544         missed in last commit.
3545
3546 2004-07-23  Mark Wielaard  <mark@klomp.org>
3547
3548         * java/lang/System.java (static): Set http.agent system property when
3549         not yet set.
3550         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3551         from system property inside AccessController.doPrivileged() call.
3552         (proxyPort): Made package private.
3553         (proxyInUse): Likewise.
3554         (proxyHost): Likewise.
3555         (userAgent): Likewise.
3556
3557 2004-07-23  Mark Wielaard  <mark@klomp.org>
3558
3559         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3560         implementation.
3561
3562 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3563
3564         * Makefile.am (ordinary_java_source_files): Add
3565         DefaultContentHandlerFactory.java.
3566         * Makefile.in: Rebuilt.
3567         * java/net/URLConnection.java (defaultFactory): New field.
3568         (getContent): 
3569         (getContentHandler): Renamed from 'setContentHandler'. Try 
3570         defaultFactory after user-set factory, if any. Search for content 
3571         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3572         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3573         Implemented.
3574         (getLastModified): Implemented.
3575         (getPermission): Create file permission here, instead of in
3576         constructor.
3577         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3578         Implemented.
3579         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3580         Implemented.
3581         (getLastModified): Implemented.
3582         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3583         Default implementation.
3584         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3585         Implement using GdkPixbufDecoder.
3586         
3587 2004-07-21  Michael Koch  <konqueror@gmx.de>
3588
3589         * javax/swing/JTextArea.java
3590         (setLineWrap): Fire property change event after new value is set.
3591         (setTabSize): Likewise.
3592
3593 2004-07-21  Michael Koch  <konqueror@gmx.de>
3594
3595         * javax/swing/JTable.java
3596         (autoCreateColumnsFromModel): New field.
3597         (autoResizeMode): Likewise.
3598         (cellEditor): Likewise.
3599         (cellSelectionEnabled): Likewise.
3600         (columnModel): Likewise.
3601         (dataModel): Likewise.
3602         (defaultEditorsByColumnClass): Likewise.
3603         (defaultRenderersByColumnClass): Likewise.
3604         (editingColumn): Likewise.
3605         (editingRow): Likewise.
3606         (gridColor): Likewise.
3607         (preferredViewportSize): Likewise.
3608         (rowHeight): Likewise.
3609         (rowMargin): Likewise.
3610         (rowSelectionAllowed): Likewise.
3611         (selectionBackground): Likewise.
3612         (selectionForeground): Likewise.
3613         (selectionModel): Likewise.
3614         (showHorizontalLines): Likewise.
3615         (showVerticalLines): Likewise.
3616         (tableHeader): Likewise.
3617         (JTable): Implemented.
3618         (getColumnModel): Likewise.
3619         (getSelectedRow): Likewise.
3620         (getSelectionModel): Likewise.
3621         (setModel): Likewise.
3622         (setSelectionModel): Likewise.
3623         (createScrollPaneForTable): New method.
3624         (createDefaultDataModel): Likewise.
3625         (createDefaultListSelectionModel): Likewise.
3626         (getModel): Likewise.
3627         (getTableHeader): Likewise.
3628         (setTableHeader): Likewise.
3629         (getColumnSelectionAllowed): Likewise.
3630         (setColumnSelectionAllowed): Likewise.
3631         (getRowSelectionAllowed): Likewise.
3632         (setRowSelectionAllowed): Likewise.
3633         (getAutoResizeMode): Likewise.
3634         (setAutoResizeMode): Likewise.
3635         (getColumnCount): Likewise.
3636         (getRowCount): Likewise.
3637         (getCellRenderer): Likewise.
3638         * javax/swing/JTree.java
3639         (cellRenderer): New field.
3640         (editable): Likewise.
3641         (rootVisible): Likewise.
3642         (showsRootHandles): Likewise.
3643         (getModel): New method.
3644         (setModel): Likewise.
3645         (isEditable): Likewise.
3646         (setEditable): Likewise.
3647         (isRootVisbile): Likewise.
3648         (setRootVisible): Likewise.
3649         (getShowsRootHandles): Likewise.
3650         (setShowRootHandles): Likewise.
3651         (getCellRenderer): Likewise.
3652         (setCellRenderer): Likewise.
3653
3654 2004-07-21  Michael Koch  <konqueror@gmx.de>
3655
3656         * javax/swing/JFormattedTextField.java
3657         (setDocument): Implemented.
3658         * javax/swing/JRootPane.java:
3659         Fixed javadocs.
3660         * javax/swing/JTable.java
3661         (getDefaultRenderer): New method.
3662         * javax/swing/JTextField.java
3663         (setFont): Likewise.
3664         (getPreferredSize): Likewise.
3665         * javax/swing/JToggleButton.java
3666         (getAccessibleContext): Fix javadoc.
3667         * javax/swing/JTree.java:
3668         Add some javadocs.
3669         * javax/swing/JViewport.java:
3670         Likewise.
3671
3672 2004-07-21  David Jee  <djee@redhat.com>
3673
3674         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3675         Collect all native method declaration at the top.
3676         (create): Set the filename filter if necessary.
3677         (setDirectory): Call nativeSetDirectory().
3678         (setFilenameFilter): Implement.
3679         (filenameFilterCallback): New method.
3680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3681         (create): Configure dialog to show hidden files.
3682         (filenameFilterCallback): New function. 
3683         (nativeSetFilenameFilter): New function.
3684         (nativeSetDirectory): New function.
3685
3686 2004-07-21  Kim Ho  <kho@redhat.com>
3687
3688         * javax/swing/plaf/basic/BasicSliderUI.java:
3689         Ran Jalopy.
3690         (paintTrack): Fill the track before painting
3691         the borders.
3692
3693 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3694
3695         patch from Roman Kennke <roman@ontographics.com>
3696         * javax/swing/Spring.java: New file.
3697         * javax/swing/SpringLayout.java: New file.
3698         * Makefile.am: Add new files.
3699         * Makefile.in: Regenerate.
3700
3701 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3702
3703         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3704         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3705         * javax/swing/ScrollPaneLayout.java: Likewise.
3706
3707 2004-07-21  Kim Ho  <kho@redhat.com>
3708
3709         * javax/swing/DefaultDesktopManager.java:
3710         (findMinimum): Removed.
3711         (resizeFrame): Trust the UI to pass valid 
3712         bounds.
3713         * javax/swing/JOptionPane.java:
3714         Implemented showInternalXXXDialog methods.
3715         (startModal): New method.
3716         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3717         (BorderListener::mouseDragged): Verify that the new 
3718         bounds are valid before passing them to the DesktopManager.
3719         (preferredLayoutSize): Delegate
3720         to getSize.
3721         (minimumLayoutSize): Ditto.
3722         (getSize): New method.
3723         (GlassPaneDispatcher): Reimplemented by copying 
3724         a stripped down LightweightDispatcher from Container.
3725         (getMinimumSize): Call minimumLayoutSize.
3726         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3727         Ran Jalopy.
3728         (mousePressed): Add ability to properly close 
3729         JInternalFrames.
3730         * javax/swing/plaf/basic/BasicToolBarUI.java:
3731         (DragWindow): Set owner for DragWindow.
3732
3733 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3734
3735         * java/awt/image/ShortLookupTable.java: New file.
3736         * java/awt/image/ByteLookupTable.java: New file.
3737         * Makefile.am: Added new files.
3738         * Makefile.in: Regenerated.
3739
3740 2004-07-21  David Jee  <djee@redhat.com>
3741
3742         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3743         (create(GtkContainerPeer)): New native method.
3744         (create()): Call native create(), passing in the parent frame
3745         as the paramter. Natively set the current file and directory.
3746         (setFile): Construct an absolute filename before passing it to
3747         the native peer.
3748         (nativeGetDirectory): New method.
3749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3750         (window_closed): Removed.
3751         (ok_clicked): Likewise.
3752         (cancel_clicked): Likewise.
3753         (handle_response): New method.
3754         (create): Use GtkFileChooserDialog.
3755         (connectSignals): Connect to handle_response.
3756         (nativeGetDirectory): New method.
3757         (nativeSetFile): Use GtkFileChooserDialog.
3758
3759 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3760
3761         * java/awt/image/LookupTable.java: New file.
3762         * Makefile.am: Added new file.
3763         * Makefile.in: Regenerated.
3764
3765 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3766
3767         * java/awt/image/Kernel.java: New file.
3768         * Makefile.am: Added new file.
3769         * Makefile.in: Regenerated.
3770
3771 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3772
3773         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3774         * javax/swing/JMenu.java: Likewise.
3775         * javax/swing/JMenuBar.java: Likewise.
3776         (MARGIN_CHANGED_PROPERTY): New property.
3777         (setMargin): Implemented.
3778         * javax/swing/JMenuItem.java: Fixed javadocs.
3779         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3780         (LABEL_CHANGED_PROPERTY): New property.
3781         (add): changed to use createActionComponent.
3782         (createActionComponent): Implemented.   
3783         (setLabel): Fire PropertyChangeEvent if label property
3784         changes.
3785         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3786         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3787         (ContainerHandler): Repaint if margin property has changed.
3788         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3789         (installUI): Call installComponents().
3790         (uninstallUI): Call uinstallComponents().
3791         * javax/swing/plaf/basic/BasicMenuUI.java:
3792         Fixed javadocs.
3793         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3794         Likewise.
3795
3796 2004-07-21  Kim Ho  <kho@redhat.com>
3797
3798         * javax/swing/plaf/basic/BasicToolBarUI.java:
3799         (DragWindow): Use the right constructor.
3800
3801 2004-07-21  Kim Ho  <kho@redhat.com>
3802
3803         * javax/swing/JToolBar.java:
3804         (layoutContainer): Use getComponents.
3805         * javax/swing/plaf/basic/BasicToolBarUI.java:
3806         (DragWindow): Don't use SwingUtilities' 
3807         getOwnerFrame
3808         (ToolBarDialog): ditto.
3809
3810 2004-07-21  Kim Ho  <kho@redhat.com>
3811
3812         * javax/swing/JRootPane.java:
3813         Ran jalopy.
3814         (layoutContainer): Set the glasspane's size to 
3815         be the same as the content pane.
3816         (createGlassPane): Set opaque property to false.
3817
3818 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3819
3820         * java/awt/Component.java (requestFocus()): Don't handle Panels
3821         specially.
3822         (requestFocus(boolean)): Likewise.
3823         (requestFocusInWindow(boolean)): Likewise.
3824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3825         Set GTK_CAN_FOCUS flag.
3826
3827 2004-07-21  Kim Ho  <kho@redhat.com>
3828
3829         * Makefile.am: Added new file.
3830         * Makefile.in: Regenerated.
3831         * gcj/Makefile.in: Regenerated.
3832         * include/Makefile.in: Regenerated.
3833         * javax/swing/AbstractButton.java:
3834         Add rollOverEnabled property.
3835         (setRolloverEnabled): Use new property.
3836         (isRolloverEnabled): Use new property.
3837         * javax/swing/JTabbedPane.java:
3838         (setComponent): Remove useless JTabbedPane.this.
3839         * javax/swing/JToolBar.java: Finish implementation.
3840         * javax/swing/plaf/basic/BasicArrowButton.java:
3841         (paint): Moved border painting to a border.
3842         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3843         Change JToolBar look and feel defaults.
3844         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3845         (actionPerformed): Return Integer index instead of name.
3846         (addButtonComponents): Check to see if component is
3847         JButton last.
3848         (createMessageArea): Don't use components that are not
3849         completed yet.
3850         (getIconForType): Use temporary icons.
3851         * javax/swing/plaf/basic/BasicSliderUI.java:
3852         (mousePressed): Do not return if it's on thumb.
3853         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3854         (paintMinorTickForVertSlider): ditto.
3855         (paintMajorTickForHorizSlider): ditto.
3856         (paintMajorTickForVertSlider): ditto.
3857         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3858         Add a border around the SplitPaneDivider.
3859         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3860         Remove comments.
3861         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3862         New file. Implemented.
3863         * javax/swing/plaf/basic/BasicToolBarUI.java:
3864         Implemented.
3865         * testsuite/Makefile.in: Regenerated.
3866
3867 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3868
3869         * javax/swing/Timer.java (run): Queue events each time cycle.
3870
3871 2004-07-21  David Jee  <djee@redhat.com>
3872
3873         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3874         (imageComplete): Call image.imageComplete().
3875         * java/awt/image/MemoryImageSource.java:
3876         Reimplement consumers as a Vector instead of a Hashtable.  This is
3877         because enumeration on a Hashtable is not thread-safe.
3878         (addConsumer): Adapt to Vector consumers.
3879         (isConsumer): Adapt to Vector consumers.
3880         (removeConsumer): Adapt to Vector consumers.
3881         (startProduction): Adapt to Vector consumers. Call imageComplete()
3882         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3883         (newPixels): Adapt to Vector consumers.
3884         (sendPicture): Set the color model of the image consumer.
3885         (newPixels(IIII)): Adapt to Vector consumers.
3886         (newPixels(IIIIB)): Adapt to Vector consumers.
3887
3888 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3889
3890         * java/awt/Component.java (deliverEvent): Implement.
3891         (postEvent): Implement.
3892         (handleEvent): Implement.
3893         (translateEvent): New method.
3894         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3895         * java/awt/Container.java (deliverEvent): Implement.
3896         * java/awt/Event.java (paramString): Fix formatting.
3897         * java/awt/Font.java (toString): Likewise.
3898         * java/awt/Window.java (postEvent): Implement.
3899
3900 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3901
3902         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3903         Set window's focus owner upon receiving a FOCUS_LOST event.
3904         * java/awt/Window.java (Window()): Refocus the previously
3905         focused component within the window when the window regains the
3906         top-level focus.
3907         (setFocusOwner): New method.
3908         * java/awt/Component.java (requestFocus): Add FIXME.
3909
3910         * libgcj.pc.in: Remove library flags.
3911
3912 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3913
3914         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3915         MOUSE_PRESSED event.
3916         * java/awt/Component.java (requestFocus()): Handle Panel
3917         specially.  Post FOCUS_LOST event on opposite component.
3918         (requestFocus(boolean)): Likewise.
3919         (requestFocusInWindow(boolean)): Likewise.
3920         (paramString): Reorder dimension fields.
3921         * java/awt/Container.java (paramString): Fix string format.
3922         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3923         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3924         process key events if the focus owner is non-null.
3925         (dispatchKeyEvent): Likewise.
3926         * java/awt/Frame.java (paramString): Fix formatting.
3927         (generateName): New method.
3928         (getUniqueLong): Likewise.
3929         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3930         the temporary focus owner is null.  If so, return the permanent
3931         focus owner.
3932         * java/awt/Panel.java (generateName): New method.
3933         (getUniqueLong): Likewise.
3934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3935         signal handling to make callbacks more specific.
3936
3937 2004-07-21  Michael Koch  <konqueror@gmx.de>
3938
3939         * javax/swing/text/Position.java
3940         (Bias): Implemented.
3941
3942 2004-07-21  Michael Koch  <konqueror@gmx.de>
3943
3944         * javax/swing/LookAndFeel.java
3945         (provideErrorFeedback): New method.
3946
3947 2004-07-21  Michael Koch  <konqueror@gmx.de>
3948
3949         * javax/swing/JTextArea.java
3950         (tabSize): New field.
3951         (getTabSize): New method.
3952         (setTabSize): Likewise.
3953
3954 2004-07-21  Michael Koch  <konqueror@gmx.de>
3955
3956         * javax/swing/ActionMap.java:
3957         Fixed javadocs all over.
3958         (serialVersionUID): Made private.
3959         (parent): Don't explicitely initialize with default value.
3960         (get): SImplified.
3961         (keys): Reimplemented.
3962         (allKeys): Likewise.
3963         (convertSet): Removed.
3964         * javax/swing/ComponentInputMap.java:
3965         Fixed javadocs all over.
3966         (ComponentInputMap): Implemented.
3967         (put): Likewise.
3968         (clear): Likewise.
3969         (remove): Likewise.
3970         (SetParent): Likewise.
3971         (getComponent): Likewise.
3972         * javax/swing/InputMap.java:
3973         Fixed javadocs all over.
3974         (serialVersionUID): Made private.
3975         (parent): Don't explicitely initialize with default value.
3976         (get): SImplified.
3977         (keys): Reimplemented.
3978         (allKeys): Likewise.
3979         (convertSet): Removed.
3980
3981 2004-07-21  Michael Koch  <konqueror@gmx.de>
3982
3983         * javax/swing/ActionMap.java,
3984         javax/swing/ComponentInputMap.java,
3985         javax/swing/InputMap.java,
3986         javax/swing/table/DefaultTableColumnModel.java,
3987         javax/swing/table/TableColumn.java,
3988         javax/swing/table/TableColumnModel.java,
3989         javax/swing/table/TableModel.java,
3990         javax/swing/text/AbstractDocument.java,
3991         javax/swing/text/TextAction.java:
3992         Reformated.
3993
3994 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3995
3996         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3997         Make method non-static.
3998         * javax/swing/AbstractButton.java:
3999         Rename fields to match property names where possible.
4000         (iconTextGap): New property.
4001         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4002         (init) New method, call from after various constructors.
4003         * javax/swing/JComponent.java (revalidate): 
4004         Invalidate before queueing repair.
4005         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4006         Reimplement in terms of visibleRowCount property.
4007         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4008         * javax/swing/JScrollPane.java (createScrollListener): 
4009         Remove tracing chatter.
4010         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4011         * javax/swing/RepaintManager.java (addInvalidComponent): 
4012         Don't invalidate.
4013         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4014         calculations.
4015         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4016         Mimic sun behavior on top left/right positioning.
4017         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4018         Remove mistaken use of preferredScrollableViewportSize here.
4019         (layoutContainer): Use view's preferred size as basis.
4020         * javax/swing/plaf/basic/BasicButtonUI.java:
4021         Set, get, and use textIconGap property.
4022         (paint) Paint text returned from layout (with ellipsis).
4023         * javax/swing/plaf/basic/BasicListUI.java:
4024         Remove tracing chatter, correct various minor calculations.
4025         (getCellBounds): Update layout state before calculating.
4026         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4027         Use margin default similar to sun's.    
4028         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4029         (createIncreaseIcon): Center icon, minimize margins.
4030         (createDecreaseIcon): Likewise.
4031         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4032         Implement.
4033         (installUI): Call it.
4034         (uninstallDefaults): Implement.
4035         (uninstallUI): Call it.
4036         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4037         Call existing Window constructor.
4038         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4039         Set clip before painting.
4040
4041 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4042         
4043         * javax/swing/JMenuItem.java:
4044         (processMouseEvent): Reimplemented to deal with
4045         mouse drag events.
4046         (createMenuDragMouseEvent): New private helper method.
4047         Creates MenuDragMouseEvent.
4048         * javax/swing/MenuSelectionManager.java
4049         (componentForPoint): Implemented.
4050         (isComponentPartOfCurrentMenu): Made public.
4051         (processMouseEvent): Reimplemented to deal with 
4052         mouse drag events.
4053         (setSelectedPath): Corrected small mistake that caused
4054         path to be set incorrectly.
4055         (getPath): If given component is JMenu then also add this
4056         menu's popup menu to the selected path.
4057         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4058         (getPath): Ditto.
4059         (getPreferredSize): Call getPreferredMenuItemSize().
4060         (getPreferredItemSize): Moved code from getPreferredSize to here.
4061         (installListeners): Install MouseMotionListeners.
4062         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4063         if mouse wasn't released in the bounds of this menu item.
4064         (MenuDragMouseHandler): Implemented.
4065         * javax/swing/plaf/basic/BasicMenuUI.java:
4066         (installListeners): Install MouseMotionListener and 
4067         MenuDrageMouseListener.
4068         (MenuDragMouseHandler): Implemented.
4069         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4070         (uninstallListeners): Implemented.
4071         
4072 2004-07-21  Michael Koch  <konqueror@gmx.de>
4073
4074         * javax/swing/JCheckBox.java: Reformated.
4075         (JCheckBox): Fixed all constructors.
4076         (isBorderPaintedFlat): New method.
4077         (setBorderPaintedFlat): New method.
4078         * javax/swing/JEditorPane.java
4079         (createEditorKitForContentType): Made public.
4080         (scrollToReference): Likewise.
4081         * javax/swing/JTextArea.java
4082         (setLineWrap): Fire property change.
4083         * javax/swing/JToggleButton.java
4084         (JToggleButton): New constructor.
4085         (JToggleButton): Simplified.
4086         * javax/swing/text/AttributeSet.java
4087         (FontAttribute): Renamed from FontCharacterAttribute.
4088         * javax/swing/text/JTextComponent.java
4089         (KeyBinBinding): Added javadoc.
4090         (JTextComponent): Likewise.
4091         (getAccessibleContext): Fixed javadoc.
4092         * javax/swing/text/View.java
4093         (View): Added javadoc.
4094         * javax/swing/text/TabableView.java: New file.
4095         * Makefile.am: Added javax/swing/text/TabableView.java.
4096         * Makefile.in: Regenerated.
4097
4098 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4099
4100         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4101         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4102         (GtkErrorImage): New helper class.
4103         (bufferedImageOrError): New helper method.
4104         (createImage): Use it.
4105
4106 2004-07-21  David Jee  <djee@redhat.com>
4107
4108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4109         (setCaretPosition): Scroll the text view so the new caret position
4110         is visible on screen.
4111
4112 2004-07-21  David Jee  <djee@redhat.com>
4113
4114         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4115         (setBounds): Do not validate awtComponent here.
4116         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4117         (getPreferredSize): New method.
4118         * java/awt/ScrollPane.java
4119         (ScrollPane): Set default size to 100x100.
4120         (addNotify): If child is not a Panel, wrap it with a new Panel.
4121         (paramString): Implement.
4122
4123 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4124
4125         * javax/swing/JMenu.java:
4126         (setSelected): Display popup menu only if this menu 
4127         is showing on the screen.
4128         * javax/swing/JPopupMenu.java:
4129         (processMouseEvent): Added comment.
4130         (processKeyEvent): Likewise.
4131         * javax/swing/MenuSelectionManager.java:
4132         (clearSelectedPath): Only fireStateChanged() after
4133         selected path was changed, not before.
4134         (setSelectedPath): Likewise.
4135         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4136         (paintMenuItem): Corrected position of menu item's
4137         icon.
4138         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4139         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4140         (popupMenuCanceled): Reimplemented.
4141         (popupMenuWillBecomeVisible): Select first menu item by default 
4142         when displaying free floating popup menus.
4143         (TopWindowListener): Reimplemented.
4144
4145 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4146
4147         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4148         Panel from being painted twice when it is first shown.
4149
4150 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4151
4152         * java/awt/Window.java: Reverted changes from my 
4153         previous patch for creating window without an owner.
4154         * javax/swing/SwingUtilities.java: 
4155         (SwingUtilities.OwnerFrame): made static.
4156         (OwnerFrame.setVisible): New method. Overridden with
4157         empty implementation.
4158         (OwnerFrame.isShowing): New method. Ovverridden
4159         to return always true.
4160
4161 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4162
4163         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4164         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4165         (GtkComponentPeer): Remove temporary try/catch block.
4166         (setVisible): Call show and hide.
4167         (show): Make native.
4168         (hide): Likewise.
4169         (getArgs): Don't add "visible" argument.
4170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4171         (property_notify_predicate): Return Bool instead of int.
4172         (find_layout): New function.
4173         (connectJObject): Call find_layout.
4174         (connectSignals): Likewise.
4175         (moveLayout): Likewise.
4176         (gtkLayoutSetVisible): Likewise.
4177
4178 2004-07-21  Mark Wielaard  <mark@klomp.org>
4179
4180         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4181         on notifier object before calling notifyAll().
4182
4183 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4184
4185         * java/awt/Window.java: Changed constructors to use new
4186         method that is described below. Constructors call this
4187         methods only if newly created window should have an owner.
4188         (setWindowOwner): New method. Implementation for
4189         this method is moved from this(owner,configuration).
4190         * javax/swing/JWindow.java:
4191         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4192         instead of owner.
4193         * javax/swing/SwingUtilities.java:
4194         (ownerFrame): Change type of this field to OwnerFrame.
4195         (getOwnerFrame): Changed to return object of type OwnerFrame.
4196         (SwingUtilities.OwnerFrame): New class. Represents owner
4197         of a Window that is not provided with one.
4198
4199 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4200
4201         *  javax/swing/AbstractButton.java: 
4202         (configurePropertiesFromAction): Set action command
4203         to button's text by default if action command is not 
4204         explicitely specified.
4205         * javax/swing/JMenu.java: Remove unnecessary listener
4206         and methods relevant to it.
4207         (setSelected): Reimplemented.
4208         (menuSelectionChanged): Moved most part of implementation to
4209         setSelected() and call it instead.
4210         * javax/swing/JMenuItem.java: 
4211         (init): Comment out statement that sets paint_border to false.
4212         (configurePropertiesFromAction): Do not set accelerator
4213         for JMenu.
4214         (menuSelectionChanged): Change selected index in the selection
4215         model of menu item's parent.
4216         * javax/swing/JPopupMenu.java:
4217         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4218         instead of GridBagConstraints.HORIZONTAL.
4219         (insert): Likewise.
4220         (createActionChangeListener): Implemented.
4221         (setVisible): Correct location of HeavyWeightMenu and 
4222         don't firePopupMenuCanceled().
4223         (menuSelectionChanged): Implemented.
4224         (ActionChangeListener): New Listener. Implemented.
4225         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4226         (BasicMenuBarUI.ContainerHandler): Implemented.
4227         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4228         (paintMenuItem): Uncommented out code that paints 
4229         icon, now that icons are working properly.
4230         (PropertyChangeListener): Implemented.
4231         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4232         Added javadocs.
4233         (topWindowListener): New field.
4234         (Constructor): initialize topWindowListener.
4235         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4236         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4237         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4238         Implemented.
4239
4240 2004-07-21  Michael Koch  <konqueror@gmx.de>
4241
4242         * javax/swing/plaf/basic/BasicButtonUI.java
4243         (paintFocus): Fixed method signature.
4244         (paintButtonPressed): Likewise.
4245         (paintButtonNormal): Likewise.
4246         (paintText): New method.
4247         * javax/swing/plaf/basic/BasicLabelUI.java
4248         (paint): Re-indented.
4249         * javax/swing/plaf/basic/BasicTextUI.java
4250         (installUI): Set parent textComponent to opaque.
4251         * javax/swing/text/DefaultHighlighter.java
4252         (checkPositions): New helper method.
4253         (addHighlight): Throws BadLocationException, check positions.
4254         (changeHighlight): Likewise.
4255         * javax/swing/text/EditorKit.java
4256         (EditorKit): Implements Serializable.
4257         * javax/swing/text/JTextComponent.java
4258         (getUI): Added javadoc.
4259         (setUI): Likewise.
4260         (upadteUI): Added javadoc, don't revalidate and repaint.
4261
4262 2004-07-21  David Jee  <djee@redhat.com>
4263
4264         * java/awt/GridBagLayout.java
4265         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4266         * javax/swing/AbstractButton.java
4267         (setText): Reindent.
4268         * javax/swing/RepaintManager.java
4269         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4270
4271 2004-07-21  Michael Koch  <konqueror@gmx.de>
4272
4273         * javax/swing/JFormattedTextField.java
4274         (value): New field.
4275         (JFormattedTextField): Implemented.
4276         (getValue): Likewise.
4277         (setValue): Likewise.
4278         * javax/swing/LookAndFeel.java
4279         (getSupportsWindowDecorations): New method.
4280         * javax/swing/UIDefaults.java:
4281         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4282         (addPropertyChangeListener): Made public.
4283         (addResourceBundle): Likewise.
4284         (removeResourceBundle): Likewise.
4285         (setDefaultLocale): Likewise.
4286         * javax/swing/plaf/basic/BasicRootPaneUI.java
4287         (BasicRootPaneUI): Implements PropertyChangeListener.
4288         (propertyChange): New method.
4289         * javax/swing/plaf/basic/BasicTextUI.java
4290         (BasicHighlighter): New inner class.
4291         (createHighlighter): New method.
4292         * javax/swing/plaf/basic/BasicToolBarUI.java
4293         (DragWindow): Extends java.awt.Window.
4294         * javax/swing/text/JTextComponent.java
4295         (getDocument): Removed debug output.
4296         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4297         javax/swing/text/DefaultHighlighter.java,
4298         javax/swing/text/FieldView.java,
4299         javax/swing/text/PlainView.java: New files.
4300         * Makefile.am: Added new files.
4301         * Makefile.in: Regenerated.
4302
4303 2004-07-21  Michael Koch  <konqueror@gmx.de>
4304
4305         * javax/swing/JEditorPane.java
4306         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4307         (createEditorKitForContentType): Likewise.
4308         * javax/swing/text/DefaultEditorKit.java
4309         (serialVersionUID): Added constant field.
4310         (EndOfLineStringPropery): Fixed typo.
4311         (DefaultEditorKit): New constructor.
4312         * javax/swing/text/Segment.java:
4313         Import java.text.CharacterIterator.
4314         * javax/swing/text/CharacterIterator.java,
4315         javax/swing/text/PlainEditorKit.java: Removed.
4316         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4317         javax/swing/text/PlainEditorKit.java.
4318         * Makefile.in: Regenerated.
4319
4320 2004-07-21  Michael Koch  <konqueror@gmx.de>
4321
4322         * javax/swing/JButton.java,
4323         javax/swing/text/DefaultEditorKit.java,
4324         javax/swing/text/EditorKit.java,
4325         javax/swing/text/Segment.java,
4326         javax/swing/text/StyledEditorKit.java:
4327         Reformatted.
4328
4329 2004-07-21  Michael Koch  <konqueror@gmx.de>
4330
4331         * javax/swing/ImageIcon.java
4332         (file): Removed.
4333         (description): Renamed from descr.
4334         (ImageIcon): Added missing constructors.
4335         (setParent): Removed.
4336         (setImageObserver): New method.
4337         (getImageObserver): New method.
4338         (paintIcon): Handle observer = null.
4339         * javax/swing/JButton.java
4340         (removeNotify): Fixed javadoc.
4341         (updateUI): Simplified.
4342         * javax/swing/JRootPane.java
4343         (serialVersionUID): New constant field.
4344         * javax/swing/UIManager.java:
4345         Fixed javadocs all over.
4346         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4347         * javax/swing/text/AbstractDocument.java
4348         (createPosition): Throws BadLocationException.
4349         (getText): Likewise.
4350         (remove): Likewise.
4351         * javax/swing/text/ComponentView.java
4352         (modelToView): Likewise.
4353         * javax/swing/text/DefaultEditorKit.java:
4354         Made all public methods public.
4355         (read): Throws BadLocationException and IOException.
4356         (write): Likewise.
4357         * javax/swing/text/EditorKit.java:
4358         Made all public methods public.
4359         (serialVersionUID): New constant field.
4360         (clone): New method.
4361         (read): Throws BadLocationException and IOException.
4362         (write): Likewise.
4363         * javax/swing/text/Segment.java
4364         (array): Made public.
4365         (count): Likewise.
4366         (offset): Likewise.
4367         (Segment): New constructors.
4368         (clone): Reimplemented.
4369         * javax/swing/text/StyledEditorKit.java
4370         (serialVersionUID): New constant field.
4371
4372 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4373
4374         * java/awt/image/BufferedImage.java 
4375         (getSource): Implement.
4376         * javax/swing/ImageIcon.java 
4377         (ImageIcon): Implement ctor.
4378         * javax/swing/ScrollPaneLayout.java 
4379         (preferredLayoutSize): Be more careful about nulls.
4380
4381 2004-07-21  Michael Koch  <konqueror@gmx.de>
4382
4383         * javax/swing/text/AttributeSet.java
4384         (CharacterAttribute): New interface
4385         (ColorAttribute): Likewise.
4386         (FontCharacterAttribute): Likewise.
4387         (ParagraphAttribute): Likewise.
4388         * javax/swing/text/DefaultCaret.java
4389         (moveCaret): New method.
4390         (positionCaret): Likewise.
4391         (repaint): Made protected.
4392         * javax/swing/text/JTextComponent.java
4393         (KeyBinding): Made it static.
4394         * javax/swing/text/View.java
4395         (getContainer): Honor parent == null.
4396
4397 2004-07-21  Michael Koch  <konqueror@gmx.de>
4398
4399         * javax/swing/text/AbstractDocument.java:
4400         Reformatted.
4401
4402 2004-07-21  Michael Koch  <konqueror@gmx.de>
4403
4404         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4405         Import javax.swing.UIManager explicitely.
4406         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4407         (ScrollingButton): Made it static.
4408
4409 2004-07-21  Michael Koch  <konqueror@gmx.de>
4410
4411         * javax/swing/UIDefaults.java
4412         (ActiveValue): Made public.
4413         (LazyValue): Likewise.
4414         * javax/swing/plaf/basic/BasicTextUI.java
4415         (RootView): Reintroduced.
4416         (view): Removed.
4417         (rootView): New field.
4418         (installUI): Create document if needed, initialize rootView.
4419         (uninstallUI): Hanle rootView.
4420         (paint): Likewise.
4421         (getRootView): Likewise.
4422         (setView): Likewise.
4423         * javax/swing/text/DefaultCaret.java:
4424         Renamed all "evt" variables to "event".
4425
4426 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4427
4428         * libgcj.spec.in: Add -l-java-util-logging.
4429
4430 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4431
4432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4433         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4434         gtk-xft-dpi can no calculate the right value.
4435         (dpi_changed_cb): Mark *pspec as unsused.
4436
4437 2004-07-21  David Jee  <djee@redhat.com>
4438
4439         * java/awt/Component.java
4440         (move): Delegate to setBounds().
4441         (resize): Likewise.
4442         (reshape): Fix so it repaints parent and self only when necessary.
4443
4444 2004-07-21  David Jee  <djee@redhat.com>
4445
4446         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4447         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4448         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4449         (setVisible): Likewise.
4450         (show): Likewise.
4451         (hide): Likewise.
4452         (getArgs): Likewise.
4453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4454         (property_notify_predicate): Likewise.
4455         (find_layout): Likewise.
4456         (connectJObject): Likewise.
4457         (connectSignals): Likewise.
4458         (moveLayout): Likewise.
4459         (gtkLayoutSetVisible): Likewise.
4460
4461 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4462
4463         * Makefile.am
4464         (jv_convert_LDADD):
4465         (gij_LDADD):
4466         (rmic_LDADD):
4467         (rmiregistry_LDADD): Add lib-java-util-logging.la
4468         * Makefile.in: Regenerate.
4469
4470 2004-07-21  Michael Koch  <konqueror@gmx.de>
4471
4472         * javax/swing/text/AbstractDocument.java
4473         (replace): Dont use protected method of java.util.Vector directly.
4474
4475 2004-07-21  Michael Koch  <konqueror@gmx.de>
4476
4477         * javax/swing/plaf/basic/BasicTextUI.java
4478         (installUI): Call specialized install methods.
4479         (installDefaults): New method.
4480         (installListeners): Likewise.
4481         (installKeyboardActions): Likewise.
4482         (uninstallUI): Likewise.
4483         (uninstallDefaults): New method.
4484         (uninstallListeners): Likewise.
4485         (uninstallKeyboardActions): Likewise.
4486         (getPropertyPrefix): New abstract method.
4487         (paint): Made final, just call paintSafely().
4488         (paintSavely): New method.
4489         (paintBackground): Likewise.
4490         (getVisibleEditorRect): Likewise.
4491         * javax/swing/text/LayeredHighlighter.java,
4492         javax/swing/text/TabExpander.java: New files.
4493         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4494         and javax/swing/text/TabExpander.java.
4495         * Makefile.in: Regenerated.
4496
4497 2004-07-21  Michael Koch  <konqueror@gmx.de>
4498
4499         * javax/swing/plaf/basic/BasicTextUI.java
4500         (BasicTextUI): Made abstract.
4501         (BasicCaret): New inner class.
4502         (view): Don't explicitely initialize with "null".
4503         (textComponent): New field.
4504         (textColor): Removed.
4505         (disabledTextColor): Removed.
4506         (normalBackgroundColor): Removed.
4507         (RootView): Removed commented out inner class.
4508         (createUI): Removed.
4509         (createCaret): New method.
4510         (getComponent): Likewise.
4511         (installUI): Initialize textComponent only.
4512         (getPreferredSize): Use installed JTextComponent.
4513         (setView): New method.
4514         (create): Likewise.
4515         * javax/swing/text/JTextComponent.java
4516         (highlighter): New field.
4517         (caretColor): Likewise.
4518         (disabledTextColor): Likewise.
4519         (seletedTextColor): Likewise.
4520         (selectionColor): Likewise.
4521         (setUI): New method.
4522         (getCaretColor): Likewise.
4523         (setCaretColor): Likewise.
4524         (getDisabledColor): Likewise.
4525         (setDisabledColor): Likewise.
4526         (getSelectedTextColor): Likewise.
4527         (setSelectedTextColor): Likewise.
4528         (getSelectionColor): Likewise.
4529         (setSelectionColor): Likewise.
4530         (getHighlighter): Likewise.
4531         (setHighlighter): Likewise.
4532         (replaceSelection): Likewise.
4533
4534 2004-07-21  Michael Koch  <konqueror@gmx.de>
4535
4536         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4537         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4538         * javax/swing/plaf/basic/BasicToolBarUI.java
4539         (BasicToolBarUI): Implements SwingConstants.
4540
4541 2004-07-21  Michael Koch  <konqueror@gmx.de>
4542
4543         * javax/swing/JPopupMenu.java: Removed CVS tags.
4544         * javax/swing/UIDefaults.java: Reformatted.
4545         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4546         Explicitely import used classes.
4547
4548 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4549
4550         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4552         (GtkComponentPeer): Remove temporary try/catch block.
4553         (setVisible): Call show and hide.
4554         (show): Make native.
4555         (hide): Likewise.
4556         (getArgs): Don't add "visible" argument.
4557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4558         (property_notify_predicate): Return Bool instead of int.
4559         (find_layout): New function.
4560         (connectJObject): Call find_layout.
4561         (connectSignals): Likewise.
4562         (moveLayout): Likewise.
4563         (gtkLayoutSetVisible): Likewise.
4564
4565 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4566
4567         * javax/swing/AbstractButton.java:
4568         (setDisplayedMnemonicIndex): Check if button
4569         text is not null before checking its length.
4570         * javax/swing/JMenuItem.java:
4571         (processMouseEvent): Disarm menu item if mouse has
4572         exited it.
4573         * javax/swing/plaf/basic/BasicMenuUI.java:
4574         (MouseInputHandler.mouseEntered): Do not raise
4575         popup menu if this menu is already selected.
4576         (MouseInputHandler.mousePressed): Do not fire 
4577         MenuEvents.
4578         (MenuHandler): Implemented.     
4579
4580 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4581
4582         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4583         (getSelectedObjects): Implemented.
4584         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4585         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4586         Added javadoc for few methods.
4587         (processMouseEvent): Made public.
4588         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4589         (processMouseEvent): Likewise.
4590
4591 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4592
4593         * javax/swing/AbstractButton.java:
4594         (init): Set display mnemonic index to -1.
4595         (setMnemonic(char)): Use setMnemonic(int).
4596         (setMnemonic(int)): Set display mnemonic index.
4597         (getDisplayedMnemonicIndex): Change method signature
4598         by removing 'index' parameter.
4599         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4600         Added default for Menu.selectionBackground.     
4601         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4602         (paintMenuItem): Change background color of the selected
4603         menu item.
4604         (paintText): Paint differently when menu item is disabled.
4605         Also paint mnemonic if it appears in the menu item's label.
4606         (paintAccelerator): Paint accelerator differently
4607         if menu item is disabled.
4608         * javax/swing/plaf/basic/BasicMenuUI.java:
4609         (installDefaults): Install defaults for 
4610         selectionForeground and selectionBackground.
4611         (uninstallDefaults): Uninstall defauls for 
4612         selectionForeground and selectionBackground.
4613
4614 2004-07-21  Michael Koch  <konqueror@gmx.de>
4615
4616         * javax/swing/text/AbstractDocument.java
4617         (BranchElement): Implemented.
4618         (LeafElement): Implemented.
4619         * javax/swing/text/DefaultCaret.java:
4620         Import used classes.
4621         (serialVersionUID): New constant.
4622         * javax/swing/text/JTextComponent.java
4623         (AccessibleJTextComponent): Removed dead declaration.
4624         (caretPos): Removed.
4625         (setCaret): New method.
4626         * javax/swing/text/PlainDocument.java
4627         (rootElement): New field.
4628         (PlainDocument): Initialize rootElement.
4629         (createDefaultRoot): New method.
4630         (getDefaultRootElement): Implemented.
4631         * javax/swing/text/View.java: Reformatted.
4632         * javax/swing/text/ViewFactory.java
4633         (create): Added javadoc.
4634
4635 2004-07-21  Michael Koch  <konqueror@gmx.de>
4636
4637         * javax/swing/ToolTipManager.java: Reformatted.
4638
4639 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4640
4641         * javax/swing/AbstractButton.java
4642         (changeEvent): New field.
4643         (fireItemStateChanged): Change source of the event
4644         to 'this' before firing it to button listeners.
4645         (fireActionPerformed): Likewise.
4646         (fireStateChanged): Likewise.
4647         (createActionListener): Do not set source 
4648         of the event to AbstractButton.                                  
4649         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4650         (ContainerHandler.componentAdded): Removed 
4651         print out statement.
4652         (ContainerHandler.componentRemoved): Likewise.
4653
4654 2004-07-21  Michael Koch  <konqueror@gmx.de>
4655
4656         * javax/swing/text/Highlighter.java: New file.
4657         * Makefile.am: Added javax/swing/text/Highlighter.java.
4658         * Makefile.in: Regenerated.
4659
4660 2004-07-21  Michael Koch  <konqueror@gmx.de>
4661
4662         * javax/swing/ToolTipManager.java
4663         (stillInsideTimerAction): Fixed constructor arguments.
4664         (outsideTimerAction): Likewise.
4665         (insideTimerAction): Likewise.
4666
4667 2004-07-21  Michael Koch  <konqueror@gmx.de>
4668
4669         * javax/swing/JButton.java: Reformatted.
4670         * javax/swing/JFormattedTextField.java
4671         (getUIClassID): Implemented.
4672         * javax/swing/JRootPane.java
4673         (serialVersionUID): New constant.
4674         * javax/swing/JTextField.java
4675         (align): New field.
4676         (JTextField): Simplified.
4677         (getUIClassID): New method.
4678         (getActionListeners): Added @since tag.
4679         (setColumns): Invalidate layout and repaint.
4680         (getHorizontalAlignment): New method.
4681         (setHorizontalAlignment): New method.
4682         (selectAll): Removed.
4683         * javax/swing/SwingUtilities.java
4684         (getAncestorOfClass): Removed redundant @see tag.
4685         (isLeftMouseButton): Fixed implementation.
4686         (isMiddleMouseButton): Likewise.
4687         (isRightMouseButton): Likewise.
4688         * javax/swing/text/AbstractDocument.java
4689         (AttributeContext.addAttribute): New method.
4690         (AttributeContext.addAttributes): New method.
4691         (AttributeContext.getEmptySet): New method.
4692         (AttributeContext.reclaim): New method.
4693         (AttributeContext.removeAttribute): New method.
4694         (AttributeContext.removeAttributes): New method.
4695         * javax/swing/text/Document.java
4696         (createPosition): Throws BadLocationException.
4697         (getText): Likewise.
4698         (remove): Likewise.
4699         * javax/swing/text/JTextComponent.java
4700         (getText): Return null if no document is set. Catch
4701         BadLocationException.
4702         (getUI): Return ui.
4703         (updateUI): Simplified.
4704
4705 2004-07-21  Michael Koch  <konqueror@gmx.de>
4706
4707         * javax/swing/JButton.java
4708         (removeNotify): Fixed javadoc.
4709         (updateUI): Simplified.
4710
4711 2004-07-21  David Jee  <djee@redhat.com>
4712
4713         * gnu/java/awt/image/ImageDecoder.java
4714         (startProduction): Only add consumer if it's not added yet.
4715         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4716         (GdkPixbufDecoder): Don't call initState() here.
4717         (produce): Call initState() here, to ensure area_prepared and
4718         area_updated signals are properly connected.
4719         * gnu/java/awt/peer/gtk/GtkImage.java
4720         (setColorModel): Use equals() to compare ColorModel objects.
4721         (setPixels): Likewise.
4722         * java/awt/image/ColorModel.java
4723         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4724         * java/awt/image/RGBImageFilter.java
4725         (setColorModel): Set consumer's color model.
4726         (setPixels): Use equals() to compare ColorModel objects.
4727
4728 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4729
4730         * java/net/URLConnection.java (position): New field.
4731         (dateFormat1, dateFormat2, dateFormat3): Removed.
4732         (dateFormats): New field.
4733         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4734         each time instead of re-allocating.
4735         (initializeDateFormats): Initialize 'dateFormats'.
4736
4737 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4738
4739         PR libgcj/16591
4740         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4741         is defined.
4742
4743 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4744
4745         * java/net/Socket.java (getImpl): Now private. Remove comment.
4746
4747 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4748
4749         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4750         of chained Writer when calling super-constructor.
4751         * java/io/FilterWriter.java (FilterWriter): Likewise.
4752         * java/io/PrintWriter.java (PrintWriter): Likewise.
4753
4754 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4755
4756         * prims.cc (process_gcj_properties): Don't increment i within LHS
4757         of assignment.
4758
4759 2004-07-19  Per Bothner  <per@bothner.com>
4760
4761         Print -verbose:message on "loading", not initialization.
4762         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4763         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4764         gcj::verbose_class_flag.
4765         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4766         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4767         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4768         (_Jv_PrepareCompiledClass):  Likewise.
4769
4770 2004-07-18  Matthias Klose  <doko@debian.org>
4771
4772         * configure.in: Substitute target_noncanonical.
4773         * configure: Regenerate
4774
4775 2004-07-17  Michael Koch  <konqueror@gmx.de>
4776
4777         * java/lang/String.java: Fixed javadocs all over.
4778
4779 2004-07-17  Mark Wielaard  <mark@klomp.org>
4780
4781         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4782         when size is smaller.
4783         * java/io/RandomAccessFile.java (setLength): Use truncate for
4784         shrinking the file and seek plus write for expanding the file.
4785
4786 2004-07-17  Michael Koch  <konqueror@gmx.de>
4787
4788         * gnu/java/nio/channels/natFileChannelPosix.cc
4789         (implTruncate): Always save current position. Only reposition file
4790         pointer to where we started if not beyond new lenght. Reposition file
4791         pointer to file length if it points beyond the end of file.
4792
4793 2004-07-17  Mark Wielaard  <mark@klomp.org>
4794
4795         * javax/swing/Box.java: Put FIXME comment above class declaration.
4796         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4797         * javax/swing/JCheckBox.java: Likewise.
4798         * javax/swing/JDialog.java: Likewise.
4799         * javax/swing/JRadioButton.java: Likewise.
4800         * javax/swing/JToggleButton.java: Likewise.
4801         * javax/swing/UIManager.java: Likewise.
4802         * javax/swing/border/TitledBorder.java: Likewise.
4803         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4804         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4805         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4806         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4807         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4808         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4809         * javax/swing/text/JTextComponent.java: Likewise.
4810
4811 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4812
4813         * java/net/DatagramPacket.java (setAddress): Removed check for
4814         null address.
4815
4816 2004-07-17  Michael Koch  <konqueror@gmx.de>
4817
4818         * java/net/DatagramSocket.java
4819         (getLocalAddress): Check if socket is bound or not.
4820         * java/net/Socket.java
4821         (getLocalAddrss): Check if socket is bound or not.
4822         (getPort): Return -1 when not connected. Dont check getImpl() for
4823         null.
4824         (setReuseAddress): Check if socket is closed.
4825         (isConnected): Check if getImpl() returns null.
4826
4827 2004-07-17  Mark Wielaard  <mark@klomp.org>
4828
4829         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4830         on notifier object before calling notifyAll().
4831
4832 2004-07-17  Michael Koch  <konqueror@gmx.de>
4833
4834         * gnu/java/nio/channels/FileChannelImpl.java
4835         (finalize): Added javadoc.
4836
4837 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4838
4839         * java/text/CollationElementIterator.java
4840         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4841         (setText): Use ArrayList instead of Vector.
4842
4843 2004-07-17  Michael Koch  <konqueror@gmx.de>
4844
4845         * java/nio/ByteOrder.java
4846         (static): Removed. Not needed.
4847         Thanks to Patrick Reali for noticing.
4848         * java/nio/charset/CharsetDecoder.java
4849         (decode): Fix for classpath bug #9177: Reset state before flipping.
4850
4851 2004-07-17  Michael Koch  <konqueror@gmx.de>
4852
4853         * java/security/Security.java: Fixed javadocs all over.
4854
4855 2004-07-17  Michael Koch  <konqueror@gmx.de>
4856
4857         * gnu/java/awt/EmbeddedWindow.java
4858         (static): Removed.
4859         (addNotify): Set peer via reflection.
4860         (setWindowPeer): Removed.
4861         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4862         * Makefile.am (nat_source_files):
4863         Removed gnu/java/awt/natEmbeddedWindow.cc.
4864         * Makefile.in: Regenerated.
4865
4866 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4867
4868         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4869         assignment.
4870         * configure: Regenerated.
4871
4872 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4873
4874         * configure.in: Use build_noncanonical rather than build_alias.
4875         * configure: Rebuild.
4876
4877         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4878         by logic refactoring.  Move default definition of NATIVE closer
4879         to first alternate definition.
4880         * configure: Regenerate.
4881
4882         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4883         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4884         gcj/Makefile.in: Regenerate.
4885         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4886         in AM_CONDITIONAL(NATIVE,...)
4887         * configure: Regenerate.
4888
4889 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4890
4891         * configure.in: Use target_noncanonical rather than
4892         target_alias for forward-compatibility with autoconf 2.59.
4893         * configure: Regenerate.
4894         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4895         testsuite/Makefile.am: Substitute target_noncanonical.
4896         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4897         testsuite/Makefile.in: Regenerate.
4898
4899         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4900         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4901         * acinclude.m4: Include acx.m4.
4902         * aclocal.m4: Regenerate.
4903         * configure: Regenerate.
4904
4905 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4906
4907         PR libgcj/16574
4908         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4909         (decimalFormat): New static variable.
4910         (sbuf): Likewise.
4911         (getTime): New. Override Date.getTime().
4912         (toString): Synchronize. Use decimalFormat to format nanos value
4913         correctly. Truncate extra zeros.
4914         (before): Compare getNanos() only if getTime() is equal.
4915         (after): Likewise.
4916         
4917 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4918
4919         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4920         * configure.in: ...here.
4921         * aclocal.m4: Regenerate.
4922         * configure: Regenerate.
4923
4924         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4925         * configure: Rebuilt with autoconf 2.13.
4926         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4927         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4928
4929 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4930
4931         PR libgcj/16204
4932         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4933         large file support.
4934         * Makefile.in: Rebuilt.
4935         * testsuite/libjava.lang/LargeFile.java: New test case.
4936         * testsuite/libjava.lang/LargeFile.out: New file.
4937
4938 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4939
4940         * java/beans/EventHandler.java: Remove debugging statements.
4941
4942 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4943
4944         * java/beans/EventHandler.java: New file.
4945         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4946         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4947         testsuite/Makefile.in: Regenerate.
4948
4949 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4950
4951         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4952         flag to the gcj_setup.
4953         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4954         the tclsh.
4955         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4956         deprecation flag change. 58 XFAILS removed.
4957
4958 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4959
4960         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4961         -fno-use-divide-subroutine.
4962         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4963         (HANDLE_FPE): Define.
4964         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4965         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4966         (HANDLE_DIVIDE_OVERFLOW): Define.
4967
4968 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4969             Matthias Klose  <doko@debian.org> 
4970
4971         * java/awt/im/InputContext.java: Initialize in, line.
4972
4973 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4974
4975         * interpret.cc (run): Correctly access libffi return values of
4976         integral smaller-than-int type; these are implicitly promoted.
4977
4978 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4979
4980         PR libgcj/7587
4981         * interpret.cc (compile_mutex): New.
4982         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4983         (run): Lock compile_mutex before calling compile() if compilation is
4984         required.
4985         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4986         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4987
4988 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4989
4990         PR libgcj/15713
4991         * include/jvm.h (_Jv_value): New union type.
4992         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4993         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4994         union members.
4995
4996 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4997
4998         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4999         * gnu/awt/xlib/XOffScreenImage.java
5000           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5001           constructor argument. Add constructor using ImageProducer.
5002           (getSource): Implement.
5003           (imageComplete): New method.
5004           (setColorModel): New method.
5005           (setDimensions): New method.
5006           (setHints): New method.
5007           (setPixels): New method.
5008           (setProperties): New method.
5009         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5010         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5011
5012 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5013
5014         PR libgcj/16478 
5015         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5016         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5017         (finalizerReady): Now native.
5018         (run): Likewise.
5019         (runFinalizers): Removed.
5020         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5021         a primitive lock, and don't hold it while running the finalizers.
5022         (runFinalizers): Implement. Don't aquire any Java lock.
5023         (finalizerReady): Use lock primitives to signal finalizer thread.
5024
5025 2004-07-11  Mark Wielaard  <mark@klomp.org>
5026
5027         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5028         * java/net/URLStreamHandler.java (parseURL): When url file part
5029         doesn't contain a '/' just ignore context.
5030
5031 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5032
5033         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5034         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5035         (MAKE_THROW_FRAME): Do not modify PSW address.
5036         (INIT_SEGV): Install SIGINFO-style signal handler.
5037         (INIT_FPE): Likewise.
5038
5039 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5040
5041         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5042         status. 21 xfail's removed, 1 added.
5043
5044 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5045
5046         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5047
5048 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5049
5050         * java/text/MessageFormat.java
5051         (formatInternal): Append "{n}" if argument n is unavailable.
5052         (format(Object, StringBuffer, FieldPosition)): This
5053         should be equivalent to format(Object[],
5054         StringBuffer, FieldPosition).
5055
5056 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5057
5058         * java.util.Calendar.java (cache): New private static field. Cached
5059         mappings of locales->calendar classes.
5060         (ctorArgTypes): New private static field. Singleton argument for
5061         calendar class constructor lookup.
5062         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5063         Optimize by bypassing reflection instantiation for the 
5064         GregorianCalendar case.
5065
5066 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5067
5068         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5069         ResourceBundle.getBundle() calls.
5070         * java/util/GregorianCalendar.java: Likewise.
5071         * java/util/Currency.java: Likewise.
5072         * java/text/BreakIterator.java: Likewise.
5073         * java/text/Collator.java: Likewise.
5074         * java/text/DateFormat.java: Likewise.
5075         * java/text/DateFormatSymbols.java: Likewise.
5076         * java/text/DecimalFormatSymbols.java: Likewise.
5077         * java/text/NumberFormat.java: Likewise.
5078         * java/awt/Window.java: Likewise.       
5079
5080 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5081
5082         * java/util/ResourceBundle.java (bundleCache): Renamed from
5083         resourceBundleCache. Update comments.
5084         (getObject): Don't catch MissingResourceException.
5085         (getBundle(String)): Remove 'final'. Use system classloader if
5086         getCallingClassLoader returned null.
5087         (getBundle(String, Locale)): Likewise.
5088         (BundleKey): New private class. HashMap key for bundle cache lookup.
5089         (lookupKey): New. Singleton instance of BundleKey.
5090         (nullEntry): New. Cache entry to represent failed lookups.
5091         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5092         caching strategy, no-allocation lookup, and new tryBundle methods.
5093         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5094         name using given classloader.
5095         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5096         baseName for given Locale and attempt to load bundle.
5097
5098 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5099
5100         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5101         illegal protected method calls.
5102
5103 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5104
5105         Fix or remove some bogus test cases.
5106         * testsuite/libjava.compile/pr10459_2.java: Removed.
5107         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5108         not Object.clone().
5109         * testsuite/libjava.compile/inner_data.java: Test against its own
5110         protected field.
5111
5112 2004-07-09  Michael Koch  <konqueror@gmx.de>
5113
5114         * scripts/unicode-muncher.pl: Updated to version 2.1
5115         from GNU classpath. Added some clarifications on where to find the
5116         needed files from www.unicode.org.
5117         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5118         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5119         Removed, these can directly be downloaded from www.unicode.org if
5120         needed. 
5121         * gnu/java/lang/CharData.java: Regenerated.
5122         * include/java-chartables.h: Regenerated.
5123         * Makefile.am (ordinary_java_source_files):
5124         Removed gnu/java/lang/CharData.java.
5125         * Makefile.in: Regenerated.
5126
5127 2004-07-09  Michael Koch  <konqueror@gmx.de>
5128
5129         * java/security/AccessControlContext.java,
5130         java/security/SecureClassLoader.java:
5131         Fixed javadocs.
5132
5133 2004-07-09  Michael Koch  <konqueror@gmx.de>
5134
5135         * java/io/ObjectInputStream.java (readFields): Use long datatype
5136         when shifting byte values more then 24 bits left.
5137
5138 2004-07-09  Michael Koch  <konqueror@gmx.de>
5139
5140         * java/util/zip/DeflaterOutputStream.java,
5141         java/util/zip/GZIPInputStream.java,
5142         java/util/zip/GZIPOutputStream.java,
5143         java/util/zip/InflaterInputStream.java:
5144         Reformatted. Added javadocs. Reordered all stuff.
5145         Renamed variables to be more clear.
5146
5147 2004-07-09  Michael Koch  <konqueror@gmx.de>
5148
5149         * javax/imageio/IIOException.java,
5150         javax/imageio/event/IIOReadProgressListener.java,
5151         javax/imageio/event/IIOReadUpdateListener.java,
5152         javax/imageio/event/IIOReadWarningListener.java,
5153         javax/imageio/event/IIOWriteProgressListener.java,
5154         javax/imageio/event/IIOWriteWarningListener.java:
5155         New files.
5156         * Makefile.am: Added new files.
5157         * Makefile.in: Regenerated.
5158
5159 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5160
5161         * java/text/RuleBasedCollator.java
5162         (mergeRules): Use ArrayList instead of Vector.
5163         (subParseString): likewise.
5164         (parseString): likewise.
5165         (buildCollationVector): likewise.
5166         (getCollationKey): likewise.
5167
5168 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5169
5170         * java/text/DateFormat.java (parse):
5171         Improved javadoc. Improved exception message.
5172
5173 2004-07-09  Mark Wielaard  <mark@klomp.org>
5174
5175         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5176         interrupted() method to clear interupt flag of our Thread.
5177
5178 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5179
5180         * java/nio/Buffer.java,
5181         java/nio/ByteBuffer.java,
5182         java/nio/ByteBufferHelper.java,
5183         java/nio/ByteBufferImpl.java,
5184         java/nio/CharBuffer.java,
5185         java/nio/CharBufferImpl.java,
5186         java/nio/CharViewBufferImpl.java,
5187         java/nio/DirectByteBufferImpl.java,
5188         java/nio/DoubleBuffer.java,
5189         java/nio/DoubleBufferImpl.java,
5190         java/nio/DoubleViewBufferImpl.java,
5191         java/nio/FloatBuffer.java,
5192         java/nio/FloatBufferImpl.java,
5193         java/nio/FloatViewBufferImpl.java,
5194         java/nio/IntBuffer.java,
5195         java/nio/IntBufferImpl.java,
5196         java/nio/IntViewBufferImpl.java,
5197         java/nio/LongBuffer.java,
5198         java/nio/LongBufferImpl.java,
5199         java/nio/LongViewBufferImpl.java,
5200         java/nio/MappedByteBufferImpl.java,
5201         java/nio/ShortBuffer.java,
5202         java/nio/ShortBufferImpl.java,
5203         java/nio/ShortViewBufferImpl.java:
5204         Fixed javadocs all over. Improved input error
5205         checking.
5206
5207         * java/nio/Buffer.java
5208         (checkForUnderflow, checkForOverflow, checkIndex,
5209         checkIfReadOnly, checkArraySize): New helper methods
5210         for error checking.
5211
5212         * java/nio/ByteBufferHelper.java
5213         (checkRemainingForRead, checkRemainingForWrite,
5214         checkAvailableForRead, checkAvailableForWrite): Removed
5215         no longer needed methods.
5216
5217 2004-07-09  Michael Koch  <konqueror@gmx.de>
5218
5219         * gnu/regexp/CharIndexedInputStream.java:
5220         Reordered imports to match classpath.
5221
5222 2004-07-09  Michael Koch  <konqueror@gmx.de>
5223
5224         * gnu/java/awt/EmbeddedWindow.java:
5225         Load native library for setWindowPeer method.
5226
5227 2004-07-08  Randolph Chung  <tausq@debian.org>
5228
5229         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5230         * configure: Regenerate.
5231         * configure.host: Set can_unwind_signal for hppa*-linux.
5232         * include/pa-signal.h: New file.
5233
5234 2004-07-07  Per Bothner  <per@bothner.com>
5235
5236         * Makefile.am:  Add rules to build libgij from just gij.cc.
5237
5238         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5239         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5240         (initializeClass):  If verbose_class_flag, print message.
5241         * gij.cc (main):  Handle -verbose:class flag.
5242
5243 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5244
5245         * configure.host: Enable hash synchronization on Darwin.
5246         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5247         ';', since this is a comment on Darwin.
5248         (compare_and_swap_release): Likewise.
5249
5250 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5251
5252         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5253         file portion of URL in addition to spec for file: protocol.
5254
5255 2004-07-05  Anthony Green  <green@redhat.com>
5256
5257         * java/io/File.java (toURI): Merge from Classpath.
5258
5259 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5260
5261         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5262         before passing to URL constructor. Rethrow any MalformedURLException
5263         as a RuntimeException. Catch MalformedURLException specifically, not
5264         all exceptions.
5265
5266 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5267
5268         * java/util/Locale.java (readObject): Intern strings read from object
5269         stream.
5270
5271 2004-07-04  Michael Koch  <konqueror@gmx.de>
5272
5273         * gnu/gcj/runtime/FirstThread.java,
5274         gnu/gcj/runtime/natFirstThread.cc: Removed.
5275         * gnu/java/lang/MainThread.java,
5276         gnu/java/lang/natMainThread.cc: New files.
5277         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5278         * Makefile.am: Added new files and removed deleted ones.
5279         * Makefile.in: Regenerated.
5280
5281 2004-07-03  Mark Wielaard  <mark@klomp.org>
5282             Anthony Green  <green@redhat.com>
5283
5284         * java/net/URL.java (getFile): Clarify return value doc.
5285         (getPath): Return null if file is empty - not empty String.
5286         (set): Convert protocol to lower case before doing anything.
5287         Only change the protocol handler if it's different.
5288
5289 2004-07-03  Anthony Green  <green@redhat.com>
5290
5291         * java/net/URL.java (URL): Convert protocol to lower case before
5292         doing anything, so we getURLStreamHandler() with the proper value.
5293
5294 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5295
5296         * java/util/Locale.java (hashcode): Made transient.
5297         (hashCode): No longer synchronized.
5298         (equals): Remove comment.
5299         (writeObject): No longer synchronized. Implement using writeObject 
5300         calls instead of tweaking hashCode field. Update doc.
5301         (readObject): Implement using readObject calls.
5302
5303 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5304             Andreas Tobler  <a.tobler@schweiz.ch>
5305
5306         * configure.host (powerpc-*-darwin*): New case, define
5307         can_unwind_signal.
5308         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5309         * configure: Regenerate.
5310         * include/darwin-signal.h: New.
5311
5312 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5313
5314         * java/beans/Statement.java (doExecute): Fix formatting.
5315
5316 2004-06-29  Per Bothner  <per@bothner.com>
5317
5318         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5319         etc etc):  Remove needless parenthesis, which causes __stdcall__
5320         attribute on MinGW to get ignored.
5321
5322 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5323
5324         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5325
5326 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5327
5328         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5329
5330 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5331
5332         * java/beans/Expression.java: New file.
5333         * java/beans/Statement.java: New file.
5334         * Makefile.am: Added new files.
5335         * Makefile.in: Re-generate.
5336
5337 2004-06-27 Mark Wielaard  <mark@klomp.org>
5338
5339         * java/io/FilePermission.java (usingPerms): Removed.
5340         (actionsString): Made final.
5341         (cachePerms): Renamed to checkPerms.
5342         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5343         on action String.
5344         (FilePermission): Check arguments, call checkPerms().
5345         (equals): Remove cachePerms() call.
5346         (implies): Likewise.
5347
5348 2004-06-27  Mark Wielaard  <mark@klomp.org>
5349
5350         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5351         final field.
5352         (sendRequest): Use new field in user-agent http agent.
5353
5354 2004-06-27  Mark Wielaard  <mark@klomp.org>
5355
5356         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5357         when argument is null.
5358
5359 2004-06-26  Mark Wielaard  <mark@klomp.org>
5360
5361         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5362         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5363         GetMethodID call.
5364         (cancel_clicked): Likewise.
5365
5366 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5367
5368         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5369         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5370         can not calculate the right value.
5371         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5372
5373 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5374
5375         * testsuite/libjava.jacks/jacks.xfail: Remove
5376         15.9.1-qualified-concrete-20.
5377
5378 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5379
5380         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5381         encoding name to iconv.
5382         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5383
5384 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5385
5386         PR libgcj/16134:
5387         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5388         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5389         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5390
5391 2004-06-21  Andrew Haley  <aph@redhat.com>
5392
5393         * java/io/ObjectOutputStream.java: Add DEBUG statements
5394         everywhere.
5395         (dumpElementln): New method.
5396         (depth): New field.
5397         * java/io/ObjectInputStream.java
5398         (currentClassLoader): Make native.
5399         (callersClassLoader): New field.
5400         (depth): New field.
5401         (readObject): ENDBLOCKDATA is generated if the class has a write
5402         method, not if it has a read method.
5403         (readObject): Save and restore this.currentObject and
5404         this.currentObjectStreamClass around calls to callReadMethod().
5405         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5406         method.
5407
5408 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5409
5410         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5411         darwin.
5412
5413 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5414
5415         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5416         if desired, before the default class loader is initialised.
5417         Call INIT_SEGV only if HANDLE_SEGV is defined.
5418
5419 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5420
5421         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5422         directory only if it actually exists.
5423
5424 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5425
5426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5427         Fix up non-ansi comments.
5428
5429 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5430
5431         * javax/swing/text/AbstractDocument.java: Adding missing import
5432         for javax.swing.event.EventListenerList.
5433         * javax/swing/text/DefaultCaret.java: Likewise.
5434
5435 2004-06-17  Michael Koch  <konqueror@gmx.de>
5436
5437         * javax/swing/JToolBar.java
5438         (name): Removed.
5439         (JToolBar): Use Component.setName(String) instead of doing it all
5440         alone.
5441         * javax/swing/Timer.java
5442         (queueEvent): Added missing modifier.
5443
5444 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5445
5446         * Makefile.am: Added new file.
5447         * Makefile.in: Re-generate.
5448         * javax/swing/JMenu.java:
5449         (insertSeparator): Implemented.
5450         * javax/swing/JPopupMenu.java:
5451         (JPopupMenu.Separator): Implemented.
5452         * javax/swing/MenuSelectionManager.java:
5453         (processMouseEvent): Use java.awt.Component 
5454         for event source instead of javax.swing.JComponent. 
5455         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5456         New File. Implemented.
5457         
5458 2004-06-16  David Jee  <djee@redhat.com>
5459
5460         * java/awt/GridBagLayout.java
5461         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5462         Make sure pos_x and pos_y are never negative.
5463
5464 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5465
5466         * Makefile.am: Add new file.
5467         * Makefile.in: Re-generate.     
5468         * javax/swing/JToolBar.java
5469         Partially implemented.
5470         * javax/swing/plaf/basic/BasicToolBarUI.java
5471         New file. Partially implemented.
5472
5473 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5474
5475         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5476         (setComposite): Accept AlphaComposite arguments.
5477         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5478         (createBufferedImage): Add new overloads.
5479         * gnu/java/awt/peer/gtk/GtkToolkit.java
5480         (createImage): Use GdkPixbufDecoder.createBufferedImage
5481         when useGraphics2D() is true.
5482         (getImage): Delegate to createImage.
5483         * javax/swing/JList.java
5484         (isSelectionEmpty):
5485         (getFirstVisibleIndex):
5486         (getLastVisibleIndex):
5487         (setSelectedValue):
5488         (ensureIndexIsVisible): New methods.
5489         * javax/swing/Timer.java: Reimplement.
5490
5491 2004-06-16  Michael Koch  <konqueror@gmx.de>
5492
5493         * javax/swing/text/AbstractDocument.java
5494         (AbstracElement): Made public, implements java.io.Serializable.
5495         (AttributeContext): Made public.
5496         (BranchElement): Likewise.
5497         (Content): Likewise.
5498         (DefaultDocumentEvent): Made public, extends
5499         javax.swing.undo.CompoundEdit.
5500         (ElementEdit): Made public, extends
5501         javax.swing.undo.AbstractUndoableEdit.
5502         (LeafElement): Made public.
5503         (LeafElement.LeafElement): Made public.
5504
5505 2004-06-16  Michael Koch  <konqueror@gmx.de>
5506
5507         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5508         methods (that were obviously never be intended to get included hi this
5509         class. Added some methods too.
5510
5511 2004-06-16  Michael Koch  <konqueror@gmx.de>
5512
5513         * javax/swing/text/PlainDocument.java
5514         (serialVersionUID): New constant.
5515         (lineLimitAttribute): Likewise.
5516         (tabSizeAttribute): Likewise.
5517         (tabSize): New field.
5518         (PlainDocument): Made public.
5519         (PlainDocument): New constructor.
5520
5521 2004-06-16  Michael Koch  <konqueror@gmx.de>
5522
5523         * javax/swing/text/AbstractDocument.java
5524         (insertString): Throws BadLocationException.
5525         * javax/swing/text/Document.java
5526         (insertString): Likewise.
5527         * javax/swing/text/JTextComponent.java:
5528         Javadocs and comments cleaned up.
5529
5530 2004-06-16  Michael Koch  <konqueror@gmx.de>
5531
5532         * javax/swing/event/UndoableEditListener.java: Reformatted.
5533         * javax/swing/text/AbstractDocument.java
5534         (AbstractDocument): Implements java.io.Serializable.
5535         (doc_list): Removed.
5536         (undo_list): Removed.
5537         (AbstractElement.serialVerionUID): New field.
5538         (BranchElement.serialVerionUID): Likewise.
5539         (DefaultDocumentEvent.serialVerionUID): Likewise.
5540         (ElementEdit.serialVerionUID): Likewise.
5541         (LeafElement.serialVerionUID): Likewise.
5542         (serialVerionUID): Likewise.
5543         (BAD_LOCATION): New constant.
5544         (BidiElementName): Likewise.
5545         (ContentElementName): Likewise.
5546         (ParagraphElementName): Likewise.
5547         (SectionElementName): Likewise.
5548         (ElementNameAttribute): Likewise.
5549         (AbstractDocument): Made protected.
5550         (AbstractDocument): New construtor.
5551         (listenerList): New field.
5552         (fireChangedUpdate): Implemented.
5553         (fireInsertUpdate): Likewise.
5554         (fireRemoveUpdate): Likewise.
5555         (fireUndoableEditUpdate): Likewise.
5556         (getListeners): Likewise.
5557         (addDocumentListener): Likewise.
5558         (removeDocumentListener): Likewise.
5559         (addUndoableEditListener): Likewise.
5560         (removeUndoableEditListener): Likewise.
5561         (getDocumentListeners): New method.
5562         (getUndoableEditListeners): Likewise.
5563         (getAsynchronousLoadPriority): Made public.
5564         (getBidiRootElement): Likewise.
5565         (setAsynchronousLoadPriority): Likewise.
5566         (setDocumentProperties): Likewise.
5567         * javax/swing/text/BadLocationException.java
5568         (serialVerionUID): New field.
5569         * javax/swing/text/DefaultCaret.java
5570         (changeEvent): New field.
5571         (listenerList): Likewise.
5572         (changes): Removed.
5573         (addChangeListener): Reimplemented.
5574         (removeChangeListener): Likewise.
5575         (getListeners): New method.
5576         (getChangeListeners): Likwise.
5577         (getComponent): Likewise.
5578         * javax/swing/text/GapContent.java
5579         (GapContent): Implements java.io.Serializable.
5580         (serialVerionUID): New field.
5581
5582 2004-06-16  Michael Koch  <konqueror@gmx.de>
5583
5584         * javax/swing/JTree.java
5585         (treeModel): New field.
5586         (JTree): New constructors, one existing one made public.
5587         (createTreeModel): New method.
5588         (addTreeExpansionListener): Likewise.
5589         (removeTreeExpansionListener): Likewise.
5590         (getTreeExpansionListeners): Likewise.
5591         (fireTreeCollapsed): Likewise.
5592         (fireTreeExpanded): Likewise.
5593         (addTreeSelectionListener): Likewise.
5594         (removeTreeSelectionListener): Likewise.
5595         (getTreeSelectionListeners): Likewise.
5596         (fireValueChanged): Likewise.
5597         (addTreeWillExpandListener): Likewise.
5598         (removeTreeWillExpandListener): Likewise.
5599         (getTreeWillExpandListeners): Likewise.
5600         (fireTreeWillCollapse): Likewise.
5601         (fireTreeWillExpand): Likewise.
5602
5603 2004-06-16  Michael Koch  <konqueror@gmx.de>
5604
5605         * javax/swing/JTree.java: Reformatted.
5606
5607 2004-06-16  Michael Koch  <konqueror@gmx.de>
5608
5609         * javax/swing/JTextArea.java: New file.
5610         * javax/swing/JTextField.java
5611         (actions): Removed.
5612         (notifyAction): New constant.
5613         (columns): New field.
5614         (JTextField): New constructors.
5615         (createDefaultModel): New method.
5616         (addActionListener): Reimplmemented.
5617         (removeActionListener): Reimplemented.
5618         (getActionListeners): New method.
5619         (fireActionPerformed): New method.
5620         (getColumns): New method.
5621         (setColumne): New method.
5622         * javax/swing/text/JTextComponent.java
5623         (AccessibleJTextComponent.serialVersionUID): New field.
5624         (serialVersionUID): Likewise.
5625         (DEFAULT_KEYMAP): Likewise.
5626         (FOCUS_ACCELERATOR_KEY): Likewise.
5627         (doc): Made private.
5628         (icon_gap): Likewise.
5629         (icon): Likewise.
5630         (align): Likewise.
5631         (JTextComponent): Some constructors removed.
5632         (getScrollableTracksViewportHeight): New method.
5633         (getScrollableTracksViewportWidth): Likewise.
5634         * Makefile.am: Added javax/swing/JTextArea.java.
5635         * Makefile.in: Regenerated.
5636
5637 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5638
5639         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5640         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5641         * javax/swing/JViewport.java 
5642         (getExtentSize): Return size rather than preferred size.
5643         (toViewCoordinates): New methods.
5644         (getViewSize): Return size rather than preferred size.
5645         (setViewSize): Note view size as set.
5646         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5647         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5648         (getPreferredSize): Don't redo layout.
5649         * javax/swing/plaf/basic/BasicViewportUI.java 
5650         (paint): Translate image properly and eat exceptions.
5651
5652 2004-06-15  Kim Ho  <kho@redhat.com>
5653
5654         * javax/swing/JTabbedPane.java
5655         (setComponent): Remove old component and
5656         add new component.
5657         (setSelectedIndex): Don't operate on the 
5658         components if they're null. Don't set index
5659         on the model if the index is the same.
5660         (insertTab): Don't add or hide the component
5661         if it's null. Repaint the container.
5662         * javax/swing/plaf/basic/BasicLookAndFeel.java
5663         Change colors for TabbedPane.
5664         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5665         (mousePressed): Re-layout and paint the component.
5666         (layoutContainer): Don't set location on the view.
5667         (ScrollingViewport::paint): Remove.
5668
5669 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5670
5671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5672         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5673
5674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5675         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5676         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5677         critical region.
5678         (drawLine): Call gdk_flush before leaving GDK critical region.
5679         (fillRect): Likewise.
5680         (drawRect): Likewise.
5681         (copyArea): Likewise.
5682         (copyPixmap): Likewise.
5683         (clearRect): Likewise.
5684         (drawArc): Likewise.
5685         (drawPolyline): Likewise.
5686         (drawPolygon): Likewise.
5687         (fillPolygon): Likewise.
5688         (fillArc): Likewise.
5689         (drawOval): Likewise.
5690         (fillOval): Likewise.
5691
5692         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5693         style parameter.
5694         (GdkFontMetrics): Add style argument to initState call.
5695         (stringWidth(String,int,int,String)): Add style parameter.
5696         (stringWidth(String)): Add style argument to stringWidth call.
5697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5698         (initState): Set pango font style and weight based on AWT style
5699         parameter.  Pass default GTK language to
5700         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5701         simply dividing by PANGO_SCALE.
5702         (stringWidth): Set pango font style and weight based on AWT style
5703         parameter.
5704
5705         * java/awt/Button.java (next_button_number): New field.
5706         (paramString): Change output.
5707         (generateName): New method.
5708         (getUniqueLong): New method.
5709
5710 2004-06-14  Kim Ho  <kho@redhat.com>
5711
5712         * javax/swing/JTabbedPane.java:
5713         (setComponentAt): Set the component, not
5714         the enabled status.
5715         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5716         (actionPerformed): Let deiconize catch exception.
5717
5718 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5719
5720         * javax/swing/JPopupMenu.java:
5721         (setVisible): Corrected location of a 
5722         heavyweight popup menu.
5723
5724 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5725
5726         * javax/swing/MenuSelectionManager.java: 
5727         Ran through jalopy to fix formatting style.
5728
5729 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5730         
5731         * javax/swing/JLayeredPane.java: 
5732         (remove): Revalidate and repaint layered pane after
5733         the component was removed.
5734         javax/swing/JMenu.java:
5735         (setVisible): Display popup menu at the user location,
5736         if one was set by the user.
5737         (setMenuLocation): Reimplemented. Fixed javadoc.
5738         * javax/swing/JMenuBar.java: Added javadoc.
5739         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5740         (MODEL_CHANGED_PROPERTY): New Property.
5741         (isSelected): Implemented.
5742         (setBorderPainted): Fire PropertyChangeEvent
5743         if paintBorder property changes.
5744         (setSelected): Implemented.
5745         (setSelectionModel): Implemented.
5746         * javax/swing/JPopupMenu.java: Added Javadoc
5747         (pack): Implemented.
5748         (setVisible): Reimplemented.
5749         (show): Fixed location.
5750         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5751         Container instead of JPanel.
5752         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5753         (clearSelectedPath): Reimplemented to clear selectedPath
5754         in reverse order.
5755         (processMouseEvent): Reimplemented.
5756         (setSelectedPath): Fire stateChange event indicating that
5757         selected menu path has changed.
5758         (getPath): Change to use ArrayList instead of Vector.
5759         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5760         (installUI): call installKeyboardActions().
5761         (uninstallUI): call uninstallKeyboardActions().
5762
5763 2004-06-13  Michael Koch  <konqueror@gmx.de>
5764
5765         * javax/swing/text/DefaultCaret.java,
5766         javax/swing/text/BadLocationException.java:
5767         Reformatted.
5768
5769 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5770
5771         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5772         DEFAULT_COLS): New variables.
5773         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5774         values to DEFAULT_ROWS or DEFAULT_COLS.
5775         (getMinimumSize): Likewise.
5776         (getPreferredSize): Likewise.
5777         (minimumSize): Likewise.
5778         (preferredSize): Likewise.
5779         (create): Set peer's editable state.
5780         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5781         zero.  Update javadocs.
5782         (TextArea(String)): Likewise.
5783         (TextArea(int,int)): Fix javadocs.
5784         (TextArea(String,int,int,int)): Only throw exception if one of
5785         rows or columns is zero.  Fix javadocs.
5786
5787 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5788
5789         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5790         addition to Components.
5791
5792         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5793         wasn't consumed by normal processing, send it to the parent
5794         menu.
5795
5796         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5797         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5798         translation.
5799
5800 2004-06-11  David Jee  <djee@redhat.com>
5801
5802         * java/awt/MediaTracker.java
5803         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5804         (addImage(Image,int,int,int)): Likewise.
5805
5806 2004-06-11  Michael Koch  <konqueror@gmx.de>
5807
5808         * javax/swing/text/AbstractDocument.java,
5809         javax/swing/text/Document.java,
5810         javax/swing/text/GapContent.java,
5811         javax/swing/text/JTextComponent.java,
5812         javax/swing/text/PlainDocument.java:
5813         Reformatted.
5814
5815 2004-06-11  Michael Koch  <konqueror@gmx.de>
5816
5817         * javax/swing/JRootPane.java
5818         (AccessibleJRootPane.serialVersionUID): New field.
5819         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5820         (AccessibleJRootPane.getAccessibleRole): New method.
5821         (RootLayout): Implements Serializable.
5822         (RootLayout.serialVersionUID): New field.
5823         (RootLayout.RootLayout): New constructor.
5824         (setJMenuBar): Made public.
5825         (getJMenuBar): Likewise.
5826         (JRootPane): Likewise.
5827         (createContentPane): Likewise.
5828         (createGlassPane): Likewise.
5829         (createLayeredPane): Likewise.
5830
5831 2004-06-11  Michael Koch  <konqueror@gmx.de>
5832
5833         * javax/swing/SwingUtilities.java
5834         (isLeftMouseButton): Fixed javadoc.
5835         (isMiddleMouseButton): Likewise.
5836         (isRightMouseButton): Likewise.
5837
5838 2004-06-11  Michael Koch  <konqueror@gmx.de>
5839
5840         * javax/swing/JScrollPane.java
5841         (serialVersionUID): New field.
5842         (columnHeader): Made protected.
5843         (rowHeader): Likewise.
5844         (lowerLeft): Likewise.
5845         (lowerRight): Likewise.
5846         (upperLeft): Likewise.
5847         (upperRight): Likewise.
5848         (horizontalScrollBar): Likewise.
5849         (horizontalScrollBarPolicy): Likewise.
5850         (verticalScrollBar): Likewise.
5851         (verticalScrollBarPolicy): Likewise.
5852         (viewport): Likewise.
5853
5854 2004-06-11  Michael Koch  <konqueror@gmx.de>
5855
5856         * javax/swing/LookAndFeel.java: Fixed javadocs.
5857
5858 2004-06-11  Michael Koch  <konqueror@gmx.de>
5859
5860         * javax/swing/JEditorPane.java: Fixed javadocs.
5861         (JEditorPane): Removed redundant call to to this().
5862         (fireHyperlinkUpdate): Implemented.
5863
5864 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5865
5866         * javax/swing/JMenu.java: Fixed file name 
5867         in the file comment.
5868
5869 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5870
5871         * javax/swing/JMenu.java: Added javadoc.
5872         (JMenu): Added MenuChangeListener to listen to 
5873         ChangeEvents occuring in menu's model. 
5874         (insert): Throw IllegalArgumentException if 
5875         index is less than 0
5876         (setSelected): Reimplement.
5877         (setPopupMenuVisible): Call menu's model isEnabled()
5878         (setDelay): Throw IllegalArgumentException if 
5879         given amount of delay is less than 0.
5880         (createActionComponent): Implemented.
5881         (createActionChangeListener): Implemented.
5882         (addSeparator): Implemented.
5883         (getItem): Throw IllegalArgumentException if index is 
5884         less than 0.
5885         (getItemCount): Implemented.
5886         (fireMenuSelected): Changed to use menuEvent.
5887         (fireMenuDeselected): Likewise.
5888         (fireMenuCanceled): Likewise.
5889         (setAccelerator): Changed to throw an error if this 
5890         method is used. 
5891         (doClick): Implemented.
5892         (JMenu.ActionChangedListener): New inner class to handle
5893         PropertyChangeEvents occuring in the actions associated with menu.
5894         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5895         (BasicMenuUI): Added PropertyChangeListener to the menu.
5896         (createChangeListener): Implemented.
5897         (createMenuDragMouseListener): Likewise.
5898         (createMenuKeyListener): Likewise.
5899         (createPropertyChangeListener): Likewise.
5900         (uninstallListeners): Likewise.
5901         (BasicMenuUI.MouseInputHandler): Reimplemented.
5902         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5903         (BasicMenuUI.ChangeHandler): Likewise.
5904         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5905         (BasicMenuUI.MenuKeyHandler): Likewise.
5906
5907 2004-06-10  David Jee  <djee@redhat.com>
5908
5909         * java/awt/MediaTracker.java
5910         (imageUpdate): Only do notifyAll() if the image is complete.
5911
5912 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5913
5914         * javax/swing/JApplet.java:
5915         (getJMenuBar): Made public.
5916         (setJMenuBar): Likewise.
5917         * javax/swing/JFrame.java:
5918         (getJMenuBar): Made public.
5919         (setJMenuBar): Likewise.
5920         * javax/swing/JWindow.java:
5921         (getJMenuBar): Removed.
5922         (setJMenuBar): Removed.
5923
5924 2004-06-10  Michael Koch  <konqueror@gmx.de>
5925
5926         * javax/swing/JEditorPane.java
5927         (createEditorKitForContentType): Fixed visibility.
5928         (fireHyperlinkUpdate): Likewise.
5929         (getContentType): Likewise.
5930         (getEditorKit): Likewise.
5931         (getEditorKitForContentType): Likewise.
5932         (getPage): Likewise.
5933         (read): Likewise.
5934         (registerEditorKitForContentTyoe): Likewise.
5935         (replaceSelection): Likewise.
5936         (setContentType): Likewise.
5937         (setEditorKit): Likewise.
5938         (setPage): Likewise.
5939
5940 2004-06-10  Michael Koch  <konqueror@gmx.de>
5941
5942         * javax/swing/Timer.java
5943         (Timer): New constructor.
5944         * javax/swing/plaf/basic/BasicProgressBarUI.java
5945         (animationTimer): Don't initialize at construction.
5946         (startAnimationTimer): Added since tag.
5947         (stopAnimationTimer): Likewise.
5948         (installUI): Use new Timer constructor.
5949         * javax/swing/plaf/basic/BasicScrollBarUI.java
5950         (installUI): Likewise.
5951         * javax/swing/plaf/basic/BasicSliderUI.java
5952         (installUI): Likewise.
5953
5954 2004-06-10  Michael Koch  <konqueror@gmx.de>
5955
5956         * javax/swing/ButtonGroup.java
5957         (serialVersionUID): Made private.
5958         (buttons): Renamed from v, added javadoc.
5959         (sel): Added javadoc.
5960         (ButtonGroup): Likewise.
5961         (add): Likewise.
5962         (remove): Likewise.
5963         (getElements): Likewise.
5964         (getSelection): Likewise.
5965         (setSelected): Likewise.
5966         (isSelected): Likewise.
5967         (getButtonCount): Likewise.
5968
5969 2004-06-10  Michael Koch  <konqueror@gmx.de>
5970
5971         * javax/swing/ButtonGroup.java,
5972         javax/swing/ImageIcon.java,
5973         javax/swing/JEditorPane.java,
5974         javax/swing/JRootPane.java,
5975         javax/swing/JTextField.java,
5976         javax/swing/LookAndFeel.java,
5977         javax/swing/plaf/basic/BasicTextUI.java:
5978         Reindented.
5979
5980 2004-06-10  Michael Koch  <konqueror@gmx.de>
5981
5982         * javax/swing/text/Style.java: Added javadocs.
5983
5984 2004-06-10  Michael Koch  <konqueror@gmx.de>
5985
5986         * javax/swing/JComponent.java
5987         (fireVetoableChange): Removed redundant cast.
5988         * javax/swing/JLabel.java
5989         (getDisabledIcon): Save icon for next call.
5990
5991 2004-06-10  Michael Koch  <konqueror@gmx.de>
5992
5993         * javax/swing/KeyStroke.java
5994         (getKeyStroke(char,boolean)): Marked deprecated.
5995
5996 2004-06-10  Michael Koch  <konqueror@gmx.de>
5997
5998         * javax/swing/DefaultCellEditor.java,
5999         javax/swing/GrayFilter.java,
6000         javax/swing/event/DocumentEvent.java,
6001         javax/swing/text/JTextComponent.java,
6002         javax/swing/text/MutableAttributeSet.java:
6003         Reindented.
6004
6005 2004-06-10  Michael Koch  <konqueror@gmx.de>
6006
6007         * javax/swing/plaf/BorderUIResource.java:
6008         Added serialVersionUID all over.
6009
6010 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6011
6012         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6013
6014 2004-06-10  Michael Koch  <konqueror@gmx.de>
6015
6016         * javax/swing/table/DefaultTableCellRenderer.java
6017         (noFocusBorder): Initialize directly.
6018
6019 2004-06-10  Michael Koch  <konqueror@gmx.de>
6020
6021         * javax/swing/plaf/basic/BasicArrowButton.java
6022         (setDirection): Use method argument.
6023
6024 2004-06-10  Michael Koch  <konqueror@gmx.de>
6025
6026         * javax/swing/plaf/BorderUIResource.java,
6027         javax/swing/plaf/ComponentUI.java,
6028         javax/swing/undo/CompoundEdit.java,
6029         javax/swing/undo/StateEdit.java:
6030         Fixed javadocs all over.
6031
6032 2004-06-10  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/DefaultButtonModel.java
6035         (ARMED): Made public final, fixed value.
6036         (ENABLED): Likewise.
6037         (PRESSED): Likewise.
6038         (ROLLOVER): Likewise.
6039         (SELECTED): Likewise.
6040         (stateMask): Initialize directly.
6041         (listenerList): Likewise.
6042         (mnemonic): Likewise.
6043         (fireStateChanged): Removed argument, use changeEvent as event.
6044         All places where this method is called are fixed too.
6045         (getActionCommant): Fixed javadoc.
6046         (setGroup): Fixed javadoc.
6047         (getGroup): New method.
6048
6049 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6050
6051         * javax/swing/AbstractButton.java
6052         (AbstractButton): Use init() to initialize the button.
6053         (init): New Method. Initializes AbstractButton.
6054         * javax/swing/JMenuItem.java: Documented.
6055         (JMenuItem): Reimplemented.
6056         (init): Implemented.
6057         (setEnabled): Changed to call super.setEnabled()
6058         (processMouseEvent): Reimplemented.
6059         (fireMenuKeyPressed): Implemented.
6060         (fireMenuKeyReleased): Implemented.
6061         (fireMenuKeyTyped): Implemented.
6062         (menuSelectionChanged): disarm the model if the menu item was
6063         deselected.
6064         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6065         (getPath): Change to use ArrayList instead of Vector.
6066         (getPreferredSize): Renamed variable.
6067         (paintMenuItem): Paint margin area of menu item.
6068         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6069         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6070         menu item's bounds before clearing the selection.       
6071
6072 2004-06-09  David Jee  <djee@redhat.com>
6073
6074         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6075         (GtkTextComponentPeer): Set caret position to 0.
6076         * java/awt/TextComponent.java
6077         (setText): Set caret position to 0.
6078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6079         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6080         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6081         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6082         Likewise.
6083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6084         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6085         visible.
6086
6087 2004-06-09  Kim Ho  <kho@redhat.com>
6088
6089         * Makefile.am: New files
6090         * Makefile.in: Regenerated
6091         * java/awt/Container.java
6092         (getComponentAt): Removed.
6093         * javax/swing/AbstractAction.java
6094         (ENABLED_PROPERTY): New property.
6095         (putValue): Fire PropertyChangeEvents.
6096         (setEnabled): ditto.
6097         (firePropertyChange): Javadoc and implement
6098         convenience method.
6099         * javax/swing/AbstractButton.java
6100         (setAction): Don't create PropertyChangeListener
6101         if new Action is null.
6102         (setIcon): Don't set icon till after comparing
6103         it.
6104         (configurePropertiesFromAction): Check mnemonic
6105         key before calling intValue().
6106         (createActionPropertyChangeListener): Check
6107         properties rather than bulk change.
6108         * javax/swing/DefaultDesktopManager.java:
6109         Implement.
6110         * javax/swing/DesktopManager.java:
6111         Jalopy and javadoc.
6112         * javax/swing/JComponent.java
6113         (fireVetoableChange): Implement.
6114         (paintImmediately): Use root component.
6115         * javax/swing/JDesktopPane.java: Implement
6116         * javax/swing/JInternalFrame.java: Implement
6117         * javax/swing/JLabel.java
6118         (getDisabledIcon): Return grayscaled icon if
6119         no disabled icon specified.
6120         * javax/swing/JMenuBar.java
6121         (getComponentAtIndex): Use getComponent
6122         * javax/swing/JOptionPane.java
6123         (getDesktopPaneForComponent): Use SwingUtilities'
6124         getAncestorOfClass
6125         (getFrameForComponent): ditto.
6126         * javax/swing/JSplitPane.java
6127         (remove): Use getComponent.
6128         * javax/swing/SwingUtilities.java
6129         (convertPoint): Implement.
6130         * javax/swing/plaf/basic/BasicButtonUI.java
6131         (paintButtonNormal): Check opaqueness before
6132         filling background.
6133         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6134         Implement
6135         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6136         Implement.
6137         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6138         Implement.
6139         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6140         Implement.
6141         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6142         Change InternalFrame and Desktop colors.
6143
6144 2004-06-09  David Jee  <djee@redhat.com>
6145
6146         * java/awt/Container.java
6147         (remove): Do not set component to invisible.
6148
6149 2004-06-09  Michael Koch  <konqueror@gmx.de>
6150
6151         * javax/swing/tree/DefaultMutableTreeNode.java
6152         (getLeafCount): Renamed enum to e.
6153
6154 2004-06-09  Michael Koch  <konqueror@gmx.de>
6155
6156         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6157         (positionForMouseEvent): Removed redundant semicolon.
6158         (continueDrag): Use method arguments.
6159
6160 2004-06-09  Michael Koch  <konqueror@gmx.de>
6161
6162         * javax/swing/border/TitledBorder.java,
6163         javax/swing/filechooser/FileSystemView.java,
6164         javax/swing/plaf/basic/BasicButtonListener.java,
6165         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6166         javax/swing/plaf/basic/BasicLabelUI.java,
6167         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6168         javax/swing/plaf/basic/BasicScrollBarUI.java,
6169         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6170         javax/swing/plaf/basic/BasicSliderUI.java,
6171         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6172         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6173         javax/swing/table/JTableHeader.java,
6174         javax/swing/text/AbstractDocument.java,
6175         javax/swing/text/DefaultCaret.java,
6176         javax/swing/text/StyledEditorKit.java,
6177         javax/swing/tree/DefaultTreeCellEditor.java:
6178         Reworked import statements.
6179
6180 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6181
6182         * javax/swing/Box.java: Temporarily comment out code
6183         broken due to visibility bug.
6184
6185 2004-06-09  Michael Koch  <konqueror@gmx.de>
6186
6187         * javax/swing/ImageIcon.java
6188         (ImageIcon): Added missing constructor.
6189
6190 2004-06-08  Michael Koch  <konqueror@gmx.de>
6191
6192         * javax/swing/JToggleButton.java
6193         (JToggleButton): New constructor.
6194         (getAccessibleContext): Moved documentation into javadoc.
6195         (getUIClassID): Likewise.
6196
6197 2004-06-08  Michael Koch  <konqueror@gmx.de>
6198
6199         * javax/swing/AbstractButton.java
6200         (getDisabledIcon): Create disabled icon if none exists yet.
6201
6202 2004-06-08  Michael Koch  <konqueror@gmx.de>
6203
6204         * javax/swing/plaf/basic/BasicLookAndFeel.java
6205         (initClassDefaults): Added FormattedTextFieldUI.
6206         (loadResourceBundle): Renamed enum to e.
6207
6208 2004-06-08  Michael Koch  <konqueror@gmx.de>
6209
6210         * javax/swing/plaf/basic/BasicButtonUI.java
6211         (paintIcon): Simplified.
6212         (paintText): Paint disabled button correctly.
6213
6214 2004-06-08  Michael Koch  <konqueror@gmx.de>
6215
6216         * javax/swing/JComponent.java
6217         (createToolTip): Use official JToolTip API.
6218
6219 2004-06-08  Michael Koch  <konqueror@gmx.de>
6220
6221         * javax/swing/JToolTip.java
6222         (JToolTip): No arguments in API.
6223         (setTipText): New method.
6224
6225 2004-06-08  Michael Koch  <konqueror@gmx.de>
6226
6227         * javax/swing/SwingUtilities.java
6228         (isLeftMouseButton): New method.
6229         (isMiddleMouseButton): New method.
6230         (isRightMouseButton): New method.
6231
6232 2004-06-08  Michael Koch  <konqueror@gmx.de>
6233
6234         * javax/swing/AbstractButton.java,
6235         javax/swing/CellRendererPane.java,
6236         javax/swing/JCheckBoxMenuItem.java,
6237         javax/swing/JColorChooser.java,
6238         javax/swing/JComboBox.java,
6239         javax/swing/JComponent.java,
6240         javax/swing/JDesktopPane.java,
6241         javax/swing/JFileChooser.java,
6242         javax/swing/JMenu.java,
6243         javax/swing/JMenuItem.java,
6244         javax/swing/JOptionPane.java,
6245         javax/swing/JPasswordField.java,
6246         javax/swing/JPopupMenu.java,
6247         javax/swing/JProgressBar.java,
6248         javax/swing/JRadioButtonMenuItem.java,
6249         javax/swing/JScrollBar.java,
6250         javax/swing/JSeparator.java,
6251         javax/swing/JSlider.java,
6252         javax/swing/JSplitPane.java,
6253         javax/swing/JTabbedPane.java,
6254         javax/swing/JTextField.java,
6255         javax/swing/JToolBar.java,
6256         javax/swing/text/JTextComponent.java:
6257         Fixed all constructors of accessibility classes.
6258
6259 2004-06-08  Michael Koch  <konqueror@gmx.de>
6260
6261         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6262         over.
6263
6264 2004-06-08  Michael Koch  <konqueror@gmx.de>
6265
6266         * javax/swing/Box.java
6267         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6268         (AccessibleBoxFiller.serialVersionUID): New member variable.
6269         * javax/swing/DefaultButtonModel.java
6270         (stateMask): Made protected.
6271         (listenerList): Likewise.
6272         (changeEvent): Likewise.
6273         (group): Likewise.
6274         (mnemonic): Likewise.
6275         (actionCommand): Likewise.
6276         (getListeners): New method.
6277         (getActionListeners): New method.
6278         (getItemListeners): New method.
6279         (getChangeListeners): New method.
6280         (fireItemStateChanged): Simplified.
6281         (fireActionPerformed): Simplified.
6282         (fireStateChanged): Simplified.
6283         * javax/swing/JFrame.java
6284         (JFrame): Implements WindowContants.
6285         (HIDE_ON_CLOSE): Removed.
6286         (EXIT_ON_CLOSE): Removed.
6287         (DISPOSE_ON_CLOSE): Removed.
6288         (DO_NOTHING_ON_CLOSE): Removed.
6289         (processWindowEvent): Exit with code 0.
6290         (setDefaultCloseOperation): Do security check before setting value.
6291         * javax/swing/JOptionPane.java
6292         (message): Initialize only in constructor.
6293         * javax/swing/JToolTip.java: Removed unused imports.
6294         * javax/swing/JViewport.java
6295         (serialVersionUID): New member variable.
6296         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6297         (BLIT_SCROLL_MODE): Likewise.
6298         (BACKINGSTORE_SCROLL_MODE): Likewise.
6299         (scrollUnderway): Made protected.
6300         (isViewSizeSet): Likewise.
6301         * javax/swing/ListModel.java: Fixed javadoc.
6302         * javax/swing/Popup.java: Likewise.
6303         * javax/swing/RepaintManager.java
6304         (paintDirtyRegions): Don't use internal classes of
6305         java.util.AbstractMap.
6306         * javax/swing/ScrollPaneConstants.java: Reindented.
6307         * javax/swing/ScrollPaneLayout.java
6308         (viewport): Made protected.
6309         (verticalScrollBar): Made protected, renamed to vsb.
6310         (horizontalScrollBar): Made protected, renamed to hsb.
6311         (rowHeader): Made protected, renamed to rowHead.
6312         (columnHeader): Made protected, renamed to colHead.
6313         (lowerLeft): Made protected.
6314         (lowerRight): Made protected.
6315         (upperLeft): Made protected.
6316         (upperRight): Made protected.
6317         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6318         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6319
6320 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6321
6322         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6323         LOADING if flags has SOMEBITS set.
6324
6325 2004-06-07  Michael Koch  <konqueror@gmx.de>
6326
6327         * javax/swing/AbstractButton.java: Reorganized imports.
6328         * javax/swing/ActionMap.java: Likewise.
6329         * javax/swing/DefaultButtonModel.java: Likewise.
6330         * javax/swing/DefaultListModel.java: Likewise.
6331         * javax/swing/ImageIcon.java: Likewise.
6332         (serialVersionUID): New member variable.
6333         * javax/swing/JComboBox.java: Reorganized imports.
6334         * javax/swing/JComponent.java: Likewise.
6335         (ui): Made protected.
6336         (listenerList): Made protected.
6337         (TOOL_TIP_TEXT_KEY): New constant.
6338         (scrollRectToVisible): Removed redundant null check.
6339         * javax/swing/JFrame.java: Reorganized imports.
6340         * javax/swing/JInternalFrame.java: Reorganized imports.
6341         * javax/swing/JProgressBar.java: Likewise.
6342         * javax/swing/JRootPane.java: Likewise.
6343         * javax/swing/JScrollBar.java: Likewise.
6344         * javax/swing/JSeparator.java: Likewise.
6345         * javax/swing/JSlider.java: Likewise.
6346         * javax/swing/JTabbedPane.java: Likewise.
6347         * javax/swing/JTextField.java: Likewise.
6348         * javax/swing/JToolBar.java: Likewise.
6349         * javax/swing/JTree.java: Likewise.
6350         * javax/swing/JViewport.java: Likewise.
6351         * javax/swing/JWindow.java: Likewise.
6352         * javax/swing/KeyStroke.java: Likewise.
6353         * javax/swing/LookAndFeel.java: Likewise.
6354         * javax/swing/MenuSelectionManager.java: Likewise.
6355         * javax/swing/SwingUtilities.java: Likewise.
6356         * javax/swing/Timer.java: Likewise.
6357         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6358         * javax/swing/JList.java
6359         (HORIZONTAL_WRAP): Made final, fixed value.
6360         (VERTICAL): Likewise.
6361         (VERTICAL_WRAP): Likewise.
6362
6363 2004-06-07  Michael Koch  <konqueror@gmx.de>
6364
6365         * javax/swing/AbstractButton.java
6366         (serialVersionUID): New member variable.
6367         (AccessibleAbstractButton.serialVersionUID): Likewise.
6368         (AbstractButton): Made public.
6369         * javax/swing/Box.java
6370         (AccessibleBox.serialVersionUID): New member variable.
6371         (Filler.serialVersionUID): Likewise.
6372         * javax/swing/DefaultListSelectionModel.java
6373         (serialVersionUID): Likewise.
6374         * javax/swing/JApplet.java
6375         (serialVersionUID): Likewise.
6376         * javax/swing/JCheckBox.java
6377         (serialVersionUID): Likewise.
6378         * javax/swing/JCheckBoxMenuItem.java
6379         (serialVersionUID): Likewise.
6380         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6381         * javax/swing/JColorChooser.java
6382         (serialVersionUID): Likewise.
6383         (AccessibleJColorChooser.serialVersionUID): Likewise.
6384         * javax/swing/JComponent.java
6385         (serialVersionUID): Made private.
6386         (AccessibleJComponent.serialVersionUID): New member variable.
6387         * javax/swing/JDesktopPane.java
6388         (serialVersionUID): Likewise.
6389         * javax/swing/JDialog.java
6390         (serialVersionUID): Likewise.
6391         * javax/swing/JFormattedTextField.java
6392         (serialVersionUID): Fixed value.
6393         * javax/swing/JFrame.java
6394         (serialVersionUID): New member variable.
6395         (getDefaultCloseOpertation): Made public.
6396         * javax/swing/JLayeredPane.java
6397         (serialVersionUID): Likewise.
6398         (LAYER_PROPERTY): Made final, fixed value.
6399         (JLayeredPane): Made public.
6400         * javax/swing/JMenu.java
6401         (AccessibleJMenu.serialVersionUID): New member variable.
6402         (WinListener.serialVersionUID): Likewise.
6403         * javax/swing/JMenuBar.java
6404         (serialVersionUID): Likewise.
6405         (getComponentAtIndex): Added @deprecated tag.
6406         * javax/swing/JMenuItem.java
6407         (serialVersionUID): New member variable.
6408         (AccessibleJMenuItem.serialVersionUID): Likewise.
6409         * javax/swing/JOptionPane.java
6410         (serialVersionUID): Likewise.
6411         (AccessibleJOptionPane.serialVersionUID): Likewise.
6412         * javax/swing/JPopupMenu.java
6413         (serialVersionUID): Likewise.
6414         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6415         (getPopupMenuListeners): New method.
6416         (getComponentAtIndex): Added @deprecated tag.
6417         * javax/swing/JProgressBar.java
6418         (serialVersionUID): New member variable.
6419         (AccessibleJProgressBar.serialVersionUID): Likewise.
6420         * javax/swing/JRadioButton.java
6421         (serialVersionUID): Likewise.
6422         * javax/swing/JRadioButtonMenuItem.java
6423         (serialVersionUID): Likewise.
6424         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6425         * javax/swing/JScrollBar.java
6426         (serialVersionUID): Likewise.
6427         (AccessibleJScrollBar.serialVersionUID): Likewise.
6428         * javax/swing/JSeparator.java
6429         (serialVersionUID): Likewise.
6430         (AccessibleJSeparator.serialVersionUID): Likewise.
6431         * javax/swing/JSlider.java: Fixed javadocs.
6432         (AccessibleJSlider.serialVersionUID): New member variable.
6433         * javax/swing/JSplitPane.java: Added copyright statement.
6434         (serialVersionUID): New member variable.
6435         (AccessibleJSplitPane.serialVersionUID): Likewise.
6436         * javax/swing/JTabbedPane.java
6437         (serialVersionUID): Likewise.
6438         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6439         (ModelListener.serialVersionUID): Likewise.
6440         (ModelListener.ModelListener): New constructor.
6441         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6442         (WRAP_TAB_LAYOUT): Likewise.
6443         * javax/swing/JTable.java
6444         (serialVersionUID): New member variable.
6445         * javax/swing/JToggleButton.java
6446         (serialVersionUID): Likewise.
6447         (ToggleButtonModel): Made static.
6448         (ToggleButtonModel.serialVersionUID): New member variable.
6449         * javax/swing/JToolTip.java
6450         (serialVersionUID): Likewise.
6451         * javax/swing/JTree.java
6452         (serialVersionUID): Likewise.
6453         * javax/swing/JWindow.java
6454         (serialVersionUID): Likewise.
6455         * javax/swing/Timer.java
6456         (serialVersionUID): Likewise.
6457
6458 2004-06-06  Michael Koch  <konqueror@gmx.de>
6459
6460         * javax/swing/SwingConstants.java
6461         (NEXT): New constant.
6462         (PREVIOUS): Likewise.
6463         * javax/swing/UIManager.java
6464         (LookAndFeel): Made public.
6465         (LookAndFeel.getClassName): Likewise.
6466         (LookAndFeel.getName): Likewise.
6467
6468 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6469
6470         * javax/swing/JCheckBoxMenuItem.java:
6471         Removed CVS tags.
6472         * javax/swing/JMenu.java: Likewise.
6473         * javax/swing/JMenuBar.java: Likewise.
6474         * javax/swing/JMenuItem.java: Likewise.
6475         * javax/swing/JPopupMenu.java: Likewise.
6476         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6477         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6478         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6479         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6480         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6481         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6482         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6483
6484 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6485         
6486         * javax/swing/plaf/basic/BasicMenuUI.java:
6487         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6488         Call getPath() from super class instead.
6489
6490 2004-05-31  David Jee  <djee@redhat.com>
6491
6492         * java/awt/Container.java
6493         (remove): Set component visibility to false after removing it.
6494
6495 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6496
6497         * java/awt/Component.java (getForeground): Return SystemColor if
6498         parent is null.
6499         (getBackground): Likewise.
6500
6501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6502         (item_highlighted): New function.
6503         (connectSignals): Set item_highlighted as list's select
6504         function.
6505
6506         * java/applet/Applet.java: Revert changes from 2004-04-29,
6507         2004-03-15 and 2004-03-14.
6508
6509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6510         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6511         factor.
6512
6513         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6514         "Dialog" as the default font.
6515         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6516         Likewise.
6517         * java/awt/Component.java (getFont): Return "Dialog" font by
6518         default.
6519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6520         Multiply size argument to pango_font_description_set_size by the
6521         DPI conversion factor rather than by PANGO_SCALE.
6522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6532         Divide baseline y coordinate by DPI conversion factor rather
6533         than by PANGO_SCALE.
6534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6535         (area_prepared): Fix typo.
6536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6537         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6539         (dpi_conversion_factor): New global variable.
6540         (init_dpi_conversion_factor): New function to calculate and
6541         track DPI conversion factor.
6542         (dpi_changed_cb): New callback.
6543         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6544
6545 2004-05-27  David Jee  <djee@redhat.com>
6546
6547         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6548         (getGraphics): Return a new GdkGraphics instance.
6549         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6550         (getGraphics): Call super.getGraphics().
6551
6552 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6553
6554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6555         (setNativeBounds): Clamp width and height values to >= 0.
6556
6557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6558         (find_fg_color_widget): Handle GtkOptionMenu specially.
6559
6560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6561         (pre_event_handler): Only post configure events to visible
6562         top-level windows.
6563
6564 2004-05-26  David Jee  <djee@redhat.com>
6565
6566         * java/awt/BorderLayout.java
6567         (layoutContainer): Fix size calculations.
6568
6569 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6570
6571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6572         (window_wm_protocols_filter): Remove function.
6573         (create): Remove filter that removes WM_TAKE_FOCUS client
6574         messages.
6575
6576 2004-06-17  Anthony Green  <green@redhat.com>
6577
6578         * java/util/zip/ZipFile.java (getInputStream): Return null if
6579         entry not found.
6580
6581         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6582         directory contents to the class path.
6583
6584 2004-06-15  Andrew Haley  <aph@redhat.com>
6585
6586         * java/lang/natSystem.cc (getenv0): Don't assume environment
6587         variable is Latin 1 coded.
6588
6589 2004-06-14  Andreas Jaeger  <aj@suse.de>
6590
6591         * configure.in: Support --enable-version-specific-runtime-libs.
6592         * configure: Regenerated.
6593
6594 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6595
6596         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6597         to pass ClassLoader argument.
6598         * java/util/GregorianCalendar.java: Likewise.
6599         * java/util/Currency.java: Likewise.
6600         * java/text/BreakIterator.java: Likewise.
6601         * java/text/Collator.java: Likewise.
6602         * java/text/DateFormat.java: Likewise.
6603         * java/text/DateFormatSymbols.java: Likewise.
6604         * java/text/DecimalFormatSymbols.java: Likewise.
6605         * java/text/NumberFormat.java: Likewise.
6606         * java/awt/Window.java: Likewise.
6607
6608 2004-06-14  Andrew Haley  <aph@redhat.com>
6609
6610         * java/lang/System.java: (getenv0): New method.
6611         (getenv): Add security check.  Do the right thing.
6612         * java/lang/natSystem.cc (getenv0): New method.
6613
6614 2004-06-12  Mark Wielaard  <mark@klomp.org>
6615
6616         * javax/swing/RepaintManager.java
6617         (paintDirtyRegions): Use entrySet(), not values().
6618
6619 2004-06-10  Mark Wielaard  <mark@klomp.org>
6620
6621         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6622         NoSuchMethodError.
6623
6624 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6625
6626         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6627         when we already know the answer.
6628         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6629         (setStartRule,setEndRule): Don't take abs of day number.
6630         (getOffset): Clarify docs.  Add argument checks.
6631         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6632         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6633         endTimeMode.
6634
6635 2004-06-10  Tom Tromey  <tromey@redhat.com>
6636
6637         * interpret.cc (run): Handle wide fload.
6638
6639 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6640
6641         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6642
6643 2004-06-05  Michael Koch  <konqueror@gmx.de>
6644
6645         * javax/swing/SwingConstants.java
6646         (NEXT): New constant.
6647         (PREVIOUS): Likewise.
6648
6649 2004-06-05  Michael Koch  <konqueror@gmx.de>
6650
6651         * javax/swing/UIManager.java
6652         (LookAndFeel): Made public.
6653         (LookAndFeel.getName): Likewise.
6654         (LookAndFeel.getClassName): Likewise.
6655
6656 2004-06-03  Michael Koch  <konqueror@gmx.de>
6657
6658         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6659         (requestFocus): Revert last changes.
6660         (gtkRequestFocus): Removed.
6661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6662         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6663         Renamed to ...
6664         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6665         Reverted last patch.
6666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6667         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6668         Reverted comment change.
6669
6670 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6671
6672         * javax/swing/JCheckBoxMenuItem.java:
6673         Removed CVS tags.
6674         * javax/swing/JMenu.java: Likewise.
6675         * javax/swing/JMenuBar.java: Likewise.
6676         * javax/swing/JMenuItem.java: Likewise.
6677         * javax/swing/JPopupMenu.java: Likewise.
6678         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6679         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6680         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6681         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6682         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6683         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6684         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6685
6686 2004-06-01  Tom Tromey  <tromey@redhat.com>
6687
6688         * java/io/ObjectStreamField.java: Cleaned up imports.
6689
6690 2004-06-01  Michael Koch  <konqueror@gmx.de>
6691
6692         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6693       
6694 2004-06-01  Mark Wielaard  <mark@klomp.org>
6695
6696         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6697
6698 2004-06-01  Michael Koch  <konqueror@gmx.de>
6699
6700         * java/security/Security.java
6701         (insertProviderAt): Use equals() instead of ==.
6702         (removeProvicer): Likewise.
6703         (getProvider): Likewise.
6704         * java/security/Signature.java
6705         (sign): Don't set state to UNINITIALIZED.
6706         (verify): Likewise.
6707
6708 2004-06-01  Mark Wielaard  <mark@klomp.org>
6709
6710         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6711         Implement by calling gtkRequestFocus.
6712         (gtkRequestFocus): New native method.
6713         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6714         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6715         Renamed to ...
6716         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6717         New function name.
6718         (filter_expose_event_handler):
6719         Mark static.
6720         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6721         (menu_pos): Mark static.
6722
6723 2004-06-01  Michael Koch  <konqueror@gmx.de>
6724
6725         * java/text/CollationElementIterator.java,
6726         java/text/CollationKey.java,
6727         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6728         * testsuite/libjava.mauve/xfails: Removed all
6729         java.text.CollationElementIterator tests.
6730
6731 2004-06-01  Michael Koch  <konqueror@gmx.de>
6732
6733         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6734         version.
6735         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6736         Java 1.5 keyword usage.
6737
6738 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6739
6740         * javax/swing/plaf/basic/BasicMenuUI.java:
6741         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6742         Call getPath() from super class instead.
6743
6744 2004-05-31  Michael Koch  <konqueror@gmx.de>
6745
6746         * java/io/SequenceInputStream.java:
6747         Rename enum to e because enum is a keyword in Java 1.5.
6748
6749 2004-05-31  Michael Koch  <konqueror@gmx.de>
6750
6751         * gnu/java/rmi/rmic/CompilerProcess.java:
6752         Fixed javadoc to by XHTML compliant.
6753
6754 2004-05-30  Mark Wielaard  <mark@klomp.org>
6755
6756         * java/awt/Toolkit.java (loadSystemColors): Implement.
6757
6758 2004-05-30  Michael Koch  <konqueror@gmx.de>
6759
6760         * java/lang/System.java: Reordered imports.
6761
6762 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6763
6764         * java/text/DecimalFormat.java
6765         (parse): Fixed parsing of decimal strings. Number of maximum
6766         digits to be read should now work.
6767         * java/text/SimpleDateFormat.java
6768         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6769         formatter. This fixes DateFormatTest.
6770
6771 2004-05-30  Michael Koch  <konqueror@gmx.de>
6772
6773         * java/nio/Buffer.java
6774         (limit): Fixed off by one error.
6775         * java/nio/CharBuffer.java
6776         (wrap): Fixed arguments, added javadocs.
6777
6778 2004-05-30  Michael Koch  <konqueror@gmx.de>
6779
6780         * gnu/java/beans/BeanInfoEmbryo.java,
6781         java/awt/im/InputContext.java,
6782         javax/swing/tree/DefaultMutableTreeNode.java:
6783         Rename enum to e because enum is a keyword in Java 1.5.
6784
6785 2004-05-30  Michael Koch  <konqueror@gmx.de>
6786
6787         * gnu/java/math/MPN.java,
6788         java/awt/geom/Arc2D.java:
6789         Fixed javadocs all over.
6790
6791 2004-05-30  Michael Koch  <konqueror@gmx.de>
6792
6793         * java/awt/DefaultKeyboardFocusManager.java
6794         (dispatchEvent): Call method to get key event dispatchers.
6795         (dispatchKeyEvent): Call method to get key event post processors.
6796         * javax/swing/JComponent.java
6797         (listenerList): Made protected.
6798         * javax/swing/JOptionPane.java
6799         (message): Don't initialize.
6800         (JOptionPane): Set message text.
6801         * javax/swing/JPopupMenu.java
6802         (show): Fixed typo in argument name.
6803         * javax/swing/RepaintManager.java
6804         (paintDirtyRegions): Use public API of java.util.Map.
6805         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6806         (positionForMouseEvent): Removed redundant ';'.
6807         (continueDrag): Use method arguments.
6808
6809 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6810
6811         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6812         results.
6813
6814 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6815
6816         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6817         _Jv_AllocBytes.
6818         * gnu/gcj/RawDataManaged.java: New file.
6819         * java/lang/Thread.java (data): Declare as RawDataManaged.
6820         * java/lang/natThread.cc (init_native): Cast natThread data to
6821         RawDataManaged, not jobject.
6822         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6823         * Makefile.in: Rebuilt.
6824
6825 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6826
6827         * java/util/SimpleTimeZone.java: Reverting my last change until I
6828         can fix it properly.
6829
6830 2004-05-27  Michael Koch  <konqueror@gmx.de>
6831
6832         * javax/swing/JPopupMenu.java
6833         (isVisible): Do not use visible directly.
6834         (setVisible): Likewise.
6835         * javax/swing/JWindow.java
6836         (JWindow): call accessible constructor.
6837         * javax/swing/RepaintManager.java
6838         (paintDirtyRegions): Use public methods to obtain iterator.
6839
6840 2004-05-25  David Jee  <djee@redhat.com>
6841
6842         * java/awt/Container.java
6843         (remove): Set component's parent to null only after we removed the
6844         component from its parent's layout manager.
6845
6846 2004-05-25  David Jee  <djee@redhat.com>
6847
6848         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6849         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6850         is valid.
6851         * gnu/java/awt/peer/gtk/GtkListPeer.java
6852         (getSize): Change native method declaration.
6853         (minimumSize): Pass visible row count into getSize().
6854         (preferredSize): Likewise.
6855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6856         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6857         natural size. Use visible row count to determine the final height
6858         value to return.
6859
6860 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6861
6862         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6863         (setClip): Minor correction to order of operations.
6864
6865         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6866         * javax/swing/ScrollPaneLayout.java: Likewise.
6867         * javax/swing/JViewPort.java: Likewise.
6868         * javax/swing/ViewportLayout.java: Likewise.
6869
6870         * javax/swing/JComponent.java: Rewrite.
6871         * javax/swing/RepaintManager.java: Likewise.
6872
6873         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6874         * javax/swing/JList.java 
6875         (setSelectedIndices):
6876         (getSelectedIndices):
6877         (getSelectedValues): New functions.
6878         (getPreferredScrollableViewportSize): Return preferred size.
6879         (getScrollableUnitIncrement):
6880         (getScrollableBlockIncrement): Initial implementations.
6881         * javax/swing/JRootPane.java: Clean up slightly.
6882         (getUI):
6883         (setUI):
6884         (updateUI):
6885         (getUIClassID):
6886         (isValidateRoot): Add overrides from JComponent.
6887         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6888         * javax/swing/UIManager.java (getDimension): Return the dimension.
6889
6890         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6891         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6892         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6893         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6894         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6895         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6896         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6897         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6898         Likewise, and set background.
6899         * javax/swing/plaf/basic/BasicListUI.java: 
6900         Likewise, and improve a bit.
6901         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6902         Likewise, and adjust calculations.
6903         * javax/swing/plaf/basic/BasicViewportUI.java:
6904         Likewise, and improve a bit.
6905         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6906         (Button.margin): Shrink.
6907
6908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6909         Hack to set horizontal always, workaround pango.
6910
6911         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6913         Synchronize more often, check cairo status after ops,
6914         handle changes to cairo pattern API, check for disposal.
6915
6916 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6917
6918         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6919         (BasicMenuItemUI): Create propertyChangeListener.
6920         (getPath):Implemented.
6921         (installListeners): Add propertyChangeListener to menuItem.
6922         (uninstallListeners): Remove propertyChangeListener from menuItem.
6923         (update): Implemented.
6924         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6925         (mouseEntered): Take insets of popup menu into account when
6926         calculating position of popup menu.     
6927         
6928 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6929
6930         * Makefile.am: Added new file. 
6931         * Makefile.in: Regenerate.
6932         * javax/swing/JMenuBar.java:
6933         Started implementation.
6934         * javax/swing/JPopupMenu.java:
6935         (setVisible): Fixed location of lightweight/mediumweight
6936         popup menu.
6937         (show): Fixed location of PopupMenu.
6938         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6939         New file. UI Delegate for JMenuBar.
6940         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6941         (mouseEntered): Corrected position of the submenu.
6942
6943 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6944
6945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6946         to _gtk_accel_group_attach.
6947         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6948         Likewise.
6949
6950         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6951         package access.  Don't override setFont.
6952         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6953         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6954         gtkWidgetRequestFocus package access.
6955         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6956         setFont.
6957         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6958         Give gtkWidgetRequestFocus package access.
6959         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6960         gtkWidgetRequestFocus package access.  Don't override setFont.
6961         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6962         setFont.
6963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6964         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6965         region.
6966         (gtkSetFont): Likewise.
6967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6968         Implement.
6969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6970         (gtkSetFont): Whitespace fix.
6971
6972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6973         (gtkWidgetSetUsize): Remove method.
6974
6975 2004-05-18  David Jee  <djee@redhat.com>
6976
6977         * java/awt/image/MemoryImageSource.java
6978         (newPixels(int,int,int,int,boolean)): Set only the specified
6979         rectangle of pixels.
6980         (newPixels(byte[],ColorModel,int,int)): Implement.
6981         (newPixels(int[],ColorModel,int,int)): Implement.
6982
6983 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6984
6985         * Makefile.am: Added new file.
6986         * Makefile.in: Regenerate.
6987         * javax/swing/JMenu.java: Started 
6988         implementation.
6989         * javax/swing/JPopupMenu.java:
6990         (insert): If specified index is -1, then
6991         add component at the end.
6992         (isPopupTrigger): Reimplemented.
6993         (JPopupMenu.LightWeightPopup): setBounds
6994         of the lightWeightPopup before adding it 
6995         to the layeredPane.
6996         (javax/swing/plaf/basic/BasicIconFactory.java):
6997         (getMenuArrowIcon): Implemented.
6998         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6999         (getPreferredSize): Add size of the arrow icon 
7000         if this menu item is instance of JMenu.
7001         (paintMenuItem): Paint arrow icon if this 
7002         menu item is a submenu.
7003         * javax/swing/plaf/basic/BasicMenuUI.java:
7004         New File. UI Delegate for JMenu.
7005
7006 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7007
7008         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7009         Post KEY_TYPED events.
7010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7011         (generates_key_typed_event): Remove function.
7012
7013 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7014
7015         * javax/swing/JRootPane.java
7016         (JRootPane.RootLayout): Reimplemented to 
7017         set bounds of contentPane and menuBar.
7018         (setJMenuBar): Add menu bar to the layered pane.
7019         (createLayeredPane): Set layout of layeredPane
7020         to null.
7021         * javax/swing/JLayeredPane.java:
7022         (addImpl): Calculate index of the component in the
7023         layeredPane according to the specified position within 
7024         the layer.      
7025
7026 2004-05-17  David Jee  <djee@redhat.com>
7027
7028         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7029         (setPixels): Change color model to the default model after
7030         converting pixels.
7031         * java/awt/image/MemoryImageSource.java
7032         (newPixels): Set only the specified rectangle of pixels.
7033
7034 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7035
7036         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7037         -l-java-beans -l-javax-accessibility -l-javax-swing.
7038
7039         * java/awt/AWTEvent.java (toString): Print source's name rather
7040         than the source itself.
7041
7042 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7043
7044         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7045         native.
7046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7047         (gdk_color_to_java_color): New function.
7048         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7049
7050 2004-05-12  David Jee  <djee@redhat.com>
7051
7052         * java/awt/image/RGBImageFilter.java:
7053         Initialize origmodel as null.
7054         (makeColor): Fix pixel component order.
7055         (filterRGBPixels): Fix pixel iteration.
7056         (setPixels): Add extra checks for index color model. Convert pixels
7057         to default color model if necessary.
7058         (convertColorModelToDefault): New override method for byte pixels.
7059         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7060         (makeColorbyDefaultCM): New override method for byte pixels.
7061         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7062         (makeColor): Fix pixel component order.
7063
7064 2004-05-11  Kim Ho  <kho@redhat.com>
7065
7066         * javax/swing/Box.java:
7067         Comment out more parts of Box.Filler.
7068
7069 2004-05-11  Kim Ho  <kho@redhat.com>
7070
7071         * javax/swing/Box.java:
7072         Remove reference to AccessibleAWTComponent so
7073         it compiles again.
7074
7075 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7076
7077         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7078         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7079         implementation of list peer to use GtkTreeView instead of
7080         deprecated GtkCList.
7081
7082 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7083
7084         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7085         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7086         (handleEvent): Remove keyChar argument to
7087         gtkWidgetDispatchKeyEvent calls.
7088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7089         compiler warnings.
7090         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7092         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7093         Likewise.
7094
7095 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7096
7097         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7098         (gtkWidgetRequestFocus): Mark protected.
7099         (GtkComponentPeer): Only set the peer's bounds if its component
7100         is valid.
7101         * java/awt/Component.java (static): Set the default keyboard
7102         focus manager.
7103         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7104         requestFocusInWindow(temporary)): Don't request focus if the
7105         component is not showing.  Get tree lock before traversing
7106         component hierarchy.
7107         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7108         Only set the global focus owner if it is not a Window.
7109         (processKeyEvent): Consume keystrokes associated with the focus
7110         traversal keystroke.
7111         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7112         downFocusCycle): Call requestFocusInWindow instead of
7113         requestFocus.
7114         * java/awt/EventDispatchThread.java (run): Move setting of
7115         default keyboard focus manager to Component.java.
7116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7117         (awt_keycode_to_keysym): New function.
7118         (gtkWidgetDispatchKeyEvent): Finish implementation.
7119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7120         (pre_event_handler): Add FIXME comment.
7121
7122         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7123         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7124         (gtkWidgetRequestFocus): New method.
7125         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7126         disable Tab and Shift-Tab keystrokes.
7127         (addNotify, appendText, insertText, replaceText): Simplify peer
7128         retrieval code.
7129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7130         (connectSignals): Remove connections to "commit" signals.
7131         Remove C++-style comments.
7132
7133         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7134         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7135         (handleEvent): Activate GTK button when the space bar key is
7136         pressed.
7137         (gtkActivate): New method.
7138
7139 2004-05-06  David Jee  <djee@redhat.com>
7140
7141         * java/awt/image/CropImageFilter.java
7142         (setPixels): Implement for byte array pixels.
7143         * java/awt/image/ReplicateScaleFilter.java
7144         (setPixels): Implement for byte array pixels.
7145         (replicatePixels): Overload for byte array pixels.
7146
7147 2004-05-06  Kim Ho  <kho@redhat.com>
7148
7149         * javax/swing/Box.java:
7150         (getAccessibleContext): Return an instance of the 
7151         correct class.
7152
7153 2004-05-05  David Jee  <djee@redhat.com>
7154
7155         * gnu/java/awt/peer/gtk/GdkGraphics.java
7156         (drawImage): When component is null, use SystemColor.window as
7157         the default bgcolor.
7158         * gnu/java/awt/peer/gtk/GtkImage.java
7159         (setPixels): We can avoid iterating through the pixel rows only
7160         when height is 1.
7161         * java/awt/Image.java
7162         (getScaledInstance): Partially implement.
7163         * java/awt/image/CropImageFilter.java
7164         (setProperties): Fix "filter" property.
7165         (setPixels): Implement.
7166         * java/awt/image/ReplicateScaleFilter.java
7167         (setDimensions): Use scaled dimensions.
7168         (setPixels): Implement.
7169         (replicatePixels): New method.
7170
7171 2004-05-05  David Jee  <djee@redhat.com>
7172
7173         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7174         (convertPixels): If either pixels or model is null, return null.
7175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7176         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7177         is null, do nothing and return.
7178
7179 2004-05-03  Kim Ho  <kho@redhat.com>
7180
7181         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7182         (getGraphics): Like GtkFramePeer, the Graphics
7183         object needs to be translate to account for
7184         window decorations.
7185         (postMouseEvent): New method. Account for
7186         translation.
7187         (postExposeEvent): ditto.
7188         * javax/swing/Box.java: Stubbed.
7189         * javax/swing/JDialog.java: Ran through jalopy
7190         to fix indentation.
7191         (JDialog): Call SwingUtilities' getOwnerFrame
7192         for null owners.
7193         (setLayout): Check isRootPaneCheckingEnabled
7194         * javax/swing/JOptionPane.java: Re-implemented.
7195         * javax/swing/SwingUtilities.java:
7196         (getOwnerFrame): Static method to grab a default
7197         owner frame for Dialogs that don't specify owners.
7198         * javax/swing/event/SwingPropertyChangeSupport.java:
7199         (firePropertyChange): Fix early exit condition.
7200         * javax/swing/plaf/basic/BasicLabelUI.java:
7201         (paint): Avoid painting text if it is null 
7202         or empty.
7203         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7204         Implement.
7205
7206 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7207
7208         * Makefile.am: Added new file.
7209         * Makefile.in: Regenerate.
7210         * javax/swing/JPopupMenu.java:
7211         Started implementation.
7212         * javax/swing/JWindow.java
7213         (JWindow): call super() if parent for window
7214         is not specified.
7215         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7216         New File. UI Delegate for JPopupMenu.
7217
7218 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7219
7220         * javax/swing/JApplet.java: Indicated that JApplet
7221         implements RootPaneContainer and made method of this
7222         interface public. 
7223         * javax/swing/JFrame.java: Ditto.
7224         * javax/swing/JWindow.java: Ditto.
7225         
7226 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7227
7228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7229         (nativeSetBounds): Call gdk_window_move in addition to
7230         gtk_window_move.
7231
7232         * java/applet/Applet.java (preferredSize): Call parent's
7233         preferredSize if the applet stub is null.
7234         (minimumSize): Likewise for parent's minimumSize.
7235
7236 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7237
7238         * javax/swing/JMenuItem.java
7239         (createActionPropertyChangeListener): Implemented.
7240         (processMouseEvent): Ditto.
7241         (fireMenuDragMouseEntered): Ditto.
7242         (fireMenuDragMouseExited): Ditto.
7243         (fireMenuDragMouseDragged): Ditto.
7244         (fireMenuDragMouseReleased): Ditto.
7245         (menuSelectionChanged): Ditto.
7246         (getSubElements): Ditto.
7247         (getComponent): Ditto.
7248         (addMenuDragMouseListener): Ditto.
7249         (removeMenuDragMouseListener):Ditto.
7250         (addMenuKeyListener): Ditto.
7251         (removeMenuKeyListener): Ditto.
7252         * javax/swing/plaf/basic/BasicMenuItemUI.java
7253         (doClick): Imlemented.
7254         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7255         Don't handle mouse events here. Pass them to 
7256         MenuSelectionManager.
7257         
7258 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7259         Used correct version of jalopy configuration
7260         file to fix style in the files below.
7261
7262 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7263
7264         * javax/swing/JCheckBoxMenuItem.java: 
7265         Fixed style and removed unnecessary comments.
7266         * javax/swing/JMenuItem.java: Ditto.
7267         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7268         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7269         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7270         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7271
7272 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7273
7274         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7275         C-style.
7276
7277         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7278
7279         * java/awt/ContainerOrderFocusTraversalPolicy.java
7280         (getComponentAfter): Start from current component and work up
7281         the component hierarchy until an acceptable component is found.
7282         Synchronize on tree lock.
7283         (getComponentBefore): Likewise.
7284
7285 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7286
7287         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7288         focus-related debugging messages.
7289         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7290         * java/awt/EventDispatchThread.java: Likewise.
7291         * java/awt/KeyboardFocusManager.java: Likewise.
7292         * java/awt/Window.java: Likewise.
7293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7295
7296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7297         new C++-style comments to C-style comments.
7298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7299
7300         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7302         (handleEvent): Dispatch key press and key release events to
7303         backing widget.
7304         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7305         (gtkWidgetRequestFocus): New method.
7306         (gtkWidgetDispatchKeyEvent): Likewise.
7307         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7308         requestFocusInWindow, requestFocusInWindow(boolean),
7309         getFocusCycleRootAncestor, nextFocus, transferFocus,
7310         transferFocusBackward, transferFocusUpCycle, hasFocus,
7311         isFocusOwner): Implement and document focus-handling methods.
7312         (setFocusTraversalKeys): Inherit focus traversal keys when
7313         keystrokes argument is null.  Fix focus-handling documentation
7314         throughout class.
7315         * java/awt/Container.java (setFocusTraversalKeys,
7316         getFocusTraversalKeys, areFocusTraversalKeysSet,
7317         isFocusCycleRoot, setFocusTraversalPolicy,
7318         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7319         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7320         Implement and document focus-handling methods.
7321         (transferFocusBackward): Remove method.
7322         (readObject, writeObject): Implement and document serialization
7323         methods.
7324         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7325         and document.
7326         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7327         document.
7328         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7329         partially document.
7330         * java/awt/EventDispatchThread.java (run): Set default keyboard
7331         focus manager.  Attempt to dispatch each event to the keyboard
7332         focus manager before normal dispatch.
7333         * java/awt/KeyboardFocusManager.java: Implement and partially
7334         document.
7335         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7336         (show): Focus initial component when window is shown for the
7337         first time.
7338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7339         (pre_event_handler): Replace complex key press and key release
7340         logic with simple callbacks into GtkComponentPeer.
7341         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7342
7343 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7344
7345         * javax/swing/MenuSelectionManager.java
7346         (componentForPoint): Added new method. 
7347         (defaultManager): New Method. Implemented.
7348         (getSelectedPath): Ditto.
7349         (isComponentPartOfCurrentMenu): Ditto.
7350         (processKeyEvent): Added new method.
7351         (processMouseEvent): New Method. Implemented.
7352         (setSelectedPath): Ditto.
7353         (getPath): Ditto.
7354
7355 2004-04-19  Kim Ho  <kho@redhat.com>
7356
7357         * java/awt/Container.java: 
7358         (remove): Set the component's parent to null.
7359         (getComponentAt): Implement.
7360         * javax/swing/JComponent.java:
7361         (JComponent): Initialize defaultLocale
7362         (getDefaultLocale): Implement.
7363         (setDefaultLocale): ditto.
7364         * javax/swing/JSlider.java:
7365         (JSlider): Fix calculation of value.
7366         * javax/swing/JSplitPane.java: Implement.
7367         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7368         Change SplitPane's default divider size.
7369         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7370         (paint): Remove unused code.
7371         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7372         Added comments and ran through jalopy.
7373         (setBasicSplitPaneUI): Get reference to hidden divider
7374         and set up one touch buttons if necessary.
7375         (setBorder): Fire propertyChangeEvent only if 
7376         borders are different.
7377         (getPreferredSize): Defer to layout manager.
7378         (propertyChange): Implement.
7379         (oneTouchExpandableChanged): ditto.
7380         (createLeftOneTouchButton): Use BasicArrowButton.
7381         (createRightOneTouchButton): ditto.
7382         (moveDividerTo): New method. Moves the divider
7383         to a set location based on the last divider location.
7384         (BasicSplitPaneDivider::MouseHandler): Implement.
7385         (BasicSplitPaneDivider::OneTouchButton): Removed.
7386         (BasicSplitPaneDivider::DragController): Implement.
7387         (BasicSplitPaneDivider::VerticalDragController):
7388         ditto.
7389         (BasicSplitPaneDivider::DividerLayout): ditto.
7390         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7391         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7392         (calculateLayoutInfo): Don't show component if it's
7393         null.
7394         (paintTab): Fix title paint logic.
7395
7396 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7397
7398         PR libgcj/8321
7399         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7400         (setStartRule,setEndRule): Don't take abs of day number.
7401         (getOffset): Clarify docs.  Add argument checks.
7402         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7403         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7404         endTimeMode.
7405         * testsuite/libjava.mauve/xfails
7406         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7407
7408 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7409
7410         Layout interfaces during preparation, not initialization. 
7411         * java/lang/natClass.cc (initializeClass): Move 
7412         _Jv_LayoutInterfaceMethods call...
7413         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7414
7415 2004-05-19  Anthony Green  <green@localhost.localdomain>
7416
7417         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7418         gnu.javax.rmi code.
7419         * Makefile.in: Rebuilt.
7420         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7421         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7422         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7423         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7424         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7425         gnu/javax/rmi/CORBA/DelegateFactory.java,
7426         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7427         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7428         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7429         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7430         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7431         gnu/javax/rmi/PortableServer.java: Remove files.
7432
7433 2004-05-19  Anthony Green  <green@redhat.com>
7434
7435         * Makefile.am: Define JAVA_EXT_DIRS.
7436         * Makefile.in: Rebuilt.
7437         * java/lang/natRuntime.cc (insertSystemProperties): Set
7438         java.ext.dirs property.
7439
7440 2004-05-16  Mark Wielaard  <mark@klomp.org>
7441
7442         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7443
7444 2004-05-15  Mark Wielaard  <mark@klomp.org>
7445
7446         * doc/cni.sgml: Removed, merged into gcj.texi.
7447
7448 2004-05-15  Mark Wielaard  <mark@klomp.org>
7449
7450         * Makefile.am (ordinary_java_source_files): Add new javax.print
7451         classes.
7452         * Makefile.in: Regenerated.
7453
7454 2004-05-15  Michael Koch  <konqueror@gmx.de>
7455
7456         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7457         javax/print/attribute/standard/DateTimeAtCreation.java,
7458         javax/print/attribute/standard/DateTimeAtProcessing.java,
7459         javax/print/attribute/standard/DocumentName.java,
7460         javax/print/attribute/standard/JobHoldUntil.java,
7461         javax/print/attribute/standard/JobImpressionsCompleted.java,
7462         javax/print/attribute/standard/JobMessageFromOperator.java,
7463         javax/print/attribute/standard/JobName.java,
7464         javax/print/attribute/standard/JobOriginatingUserName.java,
7465         javax/print/attribute/standard/JobPriority.java,
7466         javax/print/attribute/standard/JobPrioritySupported.java,
7467         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7468         javax/print/attribute/standard/OutputDeviceAssigned.java,
7469         javax/print/attribute/standard/PrinterInfo.java,
7470         javax/print/attribute/standard/PrinterLocation.java,
7471         javax/print/attribute/standard/PrinterMakeAndModel.java,
7472         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7473         javax/print/attribute/standard/PrinterName.java,
7474         javax/print/attribute/standard/QueuedJobCount.java,
7475         javax/print/attribute/standard/RequestingUserName.java:
7476         Fixed javadocs all over.
7477
7478 2004-05-15  Michael Koch  <konqueror@gmx.de>
7479
7480         * javax/print/DocFlavor.java,
7481         javax/print/attribute/standard/ColorSupported.java,
7482         javax/print/attribute/standard/Compression.java,
7483         javax/print/attribute/standard/CopiesSupported.java,
7484         javax/print/attribute/standard/Fidelity.java,
7485         javax/print/attribute/standard/Finishings.java,
7486         javax/print/attribute/standard/JobImpressionsSupported.java,
7487         javax/print/attribute/standard/JobKOctetsSupported.java,
7488         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7489         javax/print/attribute/standard/JobSheets.java,
7490         javax/print/attribute/standard/JobState.java,
7491         javax/print/attribute/standard/JobStateReason.java,
7492         javax/print/attribute/standard/JobStateReasons.java,
7493         javax/print/attribute/standard/Media.java,
7494         javax/print/attribute/standard/MediaSizeName.java,
7495         javax/print/attribute/standard/MultipleDocumentHandling.java,
7496         javax/print/attribute/standard/NumberUpSupported.java,
7497         javax/print/attribute/standard/OrientationRequested.java,
7498         javax/print/attribute/standard/PDLOverrideSupported.java,
7499         javax/print/attribute/standard/PageRanges.java,
7500         javax/print/attribute/standard/PresentationDirection.java,
7501         javax/print/attribute/standard/PrintQuality.java,
7502         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7503         javax/print/attribute/standard/PrinterMoreInfo.java,
7504         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7505         javax/print/attribute/standard/PrinterResolution.java,
7506         javax/print/attribute/standard/PrinterState.java,
7507         javax/print/attribute/standard/PrinterStateReason.java,
7508         javax/print/attribute/standard/PrinterStateReasons.java,
7509         javax/print/attribute/standard/PrinterURI.java,
7510         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7511         javax/print/attribute/standard/Severity.java,
7512         javax/print/attribute/standard/SheetCollate.java,
7513         javax/print/attribute/standard/Sides.java:
7514         Added serialVersionUID and removed final keyword where it doenst
7515         belong.
7516
7517 2004-05-15  Michael Koch  <konqueror@gmx.de>
7518
7519         * javax/print/PrintServiceLookup.java: New file.
7520
7521 2004-05-15  Michael Koch  <konqueror@gmx.de>
7522
7523         * javax/print/DocFlavor.java:
7524         Implemented all flavor classes.
7525
7526 2004-05-15  Michael Koch  <konqueror@gmx.de>
7527
7528         * javax/print/attribute/standard/ColorSupported.java,
7529         javax/print/attribute/standard/Compression.java,
7530         javax/print/attribute/standard/CopiesSupported.java,
7531         javax/print/attribute/standard/Fidelity.java,
7532         javax/print/attribute/standard/Finishings.java,
7533         javax/print/attribute/standard/JobImpressionsSupported.java,
7534         javax/print/attribute/standard/JobKOctetsSupported.java,
7535         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7536         javax/print/attribute/standard/JobSheets.java,
7537         javax/print/attribute/standard/JobState.java,
7538         javax/print/attribute/standard/JobStateReason.java,
7539         javax/print/attribute/standard/JobStateReasons.java,
7540         javax/print/attribute/standard/Media.java,
7541         javax/print/attribute/standard/MediaSizeName.java,
7542         javax/print/attribute/standard/MultipleDocumentHandling.java,
7543         javax/print/attribute/standard/NumberUpSupported.java,
7544         javax/print/attribute/standard/OrientationRequested.java,
7545         javax/print/attribute/standard/PDLOverrideSupported.java,
7546         javax/print/attribute/standard/PageRanges.java,
7547         javax/print/attribute/standard/PresentationDirection.java,
7548         javax/print/attribute/standard/PrintQuality.java,
7549         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7550         javax/print/attribute/standard/PrinterMoreInfo.java,
7551         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7552         javax/print/attribute/standard/PrinterResolution.java,
7553         javax/print/attribute/standard/PrinterState.java,
7554         javax/print/attribute/standard/PrinterStateReason.java,
7555         javax/print/attribute/standard/PrinterStateReasons.java,
7556         javax/print/attribute/standard/PrinterURI.java,
7557         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7558         javax/print/attribute/standard/Severity.java,
7559         javax/print/attribute/standard/SheetCollate.java,
7560         javax/print/attribute/standard/Sides.java: New files.
7561
7562 2004-05-15  Michael Koch  <konqueror@gmx.de>
7563
7564         * javax/print/Doc.java
7565         (getPrintData): Throws IOException.
7566         (getReaderForText): Likewise.
7567         (getStreamForBytes): Likewise.
7568         * javax/print/DocFlavor.java:
7569         Fixed filename in copyright.
7570         (serialVersionUID): New field.
7571         * javax/print/ServiceUIFactory.java:
7572         Made all constants final.
7573         * javax/print/AttributeException.java
7574         javax/print/MultiDoc.java
7575         javax/print/MultiDocPrintJob.java
7576         javax/print/MultiDocPrintService.java
7577         javax/print/StreamPrintService.java
7578         javax/print/URIException.java: New files.
7579         * javax/print/Makefile.am
7580         (EXTRA_DIST): Added all new files.
7581
7582 2004-05-15  Michael Koch  <konqueror@gmx.de>
7583
7584         * javax/print/attribute/standard/Copies.java,
7585         javax/print/attribute/standard/DateTimeAtCompleted.java,
7586         javax/print/attribute/standard/DateTimeAtCreation.java,
7587         javax/print/attribute/standard/DateTimeAtProcessing.java,
7588         javax/print/attribute/standard/DocumentName.java,
7589         javax/print/attribute/standard/JobHoldUntil.java,
7590         javax/print/attribute/standard/JobImpressions.java,
7591         javax/print/attribute/standard/JobImpressionsCompleted.java,
7592         javax/print/attribute/standard/JobKOctets.java,
7593         javax/print/attribute/standard/JobKOctetsProcessed.java,
7594         javax/print/attribute/standard/JobMediaSheets.java,
7595         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7596         javax/print/attribute/standard/JobMessageFromOperator.java,
7597         javax/print/attribute/standard/JobName.java,
7598         javax/print/attribute/standard/JobOriginatingUserName.java,
7599         javax/print/attribute/standard/JobPriority.java,
7600         javax/print/attribute/standard/JobPrioritySupported.java,
7601         javax/print/attribute/standard/NumberOfDocuments.java,
7602         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7603         javax/print/attribute/standard/NumberUp.java,
7604         javax/print/attribute/standard/OutputDeviceAssigned.java,
7605         javax/print/attribute/standard/PagesPerMinute.java,
7606         javax/print/attribute/standard/PagesPerMinuteColor.java:
7607         Fixed @return tag all over.
7608
7609 2004-05-15  Michael Koch  <konqueror@gmx.de>
7610
7611         * javax/print/attribute/AttributeSetUtilities.java
7612         (verifyCategoryForValue): Fixed typo in javadoc.
7613         * javax/print/attribute/HashAttributeSet.java
7614         (containsKey): Fixed @return tag.
7615         (comtainsValue): Likewise.
7616         (equals): Likewise.
7617         * javax/print/attribute/IntegerSyntax.java
7618         (equals): Likewise.
7619         * javax/print/attribute/ResolutionSyntax.java
7620         (equals): Likewise.
7621         (getCrossFeedResolution): Removed unused code.
7622         (getFeedResolution): Likewise.
7623         * javax/print/attribute/SetOfIntegerSyntax.java
7624         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7625         (equals): Fixed @return tag.
7626         * javax/print/attribute/TextSyntax.java
7627         (TextSyntax): Take locale into account.
7628         (hashCode): Better implementation.
7629
7630 2004-05-15  Michael Koch  <konqueror@gmx.de>
7631
7632         * javax/print/CancelablePrintJob.java,
7633         javax/print/Doc.java,
7634         javax/print/DocFlavor.java,
7635         javax/print/DocPrintJob.java,
7636         javax/print/FlavorException.java,
7637         javax/print/PrintException.java,
7638         javax/print/PrintService.java,
7639         javax/print/ServiceUIFactory.java: New files.
7640
7641 2004-05-15  Mark Wielaard  <mark@klomp.org>
7642
7643         * gnu/regexp/CharIndexedReader.java: Removed.
7644         * gnu/regexp/REFilterReader.java: Likewise.
7645         * gnu/regexp/RETokenLookAhead.java: Likewise.
7646         * Makefile.am (ordinary_java_source_files): Remove above classes.
7647         * Makefile.in: Regenerated.
7648
7649 2004-05-14  Tom Tromey  <tromey@redhat.com>
7650
7651         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7652         not `XGraphicsConfiguration.XOffScreenImage'.
7653
7654 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7655
7656         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7657
7658 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7659
7660         * include/jni.h (_Jv_func): Removed.
7661         (struct JNINativeInterface): Use `void *' for reserved slots.
7662         (struct JNIInvokeInterface): Likewise.
7663
7664 2004-05-11  Michael Koch  <konqueror@gmx.de>
7665
7666         * gnu/java/net/natPlainSocketImplPosix.cc
7667         (read): Fixed typo in expression.
7668
7669 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7670
7671         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7672         ld_library_additions. Adjust all calls to libjava_invoke to match
7673         the new argument.
7674
7675         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7676         path to cxxflagslist.
7677         Pass path of libstdc++ to libjava_invoke.
7678
7679         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7680         libjava_invoke arguments.
7681
7682 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7683
7684         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7685         reality.
7686
7687 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7688
7689         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7690         main binary against the JNI shared library.
7691
7692 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7693
7694         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7695         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7696         (SimpleTimeZone): Tweak docs.  Add new variation.
7697         (setStartRule,setEndRule): Add new variations.  Use
7698         startTimeMode and endTimeMode.
7699
7700 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7701
7702         * java/util/Calendar.java (getActualMinimum,
7703         getActualMaximum):  Remove abstract.  Implement.
7704
7705 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7706
7707         Run the jni tests using the interpreter.
7708         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7709         options_cxx to shared lib compile command.
7710         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7711         they are used to link the shared lib, not the main binary.
7712         Use libjava_invoke to run gij.
7713
7714 2004-05-06  Michael Koch  <konqueror@gmx.de>
7715
7716         * java/util/logging/Level.java
7717         (parse): Use == instead of String.equals().
7718
7719 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7720
7721         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7722         verify_field_signature and verify_method_signature, not 
7723         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7724         (_Jv_ClassReader::handleField): Likewise.
7725         (_Jv_ClassReader::handleMethod): Likewise.
7726
7727 2004-05-06  Michael Koch  <konqueror@gmx.de>
7728
7729         * javax/swing/table/TableColumn.java:
7730         Reformated.
7731
7732 2004-05-06  Michael Koch  <konqueror@gmx.de>
7733
7734         * javax/imageio/spi/ImageReaderWriterSpi.java
7735         (ImageReaderWriterSpi): Made it public.
7736         * javax/imageio/stream/ImageInputStream.java:
7737         Clean up imports.
7738
7739 2004-05-06  Michael Koch  <konqueror@gmx.de>
7740
7741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7742         Removed empty line.
7743
7744 2004-05-06  Michael Koch  <konqueror@gmx.de>
7745
7746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7747         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7748         New files.
7749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7750         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7752         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7753         their own source file.
7754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7755         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7756         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7758         (create): Define variable on top of function.
7759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7760         (menu_pos): Prototyped.
7761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7762         (setTitle): Removed.
7763         * jni/gtk-peer/gthread-jni.c
7764         (gdk_threads_wake): Removed.
7765         * Makefile.am (gtk_c_source_files): Added new files
7766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7767         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7768         * Makefile.in: Regenerated.
7769
7770 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7771
7772         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7773         call.
7774
7775 2004-05-05  Mark Wielaard  <mark@klomp.org>
7776
7777         * javax/swing/AbstractButton.java: Replace special HTML entities with
7778         ASCII equivalent.
7779         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7780         * javax/swing/DefaultButtonModel.java: Likewise.
7781         * javax/swing/DefaultListModel.java: Likewise.
7782         * javax/swing/JList.java: Likewise.
7783         * javax/swing/JSlider.java: Likewise.
7784         * javax/swing/ListModel.java: Likewise.
7785         * javax/swing/Popup.java: Likewise.
7786         * javax/swing/SwingUtilities.java: Likewise.
7787
7788 2004-05-05  Michael Koch  <konqueror@gmx.de>
7789
7790         * javax/swing/AbstractButton.java,
7791         javax/swing/ActionMap.java,
7792         javax/swing/DefaultButtonModel.java,
7793         javax/swing/DefaultListModel.java,
7794         javax/swing/ImageIcon.java,
7795         javax/swing/JComboBox.java,
7796         javax/swing/JComponent.java,
7797         javax/swing/JFrame.java,
7798         javax/swing/JInternalFrame.java,
7799         javax/swing/JMenuBar.java,
7800         javax/swing/JMenuItem.java,
7801         javax/swing/JOptionPane.java,
7802         javax/swing/JProgressBar.java,
7803         javax/swing/JRootPane.java,
7804         javax/swing/JScrollBar.java,
7805         javax/swing/JScrollPane.java,
7806         javax/swing/JSeparator.java,
7807         javax/swing/JSlider.java,
7808         javax/swing/JTabbedPane.java,
7809         javax/swing/JTable.java,
7810         javax/swing/JTextField.java,
7811         javax/swing/JToolBar.java,
7812         javax/swing/JToolTip.java,
7813         javax/swing/JTree.java,
7814         javax/swing/JViewport.java,
7815         javax/swing/JWindow.java,
7816         javax/swing/KeyStroke.java,
7817         javax/swing/LookAndFeel.java,
7818         javax/swing/SwingUtilities.java,
7819         javax/swing/Timer.java,
7820         javax/swing/ToolTipManager.java,
7821         javax/swing/UIDefaults.java,
7822         javax/swing/border/TitledBorder.java,
7823         javax/swing/filechooser/FileSystemView.java,
7824         javax/swing/plaf/basic/BasicButtonListener.java,
7825         javax/swing/plaf/basic/BasicButtonUI.java,
7826         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7827         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7828         javax/swing/plaf/basic/BasicLabelUI.java,
7829         javax/swing/plaf/basic/BasicMenuItemUI.java,
7830         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7831         javax/swing/plaf/basic/BasicRootPaneUI.java,
7832         javax/swing/plaf/basic/BasicScrollBarUI.java,
7833         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7834         javax/swing/plaf/basic/BasicSliderUI.java,
7835         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7836         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7837         javax/swing/table/JTableHeader.java,
7838         javax/swing/text/AbstractDocument.java,
7839         javax/swing/text/DefaultCaret.java,
7840         javax/swing/text/StyledEditorKit.java,
7841         javax/swing/tree/DefaultTreeCellEditor.java:
7842         Cleaned up imports.
7843
7844 2004-05-05  Michael Koch  <konqueror@gmx.de>
7845
7846         * java/util/prefs/AbstractPreferences.java
7847         (AbstractPreferences): Added parenthesis for clarity.
7848         Closes classpath bug #7940.
7849
7850 2004-05-05  Tom Tromey  <tromey@redhat.com>
7851
7852         * javax/naming/CompoundName.java (endsWith): Look at correct
7853         element of source name.
7854
7855 2004-05-05  Mark Wielaard  <mark@klomp.org>
7856
7857         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7858         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7859
7860 2004-05-05  Tom Tromey  <tromey@redhat.com>
7861
7862         * java/io/BufferedReader.java (skip): Removed unused
7863         variable.
7864
7865 2004-05-05  Michael Koch  <konqueror@gmx.de>
7866
7867         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7868
7869 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7870
7871         * java/text/AttributedString.java,
7872         java/text/AttributedStringIterator.java,
7873         java/text/Collator.java,
7874         java/text/DecimalFormatSymbols.java,
7875         java/text/NumberFormat.java,
7876         java/text/RuleBasedCollator.java:
7877         Cleaned up imports.
7878
7879 2004-05-05  Tom Tromey  <tromey@redhat.com>
7880
7881         * java/text/Format.java: Cleaned up imports.
7882         * java/text/DecimalFormat.java: Cleaned up imports.
7883         * java/security/SecureRandom.java: Cleaned up imports.
7884         (SecureRandom): Removed unused variable.
7885         * java/security/UnresolvedPermission.java: Cleaned up imports.
7886         * java/util/Date.java (parse): Removed unused variable.
7887         * java/util/ResourceBundle.java: Cleaned up imports.
7888         (getBundle): Removed unused variable.
7889         (tryBundle): Likewise.
7890         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7891
7892 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7893
7894         * java/text/SimpleDateFormat.java:
7895         (formatWithAttribute): New method. It implements
7896         the formatting process with attributes.
7897         (format): Use formatWithAttribute.
7898         (formatToCharacterIterator): New method. Use
7899         formatWithAttribute.
7900
7901 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7902
7903         * java/text/MessageFormat.java:
7904         (class Field): New class.
7905         (formatToCharacterIterator): New method.
7906         (format): Use formatInternal now.
7907         (formatInternal): New method. String formatter should
7908         be done here (with attributes). Attributes merging supported.
7909         (parse): More documentation.
7910         (getFormatsByArgumentIndex): New method.
7911         (setFormatByArgumentIndex): New method.
7912         (setFormatsByArgumentIndex): New method.
7913
7914 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7915
7916         * java/text/DecimalFormat.java
7917         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7918         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7919         (parse): Fixed handling of exponentiation notation and grouping.
7920
7921 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7922
7923         * java/text/DecimalFormat.java
7924         (scanFix): Build attribute array. Fixed error reporting.
7925         (applyPatternWithSymbols): Store attributes for the prefix and
7926         suffix.
7927         (formatInternal): New method. Changed the way the string is
7928         computed. Implemented attributes. Cleant up rounding in
7929         exponential notation.
7930         (format): Use formatInternal.
7931         (formatToCharacterIterator): New method.
7932         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7933         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7934         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7935         New fields.
7936
7937 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7938
7939         * java/security/interfaces/DSAKeyPairGenerator.java,
7940         java/security/interfaces/DSAPrivateKey.java,
7941         java/security/interfaces/DSAPublicKey.java,
7942         java/security/interfaces/RSAPrivateKey.java,
7943         java/security/interfaces/RSAPublicKey.java:
7944         Cleaned up imports.
7945
7946 2004-05-04  Michael Koch  <konqueror@gmx.de>
7947
7948         * java/nio/ByteBuffer.java,
7949         java/nio/CharBuffer.java,
7950         java/nio/DoubleBuffer.java,
7951         java/nio/FloatBuffer.java,
7952         java/nio/IntBuffer.java,
7953         java/nio/LongBuffer.java,
7954         java/nio/ShortBuffer.java:
7955         (compareTo): Fixed bogus implementation in all buffer classes.
7956
7957 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7958
7959         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7960         32 bit pixels not 8 bit pixels.
7961         (isCompatibleRaster): Added javadoc comment.
7962
7963 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7964
7965         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7966         scanline stride.
7967
7968 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7969
7970         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7971         (getColorModel): Return the actual color model.
7972         (getRaster): Implemented.
7973         (ColorRaster): New inner class.
7974         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7975         a PaintContext.
7976         * java/awt/Color.java (<init>): Make exception more verbose.
7977         (createContext): Use ColorModel when creating a PaintContext.
7978
7979 2004-05-04  Michael Koch  <konqueror@gmx.de>
7980
7981         * gnu/java/text/CharacterBreakIterator.java
7982         (previous): Removed unused variable.
7983
7984 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7985
7986         * gnu/java/text/FormatBuffer.java,
7987         gnu/java/text/AttributedFormatBuffer.java,
7988         gnu/java/text/StringFormatBuffer.java: New classes to implement
7989         attributed iterators in java.text.
7990         * gnu/java/text/FormatCharacterIterator.java: Moved 
7991         from java/text as it is an internal class.
7992         * java/text/FormatCharacterIterator.java: Removed.
7993         * java/text/Format.java:
7994         Import gnu.java.text.FormatCharacterIterator.
7995         * Makefile.am (java_source_files): Added new files.
7996         * Makefile.in: Regenerated.
7997         
7998
7999 2004-05-04  Mark Wielaard  <mark@klomp.org>
8000
8001         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8002
8003 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8004
8005         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8006         * Makefile.in: Rebuilt.
8007
8008 2004-05-03  Mark Wielaard  <mark@klomp.org>
8009
8010         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8011         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8012         * java/net/URL.java
8013         (set(String, String, int, String, String, String, String, String)):
8014         Assign this.file to path or path + "?" + query.
8015         * java/util/Arrays.java: Call static methods staticly.
8016         * java/util/zip/ZipEntry.java: Likewise.
8017         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8018         dir to this.direction.
8019         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8020         Assign static field only once.
8021         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8022
8023 2004-05-03  Mark Wielaard  <mark@klomp.org>
8024
8025         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8026         unused variables hScrollbarHeight and vScrollbarWidth.
8027         (preferredSize): Likewise.
8028         * gnu/java/security/provider/DSAParameters.java (engineToString):
8029         Removed unused call to System.getProperty("line.seperator");
8030         * java/security/Security.java (loadProviders): Return result.
8031
8032 2004-05-03  Tom Tromey  <tromey@redhat.com>
8033
8034         * java/net/URLStreamHandler.java (toExternalForm): Removed
8035         unused variables.
8036         unused constructor.
8037         * java/math/BigDecimal.java (divide): Removed unused variable.
8038         * java/lang/Throwable.java: Cleaned up imports.
8039         * java/lang/ClassLoader.java: Cleaned up imports.
8040         * java/io/FilePermission.java (implies): Removed unused
8041         variable.
8042         * java/awt/TextComponent.java: Removed unused import.
8043         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8044         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8045         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8046         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8047         import.
8048         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8049         * gnu/java/text/CharacterBreakIterator.java: Removed
8050         unused import.
8051         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8052         Cleaned up imports.
8053         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8054         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8055         unused method.
8056         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8057         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8058         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8059         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8060         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8061         (lookupProviders): Removed unused variable.
8062         (loadNextServiceProvider): Likewise.
8063         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8064
8065 2004-05-03  Michael Koch  <konqueror@gmx.de>
8066
8067         Fixes PR libgcj/14695:
8068         * java/net/NetworkInterface.java
8069         (getByName): Return null when no interface was found.
8070
8071 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8072             Tom Tromey  <tromey@redhat.com>
8073
8074         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8075         additional option "-Wmissing-prototypes" for compiling C sources.
8076         Print actual filename for pass/fail rather than $name.c.
8077         * testsuite/libjava.jni/PR15133.java: New testcase file.
8078         * testsuite/libjava.jni/PR15133.c: Likewise.
8079         * testsuite/libjava.jni/PR15133.out: Likewise.
8080
8081 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8082
8083         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8084         ceil and floor.
8085
8086 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8087         
8088         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8089         limit the maximum heap size to avoid unnecessary thrashing.
8090
8091 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8092
8093         * java/text/CollationElementIterator.java (reset): Reset
8094         lookahead variables.
8095
8096 2004-04-23  Mark Wielaard  <mark@klomp.org>
8097
8098         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8099
8100 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8101
8102         * java/sql/DriverManager.java:
8103         Cleaned up imports.
8104
8105 2004-04-23  Michael Koch  <konqueror@gmx.de>
8106
8107         * java/net/URL.java
8108         (hashcode): Don't initialize with default value explicitely.
8109         (getContent): Removed redundant "final" keyword.
8110         (openStream): Likewise.
8111         (getURLStreamHandler): Fixed coding style.
8112         * java/net/URLConnection.java
8113         (defaultAllowUserInteraction): Don't initialize with default value
8114         explicitely.
8115         (connected): Likewise.
8116         (doOutput): Likewise.
8117         (ifModifiedSince): Likewise.
8118         (dateformats_initialized): Likewise.
8119         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8120
8121 2004-04-23  Michael Koch  <konqueror@gmx.de>
8122
8123         * gnu/java/nio/channels/FileChannelImpl.java
8124         (SET, CUR): Unused, removed.
8125         (read): Implement here directly.
8126         (implRead): Removed.
8127         (write): Implement here directly.
8128         (implWrite): Removed.
8129
8130 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8131
8132         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8133         javax/rmi/CORBA/Stub.java,
8134         javax/rmi/CORBA/Util.java,
8135         javax/rmi/CORBA/ValueHandler.java,
8136         javax/rmi/CORBA/ValueHandler.java,
8137         javax/rmi/PortableRemoteObject.java:
8138         Cleaned up imports.
8139
8140 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8141
8142         * java/util/jar/JarFile.java,
8143         java/util/jar/JarInputStream.java,
8144         java/util/jar/JarOutputStream.java,
8145         java/util/jar/Manifest.java:
8146         Cleaned up imports.
8147
8148 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8149
8150         * java/util/ArrayList.java,
8151         java/util/Calendar.java,
8152         java/util/Currency.java,
8153         java/util/HashMap.java,
8154         java/util/HashSet.java,
8155         java/util/Hashtable.java,
8156         java/util/LinkedList.java,
8157         java/util/Properties.java,
8158         java/util/PropertyPermission.java,
8159         java/util/TimeZone.java,
8160         java/util/TreeMap.java,
8161         java/util/TreeSet.java,
8162         java/util/Vector.java,
8163         java/util/WeakHashMap.java:
8164         Cleaned up imports.
8165
8166 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8167
8168         * java/util/logging/FileHandler.java,
8169         java/util/logging/Formatter.java,
8170         java/util/logging/Handler.java,
8171         java/util/logging/Logger.java,
8172         java/util/logging/SimpleFormatter.java,
8173         java/util/logging/XMLFormatter.java:
8174         Cleaned up imports.
8175
8176 2004-04-22  Mark Wielaard  <mark@klomp.org>
8177
8178         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8179         -Wno-long-long flags variable.
8180         (gtk_c_files): Use PEDANTIC_CFLAGS.
8181         * Makefile.in: Regenerated.
8182
8183 2004-04-22  Mark Wielaard  <mark@klomp.org>
8184
8185         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8186         Changed C++ comments into C comments.
8187         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8188         Likewise.
8189
8190 2004-04-22  Michael Koch  <konqueror@gmx.de>
8191
8192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8193         Merged copyright year with GNU classpath.
8194
8195 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8196
8197         * javax/security/auth/x500/X500Principal.java:
8198         Cleaned up imports.
8199
8200 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8201
8202         * javax/swing/JSlider.java:
8203         Fixed HTML tags in comments.
8204
8205 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8206
8207         * javax/accessibility/AccessibleText.java:
8208         Cleaned up imports.
8209
8210 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8211
8212         * java/net/URLStreamHandler.java
8213         (parseURL): Convert the file path to using '/' instead of native
8214         file separator.
8215
8216 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8217
8218         * java/net/URL.java
8219         (userInfo): New field.
8220         (URL): Set authority to the right value.
8221         (setURL): Fixed authority and file initialization.
8222         * java/net/URLStreamHandler.java
8223         (parseURL): Take care of the query tag. Build authority.
8224         (toExternalForm): Fixed URL building using authority.
8225
8226 2004-04-22  Michael Koch  <konqueror@gmx.de>
8227
8228         * java/net/Socket.java
8229         (impl): Made package-private.
8230         * java/net/ServerSocket.java
8231         (implAccept): Access Socket.impl field directly.
8232
8233 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8234
8235         * java/util/prefs/Preferences.java,
8236         java/util/prefs/InvalidPreferencesFormatException.java,
8237         java/util/prefs/BackingStoreException.java,
8238         java/util/prefs/AbstractPreferences.java:
8239         Cleaned up imports.
8240
8241 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8242
8243         * java/util/regex/Matcher.java,
8244         java/util/regex/Pattern.java:
8245         Cleaned up imports.
8246
8247 2004-04-22  Michael Koch  <konqueror@gmx.de>
8248
8249         * java/nio/charset/IllegalCharsetNameException.java
8250         (charsetName): Made private.
8251         (IllegalCharsetNameException): Added @param tag to javadoc.
8252         (getCharsetName): Added @return tag to javadoc.
8253         * java/nio/charset/MalformedInputException.java
8254         (MalformedInputException): Added @param tag to javadoc.
8255         (getInputLength): Revised method description, added @return tag.
8256         (getMessage): Added @return tag.
8257
8258 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8259
8260         * java/awt/Font.java (deriveFont): Implement missing variants.
8261         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8262         missing variants.
8263
8264 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8265
8266         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8267         Set method->index values for interface methods to their itable index.
8268         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8269
8270 2004-04-21  Michael Koch  <konqueror@gmx.de>
8271
8272         * java/nio/DirectByteBufferImpl.java
8273         (shiftDown): Made static, give address as argument and
8274         provide a convenience method that overwrites shiftDown in
8275         ByteBufferImpl and calls the native shiftDown.
8276         * java/nio/MappedByteBufferImpl.java
8277         (): Use optimized method in DirectByteBufferImpl.
8278         * java/nio/natDirectByteBufferImpl.cc
8279         (shiftDown): Changed method signature. Removed usage of array_offset.
8280
8281 2004-04-21  Michael Koch  <konqueror@gmx.de>
8282
8283         * gnu/java/net/natPlainSocketImplPosix.cc
8284         (SocketInputStream::read): Make sure returned data is a byte value.
8285
8286 2004-04-21  Michael Koch  <konqueror@gmx.de>
8287
8288         * gnu/classpath/ServiceFactory.java,
8289         gnu/classpath/ServiceProviderLoadingAction.java,
8290         javax/imageio/ImageReader.java,
8291         javax/imageio/ImageTranscoder.java,
8292         javax/imageio/ImageWriter.java,
8293         javax/imageio/package.html,
8294         javax/imageio/spi/IIOServiceProvider.java,
8295         javax/imageio/spi/ImageInputStreamSpi.java,
8296         javax/imageio/spi/ImageOutputStreamSpi.java,
8297         javax/imageio/spi/ImageReaderWriterSpi.java,
8298         javax/imageio/spi/ImageTranscoderSpi.java,
8299         javax/imageio/spi/RegisterableService.java,
8300         javax/imageio/spi/ServiceRegistry.java,
8301         javax/imageio/spi/package.html,
8302         javax/imageio/stream/IIOByteBuffer.java,
8303         javax/imageio/stream/ImageInputStream.java,
8304         javax/imageio/stream/ImageOutputStream.java,
8305         javax/imageio/stream/package.html:
8306         New files.
8307         * Makefile.am
8308         (ordinary_java_source_files): Added
8309         gnu/classpath/ServiceFactory.java and
8310         gnu/classpath/ServiceProviderLoadingAction.java.
8311         (javax_source_files): Added
8312         javax/imageio/ImageReader.java,
8313         javax/imageio/ImageTranscoder.java,
8314         javax/imageio/ImageWriter.java,
8315         javax/imageio/spi/IIOServiceProvider.java,
8316         javax/imageio/spi/ImageInputStreamSpi.java,
8317         javax/imageio/spi/ImageOutputStreamSpi.java,
8318         javax/imageio/spi/ImageReaderWriterSpi.java,
8319         javax/imageio/spi/ImageTranscoderSpi.java,
8320         javax/imageio/spi/RegisterableService.java,
8321         javax/imageio/spi/ServiceRegistry.java,
8322         javax/imageio/stream/IIOByteBuffer.java,
8323         javax/imageio/stream/ImageInputStream.java and
8324         javax/imageio/stream/ImageOutputStream.java.
8325         * Makefile.in: Regenerated.
8326
8327 2004-04-21  Michael Koch  <konqueror@gmx.de>
8328
8329         * java/util/Properties.java
8330         (load): Fix wrongly merged fix.
8331
8332 2004-04-21  Mark Wielaard  <mark@klomp.org>
8333
8334         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8335         malloc and free buf.
8336
8337 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8338
8339         * javax/naming/AuthenticationException.java,
8340         javax/naming/AuthenticationNotSupportedException.java,
8341         javax/naming/CannotProceedException.java,
8342         javax/naming/CommunicationException.java,
8343         javax/naming/CompoundName.java,
8344         javax/naming/ConfigurationException.java,
8345         javax/naming/ContextNotEmptyException.java,
8346         javax/naming/InitialContext.java,
8347         javax/naming/InsufficientResourcesException.java,
8348         javax/naming/InterruptedNamingException.java,
8349         javax/naming/LimitExceededException.java,
8350         javax/naming/LinkException.java,
8351         javax/naming/LinkLoopException.java,
8352         javax/naming/LinkRef.java,
8353         javax/naming/MalformedLinkException.java,
8354         javax/naming/Name.java,
8355         javax/naming/NameAlreadyBoundException.java,
8356         javax/naming/NameNotFoundException.java,
8357         javax/naming/NamingSecurityException.java,
8358         javax/naming/NoInitialContextException.java,
8359         javax/naming/NoPermissionException.java,
8360         javax/naming/NotContextException.java,
8361         javax/naming/PartialResultException.java,
8362         javax/naming/ReferralException.java,
8363         javax/naming/ServiceUnavailableException.java,
8364         javax/naming/SizeLimitExceededException.java,
8365         javax/naming/TimeLimitExceededException.java,
8366         javax/naming/directory/Attribute.java,
8367         javax/naming/directory/Attributes.java,
8368         javax/naming/directory/SearchResult.java,
8369         javax/naming/event/NamingExceptionEvent.java,
8370         javax/naming/spi/ResolveResult.java:
8371         Cleaned up imports.
8372
8373 2004-04-21  Mark Wielaard  <mark@klomp.org>
8374
8375         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8376         Changed C++ comments into C comments. Removed commented out code.
8377         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8378         Likewise.
8379         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8380         Likewise.
8381         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8382         Likewise.
8383         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8384         Likewise.
8385         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8386         Likewise.
8387         * native/jni/gtk-peer/gthread-jni.c:
8388         Likewise.
8389
8390 2004-04-21  Mark Wielaard  <mark@klomp.org>
8391
8392         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8393         static fields defined in interface.
8394         * javax/awt/JDialog.java: Likewise.
8395         (JDialog): Make constructors public.
8396         (getDefaultCloseOperation): Make public.
8397         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8398         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8399         * javax/swing/JViewport.java (JViewport): Make constructor public.
8400
8401 2004-04-21  Michael Koch  <konqueror@gmx.de>
8402
8403         * java/util/Map.java
8404         (Entry): Removed redundant "static" modifier.
8405         * java/text/AttributedCharacterIterator.java:
8406         Updated copyright year.
8407
8408 2004-04-20  Michael Koch  <konqueror@gmx.de>
8409
8410         * javax/naming/directory/SearchControls.java:
8411         Don't explicitely extend java.lang.Object.
8412         * javax/naming/spi/DirStateFactory.java:
8413         Merged copyright year with GNU classpath.
8414
8415 2004-04-20  Michael Koch  <konqueror@gmx.de>
8416
8417         * java/nio/channels/Channels.java:
8418         Merged coding style with GNU classpath.
8419
8420 2004-04-20  Michael Koch  <konqueror@gmx.de>
8421
8422         * java/net/ServerSocket.java
8423         Merged coding style from GNU classpath.
8424
8425 2004-04-20  Michael Koch  <konqueror@gmx.de>
8426
8427         * java/io/BufferedWriter.java:
8428         Reordered variables to be at top of the class.
8429         (localFlush): Removed redundant final keyword.
8430
8431 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8432
8433         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8434
8435 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8436
8437         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8438         for percent and permill check.
8439
8440 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8441
8442         * java/text/FieldPosition.java
8443         (FieldPosition) Constructor now behaves as it should according
8444         to the java documentation.
8445
8446 2004-04-20  Mark Wielaard  <mark@klomp.org>
8447
8448         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8449         documentation.
8450
8451 2004-04-20  Michael Koch  <konqueror@gmx.de>
8452
8453         * java/nio/Buffer.java,
8454         java/nio/channels/AlreadyConnectedException.java,
8455         java/nio/channels/AsynchronousCloseException.java,
8456         java/nio/channels/ByteChannel.java,
8457         java/nio/channels/CancelledKeyException.java,
8458         java/nio/channels/Channel.java,
8459         java/nio/channels/Channels.java,
8460         java/nio/channels/ClosedByInterruptException.java,
8461         java/nio/channels/ClosedChannelException.java,
8462         java/nio/channels/ClosedSelectorException.java,
8463         java/nio/channels/ConnectionPendingException.java,
8464         java/nio/channels/DatagramChannel.java,
8465         java/nio/channels/FileChannel.java,
8466         java/nio/channels/FileLock.java,
8467         java/nio/channels/FileLockInterruptionException.java,
8468         java/nio/channels/GatheringByteChannel.java,
8469         java/nio/channels/IllegalBlockingModeException.java,
8470         java/nio/channels/IllegalSelectorException.java,
8471         java/nio/channels/InterruptibleChannel.java,
8472         java/nio/channels/NoConnectionPendingException.java,
8473         java/nio/channels/NonReadableChannelException.java,
8474         java/nio/channels/NonWritableChannelException.java,
8475         java/nio/channels/NotYetBoundException.java,
8476         java/nio/channels/NotYetConnectedException.java,
8477         java/nio/channels/OverlappingFileLockException.java,
8478         java/nio/channels/Pipe.java,
8479         java/nio/channels/ReadableByteChannel.java,
8480         java/nio/channels/ScatteringByteChannel.java,
8481         java/nio/channels/SelectableChannel.java,
8482         java/nio/channels/SelectionKey.java,
8483         java/nio/channels/Selector.java,
8484         java/nio/channels/ServerSocketChannel.java,
8485         java/nio/channels/SocketChannel.java,
8486         java/nio/channels/UnresolvedAddressException.java,
8487         java/nio/channels/UnsupportedAddressTypeException.java,
8488         java/nio/channels/WritableByteChannel.java,
8489         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8490         java/nio/channels/spi/AbstractSelectableChannel.java,
8491         java/nio/channels/spi/AbstractSelectionKey.java,
8492         java/nio/channels/spi/AbstractSelector.java,
8493         java/nio/channels/spi/SelectorProvider.java,
8494         java/nio/charset/spi/CharsetProvider.java:
8495         Fixed javadocs and jalopied all over java.nio.
8496
8497 2004-04-20  Michael Koch  <konqueror@gmx.de>
8498
8499         * java/nio/ByteBufferImpl.java,
8500         java/nio/CharBufferImpl.java,
8501         java/nio/DirectByteBufferImpl.java,
8502         java/nio/DoubleBufferImpl.java,
8503         java/nio/DoubleViewBufferImpl.java,
8504         java/nio/FloatBufferImpl.java,
8505         java/nio/FloatViewBufferImpl.java,
8506         java/nio/IntBufferImpl.java,
8507         java/nio/IntViewBufferImpl.java,
8508         java/nio/LongBufferImpl.java,
8509         java/nio/LongViewBufferImpl.java,
8510         java/nio/MappedByteBufferImpl.java,
8511         java/nio/ShortBufferImpl.java,
8512         java/nio/ShortViewBufferImpl.java:
8513         Made sure all classes are final and removed final keyword from all
8514         methods.
8515
8516 2004-04-20  Michael Koch  <konqueror@gmx.de>
8517
8518         * java/rmi/MarshalledObject.java,
8519         java/rmi/Naming.java,
8520         java/rmi/RemoteException.java,
8521         java/rmi/activation/ActivationException.java,
8522         java/rmi/server/ServerCloneException.java,
8523         java/security/AccessController.java,
8524         java/security/AlgorithmParameterGenerator.java,
8525         java/security/AlgorithmParameters.java,
8526         java/security/CodeSource.java,
8527         java/security/Identity.java,
8528         java/security/IdentityScope.java,
8529         java/security/KeyPairGenerator.java,
8530         java/security/KeyStore.java,
8531         java/security/Security.java,
8532         java/security/Signature.java,
8533         java/security/SignatureSpi.java,
8534         java/security/SignedObject.java,
8535         java/security/spec/DSAParameterSpec.java,
8536         java/security/spec/DSAPrivateKeySpec.java,
8537         java/security/spec/DSAPublicKeySpec.java,
8538         java/sql/Array.java,
8539         java/sql/DatabaseMetaData.java,
8540         java/sql/ResultSet.java,
8541         java/text/ChoiceFormat.java,
8542         java/text/CollationElementIterator.java,
8543         java/text/CollationKey.java,
8544         java/text/Collator.java,
8545         java/text/DateFormat.java,
8546         java/text/DateFormatSymbols.java,
8547         java/text/DecimalFormatSymbols.java,
8548         java/text/Format.java,
8549         java/text/ParsePosition.java,
8550         java/text/RuleBasedCollator.java,
8551         java/text/SimpleDateFormat.java,
8552         java/text/StringCharacterIterator.java,
8553         java/util/Collections.java,
8554         java/util/PropertyResourceBundle.java,
8555         java/util/ResourceBundle.java,
8556         java/util/StringTokenizer.java,
8557         java/util/jar/Attributes.java,
8558         java/util/logging/ConsoleHandler.java,
8559         java/util/logging/LogManager.java,
8560         java/util/logging/MemoryHandler.java,
8561         java/util/logging/SocketHandler.java,
8562         javax/naming/NamingException.java:
8563         Fixed javadoc, coding style and argument names all over.
8564
8565 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8566
8567         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8568         constructor. (valid) Added null check.
8569
8570 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8571
8572         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8573         * java/io/FileOutputStream.java
8574         (FileOutputStream) Reorganized constructors. Constructors now
8575         check whether the given path is directory.
8576
8577 2004-04-20  Michael Koch  <konqueror@gmx.de>
8578
8579         * java/net/Authenticator.java,
8580         java/net/BindException.java,
8581         java/net/ConnectException.java,
8582         java/net/ContentHandler.java,
8583         java/net/ContentHandlerFactory.java,
8584         java/net/DatagramPacket.java,
8585         java/net/DatagramSocket.java,
8586         java/net/DatagramSocketImpl.java,
8587         java/net/DatagramSocketImplFactory.java,
8588         java/net/FileNameMap.java,
8589         java/net/HttpURLConnection.java,
8590         java/net/Inet4Address.java,
8591         java/net/Inet6Address.java,
8592         java/net/InetAddress.java,
8593         java/net/InetSocketAddress.java,
8594         java/net/JarURLConnection.java,
8595         java/net/MalformedURLException.java,
8596         java/net/MulticastSocket.java,
8597         java/net/NetPermission.java,
8598         java/net/NetworkInterface.java,
8599         java/net/NoRouteToHostException.java,
8600         java/net/PasswordAuthentication.java,
8601         java/net/PortUnreachableException.java,
8602         java/net/ProtocolException.java,
8603         java/net/ServerSocket.java,
8604         java/net/Socket.java,
8605         java/net/SocketAddress.java,
8606         java/net/SocketException.java,
8607         java/net/SocketImpl.java,
8608         java/net/SocketImplFactory.java,
8609         java/net/SocketOptions.java,
8610         java/net/SocketPermission.java,
8611         java/net/SocketTimeoutException.java,
8612         java/net/URI.java,
8613         java/net/URISyntaxException.java,
8614         java/net/URL.java,
8615         java/net/URLClassLoader.java,
8616         java/net/URLConnection.java,
8617         java/net/URLDecoder.java,
8618         java/net/URLEncoder.java,
8619         java/net/URLStreamHandler.java,
8620         java/net/URLStreamHandlerFactory.java,
8621         java/net/UnknownHostException.java,
8622         java/net/UnknownServiceException.java:
8623         Fixed javadocs, coding style and argument names all over.
8624
8625 2004-04-20  Michael Koch  <konqueror@gmx.de>
8626
8627         * java/lang/Byte.java,
8628         java/lang/CharSequence.java,
8629         java/lang/ClassLoader.java,
8630         java/lang/Compiler.java,
8631         java/lang/Double.java,
8632         java/lang/Float.java,
8633         java/lang/Integer.java,
8634         java/lang/Long.java,
8635         java/lang/Math.java,
8636         java/lang/Number.java,
8637         java/lang/Package.java,
8638         java/lang/Runtime.java,
8639         java/lang/RuntimePermission.java,
8640         java/lang/SecurityManager.java,
8641         java/lang/Short.java,
8642         java/lang/StringBuffer.java,
8643         java/lang/System.java,
8644         java/lang/ThreadGroup.java,
8645         java/lang/Throwable.java,
8646         java/lang/reflect/InvocationHandler.java,
8647         java/lang/reflect/Proxy.java:
8648         Fixed javadocs, coding style and argument names all over.
8649
8650 2004-04-20  Michael Koch  <konqueror@gmx.de>
8651
8652         * java/io/BufferedWriter.java,
8653         java/io/ByteArrayInputStream.java,
8654         java/io/CharArrayWriter.java,
8655         java/io/DataInput.java,
8656         java/io/DataInputStream.java,
8657         java/io/File.java,
8658         java/io/FilterInputStream.java,
8659         java/io/InputStream.java,
8660         java/io/InputStreamReader.java,
8661         java/io/ObjectInputStream.java,
8662         java/io/ObjectStreamClass.java,
8663         java/io/PipedInputStream.java,
8664         java/io/PipedReader.java,
8665         java/io/PushbackInputStream.java,
8666         java/io/PushbackReader.java,
8667         java/io/RandomAccessFile.java,
8668         java/io/SerializablePermission.java,
8669         java/io/StreamTokenizer.java,
8670         java/io/StringWriter.java,
8671         java/io/WriteAbortedException.java,
8672         java/io/Writer.java:
8673         Fixed javadocs all over, rename arguments to match javadocs,
8674         fixed coding style.
8675
8676 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8677
8678         * java/awt/FontMetrics.java:
8679         (charsWidth): fixed accumulation of total_width
8680         (getWidth): simple default implementation
8681         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8682         in Rectangle constructor.
8683         * java/awt/image/Raster.java (toString): Added method. 
8684         * java/awt/image/SampleModel.java (<init>): Added error cause
8685         information to thrown exception.
8686         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8687         New method.
8688         (setDataElements): New method.
8689         (setPixels): New method.
8690         (toString): New method.
8691
8692 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8693
8694         * java/awt/image/ComponentColorModel.java
8695         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8696         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8697         Mauve tests on this method. Improved documentation.
8698
8699 2004-04-20  Michael Koch  <konqueror@gmx.de>
8700
8701         * javax/swing/JLayeredPane.java,
8702         javax/swing/plaf/BorderUIResource.java,
8703         javax/swing/plaf/ComponentUI.java,
8704         javax/swing/undo/CompoundEdit.java,
8705         javax/swing/undo/StateEdit.java:
8706         Fixed HTML tags in javadocs all over.
8707
8708 2004-04-20  Michael Koch  <konqueror@gmx.de>
8709
8710         * javax/print/attribute/EnumSyntax.java
8711         (getOffset): Made protected.
8712         * javax/print/attribute/HashAttributeSet.java
8713         (HashAttributeSet): Likewise.
8714         * javax/print/attribute/ResolutionSyntax.java
8715         (getFeedResolution): Fixed typo in exception name.
8716         (getCrossFeedResolution): Likewise.
8717         * javax/print/attribute/SetOfIntegerSyntax.java
8718         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8719         * javax/print/attribute/TextSyntax.java
8720         (TextSyntax): Handle locale correctly.
8721         (hashCode): Calc better hashcode value.
8722         (equals): Fixed @return tag.
8723         (toString): New method.
8724
8725 2004-04-20  Michael Koch  <konqueror@gmx.de>
8726
8727         * gnu/java/nio/FileLockImpl.java
8728         (static): Removed, not needed anymore.
8729         * gnu/java/nio/channels/FileChannelImpl.java
8730         (FileChannelImpl): Made final.
8731         (mode): Made private.
8732         (READ, WRITE, APPEND): Made public.
8733         (EXCL, SYNC, DSYNC): Likewise.
8734         (static): Load native JNI library, when needed.
8735         (length): Unused, removed.
8736         (available): Made public.
8737         (implPosition): Throws IOException.
8738         (seek): Likewise.
8739         (implTruncate): Likewise.
8740         (unlock): Likewise.
8741         (lock): Likewise.
8742
8743 2004-04-20  Michael Koch  <konqueror@gmx.de>
8744
8745         * java/awt/AWTPermission.java,
8746         java/awt/Component.java,
8747         java/awt/ComponentOrientation.java,,
8748         java/awt/Dialog.java,
8749         java/awt/FontMetrics.java,
8750         java/awt/Graphics.java,
8751         java/awt/datatransfer/DataFlavor.java,
8752         java/beans/Introspector.java,
8753         java/beans/PropertyEditor.java,
8754         java/beans/PropertyEditorManager.java,
8755         java/beans/beancontext/BeanContextServiceProvider.java:
8756         Fixed HTML tags in javadocs all over.
8757
8758 2004-04-20  Mark Wielaard  <mark@klomp.org>
8759
8760         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8761         MissingResourceException is thrown.
8762         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8763         null when a MissingResourceException is thrown. Should never happen.
8764
8765 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8766
8767         * java/awt/image/DataBufferShort.java,
8768         java/awt/image/DataBufferFloat.java,
8769         java/awt/image/DataBufferDouble.java,
8770         java/awt/image/PixelInterleavedSampleModel.java: New files.
8771         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8772         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8773
8774 2004-04-20  Michael Koch  <konqueror@gmx.de>
8775
8776         * Makefile.am (java_source_files): Added
8777         java/awt/image/DataBufferDouble.java,
8778         java/awt/image/DataBufferFloat.java,
8779         java/awt/image/DataBufferShort.java and
8780         java/awt/image/PixelInterleavedSampleModel.java.
8781         * Makefile.in: Regenerated.
8782
8783 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8784  
8785         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8786         undocumented CNI calls.
8787         * include/java-interp.h (_Jv_InterpClass): No longer
8788         extends java.lang.Class.
8789         * java/lang/Class.h (Class): Add new field `aux_info'.
8790         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8791         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8792         Use Class->aux_info instead.
8793         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8794         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8795         Use Class->aux_info instead.
8796         * java/io/natObjectInputStream.cc (allocateObject): Use
8797         _Jv_AllocObject.
8798         * java/lang/natClass.cc (newInstance): Likewise.
8799         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8800         * java/lang/natObject.cc (clone): Likewise.
8801         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8802         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8803         JvAllocObject. Allocate klass->aux_info here for interpreted
8804         class.
8805         
8806 2004-04-17  Mark Wielaard  <mark@klomp.org>
8807
8808         * javax/swing/JToggleButton.java (ToggleButtonModel):
8809         Make public static inner class.
8810         * javax/swing/JTabbedPane.java (setComponentAt):
8811         Call Page.setComponent().
8812         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8813         (WRAP_TAB_LAYOUT): Make public, value is 0.
8814         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8815         Make private static inner class.
8816
8817 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8818
8819         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8820         arguments to match new signature. Remove FIXME comments.
8821
8822 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8823
8824         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8825         Remove method.
8826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8827         unused code.
8828
8829 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8830
8831         * Makefile.am: Added new file.
8832         * Makefile.in: Regenerate.
8833         * javax/swing/ImageIcon.java: 
8834         (ImageIcon(file)): set description of the icon 
8835         to the file name
8836         * javax/swing/JCheckBoxMenuItem.java:
8837         Mostly Implemented. Work in progress.
8838         * javax/swing/JRadioButtonMenuItem.java:
8839         Reimplement constructors to use JToggleButtonModel.
8840         * javax/swing/plaf/basic/BasicIconFactory.java:
8841         (getCheckBoxMenuItemIcon): return check box
8842         icon.
8843         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8844         paint menu item selected only when it is armed and 
8845         pressed. 
8846  
8847 2004-04-02  David Jee  <djee@redhat.com>
8848
8849         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8850         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8851         * java/awt/Component.java
8852         (add): Set the parent of the popup as this component.
8853         * java/awt/PopupMenu.java
8854         (addNotify): Create popup menu when peer is null.
8855         (show): Call addNotify() if peer is null.
8856         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8857         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8858         argument for gtk_menu_popup() as zero. This causes the popup menu to
8859         respond to any mouse button.
8860
8861 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8862
8863         * Makefile.am: Added new file.
8864         * Makefile.in: Regenerate.
8865         * javax/swing/JRadioButtonMenuItem.java:
8866         Implemented.
8867         * javax/swing/plaf/basic/BasicIconFactory.java:
8868         (getRadioButtonMenuItemIcon): Return
8869         radio button icon.
8870         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8871         (getPreferredSize): Add size of checkIcon if it
8872         exists.
8873         (installDefaults): Don't initialize checkIcon.
8874         It's value will be set in subclasses. 
8875         (uninstallDefaults): remove uninstallation of 
8876         checkIcon.
8877         (paint): Moved code to paintMenuItem().
8878         (paintMenuItem): Implemented.
8879         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8880         UI delegate for JRadioButtonMenuItem.
8881         
8882 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8883
8884         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8885         Corrected position of the accelerator.
8886
8887 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8888
8889         * Makefile.am: Added new file. 
8890         * Makefile.in: Regenerate.
8891         * javax/swing/JMenuItem.java: Partly 
8892         implemented. Work in progress
8893         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8894         Changed default value of acceleratorDelimiter.
8895         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8896         New class. Partly implemented.
8897                 
8898 2004-03-26  Mark Wielaard  <mark@klomp.org>
8899
8900         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8901         (item_activate): Declare label before use.
8902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8903         (gtkSetFont): Removed unused variable label.
8904         (addExposeFilter): Declare variables before use.
8905         (removeExposeFilter): Likewise.
8906         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8907         (ok_clicked): Declare str_fileName before use.
8908
8909 2004-03-26  David Jee  <djee@redhat.com>
8910
8911         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8912         (addSeparator): Remove.
8913         * java/awt/Menu.java
8914         (separator): Remove static final MenuItem field.
8915         (separatorLabel): New static final String field.
8916         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8917         Use separatorLabel to denote that it is a separator.
8918         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8919         of reusing the static separator instance, because a MenuItem instance
8920         can't be added more than once without being cloned.
8921         * java/awt/peer/MenuPeer.java
8922         (addSeparator): Remove from interface.
8923
8924 2004-03-26  David Jee  <djee@redhat.com>
8925
8926         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8927         (connectSignals): New native method declaration.
8928         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8929         * java/awt/MenuItem.java
8930         (getActionCommand): Return the label if the action command is not set.
8931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8932         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8933         gtk_menu_shell_append().
8934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8935         (item_activate): Fix argument type.
8936         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8937         signal here.
8938         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8939         method.
8940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8941         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8942         given. Add the menu widget's top-level GtkWindow to the global window
8943         group, so it can grab the pointer.
8944         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8945         gtk_menu_shell_append().
8946
8947 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8948
8949         * java/text/AttributedString.java 
8950         (addAttribute): Fix off-by-one.
8951         (getIterator): Likewise.        
8952         * java/text/AttributedStringIterator.java 
8953         (getRunLimit): Correct logic.
8954         (getRunStart): Likewise.
8955         (getAttribute): Fix inequality.
8956         (getAttributes): Likewise.
8957         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8958
8959 2004-03-23  Kim Ho  <kho@redhat.com>
8960
8961         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8962         (calculateSizes): Return real width and height.
8963
8964 2004-03-23  Kim Ho  <kho@redhat.com>
8965
8966         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8967         (calculateTabRects): Set the selectedRun before
8968         trying to rotate tabs.
8969
8970 2004-03-23  Kim Ho  <kho@redhat.com>
8971
8972         * Makefile.am: New file
8973         * Makefile.in: Regenerate
8974         * java/awt/Graphics.java: (drawRect):
8975         Draw to the correct point.
8976         * javax/swing/DefaultSingleSelectionModel.java
8977         (isSelected): Return true if the selected index
8978         is not -1.
8979         * javax/swing/JLabel.java: Do not change mnemonic
8980         index if text is null.
8981         * javax/swing/JProgressBar.java: Use JComponent's
8982         EventListenerList.
8983         * javax/swing/JScrollBar.java: Ditto.
8984         * javax/swing/JSlider.java: Ditto.
8985         * javax/swing/JTabbedPane.java: Reimplement.
8986         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8987         Add defaults for TabbedPane.
8988         * javax/swing/plaf/basic/BasicArrowButton.java:
8989         Implement
8990         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8991         (paintDeterminate): Don't paint String if it's
8992         empty.
8993         (paintIndeterminate): ditto.
8994         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8995         Reimplement.
8996
8997 2004-03-19  Michael Koch  <konqueror@gmx.de>
8998
8999         * java/awt/image/AffineTransformOp.java
9000         (AffineTransformOp): Made public.
9001         * javax/swing/JComponent.java
9002         (listenerList): Made protected.
9003         (accessibleContext): Likewise.
9004         * javax/swing/JList.java
9005         (valueChanged): Dont use internal fields of ListSelectionEvent.
9006         * javax/swing/JViewport.java
9007         (getView): Dont use internal fields of Component.
9008         (addImpl): Likewise.
9009         * javax/swing/Timer.java
9010         (isRunning): Made public.
9011         (start): Likewise.
9012         (stop): Likewise.
9013         * javax/swing/UIDefaults.java
9014         (getInt): Made public.
9015         * javax/swing/plaf/basic/BasicListUI.java
9016         (mousePressed): Dont use internal fields of MouseEvent.
9017         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9018         * javax/swing/plaf/basic/BasicScrollBarUI.java
9019         (arrowIcon): Made static.
9020         * javax/swing/plaf/basic/BasicViewportUI.java
9021         (stateChanged): Dont use internal field on ChangeEvent.
9022         * javax/swing/text/JTextComponent.java
9023         (getUI): Call UIManager.getUI().
9024         (updateUI): Use getUI().
9025
9026 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9027
9028         * javax/swing/JComponent.java: Turn off double buffer by default.
9029         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9031         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9032         Use cairo to copy areas.
9033         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9034         Initialize and set clip region.
9035
9036 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9037
9038         * java/applet/Applet.java (preferredSize): Override deprecated
9039         variant of getPreferredSize.
9040         (minimumSize): Override deprecated variant of getMinimumSize.
9041
9042 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9043
9044         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9045         (drawImage(img,xform,bgcolor,obs)): New Method.
9046         Helper function that every drawImage method will
9047         use.
9048         (drawRaster): Added new parameter, bgcolor. All
9049         transparent pixels are changed to bgcolor before 
9050         image is drawn.
9051         (drawRenderedImage): Fixed to use changed drawRaster().
9052         (drawImage(image,xform,obs): Fixed to use new helper function 
9053         (drawImage(image,op,x,y)): Ditto.
9054         (drawImage (img,x,y,observer)): Ditto.
9055         ((PainterThread) bgcolor): New Field.
9056         ((PainterThread) (setPixels)): Changed all transparent pixels 
9057         to bgcolor.     
9058         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9059         Fixed FIXME - all the transparent pixels are 
9060         changed to the specified bgcolor. 
9061         (drawImage(img, x, y, width, height, observer): Changed to 
9062         use function above.
9063         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9064         Fixed FIXME- changed all transparent pixels to bgcolor.
9065         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9066         Changed to use function above. 
9067
9068 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9069
9070         * java/applet/Applet.java (dimensions): New field.
9071         (getDimensions): New method.
9072         (getPreferredSize): Call getDimensions.
9073         (getMinimumSize): Likewise.
9074
9075 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9076
9077         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9078         * jni/classpath/jnilink.c: Likewise.
9079
9080         * java/applet/Applet.java (getPreferredSize): New method.
9081         (getMinimumSize): New method.
9082
9083 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9084
9085         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9086         (_Jv_AllocObjectNoFinalizer): Likewise.
9087         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9088         (_Jv_AllocPtrFreeObject): Likewise.
9089         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9090         directly even in the JVMPI case.        
9091         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9092         _Jv_AllocObject calls.
9093         * gcj/javaprims.h: Update prototypes.
9094         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9095         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9096         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9097
9098 2004-04-14  Andrew Haley  <aph@redhat.com>
9099             Bryce McKinlay  <mckinlay@redhat.com>
9100
9101         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9102         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9103         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9104
9105         * testsuite/libjava.lang/InvokeInterface.java: New file.
9106         * testsuite/libjava.lang/InvokeInterface.out: New file.
9107
9108 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9109         
9110         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9111         modified lookup().
9112         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9113         StackTraceElement directly.
9114         (newElement): New native helper method to create StackTraceElement
9115         bypassing Java access control.
9116         (createStackTraceElement): Use newElement() instead of directly
9117         calling StackTraceElement's constructor.
9118         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9119
9120 2004-04-01  Michael Koch  <konqueror@gmx.de>
9121
9122         * java/lang/SecurityManager.java
9123         (checkAwtEventQueueAccess): Implemented.
9124
9125 2004-04-01  Gary Benson  <gbenson@redhat.com>
9126
9127         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9128         (_Jv_SearchMethodInClass): Likewise.
9129
9130 2004-03-26  Peter Moon  <peterm@miraculum.com>
9131
9132         * java/text/NumberFormat.java: Fix spelling of setCurrency
9133         method.
9134
9135 2004-03-21  Anthony Green  <green@redhat.com>
9136
9137         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9138         recursion when searching for the system ClassLoader.
9139
9140 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9141
9142         * java/net/ServerSocket.java
9143         (accept): Close the socket when error occured.
9144
9145 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9146
9147         * java/net/URI.java (parseURI): Added unquoting.
9148         (unquote): New method.
9149         (quoteAuthority): Implemented.
9150         (quote(String,String)): New method.
9151         (quotePath): Implemented.
9152         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9153         (getSchemeSpecificPart): Removed FIXME comment.
9154         (getRawAuthority): Return new rawAuthority field.
9155         (getAuthority): Removed FIXME comment.
9156         (getRawUserInfo): Return new rawUserInfo field.
9157         (getUserInfo): Removed FIXME comment.
9158         (getRawPath): Return new rawPath field.
9159         (getPath): Removed FIXME comment.
9160         (getRawQuery): Return new rawQuery field.
9161         (getQuery): Removed FIXME comment.
9162         (getRawFragment): Return new rawFragment field.
9163         (getFragment): Removed FIXME comment.
9164
9165 2004-03-20  Michael Koch  <konqueror@gmx.de>
9166
9167         * java/net/URLConnection.java: Merged copyright year with classpath.
9168
9169 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9170
9171         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9172         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9173         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9174         rmi-message.
9175         (getObjectInputStream): Return object reference, throw IOException if null.
9176         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9177         (getObjectOutputStream): Return object reference, throw IOException if null.
9178         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9179         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9180         (UnicastConnectionManager): Throw RemoteException if port is not available.
9181         (getInstance): Throw RemoteException.
9182         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9183         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9184         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9185         Collect Exceptions which are returned by a rmi-call and fix void returns.
9186         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9187         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9188         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9189         (dispatch): Answer ping messages which are sent by other java implementions.
9190         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9191         for every rmi-message and fix void return problems.
9192         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9193         (UnicastServerRef): Throw RemoteException.
9194         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9195         In some situations it is necessary to export a subclass of the class which has the _Stub.
9196         For instance when the class with has the _Stub is abstract.
9197         (findStubSkelClass): New method which looks for the class which has the _Stub.
9198         (getClientHost): Implementated.
9199         * gcc/libjava/java/rmi/server/RemoteServer.java
9200         (getClientHost): Implementated.
9201         * gcc/libjava/Makefile.am (rmi_java_source_files):
9202         Added gnu/java/rmi/server/RMIIncomingThread.java.
9203         * Makefile.in: Regenerated.
9204
9205 2004-03-20  Michael Koch  <konqueror@gmx.de>
9206
9207         * java/net/InetAddress.java
9208         (getLocalHostname): Added javadoc.
9209
9210 2004-03-19  Per Bothner  <per@bothner.com>
9211
9212         * configure.in: FILE variable  overrides FLATFORM when linking
9213         natFileChannelXXX.cc.
9214
9215         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9216         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9217
9218 2004-03-19  Per Bothner  <per@bothner.com>
9219
9220         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9221         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9222         * Makefile.am:  Update accordingly.
9223         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9224         as aliases for UnicodeLittle and UnicodeBig.
9225
9226 2004-03-20  Mark Wielaard  <mark@klomp.org>
9227
9228         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9229         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9230         Don't access ws when it is null.
9231         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9232         Likewise.
9233
9234 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9235
9236         * java/lang/ThreadGroup.java (list): Changed print to println.
9237
9238 2004-03-19  Mark Wielaard  <mark@klomp.org>
9239
9240         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9241         happy.
9242
9243 2004-02-10  Randolph Chung  <tausq@debian.org>
9244  
9245         * configure.in: Build java for hppa target.
9246         * configure: Regenerate.
9247         * libjava/configure.host (hppa-*): Add target.
9248         * libjava/sysdeps/pa/lock.h: New file.
9249
9250 2004-03-19  Mark Wielaard  <mark@klomp.org>
9251
9252         Reported by Stephen Crawley
9253         * java/io/FilePermission.java (implies): Use String.length() -1 to
9254         access last char of String.
9255
9256 2004-03-19  Michael Koch  <konqueror@gmx.de>
9257
9258         * java/awt/image/AffineTransformOp.java
9259         (AffineTransformOp): Made public.
9260         * javax/swing/JComponent.java
9261         (listenerList): Made protected.
9262         (accessibleContext): Likewise.
9263         * javax/swing/JList.java
9264         (valueChanged): Dont use internal fields of ListSelectionEvent.
9265         * javax/swing/JViewport.java
9266         (getView): Dont use internal fields of Component.
9267         (addImpl): Likewise.
9268         * javax/swing/Timer.java
9269         (isRunning): Made public.
9270         (start): Likewise.
9271         (stop): Likewise.
9272         * javax/swing/UIDefaults.java
9273         (getInt): Made public.
9274         * javax/swing/plaf/basic/BasicListUI.java
9275         (mousePressed): Dont use internal fields of MouseEvent.
9276         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9277         * javax/swing/plaf/basic/BasicScrollBarUI.java
9278         (arrowIcon): Made static.
9279         * javax/swing/plaf/basic/BasicViewportUI.java
9280         (stateChanged): Dont use internal field on ChangeEvent.
9281         * javax/swing/text/JTextComponent.java
9282         (getUI): Call UIManager.getUI().
9283         (updateUI): Use getUI().
9284
9285 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9286
9287         * verify.cc: Undef PC.
9288
9289 2004-03-18  Michael Koch  <konqueror@gmx.de>
9290
9291         * java/nio/channels/spi/AbstractSelectableChannel.java
9292         (keys): Initialize at declaration.
9293         (locate): keys cant be null.
9294         (add): Removed.
9295         (addSelectionKey): New method.
9296         (removeSelectionKey): New method.
9297         * java/nio/channels/spi/AbstractSelectionKey.java
9298         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9299         * java/nio/channels/spi/AbstractSelector.java
9300         (provider): Javadoc added.
9301         (cancelledKeys): Javadoc added.
9302         (cancelKey): Javadoc added, add key to cancelledKeys.
9303         (deregister): Implemented.
9304
9305 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9306
9307         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9308         MAP_FAILED to void *.
9309
9310 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9311
9312         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9313         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9314         * javax/swing/JList.java (ListListener): Revalidate on changes.
9315         * javax/swing/JScrollPane.java: Reimplement.
9316         * javax/swing/JViewport.java: Reimplement.
9317         * javax/swing/ScrollPaneLayout.java: Reimplement.
9318         * javax/swing/ViewportLayout.java: Tidy up.
9319         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9320         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9321         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9322         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9323         backing store only.
9324
9325 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9326
9327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9328         (window_wm_protocols_filter): New function.
9329         (window_focus_in_cb): Remove function.
9330         (window_focus_out_cb): Likewise.
9331         (window_focus_or_active_state_change_cb): New function.
9332         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9333         (connectSignals): Don't attach handlers to focus-in-event or
9334         focus-out-event signals.  Handle notify signal.
9335
9336 2004-03-11  David Jee  <djee@redhat.com>
9337
9338         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9339         (gtkSetLabel): New native method declaration.
9340         (setLabel): Use gtkSetLabel.
9341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9342         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9343
9344 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9345
9346         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9347         black when color argument is null.
9348
9349 2004-03-10  Kim Ho  <kho@redhat.com>
9350
9351         * java/awt/Container.java: Remove check
9352         for drag events.
9353
9354 2004-03-10  Kim Ho  <kho@redhat.com>
9355
9356         * java/awt/Container.java: (visitChild):
9357         Remove candidate clip. Use the component
9358         clip to intersect.
9359         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9360         (handleEvent): Use the PaintEvent's clip.
9361
9362 2004-03-10  Kim Ho  <kho@redhat.com>
9363
9364         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9365         (handleEvent): Don't set the clip for the
9366         Graphics object.
9367
9368 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9369
9370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9371         Fix double <-> fixed macros, reset font transform.
9372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9373         Likewise.
9374
9375 2004-03-09  Kim Ho  <kho@redhat.com>
9376
9377         * java/awt/Container.java: (visitChild): Move
9378         the x and y coordinate of the component rectangle
9379         to correct position.
9380         (handleEvent): Forward drag events to the pressed
9381         component.
9382         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9383         Fix comments.
9384         (ArrowButtonListener::mousePressed): Stop the
9385         existing timer.
9386         (mouseDragged): Implement.
9387         (TrackListener::mousePressed): Only react if
9388         the press doesn't occur on the thumb, otherwise
9389         just set the offset.
9390         (TrackListener::mouseReleased): Unset the isAdjusting
9391         value.
9392         (createIncreaseIcon): Switch icon.
9393         (createDecreaseIcon): Switch icon.
9394         (calculatePreferredSize): Use width.
9395         (getThumbBounds): Use the top as the lower value.
9396         (layoutVScrollBar): Switch the button locations.
9397         (paintIncreaseHighlight): Paint correct side of thumb.
9398         (paintDecreaseHighlight): ditto.
9399         (valueForYPosition): Use top as the lower value.
9400         * javax/swing/plaf/basic/BasicSliderUI.java:
9401         Fix comments.
9402         (mouseDragged): Implement.
9403         (mousePressed): Only react when the thumb isn't
9404         pressed, otherwise just set offset.
9405         (mouseReleased): Handle a release of the thumb.
9406         (scrollDueToClickInTrack): Stop the timer first.
9407         * javax/swing/JProgressBar.java:
9408         (setString): Fix change condition.
9409         * javax/swing/JSeparator.java:
9410         Remove println's.
9411
9412 2004-03-08  David Jee  <djee@redhat.com>
9413
9414         * java/awt/image/AffineTransformOp.java:
9415         (filter): Use Graphics2D interface instead of directly using the
9416         GdkGraphics2D peer.
9417
9418 2004-03-05  David Jee  <djee@redhat.com>
9419
9420         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9421         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9422         * java/awt/Container.java
9423         (acquireComponentForMouseEvent): Fixed.
9424         (handleEvent): Fixed.
9425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9426         (state_to_awt_mods_with_button_states): New method.
9427         (pre_event_handler): Fixed mouse event generation.
9428
9429 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9430
9431         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9432         (GdkGraphics2D (BufferedImage)): Initialize
9433         pixmap associated with specified BufferedImage.
9434         (setPaint): Changed implementation of Texture
9435         Paint to use AffineTransformOp.
9436         * java/awt/image/AffineTransformOp.java
9437         (createCompatibleDestRaster): Throw RasterFormatException 
9438         if resulting width or height of raster is 0.
9439
9440 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9441
9442         * java/awt/image/AffineTransformOp.java:
9443         Removed unnecessary field interpolationType.
9444         Formatted some of the lines to be consistent with 
9445         the GNU style.
9446         (AffineTransformOp): Create new RenderingHints 
9447         containing specified interpolation type.
9448         (createCompatibleDestImage): Implemented.
9449         (createCompatibleDestRaster): Implemented.
9450         (filter): Implemented.
9451         (getBounds2D(BufferedImage)): Implemented.
9452         (getBounds2D(Raster)): Implemented.
9453         (getInterpolationType): Get interpolation value from 
9454         rendering hints.
9455
9456 2004-03-04  David Jee  <djee@redhat.com>
9457
9458         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9459         (setFont): Check if child peers are null.
9460
9461 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9462
9463         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9464         .libs in -L option.
9465         (libjava_arguments): Add new libraries to argument list.
9466
9467 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9468
9469         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9470         * Makefile.in: Re-generated.
9471         * java/awt/image/AffineTransformOp.java: New Class.
9472
9473 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9474
9475         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9476         (setPaint): Interpret correctly TexturePaint's
9477         anchor rectangle.
9478         (drawImage): Fixed scale factors of the affine
9479         transform.
9480
9481 2004-02-27  David Jee  <djee@redhat.com>
9482
9483         * gnu/java/awt/peer/gtk/GdkGraphics.java
9484         (GdkGraphics(Component)): Inherit font from component.
9485         (drawString): Use font style.
9486         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9487         (gtkSetFont): New native method declaration.
9488         (setFont): New method.
9489         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9490         (gtkSetFont): New native method declaration.
9491         (setFont): Call new native method gtkSetFont.
9492         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9493         (setFont): For all child components who do not their fonts set,
9494         set their peers' fonts with this container's font.
9495         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9496         Move all native method declarations to the top for readability.
9497         (gtkSetFont): New native method declaration.
9498         (setFont): New method.
9499         * java/awt/Component.java
9500         (setFont): Invalidate after setting the font.
9501         * java/awt/Container.java
9502         (invalidateTree): New method.
9503         (setFont): Invalidate the container tree after setting the font.
9504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9505         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9507         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9509         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9511         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9512
9513 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9514
9515         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9516         (updateBufferedImage): New helper function.
9517         Updates BufferedImage in memory if it was changed.
9518         (draw): changed to update BufferedImage in memory after
9519         this drawing operation
9520         (fill): Ditto.
9521         (draw3DRect): Ditto.
9522         (fill3DRect): Ditto.
9523         (clearRect): Ditto.
9524         (drawRaster): Ditto.
9525         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9526         no affine transformation.
9527         (drawGlyphVector): Ditto.
9528
9529 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9530
9531         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9532         (isBufferedImageGraphics): New Helper function. 
9533         Returns true if this graphics2d can be used to draw 
9534         into buffered image and false otherwise.
9535         (updateImagePixels): New Helper function. 
9536         Updates pixels in the BufferedImage.
9537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9538         (getImagePixels): New function. Returns pixels
9539         of the buffered image associated with 
9540         this Graphics2D.
9541
9542 2004-02-26  David Jee  <djee@redhat.com>
9543
9544         * java/awt/BorderLayout.java
9545         (layoutContainer): Fix width and height calculations to ensure
9546         that they're non-negative.
9547         * java/awt/Component.java
9548         (setBackground): If c is null, inherit from closest ancestor whose
9549         background color is set.
9550
9551 2004-02-26  Kim Ho  <kho@redhat.com>
9552
9553         * Makefile.am: Add new files.
9554         * Makefile.in: Re-generate.
9555         * javax/swing/JProgressBar.java: 
9556         (JProgressBar(int, int int)): Throw
9557         IllegalArgumentException if orientation is
9558         invalid.
9559         (JProgressBar(BoundedRangeModel)): Create
9560         ChangeListener and register it. UpdateUI.
9561         (getChangeListeners): Implement.
9562         (setModel): Reset ChangeListener.
9563         * javax/swing/JScrollBar.java: Implement.
9564         * javax/swing/JSeparator.java: Implement.
9565         * javax/swing/JSlider.java:
9566         (JSlider(int, int, int, int)): Throw 
9567         IllegalArgumentException if orientation
9568         is invalid.
9569         (getChangeListeners): Fix method name.
9570         * javax/swing/SwingUtilities.java:
9571         (layoutCompoundLabel): If there is no text,
9572         set the text rectangle dimensions to 0.
9573         * javax/swing/plaf/basic/BasicButtonUI.java:
9574         (paint): If there is no text, don't paint it.
9575         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9576         Implement.
9577         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9578         Implement.
9579         * javax/swing/plaf/basic/BasicSliderUI.java: 
9580         (propertyChange): If the model changes, change
9581         the listeners accordingly.
9582
9583 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9584
9585         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9586         * javax/swing/JList.java: Reimplement.
9587         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9588         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9589         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9590         * javax/swing/ListModel.java: Javadoc.
9591         * javax/swing/ListSelectionModel.java: Add missing methods.
9592         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9593         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9594         * javax/swing/ListModel.java: Javadoc and corrections.
9595         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9596
9597 2004-02-25  David Jee  <djee@redhat.com>
9598
9599         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9600         (GtkFontPeer): Change default size to 12.
9601         * gnu/java/awt/peer/gtk/GtkToolkit.java
9602         (getFontPeer): Change default size to 12.
9603         (getClasspathFontPeer): Likewise. Set default name to "Default".
9604         * java/awt/Font.java
9605         (Font(Map)): Call Font(String,Map).
9606         (Font(String,Map)): If attrs is null, initialize it as an empty
9607         HashMap, which will ensure that the Font will get default attributes.
9608
9609 2004-02-25  David Jee  <djee@redhat.com>
9610
9611         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9612         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9613         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9614         * gnu/java/awt/peer/gtk/GtkToolkit.java
9615         (getFontPeer(String,int)): Call the new overload method with size 1.
9616         (getFontPeer(String,int,int)): New method. Overloaded with size
9617         attribute.
9618         (getClasspathFontPeer): Set the size of the font.
9619
9620 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9621
9622         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9623         (bimage): New field.
9624         (GdkGraphics2D): New Constructor. Constructs Graphics
9625         object that can be used to draw into the Buffered Image.
9626         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9627         (GdkGraphicsEnvironment): Fixed to include public 
9628         keyword.
9629         (createGraphics): Implemented.
9630         * gnu/java/awt/peer/gtk/GtkToolkit.java
9631         (getLocalGraphicsEnvironment): Implemented.
9632         * java/awt/GraphicsEnvironment.java:
9633         (getLocalGraphicsEnvironment): Implemented.
9634         * java/awt/image/BufferedImage.java:
9635         (createGraphics): Implemented.
9636                 
9637 2004-02-24  David Jee  <djee@redhat.com>
9638
9639         * java/awt/Component.java
9640         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9641         * java/awt/Container.java
9642         (addNotifyContainerChildren): Fix event enabling.
9643
9644 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9645
9646         * Makefile.am: Added 
9647         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9648         * Makefile.in: Re-generated.
9649         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9650         New Class. 
9651         
9652 2004-02-19  Kim Ho  <kho@redhat.com>
9653
9654         * Makefile.am: Add BasicProgressBarUI
9655         * Makefile.in: Regenerate.
9656         * javax/swing/JProgressBar.java: 
9657         Re-implement.
9658         * javax/swing/plaf/basic/BasicLookAndFeel.java
9659         Add constants for JProgressBar.
9660         * javax/swing/plaf/basic/BasicProgressBarUI.java
9661         Implement.
9662         * javax/swing/plaf/basic/BasicSliderUI.java
9663         Change comments.
9664         (calculateGeometry): New method
9665         (paint): Remove unnecessary size calculations.
9666
9667 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9668
9669         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9670         (drawRaster): Fixed small error that caused
9671         imageToUser transformation to be set incorrectly.
9672         (toString): Implemented.
9673
9674 2004-02-18  David Jee  <djee@redhat.com>
9675
9676         * java/awt/CardLayout.java
9677         (addLayoutComponent): Show the first component added as the default.
9678         (removeLayoutComponent): After removing, show the next component.
9679         (gotoComponent): If there is only one component, show it and return.
9680
9681 2004-02-18  Kim Ho  <kho@redhat.com>
9682
9683         * javax/swing/JSlider.java: Re-order
9684         modifiers.
9685         * javax/swing/JLabel.java: Re-order
9686         modifiers.
9687         * javax/swing/JComponent.java: 
9688         (addPropertyChangeListener):
9689         Implement.
9690         (removePropertyChangeListener):
9691         ditto.
9692         (firePropertyChangeEvent):
9693         ditto.
9694
9695 2004-02-17  David Jee  <djee@redhat.com>
9696
9697         * java/awt/Component.java
9698         (show): Dispatch ComponentEvent via system event queue.
9699         (hide): Likewise.
9700         (move): Likewise.
9701         (resize): Likewise.
9702         (reshape): Likewise.
9703         * java/awt/Window.java
9704         (setBoundsCallback): Likewise.
9705
9706 2004-02-17  David Jee  <djee@redhat.com>
9707
9708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9709         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9710         Use gtk_widget_set_size_request() instead of the deprecated
9711         gtk_widget_set_usize().
9712
9713 2004-02-17  Kim Ho  <kho@redhat.com>
9714
9715         * javax/swing/JSlider.java: Fix comments and
9716         make property strings constants.
9717         (createStandardLabels): Use the labels
9718         preferred size as bounds.
9719         * javax/swing/plaf/basic/BasicSliderUI.java
9720         Fix comments.
9721         (ScrollHandler::actionPerformed): Don't
9722         calculate the timer stop value. Let the
9723         MouseListeners find the stop location.
9724         (getPreferredHorizontalSize): Re-implement.
9725         (getPreferredVerticalSize): ditto.
9726         (getMinimumHorizontalSize): ditto.
9727         (getMinimumVerticalSize): ditto.
9728         (getPreferredSize): ditto.
9729         (getMinimumSize): ditto.
9730         (getMaximumSize): ditto.
9731         (paintTicks): Use doubles to find the
9732         tick location.
9733         (paintHorizontalLabel):  Use preferredSize
9734         as initial width and height.
9735         (paintVerticalLabel): ditto.
9736
9737 2004-02-17  Kim Ho  <kho@redhat.com>
9738
9739         * javax/swing/JLabel.java: Changed 
9740         property strings to constants.
9741         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9742         New property.
9743         (setText): Change mnemonic index if
9744         text is too short.
9745         (setDisplayedMnemonicIndex): Fire property
9746         change event.
9747         (getDisplayedMnemonicIndex): Remove check
9748         against short text.
9749
9750 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9751
9752         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9753         (drawImage(img,xform,obs)): Invert xform before
9754         passing the xform to cairo.
9755         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9756         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9757         implemented.
9758         (drawImage (img,x,y,w,h,obs)): Implemented.
9759         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9760         bgcolor,obs)): Partly implemented.
9761         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9762         Implemented.
9763         * java/awt/image/BufferedImage.java:
9764         (copyData): if dest is null, create raster with same
9765         dimensions as the current image.
9766
9767 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9768
9769         * javax/swing/plaf/basic/BasicLabelUI.java 
9770         (getPreferredSize): Use layoutCL.
9771         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9772         (getPreferredButtonSize): Start with empty view rect, layout using
9773         component's preferred alignment.
9774         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9775         List defaults.
9776
9777 2004-02-16  David Jee  <djee@redhat.com>
9778
9779         * java/awt/Component.java
9780         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9781         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9782         (move): Erase old bounds and repaint new bounds. Dispatch
9783         COMPONENT_MOVED ComponentEvent.
9784         (resize): Erase old bounds and repaint new bounds. Dispatch
9785         COMPONENT_RESIZED ComponentEvent.
9786         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9787         ComponentEvents.
9788         * java/awt/Window.java
9789         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9790         ComponentEvents.
9791
9792 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9793
9794         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9795         (setRenderingHint): Added implementation of 
9796         Interpolation rendering hints.
9797         (setRenderingHints): Ditto.
9798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9799         (drawPixels): fixed to allow user to choose type 
9800         of filtering that should be used when displaying images.
9801         (cairoSurfaceSetFilter): New method. Sets filter type for 
9802         interpolation of pixel values.
9803
9804 2004-02-16  David Jee  <djee@redhat.com>
9805
9806         * java/awt/GridBagLayout.java
9807         (calcCellSizes): Rows or columns with zero sizes should still be
9808         considered for extra space distribution.
9809
9810 2004-02-16  Kim Ho  <kho@redhat.com>
9811
9812         * javax/swing/JLabel.java: Re-implement.
9813         * javax/swing/plaf/basic/BasicLabelUI.java
9814         Re-implement.
9815         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9816         Added constant.
9817
9818 2004-02-16  Kim Ho  <kho@redhat.com>
9819
9820         * javax/swing/JSlider.java: Fix indentation and comments.
9821         (setModel): Remove null check to conform with Sun's.
9822         (setOrientation): Throw exception if not
9823         HORIZONTAL or VERTICAL.
9824         (getInverted): Use private variable instead of 
9825         ComponentOrientation.
9826         (setInverted): ditto.
9827         * javax/swing/plaf/basic/BasicSliderUI.java:
9828         Fix indentation and comments.
9829         (propertyChange): Remove check for inverted slider, handle
9830         in main paint.
9831         (getMinimumSize): Return preferred size.
9832         (getMaximumSize): ditto.
9833         (calculateFocusRect): Don't relocate rectangle.
9834         (drawInverted): Return XOR of the slider's inversion and 
9835         the component's orientation.
9836         (paint): Update leftToRightCache
9837
9838 2004-02-13  David Jee  <djee@redhat.com>
9839
9840         * java/awt/GridBagLayout.java
9841         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9842         code to helper methods.
9843         (sortBySpan): New helper method.
9844         (distributeSizeAndWeight): Likewise.
9845         (calcCellWeights): Likewise.
9846         (calcCellSizes): Add comments.
9847
9848 2004-02-13  David Jee  <djee@redhat.com>
9849
9850         * java/awt/Component.java
9851         (show): Only do something if component is invisible at the moment.
9852         (hide): Only do something if component is visible at the moment.
9853         (reshape): If lightweight, erase old bounds and repaint new bounds.
9854
9855 2004-02-13  Kim Ho  <kho@redhat.com>
9856
9857         * Makefile.am: Updated for new file.
9858         * Makefile.in: Regenerated.
9859         * javax/swing/JSlider.java: Reimplement.
9860         * javax/swing/SwingUtilities.java
9861         (layoutCompoundLabel): Use icon height
9862         instead of width.
9863         (paintComponent): Implement.
9864         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9865         Add JSlider defaults.
9866         * javax/swing/plaf/basic/BasicSliderUI.java:
9867         Implement. New file.
9868
9869 2004-03-17  Michael Koch  <konqueror@gmx.de>
9870
9871         * gnu/java/net/PlainDatagramSocketImpl.java
9872         (RECEIVE_LOCK): New member field.
9873         (SEND_LOCK): New member field.
9874         (send0): New method.
9875         (send): Synchronize on SEND_LOCK.
9876         (receive0): New method.
9877         (receive): Synchronize on RECEIVE_LOCK.
9878         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9879         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9880         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9881         (send0): Renamed from send.
9882         (receive0): Renamed from receive.
9883 2004-03-17  Michael Koch  <konqueror@gmx.de>
9884
9885         * gnu/java/net/natPlainSocketImplPosix.cc
9886         (write): Just call write(jbyteArray, offset, len).
9887         (read): Just call read(jbyteArray, offset, len).
9888
9889 2004-03-16  Michael Koch  <konqueror@gmx.de>
9890
9891         * javax/swing/JTabbedPane.java
9892         (serialVersionUID): New field.
9893
9894 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9895
9896         * java/net/InetAddress.java
9897         (getByName): Handle hostname == "" case.
9898
9899 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9900
9901         Reported by: Adam Heath <doogie@debian.org>
9902         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9903         class loader.
9904
9905 2004-03-15  Michael Koch  <konqueror@gmx.de>
9906
9907         * java/util/Locale.java: Reverting my last patch
9908         and add a comment why the original version was okay.
9909
9910 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9911
9912         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9913         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9914         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9915         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9916
9917 2004-03-12  Michael Koch  <konqueror@gmx.de>
9918
9919         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9920
9921 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9922
9923         * java/net/URI.java (toURL): Implemented.
9924
9925 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9926
9927         * java/net/URI.java
9928         (URI_REGEXP) updated to contain scheme specific part.
9929         (SCHEME_SPEC_PART_GROUP) new constant.
9930         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9931         updated to make room for SCHEME_SPEC_PART_GROUP.
9932         (parseURI) parse scheme specific part.
9933         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9934         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9935         getQuery, getFragment) implemented.
9936
9937 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9938
9939         * libraries/javalib/java/net/URI.java
9940         partially implemented using java.util.regex.
9941         (URI_REGEXP) new constant. Used to parse URIs.
9942         (SCHEME_GROUP) new constant representing index of scheme group
9943         in parsed URI.
9944         (AUTHORITY_GROUP) new constant representing index of authority
9945         group in parsed URI.
9946         (PATH_GROUP) new constant representing index of path group in
9947         parsed URI.
9948         (QUERY_GROUP) new constant representing index of query group in
9949         parsed URI.
9950         (FRAGMENT_GROUP) new constant representing index of fragment
9951         group in parsed URI.
9952         (getURIGroup) new static utility method.
9953         (parseURI) implemented.
9954         (quote) stub for new static utility method.
9955         (quoteAuthority) stub for new static utility method.
9956         (quoteHost) stub for new static utility method.
9957         (quotePath) stub for new static utility method.
9958         (quoteUserInfo) stub for new static utility method.
9959         (URI) implemented.
9960         (create) don't throw URISyntaxException. Implemented.
9961         (toString) implemented.
9962
9963 2004-03-12  Michael Koch  <konqueror@gmx.de>
9964
9965         * java/net/HttpURLConnection.java
9966         (getResponseCode): Fix another typo in javadoc.
9967
9968 2004-03-11  Michael Koch  <konqueror@gmx.de>
9969
9970         * java/util/logging/Level.java
9971         (parse): Use String.equals() instead of ==.
9972
9973 2004-03-11  Michael Koch  <konqueror@gmx.de>
9974
9975         * gnu/java/net/protocol/jar/Connection.java
9976         (getContentLength): New method.
9977
9978 2004-03-11  Michael Koch  <konqueror@gmx.de>
9979
9980         * gnu/java/net/PlainSocketImpl.java:
9981         Reformated to merge better with classpath's version.
9982
9983 2004-03-11  Michael Koch  <konqueror@gmx.de>
9984
9985         * java/util/Locale.java
9986         (getISO3Language): Use String.equals() instead of ==.
9987         (getISO3Country): Likewise.
9988
9989 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9990
9991         * java/text/AttributedString.java
9992         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9993         Use HashMap instead of Hashtable since value can be null, and
9994         you can not store a null value in a Hashtable.
9995
9996 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9997
9998         * java/text/AttributedStringIterator.java
9999         (getAllAttributesKey): Return only keys concerned
10000         by the current iterator.
10001         (getAttributes): Use strict inequality for
10002         end_index. 
10003
10004 2004-03-11  Michael Koch  <konqueror@gmx.de>
10005
10006         * java/net/HttpURLConnection.java:
10007         Fixed typo in javadoc.
10008
10009 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10010
10011         * java/io/BufferedInputStream.java (marktarget): New field for max
10012         mark limit.
10013         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10014         (mark): Use new fields.
10015         (read): Likewise.
10016         (read(byte[],int,int)): Likewise.
10017         (skip): Likewise.
10018         (refill): Likewise.
10019
10020 2004-03-11  Mark Wielaard  <mark@klomp.org>
10021
10022         * java/beans/BeanDescriptor.java (BeanDescriptor):
10023         Set the FeatureDescriptor programmatic name.
10024
10025 2004-03-11  Michael Koch  <konqueror@gmx.de>
10026
10027         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10028         This file was was just copied form java/io/natFileDescriptorEcos.cc
10029         and never changed to compile correctly.
10030
10031 2004-03-11  Michael Koch  <konqueror@gmx.de>
10032
10033         * gnu/java/nio/PipeImpl.java
10034         (SourceChannelImpl): Made final.
10035         (read): Implemented.
10036         (SinkChannelImpl): Made final.
10037         (write): Implemented.
10038
10039 2004-03-11  Michael Koch  <konqueror@gmx.de>
10040
10041         * gnu/java/net/PlainDatagramSocketImpl.java:
10042         Reformated to match classpath's version more.
10043
10044 2004-03-11  Michael Koch  <konqueror@gmx.de>
10045
10046         * gnu/java/awt/peer/ClasspathFontPeer.java:
10047         Fixed javadoc to be correct xhtml.
10048         * gnu/java/awt/peer/gtk/GtkArgList.java
10049         (add): Use Boolean.valueOf() instead of new Boolean().
10050
10051 2004-03-09  Michael Koch  <konqueror@gmx.de>
10052
10053         * java/lang/Thread.java
10054         (runnable): Moved around.
10055         (daemon): Renamed from daemon_flag.
10056         (contextClassLoader): Renamed from context_class_loader.
10057         (Thread): Reordered constructors.
10058         (activeCount): Use group directly.
10059         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10060         (holdsLock): Reworked javadoc.
10061         (setDaemon): Reworked.
10062         * java/lang/natThread.cc
10063         (destroy): Removed.
10064
10065 2004-03-08  Anthony Green  <green@redhat.com>
10066
10067         * Makefile.am: Build property resource files into libgcj.
10068         * Makefile.in: Rebuilt.
10069         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10070         java/util/regex/PatternSyntaxException.java,
10071         gnu/regexp/CharIndexed.java,
10072         gnu/regexp/CharIndexedCharArray.java,
10073         gnu/regexp/CharIndexedInputStream.java,
10074         gnu/regexp/CharIndexedReader.java,
10075         gnu/regexp/CharIndexedString.java,
10076         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10077         gnu/regexp/REException.java,
10078         gnu/regexp/REFilterInputStream.java,
10079         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10080         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10081         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10082         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10083         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10084         gnu/regexp/RETokenLookAhead.java,
10085         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10086         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10087         gnu/regexp/RETokenStart.java,
10088         gnu/regexp/RETokenWordBoundary.java,
10089         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10090
10091 2004-03-03  Per Bothner  <per@bothner.com>
10092
10093         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10094         Optimize when argument is a FileChannelImpl.
10095         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10096         New native methods.
10097         * java/nio/channels/natChannels.cc:  New file for new native methods.
10098         * Makefile.am:  Update accordingly.
10099
10100 2004-03-02  Jan Hubicka  <jh@suse.cz>
10101
10102         * configure.host: Pass -fno-omit-frame-pointer for i386.
10103         * configure.in: Likewise.
10104         * configure: Regenerate.
10105
10106 2004-03-01  Per Bothner  <per@bothner.com>
10107
10108         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10109
10110 2004-02-29  Per Bothner  <per@bothner.com>
10111
10112         * java/nio/channels/FileChannelImpl.java:  Moved to package
10113         gnu/java/nio/channels, since we need to refer to it from java.io.
10114         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10115         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10116         from java/nio/channels.  Don't depend on FileDescriptor.
10117         (in, out, err):  New static fields.
10118         (mode):  New field.
10119         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10120         from FileDescriptor.
10121         (by):  Removed MappedByteBuffer field.
10122         (map):  New working implementation.
10123         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10124         some code "ported" from natFileDescriptoPosix.cc.
10125         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10126         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10127         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10128         Remove native methods.
10129         * Makefile.am, configure.in:  Updated accordingly.
10130
10131         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10132         (ch):  New FileChannelImpl field.  Update constructor to match.
10133         (releaseImpl):  Remove native method.  Instead ...
10134         (release):  Call unlock on channel.
10135         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10136
10137         * java/io/natFileDescriptorEcos.cc:  Remove file.
10138         * java/io/natFileDescriptorPosix.cc:  Remove file.
10139         * java/io/natFileDescriptorWin32.cc:  Remove file.
10140         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10141         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10142         (<init>(FileChannelImpl)):  New package-private constructor.
10143         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10144         (available, close, read, skip):  Implement using FileChannelImpl.
10145         (getFD):  Allocate FileDescriptor if needed.
10146         (getChannel):  Is now trivial.
10147         * java/io/FileOutputStream.java:  Corresponding changes.
10148         * java/io/RandomAccessFile.java:  Corresponding changes.
10149
10150         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10151         unmapImpl):  New dummy methods, to be overridden by subclass.
10152         (finalize, isLoaded, load, force):  New methods.
10153         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10154         Now works, at least for read mapping.
10155
10156         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10157         streams using FileChannelImpl, not FileDescriptor.
10158         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10159
10160 2004-02-28  Michael Koch  <konqueror@gmx.de>
10161
10162         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10163         wrong code.
10164
10165 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10166
10167         * java/io/ObjectInputStream.java
10168         (readClassDescriptor): Keep elements of the mapping non null.
10169         (checkTypeConsistency): New method.
10170         (readFields): Fixed main loop and base logic. Small reindentation.
10171         * java/io/ObjectStreamField.java
10172         (lookupField): New method to update the field reference.
10173         (checkFieldType): New method.
10174         * java/io/ObjectStreamClass.java
10175         (setClass, setFields): Call lookupField when building the field
10176         database. Check the real field type.
10177
10178 2004-02-28  Michael Koch  <konqueror@gmx.de>
10179
10180         * java/nio/ByteOrder.java
10181         (nativeOrder): Use equals() to compare strings.
10182
10183 2004-02-26  Michael Koch  <konqueror@gmx.de>
10184
10185         * gnu/java/nio/FileLockImpl.java
10186         (finalize): Made protected.
10187         * java/nio/channels/FileChannel.java
10188         (MapMode.READ_ONLY): Made final.
10189         (MapMode.READ_WRITE): Made final.
10190         (MapMode.PRIVATE): Made final.
10191         * java/nio/channels/SocketChannel.java
10192         (open): Simplified code.
10193         * java/nio/channels/spi/AbstractSelectableChannel.java
10194         (registered): Unused, removed.
10195         (keyFor): Check channel is open, only locate key
10196         and not add a new one.
10197         (register): Don't delete attachments.
10198
10199 2004-02-26  Michael Koch  <konqueror@gmx.de>
10200
10201         * gnu/java/awt/ComponentDataBlitOp.java
10202         (INSTANCE): Made final.
10203         * gnu/java/awt/image/ImageDecoder.java:
10204         Reworked imports.
10205         (cm): Unused, removed.
10206
10207 2004-02-26  Michael Koch  <konqueror@gmx.de>
10208
10209         * gnu/java/nio/DatagramChannelImpl.java
10210         (send): Check if target address is resolved.
10211
10212 2004-02-26  Michael Koch  <konqueror@gmx.de>
10213
10214         * Makefile.am: Generate and install headers for inner classes in
10215         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10216         * Makefile.in: Regenerated.
10217
10218 2004-02-24  Anthony Green  <green@redhat.com>
10219
10220         * java/lang/StringBuffer.java: No need to NULL out remainder of
10221         buffer since ensureCapacity_unsynchronized will have done this for
10222         us.
10223
10224 2004-02-20  Michael Koch  <konqueror@gmx.de>
10225
10226         * gnu/java/net/protocol/jar/Handler.java
10227         (): Removed unneeded check for file != null. java.net.URL.getFile()
10228         returns an empty string but never null.
10229
10230 2004-02-20  Michael Koch  <konqueror@gmx.de>
10231
10232         * gnu/gcj/convert/Convert.java
10233         (main): Use equals() to compare strings.
10234
10235 2004-02-20  Michael Koch  <konqueror@gmx.de>
10236
10237         * javax/swing/AbstractButton.java: Made several constants final.
10238         (getRolloverSelectedIcon): Made public.
10239         (getSelectedIcon): Made public.
10240
10241 2004-02-16  Per Bothner  <per@bothner.com>
10242
10243         * java/nio/CharBufferImpl.java:  Inline super constructor.
10244         * java/nio/DoubleBufferImpl.java:  Likewise.
10245         * java/nio/FloatBufferImpl.java:  Likewise.
10246         * java/nio/IntBufferImpl.java:  Likewise.
10247         * java/nio/LongBufferImpl.java:  Likewise.
10248         * java/nio/ShortBufferImpl.java:  Likewise.
10249         * java/nio/CharBuffer.java:  Remove unused constructor.
10250         * java/nio/DoubleBuffer.java:  Likewise.
10251         * java/nio/FloatBuffer.java:  Likewise.
10252         * java/nio/IntBuffer.java:  Likewise.
10253         * java/nio/LongBuffer.java:  Likewise.
10254         * java/nio/ShortBuffer.java:  Likewise.
10255         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10256         Fix buggy call to super constructor.
10257         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10258         * java/nio/FloatViewBufferImpl.java:  Likewise.
10259         * java/nio/IntViewBufferImpl.java:  Likewise.
10260         * java/nio/LongViewBufferImpl.java:  Likewise.
10261         * java/nio/ShortViewBufferImpl.java:  Likewise.
10262         
10263         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10264         java.nio classes can inherit it.
10265         (<init>):  Don't bother clearing array_offset.
10266         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10267         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10268         Remove redundant test.
10269
10270         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10271         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10272         Use new XxxViewBufferImpl constructors.
10273         * java/nio/MappedByteBufferImpl.java:  Likewise.
10274         * java/nio/DirectByteBufferImpl.java:  Likewise.
10275
10276         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10277         Inline super in remaining constructor.
10278         * java/nio/ByteBuffer.java:  Remove unused constructor.
10279
10280         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10281
10282         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10283         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10284         (offset):  Remove unused field.
10285         (<init>):  Modify one and add another constructor.  Change callers.
10286         (allocateDirect):  Removed - not used.
10287         (getImpl, putImpl):  Make static and pass address explicitly,
10288         to make them useful for MappedByteBufferImpl.
10289         (get, put):  Check for underflow.  Modify for new getImpl.
10290         (getImpl):  New native method where target is array.
10291         (get(byte[],int,int)):  Use the above.
10292         (adjustAddress):  New static native method.
10293         (slice, duplicate, asReadOnly):  New implementations.
10294         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10295         adjustAddress):  New or updated native methods.
10296
10297 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10298
10299         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10300         overflow of fieldmapping.
10301
10302 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10303
10304         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10305
10306 2004-02-14  Per Bothner  <per@bothner.com>
10307
10308         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10309         Set closed before calling implCloseChannel, as in the spec.
10310
10311 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10312
10313         * javax/swing/ToggleButtonModel.java: Remove dead class.
10314         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10315         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10316         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10317         * Makefile.am: Update for new and removed files.
10318         * Makefile.in: Regenerate.
10319
10320         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10321         * javax/swing/AbstractButton.java 
10322         (AbstractButton): Initialize fields correctly in ctor.
10323         * javax/swing/JCheckbox.java 
10324         (JCheckBox): Override painting flags.
10325         * javax/swing/DefaultButtonModel.java: Conform to sun.
10326         * javax/swing/JComponent.java (paint): Fill with background color
10327         if available.
10328         (processComponentKeyEvent)
10329         (processFocusEvent)
10330         (processKeyEvent)
10331         (processMouseMotionEvent): Remove event-consuming empty methods.
10332         (getUIClassID): Return "ComponentUI" not "JComponent"
10333         * javax/swing/JFrame.java: Remove some debugging chatter.
10334         (JFrame): Subscribe to window events.
10335         * javax/swing/JRadioButton.java 
10336         (JRadioButton): Override painting flags.
10337         * javax/swing/JRootPane.java 
10338         (JRootPane): Set background from UIDefaults.
10339         * javax/swing/JToggleButton.java 
10340         (ToggleButtonModel): New inner class.
10341         (JToggleButton): Override layout alighment.
10342         * javax/swing/SwingUtilities.java:
10343         (getLocalBounds): Return width and height, not x and y.
10344         (calculateInnerArea): Use local bounds, not bounds.
10345         (layoutCompoundLabel): Provide overridden form.
10346         (layoutCompoundLabel): Correct bugs.
10347         * javax/swing/UIDefaults.java: Correct comment.
10348         * javax/swing/plaf/basic/BasicButtonUI.java: 
10349         Move most logic into defaults, external listener.
10350         (paintIcon): Implement icon painting.
10351         (paint): Fix state painting to conform to changes in model.
10352         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10353         Remove most dead/wrong methods.
10354         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10355         * javax/swing/plaf/basic/BasicIconFactory.java:
10356         (DummyIcon): New class.
10357         (getMenuItemCheckIcon)
10358         (getMenuItemArrowIcon) 
10359         (getMenuArrowIcon)
10360         (getCheckBoxMenuItemIcon)
10361         (getRadioButtonMenuItemIcon)
10362         (createEmptyFrameIcon): Return DummyIcons, not null.
10363         (getCheckBoxIcon): Implement an icon that looks like sun's.
10364         (getRadioButtonIcon): Implement an icon that looks like sun's.
10365         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10366         (initComponentDefaults): Fix impossible values, add some missing.
10367         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10368         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10369         Remove most dead/wrong methods.
10370         (icon): New field.
10371         (getDefaultIcon): New method.
10372         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10373         Remove most dead/wrong methods.
10374         * javax/swing/plaf/metal/MetalLookAndFeel.java
10375         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10377         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10378         Implement "clearing" as drawing, when on pixmap drawables.
10379
10380         * javax/swing/JButton.java (getUIClassID): 
10381         * javax/swing/JCheckBox.java (getUIClassID):
10382         * javax/swing/JEditorPane.java (getUIClassID):
10383         * javax/swing/JLabel.java (getUIClassID): 
10384         * javax/swing/JList.java (getUIClassID): 
10385         * javax/swing/JOptionPane.java (getUIClassID): 
10386         * javax/swing/JPanel.java (getUIClassID): 
10387         * javax/swing/JPasswordField.java (uiClassID): 
10388         * javax/swing/JRadioButton.java (getUIClassID): 
10389         * javax/swing/JRootPane.java (getUIClassID): 
10390         * javax/swing/JScrollPane.java (getUIClassID): 
10391         * javax/swing/JTabbedPane.java (getUIClassID): 
10392         * javax/swing/JToggleButton.java (getUIClassID): 
10393         * javax/swing/JTree.java (getUIClassID): 
10394         * javax/swing/JViewport.java (getUIClassID): 
10395         * javax/swing/text/JTextComponent.java (getUIClassID):
10396         Return "fooUI" not "Jfoo"
10397
10398 2004-02-11  Michael Koch  <konqueror@gmx.de>
10399
10400         * java/net/DatagramSocket.java
10401         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10402         Boolean object.
10403         (setBroadcast): Likewise.
10404         * java/net/MulticastSocket.java
10405         (setLoopbackMode): Likewise.
10406         * java/net/ServerSocket.java
10407         (setReuseAddress): Likewise.
10408         * java/net/Socket.java
10409         (setTcpNoDelay): Likewise.
10410         (setSoLinger): Likewise.
10411         (setOOBInline): Likewise.
10412         (setKeepAlive): Likewise.
10413         (setReuseAddress): Likewise.
10414         * java/net/URLConnection.java
10415         (setContentHandler): Replace == with equals().
10416         * java/net/URLStreamHandler.java
10417         (hostSEquals): Fix checking host addresses.
10418         (toExternalForm): Dont check protocol for null. We know already its
10419         not null.
10420
10421 2004-02-10  David Jee  <djee@redhat.com>
10422
10423         * java/awt/BorderLayout.java
10424         (calcCompSize): Invisible components get zero dimensions.
10425         * java/awt/Button.java
10426         (setLabel): Set actionCommand.
10427         * java/awt/Component.java
10428         (show): Invalidate component and parent container.
10429         (hide): Likewise.
10430
10431 2004-02-10  David Jee  <djee@redhat.com>
10432
10433         * java/awt/GridBagLayout.java
10434         (GridBagLayout): New private field, internalcomptable.
10435         (lookupInternalConstraints): New method.
10436         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10437         (GetLayoutInfo): Reimplement.
10438         (calcCellSizes): Ignore rows/columns with size 0.
10439
10440 2004-02-10  Michael Koch  <konqueror@gmx.de>
10441
10442         * gnu/java/awt/EmbeddedWindow.java
10443         (setHandle): Use java.awt.Component.getPeer() instead of
10444         java.awt.Component.peer directly.
10445
10446 2004-02-10  David Jee  <djee@redhat.com>
10447
10448         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10449         (gtkSetLabel): New native method definition.
10450         (setLabel): Use gtkSetLabel.
10451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10452         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10453
10454 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10455
10456         * include/powerpc-signal.h: Revert 2004-01-21 change.
10457         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10458         from syscall for ppc32 versions.
10459
10460 2004-02-08  Per Bothner  <per@bothner.com>
10461
10462         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10463         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10464         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10465         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10466         Pass ByteOrder parameter to most methods, since the underlying
10467         ByteBuffer's order isn't always what we should use.
10468         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10469         * java/nio/DirectByteBufferImpl.java:  Likewise.
10470         Use ByteBufferHelper methods.
10471         * java/nio/MappedByteBufferImpl.java:  Likewise.
10472         (compact):  Use shiftDown.
10473         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10474         (get, put):  Use ByteBufferHelper.
10475         (compact):  Use new shiftDown method.
10476         (duplicate(boolean)):  New helper method.
10477         (duplicate, asReadOnlyBuffer):  Use it.
10478         (order):  Return endian field.
10479         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10480         * java/nio/FloatViewBufferImpl.java:  Likewise.
10481         * java/nio/IntViewBufferImpl.java:  Likewise.
10482         * java/nio/LongViewBufferImpl.java:  Likewise.
10483         * java/nio/ShortViewBufferImpl.java:  Likewise.
10484         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10485         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10486         (compact):  Re-implement using shiftDown.
10487
10488 2004-02-08  Andreas Jaeger  <aj@suse.de>
10489
10490         * include/x86_64-signal.h: Fix typo.
10491
10492 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10493
10494         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10495         qualifier to _regs.
10496         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10497
10498 2004-02-06  Michael Koch  <konqueror@gmx.de>
10499
10500         * java/io/ObjectInputStream.java
10501         (currentClassLoader): Reverted to old version of this method.
10502
10503 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10504
10505         * java/io/ObjectInputStream.java: Made all calls
10506         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10507         use cached info from ObjectStreamClass. (readClassDescriptor):
10508         Cache more information in ObjectStreamClass. (processResolution,
10509         readFields): Use cached info from ObjectStreamClass.
10510         (newObject): Throw exception instead of returning null for failure.
10511         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10512         setCharField, setDoubleField, setFloatField, setIntField,
10513         setLongField, setShortField, setObjectField, readObjectParams):
10514         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10515         check.
10516         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10517         (setClass): Added call to cacheMethods() (findMethod): New method.
10518         (cacheMethods): New method. (ObjectStreamClass): Added call to
10519         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10520         AccessController.doPrivileged to invoke setAccessible.
10521         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10522         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10523         New fields.
10524         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10525         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10526         isPrimitive): Made safe for cases where type == null.
10527         (setBooleanField, setByteField, setCharField, setShortField,
10528         setIntField, setLongField, setFloatField, setDoubleField,
10529         setObjectField): New methods.
10530
10531 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10532
10533         * java/awt/Component.java (getFont): Return a default font
10534         instead of null.
10535
10536         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10537         (Scrollbar (int, int, int, int, int)): Make default page
10538         increment 10.
10539         (setValues): Only call peer.setValues if one of the values has
10540         changed.
10541         (generateName): New method.
10542         (getUniqueLong): New method.
10543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10544         (range_scrollbar): Remove structure.
10545         (post_adjustment_event): Remove function.
10546         (post_change_event): Accept jobject argument.
10547         (create): Cast jints to gdoubles.  Round scrollbar values to the
10548         nearest integer.  Clamp min, max and value settings.
10549         (connectJObject): Connect hook to widget->window.
10550         (connectSignals): Remove range_scrollbar structure variables.
10551         Remove "move-slider" connection.  Pass global peer reference to
10552         "value-changed" callback.
10553         (setLineIncrement): Cast jint value to gdouble.
10554         (setPageIncrement): Likewise.
10555         (setValues): Likewise.  Clamp min, max and value settings.
10556
10557 2004-02-05  Michael Koch  <konqueror@gmx.de>
10558
10559         * javax/swing/AbstractCellEditor.java
10560         (getCellEditorValue): Removed.
10561         * javax/swing/Box.java: Reformated.
10562         (serialVersionUID): New field.
10563         * javax/swing/ButtonGroup.java:
10564         Removed some weird whitespace.
10565         * javax/swing/CellEditor.java: Reformated.
10566         * javax/swing/CellRendererPane.java
10567         (serialVersionUID): New field.
10568         (AccessibleCellRendererPaneserialVersionUID): New field.
10569         * javax/swing/DefaultListModel.java
10570         (serialVersionUID): New field.
10571         * javax/swing/JEditorPane.java
10572         (serialVersionUID): New field.
10573         (setPage): Throws IOException.
10574         (addHyperlinkListener): Implemented.
10575         (removeHyperlinkListener): Implemented.
10576         (getHyperlinkListener): New method.
10577         * javax/swing/JFileChooser.java
10578         (serialVersionUID): New field.
10579         (AccessibleJFileChooser.serialVersionUID): New field.
10580         (addActionListener): Implemented.
10581         (removeActionListener): Implemented.
10582         (getActionListeners): New method.
10583         * javax/swing/JFormattedTextField.java
10584         (serialVersionUID): New field.
10585         (AbstractFormatter.serialVersionUID): New field.
10586         (clone): Throws CloneNotSupportedException
10587         (setEditValid): Add missing argument.
10588         (stringToValue): Throws ParseExcpetion.
10589         (valueToString): Throws ParseException.
10590         (commitEdit): Throws ParseException.
10591         * javax/swing/JLabel.java
10592         (serialVersionUID): New field.
10593         * javax/swing/JList.java
10594         (serialVersionUID): New field.
10595         (addListSelectionListener): Reformated.
10596         (removeListSelectionListener): Reformated.
10597         (getListSelectionListeners): New method.
10598         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10599         Reformated.
10600         (serialVersionUID): New field.
10601         * javax/swing/table/AbstractTableModel.java
10602         (getValueAt): Removed.
10603         (getColumnCount): Removed.
10604         (getRowCount): Removed.
10605
10606 2004-02-05  Michael Koch  <konqueror@gmx.de>
10607
10608         * java/awt/datatransfer/DataFlavor.java
10609         (imageFlavor): Javadoc added.
10610         (javaJVMLocalObjectType): Fixed.
10611
10612 2004-02-05  Michael Koch  <konqueror@gmx.de>
10613
10614         * java/lang/Thread.java
10615         (Thread): Reordered.
10616         (setContextClassLoader): Fixed javadoc comment.
10617         (setPriority): Reordered.
10618         (yield): Reordered.
10619         (initialize_native): Reordered.
10620         (gen_name): Reordered.
10621
10622 2004-02-05  Michael Koch  <konqueror@gmx.de>
10623
10624         * java/lang/Thread.java: Reordered fields, reformated much code,
10625         no functional changes, some variables renamed, javadoc comments
10626         merged.
10627
10628 2004-02-05  Michael Koch  <konqueror@gmx.de>
10629
10630         * java/util/zip/Deflater.java,
10631         java/util/zip/DeflaterOutputStream.java,
10632         java/util/zip/GZIPInputStream.java:
10633         Reformated and javadoc comments merged from classpath.
10634
10635 2004-02-05  Michael Koch  <konqueror@gmx.de>
10636
10637         * gnu/java/nio/NIOServerSocket.java
10638         (impl): Unused, removed.
10639         * gnu/java/nio/SocketChannelImpl.java
10640         (finnishConnect): Don't throw NoConnectionPendingException if not
10641         connected or no connection pending.
10642
10643 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10644
10645         * javax/swing/SwingUtilities.java: Many new functions.
10646         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10647         * javax/swing/basic/BasicGraphicsUtils.java 
10648         (getPreferredButtonSize): Start layout from top-left corner.
10649
10650 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10651
10652         * java/awt/geom/AffineTransform.java: 
10653         Corrected comments on the field definitions for
10654         m11 and m10.
10655         (shear): Fixed few errors that caused shear
10656         transformation to be performed incorrectly.
10657         (createInverse): Fixed to return correct
10658         inverse of the given matrix.
10659
10660 2004-02-03  Tom Tromey  <tromey@redhat.com>
10661
10662         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10663         PATH or LD_LIBRARY_PATH is not set in parent environment.
10664
10665 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10666
10667         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10668         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10669         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10670         java/awt/Component.java, java/awt/Container.java,
10671         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10672         java/awt/LayoutManager2.java, java/awt/List.java,
10673         java/awt/Menu.java, java/awt/MenuBar.java,
10674         java/awt/MenuItem.java, java/awt/Polygon.java,
10675         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10676         java/awt/Scrollbar.java, java/awt/TextArea.java,
10677         java/awt/TextField.java,
10678         java/awt/image/renderable/RenderContext.java,
10679         javax/swing/JApplet.java: Fix handling of alias methods, where a
10680         method has been deprecated in favour of a new one with the same
10681         funtion but a different name.  Put the method implementation in
10682         the deprecated method and have the new method call the
10683         deprecated one.  Make all other code call the new method.
10684
10685 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10686
10687         * gnu/java/nio/DatagramChannelImpl.java
10688         (inChannelOperation): New field.
10689         (isInChannelOperation): New accessor.
10690         (setInChannelOperation): New modifier.
10691         (receive): Use capacity() - position() of destination
10692         buffer instead of remaining(). Set and reset our "in
10693         channel operation indicator" before and after delegating
10694         the receive to our datagram socket. Removed testing code.
10695         Update destination buffer's current position if it is
10696         backed by a byte array (hasArray() is true).
10697         (send): Set and reset our "in channel operation indicator"
10698         before and after delegating the send to our datagram socket.
10699         Removed testing code. Update source buffer's current position
10700         if it is backed by a byte array (hasArray() is true).
10701         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10702         Use capacity() - position() of destination buffer instead
10703         of remaining().
10704         * java/net/DatagramSocket.java (receive): Don't throw an
10705         IllegalBlockingModeException if we have a non-blocking
10706         channel which initiated this operation.
10707         (send): Likewise.
10708
10709 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10710
10711         * configure.in: Add pkgconfig check for glib and gthread.
10712         * configure: Regenerate.
10713
10714 2004-02-01  Michael Koch  <konqueror@gmx.de>
10715
10716         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10717         arguments.
10718         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10719         * verify.cc (debug_print): Mark 'fmt' unused.
10720
10721 2004-01-30  Michael Koch  <konqueror@gmx.de>
10722
10723         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10724         * configure: Regenerated.
10725         * glib-2.0.m4: Removed.
10726         * gtk-2.0.m4: Removed.
10727         * libart.m4: Removed.
10728         * pkg.m4: New file.
10729
10730 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10731
10732         * gnu/java/net/PlainSocketImpl.java 
10733         (inChannelOperation): New field.
10734         (isInChannelOperation): New accessor.
10735         (setInChannelOperation): New modifier.
10736         * gnu/java/nio/ServerSocketChannelImpl.java
10737         (accept): Set and reset our server socket's PlainSocketImpl's
10738         "in channel operation" indicator before and after delegating
10739         the accept to our server socket.
10740         * gnu/java/nio/SocketChannelImpl.java
10741         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10742         operation" indicator before and after delegating the operation to
10743         our socket.
10744         (read): Likewise.
10745         (write): Likewise.
10746         * java/net/ServerSocket.java (implAccept): Don't throw an
10747         IllegalBlockingModeException if we have a non-blocking
10748         channel which initiated this accept operation.
10749         * java/net/Socket.java (connect): Don't throw an
10750         IllegalBlockingModeException if we have a non-blocking
10751         channel which initiated this connect operation.
10752         * java/nio/channels/spi/AbstractSelectableChannel.java
10753         (configureBlocking): Only call implConfigureBlocking() if
10754         the desired blocking mode is different from our current one.
10755
10756 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10757
10758         * java/io/BufferedReader.java (sbuf): New field.
10759         (readLine): Use String.valueOf instead of new String() as per
10760         Per Bothner's suggestion. Use instance sbuf field instead of a
10761         local StringBuffer instance.
10762         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10763         caller's buffer to refill().
10764         (read(void)): Pass our internal work buffer to refill if our
10765         input queue is empty.
10766         (refill): Changed return type to int. Use the specified buffer
10767         instead of our work buffer as per Bryce McKinlay's suggestion.
10768         Return the number of characters read or -1 for EOF.
10769
10770 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10771
10772         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10773
10774 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10775
10776         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10777         * Makefile.in: Re-generated.
10778         * gnu/awt/xlib/XFontPeer.java: New file.
10779         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10780         (setClip): Commented out debug printout.
10781         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10782         (getFontPeer): Return XFontPeer.
10783         (getLocalGraphicsEnvironment): New method.
10784         (getClasspathFontPeer): New method.
10785         (createFont): New method.
10786
10787 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10788
10789         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10790         return null. 
10791
10792 2004-01-29  Kim Ho  <kho@redhat.com>
10793
10794         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10795         (gtkLayoutSetVisible): New method
10796         (setMenuBar): Hide layout before setting MenuBar
10797         and reshow it after.
10798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10799         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10800
10801 2004-01-28  Michael Koch  <konqueror@gmx.de>
10802
10803         * gnu/java/lang/ClassHelper.java
10804         (getPackagePortion): Removed.
10805
10806 2004-01-28  Michael Koch  <konqueror@gmx.de>
10807
10808         * javax/swing/JComponent.java
10809         (listenerList): Initalize globally.
10810         (ancestor_list): Removed.
10811         (veto_list): Removed.
10812         (change_list): Removed.
10813         (get_veto_list): Removed.
10814         (get_change_list): Removed.
10815         (get_ancestor_list): Removed.
10816         (removeAncestorListener): Reimplemented.
10817         (removePropertyChangeListener): Likewise.
10818         (removeVetoableChangeListener): Likewise.
10819         (addAncestorListener): Likewise.
10820         (addPropertyChangeListener): Likewise.
10821         (addVetoableChangeListener): Likewise.
10822         (getListeners): New method.
10823         (getAncestorListeners): Likewise.
10824         (getVetoableChangeListeners): Likewise.
10825         (fireVetoableChange): Throws PropertyVetoException.
10826         * javax/swing/JEditorPane.java
10827         (JEditorPane): Throws IOException.
10828
10829 2004-01-28  David Jee  <djee@redhat.com>
10830
10831         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10832         (create): Set the default foreground color to
10833         java.awt.SystemColor.windowText.
10834
10835 2004-01-27  Michael Koch  <konqueror@gmx.de>
10836
10837         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10838         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10839         Reindented to merge with classpath.
10840
10841 2004-01-27  David Jee  <djee@redhat.com>
10842
10843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10844         (addExposeFilter): Handle GtkFramePeer separately.
10845         (removeExposeFilter): Likewise.
10846
10847 2004-01-27  Michael Koch  <konqueror@gmx.de>
10848
10849         * gnu/java/net/protocol/http/Connection.java
10850         (getOutputStream): Fixed typo.
10851
10852 2004-01-27  Michael Koch  <konqueror@gmx.de>
10853
10854         * java/lang/Class.java
10855         (getConstructor): Removed SecurityException from throws clause.
10856         (_getConstructors): Likewise.
10857         (getConstructors): Likewise.
10858         (getDeclaredConstructor): Likewise.
10859         (getDeclaredClasses): Likewise.
10860         (getDeclaredConstructors): Likewise.
10861         (getDeclaredField): Likewise.
10862         (getDeclaredMethod): Likewise.
10863         (getDeclaredMethods): Likewise.
10864         (getField): Likewise.
10865         (getMethod): Likewise.
10866         (getMethods): Likewise.
10867
10868 2004-01-27  Kim Ho  <kho@redhat.com>
10869
10870         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10871         (removeMenuBarPeer): Remove MenuBarPeer argument.
10872         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10873         (dispose): Call native method.
10874         * java/awt/Frame.java (setMenuBar): Create and remove
10875         MenuBar peers only if the Frame has a peer.
10876         (addNotify): Create the MenuBar peer if one exists.
10877         (removeNotify): Remove MenuBar peer if one exists.
10878         * java/awt/Menu.java: Fix imports.
10879         (addNotify): Don't use full class name.
10880         (removeNotify): Call removeNotify on all children.
10881         * java/awt/MenuBar.java (removeNotify): Call
10882         removeNotify on all children.
10883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10884         (removeMenuBarPeer): Remove MenuBarPeer argument.
10885         Iterate through children to find the Frame's MenuBar.
10886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10887         New file.
10888         (dispose): Remove references to the MenuComponent.
10889
10890 2004-01-27  Michael Koch  <konqueror@gmx.de>
10891
10892         * javax/swing/AbstractCellEditor.java: Reformated.
10893         * javax/swing/DefaultListSelectionModel.java
10894         (listenerList): Made protected.
10895         (addListSelectionListener): Javadoc added.
10896         (removeListSelectionListener): Likewise.
10897         (getListeners): Likewise.
10898         (getListSelectionListeners): Likewise.
10899         * javax/swing/JComboBox.java: Merged copyright year.
10900         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10901
10902 2004-01-26  Andrew Haley  <aph@redhat.com>
10903
10904         * javax/swing/table/JTableHeader.java: Extend JComponent
10905
10906 2004-01-26  Kim Ho  <kho@redhat.com>
10907
10908         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10909         Fix spacing.
10910
10911 2004-01-26  Kim Ho  <kho@redhat.com>
10912
10913         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10914         method.
10915         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10916         height and let the Layout Managers readjust anything that
10917         needs to move.
10918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10919         (moveLayout): New method. Shift everything in the Gtk
10920         layout in the Y direction by an offset.
10921
10922 2004-01-26  David Jee  <djee@redhat.com>
10923
10924         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10925         (handleEvent): Implemented. Handles PaintEvents.
10926         (paint): Implemented. Use GTK native methods to queue updates
10927         for this heavyweight peer.
10928         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10929         (handleEvent): Removed.
10930         * java/awt/Component.java
10931         (paint): Implemented. Explictly paint the heavyweight peer.
10932         (update): Clear the background for heavyweight components.
10933         (paintAll): No need to call peer.paint() anymore.
10934         (processEvent): Don't process PaintEvents here. It's now done in
10935         the peer's handleEvent().
10936         (processPaintEvent): Removed.
10937         * java/awt/Container.java
10938         (paint): No need to call super.paint(). Visit heavyweight
10939         children as well.
10940         (update): Don't clear the background here.  It's done in
10941         Component.update().
10942         (visitChildren): Added check to not recurse into Containers.
10943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10944         (filter_expose_event_handler): New method.  Filter unwanted
10945         expose events while painting heavyweight peers.
10946         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10947         New method. Connect filter and block pre_event_handler.
10948         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10949         New method. Disconnect filter and unblock pre_event_handler.
10950         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10951         New method. Invalidate and update given area.
10952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10953         (pre_event_handler): Add checks for unwanted expose events.
10954
10955 2004-01-26  David Jee  <djee@redhat.com>
10956
10957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10958         (find_bg_color_widget): For GtkButton, return its child.
10959
10960 2004-01-26  Kim Ho  <kho@redhat.com>
10961
10962         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10963         private.
10964         (setMenuBar): Grab MenuBar height and change insets.
10965         (setBounds): Account for MenuBar height.
10966         (postInsetsChangedEvent): Ditto.
10967         (postSizeAllocateEvent): Remove.
10968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10969         (menubar_resize_cb): Remove
10970         (setMenuBarPeer): Remove callback.
10971         (getMenuBarHeight): Use size requisition instead of
10972         allocation.
10973
10974 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10975
10976         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10977         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10978         when peer is null.
10979         (setColumns): Remove FIXME -- peer will retrieve number of
10980         columns by calling getColumns.
10981         (setRows): Likewise for number of rows.
10982         (next_text_number): New field.
10983         (paramString): Fix param string.
10984         (generateName): New method.
10985         (getUniqueLong): New method.
10986
10987 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10988
10989         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10990         image observer of image loading status.
10991         (getImage (String)): Start image production.
10992         (getImage (URL)): Likewise.
10993
10994 2004-01-25  Michael Koch  <konqueror@gmx.de>
10995
10996         * java/lang/Class.java: Imports reworked, reformated.
10997         (Class): Javadoc added.
10998         (forName): Likewise.
10999         (getClasses): Likewise.
11000         (getClassLoader): Likewise.
11001         (getComponentType): Likewise.
11002         (getConstructor): Likewise.
11003         (getConstructors): Likewise.
11004         (getDeclaredConstructor): Likewise.
11005         (getDeclaredClasses): Likewise.
11006         (getDeclaredConstructors): Likewise.
11007         (getDeclaredField): Likewise.
11008         (getDeclaredMethod): Likewise.
11009         (getDeclaredMethods): Likewise.
11010         (getDeclaringClass): Likewise.
11011         (getField): Likewise.
11012         (getInterfaces): Likewise.
11013         (getMethod): Likewise.
11014         (getMethods): Likewise.
11015         (getModifiers): Likewise.
11016         (getName): Likewise.
11017         (getResource): Likewise.
11018         (getResourceAsStream): Likewise.
11019         (getSigners): Likewise.
11020         (setSigners): Likewise.
11021         (getSuperclass): Likewise.
11022         (isArray): Likewise.
11023         (isAssignableFrom): Likewise.
11024         (isInstance): Likewise.
11025         (isInterface): Likewise.
11026         (isPrimitive): Likewise.
11027         (newInstance): Likewise.
11028         (getProtectionDomain): Likewise.
11029         (toString): Likewise.
11030         (Class): Moved.
11031         (initializeClass): Likewise.
11032         (finalize): Likewise.
11033
11034 2004-01-24  Michael Koch  <konqueror@gmx.de>
11035
11036         * gnu/java/net/protocol/jar/Connection.java
11037         (hdrHash): Removed.
11038         (hdrVec): Removed.
11039         (gotHeaders): Removed.
11040         (getHeaderField): Removed.
11041         (getHeaderFields): Removed.
11042         (getHeaderFieldKey): Removed.
11043         (getKey): Removed.
11044         (getField): Removed.
11045         (getHeaders): Removed.
11046
11047 2004-01-24  Michael Koch  <konqueror@gmx.de>
11048
11049         * Makefile.am: Added library version to gtk peer lib.
11050         * Makefile.in: Regenerated.
11051
11052 2004-01-24  Michael Koch  <konqueror@gmx.de>
11053
11054         * java/util/zip/InflaterInputStream.java: Merged class documentation
11055         with classpath.
11056
11057 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11058
11059         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11060         header.  For __powerpc64__ provide the default-signal.h definitions
11061         for now.
11062         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11063         instead of the dummy definitions.
11064         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11065         (powerpc64*-*): Remove with_libffi_default.
11066         Only add -mminimal-toc for 64-bit compilations.
11067         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11068         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11069         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11070         * configure: Rebuilt.
11071
11072 2004-01-23  Michael Koch  <konqueror@gmx.de>
11073
11074         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11075
11076 2004-01-23  Michael Koch  <konqueror@gmx.de>
11077
11078         * java/lang/VMClassLoader.java: Reworked imports.
11079         
11080 2004-01-23  Michael Koch  <konqueror@gmx.de>
11081
11082         * javax/swing/AbstractAction.java: Reformated.
11083
11084 2004-01-23  Michael Koch  <konqueror@gmx.de>
11085
11086         * java/text/CollationElementIterator.java:
11087         (setText): New method.
11088
11089 2004-01-23  Michael Koch  <konqueror@gmx.de>
11090
11091         * gnu/java/nio/FileLockImpl.java:
11092         Fixed filename in copyright.
11093         (released): Removed.
11094         (finalize): New method.
11095         * gnu/java/nio/natFileLockImpl.cc
11096         (releaseImpl): Implemented.
11097         * java/nio/channels/FileChannelImpl.java:
11098         Reworked imports.
11099         (lock): Implemented.
11100         (lockImpl): New method.
11101         (tryLock): Implemented.
11102         (tryLockImpl): New method.
11103         * java/nio/channels/natFileChannelImpl.cc
11104         (lockImpl): New method.
11105         (tryLockImpl): New method.
11106
11107 2004-01-23  Michael Koch  <konqueror@gmx.de>
11108
11109         * java/io/FileDescriptor.java
11110         (lock): New method.
11111         (tryLock): New method.
11112         (unlock): New method.
11113         * java/io/natFileDescriptorEcos.cc
11114         (lock): New method.
11115         (tryLock): New method.
11116         (unlock): New method.
11117         * java/io/natFileDescriptorPosix.cc
11118         (lock): New method.
11119         (tryLock): New method.
11120         (unlock): New method.
11121         * java/io/natFileDescriptorWin32.cc
11122         (lock): New method.
11123         (tryLock): New method.
11124         (unlock): New method.
11125
11126 2004-01-23  Michael Koch  <konqueror@gmx.de>
11127
11128         * java/io/FileDescriptor.java
11129         (sync): Moved around, added javadoc.
11130         (valid): Likewise.
11131         (open): Likewise.
11132         (write): Likewise.
11133         (close): Likewise.
11134         (setLength): Likewise.
11135         (seek): Likewise.
11136         (getLength): Likewise.
11137         (getFilePointer): Likewise.
11138         (read): Likewise.
11139         (available): Likewise.
11140         (finalize): Likewise.
11141
11142 2004-01-23  Michael Koch  <konqueror@gmx.de>
11143
11144         * javax/swing/AbstractAction.java: Reformated.
11145         (getPropertyChangeListeners): New method.
11146         * javax/swing/AbstractCellEditor.java: Reformated.
11147         (getCellEditorListeners): New method.
11148         * javax/swing/DefaultListSelectionModel.java
11149         (listenerList): New field.
11150         (listeners): Removed.
11151         (get_listeners): Removed.
11152         (addListSelectionListener): Rewritten.
11153         (removeListSelectionListener): Rewritten.
11154         (getListSelectionListeners): New method.
11155         (getListeners): New method.
11156         * javax/swing/JComboBox.java: Imports reworked.
11157         (addActionListener): Implemented.
11158         (removeActionListener): Implemented.
11159         (addItemListener): Implemented.
11160         (removeItemListener): Implemented.
11161         (addPopupMenuListener): Implemented.
11162         (removePopupMenuListener): Implemented.
11163         (getActionListeners): New method.
11164         (getItemListeners): New method.
11165         (getPopupMenuListeners): New method.
11166
11167 2004-01-23  Michael Koch  <konqueror@gmx.de>
11168
11169         * gnu/java/net/protocol/http/Connection.java
11170         (connect): Don't initialize bufferedOutputStream if not needed.
11171         (sendRequest): Set property for content length if content is present.
11172         Write content only if present.
11173         (getOutputStream): Check if already connected, dont connect,
11174         initalize bufferedOutputStream if needed.
11175
11176 2004-01-23  Michael Koch  <konqueror@gmx.de>
11177
11178         * java/io/FileDescriptor.java
11179         (in, out, err): Added javadoc.
11180         (static): Merged loading code.
11181         (fd, position): Moved around.
11182
11183 2004-01-23  Michael Koch  <konqueror@gmx.de>
11184
11185         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11186         New file.
11187
11188 2004-01-23  Michael Koch  <konqueror@gmx.de>
11189
11190         * java/lang/Class.java,
11191         java/lang/Object.java,
11192         java/lang/Thread.java: Merged copyright with classpath.
11193
11194 2004-01-23  Michael Koch  <konqueror@gmx.de>
11195
11196         * java/io/FileDescriptor.java: Merged copyright with classpath to
11197         start merging this class.
11198
11199 2004-01-22  Tom Tromey  <tromey@redhat.com>
11200
11201         PR libgcj/13107:
11202         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11203         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11204         * testsuite/libjava.lang/pr13107_3.java: New file.
11205         * testsuite/libjava.lang/pr13107_3.out: New file.
11206         * testsuite/libjava.lang/pr13107_2.java: New file.
11207         * testsuite/libjava.lang/pr13107_2.out: New file.
11208         * testsuite/libjava.lang/pr13107.java: New file.
11209         * testsuite/libjava.lang/pr13107.out: New file.
11210         * verify.cc (jsr_ptrs): Removed.
11211         (entry_points): Likewise.
11212         (struct subr_info): Likewise.
11213         (struct subr_entry_info): Likewise.
11214         (type_val::unused_by_subroutine_type): Likewise.
11215         (type::merge): Don't handle unused_by_subroutine_type.
11216         (type::print): Likewise.
11217         (state::flags): Removed.
11218         (state::subroutine): Likewise.
11219         (state::seen_subrs): Likewise.
11220         (state::NO_STACK): Likewise.
11221         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11222         (state): Updated all methods.
11223         (state::clean_subrs): Removed.
11224         (state::state): Removed `ret_semantics' flag.
11225         (state::copy): Likewise.
11226         (state::add_subr): Removed.
11227         (state::enter_subroutine): Likewise.
11228         (type::set_return_address): New method.
11229         (handle_jsr_insn): Set return address on the type.  Always
11230         invalidate PC after call.
11231         (check_nonrecursive_call): Removed.
11232         (~_Jv_BytecodeVerifier): Updated.
11233         (branch_prepass): Removed special handling of jsr.
11234         (note_branch_target): Likewise.
11235         (get_subroutine): Removed.
11236         (state::merge): Don't merge subroutines and don't handle
11237         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11238         (state::note_variable): Removed.
11239         (state::is_unmerged_ret_state): Likewise.
11240         (state::print): Updated.
11241         (set_variable): Likewise.
11242         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11243         and jsr_semantics arguments.  Updated for new reverification
11244         list.
11245         (pop_jump): Rewrote.
11246         (construct_primitive_array_type): Updated.
11247         (state::next): Removed.
11248         (INVALID_STATE): New define.
11249         (state::INVALID): Removed.
11250         (state::NO_NEXT): New value.
11251         (state::pc, state::next): New fields.
11252         (state::get_pc): New method.
11253         (next_verify_pc): Removed.
11254         (next_verify_state): New field.
11255         (verify_instructions_0): Always check for falling off end.
11256         (linked): New type.
11257         (linked_utf8): Removed.
11258         (states): Changed type.
11259         (type::state_mergeable_p): New method.
11260         (state::state_mergeable_p): Likewise.
11261         (handle_ret_insn): Removed most code.
11262         (state::reverify): New method.
11263         (add_new_state): Likewise.
11264         (state::set_pc): Likewise.
11265
11266 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11267
11268         PR java/13733
11269         * testsuite/libjava.compile/PR13733.java: New file.
11270         * testsuite/libjava.compile/PR13733.xfail: New file.
11271
11272 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11273             Michael Koch  <konqueror@gmx.de>
11274
11275         * javax/swing/table/DefaultTableCellRenderer.java
11276         (DefaultTableCellRenderer): Added javadoc for the class and for
11277         the constructor, Border instance, create an EmptyBorder.
11278         (UIResource): Removed the comment at the end of the class
11279         (setForeground): New method.
11280         (setBackground): New method.
11281         (updateUI): New method.
11282         (getTableCellRendererComponent): Rewritten with the help of
11283         dvholten and Stephane Meslin-Weber.
11284         (validate): New method.
11285         (repaint): New method.
11286         (firePropertyChange): New method.
11287         (setValue): New method.
11288
11289 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11290
11291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11292         (connectJObject): Replace printf calls with g_assert statements.
11293         Move property-notify-event signal connection to ...
11294         (connectSignals): Connect property-notify-event signal.  Iterate
11295         through the vbox's children to find layout.
11296
11297 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11298         
11299         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11300         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11301         Predicate static initialization on GtkToolkit.useGraphics2D().
11302         * java/awt/Component.java (processPaintEvent): Consume event.
11303         * javax/swing/AbstractButton.java: Reimplement, document.
11304         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11305         * javax/swing/JComponent.java (paint): Use double buffer.
11306         (listenerList): Enable member.
11307         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11308         * javax/swing/JToggleButton.java 
11309         (JToggleButton): Modify model constructor.
11310         * javax/swing/SwingUtilities.java 
11311         (layoutCompoundLabel): Adjust arithmetic.
11312         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11313         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11314         (getPreferredButtonSize): Include margins in calculation.
11315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11316         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11317         Receive up events from subordinate layout component.
11318
11319 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11320
11321         * java/awt/Component.java (show): Set visible to true before
11322         showing the peer.
11323
11324 2004-01-21  Kim Ho  <kho@redhat.com>
11325
11326         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11327         Fix comments.
11328         (removeMenuBarPeer): Make package private.
11329         (setMenuBarPeer): Make package private.
11330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11331         (menubar_resize_cb): Mark attributes unused.
11332         (getMenuBarHeight): ditto.
11333
11334 2004-01-21  David Jee  <djee@redhat.com>
11335
11336         * java/awt/Container.java
11337         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11338         dispatching MOUSE_ENTERED event twice. Translate the point for
11339         the mouse event target before dispatching the event.
11340
11341 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11342
11343         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11344         lib_org_w3c_dom_la_LDFLAGS): New.
11345         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11346         * Makefile.in: Rebuilt.
11347
11348 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11349
11350         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11351         Calculate proper offsets for heavyweight components packed in
11352         lightweight containers.
11353
11354         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11356         (native create): Add width parameter.
11357         (create): Calculate text entry width based on current font's
11358         metrics and number of columns.  Set TextField's font if not
11359         already set.  Call native create.
11360         (gtkEntryGetBorderWidth): New native method.
11361         (gtkEntryGetSize): Remove method.
11362         (getMinimumSize): Call minimumSize.
11363         (getPreferredSize): Call preferredSize.
11364         (minimumSize): Calculate minimum size based on backing
11365         GtkEntry's borders, font metrics and number of columns.
11366         (preferredSize): Likewise for preferred size.
11367         (get_border_width): New static function.
11368
11369         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11370         Override GtkWindowPeer's setResizable method to account for menu
11371         bar height when setting the frame's size.
11372
11373 2004-01-19  Matthias Klose  <doko@debian.org>
11374
11375         * libtool-version: Increased `current' to 6.
11376
11377 2004-01-19  Kim Ho  <kho@redhat.com>
11378
11379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11380         (connectJObject): Iterate through the vbox's children to find layout.
11381
11382 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11383
11384         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11385         isDispatchThread method to replace wrong test condition.
11386
11387 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11388
11389         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11390         events to the queue out of order by acquiring locks in the proper
11391         order and not by releasing one before acquiring the other.
11392
11393 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11394
11395         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11396         visible so that dialog can be reused.
11397
11398 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11399
11400         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11401         events may be handled by any queue in the stack.
11402
11403 2004-01-19  Kim Ho  <kho@redhat.com>
11404
11405         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11406         MenuBarPeer parameter.
11407         (removeMenuBarPeer): New native method.
11408         (setMenuBar): Call remove if menu bar is null. Adjust insets
11409         appropriately.
11410         (postSizeAllocateEvent): New method. Called when menu bar size is
11411         allocated. Adjust insets and redo layout.
11412         (GtkFramePeer): Set menu bar during frame creation.
11413         (postConfigureEvent): Adjust position and size to accomodate
11414         menu bar.
11415         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11416         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11417         (addNotify): Create the peer if it doesn't exist and call addNotify
11418         for the menu's items.
11419         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11420         * java/awt/MenuItem.java (addNotify): Create the peer if it
11421         doesn't exist.
11422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11423         (removeMenuBarPeer): New method. Remove menu bar on the current
11424         frame.
11425         (setMenuBarPeer): Add the menu bar to the current frame and the
11426         callback for size-allocate events on the menu bar.
11427         (getMenuBarHeight): Add menu bar parameter.
11428         (menubar_resize_cb): New callback method for postSizeAllocate events.
11429
11430         Also: Fix indentation on last ChangeLog entry.
11431
11432 2004-01-16  Kim Ho  <kho@redhat.com>
11433
11434         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11435         (gtkWidgetGetDimensions): Remove.
11436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11437         (gtkWidgetGetDimensions): Remove.
11438
11439 2004-01-16  Tom Tromey  <tromey@redhat.com>
11440
11441         * java/awt/Container.java: Typo and indentation fixes.
11442
11443         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11444         * java/lang/natVMClassLoader.cc: ...here.  New file.
11445         * Makefile.in: Rebuilt.
11446         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11447
11448 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11449
11450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11451         Discard GDK_ENTER_NOTIFY related to ungrabs.
11452
11453 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11454
11455         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11456         is called for an intermediate queue.
11457
11458 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11459
11460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11461         (window_property_changed_cb): Set id_set.
11462
11463 2004-01-16  Kim Ho  <kho@redhat.com>
11464
11465         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11466         it is a FileDialog and has dimensions of 0 by 0, then the initial
11467         size is set to size request plus insets.
11468         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11469         (gtkWidgetGetDimensions): Override method.
11470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11471         (gtkWidgetGetDimensions): Override method. Returns size request plus
11472         insets.
11473
11474 2004-01-16  Andrew Haley  <aph@redhat.com>
11475
11476         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11477         * sysdep/i386/locks.h: Likewise.
11478
11479 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11480
11481         * java/awt/EventDispatchThread.java (run): Stop running when
11482         interrupted.
11483         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11484         Reset the queue after transferring its contents.
11485         (push): Start a new dispatch thread if none is running.
11486
11487 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11488
11489         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11490         (doPolygon): set fill rule of polygon to 
11491         WIND_EVEN_ODD by default.
11492
11493 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11494
11495         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11496         Implemented rendering hints related methods.
11497         (getDefaultHints): New helper method. Returns
11498         default rendering hints.
11499         (walkPath): changed to normalize path if
11500         the KEY_STROKE_CONTROL key is in "normalize" mode.
11501         (draw3DRect): changed coordinates of rectangle by +0.5
11502         if in "normalize" mode.
11503
11504 2004-01-15  Tom Tromey  <tromey@redhat.com>
11505
11506         * Makefile.in: Rebuilt.
11507         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11508         (%.lo: %.java) Filter out StackTrace.lo.
11509
11510 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11511
11512         * configure.in: Add in AC_PREREQ(2.13)
11513         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11514         FIXME comment.
11515
11516 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11517             Tom Tromey  <tromey@redhat.com>
11518
11519         PR libgcj/12001:
11520         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11521         array to superclass.
11522         (init): Changed interface; add URLs here.
11523         (initialize): New static method.
11524         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11525         (_Jv_RunMain): ... not here.
11526
11527 2004-01-14  Michael Koch  <konqueror@gmx.de>
11528
11529         * java/text/MessageFormat.java:
11530         Added descriptions to exceptions.
11531         This fixes PR libgcj/2429.
11532
11533 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11534
11535         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11536         (push): Make sure push is performed at the top of the thread stack.
11537
11538 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11539
11540         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11542         (native create): Add width and height parameters.  Set text
11543         view's size request according to new parameters.
11544         (create): Calculate text view size based on current font's
11545         metrics and number of rows and columns.  Set TextArea's font if
11546         not already set.  Call native create.
11547         (getMinimumSize): Call minimumSize.
11548         (getPreferredSize): Call preferredSize.
11549         (getHScrollbarHeight): New method.
11550         (getVScrollbarWidth): New method.
11551         (minimumSize): Calculate minimum size based on scrollbar
11552         visibility, scrollbar sizes, font metrics and number of rows and
11553         columns.
11554         (preferredSize): Likewise for preferred size.
11555         (gtkTextGetSize): Remove method.
11556
11557 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11558
11559         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11560         (initializeInsets): Remove method.
11561         (GtkComponentPeer): Initialize insets field.  Remove call to
11562         initializeInsets.
11563         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11564         Remove method.
11565         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11566         Remove method.
11567         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11568         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11569         (latestInsets): Remove field.
11570         (native create): Add insets parameter.  Call
11571         window_get_frame_extents.  Set the window's default size and
11572         size request based on its frame extents.
11573         (create): Initialize insets.
11574         (postInsetsChangedEvent): New method.
11575         (postConfigureEvent): Remove parameters top, left, bottom,
11576         right.  Remove insets-related logic.
11577         (connectJObject): Handle property-notify-event.
11578         (window_get_frame_extents, request_frame_extents,
11579         property_notify_predicate, window_property_changed_cb): New
11580         static functions.
11581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11582         (pre_event_handler): Remove insets-related logic for configure
11583         events.
11584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11585         Update postConfigureEvent signature.
11586
11587 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11588  
11589         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11590         to handle Window "Closing" events.
11591  
11592 2004-01-13  David Jee  <djee@redhat.com>
11593
11594         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11595         (setBackground): New method. Children with no explicitly-set
11596         background will be repainted with the parent container's new
11597         background color.
11598
11599 2004-01-13  David Jee  <djee@redhat.com>
11600
11601         * Makefile.am: Add BitwiseXORComposite.java.
11602         * Makefile.in: Regenerated.
11603         * gcj/Makefile.in: Regenerated.
11604         * include/Makefile.in: Regenerated.
11605         * testsuite/Makefile.in: Regenerated.
11606
11607 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11608
11609         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11610         not show modal dialogs twice and so that it allows showing a modal
11611         dialog from another modal dialog.
11612
11613 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11614
11615         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11616         and run secondary dispatch thread to process event queue while this
11617         thread is blocked.
11618
11619 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11620
11621         * gnu/java/awt/gtk/GdkGraphics2D.java
11622         (static): Check GtkToolkit before initializing static state.
11623         (Graphics2D): Don't construct transform with 0.5 unit offset.
11624
11625 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11626
11627         * gnu/java/awt/BitwiseXORComposite.java: Add.
11628         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11629         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11630         (BitwiseXORComposite): Remove inner class.
11631
11632 2004-01-11  Michael Koch  <konqueror@gmx.de>
11633
11634         * gnu/java/lang/reflect/TypeSignature.java
11635         (getEncodingOfClass): Documentation fixed.
11636         (getClassForEncoding): Give class loader to Class.forName().
11637         Documentation fixed.
11638
11639 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11640
11641         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11642
11643 2004-01-11  Michael Koch  <konqueror@gmx.de>
11644
11645         * javax/swing/undo/StateEditable.java
11646         (RCSID): Removed redundant modifiers.
11647
11648 2004-01-10  Michael Koch  <konqueror@gmx.de>
11649
11650         * javax/print/attribute/EnumSyntax.java
11651         (getStringTable): Made protected.
11652         (getEnumValueTable): Likewise.
11653         * javax/print/attribute/standard/JobKOctetsProcessed.java
11654         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11655         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11656         (JobMediaSheetsCompleted): Made class final.
11657         * javax/print/attribute/standard/OutputDeviceAssigned.java
11658         (getName): Fixed typo.
11659         * javax/print/attribute/standard/RequestingUserName.java
11660         (serialVersionUID): Fixed value.
11661
11662 2004-01-10  Michael Koch  <konqueror@gmx.de>
11663
11664         * javax/swing/plaf/basic/BasicButtonUI.java,
11665         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11666         javax/swing/plaf/basic/BasicListUI.java,
11667         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11668         javax/swing/plaf/basic/BasicPanelUI.java,
11669         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11670         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11671         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11672         javax/swing/plaf/basic/BasicViewportUI.java:
11673         Fixed import statements.
11674
11675 2004-01-10  Michael Koch  <konqueror@gmx.de>
11676
11677         * gnu/java/awt/image/ImageDecoder.java
11678         (produce): Made public.
11679         * gnu/java/awt/peer/GLightweightPeer.java,
11680         gnu/java/awt/peer/gtk/GtkToolkit.java:
11681         Reformated.
11682
11683 2004-01-10  Michael Koch  <konqueror@gmx.de>
11684
11685         * javax/swing/JRadioButtonMenuItem.java,
11686         javax/swing/JSeparator.java,
11687         javax/swing/JSplitPane.java,
11688         javax/swing/JTextPane.java,
11689         javax/swing/JToolBar.java,
11690         javax/swing/ListCellRenderer.java,
11691         javax/swing/ListModel.java,
11692         javax/swing/MenuElement.java,
11693         javax/swing/OverlayLayout.java,
11694         javax/swing/ProgressMonitor.java,
11695         javax/swing/ProgressMonitorInputStream.java,
11696         javax/swing/Renderer.java,
11697         javax/swing/RootPaneContainer.java,
11698         javax/swing/Scrollable.java,
11699         javax/swing/SingleSelectionModel.java,
11700         javax/swing/ToolTipManager.java,
11701         javax/swing/ViewportLayout.java,
11702         javax/swing/event/DocumentEvent.java,
11703         javax/swing/event/SwingPropertyChangeSupport.java,
11704         javax/swing/event/TreeSelectionEvent.java,
11705         javax/swing/event/UndoableEditEvent.java,
11706         javax/swing/text/AbstractDocument.java,
11707         javax/swing/text/AttributeSet.java,
11708         javax/swing/text/Caret.java,
11709         javax/swing/text/ComponentView.java,
11710         javax/swing/text/DefaultCaret.java,
11711         javax/swing/text/DefaultEditorKit.java,
11712         javax/swing/text/Document.java,
11713         javax/swing/text/EditorKit.java,
11714         javax/swing/text/GapContent.java,
11715         javax/swing/text/Keymap.java,
11716         javax/swing/text/MutableAttributeSet.java,
11717         javax/swing/text/PlainEditorKit.java,
11718         javax/swing/text/Segment.java,
11719         javax/swing/text/Style.java,
11720         javax/swing/text/StyledDocument.java,
11721         javax/swing/text/StyledEditorKit.java,
11722         javax/swing/text/TextAction.java,
11723         javax/swing/text/View.java: Fixed import statements.
11724
11725 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11726
11727         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11728         djee@redhat.com's recent inverse ordering of Container elements.
11729
11730 2004-01-09  Michael Koch  <konqueror@gmx.de>
11731
11732         * gnu/java/lang/ArrayHelper.java
11733         (equalsArray): Removed.
11734
11735 2004-01-09  Andrew Haley  <aph@redhat.com>
11736
11737         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11738         a Utf8Const field before looking at its class.
11739
11740 2004-01-09  Michael Koch  <konqueror@gmx.de>
11741
11742         * javax/print/attribute/standard/DocumentName.java,
11743         javax/print/attribute/standard/JobHoldUntil.java,
11744         javax/print/attribute/standard/JobMessageFromOperator.java,
11745         javax/print/attribute/standard/JobName.java,
11746         javax/print/attribute/standard/JobOriginatingUserName.java,
11747         javax/print/attribute/standard/OutputDeviceAssigned.java,
11748         javax/print/attribute/standard/PrinterInfo.java,
11749         javax/print/attribute/standard/PrinterLocation.java,
11750         javax/print/attribute/standard/PrinterMakeAndModel.java,
11751         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11752         javax/print/attribute/standard/PrinterName.java,
11753         javax/print/attribute/standard/RequestingUserName.java: New files.
11754         * Makefile.am (javax_source_files): Added new files.
11755         * Makefile.in: Regenerated.
11756
11757 2004-01-09  Michael Koch  <konqueror@gmx.de>
11758
11759         * javax/swing/AbstractAction.java,
11760         javax/swing/AbstractSet.java,
11761         javax/swing/Action.java,
11762         javax/swing/ActionMap.java,
11763         javax/swing/BoundedRangeModel.java,
11764         javax/swing/ButtonModel.java,
11765         javax/swing/CellEditor.java,
11766         javax/swing/CellRendererPane.java,
11767         javax/swing/ComboBoxEditor.java,
11768         javax/swing/DebugGraphics.java,
11769         javax/swing/DefaultCellEditor.java,
11770         javax/swing/DefaultCellRenderer.java,
11771         javax/swing/DefaultComboBoxModel.java,
11772         javax/swing/DefaultDesktopManager.java,
11773         javax/swing/DefaultFocusManager.java,
11774         javax/swing/DefaultListCellRenderer.java,
11775         javax/swing/Icon.java,
11776         javax/swing/JButton.java,
11777         javax/swing/JCheckBoxMenuItem.java,
11778         javax/swing/JDesktopPane.java,
11779         javax/swing/JEditorPane.java,
11780         javax/swing/JMenu.java,
11781         javax/swing/JPanel.java,
11782         javax/swing/JPasswordField.java,
11783         javax/swing/JPopupMenu.java,
11784         javax/swing/JProgressBar.java: Reworked imports.
11785
11786 2004-01-09  Michael Koch  <konqueror@gmx.de>
11787
11788         * java/awt/geom/PathIterator.java
11789         (WIND_EVEN_ODD): Removed redundant modifiers.
11790         (WIND_NON_ZERO): Likewise.
11791         (SEG_MOVETO): Likewise.
11792         (SEG_LINETO): Likewise.
11793         (SEG_QUADTO): Likewise.
11794         (SEG_CUBICTO): Likewise.
11795         (SEG_CLOSE): Likewise.
11796         * java/awt/image/SinglePixelPackedSampleModel.java:
11797         Removed redundant semicolon.
11798         * java/io/ObjectInputStream.java
11799         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11800         * java/util/logging/Filter.java
11801         (isLoggable): Removed redundant modifier.
11802         * java/util/logging/LogManager.java:
11803         Removed redundant semicolon.
11804         * java/util/logging/XMLFormatter.java
11805         (format): Removed unused variable "key".
11806
11807 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11808
11809         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11810         New name for the former setFile native method.
11811         (setFile): New method.
11812         (setDirectory): Implemented.
11813         (connectSignals): New native method.
11814         (setFilenameFilter): Improve comment.
11815         (getGraphics): Comment.
11816         (gtkHideFileDialog): New method.
11817         (gtkDisposeFileDialog): New method.
11818         (gtkSetFilename): New method.
11819         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11820         for FileDialog for now.
11821         (hide): New method.
11822         (dispose): New method.
11823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11824         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11825         deprecated creation functions.  Make dialog modal.  Add it to the
11826         window group.
11827         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11828         function.
11829         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11830         Rename to...
11831         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11832         name.
11833         (window_closed): New function.
11834         (ok_clicked): New function.
11835         (cancel_clicked): New function.
11836
11837 2004-01-08  Michael Koch  <konqueror@gmx.de>
11838
11839         * javax/swing/JLayeredPane.java: Revert changes to standard
11840         boilerplate, reworked imports.
11841
11842 2004-01-07  Tom Tromey  <tromey@redhat.com>
11843
11844         PR libgcj/13439:
11845         * verify.cc (state::merge): Copy changed locals out of subroutine
11846         in NO_STACK case.
11847         (state::FLAG_CHANGED): New const.
11848         (state::FLAG_UNUSED): Likewise.
11849         (state::local_changed): Removed.  Updated all users.
11850         (state::flags): New field.
11851         (state::merge): Added jsr_semantics argument, more logic.
11852         (push_jump_merge): Added jsr_semantics argument.
11853         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11854         merging through the jsr instruction.
11855
11856 2004-01-07  Tom Tromey  <tromey@redhat.com>
11857
11858         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11859         backslash-newline.
11860
11861 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11862
11863         * java/awt/Container.java (LightweightDispatcher): Implement.
11864         (visitChild): Reuse graphics object.
11865         (dispatchEventImpl): Optionally dispatch to lightweight.
11866         (addNotifyContainerChildren): Build LightweightDispatcher.
11867
11868 2004-01-07  David Jee  <djee@redhat.com>
11869
11870         * java/awt/Container.java
11871         (update): Clear only the clipped region, instead of clearing the
11872         entire Container.
11873         (visitChildren): Visit children in descending order.
11874
11875 2004-01-07  Michael Koch  <konqueror@gmx.de>
11876
11877         * java/lang/reflect/Array.java: Merged documentation with classpath.
11878
11879 2004-01-07  Michael Koch  <konqueror@gmx.de>
11880
11881         * java/text/CollationElementIterator.java
11882         (textIndex): Renamed from index.
11883         * java/text/CollationKey.java
11884         (collator): New member.
11885         (CollationKey): New argument for parent collator.
11886         (equals): Check for same collator, source string and key array.
11887         * java/text/RuleBasedCollator.java:
11888         Reformated.
11889         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11890         value.
11891         (getCollationElementIterator): Rewritten.
11892         (getCollationKey): Added new argument to CollationKey constructor.
11893
11894 2004-01-07  Michael Koch  <konqueror@gmx.de>
11895
11896         * gnu/java/nio/DatagramChannelImpl.java
11897         (blocking): Removed.
11898         (DatagramChannelImpl): Call configureBlocking().
11899         (implConfigureBlocking): Dont initialize blocking.
11900         * gnu/java/nio/ServerSocketChannelImpl.java
11901         (blocking): Removed.
11902         (ServerSocketChannelImpl): Call configureBlocking().
11903         (implConfigureBlocking): Dont initialize blocking.
11904         * gnu/java/nio/SocketChannelImpl.java
11905         (blocking): Removed.
11906         (SocketChannelImpl): Call configureBlocking().
11907         (implConfigureBlocking): Dont initialize blocking.
11908         (connect): Use isBlocking().
11909         * java/nio/channels/spi/AbstractSelectableChannel.java
11910         (configureBlocking): Use blockingLock() instead of LOCK.
11911         Set blocking after successfully called implConfigureBlocking().
11912         (register): Use blockingLock() instead of LOCK.
11913
11914 2004-01-07  Michael Koch  <konqueror@gmx.de>
11915
11916         * java/net/ServerSocket.java (isBound): Fixed documentation.
11917
11918 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11919
11920         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11921         (changeEvent): Create event object on demand.
11922         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11923         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11924         fireStateChanged): Re-written.
11925         * javax/swing/event/EventListenerList.java: Reformatted, document
11926         typical usage.
11927         (toString): Implemented.
11928         (getListeners): Re-written.
11929         (remove): Re-written.
11930         (add): Re-written.
11931         (NO_LISTENERS): New singleton field.
11932         (listenerList): Declare as transient; document.
11933         (serialVersionUID): Document.
11934         (getListenerCount(Class)): More efficient implementation,
11935         also accepts null argument.  Improve Javadoc.
11936         (getListenerCount()): Remove unnecessary cast; docfix.
11937         * javax/swing/undo/UndoableEditSupport.java:
11938         Re-format, document.
11939         (UndoableEditSupport): Set realSource field. Improve documentation.
11940         (_postEdit): Iterate over cloned listener vector.
11941         (toString): Don't emit realSource.
11942         (beginUpdate, endUpdate): Support nested updates.
11943         (postEdit): Use compound edit if present.
11944
11945 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11946
11947         * java/awt/Container.java (swapComponents): Add forgotten
11948         function, required for JLayeredPane change.
11949
11950 2004-01-06  Michael Koch  <konqueror@gmx.de>
11951
11952         * java/text/CollationElementIterator.java: Reformated.
11953         (CollationElementIterator): Changed order of arguments.
11954         * java/text/RuleBasedCollator.java
11955         (RuleBasedCollator): Merged class documentation.
11956         (CollationElement): Added documentation.
11957         (compare): Reformated, renamed arguments.
11958         (equals): Likewise.
11959         (getCollationElementIterator): Likewise.
11960         (getCollationKey): Likewise.
11961
11962 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11963
11964         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11965
11966 2004-01-06  Michael Koch  <konqueror@gmx.de>
11967
11968         * gnu/java/net/protocol/file/Connection.java:
11969         Reformated copyright.
11970         (hdrHash): Removed.
11971         (hdrVec): Removed.
11972         (gotHeaders): Removed.
11973         (getHeaderField): Removed.
11974         (getHeaderField): Removed.
11975         (getHeaderFieldKey): Removed.
11976         (getKey): Removed.
11977         (getField): Removed.
11978         (getHeaders): Removed.
11979
11980 2004-01-06  Michael Koch  <konqueror@gmx.de>
11981
11982         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11983         javax/print/attribute/standard/DateTimeAtCreation.java,
11984         javax/print/attribute/standard/DateTimeAtProcessing.java,
11985         javax/print/attribute/standard/JobImpressionsCompleted.java,
11986         javax/print/attribute/standard/JobKOctets.java,
11987         javax/print/attribute/standard/JobKOctetsProcessed.java,
11988         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11989         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11990         * Makefile.am (javax_source_files): Added new files.
11991         * Makefile.in: Regenerated.
11992
11993 2004-01-06  Michael Koch  <konqueror@gmx.de>
11994
11995         * java/net/URLConnection.java
11996         (contentHandler): Removed.
11997         (locale): Removed.
11998         (getHeaderFields): Return an empty map instead of null.
11999         (getContent): Connect if needed, renamed "cType" to "type" and
12000         "contentHandler" to "ch" and made it a local variable.
12001         (getPermission): Don't use package in class name.
12002         (setDefaultRequestProperty): Fixed typo in documentation.
12003         (initializeDateFormats): Made locale a local variable.
12004
12005 2004-01-06  Michael Koch  <konqueror@gmx.de>
12006
12007         * java/lang/Package.java
12008         (getPackage): Get the current class loader directly.
12009         * java/lang/SecurityManager.java
12010         (currentLoadedClass): Dont iterate over class contexts.
12011         (classLoaderDepth): Don't check class loaders if everything is allowed.
12012
12013 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12014
12015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12016         (pre_event_handler): Set all insets to 0 when a Configure event
12017         is received for a GtkPlug.
12018         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12019         Make handle long, not int.
12020         (EmbeddedWindow()): New constructor.
12021         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12022         long, not int.
12023         (setHandle): New method.
12024         (getHandle): Return long, not int.
12025         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12026         declaration.
12027         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12028         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12029         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12030         argument to GdkNativeWindow.
12031         (construct): New method.
12032         (embed): New method.
12033
12034         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12035         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12036         (create(int, int)): New method.
12037         (create): Call new create method.
12038         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12039         methods.
12040         (childResized): Remove native implementation.  Implement in
12041         Java.
12042         (getHScrollbarHeight, getVScrollbarWidth): Call
12043         gtk_widget_size_request to get scrollbar dimensions.
12044         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12045         call getVScrollbarWidth and getHScrollbarHeight when vertical
12046         and horizontal scrollbars respectively are needed.
12047         (doLayout): Enlarge child if it is smaller than the viewport.
12048
12049 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12050
12051         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12052         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12053         argument as per spec.
12054
12055 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12056
12057         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12058         (insert): Ditto.
12059         (remove): Ditto.  Also, Check for valid argument.
12060         (removeAll): Use peer interface method.
12061         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12062         native add function.
12063         (nativeRemove): New name for native remove function.
12064         (getHistory): New native function.
12065         (constructor): Generate ItemEvent.
12066         (add): Ditto, if selection is changed.
12067         (remove): Ditto, ditto.
12068         (removeAll): Add implementation.
12069         (handleEvent): Remove.  Dead code.
12070         (choicePostItemEvent): Add comment.
12071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12072         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12073         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12074         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12075         comments and fix condition to change selection.
12076         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12077         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12078         remove all capability.
12079         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12080         (item_activate): Add cast to remove compiler warning.
12081
12082 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12083
12084         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12085         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12086         (getPreferredSize): Call preferredSize.
12087         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12088         (getMinimumSize): Call minimumSize.
12089         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12090         (gtkWidgetGetDimensions): Return the peer widget's current size
12091         request.
12092         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12093         natural size request.
12094
12095 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12096
12097         Thanks to Brian Gough <bjg@network-theory.com>
12098         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12099         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12100
12101 2004-01-04  Matthias Klose  <doko@debian.org>
12102
12103         * aclocal.m4: Rebuilt using "aclocal -I .".
12104         * configure: Rebuilt.
12105
12106 2004-01-03  Per Bothner  <per@bothner.com>
12107
12108         * java/util/Date.java (parse):  Fix a number of problems.
12109         (skipParens):  Remove no-longer-needed method.
12110