OSDN Git Service

* include/jni.h: Added FIXME.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-09  Tom Tromey  <tromey@redhat.com>
2
3         * include/jni.h: Added FIXME.
4
5 2004-11-08  Tom Tromey  <tromey@redhat.com>
6
7         * java/util/GregorianCalendar.java: Removed unused imports.
8         * java/util/Vector.java: Removed unused import.
9
10 2004-11-07  Michael Koch  <konqueror@gmx.de>
11
12         * java/lang/Process.java:
13         Import cleanups.
14
15 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
16
17         * java/util/zip/ZipEntry.java
18         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
19
20 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
21
22         Fixes bug #10908
23         * gnu/java/beans/IntrospectionIncubator.java:
24         (addMethod): static methods are discarded now, too.
25
26 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
27
28         * java/util/GregorianCalendar.java
29         Added/amended documentation.
30
31 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
32
33         * java/util/Collections.java
34         Added documentation.
35         * java/util/SortedMap.java
36         Clarified some method examples.
37         * java/util/SortedSet.java
38         Clarified some method examples.
39
40 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
41
42         * java/util/Currency.java
43         Documented variables and methods more fully.
44         Caches the currency instances, so that a request
45         for a locale, l, only ever returns the same
46         instance (i.e. successive calls to getInstance(l)
47         are reference equivalent (==)).
48
49 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
50
51         * java/util/Date.java
52         Added missing documentation.
53
54 2004-11-06  Michael Koch  <konqueror@gmx.de>
55
56         * java/util/zip/CheckedInputStream.java,
57         java/util/zip/InflaterInputStream.java,
58         java/util/zip/ZipFile.java,
59         java/util/zip/ZipInputStream.java:
60         Import cleanups.
61
62 2004-11-06  Tom Tromey  <tromey@redhat.com>
63
64         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
65         package-private.
66         (connections): Likewise.
67         (scavenger): Likewise.
68         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
69         package-private.
70         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
71         package-private.
72         (ptr): Likewise.
73         * gnu/classpath/ServiceFactory.java (log): Now package-private.
74
75 2004-11-06  Tom Tromey  <tromey@redhat.com>
76
77         * javax/naming/directory/BasicAttributes.java (attributes): Now
78         package-private.
79         * javax/imageio/spi/ServiceRegistry.java (categories): Now
80         package-private.
81
82 2004-11-06  Tom Tromey  <tromey@redhat.com>
83
84         * java/net/URLClassLoader.java (URLClassLoader): Now
85         package-private.
86         * java/nio/charset/CoderResult.java (CoderResult): Now
87         package-private.
88         (get): Likewise.
89         (Cache): Likewise.  Don't synchronize on `this'.
90         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
91         package-private.
92         * java/util/TimeZone.java (timezones): Now package-private.
93
94 2004-11-06  Tom Tromey  <tromey@redhat.com>
95
96         * java/security/Permissions.java (perms): Now package-private.
97         * java/security/UnresolvedPermission.java (permissions): Now
98         package-private.
99
100 2004-11-06  Tom Tromey  <tromey@redhat.com>
101
102         * java/io/FilePermission.java: Reindented.
103
104 2004-11-06  Tom Tromey  <tromey@redhat.com>
105
106         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
107         package-private.
108         (setBlockDataMode): Likewise.
109
110 2004-11-06  Tom Tromey  <tromey@redhat.com>
111
112         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
113         package-private.
114         (Encoder): Likewise.
115         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
116         (Encoder): Likewise.
117         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
118         package-private.
119         (Encoder): Likewise.
120
121 2004-11-06  Mark Wielaard  <mark@klomp.org>
122
123         * Makefile.am: Add new javax.imageio files.
124         * Makefile.in: Regenerated.
125
126 2004-11-06  Michael Koch  <konqueror@gmx.de>
127
128         * javax/imageio/event/IIOReadProgressListener.java,
129         javax/imageio/event/IIOReadUpdateListener.java,
130         javax/imageio/event/IIOReadWarningListener.java,
131         javax/imageio/event/IIOWriteProgressListener.java,
132         javax/imageio/event/IIOWriteWarningListener.java,
133         javax/imageio/metadata/IIOMetadataFormat.java,
134         javax/imageio/stream/FileCacheImageInputStream.java,
135         javax/imageio/stream/FileCacheImageOutputStream.java,
136         javax/imageio/stream/ImageInputStreamImpl.java:
137         Import cleanup.
138         * javax/imageio/metadata/package.html: New file.
139
140 2004-11-06  Michael Koch  <konqueror@gmx.de>
141
142         * javax/imageio/spi/ImageReaderSpi.java
143         (isOwnReader): New method.
144         * javax/imageio/spi/ImageWriterSpi.java
145         (isOwnWriter): Likewise.
146
147 2004-11-06  Michael Koch  <konqueror@gmx.de>
148
149         * javax/imageio/ImageWriter.java
150         (convertImageMetadata): New abstract method.
151         (convertStreamMetadata): Likewise.
152         (write): Likewise.
153         * javax/imageio/stream/FileCacheImageInputStream.java
154         (close): Fixed setting of stream to null.
155         (checkStreamClosed): Throws IOException.
156
157 2004-11-06  Michael Koch  <konqueror@gmx.de>
158
159         * javax/imageio/stream/FileCacheImageInputStream.java,
160         javax/imageio/stream/FileCacheImageOutputStream.java,
161         javax/imageio/stream/FileImageInputStream.java,
162         javax/imageio/stream/FileImageOutputStream.java,
163         javax/imageio/stream/MemoryCacheImageInputStream.java,
164         javax/imageio/stream/MemoryCacheImageOutputStream.java:
165         New files.
166
167 2004-11-06  Michael Koch  <konqueror@gmx.de>
168
169         * javax/imageio/metadata/IIOInvalidTreeException.java,
170         javax/imageio/metadata/IIOMetadataFormatImpl.java,
171         javax/imageio/metadata/IIOMetadataNode.java:
172         New stub files.
173
174 2004-11-06  Michael Koch  <konqueror@gmx.de>
175
176         * javax/imageio/stream/ImageInputStreamImpl.java,
177         javax/imageio/stream/ImageOutputStreamImpl.java:
178         New files.
179
180 2004-11-06  Michael Koch  <konqueror@gmx.de>
181
182         * javax/imageio/ImageIO.java:
183         Added much new methods.
184
185 2004-11-06  Michael Koch  <konqueror@gmx.de>
186
187         * javax/imageio/ImageReader.java,
188         javax/imageio/ImageWriter.java,
189         javax/imageio/spi/ImageWriterSpi.java:
190         Add SOME new methods.
191
192 2004-11-06  Michael Koch  <konqueror@gmx.de>
193
194         * javax/imageio/IIOParam.java,
195         javax/imageio/ImageReadParam.java,
196         javax/imageio/ImageReader.java,
197         javax/imageio/ImageWriter.java:
198         Mostly implemented.
199         * javax/imageio/spi/ImageReaderSpi.java,
200         javax/imageio/spi/ImageWriterSpi.java:
201         New files.
202
203 2004-11-06  Michael Koch  <konqueror@gmx.de>
204
205         * javax/imageio/ImageWriteParam.java,
206         javax/imageio/metadata/IIOMetadataFormat.java:
207         Implemented.
208
209 2004-11-06  Michael Koch  <konqueror@gmx.de>
210
211         * javax/imageio/ImageTypeSpecifier.java:
212         Mostly implemented.
213
214 2004-11-06  Michael Koch  <konqueror@gmx.de>
215
216         * javax/imageio/metadata/IIOMetadata.java:
217         Mostly implemented.
218
219 2004-11-06  Michael Koch  <konqueror@gmx.de>
220
221         * javax/imageio/IIOImage.java,
222         javax/imageio/ImageReadParam.java,
223         javax/imageio/metadata/IIOMetadataController.java,
224         javax/imageio/metadata/IIOMetadataFormat.java:
225         New files.
226         * javax/imageio/stream/ImageOutputStream.java:
227         Implemented.
228
229 2004-11-06  Michael Koch  <konqueror@gmx.de>
230
231         * javax/imageio/IIOParam.java,
232         javax/imageio/IIOParamController.java,
233         javax/imageio/ImageTypeSpecifier.java,
234         javax/imageio/ImageWriteParam.java,
235         javax/imageio/metadata/IIOMetadata.java:
236         New files.
237         * javax/imageio/ImageTranscoder.java:
238         Implemented.
239
240 2004-11-06  Michael Koch  <konqueror@gmx.de>
241
242         * javax/imageio/spi/ImageInputStreamSpi.java,
243         javax/imageio/spi/ImageOutputStreamSpi.java:
244         Reworked import startments.
245         * javax/imageio/spi/ServiceRegistry.java:
246         Reworked import startments. Fixed XHTML in javadocs.
247         (ServiceRegistry): Added @param tag to javadoc.
248         * javax/imageio/stream/ImageInputStream.java
249         (mark): Doesn't throws IOException;
250
251 2004-11-06  Michael Koch  <konqueror@gmx.de>
252
253         * javax/imageio/ImageIO.java:
254         New file.
255
256 2004-11-06  Michael Koch  <konqueror@gmx.de>
257
258         * javax/imageio/spi/IIORegistry.java
259         (static): Don't register ImageReaderSpi.class and
260         ImageWriterSpi.class yet.
261
262 2004-11-06  Michael Koch  <konqueror@gmx.de>
263
264         * javax/imageio/spi/IIORegistry.java:
265         New file.
266
267 2004-11-06  Noa Resare  <noa@resare.com>
268
269         * java/net/Socket.java (getPort): Return 0 instead of -1 on
270         unconnected sockets.
271
272 2004-11-06  Michael Koch  <konqueror@gmx.de>
273
274         * java/lang/StringBuffer.java,
275         java/lang/Throwable.java,
276         java/security/spec/DSAParameterSpec.java,
277         java/util/zip/ZipEntry.java,
278         java/util/zip/ZipFile.java,
279         java/util/zip/ZipInputStream.java,
280         java/util/zip/ZipOutputStream.java:
281         Removed redundant and reordered modifiers.
282
283 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
284
285         * java/io/Vector.java
286         (writeObject): New function to serialized output thread safe.
287
288         * java/io/ObjectOutputStream.java
289         (writeObject): Move the assignment of the class handle to after
290         the assignment of class descriptor handle.
291
292 2004-11-06  Robert Schuster <thebohemian@gmx.net>
293
294         Fixes documentation and indentation
295         * java/beans/PropertyEditorSupport.java:
296         reworked initial API doc
297         (value): changed name from val
298
299 2004-11-06  Robert Schuster <thebohemian@gmx.net>
300
301         Updates to 1.5
302         * java/beans/PropertyEditorSupport.java
303         (PropertyEditorSupport()): Changed modifier to public
304         (PropertyEditorSupport(Object): Changed modifier to public
305         (setSource): New method
306         (getSource): New method
307
308 2004-11-06  Robert Schuster <thebohemian@gmx.net>
309
310         Fixes bug #10799
311         * java/beans/PropertyEditorSupport.java
312         (setValue): Fire property change event
313
314 2004-11-03  Tom Tromey  <tromey@redhat.com>
315
316         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
317         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
318         returns jobjectArray.
319         (_Jv_JNIEnv::NewObjectArray): Likewise.
320
321 2004-11-01  Tom Tromey  <tromey@redhat.com>
322
323         * verify.cc (state::check_no_uninitialized_objects): Removed.
324         (push_jump): Updated.
325         (push_exception_jump): Likewise.
326         (handle_ret_insn): Likewise.
327         (handle_jsr_insn): Likewise.
328
329 2004-10-30  Mark Wielaard  <mark@klomp.org>
330
331         PR libgcj/18234
332         * java/lang/Runtime.java (static): Call init().
333         (Runtime): Remove call to init().
334         (init): Make static.
335
336 2004-10-28  David Daney  <ddaney@avtrex.com>
337
338         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
339         * Makefile.am: Build it.
340         * Makefile.in: Regenerate.
341
342 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
343
344         PR libgcj/18104
345         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
346         colon.
347         * Makefile.in: Regenerate.
348         * configure: Regenerate.
349         * configure.ac (CLASSPATH_SEPARATOR): Define.
350         * gcj/Makefile.in: Regenerate.
351         * include/Makefile.in: Regenerate.
352         * testsuite/Makefile.in: Regenerate.
353         * testsuite/lib/libjava.exp (libjava_arguments): Fix
354         CLASSPATH separator handling for Windows.
355
356 2004-10-26  Michael Koch  <konqueror@gmx.de>
357
358         * gnu/java/net/protocol/http/Connection.java
359         (getOutputStream): Implicitely switch to POST method.
360
361 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
362
363         * libjava/java/lang/Class.h
364         (java::lang::Class): Correct friend class declaration.
365
366 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
367
368         * Makefile.am (DARWIN_CRT_SRC): New.
369         (libgcj_la_SOURCES): Use it.
370         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
371         * darwin.cc: New file.
372         * include/jvm.h (_Jv_RegisterClasses): Constify.
373         (_Jv_RegisterClasses_Counted): New prototype.
374         * java/lang/Class.h: Include stddef.h.  
375         (_Jv_RegisterClasses): Constify.
376         (_Jv_RegisterClasses_Counted): New prototype.
377         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
378         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
379         (_Jv_RegisterClasses_Counted): New function.
380         * configure: Regenerate.
381         * Makefile.in: Regenerate.
382         * gcj/Makefile.in: Regenerate.
383         * include/Makefile.in: Regenerate.
384         * testsuite/Makefile.in: Regenerate.
385
386 2004-10-25  Tom Tromey  <tromey@redhat.com>
387
388         * java/util/ResourceBundle.java (tryBundle): Use
389         Class.isAssignableFrom rather than catching ClassCastException.
390
391 2004-10-25  Tom Tromey  <tromey@redhat.com>
392
393         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
394         initialize `iter'.
395         * gnu/java/text/SentenceBreakIterator.java
396         (SentenceBreakIterator): Don't initialize `iter'.
397         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
398         initialize `iter'.
399         * gnu/java/text/CharacterBreakIterator.java
400         (CharacterBreakIterator): Don't initialize `iter'.
401         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
402         constructor.
403         * java/text/BreakIterator.java: Updated documentation.
404
405 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
406
407         PR other/18138
408         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
409
410 2004-10-23  Michael Koch  <konqueror@gmx.de>
411
412         * javax/print/DocFlavor.java,
413         javax/print/attribute/standard/JobStateReason.java,
414         javax/print/attribute/standard/MultipleDocumentHandling.java:
415         Added missing constants.
416
417 2004-10-22  Tom Tromey  <tromey@redhat.com>
418
419         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
420         typo.
421
422 2004-10-22  Michael Koch  <konqueror@gmx.de>
423
424         PR libjava/14009
425         * gnu/java/net/protocol/http/Connection.java
426         (sendRequest): Handle case when url.getFile() returns an empty string.
427
428 2004-10-22  Michael Koch  <konqueror@gmx.de>
429
430         * java/lang/Math.java,
431         java/lang/StackTraceElement.java,
432         java/nio/Buffer.java,
433         java/nio/ByteBuffer.java,
434         java/nio/CharBuffer.java,
435         java/nio/DoubleBuffer.java,
436         java/nio/FloatBuffer.java,
437         java/nio/IntBuffer.java,
438         java/nio/LongBuffer.java,
439         java/nio/ShortBuffer.java,
440         java/nio/charset/Charset.java,
441         java/rmi/server/RMIClassLoader.java,
442         java/rmi/server/RMISocketFactory.java,
443         java/security/Policy.java,
444         java/text/ChoiceFormat.java,
445         java/text/CollationElementIterator.java,
446         java/text/DateFormat.java,
447         java/text/DecimalFormat.java,
448         java/text/DecimalFormatSymbols.java,
449         java/text/MessageFormat.java,
450         java/text/NumberFormat.java,
451         java/text/RuleBasedCollator.java,
452         java/text/SimpleDateFormat.java,
453         java/util/BitSet.java,
454         java/util/Calendar.java,
455         java/util/Collections.java,
456         java/util/IdentityHashMap.java,
457         java/util/Locale.java,
458         java/util/TreeMap.java,
459         java/util/logging/LogRecord.java,
460         java/util/logging/XMLFormatter.java,
461         java/util/prefs/AbstractPreferences.java,
462         java/util/prefs/Preferences.java,
463         javax/crypto/interfaces/DHPrivateKey.java,
464         javax/crypto/interfaces/DHPublicKey.java,
465         javax/crypto/interfaces/PBEKey.java,
466         javax/net/ssl/HandshakeCompletedEvent.java,
467         javax/security/auth/Subject.java:
468         Removed redundant and reordered modifiers.
469
470 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
471
472         * gnu/java/net/natPlainSocketImplPosix.cc
473         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
474         with 'int *' argument instead of 'long *'.
475
476 2004-10-21  Michael Koch  <konqueror@gmx.de>
477
478         * java/net/NetworkInterface.java,
479         java/text/Format.java,
480         javax/security/auth/x500/X500Principal.java,
481         javax/security/auth/x500/X500PrivateCredential.java,
482         javax/security/cert/X509CertBridge.java,
483         javax/security/sasl/Sasl.java,
484         javax/sql/XAConnection.java:
485         Import cleanup.
486
487 2004-10-21  Michael Koch  <konqueror@gmx.de>
488
489         * javax/net/ssl/HandshakeCompletedEvent.java,
490         javax/net/ssl/KeyManagerFactory.java,
491         javax/net/ssl/SSLContext.java,
492         javax/net/ssl/SSLServerSocketFactory.java,
493         javax/net/ssl/SSLSession.java,
494         javax/net/ssl/SSLSocketFactory.java,
495         javax/net/ssl/TrustManagerFactory.java:
496         Import cleanup.
497
498 2004-10-21  Michael Koch  <konqueror@gmx.de>
499
500         * javax/naming/directory/BasicAttribute.java,
501         javax/naming/directory/BasicAttributes.java,
502         javax/naming/directory/InitialDirContext.java,
503         javax/naming/event/NamingEvent.java,
504         javax/naming/ldap/ControlFactory.java,
505         javax/naming/ldap/ExtendedRequest.java,
506         javax/naming/ldap/InitialLdapContext.java,
507         javax/naming/ldap/LdapReferralException.java,
508         javax/naming/spi/DirObjectFactory.java,
509         javax/naming/spi/DirStateFactory.java,
510         javax/naming/spi/DirectoryManager.java,
511         javax/naming/spi/InitialContextFactory.java,
512         javax/naming/spi/InitialContextFactoryBuilder.java,
513         javax/naming/spi/NamingManager.java,
514         javax/naming/spi/ObjectFactory.java,
515         javax/naming/spi/ObjectFactoryBuilder.java,
516         javax/naming/spi/StateFactory.java:
517         Import cleanup.
518
519 2004-10-21  Michael Koch  <konqueror@gmx.de>
520
521         * javax/crypto/Cipher.java,
522         javax/crypto/EncryptedPrivateKeyInfo.java,
523         javax/crypto/ExemptionMechanism.java,
524         javax/crypto/KeyAgreement.java,
525         javax/crypto/KeyGenerator.java,
526         javax/crypto/Mac.java,
527         javax/crypto/SecretKeyFactory.java,
528         javax/crypto/SecretKeyFactorySpi.java,
529         javax/crypto/spec/SecretKeySpec.java:
530         Import cleanup.
531
532 2004-10-21  Michael Koch  <konqueror@gmx.de>
533
534         * java/security/AlgorithmParameterGenerator.java,
535         java/security/AlgorithmParameters.java,
536         java/security/AlgorithmParametersSpi.java,
537         java/security/AllPermission.java,
538         java/security/BasicPermission.java,
539         java/security/Certificate.java,
540         java/security/CodeSource.java,
541         java/security/DigestInputStream.java,
542         java/security/DigestOutputStream.java,
543         java/security/GuardedObject.java,
544         java/security/KeyFactory.java,
545         java/security/KeyFactorySpi.java,
546         java/security/KeyPairGenerator.java,
547         java/security/KeyStore.java,
548         java/security/KeyStoreSpi.java,
549         java/security/Permissions.java,
550         java/security/Security.java,
551         java/security/Signature.java,
552         java/security/UnresolvedPermission.java,
553         java/security/cert/CertPathBuilder.java,
554         java/security/cert/CertPathValidator.java,
555         java/security/cert/CertStore.java,
556         java/security/cert/Certificate.java,
557         java/security/cert/CertificateFactory.java,
558         java/security/cert/PolicyQualifierInfo.java,
559         java/security/cert/TrustAnchor.java,
560         java/security/cert/X509CRL.java,
561         java/security/cert/X509CRLSelector.java,
562         java/security/cert/X509CertSelector.java:
563         Import cleanup.
564
565 2004-10-21  Michael Koch  <konqueror@gmx.de>
566
567         * java/rmi/MarshalledObject.java,
568         java/rmi/Naming.java,
569         java/rmi/activation/Activatable.java,
570         java/rmi/activation/ActivationGroup.java,
571         java/rmi/activation/ActivationGroupDesc.java,
572         java/rmi/activation/ActivationInstantiator.java,
573         java/rmi/activation/ActivationMonitor.java,
574         java/rmi/activation/ActivationSystem.java,
575         java/rmi/activation/Activator.java,
576         java/rmi/registry/LocateRegistry.java,
577         java/rmi/registry/Registry.java,
578         java/rmi/server/LogStream.java,
579         java/rmi/server/ObjID.java,
580         java/rmi/server/RMIClientSocketFactory.java,
581         java/rmi/server/RMIServerSocketFactory.java,
582         java/rmi/server/RMISocketFactory.java,
583         java/rmi/server/RemoteCall.java,
584         java/rmi/server/RemoteServer.java,
585         java/rmi/server/ServerRef.java,
586         java/rmi/server/UID.java,
587         java/rmi/server/UnicastRemoteObject.java:
588         Import cleanup.
589
590 2004-10-21  Tom Tromey  <tromey@redhat.com>
591
592         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
593         exception if we hit EOF of `in'.
594         (read): Handle case where inflating returns -1.
595
596 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
597
598         * gnu/java/nio/channels/natFileChannelPosix.cc
599         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
600         argument instead of 'long *'.
601
602 2004-10-21  Tom Tromey  <tromey@redhat.com>
603
604         * java/util/ResourceBundle.java (tryBundle): Also ignore
605         ClassCastException.
606
607 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
608
609         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
610         for all sh*-*-linux* targets.
611         * configure: Regenerate.
612         * include/sh-signal.h: New file.
613
614 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
615
616         * java/lang/ieeefp.h: Add m32r support.
617
618 2004-10-20  Andreas Schwab  <schwab@suse.de>
619
620         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
621         to uaddr, not int.
622         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
623         Likewise.
624
625 2004-10-20  Michael Koch  <konqueror@gmx.de>
626
627         * javax/print/attribute/standard/ColorSupported.java,
628         javax/print/attribute/standard/Compression.java,
629         javax/print/attribute/standard/Copies.java,
630         javax/print/attribute/standard/CopiesSupported.java,
631         javax/print/attribute/standard/DateTimeAtCompleted.java,
632         javax/print/attribute/standard/DateTimeAtCreation.java,
633         javax/print/attribute/standard/DateTimeAtProcessing.java,
634         javax/print/attribute/standard/DocumentName.java,
635         javax/print/attribute/standard/Fidelity.java,
636         javax/print/attribute/standard/Finishings.java,
637         javax/print/attribute/standard/JobHoldUntil.java,
638         javax/print/attribute/standard/JobImpressions.java,
639         javax/print/attribute/standard/JobImpressionsCompleted.java,
640         javax/print/attribute/standard/JobImpressionsSupported.java,
641         javax/print/attribute/standard/JobKOctets.java,
642         javax/print/attribute/standard/JobKOctetsProcessed.java,
643         javax/print/attribute/standard/JobKOctetsSupported.java,
644         javax/print/attribute/standard/JobMediaSheets.java,
645         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
646         javax/print/attribute/standard/JobMediaSheetsSupported.java,
647         javax/print/attribute/standard/JobMessageFromOperator.java,
648         javax/print/attribute/standard/JobName.java,
649         javax/print/attribute/standard/JobOriginatingUserName.java,
650         javax/print/attribute/standard/JobPriority.java,
651         javax/print/attribute/standard/JobPrioritySupported.java,
652         javax/print/attribute/standard/JobSheets.java,
653         javax/print/attribute/standard/JobState.java,
654         javax/print/attribute/standard/JobStateReason.java,
655         javax/print/attribute/standard/JobStateReasons.java,
656         javax/print/attribute/standard/Media.java,
657         javax/print/attribute/standard/MultipleDocumentHandling.java,
658         javax/print/attribute/standard/NumberOfDocuments.java,
659         javax/print/attribute/standard/NumberOfInterveningJobs.java,
660         javax/print/attribute/standard/NumberUp.java,
661         javax/print/attribute/standard/NumberUpSupported.java,
662         javax/print/attribute/standard/OrientationRequested.java,
663         javax/print/attribute/standard/OutputDeviceAssigned.java,
664         javax/print/attribute/standard/PDLOverrideSupported.java,
665         javax/print/attribute/standard/PageRanges.java,
666         javax/print/attribute/standard/PagesPerMinute.java,
667         javax/print/attribute/standard/PagesPerMinuteColor.java,
668         javax/print/attribute/standard/PrintQuality.java,
669         javax/print/attribute/standard/PrinterInfo.java,
670         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
671         javax/print/attribute/standard/PrinterLocation.java,
672         javax/print/attribute/standard/PrinterMakeAndModel.java,
673         javax/print/attribute/standard/PrinterMessageFromOperator.java,
674         javax/print/attribute/standard/PrinterMoreInfo.java,
675         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
676         javax/print/attribute/standard/PrinterName.java,
677         javax/print/attribute/standard/PrinterStateReason.java,
678         javax/print/attribute/standard/PrinterStateReasons.java,
679         javax/print/attribute/standard/PrinterURI.java,
680         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
681         javax/print/attribute/standard/RequestingUserName.java:
682         Reorganized imports and removed redundant final modifiers.
683
684 2004-10-20  Michael Koch  <konqueror@gmx.de>
685
686         * javax/security/sasl/SaslClient.java,
687         javax/security/sasl/SaslClientFactory.java,
688         javax/security/sasl/SaslException.java,
689         javax/security/sasl/SaslServer.java,
690         javax/security/sasl/SaslServerFactory.java:
691         Remvoed CVS tags.
692
693 2004-10-20  Michael Koch  <konqueror@gmx.de>
694
695         * javax/security/auth/login/NullConfiguration.java,
696         javax/security/auth/x500/X500Principal.java,
697         javax/security/cert/X509Certificate.java,
698         javax/security/sasl/AuthenticationException.java,
699         javax/security/sasl/AuthorizeCallback.java,
700         javax/security/sasl/RealmCallback.java,
701         javax/security/sasl/RealmChoiceCallback.java,
702         javax/security/sasl/Sasl.java,
703         javax/security/sasl/SaslClient.java,
704         javax/security/sasl/SaslClientFactory.java,
705         javax/security/sasl/SaslException.java,
706         javax/security/sasl/SaslServer.java,
707         javax/security/sasl/SaslServerFactory.java:
708         Cleaned up import statements and copyright notices.
709
710 2004-10-20  Michael Koch  <konqueror@gmx.de>
711
712         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
713
714 2004-10-20  Michael Koch  <konqueror@gmx.de>
715
716         * java/sql/Timestamp.java,
717         java/text/AttributedCharacterIterator.java,
718         java/text/AttributedString.java,
719         java/util/zip/CheckedOutputStream.java,
720         java/util/zip/DeflaterOutputStream.java,
721         java/util/zip/ZipFile.java,
722         javax/crypto/Cipher.java,
723         javax/crypto/ExemptionMechanismException.java,
724         javax/crypto/SecretKey.java,
725         javax/crypto/SecretKeyFactory.java,
726         javax/naming/directory/ModificationItem.java,
727         javax/naming/directory/SearchControls.java,
728         javax/naming/event/NamingListener.java,
729         javax/naming/ldap/Control.java,
730         javax/naming/ldap/ExtendedResponse.java,
731         javax/net/ssl/SSLSocketFactory.java:
732         Reorganized imports and fixed copyright headers.
733
734 2004-10-20  Michael Koch  <konqueror@gmx.de>
735
736         * java/util/logging/ConsoleHandler.java,
737         java/util/logging/ErrorManager.java,
738         java/util/logging/FileHandler.java,
739         java/util/logging/Filter.java,
740         java/util/logging/Formatter.java,
741         java/util/logging/Handler.java,
742         java/util/logging/Level.java,
743         java/util/logging/LogManager.java,
744         java/util/logging/LogRecord.java,
745         java/util/logging/Logger.java,
746         java/util/logging/LoggingPermission.java,
747         java/util/logging/MemoryHandler.java,
748         java/util/logging/SimpleFormatter.java,
749         java/util/logging/SocketHandler.java,
750         java/util/logging/StreamHandler.java,
751         java/util/logging/XMLFormatter.java:
752         Standardized copyrigth header.
753
754 2004-10-20  Michael Koch  <konqueror@gmx.de>
755
756         * java/security/AlgorithmParameterGenerator.java,
757         java/security/AlgorithmParameters.java,
758         java/security/DigestInputStream.java,
759         java/security/Identity.java,
760         java/security/KeyFactory.java,
761         java/security/KeyPairGenerator.java,
762         java/security/KeyStore.java,
763         java/security/MessageDigest.java,
764         java/security/MessageDigestSpi.java,
765         java/security/Policy.java,
766         java/security/SecureRandom.java,
767         java/security/Security.java,
768         java/security/Signature.java,
769         java/security/SignatureSpi.java,
770         java/security/cert/CertPathBuilder.java,
771         java/security/cert/CertPathValidator.java,
772         java/security/cert/CertStore.java,
773         java/security/cert/Certificate.java,
774         java/security/cert/CertificateFactory.java,
775         java/security/cert/PolicyQualifierInfo.java,
776         java/security/cert/TrustAnchor.java,
777         java/security/cert/X509CRL.java,
778         java/security/cert/X509CRLEntry.java,
779         java/security/cert/X509Certificate.java,
780         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
781         Import statements reorganized, some little formatting issues,
782         used java-style array declarations, added comments in empty catch
783         blocks.
784
785 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
786
787         * java/security/Security.java
788         (static): Use AccessController.doPrivileged to get system property.
789
790 2004-10-18  Sven de Marothy  <sven@physto.se>
791
792         * java/nio/ByteBufferHelper.java
793         (putDouble): Use Double.toRawLongBits instead.
794
795 2004-10-18  Mark Wielaard  <mark@klomp.org>
796         Andrew Haley  <aph@redhat.com>
797
798         * testsuite/libjava.lang/ExtraClassLoader.java: New.
799
800 2004-10-18  Andrew Haley  <aph@redhat.com>
801
802         PR java/18036:
803         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
804         and correct logic used to find interpreter.
805         
806 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
807
808         * java/util/logging/LogManager.java
809         (findAncestor): Fixed IndexOutOfBoundsException.
810
811 2004-10-18  Michael Koch  <konqueror@gmx.de>
812
813         * java/io/BufferedInputStream.java: Fixed @author tag.
814         (read): Simplified expression.
815         (read): Merged javadoc a bit more.
816         (read): Renamed 'remain' to 'totalBytesRead'.
817         * java/io/DataInputStream.java,
818         java/io/DataOutputStream.java,
819         java/io/ObjectInputStream.java,
820         java/io/ObjectOutputStream.java:
821         Reworked modifier order.
822
823 2004-10-18  Michael Koch  <konqueror@gmx.de>
824
825         * java/net/Inet4Address.java: Merged file header and javadocs.
826         * java/net/Inet6Address.java: Likewise.
827         * java/net/InetAddress.java
828         (getCanonicalHostName): Create Inet4Address object instead of
829         InetAddress and add comment regarding IPv6.
830         (toString): Simplified.
831
832 2004-10-18  Michael Koch  <konqueror@gmx.de>
833
834         * gnu/java/net/protocol/http/Connection.java,
835         java/nio/MappedByteBufferImpl.java,
836         java/text/RuleBasedCollator.java,
837         java/util/ResourceBundle.java:
838         Reworked import statements.
839
840 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
841
842         * java/security/IdentityScope.java
843         (systemScope): Removed useless initializer.
844         * java/security/Policy.java
845         (currentPolicy): Likewise.
846
847 2004-10-18  Michael Koch  <konqueror@gmx.de>
848
849         * java/lang/System.java: Revert accidential change.
850
851 2004-10-18  Michael Koch  <konqueror@gmx.de>
852
853         * java/lang/Math.java,
854         java/lang/Package.java,
855         java/lang/Runtime.java,
856         java/lang/StrictMath.java,
857         java/lang/System.java,
858         java/lang/Thread.java,
859         java/lang/ThreadLocal.java,
860         java/lang/Void.java:
861         Reworked import statements, HTML in javadocs and modifier orders.
862
863 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
864
865         * java/util/Timer.java
866         (nr): Removed useless initializer.
867         * java/util/logging/LogRecord.java
868         (lastSeqNum): Likewise.
869         * javax/naming/spi/NamingManager.java
870         (icfb, ofb): Likewise.
871
872 2004-10-18  Michael Koch  <konqueror@gmx.de>
873
874         * gnu/java/net/PlainDatagramSocketImpl.java:
875         Reworked import statements.
876         * gnu/java/security/provider/DSAParameters.java:
877         Fixed copyrigth years.
878         * java/net/JarURLConnection.java:
879         Fixed HTML in @author tags.
880         
881
882 2004-10-18  Michael Koch  <konqueror@gmx.de>
883
884         * java/rmi/activation/ActivationSystem.java
885         (SYSTEM_PORT): Initialize with correct port number.
886
887 2004-10-18  Michael Koch  <konqueror@gmx.de>
888
889         * java/lang/reflect/Proxy.java: Improved javadocs.
890
891 2004-10-18  Michael Koch  <konqueror@gmx.de>
892
893         * java/lang/reflect/AccessibleObject.java
894         (checkPermission): Removed redundant final modifier.
895         (secureSetAccessible): Likewise.
896         * java/lang/reflect/Proxy.java:
897         Reworked import statements.
898         (generate): Removed redundant final modifier.
899         * java/lang/reflect/ReflectPermission.java:
900         Reorder package declaration and import statement.
901
902 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
903
904         * java/lang/reflect/Proxy.java
905         (count): Removed useless initializer.
906
907 2004-10-17  Michael Koch  <konqueror@gmx.de>
908
909         * java/net/BindException.java,
910         java/net/ConnectException.java,
911         java/net/ContentHandler.java,
912         java/net/ContentHandlerFactory.java,
913         java/net/DatagramPacket.java,
914         java/net/DatagramSocket.java,
915         java/net/DatagramSocketImpl.java,
916         java/net/DatagramSocketImplFactory.java,
917         java/net/FileNameMap.java,
918         java/net/HttpURLConnection.java,
919         java/net/MalformedURLException.java,
920         java/net/MulticastSocket.java,
921         java/net/NetworkInterface.java,
922         java/net/NoRouteToHostException.java,
923         java/net/PasswordAuthentication.java,
924         java/net/PortUnreachableException.java,
925         java/net/ProtocolException.java,
926         java/net/ServerSocket.java,
927         java/net/Socket.java,
928         java/net/SocketException.java,
929         java/net/SocketImpl.java,
930         java/net/SocketImplFactory.java,
931         java/net/SocketOptions.java,
932         java/net/SocketPermission.java,
933         java/net/SocketTimeoutException.java,
934         java/net/URI.java,
935         java/net/URISyntaxException.java,
936         java/net/URL.java,
937         java/net/URLDecoder.java,
938         java/net/URLEncoder.java,
939         java/net/URLStreamHandler.java,
940         java/net/URLStreamHandlerFactory.java,
941         java/net/UnknownHostException.java,
942         java/net/UnknownServiceException.java:
943         Big import statement and @author tag cleanup.
944
945 2004-10-17  Michael Koch  <konqueror@gmx.de>
946
947         * gnu/java/security/OID.java,
948         gnu/java/security/provider/DSAParameters.java,
949         gnu/java/security/provider/DSASignature.java,
950         gnu/java/security/x509/X500DistinguishedName.java,
951         gnu/java/security/x509/X509CRL.java:
952         Import statements cleaned up.
953
954 2004-10-16  Michael Koch  <konqueror@gmx.de>
955
956         * gnu/java/nio/NIODatagramSocket.java,
957         gnu/java/nio/ServerSocketChannelImpl.java:
958         Reorganized import statements.
959
960 2004-10-16  Michael Koch  <konqueror@gmx.de>
961
962         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
963         gnu/java/rmi/rmic/RMIC.java,
964         gnu/java/rmi/server/RMIHashes.java,
965         gnu/java/rmi/server/RMIObjectInputStream.java,
966         gnu/java/rmi/server/RMIObjectOutputStream.java,
967         gnu/java/rmi/server/UnicastConnection.java,
968         gnu/java/rmi/server/UnicastConnectionManager.java,
969         gnu/java/rmi/server/UnicastRemoteCall.java,
970         gnu/java/rmi/server/UnicastServer.java,
971         gnu/java/rmi/server/UnicastServerRef.java,
972         java/rmi/MarshalledObject.java,
973         java/rmi/Naming.java,
974         java/rmi/RMISecurityManager.java,
975         java/rmi/Remote.java,
976         java/rmi/activation/Activatable.java,
977         java/rmi/activation/ActivationDesc.java,
978         java/rmi/activation/ActivationGroup.java,
979         java/rmi/activation/ActivationGroupDesc.java,
980         java/rmi/activation/ActivationGroupID.java,
981         java/rmi/activation/ActivationID.java,
982         java/rmi/activation/ActivationInstantiator.java,
983         java/rmi/activation/ActivationMonitor.java,
984         java/rmi/activation/ActivationSystem.java,
985         java/rmi/activation/Activator.java,
986         java/rmi/dgc/DGC.java,
987         java/rmi/dgc/Lease.java,
988         java/rmi/dgc/VMID.java,
989         java/rmi/registry/LocateRegistry.java,
990         java/rmi/registry/Registry.java,
991         java/rmi/registry/RegistryHandler.java,
992         java/rmi/server/LoaderHandler.java,
993         java/rmi/server/LogStream.java,
994         java/rmi/server/ObjID.java,
995         java/rmi/server/Operation.java,
996         java/rmi/server/RMIClassLoader.java,
997         java/rmi/server/RMIClassLoaderSpi.java,
998         java/rmi/server/RMIClientSocketFactory.java,
999         java/rmi/server/RMIFailureHandler.java,
1000         java/rmi/server/RMIServerSocketFactory.java,
1001         java/rmi/server/RMISocketFactory.java,
1002         java/rmi/server/RemoteCall.java,
1003         java/rmi/server/RemoteObject.java,
1004         java/rmi/server/RemoteRef.java,
1005         java/rmi/server/RemoteServer.java,
1006         java/rmi/server/RemoteStub.java,
1007         java/rmi/server/ServerRef.java,
1008         java/rmi/server/Skeleton.java,
1009         java/rmi/server/SkeletonMismatchException.java,
1010         java/rmi/server/UID.java,
1011         java/rmi/server/UnicastRemoteObject.java,
1012         java/rmi/server/Unreferenced.java:
1013         File headers and import statements cleaned up.
1014
1015 2004-10-16  Michael Koch  <konqueror@gmx.de>
1016
1017         * libjava/gnu/java/nio/charset/UTF_16.java,
1018         libjava/gnu/java/nio/charset/UTF_16BE.java,
1019         libjava/gnu/java/nio/charset/UTF_16LE.java,
1020         libjava/java/nio/ByteOrder.java,
1021         libjava/java/nio/MappedByteBuffer.java,
1022         libjava/java/nio/channels/Channels.java,
1023         libjava/java/nio/channels/spi/SelectorProvider.java,
1024         libjava/java/nio/charset/Charset.java:
1025         Cleanup.
1026
1027 2004-10-16  Michael Koch  <konqueror@gmx.de>
1028
1029         * gnu/java/nio/charset/UTF_16Encoder.java
1030         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1031
1032 2004-10-16  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/math/BigDecimal.java, java/math/BigInteger.java:
1035         Reorganized import statements, removed redundant and
1036         reorganized modifiers.
1037
1038 2004-10-16  Michael Koch  <konqueror@gmx.de>
1039
1040         * gnu/java/beans/ExplicitBeanInfo.java:
1041         Explicitely import java.awt.Image.
1042         (getIcon): Fixed off-by-one error.
1043
1044 2004-10-15  Andrew Haley  <aph@redhat.com>
1045
1046         * Makefile.am (nat_files, xlib_nat_files): New.
1047         * Makefile.in: Regenerate.
1048
1049 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1050
1051         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1052         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1053
1054 2004-10-13  Andrew Haley  <aph@redhat.com>
1055
1056         * interpret.cc (_Jv_InterpMethod::run): Initialize
1057         _Jv_StartOfInterpreter.
1058         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1059         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1060         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1061         _Unwind_FindEnclosingFunction to discover whether PC is within the
1062         interpreter.
1063
1064 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1065
1066         PR libgcj/17903:
1067         * testsuite/libjava.lang/md5test.java: New file.
1068         * testsuite/libjava.lang/md5test.out: Likewise.
1069         * testsuite/libjava.lang/shatest.java: Likewise.
1070         * testsuite/libjava.lang/shatest.out: Likewise.
1071
1072 2004-10-11  Richard Henderson  <rth@redhat.com>
1073
1074         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1075         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1076
1077 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1078
1079         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1080         field as a DST boundary may have been crossed.
1081         * java/util/GregorianCalendar.java (add): Throw 
1082         IllegalArgumentException on attempt to add to DST_OFFSET or 
1083         ZONE_OFFSET fields. Update javadoc.
1084
1085 2004-10-09  Michael Koch  <konqueror@gmx.de>
1086
1087         * java/io/CharArrayWriter.java
1088         (resize): Removed redundant 'final' modifier.
1089         * java/io/DataInputStream.java
1090         (readFully): Throw IndexOutOfBoundsException of len < 0.
1091         * java/io/FileDescriptor.java,
1092         java/io/FileInputStream.java,
1093         java/io/FileOutputStream.java,
1094         java/io/ObjectOutputStream.java,
1095         java/io/ObjectStreamClass.java,
1096         java/io/PipedInputStream.java,
1097         java/io/RandomAccessFile.java:
1098         Reorganized import statements.
1099
1100 2004-10-09  Michael Koch  <konqueror@gmx.de>
1101
1102         * gnu/java/rmi/rmic/RMIC.java,
1103         gnu/java/rmi/server/RMIHashes.java,
1104         gnu/java/rmi/server/RMIObjectInputStream.java,
1105         gnu/java/rmi/server/UnicastConnection.java,
1106         gnu/java/rmi/server/UnicastConnectionManager.java,
1107         gnu/java/rmi/server/UnicastRemoteCall.java,
1108         gnu/java/rmi/server/UnicastServerRef.java:
1109         Reworked import statements and fixed file headers.
1110
1111 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1112
1113         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1114         emission rule.
1115         * configure: Rebuilt.
1116
1117 2004-09-30  Tom Tromey  <tromey@redhat.com>
1118
1119         * java/text/MessageFormat.java (Field): Constructor now
1120         protected.
1121
1122 2004-09-30  Tom Tromey  <tromey@redhat.com>
1123
1124         * javax/crypto/MacSpi.java: Fixed typo.
1125
1126 2004-09-30  Michael Koch  <konqueror@gmx.de>
1127
1128         * java/net/InetAddress.java: Reformatted.
1129         (loopback): Initialize with Inet4Address object.
1130         (static): Initialize ANY_IF with Inet4Address object.
1131         (InetAddress): Removed unused package-private constructor.
1132
1133 2004-09-30  Michael Koch  <konqueror@gmx.de>
1134
1135         * java/beans/Beans.java,
1136         java/beans/EventHandler.java,
1137         java/beans/EventSetDescriptor.java,
1138         java/beans/Introspector.java,
1139         java/beans/PropertyEditorManager.java,
1140         java/beans/beancontext/BeanContext.java,
1141         java/beans/beancontext/BeanContextChild.java,
1142         java/beans/beancontext/BeanContextChildSupport.java,
1143         java/beans/beancontext/BeanContextMembershipEvent.java:
1144         Reordered import statements and removed redundant modifiers.
1145
1146 2004-09-29  Tom Tromey  <tromey@redhat.com>
1147
1148         PR libgcj/17715:
1149         * Makefile.in: Rebuilt.
1150         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1151         files.
1152         (all_property_files): New macro.
1153
1154         * Makefile.in: Rebuilt.
1155         * Makefile.am (ordinary_java_source_files): Re-sorted.
1156         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1157
1158 2004-09-28  Tom Tromey  <tromey@redhat.com>
1159
1160         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1161
1162         PR libgcj/17222:
1163         * Makefile.am (libgcj.la): Restored.
1164         * Makefile.in: Rebuilt.
1165
1166 2004-09-28  Michael Koch  <konqueror@gmx.de>
1167
1168         * java/net/URLConnection.java: Reformatted.
1169         * java/net/URLClassLoader.java: Reformatted.
1170         (getContent): Reordered return of content.
1171         (getContentHandler): Don't check for null explicitely.
1172
1173 2004-09-27  Michael Koch  <konqueror@gmx.de>
1174
1175         * java/io/BufferedInputStream.java
1176         (BufferedInputStream): Added Jeroen Frijters to authors.
1177         (count): Don't explicitely initialize with default value.
1178         (pos): Likewise.
1179         (marklimit): Likewise.
1180         (read): Changed boolean expression to match GNU classpath' version.
1181         (reset): Add proper message to exception.
1182         (skip): Check for closed stream.
1183         (refill): Likewise.
1184
1185 2004-09-26  Per Bothner  <per@bothner.com>
1186
1187         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1188         avoid warnings in the non-POSIX_VERSION case.
1189         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1190         so place it inside an #if block.
1191         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1192         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1193         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1194         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1195
1196 2004-09-26  Per Bothner  <per@bothner.com>
1197
1198         * prims.cc (process_gcj_properties):  Optimization.
1199
1200 2004-09-26  Per Bothner  <per@bothner.com>
1201
1202         * java/util/Collections.java (sort):  Copy from array in forwards
1203         order, rather than reverse order which may be much less efficient.
1204
1205 2004-09-26  Mark Wielaard  <mark@klomp.org>
1206
1207         * java/lang/System.java (properties): Make package private.
1208         * java/lang/Throwable.java (StaticData.nl): Initialize through
1209         directly accessing System.properties.getProperty().
1210
1211         * java/lang/Throwable.java (nl): Remove static field.
1212         (StaticData): New private static inner class.
1213         (stackTraceStringBuffer): Use StaticData.nl.
1214
1215 2004-09-26  Casey Marshall <csm@gnu.org>
1216
1217         * java/security/ProtectionDomain.java
1218         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1219         `true'.
1220
1221         * java/security/SecureClassLoader.java
1222         (defineClass): make protection domain dynamically bound.
1223         (getPermissions): call `getCurrentPolicy' to avoid permission
1224         check.
1225
1226 2004-09-25  Mark Wielaard  <mark@klomp.org>
1227
1228         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1229         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1230         * Makefile.in: Regenerated.
1231
1232         * gcj/javaprims.h: Regenerated.
1233
1234         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1235         (getDefaultTimeZone): Make package private. Check that GMToffset
1236         contains at least one digit.
1237         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1238         VMTimeZone.
1239         * util/VMTimeZone.java: New file with above methods.
1240
1241         * java/util/natTimeZone.cc: Removed (renamed).
1242         * java/util/natVMTimeZone.cc: Added (renamed).
1243
1244 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1245
1246         * java/util/TimeZone.java
1247         (getDefaultTimeZone): Fixed test to distinguish between hours and
1248         minutes in specified timezone.
1249
1250 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1251
1252         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1253         handling of default package. (generate): Removed confused comments
1254         and code about making Method and Field accessible.
1255
1256 2004-09-25  Tom Tromey  <tromey@redhat.com>
1257
1258         PR java/17500:
1259         * testsuite/libjava.compile/pr17500.java: New file.
1260
1261 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1262             Mark Wielaard  <mark@klomp.org>
1263
1264         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1265         * gnu/regexp/RETokenLookAhead.java: New file.
1266
1267         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1268         * Makefile.in: Regenerated.
1269
1270 2004-09-25  Michael Koch  <konqueror@gmx.de>
1271
1272         * java/io/ObjectStreamField.java:
1273         Removed unused import statement.
1274
1275 2004-09-24  Tom Tromey  <tromey@redhat.com>
1276
1277         PR java/15656:
1278         * testsuite/libjava.compile/pr15656.xfail: New file.
1279         * testsuite/libjava.compile/pr15656.java: new file.
1280
1281         PR java/16789:
1282         * testsuite/libjava.lang/pr16789.out: New file.
1283         * testsuite/libjava.lang/pr16789.java: New file.
1284
1285 2004-09-24  Andrew Haley  <aph@redhat.com>
1286
1287         PR java/16927
1288         * testsuite/libjava.compile/AssertBug.java: New file.
1289
1290 2004-09-24  Casey Marshall <csm@gnu.org>
1291
1292         * java/util/PropertyPermissionCollection.java
1293         (implies): avoid infinite loop.
1294
1295 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1296
1297         * javax/security/auth/PrivateCredentialPermission.java
1298         (PrivateCredentialPermission): added serialization UID
1299
1300
1301 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1302
1303         * gnu/java/rmi/server/UnicastServer.java
1304         (incomingMessageCall): Added code to handle Errors.
1305         * gnu/java/rmi/server/UnicastServerRef.java
1306         (incomingMessageCall): Added code to handle Errors.
1307
1308
1309 2004-09-24  Tom Tromey  <tromey@redhat.com>
1310
1311         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1312         (definedPackages): Likewise.
1313
1314 2004-09-24  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/io/ObjectInputStream.java:
1317         Re-ordered imports.
1318
1319 2004-09-24  Casey Marshall <csm@gnu.org>
1320
1321         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1322         `ClassNotFoundException'.
1323
1324 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1325
1326         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1327         of Externalizable classes to ObjectStreamClass.
1328         * java/io/ObjectStreamClass.java (newInstance): New method to
1329         instantiate Externalizable (while ignoring the accessibility of
1330         the constructor). (constructor): New field to cache the constructor.
1331
1332 2004-09-24  Mark Wielaard  <mark@klomp.org>
1333
1334         * java/net/URL.java (systemClassLoader): New static field.
1335         (getURLStreamHandler): Always use system/application classloader
1336         for finding URLStreamhandler. Remove unecessary instanceof checks.
1337
1338 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1339
1340         * java/net/URL.java
1341         (set): This method now matches the behaviour of the JDK.
1342         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1343
1344 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1345
1346         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1347
1348 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1349
1350         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1351         Don't set authority if host isn't specified.
1352
1353 2004-09-24  Michael Koch  <konqueror@gmx.de>
1354
1355         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1356         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1357         * gnu/java/nio/VMPipe.java,
1358         gnu/java/nio/VMSelector.java:
1359         New files.
1360         * gnu/java/nio/natPipeImplEcos.cc,
1361         gnu/java/nio/natPipeImplPosix.cc,
1362         gnu/java/nio/natPipeImplWin32.cc:
1363         Ported to VMPipe.
1364         * gnu/java/nio/natSelectorImplEcos.cc,
1365         gnu/java/nio/natSelectorImplPosix.cc,
1366         gnu/java/nio/natSelectorImplWin32.cc:
1367         Ported to VMSelector.
1368         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1369         gnu/java/nio/VMSelector.java.
1370         * Makefile.in: Regenerated.
1371
1372 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1373
1374         * java/lang/StackTraceElement.java
1375         (className): Renamed field to declaringClass to be compatible
1376         with Sun serialization format.
1377
1378 2004-09-23  Michael Koch  <konqueror@gmx.de>
1379
1380         * java/applet/AppletContext.java,
1381         java/applet/Applet.java,
1382         java/applet/AppletStub.java,
1383         java/applet/AudioClip.java:
1384         Jalopied and checkstyle clean.
1385
1386 2004-09-23  Mark Wielaard  <mark@klomp.org>
1387
1388         * java/util/Collections.java
1389         (binarySearch(List, Object, Comparator)): Explicitly
1390         reverse direction in list iterator.
1391         (rotate): Just return when list is empty.
1392
1393 2004-09-23  Tom Tromey  <tromey@redhat.com>
1394
1395         PR java/17329:
1396         * testsuite/libjava.compile/pr17329.java: New file.
1397
1398         PR java/17380:
1399         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1400         9.2-implicit-7.
1401
1402 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1403
1404         * Makefile.am: Run aclocal with -I ../config
1405         * acinclude.m4: Delete macros picked up from ../config and tidy.
1406         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1407         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1408         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1409
1410 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1411
1412         * aclocal.m4: Regenerate with aclocal 1.9.2.
1413         * configure: Regenerate.
1414         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1415         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1416
1417 2004-09-22  David Daney  <ddaney@avtrex.com>
1418
1419         PR libgcj/17623
1420         * java/net/URL.java (URL): Copy userInfo from context.
1421         (getUserInfo): Return cached userInfo if present.
1422
1423 2004-09-22  Tom Tromey  <tromey@redhat.com>
1424
1425         PR libgcj/6182:
1426         * mauve-libgcj: Enable java.lang.Character tests.
1427
1428 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1429
1430         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1431         dependencies.
1432         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1433         * Makefile.in: Regenerated.
1434
1435 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1436
1437         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1438         * configure: Regenerate.
1439         * include/config.h.in: Likewise.
1440         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1442         macro to gtkpeer.h.
1443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1444         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1445         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1446         architectures.
1447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1448         Likewise.
1449
1450 2004-09-22  Tom Tromey  <tromey@redhat.com>
1451
1452         PR libgcj/14446:
1453         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1454         when comparing CRCs.
1455         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1456         field.
1457         (read()): New overload.
1458
1459 2004-09-21  Tom Tromey  <tromey@redhat.com>
1460
1461         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1462         Indentation fix.
1463
1464 2004-09-21  Michael Koch  <konqueror@gmx.de>
1465
1466         * java/net/Socket.java
1467         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1468
1469 2004-09-21  Casey Marshall  <csm@gnu.org>
1470
1471         * javax/crypto/MacSpi.java (clone): Provide meaningful
1472         implementation.
1473
1474 2004-09-21  Tom Tromey  <tromey@redhat.com>
1475
1476         PR libgcj/16869:
1477         * Makefile.in: Rebuilt.
1478         * Makefile.am (MOSTLYCLEANFILES): Removed.
1479         (mostlyclean-local): Remove header files.
1480
1481 2004-09-21  Casey Marshall  <csm@gnu.org>
1482
1483         * java/security/cert/X509CRLSelector.java:
1484         (match): remove unreachable try-catch clauses.
1485         Reported by: Dalibor Topic <robilad@kaffe.org>
1486
1487 2004-09-21  Mark Wielaard  <mark@klomp.org>
1488
1489         * java/util/TreeMap.java (root): Don't initialize.
1490         (TreeMap(Comparator)): Call fabricateTree(0).
1491         (fabricateTree): Initialize root and size when count is 0.
1492
1493 2004-09-21  Sven de Marothy <sven@physto.se>
1494
1495         * java/nio/ByteBuffer.java (hashCode): Implemented.
1496         * java/nio/CharBuffer.java: Likewise.
1497         * java/nio/DoubleBuffer.java: Likewise.
1498         * java/nio/FloatBuffer.java: Likewise.
1499         * java/nio/LongBuffer.java: Likewise.
1500         * java/nio/IntBuffer.java: Likewise.
1501         * java/nio/ShortBuffer.java: Likewise.
1502
1503 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1504
1505         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1506
1507 2004-09-21  Michael Koch  <konqueror@gmx.de>
1508
1509         * javax/net/ssl/SSLServerSocket.java:
1510         Removed comment about "Do not edit this file, it's generated.".
1511
1512 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1513
1514         Import the big Crypto/Jessie/Security merge from Classpath.
1515
1516         * Makefile.am: Add imported files.
1517         * Makefile.in: Regenerate.
1518
1519         2004-08-14  Casey Marshall <csm@gnu.org>
1520
1521         The Big Crypto Merge of 2004.
1522
1523         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1524         Crypto's version.
1525
1526         Files imported from GNU Crypto.
1527         * javax/crypto/BadPaddingException.java
1528         * javax/crypto/Cipher.java
1529         * javax/crypto/CipherInputStream.java
1530         * javax/crypto/CipherOutputStream.java
1531         * javax/crypto/CipherSpi.java
1532         * javax/crypto/EncryptedPrivateKeyInfo.java
1533         * javax/crypto/ExemptionMechanism.java
1534         * javax/crypto/ExemptionMechanismException.java
1535         * javax/crypto/ExemptionMechanismSpi.java
1536         * javax/crypto/IllegalBlockSizeException.java
1537         * javax/crypto/KeyAgreement.java
1538         * javax/crypto/KeyAgreementSpi.java
1539         * javax/crypto/KeyGenerator.java
1540         * javax/crypto/KeyGeneratorSpi.java
1541         * javax/crypto/Mac.java
1542         * javax/crypto/MacSpi.java
1543         * javax/crypto/Makefile.am
1544         * javax/crypto/NoSuchPaddingException.java
1545         * javax/crypto/NullCipher.java
1546         * javax/crypto/NullCipherImpl.java
1547         * javax/crypto/SealedObject.java
1548         * javax/crypto/SecretKey.java
1549         * javax/crypto/SecretKeyFactory.java
1550         * javax/crypto/SecretKeyFactorySpi.java
1551         * javax/crypto/ShortBufferException.java
1552         * javax/crypto/interfaces/DHKey.java
1553         * javax/crypto/interfaces/DHPrivateKey.java
1554         * javax/crypto/interfaces/DHPublicKey.java
1555         * javax/crypto/interfaces/PBEKey.java
1556         * javax/crypto/spec/DESKeySpec.java
1557         * javax/crypto/spec/DESedeKeySpec.java
1558         * javax/crypto/spec/DHGenParameterSpec.java
1559         * javax/crypto/spec/DHParameterSpec.java
1560         * javax/crypto/spec/DHPrivateKeySpec.java
1561         * javax/crypto/spec/DHPublicKeySpec.java
1562         * javax/crypto/spec/IvParameterSpec.java
1563         * javax/crypto/spec/PBEKeySpec.java
1564         * javax/crypto/spec/PBEParameterSpec.java
1565         * javax/crypto/spec/RC2ParameterSpec.java
1566         * javax/crypto/spec/RC5ParameterSpec.java
1567         * javax/crypto/spec/SecretKeySpec.java
1568         * javax/security/auth/AuthPermission.java
1569         * javax/security/auth/DestroyFailedException.java
1570         * javax/security/auth/Destroyable.java
1571         * javax/security/auth/Policy.java
1572         * javax/security/auth/PrivateCredentialPermission.java
1573         * javax/security/auth/RefreshFailedException.java
1574         * javax/security/auth/Refreshable.java
1575         * javax/security/auth/Subject.java
1576         * javax/security/auth/SubjectDomainCombiner.java
1577         * javax/security/auth/callback/Callback.java
1578         * javax/security/auth/callback/CallbackHandler.java
1579         * javax/security/auth/callback/ChoiceCallback.java
1580         * javax/security/auth/callback/ConfirmationCallback.java
1581         * javax/security/auth/callback/LanguageCallback.java
1582         * javax/security/auth/callback/NameCallback.java
1583         * javax/security/auth/callback/PasswordCallback.java
1584         * javax/security/auth/callback/TextInputCallback.java
1585         * javax/security/auth/callback/TextOutputCallback.java
1586         * javax/security/auth/callback/UnsupportedCallbackException.java
1587         * javax/security/auth/login/AccountExpiredException.java
1588         * javax/security/auth/login/AppConfigurationEntry.java
1589         * javax/security/auth/login/Configuration.java
1590         * javax/security/auth/login/CredentialExpiredException.java
1591         * javax/security/auth/login/FailedLoginException.java
1592         * javax/security/auth/login/LoginContext.java
1593         * javax/security/auth/login/LoginException.java
1594         * javax/security/auth/login/NullConfiguration.java
1595         * javax/security/auth/x500/X500PrivateCredential.java
1596         * javax/security/sasl/AuthenticationException.java
1597         * javax/security/sasl/AuthorizeCallback.java
1598         * javax/security/sasl/RealmCallback.java
1599         * javax/security/sasl/RealmChoiceCallback.java
1600         * javax/security/sasl/Sasl.java
1601         * javax/security/sasl/SaslClient.java
1602         * javax/security/sasl/SaslClientFactory.java
1603         * javax/security/sasl/SaslException.java
1604         * javax/security/sasl/SaslServer.java
1605         * javax/security/sasl/SaslServerFactory.java
1606         * org/ietf/jgss/ChannelBinding.java
1607         * org/ietf/jgss/GSSContext.java
1608         * org/ietf/jgss/GSSCredential.java
1609         * org/ietf/jgss/GSSException.java
1610         * org/ietf/jgss/GSSManager.java
1611         * org/ietf/jgss/GSSName.java
1612         * org/ietf/jgss/MessageProp.java
1613         * org/ietf/jgss/Oid.java
1614         * org/ietf/jgss/MessagesBundle.properties
1615
1616         Files imported from Jessie <http://www.nongnu.org/jessie/>
1617         * javax/net/ServerSocketFactory.java
1618         * javax/net/SocketFactory.java
1619         * javax/net/VanillaServerSocketFactory.java
1620         * javax/net/VanillaSocketFactory.java
1621         * javax/net/ssl/HandshakeCompletedEvent.java
1622         * javax/net/ssl/HandshakeCompletedListener.java
1623         * javax/net/ssl/HostnameVerifier.java
1624         * javax/net/ssl/HttpsURLConnection.java
1625         * javax/net/ssl/KeyManager.java
1626         * javax/net/ssl/KeyManagerFactory.java
1627         * javax/net/ssl/KeyManagerFactorySpi.java
1628         * javax/net/ssl/ManagerFactoryParameters.java
1629         * javax/net/ssl/SSLContext.java
1630         * javax/net/ssl/SSLContextSpi.java
1631         * javax/net/ssl/SSLException.java
1632         * javax/net/ssl/SSLHandshakeException.java
1633         * javax/net/ssl/SSLKeyException.java
1634         * javax/net/ssl/SSLPeerUnverifiedException.java
1635         * javax/net/ssl/SSLPermission.java
1636         * javax/net/ssl/SSLProtocolException.java
1637         * javax/net/ssl/SSLServerSocket.java
1638         * javax/net/ssl/SSLServerSocketFactory.java
1639         * javax/net/ssl/SSLSession.java
1640         * javax/net/ssl/SSLSessionBindingEvent.java
1641         * javax/net/ssl/SSLSessionBindingListener.java
1642         * javax/net/ssl/SSLSessionContext.java
1643         * javax/net/ssl/SSLSocket.java
1644         * javax/net/ssl/SSLSocketFactory.java
1645         * javax/net/ssl/TrivialHostnameVerifier.java
1646         * javax/net/ssl/TrustManager.java
1647         * javax/net/ssl/TrustManagerFactory.java
1648         * javax/net/ssl/TrustManagerFactorySpi.java
1649         * javax/net/ssl/X509KeyManager.java
1650         * javax/net/ssl/X509TrustManager.java
1651         * javax/security/cert/Certificate.java
1652         * javax/security/cert/CertificateEncodingException.java
1653         * javax/security/cert/CertificateException.java
1654         * javax/security/cert/CertificateExpiredException.java
1655         * javax/security/cert/CertificateNotYetValidException.java
1656         * javax/security/cert/CertificateParsingException.java
1657         * javax/security/cert/X509CertBridge.java
1658         * javax/security/cert/X509Certificate.java
1659
1660         2004-08-20  Casey Marshall  <csm@gnu.org>
1661
1662         * java/security/cert/X509CRLSelector.java: New file.
1663         * java/security/cert/X509CertSelector.java: New file.
1664
1665 2004-09-15  Michael Koch  <konqueror@gmx.de>
1666
1667         * gnu/java/net/protocol/file/Handler.java
1668         (openConnection): Don't throw exception if host part for file: URI is
1669         present. setURL() keeps file: protocol if ftp: protocol is not
1670         available.
1671
1672 2004-09-14  Richard Henderson  <rth@redhat.com>
1673
1674         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1675         value of sigsuspend.
1676
1677 2004-09-12  Tom Tromey  <tromey@redhat.com>
1678
1679         * javax/naming/CompoundName.java (CompoundName): Don't check for
1680         separator in "flat" case.
1681
1682 2004-09-12  Michael Koch  <konqueror@gmx.de>
1683
1684         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1685         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1686         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1687         Regenerate.
1688
1689 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1690
1691         PR libgcj/14751
1692         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1693         handle in newly-allocated _Jv_Thread_t.
1694         (_Jv_ThreadDestroyData): Close thread handle.
1695         (_Jv_ThreadStart): Remove obsolete comment.
1696         Store handle of newly-created thread in _Jv_Thread_t.
1697         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1698         before including <windows.h>
1699         #define _Jv_HaveCondDestroy
1700
1701 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1702
1703         * java/lang/natThread.cc (finalize_native): Destroy
1704         join conditional variable and mutex if these destroy
1705         operations are supported.
1706
1707 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1708
1709         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1710         (DEFAULT_PERMISSION): New constant.
1711         (Connection): Create a FilePermission with permission to read file.
1712
1713 2004-09-10  Michael Koch  <konqueror@gmx.de>
1714
1715         * gnu/java/net/protocol/file/Connection.java
1716         (getLastModified): Moved around.
1717         (getPermission): Return stored permission.
1718
1719 2004-09-10  Michael Koch  <konqueror@gmx.de>
1720
1721         * Makefile.in: Regenerate.
1722
1723 2004-09-10  Michael Koch  <konqueror@gmx.de>
1724
1725         * Makefile.am: Reverted accidently commited stuff.
1726         * configure: Regenerated.
1727
1728 2004-09-10  Michael Koch  <konqueror@gmx.de>
1729
1730         * gnu/java/net/protocol/file/Connection.java
1731         (lineSeparator): Made non-final.
1732         (static): Removed.
1733         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1734         instead of StringBufferInputStream.
1735
1736 2004-09-10  Michael Koch  <konqueror@gmx.de>
1737
1738         * gnu/java/net/protocol/file/Connection.java
1739         (connect): Handle file is a directory case.
1740
1741 2004-09-10  Michael Koch  <konqueror@gmx.de>
1742
1743         * Makefile.am
1744         (xlib_includes): Removed.
1745         (AM_CPPFLAGS): Renamed from INCLUDES.
1746         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1747         * Makefile.in: Regenerate.
1748
1749 2004-09-09  Michael Koch  <konqueror@gmx.de>
1750
1751         * java/security/ProtectionDomain.java,
1752         * java/util/PropertyPermissionCollection.java:
1753         Fixed javadocs all over.
1754
1755 2004-09-09  Sven de Marothy  <sven@physto.se>
1756
1757         Patch from David Gilbert <david.gilbert@object-refinery.com>
1758         * java/lang/Comparable.java: Fixed documentation errors.
1759         * java/util/Arrays.java: Likewise.
1760
1761 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1762
1763         * java/net/Inet4Address.java
1764         (Inet4Address): Added comment to serialization UID.
1765         * java/text/Format.java
1766         (Format): Added comment to serialization UID.
1767
1768 2004-09-09  Michael Koch  <konqueror@gmx.de>
1769
1770         * java/lang/System.java
1771         (err): Fixed javadoci to point to setErr() and not setOut().
1772
1773 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1774
1775         (normalizePath): Added special case for windows systems.
1776
1777 2004-09-09  Michael Koch  <konqueror@gmx.de>
1778
1779         * java/io/File.java
1780         (dupSeparator): Made private.
1781         (File(URI)): New constructor.
1782         (getParentFile): Fixed javadoc.
1783         (createTempFile): Reformated.
1784         (setReadOnly): Added comment.
1785         (deleteOnExit): Merged javadoc with classpath version.
1786
1787 2004-09-09  Michael Koch  <konqueror@gmx.de>
1788
1789         * Makefile.am: Don't try to include deps.mk.
1790         * Makefile.in: Regenerated.
1791
1792 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1793
1794         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1795         .d files.
1796         * configure: Rebuilt.
1797
1798 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1799
1800         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1801         Changed pfn from static local to local.
1802
1803 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1804             H.J. Lu  <hongjiu.lu@intel.com>
1805
1806         PR libgcj/17290
1807         * Makefile.am (GCJCOMPILE): Remove definition.
1808         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1809         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1810         * Makefile.in: Rebuilt.
1811
1812 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1813
1814         * configure.ac (enable-gc-debug): Update help for new syntax.
1815         * configure: Regenerate.
1816
1817 2004-09-03  David Daney  <ddaney@avtrex.com>
1818
1819         * include/mips-signal.h: Update copyright.
1820
1821 2004-09-03  David Daney  <ddaney@avtrex.com>
1822
1823         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1824         * include/mips-signal.h: Added HANDLE_FPE support.
1825         
1826 2004-08-31  Michael Koch  <konqueror@gmx.de>
1827
1828         * javax/swing/plaf/basic/BasicTextAreaUI.java
1829         (create): New method.
1830         * javax/swing/text/DefaultHighlighter.java
1831         (DefaultHighlightPainter.debugRect): Removed.
1832         * javax/swing/text/StyleContext.java
1833         (DEFAULT_STYLE): New field.
1834
1835 2004-08-31  Michael Koch  <konqueror@gmx.de>
1836
1837         * javax/swing/plaf/basic/BasicLookAndFeel.java
1838         (initComponentDefaults): Add keybindings for selection.backward and
1839         selection-forward for text components.
1840         * javax/swing/plaf/basic/BasicTextUI.java
1841         (paintSafely): Paint highlight only when something is actually
1842         selected.
1843         * javax/swing/text/DefaultCaret.java
1844         (handleHighlight): New method.
1845         (setSelectionVisible): Don't do anything when nothing changes.
1846         Handle highlight.
1847         (moveDot): Reimplemented. Handle highlight.
1848         (setDot): Set mark too. Handle highlight.
1849         (getSelectionPainter): New method.
1850         * javax/swing/text/DefaultEditorKit.java
1851         (defaultActions): Added new actions for text selection.
1852         * javax/swing/text/DefaultHighlighter.java
1853         (DefaultHighlightPainter): New inner class.
1854         (DefaultPainter): New field.
1855         (paint): Implemented.
1856         * javax/swing/text/PlainView.java
1857         (paint): Don't draw background here again.
1858         * javax/swing/text/Utilities.java
1859         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1860         (drawTabbedText): Likewise.
1861
1862 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1863
1864         * javax/swing/JComponent.java
1865         (resetKeyboardActions): Add null checks.
1866
1867 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1868
1869         * javax/swing/DefaultButtonModel.java:
1870         Skip group notification when no group is set.
1871
1872 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1873
1874         * javax/swing/JColorChooser.java: 
1875         Make a couple inner classes static, for jikes.
1876
1877 2004-08-31  Michael Koch  <konqueror@gmx.de>
1878
1879         * javax/swing/plaf/basic/BasicTextUI.java
1880         (RottView.modelToView): New method.
1881         (UpdateHandler): Renamed from EventHandler.
1882         (updateHandler): Renamed from eventHandler.
1883         (modelToView): Implemented.
1884         * javax/swing/text/AbstractDocument.java
1885         (BranchElement.getElement): Return null for non-existing indeces.
1886         (BranchElement.getElementIndex): Return 0 in some corner cases.
1887         * javax/swing/text/FieldView.java
1888         (modelToView): New method.
1889         * javax/swing/text/PlainView.java
1890         (modelToView): Made public.
1891
1892 2004-08-31  Kim Ho  <kho@redhat.com>
1893
1894         * Makefile.am: New files.
1895         * Makefile.in: Regenerate.
1896         * gcj/Makefile.in: Regenerate.
1897         * include/Makefile.in: Regenerate.
1898         * java/awt/Color.java: Fix documentation.
1899         (RGBtoHSB): Use floats for conversions.
1900         * javax/swing/ButtonGroup.java: Run Jalopy.
1901         (setSelected): Reimplement.
1902         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1903         (changeState): Let ButtonGroup know that the button 
1904         is changing state.
1905         * javax/swing/JColorChooser.java: Implement.
1906         * javax/swing/JLabel.java: Run Jalopy.
1907         * javax/swing/JSpinner.java: Run Jalopy.
1908         (setValue): New method.
1909         * javax/swing/JTabbedPane.java: Run Jalopy.
1910         (removeTabAt): Call correct remove method.
1911         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1912         (getPreviousValue): Compare minimum value.
1913         * javax/swing/Timer.java: Run Jalopy.
1914         (run): Comment out println.
1915         * javax/swing/ToolTipManager.java:
1916         (mouseMoved): Get new tooltip text for location.
1917         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1918         Jalopy and Javadoc.
1919         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1920         Implement.
1921         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1922         Run Jalopy.
1923         (setSelectedColor): Fire ChangeEvent.
1924         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1925         New file. Implement.
1926         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1927         Ditto.
1928         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1929         Ditto.
1930         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1931         Ditto.
1932         * javax/swing/plaf/basic/BasicArrowButton.java:
1933         (getArrow): Fix size of upward pointing button.
1934         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1935         Implement.
1936         * javax/swing/plaf/basic/BasicSliderUI.java:
1937         (getWidthOfWidestLabel): Use preferred dimensions.
1938         (getHeightOfTallestLabel): Ditto.
1939         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1940         Run Jalopy.
1941         (mousePressed): Disable changes to spinner if it is not enabled.
1942         * testsuite/Makefile.in: Regenerate.
1943
1944
1945 2004-08-31  Michael Koch  <konqueror@gmx.de>
1946
1947         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1948         javax/swing/plaf/basic/BasicTableUI.java:
1949         Added copyright notice.
1950
1951 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1952
1953         * Makefile.am: Added new files.
1954         * Makefile.in: Regenerate.
1955         * javax/swing/ComboBoxEditor.java: Added javadocs.
1956         * javax/swing/ComboBoxModel.java: Likewise.
1957         * javax/swing/DefaultComboBoxModel.java: Implemented.
1958         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1959         and ran through jalopy to fix formatting style.
1960         (getListCellRendererComponent): Use appropriate border
1961         if renderer has focus and use noFocusBorder when it doesn't.
1962         * javax/swing/JComboBox.java: Implemented.
1963         * javax/swing/JList.java:
1964         (locationToIndex): New Method. Implemented.
1965         (indexToLocation): New Method.
1966         * javax/swing/JPopupMenu.java: 
1967         (visible): New field.
1968         (isVisible): Changed to use new field above.
1969         (setVisible): Likewise.
1970         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1971         * javax/swing/plaf/basic/BasicArrowButton.java: 
1972         (shadow): Changed default color to Color.gray.
1973         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1974         UI delegate for JComboBox.
1975         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1976         Popup menu containing list of JComboBox's items.
1977         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1978         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1979         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1980         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1981         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1982         (popupMenuWillBecomeVisible): Set selected path to the first
1983         element only if it is of type MenuElement. Also fix formatting
1984         style.
1985         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1986         methods signatures.
1987         
1988 2004-08-31  Michael Koch  <konqueror@gmx.de>
1989
1990         * javax/swing/text/AbstractDocument.java
1991         (createBranchElement): Use new constructor of BranchElement.
1992         (createLeafElement): Renamed arguments.
1993         (getRootElements): Implemented.
1994         (BranchElement.start): Removed.
1995         (BranchElement.end): Likewise.
1996         (BranchElement.BranchElement): Fixed arguments.
1997         (BranchElement.getEndOffset): Reimplemented.
1998         (BranchElement.getStartOffset): Likewis.
1999         * javax/swing/text/DefaultCaret.java
2000         (paint): Draw simple vertical line as caret instead of a rectangle.
2001         * javax/swing/text/JTextComponent.java
2002         (setText): Use doc directly.
2003         * javax/swing/text/PlainView.java
2004         (nextTabStop): Implemented.
2005         * javax/swing/text/Utilities.java
2006         (drawTabbedText): nextTabStop() returns an absolute x position.
2007         (getTabbedTextWidth): Likewise.
2008
2009 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2010
2011         * java/awt/Component.java 
2012         (isFocusTraversable): Predicate on isLightweight()
2013         (setFocusable): Set isFocusTraversableOverridden.
2014         (requestFocus): Predicate peer dispatch on !isLightweight()
2015         (requestFocusInWindow): Likewise.
2016         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2017         * java/awt/Container.java
2018         (dispatchEventImpl): Predicate on event mask.
2019         (LightweightDispatcher): Remove focus machinery.
2020         * java/awt/DefaultFocusTraversalPolicy.java
2021         (accept): Expand predicate to include isFocusable(). 
2022         * java/awt/DefaultKeyboardFocusManager.java:
2023         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2024         * java/awt/KeyboardFocusManager.java
2025         (redispatchEvent): Synchronize on event to prevent feedback.
2026         * javax/swing/AbstractButton.java
2027         (ButtonFocusListener): Remove class.
2028         (init): Set focusPainted, focusable.
2029         * javax/swing/ActionMap.java (get): Check parent for null. 
2030         * javax/swing/InputMap.java (get): Likewise. 
2031         * javax/swing/JComponent.java
2032         (inputMap_whenFocused): New InputMap.
2033         (inputMap_whenAncestorOfFocused): Likewise.
2034         (inputMap_whenInFocusedWindow): Likewise.
2035         (getActionForKeyStroke): Rewrite.
2036         (getConditionForKeystroke): Likewise.
2037         (ActionListenerProxy): New private class.
2038         (setInputMap): Implement.
2039         (getInputMap): Likewise.
2040         (setActionMap): Likewise.
2041         (getActionMap): Likewise.
2042         (processComponentKeyEvent): New empty method.
2043         (processKeyEvent): Implement.
2044         (processKeyBinding): Likewise.
2045         (resetKeyboardActions): Rewrite.
2046         * javax/swing/KeyStroke.java: Rewrite.
2047         * javax/swing/SwingUtilities.java
2048         (notifyAction): Implement.
2049         (replaceUIActionMap): Likewise.
2050         (replaceUIInputMap): Likewise.
2051         * javax/swing/plaf/basic/BasicButtonListener.java
2052         (focusGained): Implement.
2053         (focusLost): Repaint if focusPainted().
2054         (installKeyboardActions): Install pressed / released actions.
2055         (uninstallKeyboardActions): Implement.
2056         * javax/swing/plaf/basic/BasicButtonUI.java
2057         (focusColor): New field.
2058         (installDefaults): Load focus color, install input map.
2059         (installKeyboardActions): Implement.
2060         (uninstallKeyboardActions): Likewise.
2061         (paintFocus): Rewrite.
2062         * javax/swing/plaf/basic/BasicLookAndFeel.java
2063         (Button.focus): New default, midPurple. 
2064         * javax/swing/plaf/basic/BasicTextUI.java
2065         (kit): Make static.
2066         (installUI): Get doc from kit, load defaults.
2067         (getKeymapName): Implement.
2068         (createKeymap): Likewise.
2069         (installKeyboardActions): Likewise.
2070         (getInputMap): Likewise.
2071         (getActionMap): Likewise.
2072         (createActionMap): Likewise.
2073         * javax/swing/text/AbstractDocument.java
2074         (getStartPosition): Implement.
2075         (getEndPosition): Likewise.
2076         * javax/swing/text/DefaultEditorKit.java
2077         (CopyAction): New class.
2078         (CutAction): Likewise.
2079         (DefaultKeyTypedAction): Likewise.
2080         (InsertBreakAction): Likewise.
2081         (InsertContentAction): Likewise.
2082         (InsertTabAction): Likewise.
2083         (PasteAction): Likewise.
2084         (defaultActions): New static table.
2085         (createCaret): Implement.
2086         (getActions): Likewise.
2087         * javax/swing/text/JTextComponent.java
2088         (KeymapWrapper): New private class.
2089         (KeymapActionMap): Likewise.
2090         (DefaultKeymap): New class.
2091         (keymaps): New static table.
2092         (keymap): New field.
2093         (getKeymap): Implement.
2094         (removeKeymap): Likewise.
2095         (addKeymap): Likewise.
2096         (setKeymap): Likewise.
2097         (loadKeymap): Likewise.
2098         (getActions): Likewise.
2099         (margin): New field.
2100         (JTextComponent): Build and install default keymap.
2101         * javax/swing/text/TextAction.java
2102         (textAction): Call super properly.
2103         (getTextComponent): Implement.
2104         * javax/swing/text/Utilities.java
2105         (drawTabbedText): Adjust position by ascent.
2106
2107 2004-08-31  David Jee  <djee@redhat.com>
2108
2109         PR AWT/17156
2110
2111         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2112         (setEnabled): Make it a native method.
2113         * java/awt/DefaultKeyboardFocusManager.java
2114         (postProcessKeyEvent): Only post event if the menu item
2115         is active.
2116         * java/awt/MenuItem.java:
2117         Private field 'enabled' should be true by default.
2118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2119         (setEnabled): New function.
2120
2121 2004-08-31  David Jee  <djee@redhat.com>
2122
2123         PR AWT/17059
2124
2125         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2126         (nativeSetHelpMenu): New native method declaration.
2127         (addHelpMenu): Call nativeSetHelpMenu().
2128         (addMenu): Remove.
2129         * java/awt/MenuBar.java
2130         (setHelpMenu): Call addNotify() on the new help menu.
2131         (add): Call addNotify() on the new menu.
2132         (addNotify): Set the help menu if one exists.
2133         * java/awt/peer/MenuBarPeer.java
2134         (addMenu): Remove.
2135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2136         (nativeSetHelpMenu): New method.
2137
2138 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2139
2140         * Makefile.am: Add new files.
2141         * Makefile.in: Regenerate.
2142         * javax/swing/Box.java: Fix setting of layout in ctor.
2143         * javax/swing/JScrollPane.java: Scroll headers as well.
2144         * javax/swing/JTable.java: Reimplement.
2145         * javax/swing/JViewPort.java: Only add non-null children.
2146         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2147         * javax/swing/Timer.java: Fix stopping null waker.
2148         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2149         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2150         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2151         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2152         * javax/swing/table/DefaultTableModel.java: Clean up.
2153         * javax/swing/table/JTableHeader.java: Implement.
2154
2155 2004-08-31  Mark Wielaard  <mark@klomp.org>
2156
2157         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2158         semi-colon.
2159
2160 2004-08-31  Mark Wielaard  <mark@klomp.org>
2161
2162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2163         Declare variables at top of functions/block.
2164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2165
2166 2004-08-31  Mark Wielaard  <mark@klomp.org>
2167
2168         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2169         first.
2170
2171 2004-08-31  Michael Koch  <konqueror@gmx.de>
2172
2173         * javax/swing/text/PlainView.java
2174         (selectedColor): New field.
2175         (unselectedColor): Likewise.
2176         (font): Likewise.
2177         (updateMetrics): New method.
2178         (lineToRect): Likewise.
2179         (modelToView): Likewise.
2180         (drawSelectedText): Use color from JTextComponent ad draw with
2181         Utilities class.
2182         (drawUnselectedText): Likewise.
2183         (paint): Initialize helper fields.
2184         * javax/swing/text/View.java
2185         (getChildAllocation): New method.
2186         (getViewIndex): Likewise.
2187         (getToolTipText): Likewise.
2188
2189 2004-08-31  Michael Koch  <konqueror@gmx.de>
2190
2191         * javax/swing/text/Utilities.java
2192         (drawTabbedText): Reimplemented.
2193         (getTabbedTextWidth): Likewise.
2194
2195 2004-08-31  Michael Koch  <konqueror@gmx.de>
2196
2197         * javax/swing/plaf/basic/BasicTextUI.java
2198         (installDefaults): Install caret and highlighter.
2199         (modelToView): Use Bias.Forward when calling sibling.
2200         * javax/swing/text/AbstractDocument.java
2201         (ElementEdit): Implements DocumentEvent.ElementChange.
2202         (ElementEdit.ElementEdit): New method.
2203         (ElementEdit.getChildrenAdded): Likewise.
2204         (ElementEdit.getChildrenRemoved): Likewise.
2205         (ElementEdit.getElement): Likewise.
2206         (ElementEdit.getIndex): Likewise.
2207         * javax/swing/text/DefaultCaret.java
2208         (color): Removed.
2209         (textComponent): Renamed from parent, made private.
2210         (selectionVisible): Renamed from vis_sel, made private.
2211         (blinkRate): Renamed from blink, made private.
2212         (magicCaretPosition): Renamed from magic, made private.
2213         (visible): Renamed from vis, made private.
2214         (dot): Made private.
2215         (mark): Likewise.
2216         (deinstall): Remove as MouseMotionListener.
2217         (install): Initialize textComponent first. Add as MouseMotionListener.
2218         (paint): Reimplemented.
2219         * javax/swing/text/JTextComponent.java
2220         (setCaret): Deinstall old caret, install new one and fire property
2221         change after setting property.
2222         (setHighlighter): Deinstall old highlighter, install new one and fire
2223         property change after setting property.
2224         (setCaretColor): Fire property change after setting property.
2225         (setDisabledTextColor): Likewise.
2226         (setSelectedTextColor): Likewise.
2227         (setSelectionColor): Likewise.
2228         (modelToView): New method.
2229
2230 2004-08-31  Michael Koch  <konqueror@gmx.de>
2231
2232         * javax/swing/text/AbstractDocument.java
2233         (getText): Simplified.
2234         * javax/swing/text/Segment.java
2235         (current): New field.
2236         (current): Reimplemented.
2237         (first): Likewise.
2238         (getIndex): Likewise.
2239         (last): Likewise.
2240         (next): Likewise.
2241         (previous): Likewise.
2242         (setIndex): Likewise.
2243
2244 2004-08-31  Michael Koch  <konqueror@gmx.de>
2245
2246         * javax/swing/plaf/basic/BasicButtonUI.java
2247         (defaultTextIconGap): Made protected.
2248         (defaultTextShiftOffset): Likewise.
2249         (textShiftOffset): New field.
2250         (clearTextShiftOffset): New method.
2251         (getTextShiftOffset): Likewise.
2252         (setTextShiftOffset): Likewise.
2253
2254 2004-08-31  Michael Koch  <konqueror@gmx.de>
2255
2256         * javax/swing/plaf/basic/BasicTextUI.java
2257         (installUI): Add eventHandler as property listener.
2258         (uninstallUI): remove eventHandler as propert listener.
2259         (installDefaults): Added comment.
2260         (installListeners): Likewise.
2261         (installKeyboardActions): Likewise.
2262         (uninstallDefaults): Likewise.
2263         (uninstallListeners): Likewise.
2264         (uninstallKeyboardActions): Likewise.
2265
2266 2004-08-31  Michael Koch  <konqueror@gmx.de>
2267
2268         * javax/swing/text/AbstractDocument.java:
2269         Fixed some typos in comments.
2270         (insertString): Reimplemented.
2271         (remove): Likewise.
2272         (replace): New method.
2273         (children): Dont use fully qualified class name.
2274         (DefaultDocumentEvent.offset): Renamed from off.
2275         (DefaultDocumentEvent.length): Renamed from len.
2276         (DefaultDocumentEvent.type): New field.
2277         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2278         (DefaultDocumentEvent.getType): Implemented.
2279
2280 2004-08-31  Michael Koch  <konqueror@gmx.de>
2281
2282         * javax/swing/plaf/basic/BasicTextUI.java
2283         (RootView.textComponent): Removed.
2284         (RootView.RootView): Don't initialize textComponent.
2285         (RootView.getViewFactory): New method.
2286         (EventHandler): New inner class.
2287         (rootView): Initialize at instance creation.
2288         (eventHandler): New field.
2289         (installUI): Don't create view hierarchy directly,
2290         call modelChanged() instead.
2291         (modelChanged): New method.
2292         * javax/swing/text/JTextComponent.java
2293         (setDocument): Fire property change event.
2294
2295 2004-08-31  Michael Koch  <konqueror@gmx.de>
2296
2297         * javax/swing/plaf/basic/BasicTextUI.java
2298         (RootView.paint): Removed debug output.
2299         (paintSafely): Draw highlighter before text.
2300         (paintBackground): Use background color of text component.
2301         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2302         Reformatted.
2303
2304 2004-08-31  Michael Koch  <konqueror@gmx.de>
2305
2306         * javax/swing/plaf/basic/BasicToolBarUI.java
2307         (BasicToolBarUI): Fixed arguments for constructor.
2308         (createUI): Fixed creation of object.
2309
2310 2004-08-31  Michael Koch  <konqueror@gmx.de>
2311
2312         * javax/swing/DefaultListSelectionModel.java
2313         (fireValueChanged): Renamed from fireSelectionValueChanged,
2314         made protected.
2315
2316 2004-08-31  Michael Koch  <konqueror@gmx.de>
2317
2318         * javax/swing/text/TabSet.java
2319         (TabSet): Implements java.io.Serializable.
2320         * javax/swing/text/TabStop.java
2321         (TabStop): Implements java.io.Serializable.
2322         (TabStop): Made public.
2323
2324 2004-08-31  Michael Koch  <konqueror@gmx.de>
2325
2326         * javax/swing/JComponent.java
2327         (setUI): Fire PropertyChange.
2328         * javax/swing/JLabel.java
2329         (text): Renamed from labelText.
2330         (horizontalAlignment): New default vlaue.
2331         (icon): Renamed from activeIcon.
2332         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2333         (displayedMnemonicIndex): Renamed from underlineChar.
2334         (setDisplayedMnemonic): Reimplemented.
2335         * javax/swing/JRadioButton.java
2336         (JRadioButton): New constructors.
2337         * javax/swing/JTextField.java
2338         (JTextField): Throw exception if colums < 0, initialitialz
2339         this.columns directly and initialize document with text conditionally.
2340
2341 2004-08-31  Michael Koch  <konqueror@gmx.de>
2342
2343         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2344         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2345         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2346         * javax/swing/text/FieldView.java
2347         (paint): Just call super method for now.
2348         * Makefile.am: Added new files.
2349         * Makefile.in: Regenerated.
2350
2351 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2352
2353         * javax/swing/AbstractSpinnerModel.java,
2354         javax/swing/JSpinner.java,
2355         javax/swing/SpinnerNumberModel.java,
2356         javax/swing/plaf/basic/BasicSpinnerUI.java:
2357         New files.
2358         * javax/swing/plaf/basic/BasicLookAndFeel.java
2359         (initClassDefaults): Added defaults for BasicSpinnerUI.
2360
2361 2004-08-31  Michael Koch  <konqueror@gmx.de>
2362
2363         * Makefile.am: Added new files.
2364         * Makefile.in: Regenerated.
2365
2366 2004-08-31  Michael Koch  <konqueror@gmx.de>
2367
2368         * javax/swing/TransferHandler.java,
2369         javax/swing/plaf/basic/ComboPopup.java: New files
2370         * Makefile.am: Added javax/swing/TransferHandler.java and
2371         javax/swing/plaf/basic/ComboPopup.java
2372         * Makefile.in: Regenerated.
2373
2374 2004-08-31  Roman Kennke  <roman@ontographics.com>
2375
2376         * javax/swing/text/Utilities.java: New file.
2377
2378 2004-08-31  Michael Koch  <konqueror@gmx.de>
2379
2380         * Makefile.am: Added javax/swing/text/Utilities.java.
2381         * Makefile.in: Regenerated.
2382
2383 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2384
2385         * javax/swing/text/SimpleAttributeSet.java: New file.
2386         * javax/swing/text/StyleConstants.java: New file.
2387         * javax/swing/text/StyleContext.java: New file.
2388         * javax/swing/text/TabSet.java: New file.
2389         * javax/swing/text/TabStop.java: New file.
2390         * javax/swing/text/AbstactDocument.java:
2391         (AbstractElement): Implement attribute support.
2392         * javax/swing/text/AttributeSet.java
2393         (NameAttribute): New static field.
2394         (ResolveAttribute): New static field.
2395         * Makefile.am: Update for new files.
2396         * Makefile.in: Regenerate.
2397
2398 2004-08-31  Craig Black  <craig.black@aonix.com>
2399
2400         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2401         (drawImage): Add support for scaling pixmaps.
2402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2403         (copyAndScalePixmap): New native method.
2404  
2405 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2406
2407         PR AWT/16121
2408         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2409         type-punning compiler warnings using unions.
2410         (throw): Replace bzero with memset.
2411
2412 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2413             Thomas Fitzsimmons  <fitzsim@redhat.com>
2414
2415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2416         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2417         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2419         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2420
2421 2004-08-31  Mark Wielaard  <mark@klomp.org>
2422
2423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2424         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2425         and stdlib.h, not gtkpeer.h.
2426         (*vm): New static variable.
2427         (areaPreparedID): Make static.
2428         (areaUpdatedID): Likewise.
2429         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2430         (area_prepared): Likewise.
2431         (area_updated): Likewise.
2432         (closed): Likewise.
2433         (initStaticState): Initialize *vm javaVM.
2434         (pumpBytes): Use given env, not global gdk_env.
2435
2436 2004-08-31  Mark Wielaard  <mark@klomp.org>
2437
2438         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2439         comments.
2440
2441 2004-08-31  Sven de Marothy  <sven@physto.se>
2442
2443         * java/awt/geom/CubicCurve2D.java: Reindent.
2444         (contains): Implemented.
2445         (intersects): Implemented.
2446         * java/awt/geom/QuadCurve2D.java: Likewise.
2447         * java/awt/geom/GeneralPath.java: Reindent and document.
2448         Fully (re)implemented using separate xpoints and ypoints
2449         float[] coords.
2450         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2451
2452 2004-08-31  Michael Koch  <konqueror@gmx.de>
2453
2454         * javax/swing/JMenuItem.java
2455         (getMenuDragMouseListeners): New method.
2456         (getMenuKeyListeners): Likewise.
2457
2458 2004-08-31  Michael Koch  <konqueror@gmx.de>
2459
2460         * javax/swing/AbstractButton.java
2461         (model): Made protected.
2462         (actionListener): Likewise.
2463         (changeListener): Likewise.
2464         (itemListener): Likewise.
2465         (multiClickThreshhold): New field.
2466         (getActionListeners): New method.
2467         (getChangeListeners): Likewise.
2468         (getItemListeners): Likewise.
2469         (fireItemStateChanged): Simplified implementation.
2470         (fireActionPerformed): Likewise.
2471         (fireStateChanged): Likewise.
2472         (getMultiClickThreshhold): New method.
2473         (setMultiClickThreshhold): Likewise.
2474
2475 2004-08-31  Tom Tromey  <tromey@redhat.com>
2476
2477         * java/awt/image/Kernel.java (clone): Use super.clone().
2478
2479 2004-08-31  David Jee  <djee@redhat.com>
2480
2481         PR AWT/16682
2482         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2483         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2484         (nativeSetIconImageFromData): New native method declaration.
2485         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2486         * gnu/java/awt/peer/gtk/GtkImage.java
2487         (getPixelCache): New method.
2488         (getColorModel): New method.
2489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2490         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2491         (free_pixbuf_data): New helper function.
2492         (nativeSetIconImageFromData): New function.
2493
2494 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2495
2496         PR SWING/16576
2497         * javax/swing/JLayeredPane.java 
2498         (setLayer): Permit changing layer after addition.
2499         (setPosition): Permit over-length positions.
2500         (layerToRange): Compare intValue()s.
2501         * javax/swing/Box.java (createHorizontalBox): Implement.
2502         (createRigidArea): Likewise.
2503         (createVerticalBox): Likewise.
2504
2505 2004-08-31  Kim Ho  <kho@redhat.com>
2506
2507         * java/awt/Component.java:
2508         (processMouseEvent): Consume event after
2509         listeners process it.
2510         (processMouseMotionEvent): ditto.
2511         (processMouseWheelEvent): ditto.
2512         * java/awt/Container.java:
2513         (acquireComponentForMouseEvent):
2514         Do not dispatch to events that have been
2515         removed from the Container.
2516         (handleEvent): Consume the MouseEvents.
2517         * javax/swing/RepaintManager.java:
2518         (paintDirtyRegions): Do not add to list of 
2519         damaged areas if the component has no root.
2520
2521 2004-08-31  Michael Koch  <konqueror@gmx.de>
2522
2523         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2524
2525 2004-08-31  Mark Wielaard  <mark@klomp.org>
2526
2527         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2528         null when a MissingResourceException is thrown. Should never happen.
2529
2530 2004-08-31  Mark Wielaard  <mark@klomp.org>
2531
2532         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2533         when argument is null.
2534
2535 2004-08-31  Mark Wielaard  <mark@klomp.org>
2536
2537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2538         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2539         Define hid at start of function.
2540         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2541         Likewise.
2542
2543 2004-08-31  Mark Wielaard  <mark@klomp.org>
2544
2545         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2546         * javax/swing/JButton.java: Reindent.
2547         * javax/swing/JCheckBox.java: Reindent.
2548
2549 2004-08-31  Mark Wielaard  <mark@klomp.org>
2550
2551         * Makefile.am (gtk_c_source_files): Added
2552         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2553         (gtk_awt_peer_sources): Added
2554         gnu/java/awt/peer/gtk/GThreadMutex.java and
2555         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2556         * Makefile.in: Regenerated.
2557
2558 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2559
2560         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2561
2562 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2563
2564         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2565         Added jfieldID, jmethodID.
2566
2567 2004-08-31  Mark Wielaard  <mark@klomp.org>
2568
2569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2570         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2571         gdk_env before calling any gdk or gtk function.
2572
2573         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2574         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2575         (run): Set gtkInitCalled.
2576
2577 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2578
2579         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2580         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2581
2582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2583         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2584         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2585         init_glib_threads. 
2586         (init_glib_threads): New function.
2587
2588 2004-08-31  Mark Wielaard  <mark@klomp.org>
2589
2590         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2591         PRIORITY when not already defined in header file.
2592
2593 2004-08-31  Mark Wielaard  <mark@klomp.org>
2594
2595         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2596         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2597
2598 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2599
2600         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2601         Implemented missing functions for GTK2.
2602         Added error handling.
2603         Renamed static functions out of the g_ namespace.
2604         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2605         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2606         Rewrote global-reference code.
2607         Eliminated cascading errors.
2608         (mutex_trylock_jni_impl) Fully implemented.
2609         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2610         resolution.
2611         (setup_cache) New function.
2612         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2613         bug where they were not unlocking the GMutex associated with the
2614         condition variable during the wait on that condition variable.
2615
2616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2617         native/jni/gtk-peer/gthread-jni.c,
2618         native/jni/gtk-peer/gthread-jni.h
2619         (g_thread_jni_functions): Renamed to ...
2620         (portable_native_sync_jni_functions): this name.
2621         (gdk_vm): Renamed to...
2622         (the_vm): this name.
2623
2624         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2625         (gdk_vm): Removed duplicate definition.
2626         (gtkInit): Removed stray message to stdout.
2627         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2628         (gtkInit): Fix a const assignment bug.
2629         (gtkInit): Simplified code.
2630
2631         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2632         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2633         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2634         gnu/java/awt/peer/gtk/GThreadMutex.java:
2635         New files.
2636
2637 2004-08-31  Mark Wielaard  <mark@klomp.org>
2638
2639         * javax/swing/Box.java: Put FIXME comment above class declaration.
2640         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2641         * javax/swing/JCheckBox.java: Likewise.
2642         * javax/swing/JDialog.java: Likewise.
2643         * javax/swing/JRadioButton.java: Likewise.
2644         * javax/swing/JToggleButton.java: Likewise.
2645         * javax/swing/UIManager.java: Likewise.
2646         * javax/swing/border/TitledBorder.java: Likewise.
2647         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2648         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2649         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2650         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2651         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2652         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2653         * javax/swing/text/JTextComponent.java: Likewise.
2654
2655 2004-08-31  David Jee  <djee@redhat.com>
2656
2657         PR AWT/16682
2658         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2659         (setIconImage): Add a FIXME for unhandled cases.
2660
2661 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2662
2663         PR AWT/16040
2664         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2665         getModifiers.  Replace old button masks with new ones.
2666         * gnu/awt/xlib/XEventLoop.java: Likewise.
2667         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2668         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2670         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2671         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2672         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2673         * java/awt/Component.java: Replace old modifier masks with new
2674         ones.
2675         * java/awt/Container.java: Call getModifiersEx, not
2676         getModifiers.
2677         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2678         old modifier masks.
2679         * javax/swing/JMenuItem.java: Replace old button masks with new
2680         ones.
2681         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2682         getModifiers.
2683         * javax/swing/SwingUtilities.java: Likewise.
2684         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2685         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2687         mask macros with new ones.
2688         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2689         macros with new ones representing new masks.
2690
2691 2004-08-31  Craig Black  <craig.black@aonix.com>
2692
2693         * gnu/java/awt/peer/gtk/GdkGraphics.java
2694         (drawRoundRect): Implemented.
2695         (fillRoundRect): Implemented.
2696         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2697         (drawRoundRect): Reimplemented to match GdkGraphics.
2698         (fillRoundRect): Reimplemented to match GdkGraphics.
2699
2700 2004-08-31  Mark Wielaard  <mark@klomp.org>
2701
2702         * Makefile.in: Regenerated.
2703
2704 2004-08-31  Michael Koch  <konqueror@gmx.de>
2705
2706         * gnu/java/awt/EmbeddedWindow.java
2707         (addNotify): Use AccessController to allow execution of privileged
2708         code.
2709
2710 2004-08-31  Michael Koch  <konqueror@gmx.de>
2711
2712         * gnu/java/awt/EmbeddedWindow.java
2713         (static): Removed.
2714         (addNotify): Set peer via reflection.
2715         (setWindowPeer): Removed.
2716         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2717         * Makefile.am (nat_source_files):
2718         Removed gnu/java/awt/natEmbeddedWindow.cc.
2719
2720 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2721
2722         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2723         and gnu/java/security/action/SetAccessibleAction.java.
2724
2725 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2726
2727         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2728         Renamed from 'setName'. New 2-argument form with default value.
2729         (run): Pass default 'value' parameter to System.getProperty().
2730         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2731         typos.
2732
2733 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2734
2735         * gnu/java/security/action/GetPropertyAction.java: New class.
2736         * gnu/java/security/action/SetAccessibleAction.java: New class.
2737
2738 2004-08-31  David Jee  <djee@redhat.com>
2739
2740         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2741         (setIconImage): Check if image is null.
2742
2743 2004-08-31  David Jee  <djee@redhat.com>
2744
2745         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2746         (create): Set the icon image.
2747         (nativeSetIconImage): New native method declaration.
2748         (setIconImage): Implement.
2749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2750         (nativeSetIconImage): New function.
2751
2752 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2753
2754         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2755         (filenameFilterCallback): Declare local variable accepted before use.
2756
2757 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2758
2759         * gnu/java/awt/ComponentDataBlitOp.java:
2760         Cleaned up imports.
2761
2762 2004-08-31  Tom Tromey  <tromey@redhat.com>
2763
2764         * gnu/java/awt/peer/GLightweightPeer.java,
2765         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2766         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2767         javax/swing/JScrollPane.java: Removed
2768         redundant imports.
2769
2770 2004-08-31  David Jee  <djee@redhat.com>
2771
2772         * java/awt/DefaultKeyboardFocusManager.java
2773         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2774         event.  Fix shift modifier checking.
2775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2776         (accel_attach): Remove.
2777         (setupAccelGroup): Remove calls to accel_attach.
2778
2779 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2780
2781         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2782         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2783
2784         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2785         GtkArgList.java.
2786         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2787         * Makefile.in: Regenerate.
2788         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2789         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2790         (create(String)): New method.
2791         (create): Call new create method.
2792         (getArgs): Remove method.
2793         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2794         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2795         (nativeCreate): Rename to create.
2796         (gtkSetLabel): Rename to gtkButtonSetLabel.
2797         (gtkToggleButtonSetActive): New method.
2798         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2799         (setState): Replace set call with gtkToggleButtonSetActive.
2800         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2801         (getArgs): Remove method.
2802         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2804         (gtkWidgetSetSensitive): New method.
2805         (gtkWidgetSetParent): Likewise.
2806         (GtkComponentPeer): Call setParent, setComponentBounds and
2807         setVisibleAndEnabled.
2808         (setParent): New method.
2809         (setComponentBounds): New method.
2810         (setVisibleAndEnabled): New method.
2811         (setEnabled): Call gtkWidgetSetSensitive.
2812         (getArgs): Remove method.
2813         Remove all set methods.
2814         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2815         gtkWindowSetModal, setTitle and setResizable.
2816         (getArgs): Remove method.
2817         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2818         (setComponentBounds): New method.
2819         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2820         Replace set call with gtkWindowSetResizable.
2821         (getArgs): Remove method.
2822         (create): Call setTitle and setResizable.
2823         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2825         (gtkWindowSetTitle): New method.
2826         (gtkWindowSetResizable): New method.
2827         (gtkWindowSetModal): New method.
2828         (setParent): New method.
2829         (setVisibleAndEnabled): New method.
2830         (getArgs): Remove method.
2831         (setTitle): Call gtkWindowSetTitle.
2832         (setResizable): Call gtkWindowSetResizable.
2833         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2834         and off locking instrumentation.
2835
2836 2004-08-31  Kim Ho  <kho@redhat.com>
2837
2838         * Makefile.am: Add new file.
2839         * Makefile.in: Regenerate.
2840         * gcj/Makefile.in: Regenerate
2841         * include/Makefile.in:
2842         * java/awt/Container.java:
2843         (acquireComponentForMouseEvent): Respect 
2844         the event mask when looking for candidate.
2845         * javax/swing/JComponent.java:
2846         Remove toolTip field.
2847         (createToolTip): Create a tooltip on demand.
2848         (setToolTipText): Register with the ToolTipManager.
2849         (getToolTipText(MouseEvent)): Return getToolTipText().
2850         * javax/swing/JToolTip.java: Implement.
2851         * javax/swing/Timer.java: Jalopy.
2852         (restart): Call stop, then start.
2853         (stop): Interrupt the timer rather than wait for
2854         the timer to come to a stop naturally.
2855         * javax/swing/ToolTipManager.java: Implement.
2856         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2857         Change ToolTip.background color.
2858         * javax/swing/plaf/basic/BasicToolTipUI.java:
2859         Implement.
2860         * testsuite/Makefile.in: Regenerate
2861
2862 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2863
2864         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2865         constructor param comments.
2866
2867 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2868
2869         * java/awt/Component.java: Document AWT 1.0 event handler
2870         methods.
2871
2872 2004-08-31  Roman Kennke  <roman@ontographics.com>
2873
2874         * javax/swing/Box.java:
2875         (createGlue): Implemented
2876         (createHorizontalGlue): Implemented
2877         (createHorizontalStrut): Implemented
2878         (createVerticalGlue): Implemented
2879         (createVerticalStrut): Implemented
2880
2881 2004-08-31  David Jee  <djee@redhat.com>
2882
2883         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2884         (GtkChoicePeer): Do not automatically select first item.
2885         (getHistory): Remove.
2886         (nativeGetSelected): New method.
2887         (nativeRemoveAll): New method.
2888         (add): Use nativeGetSelected() instead of getHistory().
2889         (remove): Likewise.
2890         (removeAll): Call nativeRemoveAll().
2891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2892         (create): Migrate to GtkComboBox.
2893         (append): Likewise.
2894         (nativeAdd): Likewise.
2895         (nativeRemove): Likewise.
2896         (select): Likewise.
2897         (nativeRemoveAll): New method.
2898         (nativeGetSelected): New method.
2899         (selection_changed): New method.
2900         (getHistory): Remove.
2901         (item_activate): Remove.
2902         (item_removed): Remove.
2903         (connect_choice_item_selectable_hook): Remove.
2904
2905 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2906
2907         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2908         variable in setEditable call.
2909
2910         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2912         (gtkWidgetSetBackground): New method.
2913         (gtkWidgetSetForeground): Likewise.
2914         (create): Set peer's editable state based on awtComponent's.
2915
2916         * java/awt/Button.java (Button()): Use empty string rather than
2917         null in no-label constructor.
2918
2919 2004-08-31  Roman Kennke  <roman@ontographics.com>
2920
2921         * javax/swing/BoxLayout.java: Reimplement.
2922
2923 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2924
2925         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2926         gnu_java_awt_peer_gtk_GdkGraphics.c
2927         (initState(GtkComponentPeer)): Don't return array of colour
2928         values.
2929         (GdkGraphics(int,int)): Set default font to size 12.
2930         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2931         component's foreground colour.
2932         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2933         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2934         (initState(GtkComponentPeer)): Don't return array of colour
2935         values.
2936         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2937         colours to component's colours.
2938         (current_colors_of_widget): Remove function.
2939         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2940         Return a new graphics object.
2941         * java/awt/Font.java (toString): Fix format.
2942         * java/awt/Graphics.java (toString): Likewise.
2943
2944 2004-08-31  Craig Black  <craig.black@aonix.com>
2945
2946         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2947         (addTearOff): New function.
2948         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2949         New native method.
2950         (init): Call addTearOff() when menu.isTearOff().
2951
2952 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2953
2954         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2955         Default implementation.
2956         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2957         Implement using GdkPixbufDecoder.
2958
2959 2004-08-31  David Jee  <djee@redhat.com>
2960
2961         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2962         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2963         setting the size of GtkFileDialogPeers.
2964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2965         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2966         use their default sizes rather than their natural requisitions.
2967
2968 2004-08-31  Michael Koch  <konqueror@gmx.de>
2969
2970         * javax/swing/JFormattedTextField.java
2971         (JFormattedTextField): Implemented.
2972         * javax/swing/text/DefaultEditorKit.java
2973         (BeepAction): New inner class.
2974         * javax/swing/text/Segment.java
2975         (partialReturn): New field.
2976         (setPartialReturn): New method.
2977         (isPartialReturn): Likewise.
2978         * javax/swing/text/View.java
2979         (createFragment): Fixed typo.
2980         (getStartOffset): New method.
2981         (getEndOffset): Likewise.
2982
2983 2004-08-31  Michael Koch  <konqueror@gmx.de>
2984
2985         * javax/swing/table/DefaultTableColumnModel.java
2986         (serialVersionUID): Made private.
2987         (listenerList): Initialize.
2988         (changeEvent): Initialize.
2989         * javax/swing/table/JTableHeader.java
2990         (JTableHeader): New constructors.
2991         (createDefaultColumnModel): New method.
2992         * javax/swing/table/TableColumn.java
2993         (setHeaderRenderer): Simplified code.
2994         (setCellRenderer): Likewise.
2995         (setWidth): Likewise.
2996
2997 2004-08-31  Tom Tromey  <tromey@redhat.com>
2998
2999         * java/text/AttributedString.java (AttributedString): Use
3000         ArrayList to build array of attribute ranges.  Don't use
3001         `attribs' before it is set.
3002
3003 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3004
3005         * HACKING: Remove reference to special automake. No longer needed.
3006
3007 2004-08-30  Tom Tromey  <tromey@redhat.com>
3008
3009         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3010         return result from `add'.
3011
3012 2004-08-30  Tom Tromey  <tromey@redhat.com>
3013
3014         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3015
3016 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3017
3018         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3019
3020 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3021
3022         * java/io/File.java File(String,String): Fixed handling of empty
3023         path.
3024
3025 2004-08-30  Casey Marshall  <csm@gnu.org>
3026
3027         Author e-mail updated for all files.
3028         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3029         instance of OID.
3030         (compareTo): Use `equals'.
3031         * gnu/java/security/der/BitString.java (equals): Test if the
3032         argument is an instance of BitString.
3033         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3034         class final. Made fields private.
3035         (<init>): New constructor.
3036         (skip): New method.
3037         (makeString): Made static; don't use NIO.
3038         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3039         * gnu/java/security/der/DERWriter.java: Fixed imports.
3040         (writeString): Don't use NIO.
3041         (toIso88591, toUtf16Be, toUtf8): New methods.
3042         * gnu/java/security/der/DERValue.java: Formatting changes only.
3043         * gnu/java/security/der/DER.java: Likewise.
3044
3045 2004-08-30  Tom Tromey  <tromey@redhat.com>
3046
3047         * java/nio/CharBuffer.java (put): Fix typo.
3048         * java/nio/DoubleBuffer.java (put): Fix typo.
3049         * java/nio/FloatBuffer.java (put): Fix typo.
3050         * java/nio/IntBuffer.java (put): Fix typo.
3051         * java/nio/LongBuffer.java (put): Fix typo.
3052         * java/nio/ShortBuffer.java (put): Fix typo.
3053
3054 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3055
3056         * java/nio/ByteBuffer.java (put): Fix typo.
3057
3058 2004-08-30  Casey Marshall  <csm@gnu.org>
3059
3060         * java/security/DummyKeyPairGenerator.java (clone): Removed
3061         useless instanceof check.
3062         * java/security/DummyMessageDigest.java (clone): Likewise.
3063         * java/security/DummySignature.java (clone): Likewise.
3064         * java/security/MessageDigest.java (clone): Remove useless
3065         instanceof check.
3066         * java/security/MessageDigestSpi.java (clone): Likewise.
3067         * java/security/Signature.java (clone): Provide meaningful
3068         implementation.
3069         * java/security/SignatureSpi.java (clone): Likewise.
3070
3071 2004-08-29  Mark Wielaard  <mark@klomp.org>
3072
3073         * java/util/Arrays.java
3074         (sort(byte[], int, int)): Check fromIndex < 0.
3075         (sort(char[], int, int)): Likewise.
3076         (sort(short[], int, int)): Likewise.
3077         (sort(int[], int, int)): Likewise.
3078         (sort(long[], int, int)): Likewise.
3079         (sort(float[], int, int)): Likewise.
3080         (sort(double[], int, int)): Likewise.
3081         (sort(Object[], int, int, Comparator)): Likewise.
3082         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3083         (qsort(char[], int, int)): Likewise.
3084         (qsort(short[], int, int)): Likewise.
3085         (qsort(int[], int, int)): Likewise.
3086         (qsort(long[], int, int)): Likewise.
3087         (qsort(float[], int, int)): Likewise.
3088         (qsort(double[], int, int)): Likewise.
3089
3090 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3091
3092         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3093         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3094         java/util/ArrayList.java, java/util/Arrays.java,
3095         java/util/BitSet.java, java/util/Calendar.java,
3096         java/util/Collection.java, java/util/ListIterator.java,
3097         java/util/Map.java, java/util/SortedSet.java:
3098         Added additional exceptions to documentation, along
3099         with some additions and corrections.
3100
3101 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3102
3103         * configure.ac: Handle --enable-gc-debug.
3104         * configure: Regenerate.
3105         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3106         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3107         Rearrange include file order.
3108         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3109         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3110         (disable_gc_mutex): Delete along with all references.
3111         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3112         adjust for debug header size.
3113         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3114         debug case.
3115         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3116         (gcj_describe_type_fn): New.
3117         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3118         Register gcj_describe_type_fn.
3119         * include/boehm-gc.h:
3120         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3121         Don't define, but declare, for debug case.
3122         * java/lang/natObject.cc:
3123         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3124
3125 2004-08-26  Mark Wielaard  <mark@klomp.org>
3126
3127         Fixes PR libgcj/17002:
3128         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3129         a TimeZoneId string and then try to convert that to a TimeZone with
3130         getDefaultSystemTimeZone(String).
3131         (timezones0): Changed type from Hashtable to HashMap.
3132         (timezones): Create HashMap, not Hashtable.
3133         (getDefaultTimeZone): New method, rewritten from CNI version.
3134         (readTimeZoneFile): New method.
3135         (readtzFile): Likewise.
3136         (skipFully): Likewise.
3137         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3138         getDefaultTimeZoneId and rewritten.
3139         (getDefaultTimeZoneId): Rewritten in java.
3140         
3141 2004-08-25  David Daney  <daney@avtrex.com>
3142
3143         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3144         * Makefile.in: Regenerated.
3145
3146 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3147
3148         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3149         only if jvmpi is enabled.
3150         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3151         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3152         (_Jv_AllocString): Likewise.
3153         (_Jv_AllocPtrFreeObject): Likewise.     
3154
3155 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3156
3157         * defineclass.cc: Include <stdio.h>.
3158         * java/lang/natClassLoader.cc: Include <stdio.h>.
3159
3160 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3161             Michael Koch  <konqueror@gmx.de>
3162
3163         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3164         * Makefile.in: Regenerated.
3165
3166 2004-08-20  Michael Koch  <konqueror@gmx.de>
3167
3168         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3169         AC_COMPILE_IFELSE macros.
3170
3171 2004-08-20  Michael Koch  <konqueror@gmx.de>
3172
3173         * configure.in: Renamed to configure.ac.
3174         * configure.ac: New file.
3175         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3176         include/config.h.in, testsuite/Makefile.in: Regenerated.
3177
3178 2004-08-20  Michael Koch  <konqueror@gmx.de>
3179
3180         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3181         * aclocal.m4, configure: Regenerated.
3182
3183 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3184             Michael Koch  <konqueror@gmx.de>
3185
3186         * configure.in, Makefile.am: Ported to automake 1.9.
3187         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3188         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3189         Regenerated.
3190
3191 2004-08-19  Tom Tromey  <tromey@redhat.com>
3192
3193         * java/net/DatagramSocket.java: Fixed typo.
3194
3195 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3196
3197         PR libgcj/17081
3198         * java/net/URI.java (string): New field. Make all other fields
3199         transient.
3200         (readObject): Implemented.
3201         (writeObject): Implemented.
3202         (URI): Set 'string'.
3203
3204 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3205
3206         PR libgcj/17079
3207         * java/util/logging/Handler.java (isLoggable): Accept record if its
3208         log level equals the threshold level. From Robin Green.
3209
3210 2004-08-18  David Daney  <ddaney@avtrex.com>
3211
3212         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3213         instead of sigwait.
3214
3215 2004-08-17  Michael Koch  <konqueror@gmx.de>
3216
3217         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3218         * Makefile.in: Regenerated.
3219
3220 2004-08-16  Tom Tromey  <tromey@redhat.com>
3221
3222         PR java/8473:
3223         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3224
3225 2004-08-16  Michael Koch  <konqueror@gmx.de>
3226
3227         * Makefile.am
3228         (math_c_files): Renamed from c_files.
3229         (math_c_source_files): Renamed from c_source_files.
3230         * Makefile.in,
3231         gcj/Makefile.in,
3232         include/Makefile.in,
3233         testsuite/Makefile.in: Regenerated.
3234
3235 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3236
3237         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3238         to avoid autoconf warning.
3239         * configure: Rebuilt.
3240
3241 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3242
3243         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3244         localhostAddress to loopbackAddress.
3245         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3246
3247 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3248
3249         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3250         boehm-gc's include dirs.
3251         * configure: Rebuilt.
3252         * include/boehm-gc.h: Include gc_config.h.
3253
3254 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3255
3256         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3257         localhostAddress.
3258         (getByName): Return loopback address for null hostname, without
3259         security check. Use lookup(), not getAllByName.
3260         (getAllByName): Return loopback address for null hostname, without
3261         security check.
3262         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3263         check here.
3264
3265 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3266
3267         PR libgcj/17020
3268         Reported by Robin Green.
3269         * defineclass.cc (handleField): Don't throw exception on unrecognised
3270         modifier. Add FIXME comments for spec compliance.
3271         (handleMethod): Likewise.
3272
3273 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3274
3275         PR libgcj/16662
3276         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3277         (Almost everywhere): add LOG calls, fix, add comments.
3278         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3279         Add explicit check for LOCKED bit in slow case (PR 16662).
3280         (_Jv_MonitorExit): Add casts in debug-only code.
3281         Always release LOCKED bit before throwing exception.
3282         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3283         isn't.  Handle easy cases without lock acquisition.
3284         (Object::wait): Use NotifyAll for lock inflation.
3285
3286 2004-08-12  David Daney  <ddaney@avtrex.com>
3287
3288         * testsuite/libjava.lang/Process_1.java: New test.
3289         * testsuite/libjava.lang/Process_2.java: New test.
3290         * testsuite/libjava.lang/Process_3.java: New test.
3291         * testsuite/libjava.lang/Process_4.java: New test.
3292         * testsuite/libjava.lang/Process_5.java: New test.
3293         * testsuite/libjava.lang/Process_6.java: New test.
3294         * testsuite/libjava.lang/Process_1.out: Expected result.
3295         * testsuite/libjava.lang/Process_2.out: Expected result.
3296         * testsuite/libjava.lang/Process_3.out: Expected result.
3297         * testsuite/libjava.lang/Process_4.out: Expected result.
3298         * testsuite/libjava.lang/Process_5.out: Expected result.
3299         * testsuite/libjava.lang/Process_6.out: Expected result.
3300
3301 2004-08-12  David Daney  <ddaney@avtrex.com>
3302
3303         PR libgcj/11801
3304         * java/lang/PosixProcess.java: Rewrote.
3305         * java/lang/natPosixProcess.cc: Rewrote.
3306         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3307         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3308         * posix-threads.cc (block_sigchld) New function.
3309         (_Jv_ThreadRegister) Use it.
3310         (_Jv_ThreadStart) Use it.
3311         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3312         * Makefile.am: ... to specify extra native headers.
3313         * configure: Regenerated.
3314         * include/config.h: Regenerated.
3315         * Makefile.in: Regenerated.
3316         * gcj/Makefile.in: Regenerated.
3317         * include/Makefile.in: Regenerated.
3318         * testsuite/Makefile.in: Regenerated.
3319
3320 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3321
3322         PR tree-optimization/16867
3323         * testsuite/libjava.lang/PR16867.java: New test.
3324
3325 2004-08-09  Per Bothner  <per@bothner.com>
3326
3327         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3328         with private fields and access methods.
3329         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3330         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3331         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3332         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3333         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3334         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3335         * jni.cc: Likewise.
3336         * resolve.cc: Likewise.
3337         * gcj/field.h: Likewise.
3338         * include/jvm.h: Likewise.
3339         * java/lang/Class.h: Likewise.
3340         * java/lang/natClass.cc: Likwise.
3341         * java/lang/natClassLoader.cc: Likewise
3342         * java/lang/reflect/natMethod.cc: Likewise
3343         * verify.cc: Likewise.
3344         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3345         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3346
3347 2004-08-10  Andrew Haley  <aph@redhat.com>
3348
3349         * testsuite/libjava.lang/err14.java: New file.
3350         * testsuite/libjava.lang/err14.out: New file.
3351
3352 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3353
3354         * Makefile.am: Fix missing rename from x_nat_headers to 
3355         xlib_nat_headers.
3356         * Makefile.in: Regenerated.
3357
3358 2004-08-04  Andrew Haley  <aph@redhat.com>
3359
3360         * java/security/BasicPermission.java: Don't check wildcards.
3361
3362 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3363             Michael Koch  <konqueror@gmx.de>
3364
3365         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3366         * configure.in: Replaced all usages of AC_LINK_FILES by
3367         AC_CONFIG_LINKS.
3368         * aclocal.m4,
3369         configure: Regenerated.
3370
3371 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3372             Michael Koch  <konqueror@gmx.de>
3373
3374         * acconfig.h: Removed.
3375         * Makefile.am: Rename variables for xlib peer to include xlib and
3376         gtk_c_headers to gtk_jni_headers.
3377         * Makefile.in: Regenerated.
3378
3379 2004-08-04  Andrew Haley  <aph@redhat.com>
3380
3381         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3382         debugging.
3383
3384 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3385
3386         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3387         Replace most top level 'dnl' comments with '#' comments, conforming
3388         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3389         help strings.
3390         * configure: Rebuilt.
3391
3392 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3393
3394         * acinclude.m4: Include no-executables.m4.
3395         * aclocal.m4: Rebuild.
3396         * configure.in: Convert to the autoconf 2.59 version of
3397         of the no-executables hack, and also of the nonstandard CXX
3398         hack and the multilibbed CC and CXX hack.  Change prerequisite
3399         to autoconf 2.59.
3400         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3401         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3402         testsuite/Makefile.in: Regenerate.
3403
3404 2004-08-03  Tom Tromey  <tromey@redhat.com>
3405
3406         * jni.cc: Reindented.
3407
3408 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3409
3410         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3411
3412 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3413
3414         * testsuite/libjava.compile/PR16701.java: New test.
3415
3416 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3417
3418         * java/util/Collection.java, java/util/List.java,
3419         java/util/Map.java, java/util/Set.java,
3420         java/util/SortedMap.java, java/util/SortedSet.java:
3421         Added additional exceptions to documentation.
3422
3423 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3424
3425         PR libgcj/16814
3426         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3427         * configure. Regenerate.
3428         * include/win32.h: Explicitly include winsock2.h
3429         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3430         Winsock api.
3431
3432 2004-07-30  Michael Koch  <konqueror@gmx.de>
3433
3434         * java/util/zip/GZIPInputStream.java
3435         (GZIPInputStream): Increase buffer size to 4k.
3436         * java/util/zip/GZIPOutputStream.java
3437         (GZIPOutputStream): Likewise.
3438         * java/util/zip/Inflater.java
3439         (setInput): Merged formating with GNU classpath.
3440         * java/util/zip/InflaterInputStream.java
3441         (InflaterInputStream): Increase buffer size to 4k.
3442         (fill): Throw exception if stream ends early.
3443         (read): Merged endless-loop with GNU classpath.
3444         (skip): Increase buffer size to 2k.
3445
3446 2004-07-30  Michael Koch  <konqueror@gmx.de>
3447
3448         * gnu/java/awt/EmbeddedWindow.java
3449         (addNotify): Use AccessController to allow execution of privileged
3450         code.
3451
3452 2004-07-29  Michael Koch  <konqueror@gmx.de>
3453
3454         * gnu/java/lang/MainThread.java:
3455         Explicitely import used classes.
3456         (args): Make it type String[].
3457
3458 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3459
3460         * gnu/java/awt/ComponentDataBlitOp.java,
3461         gnu/java/beans/ExplicitBeanInfo.java,
3462         gnu/java/beans/IntrospectionIncubator.java,
3463         gnu/java/beans/editors/ColorEditor.java,
3464         gnu/java/beans/editors/FontEditor.java,
3465         gnu/java/beans/editors/NativeBooleanEditor.java,
3466         gnu/java/beans/editors/NativeByteEditor.java,
3467         gnu/java/beans/editors/NativeDoubleEditor.java,
3468         gnu/java/beans/editors/NativeFloatEditor.java,
3469         gnu/java/beans/editors/NativeIntEditor.java,
3470         gnu/java/beans/editors/NativeLongEditor.java,
3471         gnu/java/beans/editors/NativeShortEditor.java,
3472         gnu/java/beans/editors/StringEditor.java,
3473         gnu/java/io/ClassLoaderObjectInputStream.java,
3474         gnu/java/io/decode/Decoder.java,
3475         gnu/java/io/encode/Encoder.java,
3476         gnu/java/lang/ClassHelper.java,
3477         gnu/java/locale/Calendar.java,
3478         gnu/java/locale/Calendar_de.java,
3479         gnu/java/locale/Calendar_en.java,
3480         gnu/java/locale/Calendar_nl.java,
3481         gnu/java/locale/LocaleInformation_de.java,
3482         gnu/java/locale/LocaleInformation_en.java,
3483         gnu/java/locale/LocaleInformation_nl.java:
3484         Cleaned up imports.
3485
3486 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3487
3488         * README: Remove obsolete info. Update bug URL.
3489         * THANKS: Updated.
3490         * NEWS: Updated with news up to GCC 3.4 release.
3491
3492 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3493
3494         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3495         Renamed from 'setName'. New 2-argument form with default value.
3496         (run): Pass default 'value' parameter to System.getProperty().
3497         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3498         typos.
3499         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3500         not 'setName'.
3501
3502 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3503
3504         * configure.in: Check for minimum GTK version 2.4 requirement.
3505         * configure: Rebuilt.
3506
3507 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3508
3509         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3510         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3511         Reduce sleep time.
3512         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3513         compiler bug.
3514         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3515         address. Reduce sleep times. Synchronize with target threads before
3516         attempting to interrupt them. Don't try to calibrate yeild count,
3517         instead, always loop for a fixed time.
3518         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3519         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3520         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3521         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3522         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3523         * testsuite/libjava.lang/pr179.java: Likewise.
3524         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3525         time. Remove upper bounds check on sleep time. 
3526
3527 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3528
3529         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3530         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3531
3532 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3533
3534         * java/io/File.java (toURI): Throw RuntimeException, not 
3535         InternalError.
3536         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3537         class name, not instance.
3538
3539 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3540
3541         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3542         and gnu/java/security/action/SetAccessibleAction.java.
3543         * Makefile.in: Rebuilt.
3544
3545 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3546
3547         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3548         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3549         _Jv_InitPrimClass.
3550         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3551         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3552         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3553
3554 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3555
3556         * Makefile.am: Replace jar, rmic and rmiregistry references with
3557         gjar, grmic and grmiregistry.
3558         * configure.in: Likewise.
3559         * Makefile.in: Regenerate.
3560         * configure: Likewise.
3561         * gcj/Makefile.in: Likewise.
3562         * include/Makefile.in: Likewise.
3563         * testsuite/Makefile.in: Likewise.
3564
3565 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3566
3567         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3568         for privileged getProperty calls.
3569         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3570         SetAccessibleAction instead of anonymous class for doPrivileged call.
3571         (getMethod): Likewise.
3572         (setAccessible): New field. PrivilegedAction object to use when
3573         calling setAccessible.
3574         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3575         SetAccessibleAction instead of anonymous class for diPrivileged call.
3576         (setFields): Likewise.
3577         (getClassUID): Likewise.
3578         (findMethod): Likewise.
3579         * gnu/java/security/action/GetPropertyAction.java: New class.
3580         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3581
3582 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3583
3584         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3585         for final fields.
3586         * testsuite/libjava.lang/Serialization.java: New test.
3587         * testsuite/libjava.lang/Serialization.out: New.
3588
3589 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3590
3591         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3592         missed in last commit.
3593
3594 2004-07-23  Mark Wielaard  <mark@klomp.org>
3595
3596         * java/lang/System.java (static): Set http.agent system property when
3597         not yet set.
3598         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3599         from system property inside AccessController.doPrivileged() call.
3600         (proxyPort): Made package private.
3601         (proxyInUse): Likewise.
3602         (proxyHost): Likewise.
3603         (userAgent): Likewise.
3604
3605 2004-07-23  Mark Wielaard  <mark@klomp.org>
3606
3607         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3608         implementation.
3609
3610 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3611
3612         * Makefile.am (ordinary_java_source_files): Add
3613         DefaultContentHandlerFactory.java.
3614         * Makefile.in: Rebuilt.
3615         * java/net/URLConnection.java (defaultFactory): New field.
3616         (getContent): 
3617         (getContentHandler): Renamed from 'setContentHandler'. Try 
3618         defaultFactory after user-set factory, if any. Search for content 
3619         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3620         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3621         Implemented.
3622         (getLastModified): Implemented.
3623         (getPermission): Create file permission here, instead of in
3624         constructor.
3625         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3626         Implemented.
3627         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3628         Implemented.
3629         (getLastModified): Implemented.
3630         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3631         Default implementation.
3632         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3633         Implement using GdkPixbufDecoder.
3634         
3635 2004-07-21  Michael Koch  <konqueror@gmx.de>
3636
3637         * javax/swing/JTextArea.java
3638         (setLineWrap): Fire property change event after new value is set.
3639         (setTabSize): Likewise.
3640
3641 2004-07-21  Michael Koch  <konqueror@gmx.de>
3642
3643         * javax/swing/JTable.java
3644         (autoCreateColumnsFromModel): New field.
3645         (autoResizeMode): Likewise.
3646         (cellEditor): Likewise.
3647         (cellSelectionEnabled): Likewise.
3648         (columnModel): Likewise.
3649         (dataModel): Likewise.
3650         (defaultEditorsByColumnClass): Likewise.
3651         (defaultRenderersByColumnClass): Likewise.
3652         (editingColumn): Likewise.
3653         (editingRow): Likewise.
3654         (gridColor): Likewise.
3655         (preferredViewportSize): Likewise.
3656         (rowHeight): Likewise.
3657         (rowMargin): Likewise.
3658         (rowSelectionAllowed): Likewise.
3659         (selectionBackground): Likewise.
3660         (selectionForeground): Likewise.
3661         (selectionModel): Likewise.
3662         (showHorizontalLines): Likewise.
3663         (showVerticalLines): Likewise.
3664         (tableHeader): Likewise.
3665         (JTable): Implemented.
3666         (getColumnModel): Likewise.
3667         (getSelectedRow): Likewise.
3668         (getSelectionModel): Likewise.
3669         (setModel): Likewise.
3670         (setSelectionModel): Likewise.
3671         (createScrollPaneForTable): New method.
3672         (createDefaultDataModel): Likewise.
3673         (createDefaultListSelectionModel): Likewise.
3674         (getModel): Likewise.
3675         (getTableHeader): Likewise.
3676         (setTableHeader): Likewise.
3677         (getColumnSelectionAllowed): Likewise.
3678         (setColumnSelectionAllowed): Likewise.
3679         (getRowSelectionAllowed): Likewise.
3680         (setRowSelectionAllowed): Likewise.
3681         (getAutoResizeMode): Likewise.
3682         (setAutoResizeMode): Likewise.
3683         (getColumnCount): Likewise.
3684         (getRowCount): Likewise.
3685         (getCellRenderer): Likewise.
3686         * javax/swing/JTree.java
3687         (cellRenderer): New field.
3688         (editable): Likewise.
3689         (rootVisible): Likewise.
3690         (showsRootHandles): Likewise.
3691         (getModel): New method.
3692         (setModel): Likewise.
3693         (isEditable): Likewise.
3694         (setEditable): Likewise.
3695         (isRootVisbile): Likewise.
3696         (setRootVisible): Likewise.
3697         (getShowsRootHandles): Likewise.
3698         (setShowRootHandles): Likewise.
3699         (getCellRenderer): Likewise.
3700         (setCellRenderer): Likewise.
3701
3702 2004-07-21  Michael Koch  <konqueror@gmx.de>
3703
3704         * javax/swing/JFormattedTextField.java
3705         (setDocument): Implemented.
3706         * javax/swing/JRootPane.java:
3707         Fixed javadocs.
3708         * javax/swing/JTable.java
3709         (getDefaultRenderer): New method.
3710         * javax/swing/JTextField.java
3711         (setFont): Likewise.
3712         (getPreferredSize): Likewise.
3713         * javax/swing/JToggleButton.java
3714         (getAccessibleContext): Fix javadoc.
3715         * javax/swing/JTree.java:
3716         Add some javadocs.
3717         * javax/swing/JViewport.java:
3718         Likewise.
3719
3720 2004-07-21  David Jee  <djee@redhat.com>
3721
3722         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3723         Collect all native method declaration at the top.
3724         (create): Set the filename filter if necessary.
3725         (setDirectory): Call nativeSetDirectory().
3726         (setFilenameFilter): Implement.
3727         (filenameFilterCallback): New method.
3728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3729         (create): Configure dialog to show hidden files.
3730         (filenameFilterCallback): New function. 
3731         (nativeSetFilenameFilter): New function.
3732         (nativeSetDirectory): New function.
3733
3734 2004-07-21  Kim Ho  <kho@redhat.com>
3735
3736         * javax/swing/plaf/basic/BasicSliderUI.java:
3737         Ran Jalopy.
3738         (paintTrack): Fill the track before painting
3739         the borders.
3740
3741 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3742
3743         patch from Roman Kennke <roman@ontographics.com>
3744         * javax/swing/Spring.java: New file.
3745         * javax/swing/SpringLayout.java: New file.
3746         * Makefile.am: Add new files.
3747         * Makefile.in: Regenerate.
3748
3749 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3750
3751         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3752         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3753         * javax/swing/ScrollPaneLayout.java: Likewise.
3754
3755 2004-07-21  Kim Ho  <kho@redhat.com>
3756
3757         * javax/swing/DefaultDesktopManager.java:
3758         (findMinimum): Removed.
3759         (resizeFrame): Trust the UI to pass valid 
3760         bounds.
3761         * javax/swing/JOptionPane.java:
3762         Implemented showInternalXXXDialog methods.
3763         (startModal): New method.
3764         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3765         (BorderListener::mouseDragged): Verify that the new 
3766         bounds are valid before passing them to the DesktopManager.
3767         (preferredLayoutSize): Delegate
3768         to getSize.
3769         (minimumLayoutSize): Ditto.
3770         (getSize): New method.
3771         (GlassPaneDispatcher): Reimplemented by copying 
3772         a stripped down LightweightDispatcher from Container.
3773         (getMinimumSize): Call minimumLayoutSize.
3774         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3775         Ran Jalopy.
3776         (mousePressed): Add ability to properly close 
3777         JInternalFrames.
3778         * javax/swing/plaf/basic/BasicToolBarUI.java:
3779         (DragWindow): Set owner for DragWindow.
3780
3781 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3782
3783         * java/awt/image/ShortLookupTable.java: New file.
3784         * java/awt/image/ByteLookupTable.java: New file.
3785         * Makefile.am: Added new files.
3786         * Makefile.in: Regenerated.
3787
3788 2004-07-21  David Jee  <djee@redhat.com>
3789
3790         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3791         (create(GtkContainerPeer)): New native method.
3792         (create()): Call native create(), passing in the parent frame
3793         as the paramter. Natively set the current file and directory.
3794         (setFile): Construct an absolute filename before passing it to
3795         the native peer.
3796         (nativeGetDirectory): New method.
3797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3798         (window_closed): Removed.
3799         (ok_clicked): Likewise.
3800         (cancel_clicked): Likewise.
3801         (handle_response): New method.
3802         (create): Use GtkFileChooserDialog.
3803         (connectSignals): Connect to handle_response.
3804         (nativeGetDirectory): New method.
3805         (nativeSetFile): Use GtkFileChooserDialog.
3806
3807 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3808
3809         * java/awt/image/LookupTable.java: New file.
3810         * Makefile.am: Added new file.
3811         * Makefile.in: Regenerated.
3812
3813 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3814
3815         * java/awt/image/Kernel.java: New file.
3816         * Makefile.am: Added new file.
3817         * Makefile.in: Regenerated.
3818
3819 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3820
3821         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3822         * javax/swing/JMenu.java: Likewise.
3823         * javax/swing/JMenuBar.java: Likewise.
3824         (MARGIN_CHANGED_PROPERTY): New property.
3825         (setMargin): Implemented.
3826         * javax/swing/JMenuItem.java: Fixed javadocs.
3827         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3828         (LABEL_CHANGED_PROPERTY): New property.
3829         (add): changed to use createActionComponent.
3830         (createActionComponent): Implemented.   
3831         (setLabel): Fire PropertyChangeEvent if label property
3832         changes.
3833         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3834         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3835         (ContainerHandler): Repaint if margin property has changed.
3836         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3837         (installUI): Call installComponents().
3838         (uninstallUI): Call uinstallComponents().
3839         * javax/swing/plaf/basic/BasicMenuUI.java:
3840         Fixed javadocs.
3841         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3842         Likewise.
3843
3844 2004-07-21  Kim Ho  <kho@redhat.com>
3845
3846         * javax/swing/plaf/basic/BasicToolBarUI.java:
3847         (DragWindow): Use the right constructor.
3848
3849 2004-07-21  Kim Ho  <kho@redhat.com>
3850
3851         * javax/swing/JToolBar.java:
3852         (layoutContainer): Use getComponents.
3853         * javax/swing/plaf/basic/BasicToolBarUI.java:
3854         (DragWindow): Don't use SwingUtilities' 
3855         getOwnerFrame
3856         (ToolBarDialog): ditto.
3857
3858 2004-07-21  Kim Ho  <kho@redhat.com>
3859
3860         * javax/swing/JRootPane.java:
3861         Ran jalopy.
3862         (layoutContainer): Set the glasspane's size to 
3863         be the same as the content pane.
3864         (createGlassPane): Set opaque property to false.
3865
3866 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3867
3868         * java/awt/Component.java (requestFocus()): Don't handle Panels
3869         specially.
3870         (requestFocus(boolean)): Likewise.
3871         (requestFocusInWindow(boolean)): Likewise.
3872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3873         Set GTK_CAN_FOCUS flag.
3874
3875 2004-07-21  Kim Ho  <kho@redhat.com>
3876
3877         * Makefile.am: Added new file.
3878         * Makefile.in: Regenerated.
3879         * gcj/Makefile.in: Regenerated.
3880         * include/Makefile.in: Regenerated.
3881         * javax/swing/AbstractButton.java:
3882         Add rollOverEnabled property.
3883         (setRolloverEnabled): Use new property.
3884         (isRolloverEnabled): Use new property.
3885         * javax/swing/JTabbedPane.java:
3886         (setComponent): Remove useless JTabbedPane.this.
3887         * javax/swing/JToolBar.java: Finish implementation.
3888         * javax/swing/plaf/basic/BasicArrowButton.java:
3889         (paint): Moved border painting to a border.
3890         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3891         Change JToolBar look and feel defaults.
3892         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3893         (actionPerformed): Return Integer index instead of name.
3894         (addButtonComponents): Check to see if component is
3895         JButton last.
3896         (createMessageArea): Don't use components that are not
3897         completed yet.
3898         (getIconForType): Use temporary icons.
3899         * javax/swing/plaf/basic/BasicSliderUI.java:
3900         (mousePressed): Do not return if it's on thumb.
3901         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3902         (paintMinorTickForVertSlider): ditto.
3903         (paintMajorTickForHorizSlider): ditto.
3904         (paintMajorTickForVertSlider): ditto.
3905         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3906         Add a border around the SplitPaneDivider.
3907         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3908         Remove comments.
3909         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3910         New file. Implemented.
3911         * javax/swing/plaf/basic/BasicToolBarUI.java:
3912         Implemented.
3913         * testsuite/Makefile.in: Regenerated.
3914
3915 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3916
3917         * javax/swing/Timer.java (run): Queue events each time cycle.
3918
3919 2004-07-21  David Jee  <djee@redhat.com>
3920
3921         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3922         (imageComplete): Call image.imageComplete().
3923         * java/awt/image/MemoryImageSource.java:
3924         Reimplement consumers as a Vector instead of a Hashtable.  This is
3925         because enumeration on a Hashtable is not thread-safe.
3926         (addConsumer): Adapt to Vector consumers.
3927         (isConsumer): Adapt to Vector consumers.
3928         (removeConsumer): Adapt to Vector consumers.
3929         (startProduction): Adapt to Vector consumers. Call imageComplete()
3930         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3931         (newPixels): Adapt to Vector consumers.
3932         (sendPicture): Set the color model of the image consumer.
3933         (newPixels(IIII)): Adapt to Vector consumers.
3934         (newPixels(IIIIB)): Adapt to Vector consumers.
3935
3936 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3937
3938         * java/awt/Component.java (deliverEvent): Implement.
3939         (postEvent): Implement.
3940         (handleEvent): Implement.
3941         (translateEvent): New method.
3942         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3943         * java/awt/Container.java (deliverEvent): Implement.
3944         * java/awt/Event.java (paramString): Fix formatting.
3945         * java/awt/Font.java (toString): Likewise.
3946         * java/awt/Window.java (postEvent): Implement.
3947
3948 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3949
3950         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3951         Set window's focus owner upon receiving a FOCUS_LOST event.
3952         * java/awt/Window.java (Window()): Refocus the previously
3953         focused component within the window when the window regains the
3954         top-level focus.
3955         (setFocusOwner): New method.
3956         * java/awt/Component.java (requestFocus): Add FIXME.
3957
3958         * libgcj.pc.in: Remove library flags.
3959
3960 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3961
3962         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3963         MOUSE_PRESSED event.
3964         * java/awt/Component.java (requestFocus()): Handle Panel
3965         specially.  Post FOCUS_LOST event on opposite component.
3966         (requestFocus(boolean)): Likewise.
3967         (requestFocusInWindow(boolean)): Likewise.
3968         (paramString): Reorder dimension fields.
3969         * java/awt/Container.java (paramString): Fix string format.
3970         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3971         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3972         process key events if the focus owner is non-null.
3973         (dispatchKeyEvent): Likewise.
3974         * java/awt/Frame.java (paramString): Fix formatting.
3975         (generateName): New method.
3976         (getUniqueLong): Likewise.
3977         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3978         the temporary focus owner is null.  If so, return the permanent
3979         focus owner.
3980         * java/awt/Panel.java (generateName): New method.
3981         (getUniqueLong): Likewise.
3982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3983         signal handling to make callbacks more specific.
3984
3985 2004-07-21  Michael Koch  <konqueror@gmx.de>
3986
3987         * javax/swing/text/Position.java
3988         (Bias): Implemented.
3989
3990 2004-07-21  Michael Koch  <konqueror@gmx.de>
3991
3992         * javax/swing/LookAndFeel.java
3993         (provideErrorFeedback): New method.
3994
3995 2004-07-21  Michael Koch  <konqueror@gmx.de>
3996
3997         * javax/swing/JTextArea.java
3998         (tabSize): New field.
3999         (getTabSize): New method.
4000         (setTabSize): Likewise.
4001
4002 2004-07-21  Michael Koch  <konqueror@gmx.de>
4003
4004         * javax/swing/ActionMap.java:
4005         Fixed javadocs all over.
4006         (serialVersionUID): Made private.
4007         (parent): Don't explicitely initialize with default value.
4008         (get): SImplified.
4009         (keys): Reimplemented.
4010         (allKeys): Likewise.
4011         (convertSet): Removed.
4012         * javax/swing/ComponentInputMap.java:
4013         Fixed javadocs all over.
4014         (ComponentInputMap): Implemented.
4015         (put): Likewise.
4016         (clear): Likewise.
4017         (remove): Likewise.
4018         (SetParent): Likewise.
4019         (getComponent): Likewise.
4020         * javax/swing/InputMap.java:
4021         Fixed javadocs all over.
4022         (serialVersionUID): Made private.
4023         (parent): Don't explicitely initialize with default value.
4024         (get): SImplified.
4025         (keys): Reimplemented.
4026         (allKeys): Likewise.
4027         (convertSet): Removed.
4028
4029 2004-07-21  Michael Koch  <konqueror@gmx.de>
4030
4031         * javax/swing/ActionMap.java,
4032         javax/swing/ComponentInputMap.java,
4033         javax/swing/InputMap.java,
4034         javax/swing/table/DefaultTableColumnModel.java,
4035         javax/swing/table/TableColumn.java,
4036         javax/swing/table/TableColumnModel.java,
4037         javax/swing/table/TableModel.java,
4038         javax/swing/text/AbstractDocument.java,
4039         javax/swing/text/TextAction.java:
4040         Reformated.
4041
4042 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4043
4044         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4045         Make method non-static.
4046         * javax/swing/AbstractButton.java:
4047         Rename fields to match property names where possible.
4048         (iconTextGap): New property.
4049         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4050         (init) New method, call from after various constructors.
4051         * javax/swing/JComponent.java (revalidate): 
4052         Invalidate before queueing repair.
4053         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4054         Reimplement in terms of visibleRowCount property.
4055         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4056         * javax/swing/JScrollPane.java (createScrollListener): 
4057         Remove tracing chatter.
4058         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4059         * javax/swing/RepaintManager.java (addInvalidComponent): 
4060         Don't invalidate.
4061         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4062         calculations.
4063         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4064         Mimic sun behavior on top left/right positioning.
4065         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4066         Remove mistaken use of preferredScrollableViewportSize here.
4067         (layoutContainer): Use view's preferred size as basis.
4068         * javax/swing/plaf/basic/BasicButtonUI.java:
4069         Set, get, and use textIconGap property.
4070         (paint) Paint text returned from layout (with ellipsis).
4071         * javax/swing/plaf/basic/BasicListUI.java:
4072         Remove tracing chatter, correct various minor calculations.
4073         (getCellBounds): Update layout state before calculating.
4074         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4075         Use margin default similar to sun's.    
4076         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4077         (createIncreaseIcon): Center icon, minimize margins.
4078         (createDecreaseIcon): Likewise.
4079         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4080         Implement.
4081         (installUI): Call it.
4082         (uninstallDefaults): Implement.
4083         (uninstallUI): Call it.
4084         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4085         Call existing Window constructor.
4086         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4087         Set clip before painting.
4088
4089 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4090         
4091         * javax/swing/JMenuItem.java:
4092         (processMouseEvent): Reimplemented to deal with
4093         mouse drag events.
4094         (createMenuDragMouseEvent): New private helper method.
4095         Creates MenuDragMouseEvent.
4096         * javax/swing/MenuSelectionManager.java
4097         (componentForPoint): Implemented.
4098         (isComponentPartOfCurrentMenu): Made public.
4099         (processMouseEvent): Reimplemented to deal with 
4100         mouse drag events.
4101         (setSelectedPath): Corrected small mistake that caused
4102         path to be set incorrectly.
4103         (getPath): If given component is JMenu then also add this
4104         menu's popup menu to the selected path.
4105         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4106         (getPath): Ditto.
4107         (getPreferredSize): Call getPreferredMenuItemSize().
4108         (getPreferredItemSize): Moved code from getPreferredSize to here.
4109         (installListeners): Install MouseMotionListeners.
4110         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4111         if mouse wasn't released in the bounds of this menu item.
4112         (MenuDragMouseHandler): Implemented.
4113         * javax/swing/plaf/basic/BasicMenuUI.java:
4114         (installListeners): Install MouseMotionListener and 
4115         MenuDrageMouseListener.
4116         (MenuDragMouseHandler): Implemented.
4117         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4118         (uninstallListeners): Implemented.
4119         
4120 2004-07-21  Michael Koch  <konqueror@gmx.de>
4121
4122         * javax/swing/JCheckBox.java: Reformated.
4123         (JCheckBox): Fixed all constructors.
4124         (isBorderPaintedFlat): New method.
4125         (setBorderPaintedFlat): New method.
4126         * javax/swing/JEditorPane.java
4127         (createEditorKitForContentType): Made public.
4128         (scrollToReference): Likewise.
4129         * javax/swing/JTextArea.java
4130         (setLineWrap): Fire property change.
4131         * javax/swing/JToggleButton.java
4132         (JToggleButton): New constructor.
4133         (JToggleButton): Simplified.
4134         * javax/swing/text/AttributeSet.java
4135         (FontAttribute): Renamed from FontCharacterAttribute.
4136         * javax/swing/text/JTextComponent.java
4137         (KeyBinBinding): Added javadoc.
4138         (JTextComponent): Likewise.
4139         (getAccessibleContext): Fixed javadoc.
4140         * javax/swing/text/View.java
4141         (View): Added javadoc.
4142         * javax/swing/text/TabableView.java: New file.
4143         * Makefile.am: Added javax/swing/text/TabableView.java.
4144         * Makefile.in: Regenerated.
4145
4146 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4147
4148         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4149         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4150         (GtkErrorImage): New helper class.
4151         (bufferedImageOrError): New helper method.
4152         (createImage): Use it.
4153
4154 2004-07-21  David Jee  <djee@redhat.com>
4155
4156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4157         (setCaretPosition): Scroll the text view so the new caret position
4158         is visible on screen.
4159
4160 2004-07-21  David Jee  <djee@redhat.com>
4161
4162         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4163         (setBounds): Do not validate awtComponent here.
4164         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4165         (getPreferredSize): New method.
4166         * java/awt/ScrollPane.java
4167         (ScrollPane): Set default size to 100x100.
4168         (addNotify): If child is not a Panel, wrap it with a new Panel.
4169         (paramString): Implement.
4170
4171 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4172
4173         * javax/swing/JMenu.java:
4174         (setSelected): Display popup menu only if this menu 
4175         is showing on the screen.
4176         * javax/swing/JPopupMenu.java:
4177         (processMouseEvent): Added comment.
4178         (processKeyEvent): Likewise.
4179         * javax/swing/MenuSelectionManager.java:
4180         (clearSelectedPath): Only fireStateChanged() after
4181         selected path was changed, not before.
4182         (setSelectedPath): Likewise.
4183         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4184         (paintMenuItem): Corrected position of menu item's
4185         icon.
4186         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4187         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4188         (popupMenuCanceled): Reimplemented.
4189         (popupMenuWillBecomeVisible): Select first menu item by default 
4190         when displaying free floating popup menus.
4191         (TopWindowListener): Reimplemented.
4192
4193 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4194
4195         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4196         Panel from being painted twice when it is first shown.
4197
4198 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4199
4200         * java/awt/Window.java: Reverted changes from my 
4201         previous patch for creating window without an owner.
4202         * javax/swing/SwingUtilities.java: 
4203         (SwingUtilities.OwnerFrame): made static.
4204         (OwnerFrame.setVisible): New method. Overridden with
4205         empty implementation.
4206         (OwnerFrame.isShowing): New method. Ovverridden
4207         to return always true.
4208
4209 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4210
4211         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4212         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4213         (GtkComponentPeer): Remove temporary try/catch block.
4214         (setVisible): Call show and hide.
4215         (show): Make native.
4216         (hide): Likewise.
4217         (getArgs): Don't add "visible" argument.
4218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4219         (property_notify_predicate): Return Bool instead of int.
4220         (find_layout): New function.
4221         (connectJObject): Call find_layout.
4222         (connectSignals): Likewise.
4223         (moveLayout): Likewise.
4224         (gtkLayoutSetVisible): Likewise.
4225
4226 2004-07-21  Mark Wielaard  <mark@klomp.org>
4227
4228         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4229         on notifier object before calling notifyAll().
4230
4231 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4232
4233         * java/awt/Window.java: Changed constructors to use new
4234         method that is described below. Constructors call this
4235         methods only if newly created window should have an owner.
4236         (setWindowOwner): New method. Implementation for
4237         this method is moved from this(owner,configuration).
4238         * javax/swing/JWindow.java:
4239         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4240         instead of owner.
4241         * javax/swing/SwingUtilities.java:
4242         (ownerFrame): Change type of this field to OwnerFrame.
4243         (getOwnerFrame): Changed to return object of type OwnerFrame.
4244         (SwingUtilities.OwnerFrame): New class. Represents owner
4245         of a Window that is not provided with one.
4246
4247 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4248
4249         *  javax/swing/AbstractButton.java: 
4250         (configurePropertiesFromAction): Set action command
4251         to button's text by default if action command is not 
4252         explicitely specified.
4253         * javax/swing/JMenu.java: Remove unnecessary listener
4254         and methods relevant to it.
4255         (setSelected): Reimplemented.
4256         (menuSelectionChanged): Moved most part of implementation to
4257         setSelected() and call it instead.
4258         * javax/swing/JMenuItem.java: 
4259         (init): Comment out statement that sets paint_border to false.
4260         (configurePropertiesFromAction): Do not set accelerator
4261         for JMenu.
4262         (menuSelectionChanged): Change selected index in the selection
4263         model of menu item's parent.
4264         * javax/swing/JPopupMenu.java:
4265         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4266         instead of GridBagConstraints.HORIZONTAL.
4267         (insert): Likewise.
4268         (createActionChangeListener): Implemented.
4269         (setVisible): Correct location of HeavyWeightMenu and 
4270         don't firePopupMenuCanceled().
4271         (menuSelectionChanged): Implemented.
4272         (ActionChangeListener): New Listener. Implemented.
4273         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4274         (BasicMenuBarUI.ContainerHandler): Implemented.
4275         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4276         (paintMenuItem): Uncommented out code that paints 
4277         icon, now that icons are working properly.
4278         (PropertyChangeListener): Implemented.
4279         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4280         Added javadocs.
4281         (topWindowListener): New field.
4282         (Constructor): initialize topWindowListener.
4283         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4284         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4285         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4286         Implemented.
4287
4288 2004-07-21  Michael Koch  <konqueror@gmx.de>
4289
4290         * javax/swing/plaf/basic/BasicButtonUI.java
4291         (paintFocus): Fixed method signature.
4292         (paintButtonPressed): Likewise.
4293         (paintButtonNormal): Likewise.
4294         (paintText): New method.
4295         * javax/swing/plaf/basic/BasicLabelUI.java
4296         (paint): Re-indented.
4297         * javax/swing/plaf/basic/BasicTextUI.java
4298         (installUI): Set parent textComponent to opaque.
4299         * javax/swing/text/DefaultHighlighter.java
4300         (checkPositions): New helper method.
4301         (addHighlight): Throws BadLocationException, check positions.
4302         (changeHighlight): Likewise.
4303         * javax/swing/text/EditorKit.java
4304         (EditorKit): Implements Serializable.
4305         * javax/swing/text/JTextComponent.java
4306         (getUI): Added javadoc.
4307         (setUI): Likewise.
4308         (upadteUI): Added javadoc, don't revalidate and repaint.
4309
4310 2004-07-21  David Jee  <djee@redhat.com>
4311
4312         * java/awt/GridBagLayout.java
4313         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4314         * javax/swing/AbstractButton.java
4315         (setText): Reindent.
4316         * javax/swing/RepaintManager.java
4317         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4318
4319 2004-07-21  Michael Koch  <konqueror@gmx.de>
4320
4321         * javax/swing/JFormattedTextField.java
4322         (value): New field.
4323         (JFormattedTextField): Implemented.
4324         (getValue): Likewise.
4325         (setValue): Likewise.
4326         * javax/swing/LookAndFeel.java
4327         (getSupportsWindowDecorations): New method.
4328         * javax/swing/UIDefaults.java:
4329         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4330         (addPropertyChangeListener): Made public.
4331         (addResourceBundle): Likewise.
4332         (removeResourceBundle): Likewise.
4333         (setDefaultLocale): Likewise.
4334         * javax/swing/plaf/basic/BasicRootPaneUI.java
4335         (BasicRootPaneUI): Implements PropertyChangeListener.
4336         (propertyChange): New method.
4337         * javax/swing/plaf/basic/BasicTextUI.java
4338         (BasicHighlighter): New inner class.
4339         (createHighlighter): New method.
4340         * javax/swing/plaf/basic/BasicToolBarUI.java
4341         (DragWindow): Extends java.awt.Window.
4342         * javax/swing/text/JTextComponent.java
4343         (getDocument): Removed debug output.
4344         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4345         javax/swing/text/DefaultHighlighter.java,
4346         javax/swing/text/FieldView.java,
4347         javax/swing/text/PlainView.java: New files.
4348         * Makefile.am: Added new files.
4349         * Makefile.in: Regenerated.
4350
4351 2004-07-21  Michael Koch  <konqueror@gmx.de>
4352
4353         * javax/swing/JEditorPane.java
4354         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4355         (createEditorKitForContentType): Likewise.
4356         * javax/swing/text/DefaultEditorKit.java
4357         (serialVersionUID): Added constant field.
4358         (EndOfLineStringPropery): Fixed typo.
4359         (DefaultEditorKit): New constructor.
4360         * javax/swing/text/Segment.java:
4361         Import java.text.CharacterIterator.
4362         * javax/swing/text/CharacterIterator.java,
4363         javax/swing/text/PlainEditorKit.java: Removed.
4364         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4365         javax/swing/text/PlainEditorKit.java.
4366         * Makefile.in: Regenerated.
4367
4368 2004-07-21  Michael Koch  <konqueror@gmx.de>
4369
4370         * javax/swing/JButton.java,
4371         javax/swing/text/DefaultEditorKit.java,
4372         javax/swing/text/EditorKit.java,
4373         javax/swing/text/Segment.java,
4374         javax/swing/text/StyledEditorKit.java:
4375         Reformatted.
4376
4377 2004-07-21  Michael Koch  <konqueror@gmx.de>
4378
4379         * javax/swing/ImageIcon.java
4380         (file): Removed.
4381         (description): Renamed from descr.
4382         (ImageIcon): Added missing constructors.
4383         (setParent): Removed.
4384         (setImageObserver): New method.
4385         (getImageObserver): New method.
4386         (paintIcon): Handle observer = null.
4387         * javax/swing/JButton.java
4388         (removeNotify): Fixed javadoc.
4389         (updateUI): Simplified.
4390         * javax/swing/JRootPane.java
4391         (serialVersionUID): New constant field.
4392         * javax/swing/UIManager.java:
4393         Fixed javadocs all over.
4394         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4395         * javax/swing/text/AbstractDocument.java
4396         (createPosition): Throws BadLocationException.
4397         (getText): Likewise.
4398         (remove): Likewise.
4399         * javax/swing/text/ComponentView.java
4400         (modelToView): Likewise.
4401         * javax/swing/text/DefaultEditorKit.java:
4402         Made all public methods public.
4403         (read): Throws BadLocationException and IOException.
4404         (write): Likewise.
4405         * javax/swing/text/EditorKit.java:
4406         Made all public methods public.
4407         (serialVersionUID): New constant field.
4408         (clone): New method.
4409         (read): Throws BadLocationException and IOException.
4410         (write): Likewise.
4411         * javax/swing/text/Segment.java
4412         (array): Made public.
4413         (count): Likewise.
4414         (offset): Likewise.
4415         (Segment): New constructors.
4416         (clone): Reimplemented.
4417         * javax/swing/text/StyledEditorKit.java
4418         (serialVersionUID): New constant field.
4419
4420 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4421
4422         * java/awt/image/BufferedImage.java 
4423         (getSource): Implement.
4424         * javax/swing/ImageIcon.java 
4425         (ImageIcon): Implement ctor.
4426         * javax/swing/ScrollPaneLayout.java 
4427         (preferredLayoutSize): Be more careful about nulls.
4428
4429 2004-07-21  Michael Koch  <konqueror@gmx.de>
4430
4431         * javax/swing/text/AttributeSet.java
4432         (CharacterAttribute): New interface
4433         (ColorAttribute): Likewise.
4434         (FontCharacterAttribute): Likewise.
4435         (ParagraphAttribute): Likewise.
4436         * javax/swing/text/DefaultCaret.java
4437         (moveCaret): New method.
4438         (positionCaret): Likewise.
4439         (repaint): Made protected.
4440         * javax/swing/text/JTextComponent.java
4441         (KeyBinding): Made it static.
4442         * javax/swing/text/View.java
4443         (getContainer): Honor parent == null.
4444
4445 2004-07-21  Michael Koch  <konqueror@gmx.de>
4446
4447         * javax/swing/text/AbstractDocument.java:
4448         Reformatted.
4449
4450 2004-07-21  Michael Koch  <konqueror@gmx.de>
4451
4452         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4453         Import javax.swing.UIManager explicitely.
4454         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4455         (ScrollingButton): Made it static.
4456
4457 2004-07-21  Michael Koch  <konqueror@gmx.de>
4458
4459         * javax/swing/UIDefaults.java
4460         (ActiveValue): Made public.
4461         (LazyValue): Likewise.
4462         * javax/swing/plaf/basic/BasicTextUI.java
4463         (RootView): Reintroduced.
4464         (view): Removed.
4465         (rootView): New field.
4466         (installUI): Create document if needed, initialize rootView.
4467         (uninstallUI): Hanle rootView.
4468         (paint): Likewise.
4469         (getRootView): Likewise.
4470         (setView): Likewise.
4471         * javax/swing/text/DefaultCaret.java:
4472         Renamed all "evt" variables to "event".
4473
4474 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4475
4476         * libgcj.spec.in: Add -l-java-util-logging.
4477
4478 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4479
4480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4481         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4482         gtk-xft-dpi can no calculate the right value.
4483         (dpi_changed_cb): Mark *pspec as unsused.
4484
4485 2004-07-21  David Jee  <djee@redhat.com>
4486
4487         * java/awt/Component.java
4488         (move): Delegate to setBounds().
4489         (resize): Likewise.
4490         (reshape): Fix so it repaints parent and self only when necessary.
4491
4492 2004-07-21  David Jee  <djee@redhat.com>
4493
4494         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4495         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4496         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4497         (setVisible): Likewise.
4498         (show): Likewise.
4499         (hide): Likewise.
4500         (getArgs): Likewise.
4501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4502         (property_notify_predicate): Likewise.
4503         (find_layout): Likewise.
4504         (connectJObject): Likewise.
4505         (connectSignals): Likewise.
4506         (moveLayout): Likewise.
4507         (gtkLayoutSetVisible): Likewise.
4508
4509 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4510
4511         * Makefile.am
4512         (jv_convert_LDADD):
4513         (gij_LDADD):
4514         (rmic_LDADD):
4515         (rmiregistry_LDADD): Add lib-java-util-logging.la
4516         * Makefile.in: Regenerate.
4517
4518 2004-07-21  Michael Koch  <konqueror@gmx.de>
4519
4520         * javax/swing/text/AbstractDocument.java
4521         (replace): Dont use protected method of java.util.Vector directly.
4522
4523 2004-07-21  Michael Koch  <konqueror@gmx.de>
4524
4525         * javax/swing/plaf/basic/BasicTextUI.java
4526         (installUI): Call specialized install methods.
4527         (installDefaults): New method.
4528         (installListeners): Likewise.
4529         (installKeyboardActions): Likewise.
4530         (uninstallUI): Likewise.
4531         (uninstallDefaults): New method.
4532         (uninstallListeners): Likewise.
4533         (uninstallKeyboardActions): Likewise.
4534         (getPropertyPrefix): New abstract method.
4535         (paint): Made final, just call paintSafely().
4536         (paintSavely): New method.
4537         (paintBackground): Likewise.
4538         (getVisibleEditorRect): Likewise.
4539         * javax/swing/text/LayeredHighlighter.java,
4540         javax/swing/text/TabExpander.java: New files.
4541         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4542         and javax/swing/text/TabExpander.java.
4543         * Makefile.in: Regenerated.
4544
4545 2004-07-21  Michael Koch  <konqueror@gmx.de>
4546
4547         * javax/swing/plaf/basic/BasicTextUI.java
4548         (BasicTextUI): Made abstract.
4549         (BasicCaret): New inner class.
4550         (view): Don't explicitely initialize with "null".
4551         (textComponent): New field.
4552         (textColor): Removed.
4553         (disabledTextColor): Removed.
4554         (normalBackgroundColor): Removed.
4555         (RootView): Removed commented out inner class.
4556         (createUI): Removed.
4557         (createCaret): New method.
4558         (getComponent): Likewise.
4559         (installUI): Initialize textComponent only.
4560         (getPreferredSize): Use installed JTextComponent.
4561         (setView): New method.
4562         (create): Likewise.
4563         * javax/swing/text/JTextComponent.java
4564         (highlighter): New field.
4565         (caretColor): Likewise.
4566         (disabledTextColor): Likewise.
4567         (seletedTextColor): Likewise.
4568         (selectionColor): Likewise.
4569         (setUI): New method.
4570         (getCaretColor): Likewise.
4571         (setCaretColor): Likewise.
4572         (getDisabledColor): Likewise.
4573         (setDisabledColor): Likewise.
4574         (getSelectedTextColor): Likewise.
4575         (setSelectedTextColor): Likewise.
4576         (getSelectionColor): Likewise.
4577         (setSelectionColor): Likewise.
4578         (getHighlighter): Likewise.
4579         (setHighlighter): Likewise.
4580         (replaceSelection): Likewise.
4581
4582 2004-07-21  Michael Koch  <konqueror@gmx.de>
4583
4584         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4585         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4586         * javax/swing/plaf/basic/BasicToolBarUI.java
4587         (BasicToolBarUI): Implements SwingConstants.
4588
4589 2004-07-21  Michael Koch  <konqueror@gmx.de>
4590
4591         * javax/swing/JPopupMenu.java: Removed CVS tags.
4592         * javax/swing/UIDefaults.java: Reformatted.
4593         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4594         Explicitely import used classes.
4595
4596 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4597
4598         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4599         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4600         (GtkComponentPeer): Remove temporary try/catch block.
4601         (setVisible): Call show and hide.
4602         (show): Make native.
4603         (hide): Likewise.
4604         (getArgs): Don't add "visible" argument.
4605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4606         (property_notify_predicate): Return Bool instead of int.
4607         (find_layout): New function.
4608         (connectJObject): Call find_layout.
4609         (connectSignals): Likewise.
4610         (moveLayout): Likewise.
4611         (gtkLayoutSetVisible): Likewise.
4612
4613 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4614
4615         * javax/swing/AbstractButton.java:
4616         (setDisplayedMnemonicIndex): Check if button
4617         text is not null before checking its length.
4618         * javax/swing/JMenuItem.java:
4619         (processMouseEvent): Disarm menu item if mouse has
4620         exited it.
4621         * javax/swing/plaf/basic/BasicMenuUI.java:
4622         (MouseInputHandler.mouseEntered): Do not raise
4623         popup menu if this menu is already selected.
4624         (MouseInputHandler.mousePressed): Do not fire 
4625         MenuEvents.
4626         (MenuHandler): Implemented.     
4627
4628 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4629
4630         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4631         (getSelectedObjects): Implemented.
4632         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4633         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4634         Added javadoc for few methods.
4635         (processMouseEvent): Made public.
4636         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4637         (processMouseEvent): Likewise.
4638
4639 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4640
4641         * javax/swing/AbstractButton.java:
4642         (init): Set display mnemonic index to -1.
4643         (setMnemonic(char)): Use setMnemonic(int).
4644         (setMnemonic(int)): Set display mnemonic index.
4645         (getDisplayedMnemonicIndex): Change method signature
4646         by removing 'index' parameter.
4647         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4648         Added default for Menu.selectionBackground.     
4649         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4650         (paintMenuItem): Change background color of the selected
4651         menu item.
4652         (paintText): Paint differently when menu item is disabled.
4653         Also paint mnemonic if it appears in the menu item's label.
4654         (paintAccelerator): Paint accelerator differently
4655         if menu item is disabled.
4656         * javax/swing/plaf/basic/BasicMenuUI.java:
4657         (installDefaults): Install defaults for 
4658         selectionForeground and selectionBackground.
4659         (uninstallDefaults): Uninstall defauls for 
4660         selectionForeground and selectionBackground.
4661
4662 2004-07-21  Michael Koch  <konqueror@gmx.de>
4663
4664         * javax/swing/text/AbstractDocument.java
4665         (BranchElement): Implemented.
4666         (LeafElement): Implemented.
4667         * javax/swing/text/DefaultCaret.java:
4668         Import used classes.
4669         (serialVersionUID): New constant.
4670         * javax/swing/text/JTextComponent.java
4671         (AccessibleJTextComponent): Removed dead declaration.
4672         (caretPos): Removed.
4673         (setCaret): New method.
4674         * javax/swing/text/PlainDocument.java
4675         (rootElement): New field.
4676         (PlainDocument): Initialize rootElement.
4677         (createDefaultRoot): New method.
4678         (getDefaultRootElement): Implemented.
4679         * javax/swing/text/View.java: Reformatted.
4680         * javax/swing/text/ViewFactory.java
4681         (create): Added javadoc.
4682
4683 2004-07-21  Michael Koch  <konqueror@gmx.de>
4684
4685         * javax/swing/ToolTipManager.java: Reformatted.
4686
4687 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4688
4689         * javax/swing/AbstractButton.java
4690         (changeEvent): New field.
4691         (fireItemStateChanged): Change source of the event
4692         to 'this' before firing it to button listeners.
4693         (fireActionPerformed): Likewise.
4694         (fireStateChanged): Likewise.
4695         (createActionListener): Do not set source 
4696         of the event to AbstractButton.                                  
4697         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4698         (ContainerHandler.componentAdded): Removed 
4699         print out statement.
4700         (ContainerHandler.componentRemoved): Likewise.
4701
4702 2004-07-21  Michael Koch  <konqueror@gmx.de>
4703
4704         * javax/swing/text/Highlighter.java: New file.
4705         * Makefile.am: Added javax/swing/text/Highlighter.java.
4706         * Makefile.in: Regenerated.
4707
4708 2004-07-21  Michael Koch  <konqueror@gmx.de>
4709
4710         * javax/swing/ToolTipManager.java
4711         (stillInsideTimerAction): Fixed constructor arguments.
4712         (outsideTimerAction): Likewise.
4713         (insideTimerAction): Likewise.
4714
4715 2004-07-21  Michael Koch  <konqueror@gmx.de>
4716
4717         * javax/swing/JButton.java: Reformatted.
4718         * javax/swing/JFormattedTextField.java
4719         (getUIClassID): Implemented.
4720         * javax/swing/JRootPane.java
4721         (serialVersionUID): New constant.
4722         * javax/swing/JTextField.java
4723         (align): New field.
4724         (JTextField): Simplified.
4725         (getUIClassID): New method.
4726         (getActionListeners): Added @since tag.
4727         (setColumns): Invalidate layout and repaint.
4728         (getHorizontalAlignment): New method.
4729         (setHorizontalAlignment): New method.
4730         (selectAll): Removed.
4731         * javax/swing/SwingUtilities.java
4732         (getAncestorOfClass): Removed redundant @see tag.
4733         (isLeftMouseButton): Fixed implementation.
4734         (isMiddleMouseButton): Likewise.
4735         (isRightMouseButton): Likewise.
4736         * javax/swing/text/AbstractDocument.java
4737         (AttributeContext.addAttribute): New method.
4738         (AttributeContext.addAttributes): New method.
4739         (AttributeContext.getEmptySet): New method.
4740         (AttributeContext.reclaim): New method.
4741         (AttributeContext.removeAttribute): New method.
4742         (AttributeContext.removeAttributes): New method.
4743         * javax/swing/text/Document.java
4744         (createPosition): Throws BadLocationException.
4745         (getText): Likewise.
4746         (remove): Likewise.
4747         * javax/swing/text/JTextComponent.java
4748         (getText): Return null if no document is set. Catch
4749         BadLocationException.
4750         (getUI): Return ui.
4751         (updateUI): Simplified.
4752
4753 2004-07-21  Michael Koch  <konqueror@gmx.de>
4754
4755         * javax/swing/JButton.java
4756         (removeNotify): Fixed javadoc.
4757         (updateUI): Simplified.
4758
4759 2004-07-21  David Jee  <djee@redhat.com>
4760
4761         * gnu/java/awt/image/ImageDecoder.java
4762         (startProduction): Only add consumer if it's not added yet.
4763         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4764         (GdkPixbufDecoder): Don't call initState() here.
4765         (produce): Call initState() here, to ensure area_prepared and
4766         area_updated signals are properly connected.
4767         * gnu/java/awt/peer/gtk/GtkImage.java
4768         (setColorModel): Use equals() to compare ColorModel objects.
4769         (setPixels): Likewise.
4770         * java/awt/image/ColorModel.java
4771         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4772         * java/awt/image/RGBImageFilter.java
4773         (setColorModel): Set consumer's color model.
4774         (setPixels): Use equals() to compare ColorModel objects.
4775
4776 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4777
4778         * java/net/URLConnection.java (position): New field.
4779         (dateFormat1, dateFormat2, dateFormat3): Removed.
4780         (dateFormats): New field.
4781         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4782         each time instead of re-allocating.
4783         (initializeDateFormats): Initialize 'dateFormats'.
4784
4785 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4786
4787         PR libgcj/16591
4788         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4789         is defined.
4790
4791 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4792
4793         * java/net/Socket.java (getImpl): Now private. Remove comment.
4794
4795 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4796
4797         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4798         of chained Writer when calling super-constructor.
4799         * java/io/FilterWriter.java (FilterWriter): Likewise.
4800         * java/io/PrintWriter.java (PrintWriter): Likewise.
4801
4802 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4803
4804         * prims.cc (process_gcj_properties): Don't increment i within LHS
4805         of assignment.
4806
4807 2004-07-19  Per Bothner  <per@bothner.com>
4808
4809         Print -verbose:message on "loading", not initialization.
4810         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4811         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4812         gcj::verbose_class_flag.
4813         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4814         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4815         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4816         (_Jv_PrepareCompiledClass):  Likewise.
4817
4818 2004-07-18  Matthias Klose  <doko@debian.org>
4819
4820         * configure.in: Substitute target_noncanonical.
4821         * configure: Regenerate
4822
4823 2004-07-17  Michael Koch  <konqueror@gmx.de>
4824
4825         * java/lang/String.java: Fixed javadocs all over.
4826
4827 2004-07-17  Mark Wielaard  <mark@klomp.org>
4828
4829         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4830         when size is smaller.
4831         * java/io/RandomAccessFile.java (setLength): Use truncate for
4832         shrinking the file and seek plus write for expanding the file.
4833
4834 2004-07-17  Michael Koch  <konqueror@gmx.de>
4835
4836         * gnu/java/nio/channels/natFileChannelPosix.cc
4837         (implTruncate): Always save current position. Only reposition file
4838         pointer to where we started if not beyond new lenght. Reposition file
4839         pointer to file length if it points beyond the end of file.
4840
4841 2004-07-17  Mark Wielaard  <mark@klomp.org>
4842
4843         * javax/swing/Box.java: Put FIXME comment above class declaration.
4844         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4845         * javax/swing/JCheckBox.java: Likewise.
4846         * javax/swing/JDialog.java: Likewise.
4847         * javax/swing/JRadioButton.java: Likewise.
4848         * javax/swing/JToggleButton.java: Likewise.
4849         * javax/swing/UIManager.java: Likewise.
4850         * javax/swing/border/TitledBorder.java: Likewise.
4851         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4852         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4853         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4854         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4855         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4856         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4857         * javax/swing/text/JTextComponent.java: Likewise.
4858
4859 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4860
4861         * java/net/DatagramPacket.java (setAddress): Removed check for
4862         null address.
4863
4864 2004-07-17  Michael Koch  <konqueror@gmx.de>
4865
4866         * java/net/DatagramSocket.java
4867         (getLocalAddress): Check if socket is bound or not.
4868         * java/net/Socket.java
4869         (getLocalAddrss): Check if socket is bound or not.
4870         (getPort): Return -1 when not connected. Dont check getImpl() for
4871         null.
4872         (setReuseAddress): Check if socket is closed.
4873         (isConnected): Check if getImpl() returns null.
4874
4875 2004-07-17  Mark Wielaard  <mark@klomp.org>
4876
4877         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4878         on notifier object before calling notifyAll().
4879
4880 2004-07-17  Michael Koch  <konqueror@gmx.de>
4881
4882         * gnu/java/nio/channels/FileChannelImpl.java
4883         (finalize): Added javadoc.
4884
4885 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4886
4887         * java/text/CollationElementIterator.java
4888         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4889         (setText): Use ArrayList instead of Vector.
4890
4891 2004-07-17  Michael Koch  <konqueror@gmx.de>
4892
4893         * java/nio/ByteOrder.java
4894         (static): Removed. Not needed.
4895         Thanks to Patrick Reali for noticing.
4896         * java/nio/charset/CharsetDecoder.java
4897         (decode): Fix for classpath bug #9177: Reset state before flipping.
4898
4899 2004-07-17  Michael Koch  <konqueror@gmx.de>
4900
4901         * java/security/Security.java: Fixed javadocs all over.
4902
4903 2004-07-17  Michael Koch  <konqueror@gmx.de>
4904
4905         * gnu/java/awt/EmbeddedWindow.java
4906         (static): Removed.
4907         (addNotify): Set peer via reflection.
4908         (setWindowPeer): Removed.
4909         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4910         * Makefile.am (nat_source_files):
4911         Removed gnu/java/awt/natEmbeddedWindow.cc.
4912         * Makefile.in: Regenerated.
4913
4914 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4915
4916         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4917         assignment.
4918         * configure: Regenerated.
4919
4920 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4921
4922         * configure.in: Use build_noncanonical rather than build_alias.
4923         * configure: Rebuild.
4924
4925         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4926         by logic refactoring.  Move default definition of NATIVE closer
4927         to first alternate definition.
4928         * configure: Regenerate.
4929
4930         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4931         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4932         gcj/Makefile.in: Regenerate.
4933         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4934         in AM_CONDITIONAL(NATIVE,...)
4935         * configure: Regenerate.
4936
4937 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4938
4939         * configure.in: Use target_noncanonical rather than
4940         target_alias for forward-compatibility with autoconf 2.59.
4941         * configure: Regenerate.
4942         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4943         testsuite/Makefile.am: Substitute target_noncanonical.
4944         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4945         testsuite/Makefile.in: Regenerate.
4946
4947         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4948         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4949         * acinclude.m4: Include acx.m4.
4950         * aclocal.m4: Regenerate.
4951         * configure: Regenerate.
4952
4953 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4954
4955         PR libgcj/16574
4956         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4957         (decimalFormat): New static variable.
4958         (sbuf): Likewise.
4959         (getTime): New. Override Date.getTime().
4960         (toString): Synchronize. Use decimalFormat to format nanos value
4961         correctly. Truncate extra zeros.
4962         (before): Compare getNanos() only if getTime() is equal.
4963         (after): Likewise.
4964         
4965 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4966
4967         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4968         * configure.in: ...here.
4969         * aclocal.m4: Regenerate.
4970         * configure: Regenerate.
4971
4972         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4973         * configure: Rebuilt with autoconf 2.13.
4974         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4975         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4976
4977 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4978
4979         PR libgcj/16204
4980         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4981         large file support.
4982         * Makefile.in: Rebuilt.
4983         * testsuite/libjava.lang/LargeFile.java: New test case.
4984         * testsuite/libjava.lang/LargeFile.out: New file.
4985
4986 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4987
4988         * java/beans/EventHandler.java: Remove debugging statements.
4989
4990 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4991
4992         * java/beans/EventHandler.java: New file.
4993         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4994         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4995         testsuite/Makefile.in: Regenerate.
4996
4997 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4998
4999         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5000         flag to the gcj_setup.
5001         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5002         the tclsh.
5003         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5004         deprecation flag change. 58 XFAILS removed.
5005
5006 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5007
5008         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5009         -fno-use-divide-subroutine.
5010         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5011         (HANDLE_FPE): Define.
5012         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5013         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5014         (HANDLE_DIVIDE_OVERFLOW): Define.
5015
5016 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5017             Matthias Klose  <doko@debian.org> 
5018
5019         * java/awt/im/InputContext.java: Initialize in, line.
5020
5021 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5022
5023         * interpret.cc (run): Correctly access libffi return values of
5024         integral smaller-than-int type; these are implicitly promoted.
5025
5026 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5027
5028         PR libgcj/7587
5029         * interpret.cc (compile_mutex): New.
5030         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5031         (run): Lock compile_mutex before calling compile() if compilation is
5032         required.
5033         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5034         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5035
5036 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5037
5038         PR libgcj/15713
5039         * include/jvm.h (_Jv_value): New union type.
5040         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5041         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5042         union members.
5043
5044 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5045
5046         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5047         * gnu/awt/xlib/XOffScreenImage.java
5048           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5049           constructor argument. Add constructor using ImageProducer.
5050           (getSource): Implement.
5051           (imageComplete): New method.
5052           (setColorModel): New method.
5053           (setDimensions): New method.
5054           (setHints): New method.
5055           (setPixels): New method.
5056           (setProperties): New method.
5057         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5058         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5059
5060 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5061
5062         PR libgcj/16478 
5063         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5064         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5065         (finalizerReady): Now native.
5066         (run): Likewise.
5067         (runFinalizers): Removed.
5068         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5069         a primitive lock, and don't hold it while running the finalizers.
5070         (runFinalizers): Implement. Don't aquire any Java lock.
5071         (finalizerReady): Use lock primitives to signal finalizer thread.
5072
5073 2004-07-11  Mark Wielaard  <mark@klomp.org>
5074
5075         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5076         * java/net/URLStreamHandler.java (parseURL): When url file part
5077         doesn't contain a '/' just ignore context.
5078
5079 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5080
5081         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5082         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5083         (MAKE_THROW_FRAME): Do not modify PSW address.
5084         (INIT_SEGV): Install SIGINFO-style signal handler.
5085         (INIT_FPE): Likewise.
5086
5087 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5088
5089         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5090         status. 21 xfail's removed, 1 added.
5091
5092 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5093
5094         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5095
5096 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5097
5098         * java/text/MessageFormat.java
5099         (formatInternal): Append "{n}" if argument n is unavailable.
5100         (format(Object, StringBuffer, FieldPosition)): This
5101         should be equivalent to format(Object[],
5102         StringBuffer, FieldPosition).
5103
5104 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5105
5106         * java.util.Calendar.java (cache): New private static field. Cached
5107         mappings of locales->calendar classes.
5108         (ctorArgTypes): New private static field. Singleton argument for
5109         calendar class constructor lookup.
5110         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5111         Optimize by bypassing reflection instantiation for the 
5112         GregorianCalendar case.
5113
5114 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5115
5116         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5117         ResourceBundle.getBundle() calls.
5118         * java/util/GregorianCalendar.java: Likewise.
5119         * java/util/Currency.java: Likewise.
5120         * java/text/BreakIterator.java: Likewise.
5121         * java/text/Collator.java: Likewise.
5122         * java/text/DateFormat.java: Likewise.
5123         * java/text/DateFormatSymbols.java: Likewise.
5124         * java/text/DecimalFormatSymbols.java: Likewise.
5125         * java/text/NumberFormat.java: Likewise.
5126         * java/awt/Window.java: Likewise.       
5127
5128 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5129
5130         * java/util/ResourceBundle.java (bundleCache): Renamed from
5131         resourceBundleCache. Update comments.
5132         (getObject): Don't catch MissingResourceException.
5133         (getBundle(String)): Remove 'final'. Use system classloader if
5134         getCallingClassLoader returned null.
5135         (getBundle(String, Locale)): Likewise.
5136         (BundleKey): New private class. HashMap key for bundle cache lookup.
5137         (lookupKey): New. Singleton instance of BundleKey.
5138         (nullEntry): New. Cache entry to represent failed lookups.
5139         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5140         caching strategy, no-allocation lookup, and new tryBundle methods.
5141         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5142         name using given classloader.
5143         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5144         baseName for given Locale and attempt to load bundle.
5145
5146 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5147
5148         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5149         illegal protected method calls.
5150
5151 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5152
5153         Fix or remove some bogus test cases.
5154         * testsuite/libjava.compile/pr10459_2.java: Removed.
5155         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5156         not Object.clone().
5157         * testsuite/libjava.compile/inner_data.java: Test against its own
5158         protected field.
5159
5160 2004-07-09  Michael Koch  <konqueror@gmx.de>
5161
5162         * scripts/unicode-muncher.pl: Updated to version 2.1
5163         from GNU classpath. Added some clarifications on where to find the
5164         needed files from www.unicode.org.
5165         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5166         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5167         Removed, these can directly be downloaded from www.unicode.org if
5168         needed. 
5169         * gnu/java/lang/CharData.java: Regenerated.
5170         * include/java-chartables.h: Regenerated.
5171         * Makefile.am (ordinary_java_source_files):
5172         Removed gnu/java/lang/CharData.java.
5173         * Makefile.in: Regenerated.
5174
5175 2004-07-09  Michael Koch  <konqueror@gmx.de>
5176
5177         * java/security/AccessControlContext.java,
5178         java/security/SecureClassLoader.java:
5179         Fixed javadocs.
5180
5181 2004-07-09  Michael Koch  <konqueror@gmx.de>
5182
5183         * java/io/ObjectInputStream.java (readFields): Use long datatype
5184         when shifting byte values more then 24 bits left.
5185
5186 2004-07-09  Michael Koch  <konqueror@gmx.de>
5187
5188         * java/util/zip/DeflaterOutputStream.java,
5189         java/util/zip/GZIPInputStream.java,
5190         java/util/zip/GZIPOutputStream.java,
5191         java/util/zip/InflaterInputStream.java:
5192         Reformatted. Added javadocs. Reordered all stuff.
5193         Renamed variables to be more clear.
5194
5195 2004-07-09  Michael Koch  <konqueror@gmx.de>
5196
5197         * javax/imageio/IIOException.java,
5198         javax/imageio/event/IIOReadProgressListener.java,
5199         javax/imageio/event/IIOReadUpdateListener.java,
5200         javax/imageio/event/IIOReadWarningListener.java,
5201         javax/imageio/event/IIOWriteProgressListener.java,
5202         javax/imageio/event/IIOWriteWarningListener.java:
5203         New files.
5204         * Makefile.am: Added new files.
5205         * Makefile.in: Regenerated.
5206
5207 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5208
5209         * java/text/RuleBasedCollator.java
5210         (mergeRules): Use ArrayList instead of Vector.
5211         (subParseString): likewise.
5212         (parseString): likewise.
5213         (buildCollationVector): likewise.
5214         (getCollationKey): likewise.
5215
5216 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5217
5218         * java/text/DateFormat.java (parse):
5219         Improved javadoc. Improved exception message.
5220
5221 2004-07-09  Mark Wielaard  <mark@klomp.org>
5222
5223         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5224         interrupted() method to clear interupt flag of our Thread.
5225
5226 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5227
5228         * java/nio/Buffer.java,
5229         java/nio/ByteBuffer.java,
5230         java/nio/ByteBufferHelper.java,
5231         java/nio/ByteBufferImpl.java,
5232         java/nio/CharBuffer.java,
5233         java/nio/CharBufferImpl.java,
5234         java/nio/CharViewBufferImpl.java,
5235         java/nio/DirectByteBufferImpl.java,
5236         java/nio/DoubleBuffer.java,
5237         java/nio/DoubleBufferImpl.java,
5238         java/nio/DoubleViewBufferImpl.java,
5239         java/nio/FloatBuffer.java,
5240         java/nio/FloatBufferImpl.java,
5241         java/nio/FloatViewBufferImpl.java,
5242         java/nio/IntBuffer.java,
5243         java/nio/IntBufferImpl.java,
5244         java/nio/IntViewBufferImpl.java,
5245         java/nio/LongBuffer.java,
5246         java/nio/LongBufferImpl.java,
5247         java/nio/LongViewBufferImpl.java,
5248         java/nio/MappedByteBufferImpl.java,
5249         java/nio/ShortBuffer.java,
5250         java/nio/ShortBufferImpl.java,
5251         java/nio/ShortViewBufferImpl.java:
5252         Fixed javadocs all over. Improved input error
5253         checking.
5254
5255         * java/nio/Buffer.java
5256         (checkForUnderflow, checkForOverflow, checkIndex,
5257         checkIfReadOnly, checkArraySize): New helper methods
5258         for error checking.
5259
5260         * java/nio/ByteBufferHelper.java
5261         (checkRemainingForRead, checkRemainingForWrite,
5262         checkAvailableForRead, checkAvailableForWrite): Removed
5263         no longer needed methods.
5264
5265 2004-07-09  Michael Koch  <konqueror@gmx.de>
5266
5267         * gnu/regexp/CharIndexedInputStream.java:
5268         Reordered imports to match classpath.
5269
5270 2004-07-09  Michael Koch  <konqueror@gmx.de>
5271
5272         * gnu/java/awt/EmbeddedWindow.java:
5273         Load native library for setWindowPeer method.
5274
5275 2004-07-08  Randolph Chung  <tausq@debian.org>
5276
5277         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5278         * configure: Regenerate.
5279         * configure.host: Set can_unwind_signal for hppa*-linux.
5280         * include/pa-signal.h: New file.
5281
5282 2004-07-07  Per Bothner  <per@bothner.com>
5283
5284         * Makefile.am:  Add rules to build libgij from just gij.cc.
5285
5286         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5287         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5288         (initializeClass):  If verbose_class_flag, print message.
5289         * gij.cc (main):  Handle -verbose:class flag.
5290
5291 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5292
5293         * configure.host: Enable hash synchronization on Darwin.
5294         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5295         ';', since this is a comment on Darwin.
5296         (compare_and_swap_release): Likewise.
5297
5298 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5299
5300         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5301         file portion of URL in addition to spec for file: protocol.
5302
5303 2004-07-05  Anthony Green  <green@redhat.com>
5304
5305         * java/io/File.java (toURI): Merge from Classpath.
5306
5307 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5308
5309         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5310         before passing to URL constructor. Rethrow any MalformedURLException
5311         as a RuntimeException. Catch MalformedURLException specifically, not
5312         all exceptions.
5313
5314 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5315
5316         * java/util/Locale.java (readObject): Intern strings read from object
5317         stream.
5318
5319 2004-07-04  Michael Koch  <konqueror@gmx.de>
5320
5321         * gnu/gcj/runtime/FirstThread.java,
5322         gnu/gcj/runtime/natFirstThread.cc: Removed.
5323         * gnu/java/lang/MainThread.java,
5324         gnu/java/lang/natMainThread.cc: New files.
5325         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5326         * Makefile.am: Added new files and removed deleted ones.
5327         * Makefile.in: Regenerated.
5328
5329 2004-07-03  Mark Wielaard  <mark@klomp.org>
5330             Anthony Green  <green@redhat.com>
5331
5332         * java/net/URL.java (getFile): Clarify return value doc.
5333         (getPath): Return null if file is empty - not empty String.
5334         (set): Convert protocol to lower case before doing anything.
5335         Only change the protocol handler if it's different.
5336
5337 2004-07-03  Anthony Green  <green@redhat.com>
5338
5339         * java/net/URL.java (URL): Convert protocol to lower case before
5340         doing anything, so we getURLStreamHandler() with the proper value.
5341
5342 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5343
5344         * java/util/Locale.java (hashcode): Made transient.
5345         (hashCode): No longer synchronized.
5346         (equals): Remove comment.
5347         (writeObject): No longer synchronized. Implement using writeObject 
5348         calls instead of tweaking hashCode field. Update doc.
5349         (readObject): Implement using readObject calls.
5350
5351 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5352             Andreas Tobler  <a.tobler@schweiz.ch>
5353
5354         * configure.host (powerpc-*-darwin*): New case, define
5355         can_unwind_signal.
5356         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5357         * configure: Regenerate.
5358         * include/darwin-signal.h: New.
5359
5360 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5361
5362         * java/beans/Statement.java (doExecute): Fix formatting.
5363
5364 2004-06-29  Per Bothner  <per@bothner.com>
5365
5366         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5367         etc etc):  Remove needless parenthesis, which causes __stdcall__
5368         attribute on MinGW to get ignored.
5369
5370 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5371
5372         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5373
5374 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5375
5376         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5377
5378 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5379
5380         * java/beans/Expression.java: New file.
5381         * java/beans/Statement.java: New file.
5382         * Makefile.am: Added new files.
5383         * Makefile.in: Re-generate.
5384
5385 2004-06-27 Mark Wielaard  <mark@klomp.org>
5386
5387         * java/io/FilePermission.java (usingPerms): Removed.
5388         (actionsString): Made final.
5389         (cachePerms): Renamed to checkPerms.
5390         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5391         on action String.
5392         (FilePermission): Check arguments, call checkPerms().
5393         (equals): Remove cachePerms() call.
5394         (implies): Likewise.
5395
5396 2004-06-27  Mark Wielaard  <mark@klomp.org>
5397
5398         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5399         final field.
5400         (sendRequest): Use new field in user-agent http agent.
5401
5402 2004-06-27  Mark Wielaard  <mark@klomp.org>
5403
5404         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5405         when argument is null.
5406
5407 2004-06-26  Mark Wielaard  <mark@klomp.org>
5408
5409         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5410         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5411         GetMethodID call.
5412         (cancel_clicked): Likewise.
5413
5414 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5415
5416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5417         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5418         can not calculate the right value.
5419         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5420
5421 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5422
5423         * testsuite/libjava.jacks/jacks.xfail: Remove
5424         15.9.1-qualified-concrete-20.
5425
5426 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5427
5428         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5429         encoding name to iconv.
5430         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5431
5432 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5433
5434         PR libgcj/16134:
5435         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5436         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5437         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5438
5439 2004-06-21  Andrew Haley  <aph@redhat.com>
5440
5441         * java/io/ObjectOutputStream.java: Add DEBUG statements
5442         everywhere.
5443         (dumpElementln): New method.
5444         (depth): New field.
5445         * java/io/ObjectInputStream.java
5446         (currentClassLoader): Make native.
5447         (callersClassLoader): New field.
5448         (depth): New field.
5449         (readObject): ENDBLOCKDATA is generated if the class has a write
5450         method, not if it has a read method.
5451         (readObject): Save and restore this.currentObject and
5452         this.currentObjectStreamClass around calls to callReadMethod().
5453         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5454         method.
5455
5456 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5457
5458         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5459         darwin.
5460
5461 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5462
5463         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5464         if desired, before the default class loader is initialised.
5465         Call INIT_SEGV only if HANDLE_SEGV is defined.
5466
5467 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5468
5469         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5470         directory only if it actually exists.
5471
5472 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5473
5474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5475         Fix up non-ansi comments.
5476
5477 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5478
5479         * javax/swing/text/AbstractDocument.java: Adding missing import
5480         for javax.swing.event.EventListenerList.
5481         * javax/swing/text/DefaultCaret.java: Likewise.
5482
5483 2004-06-17  Michael Koch  <konqueror@gmx.de>
5484
5485         * javax/swing/JToolBar.java
5486         (name): Removed.
5487         (JToolBar): Use Component.setName(String) instead of doing it all
5488         alone.
5489         * javax/swing/Timer.java
5490         (queueEvent): Added missing modifier.
5491
5492 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5493
5494         * Makefile.am: Added new file.
5495         * Makefile.in: Re-generate.
5496         * javax/swing/JMenu.java:
5497         (insertSeparator): Implemented.
5498         * javax/swing/JPopupMenu.java:
5499         (JPopupMenu.Separator): Implemented.
5500         * javax/swing/MenuSelectionManager.java:
5501         (processMouseEvent): Use java.awt.Component 
5502         for event source instead of javax.swing.JComponent. 
5503         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5504         New File. Implemented.
5505         
5506 2004-06-16  David Jee  <djee@redhat.com>
5507
5508         * java/awt/GridBagLayout.java
5509         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5510         Make sure pos_x and pos_y are never negative.
5511
5512 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5513
5514         * Makefile.am: Add new file.
5515         * Makefile.in: Re-generate.     
5516         * javax/swing/JToolBar.java
5517         Partially implemented.
5518         * javax/swing/plaf/basic/BasicToolBarUI.java
5519         New file. Partially implemented.
5520
5521 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5522
5523         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5524         (setComposite): Accept AlphaComposite arguments.
5525         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5526         (createBufferedImage): Add new overloads.
5527         * gnu/java/awt/peer/gtk/GtkToolkit.java
5528         (createImage): Use GdkPixbufDecoder.createBufferedImage
5529         when useGraphics2D() is true.
5530         (getImage): Delegate to createImage.
5531         * javax/swing/JList.java
5532         (isSelectionEmpty):
5533         (getFirstVisibleIndex):
5534         (getLastVisibleIndex):
5535         (setSelectedValue):
5536         (ensureIndexIsVisible): New methods.
5537         * javax/swing/Timer.java: Reimplement.
5538
5539 2004-06-16  Michael Koch  <konqueror@gmx.de>
5540
5541         * javax/swing/text/AbstractDocument.java
5542         (AbstracElement): Made public, implements java.io.Serializable.
5543         (AttributeContext): Made public.
5544         (BranchElement): Likewise.
5545         (Content): Likewise.
5546         (DefaultDocumentEvent): Made public, extends
5547         javax.swing.undo.CompoundEdit.
5548         (ElementEdit): Made public, extends
5549         javax.swing.undo.AbstractUndoableEdit.
5550         (LeafElement): Made public.
5551         (LeafElement.LeafElement): Made public.
5552
5553 2004-06-16  Michael Koch  <konqueror@gmx.de>
5554
5555         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5556         methods (that were obviously never be intended to get included hi this
5557         class. Added some methods too.
5558
5559 2004-06-16  Michael Koch  <konqueror@gmx.de>
5560
5561         * javax/swing/text/PlainDocument.java
5562         (serialVersionUID): New constant.
5563         (lineLimitAttribute): Likewise.
5564         (tabSizeAttribute): Likewise.
5565         (tabSize): New field.
5566         (PlainDocument): Made public.
5567         (PlainDocument): New constructor.
5568
5569 2004-06-16  Michael Koch  <konqueror@gmx.de>
5570
5571         * javax/swing/text/AbstractDocument.java
5572         (insertString): Throws BadLocationException.
5573         * javax/swing/text/Document.java
5574         (insertString): Likewise.
5575         * javax/swing/text/JTextComponent.java:
5576         Javadocs and comments cleaned up.
5577
5578 2004-06-16  Michael Koch  <konqueror@gmx.de>
5579
5580         * javax/swing/event/UndoableEditListener.java: Reformatted.
5581         * javax/swing/text/AbstractDocument.java
5582         (AbstractDocument): Implements java.io.Serializable.
5583         (doc_list): Removed.
5584         (undo_list): Removed.
5585         (AbstractElement.serialVerionUID): New field.
5586         (BranchElement.serialVerionUID): Likewise.
5587         (DefaultDocumentEvent.serialVerionUID): Likewise.
5588         (ElementEdit.serialVerionUID): Likewise.
5589         (LeafElement.serialVerionUID): Likewise.
5590         (serialVerionUID): Likewise.
5591         (BAD_LOCATION): New constant.
5592         (BidiElementName): Likewise.
5593         (ContentElementName): Likewise.
5594         (ParagraphElementName): Likewise.
5595         (SectionElementName): Likewise.
5596         (ElementNameAttribute): Likewise.
5597         (AbstractDocument): Made protected.
5598         (AbstractDocument): New construtor.
5599         (listenerList): New field.
5600         (fireChangedUpdate): Implemented.
5601         (fireInsertUpdate): Likewise.
5602         (fireRemoveUpdate): Likewise.
5603         (fireUndoableEditUpdate): Likewise.
5604         (getListeners): Likewise.
5605         (addDocumentListener): Likewise.
5606         (removeDocumentListener): Likewise.
5607         (addUndoableEditListener): Likewise.
5608         (removeUndoableEditListener): Likewise.
5609         (getDocumentListeners): New method.
5610         (getUndoableEditListeners): Likewise.
5611         (getAsynchronousLoadPriority): Made public.
5612         (getBidiRootElement): Likewise.
5613         (setAsynchronousLoadPriority): Likewise.
5614         (setDocumentProperties): Likewise.
5615         * javax/swing/text/BadLocationException.java
5616         (serialVerionUID): New field.
5617         * javax/swing/text/DefaultCaret.java
5618         (changeEvent): New field.
5619         (listenerList): Likewise.
5620         (changes): Removed.
5621         (addChangeListener): Reimplemented.
5622         (removeChangeListener): Likewise.
5623         (getListeners): New method.
5624         (getChangeListeners): Likwise.
5625         (getComponent): Likewise.
5626         * javax/swing/text/GapContent.java
5627         (GapContent): Implements java.io.Serializable.
5628         (serialVerionUID): New field.
5629
5630 2004-06-16  Michael Koch  <konqueror@gmx.de>
5631
5632         * javax/swing/JTree.java
5633         (treeModel): New field.
5634         (JTree): New constructors, one existing one made public.
5635         (createTreeModel): New method.
5636         (addTreeExpansionListener): Likewise.
5637         (removeTreeExpansionListener): Likewise.
5638         (getTreeExpansionListeners): Likewise.
5639         (fireTreeCollapsed): Likewise.
5640         (fireTreeExpanded): Likewise.
5641         (addTreeSelectionListener): Likewise.
5642         (removeTreeSelectionListener): Likewise.
5643         (getTreeSelectionListeners): Likewise.
5644         (fireValueChanged): Likewise.
5645         (addTreeWillExpandListener): Likewise.
5646         (removeTreeWillExpandListener): Likewise.
5647         (getTreeWillExpandListeners): Likewise.
5648         (fireTreeWillCollapse): Likewise.
5649         (fireTreeWillExpand): Likewise.
5650
5651 2004-06-16  Michael Koch  <konqueror@gmx.de>
5652
5653         * javax/swing/JTree.java: Reformatted.
5654
5655 2004-06-16  Michael Koch  <konqueror@gmx.de>
5656
5657         * javax/swing/JTextArea.java: New file.
5658         * javax/swing/JTextField.java
5659         (actions): Removed.
5660         (notifyAction): New constant.
5661         (columns): New field.
5662         (JTextField): New constructors.
5663         (createDefaultModel): New method.
5664         (addActionListener): Reimplmemented.
5665         (removeActionListener): Reimplemented.
5666         (getActionListeners): New method.
5667         (fireActionPerformed): New method.
5668         (getColumns): New method.
5669         (setColumne): New method.
5670         * javax/swing/text/JTextComponent.java
5671         (AccessibleJTextComponent.serialVersionUID): New field.
5672         (serialVersionUID): Likewise.
5673         (DEFAULT_KEYMAP): Likewise.
5674         (FOCUS_ACCELERATOR_KEY): Likewise.
5675         (doc): Made private.
5676         (icon_gap): Likewise.
5677         (icon): Likewise.
5678         (align): Likewise.
5679         (JTextComponent): Some constructors removed.
5680         (getScrollableTracksViewportHeight): New method.
5681         (getScrollableTracksViewportWidth): Likewise.
5682         * Makefile.am: Added javax/swing/JTextArea.java.
5683         * Makefile.in: Regenerated.
5684
5685 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5686
5687         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5688         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5689         * javax/swing/JViewport.java 
5690         (getExtentSize): Return size rather than preferred size.
5691         (toViewCoordinates): New methods.
5692         (getViewSize): Return size rather than preferred size.
5693         (setViewSize): Note view size as set.
5694         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5695         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5696         (getPreferredSize): Don't redo layout.
5697         * javax/swing/plaf/basic/BasicViewportUI.java 
5698         (paint): Translate image properly and eat exceptions.
5699
5700 2004-06-15  Kim Ho  <kho@redhat.com>
5701
5702         * javax/swing/JTabbedPane.java
5703         (setComponent): Remove old component and
5704         add new component.
5705         (setSelectedIndex): Don't operate on the 
5706         components if they're null. Don't set index
5707         on the model if the index is the same.
5708         (insertTab): Don't add or hide the component
5709         if it's null. Repaint the container.
5710         * javax/swing/plaf/basic/BasicLookAndFeel.java
5711         Change colors for TabbedPane.
5712         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5713         (mousePressed): Re-layout and paint the component.
5714         (layoutContainer): Don't set location on the view.
5715         (ScrollingViewport::paint): Remove.
5716
5717 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5718
5719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5720         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5721
5722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5723         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5724         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5725         critical region.
5726         (drawLine): Call gdk_flush before leaving GDK critical region.
5727         (fillRect): Likewise.
5728         (drawRect): Likewise.
5729         (copyArea): Likewise.
5730         (copyPixmap): Likewise.
5731         (clearRect): Likewise.
5732         (drawArc): Likewise.
5733         (drawPolyline): Likewise.
5734         (drawPolygon): Likewise.
5735         (fillPolygon): Likewise.
5736         (fillArc): Likewise.
5737         (drawOval): Likewise.
5738         (fillOval): Likewise.
5739
5740         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5741         style parameter.
5742         (GdkFontMetrics): Add style argument to initState call.
5743         (stringWidth(String,int,int,String)): Add style parameter.
5744         (stringWidth(String)): Add style argument to stringWidth call.
5745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5746         (initState): Set pango font style and weight based on AWT style
5747         parameter.  Pass default GTK language to
5748         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5749         simply dividing by PANGO_SCALE.
5750         (stringWidth): Set pango font style and weight based on AWT style
5751         parameter.
5752
5753         * java/awt/Button.java (next_button_number): New field.
5754         (paramString): Change output.
5755         (generateName): New method.
5756         (getUniqueLong): New method.
5757
5758 2004-06-14  Kim Ho  <kho@redhat.com>
5759
5760         * javax/swing/JTabbedPane.java:
5761         (setComponentAt): Set the component, not
5762         the enabled status.
5763         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5764         (actionPerformed): Let deiconize catch exception.
5765
5766 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5767
5768         * javax/swing/JPopupMenu.java:
5769         (setVisible): Corrected location of a 
5770         heavyweight popup menu.
5771
5772 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5773
5774         * javax/swing/MenuSelectionManager.java: 
5775         Ran through jalopy to fix formatting style.
5776
5777 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5778         
5779         * javax/swing/JLayeredPane.java: 
5780         (remove): Revalidate and repaint layered pane after
5781         the component was removed.
5782         javax/swing/JMenu.java:
5783         (setVisible): Display popup menu at the user location,
5784         if one was set by the user.
5785         (setMenuLocation): Reimplemented. Fixed javadoc.
5786         * javax/swing/JMenuBar.java: Added javadoc.
5787         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5788         (MODEL_CHANGED_PROPERTY): New Property.
5789         (isSelected): Implemented.
5790         (setBorderPainted): Fire PropertyChangeEvent
5791         if paintBorder property changes.
5792         (setSelected): Implemented.
5793         (setSelectionModel): Implemented.
5794         * javax/swing/JPopupMenu.java: Added Javadoc
5795         (pack): Implemented.
5796         (setVisible): Reimplemented.
5797         (show): Fixed location.
5798         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5799         Container instead of JPanel.
5800         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5801         (clearSelectedPath): Reimplemented to clear selectedPath
5802         in reverse order.
5803         (processMouseEvent): Reimplemented.
5804         (setSelectedPath): Fire stateChange event indicating that
5805         selected menu path has changed.
5806         (getPath): Change to use ArrayList instead of Vector.
5807         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5808         (installUI): call installKeyboardActions().
5809         (uninstallUI): call uninstallKeyboardActions().
5810
5811 2004-06-13  Michael Koch  <konqueror@gmx.de>
5812
5813         * javax/swing/text/DefaultCaret.java,
5814         javax/swing/text/BadLocationException.java:
5815         Reformatted.
5816
5817 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5818
5819         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5820         DEFAULT_COLS): New variables.
5821         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5822         values to DEFAULT_ROWS or DEFAULT_COLS.
5823         (getMinimumSize): Likewise.
5824         (getPreferredSize): Likewise.
5825         (minimumSize): Likewise.
5826         (preferredSize): Likewise.
5827         (create): Set peer's editable state.
5828         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5829         zero.  Update javadocs.
5830         (TextArea(String)): Likewise.
5831         (TextArea(int,int)): Fix javadocs.
5832         (TextArea(String,int,int,int)): Only throw exception if one of
5833         rows or columns is zero.  Fix javadocs.
5834
5835 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5836
5837         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5838         addition to Components.
5839
5840         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5841         wasn't consumed by normal processing, send it to the parent
5842         menu.
5843
5844         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5845         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5846         translation.
5847
5848 2004-06-11  David Jee  <djee@redhat.com>
5849
5850         * java/awt/MediaTracker.java
5851         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5852         (addImage(Image,int,int,int)): Likewise.
5853
5854 2004-06-11  Michael Koch  <konqueror@gmx.de>
5855
5856         * javax/swing/text/AbstractDocument.java,
5857         javax/swing/text/Document.java,
5858         javax/swing/text/GapContent.java,
5859         javax/swing/text/JTextComponent.java,
5860         javax/swing/text/PlainDocument.java:
5861         Reformatted.
5862
5863 2004-06-11  Michael Koch  <konqueror@gmx.de>
5864
5865         * javax/swing/JRootPane.java
5866         (AccessibleJRootPane.serialVersionUID): New field.
5867         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5868         (AccessibleJRootPane.getAccessibleRole): New method.
5869         (RootLayout): Implements Serializable.
5870         (RootLayout.serialVersionUID): New field.
5871         (RootLayout.RootLayout): New constructor.
5872         (setJMenuBar): Made public.
5873         (getJMenuBar): Likewise.
5874         (JRootPane): Likewise.
5875         (createContentPane): Likewise.
5876         (createGlassPane): Likewise.
5877         (createLayeredPane): Likewise.
5878
5879 2004-06-11  Michael Koch  <konqueror@gmx.de>
5880
5881         * javax/swing/SwingUtilities.java
5882         (isLeftMouseButton): Fixed javadoc.
5883         (isMiddleMouseButton): Likewise.
5884         (isRightMouseButton): Likewise.
5885
5886 2004-06-11  Michael Koch  <konqueror@gmx.de>
5887
5888         * javax/swing/JScrollPane.java
5889         (serialVersionUID): New field.
5890         (columnHeader): Made protected.
5891         (rowHeader): Likewise.
5892         (lowerLeft): Likewise.
5893         (lowerRight): Likewise.
5894         (upperLeft): Likewise.
5895         (upperRight): Likewise.
5896         (horizontalScrollBar): Likewise.
5897         (horizontalScrollBarPolicy): Likewise.
5898         (verticalScrollBar): Likewise.
5899         (verticalScrollBarPolicy): Likewise.
5900         (viewport): Likewise.
5901
5902 2004-06-11  Michael Koch  <konqueror@gmx.de>
5903
5904         * javax/swing/LookAndFeel.java: Fixed javadocs.
5905
5906 2004-06-11  Michael Koch  <konqueror@gmx.de>
5907
5908         * javax/swing/JEditorPane.java: Fixed javadocs.
5909         (JEditorPane): Removed redundant call to to this().
5910         (fireHyperlinkUpdate): Implemented.
5911
5912 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5913
5914         * javax/swing/JMenu.java: Fixed file name 
5915         in the file comment.
5916
5917 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5918
5919         * javax/swing/JMenu.java: Added javadoc.
5920         (JMenu): Added MenuChangeListener to listen to 
5921         ChangeEvents occuring in menu's model. 
5922         (insert): Throw IllegalArgumentException if 
5923         index is less than 0
5924         (setSelected): Reimplement.
5925         (setPopupMenuVisible): Call menu's model isEnabled()
5926         (setDelay): Throw IllegalArgumentException if 
5927         given amount of delay is less than 0.
5928         (createActionComponent): Implemented.
5929         (createActionChangeListener): Implemented.
5930         (addSeparator): Implemented.
5931         (getItem): Throw IllegalArgumentException if index is 
5932         less than 0.
5933         (getItemCount): Implemented.
5934         (fireMenuSelected): Changed to use menuEvent.
5935         (fireMenuDeselected): Likewise.
5936         (fireMenuCanceled): Likewise.
5937         (setAccelerator): Changed to throw an error if this 
5938         method is used. 
5939         (doClick): Implemented.
5940         (JMenu.ActionChangedListener): New inner class to handle
5941         PropertyChangeEvents occuring in the actions associated with menu.
5942         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5943         (BasicMenuUI): Added PropertyChangeListener to the menu.
5944         (createChangeListener): Implemented.
5945         (createMenuDragMouseListener): Likewise.
5946         (createMenuKeyListener): Likewise.
5947         (createPropertyChangeListener): Likewise.
5948         (uninstallListeners): Likewise.
5949         (BasicMenuUI.MouseInputHandler): Reimplemented.
5950         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5951         (BasicMenuUI.ChangeHandler): Likewise.
5952         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5953         (BasicMenuUI.MenuKeyHandler): Likewise.
5954
5955 2004-06-10  David Jee  <djee@redhat.com>
5956
5957         * java/awt/MediaTracker.java
5958         (imageUpdate): Only do notifyAll() if the image is complete.
5959
5960 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5961
5962         * javax/swing/JApplet.java:
5963         (getJMenuBar): Made public.
5964         (setJMenuBar): Likewise.
5965         * javax/swing/JFrame.java:
5966         (getJMenuBar): Made public.
5967         (setJMenuBar): Likewise.
5968         * javax/swing/JWindow.java:
5969         (getJMenuBar): Removed.
5970         (setJMenuBar): Removed.
5971
5972 2004-06-10  Michael Koch  <konqueror@gmx.de>
5973
5974         * javax/swing/JEditorPane.java
5975         (createEditorKitForContentType): Fixed visibility.
5976         (fireHyperlinkUpdate): Likewise.
5977         (getContentType): Likewise.
5978         (getEditorKit): Likewise.
5979         (getEditorKitForContentType): Likewise.
5980         (getPage): Likewise.
5981         (read): Likewise.
5982         (registerEditorKitForContentTyoe): Likewise.
5983         (replaceSelection): Likewise.
5984         (setContentType): Likewise.
5985         (setEditorKit): Likewise.
5986         (setPage): Likewise.
5987
5988 2004-06-10  Michael Koch  <konqueror@gmx.de>
5989
5990         * javax/swing/Timer.java
5991         (Timer): New constructor.
5992         * javax/swing/plaf/basic/BasicProgressBarUI.java
5993         (animationTimer): Don't initialize at construction.
5994         (startAnimationTimer): Added since tag.
5995         (stopAnimationTimer): Likewise.
5996         (installUI): Use new Timer constructor.
5997         * javax/swing/plaf/basic/BasicScrollBarUI.java
5998         (installUI): Likewise.
5999         * javax/swing/plaf/basic/BasicSliderUI.java
6000         (installUI): Likewise.
6001
6002 2004-06-10  Michael Koch  <konqueror@gmx.de>
6003
6004         * javax/swing/ButtonGroup.java
6005         (serialVersionUID): Made private.
6006         (buttons): Renamed from v, added javadoc.
6007         (sel): Added javadoc.
6008         (ButtonGroup): Likewise.
6009         (add): Likewise.
6010         (remove): Likewise.
6011         (getElements): Likewise.
6012         (getSelection): Likewise.
6013         (setSelected): Likewise.
6014         (isSelected): Likewise.
6015         (getButtonCount): Likewise.
6016
6017 2004-06-10  Michael Koch  <konqueror@gmx.de>
6018
6019         * javax/swing/ButtonGroup.java,
6020         javax/swing/ImageIcon.java,
6021         javax/swing/JEditorPane.java,
6022         javax/swing/JRootPane.java,
6023         javax/swing/JTextField.java,
6024         javax/swing/LookAndFeel.java,
6025         javax/swing/plaf/basic/BasicTextUI.java:
6026         Reindented.
6027
6028 2004-06-10  Michael Koch  <konqueror@gmx.de>
6029
6030         * javax/swing/text/Style.java: Added javadocs.
6031
6032 2004-06-10  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/JComponent.java
6035         (fireVetoableChange): Removed redundant cast.
6036         * javax/swing/JLabel.java
6037         (getDisabledIcon): Save icon for next call.
6038
6039 2004-06-10  Michael Koch  <konqueror@gmx.de>
6040
6041         * javax/swing/KeyStroke.java
6042         (getKeyStroke(char,boolean)): Marked deprecated.
6043
6044 2004-06-10  Michael Koch  <konqueror@gmx.de>
6045
6046         * javax/swing/DefaultCellEditor.java,
6047         javax/swing/GrayFilter.java,
6048         javax/swing/event/DocumentEvent.java,
6049         javax/swing/text/JTextComponent.java,
6050         javax/swing/text/MutableAttributeSet.java:
6051         Reindented.
6052
6053 2004-06-10  Michael Koch  <konqueror@gmx.de>
6054
6055         * javax/swing/plaf/BorderUIResource.java:
6056         Added serialVersionUID all over.
6057
6058 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6059
6060         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6061
6062 2004-06-10  Michael Koch  <konqueror@gmx.de>
6063
6064         * javax/swing/table/DefaultTableCellRenderer.java
6065         (noFocusBorder): Initialize directly.
6066
6067 2004-06-10  Michael Koch  <konqueror@gmx.de>
6068
6069         * javax/swing/plaf/basic/BasicArrowButton.java
6070         (setDirection): Use method argument.
6071
6072 2004-06-10  Michael Koch  <konqueror@gmx.de>
6073
6074         * javax/swing/plaf/BorderUIResource.java,
6075         javax/swing/plaf/ComponentUI.java,
6076         javax/swing/undo/CompoundEdit.java,
6077         javax/swing/undo/StateEdit.java:
6078         Fixed javadocs all over.
6079
6080 2004-06-10  Michael Koch  <konqueror@gmx.de>
6081
6082         * javax/swing/DefaultButtonModel.java
6083         (ARMED): Made public final, fixed value.
6084         (ENABLED): Likewise.
6085         (PRESSED): Likewise.
6086         (ROLLOVER): Likewise.
6087         (SELECTED): Likewise.
6088         (stateMask): Initialize directly.
6089         (listenerList): Likewise.
6090         (mnemonic): Likewise.
6091         (fireStateChanged): Removed argument, use changeEvent as event.
6092         All places where this method is called are fixed too.
6093         (getActionCommant): Fixed javadoc.
6094         (setGroup): Fixed javadoc.
6095         (getGroup): New method.
6096
6097 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6098
6099         * javax/swing/AbstractButton.java
6100         (AbstractButton): Use init() to initialize the button.
6101         (init): New Method. Initializes AbstractButton.
6102         * javax/swing/JMenuItem.java: Documented.
6103         (JMenuItem): Reimplemented.
6104         (init): Implemented.
6105         (setEnabled): Changed to call super.setEnabled()
6106         (processMouseEvent): Reimplemented.
6107         (fireMenuKeyPressed): Implemented.
6108         (fireMenuKeyReleased): Implemented.
6109         (fireMenuKeyTyped): Implemented.
6110         (menuSelectionChanged): disarm the model if the menu item was
6111         deselected.
6112         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6113         (getPath): Change to use ArrayList instead of Vector.
6114         (getPreferredSize): Renamed variable.
6115         (paintMenuItem): Paint margin area of menu item.
6116         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6117         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6118         menu item's bounds before clearing the selection.       
6119
6120 2004-06-09  David Jee  <djee@redhat.com>
6121
6122         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6123         (GtkTextComponentPeer): Set caret position to 0.
6124         * java/awt/TextComponent.java
6125         (setText): Set caret position to 0.
6126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6127         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6128         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6129         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6130         Likewise.
6131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6132         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6133         visible.
6134
6135 2004-06-09  Kim Ho  <kho@redhat.com>
6136
6137         * Makefile.am: New files
6138         * Makefile.in: Regenerated
6139         * java/awt/Container.java
6140         (getComponentAt): Removed.
6141         * javax/swing/AbstractAction.java
6142         (ENABLED_PROPERTY): New property.
6143         (putValue): Fire PropertyChangeEvents.
6144         (setEnabled): ditto.
6145         (firePropertyChange): Javadoc and implement
6146         convenience method.
6147         * javax/swing/AbstractButton.java
6148         (setAction): Don't create PropertyChangeListener
6149         if new Action is null.
6150         (setIcon): Don't set icon till after comparing
6151         it.
6152         (configurePropertiesFromAction): Check mnemonic
6153         key before calling intValue().
6154         (createActionPropertyChangeListener): Check
6155         properties rather than bulk change.
6156         * javax/swing/DefaultDesktopManager.java:
6157         Implement.
6158         * javax/swing/DesktopManager.java:
6159         Jalopy and javadoc.
6160         * javax/swing/JComponent.java
6161         (fireVetoableChange): Implement.
6162         (paintImmediately): Use root component.
6163         * javax/swing/JDesktopPane.java: Implement
6164         * javax/swing/JInternalFrame.java: Implement
6165         * javax/swing/JLabel.java
6166         (getDisabledIcon): Return grayscaled icon if
6167         no disabled icon specified.
6168         * javax/swing/JMenuBar.java
6169         (getComponentAtIndex): Use getComponent
6170         * javax/swing/JOptionPane.java
6171         (getDesktopPaneForComponent): Use SwingUtilities'
6172         getAncestorOfClass
6173         (getFrameForComponent): ditto.
6174         * javax/swing/JSplitPane.java
6175         (remove): Use getComponent.
6176         * javax/swing/SwingUtilities.java
6177         (convertPoint): Implement.
6178         * javax/swing/plaf/basic/BasicButtonUI.java
6179         (paintButtonNormal): Check opaqueness before
6180         filling background.
6181         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6182         Implement
6183         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6184         Implement.
6185         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6186         Implement.
6187         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6188         Implement.
6189         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6190         Change InternalFrame and Desktop colors.
6191
6192 2004-06-09  David Jee  <djee@redhat.com>
6193
6194         * java/awt/Container.java
6195         (remove): Do not set component to invisible.
6196
6197 2004-06-09  Michael Koch  <konqueror@gmx.de>
6198
6199         * javax/swing/tree/DefaultMutableTreeNode.java
6200         (getLeafCount): Renamed enum to e.
6201
6202 2004-06-09  Michael Koch  <konqueror@gmx.de>
6203
6204         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6205         (positionForMouseEvent): Removed redundant semicolon.
6206         (continueDrag): Use method arguments.
6207
6208 2004-06-09  Michael Koch  <konqueror@gmx.de>
6209
6210         * javax/swing/border/TitledBorder.java,
6211         javax/swing/filechooser/FileSystemView.java,
6212         javax/swing/plaf/basic/BasicButtonListener.java,
6213         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6214         javax/swing/plaf/basic/BasicLabelUI.java,
6215         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6216         javax/swing/plaf/basic/BasicScrollBarUI.java,
6217         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6218         javax/swing/plaf/basic/BasicSliderUI.java,
6219         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6220         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6221         javax/swing/table/JTableHeader.java,
6222         javax/swing/text/AbstractDocument.java,
6223         javax/swing/text/DefaultCaret.java,
6224         javax/swing/text/StyledEditorKit.java,
6225         javax/swing/tree/DefaultTreeCellEditor.java:
6226         Reworked import statements.
6227
6228 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6229
6230         * javax/swing/Box.java: Temporarily comment out code
6231         broken due to visibility bug.
6232
6233 2004-06-09  Michael Koch  <konqueror@gmx.de>
6234
6235         * javax/swing/ImageIcon.java
6236         (ImageIcon): Added missing constructor.
6237
6238 2004-06-08  Michael Koch  <konqueror@gmx.de>
6239
6240         * javax/swing/JToggleButton.java
6241         (JToggleButton): New constructor.
6242         (getAccessibleContext): Moved documentation into javadoc.
6243         (getUIClassID): Likewise.
6244
6245 2004-06-08  Michael Koch  <konqueror@gmx.de>
6246
6247         * javax/swing/AbstractButton.java
6248         (getDisabledIcon): Create disabled icon if none exists yet.
6249
6250 2004-06-08  Michael Koch  <konqueror@gmx.de>
6251
6252         * javax/swing/plaf/basic/BasicLookAndFeel.java
6253         (initClassDefaults): Added FormattedTextFieldUI.
6254         (loadResourceBundle): Renamed enum to e.
6255
6256 2004-06-08  Michael Koch  <konqueror@gmx.de>
6257
6258         * javax/swing/plaf/basic/BasicButtonUI.java
6259         (paintIcon): Simplified.
6260         (paintText): Paint disabled button correctly.
6261
6262 2004-06-08  Michael Koch  <konqueror@gmx.de>
6263
6264         * javax/swing/JComponent.java
6265         (createToolTip): Use official JToolTip API.
6266
6267 2004-06-08  Michael Koch  <konqueror@gmx.de>
6268
6269         * javax/swing/JToolTip.java
6270         (JToolTip): No arguments in API.
6271         (setTipText): New method.
6272
6273 2004-06-08  Michael Koch  <konqueror@gmx.de>
6274
6275         * javax/swing/SwingUtilities.java
6276         (isLeftMouseButton): New method.
6277         (isMiddleMouseButton): New method.
6278         (isRightMouseButton): New method.
6279
6280 2004-06-08  Michael Koch  <konqueror@gmx.de>
6281
6282         * javax/swing/AbstractButton.java,
6283         javax/swing/CellRendererPane.java,
6284         javax/swing/JCheckBoxMenuItem.java,
6285         javax/swing/JColorChooser.java,
6286         javax/swing/JComboBox.java,
6287         javax/swing/JComponent.java,
6288         javax/swing/JDesktopPane.java,
6289         javax/swing/JFileChooser.java,
6290         javax/swing/JMenu.java,
6291         javax/swing/JMenuItem.java,
6292         javax/swing/JOptionPane.java,
6293         javax/swing/JPasswordField.java,
6294         javax/swing/JPopupMenu.java,
6295         javax/swing/JProgressBar.java,
6296         javax/swing/JRadioButtonMenuItem.java,
6297         javax/swing/JScrollBar.java,
6298         javax/swing/JSeparator.java,
6299         javax/swing/JSlider.java,
6300         javax/swing/JSplitPane.java,
6301         javax/swing/JTabbedPane.java,
6302         javax/swing/JTextField.java,
6303         javax/swing/JToolBar.java,
6304         javax/swing/text/JTextComponent.java:
6305         Fixed all constructors of accessibility classes.
6306
6307 2004-06-08  Michael Koch  <konqueror@gmx.de>
6308
6309         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6310         over.
6311
6312 2004-06-08  Michael Koch  <konqueror@gmx.de>
6313
6314         * javax/swing/Box.java
6315         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6316         (AccessibleBoxFiller.serialVersionUID): New member variable.
6317         * javax/swing/DefaultButtonModel.java
6318         (stateMask): Made protected.
6319         (listenerList): Likewise.
6320         (changeEvent): Likewise.
6321         (group): Likewise.
6322         (mnemonic): Likewise.
6323         (actionCommand): Likewise.
6324         (getListeners): New method.
6325         (getActionListeners): New method.
6326         (getItemListeners): New method.
6327         (getChangeListeners): New method.
6328         (fireItemStateChanged): Simplified.
6329         (fireActionPerformed): Simplified.
6330         (fireStateChanged): Simplified.
6331         * javax/swing/JFrame.java
6332         (JFrame): Implements WindowContants.
6333         (HIDE_ON_CLOSE): Removed.
6334         (EXIT_ON_CLOSE): Removed.
6335         (DISPOSE_ON_CLOSE): Removed.
6336         (DO_NOTHING_ON_CLOSE): Removed.
6337         (processWindowEvent): Exit with code 0.
6338         (setDefaultCloseOperation): Do security check before setting value.
6339         * javax/swing/JOptionPane.java
6340         (message): Initialize only in constructor.
6341         * javax/swing/JToolTip.java: Removed unused imports.
6342         * javax/swing/JViewport.java
6343         (serialVersionUID): New member variable.
6344         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6345         (BLIT_SCROLL_MODE): Likewise.
6346         (BACKINGSTORE_SCROLL_MODE): Likewise.
6347         (scrollUnderway): Made protected.
6348         (isViewSizeSet): Likewise.
6349         * javax/swing/ListModel.java: Fixed javadoc.
6350         * javax/swing/Popup.java: Likewise.
6351         * javax/swing/RepaintManager.java
6352         (paintDirtyRegions): Don't use internal classes of
6353         java.util.AbstractMap.
6354         * javax/swing/ScrollPaneConstants.java: Reindented.
6355         * javax/swing/ScrollPaneLayout.java
6356         (viewport): Made protected.
6357         (verticalScrollBar): Made protected, renamed to vsb.
6358         (horizontalScrollBar): Made protected, renamed to hsb.
6359         (rowHeader): Made protected, renamed to rowHead.
6360         (columnHeader): Made protected, renamed to colHead.
6361         (lowerLeft): Made protected.
6362         (lowerRight): Made protected.
6363         (upperLeft): Made protected.
6364         (upperRight): Made protected.
6365         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6366         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6367
6368 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6369
6370         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6371         LOADING if flags has SOMEBITS set.
6372
6373 2004-06-07  Michael Koch  <konqueror@gmx.de>
6374
6375         * javax/swing/AbstractButton.java: Reorganized imports.
6376         * javax/swing/ActionMap.java: Likewise.
6377         * javax/swing/DefaultButtonModel.java: Likewise.
6378         * javax/swing/DefaultListModel.java: Likewise.
6379         * javax/swing/ImageIcon.java: Likewise.
6380         (serialVersionUID): New member variable.
6381         * javax/swing/JComboBox.java: Reorganized imports.
6382         * javax/swing/JComponent.java: Likewise.
6383         (ui): Made protected.
6384         (listenerList): Made protected.
6385         (TOOL_TIP_TEXT_KEY): New constant.
6386         (scrollRectToVisible): Removed redundant null check.
6387         * javax/swing/JFrame.java: Reorganized imports.
6388         * javax/swing/JInternalFrame.java: Reorganized imports.
6389         * javax/swing/JProgressBar.java: Likewise.
6390         * javax/swing/JRootPane.java: Likewise.
6391         * javax/swing/JScrollBar.java: Likewise.
6392         * javax/swing/JSeparator.java: Likewise.
6393         * javax/swing/JSlider.java: Likewise.
6394         * javax/swing/JTabbedPane.java: Likewise.
6395         * javax/swing/JTextField.java: Likewise.
6396         * javax/swing/JToolBar.java: Likewise.
6397         * javax/swing/JTree.java: Likewise.
6398         * javax/swing/JViewport.java: Likewise.
6399         * javax/swing/JWindow.java: Likewise.
6400         * javax/swing/KeyStroke.java: Likewise.
6401         * javax/swing/LookAndFeel.java: Likewise.
6402         * javax/swing/MenuSelectionManager.java: Likewise.
6403         * javax/swing/SwingUtilities.java: Likewise.
6404         * javax/swing/Timer.java: Likewise.
6405         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6406         * javax/swing/JList.java
6407         (HORIZONTAL_WRAP): Made final, fixed value.
6408         (VERTICAL): Likewise.
6409         (VERTICAL_WRAP): Likewise.
6410
6411 2004-06-07  Michael Koch  <konqueror@gmx.de>
6412
6413         * javax/swing/AbstractButton.java
6414         (serialVersionUID): New member variable.
6415         (AccessibleAbstractButton.serialVersionUID): Likewise.
6416         (AbstractButton): Made public.
6417         * javax/swing/Box.java
6418         (AccessibleBox.serialVersionUID): New member variable.
6419         (Filler.serialVersionUID): Likewise.
6420         * javax/swing/DefaultListSelectionModel.java
6421         (serialVersionUID): Likewise.
6422         * javax/swing/JApplet.java
6423         (serialVersionUID): Likewise.
6424         * javax/swing/JCheckBox.java
6425         (serialVersionUID): Likewise.
6426         * javax/swing/JCheckBoxMenuItem.java
6427         (serialVersionUID): Likewise.
6428         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6429         * javax/swing/JColorChooser.java
6430         (serialVersionUID): Likewise.
6431         (AccessibleJColorChooser.serialVersionUID): Likewise.
6432         * javax/swing/JComponent.java
6433         (serialVersionUID): Made private.
6434         (AccessibleJComponent.serialVersionUID): New member variable.
6435         * javax/swing/JDesktopPane.java
6436         (serialVersionUID): Likewise.
6437         * javax/swing/JDialog.java
6438         (serialVersionUID): Likewise.
6439         * javax/swing/JFormattedTextField.java
6440         (serialVersionUID): Fixed value.
6441         * javax/swing/JFrame.java
6442         (serialVersionUID): New member variable.
6443         (getDefaultCloseOpertation): Made public.
6444         * javax/swing/JLayeredPane.java
6445         (serialVersionUID): Likewise.
6446         (LAYER_PROPERTY): Made final, fixed value.
6447         (JLayeredPane): Made public.
6448         * javax/swing/JMenu.java
6449         (AccessibleJMenu.serialVersionUID): New member variable.
6450         (WinListener.serialVersionUID): Likewise.
6451         * javax/swing/JMenuBar.java
6452         (serialVersionUID): Likewise.
6453         (getComponentAtIndex): Added @deprecated tag.
6454         * javax/swing/JMenuItem.java
6455         (serialVersionUID): New member variable.
6456         (AccessibleJMenuItem.serialVersionUID): Likewise.
6457         * javax/swing/JOptionPane.java
6458         (serialVersionUID): Likewise.
6459         (AccessibleJOptionPane.serialVersionUID): Likewise.
6460         * javax/swing/JPopupMenu.java
6461         (serialVersionUID): Likewise.
6462         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6463         (getPopupMenuListeners): New method.
6464         (getComponentAtIndex): Added @deprecated tag.
6465         * javax/swing/JProgressBar.java
6466         (serialVersionUID): New member variable.
6467         (AccessibleJProgressBar.serialVersionUID): Likewise.
6468         * javax/swing/JRadioButton.java
6469         (serialVersionUID): Likewise.
6470         * javax/swing/JRadioButtonMenuItem.java
6471         (serialVersionUID): Likewise.
6472         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6473         * javax/swing/JScrollBar.java
6474         (serialVersionUID): Likewise.
6475         (AccessibleJScrollBar.serialVersionUID): Likewise.
6476         * javax/swing/JSeparator.java
6477         (serialVersionUID): Likewise.
6478         (AccessibleJSeparator.serialVersionUID): Likewise.
6479         * javax/swing/JSlider.java: Fixed javadocs.
6480         (AccessibleJSlider.serialVersionUID): New member variable.
6481         * javax/swing/JSplitPane.java: Added copyright statement.
6482         (serialVersionUID): New member variable.
6483         (AccessibleJSplitPane.serialVersionUID): Likewise.
6484         * javax/swing/JTabbedPane.java
6485         (serialVersionUID): Likewise.
6486         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6487         (ModelListener.serialVersionUID): Likewise.
6488         (ModelListener.ModelListener): New constructor.
6489         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6490         (WRAP_TAB_LAYOUT): Likewise.
6491         * javax/swing/JTable.java
6492         (serialVersionUID): New member variable.
6493         * javax/swing/JToggleButton.java
6494         (serialVersionUID): Likewise.
6495         (ToggleButtonModel): Made static.
6496         (ToggleButtonModel.serialVersionUID): New member variable.
6497         * javax/swing/JToolTip.java
6498         (serialVersionUID): Likewise.
6499         * javax/swing/JTree.java
6500         (serialVersionUID): Likewise.
6501         * javax/swing/JWindow.java
6502         (serialVersionUID): Likewise.
6503         * javax/swing/Timer.java
6504         (serialVersionUID): Likewise.
6505
6506 2004-06-06  Michael Koch  <konqueror@gmx.de>
6507
6508         * javax/swing/SwingConstants.java
6509         (NEXT): New constant.
6510         (PREVIOUS): Likewise.
6511         * javax/swing/UIManager.java
6512         (LookAndFeel): Made public.
6513         (LookAndFeel.getClassName): Likewise.
6514         (LookAndFeel.getName): Likewise.
6515
6516 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6517
6518         * javax/swing/JCheckBoxMenuItem.java:
6519         Removed CVS tags.
6520         * javax/swing/JMenu.java: Likewise.
6521         * javax/swing/JMenuBar.java: Likewise.
6522         * javax/swing/JMenuItem.java: Likewise.
6523         * javax/swing/JPopupMenu.java: Likewise.
6524         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6525         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6526         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6527         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6528         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6529         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6530         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6531
6532 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6533         
6534         * javax/swing/plaf/basic/BasicMenuUI.java:
6535         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6536         Call getPath() from super class instead.
6537
6538 2004-05-31  David Jee  <djee@redhat.com>
6539
6540         * java/awt/Container.java
6541         (remove): Set component visibility to false after removing it.
6542
6543 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6544
6545         * java/awt/Component.java (getForeground): Return SystemColor if
6546         parent is null.
6547         (getBackground): Likewise.
6548
6549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6550         (item_highlighted): New function.
6551         (connectSignals): Set item_highlighted as list's select
6552         function.
6553
6554         * java/applet/Applet.java: Revert changes from 2004-04-29,
6555         2004-03-15 and 2004-03-14.
6556
6557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6558         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6559         factor.
6560
6561         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6562         "Dialog" as the default font.
6563         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6564         Likewise.
6565         * java/awt/Component.java (getFont): Return "Dialog" font by
6566         default.
6567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6568         Multiply size argument to pango_font_description_set_size by the
6569         DPI conversion factor rather than by PANGO_SCALE.
6570         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6580         Divide baseline y coordinate by DPI conversion factor rather
6581         than by PANGO_SCALE.
6582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6583         (area_prepared): Fix typo.
6584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6585         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6587         (dpi_conversion_factor): New global variable.
6588         (init_dpi_conversion_factor): New function to calculate and
6589         track DPI conversion factor.
6590         (dpi_changed_cb): New callback.
6591         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6592
6593 2004-05-27  David Jee  <djee@redhat.com>
6594
6595         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6596         (getGraphics): Return a new GdkGraphics instance.
6597         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6598         (getGraphics): Call super.getGraphics().
6599
6600 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6601
6602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6603         (setNativeBounds): Clamp width and height values to >= 0.
6604
6605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6606         (find_fg_color_widget): Handle GtkOptionMenu specially.
6607
6608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6609         (pre_event_handler): Only post configure events to visible
6610         top-level windows.
6611
6612 2004-05-26  David Jee  <djee@redhat.com>
6613
6614         * java/awt/BorderLayout.java
6615         (layoutContainer): Fix size calculations.
6616
6617 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6618
6619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6620         (window_wm_protocols_filter): Remove function.
6621         (create): Remove filter that removes WM_TAKE_FOCUS client
6622         messages.
6623
6624 2004-06-17  Anthony Green  <green@redhat.com>
6625
6626         * java/util/zip/ZipFile.java (getInputStream): Return null if
6627         entry not found.
6628
6629         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6630         directory contents to the class path.
6631
6632 2004-06-15  Andrew Haley  <aph@redhat.com>
6633
6634         * java/lang/natSystem.cc (getenv0): Don't assume environment
6635         variable is Latin 1 coded.
6636
6637 2004-06-14  Andreas Jaeger  <aj@suse.de>
6638
6639         * configure.in: Support --enable-version-specific-runtime-libs.
6640         * configure: Regenerated.
6641
6642 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6643
6644         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6645         to pass ClassLoader argument.
6646         * java/util/GregorianCalendar.java: Likewise.
6647         * java/util/Currency.java: Likewise.
6648         * java/text/BreakIterator.java: Likewise.
6649         * java/text/Collator.java: Likewise.
6650         * java/text/DateFormat.java: Likewise.
6651         * java/text/DateFormatSymbols.java: Likewise.
6652         * java/text/DecimalFormatSymbols.java: Likewise.
6653         * java/text/NumberFormat.java: Likewise.
6654         * java/awt/Window.java: Likewise.
6655
6656 2004-06-14  Andrew Haley  <aph@redhat.com>
6657
6658         * java/lang/System.java: (getenv0): New method.
6659         (getenv): Add security check.  Do the right thing.
6660         * java/lang/natSystem.cc (getenv0): New method.
6661
6662 2004-06-12  Mark Wielaard  <mark@klomp.org>
6663
6664         * javax/swing/RepaintManager.java
6665         (paintDirtyRegions): Use entrySet(), not values().
6666
6667 2004-06-10  Mark Wielaard  <mark@klomp.org>
6668
6669         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6670         NoSuchMethodError.
6671
6672 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6673
6674         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6675         when we already know the answer.
6676         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6677         (setStartRule,setEndRule): Don't take abs of day number.
6678         (getOffset): Clarify docs.  Add argument checks.
6679         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6680         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6681         endTimeMode.
6682
6683 2004-06-10  Tom Tromey  <tromey@redhat.com>
6684
6685         * interpret.cc (run): Handle wide fload.
6686
6687 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6688
6689         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6690
6691 2004-06-05  Michael Koch  <konqueror@gmx.de>
6692
6693         * javax/swing/SwingConstants.java
6694         (NEXT): New constant.
6695         (PREVIOUS): Likewise.
6696
6697 2004-06-05  Michael Koch  <konqueror@gmx.de>
6698
6699         * javax/swing/UIManager.java
6700         (LookAndFeel): Made public.
6701         (LookAndFeel.getName): Likewise.
6702         (LookAndFeel.getClassName): Likewise.
6703
6704 2004-06-03  Michael Koch  <konqueror@gmx.de>
6705
6706         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6707         (requestFocus): Revert last changes.
6708         (gtkRequestFocus): Removed.
6709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6710         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6711         Renamed to ...
6712         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6713         Reverted last patch.
6714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6715         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6716         Reverted comment change.
6717
6718 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6719
6720         * javax/swing/JCheckBoxMenuItem.java:
6721         Removed CVS tags.
6722         * javax/swing/JMenu.java: Likewise.
6723         * javax/swing/JMenuBar.java: Likewise.
6724         * javax/swing/JMenuItem.java: Likewise.
6725         * javax/swing/JPopupMenu.java: Likewise.
6726         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6727         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6728         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6729         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6730         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6731         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6732         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6733
6734 2004-06-01  Tom Tromey  <tromey@redhat.com>
6735
6736         * java/io/ObjectStreamField.java: Cleaned up imports.
6737
6738 2004-06-01  Michael Koch  <konqueror@gmx.de>
6739
6740         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6741       
6742 2004-06-01  Mark Wielaard  <mark@klomp.org>
6743
6744         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6745
6746 2004-06-01  Michael Koch  <konqueror@gmx.de>
6747
6748         * java/security/Security.java
6749         (insertProviderAt): Use equals() instead of ==.
6750         (removeProvicer): Likewise.
6751         (getProvider): Likewise.
6752         * java/security/Signature.java
6753         (sign): Don't set state to UNINITIALIZED.
6754         (verify): Likewise.
6755
6756 2004-06-01  Mark Wielaard  <mark@klomp.org>
6757
6758         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6759         Implement by calling gtkRequestFocus.
6760         (gtkRequestFocus): New native method.
6761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6762         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6763         Renamed to ...
6764         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6765         New function name.
6766         (filter_expose_event_handler):
6767         Mark static.
6768         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6769         (menu_pos): Mark static.
6770
6771 2004-06-01  Michael Koch  <konqueror@gmx.de>
6772
6773         * java/text/CollationElementIterator.java,
6774         java/text/CollationKey.java,
6775         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6776         * testsuite/libjava.mauve/xfails: Removed all
6777         java.text.CollationElementIterator tests.
6778
6779 2004-06-01  Michael Koch  <konqueror@gmx.de>
6780
6781         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6782         version.
6783         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6784         Java 1.5 keyword usage.
6785
6786 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6787
6788         * javax/swing/plaf/basic/BasicMenuUI.java:
6789         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6790         Call getPath() from super class instead.
6791
6792 2004-05-31  Michael Koch  <konqueror@gmx.de>
6793
6794         * java/io/SequenceInputStream.java:
6795         Rename enum to e because enum is a keyword in Java 1.5.
6796
6797 2004-05-31  Michael Koch  <konqueror@gmx.de>
6798
6799         * gnu/java/rmi/rmic/CompilerProcess.java:
6800         Fixed javadoc to by XHTML compliant.
6801
6802 2004-05-30  Mark Wielaard  <mark@klomp.org>
6803
6804         * java/awt/Toolkit.java (loadSystemColors): Implement.
6805
6806 2004-05-30  Michael Koch  <konqueror@gmx.de>
6807
6808         * java/lang/System.java: Reordered imports.
6809
6810 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6811
6812         * java/text/DecimalFormat.java
6813         (parse): Fixed parsing of decimal strings. Number of maximum
6814         digits to be read should now work.
6815         * java/text/SimpleDateFormat.java
6816         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6817         formatter. This fixes DateFormatTest.
6818
6819 2004-05-30  Michael Koch  <konqueror@gmx.de>
6820
6821         * java/nio/Buffer.java
6822         (limit): Fixed off by one error.
6823         * java/nio/CharBuffer.java
6824         (wrap): Fixed arguments, added javadocs.
6825
6826 2004-05-30  Michael Koch  <konqueror@gmx.de>
6827
6828         * gnu/java/beans/BeanInfoEmbryo.java,
6829         java/awt/im/InputContext.java,
6830         javax/swing/tree/DefaultMutableTreeNode.java:
6831         Rename enum to e because enum is a keyword in Java 1.5.
6832
6833 2004-05-30  Michael Koch  <konqueror@gmx.de>
6834
6835         * gnu/java/math/MPN.java,
6836         java/awt/geom/Arc2D.java:
6837         Fixed javadocs all over.
6838
6839 2004-05-30  Michael Koch  <konqueror@gmx.de>
6840
6841         * java/awt/DefaultKeyboardFocusManager.java
6842         (dispatchEvent): Call method to get key event dispatchers.
6843         (dispatchKeyEvent): Call method to get key event post processors.
6844         * javax/swing/JComponent.java
6845         (listenerList): Made protected.
6846         * javax/swing/JOptionPane.java
6847         (message): Don't initialize.
6848         (JOptionPane): Set message text.
6849         * javax/swing/JPopupMenu.java
6850         (show): Fixed typo in argument name.
6851         * javax/swing/RepaintManager.java
6852         (paintDirtyRegions): Use public API of java.util.Map.
6853         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6854         (positionForMouseEvent): Removed redundant ';'.
6855         (continueDrag): Use method arguments.
6856
6857 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6858
6859         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6860         results.
6861
6862 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6863
6864         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6865         _Jv_AllocBytes.
6866         * gnu/gcj/RawDataManaged.java: New file.
6867         * java/lang/Thread.java (data): Declare as RawDataManaged.
6868         * java/lang/natThread.cc (init_native): Cast natThread data to
6869         RawDataManaged, not jobject.
6870         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6871         * Makefile.in: Rebuilt.
6872
6873 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6874
6875         * java/util/SimpleTimeZone.java: Reverting my last change until I
6876         can fix it properly.
6877
6878 2004-05-27  Michael Koch  <konqueror@gmx.de>
6879
6880         * javax/swing/JPopupMenu.java
6881         (isVisible): Do not use visible directly.
6882         (setVisible): Likewise.
6883         * javax/swing/JWindow.java
6884         (JWindow): call accessible constructor.
6885         * javax/swing/RepaintManager.java
6886         (paintDirtyRegions): Use public methods to obtain iterator.
6887
6888 2004-05-25  David Jee  <djee@redhat.com>
6889
6890         * java/awt/Container.java
6891         (remove): Set component's parent to null only after we removed the
6892         component from its parent's layout manager.
6893
6894 2004-05-25  David Jee  <djee@redhat.com>
6895
6896         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6897         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6898         is valid.
6899         * gnu/java/awt/peer/gtk/GtkListPeer.java
6900         (getSize): Change native method declaration.
6901         (minimumSize): Pass visible row count into getSize().
6902         (preferredSize): Likewise.
6903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6904         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6905         natural size. Use visible row count to determine the final height
6906         value to return.
6907
6908 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6909
6910         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6911         (setClip): Minor correction to order of operations.
6912
6913         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6914         * javax/swing/ScrollPaneLayout.java: Likewise.
6915         * javax/swing/JViewPort.java: Likewise.
6916         * javax/swing/ViewportLayout.java: Likewise.
6917
6918         * javax/swing/JComponent.java: Rewrite.
6919         * javax/swing/RepaintManager.java: Likewise.
6920
6921         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6922         * javax/swing/JList.java 
6923         (setSelectedIndices):
6924         (getSelectedIndices):
6925         (getSelectedValues): New functions.
6926         (getPreferredScrollableViewportSize): Return preferred size.
6927         (getScrollableUnitIncrement):
6928         (getScrollableBlockIncrement): Initial implementations.
6929         * javax/swing/JRootPane.java: Clean up slightly.
6930         (getUI):
6931         (setUI):
6932         (updateUI):
6933         (getUIClassID):
6934         (isValidateRoot): Add overrides from JComponent.
6935         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6936         * javax/swing/UIManager.java (getDimension): Return the dimension.
6937
6938         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6939         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6940         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6941         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6942         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6943         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6944         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6945         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6946         Likewise, and set background.
6947         * javax/swing/plaf/basic/BasicListUI.java: 
6948         Likewise, and improve a bit.
6949         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6950         Likewise, and adjust calculations.
6951         * javax/swing/plaf/basic/BasicViewportUI.java:
6952         Likewise, and improve a bit.
6953         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6954         (Button.margin): Shrink.
6955
6956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6957         Hack to set horizontal always, workaround pango.
6958
6959         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6961         Synchronize more often, check cairo status after ops,
6962         handle changes to cairo pattern API, check for disposal.
6963
6964 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6965
6966         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6967         (BasicMenuItemUI): Create propertyChangeListener.
6968         (getPath):Implemented.
6969         (installListeners): Add propertyChangeListener to menuItem.
6970         (uninstallListeners): Remove propertyChangeListener from menuItem.
6971         (update): Implemented.
6972         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6973         (mouseEntered): Take insets of popup menu into account when
6974         calculating position of popup menu.     
6975         
6976 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6977
6978         * Makefile.am: Added new file. 
6979         * Makefile.in: Regenerate.
6980         * javax/swing/JMenuBar.java:
6981         Started implementation.
6982         * javax/swing/JPopupMenu.java:
6983         (setVisible): Fixed location of lightweight/mediumweight
6984         popup menu.
6985         (show): Fixed location of PopupMenu.
6986         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6987         New file. UI Delegate for JMenuBar.
6988         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6989         (mouseEntered): Corrected position of the submenu.
6990
6991 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6992
6993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6994         to _gtk_accel_group_attach.
6995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6996         Likewise.
6997
6998         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6999         package access.  Don't override setFont.
7000         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7001         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7002         gtkWidgetRequestFocus package access.
7003         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7004         setFont.
7005         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7006         Give gtkWidgetRequestFocus package access.
7007         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7008         gtkWidgetRequestFocus package access.  Don't override setFont.
7009         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7010         setFont.
7011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7012         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7013         region.
7014         (gtkSetFont): Likewise.
7015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7016         Implement.
7017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7018         (gtkSetFont): Whitespace fix.
7019
7020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7021         (gtkWidgetSetUsize): Remove method.
7022
7023 2004-05-18  David Jee  <djee@redhat.com>
7024
7025         * java/awt/image/MemoryImageSource.java
7026         (newPixels(int,int,int,int,boolean)): Set only the specified
7027         rectangle of pixels.
7028         (newPixels(byte[],ColorModel,int,int)): Implement.
7029         (newPixels(int[],ColorModel,int,int)): Implement.
7030
7031 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7032
7033         * Makefile.am: Added new file.
7034         * Makefile.in: Regenerate.
7035         * javax/swing/JMenu.java: Started 
7036         implementation.
7037         * javax/swing/JPopupMenu.java:
7038         (insert): If specified index is -1, then
7039         add component at the end.
7040         (isPopupTrigger): Reimplemented.
7041         (JPopupMenu.LightWeightPopup): setBounds
7042         of the lightWeightPopup before adding it 
7043         to the layeredPane.
7044         (javax/swing/plaf/basic/BasicIconFactory.java):
7045         (getMenuArrowIcon): Implemented.
7046         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7047         (getPreferredSize): Add size of the arrow icon 
7048         if this menu item is instance of JMenu.
7049         (paintMenuItem): Paint arrow icon if this 
7050         menu item is a submenu.
7051         * javax/swing/plaf/basic/BasicMenuUI.java:
7052         New File. UI Delegate for JMenu.
7053
7054 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7055
7056         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7057         Post KEY_TYPED events.
7058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7059         (generates_key_typed_event): Remove function.
7060
7061 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7062
7063         * javax/swing/JRootPane.java
7064         (JRootPane.RootLayout): Reimplemented to 
7065         set bounds of contentPane and menuBar.
7066         (setJMenuBar): Add menu bar to the layered pane.
7067         (createLayeredPane): Set layout of layeredPane
7068         to null.
7069         * javax/swing/JLayeredPane.java:
7070         (addImpl): Calculate index of the component in the
7071         layeredPane according to the specified position within 
7072         the layer.      
7073
7074 2004-05-17  David Jee  <djee@redhat.com>
7075
7076         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7077         (setPixels): Change color model to the default model after
7078         converting pixels.
7079         * java/awt/image/MemoryImageSource.java
7080         (newPixels): Set only the specified rectangle of pixels.
7081
7082 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7083
7084         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7085         -l-java-beans -l-javax-accessibility -l-javax-swing.
7086
7087         * java/awt/AWTEvent.java (toString): Print source's name rather
7088         than the source itself.
7089
7090 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7091
7092         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7093         native.
7094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7095         (gdk_color_to_java_color): New function.
7096         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7097
7098 2004-05-12  David Jee  <djee@redhat.com>
7099
7100         * java/awt/image/RGBImageFilter.java:
7101         Initialize origmodel as null.
7102         (makeColor): Fix pixel component order.
7103         (filterRGBPixels): Fix pixel iteration.
7104         (setPixels): Add extra checks for index color model. Convert pixels
7105         to default color model if necessary.
7106         (convertColorModelToDefault): New override method for byte pixels.
7107         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7108         (makeColorbyDefaultCM): New override method for byte pixels.
7109         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7110         (makeColor): Fix pixel component order.
7111
7112 2004-05-11  Kim Ho  <kho@redhat.com>
7113
7114         * javax/swing/Box.java:
7115         Comment out more parts of Box.Filler.
7116
7117 2004-05-11  Kim Ho  <kho@redhat.com>
7118
7119         * javax/swing/Box.java:
7120         Remove reference to AccessibleAWTComponent so
7121         it compiles again.
7122
7123 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7124
7125         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7126         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7127         implementation of list peer to use GtkTreeView instead of
7128         deprecated GtkCList.
7129
7130 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7131
7132         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7133         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7134         (handleEvent): Remove keyChar argument to
7135         gtkWidgetDispatchKeyEvent calls.
7136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7137         compiler warnings.
7138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7141         Likewise.
7142
7143 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7144
7145         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7146         (gtkWidgetRequestFocus): Mark protected.
7147         (GtkComponentPeer): Only set the peer's bounds if its component
7148         is valid.
7149         * java/awt/Component.java (static): Set the default keyboard
7150         focus manager.
7151         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7152         requestFocusInWindow(temporary)): Don't request focus if the
7153         component is not showing.  Get tree lock before traversing
7154         component hierarchy.
7155         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7156         Only set the global focus owner if it is not a Window.
7157         (processKeyEvent): Consume keystrokes associated with the focus
7158         traversal keystroke.
7159         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7160         downFocusCycle): Call requestFocusInWindow instead of
7161         requestFocus.
7162         * java/awt/EventDispatchThread.java (run): Move setting of
7163         default keyboard focus manager to Component.java.
7164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7165         (awt_keycode_to_keysym): New function.
7166         (gtkWidgetDispatchKeyEvent): Finish implementation.
7167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7168         (pre_event_handler): Add FIXME comment.
7169
7170         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7171         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7172         (gtkWidgetRequestFocus): New method.
7173         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7174         disable Tab and Shift-Tab keystrokes.
7175         (addNotify, appendText, insertText, replaceText): Simplify peer
7176         retrieval code.
7177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7178         (connectSignals): Remove connections to "commit" signals.
7179         Remove C++-style comments.
7180
7181         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7183         (handleEvent): Activate GTK button when the space bar key is
7184         pressed.
7185         (gtkActivate): New method.
7186
7187 2004-05-06  David Jee  <djee@redhat.com>
7188
7189         * java/awt/image/CropImageFilter.java
7190         (setPixels): Implement for byte array pixels.
7191         * java/awt/image/ReplicateScaleFilter.java
7192         (setPixels): Implement for byte array pixels.
7193         (replicatePixels): Overload for byte array pixels.
7194
7195 2004-05-06  Kim Ho  <kho@redhat.com>
7196
7197         * javax/swing/Box.java:
7198         (getAccessibleContext): Return an instance of the 
7199         correct class.
7200
7201 2004-05-05  David Jee  <djee@redhat.com>
7202
7203         * gnu/java/awt/peer/gtk/GdkGraphics.java
7204         (drawImage): When component is null, use SystemColor.window as
7205         the default bgcolor.
7206         * gnu/java/awt/peer/gtk/GtkImage.java
7207         (setPixels): We can avoid iterating through the pixel rows only
7208         when height is 1.
7209         * java/awt/Image.java
7210         (getScaledInstance): Partially implement.
7211         * java/awt/image/CropImageFilter.java
7212         (setProperties): Fix "filter" property.
7213         (setPixels): Implement.
7214         * java/awt/image/ReplicateScaleFilter.java
7215         (setDimensions): Use scaled dimensions.
7216         (setPixels): Implement.
7217         (replicatePixels): New method.
7218
7219 2004-05-05  David Jee  <djee@redhat.com>
7220
7221         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7222         (convertPixels): If either pixels or model is null, return null.
7223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7224         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7225         is null, do nothing and return.
7226
7227 2004-05-03  Kim Ho  <kho@redhat.com>
7228
7229         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7230         (getGraphics): Like GtkFramePeer, the Graphics
7231         object needs to be translate to account for
7232         window decorations.
7233         (postMouseEvent): New method. Account for
7234         translation.
7235         (postExposeEvent): ditto.
7236         * javax/swing/Box.java: Stubbed.
7237         * javax/swing/JDialog.java: Ran through jalopy
7238         to fix indentation.
7239         (JDialog): Call SwingUtilities' getOwnerFrame
7240         for null owners.
7241         (setLayout): Check isRootPaneCheckingEnabled
7242         * javax/swing/JOptionPane.java: Re-implemented.
7243         * javax/swing/SwingUtilities.java:
7244         (getOwnerFrame): Static method to grab a default
7245         owner frame for Dialogs that don't specify owners.
7246         * javax/swing/event/SwingPropertyChangeSupport.java:
7247         (firePropertyChange): Fix early exit condition.
7248         * javax/swing/plaf/basic/BasicLabelUI.java:
7249         (paint): Avoid painting text if it is null 
7250         or empty.
7251         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7252         Implement.
7253
7254 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7255
7256         * Makefile.am: Added new file.
7257         * Makefile.in: Regenerate.
7258         * javax/swing/JPopupMenu.java:
7259         Started implementation.
7260         * javax/swing/JWindow.java
7261         (JWindow): call super() if parent for window
7262         is not specified.
7263         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7264         New File. UI Delegate for JPopupMenu.
7265
7266 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7267
7268         * javax/swing/JApplet.java: Indicated that JApplet
7269         implements RootPaneContainer and made method of this
7270         interface public. 
7271         * javax/swing/JFrame.java: Ditto.
7272         * javax/swing/JWindow.java: Ditto.
7273         
7274 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7275
7276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7277         (nativeSetBounds): Call gdk_window_move in addition to
7278         gtk_window_move.
7279
7280         * java/applet/Applet.java (preferredSize): Call parent's
7281         preferredSize if the applet stub is null.
7282         (minimumSize): Likewise for parent's minimumSize.
7283
7284 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7285
7286         * javax/swing/JMenuItem.java
7287         (createActionPropertyChangeListener): Implemented.
7288         (processMouseEvent): Ditto.
7289         (fireMenuDragMouseEntered): Ditto.
7290         (fireMenuDragMouseExited): Ditto.
7291         (fireMenuDragMouseDragged): Ditto.
7292         (fireMenuDragMouseReleased): Ditto.
7293         (menuSelectionChanged): Ditto.
7294         (getSubElements): Ditto.
7295         (getComponent): Ditto.
7296         (addMenuDragMouseListener): Ditto.
7297         (removeMenuDragMouseListener):Ditto.
7298         (addMenuKeyListener): Ditto.
7299         (removeMenuKeyListener): Ditto.
7300         * javax/swing/plaf/basic/BasicMenuItemUI.java
7301         (doClick): Imlemented.
7302         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7303         Don't handle mouse events here. Pass them to 
7304         MenuSelectionManager.
7305         
7306 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7307         Used correct version of jalopy configuration
7308         file to fix style in the files below.
7309
7310 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7311
7312         * javax/swing/JCheckBoxMenuItem.java: 
7313         Fixed style and removed unnecessary comments.
7314         * javax/swing/JMenuItem.java: Ditto.
7315         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7316         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7317         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7318         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7319
7320 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7321
7322         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7323         C-style.
7324
7325         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7326
7327         * java/awt/ContainerOrderFocusTraversalPolicy.java
7328         (getComponentAfter): Start from current component and work up
7329         the component hierarchy until an acceptable component is found.
7330         Synchronize on tree lock.
7331         (getComponentBefore): Likewise.
7332
7333 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7334
7335         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7336         focus-related debugging messages.
7337         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7338         * java/awt/EventDispatchThread.java: Likewise.
7339         * java/awt/KeyboardFocusManager.java: Likewise.
7340         * java/awt/Window.java: Likewise.
7341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7343
7344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7345         new C++-style comments to C-style comments.
7346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7347
7348         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7349         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7350         (handleEvent): Dispatch key press and key release events to
7351         backing widget.
7352         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7353         (gtkWidgetRequestFocus): New method.
7354         (gtkWidgetDispatchKeyEvent): Likewise.
7355         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7356         requestFocusInWindow, requestFocusInWindow(boolean),
7357         getFocusCycleRootAncestor, nextFocus, transferFocus,
7358         transferFocusBackward, transferFocusUpCycle, hasFocus,
7359         isFocusOwner): Implement and document focus-handling methods.
7360         (setFocusTraversalKeys): Inherit focus traversal keys when
7361         keystrokes argument is null.  Fix focus-handling documentation
7362         throughout class.
7363         * java/awt/Container.java (setFocusTraversalKeys,
7364         getFocusTraversalKeys, areFocusTraversalKeysSet,
7365         isFocusCycleRoot, setFocusTraversalPolicy,
7366         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7367         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7368         Implement and document focus-handling methods.
7369         (transferFocusBackward): Remove method.
7370         (readObject, writeObject): Implement and document serialization
7371         methods.
7372         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7373         and document.
7374         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7375         document.
7376         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7377         partially document.
7378         * java/awt/EventDispatchThread.java (run): Set default keyboard
7379         focus manager.  Attempt to dispatch each event to the keyboard
7380         focus manager before normal dispatch.
7381         * java/awt/KeyboardFocusManager.java: Implement and partially
7382         document.
7383         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7384         (show): Focus initial component when window is shown for the
7385         first time.
7386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7387         (pre_event_handler): Replace complex key press and key release
7388         logic with simple callbacks into GtkComponentPeer.
7389         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7390
7391 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7392
7393         * javax/swing/MenuSelectionManager.java
7394         (componentForPoint): Added new method. 
7395         (defaultManager): New Method. Implemented.
7396         (getSelectedPath): Ditto.
7397         (isComponentPartOfCurrentMenu): Ditto.
7398         (processKeyEvent): Added new method.
7399         (processMouseEvent): New Method. Implemented.
7400         (setSelectedPath): Ditto.
7401         (getPath): Ditto.
7402
7403 2004-04-19  Kim Ho  <kho@redhat.com>
7404
7405         * java/awt/Container.java: 
7406         (remove): Set the component's parent to null.
7407         (getComponentAt): Implement.
7408         * javax/swing/JComponent.java:
7409         (JComponent): Initialize defaultLocale
7410         (getDefaultLocale): Implement.
7411         (setDefaultLocale): ditto.
7412         * javax/swing/JSlider.java:
7413         (JSlider): Fix calculation of value.
7414         * javax/swing/JSplitPane.java: Implement.
7415         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7416         Change SplitPane's default divider size.
7417         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7418         (paint): Remove unused code.
7419         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7420         Added comments and ran through jalopy.
7421         (setBasicSplitPaneUI): Get reference to hidden divider
7422         and set up one touch buttons if necessary.
7423         (setBorder): Fire propertyChangeEvent only if 
7424         borders are different.
7425         (getPreferredSize): Defer to layout manager.
7426         (propertyChange): Implement.
7427         (oneTouchExpandableChanged): ditto.
7428         (createLeftOneTouchButton): Use BasicArrowButton.
7429         (createRightOneTouchButton): ditto.
7430         (moveDividerTo): New method. Moves the divider
7431         to a set location based on the last divider location.
7432         (BasicSplitPaneDivider::MouseHandler): Implement.
7433         (BasicSplitPaneDivider::OneTouchButton): Removed.
7434         (BasicSplitPaneDivider::DragController): Implement.
7435         (BasicSplitPaneDivider::VerticalDragController):
7436         ditto.
7437         (BasicSplitPaneDivider::DividerLayout): ditto.
7438         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7439         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7440         (calculateLayoutInfo): Don't show component if it's
7441         null.
7442         (paintTab): Fix title paint logic.
7443
7444 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7445
7446         PR libgcj/8321
7447         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7448         (setStartRule,setEndRule): Don't take abs of day number.
7449         (getOffset): Clarify docs.  Add argument checks.
7450         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7451         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7452         endTimeMode.
7453         * testsuite/libjava.mauve/xfails
7454         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7455
7456 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7457
7458         Layout interfaces during preparation, not initialization. 
7459         * java/lang/natClass.cc (initializeClass): Move 
7460         _Jv_LayoutInterfaceMethods call...
7461         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7462
7463 2004-05-19  Anthony Green  <green@localhost.localdomain>
7464
7465         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7466         gnu.javax.rmi code.
7467         * Makefile.in: Rebuilt.
7468         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7469         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7470         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7471         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7472         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7473         gnu/javax/rmi/CORBA/DelegateFactory.java,
7474         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7475         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7476         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7477         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7478         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7479         gnu/javax/rmi/PortableServer.java: Remove files.
7480
7481 2004-05-19  Anthony Green  <green@redhat.com>
7482
7483         * Makefile.am: Define JAVA_EXT_DIRS.
7484         * Makefile.in: Rebuilt.
7485         * java/lang/natRuntime.cc (insertSystemProperties): Set
7486         java.ext.dirs property.
7487
7488 2004-05-16  Mark Wielaard  <mark@klomp.org>
7489
7490         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7491
7492 2004-05-15  Mark Wielaard  <mark@klomp.org>
7493
7494         * doc/cni.sgml: Removed, merged into gcj.texi.
7495
7496 2004-05-15  Mark Wielaard  <mark@klomp.org>
7497
7498         * Makefile.am (ordinary_java_source_files): Add new javax.print
7499         classes.
7500         * Makefile.in: Regenerated.
7501
7502 2004-05-15  Michael Koch  <konqueror@gmx.de>
7503
7504         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7505         javax/print/attribute/standard/DateTimeAtCreation.java,
7506         javax/print/attribute/standard/DateTimeAtProcessing.java,
7507         javax/print/attribute/standard/DocumentName.java,
7508         javax/print/attribute/standard/JobHoldUntil.java,
7509         javax/print/attribute/standard/JobImpressionsCompleted.java,
7510         javax/print/attribute/standard/JobMessageFromOperator.java,
7511         javax/print/attribute/standard/JobName.java,
7512         javax/print/attribute/standard/JobOriginatingUserName.java,
7513         javax/print/attribute/standard/JobPriority.java,
7514         javax/print/attribute/standard/JobPrioritySupported.java,
7515         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7516         javax/print/attribute/standard/OutputDeviceAssigned.java,
7517         javax/print/attribute/standard/PrinterInfo.java,
7518         javax/print/attribute/standard/PrinterLocation.java,
7519         javax/print/attribute/standard/PrinterMakeAndModel.java,
7520         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7521         javax/print/attribute/standard/PrinterName.java,
7522         javax/print/attribute/standard/QueuedJobCount.java,
7523         javax/print/attribute/standard/RequestingUserName.java:
7524         Fixed javadocs all over.
7525
7526 2004-05-15  Michael Koch  <konqueror@gmx.de>
7527
7528         * javax/print/DocFlavor.java,
7529         javax/print/attribute/standard/ColorSupported.java,
7530         javax/print/attribute/standard/Compression.java,
7531         javax/print/attribute/standard/CopiesSupported.java,
7532         javax/print/attribute/standard/Fidelity.java,
7533         javax/print/attribute/standard/Finishings.java,
7534         javax/print/attribute/standard/JobImpressionsSupported.java,
7535         javax/print/attribute/standard/JobKOctetsSupported.java,
7536         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7537         javax/print/attribute/standard/JobSheets.java,
7538         javax/print/attribute/standard/JobState.java,
7539         javax/print/attribute/standard/JobStateReason.java,
7540         javax/print/attribute/standard/JobStateReasons.java,
7541         javax/print/attribute/standard/Media.java,
7542         javax/print/attribute/standard/MediaSizeName.java,
7543         javax/print/attribute/standard/MultipleDocumentHandling.java,
7544         javax/print/attribute/standard/NumberUpSupported.java,
7545         javax/print/attribute/standard/OrientationRequested.java,
7546         javax/print/attribute/standard/PDLOverrideSupported.java,
7547         javax/print/attribute/standard/PageRanges.java,
7548         javax/print/attribute/standard/PresentationDirection.java,
7549         javax/print/attribute/standard/PrintQuality.java,
7550         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7551         javax/print/attribute/standard/PrinterMoreInfo.java,
7552         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7553         javax/print/attribute/standard/PrinterResolution.java,
7554         javax/print/attribute/standard/PrinterState.java,
7555         javax/print/attribute/standard/PrinterStateReason.java,
7556         javax/print/attribute/standard/PrinterStateReasons.java,
7557         javax/print/attribute/standard/PrinterURI.java,
7558         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7559         javax/print/attribute/standard/Severity.java,
7560         javax/print/attribute/standard/SheetCollate.java,
7561         javax/print/attribute/standard/Sides.java:
7562         Added serialVersionUID and removed final keyword where it doenst
7563         belong.
7564
7565 2004-05-15  Michael Koch  <konqueror@gmx.de>
7566
7567         * javax/print/PrintServiceLookup.java: New file.
7568
7569 2004-05-15  Michael Koch  <konqueror@gmx.de>
7570
7571         * javax/print/DocFlavor.java:
7572         Implemented all flavor classes.
7573
7574 2004-05-15  Michael Koch  <konqueror@gmx.de>
7575
7576         * javax/print/attribute/standard/ColorSupported.java,
7577         javax/print/attribute/standard/Compression.java,
7578         javax/print/attribute/standard/CopiesSupported.java,
7579         javax/print/attribute/standard/Fidelity.java,
7580         javax/print/attribute/standard/Finishings.java,
7581         javax/print/attribute/standard/JobImpressionsSupported.java,
7582         javax/print/attribute/standard/JobKOctetsSupported.java,
7583         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7584         javax/print/attribute/standard/JobSheets.java,
7585         javax/print/attribute/standard/JobState.java,
7586         javax/print/attribute/standard/JobStateReason.java,
7587         javax/print/attribute/standard/JobStateReasons.java,
7588         javax/print/attribute/standard/Media.java,
7589         javax/print/attribute/standard/MediaSizeName.java,
7590         javax/print/attribute/standard/MultipleDocumentHandling.java,
7591         javax/print/attribute/standard/NumberUpSupported.java,
7592         javax/print/attribute/standard/OrientationRequested.java,
7593         javax/print/attribute/standard/PDLOverrideSupported.java,
7594         javax/print/attribute/standard/PageRanges.java,
7595         javax/print/attribute/standard/PresentationDirection.java,
7596         javax/print/attribute/standard/PrintQuality.java,
7597         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7598         javax/print/attribute/standard/PrinterMoreInfo.java,
7599         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7600         javax/print/attribute/standard/PrinterResolution.java,
7601         javax/print/attribute/standard/PrinterState.java,
7602         javax/print/attribute/standard/PrinterStateReason.java,
7603         javax/print/attribute/standard/PrinterStateReasons.java,
7604         javax/print/attribute/standard/PrinterURI.java,
7605         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7606         javax/print/attribute/standard/Severity.java,
7607         javax/print/attribute/standard/SheetCollate.java,
7608         javax/print/attribute/standard/Sides.java: New files.
7609
7610 2004-05-15  Michael Koch  <konqueror@gmx.de>
7611
7612         * javax/print/Doc.java
7613         (getPrintData): Throws IOException.
7614         (getReaderForText): Likewise.
7615         (getStreamForBytes): Likewise.
7616         * javax/print/DocFlavor.java:
7617         Fixed filename in copyright.
7618         (serialVersionUID): New field.
7619         * javax/print/ServiceUIFactory.java:
7620         Made all constants final.
7621         * javax/print/AttributeException.java
7622         javax/print/MultiDoc.java
7623         javax/print/MultiDocPrintJob.java
7624         javax/print/MultiDocPrintService.java
7625         javax/print/StreamPrintService.java
7626         javax/print/URIException.java: New files.
7627         * javax/print/Makefile.am
7628         (EXTRA_DIST): Added all new files.
7629
7630 2004-05-15  Michael Koch  <konqueror@gmx.de>
7631
7632         * javax/print/attribute/standard/Copies.java,
7633         javax/print/attribute/standard/DateTimeAtCompleted.java,
7634         javax/print/attribute/standard/DateTimeAtCreation.java,
7635         javax/print/attribute/standard/DateTimeAtProcessing.java,
7636         javax/print/attribute/standard/DocumentName.java,
7637         javax/print/attribute/standard/JobHoldUntil.java,
7638         javax/print/attribute/standard/JobImpressions.java,
7639         javax/print/attribute/standard/JobImpressionsCompleted.java,
7640         javax/print/attribute/standard/JobKOctets.java,
7641         javax/print/attribute/standard/JobKOctetsProcessed.java,
7642         javax/print/attribute/standard/JobMediaSheets.java,
7643         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7644         javax/print/attribute/standard/JobMessageFromOperator.java,
7645         javax/print/attribute/standard/JobName.java,
7646         javax/print/attribute/standard/JobOriginatingUserName.java,
7647         javax/print/attribute/standard/JobPriority.java,
7648         javax/print/attribute/standard/JobPrioritySupported.java,
7649         javax/print/attribute/standard/NumberOfDocuments.java,
7650         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7651         javax/print/attribute/standard/NumberUp.java,
7652         javax/print/attribute/standard/OutputDeviceAssigned.java,
7653         javax/print/attribute/standard/PagesPerMinute.java,
7654         javax/print/attribute/standard/PagesPerMinuteColor.java:
7655         Fixed @return tag all over.
7656
7657 2004-05-15  Michael Koch  <konqueror@gmx.de>
7658
7659         * javax/print/attribute/AttributeSetUtilities.java
7660         (verifyCategoryForValue): Fixed typo in javadoc.
7661         * javax/print/attribute/HashAttributeSet.java
7662         (containsKey): Fixed @return tag.
7663         (comtainsValue): Likewise.
7664         (equals): Likewise.
7665         * javax/print/attribute/IntegerSyntax.java
7666         (equals): Likewise.
7667         * javax/print/attribute/ResolutionSyntax.java
7668         (equals): Likewise.
7669         (getCrossFeedResolution): Removed unused code.
7670         (getFeedResolution): Likewise.
7671         * javax/print/attribute/SetOfIntegerSyntax.java
7672         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7673         (equals): Fixed @return tag.
7674         * javax/print/attribute/TextSyntax.java
7675         (TextSyntax): Take locale into account.
7676         (hashCode): Better implementation.
7677
7678 2004-05-15  Michael Koch  <konqueror@gmx.de>
7679
7680         * javax/print/CancelablePrintJob.java,
7681         javax/print/Doc.java,
7682         javax/print/DocFlavor.java,
7683         javax/print/DocPrintJob.java,
7684         javax/print/FlavorException.java,
7685         javax/print/PrintException.java,
7686         javax/print/PrintService.java,
7687         javax/print/ServiceUIFactory.java: New files.
7688
7689 2004-05-15  Mark Wielaard  <mark@klomp.org>
7690
7691         * gnu/regexp/CharIndexedReader.java: Removed.
7692         * gnu/regexp/REFilterReader.java: Likewise.
7693         * gnu/regexp/RETokenLookAhead.java: Likewise.
7694         * Makefile.am (ordinary_java_source_files): Remove above classes.
7695         * Makefile.in: Regenerated.
7696
7697 2004-05-14  Tom Tromey  <tromey@redhat.com>
7698
7699         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7700         not `XGraphicsConfiguration.XOffScreenImage'.
7701
7702 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7703
7704         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7705
7706 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7707
7708         * include/jni.h (_Jv_func): Removed.
7709         (struct JNINativeInterface): Use `void *' for reserved slots.
7710         (struct JNIInvokeInterface): Likewise.
7711
7712 2004-05-11  Michael Koch  <konqueror@gmx.de>
7713
7714         * gnu/java/net/natPlainSocketImplPosix.cc
7715         (read): Fixed typo in expression.
7716
7717 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7718
7719         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7720         ld_library_additions. Adjust all calls to libjava_invoke to match
7721         the new argument.
7722
7723         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7724         path to cxxflagslist.
7725         Pass path of libstdc++ to libjava_invoke.
7726
7727         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7728         libjava_invoke arguments.
7729
7730 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7731
7732         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7733         reality.
7734
7735 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7736
7737         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7738         main binary against the JNI shared library.
7739
7740 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7741
7742         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7743         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7744         (SimpleTimeZone): Tweak docs.  Add new variation.
7745         (setStartRule,setEndRule): Add new variations.  Use
7746         startTimeMode and endTimeMode.
7747
7748 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7749
7750         * java/util/Calendar.java (getActualMinimum,
7751         getActualMaximum):  Remove abstract.  Implement.
7752
7753 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7754
7755         Run the jni tests using the interpreter.
7756         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7757         options_cxx to shared lib compile command.
7758         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7759         they are used to link the shared lib, not the main binary.
7760         Use libjava_invoke to run gij.
7761
7762 2004-05-06  Michael Koch  <konqueror@gmx.de>
7763
7764         * java/util/logging/Level.java
7765         (parse): Use == instead of String.equals().
7766
7767 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7768
7769         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7770         verify_field_signature and verify_method_signature, not 
7771         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7772         (_Jv_ClassReader::handleField): Likewise.
7773         (_Jv_ClassReader::handleMethod): Likewise.
7774
7775 2004-05-06  Michael Koch  <konqueror@gmx.de>
7776
7777         * javax/swing/table/TableColumn.java:
7778         Reformated.
7779
7780 2004-05-06  Michael Koch  <konqueror@gmx.de>
7781
7782         * javax/imageio/spi/ImageReaderWriterSpi.java
7783         (ImageReaderWriterSpi): Made it public.
7784         * javax/imageio/stream/ImageInputStream.java:
7785         Clean up imports.
7786
7787 2004-05-06  Michael Koch  <konqueror@gmx.de>
7788
7789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7790         Removed empty line.
7791
7792 2004-05-06  Michael Koch  <konqueror@gmx.de>
7793
7794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7795         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7796         New files.
7797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7798         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7800         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7801         their own source file.
7802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7803         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7804         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7806         (create): Define variable on top of function.
7807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7808         (menu_pos): Prototyped.
7809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7810         (setTitle): Removed.
7811         * jni/gtk-peer/gthread-jni.c
7812         (gdk_threads_wake): Removed.
7813         * Makefile.am (gtk_c_source_files): Added new files
7814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7816         * Makefile.in: Regenerated.
7817
7818 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7819
7820         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7821         call.
7822
7823 2004-05-05  Mark Wielaard  <mark@klomp.org>
7824
7825         * javax/swing/AbstractButton.java: Replace special HTML entities with
7826         ASCII equivalent.
7827         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7828         * javax/swing/DefaultButtonModel.java: Likewise.
7829         * javax/swing/DefaultListModel.java: Likewise.
7830         * javax/swing/JList.java: Likewise.
7831         * javax/swing/JSlider.java: Likewise.
7832         * javax/swing/ListModel.java: Likewise.
7833         * javax/swing/Popup.java: Likewise.
7834         * javax/swing/SwingUtilities.java: Likewise.
7835
7836 2004-05-05  Michael Koch  <konqueror@gmx.de>
7837
7838         * javax/swing/AbstractButton.java,
7839         javax/swing/ActionMap.java,
7840         javax/swing/DefaultButtonModel.java,
7841         javax/swing/DefaultListModel.java,
7842         javax/swing/ImageIcon.java,
7843         javax/swing/JComboBox.java,
7844         javax/swing/JComponent.java,
7845         javax/swing/JFrame.java,
7846         javax/swing/JInternalFrame.java,
7847         javax/swing/JMenuBar.java,
7848         javax/swing/JMenuItem.java,
7849         javax/swing/JOptionPane.java,
7850         javax/swing/JProgressBar.java,
7851         javax/swing/JRootPane.java,
7852         javax/swing/JScrollBar.java,
7853         javax/swing/JScrollPane.java,
7854         javax/swing/JSeparator.java,
7855         javax/swing/JSlider.java,
7856         javax/swing/JTabbedPane.java,
7857         javax/swing/JTable.java,
7858         javax/swing/JTextField.java,
7859         javax/swing/JToolBar.java,
7860         javax/swing/JToolTip.java,
7861         javax/swing/JTree.java,
7862         javax/swing/JViewport.java,
7863         javax/swing/JWindow.java,
7864         javax/swing/KeyStroke.java,
7865         javax/swing/LookAndFeel.java,
7866         javax/swing/SwingUtilities.java,
7867         javax/swing/Timer.java,
7868         javax/swing/ToolTipManager.java,
7869         javax/swing/UIDefaults.java,
7870         javax/swing/border/TitledBorder.java,
7871         javax/swing/filechooser/FileSystemView.java,
7872         javax/swing/plaf/basic/BasicButtonListener.java,
7873         javax/swing/plaf/basic/BasicButtonUI.java,
7874         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7875         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7876         javax/swing/plaf/basic/BasicLabelUI.java,
7877         javax/swing/plaf/basic/BasicMenuItemUI.java,
7878         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7879         javax/swing/plaf/basic/BasicRootPaneUI.java,
7880         javax/swing/plaf/basic/BasicScrollBarUI.java,
7881         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7882         javax/swing/plaf/basic/BasicSliderUI.java,
7883         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7884         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7885         javax/swing/table/JTableHeader.java,
7886         javax/swing/text/AbstractDocument.java,
7887         javax/swing/text/DefaultCaret.java,
7888         javax/swing/text/StyledEditorKit.java,
7889         javax/swing/tree/DefaultTreeCellEditor.java:
7890         Cleaned up imports.
7891
7892 2004-05-05  Michael Koch  <konqueror@gmx.de>
7893
7894         * java/util/prefs/AbstractPreferences.java
7895         (AbstractPreferences): Added parenthesis for clarity.
7896         Closes classpath bug #7940.
7897
7898 2004-05-05  Tom Tromey  <tromey@redhat.com>
7899
7900         * javax/naming/CompoundName.java (endsWith): Look at correct
7901         element of source name.
7902
7903 2004-05-05  Mark Wielaard  <mark@klomp.org>
7904
7905         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7906         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7907
7908 2004-05-05  Tom Tromey  <tromey@redhat.com>
7909
7910         * java/io/BufferedReader.java (skip): Removed unused
7911         variable.
7912
7913 2004-05-05  Michael Koch  <konqueror@gmx.de>
7914
7915         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7916
7917 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7918
7919         * java/text/AttributedString.java,
7920         java/text/AttributedStringIterator.java,
7921         java/text/Collator.java,
7922         java/text/DecimalFormatSymbols.java,
7923         java/text/NumberFormat.java,
7924         java/text/RuleBasedCollator.java:
7925         Cleaned up imports.
7926
7927 2004-05-05  Tom Tromey  <tromey@redhat.com>
7928
7929         * java/text/Format.java: Cleaned up imports.
7930         * java/text/DecimalFormat.java: Cleaned up imports.
7931         * java/security/SecureRandom.java: Cleaned up imports.
7932         (SecureRandom): Removed unused variable.
7933         * java/security/UnresolvedPermission.java: Cleaned up imports.
7934         * java/util/Date.java (parse): Removed unused variable.
7935         * java/util/ResourceBundle.java: Cleaned up imports.
7936         (getBundle): Removed unused variable.
7937         (tryBundle): Likewise.
7938         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7939
7940 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7941
7942         * java/text/SimpleDateFormat.java:
7943         (formatWithAttribute): New method. It implements
7944         the formatting process with attributes.
7945         (format): Use formatWithAttribute.
7946         (formatToCharacterIterator): New method. Use
7947         formatWithAttribute.
7948
7949 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7950
7951         * java/text/MessageFormat.java:
7952         (class Field): New class.
7953         (formatToCharacterIterator): New method.
7954         (format): Use formatInternal now.
7955         (formatInternal): New method. String formatter should
7956         be done here (with attributes). Attributes merging supported.
7957         (parse): More documentation.
7958         (getFormatsByArgumentIndex): New method.
7959         (setFormatByArgumentIndex): New method.
7960         (setFormatsByArgumentIndex): New method.
7961
7962 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7963
7964         * java/text/DecimalFormat.java
7965         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7966         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7967         (parse): Fixed handling of exponentiation notation and grouping.
7968
7969 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7970
7971         * java/text/DecimalFormat.java
7972         (scanFix): Build attribute array. Fixed error reporting.
7973         (applyPatternWithSymbols): Store attributes for the prefix and
7974         suffix.
7975         (formatInternal): New method. Changed the way the string is
7976         computed. Implemented attributes. Cleant up rounding in
7977         exponential notation.
7978         (format): Use formatInternal.
7979         (formatToCharacterIterator): New method.
7980         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7981         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7982         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7983         New fields.
7984
7985 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7986
7987         * java/security/interfaces/DSAKeyPairGenerator.java,
7988         java/security/interfaces/DSAPrivateKey.java,
7989         java/security/interfaces/DSAPublicKey.java,
7990         java/security/interfaces/RSAPrivateKey.java,
7991         java/security/interfaces/RSAPublicKey.java:
7992         Cleaned up imports.
7993
7994 2004-05-04  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/nio/ByteBuffer.java,
7997         java/nio/CharBuffer.java,
7998         java/nio/DoubleBuffer.java,
7999         java/nio/FloatBuffer.java,
8000         java/nio/IntBuffer.java,
8001         java/nio/LongBuffer.java,
8002         java/nio/ShortBuffer.java:
8003         (compareTo): Fixed bogus implementation in all buffer classes.
8004
8005 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8006
8007         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8008         32 bit pixels not 8 bit pixels.
8009         (isCompatibleRaster): Added javadoc comment.
8010
8011 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8012
8013         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8014         scanline stride.
8015
8016 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8017
8018         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8019         (getColorModel): Return the actual color model.
8020         (getRaster): Implemented.
8021         (ColorRaster): New inner class.
8022         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8023         a PaintContext.
8024         * java/awt/Color.java (<init>): Make exception more verbose.
8025         (createContext): Use ColorModel when creating a PaintContext.
8026
8027 2004-05-04  Michael Koch  <konqueror@gmx.de>
8028
8029         * gnu/java/text/CharacterBreakIterator.java
8030         (previous): Removed unused variable.
8031
8032 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8033
8034         * gnu/java/text/FormatBuffer.java,
8035         gnu/java/text/AttributedFormatBuffer.java,
8036         gnu/java/text/StringFormatBuffer.java: New classes to implement
8037         attributed iterators in java.text.
8038         * gnu/java/text/FormatCharacterIterator.java: Moved 
8039         from java/text as it is an internal class.
8040         * java/text/FormatCharacterIterator.java: Removed.
8041         * java/text/Format.java:
8042         Import gnu.java.text.FormatCharacterIterator.
8043         * Makefile.am (java_source_files): Added new files.
8044         * Makefile.in: Regenerated.
8045         
8046
8047 2004-05-04  Mark Wielaard  <mark@klomp.org>
8048
8049         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8050
8051 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8052
8053         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8054         * Makefile.in: Rebuilt.
8055
8056 2004-05-03  Mark Wielaard  <mark@klomp.org>
8057
8058         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8059         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8060         * java/net/URL.java
8061         (set(String, String, int, String, String, String, String, String)):
8062         Assign this.file to path or path + "?" + query.
8063         * java/util/Arrays.java: Call static methods staticly.
8064         * java/util/zip/ZipEntry.java: Likewise.
8065         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8066         dir to this.direction.
8067         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8068         Assign static field only once.
8069         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8070
8071 2004-05-03  Mark Wielaard  <mark@klomp.org>
8072
8073         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8074         unused variables hScrollbarHeight and vScrollbarWidth.
8075         (preferredSize): Likewise.
8076         * gnu/java/security/provider/DSAParameters.java (engineToString):
8077         Removed unused call to System.getProperty("line.seperator");
8078         * java/security/Security.java (loadProviders): Return result.
8079
8080 2004-05-03  Tom Tromey  <tromey@redhat.com>
8081
8082         * java/net/URLStreamHandler.java (toExternalForm): Removed
8083         unused variables.
8084         unused constructor.
8085         * java/math/BigDecimal.java (divide): Removed unused variable.
8086         * java/lang/Throwable.java: Cleaned up imports.
8087         * java/lang/ClassLoader.java: Cleaned up imports.
8088         * java/io/FilePermission.java (implies): Removed unused
8089         variable.
8090         * java/awt/TextComponent.java: Removed unused import.
8091         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8092         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8093         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8094         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8095         import.
8096         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8097         * gnu/java/text/CharacterBreakIterator.java: Removed
8098         unused import.
8099         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8100         Cleaned up imports.
8101         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8102         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8103         unused method.
8104         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8105         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8106         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8107         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8108         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8109         (lookupProviders): Removed unused variable.
8110         (loadNextServiceProvider): Likewise.
8111         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8112
8113 2004-05-03  Michael Koch  <konqueror@gmx.de>
8114
8115         Fixes PR libgcj/14695:
8116         * java/net/NetworkInterface.java
8117         (getByName): Return null when no interface was found.
8118
8119 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8120             Tom Tromey  <tromey@redhat.com>
8121
8122         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8123         additional option "-Wmissing-prototypes" for compiling C sources.
8124         Print actual filename for pass/fail rather than $name.c.
8125         * testsuite/libjava.jni/PR15133.java: New testcase file.
8126         * testsuite/libjava.jni/PR15133.c: Likewise.
8127         * testsuite/libjava.jni/PR15133.out: Likewise.
8128
8129 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8130
8131         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8132         ceil and floor.
8133
8134 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8135         
8136         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8137         limit the maximum heap size to avoid unnecessary thrashing.
8138
8139 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8140
8141         * java/text/CollationElementIterator.java (reset): Reset
8142         lookahead variables.
8143
8144 2004-04-23  Mark Wielaard  <mark@klomp.org>
8145
8146         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8147
8148 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8149
8150         * java/sql/DriverManager.java:
8151         Cleaned up imports.
8152
8153 2004-04-23  Michael Koch  <konqueror@gmx.de>
8154
8155         * java/net/URL.java
8156         (hashcode): Don't initialize with default value explicitely.
8157         (getContent): Removed redundant "final" keyword.
8158         (openStream): Likewise.
8159         (getURLStreamHandler): Fixed coding style.
8160         * java/net/URLConnection.java
8161         (defaultAllowUserInteraction): Don't initialize with default value
8162         explicitely.
8163         (connected): Likewise.
8164         (doOutput): Likewise.
8165         (ifModifiedSince): Likewise.
8166         (dateformats_initialized): Likewise.
8167         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8168
8169 2004-04-23  Michael Koch  <konqueror@gmx.de>
8170
8171         * gnu/java/nio/channels/FileChannelImpl.java
8172         (SET, CUR): Unused, removed.
8173         (read): Implement here directly.
8174         (implRead): Removed.
8175         (write): Implement here directly.
8176         (implWrite): Removed.
8177
8178 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8179
8180         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8181         javax/rmi/CORBA/Stub.java,
8182         javax/rmi/CORBA/Util.java,
8183         javax/rmi/CORBA/ValueHandler.java,
8184         javax/rmi/CORBA/ValueHandler.java,
8185         javax/rmi/PortableRemoteObject.java:
8186         Cleaned up imports.
8187
8188 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8189
8190         * java/util/jar/JarFile.java,
8191         java/util/jar/JarInputStream.java,
8192         java/util/jar/JarOutputStream.java,
8193         java/util/jar/Manifest.java:
8194         Cleaned up imports.
8195
8196 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8197
8198         * java/util/ArrayList.java,
8199         java/util/Calendar.java,
8200         java/util/Currency.java,
8201         java/util/HashMap.java,
8202         java/util/HashSet.java,
8203         java/util/Hashtable.java,
8204         java/util/LinkedList.java,
8205         java/util/Properties.java,
8206         java/util/PropertyPermission.java,
8207         java/util/TimeZone.java,
8208         java/util/TreeMap.java,
8209         java/util/TreeSet.java,
8210         java/util/Vector.java,
8211         java/util/WeakHashMap.java:
8212         Cleaned up imports.
8213
8214 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8215
8216         * java/util/logging/FileHandler.java,
8217         java/util/logging/Formatter.java,
8218         java/util/logging/Handler.java,
8219         java/util/logging/Logger.java,
8220         java/util/logging/SimpleFormatter.java,
8221         java/util/logging/XMLFormatter.java:
8222         Cleaned up imports.
8223
8224 2004-04-22  Mark Wielaard  <mark@klomp.org>
8225
8226         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8227         -Wno-long-long flags variable.
8228         (gtk_c_files): Use PEDANTIC_CFLAGS.
8229         * Makefile.in: Regenerated.
8230
8231 2004-04-22  Mark Wielaard  <mark@klomp.org>
8232
8233         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8234         Changed C++ comments into C comments.
8235         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8236         Likewise.
8237
8238 2004-04-22  Michael Koch  <konqueror@gmx.de>
8239
8240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8241         Merged copyright year with GNU classpath.
8242
8243 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8244
8245         * javax/security/auth/x500/X500Principal.java:
8246         Cleaned up imports.
8247
8248 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8249
8250         * javax/swing/JSlider.java:
8251         Fixed HTML tags in comments.
8252
8253 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8254
8255         * javax/accessibility/AccessibleText.java:
8256         Cleaned up imports.
8257
8258 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8259
8260         * java/net/URLStreamHandler.java
8261         (parseURL): Convert the file path to using '/' instead of native
8262         file separator.
8263
8264 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8265
8266         * java/net/URL.java
8267         (userInfo): New field.
8268         (URL): Set authority to the right value.
8269         (setURL): Fixed authority and file initialization.
8270         * java/net/URLStreamHandler.java
8271         (parseURL): Take care of the query tag. Build authority.
8272         (toExternalForm): Fixed URL building using authority.
8273
8274 2004-04-22  Michael Koch  <konqueror@gmx.de>
8275
8276         * java/net/Socket.java
8277         (impl): Made package-private.
8278         * java/net/ServerSocket.java
8279         (implAccept): Access Socket.impl field directly.
8280
8281 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8282
8283         * java/util/prefs/Preferences.java,
8284         java/util/prefs/InvalidPreferencesFormatException.java,
8285         java/util/prefs/BackingStoreException.java,
8286         java/util/prefs/AbstractPreferences.java:
8287         Cleaned up imports.
8288
8289 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8290
8291         * java/util/regex/Matcher.java,
8292         java/util/regex/Pattern.java:
8293         Cleaned up imports.
8294
8295 2004-04-22  Michael Koch  <konqueror@gmx.de>
8296
8297         * java/nio/charset/IllegalCharsetNameException.java
8298         (charsetName): Made private.
8299         (IllegalCharsetNameException): Added @param tag to javadoc.
8300         (getCharsetName): Added @return tag to javadoc.
8301         * java/nio/charset/MalformedInputException.java
8302         (MalformedInputException): Added @param tag to javadoc.
8303         (getInputLength): Revised method description, added @return tag.
8304         (getMessage): Added @return tag.
8305
8306 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8307
8308         * java/awt/Font.java (deriveFont): Implement missing variants.
8309         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8310         missing variants.
8311
8312 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8313
8314         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8315         Set method->index values for interface methods to their itable index.
8316         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8317
8318 2004-04-21  Michael Koch  <konqueror@gmx.de>
8319
8320         * java/nio/DirectByteBufferImpl.java
8321         (shiftDown): Made static, give address as argument and
8322         provide a convenience method that overwrites shiftDown in
8323         ByteBufferImpl and calls the native shiftDown.
8324         * java/nio/MappedByteBufferImpl.java
8325         (): Use optimized method in DirectByteBufferImpl.
8326         * java/nio/natDirectByteBufferImpl.cc
8327         (shiftDown): Changed method signature. Removed usage of array_offset.
8328
8329 2004-04-21  Michael Koch  <konqueror@gmx.de>
8330
8331         * gnu/java/net/natPlainSocketImplPosix.cc
8332         (SocketInputStream::read): Make sure returned data is a byte value.
8333
8334 2004-04-21  Michael Koch  <konqueror@gmx.de>
8335
8336         * gnu/classpath/ServiceFactory.java,
8337         gnu/classpath/ServiceProviderLoadingAction.java,
8338         javax/imageio/ImageReader.java,
8339         javax/imageio/ImageTranscoder.java,
8340         javax/imageio/ImageWriter.java,
8341         javax/imageio/package.html,
8342         javax/imageio/spi/IIOServiceProvider.java,
8343         javax/imageio/spi/ImageInputStreamSpi.java,
8344         javax/imageio/spi/ImageOutputStreamSpi.java,
8345         javax/imageio/spi/ImageReaderWriterSpi.java,
8346         javax/imageio/spi/ImageTranscoderSpi.java,
8347         javax/imageio/spi/RegisterableService.java,
8348         javax/imageio/spi/ServiceRegistry.java,
8349         javax/imageio/spi/package.html,
8350         javax/imageio/stream/IIOByteBuffer.java,
8351         javax/imageio/stream/ImageInputStream.java,
8352         javax/imageio/stream/ImageOutputStream.java,
8353         javax/imageio/stream/package.html:
8354         New files.
8355         * Makefile.am
8356         (ordinary_java_source_files): Added
8357         gnu/classpath/ServiceFactory.java and
8358         gnu/classpath/ServiceProviderLoadingAction.java.
8359         (javax_source_files): Added
8360         javax/imageio/ImageReader.java,
8361         javax/imageio/ImageTranscoder.java,
8362         javax/imageio/ImageWriter.java,
8363         javax/imageio/spi/IIOServiceProvider.java,
8364         javax/imageio/spi/ImageInputStreamSpi.java,
8365         javax/imageio/spi/ImageOutputStreamSpi.java,
8366         javax/imageio/spi/ImageReaderWriterSpi.java,
8367         javax/imageio/spi/ImageTranscoderSpi.java,
8368         javax/imageio/spi/RegisterableService.java,
8369         javax/imageio/spi/ServiceRegistry.java,
8370         javax/imageio/stream/IIOByteBuffer.java,
8371         javax/imageio/stream/ImageInputStream.java and
8372         javax/imageio/stream/ImageOutputStream.java.
8373         * Makefile.in: Regenerated.
8374
8375 2004-04-21  Michael Koch  <konqueror@gmx.de>
8376
8377         * java/util/Properties.java
8378         (load): Fix wrongly merged fix.
8379
8380 2004-04-21  Mark Wielaard  <mark@klomp.org>
8381
8382         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8383         malloc and free buf.
8384
8385 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8386
8387         * javax/naming/AuthenticationException.java,
8388         javax/naming/AuthenticationNotSupportedException.java,
8389         javax/naming/CannotProceedException.java,
8390         javax/naming/CommunicationException.java,
8391         javax/naming/CompoundName.java,
8392         javax/naming/ConfigurationException.java,
8393         javax/naming/ContextNotEmptyException.java,
8394         javax/naming/InitialContext.java,
8395         javax/naming/InsufficientResourcesException.java,
8396         javax/naming/InterruptedNamingException.java,
8397         javax/naming/LimitExceededException.java,
8398         javax/naming/LinkException.java,
8399         javax/naming/LinkLoopException.java,
8400         javax/naming/LinkRef.java,
8401         javax/naming/MalformedLinkException.java,
8402         javax/naming/Name.java,
8403         javax/naming/NameAlreadyBoundException.java,
8404         javax/naming/NameNotFoundException.java,
8405         javax/naming/NamingSecurityException.java,
8406         javax/naming/NoInitialContextException.java,
8407         javax/naming/NoPermissionException.java,
8408         javax/naming/NotContextException.java,
8409         javax/naming/PartialResultException.java,
8410         javax/naming/ReferralException.java,
8411         javax/naming/ServiceUnavailableException.java,
8412         javax/naming/SizeLimitExceededException.java,
8413         javax/naming/TimeLimitExceededException.java,
8414         javax/naming/directory/Attribute.java,
8415         javax/naming/directory/Attributes.java,
8416         javax/naming/directory/SearchResult.java,
8417         javax/naming/event/NamingExceptionEvent.java,
8418         javax/naming/spi/ResolveResult.java:
8419         Cleaned up imports.
8420
8421 2004-04-21  Mark Wielaard  <mark@klomp.org>
8422
8423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8424         Changed C++ comments into C comments. Removed commented out code.
8425         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8426         Likewise.
8427         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8428         Likewise.
8429         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8430         Likewise.
8431         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8432         Likewise.
8433         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8434         Likewise.
8435         * native/jni/gtk-peer/gthread-jni.c:
8436         Likewise.
8437
8438 2004-04-21  Mark Wielaard  <mark@klomp.org>
8439
8440         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8441         static fields defined in interface.
8442         * javax/awt/JDialog.java: Likewise.
8443         (JDialog): Make constructors public.
8444         (getDefaultCloseOperation): Make public.
8445         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8446         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8447         * javax/swing/JViewport.java (JViewport): Make constructor public.
8448
8449 2004-04-21  Michael Koch  <konqueror@gmx.de>
8450
8451         * java/util/Map.java
8452         (Entry): Removed redundant "static" modifier.
8453         * java/text/AttributedCharacterIterator.java:
8454         Updated copyright year.
8455
8456 2004-04-20  Michael Koch  <konqueror@gmx.de>
8457
8458         * javax/naming/directory/SearchControls.java:
8459         Don't explicitely extend java.lang.Object.
8460         * javax/naming/spi/DirStateFactory.java:
8461         Merged copyright year with GNU classpath.
8462
8463 2004-04-20  Michael Koch  <konqueror@gmx.de>
8464
8465         * java/nio/channels/Channels.java:
8466         Merged coding style with GNU classpath.
8467
8468 2004-04-20  Michael Koch  <konqueror@gmx.de>
8469
8470         * java/net/ServerSocket.java
8471         Merged coding style from GNU classpath.
8472
8473 2004-04-20  Michael Koch  <konqueror@gmx.de>
8474
8475         * java/io/BufferedWriter.java:
8476         Reordered variables to be at top of the class.
8477         (localFlush): Removed redundant final keyword.
8478
8479 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8480
8481         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8482
8483 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8484
8485         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8486         for percent and permill check.
8487
8488 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8489
8490         * java/text/FieldPosition.java
8491         (FieldPosition) Constructor now behaves as it should according
8492         to the java documentation.
8493
8494 2004-04-20  Mark Wielaard  <mark@klomp.org>
8495
8496         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8497         documentation.
8498
8499 2004-04-20  Michael Koch  <konqueror@gmx.de>
8500
8501         * java/nio/Buffer.java,
8502         java/nio/channels/AlreadyConnectedException.java,
8503         java/nio/channels/AsynchronousCloseException.java,
8504         java/nio/channels/ByteChannel.java,
8505         java/nio/channels/CancelledKeyException.java,
8506         java/nio/channels/Channel.java,
8507         java/nio/channels/Channels.java,
8508         java/nio/channels/ClosedByInterruptException.java,
8509         java/nio/channels/ClosedChannelException.java,
8510         java/nio/channels/ClosedSelectorException.java,
8511         java/nio/channels/ConnectionPendingException.java,
8512         java/nio/channels/DatagramChannel.java,
8513         java/nio/channels/FileChannel.java,
8514         java/nio/channels/FileLock.java,
8515         java/nio/channels/FileLockInterruptionException.java,
8516         java/nio/channels/GatheringByteChannel.java,
8517         java/nio/channels/IllegalBlockingModeException.java,
8518         java/nio/channels/IllegalSelectorException.java,
8519         java/nio/channels/InterruptibleChannel.java,
8520         java/nio/channels/NoConnectionPendingException.java,
8521         java/nio/channels/NonReadableChannelException.java,
8522         java/nio/channels/NonWritableChannelException.java,
8523         java/nio/channels/NotYetBoundException.java,
8524         java/nio/channels/NotYetConnectedException.java,
8525         java/nio/channels/OverlappingFileLockException.java,
8526         java/nio/channels/Pipe.java,
8527         java/nio/channels/ReadableByteChannel.java,
8528         java/nio/channels/ScatteringByteChannel.java,
8529         java/nio/channels/SelectableChannel.java,
8530         java/nio/channels/SelectionKey.java,
8531         java/nio/channels/Selector.java,
8532         java/nio/channels/ServerSocketChannel.java,
8533         java/nio/channels/SocketChannel.java,
8534         java/nio/channels/UnresolvedAddressException.java,
8535         java/nio/channels/UnsupportedAddressTypeException.java,
8536         java/nio/channels/WritableByteChannel.java,
8537         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8538         java/nio/channels/spi/AbstractSelectableChannel.java,
8539         java/nio/channels/spi/AbstractSelectionKey.java,
8540         java/nio/channels/spi/AbstractSelector.java,
8541         java/nio/channels/spi/SelectorProvider.java,
8542         java/nio/charset/spi/CharsetProvider.java:
8543         Fixed javadocs and jalopied all over java.nio.
8544
8545 2004-04-20  Michael Koch  <konqueror@gmx.de>
8546
8547         * java/nio/ByteBufferImpl.java,
8548         java/nio/CharBufferImpl.java,
8549         java/nio/DirectByteBufferImpl.java,
8550         java/nio/DoubleBufferImpl.java,
8551         java/nio/DoubleViewBufferImpl.java,
8552         java/nio/FloatBufferImpl.java,
8553         java/nio/FloatViewBufferImpl.java,
8554         java/nio/IntBufferImpl.java,
8555         java/nio/IntViewBufferImpl.java,
8556         java/nio/LongBufferImpl.java,
8557         java/nio/LongViewBufferImpl.java,
8558         java/nio/MappedByteBufferImpl.java,
8559         java/nio/ShortBufferImpl.java,
8560         java/nio/ShortViewBufferImpl.java:
8561         Made sure all classes are final and removed final keyword from all
8562         methods.
8563
8564 2004-04-20  Michael Koch  <konqueror@gmx.de>
8565
8566         * java/rmi/MarshalledObject.java,
8567         java/rmi/Naming.java,
8568         java/rmi/RemoteException.java,
8569         java/rmi/activation/ActivationException.java,
8570         java/rmi/server/ServerCloneException.java,
8571         java/security/AccessController.java,
8572         java/security/AlgorithmParameterGenerator.java,
8573         java/security/AlgorithmParameters.java,
8574         java/security/CodeSource.java,
8575         java/security/Identity.java,
8576         java/security/IdentityScope.java,
8577         java/security/KeyPairGenerator.java,
8578         java/security/KeyStore.java,
8579         java/security/Security.java,
8580         java/security/Signature.java,
8581         java/security/SignatureSpi.java,
8582         java/security/SignedObject.java,
8583         java/security/spec/DSAParameterSpec.java,
8584         java/security/spec/DSAPrivateKeySpec.java,
8585         java/security/spec/DSAPublicKeySpec.java,
8586         java/sql/Array.java,
8587         java/sql/DatabaseMetaData.java,
8588         java/sql/ResultSet.java,
8589         java/text/ChoiceFormat.java,
8590         java/text/CollationElementIterator.java,
8591         java/text/CollationKey.java,
8592         java/text/Collator.java,
8593         java/text/DateFormat.java,
8594         java/text/DateFormatSymbols.java,
8595         java/text/DecimalFormatSymbols.java,
8596         java/text/Format.java,
8597         java/text/ParsePosition.java,
8598         java/text/RuleBasedCollator.java,
8599         java/text/SimpleDateFormat.java,
8600         java/text/StringCharacterIterator.java,
8601         java/util/Collections.java,
8602         java/util/PropertyResourceBundle.java,
8603         java/util/ResourceBundle.java,
8604         java/util/StringTokenizer.java,
8605         java/util/jar/Attributes.java,
8606         java/util/logging/ConsoleHandler.java,
8607         java/util/logging/LogManager.java,
8608         java/util/logging/MemoryHandler.java,
8609         java/util/logging/SocketHandler.java,
8610         javax/naming/NamingException.java:
8611         Fixed javadoc, coding style and argument names all over.
8612
8613 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8614
8615         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8616         constructor. (valid) Added null check.
8617
8618 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8619
8620         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8621         * java/io/FileOutputStream.java
8622         (FileOutputStream) Reorganized constructors. Constructors now
8623         check whether the given path is directory.
8624
8625 2004-04-20  Michael Koch  <konqueror@gmx.de>
8626
8627         * java/net/Authenticator.java,
8628         java/net/BindException.java,
8629         java/net/ConnectException.java,
8630         java/net/ContentHandler.java,
8631         java/net/ContentHandlerFactory.java,
8632         java/net/DatagramPacket.java,
8633         java/net/DatagramSocket.java,
8634         java/net/DatagramSocketImpl.java,
8635         java/net/DatagramSocketImplFactory.java,
8636         java/net/FileNameMap.java,
8637         java/net/HttpURLConnection.java,
8638         java/net/Inet4Address.java,
8639         java/net/Inet6Address.java,
8640         java/net/InetAddress.java,
8641         java/net/InetSocketAddress.java,
8642         java/net/JarURLConnection.java,
8643         java/net/MalformedURLException.java,
8644         java/net/MulticastSocket.java,
8645         java/net/NetPermission.java,
8646         java/net/NetworkInterface.java,
8647         java/net/NoRouteToHostException.java,
8648         java/net/PasswordAuthentication.java,
8649         java/net/PortUnreachableException.java,
8650         java/net/ProtocolException.java,
8651         java/net/ServerSocket.java,
8652         java/net/Socket.java,
8653         java/net/SocketAddress.java,
8654         java/net/SocketException.java,
8655         java/net/SocketImpl.java,
8656         java/net/SocketImplFactory.java,
8657         java/net/SocketOptions.java,
8658         java/net/SocketPermission.java,
8659         java/net/SocketTimeoutException.java,
8660         java/net/URI.java,
8661         java/net/URISyntaxException.java,
8662         java/net/URL.java,
8663         java/net/URLClassLoader.java,
8664         java/net/URLConnection.java,
8665         java/net/URLDecoder.java,
8666         java/net/URLEncoder.java,
8667         java/net/URLStreamHandler.java,
8668         java/net/URLStreamHandlerFactory.java,
8669         java/net/UnknownHostException.java,
8670         java/net/UnknownServiceException.java:
8671         Fixed javadocs, coding style and argument names all over.
8672
8673 2004-04-20  Michael Koch  <konqueror@gmx.de>
8674
8675         * java/lang/Byte.java,
8676         java/lang/CharSequence.java,
8677         java/lang/ClassLoader.java,
8678         java/lang/Compiler.java,
8679         java/lang/Double.java,
8680         java/lang/Float.java,
8681         java/lang/Integer.java,
8682         java/lang/Long.java,
8683         java/lang/Math.java,
8684         java/lang/Number.java,
8685         java/lang/Package.java,
8686         java/lang/Runtime.java,
8687         java/lang/RuntimePermission.java,
8688         java/lang/SecurityManager.java,
8689         java/lang/Short.java,
8690         java/lang/StringBuffer.java,
8691         java/lang/System.java,
8692         java/lang/ThreadGroup.java,
8693         java/lang/Throwable.java,
8694         java/lang/reflect/InvocationHandler.java,
8695         java/lang/reflect/Proxy.java:
8696         Fixed javadocs, coding style and argument names all over.
8697
8698 2004-04-20  Michael Koch  <konqueror@gmx.de>
8699
8700         * java/io/BufferedWriter.java,
8701         java/io/ByteArrayInputStream.java,
8702         java/io/CharArrayWriter.java,
8703         java/io/DataInput.java,
8704         java/io/DataInputStream.java,
8705         java/io/File.java,
8706         java/io/FilterInputStream.java,
8707         java/io/InputStream.java,
8708         java/io/InputStreamReader.java,
8709         java/io/ObjectInputStream.java,
8710         java/io/ObjectStreamClass.java,
8711         java/io/PipedInputStream.java,
8712         java/io/PipedReader.java,
8713         java/io/PushbackInputStream.java,
8714         java/io/PushbackReader.java,
8715         java/io/RandomAccessFile.java,
8716         java/io/SerializablePermission.java,
8717         java/io/StreamTokenizer.java,
8718         java/io/StringWriter.java,
8719         java/io/WriteAbortedException.java,
8720         java/io/Writer.java:
8721         Fixed javadocs all over, rename arguments to match javadocs,
8722         fixed coding style.
8723
8724 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8725
8726         * java/awt/FontMetrics.java:
8727         (charsWidth): fixed accumulation of total_width
8728         (getWidth): simple default implementation
8729         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8730         in Rectangle constructor.
8731         * java/awt/image/Raster.java (toString): Added method. 
8732         * java/awt/image/SampleModel.java (<init>): Added error cause
8733         information to thrown exception.
8734         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8735         New method.
8736         (setDataElements): New method.
8737         (setPixels): New method.
8738         (toString): New method.
8739
8740 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8741
8742         * java/awt/image/ComponentColorModel.java
8743         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8744         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8745         Mauve tests on this method. Improved documentation.
8746
8747 2004-04-20  Michael Koch  <konqueror@gmx.de>
8748
8749         * javax/swing/JLayeredPane.java,
8750         javax/swing/plaf/BorderUIResource.java,
8751         javax/swing/plaf/ComponentUI.java,
8752         javax/swing/undo/CompoundEdit.java,
8753         javax/swing/undo/StateEdit.java:
8754         Fixed HTML tags in javadocs all over.
8755
8756 2004-04-20  Michael Koch  <konqueror@gmx.de>
8757
8758         * javax/print/attribute/EnumSyntax.java
8759         (getOffset): Made protected.
8760         * javax/print/attribute/HashAttributeSet.java
8761         (HashAttributeSet): Likewise.
8762         * javax/print/attribute/ResolutionSyntax.java
8763         (getFeedResolution): Fixed typo in exception name.
8764         (getCrossFeedResolution): Likewise.
8765         * javax/print/attribute/SetOfIntegerSyntax.java
8766         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8767         * javax/print/attribute/TextSyntax.java
8768         (TextSyntax): Handle locale correctly.
8769         (hashCode): Calc better hashcode value.
8770         (equals): Fixed @return tag.
8771         (toString): New method.
8772
8773 2004-04-20  Michael Koch  <konqueror@gmx.de>
8774
8775         * gnu/java/nio/FileLockImpl.java
8776         (static): Removed, not needed anymore.
8777         * gnu/java/nio/channels/FileChannelImpl.java
8778         (FileChannelImpl): Made final.
8779         (mode): Made private.
8780         (READ, WRITE, APPEND): Made public.
8781         (EXCL, SYNC, DSYNC): Likewise.
8782         (static): Load native JNI library, when needed.
8783         (length): Unused, removed.
8784         (available): Made public.
8785         (implPosition): Throws IOException.
8786         (seek): Likewise.
8787         (implTruncate): Likewise.
8788         (unlock): Likewise.
8789         (lock): Likewise.
8790
8791 2004-04-20  Michael Koch  <konqueror@gmx.de>
8792
8793         * java/awt/AWTPermission.java,
8794         java/awt/Component.java,
8795         java/awt/ComponentOrientation.java,,
8796         java/awt/Dialog.java,
8797         java/awt/FontMetrics.java,
8798         java/awt/Graphics.java,
8799         java/awt/datatransfer/DataFlavor.java,
8800         java/beans/Introspector.java,
8801         java/beans/PropertyEditor.java,
8802         java/beans/PropertyEditorManager.java,
8803         java/beans/beancontext/BeanContextServiceProvider.java:
8804         Fixed HTML tags in javadocs all over.
8805
8806 2004-04-20  Mark Wielaard  <mark@klomp.org>
8807
8808         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8809         MissingResourceException is thrown.
8810         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8811         null when a MissingResourceException is thrown. Should never happen.
8812
8813 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8814
8815         * java/awt/image/DataBufferShort.java,
8816         java/awt/image/DataBufferFloat.java,
8817         java/awt/image/DataBufferDouble.java,
8818         java/awt/image/PixelInterleavedSampleModel.java: New files.
8819         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8820         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8821
8822 2004-04-20  Michael Koch  <konqueror@gmx.de>
8823
8824         * Makefile.am (java_source_files): Added
8825         java/awt/image/DataBufferDouble.java,
8826         java/awt/image/DataBufferFloat.java,
8827         java/awt/image/DataBufferShort.java and
8828         java/awt/image/PixelInterleavedSampleModel.java.
8829         * Makefile.in: Regenerated.
8830
8831 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8832  
8833         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8834         undocumented CNI calls.
8835         * include/java-interp.h (_Jv_InterpClass): No longer
8836         extends java.lang.Class.
8837         * java/lang/Class.h (Class): Add new field `aux_info'.
8838         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8839         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8840         Use Class->aux_info instead.
8841         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8842         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8843         Use Class->aux_info instead.
8844         * java/io/natObjectInputStream.cc (allocateObject): Use
8845         _Jv_AllocObject.
8846         * java/lang/natClass.cc (newInstance): Likewise.
8847         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8848         * java/lang/natObject.cc (clone): Likewise.
8849         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8850         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8851         JvAllocObject. Allocate klass->aux_info here for interpreted
8852         class.
8853         
8854 2004-04-17  Mark Wielaard  <mark@klomp.org>
8855
8856         * javax/swing/JToggleButton.java (ToggleButtonModel):
8857         Make public static inner class.
8858         * javax/swing/JTabbedPane.java (setComponentAt):
8859         Call Page.setComponent().
8860         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8861         (WRAP_TAB_LAYOUT): Make public, value is 0.
8862         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8863         Make private static inner class.
8864
8865 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8866
8867         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8868         arguments to match new signature. Remove FIXME comments.
8869
8870 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8871
8872         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8873         Remove method.
8874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8875         unused code.
8876
8877 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8878
8879         * Makefile.am: Added new file.
8880         * Makefile.in: Regenerate.
8881         * javax/swing/ImageIcon.java: 
8882         (ImageIcon(file)): set description of the icon 
8883         to the file name
8884         * javax/swing/JCheckBoxMenuItem.java:
8885         Mostly Implemented. Work in progress.
8886         * javax/swing/JRadioButtonMenuItem.java:
8887         Reimplement constructors to use JToggleButtonModel.
8888         * javax/swing/plaf/basic/BasicIconFactory.java:
8889         (getCheckBoxMenuItemIcon): return check box
8890         icon.
8891         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8892         paint menu item selected only when it is armed and 
8893         pressed. 
8894  
8895 2004-04-02  David Jee  <djee@redhat.com>
8896
8897         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8898         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8899         * java/awt/Component.java
8900         (add): Set the parent of the popup as this component.
8901         * java/awt/PopupMenu.java
8902         (addNotify): Create popup menu when peer is null.
8903         (show): Call addNotify() if peer is null.
8904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8905         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8906         argument for gtk_menu_popup() as zero. This causes the popup menu to
8907         respond to any mouse button.
8908
8909 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8910
8911         * Makefile.am: Added new file.
8912         * Makefile.in: Regenerate.
8913         * javax/swing/JRadioButtonMenuItem.java:
8914         Implemented.
8915         * javax/swing/plaf/basic/BasicIconFactory.java:
8916         (getRadioButtonMenuItemIcon): Return
8917         radio button icon.
8918         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8919         (getPreferredSize): Add size of checkIcon if it
8920         exists.
8921         (installDefaults): Don't initialize checkIcon.
8922         It's value will be set in subclasses. 
8923         (uninstallDefaults): remove uninstallation of 
8924         checkIcon.
8925         (paint): Moved code to paintMenuItem().
8926         (paintMenuItem): Implemented.
8927         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8928         UI delegate for JRadioButtonMenuItem.
8929         
8930 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8931
8932         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8933         Corrected position of the accelerator.
8934
8935 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8936
8937         * Makefile.am: Added new file. 
8938         * Makefile.in: Regenerate.
8939         * javax/swing/JMenuItem.java: Partly 
8940         implemented. Work in progress
8941         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8942         Changed default value of acceleratorDelimiter.
8943         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8944         New class. Partly implemented.
8945                 
8946 2004-03-26  Mark Wielaard  <mark@klomp.org>
8947
8948         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8949         (item_activate): Declare label before use.
8950         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8951         (gtkSetFont): Removed unused variable label.
8952         (addExposeFilter): Declare variables before use.
8953         (removeExposeFilter): Likewise.
8954         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8955         (ok_clicked): Declare str_fileName before use.
8956
8957 2004-03-26  David Jee  <djee@redhat.com>
8958
8959         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8960         (addSeparator): Remove.
8961         * java/awt/Menu.java
8962         (separator): Remove static final MenuItem field.
8963         (separatorLabel): New static final String field.
8964         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8965         Use separatorLabel to denote that it is a separator.
8966         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8967         of reusing the static separator instance, because a MenuItem instance
8968         can't be added more than once without being cloned.
8969         * java/awt/peer/MenuPeer.java
8970         (addSeparator): Remove from interface.
8971
8972 2004-03-26  David Jee  <djee@redhat.com>
8973
8974         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8975         (connectSignals): New native method declaration.
8976         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8977         * java/awt/MenuItem.java
8978         (getActionCommand): Return the label if the action command is not set.
8979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8980         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8981         gtk_menu_shell_append().
8982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8983         (item_activate): Fix argument type.
8984         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8985         signal here.
8986         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8987         method.
8988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8989         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8990         given. Add the menu widget's top-level GtkWindow to the global window
8991         group, so it can grab the pointer.
8992         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8993         gtk_menu_shell_append().
8994
8995 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8996
8997         * java/text/AttributedString.java 
8998         (addAttribute): Fix off-by-one.
8999         (getIterator): Likewise.        
9000         * java/text/AttributedStringIterator.java 
9001         (getRunLimit): Correct logic.
9002         (getRunStart): Likewise.
9003         (getAttribute): Fix inequality.
9004         (getAttributes): Likewise.
9005         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9006
9007 2004-03-23  Kim Ho  <kho@redhat.com>
9008
9009         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9010         (calculateSizes): Return real width and height.
9011
9012 2004-03-23  Kim Ho  <kho@redhat.com>
9013
9014         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9015         (calculateTabRects): Set the selectedRun before
9016         trying to rotate tabs.
9017
9018 2004-03-23  Kim Ho  <kho@redhat.com>
9019
9020         * Makefile.am: New file
9021         * Makefile.in: Regenerate
9022         * java/awt/Graphics.java: (drawRect):
9023         Draw to the correct point.
9024         * javax/swing/DefaultSingleSelectionModel.java
9025         (isSelected): Return true if the selected index
9026         is not -1.
9027         * javax/swing/JLabel.java: Do not change mnemonic
9028         index if text is null.
9029         * javax/swing/JProgressBar.java: Use JComponent's
9030         EventListenerList.
9031         * javax/swing/JScrollBar.java: Ditto.
9032         * javax/swing/JSlider.java: Ditto.
9033         * javax/swing/JTabbedPane.java: Reimplement.
9034         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9035         Add defaults for TabbedPane.
9036         * javax/swing/plaf/basic/BasicArrowButton.java:
9037         Implement
9038         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9039         (paintDeterminate): Don't paint String if it's
9040         empty.
9041         (paintIndeterminate): ditto.
9042         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9043         Reimplement.
9044
9045 2004-03-19  Michael Koch  <konqueror@gmx.de>
9046
9047         * java/awt/image/AffineTransformOp.java
9048         (AffineTransformOp): Made public.
9049         * javax/swing/JComponent.java
9050         (listenerList): Made protected.
9051         (accessibleContext): Likewise.
9052         * javax/swing/JList.java
9053         (valueChanged): Dont use internal fields of ListSelectionEvent.
9054         * javax/swing/JViewport.java
9055         (getView): Dont use internal fields of Component.
9056         (addImpl): Likewise.
9057         * javax/swing/Timer.java
9058         (isRunning): Made public.
9059         (start): Likewise.
9060         (stop): Likewise.
9061         * javax/swing/UIDefaults.java
9062         (getInt): Made public.
9063         * javax/swing/plaf/basic/BasicListUI.java
9064         (mousePressed): Dont use internal fields of MouseEvent.
9065         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9066         * javax/swing/plaf/basic/BasicScrollBarUI.java
9067         (arrowIcon): Made static.
9068         * javax/swing/plaf/basic/BasicViewportUI.java
9069         (stateChanged): Dont use internal field on ChangeEvent.
9070         * javax/swing/text/JTextComponent.java
9071         (getUI): Call UIManager.getUI().
9072         (updateUI): Use getUI().
9073
9074 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9075
9076         * javax/swing/JComponent.java: Turn off double buffer by default.
9077         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9079         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9080         Use cairo to copy areas.
9081         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9082         Initialize and set clip region.
9083
9084 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9085
9086         * java/applet/Applet.java (preferredSize): Override deprecated
9087         variant of getPreferredSize.
9088         (minimumSize): Override deprecated variant of getMinimumSize.
9089
9090 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9091
9092         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9093         (drawImage(img,xform,bgcolor,obs)): New Method.
9094         Helper function that every drawImage method will
9095         use.
9096         (drawRaster): Added new parameter, bgcolor. All
9097         transparent pixels are changed to bgcolor before 
9098         image is drawn.
9099         (drawRenderedImage): Fixed to use changed drawRaster().
9100         (drawImage(image,xform,obs): Fixed to use new helper function 
9101         (drawImage(image,op,x,y)): Ditto.
9102         (drawImage (img,x,y,observer)): Ditto.
9103         ((PainterThread) bgcolor): New Field.
9104         ((PainterThread) (setPixels)): Changed all transparent pixels 
9105         to bgcolor.     
9106         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9107         Fixed FIXME - all the transparent pixels are 
9108         changed to the specified bgcolor. 
9109         (drawImage(img, x, y, width, height, observer): Changed to 
9110         use function above.
9111         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9112         Fixed FIXME- changed all transparent pixels to bgcolor.
9113         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9114         Changed to use function above. 
9115
9116 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9117
9118         * java/applet/Applet.java (dimensions): New field.
9119         (getDimensions): New method.
9120         (getPreferredSize): Call getDimensions.
9121         (getMinimumSize): Likewise.
9122
9123 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9124
9125         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9126         * jni/classpath/jnilink.c: Likewise.
9127
9128         * java/applet/Applet.java (getPreferredSize): New method.
9129         (getMinimumSize): New method.
9130
9131 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9132
9133         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9134         (_Jv_AllocObjectNoFinalizer): Likewise.
9135         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9136         (_Jv_AllocPtrFreeObject): Likewise.
9137         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9138         directly even in the JVMPI case.        
9139         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9140         _Jv_AllocObject calls.
9141         * gcj/javaprims.h: Update prototypes.
9142         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9143         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9144         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9145
9146 2004-04-14  Andrew Haley  <aph@redhat.com>
9147             Bryce McKinlay  <mckinlay@redhat.com>
9148
9149         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9150         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9151         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9152
9153         * testsuite/libjava.lang/InvokeInterface.java: New file.
9154         * testsuite/libjava.lang/InvokeInterface.out: New file.
9155
9156 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9157         
9158         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9159         modified lookup().
9160         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9161         StackTraceElement directly.
9162         (newElement): New native helper method to create StackTraceElement
9163         bypassing Java access control.
9164         (createStackTraceElement): Use newElement() instead of directly
9165         calling StackTraceElement's constructor.
9166         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9167
9168 2004-04-01  Michael Koch  <konqueror@gmx.de>
9169
9170         * java/lang/SecurityManager.java
9171         (checkAwtEventQueueAccess): Implemented.
9172
9173 2004-04-01  Gary Benson  <gbenson@redhat.com>
9174
9175         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9176         (_Jv_SearchMethodInClass): Likewise.
9177
9178 2004-03-26  Peter Moon  <peterm@miraculum.com>
9179
9180         * java/text/NumberFormat.java: Fix spelling of setCurrency
9181         method.
9182
9183 2004-03-21  Anthony Green  <green@redhat.com>
9184
9185         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9186         recursion when searching for the system ClassLoader.
9187
9188 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9189
9190         * java/net/ServerSocket.java
9191         (accept): Close the socket when error occured.
9192
9193 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9194
9195         * java/net/URI.java (parseURI): Added unquoting.
9196         (unquote): New method.
9197         (quoteAuthority): Implemented.
9198         (quote(String,String)): New method.
9199         (quotePath): Implemented.
9200         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9201         (getSchemeSpecificPart): Removed FIXME comment.
9202         (getRawAuthority): Return new rawAuthority field.
9203         (getAuthority): Removed FIXME comment.
9204         (getRawUserInfo): Return new rawUserInfo field.
9205         (getUserInfo): Removed FIXME comment.
9206         (getRawPath): Return new rawPath field.
9207         (getPath): Removed FIXME comment.
9208         (getRawQuery): Return new rawQuery field.
9209         (getQuery): Removed FIXME comment.
9210         (getRawFragment): Return new rawFragment field.
9211         (getFragment): Removed FIXME comment.
9212
9213 2004-03-20  Michael Koch  <konqueror@gmx.de>
9214
9215         * java/net/URLConnection.java: Merged copyright year with classpath.
9216
9217 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9218
9219         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9220         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9221         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9222         rmi-message.
9223         (getObjectInputStream): Return object reference, throw IOException if null.
9224         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9225         (getObjectOutputStream): Return object reference, throw IOException if null.
9226         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9227         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9228         (UnicastConnectionManager): Throw RemoteException if port is not available.
9229         (getInstance): Throw RemoteException.
9230         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9231         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9232         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9233         Collect Exceptions which are returned by a rmi-call and fix void returns.
9234         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9235         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9236         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9237         (dispatch): Answer ping messages which are sent by other java implementions.
9238         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9239         for every rmi-message and fix void return problems.
9240         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9241         (UnicastServerRef): Throw RemoteException.
9242         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9243         In some situations it is necessary to export a subclass of the class which has the _Stub.
9244         For instance when the class with has the _Stub is abstract.
9245         (findStubSkelClass): New method which looks for the class which has the _Stub.
9246         (getClientHost): Implementated.
9247         * gcc/libjava/java/rmi/server/RemoteServer.java
9248         (getClientHost): Implementated.
9249         * gcc/libjava/Makefile.am (rmi_java_source_files):
9250         Added gnu/java/rmi/server/RMIIncomingThread.java.
9251         * Makefile.in: Regenerated.
9252
9253 2004-03-20  Michael Koch  <konqueror@gmx.de>
9254
9255         * java/net/InetAddress.java
9256         (getLocalHostname): Added javadoc.
9257
9258 2004-03-19  Per Bothner  <per@bothner.com>
9259
9260         * configure.in: FILE variable  overrides FLATFORM when linking
9261         natFileChannelXXX.cc.
9262
9263         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9264         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9265
9266 2004-03-19  Per Bothner  <per@bothner.com>
9267
9268         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9269         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9270         * Makefile.am:  Update accordingly.
9271         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9272         as aliases for UnicodeLittle and UnicodeBig.
9273
9274 2004-03-20  Mark Wielaard  <mark@klomp.org>
9275
9276         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9277         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9278         Don't access ws when it is null.
9279         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9280         Likewise.
9281
9282 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9283
9284         * java/lang/ThreadGroup.java (list): Changed print to println.
9285
9286 2004-03-19  Mark Wielaard  <mark@klomp.org>
9287
9288         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9289         happy.
9290
9291 2004-02-10  Randolph Chung  <tausq@debian.org>
9292  
9293         * configure.in: Build java for hppa target.
9294         * configure: Regenerate.
9295         * libjava/configure.host (hppa-*): Add target.
9296         * libjava/sysdeps/pa/lock.h: New file.
9297
9298 2004-03-19  Mark Wielaard  <mark@klomp.org>
9299
9300         Reported by Stephen Crawley
9301         * java/io/FilePermission.java (implies): Use String.length() -1 to
9302         access last char of String.
9303
9304 2004-03-19  Michael Koch  <konqueror@gmx.de>
9305
9306         * java/awt/image/AffineTransformOp.java
9307         (AffineTransformOp): Made public.
9308         * javax/swing/JComponent.java
9309         (listenerList): Made protected.
9310         (accessibleContext): Likewise.
9311         * javax/swing/JList.java
9312         (valueChanged): Dont use internal fields of ListSelectionEvent.
9313         * javax/swing/JViewport.java
9314         (getView): Dont use internal fields of Component.
9315         (addImpl): Likewise.
9316         * javax/swing/Timer.java
9317         (isRunning): Made public.
9318         (start): Likewise.
9319         (stop): Likewise.
9320         * javax/swing/UIDefaults.java
9321         (getInt): Made public.
9322         * javax/swing/plaf/basic/BasicListUI.java
9323         (mousePressed): Dont use internal fields of MouseEvent.
9324         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9325         * javax/swing/plaf/basic/BasicScrollBarUI.java
9326         (arrowIcon): Made static.
9327         * javax/swing/plaf/basic/BasicViewportUI.java
9328         (stateChanged): Dont use internal field on ChangeEvent.
9329         * javax/swing/text/JTextComponent.java
9330         (getUI): Call UIManager.getUI().
9331         (updateUI): Use getUI().
9332
9333 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9334
9335         * verify.cc: Undef PC.
9336
9337 2004-03-18  Michael Koch  <konqueror@gmx.de>
9338
9339         * java/nio/channels/spi/AbstractSelectableChannel.java
9340         (keys): Initialize at declaration.
9341         (locate): keys cant be null.
9342         (add): Removed.
9343         (addSelectionKey): New method.
9344         (removeSelectionKey): New method.
9345         * java/nio/channels/spi/AbstractSelectionKey.java
9346         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9347         * java/nio/channels/spi/AbstractSelector.java
9348         (provider): Javadoc added.
9349         (cancelledKeys): Javadoc added.
9350         (cancelKey): Javadoc added, add key to cancelledKeys.
9351         (deregister): Implemented.
9352
9353 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9354
9355         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9356         MAP_FAILED to void *.
9357
9358 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9359
9360         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9361         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9362         * javax/swing/JList.java (ListListener): Revalidate on changes.
9363         * javax/swing/JScrollPane.java: Reimplement.
9364         * javax/swing/JViewport.java: Reimplement.
9365         * javax/swing/ScrollPaneLayout.java: Reimplement.
9366         * javax/swing/ViewportLayout.java: Tidy up.
9367         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9368         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9369         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9370         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9371         backing store only.
9372
9373 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9374
9375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9376         (window_wm_protocols_filter): New function.
9377         (window_focus_in_cb): Remove function.
9378         (window_focus_out_cb): Likewise.
9379         (window_focus_or_active_state_change_cb): New function.
9380         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9381         (connectSignals): Don't attach handlers to focus-in-event or
9382         focus-out-event signals.  Handle notify signal.
9383
9384 2004-03-11  David Jee  <djee@redhat.com>
9385
9386         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9387         (gtkSetLabel): New native method declaration.
9388         (setLabel): Use gtkSetLabel.
9389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9390         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9391
9392 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9393
9394         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9395         black when color argument is null.
9396
9397 2004-03-10  Kim Ho  <kho@redhat.com>
9398
9399         * java/awt/Container.java: Remove check
9400         for drag events.
9401
9402 2004-03-10  Kim Ho  <kho@redhat.com>
9403
9404         * java/awt/Container.java: (visitChild):
9405         Remove candidate clip. Use the component
9406         clip to intersect.
9407         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9408         (handleEvent): Use the PaintEvent's clip.
9409
9410 2004-03-10  Kim Ho  <kho@redhat.com>
9411
9412         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9413         (handleEvent): Don't set the clip for the
9414         Graphics object.
9415
9416 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9417
9418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9419         Fix double <-> fixed macros, reset font transform.
9420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9421         Likewise.
9422
9423 2004-03-09  Kim Ho  <kho@redhat.com>
9424
9425         * java/awt/Container.java: (visitChild): Move
9426         the x and y coordinate of the component rectangle
9427         to correct position.
9428         (handleEvent): Forward drag events to the pressed
9429         component.
9430         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9431         Fix comments.
9432         (ArrowButtonListener::mousePressed): Stop the
9433         existing timer.
9434         (mouseDragged): Implement.
9435         (TrackListener::mousePressed): Only react if
9436         the press doesn't occur on the thumb, otherwise
9437         just set the offset.
9438         (TrackListener::mouseReleased): Unset the isAdjusting
9439         value.
9440         (createIncreaseIcon): Switch icon.
9441         (createDecreaseIcon): Switch icon.
9442         (calculatePreferredSize): Use width.
9443         (getThumbBounds): Use the top as the lower value.
9444         (layoutVScrollBar): Switch the button locations.
9445         (paintIncreaseHighlight): Paint correct side of thumb.
9446         (paintDecreaseHighlight): ditto.
9447         (valueForYPosition): Use top as the lower value.
9448         * javax/swing/plaf/basic/BasicSliderUI.java:
9449         Fix comments.
9450         (mouseDragged): Implement.
9451         (mousePressed): Only react when the thumb isn't
9452         pressed, otherwise just set offset.
9453         (mouseReleased): Handle a release of the thumb.
9454         (scrollDueToClickInTrack): Stop the timer first.
9455         * javax/swing/JProgressBar.java:
9456         (setString): Fix change condition.
9457         * javax/swing/JSeparator.java:
9458         Remove println's.
9459
9460 2004-03-08  David Jee  <djee@redhat.com>
9461
9462         * java/awt/image/AffineTransformOp.java:
9463         (filter): Use Graphics2D interface instead of directly using the
9464         GdkGraphics2D peer.
9465
9466 2004-03-05  David Jee  <djee@redhat.com>
9467
9468         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9469         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9470         * java/awt/Container.java
9471         (acquireComponentForMouseEvent): Fixed.
9472         (handleEvent): Fixed.
9473         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9474         (state_to_awt_mods_with_button_states): New method.
9475         (pre_event_handler): Fixed mouse event generation.
9476
9477 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9478
9479         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9480         (GdkGraphics2D (BufferedImage)): Initialize
9481         pixmap associated with specified BufferedImage.
9482         (setPaint): Changed implementation of Texture
9483         Paint to use AffineTransformOp.
9484         * java/awt/image/AffineTransformOp.java
9485         (createCompatibleDestRaster): Throw RasterFormatException 
9486         if resulting width or height of raster is 0.
9487
9488 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9489
9490         * java/awt/image/AffineTransformOp.java:
9491         Removed unnecessary field interpolationType.
9492         Formatted some of the lines to be consistent with 
9493         the GNU style.
9494         (AffineTransformOp): Create new RenderingHints 
9495         containing specified interpolation type.
9496         (createCompatibleDestImage): Implemented.
9497         (createCompatibleDestRaster): Implemented.
9498         (filter): Implemented.
9499         (getBounds2D(BufferedImage)): Implemented.
9500         (getBounds2D(Raster)): Implemented.
9501         (getInterpolationType): Get interpolation value from 
9502         rendering hints.
9503
9504 2004-03-04  David Jee  <djee@redhat.com>
9505
9506         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9507         (setFont): Check if child peers are null.
9508
9509 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9510
9511         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9512         .libs in -L option.
9513         (libjava_arguments): Add new libraries to argument list.
9514
9515 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9516
9517         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9518         * Makefile.in: Re-generated.
9519         * java/awt/image/AffineTransformOp.java: New Class.
9520
9521 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9522
9523         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9524         (setPaint): Interpret correctly TexturePaint's
9525         anchor rectangle.
9526         (drawImage): Fixed scale factors of the affine
9527         transform.
9528
9529 2004-02-27  David Jee  <djee@redhat.com>
9530
9531         * gnu/java/awt/peer/gtk/GdkGraphics.java
9532         (GdkGraphics(Component)): Inherit font from component.
9533         (drawString): Use font style.
9534         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9535         (gtkSetFont): New native method declaration.
9536         (setFont): New method.
9537         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9538         (gtkSetFont): New native method declaration.
9539         (setFont): Call new native method gtkSetFont.
9540         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9541         (setFont): For all child components who do not their fonts set,
9542         set their peers' fonts with this container's font.
9543         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9544         Move all native method declarations to the top for readability.
9545         (gtkSetFont): New native method declaration.
9546         (setFont): New method.
9547         * java/awt/Component.java
9548         (setFont): Invalidate after setting the font.
9549         * java/awt/Container.java
9550         (invalidateTree): New method.
9551         (setFont): Invalidate the container tree after setting the font.
9552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9553         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9555         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9557         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9559         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9560
9561 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9562
9563         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9564         (updateBufferedImage): New helper function.
9565         Updates BufferedImage in memory if it was changed.
9566         (draw): changed to update BufferedImage in memory after
9567         this drawing operation
9568         (fill): Ditto.
9569         (draw3DRect): Ditto.
9570         (fill3DRect): Ditto.
9571         (clearRect): Ditto.
9572         (drawRaster): Ditto.
9573         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9574         no affine transformation.
9575         (drawGlyphVector): Ditto.
9576
9577 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9578
9579         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9580         (isBufferedImageGraphics): New Helper function. 
9581         Returns true if this graphics2d can be used to draw 
9582         into buffered image and false otherwise.
9583         (updateImagePixels): New Helper function. 
9584         Updates pixels in the BufferedImage.
9585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9586         (getImagePixels): New function. Returns pixels
9587         of the buffered image associated with 
9588         this Graphics2D.
9589
9590 2004-02-26  David Jee  <djee@redhat.com>
9591
9592         * java/awt/BorderLayout.java
9593         (layoutContainer): Fix width and height calculations to ensure
9594         that they're non-negative.
9595         * java/awt/Component.java
9596         (setBackground): If c is null, inherit from closest ancestor whose
9597         background color is set.
9598
9599 2004-02-26  Kim Ho  <kho@redhat.com>
9600
9601         * Makefile.am: Add new files.
9602         * Makefile.in: Re-generate.
9603         * javax/swing/JProgressBar.java: 
9604         (JProgressBar(int, int int)): Throw
9605         IllegalArgumentException if orientation is
9606         invalid.
9607         (JProgressBar(BoundedRangeModel)): Create
9608         ChangeListener and register it. UpdateUI.
9609         (getChangeListeners): Implement.
9610         (setModel): Reset ChangeListener.
9611         * javax/swing/JScrollBar.java: Implement.
9612         * javax/swing/JSeparator.java: Implement.
9613         * javax/swing/JSlider.java:
9614         (JSlider(int, int, int, int)): Throw 
9615         IllegalArgumentException if orientation
9616         is invalid.
9617         (getChangeListeners): Fix method name.
9618         * javax/swing/SwingUtilities.java:
9619         (layoutCompoundLabel): If there is no text,
9620         set the text rectangle dimensions to 0.
9621         * javax/swing/plaf/basic/BasicButtonUI.java:
9622         (paint): If there is no text, don't paint it.
9623         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9624         Implement.
9625         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9626         Implement.
9627         * javax/swing/plaf/basic/BasicSliderUI.java: 
9628         (propertyChange): If the model changes, change
9629         the listeners accordingly.
9630
9631 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9632
9633         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9634         * javax/swing/JList.java: Reimplement.
9635         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9636         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9637         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9638         * javax/swing/ListModel.java: Javadoc.
9639         * javax/swing/ListSelectionModel.java: Add missing methods.
9640         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9641         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9642         * javax/swing/ListModel.java: Javadoc and corrections.
9643         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9644
9645 2004-02-25  David Jee  <djee@redhat.com>
9646
9647         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9648         (GtkFontPeer): Change default size to 12.
9649         * gnu/java/awt/peer/gtk/GtkToolkit.java
9650         (getFontPeer): Change default size to 12.
9651         (getClasspathFontPeer): Likewise. Set default name to "Default".
9652         * java/awt/Font.java
9653         (Font(Map)): Call Font(String,Map).
9654         (Font(String,Map)): If attrs is null, initialize it as an empty
9655         HashMap, which will ensure that the Font will get default attributes.
9656
9657 2004-02-25  David Jee  <djee@redhat.com>
9658
9659         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9660         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9661         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9662         * gnu/java/awt/peer/gtk/GtkToolkit.java
9663         (getFontPeer(String,int)): Call the new overload method with size 1.
9664         (getFontPeer(String,int,int)): New method. Overloaded with size
9665         attribute.
9666         (getClasspathFontPeer): Set the size of the font.
9667
9668 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9669
9670         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9671         (bimage): New field.
9672         (GdkGraphics2D): New Constructor. Constructs Graphics
9673         object that can be used to draw into the Buffered Image.
9674         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9675         (GdkGraphicsEnvironment): Fixed to include public 
9676         keyword.
9677         (createGraphics): Implemented.
9678         * gnu/java/awt/peer/gtk/GtkToolkit.java
9679         (getLocalGraphicsEnvironment): Implemented.
9680         * java/awt/GraphicsEnvironment.java:
9681         (getLocalGraphicsEnvironment): Implemented.
9682         * java/awt/image/BufferedImage.java:
9683         (createGraphics): Implemented.
9684                 
9685 2004-02-24  David Jee  <djee@redhat.com>
9686
9687         * java/awt/Component.java
9688         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9689         * java/awt/Container.java
9690         (addNotifyContainerChildren): Fix event enabling.
9691
9692 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9693
9694         * Makefile.am: Added 
9695         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9696         * Makefile.in: Re-generated.
9697         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9698         New Class. 
9699         
9700 2004-02-19  Kim Ho  <kho@redhat.com>
9701
9702         * Makefile.am: Add BasicProgressBarUI
9703         * Makefile.in: Regenerate.
9704         * javax/swing/JProgressBar.java: 
9705         Re-implement.
9706         * javax/swing/plaf/basic/BasicLookAndFeel.java
9707         Add constants for JProgressBar.
9708         * javax/swing/plaf/basic/BasicProgressBarUI.java
9709         Implement.
9710         * javax/swing/plaf/basic/BasicSliderUI.java
9711         Change comments.
9712         (calculateGeometry): New method
9713         (paint): Remove unnecessary size calculations.
9714
9715 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9716
9717         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9718         (drawRaster): Fixed small error that caused
9719         imageToUser transformation to be set incorrectly.
9720         (toString): Implemented.
9721
9722 2004-02-18  David Jee  <djee@redhat.com>
9723
9724         * java/awt/CardLayout.java
9725         (addLayoutComponent): Show the first component added as the default.
9726         (removeLayoutComponent): After removing, show the next component.
9727         (gotoComponent): If there is only one component, show it and return.
9728
9729 2004-02-18  Kim Ho  <kho@redhat.com>
9730
9731         * javax/swing/JSlider.java: Re-order
9732         modifiers.
9733         * javax/swing/JLabel.java: Re-order
9734         modifiers.
9735         * javax/swing/JComponent.java: 
9736         (addPropertyChangeListener):
9737         Implement.
9738         (removePropertyChangeListener):
9739         ditto.
9740         (firePropertyChangeEvent):
9741         ditto.
9742
9743 2004-02-17  David Jee  <djee@redhat.com>
9744
9745         * java/awt/Component.java
9746         (show): Dispatch ComponentEvent via system event queue.
9747         (hide): Likewise.
9748         (move): Likewise.
9749         (resize): Likewise.
9750         (reshape): Likewise.
9751         * java/awt/Window.java
9752         (setBoundsCallback): Likewise.
9753
9754 2004-02-17  David Jee  <djee@redhat.com>
9755
9756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9757         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9758         Use gtk_widget_set_size_request() instead of the deprecated
9759         gtk_widget_set_usize().
9760
9761 2004-02-17  Kim Ho  <kho@redhat.com>
9762
9763         * javax/swing/JSlider.java: Fix comments and
9764         make property strings constants.
9765         (createStandardLabels): Use the labels
9766         preferred size as bounds.
9767         * javax/swing/plaf/basic/BasicSliderUI.java
9768         Fix comments.
9769         (ScrollHandler::actionPerformed): Don't
9770         calculate the timer stop value. Let the
9771         MouseListeners find the stop location.
9772         (getPreferredHorizontalSize): Re-implement.
9773         (getPreferredVerticalSize): ditto.
9774         (getMinimumHorizontalSize): ditto.
9775         (getMinimumVerticalSize): ditto.
9776         (getPreferredSize): ditto.
9777         (getMinimumSize): ditto.
9778         (getMaximumSize): ditto.
9779         (paintTicks): Use doubles to find the
9780         tick location.
9781         (paintHorizontalLabel):  Use preferredSize
9782         as initial width and height.
9783         (paintVerticalLabel): ditto.
9784
9785 2004-02-17  Kim Ho  <kho@redhat.com>
9786
9787         * javax/swing/JLabel.java: Changed 
9788         property strings to constants.
9789         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9790         New property.
9791         (setText): Change mnemonic index if
9792         text is too short.
9793         (setDisplayedMnemonicIndex): Fire property
9794         change event.
9795         (getDisplayedMnemonicIndex): Remove check
9796         against short text.
9797
9798 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9799
9800         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9801         (drawImage(img,xform,obs)): Invert xform before
9802         passing the xform to cairo.
9803         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9804         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9805         implemented.
9806         (drawImage (img,x,y,w,h,obs)): Implemented.
9807         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9808         bgcolor,obs)): Partly implemented.
9809         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9810         Implemented.
9811         * java/awt/image/BufferedImage.java:
9812         (copyData): if dest is null, create raster with same
9813         dimensions as the current image.
9814
9815 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9816
9817         * javax/swing/plaf/basic/BasicLabelUI.java 
9818         (getPreferredSize): Use layoutCL.
9819         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9820         (getPreferredButtonSize): Start with empty view rect, layout using
9821         component's preferred alignment.
9822         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9823         List defaults.
9824
9825 2004-02-16  David Jee  <djee@redhat.com>
9826
9827         * java/awt/Component.java
9828         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9829         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9830         (move): Erase old bounds and repaint new bounds. Dispatch
9831         COMPONENT_MOVED ComponentEvent.
9832         (resize): Erase old bounds and repaint new bounds. Dispatch
9833         COMPONENT_RESIZED ComponentEvent.
9834         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9835         ComponentEvents.
9836         * java/awt/Window.java
9837         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9838         ComponentEvents.
9839
9840 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9841
9842         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9843         (setRenderingHint): Added implementation of 
9844         Interpolation rendering hints.
9845         (setRenderingHints): Ditto.
9846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9847         (drawPixels): fixed to allow user to choose type 
9848         of filtering that should be used when displaying images.
9849         (cairoSurfaceSetFilter): New method. Sets filter type for 
9850         interpolation of pixel values.
9851
9852 2004-02-16  David Jee  <djee@redhat.com>
9853
9854         * java/awt/GridBagLayout.java
9855         (calcCellSizes): Rows or columns with zero sizes should still be
9856         considered for extra space distribution.
9857
9858 2004-02-16  Kim Ho  <kho@redhat.com>
9859
9860         * javax/swing/JLabel.java: Re-implement.
9861         * javax/swing/plaf/basic/BasicLabelUI.java
9862         Re-implement.
9863         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9864         Added constant.
9865
9866 2004-02-16  Kim Ho  <kho@redhat.com>
9867
9868         * javax/swing/JSlider.java: Fix indentation and comments.
9869         (setModel): Remove null check to conform with Sun's.
9870         (setOrientation): Throw exception if not
9871         HORIZONTAL or VERTICAL.
9872         (getInverted): Use private variable instead of 
9873         ComponentOrientation.
9874         (setInverted): ditto.
9875         * javax/swing/plaf/basic/BasicSliderUI.java:
9876         Fix indentation and comments.
9877         (propertyChange): Remove check for inverted slider, handle
9878         in main paint.
9879         (getMinimumSize): Return preferred size.
9880         (getMaximumSize): ditto.
9881         (calculateFocusRect): Don't relocate rectangle.
9882         (drawInverted): Return XOR of the slider's inversion and 
9883         the component's orientation.
9884         (paint): Update leftToRightCache
9885
9886 2004-02-13  David Jee  <djee@redhat.com>
9887
9888         * java/awt/GridBagLayout.java
9889         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9890         code to helper methods.
9891         (sortBySpan): New helper method.
9892         (distributeSizeAndWeight): Likewise.
9893         (calcCellWeights): Likewise.
9894         (calcCellSizes): Add comments.
9895
9896 2004-02-13  David Jee  <djee@redhat.com>
9897
9898         * java/awt/Component.java
9899         (show): Only do something if component is invisible at the moment.
9900         (hide): Only do something if component is visible at the moment.
9901         (reshape): If lightweight, erase old bounds and repaint new bounds.
9902
9903 2004-02-13  Kim Ho  <kho@redhat.com>
9904
9905         * Makefile.am: Updated for new file.
9906         * Makefile.in: Regenerated.
9907         * javax/swing/JSlider.java: Reimplement.
9908         * javax/swing/SwingUtilities.java
9909         (layoutCompoundLabel): Use icon height
9910         instead of width.
9911         (paintComponent): Implement.
9912         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9913         Add JSlider defaults.
9914         * javax/swing/plaf/basic/BasicSliderUI.java:
9915         Implement. New file.
9916
9917 2004-03-17  Michael Koch  <konqueror@gmx.de>
9918
9919         * gnu/java/net/PlainDatagramSocketImpl.java
9920         (RECEIVE_LOCK): New member field.
9921         (SEND_LOCK): New member field.
9922         (send0): New method.
9923         (send): Synchronize on SEND_LOCK.
9924         (receive0): New method.
9925         (receive): Synchronize on RECEIVE_LOCK.
9926         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9927         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9928         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9929         (send0): Renamed from send.
9930         (receive0): Renamed from receive.
9931 2004-03-17  Michael Koch  <konqueror@gmx.de>
9932
9933         * gnu/java/net/natPlainSocketImplPosix.cc
9934         (write): Just call write(jbyteArray, offset, len).
9935         (read): Just call read(jbyteArray, offset, len).
9936
9937 2004-03-16  Michael Koch  <konqueror@gmx.de>
9938
9939         * javax/swing/JTabbedPane.java
9940         (serialVersionUID): New field.
9941
9942 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9943
9944         * java/net/InetAddress.java
9945         (getByName): Handle hostname == "" case.
9946
9947 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9948
9949         Reported by: Adam Heath <doogie@debian.org>
9950         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9951         class loader.
9952
9953 2004-03-15  Michael Koch  <konqueror@gmx.de>
9954
9955         * java/util/Locale.java: Reverting my last patch
9956         and add a comment why the original version was okay.
9957
9958 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9959
9960         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9961         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9962         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9963         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9964
9965 2004-03-12  Michael Koch  <konqueror@gmx.de>
9966
9967         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9968
9969 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9970
9971         * java/net/URI.java (toURL): Implemented.
9972
9973 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9974
9975         * java/net/URI.java
9976         (URI_REGEXP) updated to contain scheme specific part.
9977         (SCHEME_SPEC_PART_GROUP) new constant.
9978         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9979         updated to make room for SCHEME_SPEC_PART_GROUP.
9980         (parseURI) parse scheme specific part.
9981         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9982         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9983         getQuery, getFragment) implemented.
9984
9985 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9986
9987         * libraries/javalib/java/net/URI.java
9988         partially implemented using java.util.regex.
9989         (URI_REGEXP) new constant. Used to parse URIs.
9990         (SCHEME_GROUP) new constant representing index of scheme group
9991         in parsed URI.
9992         (AUTHORITY_GROUP) new constant representing index of authority
9993         group in parsed URI.
9994         (PATH_GROUP) new constant representing index of path group in
9995         parsed URI.
9996         (QUERY_GROUP) new constant representing index of query group in
9997         parsed URI.
9998         (FRAGMENT_GROUP) new constant representing index of fragment
9999         group in parsed URI.
10000         (getURIGroup) new static utility method.
10001         (parseURI) implemented.
10002         (quote) stub for new static utility method.
10003         (quoteAuthority) stub for new static utility method.
10004         (quoteHost) stub for new static utility method.
10005         (quotePath) stub for new static utility method.
10006         (quoteUserInfo) stub for new static utility method.
10007         (URI) implemented.
10008         (create) don't throw URISyntaxException. Implemented.
10009         (toString) implemented.
10010
10011 2004-03-12  Michael Koch  <konqueror@gmx.de>
10012
10013         * java/net/HttpURLConnection.java
10014         (getResponseCode): Fix another typo in javadoc.
10015
10016 2004-03-11  Michael Koch  <konqueror@gmx.de>
10017
10018         * java/util/logging/Level.java
10019         (parse): Use String.equals() instead of ==.
10020
10021 2004-03-11  Michael Koch  <konqueror@gmx.de>
10022
10023         * gnu/java/net/protocol/jar/Connection.java
10024         (getContentLength): New method.
10025
10026 2004-03-11  Michael Koch  <konqueror@gmx.de>
10027
10028         * gnu/java/net/PlainSocketImpl.java:
10029         Reformated to merge better with classpath's version.
10030
10031 2004-03-11  Michael Koch  <konqueror@gmx.de>
10032
10033         * java/util/Locale.java
10034         (getISO3Language): Use String.equals() instead of ==.
10035         (getISO3Country): Likewise.
10036
10037 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10038
10039         * java/text/AttributedString.java
10040         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10041         Use HashMap instead of Hashtable since value can be null, and
10042         you can not store a null value in a Hashtable.
10043
10044 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10045
10046         * java/text/AttributedStringIterator.java
10047         (getAllAttributesKey): Return only keys concerned
10048         by the current iterator.
10049         (getAttributes): Use strict inequality for
10050         end_index. 
10051
10052 2004-03-11  Michael Koch  <konqueror@gmx.de>
10053
10054         * java/net/HttpURLConnection.java:
10055         Fixed typo in javadoc.
10056
10057 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10058
10059         * java/io/BufferedInputStream.java (marktarget): New field for max
10060         mark limit.
10061         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10062         (mark): Use new fields.
10063         (read): Likewise.
10064         (read(byte[],int,int)): Likewise.
10065         (skip): Likewise.
10066         (refill): Likewise.
10067
10068 2004-03-11  Mark Wielaard  <mark@klomp.org>
10069
10070         * java/beans/BeanDescriptor.java (BeanDescriptor):
10071         Set the FeatureDescriptor programmatic name.
10072
10073 2004-03-11  Michael Koch  <konqueror@gmx.de>
10074
10075         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10076         This file was was just copied form java/io/natFileDescriptorEcos.cc
10077         and never changed to compile correctly.
10078
10079 2004-03-11  Michael Koch  <konqueror@gmx.de>
10080
10081         * gnu/java/nio/PipeImpl.java
10082         (SourceChannelImpl): Made final.
10083         (read): Implemented.
10084         (SinkChannelImpl): Made final.
10085         (write): Implemented.
10086
10087 2004-03-11  Michael Koch  <konqueror@gmx.de>
10088
10089         * gnu/java/net/PlainDatagramSocketImpl.java:
10090         Reformated to match classpath's version more.
10091
10092 2004-03-11  Michael Koch  <konqueror@gmx.de>
10093
10094         * gnu/java/awt/peer/ClasspathFontPeer.java:
10095         Fixed javadoc to be correct xhtml.
10096         * gnu/java/awt/peer/gtk/GtkArgList.java
10097         (add): Use Boolean.valueOf() instead of new Boolean().
10098
10099 2004-03-09  Michael Koch  <konqueror@gmx.de>
10100
10101         * java/lang/Thread.java
10102         (runnable): Moved around.
10103         (daemon): Renamed from daemon_flag.
10104         (contextClassLoader): Renamed from context_class_loader.
10105         (Thread): Reordered constructors.
10106         (activeCount): Use group directly.
10107         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10108         (holdsLock): Reworked javadoc.
10109         (setDaemon): Reworked.
10110         * java/lang/natThread.cc
10111         (destroy): Removed.
10112
10113 2004-03-08  Anthony Green  <green@redhat.com>
10114
10115         * Makefile.am: Build property resource files into libgcj.
10116         * Makefile.in: Rebuilt.
10117         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10118         java/util/regex/PatternSyntaxException.java,
10119         gnu/regexp/CharIndexed.java,
10120         gnu/regexp/CharIndexedCharArray.java,
10121         gnu/regexp/CharIndexedInputStream.java,
10122         gnu/regexp/CharIndexedReader.java,
10123         gnu/regexp/CharIndexedString.java,
10124         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10125         gnu/regexp/REException.java,
10126         gnu/regexp/REFilterInputStream.java,
10127         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10128         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10129         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10130         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10131         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10132         gnu/regexp/RETokenLookAhead.java,
10133         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10134         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10135         gnu/regexp/RETokenStart.java,
10136         gnu/regexp/RETokenWordBoundary.java,
10137         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10138
10139 2004-03-03  Per Bothner  <per@bothner.com>
10140
10141         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10142         Optimize when argument is a FileChannelImpl.
10143         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10144         New native methods.
10145         * java/nio/channels/natChannels.cc:  New file for new native methods.
10146         * Makefile.am:  Update accordingly.
10147
10148 2004-03-02  Jan Hubicka  <jh@suse.cz>
10149
10150         * configure.host: Pass -fno-omit-frame-pointer for i386.
10151         * configure.in: Likewise.
10152         * configure: Regenerate.
10153
10154 2004-03-01  Per Bothner  <per@bothner.com>
10155
10156         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10157
10158 2004-02-29  Per Bothner  <per@bothner.com>
10159
10160         * java/nio/channels/FileChannelImpl.java:  Moved to package
10161         gnu/java/nio/channels, since we need to refer to it from java.io.
10162         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10163         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10164         from java/nio/channels.  Don't depend on FileDescriptor.
10165         (in, out, err):  New static fields.
10166         (mode):  New field.
10167         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10168         from FileDescriptor.
10169         (by):  Removed MappedByteBuffer field.
10170         (map):  New working implementation.
10171         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10172         some code "ported" from natFileDescriptoPosix.cc.
10173         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10174         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10175         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10176         Remove native methods.
10177         * Makefile.am, configure.in:  Updated accordingly.
10178
10179         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10180         (ch):  New FileChannelImpl field.  Update constructor to match.
10181         (releaseImpl):  Remove native method.  Instead ...
10182         (release):  Call unlock on channel.
10183         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10184
10185         * java/io/natFileDescriptorEcos.cc:  Remove file.
10186         * java/io/natFileDescriptorPosix.cc:  Remove file.
10187         * java/io/natFileDescriptorWin32.cc:  Remove file.
10188         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10189         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10190         (<init>(FileChannelImpl)):  New package-private constructor.
10191         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10192         (available, close, read, skip):  Implement using FileChannelImpl.
10193         (getFD):  Allocate FileDescriptor if needed.
10194         (getChannel):  Is now trivial.
10195         * java/io/FileOutputStream.java:  Corresponding changes.
10196         * java/io/RandomAccessFile.java:  Corresponding changes.
10197
10198         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10199         unmapImpl):  New dummy methods, to be overridden by subclass.
10200         (finalize, isLoaded, load, force):  New methods.
10201         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10202         Now works, at least for read mapping.
10203
10204         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10205         streams using FileChannelImpl, not FileDescriptor.
10206         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10207
10208 2004-02-28  Michael Koch  <konqueror@gmx.de>
10209
10210         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10211         wrong code.
10212
10213 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10214
10215         * java/io/ObjectInputStream.java
10216         (readClassDescriptor): Keep elements of the mapping non null.
10217         (checkTypeConsistency): New method.
10218         (readFields): Fixed main loop and base logic. Small reindentation.
10219         * java/io/ObjectStreamField.java
10220         (lookupField): New method to update the field reference.
10221         (checkFieldType): New method.
10222         * java/io/ObjectStreamClass.java
10223         (setClass, setFields): Call lookupField when building the field
10224         database. Check the real field type.
10225
10226 2004-02-28  Michael Koch  <konqueror@gmx.de>
10227
10228         * java/nio/ByteOrder.java
10229         (nativeOrder): Use equals() to compare strings.
10230
10231 2004-02-26  Michael Koch  <konqueror@gmx.de>
10232
10233         * gnu/java/nio/FileLockImpl.java
10234         (finalize): Made protected.
10235         * java/nio/channels/FileChannel.java
10236         (MapMode.READ_ONLY): Made final.
10237         (MapMode.READ_WRITE): Made final.
10238         (MapMode.PRIVATE): Made final.
10239         * java/nio/channels/SocketChannel.java
10240         (open): Simplified code.
10241         * java/nio/channels/spi/AbstractSelectableChannel.java
10242         (registered): Unused, removed.
10243         (keyFor): Check channel is open, only locate key
10244         and not add a new one.
10245         (register): Don't delete attachments.
10246
10247 2004-02-26  Michael Koch  <konqueror@gmx.de>
10248
10249         * gnu/java/awt/ComponentDataBlitOp.java
10250         (INSTANCE): Made final.
10251         * gnu/java/awt/image/ImageDecoder.java:
10252         Reworked imports.
10253         (cm): Unused, removed.
10254
10255 2004-02-26  Michael Koch  <konqueror@gmx.de>
10256
10257         * gnu/java/nio/DatagramChannelImpl.java
10258         (send): Check if target address is resolved.
10259
10260 2004-02-26  Michael Koch  <konqueror@gmx.de>
10261
10262         * Makefile.am: Generate and install headers for inner classes in
10263         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10264         * Makefile.in: Regenerated.
10265
10266 2004-02-24  Anthony Green  <green@redhat.com>
10267
10268         * java/lang/StringBuffer.java: No need to NULL out remainder of
10269         buffer since ensureCapacity_unsynchronized will have done this for
10270         us.
10271
10272 2004-02-20  Michael Koch  <konqueror@gmx.de>
10273
10274         * gnu/java/net/protocol/jar/Handler.java
10275         (): Removed unneeded check for file != null. java.net.URL.getFile()
10276         returns an empty string but never null.
10277
10278 2004-02-20  Michael Koch  <konqueror@gmx.de>
10279
10280         * gnu/gcj/convert/Convert.java
10281         (main): Use equals() to compare strings.
10282
10283 2004-02-20  Michael Koch  <konqueror@gmx.de>
10284
10285         * javax/swing/AbstractButton.java: Made several constants final.
10286         (getRolloverSelectedIcon): Made public.
10287         (getSelectedIcon): Made public.
10288
10289 2004-02-16  Per Bothner  <per@bothner.com>
10290
10291         * java/nio/CharBufferImpl.java:  Inline super constructor.
10292         * java/nio/DoubleBufferImpl.java:  Likewise.
10293         * java/nio/FloatBufferImpl.java:  Likewise.
10294         * java/nio/IntBufferImpl.java:  Likewise.
10295         * java/nio/LongBufferImpl.java:  Likewise.
10296         * java/nio/ShortBufferImpl.java:  Likewise.
10297         * java/nio/CharBuffer.java:  Remove unused constructor.
10298         * java/nio/DoubleBuffer.java:  Likewise.
10299         * java/nio/FloatBuffer.java:  Likewise.
10300         * java/nio/IntBuffer.java:  Likewise.
10301         * java/nio/LongBuffer.java:  Likewise.
10302         * java/nio/ShortBuffer.java:  Likewise.
10303         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10304         Fix buggy call to super constructor.
10305         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10306         * java/nio/FloatViewBufferImpl.java:  Likewise.
10307         * java/nio/IntViewBufferImpl.java:  Likewise.
10308         * java/nio/LongViewBufferImpl.java:  Likewise.
10309         * java/nio/ShortViewBufferImpl.java:  Likewise.
10310         
10311         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10312         java.nio classes can inherit it.
10313         (<init>):  Don't bother clearing array_offset.
10314         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10315         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10316         Remove redundant test.
10317
10318         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10319         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10320         Use new XxxViewBufferImpl constructors.
10321         * java/nio/MappedByteBufferImpl.java:  Likewise.
10322         * java/nio/DirectByteBufferImpl.java:  Likewise.
10323
10324         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10325         Inline super in remaining constructor.
10326         * java/nio/ByteBuffer.java:  Remove unused constructor.
10327
10328         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10329
10330         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10331         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10332         (offset):  Remove unused field.
10333         (<init>):  Modify one and add another constructor.  Change callers.
10334         (allocateDirect):  Removed - not used.
10335         (getImpl, putImpl):  Make static and pass address explicitly,
10336         to make them useful for MappedByteBufferImpl.
10337         (get, put):  Check for underflow.  Modify for new getImpl.
10338         (getImpl):  New native method where target is array.
10339         (get(byte[],int,int)):  Use the above.
10340         (adjustAddress):  New static native method.
10341         (slice, duplicate, asReadOnly):  New implementations.
10342         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10343         adjustAddress):  New or updated native methods.
10344
10345 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10346
10347         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10348         overflow of fieldmapping.
10349
10350 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10351
10352         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10353
10354 2004-02-14  Per Bothner  <per@bothner.com>
10355
10356         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10357         Set closed before calling implCloseChannel, as in the spec.
10358
10359 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10360
10361         * javax/swing/ToggleButtonModel.java: Remove dead class.
10362         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10363         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10364         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10365         * Makefile.am: Update for new and removed files.
10366         * Makefile.in: Regenerate.
10367
10368         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10369         * javax/swing/AbstractButton.java 
10370         (AbstractButton): Initialize fields correctly in ctor.
10371         * javax/swing/JCheckbox.java 
10372         (JCheckBox): Override painting flags.
10373         * javax/swing/DefaultButtonModel.java: Conform to sun.
10374         * javax/swing/JComponent.java (paint): Fill with background color
10375         if available.
10376         (processComponentKeyEvent)
10377         (processFocusEvent)
10378         (processKeyEvent)
10379         (processMouseMotionEvent): Remove event-consuming empty methods.
10380         (getUIClassID): Return "ComponentUI" not "JComponent"
10381         * javax/swing/JFrame.java: Remove some debugging chatter.
10382         (JFrame): Subscribe to window events.
10383         * javax/swing/JRadioButton.java 
10384         (JRadioButton): Override painting flags.
10385         * javax/swing/JRootPane.java 
10386         (JRootPane): Set background from UIDefaults.
10387         * javax/swing/JToggleButton.java 
10388         (ToggleButtonModel): New inner class.
10389         (JToggleButton): Override layout alighment.
10390         * javax/swing/SwingUtilities.java:
10391         (getLocalBounds): Return width and height, not x and y.
10392         (calculateInnerArea): Use local bounds, not bounds.
10393         (layoutCompoundLabel): Provide overridden form.
10394         (layoutCompoundLabel): Correct bugs.
10395         * javax/swing/UIDefaults.java: Correct comment.
10396         * javax/swing/plaf/basic/BasicButtonUI.java: 
10397         Move most logic into defaults, external listener.
10398         (paintIcon): Implement icon painting.
10399         (paint): Fix state painting to conform to changes in model.
10400         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10401         Remove most dead/wrong methods.
10402         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10403         * javax/swing/plaf/basic/BasicIconFactory.java:
10404         (DummyIcon): New class.
10405         (getMenuItemCheckIcon)
10406         (getMenuItemArrowIcon) 
10407         (getMenuArrowIcon)
10408         (getCheckBoxMenuItemIcon)
10409         (getRadioButtonMenuItemIcon)
10410         (createEmptyFrameIcon): Return DummyIcons, not null.
10411         (getCheckBoxIcon): Implement an icon that looks like sun's.
10412         (getRadioButtonIcon): Implement an icon that looks like sun's.
10413         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10414         (initComponentDefaults): Fix impossible values, add some missing.
10415         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10416         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10417         Remove most dead/wrong methods.
10418         (icon): New field.
10419         (getDefaultIcon): New method.
10420         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10421         Remove most dead/wrong methods.
10422         * javax/swing/plaf/metal/MetalLookAndFeel.java
10423         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10425         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10426         Implement "clearing" as drawing, when on pixmap drawables.
10427
10428         * javax/swing/JButton.java (getUIClassID): 
10429         * javax/swing/JCheckBox.java (getUIClassID):
10430         * javax/swing/JEditorPane.java (getUIClassID):
10431         * javax/swing/JLabel.java (getUIClassID): 
10432         * javax/swing/JList.java (getUIClassID): 
10433         * javax/swing/JOptionPane.java (getUIClassID): 
10434         * javax/swing/JPanel.java (getUIClassID): 
10435         * javax/swing/JPasswordField.java (uiClassID): 
10436         * javax/swing/JRadioButton.java (getUIClassID): 
10437         * javax/swing/JRootPane.java (getUIClassID): 
10438         * javax/swing/JScrollPane.java (getUIClassID): 
10439         * javax/swing/JTabbedPane.java (getUIClassID): 
10440         * javax/swing/JToggleButton.java (getUIClassID): 
10441         * javax/swing/JTree.java (getUIClassID): 
10442         * javax/swing/JViewport.java (getUIClassID): 
10443         * javax/swing/text/JTextComponent.java (getUIClassID):
10444         Return "fooUI" not "Jfoo"
10445
10446 2004-02-11  Michael Koch  <konqueror@gmx.de>
10447
10448         * java/net/DatagramSocket.java
10449         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10450         Boolean object.
10451         (setBroadcast): Likewise.
10452         * java/net/MulticastSocket.java
10453         (setLoopbackMode): Likewise.
10454         * java/net/ServerSocket.java
10455         (setReuseAddress): Likewise.
10456         * java/net/Socket.java
10457         (setTcpNoDelay): Likewise.
10458         (setSoLinger): Likewise.
10459         (setOOBInline): Likewise.
10460         (setKeepAlive): Likewise.
10461         (setReuseAddress): Likewise.
10462         * java/net/URLConnection.java
10463         (setContentHandler): Replace == with equals().
10464         * java/net/URLStreamHandler.java
10465         (hostSEquals): Fix checking host addresses.
10466         (toExternalForm): Dont check protocol for null. We know already its
10467         not null.
10468
10469 2004-02-10  David Jee  <djee@redhat.com>
10470
10471         * java/awt/BorderLayout.java
10472         (calcCompSize): Invisible components get zero dimensions.
10473         * java/awt/Button.java
10474         (setLabel): Set actionCommand.
10475         * java/awt/Component.java
10476         (show): Invalidate component and parent container.
10477         (hide): Likewise.
10478
10479 2004-02-10  David Jee  <djee@redhat.com>
10480
10481         * java/awt/GridBagLayout.java
10482         (GridBagLayout): New private field, internalcomptable.
10483         (lookupInternalConstraints): New method.
10484         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10485         (GetLayoutInfo): Reimplement.
10486         (calcCellSizes): Ignore rows/columns with size 0.
10487
10488 2004-02-10  Michael Koch  <konqueror@gmx.de>
10489
10490         * gnu/java/awt/EmbeddedWindow.java
10491         (setHandle): Use java.awt.Component.getPeer() instead of
10492         java.awt.Component.peer directly.
10493
10494 2004-02-10  David Jee  <djee@redhat.com>
10495
10496         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10497         (gtkSetLabel): New native method definition.
10498         (setLabel): Use gtkSetLabel.
10499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10500         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10501
10502 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10503
10504         * include/powerpc-signal.h: Revert 2004-01-21 change.
10505         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10506         from syscall for ppc32 versions.
10507
10508 2004-02-08  Per Bothner  <per@bothner.com>
10509
10510         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10511         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10512         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10513         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10514         Pass ByteOrder parameter to most methods, since the underlying
10515         ByteBuffer's order isn't always what we should use.
10516         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10517         * java/nio/DirectByteBufferImpl.java:  Likewise.
10518         Use ByteBufferHelper methods.
10519         * java/nio/MappedByteBufferImpl.java:  Likewise.
10520         (compact):  Use shiftDown.
10521         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10522         (get, put):  Use ByteBufferHelper.
10523         (compact):  Use new shiftDown method.
10524         (duplicate(boolean)):  New helper method.
10525         (duplicate, asReadOnlyBuffer):  Use it.
10526         (order):  Return endian field.
10527         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10528         * java/nio/FloatViewBufferImpl.java:  Likewise.
10529         * java/nio/IntViewBufferImpl.java:  Likewise.
10530         * java/nio/LongViewBufferImpl.java:  Likewise.
10531         * java/nio/ShortViewBufferImpl.java:  Likewise.
10532         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10533         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10534         (compact):  Re-implement using shiftDown.
10535
10536 2004-02-08  Andreas Jaeger  <aj@suse.de>
10537
10538         * include/x86_64-signal.h: Fix typo.
10539
10540 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10541
10542         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10543         qualifier to _regs.
10544         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10545
10546 2004-02-06  Michael Koch  <konqueror@gmx.de>
10547
10548         * java/io/ObjectInputStream.java
10549         (currentClassLoader): Reverted to old version of this method.
10550
10551 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10552
10553         * java/io/ObjectInputStream.java: Made all calls
10554         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10555         use cached info from ObjectStreamClass. (readClassDescriptor):
10556         Cache more information in ObjectStreamClass. (processResolution,
10557         readFields): Use cached info from ObjectStreamClass.
10558         (newObject): Throw exception instead of returning null for failure.
10559         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10560         setCharField, setDoubleField, setFloatField, setIntField,
10561         setLongField, setShortField, setObjectField, readObjectParams):
10562         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10563         check.
10564         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10565         (setClass): Added call to cacheMethods() (findMethod): New method.
10566         (cacheMethods): New method. (ObjectStreamClass): Added call to
10567         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10568         AccessController.doPrivileged to invoke setAccessible.
10569         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10570         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10571         New fields.
10572         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10573         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10574         isPrimitive): Made safe for cases where type == null.
10575         (setBooleanField, setByteField, setCharField, setShortField,
10576         setIntField, setLongField, setFloatField, setDoubleField,
10577         setObjectField): New methods.
10578
10579 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10580
10581         * java/awt/Component.java (getFont): Return a default font
10582         instead of null.
10583
10584         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10585         (Scrollbar (int, int, int, int, int)): Make default page
10586         increment 10.
10587         (setValues): Only call peer.setValues if one of the values has
10588         changed.
10589         (generateName): New method.
10590         (getUniqueLong): New method.
10591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10592         (range_scrollbar): Remove structure.
10593         (post_adjustment_event): Remove function.
10594         (post_change_event): Accept jobject argument.
10595         (create): Cast jints to gdoubles.  Round scrollbar values to the
10596         nearest integer.  Clamp min, max and value settings.
10597         (connectJObject): Connect hook to widget->window.
10598         (connectSignals): Remove range_scrollbar structure variables.
10599         Remove "move-slider" connection.  Pass global peer reference to
10600         "value-changed" callback.
10601         (setLineIncrement): Cast jint value to gdouble.
10602         (setPageIncrement): Likewise.
10603         (setValues): Likewise.  Clamp min, max and value settings.
10604
10605 2004-02-05  Michael Koch  <konqueror@gmx.de>
10606
10607         * javax/swing/AbstractCellEditor.java
10608         (getCellEditorValue): Removed.
10609         * javax/swing/Box.java: Reformated.
10610         (serialVersionUID): New field.
10611         * javax/swing/ButtonGroup.java:
10612         Removed some weird whitespace.
10613         * javax/swing/CellEditor.java: Reformated.
10614         * javax/swing/CellRendererPane.java
10615         (serialVersionUID): New field.
10616         (AccessibleCellRendererPaneserialVersionUID): New field.
10617         * javax/swing/DefaultListModel.java
10618         (serialVersionUID): New field.
10619         * javax/swing/JEditorPane.java
10620         (serialVersionUID): New field.
10621         (setPage): Throws IOException.
10622         (addHyperlinkListener): Implemented.
10623         (removeHyperlinkListener): Implemented.
10624         (getHyperlinkListener): New method.
10625         * javax/swing/JFileChooser.java
10626         (serialVersionUID): New field.
10627         (AccessibleJFileChooser.serialVersionUID): New field.
10628         (addActionListener): Implemented.
10629         (removeActionListener): Implemented.
10630         (getActionListeners): New method.
10631         * javax/swing/JFormattedTextField.java
10632         (serialVersionUID): New field.
10633         (AbstractFormatter.serialVersionUID): New field.
10634         (clone): Throws CloneNotSupportedException
10635         (setEditValid): Add missing argument.
10636         (stringToValue): Throws ParseExcpetion.
10637         (valueToString): Throws ParseException.
10638         (commitEdit): Throws ParseException.
10639         * javax/swing/JLabel.java
10640         (serialVersionUID): New field.
10641         * javax/swing/JList.java
10642         (serialVersionUID): New field.
10643         (addListSelectionListener): Reformated.
10644         (removeListSelectionListener): Reformated.
10645         (getListSelectionListeners): New method.
10646         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10647         Reformated.
10648         (serialVersionUID): New field.
10649         * javax/swing/table/AbstractTableModel.java
10650         (getValueAt): Removed.
10651         (getColumnCount): Removed.
10652         (getRowCount): Removed.
10653
10654 2004-02-05  Michael Koch  <konqueror@gmx.de>
10655
10656         * java/awt/datatransfer/DataFlavor.java
10657         (imageFlavor): Javadoc added.
10658         (javaJVMLocalObjectType): Fixed.
10659
10660 2004-02-05  Michael Koch  <konqueror@gmx.de>
10661
10662         * java/lang/Thread.java
10663         (Thread): Reordered.
10664         (setContextClassLoader): Fixed javadoc comment.
10665         (setPriority): Reordered.
10666         (yield): Reordered.
10667         (initialize_native): Reordered.
10668         (gen_name): Reordered.
10669
10670 2004-02-05  Michael Koch  <konqueror@gmx.de>
10671
10672         * java/lang/Thread.java: Reordered fields, reformated much code,
10673         no functional changes, some variables renamed, javadoc comments
10674         merged.
10675
10676 2004-02-05  Michael Koch  <konqueror@gmx.de>
10677
10678         * java/util/zip/Deflater.java,
10679         java/util/zip/DeflaterOutputStream.java,
10680         java/util/zip/GZIPInputStream.java:
10681         Reformated and javadoc comments merged from classpath.
10682
10683 2004-02-05  Michael Koch  <konqueror@gmx.de>
10684
10685         * gnu/java/nio/NIOServerSocket.java
10686         (impl): Unused, removed.
10687         * gnu/java/nio/SocketChannelImpl.java
10688         (finnishConnect): Don't throw NoConnectionPendingException if not
10689         connected or no connection pending.
10690
10691 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10692
10693         * javax/swing/SwingUtilities.java: Many new functions.
10694         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10695         * javax/swing/basic/BasicGraphicsUtils.java 
10696         (getPreferredButtonSize): Start layout from top-left corner.
10697
10698 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10699
10700         * java/awt/geom/AffineTransform.java: 
10701         Corrected comments on the field definitions for
10702         m11 and m10.
10703         (shear): Fixed few errors that caused shear
10704         transformation to be performed incorrectly.
10705         (createInverse): Fixed to return correct
10706         inverse of the given matrix.
10707
10708 2004-02-03  Tom Tromey  <tromey@redhat.com>
10709
10710         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10711         PATH or LD_LIBRARY_PATH is not set in parent environment.
10712
10713 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10714
10715         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10716         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10717         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10718         java/awt/Component.java, java/awt/Container.java,
10719         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10720         java/awt/LayoutManager2.java, java/awt/List.java,
10721         java/awt/Menu.java, java/awt/MenuBar.java,
10722         java/awt/MenuItem.java, java/awt/Polygon.java,
10723         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10724         java/awt/Scrollbar.java, java/awt/TextArea.java,
10725         java/awt/TextField.java,
10726         java/awt/image/renderable/RenderContext.java,
10727         javax/swing/JApplet.java: Fix handling of alias methods, where a
10728         method has been deprecated in favour of a new one with the same
10729         funtion but a different name.  Put the method implementation in
10730         the deprecated method and have the new method call the
10731         deprecated one.  Make all other code call the new method.
10732
10733 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10734
10735         * gnu/java/nio/DatagramChannelImpl.java
10736         (inChannelOperation): New field.
10737         (isInChannelOperation): New accessor.
10738         (setInChannelOperation): New modifier.
10739         (receive): Use capacity() - position() of destination
10740         buffer instead of remaining(). Set and reset our "in
10741         channel operation indicator" before and after delegating
10742         the receive to our datagram socket. Removed testing code.
10743         Update destination buffer's current position if it is
10744         backed by a byte array (hasArray() is true).
10745         (send): Set and reset our "in channel operation indicator"
10746         before and after delegating the send to our datagram socket.
10747         Removed testing code. Update source buffer's current position
10748         if it is backed by a byte array (hasArray() is true).
10749         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10750         Use capacity() - position() of destination buffer instead
10751         of remaining().
10752         * java/net/DatagramSocket.java (receive): Don't throw an
10753         IllegalBlockingModeException if we have a non-blocking
10754         channel which initiated this operation.
10755         (send): Likewise.
10756
10757 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10758
10759         * configure.in: Add pkgconfig check for glib and gthread.
10760         * configure: Regenerate.
10761
10762 2004-02-01  Michael Koch  <konqueror@gmx.de>
10763
10764         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10765         arguments.
10766         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10767         * verify.cc (debug_print): Mark 'fmt' unused.
10768
10769 2004-01-30  Michael Koch  <konqueror@gmx.de>
10770
10771         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10772         * configure: Regenerated.
10773         * glib-2.0.m4: Removed.
10774         * gtk-2.0.m4: Removed.
10775         * libart.m4: Removed.
10776         * pkg.m4: New file.
10777
10778 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10779
10780         * gnu/java/net/PlainSocketImpl.java 
10781         (inChannelOperation): New field.
10782         (isInChannelOperation): New accessor.
10783         (setInChannelOperation): New modifier.
10784         * gnu/java/nio/ServerSocketChannelImpl.java
10785         (accept): Set and reset our server socket's PlainSocketImpl's
10786         "in channel operation" indicator before and after delegating
10787         the accept to our server socket.
10788         * gnu/java/nio/SocketChannelImpl.java
10789         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10790         operation" indicator before and after delegating the operation to
10791         our socket.
10792         (read): Likewise.
10793         (write): Likewise.
10794         * java/net/ServerSocket.java (implAccept): Don't throw an
10795         IllegalBlockingModeException if we have a non-blocking
10796         channel which initiated this accept operation.
10797         * java/net/Socket.java (connect): Don't throw an
10798         IllegalBlockingModeException if we have a non-blocking
10799         channel which initiated this connect operation.
10800         * java/nio/channels/spi/AbstractSelectableChannel.java
10801         (configureBlocking): Only call implConfigureBlocking() if
10802         the desired blocking mode is different from our current one.
10803
10804 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10805
10806         * java/io/BufferedReader.java (sbuf): New field.
10807         (readLine): Use String.valueOf instead of new String() as per
10808         Per Bothner's suggestion. Use instance sbuf field instead of a
10809         local StringBuffer instance.
10810         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10811         caller's buffer to refill().
10812         (read(void)): Pass our internal work buffer to refill if our
10813         input queue is empty.
10814         (refill): Changed return type to int. Use the specified buffer
10815         instead of our work buffer as per Bryce McKinlay's suggestion.
10816         Return the number of characters read or -1 for EOF.
10817
10818 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10819
10820         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10821
10822 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10823
10824         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10825         * Makefile.in: Re-generated.
10826         * gnu/awt/xlib/XFontPeer.java: New file.
10827         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10828         (setClip): Commented out debug printout.
10829         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10830         (getFontPeer): Return XFontPeer.
10831         (getLocalGraphicsEnvironment): New method.
10832         (getClasspathFontPeer): New method.
10833         (createFont): New method.
10834
10835 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10836
10837         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10838         return null. 
10839
10840 2004-01-29  Kim Ho  <kho@redhat.com>
10841
10842         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10843         (gtkLayoutSetVisible): New method
10844         (setMenuBar): Hide layout before setting MenuBar
10845         and reshow it after.
10846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10847         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10848
10849 2004-01-28  Michael Koch  <konqueror@gmx.de>
10850
10851         * gnu/java/lang/ClassHelper.java
10852         (getPackagePortion): Removed.
10853
10854 2004-01-28  Michael Koch  <konqueror@gmx.de>
10855
10856         * javax/swing/JComponent.java
10857         (listenerList): Initalize globally.
10858         (ancestor_list): Removed.
10859         (veto_list): Removed.
10860         (change_list): Removed.
10861         (get_veto_list): Removed.
10862         (get_change_list): Removed.
10863         (get_ancestor_list): Removed.
10864         (removeAncestorListener): Reimplemented.
10865         (removePropertyChangeListener): Likewise.
10866         (removeVetoableChangeListener): Likewise.
10867         (addAncestorListener): Likewise.
10868         (addPropertyChangeListener): Likewise.
10869         (addVetoableChangeListener): Likewise.
10870         (getListeners): New method.
10871         (getAncestorListeners): Likewise.
10872         (getVetoableChangeListeners): Likewise.
10873         (fireVetoableChange): Throws PropertyVetoException.
10874         * javax/swing/JEditorPane.java
10875         (JEditorPane): Throws IOException.
10876
10877 2004-01-28  David Jee  <djee@redhat.com>
10878
10879         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10880         (create): Set the default foreground color to
10881         java.awt.SystemColor.windowText.
10882
10883 2004-01-27  Michael Koch  <konqueror@gmx.de>
10884
10885         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10886         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10887         Reindented to merge with classpath.
10888
10889 2004-01-27  David Jee  <djee@redhat.com>
10890
10891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10892         (addExposeFilter): Handle GtkFramePeer separately.
10893         (removeExposeFilter): Likewise.
10894
10895 2004-01-27  Michael Koch  <konqueror@gmx.de>
10896
10897         * gnu/java/net/protocol/http/Connection.java
10898         (getOutputStream): Fixed typo.
10899
10900 2004-01-27  Michael Koch  <konqueror@gmx.de>
10901
10902         * java/lang/Class.java
10903         (getConstructor): Removed SecurityException from throws clause.
10904         (_getConstructors): Likewise.
10905         (getConstructors): Likewise.
10906         (getDeclaredConstructor): Likewise.
10907         (getDeclaredClasses): Likewise.
10908         (getDeclaredConstructors): Likewise.
10909         (getDeclaredField): Likewise.
10910         (getDeclaredMethod): Likewise.
10911         (getDeclaredMethods): Likewise.
10912         (getField): Likewise.
10913         (getMethod): Likewise.
10914         (getMethods): Likewise.
10915
10916 2004-01-27  Kim Ho  <kho@redhat.com>
10917
10918         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10919         (removeMenuBarPeer): Remove MenuBarPeer argument.
10920         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10921         (dispose): Call native method.
10922         * java/awt/Frame.java (setMenuBar): Create and remove
10923         MenuBar peers only if the Frame has a peer.
10924         (addNotify): Create the MenuBar peer if one exists.
10925         (removeNotify): Remove MenuBar peer if one exists.
10926         * java/awt/Menu.java: Fix imports.
10927         (addNotify): Don't use full class name.
10928         (removeNotify): Call removeNotify on all children.
10929         * java/awt/MenuBar.java (removeNotify): Call
10930         removeNotify on all children.
10931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10932         (removeMenuBarPeer): Remove MenuBarPeer argument.
10933         Iterate through children to find the Frame's MenuBar.
10934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10935         New file.
10936         (dispose): Remove references to the MenuComponent.
10937
10938 2004-01-27  Michael Koch  <konqueror@gmx.de>
10939
10940         * javax/swing/AbstractCellEditor.java: Reformated.
10941         * javax/swing/DefaultListSelectionModel.java
10942         (listenerList): Made protected.
10943         (addListSelectionListener): Javadoc added.
10944         (removeListSelectionListener): Likewise.
10945         (getListeners): Likewise.
10946         (getListSelectionListeners): Likewise.
10947         * javax/swing/JComboBox.java: Merged copyright year.
10948         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10949
10950 2004-01-26  Andrew Haley  <aph@redhat.com>
10951
10952         * javax/swing/table/JTableHeader.java: Extend JComponent
10953
10954 2004-01-26  Kim Ho  <kho@redhat.com>
10955
10956         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10957         Fix spacing.
10958
10959 2004-01-26  Kim Ho  <kho@redhat.com>
10960
10961         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10962         method.
10963         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10964         height and let the Layout Managers readjust anything that
10965         needs to move.
10966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10967         (moveLayout): New method. Shift everything in the Gtk
10968         layout in the Y direction by an offset.
10969
10970 2004-01-26  David Jee  <djee@redhat.com>
10971
10972         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10973         (handleEvent): Implemented. Handles PaintEvents.
10974         (paint): Implemented. Use GTK native methods to queue updates
10975         for this heavyweight peer.
10976         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10977         (handleEvent): Removed.
10978         * java/awt/Component.java
10979         (paint): Implemented. Explictly paint the heavyweight peer.
10980         (update): Clear the background for heavyweight components.
10981         (paintAll): No need to call peer.paint() anymore.
10982         (processEvent): Don't process PaintEvents here. It's now done in
10983         the peer's handleEvent().
10984         (processPaintEvent): Removed.
10985         * java/awt/Container.java
10986         (paint): No need to call super.paint(). Visit heavyweight
10987         children as well.
10988         (update): Don't clear the background here.  It's done in
10989         Component.update().
10990         (visitChildren): Added check to not recurse into Containers.
10991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10992         (filter_expose_event_handler): New method.  Filter unwanted
10993         expose events while painting heavyweight peers.
10994         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10995         New method. Connect filter and block pre_event_handler.
10996         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10997         New method. Disconnect filter and unblock pre_event_handler.
10998         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10999         New method. Invalidate and update given area.
11000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11001         (pre_event_handler): Add checks for unwanted expose events.
11002
11003 2004-01-26  David Jee  <djee@redhat.com>
11004
11005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11006         (find_bg_color_widget): For GtkButton, return its child.
11007
11008 2004-01-26  Kim Ho  <kho@redhat.com>
11009
11010         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11011         private.
11012         (setMenuBar): Grab MenuBar height and change insets.
11013         (setBounds): Account for MenuBar height.
11014         (postInsetsChangedEvent): Ditto.
11015         (postSizeAllocateEvent): Remove.
11016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11017         (menubar_resize_cb): Remove
11018         (setMenuBarPeer): Remove callback.
11019         (getMenuBarHeight): Use size requisition instead of
11020         allocation.
11021
11022 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11023
11024         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11025         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11026         when peer is null.
11027         (setColumns): Remove FIXME -- peer will retrieve number of
11028         columns by calling getColumns.
11029         (setRows): Likewise for number of rows.
11030         (next_text_number): New field.
11031         (paramString): Fix param string.
11032         (generateName): New method.
11033         (getUniqueLong): New method.
11034
11035 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11036
11037         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11038         image observer of image loading status.
11039         (getImage (String)): Start image production.
11040         (getImage (URL)): Likewise.
11041
11042 2004-01-25  Michael Koch  <konqueror@gmx.de>
11043
11044         * java/lang/Class.java: Imports reworked, reformated.
11045         (Class): Javadoc added.
11046         (forName): Likewise.
11047         (getClasses): Likewise.
11048         (getClassLoader): Likewise.
11049         (getComponentType): Likewise.
11050         (getConstructor): Likewise.
11051         (getConstructors): Likewise.
11052         (getDeclaredConstructor): Likewise.
11053         (getDeclaredClasses): Likewise.
11054         (getDeclaredConstructors): Likewise.
11055         (getDeclaredField): Likewise.
11056         (getDeclaredMethod): Likewise.
11057         (getDeclaredMethods): Likewise.
11058         (getDeclaringClass): Likewise.
11059         (getField): Likewise.
11060         (getInterfaces): Likewise.
11061         (getMethod): Likewise.
11062         (getMethods): Likewise.
11063         (getModifiers): Likewise.
11064         (getName): Likewise.
11065         (getResource): Likewise.
11066         (getResourceAsStream): Likewise.
11067         (getSigners): Likewise.
11068         (setSigners): Likewise.
11069         (getSuperclass): Likewise.
11070         (isArray): Likewise.
11071         (isAssignableFrom): Likewise.
11072         (isInstance): Likewise.
11073         (isInterface): Likewise.
11074         (isPrimitive): Likewise.
11075         (newInstance): Likewise.
11076         (getProtectionDomain): Likewise.
11077         (toString): Likewise.
11078         (Class): Moved.
11079         (initializeClass): Likewise.
11080         (finalize): Likewise.
11081
11082 2004-01-24  Michael Koch  <konqueror@gmx.de>
11083
11084         * gnu/java/net/protocol/jar/Connection.java
11085         (hdrHash): Removed.
11086         (hdrVec): Removed.
11087         (gotHeaders): Removed.
11088         (getHeaderField): Removed.
11089         (getHeaderFields): Removed.
11090         (getHeaderFieldKey): Removed.
11091         (getKey): Removed.
11092         (getField): Removed.
11093         (getHeaders): Removed.
11094
11095 2004-01-24  Michael Koch  <konqueror@gmx.de>
11096
11097         * Makefile.am: Added library version to gtk peer lib.
11098         * Makefile.in: Regenerated.
11099
11100 2004-01-24  Michael Koch  <konqueror@gmx.de>
11101
11102         * java/util/zip/InflaterInputStream.java: Merged class documentation
11103         with classpath.
11104
11105 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11106
11107         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11108         header.  For __powerpc64__ provide the default-signal.h definitions
11109         for now.
11110         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11111         instead of the dummy definitions.
11112         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11113         (powerpc64*-*): Remove with_libffi_default.
11114         Only add -mminimal-toc for 64-bit compilations.
11115         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11116         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11117         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11118         * configure: Rebuilt.
11119
11120 2004-01-23  Michael Koch  <konqueror@gmx.de>
11121
11122         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11123
11124 2004-01-23  Michael Koch  <konqueror@gmx.de>
11125
11126         * java/lang/VMClassLoader.java: Reworked imports.
11127         
11128 2004-01-23  Michael Koch  <konqueror@gmx.de>
11129
11130         * javax/swing/AbstractAction.java: Reformated.
11131
11132 2004-01-23  Michael Koch  <konqueror@gmx.de>
11133
11134         * java/text/CollationElementIterator.java:
11135         (setText): New method.
11136
11137 2004-01-23  Michael Koch  <konqueror@gmx.de>
11138
11139         * gnu/java/nio/FileLockImpl.java:
11140         Fixed filename in copyright.
11141         (released): Removed.
11142         (finalize): New method.
11143         * gnu/java/nio/natFileLockImpl.cc
11144         (releaseImpl): Implemented.
11145         * java/nio/channels/FileChannelImpl.java:
11146         Reworked imports.
11147         (lock): Implemented.
11148         (lockImpl): New method.
11149         (tryLock): Implemented.
11150         (tryLockImpl): New method.
11151         * java/nio/channels/natFileChannelImpl.cc
11152         (lockImpl): New method.
11153         (tryLockImpl): New method.
11154
11155 2004-01-23  Michael Koch  <konqueror@gmx.de>
11156
11157         * java/io/FileDescriptor.java
11158         (lock): New method.
11159         (tryLock): New method.
11160         (unlock): New method.
11161         * java/io/natFileDescriptorEcos.cc
11162         (lock): New method.
11163         (tryLock): New method.
11164         (unlock): New method.
11165         * java/io/natFileDescriptorPosix.cc
11166         (lock): New method.
11167         (tryLock): New method.
11168         (unlock): New method.
11169         * java/io/natFileDescriptorWin32.cc
11170         (lock): New method.
11171         (tryLock): New method.
11172         (unlock): New method.
11173
11174 2004-01-23  Michael Koch  <konqueror@gmx.de>
11175
11176         * java/io/FileDescriptor.java
11177         (sync): Moved around, added javadoc.
11178         (valid): Likewise.
11179         (open): Likewise.
11180         (write): Likewise.
11181         (close): Likewise.
11182         (setLength): Likewise.
11183         (seek): Likewise.
11184         (getLength): Likewise.
11185         (getFilePointer): Likewise.
11186         (read): Likewise.
11187         (available): Likewise.
11188         (finalize): Likewise.
11189
11190 2004-01-23  Michael Koch  <konqueror@gmx.de>
11191
11192         * javax/swing/AbstractAction.java: Reformated.
11193         (getPropertyChangeListeners): New method.
11194         * javax/swing/AbstractCellEditor.java: Reformated.
11195         (getCellEditorListeners): New method.
11196         * javax/swing/DefaultListSelectionModel.java
11197         (listenerList): New field.
11198         (listeners): Removed.
11199         (get_listeners): Removed.
11200         (addListSelectionListener): Rewritten.
11201         (removeListSelectionListener): Rewritten.
11202         (getListSelectionListeners): New method.
11203         (getListeners): New method.
11204         * javax/swing/JComboBox.java: Imports reworked.
11205         (addActionListener): Implemented.
11206         (removeActionListener): Implemented.
11207         (addItemListener): Implemented.
11208         (removeItemListener): Implemented.
11209         (addPopupMenuListener): Implemented.
11210         (removePopupMenuListener): Implemented.
11211         (getActionListeners): New method.
11212         (getItemListeners): New method.
11213         (getPopupMenuListeners): New method.
11214
11215 2004-01-23  Michael Koch  <konqueror@gmx.de>
11216
11217         * gnu/java/net/protocol/http/Connection.java
11218         (connect): Don't initialize bufferedOutputStream if not needed.
11219         (sendRequest): Set property for content length if content is present.
11220         Write content only if present.
11221         (getOutputStream): Check if already connected, dont connect,
11222         initalize bufferedOutputStream if needed.
11223
11224 2004-01-23  Michael Koch  <konqueror@gmx.de>
11225
11226         * java/io/FileDescriptor.java
11227         (in, out, err): Added javadoc.
11228         (static): Merged loading code.
11229         (fd, position): Moved around.
11230
11231 2004-01-23  Michael Koch  <konqueror@gmx.de>
11232
11233         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11234         New file.
11235
11236 2004-01-23  Michael Koch  <konqueror@gmx.de>
11237
11238         * java/lang/Class.java,
11239         java/lang/Object.java,
11240         java/lang/Thread.java: Merged copyright with classpath.
11241
11242 2004-01-23  Michael Koch  <konqueror@gmx.de>
11243
11244         * java/io/FileDescriptor.java: Merged copyright with classpath to
11245         start merging this class.
11246
11247 2004-01-22  Tom Tromey  <tromey@redhat.com>
11248
11249         PR libgcj/13107:
11250         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11251         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11252         * testsuite/libjava.lang/pr13107_3.java: New file.
11253         * testsuite/libjava.lang/pr13107_3.out: New file.
11254         * testsuite/libjava.lang/pr13107_2.java: New file.
11255         * testsuite/libjava.lang/pr13107_2.out: New file.
11256         * testsuite/libjava.lang/pr13107.java: New file.
11257         * testsuite/libjava.lang/pr13107.out: New file.
11258         * verify.cc (jsr_ptrs): Removed.
11259         (entry_points): Likewise.
11260         (struct subr_info): Likewise.
11261         (struct subr_entry_info): Likewise.
11262         (type_val::unused_by_subroutine_type): Likewise.
11263         (type::merge): Don't handle unused_by_subroutine_type.
11264         (type::print): Likewise.
11265         (state::flags): Removed.
11266         (state::subroutine): Likewise.
11267         (state::seen_subrs): Likewise.
11268         (state::NO_STACK): Likewise.
11269         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11270         (state): Updated all methods.
11271         (state::clean_subrs): Removed.
11272         (state::state): Removed `ret_semantics' flag.
11273         (state::copy): Likewise.
11274         (state::add_subr): Removed.
11275         (state::enter_subroutine): Likewise.
11276         (type::set_return_address): New method.
11277         (handle_jsr_insn): Set return address on the type.  Always
11278         invalidate PC after call.
11279         (check_nonrecursive_call): Removed.
11280         (~_Jv_BytecodeVerifier): Updated.
11281         (branch_prepass): Removed special handling of jsr.
11282         (note_branch_target): Likewise.
11283         (get_subroutine): Removed.
11284         (state::merge): Don't merge subroutines and don't handle
11285         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11286         (state::note_variable): Removed.
11287         (state::is_unmerged_ret_state): Likewise.
11288         (state::print): Updated.
11289         (set_variable): Likewise.
11290         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11291         and jsr_semantics arguments.  Updated for new reverification
11292         list.
11293         (pop_jump): Rewrote.
11294         (construct_primitive_array_type): Updated.
11295         (state::next): Removed.
11296         (INVALID_STATE): New define.
11297         (state::INVALID): Removed.
11298         (state::NO_NEXT): New value.
11299         (state::pc, state::next): New fields.
11300         (state::get_pc): New method.
11301         (next_verify_pc): Removed.
11302         (next_verify_state): New field.
11303         (verify_instructions_0): Always check for falling off end.
11304         (linked): New type.
11305         (linked_utf8): Removed.
11306         (states): Changed type.
11307         (type::state_mergeable_p): New method.
11308         (state::state_mergeable_p): Likewise.
11309         (handle_ret_insn): Removed most code.
11310         (state::reverify): New method.
11311         (add_new_state): Likewise.
11312         (state::set_pc): Likewise.
11313
11314 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11315
11316         PR java/13733
11317         * testsuite/libjava.compile/PR13733.java: New file.
11318         * testsuite/libjava.compile/PR13733.xfail: New file.
11319
11320 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11321             Michael Koch  <konqueror@gmx.de>
11322
11323         * javax/swing/table/DefaultTableCellRenderer.java
11324         (DefaultTableCellRenderer): Added javadoc for the class and for
11325         the constructor, Border instance, create an EmptyBorder.
11326         (UIResource): Removed the comment at the end of the class
11327         (setForeground): New method.
11328         (setBackground): New method.
11329         (updateUI): New method.
11330         (getTableCellRendererComponent): Rewritten with the help of
11331         dvholten and Stephane Meslin-Weber.
11332         (validate): New method.
11333         (repaint): New method.
11334         (firePropertyChange): New method.
11335         (setValue): New method.
11336
11337 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11338
11339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11340         (connectJObject): Replace printf calls with g_assert statements.
11341         Move property-notify-event signal connection to ...
11342         (connectSignals): Connect property-notify-event signal.  Iterate
11343         through the vbox's children to find layout.
11344
11345 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11346         
11347         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11348         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11349         Predicate static initialization on GtkToolkit.useGraphics2D().
11350         * java/awt/Component.java (processPaintEvent): Consume event.
11351         * javax/swing/AbstractButton.java: Reimplement, document.
11352         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11353         * javax/swing/JComponent.java (paint): Use double buffer.
11354         (listenerList): Enable member.
11355         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11356         * javax/swing/JToggleButton.java 
11357         (JToggleButton): Modify model constructor.
11358         * javax/swing/SwingUtilities.java 
11359         (layoutCompoundLabel): Adjust arithmetic.
11360         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11361         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11362         (getPreferredButtonSize): Include margins in calculation.
11363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11364         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11365         Receive up events from subordinate layout component.
11366
11367 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11368
11369         * java/awt/Component.java (show): Set visible to true before
11370         showing the peer.
11371
11372 2004-01-21  Kim Ho  <kho@redhat.com>
11373
11374         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11375         Fix comments.
11376         (removeMenuBarPeer): Make package private.
11377         (setMenuBarPeer): Make package private.
11378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11379         (menubar_resize_cb): Mark attributes unused.
11380         (getMenuBarHeight): ditto.
11381
11382 2004-01-21  David Jee  <djee@redhat.com>
11383
11384         * java/awt/Container.java
11385         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11386         dispatching MOUSE_ENTERED event twice. Translate the point for
11387         the mouse event target before dispatching the event.
11388
11389 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11390
11391         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11392         lib_org_w3c_dom_la_LDFLAGS): New.
11393         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11394         * Makefile.in: Rebuilt.
11395
11396 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11397
11398         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11399         Calculate proper offsets for heavyweight components packed in
11400         lightweight containers.
11401
11402         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11404         (native create): Add width parameter.
11405         (create): Calculate text entry width based on current font's
11406         metrics and number of columns.  Set TextField's font if not
11407         already set.  Call native create.
11408         (gtkEntryGetBorderWidth): New native method.
11409         (gtkEntryGetSize): Remove method.
11410         (getMinimumSize): Call minimumSize.
11411         (getPreferredSize): Call preferredSize.
11412         (minimumSize): Calculate minimum size based on backing
11413         GtkEntry's borders, font metrics and number of columns.
11414         (preferredSize): Likewise for preferred size.
11415         (get_border_width): New static function.
11416
11417         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11418         Override GtkWindowPeer's setResizable method to account for menu
11419         bar height when setting the frame's size.
11420
11421 2004-01-19  Matthias Klose  <doko@debian.org>
11422
11423         * libtool-version: Increased `current' to 6.
11424
11425 2004-01-19  Kim Ho  <kho@redhat.com>
11426
11427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11428         (connectJObject): Iterate through the vbox's children to find layout.
11429
11430 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11431
11432         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11433         isDispatchThread method to replace wrong test condition.
11434
11435 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11436
11437         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11438         events to the queue out of order by acquiring locks in the proper
11439         order and not by releasing one before acquiring the other.
11440
11441 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11442
11443         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11444         visible so that dialog can be reused.
11445
11446 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11447
11448         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11449         events may be handled by any queue in the stack.
11450
11451 2004-01-19  Kim Ho  <kho@redhat.com>
11452
11453         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11454         MenuBarPeer parameter.
11455         (removeMenuBarPeer): New native method.
11456         (setMenuBar): Call remove if menu bar is null. Adjust insets
11457         appropriately.
11458         (postSizeAllocateEvent): New method. Called when menu bar size is
11459         allocated. Adjust insets and redo layout.
11460         (GtkFramePeer): Set menu bar during frame creation.
11461         (postConfigureEvent): Adjust position and size to accomodate
11462         menu bar.
11463         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11464         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11465         (addNotify): Create the peer if it doesn't exist and call addNotify
11466         for the menu's items.
11467         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11468         * java/awt/MenuItem.java (addNotify): Create the peer if it
11469         doesn't exist.
11470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11471         (removeMenuBarPeer): New method. Remove menu bar on the current
11472         frame.
11473         (setMenuBarPeer): Add the menu bar to the current frame and the
11474         callback for size-allocate events on the menu bar.
11475         (getMenuBarHeight): Add menu bar parameter.
11476         (menubar_resize_cb): New callback method for postSizeAllocate events.
11477
11478         Also: Fix indentation on last ChangeLog entry.
11479
11480 2004-01-16  Kim Ho  <kho@redhat.com>
11481
11482         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11483         (gtkWidgetGetDimensions): Remove.
11484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11485         (gtkWidgetGetDimensions): Remove.
11486
11487 2004-01-16  Tom Tromey  <tromey@redhat.com>
11488
11489         * java/awt/Container.java: Typo and indentation fixes.
11490
11491         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11492         * java/lang/natVMClassLoader.cc: ...here.  New file.
11493         * Makefile.in: Rebuilt.
11494         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11495
11496 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11497
11498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11499         Discard GDK_ENTER_NOTIFY related to ungrabs.
11500
11501 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11502
11503         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11504         is called for an intermediate queue.
11505
11506 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11507
11508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11509         (window_property_changed_cb): Set id_set.
11510
11511 2004-01-16  Kim Ho  <kho@redhat.com>
11512
11513         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11514         it is a FileDialog and has dimensions of 0 by 0, then the initial
11515         size is set to size request plus insets.
11516         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11517         (gtkWidgetGetDimensions): Override method.
11518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11519         (gtkWidgetGetDimensions): Override method. Returns size request plus
11520         insets.
11521
11522 2004-01-16  Andrew Haley  <aph@redhat.com>
11523
11524         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11525         * sysdep/i386/locks.h: Likewise.
11526
11527 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11528
11529         * java/awt/EventDispatchThread.java (run): Stop running when
11530         interrupted.
11531         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11532         Reset the queue after transferring its contents.
11533         (push): Start a new dispatch thread if none is running.
11534
11535 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11536
11537         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11538         (doPolygon): set fill rule of polygon to 
11539         WIND_EVEN_ODD by default.
11540
11541 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11542
11543         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11544         Implemented rendering hints related methods.
11545         (getDefaultHints): New helper method. Returns
11546         default rendering hints.
11547         (walkPath): changed to normalize path if
11548         the KEY_STROKE_CONTROL key is in "normalize" mode.
11549         (draw3DRect): changed coordinates of rectangle by +0.5
11550         if in "normalize" mode.
11551
11552 2004-01-15  Tom Tromey  <tromey@redhat.com>
11553
11554         * Makefile.in: Rebuilt.
11555         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11556         (%.lo: %.java) Filter out StackTrace.lo.
11557
11558 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11559
11560         * configure.in: Add in AC_PREREQ(2.13)
11561         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11562         FIXME comment.
11563
11564 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11565             Tom Tromey  <tromey@redhat.com>
11566
11567         PR libgcj/12001:
11568         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11569         array to superclass.
11570         (init): Changed interface; add URLs here.
11571         (initialize): New static method.
11572         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11573         (_Jv_RunMain): ... not here.
11574
11575 2004-01-14  Michael Koch  <konqueror@gmx.de>
11576
11577         * java/text/MessageFormat.java:
11578         Added descriptions to exceptions.
11579         This fixes PR libgcj/2429.
11580
11581 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11582
11583         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11584         (push): Make sure push is performed at the top of the thread stack.
11585
11586 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11587
11588         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11589         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11590         (native create): Add width and height parameters.  Set text
11591         view's size request according to new parameters.
11592         (create): Calculate text view size based on current font's
11593         metrics and number of rows and columns.  Set TextArea's font if
11594         not already set.  Call native create.
11595         (getMinimumSize): Call minimumSize.
11596         (getPreferredSize): Call preferredSize.
11597         (getHScrollbarHeight): New method.
11598         (getVScrollbarWidth): New method.
11599         (minimumSize): Calculate minimum size based on scrollbar
11600         visibility, scrollbar sizes, font metrics and number of rows and
11601         columns.
11602         (preferredSize): Likewise for preferred size.
11603         (gtkTextGetSize): Remove method.
11604
11605 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11606
11607         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11608         (initializeInsets): Remove method.
11609         (GtkComponentPeer): Initialize insets field.  Remove call to
11610         initializeInsets.
11611         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11612         Remove method.
11613         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11614         Remove method.
11615         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11617         (latestInsets): Remove field.
11618         (native create): Add insets parameter.  Call
11619         window_get_frame_extents.  Set the window's default size and
11620         size request based on its frame extents.
11621         (create): Initialize insets.
11622         (postInsetsChangedEvent): New method.
11623         (postConfigureEvent): Remove parameters top, left, bottom,
11624         right.  Remove insets-related logic.
11625         (connectJObject): Handle property-notify-event.
11626         (window_get_frame_extents, request_frame_extents,
11627         property_notify_predicate, window_property_changed_cb): New
11628         static functions.
11629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11630         (pre_event_handler): Remove insets-related logic for configure
11631         events.
11632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11633         Update postConfigureEvent signature.
11634
11635 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11636  
11637         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11638         to handle Window "Closing" events.
11639  
11640 2004-01-13  David Jee  <djee@redhat.com>
11641
11642         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11643         (setBackground): New method. Children with no explicitly-set
11644         background will be repainted with the parent container's new
11645         background color.
11646
11647 2004-01-13  David Jee  <djee@redhat.com>
11648
11649         * Makefile.am: Add BitwiseXORComposite.java.
11650         * Makefile.in: Regenerated.
11651         * gcj/Makefile.in: Regenerated.
11652         * include/Makefile.in: Regenerated.
11653         * testsuite/Makefile.in: Regenerated.
11654
11655 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11656
11657         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11658         not show modal dialogs twice and so that it allows showing a modal
11659         dialog from another modal dialog.
11660
11661 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11662
11663         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11664         and run secondary dispatch thread to process event queue while this
11665         thread is blocked.
11666
11667 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11668
11669         * gnu/java/awt/gtk/GdkGraphics2D.java
11670         (static): Check GtkToolkit before initializing static state.
11671         (Graphics2D): Don't construct transform with 0.5 unit offset.
11672
11673 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11674
11675         * gnu/java/awt/BitwiseXORComposite.java: Add.
11676         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11677         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11678         (BitwiseXORComposite): Remove inner class.
11679
11680 2004-01-11  Michael Koch  <konqueror@gmx.de>
11681
11682         * gnu/java/lang/reflect/TypeSignature.java
11683         (getEncodingOfClass): Documentation fixed.
11684         (getClassForEncoding): Give class loader to Class.forName().
11685         Documentation fixed.
11686
11687 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11688
11689         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11690
11691 2004-01-11  Michael Koch  <konqueror@gmx.de>
11692
11693         * javax/swing/undo/StateEditable.java
11694         (RCSID): Removed redundant modifiers.
11695
11696 2004-01-10  Michael Koch  <konqueror@gmx.de>
11697
11698         * javax/print/attribute/EnumSyntax.java
11699         (getStringTable): Made protected.
11700         (getEnumValueTable): Likewise.
11701         * javax/print/attribute/standard/JobKOctetsProcessed.java
11702         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11703         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11704         (JobMediaSheetsCompleted): Made class final.
11705         * javax/print/attribute/standard/OutputDeviceAssigned.java
11706         (getName): Fixed typo.
11707         * javax/print/attribute/standard/RequestingUserName.java
11708         (serialVersionUID): Fixed value.
11709
11710 2004-01-10  Michael Koch  <konqueror@gmx.de>
11711
11712         * javax/swing/plaf/basic/BasicButtonUI.java,
11713         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11714         javax/swing/plaf/basic/BasicListUI.java,
11715         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11716         javax/swing/plaf/basic/BasicPanelUI.java,
11717         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11718         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11719         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11720         javax/swing/plaf/basic/BasicViewportUI.java:
11721         Fixed import statements.
11722
11723 2004-01-10  Michael Koch  <konqueror@gmx.de>
11724
11725         * gnu/java/awt/image/ImageDecoder.java
11726         (produce): Made public.
11727         * gnu/java/awt/peer/GLightweightPeer.java,
11728         gnu/java/awt/peer/gtk/GtkToolkit.java:
11729         Reformated.
11730
11731 2004-01-10  Michael Koch  <konqueror@gmx.de>
11732
11733         * javax/swing/JRadioButtonMenuItem.java,
11734         javax/swing/JSeparator.java,
11735         javax/swing/JSplitPane.java,
11736         javax/swing/JTextPane.java,
11737         javax/swing/JToolBar.java,
11738         javax/swing/ListCellRenderer.java,
11739         javax/swing/ListModel.java,
11740         javax/swing/MenuElement.java,
11741         javax/swing/OverlayLayout.java,
11742         javax/swing/ProgressMonitor.java,
11743         javax/swing/ProgressMonitorInputStream.java,
11744         javax/swing/Renderer.java,
11745         javax/swing/RootPaneContainer.java,
11746         javax/swing/Scrollable.java,
11747         javax/swing/SingleSelectionModel.java,
11748         javax/swing/ToolTipManager.java,
11749         javax/swing/ViewportLayout.java,
11750         javax/swing/event/DocumentEvent.java,
11751         javax/swing/event/SwingPropertyChangeSupport.java,
11752         javax/swing/event/TreeSelectionEvent.java,
11753         javax/swing/event/UndoableEditEvent.java,
11754         javax/swing/text/AbstractDocument.java,
11755         javax/swing/text/AttributeSet.java,
11756         javax/swing/text/Caret.java,
11757         javax/swing/text/ComponentView.java,
11758         javax/swing/text/DefaultCaret.java,
11759         javax/swing/text/DefaultEditorKit.java,
11760         javax/swing/text/Document.java,
11761         javax/swing/text/EditorKit.java,
11762         javax/swing/text/GapContent.java,
11763         javax/swing/text/Keymap.java,
11764         javax/swing/text/MutableAttributeSet.java,
11765         javax/swing/text/PlainEditorKit.java,
11766         javax/swing/text/Segment.java,
11767         javax/swing/text/Style.java,
11768         javax/swing/text/StyledDocument.java,
11769         javax/swing/text/StyledEditorKit.java,
11770         javax/swing/text/TextAction.java,
11771         javax/swing/text/View.java: Fixed import statements.
11772
11773 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11774
11775         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11776         djee@redhat.com's recent inverse ordering of Container elements.
11777
11778 2004-01-09  Michael Koch  <konqueror@gmx.de>
11779
11780         * gnu/java/lang/ArrayHelper.java
11781         (equalsArray): Removed.
11782
11783 2004-01-09  Andrew Haley  <aph@redhat.com>
11784
11785         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11786         a Utf8Const field before looking at its class.
11787
11788 2004-01-09  Michael Koch  <konqueror@gmx.de>
11789
11790         * javax/print/attribute/standard/DocumentName.java,
11791         javax/print/attribute/standard/JobHoldUntil.java,
11792         javax/print/attribute/standard/JobMessageFromOperator.java,
11793         javax/print/attribute/standard/JobName.java,
11794         javax/print/attribute/standard/JobOriginatingUserName.java,
11795         javax/print/attribute/standard/OutputDeviceAssigned.java,
11796         javax/print/attribute/standard/PrinterInfo.java,
11797         javax/print/attribute/standard/PrinterLocation.java,
11798         javax/print/attribute/standard/PrinterMakeAndModel.java,
11799         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11800         javax/print/attribute/standard/PrinterName.java,
11801         javax/print/attribute/standard/RequestingUserName.java: New files.
11802         * Makefile.am (javax_source_files): Added new files.
11803         * Makefile.in: Regenerated.
11804
11805 2004-01-09  Michael Koch  <konqueror@gmx.de>
11806
11807         * javax/swing/AbstractAction.java,
11808         javax/swing/AbstractSet.java,
11809         javax/swing/Action.java,
11810         javax/swing/ActionMap.java,
11811         javax/swing/BoundedRangeModel.java,
11812         javax/swing/ButtonModel.java,
11813         javax/swing/CellEditor.java,
11814         javax/swing/CellRendererPane.java,
11815         javax/swing/ComboBoxEditor.java,
11816         javax/swing/DebugGraphics.java,
11817         javax/swing/DefaultCellEditor.java,
11818         javax/swing/DefaultCellRenderer.java,
11819         javax/swing/DefaultComboBoxModel.java,
11820         javax/swing/DefaultDesktopManager.java,
11821         javax/swing/DefaultFocusManager.java,
11822         javax/swing/DefaultListCellRenderer.java,
11823         javax/swing/Icon.java,
11824         javax/swing/JButton.java,
11825         javax/swing/JCheckBoxMenuItem.java,
11826         javax/swing/JDesktopPane.java,
11827         javax/swing/JEditorPane.java,
11828         javax/swing/JMenu.java,
11829         javax/swing/JPanel.java,
11830         javax/swing/JPasswordField.java,
11831         javax/swing/JPopupMenu.java,
11832         javax/swing/JProgressBar.java: Reworked imports.
11833
11834 2004-01-09  Michael Koch  <konqueror@gmx.de>
11835
11836         * java/awt/geom/PathIterator.java
11837         (WIND_EVEN_ODD): Removed redundant modifiers.
11838         (WIND_NON_ZERO): Likewise.
11839         (SEG_MOVETO): Likewise.
11840         (SEG_LINETO): Likewise.
11841         (SEG_QUADTO): Likewise.
11842         (SEG_CUBICTO): Likewise.
11843         (SEG_CLOSE): Likewise.
11844         * java/awt/image/SinglePixelPackedSampleModel.java:
11845         Removed redundant semicolon.
11846         * java/io/ObjectInputStream.java
11847         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11848         * java/util/logging/Filter.java
11849         (isLoggable): Removed redundant modifier.
11850         * java/util/logging/LogManager.java:
11851         Removed redundant semicolon.
11852         * java/util/logging/XMLFormatter.java
11853         (format): Removed unused variable "key".
11854
11855 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11856
11857         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11858         New name for the former setFile native method.
11859         (setFile): New method.
11860         (setDirectory): Implemented.
11861         (connectSignals): New native method.
11862         (setFilenameFilter): Improve comment.
11863         (getGraphics): Comment.
11864         (gtkHideFileDialog): New method.
11865         (gtkDisposeFileDialog): New method.
11866         (gtkSetFilename): New method.
11867         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11868         for FileDialog for now.
11869         (hide): New method.
11870         (dispose): New method.
11871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11872         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11873         deprecated creation functions.  Make dialog modal.  Add it to the
11874         window group.
11875         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11876         function.
11877         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11878         Rename to...
11879         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11880         name.
11881         (window_closed): New function.
11882         (ok_clicked): New function.
11883         (cancel_clicked): New function.
11884
11885 2004-01-08  Michael Koch  <konqueror@gmx.de>
11886
11887         * javax/swing/JLayeredPane.java: Revert changes to standard
11888         boilerplate, reworked imports.
11889
11890 2004-01-07  Tom Tromey  <tromey@redhat.com>
11891
11892         PR libgcj/13439:
11893         * verify.cc (state::merge): Copy changed locals out of subroutine
11894         in NO_STACK case.
11895         (state::FLAG_CHANGED): New const.
11896         (state::FLAG_UNUSED): Likewise.
11897         (state::local_changed): Removed.  Updated all users.
11898         (state::flags): New field.
11899         (state::merge): Added jsr_semantics argument, more logic.
11900         (push_jump_merge): Added jsr_semantics argument.
11901         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11902         merging through the jsr instruction.
11903
11904 2004-01-07  Tom Tromey  <tromey@redhat.com>
11905
11906         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11907         backslash-newline.
11908
11909 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11910
11911         * java/awt/Container.java (LightweightDispatcher): Implement.
11912         (visitChild): Reuse graphics object.
11913         (dispatchEventImpl): Optionally dispatch to lightweight.
11914         (addNotifyContainerChildren): Build LightweightDispatcher.
11915
11916 2004-01-07  David Jee  <djee@redhat.com>
11917
11918         * java/awt/Container.java
11919         (update): Clear only the clipped region, instead of clearing the
11920         entire Container.
11921         (visitChildren): Visit children in descending order.
11922
11923 2004-01-07  Michael Koch  <konqueror@gmx.de>
11924
11925         * java/lang/reflect/Array.java: Merged documentation with classpath.
11926
11927 2004-01-07  Michael Koch  <konqueror@gmx.de>
11928
11929         * java/text/CollationElementIterator.java
11930         (textIndex): Renamed from index.
11931         * java/text/CollationKey.java
11932         (collator): New member.
11933         (CollationKey): New argument for parent collator.
11934         (equals): Check for same collator, source string and key array.
11935         * java/text/RuleBasedCollator.java:
11936         Reformated.
11937         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11938         value.
11939         (getCollationElementIterator): Rewritten.
11940         (getCollationKey): Added new argument to CollationKey constructor.
11941
11942 2004-01-07  Michael Koch  <konqueror@gmx.de>
11943
11944         * gnu/java/nio/DatagramChannelImpl.java
11945         (blocking): Removed.
11946         (DatagramChannelImpl): Call configureBlocking().
11947         (implConfigureBlocking): Dont initialize blocking.
11948         * gnu/java/nio/ServerSocketChannelImpl.java
11949         (blocking): Removed.
11950         (ServerSocketChannelImpl): Call configureBlocking().
11951         (implConfigureBlocking): Dont initialize blocking.
11952         * gnu/java/nio/SocketChannelImpl.java
11953         (blocking): Removed.
11954         (SocketChannelImpl): Call configureBlocking().
11955         (implConfigureBlocking): Dont initialize blocking.
11956         (connect): Use isBlocking().
11957         * java/nio/channels/spi/AbstractSelectableChannel.java
11958         (configureBlocking): Use blockingLock() instead of LOCK.
11959         Set blocking after successfully called implConfigureBlocking().
11960         (register): Use blockingLock() instead of LOCK.
11961
11962 2004-01-07  Michael Koch  <konqueror@gmx.de>
11963
11964         * java/net/ServerSocket.java (isBound): Fixed documentation.
11965
11966 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11967
11968         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11969         (changeEvent): Create event object on demand.
11970         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11971         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11972         fireStateChanged): Re-written.
11973         * javax/swing/event/EventListenerList.java: Reformatted, document
11974         typical usage.
11975         (toString): Implemented.
11976         (getListeners): Re-written.
11977         (remove): Re-written.
11978         (add): Re-written.
11979         (NO_LISTENERS): New singleton field.
11980         (listenerList): Declare as transient; document.
11981         (serialVersionUID): Document.
11982         (getListenerCount(Class)): More efficient implementation,
11983         also accepts null argument.  Improve Javadoc.
11984         (getListenerCount()): Remove unnecessary cast; docfix.
11985         * javax/swing/undo/UndoableEditSupport.java:
11986         Re-format, document.
11987         (UndoableEditSupport): Set realSource field. Improve documentation.
11988         (_postEdit): Iterate over cloned listener vector.
11989         (toString): Don't emit realSource.
11990         (beginUpdate, endUpdate): Support nested updates.
11991         (postEdit): Use compound edit if present.
11992
11993 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11994
11995         * java/awt/Container.java (swapComponents): Add forgotten
11996         function, required for JLayeredPane change.
11997
11998 2004-01-06  Michael Koch  <konqueror@gmx.de>
11999
12000         * java/text/CollationElementIterator.java: Reformated.
12001         (CollationElementIterator): Changed order of arguments.
12002         * java/text/RuleBasedCollator.java
12003         (RuleBasedCollator): Merged class documentation.
12004         (CollationElement): Added documentation.
12005         (compare): Reformated, renamed arguments.
12006         (equals): Likewise.
12007         (getCollationElementIterator): Likewise.
12008         (getCollationKey): Likewise.
12009
12010 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12011
12012         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12013
12014 2004-01-06  Michael Koch  <konqueror@gmx.de>
12015
12016         * gnu/java/net/protocol/file/Connection.java:
12017         Reformated copyright.
12018         (hdrHash): Removed.
12019         (hdrVec): Removed.
12020         (gotHeaders): Removed.
12021         (getHeaderField): Removed.
12022         (getHeaderField): Removed.
12023         (getHeaderFieldKey): Removed.
12024         (getKey): Removed.
12025         (getField): Removed.
12026         (getHeaders): Removed.
12027
12028 2004-01-06  Michael Koch  <konqueror@gmx.de>
12029
12030         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12031         javax/print/attribute/standard/DateTimeAtCreation.java,
12032         javax/print/attribute/standard/DateTimeAtProcessing.java,
12033         javax/print/attribute/standard/JobImpressionsCompleted.java,
12034         javax/print/attribute/standard/JobKOctets.java,
12035         javax/print/attribute/standard/JobKOctetsProcessed.java,
12036         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12037         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12038         * Makefile.am (javax_source_files): Added new files.
12039         * Makefile.in: Regenerated.
12040
12041 2004-01-06  Michael Koch  <konqueror@gmx.de>
12042
12043         * java/net/URLConnection.java
12044         (contentHandler): Removed.
12045         (locale): Removed.
12046         (getHeaderFields): Return an empty map instead of null.
12047         (getContent): Connect if needed, renamed "cType" to "type" and
12048         "contentHandler" to "ch" and made it a local variable.
12049         (getPermission): Don't use package in class name.
12050         (setDefaultRequestProperty): Fixed typo in documentation.
12051         (initializeDateFormats): Made locale a local variable.
12052
12053 2004-01-06  Michael Koch  <konqueror@gmx.de>
12054
12055         * java/lang/Package.java
12056         (getPackage): Get the current class loader directly.
12057         * java/lang/SecurityManager.java
12058         (currentLoadedClass): Dont iterate over class contexts.
12059         (classLoaderDepth): Don't check class loaders if everything is allowed.
12060
12061 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12062
12063         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12064         (pre_event_handler): Set all insets to 0 when a Configure event
12065         is received for a GtkPlug.
12066         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12067         Make handle long, not int.
12068         (EmbeddedWindow()): New constructor.
12069         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12070         long, not int.
12071         (setHandle): New method.
12072         (getHandle): Return long, not int.
12073         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12074         declaration.
12075         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12076         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12077         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12078         argument to GdkNativeWindow.
12079         (construct): New method.
12080         (embed): New method.
12081
12082         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12083         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12084         (create(int, int)): New method.
12085         (create): Call new create method.
12086         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12087         methods.
12088         (childResized): Remove native implementation.  Implement in
12089         Java.
12090         (getHScrollbarHeight, getVScrollbarWidth): Call
12091         gtk_widget_size_request to get scrollbar dimensions.
12092         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12093         call getVScrollbarWidth and getHScrollbarHeight when vertical
12094         and horizontal scrollbars respectively are needed.
12095         (doLayout): Enlarge child if it is smaller than the viewport.
12096
12097 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12098
12099         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12100         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12101         argument as per spec.
12102
12103 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12104
12105         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12106         (insert): Ditto.
12107         (remove): Ditto.  Also, Check for valid argument.
12108         (removeAll): Use peer interface method.
12109         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12110         native add function.
12111         (nativeRemove): New name for native remove function.
12112         (getHistory): New native function.
12113         (constructor): Generate ItemEvent.
12114         (add): Ditto, if selection is changed.
12115         (remove): Ditto, ditto.
12116         (removeAll): Add implementation.
12117         (handleEvent): Remove.  Dead code.
12118         (choicePostItemEvent): Add comment.
12119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12120         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12121         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12122         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12123         comments and fix condition to change selection.
12124         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12125         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12126         remove all capability.
12127         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12128         (item_activate): Add cast to remove compiler warning.
12129
12130 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12131
12132         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12133         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12134         (getPreferredSize): Call preferredSize.
12135         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12136         (getMinimumSize): Call minimumSize.
12137         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12138         (gtkWidgetGetDimensions): Return the peer widget's current size
12139         request.
12140         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12141         natural size request.
12142
12143 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12144
12145         Thanks to Brian Gough <bjg@network-theory.com>
12146         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12147         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12148
12149 2004-01-04  Matthias Klose  <doko@debian.org>
12150
12151         * aclocal.m4: Rebuilt using "aclocal -I .".
12152         * configure: Rebuilt.
12153
12154 2004-01-03  Per Bothner  <per@bothner.com>
12155
12156         * java/util/Date.java (parse):  Fix a number of problems.
12157         (skipParens):  Remove no-longer-needed method.
12158