OSDN Git Service

2004-11-11 Casey Marshall <csm@gnu.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-11  Casey Marshall  <csm@gnu.org>
2
3         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
4         channel is open.
5         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
6         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
7
8 2004-11-11  Robert Schuster <thebohemian@gmx.net>
9   
10         Fixed regression:
11         * gnu/java/beans/IntrospectionIncubator.java:
12         (addMethod): corrected classification of normal and property methods
13         (capitalize): added documentation
14         (DoubleKey): [class] added documentation
15
16 2004-11-09  Tom Tromey  <tromey@redhat.com>
17
18         * include/jni.h: Added FIXME.
19
20 2004-11-08  Tom Tromey  <tromey@redhat.com>
21
22         * java/util/GregorianCalendar.java: Removed unused imports.
23         * java/util/Vector.java: Removed unused import.
24
25 2004-11-07  Michael Koch  <konqueror@gmx.de>
26
27         * java/lang/Process.java:
28         Import cleanups.
29
30 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
31
32         * java/util/zip/ZipEntry.java
33         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
34
35 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
36
37         Fixes bug #10908
38         * gnu/java/beans/IntrospectionIncubator.java:
39         (addMethod): static methods are discarded now, too.
40
41 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
42
43         * java/util/GregorianCalendar.java
44         Added/amended documentation.
45
46 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
47
48         * java/util/Collections.java
49         Added documentation.
50         * java/util/SortedMap.java
51         Clarified some method examples.
52         * java/util/SortedSet.java
53         Clarified some method examples.
54
55 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
56
57         * java/util/Currency.java
58         Documented variables and methods more fully.
59         Caches the currency instances, so that a request
60         for a locale, l, only ever returns the same
61         instance (i.e. successive calls to getInstance(l)
62         are reference equivalent (==)).
63
64 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
65
66         * java/util/Date.java
67         Added missing documentation.
68
69 2004-11-06  Michael Koch  <konqueror@gmx.de>
70
71         * java/util/zip/CheckedInputStream.java,
72         java/util/zip/InflaterInputStream.java,
73         java/util/zip/ZipFile.java,
74         java/util/zip/ZipInputStream.java:
75         Import cleanups.
76
77 2004-11-06  Tom Tromey  <tromey@redhat.com>
78
79         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
80         package-private.
81         (connections): Likewise.
82         (scavenger): Likewise.
83         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
84         package-private.
85         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
86         package-private.
87         (ptr): Likewise.
88         * gnu/classpath/ServiceFactory.java (log): Now package-private.
89
90 2004-11-06  Tom Tromey  <tromey@redhat.com>
91
92         * javax/naming/directory/BasicAttributes.java (attributes): Now
93         package-private.
94         * javax/imageio/spi/ServiceRegistry.java (categories): Now
95         package-private.
96
97 2004-11-06  Tom Tromey  <tromey@redhat.com>
98
99         * java/net/URLClassLoader.java (URLClassLoader): Now
100         package-private.
101         * java/nio/charset/CoderResult.java (CoderResult): Now
102         package-private.
103         (get): Likewise.
104         (Cache): Likewise.  Don't synchronize on `this'.
105         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
106         package-private.
107         * java/util/TimeZone.java (timezones): Now package-private.
108
109 2004-11-06  Tom Tromey  <tromey@redhat.com>
110
111         * java/security/Permissions.java (perms): Now package-private.
112         * java/security/UnresolvedPermission.java (permissions): Now
113         package-private.
114
115 2004-11-06  Tom Tromey  <tromey@redhat.com>
116
117         * java/io/FilePermission.java: Reindented.
118
119 2004-11-06  Tom Tromey  <tromey@redhat.com>
120
121         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
122         package-private.
123         (setBlockDataMode): Likewise.
124
125 2004-11-06  Tom Tromey  <tromey@redhat.com>
126
127         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
128         package-private.
129         (Encoder): Likewise.
130         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
131         (Encoder): Likewise.
132         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
133         package-private.
134         (Encoder): Likewise.
135
136 2004-11-06  Mark Wielaard  <mark@klomp.org>
137
138         * Makefile.am: Add new javax.imageio files.
139         * Makefile.in: Regenerated.
140
141 2004-11-06  Michael Koch  <konqueror@gmx.de>
142
143         * javax/imageio/event/IIOReadProgressListener.java,
144         javax/imageio/event/IIOReadUpdateListener.java,
145         javax/imageio/event/IIOReadWarningListener.java,
146         javax/imageio/event/IIOWriteProgressListener.java,
147         javax/imageio/event/IIOWriteWarningListener.java,
148         javax/imageio/metadata/IIOMetadataFormat.java,
149         javax/imageio/stream/FileCacheImageInputStream.java,
150         javax/imageio/stream/FileCacheImageOutputStream.java,
151         javax/imageio/stream/ImageInputStreamImpl.java:
152         Import cleanup.
153         * javax/imageio/metadata/package.html: New file.
154
155 2004-11-06  Michael Koch  <konqueror@gmx.de>
156
157         * javax/imageio/spi/ImageReaderSpi.java
158         (isOwnReader): New method.
159         * javax/imageio/spi/ImageWriterSpi.java
160         (isOwnWriter): Likewise.
161
162 2004-11-06  Michael Koch  <konqueror@gmx.de>
163
164         * javax/imageio/ImageWriter.java
165         (convertImageMetadata): New abstract method.
166         (convertStreamMetadata): Likewise.
167         (write): Likewise.
168         * javax/imageio/stream/FileCacheImageInputStream.java
169         (close): Fixed setting of stream to null.
170         (checkStreamClosed): Throws IOException.
171
172 2004-11-06  Michael Koch  <konqueror@gmx.de>
173
174         * javax/imageio/stream/FileCacheImageInputStream.java,
175         javax/imageio/stream/FileCacheImageOutputStream.java,
176         javax/imageio/stream/FileImageInputStream.java,
177         javax/imageio/stream/FileImageOutputStream.java,
178         javax/imageio/stream/MemoryCacheImageInputStream.java,
179         javax/imageio/stream/MemoryCacheImageOutputStream.java:
180         New files.
181
182 2004-11-06  Michael Koch  <konqueror@gmx.de>
183
184         * javax/imageio/metadata/IIOInvalidTreeException.java,
185         javax/imageio/metadata/IIOMetadataFormatImpl.java,
186         javax/imageio/metadata/IIOMetadataNode.java:
187         New stub files.
188
189 2004-11-06  Michael Koch  <konqueror@gmx.de>
190
191         * javax/imageio/stream/ImageInputStreamImpl.java,
192         javax/imageio/stream/ImageOutputStreamImpl.java:
193         New files.
194
195 2004-11-06  Michael Koch  <konqueror@gmx.de>
196
197         * javax/imageio/ImageIO.java:
198         Added much new methods.
199
200 2004-11-06  Michael Koch  <konqueror@gmx.de>
201
202         * javax/imageio/ImageReader.java,
203         javax/imageio/ImageWriter.java,
204         javax/imageio/spi/ImageWriterSpi.java:
205         Add SOME new methods.
206
207 2004-11-06  Michael Koch  <konqueror@gmx.de>
208
209         * javax/imageio/IIOParam.java,
210         javax/imageio/ImageReadParam.java,
211         javax/imageio/ImageReader.java,
212         javax/imageio/ImageWriter.java:
213         Mostly implemented.
214         * javax/imageio/spi/ImageReaderSpi.java,
215         javax/imageio/spi/ImageWriterSpi.java:
216         New files.
217
218 2004-11-06  Michael Koch  <konqueror@gmx.de>
219
220         * javax/imageio/ImageWriteParam.java,
221         javax/imageio/metadata/IIOMetadataFormat.java:
222         Implemented.
223
224 2004-11-06  Michael Koch  <konqueror@gmx.de>
225
226         * javax/imageio/ImageTypeSpecifier.java:
227         Mostly implemented.
228
229 2004-11-06  Michael Koch  <konqueror@gmx.de>
230
231         * javax/imageio/metadata/IIOMetadata.java:
232         Mostly implemented.
233
234 2004-11-06  Michael Koch  <konqueror@gmx.de>
235
236         * javax/imageio/IIOImage.java,
237         javax/imageio/ImageReadParam.java,
238         javax/imageio/metadata/IIOMetadataController.java,
239         javax/imageio/metadata/IIOMetadataFormat.java:
240         New files.
241         * javax/imageio/stream/ImageOutputStream.java:
242         Implemented.
243
244 2004-11-06  Michael Koch  <konqueror@gmx.de>
245
246         * javax/imageio/IIOParam.java,
247         javax/imageio/IIOParamController.java,
248         javax/imageio/ImageTypeSpecifier.java,
249         javax/imageio/ImageWriteParam.java,
250         javax/imageio/metadata/IIOMetadata.java:
251         New files.
252         * javax/imageio/ImageTranscoder.java:
253         Implemented.
254
255 2004-11-06  Michael Koch  <konqueror@gmx.de>
256
257         * javax/imageio/spi/ImageInputStreamSpi.java,
258         javax/imageio/spi/ImageOutputStreamSpi.java:
259         Reworked import startments.
260         * javax/imageio/spi/ServiceRegistry.java:
261         Reworked import startments. Fixed XHTML in javadocs.
262         (ServiceRegistry): Added @param tag to javadoc.
263         * javax/imageio/stream/ImageInputStream.java
264         (mark): Doesn't throws IOException;
265
266 2004-11-06  Michael Koch  <konqueror@gmx.de>
267
268         * javax/imageio/ImageIO.java:
269         New file.
270
271 2004-11-06  Michael Koch  <konqueror@gmx.de>
272
273         * javax/imageio/spi/IIORegistry.java
274         (static): Don't register ImageReaderSpi.class and
275         ImageWriterSpi.class yet.
276
277 2004-11-06  Michael Koch  <konqueror@gmx.de>
278
279         * javax/imageio/spi/IIORegistry.java:
280         New file.
281
282 2004-11-06  Noa Resare  <noa@resare.com>
283
284         * java/net/Socket.java (getPort): Return 0 instead of -1 on
285         unconnected sockets.
286
287 2004-11-06  Michael Koch  <konqueror@gmx.de>
288
289         * java/lang/StringBuffer.java,
290         java/lang/Throwable.java,
291         java/security/spec/DSAParameterSpec.java,
292         java/util/zip/ZipEntry.java,
293         java/util/zip/ZipFile.java,
294         java/util/zip/ZipInputStream.java,
295         java/util/zip/ZipOutputStream.java:
296         Removed redundant and reordered modifiers.
297
298 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
299
300         * java/io/Vector.java
301         (writeObject): New function to serialized output thread safe.
302
303         * java/io/ObjectOutputStream.java
304         (writeObject): Move the assignment of the class handle to after
305         the assignment of class descriptor handle.
306
307 2004-11-06  Robert Schuster <thebohemian@gmx.net>
308
309         Fixes documentation and indentation
310         * java/beans/PropertyEditorSupport.java:
311         reworked initial API doc
312         (value): changed name from val
313
314 2004-11-06  Robert Schuster <thebohemian@gmx.net>
315
316         Updates to 1.5
317         * java/beans/PropertyEditorSupport.java
318         (PropertyEditorSupport()): Changed modifier to public
319         (PropertyEditorSupport(Object): Changed modifier to public
320         (setSource): New method
321         (getSource): New method
322
323 2004-11-06  Robert Schuster <thebohemian@gmx.net>
324
325         Fixes bug #10799
326         * java/beans/PropertyEditorSupport.java
327         (setValue): Fire property change event
328
329 2004-11-03  Tom Tromey  <tromey@redhat.com>
330
331         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
332         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
333         returns jobjectArray.
334         (_Jv_JNIEnv::NewObjectArray): Likewise.
335
336 2004-11-01  Tom Tromey  <tromey@redhat.com>
337
338         * verify.cc (state::check_no_uninitialized_objects): Removed.
339         (push_jump): Updated.
340         (push_exception_jump): Likewise.
341         (handle_ret_insn): Likewise.
342         (handle_jsr_insn): Likewise.
343
344 2004-10-30  Mark Wielaard  <mark@klomp.org>
345
346         PR libgcj/18234
347         * java/lang/Runtime.java (static): Call init().
348         (Runtime): Remove call to init().
349         (init): Make static.
350
351 2004-10-28  David Daney  <ddaney@avtrex.com>
352
353         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
354         * Makefile.am: Build it.
355         * Makefile.in: Regenerate.
356
357 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
358
359         PR libgcj/18104
360         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
361         colon.
362         * Makefile.in: Regenerate.
363         * configure: Regenerate.
364         * configure.ac (CLASSPATH_SEPARATOR): Define.
365         * gcj/Makefile.in: Regenerate.
366         * include/Makefile.in: Regenerate.
367         * testsuite/Makefile.in: Regenerate.
368         * testsuite/lib/libjava.exp (libjava_arguments): Fix
369         CLASSPATH separator handling for Windows.
370
371 2004-10-26  Michael Koch  <konqueror@gmx.de>
372
373         * gnu/java/net/protocol/http/Connection.java
374         (getOutputStream): Implicitely switch to POST method.
375
376 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
377
378         * libjava/java/lang/Class.h
379         (java::lang::Class): Correct friend class declaration.
380
381 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
382
383         * Makefile.am (DARWIN_CRT_SRC): New.
384         (libgcj_la_SOURCES): Use it.
385         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
386         * darwin.cc: New file.
387         * include/jvm.h (_Jv_RegisterClasses): Constify.
388         (_Jv_RegisterClasses_Counted): New prototype.
389         * java/lang/Class.h: Include stddef.h.  
390         (_Jv_RegisterClasses): Constify.
391         (_Jv_RegisterClasses_Counted): New prototype.
392         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
393         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
394         (_Jv_RegisterClasses_Counted): New function.
395         * configure: Regenerate.
396         * Makefile.in: Regenerate.
397         * gcj/Makefile.in: Regenerate.
398         * include/Makefile.in: Regenerate.
399         * testsuite/Makefile.in: Regenerate.
400
401 2004-10-25  Tom Tromey  <tromey@redhat.com>
402
403         * java/util/ResourceBundle.java (tryBundle): Use
404         Class.isAssignableFrom rather than catching ClassCastException.
405
406 2004-10-25  Tom Tromey  <tromey@redhat.com>
407
408         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
409         initialize `iter'.
410         * gnu/java/text/SentenceBreakIterator.java
411         (SentenceBreakIterator): Don't initialize `iter'.
412         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
413         initialize `iter'.
414         * gnu/java/text/CharacterBreakIterator.java
415         (CharacterBreakIterator): Don't initialize `iter'.
416         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
417         constructor.
418         * java/text/BreakIterator.java: Updated documentation.
419
420 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
421
422         PR other/18138
423         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
424
425 2004-10-23  Michael Koch  <konqueror@gmx.de>
426
427         * javax/print/DocFlavor.java,
428         javax/print/attribute/standard/JobStateReason.java,
429         javax/print/attribute/standard/MultipleDocumentHandling.java:
430         Added missing constants.
431
432 2004-10-22  Tom Tromey  <tromey@redhat.com>
433
434         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
435         typo.
436
437 2004-10-22  Michael Koch  <konqueror@gmx.de>
438
439         PR libjava/14009
440         * gnu/java/net/protocol/http/Connection.java
441         (sendRequest): Handle case when url.getFile() returns an empty string.
442
443 2004-10-22  Michael Koch  <konqueror@gmx.de>
444
445         * java/lang/Math.java,
446         java/lang/StackTraceElement.java,
447         java/nio/Buffer.java,
448         java/nio/ByteBuffer.java,
449         java/nio/CharBuffer.java,
450         java/nio/DoubleBuffer.java,
451         java/nio/FloatBuffer.java,
452         java/nio/IntBuffer.java,
453         java/nio/LongBuffer.java,
454         java/nio/ShortBuffer.java,
455         java/nio/charset/Charset.java,
456         java/rmi/server/RMIClassLoader.java,
457         java/rmi/server/RMISocketFactory.java,
458         java/security/Policy.java,
459         java/text/ChoiceFormat.java,
460         java/text/CollationElementIterator.java,
461         java/text/DateFormat.java,
462         java/text/DecimalFormat.java,
463         java/text/DecimalFormatSymbols.java,
464         java/text/MessageFormat.java,
465         java/text/NumberFormat.java,
466         java/text/RuleBasedCollator.java,
467         java/text/SimpleDateFormat.java,
468         java/util/BitSet.java,
469         java/util/Calendar.java,
470         java/util/Collections.java,
471         java/util/IdentityHashMap.java,
472         java/util/Locale.java,
473         java/util/TreeMap.java,
474         java/util/logging/LogRecord.java,
475         java/util/logging/XMLFormatter.java,
476         java/util/prefs/AbstractPreferences.java,
477         java/util/prefs/Preferences.java,
478         javax/crypto/interfaces/DHPrivateKey.java,
479         javax/crypto/interfaces/DHPublicKey.java,
480         javax/crypto/interfaces/PBEKey.java,
481         javax/net/ssl/HandshakeCompletedEvent.java,
482         javax/security/auth/Subject.java:
483         Removed redundant and reordered modifiers.
484
485 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
486
487         * gnu/java/net/natPlainSocketImplPosix.cc
488         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
489         with 'int *' argument instead of 'long *'.
490
491 2004-10-21  Michael Koch  <konqueror@gmx.de>
492
493         * java/net/NetworkInterface.java,
494         java/text/Format.java,
495         javax/security/auth/x500/X500Principal.java,
496         javax/security/auth/x500/X500PrivateCredential.java,
497         javax/security/cert/X509CertBridge.java,
498         javax/security/sasl/Sasl.java,
499         javax/sql/XAConnection.java:
500         Import cleanup.
501
502 2004-10-21  Michael Koch  <konqueror@gmx.de>
503
504         * javax/net/ssl/HandshakeCompletedEvent.java,
505         javax/net/ssl/KeyManagerFactory.java,
506         javax/net/ssl/SSLContext.java,
507         javax/net/ssl/SSLServerSocketFactory.java,
508         javax/net/ssl/SSLSession.java,
509         javax/net/ssl/SSLSocketFactory.java,
510         javax/net/ssl/TrustManagerFactory.java:
511         Import cleanup.
512
513 2004-10-21  Michael Koch  <konqueror@gmx.de>
514
515         * javax/naming/directory/BasicAttribute.java,
516         javax/naming/directory/BasicAttributes.java,
517         javax/naming/directory/InitialDirContext.java,
518         javax/naming/event/NamingEvent.java,
519         javax/naming/ldap/ControlFactory.java,
520         javax/naming/ldap/ExtendedRequest.java,
521         javax/naming/ldap/InitialLdapContext.java,
522         javax/naming/ldap/LdapReferralException.java,
523         javax/naming/spi/DirObjectFactory.java,
524         javax/naming/spi/DirStateFactory.java,
525         javax/naming/spi/DirectoryManager.java,
526         javax/naming/spi/InitialContextFactory.java,
527         javax/naming/spi/InitialContextFactoryBuilder.java,
528         javax/naming/spi/NamingManager.java,
529         javax/naming/spi/ObjectFactory.java,
530         javax/naming/spi/ObjectFactoryBuilder.java,
531         javax/naming/spi/StateFactory.java:
532         Import cleanup.
533
534 2004-10-21  Michael Koch  <konqueror@gmx.de>
535
536         * javax/crypto/Cipher.java,
537         javax/crypto/EncryptedPrivateKeyInfo.java,
538         javax/crypto/ExemptionMechanism.java,
539         javax/crypto/KeyAgreement.java,
540         javax/crypto/KeyGenerator.java,
541         javax/crypto/Mac.java,
542         javax/crypto/SecretKeyFactory.java,
543         javax/crypto/SecretKeyFactorySpi.java,
544         javax/crypto/spec/SecretKeySpec.java:
545         Import cleanup.
546
547 2004-10-21  Michael Koch  <konqueror@gmx.de>
548
549         * java/security/AlgorithmParameterGenerator.java,
550         java/security/AlgorithmParameters.java,
551         java/security/AlgorithmParametersSpi.java,
552         java/security/AllPermission.java,
553         java/security/BasicPermission.java,
554         java/security/Certificate.java,
555         java/security/CodeSource.java,
556         java/security/DigestInputStream.java,
557         java/security/DigestOutputStream.java,
558         java/security/GuardedObject.java,
559         java/security/KeyFactory.java,
560         java/security/KeyFactorySpi.java,
561         java/security/KeyPairGenerator.java,
562         java/security/KeyStore.java,
563         java/security/KeyStoreSpi.java,
564         java/security/Permissions.java,
565         java/security/Security.java,
566         java/security/Signature.java,
567         java/security/UnresolvedPermission.java,
568         java/security/cert/CertPathBuilder.java,
569         java/security/cert/CertPathValidator.java,
570         java/security/cert/CertStore.java,
571         java/security/cert/Certificate.java,
572         java/security/cert/CertificateFactory.java,
573         java/security/cert/PolicyQualifierInfo.java,
574         java/security/cert/TrustAnchor.java,
575         java/security/cert/X509CRL.java,
576         java/security/cert/X509CRLSelector.java,
577         java/security/cert/X509CertSelector.java:
578         Import cleanup.
579
580 2004-10-21  Michael Koch  <konqueror@gmx.de>
581
582         * java/rmi/MarshalledObject.java,
583         java/rmi/Naming.java,
584         java/rmi/activation/Activatable.java,
585         java/rmi/activation/ActivationGroup.java,
586         java/rmi/activation/ActivationGroupDesc.java,
587         java/rmi/activation/ActivationInstantiator.java,
588         java/rmi/activation/ActivationMonitor.java,
589         java/rmi/activation/ActivationSystem.java,
590         java/rmi/activation/Activator.java,
591         java/rmi/registry/LocateRegistry.java,
592         java/rmi/registry/Registry.java,
593         java/rmi/server/LogStream.java,
594         java/rmi/server/ObjID.java,
595         java/rmi/server/RMIClientSocketFactory.java,
596         java/rmi/server/RMIServerSocketFactory.java,
597         java/rmi/server/RMISocketFactory.java,
598         java/rmi/server/RemoteCall.java,
599         java/rmi/server/RemoteServer.java,
600         java/rmi/server/ServerRef.java,
601         java/rmi/server/UID.java,
602         java/rmi/server/UnicastRemoteObject.java:
603         Import cleanup.
604
605 2004-10-21  Tom Tromey  <tromey@redhat.com>
606
607         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
608         exception if we hit EOF of `in'.
609         (read): Handle case where inflating returns -1.
610
611 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
612
613         * gnu/java/nio/channels/natFileChannelPosix.cc
614         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
615         argument instead of 'long *'.
616
617 2004-10-21  Tom Tromey  <tromey@redhat.com>
618
619         * java/util/ResourceBundle.java (tryBundle): Also ignore
620         ClassCastException.
621
622 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
623
624         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
625         for all sh*-*-linux* targets.
626         * configure: Regenerate.
627         * include/sh-signal.h: New file.
628
629 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
630
631         * java/lang/ieeefp.h: Add m32r support.
632
633 2004-10-20  Andreas Schwab  <schwab@suse.de>
634
635         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
636         to uaddr, not int.
637         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
638         Likewise.
639
640 2004-10-20  Michael Koch  <konqueror@gmx.de>
641
642         * javax/print/attribute/standard/ColorSupported.java,
643         javax/print/attribute/standard/Compression.java,
644         javax/print/attribute/standard/Copies.java,
645         javax/print/attribute/standard/CopiesSupported.java,
646         javax/print/attribute/standard/DateTimeAtCompleted.java,
647         javax/print/attribute/standard/DateTimeAtCreation.java,
648         javax/print/attribute/standard/DateTimeAtProcessing.java,
649         javax/print/attribute/standard/DocumentName.java,
650         javax/print/attribute/standard/Fidelity.java,
651         javax/print/attribute/standard/Finishings.java,
652         javax/print/attribute/standard/JobHoldUntil.java,
653         javax/print/attribute/standard/JobImpressions.java,
654         javax/print/attribute/standard/JobImpressionsCompleted.java,
655         javax/print/attribute/standard/JobImpressionsSupported.java,
656         javax/print/attribute/standard/JobKOctets.java,
657         javax/print/attribute/standard/JobKOctetsProcessed.java,
658         javax/print/attribute/standard/JobKOctetsSupported.java,
659         javax/print/attribute/standard/JobMediaSheets.java,
660         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
661         javax/print/attribute/standard/JobMediaSheetsSupported.java,
662         javax/print/attribute/standard/JobMessageFromOperator.java,
663         javax/print/attribute/standard/JobName.java,
664         javax/print/attribute/standard/JobOriginatingUserName.java,
665         javax/print/attribute/standard/JobPriority.java,
666         javax/print/attribute/standard/JobPrioritySupported.java,
667         javax/print/attribute/standard/JobSheets.java,
668         javax/print/attribute/standard/JobState.java,
669         javax/print/attribute/standard/JobStateReason.java,
670         javax/print/attribute/standard/JobStateReasons.java,
671         javax/print/attribute/standard/Media.java,
672         javax/print/attribute/standard/MultipleDocumentHandling.java,
673         javax/print/attribute/standard/NumberOfDocuments.java,
674         javax/print/attribute/standard/NumberOfInterveningJobs.java,
675         javax/print/attribute/standard/NumberUp.java,
676         javax/print/attribute/standard/NumberUpSupported.java,
677         javax/print/attribute/standard/OrientationRequested.java,
678         javax/print/attribute/standard/OutputDeviceAssigned.java,
679         javax/print/attribute/standard/PDLOverrideSupported.java,
680         javax/print/attribute/standard/PageRanges.java,
681         javax/print/attribute/standard/PagesPerMinute.java,
682         javax/print/attribute/standard/PagesPerMinuteColor.java,
683         javax/print/attribute/standard/PrintQuality.java,
684         javax/print/attribute/standard/PrinterInfo.java,
685         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
686         javax/print/attribute/standard/PrinterLocation.java,
687         javax/print/attribute/standard/PrinterMakeAndModel.java,
688         javax/print/attribute/standard/PrinterMessageFromOperator.java,
689         javax/print/attribute/standard/PrinterMoreInfo.java,
690         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
691         javax/print/attribute/standard/PrinterName.java,
692         javax/print/attribute/standard/PrinterStateReason.java,
693         javax/print/attribute/standard/PrinterStateReasons.java,
694         javax/print/attribute/standard/PrinterURI.java,
695         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
696         javax/print/attribute/standard/RequestingUserName.java:
697         Reorganized imports and removed redundant final modifiers.
698
699 2004-10-20  Michael Koch  <konqueror@gmx.de>
700
701         * javax/security/sasl/SaslClient.java,
702         javax/security/sasl/SaslClientFactory.java,
703         javax/security/sasl/SaslException.java,
704         javax/security/sasl/SaslServer.java,
705         javax/security/sasl/SaslServerFactory.java:
706         Remvoed CVS tags.
707
708 2004-10-20  Michael Koch  <konqueror@gmx.de>
709
710         * javax/security/auth/login/NullConfiguration.java,
711         javax/security/auth/x500/X500Principal.java,
712         javax/security/cert/X509Certificate.java,
713         javax/security/sasl/AuthenticationException.java,
714         javax/security/sasl/AuthorizeCallback.java,
715         javax/security/sasl/RealmCallback.java,
716         javax/security/sasl/RealmChoiceCallback.java,
717         javax/security/sasl/Sasl.java,
718         javax/security/sasl/SaslClient.java,
719         javax/security/sasl/SaslClientFactory.java,
720         javax/security/sasl/SaslException.java,
721         javax/security/sasl/SaslServer.java,
722         javax/security/sasl/SaslServerFactory.java:
723         Cleaned up import statements and copyright notices.
724
725 2004-10-20  Michael Koch  <konqueror@gmx.de>
726
727         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
728
729 2004-10-20  Michael Koch  <konqueror@gmx.de>
730
731         * java/sql/Timestamp.java,
732         java/text/AttributedCharacterIterator.java,
733         java/text/AttributedString.java,
734         java/util/zip/CheckedOutputStream.java,
735         java/util/zip/DeflaterOutputStream.java,
736         java/util/zip/ZipFile.java,
737         javax/crypto/Cipher.java,
738         javax/crypto/ExemptionMechanismException.java,
739         javax/crypto/SecretKey.java,
740         javax/crypto/SecretKeyFactory.java,
741         javax/naming/directory/ModificationItem.java,
742         javax/naming/directory/SearchControls.java,
743         javax/naming/event/NamingListener.java,
744         javax/naming/ldap/Control.java,
745         javax/naming/ldap/ExtendedResponse.java,
746         javax/net/ssl/SSLSocketFactory.java:
747         Reorganized imports and fixed copyright headers.
748
749 2004-10-20  Michael Koch  <konqueror@gmx.de>
750
751         * java/util/logging/ConsoleHandler.java,
752         java/util/logging/ErrorManager.java,
753         java/util/logging/FileHandler.java,
754         java/util/logging/Filter.java,
755         java/util/logging/Formatter.java,
756         java/util/logging/Handler.java,
757         java/util/logging/Level.java,
758         java/util/logging/LogManager.java,
759         java/util/logging/LogRecord.java,
760         java/util/logging/Logger.java,
761         java/util/logging/LoggingPermission.java,
762         java/util/logging/MemoryHandler.java,
763         java/util/logging/SimpleFormatter.java,
764         java/util/logging/SocketHandler.java,
765         java/util/logging/StreamHandler.java,
766         java/util/logging/XMLFormatter.java:
767         Standardized copyrigth header.
768
769 2004-10-20  Michael Koch  <konqueror@gmx.de>
770
771         * java/security/AlgorithmParameterGenerator.java,
772         java/security/AlgorithmParameters.java,
773         java/security/DigestInputStream.java,
774         java/security/Identity.java,
775         java/security/KeyFactory.java,
776         java/security/KeyPairGenerator.java,
777         java/security/KeyStore.java,
778         java/security/MessageDigest.java,
779         java/security/MessageDigestSpi.java,
780         java/security/Policy.java,
781         java/security/SecureRandom.java,
782         java/security/Security.java,
783         java/security/Signature.java,
784         java/security/SignatureSpi.java,
785         java/security/cert/CertPathBuilder.java,
786         java/security/cert/CertPathValidator.java,
787         java/security/cert/CertStore.java,
788         java/security/cert/Certificate.java,
789         java/security/cert/CertificateFactory.java,
790         java/security/cert/PolicyQualifierInfo.java,
791         java/security/cert/TrustAnchor.java,
792         java/security/cert/X509CRL.java,
793         java/security/cert/X509CRLEntry.java,
794         java/security/cert/X509Certificate.java,
795         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
796         Import statements reorganized, some little formatting issues,
797         used java-style array declarations, added comments in empty catch
798         blocks.
799
800 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
801
802         * java/security/Security.java
803         (static): Use AccessController.doPrivileged to get system property.
804
805 2004-10-18  Sven de Marothy  <sven@physto.se>
806
807         * java/nio/ByteBufferHelper.java
808         (putDouble): Use Double.toRawLongBits instead.
809
810 2004-10-18  Mark Wielaard  <mark@klomp.org>
811         Andrew Haley  <aph@redhat.com>
812
813         * testsuite/libjava.lang/ExtraClassLoader.java: New.
814
815 2004-10-18  Andrew Haley  <aph@redhat.com>
816
817         PR java/18036:
818         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
819         and correct logic used to find interpreter.
820         
821 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
822
823         * java/util/logging/LogManager.java
824         (findAncestor): Fixed IndexOutOfBoundsException.
825
826 2004-10-18  Michael Koch  <konqueror@gmx.de>
827
828         * java/io/BufferedInputStream.java: Fixed @author tag.
829         (read): Simplified expression.
830         (read): Merged javadoc a bit more.
831         (read): Renamed 'remain' to 'totalBytesRead'.
832         * java/io/DataInputStream.java,
833         java/io/DataOutputStream.java,
834         java/io/ObjectInputStream.java,
835         java/io/ObjectOutputStream.java:
836         Reworked modifier order.
837
838 2004-10-18  Michael Koch  <konqueror@gmx.de>
839
840         * java/net/Inet4Address.java: Merged file header and javadocs.
841         * java/net/Inet6Address.java: Likewise.
842         * java/net/InetAddress.java
843         (getCanonicalHostName): Create Inet4Address object instead of
844         InetAddress and add comment regarding IPv6.
845         (toString): Simplified.
846
847 2004-10-18  Michael Koch  <konqueror@gmx.de>
848
849         * gnu/java/net/protocol/http/Connection.java,
850         java/nio/MappedByteBufferImpl.java,
851         java/text/RuleBasedCollator.java,
852         java/util/ResourceBundle.java:
853         Reworked import statements.
854
855 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
856
857         * java/security/IdentityScope.java
858         (systemScope): Removed useless initializer.
859         * java/security/Policy.java
860         (currentPolicy): Likewise.
861
862 2004-10-18  Michael Koch  <konqueror@gmx.de>
863
864         * java/lang/System.java: Revert accidential change.
865
866 2004-10-18  Michael Koch  <konqueror@gmx.de>
867
868         * java/lang/Math.java,
869         java/lang/Package.java,
870         java/lang/Runtime.java,
871         java/lang/StrictMath.java,
872         java/lang/System.java,
873         java/lang/Thread.java,
874         java/lang/ThreadLocal.java,
875         java/lang/Void.java:
876         Reworked import statements, HTML in javadocs and modifier orders.
877
878 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
879
880         * java/util/Timer.java
881         (nr): Removed useless initializer.
882         * java/util/logging/LogRecord.java
883         (lastSeqNum): Likewise.
884         * javax/naming/spi/NamingManager.java
885         (icfb, ofb): Likewise.
886
887 2004-10-18  Michael Koch  <konqueror@gmx.de>
888
889         * gnu/java/net/PlainDatagramSocketImpl.java:
890         Reworked import statements.
891         * gnu/java/security/provider/DSAParameters.java:
892         Fixed copyrigth years.
893         * java/net/JarURLConnection.java:
894         Fixed HTML in @author tags.
895         
896
897 2004-10-18  Michael Koch  <konqueror@gmx.de>
898
899         * java/rmi/activation/ActivationSystem.java
900         (SYSTEM_PORT): Initialize with correct port number.
901
902 2004-10-18  Michael Koch  <konqueror@gmx.de>
903
904         * java/lang/reflect/Proxy.java: Improved javadocs.
905
906 2004-10-18  Michael Koch  <konqueror@gmx.de>
907
908         * java/lang/reflect/AccessibleObject.java
909         (checkPermission): Removed redundant final modifier.
910         (secureSetAccessible): Likewise.
911         * java/lang/reflect/Proxy.java:
912         Reworked import statements.
913         (generate): Removed redundant final modifier.
914         * java/lang/reflect/ReflectPermission.java:
915         Reorder package declaration and import statement.
916
917 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
918
919         * java/lang/reflect/Proxy.java
920         (count): Removed useless initializer.
921
922 2004-10-17  Michael Koch  <konqueror@gmx.de>
923
924         * java/net/BindException.java,
925         java/net/ConnectException.java,
926         java/net/ContentHandler.java,
927         java/net/ContentHandlerFactory.java,
928         java/net/DatagramPacket.java,
929         java/net/DatagramSocket.java,
930         java/net/DatagramSocketImpl.java,
931         java/net/DatagramSocketImplFactory.java,
932         java/net/FileNameMap.java,
933         java/net/HttpURLConnection.java,
934         java/net/MalformedURLException.java,
935         java/net/MulticastSocket.java,
936         java/net/NetworkInterface.java,
937         java/net/NoRouteToHostException.java,
938         java/net/PasswordAuthentication.java,
939         java/net/PortUnreachableException.java,
940         java/net/ProtocolException.java,
941         java/net/ServerSocket.java,
942         java/net/Socket.java,
943         java/net/SocketException.java,
944         java/net/SocketImpl.java,
945         java/net/SocketImplFactory.java,
946         java/net/SocketOptions.java,
947         java/net/SocketPermission.java,
948         java/net/SocketTimeoutException.java,
949         java/net/URI.java,
950         java/net/URISyntaxException.java,
951         java/net/URL.java,
952         java/net/URLDecoder.java,
953         java/net/URLEncoder.java,
954         java/net/URLStreamHandler.java,
955         java/net/URLStreamHandlerFactory.java,
956         java/net/UnknownHostException.java,
957         java/net/UnknownServiceException.java:
958         Big import statement and @author tag cleanup.
959
960 2004-10-17  Michael Koch  <konqueror@gmx.de>
961
962         * gnu/java/security/OID.java,
963         gnu/java/security/provider/DSAParameters.java,
964         gnu/java/security/provider/DSASignature.java,
965         gnu/java/security/x509/X500DistinguishedName.java,
966         gnu/java/security/x509/X509CRL.java:
967         Import statements cleaned up.
968
969 2004-10-16  Michael Koch  <konqueror@gmx.de>
970
971         * gnu/java/nio/NIODatagramSocket.java,
972         gnu/java/nio/ServerSocketChannelImpl.java:
973         Reorganized import statements.
974
975 2004-10-16  Michael Koch  <konqueror@gmx.de>
976
977         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
978         gnu/java/rmi/rmic/RMIC.java,
979         gnu/java/rmi/server/RMIHashes.java,
980         gnu/java/rmi/server/RMIObjectInputStream.java,
981         gnu/java/rmi/server/RMIObjectOutputStream.java,
982         gnu/java/rmi/server/UnicastConnection.java,
983         gnu/java/rmi/server/UnicastConnectionManager.java,
984         gnu/java/rmi/server/UnicastRemoteCall.java,
985         gnu/java/rmi/server/UnicastServer.java,
986         gnu/java/rmi/server/UnicastServerRef.java,
987         java/rmi/MarshalledObject.java,
988         java/rmi/Naming.java,
989         java/rmi/RMISecurityManager.java,
990         java/rmi/Remote.java,
991         java/rmi/activation/Activatable.java,
992         java/rmi/activation/ActivationDesc.java,
993         java/rmi/activation/ActivationGroup.java,
994         java/rmi/activation/ActivationGroupDesc.java,
995         java/rmi/activation/ActivationGroupID.java,
996         java/rmi/activation/ActivationID.java,
997         java/rmi/activation/ActivationInstantiator.java,
998         java/rmi/activation/ActivationMonitor.java,
999         java/rmi/activation/ActivationSystem.java,
1000         java/rmi/activation/Activator.java,
1001         java/rmi/dgc/DGC.java,
1002         java/rmi/dgc/Lease.java,
1003         java/rmi/dgc/VMID.java,
1004         java/rmi/registry/LocateRegistry.java,
1005         java/rmi/registry/Registry.java,
1006         java/rmi/registry/RegistryHandler.java,
1007         java/rmi/server/LoaderHandler.java,
1008         java/rmi/server/LogStream.java,
1009         java/rmi/server/ObjID.java,
1010         java/rmi/server/Operation.java,
1011         java/rmi/server/RMIClassLoader.java,
1012         java/rmi/server/RMIClassLoaderSpi.java,
1013         java/rmi/server/RMIClientSocketFactory.java,
1014         java/rmi/server/RMIFailureHandler.java,
1015         java/rmi/server/RMIServerSocketFactory.java,
1016         java/rmi/server/RMISocketFactory.java,
1017         java/rmi/server/RemoteCall.java,
1018         java/rmi/server/RemoteObject.java,
1019         java/rmi/server/RemoteRef.java,
1020         java/rmi/server/RemoteServer.java,
1021         java/rmi/server/RemoteStub.java,
1022         java/rmi/server/ServerRef.java,
1023         java/rmi/server/Skeleton.java,
1024         java/rmi/server/SkeletonMismatchException.java,
1025         java/rmi/server/UID.java,
1026         java/rmi/server/UnicastRemoteObject.java,
1027         java/rmi/server/Unreferenced.java:
1028         File headers and import statements cleaned up.
1029
1030 2004-10-16  Michael Koch  <konqueror@gmx.de>
1031
1032         * libjava/gnu/java/nio/charset/UTF_16.java,
1033         libjava/gnu/java/nio/charset/UTF_16BE.java,
1034         libjava/gnu/java/nio/charset/UTF_16LE.java,
1035         libjava/java/nio/ByteOrder.java,
1036         libjava/java/nio/MappedByteBuffer.java,
1037         libjava/java/nio/channels/Channels.java,
1038         libjava/java/nio/channels/spi/SelectorProvider.java,
1039         libjava/java/nio/charset/Charset.java:
1040         Cleanup.
1041
1042 2004-10-16  Michael Koch  <konqueror@gmx.de>
1043
1044         * gnu/java/nio/charset/UTF_16Encoder.java
1045         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1046
1047 2004-10-16  Michael Koch  <konqueror@gmx.de>
1048
1049         * java/math/BigDecimal.java, java/math/BigInteger.java:
1050         Reorganized import statements, removed redundant and
1051         reorganized modifiers.
1052
1053 2004-10-16  Michael Koch  <konqueror@gmx.de>
1054
1055         * gnu/java/beans/ExplicitBeanInfo.java:
1056         Explicitely import java.awt.Image.
1057         (getIcon): Fixed off-by-one error.
1058
1059 2004-10-15  Andrew Haley  <aph@redhat.com>
1060
1061         * Makefile.am (nat_files, xlib_nat_files): New.
1062         * Makefile.in: Regenerate.
1063
1064 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1065
1066         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1067         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1068
1069 2004-10-13  Andrew Haley  <aph@redhat.com>
1070
1071         * interpret.cc (_Jv_InterpMethod::run): Initialize
1072         _Jv_StartOfInterpreter.
1073         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1074         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1075         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1076         _Unwind_FindEnclosingFunction to discover whether PC is within the
1077         interpreter.
1078
1079 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1080
1081         PR libgcj/17903:
1082         * testsuite/libjava.lang/md5test.java: New file.
1083         * testsuite/libjava.lang/md5test.out: Likewise.
1084         * testsuite/libjava.lang/shatest.java: Likewise.
1085         * testsuite/libjava.lang/shatest.out: Likewise.
1086
1087 2004-10-11  Richard Henderson  <rth@redhat.com>
1088
1089         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1090         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1091
1092 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1093
1094         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1095         field as a DST boundary may have been crossed.
1096         * java/util/GregorianCalendar.java (add): Throw 
1097         IllegalArgumentException on attempt to add to DST_OFFSET or 
1098         ZONE_OFFSET fields. Update javadoc.
1099
1100 2004-10-09  Michael Koch  <konqueror@gmx.de>
1101
1102         * java/io/CharArrayWriter.java
1103         (resize): Removed redundant 'final' modifier.
1104         * java/io/DataInputStream.java
1105         (readFully): Throw IndexOutOfBoundsException of len < 0.
1106         * java/io/FileDescriptor.java,
1107         java/io/FileInputStream.java,
1108         java/io/FileOutputStream.java,
1109         java/io/ObjectOutputStream.java,
1110         java/io/ObjectStreamClass.java,
1111         java/io/PipedInputStream.java,
1112         java/io/RandomAccessFile.java:
1113         Reorganized import statements.
1114
1115 2004-10-09  Michael Koch  <konqueror@gmx.de>
1116
1117         * gnu/java/rmi/rmic/RMIC.java,
1118         gnu/java/rmi/server/RMIHashes.java,
1119         gnu/java/rmi/server/RMIObjectInputStream.java,
1120         gnu/java/rmi/server/UnicastConnection.java,
1121         gnu/java/rmi/server/UnicastConnectionManager.java,
1122         gnu/java/rmi/server/UnicastRemoteCall.java,
1123         gnu/java/rmi/server/UnicastServerRef.java:
1124         Reworked import statements and fixed file headers.
1125
1126 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1127
1128         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1129         emission rule.
1130         * configure: Rebuilt.
1131
1132 2004-09-30  Tom Tromey  <tromey@redhat.com>
1133
1134         * java/text/MessageFormat.java (Field): Constructor now
1135         protected.
1136
1137 2004-09-30  Tom Tromey  <tromey@redhat.com>
1138
1139         * javax/crypto/MacSpi.java: Fixed typo.
1140
1141 2004-09-30  Michael Koch  <konqueror@gmx.de>
1142
1143         * java/net/InetAddress.java: Reformatted.
1144         (loopback): Initialize with Inet4Address object.
1145         (static): Initialize ANY_IF with Inet4Address object.
1146         (InetAddress): Removed unused package-private constructor.
1147
1148 2004-09-30  Michael Koch  <konqueror@gmx.de>
1149
1150         * java/beans/Beans.java,
1151         java/beans/EventHandler.java,
1152         java/beans/EventSetDescriptor.java,
1153         java/beans/Introspector.java,
1154         java/beans/PropertyEditorManager.java,
1155         java/beans/beancontext/BeanContext.java,
1156         java/beans/beancontext/BeanContextChild.java,
1157         java/beans/beancontext/BeanContextChildSupport.java,
1158         java/beans/beancontext/BeanContextMembershipEvent.java:
1159         Reordered import statements and removed redundant modifiers.
1160
1161 2004-09-29  Tom Tromey  <tromey@redhat.com>
1162
1163         PR libgcj/17715:
1164         * Makefile.in: Rebuilt.
1165         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1166         files.
1167         (all_property_files): New macro.
1168
1169         * Makefile.in: Rebuilt.
1170         * Makefile.am (ordinary_java_source_files): Re-sorted.
1171         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1172
1173 2004-09-28  Tom Tromey  <tromey@redhat.com>
1174
1175         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1176
1177         PR libgcj/17222:
1178         * Makefile.am (libgcj.la): Restored.
1179         * Makefile.in: Rebuilt.
1180
1181 2004-09-28  Michael Koch  <konqueror@gmx.de>
1182
1183         * java/net/URLConnection.java: Reformatted.
1184         * java/net/URLClassLoader.java: Reformatted.
1185         (getContent): Reordered return of content.
1186         (getContentHandler): Don't check for null explicitely.
1187
1188 2004-09-27  Michael Koch  <konqueror@gmx.de>
1189
1190         * java/io/BufferedInputStream.java
1191         (BufferedInputStream): Added Jeroen Frijters to authors.
1192         (count): Don't explicitely initialize with default value.
1193         (pos): Likewise.
1194         (marklimit): Likewise.
1195         (read): Changed boolean expression to match GNU classpath' version.
1196         (reset): Add proper message to exception.
1197         (skip): Check for closed stream.
1198         (refill): Likewise.
1199
1200 2004-09-26  Per Bothner  <per@bothner.com>
1201
1202         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1203         avoid warnings in the non-POSIX_VERSION case.
1204         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1205         so place it inside an #if block.
1206         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1207         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1208         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1209         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1210
1211 2004-09-26  Per Bothner  <per@bothner.com>
1212
1213         * prims.cc (process_gcj_properties):  Optimization.
1214
1215 2004-09-26  Per Bothner  <per@bothner.com>
1216
1217         * java/util/Collections.java (sort):  Copy from array in forwards
1218         order, rather than reverse order which may be much less efficient.
1219
1220 2004-09-26  Mark Wielaard  <mark@klomp.org>
1221
1222         * java/lang/System.java (properties): Make package private.
1223         * java/lang/Throwable.java (StaticData.nl): Initialize through
1224         directly accessing System.properties.getProperty().
1225
1226         * java/lang/Throwable.java (nl): Remove static field.
1227         (StaticData): New private static inner class.
1228         (stackTraceStringBuffer): Use StaticData.nl.
1229
1230 2004-09-26  Casey Marshall <csm@gnu.org>
1231
1232         * java/security/ProtectionDomain.java
1233         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1234         `true'.
1235
1236         * java/security/SecureClassLoader.java
1237         (defineClass): make protection domain dynamically bound.
1238         (getPermissions): call `getCurrentPolicy' to avoid permission
1239         check.
1240
1241 2004-09-25  Mark Wielaard  <mark@klomp.org>
1242
1243         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1244         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1245         * Makefile.in: Regenerated.
1246
1247         * gcj/javaprims.h: Regenerated.
1248
1249         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1250         (getDefaultTimeZone): Make package private. Check that GMToffset
1251         contains at least one digit.
1252         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1253         VMTimeZone.
1254         * util/VMTimeZone.java: New file with above methods.
1255
1256         * java/util/natTimeZone.cc: Removed (renamed).
1257         * java/util/natVMTimeZone.cc: Added (renamed).
1258
1259 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1260
1261         * java/util/TimeZone.java
1262         (getDefaultTimeZone): Fixed test to distinguish between hours and
1263         minutes in specified timezone.
1264
1265 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1266
1267         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1268         handling of default package. (generate): Removed confused comments
1269         and code about making Method and Field accessible.
1270
1271 2004-09-25  Tom Tromey  <tromey@redhat.com>
1272
1273         PR java/17500:
1274         * testsuite/libjava.compile/pr17500.java: New file.
1275
1276 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1277             Mark Wielaard  <mark@klomp.org>
1278
1279         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1280         * gnu/regexp/RETokenLookAhead.java: New file.
1281
1282         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1283         * Makefile.in: Regenerated.
1284
1285 2004-09-25  Michael Koch  <konqueror@gmx.de>
1286
1287         * java/io/ObjectStreamField.java:
1288         Removed unused import statement.
1289
1290 2004-09-24  Tom Tromey  <tromey@redhat.com>
1291
1292         PR java/15656:
1293         * testsuite/libjava.compile/pr15656.xfail: New file.
1294         * testsuite/libjava.compile/pr15656.java: new file.
1295
1296         PR java/16789:
1297         * testsuite/libjava.lang/pr16789.out: New file.
1298         * testsuite/libjava.lang/pr16789.java: New file.
1299
1300 2004-09-24  Andrew Haley  <aph@redhat.com>
1301
1302         PR java/16927
1303         * testsuite/libjava.compile/AssertBug.java: New file.
1304
1305 2004-09-24  Casey Marshall <csm@gnu.org>
1306
1307         * java/util/PropertyPermissionCollection.java
1308         (implies): avoid infinite loop.
1309
1310 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1311
1312         * javax/security/auth/PrivateCredentialPermission.java
1313         (PrivateCredentialPermission): added serialization UID
1314
1315
1316 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1317
1318         * gnu/java/rmi/server/UnicastServer.java
1319         (incomingMessageCall): Added code to handle Errors.
1320         * gnu/java/rmi/server/UnicastServerRef.java
1321         (incomingMessageCall): Added code to handle Errors.
1322
1323
1324 2004-09-24  Tom Tromey  <tromey@redhat.com>
1325
1326         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1327         (definedPackages): Likewise.
1328
1329 2004-09-24  Michael Koch  <konqueror@gmx.de>
1330
1331         * java/io/ObjectInputStream.java:
1332         Re-ordered imports.
1333
1334 2004-09-24  Casey Marshall <csm@gnu.org>
1335
1336         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1337         `ClassNotFoundException'.
1338
1339 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1340
1341         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1342         of Externalizable classes to ObjectStreamClass.
1343         * java/io/ObjectStreamClass.java (newInstance): New method to
1344         instantiate Externalizable (while ignoring the accessibility of
1345         the constructor). (constructor): New field to cache the constructor.
1346
1347 2004-09-24  Mark Wielaard  <mark@klomp.org>
1348
1349         * java/net/URL.java (systemClassLoader): New static field.
1350         (getURLStreamHandler): Always use system/application classloader
1351         for finding URLStreamhandler. Remove unecessary instanceof checks.
1352
1353 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1354
1355         * java/net/URL.java
1356         (set): This method now matches the behaviour of the JDK.
1357         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1358
1359 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1360
1361         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1362
1363 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1364
1365         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1366         Don't set authority if host isn't specified.
1367
1368 2004-09-24  Michael Koch  <konqueror@gmx.de>
1369
1370         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1371         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1372         * gnu/java/nio/VMPipe.java,
1373         gnu/java/nio/VMSelector.java:
1374         New files.
1375         * gnu/java/nio/natPipeImplEcos.cc,
1376         gnu/java/nio/natPipeImplPosix.cc,
1377         gnu/java/nio/natPipeImplWin32.cc:
1378         Ported to VMPipe.
1379         * gnu/java/nio/natSelectorImplEcos.cc,
1380         gnu/java/nio/natSelectorImplPosix.cc,
1381         gnu/java/nio/natSelectorImplWin32.cc:
1382         Ported to VMSelector.
1383         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1384         gnu/java/nio/VMSelector.java.
1385         * Makefile.in: Regenerated.
1386
1387 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1388
1389         * java/lang/StackTraceElement.java
1390         (className): Renamed field to declaringClass to be compatible
1391         with Sun serialization format.
1392
1393 2004-09-23  Michael Koch  <konqueror@gmx.de>
1394
1395         * java/applet/AppletContext.java,
1396         java/applet/Applet.java,
1397         java/applet/AppletStub.java,
1398         java/applet/AudioClip.java:
1399         Jalopied and checkstyle clean.
1400
1401 2004-09-23  Mark Wielaard  <mark@klomp.org>
1402
1403         * java/util/Collections.java
1404         (binarySearch(List, Object, Comparator)): Explicitly
1405         reverse direction in list iterator.
1406         (rotate): Just return when list is empty.
1407
1408 2004-09-23  Tom Tromey  <tromey@redhat.com>
1409
1410         PR java/17329:
1411         * testsuite/libjava.compile/pr17329.java: New file.
1412
1413         PR java/17380:
1414         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1415         9.2-implicit-7.
1416
1417 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1418
1419         * Makefile.am: Run aclocal with -I ../config
1420         * acinclude.m4: Delete macros picked up from ../config and tidy.
1421         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1422         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1423         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1424
1425 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1426
1427         * aclocal.m4: Regenerate with aclocal 1.9.2.
1428         * configure: Regenerate.
1429         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1430         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1431
1432 2004-09-22  David Daney  <ddaney@avtrex.com>
1433
1434         PR libgcj/17623
1435         * java/net/URL.java (URL): Copy userInfo from context.
1436         (getUserInfo): Return cached userInfo if present.
1437
1438 2004-09-22  Tom Tromey  <tromey@redhat.com>
1439
1440         PR libgcj/6182:
1441         * mauve-libgcj: Enable java.lang.Character tests.
1442
1443 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1444
1445         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1446         dependencies.
1447         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1448         * Makefile.in: Regenerated.
1449
1450 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1451
1452         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1453         * configure: Regenerate.
1454         * include/config.h.in: Likewise.
1455         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1457         macro to gtkpeer.h.
1458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1459         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1460         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1461         architectures.
1462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1463         Likewise.
1464
1465 2004-09-22  Tom Tromey  <tromey@redhat.com>
1466
1467         PR libgcj/14446:
1468         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1469         when comparing CRCs.
1470         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1471         field.
1472         (read()): New overload.
1473
1474 2004-09-21  Tom Tromey  <tromey@redhat.com>
1475
1476         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1477         Indentation fix.
1478
1479 2004-09-21  Michael Koch  <konqueror@gmx.de>
1480
1481         * java/net/Socket.java
1482         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1483
1484 2004-09-21  Casey Marshall  <csm@gnu.org>
1485
1486         * javax/crypto/MacSpi.java (clone): Provide meaningful
1487         implementation.
1488
1489 2004-09-21  Tom Tromey  <tromey@redhat.com>
1490
1491         PR libgcj/16869:
1492         * Makefile.in: Rebuilt.
1493         * Makefile.am (MOSTLYCLEANFILES): Removed.
1494         (mostlyclean-local): Remove header files.
1495
1496 2004-09-21  Casey Marshall  <csm@gnu.org>
1497
1498         * java/security/cert/X509CRLSelector.java:
1499         (match): remove unreachable try-catch clauses.
1500         Reported by: Dalibor Topic <robilad@kaffe.org>
1501
1502 2004-09-21  Mark Wielaard  <mark@klomp.org>
1503
1504         * java/util/TreeMap.java (root): Don't initialize.
1505         (TreeMap(Comparator)): Call fabricateTree(0).
1506         (fabricateTree): Initialize root and size when count is 0.
1507
1508 2004-09-21  Sven de Marothy <sven@physto.se>
1509
1510         * java/nio/ByteBuffer.java (hashCode): Implemented.
1511         * java/nio/CharBuffer.java: Likewise.
1512         * java/nio/DoubleBuffer.java: Likewise.
1513         * java/nio/FloatBuffer.java: Likewise.
1514         * java/nio/LongBuffer.java: Likewise.
1515         * java/nio/IntBuffer.java: Likewise.
1516         * java/nio/ShortBuffer.java: Likewise.
1517
1518 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1519
1520         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1521
1522 2004-09-21  Michael Koch  <konqueror@gmx.de>
1523
1524         * javax/net/ssl/SSLServerSocket.java:
1525         Removed comment about "Do not edit this file, it's generated.".
1526
1527 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1528
1529         Import the big Crypto/Jessie/Security merge from Classpath.
1530
1531         * Makefile.am: Add imported files.
1532         * Makefile.in: Regenerate.
1533
1534         2004-08-14  Casey Marshall <csm@gnu.org>
1535
1536         The Big Crypto Merge of 2004.
1537
1538         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1539         Crypto's version.
1540
1541         Files imported from GNU Crypto.
1542         * javax/crypto/BadPaddingException.java
1543         * javax/crypto/Cipher.java
1544         * javax/crypto/CipherInputStream.java
1545         * javax/crypto/CipherOutputStream.java
1546         * javax/crypto/CipherSpi.java
1547         * javax/crypto/EncryptedPrivateKeyInfo.java
1548         * javax/crypto/ExemptionMechanism.java
1549         * javax/crypto/ExemptionMechanismException.java
1550         * javax/crypto/ExemptionMechanismSpi.java
1551         * javax/crypto/IllegalBlockSizeException.java
1552         * javax/crypto/KeyAgreement.java
1553         * javax/crypto/KeyAgreementSpi.java
1554         * javax/crypto/KeyGenerator.java
1555         * javax/crypto/KeyGeneratorSpi.java
1556         * javax/crypto/Mac.java
1557         * javax/crypto/MacSpi.java
1558         * javax/crypto/Makefile.am
1559         * javax/crypto/NoSuchPaddingException.java
1560         * javax/crypto/NullCipher.java
1561         * javax/crypto/NullCipherImpl.java
1562         * javax/crypto/SealedObject.java
1563         * javax/crypto/SecretKey.java
1564         * javax/crypto/SecretKeyFactory.java
1565         * javax/crypto/SecretKeyFactorySpi.java
1566         * javax/crypto/ShortBufferException.java
1567         * javax/crypto/interfaces/DHKey.java
1568         * javax/crypto/interfaces/DHPrivateKey.java
1569         * javax/crypto/interfaces/DHPublicKey.java
1570         * javax/crypto/interfaces/PBEKey.java
1571         * javax/crypto/spec/DESKeySpec.java
1572         * javax/crypto/spec/DESedeKeySpec.java
1573         * javax/crypto/spec/DHGenParameterSpec.java
1574         * javax/crypto/spec/DHParameterSpec.java
1575         * javax/crypto/spec/DHPrivateKeySpec.java
1576         * javax/crypto/spec/DHPublicKeySpec.java
1577         * javax/crypto/spec/IvParameterSpec.java
1578         * javax/crypto/spec/PBEKeySpec.java
1579         * javax/crypto/spec/PBEParameterSpec.java
1580         * javax/crypto/spec/RC2ParameterSpec.java
1581         * javax/crypto/spec/RC5ParameterSpec.java
1582         * javax/crypto/spec/SecretKeySpec.java
1583         * javax/security/auth/AuthPermission.java
1584         * javax/security/auth/DestroyFailedException.java
1585         * javax/security/auth/Destroyable.java
1586         * javax/security/auth/Policy.java
1587         * javax/security/auth/PrivateCredentialPermission.java
1588         * javax/security/auth/RefreshFailedException.java
1589         * javax/security/auth/Refreshable.java
1590         * javax/security/auth/Subject.java
1591         * javax/security/auth/SubjectDomainCombiner.java
1592         * javax/security/auth/callback/Callback.java
1593         * javax/security/auth/callback/CallbackHandler.java
1594         * javax/security/auth/callback/ChoiceCallback.java
1595         * javax/security/auth/callback/ConfirmationCallback.java
1596         * javax/security/auth/callback/LanguageCallback.java
1597         * javax/security/auth/callback/NameCallback.java
1598         * javax/security/auth/callback/PasswordCallback.java
1599         * javax/security/auth/callback/TextInputCallback.java
1600         * javax/security/auth/callback/TextOutputCallback.java
1601         * javax/security/auth/callback/UnsupportedCallbackException.java
1602         * javax/security/auth/login/AccountExpiredException.java
1603         * javax/security/auth/login/AppConfigurationEntry.java
1604         * javax/security/auth/login/Configuration.java
1605         * javax/security/auth/login/CredentialExpiredException.java
1606         * javax/security/auth/login/FailedLoginException.java
1607         * javax/security/auth/login/LoginContext.java
1608         * javax/security/auth/login/LoginException.java
1609         * javax/security/auth/login/NullConfiguration.java
1610         * javax/security/auth/x500/X500PrivateCredential.java
1611         * javax/security/sasl/AuthenticationException.java
1612         * javax/security/sasl/AuthorizeCallback.java
1613         * javax/security/sasl/RealmCallback.java
1614         * javax/security/sasl/RealmChoiceCallback.java
1615         * javax/security/sasl/Sasl.java
1616         * javax/security/sasl/SaslClient.java
1617         * javax/security/sasl/SaslClientFactory.java
1618         * javax/security/sasl/SaslException.java
1619         * javax/security/sasl/SaslServer.java
1620         * javax/security/sasl/SaslServerFactory.java
1621         * org/ietf/jgss/ChannelBinding.java
1622         * org/ietf/jgss/GSSContext.java
1623         * org/ietf/jgss/GSSCredential.java
1624         * org/ietf/jgss/GSSException.java
1625         * org/ietf/jgss/GSSManager.java
1626         * org/ietf/jgss/GSSName.java
1627         * org/ietf/jgss/MessageProp.java
1628         * org/ietf/jgss/Oid.java
1629         * org/ietf/jgss/MessagesBundle.properties
1630
1631         Files imported from Jessie <http://www.nongnu.org/jessie/>
1632         * javax/net/ServerSocketFactory.java
1633         * javax/net/SocketFactory.java
1634         * javax/net/VanillaServerSocketFactory.java
1635         * javax/net/VanillaSocketFactory.java
1636         * javax/net/ssl/HandshakeCompletedEvent.java
1637         * javax/net/ssl/HandshakeCompletedListener.java
1638         * javax/net/ssl/HostnameVerifier.java
1639         * javax/net/ssl/HttpsURLConnection.java
1640         * javax/net/ssl/KeyManager.java
1641         * javax/net/ssl/KeyManagerFactory.java
1642         * javax/net/ssl/KeyManagerFactorySpi.java
1643         * javax/net/ssl/ManagerFactoryParameters.java
1644         * javax/net/ssl/SSLContext.java
1645         * javax/net/ssl/SSLContextSpi.java
1646         * javax/net/ssl/SSLException.java
1647         * javax/net/ssl/SSLHandshakeException.java
1648         * javax/net/ssl/SSLKeyException.java
1649         * javax/net/ssl/SSLPeerUnverifiedException.java
1650         * javax/net/ssl/SSLPermission.java
1651         * javax/net/ssl/SSLProtocolException.java
1652         * javax/net/ssl/SSLServerSocket.java
1653         * javax/net/ssl/SSLServerSocketFactory.java
1654         * javax/net/ssl/SSLSession.java
1655         * javax/net/ssl/SSLSessionBindingEvent.java
1656         * javax/net/ssl/SSLSessionBindingListener.java
1657         * javax/net/ssl/SSLSessionContext.java
1658         * javax/net/ssl/SSLSocket.java
1659         * javax/net/ssl/SSLSocketFactory.java
1660         * javax/net/ssl/TrivialHostnameVerifier.java
1661         * javax/net/ssl/TrustManager.java
1662         * javax/net/ssl/TrustManagerFactory.java
1663         * javax/net/ssl/TrustManagerFactorySpi.java
1664         * javax/net/ssl/X509KeyManager.java
1665         * javax/net/ssl/X509TrustManager.java
1666         * javax/security/cert/Certificate.java
1667         * javax/security/cert/CertificateEncodingException.java
1668         * javax/security/cert/CertificateException.java
1669         * javax/security/cert/CertificateExpiredException.java
1670         * javax/security/cert/CertificateNotYetValidException.java
1671         * javax/security/cert/CertificateParsingException.java
1672         * javax/security/cert/X509CertBridge.java
1673         * javax/security/cert/X509Certificate.java
1674
1675         2004-08-20  Casey Marshall  <csm@gnu.org>
1676
1677         * java/security/cert/X509CRLSelector.java: New file.
1678         * java/security/cert/X509CertSelector.java: New file.
1679
1680 2004-09-15  Michael Koch  <konqueror@gmx.de>
1681
1682         * gnu/java/net/protocol/file/Handler.java
1683         (openConnection): Don't throw exception if host part for file: URI is
1684         present. setURL() keeps file: protocol if ftp: protocol is not
1685         available.
1686
1687 2004-09-14  Richard Henderson  <rth@redhat.com>
1688
1689         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1690         value of sigsuspend.
1691
1692 2004-09-12  Tom Tromey  <tromey@redhat.com>
1693
1694         * javax/naming/CompoundName.java (CompoundName): Don't check for
1695         separator in "flat" case.
1696
1697 2004-09-12  Michael Koch  <konqueror@gmx.de>
1698
1699         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1700         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1701         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1702         Regenerate.
1703
1704 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1705
1706         PR libgcj/14751
1707         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1708         handle in newly-allocated _Jv_Thread_t.
1709         (_Jv_ThreadDestroyData): Close thread handle.
1710         (_Jv_ThreadStart): Remove obsolete comment.
1711         Store handle of newly-created thread in _Jv_Thread_t.
1712         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1713         before including <windows.h>
1714         #define _Jv_HaveCondDestroy
1715
1716 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1717
1718         * java/lang/natThread.cc (finalize_native): Destroy
1719         join conditional variable and mutex if these destroy
1720         operations are supported.
1721
1722 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1723
1724         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1725         (DEFAULT_PERMISSION): New constant.
1726         (Connection): Create a FilePermission with permission to read file.
1727
1728 2004-09-10  Michael Koch  <konqueror@gmx.de>
1729
1730         * gnu/java/net/protocol/file/Connection.java
1731         (getLastModified): Moved around.
1732         (getPermission): Return stored permission.
1733
1734 2004-09-10  Michael Koch  <konqueror@gmx.de>
1735
1736         * Makefile.in: Regenerate.
1737
1738 2004-09-10  Michael Koch  <konqueror@gmx.de>
1739
1740         * Makefile.am: Reverted accidently commited stuff.
1741         * configure: Regenerated.
1742
1743 2004-09-10  Michael Koch  <konqueror@gmx.de>
1744
1745         * gnu/java/net/protocol/file/Connection.java
1746         (lineSeparator): Made non-final.
1747         (static): Removed.
1748         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1749         instead of StringBufferInputStream.
1750
1751 2004-09-10  Michael Koch  <konqueror@gmx.de>
1752
1753         * gnu/java/net/protocol/file/Connection.java
1754         (connect): Handle file is a directory case.
1755
1756 2004-09-10  Michael Koch  <konqueror@gmx.de>
1757
1758         * Makefile.am
1759         (xlib_includes): Removed.
1760         (AM_CPPFLAGS): Renamed from INCLUDES.
1761         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1762         * Makefile.in: Regenerate.
1763
1764 2004-09-09  Michael Koch  <konqueror@gmx.de>
1765
1766         * java/security/ProtectionDomain.java,
1767         * java/util/PropertyPermissionCollection.java:
1768         Fixed javadocs all over.
1769
1770 2004-09-09  Sven de Marothy  <sven@physto.se>
1771
1772         Patch from David Gilbert <david.gilbert@object-refinery.com>
1773         * java/lang/Comparable.java: Fixed documentation errors.
1774         * java/util/Arrays.java: Likewise.
1775
1776 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1777
1778         * java/net/Inet4Address.java
1779         (Inet4Address): Added comment to serialization UID.
1780         * java/text/Format.java
1781         (Format): Added comment to serialization UID.
1782
1783 2004-09-09  Michael Koch  <konqueror@gmx.de>
1784
1785         * java/lang/System.java
1786         (err): Fixed javadoci to point to setErr() and not setOut().
1787
1788 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1789
1790         (normalizePath): Added special case for windows systems.
1791
1792 2004-09-09  Michael Koch  <konqueror@gmx.de>
1793
1794         * java/io/File.java
1795         (dupSeparator): Made private.
1796         (File(URI)): New constructor.
1797         (getParentFile): Fixed javadoc.
1798         (createTempFile): Reformated.
1799         (setReadOnly): Added comment.
1800         (deleteOnExit): Merged javadoc with classpath version.
1801
1802 2004-09-09  Michael Koch  <konqueror@gmx.de>
1803
1804         * Makefile.am: Don't try to include deps.mk.
1805         * Makefile.in: Regenerated.
1806
1807 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1808
1809         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1810         .d files.
1811         * configure: Rebuilt.
1812
1813 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1814
1815         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1816         Changed pfn from static local to local.
1817
1818 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1819             H.J. Lu  <hongjiu.lu@intel.com>
1820
1821         PR libgcj/17290
1822         * Makefile.am (GCJCOMPILE): Remove definition.
1823         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1824         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1825         * Makefile.in: Rebuilt.
1826
1827 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1828
1829         * configure.ac (enable-gc-debug): Update help for new syntax.
1830         * configure: Regenerate.
1831
1832 2004-09-03  David Daney  <ddaney@avtrex.com>
1833
1834         * include/mips-signal.h: Update copyright.
1835
1836 2004-09-03  David Daney  <ddaney@avtrex.com>
1837
1838         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1839         * include/mips-signal.h: Added HANDLE_FPE support.
1840         
1841 2004-08-31  Michael Koch  <konqueror@gmx.de>
1842
1843         * javax/swing/plaf/basic/BasicTextAreaUI.java
1844         (create): New method.
1845         * javax/swing/text/DefaultHighlighter.java
1846         (DefaultHighlightPainter.debugRect): Removed.
1847         * javax/swing/text/StyleContext.java
1848         (DEFAULT_STYLE): New field.
1849
1850 2004-08-31  Michael Koch  <konqueror@gmx.de>
1851
1852         * javax/swing/plaf/basic/BasicLookAndFeel.java
1853         (initComponentDefaults): Add keybindings for selection.backward and
1854         selection-forward for text components.
1855         * javax/swing/plaf/basic/BasicTextUI.java
1856         (paintSafely): Paint highlight only when something is actually
1857         selected.
1858         * javax/swing/text/DefaultCaret.java
1859         (handleHighlight): New method.
1860         (setSelectionVisible): Don't do anything when nothing changes.
1861         Handle highlight.
1862         (moveDot): Reimplemented. Handle highlight.
1863         (setDot): Set mark too. Handle highlight.
1864         (getSelectionPainter): New method.
1865         * javax/swing/text/DefaultEditorKit.java
1866         (defaultActions): Added new actions for text selection.
1867         * javax/swing/text/DefaultHighlighter.java
1868         (DefaultHighlightPainter): New inner class.
1869         (DefaultPainter): New field.
1870         (paint): Implemented.
1871         * javax/swing/text/PlainView.java
1872         (paint): Don't draw background here again.
1873         * javax/swing/text/Utilities.java
1874         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1875         (drawTabbedText): Likewise.
1876
1877 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1878
1879         * javax/swing/JComponent.java
1880         (resetKeyboardActions): Add null checks.
1881
1882 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1883
1884         * javax/swing/DefaultButtonModel.java:
1885         Skip group notification when no group is set.
1886
1887 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1888
1889         * javax/swing/JColorChooser.java: 
1890         Make a couple inner classes static, for jikes.
1891
1892 2004-08-31  Michael Koch  <konqueror@gmx.de>
1893
1894         * javax/swing/plaf/basic/BasicTextUI.java
1895         (RottView.modelToView): New method.
1896         (UpdateHandler): Renamed from EventHandler.
1897         (updateHandler): Renamed from eventHandler.
1898         (modelToView): Implemented.
1899         * javax/swing/text/AbstractDocument.java
1900         (BranchElement.getElement): Return null for non-existing indeces.
1901         (BranchElement.getElementIndex): Return 0 in some corner cases.
1902         * javax/swing/text/FieldView.java
1903         (modelToView): New method.
1904         * javax/swing/text/PlainView.java
1905         (modelToView): Made public.
1906
1907 2004-08-31  Kim Ho  <kho@redhat.com>
1908
1909         * Makefile.am: New files.
1910         * Makefile.in: Regenerate.
1911         * gcj/Makefile.in: Regenerate.
1912         * include/Makefile.in: Regenerate.
1913         * java/awt/Color.java: Fix documentation.
1914         (RGBtoHSB): Use floats for conversions.
1915         * javax/swing/ButtonGroup.java: Run Jalopy.
1916         (setSelected): Reimplement.
1917         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1918         (changeState): Let ButtonGroup know that the button 
1919         is changing state.
1920         * javax/swing/JColorChooser.java: Implement.
1921         * javax/swing/JLabel.java: Run Jalopy.
1922         * javax/swing/JSpinner.java: Run Jalopy.
1923         (setValue): New method.
1924         * javax/swing/JTabbedPane.java: Run Jalopy.
1925         (removeTabAt): Call correct remove method.
1926         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1927         (getPreviousValue): Compare minimum value.
1928         * javax/swing/Timer.java: Run Jalopy.
1929         (run): Comment out println.
1930         * javax/swing/ToolTipManager.java:
1931         (mouseMoved): Get new tooltip text for location.
1932         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1933         Jalopy and Javadoc.
1934         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1935         Implement.
1936         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1937         Run Jalopy.
1938         (setSelectedColor): Fire ChangeEvent.
1939         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1940         New file. Implement.
1941         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1942         Ditto.
1943         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1944         Ditto.
1945         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1946         Ditto.
1947         * javax/swing/plaf/basic/BasicArrowButton.java:
1948         (getArrow): Fix size of upward pointing button.
1949         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1950         Implement.
1951         * javax/swing/plaf/basic/BasicSliderUI.java:
1952         (getWidthOfWidestLabel): Use preferred dimensions.
1953         (getHeightOfTallestLabel): Ditto.
1954         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1955         Run Jalopy.
1956         (mousePressed): Disable changes to spinner if it is not enabled.
1957         * testsuite/Makefile.in: Regenerate.
1958
1959
1960 2004-08-31  Michael Koch  <konqueror@gmx.de>
1961
1962         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1963         javax/swing/plaf/basic/BasicTableUI.java:
1964         Added copyright notice.
1965
1966 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1967
1968         * Makefile.am: Added new files.
1969         * Makefile.in: Regenerate.
1970         * javax/swing/ComboBoxEditor.java: Added javadocs.
1971         * javax/swing/ComboBoxModel.java: Likewise.
1972         * javax/swing/DefaultComboBoxModel.java: Implemented.
1973         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1974         and ran through jalopy to fix formatting style.
1975         (getListCellRendererComponent): Use appropriate border
1976         if renderer has focus and use noFocusBorder when it doesn't.
1977         * javax/swing/JComboBox.java: Implemented.
1978         * javax/swing/JList.java:
1979         (locationToIndex): New Method. Implemented.
1980         (indexToLocation): New Method.
1981         * javax/swing/JPopupMenu.java: 
1982         (visible): New field.
1983         (isVisible): Changed to use new field above.
1984         (setVisible): Likewise.
1985         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1986         * javax/swing/plaf/basic/BasicArrowButton.java: 
1987         (shadow): Changed default color to Color.gray.
1988         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1989         UI delegate for JComboBox.
1990         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1991         Popup menu containing list of JComboBox's items.
1992         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1993         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1994         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1995         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1996         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1997         (popupMenuWillBecomeVisible): Set selected path to the first
1998         element only if it is of type MenuElement. Also fix formatting
1999         style.
2000         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2001         methods signatures.
2002         
2003 2004-08-31  Michael Koch  <konqueror@gmx.de>
2004
2005         * javax/swing/text/AbstractDocument.java
2006         (createBranchElement): Use new constructor of BranchElement.
2007         (createLeafElement): Renamed arguments.
2008         (getRootElements): Implemented.
2009         (BranchElement.start): Removed.
2010         (BranchElement.end): Likewise.
2011         (BranchElement.BranchElement): Fixed arguments.
2012         (BranchElement.getEndOffset): Reimplemented.
2013         (BranchElement.getStartOffset): Likewis.
2014         * javax/swing/text/DefaultCaret.java
2015         (paint): Draw simple vertical line as caret instead of a rectangle.
2016         * javax/swing/text/JTextComponent.java
2017         (setText): Use doc directly.
2018         * javax/swing/text/PlainView.java
2019         (nextTabStop): Implemented.
2020         * javax/swing/text/Utilities.java
2021         (drawTabbedText): nextTabStop() returns an absolute x position.
2022         (getTabbedTextWidth): Likewise.
2023
2024 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2025
2026         * java/awt/Component.java 
2027         (isFocusTraversable): Predicate on isLightweight()
2028         (setFocusable): Set isFocusTraversableOverridden.
2029         (requestFocus): Predicate peer dispatch on !isLightweight()
2030         (requestFocusInWindow): Likewise.
2031         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2032         * java/awt/Container.java
2033         (dispatchEventImpl): Predicate on event mask.
2034         (LightweightDispatcher): Remove focus machinery.
2035         * java/awt/DefaultFocusTraversalPolicy.java
2036         (accept): Expand predicate to include isFocusable(). 
2037         * java/awt/DefaultKeyboardFocusManager.java:
2038         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2039         * java/awt/KeyboardFocusManager.java
2040         (redispatchEvent): Synchronize on event to prevent feedback.
2041         * javax/swing/AbstractButton.java
2042         (ButtonFocusListener): Remove class.
2043         (init): Set focusPainted, focusable.
2044         * javax/swing/ActionMap.java (get): Check parent for null. 
2045         * javax/swing/InputMap.java (get): Likewise. 
2046         * javax/swing/JComponent.java
2047         (inputMap_whenFocused): New InputMap.
2048         (inputMap_whenAncestorOfFocused): Likewise.
2049         (inputMap_whenInFocusedWindow): Likewise.
2050         (getActionForKeyStroke): Rewrite.
2051         (getConditionForKeystroke): Likewise.
2052         (ActionListenerProxy): New private class.
2053         (setInputMap): Implement.
2054         (getInputMap): Likewise.
2055         (setActionMap): Likewise.
2056         (getActionMap): Likewise.
2057         (processComponentKeyEvent): New empty method.
2058         (processKeyEvent): Implement.
2059         (processKeyBinding): Likewise.
2060         (resetKeyboardActions): Rewrite.
2061         * javax/swing/KeyStroke.java: Rewrite.
2062         * javax/swing/SwingUtilities.java
2063         (notifyAction): Implement.
2064         (replaceUIActionMap): Likewise.
2065         (replaceUIInputMap): Likewise.
2066         * javax/swing/plaf/basic/BasicButtonListener.java
2067         (focusGained): Implement.
2068         (focusLost): Repaint if focusPainted().
2069         (installKeyboardActions): Install pressed / released actions.
2070         (uninstallKeyboardActions): Implement.
2071         * javax/swing/plaf/basic/BasicButtonUI.java
2072         (focusColor): New field.
2073         (installDefaults): Load focus color, install input map.
2074         (installKeyboardActions): Implement.
2075         (uninstallKeyboardActions): Likewise.
2076         (paintFocus): Rewrite.
2077         * javax/swing/plaf/basic/BasicLookAndFeel.java
2078         (Button.focus): New default, midPurple. 
2079         * javax/swing/plaf/basic/BasicTextUI.java
2080         (kit): Make static.
2081         (installUI): Get doc from kit, load defaults.
2082         (getKeymapName): Implement.
2083         (createKeymap): Likewise.
2084         (installKeyboardActions): Likewise.
2085         (getInputMap): Likewise.
2086         (getActionMap): Likewise.
2087         (createActionMap): Likewise.
2088         * javax/swing/text/AbstractDocument.java
2089         (getStartPosition): Implement.
2090         (getEndPosition): Likewise.
2091         * javax/swing/text/DefaultEditorKit.java
2092         (CopyAction): New class.
2093         (CutAction): Likewise.
2094         (DefaultKeyTypedAction): Likewise.
2095         (InsertBreakAction): Likewise.
2096         (InsertContentAction): Likewise.
2097         (InsertTabAction): Likewise.
2098         (PasteAction): Likewise.
2099         (defaultActions): New static table.
2100         (createCaret): Implement.
2101         (getActions): Likewise.
2102         * javax/swing/text/JTextComponent.java
2103         (KeymapWrapper): New private class.
2104         (KeymapActionMap): Likewise.
2105         (DefaultKeymap): New class.
2106         (keymaps): New static table.
2107         (keymap): New field.
2108         (getKeymap): Implement.
2109         (removeKeymap): Likewise.
2110         (addKeymap): Likewise.
2111         (setKeymap): Likewise.
2112         (loadKeymap): Likewise.
2113         (getActions): Likewise.
2114         (margin): New field.
2115         (JTextComponent): Build and install default keymap.
2116         * javax/swing/text/TextAction.java
2117         (textAction): Call super properly.
2118         (getTextComponent): Implement.
2119         * javax/swing/text/Utilities.java
2120         (drawTabbedText): Adjust position by ascent.
2121
2122 2004-08-31  David Jee  <djee@redhat.com>
2123
2124         PR AWT/17156
2125
2126         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2127         (setEnabled): Make it a native method.
2128         * java/awt/DefaultKeyboardFocusManager.java
2129         (postProcessKeyEvent): Only post event if the menu item
2130         is active.
2131         * java/awt/MenuItem.java:
2132         Private field 'enabled' should be true by default.
2133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2134         (setEnabled): New function.
2135
2136 2004-08-31  David Jee  <djee@redhat.com>
2137
2138         PR AWT/17059
2139
2140         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2141         (nativeSetHelpMenu): New native method declaration.
2142         (addHelpMenu): Call nativeSetHelpMenu().
2143         (addMenu): Remove.
2144         * java/awt/MenuBar.java
2145         (setHelpMenu): Call addNotify() on the new help menu.
2146         (add): Call addNotify() on the new menu.
2147         (addNotify): Set the help menu if one exists.
2148         * java/awt/peer/MenuBarPeer.java
2149         (addMenu): Remove.
2150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2151         (nativeSetHelpMenu): New method.
2152
2153 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2154
2155         * Makefile.am: Add new files.
2156         * Makefile.in: Regenerate.
2157         * javax/swing/Box.java: Fix setting of layout in ctor.
2158         * javax/swing/JScrollPane.java: Scroll headers as well.
2159         * javax/swing/JTable.java: Reimplement.
2160         * javax/swing/JViewPort.java: Only add non-null children.
2161         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2162         * javax/swing/Timer.java: Fix stopping null waker.
2163         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2164         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2165         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2166         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2167         * javax/swing/table/DefaultTableModel.java: Clean up.
2168         * javax/swing/table/JTableHeader.java: Implement.
2169
2170 2004-08-31  Mark Wielaard  <mark@klomp.org>
2171
2172         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2173         semi-colon.
2174
2175 2004-08-31  Mark Wielaard  <mark@klomp.org>
2176
2177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2178         Declare variables at top of functions/block.
2179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2180
2181 2004-08-31  Mark Wielaard  <mark@klomp.org>
2182
2183         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2184         first.
2185
2186 2004-08-31  Michael Koch  <konqueror@gmx.de>
2187
2188         * javax/swing/text/PlainView.java
2189         (selectedColor): New field.
2190         (unselectedColor): Likewise.
2191         (font): Likewise.
2192         (updateMetrics): New method.
2193         (lineToRect): Likewise.
2194         (modelToView): Likewise.
2195         (drawSelectedText): Use color from JTextComponent ad draw with
2196         Utilities class.
2197         (drawUnselectedText): Likewise.
2198         (paint): Initialize helper fields.
2199         * javax/swing/text/View.java
2200         (getChildAllocation): New method.
2201         (getViewIndex): Likewise.
2202         (getToolTipText): Likewise.
2203
2204 2004-08-31  Michael Koch  <konqueror@gmx.de>
2205
2206         * javax/swing/text/Utilities.java
2207         (drawTabbedText): Reimplemented.
2208         (getTabbedTextWidth): Likewise.
2209
2210 2004-08-31  Michael Koch  <konqueror@gmx.de>
2211
2212         * javax/swing/plaf/basic/BasicTextUI.java
2213         (installDefaults): Install caret and highlighter.
2214         (modelToView): Use Bias.Forward when calling sibling.
2215         * javax/swing/text/AbstractDocument.java
2216         (ElementEdit): Implements DocumentEvent.ElementChange.
2217         (ElementEdit.ElementEdit): New method.
2218         (ElementEdit.getChildrenAdded): Likewise.
2219         (ElementEdit.getChildrenRemoved): Likewise.
2220         (ElementEdit.getElement): Likewise.
2221         (ElementEdit.getIndex): Likewise.
2222         * javax/swing/text/DefaultCaret.java
2223         (color): Removed.
2224         (textComponent): Renamed from parent, made private.
2225         (selectionVisible): Renamed from vis_sel, made private.
2226         (blinkRate): Renamed from blink, made private.
2227         (magicCaretPosition): Renamed from magic, made private.
2228         (visible): Renamed from vis, made private.
2229         (dot): Made private.
2230         (mark): Likewise.
2231         (deinstall): Remove as MouseMotionListener.
2232         (install): Initialize textComponent first. Add as MouseMotionListener.
2233         (paint): Reimplemented.
2234         * javax/swing/text/JTextComponent.java
2235         (setCaret): Deinstall old caret, install new one and fire property
2236         change after setting property.
2237         (setHighlighter): Deinstall old highlighter, install new one and fire
2238         property change after setting property.
2239         (setCaretColor): Fire property change after setting property.
2240         (setDisabledTextColor): Likewise.
2241         (setSelectedTextColor): Likewise.
2242         (setSelectionColor): Likewise.
2243         (modelToView): New method.
2244
2245 2004-08-31  Michael Koch  <konqueror@gmx.de>
2246
2247         * javax/swing/text/AbstractDocument.java
2248         (getText): Simplified.
2249         * javax/swing/text/Segment.java
2250         (current): New field.
2251         (current): Reimplemented.
2252         (first): Likewise.
2253         (getIndex): Likewise.
2254         (last): Likewise.
2255         (next): Likewise.
2256         (previous): Likewise.
2257         (setIndex): Likewise.
2258
2259 2004-08-31  Michael Koch  <konqueror@gmx.de>
2260
2261         * javax/swing/plaf/basic/BasicButtonUI.java
2262         (defaultTextIconGap): Made protected.
2263         (defaultTextShiftOffset): Likewise.
2264         (textShiftOffset): New field.
2265         (clearTextShiftOffset): New method.
2266         (getTextShiftOffset): Likewise.
2267         (setTextShiftOffset): Likewise.
2268
2269 2004-08-31  Michael Koch  <konqueror@gmx.de>
2270
2271         * javax/swing/plaf/basic/BasicTextUI.java
2272         (installUI): Add eventHandler as property listener.
2273         (uninstallUI): remove eventHandler as propert listener.
2274         (installDefaults): Added comment.
2275         (installListeners): Likewise.
2276         (installKeyboardActions): Likewise.
2277         (uninstallDefaults): Likewise.
2278         (uninstallListeners): Likewise.
2279         (uninstallKeyboardActions): Likewise.
2280
2281 2004-08-31  Michael Koch  <konqueror@gmx.de>
2282
2283         * javax/swing/text/AbstractDocument.java:
2284         Fixed some typos in comments.
2285         (insertString): Reimplemented.
2286         (remove): Likewise.
2287         (replace): New method.
2288         (children): Dont use fully qualified class name.
2289         (DefaultDocumentEvent.offset): Renamed from off.
2290         (DefaultDocumentEvent.length): Renamed from len.
2291         (DefaultDocumentEvent.type): New field.
2292         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2293         (DefaultDocumentEvent.getType): Implemented.
2294
2295 2004-08-31  Michael Koch  <konqueror@gmx.de>
2296
2297         * javax/swing/plaf/basic/BasicTextUI.java
2298         (RootView.textComponent): Removed.
2299         (RootView.RootView): Don't initialize textComponent.
2300         (RootView.getViewFactory): New method.
2301         (EventHandler): New inner class.
2302         (rootView): Initialize at instance creation.
2303         (eventHandler): New field.
2304         (installUI): Don't create view hierarchy directly,
2305         call modelChanged() instead.
2306         (modelChanged): New method.
2307         * javax/swing/text/JTextComponent.java
2308         (setDocument): Fire property change event.
2309
2310 2004-08-31  Michael Koch  <konqueror@gmx.de>
2311
2312         * javax/swing/plaf/basic/BasicTextUI.java
2313         (RootView.paint): Removed debug output.
2314         (paintSafely): Draw highlighter before text.
2315         (paintBackground): Use background color of text component.
2316         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2317         Reformatted.
2318
2319 2004-08-31  Michael Koch  <konqueror@gmx.de>
2320
2321         * javax/swing/plaf/basic/BasicToolBarUI.java
2322         (BasicToolBarUI): Fixed arguments for constructor.
2323         (createUI): Fixed creation of object.
2324
2325 2004-08-31  Michael Koch  <konqueror@gmx.de>
2326
2327         * javax/swing/DefaultListSelectionModel.java
2328         (fireValueChanged): Renamed from fireSelectionValueChanged,
2329         made protected.
2330
2331 2004-08-31  Michael Koch  <konqueror@gmx.de>
2332
2333         * javax/swing/text/TabSet.java
2334         (TabSet): Implements java.io.Serializable.
2335         * javax/swing/text/TabStop.java
2336         (TabStop): Implements java.io.Serializable.
2337         (TabStop): Made public.
2338
2339 2004-08-31  Michael Koch  <konqueror@gmx.de>
2340
2341         * javax/swing/JComponent.java
2342         (setUI): Fire PropertyChange.
2343         * javax/swing/JLabel.java
2344         (text): Renamed from labelText.
2345         (horizontalAlignment): New default vlaue.
2346         (icon): Renamed from activeIcon.
2347         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2348         (displayedMnemonicIndex): Renamed from underlineChar.
2349         (setDisplayedMnemonic): Reimplemented.
2350         * javax/swing/JRadioButton.java
2351         (JRadioButton): New constructors.
2352         * javax/swing/JTextField.java
2353         (JTextField): Throw exception if colums < 0, initialitialz
2354         this.columns directly and initialize document with text conditionally.
2355
2356 2004-08-31  Michael Koch  <konqueror@gmx.de>
2357
2358         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2359         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2360         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2361         * javax/swing/text/FieldView.java
2362         (paint): Just call super method for now.
2363         * Makefile.am: Added new files.
2364         * Makefile.in: Regenerated.
2365
2366 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2367
2368         * javax/swing/AbstractSpinnerModel.java,
2369         javax/swing/JSpinner.java,
2370         javax/swing/SpinnerNumberModel.java,
2371         javax/swing/plaf/basic/BasicSpinnerUI.java:
2372         New files.
2373         * javax/swing/plaf/basic/BasicLookAndFeel.java
2374         (initClassDefaults): Added defaults for BasicSpinnerUI.
2375
2376 2004-08-31  Michael Koch  <konqueror@gmx.de>
2377
2378         * Makefile.am: Added new files.
2379         * Makefile.in: Regenerated.
2380
2381 2004-08-31  Michael Koch  <konqueror@gmx.de>
2382
2383         * javax/swing/TransferHandler.java,
2384         javax/swing/plaf/basic/ComboPopup.java: New files
2385         * Makefile.am: Added javax/swing/TransferHandler.java and
2386         javax/swing/plaf/basic/ComboPopup.java
2387         * Makefile.in: Regenerated.
2388
2389 2004-08-31  Roman Kennke  <roman@ontographics.com>
2390
2391         * javax/swing/text/Utilities.java: New file.
2392
2393 2004-08-31  Michael Koch  <konqueror@gmx.de>
2394
2395         * Makefile.am: Added javax/swing/text/Utilities.java.
2396         * Makefile.in: Regenerated.
2397
2398 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2399
2400         * javax/swing/text/SimpleAttributeSet.java: New file.
2401         * javax/swing/text/StyleConstants.java: New file.
2402         * javax/swing/text/StyleContext.java: New file.
2403         * javax/swing/text/TabSet.java: New file.
2404         * javax/swing/text/TabStop.java: New file.
2405         * javax/swing/text/AbstactDocument.java:
2406         (AbstractElement): Implement attribute support.
2407         * javax/swing/text/AttributeSet.java
2408         (NameAttribute): New static field.
2409         (ResolveAttribute): New static field.
2410         * Makefile.am: Update for new files.
2411         * Makefile.in: Regenerate.
2412
2413 2004-08-31  Craig Black  <craig.black@aonix.com>
2414
2415         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2416         (drawImage): Add support for scaling pixmaps.
2417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2418         (copyAndScalePixmap): New native method.
2419  
2420 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2421
2422         PR AWT/16121
2423         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2424         type-punning compiler warnings using unions.
2425         (throw): Replace bzero with memset.
2426
2427 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2428             Thomas Fitzsimmons  <fitzsim@redhat.com>
2429
2430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2431         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2432         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2434         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2435
2436 2004-08-31  Mark Wielaard  <mark@klomp.org>
2437
2438         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2439         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2440         and stdlib.h, not gtkpeer.h.
2441         (*vm): New static variable.
2442         (areaPreparedID): Make static.
2443         (areaUpdatedID): Likewise.
2444         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2445         (area_prepared): Likewise.
2446         (area_updated): Likewise.
2447         (closed): Likewise.
2448         (initStaticState): Initialize *vm javaVM.
2449         (pumpBytes): Use given env, not global gdk_env.
2450
2451 2004-08-31  Mark Wielaard  <mark@klomp.org>
2452
2453         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2454         comments.
2455
2456 2004-08-31  Sven de Marothy  <sven@physto.se>
2457
2458         * java/awt/geom/CubicCurve2D.java: Reindent.
2459         (contains): Implemented.
2460         (intersects): Implemented.
2461         * java/awt/geom/QuadCurve2D.java: Likewise.
2462         * java/awt/geom/GeneralPath.java: Reindent and document.
2463         Fully (re)implemented using separate xpoints and ypoints
2464         float[] coords.
2465         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2466
2467 2004-08-31  Michael Koch  <konqueror@gmx.de>
2468
2469         * javax/swing/JMenuItem.java
2470         (getMenuDragMouseListeners): New method.
2471         (getMenuKeyListeners): Likewise.
2472
2473 2004-08-31  Michael Koch  <konqueror@gmx.de>
2474
2475         * javax/swing/AbstractButton.java
2476         (model): Made protected.
2477         (actionListener): Likewise.
2478         (changeListener): Likewise.
2479         (itemListener): Likewise.
2480         (multiClickThreshhold): New field.
2481         (getActionListeners): New method.
2482         (getChangeListeners): Likewise.
2483         (getItemListeners): Likewise.
2484         (fireItemStateChanged): Simplified implementation.
2485         (fireActionPerformed): Likewise.
2486         (fireStateChanged): Likewise.
2487         (getMultiClickThreshhold): New method.
2488         (setMultiClickThreshhold): Likewise.
2489
2490 2004-08-31  Tom Tromey  <tromey@redhat.com>
2491
2492         * java/awt/image/Kernel.java (clone): Use super.clone().
2493
2494 2004-08-31  David Jee  <djee@redhat.com>
2495
2496         PR AWT/16682
2497         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2498         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2499         (nativeSetIconImageFromData): New native method declaration.
2500         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2501         * gnu/java/awt/peer/gtk/GtkImage.java
2502         (getPixelCache): New method.
2503         (getColorModel): New method.
2504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2505         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2506         (free_pixbuf_data): New helper function.
2507         (nativeSetIconImageFromData): New function.
2508
2509 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2510
2511         PR SWING/16576
2512         * javax/swing/JLayeredPane.java 
2513         (setLayer): Permit changing layer after addition.
2514         (setPosition): Permit over-length positions.
2515         (layerToRange): Compare intValue()s.
2516         * javax/swing/Box.java (createHorizontalBox): Implement.
2517         (createRigidArea): Likewise.
2518         (createVerticalBox): Likewise.
2519
2520 2004-08-31  Kim Ho  <kho@redhat.com>
2521
2522         * java/awt/Component.java:
2523         (processMouseEvent): Consume event after
2524         listeners process it.
2525         (processMouseMotionEvent): ditto.
2526         (processMouseWheelEvent): ditto.
2527         * java/awt/Container.java:
2528         (acquireComponentForMouseEvent):
2529         Do not dispatch to events that have been
2530         removed from the Container.
2531         (handleEvent): Consume the MouseEvents.
2532         * javax/swing/RepaintManager.java:
2533         (paintDirtyRegions): Do not add to list of 
2534         damaged areas if the component has no root.
2535
2536 2004-08-31  Michael Koch  <konqueror@gmx.de>
2537
2538         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2539
2540 2004-08-31  Mark Wielaard  <mark@klomp.org>
2541
2542         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2543         null when a MissingResourceException is thrown. Should never happen.
2544
2545 2004-08-31  Mark Wielaard  <mark@klomp.org>
2546
2547         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2548         when argument is null.
2549
2550 2004-08-31  Mark Wielaard  <mark@klomp.org>
2551
2552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2553         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2554         Define hid at start of function.
2555         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2556         Likewise.
2557
2558 2004-08-31  Mark Wielaard  <mark@klomp.org>
2559
2560         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2561         * javax/swing/JButton.java: Reindent.
2562         * javax/swing/JCheckBox.java: Reindent.
2563
2564 2004-08-31  Mark Wielaard  <mark@klomp.org>
2565
2566         * Makefile.am (gtk_c_source_files): Added
2567         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2568         (gtk_awt_peer_sources): Added
2569         gnu/java/awt/peer/gtk/GThreadMutex.java and
2570         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2571         * Makefile.in: Regenerated.
2572
2573 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2574
2575         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2576
2577 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2578
2579         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2580         Added jfieldID, jmethodID.
2581
2582 2004-08-31  Mark Wielaard  <mark@klomp.org>
2583
2584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2585         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2586         gdk_env before calling any gdk or gtk function.
2587
2588         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2589         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2590         (run): Set gtkInitCalled.
2591
2592 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2593
2594         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2595         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2596
2597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2598         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2599         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2600         init_glib_threads. 
2601         (init_glib_threads): New function.
2602
2603 2004-08-31  Mark Wielaard  <mark@klomp.org>
2604
2605         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2606         PRIORITY when not already defined in header file.
2607
2608 2004-08-31  Mark Wielaard  <mark@klomp.org>
2609
2610         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2611         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2612
2613 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2614
2615         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2616         Implemented missing functions for GTK2.
2617         Added error handling.
2618         Renamed static functions out of the g_ namespace.
2619         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2620         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2621         Rewrote global-reference code.
2622         Eliminated cascading errors.
2623         (mutex_trylock_jni_impl) Fully implemented.
2624         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2625         resolution.
2626         (setup_cache) New function.
2627         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2628         bug where they were not unlocking the GMutex associated with the
2629         condition variable during the wait on that condition variable.
2630
2631         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2632         native/jni/gtk-peer/gthread-jni.c,
2633         native/jni/gtk-peer/gthread-jni.h
2634         (g_thread_jni_functions): Renamed to ...
2635         (portable_native_sync_jni_functions): this name.
2636         (gdk_vm): Renamed to...
2637         (the_vm): this name.
2638
2639         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2640         (gdk_vm): Removed duplicate definition.
2641         (gtkInit): Removed stray message to stdout.
2642         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2643         (gtkInit): Fix a const assignment bug.
2644         (gtkInit): Simplified code.
2645
2646         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2647         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2648         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2649         gnu/java/awt/peer/gtk/GThreadMutex.java:
2650         New files.
2651
2652 2004-08-31  Mark Wielaard  <mark@klomp.org>
2653
2654         * javax/swing/Box.java: Put FIXME comment above class declaration.
2655         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2656         * javax/swing/JCheckBox.java: Likewise.
2657         * javax/swing/JDialog.java: Likewise.
2658         * javax/swing/JRadioButton.java: Likewise.
2659         * javax/swing/JToggleButton.java: Likewise.
2660         * javax/swing/UIManager.java: Likewise.
2661         * javax/swing/border/TitledBorder.java: Likewise.
2662         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2663         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2664         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2665         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2666         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2667         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2668         * javax/swing/text/JTextComponent.java: Likewise.
2669
2670 2004-08-31  David Jee  <djee@redhat.com>
2671
2672         PR AWT/16682
2673         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2674         (setIconImage): Add a FIXME for unhandled cases.
2675
2676 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2677
2678         PR AWT/16040
2679         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2680         getModifiers.  Replace old button masks with new ones.
2681         * gnu/awt/xlib/XEventLoop.java: Likewise.
2682         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2683         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2684         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2685         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2686         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2687         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2688         * java/awt/Component.java: Replace old modifier masks with new
2689         ones.
2690         * java/awt/Container.java: Call getModifiersEx, not
2691         getModifiers.
2692         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2693         old modifier masks.
2694         * javax/swing/JMenuItem.java: Replace old button masks with new
2695         ones.
2696         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2697         getModifiers.
2698         * javax/swing/SwingUtilities.java: Likewise.
2699         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2700         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2702         mask macros with new ones.
2703         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2704         macros with new ones representing new masks.
2705
2706 2004-08-31  Craig Black  <craig.black@aonix.com>
2707
2708         * gnu/java/awt/peer/gtk/GdkGraphics.java
2709         (drawRoundRect): Implemented.
2710         (fillRoundRect): Implemented.
2711         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2712         (drawRoundRect): Reimplemented to match GdkGraphics.
2713         (fillRoundRect): Reimplemented to match GdkGraphics.
2714
2715 2004-08-31  Mark Wielaard  <mark@klomp.org>
2716
2717         * Makefile.in: Regenerated.
2718
2719 2004-08-31  Michael Koch  <konqueror@gmx.de>
2720
2721         * gnu/java/awt/EmbeddedWindow.java
2722         (addNotify): Use AccessController to allow execution of privileged
2723         code.
2724
2725 2004-08-31  Michael Koch  <konqueror@gmx.de>
2726
2727         * gnu/java/awt/EmbeddedWindow.java
2728         (static): Removed.
2729         (addNotify): Set peer via reflection.
2730         (setWindowPeer): Removed.
2731         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2732         * Makefile.am (nat_source_files):
2733         Removed gnu/java/awt/natEmbeddedWindow.cc.
2734
2735 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2736
2737         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2738         and gnu/java/security/action/SetAccessibleAction.java.
2739
2740 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2741
2742         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2743         Renamed from 'setName'. New 2-argument form with default value.
2744         (run): Pass default 'value' parameter to System.getProperty().
2745         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2746         typos.
2747
2748 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2749
2750         * gnu/java/security/action/GetPropertyAction.java: New class.
2751         * gnu/java/security/action/SetAccessibleAction.java: New class.
2752
2753 2004-08-31  David Jee  <djee@redhat.com>
2754
2755         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2756         (setIconImage): Check if image is null.
2757
2758 2004-08-31  David Jee  <djee@redhat.com>
2759
2760         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2761         (create): Set the icon image.
2762         (nativeSetIconImage): New native method declaration.
2763         (setIconImage): Implement.
2764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2765         (nativeSetIconImage): New function.
2766
2767 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2768
2769         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2770         (filenameFilterCallback): Declare local variable accepted before use.
2771
2772 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2773
2774         * gnu/java/awt/ComponentDataBlitOp.java:
2775         Cleaned up imports.
2776
2777 2004-08-31  Tom Tromey  <tromey@redhat.com>
2778
2779         * gnu/java/awt/peer/GLightweightPeer.java,
2780         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2781         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2782         javax/swing/JScrollPane.java: Removed
2783         redundant imports.
2784
2785 2004-08-31  David Jee  <djee@redhat.com>
2786
2787         * java/awt/DefaultKeyboardFocusManager.java
2788         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2789         event.  Fix shift modifier checking.
2790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2791         (accel_attach): Remove.
2792         (setupAccelGroup): Remove calls to accel_attach.
2793
2794 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2795
2796         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2797         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2798
2799         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2800         GtkArgList.java.
2801         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2802         * Makefile.in: Regenerate.
2803         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2804         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2805         (create(String)): New method.
2806         (create): Call new create method.
2807         (getArgs): Remove method.
2808         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2810         (nativeCreate): Rename to create.
2811         (gtkSetLabel): Rename to gtkButtonSetLabel.
2812         (gtkToggleButtonSetActive): New method.
2813         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2814         (setState): Replace set call with gtkToggleButtonSetActive.
2815         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2816         (getArgs): Remove method.
2817         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2819         (gtkWidgetSetSensitive): New method.
2820         (gtkWidgetSetParent): Likewise.
2821         (GtkComponentPeer): Call setParent, setComponentBounds and
2822         setVisibleAndEnabled.
2823         (setParent): New method.
2824         (setComponentBounds): New method.
2825         (setVisibleAndEnabled): New method.
2826         (setEnabled): Call gtkWidgetSetSensitive.
2827         (getArgs): Remove method.
2828         Remove all set methods.
2829         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2830         gtkWindowSetModal, setTitle and setResizable.
2831         (getArgs): Remove method.
2832         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2833         (setComponentBounds): New method.
2834         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2835         Replace set call with gtkWindowSetResizable.
2836         (getArgs): Remove method.
2837         (create): Call setTitle and setResizable.
2838         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2839         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2840         (gtkWindowSetTitle): New method.
2841         (gtkWindowSetResizable): New method.
2842         (gtkWindowSetModal): New method.
2843         (setParent): New method.
2844         (setVisibleAndEnabled): New method.
2845         (getArgs): Remove method.
2846         (setTitle): Call gtkWindowSetTitle.
2847         (setResizable): Call gtkWindowSetResizable.
2848         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2849         and off locking instrumentation.
2850
2851 2004-08-31  Kim Ho  <kho@redhat.com>
2852
2853         * Makefile.am: Add new file.
2854         * Makefile.in: Regenerate.
2855         * gcj/Makefile.in: Regenerate
2856         * include/Makefile.in:
2857         * java/awt/Container.java:
2858         (acquireComponentForMouseEvent): Respect 
2859         the event mask when looking for candidate.
2860         * javax/swing/JComponent.java:
2861         Remove toolTip field.
2862         (createToolTip): Create a tooltip on demand.
2863         (setToolTipText): Register with the ToolTipManager.
2864         (getToolTipText(MouseEvent)): Return getToolTipText().
2865         * javax/swing/JToolTip.java: Implement.
2866         * javax/swing/Timer.java: Jalopy.
2867         (restart): Call stop, then start.
2868         (stop): Interrupt the timer rather than wait for
2869         the timer to come to a stop naturally.
2870         * javax/swing/ToolTipManager.java: Implement.
2871         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2872         Change ToolTip.background color.
2873         * javax/swing/plaf/basic/BasicToolTipUI.java:
2874         Implement.
2875         * testsuite/Makefile.in: Regenerate
2876
2877 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2878
2879         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2880         constructor param comments.
2881
2882 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2883
2884         * java/awt/Component.java: Document AWT 1.0 event handler
2885         methods.
2886
2887 2004-08-31  Roman Kennke  <roman@ontographics.com>
2888
2889         * javax/swing/Box.java:
2890         (createGlue): Implemented
2891         (createHorizontalGlue): Implemented
2892         (createHorizontalStrut): Implemented
2893         (createVerticalGlue): Implemented
2894         (createVerticalStrut): Implemented
2895
2896 2004-08-31  David Jee  <djee@redhat.com>
2897
2898         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2899         (GtkChoicePeer): Do not automatically select first item.
2900         (getHistory): Remove.
2901         (nativeGetSelected): New method.
2902         (nativeRemoveAll): New method.
2903         (add): Use nativeGetSelected() instead of getHistory().
2904         (remove): Likewise.
2905         (removeAll): Call nativeRemoveAll().
2906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2907         (create): Migrate to GtkComboBox.
2908         (append): Likewise.
2909         (nativeAdd): Likewise.
2910         (nativeRemove): Likewise.
2911         (select): Likewise.
2912         (nativeRemoveAll): New method.
2913         (nativeGetSelected): New method.
2914         (selection_changed): New method.
2915         (getHistory): Remove.
2916         (item_activate): Remove.
2917         (item_removed): Remove.
2918         (connect_choice_item_selectable_hook): Remove.
2919
2920 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2921
2922         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2923         variable in setEditable call.
2924
2925         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2926         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2927         (gtkWidgetSetBackground): New method.
2928         (gtkWidgetSetForeground): Likewise.
2929         (create): Set peer's editable state based on awtComponent's.
2930
2931         * java/awt/Button.java (Button()): Use empty string rather than
2932         null in no-label constructor.
2933
2934 2004-08-31  Roman Kennke  <roman@ontographics.com>
2935
2936         * javax/swing/BoxLayout.java: Reimplement.
2937
2938 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2939
2940         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2941         gnu_java_awt_peer_gtk_GdkGraphics.c
2942         (initState(GtkComponentPeer)): Don't return array of colour
2943         values.
2944         (GdkGraphics(int,int)): Set default font to size 12.
2945         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2946         component's foreground colour.
2947         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2948         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2949         (initState(GtkComponentPeer)): Don't return array of colour
2950         values.
2951         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2952         colours to component's colours.
2953         (current_colors_of_widget): Remove function.
2954         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2955         Return a new graphics object.
2956         * java/awt/Font.java (toString): Fix format.
2957         * java/awt/Graphics.java (toString): Likewise.
2958
2959 2004-08-31  Craig Black  <craig.black@aonix.com>
2960
2961         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2962         (addTearOff): New function.
2963         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2964         New native method.
2965         (init): Call addTearOff() when menu.isTearOff().
2966
2967 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2968
2969         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2970         Default implementation.
2971         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2972         Implement using GdkPixbufDecoder.
2973
2974 2004-08-31  David Jee  <djee@redhat.com>
2975
2976         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2977         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2978         setting the size of GtkFileDialogPeers.
2979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2980         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2981         use their default sizes rather than their natural requisitions.
2982
2983 2004-08-31  Michael Koch  <konqueror@gmx.de>
2984
2985         * javax/swing/JFormattedTextField.java
2986         (JFormattedTextField): Implemented.
2987         * javax/swing/text/DefaultEditorKit.java
2988         (BeepAction): New inner class.
2989         * javax/swing/text/Segment.java
2990         (partialReturn): New field.
2991         (setPartialReturn): New method.
2992         (isPartialReturn): Likewise.
2993         * javax/swing/text/View.java
2994         (createFragment): Fixed typo.
2995         (getStartOffset): New method.
2996         (getEndOffset): Likewise.
2997
2998 2004-08-31  Michael Koch  <konqueror@gmx.de>
2999
3000         * javax/swing/table/DefaultTableColumnModel.java
3001         (serialVersionUID): Made private.
3002         (listenerList): Initialize.
3003         (changeEvent): Initialize.
3004         * javax/swing/table/JTableHeader.java
3005         (JTableHeader): New constructors.
3006         (createDefaultColumnModel): New method.
3007         * javax/swing/table/TableColumn.java
3008         (setHeaderRenderer): Simplified code.
3009         (setCellRenderer): Likewise.
3010         (setWidth): Likewise.
3011
3012 2004-08-31  Tom Tromey  <tromey@redhat.com>
3013
3014         * java/text/AttributedString.java (AttributedString): Use
3015         ArrayList to build array of attribute ranges.  Don't use
3016         `attribs' before it is set.
3017
3018 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3019
3020         * HACKING: Remove reference to special automake. No longer needed.
3021
3022 2004-08-30  Tom Tromey  <tromey@redhat.com>
3023
3024         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3025         return result from `add'.
3026
3027 2004-08-30  Tom Tromey  <tromey@redhat.com>
3028
3029         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3030
3031 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3032
3033         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3034
3035 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3036
3037         * java/io/File.java File(String,String): Fixed handling of empty
3038         path.
3039
3040 2004-08-30  Casey Marshall  <csm@gnu.org>
3041
3042         Author e-mail updated for all files.
3043         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3044         instance of OID.
3045         (compareTo): Use `equals'.
3046         * gnu/java/security/der/BitString.java (equals): Test if the
3047         argument is an instance of BitString.
3048         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3049         class final. Made fields private.
3050         (<init>): New constructor.
3051         (skip): New method.
3052         (makeString): Made static; don't use NIO.
3053         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3054         * gnu/java/security/der/DERWriter.java: Fixed imports.
3055         (writeString): Don't use NIO.
3056         (toIso88591, toUtf16Be, toUtf8): New methods.
3057         * gnu/java/security/der/DERValue.java: Formatting changes only.
3058         * gnu/java/security/der/DER.java: Likewise.
3059
3060 2004-08-30  Tom Tromey  <tromey@redhat.com>
3061
3062         * java/nio/CharBuffer.java (put): Fix typo.
3063         * java/nio/DoubleBuffer.java (put): Fix typo.
3064         * java/nio/FloatBuffer.java (put): Fix typo.
3065         * java/nio/IntBuffer.java (put): Fix typo.
3066         * java/nio/LongBuffer.java (put): Fix typo.
3067         * java/nio/ShortBuffer.java (put): Fix typo.
3068
3069 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3070
3071         * java/nio/ByteBuffer.java (put): Fix typo.
3072
3073 2004-08-30  Casey Marshall  <csm@gnu.org>
3074
3075         * java/security/DummyKeyPairGenerator.java (clone): Removed
3076         useless instanceof check.
3077         * java/security/DummyMessageDigest.java (clone): Likewise.
3078         * java/security/DummySignature.java (clone): Likewise.
3079         * java/security/MessageDigest.java (clone): Remove useless
3080         instanceof check.
3081         * java/security/MessageDigestSpi.java (clone): Likewise.
3082         * java/security/Signature.java (clone): Provide meaningful
3083         implementation.
3084         * java/security/SignatureSpi.java (clone): Likewise.
3085
3086 2004-08-29  Mark Wielaard  <mark@klomp.org>
3087
3088         * java/util/Arrays.java
3089         (sort(byte[], int, int)): Check fromIndex < 0.
3090         (sort(char[], int, int)): Likewise.
3091         (sort(short[], int, int)): Likewise.
3092         (sort(int[], int, int)): Likewise.
3093         (sort(long[], int, int)): Likewise.
3094         (sort(float[], int, int)): Likewise.
3095         (sort(double[], int, int)): Likewise.
3096         (sort(Object[], int, int, Comparator)): Likewise.
3097         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3098         (qsort(char[], int, int)): Likewise.
3099         (qsort(short[], int, int)): Likewise.
3100         (qsort(int[], int, int)): Likewise.
3101         (qsort(long[], int, int)): Likewise.
3102         (qsort(float[], int, int)): Likewise.
3103         (qsort(double[], int, int)): Likewise.
3104
3105 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3106
3107         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3108         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3109         java/util/ArrayList.java, java/util/Arrays.java,
3110         java/util/BitSet.java, java/util/Calendar.java,
3111         java/util/Collection.java, java/util/ListIterator.java,
3112         java/util/Map.java, java/util/SortedSet.java:
3113         Added additional exceptions to documentation, along
3114         with some additions and corrections.
3115
3116 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3117
3118         * configure.ac: Handle --enable-gc-debug.
3119         * configure: Regenerate.
3120         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3121         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3122         Rearrange include file order.
3123         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3124         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3125         (disable_gc_mutex): Delete along with all references.
3126         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3127         adjust for debug header size.
3128         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3129         debug case.
3130         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3131         (gcj_describe_type_fn): New.
3132         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3133         Register gcj_describe_type_fn.
3134         * include/boehm-gc.h:
3135         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3136         Don't define, but declare, for debug case.
3137         * java/lang/natObject.cc:
3138         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3139
3140 2004-08-26  Mark Wielaard  <mark@klomp.org>
3141
3142         Fixes PR libgcj/17002:
3143         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3144         a TimeZoneId string and then try to convert that to a TimeZone with
3145         getDefaultSystemTimeZone(String).
3146         (timezones0): Changed type from Hashtable to HashMap.
3147         (timezones): Create HashMap, not Hashtable.
3148         (getDefaultTimeZone): New method, rewritten from CNI version.
3149         (readTimeZoneFile): New method.
3150         (readtzFile): Likewise.
3151         (skipFully): Likewise.
3152         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3153         getDefaultTimeZoneId and rewritten.
3154         (getDefaultTimeZoneId): Rewritten in java.
3155         
3156 2004-08-25  David Daney  <daney@avtrex.com>
3157
3158         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3159         * Makefile.in: Regenerated.
3160
3161 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3162
3163         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3164         only if jvmpi is enabled.
3165         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3166         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3167         (_Jv_AllocString): Likewise.
3168         (_Jv_AllocPtrFreeObject): Likewise.     
3169
3170 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3171
3172         * defineclass.cc: Include <stdio.h>.
3173         * java/lang/natClassLoader.cc: Include <stdio.h>.
3174
3175 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3176             Michael Koch  <konqueror@gmx.de>
3177
3178         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3179         * Makefile.in: Regenerated.
3180
3181 2004-08-20  Michael Koch  <konqueror@gmx.de>
3182
3183         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3184         AC_COMPILE_IFELSE macros.
3185
3186 2004-08-20  Michael Koch  <konqueror@gmx.de>
3187
3188         * configure.in: Renamed to configure.ac.
3189         * configure.ac: New file.
3190         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3191         include/config.h.in, testsuite/Makefile.in: Regenerated.
3192
3193 2004-08-20  Michael Koch  <konqueror@gmx.de>
3194
3195         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3196         * aclocal.m4, configure: Regenerated.
3197
3198 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3199             Michael Koch  <konqueror@gmx.de>
3200
3201         * configure.in, Makefile.am: Ported to automake 1.9.
3202         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3203         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3204         Regenerated.
3205
3206 2004-08-19  Tom Tromey  <tromey@redhat.com>
3207
3208         * java/net/DatagramSocket.java: Fixed typo.
3209
3210 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3211
3212         PR libgcj/17081
3213         * java/net/URI.java (string): New field. Make all other fields
3214         transient.
3215         (readObject): Implemented.
3216         (writeObject): Implemented.
3217         (URI): Set 'string'.
3218
3219 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3220
3221         PR libgcj/17079
3222         * java/util/logging/Handler.java (isLoggable): Accept record if its
3223         log level equals the threshold level. From Robin Green.
3224
3225 2004-08-18  David Daney  <ddaney@avtrex.com>
3226
3227         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3228         instead of sigwait.
3229
3230 2004-08-17  Michael Koch  <konqueror@gmx.de>
3231
3232         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3233         * Makefile.in: Regenerated.
3234
3235 2004-08-16  Tom Tromey  <tromey@redhat.com>
3236
3237         PR java/8473:
3238         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3239
3240 2004-08-16  Michael Koch  <konqueror@gmx.de>
3241
3242         * Makefile.am
3243         (math_c_files): Renamed from c_files.
3244         (math_c_source_files): Renamed from c_source_files.
3245         * Makefile.in,
3246         gcj/Makefile.in,
3247         include/Makefile.in,
3248         testsuite/Makefile.in: Regenerated.
3249
3250 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3251
3252         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3253         to avoid autoconf warning.
3254         * configure: Rebuilt.
3255
3256 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3257
3258         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3259         localhostAddress to loopbackAddress.
3260         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3261
3262 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3263
3264         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3265         boehm-gc's include dirs.
3266         * configure: Rebuilt.
3267         * include/boehm-gc.h: Include gc_config.h.
3268
3269 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3270
3271         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3272         localhostAddress.
3273         (getByName): Return loopback address for null hostname, without
3274         security check. Use lookup(), not getAllByName.
3275         (getAllByName): Return loopback address for null hostname, without
3276         security check.
3277         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3278         check here.
3279
3280 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3281
3282         PR libgcj/17020
3283         Reported by Robin Green.
3284         * defineclass.cc (handleField): Don't throw exception on unrecognised
3285         modifier. Add FIXME comments for spec compliance.
3286         (handleMethod): Likewise.
3287
3288 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3289
3290         PR libgcj/16662
3291         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3292         (Almost everywhere): add LOG calls, fix, add comments.
3293         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3294         Add explicit check for LOCKED bit in slow case (PR 16662).
3295         (_Jv_MonitorExit): Add casts in debug-only code.
3296         Always release LOCKED bit before throwing exception.
3297         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3298         isn't.  Handle easy cases without lock acquisition.
3299         (Object::wait): Use NotifyAll for lock inflation.
3300
3301 2004-08-12  David Daney  <ddaney@avtrex.com>
3302
3303         * testsuite/libjava.lang/Process_1.java: New test.
3304         * testsuite/libjava.lang/Process_2.java: New test.
3305         * testsuite/libjava.lang/Process_3.java: New test.
3306         * testsuite/libjava.lang/Process_4.java: New test.
3307         * testsuite/libjava.lang/Process_5.java: New test.
3308         * testsuite/libjava.lang/Process_6.java: New test.
3309         * testsuite/libjava.lang/Process_1.out: Expected result.
3310         * testsuite/libjava.lang/Process_2.out: Expected result.
3311         * testsuite/libjava.lang/Process_3.out: Expected result.
3312         * testsuite/libjava.lang/Process_4.out: Expected result.
3313         * testsuite/libjava.lang/Process_5.out: Expected result.
3314         * testsuite/libjava.lang/Process_6.out: Expected result.
3315
3316 2004-08-12  David Daney  <ddaney@avtrex.com>
3317
3318         PR libgcj/11801
3319         * java/lang/PosixProcess.java: Rewrote.
3320         * java/lang/natPosixProcess.cc: Rewrote.
3321         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3322         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3323         * posix-threads.cc (block_sigchld) New function.
3324         (_Jv_ThreadRegister) Use it.
3325         (_Jv_ThreadStart) Use it.
3326         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3327         * Makefile.am: ... to specify extra native headers.
3328         * configure: Regenerated.
3329         * include/config.h: Regenerated.
3330         * Makefile.in: Regenerated.
3331         * gcj/Makefile.in: Regenerated.
3332         * include/Makefile.in: Regenerated.
3333         * testsuite/Makefile.in: Regenerated.
3334
3335 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3336
3337         PR tree-optimization/16867
3338         * testsuite/libjava.lang/PR16867.java: New test.
3339
3340 2004-08-09  Per Bothner  <per@bothner.com>
3341
3342         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3343         with private fields and access methods.
3344         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3345         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3346         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3347         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3348         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3349         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3350         * jni.cc: Likewise.
3351         * resolve.cc: Likewise.
3352         * gcj/field.h: Likewise.
3353         * include/jvm.h: Likewise.
3354         * java/lang/Class.h: Likewise.
3355         * java/lang/natClass.cc: Likwise.
3356         * java/lang/natClassLoader.cc: Likewise
3357         * java/lang/reflect/natMethod.cc: Likewise
3358         * verify.cc: Likewise.
3359         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3360         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3361
3362 2004-08-10  Andrew Haley  <aph@redhat.com>
3363
3364         * testsuite/libjava.lang/err14.java: New file.
3365         * testsuite/libjava.lang/err14.out: New file.
3366
3367 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3368
3369         * Makefile.am: Fix missing rename from x_nat_headers to 
3370         xlib_nat_headers.
3371         * Makefile.in: Regenerated.
3372
3373 2004-08-04  Andrew Haley  <aph@redhat.com>
3374
3375         * java/security/BasicPermission.java: Don't check wildcards.
3376
3377 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3378             Michael Koch  <konqueror@gmx.de>
3379
3380         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3381         * configure.in: Replaced all usages of AC_LINK_FILES by
3382         AC_CONFIG_LINKS.
3383         * aclocal.m4,
3384         configure: Regenerated.
3385
3386 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3387             Michael Koch  <konqueror@gmx.de>
3388
3389         * acconfig.h: Removed.
3390         * Makefile.am: Rename variables for xlib peer to include xlib and
3391         gtk_c_headers to gtk_jni_headers.
3392         * Makefile.in: Regenerated.
3393
3394 2004-08-04  Andrew Haley  <aph@redhat.com>
3395
3396         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3397         debugging.
3398
3399 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3400
3401         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3402         Replace most top level 'dnl' comments with '#' comments, conforming
3403         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3404         help strings.
3405         * configure: Rebuilt.
3406
3407 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3408
3409         * acinclude.m4: Include no-executables.m4.
3410         * aclocal.m4: Rebuild.
3411         * configure.in: Convert to the autoconf 2.59 version of
3412         of the no-executables hack, and also of the nonstandard CXX
3413         hack and the multilibbed CC and CXX hack.  Change prerequisite
3414         to autoconf 2.59.
3415         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3416         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3417         testsuite/Makefile.in: Regenerate.
3418
3419 2004-08-03  Tom Tromey  <tromey@redhat.com>
3420
3421         * jni.cc: Reindented.
3422
3423 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3424
3425         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3426
3427 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3428
3429         * testsuite/libjava.compile/PR16701.java: New test.
3430
3431 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3432
3433         * java/util/Collection.java, java/util/List.java,
3434         java/util/Map.java, java/util/Set.java,
3435         java/util/SortedMap.java, java/util/SortedSet.java:
3436         Added additional exceptions to documentation.
3437
3438 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3439
3440         PR libgcj/16814
3441         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3442         * configure. Regenerate.
3443         * include/win32.h: Explicitly include winsock2.h
3444         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3445         Winsock api.
3446
3447 2004-07-30  Michael Koch  <konqueror@gmx.de>
3448
3449         * java/util/zip/GZIPInputStream.java
3450         (GZIPInputStream): Increase buffer size to 4k.
3451         * java/util/zip/GZIPOutputStream.java
3452         (GZIPOutputStream): Likewise.
3453         * java/util/zip/Inflater.java
3454         (setInput): Merged formating with GNU classpath.
3455         * java/util/zip/InflaterInputStream.java
3456         (InflaterInputStream): Increase buffer size to 4k.
3457         (fill): Throw exception if stream ends early.
3458         (read): Merged endless-loop with GNU classpath.
3459         (skip): Increase buffer size to 2k.
3460
3461 2004-07-30  Michael Koch  <konqueror@gmx.de>
3462
3463         * gnu/java/awt/EmbeddedWindow.java
3464         (addNotify): Use AccessController to allow execution of privileged
3465         code.
3466
3467 2004-07-29  Michael Koch  <konqueror@gmx.de>
3468
3469         * gnu/java/lang/MainThread.java:
3470         Explicitely import used classes.
3471         (args): Make it type String[].
3472
3473 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3474
3475         * gnu/java/awt/ComponentDataBlitOp.java,
3476         gnu/java/beans/ExplicitBeanInfo.java,
3477         gnu/java/beans/IntrospectionIncubator.java,
3478         gnu/java/beans/editors/ColorEditor.java,
3479         gnu/java/beans/editors/FontEditor.java,
3480         gnu/java/beans/editors/NativeBooleanEditor.java,
3481         gnu/java/beans/editors/NativeByteEditor.java,
3482         gnu/java/beans/editors/NativeDoubleEditor.java,
3483         gnu/java/beans/editors/NativeFloatEditor.java,
3484         gnu/java/beans/editors/NativeIntEditor.java,
3485         gnu/java/beans/editors/NativeLongEditor.java,
3486         gnu/java/beans/editors/NativeShortEditor.java,
3487         gnu/java/beans/editors/StringEditor.java,
3488         gnu/java/io/ClassLoaderObjectInputStream.java,
3489         gnu/java/io/decode/Decoder.java,
3490         gnu/java/io/encode/Encoder.java,
3491         gnu/java/lang/ClassHelper.java,
3492         gnu/java/locale/Calendar.java,
3493         gnu/java/locale/Calendar_de.java,
3494         gnu/java/locale/Calendar_en.java,
3495         gnu/java/locale/Calendar_nl.java,
3496         gnu/java/locale/LocaleInformation_de.java,
3497         gnu/java/locale/LocaleInformation_en.java,
3498         gnu/java/locale/LocaleInformation_nl.java:
3499         Cleaned up imports.
3500
3501 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3502
3503         * README: Remove obsolete info. Update bug URL.
3504         * THANKS: Updated.
3505         * NEWS: Updated with news up to GCC 3.4 release.
3506
3507 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3508
3509         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3510         Renamed from 'setName'. New 2-argument form with default value.
3511         (run): Pass default 'value' parameter to System.getProperty().
3512         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3513         typos.
3514         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3515         not 'setName'.
3516
3517 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3518
3519         * configure.in: Check for minimum GTK version 2.4 requirement.
3520         * configure: Rebuilt.
3521
3522 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3523
3524         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3525         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3526         Reduce sleep time.
3527         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3528         compiler bug.
3529         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3530         address. Reduce sleep times. Synchronize with target threads before
3531         attempting to interrupt them. Don't try to calibrate yeild count,
3532         instead, always loop for a fixed time.
3533         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3534         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3535         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3536         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3537         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3538         * testsuite/libjava.lang/pr179.java: Likewise.
3539         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3540         time. Remove upper bounds check on sleep time. 
3541
3542 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3543
3544         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3545         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3546
3547 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3548
3549         * java/io/File.java (toURI): Throw RuntimeException, not 
3550         InternalError.
3551         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3552         class name, not instance.
3553
3554 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3555
3556         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3557         and gnu/java/security/action/SetAccessibleAction.java.
3558         * Makefile.in: Rebuilt.
3559
3560 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3561
3562         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3563         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3564         _Jv_InitPrimClass.
3565         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3566         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3567         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3568
3569 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3570
3571         * Makefile.am: Replace jar, rmic and rmiregistry references with
3572         gjar, grmic and grmiregistry.
3573         * configure.in: Likewise.
3574         * Makefile.in: Regenerate.
3575         * configure: Likewise.
3576         * gcj/Makefile.in: Likewise.
3577         * include/Makefile.in: Likewise.
3578         * testsuite/Makefile.in: Likewise.
3579
3580 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3581
3582         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3583         for privileged getProperty calls.
3584         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3585         SetAccessibleAction instead of anonymous class for doPrivileged call.
3586         (getMethod): Likewise.
3587         (setAccessible): New field. PrivilegedAction object to use when
3588         calling setAccessible.
3589         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3590         SetAccessibleAction instead of anonymous class for diPrivileged call.
3591         (setFields): Likewise.
3592         (getClassUID): Likewise.
3593         (findMethod): Likewise.
3594         * gnu/java/security/action/GetPropertyAction.java: New class.
3595         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3596
3597 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3598
3599         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3600         for final fields.
3601         * testsuite/libjava.lang/Serialization.java: New test.
3602         * testsuite/libjava.lang/Serialization.out: New.
3603
3604 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3605
3606         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3607         missed in last commit.
3608
3609 2004-07-23  Mark Wielaard  <mark@klomp.org>
3610
3611         * java/lang/System.java (static): Set http.agent system property when
3612         not yet set.
3613         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3614         from system property inside AccessController.doPrivileged() call.
3615         (proxyPort): Made package private.
3616         (proxyInUse): Likewise.
3617         (proxyHost): Likewise.
3618         (userAgent): Likewise.
3619
3620 2004-07-23  Mark Wielaard  <mark@klomp.org>
3621
3622         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3623         implementation.
3624
3625 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3626
3627         * Makefile.am (ordinary_java_source_files): Add
3628         DefaultContentHandlerFactory.java.
3629         * Makefile.in: Rebuilt.
3630         * java/net/URLConnection.java (defaultFactory): New field.
3631         (getContent): 
3632         (getContentHandler): Renamed from 'setContentHandler'. Try 
3633         defaultFactory after user-set factory, if any. Search for content 
3634         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3635         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3636         Implemented.
3637         (getLastModified): Implemented.
3638         (getPermission): Create file permission here, instead of in
3639         constructor.
3640         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3641         Implemented.
3642         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3643         Implemented.
3644         (getLastModified): Implemented.
3645         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3646         Default implementation.
3647         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3648         Implement using GdkPixbufDecoder.
3649         
3650 2004-07-21  Michael Koch  <konqueror@gmx.de>
3651
3652         * javax/swing/JTextArea.java
3653         (setLineWrap): Fire property change event after new value is set.
3654         (setTabSize): Likewise.
3655
3656 2004-07-21  Michael Koch  <konqueror@gmx.de>
3657
3658         * javax/swing/JTable.java
3659         (autoCreateColumnsFromModel): New field.
3660         (autoResizeMode): Likewise.
3661         (cellEditor): Likewise.
3662         (cellSelectionEnabled): Likewise.
3663         (columnModel): Likewise.
3664         (dataModel): Likewise.
3665         (defaultEditorsByColumnClass): Likewise.
3666         (defaultRenderersByColumnClass): Likewise.
3667         (editingColumn): Likewise.
3668         (editingRow): Likewise.
3669         (gridColor): Likewise.
3670         (preferredViewportSize): Likewise.
3671         (rowHeight): Likewise.
3672         (rowMargin): Likewise.
3673         (rowSelectionAllowed): Likewise.
3674         (selectionBackground): Likewise.
3675         (selectionForeground): Likewise.
3676         (selectionModel): Likewise.
3677         (showHorizontalLines): Likewise.
3678         (showVerticalLines): Likewise.
3679         (tableHeader): Likewise.
3680         (JTable): Implemented.
3681         (getColumnModel): Likewise.
3682         (getSelectedRow): Likewise.
3683         (getSelectionModel): Likewise.
3684         (setModel): Likewise.
3685         (setSelectionModel): Likewise.
3686         (createScrollPaneForTable): New method.
3687         (createDefaultDataModel): Likewise.
3688         (createDefaultListSelectionModel): Likewise.
3689         (getModel): Likewise.
3690         (getTableHeader): Likewise.
3691         (setTableHeader): Likewise.
3692         (getColumnSelectionAllowed): Likewise.
3693         (setColumnSelectionAllowed): Likewise.
3694         (getRowSelectionAllowed): Likewise.
3695         (setRowSelectionAllowed): Likewise.
3696         (getAutoResizeMode): Likewise.
3697         (setAutoResizeMode): Likewise.
3698         (getColumnCount): Likewise.
3699         (getRowCount): Likewise.
3700         (getCellRenderer): Likewise.
3701         * javax/swing/JTree.java
3702         (cellRenderer): New field.
3703         (editable): Likewise.
3704         (rootVisible): Likewise.
3705         (showsRootHandles): Likewise.
3706         (getModel): New method.
3707         (setModel): Likewise.
3708         (isEditable): Likewise.
3709         (setEditable): Likewise.
3710         (isRootVisbile): Likewise.
3711         (setRootVisible): Likewise.
3712         (getShowsRootHandles): Likewise.
3713         (setShowRootHandles): Likewise.
3714         (getCellRenderer): Likewise.
3715         (setCellRenderer): Likewise.
3716
3717 2004-07-21  Michael Koch  <konqueror@gmx.de>
3718
3719         * javax/swing/JFormattedTextField.java
3720         (setDocument): Implemented.
3721         * javax/swing/JRootPane.java:
3722         Fixed javadocs.
3723         * javax/swing/JTable.java
3724         (getDefaultRenderer): New method.
3725         * javax/swing/JTextField.java
3726         (setFont): Likewise.
3727         (getPreferredSize): Likewise.
3728         * javax/swing/JToggleButton.java
3729         (getAccessibleContext): Fix javadoc.
3730         * javax/swing/JTree.java:
3731         Add some javadocs.
3732         * javax/swing/JViewport.java:
3733         Likewise.
3734
3735 2004-07-21  David Jee  <djee@redhat.com>
3736
3737         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3738         Collect all native method declaration at the top.
3739         (create): Set the filename filter if necessary.
3740         (setDirectory): Call nativeSetDirectory().
3741         (setFilenameFilter): Implement.
3742         (filenameFilterCallback): New method.
3743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3744         (create): Configure dialog to show hidden files.
3745         (filenameFilterCallback): New function. 
3746         (nativeSetFilenameFilter): New function.
3747         (nativeSetDirectory): New function.
3748
3749 2004-07-21  Kim Ho  <kho@redhat.com>
3750
3751         * javax/swing/plaf/basic/BasicSliderUI.java:
3752         Ran Jalopy.
3753         (paintTrack): Fill the track before painting
3754         the borders.
3755
3756 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3757
3758         patch from Roman Kennke <roman@ontographics.com>
3759         * javax/swing/Spring.java: New file.
3760         * javax/swing/SpringLayout.java: New file.
3761         * Makefile.am: Add new files.
3762         * Makefile.in: Regenerate.
3763
3764 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3765
3766         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3767         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3768         * javax/swing/ScrollPaneLayout.java: Likewise.
3769
3770 2004-07-21  Kim Ho  <kho@redhat.com>
3771
3772         * javax/swing/DefaultDesktopManager.java:
3773         (findMinimum): Removed.
3774         (resizeFrame): Trust the UI to pass valid 
3775         bounds.
3776         * javax/swing/JOptionPane.java:
3777         Implemented showInternalXXXDialog methods.
3778         (startModal): New method.
3779         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3780         (BorderListener::mouseDragged): Verify that the new 
3781         bounds are valid before passing them to the DesktopManager.
3782         (preferredLayoutSize): Delegate
3783         to getSize.
3784         (minimumLayoutSize): Ditto.
3785         (getSize): New method.
3786         (GlassPaneDispatcher): Reimplemented by copying 
3787         a stripped down LightweightDispatcher from Container.
3788         (getMinimumSize): Call minimumLayoutSize.
3789         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3790         Ran Jalopy.
3791         (mousePressed): Add ability to properly close 
3792         JInternalFrames.
3793         * javax/swing/plaf/basic/BasicToolBarUI.java:
3794         (DragWindow): Set owner for DragWindow.
3795
3796 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3797
3798         * java/awt/image/ShortLookupTable.java: New file.
3799         * java/awt/image/ByteLookupTable.java: New file.
3800         * Makefile.am: Added new files.
3801         * Makefile.in: Regenerated.
3802
3803 2004-07-21  David Jee  <djee@redhat.com>
3804
3805         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3806         (create(GtkContainerPeer)): New native method.
3807         (create()): Call native create(), passing in the parent frame
3808         as the paramter. Natively set the current file and directory.
3809         (setFile): Construct an absolute filename before passing it to
3810         the native peer.
3811         (nativeGetDirectory): New method.
3812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3813         (window_closed): Removed.
3814         (ok_clicked): Likewise.
3815         (cancel_clicked): Likewise.
3816         (handle_response): New method.
3817         (create): Use GtkFileChooserDialog.
3818         (connectSignals): Connect to handle_response.
3819         (nativeGetDirectory): New method.
3820         (nativeSetFile): Use GtkFileChooserDialog.
3821
3822 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3823
3824         * java/awt/image/LookupTable.java: New file.
3825         * Makefile.am: Added new file.
3826         * Makefile.in: Regenerated.
3827
3828 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3829
3830         * java/awt/image/Kernel.java: New file.
3831         * Makefile.am: Added new file.
3832         * Makefile.in: Regenerated.
3833
3834 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3835
3836         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3837         * javax/swing/JMenu.java: Likewise.
3838         * javax/swing/JMenuBar.java: Likewise.
3839         (MARGIN_CHANGED_PROPERTY): New property.
3840         (setMargin): Implemented.
3841         * javax/swing/JMenuItem.java: Fixed javadocs.
3842         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3843         (LABEL_CHANGED_PROPERTY): New property.
3844         (add): changed to use createActionComponent.
3845         (createActionComponent): Implemented.   
3846         (setLabel): Fire PropertyChangeEvent if label property
3847         changes.
3848         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3849         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3850         (ContainerHandler): Repaint if margin property has changed.
3851         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3852         (installUI): Call installComponents().
3853         (uninstallUI): Call uinstallComponents().
3854         * javax/swing/plaf/basic/BasicMenuUI.java:
3855         Fixed javadocs.
3856         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3857         Likewise.
3858
3859 2004-07-21  Kim Ho  <kho@redhat.com>
3860
3861         * javax/swing/plaf/basic/BasicToolBarUI.java:
3862         (DragWindow): Use the right constructor.
3863
3864 2004-07-21  Kim Ho  <kho@redhat.com>
3865
3866         * javax/swing/JToolBar.java:
3867         (layoutContainer): Use getComponents.
3868         * javax/swing/plaf/basic/BasicToolBarUI.java:
3869         (DragWindow): Don't use SwingUtilities' 
3870         getOwnerFrame
3871         (ToolBarDialog): ditto.
3872
3873 2004-07-21  Kim Ho  <kho@redhat.com>
3874
3875         * javax/swing/JRootPane.java:
3876         Ran jalopy.
3877         (layoutContainer): Set the glasspane's size to 
3878         be the same as the content pane.
3879         (createGlassPane): Set opaque property to false.
3880
3881 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3882
3883         * java/awt/Component.java (requestFocus()): Don't handle Panels
3884         specially.
3885         (requestFocus(boolean)): Likewise.
3886         (requestFocusInWindow(boolean)): Likewise.
3887         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3888         Set GTK_CAN_FOCUS flag.
3889
3890 2004-07-21  Kim Ho  <kho@redhat.com>
3891
3892         * Makefile.am: Added new file.
3893         * Makefile.in: Regenerated.
3894         * gcj/Makefile.in: Regenerated.
3895         * include/Makefile.in: Regenerated.
3896         * javax/swing/AbstractButton.java:
3897         Add rollOverEnabled property.
3898         (setRolloverEnabled): Use new property.
3899         (isRolloverEnabled): Use new property.
3900         * javax/swing/JTabbedPane.java:
3901         (setComponent): Remove useless JTabbedPane.this.
3902         * javax/swing/JToolBar.java: Finish implementation.
3903         * javax/swing/plaf/basic/BasicArrowButton.java:
3904         (paint): Moved border painting to a border.
3905         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3906         Change JToolBar look and feel defaults.
3907         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3908         (actionPerformed): Return Integer index instead of name.
3909         (addButtonComponents): Check to see if component is
3910         JButton last.
3911         (createMessageArea): Don't use components that are not
3912         completed yet.
3913         (getIconForType): Use temporary icons.
3914         * javax/swing/plaf/basic/BasicSliderUI.java:
3915         (mousePressed): Do not return if it's on thumb.
3916         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3917         (paintMinorTickForVertSlider): ditto.
3918         (paintMajorTickForHorizSlider): ditto.
3919         (paintMajorTickForVertSlider): ditto.
3920         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3921         Add a border around the SplitPaneDivider.
3922         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3923         Remove comments.
3924         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3925         New file. Implemented.
3926         * javax/swing/plaf/basic/BasicToolBarUI.java:
3927         Implemented.
3928         * testsuite/Makefile.in: Regenerated.
3929
3930 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3931
3932         * javax/swing/Timer.java (run): Queue events each time cycle.
3933
3934 2004-07-21  David Jee  <djee@redhat.com>
3935
3936         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3937         (imageComplete): Call image.imageComplete().
3938         * java/awt/image/MemoryImageSource.java:
3939         Reimplement consumers as a Vector instead of a Hashtable.  This is
3940         because enumeration on a Hashtable is not thread-safe.
3941         (addConsumer): Adapt to Vector consumers.
3942         (isConsumer): Adapt to Vector consumers.
3943         (removeConsumer): Adapt to Vector consumers.
3944         (startProduction): Adapt to Vector consumers. Call imageComplete()
3945         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3946         (newPixels): Adapt to Vector consumers.
3947         (sendPicture): Set the color model of the image consumer.
3948         (newPixels(IIII)): Adapt to Vector consumers.
3949         (newPixels(IIIIB)): Adapt to Vector consumers.
3950
3951 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3952
3953         * java/awt/Component.java (deliverEvent): Implement.
3954         (postEvent): Implement.
3955         (handleEvent): Implement.
3956         (translateEvent): New method.
3957         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3958         * java/awt/Container.java (deliverEvent): Implement.
3959         * java/awt/Event.java (paramString): Fix formatting.
3960         * java/awt/Font.java (toString): Likewise.
3961         * java/awt/Window.java (postEvent): Implement.
3962
3963 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3964
3965         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3966         Set window's focus owner upon receiving a FOCUS_LOST event.
3967         * java/awt/Window.java (Window()): Refocus the previously
3968         focused component within the window when the window regains the
3969         top-level focus.
3970         (setFocusOwner): New method.
3971         * java/awt/Component.java (requestFocus): Add FIXME.
3972
3973         * libgcj.pc.in: Remove library flags.
3974
3975 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3976
3977         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3978         MOUSE_PRESSED event.
3979         * java/awt/Component.java (requestFocus()): Handle Panel
3980         specially.  Post FOCUS_LOST event on opposite component.
3981         (requestFocus(boolean)): Likewise.
3982         (requestFocusInWindow(boolean)): Likewise.
3983         (paramString): Reorder dimension fields.
3984         * java/awt/Container.java (paramString): Fix string format.
3985         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3986         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3987         process key events if the focus owner is non-null.
3988         (dispatchKeyEvent): Likewise.
3989         * java/awt/Frame.java (paramString): Fix formatting.
3990         (generateName): New method.
3991         (getUniqueLong): Likewise.
3992         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3993         the temporary focus owner is null.  If so, return the permanent
3994         focus owner.
3995         * java/awt/Panel.java (generateName): New method.
3996         (getUniqueLong): Likewise.
3997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3998         signal handling to make callbacks more specific.
3999
4000 2004-07-21  Michael Koch  <konqueror@gmx.de>
4001
4002         * javax/swing/text/Position.java
4003         (Bias): Implemented.
4004
4005 2004-07-21  Michael Koch  <konqueror@gmx.de>
4006
4007         * javax/swing/LookAndFeel.java
4008         (provideErrorFeedback): New method.
4009
4010 2004-07-21  Michael Koch  <konqueror@gmx.de>
4011
4012         * javax/swing/JTextArea.java
4013         (tabSize): New field.
4014         (getTabSize): New method.
4015         (setTabSize): Likewise.
4016
4017 2004-07-21  Michael Koch  <konqueror@gmx.de>
4018
4019         * javax/swing/ActionMap.java:
4020         Fixed javadocs all over.
4021         (serialVersionUID): Made private.
4022         (parent): Don't explicitely initialize with default value.
4023         (get): SImplified.
4024         (keys): Reimplemented.
4025         (allKeys): Likewise.
4026         (convertSet): Removed.
4027         * javax/swing/ComponentInputMap.java:
4028         Fixed javadocs all over.
4029         (ComponentInputMap): Implemented.
4030         (put): Likewise.
4031         (clear): Likewise.
4032         (remove): Likewise.
4033         (SetParent): Likewise.
4034         (getComponent): Likewise.
4035         * javax/swing/InputMap.java:
4036         Fixed javadocs all over.
4037         (serialVersionUID): Made private.
4038         (parent): Don't explicitely initialize with default value.
4039         (get): SImplified.
4040         (keys): Reimplemented.
4041         (allKeys): Likewise.
4042         (convertSet): Removed.
4043
4044 2004-07-21  Michael Koch  <konqueror@gmx.de>
4045
4046         * javax/swing/ActionMap.java,
4047         javax/swing/ComponentInputMap.java,
4048         javax/swing/InputMap.java,
4049         javax/swing/table/DefaultTableColumnModel.java,
4050         javax/swing/table/TableColumn.java,
4051         javax/swing/table/TableColumnModel.java,
4052         javax/swing/table/TableModel.java,
4053         javax/swing/text/AbstractDocument.java,
4054         javax/swing/text/TextAction.java:
4055         Reformated.
4056
4057 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4058
4059         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4060         Make method non-static.
4061         * javax/swing/AbstractButton.java:
4062         Rename fields to match property names where possible.
4063         (iconTextGap): New property.
4064         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4065         (init) New method, call from after various constructors.
4066         * javax/swing/JComponent.java (revalidate): 
4067         Invalidate before queueing repair.
4068         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4069         Reimplement in terms of visibleRowCount property.
4070         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4071         * javax/swing/JScrollPane.java (createScrollListener): 
4072         Remove tracing chatter.
4073         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4074         * javax/swing/RepaintManager.java (addInvalidComponent): 
4075         Don't invalidate.
4076         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4077         calculations.
4078         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4079         Mimic sun behavior on top left/right positioning.
4080         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4081         Remove mistaken use of preferredScrollableViewportSize here.
4082         (layoutContainer): Use view's preferred size as basis.
4083         * javax/swing/plaf/basic/BasicButtonUI.java:
4084         Set, get, and use textIconGap property.
4085         (paint) Paint text returned from layout (with ellipsis).
4086         * javax/swing/plaf/basic/BasicListUI.java:
4087         Remove tracing chatter, correct various minor calculations.
4088         (getCellBounds): Update layout state before calculating.
4089         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4090         Use margin default similar to sun's.    
4091         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4092         (createIncreaseIcon): Center icon, minimize margins.
4093         (createDecreaseIcon): Likewise.
4094         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4095         Implement.
4096         (installUI): Call it.
4097         (uninstallDefaults): Implement.
4098         (uninstallUI): Call it.
4099         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4100         Call existing Window constructor.
4101         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4102         Set clip before painting.
4103
4104 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4105         
4106         * javax/swing/JMenuItem.java:
4107         (processMouseEvent): Reimplemented to deal with
4108         mouse drag events.
4109         (createMenuDragMouseEvent): New private helper method.
4110         Creates MenuDragMouseEvent.
4111         * javax/swing/MenuSelectionManager.java
4112         (componentForPoint): Implemented.
4113         (isComponentPartOfCurrentMenu): Made public.
4114         (processMouseEvent): Reimplemented to deal with 
4115         mouse drag events.
4116         (setSelectedPath): Corrected small mistake that caused
4117         path to be set incorrectly.
4118         (getPath): If given component is JMenu then also add this
4119         menu's popup menu to the selected path.
4120         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4121         (getPath): Ditto.
4122         (getPreferredSize): Call getPreferredMenuItemSize().
4123         (getPreferredItemSize): Moved code from getPreferredSize to here.
4124         (installListeners): Install MouseMotionListeners.
4125         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4126         if mouse wasn't released in the bounds of this menu item.
4127         (MenuDragMouseHandler): Implemented.
4128         * javax/swing/plaf/basic/BasicMenuUI.java:
4129         (installListeners): Install MouseMotionListener and 
4130         MenuDrageMouseListener.
4131         (MenuDragMouseHandler): Implemented.
4132         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4133         (uninstallListeners): Implemented.
4134         
4135 2004-07-21  Michael Koch  <konqueror@gmx.de>
4136
4137         * javax/swing/JCheckBox.java: Reformated.
4138         (JCheckBox): Fixed all constructors.
4139         (isBorderPaintedFlat): New method.
4140         (setBorderPaintedFlat): New method.
4141         * javax/swing/JEditorPane.java
4142         (createEditorKitForContentType): Made public.
4143         (scrollToReference): Likewise.
4144         * javax/swing/JTextArea.java
4145         (setLineWrap): Fire property change.
4146         * javax/swing/JToggleButton.java
4147         (JToggleButton): New constructor.
4148         (JToggleButton): Simplified.
4149         * javax/swing/text/AttributeSet.java
4150         (FontAttribute): Renamed from FontCharacterAttribute.
4151         * javax/swing/text/JTextComponent.java
4152         (KeyBinBinding): Added javadoc.
4153         (JTextComponent): Likewise.
4154         (getAccessibleContext): Fixed javadoc.
4155         * javax/swing/text/View.java
4156         (View): Added javadoc.
4157         * javax/swing/text/TabableView.java: New file.
4158         * Makefile.am: Added javax/swing/text/TabableView.java.
4159         * Makefile.in: Regenerated.
4160
4161 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4162
4163         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4164         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4165         (GtkErrorImage): New helper class.
4166         (bufferedImageOrError): New helper method.
4167         (createImage): Use it.
4168
4169 2004-07-21  David Jee  <djee@redhat.com>
4170
4171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4172         (setCaretPosition): Scroll the text view so the new caret position
4173         is visible on screen.
4174
4175 2004-07-21  David Jee  <djee@redhat.com>
4176
4177         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4178         (setBounds): Do not validate awtComponent here.
4179         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4180         (getPreferredSize): New method.
4181         * java/awt/ScrollPane.java
4182         (ScrollPane): Set default size to 100x100.
4183         (addNotify): If child is not a Panel, wrap it with a new Panel.
4184         (paramString): Implement.
4185
4186 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4187
4188         * javax/swing/JMenu.java:
4189         (setSelected): Display popup menu only if this menu 
4190         is showing on the screen.
4191         * javax/swing/JPopupMenu.java:
4192         (processMouseEvent): Added comment.
4193         (processKeyEvent): Likewise.
4194         * javax/swing/MenuSelectionManager.java:
4195         (clearSelectedPath): Only fireStateChanged() after
4196         selected path was changed, not before.
4197         (setSelectedPath): Likewise.
4198         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4199         (paintMenuItem): Corrected position of menu item's
4200         icon.
4201         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4202         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4203         (popupMenuCanceled): Reimplemented.
4204         (popupMenuWillBecomeVisible): Select first menu item by default 
4205         when displaying free floating popup menus.
4206         (TopWindowListener): Reimplemented.
4207
4208 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4209
4210         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4211         Panel from being painted twice when it is first shown.
4212
4213 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4214
4215         * java/awt/Window.java: Reverted changes from my 
4216         previous patch for creating window without an owner.
4217         * javax/swing/SwingUtilities.java: 
4218         (SwingUtilities.OwnerFrame): made static.
4219         (OwnerFrame.setVisible): New method. Overridden with
4220         empty implementation.
4221         (OwnerFrame.isShowing): New method. Ovverridden
4222         to return always true.
4223
4224 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4225
4226         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4228         (GtkComponentPeer): Remove temporary try/catch block.
4229         (setVisible): Call show and hide.
4230         (show): Make native.
4231         (hide): Likewise.
4232         (getArgs): Don't add "visible" argument.
4233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4234         (property_notify_predicate): Return Bool instead of int.
4235         (find_layout): New function.
4236         (connectJObject): Call find_layout.
4237         (connectSignals): Likewise.
4238         (moveLayout): Likewise.
4239         (gtkLayoutSetVisible): Likewise.
4240
4241 2004-07-21  Mark Wielaard  <mark@klomp.org>
4242
4243         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4244         on notifier object before calling notifyAll().
4245
4246 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4247
4248         * java/awt/Window.java: Changed constructors to use new
4249         method that is described below. Constructors call this
4250         methods only if newly created window should have an owner.
4251         (setWindowOwner): New method. Implementation for
4252         this method is moved from this(owner,configuration).
4253         * javax/swing/JWindow.java:
4254         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4255         instead of owner.
4256         * javax/swing/SwingUtilities.java:
4257         (ownerFrame): Change type of this field to OwnerFrame.
4258         (getOwnerFrame): Changed to return object of type OwnerFrame.
4259         (SwingUtilities.OwnerFrame): New class. Represents owner
4260         of a Window that is not provided with one.
4261
4262 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4263
4264         *  javax/swing/AbstractButton.java: 
4265         (configurePropertiesFromAction): Set action command
4266         to button's text by default if action command is not 
4267         explicitely specified.
4268         * javax/swing/JMenu.java: Remove unnecessary listener
4269         and methods relevant to it.
4270         (setSelected): Reimplemented.
4271         (menuSelectionChanged): Moved most part of implementation to
4272         setSelected() and call it instead.
4273         * javax/swing/JMenuItem.java: 
4274         (init): Comment out statement that sets paint_border to false.
4275         (configurePropertiesFromAction): Do not set accelerator
4276         for JMenu.
4277         (menuSelectionChanged): Change selected index in the selection
4278         model of menu item's parent.
4279         * javax/swing/JPopupMenu.java:
4280         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4281         instead of GridBagConstraints.HORIZONTAL.
4282         (insert): Likewise.
4283         (createActionChangeListener): Implemented.
4284         (setVisible): Correct location of HeavyWeightMenu and 
4285         don't firePopupMenuCanceled().
4286         (menuSelectionChanged): Implemented.
4287         (ActionChangeListener): New Listener. Implemented.
4288         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4289         (BasicMenuBarUI.ContainerHandler): Implemented.
4290         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4291         (paintMenuItem): Uncommented out code that paints 
4292         icon, now that icons are working properly.
4293         (PropertyChangeListener): Implemented.
4294         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4295         Added javadocs.
4296         (topWindowListener): New field.
4297         (Constructor): initialize topWindowListener.
4298         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4299         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4300         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4301         Implemented.
4302
4303 2004-07-21  Michael Koch  <konqueror@gmx.de>
4304
4305         * javax/swing/plaf/basic/BasicButtonUI.java
4306         (paintFocus): Fixed method signature.
4307         (paintButtonPressed): Likewise.
4308         (paintButtonNormal): Likewise.
4309         (paintText): New method.
4310         * javax/swing/plaf/basic/BasicLabelUI.java
4311         (paint): Re-indented.
4312         * javax/swing/plaf/basic/BasicTextUI.java
4313         (installUI): Set parent textComponent to opaque.
4314         * javax/swing/text/DefaultHighlighter.java
4315         (checkPositions): New helper method.
4316         (addHighlight): Throws BadLocationException, check positions.
4317         (changeHighlight): Likewise.
4318         * javax/swing/text/EditorKit.java
4319         (EditorKit): Implements Serializable.
4320         * javax/swing/text/JTextComponent.java
4321         (getUI): Added javadoc.
4322         (setUI): Likewise.
4323         (upadteUI): Added javadoc, don't revalidate and repaint.
4324
4325 2004-07-21  David Jee  <djee@redhat.com>
4326
4327         * java/awt/GridBagLayout.java
4328         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4329         * javax/swing/AbstractButton.java
4330         (setText): Reindent.
4331         * javax/swing/RepaintManager.java
4332         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4333
4334 2004-07-21  Michael Koch  <konqueror@gmx.de>
4335
4336         * javax/swing/JFormattedTextField.java
4337         (value): New field.
4338         (JFormattedTextField): Implemented.
4339         (getValue): Likewise.
4340         (setValue): Likewise.
4341         * javax/swing/LookAndFeel.java
4342         (getSupportsWindowDecorations): New method.
4343         * javax/swing/UIDefaults.java:
4344         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4345         (addPropertyChangeListener): Made public.
4346         (addResourceBundle): Likewise.
4347         (removeResourceBundle): Likewise.
4348         (setDefaultLocale): Likewise.
4349         * javax/swing/plaf/basic/BasicRootPaneUI.java
4350         (BasicRootPaneUI): Implements PropertyChangeListener.
4351         (propertyChange): New method.
4352         * javax/swing/plaf/basic/BasicTextUI.java
4353         (BasicHighlighter): New inner class.
4354         (createHighlighter): New method.
4355         * javax/swing/plaf/basic/BasicToolBarUI.java
4356         (DragWindow): Extends java.awt.Window.
4357         * javax/swing/text/JTextComponent.java
4358         (getDocument): Removed debug output.
4359         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4360         javax/swing/text/DefaultHighlighter.java,
4361         javax/swing/text/FieldView.java,
4362         javax/swing/text/PlainView.java: New files.
4363         * Makefile.am: Added new files.
4364         * Makefile.in: Regenerated.
4365
4366 2004-07-21  Michael Koch  <konqueror@gmx.de>
4367
4368         * javax/swing/JEditorPane.java
4369         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4370         (createEditorKitForContentType): Likewise.
4371         * javax/swing/text/DefaultEditorKit.java
4372         (serialVersionUID): Added constant field.
4373         (EndOfLineStringPropery): Fixed typo.
4374         (DefaultEditorKit): New constructor.
4375         * javax/swing/text/Segment.java:
4376         Import java.text.CharacterIterator.
4377         * javax/swing/text/CharacterIterator.java,
4378         javax/swing/text/PlainEditorKit.java: Removed.
4379         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4380         javax/swing/text/PlainEditorKit.java.
4381         * Makefile.in: Regenerated.
4382
4383 2004-07-21  Michael Koch  <konqueror@gmx.de>
4384
4385         * javax/swing/JButton.java,
4386         javax/swing/text/DefaultEditorKit.java,
4387         javax/swing/text/EditorKit.java,
4388         javax/swing/text/Segment.java,
4389         javax/swing/text/StyledEditorKit.java:
4390         Reformatted.
4391
4392 2004-07-21  Michael Koch  <konqueror@gmx.de>
4393
4394         * javax/swing/ImageIcon.java
4395         (file): Removed.
4396         (description): Renamed from descr.
4397         (ImageIcon): Added missing constructors.
4398         (setParent): Removed.
4399         (setImageObserver): New method.
4400         (getImageObserver): New method.
4401         (paintIcon): Handle observer = null.
4402         * javax/swing/JButton.java
4403         (removeNotify): Fixed javadoc.
4404         (updateUI): Simplified.
4405         * javax/swing/JRootPane.java
4406         (serialVersionUID): New constant field.
4407         * javax/swing/UIManager.java:
4408         Fixed javadocs all over.
4409         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4410         * javax/swing/text/AbstractDocument.java
4411         (createPosition): Throws BadLocationException.
4412         (getText): Likewise.
4413         (remove): Likewise.
4414         * javax/swing/text/ComponentView.java
4415         (modelToView): Likewise.
4416         * javax/swing/text/DefaultEditorKit.java:
4417         Made all public methods public.
4418         (read): Throws BadLocationException and IOException.
4419         (write): Likewise.
4420         * javax/swing/text/EditorKit.java:
4421         Made all public methods public.
4422         (serialVersionUID): New constant field.
4423         (clone): New method.
4424         (read): Throws BadLocationException and IOException.
4425         (write): Likewise.
4426         * javax/swing/text/Segment.java
4427         (array): Made public.
4428         (count): Likewise.
4429         (offset): Likewise.
4430         (Segment): New constructors.
4431         (clone): Reimplemented.
4432         * javax/swing/text/StyledEditorKit.java
4433         (serialVersionUID): New constant field.
4434
4435 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4436
4437         * java/awt/image/BufferedImage.java 
4438         (getSource): Implement.
4439         * javax/swing/ImageIcon.java 
4440         (ImageIcon): Implement ctor.
4441         * javax/swing/ScrollPaneLayout.java 
4442         (preferredLayoutSize): Be more careful about nulls.
4443
4444 2004-07-21  Michael Koch  <konqueror@gmx.de>
4445
4446         * javax/swing/text/AttributeSet.java
4447         (CharacterAttribute): New interface
4448         (ColorAttribute): Likewise.
4449         (FontCharacterAttribute): Likewise.
4450         (ParagraphAttribute): Likewise.
4451         * javax/swing/text/DefaultCaret.java
4452         (moveCaret): New method.
4453         (positionCaret): Likewise.
4454         (repaint): Made protected.
4455         * javax/swing/text/JTextComponent.java
4456         (KeyBinding): Made it static.
4457         * javax/swing/text/View.java
4458         (getContainer): Honor parent == null.
4459
4460 2004-07-21  Michael Koch  <konqueror@gmx.de>
4461
4462         * javax/swing/text/AbstractDocument.java:
4463         Reformatted.
4464
4465 2004-07-21  Michael Koch  <konqueror@gmx.de>
4466
4467         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4468         Import javax.swing.UIManager explicitely.
4469         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4470         (ScrollingButton): Made it static.
4471
4472 2004-07-21  Michael Koch  <konqueror@gmx.de>
4473
4474         * javax/swing/UIDefaults.java
4475         (ActiveValue): Made public.
4476         (LazyValue): Likewise.
4477         * javax/swing/plaf/basic/BasicTextUI.java
4478         (RootView): Reintroduced.
4479         (view): Removed.
4480         (rootView): New field.
4481         (installUI): Create document if needed, initialize rootView.
4482         (uninstallUI): Hanle rootView.
4483         (paint): Likewise.
4484         (getRootView): Likewise.
4485         (setView): Likewise.
4486         * javax/swing/text/DefaultCaret.java:
4487         Renamed all "evt" variables to "event".
4488
4489 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4490
4491         * libgcj.spec.in: Add -l-java-util-logging.
4492
4493 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4494
4495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4496         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4497         gtk-xft-dpi can no calculate the right value.
4498         (dpi_changed_cb): Mark *pspec as unsused.
4499
4500 2004-07-21  David Jee  <djee@redhat.com>
4501
4502         * java/awt/Component.java
4503         (move): Delegate to setBounds().
4504         (resize): Likewise.
4505         (reshape): Fix so it repaints parent and self only when necessary.
4506
4507 2004-07-21  David Jee  <djee@redhat.com>
4508
4509         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4511         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4512         (setVisible): Likewise.
4513         (show): Likewise.
4514         (hide): Likewise.
4515         (getArgs): Likewise.
4516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4517         (property_notify_predicate): Likewise.
4518         (find_layout): Likewise.
4519         (connectJObject): Likewise.
4520         (connectSignals): Likewise.
4521         (moveLayout): Likewise.
4522         (gtkLayoutSetVisible): Likewise.
4523
4524 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4525
4526         * Makefile.am
4527         (jv_convert_LDADD):
4528         (gij_LDADD):
4529         (rmic_LDADD):
4530         (rmiregistry_LDADD): Add lib-java-util-logging.la
4531         * Makefile.in: Regenerate.
4532
4533 2004-07-21  Michael Koch  <konqueror@gmx.de>
4534
4535         * javax/swing/text/AbstractDocument.java
4536         (replace): Dont use protected method of java.util.Vector directly.
4537
4538 2004-07-21  Michael Koch  <konqueror@gmx.de>
4539
4540         * javax/swing/plaf/basic/BasicTextUI.java
4541         (installUI): Call specialized install methods.
4542         (installDefaults): New method.
4543         (installListeners): Likewise.
4544         (installKeyboardActions): Likewise.
4545         (uninstallUI): Likewise.
4546         (uninstallDefaults): New method.
4547         (uninstallListeners): Likewise.
4548         (uninstallKeyboardActions): Likewise.
4549         (getPropertyPrefix): New abstract method.
4550         (paint): Made final, just call paintSafely().
4551         (paintSavely): New method.
4552         (paintBackground): Likewise.
4553         (getVisibleEditorRect): Likewise.
4554         * javax/swing/text/LayeredHighlighter.java,
4555         javax/swing/text/TabExpander.java: New files.
4556         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4557         and javax/swing/text/TabExpander.java.
4558         * Makefile.in: Regenerated.
4559
4560 2004-07-21  Michael Koch  <konqueror@gmx.de>
4561
4562         * javax/swing/plaf/basic/BasicTextUI.java
4563         (BasicTextUI): Made abstract.
4564         (BasicCaret): New inner class.
4565         (view): Don't explicitely initialize with "null".
4566         (textComponent): New field.
4567         (textColor): Removed.
4568         (disabledTextColor): Removed.
4569         (normalBackgroundColor): Removed.
4570         (RootView): Removed commented out inner class.
4571         (createUI): Removed.
4572         (createCaret): New method.
4573         (getComponent): Likewise.
4574         (installUI): Initialize textComponent only.
4575         (getPreferredSize): Use installed JTextComponent.
4576         (setView): New method.
4577         (create): Likewise.
4578         * javax/swing/text/JTextComponent.java
4579         (highlighter): New field.
4580         (caretColor): Likewise.
4581         (disabledTextColor): Likewise.
4582         (seletedTextColor): Likewise.
4583         (selectionColor): Likewise.
4584         (setUI): New method.
4585         (getCaretColor): Likewise.
4586         (setCaretColor): Likewise.
4587         (getDisabledColor): Likewise.
4588         (setDisabledColor): Likewise.
4589         (getSelectedTextColor): Likewise.
4590         (setSelectedTextColor): Likewise.
4591         (getSelectionColor): Likewise.
4592         (setSelectionColor): Likewise.
4593         (getHighlighter): Likewise.
4594         (setHighlighter): Likewise.
4595         (replaceSelection): Likewise.
4596
4597 2004-07-21  Michael Koch  <konqueror@gmx.de>
4598
4599         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4600         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4601         * javax/swing/plaf/basic/BasicToolBarUI.java
4602         (BasicToolBarUI): Implements SwingConstants.
4603
4604 2004-07-21  Michael Koch  <konqueror@gmx.de>
4605
4606         * javax/swing/JPopupMenu.java: Removed CVS tags.
4607         * javax/swing/UIDefaults.java: Reformatted.
4608         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4609         Explicitely import used classes.
4610
4611 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4612
4613         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4615         (GtkComponentPeer): Remove temporary try/catch block.
4616         (setVisible): Call show and hide.
4617         (show): Make native.
4618         (hide): Likewise.
4619         (getArgs): Don't add "visible" argument.
4620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4621         (property_notify_predicate): Return Bool instead of int.
4622         (find_layout): New function.
4623         (connectJObject): Call find_layout.
4624         (connectSignals): Likewise.
4625         (moveLayout): Likewise.
4626         (gtkLayoutSetVisible): Likewise.
4627
4628 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4629
4630         * javax/swing/AbstractButton.java:
4631         (setDisplayedMnemonicIndex): Check if button
4632         text is not null before checking its length.
4633         * javax/swing/JMenuItem.java:
4634         (processMouseEvent): Disarm menu item if mouse has
4635         exited it.
4636         * javax/swing/plaf/basic/BasicMenuUI.java:
4637         (MouseInputHandler.mouseEntered): Do not raise
4638         popup menu if this menu is already selected.
4639         (MouseInputHandler.mousePressed): Do not fire 
4640         MenuEvents.
4641         (MenuHandler): Implemented.     
4642
4643 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4644
4645         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4646         (getSelectedObjects): Implemented.
4647         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4648         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4649         Added javadoc for few methods.
4650         (processMouseEvent): Made public.
4651         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4652         (processMouseEvent): Likewise.
4653
4654 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4655
4656         * javax/swing/AbstractButton.java:
4657         (init): Set display mnemonic index to -1.
4658         (setMnemonic(char)): Use setMnemonic(int).
4659         (setMnemonic(int)): Set display mnemonic index.
4660         (getDisplayedMnemonicIndex): Change method signature
4661         by removing 'index' parameter.
4662         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4663         Added default for Menu.selectionBackground.     
4664         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4665         (paintMenuItem): Change background color of the selected
4666         menu item.
4667         (paintText): Paint differently when menu item is disabled.
4668         Also paint mnemonic if it appears in the menu item's label.
4669         (paintAccelerator): Paint accelerator differently
4670         if menu item is disabled.
4671         * javax/swing/plaf/basic/BasicMenuUI.java:
4672         (installDefaults): Install defaults for 
4673         selectionForeground and selectionBackground.
4674         (uninstallDefaults): Uninstall defauls for 
4675         selectionForeground and selectionBackground.
4676
4677 2004-07-21  Michael Koch  <konqueror@gmx.de>
4678
4679         * javax/swing/text/AbstractDocument.java
4680         (BranchElement): Implemented.
4681         (LeafElement): Implemented.
4682         * javax/swing/text/DefaultCaret.java:
4683         Import used classes.
4684         (serialVersionUID): New constant.
4685         * javax/swing/text/JTextComponent.java
4686         (AccessibleJTextComponent): Removed dead declaration.
4687         (caretPos): Removed.
4688         (setCaret): New method.
4689         * javax/swing/text/PlainDocument.java
4690         (rootElement): New field.
4691         (PlainDocument): Initialize rootElement.
4692         (createDefaultRoot): New method.
4693         (getDefaultRootElement): Implemented.
4694         * javax/swing/text/View.java: Reformatted.
4695         * javax/swing/text/ViewFactory.java
4696         (create): Added javadoc.
4697
4698 2004-07-21  Michael Koch  <konqueror@gmx.de>
4699
4700         * javax/swing/ToolTipManager.java: Reformatted.
4701
4702 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4703
4704         * javax/swing/AbstractButton.java
4705         (changeEvent): New field.
4706         (fireItemStateChanged): Change source of the event
4707         to 'this' before firing it to button listeners.
4708         (fireActionPerformed): Likewise.
4709         (fireStateChanged): Likewise.
4710         (createActionListener): Do not set source 
4711         of the event to AbstractButton.                                  
4712         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4713         (ContainerHandler.componentAdded): Removed 
4714         print out statement.
4715         (ContainerHandler.componentRemoved): Likewise.
4716
4717 2004-07-21  Michael Koch  <konqueror@gmx.de>
4718
4719         * javax/swing/text/Highlighter.java: New file.
4720         * Makefile.am: Added javax/swing/text/Highlighter.java.
4721         * Makefile.in: Regenerated.
4722
4723 2004-07-21  Michael Koch  <konqueror@gmx.de>
4724
4725         * javax/swing/ToolTipManager.java
4726         (stillInsideTimerAction): Fixed constructor arguments.
4727         (outsideTimerAction): Likewise.
4728         (insideTimerAction): Likewise.
4729
4730 2004-07-21  Michael Koch  <konqueror@gmx.de>
4731
4732         * javax/swing/JButton.java: Reformatted.
4733         * javax/swing/JFormattedTextField.java
4734         (getUIClassID): Implemented.
4735         * javax/swing/JRootPane.java
4736         (serialVersionUID): New constant.
4737         * javax/swing/JTextField.java
4738         (align): New field.
4739         (JTextField): Simplified.
4740         (getUIClassID): New method.
4741         (getActionListeners): Added @since tag.
4742         (setColumns): Invalidate layout and repaint.
4743         (getHorizontalAlignment): New method.
4744         (setHorizontalAlignment): New method.
4745         (selectAll): Removed.
4746         * javax/swing/SwingUtilities.java
4747         (getAncestorOfClass): Removed redundant @see tag.
4748         (isLeftMouseButton): Fixed implementation.
4749         (isMiddleMouseButton): Likewise.
4750         (isRightMouseButton): Likewise.
4751         * javax/swing/text/AbstractDocument.java
4752         (AttributeContext.addAttribute): New method.
4753         (AttributeContext.addAttributes): New method.
4754         (AttributeContext.getEmptySet): New method.
4755         (AttributeContext.reclaim): New method.
4756         (AttributeContext.removeAttribute): New method.
4757         (AttributeContext.removeAttributes): New method.
4758         * javax/swing/text/Document.java
4759         (createPosition): Throws BadLocationException.
4760         (getText): Likewise.
4761         (remove): Likewise.
4762         * javax/swing/text/JTextComponent.java
4763         (getText): Return null if no document is set. Catch
4764         BadLocationException.
4765         (getUI): Return ui.
4766         (updateUI): Simplified.
4767
4768 2004-07-21  Michael Koch  <konqueror@gmx.de>
4769
4770         * javax/swing/JButton.java
4771         (removeNotify): Fixed javadoc.
4772         (updateUI): Simplified.
4773
4774 2004-07-21  David Jee  <djee@redhat.com>
4775
4776         * gnu/java/awt/image/ImageDecoder.java
4777         (startProduction): Only add consumer if it's not added yet.
4778         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4779         (GdkPixbufDecoder): Don't call initState() here.
4780         (produce): Call initState() here, to ensure area_prepared and
4781         area_updated signals are properly connected.
4782         * gnu/java/awt/peer/gtk/GtkImage.java
4783         (setColorModel): Use equals() to compare ColorModel objects.
4784         (setPixels): Likewise.
4785         * java/awt/image/ColorModel.java
4786         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4787         * java/awt/image/RGBImageFilter.java
4788         (setColorModel): Set consumer's color model.
4789         (setPixels): Use equals() to compare ColorModel objects.
4790
4791 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4792
4793         * java/net/URLConnection.java (position): New field.
4794         (dateFormat1, dateFormat2, dateFormat3): Removed.
4795         (dateFormats): New field.
4796         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4797         each time instead of re-allocating.
4798         (initializeDateFormats): Initialize 'dateFormats'.
4799
4800 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4801
4802         PR libgcj/16591
4803         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4804         is defined.
4805
4806 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4807
4808         * java/net/Socket.java (getImpl): Now private. Remove comment.
4809
4810 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4811
4812         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4813         of chained Writer when calling super-constructor.
4814         * java/io/FilterWriter.java (FilterWriter): Likewise.
4815         * java/io/PrintWriter.java (PrintWriter): Likewise.
4816
4817 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4818
4819         * prims.cc (process_gcj_properties): Don't increment i within LHS
4820         of assignment.
4821
4822 2004-07-19  Per Bothner  <per@bothner.com>
4823
4824         Print -verbose:message on "loading", not initialization.
4825         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4826         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4827         gcj::verbose_class_flag.
4828         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4829         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4830         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4831         (_Jv_PrepareCompiledClass):  Likewise.
4832
4833 2004-07-18  Matthias Klose  <doko@debian.org>
4834
4835         * configure.in: Substitute target_noncanonical.
4836         * configure: Regenerate
4837
4838 2004-07-17  Michael Koch  <konqueror@gmx.de>
4839
4840         * java/lang/String.java: Fixed javadocs all over.
4841
4842 2004-07-17  Mark Wielaard  <mark@klomp.org>
4843
4844         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4845         when size is smaller.
4846         * java/io/RandomAccessFile.java (setLength): Use truncate for
4847         shrinking the file and seek plus write for expanding the file.
4848
4849 2004-07-17  Michael Koch  <konqueror@gmx.de>
4850
4851         * gnu/java/nio/channels/natFileChannelPosix.cc
4852         (implTruncate): Always save current position. Only reposition file
4853         pointer to where we started if not beyond new lenght. Reposition file
4854         pointer to file length if it points beyond the end of file.
4855
4856 2004-07-17  Mark Wielaard  <mark@klomp.org>
4857
4858         * javax/swing/Box.java: Put FIXME comment above class declaration.
4859         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4860         * javax/swing/JCheckBox.java: Likewise.
4861         * javax/swing/JDialog.java: Likewise.
4862         * javax/swing/JRadioButton.java: Likewise.
4863         * javax/swing/JToggleButton.java: Likewise.
4864         * javax/swing/UIManager.java: Likewise.
4865         * javax/swing/border/TitledBorder.java: Likewise.
4866         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4867         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4868         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4869         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4870         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4871         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4872         * javax/swing/text/JTextComponent.java: Likewise.
4873
4874 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4875
4876         * java/net/DatagramPacket.java (setAddress): Removed check for
4877         null address.
4878
4879 2004-07-17  Michael Koch  <konqueror@gmx.de>
4880
4881         * java/net/DatagramSocket.java
4882         (getLocalAddress): Check if socket is bound or not.
4883         * java/net/Socket.java
4884         (getLocalAddrss): Check if socket is bound or not.
4885         (getPort): Return -1 when not connected. Dont check getImpl() for
4886         null.
4887         (setReuseAddress): Check if socket is closed.
4888         (isConnected): Check if getImpl() returns null.
4889
4890 2004-07-17  Mark Wielaard  <mark@klomp.org>
4891
4892         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4893         on notifier object before calling notifyAll().
4894
4895 2004-07-17  Michael Koch  <konqueror@gmx.de>
4896
4897         * gnu/java/nio/channels/FileChannelImpl.java
4898         (finalize): Added javadoc.
4899
4900 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4901
4902         * java/text/CollationElementIterator.java
4903         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4904         (setText): Use ArrayList instead of Vector.
4905
4906 2004-07-17  Michael Koch  <konqueror@gmx.de>
4907
4908         * java/nio/ByteOrder.java
4909         (static): Removed. Not needed.
4910         Thanks to Patrick Reali for noticing.
4911         * java/nio/charset/CharsetDecoder.java
4912         (decode): Fix for classpath bug #9177: Reset state before flipping.
4913
4914 2004-07-17  Michael Koch  <konqueror@gmx.de>
4915
4916         * java/security/Security.java: Fixed javadocs all over.
4917
4918 2004-07-17  Michael Koch  <konqueror@gmx.de>
4919
4920         * gnu/java/awt/EmbeddedWindow.java
4921         (static): Removed.
4922         (addNotify): Set peer via reflection.
4923         (setWindowPeer): Removed.
4924         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4925         * Makefile.am (nat_source_files):
4926         Removed gnu/java/awt/natEmbeddedWindow.cc.
4927         * Makefile.in: Regenerated.
4928
4929 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4930
4931         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4932         assignment.
4933         * configure: Regenerated.
4934
4935 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4936
4937         * configure.in: Use build_noncanonical rather than build_alias.
4938         * configure: Rebuild.
4939
4940         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4941         by logic refactoring.  Move default definition of NATIVE closer
4942         to first alternate definition.
4943         * configure: Regenerate.
4944
4945         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4946         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4947         gcj/Makefile.in: Regenerate.
4948         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4949         in AM_CONDITIONAL(NATIVE,...)
4950         * configure: Regenerate.
4951
4952 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4953
4954         * configure.in: Use target_noncanonical rather than
4955         target_alias for forward-compatibility with autoconf 2.59.
4956         * configure: Regenerate.
4957         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4958         testsuite/Makefile.am: Substitute target_noncanonical.
4959         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4960         testsuite/Makefile.in: Regenerate.
4961
4962         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4963         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4964         * acinclude.m4: Include acx.m4.
4965         * aclocal.m4: Regenerate.
4966         * configure: Regenerate.
4967
4968 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4969
4970         PR libgcj/16574
4971         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4972         (decimalFormat): New static variable.
4973         (sbuf): Likewise.
4974         (getTime): New. Override Date.getTime().
4975         (toString): Synchronize. Use decimalFormat to format nanos value
4976         correctly. Truncate extra zeros.
4977         (before): Compare getNanos() only if getTime() is equal.
4978         (after): Likewise.
4979         
4980 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4981
4982         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4983         * configure.in: ...here.
4984         * aclocal.m4: Regenerate.
4985         * configure: Regenerate.
4986
4987         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4988         * configure: Rebuilt with autoconf 2.13.
4989         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4990         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4991
4992 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4993
4994         PR libgcj/16204
4995         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4996         large file support.
4997         * Makefile.in: Rebuilt.
4998         * testsuite/libjava.lang/LargeFile.java: New test case.
4999         * testsuite/libjava.lang/LargeFile.out: New file.
5000
5001 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5002
5003         * java/beans/EventHandler.java: Remove debugging statements.
5004
5005 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5006
5007         * java/beans/EventHandler.java: New file.
5008         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5009         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5010         testsuite/Makefile.in: Regenerate.
5011
5012 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5013
5014         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5015         flag to the gcj_setup.
5016         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5017         the tclsh.
5018         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5019         deprecation flag change. 58 XFAILS removed.
5020
5021 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5022
5023         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5024         -fno-use-divide-subroutine.
5025         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5026         (HANDLE_FPE): Define.
5027         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5028         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5029         (HANDLE_DIVIDE_OVERFLOW): Define.
5030
5031 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5032             Matthias Klose  <doko@debian.org> 
5033
5034         * java/awt/im/InputContext.java: Initialize in, line.
5035
5036 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5037
5038         * interpret.cc (run): Correctly access libffi return values of
5039         integral smaller-than-int type; these are implicitly promoted.
5040
5041 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5042
5043         PR libgcj/7587
5044         * interpret.cc (compile_mutex): New.
5045         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5046         (run): Lock compile_mutex before calling compile() if compilation is
5047         required.
5048         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5049         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5050
5051 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5052
5053         PR libgcj/15713
5054         * include/jvm.h (_Jv_value): New union type.
5055         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5056         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5057         union members.
5058
5059 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5060
5061         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5062         * gnu/awt/xlib/XOffScreenImage.java
5063           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5064           constructor argument. Add constructor using ImageProducer.
5065           (getSource): Implement.
5066           (imageComplete): New method.
5067           (setColorModel): New method.
5068           (setDimensions): New method.
5069           (setHints): New method.
5070           (setPixels): New method.
5071           (setProperties): New method.
5072         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5073         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5074
5075 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5076
5077         PR libgcj/16478 
5078         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5079         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5080         (finalizerReady): Now native.
5081         (run): Likewise.
5082         (runFinalizers): Removed.
5083         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5084         a primitive lock, and don't hold it while running the finalizers.
5085         (runFinalizers): Implement. Don't aquire any Java lock.
5086         (finalizerReady): Use lock primitives to signal finalizer thread.
5087
5088 2004-07-11  Mark Wielaard  <mark@klomp.org>
5089
5090         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5091         * java/net/URLStreamHandler.java (parseURL): When url file part
5092         doesn't contain a '/' just ignore context.
5093
5094 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5095
5096         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5097         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5098         (MAKE_THROW_FRAME): Do not modify PSW address.
5099         (INIT_SEGV): Install SIGINFO-style signal handler.
5100         (INIT_FPE): Likewise.
5101
5102 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5103
5104         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5105         status. 21 xfail's removed, 1 added.
5106
5107 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5108
5109         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5110
5111 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5112
5113         * java/text/MessageFormat.java
5114         (formatInternal): Append "{n}" if argument n is unavailable.
5115         (format(Object, StringBuffer, FieldPosition)): This
5116         should be equivalent to format(Object[],
5117         StringBuffer, FieldPosition).
5118
5119 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5120
5121         * java.util.Calendar.java (cache): New private static field. Cached
5122         mappings of locales->calendar classes.
5123         (ctorArgTypes): New private static field. Singleton argument for
5124         calendar class constructor lookup.
5125         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5126         Optimize by bypassing reflection instantiation for the 
5127         GregorianCalendar case.
5128
5129 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5130
5131         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5132         ResourceBundle.getBundle() calls.
5133         * java/util/GregorianCalendar.java: Likewise.
5134         * java/util/Currency.java: Likewise.
5135         * java/text/BreakIterator.java: Likewise.
5136         * java/text/Collator.java: Likewise.
5137         * java/text/DateFormat.java: Likewise.
5138         * java/text/DateFormatSymbols.java: Likewise.
5139         * java/text/DecimalFormatSymbols.java: Likewise.
5140         * java/text/NumberFormat.java: Likewise.
5141         * java/awt/Window.java: Likewise.       
5142
5143 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5144
5145         * java/util/ResourceBundle.java (bundleCache): Renamed from
5146         resourceBundleCache. Update comments.
5147         (getObject): Don't catch MissingResourceException.
5148         (getBundle(String)): Remove 'final'. Use system classloader if
5149         getCallingClassLoader returned null.
5150         (getBundle(String, Locale)): Likewise.
5151         (BundleKey): New private class. HashMap key for bundle cache lookup.
5152         (lookupKey): New. Singleton instance of BundleKey.
5153         (nullEntry): New. Cache entry to represent failed lookups.
5154         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5155         caching strategy, no-allocation lookup, and new tryBundle methods.
5156         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5157         name using given classloader.
5158         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5159         baseName for given Locale and attempt to load bundle.
5160
5161 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5162
5163         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5164         illegal protected method calls.
5165
5166 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5167
5168         Fix or remove some bogus test cases.
5169         * testsuite/libjava.compile/pr10459_2.java: Removed.
5170         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5171         not Object.clone().
5172         * testsuite/libjava.compile/inner_data.java: Test against its own
5173         protected field.
5174
5175 2004-07-09  Michael Koch  <konqueror@gmx.de>
5176
5177         * scripts/unicode-muncher.pl: Updated to version 2.1
5178         from GNU classpath. Added some clarifications on where to find the
5179         needed files from www.unicode.org.
5180         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5181         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5182         Removed, these can directly be downloaded from www.unicode.org if
5183         needed. 
5184         * gnu/java/lang/CharData.java: Regenerated.
5185         * include/java-chartables.h: Regenerated.
5186         * Makefile.am (ordinary_java_source_files):
5187         Removed gnu/java/lang/CharData.java.
5188         * Makefile.in: Regenerated.
5189
5190 2004-07-09  Michael Koch  <konqueror@gmx.de>
5191
5192         * java/security/AccessControlContext.java,
5193         java/security/SecureClassLoader.java:
5194         Fixed javadocs.
5195
5196 2004-07-09  Michael Koch  <konqueror@gmx.de>
5197
5198         * java/io/ObjectInputStream.java (readFields): Use long datatype
5199         when shifting byte values more then 24 bits left.
5200
5201 2004-07-09  Michael Koch  <konqueror@gmx.de>
5202
5203         * java/util/zip/DeflaterOutputStream.java,
5204         java/util/zip/GZIPInputStream.java,
5205         java/util/zip/GZIPOutputStream.java,
5206         java/util/zip/InflaterInputStream.java:
5207         Reformatted. Added javadocs. Reordered all stuff.
5208         Renamed variables to be more clear.
5209
5210 2004-07-09  Michael Koch  <konqueror@gmx.de>
5211
5212         * javax/imageio/IIOException.java,
5213         javax/imageio/event/IIOReadProgressListener.java,
5214         javax/imageio/event/IIOReadUpdateListener.java,
5215         javax/imageio/event/IIOReadWarningListener.java,
5216         javax/imageio/event/IIOWriteProgressListener.java,
5217         javax/imageio/event/IIOWriteWarningListener.java:
5218         New files.
5219         * Makefile.am: Added new files.
5220         * Makefile.in: Regenerated.
5221
5222 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5223
5224         * java/text/RuleBasedCollator.java
5225         (mergeRules): Use ArrayList instead of Vector.
5226         (subParseString): likewise.
5227         (parseString): likewise.
5228         (buildCollationVector): likewise.
5229         (getCollationKey): likewise.
5230
5231 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5232
5233         * java/text/DateFormat.java (parse):
5234         Improved javadoc. Improved exception message.
5235
5236 2004-07-09  Mark Wielaard  <mark@klomp.org>
5237
5238         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5239         interrupted() method to clear interupt flag of our Thread.
5240
5241 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5242
5243         * java/nio/Buffer.java,
5244         java/nio/ByteBuffer.java,
5245         java/nio/ByteBufferHelper.java,
5246         java/nio/ByteBufferImpl.java,
5247         java/nio/CharBuffer.java,
5248         java/nio/CharBufferImpl.java,
5249         java/nio/CharViewBufferImpl.java,
5250         java/nio/DirectByteBufferImpl.java,
5251         java/nio/DoubleBuffer.java,
5252         java/nio/DoubleBufferImpl.java,
5253         java/nio/DoubleViewBufferImpl.java,
5254         java/nio/FloatBuffer.java,
5255         java/nio/FloatBufferImpl.java,
5256         java/nio/FloatViewBufferImpl.java,
5257         java/nio/IntBuffer.java,
5258         java/nio/IntBufferImpl.java,
5259         java/nio/IntViewBufferImpl.java,
5260         java/nio/LongBuffer.java,
5261         java/nio/LongBufferImpl.java,
5262         java/nio/LongViewBufferImpl.java,
5263         java/nio/MappedByteBufferImpl.java,
5264         java/nio/ShortBuffer.java,
5265         java/nio/ShortBufferImpl.java,
5266         java/nio/ShortViewBufferImpl.java:
5267         Fixed javadocs all over. Improved input error
5268         checking.
5269
5270         * java/nio/Buffer.java
5271         (checkForUnderflow, checkForOverflow, checkIndex,
5272         checkIfReadOnly, checkArraySize): New helper methods
5273         for error checking.
5274
5275         * java/nio/ByteBufferHelper.java
5276         (checkRemainingForRead, checkRemainingForWrite,
5277         checkAvailableForRead, checkAvailableForWrite): Removed
5278         no longer needed methods.
5279
5280 2004-07-09  Michael Koch  <konqueror@gmx.de>
5281
5282         * gnu/regexp/CharIndexedInputStream.java:
5283         Reordered imports to match classpath.
5284
5285 2004-07-09  Michael Koch  <konqueror@gmx.de>
5286
5287         * gnu/java/awt/EmbeddedWindow.java:
5288         Load native library for setWindowPeer method.
5289
5290 2004-07-08  Randolph Chung  <tausq@debian.org>
5291
5292         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5293         * configure: Regenerate.
5294         * configure.host: Set can_unwind_signal for hppa*-linux.
5295         * include/pa-signal.h: New file.
5296
5297 2004-07-07  Per Bothner  <per@bothner.com>
5298
5299         * Makefile.am:  Add rules to build libgij from just gij.cc.
5300
5301         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5302         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5303         (initializeClass):  If verbose_class_flag, print message.
5304         * gij.cc (main):  Handle -verbose:class flag.
5305
5306 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5307
5308         * configure.host: Enable hash synchronization on Darwin.
5309         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5310         ';', since this is a comment on Darwin.
5311         (compare_and_swap_release): Likewise.
5312
5313 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5314
5315         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5316         file portion of URL in addition to spec for file: protocol.
5317
5318 2004-07-05  Anthony Green  <green@redhat.com>
5319
5320         * java/io/File.java (toURI): Merge from Classpath.
5321
5322 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5323
5324         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5325         before passing to URL constructor. Rethrow any MalformedURLException
5326         as a RuntimeException. Catch MalformedURLException specifically, not
5327         all exceptions.
5328
5329 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5330
5331         * java/util/Locale.java (readObject): Intern strings read from object
5332         stream.
5333
5334 2004-07-04  Michael Koch  <konqueror@gmx.de>
5335
5336         * gnu/gcj/runtime/FirstThread.java,
5337         gnu/gcj/runtime/natFirstThread.cc: Removed.
5338         * gnu/java/lang/MainThread.java,
5339         gnu/java/lang/natMainThread.cc: New files.
5340         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5341         * Makefile.am: Added new files and removed deleted ones.
5342         * Makefile.in: Regenerated.
5343
5344 2004-07-03  Mark Wielaard  <mark@klomp.org>
5345             Anthony Green  <green@redhat.com>
5346
5347         * java/net/URL.java (getFile): Clarify return value doc.
5348         (getPath): Return null if file is empty - not empty String.
5349         (set): Convert protocol to lower case before doing anything.
5350         Only change the protocol handler if it's different.
5351
5352 2004-07-03  Anthony Green  <green@redhat.com>
5353
5354         * java/net/URL.java (URL): Convert protocol to lower case before
5355         doing anything, so we getURLStreamHandler() with the proper value.
5356
5357 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5358
5359         * java/util/Locale.java (hashcode): Made transient.
5360         (hashCode): No longer synchronized.
5361         (equals): Remove comment.
5362         (writeObject): No longer synchronized. Implement using writeObject 
5363         calls instead of tweaking hashCode field. Update doc.
5364         (readObject): Implement using readObject calls.
5365
5366 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5367             Andreas Tobler  <a.tobler@schweiz.ch>
5368
5369         * configure.host (powerpc-*-darwin*): New case, define
5370         can_unwind_signal.
5371         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5372         * configure: Regenerate.
5373         * include/darwin-signal.h: New.
5374
5375 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5376
5377         * java/beans/Statement.java (doExecute): Fix formatting.
5378
5379 2004-06-29  Per Bothner  <per@bothner.com>
5380
5381         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5382         etc etc):  Remove needless parenthesis, which causes __stdcall__
5383         attribute on MinGW to get ignored.
5384
5385 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5386
5387         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5388
5389 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5390
5391         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5392
5393 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5394
5395         * java/beans/Expression.java: New file.
5396         * java/beans/Statement.java: New file.
5397         * Makefile.am: Added new files.
5398         * Makefile.in: Re-generate.
5399
5400 2004-06-27 Mark Wielaard  <mark@klomp.org>
5401
5402         * java/io/FilePermission.java (usingPerms): Removed.
5403         (actionsString): Made final.
5404         (cachePerms): Renamed to checkPerms.
5405         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5406         on action String.
5407         (FilePermission): Check arguments, call checkPerms().
5408         (equals): Remove cachePerms() call.
5409         (implies): Likewise.
5410
5411 2004-06-27  Mark Wielaard  <mark@klomp.org>
5412
5413         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5414         final field.
5415         (sendRequest): Use new field in user-agent http agent.
5416
5417 2004-06-27  Mark Wielaard  <mark@klomp.org>
5418
5419         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5420         when argument is null.
5421
5422 2004-06-26  Mark Wielaard  <mark@klomp.org>
5423
5424         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5425         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5426         GetMethodID call.
5427         (cancel_clicked): Likewise.
5428
5429 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5430
5431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5432         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5433         can not calculate the right value.
5434         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5435
5436 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5437
5438         * testsuite/libjava.jacks/jacks.xfail: Remove
5439         15.9.1-qualified-concrete-20.
5440
5441 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5442
5443         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5444         encoding name to iconv.
5445         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5446
5447 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5448
5449         PR libgcj/16134:
5450         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5451         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5452         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5453
5454 2004-06-21  Andrew Haley  <aph@redhat.com>
5455
5456         * java/io/ObjectOutputStream.java: Add DEBUG statements
5457         everywhere.
5458         (dumpElementln): New method.
5459         (depth): New field.
5460         * java/io/ObjectInputStream.java
5461         (currentClassLoader): Make native.
5462         (callersClassLoader): New field.
5463         (depth): New field.
5464         (readObject): ENDBLOCKDATA is generated if the class has a write
5465         method, not if it has a read method.
5466         (readObject): Save and restore this.currentObject and
5467         this.currentObjectStreamClass around calls to callReadMethod().
5468         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5469         method.
5470
5471 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5472
5473         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5474         darwin.
5475
5476 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5477
5478         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5479         if desired, before the default class loader is initialised.
5480         Call INIT_SEGV only if HANDLE_SEGV is defined.
5481
5482 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5483
5484         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5485         directory only if it actually exists.
5486
5487 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5488
5489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5490         Fix up non-ansi comments.
5491
5492 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5493
5494         * javax/swing/text/AbstractDocument.java: Adding missing import
5495         for javax.swing.event.EventListenerList.
5496         * javax/swing/text/DefaultCaret.java: Likewise.
5497
5498 2004-06-17  Michael Koch  <konqueror@gmx.de>
5499
5500         * javax/swing/JToolBar.java
5501         (name): Removed.
5502         (JToolBar): Use Component.setName(String) instead of doing it all
5503         alone.
5504         * javax/swing/Timer.java
5505         (queueEvent): Added missing modifier.
5506
5507 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5508
5509         * Makefile.am: Added new file.
5510         * Makefile.in: Re-generate.
5511         * javax/swing/JMenu.java:
5512         (insertSeparator): Implemented.
5513         * javax/swing/JPopupMenu.java:
5514         (JPopupMenu.Separator): Implemented.
5515         * javax/swing/MenuSelectionManager.java:
5516         (processMouseEvent): Use java.awt.Component 
5517         for event source instead of javax.swing.JComponent. 
5518         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5519         New File. Implemented.
5520         
5521 2004-06-16  David Jee  <djee@redhat.com>
5522
5523         * java/awt/GridBagLayout.java
5524         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5525         Make sure pos_x and pos_y are never negative.
5526
5527 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5528
5529         * Makefile.am: Add new file.
5530         * Makefile.in: Re-generate.     
5531         * javax/swing/JToolBar.java
5532         Partially implemented.
5533         * javax/swing/plaf/basic/BasicToolBarUI.java
5534         New file. Partially implemented.
5535
5536 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5537
5538         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5539         (setComposite): Accept AlphaComposite arguments.
5540         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5541         (createBufferedImage): Add new overloads.
5542         * gnu/java/awt/peer/gtk/GtkToolkit.java
5543         (createImage): Use GdkPixbufDecoder.createBufferedImage
5544         when useGraphics2D() is true.
5545         (getImage): Delegate to createImage.
5546         * javax/swing/JList.java
5547         (isSelectionEmpty):
5548         (getFirstVisibleIndex):
5549         (getLastVisibleIndex):
5550         (setSelectedValue):
5551         (ensureIndexIsVisible): New methods.
5552         * javax/swing/Timer.java: Reimplement.
5553
5554 2004-06-16  Michael Koch  <konqueror@gmx.de>
5555
5556         * javax/swing/text/AbstractDocument.java
5557         (AbstracElement): Made public, implements java.io.Serializable.
5558         (AttributeContext): Made public.
5559         (BranchElement): Likewise.
5560         (Content): Likewise.
5561         (DefaultDocumentEvent): Made public, extends
5562         javax.swing.undo.CompoundEdit.
5563         (ElementEdit): Made public, extends
5564         javax.swing.undo.AbstractUndoableEdit.
5565         (LeafElement): Made public.
5566         (LeafElement.LeafElement): Made public.
5567
5568 2004-06-16  Michael Koch  <konqueror@gmx.de>
5569
5570         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5571         methods (that were obviously never be intended to get included hi this
5572         class. Added some methods too.
5573
5574 2004-06-16  Michael Koch  <konqueror@gmx.de>
5575
5576         * javax/swing/text/PlainDocument.java
5577         (serialVersionUID): New constant.
5578         (lineLimitAttribute): Likewise.
5579         (tabSizeAttribute): Likewise.
5580         (tabSize): New field.
5581         (PlainDocument): Made public.
5582         (PlainDocument): New constructor.
5583
5584 2004-06-16  Michael Koch  <konqueror@gmx.de>
5585
5586         * javax/swing/text/AbstractDocument.java
5587         (insertString): Throws BadLocationException.
5588         * javax/swing/text/Document.java
5589         (insertString): Likewise.
5590         * javax/swing/text/JTextComponent.java:
5591         Javadocs and comments cleaned up.
5592
5593 2004-06-16  Michael Koch  <konqueror@gmx.de>
5594
5595         * javax/swing/event/UndoableEditListener.java: Reformatted.
5596         * javax/swing/text/AbstractDocument.java
5597         (AbstractDocument): Implements java.io.Serializable.
5598         (doc_list): Removed.
5599         (undo_list): Removed.
5600         (AbstractElement.serialVerionUID): New field.
5601         (BranchElement.serialVerionUID): Likewise.
5602         (DefaultDocumentEvent.serialVerionUID): Likewise.
5603         (ElementEdit.serialVerionUID): Likewise.
5604         (LeafElement.serialVerionUID): Likewise.
5605         (serialVerionUID): Likewise.
5606         (BAD_LOCATION): New constant.
5607         (BidiElementName): Likewise.
5608         (ContentElementName): Likewise.
5609         (ParagraphElementName): Likewise.
5610         (SectionElementName): Likewise.
5611         (ElementNameAttribute): Likewise.
5612         (AbstractDocument): Made protected.
5613         (AbstractDocument): New construtor.
5614         (listenerList): New field.
5615         (fireChangedUpdate): Implemented.
5616         (fireInsertUpdate): Likewise.
5617         (fireRemoveUpdate): Likewise.
5618         (fireUndoableEditUpdate): Likewise.
5619         (getListeners): Likewise.
5620         (addDocumentListener): Likewise.
5621         (removeDocumentListener): Likewise.
5622         (addUndoableEditListener): Likewise.
5623         (removeUndoableEditListener): Likewise.
5624         (getDocumentListeners): New method.
5625         (getUndoableEditListeners): Likewise.
5626         (getAsynchronousLoadPriority): Made public.
5627         (getBidiRootElement): Likewise.
5628         (setAsynchronousLoadPriority): Likewise.
5629         (setDocumentProperties): Likewise.
5630         * javax/swing/text/BadLocationException.java
5631         (serialVerionUID): New field.
5632         * javax/swing/text/DefaultCaret.java
5633         (changeEvent): New field.
5634         (listenerList): Likewise.
5635         (changes): Removed.
5636         (addChangeListener): Reimplemented.
5637         (removeChangeListener): Likewise.
5638         (getListeners): New method.
5639         (getChangeListeners): Likwise.
5640         (getComponent): Likewise.
5641         * javax/swing/text/GapContent.java
5642         (GapContent): Implements java.io.Serializable.
5643         (serialVerionUID): New field.
5644
5645 2004-06-16  Michael Koch  <konqueror@gmx.de>
5646
5647         * javax/swing/JTree.java
5648         (treeModel): New field.
5649         (JTree): New constructors, one existing one made public.
5650         (createTreeModel): New method.
5651         (addTreeExpansionListener): Likewise.
5652         (removeTreeExpansionListener): Likewise.
5653         (getTreeExpansionListeners): Likewise.
5654         (fireTreeCollapsed): Likewise.
5655         (fireTreeExpanded): Likewise.
5656         (addTreeSelectionListener): Likewise.
5657         (removeTreeSelectionListener): Likewise.
5658         (getTreeSelectionListeners): Likewise.
5659         (fireValueChanged): Likewise.
5660         (addTreeWillExpandListener): Likewise.
5661         (removeTreeWillExpandListener): Likewise.
5662         (getTreeWillExpandListeners): Likewise.
5663         (fireTreeWillCollapse): Likewise.
5664         (fireTreeWillExpand): Likewise.
5665
5666 2004-06-16  Michael Koch  <konqueror@gmx.de>
5667
5668         * javax/swing/JTree.java: Reformatted.
5669
5670 2004-06-16  Michael Koch  <konqueror@gmx.de>
5671
5672         * javax/swing/JTextArea.java: New file.
5673         * javax/swing/JTextField.java
5674         (actions): Removed.
5675         (notifyAction): New constant.
5676         (columns): New field.
5677         (JTextField): New constructors.
5678         (createDefaultModel): New method.
5679         (addActionListener): Reimplmemented.
5680         (removeActionListener): Reimplemented.
5681         (getActionListeners): New method.
5682         (fireActionPerformed): New method.
5683         (getColumns): New method.
5684         (setColumne): New method.
5685         * javax/swing/text/JTextComponent.java
5686         (AccessibleJTextComponent.serialVersionUID): New field.
5687         (serialVersionUID): Likewise.
5688         (DEFAULT_KEYMAP): Likewise.
5689         (FOCUS_ACCELERATOR_KEY): Likewise.
5690         (doc): Made private.
5691         (icon_gap): Likewise.
5692         (icon): Likewise.
5693         (align): Likewise.
5694         (JTextComponent): Some constructors removed.
5695         (getScrollableTracksViewportHeight): New method.
5696         (getScrollableTracksViewportWidth): Likewise.
5697         * Makefile.am: Added javax/swing/JTextArea.java.
5698         * Makefile.in: Regenerated.
5699
5700 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5701
5702         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5703         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5704         * javax/swing/JViewport.java 
5705         (getExtentSize): Return size rather than preferred size.
5706         (toViewCoordinates): New methods.
5707         (getViewSize): Return size rather than preferred size.
5708         (setViewSize): Note view size as set.
5709         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5710         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5711         (getPreferredSize): Don't redo layout.
5712         * javax/swing/plaf/basic/BasicViewportUI.java 
5713         (paint): Translate image properly and eat exceptions.
5714
5715 2004-06-15  Kim Ho  <kho@redhat.com>
5716
5717         * javax/swing/JTabbedPane.java
5718         (setComponent): Remove old component and
5719         add new component.
5720         (setSelectedIndex): Don't operate on the 
5721         components if they're null. Don't set index
5722         on the model if the index is the same.
5723         (insertTab): Don't add or hide the component
5724         if it's null. Repaint the container.
5725         * javax/swing/plaf/basic/BasicLookAndFeel.java
5726         Change colors for TabbedPane.
5727         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5728         (mousePressed): Re-layout and paint the component.
5729         (layoutContainer): Don't set location on the view.
5730         (ScrollingViewport::paint): Remove.
5731
5732 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5733
5734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5735         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5736
5737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5738         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5739         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5740         critical region.
5741         (drawLine): Call gdk_flush before leaving GDK critical region.
5742         (fillRect): Likewise.
5743         (drawRect): Likewise.
5744         (copyArea): Likewise.
5745         (copyPixmap): Likewise.
5746         (clearRect): Likewise.
5747         (drawArc): Likewise.
5748         (drawPolyline): Likewise.
5749         (drawPolygon): Likewise.
5750         (fillPolygon): Likewise.
5751         (fillArc): Likewise.
5752         (drawOval): Likewise.
5753         (fillOval): Likewise.
5754
5755         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5756         style parameter.
5757         (GdkFontMetrics): Add style argument to initState call.
5758         (stringWidth(String,int,int,String)): Add style parameter.
5759         (stringWidth(String)): Add style argument to stringWidth call.
5760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5761         (initState): Set pango font style and weight based on AWT style
5762         parameter.  Pass default GTK language to
5763         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5764         simply dividing by PANGO_SCALE.
5765         (stringWidth): Set pango font style and weight based on AWT style
5766         parameter.
5767
5768         * java/awt/Button.java (next_button_number): New field.
5769         (paramString): Change output.
5770         (generateName): New method.
5771         (getUniqueLong): New method.
5772
5773 2004-06-14  Kim Ho  <kho@redhat.com>
5774
5775         * javax/swing/JTabbedPane.java:
5776         (setComponentAt): Set the component, not
5777         the enabled status.
5778         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5779         (actionPerformed): Let deiconize catch exception.
5780
5781 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5782
5783         * javax/swing/JPopupMenu.java:
5784         (setVisible): Corrected location of a 
5785         heavyweight popup menu.
5786
5787 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5788
5789         * javax/swing/MenuSelectionManager.java: 
5790         Ran through jalopy to fix formatting style.
5791
5792 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5793         
5794         * javax/swing/JLayeredPane.java: 
5795         (remove): Revalidate and repaint layered pane after
5796         the component was removed.
5797         javax/swing/JMenu.java:
5798         (setVisible): Display popup menu at the user location,
5799         if one was set by the user.
5800         (setMenuLocation): Reimplemented. Fixed javadoc.
5801         * javax/swing/JMenuBar.java: Added javadoc.
5802         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5803         (MODEL_CHANGED_PROPERTY): New Property.
5804         (isSelected): Implemented.
5805         (setBorderPainted): Fire PropertyChangeEvent
5806         if paintBorder property changes.
5807         (setSelected): Implemented.
5808         (setSelectionModel): Implemented.
5809         * javax/swing/JPopupMenu.java: Added Javadoc
5810         (pack): Implemented.
5811         (setVisible): Reimplemented.
5812         (show): Fixed location.
5813         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5814         Container instead of JPanel.
5815         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5816         (clearSelectedPath): Reimplemented to clear selectedPath
5817         in reverse order.
5818         (processMouseEvent): Reimplemented.
5819         (setSelectedPath): Fire stateChange event indicating that
5820         selected menu path has changed.
5821         (getPath): Change to use ArrayList instead of Vector.
5822         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5823         (installUI): call installKeyboardActions().
5824         (uninstallUI): call uninstallKeyboardActions().
5825
5826 2004-06-13  Michael Koch  <konqueror@gmx.de>
5827
5828         * javax/swing/text/DefaultCaret.java,
5829         javax/swing/text/BadLocationException.java:
5830         Reformatted.
5831
5832 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5833
5834         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5835         DEFAULT_COLS): New variables.
5836         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5837         values to DEFAULT_ROWS or DEFAULT_COLS.
5838         (getMinimumSize): Likewise.
5839         (getPreferredSize): Likewise.
5840         (minimumSize): Likewise.
5841         (preferredSize): Likewise.
5842         (create): Set peer's editable state.
5843         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5844         zero.  Update javadocs.
5845         (TextArea(String)): Likewise.
5846         (TextArea(int,int)): Fix javadocs.
5847         (TextArea(String,int,int,int)): Only throw exception if one of
5848         rows or columns is zero.  Fix javadocs.
5849
5850 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5851
5852         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5853         addition to Components.
5854
5855         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5856         wasn't consumed by normal processing, send it to the parent
5857         menu.
5858
5859         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5860         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5861         translation.
5862
5863 2004-06-11  David Jee  <djee@redhat.com>
5864
5865         * java/awt/MediaTracker.java
5866         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5867         (addImage(Image,int,int,int)): Likewise.
5868
5869 2004-06-11  Michael Koch  <konqueror@gmx.de>
5870
5871         * javax/swing/text/AbstractDocument.java,
5872         javax/swing/text/Document.java,
5873         javax/swing/text/GapContent.java,
5874         javax/swing/text/JTextComponent.java,
5875         javax/swing/text/PlainDocument.java:
5876         Reformatted.
5877
5878 2004-06-11  Michael Koch  <konqueror@gmx.de>
5879
5880         * javax/swing/JRootPane.java
5881         (AccessibleJRootPane.serialVersionUID): New field.
5882         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5883         (AccessibleJRootPane.getAccessibleRole): New method.
5884         (RootLayout): Implements Serializable.
5885         (RootLayout.serialVersionUID): New field.
5886         (RootLayout.RootLayout): New constructor.
5887         (setJMenuBar): Made public.
5888         (getJMenuBar): Likewise.
5889         (JRootPane): Likewise.
5890         (createContentPane): Likewise.
5891         (createGlassPane): Likewise.
5892         (createLayeredPane): Likewise.
5893
5894 2004-06-11  Michael Koch  <konqueror@gmx.de>
5895
5896         * javax/swing/SwingUtilities.java
5897         (isLeftMouseButton): Fixed javadoc.
5898         (isMiddleMouseButton): Likewise.
5899         (isRightMouseButton): Likewise.
5900
5901 2004-06-11  Michael Koch  <konqueror@gmx.de>
5902
5903         * javax/swing/JScrollPane.java
5904         (serialVersionUID): New field.
5905         (columnHeader): Made protected.
5906         (rowHeader): Likewise.
5907         (lowerLeft): Likewise.
5908         (lowerRight): Likewise.
5909         (upperLeft): Likewise.
5910         (upperRight): Likewise.
5911         (horizontalScrollBar): Likewise.
5912         (horizontalScrollBarPolicy): Likewise.
5913         (verticalScrollBar): Likewise.
5914         (verticalScrollBarPolicy): Likewise.
5915         (viewport): Likewise.
5916
5917 2004-06-11  Michael Koch  <konqueror@gmx.de>
5918
5919         * javax/swing/LookAndFeel.java: Fixed javadocs.
5920
5921 2004-06-11  Michael Koch  <konqueror@gmx.de>
5922
5923         * javax/swing/JEditorPane.java: Fixed javadocs.
5924         (JEditorPane): Removed redundant call to to this().
5925         (fireHyperlinkUpdate): Implemented.
5926
5927 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5928
5929         * javax/swing/JMenu.java: Fixed file name 
5930         in the file comment.
5931
5932 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5933
5934         * javax/swing/JMenu.java: Added javadoc.
5935         (JMenu): Added MenuChangeListener to listen to 
5936         ChangeEvents occuring in menu's model. 
5937         (insert): Throw IllegalArgumentException if 
5938         index is less than 0
5939         (setSelected): Reimplement.
5940         (setPopupMenuVisible): Call menu's model isEnabled()
5941         (setDelay): Throw IllegalArgumentException if 
5942         given amount of delay is less than 0.
5943         (createActionComponent): Implemented.
5944         (createActionChangeListener): Implemented.
5945         (addSeparator): Implemented.
5946         (getItem): Throw IllegalArgumentException if index is 
5947         less than 0.
5948         (getItemCount): Implemented.
5949         (fireMenuSelected): Changed to use menuEvent.
5950         (fireMenuDeselected): Likewise.
5951         (fireMenuCanceled): Likewise.
5952         (setAccelerator): Changed to throw an error if this 
5953         method is used. 
5954         (doClick): Implemented.
5955         (JMenu.ActionChangedListener): New inner class to handle
5956         PropertyChangeEvents occuring in the actions associated with menu.
5957         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5958         (BasicMenuUI): Added PropertyChangeListener to the menu.
5959         (createChangeListener): Implemented.
5960         (createMenuDragMouseListener): Likewise.
5961         (createMenuKeyListener): Likewise.
5962         (createPropertyChangeListener): Likewise.
5963         (uninstallListeners): Likewise.
5964         (BasicMenuUI.MouseInputHandler): Reimplemented.
5965         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5966         (BasicMenuUI.ChangeHandler): Likewise.
5967         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5968         (BasicMenuUI.MenuKeyHandler): Likewise.
5969
5970 2004-06-10  David Jee  <djee@redhat.com>
5971
5972         * java/awt/MediaTracker.java
5973         (imageUpdate): Only do notifyAll() if the image is complete.
5974
5975 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5976
5977         * javax/swing/JApplet.java:
5978         (getJMenuBar): Made public.
5979         (setJMenuBar): Likewise.
5980         * javax/swing/JFrame.java:
5981         (getJMenuBar): Made public.
5982         (setJMenuBar): Likewise.
5983         * javax/swing/JWindow.java:
5984         (getJMenuBar): Removed.
5985         (setJMenuBar): Removed.
5986
5987 2004-06-10  Michael Koch  <konqueror@gmx.de>
5988
5989         * javax/swing/JEditorPane.java
5990         (createEditorKitForContentType): Fixed visibility.
5991         (fireHyperlinkUpdate): Likewise.
5992         (getContentType): Likewise.
5993         (getEditorKit): Likewise.
5994         (getEditorKitForContentType): Likewise.
5995         (getPage): Likewise.
5996         (read): Likewise.
5997         (registerEditorKitForContentTyoe): Likewise.
5998         (replaceSelection): Likewise.
5999         (setContentType): Likewise.
6000         (setEditorKit): Likewise.
6001         (setPage): Likewise.
6002
6003 2004-06-10  Michael Koch  <konqueror@gmx.de>
6004
6005         * javax/swing/Timer.java
6006         (Timer): New constructor.
6007         * javax/swing/plaf/basic/BasicProgressBarUI.java
6008         (animationTimer): Don't initialize at construction.
6009         (startAnimationTimer): Added since tag.
6010         (stopAnimationTimer): Likewise.
6011         (installUI): Use new Timer constructor.
6012         * javax/swing/plaf/basic/BasicScrollBarUI.java
6013         (installUI): Likewise.
6014         * javax/swing/plaf/basic/BasicSliderUI.java
6015         (installUI): Likewise.
6016
6017 2004-06-10  Michael Koch  <konqueror@gmx.de>
6018
6019         * javax/swing/ButtonGroup.java
6020         (serialVersionUID): Made private.
6021         (buttons): Renamed from v, added javadoc.
6022         (sel): Added javadoc.
6023         (ButtonGroup): Likewise.
6024         (add): Likewise.
6025         (remove): Likewise.
6026         (getElements): Likewise.
6027         (getSelection): Likewise.
6028         (setSelected): Likewise.
6029         (isSelected): Likewise.
6030         (getButtonCount): Likewise.
6031
6032 2004-06-10  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/ButtonGroup.java,
6035         javax/swing/ImageIcon.java,
6036         javax/swing/JEditorPane.java,
6037         javax/swing/JRootPane.java,
6038         javax/swing/JTextField.java,
6039         javax/swing/LookAndFeel.java,
6040         javax/swing/plaf/basic/BasicTextUI.java:
6041         Reindented.
6042
6043 2004-06-10  Michael Koch  <konqueror@gmx.de>
6044
6045         * javax/swing/text/Style.java: Added javadocs.
6046
6047 2004-06-10  Michael Koch  <konqueror@gmx.de>
6048
6049         * javax/swing/JComponent.java
6050         (fireVetoableChange): Removed redundant cast.
6051         * javax/swing/JLabel.java
6052         (getDisabledIcon): Save icon for next call.
6053
6054 2004-06-10  Michael Koch  <konqueror@gmx.de>
6055
6056         * javax/swing/KeyStroke.java
6057         (getKeyStroke(char,boolean)): Marked deprecated.
6058
6059 2004-06-10  Michael Koch  <konqueror@gmx.de>
6060
6061         * javax/swing/DefaultCellEditor.java,
6062         javax/swing/GrayFilter.java,
6063         javax/swing/event/DocumentEvent.java,
6064         javax/swing/text/JTextComponent.java,
6065         javax/swing/text/MutableAttributeSet.java:
6066         Reindented.
6067
6068 2004-06-10  Michael Koch  <konqueror@gmx.de>
6069
6070         * javax/swing/plaf/BorderUIResource.java:
6071         Added serialVersionUID all over.
6072
6073 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6074
6075         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6076
6077 2004-06-10  Michael Koch  <konqueror@gmx.de>
6078
6079         * javax/swing/table/DefaultTableCellRenderer.java
6080         (noFocusBorder): Initialize directly.
6081
6082 2004-06-10  Michael Koch  <konqueror@gmx.de>
6083
6084         * javax/swing/plaf/basic/BasicArrowButton.java
6085         (setDirection): Use method argument.
6086
6087 2004-06-10  Michael Koch  <konqueror@gmx.de>
6088
6089         * javax/swing/plaf/BorderUIResource.java,
6090         javax/swing/plaf/ComponentUI.java,
6091         javax/swing/undo/CompoundEdit.java,
6092         javax/swing/undo/StateEdit.java:
6093         Fixed javadocs all over.
6094
6095 2004-06-10  Michael Koch  <konqueror@gmx.de>
6096
6097         * javax/swing/DefaultButtonModel.java
6098         (ARMED): Made public final, fixed value.
6099         (ENABLED): Likewise.
6100         (PRESSED): Likewise.
6101         (ROLLOVER): Likewise.
6102         (SELECTED): Likewise.
6103         (stateMask): Initialize directly.
6104         (listenerList): Likewise.
6105         (mnemonic): Likewise.
6106         (fireStateChanged): Removed argument, use changeEvent as event.
6107         All places where this method is called are fixed too.
6108         (getActionCommant): Fixed javadoc.
6109         (setGroup): Fixed javadoc.
6110         (getGroup): New method.
6111
6112 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6113
6114         * javax/swing/AbstractButton.java
6115         (AbstractButton): Use init() to initialize the button.
6116         (init): New Method. Initializes AbstractButton.
6117         * javax/swing/JMenuItem.java: Documented.
6118         (JMenuItem): Reimplemented.
6119         (init): Implemented.
6120         (setEnabled): Changed to call super.setEnabled()
6121         (processMouseEvent): Reimplemented.
6122         (fireMenuKeyPressed): Implemented.
6123         (fireMenuKeyReleased): Implemented.
6124         (fireMenuKeyTyped): Implemented.
6125         (menuSelectionChanged): disarm the model if the menu item was
6126         deselected.
6127         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6128         (getPath): Change to use ArrayList instead of Vector.
6129         (getPreferredSize): Renamed variable.
6130         (paintMenuItem): Paint margin area of menu item.
6131         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6132         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6133         menu item's bounds before clearing the selection.       
6134
6135 2004-06-09  David Jee  <djee@redhat.com>
6136
6137         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6138         (GtkTextComponentPeer): Set caret position to 0.
6139         * java/awt/TextComponent.java
6140         (setText): Set caret position to 0.
6141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6142         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6143         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6144         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6145         Likewise.
6146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6147         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6148         visible.
6149
6150 2004-06-09  Kim Ho  <kho@redhat.com>
6151
6152         * Makefile.am: New files
6153         * Makefile.in: Regenerated
6154         * java/awt/Container.java
6155         (getComponentAt): Removed.
6156         * javax/swing/AbstractAction.java
6157         (ENABLED_PROPERTY): New property.
6158         (putValue): Fire PropertyChangeEvents.
6159         (setEnabled): ditto.
6160         (firePropertyChange): Javadoc and implement
6161         convenience method.
6162         * javax/swing/AbstractButton.java
6163         (setAction): Don't create PropertyChangeListener
6164         if new Action is null.
6165         (setIcon): Don't set icon till after comparing
6166         it.
6167         (configurePropertiesFromAction): Check mnemonic
6168         key before calling intValue().
6169         (createActionPropertyChangeListener): Check
6170         properties rather than bulk change.
6171         * javax/swing/DefaultDesktopManager.java:
6172         Implement.
6173         * javax/swing/DesktopManager.java:
6174         Jalopy and javadoc.
6175         * javax/swing/JComponent.java
6176         (fireVetoableChange): Implement.
6177         (paintImmediately): Use root component.
6178         * javax/swing/JDesktopPane.java: Implement
6179         * javax/swing/JInternalFrame.java: Implement
6180         * javax/swing/JLabel.java
6181         (getDisabledIcon): Return grayscaled icon if
6182         no disabled icon specified.
6183         * javax/swing/JMenuBar.java
6184         (getComponentAtIndex): Use getComponent
6185         * javax/swing/JOptionPane.java
6186         (getDesktopPaneForComponent): Use SwingUtilities'
6187         getAncestorOfClass
6188         (getFrameForComponent): ditto.
6189         * javax/swing/JSplitPane.java
6190         (remove): Use getComponent.
6191         * javax/swing/SwingUtilities.java
6192         (convertPoint): Implement.
6193         * javax/swing/plaf/basic/BasicButtonUI.java
6194         (paintButtonNormal): Check opaqueness before
6195         filling background.
6196         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6197         Implement
6198         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6199         Implement.
6200         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6201         Implement.
6202         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6203         Implement.
6204         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6205         Change InternalFrame and Desktop colors.
6206
6207 2004-06-09  David Jee  <djee@redhat.com>
6208
6209         * java/awt/Container.java
6210         (remove): Do not set component to invisible.
6211
6212 2004-06-09  Michael Koch  <konqueror@gmx.de>
6213
6214         * javax/swing/tree/DefaultMutableTreeNode.java
6215         (getLeafCount): Renamed enum to e.
6216
6217 2004-06-09  Michael Koch  <konqueror@gmx.de>
6218
6219         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6220         (positionForMouseEvent): Removed redundant semicolon.
6221         (continueDrag): Use method arguments.
6222
6223 2004-06-09  Michael Koch  <konqueror@gmx.de>
6224
6225         * javax/swing/border/TitledBorder.java,
6226         javax/swing/filechooser/FileSystemView.java,
6227         javax/swing/plaf/basic/BasicButtonListener.java,
6228         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6229         javax/swing/plaf/basic/BasicLabelUI.java,
6230         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6231         javax/swing/plaf/basic/BasicScrollBarUI.java,
6232         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6233         javax/swing/plaf/basic/BasicSliderUI.java,
6234         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6235         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6236         javax/swing/table/JTableHeader.java,
6237         javax/swing/text/AbstractDocument.java,
6238         javax/swing/text/DefaultCaret.java,
6239         javax/swing/text/StyledEditorKit.java,
6240         javax/swing/tree/DefaultTreeCellEditor.java:
6241         Reworked import statements.
6242
6243 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6244
6245         * javax/swing/Box.java: Temporarily comment out code
6246         broken due to visibility bug.
6247
6248 2004-06-09  Michael Koch  <konqueror@gmx.de>
6249
6250         * javax/swing/ImageIcon.java
6251         (ImageIcon): Added missing constructor.
6252
6253 2004-06-08  Michael Koch  <konqueror@gmx.de>
6254
6255         * javax/swing/JToggleButton.java
6256         (JToggleButton): New constructor.
6257         (getAccessibleContext): Moved documentation into javadoc.
6258         (getUIClassID): Likewise.
6259
6260 2004-06-08  Michael Koch  <konqueror@gmx.de>
6261
6262         * javax/swing/AbstractButton.java
6263         (getDisabledIcon): Create disabled icon if none exists yet.
6264
6265 2004-06-08  Michael Koch  <konqueror@gmx.de>
6266
6267         * javax/swing/plaf/basic/BasicLookAndFeel.java
6268         (initClassDefaults): Added FormattedTextFieldUI.
6269         (loadResourceBundle): Renamed enum to e.
6270
6271 2004-06-08  Michael Koch  <konqueror@gmx.de>
6272
6273         * javax/swing/plaf/basic/BasicButtonUI.java
6274         (paintIcon): Simplified.
6275         (paintText): Paint disabled button correctly.
6276
6277 2004-06-08  Michael Koch  <konqueror@gmx.de>
6278
6279         * javax/swing/JComponent.java
6280         (createToolTip): Use official JToolTip API.
6281
6282 2004-06-08  Michael Koch  <konqueror@gmx.de>
6283
6284         * javax/swing/JToolTip.java
6285         (JToolTip): No arguments in API.
6286         (setTipText): New method.
6287
6288 2004-06-08  Michael Koch  <konqueror@gmx.de>
6289
6290         * javax/swing/SwingUtilities.java
6291         (isLeftMouseButton): New method.
6292         (isMiddleMouseButton): New method.
6293         (isRightMouseButton): New method.
6294
6295 2004-06-08  Michael Koch  <konqueror@gmx.de>
6296
6297         * javax/swing/AbstractButton.java,
6298         javax/swing/CellRendererPane.java,
6299         javax/swing/JCheckBoxMenuItem.java,
6300         javax/swing/JColorChooser.java,
6301         javax/swing/JComboBox.java,
6302         javax/swing/JComponent.java,
6303         javax/swing/JDesktopPane.java,
6304         javax/swing/JFileChooser.java,
6305         javax/swing/JMenu.java,
6306         javax/swing/JMenuItem.java,
6307         javax/swing/JOptionPane.java,
6308         javax/swing/JPasswordField.java,
6309         javax/swing/JPopupMenu.java,
6310         javax/swing/JProgressBar.java,
6311         javax/swing/JRadioButtonMenuItem.java,
6312         javax/swing/JScrollBar.java,
6313         javax/swing/JSeparator.java,
6314         javax/swing/JSlider.java,
6315         javax/swing/JSplitPane.java,
6316         javax/swing/JTabbedPane.java,
6317         javax/swing/JTextField.java,
6318         javax/swing/JToolBar.java,
6319         javax/swing/text/JTextComponent.java:
6320         Fixed all constructors of accessibility classes.
6321
6322 2004-06-08  Michael Koch  <konqueror@gmx.de>
6323
6324         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6325         over.
6326
6327 2004-06-08  Michael Koch  <konqueror@gmx.de>
6328
6329         * javax/swing/Box.java
6330         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6331         (AccessibleBoxFiller.serialVersionUID): New member variable.
6332         * javax/swing/DefaultButtonModel.java
6333         (stateMask): Made protected.
6334         (listenerList): Likewise.
6335         (changeEvent): Likewise.
6336         (group): Likewise.
6337         (mnemonic): Likewise.
6338         (actionCommand): Likewise.
6339         (getListeners): New method.
6340         (getActionListeners): New method.
6341         (getItemListeners): New method.
6342         (getChangeListeners): New method.
6343         (fireItemStateChanged): Simplified.
6344         (fireActionPerformed): Simplified.
6345         (fireStateChanged): Simplified.
6346         * javax/swing/JFrame.java
6347         (JFrame): Implements WindowContants.
6348         (HIDE_ON_CLOSE): Removed.
6349         (EXIT_ON_CLOSE): Removed.
6350         (DISPOSE_ON_CLOSE): Removed.
6351         (DO_NOTHING_ON_CLOSE): Removed.
6352         (processWindowEvent): Exit with code 0.
6353         (setDefaultCloseOperation): Do security check before setting value.
6354         * javax/swing/JOptionPane.java
6355         (message): Initialize only in constructor.
6356         * javax/swing/JToolTip.java: Removed unused imports.
6357         * javax/swing/JViewport.java
6358         (serialVersionUID): New member variable.
6359         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6360         (BLIT_SCROLL_MODE): Likewise.
6361         (BACKINGSTORE_SCROLL_MODE): Likewise.
6362         (scrollUnderway): Made protected.
6363         (isViewSizeSet): Likewise.
6364         * javax/swing/ListModel.java: Fixed javadoc.
6365         * javax/swing/Popup.java: Likewise.
6366         * javax/swing/RepaintManager.java
6367         (paintDirtyRegions): Don't use internal classes of
6368         java.util.AbstractMap.
6369         * javax/swing/ScrollPaneConstants.java: Reindented.
6370         * javax/swing/ScrollPaneLayout.java
6371         (viewport): Made protected.
6372         (verticalScrollBar): Made protected, renamed to vsb.
6373         (horizontalScrollBar): Made protected, renamed to hsb.
6374         (rowHeader): Made protected, renamed to rowHead.
6375         (columnHeader): Made protected, renamed to colHead.
6376         (lowerLeft): Made protected.
6377         (lowerRight): Made protected.
6378         (upperLeft): Made protected.
6379         (upperRight): Made protected.
6380         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6381         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6382
6383 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6384
6385         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6386         LOADING if flags has SOMEBITS set.
6387
6388 2004-06-07  Michael Koch  <konqueror@gmx.de>
6389
6390         * javax/swing/AbstractButton.java: Reorganized imports.
6391         * javax/swing/ActionMap.java: Likewise.
6392         * javax/swing/DefaultButtonModel.java: Likewise.
6393         * javax/swing/DefaultListModel.java: Likewise.
6394         * javax/swing/ImageIcon.java: Likewise.
6395         (serialVersionUID): New member variable.
6396         * javax/swing/JComboBox.java: Reorganized imports.
6397         * javax/swing/JComponent.java: Likewise.
6398         (ui): Made protected.
6399         (listenerList): Made protected.
6400         (TOOL_TIP_TEXT_KEY): New constant.
6401         (scrollRectToVisible): Removed redundant null check.
6402         * javax/swing/JFrame.java: Reorganized imports.
6403         * javax/swing/JInternalFrame.java: Reorganized imports.
6404         * javax/swing/JProgressBar.java: Likewise.
6405         * javax/swing/JRootPane.java: Likewise.
6406         * javax/swing/JScrollBar.java: Likewise.
6407         * javax/swing/JSeparator.java: Likewise.
6408         * javax/swing/JSlider.java: Likewise.
6409         * javax/swing/JTabbedPane.java: Likewise.
6410         * javax/swing/JTextField.java: Likewise.
6411         * javax/swing/JToolBar.java: Likewise.
6412         * javax/swing/JTree.java: Likewise.
6413         * javax/swing/JViewport.java: Likewise.
6414         * javax/swing/JWindow.java: Likewise.
6415         * javax/swing/KeyStroke.java: Likewise.
6416         * javax/swing/LookAndFeel.java: Likewise.
6417         * javax/swing/MenuSelectionManager.java: Likewise.
6418         * javax/swing/SwingUtilities.java: Likewise.
6419         * javax/swing/Timer.java: Likewise.
6420         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6421         * javax/swing/JList.java
6422         (HORIZONTAL_WRAP): Made final, fixed value.
6423         (VERTICAL): Likewise.
6424         (VERTICAL_WRAP): Likewise.
6425
6426 2004-06-07  Michael Koch  <konqueror@gmx.de>
6427
6428         * javax/swing/AbstractButton.java
6429         (serialVersionUID): New member variable.
6430         (AccessibleAbstractButton.serialVersionUID): Likewise.
6431         (AbstractButton): Made public.
6432         * javax/swing/Box.java
6433         (AccessibleBox.serialVersionUID): New member variable.
6434         (Filler.serialVersionUID): Likewise.
6435         * javax/swing/DefaultListSelectionModel.java
6436         (serialVersionUID): Likewise.
6437         * javax/swing/JApplet.java
6438         (serialVersionUID): Likewise.
6439         * javax/swing/JCheckBox.java
6440         (serialVersionUID): Likewise.
6441         * javax/swing/JCheckBoxMenuItem.java
6442         (serialVersionUID): Likewise.
6443         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6444         * javax/swing/JColorChooser.java
6445         (serialVersionUID): Likewise.
6446         (AccessibleJColorChooser.serialVersionUID): Likewise.
6447         * javax/swing/JComponent.java
6448         (serialVersionUID): Made private.
6449         (AccessibleJComponent.serialVersionUID): New member variable.
6450         * javax/swing/JDesktopPane.java
6451         (serialVersionUID): Likewise.
6452         * javax/swing/JDialog.java
6453         (serialVersionUID): Likewise.
6454         * javax/swing/JFormattedTextField.java
6455         (serialVersionUID): Fixed value.
6456         * javax/swing/JFrame.java
6457         (serialVersionUID): New member variable.
6458         (getDefaultCloseOpertation): Made public.
6459         * javax/swing/JLayeredPane.java
6460         (serialVersionUID): Likewise.
6461         (LAYER_PROPERTY): Made final, fixed value.
6462         (JLayeredPane): Made public.
6463         * javax/swing/JMenu.java
6464         (AccessibleJMenu.serialVersionUID): New member variable.
6465         (WinListener.serialVersionUID): Likewise.
6466         * javax/swing/JMenuBar.java
6467         (serialVersionUID): Likewise.
6468         (getComponentAtIndex): Added @deprecated tag.
6469         * javax/swing/JMenuItem.java
6470         (serialVersionUID): New member variable.
6471         (AccessibleJMenuItem.serialVersionUID): Likewise.
6472         * javax/swing/JOptionPane.java
6473         (serialVersionUID): Likewise.
6474         (AccessibleJOptionPane.serialVersionUID): Likewise.
6475         * javax/swing/JPopupMenu.java
6476         (serialVersionUID): Likewise.
6477         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6478         (getPopupMenuListeners): New method.
6479         (getComponentAtIndex): Added @deprecated tag.
6480         * javax/swing/JProgressBar.java
6481         (serialVersionUID): New member variable.
6482         (AccessibleJProgressBar.serialVersionUID): Likewise.
6483         * javax/swing/JRadioButton.java
6484         (serialVersionUID): Likewise.
6485         * javax/swing/JRadioButtonMenuItem.java
6486         (serialVersionUID): Likewise.
6487         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6488         * javax/swing/JScrollBar.java
6489         (serialVersionUID): Likewise.
6490         (AccessibleJScrollBar.serialVersionUID): Likewise.
6491         * javax/swing/JSeparator.java
6492         (serialVersionUID): Likewise.
6493         (AccessibleJSeparator.serialVersionUID): Likewise.
6494         * javax/swing/JSlider.java: Fixed javadocs.
6495         (AccessibleJSlider.serialVersionUID): New member variable.
6496         * javax/swing/JSplitPane.java: Added copyright statement.
6497         (serialVersionUID): New member variable.
6498         (AccessibleJSplitPane.serialVersionUID): Likewise.
6499         * javax/swing/JTabbedPane.java
6500         (serialVersionUID): Likewise.
6501         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6502         (ModelListener.serialVersionUID): Likewise.
6503         (ModelListener.ModelListener): New constructor.
6504         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6505         (WRAP_TAB_LAYOUT): Likewise.
6506         * javax/swing/JTable.java
6507         (serialVersionUID): New member variable.
6508         * javax/swing/JToggleButton.java
6509         (serialVersionUID): Likewise.
6510         (ToggleButtonModel): Made static.
6511         (ToggleButtonModel.serialVersionUID): New member variable.
6512         * javax/swing/JToolTip.java
6513         (serialVersionUID): Likewise.
6514         * javax/swing/JTree.java
6515         (serialVersionUID): Likewise.
6516         * javax/swing/JWindow.java
6517         (serialVersionUID): Likewise.
6518         * javax/swing/Timer.java
6519         (serialVersionUID): Likewise.
6520
6521 2004-06-06  Michael Koch  <konqueror@gmx.de>
6522
6523         * javax/swing/SwingConstants.java
6524         (NEXT): New constant.
6525         (PREVIOUS): Likewise.
6526         * javax/swing/UIManager.java
6527         (LookAndFeel): Made public.
6528         (LookAndFeel.getClassName): Likewise.
6529         (LookAndFeel.getName): Likewise.
6530
6531 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6532
6533         * javax/swing/JCheckBoxMenuItem.java:
6534         Removed CVS tags.
6535         * javax/swing/JMenu.java: Likewise.
6536         * javax/swing/JMenuBar.java: Likewise.
6537         * javax/swing/JMenuItem.java: Likewise.
6538         * javax/swing/JPopupMenu.java: Likewise.
6539         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6540         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6541         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6542         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6543         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6544         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6545         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6546
6547 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6548         
6549         * javax/swing/plaf/basic/BasicMenuUI.java:
6550         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6551         Call getPath() from super class instead.
6552
6553 2004-05-31  David Jee  <djee@redhat.com>
6554
6555         * java/awt/Container.java
6556         (remove): Set component visibility to false after removing it.
6557
6558 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6559
6560         * java/awt/Component.java (getForeground): Return SystemColor if
6561         parent is null.
6562         (getBackground): Likewise.
6563
6564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6565         (item_highlighted): New function.
6566         (connectSignals): Set item_highlighted as list's select
6567         function.
6568
6569         * java/applet/Applet.java: Revert changes from 2004-04-29,
6570         2004-03-15 and 2004-03-14.
6571
6572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6573         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6574         factor.
6575
6576         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6577         "Dialog" as the default font.
6578         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6579         Likewise.
6580         * java/awt/Component.java (getFont): Return "Dialog" font by
6581         default.
6582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6583         Multiply size argument to pango_font_description_set_size by the
6584         DPI conversion factor rather than by PANGO_SCALE.
6585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6595         Divide baseline y coordinate by DPI conversion factor rather
6596         than by PANGO_SCALE.
6597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6598         (area_prepared): Fix typo.
6599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6600         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6602         (dpi_conversion_factor): New global variable.
6603         (init_dpi_conversion_factor): New function to calculate and
6604         track DPI conversion factor.
6605         (dpi_changed_cb): New callback.
6606         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6607
6608 2004-05-27  David Jee  <djee@redhat.com>
6609
6610         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6611         (getGraphics): Return a new GdkGraphics instance.
6612         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6613         (getGraphics): Call super.getGraphics().
6614
6615 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6616
6617         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6618         (setNativeBounds): Clamp width and height values to >= 0.
6619
6620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6621         (find_fg_color_widget): Handle GtkOptionMenu specially.
6622
6623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6624         (pre_event_handler): Only post configure events to visible
6625         top-level windows.
6626
6627 2004-05-26  David Jee  <djee@redhat.com>
6628
6629         * java/awt/BorderLayout.java
6630         (layoutContainer): Fix size calculations.
6631
6632 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6633
6634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6635         (window_wm_protocols_filter): Remove function.
6636         (create): Remove filter that removes WM_TAKE_FOCUS client
6637         messages.
6638
6639 2004-06-17  Anthony Green  <green@redhat.com>
6640
6641         * java/util/zip/ZipFile.java (getInputStream): Return null if
6642         entry not found.
6643
6644         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6645         directory contents to the class path.
6646
6647 2004-06-15  Andrew Haley  <aph@redhat.com>
6648
6649         * java/lang/natSystem.cc (getenv0): Don't assume environment
6650         variable is Latin 1 coded.
6651
6652 2004-06-14  Andreas Jaeger  <aj@suse.de>
6653
6654         * configure.in: Support --enable-version-specific-runtime-libs.
6655         * configure: Regenerated.
6656
6657 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6658
6659         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6660         to pass ClassLoader argument.
6661         * java/util/GregorianCalendar.java: Likewise.
6662         * java/util/Currency.java: Likewise.
6663         * java/text/BreakIterator.java: Likewise.
6664         * java/text/Collator.java: Likewise.
6665         * java/text/DateFormat.java: Likewise.
6666         * java/text/DateFormatSymbols.java: Likewise.
6667         * java/text/DecimalFormatSymbols.java: Likewise.
6668         * java/text/NumberFormat.java: Likewise.
6669         * java/awt/Window.java: Likewise.
6670
6671 2004-06-14  Andrew Haley  <aph@redhat.com>
6672
6673         * java/lang/System.java: (getenv0): New method.
6674         (getenv): Add security check.  Do the right thing.
6675         * java/lang/natSystem.cc (getenv0): New method.
6676
6677 2004-06-12  Mark Wielaard  <mark@klomp.org>
6678
6679         * javax/swing/RepaintManager.java
6680         (paintDirtyRegions): Use entrySet(), not values().
6681
6682 2004-06-10  Mark Wielaard  <mark@klomp.org>
6683
6684         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6685         NoSuchMethodError.
6686
6687 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6688
6689         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6690         when we already know the answer.
6691         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6692         (setStartRule,setEndRule): Don't take abs of day number.
6693         (getOffset): Clarify docs.  Add argument checks.
6694         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6695         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6696         endTimeMode.
6697
6698 2004-06-10  Tom Tromey  <tromey@redhat.com>
6699
6700         * interpret.cc (run): Handle wide fload.
6701
6702 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6703
6704         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6705
6706 2004-06-05  Michael Koch  <konqueror@gmx.de>
6707
6708         * javax/swing/SwingConstants.java
6709         (NEXT): New constant.
6710         (PREVIOUS): Likewise.
6711
6712 2004-06-05  Michael Koch  <konqueror@gmx.de>
6713
6714         * javax/swing/UIManager.java
6715         (LookAndFeel): Made public.
6716         (LookAndFeel.getName): Likewise.
6717         (LookAndFeel.getClassName): Likewise.
6718
6719 2004-06-03  Michael Koch  <konqueror@gmx.de>
6720
6721         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6722         (requestFocus): Revert last changes.
6723         (gtkRequestFocus): Removed.
6724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6725         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6726         Renamed to ...
6727         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6728         Reverted last patch.
6729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6730         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6731         Reverted comment change.
6732
6733 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6734
6735         * javax/swing/JCheckBoxMenuItem.java:
6736         Removed CVS tags.
6737         * javax/swing/JMenu.java: Likewise.
6738         * javax/swing/JMenuBar.java: Likewise.
6739         * javax/swing/JMenuItem.java: Likewise.
6740         * javax/swing/JPopupMenu.java: Likewise.
6741         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6742         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6743         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6744         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6745         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6746         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6747         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6748
6749 2004-06-01  Tom Tromey  <tromey@redhat.com>
6750
6751         * java/io/ObjectStreamField.java: Cleaned up imports.
6752
6753 2004-06-01  Michael Koch  <konqueror@gmx.de>
6754
6755         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6756       
6757 2004-06-01  Mark Wielaard  <mark@klomp.org>
6758
6759         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6760
6761 2004-06-01  Michael Koch  <konqueror@gmx.de>
6762
6763         * java/security/Security.java
6764         (insertProviderAt): Use equals() instead of ==.
6765         (removeProvicer): Likewise.
6766         (getProvider): Likewise.
6767         * java/security/Signature.java
6768         (sign): Don't set state to UNINITIALIZED.
6769         (verify): Likewise.
6770
6771 2004-06-01  Mark Wielaard  <mark@klomp.org>
6772
6773         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6774         Implement by calling gtkRequestFocus.
6775         (gtkRequestFocus): New native method.
6776         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6777         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6778         Renamed to ...
6779         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6780         New function name.
6781         (filter_expose_event_handler):
6782         Mark static.
6783         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6784         (menu_pos): Mark static.
6785
6786 2004-06-01  Michael Koch  <konqueror@gmx.de>
6787
6788         * java/text/CollationElementIterator.java,
6789         java/text/CollationKey.java,
6790         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6791         * testsuite/libjava.mauve/xfails: Removed all
6792         java.text.CollationElementIterator tests.
6793
6794 2004-06-01  Michael Koch  <konqueror@gmx.de>
6795
6796         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6797         version.
6798         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6799         Java 1.5 keyword usage.
6800
6801 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6802
6803         * javax/swing/plaf/basic/BasicMenuUI.java:
6804         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6805         Call getPath() from super class instead.
6806
6807 2004-05-31  Michael Koch  <konqueror@gmx.de>
6808
6809         * java/io/SequenceInputStream.java:
6810         Rename enum to e because enum is a keyword in Java 1.5.
6811
6812 2004-05-31  Michael Koch  <konqueror@gmx.de>
6813
6814         * gnu/java/rmi/rmic/CompilerProcess.java:
6815         Fixed javadoc to by XHTML compliant.
6816
6817 2004-05-30  Mark Wielaard  <mark@klomp.org>
6818
6819         * java/awt/Toolkit.java (loadSystemColors): Implement.
6820
6821 2004-05-30  Michael Koch  <konqueror@gmx.de>
6822
6823         * java/lang/System.java: Reordered imports.
6824
6825 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6826
6827         * java/text/DecimalFormat.java
6828         (parse): Fixed parsing of decimal strings. Number of maximum
6829         digits to be read should now work.
6830         * java/text/SimpleDateFormat.java
6831         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6832         formatter. This fixes DateFormatTest.
6833
6834 2004-05-30  Michael Koch  <konqueror@gmx.de>
6835
6836         * java/nio/Buffer.java
6837         (limit): Fixed off by one error.
6838         * java/nio/CharBuffer.java
6839         (wrap): Fixed arguments, added javadocs.
6840
6841 2004-05-30  Michael Koch  <konqueror@gmx.de>
6842
6843         * gnu/java/beans/BeanInfoEmbryo.java,
6844         java/awt/im/InputContext.java,
6845         javax/swing/tree/DefaultMutableTreeNode.java:
6846         Rename enum to e because enum is a keyword in Java 1.5.
6847
6848 2004-05-30  Michael Koch  <konqueror@gmx.de>
6849
6850         * gnu/java/math/MPN.java,
6851         java/awt/geom/Arc2D.java:
6852         Fixed javadocs all over.
6853
6854 2004-05-30  Michael Koch  <konqueror@gmx.de>
6855
6856         * java/awt/DefaultKeyboardFocusManager.java
6857         (dispatchEvent): Call method to get key event dispatchers.
6858         (dispatchKeyEvent): Call method to get key event post processors.
6859         * javax/swing/JComponent.java
6860         (listenerList): Made protected.
6861         * javax/swing/JOptionPane.java
6862         (message): Don't initialize.
6863         (JOptionPane): Set message text.
6864         * javax/swing/JPopupMenu.java
6865         (show): Fixed typo in argument name.
6866         * javax/swing/RepaintManager.java
6867         (paintDirtyRegions): Use public API of java.util.Map.
6868         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6869         (positionForMouseEvent): Removed redundant ';'.
6870         (continueDrag): Use method arguments.
6871
6872 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6873
6874         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6875         results.
6876
6877 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6878
6879         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6880         _Jv_AllocBytes.
6881         * gnu/gcj/RawDataManaged.java: New file.
6882         * java/lang/Thread.java (data): Declare as RawDataManaged.
6883         * java/lang/natThread.cc (init_native): Cast natThread data to
6884         RawDataManaged, not jobject.
6885         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6886         * Makefile.in: Rebuilt.
6887
6888 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6889
6890         * java/util/SimpleTimeZone.java: Reverting my last change until I
6891         can fix it properly.
6892
6893 2004-05-27  Michael Koch  <konqueror@gmx.de>
6894
6895         * javax/swing/JPopupMenu.java
6896         (isVisible): Do not use visible directly.
6897         (setVisible): Likewise.
6898         * javax/swing/JWindow.java
6899         (JWindow): call accessible constructor.
6900         * javax/swing/RepaintManager.java
6901         (paintDirtyRegions): Use public methods to obtain iterator.
6902
6903 2004-05-25  David Jee  <djee@redhat.com>
6904
6905         * java/awt/Container.java
6906         (remove): Set component's parent to null only after we removed the
6907         component from its parent's layout manager.
6908
6909 2004-05-25  David Jee  <djee@redhat.com>
6910
6911         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6912         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6913         is valid.
6914         * gnu/java/awt/peer/gtk/GtkListPeer.java
6915         (getSize): Change native method declaration.
6916         (minimumSize): Pass visible row count into getSize().
6917         (preferredSize): Likewise.
6918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6919         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6920         natural size. Use visible row count to determine the final height
6921         value to return.
6922
6923 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6924
6925         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6926         (setClip): Minor correction to order of operations.
6927
6928         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6929         * javax/swing/ScrollPaneLayout.java: Likewise.
6930         * javax/swing/JViewPort.java: Likewise.
6931         * javax/swing/ViewportLayout.java: Likewise.
6932
6933         * javax/swing/JComponent.java: Rewrite.
6934         * javax/swing/RepaintManager.java: Likewise.
6935
6936         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6937         * javax/swing/JList.java 
6938         (setSelectedIndices):
6939         (getSelectedIndices):
6940         (getSelectedValues): New functions.
6941         (getPreferredScrollableViewportSize): Return preferred size.
6942         (getScrollableUnitIncrement):
6943         (getScrollableBlockIncrement): Initial implementations.
6944         * javax/swing/JRootPane.java: Clean up slightly.
6945         (getUI):
6946         (setUI):
6947         (updateUI):
6948         (getUIClassID):
6949         (isValidateRoot): Add overrides from JComponent.
6950         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6951         * javax/swing/UIManager.java (getDimension): Return the dimension.
6952
6953         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6954         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6955         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6956         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6957         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6958         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6959         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6960         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6961         Likewise, and set background.
6962         * javax/swing/plaf/basic/BasicListUI.java: 
6963         Likewise, and improve a bit.
6964         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6965         Likewise, and adjust calculations.
6966         * javax/swing/plaf/basic/BasicViewportUI.java:
6967         Likewise, and improve a bit.
6968         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6969         (Button.margin): Shrink.
6970
6971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6972         Hack to set horizontal always, workaround pango.
6973
6974         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6976         Synchronize more often, check cairo status after ops,
6977         handle changes to cairo pattern API, check for disposal.
6978
6979 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6980
6981         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6982         (BasicMenuItemUI): Create propertyChangeListener.
6983         (getPath):Implemented.
6984         (installListeners): Add propertyChangeListener to menuItem.
6985         (uninstallListeners): Remove propertyChangeListener from menuItem.
6986         (update): Implemented.
6987         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6988         (mouseEntered): Take insets of popup menu into account when
6989         calculating position of popup menu.     
6990         
6991 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6992
6993         * Makefile.am: Added new file. 
6994         * Makefile.in: Regenerate.
6995         * javax/swing/JMenuBar.java:
6996         Started implementation.
6997         * javax/swing/JPopupMenu.java:
6998         (setVisible): Fixed location of lightweight/mediumweight
6999         popup menu.
7000         (show): Fixed location of PopupMenu.
7001         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7002         New file. UI Delegate for JMenuBar.
7003         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7004         (mouseEntered): Corrected position of the submenu.
7005
7006 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7007
7008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7009         to _gtk_accel_group_attach.
7010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7011         Likewise.
7012
7013         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7014         package access.  Don't override setFont.
7015         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7016         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7017         gtkWidgetRequestFocus package access.
7018         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7019         setFont.
7020         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7021         Give gtkWidgetRequestFocus package access.
7022         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7023         gtkWidgetRequestFocus package access.  Don't override setFont.
7024         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7025         setFont.
7026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7027         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7028         region.
7029         (gtkSetFont): Likewise.
7030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7031         Implement.
7032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7033         (gtkSetFont): Whitespace fix.
7034
7035         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7036         (gtkWidgetSetUsize): Remove method.
7037
7038 2004-05-18  David Jee  <djee@redhat.com>
7039
7040         * java/awt/image/MemoryImageSource.java
7041         (newPixels(int,int,int,int,boolean)): Set only the specified
7042         rectangle of pixels.
7043         (newPixels(byte[],ColorModel,int,int)): Implement.
7044         (newPixels(int[],ColorModel,int,int)): Implement.
7045
7046 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7047
7048         * Makefile.am: Added new file.
7049         * Makefile.in: Regenerate.
7050         * javax/swing/JMenu.java: Started 
7051         implementation.
7052         * javax/swing/JPopupMenu.java:
7053         (insert): If specified index is -1, then
7054         add component at the end.
7055         (isPopupTrigger): Reimplemented.
7056         (JPopupMenu.LightWeightPopup): setBounds
7057         of the lightWeightPopup before adding it 
7058         to the layeredPane.
7059         (javax/swing/plaf/basic/BasicIconFactory.java):
7060         (getMenuArrowIcon): Implemented.
7061         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7062         (getPreferredSize): Add size of the arrow icon 
7063         if this menu item is instance of JMenu.
7064         (paintMenuItem): Paint arrow icon if this 
7065         menu item is a submenu.
7066         * javax/swing/plaf/basic/BasicMenuUI.java:
7067         New File. UI Delegate for JMenu.
7068
7069 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7070
7071         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7072         Post KEY_TYPED events.
7073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7074         (generates_key_typed_event): Remove function.
7075
7076 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7077
7078         * javax/swing/JRootPane.java
7079         (JRootPane.RootLayout): Reimplemented to 
7080         set bounds of contentPane and menuBar.
7081         (setJMenuBar): Add menu bar to the layered pane.
7082         (createLayeredPane): Set layout of layeredPane
7083         to null.
7084         * javax/swing/JLayeredPane.java:
7085         (addImpl): Calculate index of the component in the
7086         layeredPane according to the specified position within 
7087         the layer.      
7088
7089 2004-05-17  David Jee  <djee@redhat.com>
7090
7091         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7092         (setPixels): Change color model to the default model after
7093         converting pixels.
7094         * java/awt/image/MemoryImageSource.java
7095         (newPixels): Set only the specified rectangle of pixels.
7096
7097 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7098
7099         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7100         -l-java-beans -l-javax-accessibility -l-javax-swing.
7101
7102         * java/awt/AWTEvent.java (toString): Print source's name rather
7103         than the source itself.
7104
7105 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7106
7107         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7108         native.
7109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7110         (gdk_color_to_java_color): New function.
7111         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7112
7113 2004-05-12  David Jee  <djee@redhat.com>
7114
7115         * java/awt/image/RGBImageFilter.java:
7116         Initialize origmodel as null.
7117         (makeColor): Fix pixel component order.
7118         (filterRGBPixels): Fix pixel iteration.
7119         (setPixels): Add extra checks for index color model. Convert pixels
7120         to default color model if necessary.
7121         (convertColorModelToDefault): New override method for byte pixels.
7122         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7123         (makeColorbyDefaultCM): New override method for byte pixels.
7124         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7125         (makeColor): Fix pixel component order.
7126
7127 2004-05-11  Kim Ho  <kho@redhat.com>
7128
7129         * javax/swing/Box.java:
7130         Comment out more parts of Box.Filler.
7131
7132 2004-05-11  Kim Ho  <kho@redhat.com>
7133
7134         * javax/swing/Box.java:
7135         Remove reference to AccessibleAWTComponent so
7136         it compiles again.
7137
7138 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7139
7140         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7141         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7142         implementation of list peer to use GtkTreeView instead of
7143         deprecated GtkCList.
7144
7145 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7146
7147         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7148         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7149         (handleEvent): Remove keyChar argument to
7150         gtkWidgetDispatchKeyEvent calls.
7151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7152         compiler warnings.
7153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7156         Likewise.
7157
7158 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7159
7160         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7161         (gtkWidgetRequestFocus): Mark protected.
7162         (GtkComponentPeer): Only set the peer's bounds if its component
7163         is valid.
7164         * java/awt/Component.java (static): Set the default keyboard
7165         focus manager.
7166         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7167         requestFocusInWindow(temporary)): Don't request focus if the
7168         component is not showing.  Get tree lock before traversing
7169         component hierarchy.
7170         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7171         Only set the global focus owner if it is not a Window.
7172         (processKeyEvent): Consume keystrokes associated with the focus
7173         traversal keystroke.
7174         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7175         downFocusCycle): Call requestFocusInWindow instead of
7176         requestFocus.
7177         * java/awt/EventDispatchThread.java (run): Move setting of
7178         default keyboard focus manager to Component.java.
7179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7180         (awt_keycode_to_keysym): New function.
7181         (gtkWidgetDispatchKeyEvent): Finish implementation.
7182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7183         (pre_event_handler): Add FIXME comment.
7184
7185         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7187         (gtkWidgetRequestFocus): New method.
7188         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7189         disable Tab and Shift-Tab keystrokes.
7190         (addNotify, appendText, insertText, replaceText): Simplify peer
7191         retrieval code.
7192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7193         (connectSignals): Remove connections to "commit" signals.
7194         Remove C++-style comments.
7195
7196         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7197         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7198         (handleEvent): Activate GTK button when the space bar key is
7199         pressed.
7200         (gtkActivate): New method.
7201
7202 2004-05-06  David Jee  <djee@redhat.com>
7203
7204         * java/awt/image/CropImageFilter.java
7205         (setPixels): Implement for byte array pixels.
7206         * java/awt/image/ReplicateScaleFilter.java
7207         (setPixels): Implement for byte array pixels.
7208         (replicatePixels): Overload for byte array pixels.
7209
7210 2004-05-06  Kim Ho  <kho@redhat.com>
7211
7212         * javax/swing/Box.java:
7213         (getAccessibleContext): Return an instance of the 
7214         correct class.
7215
7216 2004-05-05  David Jee  <djee@redhat.com>
7217
7218         * gnu/java/awt/peer/gtk/GdkGraphics.java
7219         (drawImage): When component is null, use SystemColor.window as
7220         the default bgcolor.
7221         * gnu/java/awt/peer/gtk/GtkImage.java
7222         (setPixels): We can avoid iterating through the pixel rows only
7223         when height is 1.
7224         * java/awt/Image.java
7225         (getScaledInstance): Partially implement.
7226         * java/awt/image/CropImageFilter.java
7227         (setProperties): Fix "filter" property.
7228         (setPixels): Implement.
7229         * java/awt/image/ReplicateScaleFilter.java
7230         (setDimensions): Use scaled dimensions.
7231         (setPixels): Implement.
7232         (replicatePixels): New method.
7233
7234 2004-05-05  David Jee  <djee@redhat.com>
7235
7236         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7237         (convertPixels): If either pixels or model is null, return null.
7238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7239         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7240         is null, do nothing and return.
7241
7242 2004-05-03  Kim Ho  <kho@redhat.com>
7243
7244         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7245         (getGraphics): Like GtkFramePeer, the Graphics
7246         object needs to be translate to account for
7247         window decorations.
7248         (postMouseEvent): New method. Account for
7249         translation.
7250         (postExposeEvent): ditto.
7251         * javax/swing/Box.java: Stubbed.
7252         * javax/swing/JDialog.java: Ran through jalopy
7253         to fix indentation.
7254         (JDialog): Call SwingUtilities' getOwnerFrame
7255         for null owners.
7256         (setLayout): Check isRootPaneCheckingEnabled
7257         * javax/swing/JOptionPane.java: Re-implemented.
7258         * javax/swing/SwingUtilities.java:
7259         (getOwnerFrame): Static method to grab a default
7260         owner frame for Dialogs that don't specify owners.
7261         * javax/swing/event/SwingPropertyChangeSupport.java:
7262         (firePropertyChange): Fix early exit condition.
7263         * javax/swing/plaf/basic/BasicLabelUI.java:
7264         (paint): Avoid painting text if it is null 
7265         or empty.
7266         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7267         Implement.
7268
7269 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7270
7271         * Makefile.am: Added new file.
7272         * Makefile.in: Regenerate.
7273         * javax/swing/JPopupMenu.java:
7274         Started implementation.
7275         * javax/swing/JWindow.java
7276         (JWindow): call super() if parent for window
7277         is not specified.
7278         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7279         New File. UI Delegate for JPopupMenu.
7280
7281 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7282
7283         * javax/swing/JApplet.java: Indicated that JApplet
7284         implements RootPaneContainer and made method of this
7285         interface public. 
7286         * javax/swing/JFrame.java: Ditto.
7287         * javax/swing/JWindow.java: Ditto.
7288         
7289 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7290
7291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7292         (nativeSetBounds): Call gdk_window_move in addition to
7293         gtk_window_move.
7294
7295         * java/applet/Applet.java (preferredSize): Call parent's
7296         preferredSize if the applet stub is null.
7297         (minimumSize): Likewise for parent's minimumSize.
7298
7299 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7300
7301         * javax/swing/JMenuItem.java
7302         (createActionPropertyChangeListener): Implemented.
7303         (processMouseEvent): Ditto.
7304         (fireMenuDragMouseEntered): Ditto.
7305         (fireMenuDragMouseExited): Ditto.
7306         (fireMenuDragMouseDragged): Ditto.
7307         (fireMenuDragMouseReleased): Ditto.
7308         (menuSelectionChanged): Ditto.
7309         (getSubElements): Ditto.
7310         (getComponent): Ditto.
7311         (addMenuDragMouseListener): Ditto.
7312         (removeMenuDragMouseListener):Ditto.
7313         (addMenuKeyListener): Ditto.
7314         (removeMenuKeyListener): Ditto.
7315         * javax/swing/plaf/basic/BasicMenuItemUI.java
7316         (doClick): Imlemented.
7317         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7318         Don't handle mouse events here. Pass them to 
7319         MenuSelectionManager.
7320         
7321 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7322         Used correct version of jalopy configuration
7323         file to fix style in the files below.
7324
7325 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7326
7327         * javax/swing/JCheckBoxMenuItem.java: 
7328         Fixed style and removed unnecessary comments.
7329         * javax/swing/JMenuItem.java: Ditto.
7330         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7331         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7332         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7333         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7334
7335 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7336
7337         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7338         C-style.
7339
7340         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7341
7342         * java/awt/ContainerOrderFocusTraversalPolicy.java
7343         (getComponentAfter): Start from current component and work up
7344         the component hierarchy until an acceptable component is found.
7345         Synchronize on tree lock.
7346         (getComponentBefore): Likewise.
7347
7348 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7349
7350         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7351         focus-related debugging messages.
7352         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7353         * java/awt/EventDispatchThread.java: Likewise.
7354         * java/awt/KeyboardFocusManager.java: Likewise.
7355         * java/awt/Window.java: Likewise.
7356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7358
7359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7360         new C++-style comments to C-style comments.
7361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7362
7363         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7365         (handleEvent): Dispatch key press and key release events to
7366         backing widget.
7367         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7368         (gtkWidgetRequestFocus): New method.
7369         (gtkWidgetDispatchKeyEvent): Likewise.
7370         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7371         requestFocusInWindow, requestFocusInWindow(boolean),
7372         getFocusCycleRootAncestor, nextFocus, transferFocus,
7373         transferFocusBackward, transferFocusUpCycle, hasFocus,
7374         isFocusOwner): Implement and document focus-handling methods.
7375         (setFocusTraversalKeys): Inherit focus traversal keys when
7376         keystrokes argument is null.  Fix focus-handling documentation
7377         throughout class.
7378         * java/awt/Container.java (setFocusTraversalKeys,
7379         getFocusTraversalKeys, areFocusTraversalKeysSet,
7380         isFocusCycleRoot, setFocusTraversalPolicy,
7381         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7382         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7383         Implement and document focus-handling methods.
7384         (transferFocusBackward): Remove method.
7385         (readObject, writeObject): Implement and document serialization
7386         methods.
7387         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7388         and document.
7389         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7390         document.
7391         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7392         partially document.
7393         * java/awt/EventDispatchThread.java (run): Set default keyboard
7394         focus manager.  Attempt to dispatch each event to the keyboard
7395         focus manager before normal dispatch.
7396         * java/awt/KeyboardFocusManager.java: Implement and partially
7397         document.
7398         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7399         (show): Focus initial component when window is shown for the
7400         first time.
7401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7402         (pre_event_handler): Replace complex key press and key release
7403         logic with simple callbacks into GtkComponentPeer.
7404         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7405
7406 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7407
7408         * javax/swing/MenuSelectionManager.java
7409         (componentForPoint): Added new method. 
7410         (defaultManager): New Method. Implemented.
7411         (getSelectedPath): Ditto.
7412         (isComponentPartOfCurrentMenu): Ditto.
7413         (processKeyEvent): Added new method.
7414         (processMouseEvent): New Method. Implemented.
7415         (setSelectedPath): Ditto.
7416         (getPath): Ditto.
7417
7418 2004-04-19  Kim Ho  <kho@redhat.com>
7419
7420         * java/awt/Container.java: 
7421         (remove): Set the component's parent to null.
7422         (getComponentAt): Implement.
7423         * javax/swing/JComponent.java:
7424         (JComponent): Initialize defaultLocale
7425         (getDefaultLocale): Implement.
7426         (setDefaultLocale): ditto.
7427         * javax/swing/JSlider.java:
7428         (JSlider): Fix calculation of value.
7429         * javax/swing/JSplitPane.java: Implement.
7430         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7431         Change SplitPane's default divider size.
7432         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7433         (paint): Remove unused code.
7434         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7435         Added comments and ran through jalopy.
7436         (setBasicSplitPaneUI): Get reference to hidden divider
7437         and set up one touch buttons if necessary.
7438         (setBorder): Fire propertyChangeEvent only if 
7439         borders are different.
7440         (getPreferredSize): Defer to layout manager.
7441         (propertyChange): Implement.
7442         (oneTouchExpandableChanged): ditto.
7443         (createLeftOneTouchButton): Use BasicArrowButton.
7444         (createRightOneTouchButton): ditto.
7445         (moveDividerTo): New method. Moves the divider
7446         to a set location based on the last divider location.
7447         (BasicSplitPaneDivider::MouseHandler): Implement.
7448         (BasicSplitPaneDivider::OneTouchButton): Removed.
7449         (BasicSplitPaneDivider::DragController): Implement.
7450         (BasicSplitPaneDivider::VerticalDragController):
7451         ditto.
7452         (BasicSplitPaneDivider::DividerLayout): ditto.
7453         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7454         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7455         (calculateLayoutInfo): Don't show component if it's
7456         null.
7457         (paintTab): Fix title paint logic.
7458
7459 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7460
7461         PR libgcj/8321
7462         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7463         (setStartRule,setEndRule): Don't take abs of day number.
7464         (getOffset): Clarify docs.  Add argument checks.
7465         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7466         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7467         endTimeMode.
7468         * testsuite/libjava.mauve/xfails
7469         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7470
7471 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7472
7473         Layout interfaces during preparation, not initialization. 
7474         * java/lang/natClass.cc (initializeClass): Move 
7475         _Jv_LayoutInterfaceMethods call...
7476         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7477
7478 2004-05-19  Anthony Green  <green@localhost.localdomain>
7479
7480         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7481         gnu.javax.rmi code.
7482         * Makefile.in: Rebuilt.
7483         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7484         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7485         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7486         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7487         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7488         gnu/javax/rmi/CORBA/DelegateFactory.java,
7489         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7490         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7491         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7492         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7493         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7494         gnu/javax/rmi/PortableServer.java: Remove files.
7495
7496 2004-05-19  Anthony Green  <green@redhat.com>
7497
7498         * Makefile.am: Define JAVA_EXT_DIRS.
7499         * Makefile.in: Rebuilt.
7500         * java/lang/natRuntime.cc (insertSystemProperties): Set
7501         java.ext.dirs property.
7502
7503 2004-05-16  Mark Wielaard  <mark@klomp.org>
7504
7505         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7506
7507 2004-05-15  Mark Wielaard  <mark@klomp.org>
7508
7509         * doc/cni.sgml: Removed, merged into gcj.texi.
7510
7511 2004-05-15  Mark Wielaard  <mark@klomp.org>
7512
7513         * Makefile.am (ordinary_java_source_files): Add new javax.print
7514         classes.
7515         * Makefile.in: Regenerated.
7516
7517 2004-05-15  Michael Koch  <konqueror@gmx.de>
7518
7519         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7520         javax/print/attribute/standard/DateTimeAtCreation.java,
7521         javax/print/attribute/standard/DateTimeAtProcessing.java,
7522         javax/print/attribute/standard/DocumentName.java,
7523         javax/print/attribute/standard/JobHoldUntil.java,
7524         javax/print/attribute/standard/JobImpressionsCompleted.java,
7525         javax/print/attribute/standard/JobMessageFromOperator.java,
7526         javax/print/attribute/standard/JobName.java,
7527         javax/print/attribute/standard/JobOriginatingUserName.java,
7528         javax/print/attribute/standard/JobPriority.java,
7529         javax/print/attribute/standard/JobPrioritySupported.java,
7530         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7531         javax/print/attribute/standard/OutputDeviceAssigned.java,
7532         javax/print/attribute/standard/PrinterInfo.java,
7533         javax/print/attribute/standard/PrinterLocation.java,
7534         javax/print/attribute/standard/PrinterMakeAndModel.java,
7535         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7536         javax/print/attribute/standard/PrinterName.java,
7537         javax/print/attribute/standard/QueuedJobCount.java,
7538         javax/print/attribute/standard/RequestingUserName.java:
7539         Fixed javadocs all over.
7540
7541 2004-05-15  Michael Koch  <konqueror@gmx.de>
7542
7543         * javax/print/DocFlavor.java,
7544         javax/print/attribute/standard/ColorSupported.java,
7545         javax/print/attribute/standard/Compression.java,
7546         javax/print/attribute/standard/CopiesSupported.java,
7547         javax/print/attribute/standard/Fidelity.java,
7548         javax/print/attribute/standard/Finishings.java,
7549         javax/print/attribute/standard/JobImpressionsSupported.java,
7550         javax/print/attribute/standard/JobKOctetsSupported.java,
7551         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7552         javax/print/attribute/standard/JobSheets.java,
7553         javax/print/attribute/standard/JobState.java,
7554         javax/print/attribute/standard/JobStateReason.java,
7555         javax/print/attribute/standard/JobStateReasons.java,
7556         javax/print/attribute/standard/Media.java,
7557         javax/print/attribute/standard/MediaSizeName.java,
7558         javax/print/attribute/standard/MultipleDocumentHandling.java,
7559         javax/print/attribute/standard/NumberUpSupported.java,
7560         javax/print/attribute/standard/OrientationRequested.java,
7561         javax/print/attribute/standard/PDLOverrideSupported.java,
7562         javax/print/attribute/standard/PageRanges.java,
7563         javax/print/attribute/standard/PresentationDirection.java,
7564         javax/print/attribute/standard/PrintQuality.java,
7565         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7566         javax/print/attribute/standard/PrinterMoreInfo.java,
7567         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7568         javax/print/attribute/standard/PrinterResolution.java,
7569         javax/print/attribute/standard/PrinterState.java,
7570         javax/print/attribute/standard/PrinterStateReason.java,
7571         javax/print/attribute/standard/PrinterStateReasons.java,
7572         javax/print/attribute/standard/PrinterURI.java,
7573         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7574         javax/print/attribute/standard/Severity.java,
7575         javax/print/attribute/standard/SheetCollate.java,
7576         javax/print/attribute/standard/Sides.java:
7577         Added serialVersionUID and removed final keyword where it doenst
7578         belong.
7579
7580 2004-05-15  Michael Koch  <konqueror@gmx.de>
7581
7582         * javax/print/PrintServiceLookup.java: New file.
7583
7584 2004-05-15  Michael Koch  <konqueror@gmx.de>
7585
7586         * javax/print/DocFlavor.java:
7587         Implemented all flavor classes.
7588
7589 2004-05-15  Michael Koch  <konqueror@gmx.de>
7590
7591         * javax/print/attribute/standard/ColorSupported.java,
7592         javax/print/attribute/standard/Compression.java,
7593         javax/print/attribute/standard/CopiesSupported.java,
7594         javax/print/attribute/standard/Fidelity.java,
7595         javax/print/attribute/standard/Finishings.java,
7596         javax/print/attribute/standard/JobImpressionsSupported.java,
7597         javax/print/attribute/standard/JobKOctetsSupported.java,
7598         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7599         javax/print/attribute/standard/JobSheets.java,
7600         javax/print/attribute/standard/JobState.java,
7601         javax/print/attribute/standard/JobStateReason.java,
7602         javax/print/attribute/standard/JobStateReasons.java,
7603         javax/print/attribute/standard/Media.java,
7604         javax/print/attribute/standard/MediaSizeName.java,
7605         javax/print/attribute/standard/MultipleDocumentHandling.java,
7606         javax/print/attribute/standard/NumberUpSupported.java,
7607         javax/print/attribute/standard/OrientationRequested.java,
7608         javax/print/attribute/standard/PDLOverrideSupported.java,
7609         javax/print/attribute/standard/PageRanges.java,
7610         javax/print/attribute/standard/PresentationDirection.java,
7611         javax/print/attribute/standard/PrintQuality.java,
7612         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7613         javax/print/attribute/standard/PrinterMoreInfo.java,
7614         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7615         javax/print/attribute/standard/PrinterResolution.java,
7616         javax/print/attribute/standard/PrinterState.java,
7617         javax/print/attribute/standard/PrinterStateReason.java,
7618         javax/print/attribute/standard/PrinterStateReasons.java,
7619         javax/print/attribute/standard/PrinterURI.java,
7620         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7621         javax/print/attribute/standard/Severity.java,
7622         javax/print/attribute/standard/SheetCollate.java,
7623         javax/print/attribute/standard/Sides.java: New files.
7624
7625 2004-05-15  Michael Koch  <konqueror@gmx.de>
7626
7627         * javax/print/Doc.java
7628         (getPrintData): Throws IOException.
7629         (getReaderForText): Likewise.
7630         (getStreamForBytes): Likewise.
7631         * javax/print/DocFlavor.java:
7632         Fixed filename in copyright.
7633         (serialVersionUID): New field.
7634         * javax/print/ServiceUIFactory.java:
7635         Made all constants final.
7636         * javax/print/AttributeException.java
7637         javax/print/MultiDoc.java
7638         javax/print/MultiDocPrintJob.java
7639         javax/print/MultiDocPrintService.java
7640         javax/print/StreamPrintService.java
7641         javax/print/URIException.java: New files.
7642         * javax/print/Makefile.am
7643         (EXTRA_DIST): Added all new files.
7644
7645 2004-05-15  Michael Koch  <konqueror@gmx.de>
7646
7647         * javax/print/attribute/standard/Copies.java,
7648         javax/print/attribute/standard/DateTimeAtCompleted.java,
7649         javax/print/attribute/standard/DateTimeAtCreation.java,
7650         javax/print/attribute/standard/DateTimeAtProcessing.java,
7651         javax/print/attribute/standard/DocumentName.java,
7652         javax/print/attribute/standard/JobHoldUntil.java,
7653         javax/print/attribute/standard/JobImpressions.java,
7654         javax/print/attribute/standard/JobImpressionsCompleted.java,
7655         javax/print/attribute/standard/JobKOctets.java,
7656         javax/print/attribute/standard/JobKOctetsProcessed.java,
7657         javax/print/attribute/standard/JobMediaSheets.java,
7658         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7659         javax/print/attribute/standard/JobMessageFromOperator.java,
7660         javax/print/attribute/standard/JobName.java,
7661         javax/print/attribute/standard/JobOriginatingUserName.java,
7662         javax/print/attribute/standard/JobPriority.java,
7663         javax/print/attribute/standard/JobPrioritySupported.java,
7664         javax/print/attribute/standard/NumberOfDocuments.java,
7665         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7666         javax/print/attribute/standard/NumberUp.java,
7667         javax/print/attribute/standard/OutputDeviceAssigned.java,
7668         javax/print/attribute/standard/PagesPerMinute.java,
7669         javax/print/attribute/standard/PagesPerMinuteColor.java:
7670         Fixed @return tag all over.
7671
7672 2004-05-15  Michael Koch  <konqueror@gmx.de>
7673
7674         * javax/print/attribute/AttributeSetUtilities.java
7675         (verifyCategoryForValue): Fixed typo in javadoc.
7676         * javax/print/attribute/HashAttributeSet.java
7677         (containsKey): Fixed @return tag.
7678         (comtainsValue): Likewise.
7679         (equals): Likewise.
7680         * javax/print/attribute/IntegerSyntax.java
7681         (equals): Likewise.
7682         * javax/print/attribute/ResolutionSyntax.java
7683         (equals): Likewise.
7684         (getCrossFeedResolution): Removed unused code.
7685         (getFeedResolution): Likewise.
7686         * javax/print/attribute/SetOfIntegerSyntax.java
7687         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7688         (equals): Fixed @return tag.
7689         * javax/print/attribute/TextSyntax.java
7690         (TextSyntax): Take locale into account.
7691         (hashCode): Better implementation.
7692
7693 2004-05-15  Michael Koch  <konqueror@gmx.de>
7694
7695         * javax/print/CancelablePrintJob.java,
7696         javax/print/Doc.java,
7697         javax/print/DocFlavor.java,
7698         javax/print/DocPrintJob.java,
7699         javax/print/FlavorException.java,
7700         javax/print/PrintException.java,
7701         javax/print/PrintService.java,
7702         javax/print/ServiceUIFactory.java: New files.
7703
7704 2004-05-15  Mark Wielaard  <mark@klomp.org>
7705
7706         * gnu/regexp/CharIndexedReader.java: Removed.
7707         * gnu/regexp/REFilterReader.java: Likewise.
7708         * gnu/regexp/RETokenLookAhead.java: Likewise.
7709         * Makefile.am (ordinary_java_source_files): Remove above classes.
7710         * Makefile.in: Regenerated.
7711
7712 2004-05-14  Tom Tromey  <tromey@redhat.com>
7713
7714         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7715         not `XGraphicsConfiguration.XOffScreenImage'.
7716
7717 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7718
7719         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7720
7721 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7722
7723         * include/jni.h (_Jv_func): Removed.
7724         (struct JNINativeInterface): Use `void *' for reserved slots.
7725         (struct JNIInvokeInterface): Likewise.
7726
7727 2004-05-11  Michael Koch  <konqueror@gmx.de>
7728
7729         * gnu/java/net/natPlainSocketImplPosix.cc
7730         (read): Fixed typo in expression.
7731
7732 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7733
7734         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7735         ld_library_additions. Adjust all calls to libjava_invoke to match
7736         the new argument.
7737
7738         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7739         path to cxxflagslist.
7740         Pass path of libstdc++ to libjava_invoke.
7741
7742         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7743         libjava_invoke arguments.
7744
7745 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7746
7747         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7748         reality.
7749
7750 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7751
7752         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7753         main binary against the JNI shared library.
7754
7755 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7756
7757         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7758         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7759         (SimpleTimeZone): Tweak docs.  Add new variation.
7760         (setStartRule,setEndRule): Add new variations.  Use
7761         startTimeMode and endTimeMode.
7762
7763 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7764
7765         * java/util/Calendar.java (getActualMinimum,
7766         getActualMaximum):  Remove abstract.  Implement.
7767
7768 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7769
7770         Run the jni tests using the interpreter.
7771         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7772         options_cxx to shared lib compile command.
7773         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7774         they are used to link the shared lib, not the main binary.
7775         Use libjava_invoke to run gij.
7776
7777 2004-05-06  Michael Koch  <konqueror@gmx.de>
7778
7779         * java/util/logging/Level.java
7780         (parse): Use == instead of String.equals().
7781
7782 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7783
7784         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7785         verify_field_signature and verify_method_signature, not 
7786         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7787         (_Jv_ClassReader::handleField): Likewise.
7788         (_Jv_ClassReader::handleMethod): Likewise.
7789
7790 2004-05-06  Michael Koch  <konqueror@gmx.de>
7791
7792         * javax/swing/table/TableColumn.java:
7793         Reformated.
7794
7795 2004-05-06  Michael Koch  <konqueror@gmx.de>
7796
7797         * javax/imageio/spi/ImageReaderWriterSpi.java
7798         (ImageReaderWriterSpi): Made it public.
7799         * javax/imageio/stream/ImageInputStream.java:
7800         Clean up imports.
7801
7802 2004-05-06  Michael Koch  <konqueror@gmx.de>
7803
7804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7805         Removed empty line.
7806
7807 2004-05-06  Michael Koch  <konqueror@gmx.de>
7808
7809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7811         New files.
7812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7813         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7815         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7816         their own source file.
7817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7818         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7819         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7821         (create): Define variable on top of function.
7822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7823         (menu_pos): Prototyped.
7824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7825         (setTitle): Removed.
7826         * jni/gtk-peer/gthread-jni.c
7827         (gdk_threads_wake): Removed.
7828         * Makefile.am (gtk_c_source_files): Added new files
7829         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7830         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7831         * Makefile.in: Regenerated.
7832
7833 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7834
7835         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7836         call.
7837
7838 2004-05-05  Mark Wielaard  <mark@klomp.org>
7839
7840         * javax/swing/AbstractButton.java: Replace special HTML entities with
7841         ASCII equivalent.
7842         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7843         * javax/swing/DefaultButtonModel.java: Likewise.
7844         * javax/swing/DefaultListModel.java: Likewise.
7845         * javax/swing/JList.java: Likewise.
7846         * javax/swing/JSlider.java: Likewise.
7847         * javax/swing/ListModel.java: Likewise.
7848         * javax/swing/Popup.java: Likewise.
7849         * javax/swing/SwingUtilities.java: Likewise.
7850
7851 2004-05-05  Michael Koch  <konqueror@gmx.de>
7852
7853         * javax/swing/AbstractButton.java,
7854         javax/swing/ActionMap.java,
7855         javax/swing/DefaultButtonModel.java,
7856         javax/swing/DefaultListModel.java,
7857         javax/swing/ImageIcon.java,
7858         javax/swing/JComboBox.java,
7859         javax/swing/JComponent.java,
7860         javax/swing/JFrame.java,
7861         javax/swing/JInternalFrame.java,
7862         javax/swing/JMenuBar.java,
7863         javax/swing/JMenuItem.java,
7864         javax/swing/JOptionPane.java,
7865         javax/swing/JProgressBar.java,
7866         javax/swing/JRootPane.java,
7867         javax/swing/JScrollBar.java,
7868         javax/swing/JScrollPane.java,
7869         javax/swing/JSeparator.java,
7870         javax/swing/JSlider.java,
7871         javax/swing/JTabbedPane.java,
7872         javax/swing/JTable.java,
7873         javax/swing/JTextField.java,
7874         javax/swing/JToolBar.java,
7875         javax/swing/JToolTip.java,
7876         javax/swing/JTree.java,
7877         javax/swing/JViewport.java,
7878         javax/swing/JWindow.java,
7879         javax/swing/KeyStroke.java,
7880         javax/swing/LookAndFeel.java,
7881         javax/swing/SwingUtilities.java,
7882         javax/swing/Timer.java,
7883         javax/swing/ToolTipManager.java,
7884         javax/swing/UIDefaults.java,
7885         javax/swing/border/TitledBorder.java,
7886         javax/swing/filechooser/FileSystemView.java,
7887         javax/swing/plaf/basic/BasicButtonListener.java,
7888         javax/swing/plaf/basic/BasicButtonUI.java,
7889         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7890         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7891         javax/swing/plaf/basic/BasicLabelUI.java,
7892         javax/swing/plaf/basic/BasicMenuItemUI.java,
7893         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7894         javax/swing/plaf/basic/BasicRootPaneUI.java,
7895         javax/swing/plaf/basic/BasicScrollBarUI.java,
7896         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7897         javax/swing/plaf/basic/BasicSliderUI.java,
7898         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7899         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7900         javax/swing/table/JTableHeader.java,
7901         javax/swing/text/AbstractDocument.java,
7902         javax/swing/text/DefaultCaret.java,
7903         javax/swing/text/StyledEditorKit.java,
7904         javax/swing/tree/DefaultTreeCellEditor.java:
7905         Cleaned up imports.
7906
7907 2004-05-05  Michael Koch  <konqueror@gmx.de>
7908
7909         * java/util/prefs/AbstractPreferences.java
7910         (AbstractPreferences): Added parenthesis for clarity.
7911         Closes classpath bug #7940.
7912
7913 2004-05-05  Tom Tromey  <tromey@redhat.com>
7914
7915         * javax/naming/CompoundName.java (endsWith): Look at correct
7916         element of source name.
7917
7918 2004-05-05  Mark Wielaard  <mark@klomp.org>
7919
7920         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7921         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7922
7923 2004-05-05  Tom Tromey  <tromey@redhat.com>
7924
7925         * java/io/BufferedReader.java (skip): Removed unused
7926         variable.
7927
7928 2004-05-05  Michael Koch  <konqueror@gmx.de>
7929
7930         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7931
7932 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7933
7934         * java/text/AttributedString.java,
7935         java/text/AttributedStringIterator.java,
7936         java/text/Collator.java,
7937         java/text/DecimalFormatSymbols.java,
7938         java/text/NumberFormat.java,
7939         java/text/RuleBasedCollator.java:
7940         Cleaned up imports.
7941
7942 2004-05-05  Tom Tromey  <tromey@redhat.com>
7943
7944         * java/text/Format.java: Cleaned up imports.
7945         * java/text/DecimalFormat.java: Cleaned up imports.
7946         * java/security/SecureRandom.java: Cleaned up imports.
7947         (SecureRandom): Removed unused variable.
7948         * java/security/UnresolvedPermission.java: Cleaned up imports.
7949         * java/util/Date.java (parse): Removed unused variable.
7950         * java/util/ResourceBundle.java: Cleaned up imports.
7951         (getBundle): Removed unused variable.
7952         (tryBundle): Likewise.
7953         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7954
7955 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7956
7957         * java/text/SimpleDateFormat.java:
7958         (formatWithAttribute): New method. It implements
7959         the formatting process with attributes.
7960         (format): Use formatWithAttribute.
7961         (formatToCharacterIterator): New method. Use
7962         formatWithAttribute.
7963
7964 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7965
7966         * java/text/MessageFormat.java:
7967         (class Field): New class.
7968         (formatToCharacterIterator): New method.
7969         (format): Use formatInternal now.
7970         (formatInternal): New method. String formatter should
7971         be done here (with attributes). Attributes merging supported.
7972         (parse): More documentation.
7973         (getFormatsByArgumentIndex): New method.
7974         (setFormatByArgumentIndex): New method.
7975         (setFormatsByArgumentIndex): New method.
7976
7977 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7978
7979         * java/text/DecimalFormat.java
7980         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7981         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7982         (parse): Fixed handling of exponentiation notation and grouping.
7983
7984 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7985
7986         * java/text/DecimalFormat.java
7987         (scanFix): Build attribute array. Fixed error reporting.
7988         (applyPatternWithSymbols): Store attributes for the prefix and
7989         suffix.
7990         (formatInternal): New method. Changed the way the string is
7991         computed. Implemented attributes. Cleant up rounding in
7992         exponential notation.
7993         (format): Use formatInternal.
7994         (formatToCharacterIterator): New method.
7995         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7996         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7997         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7998         New fields.
7999
8000 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8001
8002         * java/security/interfaces/DSAKeyPairGenerator.java,
8003         java/security/interfaces/DSAPrivateKey.java,
8004         java/security/interfaces/DSAPublicKey.java,
8005         java/security/interfaces/RSAPrivateKey.java,
8006         java/security/interfaces/RSAPublicKey.java:
8007         Cleaned up imports.
8008
8009 2004-05-04  Michael Koch  <konqueror@gmx.de>
8010
8011         * java/nio/ByteBuffer.java,
8012         java/nio/CharBuffer.java,
8013         java/nio/DoubleBuffer.java,
8014         java/nio/FloatBuffer.java,
8015         java/nio/IntBuffer.java,
8016         java/nio/LongBuffer.java,
8017         java/nio/ShortBuffer.java:
8018         (compareTo): Fixed bogus implementation in all buffer classes.
8019
8020 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8021
8022         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8023         32 bit pixels not 8 bit pixels.
8024         (isCompatibleRaster): Added javadoc comment.
8025
8026 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8027
8028         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8029         scanline stride.
8030
8031 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8032
8033         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8034         (getColorModel): Return the actual color model.
8035         (getRaster): Implemented.
8036         (ColorRaster): New inner class.
8037         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8038         a PaintContext.
8039         * java/awt/Color.java (<init>): Make exception more verbose.
8040         (createContext): Use ColorModel when creating a PaintContext.
8041
8042 2004-05-04  Michael Koch  <konqueror@gmx.de>
8043
8044         * gnu/java/text/CharacterBreakIterator.java
8045         (previous): Removed unused variable.
8046
8047 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8048
8049         * gnu/java/text/FormatBuffer.java,
8050         gnu/java/text/AttributedFormatBuffer.java,
8051         gnu/java/text/StringFormatBuffer.java: New classes to implement
8052         attributed iterators in java.text.
8053         * gnu/java/text/FormatCharacterIterator.java: Moved 
8054         from java/text as it is an internal class.
8055         * java/text/FormatCharacterIterator.java: Removed.
8056         * java/text/Format.java:
8057         Import gnu.java.text.FormatCharacterIterator.
8058         * Makefile.am (java_source_files): Added new files.
8059         * Makefile.in: Regenerated.
8060         
8061
8062 2004-05-04  Mark Wielaard  <mark@klomp.org>
8063
8064         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8065
8066 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8067
8068         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8069         * Makefile.in: Rebuilt.
8070
8071 2004-05-03  Mark Wielaard  <mark@klomp.org>
8072
8073         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8074         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8075         * java/net/URL.java
8076         (set(String, String, int, String, String, String, String, String)):
8077         Assign this.file to path or path + "?" + query.
8078         * java/util/Arrays.java: Call static methods staticly.
8079         * java/util/zip/ZipEntry.java: Likewise.
8080         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8081         dir to this.direction.
8082         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8083         Assign static field only once.
8084         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8085
8086 2004-05-03  Mark Wielaard  <mark@klomp.org>
8087
8088         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8089         unused variables hScrollbarHeight and vScrollbarWidth.
8090         (preferredSize): Likewise.
8091         * gnu/java/security/provider/DSAParameters.java (engineToString):
8092         Removed unused call to System.getProperty("line.seperator");
8093         * java/security/Security.java (loadProviders): Return result.
8094
8095 2004-05-03  Tom Tromey  <tromey@redhat.com>
8096
8097         * java/net/URLStreamHandler.java (toExternalForm): Removed
8098         unused variables.
8099         unused constructor.
8100         * java/math/BigDecimal.java (divide): Removed unused variable.
8101         * java/lang/Throwable.java: Cleaned up imports.
8102         * java/lang/ClassLoader.java: Cleaned up imports.
8103         * java/io/FilePermission.java (implies): Removed unused
8104         variable.
8105         * java/awt/TextComponent.java: Removed unused import.
8106         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8107         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8108         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8109         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8110         import.
8111         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8112         * gnu/java/text/CharacterBreakIterator.java: Removed
8113         unused import.
8114         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8115         Cleaned up imports.
8116         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8117         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8118         unused method.
8119         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8120         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8121         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8122         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8123         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8124         (lookupProviders): Removed unused variable.
8125         (loadNextServiceProvider): Likewise.
8126         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8127
8128 2004-05-03  Michael Koch  <konqueror@gmx.de>
8129
8130         Fixes PR libgcj/14695:
8131         * java/net/NetworkInterface.java
8132         (getByName): Return null when no interface was found.
8133
8134 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8135             Tom Tromey  <tromey@redhat.com>
8136
8137         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8138         additional option "-Wmissing-prototypes" for compiling C sources.
8139         Print actual filename for pass/fail rather than $name.c.
8140         * testsuite/libjava.jni/PR15133.java: New testcase file.
8141         * testsuite/libjava.jni/PR15133.c: Likewise.
8142         * testsuite/libjava.jni/PR15133.out: Likewise.
8143
8144 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8145
8146         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8147         ceil and floor.
8148
8149 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8150         
8151         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8152         limit the maximum heap size to avoid unnecessary thrashing.
8153
8154 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8155
8156         * java/text/CollationElementIterator.java (reset): Reset
8157         lookahead variables.
8158
8159 2004-04-23  Mark Wielaard  <mark@klomp.org>
8160
8161         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8162
8163 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8164
8165         * java/sql/DriverManager.java:
8166         Cleaned up imports.
8167
8168 2004-04-23  Michael Koch  <konqueror@gmx.de>
8169
8170         * java/net/URL.java
8171         (hashcode): Don't initialize with default value explicitely.
8172         (getContent): Removed redundant "final" keyword.
8173         (openStream): Likewise.
8174         (getURLStreamHandler): Fixed coding style.
8175         * java/net/URLConnection.java
8176         (defaultAllowUserInteraction): Don't initialize with default value
8177         explicitely.
8178         (connected): Likewise.
8179         (doOutput): Likewise.
8180         (ifModifiedSince): Likewise.
8181         (dateformats_initialized): Likewise.
8182         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8183
8184 2004-04-23  Michael Koch  <konqueror@gmx.de>
8185
8186         * gnu/java/nio/channels/FileChannelImpl.java
8187         (SET, CUR): Unused, removed.
8188         (read): Implement here directly.
8189         (implRead): Removed.
8190         (write): Implement here directly.
8191         (implWrite): Removed.
8192
8193 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8194
8195         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8196         javax/rmi/CORBA/Stub.java,
8197         javax/rmi/CORBA/Util.java,
8198         javax/rmi/CORBA/ValueHandler.java,
8199         javax/rmi/CORBA/ValueHandler.java,
8200         javax/rmi/PortableRemoteObject.java:
8201         Cleaned up imports.
8202
8203 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8204
8205         * java/util/jar/JarFile.java,
8206         java/util/jar/JarInputStream.java,
8207         java/util/jar/JarOutputStream.java,
8208         java/util/jar/Manifest.java:
8209         Cleaned up imports.
8210
8211 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8212
8213         * java/util/ArrayList.java,
8214         java/util/Calendar.java,
8215         java/util/Currency.java,
8216         java/util/HashMap.java,
8217         java/util/HashSet.java,
8218         java/util/Hashtable.java,
8219         java/util/LinkedList.java,
8220         java/util/Properties.java,
8221         java/util/PropertyPermission.java,
8222         java/util/TimeZone.java,
8223         java/util/TreeMap.java,
8224         java/util/TreeSet.java,
8225         java/util/Vector.java,
8226         java/util/WeakHashMap.java:
8227         Cleaned up imports.
8228
8229 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8230
8231         * java/util/logging/FileHandler.java,
8232         java/util/logging/Formatter.java,
8233         java/util/logging/Handler.java,
8234         java/util/logging/Logger.java,
8235         java/util/logging/SimpleFormatter.java,
8236         java/util/logging/XMLFormatter.java:
8237         Cleaned up imports.
8238
8239 2004-04-22  Mark Wielaard  <mark@klomp.org>
8240
8241         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8242         -Wno-long-long flags variable.
8243         (gtk_c_files): Use PEDANTIC_CFLAGS.
8244         * Makefile.in: Regenerated.
8245
8246 2004-04-22  Mark Wielaard  <mark@klomp.org>
8247
8248         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8249         Changed C++ comments into C comments.
8250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8251         Likewise.
8252
8253 2004-04-22  Michael Koch  <konqueror@gmx.de>
8254
8255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8256         Merged copyright year with GNU classpath.
8257
8258 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8259
8260         * javax/security/auth/x500/X500Principal.java:
8261         Cleaned up imports.
8262
8263 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8264
8265         * javax/swing/JSlider.java:
8266         Fixed HTML tags in comments.
8267
8268 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8269
8270         * javax/accessibility/AccessibleText.java:
8271         Cleaned up imports.
8272
8273 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8274
8275         * java/net/URLStreamHandler.java
8276         (parseURL): Convert the file path to using '/' instead of native
8277         file separator.
8278
8279 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8280
8281         * java/net/URL.java
8282         (userInfo): New field.
8283         (URL): Set authority to the right value.
8284         (setURL): Fixed authority and file initialization.
8285         * java/net/URLStreamHandler.java
8286         (parseURL): Take care of the query tag. Build authority.
8287         (toExternalForm): Fixed URL building using authority.
8288
8289 2004-04-22  Michael Koch  <konqueror@gmx.de>
8290
8291         * java/net/Socket.java
8292         (impl): Made package-private.
8293         * java/net/ServerSocket.java
8294         (implAccept): Access Socket.impl field directly.
8295
8296 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8297
8298         * java/util/prefs/Preferences.java,
8299         java/util/prefs/InvalidPreferencesFormatException.java,
8300         java/util/prefs/BackingStoreException.java,
8301         java/util/prefs/AbstractPreferences.java:
8302         Cleaned up imports.
8303
8304 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8305
8306         * java/util/regex/Matcher.java,
8307         java/util/regex/Pattern.java:
8308         Cleaned up imports.
8309
8310 2004-04-22  Michael Koch  <konqueror@gmx.de>
8311
8312         * java/nio/charset/IllegalCharsetNameException.java
8313         (charsetName): Made private.
8314         (IllegalCharsetNameException): Added @param tag to javadoc.
8315         (getCharsetName): Added @return tag to javadoc.
8316         * java/nio/charset/MalformedInputException.java
8317         (MalformedInputException): Added @param tag to javadoc.
8318         (getInputLength): Revised method description, added @return tag.
8319         (getMessage): Added @return tag.
8320
8321 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8322
8323         * java/awt/Font.java (deriveFont): Implement missing variants.
8324         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8325         missing variants.
8326
8327 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8328
8329         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8330         Set method->index values for interface methods to their itable index.
8331         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8332
8333 2004-04-21  Michael Koch  <konqueror@gmx.de>
8334
8335         * java/nio/DirectByteBufferImpl.java
8336         (shiftDown): Made static, give address as argument and
8337         provide a convenience method that overwrites shiftDown in
8338         ByteBufferImpl and calls the native shiftDown.
8339         * java/nio/MappedByteBufferImpl.java
8340         (): Use optimized method in DirectByteBufferImpl.
8341         * java/nio/natDirectByteBufferImpl.cc
8342         (shiftDown): Changed method signature. Removed usage of array_offset.
8343
8344 2004-04-21  Michael Koch  <konqueror@gmx.de>
8345
8346         * gnu/java/net/natPlainSocketImplPosix.cc
8347         (SocketInputStream::read): Make sure returned data is a byte value.
8348
8349 2004-04-21  Michael Koch  <konqueror@gmx.de>
8350
8351         * gnu/classpath/ServiceFactory.java,
8352         gnu/classpath/ServiceProviderLoadingAction.java,
8353         javax/imageio/ImageReader.java,
8354         javax/imageio/ImageTranscoder.java,
8355         javax/imageio/ImageWriter.java,
8356         javax/imageio/package.html,
8357         javax/imageio/spi/IIOServiceProvider.java,
8358         javax/imageio/spi/ImageInputStreamSpi.java,
8359         javax/imageio/spi/ImageOutputStreamSpi.java,
8360         javax/imageio/spi/ImageReaderWriterSpi.java,
8361         javax/imageio/spi/ImageTranscoderSpi.java,
8362         javax/imageio/spi/RegisterableService.java,
8363         javax/imageio/spi/ServiceRegistry.java,
8364         javax/imageio/spi/package.html,
8365         javax/imageio/stream/IIOByteBuffer.java,
8366         javax/imageio/stream/ImageInputStream.java,
8367         javax/imageio/stream/ImageOutputStream.java,
8368         javax/imageio/stream/package.html:
8369         New files.
8370         * Makefile.am
8371         (ordinary_java_source_files): Added
8372         gnu/classpath/ServiceFactory.java and
8373         gnu/classpath/ServiceProviderLoadingAction.java.
8374         (javax_source_files): Added
8375         javax/imageio/ImageReader.java,
8376         javax/imageio/ImageTranscoder.java,
8377         javax/imageio/ImageWriter.java,
8378         javax/imageio/spi/IIOServiceProvider.java,
8379         javax/imageio/spi/ImageInputStreamSpi.java,
8380         javax/imageio/spi/ImageOutputStreamSpi.java,
8381         javax/imageio/spi/ImageReaderWriterSpi.java,
8382         javax/imageio/spi/ImageTranscoderSpi.java,
8383         javax/imageio/spi/RegisterableService.java,
8384         javax/imageio/spi/ServiceRegistry.java,
8385         javax/imageio/stream/IIOByteBuffer.java,
8386         javax/imageio/stream/ImageInputStream.java and
8387         javax/imageio/stream/ImageOutputStream.java.
8388         * Makefile.in: Regenerated.
8389
8390 2004-04-21  Michael Koch  <konqueror@gmx.de>
8391
8392         * java/util/Properties.java
8393         (load): Fix wrongly merged fix.
8394
8395 2004-04-21  Mark Wielaard  <mark@klomp.org>
8396
8397         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8398         malloc and free buf.
8399
8400 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8401
8402         * javax/naming/AuthenticationException.java,
8403         javax/naming/AuthenticationNotSupportedException.java,
8404         javax/naming/CannotProceedException.java,
8405         javax/naming/CommunicationException.java,
8406         javax/naming/CompoundName.java,
8407         javax/naming/ConfigurationException.java,
8408         javax/naming/ContextNotEmptyException.java,
8409         javax/naming/InitialContext.java,
8410         javax/naming/InsufficientResourcesException.java,
8411         javax/naming/InterruptedNamingException.java,
8412         javax/naming/LimitExceededException.java,
8413         javax/naming/LinkException.java,
8414         javax/naming/LinkLoopException.java,
8415         javax/naming/LinkRef.java,
8416         javax/naming/MalformedLinkException.java,
8417         javax/naming/Name.java,
8418         javax/naming/NameAlreadyBoundException.java,
8419         javax/naming/NameNotFoundException.java,
8420         javax/naming/NamingSecurityException.java,
8421         javax/naming/NoInitialContextException.java,
8422         javax/naming/NoPermissionException.java,
8423         javax/naming/NotContextException.java,
8424         javax/naming/PartialResultException.java,
8425         javax/naming/ReferralException.java,
8426         javax/naming/ServiceUnavailableException.java,
8427         javax/naming/SizeLimitExceededException.java,
8428         javax/naming/TimeLimitExceededException.java,
8429         javax/naming/directory/Attribute.java,
8430         javax/naming/directory/Attributes.java,
8431         javax/naming/directory/SearchResult.java,
8432         javax/naming/event/NamingExceptionEvent.java,
8433         javax/naming/spi/ResolveResult.java:
8434         Cleaned up imports.
8435
8436 2004-04-21  Mark Wielaard  <mark@klomp.org>
8437
8438         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8439         Changed C++ comments into C comments. Removed commented out code.
8440         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8441         Likewise.
8442         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8443         Likewise.
8444         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8445         Likewise.
8446         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8447         Likewise.
8448         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8449         Likewise.
8450         * native/jni/gtk-peer/gthread-jni.c:
8451         Likewise.
8452
8453 2004-04-21  Mark Wielaard  <mark@klomp.org>
8454
8455         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8456         static fields defined in interface.
8457         * javax/awt/JDialog.java: Likewise.
8458         (JDialog): Make constructors public.
8459         (getDefaultCloseOperation): Make public.
8460         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8461         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8462         * javax/swing/JViewport.java (JViewport): Make constructor public.
8463
8464 2004-04-21  Michael Koch  <konqueror@gmx.de>
8465
8466         * java/util/Map.java
8467         (Entry): Removed redundant "static" modifier.
8468         * java/text/AttributedCharacterIterator.java:
8469         Updated copyright year.
8470
8471 2004-04-20  Michael Koch  <konqueror@gmx.de>
8472
8473         * javax/naming/directory/SearchControls.java:
8474         Don't explicitely extend java.lang.Object.
8475         * javax/naming/spi/DirStateFactory.java:
8476         Merged copyright year with GNU classpath.
8477
8478 2004-04-20  Michael Koch  <konqueror@gmx.de>
8479
8480         * java/nio/channels/Channels.java:
8481         Merged coding style with GNU classpath.
8482
8483 2004-04-20  Michael Koch  <konqueror@gmx.de>
8484
8485         * java/net/ServerSocket.java
8486         Merged coding style from GNU classpath.
8487
8488 2004-04-20  Michael Koch  <konqueror@gmx.de>
8489
8490         * java/io/BufferedWriter.java:
8491         Reordered variables to be at top of the class.
8492         (localFlush): Removed redundant final keyword.
8493
8494 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8495
8496         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8497
8498 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8499
8500         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8501         for percent and permill check.
8502
8503 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8504
8505         * java/text/FieldPosition.java
8506         (FieldPosition) Constructor now behaves as it should according
8507         to the java documentation.
8508
8509 2004-04-20  Mark Wielaard  <mark@klomp.org>
8510
8511         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8512         documentation.
8513
8514 2004-04-20  Michael Koch  <konqueror@gmx.de>
8515
8516         * java/nio/Buffer.java,
8517         java/nio/channels/AlreadyConnectedException.java,
8518         java/nio/channels/AsynchronousCloseException.java,
8519         java/nio/channels/ByteChannel.java,
8520         java/nio/channels/CancelledKeyException.java,
8521         java/nio/channels/Channel.java,
8522         java/nio/channels/Channels.java,
8523         java/nio/channels/ClosedByInterruptException.java,
8524         java/nio/channels/ClosedChannelException.java,
8525         java/nio/channels/ClosedSelectorException.java,
8526         java/nio/channels/ConnectionPendingException.java,
8527         java/nio/channels/DatagramChannel.java,
8528         java/nio/channels/FileChannel.java,
8529         java/nio/channels/FileLock.java,
8530         java/nio/channels/FileLockInterruptionException.java,
8531         java/nio/channels/GatheringByteChannel.java,
8532         java/nio/channels/IllegalBlockingModeException.java,
8533         java/nio/channels/IllegalSelectorException.java,
8534         java/nio/channels/InterruptibleChannel.java,
8535         java/nio/channels/NoConnectionPendingException.java,
8536         java/nio/channels/NonReadableChannelException.java,
8537         java/nio/channels/NonWritableChannelException.java,
8538         java/nio/channels/NotYetBoundException.java,
8539         java/nio/channels/NotYetConnectedException.java,
8540         java/nio/channels/OverlappingFileLockException.java,
8541         java/nio/channels/Pipe.java,
8542         java/nio/channels/ReadableByteChannel.java,
8543         java/nio/channels/ScatteringByteChannel.java,
8544         java/nio/channels/SelectableChannel.java,
8545         java/nio/channels/SelectionKey.java,
8546         java/nio/channels/Selector.java,
8547         java/nio/channels/ServerSocketChannel.java,
8548         java/nio/channels/SocketChannel.java,
8549         java/nio/channels/UnresolvedAddressException.java,
8550         java/nio/channels/UnsupportedAddressTypeException.java,
8551         java/nio/channels/WritableByteChannel.java,
8552         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8553         java/nio/channels/spi/AbstractSelectableChannel.java,
8554         java/nio/channels/spi/AbstractSelectionKey.java,
8555         java/nio/channels/spi/AbstractSelector.java,
8556         java/nio/channels/spi/SelectorProvider.java,
8557         java/nio/charset/spi/CharsetProvider.java:
8558         Fixed javadocs and jalopied all over java.nio.
8559
8560 2004-04-20  Michael Koch  <konqueror@gmx.de>
8561
8562         * java/nio/ByteBufferImpl.java,
8563         java/nio/CharBufferImpl.java,
8564         java/nio/DirectByteBufferImpl.java,
8565         java/nio/DoubleBufferImpl.java,
8566         java/nio/DoubleViewBufferImpl.java,
8567         java/nio/FloatBufferImpl.java,
8568         java/nio/FloatViewBufferImpl.java,
8569         java/nio/IntBufferImpl.java,
8570         java/nio/IntViewBufferImpl.java,
8571         java/nio/LongBufferImpl.java,
8572         java/nio/LongViewBufferImpl.java,
8573         java/nio/MappedByteBufferImpl.java,
8574         java/nio/ShortBufferImpl.java,
8575         java/nio/ShortViewBufferImpl.java:
8576         Made sure all classes are final and removed final keyword from all
8577         methods.
8578
8579 2004-04-20  Michael Koch  <konqueror@gmx.de>
8580
8581         * java/rmi/MarshalledObject.java,
8582         java/rmi/Naming.java,
8583         java/rmi/RemoteException.java,
8584         java/rmi/activation/ActivationException.java,
8585         java/rmi/server/ServerCloneException.java,
8586         java/security/AccessController.java,
8587         java/security/AlgorithmParameterGenerator.java,
8588         java/security/AlgorithmParameters.java,
8589         java/security/CodeSource.java,
8590         java/security/Identity.java,
8591         java/security/IdentityScope.java,
8592         java/security/KeyPairGenerator.java,
8593         java/security/KeyStore.java,
8594         java/security/Security.java,
8595         java/security/Signature.java,
8596         java/security/SignatureSpi.java,
8597         java/security/SignedObject.java,
8598         java/security/spec/DSAParameterSpec.java,
8599         java/security/spec/DSAPrivateKeySpec.java,
8600         java/security/spec/DSAPublicKeySpec.java,
8601         java/sql/Array.java,
8602         java/sql/DatabaseMetaData.java,
8603         java/sql/ResultSet.java,
8604         java/text/ChoiceFormat.java,
8605         java/text/CollationElementIterator.java,
8606         java/text/CollationKey.java,
8607         java/text/Collator.java,
8608         java/text/DateFormat.java,
8609         java/text/DateFormatSymbols.java,
8610         java/text/DecimalFormatSymbols.java,
8611         java/text/Format.java,
8612         java/text/ParsePosition.java,
8613         java/text/RuleBasedCollator.java,
8614         java/text/SimpleDateFormat.java,
8615         java/text/StringCharacterIterator.java,
8616         java/util/Collections.java,
8617         java/util/PropertyResourceBundle.java,
8618         java/util/ResourceBundle.java,
8619         java/util/StringTokenizer.java,
8620         java/util/jar/Attributes.java,
8621         java/util/logging/ConsoleHandler.java,
8622         java/util/logging/LogManager.java,
8623         java/util/logging/MemoryHandler.java,
8624         java/util/logging/SocketHandler.java,
8625         javax/naming/NamingException.java:
8626         Fixed javadoc, coding style and argument names all over.
8627
8628 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8629
8630         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8631         constructor. (valid) Added null check.
8632
8633 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8634
8635         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8636         * java/io/FileOutputStream.java
8637         (FileOutputStream) Reorganized constructors. Constructors now
8638         check whether the given path is directory.
8639
8640 2004-04-20  Michael Koch  <konqueror@gmx.de>
8641
8642         * java/net/Authenticator.java,
8643         java/net/BindException.java,
8644         java/net/ConnectException.java,
8645         java/net/ContentHandler.java,
8646         java/net/ContentHandlerFactory.java,
8647         java/net/DatagramPacket.java,
8648         java/net/DatagramSocket.java,
8649         java/net/DatagramSocketImpl.java,
8650         java/net/DatagramSocketImplFactory.java,
8651         java/net/FileNameMap.java,
8652         java/net/HttpURLConnection.java,
8653         java/net/Inet4Address.java,
8654         java/net/Inet6Address.java,
8655         java/net/InetAddress.java,
8656         java/net/InetSocketAddress.java,
8657         java/net/JarURLConnection.java,
8658         java/net/MalformedURLException.java,
8659         java/net/MulticastSocket.java,
8660         java/net/NetPermission.java,
8661         java/net/NetworkInterface.java,
8662         java/net/NoRouteToHostException.java,
8663         java/net/PasswordAuthentication.java,
8664         java/net/PortUnreachableException.java,
8665         java/net/ProtocolException.java,
8666         java/net/ServerSocket.java,
8667         java/net/Socket.java,
8668         java/net/SocketAddress.java,
8669         java/net/SocketException.java,
8670         java/net/SocketImpl.java,
8671         java/net/SocketImplFactory.java,
8672         java/net/SocketOptions.java,
8673         java/net/SocketPermission.java,
8674         java/net/SocketTimeoutException.java,
8675         java/net/URI.java,
8676         java/net/URISyntaxException.java,
8677         java/net/URL.java,
8678         java/net/URLClassLoader.java,
8679         java/net/URLConnection.java,
8680         java/net/URLDecoder.java,
8681         java/net/URLEncoder.java,
8682         java/net/URLStreamHandler.java,
8683         java/net/URLStreamHandlerFactory.java,
8684         java/net/UnknownHostException.java,
8685         java/net/UnknownServiceException.java:
8686         Fixed javadocs, coding style and argument names all over.
8687
8688 2004-04-20  Michael Koch  <konqueror@gmx.de>
8689
8690         * java/lang/Byte.java,
8691         java/lang/CharSequence.java,
8692         java/lang/ClassLoader.java,
8693         java/lang/Compiler.java,
8694         java/lang/Double.java,
8695         java/lang/Float.java,
8696         java/lang/Integer.java,
8697         java/lang/Long.java,
8698         java/lang/Math.java,
8699         java/lang/Number.java,
8700         java/lang/Package.java,
8701         java/lang/Runtime.java,
8702         java/lang/RuntimePermission.java,
8703         java/lang/SecurityManager.java,
8704         java/lang/Short.java,
8705         java/lang/StringBuffer.java,
8706         java/lang/System.java,
8707         java/lang/ThreadGroup.java,
8708         java/lang/Throwable.java,
8709         java/lang/reflect/InvocationHandler.java,
8710         java/lang/reflect/Proxy.java:
8711         Fixed javadocs, coding style and argument names all over.
8712
8713 2004-04-20  Michael Koch  <konqueror@gmx.de>
8714
8715         * java/io/BufferedWriter.java,
8716         java/io/ByteArrayInputStream.java,
8717         java/io/CharArrayWriter.java,
8718         java/io/DataInput.java,
8719         java/io/DataInputStream.java,
8720         java/io/File.java,
8721         java/io/FilterInputStream.java,
8722         java/io/InputStream.java,
8723         java/io/InputStreamReader.java,
8724         java/io/ObjectInputStream.java,
8725         java/io/ObjectStreamClass.java,
8726         java/io/PipedInputStream.java,
8727         java/io/PipedReader.java,
8728         java/io/PushbackInputStream.java,
8729         java/io/PushbackReader.java,
8730         java/io/RandomAccessFile.java,
8731         java/io/SerializablePermission.java,
8732         java/io/StreamTokenizer.java,
8733         java/io/StringWriter.java,
8734         java/io/WriteAbortedException.java,
8735         java/io/Writer.java:
8736         Fixed javadocs all over, rename arguments to match javadocs,
8737         fixed coding style.
8738
8739 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8740
8741         * java/awt/FontMetrics.java:
8742         (charsWidth): fixed accumulation of total_width
8743         (getWidth): simple default implementation
8744         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8745         in Rectangle constructor.
8746         * java/awt/image/Raster.java (toString): Added method. 
8747         * java/awt/image/SampleModel.java (<init>): Added error cause
8748         information to thrown exception.
8749         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8750         New method.
8751         (setDataElements): New method.
8752         (setPixels): New method.
8753         (toString): New method.
8754
8755 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8756
8757         * java/awt/image/ComponentColorModel.java
8758         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8759         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8760         Mauve tests on this method. Improved documentation.
8761
8762 2004-04-20  Michael Koch  <konqueror@gmx.de>
8763
8764         * javax/swing/JLayeredPane.java,
8765         javax/swing/plaf/BorderUIResource.java,
8766         javax/swing/plaf/ComponentUI.java,
8767         javax/swing/undo/CompoundEdit.java,
8768         javax/swing/undo/StateEdit.java:
8769         Fixed HTML tags in javadocs all over.
8770
8771 2004-04-20  Michael Koch  <konqueror@gmx.de>
8772
8773         * javax/print/attribute/EnumSyntax.java
8774         (getOffset): Made protected.
8775         * javax/print/attribute/HashAttributeSet.java
8776         (HashAttributeSet): Likewise.
8777         * javax/print/attribute/ResolutionSyntax.java
8778         (getFeedResolution): Fixed typo in exception name.
8779         (getCrossFeedResolution): Likewise.
8780         * javax/print/attribute/SetOfIntegerSyntax.java
8781         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8782         * javax/print/attribute/TextSyntax.java
8783         (TextSyntax): Handle locale correctly.
8784         (hashCode): Calc better hashcode value.
8785         (equals): Fixed @return tag.
8786         (toString): New method.
8787
8788 2004-04-20  Michael Koch  <konqueror@gmx.de>
8789
8790         * gnu/java/nio/FileLockImpl.java
8791         (static): Removed, not needed anymore.
8792         * gnu/java/nio/channels/FileChannelImpl.java
8793         (FileChannelImpl): Made final.
8794         (mode): Made private.
8795         (READ, WRITE, APPEND): Made public.
8796         (EXCL, SYNC, DSYNC): Likewise.
8797         (static): Load native JNI library, when needed.
8798         (length): Unused, removed.
8799         (available): Made public.
8800         (implPosition): Throws IOException.
8801         (seek): Likewise.
8802         (implTruncate): Likewise.
8803         (unlock): Likewise.
8804         (lock): Likewise.
8805
8806 2004-04-20  Michael Koch  <konqueror@gmx.de>
8807
8808         * java/awt/AWTPermission.java,
8809         java/awt/Component.java,
8810         java/awt/ComponentOrientation.java,,
8811         java/awt/Dialog.java,
8812         java/awt/FontMetrics.java,
8813         java/awt/Graphics.java,
8814         java/awt/datatransfer/DataFlavor.java,
8815         java/beans/Introspector.java,
8816         java/beans/PropertyEditor.java,
8817         java/beans/PropertyEditorManager.java,
8818         java/beans/beancontext/BeanContextServiceProvider.java:
8819         Fixed HTML tags in javadocs all over.
8820
8821 2004-04-20  Mark Wielaard  <mark@klomp.org>
8822
8823         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8824         MissingResourceException is thrown.
8825         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8826         null when a MissingResourceException is thrown. Should never happen.
8827
8828 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8829
8830         * java/awt/image/DataBufferShort.java,
8831         java/awt/image/DataBufferFloat.java,
8832         java/awt/image/DataBufferDouble.java,
8833         java/awt/image/PixelInterleavedSampleModel.java: New files.
8834         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8835         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8836
8837 2004-04-20  Michael Koch  <konqueror@gmx.de>
8838
8839         * Makefile.am (java_source_files): Added
8840         java/awt/image/DataBufferDouble.java,
8841         java/awt/image/DataBufferFloat.java,
8842         java/awt/image/DataBufferShort.java and
8843         java/awt/image/PixelInterleavedSampleModel.java.
8844         * Makefile.in: Regenerated.
8845
8846 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8847  
8848         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8849         undocumented CNI calls.
8850         * include/java-interp.h (_Jv_InterpClass): No longer
8851         extends java.lang.Class.
8852         * java/lang/Class.h (Class): Add new field `aux_info'.
8853         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8854         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8855         Use Class->aux_info instead.
8856         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8857         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8858         Use Class->aux_info instead.
8859         * java/io/natObjectInputStream.cc (allocateObject): Use
8860         _Jv_AllocObject.
8861         * java/lang/natClass.cc (newInstance): Likewise.
8862         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8863         * java/lang/natObject.cc (clone): Likewise.
8864         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8865         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8866         JvAllocObject. Allocate klass->aux_info here for interpreted
8867         class.
8868         
8869 2004-04-17  Mark Wielaard  <mark@klomp.org>
8870
8871         * javax/swing/JToggleButton.java (ToggleButtonModel):
8872         Make public static inner class.
8873         * javax/swing/JTabbedPane.java (setComponentAt):
8874         Call Page.setComponent().
8875         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8876         (WRAP_TAB_LAYOUT): Make public, value is 0.
8877         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8878         Make private static inner class.
8879
8880 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8881
8882         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8883         arguments to match new signature. Remove FIXME comments.
8884
8885 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8886
8887         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8888         Remove method.
8889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8890         unused code.
8891
8892 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8893
8894         * Makefile.am: Added new file.
8895         * Makefile.in: Regenerate.
8896         * javax/swing/ImageIcon.java: 
8897         (ImageIcon(file)): set description of the icon 
8898         to the file name
8899         * javax/swing/JCheckBoxMenuItem.java:
8900         Mostly Implemented. Work in progress.
8901         * javax/swing/JRadioButtonMenuItem.java:
8902         Reimplement constructors to use JToggleButtonModel.
8903         * javax/swing/plaf/basic/BasicIconFactory.java:
8904         (getCheckBoxMenuItemIcon): return check box
8905         icon.
8906         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8907         paint menu item selected only when it is armed and 
8908         pressed. 
8909  
8910 2004-04-02  David Jee  <djee@redhat.com>
8911
8912         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8913         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8914         * java/awt/Component.java
8915         (add): Set the parent of the popup as this component.
8916         * java/awt/PopupMenu.java
8917         (addNotify): Create popup menu when peer is null.
8918         (show): Call addNotify() if peer is null.
8919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8920         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8921         argument for gtk_menu_popup() as zero. This causes the popup menu to
8922         respond to any mouse button.
8923
8924 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8925
8926         * Makefile.am: Added new file.
8927         * Makefile.in: Regenerate.
8928         * javax/swing/JRadioButtonMenuItem.java:
8929         Implemented.
8930         * javax/swing/plaf/basic/BasicIconFactory.java:
8931         (getRadioButtonMenuItemIcon): Return
8932         radio button icon.
8933         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8934         (getPreferredSize): Add size of checkIcon if it
8935         exists.
8936         (installDefaults): Don't initialize checkIcon.
8937         It's value will be set in subclasses. 
8938         (uninstallDefaults): remove uninstallation of 
8939         checkIcon.
8940         (paint): Moved code to paintMenuItem().
8941         (paintMenuItem): Implemented.
8942         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8943         UI delegate for JRadioButtonMenuItem.
8944         
8945 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8946
8947         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8948         Corrected position of the accelerator.
8949
8950 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8951
8952         * Makefile.am: Added new file. 
8953         * Makefile.in: Regenerate.
8954         * javax/swing/JMenuItem.java: Partly 
8955         implemented. Work in progress
8956         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8957         Changed default value of acceleratorDelimiter.
8958         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8959         New class. Partly implemented.
8960                 
8961 2004-03-26  Mark Wielaard  <mark@klomp.org>
8962
8963         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8964         (item_activate): Declare label before use.
8965         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8966         (gtkSetFont): Removed unused variable label.
8967         (addExposeFilter): Declare variables before use.
8968         (removeExposeFilter): Likewise.
8969         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8970         (ok_clicked): Declare str_fileName before use.
8971
8972 2004-03-26  David Jee  <djee@redhat.com>
8973
8974         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8975         (addSeparator): Remove.
8976         * java/awt/Menu.java
8977         (separator): Remove static final MenuItem field.
8978         (separatorLabel): New static final String field.
8979         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8980         Use separatorLabel to denote that it is a separator.
8981         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8982         of reusing the static separator instance, because a MenuItem instance
8983         can't be added more than once without being cloned.
8984         * java/awt/peer/MenuPeer.java
8985         (addSeparator): Remove from interface.
8986
8987 2004-03-26  David Jee  <djee@redhat.com>
8988
8989         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8990         (connectSignals): New native method declaration.
8991         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8992         * java/awt/MenuItem.java
8993         (getActionCommand): Return the label if the action command is not set.
8994         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8995         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8996         gtk_menu_shell_append().
8997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8998         (item_activate): Fix argument type.
8999         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9000         signal here.
9001         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9002         method.
9003         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9004         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9005         given. Add the menu widget's top-level GtkWindow to the global window
9006         group, so it can grab the pointer.
9007         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9008         gtk_menu_shell_append().
9009
9010 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9011
9012         * java/text/AttributedString.java 
9013         (addAttribute): Fix off-by-one.
9014         (getIterator): Likewise.        
9015         * java/text/AttributedStringIterator.java 
9016         (getRunLimit): Correct logic.
9017         (getRunStart): Likewise.
9018         (getAttribute): Fix inequality.
9019         (getAttributes): Likewise.
9020         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9021
9022 2004-03-23  Kim Ho  <kho@redhat.com>
9023
9024         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9025         (calculateSizes): Return real width and height.
9026
9027 2004-03-23  Kim Ho  <kho@redhat.com>
9028
9029         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9030         (calculateTabRects): Set the selectedRun before
9031         trying to rotate tabs.
9032
9033 2004-03-23  Kim Ho  <kho@redhat.com>
9034
9035         * Makefile.am: New file
9036         * Makefile.in: Regenerate
9037         * java/awt/Graphics.java: (drawRect):
9038         Draw to the correct point.
9039         * javax/swing/DefaultSingleSelectionModel.java
9040         (isSelected): Return true if the selected index
9041         is not -1.
9042         * javax/swing/JLabel.java: Do not change mnemonic
9043         index if text is null.
9044         * javax/swing/JProgressBar.java: Use JComponent's
9045         EventListenerList.
9046         * javax/swing/JScrollBar.java: Ditto.
9047         * javax/swing/JSlider.java: Ditto.
9048         * javax/swing/JTabbedPane.java: Reimplement.
9049         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9050         Add defaults for TabbedPane.
9051         * javax/swing/plaf/basic/BasicArrowButton.java:
9052         Implement
9053         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9054         (paintDeterminate): Don't paint String if it's
9055         empty.
9056         (paintIndeterminate): ditto.
9057         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9058         Reimplement.
9059
9060 2004-03-19  Michael Koch  <konqueror@gmx.de>
9061
9062         * java/awt/image/AffineTransformOp.java
9063         (AffineTransformOp): Made public.
9064         * javax/swing/JComponent.java
9065         (listenerList): Made protected.
9066         (accessibleContext): Likewise.
9067         * javax/swing/JList.java
9068         (valueChanged): Dont use internal fields of ListSelectionEvent.
9069         * javax/swing/JViewport.java
9070         (getView): Dont use internal fields of Component.
9071         (addImpl): Likewise.
9072         * javax/swing/Timer.java
9073         (isRunning): Made public.
9074         (start): Likewise.
9075         (stop): Likewise.
9076         * javax/swing/UIDefaults.java
9077         (getInt): Made public.
9078         * javax/swing/plaf/basic/BasicListUI.java
9079         (mousePressed): Dont use internal fields of MouseEvent.
9080         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9081         * javax/swing/plaf/basic/BasicScrollBarUI.java
9082         (arrowIcon): Made static.
9083         * javax/swing/plaf/basic/BasicViewportUI.java
9084         (stateChanged): Dont use internal field on ChangeEvent.
9085         * javax/swing/text/JTextComponent.java
9086         (getUI): Call UIManager.getUI().
9087         (updateUI): Use getUI().
9088
9089 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9090
9091         * javax/swing/JComponent.java: Turn off double buffer by default.
9092         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9094         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9095         Use cairo to copy areas.
9096         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9097         Initialize and set clip region.
9098
9099 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9100
9101         * java/applet/Applet.java (preferredSize): Override deprecated
9102         variant of getPreferredSize.
9103         (minimumSize): Override deprecated variant of getMinimumSize.
9104
9105 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9106
9107         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9108         (drawImage(img,xform,bgcolor,obs)): New Method.
9109         Helper function that every drawImage method will
9110         use.
9111         (drawRaster): Added new parameter, bgcolor. All
9112         transparent pixels are changed to bgcolor before 
9113         image is drawn.
9114         (drawRenderedImage): Fixed to use changed drawRaster().
9115         (drawImage(image,xform,obs): Fixed to use new helper function 
9116         (drawImage(image,op,x,y)): Ditto.
9117         (drawImage (img,x,y,observer)): Ditto.
9118         ((PainterThread) bgcolor): New Field.
9119         ((PainterThread) (setPixels)): Changed all transparent pixels 
9120         to bgcolor.     
9121         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9122         Fixed FIXME - all the transparent pixels are 
9123         changed to the specified bgcolor. 
9124         (drawImage(img, x, y, width, height, observer): Changed to 
9125         use function above.
9126         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9127         Fixed FIXME- changed all transparent pixels to bgcolor.
9128         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9129         Changed to use function above. 
9130
9131 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9132
9133         * java/applet/Applet.java (dimensions): New field.
9134         (getDimensions): New method.
9135         (getPreferredSize): Call getDimensions.
9136         (getMinimumSize): Likewise.
9137
9138 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9139
9140         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9141         * jni/classpath/jnilink.c: Likewise.
9142
9143         * java/applet/Applet.java (getPreferredSize): New method.
9144         (getMinimumSize): New method.
9145
9146 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9147
9148         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9149         (_Jv_AllocObjectNoFinalizer): Likewise.
9150         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9151         (_Jv_AllocPtrFreeObject): Likewise.
9152         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9153         directly even in the JVMPI case.        
9154         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9155         _Jv_AllocObject calls.
9156         * gcj/javaprims.h: Update prototypes.
9157         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9158         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9159         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9160
9161 2004-04-14  Andrew Haley  <aph@redhat.com>
9162             Bryce McKinlay  <mckinlay@redhat.com>
9163
9164         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9165         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9166         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9167
9168         * testsuite/libjava.lang/InvokeInterface.java: New file.
9169         * testsuite/libjava.lang/InvokeInterface.out: New file.
9170
9171 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9172         
9173         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9174         modified lookup().
9175         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9176         StackTraceElement directly.
9177         (newElement): New native helper method to create StackTraceElement
9178         bypassing Java access control.
9179         (createStackTraceElement): Use newElement() instead of directly
9180         calling StackTraceElement's constructor.
9181         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9182
9183 2004-04-01  Michael Koch  <konqueror@gmx.de>
9184
9185         * java/lang/SecurityManager.java
9186         (checkAwtEventQueueAccess): Implemented.
9187
9188 2004-04-01  Gary Benson  <gbenson@redhat.com>
9189
9190         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9191         (_Jv_SearchMethodInClass): Likewise.
9192
9193 2004-03-26  Peter Moon  <peterm@miraculum.com>
9194
9195         * java/text/NumberFormat.java: Fix spelling of setCurrency
9196         method.
9197
9198 2004-03-21  Anthony Green  <green@redhat.com>
9199
9200         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9201         recursion when searching for the system ClassLoader.
9202
9203 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9204
9205         * java/net/ServerSocket.java
9206         (accept): Close the socket when error occured.
9207
9208 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9209
9210         * java/net/URI.java (parseURI): Added unquoting.
9211         (unquote): New method.
9212         (quoteAuthority): Implemented.
9213         (quote(String,String)): New method.
9214         (quotePath): Implemented.
9215         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9216         (getSchemeSpecificPart): Removed FIXME comment.
9217         (getRawAuthority): Return new rawAuthority field.
9218         (getAuthority): Removed FIXME comment.
9219         (getRawUserInfo): Return new rawUserInfo field.
9220         (getUserInfo): Removed FIXME comment.
9221         (getRawPath): Return new rawPath field.
9222         (getPath): Removed FIXME comment.
9223         (getRawQuery): Return new rawQuery field.
9224         (getQuery): Removed FIXME comment.
9225         (getRawFragment): Return new rawFragment field.
9226         (getFragment): Removed FIXME comment.
9227
9228 2004-03-20  Michael Koch  <konqueror@gmx.de>
9229
9230         * java/net/URLConnection.java: Merged copyright year with classpath.
9231
9232 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9233
9234         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9235         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9236         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9237         rmi-message.
9238         (getObjectInputStream): Return object reference, throw IOException if null.
9239         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9240         (getObjectOutputStream): Return object reference, throw IOException if null.
9241         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9242         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9243         (UnicastConnectionManager): Throw RemoteException if port is not available.
9244         (getInstance): Throw RemoteException.
9245         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9246         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9247         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9248         Collect Exceptions which are returned by a rmi-call and fix void returns.
9249         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9250         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9251         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9252         (dispatch): Answer ping messages which are sent by other java implementions.
9253         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9254         for every rmi-message and fix void return problems.
9255         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9256         (UnicastServerRef): Throw RemoteException.
9257         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9258         In some situations it is necessary to export a subclass of the class which has the _Stub.
9259         For instance when the class with has the _Stub is abstract.
9260         (findStubSkelClass): New method which looks for the class which has the _Stub.
9261         (getClientHost): Implementated.
9262         * gcc/libjava/java/rmi/server/RemoteServer.java
9263         (getClientHost): Implementated.
9264         * gcc/libjava/Makefile.am (rmi_java_source_files):
9265         Added gnu/java/rmi/server/RMIIncomingThread.java.
9266         * Makefile.in: Regenerated.
9267
9268 2004-03-20  Michael Koch  <konqueror@gmx.de>
9269
9270         * java/net/InetAddress.java
9271         (getLocalHostname): Added javadoc.
9272
9273 2004-03-19  Per Bothner  <per@bothner.com>
9274
9275         * configure.in: FILE variable  overrides FLATFORM when linking
9276         natFileChannelXXX.cc.
9277
9278         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9279         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9280
9281 2004-03-19  Per Bothner  <per@bothner.com>
9282
9283         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9284         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9285         * Makefile.am:  Update accordingly.
9286         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9287         as aliases for UnicodeLittle and UnicodeBig.
9288
9289 2004-03-20  Mark Wielaard  <mark@klomp.org>
9290
9291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9292         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9293         Don't access ws when it is null.
9294         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9295         Likewise.
9296
9297 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9298
9299         * java/lang/ThreadGroup.java (list): Changed print to println.
9300
9301 2004-03-19  Mark Wielaard  <mark@klomp.org>
9302
9303         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9304         happy.
9305
9306 2004-02-10  Randolph Chung  <tausq@debian.org>
9307  
9308         * configure.in: Build java for hppa target.
9309         * configure: Regenerate.
9310         * libjava/configure.host (hppa-*): Add target.
9311         * libjava/sysdeps/pa/lock.h: New file.
9312
9313 2004-03-19  Mark Wielaard  <mark@klomp.org>
9314
9315         Reported by Stephen Crawley
9316         * java/io/FilePermission.java (implies): Use String.length() -1 to
9317         access last char of String.
9318
9319 2004-03-19  Michael Koch  <konqueror@gmx.de>
9320
9321         * java/awt/image/AffineTransformOp.java
9322         (AffineTransformOp): Made public.
9323         * javax/swing/JComponent.java
9324         (listenerList): Made protected.
9325         (accessibleContext): Likewise.
9326         * javax/swing/JList.java
9327         (valueChanged): Dont use internal fields of ListSelectionEvent.
9328         * javax/swing/JViewport.java
9329         (getView): Dont use internal fields of Component.
9330         (addImpl): Likewise.
9331         * javax/swing/Timer.java
9332         (isRunning): Made public.
9333         (start): Likewise.
9334         (stop): Likewise.
9335         * javax/swing/UIDefaults.java
9336         (getInt): Made public.
9337         * javax/swing/plaf/basic/BasicListUI.java
9338         (mousePressed): Dont use internal fields of MouseEvent.
9339         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9340         * javax/swing/plaf/basic/BasicScrollBarUI.java
9341         (arrowIcon): Made static.
9342         * javax/swing/plaf/basic/BasicViewportUI.java
9343         (stateChanged): Dont use internal field on ChangeEvent.
9344         * javax/swing/text/JTextComponent.java
9345         (getUI): Call UIManager.getUI().
9346         (updateUI): Use getUI().
9347
9348 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9349
9350         * verify.cc: Undef PC.
9351
9352 2004-03-18  Michael Koch  <konqueror@gmx.de>
9353
9354         * java/nio/channels/spi/AbstractSelectableChannel.java
9355         (keys): Initialize at declaration.
9356         (locate): keys cant be null.
9357         (add): Removed.
9358         (addSelectionKey): New method.
9359         (removeSelectionKey): New method.
9360         * java/nio/channels/spi/AbstractSelectionKey.java
9361         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9362         * java/nio/channels/spi/AbstractSelector.java
9363         (provider): Javadoc added.
9364         (cancelledKeys): Javadoc added.
9365         (cancelKey): Javadoc added, add key to cancelledKeys.
9366         (deregister): Implemented.
9367
9368 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9369
9370         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9371         MAP_FAILED to void *.
9372
9373 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9374
9375         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9376         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9377         * javax/swing/JList.java (ListListener): Revalidate on changes.
9378         * javax/swing/JScrollPane.java: Reimplement.
9379         * javax/swing/JViewport.java: Reimplement.
9380         * javax/swing/ScrollPaneLayout.java: Reimplement.
9381         * javax/swing/ViewportLayout.java: Tidy up.
9382         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9383         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9384         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9385         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9386         backing store only.
9387
9388 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9389
9390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9391         (window_wm_protocols_filter): New function.
9392         (window_focus_in_cb): Remove function.
9393         (window_focus_out_cb): Likewise.
9394         (window_focus_or_active_state_change_cb): New function.
9395         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9396         (connectSignals): Don't attach handlers to focus-in-event or
9397         focus-out-event signals.  Handle notify signal.
9398
9399 2004-03-11  David Jee  <djee@redhat.com>
9400
9401         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9402         (gtkSetLabel): New native method declaration.
9403         (setLabel): Use gtkSetLabel.
9404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9405         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9406
9407 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9408
9409         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9410         black when color argument is null.
9411
9412 2004-03-10  Kim Ho  <kho@redhat.com>
9413
9414         * java/awt/Container.java: Remove check
9415         for drag events.
9416
9417 2004-03-10  Kim Ho  <kho@redhat.com>
9418
9419         * java/awt/Container.java: (visitChild):
9420         Remove candidate clip. Use the component
9421         clip to intersect.
9422         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9423         (handleEvent): Use the PaintEvent's clip.
9424
9425 2004-03-10  Kim Ho  <kho@redhat.com>
9426
9427         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9428         (handleEvent): Don't set the clip for the
9429         Graphics object.
9430
9431 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9432
9433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9434         Fix double <-> fixed macros, reset font transform.
9435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9436         Likewise.
9437
9438 2004-03-09  Kim Ho  <kho@redhat.com>
9439
9440         * java/awt/Container.java: (visitChild): Move
9441         the x and y coordinate of the component rectangle
9442         to correct position.
9443         (handleEvent): Forward drag events to the pressed
9444         component.
9445         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9446         Fix comments.
9447         (ArrowButtonListener::mousePressed): Stop the
9448         existing timer.
9449         (mouseDragged): Implement.
9450         (TrackListener::mousePressed): Only react if
9451         the press doesn't occur on the thumb, otherwise
9452         just set the offset.
9453         (TrackListener::mouseReleased): Unset the isAdjusting
9454         value.
9455         (createIncreaseIcon): Switch icon.
9456         (createDecreaseIcon): Switch icon.
9457         (calculatePreferredSize): Use width.
9458         (getThumbBounds): Use the top as the lower value.
9459         (layoutVScrollBar): Switch the button locations.
9460         (paintIncreaseHighlight): Paint correct side of thumb.
9461         (paintDecreaseHighlight): ditto.
9462         (valueForYPosition): Use top as the lower value.
9463         * javax/swing/plaf/basic/BasicSliderUI.java:
9464         Fix comments.
9465         (mouseDragged): Implement.
9466         (mousePressed): Only react when the thumb isn't
9467         pressed, otherwise just set offset.
9468         (mouseReleased): Handle a release of the thumb.
9469         (scrollDueToClickInTrack): Stop the timer first.
9470         * javax/swing/JProgressBar.java:
9471         (setString): Fix change condition.
9472         * javax/swing/JSeparator.java:
9473         Remove println's.
9474
9475 2004-03-08  David Jee  <djee@redhat.com>
9476
9477         * java/awt/image/AffineTransformOp.java:
9478         (filter): Use Graphics2D interface instead of directly using the
9479         GdkGraphics2D peer.
9480
9481 2004-03-05  David Jee  <djee@redhat.com>
9482
9483         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9484         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9485         * java/awt/Container.java
9486         (acquireComponentForMouseEvent): Fixed.
9487         (handleEvent): Fixed.
9488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9489         (state_to_awt_mods_with_button_states): New method.
9490         (pre_event_handler): Fixed mouse event generation.
9491
9492 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9493
9494         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9495         (GdkGraphics2D (BufferedImage)): Initialize
9496         pixmap associated with specified BufferedImage.
9497         (setPaint): Changed implementation of Texture
9498         Paint to use AffineTransformOp.
9499         * java/awt/image/AffineTransformOp.java
9500         (createCompatibleDestRaster): Throw RasterFormatException 
9501         if resulting width or height of raster is 0.
9502
9503 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9504
9505         * java/awt/image/AffineTransformOp.java:
9506         Removed unnecessary field interpolationType.
9507         Formatted some of the lines to be consistent with 
9508         the GNU style.
9509         (AffineTransformOp): Create new RenderingHints 
9510         containing specified interpolation type.
9511         (createCompatibleDestImage): Implemented.
9512         (createCompatibleDestRaster): Implemented.
9513         (filter): Implemented.
9514         (getBounds2D(BufferedImage)): Implemented.
9515         (getBounds2D(Raster)): Implemented.
9516         (getInterpolationType): Get interpolation value from 
9517         rendering hints.
9518
9519 2004-03-04  David Jee  <djee@redhat.com>
9520
9521         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9522         (setFont): Check if child peers are null.
9523
9524 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9525
9526         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9527         .libs in -L option.
9528         (libjava_arguments): Add new libraries to argument list.
9529
9530 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9531
9532         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9533         * Makefile.in: Re-generated.
9534         * java/awt/image/AffineTransformOp.java: New Class.
9535
9536 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9537
9538         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9539         (setPaint): Interpret correctly TexturePaint's
9540         anchor rectangle.
9541         (drawImage): Fixed scale factors of the affine
9542         transform.
9543
9544 2004-02-27  David Jee  <djee@redhat.com>
9545
9546         * gnu/java/awt/peer/gtk/GdkGraphics.java
9547         (GdkGraphics(Component)): Inherit font from component.
9548         (drawString): Use font style.
9549         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9550         (gtkSetFont): New native method declaration.
9551         (setFont): New method.
9552         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9553         (gtkSetFont): New native method declaration.
9554         (setFont): Call new native method gtkSetFont.
9555         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9556         (setFont): For all child components who do not their fonts set,
9557         set their peers' fonts with this container's font.
9558         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9559         Move all native method declarations to the top for readability.
9560         (gtkSetFont): New native method declaration.
9561         (setFont): New method.
9562         * java/awt/Component.java
9563         (setFont): Invalidate after setting the font.
9564         * java/awt/Container.java
9565         (invalidateTree): New method.
9566         (setFont): Invalidate the container tree after setting the font.
9567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9568         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9570         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9572         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9574         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9575
9576 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9577
9578         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9579         (updateBufferedImage): New helper function.
9580         Updates BufferedImage in memory if it was changed.
9581         (draw): changed to update BufferedImage in memory after
9582         this drawing operation
9583         (fill): Ditto.
9584         (draw3DRect): Ditto.
9585         (fill3DRect): Ditto.
9586         (clearRect): Ditto.
9587         (drawRaster): Ditto.
9588         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9589         no affine transformation.
9590         (drawGlyphVector): Ditto.
9591
9592 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9593
9594         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9595         (isBufferedImageGraphics): New Helper function. 
9596         Returns true if this graphics2d can be used to draw 
9597         into buffered image and false otherwise.
9598         (updateImagePixels): New Helper function. 
9599         Updates pixels in the BufferedImage.
9600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9601         (getImagePixels): New function. Returns pixels
9602         of the buffered image associated with 
9603         this Graphics2D.
9604
9605 2004-02-26  David Jee  <djee@redhat.com>
9606
9607         * java/awt/BorderLayout.java
9608         (layoutContainer): Fix width and height calculations to ensure
9609         that they're non-negative.
9610         * java/awt/Component.java
9611         (setBackground): If c is null, inherit from closest ancestor whose
9612         background color is set.
9613
9614 2004-02-26  Kim Ho  <kho@redhat.com>
9615
9616         * Makefile.am: Add new files.
9617         * Makefile.in: Re-generate.
9618         * javax/swing/JProgressBar.java: 
9619         (JProgressBar(int, int int)): Throw
9620         IllegalArgumentException if orientation is
9621         invalid.
9622         (JProgressBar(BoundedRangeModel)): Create
9623         ChangeListener and register it. UpdateUI.
9624         (getChangeListeners): Implement.
9625         (setModel): Reset ChangeListener.
9626         * javax/swing/JScrollBar.java: Implement.
9627         * javax/swing/JSeparator.java: Implement.
9628         * javax/swing/JSlider.java:
9629         (JSlider(int, int, int, int)): Throw 
9630         IllegalArgumentException if orientation
9631         is invalid.
9632         (getChangeListeners): Fix method name.
9633         * javax/swing/SwingUtilities.java:
9634         (layoutCompoundLabel): If there is no text,
9635         set the text rectangle dimensions to 0.
9636         * javax/swing/plaf/basic/BasicButtonUI.java:
9637         (paint): If there is no text, don't paint it.
9638         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9639         Implement.
9640         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9641         Implement.
9642         * javax/swing/plaf/basic/BasicSliderUI.java: 
9643         (propertyChange): If the model changes, change
9644         the listeners accordingly.
9645
9646 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9647
9648         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9649         * javax/swing/JList.java: Reimplement.
9650         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9651         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9652         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9653         * javax/swing/ListModel.java: Javadoc.
9654         * javax/swing/ListSelectionModel.java: Add missing methods.
9655         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9656         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9657         * javax/swing/ListModel.java: Javadoc and corrections.
9658         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9659
9660 2004-02-25  David Jee  <djee@redhat.com>
9661
9662         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9663         (GtkFontPeer): Change default size to 12.
9664         * gnu/java/awt/peer/gtk/GtkToolkit.java
9665         (getFontPeer): Change default size to 12.
9666         (getClasspathFontPeer): Likewise. Set default name to "Default".
9667         * java/awt/Font.java
9668         (Font(Map)): Call Font(String,Map).
9669         (Font(String,Map)): If attrs is null, initialize it as an empty
9670         HashMap, which will ensure that the Font will get default attributes.
9671
9672 2004-02-25  David Jee  <djee@redhat.com>
9673
9674         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9675         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9676         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9677         * gnu/java/awt/peer/gtk/GtkToolkit.java
9678         (getFontPeer(String,int)): Call the new overload method with size 1.
9679         (getFontPeer(String,int,int)): New method. Overloaded with size
9680         attribute.
9681         (getClasspathFontPeer): Set the size of the font.
9682
9683 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9684
9685         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9686         (bimage): New field.
9687         (GdkGraphics2D): New Constructor. Constructs Graphics
9688         object that can be used to draw into the Buffered Image.
9689         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9690         (GdkGraphicsEnvironment): Fixed to include public 
9691         keyword.
9692         (createGraphics): Implemented.
9693         * gnu/java/awt/peer/gtk/GtkToolkit.java
9694         (getLocalGraphicsEnvironment): Implemented.
9695         * java/awt/GraphicsEnvironment.java:
9696         (getLocalGraphicsEnvironment): Implemented.
9697         * java/awt/image/BufferedImage.java:
9698         (createGraphics): Implemented.
9699                 
9700 2004-02-24  David Jee  <djee@redhat.com>
9701
9702         * java/awt/Component.java
9703         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9704         * java/awt/Container.java
9705         (addNotifyContainerChildren): Fix event enabling.
9706
9707 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9708
9709         * Makefile.am: Added 
9710         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9711         * Makefile.in: Re-generated.
9712         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9713         New Class. 
9714         
9715 2004-02-19  Kim Ho  <kho@redhat.com>
9716
9717         * Makefile.am: Add BasicProgressBarUI
9718         * Makefile.in: Regenerate.
9719         * javax/swing/JProgressBar.java: 
9720         Re-implement.
9721         * javax/swing/plaf/basic/BasicLookAndFeel.java
9722         Add constants for JProgressBar.
9723         * javax/swing/plaf/basic/BasicProgressBarUI.java
9724         Implement.
9725         * javax/swing/plaf/basic/BasicSliderUI.java
9726         Change comments.
9727         (calculateGeometry): New method
9728         (paint): Remove unnecessary size calculations.
9729
9730 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9731
9732         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9733         (drawRaster): Fixed small error that caused
9734         imageToUser transformation to be set incorrectly.
9735         (toString): Implemented.
9736
9737 2004-02-18  David Jee  <djee@redhat.com>
9738
9739         * java/awt/CardLayout.java
9740         (addLayoutComponent): Show the first component added as the default.
9741         (removeLayoutComponent): After removing, show the next component.
9742         (gotoComponent): If there is only one component, show it and return.
9743
9744 2004-02-18  Kim Ho  <kho@redhat.com>
9745
9746         * javax/swing/JSlider.java: Re-order
9747         modifiers.
9748         * javax/swing/JLabel.java: Re-order
9749         modifiers.
9750         * javax/swing/JComponent.java: 
9751         (addPropertyChangeListener):
9752         Implement.
9753         (removePropertyChangeListener):
9754         ditto.
9755         (firePropertyChangeEvent):
9756         ditto.
9757
9758 2004-02-17  David Jee  <djee@redhat.com>
9759
9760         * java/awt/Component.java
9761         (show): Dispatch ComponentEvent via system event queue.
9762         (hide): Likewise.
9763         (move): Likewise.
9764         (resize): Likewise.
9765         (reshape): Likewise.
9766         * java/awt/Window.java
9767         (setBoundsCallback): Likewise.
9768
9769 2004-02-17  David Jee  <djee@redhat.com>
9770
9771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9772         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9773         Use gtk_widget_set_size_request() instead of the deprecated
9774         gtk_widget_set_usize().
9775
9776 2004-02-17  Kim Ho  <kho@redhat.com>
9777
9778         * javax/swing/JSlider.java: Fix comments and
9779         make property strings constants.
9780         (createStandardLabels): Use the labels
9781         preferred size as bounds.
9782         * javax/swing/plaf/basic/BasicSliderUI.java
9783         Fix comments.
9784         (ScrollHandler::actionPerformed): Don't
9785         calculate the timer stop value. Let the
9786         MouseListeners find the stop location.
9787         (getPreferredHorizontalSize): Re-implement.
9788         (getPreferredVerticalSize): ditto.
9789         (getMinimumHorizontalSize): ditto.
9790         (getMinimumVerticalSize): ditto.
9791         (getPreferredSize): ditto.
9792         (getMinimumSize): ditto.
9793         (getMaximumSize): ditto.
9794         (paintTicks): Use doubles to find the
9795         tick location.
9796         (paintHorizontalLabel):  Use preferredSize
9797         as initial width and height.
9798         (paintVerticalLabel): ditto.
9799
9800 2004-02-17  Kim Ho  <kho@redhat.com>
9801
9802         * javax/swing/JLabel.java: Changed 
9803         property strings to constants.
9804         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9805         New property.
9806         (setText): Change mnemonic index if
9807         text is too short.
9808         (setDisplayedMnemonicIndex): Fire property
9809         change event.
9810         (getDisplayedMnemonicIndex): Remove check
9811         against short text.
9812
9813 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9814
9815         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9816         (drawImage(img,xform,obs)): Invert xform before
9817         passing the xform to cairo.
9818         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9819         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9820         implemented.
9821         (drawImage (img,x,y,w,h,obs)): Implemented.
9822         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9823         bgcolor,obs)): Partly implemented.
9824         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9825         Implemented.
9826         * java/awt/image/BufferedImage.java:
9827         (copyData): if dest is null, create raster with same
9828         dimensions as the current image.
9829
9830 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9831
9832         * javax/swing/plaf/basic/BasicLabelUI.java 
9833         (getPreferredSize): Use layoutCL.
9834         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9835         (getPreferredButtonSize): Start with empty view rect, layout using
9836         component's preferred alignment.
9837         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9838         List defaults.
9839
9840 2004-02-16  David Jee  <djee@redhat.com>
9841
9842         * java/awt/Component.java
9843         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9844         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9845         (move): Erase old bounds and repaint new bounds. Dispatch
9846         COMPONENT_MOVED ComponentEvent.
9847         (resize): Erase old bounds and repaint new bounds. Dispatch
9848         COMPONENT_RESIZED ComponentEvent.
9849         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9850         ComponentEvents.
9851         * java/awt/Window.java
9852         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9853         ComponentEvents.
9854
9855 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9856
9857         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9858         (setRenderingHint): Added implementation of 
9859         Interpolation rendering hints.
9860         (setRenderingHints): Ditto.
9861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9862         (drawPixels): fixed to allow user to choose type 
9863         of filtering that should be used when displaying images.
9864         (cairoSurfaceSetFilter): New method. Sets filter type for 
9865         interpolation of pixel values.
9866
9867 2004-02-16  David Jee  <djee@redhat.com>
9868
9869         * java/awt/GridBagLayout.java
9870         (calcCellSizes): Rows or columns with zero sizes should still be
9871         considered for extra space distribution.
9872
9873 2004-02-16  Kim Ho  <kho@redhat.com>
9874
9875         * javax/swing/JLabel.java: Re-implement.
9876         * javax/swing/plaf/basic/BasicLabelUI.java
9877         Re-implement.
9878         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9879         Added constant.
9880
9881 2004-02-16  Kim Ho  <kho@redhat.com>
9882
9883         * javax/swing/JSlider.java: Fix indentation and comments.
9884         (setModel): Remove null check to conform with Sun's.
9885         (setOrientation): Throw exception if not
9886         HORIZONTAL or VERTICAL.
9887         (getInverted): Use private variable instead of 
9888         ComponentOrientation.
9889         (setInverted): ditto.
9890         * javax/swing/plaf/basic/BasicSliderUI.java:
9891         Fix indentation and comments.
9892         (propertyChange): Remove check for inverted slider, handle
9893         in main paint.
9894         (getMinimumSize): Return preferred size.
9895         (getMaximumSize): ditto.
9896         (calculateFocusRect): Don't relocate rectangle.
9897         (drawInverted): Return XOR of the slider's inversion and 
9898         the component's orientation.
9899         (paint): Update leftToRightCache
9900
9901 2004-02-13  David Jee  <djee@redhat.com>
9902
9903         * java/awt/GridBagLayout.java
9904         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9905         code to helper methods.
9906         (sortBySpan): New helper method.
9907         (distributeSizeAndWeight): Likewise.
9908         (calcCellWeights): Likewise.
9909         (calcCellSizes): Add comments.
9910
9911 2004-02-13  David Jee  <djee@redhat.com>
9912
9913         * java/awt/Component.java
9914         (show): Only do something if component is invisible at the moment.
9915         (hide): Only do something if component is visible at the moment.
9916         (reshape): If lightweight, erase old bounds and repaint new bounds.
9917
9918 2004-02-13  Kim Ho  <kho@redhat.com>
9919
9920         * Makefile.am: Updated for new file.
9921         * Makefile.in: Regenerated.
9922         * javax/swing/JSlider.java: Reimplement.
9923         * javax/swing/SwingUtilities.java
9924         (layoutCompoundLabel): Use icon height
9925         instead of width.
9926         (paintComponent): Implement.
9927         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9928         Add JSlider defaults.
9929         * javax/swing/plaf/basic/BasicSliderUI.java:
9930         Implement. New file.
9931
9932 2004-03-17  Michael Koch  <konqueror@gmx.de>
9933
9934         * gnu/java/net/PlainDatagramSocketImpl.java
9935         (RECEIVE_LOCK): New member field.
9936         (SEND_LOCK): New member field.
9937         (send0): New method.
9938         (send): Synchronize on SEND_LOCK.
9939         (receive0): New method.
9940         (receive): Synchronize on RECEIVE_LOCK.
9941         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9942         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9943         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9944         (send0): Renamed from send.
9945         (receive0): Renamed from receive.
9946 2004-03-17  Michael Koch  <konqueror@gmx.de>
9947
9948         * gnu/java/net/natPlainSocketImplPosix.cc
9949         (write): Just call write(jbyteArray, offset, len).
9950         (read): Just call read(jbyteArray, offset, len).
9951
9952 2004-03-16  Michael Koch  <konqueror@gmx.de>
9953
9954         * javax/swing/JTabbedPane.java
9955         (serialVersionUID): New field.
9956
9957 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9958
9959         * java/net/InetAddress.java
9960         (getByName): Handle hostname == "" case.
9961
9962 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9963
9964         Reported by: Adam Heath <doogie@debian.org>
9965         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9966         class loader.
9967
9968 2004-03-15  Michael Koch  <konqueror@gmx.de>
9969
9970         * java/util/Locale.java: Reverting my last patch
9971         and add a comment why the original version was okay.
9972
9973 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9974
9975         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9976         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9977         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9978         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9979
9980 2004-03-12  Michael Koch  <konqueror@gmx.de>
9981
9982         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9983
9984 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9985
9986         * java/net/URI.java (toURL): Implemented.
9987
9988 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9989
9990         * java/net/URI.java
9991         (URI_REGEXP) updated to contain scheme specific part.
9992         (SCHEME_SPEC_PART_GROUP) new constant.
9993         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9994         updated to make room for SCHEME_SPEC_PART_GROUP.
9995         (parseURI) parse scheme specific part.
9996         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9997         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9998         getQuery, getFragment) implemented.
9999
10000 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10001
10002         * libraries/javalib/java/net/URI.java
10003         partially implemented using java.util.regex.
10004         (URI_REGEXP) new constant. Used to parse URIs.
10005         (SCHEME_GROUP) new constant representing index of scheme group
10006         in parsed URI.
10007         (AUTHORITY_GROUP) new constant representing index of authority
10008         group in parsed URI.
10009         (PATH_GROUP) new constant representing index of path group in
10010         parsed URI.
10011         (QUERY_GROUP) new constant representing index of query group in
10012         parsed URI.
10013         (FRAGMENT_GROUP) new constant representing index of fragment
10014         group in parsed URI.
10015         (getURIGroup) new static utility method.
10016         (parseURI) implemented.
10017         (quote) stub for new static utility method.
10018         (quoteAuthority) stub for new static utility method.
10019         (quoteHost) stub for new static utility method.
10020         (quotePath) stub for new static utility method.
10021         (quoteUserInfo) stub for new static utility method.
10022         (URI) implemented.
10023         (create) don't throw URISyntaxException. Implemented.
10024         (toString) implemented.
10025
10026 2004-03-12  Michael Koch  <konqueror@gmx.de>
10027
10028         * java/net/HttpURLConnection.java
10029         (getResponseCode): Fix another typo in javadoc.
10030
10031 2004-03-11  Michael Koch  <konqueror@gmx.de>
10032
10033         * java/util/logging/Level.java
10034         (parse): Use String.equals() instead of ==.
10035
10036 2004-03-11  Michael Koch  <konqueror@gmx.de>
10037
10038         * gnu/java/net/protocol/jar/Connection.java
10039         (getContentLength): New method.
10040
10041 2004-03-11  Michael Koch  <konqueror@gmx.de>
10042
10043         * gnu/java/net/PlainSocketImpl.java:
10044         Reformated to merge better with classpath's version.
10045
10046 2004-03-11  Michael Koch  <konqueror@gmx.de>
10047
10048         * java/util/Locale.java
10049         (getISO3Language): Use String.equals() instead of ==.
10050         (getISO3Country): Likewise.
10051
10052 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10053
10054         * java/text/AttributedString.java
10055         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10056         Use HashMap instead of Hashtable since value can be null, and
10057         you can not store a null value in a Hashtable.
10058
10059 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10060
10061         * java/text/AttributedStringIterator.java
10062         (getAllAttributesKey): Return only keys concerned
10063         by the current iterator.
10064         (getAttributes): Use strict inequality for
10065         end_index. 
10066
10067 2004-03-11  Michael Koch  <konqueror@gmx.de>
10068
10069         * java/net/HttpURLConnection.java:
10070         Fixed typo in javadoc.
10071
10072 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10073
10074         * java/io/BufferedInputStream.java (marktarget): New field for max
10075         mark limit.
10076         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10077         (mark): Use new fields.
10078         (read): Likewise.
10079         (read(byte[],int,int)): Likewise.
10080         (skip): Likewise.
10081         (refill): Likewise.
10082
10083 2004-03-11  Mark Wielaard  <mark@klomp.org>
10084
10085         * java/beans/BeanDescriptor.java (BeanDescriptor):
10086         Set the FeatureDescriptor programmatic name.
10087
10088 2004-03-11  Michael Koch  <konqueror@gmx.de>
10089
10090         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10091         This file was was just copied form java/io/natFileDescriptorEcos.cc
10092         and never changed to compile correctly.
10093
10094 2004-03-11  Michael Koch  <konqueror@gmx.de>
10095
10096         * gnu/java/nio/PipeImpl.java
10097         (SourceChannelImpl): Made final.
10098         (read): Implemented.
10099         (SinkChannelImpl): Made final.
10100         (write): Implemented.
10101
10102 2004-03-11  Michael Koch  <konqueror@gmx.de>
10103
10104         * gnu/java/net/PlainDatagramSocketImpl.java:
10105         Reformated to match classpath's version more.
10106
10107 2004-03-11  Michael Koch  <konqueror@gmx.de>
10108
10109         * gnu/java/awt/peer/ClasspathFontPeer.java:
10110         Fixed javadoc to be correct xhtml.
10111         * gnu/java/awt/peer/gtk/GtkArgList.java
10112         (add): Use Boolean.valueOf() instead of new Boolean().
10113
10114 2004-03-09  Michael Koch  <konqueror@gmx.de>
10115
10116         * java/lang/Thread.java
10117         (runnable): Moved around.
10118         (daemon): Renamed from daemon_flag.
10119         (contextClassLoader): Renamed from context_class_loader.
10120         (Thread): Reordered constructors.
10121         (activeCount): Use group directly.
10122         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10123         (holdsLock): Reworked javadoc.
10124         (setDaemon): Reworked.
10125         * java/lang/natThread.cc
10126         (destroy): Removed.
10127
10128 2004-03-08  Anthony Green  <green@redhat.com>
10129
10130         * Makefile.am: Build property resource files into libgcj.
10131         * Makefile.in: Rebuilt.
10132         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10133         java/util/regex/PatternSyntaxException.java,
10134         gnu/regexp/CharIndexed.java,
10135         gnu/regexp/CharIndexedCharArray.java,
10136         gnu/regexp/CharIndexedInputStream.java,
10137         gnu/regexp/CharIndexedReader.java,
10138         gnu/regexp/CharIndexedString.java,
10139         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10140         gnu/regexp/REException.java,
10141         gnu/regexp/REFilterInputStream.java,
10142         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10143         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10144         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10145         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10146         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10147         gnu/regexp/RETokenLookAhead.java,
10148         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10149         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10150         gnu/regexp/RETokenStart.java,
10151         gnu/regexp/RETokenWordBoundary.java,
10152         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10153
10154 2004-03-03  Per Bothner  <per@bothner.com>
10155
10156         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10157         Optimize when argument is a FileChannelImpl.
10158         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10159         New native methods.
10160         * java/nio/channels/natChannels.cc:  New file for new native methods.
10161         * Makefile.am:  Update accordingly.
10162
10163 2004-03-02  Jan Hubicka  <jh@suse.cz>
10164
10165         * configure.host: Pass -fno-omit-frame-pointer for i386.
10166         * configure.in: Likewise.
10167         * configure: Regenerate.
10168
10169 2004-03-01  Per Bothner  <per@bothner.com>
10170
10171         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10172
10173 2004-02-29  Per Bothner  <per@bothner.com>
10174
10175         * java/nio/channels/FileChannelImpl.java:  Moved to package
10176         gnu/java/nio/channels, since we need to refer to it from java.io.
10177         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10178         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10179         from java/nio/channels.  Don't depend on FileDescriptor.
10180         (in, out, err):  New static fields.
10181         (mode):  New field.
10182         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10183         from FileDescriptor.
10184         (by):  Removed MappedByteBuffer field.
10185         (map):  New working implementation.
10186         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10187         some code "ported" from natFileDescriptoPosix.cc.
10188         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10189         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10190         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10191         Remove native methods.
10192         * Makefile.am, configure.in:  Updated accordingly.
10193
10194         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10195         (ch):  New FileChannelImpl field.  Update constructor to match.
10196         (releaseImpl):  Remove native method.  Instead ...
10197         (release):  Call unlock on channel.
10198         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10199
10200         * java/io/natFileDescriptorEcos.cc:  Remove file.
10201         * java/io/natFileDescriptorPosix.cc:  Remove file.
10202         * java/io/natFileDescriptorWin32.cc:  Remove file.
10203         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10204         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10205         (<init>(FileChannelImpl)):  New package-private constructor.
10206         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10207         (available, close, read, skip):  Implement using FileChannelImpl.
10208         (getFD):  Allocate FileDescriptor if needed.
10209         (getChannel):  Is now trivial.
10210         * java/io/FileOutputStream.java:  Corresponding changes.
10211         * java/io/RandomAccessFile.java:  Corresponding changes.
10212
10213         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10214         unmapImpl):  New dummy methods, to be overridden by subclass.
10215         (finalize, isLoaded, load, force):  New methods.
10216         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10217         Now works, at least for read mapping.
10218
10219         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10220         streams using FileChannelImpl, not FileDescriptor.
10221         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10222
10223 2004-02-28  Michael Koch  <konqueror@gmx.de>
10224
10225         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10226         wrong code.
10227
10228 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10229
10230         * java/io/ObjectInputStream.java
10231         (readClassDescriptor): Keep elements of the mapping non null.
10232         (checkTypeConsistency): New method.
10233         (readFields): Fixed main loop and base logic. Small reindentation.
10234         * java/io/ObjectStreamField.java
10235         (lookupField): New method to update the field reference.
10236         (checkFieldType): New method.
10237         * java/io/ObjectStreamClass.java
10238         (setClass, setFields): Call lookupField when building the field
10239         database. Check the real field type.
10240
10241 2004-02-28  Michael Koch  <konqueror@gmx.de>
10242
10243         * java/nio/ByteOrder.java
10244         (nativeOrder): Use equals() to compare strings.
10245
10246 2004-02-26  Michael Koch  <konqueror@gmx.de>
10247
10248         * gnu/java/nio/FileLockImpl.java
10249         (finalize): Made protected.
10250         * java/nio/channels/FileChannel.java
10251         (MapMode.READ_ONLY): Made final.
10252         (MapMode.READ_WRITE): Made final.
10253         (MapMode.PRIVATE): Made final.
10254         * java/nio/channels/SocketChannel.java
10255         (open): Simplified code.
10256         * java/nio/channels/spi/AbstractSelectableChannel.java
10257         (registered): Unused, removed.
10258         (keyFor): Check channel is open, only locate key
10259         and not add a new one.
10260         (register): Don't delete attachments.
10261
10262 2004-02-26  Michael Koch  <konqueror@gmx.de>
10263
10264         * gnu/java/awt/ComponentDataBlitOp.java
10265         (INSTANCE): Made final.
10266         * gnu/java/awt/image/ImageDecoder.java:
10267         Reworked imports.
10268         (cm): Unused, removed.
10269
10270 2004-02-26  Michael Koch  <konqueror@gmx.de>
10271
10272         * gnu/java/nio/DatagramChannelImpl.java
10273         (send): Check if target address is resolved.
10274
10275 2004-02-26  Michael Koch  <konqueror@gmx.de>
10276
10277         * Makefile.am: Generate and install headers for inner classes in
10278         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10279         * Makefile.in: Regenerated.
10280
10281 2004-02-24  Anthony Green  <green@redhat.com>
10282
10283         * java/lang/StringBuffer.java: No need to NULL out remainder of
10284         buffer since ensureCapacity_unsynchronized will have done this for
10285         us.
10286
10287 2004-02-20  Michael Koch  <konqueror@gmx.de>
10288
10289         * gnu/java/net/protocol/jar/Handler.java
10290         (): Removed unneeded check for file != null. java.net.URL.getFile()
10291         returns an empty string but never null.
10292
10293 2004-02-20  Michael Koch  <konqueror@gmx.de>
10294
10295         * gnu/gcj/convert/Convert.java
10296         (main): Use equals() to compare strings.
10297
10298 2004-02-20  Michael Koch  <konqueror@gmx.de>
10299
10300         * javax/swing/AbstractButton.java: Made several constants final.
10301         (getRolloverSelectedIcon): Made public.
10302         (getSelectedIcon): Made public.
10303
10304 2004-02-16  Per Bothner  <per@bothner.com>
10305
10306         * java/nio/CharBufferImpl.java:  Inline super constructor.
10307         * java/nio/DoubleBufferImpl.java:  Likewise.
10308         * java/nio/FloatBufferImpl.java:  Likewise.
10309         * java/nio/IntBufferImpl.java:  Likewise.
10310         * java/nio/LongBufferImpl.java:  Likewise.
10311         * java/nio/ShortBufferImpl.java:  Likewise.
10312         * java/nio/CharBuffer.java:  Remove unused constructor.
10313         * java/nio/DoubleBuffer.java:  Likewise.
10314         * java/nio/FloatBuffer.java:  Likewise.
10315         * java/nio/IntBuffer.java:  Likewise.
10316         * java/nio/LongBuffer.java:  Likewise.
10317         * java/nio/ShortBuffer.java:  Likewise.
10318         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10319         Fix buggy call to super constructor.
10320         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10321         * java/nio/FloatViewBufferImpl.java:  Likewise.
10322         * java/nio/IntViewBufferImpl.java:  Likewise.
10323         * java/nio/LongViewBufferImpl.java:  Likewise.
10324         * java/nio/ShortViewBufferImpl.java:  Likewise.
10325         
10326         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10327         java.nio classes can inherit it.
10328         (<init>):  Don't bother clearing array_offset.
10329         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10330         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10331         Remove redundant test.
10332
10333         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10334         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10335         Use new XxxViewBufferImpl constructors.
10336         * java/nio/MappedByteBufferImpl.java:  Likewise.
10337         * java/nio/DirectByteBufferImpl.java:  Likewise.
10338
10339         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10340         Inline super in remaining constructor.
10341         * java/nio/ByteBuffer.java:  Remove unused constructor.
10342
10343         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10344
10345         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10346         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10347         (offset):  Remove unused field.
10348         (<init>):  Modify one and add another constructor.  Change callers.
10349         (allocateDirect):  Removed - not used.
10350         (getImpl, putImpl):  Make static and pass address explicitly,
10351         to make them useful for MappedByteBufferImpl.
10352         (get, put):  Check for underflow.  Modify for new getImpl.
10353         (getImpl):  New native method where target is array.
10354         (get(byte[],int,int)):  Use the above.
10355         (adjustAddress):  New static native method.
10356         (slice, duplicate, asReadOnly):  New implementations.
10357         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10358         adjustAddress):  New or updated native methods.
10359
10360 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10361
10362         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10363         overflow of fieldmapping.
10364
10365 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10366
10367         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10368
10369 2004-02-14  Per Bothner  <per@bothner.com>
10370
10371         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10372         Set closed before calling implCloseChannel, as in the spec.
10373
10374 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10375
10376         * javax/swing/ToggleButtonModel.java: Remove dead class.
10377         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10378         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10379         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10380         * Makefile.am: Update for new and removed files.
10381         * Makefile.in: Regenerate.
10382
10383         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10384         * javax/swing/AbstractButton.java 
10385         (AbstractButton): Initialize fields correctly in ctor.
10386         * javax/swing/JCheckbox.java 
10387         (JCheckBox): Override painting flags.
10388         * javax/swing/DefaultButtonModel.java: Conform to sun.
10389         * javax/swing/JComponent.java (paint): Fill with background color
10390         if available.
10391         (processComponentKeyEvent)
10392         (processFocusEvent)
10393         (processKeyEvent)
10394         (processMouseMotionEvent): Remove event-consuming empty methods.
10395         (getUIClassID): Return "ComponentUI" not "JComponent"
10396         * javax/swing/JFrame.java: Remove some debugging chatter.
10397         (JFrame): Subscribe to window events.
10398         * javax/swing/JRadioButton.java 
10399         (JRadioButton): Override painting flags.
10400         * javax/swing/JRootPane.java 
10401         (JRootPane): Set background from UIDefaults.
10402         * javax/swing/JToggleButton.java 
10403         (ToggleButtonModel): New inner class.
10404         (JToggleButton): Override layout alighment.
10405         * javax/swing/SwingUtilities.java:
10406         (getLocalBounds): Return width and height, not x and y.
10407         (calculateInnerArea): Use local bounds, not bounds.
10408         (layoutCompoundLabel): Provide overridden form.
10409         (layoutCompoundLabel): Correct bugs.
10410         * javax/swing/UIDefaults.java: Correct comment.
10411         * javax/swing/plaf/basic/BasicButtonUI.java: 
10412         Move most logic into defaults, external listener.
10413         (paintIcon): Implement icon painting.
10414         (paint): Fix state painting to conform to changes in model.
10415         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10416         Remove most dead/wrong methods.
10417         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10418         * javax/swing/plaf/basic/BasicIconFactory.java:
10419         (DummyIcon): New class.
10420         (getMenuItemCheckIcon)
10421         (getMenuItemArrowIcon) 
10422         (getMenuArrowIcon)
10423         (getCheckBoxMenuItemIcon)
10424         (getRadioButtonMenuItemIcon)
10425         (createEmptyFrameIcon): Return DummyIcons, not null.
10426         (getCheckBoxIcon): Implement an icon that looks like sun's.
10427         (getRadioButtonIcon): Implement an icon that looks like sun's.
10428         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10429         (initComponentDefaults): Fix impossible values, add some missing.
10430         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10431         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10432         Remove most dead/wrong methods.
10433         (icon): New field.
10434         (getDefaultIcon): New method.
10435         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10436         Remove most dead/wrong methods.
10437         * javax/swing/plaf/metal/MetalLookAndFeel.java
10438         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10439         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10440         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10441         Implement "clearing" as drawing, when on pixmap drawables.
10442
10443         * javax/swing/JButton.java (getUIClassID): 
10444         * javax/swing/JCheckBox.java (getUIClassID):
10445         * javax/swing/JEditorPane.java (getUIClassID):
10446         * javax/swing/JLabel.java (getUIClassID): 
10447         * javax/swing/JList.java (getUIClassID): 
10448         * javax/swing/JOptionPane.java (getUIClassID): 
10449         * javax/swing/JPanel.java (getUIClassID): 
10450         * javax/swing/JPasswordField.java (uiClassID): 
10451         * javax/swing/JRadioButton.java (getUIClassID): 
10452         * javax/swing/JRootPane.java (getUIClassID): 
10453         * javax/swing/JScrollPane.java (getUIClassID): 
10454         * javax/swing/JTabbedPane.java (getUIClassID): 
10455         * javax/swing/JToggleButton.java (getUIClassID): 
10456         * javax/swing/JTree.java (getUIClassID): 
10457         * javax/swing/JViewport.java (getUIClassID): 
10458         * javax/swing/text/JTextComponent.java (getUIClassID):
10459         Return "fooUI" not "Jfoo"
10460
10461 2004-02-11  Michael Koch  <konqueror@gmx.de>
10462
10463         * java/net/DatagramSocket.java
10464         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10465         Boolean object.
10466         (setBroadcast): Likewise.
10467         * java/net/MulticastSocket.java
10468         (setLoopbackMode): Likewise.
10469         * java/net/ServerSocket.java
10470         (setReuseAddress): Likewise.
10471         * java/net/Socket.java
10472         (setTcpNoDelay): Likewise.
10473         (setSoLinger): Likewise.
10474         (setOOBInline): Likewise.
10475         (setKeepAlive): Likewise.
10476         (setReuseAddress): Likewise.
10477         * java/net/URLConnection.java
10478         (setContentHandler): Replace == with equals().
10479         * java/net/URLStreamHandler.java
10480         (hostSEquals): Fix checking host addresses.
10481         (toExternalForm): Dont check protocol for null. We know already its
10482         not null.
10483
10484 2004-02-10  David Jee  <djee@redhat.com>
10485
10486         * java/awt/BorderLayout.java
10487         (calcCompSize): Invisible components get zero dimensions.
10488         * java/awt/Button.java
10489         (setLabel): Set actionCommand.
10490         * java/awt/Component.java
10491         (show): Invalidate component and parent container.
10492         (hide): Likewise.
10493
10494 2004-02-10  David Jee  <djee@redhat.com>
10495
10496         * java/awt/GridBagLayout.java
10497         (GridBagLayout): New private field, internalcomptable.
10498         (lookupInternalConstraints): New method.
10499         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10500         (GetLayoutInfo): Reimplement.
10501         (calcCellSizes): Ignore rows/columns with size 0.
10502
10503 2004-02-10  Michael Koch  <konqueror@gmx.de>
10504
10505         * gnu/java/awt/EmbeddedWindow.java
10506         (setHandle): Use java.awt.Component.getPeer() instead of
10507         java.awt.Component.peer directly.
10508
10509 2004-02-10  David Jee  <djee@redhat.com>
10510
10511         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10512         (gtkSetLabel): New native method definition.
10513         (setLabel): Use gtkSetLabel.
10514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10515         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10516
10517 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10518
10519         * include/powerpc-signal.h: Revert 2004-01-21 change.
10520         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10521         from syscall for ppc32 versions.
10522
10523 2004-02-08  Per Bothner  <per@bothner.com>
10524
10525         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10526         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10527         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10528         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10529         Pass ByteOrder parameter to most methods, since the underlying
10530         ByteBuffer's order isn't always what we should use.
10531         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10532         * java/nio/DirectByteBufferImpl.java:  Likewise.
10533         Use ByteBufferHelper methods.
10534         * java/nio/MappedByteBufferImpl.java:  Likewise.
10535         (compact):  Use shiftDown.
10536         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10537         (get, put):  Use ByteBufferHelper.
10538         (compact):  Use new shiftDown method.
10539         (duplicate(boolean)):  New helper method.
10540         (duplicate, asReadOnlyBuffer):  Use it.
10541         (order):  Return endian field.
10542         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10543         * java/nio/FloatViewBufferImpl.java:  Likewise.
10544         * java/nio/IntViewBufferImpl.java:  Likewise.
10545         * java/nio/LongViewBufferImpl.java:  Likewise.
10546         * java/nio/ShortViewBufferImpl.java:  Likewise.
10547         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10548         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10549         (compact):  Re-implement using shiftDown.
10550
10551 2004-02-08  Andreas Jaeger  <aj@suse.de>
10552
10553         * include/x86_64-signal.h: Fix typo.
10554
10555 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10556
10557         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10558         qualifier to _regs.
10559         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10560
10561 2004-02-06  Michael Koch  <konqueror@gmx.de>
10562
10563         * java/io/ObjectInputStream.java
10564         (currentClassLoader): Reverted to old version of this method.
10565
10566 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10567
10568         * java/io/ObjectInputStream.java: Made all calls
10569         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10570         use cached info from ObjectStreamClass. (readClassDescriptor):
10571         Cache more information in ObjectStreamClass. (processResolution,
10572         readFields): Use cached info from ObjectStreamClass.
10573         (newObject): Throw exception instead of returning null for failure.
10574         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10575         setCharField, setDoubleField, setFloatField, setIntField,
10576         setLongField, setShortField, setObjectField, readObjectParams):
10577         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10578         check.
10579         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10580         (setClass): Added call to cacheMethods() (findMethod): New method.
10581         (cacheMethods): New method. (ObjectStreamClass): Added call to
10582         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10583         AccessController.doPrivileged to invoke setAccessible.
10584         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10585         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10586         New fields.
10587         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10588         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10589         isPrimitive): Made safe for cases where type == null.
10590         (setBooleanField, setByteField, setCharField, setShortField,
10591         setIntField, setLongField, setFloatField, setDoubleField,
10592         setObjectField): New methods.
10593
10594 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10595
10596         * java/awt/Component.java (getFont): Return a default font
10597         instead of null.
10598
10599         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10600         (Scrollbar (int, int, int, int, int)): Make default page
10601         increment 10.
10602         (setValues): Only call peer.setValues if one of the values has
10603         changed.
10604         (generateName): New method.
10605         (getUniqueLong): New method.
10606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10607         (range_scrollbar): Remove structure.
10608         (post_adjustment_event): Remove function.
10609         (post_change_event): Accept jobject argument.
10610         (create): Cast jints to gdoubles.  Round scrollbar values to the
10611         nearest integer.  Clamp min, max and value settings.
10612         (connectJObject): Connect hook to widget->window.
10613         (connectSignals): Remove range_scrollbar structure variables.
10614         Remove "move-slider" connection.  Pass global peer reference to
10615         "value-changed" callback.
10616         (setLineIncrement): Cast jint value to gdouble.
10617         (setPageIncrement): Likewise.
10618         (setValues): Likewise.  Clamp min, max and value settings.
10619
10620 2004-02-05  Michael Koch  <konqueror@gmx.de>
10621
10622         * javax/swing/AbstractCellEditor.java
10623         (getCellEditorValue): Removed.
10624         * javax/swing/Box.java: Reformated.
10625         (serialVersionUID): New field.
10626         * javax/swing/ButtonGroup.java:
10627         Removed some weird whitespace.
10628         * javax/swing/CellEditor.java: Reformated.
10629         * javax/swing/CellRendererPane.java
10630         (serialVersionUID): New field.
10631         (AccessibleCellRendererPaneserialVersionUID): New field.
10632         * javax/swing/DefaultListModel.java
10633         (serialVersionUID): New field.
10634         * javax/swing/JEditorPane.java
10635         (serialVersionUID): New field.
10636         (setPage): Throws IOException.
10637         (addHyperlinkListener): Implemented.
10638         (removeHyperlinkListener): Implemented.
10639         (getHyperlinkListener): New method.
10640         * javax/swing/JFileChooser.java
10641         (serialVersionUID): New field.
10642         (AccessibleJFileChooser.serialVersionUID): New field.
10643         (addActionListener): Implemented.
10644         (removeActionListener): Implemented.
10645         (getActionListeners): New method.
10646         * javax/swing/JFormattedTextField.java
10647         (serialVersionUID): New field.
10648         (AbstractFormatter.serialVersionUID): New field.
10649         (clone): Throws CloneNotSupportedException
10650         (setEditValid): Add missing argument.
10651         (stringToValue): Throws ParseExcpetion.
10652         (valueToString): Throws ParseException.
10653         (commitEdit): Throws ParseException.
10654         * javax/swing/JLabel.java
10655         (serialVersionUID): New field.
10656         * javax/swing/JList.java
10657         (serialVersionUID): New field.
10658         (addListSelectionListener): Reformated.
10659         (removeListSelectionListener): Reformated.
10660         (getListSelectionListeners): New method.
10661         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10662         Reformated.
10663         (serialVersionUID): New field.
10664         * javax/swing/table/AbstractTableModel.java
10665         (getValueAt): Removed.
10666         (getColumnCount): Removed.
10667         (getRowCount): Removed.
10668
10669 2004-02-05  Michael Koch  <konqueror@gmx.de>
10670
10671         * java/awt/datatransfer/DataFlavor.java
10672         (imageFlavor): Javadoc added.
10673         (javaJVMLocalObjectType): Fixed.
10674
10675 2004-02-05  Michael Koch  <konqueror@gmx.de>
10676
10677         * java/lang/Thread.java
10678         (Thread): Reordered.
10679         (setContextClassLoader): Fixed javadoc comment.
10680         (setPriority): Reordered.
10681         (yield): Reordered.
10682         (initialize_native): Reordered.
10683         (gen_name): Reordered.
10684
10685 2004-02-05  Michael Koch  <konqueror@gmx.de>
10686
10687         * java/lang/Thread.java: Reordered fields, reformated much code,
10688         no functional changes, some variables renamed, javadoc comments
10689         merged.
10690
10691 2004-02-05  Michael Koch  <konqueror@gmx.de>
10692
10693         * java/util/zip/Deflater.java,
10694         java/util/zip/DeflaterOutputStream.java,
10695         java/util/zip/GZIPInputStream.java:
10696         Reformated and javadoc comments merged from classpath.
10697
10698 2004-02-05  Michael Koch  <konqueror@gmx.de>
10699
10700         * gnu/java/nio/NIOServerSocket.java
10701         (impl): Unused, removed.
10702         * gnu/java/nio/SocketChannelImpl.java
10703         (finnishConnect): Don't throw NoConnectionPendingException if not
10704         connected or no connection pending.
10705
10706 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10707
10708         * javax/swing/SwingUtilities.java: Many new functions.
10709         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10710         * javax/swing/basic/BasicGraphicsUtils.java 
10711         (getPreferredButtonSize): Start layout from top-left corner.
10712
10713 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10714
10715         * java/awt/geom/AffineTransform.java: 
10716         Corrected comments on the field definitions for
10717         m11 and m10.
10718         (shear): Fixed few errors that caused shear
10719         transformation to be performed incorrectly.
10720         (createInverse): Fixed to return correct
10721         inverse of the given matrix.
10722
10723 2004-02-03  Tom Tromey  <tromey@redhat.com>
10724
10725         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10726         PATH or LD_LIBRARY_PATH is not set in parent environment.
10727
10728 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10729
10730         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10731         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10732         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10733         java/awt/Component.java, java/awt/Container.java,
10734         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10735         java/awt/LayoutManager2.java, java/awt/List.java,
10736         java/awt/Menu.java, java/awt/MenuBar.java,
10737         java/awt/MenuItem.java, java/awt/Polygon.java,
10738         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10739         java/awt/Scrollbar.java, java/awt/TextArea.java,
10740         java/awt/TextField.java,
10741         java/awt/image/renderable/RenderContext.java,
10742         javax/swing/JApplet.java: Fix handling of alias methods, where a
10743         method has been deprecated in favour of a new one with the same
10744         funtion but a different name.  Put the method implementation in
10745         the deprecated method and have the new method call the
10746         deprecated one.  Make all other code call the new method.
10747
10748 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10749
10750         * gnu/java/nio/DatagramChannelImpl.java
10751         (inChannelOperation): New field.
10752         (isInChannelOperation): New accessor.
10753         (setInChannelOperation): New modifier.
10754         (receive): Use capacity() - position() of destination
10755         buffer instead of remaining(). Set and reset our "in
10756         channel operation indicator" before and after delegating
10757         the receive to our datagram socket. Removed testing code.
10758         Update destination buffer's current position if it is
10759         backed by a byte array (hasArray() is true).
10760         (send): Set and reset our "in channel operation indicator"
10761         before and after delegating the send to our datagram socket.
10762         Removed testing code. Update source buffer's current position
10763         if it is backed by a byte array (hasArray() is true).
10764         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10765         Use capacity() - position() of destination buffer instead
10766         of remaining().
10767         * java/net/DatagramSocket.java (receive): Don't throw an
10768         IllegalBlockingModeException if we have a non-blocking
10769         channel which initiated this operation.
10770         (send): Likewise.
10771
10772 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10773
10774         * configure.in: Add pkgconfig check for glib and gthread.
10775         * configure: Regenerate.
10776
10777 2004-02-01  Michael Koch  <konqueror@gmx.de>
10778
10779         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10780         arguments.
10781         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10782         * verify.cc (debug_print): Mark 'fmt' unused.
10783
10784 2004-01-30  Michael Koch  <konqueror@gmx.de>
10785
10786         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10787         * configure: Regenerated.
10788         * glib-2.0.m4: Removed.
10789         * gtk-2.0.m4: Removed.
10790         * libart.m4: Removed.
10791         * pkg.m4: New file.
10792
10793 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10794
10795         * gnu/java/net/PlainSocketImpl.java 
10796         (inChannelOperation): New field.
10797         (isInChannelOperation): New accessor.
10798         (setInChannelOperation): New modifier.
10799         * gnu/java/nio/ServerSocketChannelImpl.java
10800         (accept): Set and reset our server socket's PlainSocketImpl's
10801         "in channel operation" indicator before and after delegating
10802         the accept to our server socket.
10803         * gnu/java/nio/SocketChannelImpl.java
10804         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10805         operation" indicator before and after delegating the operation to
10806         our socket.
10807         (read): Likewise.
10808         (write): Likewise.
10809         * java/net/ServerSocket.java (implAccept): Don't throw an
10810         IllegalBlockingModeException if we have a non-blocking
10811         channel which initiated this accept operation.
10812         * java/net/Socket.java (connect): Don't throw an
10813         IllegalBlockingModeException if we have a non-blocking
10814         channel which initiated this connect operation.
10815         * java/nio/channels/spi/AbstractSelectableChannel.java
10816         (configureBlocking): Only call implConfigureBlocking() if
10817         the desired blocking mode is different from our current one.
10818
10819 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10820
10821         * java/io/BufferedReader.java (sbuf): New field.
10822         (readLine): Use String.valueOf instead of new String() as per
10823         Per Bothner's suggestion. Use instance sbuf field instead of a
10824         local StringBuffer instance.
10825         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10826         caller's buffer to refill().
10827         (read(void)): Pass our internal work buffer to refill if our
10828         input queue is empty.
10829         (refill): Changed return type to int. Use the specified buffer
10830         instead of our work buffer as per Bryce McKinlay's suggestion.
10831         Return the number of characters read or -1 for EOF.
10832
10833 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10834
10835         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10836
10837 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10838
10839         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10840         * Makefile.in: Re-generated.
10841         * gnu/awt/xlib/XFontPeer.java: New file.
10842         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10843         (setClip): Commented out debug printout.
10844         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10845         (getFontPeer): Return XFontPeer.
10846         (getLocalGraphicsEnvironment): New method.
10847         (getClasspathFontPeer): New method.
10848         (createFont): New method.
10849
10850 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10851
10852         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10853         return null. 
10854
10855 2004-01-29  Kim Ho  <kho@redhat.com>
10856
10857         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10858         (gtkLayoutSetVisible): New method
10859         (setMenuBar): Hide layout before setting MenuBar
10860         and reshow it after.
10861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10862         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10863
10864 2004-01-28  Michael Koch  <konqueror@gmx.de>
10865
10866         * gnu/java/lang/ClassHelper.java
10867         (getPackagePortion): Removed.
10868
10869 2004-01-28  Michael Koch  <konqueror@gmx.de>
10870
10871         * javax/swing/JComponent.java
10872         (listenerList): Initalize globally.
10873         (ancestor_list): Removed.
10874         (veto_list): Removed.
10875         (change_list): Removed.
10876         (get_veto_list): Removed.
10877         (get_change_list): Removed.
10878         (get_ancestor_list): Removed.
10879         (removeAncestorListener): Reimplemented.
10880         (removePropertyChangeListener): Likewise.
10881         (removeVetoableChangeListener): Likewise.
10882         (addAncestorListener): Likewise.
10883         (addPropertyChangeListener): Likewise.
10884         (addVetoableChangeListener): Likewise.
10885         (getListeners): New method.
10886         (getAncestorListeners): Likewise.
10887         (getVetoableChangeListeners): Likewise.
10888         (fireVetoableChange): Throws PropertyVetoException.
10889         * javax/swing/JEditorPane.java
10890         (JEditorPane): Throws IOException.
10891
10892 2004-01-28  David Jee  <djee@redhat.com>
10893
10894         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10895         (create): Set the default foreground color to
10896         java.awt.SystemColor.windowText.
10897
10898 2004-01-27  Michael Koch  <konqueror@gmx.de>
10899
10900         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10901         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10902         Reindented to merge with classpath.
10903
10904 2004-01-27  David Jee  <djee@redhat.com>
10905
10906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10907         (addExposeFilter): Handle GtkFramePeer separately.
10908         (removeExposeFilter): Likewise.
10909
10910 2004-01-27  Michael Koch  <konqueror@gmx.de>
10911
10912         * gnu/java/net/protocol/http/Connection.java
10913         (getOutputStream): Fixed typo.
10914
10915 2004-01-27  Michael Koch  <konqueror@gmx.de>
10916
10917         * java/lang/Class.java
10918         (getConstructor): Removed SecurityException from throws clause.
10919         (_getConstructors): Likewise.
10920         (getConstructors): Likewise.
10921         (getDeclaredConstructor): Likewise.
10922         (getDeclaredClasses): Likewise.
10923         (getDeclaredConstructors): Likewise.
10924         (getDeclaredField): Likewise.
10925         (getDeclaredMethod): Likewise.
10926         (getDeclaredMethods): Likewise.
10927         (getField): Likewise.
10928         (getMethod): Likewise.
10929         (getMethods): Likewise.
10930
10931 2004-01-27  Kim Ho  <kho@redhat.com>
10932
10933         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10934         (removeMenuBarPeer): Remove MenuBarPeer argument.
10935         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10936         (dispose): Call native method.
10937         * java/awt/Frame.java (setMenuBar): Create and remove
10938         MenuBar peers only if the Frame has a peer.
10939         (addNotify): Create the MenuBar peer if one exists.
10940         (removeNotify): Remove MenuBar peer if one exists.
10941         * java/awt/Menu.java: Fix imports.
10942         (addNotify): Don't use full class name.
10943         (removeNotify): Call removeNotify on all children.
10944         * java/awt/MenuBar.java (removeNotify): Call
10945         removeNotify on all children.
10946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10947         (removeMenuBarPeer): Remove MenuBarPeer argument.
10948         Iterate through children to find the Frame's MenuBar.
10949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10950         New file.
10951         (dispose): Remove references to the MenuComponent.
10952
10953 2004-01-27  Michael Koch  <konqueror@gmx.de>
10954
10955         * javax/swing/AbstractCellEditor.java: Reformated.
10956         * javax/swing/DefaultListSelectionModel.java
10957         (listenerList): Made protected.
10958         (addListSelectionListener): Javadoc added.
10959         (removeListSelectionListener): Likewise.
10960         (getListeners): Likewise.
10961         (getListSelectionListeners): Likewise.
10962         * javax/swing/JComboBox.java: Merged copyright year.
10963         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10964
10965 2004-01-26  Andrew Haley  <aph@redhat.com>
10966
10967         * javax/swing/table/JTableHeader.java: Extend JComponent
10968
10969 2004-01-26  Kim Ho  <kho@redhat.com>
10970
10971         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10972         Fix spacing.
10973
10974 2004-01-26  Kim Ho  <kho@redhat.com>
10975
10976         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10977         method.
10978         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10979         height and let the Layout Managers readjust anything that
10980         needs to move.
10981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10982         (moveLayout): New method. Shift everything in the Gtk
10983         layout in the Y direction by an offset.
10984
10985 2004-01-26  David Jee  <djee@redhat.com>
10986
10987         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10988         (handleEvent): Implemented. Handles PaintEvents.
10989         (paint): Implemented. Use GTK native methods to queue updates
10990         for this heavyweight peer.
10991         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10992         (handleEvent): Removed.
10993         * java/awt/Component.java
10994         (paint): Implemented. Explictly paint the heavyweight peer.
10995         (update): Clear the background for heavyweight components.
10996         (paintAll): No need to call peer.paint() anymore.
10997         (processEvent): Don't process PaintEvents here. It's now done in
10998         the peer's handleEvent().
10999         (processPaintEvent): Removed.
11000         * java/awt/Container.java
11001         (paint): No need to call super.paint(). Visit heavyweight
11002         children as well.
11003         (update): Don't clear the background here.  It's done in
11004         Component.update().
11005         (visitChildren): Added check to not recurse into Containers.
11006         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11007         (filter_expose_event_handler): New method.  Filter unwanted
11008         expose events while painting heavyweight peers.
11009         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11010         New method. Connect filter and block pre_event_handler.
11011         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11012         New method. Disconnect filter and unblock pre_event_handler.
11013         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11014         New method. Invalidate and update given area.
11015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11016         (pre_event_handler): Add checks for unwanted expose events.
11017
11018 2004-01-26  David Jee  <djee@redhat.com>
11019
11020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11021         (find_bg_color_widget): For GtkButton, return its child.
11022
11023 2004-01-26  Kim Ho  <kho@redhat.com>
11024
11025         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11026         private.
11027         (setMenuBar): Grab MenuBar height and change insets.
11028         (setBounds): Account for MenuBar height.
11029         (postInsetsChangedEvent): Ditto.
11030         (postSizeAllocateEvent): Remove.
11031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11032         (menubar_resize_cb): Remove
11033         (setMenuBarPeer): Remove callback.
11034         (getMenuBarHeight): Use size requisition instead of
11035         allocation.
11036
11037 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11038
11039         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11040         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11041         when peer is null.
11042         (setColumns): Remove FIXME -- peer will retrieve number of
11043         columns by calling getColumns.
11044         (setRows): Likewise for number of rows.
11045         (next_text_number): New field.
11046         (paramString): Fix param string.
11047         (generateName): New method.
11048         (getUniqueLong): New method.
11049
11050 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11051
11052         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11053         image observer of image loading status.
11054         (getImage (String)): Start image production.
11055         (getImage (URL)): Likewise.
11056
11057 2004-01-25  Michael Koch  <konqueror@gmx.de>
11058
11059         * java/lang/Class.java: Imports reworked, reformated.
11060         (Class): Javadoc added.
11061         (forName): Likewise.
11062         (getClasses): Likewise.
11063         (getClassLoader): Likewise.
11064         (getComponentType): Likewise.
11065         (getConstructor): Likewise.
11066         (getConstructors): Likewise.
11067         (getDeclaredConstructor): Likewise.
11068         (getDeclaredClasses): Likewise.
11069         (getDeclaredConstructors): Likewise.
11070         (getDeclaredField): Likewise.
11071         (getDeclaredMethod): Likewise.
11072         (getDeclaredMethods): Likewise.
11073         (getDeclaringClass): Likewise.
11074         (getField): Likewise.
11075         (getInterfaces): Likewise.
11076         (getMethod): Likewise.
11077         (getMethods): Likewise.
11078         (getModifiers): Likewise.
11079         (getName): Likewise.
11080         (getResource): Likewise.
11081         (getResourceAsStream): Likewise.
11082         (getSigners): Likewise.
11083         (setSigners): Likewise.
11084         (getSuperclass): Likewise.
11085         (isArray): Likewise.
11086         (isAssignableFrom): Likewise.
11087         (isInstance): Likewise.
11088         (isInterface): Likewise.
11089         (isPrimitive): Likewise.
11090         (newInstance): Likewise.
11091         (getProtectionDomain): Likewise.
11092         (toString): Likewise.
11093         (Class): Moved.
11094         (initializeClass): Likewise.
11095         (finalize): Likewise.
11096
11097 2004-01-24  Michael Koch  <konqueror@gmx.de>
11098
11099         * gnu/java/net/protocol/jar/Connection.java
11100         (hdrHash): Removed.
11101         (hdrVec): Removed.
11102         (gotHeaders): Removed.
11103         (getHeaderField): Removed.
11104         (getHeaderFields): Removed.
11105         (getHeaderFieldKey): Removed.
11106         (getKey): Removed.
11107         (getField): Removed.
11108         (getHeaders): Removed.
11109
11110 2004-01-24  Michael Koch  <konqueror@gmx.de>
11111
11112         * Makefile.am: Added library version to gtk peer lib.
11113         * Makefile.in: Regenerated.
11114
11115 2004-01-24  Michael Koch  <konqueror@gmx.de>
11116
11117         * java/util/zip/InflaterInputStream.java: Merged class documentation
11118         with classpath.
11119
11120 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11121
11122         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11123         header.  For __powerpc64__ provide the default-signal.h definitions
11124         for now.
11125         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11126         instead of the dummy definitions.
11127         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11128         (powerpc64*-*): Remove with_libffi_default.
11129         Only add -mminimal-toc for 64-bit compilations.
11130         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11131         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11132         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11133         * configure: Rebuilt.
11134
11135 2004-01-23  Michael Koch  <konqueror@gmx.de>
11136
11137         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11138
11139 2004-01-23  Michael Koch  <konqueror@gmx.de>
11140
11141         * java/lang/VMClassLoader.java: Reworked imports.
11142         
11143 2004-01-23  Michael Koch  <konqueror@gmx.de>
11144
11145         * javax/swing/AbstractAction.java: Reformated.
11146
11147 2004-01-23  Michael Koch  <konqueror@gmx.de>
11148
11149         * java/text/CollationElementIterator.java:
11150         (setText): New method.
11151
11152 2004-01-23  Michael Koch  <konqueror@gmx.de>
11153
11154         * gnu/java/nio/FileLockImpl.java:
11155         Fixed filename in copyright.
11156         (released): Removed.
11157         (finalize): New method.
11158         * gnu/java/nio/natFileLockImpl.cc
11159         (releaseImpl): Implemented.
11160         * java/nio/channels/FileChannelImpl.java:
11161         Reworked imports.
11162         (lock): Implemented.
11163         (lockImpl): New method.
11164         (tryLock): Implemented.
11165         (tryLockImpl): New method.
11166         * java/nio/channels/natFileChannelImpl.cc
11167         (lockImpl): New method.
11168         (tryLockImpl): New method.
11169
11170 2004-01-23  Michael Koch  <konqueror@gmx.de>
11171
11172         * java/io/FileDescriptor.java
11173         (lock): New method.
11174         (tryLock): New method.
11175         (unlock): New method.
11176         * java/io/natFileDescriptorEcos.cc
11177         (lock): New method.
11178         (tryLock): New method.
11179         (unlock): New method.
11180         * java/io/natFileDescriptorPosix.cc
11181         (lock): New method.
11182         (tryLock): New method.
11183         (unlock): New method.
11184         * java/io/natFileDescriptorWin32.cc
11185         (lock): New method.
11186         (tryLock): New method.
11187         (unlock): New method.
11188
11189 2004-01-23  Michael Koch  <konqueror@gmx.de>
11190
11191         * java/io/FileDescriptor.java
11192         (sync): Moved around, added javadoc.
11193         (valid): Likewise.
11194         (open): Likewise.
11195         (write): Likewise.
11196         (close): Likewise.
11197         (setLength): Likewise.
11198         (seek): Likewise.
11199         (getLength): Likewise.
11200         (getFilePointer): Likewise.
11201         (read): Likewise.
11202         (available): Likewise.
11203         (finalize): Likewise.
11204
11205 2004-01-23  Michael Koch  <konqueror@gmx.de>
11206
11207         * javax/swing/AbstractAction.java: Reformated.
11208         (getPropertyChangeListeners): New method.
11209         * javax/swing/AbstractCellEditor.java: Reformated.
11210         (getCellEditorListeners): New method.
11211         * javax/swing/DefaultListSelectionModel.java
11212         (listenerList): New field.
11213         (listeners): Removed.
11214         (get_listeners): Removed.
11215         (addListSelectionListener): Rewritten.
11216         (removeListSelectionListener): Rewritten.
11217         (getListSelectionListeners): New method.
11218         (getListeners): New method.
11219         * javax/swing/JComboBox.java: Imports reworked.
11220         (addActionListener): Implemented.
11221         (removeActionListener): Implemented.
11222         (addItemListener): Implemented.
11223         (removeItemListener): Implemented.
11224         (addPopupMenuListener): Implemented.
11225         (removePopupMenuListener): Implemented.
11226         (getActionListeners): New method.
11227         (getItemListeners): New method.
11228         (getPopupMenuListeners): New method.
11229
11230 2004-01-23  Michael Koch  <konqueror@gmx.de>
11231
11232         * gnu/java/net/protocol/http/Connection.java
11233         (connect): Don't initialize bufferedOutputStream if not needed.
11234         (sendRequest): Set property for content length if content is present.
11235         Write content only if present.
11236         (getOutputStream): Check if already connected, dont connect,
11237         initalize bufferedOutputStream if needed.
11238
11239 2004-01-23  Michael Koch  <konqueror@gmx.de>
11240
11241         * java/io/FileDescriptor.java
11242         (in, out, err): Added javadoc.
11243         (static): Merged loading code.
11244         (fd, position): Moved around.
11245
11246 2004-01-23  Michael Koch  <konqueror@gmx.de>
11247
11248         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11249         New file.
11250
11251 2004-01-23  Michael Koch  <konqueror@gmx.de>
11252
11253         * java/lang/Class.java,
11254         java/lang/Object.java,
11255         java/lang/Thread.java: Merged copyright with classpath.
11256
11257 2004-01-23  Michael Koch  <konqueror@gmx.de>
11258
11259         * java/io/FileDescriptor.java: Merged copyright with classpath to
11260         start merging this class.
11261
11262 2004-01-22  Tom Tromey  <tromey@redhat.com>
11263
11264         PR libgcj/13107:
11265         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11266         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11267         * testsuite/libjava.lang/pr13107_3.java: New file.
11268         * testsuite/libjava.lang/pr13107_3.out: New file.
11269         * testsuite/libjava.lang/pr13107_2.java: New file.
11270         * testsuite/libjava.lang/pr13107_2.out: New file.
11271         * testsuite/libjava.lang/pr13107.java: New file.
11272         * testsuite/libjava.lang/pr13107.out: New file.
11273         * verify.cc (jsr_ptrs): Removed.
11274         (entry_points): Likewise.
11275         (struct subr_info): Likewise.
11276         (struct subr_entry_info): Likewise.
11277         (type_val::unused_by_subroutine_type): Likewise.
11278         (type::merge): Don't handle unused_by_subroutine_type.
11279         (type::print): Likewise.
11280         (state::flags): Removed.
11281         (state::subroutine): Likewise.
11282         (state::seen_subrs): Likewise.
11283         (state::NO_STACK): Likewise.
11284         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11285         (state): Updated all methods.
11286         (state::clean_subrs): Removed.
11287         (state::state): Removed `ret_semantics' flag.
11288         (state::copy): Likewise.
11289         (state::add_subr): Removed.
11290         (state::enter_subroutine): Likewise.
11291         (type::set_return_address): New method.
11292         (handle_jsr_insn): Set return address on the type.  Always
11293         invalidate PC after call.
11294         (check_nonrecursive_call): Removed.
11295         (~_Jv_BytecodeVerifier): Updated.
11296         (branch_prepass): Removed special handling of jsr.
11297         (note_branch_target): Likewise.
11298         (get_subroutine): Removed.
11299         (state::merge): Don't merge subroutines and don't handle
11300         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11301         (state::note_variable): Removed.
11302         (state::is_unmerged_ret_state): Likewise.
11303         (state::print): Updated.
11304         (set_variable): Likewise.
11305         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11306         and jsr_semantics arguments.  Updated for new reverification
11307         list.
11308         (pop_jump): Rewrote.
11309         (construct_primitive_array_type): Updated.
11310         (state::next): Removed.
11311         (INVALID_STATE): New define.
11312         (state::INVALID): Removed.
11313         (state::NO_NEXT): New value.
11314         (state::pc, state::next): New fields.
11315         (state::get_pc): New method.
11316         (next_verify_pc): Removed.
11317         (next_verify_state): New field.
11318         (verify_instructions_0): Always check for falling off end.
11319         (linked): New type.
11320         (linked_utf8): Removed.
11321         (states): Changed type.
11322         (type::state_mergeable_p): New method.
11323         (state::state_mergeable_p): Likewise.
11324         (handle_ret_insn): Removed most code.
11325         (state::reverify): New method.
11326         (add_new_state): Likewise.
11327         (state::set_pc): Likewise.
11328
11329 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11330
11331         PR java/13733
11332         * testsuite/libjava.compile/PR13733.java: New file.
11333         * testsuite/libjava.compile/PR13733.xfail: New file.
11334
11335 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11336             Michael Koch  <konqueror@gmx.de>
11337
11338         * javax/swing/table/DefaultTableCellRenderer.java
11339         (DefaultTableCellRenderer): Added javadoc for the class and for
11340         the constructor, Border instance, create an EmptyBorder.
11341         (UIResource): Removed the comment at the end of the class
11342         (setForeground): New method.
11343         (setBackground): New method.
11344         (updateUI): New method.
11345         (getTableCellRendererComponent): Rewritten with the help of
11346         dvholten and Stephane Meslin-Weber.
11347         (validate): New method.
11348         (repaint): New method.
11349         (firePropertyChange): New method.
11350         (setValue): New method.
11351
11352 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11353
11354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11355         (connectJObject): Replace printf calls with g_assert statements.
11356         Move property-notify-event signal connection to ...
11357         (connectSignals): Connect property-notify-event signal.  Iterate
11358         through the vbox's children to find layout.
11359
11360 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11361         
11362         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11363         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11364         Predicate static initialization on GtkToolkit.useGraphics2D().
11365         * java/awt/Component.java (processPaintEvent): Consume event.
11366         * javax/swing/AbstractButton.java: Reimplement, document.
11367         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11368         * javax/swing/JComponent.java (paint): Use double buffer.
11369         (listenerList): Enable member.
11370         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11371         * javax/swing/JToggleButton.java 
11372         (JToggleButton): Modify model constructor.
11373         * javax/swing/SwingUtilities.java 
11374         (layoutCompoundLabel): Adjust arithmetic.
11375         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11376         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11377         (getPreferredButtonSize): Include margins in calculation.
11378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11379         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11380         Receive up events from subordinate layout component.
11381
11382 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11383
11384         * java/awt/Component.java (show): Set visible to true before
11385         showing the peer.
11386
11387 2004-01-21  Kim Ho  <kho@redhat.com>
11388
11389         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11390         Fix comments.
11391         (removeMenuBarPeer): Make package private.
11392         (setMenuBarPeer): Make package private.
11393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11394         (menubar_resize_cb): Mark attributes unused.
11395         (getMenuBarHeight): ditto.
11396
11397 2004-01-21  David Jee  <djee@redhat.com>
11398
11399         * java/awt/Container.java
11400         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11401         dispatching MOUSE_ENTERED event twice. Translate the point for
11402         the mouse event target before dispatching the event.
11403
11404 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11405
11406         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11407         lib_org_w3c_dom_la_LDFLAGS): New.
11408         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11409         * Makefile.in: Rebuilt.
11410
11411 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11412
11413         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11414         Calculate proper offsets for heavyweight components packed in
11415         lightweight containers.
11416
11417         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11419         (native create): Add width parameter.
11420         (create): Calculate text entry width based on current font's
11421         metrics and number of columns.  Set TextField's font if not
11422         already set.  Call native create.
11423         (gtkEntryGetBorderWidth): New native method.
11424         (gtkEntryGetSize): Remove method.
11425         (getMinimumSize): Call minimumSize.
11426         (getPreferredSize): Call preferredSize.
11427         (minimumSize): Calculate minimum size based on backing
11428         GtkEntry's borders, font metrics and number of columns.
11429         (preferredSize): Likewise for preferred size.
11430         (get_border_width): New static function.
11431
11432         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11433         Override GtkWindowPeer's setResizable method to account for menu
11434         bar height when setting the frame's size.
11435
11436 2004-01-19  Matthias Klose  <doko@debian.org>
11437
11438         * libtool-version: Increased `current' to 6.
11439
11440 2004-01-19  Kim Ho  <kho@redhat.com>
11441
11442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11443         (connectJObject): Iterate through the vbox's children to find layout.
11444
11445 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11446
11447         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11448         isDispatchThread method to replace wrong test condition.
11449
11450 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11451
11452         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11453         events to the queue out of order by acquiring locks in the proper
11454         order and not by releasing one before acquiring the other.
11455
11456 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11457
11458         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11459         visible so that dialog can be reused.
11460
11461 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11462
11463         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11464         events may be handled by any queue in the stack.
11465
11466 2004-01-19  Kim Ho  <kho@redhat.com>
11467
11468         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11469         MenuBarPeer parameter.
11470         (removeMenuBarPeer): New native method.
11471         (setMenuBar): Call remove if menu bar is null. Adjust insets
11472         appropriately.
11473         (postSizeAllocateEvent): New method. Called when menu bar size is
11474         allocated. Adjust insets and redo layout.
11475         (GtkFramePeer): Set menu bar during frame creation.
11476         (postConfigureEvent): Adjust position and size to accomodate
11477         menu bar.
11478         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11479         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11480         (addNotify): Create the peer if it doesn't exist and call addNotify
11481         for the menu's items.
11482         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11483         * java/awt/MenuItem.java (addNotify): Create the peer if it
11484         doesn't exist.
11485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11486         (removeMenuBarPeer): New method. Remove menu bar on the current
11487         frame.
11488         (setMenuBarPeer): Add the menu bar to the current frame and the
11489         callback for size-allocate events on the menu bar.
11490         (getMenuBarHeight): Add menu bar parameter.
11491         (menubar_resize_cb): New callback method for postSizeAllocate events.
11492
11493         Also: Fix indentation on last ChangeLog entry.
11494
11495 2004-01-16  Kim Ho  <kho@redhat.com>
11496
11497         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11498         (gtkWidgetGetDimensions): Remove.
11499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11500         (gtkWidgetGetDimensions): Remove.
11501
11502 2004-01-16  Tom Tromey  <tromey@redhat.com>
11503
11504         * java/awt/Container.java: Typo and indentation fixes.
11505
11506         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11507         * java/lang/natVMClassLoader.cc: ...here.  New file.
11508         * Makefile.in: Rebuilt.
11509         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11510
11511 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11512
11513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11514         Discard GDK_ENTER_NOTIFY related to ungrabs.
11515
11516 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11517
11518         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11519         is called for an intermediate queue.
11520
11521 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11522
11523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11524         (window_property_changed_cb): Set id_set.
11525
11526 2004-01-16  Kim Ho  <kho@redhat.com>
11527
11528         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11529         it is a FileDialog and has dimensions of 0 by 0, then the initial
11530         size is set to size request plus insets.
11531         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11532         (gtkWidgetGetDimensions): Override method.
11533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11534         (gtkWidgetGetDimensions): Override method. Returns size request plus
11535         insets.
11536
11537 2004-01-16  Andrew Haley  <aph@redhat.com>
11538
11539         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11540         * sysdep/i386/locks.h: Likewise.
11541
11542 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11543
11544         * java/awt/EventDispatchThread.java (run): Stop running when
11545         interrupted.
11546         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11547         Reset the queue after transferring its contents.
11548         (push): Start a new dispatch thread if none is running.
11549
11550 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11551
11552         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11553         (doPolygon): set fill rule of polygon to 
11554         WIND_EVEN_ODD by default.
11555
11556 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11557
11558         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11559         Implemented rendering hints related methods.
11560         (getDefaultHints): New helper method. Returns
11561         default rendering hints.
11562         (walkPath): changed to normalize path if
11563         the KEY_STROKE_CONTROL key is in "normalize" mode.
11564         (draw3DRect): changed coordinates of rectangle by +0.5
11565         if in "normalize" mode.
11566
11567 2004-01-15  Tom Tromey  <tromey@redhat.com>
11568
11569         * Makefile.in: Rebuilt.
11570         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11571         (%.lo: %.java) Filter out StackTrace.lo.
11572
11573 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11574
11575         * configure.in: Add in AC_PREREQ(2.13)
11576         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11577         FIXME comment.
11578
11579 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11580             Tom Tromey  <tromey@redhat.com>
11581
11582         PR libgcj/12001:
11583         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11584         array to superclass.
11585         (init): Changed interface; add URLs here.
11586         (initialize): New static method.
11587         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11588         (_Jv_RunMain): ... not here.
11589
11590 2004-01-14  Michael Koch  <konqueror@gmx.de>
11591
11592         * java/text/MessageFormat.java:
11593         Added descriptions to exceptions.
11594         This fixes PR libgcj/2429.
11595
11596 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11597
11598         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11599         (push): Make sure push is performed at the top of the thread stack.
11600
11601 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11602
11603         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11604         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11605         (native create): Add width and height parameters.  Set text
11606         view's size request according to new parameters.
11607         (create): Calculate text view size based on current font's
11608         metrics and number of rows and columns.  Set TextArea's font if
11609         not already set.  Call native create.
11610         (getMinimumSize): Call minimumSize.
11611         (getPreferredSize): Call preferredSize.
11612         (getHScrollbarHeight): New method.
11613         (getVScrollbarWidth): New method.
11614         (minimumSize): Calculate minimum size based on scrollbar
11615         visibility, scrollbar sizes, font metrics and number of rows and
11616         columns.
11617         (preferredSize): Likewise for preferred size.
11618         (gtkTextGetSize): Remove method.
11619
11620 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11621
11622         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11623         (initializeInsets): Remove method.
11624         (GtkComponentPeer): Initialize insets field.  Remove call to
11625         initializeInsets.
11626         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11627         Remove method.
11628         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11629         Remove method.
11630         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11631         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11632         (latestInsets): Remove field.
11633         (native create): Add insets parameter.  Call
11634         window_get_frame_extents.  Set the window's default size and
11635         size request based on its frame extents.
11636         (create): Initialize insets.
11637         (postInsetsChangedEvent): New method.
11638         (postConfigureEvent): Remove parameters top, left, bottom,
11639         right.  Remove insets-related logic.
11640         (connectJObject): Handle property-notify-event.
11641         (window_get_frame_extents, request_frame_extents,
11642         property_notify_predicate, window_property_changed_cb): New
11643         static functions.
11644         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11645         (pre_event_handler): Remove insets-related logic for configure
11646         events.
11647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11648         Update postConfigureEvent signature.
11649
11650 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11651  
11652         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11653         to handle Window "Closing" events.
11654  
11655 2004-01-13  David Jee  <djee@redhat.com>
11656
11657         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11658         (setBackground): New method. Children with no explicitly-set
11659         background will be repainted with the parent container's new
11660         background color.
11661
11662 2004-01-13  David Jee  <djee@redhat.com>
11663
11664         * Makefile.am: Add BitwiseXORComposite.java.
11665         * Makefile.in: Regenerated.
11666         * gcj/Makefile.in: Regenerated.
11667         * include/Makefile.in: Regenerated.
11668         * testsuite/Makefile.in: Regenerated.
11669
11670 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11671
11672         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11673         not show modal dialogs twice and so that it allows showing a modal
11674         dialog from another modal dialog.
11675
11676 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11677
11678         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11679         and run secondary dispatch thread to process event queue while this
11680         thread is blocked.
11681
11682 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11683
11684         * gnu/java/awt/gtk/GdkGraphics2D.java
11685         (static): Check GtkToolkit before initializing static state.
11686         (Graphics2D): Don't construct transform with 0.5 unit offset.
11687
11688 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11689
11690         * gnu/java/awt/BitwiseXORComposite.java: Add.
11691         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11692         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11693         (BitwiseXORComposite): Remove inner class.
11694
11695 2004-01-11  Michael Koch  <konqueror@gmx.de>
11696
11697         * gnu/java/lang/reflect/TypeSignature.java
11698         (getEncodingOfClass): Documentation fixed.
11699         (getClassForEncoding): Give class loader to Class.forName().
11700         Documentation fixed.
11701
11702 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11703
11704         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11705
11706 2004-01-11  Michael Koch  <konqueror@gmx.de>
11707
11708         * javax/swing/undo/StateEditable.java
11709         (RCSID): Removed redundant modifiers.
11710
11711 2004-01-10  Michael Koch  <konqueror@gmx.de>
11712
11713         * javax/print/attribute/EnumSyntax.java
11714         (getStringTable): Made protected.
11715         (getEnumValueTable): Likewise.
11716         * javax/print/attribute/standard/JobKOctetsProcessed.java
11717         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11718         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11719         (JobMediaSheetsCompleted): Made class final.
11720         * javax/print/attribute/standard/OutputDeviceAssigned.java
11721         (getName): Fixed typo.
11722         * javax/print/attribute/standard/RequestingUserName.java
11723         (serialVersionUID): Fixed value.
11724
11725 2004-01-10  Michael Koch  <konqueror@gmx.de>
11726
11727         * javax/swing/plaf/basic/BasicButtonUI.java,
11728         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11729         javax/swing/plaf/basic/BasicListUI.java,
11730         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11731         javax/swing/plaf/basic/BasicPanelUI.java,
11732         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11733         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11734         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11735         javax/swing/plaf/basic/BasicViewportUI.java:
11736         Fixed import statements.
11737
11738 2004-01-10  Michael Koch  <konqueror@gmx.de>
11739
11740         * gnu/java/awt/image/ImageDecoder.java
11741         (produce): Made public.
11742         * gnu/java/awt/peer/GLightweightPeer.java,
11743         gnu/java/awt/peer/gtk/GtkToolkit.java:
11744         Reformated.
11745
11746 2004-01-10  Michael Koch  <konqueror@gmx.de>
11747
11748         * javax/swing/JRadioButtonMenuItem.java,
11749         javax/swing/JSeparator.java,
11750         javax/swing/JSplitPane.java,
11751         javax/swing/JTextPane.java,
11752         javax/swing/JToolBar.java,
11753         javax/swing/ListCellRenderer.java,
11754         javax/swing/ListModel.java,
11755         javax/swing/MenuElement.java,
11756         javax/swing/OverlayLayout.java,
11757         javax/swing/ProgressMonitor.java,
11758         javax/swing/ProgressMonitorInputStream.java,
11759         javax/swing/Renderer.java,
11760         javax/swing/RootPaneContainer.java,
11761         javax/swing/Scrollable.java,
11762         javax/swing/SingleSelectionModel.java,
11763         javax/swing/ToolTipManager.java,
11764         javax/swing/ViewportLayout.java,
11765         javax/swing/event/DocumentEvent.java,
11766         javax/swing/event/SwingPropertyChangeSupport.java,
11767         javax/swing/event/TreeSelectionEvent.java,
11768         javax/swing/event/UndoableEditEvent.java,
11769         javax/swing/text/AbstractDocument.java,
11770         javax/swing/text/AttributeSet.java,
11771         javax/swing/text/Caret.java,
11772         javax/swing/text/ComponentView.java,
11773         javax/swing/text/DefaultCaret.java,
11774         javax/swing/text/DefaultEditorKit.java,
11775         javax/swing/text/Document.java,
11776         javax/swing/text/EditorKit.java,
11777         javax/swing/text/GapContent.java,
11778         javax/swing/text/Keymap.java,
11779         javax/swing/text/MutableAttributeSet.java,
11780         javax/swing/text/PlainEditorKit.java,
11781         javax/swing/text/Segment.java,
11782         javax/swing/text/Style.java,
11783         javax/swing/text/StyledDocument.java,
11784         javax/swing/text/StyledEditorKit.java,
11785         javax/swing/text/TextAction.java,
11786         javax/swing/text/View.java: Fixed import statements.
11787
11788 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11789
11790         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11791         djee@redhat.com's recent inverse ordering of Container elements.
11792
11793 2004-01-09  Michael Koch  <konqueror@gmx.de>
11794
11795         * gnu/java/lang/ArrayHelper.java
11796         (equalsArray): Removed.
11797
11798 2004-01-09  Andrew Haley  <aph@redhat.com>
11799
11800         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11801         a Utf8Const field before looking at its class.
11802
11803 2004-01-09  Michael Koch  <konqueror@gmx.de>
11804
11805         * javax/print/attribute/standard/DocumentName.java,
11806         javax/print/attribute/standard/JobHoldUntil.java,
11807         javax/print/attribute/standard/JobMessageFromOperator.java,
11808         javax/print/attribute/standard/JobName.java,
11809         javax/print/attribute/standard/JobOriginatingUserName.java,
11810         javax/print/attribute/standard/OutputDeviceAssigned.java,
11811         javax/print/attribute/standard/PrinterInfo.java,
11812         javax/print/attribute/standard/PrinterLocation.java,
11813         javax/print/attribute/standard/PrinterMakeAndModel.java,
11814         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11815         javax/print/attribute/standard/PrinterName.java,
11816         javax/print/attribute/standard/RequestingUserName.java: New files.
11817         * Makefile.am (javax_source_files): Added new files.
11818         * Makefile.in: Regenerated.
11819
11820 2004-01-09  Michael Koch  <konqueror@gmx.de>
11821
11822         * javax/swing/AbstractAction.java,
11823         javax/swing/AbstractSet.java,
11824         javax/swing/Action.java,
11825         javax/swing/ActionMap.java,
11826         javax/swing/BoundedRangeModel.java,
11827         javax/swing/ButtonModel.java,
11828         javax/swing/CellEditor.java,
11829         javax/swing/CellRendererPane.java,
11830         javax/swing/ComboBoxEditor.java,
11831         javax/swing/DebugGraphics.java,
11832         javax/swing/DefaultCellEditor.java,
11833         javax/swing/DefaultCellRenderer.java,
11834         javax/swing/DefaultComboBoxModel.java,
11835         javax/swing/DefaultDesktopManager.java,
11836         javax/swing/DefaultFocusManager.java,
11837         javax/swing/DefaultListCellRenderer.java,
11838         javax/swing/Icon.java,
11839         javax/swing/JButton.java,
11840         javax/swing/JCheckBoxMenuItem.java,
11841         javax/swing/JDesktopPane.java,
11842         javax/swing/JEditorPane.java,
11843         javax/swing/JMenu.java,
11844         javax/swing/JPanel.java,
11845         javax/swing/JPasswordField.java,
11846         javax/swing/JPopupMenu.java,
11847         javax/swing/JProgressBar.java: Reworked imports.
11848
11849 2004-01-09  Michael Koch  <konqueror@gmx.de>
11850
11851         * java/awt/geom/PathIterator.java
11852         (WIND_EVEN_ODD): Removed redundant modifiers.
11853         (WIND_NON_ZERO): Likewise.
11854         (SEG_MOVETO): Likewise.
11855         (SEG_LINETO): Likewise.
11856         (SEG_QUADTO): Likewise.
11857         (SEG_CUBICTO): Likewise.
11858         (SEG_CLOSE): Likewise.
11859         * java/awt/image/SinglePixelPackedSampleModel.java:
11860         Removed redundant semicolon.
11861         * java/io/ObjectInputStream.java
11862         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11863         * java/util/logging/Filter.java
11864         (isLoggable): Removed redundant modifier.
11865         * java/util/logging/LogManager.java:
11866         Removed redundant semicolon.
11867         * java/util/logging/XMLFormatter.java
11868         (format): Removed unused variable "key".
11869
11870 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11871
11872         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11873         New name for the former setFile native method.
11874         (setFile): New method.
11875         (setDirectory): Implemented.
11876         (connectSignals): New native method.
11877         (setFilenameFilter): Improve comment.
11878         (getGraphics): Comment.
11879         (gtkHideFileDialog): New method.
11880         (gtkDisposeFileDialog): New method.
11881         (gtkSetFilename): New method.
11882         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11883         for FileDialog for now.
11884         (hide): New method.
11885         (dispose): New method.
11886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11887         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11888         deprecated creation functions.  Make dialog modal.  Add it to the
11889         window group.
11890         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11891         function.
11892         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11893         Rename to...
11894         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11895         name.
11896         (window_closed): New function.
11897         (ok_clicked): New function.
11898         (cancel_clicked): New function.
11899
11900 2004-01-08  Michael Koch  <konqueror@gmx.de>
11901
11902         * javax/swing/JLayeredPane.java: Revert changes to standard
11903         boilerplate, reworked imports.
11904
11905 2004-01-07  Tom Tromey  <tromey@redhat.com>
11906
11907         PR libgcj/13439:
11908         * verify.cc (state::merge): Copy changed locals out of subroutine
11909         in NO_STACK case.
11910         (state::FLAG_CHANGED): New const.
11911         (state::FLAG_UNUSED): Likewise.
11912         (state::local_changed): Removed.  Updated all users.
11913         (state::flags): New field.
11914         (state::merge): Added jsr_semantics argument, more logic.
11915         (push_jump_merge): Added jsr_semantics argument.
11916         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11917         merging through the jsr instruction.
11918
11919 2004-01-07  Tom Tromey  <tromey@redhat.com>
11920
11921         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11922         backslash-newline.
11923
11924 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11925
11926         * java/awt/Container.java (LightweightDispatcher): Implement.
11927         (visitChild): Reuse graphics object.
11928         (dispatchEventImpl): Optionally dispatch to lightweight.
11929         (addNotifyContainerChildren): Build LightweightDispatcher.
11930
11931 2004-01-07  David Jee  <djee@redhat.com>
11932
11933         * java/awt/Container.java
11934         (update): Clear only the clipped region, instead of clearing the
11935         entire Container.
11936         (visitChildren): Visit children in descending order.
11937
11938 2004-01-07  Michael Koch  <konqueror@gmx.de>
11939
11940         * java/lang/reflect/Array.java: Merged documentation with classpath.
11941
11942 2004-01-07  Michael Koch  <konqueror@gmx.de>
11943
11944         * java/text/CollationElementIterator.java
11945         (textIndex): Renamed from index.
11946         * java/text/CollationKey.java
11947         (collator): New member.
11948         (CollationKey): New argument for parent collator.
11949         (equals): Check for same collator, source string and key array.
11950         * java/text/RuleBasedCollator.java:
11951         Reformated.
11952         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11953         value.
11954         (getCollationElementIterator): Rewritten.
11955         (getCollationKey): Added new argument to CollationKey constructor.
11956
11957 2004-01-07  Michael Koch  <konqueror@gmx.de>
11958
11959         * gnu/java/nio/DatagramChannelImpl.java
11960         (blocking): Removed.
11961         (DatagramChannelImpl): Call configureBlocking().
11962         (implConfigureBlocking): Dont initialize blocking.
11963         * gnu/java/nio/ServerSocketChannelImpl.java
11964         (blocking): Removed.
11965         (ServerSocketChannelImpl): Call configureBlocking().
11966         (implConfigureBlocking): Dont initialize blocking.
11967         * gnu/java/nio/SocketChannelImpl.java
11968         (blocking): Removed.
11969         (SocketChannelImpl): Call configureBlocking().
11970         (implConfigureBlocking): Dont initialize blocking.
11971         (connect): Use isBlocking().
11972         * java/nio/channels/spi/AbstractSelectableChannel.java
11973         (configureBlocking): Use blockingLock() instead of LOCK.
11974         Set blocking after successfully called implConfigureBlocking().
11975         (register): Use blockingLock() instead of LOCK.
11976
11977 2004-01-07  Michael Koch  <konqueror@gmx.de>
11978
11979         * java/net/ServerSocket.java (isBound): Fixed documentation.
11980
11981 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11982
11983         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11984         (changeEvent): Create event object on demand.
11985         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11986         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11987         fireStateChanged): Re-written.
11988         * javax/swing/event/EventListenerList.java: Reformatted, document
11989         typical usage.
11990         (toString): Implemented.
11991         (getListeners): Re-written.
11992         (remove): Re-written.
11993         (add): Re-written.
11994         (NO_LISTENERS): New singleton field.
11995         (listenerList): Declare as transient; document.
11996         (serialVersionUID): Document.
11997         (getListenerCount(Class)): More efficient implementation,
11998         also accepts null argument.  Improve Javadoc.
11999         (getListenerCount()): Remove unnecessary cast; docfix.
12000         * javax/swing/undo/UndoableEditSupport.java:
12001         Re-format, document.
12002         (UndoableEditSupport): Set realSource field. Improve documentation.
12003         (_postEdit): Iterate over cloned listener vector.
12004         (toString): Don't emit realSource.
12005         (beginUpdate, endUpdate): Support nested updates.
12006         (postEdit): Use compound edit if present.
12007
12008 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12009
12010         * java/awt/Container.java (swapComponents): Add forgotten
12011         function, required for JLayeredPane change.
12012
12013 2004-01-06  Michael Koch  <konqueror@gmx.de>
12014
12015         * java/text/CollationElementIterator.java: Reformated.
12016         (CollationElementIterator): Changed order of arguments.
12017         * java/text/RuleBasedCollator.java
12018         (RuleBasedCollator): Merged class documentation.
12019         (CollationElement): Added documentation.
12020         (compare): Reformated, renamed arguments.
12021         (equals): Likewise.
12022         (getCollationElementIterator): Likewise.
12023         (getCollationKey): Likewise.
12024
12025 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12026
12027         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12028
12029 2004-01-06  Michael Koch  <konqueror@gmx.de>
12030
12031         * gnu/java/net/protocol/file/Connection.java:
12032         Reformated copyright.
12033         (hdrHash): Removed.
12034         (hdrVec): Removed.
12035         (gotHeaders): Removed.
12036         (getHeaderField): Removed.
12037         (getHeaderField): Removed.
12038         (getHeaderFieldKey): Removed.
12039         (getKey): Removed.
12040         (getField): Removed.
12041         (getHeaders): Removed.
12042
12043 2004-01-06  Michael Koch  <konqueror@gmx.de>
12044
12045         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12046         javax/print/attribute/standard/DateTimeAtCreation.java,
12047         javax/print/attribute/standard/DateTimeAtProcessing.java,
12048         javax/print/attribute/standard/JobImpressionsCompleted.java,
12049         javax/print/attribute/standard/JobKOctets.java,
12050         javax/print/attribute/standard/JobKOctetsProcessed.java,
12051         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12052         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12053         * Makefile.am (javax_source_files): Added new files.
12054         * Makefile.in: Regenerated.
12055
12056 2004-01-06  Michael Koch  <konqueror@gmx.de>
12057
12058         * java/net/URLConnection.java
12059         (contentHandler): Removed.
12060         (locale): Removed.
12061         (getHeaderFields): Return an empty map instead of null.
12062         (getContent): Connect if needed, renamed "cType" to "type" and
12063         "contentHandler" to "ch" and made it a local variable.
12064         (getPermission): Don't use package in class name.
12065         (setDefaultRequestProperty): Fixed typo in documentation.
12066         (initializeDateFormats): Made locale a local variable.
12067
12068 2004-01-06  Michael Koch  <konqueror@gmx.de>
12069
12070         * java/lang/Package.java
12071         (getPackage): Get the current class loader directly.
12072         * java/lang/SecurityManager.java
12073         (currentLoadedClass): Dont iterate over class contexts.
12074         (classLoaderDepth): Don't check class loaders if everything is allowed.
12075
12076 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12077
12078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12079         (pre_event_handler): Set all insets to 0 when a Configure event
12080         is received for a GtkPlug.
12081         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12082         Make handle long, not int.
12083         (EmbeddedWindow()): New constructor.
12084         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12085         long, not int.
12086         (setHandle): New method.
12087         (getHandle): Return long, not int.
12088         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12089         declaration.
12090         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12091         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12092         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12093         argument to GdkNativeWindow.
12094         (construct): New method.
12095         (embed): New method.
12096
12097         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12098         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12099         (create(int, int)): New method.
12100         (create): Call new create method.
12101         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12102         methods.
12103         (childResized): Remove native implementation.  Implement in
12104         Java.
12105         (getHScrollbarHeight, getVScrollbarWidth): Call
12106         gtk_widget_size_request to get scrollbar dimensions.
12107         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12108         call getVScrollbarWidth and getHScrollbarHeight when vertical
12109         and horizontal scrollbars respectively are needed.
12110         (doLayout): Enlarge child if it is smaller than the viewport.
12111
12112 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12113
12114         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12115         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12116         argument as per spec.
12117
12118 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12119
12120         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12121         (insert): Ditto.
12122         (remove): Ditto.  Also, Check for valid argument.
12123         (removeAll): Use peer interface method.
12124         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12125         native add function.
12126         (nativeRemove): New name for native remove function.
12127         (getHistory): New native function.
12128         (constructor): Generate ItemEvent.
12129         (add): Ditto, if selection is changed.
12130         (remove): Ditto, ditto.
12131         (removeAll): Add implementation.
12132         (handleEvent): Remove.  Dead code.
12133         (choicePostItemEvent): Add comment.
12134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12135         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12136         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12137         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12138         comments and fix condition to change selection.
12139         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12140         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12141         remove all capability.
12142         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12143         (item_activate): Add cast to remove compiler warning.
12144
12145 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12146
12147         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12148         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12149         (getPreferredSize): Call preferredSize.
12150         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12151         (getMinimumSize): Call minimumSize.
12152         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12153         (gtkWidgetGetDimensions): Return the peer widget's current size
12154         request.
12155         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12156         natural size request.
12157
12158 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12159
12160         Thanks to Brian Gough <bjg@network-theory.com>
12161         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12162         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12163
12164 2004-01-04  Matthias Klose  <doko@debian.org>
12165
12166         * aclocal.m4: Rebuilt using "aclocal -I .".
12167         * configure: Rebuilt.
12168
12169 2004-01-03  Per Bothner  <per@bothner.com>
12170
12171         * java/util/Date.java (parse):  Fix a number of problems.
12172         (skipParens):  Remove no-longer-needed method.
12173