OSDN Git Service

* lib/gcc-dg.exp (dg-skip-if): New function.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-17  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/Socket.java (getPort): Return 0 in error case.
4
5 2004-11-17  Michael Koch  <konqueror@gmx.de>
6
7         *  java/nio/DirectByteBufferImpl.java
8         (owner): Updated comment.
9         (allocate): New method.
10
11 2004-11-17  Michael Koch  <konqueror@gmx.de>
12
13         * java/net/URL.java (URL): Handle case when argument is null.
14
15 2004-11-17  Michael Koch  <konqueror@gmx.de>
16
17         * java/beans/Beans.java,
18         java/beans/PropertyChangeEvent.java,
19         java/beans/PropertyEditorSupport.java:
20         Fixed javadocs.
21
22 2004-11-17  Michael Koch  <konqueror@gmx.de>
23
24         * java/util/Timer.java (DEFAULT_SIZE): Made static.
25
26 2004-11-17  Michael Koch  <konqueror@gmx.de>
27
28         * java/net/InetAddress.java (getCanonicalHostName):
29         Support IPv6 addresses.
30
31 2004-11-16  Michael Koch  <konqueror@gmx.de>
32
33         * java/lang/Object.java: Added javadocs all over (merged from GNU
34         classpath).
35
36 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
37
38         * java/security/Security.java (Security): Silence the warning about no
39         providers found in the no debug case.
40
41 2004-11-16  Michael Koch  <konqueror@gmx.de>
42
43         * java/net/InetAddress.java
44         (toString): Merged from GNU classpath.
45
46 2004-11-16  Michael Koch  <konqueror@gmx.de>
47
48         * java/awt/geom/doc-files/Area-1.png,
49         java/awt/geom/doc-files/Ellipse-1.png,
50         java/awt/geom/doc-files/GeneralPath-1.png:
51         New files.
52
53 2004-11-16  Michael Koch  <konqueror@gmx.de>
54
55         * java/util/Currency.java (cache): Fix modifier order.
56
57 2004-11-16  Michael Koch  <konqueror@gmx.de>
58
59         * java/io/BufferedReader.java,
60         java/io/FileInputStream.java,
61         java/io/FileOutputStream.java,
62         java/io/FileWriter.java,
63         java/io/OutputStreamWriter.java,
64         java/io/PipedInputStream.java,
65         java/io/PipedOutputStream.java,
66         java/io/PipedReader.java,
67         java/io/PipedWriter.java,
68         java/io/PrintStream.java,
69         java/io/PushbackInputStream.java,
70         java/io/RandomAccessFile.java,
71         java/io/Reader.java,
72         java/io/StreamTokenizer.java,
73         java/io/StringReader.java,
74         java/net/NetworkInterface.java,
75         java/net/URLClassLoader.java,
76         java/nio/ByteOrder.java,
77         java/nio/channels/Channel.java:
78         Fixed javadocs all over.
79
80 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
81
82         * Makefile.am: Add imported files.
83         * Makefile.in: Regenerate.
84
85         2004-10-24  Casey Marshall  <csm@gnu.org>
86
87         * javax/security/auth/login/LoginContext.java: Implemented.
88         * javax/security/auth/login/Configuration.java (getConfig): New method.
89         * javax/security/auth/spi/LoginModule.java,
90         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
91
92 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
93
94         Import/Merge the X.509 certificate code from Classpath.
95
96         * Makefile.am: Add imported files.
97         * Makefile.in: Regenerate.
98
99         2004-11-07  Casey Marshall  <csm@gnu.org>
100
101         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
102         priviliged action. Add new algorithms.
103         * gnu/java/security/provider/X509CertificateFactory.java
104         (engineGenerateCertificate): Chain exceptions.
105         (engineGenerateCertificates): Likewise.
106         (engineGenerateCRL): Likewise.
107         (engineGenerateCRLs): Likewise.
108         (engineGenerateCertPath): New methods.
109         (generateCert): Throw exception if 'inStream' is null.
110         (generateCRL): Likewise.
111         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
112         version from GNU Crypto CVS.
113         * gnu/java/security/x509/X509CRL.java: Likewise.
114         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
115         * gnu/java/security/x509/X509Certificate.java: Likewise.
116         * java/security/cert/TrustAnchor.java: Call 'toString' and not
117         toRFC2253.
118         * gnu/java/security/provider/CollectionCertStoreImpl.java,
119         * gnu/java/security/provider/EncodedKeyFactory.java,
120         * gnu/java/security/provider/GnuDHPublicKey.java,
121         * gnu/java/security/provider/GnuRSAPrivateKey.java,
122         * gnu/java/security/provider/GnuRSAPublicKey.java,
123         * gnu/java/security/provider/MD2withRSA.java,
124         * gnu/java/security/provider/MD4withRSA.java,
125         * gnu/java/security/provider/MD5withRSA.java,
126         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
127         * gnu/java/security/provider/RSA.java,
128         * gnu/java/security/provider/RSAKeyFactory.java,
129         * gnu/java/security/provider/SHA1withRSA.java,
130         * gnu/java/security/x509/GnuPKIExtension.java,
131         * gnu/java/security/x509/PolicyNodeImpl.java,
132         * gnu/java/security/x509/Util.java,
133         * gnu/java/security/x509/X509CRLSelectorImpl.java,
134         * gnu/java/security/x509/X509CertPath.java,
135         * gnu/java/security/x509/X509CertSelectorImpl.java,
136         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
137         * gnu/java/security/x509/ext/BasicConstraints.java,
138         * gnu/java/security/x509/ext/CRLNumber.java,
139         * gnu/java/security/x509/ext/CertificatePolicies.java,
140         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
141         * gnu/java/security/x509/ext/Extension.java,
142         * gnu/java/security/x509/ext/GeneralNames.java,
143         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
144         * gnu/java/security/x509/ext/KeyUsage.java,
145         * gnu/java/security/x509/ext/PolicyConstraint.java,
146         * gnu/java/security/x509/ext/PolicyMappings.java,
147         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
148         * gnu/java/security/x509/ext/ReasonCode.java,
149         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
150         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
151
152         2004-11-07  Casey Marshall  <csm@gnu.org>
153
154         * gnu/java/security/x509/X509CRL.java:
155         Missed import statements in previous checkin.
156
157         2004-11-07  Casey Marshall  <csm@gnu.org>
158
159         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
160         to 'X509CertificateImpl' from previous checkin.
161
162 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
163
164         PR other/14264
165         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
166
167 2004-11-11  Casey Marshall  <csm@gnu.org>
168
169         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
170         channel is open.
171         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
172         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
173
174 2004-11-11  Robert Schuster <thebohemian@gmx.net>
175
176         Fixed regression:
177         * gnu/java/beans/IntrospectionIncubator.java:
178         (addMethod): Corrected classification of normal and property methods.
179         (capitalize): Added documentation.
180         (DoubleKey): [class] Added documentation.
181
182 2004-11-09  Tom Tromey  <tromey@redhat.com>
183
184         * include/jni.h: Added FIXME.
185
186 2004-11-08  Tom Tromey  <tromey@redhat.com>
187
188         * java/util/GregorianCalendar.java: Removed unused imports.
189         * java/util/Vector.java: Removed unused import.
190
191 2004-11-07  Michael Koch  <konqueror@gmx.de>
192
193         * java/lang/Process.java:
194         Import cleanups.
195
196 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
197
198         * java/util/zip/ZipEntry.java
199         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
200
201 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
202
203         Fixes bug #10908
204         * gnu/java/beans/IntrospectionIncubator.java:
205         (addMethod): static methods are discarded now, too.
206
207 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
208
209         * java/util/GregorianCalendar.java
210         Added/amended documentation.
211
212 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
213
214         * java/util/Collections.java
215         Added documentation.
216         * java/util/SortedMap.java
217         Clarified some method examples.
218         * java/util/SortedSet.java
219         Clarified some method examples.
220
221 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
222
223         * java/util/Currency.java
224         Documented variables and methods more fully.
225         Caches the currency instances, so that a request
226         for a locale, l, only ever returns the same
227         instance (i.e. successive calls to getInstance(l)
228         are reference equivalent (==)).
229
230 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
231
232         * java/util/Date.java
233         Added missing documentation.
234
235 2004-11-06  Michael Koch  <konqueror@gmx.de>
236
237         * java/util/zip/CheckedInputStream.java,
238         java/util/zip/InflaterInputStream.java,
239         java/util/zip/ZipFile.java,
240         java/util/zip/ZipInputStream.java:
241         Import cleanups.
242
243 2004-11-06  Tom Tromey  <tromey@redhat.com>
244
245         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
246         package-private.
247         (connections): Likewise.
248         (scavenger): Likewise.
249         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
250         package-private.
251         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
252         package-private.
253         (ptr): Likewise.
254         * gnu/classpath/ServiceFactory.java (log): Now package-private.
255
256 2004-11-06  Tom Tromey  <tromey@redhat.com>
257
258         * javax/naming/directory/BasicAttributes.java (attributes): Now
259         package-private.
260         * javax/imageio/spi/ServiceRegistry.java (categories): Now
261         package-private.
262
263 2004-11-06  Tom Tromey  <tromey@redhat.com>
264
265         * java/net/URLClassLoader.java (URLClassLoader): Now
266         package-private.
267         * java/nio/charset/CoderResult.java (CoderResult): Now
268         package-private.
269         (get): Likewise.
270         (Cache): Likewise.  Don't synchronize on `this'.
271         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
272         package-private.
273         * java/util/TimeZone.java (timezones): Now package-private.
274
275 2004-11-06  Tom Tromey  <tromey@redhat.com>
276
277         * java/security/Permissions.java (perms): Now package-private.
278         * java/security/UnresolvedPermission.java (permissions): Now
279         package-private.
280
281 2004-11-06  Tom Tromey  <tromey@redhat.com>
282
283         * java/io/FilePermission.java: Reindented.
284
285 2004-11-06  Tom Tromey  <tromey@redhat.com>
286
287         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
288         package-private.
289         (setBlockDataMode): Likewise.
290
291 2004-11-06  Tom Tromey  <tromey@redhat.com>
292
293         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
294         package-private.
295         (Encoder): Likewise.
296         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
297         (Encoder): Likewise.
298         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
299         package-private.
300         (Encoder): Likewise.
301
302 2004-11-06  Mark Wielaard  <mark@klomp.org>
303
304         * Makefile.am: Add new javax.imageio files.
305         * Makefile.in: Regenerated.
306
307 2004-11-06  Michael Koch  <konqueror@gmx.de>
308
309         * javax/imageio/event/IIOReadProgressListener.java,
310         javax/imageio/event/IIOReadUpdateListener.java,
311         javax/imageio/event/IIOReadWarningListener.java,
312         javax/imageio/event/IIOWriteProgressListener.java,
313         javax/imageio/event/IIOWriteWarningListener.java,
314         javax/imageio/metadata/IIOMetadataFormat.java,
315         javax/imageio/stream/FileCacheImageInputStream.java,
316         javax/imageio/stream/FileCacheImageOutputStream.java,
317         javax/imageio/stream/ImageInputStreamImpl.java:
318         Import cleanup.
319         * javax/imageio/metadata/package.html: New file.
320
321 2004-11-06  Michael Koch  <konqueror@gmx.de>
322
323         * javax/imageio/spi/ImageReaderSpi.java
324         (isOwnReader): New method.
325         * javax/imageio/spi/ImageWriterSpi.java
326         (isOwnWriter): Likewise.
327
328 2004-11-06  Michael Koch  <konqueror@gmx.de>
329
330         * javax/imageio/ImageWriter.java
331         (convertImageMetadata): New abstract method.
332         (convertStreamMetadata): Likewise.
333         (write): Likewise.
334         * javax/imageio/stream/FileCacheImageInputStream.java
335         (close): Fixed setting of stream to null.
336         (checkStreamClosed): Throws IOException.
337
338 2004-11-06  Michael Koch  <konqueror@gmx.de>
339
340         * javax/imageio/stream/FileCacheImageInputStream.java,
341         javax/imageio/stream/FileCacheImageOutputStream.java,
342         javax/imageio/stream/FileImageInputStream.java,
343         javax/imageio/stream/FileImageOutputStream.java,
344         javax/imageio/stream/MemoryCacheImageInputStream.java,
345         javax/imageio/stream/MemoryCacheImageOutputStream.java:
346         New files.
347
348 2004-11-06  Michael Koch  <konqueror@gmx.de>
349
350         * javax/imageio/metadata/IIOInvalidTreeException.java,
351         javax/imageio/metadata/IIOMetadataFormatImpl.java,
352         javax/imageio/metadata/IIOMetadataNode.java:
353         New stub files.
354
355 2004-11-06  Michael Koch  <konqueror@gmx.de>
356
357         * javax/imageio/stream/ImageInputStreamImpl.java,
358         javax/imageio/stream/ImageOutputStreamImpl.java:
359         New files.
360
361 2004-11-06  Michael Koch  <konqueror@gmx.de>
362
363         * javax/imageio/ImageIO.java:
364         Added much new methods.
365
366 2004-11-06  Michael Koch  <konqueror@gmx.de>
367
368         * javax/imageio/ImageReader.java,
369         javax/imageio/ImageWriter.java,
370         javax/imageio/spi/ImageWriterSpi.java:
371         Add SOME new methods.
372
373 2004-11-06  Michael Koch  <konqueror@gmx.de>
374
375         * javax/imageio/IIOParam.java,
376         javax/imageio/ImageReadParam.java,
377         javax/imageio/ImageReader.java,
378         javax/imageio/ImageWriter.java:
379         Mostly implemented.
380         * javax/imageio/spi/ImageReaderSpi.java,
381         javax/imageio/spi/ImageWriterSpi.java:
382         New files.
383
384 2004-11-06  Michael Koch  <konqueror@gmx.de>
385
386         * javax/imageio/ImageWriteParam.java,
387         javax/imageio/metadata/IIOMetadataFormat.java:
388         Implemented.
389
390 2004-11-06  Michael Koch  <konqueror@gmx.de>
391
392         * javax/imageio/ImageTypeSpecifier.java:
393         Mostly implemented.
394
395 2004-11-06  Michael Koch  <konqueror@gmx.de>
396
397         * javax/imageio/metadata/IIOMetadata.java:
398         Mostly implemented.
399
400 2004-11-06  Michael Koch  <konqueror@gmx.de>
401
402         * javax/imageio/IIOImage.java,
403         javax/imageio/ImageReadParam.java,
404         javax/imageio/metadata/IIOMetadataController.java,
405         javax/imageio/metadata/IIOMetadataFormat.java:
406         New files.
407         * javax/imageio/stream/ImageOutputStream.java:
408         Implemented.
409
410 2004-11-06  Michael Koch  <konqueror@gmx.de>
411
412         * javax/imageio/IIOParam.java,
413         javax/imageio/IIOParamController.java,
414         javax/imageio/ImageTypeSpecifier.java,
415         javax/imageio/ImageWriteParam.java,
416         javax/imageio/metadata/IIOMetadata.java:
417         New files.
418         * javax/imageio/ImageTranscoder.java:
419         Implemented.
420
421 2004-11-06  Michael Koch  <konqueror@gmx.de>
422
423         * javax/imageio/spi/ImageInputStreamSpi.java,
424         javax/imageio/spi/ImageOutputStreamSpi.java:
425         Reworked import startments.
426         * javax/imageio/spi/ServiceRegistry.java:
427         Reworked import startments. Fixed XHTML in javadocs.
428         (ServiceRegistry): Added @param tag to javadoc.
429         * javax/imageio/stream/ImageInputStream.java
430         (mark): Doesn't throws IOException;
431
432 2004-11-06  Michael Koch  <konqueror@gmx.de>
433
434         * javax/imageio/ImageIO.java:
435         New file.
436
437 2004-11-06  Michael Koch  <konqueror@gmx.de>
438
439         * javax/imageio/spi/IIORegistry.java
440         (static): Don't register ImageReaderSpi.class and
441         ImageWriterSpi.class yet.
442
443 2004-11-06  Michael Koch  <konqueror@gmx.de>
444
445         * javax/imageio/spi/IIORegistry.java:
446         New file.
447
448 2004-11-06  Noa Resare  <noa@resare.com>
449
450         * java/net/Socket.java (getPort): Return 0 instead of -1 on
451         unconnected sockets.
452
453 2004-11-06  Michael Koch  <konqueror@gmx.de>
454
455         * java/lang/StringBuffer.java,
456         java/lang/Throwable.java,
457         java/security/spec/DSAParameterSpec.java,
458         java/util/zip/ZipEntry.java,
459         java/util/zip/ZipFile.java,
460         java/util/zip/ZipInputStream.java,
461         java/util/zip/ZipOutputStream.java:
462         Removed redundant and reordered modifiers.
463
464 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
465
466         * java/io/Vector.java
467         (writeObject): New function to serialized output thread safe.
468
469         * java/io/ObjectOutputStream.java
470         (writeObject): Move the assignment of the class handle to after
471         the assignment of class descriptor handle.
472
473 2004-11-06  Robert Schuster <thebohemian@gmx.net>
474
475         Fixes documentation and indentation
476         * java/beans/PropertyEditorSupport.java:
477         reworked initial API doc
478         (value): changed name from val
479
480 2004-11-06  Robert Schuster <thebohemian@gmx.net>
481
482         Updates to 1.5
483         * java/beans/PropertyEditorSupport.java
484         (PropertyEditorSupport()): Changed modifier to public
485         (PropertyEditorSupport(Object): Changed modifier to public
486         (setSource): New method
487         (getSource): New method
488
489 2004-11-06  Robert Schuster <thebohemian@gmx.net>
490
491         Fixes bug #10799
492         * java/beans/PropertyEditorSupport.java
493         (setValue): Fire property change event
494
495 2004-11-03  Tom Tromey  <tromey@redhat.com>
496
497         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
498         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
499         returns jobjectArray.
500         (_Jv_JNIEnv::NewObjectArray): Likewise.
501
502 2004-11-01  Tom Tromey  <tromey@redhat.com>
503
504         * verify.cc (state::check_no_uninitialized_objects): Removed.
505         (push_jump): Updated.
506         (push_exception_jump): Likewise.
507         (handle_ret_insn): Likewise.
508         (handle_jsr_insn): Likewise.
509
510 2004-10-30  Mark Wielaard  <mark@klomp.org>
511
512         PR libgcj/18234
513         * java/lang/Runtime.java (static): Call init().
514         (Runtime): Remove call to init().
515         (init): Make static.
516
517 2004-10-28  David Daney  <ddaney@avtrex.com>
518
519         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
520         * Makefile.am: Build it.
521         * Makefile.in: Regenerate.
522
523 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
524
525         PR libgcj/18104
526         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
527         colon.
528         * Makefile.in: Regenerate.
529         * configure: Regenerate.
530         * configure.ac (CLASSPATH_SEPARATOR): Define.
531         * gcj/Makefile.in: Regenerate.
532         * include/Makefile.in: Regenerate.
533         * testsuite/Makefile.in: Regenerate.
534         * testsuite/lib/libjava.exp (libjava_arguments): Fix
535         CLASSPATH separator handling for Windows.
536
537 2004-10-26  Michael Koch  <konqueror@gmx.de>
538
539         * gnu/java/net/protocol/http/Connection.java
540         (getOutputStream): Implicitely switch to POST method.
541
542 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
543
544         * libjava/java/lang/Class.h
545         (java::lang::Class): Correct friend class declaration.
546
547 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
548
549         * Makefile.am (DARWIN_CRT_SRC): New.
550         (libgcj_la_SOURCES): Use it.
551         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
552         * darwin.cc: New file.
553         * include/jvm.h (_Jv_RegisterClasses): Constify.
554         (_Jv_RegisterClasses_Counted): New prototype.
555         * java/lang/Class.h: Include stddef.h.  
556         (_Jv_RegisterClasses): Constify.
557         (_Jv_RegisterClasses_Counted): New prototype.
558         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
559         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
560         (_Jv_RegisterClasses_Counted): New function.
561         * configure: Regenerate.
562         * Makefile.in: Regenerate.
563         * gcj/Makefile.in: Regenerate.
564         * include/Makefile.in: Regenerate.
565         * testsuite/Makefile.in: Regenerate.
566
567 2004-10-25  Tom Tromey  <tromey@redhat.com>
568
569         * java/util/ResourceBundle.java (tryBundle): Use
570         Class.isAssignableFrom rather than catching ClassCastException.
571
572 2004-10-25  Tom Tromey  <tromey@redhat.com>
573
574         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
575         initialize `iter'.
576         * gnu/java/text/SentenceBreakIterator.java
577         (SentenceBreakIterator): Don't initialize `iter'.
578         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
579         initialize `iter'.
580         * gnu/java/text/CharacterBreakIterator.java
581         (CharacterBreakIterator): Don't initialize `iter'.
582         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
583         constructor.
584         * java/text/BreakIterator.java: Updated documentation.
585
586 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
587
588         PR other/18138
589         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
590
591 2004-10-23  Michael Koch  <konqueror@gmx.de>
592
593         * javax/print/DocFlavor.java,
594         javax/print/attribute/standard/JobStateReason.java,
595         javax/print/attribute/standard/MultipleDocumentHandling.java:
596         Added missing constants.
597
598 2004-10-22  Tom Tromey  <tromey@redhat.com>
599
600         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
601         typo.
602
603 2004-10-22  Michael Koch  <konqueror@gmx.de>
604
605         PR libjava/14009
606         * gnu/java/net/protocol/http/Connection.java
607         (sendRequest): Handle case when url.getFile() returns an empty string.
608
609 2004-10-22  Michael Koch  <konqueror@gmx.de>
610
611         * java/lang/Math.java,
612         java/lang/StackTraceElement.java,
613         java/nio/Buffer.java,
614         java/nio/ByteBuffer.java,
615         java/nio/CharBuffer.java,
616         java/nio/DoubleBuffer.java,
617         java/nio/FloatBuffer.java,
618         java/nio/IntBuffer.java,
619         java/nio/LongBuffer.java,
620         java/nio/ShortBuffer.java,
621         java/nio/charset/Charset.java,
622         java/rmi/server/RMIClassLoader.java,
623         java/rmi/server/RMISocketFactory.java,
624         java/security/Policy.java,
625         java/text/ChoiceFormat.java,
626         java/text/CollationElementIterator.java,
627         java/text/DateFormat.java,
628         java/text/DecimalFormat.java,
629         java/text/DecimalFormatSymbols.java,
630         java/text/MessageFormat.java,
631         java/text/NumberFormat.java,
632         java/text/RuleBasedCollator.java,
633         java/text/SimpleDateFormat.java,
634         java/util/BitSet.java,
635         java/util/Calendar.java,
636         java/util/Collections.java,
637         java/util/IdentityHashMap.java,
638         java/util/Locale.java,
639         java/util/TreeMap.java,
640         java/util/logging/LogRecord.java,
641         java/util/logging/XMLFormatter.java,
642         java/util/prefs/AbstractPreferences.java,
643         java/util/prefs/Preferences.java,
644         javax/crypto/interfaces/DHPrivateKey.java,
645         javax/crypto/interfaces/DHPublicKey.java,
646         javax/crypto/interfaces/PBEKey.java,
647         javax/net/ssl/HandshakeCompletedEvent.java,
648         javax/security/auth/Subject.java:
649         Removed redundant and reordered modifiers.
650
651 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
652
653         * gnu/java/net/natPlainSocketImplPosix.cc
654         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
655         with 'int *' argument instead of 'long *'.
656
657 2004-10-21  Michael Koch  <konqueror@gmx.de>
658
659         * java/net/NetworkInterface.java,
660         java/text/Format.java,
661         javax/security/auth/x500/X500Principal.java,
662         javax/security/auth/x500/X500PrivateCredential.java,
663         javax/security/cert/X509CertBridge.java,
664         javax/security/sasl/Sasl.java,
665         javax/sql/XAConnection.java:
666         Import cleanup.
667
668 2004-10-21  Michael Koch  <konqueror@gmx.de>
669
670         * javax/net/ssl/HandshakeCompletedEvent.java,
671         javax/net/ssl/KeyManagerFactory.java,
672         javax/net/ssl/SSLContext.java,
673         javax/net/ssl/SSLServerSocketFactory.java,
674         javax/net/ssl/SSLSession.java,
675         javax/net/ssl/SSLSocketFactory.java,
676         javax/net/ssl/TrustManagerFactory.java:
677         Import cleanup.
678
679 2004-10-21  Michael Koch  <konqueror@gmx.de>
680
681         * javax/naming/directory/BasicAttribute.java,
682         javax/naming/directory/BasicAttributes.java,
683         javax/naming/directory/InitialDirContext.java,
684         javax/naming/event/NamingEvent.java,
685         javax/naming/ldap/ControlFactory.java,
686         javax/naming/ldap/ExtendedRequest.java,
687         javax/naming/ldap/InitialLdapContext.java,
688         javax/naming/ldap/LdapReferralException.java,
689         javax/naming/spi/DirObjectFactory.java,
690         javax/naming/spi/DirStateFactory.java,
691         javax/naming/spi/DirectoryManager.java,
692         javax/naming/spi/InitialContextFactory.java,
693         javax/naming/spi/InitialContextFactoryBuilder.java,
694         javax/naming/spi/NamingManager.java,
695         javax/naming/spi/ObjectFactory.java,
696         javax/naming/spi/ObjectFactoryBuilder.java,
697         javax/naming/spi/StateFactory.java:
698         Import cleanup.
699
700 2004-10-21  Michael Koch  <konqueror@gmx.de>
701
702         * javax/crypto/Cipher.java,
703         javax/crypto/EncryptedPrivateKeyInfo.java,
704         javax/crypto/ExemptionMechanism.java,
705         javax/crypto/KeyAgreement.java,
706         javax/crypto/KeyGenerator.java,
707         javax/crypto/Mac.java,
708         javax/crypto/SecretKeyFactory.java,
709         javax/crypto/SecretKeyFactorySpi.java,
710         javax/crypto/spec/SecretKeySpec.java:
711         Import cleanup.
712
713 2004-10-21  Michael Koch  <konqueror@gmx.de>
714
715         * java/security/AlgorithmParameterGenerator.java,
716         java/security/AlgorithmParameters.java,
717         java/security/AlgorithmParametersSpi.java,
718         java/security/AllPermission.java,
719         java/security/BasicPermission.java,
720         java/security/Certificate.java,
721         java/security/CodeSource.java,
722         java/security/DigestInputStream.java,
723         java/security/DigestOutputStream.java,
724         java/security/GuardedObject.java,
725         java/security/KeyFactory.java,
726         java/security/KeyFactorySpi.java,
727         java/security/KeyPairGenerator.java,
728         java/security/KeyStore.java,
729         java/security/KeyStoreSpi.java,
730         java/security/Permissions.java,
731         java/security/Security.java,
732         java/security/Signature.java,
733         java/security/UnresolvedPermission.java,
734         java/security/cert/CertPathBuilder.java,
735         java/security/cert/CertPathValidator.java,
736         java/security/cert/CertStore.java,
737         java/security/cert/Certificate.java,
738         java/security/cert/CertificateFactory.java,
739         java/security/cert/PolicyQualifierInfo.java,
740         java/security/cert/TrustAnchor.java,
741         java/security/cert/X509CRL.java,
742         java/security/cert/X509CRLSelector.java,
743         java/security/cert/X509CertSelector.java:
744         Import cleanup.
745
746 2004-10-21  Michael Koch  <konqueror@gmx.de>
747
748         * java/rmi/MarshalledObject.java,
749         java/rmi/Naming.java,
750         java/rmi/activation/Activatable.java,
751         java/rmi/activation/ActivationGroup.java,
752         java/rmi/activation/ActivationGroupDesc.java,
753         java/rmi/activation/ActivationInstantiator.java,
754         java/rmi/activation/ActivationMonitor.java,
755         java/rmi/activation/ActivationSystem.java,
756         java/rmi/activation/Activator.java,
757         java/rmi/registry/LocateRegistry.java,
758         java/rmi/registry/Registry.java,
759         java/rmi/server/LogStream.java,
760         java/rmi/server/ObjID.java,
761         java/rmi/server/RMIClientSocketFactory.java,
762         java/rmi/server/RMIServerSocketFactory.java,
763         java/rmi/server/RMISocketFactory.java,
764         java/rmi/server/RemoteCall.java,
765         java/rmi/server/RemoteServer.java,
766         java/rmi/server/ServerRef.java,
767         java/rmi/server/UID.java,
768         java/rmi/server/UnicastRemoteObject.java:
769         Import cleanup.
770
771 2004-10-21  Tom Tromey  <tromey@redhat.com>
772
773         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
774         exception if we hit EOF of `in'.
775         (read): Handle case where inflating returns -1.
776
777 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
778
779         * gnu/java/nio/channels/natFileChannelPosix.cc
780         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
781         argument instead of 'long *'.
782
783 2004-10-21  Tom Tromey  <tromey@redhat.com>
784
785         * java/util/ResourceBundle.java (tryBundle): Also ignore
786         ClassCastException.
787
788 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
789
790         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
791         for all sh*-*-linux* targets.
792         * configure: Regenerate.
793         * include/sh-signal.h: New file.
794
795 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
796
797         * java/lang/ieeefp.h: Add m32r support.
798
799 2004-10-20  Andreas Schwab  <schwab@suse.de>
800
801         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
802         to uaddr, not int.
803         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
804         Likewise.
805
806 2004-10-20  Michael Koch  <konqueror@gmx.de>
807
808         * javax/print/attribute/standard/ColorSupported.java,
809         javax/print/attribute/standard/Compression.java,
810         javax/print/attribute/standard/Copies.java,
811         javax/print/attribute/standard/CopiesSupported.java,
812         javax/print/attribute/standard/DateTimeAtCompleted.java,
813         javax/print/attribute/standard/DateTimeAtCreation.java,
814         javax/print/attribute/standard/DateTimeAtProcessing.java,
815         javax/print/attribute/standard/DocumentName.java,
816         javax/print/attribute/standard/Fidelity.java,
817         javax/print/attribute/standard/Finishings.java,
818         javax/print/attribute/standard/JobHoldUntil.java,
819         javax/print/attribute/standard/JobImpressions.java,
820         javax/print/attribute/standard/JobImpressionsCompleted.java,
821         javax/print/attribute/standard/JobImpressionsSupported.java,
822         javax/print/attribute/standard/JobKOctets.java,
823         javax/print/attribute/standard/JobKOctetsProcessed.java,
824         javax/print/attribute/standard/JobKOctetsSupported.java,
825         javax/print/attribute/standard/JobMediaSheets.java,
826         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
827         javax/print/attribute/standard/JobMediaSheetsSupported.java,
828         javax/print/attribute/standard/JobMessageFromOperator.java,
829         javax/print/attribute/standard/JobName.java,
830         javax/print/attribute/standard/JobOriginatingUserName.java,
831         javax/print/attribute/standard/JobPriority.java,
832         javax/print/attribute/standard/JobPrioritySupported.java,
833         javax/print/attribute/standard/JobSheets.java,
834         javax/print/attribute/standard/JobState.java,
835         javax/print/attribute/standard/JobStateReason.java,
836         javax/print/attribute/standard/JobStateReasons.java,
837         javax/print/attribute/standard/Media.java,
838         javax/print/attribute/standard/MultipleDocumentHandling.java,
839         javax/print/attribute/standard/NumberOfDocuments.java,
840         javax/print/attribute/standard/NumberOfInterveningJobs.java,
841         javax/print/attribute/standard/NumberUp.java,
842         javax/print/attribute/standard/NumberUpSupported.java,
843         javax/print/attribute/standard/OrientationRequested.java,
844         javax/print/attribute/standard/OutputDeviceAssigned.java,
845         javax/print/attribute/standard/PDLOverrideSupported.java,
846         javax/print/attribute/standard/PageRanges.java,
847         javax/print/attribute/standard/PagesPerMinute.java,
848         javax/print/attribute/standard/PagesPerMinuteColor.java,
849         javax/print/attribute/standard/PrintQuality.java,
850         javax/print/attribute/standard/PrinterInfo.java,
851         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
852         javax/print/attribute/standard/PrinterLocation.java,
853         javax/print/attribute/standard/PrinterMakeAndModel.java,
854         javax/print/attribute/standard/PrinterMessageFromOperator.java,
855         javax/print/attribute/standard/PrinterMoreInfo.java,
856         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
857         javax/print/attribute/standard/PrinterName.java,
858         javax/print/attribute/standard/PrinterStateReason.java,
859         javax/print/attribute/standard/PrinterStateReasons.java,
860         javax/print/attribute/standard/PrinterURI.java,
861         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
862         javax/print/attribute/standard/RequestingUserName.java:
863         Reorganized imports and removed redundant final modifiers.
864
865 2004-10-20  Michael Koch  <konqueror@gmx.de>
866
867         * javax/security/sasl/SaslClient.java,
868         javax/security/sasl/SaslClientFactory.java,
869         javax/security/sasl/SaslException.java,
870         javax/security/sasl/SaslServer.java,
871         javax/security/sasl/SaslServerFactory.java:
872         Remvoed CVS tags.
873
874 2004-10-20  Michael Koch  <konqueror@gmx.de>
875
876         * javax/security/auth/login/NullConfiguration.java,
877         javax/security/auth/x500/X500Principal.java,
878         javax/security/cert/X509Certificate.java,
879         javax/security/sasl/AuthenticationException.java,
880         javax/security/sasl/AuthorizeCallback.java,
881         javax/security/sasl/RealmCallback.java,
882         javax/security/sasl/RealmChoiceCallback.java,
883         javax/security/sasl/Sasl.java,
884         javax/security/sasl/SaslClient.java,
885         javax/security/sasl/SaslClientFactory.java,
886         javax/security/sasl/SaslException.java,
887         javax/security/sasl/SaslServer.java,
888         javax/security/sasl/SaslServerFactory.java:
889         Cleaned up import statements and copyright notices.
890
891 2004-10-20  Michael Koch  <konqueror@gmx.de>
892
893         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
894
895 2004-10-20  Michael Koch  <konqueror@gmx.de>
896
897         * java/sql/Timestamp.java,
898         java/text/AttributedCharacterIterator.java,
899         java/text/AttributedString.java,
900         java/util/zip/CheckedOutputStream.java,
901         java/util/zip/DeflaterOutputStream.java,
902         java/util/zip/ZipFile.java,
903         javax/crypto/Cipher.java,
904         javax/crypto/ExemptionMechanismException.java,
905         javax/crypto/SecretKey.java,
906         javax/crypto/SecretKeyFactory.java,
907         javax/naming/directory/ModificationItem.java,
908         javax/naming/directory/SearchControls.java,
909         javax/naming/event/NamingListener.java,
910         javax/naming/ldap/Control.java,
911         javax/naming/ldap/ExtendedResponse.java,
912         javax/net/ssl/SSLSocketFactory.java:
913         Reorganized imports and fixed copyright headers.
914
915 2004-10-20  Michael Koch  <konqueror@gmx.de>
916
917         * java/util/logging/ConsoleHandler.java,
918         java/util/logging/ErrorManager.java,
919         java/util/logging/FileHandler.java,
920         java/util/logging/Filter.java,
921         java/util/logging/Formatter.java,
922         java/util/logging/Handler.java,
923         java/util/logging/Level.java,
924         java/util/logging/LogManager.java,
925         java/util/logging/LogRecord.java,
926         java/util/logging/Logger.java,
927         java/util/logging/LoggingPermission.java,
928         java/util/logging/MemoryHandler.java,
929         java/util/logging/SimpleFormatter.java,
930         java/util/logging/SocketHandler.java,
931         java/util/logging/StreamHandler.java,
932         java/util/logging/XMLFormatter.java:
933         Standardized copyrigth header.
934
935 2004-10-20  Michael Koch  <konqueror@gmx.de>
936
937         * java/security/AlgorithmParameterGenerator.java,
938         java/security/AlgorithmParameters.java,
939         java/security/DigestInputStream.java,
940         java/security/Identity.java,
941         java/security/KeyFactory.java,
942         java/security/KeyPairGenerator.java,
943         java/security/KeyStore.java,
944         java/security/MessageDigest.java,
945         java/security/MessageDigestSpi.java,
946         java/security/Policy.java,
947         java/security/SecureRandom.java,
948         java/security/Security.java,
949         java/security/Signature.java,
950         java/security/SignatureSpi.java,
951         java/security/cert/CertPathBuilder.java,
952         java/security/cert/CertPathValidator.java,
953         java/security/cert/CertStore.java,
954         java/security/cert/Certificate.java,
955         java/security/cert/CertificateFactory.java,
956         java/security/cert/PolicyQualifierInfo.java,
957         java/security/cert/TrustAnchor.java,
958         java/security/cert/X509CRL.java,
959         java/security/cert/X509CRLEntry.java,
960         java/security/cert/X509Certificate.java,
961         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
962         Import statements reorganized, some little formatting issues,
963         used java-style array declarations, added comments in empty catch
964         blocks.
965
966 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
967
968         * java/security/Security.java
969         (static): Use AccessController.doPrivileged to get system property.
970
971 2004-10-18  Sven de Marothy  <sven@physto.se>
972
973         * java/nio/ByteBufferHelper.java
974         (putDouble): Use Double.toRawLongBits instead.
975
976 2004-10-18  Mark Wielaard  <mark@klomp.org>
977         Andrew Haley  <aph@redhat.com>
978
979         * testsuite/libjava.lang/ExtraClassLoader.java: New.
980
981 2004-10-18  Andrew Haley  <aph@redhat.com>
982
983         PR java/18036:
984         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
985         and correct logic used to find interpreter.
986         
987 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
988
989         * java/util/logging/LogManager.java
990         (findAncestor): Fixed IndexOutOfBoundsException.
991
992 2004-10-18  Michael Koch  <konqueror@gmx.de>
993
994         * java/io/BufferedInputStream.java: Fixed @author tag.
995         (read): Simplified expression.
996         (read): Merged javadoc a bit more.
997         (read): Renamed 'remain' to 'totalBytesRead'.
998         * java/io/DataInputStream.java,
999         java/io/DataOutputStream.java,
1000         java/io/ObjectInputStream.java,
1001         java/io/ObjectOutputStream.java:
1002         Reworked modifier order.
1003
1004 2004-10-18  Michael Koch  <konqueror@gmx.de>
1005
1006         * java/net/Inet4Address.java: Merged file header and javadocs.
1007         * java/net/Inet6Address.java: Likewise.
1008         * java/net/InetAddress.java
1009         (getCanonicalHostName): Create Inet4Address object instead of
1010         InetAddress and add comment regarding IPv6.
1011         (toString): Simplified.
1012
1013 2004-10-18  Michael Koch  <konqueror@gmx.de>
1014
1015         * gnu/java/net/protocol/http/Connection.java,
1016         java/nio/MappedByteBufferImpl.java,
1017         java/text/RuleBasedCollator.java,
1018         java/util/ResourceBundle.java:
1019         Reworked import statements.
1020
1021 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1022
1023         * java/security/IdentityScope.java
1024         (systemScope): Removed useless initializer.
1025         * java/security/Policy.java
1026         (currentPolicy): Likewise.
1027
1028 2004-10-18  Michael Koch  <konqueror@gmx.de>
1029
1030         * java/lang/System.java: Revert accidential change.
1031
1032 2004-10-18  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/lang/Math.java,
1035         java/lang/Package.java,
1036         java/lang/Runtime.java,
1037         java/lang/StrictMath.java,
1038         java/lang/System.java,
1039         java/lang/Thread.java,
1040         java/lang/ThreadLocal.java,
1041         java/lang/Void.java:
1042         Reworked import statements, HTML in javadocs and modifier orders.
1043
1044 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1045
1046         * java/util/Timer.java
1047         (nr): Removed useless initializer.
1048         * java/util/logging/LogRecord.java
1049         (lastSeqNum): Likewise.
1050         * javax/naming/spi/NamingManager.java
1051         (icfb, ofb): Likewise.
1052
1053 2004-10-18  Michael Koch  <konqueror@gmx.de>
1054
1055         * gnu/java/net/PlainDatagramSocketImpl.java:
1056         Reworked import statements.
1057         * gnu/java/security/provider/DSAParameters.java:
1058         Fixed copyrigth years.
1059         * java/net/JarURLConnection.java:
1060         Fixed HTML in @author tags.
1061         
1062
1063 2004-10-18  Michael Koch  <konqueror@gmx.de>
1064
1065         * java/rmi/activation/ActivationSystem.java
1066         (SYSTEM_PORT): Initialize with correct port number.
1067
1068 2004-10-18  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/lang/reflect/Proxy.java: Improved javadocs.
1071
1072 2004-10-18  Michael Koch  <konqueror@gmx.de>
1073
1074         * java/lang/reflect/AccessibleObject.java
1075         (checkPermission): Removed redundant final modifier.
1076         (secureSetAccessible): Likewise.
1077         * java/lang/reflect/Proxy.java:
1078         Reworked import statements.
1079         (generate): Removed redundant final modifier.
1080         * java/lang/reflect/ReflectPermission.java:
1081         Reorder package declaration and import statement.
1082
1083 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1084
1085         * java/lang/reflect/Proxy.java
1086         (count): Removed useless initializer.
1087
1088 2004-10-17  Michael Koch  <konqueror@gmx.de>
1089
1090         * java/net/BindException.java,
1091         java/net/ConnectException.java,
1092         java/net/ContentHandler.java,
1093         java/net/ContentHandlerFactory.java,
1094         java/net/DatagramPacket.java,
1095         java/net/DatagramSocket.java,
1096         java/net/DatagramSocketImpl.java,
1097         java/net/DatagramSocketImplFactory.java,
1098         java/net/FileNameMap.java,
1099         java/net/HttpURLConnection.java,
1100         java/net/MalformedURLException.java,
1101         java/net/MulticastSocket.java,
1102         java/net/NetworkInterface.java,
1103         java/net/NoRouteToHostException.java,
1104         java/net/PasswordAuthentication.java,
1105         java/net/PortUnreachableException.java,
1106         java/net/ProtocolException.java,
1107         java/net/ServerSocket.java,
1108         java/net/Socket.java,
1109         java/net/SocketException.java,
1110         java/net/SocketImpl.java,
1111         java/net/SocketImplFactory.java,
1112         java/net/SocketOptions.java,
1113         java/net/SocketPermission.java,
1114         java/net/SocketTimeoutException.java,
1115         java/net/URI.java,
1116         java/net/URISyntaxException.java,
1117         java/net/URL.java,
1118         java/net/URLDecoder.java,
1119         java/net/URLEncoder.java,
1120         java/net/URLStreamHandler.java,
1121         java/net/URLStreamHandlerFactory.java,
1122         java/net/UnknownHostException.java,
1123         java/net/UnknownServiceException.java:
1124         Big import statement and @author tag cleanup.
1125
1126 2004-10-17  Michael Koch  <konqueror@gmx.de>
1127
1128         * gnu/java/security/OID.java,
1129         gnu/java/security/provider/DSAParameters.java,
1130         gnu/java/security/provider/DSASignature.java,
1131         gnu/java/security/x509/X500DistinguishedName.java,
1132         gnu/java/security/x509/X509CRL.java:
1133         Import statements cleaned up.
1134
1135 2004-10-16  Michael Koch  <konqueror@gmx.de>
1136
1137         * gnu/java/nio/NIODatagramSocket.java,
1138         gnu/java/nio/ServerSocketChannelImpl.java:
1139         Reorganized import statements.
1140
1141 2004-10-16  Michael Koch  <konqueror@gmx.de>
1142
1143         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1144         gnu/java/rmi/rmic/RMIC.java,
1145         gnu/java/rmi/server/RMIHashes.java,
1146         gnu/java/rmi/server/RMIObjectInputStream.java,
1147         gnu/java/rmi/server/RMIObjectOutputStream.java,
1148         gnu/java/rmi/server/UnicastConnection.java,
1149         gnu/java/rmi/server/UnicastConnectionManager.java,
1150         gnu/java/rmi/server/UnicastRemoteCall.java,
1151         gnu/java/rmi/server/UnicastServer.java,
1152         gnu/java/rmi/server/UnicastServerRef.java,
1153         java/rmi/MarshalledObject.java,
1154         java/rmi/Naming.java,
1155         java/rmi/RMISecurityManager.java,
1156         java/rmi/Remote.java,
1157         java/rmi/activation/Activatable.java,
1158         java/rmi/activation/ActivationDesc.java,
1159         java/rmi/activation/ActivationGroup.java,
1160         java/rmi/activation/ActivationGroupDesc.java,
1161         java/rmi/activation/ActivationGroupID.java,
1162         java/rmi/activation/ActivationID.java,
1163         java/rmi/activation/ActivationInstantiator.java,
1164         java/rmi/activation/ActivationMonitor.java,
1165         java/rmi/activation/ActivationSystem.java,
1166         java/rmi/activation/Activator.java,
1167         java/rmi/dgc/DGC.java,
1168         java/rmi/dgc/Lease.java,
1169         java/rmi/dgc/VMID.java,
1170         java/rmi/registry/LocateRegistry.java,
1171         java/rmi/registry/Registry.java,
1172         java/rmi/registry/RegistryHandler.java,
1173         java/rmi/server/LoaderHandler.java,
1174         java/rmi/server/LogStream.java,
1175         java/rmi/server/ObjID.java,
1176         java/rmi/server/Operation.java,
1177         java/rmi/server/RMIClassLoader.java,
1178         java/rmi/server/RMIClassLoaderSpi.java,
1179         java/rmi/server/RMIClientSocketFactory.java,
1180         java/rmi/server/RMIFailureHandler.java,
1181         java/rmi/server/RMIServerSocketFactory.java,
1182         java/rmi/server/RMISocketFactory.java,
1183         java/rmi/server/RemoteCall.java,
1184         java/rmi/server/RemoteObject.java,
1185         java/rmi/server/RemoteRef.java,
1186         java/rmi/server/RemoteServer.java,
1187         java/rmi/server/RemoteStub.java,
1188         java/rmi/server/ServerRef.java,
1189         java/rmi/server/Skeleton.java,
1190         java/rmi/server/SkeletonMismatchException.java,
1191         java/rmi/server/UID.java,
1192         java/rmi/server/UnicastRemoteObject.java,
1193         java/rmi/server/Unreferenced.java:
1194         File headers and import statements cleaned up.
1195
1196 2004-10-16  Michael Koch  <konqueror@gmx.de>
1197
1198         * libjava/gnu/java/nio/charset/UTF_16.java,
1199         libjava/gnu/java/nio/charset/UTF_16BE.java,
1200         libjava/gnu/java/nio/charset/UTF_16LE.java,
1201         libjava/java/nio/ByteOrder.java,
1202         libjava/java/nio/MappedByteBuffer.java,
1203         libjava/java/nio/channels/Channels.java,
1204         libjava/java/nio/channels/spi/SelectorProvider.java,
1205         libjava/java/nio/charset/Charset.java:
1206         Cleanup.
1207
1208 2004-10-16  Michael Koch  <konqueror@gmx.de>
1209
1210         * gnu/java/nio/charset/UTF_16Encoder.java
1211         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1212
1213 2004-10-16  Michael Koch  <konqueror@gmx.de>
1214
1215         * java/math/BigDecimal.java, java/math/BigInteger.java:
1216         Reorganized import statements, removed redundant and
1217         reorganized modifiers.
1218
1219 2004-10-16  Michael Koch  <konqueror@gmx.de>
1220
1221         * gnu/java/beans/ExplicitBeanInfo.java:
1222         Explicitely import java.awt.Image.
1223         (getIcon): Fixed off-by-one error.
1224
1225 2004-10-15  Andrew Haley  <aph@redhat.com>
1226
1227         * Makefile.am (nat_files, xlib_nat_files): New.
1228         * Makefile.in: Regenerate.
1229
1230 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1231
1232         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1233         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1234
1235 2004-10-13  Andrew Haley  <aph@redhat.com>
1236
1237         * interpret.cc (_Jv_InterpMethod::run): Initialize
1238         _Jv_StartOfInterpreter.
1239         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1240         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1241         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1242         _Unwind_FindEnclosingFunction to discover whether PC is within the
1243         interpreter.
1244
1245 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1246
1247         PR libgcj/17903:
1248         * testsuite/libjava.lang/md5test.java: New file.
1249         * testsuite/libjava.lang/md5test.out: Likewise.
1250         * testsuite/libjava.lang/shatest.java: Likewise.
1251         * testsuite/libjava.lang/shatest.out: Likewise.
1252
1253 2004-10-11  Richard Henderson  <rth@redhat.com>
1254
1255         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1256         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1257
1258 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1259
1260         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1261         field as a DST boundary may have been crossed.
1262         * java/util/GregorianCalendar.java (add): Throw 
1263         IllegalArgumentException on attempt to add to DST_OFFSET or 
1264         ZONE_OFFSET fields. Update javadoc.
1265
1266 2004-10-09  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/io/CharArrayWriter.java
1269         (resize): Removed redundant 'final' modifier.
1270         * java/io/DataInputStream.java
1271         (readFully): Throw IndexOutOfBoundsException of len < 0.
1272         * java/io/FileDescriptor.java,
1273         java/io/FileInputStream.java,
1274         java/io/FileOutputStream.java,
1275         java/io/ObjectOutputStream.java,
1276         java/io/ObjectStreamClass.java,
1277         java/io/PipedInputStream.java,
1278         java/io/RandomAccessFile.java:
1279         Reorganized import statements.
1280
1281 2004-10-09  Michael Koch  <konqueror@gmx.de>
1282
1283         * gnu/java/rmi/rmic/RMIC.java,
1284         gnu/java/rmi/server/RMIHashes.java,
1285         gnu/java/rmi/server/RMIObjectInputStream.java,
1286         gnu/java/rmi/server/UnicastConnection.java,
1287         gnu/java/rmi/server/UnicastConnectionManager.java,
1288         gnu/java/rmi/server/UnicastRemoteCall.java,
1289         gnu/java/rmi/server/UnicastServerRef.java:
1290         Reworked import statements and fixed file headers.
1291
1292 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1293
1294         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1295         emission rule.
1296         * configure: Rebuilt.
1297
1298 2004-09-30  Tom Tromey  <tromey@redhat.com>
1299
1300         * java/text/MessageFormat.java (Field): Constructor now
1301         protected.
1302
1303 2004-09-30  Tom Tromey  <tromey@redhat.com>
1304
1305         * javax/crypto/MacSpi.java: Fixed typo.
1306
1307 2004-09-30  Michael Koch  <konqueror@gmx.de>
1308
1309         * java/net/InetAddress.java: Reformatted.
1310         (loopback): Initialize with Inet4Address object.
1311         (static): Initialize ANY_IF with Inet4Address object.
1312         (InetAddress): Removed unused package-private constructor.
1313
1314 2004-09-30  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/beans/Beans.java,
1317         java/beans/EventHandler.java,
1318         java/beans/EventSetDescriptor.java,
1319         java/beans/Introspector.java,
1320         java/beans/PropertyEditorManager.java,
1321         java/beans/beancontext/BeanContext.java,
1322         java/beans/beancontext/BeanContextChild.java,
1323         java/beans/beancontext/BeanContextChildSupport.java,
1324         java/beans/beancontext/BeanContextMembershipEvent.java:
1325         Reordered import statements and removed redundant modifiers.
1326
1327 2004-09-29  Tom Tromey  <tromey@redhat.com>
1328
1329         PR libgcj/17715:
1330         * Makefile.in: Rebuilt.
1331         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1332         files.
1333         (all_property_files): New macro.
1334
1335         * Makefile.in: Rebuilt.
1336         * Makefile.am (ordinary_java_source_files): Re-sorted.
1337         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1338
1339 2004-09-28  Tom Tromey  <tromey@redhat.com>
1340
1341         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1342
1343         PR libgcj/17222:
1344         * Makefile.am (libgcj.la): Restored.
1345         * Makefile.in: Rebuilt.
1346
1347 2004-09-28  Michael Koch  <konqueror@gmx.de>
1348
1349         * java/net/URLConnection.java: Reformatted.
1350         * java/net/URLClassLoader.java: Reformatted.
1351         (getContent): Reordered return of content.
1352         (getContentHandler): Don't check for null explicitely.
1353
1354 2004-09-27  Michael Koch  <konqueror@gmx.de>
1355
1356         * java/io/BufferedInputStream.java
1357         (BufferedInputStream): Added Jeroen Frijters to authors.
1358         (count): Don't explicitely initialize with default value.
1359         (pos): Likewise.
1360         (marklimit): Likewise.
1361         (read): Changed boolean expression to match GNU classpath' version.
1362         (reset): Add proper message to exception.
1363         (skip): Check for closed stream.
1364         (refill): Likewise.
1365
1366 2004-09-26  Per Bothner  <per@bothner.com>
1367
1368         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1369         avoid warnings in the non-POSIX_VERSION case.
1370         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1371         so place it inside an #if block.
1372         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1373         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1374         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1375         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1376
1377 2004-09-26  Per Bothner  <per@bothner.com>
1378
1379         * prims.cc (process_gcj_properties):  Optimization.
1380
1381 2004-09-26  Per Bothner  <per@bothner.com>
1382
1383         * java/util/Collections.java (sort):  Copy from array in forwards
1384         order, rather than reverse order which may be much less efficient.
1385
1386 2004-09-26  Mark Wielaard  <mark@klomp.org>
1387
1388         * java/lang/System.java (properties): Make package private.
1389         * java/lang/Throwable.java (StaticData.nl): Initialize through
1390         directly accessing System.properties.getProperty().
1391
1392         * java/lang/Throwable.java (nl): Remove static field.
1393         (StaticData): New private static inner class.
1394         (stackTraceStringBuffer): Use StaticData.nl.
1395
1396 2004-09-26  Casey Marshall <csm@gnu.org>
1397
1398         * java/security/ProtectionDomain.java
1399         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1400         `true'.
1401
1402         * java/security/SecureClassLoader.java
1403         (defineClass): make protection domain dynamically bound.
1404         (getPermissions): call `getCurrentPolicy' to avoid permission
1405         check.
1406
1407 2004-09-25  Mark Wielaard  <mark@klomp.org>
1408
1409         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1410         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1411         * Makefile.in: Regenerated.
1412
1413         * gcj/javaprims.h: Regenerated.
1414
1415         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1416         (getDefaultTimeZone): Make package private. Check that GMToffset
1417         contains at least one digit.
1418         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1419         VMTimeZone.
1420         * util/VMTimeZone.java: New file with above methods.
1421
1422         * java/util/natTimeZone.cc: Removed (renamed).
1423         * java/util/natVMTimeZone.cc: Added (renamed).
1424
1425 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1426
1427         * java/util/TimeZone.java
1428         (getDefaultTimeZone): Fixed test to distinguish between hours and
1429         minutes in specified timezone.
1430
1431 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1432
1433         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1434         handling of default package. (generate): Removed confused comments
1435         and code about making Method and Field accessible.
1436
1437 2004-09-25  Tom Tromey  <tromey@redhat.com>
1438
1439         PR java/17500:
1440         * testsuite/libjava.compile/pr17500.java: New file.
1441
1442 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1443             Mark Wielaard  <mark@klomp.org>
1444
1445         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1446         * gnu/regexp/RETokenLookAhead.java: New file.
1447
1448         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1449         * Makefile.in: Regenerated.
1450
1451 2004-09-25  Michael Koch  <konqueror@gmx.de>
1452
1453         * java/io/ObjectStreamField.java:
1454         Removed unused import statement.
1455
1456 2004-09-24  Tom Tromey  <tromey@redhat.com>
1457
1458         PR java/15656:
1459         * testsuite/libjava.compile/pr15656.xfail: New file.
1460         * testsuite/libjava.compile/pr15656.java: new file.
1461
1462         PR java/16789:
1463         * testsuite/libjava.lang/pr16789.out: New file.
1464         * testsuite/libjava.lang/pr16789.java: New file.
1465
1466 2004-09-24  Andrew Haley  <aph@redhat.com>
1467
1468         PR java/16927
1469         * testsuite/libjava.compile/AssertBug.java: New file.
1470
1471 2004-09-24  Casey Marshall <csm@gnu.org>
1472
1473         * java/util/PropertyPermissionCollection.java
1474         (implies): avoid infinite loop.
1475
1476 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1477
1478         * javax/security/auth/PrivateCredentialPermission.java
1479         (PrivateCredentialPermission): added serialization UID
1480
1481
1482 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1483
1484         * gnu/java/rmi/server/UnicastServer.java
1485         (incomingMessageCall): Added code to handle Errors.
1486         * gnu/java/rmi/server/UnicastServerRef.java
1487         (incomingMessageCall): Added code to handle Errors.
1488
1489
1490 2004-09-24  Tom Tromey  <tromey@redhat.com>
1491
1492         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1493         (definedPackages): Likewise.
1494
1495 2004-09-24  Michael Koch  <konqueror@gmx.de>
1496
1497         * java/io/ObjectInputStream.java:
1498         Re-ordered imports.
1499
1500 2004-09-24  Casey Marshall <csm@gnu.org>
1501
1502         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1503         `ClassNotFoundException'.
1504
1505 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1506
1507         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1508         of Externalizable classes to ObjectStreamClass.
1509         * java/io/ObjectStreamClass.java (newInstance): New method to
1510         instantiate Externalizable (while ignoring the accessibility of
1511         the constructor). (constructor): New field to cache the constructor.
1512
1513 2004-09-24  Mark Wielaard  <mark@klomp.org>
1514
1515         * java/net/URL.java (systemClassLoader): New static field.
1516         (getURLStreamHandler): Always use system/application classloader
1517         for finding URLStreamhandler. Remove unecessary instanceof checks.
1518
1519 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1520
1521         * java/net/URL.java
1522         (set): This method now matches the behaviour of the JDK.
1523         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1524
1525 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1526
1527         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1528
1529 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1530
1531         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1532         Don't set authority if host isn't specified.
1533
1534 2004-09-24  Michael Koch  <konqueror@gmx.de>
1535
1536         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1537         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1538         * gnu/java/nio/VMPipe.java,
1539         gnu/java/nio/VMSelector.java:
1540         New files.
1541         * gnu/java/nio/natPipeImplEcos.cc,
1542         gnu/java/nio/natPipeImplPosix.cc,
1543         gnu/java/nio/natPipeImplWin32.cc:
1544         Ported to VMPipe.
1545         * gnu/java/nio/natSelectorImplEcos.cc,
1546         gnu/java/nio/natSelectorImplPosix.cc,
1547         gnu/java/nio/natSelectorImplWin32.cc:
1548         Ported to VMSelector.
1549         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1550         gnu/java/nio/VMSelector.java.
1551         * Makefile.in: Regenerated.
1552
1553 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1554
1555         * java/lang/StackTraceElement.java
1556         (className): Renamed field to declaringClass to be compatible
1557         with Sun serialization format.
1558
1559 2004-09-23  Michael Koch  <konqueror@gmx.de>
1560
1561         * java/applet/AppletContext.java,
1562         java/applet/Applet.java,
1563         java/applet/AppletStub.java,
1564         java/applet/AudioClip.java:
1565         Jalopied and checkstyle clean.
1566
1567 2004-09-23  Mark Wielaard  <mark@klomp.org>
1568
1569         * java/util/Collections.java
1570         (binarySearch(List, Object, Comparator)): Explicitly
1571         reverse direction in list iterator.
1572         (rotate): Just return when list is empty.
1573
1574 2004-09-23  Tom Tromey  <tromey@redhat.com>
1575
1576         PR java/17329:
1577         * testsuite/libjava.compile/pr17329.java: New file.
1578
1579         PR java/17380:
1580         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1581         9.2-implicit-7.
1582
1583 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1584
1585         * Makefile.am: Run aclocal with -I ../config
1586         * acinclude.m4: Delete macros picked up from ../config and tidy.
1587         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1588         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1589         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1590
1591 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1592
1593         * aclocal.m4: Regenerate with aclocal 1.9.2.
1594         * configure: Regenerate.
1595         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1596         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1597
1598 2004-09-22  David Daney  <ddaney@avtrex.com>
1599
1600         PR libgcj/17623
1601         * java/net/URL.java (URL): Copy userInfo from context.
1602         (getUserInfo): Return cached userInfo if present.
1603
1604 2004-09-22  Tom Tromey  <tromey@redhat.com>
1605
1606         PR libgcj/6182:
1607         * mauve-libgcj: Enable java.lang.Character tests.
1608
1609 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1610
1611         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1612         dependencies.
1613         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1614         * Makefile.in: Regenerated.
1615
1616 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1617
1618         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1619         * configure: Regenerate.
1620         * include/config.h.in: Likewise.
1621         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1622         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1623         macro to gtkpeer.h.
1624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1625         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1626         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1627         architectures.
1628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1629         Likewise.
1630
1631 2004-09-22  Tom Tromey  <tromey@redhat.com>
1632
1633         PR libgcj/14446:
1634         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1635         when comparing CRCs.
1636         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1637         field.
1638         (read()): New overload.
1639
1640 2004-09-21  Tom Tromey  <tromey@redhat.com>
1641
1642         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1643         Indentation fix.
1644
1645 2004-09-21  Michael Koch  <konqueror@gmx.de>
1646
1647         * java/net/Socket.java
1648         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1649
1650 2004-09-21  Casey Marshall  <csm@gnu.org>
1651
1652         * javax/crypto/MacSpi.java (clone): Provide meaningful
1653         implementation.
1654
1655 2004-09-21  Tom Tromey  <tromey@redhat.com>
1656
1657         PR libgcj/16869:
1658         * Makefile.in: Rebuilt.
1659         * Makefile.am (MOSTLYCLEANFILES): Removed.
1660         (mostlyclean-local): Remove header files.
1661
1662 2004-09-21  Casey Marshall  <csm@gnu.org>
1663
1664         * java/security/cert/X509CRLSelector.java:
1665         (match): remove unreachable try-catch clauses.
1666         Reported by: Dalibor Topic <robilad@kaffe.org>
1667
1668 2004-09-21  Mark Wielaard  <mark@klomp.org>
1669
1670         * java/util/TreeMap.java (root): Don't initialize.
1671         (TreeMap(Comparator)): Call fabricateTree(0).
1672         (fabricateTree): Initialize root and size when count is 0.
1673
1674 2004-09-21  Sven de Marothy <sven@physto.se>
1675
1676         * java/nio/ByteBuffer.java (hashCode): Implemented.
1677         * java/nio/CharBuffer.java: Likewise.
1678         * java/nio/DoubleBuffer.java: Likewise.
1679         * java/nio/FloatBuffer.java: Likewise.
1680         * java/nio/LongBuffer.java: Likewise.
1681         * java/nio/IntBuffer.java: Likewise.
1682         * java/nio/ShortBuffer.java: Likewise.
1683
1684 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1685
1686         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1687
1688 2004-09-21  Michael Koch  <konqueror@gmx.de>
1689
1690         * javax/net/ssl/SSLServerSocket.java:
1691         Removed comment about "Do not edit this file, it's generated.".
1692
1693 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1694
1695         Import the big Crypto/Jessie/Security merge from Classpath.
1696
1697         * Makefile.am: Add imported files.
1698         * Makefile.in: Regenerate.
1699
1700         2004-08-14  Casey Marshall <csm@gnu.org>
1701
1702         The Big Crypto Merge of 2004.
1703
1704         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1705         Crypto's version.
1706
1707         Files imported from GNU Crypto.
1708         * javax/crypto/BadPaddingException.java
1709         * javax/crypto/Cipher.java
1710         * javax/crypto/CipherInputStream.java
1711         * javax/crypto/CipherOutputStream.java
1712         * javax/crypto/CipherSpi.java
1713         * javax/crypto/EncryptedPrivateKeyInfo.java
1714         * javax/crypto/ExemptionMechanism.java
1715         * javax/crypto/ExemptionMechanismException.java
1716         * javax/crypto/ExemptionMechanismSpi.java
1717         * javax/crypto/IllegalBlockSizeException.java
1718         * javax/crypto/KeyAgreement.java
1719         * javax/crypto/KeyAgreementSpi.java
1720         * javax/crypto/KeyGenerator.java
1721         * javax/crypto/KeyGeneratorSpi.java
1722         * javax/crypto/Mac.java
1723         * javax/crypto/MacSpi.java
1724         * javax/crypto/Makefile.am
1725         * javax/crypto/NoSuchPaddingException.java
1726         * javax/crypto/NullCipher.java
1727         * javax/crypto/NullCipherImpl.java
1728         * javax/crypto/SealedObject.java
1729         * javax/crypto/SecretKey.java
1730         * javax/crypto/SecretKeyFactory.java
1731         * javax/crypto/SecretKeyFactorySpi.java
1732         * javax/crypto/ShortBufferException.java
1733         * javax/crypto/interfaces/DHKey.java
1734         * javax/crypto/interfaces/DHPrivateKey.java
1735         * javax/crypto/interfaces/DHPublicKey.java
1736         * javax/crypto/interfaces/PBEKey.java
1737         * javax/crypto/spec/DESKeySpec.java
1738         * javax/crypto/spec/DESedeKeySpec.java
1739         * javax/crypto/spec/DHGenParameterSpec.java
1740         * javax/crypto/spec/DHParameterSpec.java
1741         * javax/crypto/spec/DHPrivateKeySpec.java
1742         * javax/crypto/spec/DHPublicKeySpec.java
1743         * javax/crypto/spec/IvParameterSpec.java
1744         * javax/crypto/spec/PBEKeySpec.java
1745         * javax/crypto/spec/PBEParameterSpec.java
1746         * javax/crypto/spec/RC2ParameterSpec.java
1747         * javax/crypto/spec/RC5ParameterSpec.java
1748         * javax/crypto/spec/SecretKeySpec.java
1749         * javax/security/auth/AuthPermission.java
1750         * javax/security/auth/DestroyFailedException.java
1751         * javax/security/auth/Destroyable.java
1752         * javax/security/auth/Policy.java
1753         * javax/security/auth/PrivateCredentialPermission.java
1754         * javax/security/auth/RefreshFailedException.java
1755         * javax/security/auth/Refreshable.java
1756         * javax/security/auth/Subject.java
1757         * javax/security/auth/SubjectDomainCombiner.java
1758         * javax/security/auth/callback/Callback.java
1759         * javax/security/auth/callback/CallbackHandler.java
1760         * javax/security/auth/callback/ChoiceCallback.java
1761         * javax/security/auth/callback/ConfirmationCallback.java
1762         * javax/security/auth/callback/LanguageCallback.java
1763         * javax/security/auth/callback/NameCallback.java
1764         * javax/security/auth/callback/PasswordCallback.java
1765         * javax/security/auth/callback/TextInputCallback.java
1766         * javax/security/auth/callback/TextOutputCallback.java
1767         * javax/security/auth/callback/UnsupportedCallbackException.java
1768         * javax/security/auth/login/AccountExpiredException.java
1769         * javax/security/auth/login/AppConfigurationEntry.java
1770         * javax/security/auth/login/Configuration.java
1771         * javax/security/auth/login/CredentialExpiredException.java
1772         * javax/security/auth/login/FailedLoginException.java
1773         * javax/security/auth/login/LoginContext.java
1774         * javax/security/auth/login/LoginException.java
1775         * javax/security/auth/login/NullConfiguration.java
1776         * javax/security/auth/x500/X500PrivateCredential.java
1777         * javax/security/sasl/AuthenticationException.java
1778         * javax/security/sasl/AuthorizeCallback.java
1779         * javax/security/sasl/RealmCallback.java
1780         * javax/security/sasl/RealmChoiceCallback.java
1781         * javax/security/sasl/Sasl.java
1782         * javax/security/sasl/SaslClient.java
1783         * javax/security/sasl/SaslClientFactory.java
1784         * javax/security/sasl/SaslException.java
1785         * javax/security/sasl/SaslServer.java
1786         * javax/security/sasl/SaslServerFactory.java
1787         * org/ietf/jgss/ChannelBinding.java
1788         * org/ietf/jgss/GSSContext.java
1789         * org/ietf/jgss/GSSCredential.java
1790         * org/ietf/jgss/GSSException.java
1791         * org/ietf/jgss/GSSManager.java
1792         * org/ietf/jgss/GSSName.java
1793         * org/ietf/jgss/MessageProp.java
1794         * org/ietf/jgss/Oid.java
1795         * org/ietf/jgss/MessagesBundle.properties
1796
1797         Files imported from Jessie <http://www.nongnu.org/jessie/>
1798         * javax/net/ServerSocketFactory.java
1799         * javax/net/SocketFactory.java
1800         * javax/net/VanillaServerSocketFactory.java
1801         * javax/net/VanillaSocketFactory.java
1802         * javax/net/ssl/HandshakeCompletedEvent.java
1803         * javax/net/ssl/HandshakeCompletedListener.java
1804         * javax/net/ssl/HostnameVerifier.java
1805         * javax/net/ssl/HttpsURLConnection.java
1806         * javax/net/ssl/KeyManager.java
1807         * javax/net/ssl/KeyManagerFactory.java
1808         * javax/net/ssl/KeyManagerFactorySpi.java
1809         * javax/net/ssl/ManagerFactoryParameters.java
1810         * javax/net/ssl/SSLContext.java
1811         * javax/net/ssl/SSLContextSpi.java
1812         * javax/net/ssl/SSLException.java
1813         * javax/net/ssl/SSLHandshakeException.java
1814         * javax/net/ssl/SSLKeyException.java
1815         * javax/net/ssl/SSLPeerUnverifiedException.java
1816         * javax/net/ssl/SSLPermission.java
1817         * javax/net/ssl/SSLProtocolException.java
1818         * javax/net/ssl/SSLServerSocket.java
1819         * javax/net/ssl/SSLServerSocketFactory.java
1820         * javax/net/ssl/SSLSession.java
1821         * javax/net/ssl/SSLSessionBindingEvent.java
1822         * javax/net/ssl/SSLSessionBindingListener.java
1823         * javax/net/ssl/SSLSessionContext.java
1824         * javax/net/ssl/SSLSocket.java
1825         * javax/net/ssl/SSLSocketFactory.java
1826         * javax/net/ssl/TrivialHostnameVerifier.java
1827         * javax/net/ssl/TrustManager.java
1828         * javax/net/ssl/TrustManagerFactory.java
1829         * javax/net/ssl/TrustManagerFactorySpi.java
1830         * javax/net/ssl/X509KeyManager.java
1831         * javax/net/ssl/X509TrustManager.java
1832         * javax/security/cert/Certificate.java
1833         * javax/security/cert/CertificateEncodingException.java
1834         * javax/security/cert/CertificateException.java
1835         * javax/security/cert/CertificateExpiredException.java
1836         * javax/security/cert/CertificateNotYetValidException.java
1837         * javax/security/cert/CertificateParsingException.java
1838         * javax/security/cert/X509CertBridge.java
1839         * javax/security/cert/X509Certificate.java
1840
1841         2004-08-20  Casey Marshall  <csm@gnu.org>
1842
1843         * java/security/cert/X509CRLSelector.java: New file.
1844         * java/security/cert/X509CertSelector.java: New file.
1845
1846 2004-09-15  Michael Koch  <konqueror@gmx.de>
1847
1848         * gnu/java/net/protocol/file/Handler.java
1849         (openConnection): Don't throw exception if host part for file: URI is
1850         present. setURL() keeps file: protocol if ftp: protocol is not
1851         available.
1852
1853 2004-09-14  Richard Henderson  <rth@redhat.com>
1854
1855         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1856         value of sigsuspend.
1857
1858 2004-09-12  Tom Tromey  <tromey@redhat.com>
1859
1860         * javax/naming/CompoundName.java (CompoundName): Don't check for
1861         separator in "flat" case.
1862
1863 2004-09-12  Michael Koch  <konqueror@gmx.de>
1864
1865         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1866         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1867         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1868         Regenerate.
1869
1870 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1871
1872         PR libgcj/14751
1873         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1874         handle in newly-allocated _Jv_Thread_t.
1875         (_Jv_ThreadDestroyData): Close thread handle.
1876         (_Jv_ThreadStart): Remove obsolete comment.
1877         Store handle of newly-created thread in _Jv_Thread_t.
1878         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1879         before including <windows.h>
1880         #define _Jv_HaveCondDestroy
1881
1882 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1883
1884         * java/lang/natThread.cc (finalize_native): Destroy
1885         join conditional variable and mutex if these destroy
1886         operations are supported.
1887
1888 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1889
1890         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1891         (DEFAULT_PERMISSION): New constant.
1892         (Connection): Create a FilePermission with permission to read file.
1893
1894 2004-09-10  Michael Koch  <konqueror@gmx.de>
1895
1896         * gnu/java/net/protocol/file/Connection.java
1897         (getLastModified): Moved around.
1898         (getPermission): Return stored permission.
1899
1900 2004-09-10  Michael Koch  <konqueror@gmx.de>
1901
1902         * Makefile.in: Regenerate.
1903
1904 2004-09-10  Michael Koch  <konqueror@gmx.de>
1905
1906         * Makefile.am: Reverted accidently commited stuff.
1907         * configure: Regenerated.
1908
1909 2004-09-10  Michael Koch  <konqueror@gmx.de>
1910
1911         * gnu/java/net/protocol/file/Connection.java
1912         (lineSeparator): Made non-final.
1913         (static): Removed.
1914         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1915         instead of StringBufferInputStream.
1916
1917 2004-09-10  Michael Koch  <konqueror@gmx.de>
1918
1919         * gnu/java/net/protocol/file/Connection.java
1920         (connect): Handle file is a directory case.
1921
1922 2004-09-10  Michael Koch  <konqueror@gmx.de>
1923
1924         * Makefile.am
1925         (xlib_includes): Removed.
1926         (AM_CPPFLAGS): Renamed from INCLUDES.
1927         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1928         * Makefile.in: Regenerate.
1929
1930 2004-09-09  Michael Koch  <konqueror@gmx.de>
1931
1932         * java/security/ProtectionDomain.java,
1933         * java/util/PropertyPermissionCollection.java:
1934         Fixed javadocs all over.
1935
1936 2004-09-09  Sven de Marothy  <sven@physto.se>
1937
1938         Patch from David Gilbert <david.gilbert@object-refinery.com>
1939         * java/lang/Comparable.java: Fixed documentation errors.
1940         * java/util/Arrays.java: Likewise.
1941
1942 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1943
1944         * java/net/Inet4Address.java
1945         (Inet4Address): Added comment to serialization UID.
1946         * java/text/Format.java
1947         (Format): Added comment to serialization UID.
1948
1949 2004-09-09  Michael Koch  <konqueror@gmx.de>
1950
1951         * java/lang/System.java
1952         (err): Fixed javadoci to point to setErr() and not setOut().
1953
1954 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1955
1956         (normalizePath): Added special case for windows systems.
1957
1958 2004-09-09  Michael Koch  <konqueror@gmx.de>
1959
1960         * java/io/File.java
1961         (dupSeparator): Made private.
1962         (File(URI)): New constructor.
1963         (getParentFile): Fixed javadoc.
1964         (createTempFile): Reformated.
1965         (setReadOnly): Added comment.
1966         (deleteOnExit): Merged javadoc with classpath version.
1967
1968 2004-09-09  Michael Koch  <konqueror@gmx.de>
1969
1970         * Makefile.am: Don't try to include deps.mk.
1971         * Makefile.in: Regenerated.
1972
1973 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1974
1975         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1976         .d files.
1977         * configure: Rebuilt.
1978
1979 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1980
1981         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1982         Changed pfn from static local to local.
1983
1984 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1985             H.J. Lu  <hongjiu.lu@intel.com>
1986
1987         PR libgcj/17290
1988         * Makefile.am (GCJCOMPILE): Remove definition.
1989         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1990         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1991         * Makefile.in: Rebuilt.
1992
1993 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1994
1995         * configure.ac (enable-gc-debug): Update help for new syntax.
1996         * configure: Regenerate.
1997
1998 2004-09-03  David Daney  <ddaney@avtrex.com>
1999
2000         * include/mips-signal.h: Update copyright.
2001
2002 2004-09-03  David Daney  <ddaney@avtrex.com>
2003
2004         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2005         * include/mips-signal.h: Added HANDLE_FPE support.
2006         
2007 2004-08-31  Michael Koch  <konqueror@gmx.de>
2008
2009         * javax/swing/plaf/basic/BasicTextAreaUI.java
2010         (create): New method.
2011         * javax/swing/text/DefaultHighlighter.java
2012         (DefaultHighlightPainter.debugRect): Removed.
2013         * javax/swing/text/StyleContext.java
2014         (DEFAULT_STYLE): New field.
2015
2016 2004-08-31  Michael Koch  <konqueror@gmx.de>
2017
2018         * javax/swing/plaf/basic/BasicLookAndFeel.java
2019         (initComponentDefaults): Add keybindings for selection.backward and
2020         selection-forward for text components.
2021         * javax/swing/plaf/basic/BasicTextUI.java
2022         (paintSafely): Paint highlight only when something is actually
2023         selected.
2024         * javax/swing/text/DefaultCaret.java
2025         (handleHighlight): New method.
2026         (setSelectionVisible): Don't do anything when nothing changes.
2027         Handle highlight.
2028         (moveDot): Reimplemented. Handle highlight.
2029         (setDot): Set mark too. Handle highlight.
2030         (getSelectionPainter): New method.
2031         * javax/swing/text/DefaultEditorKit.java
2032         (defaultActions): Added new actions for text selection.
2033         * javax/swing/text/DefaultHighlighter.java
2034         (DefaultHighlightPainter): New inner class.
2035         (DefaultPainter): New field.
2036         (paint): Implemented.
2037         * javax/swing/text/PlainView.java
2038         (paint): Don't draw background here again.
2039         * javax/swing/text/Utilities.java
2040         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2041         (drawTabbedText): Likewise.
2042
2043 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2044
2045         * javax/swing/JComponent.java
2046         (resetKeyboardActions): Add null checks.
2047
2048 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2049
2050         * javax/swing/DefaultButtonModel.java:
2051         Skip group notification when no group is set.
2052
2053 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2054
2055         * javax/swing/JColorChooser.java: 
2056         Make a couple inner classes static, for jikes.
2057
2058 2004-08-31  Michael Koch  <konqueror@gmx.de>
2059
2060         * javax/swing/plaf/basic/BasicTextUI.java
2061         (RottView.modelToView): New method.
2062         (UpdateHandler): Renamed from EventHandler.
2063         (updateHandler): Renamed from eventHandler.
2064         (modelToView): Implemented.
2065         * javax/swing/text/AbstractDocument.java
2066         (BranchElement.getElement): Return null for non-existing indeces.
2067         (BranchElement.getElementIndex): Return 0 in some corner cases.
2068         * javax/swing/text/FieldView.java
2069         (modelToView): New method.
2070         * javax/swing/text/PlainView.java
2071         (modelToView): Made public.
2072
2073 2004-08-31  Kim Ho  <kho@redhat.com>
2074
2075         * Makefile.am: New files.
2076         * Makefile.in: Regenerate.
2077         * gcj/Makefile.in: Regenerate.
2078         * include/Makefile.in: Regenerate.
2079         * java/awt/Color.java: Fix documentation.
2080         (RGBtoHSB): Use floats for conversions.
2081         * javax/swing/ButtonGroup.java: Run Jalopy.
2082         (setSelected): Reimplement.
2083         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2084         (changeState): Let ButtonGroup know that the button 
2085         is changing state.
2086         * javax/swing/JColorChooser.java: Implement.
2087         * javax/swing/JLabel.java: Run Jalopy.
2088         * javax/swing/JSpinner.java: Run Jalopy.
2089         (setValue): New method.
2090         * javax/swing/JTabbedPane.java: Run Jalopy.
2091         (removeTabAt): Call correct remove method.
2092         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2093         (getPreviousValue): Compare minimum value.
2094         * javax/swing/Timer.java: Run Jalopy.
2095         (run): Comment out println.
2096         * javax/swing/ToolTipManager.java:
2097         (mouseMoved): Get new tooltip text for location.
2098         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2099         Jalopy and Javadoc.
2100         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2101         Implement.
2102         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2103         Run Jalopy.
2104         (setSelectedColor): Fire ChangeEvent.
2105         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2106         New file. Implement.
2107         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2108         Ditto.
2109         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2110         Ditto.
2111         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2112         Ditto.
2113         * javax/swing/plaf/basic/BasicArrowButton.java:
2114         (getArrow): Fix size of upward pointing button.
2115         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2116         Implement.
2117         * javax/swing/plaf/basic/BasicSliderUI.java:
2118         (getWidthOfWidestLabel): Use preferred dimensions.
2119         (getHeightOfTallestLabel): Ditto.
2120         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2121         Run Jalopy.
2122         (mousePressed): Disable changes to spinner if it is not enabled.
2123         * testsuite/Makefile.in: Regenerate.
2124
2125
2126 2004-08-31  Michael Koch  <konqueror@gmx.de>
2127
2128         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2129         javax/swing/plaf/basic/BasicTableUI.java:
2130         Added copyright notice.
2131
2132 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2133
2134         * Makefile.am: Added new files.
2135         * Makefile.in: Regenerate.
2136         * javax/swing/ComboBoxEditor.java: Added javadocs.
2137         * javax/swing/ComboBoxModel.java: Likewise.
2138         * javax/swing/DefaultComboBoxModel.java: Implemented.
2139         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2140         and ran through jalopy to fix formatting style.
2141         (getListCellRendererComponent): Use appropriate border
2142         if renderer has focus and use noFocusBorder when it doesn't.
2143         * javax/swing/JComboBox.java: Implemented.
2144         * javax/swing/JList.java:
2145         (locationToIndex): New Method. Implemented.
2146         (indexToLocation): New Method.
2147         * javax/swing/JPopupMenu.java: 
2148         (visible): New field.
2149         (isVisible): Changed to use new field above.
2150         (setVisible): Likewise.
2151         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2152         * javax/swing/plaf/basic/BasicArrowButton.java: 
2153         (shadow): Changed default color to Color.gray.
2154         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2155         UI delegate for JComboBox.
2156         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2157         Popup menu containing list of JComboBox's items.
2158         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2159         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2160         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2161         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2162         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2163         (popupMenuWillBecomeVisible): Set selected path to the first
2164         element only if it is of type MenuElement. Also fix formatting
2165         style.
2166         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2167         methods signatures.
2168         
2169 2004-08-31  Michael Koch  <konqueror@gmx.de>
2170
2171         * javax/swing/text/AbstractDocument.java
2172         (createBranchElement): Use new constructor of BranchElement.
2173         (createLeafElement): Renamed arguments.
2174         (getRootElements): Implemented.
2175         (BranchElement.start): Removed.
2176         (BranchElement.end): Likewise.
2177         (BranchElement.BranchElement): Fixed arguments.
2178         (BranchElement.getEndOffset): Reimplemented.
2179         (BranchElement.getStartOffset): Likewis.
2180         * javax/swing/text/DefaultCaret.java
2181         (paint): Draw simple vertical line as caret instead of a rectangle.
2182         * javax/swing/text/JTextComponent.java
2183         (setText): Use doc directly.
2184         * javax/swing/text/PlainView.java
2185         (nextTabStop): Implemented.
2186         * javax/swing/text/Utilities.java
2187         (drawTabbedText): nextTabStop() returns an absolute x position.
2188         (getTabbedTextWidth): Likewise.
2189
2190 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2191
2192         * java/awt/Component.java 
2193         (isFocusTraversable): Predicate on isLightweight()
2194         (setFocusable): Set isFocusTraversableOverridden.
2195         (requestFocus): Predicate peer dispatch on !isLightweight()
2196         (requestFocusInWindow): Likewise.
2197         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2198         * java/awt/Container.java
2199         (dispatchEventImpl): Predicate on event mask.
2200         (LightweightDispatcher): Remove focus machinery.
2201         * java/awt/DefaultFocusTraversalPolicy.java
2202         (accept): Expand predicate to include isFocusable(). 
2203         * java/awt/DefaultKeyboardFocusManager.java:
2204         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2205         * java/awt/KeyboardFocusManager.java
2206         (redispatchEvent): Synchronize on event to prevent feedback.
2207         * javax/swing/AbstractButton.java
2208         (ButtonFocusListener): Remove class.
2209         (init): Set focusPainted, focusable.
2210         * javax/swing/ActionMap.java (get): Check parent for null. 
2211         * javax/swing/InputMap.java (get): Likewise. 
2212         * javax/swing/JComponent.java
2213         (inputMap_whenFocused): New InputMap.
2214         (inputMap_whenAncestorOfFocused): Likewise.
2215         (inputMap_whenInFocusedWindow): Likewise.
2216         (getActionForKeyStroke): Rewrite.
2217         (getConditionForKeystroke): Likewise.
2218         (ActionListenerProxy): New private class.
2219         (setInputMap): Implement.
2220         (getInputMap): Likewise.
2221         (setActionMap): Likewise.
2222         (getActionMap): Likewise.
2223         (processComponentKeyEvent): New empty method.
2224         (processKeyEvent): Implement.
2225         (processKeyBinding): Likewise.
2226         (resetKeyboardActions): Rewrite.
2227         * javax/swing/KeyStroke.java: Rewrite.
2228         * javax/swing/SwingUtilities.java
2229         (notifyAction): Implement.
2230         (replaceUIActionMap): Likewise.
2231         (replaceUIInputMap): Likewise.
2232         * javax/swing/plaf/basic/BasicButtonListener.java
2233         (focusGained): Implement.
2234         (focusLost): Repaint if focusPainted().
2235         (installKeyboardActions): Install pressed / released actions.
2236         (uninstallKeyboardActions): Implement.
2237         * javax/swing/plaf/basic/BasicButtonUI.java
2238         (focusColor): New field.
2239         (installDefaults): Load focus color, install input map.
2240         (installKeyboardActions): Implement.
2241         (uninstallKeyboardActions): Likewise.
2242         (paintFocus): Rewrite.
2243         * javax/swing/plaf/basic/BasicLookAndFeel.java
2244         (Button.focus): New default, midPurple. 
2245         * javax/swing/plaf/basic/BasicTextUI.java
2246         (kit): Make static.
2247         (installUI): Get doc from kit, load defaults.
2248         (getKeymapName): Implement.
2249         (createKeymap): Likewise.
2250         (installKeyboardActions): Likewise.
2251         (getInputMap): Likewise.
2252         (getActionMap): Likewise.
2253         (createActionMap): Likewise.
2254         * javax/swing/text/AbstractDocument.java
2255         (getStartPosition): Implement.
2256         (getEndPosition): Likewise.
2257         * javax/swing/text/DefaultEditorKit.java
2258         (CopyAction): New class.
2259         (CutAction): Likewise.
2260         (DefaultKeyTypedAction): Likewise.
2261         (InsertBreakAction): Likewise.
2262         (InsertContentAction): Likewise.
2263         (InsertTabAction): Likewise.
2264         (PasteAction): Likewise.
2265         (defaultActions): New static table.
2266         (createCaret): Implement.
2267         (getActions): Likewise.
2268         * javax/swing/text/JTextComponent.java
2269         (KeymapWrapper): New private class.
2270         (KeymapActionMap): Likewise.
2271         (DefaultKeymap): New class.
2272         (keymaps): New static table.
2273         (keymap): New field.
2274         (getKeymap): Implement.
2275         (removeKeymap): Likewise.
2276         (addKeymap): Likewise.
2277         (setKeymap): Likewise.
2278         (loadKeymap): Likewise.
2279         (getActions): Likewise.
2280         (margin): New field.
2281         (JTextComponent): Build and install default keymap.
2282         * javax/swing/text/TextAction.java
2283         (textAction): Call super properly.
2284         (getTextComponent): Implement.
2285         * javax/swing/text/Utilities.java
2286         (drawTabbedText): Adjust position by ascent.
2287
2288 2004-08-31  David Jee  <djee@redhat.com>
2289
2290         PR AWT/17156
2291
2292         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2293         (setEnabled): Make it a native method.
2294         * java/awt/DefaultKeyboardFocusManager.java
2295         (postProcessKeyEvent): Only post event if the menu item
2296         is active.
2297         * java/awt/MenuItem.java:
2298         Private field 'enabled' should be true by default.
2299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2300         (setEnabled): New function.
2301
2302 2004-08-31  David Jee  <djee@redhat.com>
2303
2304         PR AWT/17059
2305
2306         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2307         (nativeSetHelpMenu): New native method declaration.
2308         (addHelpMenu): Call nativeSetHelpMenu().
2309         (addMenu): Remove.
2310         * java/awt/MenuBar.java
2311         (setHelpMenu): Call addNotify() on the new help menu.
2312         (add): Call addNotify() on the new menu.
2313         (addNotify): Set the help menu if one exists.
2314         * java/awt/peer/MenuBarPeer.java
2315         (addMenu): Remove.
2316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2317         (nativeSetHelpMenu): New method.
2318
2319 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2320
2321         * Makefile.am: Add new files.
2322         * Makefile.in: Regenerate.
2323         * javax/swing/Box.java: Fix setting of layout in ctor.
2324         * javax/swing/JScrollPane.java: Scroll headers as well.
2325         * javax/swing/JTable.java: Reimplement.
2326         * javax/swing/JViewPort.java: Only add non-null children.
2327         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2328         * javax/swing/Timer.java: Fix stopping null waker.
2329         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2330         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2331         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2332         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2333         * javax/swing/table/DefaultTableModel.java: Clean up.
2334         * javax/swing/table/JTableHeader.java: Implement.
2335
2336 2004-08-31  Mark Wielaard  <mark@klomp.org>
2337
2338         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2339         semi-colon.
2340
2341 2004-08-31  Mark Wielaard  <mark@klomp.org>
2342
2343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2344         Declare variables at top of functions/block.
2345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2346
2347 2004-08-31  Mark Wielaard  <mark@klomp.org>
2348
2349         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2350         first.
2351
2352 2004-08-31  Michael Koch  <konqueror@gmx.de>
2353
2354         * javax/swing/text/PlainView.java
2355         (selectedColor): New field.
2356         (unselectedColor): Likewise.
2357         (font): Likewise.
2358         (updateMetrics): New method.
2359         (lineToRect): Likewise.
2360         (modelToView): Likewise.
2361         (drawSelectedText): Use color from JTextComponent ad draw with
2362         Utilities class.
2363         (drawUnselectedText): Likewise.
2364         (paint): Initialize helper fields.
2365         * javax/swing/text/View.java
2366         (getChildAllocation): New method.
2367         (getViewIndex): Likewise.
2368         (getToolTipText): Likewise.
2369
2370 2004-08-31  Michael Koch  <konqueror@gmx.de>
2371
2372         * javax/swing/text/Utilities.java
2373         (drawTabbedText): Reimplemented.
2374         (getTabbedTextWidth): Likewise.
2375
2376 2004-08-31  Michael Koch  <konqueror@gmx.de>
2377
2378         * javax/swing/plaf/basic/BasicTextUI.java
2379         (installDefaults): Install caret and highlighter.
2380         (modelToView): Use Bias.Forward when calling sibling.
2381         * javax/swing/text/AbstractDocument.java
2382         (ElementEdit): Implements DocumentEvent.ElementChange.
2383         (ElementEdit.ElementEdit): New method.
2384         (ElementEdit.getChildrenAdded): Likewise.
2385         (ElementEdit.getChildrenRemoved): Likewise.
2386         (ElementEdit.getElement): Likewise.
2387         (ElementEdit.getIndex): Likewise.
2388         * javax/swing/text/DefaultCaret.java
2389         (color): Removed.
2390         (textComponent): Renamed from parent, made private.
2391         (selectionVisible): Renamed from vis_sel, made private.
2392         (blinkRate): Renamed from blink, made private.
2393         (magicCaretPosition): Renamed from magic, made private.
2394         (visible): Renamed from vis, made private.
2395         (dot): Made private.
2396         (mark): Likewise.
2397         (deinstall): Remove as MouseMotionListener.
2398         (install): Initialize textComponent first. Add as MouseMotionListener.
2399         (paint): Reimplemented.
2400         * javax/swing/text/JTextComponent.java
2401         (setCaret): Deinstall old caret, install new one and fire property
2402         change after setting property.
2403         (setHighlighter): Deinstall old highlighter, install new one and fire
2404         property change after setting property.
2405         (setCaretColor): Fire property change after setting property.
2406         (setDisabledTextColor): Likewise.
2407         (setSelectedTextColor): Likewise.
2408         (setSelectionColor): Likewise.
2409         (modelToView): New method.
2410
2411 2004-08-31  Michael Koch  <konqueror@gmx.de>
2412
2413         * javax/swing/text/AbstractDocument.java
2414         (getText): Simplified.
2415         * javax/swing/text/Segment.java
2416         (current): New field.
2417         (current): Reimplemented.
2418         (first): Likewise.
2419         (getIndex): Likewise.
2420         (last): Likewise.
2421         (next): Likewise.
2422         (previous): Likewise.
2423         (setIndex): Likewise.
2424
2425 2004-08-31  Michael Koch  <konqueror@gmx.de>
2426
2427         * javax/swing/plaf/basic/BasicButtonUI.java
2428         (defaultTextIconGap): Made protected.
2429         (defaultTextShiftOffset): Likewise.
2430         (textShiftOffset): New field.
2431         (clearTextShiftOffset): New method.
2432         (getTextShiftOffset): Likewise.
2433         (setTextShiftOffset): Likewise.
2434
2435 2004-08-31  Michael Koch  <konqueror@gmx.de>
2436
2437         * javax/swing/plaf/basic/BasicTextUI.java
2438         (installUI): Add eventHandler as property listener.
2439         (uninstallUI): remove eventHandler as propert listener.
2440         (installDefaults): Added comment.
2441         (installListeners): Likewise.
2442         (installKeyboardActions): Likewise.
2443         (uninstallDefaults): Likewise.
2444         (uninstallListeners): Likewise.
2445         (uninstallKeyboardActions): Likewise.
2446
2447 2004-08-31  Michael Koch  <konqueror@gmx.de>
2448
2449         * javax/swing/text/AbstractDocument.java:
2450         Fixed some typos in comments.
2451         (insertString): Reimplemented.
2452         (remove): Likewise.
2453         (replace): New method.
2454         (children): Dont use fully qualified class name.
2455         (DefaultDocumentEvent.offset): Renamed from off.
2456         (DefaultDocumentEvent.length): Renamed from len.
2457         (DefaultDocumentEvent.type): New field.
2458         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2459         (DefaultDocumentEvent.getType): Implemented.
2460
2461 2004-08-31  Michael Koch  <konqueror@gmx.de>
2462
2463         * javax/swing/plaf/basic/BasicTextUI.java
2464         (RootView.textComponent): Removed.
2465         (RootView.RootView): Don't initialize textComponent.
2466         (RootView.getViewFactory): New method.
2467         (EventHandler): New inner class.
2468         (rootView): Initialize at instance creation.
2469         (eventHandler): New field.
2470         (installUI): Don't create view hierarchy directly,
2471         call modelChanged() instead.
2472         (modelChanged): New method.
2473         * javax/swing/text/JTextComponent.java
2474         (setDocument): Fire property change event.
2475
2476 2004-08-31  Michael Koch  <konqueror@gmx.de>
2477
2478         * javax/swing/plaf/basic/BasicTextUI.java
2479         (RootView.paint): Removed debug output.
2480         (paintSafely): Draw highlighter before text.
2481         (paintBackground): Use background color of text component.
2482         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2483         Reformatted.
2484
2485 2004-08-31  Michael Koch  <konqueror@gmx.de>
2486
2487         * javax/swing/plaf/basic/BasicToolBarUI.java
2488         (BasicToolBarUI): Fixed arguments for constructor.
2489         (createUI): Fixed creation of object.
2490
2491 2004-08-31  Michael Koch  <konqueror@gmx.de>
2492
2493         * javax/swing/DefaultListSelectionModel.java
2494         (fireValueChanged): Renamed from fireSelectionValueChanged,
2495         made protected.
2496
2497 2004-08-31  Michael Koch  <konqueror@gmx.de>
2498
2499         * javax/swing/text/TabSet.java
2500         (TabSet): Implements java.io.Serializable.
2501         * javax/swing/text/TabStop.java
2502         (TabStop): Implements java.io.Serializable.
2503         (TabStop): Made public.
2504
2505 2004-08-31  Michael Koch  <konqueror@gmx.de>
2506
2507         * javax/swing/JComponent.java
2508         (setUI): Fire PropertyChange.
2509         * javax/swing/JLabel.java
2510         (text): Renamed from labelText.
2511         (horizontalAlignment): New default vlaue.
2512         (icon): Renamed from activeIcon.
2513         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2514         (displayedMnemonicIndex): Renamed from underlineChar.
2515         (setDisplayedMnemonic): Reimplemented.
2516         * javax/swing/JRadioButton.java
2517         (JRadioButton): New constructors.
2518         * javax/swing/JTextField.java
2519         (JTextField): Throw exception if colums < 0, initialitialz
2520         this.columns directly and initialize document with text conditionally.
2521
2522 2004-08-31  Michael Koch  <konqueror@gmx.de>
2523
2524         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2525         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2526         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2527         * javax/swing/text/FieldView.java
2528         (paint): Just call super method for now.
2529         * Makefile.am: Added new files.
2530         * Makefile.in: Regenerated.
2531
2532 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2533
2534         * javax/swing/AbstractSpinnerModel.java,
2535         javax/swing/JSpinner.java,
2536         javax/swing/SpinnerNumberModel.java,
2537         javax/swing/plaf/basic/BasicSpinnerUI.java:
2538         New files.
2539         * javax/swing/plaf/basic/BasicLookAndFeel.java
2540         (initClassDefaults): Added defaults for BasicSpinnerUI.
2541
2542 2004-08-31  Michael Koch  <konqueror@gmx.de>
2543
2544         * Makefile.am: Added new files.
2545         * Makefile.in: Regenerated.
2546
2547 2004-08-31  Michael Koch  <konqueror@gmx.de>
2548
2549         * javax/swing/TransferHandler.java,
2550         javax/swing/plaf/basic/ComboPopup.java: New files
2551         * Makefile.am: Added javax/swing/TransferHandler.java and
2552         javax/swing/plaf/basic/ComboPopup.java
2553         * Makefile.in: Regenerated.
2554
2555 2004-08-31  Roman Kennke  <roman@ontographics.com>
2556
2557         * javax/swing/text/Utilities.java: New file.
2558
2559 2004-08-31  Michael Koch  <konqueror@gmx.de>
2560
2561         * Makefile.am: Added javax/swing/text/Utilities.java.
2562         * Makefile.in: Regenerated.
2563
2564 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2565
2566         * javax/swing/text/SimpleAttributeSet.java: New file.
2567         * javax/swing/text/StyleConstants.java: New file.
2568         * javax/swing/text/StyleContext.java: New file.
2569         * javax/swing/text/TabSet.java: New file.
2570         * javax/swing/text/TabStop.java: New file.
2571         * javax/swing/text/AbstactDocument.java:
2572         (AbstractElement): Implement attribute support.
2573         * javax/swing/text/AttributeSet.java
2574         (NameAttribute): New static field.
2575         (ResolveAttribute): New static field.
2576         * Makefile.am: Update for new files.
2577         * Makefile.in: Regenerate.
2578
2579 2004-08-31  Craig Black  <craig.black@aonix.com>
2580
2581         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2582         (drawImage): Add support for scaling pixmaps.
2583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2584         (copyAndScalePixmap): New native method.
2585  
2586 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2587
2588         PR AWT/16121
2589         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2590         type-punning compiler warnings using unions.
2591         (throw): Replace bzero with memset.
2592
2593 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2594             Thomas Fitzsimmons  <fitzsim@redhat.com>
2595
2596         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2597         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2598         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2600         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2601
2602 2004-08-31  Mark Wielaard  <mark@klomp.org>
2603
2604         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2605         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2606         and stdlib.h, not gtkpeer.h.
2607         (*vm): New static variable.
2608         (areaPreparedID): Make static.
2609         (areaUpdatedID): Likewise.
2610         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2611         (area_prepared): Likewise.
2612         (area_updated): Likewise.
2613         (closed): Likewise.
2614         (initStaticState): Initialize *vm javaVM.
2615         (pumpBytes): Use given env, not global gdk_env.
2616
2617 2004-08-31  Mark Wielaard  <mark@klomp.org>
2618
2619         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2620         comments.
2621
2622 2004-08-31  Sven de Marothy  <sven@physto.se>
2623
2624         * java/awt/geom/CubicCurve2D.java: Reindent.
2625         (contains): Implemented.
2626         (intersects): Implemented.
2627         * java/awt/geom/QuadCurve2D.java: Likewise.
2628         * java/awt/geom/GeneralPath.java: Reindent and document.
2629         Fully (re)implemented using separate xpoints and ypoints
2630         float[] coords.
2631         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2632
2633 2004-08-31  Michael Koch  <konqueror@gmx.de>
2634
2635         * javax/swing/JMenuItem.java
2636         (getMenuDragMouseListeners): New method.
2637         (getMenuKeyListeners): Likewise.
2638
2639 2004-08-31  Michael Koch  <konqueror@gmx.de>
2640
2641         * javax/swing/AbstractButton.java
2642         (model): Made protected.
2643         (actionListener): Likewise.
2644         (changeListener): Likewise.
2645         (itemListener): Likewise.
2646         (multiClickThreshhold): New field.
2647         (getActionListeners): New method.
2648         (getChangeListeners): Likewise.
2649         (getItemListeners): Likewise.
2650         (fireItemStateChanged): Simplified implementation.
2651         (fireActionPerformed): Likewise.
2652         (fireStateChanged): Likewise.
2653         (getMultiClickThreshhold): New method.
2654         (setMultiClickThreshhold): Likewise.
2655
2656 2004-08-31  Tom Tromey  <tromey@redhat.com>
2657
2658         * java/awt/image/Kernel.java (clone): Use super.clone().
2659
2660 2004-08-31  David Jee  <djee@redhat.com>
2661
2662         PR AWT/16682
2663         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2664         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2665         (nativeSetIconImageFromData): New native method declaration.
2666         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2667         * gnu/java/awt/peer/gtk/GtkImage.java
2668         (getPixelCache): New method.
2669         (getColorModel): New method.
2670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2671         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2672         (free_pixbuf_data): New helper function.
2673         (nativeSetIconImageFromData): New function.
2674
2675 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2676
2677         PR SWING/16576
2678         * javax/swing/JLayeredPane.java 
2679         (setLayer): Permit changing layer after addition.
2680         (setPosition): Permit over-length positions.
2681         (layerToRange): Compare intValue()s.
2682         * javax/swing/Box.java (createHorizontalBox): Implement.
2683         (createRigidArea): Likewise.
2684         (createVerticalBox): Likewise.
2685
2686 2004-08-31  Kim Ho  <kho@redhat.com>
2687
2688         * java/awt/Component.java:
2689         (processMouseEvent): Consume event after
2690         listeners process it.
2691         (processMouseMotionEvent): ditto.
2692         (processMouseWheelEvent): ditto.
2693         * java/awt/Container.java:
2694         (acquireComponentForMouseEvent):
2695         Do not dispatch to events that have been
2696         removed from the Container.
2697         (handleEvent): Consume the MouseEvents.
2698         * javax/swing/RepaintManager.java:
2699         (paintDirtyRegions): Do not add to list of 
2700         damaged areas if the component has no root.
2701
2702 2004-08-31  Michael Koch  <konqueror@gmx.de>
2703
2704         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2705
2706 2004-08-31  Mark Wielaard  <mark@klomp.org>
2707
2708         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2709         null when a MissingResourceException is thrown. Should never happen.
2710
2711 2004-08-31  Mark Wielaard  <mark@klomp.org>
2712
2713         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2714         when argument is null.
2715
2716 2004-08-31  Mark Wielaard  <mark@klomp.org>
2717
2718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2719         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2720         Define hid at start of function.
2721         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2722         Likewise.
2723
2724 2004-08-31  Mark Wielaard  <mark@klomp.org>
2725
2726         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2727         * javax/swing/JButton.java: Reindent.
2728         * javax/swing/JCheckBox.java: Reindent.
2729
2730 2004-08-31  Mark Wielaard  <mark@klomp.org>
2731
2732         * Makefile.am (gtk_c_source_files): Added
2733         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2734         (gtk_awt_peer_sources): Added
2735         gnu/java/awt/peer/gtk/GThreadMutex.java and
2736         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2737         * Makefile.in: Regenerated.
2738
2739 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2740
2741         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2742
2743 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2744
2745         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2746         Added jfieldID, jmethodID.
2747
2748 2004-08-31  Mark Wielaard  <mark@klomp.org>
2749
2750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2751         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2752         gdk_env before calling any gdk or gtk function.
2753
2754         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2755         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2756         (run): Set gtkInitCalled.
2757
2758 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2759
2760         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2761         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2762
2763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2764         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2765         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2766         init_glib_threads. 
2767         (init_glib_threads): New function.
2768
2769 2004-08-31  Mark Wielaard  <mark@klomp.org>
2770
2771         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2772         PRIORITY when not already defined in header file.
2773
2774 2004-08-31  Mark Wielaard  <mark@klomp.org>
2775
2776         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2777         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2778
2779 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2780
2781         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2782         Implemented missing functions for GTK2.
2783         Added error handling.
2784         Renamed static functions out of the g_ namespace.
2785         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2786         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2787         Rewrote global-reference code.
2788         Eliminated cascading errors.
2789         (mutex_trylock_jni_impl) Fully implemented.
2790         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2791         resolution.
2792         (setup_cache) New function.
2793         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2794         bug where they were not unlocking the GMutex associated with the
2795         condition variable during the wait on that condition variable.
2796
2797         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2798         native/jni/gtk-peer/gthread-jni.c,
2799         native/jni/gtk-peer/gthread-jni.h
2800         (g_thread_jni_functions): Renamed to ...
2801         (portable_native_sync_jni_functions): this name.
2802         (gdk_vm): Renamed to...
2803         (the_vm): this name.
2804
2805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2806         (gdk_vm): Removed duplicate definition.
2807         (gtkInit): Removed stray message to stdout.
2808         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2809         (gtkInit): Fix a const assignment bug.
2810         (gtkInit): Simplified code.
2811
2812         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2813         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2814         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2815         gnu/java/awt/peer/gtk/GThreadMutex.java:
2816         New files.
2817
2818 2004-08-31  Mark Wielaard  <mark@klomp.org>
2819
2820         * javax/swing/Box.java: Put FIXME comment above class declaration.
2821         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2822         * javax/swing/JCheckBox.java: Likewise.
2823         * javax/swing/JDialog.java: Likewise.
2824         * javax/swing/JRadioButton.java: Likewise.
2825         * javax/swing/JToggleButton.java: Likewise.
2826         * javax/swing/UIManager.java: Likewise.
2827         * javax/swing/border/TitledBorder.java: Likewise.
2828         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2829         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2830         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2831         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2832         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2833         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2834         * javax/swing/text/JTextComponent.java: Likewise.
2835
2836 2004-08-31  David Jee  <djee@redhat.com>
2837
2838         PR AWT/16682
2839         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2840         (setIconImage): Add a FIXME for unhandled cases.
2841
2842 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2843
2844         PR AWT/16040
2845         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2846         getModifiers.  Replace old button masks with new ones.
2847         * gnu/awt/xlib/XEventLoop.java: Likewise.
2848         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2849         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2851         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2852         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2853         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2854         * java/awt/Component.java: Replace old modifier masks with new
2855         ones.
2856         * java/awt/Container.java: Call getModifiersEx, not
2857         getModifiers.
2858         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2859         old modifier masks.
2860         * javax/swing/JMenuItem.java: Replace old button masks with new
2861         ones.
2862         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2863         getModifiers.
2864         * javax/swing/SwingUtilities.java: Likewise.
2865         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2866         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2868         mask macros with new ones.
2869         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2870         macros with new ones representing new masks.
2871
2872 2004-08-31  Craig Black  <craig.black@aonix.com>
2873
2874         * gnu/java/awt/peer/gtk/GdkGraphics.java
2875         (drawRoundRect): Implemented.
2876         (fillRoundRect): Implemented.
2877         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2878         (drawRoundRect): Reimplemented to match GdkGraphics.
2879         (fillRoundRect): Reimplemented to match GdkGraphics.
2880
2881 2004-08-31  Mark Wielaard  <mark@klomp.org>
2882
2883         * Makefile.in: Regenerated.
2884
2885 2004-08-31  Michael Koch  <konqueror@gmx.de>
2886
2887         * gnu/java/awt/EmbeddedWindow.java
2888         (addNotify): Use AccessController to allow execution of privileged
2889         code.
2890
2891 2004-08-31  Michael Koch  <konqueror@gmx.de>
2892
2893         * gnu/java/awt/EmbeddedWindow.java
2894         (static): Removed.
2895         (addNotify): Set peer via reflection.
2896         (setWindowPeer): Removed.
2897         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2898         * Makefile.am (nat_source_files):
2899         Removed gnu/java/awt/natEmbeddedWindow.cc.
2900
2901 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2902
2903         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2904         and gnu/java/security/action/SetAccessibleAction.java.
2905
2906 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2907
2908         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2909         Renamed from 'setName'. New 2-argument form with default value.
2910         (run): Pass default 'value' parameter to System.getProperty().
2911         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2912         typos.
2913
2914 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2915
2916         * gnu/java/security/action/GetPropertyAction.java: New class.
2917         * gnu/java/security/action/SetAccessibleAction.java: New class.
2918
2919 2004-08-31  David Jee  <djee@redhat.com>
2920
2921         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2922         (setIconImage): Check if image is null.
2923
2924 2004-08-31  David Jee  <djee@redhat.com>
2925
2926         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2927         (create): Set the icon image.
2928         (nativeSetIconImage): New native method declaration.
2929         (setIconImage): Implement.
2930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2931         (nativeSetIconImage): New function.
2932
2933 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2934
2935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2936         (filenameFilterCallback): Declare local variable accepted before use.
2937
2938 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2939
2940         * gnu/java/awt/ComponentDataBlitOp.java:
2941         Cleaned up imports.
2942
2943 2004-08-31  Tom Tromey  <tromey@redhat.com>
2944
2945         * gnu/java/awt/peer/GLightweightPeer.java,
2946         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2947         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2948         javax/swing/JScrollPane.java: Removed
2949         redundant imports.
2950
2951 2004-08-31  David Jee  <djee@redhat.com>
2952
2953         * java/awt/DefaultKeyboardFocusManager.java
2954         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2955         event.  Fix shift modifier checking.
2956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2957         (accel_attach): Remove.
2958         (setupAccelGroup): Remove calls to accel_attach.
2959
2960 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2961
2962         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2963         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2964
2965         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2966         GtkArgList.java.
2967         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2968         * Makefile.in: Regenerate.
2969         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2971         (create(String)): New method.
2972         (create): Call new create method.
2973         (getArgs): Remove method.
2974         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2976         (nativeCreate): Rename to create.
2977         (gtkSetLabel): Rename to gtkButtonSetLabel.
2978         (gtkToggleButtonSetActive): New method.
2979         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2980         (setState): Replace set call with gtkToggleButtonSetActive.
2981         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2982         (getArgs): Remove method.
2983         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2984         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2985         (gtkWidgetSetSensitive): New method.
2986         (gtkWidgetSetParent): Likewise.
2987         (GtkComponentPeer): Call setParent, setComponentBounds and
2988         setVisibleAndEnabled.
2989         (setParent): New method.
2990         (setComponentBounds): New method.
2991         (setVisibleAndEnabled): New method.
2992         (setEnabled): Call gtkWidgetSetSensitive.
2993         (getArgs): Remove method.
2994         Remove all set methods.
2995         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2996         gtkWindowSetModal, setTitle and setResizable.
2997         (getArgs): Remove method.
2998         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2999         (setComponentBounds): New method.
3000         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3001         Replace set call with gtkWindowSetResizable.
3002         (getArgs): Remove method.
3003         (create): Call setTitle and setResizable.
3004         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3006         (gtkWindowSetTitle): New method.
3007         (gtkWindowSetResizable): New method.
3008         (gtkWindowSetModal): New method.
3009         (setParent): New method.
3010         (setVisibleAndEnabled): New method.
3011         (getArgs): Remove method.
3012         (setTitle): Call gtkWindowSetTitle.
3013         (setResizable): Call gtkWindowSetResizable.
3014         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3015         and off locking instrumentation.
3016
3017 2004-08-31  Kim Ho  <kho@redhat.com>
3018
3019         * Makefile.am: Add new file.
3020         * Makefile.in: Regenerate.
3021         * gcj/Makefile.in: Regenerate
3022         * include/Makefile.in:
3023         * java/awt/Container.java:
3024         (acquireComponentForMouseEvent): Respect 
3025         the event mask when looking for candidate.
3026         * javax/swing/JComponent.java:
3027         Remove toolTip field.
3028         (createToolTip): Create a tooltip on demand.
3029         (setToolTipText): Register with the ToolTipManager.
3030         (getToolTipText(MouseEvent)): Return getToolTipText().
3031         * javax/swing/JToolTip.java: Implement.
3032         * javax/swing/Timer.java: Jalopy.
3033         (restart): Call stop, then start.
3034         (stop): Interrupt the timer rather than wait for
3035         the timer to come to a stop naturally.
3036         * javax/swing/ToolTipManager.java: Implement.
3037         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3038         Change ToolTip.background color.
3039         * javax/swing/plaf/basic/BasicToolTipUI.java:
3040         Implement.
3041         * testsuite/Makefile.in: Regenerate
3042
3043 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3044
3045         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3046         constructor param comments.
3047
3048 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3049
3050         * java/awt/Component.java: Document AWT 1.0 event handler
3051         methods.
3052
3053 2004-08-31  Roman Kennke  <roman@ontographics.com>
3054
3055         * javax/swing/Box.java:
3056         (createGlue): Implemented
3057         (createHorizontalGlue): Implemented
3058         (createHorizontalStrut): Implemented
3059         (createVerticalGlue): Implemented
3060         (createVerticalStrut): Implemented
3061
3062 2004-08-31  David Jee  <djee@redhat.com>
3063
3064         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3065         (GtkChoicePeer): Do not automatically select first item.
3066         (getHistory): Remove.
3067         (nativeGetSelected): New method.
3068         (nativeRemoveAll): New method.
3069         (add): Use nativeGetSelected() instead of getHistory().
3070         (remove): Likewise.
3071         (removeAll): Call nativeRemoveAll().
3072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3073         (create): Migrate to GtkComboBox.
3074         (append): Likewise.
3075         (nativeAdd): Likewise.
3076         (nativeRemove): Likewise.
3077         (select): Likewise.
3078         (nativeRemoveAll): New method.
3079         (nativeGetSelected): New method.
3080         (selection_changed): New method.
3081         (getHistory): Remove.
3082         (item_activate): Remove.
3083         (item_removed): Remove.
3084         (connect_choice_item_selectable_hook): Remove.
3085
3086 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3087
3088         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3089         variable in setEditable call.
3090
3091         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3092         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3093         (gtkWidgetSetBackground): New method.
3094         (gtkWidgetSetForeground): Likewise.
3095         (create): Set peer's editable state based on awtComponent's.
3096
3097         * java/awt/Button.java (Button()): Use empty string rather than
3098         null in no-label constructor.
3099
3100 2004-08-31  Roman Kennke  <roman@ontographics.com>
3101
3102         * javax/swing/BoxLayout.java: Reimplement.
3103
3104 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3105
3106         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3107         gnu_java_awt_peer_gtk_GdkGraphics.c
3108         (initState(GtkComponentPeer)): Don't return array of colour
3109         values.
3110         (GdkGraphics(int,int)): Set default font to size 12.
3111         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3112         component's foreground colour.
3113         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3114         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3115         (initState(GtkComponentPeer)): Don't return array of colour
3116         values.
3117         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3118         colours to component's colours.
3119         (current_colors_of_widget): Remove function.
3120         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3121         Return a new graphics object.
3122         * java/awt/Font.java (toString): Fix format.
3123         * java/awt/Graphics.java (toString): Likewise.
3124
3125 2004-08-31  Craig Black  <craig.black@aonix.com>
3126
3127         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3128         (addTearOff): New function.
3129         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3130         New native method.
3131         (init): Call addTearOff() when menu.isTearOff().
3132
3133 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3134
3135         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3136         Default implementation.
3137         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3138         Implement using GdkPixbufDecoder.
3139
3140 2004-08-31  David Jee  <djee@redhat.com>
3141
3142         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3143         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3144         setting the size of GtkFileDialogPeers.
3145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3146         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3147         use their default sizes rather than their natural requisitions.
3148
3149 2004-08-31  Michael Koch  <konqueror@gmx.de>
3150
3151         * javax/swing/JFormattedTextField.java
3152         (JFormattedTextField): Implemented.
3153         * javax/swing/text/DefaultEditorKit.java
3154         (BeepAction): New inner class.
3155         * javax/swing/text/Segment.java
3156         (partialReturn): New field.
3157         (setPartialReturn): New method.
3158         (isPartialReturn): Likewise.
3159         * javax/swing/text/View.java
3160         (createFragment): Fixed typo.
3161         (getStartOffset): New method.
3162         (getEndOffset): Likewise.
3163
3164 2004-08-31  Michael Koch  <konqueror@gmx.de>
3165
3166         * javax/swing/table/DefaultTableColumnModel.java
3167         (serialVersionUID): Made private.
3168         (listenerList): Initialize.
3169         (changeEvent): Initialize.
3170         * javax/swing/table/JTableHeader.java
3171         (JTableHeader): New constructors.
3172         (createDefaultColumnModel): New method.
3173         * javax/swing/table/TableColumn.java
3174         (setHeaderRenderer): Simplified code.
3175         (setCellRenderer): Likewise.
3176         (setWidth): Likewise.
3177
3178 2004-08-31  Tom Tromey  <tromey@redhat.com>
3179
3180         * java/text/AttributedString.java (AttributedString): Use
3181         ArrayList to build array of attribute ranges.  Don't use
3182         `attribs' before it is set.
3183
3184 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3185
3186         * HACKING: Remove reference to special automake. No longer needed.
3187
3188 2004-08-30  Tom Tromey  <tromey@redhat.com>
3189
3190         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3191         return result from `add'.
3192
3193 2004-08-30  Tom Tromey  <tromey@redhat.com>
3194
3195         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3196
3197 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3198
3199         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3200
3201 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3202
3203         * java/io/File.java File(String,String): Fixed handling of empty
3204         path.
3205
3206 2004-08-30  Casey Marshall  <csm@gnu.org>
3207
3208         Author e-mail updated for all files.
3209         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3210         instance of OID.
3211         (compareTo): Use `equals'.
3212         * gnu/java/security/der/BitString.java (equals): Test if the
3213         argument is an instance of BitString.
3214         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3215         class final. Made fields private.
3216         (<init>): New constructor.
3217         (skip): New method.
3218         (makeString): Made static; don't use NIO.
3219         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3220         * gnu/java/security/der/DERWriter.java: Fixed imports.
3221         (writeString): Don't use NIO.
3222         (toIso88591, toUtf16Be, toUtf8): New methods.
3223         * gnu/java/security/der/DERValue.java: Formatting changes only.
3224         * gnu/java/security/der/DER.java: Likewise.
3225
3226 2004-08-30  Tom Tromey  <tromey@redhat.com>
3227
3228         * java/nio/CharBuffer.java (put): Fix typo.
3229         * java/nio/DoubleBuffer.java (put): Fix typo.
3230         * java/nio/FloatBuffer.java (put): Fix typo.
3231         * java/nio/IntBuffer.java (put): Fix typo.
3232         * java/nio/LongBuffer.java (put): Fix typo.
3233         * java/nio/ShortBuffer.java (put): Fix typo.
3234
3235 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3236
3237         * java/nio/ByteBuffer.java (put): Fix typo.
3238
3239 2004-08-30  Casey Marshall  <csm@gnu.org>
3240
3241         * java/security/DummyKeyPairGenerator.java (clone): Removed
3242         useless instanceof check.
3243         * java/security/DummyMessageDigest.java (clone): Likewise.
3244         * java/security/DummySignature.java (clone): Likewise.
3245         * java/security/MessageDigest.java (clone): Remove useless
3246         instanceof check.
3247         * java/security/MessageDigestSpi.java (clone): Likewise.
3248         * java/security/Signature.java (clone): Provide meaningful
3249         implementation.
3250         * java/security/SignatureSpi.java (clone): Likewise.
3251
3252 2004-08-29  Mark Wielaard  <mark@klomp.org>
3253
3254         * java/util/Arrays.java
3255         (sort(byte[], int, int)): Check fromIndex < 0.
3256         (sort(char[], int, int)): Likewise.
3257         (sort(short[], int, int)): Likewise.
3258         (sort(int[], int, int)): Likewise.
3259         (sort(long[], int, int)): Likewise.
3260         (sort(float[], int, int)): Likewise.
3261         (sort(double[], int, int)): Likewise.
3262         (sort(Object[], int, int, Comparator)): Likewise.
3263         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3264         (qsort(char[], int, int)): Likewise.
3265         (qsort(short[], int, int)): Likewise.
3266         (qsort(int[], int, int)): Likewise.
3267         (qsort(long[], int, int)): Likewise.
3268         (qsort(float[], int, int)): Likewise.
3269         (qsort(double[], int, int)): Likewise.
3270
3271 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3272
3273         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3274         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3275         java/util/ArrayList.java, java/util/Arrays.java,
3276         java/util/BitSet.java, java/util/Calendar.java,
3277         java/util/Collection.java, java/util/ListIterator.java,
3278         java/util/Map.java, java/util/SortedSet.java:
3279         Added additional exceptions to documentation, along
3280         with some additions and corrections.
3281
3282 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3283
3284         * configure.ac: Handle --enable-gc-debug.
3285         * configure: Regenerate.
3286         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3287         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3288         Rearrange include file order.
3289         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3290         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3291         (disable_gc_mutex): Delete along with all references.
3292         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3293         adjust for debug header size.
3294         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3295         debug case.
3296         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3297         (gcj_describe_type_fn): New.
3298         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3299         Register gcj_describe_type_fn.
3300         * include/boehm-gc.h:
3301         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3302         Don't define, but declare, for debug case.
3303         * java/lang/natObject.cc:
3304         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3305
3306 2004-08-26  Mark Wielaard  <mark@klomp.org>
3307
3308         Fixes PR libgcj/17002:
3309         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3310         a TimeZoneId string and then try to convert that to a TimeZone with
3311         getDefaultSystemTimeZone(String).
3312         (timezones0): Changed type from Hashtable to HashMap.
3313         (timezones): Create HashMap, not Hashtable.
3314         (getDefaultTimeZone): New method, rewritten from CNI version.
3315         (readTimeZoneFile): New method.
3316         (readtzFile): Likewise.
3317         (skipFully): Likewise.
3318         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3319         getDefaultTimeZoneId and rewritten.
3320         (getDefaultTimeZoneId): Rewritten in java.
3321         
3322 2004-08-25  David Daney  <daney@avtrex.com>
3323
3324         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3325         * Makefile.in: Regenerated.
3326
3327 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3328
3329         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3330         only if jvmpi is enabled.
3331         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3332         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3333         (_Jv_AllocString): Likewise.
3334         (_Jv_AllocPtrFreeObject): Likewise.     
3335
3336 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3337
3338         * defineclass.cc: Include <stdio.h>.
3339         * java/lang/natClassLoader.cc: Include <stdio.h>.
3340
3341 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3342             Michael Koch  <konqueror@gmx.de>
3343
3344         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3345         * Makefile.in: Regenerated.
3346
3347 2004-08-20  Michael Koch  <konqueror@gmx.de>
3348
3349         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3350         AC_COMPILE_IFELSE macros.
3351
3352 2004-08-20  Michael Koch  <konqueror@gmx.de>
3353
3354         * configure.in: Renamed to configure.ac.
3355         * configure.ac: New file.
3356         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3357         include/config.h.in, testsuite/Makefile.in: Regenerated.
3358
3359 2004-08-20  Michael Koch  <konqueror@gmx.de>
3360
3361         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3362         * aclocal.m4, configure: Regenerated.
3363
3364 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3365             Michael Koch  <konqueror@gmx.de>
3366
3367         * configure.in, Makefile.am: Ported to automake 1.9.
3368         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3369         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3370         Regenerated.
3371
3372 2004-08-19  Tom Tromey  <tromey@redhat.com>
3373
3374         * java/net/DatagramSocket.java: Fixed typo.
3375
3376 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3377
3378         PR libgcj/17081
3379         * java/net/URI.java (string): New field. Make all other fields
3380         transient.
3381         (readObject): Implemented.
3382         (writeObject): Implemented.
3383         (URI): Set 'string'.
3384
3385 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3386
3387         PR libgcj/17079
3388         * java/util/logging/Handler.java (isLoggable): Accept record if its
3389         log level equals the threshold level. From Robin Green.
3390
3391 2004-08-18  David Daney  <ddaney@avtrex.com>
3392
3393         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3394         instead of sigwait.
3395
3396 2004-08-17  Michael Koch  <konqueror@gmx.de>
3397
3398         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3399         * Makefile.in: Regenerated.
3400
3401 2004-08-16  Tom Tromey  <tromey@redhat.com>
3402
3403         PR java/8473:
3404         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3405
3406 2004-08-16  Michael Koch  <konqueror@gmx.de>
3407
3408         * Makefile.am
3409         (math_c_files): Renamed from c_files.
3410         (math_c_source_files): Renamed from c_source_files.
3411         * Makefile.in,
3412         gcj/Makefile.in,
3413         include/Makefile.in,
3414         testsuite/Makefile.in: Regenerated.
3415
3416 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3417
3418         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3419         to avoid autoconf warning.
3420         * configure: Rebuilt.
3421
3422 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3423
3424         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3425         localhostAddress to loopbackAddress.
3426         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3427
3428 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3429
3430         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3431         boehm-gc's include dirs.
3432         * configure: Rebuilt.
3433         * include/boehm-gc.h: Include gc_config.h.
3434
3435 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3436
3437         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3438         localhostAddress.
3439         (getByName): Return loopback address for null hostname, without
3440         security check. Use lookup(), not getAllByName.
3441         (getAllByName): Return loopback address for null hostname, without
3442         security check.
3443         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3444         check here.
3445
3446 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3447
3448         PR libgcj/17020
3449         Reported by Robin Green.
3450         * defineclass.cc (handleField): Don't throw exception on unrecognised
3451         modifier. Add FIXME comments for spec compliance.
3452         (handleMethod): Likewise.
3453
3454 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3455
3456         PR libgcj/16662
3457         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3458         (Almost everywhere): add LOG calls, fix, add comments.
3459         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3460         Add explicit check for LOCKED bit in slow case (PR 16662).
3461         (_Jv_MonitorExit): Add casts in debug-only code.
3462         Always release LOCKED bit before throwing exception.
3463         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3464         isn't.  Handle easy cases without lock acquisition.
3465         (Object::wait): Use NotifyAll for lock inflation.
3466
3467 2004-08-12  David Daney  <ddaney@avtrex.com>
3468
3469         * testsuite/libjava.lang/Process_1.java: New test.
3470         * testsuite/libjava.lang/Process_2.java: New test.
3471         * testsuite/libjava.lang/Process_3.java: New test.
3472         * testsuite/libjava.lang/Process_4.java: New test.
3473         * testsuite/libjava.lang/Process_5.java: New test.
3474         * testsuite/libjava.lang/Process_6.java: New test.
3475         * testsuite/libjava.lang/Process_1.out: Expected result.
3476         * testsuite/libjava.lang/Process_2.out: Expected result.
3477         * testsuite/libjava.lang/Process_3.out: Expected result.
3478         * testsuite/libjava.lang/Process_4.out: Expected result.
3479         * testsuite/libjava.lang/Process_5.out: Expected result.
3480         * testsuite/libjava.lang/Process_6.out: Expected result.
3481
3482 2004-08-12  David Daney  <ddaney@avtrex.com>
3483
3484         PR libgcj/11801
3485         * java/lang/PosixProcess.java: Rewrote.
3486         * java/lang/natPosixProcess.cc: Rewrote.
3487         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3488         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3489         * posix-threads.cc (block_sigchld) New function.
3490         (_Jv_ThreadRegister) Use it.
3491         (_Jv_ThreadStart) Use it.
3492         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3493         * Makefile.am: ... to specify extra native headers.
3494         * configure: Regenerated.
3495         * include/config.h: Regenerated.
3496         * Makefile.in: Regenerated.
3497         * gcj/Makefile.in: Regenerated.
3498         * include/Makefile.in: Regenerated.
3499         * testsuite/Makefile.in: Regenerated.
3500
3501 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3502
3503         PR tree-optimization/16867
3504         * testsuite/libjava.lang/PR16867.java: New test.
3505
3506 2004-08-09  Per Bothner  <per@bothner.com>
3507
3508         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3509         with private fields and access methods.
3510         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3511         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3512         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3513         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3514         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3515         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3516         * jni.cc: Likewise.
3517         * resolve.cc: Likewise.
3518         * gcj/field.h: Likewise.
3519         * include/jvm.h: Likewise.
3520         * java/lang/Class.h: Likewise.
3521         * java/lang/natClass.cc: Likwise.
3522         * java/lang/natClassLoader.cc: Likewise
3523         * java/lang/reflect/natMethod.cc: Likewise
3524         * verify.cc: Likewise.
3525         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3526         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3527
3528 2004-08-10  Andrew Haley  <aph@redhat.com>
3529
3530         * testsuite/libjava.lang/err14.java: New file.
3531         * testsuite/libjava.lang/err14.out: New file.
3532
3533 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3534
3535         * Makefile.am: Fix missing rename from x_nat_headers to 
3536         xlib_nat_headers.
3537         * Makefile.in: Regenerated.
3538
3539 2004-08-04  Andrew Haley  <aph@redhat.com>
3540
3541         * java/security/BasicPermission.java: Don't check wildcards.
3542
3543 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3544             Michael Koch  <konqueror@gmx.de>
3545
3546         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3547         * configure.in: Replaced all usages of AC_LINK_FILES by
3548         AC_CONFIG_LINKS.
3549         * aclocal.m4,
3550         configure: Regenerated.
3551
3552 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3553             Michael Koch  <konqueror@gmx.de>
3554
3555         * acconfig.h: Removed.
3556         * Makefile.am: Rename variables for xlib peer to include xlib and
3557         gtk_c_headers to gtk_jni_headers.
3558         * Makefile.in: Regenerated.
3559
3560 2004-08-04  Andrew Haley  <aph@redhat.com>
3561
3562         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3563         debugging.
3564
3565 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3566
3567         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3568         Replace most top level 'dnl' comments with '#' comments, conforming
3569         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3570         help strings.
3571         * configure: Rebuilt.
3572
3573 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3574
3575         * acinclude.m4: Include no-executables.m4.
3576         * aclocal.m4: Rebuild.
3577         * configure.in: Convert to the autoconf 2.59 version of
3578         of the no-executables hack, and also of the nonstandard CXX
3579         hack and the multilibbed CC and CXX hack.  Change prerequisite
3580         to autoconf 2.59.
3581         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3582         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3583         testsuite/Makefile.in: Regenerate.
3584
3585 2004-08-03  Tom Tromey  <tromey@redhat.com>
3586
3587         * jni.cc: Reindented.
3588
3589 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3590
3591         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3592
3593 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3594
3595         * testsuite/libjava.compile/PR16701.java: New test.
3596
3597 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3598
3599         * java/util/Collection.java, java/util/List.java,
3600         java/util/Map.java, java/util/Set.java,
3601         java/util/SortedMap.java, java/util/SortedSet.java:
3602         Added additional exceptions to documentation.
3603
3604 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3605
3606         PR libgcj/16814
3607         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3608         * configure. Regenerate.
3609         * include/win32.h: Explicitly include winsock2.h
3610         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3611         Winsock api.
3612
3613 2004-07-30  Michael Koch  <konqueror@gmx.de>
3614
3615         * java/util/zip/GZIPInputStream.java
3616         (GZIPInputStream): Increase buffer size to 4k.
3617         * java/util/zip/GZIPOutputStream.java
3618         (GZIPOutputStream): Likewise.
3619         * java/util/zip/Inflater.java
3620         (setInput): Merged formating with GNU classpath.
3621         * java/util/zip/InflaterInputStream.java
3622         (InflaterInputStream): Increase buffer size to 4k.
3623         (fill): Throw exception if stream ends early.
3624         (read): Merged endless-loop with GNU classpath.
3625         (skip): Increase buffer size to 2k.
3626
3627 2004-07-30  Michael Koch  <konqueror@gmx.de>
3628
3629         * gnu/java/awt/EmbeddedWindow.java
3630         (addNotify): Use AccessController to allow execution of privileged
3631         code.
3632
3633 2004-07-29  Michael Koch  <konqueror@gmx.de>
3634
3635         * gnu/java/lang/MainThread.java:
3636         Explicitely import used classes.
3637         (args): Make it type String[].
3638
3639 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3640
3641         * gnu/java/awt/ComponentDataBlitOp.java,
3642         gnu/java/beans/ExplicitBeanInfo.java,
3643         gnu/java/beans/IntrospectionIncubator.java,
3644         gnu/java/beans/editors/ColorEditor.java,
3645         gnu/java/beans/editors/FontEditor.java,
3646         gnu/java/beans/editors/NativeBooleanEditor.java,
3647         gnu/java/beans/editors/NativeByteEditor.java,
3648         gnu/java/beans/editors/NativeDoubleEditor.java,
3649         gnu/java/beans/editors/NativeFloatEditor.java,
3650         gnu/java/beans/editors/NativeIntEditor.java,
3651         gnu/java/beans/editors/NativeLongEditor.java,
3652         gnu/java/beans/editors/NativeShortEditor.java,
3653         gnu/java/beans/editors/StringEditor.java,
3654         gnu/java/io/ClassLoaderObjectInputStream.java,
3655         gnu/java/io/decode/Decoder.java,
3656         gnu/java/io/encode/Encoder.java,
3657         gnu/java/lang/ClassHelper.java,
3658         gnu/java/locale/Calendar.java,
3659         gnu/java/locale/Calendar_de.java,
3660         gnu/java/locale/Calendar_en.java,
3661         gnu/java/locale/Calendar_nl.java,
3662         gnu/java/locale/LocaleInformation_de.java,
3663         gnu/java/locale/LocaleInformation_en.java,
3664         gnu/java/locale/LocaleInformation_nl.java:
3665         Cleaned up imports.
3666
3667 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3668
3669         * README: Remove obsolete info. Update bug URL.
3670         * THANKS: Updated.
3671         * NEWS: Updated with news up to GCC 3.4 release.
3672
3673 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3674
3675         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3676         Renamed from 'setName'. New 2-argument form with default value.
3677         (run): Pass default 'value' parameter to System.getProperty().
3678         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3679         typos.
3680         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3681         not 'setName'.
3682
3683 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3684
3685         * configure.in: Check for minimum GTK version 2.4 requirement.
3686         * configure: Rebuilt.
3687
3688 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3689
3690         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3691         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3692         Reduce sleep time.
3693         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3694         compiler bug.
3695         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3696         address. Reduce sleep times. Synchronize with target threads before
3697         attempting to interrupt them. Don't try to calibrate yeild count,
3698         instead, always loop for a fixed time.
3699         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3700         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3701         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3702         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3703         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3704         * testsuite/libjava.lang/pr179.java: Likewise.
3705         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3706         time. Remove upper bounds check on sleep time. 
3707
3708 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3709
3710         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3711         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3712
3713 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3714
3715         * java/io/File.java (toURI): Throw RuntimeException, not 
3716         InternalError.
3717         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3718         class name, not instance.
3719
3720 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3721
3722         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3723         and gnu/java/security/action/SetAccessibleAction.java.
3724         * Makefile.in: Rebuilt.
3725
3726 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3727
3728         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3729         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3730         _Jv_InitPrimClass.
3731         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3732         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3733         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3734
3735 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3736
3737         * Makefile.am: Replace jar, rmic and rmiregistry references with
3738         gjar, grmic and grmiregistry.
3739         * configure.in: Likewise.
3740         * Makefile.in: Regenerate.
3741         * configure: Likewise.
3742         * gcj/Makefile.in: Likewise.
3743         * include/Makefile.in: Likewise.
3744         * testsuite/Makefile.in: Likewise.
3745
3746 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3747
3748         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3749         for privileged getProperty calls.
3750         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3751         SetAccessibleAction instead of anonymous class for doPrivileged call.
3752         (getMethod): Likewise.
3753         (setAccessible): New field. PrivilegedAction object to use when
3754         calling setAccessible.
3755         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3756         SetAccessibleAction instead of anonymous class for diPrivileged call.
3757         (setFields): Likewise.
3758         (getClassUID): Likewise.
3759         (findMethod): Likewise.
3760         * gnu/java/security/action/GetPropertyAction.java: New class.
3761         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3762
3763 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3764
3765         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3766         for final fields.
3767         * testsuite/libjava.lang/Serialization.java: New test.
3768         * testsuite/libjava.lang/Serialization.out: New.
3769
3770 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3771
3772         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3773         missed in last commit.
3774
3775 2004-07-23  Mark Wielaard  <mark@klomp.org>
3776
3777         * java/lang/System.java (static): Set http.agent system property when
3778         not yet set.
3779         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3780         from system property inside AccessController.doPrivileged() call.
3781         (proxyPort): Made package private.
3782         (proxyInUse): Likewise.
3783         (proxyHost): Likewise.
3784         (userAgent): Likewise.
3785
3786 2004-07-23  Mark Wielaard  <mark@klomp.org>
3787
3788         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3789         implementation.
3790
3791 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3792
3793         * Makefile.am (ordinary_java_source_files): Add
3794         DefaultContentHandlerFactory.java.
3795         * Makefile.in: Rebuilt.
3796         * java/net/URLConnection.java (defaultFactory): New field.
3797         (getContent): 
3798         (getContentHandler): Renamed from 'setContentHandler'. Try 
3799         defaultFactory after user-set factory, if any. Search for content 
3800         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3801         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3802         Implemented.
3803         (getLastModified): Implemented.
3804         (getPermission): Create file permission here, instead of in
3805         constructor.
3806         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3807         Implemented.
3808         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3809         Implemented.
3810         (getLastModified): Implemented.
3811         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3812         Default implementation.
3813         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3814         Implement using GdkPixbufDecoder.
3815         
3816 2004-07-21  Michael Koch  <konqueror@gmx.de>
3817
3818         * javax/swing/JTextArea.java
3819         (setLineWrap): Fire property change event after new value is set.
3820         (setTabSize): Likewise.
3821
3822 2004-07-21  Michael Koch  <konqueror@gmx.de>
3823
3824         * javax/swing/JTable.java
3825         (autoCreateColumnsFromModel): New field.
3826         (autoResizeMode): Likewise.
3827         (cellEditor): Likewise.
3828         (cellSelectionEnabled): Likewise.
3829         (columnModel): Likewise.
3830         (dataModel): Likewise.
3831         (defaultEditorsByColumnClass): Likewise.
3832         (defaultRenderersByColumnClass): Likewise.
3833         (editingColumn): Likewise.
3834         (editingRow): Likewise.
3835         (gridColor): Likewise.
3836         (preferredViewportSize): Likewise.
3837         (rowHeight): Likewise.
3838         (rowMargin): Likewise.
3839         (rowSelectionAllowed): Likewise.
3840         (selectionBackground): Likewise.
3841         (selectionForeground): Likewise.
3842         (selectionModel): Likewise.
3843         (showHorizontalLines): Likewise.
3844         (showVerticalLines): Likewise.
3845         (tableHeader): Likewise.
3846         (JTable): Implemented.
3847         (getColumnModel): Likewise.
3848         (getSelectedRow): Likewise.
3849         (getSelectionModel): Likewise.
3850         (setModel): Likewise.
3851         (setSelectionModel): Likewise.
3852         (createScrollPaneForTable): New method.
3853         (createDefaultDataModel): Likewise.
3854         (createDefaultListSelectionModel): Likewise.
3855         (getModel): Likewise.
3856         (getTableHeader): Likewise.
3857         (setTableHeader): Likewise.
3858         (getColumnSelectionAllowed): Likewise.
3859         (setColumnSelectionAllowed): Likewise.
3860         (getRowSelectionAllowed): Likewise.
3861         (setRowSelectionAllowed): Likewise.
3862         (getAutoResizeMode): Likewise.
3863         (setAutoResizeMode): Likewise.
3864         (getColumnCount): Likewise.
3865         (getRowCount): Likewise.
3866         (getCellRenderer): Likewise.
3867         * javax/swing/JTree.java
3868         (cellRenderer): New field.
3869         (editable): Likewise.
3870         (rootVisible): Likewise.
3871         (showsRootHandles): Likewise.
3872         (getModel): New method.
3873         (setModel): Likewise.
3874         (isEditable): Likewise.
3875         (setEditable): Likewise.
3876         (isRootVisbile): Likewise.
3877         (setRootVisible): Likewise.
3878         (getShowsRootHandles): Likewise.
3879         (setShowRootHandles): Likewise.
3880         (getCellRenderer): Likewise.
3881         (setCellRenderer): Likewise.
3882
3883 2004-07-21  Michael Koch  <konqueror@gmx.de>
3884
3885         * javax/swing/JFormattedTextField.java
3886         (setDocument): Implemented.
3887         * javax/swing/JRootPane.java:
3888         Fixed javadocs.
3889         * javax/swing/JTable.java
3890         (getDefaultRenderer): New method.
3891         * javax/swing/JTextField.java
3892         (setFont): Likewise.
3893         (getPreferredSize): Likewise.
3894         * javax/swing/JToggleButton.java
3895         (getAccessibleContext): Fix javadoc.
3896         * javax/swing/JTree.java:
3897         Add some javadocs.
3898         * javax/swing/JViewport.java:
3899         Likewise.
3900
3901 2004-07-21  David Jee  <djee@redhat.com>
3902
3903         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3904         Collect all native method declaration at the top.
3905         (create): Set the filename filter if necessary.
3906         (setDirectory): Call nativeSetDirectory().
3907         (setFilenameFilter): Implement.
3908         (filenameFilterCallback): New method.
3909         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3910         (create): Configure dialog to show hidden files.
3911         (filenameFilterCallback): New function. 
3912         (nativeSetFilenameFilter): New function.
3913         (nativeSetDirectory): New function.
3914
3915 2004-07-21  Kim Ho  <kho@redhat.com>
3916
3917         * javax/swing/plaf/basic/BasicSliderUI.java:
3918         Ran Jalopy.
3919         (paintTrack): Fill the track before painting
3920         the borders.
3921
3922 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3923
3924         patch from Roman Kennke <roman@ontographics.com>
3925         * javax/swing/Spring.java: New file.
3926         * javax/swing/SpringLayout.java: New file.
3927         * Makefile.am: Add new files.
3928         * Makefile.in: Regenerate.
3929
3930 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3931
3932         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3933         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3934         * javax/swing/ScrollPaneLayout.java: Likewise.
3935
3936 2004-07-21  Kim Ho  <kho@redhat.com>
3937
3938         * javax/swing/DefaultDesktopManager.java:
3939         (findMinimum): Removed.
3940         (resizeFrame): Trust the UI to pass valid 
3941         bounds.
3942         * javax/swing/JOptionPane.java:
3943         Implemented showInternalXXXDialog methods.
3944         (startModal): New method.
3945         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3946         (BorderListener::mouseDragged): Verify that the new 
3947         bounds are valid before passing them to the DesktopManager.
3948         (preferredLayoutSize): Delegate
3949         to getSize.
3950         (minimumLayoutSize): Ditto.
3951         (getSize): New method.
3952         (GlassPaneDispatcher): Reimplemented by copying 
3953         a stripped down LightweightDispatcher from Container.
3954         (getMinimumSize): Call minimumLayoutSize.
3955         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3956         Ran Jalopy.
3957         (mousePressed): Add ability to properly close 
3958         JInternalFrames.
3959         * javax/swing/plaf/basic/BasicToolBarUI.java:
3960         (DragWindow): Set owner for DragWindow.
3961
3962 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3963
3964         * java/awt/image/ShortLookupTable.java: New file.
3965         * java/awt/image/ByteLookupTable.java: New file.
3966         * Makefile.am: Added new files.
3967         * Makefile.in: Regenerated.
3968
3969 2004-07-21  David Jee  <djee@redhat.com>
3970
3971         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3972         (create(GtkContainerPeer)): New native method.
3973         (create()): Call native create(), passing in the parent frame
3974         as the paramter. Natively set the current file and directory.
3975         (setFile): Construct an absolute filename before passing it to
3976         the native peer.
3977         (nativeGetDirectory): New method.
3978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3979         (window_closed): Removed.
3980         (ok_clicked): Likewise.
3981         (cancel_clicked): Likewise.
3982         (handle_response): New method.
3983         (create): Use GtkFileChooserDialog.
3984         (connectSignals): Connect to handle_response.
3985         (nativeGetDirectory): New method.
3986         (nativeSetFile): Use GtkFileChooserDialog.
3987
3988 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3989
3990         * java/awt/image/LookupTable.java: New file.
3991         * Makefile.am: Added new file.
3992         * Makefile.in: Regenerated.
3993
3994 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3995
3996         * java/awt/image/Kernel.java: New file.
3997         * Makefile.am: Added new file.
3998         * Makefile.in: Regenerated.
3999
4000 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4001
4002         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4003         * javax/swing/JMenu.java: Likewise.
4004         * javax/swing/JMenuBar.java: Likewise.
4005         (MARGIN_CHANGED_PROPERTY): New property.
4006         (setMargin): Implemented.
4007         * javax/swing/JMenuItem.java: Fixed javadocs.
4008         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4009         (LABEL_CHANGED_PROPERTY): New property.
4010         (add): changed to use createActionComponent.
4011         (createActionComponent): Implemented.   
4012         (setLabel): Fire PropertyChangeEvent if label property
4013         changes.
4014         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4015         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4016         (ContainerHandler): Repaint if margin property has changed.
4017         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4018         (installUI): Call installComponents().
4019         (uninstallUI): Call uinstallComponents().
4020         * javax/swing/plaf/basic/BasicMenuUI.java:
4021         Fixed javadocs.
4022         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4023         Likewise.
4024
4025 2004-07-21  Kim Ho  <kho@redhat.com>
4026
4027         * javax/swing/plaf/basic/BasicToolBarUI.java:
4028         (DragWindow): Use the right constructor.
4029
4030 2004-07-21  Kim Ho  <kho@redhat.com>
4031
4032         * javax/swing/JToolBar.java:
4033         (layoutContainer): Use getComponents.
4034         * javax/swing/plaf/basic/BasicToolBarUI.java:
4035         (DragWindow): Don't use SwingUtilities' 
4036         getOwnerFrame
4037         (ToolBarDialog): ditto.
4038
4039 2004-07-21  Kim Ho  <kho@redhat.com>
4040
4041         * javax/swing/JRootPane.java:
4042         Ran jalopy.
4043         (layoutContainer): Set the glasspane's size to 
4044         be the same as the content pane.
4045         (createGlassPane): Set opaque property to false.
4046
4047 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4048
4049         * java/awt/Component.java (requestFocus()): Don't handle Panels
4050         specially.
4051         (requestFocus(boolean)): Likewise.
4052         (requestFocusInWindow(boolean)): Likewise.
4053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4054         Set GTK_CAN_FOCUS flag.
4055
4056 2004-07-21  Kim Ho  <kho@redhat.com>
4057
4058         * Makefile.am: Added new file.
4059         * Makefile.in: Regenerated.
4060         * gcj/Makefile.in: Regenerated.
4061         * include/Makefile.in: Regenerated.
4062         * javax/swing/AbstractButton.java:
4063         Add rollOverEnabled property.
4064         (setRolloverEnabled): Use new property.
4065         (isRolloverEnabled): Use new property.
4066         * javax/swing/JTabbedPane.java:
4067         (setComponent): Remove useless JTabbedPane.this.
4068         * javax/swing/JToolBar.java: Finish implementation.
4069         * javax/swing/plaf/basic/BasicArrowButton.java:
4070         (paint): Moved border painting to a border.
4071         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4072         Change JToolBar look and feel defaults.
4073         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4074         (actionPerformed): Return Integer index instead of name.
4075         (addButtonComponents): Check to see if component is
4076         JButton last.
4077         (createMessageArea): Don't use components that are not
4078         completed yet.
4079         (getIconForType): Use temporary icons.
4080         * javax/swing/plaf/basic/BasicSliderUI.java:
4081         (mousePressed): Do not return if it's on thumb.
4082         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4083         (paintMinorTickForVertSlider): ditto.
4084         (paintMajorTickForHorizSlider): ditto.
4085         (paintMajorTickForVertSlider): ditto.
4086         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4087         Add a border around the SplitPaneDivider.
4088         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4089         Remove comments.
4090         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4091         New file. Implemented.
4092         * javax/swing/plaf/basic/BasicToolBarUI.java:
4093         Implemented.
4094         * testsuite/Makefile.in: Regenerated.
4095
4096 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4097
4098         * javax/swing/Timer.java (run): Queue events each time cycle.
4099
4100 2004-07-21  David Jee  <djee@redhat.com>
4101
4102         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4103         (imageComplete): Call image.imageComplete().
4104         * java/awt/image/MemoryImageSource.java:
4105         Reimplement consumers as a Vector instead of a Hashtable.  This is
4106         because enumeration on a Hashtable is not thread-safe.
4107         (addConsumer): Adapt to Vector consumers.
4108         (isConsumer): Adapt to Vector consumers.
4109         (removeConsumer): Adapt to Vector consumers.
4110         (startProduction): Adapt to Vector consumers. Call imageComplete()
4111         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4112         (newPixels): Adapt to Vector consumers.
4113         (sendPicture): Set the color model of the image consumer.
4114         (newPixels(IIII)): Adapt to Vector consumers.
4115         (newPixels(IIIIB)): Adapt to Vector consumers.
4116
4117 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4118
4119         * java/awt/Component.java (deliverEvent): Implement.
4120         (postEvent): Implement.
4121         (handleEvent): Implement.
4122         (translateEvent): New method.
4123         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4124         * java/awt/Container.java (deliverEvent): Implement.
4125         * java/awt/Event.java (paramString): Fix formatting.
4126         * java/awt/Font.java (toString): Likewise.
4127         * java/awt/Window.java (postEvent): Implement.
4128
4129 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4130
4131         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4132         Set window's focus owner upon receiving a FOCUS_LOST event.
4133         * java/awt/Window.java (Window()): Refocus the previously
4134         focused component within the window when the window regains the
4135         top-level focus.
4136         (setFocusOwner): New method.
4137         * java/awt/Component.java (requestFocus): Add FIXME.
4138
4139         * libgcj.pc.in: Remove library flags.
4140
4141 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4142
4143         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4144         MOUSE_PRESSED event.
4145         * java/awt/Component.java (requestFocus()): Handle Panel
4146         specially.  Post FOCUS_LOST event on opposite component.
4147         (requestFocus(boolean)): Likewise.
4148         (requestFocusInWindow(boolean)): Likewise.
4149         (paramString): Reorder dimension fields.
4150         * java/awt/Container.java (paramString): Fix string format.
4151         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4152         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4153         process key events if the focus owner is non-null.
4154         (dispatchKeyEvent): Likewise.
4155         * java/awt/Frame.java (paramString): Fix formatting.
4156         (generateName): New method.
4157         (getUniqueLong): Likewise.
4158         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4159         the temporary focus owner is null.  If so, return the permanent
4160         focus owner.
4161         * java/awt/Panel.java (generateName): New method.
4162         (getUniqueLong): Likewise.
4163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4164         signal handling to make callbacks more specific.
4165
4166 2004-07-21  Michael Koch  <konqueror@gmx.de>
4167
4168         * javax/swing/text/Position.java
4169         (Bias): Implemented.
4170
4171 2004-07-21  Michael Koch  <konqueror@gmx.de>
4172
4173         * javax/swing/LookAndFeel.java
4174         (provideErrorFeedback): New method.
4175
4176 2004-07-21  Michael Koch  <konqueror@gmx.de>
4177
4178         * javax/swing/JTextArea.java
4179         (tabSize): New field.
4180         (getTabSize): New method.
4181         (setTabSize): Likewise.
4182
4183 2004-07-21  Michael Koch  <konqueror@gmx.de>
4184
4185         * javax/swing/ActionMap.java:
4186         Fixed javadocs all over.
4187         (serialVersionUID): Made private.
4188         (parent): Don't explicitely initialize with default value.
4189         (get): SImplified.
4190         (keys): Reimplemented.
4191         (allKeys): Likewise.
4192         (convertSet): Removed.
4193         * javax/swing/ComponentInputMap.java:
4194         Fixed javadocs all over.
4195         (ComponentInputMap): Implemented.
4196         (put): Likewise.
4197         (clear): Likewise.
4198         (remove): Likewise.
4199         (SetParent): Likewise.
4200         (getComponent): Likewise.
4201         * javax/swing/InputMap.java:
4202         Fixed javadocs all over.
4203         (serialVersionUID): Made private.
4204         (parent): Don't explicitely initialize with default value.
4205         (get): SImplified.
4206         (keys): Reimplemented.
4207         (allKeys): Likewise.
4208         (convertSet): Removed.
4209
4210 2004-07-21  Michael Koch  <konqueror@gmx.de>
4211
4212         * javax/swing/ActionMap.java,
4213         javax/swing/ComponentInputMap.java,
4214         javax/swing/InputMap.java,
4215         javax/swing/table/DefaultTableColumnModel.java,
4216         javax/swing/table/TableColumn.java,
4217         javax/swing/table/TableColumnModel.java,
4218         javax/swing/table/TableModel.java,
4219         javax/swing/text/AbstractDocument.java,
4220         javax/swing/text/TextAction.java:
4221         Reformated.
4222
4223 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4224
4225         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4226         Make method non-static.
4227         * javax/swing/AbstractButton.java:
4228         Rename fields to match property names where possible.
4229         (iconTextGap): New property.
4230         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4231         (init) New method, call from after various constructors.
4232         * javax/swing/JComponent.java (revalidate): 
4233         Invalidate before queueing repair.
4234         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4235         Reimplement in terms of visibleRowCount property.
4236         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4237         * javax/swing/JScrollPane.java (createScrollListener): 
4238         Remove tracing chatter.
4239         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4240         * javax/swing/RepaintManager.java (addInvalidComponent): 
4241         Don't invalidate.
4242         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4243         calculations.
4244         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4245         Mimic sun behavior on top left/right positioning.
4246         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4247         Remove mistaken use of preferredScrollableViewportSize here.
4248         (layoutContainer): Use view's preferred size as basis.
4249         * javax/swing/plaf/basic/BasicButtonUI.java:
4250         Set, get, and use textIconGap property.
4251         (paint) Paint text returned from layout (with ellipsis).
4252         * javax/swing/plaf/basic/BasicListUI.java:
4253         Remove tracing chatter, correct various minor calculations.
4254         (getCellBounds): Update layout state before calculating.
4255         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4256         Use margin default similar to sun's.    
4257         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4258         (createIncreaseIcon): Center icon, minimize margins.
4259         (createDecreaseIcon): Likewise.
4260         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4261         Implement.
4262         (installUI): Call it.
4263         (uninstallDefaults): Implement.
4264         (uninstallUI): Call it.
4265         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4266         Call existing Window constructor.
4267         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4268         Set clip before painting.
4269
4270 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4271         
4272         * javax/swing/JMenuItem.java:
4273         (processMouseEvent): Reimplemented to deal with
4274         mouse drag events.
4275         (createMenuDragMouseEvent): New private helper method.
4276         Creates MenuDragMouseEvent.
4277         * javax/swing/MenuSelectionManager.java
4278         (componentForPoint): Implemented.
4279         (isComponentPartOfCurrentMenu): Made public.
4280         (processMouseEvent): Reimplemented to deal with 
4281         mouse drag events.
4282         (setSelectedPath): Corrected small mistake that caused
4283         path to be set incorrectly.
4284         (getPath): If given component is JMenu then also add this
4285         menu's popup menu to the selected path.
4286         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4287         (getPath): Ditto.
4288         (getPreferredSize): Call getPreferredMenuItemSize().
4289         (getPreferredItemSize): Moved code from getPreferredSize to here.
4290         (installListeners): Install MouseMotionListeners.
4291         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4292         if mouse wasn't released in the bounds of this menu item.
4293         (MenuDragMouseHandler): Implemented.
4294         * javax/swing/plaf/basic/BasicMenuUI.java:
4295         (installListeners): Install MouseMotionListener and 
4296         MenuDrageMouseListener.
4297         (MenuDragMouseHandler): Implemented.
4298         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4299         (uninstallListeners): Implemented.
4300         
4301 2004-07-21  Michael Koch  <konqueror@gmx.de>
4302
4303         * javax/swing/JCheckBox.java: Reformated.
4304         (JCheckBox): Fixed all constructors.
4305         (isBorderPaintedFlat): New method.
4306         (setBorderPaintedFlat): New method.
4307         * javax/swing/JEditorPane.java
4308         (createEditorKitForContentType): Made public.
4309         (scrollToReference): Likewise.
4310         * javax/swing/JTextArea.java
4311         (setLineWrap): Fire property change.
4312         * javax/swing/JToggleButton.java
4313         (JToggleButton): New constructor.
4314         (JToggleButton): Simplified.
4315         * javax/swing/text/AttributeSet.java
4316         (FontAttribute): Renamed from FontCharacterAttribute.
4317         * javax/swing/text/JTextComponent.java
4318         (KeyBinBinding): Added javadoc.
4319         (JTextComponent): Likewise.
4320         (getAccessibleContext): Fixed javadoc.
4321         * javax/swing/text/View.java
4322         (View): Added javadoc.
4323         * javax/swing/text/TabableView.java: New file.
4324         * Makefile.am: Added javax/swing/text/TabableView.java.
4325         * Makefile.in: Regenerated.
4326
4327 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4328
4329         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4330         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4331         (GtkErrorImage): New helper class.
4332         (bufferedImageOrError): New helper method.
4333         (createImage): Use it.
4334
4335 2004-07-21  David Jee  <djee@redhat.com>
4336
4337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4338         (setCaretPosition): Scroll the text view so the new caret position
4339         is visible on screen.
4340
4341 2004-07-21  David Jee  <djee@redhat.com>
4342
4343         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4344         (setBounds): Do not validate awtComponent here.
4345         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4346         (getPreferredSize): New method.
4347         * java/awt/ScrollPane.java
4348         (ScrollPane): Set default size to 100x100.
4349         (addNotify): If child is not a Panel, wrap it with a new Panel.
4350         (paramString): Implement.
4351
4352 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4353
4354         * javax/swing/JMenu.java:
4355         (setSelected): Display popup menu only if this menu 
4356         is showing on the screen.
4357         * javax/swing/JPopupMenu.java:
4358         (processMouseEvent): Added comment.
4359         (processKeyEvent): Likewise.
4360         * javax/swing/MenuSelectionManager.java:
4361         (clearSelectedPath): Only fireStateChanged() after
4362         selected path was changed, not before.
4363         (setSelectedPath): Likewise.
4364         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4365         (paintMenuItem): Corrected position of menu item's
4366         icon.
4367         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4368         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4369         (popupMenuCanceled): Reimplemented.
4370         (popupMenuWillBecomeVisible): Select first menu item by default 
4371         when displaying free floating popup menus.
4372         (TopWindowListener): Reimplemented.
4373
4374 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4375
4376         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4377         Panel from being painted twice when it is first shown.
4378
4379 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4380
4381         * java/awt/Window.java: Reverted changes from my 
4382         previous patch for creating window without an owner.
4383         * javax/swing/SwingUtilities.java: 
4384         (SwingUtilities.OwnerFrame): made static.
4385         (OwnerFrame.setVisible): New method. Overridden with
4386         empty implementation.
4387         (OwnerFrame.isShowing): New method. Ovverridden
4388         to return always true.
4389
4390 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4391
4392         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4394         (GtkComponentPeer): Remove temporary try/catch block.
4395         (setVisible): Call show and hide.
4396         (show): Make native.
4397         (hide): Likewise.
4398         (getArgs): Don't add "visible" argument.
4399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4400         (property_notify_predicate): Return Bool instead of int.
4401         (find_layout): New function.
4402         (connectJObject): Call find_layout.
4403         (connectSignals): Likewise.
4404         (moveLayout): Likewise.
4405         (gtkLayoutSetVisible): Likewise.
4406
4407 2004-07-21  Mark Wielaard  <mark@klomp.org>
4408
4409         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4410         on notifier object before calling notifyAll().
4411
4412 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4413
4414         * java/awt/Window.java: Changed constructors to use new
4415         method that is described below. Constructors call this
4416         methods only if newly created window should have an owner.
4417         (setWindowOwner): New method. Implementation for
4418         this method is moved from this(owner,configuration).
4419         * javax/swing/JWindow.java:
4420         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4421         instead of owner.
4422         * javax/swing/SwingUtilities.java:
4423         (ownerFrame): Change type of this field to OwnerFrame.
4424         (getOwnerFrame): Changed to return object of type OwnerFrame.
4425         (SwingUtilities.OwnerFrame): New class. Represents owner
4426         of a Window that is not provided with one.
4427
4428 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4429
4430         *  javax/swing/AbstractButton.java: 
4431         (configurePropertiesFromAction): Set action command
4432         to button's text by default if action command is not 
4433         explicitely specified.
4434         * javax/swing/JMenu.java: Remove unnecessary listener
4435         and methods relevant to it.
4436         (setSelected): Reimplemented.
4437         (menuSelectionChanged): Moved most part of implementation to
4438         setSelected() and call it instead.
4439         * javax/swing/JMenuItem.java: 
4440         (init): Comment out statement that sets paint_border to false.
4441         (configurePropertiesFromAction): Do not set accelerator
4442         for JMenu.
4443         (menuSelectionChanged): Change selected index in the selection
4444         model of menu item's parent.
4445         * javax/swing/JPopupMenu.java:
4446         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4447         instead of GridBagConstraints.HORIZONTAL.
4448         (insert): Likewise.
4449         (createActionChangeListener): Implemented.
4450         (setVisible): Correct location of HeavyWeightMenu and 
4451         don't firePopupMenuCanceled().
4452         (menuSelectionChanged): Implemented.
4453         (ActionChangeListener): New Listener. Implemented.
4454         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4455         (BasicMenuBarUI.ContainerHandler): Implemented.
4456         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4457         (paintMenuItem): Uncommented out code that paints 
4458         icon, now that icons are working properly.
4459         (PropertyChangeListener): Implemented.
4460         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4461         Added javadocs.
4462         (topWindowListener): New field.
4463         (Constructor): initialize topWindowListener.
4464         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4465         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4466         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4467         Implemented.
4468
4469 2004-07-21  Michael Koch  <konqueror@gmx.de>
4470
4471         * javax/swing/plaf/basic/BasicButtonUI.java
4472         (paintFocus): Fixed method signature.
4473         (paintButtonPressed): Likewise.
4474         (paintButtonNormal): Likewise.
4475         (paintText): New method.
4476         * javax/swing/plaf/basic/BasicLabelUI.java
4477         (paint): Re-indented.
4478         * javax/swing/plaf/basic/BasicTextUI.java
4479         (installUI): Set parent textComponent to opaque.
4480         * javax/swing/text/DefaultHighlighter.java
4481         (checkPositions): New helper method.
4482         (addHighlight): Throws BadLocationException, check positions.
4483         (changeHighlight): Likewise.
4484         * javax/swing/text/EditorKit.java
4485         (EditorKit): Implements Serializable.
4486         * javax/swing/text/JTextComponent.java
4487         (getUI): Added javadoc.
4488         (setUI): Likewise.
4489         (upadteUI): Added javadoc, don't revalidate and repaint.
4490
4491 2004-07-21  David Jee  <djee@redhat.com>
4492
4493         * java/awt/GridBagLayout.java
4494         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4495         * javax/swing/AbstractButton.java
4496         (setText): Reindent.
4497         * javax/swing/RepaintManager.java
4498         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4499
4500 2004-07-21  Michael Koch  <konqueror@gmx.de>
4501
4502         * javax/swing/JFormattedTextField.java
4503         (value): New field.
4504         (JFormattedTextField): Implemented.
4505         (getValue): Likewise.
4506         (setValue): Likewise.
4507         * javax/swing/LookAndFeel.java
4508         (getSupportsWindowDecorations): New method.
4509         * javax/swing/UIDefaults.java:
4510         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4511         (addPropertyChangeListener): Made public.
4512         (addResourceBundle): Likewise.
4513         (removeResourceBundle): Likewise.
4514         (setDefaultLocale): Likewise.
4515         * javax/swing/plaf/basic/BasicRootPaneUI.java
4516         (BasicRootPaneUI): Implements PropertyChangeListener.
4517         (propertyChange): New method.
4518         * javax/swing/plaf/basic/BasicTextUI.java
4519         (BasicHighlighter): New inner class.
4520         (createHighlighter): New method.
4521         * javax/swing/plaf/basic/BasicToolBarUI.java
4522         (DragWindow): Extends java.awt.Window.
4523         * javax/swing/text/JTextComponent.java
4524         (getDocument): Removed debug output.
4525         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4526         javax/swing/text/DefaultHighlighter.java,
4527         javax/swing/text/FieldView.java,
4528         javax/swing/text/PlainView.java: New files.
4529         * Makefile.am: Added new files.
4530         * Makefile.in: Regenerated.
4531
4532 2004-07-21  Michael Koch  <konqueror@gmx.de>
4533
4534         * javax/swing/JEditorPane.java
4535         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4536         (createEditorKitForContentType): Likewise.
4537         * javax/swing/text/DefaultEditorKit.java
4538         (serialVersionUID): Added constant field.
4539         (EndOfLineStringPropery): Fixed typo.
4540         (DefaultEditorKit): New constructor.
4541         * javax/swing/text/Segment.java:
4542         Import java.text.CharacterIterator.
4543         * javax/swing/text/CharacterIterator.java,
4544         javax/swing/text/PlainEditorKit.java: Removed.
4545         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4546         javax/swing/text/PlainEditorKit.java.
4547         * Makefile.in: Regenerated.
4548
4549 2004-07-21  Michael Koch  <konqueror@gmx.de>
4550
4551         * javax/swing/JButton.java,
4552         javax/swing/text/DefaultEditorKit.java,
4553         javax/swing/text/EditorKit.java,
4554         javax/swing/text/Segment.java,
4555         javax/swing/text/StyledEditorKit.java:
4556         Reformatted.
4557
4558 2004-07-21  Michael Koch  <konqueror@gmx.de>
4559
4560         * javax/swing/ImageIcon.java
4561         (file): Removed.
4562         (description): Renamed from descr.
4563         (ImageIcon): Added missing constructors.
4564         (setParent): Removed.
4565         (setImageObserver): New method.
4566         (getImageObserver): New method.
4567         (paintIcon): Handle observer = null.
4568         * javax/swing/JButton.java
4569         (removeNotify): Fixed javadoc.
4570         (updateUI): Simplified.
4571         * javax/swing/JRootPane.java
4572         (serialVersionUID): New constant field.
4573         * javax/swing/UIManager.java:
4574         Fixed javadocs all over.
4575         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4576         * javax/swing/text/AbstractDocument.java
4577         (createPosition): Throws BadLocationException.
4578         (getText): Likewise.
4579         (remove): Likewise.
4580         * javax/swing/text/ComponentView.java
4581         (modelToView): Likewise.
4582         * javax/swing/text/DefaultEditorKit.java:
4583         Made all public methods public.
4584         (read): Throws BadLocationException and IOException.
4585         (write): Likewise.
4586         * javax/swing/text/EditorKit.java:
4587         Made all public methods public.
4588         (serialVersionUID): New constant field.
4589         (clone): New method.
4590         (read): Throws BadLocationException and IOException.
4591         (write): Likewise.
4592         * javax/swing/text/Segment.java
4593         (array): Made public.
4594         (count): Likewise.
4595         (offset): Likewise.
4596         (Segment): New constructors.
4597         (clone): Reimplemented.
4598         * javax/swing/text/StyledEditorKit.java
4599         (serialVersionUID): New constant field.
4600
4601 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4602
4603         * java/awt/image/BufferedImage.java 
4604         (getSource): Implement.
4605         * javax/swing/ImageIcon.java 
4606         (ImageIcon): Implement ctor.
4607         * javax/swing/ScrollPaneLayout.java 
4608         (preferredLayoutSize): Be more careful about nulls.
4609
4610 2004-07-21  Michael Koch  <konqueror@gmx.de>
4611
4612         * javax/swing/text/AttributeSet.java
4613         (CharacterAttribute): New interface
4614         (ColorAttribute): Likewise.
4615         (FontCharacterAttribute): Likewise.
4616         (ParagraphAttribute): Likewise.
4617         * javax/swing/text/DefaultCaret.java
4618         (moveCaret): New method.
4619         (positionCaret): Likewise.
4620         (repaint): Made protected.
4621         * javax/swing/text/JTextComponent.java
4622         (KeyBinding): Made it static.
4623         * javax/swing/text/View.java
4624         (getContainer): Honor parent == null.
4625
4626 2004-07-21  Michael Koch  <konqueror@gmx.de>
4627
4628         * javax/swing/text/AbstractDocument.java:
4629         Reformatted.
4630
4631 2004-07-21  Michael Koch  <konqueror@gmx.de>
4632
4633         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4634         Import javax.swing.UIManager explicitely.
4635         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4636         (ScrollingButton): Made it static.
4637
4638 2004-07-21  Michael Koch  <konqueror@gmx.de>
4639
4640         * javax/swing/UIDefaults.java
4641         (ActiveValue): Made public.
4642         (LazyValue): Likewise.
4643         * javax/swing/plaf/basic/BasicTextUI.java
4644         (RootView): Reintroduced.
4645         (view): Removed.
4646         (rootView): New field.
4647         (installUI): Create document if needed, initialize rootView.
4648         (uninstallUI): Hanle rootView.
4649         (paint): Likewise.
4650         (getRootView): Likewise.
4651         (setView): Likewise.
4652         * javax/swing/text/DefaultCaret.java:
4653         Renamed all "evt" variables to "event".
4654
4655 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4656
4657         * libgcj.spec.in: Add -l-java-util-logging.
4658
4659 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4660
4661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4662         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4663         gtk-xft-dpi can no calculate the right value.
4664         (dpi_changed_cb): Mark *pspec as unsused.
4665
4666 2004-07-21  David Jee  <djee@redhat.com>
4667
4668         * java/awt/Component.java
4669         (move): Delegate to setBounds().
4670         (resize): Likewise.
4671         (reshape): Fix so it repaints parent and self only when necessary.
4672
4673 2004-07-21  David Jee  <djee@redhat.com>
4674
4675         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4676         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4677         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4678         (setVisible): Likewise.
4679         (show): Likewise.
4680         (hide): Likewise.
4681         (getArgs): Likewise.
4682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4683         (property_notify_predicate): Likewise.
4684         (find_layout): Likewise.
4685         (connectJObject): Likewise.
4686         (connectSignals): Likewise.
4687         (moveLayout): Likewise.
4688         (gtkLayoutSetVisible): Likewise.
4689
4690 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4691
4692         * Makefile.am
4693         (jv_convert_LDADD):
4694         (gij_LDADD):
4695         (rmic_LDADD):
4696         (rmiregistry_LDADD): Add lib-java-util-logging.la
4697         * Makefile.in: Regenerate.
4698
4699 2004-07-21  Michael Koch  <konqueror@gmx.de>
4700
4701         * javax/swing/text/AbstractDocument.java
4702         (replace): Dont use protected method of java.util.Vector directly.
4703
4704 2004-07-21  Michael Koch  <konqueror@gmx.de>
4705
4706         * javax/swing/plaf/basic/BasicTextUI.java
4707         (installUI): Call specialized install methods.
4708         (installDefaults): New method.
4709         (installListeners): Likewise.
4710         (installKeyboardActions): Likewise.
4711         (uninstallUI): Likewise.
4712         (uninstallDefaults): New method.
4713         (uninstallListeners): Likewise.
4714         (uninstallKeyboardActions): Likewise.
4715         (getPropertyPrefix): New abstract method.
4716         (paint): Made final, just call paintSafely().
4717         (paintSavely): New method.
4718         (paintBackground): Likewise.
4719         (getVisibleEditorRect): Likewise.
4720         * javax/swing/text/LayeredHighlighter.java,
4721         javax/swing/text/TabExpander.java: New files.
4722         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4723         and javax/swing/text/TabExpander.java.
4724         * Makefile.in: Regenerated.
4725
4726 2004-07-21  Michael Koch  <konqueror@gmx.de>
4727
4728         * javax/swing/plaf/basic/BasicTextUI.java
4729         (BasicTextUI): Made abstract.
4730         (BasicCaret): New inner class.
4731         (view): Don't explicitely initialize with "null".
4732         (textComponent): New field.
4733         (textColor): Removed.
4734         (disabledTextColor): Removed.
4735         (normalBackgroundColor): Removed.
4736         (RootView): Removed commented out inner class.
4737         (createUI): Removed.
4738         (createCaret): New method.
4739         (getComponent): Likewise.
4740         (installUI): Initialize textComponent only.
4741         (getPreferredSize): Use installed JTextComponent.
4742         (setView): New method.
4743         (create): Likewise.
4744         * javax/swing/text/JTextComponent.java
4745         (highlighter): New field.
4746         (caretColor): Likewise.
4747         (disabledTextColor): Likewise.
4748         (seletedTextColor): Likewise.
4749         (selectionColor): Likewise.
4750         (setUI): New method.
4751         (getCaretColor): Likewise.
4752         (setCaretColor): Likewise.
4753         (getDisabledColor): Likewise.
4754         (setDisabledColor): Likewise.
4755         (getSelectedTextColor): Likewise.
4756         (setSelectedTextColor): Likewise.
4757         (getSelectionColor): Likewise.
4758         (setSelectionColor): Likewise.
4759         (getHighlighter): Likewise.
4760         (setHighlighter): Likewise.
4761         (replaceSelection): Likewise.
4762
4763 2004-07-21  Michael Koch  <konqueror@gmx.de>
4764
4765         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4766         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4767         * javax/swing/plaf/basic/BasicToolBarUI.java
4768         (BasicToolBarUI): Implements SwingConstants.
4769
4770 2004-07-21  Michael Koch  <konqueror@gmx.de>
4771
4772         * javax/swing/JPopupMenu.java: Removed CVS tags.
4773         * javax/swing/UIDefaults.java: Reformatted.
4774         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4775         Explicitely import used classes.
4776
4777 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4778
4779         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4780         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4781         (GtkComponentPeer): Remove temporary try/catch block.
4782         (setVisible): Call show and hide.
4783         (show): Make native.
4784         (hide): Likewise.
4785         (getArgs): Don't add "visible" argument.
4786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4787         (property_notify_predicate): Return Bool instead of int.
4788         (find_layout): New function.
4789         (connectJObject): Call find_layout.
4790         (connectSignals): Likewise.
4791         (moveLayout): Likewise.
4792         (gtkLayoutSetVisible): Likewise.
4793
4794 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4795
4796         * javax/swing/AbstractButton.java:
4797         (setDisplayedMnemonicIndex): Check if button
4798         text is not null before checking its length.
4799         * javax/swing/JMenuItem.java:
4800         (processMouseEvent): Disarm menu item if mouse has
4801         exited it.
4802         * javax/swing/plaf/basic/BasicMenuUI.java:
4803         (MouseInputHandler.mouseEntered): Do not raise
4804         popup menu if this menu is already selected.
4805         (MouseInputHandler.mousePressed): Do not fire 
4806         MenuEvents.
4807         (MenuHandler): Implemented.     
4808
4809 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4810
4811         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4812         (getSelectedObjects): Implemented.
4813         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4814         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4815         Added javadoc for few methods.
4816         (processMouseEvent): Made public.
4817         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4818         (processMouseEvent): Likewise.
4819
4820 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4821
4822         * javax/swing/AbstractButton.java:
4823         (init): Set display mnemonic index to -1.
4824         (setMnemonic(char)): Use setMnemonic(int).
4825         (setMnemonic(int)): Set display mnemonic index.
4826         (getDisplayedMnemonicIndex): Change method signature
4827         by removing 'index' parameter.
4828         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4829         Added default for Menu.selectionBackground.     
4830         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4831         (paintMenuItem): Change background color of the selected
4832         menu item.
4833         (paintText): Paint differently when menu item is disabled.
4834         Also paint mnemonic if it appears in the menu item's label.
4835         (paintAccelerator): Paint accelerator differently
4836         if menu item is disabled.
4837         * javax/swing/plaf/basic/BasicMenuUI.java:
4838         (installDefaults): Install defaults for 
4839         selectionForeground and selectionBackground.
4840         (uninstallDefaults): Uninstall defauls for 
4841         selectionForeground and selectionBackground.
4842
4843 2004-07-21  Michael Koch  <konqueror@gmx.de>
4844
4845         * javax/swing/text/AbstractDocument.java
4846         (BranchElement): Implemented.
4847         (LeafElement): Implemented.
4848         * javax/swing/text/DefaultCaret.java:
4849         Import used classes.
4850         (serialVersionUID): New constant.
4851         * javax/swing/text/JTextComponent.java
4852         (AccessibleJTextComponent): Removed dead declaration.
4853         (caretPos): Removed.
4854         (setCaret): New method.
4855         * javax/swing/text/PlainDocument.java
4856         (rootElement): New field.
4857         (PlainDocument): Initialize rootElement.
4858         (createDefaultRoot): New method.
4859         (getDefaultRootElement): Implemented.
4860         * javax/swing/text/View.java: Reformatted.
4861         * javax/swing/text/ViewFactory.java
4862         (create): Added javadoc.
4863
4864 2004-07-21  Michael Koch  <konqueror@gmx.de>
4865
4866         * javax/swing/ToolTipManager.java: Reformatted.
4867
4868 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4869
4870         * javax/swing/AbstractButton.java
4871         (changeEvent): New field.
4872         (fireItemStateChanged): Change source of the event
4873         to 'this' before firing it to button listeners.
4874         (fireActionPerformed): Likewise.
4875         (fireStateChanged): Likewise.
4876         (createActionListener): Do not set source 
4877         of the event to AbstractButton.                                  
4878         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4879         (ContainerHandler.componentAdded): Removed 
4880         print out statement.
4881         (ContainerHandler.componentRemoved): Likewise.
4882
4883 2004-07-21  Michael Koch  <konqueror@gmx.de>
4884
4885         * javax/swing/text/Highlighter.java: New file.
4886         * Makefile.am: Added javax/swing/text/Highlighter.java.
4887         * Makefile.in: Regenerated.
4888
4889 2004-07-21  Michael Koch  <konqueror@gmx.de>
4890
4891         * javax/swing/ToolTipManager.java
4892         (stillInsideTimerAction): Fixed constructor arguments.
4893         (outsideTimerAction): Likewise.
4894         (insideTimerAction): Likewise.
4895
4896 2004-07-21  Michael Koch  <konqueror@gmx.de>
4897
4898         * javax/swing/JButton.java: Reformatted.
4899         * javax/swing/JFormattedTextField.java
4900         (getUIClassID): Implemented.
4901         * javax/swing/JRootPane.java
4902         (serialVersionUID): New constant.
4903         * javax/swing/JTextField.java
4904         (align): New field.
4905         (JTextField): Simplified.
4906         (getUIClassID): New method.
4907         (getActionListeners): Added @since tag.
4908         (setColumns): Invalidate layout and repaint.
4909         (getHorizontalAlignment): New method.
4910         (setHorizontalAlignment): New method.
4911         (selectAll): Removed.
4912         * javax/swing/SwingUtilities.java
4913         (getAncestorOfClass): Removed redundant @see tag.
4914         (isLeftMouseButton): Fixed implementation.
4915         (isMiddleMouseButton): Likewise.
4916         (isRightMouseButton): Likewise.
4917         * javax/swing/text/AbstractDocument.java
4918         (AttributeContext.addAttribute): New method.
4919         (AttributeContext.addAttributes): New method.
4920         (AttributeContext.getEmptySet): New method.
4921         (AttributeContext.reclaim): New method.
4922         (AttributeContext.removeAttribute): New method.
4923         (AttributeContext.removeAttributes): New method.
4924         * javax/swing/text/Document.java
4925         (createPosition): Throws BadLocationException.
4926         (getText): Likewise.
4927         (remove): Likewise.
4928         * javax/swing/text/JTextComponent.java
4929         (getText): Return null if no document is set. Catch
4930         BadLocationException.
4931         (getUI): Return ui.
4932         (updateUI): Simplified.
4933
4934 2004-07-21  Michael Koch  <konqueror@gmx.de>
4935
4936         * javax/swing/JButton.java
4937         (removeNotify): Fixed javadoc.
4938         (updateUI): Simplified.
4939
4940 2004-07-21  David Jee  <djee@redhat.com>
4941
4942         * gnu/java/awt/image/ImageDecoder.java
4943         (startProduction): Only add consumer if it's not added yet.
4944         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4945         (GdkPixbufDecoder): Don't call initState() here.
4946         (produce): Call initState() here, to ensure area_prepared and
4947         area_updated signals are properly connected.
4948         * gnu/java/awt/peer/gtk/GtkImage.java
4949         (setColorModel): Use equals() to compare ColorModel objects.
4950         (setPixels): Likewise.
4951         * java/awt/image/ColorModel.java
4952         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4953         * java/awt/image/RGBImageFilter.java
4954         (setColorModel): Set consumer's color model.
4955         (setPixels): Use equals() to compare ColorModel objects.
4956
4957 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4958
4959         * java/net/URLConnection.java (position): New field.
4960         (dateFormat1, dateFormat2, dateFormat3): Removed.
4961         (dateFormats): New field.
4962         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4963         each time instead of re-allocating.
4964         (initializeDateFormats): Initialize 'dateFormats'.
4965
4966 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4967
4968         PR libgcj/16591
4969         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4970         is defined.
4971
4972 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4973
4974         * java/net/Socket.java (getImpl): Now private. Remove comment.
4975
4976 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4977
4978         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4979         of chained Writer when calling super-constructor.
4980         * java/io/FilterWriter.java (FilterWriter): Likewise.
4981         * java/io/PrintWriter.java (PrintWriter): Likewise.
4982
4983 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4984
4985         * prims.cc (process_gcj_properties): Don't increment i within LHS
4986         of assignment.
4987
4988 2004-07-19  Per Bothner  <per@bothner.com>
4989
4990         Print -verbose:message on "loading", not initialization.
4991         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4992         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4993         gcj::verbose_class_flag.
4994         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4995         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4996         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4997         (_Jv_PrepareCompiledClass):  Likewise.
4998
4999 2004-07-18  Matthias Klose  <doko@debian.org>
5000
5001         * configure.in: Substitute target_noncanonical.
5002         * configure: Regenerate
5003
5004 2004-07-17  Michael Koch  <konqueror@gmx.de>
5005
5006         * java/lang/String.java: Fixed javadocs all over.
5007
5008 2004-07-17  Mark Wielaard  <mark@klomp.org>
5009
5010         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5011         when size is smaller.
5012         * java/io/RandomAccessFile.java (setLength): Use truncate for
5013         shrinking the file and seek plus write for expanding the file.
5014
5015 2004-07-17  Michael Koch  <konqueror@gmx.de>
5016
5017         * gnu/java/nio/channels/natFileChannelPosix.cc
5018         (implTruncate): Always save current position. Only reposition file
5019         pointer to where we started if not beyond new lenght. Reposition file
5020         pointer to file length if it points beyond the end of file.
5021
5022 2004-07-17  Mark Wielaard  <mark@klomp.org>
5023
5024         * javax/swing/Box.java: Put FIXME comment above class declaration.
5025         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5026         * javax/swing/JCheckBox.java: Likewise.
5027         * javax/swing/JDialog.java: Likewise.
5028         * javax/swing/JRadioButton.java: Likewise.
5029         * javax/swing/JToggleButton.java: Likewise.
5030         * javax/swing/UIManager.java: Likewise.
5031         * javax/swing/border/TitledBorder.java: Likewise.
5032         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5033         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5034         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5035         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5036         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5037         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5038         * javax/swing/text/JTextComponent.java: Likewise.
5039
5040 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5041
5042         * java/net/DatagramPacket.java (setAddress): Removed check for
5043         null address.
5044
5045 2004-07-17  Michael Koch  <konqueror@gmx.de>
5046
5047         * java/net/DatagramSocket.java
5048         (getLocalAddress): Check if socket is bound or not.
5049         * java/net/Socket.java
5050         (getLocalAddrss): Check if socket is bound or not.
5051         (getPort): Return -1 when not connected. Dont check getImpl() for
5052         null.
5053         (setReuseAddress): Check if socket is closed.
5054         (isConnected): Check if getImpl() returns null.
5055
5056 2004-07-17  Mark Wielaard  <mark@klomp.org>
5057
5058         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5059         on notifier object before calling notifyAll().
5060
5061 2004-07-17  Michael Koch  <konqueror@gmx.de>
5062
5063         * gnu/java/nio/channels/FileChannelImpl.java
5064         (finalize): Added javadoc.
5065
5066 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5067
5068         * java/text/CollationElementIterator.java
5069         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5070         (setText): Use ArrayList instead of Vector.
5071
5072 2004-07-17  Michael Koch  <konqueror@gmx.de>
5073
5074         * java/nio/ByteOrder.java
5075         (static): Removed. Not needed.
5076         Thanks to Patrick Reali for noticing.
5077         * java/nio/charset/CharsetDecoder.java
5078         (decode): Fix for classpath bug #9177: Reset state before flipping.
5079
5080 2004-07-17  Michael Koch  <konqueror@gmx.de>
5081
5082         * java/security/Security.java: Fixed javadocs all over.
5083
5084 2004-07-17  Michael Koch  <konqueror@gmx.de>
5085
5086         * gnu/java/awt/EmbeddedWindow.java
5087         (static): Removed.
5088         (addNotify): Set peer via reflection.
5089         (setWindowPeer): Removed.
5090         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5091         * Makefile.am (nat_source_files):
5092         Removed gnu/java/awt/natEmbeddedWindow.cc.
5093         * Makefile.in: Regenerated.
5094
5095 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5096
5097         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5098         assignment.
5099         * configure: Regenerated.
5100
5101 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5102
5103         * configure.in: Use build_noncanonical rather than build_alias.
5104         * configure: Rebuild.
5105
5106         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5107         by logic refactoring.  Move default definition of NATIVE closer
5108         to first alternate definition.
5109         * configure: Regenerate.
5110
5111         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5112         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5113         gcj/Makefile.in: Regenerate.
5114         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5115         in AM_CONDITIONAL(NATIVE,...)
5116         * configure: Regenerate.
5117
5118 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5119
5120         * configure.in: Use target_noncanonical rather than
5121         target_alias for forward-compatibility with autoconf 2.59.
5122         * configure: Regenerate.
5123         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5124         testsuite/Makefile.am: Substitute target_noncanonical.
5125         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5126         testsuite/Makefile.in: Regenerate.
5127
5128         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5129         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5130         * acinclude.m4: Include acx.m4.
5131         * aclocal.m4: Regenerate.
5132         * configure: Regenerate.
5133
5134 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5135
5136         PR libgcj/16574
5137         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5138         (decimalFormat): New static variable.
5139         (sbuf): Likewise.
5140         (getTime): New. Override Date.getTime().
5141         (toString): Synchronize. Use decimalFormat to format nanos value
5142         correctly. Truncate extra zeros.
5143         (before): Compare getNanos() only if getTime() is equal.
5144         (after): Likewise.
5145         
5146 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5147
5148         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5149         * configure.in: ...here.
5150         * aclocal.m4: Regenerate.
5151         * configure: Regenerate.
5152
5153         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5154         * configure: Rebuilt with autoconf 2.13.
5155         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5156         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5157
5158 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5159
5160         PR libgcj/16204
5161         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5162         large file support.
5163         * Makefile.in: Rebuilt.
5164         * testsuite/libjava.lang/LargeFile.java: New test case.
5165         * testsuite/libjava.lang/LargeFile.out: New file.
5166
5167 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5168
5169         * java/beans/EventHandler.java: Remove debugging statements.
5170
5171 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5172
5173         * java/beans/EventHandler.java: New file.
5174         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5175         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5176         testsuite/Makefile.in: Regenerate.
5177
5178 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5179
5180         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5181         flag to the gcj_setup.
5182         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5183         the tclsh.
5184         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5185         deprecation flag change. 58 XFAILS removed.
5186
5187 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5188
5189         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5190         -fno-use-divide-subroutine.
5191         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5192         (HANDLE_FPE): Define.
5193         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5194         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5195         (HANDLE_DIVIDE_OVERFLOW): Define.
5196
5197 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5198             Matthias Klose  <doko@debian.org> 
5199
5200         * java/awt/im/InputContext.java: Initialize in, line.
5201
5202 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5203
5204         * interpret.cc (run): Correctly access libffi return values of
5205         integral smaller-than-int type; these are implicitly promoted.
5206
5207 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5208
5209         PR libgcj/7587
5210         * interpret.cc (compile_mutex): New.
5211         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5212         (run): Lock compile_mutex before calling compile() if compilation is
5213         required.
5214         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5215         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5216
5217 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5218
5219         PR libgcj/15713
5220         * include/jvm.h (_Jv_value): New union type.
5221         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5222         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5223         union members.
5224
5225 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5226
5227         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5228         * gnu/awt/xlib/XOffScreenImage.java
5229           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5230           constructor argument. Add constructor using ImageProducer.
5231           (getSource): Implement.
5232           (imageComplete): New method.
5233           (setColorModel): New method.
5234           (setDimensions): New method.
5235           (setHints): New method.
5236           (setPixels): New method.
5237           (setProperties): New method.
5238         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5239         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5240
5241 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5242
5243         PR libgcj/16478 
5244         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5245         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5246         (finalizerReady): Now native.
5247         (run): Likewise.
5248         (runFinalizers): Removed.
5249         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5250         a primitive lock, and don't hold it while running the finalizers.
5251         (runFinalizers): Implement. Don't aquire any Java lock.
5252         (finalizerReady): Use lock primitives to signal finalizer thread.
5253
5254 2004-07-11  Mark Wielaard  <mark@klomp.org>
5255
5256         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5257         * java/net/URLStreamHandler.java (parseURL): When url file part
5258         doesn't contain a '/' just ignore context.
5259
5260 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5261
5262         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5263         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5264         (MAKE_THROW_FRAME): Do not modify PSW address.
5265         (INIT_SEGV): Install SIGINFO-style signal handler.
5266         (INIT_FPE): Likewise.
5267
5268 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5269
5270         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5271         status. 21 xfail's removed, 1 added.
5272
5273 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5274
5275         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5276
5277 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5278
5279         * java/text/MessageFormat.java
5280         (formatInternal): Append "{n}" if argument n is unavailable.
5281         (format(Object, StringBuffer, FieldPosition)): This
5282         should be equivalent to format(Object[],
5283         StringBuffer, FieldPosition).
5284
5285 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5286
5287         * java.util.Calendar.java (cache): New private static field. Cached
5288         mappings of locales->calendar classes.
5289         (ctorArgTypes): New private static field. Singleton argument for
5290         calendar class constructor lookup.
5291         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5292         Optimize by bypassing reflection instantiation for the 
5293         GregorianCalendar case.
5294
5295 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5296
5297         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5298         ResourceBundle.getBundle() calls.
5299         * java/util/GregorianCalendar.java: Likewise.
5300         * java/util/Currency.java: Likewise.
5301         * java/text/BreakIterator.java: Likewise.
5302         * java/text/Collator.java: Likewise.
5303         * java/text/DateFormat.java: Likewise.
5304         * java/text/DateFormatSymbols.java: Likewise.
5305         * java/text/DecimalFormatSymbols.java: Likewise.
5306         * java/text/NumberFormat.java: Likewise.
5307         * java/awt/Window.java: Likewise.       
5308
5309 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5310
5311         * java/util/ResourceBundle.java (bundleCache): Renamed from
5312         resourceBundleCache. Update comments.
5313         (getObject): Don't catch MissingResourceException.
5314         (getBundle(String)): Remove 'final'. Use system classloader if
5315         getCallingClassLoader returned null.
5316         (getBundle(String, Locale)): Likewise.
5317         (BundleKey): New private class. HashMap key for bundle cache lookup.
5318         (lookupKey): New. Singleton instance of BundleKey.
5319         (nullEntry): New. Cache entry to represent failed lookups.
5320         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5321         caching strategy, no-allocation lookup, and new tryBundle methods.
5322         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5323         name using given classloader.
5324         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5325         baseName for given Locale and attempt to load bundle.
5326
5327 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5328
5329         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5330         illegal protected method calls.
5331
5332 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5333
5334         Fix or remove some bogus test cases.
5335         * testsuite/libjava.compile/pr10459_2.java: Removed.
5336         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5337         not Object.clone().
5338         * testsuite/libjava.compile/inner_data.java: Test against its own
5339         protected field.
5340
5341 2004-07-09  Michael Koch  <konqueror@gmx.de>
5342
5343         * scripts/unicode-muncher.pl: Updated to version 2.1
5344         from GNU classpath. Added some clarifications on where to find the
5345         needed files from www.unicode.org.
5346         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5347         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5348         Removed, these can directly be downloaded from www.unicode.org if
5349         needed. 
5350         * gnu/java/lang/CharData.java: Regenerated.
5351         * include/java-chartables.h: Regenerated.
5352         * Makefile.am (ordinary_java_source_files):
5353         Removed gnu/java/lang/CharData.java.
5354         * Makefile.in: Regenerated.
5355
5356 2004-07-09  Michael Koch  <konqueror@gmx.de>
5357
5358         * java/security/AccessControlContext.java,
5359         java/security/SecureClassLoader.java:
5360         Fixed javadocs.
5361
5362 2004-07-09  Michael Koch  <konqueror@gmx.de>
5363
5364         * java/io/ObjectInputStream.java (readFields): Use long datatype
5365         when shifting byte values more then 24 bits left.
5366
5367 2004-07-09  Michael Koch  <konqueror@gmx.de>
5368
5369         * java/util/zip/DeflaterOutputStream.java,
5370         java/util/zip/GZIPInputStream.java,
5371         java/util/zip/GZIPOutputStream.java,
5372         java/util/zip/InflaterInputStream.java:
5373         Reformatted. Added javadocs. Reordered all stuff.
5374         Renamed variables to be more clear.
5375
5376 2004-07-09  Michael Koch  <konqueror@gmx.de>
5377
5378         * javax/imageio/IIOException.java,
5379         javax/imageio/event/IIOReadProgressListener.java,
5380         javax/imageio/event/IIOReadUpdateListener.java,
5381         javax/imageio/event/IIOReadWarningListener.java,
5382         javax/imageio/event/IIOWriteProgressListener.java,
5383         javax/imageio/event/IIOWriteWarningListener.java:
5384         New files.
5385         * Makefile.am: Added new files.
5386         * Makefile.in: Regenerated.
5387
5388 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5389
5390         * java/text/RuleBasedCollator.java
5391         (mergeRules): Use ArrayList instead of Vector.
5392         (subParseString): likewise.
5393         (parseString): likewise.
5394         (buildCollationVector): likewise.
5395         (getCollationKey): likewise.
5396
5397 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5398
5399         * java/text/DateFormat.java (parse):
5400         Improved javadoc. Improved exception message.
5401
5402 2004-07-09  Mark Wielaard  <mark@klomp.org>
5403
5404         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5405         interrupted() method to clear interupt flag of our Thread.
5406
5407 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5408
5409         * java/nio/Buffer.java,
5410         java/nio/ByteBuffer.java,
5411         java/nio/ByteBufferHelper.java,
5412         java/nio/ByteBufferImpl.java,
5413         java/nio/CharBuffer.java,
5414         java/nio/CharBufferImpl.java,
5415         java/nio/CharViewBufferImpl.java,
5416         java/nio/DirectByteBufferImpl.java,
5417         java/nio/DoubleBuffer.java,
5418         java/nio/DoubleBufferImpl.java,
5419         java/nio/DoubleViewBufferImpl.java,
5420         java/nio/FloatBuffer.java,
5421         java/nio/FloatBufferImpl.java,
5422         java/nio/FloatViewBufferImpl.java,
5423         java/nio/IntBuffer.java,
5424         java/nio/IntBufferImpl.java,
5425         java/nio/IntViewBufferImpl.java,
5426         java/nio/LongBuffer.java,
5427         java/nio/LongBufferImpl.java,
5428         java/nio/LongViewBufferImpl.java,
5429         java/nio/MappedByteBufferImpl.java,
5430         java/nio/ShortBuffer.java,
5431         java/nio/ShortBufferImpl.java,
5432         java/nio/ShortViewBufferImpl.java:
5433         Fixed javadocs all over. Improved input error
5434         checking.
5435
5436         * java/nio/Buffer.java
5437         (checkForUnderflow, checkForOverflow, checkIndex,
5438         checkIfReadOnly, checkArraySize): New helper methods
5439         for error checking.
5440
5441         * java/nio/ByteBufferHelper.java
5442         (checkRemainingForRead, checkRemainingForWrite,
5443         checkAvailableForRead, checkAvailableForWrite): Removed
5444         no longer needed methods.
5445
5446 2004-07-09  Michael Koch  <konqueror@gmx.de>
5447
5448         * gnu/regexp/CharIndexedInputStream.java:
5449         Reordered imports to match classpath.
5450
5451 2004-07-09  Michael Koch  <konqueror@gmx.de>
5452
5453         * gnu/java/awt/EmbeddedWindow.java:
5454         Load native library for setWindowPeer method.
5455
5456 2004-07-08  Randolph Chung  <tausq@debian.org>
5457
5458         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5459         * configure: Regenerate.
5460         * configure.host: Set can_unwind_signal for hppa*-linux.
5461         * include/pa-signal.h: New file.
5462
5463 2004-07-07  Per Bothner  <per@bothner.com>
5464
5465         * Makefile.am:  Add rules to build libgij from just gij.cc.
5466
5467         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5468         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5469         (initializeClass):  If verbose_class_flag, print message.
5470         * gij.cc (main):  Handle -verbose:class flag.
5471
5472 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5473
5474         * configure.host: Enable hash synchronization on Darwin.
5475         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5476         ';', since this is a comment on Darwin.
5477         (compare_and_swap_release): Likewise.
5478
5479 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5480
5481         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5482         file portion of URL in addition to spec for file: protocol.
5483
5484 2004-07-05  Anthony Green  <green@redhat.com>
5485
5486         * java/io/File.java (toURI): Merge from Classpath.
5487
5488 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5489
5490         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5491         before passing to URL constructor. Rethrow any MalformedURLException
5492         as a RuntimeException. Catch MalformedURLException specifically, not
5493         all exceptions.
5494
5495 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5496
5497         * java/util/Locale.java (readObject): Intern strings read from object
5498         stream.
5499
5500 2004-07-04  Michael Koch  <konqueror@gmx.de>
5501
5502         * gnu/gcj/runtime/FirstThread.java,
5503         gnu/gcj/runtime/natFirstThread.cc: Removed.
5504         * gnu/java/lang/MainThread.java,
5505         gnu/java/lang/natMainThread.cc: New files.
5506         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5507         * Makefile.am: Added new files and removed deleted ones.
5508         * Makefile.in: Regenerated.
5509
5510 2004-07-03  Mark Wielaard  <mark@klomp.org>
5511             Anthony Green  <green@redhat.com>
5512
5513         * java/net/URL.java (getFile): Clarify return value doc.
5514         (getPath): Return null if file is empty - not empty String.
5515         (set): Convert protocol to lower case before doing anything.
5516         Only change the protocol handler if it's different.
5517
5518 2004-07-03  Anthony Green  <green@redhat.com>
5519
5520         * java/net/URL.java (URL): Convert protocol to lower case before
5521         doing anything, so we getURLStreamHandler() with the proper value.
5522
5523 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5524
5525         * java/util/Locale.java (hashcode): Made transient.
5526         (hashCode): No longer synchronized.
5527         (equals): Remove comment.
5528         (writeObject): No longer synchronized. Implement using writeObject 
5529         calls instead of tweaking hashCode field. Update doc.
5530         (readObject): Implement using readObject calls.
5531
5532 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5533             Andreas Tobler  <a.tobler@schweiz.ch>
5534
5535         * configure.host (powerpc-*-darwin*): New case, define
5536         can_unwind_signal.
5537         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5538         * configure: Regenerate.
5539         * include/darwin-signal.h: New.
5540
5541 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5542
5543         * java/beans/Statement.java (doExecute): Fix formatting.
5544
5545 2004-06-29  Per Bothner  <per@bothner.com>
5546
5547         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5548         etc etc):  Remove needless parenthesis, which causes __stdcall__
5549         attribute on MinGW to get ignored.
5550
5551 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5552
5553         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5554
5555 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5556
5557         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5558
5559 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5560
5561         * java/beans/Expression.java: New file.
5562         * java/beans/Statement.java: New file.
5563         * Makefile.am: Added new files.
5564         * Makefile.in: Re-generate.
5565
5566 2004-06-27 Mark Wielaard  <mark@klomp.org>
5567
5568         * java/io/FilePermission.java (usingPerms): Removed.
5569         (actionsString): Made final.
5570         (cachePerms): Renamed to checkPerms.
5571         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5572         on action String.
5573         (FilePermission): Check arguments, call checkPerms().
5574         (equals): Remove cachePerms() call.
5575         (implies): Likewise.
5576
5577 2004-06-27  Mark Wielaard  <mark@klomp.org>
5578
5579         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5580         final field.
5581         (sendRequest): Use new field in user-agent http agent.
5582
5583 2004-06-27  Mark Wielaard  <mark@klomp.org>
5584
5585         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5586         when argument is null.
5587
5588 2004-06-26  Mark Wielaard  <mark@klomp.org>
5589
5590         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5591         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5592         GetMethodID call.
5593         (cancel_clicked): Likewise.
5594
5595 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5596
5597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5598         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5599         can not calculate the right value.
5600         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5601
5602 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5603
5604         * testsuite/libjava.jacks/jacks.xfail: Remove
5605         15.9.1-qualified-concrete-20.
5606
5607 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5608
5609         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5610         encoding name to iconv.
5611         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5612
5613 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5614
5615         PR libgcj/16134:
5616         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5617         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5618         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5619
5620 2004-06-21  Andrew Haley  <aph@redhat.com>
5621
5622         * java/io/ObjectOutputStream.java: Add DEBUG statements
5623         everywhere.
5624         (dumpElementln): New method.
5625         (depth): New field.
5626         * java/io/ObjectInputStream.java
5627         (currentClassLoader): Make native.
5628         (callersClassLoader): New field.
5629         (depth): New field.
5630         (readObject): ENDBLOCKDATA is generated if the class has a write
5631         method, not if it has a read method.
5632         (readObject): Save and restore this.currentObject and
5633         this.currentObjectStreamClass around calls to callReadMethod().
5634         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5635         method.
5636
5637 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5638
5639         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5640         darwin.
5641
5642 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5643
5644         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5645         if desired, before the default class loader is initialised.
5646         Call INIT_SEGV only if HANDLE_SEGV is defined.
5647
5648 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5649
5650         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5651         directory only if it actually exists.
5652
5653 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5654
5655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5656         Fix up non-ansi comments.
5657
5658 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5659
5660         * javax/swing/text/AbstractDocument.java: Adding missing import
5661         for javax.swing.event.EventListenerList.
5662         * javax/swing/text/DefaultCaret.java: Likewise.
5663
5664 2004-06-17  Michael Koch  <konqueror@gmx.de>
5665
5666         * javax/swing/JToolBar.java
5667         (name): Removed.
5668         (JToolBar): Use Component.setName(String) instead of doing it all
5669         alone.
5670         * javax/swing/Timer.java
5671         (queueEvent): Added missing modifier.
5672
5673 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5674
5675         * Makefile.am: Added new file.
5676         * Makefile.in: Re-generate.
5677         * javax/swing/JMenu.java:
5678         (insertSeparator): Implemented.
5679         * javax/swing/JPopupMenu.java:
5680         (JPopupMenu.Separator): Implemented.
5681         * javax/swing/MenuSelectionManager.java:
5682         (processMouseEvent): Use java.awt.Component 
5683         for event source instead of javax.swing.JComponent. 
5684         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5685         New File. Implemented.
5686         
5687 2004-06-16  David Jee  <djee@redhat.com>
5688
5689         * java/awt/GridBagLayout.java
5690         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5691         Make sure pos_x and pos_y are never negative.
5692
5693 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5694
5695         * Makefile.am: Add new file.
5696         * Makefile.in: Re-generate.     
5697         * javax/swing/JToolBar.java
5698         Partially implemented.
5699         * javax/swing/plaf/basic/BasicToolBarUI.java
5700         New file. Partially implemented.
5701
5702 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5703
5704         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5705         (setComposite): Accept AlphaComposite arguments.
5706         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5707         (createBufferedImage): Add new overloads.
5708         * gnu/java/awt/peer/gtk/GtkToolkit.java
5709         (createImage): Use GdkPixbufDecoder.createBufferedImage
5710         when useGraphics2D() is true.
5711         (getImage): Delegate to createImage.
5712         * javax/swing/JList.java
5713         (isSelectionEmpty):
5714         (getFirstVisibleIndex):
5715         (getLastVisibleIndex):
5716         (setSelectedValue):
5717         (ensureIndexIsVisible): New methods.
5718         * javax/swing/Timer.java: Reimplement.
5719
5720 2004-06-16  Michael Koch  <konqueror@gmx.de>
5721
5722         * javax/swing/text/AbstractDocument.java
5723         (AbstracElement): Made public, implements java.io.Serializable.
5724         (AttributeContext): Made public.
5725         (BranchElement): Likewise.
5726         (Content): Likewise.
5727         (DefaultDocumentEvent): Made public, extends
5728         javax.swing.undo.CompoundEdit.
5729         (ElementEdit): Made public, extends
5730         javax.swing.undo.AbstractUndoableEdit.
5731         (LeafElement): Made public.
5732         (LeafElement.LeafElement): Made public.
5733
5734 2004-06-16  Michael Koch  <konqueror@gmx.de>
5735
5736         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5737         methods (that were obviously never be intended to get included hi this
5738         class. Added some methods too.
5739
5740 2004-06-16  Michael Koch  <konqueror@gmx.de>
5741
5742         * javax/swing/text/PlainDocument.java
5743         (serialVersionUID): New constant.
5744         (lineLimitAttribute): Likewise.
5745         (tabSizeAttribute): Likewise.
5746         (tabSize): New field.
5747         (PlainDocument): Made public.
5748         (PlainDocument): New constructor.
5749
5750 2004-06-16  Michael Koch  <konqueror@gmx.de>
5751
5752         * javax/swing/text/AbstractDocument.java
5753         (insertString): Throws BadLocationException.
5754         * javax/swing/text/Document.java
5755         (insertString): Likewise.
5756         * javax/swing/text/JTextComponent.java:
5757         Javadocs and comments cleaned up.
5758
5759 2004-06-16  Michael Koch  <konqueror@gmx.de>
5760
5761         * javax/swing/event/UndoableEditListener.java: Reformatted.
5762         * javax/swing/text/AbstractDocument.java
5763         (AbstractDocument): Implements java.io.Serializable.
5764         (doc_list): Removed.
5765         (undo_list): Removed.
5766         (AbstractElement.serialVerionUID): New field.
5767         (BranchElement.serialVerionUID): Likewise.
5768         (DefaultDocumentEvent.serialVerionUID): Likewise.
5769         (ElementEdit.serialVerionUID): Likewise.
5770         (LeafElement.serialVerionUID): Likewise.
5771         (serialVerionUID): Likewise.
5772         (BAD_LOCATION): New constant.
5773         (BidiElementName): Likewise.
5774         (ContentElementName): Likewise.
5775         (ParagraphElementName): Likewise.
5776         (SectionElementName): Likewise.
5777         (ElementNameAttribute): Likewise.
5778         (AbstractDocument): Made protected.
5779         (AbstractDocument): New construtor.
5780         (listenerList): New field.
5781         (fireChangedUpdate): Implemented.
5782         (fireInsertUpdate): Likewise.
5783         (fireRemoveUpdate): Likewise.
5784         (fireUndoableEditUpdate): Likewise.
5785         (getListeners): Likewise.
5786         (addDocumentListener): Likewise.
5787         (removeDocumentListener): Likewise.
5788         (addUndoableEditListener): Likewise.
5789         (removeUndoableEditListener): Likewise.
5790         (getDocumentListeners): New method.
5791         (getUndoableEditListeners): Likewise.
5792         (getAsynchronousLoadPriority): Made public.
5793         (getBidiRootElement): Likewise.
5794         (setAsynchronousLoadPriority): Likewise.
5795         (setDocumentProperties): Likewise.
5796         * javax/swing/text/BadLocationException.java
5797         (serialVerionUID): New field.
5798         * javax/swing/text/DefaultCaret.java
5799         (changeEvent): New field.
5800         (listenerList): Likewise.
5801         (changes): Removed.
5802         (addChangeListener): Reimplemented.
5803         (removeChangeListener): Likewise.
5804         (getListeners): New method.
5805         (getChangeListeners): Likwise.
5806         (getComponent): Likewise.
5807         * javax/swing/text/GapContent.java
5808         (GapContent): Implements java.io.Serializable.
5809         (serialVerionUID): New field.
5810
5811 2004-06-16  Michael Koch  <konqueror@gmx.de>
5812
5813         * javax/swing/JTree.java
5814         (treeModel): New field.
5815         (JTree): New constructors, one existing one made public.
5816         (createTreeModel): New method.
5817         (addTreeExpansionListener): Likewise.
5818         (removeTreeExpansionListener): Likewise.
5819         (getTreeExpansionListeners): Likewise.
5820         (fireTreeCollapsed): Likewise.
5821         (fireTreeExpanded): Likewise.
5822         (addTreeSelectionListener): Likewise.
5823         (removeTreeSelectionListener): Likewise.
5824         (getTreeSelectionListeners): Likewise.
5825         (fireValueChanged): Likewise.
5826         (addTreeWillExpandListener): Likewise.
5827         (removeTreeWillExpandListener): Likewise.
5828         (getTreeWillExpandListeners): Likewise.
5829         (fireTreeWillCollapse): Likewise.
5830         (fireTreeWillExpand): Likewise.
5831
5832 2004-06-16  Michael Koch  <konqueror@gmx.de>
5833
5834         * javax/swing/JTree.java: Reformatted.
5835
5836 2004-06-16  Michael Koch  <konqueror@gmx.de>
5837
5838         * javax/swing/JTextArea.java: New file.
5839         * javax/swing/JTextField.java
5840         (actions): Removed.
5841         (notifyAction): New constant.
5842         (columns): New field.
5843         (JTextField): New constructors.
5844         (createDefaultModel): New method.
5845         (addActionListener): Reimplmemented.
5846         (removeActionListener): Reimplemented.
5847         (getActionListeners): New method.
5848         (fireActionPerformed): New method.
5849         (getColumns): New method.
5850         (setColumne): New method.
5851         * javax/swing/text/JTextComponent.java
5852         (AccessibleJTextComponent.serialVersionUID): New field.
5853         (serialVersionUID): Likewise.
5854         (DEFAULT_KEYMAP): Likewise.
5855         (FOCUS_ACCELERATOR_KEY): Likewise.
5856         (doc): Made private.
5857         (icon_gap): Likewise.
5858         (icon): Likewise.
5859         (align): Likewise.
5860         (JTextComponent): Some constructors removed.
5861         (getScrollableTracksViewportHeight): New method.
5862         (getScrollableTracksViewportWidth): Likewise.
5863         * Makefile.am: Added javax/swing/JTextArea.java.
5864         * Makefile.in: Regenerated.
5865
5866 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5867
5868         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5869         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5870         * javax/swing/JViewport.java 
5871         (getExtentSize): Return size rather than preferred size.
5872         (toViewCoordinates): New methods.
5873         (getViewSize): Return size rather than preferred size.
5874         (setViewSize): Note view size as set.
5875         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5876         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5877         (getPreferredSize): Don't redo layout.
5878         * javax/swing/plaf/basic/BasicViewportUI.java 
5879         (paint): Translate image properly and eat exceptions.
5880
5881 2004-06-15  Kim Ho  <kho@redhat.com>
5882
5883         * javax/swing/JTabbedPane.java
5884         (setComponent): Remove old component and
5885         add new component.
5886         (setSelectedIndex): Don't operate on the 
5887         components if they're null. Don't set index
5888         on the model if the index is the same.
5889         (insertTab): Don't add or hide the component
5890         if it's null. Repaint the container.
5891         * javax/swing/plaf/basic/BasicLookAndFeel.java
5892         Change colors for TabbedPane.
5893         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5894         (mousePressed): Re-layout and paint the component.
5895         (layoutContainer): Don't set location on the view.
5896         (ScrollingViewport::paint): Remove.
5897
5898 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5899
5900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5901         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5902
5903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5904         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5905         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5906         critical region.
5907         (drawLine): Call gdk_flush before leaving GDK critical region.
5908         (fillRect): Likewise.
5909         (drawRect): Likewise.
5910         (copyArea): Likewise.
5911         (copyPixmap): Likewise.
5912         (clearRect): Likewise.
5913         (drawArc): Likewise.
5914         (drawPolyline): Likewise.
5915         (drawPolygon): Likewise.
5916         (fillPolygon): Likewise.
5917         (fillArc): Likewise.
5918         (drawOval): Likewise.
5919         (fillOval): Likewise.
5920
5921         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5922         style parameter.
5923         (GdkFontMetrics): Add style argument to initState call.
5924         (stringWidth(String,int,int,String)): Add style parameter.
5925         (stringWidth(String)): Add style argument to stringWidth call.
5926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5927         (initState): Set pango font style and weight based on AWT style
5928         parameter.  Pass default GTK language to
5929         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5930         simply dividing by PANGO_SCALE.
5931         (stringWidth): Set pango font style and weight based on AWT style
5932         parameter.
5933
5934         * java/awt/Button.java (next_button_number): New field.
5935         (paramString): Change output.
5936         (generateName): New method.
5937         (getUniqueLong): New method.
5938
5939 2004-06-14  Kim Ho  <kho@redhat.com>
5940
5941         * javax/swing/JTabbedPane.java:
5942         (setComponentAt): Set the component, not
5943         the enabled status.
5944         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5945         (actionPerformed): Let deiconize catch exception.
5946
5947 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5948
5949         * javax/swing/JPopupMenu.java:
5950         (setVisible): Corrected location of a 
5951         heavyweight popup menu.
5952
5953 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5954
5955         * javax/swing/MenuSelectionManager.java: 
5956         Ran through jalopy to fix formatting style.
5957
5958 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5959         
5960         * javax/swing/JLayeredPane.java: 
5961         (remove): Revalidate and repaint layered pane after
5962         the component was removed.
5963         javax/swing/JMenu.java:
5964         (setVisible): Display popup menu at the user location,
5965         if one was set by the user.
5966         (setMenuLocation): Reimplemented. Fixed javadoc.
5967         * javax/swing/JMenuBar.java: Added javadoc.
5968         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5969         (MODEL_CHANGED_PROPERTY): New Property.
5970         (isSelected): Implemented.
5971         (setBorderPainted): Fire PropertyChangeEvent
5972         if paintBorder property changes.
5973         (setSelected): Implemented.
5974         (setSelectionModel): Implemented.
5975         * javax/swing/JPopupMenu.java: Added Javadoc
5976         (pack): Implemented.
5977         (setVisible): Reimplemented.
5978         (show): Fixed location.
5979         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5980         Container instead of JPanel.
5981         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5982         (clearSelectedPath): Reimplemented to clear selectedPath
5983         in reverse order.
5984         (processMouseEvent): Reimplemented.
5985         (setSelectedPath): Fire stateChange event indicating that
5986         selected menu path has changed.
5987         (getPath): Change to use ArrayList instead of Vector.
5988         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5989         (installUI): call installKeyboardActions().
5990         (uninstallUI): call uninstallKeyboardActions().
5991
5992 2004-06-13  Michael Koch  <konqueror@gmx.de>
5993
5994         * javax/swing/text/DefaultCaret.java,
5995         javax/swing/text/BadLocationException.java:
5996         Reformatted.
5997
5998 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5999
6000         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6001         DEFAULT_COLS): New variables.
6002         (create): Don't allow 0 rows or 0 columns.  Instead, set the
6003         values to DEFAULT_ROWS or DEFAULT_COLS.
6004         (getMinimumSize): Likewise.
6005         (getPreferredSize): Likewise.
6006         (minimumSize): Likewise.
6007         (preferredSize): Likewise.
6008         (create): Set peer's editable state.
6009         * java/awt/TextArea.java (TextArea()): Set rows and columns to
6010         zero.  Update javadocs.
6011         (TextArea(String)): Likewise.
6012         (TextArea(int,int)): Fix javadocs.
6013         (TextArea(String,int,int,int)): Only throw exception if one of
6014         rows or columns is zero.  Fix javadocs.
6015
6016 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6017
6018         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6019         addition to Components.
6020
6021         * java/awt/MenuItem.java (dispatchEventImpl): If the event
6022         wasn't consumed by normal processing, send it to the parent
6023         menu.
6024
6025         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6026         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6027         translation.
6028
6029 2004-06-11  David Jee  <djee@redhat.com>
6030
6031         * java/awt/MediaTracker.java
6032         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6033         (addImage(Image,int,int,int)): Likewise.
6034
6035 2004-06-11  Michael Koch  <konqueror@gmx.de>
6036
6037         * javax/swing/text/AbstractDocument.java,
6038         javax/swing/text/Document.java,
6039         javax/swing/text/GapContent.java,
6040         javax/swing/text/JTextComponent.java,
6041         javax/swing/text/PlainDocument.java:
6042         Reformatted.
6043
6044 2004-06-11  Michael Koch  <konqueror@gmx.de>
6045
6046         * javax/swing/JRootPane.java
6047         (AccessibleJRootPane.serialVersionUID): New field.
6048         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6049         (AccessibleJRootPane.getAccessibleRole): New method.
6050         (RootLayout): Implements Serializable.
6051         (RootLayout.serialVersionUID): New field.
6052         (RootLayout.RootLayout): New constructor.
6053         (setJMenuBar): Made public.
6054         (getJMenuBar): Likewise.
6055         (JRootPane): Likewise.
6056         (createContentPane): Likewise.
6057         (createGlassPane): Likewise.
6058         (createLayeredPane): Likewise.
6059
6060 2004-06-11  Michael Koch  <konqueror@gmx.de>
6061
6062         * javax/swing/SwingUtilities.java
6063         (isLeftMouseButton): Fixed javadoc.
6064         (isMiddleMouseButton): Likewise.
6065         (isRightMouseButton): Likewise.
6066
6067 2004-06-11  Michael Koch  <konqueror@gmx.de>
6068
6069         * javax/swing/JScrollPane.java
6070         (serialVersionUID): New field.
6071         (columnHeader): Made protected.
6072         (rowHeader): Likewise.
6073         (lowerLeft): Likewise.
6074         (lowerRight): Likewise.
6075         (upperLeft): Likewise.
6076         (upperRight): Likewise.
6077         (horizontalScrollBar): Likewise.
6078         (horizontalScrollBarPolicy): Likewise.
6079         (verticalScrollBar): Likewise.
6080         (verticalScrollBarPolicy): Likewise.
6081         (viewport): Likewise.
6082
6083 2004-06-11  Michael Koch  <konqueror@gmx.de>
6084
6085         * javax/swing/LookAndFeel.java: Fixed javadocs.
6086
6087 2004-06-11  Michael Koch  <konqueror@gmx.de>
6088
6089         * javax/swing/JEditorPane.java: Fixed javadocs.
6090         (JEditorPane): Removed redundant call to to this().
6091         (fireHyperlinkUpdate): Implemented.
6092
6093 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6094
6095         * javax/swing/JMenu.java: Fixed file name 
6096         in the file comment.
6097
6098 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6099
6100         * javax/swing/JMenu.java: Added javadoc.
6101         (JMenu): Added MenuChangeListener to listen to 
6102         ChangeEvents occuring in menu's model. 
6103         (insert): Throw IllegalArgumentException if 
6104         index is less than 0
6105         (setSelected): Reimplement.
6106         (setPopupMenuVisible): Call menu's model isEnabled()
6107         (setDelay): Throw IllegalArgumentException if 
6108         given amount of delay is less than 0.
6109         (createActionComponent): Implemented.
6110         (createActionChangeListener): Implemented.
6111         (addSeparator): Implemented.
6112         (getItem): Throw IllegalArgumentException if index is 
6113         less than 0.
6114         (getItemCount): Implemented.
6115         (fireMenuSelected): Changed to use menuEvent.
6116         (fireMenuDeselected): Likewise.
6117         (fireMenuCanceled): Likewise.
6118         (setAccelerator): Changed to throw an error if this 
6119         method is used. 
6120         (doClick): Implemented.
6121         (JMenu.ActionChangedListener): New inner class to handle
6122         PropertyChangeEvents occuring in the actions associated with menu.
6123         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6124         (BasicMenuUI): Added PropertyChangeListener to the menu.
6125         (createChangeListener): Implemented.
6126         (createMenuDragMouseListener): Likewise.
6127         (createMenuKeyListener): Likewise.
6128         (createPropertyChangeListener): Likewise.
6129         (uninstallListeners): Likewise.
6130         (BasicMenuUI.MouseInputHandler): Reimplemented.
6131         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6132         (BasicMenuUI.ChangeHandler): Likewise.
6133         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6134         (BasicMenuUI.MenuKeyHandler): Likewise.
6135
6136 2004-06-10  David Jee  <djee@redhat.com>
6137
6138         * java/awt/MediaTracker.java
6139         (imageUpdate): Only do notifyAll() if the image is complete.
6140
6141 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6142
6143         * javax/swing/JApplet.java:
6144         (getJMenuBar): Made public.
6145         (setJMenuBar): Likewise.
6146         * javax/swing/JFrame.java:
6147         (getJMenuBar): Made public.
6148         (setJMenuBar): Likewise.
6149         * javax/swing/JWindow.java:
6150         (getJMenuBar): Removed.
6151         (setJMenuBar): Removed.
6152
6153 2004-06-10  Michael Koch  <konqueror@gmx.de>
6154
6155         * javax/swing/JEditorPane.java
6156         (createEditorKitForContentType): Fixed visibility.
6157         (fireHyperlinkUpdate): Likewise.
6158         (getContentType): Likewise.
6159         (getEditorKit): Likewise.
6160         (getEditorKitForContentType): Likewise.
6161         (getPage): Likewise.
6162         (read): Likewise.
6163         (registerEditorKitForContentTyoe): Likewise.
6164         (replaceSelection): Likewise.
6165         (setContentType): Likewise.
6166         (setEditorKit): Likewise.
6167         (setPage): Likewise.
6168
6169 2004-06-10  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/Timer.java
6172         (Timer): New constructor.
6173         * javax/swing/plaf/basic/BasicProgressBarUI.java
6174         (animationTimer): Don't initialize at construction.
6175         (startAnimationTimer): Added since tag.
6176         (stopAnimationTimer): Likewise.
6177         (installUI): Use new Timer constructor.
6178         * javax/swing/plaf/basic/BasicScrollBarUI.java
6179         (installUI): Likewise.
6180         * javax/swing/plaf/basic/BasicSliderUI.java
6181         (installUI): Likewise.
6182
6183 2004-06-10  Michael Koch  <konqueror@gmx.de>
6184
6185         * javax/swing/ButtonGroup.java
6186         (serialVersionUID): Made private.
6187         (buttons): Renamed from v, added javadoc.
6188         (sel): Added javadoc.
6189         (ButtonGroup): Likewise.
6190         (add): Likewise.
6191         (remove): Likewise.
6192         (getElements): Likewise.
6193         (getSelection): Likewise.
6194         (setSelected): Likewise.
6195         (isSelected): Likewise.
6196         (getButtonCount): Likewise.
6197
6198 2004-06-10  Michael Koch  <konqueror@gmx.de>
6199
6200         * javax/swing/ButtonGroup.java,
6201         javax/swing/ImageIcon.java,
6202         javax/swing/JEditorPane.java,
6203         javax/swing/JRootPane.java,
6204         javax/swing/JTextField.java,
6205         javax/swing/LookAndFeel.java,
6206         javax/swing/plaf/basic/BasicTextUI.java:
6207         Reindented.
6208
6209 2004-06-10  Michael Koch  <konqueror@gmx.de>
6210
6211         * javax/swing/text/Style.java: Added javadocs.
6212
6213 2004-06-10  Michael Koch  <konqueror@gmx.de>
6214
6215         * javax/swing/JComponent.java
6216         (fireVetoableChange): Removed redundant cast.
6217         * javax/swing/JLabel.java
6218         (getDisabledIcon): Save icon for next call.
6219
6220 2004-06-10  Michael Koch  <konqueror@gmx.de>
6221
6222         * javax/swing/KeyStroke.java
6223         (getKeyStroke(char,boolean)): Marked deprecated.
6224
6225 2004-06-10  Michael Koch  <konqueror@gmx.de>
6226
6227         * javax/swing/DefaultCellEditor.java,
6228         javax/swing/GrayFilter.java,
6229         javax/swing/event/DocumentEvent.java,
6230         javax/swing/text/JTextComponent.java,
6231         javax/swing/text/MutableAttributeSet.java:
6232         Reindented.
6233
6234 2004-06-10  Michael Koch  <konqueror@gmx.de>
6235
6236         * javax/swing/plaf/BorderUIResource.java:
6237         Added serialVersionUID all over.
6238
6239 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6240
6241         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6242
6243 2004-06-10  Michael Koch  <konqueror@gmx.de>
6244
6245         * javax/swing/table/DefaultTableCellRenderer.java
6246         (noFocusBorder): Initialize directly.
6247
6248 2004-06-10  Michael Koch  <konqueror@gmx.de>
6249
6250         * javax/swing/plaf/basic/BasicArrowButton.java
6251         (setDirection): Use method argument.
6252
6253 2004-06-10  Michael Koch  <konqueror@gmx.de>
6254
6255         * javax/swing/plaf/BorderUIResource.java,
6256         javax/swing/plaf/ComponentUI.java,
6257         javax/swing/undo/CompoundEdit.java,
6258         javax/swing/undo/StateEdit.java:
6259         Fixed javadocs all over.
6260
6261 2004-06-10  Michael Koch  <konqueror@gmx.de>
6262
6263         * javax/swing/DefaultButtonModel.java
6264         (ARMED): Made public final, fixed value.
6265         (ENABLED): Likewise.
6266         (PRESSED): Likewise.
6267         (ROLLOVER): Likewise.
6268         (SELECTED): Likewise.
6269         (stateMask): Initialize directly.
6270         (listenerList): Likewise.
6271         (mnemonic): Likewise.
6272         (fireStateChanged): Removed argument, use changeEvent as event.
6273         All places where this method is called are fixed too.
6274         (getActionCommant): Fixed javadoc.
6275         (setGroup): Fixed javadoc.
6276         (getGroup): New method.
6277
6278 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6279
6280         * javax/swing/AbstractButton.java
6281         (AbstractButton): Use init() to initialize the button.
6282         (init): New Method. Initializes AbstractButton.
6283         * javax/swing/JMenuItem.java: Documented.
6284         (JMenuItem): Reimplemented.
6285         (init): Implemented.
6286         (setEnabled): Changed to call super.setEnabled()
6287         (processMouseEvent): Reimplemented.
6288         (fireMenuKeyPressed): Implemented.
6289         (fireMenuKeyReleased): Implemented.
6290         (fireMenuKeyTyped): Implemented.
6291         (menuSelectionChanged): disarm the model if the menu item was
6292         deselected.
6293         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6294         (getPath): Change to use ArrayList instead of Vector.
6295         (getPreferredSize): Renamed variable.
6296         (paintMenuItem): Paint margin area of menu item.
6297         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6298         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6299         menu item's bounds before clearing the selection.       
6300
6301 2004-06-09  David Jee  <djee@redhat.com>
6302
6303         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6304         (GtkTextComponentPeer): Set caret position to 0.
6305         * java/awt/TextComponent.java
6306         (setText): Set caret position to 0.
6307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6308         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6309         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6310         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6311         Likewise.
6312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6313         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6314         visible.
6315
6316 2004-06-09  Kim Ho  <kho@redhat.com>
6317
6318         * Makefile.am: New files
6319         * Makefile.in: Regenerated
6320         * java/awt/Container.java
6321         (getComponentAt): Removed.
6322         * javax/swing/AbstractAction.java
6323         (ENABLED_PROPERTY): New property.
6324         (putValue): Fire PropertyChangeEvents.
6325         (setEnabled): ditto.
6326         (firePropertyChange): Javadoc and implement
6327         convenience method.
6328         * javax/swing/AbstractButton.java
6329         (setAction): Don't create PropertyChangeListener
6330         if new Action is null.
6331         (setIcon): Don't set icon till after comparing
6332         it.
6333         (configurePropertiesFromAction): Check mnemonic
6334         key before calling intValue().
6335         (createActionPropertyChangeListener): Check
6336         properties rather than bulk change.
6337         * javax/swing/DefaultDesktopManager.java:
6338         Implement.
6339         * javax/swing/DesktopManager.java:
6340         Jalopy and javadoc.
6341         * javax/swing/JComponent.java
6342         (fireVetoableChange): Implement.
6343         (paintImmediately): Use root component.
6344         * javax/swing/JDesktopPane.java: Implement
6345         * javax/swing/JInternalFrame.java: Implement
6346         * javax/swing/JLabel.java
6347         (getDisabledIcon): Return grayscaled icon if
6348         no disabled icon specified.
6349         * javax/swing/JMenuBar.java
6350         (getComponentAtIndex): Use getComponent
6351         * javax/swing/JOptionPane.java
6352         (getDesktopPaneForComponent): Use SwingUtilities'
6353         getAncestorOfClass
6354         (getFrameForComponent): ditto.
6355         * javax/swing/JSplitPane.java
6356         (remove): Use getComponent.
6357         * javax/swing/SwingUtilities.java
6358         (convertPoint): Implement.
6359         * javax/swing/plaf/basic/BasicButtonUI.java
6360         (paintButtonNormal): Check opaqueness before
6361         filling background.
6362         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6363         Implement
6364         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6365         Implement.
6366         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6367         Implement.
6368         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6369         Implement.
6370         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6371         Change InternalFrame and Desktop colors.
6372
6373 2004-06-09  David Jee  <djee@redhat.com>
6374
6375         * java/awt/Container.java
6376         (remove): Do not set component to invisible.
6377
6378 2004-06-09  Michael Koch  <konqueror@gmx.de>
6379
6380         * javax/swing/tree/DefaultMutableTreeNode.java
6381         (getLeafCount): Renamed enum to e.
6382
6383 2004-06-09  Michael Koch  <konqueror@gmx.de>
6384
6385         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6386         (positionForMouseEvent): Removed redundant semicolon.
6387         (continueDrag): Use method arguments.
6388
6389 2004-06-09  Michael Koch  <konqueror@gmx.de>
6390
6391         * javax/swing/border/TitledBorder.java,
6392         javax/swing/filechooser/FileSystemView.java,
6393         javax/swing/plaf/basic/BasicButtonListener.java,
6394         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6395         javax/swing/plaf/basic/BasicLabelUI.java,
6396         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6397         javax/swing/plaf/basic/BasicScrollBarUI.java,
6398         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6399         javax/swing/plaf/basic/BasicSliderUI.java,
6400         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6401         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6402         javax/swing/table/JTableHeader.java,
6403         javax/swing/text/AbstractDocument.java,
6404         javax/swing/text/DefaultCaret.java,
6405         javax/swing/text/StyledEditorKit.java,
6406         javax/swing/tree/DefaultTreeCellEditor.java:
6407         Reworked import statements.
6408
6409 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6410
6411         * javax/swing/Box.java: Temporarily comment out code
6412         broken due to visibility bug.
6413
6414 2004-06-09  Michael Koch  <konqueror@gmx.de>
6415
6416         * javax/swing/ImageIcon.java
6417         (ImageIcon): Added missing constructor.
6418
6419 2004-06-08  Michael Koch  <konqueror@gmx.de>
6420
6421         * javax/swing/JToggleButton.java
6422         (JToggleButton): New constructor.
6423         (getAccessibleContext): Moved documentation into javadoc.
6424         (getUIClassID): Likewise.
6425
6426 2004-06-08  Michael Koch  <konqueror@gmx.de>
6427
6428         * javax/swing/AbstractButton.java
6429         (getDisabledIcon): Create disabled icon if none exists yet.
6430
6431 2004-06-08  Michael Koch  <konqueror@gmx.de>
6432
6433         * javax/swing/plaf/basic/BasicLookAndFeel.java
6434         (initClassDefaults): Added FormattedTextFieldUI.
6435         (loadResourceBundle): Renamed enum to e.
6436
6437 2004-06-08  Michael Koch  <konqueror@gmx.de>
6438
6439         * javax/swing/plaf/basic/BasicButtonUI.java
6440         (paintIcon): Simplified.
6441         (paintText): Paint disabled button correctly.
6442
6443 2004-06-08  Michael Koch  <konqueror@gmx.de>
6444
6445         * javax/swing/JComponent.java
6446         (createToolTip): Use official JToolTip API.
6447
6448 2004-06-08  Michael Koch  <konqueror@gmx.de>
6449
6450         * javax/swing/JToolTip.java
6451         (JToolTip): No arguments in API.
6452         (setTipText): New method.
6453
6454 2004-06-08  Michael Koch  <konqueror@gmx.de>
6455
6456         * javax/swing/SwingUtilities.java
6457         (isLeftMouseButton): New method.
6458         (isMiddleMouseButton): New method.
6459         (isRightMouseButton): New method.
6460
6461 2004-06-08  Michael Koch  <konqueror@gmx.de>
6462
6463         * javax/swing/AbstractButton.java,
6464         javax/swing/CellRendererPane.java,
6465         javax/swing/JCheckBoxMenuItem.java,
6466         javax/swing/JColorChooser.java,
6467         javax/swing/JComboBox.java,
6468         javax/swing/JComponent.java,
6469         javax/swing/JDesktopPane.java,
6470         javax/swing/JFileChooser.java,
6471         javax/swing/JMenu.java,
6472         javax/swing/JMenuItem.java,
6473         javax/swing/JOptionPane.java,
6474         javax/swing/JPasswordField.java,
6475         javax/swing/JPopupMenu.java,
6476         javax/swing/JProgressBar.java,
6477         javax/swing/JRadioButtonMenuItem.java,
6478         javax/swing/JScrollBar.java,
6479         javax/swing/JSeparator.java,
6480         javax/swing/JSlider.java,
6481         javax/swing/JSplitPane.java,
6482         javax/swing/JTabbedPane.java,
6483         javax/swing/JTextField.java,
6484         javax/swing/JToolBar.java,
6485         javax/swing/text/JTextComponent.java:
6486         Fixed all constructors of accessibility classes.
6487
6488 2004-06-08  Michael Koch  <konqueror@gmx.de>
6489
6490         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6491         over.
6492
6493 2004-06-08  Michael Koch  <konqueror@gmx.de>
6494
6495         * javax/swing/Box.java
6496         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6497         (AccessibleBoxFiller.serialVersionUID): New member variable.
6498         * javax/swing/DefaultButtonModel.java
6499         (stateMask): Made protected.
6500         (listenerList): Likewise.
6501         (changeEvent): Likewise.
6502         (group): Likewise.
6503         (mnemonic): Likewise.
6504         (actionCommand): Likewise.
6505         (getListeners): New method.
6506         (getActionListeners): New method.
6507         (getItemListeners): New method.
6508         (getChangeListeners): New method.
6509         (fireItemStateChanged): Simplified.
6510         (fireActionPerformed): Simplified.
6511         (fireStateChanged): Simplified.
6512         * javax/swing/JFrame.java
6513         (JFrame): Implements WindowContants.
6514         (HIDE_ON_CLOSE): Removed.
6515         (EXIT_ON_CLOSE): Removed.
6516         (DISPOSE_ON_CLOSE): Removed.
6517         (DO_NOTHING_ON_CLOSE): Removed.
6518         (processWindowEvent): Exit with code 0.
6519         (setDefaultCloseOperation): Do security check before setting value.
6520         * javax/swing/JOptionPane.java
6521         (message): Initialize only in constructor.
6522         * javax/swing/JToolTip.java: Removed unused imports.
6523         * javax/swing/JViewport.java
6524         (serialVersionUID): New member variable.
6525         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6526         (BLIT_SCROLL_MODE): Likewise.
6527         (BACKINGSTORE_SCROLL_MODE): Likewise.
6528         (scrollUnderway): Made protected.
6529         (isViewSizeSet): Likewise.
6530         * javax/swing/ListModel.java: Fixed javadoc.
6531         * javax/swing/Popup.java: Likewise.
6532         * javax/swing/RepaintManager.java
6533         (paintDirtyRegions): Don't use internal classes of
6534         java.util.AbstractMap.
6535         * javax/swing/ScrollPaneConstants.java: Reindented.
6536         * javax/swing/ScrollPaneLayout.java
6537         (viewport): Made protected.
6538         (verticalScrollBar): Made protected, renamed to vsb.
6539         (horizontalScrollBar): Made protected, renamed to hsb.
6540         (rowHeader): Made protected, renamed to rowHead.
6541         (columnHeader): Made protected, renamed to colHead.
6542         (lowerLeft): Made protected.
6543         (lowerRight): Made protected.
6544         (upperLeft): Made protected.
6545         (upperRight): Made protected.
6546         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6547         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6548
6549 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6550
6551         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6552         LOADING if flags has SOMEBITS set.
6553
6554 2004-06-07  Michael Koch  <konqueror@gmx.de>
6555
6556         * javax/swing/AbstractButton.java: Reorganized imports.
6557         * javax/swing/ActionMap.java: Likewise.
6558         * javax/swing/DefaultButtonModel.java: Likewise.
6559         * javax/swing/DefaultListModel.java: Likewise.
6560         * javax/swing/ImageIcon.java: Likewise.
6561         (serialVersionUID): New member variable.
6562         * javax/swing/JComboBox.java: Reorganized imports.
6563         * javax/swing/JComponent.java: Likewise.
6564         (ui): Made protected.
6565         (listenerList): Made protected.
6566         (TOOL_TIP_TEXT_KEY): New constant.
6567         (scrollRectToVisible): Removed redundant null check.
6568         * javax/swing/JFrame.java: Reorganized imports.
6569         * javax/swing/JInternalFrame.java: Reorganized imports.
6570         * javax/swing/JProgressBar.java: Likewise.
6571         * javax/swing/JRootPane.java: Likewise.
6572         * javax/swing/JScrollBar.java: Likewise.
6573         * javax/swing/JSeparator.java: Likewise.
6574         * javax/swing/JSlider.java: Likewise.
6575         * javax/swing/JTabbedPane.java: Likewise.
6576         * javax/swing/JTextField.java: Likewise.
6577         * javax/swing/JToolBar.java: Likewise.
6578         * javax/swing/JTree.java: Likewise.
6579         * javax/swing/JViewport.java: Likewise.
6580         * javax/swing/JWindow.java: Likewise.
6581         * javax/swing/KeyStroke.java: Likewise.
6582         * javax/swing/LookAndFeel.java: Likewise.
6583         * javax/swing/MenuSelectionManager.java: Likewise.
6584         * javax/swing/SwingUtilities.java: Likewise.
6585         * javax/swing/Timer.java: Likewise.
6586         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6587         * javax/swing/JList.java
6588         (HORIZONTAL_WRAP): Made final, fixed value.
6589         (VERTICAL): Likewise.
6590         (VERTICAL_WRAP): Likewise.
6591
6592 2004-06-07  Michael Koch  <konqueror@gmx.de>
6593
6594         * javax/swing/AbstractButton.java
6595         (serialVersionUID): New member variable.
6596         (AccessibleAbstractButton.serialVersionUID): Likewise.
6597         (AbstractButton): Made public.
6598         * javax/swing/Box.java
6599         (AccessibleBox.serialVersionUID): New member variable.
6600         (Filler.serialVersionUID): Likewise.
6601         * javax/swing/DefaultListSelectionModel.java
6602         (serialVersionUID): Likewise.
6603         * javax/swing/JApplet.java
6604         (serialVersionUID): Likewise.
6605         * javax/swing/JCheckBox.java
6606         (serialVersionUID): Likewise.
6607         * javax/swing/JCheckBoxMenuItem.java
6608         (serialVersionUID): Likewise.
6609         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6610         * javax/swing/JColorChooser.java
6611         (serialVersionUID): Likewise.
6612         (AccessibleJColorChooser.serialVersionUID): Likewise.
6613         * javax/swing/JComponent.java
6614         (serialVersionUID): Made private.
6615         (AccessibleJComponent.serialVersionUID): New member variable.
6616         * javax/swing/JDesktopPane.java
6617         (serialVersionUID): Likewise.
6618         * javax/swing/JDialog.java
6619         (serialVersionUID): Likewise.
6620         * javax/swing/JFormattedTextField.java
6621         (serialVersionUID): Fixed value.
6622         * javax/swing/JFrame.java
6623         (serialVersionUID): New member variable.
6624         (getDefaultCloseOpertation): Made public.
6625         * javax/swing/JLayeredPane.java
6626         (serialVersionUID): Likewise.
6627         (LAYER_PROPERTY): Made final, fixed value.
6628         (JLayeredPane): Made public.
6629         * javax/swing/JMenu.java
6630         (AccessibleJMenu.serialVersionUID): New member variable.
6631         (WinListener.serialVersionUID): Likewise.
6632         * javax/swing/JMenuBar.java
6633         (serialVersionUID): Likewise.
6634         (getComponentAtIndex): Added @deprecated tag.
6635         * javax/swing/JMenuItem.java
6636         (serialVersionUID): New member variable.
6637         (AccessibleJMenuItem.serialVersionUID): Likewise.
6638         * javax/swing/JOptionPane.java
6639         (serialVersionUID): Likewise.
6640         (AccessibleJOptionPane.serialVersionUID): Likewise.
6641         * javax/swing/JPopupMenu.java
6642         (serialVersionUID): Likewise.
6643         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6644         (getPopupMenuListeners): New method.
6645         (getComponentAtIndex): Added @deprecated tag.
6646         * javax/swing/JProgressBar.java
6647         (serialVersionUID): New member variable.
6648         (AccessibleJProgressBar.serialVersionUID): Likewise.
6649         * javax/swing/JRadioButton.java
6650         (serialVersionUID): Likewise.
6651         * javax/swing/JRadioButtonMenuItem.java
6652         (serialVersionUID): Likewise.
6653         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6654         * javax/swing/JScrollBar.java
6655         (serialVersionUID): Likewise.
6656         (AccessibleJScrollBar.serialVersionUID): Likewise.
6657         * javax/swing/JSeparator.java
6658         (serialVersionUID): Likewise.
6659         (AccessibleJSeparator.serialVersionUID): Likewise.
6660         * javax/swing/JSlider.java: Fixed javadocs.
6661         (AccessibleJSlider.serialVersionUID): New member variable.
6662         * javax/swing/JSplitPane.java: Added copyright statement.
6663         (serialVersionUID): New member variable.
6664         (AccessibleJSplitPane.serialVersionUID): Likewise.
6665         * javax/swing/JTabbedPane.java
6666         (serialVersionUID): Likewise.
6667         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6668         (ModelListener.serialVersionUID): Likewise.
6669         (ModelListener.ModelListener): New constructor.
6670         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6671         (WRAP_TAB_LAYOUT): Likewise.
6672         * javax/swing/JTable.java
6673         (serialVersionUID): New member variable.
6674         * javax/swing/JToggleButton.java
6675         (serialVersionUID): Likewise.
6676         (ToggleButtonModel): Made static.
6677         (ToggleButtonModel.serialVersionUID): New member variable.
6678         * javax/swing/JToolTip.java
6679         (serialVersionUID): Likewise.
6680         * javax/swing/JTree.java
6681         (serialVersionUID): Likewise.
6682         * javax/swing/JWindow.java
6683         (serialVersionUID): Likewise.
6684         * javax/swing/Timer.java
6685         (serialVersionUID): Likewise.
6686
6687 2004-06-06  Michael Koch  <konqueror@gmx.de>
6688
6689         * javax/swing/SwingConstants.java
6690         (NEXT): New constant.
6691         (PREVIOUS): Likewise.
6692         * javax/swing/UIManager.java
6693         (LookAndFeel): Made public.
6694         (LookAndFeel.getClassName): Likewise.
6695         (LookAndFeel.getName): Likewise.
6696
6697 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6698
6699         * javax/swing/JCheckBoxMenuItem.java:
6700         Removed CVS tags.
6701         * javax/swing/JMenu.java: Likewise.
6702         * javax/swing/JMenuBar.java: Likewise.
6703         * javax/swing/JMenuItem.java: Likewise.
6704         * javax/swing/JPopupMenu.java: Likewise.
6705         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6706         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6707         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6708         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6709         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6710         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6711         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6712
6713 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6714         
6715         * javax/swing/plaf/basic/BasicMenuUI.java:
6716         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6717         Call getPath() from super class instead.
6718
6719 2004-05-31  David Jee  <djee@redhat.com>
6720
6721         * java/awt/Container.java
6722         (remove): Set component visibility to false after removing it.
6723
6724 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6725
6726         * java/awt/Component.java (getForeground): Return SystemColor if
6727         parent is null.
6728         (getBackground): Likewise.
6729
6730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6731         (item_highlighted): New function.
6732         (connectSignals): Set item_highlighted as list's select
6733         function.
6734
6735         * java/applet/Applet.java: Revert changes from 2004-04-29,
6736         2004-03-15 and 2004-03-14.
6737
6738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6739         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6740         factor.
6741
6742         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6743         "Dialog" as the default font.
6744         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6745         Likewise.
6746         * java/awt/Component.java (getFont): Return "Dialog" font by
6747         default.
6748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6749         Multiply size argument to pango_font_description_set_size by the
6750         DPI conversion factor rather than by PANGO_SCALE.
6751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6761         Divide baseline y coordinate by DPI conversion factor rather
6762         than by PANGO_SCALE.
6763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6764         (area_prepared): Fix typo.
6765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6766         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6768         (dpi_conversion_factor): New global variable.
6769         (init_dpi_conversion_factor): New function to calculate and
6770         track DPI conversion factor.
6771         (dpi_changed_cb): New callback.
6772         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6773
6774 2004-05-27  David Jee  <djee@redhat.com>
6775
6776         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6777         (getGraphics): Return a new GdkGraphics instance.
6778         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6779         (getGraphics): Call super.getGraphics().
6780
6781 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6782
6783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6784         (setNativeBounds): Clamp width and height values to >= 0.
6785
6786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6787         (find_fg_color_widget): Handle GtkOptionMenu specially.
6788
6789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6790         (pre_event_handler): Only post configure events to visible
6791         top-level windows.
6792
6793 2004-05-26  David Jee  <djee@redhat.com>
6794
6795         * java/awt/BorderLayout.java
6796         (layoutContainer): Fix size calculations.
6797
6798 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6799
6800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6801         (window_wm_protocols_filter): Remove function.
6802         (create): Remove filter that removes WM_TAKE_FOCUS client
6803         messages.
6804
6805 2004-06-17  Anthony Green  <green@redhat.com>
6806
6807         * java/util/zip/ZipFile.java (getInputStream): Return null if
6808         entry not found.
6809
6810         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6811         directory contents to the class path.
6812
6813 2004-06-15  Andrew Haley  <aph@redhat.com>
6814
6815         * java/lang/natSystem.cc (getenv0): Don't assume environment
6816         variable is Latin 1 coded.
6817
6818 2004-06-14  Andreas Jaeger  <aj@suse.de>
6819
6820         * configure.in: Support --enable-version-specific-runtime-libs.
6821         * configure: Regenerated.
6822
6823 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6824
6825         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6826         to pass ClassLoader argument.
6827         * java/util/GregorianCalendar.java: Likewise.
6828         * java/util/Currency.java: Likewise.
6829         * java/text/BreakIterator.java: Likewise.
6830         * java/text/Collator.java: Likewise.
6831         * java/text/DateFormat.java: Likewise.
6832         * java/text/DateFormatSymbols.java: Likewise.
6833         * java/text/DecimalFormatSymbols.java: Likewise.
6834         * java/text/NumberFormat.java: Likewise.
6835         * java/awt/Window.java: Likewise.
6836
6837 2004-06-14  Andrew Haley  <aph@redhat.com>
6838
6839         * java/lang/System.java: (getenv0): New method.
6840         (getenv): Add security check.  Do the right thing.
6841         * java/lang/natSystem.cc (getenv0): New method.
6842
6843 2004-06-12  Mark Wielaard  <mark@klomp.org>
6844
6845         * javax/swing/RepaintManager.java
6846         (paintDirtyRegions): Use entrySet(), not values().
6847
6848 2004-06-10  Mark Wielaard  <mark@klomp.org>
6849
6850         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6851         NoSuchMethodError.
6852
6853 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6854
6855         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6856         when we already know the answer.
6857         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6858         (setStartRule,setEndRule): Don't take abs of day number.
6859         (getOffset): Clarify docs.  Add argument checks.
6860         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6861         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6862         endTimeMode.
6863
6864 2004-06-10  Tom Tromey  <tromey@redhat.com>
6865
6866         * interpret.cc (run): Handle wide fload.
6867
6868 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6869
6870         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6871
6872 2004-06-05  Michael Koch  <konqueror@gmx.de>
6873
6874         * javax/swing/SwingConstants.java
6875         (NEXT): New constant.
6876         (PREVIOUS): Likewise.
6877
6878 2004-06-05  Michael Koch  <konqueror@gmx.de>
6879
6880         * javax/swing/UIManager.java
6881         (LookAndFeel): Made public.
6882         (LookAndFeel.getName): Likewise.
6883         (LookAndFeel.getClassName): Likewise.
6884
6885 2004-06-03  Michael Koch  <konqueror@gmx.de>
6886
6887         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6888         (requestFocus): Revert last changes.
6889         (gtkRequestFocus): Removed.
6890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6891         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6892         Renamed to ...
6893         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6894         Reverted last patch.
6895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6896         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6897         Reverted comment change.
6898
6899 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6900
6901         * javax/swing/JCheckBoxMenuItem.java:
6902         Removed CVS tags.
6903         * javax/swing/JMenu.java: Likewise.
6904         * javax/swing/JMenuBar.java: Likewise.
6905         * javax/swing/JMenuItem.java: Likewise.
6906         * javax/swing/JPopupMenu.java: Likewise.
6907         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6908         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6909         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6910         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6911         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6912         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6913         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6914
6915 2004-06-01  Tom Tromey  <tromey@redhat.com>
6916
6917         * java/io/ObjectStreamField.java: Cleaned up imports.
6918
6919 2004-06-01  Michael Koch  <konqueror@gmx.de>
6920
6921         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6922       
6923 2004-06-01  Mark Wielaard  <mark@klomp.org>
6924
6925         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6926
6927 2004-06-01  Michael Koch  <konqueror@gmx.de>
6928
6929         * java/security/Security.java
6930         (insertProviderAt): Use equals() instead of ==.
6931         (removeProvicer): Likewise.
6932         (getProvider): Likewise.
6933         * java/security/Signature.java
6934         (sign): Don't set state to UNINITIALIZED.
6935         (verify): Likewise.
6936
6937 2004-06-01  Mark Wielaard  <mark@klomp.org>
6938
6939         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6940         Implement by calling gtkRequestFocus.
6941         (gtkRequestFocus): New native method.
6942         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6943         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6944         Renamed to ...
6945         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6946         New function name.
6947         (filter_expose_event_handler):
6948         Mark static.
6949         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6950         (menu_pos): Mark static.
6951
6952 2004-06-01  Michael Koch  <konqueror@gmx.de>
6953
6954         * java/text/CollationElementIterator.java,
6955         java/text/CollationKey.java,
6956         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6957         * testsuite/libjava.mauve/xfails: Removed all
6958         java.text.CollationElementIterator tests.
6959
6960 2004-06-01  Michael Koch  <konqueror@gmx.de>
6961
6962         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6963         version.
6964         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6965         Java 1.5 keyword usage.
6966
6967 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6968
6969         * javax/swing/plaf/basic/BasicMenuUI.java:
6970         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6971         Call getPath() from super class instead.
6972
6973 2004-05-31  Michael Koch  <konqueror@gmx.de>
6974
6975         * java/io/SequenceInputStream.java:
6976         Rename enum to e because enum is a keyword in Java 1.5.
6977
6978 2004-05-31  Michael Koch  <konqueror@gmx.de>
6979
6980         * gnu/java/rmi/rmic/CompilerProcess.java:
6981         Fixed javadoc to by XHTML compliant.
6982
6983 2004-05-30  Mark Wielaard  <mark@klomp.org>
6984
6985         * java/awt/Toolkit.java (loadSystemColors): Implement.
6986
6987 2004-05-30  Michael Koch  <konqueror@gmx.de>
6988
6989         * java/lang/System.java: Reordered imports.
6990
6991 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6992
6993         * java/text/DecimalFormat.java
6994         (parse): Fixed parsing of decimal strings. Number of maximum
6995         digits to be read should now work.
6996         * java/text/SimpleDateFormat.java
6997         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6998         formatter. This fixes DateFormatTest.
6999
7000 2004-05-30  Michael Koch  <konqueror@gmx.de>
7001
7002         * java/nio/Buffer.java
7003         (limit): Fixed off by one error.
7004         * java/nio/CharBuffer.java
7005         (wrap): Fixed arguments, added javadocs.
7006
7007 2004-05-30  Michael Koch  <konqueror@gmx.de>
7008
7009         * gnu/java/beans/BeanInfoEmbryo.java,
7010         java/awt/im/InputContext.java,
7011         javax/swing/tree/DefaultMutableTreeNode.java:
7012         Rename enum to e because enum is a keyword in Java 1.5.
7013
7014 2004-05-30  Michael Koch  <konqueror@gmx.de>
7015
7016         * gnu/java/math/MPN.java,
7017         java/awt/geom/Arc2D.java:
7018         Fixed javadocs all over.
7019
7020 2004-05-30  Michael Koch  <konqueror@gmx.de>
7021
7022         * java/awt/DefaultKeyboardFocusManager.java
7023         (dispatchEvent): Call method to get key event dispatchers.
7024         (dispatchKeyEvent): Call method to get key event post processors.
7025         * javax/swing/JComponent.java
7026         (listenerList): Made protected.
7027         * javax/swing/JOptionPane.java
7028         (message): Don't initialize.
7029         (JOptionPane): Set message text.
7030         * javax/swing/JPopupMenu.java
7031         (show): Fixed typo in argument name.
7032         * javax/swing/RepaintManager.java
7033         (paintDirtyRegions): Use public API of java.util.Map.
7034         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7035         (positionForMouseEvent): Removed redundant ';'.
7036         (continueDrag): Use method arguments.
7037
7038 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7039
7040         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7041         results.
7042
7043 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7044
7045         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7046         _Jv_AllocBytes.
7047         * gnu/gcj/RawDataManaged.java: New file.
7048         * java/lang/Thread.java (data): Declare as RawDataManaged.
7049         * java/lang/natThread.cc (init_native): Cast natThread data to
7050         RawDataManaged, not jobject.
7051         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7052         * Makefile.in: Rebuilt.
7053
7054 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7055
7056         * java/util/SimpleTimeZone.java: Reverting my last change until I
7057         can fix it properly.
7058
7059 2004-05-27  Michael Koch  <konqueror@gmx.de>
7060
7061         * javax/swing/JPopupMenu.java
7062         (isVisible): Do not use visible directly.
7063         (setVisible): Likewise.
7064         * javax/swing/JWindow.java
7065         (JWindow): call accessible constructor.
7066         * javax/swing/RepaintManager.java
7067         (paintDirtyRegions): Use public methods to obtain iterator.
7068
7069 2004-05-25  David Jee  <djee@redhat.com>
7070
7071         * java/awt/Container.java
7072         (remove): Set component's parent to null only after we removed the
7073         component from its parent's layout manager.
7074
7075 2004-05-25  David Jee  <djee@redhat.com>
7076
7077         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7078         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7079         is valid.
7080         * gnu/java/awt/peer/gtk/GtkListPeer.java
7081         (getSize): Change native method declaration.
7082         (minimumSize): Pass visible row count into getSize().
7083         (preferredSize): Likewise.
7084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7085         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7086         natural size. Use visible row count to determine the final height
7087         value to return.
7088
7089 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7090
7091         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7092         (setClip): Minor correction to order of operations.
7093
7094         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7095         * javax/swing/ScrollPaneLayout.java: Likewise.
7096         * javax/swing/JViewPort.java: Likewise.
7097         * javax/swing/ViewportLayout.java: Likewise.
7098
7099         * javax/swing/JComponent.java: Rewrite.
7100         * javax/swing/RepaintManager.java: Likewise.
7101
7102         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7103         * javax/swing/JList.java 
7104         (setSelectedIndices):
7105         (getSelectedIndices):
7106         (getSelectedValues): New functions.
7107         (getPreferredScrollableViewportSize): Return preferred size.
7108         (getScrollableUnitIncrement):
7109         (getScrollableBlockIncrement): Initial implementations.
7110         * javax/swing/JRootPane.java: Clean up slightly.
7111         (getUI):
7112         (setUI):
7113         (updateUI):
7114         (getUIClassID):
7115         (isValidateRoot): Add overrides from JComponent.
7116         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7117         * javax/swing/UIManager.java (getDimension): Return the dimension.
7118
7119         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7120         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7121         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7122         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7123         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7124         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7125         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7126         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7127         Likewise, and set background.
7128         * javax/swing/plaf/basic/BasicListUI.java: 
7129         Likewise, and improve a bit.
7130         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7131         Likewise, and adjust calculations.
7132         * javax/swing/plaf/basic/BasicViewportUI.java:
7133         Likewise, and improve a bit.
7134         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7135         (Button.margin): Shrink.
7136
7137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7138         Hack to set horizontal always, workaround pango.
7139
7140         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7142         Synchronize more often, check cairo status after ops,
7143         handle changes to cairo pattern API, check for disposal.
7144
7145 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7146
7147         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7148         (BasicMenuItemUI): Create propertyChangeListener.
7149         (getPath):Implemented.
7150         (installListeners): Add propertyChangeListener to menuItem.
7151         (uninstallListeners): Remove propertyChangeListener from menuItem.
7152         (update): Implemented.
7153         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7154         (mouseEntered): Take insets of popup menu into account when
7155         calculating position of popup menu.     
7156         
7157 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7158
7159         * Makefile.am: Added new file. 
7160         * Makefile.in: Regenerate.
7161         * javax/swing/JMenuBar.java:
7162         Started implementation.
7163         * javax/swing/JPopupMenu.java:
7164         (setVisible): Fixed location of lightweight/mediumweight
7165         popup menu.
7166         (show): Fixed location of PopupMenu.
7167         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7168         New file. UI Delegate for JMenuBar.
7169         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7170         (mouseEntered): Corrected position of the submenu.
7171
7172 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7173
7174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7175         to _gtk_accel_group_attach.
7176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7177         Likewise.
7178
7179         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7180         package access.  Don't override setFont.
7181         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7182         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7183         gtkWidgetRequestFocus package access.
7184         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7185         setFont.
7186         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7187         Give gtkWidgetRequestFocus package access.
7188         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7189         gtkWidgetRequestFocus package access.  Don't override setFont.
7190         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7191         setFont.
7192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7193         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7194         region.
7195         (gtkSetFont): Likewise.
7196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7197         Implement.
7198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7199         (gtkSetFont): Whitespace fix.
7200
7201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7202         (gtkWidgetSetUsize): Remove method.
7203
7204 2004-05-18  David Jee  <djee@redhat.com>
7205
7206         * java/awt/image/MemoryImageSource.java
7207         (newPixels(int,int,int,int,boolean)): Set only the specified
7208         rectangle of pixels.
7209         (newPixels(byte[],ColorModel,int,int)): Implement.
7210         (newPixels(int[],ColorModel,int,int)): Implement.
7211
7212 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7213
7214         * Makefile.am: Added new file.
7215         * Makefile.in: Regenerate.
7216         * javax/swing/JMenu.java: Started 
7217         implementation.
7218         * javax/swing/JPopupMenu.java:
7219         (insert): If specified index is -1, then
7220         add component at the end.
7221         (isPopupTrigger): Reimplemented.
7222         (JPopupMenu.LightWeightPopup): setBounds
7223         of the lightWeightPopup before adding it 
7224         to the layeredPane.
7225         (javax/swing/plaf/basic/BasicIconFactory.java):
7226         (getMenuArrowIcon): Implemented.
7227         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7228         (getPreferredSize): Add size of the arrow icon 
7229         if this menu item is instance of JMenu.
7230         (paintMenuItem): Paint arrow icon if this 
7231         menu item is a submenu.
7232         * javax/swing/plaf/basic/BasicMenuUI.java:
7233         New File. UI Delegate for JMenu.
7234
7235 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7236
7237         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7238         Post KEY_TYPED events.
7239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7240         (generates_key_typed_event): Remove function.
7241
7242 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7243
7244         * javax/swing/JRootPane.java
7245         (JRootPane.RootLayout): Reimplemented to 
7246         set bounds of contentPane and menuBar.
7247         (setJMenuBar): Add menu bar to the layered pane.
7248         (createLayeredPane): Set layout of layeredPane
7249         to null.
7250         * javax/swing/JLayeredPane.java:
7251         (addImpl): Calculate index of the component in the
7252         layeredPane according to the specified position within 
7253         the layer.      
7254
7255 2004-05-17  David Jee  <djee@redhat.com>
7256
7257         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7258         (setPixels): Change color model to the default model after
7259         converting pixels.
7260         * java/awt/image/MemoryImageSource.java
7261         (newPixels): Set only the specified rectangle of pixels.
7262
7263 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7264
7265         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7266         -l-java-beans -l-javax-accessibility -l-javax-swing.
7267
7268         * java/awt/AWTEvent.java (toString): Print source's name rather
7269         than the source itself.
7270
7271 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7272
7273         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7274         native.
7275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7276         (gdk_color_to_java_color): New function.
7277         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7278
7279 2004-05-12  David Jee  <djee@redhat.com>
7280
7281         * java/awt/image/RGBImageFilter.java:
7282         Initialize origmodel as null.
7283         (makeColor): Fix pixel component order.
7284         (filterRGBPixels): Fix pixel iteration.
7285         (setPixels): Add extra checks for index color model. Convert pixels
7286         to default color model if necessary.
7287         (convertColorModelToDefault): New override method for byte pixels.
7288         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7289         (makeColorbyDefaultCM): New override method for byte pixels.
7290         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7291         (makeColor): Fix pixel component order.
7292
7293 2004-05-11  Kim Ho  <kho@redhat.com>
7294
7295         * javax/swing/Box.java:
7296         Comment out more parts of Box.Filler.
7297
7298 2004-05-11  Kim Ho  <kho@redhat.com>
7299
7300         * javax/swing/Box.java:
7301         Remove reference to AccessibleAWTComponent so
7302         it compiles again.
7303
7304 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7305
7306         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7308         implementation of list peer to use GtkTreeView instead of
7309         deprecated GtkCList.
7310
7311 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7312
7313         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7314         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7315         (handleEvent): Remove keyChar argument to
7316         gtkWidgetDispatchKeyEvent calls.
7317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7318         compiler warnings.
7319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7322         Likewise.
7323
7324 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7325
7326         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7327         (gtkWidgetRequestFocus): Mark protected.
7328         (GtkComponentPeer): Only set the peer's bounds if its component
7329         is valid.
7330         * java/awt/Component.java (static): Set the default keyboard
7331         focus manager.
7332         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7333         requestFocusInWindow(temporary)): Don't request focus if the
7334         component is not showing.  Get tree lock before traversing
7335         component hierarchy.
7336         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7337         Only set the global focus owner if it is not a Window.
7338         (processKeyEvent): Consume keystrokes associated with the focus
7339         traversal keystroke.
7340         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7341         downFocusCycle): Call requestFocusInWindow instead of
7342         requestFocus.
7343         * java/awt/EventDispatchThread.java (run): Move setting of
7344         default keyboard focus manager to Component.java.
7345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7346         (awt_keycode_to_keysym): New function.
7347         (gtkWidgetDispatchKeyEvent): Finish implementation.
7348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7349         (pre_event_handler): Add FIXME comment.
7350
7351         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7353         (gtkWidgetRequestFocus): New method.
7354         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7355         disable Tab and Shift-Tab keystrokes.
7356         (addNotify, appendText, insertText, replaceText): Simplify peer
7357         retrieval code.
7358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7359         (connectSignals): Remove connections to "commit" signals.
7360         Remove C++-style comments.
7361
7362         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7363         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7364         (handleEvent): Activate GTK button when the space bar key is
7365         pressed.
7366         (gtkActivate): New method.
7367
7368 2004-05-06  David Jee  <djee@redhat.com>
7369
7370         * java/awt/image/CropImageFilter.java
7371         (setPixels): Implement for byte array pixels.
7372         * java/awt/image/ReplicateScaleFilter.java
7373         (setPixels): Implement for byte array pixels.
7374         (replicatePixels): Overload for byte array pixels.
7375
7376 2004-05-06  Kim Ho  <kho@redhat.com>
7377
7378         * javax/swing/Box.java:
7379         (getAccessibleContext): Return an instance of the 
7380         correct class.
7381
7382 2004-05-05  David Jee  <djee@redhat.com>
7383
7384         * gnu/java/awt/peer/gtk/GdkGraphics.java
7385         (drawImage): When component is null, use SystemColor.window as
7386         the default bgcolor.
7387         * gnu/java/awt/peer/gtk/GtkImage.java
7388         (setPixels): We can avoid iterating through the pixel rows only
7389         when height is 1.
7390         * java/awt/Image.java
7391         (getScaledInstance): Partially implement.
7392         * java/awt/image/CropImageFilter.java
7393         (setProperties): Fix "filter" property.
7394         (setPixels): Implement.
7395         * java/awt/image/ReplicateScaleFilter.java
7396         (setDimensions): Use scaled dimensions.
7397         (setPixels): Implement.
7398         (replicatePixels): New method.
7399
7400 2004-05-05  David Jee  <djee@redhat.com>
7401
7402         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7403         (convertPixels): If either pixels or model is null, return null.
7404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7405         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7406         is null, do nothing and return.
7407
7408 2004-05-03  Kim Ho  <kho@redhat.com>
7409
7410         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7411         (getGraphics): Like GtkFramePeer, the Graphics
7412         object needs to be translate to account for
7413         window decorations.
7414         (postMouseEvent): New method. Account for
7415         translation.
7416         (postExposeEvent): ditto.
7417         * javax/swing/Box.java: Stubbed.
7418         * javax/swing/JDialog.java: Ran through jalopy
7419         to fix indentation.
7420         (JDialog): Call SwingUtilities' getOwnerFrame
7421         for null owners.
7422         (setLayout): Check isRootPaneCheckingEnabled
7423         * javax/swing/JOptionPane.java: Re-implemented.
7424         * javax/swing/SwingUtilities.java:
7425         (getOwnerFrame): Static method to grab a default
7426         owner frame for Dialogs that don't specify owners.
7427         * javax/swing/event/SwingPropertyChangeSupport.java:
7428         (firePropertyChange): Fix early exit condition.
7429         * javax/swing/plaf/basic/BasicLabelUI.java:
7430         (paint): Avoid painting text if it is null 
7431         or empty.
7432         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7433         Implement.
7434
7435 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7436
7437         * Makefile.am: Added new file.
7438         * Makefile.in: Regenerate.
7439         * javax/swing/JPopupMenu.java:
7440         Started implementation.
7441         * javax/swing/JWindow.java
7442         (JWindow): call super() if parent for window
7443         is not specified.
7444         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7445         New File. UI Delegate for JPopupMenu.
7446
7447 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7448
7449         * javax/swing/JApplet.java: Indicated that JApplet
7450         implements RootPaneContainer and made method of this
7451         interface public. 
7452         * javax/swing/JFrame.java: Ditto.
7453         * javax/swing/JWindow.java: Ditto.
7454         
7455 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7456
7457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7458         (nativeSetBounds): Call gdk_window_move in addition to
7459         gtk_window_move.
7460
7461         * java/applet/Applet.java (preferredSize): Call parent's
7462         preferredSize if the applet stub is null.
7463         (minimumSize): Likewise for parent's minimumSize.
7464
7465 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7466
7467         * javax/swing/JMenuItem.java
7468         (createActionPropertyChangeListener): Implemented.
7469         (processMouseEvent): Ditto.
7470         (fireMenuDragMouseEntered): Ditto.
7471         (fireMenuDragMouseExited): Ditto.
7472         (fireMenuDragMouseDragged): Ditto.
7473         (fireMenuDragMouseReleased): Ditto.
7474         (menuSelectionChanged): Ditto.
7475         (getSubElements): Ditto.
7476         (getComponent): Ditto.
7477         (addMenuDragMouseListener): Ditto.
7478         (removeMenuDragMouseListener):Ditto.
7479         (addMenuKeyListener): Ditto.
7480         (removeMenuKeyListener): Ditto.
7481         * javax/swing/plaf/basic/BasicMenuItemUI.java
7482         (doClick): Imlemented.
7483         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7484         Don't handle mouse events here. Pass them to 
7485         MenuSelectionManager.
7486         
7487 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7488         Used correct version of jalopy configuration
7489         file to fix style in the files below.
7490
7491 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7492
7493         * javax/swing/JCheckBoxMenuItem.java: 
7494         Fixed style and removed unnecessary comments.
7495         * javax/swing/JMenuItem.java: Ditto.
7496         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7497         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7498         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7499         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7500
7501 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7502
7503         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7504         C-style.
7505
7506         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7507
7508         * java/awt/ContainerOrderFocusTraversalPolicy.java
7509         (getComponentAfter): Start from current component and work up
7510         the component hierarchy until an acceptable component is found.
7511         Synchronize on tree lock.
7512         (getComponentBefore): Likewise.
7513
7514 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7515
7516         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7517         focus-related debugging messages.
7518         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7519         * java/awt/EventDispatchThread.java: Likewise.
7520         * java/awt/KeyboardFocusManager.java: Likewise.
7521         * java/awt/Window.java: Likewise.
7522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7524
7525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7526         new C++-style comments to C-style comments.
7527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7528
7529         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7530         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7531         (handleEvent): Dispatch key press and key release events to
7532         backing widget.
7533         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7534         (gtkWidgetRequestFocus): New method.
7535         (gtkWidgetDispatchKeyEvent): Likewise.
7536         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7537         requestFocusInWindow, requestFocusInWindow(boolean),
7538         getFocusCycleRootAncestor, nextFocus, transferFocus,
7539         transferFocusBackward, transferFocusUpCycle, hasFocus,
7540         isFocusOwner): Implement and document focus-handling methods.
7541         (setFocusTraversalKeys): Inherit focus traversal keys when
7542         keystrokes argument is null.  Fix focus-handling documentation
7543         throughout class.
7544         * java/awt/Container.java (setFocusTraversalKeys,
7545         getFocusTraversalKeys, areFocusTraversalKeysSet,
7546         isFocusCycleRoot, setFocusTraversalPolicy,
7547         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7548         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7549         Implement and document focus-handling methods.
7550         (transferFocusBackward): Remove method.
7551         (readObject, writeObject): Implement and document serialization
7552         methods.
7553         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7554         and document.
7555         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7556         document.
7557         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7558         partially document.
7559         * java/awt/EventDispatchThread.java (run): Set default keyboard
7560         focus manager.  Attempt to dispatch each event to the keyboard
7561         focus manager before normal dispatch.
7562         * java/awt/KeyboardFocusManager.java: Implement and partially
7563         document.
7564         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7565         (show): Focus initial component when window is shown for the
7566         first time.
7567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7568         (pre_event_handler): Replace complex key press and key release
7569         logic with simple callbacks into GtkComponentPeer.
7570         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7571
7572 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7573
7574         * javax/swing/MenuSelectionManager.java
7575         (componentForPoint): Added new method. 
7576         (defaultManager): New Method. Implemented.
7577         (getSelectedPath): Ditto.
7578         (isComponentPartOfCurrentMenu): Ditto.
7579         (processKeyEvent): Added new method.
7580         (processMouseEvent): New Method. Implemented.
7581         (setSelectedPath): Ditto.
7582         (getPath): Ditto.
7583
7584 2004-04-19  Kim Ho  <kho@redhat.com>
7585
7586         * java/awt/Container.java: 
7587         (remove): Set the component's parent to null.
7588         (getComponentAt): Implement.
7589         * javax/swing/JComponent.java:
7590         (JComponent): Initialize defaultLocale
7591         (getDefaultLocale): Implement.
7592         (setDefaultLocale): ditto.
7593         * javax/swing/JSlider.java:
7594         (JSlider): Fix calculation of value.
7595         * javax/swing/JSplitPane.java: Implement.
7596         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7597         Change SplitPane's default divider size.
7598         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7599         (paint): Remove unused code.
7600         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7601         Added comments and ran through jalopy.
7602         (setBasicSplitPaneUI): Get reference to hidden divider
7603         and set up one touch buttons if necessary.
7604         (setBorder): Fire propertyChangeEvent only if 
7605         borders are different.
7606         (getPreferredSize): Defer to layout manager.
7607         (propertyChange): Implement.
7608         (oneTouchExpandableChanged): ditto.
7609         (createLeftOneTouchButton): Use BasicArrowButton.
7610         (createRightOneTouchButton): ditto.
7611         (moveDividerTo): New method. Moves the divider
7612         to a set location based on the last divider location.
7613         (BasicSplitPaneDivider::MouseHandler): Implement.
7614         (BasicSplitPaneDivider::OneTouchButton): Removed.
7615         (BasicSplitPaneDivider::DragController): Implement.
7616         (BasicSplitPaneDivider::VerticalDragController):
7617         ditto.
7618         (BasicSplitPaneDivider::DividerLayout): ditto.
7619         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7620         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7621         (calculateLayoutInfo): Don't show component if it's
7622         null.
7623         (paintTab): Fix title paint logic.
7624
7625 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7626
7627         PR libgcj/8321
7628         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7629         (setStartRule,setEndRule): Don't take abs of day number.
7630         (getOffset): Clarify docs.  Add argument checks.
7631         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7632         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7633         endTimeMode.
7634         * testsuite/libjava.mauve/xfails
7635         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7636
7637 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7638
7639         Layout interfaces during preparation, not initialization. 
7640         * java/lang/natClass.cc (initializeClass): Move 
7641         _Jv_LayoutInterfaceMethods call...
7642         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7643
7644 2004-05-19  Anthony Green  <green@localhost.localdomain>
7645
7646         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7647         gnu.javax.rmi code.
7648         * Makefile.in: Rebuilt.
7649         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7650         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7651         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7652         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7653         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7654         gnu/javax/rmi/CORBA/DelegateFactory.java,
7655         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7656         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7657         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7658         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7659         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7660         gnu/javax/rmi/PortableServer.java: Remove files.
7661
7662 2004-05-19  Anthony Green  <green@redhat.com>
7663
7664         * Makefile.am: Define JAVA_EXT_DIRS.
7665         * Makefile.in: Rebuilt.
7666         * java/lang/natRuntime.cc (insertSystemProperties): Set
7667         java.ext.dirs property.
7668
7669 2004-05-16  Mark Wielaard  <mark@klomp.org>
7670
7671         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7672
7673 2004-05-15  Mark Wielaard  <mark@klomp.org>
7674
7675         * doc/cni.sgml: Removed, merged into gcj.texi.
7676
7677 2004-05-15  Mark Wielaard  <mark@klomp.org>
7678
7679         * Makefile.am (ordinary_java_source_files): Add new javax.print
7680         classes.
7681         * Makefile.in: Regenerated.
7682
7683 2004-05-15  Michael Koch  <konqueror@gmx.de>
7684
7685         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7686         javax/print/attribute/standard/DateTimeAtCreation.java,
7687         javax/print/attribute/standard/DateTimeAtProcessing.java,
7688         javax/print/attribute/standard/DocumentName.java,
7689         javax/print/attribute/standard/JobHoldUntil.java,
7690         javax/print/attribute/standard/JobImpressionsCompleted.java,
7691         javax/print/attribute/standard/JobMessageFromOperator.java,
7692         javax/print/attribute/standard/JobName.java,
7693         javax/print/attribute/standard/JobOriginatingUserName.java,
7694         javax/print/attribute/standard/JobPriority.java,
7695         javax/print/attribute/standard/JobPrioritySupported.java,
7696         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7697         javax/print/attribute/standard/OutputDeviceAssigned.java,
7698         javax/print/attribute/standard/PrinterInfo.java,
7699         javax/print/attribute/standard/PrinterLocation.java,
7700         javax/print/attribute/standard/PrinterMakeAndModel.java,
7701         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7702         javax/print/attribute/standard/PrinterName.java,
7703         javax/print/attribute/standard/QueuedJobCount.java,
7704         javax/print/attribute/standard/RequestingUserName.java:
7705         Fixed javadocs all over.
7706
7707 2004-05-15  Michael Koch  <konqueror@gmx.de>
7708
7709         * javax/print/DocFlavor.java,
7710         javax/print/attribute/standard/ColorSupported.java,
7711         javax/print/attribute/standard/Compression.java,
7712         javax/print/attribute/standard/CopiesSupported.java,
7713         javax/print/attribute/standard/Fidelity.java,
7714         javax/print/attribute/standard/Finishings.java,
7715         javax/print/attribute/standard/JobImpressionsSupported.java,
7716         javax/print/attribute/standard/JobKOctetsSupported.java,
7717         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7718         javax/print/attribute/standard/JobSheets.java,
7719         javax/print/attribute/standard/JobState.java,
7720         javax/print/attribute/standard/JobStateReason.java,
7721         javax/print/attribute/standard/JobStateReasons.java,
7722         javax/print/attribute/standard/Media.java,
7723         javax/print/attribute/standard/MediaSizeName.java,
7724         javax/print/attribute/standard/MultipleDocumentHandling.java,
7725         javax/print/attribute/standard/NumberUpSupported.java,
7726         javax/print/attribute/standard/OrientationRequested.java,
7727         javax/print/attribute/standard/PDLOverrideSupported.java,
7728         javax/print/attribute/standard/PageRanges.java,
7729         javax/print/attribute/standard/PresentationDirection.java,
7730         javax/print/attribute/standard/PrintQuality.java,
7731         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7732         javax/print/attribute/standard/PrinterMoreInfo.java,
7733         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7734         javax/print/attribute/standard/PrinterResolution.java,
7735         javax/print/attribute/standard/PrinterState.java,
7736         javax/print/attribute/standard/PrinterStateReason.java,
7737         javax/print/attribute/standard/PrinterStateReasons.java,
7738         javax/print/attribute/standard/PrinterURI.java,
7739         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7740         javax/print/attribute/standard/Severity.java,
7741         javax/print/attribute/standard/SheetCollate.java,
7742         javax/print/attribute/standard/Sides.java:
7743         Added serialVersionUID and removed final keyword where it doenst
7744         belong.
7745
7746 2004-05-15  Michael Koch  <konqueror@gmx.de>
7747
7748         * javax/print/PrintServiceLookup.java: New file.
7749
7750 2004-05-15  Michael Koch  <konqueror@gmx.de>
7751
7752         * javax/print/DocFlavor.java:
7753         Implemented all flavor classes.
7754
7755 2004-05-15  Michael Koch  <konqueror@gmx.de>
7756
7757         * javax/print/attribute/standard/ColorSupported.java,
7758         javax/print/attribute/standard/Compression.java,
7759         javax/print/attribute/standard/CopiesSupported.java,
7760         javax/print/attribute/standard/Fidelity.java,
7761         javax/print/attribute/standard/Finishings.java,
7762         javax/print/attribute/standard/JobImpressionsSupported.java,
7763         javax/print/attribute/standard/JobKOctetsSupported.java,
7764         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7765         javax/print/attribute/standard/JobSheets.java,
7766         javax/print/attribute/standard/JobState.java,
7767         javax/print/attribute/standard/JobStateReason.java,
7768         javax/print/attribute/standard/JobStateReasons.java,
7769         javax/print/attribute/standard/Media.java,
7770         javax/print/attribute/standard/MediaSizeName.java,
7771         javax/print/attribute/standard/MultipleDocumentHandling.java,
7772         javax/print/attribute/standard/NumberUpSupported.java,
7773         javax/print/attribute/standard/OrientationRequested.java,
7774         javax/print/attribute/standard/PDLOverrideSupported.java,
7775         javax/print/attribute/standard/PageRanges.java,
7776         javax/print/attribute/standard/PresentationDirection.java,
7777         javax/print/attribute/standard/PrintQuality.java,
7778         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7779         javax/print/attribute/standard/PrinterMoreInfo.java,
7780         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7781         javax/print/attribute/standard/PrinterResolution.java,
7782         javax/print/attribute/standard/PrinterState.java,
7783         javax/print/attribute/standard/PrinterStateReason.java,
7784         javax/print/attribute/standard/PrinterStateReasons.java,
7785         javax/print/attribute/standard/PrinterURI.java,
7786         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7787         javax/print/attribute/standard/Severity.java,
7788         javax/print/attribute/standard/SheetCollate.java,
7789         javax/print/attribute/standard/Sides.java: New files.
7790
7791 2004-05-15  Michael Koch  <konqueror@gmx.de>
7792
7793         * javax/print/Doc.java
7794         (getPrintData): Throws IOException.
7795         (getReaderForText): Likewise.
7796         (getStreamForBytes): Likewise.
7797         * javax/print/DocFlavor.java:
7798         Fixed filename in copyright.
7799         (serialVersionUID): New field.
7800         * javax/print/ServiceUIFactory.java:
7801         Made all constants final.
7802         * javax/print/AttributeException.java
7803         javax/print/MultiDoc.java
7804         javax/print/MultiDocPrintJob.java
7805         javax/print/MultiDocPrintService.java
7806         javax/print/StreamPrintService.java
7807         javax/print/URIException.java: New files.
7808         * javax/print/Makefile.am
7809         (EXTRA_DIST): Added all new files.
7810
7811 2004-05-15  Michael Koch  <konqueror@gmx.de>
7812
7813         * javax/print/attribute/standard/Copies.java,
7814         javax/print/attribute/standard/DateTimeAtCompleted.java,
7815         javax/print/attribute/standard/DateTimeAtCreation.java,
7816         javax/print/attribute/standard/DateTimeAtProcessing.java,
7817         javax/print/attribute/standard/DocumentName.java,
7818         javax/print/attribute/standard/JobHoldUntil.java,
7819         javax/print/attribute/standard/JobImpressions.java,
7820         javax/print/attribute/standard/JobImpressionsCompleted.java,
7821         javax/print/attribute/standard/JobKOctets.java,
7822         javax/print/attribute/standard/JobKOctetsProcessed.java,
7823         javax/print/attribute/standard/JobMediaSheets.java,
7824         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7825         javax/print/attribute/standard/JobMessageFromOperator.java,
7826         javax/print/attribute/standard/JobName.java,
7827         javax/print/attribute/standard/JobOriginatingUserName.java,
7828         javax/print/attribute/standard/JobPriority.java,
7829         javax/print/attribute/standard/JobPrioritySupported.java,
7830         javax/print/attribute/standard/NumberOfDocuments.java,
7831         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7832         javax/print/attribute/standard/NumberUp.java,
7833         javax/print/attribute/standard/OutputDeviceAssigned.java,
7834         javax/print/attribute/standard/PagesPerMinute.java,
7835         javax/print/attribute/standard/PagesPerMinuteColor.java:
7836         Fixed @return tag all over.
7837
7838 2004-05-15  Michael Koch  <konqueror@gmx.de>
7839
7840         * javax/print/attribute/AttributeSetUtilities.java
7841         (verifyCategoryForValue): Fixed typo in javadoc.
7842         * javax/print/attribute/HashAttributeSet.java
7843         (containsKey): Fixed @return tag.
7844         (comtainsValue): Likewise.
7845         (equals): Likewise.
7846         * javax/print/attribute/IntegerSyntax.java
7847         (equals): Likewise.
7848         * javax/print/attribute/ResolutionSyntax.java
7849         (equals): Likewise.
7850         (getCrossFeedResolution): Removed unused code.
7851         (getFeedResolution): Likewise.
7852         * javax/print/attribute/SetOfIntegerSyntax.java
7853         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7854         (equals): Fixed @return tag.
7855         * javax/print/attribute/TextSyntax.java
7856         (TextSyntax): Take locale into account.
7857         (hashCode): Better implementation.
7858
7859 2004-05-15  Michael Koch  <konqueror@gmx.de>
7860
7861         * javax/print/CancelablePrintJob.java,
7862         javax/print/Doc.java,
7863         javax/print/DocFlavor.java,
7864         javax/print/DocPrintJob.java,
7865         javax/print/FlavorException.java,
7866         javax/print/PrintException.java,
7867         javax/print/PrintService.java,
7868         javax/print/ServiceUIFactory.java: New files.
7869
7870 2004-05-15  Mark Wielaard  <mark@klomp.org>
7871
7872         * gnu/regexp/CharIndexedReader.java: Removed.
7873         * gnu/regexp/REFilterReader.java: Likewise.
7874         * gnu/regexp/RETokenLookAhead.java: Likewise.
7875         * Makefile.am (ordinary_java_source_files): Remove above classes.
7876         * Makefile.in: Regenerated.
7877
7878 2004-05-14  Tom Tromey  <tromey@redhat.com>
7879
7880         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7881         not `XGraphicsConfiguration.XOffScreenImage'.
7882
7883 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7884
7885         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7886
7887 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7888
7889         * include/jni.h (_Jv_func): Removed.
7890         (struct JNINativeInterface): Use `void *' for reserved slots.
7891         (struct JNIInvokeInterface): Likewise.
7892
7893 2004-05-11  Michael Koch  <konqueror@gmx.de>
7894
7895         * gnu/java/net/natPlainSocketImplPosix.cc
7896         (read): Fixed typo in expression.
7897
7898 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7899
7900         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7901         ld_library_additions. Adjust all calls to libjava_invoke to match
7902         the new argument.
7903
7904         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7905         path to cxxflagslist.
7906         Pass path of libstdc++ to libjava_invoke.
7907
7908         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7909         libjava_invoke arguments.
7910
7911 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7912
7913         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7914         reality.
7915
7916 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7917
7918         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7919         main binary against the JNI shared library.
7920
7921 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7922
7923         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7924         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7925         (SimpleTimeZone): Tweak docs.  Add new variation.
7926         (setStartRule,setEndRule): Add new variations.  Use
7927         startTimeMode and endTimeMode.
7928
7929 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7930
7931         * java/util/Calendar.java (getActualMinimum,
7932         getActualMaximum):  Remove abstract.  Implement.
7933
7934 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7935
7936         Run the jni tests using the interpreter.
7937         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7938         options_cxx to shared lib compile command.
7939         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7940         they are used to link the shared lib, not the main binary.
7941         Use libjava_invoke to run gij.
7942
7943 2004-05-06  Michael Koch  <konqueror@gmx.de>
7944
7945         * java/util/logging/Level.java
7946         (parse): Use == instead of String.equals().
7947
7948 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7949
7950         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7951         verify_field_signature and verify_method_signature, not 
7952         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7953         (_Jv_ClassReader::handleField): Likewise.
7954         (_Jv_ClassReader::handleMethod): Likewise.
7955
7956 2004-05-06  Michael Koch  <konqueror@gmx.de>
7957
7958         * javax/swing/table/TableColumn.java:
7959         Reformated.
7960
7961 2004-05-06  Michael Koch  <konqueror@gmx.de>
7962
7963         * javax/imageio/spi/ImageReaderWriterSpi.java
7964         (ImageReaderWriterSpi): Made it public.
7965         * javax/imageio/stream/ImageInputStream.java:
7966         Clean up imports.
7967
7968 2004-05-06  Michael Koch  <konqueror@gmx.de>
7969
7970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7971         Removed empty line.
7972
7973 2004-05-06  Michael Koch  <konqueror@gmx.de>
7974
7975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7977         New files.
7978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7979         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7981         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7982         their own source file.
7983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7984         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7985         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7987         (create): Define variable on top of function.
7988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7989         (menu_pos): Prototyped.
7990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7991         (setTitle): Removed.
7992         * jni/gtk-peer/gthread-jni.c
7993         (gdk_threads_wake): Removed.
7994         * Makefile.am (gtk_c_source_files): Added new files
7995         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7996         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7997         * Makefile.in: Regenerated.
7998
7999 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
8000
8001         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8002         call.
8003
8004 2004-05-05  Mark Wielaard  <mark@klomp.org>
8005
8006         * javax/swing/AbstractButton.java: Replace special HTML entities with
8007         ASCII equivalent.
8008         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8009         * javax/swing/DefaultButtonModel.java: Likewise.
8010         * javax/swing/DefaultListModel.java: Likewise.
8011         * javax/swing/JList.java: Likewise.
8012         * javax/swing/JSlider.java: Likewise.
8013         * javax/swing/ListModel.java: Likewise.
8014         * javax/swing/Popup.java: Likewise.
8015         * javax/swing/SwingUtilities.java: Likewise.
8016
8017 2004-05-05  Michael Koch  <konqueror@gmx.de>
8018
8019         * javax/swing/AbstractButton.java,
8020         javax/swing/ActionMap.java,
8021         javax/swing/DefaultButtonModel.java,
8022         javax/swing/DefaultListModel.java,
8023         javax/swing/ImageIcon.java,
8024         javax/swing/JComboBox.java,
8025         javax/swing/JComponent.java,
8026         javax/swing/JFrame.java,
8027         javax/swing/JInternalFrame.java,
8028         javax/swing/JMenuBar.java,
8029         javax/swing/JMenuItem.java,
8030         javax/swing/JOptionPane.java,
8031         javax/swing/JProgressBar.java,
8032         javax/swing/JRootPane.java,
8033         javax/swing/JScrollBar.java,
8034         javax/swing/JScrollPane.java,
8035         javax/swing/JSeparator.java,
8036         javax/swing/JSlider.java,
8037         javax/swing/JTabbedPane.java,
8038         javax/swing/JTable.java,
8039         javax/swing/JTextField.java,
8040         javax/swing/JToolBar.java,
8041         javax/swing/JToolTip.java,
8042         javax/swing/JTree.java,
8043         javax/swing/JViewport.java,
8044         javax/swing/JWindow.java,
8045         javax/swing/KeyStroke.java,
8046         javax/swing/LookAndFeel.java,
8047         javax/swing/SwingUtilities.java,
8048         javax/swing/Timer.java,
8049         javax/swing/ToolTipManager.java,
8050         javax/swing/UIDefaults.java,
8051         javax/swing/border/TitledBorder.java,
8052         javax/swing/filechooser/FileSystemView.java,
8053         javax/swing/plaf/basic/BasicButtonListener.java,
8054         javax/swing/plaf/basic/BasicButtonUI.java,
8055         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8056         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8057         javax/swing/plaf/basic/BasicLabelUI.java,
8058         javax/swing/plaf/basic/BasicMenuItemUI.java,
8059         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8060         javax/swing/plaf/basic/BasicRootPaneUI.java,
8061         javax/swing/plaf/basic/BasicScrollBarUI.java,
8062         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8063         javax/swing/plaf/basic/BasicSliderUI.java,
8064         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8065         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8066         javax/swing/table/JTableHeader.java,
8067         javax/swing/text/AbstractDocument.java,
8068         javax/swing/text/DefaultCaret.java,
8069         javax/swing/text/StyledEditorKit.java,
8070         javax/swing/tree/DefaultTreeCellEditor.java:
8071         Cleaned up imports.
8072
8073 2004-05-05  Michael Koch  <konqueror@gmx.de>
8074
8075         * java/util/prefs/AbstractPreferences.java
8076         (AbstractPreferences): Added parenthesis for clarity.
8077         Closes classpath bug #7940.
8078
8079 2004-05-05  Tom Tromey  <tromey@redhat.com>
8080
8081         * javax/naming/CompoundName.java (endsWith): Look at correct
8082         element of source name.
8083
8084 2004-05-05  Mark Wielaard  <mark@klomp.org>
8085
8086         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8087         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8088
8089 2004-05-05  Tom Tromey  <tromey@redhat.com>
8090
8091         * java/io/BufferedReader.java (skip): Removed unused
8092         variable.
8093
8094 2004-05-05  Michael Koch  <konqueror@gmx.de>
8095
8096         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8097
8098 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8099
8100         * java/text/AttributedString.java,
8101         java/text/AttributedStringIterator.java,
8102         java/text/Collator.java,
8103         java/text/DecimalFormatSymbols.java,
8104         java/text/NumberFormat.java,
8105         java/text/RuleBasedCollator.java:
8106         Cleaned up imports.
8107
8108 2004-05-05  Tom Tromey  <tromey@redhat.com>
8109
8110         * java/text/Format.java: Cleaned up imports.
8111         * java/text/DecimalFormat.java: Cleaned up imports.
8112         * java/security/SecureRandom.java: Cleaned up imports.
8113         (SecureRandom): Removed unused variable.
8114         * java/security/UnresolvedPermission.java: Cleaned up imports.
8115         * java/util/Date.java (parse): Removed unused variable.
8116         * java/util/ResourceBundle.java: Cleaned up imports.
8117         (getBundle): Removed unused variable.
8118         (tryBundle): Likewise.
8119         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8120
8121 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8122
8123         * java/text/SimpleDateFormat.java:
8124         (formatWithAttribute): New method. It implements
8125         the formatting process with attributes.
8126         (format): Use formatWithAttribute.
8127         (formatToCharacterIterator): New method. Use
8128         formatWithAttribute.
8129
8130 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8131
8132         * java/text/MessageFormat.java:
8133         (class Field): New class.
8134         (formatToCharacterIterator): New method.
8135         (format): Use formatInternal now.
8136         (formatInternal): New method. String formatter should
8137         be done here (with attributes). Attributes merging supported.
8138         (parse): More documentation.
8139         (getFormatsByArgumentIndex): New method.
8140         (setFormatByArgumentIndex): New method.
8141         (setFormatsByArgumentIndex): New method.
8142
8143 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8144
8145         * java/text/DecimalFormat.java
8146         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8147         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8148         (parse): Fixed handling of exponentiation notation and grouping.
8149
8150 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8151
8152         * java/text/DecimalFormat.java
8153         (scanFix): Build attribute array. Fixed error reporting.
8154         (applyPatternWithSymbols): Store attributes for the prefix and
8155         suffix.
8156         (formatInternal): New method. Changed the way the string is
8157         computed. Implemented attributes. Cleant up rounding in
8158         exponential notation.
8159         (format): Use formatInternal.
8160         (formatToCharacterIterator): New method.
8161         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8162         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8163         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8164         New fields.
8165
8166 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8167
8168         * java/security/interfaces/DSAKeyPairGenerator.java,
8169         java/security/interfaces/DSAPrivateKey.java,
8170         java/security/interfaces/DSAPublicKey.java,
8171         java/security/interfaces/RSAPrivateKey.java,
8172         java/security/interfaces/RSAPublicKey.java:
8173         Cleaned up imports.
8174
8175 2004-05-04  Michael Koch  <konqueror@gmx.de>
8176
8177         * java/nio/ByteBuffer.java,
8178         java/nio/CharBuffer.java,
8179         java/nio/DoubleBuffer.java,
8180         java/nio/FloatBuffer.java,
8181         java/nio/IntBuffer.java,
8182         java/nio/LongBuffer.java,
8183         java/nio/ShortBuffer.java:
8184         (compareTo): Fixed bogus implementation in all buffer classes.
8185
8186 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8187
8188         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8189         32 bit pixels not 8 bit pixels.
8190         (isCompatibleRaster): Added javadoc comment.
8191
8192 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8193
8194         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8195         scanline stride.
8196
8197 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8198
8199         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8200         (getColorModel): Return the actual color model.
8201         (getRaster): Implemented.
8202         (ColorRaster): New inner class.
8203         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8204         a PaintContext.
8205         * java/awt/Color.java (<init>): Make exception more verbose.
8206         (createContext): Use ColorModel when creating a PaintContext.
8207
8208 2004-05-04  Michael Koch  <konqueror@gmx.de>
8209
8210         * gnu/java/text/CharacterBreakIterator.java
8211         (previous): Removed unused variable.
8212
8213 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8214
8215         * gnu/java/text/FormatBuffer.java,
8216         gnu/java/text/AttributedFormatBuffer.java,
8217         gnu/java/text/StringFormatBuffer.java: New classes to implement
8218         attributed iterators in java.text.
8219         * gnu/java/text/FormatCharacterIterator.java: Moved 
8220         from java/text as it is an internal class.
8221         * java/text/FormatCharacterIterator.java: Removed.
8222         * java/text/Format.java:
8223         Import gnu.java.text.FormatCharacterIterator.
8224         * Makefile.am (java_source_files): Added new files.
8225         * Makefile.in: Regenerated.
8226         
8227
8228 2004-05-04  Mark Wielaard  <mark@klomp.org>
8229
8230         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8231
8232 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8233
8234         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8235         * Makefile.in: Rebuilt.
8236
8237 2004-05-03  Mark Wielaard  <mark@klomp.org>
8238
8239         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8240         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8241         * java/net/URL.java
8242         (set(String, String, int, String, String, String, String, String)):
8243         Assign this.file to path or path + "?" + query.
8244         * java/util/Arrays.java: Call static methods staticly.
8245         * java/util/zip/ZipEntry.java: Likewise.
8246         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8247         dir to this.direction.
8248         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8249         Assign static field only once.
8250         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8251
8252 2004-05-03  Mark Wielaard  <mark@klomp.org>
8253
8254         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8255         unused variables hScrollbarHeight and vScrollbarWidth.
8256         (preferredSize): Likewise.
8257         * gnu/java/security/provider/DSAParameters.java (engineToString):
8258         Removed unused call to System.getProperty("line.seperator");
8259         * java/security/Security.java (loadProviders): Return result.
8260
8261 2004-05-03  Tom Tromey  <tromey@redhat.com>
8262
8263         * java/net/URLStreamHandler.java (toExternalForm): Removed
8264         unused variables.
8265         unused constructor.
8266         * java/math/BigDecimal.java (divide): Removed unused variable.
8267         * java/lang/Throwable.java: Cleaned up imports.
8268         * java/lang/ClassLoader.java: Cleaned up imports.
8269         * java/io/FilePermission.java (implies): Removed unused
8270         variable.
8271         * java/awt/TextComponent.java: Removed unused import.
8272         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8273         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8274         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8275         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8276         import.
8277         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8278         * gnu/java/text/CharacterBreakIterator.java: Removed
8279         unused import.
8280         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8281         Cleaned up imports.
8282         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8283         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8284         unused method.
8285         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8286         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8287         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8288         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8289         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8290         (lookupProviders): Removed unused variable.
8291         (loadNextServiceProvider): Likewise.
8292         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8293
8294 2004-05-03  Michael Koch  <konqueror@gmx.de>
8295
8296         Fixes PR libgcj/14695:
8297         * java/net/NetworkInterface.java
8298         (getByName): Return null when no interface was found.
8299
8300 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8301             Tom Tromey  <tromey@redhat.com>
8302
8303         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8304         additional option "-Wmissing-prototypes" for compiling C sources.
8305         Print actual filename for pass/fail rather than $name.c.
8306         * testsuite/libjava.jni/PR15133.java: New testcase file.
8307         * testsuite/libjava.jni/PR15133.c: Likewise.
8308         * testsuite/libjava.jni/PR15133.out: Likewise.
8309
8310 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8311
8312         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8313         ceil and floor.
8314
8315 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8316         
8317         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8318         limit the maximum heap size to avoid unnecessary thrashing.
8319
8320 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8321
8322         * java/text/CollationElementIterator.java (reset): Reset
8323         lookahead variables.
8324
8325 2004-04-23  Mark Wielaard  <mark@klomp.org>
8326
8327         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8328
8329 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8330
8331         * java/sql/DriverManager.java:
8332         Cleaned up imports.
8333
8334 2004-04-23  Michael Koch  <konqueror@gmx.de>
8335
8336         * java/net/URL.java
8337         (hashcode): Don't initialize with default value explicitely.
8338         (getContent): Removed redundant "final" keyword.
8339         (openStream): Likewise.
8340         (getURLStreamHandler): Fixed coding style.
8341         * java/net/URLConnection.java
8342         (defaultAllowUserInteraction): Don't initialize with default value
8343         explicitely.
8344         (connected): Likewise.
8345         (doOutput): Likewise.
8346         (ifModifiedSince): Likewise.
8347         (dateformats_initialized): Likewise.
8348         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8349
8350 2004-04-23  Michael Koch  <konqueror@gmx.de>
8351
8352         * gnu/java/nio/channels/FileChannelImpl.java
8353         (SET, CUR): Unused, removed.
8354         (read): Implement here directly.
8355         (implRead): Removed.
8356         (write): Implement here directly.
8357         (implWrite): Removed.
8358
8359 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8360
8361         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8362         javax/rmi/CORBA/Stub.java,
8363         javax/rmi/CORBA/Util.java,
8364         javax/rmi/CORBA/ValueHandler.java,
8365         javax/rmi/CORBA/ValueHandler.java,
8366         javax/rmi/PortableRemoteObject.java:
8367         Cleaned up imports.
8368
8369 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8370
8371         * java/util/jar/JarFile.java,
8372         java/util/jar/JarInputStream.java,
8373         java/util/jar/JarOutputStream.java,
8374         java/util/jar/Manifest.java:
8375         Cleaned up imports.
8376
8377 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8378
8379         * java/util/ArrayList.java,
8380         java/util/Calendar.java,
8381         java/util/Currency.java,
8382         java/util/HashMap.java,
8383         java/util/HashSet.java,
8384         java/util/Hashtable.java,
8385         java/util/LinkedList.java,
8386         java/util/Properties.java,
8387         java/util/PropertyPermission.java,
8388         java/util/TimeZone.java,
8389         java/util/TreeMap.java,
8390         java/util/TreeSet.java,
8391         java/util/Vector.java,
8392         java/util/WeakHashMap.java:
8393         Cleaned up imports.
8394
8395 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8396
8397         * java/util/logging/FileHandler.java,
8398         java/util/logging/Formatter.java,
8399         java/util/logging/Handler.java,
8400         java/util/logging/Logger.java,
8401         java/util/logging/SimpleFormatter.java,
8402         java/util/logging/XMLFormatter.java:
8403         Cleaned up imports.
8404
8405 2004-04-22  Mark Wielaard  <mark@klomp.org>
8406
8407         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8408         -Wno-long-long flags variable.
8409         (gtk_c_files): Use PEDANTIC_CFLAGS.
8410         * Makefile.in: Regenerated.
8411
8412 2004-04-22  Mark Wielaard  <mark@klomp.org>
8413
8414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8415         Changed C++ comments into C comments.
8416         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8417         Likewise.
8418
8419 2004-04-22  Michael Koch  <konqueror@gmx.de>
8420
8421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8422         Merged copyright year with GNU classpath.
8423
8424 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8425
8426         * javax/security/auth/x500/X500Principal.java:
8427         Cleaned up imports.
8428
8429 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8430
8431         * javax/swing/JSlider.java:
8432         Fixed HTML tags in comments.
8433
8434 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8435
8436         * javax/accessibility/AccessibleText.java:
8437         Cleaned up imports.
8438
8439 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8440
8441         * java/net/URLStreamHandler.java
8442         (parseURL): Convert the file path to using '/' instead of native
8443         file separator.
8444
8445 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8446
8447         * java/net/URL.java
8448         (userInfo): New field.
8449         (URL): Set authority to the right value.
8450         (setURL): Fixed authority and file initialization.
8451         * java/net/URLStreamHandler.java
8452         (parseURL): Take care of the query tag. Build authority.
8453         (toExternalForm): Fixed URL building using authority.
8454
8455 2004-04-22  Michael Koch  <konqueror@gmx.de>
8456
8457         * java/net/Socket.java
8458         (impl): Made package-private.
8459         * java/net/ServerSocket.java
8460         (implAccept): Access Socket.impl field directly.
8461
8462 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8463
8464         * java/util/prefs/Preferences.java,
8465         java/util/prefs/InvalidPreferencesFormatException.java,
8466         java/util/prefs/BackingStoreException.java,
8467         java/util/prefs/AbstractPreferences.java:
8468         Cleaned up imports.
8469
8470 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8471
8472         * java/util/regex/Matcher.java,
8473         java/util/regex/Pattern.java:
8474         Cleaned up imports.
8475
8476 2004-04-22  Michael Koch  <konqueror@gmx.de>
8477
8478         * java/nio/charset/IllegalCharsetNameException.java
8479         (charsetName): Made private.
8480         (IllegalCharsetNameException): Added @param tag to javadoc.
8481         (getCharsetName): Added @return tag to javadoc.
8482         * java/nio/charset/MalformedInputException.java
8483         (MalformedInputException): Added @param tag to javadoc.
8484         (getInputLength): Revised method description, added @return tag.
8485         (getMessage): Added @return tag.
8486
8487 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8488
8489         * java/awt/Font.java (deriveFont): Implement missing variants.
8490         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8491         missing variants.
8492
8493 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8494
8495         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8496         Set method->index values for interface methods to their itable index.
8497         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8498
8499 2004-04-21  Michael Koch  <konqueror@gmx.de>
8500
8501         * java/nio/DirectByteBufferImpl.java
8502         (shiftDown): Made static, give address as argument and
8503         provide a convenience method that overwrites shiftDown in
8504         ByteBufferImpl and calls the native shiftDown.
8505         * java/nio/MappedByteBufferImpl.java
8506         (): Use optimized method in DirectByteBufferImpl.
8507         * java/nio/natDirectByteBufferImpl.cc
8508         (shiftDown): Changed method signature. Removed usage of array_offset.
8509
8510 2004-04-21  Michael Koch  <konqueror@gmx.de>
8511
8512         * gnu/java/net/natPlainSocketImplPosix.cc
8513         (SocketInputStream::read): Make sure returned data is a byte value.
8514
8515 2004-04-21  Michael Koch  <konqueror@gmx.de>
8516
8517         * gnu/classpath/ServiceFactory.java,
8518         gnu/classpath/ServiceProviderLoadingAction.java,
8519         javax/imageio/ImageReader.java,
8520         javax/imageio/ImageTranscoder.java,
8521         javax/imageio/ImageWriter.java,
8522         javax/imageio/package.html,
8523         javax/imageio/spi/IIOServiceProvider.java,
8524         javax/imageio/spi/ImageInputStreamSpi.java,
8525         javax/imageio/spi/ImageOutputStreamSpi.java,
8526         javax/imageio/spi/ImageReaderWriterSpi.java,
8527         javax/imageio/spi/ImageTranscoderSpi.java,
8528         javax/imageio/spi/RegisterableService.java,
8529         javax/imageio/spi/ServiceRegistry.java,
8530         javax/imageio/spi/package.html,
8531         javax/imageio/stream/IIOByteBuffer.java,
8532         javax/imageio/stream/ImageInputStream.java,
8533         javax/imageio/stream/ImageOutputStream.java,
8534         javax/imageio/stream/package.html:
8535         New files.
8536         * Makefile.am
8537         (ordinary_java_source_files): Added
8538         gnu/classpath/ServiceFactory.java and
8539         gnu/classpath/ServiceProviderLoadingAction.java.
8540         (javax_source_files): Added
8541         javax/imageio/ImageReader.java,
8542         javax/imageio/ImageTranscoder.java,
8543         javax/imageio/ImageWriter.java,
8544         javax/imageio/spi/IIOServiceProvider.java,
8545         javax/imageio/spi/ImageInputStreamSpi.java,
8546         javax/imageio/spi/ImageOutputStreamSpi.java,
8547         javax/imageio/spi/ImageReaderWriterSpi.java,
8548         javax/imageio/spi/ImageTranscoderSpi.java,
8549         javax/imageio/spi/RegisterableService.java,
8550         javax/imageio/spi/ServiceRegistry.java,
8551         javax/imageio/stream/IIOByteBuffer.java,
8552         javax/imageio/stream/ImageInputStream.java and
8553         javax/imageio/stream/ImageOutputStream.java.
8554         * Makefile.in: Regenerated.
8555
8556 2004-04-21  Michael Koch  <konqueror@gmx.de>
8557
8558         * java/util/Properties.java
8559         (load): Fix wrongly merged fix.
8560
8561 2004-04-21  Mark Wielaard  <mark@klomp.org>
8562
8563         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8564         malloc and free buf.
8565
8566 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8567
8568         * javax/naming/AuthenticationException.java,
8569         javax/naming/AuthenticationNotSupportedException.java,
8570         javax/naming/CannotProceedException.java,
8571         javax/naming/CommunicationException.java,
8572         javax/naming/CompoundName.java,
8573         javax/naming/ConfigurationException.java,
8574         javax/naming/ContextNotEmptyException.java,
8575         javax/naming/InitialContext.java,
8576         javax/naming/InsufficientResourcesException.java,
8577         javax/naming/InterruptedNamingException.java,
8578         javax/naming/LimitExceededException.java,
8579         javax/naming/LinkException.java,
8580         javax/naming/LinkLoopException.java,
8581         javax/naming/LinkRef.java,
8582         javax/naming/MalformedLinkException.java,
8583         javax/naming/Name.java,
8584         javax/naming/NameAlreadyBoundException.java,
8585         javax/naming/NameNotFoundException.java,
8586         javax/naming/NamingSecurityException.java,
8587         javax/naming/NoInitialContextException.java,
8588         javax/naming/NoPermissionException.java,
8589         javax/naming/NotContextException.java,
8590         javax/naming/PartialResultException.java,
8591         javax/naming/ReferralException.java,
8592         javax/naming/ServiceUnavailableException.java,
8593         javax/naming/SizeLimitExceededException.java,
8594         javax/naming/TimeLimitExceededException.java,
8595         javax/naming/directory/Attribute.java,
8596         javax/naming/directory/Attributes.java,
8597         javax/naming/directory/SearchResult.java,
8598         javax/naming/event/NamingExceptionEvent.java,
8599         javax/naming/spi/ResolveResult.java:
8600         Cleaned up imports.
8601
8602 2004-04-21  Mark Wielaard  <mark@klomp.org>
8603
8604         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8605         Changed C++ comments into C comments. Removed commented out code.
8606         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8607         Likewise.
8608         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8609         Likewise.
8610         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8611         Likewise.
8612         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8613         Likewise.
8614         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8615         Likewise.
8616         * native/jni/gtk-peer/gthread-jni.c:
8617         Likewise.
8618
8619 2004-04-21  Mark Wielaard  <mark@klomp.org>
8620
8621         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8622         static fields defined in interface.
8623         * javax/awt/JDialog.java: Likewise.
8624         (JDialog): Make constructors public.
8625         (getDefaultCloseOperation): Make public.
8626         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8627         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8628         * javax/swing/JViewport.java (JViewport): Make constructor public.
8629
8630 2004-04-21  Michael Koch  <konqueror@gmx.de>
8631
8632         * java/util/Map.java
8633         (Entry): Removed redundant "static" modifier.
8634         * java/text/AttributedCharacterIterator.java:
8635         Updated copyright year.
8636
8637 2004-04-20  Michael Koch  <konqueror@gmx.de>
8638
8639         * javax/naming/directory/SearchControls.java:
8640         Don't explicitely extend java.lang.Object.
8641         * javax/naming/spi/DirStateFactory.java:
8642         Merged copyright year with GNU classpath.
8643
8644 2004-04-20  Michael Koch  <konqueror@gmx.de>
8645
8646         * java/nio/channels/Channels.java:
8647         Merged coding style with GNU classpath.
8648
8649 2004-04-20  Michael Koch  <konqueror@gmx.de>
8650
8651         * java/net/ServerSocket.java
8652         Merged coding style from GNU classpath.
8653
8654 2004-04-20  Michael Koch  <konqueror@gmx.de>
8655
8656         * java/io/BufferedWriter.java:
8657         Reordered variables to be at top of the class.
8658         (localFlush): Removed redundant final keyword.
8659
8660 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8661
8662         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8663
8664 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8665
8666         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8667         for percent and permill check.
8668
8669 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8670
8671         * java/text/FieldPosition.java
8672         (FieldPosition) Constructor now behaves as it should according
8673         to the java documentation.
8674
8675 2004-04-20  Mark Wielaard  <mark@klomp.org>
8676
8677         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8678         documentation.
8679
8680 2004-04-20  Michael Koch  <konqueror@gmx.de>
8681
8682         * java/nio/Buffer.java,
8683         java/nio/channels/AlreadyConnectedException.java,
8684         java/nio/channels/AsynchronousCloseException.java,
8685         java/nio/channels/ByteChannel.java,
8686         java/nio/channels/CancelledKeyException.java,
8687         java/nio/channels/Channel.java,
8688         java/nio/channels/Channels.java,
8689         java/nio/channels/ClosedByInterruptException.java,
8690         java/nio/channels/ClosedChannelException.java,
8691         java/nio/channels/ClosedSelectorException.java,
8692         java/nio/channels/ConnectionPendingException.java,
8693         java/nio/channels/DatagramChannel.java,
8694         java/nio/channels/FileChannel.java,
8695         java/nio/channels/FileLock.java,
8696         java/nio/channels/FileLockInterruptionException.java,
8697         java/nio/channels/GatheringByteChannel.java,
8698         java/nio/channels/IllegalBlockingModeException.java,
8699         java/nio/channels/IllegalSelectorException.java,
8700         java/nio/channels/InterruptibleChannel.java,
8701         java/nio/channels/NoConnectionPendingException.java,
8702         java/nio/channels/NonReadableChannelException.java,
8703         java/nio/channels/NonWritableChannelException.java,
8704         java/nio/channels/NotYetBoundException.java,
8705         java/nio/channels/NotYetConnectedException.java,
8706         java/nio/channels/OverlappingFileLockException.java,
8707         java/nio/channels/Pipe.java,
8708         java/nio/channels/ReadableByteChannel.java,
8709         java/nio/channels/ScatteringByteChannel.java,
8710         java/nio/channels/SelectableChannel.java,
8711         java/nio/channels/SelectionKey.java,
8712         java/nio/channels/Selector.java,
8713         java/nio/channels/ServerSocketChannel.java,
8714         java/nio/channels/SocketChannel.java,
8715         java/nio/channels/UnresolvedAddressException.java,
8716         java/nio/channels/UnsupportedAddressTypeException.java,
8717         java/nio/channels/WritableByteChannel.java,
8718         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8719         java/nio/channels/spi/AbstractSelectableChannel.java,
8720         java/nio/channels/spi/AbstractSelectionKey.java,
8721         java/nio/channels/spi/AbstractSelector.java,
8722         java/nio/channels/spi/SelectorProvider.java,
8723         java/nio/charset/spi/CharsetProvider.java:
8724         Fixed javadocs and jalopied all over java.nio.
8725
8726 2004-04-20  Michael Koch  <konqueror@gmx.de>
8727
8728         * java/nio/ByteBufferImpl.java,
8729         java/nio/CharBufferImpl.java,
8730         java/nio/DirectByteBufferImpl.java,
8731         java/nio/DoubleBufferImpl.java,
8732         java/nio/DoubleViewBufferImpl.java,
8733         java/nio/FloatBufferImpl.java,
8734         java/nio/FloatViewBufferImpl.java,
8735         java/nio/IntBufferImpl.java,
8736         java/nio/IntViewBufferImpl.java,
8737         java/nio/LongBufferImpl.java,
8738         java/nio/LongViewBufferImpl.java,
8739         java/nio/MappedByteBufferImpl.java,
8740         java/nio/ShortBufferImpl.java,
8741         java/nio/ShortViewBufferImpl.java:
8742         Made sure all classes are final and removed final keyword from all
8743         methods.
8744
8745 2004-04-20  Michael Koch  <konqueror@gmx.de>
8746
8747         * java/rmi/MarshalledObject.java,
8748         java/rmi/Naming.java,
8749         java/rmi/RemoteException.java,
8750         java/rmi/activation/ActivationException.java,
8751         java/rmi/server/ServerCloneException.java,
8752         java/security/AccessController.java,
8753         java/security/AlgorithmParameterGenerator.java,
8754         java/security/AlgorithmParameters.java,
8755         java/security/CodeSource.java,
8756         java/security/Identity.java,
8757         java/security/IdentityScope.java,
8758         java/security/KeyPairGenerator.java,
8759         java/security/KeyStore.java,
8760         java/security/Security.java,
8761         java/security/Signature.java,
8762         java/security/SignatureSpi.java,
8763         java/security/SignedObject.java,
8764         java/security/spec/DSAParameterSpec.java,
8765         java/security/spec/DSAPrivateKeySpec.java,
8766         java/security/spec/DSAPublicKeySpec.java,
8767         java/sql/Array.java,
8768         java/sql/DatabaseMetaData.java,
8769         java/sql/ResultSet.java,
8770         java/text/ChoiceFormat.java,
8771         java/text/CollationElementIterator.java,
8772         java/text/CollationKey.java,
8773         java/text/Collator.java,
8774         java/text/DateFormat.java,
8775         java/text/DateFormatSymbols.java,
8776         java/text/DecimalFormatSymbols.java,
8777         java/text/Format.java,
8778         java/text/ParsePosition.java,
8779         java/text/RuleBasedCollator.java,
8780         java/text/SimpleDateFormat.java,
8781         java/text/StringCharacterIterator.java,
8782         java/util/Collections.java,
8783         java/util/PropertyResourceBundle.java,
8784         java/util/ResourceBundle.java,
8785         java/util/StringTokenizer.java,
8786         java/util/jar/Attributes.java,
8787         java/util/logging/ConsoleHandler.java,
8788         java/util/logging/LogManager.java,
8789         java/util/logging/MemoryHandler.java,
8790         java/util/logging/SocketHandler.java,
8791         javax/naming/NamingException.java:
8792         Fixed javadoc, coding style and argument names all over.
8793
8794 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8795
8796         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8797         constructor. (valid) Added null check.
8798
8799 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8800
8801         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8802         * java/io/FileOutputStream.java
8803         (FileOutputStream) Reorganized constructors. Constructors now
8804         check whether the given path is directory.
8805
8806 2004-04-20  Michael Koch  <konqueror@gmx.de>
8807
8808         * java/net/Authenticator.java,
8809         java/net/BindException.java,
8810         java/net/ConnectException.java,
8811         java/net/ContentHandler.java,
8812         java/net/ContentHandlerFactory.java,
8813         java/net/DatagramPacket.java,
8814         java/net/DatagramSocket.java,
8815         java/net/DatagramSocketImpl.java,
8816         java/net/DatagramSocketImplFactory.java,
8817         java/net/FileNameMap.java,
8818         java/net/HttpURLConnection.java,
8819         java/net/Inet4Address.java,
8820         java/net/Inet6Address.java,
8821         java/net/InetAddress.java,
8822         java/net/InetSocketAddress.java,
8823         java/net/JarURLConnection.java,
8824         java/net/MalformedURLException.java,
8825         java/net/MulticastSocket.java,
8826         java/net/NetPermission.java,
8827         java/net/NetworkInterface.java,
8828         java/net/NoRouteToHostException.java,
8829         java/net/PasswordAuthentication.java,
8830         java/net/PortUnreachableException.java,
8831         java/net/ProtocolException.java,
8832         java/net/ServerSocket.java,
8833         java/net/Socket.java,
8834         java/net/SocketAddress.java,
8835         java/net/SocketException.java,
8836         java/net/SocketImpl.java,
8837         java/net/SocketImplFactory.java,
8838         java/net/SocketOptions.java,
8839         java/net/SocketPermission.java,
8840         java/net/SocketTimeoutException.java,
8841         java/net/URI.java,
8842         java/net/URISyntaxException.java,
8843         java/net/URL.java,
8844         java/net/URLClassLoader.java,
8845         java/net/URLConnection.java,
8846         java/net/URLDecoder.java,
8847         java/net/URLEncoder.java,
8848         java/net/URLStreamHandler.java,
8849         java/net/URLStreamHandlerFactory.java,
8850         java/net/UnknownHostException.java,
8851         java/net/UnknownServiceException.java:
8852         Fixed javadocs, coding style and argument names all over.
8853
8854 2004-04-20  Michael Koch  <konqueror@gmx.de>
8855
8856         * java/lang/Byte.java,
8857         java/lang/CharSequence.java,
8858         java/lang/ClassLoader.java,
8859         java/lang/Compiler.java,
8860         java/lang/Double.java,
8861         java/lang/Float.java,
8862         java/lang/Integer.java,
8863         java/lang/Long.java,
8864         java/lang/Math.java,
8865         java/lang/Number.java,
8866         java/lang/Package.java,
8867         java/lang/Runtime.java,
8868         java/lang/RuntimePermission.java,
8869         java/lang/SecurityManager.java,
8870         java/lang/Short.java,
8871         java/lang/StringBuffer.java,
8872         java/lang/System.java,
8873         java/lang/ThreadGroup.java,
8874         java/lang/Throwable.java,
8875         java/lang/reflect/InvocationHandler.java,
8876         java/lang/reflect/Proxy.java:
8877         Fixed javadocs, coding style and argument names all over.
8878
8879 2004-04-20  Michael Koch  <konqueror@gmx.de>
8880
8881         * java/io/BufferedWriter.java,
8882         java/io/ByteArrayInputStream.java,
8883         java/io/CharArrayWriter.java,
8884         java/io/DataInput.java,
8885         java/io/DataInputStream.java,
8886         java/io/File.java,
8887         java/io/FilterInputStream.java,
8888         java/io/InputStream.java,
8889         java/io/InputStreamReader.java,
8890         java/io/ObjectInputStream.java,
8891         java/io/ObjectStreamClass.java,
8892         java/io/PipedInputStream.java,
8893         java/io/PipedReader.java,
8894         java/io/PushbackInputStream.java,
8895         java/io/PushbackReader.java,
8896         java/io/RandomAccessFile.java,
8897         java/io/SerializablePermission.java,
8898         java/io/StreamTokenizer.java,
8899         java/io/StringWriter.java,
8900         java/io/WriteAbortedException.java,
8901         java/io/Writer.java:
8902         Fixed javadocs all over, rename arguments to match javadocs,
8903         fixed coding style.
8904
8905 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8906
8907         * java/awt/FontMetrics.java:
8908         (charsWidth): fixed accumulation of total_width
8909         (getWidth): simple default implementation
8910         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8911         in Rectangle constructor.
8912         * java/awt/image/Raster.java (toString): Added method. 
8913         * java/awt/image/SampleModel.java (<init>): Added error cause
8914         information to thrown exception.
8915         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8916         New method.
8917         (setDataElements): New method.
8918         (setPixels): New method.
8919         (toString): New method.
8920
8921 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8922
8923         * java/awt/image/ComponentColorModel.java
8924         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8925         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8926         Mauve tests on this method. Improved documentation.
8927
8928 2004-04-20  Michael Koch  <konqueror@gmx.de>
8929
8930         * javax/swing/JLayeredPane.java,
8931         javax/swing/plaf/BorderUIResource.java,
8932         javax/swing/plaf/ComponentUI.java,
8933         javax/swing/undo/CompoundEdit.java,
8934         javax/swing/undo/StateEdit.java:
8935         Fixed HTML tags in javadocs all over.
8936
8937 2004-04-20  Michael Koch  <konqueror@gmx.de>
8938
8939         * javax/print/attribute/EnumSyntax.java
8940         (getOffset): Made protected.
8941         * javax/print/attribute/HashAttributeSet.java
8942         (HashAttributeSet): Likewise.
8943         * javax/print/attribute/ResolutionSyntax.java
8944         (getFeedResolution): Fixed typo in exception name.
8945         (getCrossFeedResolution): Likewise.
8946         * javax/print/attribute/SetOfIntegerSyntax.java
8947         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8948         * javax/print/attribute/TextSyntax.java
8949         (TextSyntax): Handle locale correctly.
8950         (hashCode): Calc better hashcode value.
8951         (equals): Fixed @return tag.
8952         (toString): New method.
8953
8954 2004-04-20  Michael Koch  <konqueror@gmx.de>
8955
8956         * gnu/java/nio/FileLockImpl.java
8957         (static): Removed, not needed anymore.
8958         * gnu/java/nio/channels/FileChannelImpl.java
8959         (FileChannelImpl): Made final.
8960         (mode): Made private.
8961         (READ, WRITE, APPEND): Made public.
8962         (EXCL, SYNC, DSYNC): Likewise.
8963         (static): Load native JNI library, when needed.
8964         (length): Unused, removed.
8965         (available): Made public.
8966         (implPosition): Throws IOException.
8967         (seek): Likewise.
8968         (implTruncate): Likewise.
8969         (unlock): Likewise.
8970         (lock): Likewise.
8971
8972 2004-04-20  Michael Koch  <konqueror@gmx.de>
8973
8974         * java/awt/AWTPermission.java,
8975         java/awt/Component.java,
8976         java/awt/ComponentOrientation.java,,
8977         java/awt/Dialog.java,
8978         java/awt/FontMetrics.java,
8979         java/awt/Graphics.java,
8980         java/awt/datatransfer/DataFlavor.java,
8981         java/beans/Introspector.java,
8982         java/beans/PropertyEditor.java,
8983         java/beans/PropertyEditorManager.java,
8984         java/beans/beancontext/BeanContextServiceProvider.java:
8985         Fixed HTML tags in javadocs all over.
8986
8987 2004-04-20  Mark Wielaard  <mark@klomp.org>
8988
8989         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8990         MissingResourceException is thrown.
8991         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8992         null when a MissingResourceException is thrown. Should never happen.
8993
8994 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8995
8996         * java/awt/image/DataBufferShort.java,
8997         java/awt/image/DataBufferFloat.java,
8998         java/awt/image/DataBufferDouble.java,
8999         java/awt/image/PixelInterleavedSampleModel.java: New files.
9000         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9001         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9002
9003 2004-04-20  Michael Koch  <konqueror@gmx.de>
9004
9005         * Makefile.am (java_source_files): Added
9006         java/awt/image/DataBufferDouble.java,
9007         java/awt/image/DataBufferFloat.java,
9008         java/awt/image/DataBufferShort.java and
9009         java/awt/image/PixelInterleavedSampleModel.java.
9010         * Makefile.in: Regenerated.
9011
9012 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
9013  
9014         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
9015         undocumented CNI calls.
9016         * include/java-interp.h (_Jv_InterpClass): No longer
9017         extends java.lang.Class.
9018         * java/lang/Class.h (Class): Add new field `aux_info'.
9019         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9020         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9021         Use Class->aux_info instead.
9022         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9023         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9024         Use Class->aux_info instead.
9025         * java/io/natObjectInputStream.cc (allocateObject): Use
9026         _Jv_AllocObject.
9027         * java/lang/natClass.cc (newInstance): Likewise.
9028         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9029         * java/lang/natObject.cc (clone): Likewise.
9030         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9031         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9032         JvAllocObject. Allocate klass->aux_info here for interpreted
9033         class.
9034         
9035 2004-04-17  Mark Wielaard  <mark@klomp.org>
9036
9037         * javax/swing/JToggleButton.java (ToggleButtonModel):
9038         Make public static inner class.
9039         * javax/swing/JTabbedPane.java (setComponentAt):
9040         Call Page.setComponent().
9041         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9042         (WRAP_TAB_LAYOUT): Make public, value is 0.
9043         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9044         Make private static inner class.
9045
9046 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9047
9048         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9049         arguments to match new signature. Remove FIXME comments.
9050
9051 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9052
9053         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9054         Remove method.
9055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9056         unused code.
9057
9058 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9059
9060         * Makefile.am: Added new file.
9061         * Makefile.in: Regenerate.
9062         * javax/swing/ImageIcon.java: 
9063         (ImageIcon(file)): set description of the icon 
9064         to the file name
9065         * javax/swing/JCheckBoxMenuItem.java:
9066         Mostly Implemented. Work in progress.
9067         * javax/swing/JRadioButtonMenuItem.java:
9068         Reimplement constructors to use JToggleButtonModel.
9069         * javax/swing/plaf/basic/BasicIconFactory.java:
9070         (getCheckBoxMenuItemIcon): return check box
9071         icon.
9072         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9073         paint menu item selected only when it is armed and 
9074         pressed. 
9075  
9076 2004-04-02  David Jee  <djee@redhat.com>
9077
9078         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9079         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9080         * java/awt/Component.java
9081         (add): Set the parent of the popup as this component.
9082         * java/awt/PopupMenu.java
9083         (addNotify): Create popup menu when peer is null.
9084         (show): Call addNotify() if peer is null.
9085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9086         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9087         argument for gtk_menu_popup() as zero. This causes the popup menu to
9088         respond to any mouse button.
9089
9090 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9091
9092         * Makefile.am: Added new file.
9093         * Makefile.in: Regenerate.
9094         * javax/swing/JRadioButtonMenuItem.java:
9095         Implemented.
9096         * javax/swing/plaf/basic/BasicIconFactory.java:
9097         (getRadioButtonMenuItemIcon): Return
9098         radio button icon.
9099         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9100         (getPreferredSize): Add size of checkIcon if it
9101         exists.
9102         (installDefaults): Don't initialize checkIcon.
9103         It's value will be set in subclasses. 
9104         (uninstallDefaults): remove uninstallation of 
9105         checkIcon.
9106         (paint): Moved code to paintMenuItem().
9107         (paintMenuItem): Implemented.
9108         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9109         UI delegate for JRadioButtonMenuItem.
9110         
9111 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9112
9113         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9114         Corrected position of the accelerator.
9115
9116 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9117
9118         * Makefile.am: Added new file. 
9119         * Makefile.in: Regenerate.
9120         * javax/swing/JMenuItem.java: Partly 
9121         implemented. Work in progress
9122         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9123         Changed default value of acceleratorDelimiter.
9124         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9125         New class. Partly implemented.
9126                 
9127 2004-03-26  Mark Wielaard  <mark@klomp.org>
9128
9129         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9130         (item_activate): Declare label before use.
9131         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9132         (gtkSetFont): Removed unused variable label.
9133         (addExposeFilter): Declare variables before use.
9134         (removeExposeFilter): Likewise.
9135         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9136         (ok_clicked): Declare str_fileName before use.
9137
9138 2004-03-26  David Jee  <djee@redhat.com>
9139
9140         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9141         (addSeparator): Remove.
9142         * java/awt/Menu.java
9143         (separator): Remove static final MenuItem field.
9144         (separatorLabel): New static final String field.
9145         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9146         Use separatorLabel to denote that it is a separator.
9147         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9148         of reusing the static separator instance, because a MenuItem instance
9149         can't be added more than once without being cloned.
9150         * java/awt/peer/MenuPeer.java
9151         (addSeparator): Remove from interface.
9152
9153 2004-03-26  David Jee  <djee@redhat.com>
9154
9155         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9156         (connectSignals): New native method declaration.
9157         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9158         * java/awt/MenuItem.java
9159         (getActionCommand): Return the label if the action command is not set.
9160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9161         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9162         gtk_menu_shell_append().
9163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9164         (item_activate): Fix argument type.
9165         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9166         signal here.
9167         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9168         method.
9169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9170         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9171         given. Add the menu widget's top-level GtkWindow to the global window
9172         group, so it can grab the pointer.
9173         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9174         gtk_menu_shell_append().
9175
9176 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9177
9178         * java/text/AttributedString.java 
9179         (addAttribute): Fix off-by-one.
9180         (getIterator): Likewise.        
9181         * java/text/AttributedStringIterator.java 
9182         (getRunLimit): Correct logic.
9183         (getRunStart): Likewise.
9184         (getAttribute): Fix inequality.
9185         (getAttributes): Likewise.
9186         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9187
9188 2004-03-23  Kim Ho  <kho@redhat.com>
9189
9190         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9191         (calculateSizes): Return real width and height.
9192
9193 2004-03-23  Kim Ho  <kho@redhat.com>
9194
9195         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9196         (calculateTabRects): Set the selectedRun before
9197         trying to rotate tabs.
9198
9199 2004-03-23  Kim Ho  <kho@redhat.com>
9200
9201         * Makefile.am: New file
9202         * Makefile.in: Regenerate
9203         * java/awt/Graphics.java: (drawRect):
9204         Draw to the correct point.
9205         * javax/swing/DefaultSingleSelectionModel.java
9206         (isSelected): Return true if the selected index
9207         is not -1.
9208         * javax/swing/JLabel.java: Do not change mnemonic
9209         index if text is null.
9210         * javax/swing/JProgressBar.java: Use JComponent's
9211         EventListenerList.
9212         * javax/swing/JScrollBar.java: Ditto.
9213         * javax/swing/JSlider.java: Ditto.
9214         * javax/swing/JTabbedPane.java: Reimplement.
9215         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9216         Add defaults for TabbedPane.
9217         * javax/swing/plaf/basic/BasicArrowButton.java:
9218         Implement
9219         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9220         (paintDeterminate): Don't paint String if it's
9221         empty.
9222         (paintIndeterminate): ditto.
9223         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9224         Reimplement.
9225
9226 2004-03-19  Michael Koch  <konqueror@gmx.de>
9227
9228         * java/awt/image/AffineTransformOp.java
9229         (AffineTransformOp): Made public.
9230         * javax/swing/JComponent.java
9231         (listenerList): Made protected.
9232         (accessibleContext): Likewise.
9233         * javax/swing/JList.java
9234         (valueChanged): Dont use internal fields of ListSelectionEvent.
9235         * javax/swing/JViewport.java
9236         (getView): Dont use internal fields of Component.
9237         (addImpl): Likewise.
9238         * javax/swing/Timer.java
9239         (isRunning): Made public.
9240         (start): Likewise.
9241         (stop): Likewise.
9242         * javax/swing/UIDefaults.java
9243         (getInt): Made public.
9244         * javax/swing/plaf/basic/BasicListUI.java
9245         (mousePressed): Dont use internal fields of MouseEvent.
9246         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9247         * javax/swing/plaf/basic/BasicScrollBarUI.java
9248         (arrowIcon): Made static.
9249         * javax/swing/plaf/basic/BasicViewportUI.java
9250         (stateChanged): Dont use internal field on ChangeEvent.
9251         * javax/swing/text/JTextComponent.java
9252         (getUI): Call UIManager.getUI().
9253         (updateUI): Use getUI().
9254
9255 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9256
9257         * javax/swing/JComponent.java: Turn off double buffer by default.
9258         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9260         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9261         Use cairo to copy areas.
9262         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9263         Initialize and set clip region.
9264
9265 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9266
9267         * java/applet/Applet.java (preferredSize): Override deprecated
9268         variant of getPreferredSize.
9269         (minimumSize): Override deprecated variant of getMinimumSize.
9270
9271 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9272
9273         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9274         (drawImage(img,xform,bgcolor,obs)): New Method.
9275         Helper function that every drawImage method will
9276         use.
9277         (drawRaster): Added new parameter, bgcolor. All
9278         transparent pixels are changed to bgcolor before 
9279         image is drawn.
9280         (drawRenderedImage): Fixed to use changed drawRaster().
9281         (drawImage(image,xform,obs): Fixed to use new helper function 
9282         (drawImage(image,op,x,y)): Ditto.
9283         (drawImage (img,x,y,observer)): Ditto.
9284         ((PainterThread) bgcolor): New Field.
9285         ((PainterThread) (setPixels)): Changed all transparent pixels 
9286         to bgcolor.     
9287         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9288         Fixed FIXME - all the transparent pixels are 
9289         changed to the specified bgcolor. 
9290         (drawImage(img, x, y, width, height, observer): Changed to 
9291         use function above.
9292         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9293         Fixed FIXME- changed all transparent pixels to bgcolor.
9294         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9295         Changed to use function above. 
9296
9297 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9298
9299         * java/applet/Applet.java (dimensions): New field.
9300         (getDimensions): New method.
9301         (getPreferredSize): Call getDimensions.
9302         (getMinimumSize): Likewise.
9303
9304 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9305
9306         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9307         * jni/classpath/jnilink.c: Likewise.
9308
9309         * java/applet/Applet.java (getPreferredSize): New method.
9310         (getMinimumSize): New method.
9311
9312 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9313
9314         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9315         (_Jv_AllocObjectNoFinalizer): Likewise.
9316         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9317         (_Jv_AllocPtrFreeObject): Likewise.
9318         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9319         directly even in the JVMPI case.        
9320         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9321         _Jv_AllocObject calls.
9322         * gcj/javaprims.h: Update prototypes.
9323         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9324         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9325         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9326
9327 2004-04-14  Andrew Haley  <aph@redhat.com>
9328             Bryce McKinlay  <mckinlay@redhat.com>
9329
9330         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9331         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9332         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9333
9334         * testsuite/libjava.lang/InvokeInterface.java: New file.
9335         * testsuite/libjava.lang/InvokeInterface.out: New file.
9336
9337 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9338         
9339         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9340         modified lookup().
9341         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9342         StackTraceElement directly.
9343         (newElement): New native helper method to create StackTraceElement
9344         bypassing Java access control.
9345         (createStackTraceElement): Use newElement() instead of directly
9346         calling StackTraceElement's constructor.
9347         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9348
9349 2004-04-01  Michael Koch  <konqueror@gmx.de>
9350
9351         * java/lang/SecurityManager.java
9352         (checkAwtEventQueueAccess): Implemented.
9353
9354 2004-04-01  Gary Benson  <gbenson@redhat.com>
9355
9356         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9357         (_Jv_SearchMethodInClass): Likewise.
9358
9359 2004-03-26  Peter Moon  <peterm@miraculum.com>
9360
9361         * java/text/NumberFormat.java: Fix spelling of setCurrency
9362         method.
9363
9364 2004-03-21  Anthony Green  <green@redhat.com>
9365
9366         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9367         recursion when searching for the system ClassLoader.
9368
9369 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9370
9371         * java/net/ServerSocket.java
9372         (accept): Close the socket when error occured.
9373
9374 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9375
9376         * java/net/URI.java (parseURI): Added unquoting.
9377         (unquote): New method.
9378         (quoteAuthority): Implemented.
9379         (quote(String,String)): New method.
9380         (quotePath): Implemented.
9381         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9382         (getSchemeSpecificPart): Removed FIXME comment.
9383         (getRawAuthority): Return new rawAuthority field.
9384         (getAuthority): Removed FIXME comment.
9385         (getRawUserInfo): Return new rawUserInfo field.
9386         (getUserInfo): Removed FIXME comment.
9387         (getRawPath): Return new rawPath field.
9388         (getPath): Removed FIXME comment.
9389         (getRawQuery): Return new rawQuery field.
9390         (getQuery): Removed FIXME comment.
9391         (getRawFragment): Return new rawFragment field.
9392         (getFragment): Removed FIXME comment.
9393
9394 2004-03-20  Michael Koch  <konqueror@gmx.de>
9395
9396         * java/net/URLConnection.java: Merged copyright year with classpath.
9397
9398 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9399
9400         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9401         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9402         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9403         rmi-message.
9404         (getObjectInputStream): Return object reference, throw IOException if null.
9405         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9406         (getObjectOutputStream): Return object reference, throw IOException if null.
9407         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9408         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9409         (UnicastConnectionManager): Throw RemoteException if port is not available.
9410         (getInstance): Throw RemoteException.
9411         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9412         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9413         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9414         Collect Exceptions which are returned by a rmi-call and fix void returns.
9415         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9416         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9417         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9418         (dispatch): Answer ping messages which are sent by other java implementions.
9419         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9420         for every rmi-message and fix void return problems.
9421         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9422         (UnicastServerRef): Throw RemoteException.
9423         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9424         In some situations it is necessary to export a subclass of the class which has the _Stub.
9425         For instance when the class with has the _Stub is abstract.
9426         (findStubSkelClass): New method which looks for the class which has the _Stub.
9427         (getClientHost): Implementated.
9428         * gcc/libjava/java/rmi/server/RemoteServer.java
9429         (getClientHost): Implementated.
9430         * gcc/libjava/Makefile.am (rmi_java_source_files):
9431         Added gnu/java/rmi/server/RMIIncomingThread.java.
9432         * Makefile.in: Regenerated.
9433
9434 2004-03-20  Michael Koch  <konqueror@gmx.de>
9435
9436         * java/net/InetAddress.java
9437         (getLocalHostname): Added javadoc.
9438
9439 2004-03-19  Per Bothner  <per@bothner.com>
9440
9441         * configure.in: FILE variable  overrides FLATFORM when linking
9442         natFileChannelXXX.cc.
9443
9444         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9445         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9446
9447 2004-03-19  Per Bothner  <per@bothner.com>
9448
9449         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9450         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9451         * Makefile.am:  Update accordingly.
9452         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9453         as aliases for UnicodeLittle and UnicodeBig.
9454
9455 2004-03-20  Mark Wielaard  <mark@klomp.org>
9456
9457         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9458         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9459         Don't access ws when it is null.
9460         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9461         Likewise.
9462
9463 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9464
9465         * java/lang/ThreadGroup.java (list): Changed print to println.
9466
9467 2004-03-19  Mark Wielaard  <mark@klomp.org>
9468
9469         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9470         happy.
9471
9472 2004-02-10  Randolph Chung  <tausq@debian.org>
9473  
9474         * configure.in: Build java for hppa target.
9475         * configure: Regenerate.
9476         * libjava/configure.host (hppa-*): Add target.
9477         * libjava/sysdeps/pa/lock.h: New file.
9478
9479 2004-03-19  Mark Wielaard  <mark@klomp.org>
9480
9481         Reported by Stephen Crawley
9482         * java/io/FilePermission.java (implies): Use String.length() -1 to
9483         access last char of String.
9484
9485 2004-03-19  Michael Koch  <konqueror@gmx.de>
9486
9487         * java/awt/image/AffineTransformOp.java
9488         (AffineTransformOp): Made public.
9489         * javax/swing/JComponent.java
9490         (listenerList): Made protected.
9491         (accessibleContext): Likewise.
9492         * javax/swing/JList.java
9493         (valueChanged): Dont use internal fields of ListSelectionEvent.
9494         * javax/swing/JViewport.java
9495         (getView): Dont use internal fields of Component.
9496         (addImpl): Likewise.
9497         * javax/swing/Timer.java
9498         (isRunning): Made public.
9499         (start): Likewise.
9500         (stop): Likewise.
9501         * javax/swing/UIDefaults.java
9502         (getInt): Made public.
9503         * javax/swing/plaf/basic/BasicListUI.java
9504         (mousePressed): Dont use internal fields of MouseEvent.
9505         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9506         * javax/swing/plaf/basic/BasicScrollBarUI.java
9507         (arrowIcon): Made static.
9508         * javax/swing/plaf/basic/BasicViewportUI.java
9509         (stateChanged): Dont use internal field on ChangeEvent.
9510         * javax/swing/text/JTextComponent.java
9511         (getUI): Call UIManager.getUI().
9512         (updateUI): Use getUI().
9513
9514 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9515
9516         * verify.cc: Undef PC.
9517
9518 2004-03-18  Michael Koch  <konqueror@gmx.de>
9519
9520         * java/nio/channels/spi/AbstractSelectableChannel.java
9521         (keys): Initialize at declaration.
9522         (locate): keys cant be null.
9523         (add): Removed.
9524         (addSelectionKey): New method.
9525         (removeSelectionKey): New method.
9526         * java/nio/channels/spi/AbstractSelectionKey.java
9527         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9528         * java/nio/channels/spi/AbstractSelector.java
9529         (provider): Javadoc added.
9530         (cancelledKeys): Javadoc added.
9531         (cancelKey): Javadoc added, add key to cancelledKeys.
9532         (deregister): Implemented.
9533
9534 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9535
9536         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9537         MAP_FAILED to void *.
9538
9539 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9540
9541         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9542         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9543         * javax/swing/JList.java (ListListener): Revalidate on changes.
9544         * javax/swing/JScrollPane.java: Reimplement.
9545         * javax/swing/JViewport.java: Reimplement.
9546         * javax/swing/ScrollPaneLayout.java: Reimplement.
9547         * javax/swing/ViewportLayout.java: Tidy up.
9548         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9549         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9550         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9551         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9552         backing store only.
9553
9554 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9555
9556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9557         (window_wm_protocols_filter): New function.
9558         (window_focus_in_cb): Remove function.
9559         (window_focus_out_cb): Likewise.
9560         (window_focus_or_active_state_change_cb): New function.
9561         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9562         (connectSignals): Don't attach handlers to focus-in-event or
9563         focus-out-event signals.  Handle notify signal.
9564
9565 2004-03-11  David Jee  <djee@redhat.com>
9566
9567         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9568         (gtkSetLabel): New native method declaration.
9569         (setLabel): Use gtkSetLabel.
9570         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9571         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9572
9573 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9574
9575         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9576         black when color argument is null.
9577
9578 2004-03-10  Kim Ho  <kho@redhat.com>
9579
9580         * java/awt/Container.java: Remove check
9581         for drag events.
9582
9583 2004-03-10  Kim Ho  <kho@redhat.com>
9584
9585         * java/awt/Container.java: (visitChild):
9586         Remove candidate clip. Use the component
9587         clip to intersect.
9588         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9589         (handleEvent): Use the PaintEvent's clip.
9590
9591 2004-03-10  Kim Ho  <kho@redhat.com>
9592
9593         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9594         (handleEvent): Don't set the clip for the
9595         Graphics object.
9596
9597 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9598
9599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9600         Fix double <-> fixed macros, reset font transform.
9601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9602         Likewise.
9603
9604 2004-03-09  Kim Ho  <kho@redhat.com>
9605
9606         * java/awt/Container.java: (visitChild): Move
9607         the x and y coordinate of the component rectangle
9608         to correct position.
9609         (handleEvent): Forward drag events to the pressed
9610         component.
9611         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9612         Fix comments.
9613         (ArrowButtonListener::mousePressed): Stop the
9614         existing timer.
9615         (mouseDragged): Implement.
9616         (TrackListener::mousePressed): Only react if
9617         the press doesn't occur on the thumb, otherwise
9618         just set the offset.
9619         (TrackListener::mouseReleased): Unset the isAdjusting
9620         value.
9621         (createIncreaseIcon): Switch icon.
9622         (createDecreaseIcon): Switch icon.
9623         (calculatePreferredSize): Use width.
9624         (getThumbBounds): Use the top as the lower value.
9625         (layoutVScrollBar): Switch the button locations.
9626         (paintIncreaseHighlight): Paint correct side of thumb.
9627         (paintDecreaseHighlight): ditto.
9628         (valueForYPosition): Use top as the lower value.
9629         * javax/swing/plaf/basic/BasicSliderUI.java:
9630         Fix comments.
9631         (mouseDragged): Implement.
9632         (mousePressed): Only react when the thumb isn't
9633         pressed, otherwise just set offset.
9634         (mouseReleased): Handle a release of the thumb.
9635         (scrollDueToClickInTrack): Stop the timer first.
9636         * javax/swing/JProgressBar.java:
9637         (setString): Fix change condition.
9638         * javax/swing/JSeparator.java:
9639         Remove println's.
9640
9641 2004-03-08  David Jee  <djee@redhat.com>
9642
9643         * java/awt/image/AffineTransformOp.java:
9644         (filter): Use Graphics2D interface instead of directly using the
9645         GdkGraphics2D peer.
9646
9647 2004-03-05  David Jee  <djee@redhat.com>
9648
9649         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9650         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9651         * java/awt/Container.java
9652         (acquireComponentForMouseEvent): Fixed.
9653         (handleEvent): Fixed.
9654         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9655         (state_to_awt_mods_with_button_states): New method.
9656         (pre_event_handler): Fixed mouse event generation.
9657
9658 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9659
9660         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9661         (GdkGraphics2D (BufferedImage)): Initialize
9662         pixmap associated with specified BufferedImage.
9663         (setPaint): Changed implementation of Texture
9664         Paint to use AffineTransformOp.
9665         * java/awt/image/AffineTransformOp.java
9666         (createCompatibleDestRaster): Throw RasterFormatException 
9667         if resulting width or height of raster is 0.
9668
9669 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9670
9671         * java/awt/image/AffineTransformOp.java:
9672         Removed unnecessary field interpolationType.
9673         Formatted some of the lines to be consistent with 
9674         the GNU style.
9675         (AffineTransformOp): Create new RenderingHints 
9676         containing specified interpolation type.
9677         (createCompatibleDestImage): Implemented.
9678         (createCompatibleDestRaster): Implemented.
9679         (filter): Implemented.
9680         (getBounds2D(BufferedImage)): Implemented.
9681         (getBounds2D(Raster)): Implemented.
9682         (getInterpolationType): Get interpolation value from 
9683         rendering hints.
9684
9685 2004-03-04  David Jee  <djee@redhat.com>
9686
9687         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9688         (setFont): Check if child peers are null.
9689
9690 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9691
9692         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9693         .libs in -L option.
9694         (libjava_arguments): Add new libraries to argument list.
9695
9696 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9697
9698         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9699         * Makefile.in: Re-generated.
9700         * java/awt/image/AffineTransformOp.java: New Class.
9701
9702 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9703
9704         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9705         (setPaint): Interpret correctly TexturePaint's
9706         anchor rectangle.
9707         (drawImage): Fixed scale factors of the affine
9708         transform.
9709
9710 2004-02-27  David Jee  <djee@redhat.com>
9711
9712         * gnu/java/awt/peer/gtk/GdkGraphics.java
9713         (GdkGraphics(Component)): Inherit font from component.
9714         (drawString): Use font style.
9715         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9716         (gtkSetFont): New native method declaration.
9717         (setFont): New method.
9718         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9719         (gtkSetFont): New native method declaration.
9720         (setFont): Call new native method gtkSetFont.
9721         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9722         (setFont): For all child components who do not their fonts set,
9723         set their peers' fonts with this container's font.
9724         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9725         Move all native method declarations to the top for readability.
9726         (gtkSetFont): New native method declaration.
9727         (setFont): New method.
9728         * java/awt/Component.java
9729         (setFont): Invalidate after setting the font.
9730         * java/awt/Container.java
9731         (invalidateTree): New method.
9732         (setFont): Invalidate the container tree after setting the font.
9733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9734         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9736         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9738         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9740         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9741
9742 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9743
9744         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9745         (updateBufferedImage): New helper function.
9746         Updates BufferedImage in memory if it was changed.
9747         (draw): changed to update BufferedImage in memory after
9748         this drawing operation
9749         (fill): Ditto.
9750         (draw3DRect): Ditto.
9751         (fill3DRect): Ditto.
9752         (clearRect): Ditto.
9753         (drawRaster): Ditto.
9754         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9755         no affine transformation.
9756         (drawGlyphVector): Ditto.
9757
9758 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9759
9760         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9761         (isBufferedImageGraphics): New Helper function. 
9762         Returns true if this graphics2d can be used to draw 
9763         into buffered image and false otherwise.
9764         (updateImagePixels): New Helper function. 
9765         Updates pixels in the BufferedImage.
9766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9767         (getImagePixels): New function. Returns pixels
9768         of the buffered image associated with 
9769         this Graphics2D.
9770
9771 2004-02-26  David Jee  <djee@redhat.com>
9772
9773         * java/awt/BorderLayout.java
9774         (layoutContainer): Fix width and height calculations to ensure
9775         that they're non-negative.
9776         * java/awt/Component.java
9777         (setBackground): If c is null, inherit from closest ancestor whose
9778         background color is set.
9779
9780 2004-02-26  Kim Ho  <kho@redhat.com>
9781
9782         * Makefile.am: Add new files.
9783         * Makefile.in: Re-generate.
9784         * javax/swing/JProgressBar.java: 
9785         (JProgressBar(int, int int)): Throw
9786         IllegalArgumentException if orientation is
9787         invalid.
9788         (JProgressBar(BoundedRangeModel)): Create
9789         ChangeListener and register it. UpdateUI.
9790         (getChangeListeners): Implement.
9791         (setModel): Reset ChangeListener.
9792         * javax/swing/JScrollBar.java: Implement.
9793         * javax/swing/JSeparator.java: Implement.
9794         * javax/swing/JSlider.java:
9795         (JSlider(int, int, int, int)): Throw 
9796         IllegalArgumentException if orientation
9797         is invalid.
9798         (getChangeListeners): Fix method name.
9799         * javax/swing/SwingUtilities.java:
9800         (layoutCompoundLabel): If there is no text,
9801         set the text rectangle dimensions to 0.
9802         * javax/swing/plaf/basic/BasicButtonUI.java:
9803         (paint): If there is no text, don't paint it.
9804         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9805         Implement.
9806         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9807         Implement.
9808         * javax/swing/plaf/basic/BasicSliderUI.java: 
9809         (propertyChange): If the model changes, change
9810         the listeners accordingly.
9811
9812 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9813
9814         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9815         * javax/swing/JList.java: Reimplement.
9816         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9817         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9818         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9819         * javax/swing/ListModel.java: Javadoc.
9820         * javax/swing/ListSelectionModel.java: Add missing methods.
9821         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9822         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9823         * javax/swing/ListModel.java: Javadoc and corrections.
9824         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9825
9826 2004-02-25  David Jee  <djee@redhat.com>
9827
9828         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9829         (GtkFontPeer): Change default size to 12.
9830         * gnu/java/awt/peer/gtk/GtkToolkit.java
9831         (getFontPeer): Change default size to 12.
9832         (getClasspathFontPeer): Likewise. Set default name to "Default".
9833         * java/awt/Font.java
9834         (Font(Map)): Call Font(String,Map).
9835         (Font(String,Map)): If attrs is null, initialize it as an empty
9836         HashMap, which will ensure that the Font will get default attributes.
9837
9838 2004-02-25  David Jee  <djee@redhat.com>
9839
9840         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9841         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9842         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9843         * gnu/java/awt/peer/gtk/GtkToolkit.java
9844         (getFontPeer(String,int)): Call the new overload method with size 1.
9845         (getFontPeer(String,int,int)): New method. Overloaded with size
9846         attribute.
9847         (getClasspathFontPeer): Set the size of the font.
9848
9849 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9850
9851         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9852         (bimage): New field.
9853         (GdkGraphics2D): New Constructor. Constructs Graphics
9854         object that can be used to draw into the Buffered Image.
9855         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9856         (GdkGraphicsEnvironment): Fixed to include public 
9857         keyword.
9858         (createGraphics): Implemented.
9859         * gnu/java/awt/peer/gtk/GtkToolkit.java
9860         (getLocalGraphicsEnvironment): Implemented.
9861         * java/awt/GraphicsEnvironment.java:
9862         (getLocalGraphicsEnvironment): Implemented.
9863         * java/awt/image/BufferedImage.java:
9864         (createGraphics): Implemented.
9865                 
9866 2004-02-24  David Jee  <djee@redhat.com>
9867
9868         * java/awt/Component.java
9869         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9870         * java/awt/Container.java
9871         (addNotifyContainerChildren): Fix event enabling.
9872
9873 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9874
9875         * Makefile.am: Added 
9876         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9877         * Makefile.in: Re-generated.
9878         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9879         New Class. 
9880         
9881 2004-02-19  Kim Ho  <kho@redhat.com>
9882
9883         * Makefile.am: Add BasicProgressBarUI
9884         * Makefile.in: Regenerate.
9885         * javax/swing/JProgressBar.java: 
9886         Re-implement.
9887         * javax/swing/plaf/basic/BasicLookAndFeel.java
9888         Add constants for JProgressBar.
9889         * javax/swing/plaf/basic/BasicProgressBarUI.java
9890         Implement.
9891         * javax/swing/plaf/basic/BasicSliderUI.java
9892         Change comments.
9893         (calculateGeometry): New method
9894         (paint): Remove unnecessary size calculations.
9895
9896 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9897
9898         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9899         (drawRaster): Fixed small error that caused
9900         imageToUser transformation to be set incorrectly.
9901         (toString): Implemented.
9902
9903 2004-02-18  David Jee  <djee@redhat.com>
9904
9905         * java/awt/CardLayout.java
9906         (addLayoutComponent): Show the first component added as the default.
9907         (removeLayoutComponent): After removing, show the next component.
9908         (gotoComponent): If there is only one component, show it and return.
9909
9910 2004-02-18  Kim Ho  <kho@redhat.com>
9911
9912         * javax/swing/JSlider.java: Re-order
9913         modifiers.
9914         * javax/swing/JLabel.java: Re-order
9915         modifiers.
9916         * javax/swing/JComponent.java: 
9917         (addPropertyChangeListener):
9918         Implement.
9919         (removePropertyChangeListener):
9920         ditto.
9921         (firePropertyChangeEvent):
9922         ditto.
9923
9924 2004-02-17  David Jee  <djee@redhat.com>
9925
9926         * java/awt/Component.java
9927         (show): Dispatch ComponentEvent via system event queue.
9928         (hide): Likewise.
9929         (move): Likewise.
9930         (resize): Likewise.
9931         (reshape): Likewise.
9932         * java/awt/Window.java
9933         (setBoundsCallback): Likewise.
9934
9935 2004-02-17  David Jee  <djee@redhat.com>
9936
9937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9938         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9939         Use gtk_widget_set_size_request() instead of the deprecated
9940         gtk_widget_set_usize().
9941
9942 2004-02-17  Kim Ho  <kho@redhat.com>
9943
9944         * javax/swing/JSlider.java: Fix comments and
9945         make property strings constants.
9946         (createStandardLabels): Use the labels
9947         preferred size as bounds.
9948         * javax/swing/plaf/basic/BasicSliderUI.java
9949         Fix comments.
9950         (ScrollHandler::actionPerformed): Don't
9951         calculate the timer stop value. Let the
9952         MouseListeners find the stop location.
9953         (getPreferredHorizontalSize): Re-implement.
9954         (getPreferredVerticalSize): ditto.
9955         (getMinimumHorizontalSize): ditto.
9956         (getMinimumVerticalSize): ditto.
9957         (getPreferredSize): ditto.
9958         (getMinimumSize): ditto.
9959         (getMaximumSize): ditto.
9960         (paintTicks): Use doubles to find the
9961         tick location.
9962         (paintHorizontalLabel):  Use preferredSize
9963         as initial width and height.
9964         (paintVerticalLabel): ditto.
9965
9966 2004-02-17  Kim Ho  <kho@redhat.com>
9967
9968         * javax/swing/JLabel.java: Changed 
9969         property strings to constants.
9970         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9971         New property.
9972         (setText): Change mnemonic index if
9973         text is too short.
9974         (setDisplayedMnemonicIndex): Fire property
9975         change event.
9976         (getDisplayedMnemonicIndex): Remove check
9977         against short text.
9978
9979 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9980
9981         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9982         (drawImage(img,xform,obs)): Invert xform before
9983         passing the xform to cairo.
9984         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9985         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9986         implemented.
9987         (drawImage (img,x,y,w,h,obs)): Implemented.
9988         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9989         bgcolor,obs)): Partly implemented.
9990         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9991         Implemented.
9992         * java/awt/image/BufferedImage.java:
9993         (copyData): if dest is null, create raster with same
9994         dimensions as the current image.
9995
9996 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9997
9998         * javax/swing/plaf/basic/BasicLabelUI.java 
9999         (getPreferredSize): Use layoutCL.
10000         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10001         (getPreferredButtonSize): Start with empty view rect, layout using
10002         component's preferred alignment.
10003         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10004         List defaults.
10005
10006 2004-02-16  David Jee  <djee@redhat.com>
10007
10008         * java/awt/Component.java
10009         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10010         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10011         (move): Erase old bounds and repaint new bounds. Dispatch
10012         COMPONENT_MOVED ComponentEvent.
10013         (resize): Erase old bounds and repaint new bounds. Dispatch
10014         COMPONENT_RESIZED ComponentEvent.
10015         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10016         ComponentEvents.
10017         * java/awt/Window.java
10018         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10019         ComponentEvents.
10020
10021 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
10022
10023         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10024         (setRenderingHint): Added implementation of 
10025         Interpolation rendering hints.
10026         (setRenderingHints): Ditto.
10027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10028         (drawPixels): fixed to allow user to choose type 
10029         of filtering that should be used when displaying images.
10030         (cairoSurfaceSetFilter): New method. Sets filter type for 
10031         interpolation of pixel values.
10032
10033 2004-02-16  David Jee  <djee@redhat.com>
10034
10035         * java/awt/GridBagLayout.java
10036         (calcCellSizes): Rows or columns with zero sizes should still be
10037         considered for extra space distribution.
10038
10039 2004-02-16  Kim Ho  <kho@redhat.com>
10040
10041         * javax/swing/JLabel.java: Re-implement.
10042         * javax/swing/plaf/basic/BasicLabelUI.java
10043         Re-implement.
10044         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10045         Added constant.
10046
10047 2004-02-16  Kim Ho  <kho@redhat.com>
10048
10049         * javax/swing/JSlider.java: Fix indentation and comments.
10050         (setModel): Remove null check to conform with Sun's.
10051         (setOrientation): Throw exception if not
10052         HORIZONTAL or VERTICAL.
10053         (getInverted): Use private variable instead of 
10054         ComponentOrientation.
10055         (setInverted): ditto.
10056         * javax/swing/plaf/basic/BasicSliderUI.java:
10057         Fix indentation and comments.
10058         (propertyChange): Remove check for inverted slider, handle
10059         in main paint.
10060         (getMinimumSize): Return preferred size.
10061         (getMaximumSize): ditto.
10062         (calculateFocusRect): Don't relocate rectangle.
10063         (drawInverted): Return XOR of the slider's inversion and 
10064         the component's orientation.
10065         (paint): Update leftToRightCache
10066
10067 2004-02-13  David Jee  <djee@redhat.com>
10068
10069         * java/awt/GridBagLayout.java
10070         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10071         code to helper methods.
10072         (sortBySpan): New helper method.
10073         (distributeSizeAndWeight): Likewise.
10074         (calcCellWeights): Likewise.
10075         (calcCellSizes): Add comments.
10076
10077 2004-02-13  David Jee  <djee@redhat.com>
10078
10079         * java/awt/Component.java
10080         (show): Only do something if component is invisible at the moment.
10081         (hide): Only do something if component is visible at the moment.
10082         (reshape): If lightweight, erase old bounds and repaint new bounds.
10083
10084 2004-02-13  Kim Ho  <kho@redhat.com>
10085
10086         * Makefile.am: Updated for new file.
10087         * Makefile.in: Regenerated.
10088         * javax/swing/JSlider.java: Reimplement.
10089         * javax/swing/SwingUtilities.java
10090         (layoutCompoundLabel): Use icon height
10091         instead of width.
10092         (paintComponent): Implement.
10093         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10094         Add JSlider defaults.
10095         * javax/swing/plaf/basic/BasicSliderUI.java:
10096         Implement. New file.
10097
10098 2004-03-17  Michael Koch  <konqueror@gmx.de>
10099
10100         * gnu/java/net/PlainDatagramSocketImpl.java
10101         (RECEIVE_LOCK): New member field.
10102         (SEND_LOCK): New member field.
10103         (send0): New method.
10104         (send): Synchronize on SEND_LOCK.
10105         (receive0): New method.
10106         (receive): Synchronize on RECEIVE_LOCK.
10107         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10108         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10109         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10110         (send0): Renamed from send.
10111         (receive0): Renamed from receive.
10112 2004-03-17  Michael Koch  <konqueror@gmx.de>
10113
10114         * gnu/java/net/natPlainSocketImplPosix.cc
10115         (write): Just call write(jbyteArray, offset, len).
10116         (read): Just call read(jbyteArray, offset, len).
10117
10118 2004-03-16  Michael Koch  <konqueror@gmx.de>
10119
10120         * javax/swing/JTabbedPane.java
10121         (serialVersionUID): New field.
10122
10123 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10124
10125         * java/net/InetAddress.java
10126         (getByName): Handle hostname == "" case.
10127
10128 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10129
10130         Reported by: Adam Heath <doogie@debian.org>
10131         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10132         class loader.
10133
10134 2004-03-15  Michael Koch  <konqueror@gmx.de>
10135
10136         * java/util/Locale.java: Reverting my last patch
10137         and add a comment why the original version was okay.
10138
10139 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10140
10141         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10142         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10143         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10144         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10145
10146 2004-03-12  Michael Koch  <konqueror@gmx.de>
10147
10148         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10149
10150 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10151
10152         * java/net/URI.java (toURL): Implemented.
10153
10154 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10155
10156         * java/net/URI.java
10157         (URI_REGEXP) updated to contain scheme specific part.
10158         (SCHEME_SPEC_PART_GROUP) new constant.
10159         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10160         updated to make room for SCHEME_SPEC_PART_GROUP.
10161         (parseURI) parse scheme specific part.
10162         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10163         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10164         getQuery, getFragment) implemented.
10165
10166 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10167
10168         * libraries/javalib/java/net/URI.java
10169         partially implemented using java.util.regex.
10170         (URI_REGEXP) new constant. Used to parse URIs.
10171         (SCHEME_GROUP) new constant representing index of scheme group
10172         in parsed URI.
10173         (AUTHORITY_GROUP) new constant representing index of authority
10174         group in parsed URI.
10175         (PATH_GROUP) new constant representing index of path group in
10176         parsed URI.
10177         (QUERY_GROUP) new constant representing index of query group in
10178         parsed URI.
10179         (FRAGMENT_GROUP) new constant representing index of fragment
10180         group in parsed URI.
10181         (getURIGroup) new static utility method.
10182         (parseURI) implemented.
10183         (quote) stub for new static utility method.
10184         (quoteAuthority) stub for new static utility method.
10185         (quoteHost) stub for new static utility method.
10186         (quotePath) stub for new static utility method.
10187         (quoteUserInfo) stub for new static utility method.
10188         (URI) implemented.
10189         (create) don't throw URISyntaxException. Implemented.
10190         (toString) implemented.
10191
10192 2004-03-12  Michael Koch  <konqueror@gmx.de>
10193
10194         * java/net/HttpURLConnection.java
10195         (getResponseCode): Fix another typo in javadoc.
10196
10197 2004-03-11  Michael Koch  <konqueror@gmx.de>
10198
10199         * java/util/logging/Level.java
10200         (parse): Use String.equals() instead of ==.
10201
10202 2004-03-11  Michael Koch  <konqueror@gmx.de>
10203
10204         * gnu/java/net/protocol/jar/Connection.java
10205         (getContentLength): New method.
10206
10207 2004-03-11  Michael Koch  <konqueror@gmx.de>
10208
10209         * gnu/java/net/PlainSocketImpl.java:
10210         Reformated to merge better with classpath's version.
10211
10212 2004-03-11  Michael Koch  <konqueror@gmx.de>
10213
10214         * java/util/Locale.java
10215         (getISO3Language): Use String.equals() instead of ==.
10216         (getISO3Country): Likewise.
10217
10218 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10219
10220         * java/text/AttributedString.java
10221         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10222         Use HashMap instead of Hashtable since value can be null, and
10223         you can not store a null value in a Hashtable.
10224
10225 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10226
10227         * java/text/AttributedStringIterator.java
10228         (getAllAttributesKey): Return only keys concerned
10229         by the current iterator.
10230         (getAttributes): Use strict inequality for
10231         end_index. 
10232
10233 2004-03-11  Michael Koch  <konqueror@gmx.de>
10234
10235         * java/net/HttpURLConnection.java:
10236         Fixed typo in javadoc.
10237
10238 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10239
10240         * java/io/BufferedInputStream.java (marktarget): New field for max
10241         mark limit.
10242         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10243         (mark): Use new fields.
10244         (read): Likewise.
10245         (read(byte[],int,int)): Likewise.
10246         (skip): Likewise.
10247         (refill): Likewise.
10248
10249 2004-03-11  Mark Wielaard  <mark@klomp.org>
10250
10251         * java/beans/BeanDescriptor.java (BeanDescriptor):
10252         Set the FeatureDescriptor programmatic name.
10253
10254 2004-03-11  Michael Koch  <konqueror@gmx.de>
10255
10256         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10257         This file was was just copied form java/io/natFileDescriptorEcos.cc
10258         and never changed to compile correctly.
10259
10260 2004-03-11  Michael Koch  <konqueror@gmx.de>
10261
10262         * gnu/java/nio/PipeImpl.java
10263         (SourceChannelImpl): Made final.
10264         (read): Implemented.
10265         (SinkChannelImpl): Made final.
10266         (write): Implemented.
10267
10268 2004-03-11  Michael Koch  <konqueror@gmx.de>
10269
10270         * gnu/java/net/PlainDatagramSocketImpl.java:
10271         Reformated to match classpath's version more.
10272
10273 2004-03-11  Michael Koch  <konqueror@gmx.de>
10274
10275         * gnu/java/awt/peer/ClasspathFontPeer.java:
10276         Fixed javadoc to be correct xhtml.
10277         * gnu/java/awt/peer/gtk/GtkArgList.java
10278         (add): Use Boolean.valueOf() instead of new Boolean().
10279
10280 2004-03-09  Michael Koch  <konqueror@gmx.de>
10281
10282         * java/lang/Thread.java
10283         (runnable): Moved around.
10284         (daemon): Renamed from daemon_flag.
10285         (contextClassLoader): Renamed from context_class_loader.
10286         (Thread): Reordered constructors.
10287         (activeCount): Use group directly.
10288         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10289         (holdsLock): Reworked javadoc.
10290         (setDaemon): Reworked.
10291         * java/lang/natThread.cc
10292         (destroy): Removed.
10293
10294 2004-03-08  Anthony Green  <green@redhat.com>
10295
10296         * Makefile.am: Build property resource files into libgcj.
10297         * Makefile.in: Rebuilt.
10298         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10299         java/util/regex/PatternSyntaxException.java,
10300         gnu/regexp/CharIndexed.java,
10301         gnu/regexp/CharIndexedCharArray.java,
10302         gnu/regexp/CharIndexedInputStream.java,
10303         gnu/regexp/CharIndexedReader.java,
10304         gnu/regexp/CharIndexedString.java,
10305         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10306         gnu/regexp/REException.java,
10307         gnu/regexp/REFilterInputStream.java,
10308         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10309         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10310         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10311         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10312         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10313         gnu/regexp/RETokenLookAhead.java,
10314         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10315         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10316         gnu/regexp/RETokenStart.java,
10317         gnu/regexp/RETokenWordBoundary.java,
10318         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10319
10320 2004-03-03  Per Bothner  <per@bothner.com>
10321
10322         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10323         Optimize when argument is a FileChannelImpl.
10324         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10325         New native methods.
10326         * java/nio/channels/natChannels.cc:  New file for new native methods.
10327         * Makefile.am:  Update accordingly.
10328
10329 2004-03-02  Jan Hubicka  <jh@suse.cz>
10330
10331         * configure.host: Pass -fno-omit-frame-pointer for i386.
10332         * configure.in: Likewise.
10333         * configure: Regenerate.
10334
10335 2004-03-01  Per Bothner  <per@bothner.com>
10336
10337         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10338
10339 2004-02-29  Per Bothner  <per@bothner.com>
10340
10341         * java/nio/channels/FileChannelImpl.java:  Moved to package
10342         gnu/java/nio/channels, since we need to refer to it from java.io.
10343         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10344         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10345         from java/nio/channels.  Don't depend on FileDescriptor.
10346         (in, out, err):  New static fields.
10347         (mode):  New field.
10348         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10349         from FileDescriptor.
10350         (by):  Removed MappedByteBuffer field.
10351         (map):  New working implementation.
10352         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10353         some code "ported" from natFileDescriptoPosix.cc.
10354         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10355         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10356         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10357         Remove native methods.
10358         * Makefile.am, configure.in:  Updated accordingly.
10359
10360         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10361         (ch):  New FileChannelImpl field.  Update constructor to match.
10362         (releaseImpl):  Remove native method.  Instead ...
10363         (release):  Call unlock on channel.
10364         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10365
10366         * java/io/natFileDescriptorEcos.cc:  Remove file.
10367         * java/io/natFileDescriptorPosix.cc:  Remove file.
10368         * java/io/natFileDescriptorWin32.cc:  Remove file.
10369         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10370         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10371         (<init>(FileChannelImpl)):  New package-private constructor.
10372         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10373         (available, close, read, skip):  Implement using FileChannelImpl.
10374         (getFD):  Allocate FileDescriptor if needed.
10375         (getChannel):  Is now trivial.
10376         * java/io/FileOutputStream.java:  Corresponding changes.
10377         * java/io/RandomAccessFile.java:  Corresponding changes.
10378
10379         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10380         unmapImpl):  New dummy methods, to be overridden by subclass.
10381         (finalize, isLoaded, load, force):  New methods.
10382         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10383         Now works, at least for read mapping.
10384
10385         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10386         streams using FileChannelImpl, not FileDescriptor.
10387         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10388
10389 2004-02-28  Michael Koch  <konqueror@gmx.de>
10390
10391         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10392         wrong code.
10393
10394 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10395
10396         * java/io/ObjectInputStream.java
10397         (readClassDescriptor): Keep elements of the mapping non null.
10398         (checkTypeConsistency): New method.
10399         (readFields): Fixed main loop and base logic. Small reindentation.
10400         * java/io/ObjectStreamField.java
10401         (lookupField): New method to update the field reference.
10402         (checkFieldType): New method.
10403         * java/io/ObjectStreamClass.java
10404         (setClass, setFields): Call lookupField when building the field
10405         database. Check the real field type.
10406
10407 2004-02-28  Michael Koch  <konqueror@gmx.de>
10408
10409         * java/nio/ByteOrder.java
10410         (nativeOrder): Use equals() to compare strings.
10411
10412 2004-02-26  Michael Koch  <konqueror@gmx.de>
10413
10414         * gnu/java/nio/FileLockImpl.java
10415         (finalize): Made protected.
10416         * java/nio/channels/FileChannel.java
10417         (MapMode.READ_ONLY): Made final.
10418         (MapMode.READ_WRITE): Made final.
10419         (MapMode.PRIVATE): Made final.
10420         * java/nio/channels/SocketChannel.java
10421         (open): Simplified code.
10422         * java/nio/channels/spi/AbstractSelectableChannel.java
10423         (registered): Unused, removed.
10424         (keyFor): Check channel is open, only locate key
10425         and not add a new one.
10426         (register): Don't delete attachments.
10427
10428 2004-02-26  Michael Koch  <konqueror@gmx.de>
10429
10430         * gnu/java/awt/ComponentDataBlitOp.java
10431         (INSTANCE): Made final.
10432         * gnu/java/awt/image/ImageDecoder.java:
10433         Reworked imports.
10434         (cm): Unused, removed.
10435
10436 2004-02-26  Michael Koch  <konqueror@gmx.de>
10437
10438         * gnu/java/nio/DatagramChannelImpl.java
10439         (send): Check if target address is resolved.
10440
10441 2004-02-26  Michael Koch  <konqueror@gmx.de>
10442
10443         * Makefile.am: Generate and install headers for inner classes in
10444         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10445         * Makefile.in: Regenerated.
10446
10447 2004-02-24  Anthony Green  <green@redhat.com>
10448
10449         * java/lang/StringBuffer.java: No need to NULL out remainder of
10450         buffer since ensureCapacity_unsynchronized will have done this for
10451         us.
10452
10453 2004-02-20  Michael Koch  <konqueror@gmx.de>
10454
10455         * gnu/java/net/protocol/jar/Handler.java
10456         (): Removed unneeded check for file != null. java.net.URL.getFile()
10457         returns an empty string but never null.
10458
10459 2004-02-20  Michael Koch  <konqueror@gmx.de>
10460
10461         * gnu/gcj/convert/Convert.java
10462         (main): Use equals() to compare strings.
10463
10464 2004-02-20  Michael Koch  <konqueror@gmx.de>
10465
10466         * javax/swing/AbstractButton.java: Made several constants final.
10467         (getRolloverSelectedIcon): Made public.
10468         (getSelectedIcon): Made public.
10469
10470 2004-02-16  Per Bothner  <per@bothner.com>
10471
10472         * java/nio/CharBufferImpl.java:  Inline super constructor.
10473         * java/nio/DoubleBufferImpl.java:  Likewise.
10474         * java/nio/FloatBufferImpl.java:  Likewise.
10475         * java/nio/IntBufferImpl.java:  Likewise.
10476         * java/nio/LongBufferImpl.java:  Likewise.
10477         * java/nio/ShortBufferImpl.java:  Likewise.
10478         * java/nio/CharBuffer.java:  Remove unused constructor.
10479         * java/nio/DoubleBuffer.java:  Likewise.
10480         * java/nio/FloatBuffer.java:  Likewise.
10481         * java/nio/IntBuffer.java:  Likewise.
10482         * java/nio/LongBuffer.java:  Likewise.
10483         * java/nio/ShortBuffer.java:  Likewise.
10484         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10485         Fix buggy call to super constructor.
10486         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10487         * java/nio/FloatViewBufferImpl.java:  Likewise.
10488         * java/nio/IntViewBufferImpl.java:  Likewise.
10489         * java/nio/LongViewBufferImpl.java:  Likewise.
10490         * java/nio/ShortViewBufferImpl.java:  Likewise.
10491         
10492         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10493         java.nio classes can inherit it.
10494         (<init>):  Don't bother clearing array_offset.
10495         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10496         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10497         Remove redundant test.
10498
10499         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10500         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10501         Use new XxxViewBufferImpl constructors.
10502         * java/nio/MappedByteBufferImpl.java:  Likewise.
10503         * java/nio/DirectByteBufferImpl.java:  Likewise.
10504
10505         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10506         Inline super in remaining constructor.
10507         * java/nio/ByteBuffer.java:  Remove unused constructor.
10508
10509         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10510
10511         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10512         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10513         (offset):  Remove unused field.
10514         (<init>):  Modify one and add another constructor.  Change callers.
10515         (allocateDirect):  Removed - not used.
10516         (getImpl, putImpl):  Make static and pass address explicitly,
10517         to make them useful for MappedByteBufferImpl.
10518         (get, put):  Check for underflow.  Modify for new getImpl.
10519         (getImpl):  New native method where target is array.
10520         (get(byte[],int,int)):  Use the above.
10521         (adjustAddress):  New static native method.
10522         (slice, duplicate, asReadOnly):  New implementations.
10523         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10524         adjustAddress):  New or updated native methods.
10525
10526 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10527
10528         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10529         overflow of fieldmapping.
10530
10531 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10532
10533         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10534
10535 2004-02-14  Per Bothner  <per@bothner.com>
10536
10537         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10538         Set closed before calling implCloseChannel, as in the spec.
10539
10540 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10541
10542         * javax/swing/ToggleButtonModel.java: Remove dead class.
10543         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10544         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10545         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10546         * Makefile.am: Update for new and removed files.
10547         * Makefile.in: Regenerate.
10548
10549         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10550         * javax/swing/AbstractButton.java 
10551         (AbstractButton): Initialize fields correctly in ctor.
10552         * javax/swing/JCheckbox.java 
10553         (JCheckBox): Override painting flags.
10554         * javax/swing/DefaultButtonModel.java: Conform to sun.
10555         * javax/swing/JComponent.java (paint): Fill with background color
10556         if available.
10557         (processComponentKeyEvent)
10558         (processFocusEvent)
10559         (processKeyEvent)
10560         (processMouseMotionEvent): Remove event-consuming empty methods.
10561         (getUIClassID): Return "ComponentUI" not "JComponent"
10562         * javax/swing/JFrame.java: Remove some debugging chatter.
10563         (JFrame): Subscribe to window events.
10564         * javax/swing/JRadioButton.java 
10565         (JRadioButton): Override painting flags.
10566         * javax/swing/JRootPane.java 
10567         (JRootPane): Set background from UIDefaults.
10568         * javax/swing/JToggleButton.java 
10569         (ToggleButtonModel): New inner class.
10570         (JToggleButton): Override layout alighment.
10571         * javax/swing/SwingUtilities.java:
10572         (getLocalBounds): Return width and height, not x and y.
10573         (calculateInnerArea): Use local bounds, not bounds.
10574         (layoutCompoundLabel): Provide overridden form.
10575         (layoutCompoundLabel): Correct bugs.
10576         * javax/swing/UIDefaults.java: Correct comment.
10577         * javax/swing/plaf/basic/BasicButtonUI.java: 
10578         Move most logic into defaults, external listener.
10579         (paintIcon): Implement icon painting.
10580         (paint): Fix state painting to conform to changes in model.
10581         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10582         Remove most dead/wrong methods.
10583         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10584         * javax/swing/plaf/basic/BasicIconFactory.java:
10585         (DummyIcon): New class.
10586         (getMenuItemCheckIcon)
10587         (getMenuItemArrowIcon) 
10588         (getMenuArrowIcon)
10589         (getCheckBoxMenuItemIcon)
10590         (getRadioButtonMenuItemIcon)
10591         (createEmptyFrameIcon): Return DummyIcons, not null.
10592         (getCheckBoxIcon): Implement an icon that looks like sun's.
10593         (getRadioButtonIcon): Implement an icon that looks like sun's.
10594         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10595         (initComponentDefaults): Fix impossible values, add some missing.
10596         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10597         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10598         Remove most dead/wrong methods.
10599         (icon): New field.
10600         (getDefaultIcon): New method.
10601         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10602         Remove most dead/wrong methods.
10603         * javax/swing/plaf/metal/MetalLookAndFeel.java
10604         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10606         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10607         Implement "clearing" as drawing, when on pixmap drawables.
10608
10609         * javax/swing/JButton.java (getUIClassID): 
10610         * javax/swing/JCheckBox.java (getUIClassID):
10611         * javax/swing/JEditorPane.java (getUIClassID):
10612         * javax/swing/JLabel.java (getUIClassID): 
10613         * javax/swing/JList.java (getUIClassID): 
10614         * javax/swing/JOptionPane.java (getUIClassID): 
10615         * javax/swing/JPanel.java (getUIClassID): 
10616         * javax/swing/JPasswordField.java (uiClassID): 
10617         * javax/swing/JRadioButton.java (getUIClassID): 
10618         * javax/swing/JRootPane.java (getUIClassID): 
10619         * javax/swing/JScrollPane.java (getUIClassID): 
10620         * javax/swing/JTabbedPane.java (getUIClassID): 
10621         * javax/swing/JToggleButton.java (getUIClassID): 
10622         * javax/swing/JTree.java (getUIClassID): 
10623         * javax/swing/JViewport.java (getUIClassID): 
10624         * javax/swing/text/JTextComponent.java (getUIClassID):
10625         Return "fooUI" not "Jfoo"
10626
10627 2004-02-11  Michael Koch  <konqueror@gmx.de>
10628
10629         * java/net/DatagramSocket.java
10630         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10631         Boolean object.
10632         (setBroadcast): Likewise.
10633         * java/net/MulticastSocket.java
10634         (setLoopbackMode): Likewise.
10635         * java/net/ServerSocket.java
10636         (setReuseAddress): Likewise.
10637         * java/net/Socket.java
10638         (setTcpNoDelay): Likewise.
10639         (setSoLinger): Likewise.
10640         (setOOBInline): Likewise.
10641         (setKeepAlive): Likewise.
10642         (setReuseAddress): Likewise.
10643         * java/net/URLConnection.java
10644         (setContentHandler): Replace == with equals().
10645         * java/net/URLStreamHandler.java
10646         (hostSEquals): Fix checking host addresses.
10647         (toExternalForm): Dont check protocol for null. We know already its
10648         not null.
10649
10650 2004-02-10  David Jee  <djee@redhat.com>
10651
10652         * java/awt/BorderLayout.java
10653         (calcCompSize): Invisible components get zero dimensions.
10654         * java/awt/Button.java
10655         (setLabel): Set actionCommand.
10656         * java/awt/Component.java
10657         (show): Invalidate component and parent container.
10658         (hide): Likewise.
10659
10660 2004-02-10  David Jee  <djee@redhat.com>
10661
10662         * java/awt/GridBagLayout.java
10663         (GridBagLayout): New private field, internalcomptable.
10664         (lookupInternalConstraints): New method.
10665         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10666         (GetLayoutInfo): Reimplement.
10667         (calcCellSizes): Ignore rows/columns with size 0.
10668
10669 2004-02-10  Michael Koch  <konqueror@gmx.de>
10670
10671         * gnu/java/awt/EmbeddedWindow.java
10672         (setHandle): Use java.awt.Component.getPeer() instead of
10673         java.awt.Component.peer directly.
10674
10675 2004-02-10  David Jee  <djee@redhat.com>
10676
10677         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10678         (gtkSetLabel): New native method definition.
10679         (setLabel): Use gtkSetLabel.
10680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10681         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10682
10683 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10684
10685         * include/powerpc-signal.h: Revert 2004-01-21 change.
10686         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10687         from syscall for ppc32 versions.
10688
10689 2004-02-08  Per Bothner  <per@bothner.com>
10690
10691         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10692         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10693         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10694         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10695         Pass ByteOrder parameter to most methods, since the underlying
10696         ByteBuffer's order isn't always what we should use.
10697         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10698         * java/nio/DirectByteBufferImpl.java:  Likewise.
10699         Use ByteBufferHelper methods.
10700         * java/nio/MappedByteBufferImpl.java:  Likewise.
10701         (compact):  Use shiftDown.
10702         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10703         (get, put):  Use ByteBufferHelper.
10704         (compact):  Use new shiftDown method.
10705         (duplicate(boolean)):  New helper method.
10706         (duplicate, asReadOnlyBuffer):  Use it.
10707         (order):  Return endian field.
10708         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10709         * java/nio/FloatViewBufferImpl.java:  Likewise.
10710         * java/nio/IntViewBufferImpl.java:  Likewise.
10711         * java/nio/LongViewBufferImpl.java:  Likewise.
10712         * java/nio/ShortViewBufferImpl.java:  Likewise.
10713         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10714         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10715         (compact):  Re-implement using shiftDown.
10716
10717 2004-02-08  Andreas Jaeger  <aj@suse.de>
10718
10719         * include/x86_64-signal.h: Fix typo.
10720
10721 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10722
10723         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10724         qualifier to _regs.
10725         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10726
10727 2004-02-06  Michael Koch  <konqueror@gmx.de>
10728
10729         * java/io/ObjectInputStream.java
10730         (currentClassLoader): Reverted to old version of this method.
10731
10732 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10733
10734         * java/io/ObjectInputStream.java: Made all calls
10735         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10736         use cached info from ObjectStreamClass. (readClassDescriptor):
10737         Cache more information in ObjectStreamClass. (processResolution,
10738         readFields): Use cached info from ObjectStreamClass.
10739         (newObject): Throw exception instead of returning null for failure.
10740         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10741         setCharField, setDoubleField, setFloatField, setIntField,
10742         setLongField, setShortField, setObjectField, readObjectParams):
10743         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10744         check.
10745         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10746         (setClass): Added call to cacheMethods() (findMethod): New method.
10747         (cacheMethods): New method. (ObjectStreamClass): Added call to
10748         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10749         AccessController.doPrivileged to invoke setAccessible.
10750         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10751         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10752         New fields.
10753         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10754         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10755         isPrimitive): Made safe for cases where type == null.
10756         (setBooleanField, setByteField, setCharField, setShortField,
10757         setIntField, setLongField, setFloatField, setDoubleField,
10758         setObjectField): New methods.
10759
10760 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10761
10762         * java/awt/Component.java (getFont): Return a default font
10763         instead of null.
10764
10765         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10766         (Scrollbar (int, int, int, int, int)): Make default page
10767         increment 10.
10768         (setValues): Only call peer.setValues if one of the values has
10769         changed.
10770         (generateName): New method.
10771         (getUniqueLong): New method.
10772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10773         (range_scrollbar): Remove structure.
10774         (post_adjustment_event): Remove function.
10775         (post_change_event): Accept jobject argument.
10776         (create): Cast jints to gdoubles.  Round scrollbar values to the
10777         nearest integer.  Clamp min, max and value settings.
10778         (connectJObject): Connect hook to widget->window.
10779         (connectSignals): Remove range_scrollbar structure variables.
10780         Remove "move-slider" connection.  Pass global peer reference to
10781         "value-changed" callback.
10782         (setLineIncrement): Cast jint value to gdouble.
10783         (setPageIncrement): Likewise.
10784         (setValues): Likewise.  Clamp min, max and value settings.
10785
10786 2004-02-05  Michael Koch  <konqueror@gmx.de>
10787
10788         * javax/swing/AbstractCellEditor.java
10789         (getCellEditorValue): Removed.
10790         * javax/swing/Box.java: Reformated.
10791         (serialVersionUID): New field.
10792         * javax/swing/ButtonGroup.java:
10793         Removed some weird whitespace.
10794         * javax/swing/CellEditor.java: Reformated.
10795         * javax/swing/CellRendererPane.java
10796         (serialVersionUID): New field.
10797         (AccessibleCellRendererPaneserialVersionUID): New field.
10798         * javax/swing/DefaultListModel.java
10799         (serialVersionUID): New field.
10800         * javax/swing/JEditorPane.java
10801         (serialVersionUID): New field.
10802         (setPage): Throws IOException.
10803         (addHyperlinkListener): Implemented.
10804         (removeHyperlinkListener): Implemented.
10805         (getHyperlinkListener): New method.
10806         * javax/swing/JFileChooser.java
10807         (serialVersionUID): New field.
10808         (AccessibleJFileChooser.serialVersionUID): New field.
10809         (addActionListener): Implemented.
10810         (removeActionListener): Implemented.
10811         (getActionListeners): New method.
10812         * javax/swing/JFormattedTextField.java
10813         (serialVersionUID): New field.
10814         (AbstractFormatter.serialVersionUID): New field.
10815         (clone): Throws CloneNotSupportedException
10816         (setEditValid): Add missing argument.
10817         (stringToValue): Throws ParseExcpetion.
10818         (valueToString): Throws ParseException.
10819         (commitEdit): Throws ParseException.
10820         * javax/swing/JLabel.java
10821         (serialVersionUID): New field.
10822         * javax/swing/JList.java
10823         (serialVersionUID): New field.
10824         (addListSelectionListener): Reformated.
10825         (removeListSelectionListener): Reformated.
10826         (getListSelectionListeners): New method.
10827         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10828         Reformated.
10829         (serialVersionUID): New field.
10830         * javax/swing/table/AbstractTableModel.java
10831         (getValueAt): Removed.
10832         (getColumnCount): Removed.
10833         (getRowCount): Removed.
10834
10835 2004-02-05  Michael Koch  <konqueror@gmx.de>
10836
10837         * java/awt/datatransfer/DataFlavor.java
10838         (imageFlavor): Javadoc added.
10839         (javaJVMLocalObjectType): Fixed.
10840
10841 2004-02-05  Michael Koch  <konqueror@gmx.de>
10842
10843         * java/lang/Thread.java
10844         (Thread): Reordered.
10845         (setContextClassLoader): Fixed javadoc comment.
10846         (setPriority): Reordered.
10847         (yield): Reordered.
10848         (initialize_native): Reordered.
10849         (gen_name): Reordered.
10850
10851 2004-02-05  Michael Koch  <konqueror@gmx.de>
10852
10853         * java/lang/Thread.java: Reordered fields, reformated much code,
10854         no functional changes, some variables renamed, javadoc comments
10855         merged.
10856
10857 2004-02-05  Michael Koch  <konqueror@gmx.de>
10858
10859         * java/util/zip/Deflater.java,
10860         java/util/zip/DeflaterOutputStream.java,
10861         java/util/zip/GZIPInputStream.java:
10862         Reformated and javadoc comments merged from classpath.
10863
10864 2004-02-05  Michael Koch  <konqueror@gmx.de>
10865
10866         * gnu/java/nio/NIOServerSocket.java
10867         (impl): Unused, removed.
10868         * gnu/java/nio/SocketChannelImpl.java
10869         (finnishConnect): Don't throw NoConnectionPendingException if not
10870         connected or no connection pending.
10871
10872 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10873
10874         * javax/swing/SwingUtilities.java: Many new functions.
10875         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10876         * javax/swing/basic/BasicGraphicsUtils.java 
10877         (getPreferredButtonSize): Start layout from top-left corner.
10878
10879 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10880
10881         * java/awt/geom/AffineTransform.java: 
10882         Corrected comments on the field definitions for
10883         m11 and m10.
10884         (shear): Fixed few errors that caused shear
10885         transformation to be performed incorrectly.
10886         (createInverse): Fixed to return correct
10887         inverse of the given matrix.
10888
10889 2004-02-03  Tom Tromey  <tromey@redhat.com>
10890
10891         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10892         PATH or LD_LIBRARY_PATH is not set in parent environment.
10893
10894 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10895
10896         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10897         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10898         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10899         java/awt/Component.java, java/awt/Container.java,
10900         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10901         java/awt/LayoutManager2.java, java/awt/List.java,
10902         java/awt/Menu.java, java/awt/MenuBar.java,
10903         java/awt/MenuItem.java, java/awt/Polygon.java,
10904         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10905         java/awt/Scrollbar.java, java/awt/TextArea.java,
10906         java/awt/TextField.java,
10907         java/awt/image/renderable/RenderContext.java,
10908         javax/swing/JApplet.java: Fix handling of alias methods, where a
10909         method has been deprecated in favour of a new one with the same
10910         funtion but a different name.  Put the method implementation in
10911         the deprecated method and have the new method call the
10912         deprecated one.  Make all other code call the new method.
10913
10914 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10915
10916         * gnu/java/nio/DatagramChannelImpl.java
10917         (inChannelOperation): New field.
10918         (isInChannelOperation): New accessor.
10919         (setInChannelOperation): New modifier.
10920         (receive): Use capacity() - position() of destination
10921         buffer instead of remaining(). Set and reset our "in
10922         channel operation indicator" before and after delegating
10923         the receive to our datagram socket. Removed testing code.
10924         Update destination buffer's current position if it is
10925         backed by a byte array (hasArray() is true).
10926         (send): Set and reset our "in channel operation indicator"
10927         before and after delegating the send to our datagram socket.
10928         Removed testing code. Update source buffer's current position
10929         if it is backed by a byte array (hasArray() is true).
10930         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10931         Use capacity() - position() of destination buffer instead
10932         of remaining().
10933         * java/net/DatagramSocket.java (receive): Don't throw an
10934         IllegalBlockingModeException if we have a non-blocking
10935         channel which initiated this operation.
10936         (send): Likewise.
10937
10938 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10939
10940         * configure.in: Add pkgconfig check for glib and gthread.
10941         * configure: Regenerate.
10942
10943 2004-02-01  Michael Koch  <konqueror@gmx.de>
10944
10945         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10946         arguments.
10947         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10948         * verify.cc (debug_print): Mark 'fmt' unused.
10949
10950 2004-01-30  Michael Koch  <konqueror@gmx.de>
10951
10952         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10953         * configure: Regenerated.
10954         * glib-2.0.m4: Removed.
10955         * gtk-2.0.m4: Removed.
10956         * libart.m4: Removed.
10957         * pkg.m4: New file.
10958
10959 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10960
10961         * gnu/java/net/PlainSocketImpl.java 
10962         (inChannelOperation): New field.
10963         (isInChannelOperation): New accessor.
10964         (setInChannelOperation): New modifier.
10965         * gnu/java/nio/ServerSocketChannelImpl.java
10966         (accept): Set and reset our server socket's PlainSocketImpl's
10967         "in channel operation" indicator before and after delegating
10968         the accept to our server socket.
10969         * gnu/java/nio/SocketChannelImpl.java
10970         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10971         operation" indicator before and after delegating the operation to
10972         our socket.
10973         (read): Likewise.
10974         (write): Likewise.
10975         * java/net/ServerSocket.java (implAccept): Don't throw an
10976         IllegalBlockingModeException if we have a non-blocking
10977         channel which initiated this accept operation.
10978         * java/net/Socket.java (connect): Don't throw an
10979         IllegalBlockingModeException if we have a non-blocking
10980         channel which initiated this connect operation.
10981         * java/nio/channels/spi/AbstractSelectableChannel.java
10982         (configureBlocking): Only call implConfigureBlocking() if
10983         the desired blocking mode is different from our current one.
10984
10985 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10986
10987         * java/io/BufferedReader.java (sbuf): New field.
10988         (readLine): Use String.valueOf instead of new String() as per
10989         Per Bothner's suggestion. Use instance sbuf field instead of a
10990         local StringBuffer instance.
10991         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10992         caller's buffer to refill().
10993         (read(void)): Pass our internal work buffer to refill if our
10994         input queue is empty.
10995         (refill): Changed return type to int. Use the specified buffer
10996         instead of our work buffer as per Bryce McKinlay's suggestion.
10997         Return the number of characters read or -1 for EOF.
10998
10999 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11000
11001         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11002
11003 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11004
11005         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11006         * Makefile.in: Re-generated.
11007         * gnu/awt/xlib/XFontPeer.java: New file.
11008         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11009         (setClip): Commented out debug printout.
11010         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11011         (getFontPeer): Return XFontPeer.
11012         (getLocalGraphicsEnvironment): New method.
11013         (getClasspathFontPeer): New method.
11014         (createFont): New method.
11015
11016 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11017
11018         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11019         return null. 
11020
11021 2004-01-29  Kim Ho  <kho@redhat.com>
11022
11023         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11024         (gtkLayoutSetVisible): New method
11025         (setMenuBar): Hide layout before setting MenuBar
11026         and reshow it after.
11027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11028         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11029
11030 2004-01-28  Michael Koch  <konqueror@gmx.de>
11031
11032         * gnu/java/lang/ClassHelper.java
11033         (getPackagePortion): Removed.
11034
11035 2004-01-28  Michael Koch  <konqueror@gmx.de>
11036
11037         * javax/swing/JComponent.java
11038         (listenerList): Initalize globally.
11039         (ancestor_list): Removed.
11040         (veto_list): Removed.
11041         (change_list): Removed.
11042         (get_veto_list): Removed.
11043         (get_change_list): Removed.
11044         (get_ancestor_list): Removed.
11045         (removeAncestorListener): Reimplemented.
11046         (removePropertyChangeListener): Likewise.
11047         (removeVetoableChangeListener): Likewise.
11048         (addAncestorListener): Likewise.
11049         (addPropertyChangeListener): Likewise.
11050         (addVetoableChangeListener): Likewise.
11051         (getListeners): New method.
11052         (getAncestorListeners): Likewise.
11053         (getVetoableChangeListeners): Likewise.
11054         (fireVetoableChange): Throws PropertyVetoException.
11055         * javax/swing/JEditorPane.java
11056         (JEditorPane): Throws IOException.
11057
11058 2004-01-28  David Jee  <djee@redhat.com>
11059
11060         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11061         (create): Set the default foreground color to
11062         java.awt.SystemColor.windowText.
11063
11064 2004-01-27  Michael Koch  <konqueror@gmx.de>
11065
11066         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11067         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11068         Reindented to merge with classpath.
11069
11070 2004-01-27  David Jee  <djee@redhat.com>
11071
11072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11073         (addExposeFilter): Handle GtkFramePeer separately.
11074         (removeExposeFilter): Likewise.
11075
11076 2004-01-27  Michael Koch  <konqueror@gmx.de>
11077
11078         * gnu/java/net/protocol/http/Connection.java
11079         (getOutputStream): Fixed typo.
11080
11081 2004-01-27  Michael Koch  <konqueror@gmx.de>
11082
11083         * java/lang/Class.java
11084         (getConstructor): Removed SecurityException from throws clause.
11085         (_getConstructors): Likewise.
11086         (getConstructors): Likewise.
11087         (getDeclaredConstructor): Likewise.
11088         (getDeclaredClasses): Likewise.
11089         (getDeclaredConstructors): Likewise.
11090         (getDeclaredField): Likewise.
11091         (getDeclaredMethod): Likewise.
11092         (getDeclaredMethods): Likewise.
11093         (getField): Likewise.
11094         (getMethod): Likewise.
11095         (getMethods): Likewise.
11096
11097 2004-01-27  Kim Ho  <kho@redhat.com>
11098
11099         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11100         (removeMenuBarPeer): Remove MenuBarPeer argument.
11101         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11102         (dispose): Call native method.
11103         * java/awt/Frame.java (setMenuBar): Create and remove
11104         MenuBar peers only if the Frame has a peer.
11105         (addNotify): Create the MenuBar peer if one exists.
11106         (removeNotify): Remove MenuBar peer if one exists.
11107         * java/awt/Menu.java: Fix imports.
11108         (addNotify): Don't use full class name.
11109         (removeNotify): Call removeNotify on all children.
11110         * java/awt/MenuBar.java (removeNotify): Call
11111         removeNotify on all children.
11112         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11113         (removeMenuBarPeer): Remove MenuBarPeer argument.
11114         Iterate through children to find the Frame's MenuBar.
11115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11116         New file.
11117         (dispose): Remove references to the MenuComponent.
11118
11119 2004-01-27  Michael Koch  <konqueror@gmx.de>
11120
11121         * javax/swing/AbstractCellEditor.java: Reformated.
11122         * javax/swing/DefaultListSelectionModel.java
11123         (listenerList): Made protected.
11124         (addListSelectionListener): Javadoc added.
11125         (removeListSelectionListener): Likewise.
11126         (getListeners): Likewise.
11127         (getListSelectionListeners): Likewise.
11128         * javax/swing/JComboBox.java: Merged copyright year.
11129         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11130
11131 2004-01-26  Andrew Haley  <aph@redhat.com>
11132
11133         * javax/swing/table/JTableHeader.java: Extend JComponent
11134
11135 2004-01-26  Kim Ho  <kho@redhat.com>
11136
11137         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11138         Fix spacing.
11139
11140 2004-01-26  Kim Ho  <kho@redhat.com>
11141
11142         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11143         method.
11144         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11145         height and let the Layout Managers readjust anything that
11146         needs to move.
11147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11148         (moveLayout): New method. Shift everything in the Gtk
11149         layout in the Y direction by an offset.
11150
11151 2004-01-26  David Jee  <djee@redhat.com>
11152
11153         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11154         (handleEvent): Implemented. Handles PaintEvents.
11155         (paint): Implemented. Use GTK native methods to queue updates
11156         for this heavyweight peer.
11157         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11158         (handleEvent): Removed.
11159         * java/awt/Component.java
11160         (paint): Implemented. Explictly paint the heavyweight peer.
11161         (update): Clear the background for heavyweight components.
11162         (paintAll): No need to call peer.paint() anymore.
11163         (processEvent): Don't process PaintEvents here. It's now done in
11164         the peer's handleEvent().
11165         (processPaintEvent): Removed.
11166         * java/awt/Container.java
11167         (paint): No need to call super.paint(). Visit heavyweight
11168         children as well.
11169         (update): Don't clear the background here.  It's done in
11170         Component.update().
11171         (visitChildren): Added check to not recurse into Containers.
11172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11173         (filter_expose_event_handler): New method.  Filter unwanted
11174         expose events while painting heavyweight peers.
11175         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11176         New method. Connect filter and block pre_event_handler.
11177         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11178         New method. Disconnect filter and unblock pre_event_handler.
11179         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11180         New method. Invalidate and update given area.
11181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11182         (pre_event_handler): Add checks for unwanted expose events.
11183
11184 2004-01-26  David Jee  <djee@redhat.com>
11185
11186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11187         (find_bg_color_widget): For GtkButton, return its child.
11188
11189 2004-01-26  Kim Ho  <kho@redhat.com>
11190
11191         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11192         private.
11193         (setMenuBar): Grab MenuBar height and change insets.
11194         (setBounds): Account for MenuBar height.
11195         (postInsetsChangedEvent): Ditto.
11196         (postSizeAllocateEvent): Remove.
11197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11198         (menubar_resize_cb): Remove
11199         (setMenuBarPeer): Remove callback.
11200         (getMenuBarHeight): Use size requisition instead of
11201         allocation.
11202
11203 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11204
11205         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11206         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11207         when peer is null.
11208         (setColumns): Remove FIXME -- peer will retrieve number of
11209         columns by calling getColumns.
11210         (setRows): Likewise for number of rows.
11211         (next_text_number): New field.
11212         (paramString): Fix param string.
11213         (generateName): New method.
11214         (getUniqueLong): New method.
11215
11216 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11217
11218         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11219         image observer of image loading status.
11220         (getImage (String)): Start image production.
11221         (getImage (URL)): Likewise.
11222
11223 2004-01-25  Michael Koch  <konqueror@gmx.de>
11224
11225         * java/lang/Class.java: Imports reworked, reformated.
11226         (Class): Javadoc added.
11227         (forName): Likewise.
11228         (getClasses): Likewise.
11229         (getClassLoader): Likewise.
11230         (getComponentType): Likewise.
11231         (getConstructor): Likewise.
11232         (getConstructors): Likewise.
11233         (getDeclaredConstructor): Likewise.
11234         (getDeclaredClasses): Likewise.
11235         (getDeclaredConstructors): Likewise.
11236         (getDeclaredField): Likewise.
11237         (getDeclaredMethod): Likewise.
11238         (getDeclaredMethods): Likewise.
11239         (getDeclaringClass): Likewise.
11240         (getField): Likewise.
11241         (getInterfaces): Likewise.
11242         (getMethod): Likewise.
11243         (getMethods): Likewise.
11244         (getModifiers): Likewise.
11245         (getName): Likewise.
11246         (getResource): Likewise.
11247         (getResourceAsStream): Likewise.
11248         (getSigners): Likewise.
11249         (setSigners): Likewise.
11250         (getSuperclass): Likewise.
11251         (isArray): Likewise.
11252         (isAssignableFrom): Likewise.
11253         (isInstance): Likewise.
11254         (isInterface): Likewise.
11255         (isPrimitive): Likewise.
11256         (newInstance): Likewise.
11257         (getProtectionDomain): Likewise.
11258         (toString): Likewise.
11259         (Class): Moved.
11260         (initializeClass): Likewise.
11261         (finalize): Likewise.
11262
11263 2004-01-24  Michael Koch  <konqueror@gmx.de>
11264
11265         * gnu/java/net/protocol/jar/Connection.java
11266         (hdrHash): Removed.
11267         (hdrVec): Removed.
11268         (gotHeaders): Removed.
11269         (getHeaderField): Removed.
11270         (getHeaderFields): Removed.
11271         (getHeaderFieldKey): Removed.
11272         (getKey): Removed.
11273         (getField): Removed.
11274         (getHeaders): Removed.
11275
11276 2004-01-24  Michael Koch  <konqueror@gmx.de>
11277
11278         * Makefile.am: Added library version to gtk peer lib.
11279         * Makefile.in: Regenerated.
11280
11281 2004-01-24  Michael Koch  <konqueror@gmx.de>
11282
11283         * java/util/zip/InflaterInputStream.java: Merged class documentation
11284         with classpath.
11285
11286 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11287
11288         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11289         header.  For __powerpc64__ provide the default-signal.h definitions
11290         for now.
11291         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11292         instead of the dummy definitions.
11293         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11294         (powerpc64*-*): Remove with_libffi_default.
11295         Only add -mminimal-toc for 64-bit compilations.
11296         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11297         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11298         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11299         * configure: Rebuilt.
11300
11301 2004-01-23  Michael Koch  <konqueror@gmx.de>
11302
11303         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11304
11305 2004-01-23  Michael Koch  <konqueror@gmx.de>
11306
11307         * java/lang/VMClassLoader.java: Reworked imports.
11308         
11309 2004-01-23  Michael Koch  <konqueror@gmx.de>
11310
11311         * javax/swing/AbstractAction.java: Reformated.
11312
11313 2004-01-23  Michael Koch  <konqueror@gmx.de>
11314
11315         * java/text/CollationElementIterator.java:
11316         (setText): New method.
11317
11318 2004-01-23  Michael Koch  <konqueror@gmx.de>
11319
11320         * gnu/java/nio/FileLockImpl.java:
11321         Fixed filename in copyright.
11322         (released): Removed.
11323         (finalize): New method.
11324         * gnu/java/nio/natFileLockImpl.cc
11325         (releaseImpl): Implemented.
11326         * java/nio/channels/FileChannelImpl.java:
11327         Reworked imports.
11328         (lock): Implemented.
11329         (lockImpl): New method.
11330         (tryLock): Implemented.
11331         (tryLockImpl): New method.
11332         * java/nio/channels/natFileChannelImpl.cc
11333         (lockImpl): New method.
11334         (tryLockImpl): New method.
11335
11336 2004-01-23  Michael Koch  <konqueror@gmx.de>
11337
11338         * java/io/FileDescriptor.java
11339         (lock): New method.
11340         (tryLock): New method.
11341         (unlock): New method.
11342         * java/io/natFileDescriptorEcos.cc
11343         (lock): New method.
11344         (tryLock): New method.
11345         (unlock): New method.
11346         * java/io/natFileDescriptorPosix.cc
11347         (lock): New method.
11348         (tryLock): New method.
11349         (unlock): New method.
11350         * java/io/natFileDescriptorWin32.cc
11351         (lock): New method.
11352         (tryLock): New method.
11353         (unlock): New method.
11354
11355 2004-01-23  Michael Koch  <konqueror@gmx.de>
11356
11357         * java/io/FileDescriptor.java
11358         (sync): Moved around, added javadoc.
11359         (valid): Likewise.
11360         (open): Likewise.
11361         (write): Likewise.
11362         (close): Likewise.
11363         (setLength): Likewise.
11364         (seek): Likewise.
11365         (getLength): Likewise.
11366         (getFilePointer): Likewise.
11367         (read): Likewise.
11368         (available): Likewise.
11369         (finalize): Likewise.
11370
11371 2004-01-23  Michael Koch  <konqueror@gmx.de>
11372
11373         * javax/swing/AbstractAction.java: Reformated.
11374         (getPropertyChangeListeners): New method.
11375         * javax/swing/AbstractCellEditor.java: Reformated.
11376         (getCellEditorListeners): New method.
11377         * javax/swing/DefaultListSelectionModel.java
11378         (listenerList): New field.
11379         (listeners): Removed.
11380         (get_listeners): Removed.
11381         (addListSelectionListener): Rewritten.
11382         (removeListSelectionListener): Rewritten.
11383         (getListSelectionListeners): New method.
11384         (getListeners): New method.
11385         * javax/swing/JComboBox.java: Imports reworked.
11386         (addActionListener): Implemented.
11387         (removeActionListener): Implemented.
11388         (addItemListener): Implemented.
11389         (removeItemListener): Implemented.
11390         (addPopupMenuListener): Implemented.
11391         (removePopupMenuListener): Implemented.
11392         (getActionListeners): New method.
11393         (getItemListeners): New method.
11394         (getPopupMenuListeners): New method.
11395
11396 2004-01-23  Michael Koch  <konqueror@gmx.de>
11397
11398         * gnu/java/net/protocol/http/Connection.java
11399         (connect): Don't initialize bufferedOutputStream if not needed.
11400         (sendRequest): Set property for content length if content is present.
11401         Write content only if present.
11402         (getOutputStream): Check if already connected, dont connect,
11403         initalize bufferedOutputStream if needed.
11404
11405 2004-01-23  Michael Koch  <konqueror@gmx.de>
11406
11407         * java/io/FileDescriptor.java
11408         (in, out, err): Added javadoc.
11409         (static): Merged loading code.
11410         (fd, position): Moved around.
11411
11412 2004-01-23  Michael Koch  <konqueror@gmx.de>
11413
11414         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11415         New file.
11416
11417 2004-01-23  Michael Koch  <konqueror@gmx.de>
11418
11419         * java/lang/Class.java,
11420         java/lang/Object.java,
11421         java/lang/Thread.java: Merged copyright with classpath.
11422
11423 2004-01-23  Michael Koch  <konqueror@gmx.de>
11424
11425         * java/io/FileDescriptor.java: Merged copyright with classpath to
11426         start merging this class.
11427
11428 2004-01-22  Tom Tromey  <tromey@redhat.com>
11429
11430         PR libgcj/13107:
11431         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11432         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11433         * testsuite/libjava.lang/pr13107_3.java: New file.
11434         * testsuite/libjava.lang/pr13107_3.out: New file.
11435         * testsuite/libjava.lang/pr13107_2.java: New file.
11436         * testsuite/libjava.lang/pr13107_2.out: New file.
11437         * testsuite/libjava.lang/pr13107.java: New file.
11438         * testsuite/libjava.lang/pr13107.out: New file.
11439         * verify.cc (jsr_ptrs): Removed.
11440         (entry_points): Likewise.
11441         (struct subr_info): Likewise.
11442         (struct subr_entry_info): Likewise.
11443         (type_val::unused_by_subroutine_type): Likewise.
11444         (type::merge): Don't handle unused_by_subroutine_type.
11445         (type::print): Likewise.
11446         (state::flags): Removed.
11447         (state::subroutine): Likewise.
11448         (state::seen_subrs): Likewise.
11449         (state::NO_STACK): Likewise.
11450         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11451         (state): Updated all methods.
11452         (state::clean_subrs): Removed.
11453         (state::state): Removed `ret_semantics' flag.
11454         (state::copy): Likewise.
11455         (state::add_subr): Removed.
11456         (state::enter_subroutine): Likewise.
11457         (type::set_return_address): New method.
11458         (handle_jsr_insn): Set return address on the type.  Always
11459         invalidate PC after call.
11460         (check_nonrecursive_call): Removed.
11461         (~_Jv_BytecodeVerifier): Updated.
11462         (branch_prepass): Removed special handling of jsr.
11463         (note_branch_target): Likewise.
11464         (get_subroutine): Removed.
11465         (state::merge): Don't merge subroutines and don't handle
11466         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11467         (state::note_variable): Removed.
11468         (state::is_unmerged_ret_state): Likewise.
11469         (state::print): Updated.
11470         (set_variable): Likewise.
11471         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11472         and jsr_semantics arguments.  Updated for new reverification
11473         list.
11474         (pop_jump): Rewrote.
11475         (construct_primitive_array_type): Updated.
11476         (state::next): Removed.
11477         (INVALID_STATE): New define.
11478         (state::INVALID): Removed.
11479         (state::NO_NEXT): New value.
11480         (state::pc, state::next): New fields.
11481         (state::get_pc): New method.
11482         (next_verify_pc): Removed.
11483         (next_verify_state): New field.
11484         (verify_instructions_0): Always check for falling off end.
11485         (linked): New type.
11486         (linked_utf8): Removed.
11487         (states): Changed type.
11488         (type::state_mergeable_p): New method.
11489         (state::state_mergeable_p): Likewise.
11490         (handle_ret_insn): Removed most code.
11491         (state::reverify): New method.
11492         (add_new_state): Likewise.
11493         (state::set_pc): Likewise.
11494
11495 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11496
11497         PR java/13733
11498         * testsuite/libjava.compile/PR13733.java: New file.
11499         * testsuite/libjava.compile/PR13733.xfail: New file.
11500
11501 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11502             Michael Koch  <konqueror@gmx.de>
11503
11504         * javax/swing/table/DefaultTableCellRenderer.java
11505         (DefaultTableCellRenderer): Added javadoc for the class and for
11506         the constructor, Border instance, create an EmptyBorder.
11507         (UIResource): Removed the comment at the end of the class
11508         (setForeground): New method.
11509         (setBackground): New method.
11510         (updateUI): New method.
11511         (getTableCellRendererComponent): Rewritten with the help of
11512         dvholten and Stephane Meslin-Weber.
11513         (validate): New method.
11514         (repaint): New method.
11515         (firePropertyChange): New method.
11516         (setValue): New method.
11517
11518 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11519
11520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11521         (connectJObject): Replace printf calls with g_assert statements.
11522         Move property-notify-event signal connection to ...
11523         (connectSignals): Connect property-notify-event signal.  Iterate
11524         through the vbox's children to find layout.
11525
11526 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11527         
11528         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11529         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11530         Predicate static initialization on GtkToolkit.useGraphics2D().
11531         * java/awt/Component.java (processPaintEvent): Consume event.
11532         * javax/swing/AbstractButton.java: Reimplement, document.
11533         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11534         * javax/swing/JComponent.java (paint): Use double buffer.
11535         (listenerList): Enable member.
11536         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11537         * javax/swing/JToggleButton.java 
11538         (JToggleButton): Modify model constructor.
11539         * javax/swing/SwingUtilities.java 
11540         (layoutCompoundLabel): Adjust arithmetic.
11541         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11542         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11543         (getPreferredButtonSize): Include margins in calculation.
11544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11545         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11546         Receive up events from subordinate layout component.
11547
11548 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11549
11550         * java/awt/Component.java (show): Set visible to true before
11551         showing the peer.
11552
11553 2004-01-21  Kim Ho  <kho@redhat.com>
11554
11555         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11556         Fix comments.
11557         (removeMenuBarPeer): Make package private.
11558         (setMenuBarPeer): Make package private.
11559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11560         (menubar_resize_cb): Mark attributes unused.
11561         (getMenuBarHeight): ditto.
11562
11563 2004-01-21  David Jee  <djee@redhat.com>
11564
11565         * java/awt/Container.java
11566         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11567         dispatching MOUSE_ENTERED event twice. Translate the point for
11568         the mouse event target before dispatching the event.
11569
11570 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11571
11572         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11573         lib_org_w3c_dom_la_LDFLAGS): New.
11574         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11575         * Makefile.in: Rebuilt.
11576
11577 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11578
11579         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11580         Calculate proper offsets for heavyweight components packed in
11581         lightweight containers.
11582
11583         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11584         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11585         (native create): Add width parameter.
11586         (create): Calculate text entry width based on current font's
11587         metrics and number of columns.  Set TextField's font if not
11588         already set.  Call native create.
11589         (gtkEntryGetBorderWidth): New native method.
11590         (gtkEntryGetSize): Remove method.
11591         (getMinimumSize): Call minimumSize.
11592         (getPreferredSize): Call preferredSize.
11593         (minimumSize): Calculate minimum size based on backing
11594         GtkEntry's borders, font metrics and number of columns.
11595         (preferredSize): Likewise for preferred size.
11596         (get_border_width): New static function.
11597
11598         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11599         Override GtkWindowPeer's setResizable method to account for menu
11600         bar height when setting the frame's size.
11601
11602 2004-01-19  Matthias Klose  <doko@debian.org>
11603
11604         * libtool-version: Increased `current' to 6.
11605
11606 2004-01-19  Kim Ho  <kho@redhat.com>
11607
11608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11609         (connectJObject): Iterate through the vbox's children to find layout.
11610
11611 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11612
11613         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11614         isDispatchThread method to replace wrong test condition.
11615
11616 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11617
11618         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11619         events to the queue out of order by acquiring locks in the proper
11620         order and not by releasing one before acquiring the other.
11621
11622 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11623
11624         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11625         visible so that dialog can be reused.
11626
11627 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11628
11629         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11630         events may be handled by any queue in the stack.
11631
11632 2004-01-19  Kim Ho  <kho@redhat.com>
11633
11634         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11635         MenuBarPeer parameter.
11636         (removeMenuBarPeer): New native method.
11637         (setMenuBar): Call remove if menu bar is null. Adjust insets
11638         appropriately.
11639         (postSizeAllocateEvent): New method. Called when menu bar size is
11640         allocated. Adjust insets and redo layout.
11641         (GtkFramePeer): Set menu bar during frame creation.
11642         (postConfigureEvent): Adjust position and size to accomodate
11643         menu bar.
11644         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11645         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11646         (addNotify): Create the peer if it doesn't exist and call addNotify
11647         for the menu's items.
11648         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11649         * java/awt/MenuItem.java (addNotify): Create the peer if it
11650         doesn't exist.
11651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11652         (removeMenuBarPeer): New method. Remove menu bar on the current
11653         frame.
11654         (setMenuBarPeer): Add the menu bar to the current frame and the
11655         callback for size-allocate events on the menu bar.
11656         (getMenuBarHeight): Add menu bar parameter.
11657         (menubar_resize_cb): New callback method for postSizeAllocate events.
11658
11659         Also: Fix indentation on last ChangeLog entry.
11660
11661 2004-01-16  Kim Ho  <kho@redhat.com>
11662
11663         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11664         (gtkWidgetGetDimensions): Remove.
11665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11666         (gtkWidgetGetDimensions): Remove.
11667
11668 2004-01-16  Tom Tromey  <tromey@redhat.com>
11669
11670         * java/awt/Container.java: Typo and indentation fixes.
11671
11672         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11673         * java/lang/natVMClassLoader.cc: ...here.  New file.
11674         * Makefile.in: Rebuilt.
11675         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11676
11677 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11678
11679         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11680         Discard GDK_ENTER_NOTIFY related to ungrabs.
11681
11682 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11683
11684         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11685         is called for an intermediate queue.
11686
11687 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11688
11689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11690         (window_property_changed_cb): Set id_set.
11691
11692 2004-01-16  Kim Ho  <kho@redhat.com>
11693
11694         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11695         it is a FileDialog and has dimensions of 0 by 0, then the initial
11696         size is set to size request plus insets.
11697         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11698         (gtkWidgetGetDimensions): Override method.
11699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11700         (gtkWidgetGetDimensions): Override method. Returns size request plus
11701         insets.
11702
11703 2004-01-16  Andrew Haley  <aph@redhat.com>
11704
11705         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11706         * sysdep/i386/locks.h: Likewise.
11707
11708 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11709
11710         * java/awt/EventDispatchThread.java (run): Stop running when
11711         interrupted.
11712         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11713         Reset the queue after transferring its contents.
11714         (push): Start a new dispatch thread if none is running.
11715
11716 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11717
11718         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11719         (doPolygon): set fill rule of polygon to 
11720         WIND_EVEN_ODD by default.
11721
11722 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11723
11724         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11725         Implemented rendering hints related methods.
11726         (getDefaultHints): New helper method. Returns
11727         default rendering hints.
11728         (walkPath): changed to normalize path if
11729         the KEY_STROKE_CONTROL key is in "normalize" mode.
11730         (draw3DRect): changed coordinates of rectangle by +0.5
11731         if in "normalize" mode.
11732
11733 2004-01-15  Tom Tromey  <tromey@redhat.com>
11734
11735         * Makefile.in: Rebuilt.
11736         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11737         (%.lo: %.java) Filter out StackTrace.lo.
11738
11739 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11740
11741         * configure.in: Add in AC_PREREQ(2.13)
11742         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11743         FIXME comment.
11744
11745 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11746             Tom Tromey  <tromey@redhat.com>
11747
11748         PR libgcj/12001:
11749         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11750         array to superclass.
11751         (init): Changed interface; add URLs here.
11752         (initialize): New static method.
11753         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11754         (_Jv_RunMain): ... not here.
11755
11756 2004-01-14  Michael Koch  <konqueror@gmx.de>
11757
11758         * java/text/MessageFormat.java:
11759         Added descriptions to exceptions.
11760         This fixes PR libgcj/2429.
11761
11762 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11763
11764         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11765         (push): Make sure push is performed at the top of the thread stack.
11766
11767 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11768
11769         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11770         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11771         (native create): Add width and height parameters.  Set text
11772         view's size request according to new parameters.
11773         (create): Calculate text view size based on current font's
11774         metrics and number of rows and columns.  Set TextArea's font if
11775         not already set.  Call native create.
11776         (getMinimumSize): Call minimumSize.
11777         (getPreferredSize): Call preferredSize.
11778         (getHScrollbarHeight): New method.
11779         (getVScrollbarWidth): New method.
11780         (minimumSize): Calculate minimum size based on scrollbar
11781         visibility, scrollbar sizes, font metrics and number of rows and
11782         columns.
11783         (preferredSize): Likewise for preferred size.
11784         (gtkTextGetSize): Remove method.
11785
11786 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11787
11788         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11789         (initializeInsets): Remove method.
11790         (GtkComponentPeer): Initialize insets field.  Remove call to
11791         initializeInsets.
11792         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11793         Remove method.
11794         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11795         Remove method.
11796         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11797         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11798         (latestInsets): Remove field.
11799         (native create): Add insets parameter.  Call
11800         window_get_frame_extents.  Set the window's default size and
11801         size request based on its frame extents.
11802         (create): Initialize insets.
11803         (postInsetsChangedEvent): New method.
11804         (postConfigureEvent): Remove parameters top, left, bottom,
11805         right.  Remove insets-related logic.
11806         (connectJObject): Handle property-notify-event.
11807         (window_get_frame_extents, request_frame_extents,
11808         property_notify_predicate, window_property_changed_cb): New
11809         static functions.
11810         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11811         (pre_event_handler): Remove insets-related logic for configure
11812         events.
11813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11814         Update postConfigureEvent signature.
11815
11816 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11817  
11818         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11819         to handle Window "Closing" events.
11820  
11821 2004-01-13  David Jee  <djee@redhat.com>
11822
11823         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11824         (setBackground): New method. Children with no explicitly-set
11825         background will be repainted with the parent container's new
11826         background color.
11827
11828 2004-01-13  David Jee  <djee@redhat.com>
11829
11830         * Makefile.am: Add BitwiseXORComposite.java.
11831         * Makefile.in: Regenerated.
11832         * gcj/Makefile.in: Regenerated.
11833         * include/Makefile.in: Regenerated.
11834         * testsuite/Makefile.in: Regenerated.
11835
11836 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11837
11838         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11839         not show modal dialogs twice and so that it allows showing a modal
11840         dialog from another modal dialog.
11841
11842 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11843
11844         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11845         and run secondary dispatch thread to process event queue while this
11846         thread is blocked.
11847
11848 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11849
11850         * gnu/java/awt/gtk/GdkGraphics2D.java
11851         (static): Check GtkToolkit before initializing static state.
11852         (Graphics2D): Don't construct transform with 0.5 unit offset.
11853
11854 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11855
11856         * gnu/java/awt/BitwiseXORComposite.java: Add.
11857         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11858         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11859         (BitwiseXORComposite): Remove inner class.
11860
11861 2004-01-11  Michael Koch  <konqueror@gmx.de>
11862
11863         * gnu/java/lang/reflect/TypeSignature.java
11864         (getEncodingOfClass): Documentation fixed.
11865         (getClassForEncoding): Give class loader to Class.forName().
11866         Documentation fixed.
11867
11868 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11869
11870         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11871
11872 2004-01-11  Michael Koch  <konqueror@gmx.de>
11873
11874         * javax/swing/undo/StateEditable.java
11875         (RCSID): Removed redundant modifiers.
11876
11877 2004-01-10  Michael Koch  <konqueror@gmx.de>
11878
11879         * javax/print/attribute/EnumSyntax.java
11880         (getStringTable): Made protected.
11881         (getEnumValueTable): Likewise.
11882         * javax/print/attribute/standard/JobKOctetsProcessed.java
11883         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11884         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11885         (JobMediaSheetsCompleted): Made class final.
11886         * javax/print/attribute/standard/OutputDeviceAssigned.java
11887         (getName): Fixed typo.
11888         * javax/print/attribute/standard/RequestingUserName.java
11889         (serialVersionUID): Fixed value.
11890
11891 2004-01-10  Michael Koch  <konqueror@gmx.de>
11892
11893         * javax/swing/plaf/basic/BasicButtonUI.java,
11894         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11895         javax/swing/plaf/basic/BasicListUI.java,
11896         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11897         javax/swing/plaf/basic/BasicPanelUI.java,
11898         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11899         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11900         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11901         javax/swing/plaf/basic/BasicViewportUI.java:
11902         Fixed import statements.
11903
11904 2004-01-10  Michael Koch  <konqueror@gmx.de>
11905
11906         * gnu/java/awt/image/ImageDecoder.java
11907         (produce): Made public.
11908         * gnu/java/awt/peer/GLightweightPeer.java,
11909         gnu/java/awt/peer/gtk/GtkToolkit.java:
11910         Reformated.
11911
11912 2004-01-10  Michael Koch  <konqueror@gmx.de>
11913
11914         * javax/swing/JRadioButtonMenuItem.java,
11915         javax/swing/JSeparator.java,
11916         javax/swing/JSplitPane.java,
11917         javax/swing/JTextPane.java,
11918         javax/swing/JToolBar.java,
11919         javax/swing/ListCellRenderer.java,
11920         javax/swing/ListModel.java,
11921         javax/swing/MenuElement.java,
11922         javax/swing/OverlayLayout.java,
11923         javax/swing/ProgressMonitor.java,
11924         javax/swing/ProgressMonitorInputStream.java,
11925         javax/swing/Renderer.java,
11926         javax/swing/RootPaneContainer.java,
11927         javax/swing/Scrollable.java,
11928         javax/swing/SingleSelectionModel.java,
11929         javax/swing/ToolTipManager.java,
11930         javax/swing/ViewportLayout.java,
11931         javax/swing/event/DocumentEvent.java,
11932         javax/swing/event/SwingPropertyChangeSupport.java,
11933         javax/swing/event/TreeSelectionEvent.java,
11934         javax/swing/event/UndoableEditEvent.java,
11935         javax/swing/text/AbstractDocument.java,
11936         javax/swing/text/AttributeSet.java,
11937         javax/swing/text/Caret.java,
11938         javax/swing/text/ComponentView.java,
11939         javax/swing/text/DefaultCaret.java,
11940         javax/swing/text/DefaultEditorKit.java,
11941         javax/swing/text/Document.java,
11942         javax/swing/text/EditorKit.java,
11943         javax/swing/text/GapContent.java,
11944         javax/swing/text/Keymap.java,
11945         javax/swing/text/MutableAttributeSet.java,
11946         javax/swing/text/PlainEditorKit.java,
11947         javax/swing/text/Segment.java,
11948         javax/swing/text/Style.java,
11949         javax/swing/text/StyledDocument.java,
11950         javax/swing/text/StyledEditorKit.java,
11951         javax/swing/text/TextAction.java,
11952         javax/swing/text/View.java: Fixed import statements.
11953
11954 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11955
11956         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11957         djee@redhat.com's recent inverse ordering of Container elements.
11958
11959 2004-01-09  Michael Koch  <konqueror@gmx.de>
11960
11961         * gnu/java/lang/ArrayHelper.java
11962         (equalsArray): Removed.
11963
11964 2004-01-09  Andrew Haley  <aph@redhat.com>
11965
11966         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11967         a Utf8Const field before looking at its class.
11968
11969 2004-01-09  Michael Koch  <konqueror@gmx.de>
11970
11971         * javax/print/attribute/standard/DocumentName.java,
11972         javax/print/attribute/standard/JobHoldUntil.java,
11973         javax/print/attribute/standard/JobMessageFromOperator.java,
11974         javax/print/attribute/standard/JobName.java,
11975         javax/print/attribute/standard/JobOriginatingUserName.java,
11976         javax/print/attribute/standard/OutputDeviceAssigned.java,
11977         javax/print/attribute/standard/PrinterInfo.java,
11978         javax/print/attribute/standard/PrinterLocation.java,
11979         javax/print/attribute/standard/PrinterMakeAndModel.java,
11980         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11981         javax/print/attribute/standard/PrinterName.java,
11982         javax/print/attribute/standard/RequestingUserName.java: New files.
11983         * Makefile.am (javax_source_files): Added new files.
11984         * Makefile.in: Regenerated.
11985
11986 2004-01-09  Michael Koch  <konqueror@gmx.de>
11987
11988         * javax/swing/AbstractAction.java,
11989         javax/swing/AbstractSet.java,
11990         javax/swing/Action.java,
11991         javax/swing/ActionMap.java,
11992         javax/swing/BoundedRangeModel.java,
11993         javax/swing/ButtonModel.java,
11994         javax/swing/CellEditor.java,
11995         javax/swing/CellRendererPane.java,
11996         javax/swing/ComboBoxEditor.java,
11997         javax/swing/DebugGraphics.java,
11998         javax/swing/DefaultCellEditor.java,
11999         javax/swing/DefaultCellRenderer.java,
12000         javax/swing/DefaultComboBoxModel.java,
12001         javax/swing/DefaultDesktopManager.java,
12002         javax/swing/DefaultFocusManager.java,
12003         javax/swing/DefaultListCellRenderer.java,
12004         javax/swing/Icon.java,
12005         javax/swing/JButton.java,
12006         javax/swing/JCheckBoxMenuItem.java,
12007         javax/swing/JDesktopPane.java,
12008         javax/swing/JEditorPane.java,
12009         javax/swing/JMenu.java,
12010         javax/swing/JPanel.java,
12011         javax/swing/JPasswordField.java,
12012         javax/swing/JPopupMenu.java,
12013         javax/swing/JProgressBar.java: Reworked imports.
12014
12015 2004-01-09  Michael Koch  <konqueror@gmx.de>
12016
12017         * java/awt/geom/PathIterator.java
12018         (WIND_EVEN_ODD): Removed redundant modifiers.
12019         (WIND_NON_ZERO): Likewise.
12020         (SEG_MOVETO): Likewise.
12021         (SEG_LINETO): Likewise.
12022         (SEG_QUADTO): Likewise.
12023         (SEG_CUBICTO): Likewise.
12024         (SEG_CLOSE): Likewise.
12025         * java/awt/image/SinglePixelPackedSampleModel.java:
12026         Removed redundant semicolon.
12027         * java/io/ObjectInputStream.java
12028         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12029         * java/util/logging/Filter.java
12030         (isLoggable): Removed redundant modifier.
12031         * java/util/logging/LogManager.java:
12032         Removed redundant semicolon.
12033         * java/util/logging/XMLFormatter.java
12034         (format): Removed unused variable "key".
12035
12036 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12037
12038         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12039         New name for the former setFile native method.
12040         (setFile): New method.
12041         (setDirectory): Implemented.
12042         (connectSignals): New native method.
12043         (setFilenameFilter): Improve comment.
12044         (getGraphics): Comment.
12045         (gtkHideFileDialog): New method.
12046         (gtkDisposeFileDialog): New method.
12047         (gtkSetFilename): New method.
12048         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12049         for FileDialog for now.
12050         (hide): New method.
12051         (dispose): New method.
12052         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12053         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12054         deprecated creation functions.  Make dialog modal.  Add it to the
12055         window group.
12056         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12057         function.
12058         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12059         Rename to...
12060         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12061         name.
12062         (window_closed): New function.
12063         (ok_clicked): New function.
12064         (cancel_clicked): New function.
12065
12066 2004-01-08  Michael Koch  <konqueror@gmx.de>
12067
12068         * javax/swing/JLayeredPane.java: Revert changes to standard
12069         boilerplate, reworked imports.
12070
12071 2004-01-07  Tom Tromey  <tromey@redhat.com>
12072
12073         PR libgcj/13439:
12074         * verify.cc (state::merge): Copy changed locals out of subroutine
12075         in NO_STACK case.
12076         (state::FLAG_CHANGED): New const.
12077         (state::FLAG_UNUSED): Likewise.
12078         (state::local_changed): Removed.  Updated all users.
12079         (state::flags): New field.
12080         (state::merge): Added jsr_semantics argument, more logic.
12081         (push_jump_merge): Added jsr_semantics argument.
12082         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12083         merging through the jsr instruction.
12084
12085 2004-01-07  Tom Tromey  <tromey@redhat.com>
12086
12087         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12088         backslash-newline.
12089
12090 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12091
12092         * java/awt/Container.java (LightweightDispatcher): Implement.
12093         (visitChild): Reuse graphics object.
12094         (dispatchEventImpl): Optionally dispatch to lightweight.
12095         (addNotifyContainerChildren): Build LightweightDispatcher.
12096
12097 2004-01-07  David Jee  <djee@redhat.com>
12098
12099         * java/awt/Container.java
12100         (update): Clear only the clipped region, instead of clearing the
12101         entire Container.
12102         (visitChildren): Visit children in descending order.
12103
12104 2004-01-07  Michael Koch  <konqueror@gmx.de>
12105
12106         * java/lang/reflect/Array.java: Merged documentation with classpath.
12107
12108 2004-01-07  Michael Koch  <konqueror@gmx.de>
12109
12110         * java/text/CollationElementIterator.java
12111         (textIndex): Renamed from index.
12112         * java/text/CollationKey.java
12113         (collator): New member.
12114         (CollationKey): New argument for parent collator.
12115         (equals): Check for same collator, source string and key array.
12116         * java/text/RuleBasedCollator.java:
12117         Reformated.
12118         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12119         value.
12120         (getCollationElementIterator): Rewritten.
12121         (getCollationKey): Added new argument to CollationKey constructor.
12122
12123 2004-01-07  Michael Koch  <konqueror@gmx.de>
12124
12125         * gnu/java/nio/DatagramChannelImpl.java
12126         (blocking): Removed.
12127         (DatagramChannelImpl): Call configureBlocking().
12128         (implConfigureBlocking): Dont initialize blocking.
12129         * gnu/java/nio/ServerSocketChannelImpl.java
12130         (blocking): Removed.
12131         (ServerSocketChannelImpl): Call configureBlocking().
12132         (implConfigureBlocking): Dont initialize blocking.
12133         * gnu/java/nio/SocketChannelImpl.java
12134         (blocking): Removed.
12135         (SocketChannelImpl): Call configureBlocking().
12136         (implConfigureBlocking): Dont initialize blocking.
12137         (connect): Use isBlocking().
12138         * java/nio/channels/spi/AbstractSelectableChannel.java
12139         (configureBlocking): Use blockingLock() instead of LOCK.
12140         Set blocking after successfully called implConfigureBlocking().
12141         (register): Use blockingLock() instead of LOCK.
12142
12143 2004-01-07  Michael Koch  <konqueror@gmx.de>
12144
12145         * java/net/ServerSocket.java (isBound): Fixed documentation.
12146
12147 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12148
12149         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12150         (changeEvent): Create event object on demand.
12151         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12152         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12153         fireStateChanged): Re-written.
12154         * javax/swing/event/EventListenerList.java: Reformatted, document
12155         typical usage.
12156         (toString): Implemented.
12157         (getListeners): Re-written.
12158         (remove): Re-written.
12159         (add): Re-written.
12160         (NO_LISTENERS): New singleton field.
12161         (listenerList): Declare as transient; document.
12162         (serialVersionUID): Document.
12163         (getListenerCount(Class)): More efficient implementation,
12164         also accepts null argument.  Improve Javadoc.
12165         (getListenerCount()): Remove unnecessary cast; docfix.
12166         * javax/swing/undo/UndoableEditSupport.java:
12167         Re-format, document.
12168         (UndoableEditSupport): Set realSource field. Improve documentation.
12169         (_postEdit): Iterate over cloned listener vector.
12170         (toString): Don't emit realSource.
12171         (beginUpdate, endUpdate): Support nested updates.
12172         (postEdit): Use compound edit if present.
12173
12174 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12175
12176         * java/awt/Container.java (swapComponents): Add forgotten
12177         function, required for JLayeredPane change.
12178
12179 2004-01-06  Michael Koch  <konqueror@gmx.de>
12180
12181         * java/text/CollationElementIterator.java: Reformated.
12182         (CollationElementIterator): Changed order of arguments.
12183         * java/text/RuleBasedCollator.java
12184         (RuleBasedCollator): Merged class documentation.
12185         (CollationElement): Added documentation.
12186         (compare): Reformated, renamed arguments.
12187         (equals): Likewise.
12188         (getCollationElementIterator): Likewise.
12189         (getCollationKey): Likewise.
12190
12191 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12192
12193         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12194
12195 2004-01-06  Michael Koch  <konqueror@gmx.de>
12196
12197         * gnu/java/net/protocol/file/Connection.java:
12198         Reformated copyright.
12199         (hdrHash): Removed.
12200         (hdrVec): Removed.
12201         (gotHeaders): Removed.
12202         (getHeaderField): Removed.
12203         (getHeaderField): Removed.
12204         (getHeaderFieldKey): Removed.
12205         (getKey): Removed.
12206         (getField): Removed.
12207         (getHeaders): Removed.
12208
12209 2004-01-06  Michael Koch  <konqueror@gmx.de>
12210
12211         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12212         javax/print/attribute/standard/DateTimeAtCreation.java,
12213         javax/print/attribute/standard/DateTimeAtProcessing.java,
12214         javax/print/attribute/standard/JobImpressionsCompleted.java,
12215         javax/print/attribute/standard/JobKOctets.java,
12216         javax/print/attribute/standard/JobKOctetsProcessed.java,
12217         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12218         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12219         * Makefile.am (javax_source_files): Added new files.
12220         * Makefile.in: Regenerated.
12221
12222 2004-01-06  Michael Koch  <konqueror@gmx.de>
12223
12224         * java/net/URLConnection.java
12225         (contentHandler): Removed.
12226         (locale): Removed.
12227         (getHeaderFields): Return an empty map instead of null.
12228         (getContent): Connect if needed, renamed "cType" to "type" and
12229         "contentHandler" to "ch" and made it a local variable.
12230         (getPermission): Don't use package in class name.
12231         (setDefaultRequestProperty): Fixed typo in documentation.
12232         (initializeDateFormats): Made locale a local variable.
12233
12234 2004-01-06  Michael Koch  <konqueror@gmx.de>
12235
12236         * java/lang/Package.java
12237         (getPackage): Get the current class loader directly.
12238         * java/lang/SecurityManager.java
12239         (currentLoadedClass): Dont iterate over class contexts.
12240         (classLoaderDepth): Don't check class loaders if everything is allowed.
12241
12242 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12243
12244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12245         (pre_event_handler): Set all insets to 0 when a Configure event
12246         is received for a GtkPlug.
12247         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12248         Make handle long, not int.
12249         (EmbeddedWindow()): New constructor.
12250         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12251         long, not int.
12252         (setHandle): New method.
12253         (getHandle): Return long, not int.
12254         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12255         declaration.
12256         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12257         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12258         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12259         argument to GdkNativeWindow.
12260         (construct): New method.
12261         (embed): New method.
12262
12263         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12264         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12265         (create(int, int)): New method.
12266         (create): Call new create method.
12267         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12268         methods.
12269         (childResized): Remove native implementation.  Implement in
12270         Java.
12271         (getHScrollbarHeight, getVScrollbarWidth): Call
12272         gtk_widget_size_request to get scrollbar dimensions.
12273         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12274         call getVScrollbarWidth and getHScrollbarHeight when vertical
12275         and horizontal scrollbars respectively are needed.
12276         (doLayout): Enlarge child if it is smaller than the viewport.
12277
12278 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12279
12280         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12281         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12282         argument as per spec.
12283
12284 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12285
12286         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12287         (insert): Ditto.
12288         (remove): Ditto.  Also, Check for valid argument.
12289         (removeAll): Use peer interface method.
12290         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12291         native add function.
12292         (nativeRemove): New name for native remove function.
12293         (getHistory): New native function.
12294         (constructor): Generate ItemEvent.
12295         (add): Ditto, if selection is changed.
12296         (remove): Ditto, ditto.
12297         (removeAll): Add implementation.
12298         (handleEvent): Remove.  Dead code.
12299         (choicePostItemEvent): Add comment.
12300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12301         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12302         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12303         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12304         comments and fix condition to change selection.
12305         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12306         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12307         remove all capability.
12308         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12309         (item_activate): Add cast to remove compiler warning.
12310
12311 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12312
12313         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12315         (getPreferredSize): Call preferredSize.
12316         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12317         (getMinimumSize): Call minimumSize.
12318         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12319         (gtkWidgetGetDimensions): Return the peer widget's current size
12320         request.
12321         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12322         natural size request.
12323
12324 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12325
12326         Thanks to Brian Gough <bjg@network-theory.com>
12327         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12328         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12329
12330 2004-01-04  Matthias Klose  <doko@debian.org>
12331
12332         * aclocal.m4: Rebuilt using "aclocal -I .".
12333         * configure: Rebuilt.
12334
12335 2004-01-03  Per Bothner  <per@bothner.com>
12336
12337         * java/util/Date.java (parse):  Fix a number of problems.
12338         (skipParens):  Remove no-longer-needed method.
12339