]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
sum_diff.cc: Use VERIFY.
[gcc.git] / libjava / ChangeLog
CommitLineData
c4cb37ea
MK
12004-11-18 Michael Koch <konqueror@gmx.de>
2
3 * java/net/URLClassLoader.java: Whitespace cleanup.
4
fbddd18f
RS
52004-11-18 Robert Schuster <address@bogus.example.com>
6
7 Complete 1.4 support
8 * java/beans/PropertyDescriptor.java:
9 (setReadMethod): New method
10 (setWriteMethod): New method
11 (equals): Implemented (1.4)
12 (checkMethods): operates on arguments now (private)
13
14
4fdb8244
MR
152004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
16
17 * java/net/Inet6Address.java (getHostAddress): Fix textual
18 representation of IPv6 address with embedded zeroes
19 to conform to RFC 2373.
20
a7349816
JF
212004-11-18 Jeroen Frijters <address@bogus.example.com>
22
23 * java/lang/StackTraceElement.java: Made final.
24 * java/nio/channels/Channels.java: Added private constructor.
25 * java/rmi/Naming.java: Added private constructor.
26 * java/rmi/registry/LocateRegistry.java: Added private constructor.
27 * java/rmi/server/RMIClassLoader.java: Added private constructor.
28 * java/security/KeyPairGeneratorSpi.java
29 (clone): Made protected and simplified implementation.
30 * java/text/DateFormat.java
31 (allFields): Made package accessible.
32 * java/text/DecimalFormat.java
33 (formatInternal): Made private.
34 * java/text/Format.java
35 (formatInternal): Made private.
36 * java/util/logging/Handler.java: Made constructor protected.
37 * java/util/regex/Matcher.java: Made final.
38 * java/util/regex/Pattern.java: Made final.
39 * javax/crypto/CipherInputStream.java
40 (mark): Corrected mark parameter type (from long to int).
41 * javax/crypto/ExemptionMechanism.java
42 (finalize): Added.
43 * javax/crypto/Mac.java
44 (getMacLength): Made final.
45 (clone): Made final.
46 * javax/imageio/ImageIO.java: Added private constructor.
47 * javax/imageio/stream/ImageInputStreamImpl.java
48 (checkClosed): Made final.
49 * javax/net/ssl/SSLPermission.java: Made final.
50 * javax/print/DocFlavor.java
51 (hostEncoding): Added work-around to prevent the field from being
52 a compile time constant.
53 * javax/print/attribute/AttributeSetUtilities.java: Added private
54 constructor.
55 (UnmodifiableDocAttributeSet): Made private.
56 (UnmodifiablePrintJobAttributeSet): Made private.
57 (UnmodifiablePrintRequestAttributeSet): Made private.
58 (UnmodifiablePrintServiceAttributeSet): Made private.
59 (SynchronizedAttributeSet): Made private.
60 (SynchronizedDocAttributeSet): Made private.
61 (SynchronizedPrintJobAttributeSet): Made private.
62 (SynchronizedPrintRequestAttributeSet): Made private.
63 (SynchronizedPrintServiceAttributeSet): Made private.
64 * javax/security/auth/PrivateCredentialPermission.java: Made final.
65
f0b4747b
CB
662004-11-18 Craig Black <craig.black@aonix.com>
67
68 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
69
21a0c6e0
KL
702004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
71
72 * Makefile.am: Correct friend function declaration.
73 * Makefile.in: Regenerated.
74 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
75 scope to function names. Declare functions directly.
76 * libjava/java/lang/Class.h
77 (java::lang::Class): Correct friend class declaration.
78 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
79 scope.
80 * libjava/java/lang/Class.h
81 (java::lang::Object): Correct friend class declaration.
82
188cd44d
DD
832004-11-17 David Daney <ddaney@avtrex.com>
84
85 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
86
ff6e1bc0
MK
872004-11-17 Michael Koch <konqueror@gmx.de>
88
89 * java/net/Socket.java (getPort): Return 0 in error case.
90
4dbbd945
MK
912004-11-17 Michael Koch <konqueror@gmx.de>
92
93 * java/nio/DirectByteBufferImpl.java
94 (owner): Updated comment.
95 (allocate): New method.
96
f6bf324d
MK
972004-11-17 Michael Koch <konqueror@gmx.de>
98
99 * java/net/URL.java (URL): Handle case when argument is null.
100
866212e7
MK
1012004-11-17 Michael Koch <konqueror@gmx.de>
102
103 * java/beans/Beans.java,
104 java/beans/PropertyChangeEvent.java,
105 java/beans/PropertyEditorSupport.java:
106 Fixed javadocs.
107
2cc07ffc
MK
1082004-11-17 Michael Koch <konqueror@gmx.de>
109
110 * java/util/Timer.java (DEFAULT_SIZE): Made static.
111
879245b6
MK
1122004-11-17 Michael Koch <konqueror@gmx.de>
113
114 * java/net/InetAddress.java (getCanonicalHostName):
115 Support IPv6 addresses.
116
0b434932
MK
1172004-11-16 Michael Koch <konqueror@gmx.de>
118
119 * java/lang/Object.java: Added javadocs all over (merged from GNU
120 classpath).
121
fd9065b2
AT
1222004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
123
124 * java/security/Security.java (Security): Silence the warning about no
125 providers found in the no debug case.
126
0a56af0b
MK
1272004-11-16 Michael Koch <konqueror@gmx.de>
128
129 * java/net/InetAddress.java
130 (toString): Merged from GNU classpath.
131
c1d36a89
MK
1322004-11-16 Michael Koch <konqueror@gmx.de>
133
134 * java/awt/geom/doc-files/Area-1.png,
135 java/awt/geom/doc-files/Ellipse-1.png,
136 java/awt/geom/doc-files/GeneralPath-1.png:
137 New files.
138
83e620bb
MK
1392004-11-16 Michael Koch <konqueror@gmx.de>
140
141 * java/util/Currency.java (cache): Fix modifier order.
142
be06f47b
MK
1432004-11-16 Michael Koch <konqueror@gmx.de>
144
145 * java/io/BufferedReader.java,
146 java/io/FileInputStream.java,
147 java/io/FileOutputStream.java,
148 java/io/FileWriter.java,
149 java/io/OutputStreamWriter.java,
150 java/io/PipedInputStream.java,
151 java/io/PipedOutputStream.java,
152 java/io/PipedReader.java,
153 java/io/PipedWriter.java,
154 java/io/PrintStream.java,
155 java/io/PushbackInputStream.java,
156 java/io/RandomAccessFile.java,
157 java/io/Reader.java,
158 java/io/StreamTokenizer.java,
159 java/io/StringReader.java,
160 java/net/NetworkInterface.java,
161 java/net/URLClassLoader.java,
162 java/nio/ByteOrder.java,
163 java/nio/channels/Channel.java:
164 Fixed javadocs all over.
165
6917e657
AT
1662004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
167
168 * Makefile.am: Add imported files.
169 * Makefile.in: Regenerate.
170
171 2004-10-24 Casey Marshall <csm@gnu.org>
172
173 * javax/security/auth/login/LoginContext.java: Implemented.
174 * javax/security/auth/login/Configuration.java (getConfig): New method.
175 * javax/security/auth/spi/LoginModule.java,
176 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
177
50714886
AT
1782004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
179
180 Import/Merge the X.509 certificate code from Classpath.
181
182 * Makefile.am: Add imported files.
183 * Makefile.in: Regenerate.
184
185 2004-11-07 Casey Marshall <csm@gnu.org>
186
187 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
188 priviliged action. Add new algorithms.
189 * gnu/java/security/provider/X509CertificateFactory.java
190 (engineGenerateCertificate): Chain exceptions.
191 (engineGenerateCertificates): Likewise.
192 (engineGenerateCRL): Likewise.
193 (engineGenerateCRLs): Likewise.
194 (engineGenerateCertPath): New methods.
195 (generateCert): Throw exception if 'inStream' is null.
196 (generateCRL): Likewise.
197 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
198 version from GNU Crypto CVS.
199 * gnu/java/security/x509/X509CRL.java: Likewise.
200 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
201 * gnu/java/security/x509/X509Certificate.java: Likewise.
202 * java/security/cert/TrustAnchor.java: Call 'toString' and not
203 toRFC2253.
204 * gnu/java/security/provider/CollectionCertStoreImpl.java,
205 * gnu/java/security/provider/EncodedKeyFactory.java,
206 * gnu/java/security/provider/GnuDHPublicKey.java,
207 * gnu/java/security/provider/GnuRSAPrivateKey.java,
208 * gnu/java/security/provider/GnuRSAPublicKey.java,
209 * gnu/java/security/provider/MD2withRSA.java,
210 * gnu/java/security/provider/MD4withRSA.java,
211 * gnu/java/security/provider/MD5withRSA.java,
212 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
213 * gnu/java/security/provider/RSA.java,
214 * gnu/java/security/provider/RSAKeyFactory.java,
215 * gnu/java/security/provider/SHA1withRSA.java,
216 * gnu/java/security/x509/GnuPKIExtension.java,
217 * gnu/java/security/x509/PolicyNodeImpl.java,
218 * gnu/java/security/x509/Util.java,
219 * gnu/java/security/x509/X509CRLSelectorImpl.java,
220 * gnu/java/security/x509/X509CertPath.java,
221 * gnu/java/security/x509/X509CertSelectorImpl.java,
222 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
223 * gnu/java/security/x509/ext/BasicConstraints.java,
224 * gnu/java/security/x509/ext/CRLNumber.java,
225 * gnu/java/security/x509/ext/CertificatePolicies.java,
226 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
227 * gnu/java/security/x509/ext/Extension.java,
228 * gnu/java/security/x509/ext/GeneralNames.java,
229 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
230 * gnu/java/security/x509/ext/KeyUsage.java,
231 * gnu/java/security/x509/ext/PolicyConstraint.java,
232 * gnu/java/security/x509/ext/PolicyMappings.java,
233 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
234 * gnu/java/security/x509/ext/ReasonCode.java,
235 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
236 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
237
238 2004-11-07 Casey Marshall <csm@gnu.org>
239
240 * gnu/java/security/x509/X509CRL.java:
241 Missed import statements in previous checkin.
242
243 2004-11-07 Casey Marshall <csm@gnu.org>
244
245 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
246 to 'X509CertificateImpl' from previous checkin.
247
690e11b8
AP
2482004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
249
250 PR other/14264
251 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
252
2941ddc4
CM
2532004-11-11 Casey Marshall <csm@gnu.org>
254
255 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
256 channel is open.
257 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
258 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
259
5fd40200 2602004-11-11 Robert Schuster <thebohemian@gmx.net>
50714886
AT
261
262 Fixed regression:
263 * gnu/java/beans/IntrospectionIncubator.java:
264 (addMethod): Corrected classification of normal and property methods.
265 (capitalize): Added documentation.
266 (DoubleKey): [class] Added documentation.
5fd40200 267
cdf87ecb
TT
2682004-11-09 Tom Tromey <tromey@redhat.com>
269
270 * include/jni.h: Added FIXME.
271
763f47ee
TT
2722004-11-08 Tom Tromey <tromey@redhat.com>
273
274 * java/util/GregorianCalendar.java: Removed unused imports.
275 * java/util/Vector.java: Removed unused import.
276
d060a30b
MW
2772004-11-07 Michael Koch <konqueror@gmx.de>
278
279 * java/lang/Process.java:
280 Import cleanups.
281
2822004-11-07 Jeroen Frijters <jeroen@frijters.net>
283
284 * java/util/zip/ZipEntry.java
285 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
286
c2914ce5
RS
2872004-11-07 Robert Schuster <theBohemian@gmx.net>
288
289 Fixes bug #10908
290 * gnu/java/beans/IntrospectionIncubator.java:
291 (addMethod): static methods are discarded now, too.
292
43962ff9
AJH
2932004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
294
295 * java/util/GregorianCalendar.java
296 Added/amended documentation.
297
70c67ff5
AJH
2982004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
299
300 * java/util/Collections.java
301 Added documentation.
302 * java/util/SortedMap.java
303 Clarified some method examples.
304 * java/util/SortedSet.java
305 Clarified some method examples.
306
bfda8308
AJH
3072004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
308
309 * java/util/Currency.java
310 Documented variables and methods more fully.
311 Caches the currency instances, so that a request
312 for a locale, l, only ever returns the same
313 instance (i.e. successive calls to getInstance(l)
314 are reference equivalent (==)).
315
6dd70904
AJH
3162004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
317
318 * java/util/Date.java
319 Added missing documentation.
320
d56ab5d2
MK
3212004-11-06 Michael Koch <konqueror@gmx.de>
322
323 * java/util/zip/CheckedInputStream.java,
324 java/util/zip/InflaterInputStream.java,
325 java/util/zip/ZipFile.java,
326 java/util/zip/ZipInputStream.java:
327 Import cleanups.
328
9ec0f3c8
TT
3292004-11-06 Tom Tromey <tromey@redhat.com>
330
331 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
332 package-private.
333 (connections): Likewise.
334 (scavenger): Likewise.
335 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
336 package-private.
337 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
338 package-private.
339 (ptr): Likewise.
340 * gnu/classpath/ServiceFactory.java (log): Now package-private.
341
ab6036c8
TT
3422004-11-06 Tom Tromey <tromey@redhat.com>
343
344 * javax/naming/directory/BasicAttributes.java (attributes): Now
345 package-private.
346 * javax/imageio/spi/ServiceRegistry.java (categories): Now
347 package-private.
348
92002f50
TT
3492004-11-06 Tom Tromey <tromey@redhat.com>
350
351 * java/net/URLClassLoader.java (URLClassLoader): Now
352 package-private.
353 * java/nio/charset/CoderResult.java (CoderResult): Now
354 package-private.
355 (get): Likewise.
356 (Cache): Likewise. Don't synchronize on `this'.
357 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
358 package-private.
359 * java/util/TimeZone.java (timezones): Now package-private.
360
96859aa4
TT
3612004-11-06 Tom Tromey <tromey@redhat.com>
362
363 * java/security/Permissions.java (perms): Now package-private.
364 * java/security/UnresolvedPermission.java (permissions): Now
365 package-private.
366
d28f3078
TT
3672004-11-06 Tom Tromey <tromey@redhat.com>
368
369 * java/io/FilePermission.java: Reindented.
370
7771b8da
TT
3712004-11-06 Tom Tromey <tromey@redhat.com>
372
373 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
374 package-private.
375 (setBlockDataMode): Likewise.
376
91229668
TT
3772004-11-06 Tom Tromey <tromey@redhat.com>
378
379 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
380 package-private.
381 (Encoder): Likewise.
382 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
383 (Encoder): Likewise.
384 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
385 package-private.
386 (Encoder): Likewise.
387
6c56bdc2
MW
3882004-11-06 Mark Wielaard <mark@klomp.org>
389
390 * Makefile.am: Add new javax.imageio files.
391 * Makefile.in: Regenerated.
392
3932004-11-06 Michael Koch <konqueror@gmx.de>
394
395 * javax/imageio/event/IIOReadProgressListener.java,
396 javax/imageio/event/IIOReadUpdateListener.java,
397 javax/imageio/event/IIOReadWarningListener.java,
398 javax/imageio/event/IIOWriteProgressListener.java,
399 javax/imageio/event/IIOWriteWarningListener.java,
400 javax/imageio/metadata/IIOMetadataFormat.java,
401 javax/imageio/stream/FileCacheImageInputStream.java,
402 javax/imageio/stream/FileCacheImageOutputStream.java,
403 javax/imageio/stream/ImageInputStreamImpl.java:
404 Import cleanup.
405 * javax/imageio/metadata/package.html: New file.
406
4072004-11-06 Michael Koch <konqueror@gmx.de>
408
409 * javax/imageio/spi/ImageReaderSpi.java
410 (isOwnReader): New method.
411 * javax/imageio/spi/ImageWriterSpi.java
412 (isOwnWriter): Likewise.
413
4142004-11-06 Michael Koch <konqueror@gmx.de>
415
416 * javax/imageio/ImageWriter.java
417 (convertImageMetadata): New abstract method.
418 (convertStreamMetadata): Likewise.
419 (write): Likewise.
420 * javax/imageio/stream/FileCacheImageInputStream.java
421 (close): Fixed setting of stream to null.
422 (checkStreamClosed): Throws IOException.
423
4242004-11-06 Michael Koch <konqueror@gmx.de>
425
426 * javax/imageio/stream/FileCacheImageInputStream.java,
427 javax/imageio/stream/FileCacheImageOutputStream.java,
428 javax/imageio/stream/FileImageInputStream.java,
429 javax/imageio/stream/FileImageOutputStream.java,
430 javax/imageio/stream/MemoryCacheImageInputStream.java,
431 javax/imageio/stream/MemoryCacheImageOutputStream.java:
432 New files.
433
4342004-11-06 Michael Koch <konqueror@gmx.de>
435
436 * javax/imageio/metadata/IIOInvalidTreeException.java,
437 javax/imageio/metadata/IIOMetadataFormatImpl.java,
438 javax/imageio/metadata/IIOMetadataNode.java:
439 New stub files.
440
4412004-11-06 Michael Koch <konqueror@gmx.de>
442
443 * javax/imageio/stream/ImageInputStreamImpl.java,
444 javax/imageio/stream/ImageOutputStreamImpl.java:
445 New files.
446
4472004-11-06 Michael Koch <konqueror@gmx.de>
448
449 * javax/imageio/ImageIO.java:
450 Added much new methods.
451
4522004-11-06 Michael Koch <konqueror@gmx.de>
453
454 * javax/imageio/ImageReader.java,
455 javax/imageio/ImageWriter.java,
456 javax/imageio/spi/ImageWriterSpi.java:
457 Add SOME new methods.
458
4592004-11-06 Michael Koch <konqueror@gmx.de>
460
461 * javax/imageio/IIOParam.java,
462 javax/imageio/ImageReadParam.java,
463 javax/imageio/ImageReader.java,
464 javax/imageio/ImageWriter.java:
465 Mostly implemented.
466 * javax/imageio/spi/ImageReaderSpi.java,
467 javax/imageio/spi/ImageWriterSpi.java:
468 New files.
469
4702004-11-06 Michael Koch <konqueror@gmx.de>
471
472 * javax/imageio/ImageWriteParam.java,
473 javax/imageio/metadata/IIOMetadataFormat.java:
474 Implemented.
475
4762004-11-06 Michael Koch <konqueror@gmx.de>
477
478 * javax/imageio/ImageTypeSpecifier.java:
479 Mostly implemented.
480
4812004-11-06 Michael Koch <konqueror@gmx.de>
482
483 * javax/imageio/metadata/IIOMetadata.java:
484 Mostly implemented.
485
4862004-11-06 Michael Koch <konqueror@gmx.de>
487
488 * javax/imageio/IIOImage.java,
489 javax/imageio/ImageReadParam.java,
490 javax/imageio/metadata/IIOMetadataController.java,
491 javax/imageio/metadata/IIOMetadataFormat.java:
492 New files.
493 * javax/imageio/stream/ImageOutputStream.java:
494 Implemented.
495
4962004-11-06 Michael Koch <konqueror@gmx.de>
497
498 * javax/imageio/IIOParam.java,
499 javax/imageio/IIOParamController.java,
500 javax/imageio/ImageTypeSpecifier.java,
501 javax/imageio/ImageWriteParam.java,
502 javax/imageio/metadata/IIOMetadata.java:
503 New files.
504 * javax/imageio/ImageTranscoder.java:
505 Implemented.
506
5072004-11-06 Michael Koch <konqueror@gmx.de>
508
509 * javax/imageio/spi/ImageInputStreamSpi.java,
510 javax/imageio/spi/ImageOutputStreamSpi.java:
511 Reworked import startments.
512 * javax/imageio/spi/ServiceRegistry.java:
513 Reworked import startments. Fixed XHTML in javadocs.
514 (ServiceRegistry): Added @param tag to javadoc.
515 * javax/imageio/stream/ImageInputStream.java
516 (mark): Doesn't throws IOException;
517
5182004-11-06 Michael Koch <konqueror@gmx.de>
519
520 * javax/imageio/ImageIO.java:
521 New file.
522
5232004-11-06 Michael Koch <konqueror@gmx.de>
524
525 * javax/imageio/spi/IIORegistry.java
526 (static): Don't register ImageReaderSpi.class and
527 ImageWriterSpi.class yet.
528
5292004-11-06 Michael Koch <konqueror@gmx.de>
530
531 * javax/imageio/spi/IIORegistry.java:
532 New file.
533
8d43449b
NR
5342004-11-06 Noa Resare <noa@resare.com>
535
536 * java/net/Socket.java (getPort): Return 0 instead of -1 on
537 unconnected sockets.
538
c2e999df
MK
5392004-11-06 Michael Koch <konqueror@gmx.de>
540
541 * java/lang/StringBuffer.java,
542 java/lang/Throwable.java,
543 java/security/spec/DSAParameterSpec.java,
544 java/util/zip/ZipEntry.java,
545 java/util/zip/ZipFile.java,
546 java/util/zip/ZipInputStream.java,
547 java/util/zip/ZipOutputStream.java:
548 Removed redundant and reordered modifiers.
549
03e9b849
MR
5502004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
551
552 * java/io/Vector.java
553 (writeObject): New function to serialized output thread safe.
554
555 * java/io/ObjectOutputStream.java
556 (writeObject): Move the assignment of the class handle to after
557 the assignment of class descriptor handle.
558
6ea123ce
RS
5592004-11-06 Robert Schuster <thebohemian@gmx.net>
560
561 Fixes documentation and indentation
562 * java/beans/PropertyEditorSupport.java:
563 reworked initial API doc
564 (value): changed name from val
565
5662004-11-06 Robert Schuster <thebohemian@gmx.net>
567
568 Updates to 1.5
569 * java/beans/PropertyEditorSupport.java
570 (PropertyEditorSupport()): Changed modifier to public
571 (PropertyEditorSupport(Object): Changed modifier to public
572 (setSource): New method
573 (getSource): New method
574
5752004-11-06 Robert Schuster <thebohemian@gmx.net>
576
577 Fixes bug #10799
578 * java/beans/PropertyEditorSupport.java
579 (setValue): Fire property change event
580
cb0be2e7
TT
5812004-11-03 Tom Tromey <tromey@redhat.com>
582
583 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
584 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
585 returns jobjectArray.
586 (_Jv_JNIEnv::NewObjectArray): Likewise.
587
939347bb
TT
5882004-11-01 Tom Tromey <tromey@redhat.com>
589
590 * verify.cc (state::check_no_uninitialized_objects): Removed.
591 (push_jump): Updated.
592 (push_exception_jump): Likewise.
593 (handle_ret_insn): Likewise.
594 (handle_jsr_insn): Likewise.
595
5dc8952e
MW
5962004-10-30 Mark Wielaard <mark@klomp.org>
597
598 PR libgcj/18234
599 * java/lang/Runtime.java (static): Call init().
600 (Runtime): Remove call to init().
601 (init): Make static.
602
86ce0e3d
DD
6032004-10-28 David Daney <ddaney@avtrex.com>
604
605 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
606 * Makefile.am: Build it.
607 * Makefile.in: Regenerate.
608
349e19d4
AL
6092004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
610
611 PR libgcj/18104
612 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
613 colon.
614 * Makefile.in: Regenerate.
615 * configure: Regenerate.
616 * configure.ac (CLASSPATH_SEPARATOR): Define.
617 * gcj/Makefile.in: Regenerate.
618 * include/Makefile.in: Regenerate.
619 * testsuite/Makefile.in: Regenerate.
620 * testsuite/lib/libjava.exp (libjava_arguments): Fix
621 CLASSPATH separator handling for Windows.
622
8db8c940
MK
6232004-10-26 Michael Koch <konqueror@gmx.de>
624
625 * gnu/java/net/protocol/http/Connection.java
626 (getOutputStream): Implicitely switch to POST method.
627
ea0ffdd2
KL
6282004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
629
630 * libjava/java/lang/Class.h
631 (java::lang::Class): Correct friend class declaration.
632
f1a66265
GK
6332004-10-25 Geoffrey Keating <geoffk@apple.com>
634
635 * Makefile.am (DARWIN_CRT_SRC): New.
636 (libgcj_la_SOURCES): Use it.
637 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
638 * darwin.cc: New file.
639 * include/jvm.h (_Jv_RegisterClasses): Constify.
640 (_Jv_RegisterClasses_Counted): New prototype.
641 * java/lang/Class.h: Include stddef.h.
642 (_Jv_RegisterClasses): Constify.
643 (_Jv_RegisterClasses_Counted): New prototype.
644 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
645 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
646 (_Jv_RegisterClasses_Counted): New function.
647 * configure: Regenerate.
648 * Makefile.in: Regenerate.
649 * gcj/Makefile.in: Regenerate.
650 * include/Makefile.in: Regenerate.
651 * testsuite/Makefile.in: Regenerate.
652
4cd26879
TT
6532004-10-25 Tom Tromey <tromey@redhat.com>
654
655 * java/util/ResourceBundle.java (tryBundle): Use
656 Class.isAssignableFrom rather than catching ClassCastException.
657
6fc058da
TT
6582004-10-25 Tom Tromey <tromey@redhat.com>
659
660 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
661 initialize `iter'.
662 * gnu/java/text/SentenceBreakIterator.java
663 (SentenceBreakIterator): Don't initialize `iter'.
664 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
665 initialize `iter'.
666 * gnu/java/text/CharacterBreakIterator.java
667 (CharacterBreakIterator): Don't initialize `iter'.
668 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
669 constructor.
670 * java/text/BreakIterator.java: Updated documentation.
671
1e02510f
EB
6722004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
673
674 PR other/18138
675 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
676
b1a70a1a
MK
6772004-10-23 Michael Koch <konqueror@gmx.de>
678
679 * javax/print/DocFlavor.java,
680 javax/print/attribute/standard/JobStateReason.java,
681 javax/print/attribute/standard/MultipleDocumentHandling.java:
682 Added missing constants.
683
aced40e9
TT
6842004-10-22 Tom Tromey <tromey@redhat.com>
685
686 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
687 typo.
688
7758f90a
MK
6892004-10-22 Michael Koch <konqueror@gmx.de>
690
691 PR libjava/14009
692 * gnu/java/net/protocol/http/Connection.java
693 (sendRequest): Handle case when url.getFile() returns an empty string.
694
0460023e
MK
6952004-10-22 Michael Koch <konqueror@gmx.de>
696
7651d1b8
MK
697 * java/lang/Math.java,
698 java/lang/StackTraceElement.java,
699 java/nio/Buffer.java,
700 java/nio/ByteBuffer.java,
701 java/nio/CharBuffer.java,
702 java/nio/DoubleBuffer.java,
703 java/nio/FloatBuffer.java,
704 java/nio/IntBuffer.java,
705 java/nio/LongBuffer.java,
706 java/nio/ShortBuffer.java,
707 java/nio/charset/Charset.java,
708 java/rmi/server/RMIClassLoader.java,
709 java/rmi/server/RMISocketFactory.java,
710 java/security/Policy.java,
711 java/text/ChoiceFormat.java,
712 java/text/CollationElementIterator.java,
713 java/text/DateFormat.java,
714 java/text/DecimalFormat.java,
715 java/text/DecimalFormatSymbols.java,
716 java/text/MessageFormat.java,
717 java/text/NumberFormat.java,
718 java/text/RuleBasedCollator.java,
719 java/text/SimpleDateFormat.java,
720 java/util/BitSet.java,
721 java/util/Calendar.java,
722 java/util/Collections.java,
723 java/util/IdentityHashMap.java,
724 java/util/Locale.java,
725 java/util/TreeMap.java,
726 java/util/logging/LogRecord.java,
727 java/util/logging/XMLFormatter.java,
728 java/util/prefs/AbstractPreferences.java,
729 java/util/prefs/Preferences.java,
730 javax/crypto/interfaces/DHPrivateKey.java,
731 javax/crypto/interfaces/DHPublicKey.java,
732 javax/crypto/interfaces/PBEKey.java,
733 javax/net/ssl/HandshakeCompletedEvent.java,
734 javax/security/auth/Subject.java:
735 Removed redundant and reordered modifiers.
0460023e 736
969def55
UW
7372004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
738
739 * gnu/java/net/natPlainSocketImplPosix.cc
740 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
741 with 'int *' argument instead of 'long *'.
742
8265f931
MK
7432004-10-21 Michael Koch <konqueror@gmx.de>
744
745 * java/net/NetworkInterface.java,
746 java/text/Format.java,
747 javax/security/auth/x500/X500Principal.java,
748 javax/security/auth/x500/X500PrivateCredential.java,
749 javax/security/cert/X509CertBridge.java,
750 javax/security/sasl/Sasl.java,
751 javax/sql/XAConnection.java:
752 Import cleanup.
753
875dc6aa
MK
7542004-10-21 Michael Koch <konqueror@gmx.de>
755
756 * javax/net/ssl/HandshakeCompletedEvent.java,
757 javax/net/ssl/KeyManagerFactory.java,
758 javax/net/ssl/SSLContext.java,
759 javax/net/ssl/SSLServerSocketFactory.java,
760 javax/net/ssl/SSLSession.java,
761 javax/net/ssl/SSLSocketFactory.java,
762 javax/net/ssl/TrustManagerFactory.java:
763 Import cleanup.
764
2c69d1e0
MK
7652004-10-21 Michael Koch <konqueror@gmx.de>
766
767 * javax/naming/directory/BasicAttribute.java,
768 javax/naming/directory/BasicAttributes.java,
769 javax/naming/directory/InitialDirContext.java,
770 javax/naming/event/NamingEvent.java,
771 javax/naming/ldap/ControlFactory.java,
772 javax/naming/ldap/ExtendedRequest.java,
773 javax/naming/ldap/InitialLdapContext.java,
774 javax/naming/ldap/LdapReferralException.java,
775 javax/naming/spi/DirObjectFactory.java,
776 javax/naming/spi/DirStateFactory.java,
777 javax/naming/spi/DirectoryManager.java,
778 javax/naming/spi/InitialContextFactory.java,
779 javax/naming/spi/InitialContextFactoryBuilder.java,
780 javax/naming/spi/NamingManager.java,
781 javax/naming/spi/ObjectFactory.java,
782 javax/naming/spi/ObjectFactoryBuilder.java,
783 javax/naming/spi/StateFactory.java:
784 Import cleanup.
785
d69201f4
MK
7862004-10-21 Michael Koch <konqueror@gmx.de>
787
788 * javax/crypto/Cipher.java,
789 javax/crypto/EncryptedPrivateKeyInfo.java,
790 javax/crypto/ExemptionMechanism.java,
791 javax/crypto/KeyAgreement.java,
792 javax/crypto/KeyGenerator.java,
793 javax/crypto/Mac.java,
794 javax/crypto/SecretKeyFactory.java,
795 javax/crypto/SecretKeyFactorySpi.java,
796 javax/crypto/spec/SecretKeySpec.java:
797 Import cleanup.
798
78fe42c3
MK
7992004-10-21 Michael Koch <konqueror@gmx.de>
800
801 * java/security/AlgorithmParameterGenerator.java,
802 java/security/AlgorithmParameters.java,
803 java/security/AlgorithmParametersSpi.java,
804 java/security/AllPermission.java,
805 java/security/BasicPermission.java,
806 java/security/Certificate.java,
807 java/security/CodeSource.java,
808 java/security/DigestInputStream.java,
809 java/security/DigestOutputStream.java,
810 java/security/GuardedObject.java,
811 java/security/KeyFactory.java,
812 java/security/KeyFactorySpi.java,
813 java/security/KeyPairGenerator.java,
814 java/security/KeyStore.java,
815 java/security/KeyStoreSpi.java,
816 java/security/Permissions.java,
817 java/security/Security.java,
818 java/security/Signature.java,
819 java/security/UnresolvedPermission.java,
820 java/security/cert/CertPathBuilder.java,
821 java/security/cert/CertPathValidator.java,
822 java/security/cert/CertStore.java,
823 java/security/cert/Certificate.java,
824 java/security/cert/CertificateFactory.java,
825 java/security/cert/PolicyQualifierInfo.java,
826 java/security/cert/TrustAnchor.java,
827 java/security/cert/X509CRL.java,
828 java/security/cert/X509CRLSelector.java,
829 java/security/cert/X509CertSelector.java:
830 Import cleanup.
831
02db0fc1
MK
8322004-10-21 Michael Koch <konqueror@gmx.de>
833
834 * java/rmi/MarshalledObject.java,
835 java/rmi/Naming.java,
836 java/rmi/activation/Activatable.java,
837 java/rmi/activation/ActivationGroup.java,
838 java/rmi/activation/ActivationGroupDesc.java,
839 java/rmi/activation/ActivationInstantiator.java,
840 java/rmi/activation/ActivationMonitor.java,
841 java/rmi/activation/ActivationSystem.java,
842 java/rmi/activation/Activator.java,
843 java/rmi/registry/LocateRegistry.java,
844 java/rmi/registry/Registry.java,
845 java/rmi/server/LogStream.java,
846 java/rmi/server/ObjID.java,
847 java/rmi/server/RMIClientSocketFactory.java,
848 java/rmi/server/RMIServerSocketFactory.java,
849 java/rmi/server/RMISocketFactory.java,
850 java/rmi/server/RemoteCall.java,
851 java/rmi/server/RemoteServer.java,
852 java/rmi/server/ServerRef.java,
853 java/rmi/server/UID.java,
854 java/rmi/server/UnicastRemoteObject.java:
855 Import cleanup.
856
c28fdf71
TT
8572004-10-21 Tom Tromey <tromey@redhat.com>
858
859 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
860 exception if we hit EOF of `in'.
861 (read): Handle case where inflating returns -1.
862
b228bf7f
UW
8632004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
864
865 * gnu/java/nio/channels/natFileChannelPosix.cc
866 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
867 argument instead of 'long *'.
868
5303e3d7
TT
8692004-10-21 Tom Tromey <tromey@redhat.com>
870
871 * java/util/ResourceBundle.java (tryBundle): Also ignore
872 ClassCastException.
873
be3d702c
KK
8742004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
875
876 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
877 for all sh*-*-linux* targets.
878 * configure: Regenerate.
879 * include/sh-signal.h: New file.
880
2989a2f5
KI
8812004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
882
883 * java/lang/ieeefp.h: Add m32r support.
884
b3a45023
AS
8852004-10-20 Andreas Schwab <schwab@suse.de>
886
887 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
888 to uaddr, not int.
889 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
890 Likewise.
891
a904937b
MK
8922004-10-20 Michael Koch <konqueror@gmx.de>
893
894 * javax/print/attribute/standard/ColorSupported.java,
895 javax/print/attribute/standard/Compression.java,
896 javax/print/attribute/standard/Copies.java,
897 javax/print/attribute/standard/CopiesSupported.java,
898 javax/print/attribute/standard/DateTimeAtCompleted.java,
899 javax/print/attribute/standard/DateTimeAtCreation.java,
900 javax/print/attribute/standard/DateTimeAtProcessing.java,
901 javax/print/attribute/standard/DocumentName.java,
902 javax/print/attribute/standard/Fidelity.java,
903 javax/print/attribute/standard/Finishings.java,
904 javax/print/attribute/standard/JobHoldUntil.java,
905 javax/print/attribute/standard/JobImpressions.java,
906 javax/print/attribute/standard/JobImpressionsCompleted.java,
907 javax/print/attribute/standard/JobImpressionsSupported.java,
908 javax/print/attribute/standard/JobKOctets.java,
909 javax/print/attribute/standard/JobKOctetsProcessed.java,
910 javax/print/attribute/standard/JobKOctetsSupported.java,
911 javax/print/attribute/standard/JobMediaSheets.java,
912 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
913 javax/print/attribute/standard/JobMediaSheetsSupported.java,
914 javax/print/attribute/standard/JobMessageFromOperator.java,
915 javax/print/attribute/standard/JobName.java,
916 javax/print/attribute/standard/JobOriginatingUserName.java,
917 javax/print/attribute/standard/JobPriority.java,
918 javax/print/attribute/standard/JobPrioritySupported.java,
919 javax/print/attribute/standard/JobSheets.java,
920 javax/print/attribute/standard/JobState.java,
921 javax/print/attribute/standard/JobStateReason.java,
922 javax/print/attribute/standard/JobStateReasons.java,
923 javax/print/attribute/standard/Media.java,
924 javax/print/attribute/standard/MultipleDocumentHandling.java,
925 javax/print/attribute/standard/NumberOfDocuments.java,
926 javax/print/attribute/standard/NumberOfInterveningJobs.java,
927 javax/print/attribute/standard/NumberUp.java,
928 javax/print/attribute/standard/NumberUpSupported.java,
929 javax/print/attribute/standard/OrientationRequested.java,
930 javax/print/attribute/standard/OutputDeviceAssigned.java,
931 javax/print/attribute/standard/PDLOverrideSupported.java,
932 javax/print/attribute/standard/PageRanges.java,
933 javax/print/attribute/standard/PagesPerMinute.java,
934 javax/print/attribute/standard/PagesPerMinuteColor.java,
935 javax/print/attribute/standard/PrintQuality.java,
936 javax/print/attribute/standard/PrinterInfo.java,
937 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
938 javax/print/attribute/standard/PrinterLocation.java,
939 javax/print/attribute/standard/PrinterMakeAndModel.java,
940 javax/print/attribute/standard/PrinterMessageFromOperator.java,
941 javax/print/attribute/standard/PrinterMoreInfo.java,
942 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
943 javax/print/attribute/standard/PrinterName.java,
944 javax/print/attribute/standard/PrinterStateReason.java,
945 javax/print/attribute/standard/PrinterStateReasons.java,
946 javax/print/attribute/standard/PrinterURI.java,
947 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
948 javax/print/attribute/standard/RequestingUserName.java:
949 Reorganized imports and removed redundant final modifiers.
950
ccc89383
MK
9512004-10-20 Michael Koch <konqueror@gmx.de>
952
953 * javax/security/sasl/SaslClient.java,
954 javax/security/sasl/SaslClientFactory.java,
955 javax/security/sasl/SaslException.java,
956 javax/security/sasl/SaslServer.java,
957 javax/security/sasl/SaslServerFactory.java:
958 Remvoed CVS tags.
959
b99bf96a
MK
9602004-10-20 Michael Koch <konqueror@gmx.de>
961
962 * javax/security/auth/login/NullConfiguration.java,
963 javax/security/auth/x500/X500Principal.java,
964 javax/security/cert/X509Certificate.java,
965 javax/security/sasl/AuthenticationException.java,
966 javax/security/sasl/AuthorizeCallback.java,
967 javax/security/sasl/RealmCallback.java,
968 javax/security/sasl/RealmChoiceCallback.java,
969 javax/security/sasl/Sasl.java,
970 javax/security/sasl/SaslClient.java,
971 javax/security/sasl/SaslClientFactory.java,
972 javax/security/sasl/SaslException.java,
973 javax/security/sasl/SaslServer.java,
974 javax/security/sasl/SaslServerFactory.java:
975 Cleaned up import statements and copyright notices.
976
659d8f1a
MK
9772004-10-20 Michael Koch <konqueror@gmx.de>
978
979 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
980
724c2517
MK
9812004-10-20 Michael Koch <konqueror@gmx.de>
982
983 * java/sql/Timestamp.java,
984 java/text/AttributedCharacterIterator.java,
985 java/text/AttributedString.java,
986 java/util/zip/CheckedOutputStream.java,
987 java/util/zip/DeflaterOutputStream.java,
988 java/util/zip/ZipFile.java,
989 javax/crypto/Cipher.java,
990 javax/crypto/ExemptionMechanismException.java,
991 javax/crypto/SecretKey.java,
992 javax/crypto/SecretKeyFactory.java,
993 javax/naming/directory/ModificationItem.java,
994 javax/naming/directory/SearchControls.java,
995 javax/naming/event/NamingListener.java,
996 javax/naming/ldap/Control.java,
997 javax/naming/ldap/ExtendedResponse.java,
998 javax/net/ssl/SSLSocketFactory.java:
999 Reorganized imports and fixed copyright headers.
1000
fd460b77
MK
10012004-10-20 Michael Koch <konqueror@gmx.de>
1002
1003 * java/util/logging/ConsoleHandler.java,
1004 java/util/logging/ErrorManager.java,
1005 java/util/logging/FileHandler.java,
1006 java/util/logging/Filter.java,
1007 java/util/logging/Formatter.java,
1008 java/util/logging/Handler.java,
1009 java/util/logging/Level.java,
1010 java/util/logging/LogManager.java,
1011 java/util/logging/LogRecord.java,
1012 java/util/logging/Logger.java,
1013 java/util/logging/LoggingPermission.java,
1014 java/util/logging/MemoryHandler.java,
1015 java/util/logging/SimpleFormatter.java,
1016 java/util/logging/SocketHandler.java,
1017 java/util/logging/StreamHandler.java,
1018 java/util/logging/XMLFormatter.java:
1019 Standardized copyrigth header.
1020
242b11bd
MK
10212004-10-20 Michael Koch <konqueror@gmx.de>
1022
1023 * java/security/AlgorithmParameterGenerator.java,
1024 java/security/AlgorithmParameters.java,
1025 java/security/DigestInputStream.java,
1026 java/security/Identity.java,
1027 java/security/KeyFactory.java,
1028 java/security/KeyPairGenerator.java,
1029 java/security/KeyStore.java,
1030 java/security/MessageDigest.java,
1031 java/security/MessageDigestSpi.java,
1032 java/security/Policy.java,
1033 java/security/SecureRandom.java,
1034 java/security/Security.java,
1035 java/security/Signature.java,
1036 java/security/SignatureSpi.java,
1037 java/security/cert/CertPathBuilder.java,
1038 java/security/cert/CertPathValidator.java,
1039 java/security/cert/CertStore.java,
1040 java/security/cert/Certificate.java,
1041 java/security/cert/CertificateFactory.java,
1042 java/security/cert/PolicyQualifierInfo.java,
1043 java/security/cert/TrustAnchor.java,
1044 java/security/cert/X509CRL.java,
1045 java/security/cert/X509CRLEntry.java,
1046 java/security/cert/X509Certificate.java,
1047 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1048 Import statements reorganized, some little formatting issues,
1049 used java-style array declarations, added comments in empty catch
1050 blocks.
1051
2ddfd025
JF
10522004-10-18 Jeroen Frijters <jeroen@frijters.net>
1053
1054 * java/security/Security.java
1055 (static): Use AccessController.doPrivileged to get system property.
1056
691e8c0f
SM
10572004-10-18 Sven de Marothy <sven@physto.se>
1058
1059 * java/nio/ByteBufferHelper.java
1060 (putDouble): Use Double.toRawLongBits instead.
1061
bc2fed82
MW
10622004-10-18 Mark Wielaard <mark@klomp.org>
1063 Andrew Haley <aph@redhat.com>
1064
1065 * testsuite/libjava.lang/ExtraClassLoader.java: New.
1066
963ebe78
AH
10672004-10-18 Andrew Haley <aph@redhat.com>
1068
1069 PR java/18036:
1070 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1071 and correct logic used to find interpreter.
1072
e5871096
JF
10732004-10-18 Jeroen Frijters <jeroen@frijters.net>
1074
1075 * java/util/logging/LogManager.java
1076 (findAncestor): Fixed IndexOutOfBoundsException.
1077
0736f19f
MK
10782004-10-18 Michael Koch <konqueror@gmx.de>
1079
1080 * java/io/BufferedInputStream.java: Fixed @author tag.
1081 (read): Simplified expression.
1082 (read): Merged javadoc a bit more.
1083 (read): Renamed 'remain' to 'totalBytesRead'.
1084 * java/io/DataInputStream.java,
1085 java/io/DataOutputStream.java,
1086 java/io/ObjectInputStream.java,
1087 java/io/ObjectOutputStream.java:
1088 Reworked modifier order.
1089
df397ce2
MK
10902004-10-18 Michael Koch <konqueror@gmx.de>
1091
1092 * java/net/Inet4Address.java: Merged file header and javadocs.
1093 * java/net/Inet6Address.java: Likewise.
1094 * java/net/InetAddress.java
1095 (getCanonicalHostName): Create Inet4Address object instead of
1096 InetAddress and add comment regarding IPv6.
1097 (toString): Simplified.
1098
2c661756
MK
10992004-10-18 Michael Koch <konqueror@gmx.de>
1100
1101 * gnu/java/net/protocol/http/Connection.java,
1102 java/nio/MappedByteBufferImpl.java,
1103 java/text/RuleBasedCollator.java,
1104 java/util/ResourceBundle.java:
1105 Reworked import statements.
1106
11072004-10-18 Jeroen Frijters <jeroen@frijters.net>
1108
1109 * java/security/IdentityScope.java
1110 (systemScope): Removed useless initializer.
1111 * java/security/Policy.java
1112 (currentPolicy): Likewise.
1113
33308026
MK
11142004-10-18 Michael Koch <konqueror@gmx.de>
1115
1116 * java/lang/System.java: Revert accidential change.
1117
2047d8e4
MK
11182004-10-18 Michael Koch <konqueror@gmx.de>
1119
1120 * java/lang/Math.java,
1121 java/lang/Package.java,
1122 java/lang/Runtime.java,
1123 java/lang/StrictMath.java,
1124 java/lang/System.java,
1125 java/lang/Thread.java,
1126 java/lang/ThreadLocal.java,
1127 java/lang/Void.java:
1128 Reworked import statements, HTML in javadocs and modifier orders.
1129
36071b5c
JF
11302004-10-18 Jeroen Frijters <jeroen@frijters.net>
1131
1132 * java/util/Timer.java
1133 (nr): Removed useless initializer.
1134 * java/util/logging/LogRecord.java
1135 (lastSeqNum): Likewise.
1136 * javax/naming/spi/NamingManager.java
1137 (icfb, ofb): Likewise.
1138
73aab3de
MK
11392004-10-18 Michael Koch <konqueror@gmx.de>
1140
1141 * gnu/java/net/PlainDatagramSocketImpl.java:
1142 Reworked import statements.
1143 * gnu/java/security/provider/DSAParameters.java:
1144 Fixed copyrigth years.
1145 * java/net/JarURLConnection.java:
1146 Fixed HTML in @author tags.
1147
1148
4e2721c3
MK
11492004-10-18 Michael Koch <konqueror@gmx.de>
1150
1151 * java/rmi/activation/ActivationSystem.java
1152 (SYSTEM_PORT): Initialize with correct port number.
1153
7b040d4c
MK
11542004-10-18 Michael Koch <konqueror@gmx.de>
1155
1156 * java/lang/reflect/Proxy.java: Improved javadocs.
1157
11582004-10-18 Michael Koch <konqueror@gmx.de>
1159
1160 * java/lang/reflect/AccessibleObject.java
1161 (checkPermission): Removed redundant final modifier.
1162 (secureSetAccessible): Likewise.
1163 * java/lang/reflect/Proxy.java:
1164 Reworked import statements.
1165 (generate): Removed redundant final modifier.
1166 * java/lang/reflect/ReflectPermission.java:
1167 Reorder package declaration and import statement.
1168
11692004-10-18 Jeroen Frijters <jeroen@frijters.net>
1170
1171 * java/lang/reflect/Proxy.java
1172 (count): Removed useless initializer.
1173
05dfb0b0
MK
11742004-10-17 Michael Koch <konqueror@gmx.de>
1175
1176 * java/net/BindException.java,
1177 java/net/ConnectException.java,
1178 java/net/ContentHandler.java,
1179 java/net/ContentHandlerFactory.java,
1180 java/net/DatagramPacket.java,
1181 java/net/DatagramSocket.java,
1182 java/net/DatagramSocketImpl.java,
1183 java/net/DatagramSocketImplFactory.java,
1184 java/net/FileNameMap.java,
1185 java/net/HttpURLConnection.java,
1186 java/net/MalformedURLException.java,
1187 java/net/MulticastSocket.java,
1188 java/net/NetworkInterface.java,
1189 java/net/NoRouteToHostException.java,
1190 java/net/PasswordAuthentication.java,
1191 java/net/PortUnreachableException.java,
1192 java/net/ProtocolException.java,
1193 java/net/ServerSocket.java,
1194 java/net/Socket.java,
1195 java/net/SocketException.java,
1196 java/net/SocketImpl.java,
1197 java/net/SocketImplFactory.java,
1198 java/net/SocketOptions.java,
1199 java/net/SocketPermission.java,
1200 java/net/SocketTimeoutException.java,
1201 java/net/URI.java,
1202 java/net/URISyntaxException.java,
1203 java/net/URL.java,
1204 java/net/URLDecoder.java,
1205 java/net/URLEncoder.java,
1206 java/net/URLStreamHandler.java,
1207 java/net/URLStreamHandlerFactory.java,
1208 java/net/UnknownHostException.java,
1209 java/net/UnknownServiceException.java:
1210 Big import statement and @author tag cleanup.
1211
3238d4f9
MK
12122004-10-17 Michael Koch <konqueror@gmx.de>
1213
1214 * gnu/java/security/OID.java,
1215 gnu/java/security/provider/DSAParameters.java,
1216 gnu/java/security/provider/DSASignature.java,
1217 gnu/java/security/x509/X500DistinguishedName.java,
1218 gnu/java/security/x509/X509CRL.java:
1219 Import statements cleaned up.
1220
410c47a4
MK
12212004-10-16 Michael Koch <konqueror@gmx.de>
1222
1223 * gnu/java/nio/NIODatagramSocket.java,
1224 gnu/java/nio/ServerSocketChannelImpl.java:
1225 Reorganized import statements.
1226
86b28213
MK
12272004-10-16 Michael Koch <konqueror@gmx.de>
1228
1229 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1230 gnu/java/rmi/rmic/RMIC.java,
1231 gnu/java/rmi/server/RMIHashes.java,
1232 gnu/java/rmi/server/RMIObjectInputStream.java,
1233 gnu/java/rmi/server/RMIObjectOutputStream.java,
1234 gnu/java/rmi/server/UnicastConnection.java,
1235 gnu/java/rmi/server/UnicastConnectionManager.java,
1236 gnu/java/rmi/server/UnicastRemoteCall.java,
1237 gnu/java/rmi/server/UnicastServer.java,
1238 gnu/java/rmi/server/UnicastServerRef.java,
1239 java/rmi/MarshalledObject.java,
1240 java/rmi/Naming.java,
1241 java/rmi/RMISecurityManager.java,
1242 java/rmi/Remote.java,
1243 java/rmi/activation/Activatable.java,
1244 java/rmi/activation/ActivationDesc.java,
1245 java/rmi/activation/ActivationGroup.java,
1246 java/rmi/activation/ActivationGroupDesc.java,
1247 java/rmi/activation/ActivationGroupID.java,
1248 java/rmi/activation/ActivationID.java,
1249 java/rmi/activation/ActivationInstantiator.java,
1250 java/rmi/activation/ActivationMonitor.java,
1251 java/rmi/activation/ActivationSystem.java,
1252 java/rmi/activation/Activator.java,
1253 java/rmi/dgc/DGC.java,
1254 java/rmi/dgc/Lease.java,
1255 java/rmi/dgc/VMID.java,
1256 java/rmi/registry/LocateRegistry.java,
1257 java/rmi/registry/Registry.java,
1258 java/rmi/registry/RegistryHandler.java,
1259 java/rmi/server/LoaderHandler.java,
1260 java/rmi/server/LogStream.java,
1261 java/rmi/server/ObjID.java,
1262 java/rmi/server/Operation.java,
1263 java/rmi/server/RMIClassLoader.java,
1264 java/rmi/server/RMIClassLoaderSpi.java,
1265 java/rmi/server/RMIClientSocketFactory.java,
1266 java/rmi/server/RMIFailureHandler.java,
1267 java/rmi/server/RMIServerSocketFactory.java,
1268 java/rmi/server/RMISocketFactory.java,
1269 java/rmi/server/RemoteCall.java,
1270 java/rmi/server/RemoteObject.java,
1271 java/rmi/server/RemoteRef.java,
1272 java/rmi/server/RemoteServer.java,
1273 java/rmi/server/RemoteStub.java,
1274 java/rmi/server/ServerRef.java,
1275 java/rmi/server/Skeleton.java,
1276 java/rmi/server/SkeletonMismatchException.java,
1277 java/rmi/server/UID.java,
1278 java/rmi/server/UnicastRemoteObject.java,
1279 java/rmi/server/Unreferenced.java:
1280 File headers and import statements cleaned up.
1281
d8d3480a
MK
12822004-10-16 Michael Koch <konqueror@gmx.de>
1283
1284 * libjava/gnu/java/nio/charset/UTF_16.java,
1285 libjava/gnu/java/nio/charset/UTF_16BE.java,
1286 libjava/gnu/java/nio/charset/UTF_16LE.java,
1287 libjava/java/nio/ByteOrder.java,
1288 libjava/java/nio/MappedByteBuffer.java,
1289 libjava/java/nio/channels/Channels.java,
1290 libjava/java/nio/channels/spi/SelectorProvider.java,
1291 libjava/java/nio/charset/Charset.java:
1292 Cleanup.
1293
752ef873
MK
12942004-10-16 Michael Koch <konqueror@gmx.de>
1295
1296 * gnu/java/nio/charset/UTF_16Encoder.java
1297 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1298
7af8968e
MK
12992004-10-16 Michael Koch <konqueror@gmx.de>
1300
1301 * java/math/BigDecimal.java, java/math/BigInteger.java:
1302 Reorganized import statements, removed redundant and
1303 reorganized modifiers.
1304
f3bf8475
MK
13052004-10-16 Michael Koch <konqueror@gmx.de>
1306
1307 * gnu/java/beans/ExplicitBeanInfo.java:
1308 Explicitely import java.awt.Image.
1309 (getIcon): Fixed off-by-one error.
1310
b08fd659
AH
13112004-10-15 Andrew Haley <aph@redhat.com>
1312
1313 * Makefile.am (nat_files, xlib_nat_files): New.
1314 * Makefile.in: Regenerate.
1315
ed674251
UW
13162004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1317
1318 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1319 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1320
180a373d
AH
13212004-10-13 Andrew Haley <aph@redhat.com>
1322
1323 * interpret.cc (_Jv_InterpMethod::run): Initialize
1324 _Jv_StartOfInterpreter.
1325 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1326 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1327 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1328 _Unwind_FindEnclosingFunction to discover whether PC is within the
1329 interpreter.
1330
2abb138b
RO
13312004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1332
1333 PR libgcj/17903:
1334 * testsuite/libjava.lang/md5test.java: New file.
1335 * testsuite/libjava.lang/md5test.out: Likewise.
1336 * testsuite/libjava.lang/shatest.java: Likewise.
1337 * testsuite/libjava.lang/shatest.out: Likewise.
1338
169bb110
RH
13392004-10-11 Richard Henderson <rth@redhat.com>
1340
1341 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1342 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1343
0ba09d8f
BM
13442004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1345
1346 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1347 field as a DST boundary may have been crossed.
1348 * java/util/GregorianCalendar.java (add): Throw
1349 IllegalArgumentException on attempt to add to DST_OFFSET or
1350 ZONE_OFFSET fields. Update javadoc.
1351
0d2e6ffe
MK
13522004-10-09 Michael Koch <konqueror@gmx.de>
1353
1354 * java/io/CharArrayWriter.java
1355 (resize): Removed redundant 'final' modifier.
1356 * java/io/DataInputStream.java
1357 (readFully): Throw IndexOutOfBoundsException of len < 0.
1358 * java/io/FileDescriptor.java,
1359 java/io/FileInputStream.java,
1360 java/io/FileOutputStream.java,
1361 java/io/ObjectOutputStream.java,
1362 java/io/ObjectStreamClass.java,
1363 java/io/PipedInputStream.java,
1364 java/io/RandomAccessFile.java:
1365 Reorganized import statements.
1366
f507003a
MK
13672004-10-09 Michael Koch <konqueror@gmx.de>
1368
1369 * gnu/java/rmi/rmic/RMIC.java,
1370 gnu/java/rmi/server/RMIHashes.java,
1371 gnu/java/rmi/server/RMIObjectInputStream.java,
1372 gnu/java/rmi/server/UnicastConnection.java,
1373 gnu/java/rmi/server/UnicastConnectionManager.java,
1374 gnu/java/rmi/server/UnicastRemoteCall.java,
1375 gnu/java/rmi/server/UnicastServerRef.java:
1376 Reworked import statements and fixed file headers.
1377
56d6e6b1
LR
13782004-10-04 Loren J. Rittle <ljrittle@acm.org>
1379
1380 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1381 emission rule.
1382 * configure: Rebuilt.
1383
02164889
TT
13842004-09-30 Tom Tromey <tromey@redhat.com>
1385
acfeef9c 1386 * java/text/MessageFormat.java (Field): Constructor now
02164889
TT
1387 protected.
1388
26f7abae
TT
13892004-09-30 Tom Tromey <tromey@redhat.com>
1390
1391 * javax/crypto/MacSpi.java: Fixed typo.
1392
0aa36026
MK
13932004-09-30 Michael Koch <konqueror@gmx.de>
1394
1395 * java/net/InetAddress.java: Reformatted.
1396 (loopback): Initialize with Inet4Address object.
1397 (static): Initialize ANY_IF with Inet4Address object.
1398 (InetAddress): Removed unused package-private constructor.
1399
57da15a4
MK
14002004-09-30 Michael Koch <konqueror@gmx.de>
1401
1402 * java/beans/Beans.java,
1403 java/beans/EventHandler.java,
1404 java/beans/EventSetDescriptor.java,
1405 java/beans/Introspector.java,
1406 java/beans/PropertyEditorManager.java,
1407 java/beans/beancontext/BeanContext.java,
1408 java/beans/beancontext/BeanContextChild.java,
1409 java/beans/beancontext/BeanContextChildSupport.java,
1410 java/beans/beancontext/BeanContextMembershipEvent.java:
1411 Reordered import statements and removed redundant modifiers.
1412
c8dc36d6
TT
14132004-09-29 Tom Tromey <tromey@redhat.com>
1414
26aed923
TT
1415 PR libgcj/17715:
1416 * Makefile.in: Rebuilt.
1417 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1418 files.
1419 (all_property_files): New macro.
1420
c8dc36d6
TT
1421 * Makefile.in: Rebuilt.
1422 * Makefile.am (ordinary_java_source_files): Re-sorted.
1423 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1424
bd1c8428
TT
14252004-09-28 Tom Tromey <tromey@redhat.com>
1426
252d7884
TT
1427 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1428
bd1c8428
TT
1429 PR libgcj/17222:
1430 * Makefile.am (libgcj.la): Restored.
1431 * Makefile.in: Rebuilt.
1432
95b88040
MK
14332004-09-28 Michael Koch <konqueror@gmx.de>
1434
1435 * java/net/URLConnection.java: Reformatted.
1436 * java/net/URLClassLoader.java: Reformatted.
1437 (getContent): Reordered return of content.
1438 (getContentHandler): Don't check for null explicitely.
1439
2c11433f
MK
14402004-09-27 Michael Koch <konqueror@gmx.de>
1441
1442 * java/io/BufferedInputStream.java
1443 (BufferedInputStream): Added Jeroen Frijters to authors.
1444 (count): Don't explicitely initialize with default value.
1445 (pos): Likewise.
1446 (marklimit): Likewise.
1447 (read): Changed boolean expression to match GNU classpath' version.
1448 (reset): Add proper message to exception.
1449 (skip): Check for closed stream.
1450 (refill): Likewise.
1451
c5fe8107
PB
14522004-09-26 Per Bothner <per@bothner.com>
1453
1454 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1455 avoid warnings in the non-POSIX_VERSION case.
1456 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1457 so place it inside an #if block.
1458 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1459 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1460 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1461 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1462
08bc8777
PB
14632004-09-26 Per Bothner <per@bothner.com>
1464
1465 * prims.cc (process_gcj_properties): Optimization.
1466
a22478ce
PB
14672004-09-26 Per Bothner <per@bothner.com>
1468
1469 * java/util/Collections.java (sort): Copy from array in forwards
1470 order, rather than reverse order which may be much less efficient.
1471
3bd2680e
MW
14722004-09-26 Mark Wielaard <mark@klomp.org>
1473
1474 * java/lang/System.java (properties): Make package private.
1475 * java/lang/Throwable.java (StaticData.nl): Initialize through
1476 directly accessing System.properties.getProperty().
1477
1478 * java/lang/Throwable.java (nl): Remove static field.
1479 (StaticData): New private static inner class.
1480 (stackTraceStringBuffer): Use StaticData.nl.
1481
59c86e4b
CM
14822004-09-26 Casey Marshall <csm@gnu.org>
1483
1484 * java/security/ProtectionDomain.java
1485 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1486 `true'.
1487
1488 * java/security/SecureClassLoader.java
1489 (defineClass): make protection domain dynamically bound.
1490 (getPermissions): call `getCurrentPolicy' to avoid permission
1491 check.
1492
ffe2e220
MW
14932004-09-25 Mark Wielaard <mark@klomp.org>
1494
1495 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1496 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1497 * Makefile.in: Regenerated.
1498
1499 * gcj/javaprims.h: Regenerated.
1500
1501 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1502 (getDefaultTimeZone): Make package private. Check that GMToffset
1503 contains at least one digit.
1504 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1505 VMTimeZone.
1506 * util/VMTimeZone.java: New file with above methods.
1507
1508 * java/util/natTimeZone.cc: Removed (renamed).
1509 * java/util/natVMTimeZone.cc: Added (renamed).
1510
15112004-09-25 Jeroen Frijters <jeroen@frijters.net>
1512
1513 * java/util/TimeZone.java
1514 (getDefaultTimeZone): Fixed test to distinguish between hours and
1515 minutes in specified timezone.
1516
9b2b6c0f
JF
15172004-09-25 Jeroen Frijters <jeroen@frijters.net>
1518
1519 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1520 handling of default package. (generate): Removed confused comments
1521 and code about making Method and Field accessible.
1522
4b2582f0
TT
15232004-09-25 Tom Tromey <tromey@redhat.com>
1524
1525 PR java/17500:
1526 * testsuite/libjava.compile/pr17500.java: New file.
1527
27a92d68
SB
15282004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1529 Mark Wielaard <mark@klomp.org>
1530
1531 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1532 * gnu/regexp/RETokenLookAhead.java: New file.
1533
1534 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1535 * Makefile.in: Regenerated.
1536
20319d32
MK
15372004-09-25 Michael Koch <konqueror@gmx.de>
1538
1539 * java/io/ObjectStreamField.java:
1540 Removed unused import statement.
1541
0a08595a
TT
15422004-09-24 Tom Tromey <tromey@redhat.com>
1543
013303df
TT
1544 PR java/15656:
1545 * testsuite/libjava.compile/pr15656.xfail: New file.
1546 * testsuite/libjava.compile/pr15656.java: new file.
1547
0a08595a
TT
1548 PR java/16789:
1549 * testsuite/libjava.lang/pr16789.out: New file.
1550 * testsuite/libjava.lang/pr16789.java: New file.
1551
0a41faf0
AH
15522004-09-24 Andrew Haley <aph@redhat.com>
1553
1554 PR java/16927
1555 * testsuite/libjava.compile/AssertBug.java: New file.
1556
c80a4b7e
CM
15572004-09-24 Casey Marshall <csm@gnu.org>
1558
1559 * java/util/PropertyPermissionCollection.java
1560 (implies): avoid infinite loop.
1561
7e53ab66
AJH
15622004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1563
1564 * javax/security/auth/PrivateCredentialPermission.java
1565 (PrivateCredentialPermission): added serialization UID
1566
1567
c7c671b9
IP
15682004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1569
1570 * gnu/java/rmi/server/UnicastServer.java
1571 (incomingMessageCall): Added code to handle Errors.
1572 * gnu/java/rmi/server/UnicastServerRef.java
1573 (incomingMessageCall): Added code to handle Errors.
1574
1575
66719604
TT
15762004-09-24 Tom Tromey <tromey@redhat.com>
1577
1578 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1579 (definedPackages): Likewise.
1580
28c23a8c
MK
15812004-09-24 Michael Koch <konqueror@gmx.de>
1582
1583 * java/io/ObjectInputStream.java:
1584 Re-ordered imports.
1585
629a2d2b
CM
15862004-09-24 Casey Marshall <csm@gnu.org>
1587
1588 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1589 `ClassNotFoundException'.
1590
73eb1309
JF
15912004-09-24 Jeroen Frijters <jeroen@frijters.net>
1592
1593 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1594 of Externalizable classes to ObjectStreamClass.
1595 * java/io/ObjectStreamClass.java (newInstance): New method to
1596 instantiate Externalizable (while ignoring the accessibility of
1597 the constructor). (constructor): New field to cache the constructor.
1598
8ac4bd37
MW
15992004-09-24 Mark Wielaard <mark@klomp.org>
1600
1601 * java/net/URL.java (systemClassLoader): New static field.
1602 (getURLStreamHandler): Always use system/application classloader
1603 for finding URLStreamhandler. Remove unecessary instanceof checks.
1604
56a4b3e2
GL
16052004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1606
1607 * java/net/URL.java
1608 (set): This method now matches the behaviour of the JDK.
1609 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1610
5bb3fc27
MK
16112004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1612
1613 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1614
16152004-09-24 Jeroen Frijters <jeroen@frijters.net>
1616
1617 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1618 Don't set authority if host isn't specified.
1619
9e54846f
MK
16202004-09-24 Michael Koch <konqueror@gmx.de>
1621
1622 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1623 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1624 * gnu/java/nio/VMPipe.java,
1625 gnu/java/nio/VMSelector.java:
1626 New files.
1627 * gnu/java/nio/natPipeImplEcos.cc,
1628 gnu/java/nio/natPipeImplPosix.cc,
1629 gnu/java/nio/natPipeImplWin32.cc:
1630 Ported to VMPipe.
1631 * gnu/java/nio/natSelectorImplEcos.cc,
1632 gnu/java/nio/natSelectorImplPosix.cc,
1633 gnu/java/nio/natSelectorImplWin32.cc:
1634 Ported to VMSelector.
1635 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1636 gnu/java/nio/VMSelector.java.
1637 * Makefile.in: Regenerated.
1638
e6ab8dc2
JF
16392004-09-24 Jeroen Frijters <jeroen@frijters.net>
1640
1641 * java/lang/StackTraceElement.java
1642 (className): Renamed field to declaringClass to be compatible
1643 with Sun serialization format.
1644
09bddb92
MK
16452004-09-23 Michael Koch <konqueror@gmx.de>
1646
1647 * java/applet/AppletContext.java,
1648 java/applet/Applet.java,
1649 java/applet/AppletStub.java,
1650 java/applet/AudioClip.java:
1651 Jalopied and checkstyle clean.
1652
093942ac
MW
16532004-09-23 Mark Wielaard <mark@klomp.org>
1654
1655 * java/util/Collections.java
1656 (binarySearch(List, Object, Comparator)): Explicitly
1657 reverse direction in list iterator.
1658 (rotate): Just return when list is empty.
1659
53d26678
TT
16602004-09-23 Tom Tromey <tromey@redhat.com>
1661
51c9fed9
TT
1662 PR java/17329:
1663 * testsuite/libjava.compile/pr17329.java: New file.
1664
53d26678
TT
1665 PR java/17380:
1666 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1667 9.2-implicit-7.
1668
5b7a26f6
KC
16692004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1670
1671 * Makefile.am: Run aclocal with -I ../config
1672 * acinclude.m4: Delete macros picked up from ../config and tidy.
1673 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1674 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1675 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1676
54805b23
KC
16772004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1678
1679 * aclocal.m4: Regenerate with aclocal 1.9.2.
1680 * configure: Regenerate.
1681 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1682 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1683
d0259e11
DD
16842004-09-22 David Daney <ddaney@avtrex.com>
1685
1686 PR libgcj/17623
1687 * java/net/URL.java (URL): Copy userInfo from context.
1688 (getUserInfo): Return cached userInfo if present.
1689
aa8cb1ad
TT
16902004-09-22 Tom Tromey <tromey@redhat.com>
1691
1692 PR libgcj/6182:
1693 * mauve-libgcj: Enable java.lang.Character tests.
1694
733a7ed9
AT
16952004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1696
1697 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1698 dependencies.
1699 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1700 * Makefile.in: Regenerated.
1701
44bffd9f
AT
17022004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1703
1704 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1705 * configure: Regenerate.
1706 * include/config.h.in: Likewise.
1707 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1709 macro to gtkpeer.h.
1710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1711 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1712 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1713 architectures.
1714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1715 Likewise.
1716
ecd16bf6
TT
17172004-09-22 Tom Tromey <tromey@redhat.com>
1718
1719 PR libgcj/14446:
1720 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1721 when comparing CRCs.
1722 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1723 field.
1724 (read()): New overload.
1725
3a3d0225
TT
17262004-09-21 Tom Tromey <tromey@redhat.com>
1727
1728 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1729 Indentation fix.
1730
93880692
MK
17312004-09-21 Michael Koch <konqueror@gmx.de>
1732
1733 * java/net/Socket.java
1734 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1735
448a698b
CM
17362004-09-21 Casey Marshall <csm@gnu.org>
1737
1738 * javax/crypto/MacSpi.java (clone): Provide meaningful
1739 implementation.
1740
34f87940
TT
17412004-09-21 Tom Tromey <tromey@redhat.com>
1742
1743 PR libgcj/16869:
1744 * Makefile.in: Rebuilt.
1745 * Makefile.am (MOSTLYCLEANFILES): Removed.
1746 (mostlyclean-local): Remove header files.
1747
f1b18462
AT
17482004-09-21 Casey Marshall <csm@gnu.org>
1749
1750 * java/security/cert/X509CRLSelector.java:
1751 (match): remove unreachable try-catch clauses.
1752 Reported by: Dalibor Topic <robilad@kaffe.org>
1753
17542004-09-21 Mark Wielaard <mark@klomp.org>
1755
1756 * java/util/TreeMap.java (root): Don't initialize.
1757 (TreeMap(Comparator)): Call fabricateTree(0).
1758 (fabricateTree): Initialize root and size when count is 0.
1759
9413382e
SM
17602004-09-21 Sven de Marothy <sven@physto.se>
1761
1762 * java/nio/ByteBuffer.java (hashCode): Implemented.
1763 * java/nio/CharBuffer.java: Likewise.
1764 * java/nio/DoubleBuffer.java: Likewise.
1765 * java/nio/FloatBuffer.java: Likewise.
1766 * java/nio/LongBuffer.java: Likewise.
1767 * java/nio/IntBuffer.java: Likewise.
1768 * java/nio/ShortBuffer.java: Likewise.
1769
936f1f06
AT
17702004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1771
1772 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1773
17742004-09-21 Michael Koch <konqueror@gmx.de>
1775
1776 * javax/net/ssl/SSLServerSocket.java:
1777 Removed comment about "Do not edit this file, it's generated.".
1778
6f5ce93b
AT
17792004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1780
1781 Import the big Crypto/Jessie/Security merge from Classpath.
1782
1783 * Makefile.am: Add imported files.
1784 * Makefile.in: Regenerate.
1785
1786 2004-08-14 Casey Marshall <csm@gnu.org>
1787
1788 The Big Crypto Merge of 2004.
1789
1790 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1791 Crypto's version.
1792
1793 Files imported from GNU Crypto.
1794 * javax/crypto/BadPaddingException.java
1795 * javax/crypto/Cipher.java
1796 * javax/crypto/CipherInputStream.java
1797 * javax/crypto/CipherOutputStream.java
1798 * javax/crypto/CipherSpi.java
1799 * javax/crypto/EncryptedPrivateKeyInfo.java
1800 * javax/crypto/ExemptionMechanism.java
1801 * javax/crypto/ExemptionMechanismException.java
1802 * javax/crypto/ExemptionMechanismSpi.java
1803 * javax/crypto/IllegalBlockSizeException.java
1804 * javax/crypto/KeyAgreement.java
1805 * javax/crypto/KeyAgreementSpi.java
1806 * javax/crypto/KeyGenerator.java
1807 * javax/crypto/KeyGeneratorSpi.java
1808 * javax/crypto/Mac.java
1809 * javax/crypto/MacSpi.java
1810 * javax/crypto/Makefile.am
1811 * javax/crypto/NoSuchPaddingException.java
1812 * javax/crypto/NullCipher.java
1813 * javax/crypto/NullCipherImpl.java
1814 * javax/crypto/SealedObject.java
1815 * javax/crypto/SecretKey.java
1816 * javax/crypto/SecretKeyFactory.java
1817 * javax/crypto/SecretKeyFactorySpi.java
1818 * javax/crypto/ShortBufferException.java
1819 * javax/crypto/interfaces/DHKey.java
1820 * javax/crypto/interfaces/DHPrivateKey.java
1821 * javax/crypto/interfaces/DHPublicKey.java
1822 * javax/crypto/interfaces/PBEKey.java
1823 * javax/crypto/spec/DESKeySpec.java
1824 * javax/crypto/spec/DESedeKeySpec.java
1825 * javax/crypto/spec/DHGenParameterSpec.java
1826 * javax/crypto/spec/DHParameterSpec.java
1827 * javax/crypto/spec/DHPrivateKeySpec.java
1828 * javax/crypto/spec/DHPublicKeySpec.java
1829 * javax/crypto/spec/IvParameterSpec.java
1830 * javax/crypto/spec/PBEKeySpec.java
1831 * javax/crypto/spec/PBEParameterSpec.java
1832 * javax/crypto/spec/RC2ParameterSpec.java
1833 * javax/crypto/spec/RC5ParameterSpec.java
1834 * javax/crypto/spec/SecretKeySpec.java
1835 * javax/security/auth/AuthPermission.java
1836 * javax/security/auth/DestroyFailedException.java
1837 * javax/security/auth/Destroyable.java
1838 * javax/security/auth/Policy.java
1839 * javax/security/auth/PrivateCredentialPermission.java
1840 * javax/security/auth/RefreshFailedException.java
1841 * javax/security/auth/Refreshable.java
1842 * javax/security/auth/Subject.java
1843 * javax/security/auth/SubjectDomainCombiner.java
1844 * javax/security/auth/callback/Callback.java
1845 * javax/security/auth/callback/CallbackHandler.java
1846 * javax/security/auth/callback/ChoiceCallback.java
1847 * javax/security/auth/callback/ConfirmationCallback.java
1848 * javax/security/auth/callback/LanguageCallback.java
1849 * javax/security/auth/callback/NameCallback.java
1850 * javax/security/auth/callback/PasswordCallback.java
1851 * javax/security/auth/callback/TextInputCallback.java
1852 * javax/security/auth/callback/TextOutputCallback.java
1853 * javax/security/auth/callback/UnsupportedCallbackException.java
1854 * javax/security/auth/login/AccountExpiredException.java
1855 * javax/security/auth/login/AppConfigurationEntry.java
1856 * javax/security/auth/login/Configuration.java
1857 * javax/security/auth/login/CredentialExpiredException.java
1858 * javax/security/auth/login/FailedLoginException.java
1859 * javax/security/auth/login/LoginContext.java
1860 * javax/security/auth/login/LoginException.java
1861 * javax/security/auth/login/NullConfiguration.java
1862 * javax/security/auth/x500/X500PrivateCredential.java
1863 * javax/security/sasl/AuthenticationException.java
1864 * javax/security/sasl/AuthorizeCallback.java
1865 * javax/security/sasl/RealmCallback.java
1866 * javax/security/sasl/RealmChoiceCallback.java
1867 * javax/security/sasl/Sasl.java
1868 * javax/security/sasl/SaslClient.java
1869 * javax/security/sasl/SaslClientFactory.java
1870 * javax/security/sasl/SaslException.java
1871 * javax/security/sasl/SaslServer.java
1872 * javax/security/sasl/SaslServerFactory.java
1873 * org/ietf/jgss/ChannelBinding.java
1874 * org/ietf/jgss/GSSContext.java
1875 * org/ietf/jgss/GSSCredential.java
1876 * org/ietf/jgss/GSSException.java
1877 * org/ietf/jgss/GSSManager.java
1878 * org/ietf/jgss/GSSName.java
1879 * org/ietf/jgss/MessageProp.java
1880 * org/ietf/jgss/Oid.java
1881 * org/ietf/jgss/MessagesBundle.properties
1882
1883 Files imported from Jessie <http://www.nongnu.org/jessie/>
1884 * javax/net/ServerSocketFactory.java
1885 * javax/net/SocketFactory.java
1886 * javax/net/VanillaServerSocketFactory.java
1887 * javax/net/VanillaSocketFactory.java
1888 * javax/net/ssl/HandshakeCompletedEvent.java
1889 * javax/net/ssl/HandshakeCompletedListener.java
1890 * javax/net/ssl/HostnameVerifier.java
1891 * javax/net/ssl/HttpsURLConnection.java
1892 * javax/net/ssl/KeyManager.java
1893 * javax/net/ssl/KeyManagerFactory.java
1894 * javax/net/ssl/KeyManagerFactorySpi.java
1895 * javax/net/ssl/ManagerFactoryParameters.java
1896 * javax/net/ssl/SSLContext.java
1897 * javax/net/ssl/SSLContextSpi.java
1898 * javax/net/ssl/SSLException.java
1899 * javax/net/ssl/SSLHandshakeException.java
1900 * javax/net/ssl/SSLKeyException.java
1901 * javax/net/ssl/SSLPeerUnverifiedException.java
1902 * javax/net/ssl/SSLPermission.java
1903 * javax/net/ssl/SSLProtocolException.java
1904 * javax/net/ssl/SSLServerSocket.java
1905 * javax/net/ssl/SSLServerSocketFactory.java
1906 * javax/net/ssl/SSLSession.java
1907 * javax/net/ssl/SSLSessionBindingEvent.java
1908 * javax/net/ssl/SSLSessionBindingListener.java
1909 * javax/net/ssl/SSLSessionContext.java
1910 * javax/net/ssl/SSLSocket.java
1911 * javax/net/ssl/SSLSocketFactory.java
1912 * javax/net/ssl/TrivialHostnameVerifier.java
1913 * javax/net/ssl/TrustManager.java
1914 * javax/net/ssl/TrustManagerFactory.java
1915 * javax/net/ssl/TrustManagerFactorySpi.java
1916 * javax/net/ssl/X509KeyManager.java
1917 * javax/net/ssl/X509TrustManager.java
1918 * javax/security/cert/Certificate.java
1919 * javax/security/cert/CertificateEncodingException.java
1920 * javax/security/cert/CertificateException.java
1921 * javax/security/cert/CertificateExpiredException.java
1922 * javax/security/cert/CertificateNotYetValidException.java
1923 * javax/security/cert/CertificateParsingException.java
1924 * javax/security/cert/X509CertBridge.java
1925 * javax/security/cert/X509Certificate.java
1926
1927 2004-08-20 Casey Marshall <csm@gnu.org>
1928
1929 * java/security/cert/X509CRLSelector.java: New file.
1930 * java/security/cert/X509CertSelector.java: New file.
1931
c36992ff
MK
19322004-09-15 Michael Koch <konqueror@gmx.de>
1933
1934 * gnu/java/net/protocol/file/Handler.java
1935 (openConnection): Don't throw exception if host part for file: URI is
1936 present. setURL() keeps file: protocol if ftp: protocol is not
1937 available.
1938
72826319
RH
19392004-09-14 Richard Henderson <rth@redhat.com>
1940
1941 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1942 value of sigsuspend.
1943
3abcc195
TT
19442004-09-12 Tom Tromey <tromey@redhat.com>
1945
1946 * javax/naming/CompoundName.java (CompoundName): Don't check for
1947 separator in "flat" case.
1948
bdd1aed4
MK
19492004-09-12 Michael Koch <konqueror@gmx.de>
1950
1951 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1952 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1953 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1954 Regenerate.
1955
a0be84dd
ME
19562004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1957
1958 PR libgcj/14751
1959 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1960 handle in newly-allocated _Jv_Thread_t.
1961 (_Jv_ThreadDestroyData): Close thread handle.
1962 (_Jv_ThreadStart): Remove obsolete comment.
1963 Store handle of newly-created thread in _Jv_Thread_t.
1964 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1965 before including <windows.h>
1966 #define _Jv_HaveCondDestroy
1967
bdbf6060
ME
19682004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1969
1970 * java/lang/natThread.cc (finalize_native): Destroy
1971 join conditional variable and mutex if these destroy
1972 operations are supported.
1973
cad79bac
MK
19742004-09-10 Dalibor Topic <robilad@kaffe.org>
1975
1976 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1977 (DEFAULT_PERMISSION): New constant.
1978 (Connection): Create a FilePermission with permission to read file.
1979
19802004-09-10 Michael Koch <konqueror@gmx.de>
1981
1982 * gnu/java/net/protocol/file/Connection.java
1983 (getLastModified): Moved around.
1984 (getPermission): Return stored permission.
1985
8166c201
MK
19862004-09-10 Michael Koch <konqueror@gmx.de>
1987
1988 * Makefile.in: Regenerate.
1989
3cf735f6
MK
19902004-09-10 Michael Koch <konqueror@gmx.de>
1991
1992 * Makefile.am: Reverted accidently commited stuff.
1993 * configure: Regenerated.
1994
5123971a
MK
19952004-09-10 Michael Koch <konqueror@gmx.de>
1996
1997 * gnu/java/net/protocol/file/Connection.java
1998 (lineSeparator): Made non-final.
1999 (static): Removed.
2000 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2001 instead of StringBufferInputStream.
2002
20032004-09-10 Michael Koch <konqueror@gmx.de>
2004
2005 * gnu/java/net/protocol/file/Connection.java
2006 (connect): Handle file is a directory case.
2007
456d47b3
MK
20082004-09-10 Michael Koch <konqueror@gmx.de>
2009
2010 * Makefile.am
2011 (xlib_includes): Removed.
2012 (AM_CPPFLAGS): Renamed from INCLUDES.
2013 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2014 * Makefile.in: Regenerate.
2015
4166b036
AT
20162004-09-09 Michael Koch <konqueror@gmx.de>
2017
2018 * java/security/ProtectionDomain.java,
2019 * java/util/PropertyPermissionCollection.java:
2020 Fixed javadocs all over.
2021
20222004-09-09 Sven de Marothy <sven@physto.se>
2023
2024 Patch from David Gilbert <david.gilbert@object-refinery.com>
2025 * java/lang/Comparable.java: Fixed documentation errors.
2026 * java/util/Arrays.java: Likewise.
2027
20282004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2029
2030 * java/net/Inet4Address.java
2031 (Inet4Address): Added comment to serialization UID.
2032 * java/text/Format.java
2033 (Format): Added comment to serialization UID.
2034
c6614d3e
MK
20352004-09-09 Michael Koch <konqueror@gmx.de>
2036
2037 * java/lang/System.java
2038 (err): Fixed javadoci to point to setErr() and not setOut().
2039
6273ba37
MK
20402004-09-09 Jeroen Frijters <jeroen@frijters.net>
2041
2042 (normalizePath): Added special case for windows systems.
2043
20442004-09-09 Michael Koch <konqueror@gmx.de>
2045
2046 * java/io/File.java
2047 (dupSeparator): Made private.
2048 (File(URI)): New constructor.
2049 (getParentFile): Fixed javadoc.
2050 (createTempFile): Reformated.
2051 (setReadOnly): Added comment.
2052 (deleteOnExit): Merged javadoc with classpath version.
2053
93177580
MK
20542004-09-09 Michael Koch <konqueror@gmx.de>
2055
2056 * Makefile.am: Don't try to include deps.mk.
2057 * Makefile.in: Regenerated.
2058
2e8401ae
BM
20592004-09-08 Bryce McKinlay <mckinlay@redhat.com>
2060
2061 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2062 .d files.
2063 * configure: Rebuilt.
2064
56fa138b
ME
20652004-09-04 Mohan Embar <gnustuff@thisiscool.com>
2066
2067 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2068 Changed pfn from static local to local.
2069
351cfd8b
BM
20702004-09-03 Bryce McKinlay <mckinlay@redhat.com>
2071 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 PR libgcj/17290
2074 * Makefile.am (GCJCOMPILE): Remove definition.
2075 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2076 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2077 * Makefile.in: Rebuilt.
2078
48d0dd75
KC
20792004-09-03 Kelley Cook <kcook@gcc.gnu.org>
2080
2081 * configure.ac (enable-gc-debug): Update help for new syntax.
2082 * configure: Regenerate.
2083
321c496b
DD
20842004-09-03 David Daney <ddaney@avtrex.com>
2085
2086 * include/mips-signal.h: Update copyright.
2087
04efec81
DD
20882004-09-03 David Daney <ddaney@avtrex.com>
2089
2090 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2091 * include/mips-signal.h: Added HANDLE_FPE support.
2092
57579172
GH
20932004-08-31 Michael Koch <konqueror@gmx.de>
2094
2095 * javax/swing/plaf/basic/BasicTextAreaUI.java
2096 (create): New method.
2097 * javax/swing/text/DefaultHighlighter.java
2098 (DefaultHighlightPainter.debugRect): Removed.
2099 * javax/swing/text/StyleContext.java
2100 (DEFAULT_STYLE): New field.
2101
21022004-08-31 Michael Koch <konqueror@gmx.de>
2103
2104 * javax/swing/plaf/basic/BasicLookAndFeel.java
2105 (initComponentDefaults): Add keybindings for selection.backward and
2106 selection-forward for text components.
2107 * javax/swing/plaf/basic/BasicTextUI.java
2108 (paintSafely): Paint highlight only when something is actually
2109 selected.
2110 * javax/swing/text/DefaultCaret.java
2111 (handleHighlight): New method.
2112 (setSelectionVisible): Don't do anything when nothing changes.
2113 Handle highlight.
2114 (moveDot): Reimplemented. Handle highlight.
2115 (setDot): Set mark too. Handle highlight.
2116 (getSelectionPainter): New method.
2117 * javax/swing/text/DefaultEditorKit.java
2118 (defaultActions): Added new actions for text selection.
2119 * javax/swing/text/DefaultHighlighter.java
2120 (DefaultHighlightPainter): New inner class.
2121 (DefaultPainter): New field.
2122 (paint): Implemented.
2123 * javax/swing/text/PlainView.java
2124 (paint): Don't draw background here again.
2125 * javax/swing/text/Utilities.java
2126 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2127 (drawTabbedText): Likewise.
2128
21292004-08-31 Graydon Hoare <graydon@redhat.com>
2130
2131 * javax/swing/JComponent.java
2132 (resetKeyboardActions): Add null checks.
2133
21342004-08-31 Graydon Hoare <graydon@redhat.com>
2135
2136 * javax/swing/DefaultButtonModel.java:
2137 Skip group notification when no group is set.
2138
21392004-08-31 Graydon Hoare <graydon@redhat.com>
2140
2141 * javax/swing/JColorChooser.java:
2142 Make a couple inner classes static, for jikes.
2143
21442004-08-31 Michael Koch <konqueror@gmx.de>
2145
2146 * javax/swing/plaf/basic/BasicTextUI.java
2147 (RottView.modelToView): New method.
2148 (UpdateHandler): Renamed from EventHandler.
2149 (updateHandler): Renamed from eventHandler.
2150 (modelToView): Implemented.
2151 * javax/swing/text/AbstractDocument.java
2152 (BranchElement.getElement): Return null for non-existing indeces.
2153 (BranchElement.getElementIndex): Return 0 in some corner cases.
2154 * javax/swing/text/FieldView.java
2155 (modelToView): New method.
2156 * javax/swing/text/PlainView.java
2157 (modelToView): Made public.
2158
21592004-08-31 Kim Ho <kho@redhat.com>
2160
2161 * Makefile.am: New files.
2162 * Makefile.in: Regenerate.
2163 * gcj/Makefile.in: Regenerate.
2164 * include/Makefile.in: Regenerate.
2165 * java/awt/Color.java: Fix documentation.
2166 (RGBtoHSB): Use floats for conversions.
2167 * javax/swing/ButtonGroup.java: Run Jalopy.
2168 (setSelected): Reimplement.
2169 * javax/swing/DefaultButtonModel.java: Run Jalopy.
2170 (changeState): Let ButtonGroup know that the button
2171 is changing state.
2172 * javax/swing/JColorChooser.java: Implement.
2173 * javax/swing/JLabel.java: Run Jalopy.
2174 * javax/swing/JSpinner.java: Run Jalopy.
2175 (setValue): New method.
2176 * javax/swing/JTabbedPane.java: Run Jalopy.
2177 (removeTabAt): Call correct remove method.
2178 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2179 (getPreviousValue): Compare minimum value.
2180 * javax/swing/Timer.java: Run Jalopy.
2181 (run): Comment out println.
2182 * javax/swing/ToolTipManager.java:
2183 (mouseMoved): Get new tooltip text for location.
2184 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2185 Jalopy and Javadoc.
2186 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2187 Implement.
2188 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2189 Run Jalopy.
2190 (setSelectedColor): Fire ChangeEvent.
2191 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2192 New file. Implement.
2193 * javax/swing/colorchooser/DefaultPreviewPanel.java:
2194 Ditto.
2195 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2196 Ditto.
2197 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2198 Ditto.
2199 * javax/swing/plaf/basic/BasicArrowButton.java:
2200 (getArrow): Fix size of upward pointing button.
2201 * javax/swing/plaf/basic/BasicColorChooserUI.java:
2202 Implement.
2203 * javax/swing/plaf/basic/BasicSliderUI.java:
2204 (getWidthOfWidestLabel): Use preferred dimensions.
2205 (getHeightOfTallestLabel): Ditto.
2206 * javax/swing/plaf/basic/BasicSpinnerUI.java:
2207 Run Jalopy.
2208 (mousePressed): Disable changes to spinner if it is not enabled.
2209 * testsuite/Makefile.in: Regenerate.
2210
2211
22122004-08-31 Michael Koch <konqueror@gmx.de>
2213
2214 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2215 javax/swing/plaf/basic/BasicTableUI.java:
2216 Added copyright notice.
2217
22182004-08-31 Olga Rodimina <rodimina@redhat.com>
2219
2220 * Makefile.am: Added new files.
2221 * Makefile.in: Regenerate.
2222 * javax/swing/ComboBoxEditor.java: Added javadocs.
2223 * javax/swing/ComboBoxModel.java: Likewise.
2224 * javax/swing/DefaultComboBoxModel.java: Implemented.
2225 * javax/swing/DefaultListCellRenderer.java: Added javadocs
2226 and ran through jalopy to fix formatting style.
2227 (getListCellRendererComponent): Use appropriate border
2228 if renderer has focus and use noFocusBorder when it doesn't.
2229 * javax/swing/JComboBox.java: Implemented.
2230 * javax/swing/JList.java:
2231 (locationToIndex): New Method. Implemented.
2232 (indexToLocation): New Method.
2233 * javax/swing/JPopupMenu.java:
2234 (visible): New field.
2235 (isVisible): Changed to use new field above.
2236 (setVisible): Likewise.
2237 * javax/swing/MutableComboBoxModel.java: Added javadocs.
2238 * javax/swing/plaf/basic/BasicArrowButton.java:
2239 (shadow): Changed default color to Color.gray.
2240 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2241 UI delegate for JComboBox.
2242 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2243 Popup menu containing list of JComboBox's items.
2244 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2245 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2246 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2247 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2248 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2249 (popupMenuWillBecomeVisible): Set selected path to the first
2250 element only if it is of type MenuElement. Also fix formatting
2251 style.
2252 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2253 methods signatures.
2254
22552004-08-31 Michael Koch <konqueror@gmx.de>
2256
2257 * javax/swing/text/AbstractDocument.java
2258 (createBranchElement): Use new constructor of BranchElement.
2259 (createLeafElement): Renamed arguments.
2260 (getRootElements): Implemented.
2261 (BranchElement.start): Removed.
2262 (BranchElement.end): Likewise.
2263 (BranchElement.BranchElement): Fixed arguments.
2264 (BranchElement.getEndOffset): Reimplemented.
2265 (BranchElement.getStartOffset): Likewis.
2266 * javax/swing/text/DefaultCaret.java
2267 (paint): Draw simple vertical line as caret instead of a rectangle.
2268 * javax/swing/text/JTextComponent.java
2269 (setText): Use doc directly.
2270 * javax/swing/text/PlainView.java
2271 (nextTabStop): Implemented.
2272 * javax/swing/text/Utilities.java
2273 (drawTabbedText): nextTabStop() returns an absolute x position.
2274 (getTabbedTextWidth): Likewise.
2275
22762004-08-31 Graydon Hoare <graydon@redhat.com>
2277
2278 * java/awt/Component.java
2279 (isFocusTraversable): Predicate on isLightweight()
2280 (setFocusable): Set isFocusTraversableOverridden.
2281 (requestFocus): Predicate peer dispatch on !isLightweight()
2282 (requestFocusInWindow): Likewise.
2283 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2284 * java/awt/Container.java
2285 (dispatchEventImpl): Predicate on event mask.
2286 (LightweightDispatcher): Remove focus machinery.
2287 * java/awt/DefaultFocusTraversalPolicy.java
2288 (accept): Expand predicate to include isFocusable().
2289 * java/awt/DefaultKeyboardFocusManager.java:
2290 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2291 * java/awt/KeyboardFocusManager.java
2292 (redispatchEvent): Synchronize on event to prevent feedback.
2293 * javax/swing/AbstractButton.java
2294 (ButtonFocusListener): Remove class.
2295 (init): Set focusPainted, focusable.
2296 * javax/swing/ActionMap.java (get): Check parent for null.
2297 * javax/swing/InputMap.java (get): Likewise.
2298 * javax/swing/JComponent.java
2299 (inputMap_whenFocused): New InputMap.
2300 (inputMap_whenAncestorOfFocused): Likewise.
2301 (inputMap_whenInFocusedWindow): Likewise.
2302 (getActionForKeyStroke): Rewrite.
2303 (getConditionForKeystroke): Likewise.
2304 (ActionListenerProxy): New private class.
2305 (setInputMap): Implement.
2306 (getInputMap): Likewise.
2307 (setActionMap): Likewise.
2308 (getActionMap): Likewise.
2309 (processComponentKeyEvent): New empty method.
2310 (processKeyEvent): Implement.
2311 (processKeyBinding): Likewise.
2312 (resetKeyboardActions): Rewrite.
2313 * javax/swing/KeyStroke.java: Rewrite.
2314 * javax/swing/SwingUtilities.java
2315 (notifyAction): Implement.
2316 (replaceUIActionMap): Likewise.
2317 (replaceUIInputMap): Likewise.
2318 * javax/swing/plaf/basic/BasicButtonListener.java
2319 (focusGained): Implement.
2320 (focusLost): Repaint if focusPainted().
2321 (installKeyboardActions): Install pressed / released actions.
2322 (uninstallKeyboardActions): Implement.
2323 * javax/swing/plaf/basic/BasicButtonUI.java
2324 (focusColor): New field.
2325 (installDefaults): Load focus color, install input map.
2326 (installKeyboardActions): Implement.
2327 (uninstallKeyboardActions): Likewise.
2328 (paintFocus): Rewrite.
2329 * javax/swing/plaf/basic/BasicLookAndFeel.java
2330 (Button.focus): New default, midPurple.
2331 * javax/swing/plaf/basic/BasicTextUI.java
2332 (kit): Make static.
2333 (installUI): Get doc from kit, load defaults.
2334 (getKeymapName): Implement.
2335 (createKeymap): Likewise.
2336 (installKeyboardActions): Likewise.
2337 (getInputMap): Likewise.
2338 (getActionMap): Likewise.
2339 (createActionMap): Likewise.
2340 * javax/swing/text/AbstractDocument.java
2341 (getStartPosition): Implement.
2342 (getEndPosition): Likewise.
2343 * javax/swing/text/DefaultEditorKit.java
2344 (CopyAction): New class.
2345 (CutAction): Likewise.
2346 (DefaultKeyTypedAction): Likewise.
2347 (InsertBreakAction): Likewise.
2348 (InsertContentAction): Likewise.
2349 (InsertTabAction): Likewise.
2350 (PasteAction): Likewise.
2351 (defaultActions): New static table.
2352 (createCaret): Implement.
2353 (getActions): Likewise.
2354 * javax/swing/text/JTextComponent.java
2355 (KeymapWrapper): New private class.
2356 (KeymapActionMap): Likewise.
2357 (DefaultKeymap): New class.
2358 (keymaps): New static table.
2359 (keymap): New field.
2360 (getKeymap): Implement.
2361 (removeKeymap): Likewise.
2362 (addKeymap): Likewise.
2363 (setKeymap): Likewise.
2364 (loadKeymap): Likewise.
2365 (getActions): Likewise.
2366 (margin): New field.
2367 (JTextComponent): Build and install default keymap.
2368 * javax/swing/text/TextAction.java
2369 (textAction): Call super properly.
2370 (getTextComponent): Implement.
2371 * javax/swing/text/Utilities.java
2372 (drawTabbedText): Adjust position by ascent.
2373
23742004-08-31 David Jee <djee@redhat.com>
2375
2376 PR AWT/17156
2377
2378 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2379 (setEnabled): Make it a native method.
2380 * java/awt/DefaultKeyboardFocusManager.java
2381 (postProcessKeyEvent): Only post event if the menu item
2382 is active.
2383 * java/awt/MenuItem.java:
2384 Private field 'enabled' should be true by default.
2385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2386 (setEnabled): New function.
2387
23882004-08-31 David Jee <djee@redhat.com>
2389
2390 PR AWT/17059
2391
2392 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2393 (nativeSetHelpMenu): New native method declaration.
2394 (addHelpMenu): Call nativeSetHelpMenu().
2395 (addMenu): Remove.
2396 * java/awt/MenuBar.java
2397 (setHelpMenu): Call addNotify() on the new help menu.
2398 (add): Call addNotify() on the new menu.
2399 (addNotify): Set the help menu if one exists.
2400 * java/awt/peer/MenuBarPeer.java
2401 (addMenu): Remove.
2402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2403 (nativeSetHelpMenu): New method.
2404
24052004-08-31 Graydon Hoare <graydon@redhat.com>
2406
2407 * Makefile.am: Add new files.
2408 * Makefile.in: Regenerate.
2409 * javax/swing/Box.java: Fix setting of layout in ctor.
2410 * javax/swing/JScrollPane.java: Scroll headers as well.
2411 * javax/swing/JTable.java: Reimplement.
2412 * javax/swing/JViewPort.java: Only add non-null children.
2413 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2414 * javax/swing/Timer.java: Fix stopping null waker.
2415 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2416 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2417 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2418 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2419 * javax/swing/table/DefaultTableModel.java: Clean up.
2420 * javax/swing/table/JTableHeader.java: Implement.
2421
24222004-08-31 Mark Wielaard <mark@klomp.org>
2423
2424 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2425 semi-colon.
2426
24272004-08-31 Mark Wielaard <mark@klomp.org>
2428
2429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2430 Declare variables at top of functions/block.
2431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2432
24332004-08-31 Mark Wielaard <mark@klomp.org>
2434
2435 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2436 first.
2437
24382004-08-31 Michael Koch <konqueror@gmx.de>
2439
2440 * javax/swing/text/PlainView.java
2441 (selectedColor): New field.
2442 (unselectedColor): Likewise.
2443 (font): Likewise.
2444 (updateMetrics): New method.
2445 (lineToRect): Likewise.
2446 (modelToView): Likewise.
2447 (drawSelectedText): Use color from JTextComponent ad draw with
2448 Utilities class.
2449 (drawUnselectedText): Likewise.
2450 (paint): Initialize helper fields.
2451 * javax/swing/text/View.java
2452 (getChildAllocation): New method.
2453 (getViewIndex): Likewise.
2454 (getToolTipText): Likewise.
2455
24562004-08-31 Michael Koch <konqueror@gmx.de>
2457
2458 * javax/swing/text/Utilities.java
2459 (drawTabbedText): Reimplemented.
2460 (getTabbedTextWidth): Likewise.
2461
24622004-08-31 Michael Koch <konqueror@gmx.de>
2463
2464 * javax/swing/plaf/basic/BasicTextUI.java
2465 (installDefaults): Install caret and highlighter.
2466 (modelToView): Use Bias.Forward when calling sibling.
2467 * javax/swing/text/AbstractDocument.java
2468 (ElementEdit): Implements DocumentEvent.ElementChange.
2469 (ElementEdit.ElementEdit): New method.
2470 (ElementEdit.getChildrenAdded): Likewise.
2471 (ElementEdit.getChildrenRemoved): Likewise.
2472 (ElementEdit.getElement): Likewise.
2473 (ElementEdit.getIndex): Likewise.
2474 * javax/swing/text/DefaultCaret.java
2475 (color): Removed.
2476 (textComponent): Renamed from parent, made private.
2477 (selectionVisible): Renamed from vis_sel, made private.
2478 (blinkRate): Renamed from blink, made private.
2479 (magicCaretPosition): Renamed from magic, made private.
2480 (visible): Renamed from vis, made private.
2481 (dot): Made private.
2482 (mark): Likewise.
2483 (deinstall): Remove as MouseMotionListener.
2484 (install): Initialize textComponent first. Add as MouseMotionListener.
2485 (paint): Reimplemented.
2486 * javax/swing/text/JTextComponent.java
2487 (setCaret): Deinstall old caret, install new one and fire property
2488 change after setting property.
2489 (setHighlighter): Deinstall old highlighter, install new one and fire
2490 property change after setting property.
2491 (setCaretColor): Fire property change after setting property.
2492 (setDisabledTextColor): Likewise.
2493 (setSelectedTextColor): Likewise.
2494 (setSelectionColor): Likewise.
2495 (modelToView): New method.
2496
24972004-08-31 Michael Koch <konqueror@gmx.de>
2498
2499 * javax/swing/text/AbstractDocument.java
2500 (getText): Simplified.
2501 * javax/swing/text/Segment.java
2502 (current): New field.
2503 (current): Reimplemented.
2504 (first): Likewise.
2505 (getIndex): Likewise.
2506 (last): Likewise.
2507 (next): Likewise.
2508 (previous): Likewise.
2509 (setIndex): Likewise.
2510
25112004-08-31 Michael Koch <konqueror@gmx.de>
2512
2513 * javax/swing/plaf/basic/BasicButtonUI.java
2514 (defaultTextIconGap): Made protected.
2515 (defaultTextShiftOffset): Likewise.
2516 (textShiftOffset): New field.
2517 (clearTextShiftOffset): New method.
2518 (getTextShiftOffset): Likewise.
2519 (setTextShiftOffset): Likewise.
2520
25212004-08-31 Michael Koch <konqueror@gmx.de>
2522
2523 * javax/swing/plaf/basic/BasicTextUI.java
2524 (installUI): Add eventHandler as property listener.
2525 (uninstallUI): remove eventHandler as propert listener.
2526 (installDefaults): Added comment.
2527 (installListeners): Likewise.
2528 (installKeyboardActions): Likewise.
2529 (uninstallDefaults): Likewise.
2530 (uninstallListeners): Likewise.
2531 (uninstallKeyboardActions): Likewise.
2532
25332004-08-31 Michael Koch <konqueror@gmx.de>
2534
2535 * javax/swing/text/AbstractDocument.java:
2536 Fixed some typos in comments.
2537 (insertString): Reimplemented.
2538 (remove): Likewise.
2539 (replace): New method.
2540 (children): Dont use fully qualified class name.
2541 (DefaultDocumentEvent.offset): Renamed from off.
2542 (DefaultDocumentEvent.length): Renamed from len.
2543 (DefaultDocumentEvent.type): New field.
2544 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2545 (DefaultDocumentEvent.getType): Implemented.
2546
25472004-08-31 Michael Koch <konqueror@gmx.de>
2548
2549 * javax/swing/plaf/basic/BasicTextUI.java
2550 (RootView.textComponent): Removed.
2551 (RootView.RootView): Don't initialize textComponent.
2552 (RootView.getViewFactory): New method.
2553 (EventHandler): New inner class.
2554 (rootView): Initialize at instance creation.
2555 (eventHandler): New field.
2556 (installUI): Don't create view hierarchy directly,
2557 call modelChanged() instead.
2558 (modelChanged): New method.
2559 * javax/swing/text/JTextComponent.java
2560 (setDocument): Fire property change event.
2561
25622004-08-31 Michael Koch <konqueror@gmx.de>
2563
2564 * javax/swing/plaf/basic/BasicTextUI.java
2565 (RootView.paint): Removed debug output.
2566 (paintSafely): Draw highlighter before text.
2567 (paintBackground): Use background color of text component.
2568 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2569 Reformatted.
2570
25712004-08-31 Michael Koch <konqueror@gmx.de>
2572
2573 * javax/swing/plaf/basic/BasicToolBarUI.java
2574 (BasicToolBarUI): Fixed arguments for constructor.
2575 (createUI): Fixed creation of object.
2576
25772004-08-31 Michael Koch <konqueror@gmx.de>
2578
2579 * javax/swing/DefaultListSelectionModel.java
2580 (fireValueChanged): Renamed from fireSelectionValueChanged,
2581 made protected.
2582
25832004-08-31 Michael Koch <konqueror@gmx.de>
2584
2585 * javax/swing/text/TabSet.java
2586 (TabSet): Implements java.io.Serializable.
2587 * javax/swing/text/TabStop.java
2588 (TabStop): Implements java.io.Serializable.
2589 (TabStop): Made public.
2590
25912004-08-31 Michael Koch <konqueror@gmx.de>
2592
2593 * javax/swing/JComponent.java
2594 (setUI): Fire PropertyChange.
2595 * javax/swing/JLabel.java
2596 (text): Renamed from labelText.
2597 (horizontalAlignment): New default vlaue.
2598 (icon): Renamed from activeIcon.
2599 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2600 (displayedMnemonicIndex): Renamed from underlineChar.
2601 (setDisplayedMnemonic): Reimplemented.
2602 * javax/swing/JRadioButton.java
2603 (JRadioButton): New constructors.
2604 * javax/swing/JTextField.java
2605 (JTextField): Throw exception if colums < 0, initialitialz
2606 this.columns directly and initialize document with text conditionally.
2607
26082004-08-31 Michael Koch <konqueror@gmx.de>
2609
2610 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2611 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2612 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2613 * javax/swing/text/FieldView.java
2614 (paint): Just call super method for now.
2615 * Makefile.am: Added new files.
2616 * Makefile.in: Regenerated.
2617
26182004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2619
2620 * javax/swing/AbstractSpinnerModel.java,
2621 javax/swing/JSpinner.java,
2622 javax/swing/SpinnerNumberModel.java,
2623 javax/swing/plaf/basic/BasicSpinnerUI.java:
2624 New files.
2625 * javax/swing/plaf/basic/BasicLookAndFeel.java
2626 (initClassDefaults): Added defaults for BasicSpinnerUI.
2627
26282004-08-31 Michael Koch <konqueror@gmx.de>
2629
2630 * Makefile.am: Added new files.
2631 * Makefile.in: Regenerated.
2632
26332004-08-31 Michael Koch <konqueror@gmx.de>
2634
2635 * javax/swing/TransferHandler.java,
2636 javax/swing/plaf/basic/ComboPopup.java: New files
2637 * Makefile.am: Added javax/swing/TransferHandler.java and
2638 javax/swing/plaf/basic/ComboPopup.java
2639 * Makefile.in: Regenerated.
2640
26412004-08-31 Roman Kennke <roman@ontographics.com>
2642
2643 * javax/swing/text/Utilities.java: New file.
2644
26452004-08-31 Michael Koch <konqueror@gmx.de>
2646
2647 * Makefile.am: Added javax/swing/text/Utilities.java.
2648 * Makefile.in: Regenerated.
2649
26502004-08-31 Graydon Hoare <graydon@redhat.com>
2651
2652 * javax/swing/text/SimpleAttributeSet.java: New file.
2653 * javax/swing/text/StyleConstants.java: New file.
2654 * javax/swing/text/StyleContext.java: New file.
2655 * javax/swing/text/TabSet.java: New file.
2656 * javax/swing/text/TabStop.java: New file.
2657 * javax/swing/text/AbstactDocument.java:
2658 (AbstractElement): Implement attribute support.
2659 * javax/swing/text/AttributeSet.java
2660 (NameAttribute): New static field.
2661 (ResolveAttribute): New static field.
2662 * Makefile.am: Update for new files.
2663 * Makefile.in: Regenerate.
2664
26652004-08-31 Craig Black <craig.black@aonix.com>
2666
2667 * gnu/java/awt/peer/gtk/GdkGraphics.java
2668 (drawImage): Add support for scaling pixmaps.
2669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2670 (copyAndScalePixmap): New native method.
2671
26722004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2673
2674 PR AWT/16121
2675 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2676 type-punning compiler warnings using unions.
2677 (throw): Replace bzero with memset.
2678
26792004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2680 Thomas Fitzsimmons <fitzsim@redhat.com>
2681
2682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2683 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2684 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2686 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2687
26882004-08-31 Mark Wielaard <mark@klomp.org>
2689
2690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2691 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2692 and stdlib.h, not gtkpeer.h.
2693 (*vm): New static variable.
2694 (areaPreparedID): Make static.
2695 (areaUpdatedID): Likewise.
2696 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2697 (area_prepared): Likewise.
2698 (area_updated): Likewise.
2699 (closed): Likewise.
2700 (initStaticState): Initialize *vm javaVM.
2701 (pumpBytes): Use given env, not global gdk_env.
2702
27032004-08-31 Mark Wielaard <mark@klomp.org>
2704
2705 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2706 comments.
2707
27082004-08-31 Sven de Marothy <sven@physto.se>
2709
2710 * java/awt/geom/CubicCurve2D.java: Reindent.
2711 (contains): Implemented.
2712 (intersects): Implemented.
2713 * java/awt/geom/QuadCurve2D.java: Likewise.
2714 * java/awt/geom/GeneralPath.java: Reindent and document.
2715 Fully (re)implemented using separate xpoints and ypoints
2716 float[] coords.
2717 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2718
27192004-08-31 Michael Koch <konqueror@gmx.de>
2720
2721 * javax/swing/JMenuItem.java
2722 (getMenuDragMouseListeners): New method.
2723 (getMenuKeyListeners): Likewise.
2724
27252004-08-31 Michael Koch <konqueror@gmx.de>
2726
2727 * javax/swing/AbstractButton.java
2728 (model): Made protected.
2729 (actionListener): Likewise.
2730 (changeListener): Likewise.
2731 (itemListener): Likewise.
2732 (multiClickThreshhold): New field.
2733 (getActionListeners): New method.
2734 (getChangeListeners): Likewise.
2735 (getItemListeners): Likewise.
2736 (fireItemStateChanged): Simplified implementation.
2737 (fireActionPerformed): Likewise.
2738 (fireStateChanged): Likewise.
2739 (getMultiClickThreshhold): New method.
2740 (setMultiClickThreshhold): Likewise.
2741
27422004-08-31 Tom Tromey <tromey@redhat.com>
2743
2744 * java/awt/image/Kernel.java (clone): Use super.clone().
2745
27462004-08-31 David Jee <djee@redhat.com>
2747
2748 PR AWT/16682
2749 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2750 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2751 (nativeSetIconImageFromData): New native method declaration.
2752 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2753 * gnu/java/awt/peer/gtk/GtkImage.java
2754 (getPixelCache): New method.
2755 (getColorModel): New method.
2756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2757 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2758 (free_pixbuf_data): New helper function.
2759 (nativeSetIconImageFromData): New function.
2760
27612004-08-31 Graydon Hoare <graydon@redhat.com>
2762
2763 PR SWING/16576
2764 * javax/swing/JLayeredPane.java
2765 (setLayer): Permit changing layer after addition.
2766 (setPosition): Permit over-length positions.
2767 (layerToRange): Compare intValue()s.
2768 * javax/swing/Box.java (createHorizontalBox): Implement.
2769 (createRigidArea): Likewise.
2770 (createVerticalBox): Likewise.
2771
27722004-08-31 Kim Ho <kho@redhat.com>
2773
2774 * java/awt/Component.java:
2775 (processMouseEvent): Consume event after
2776 listeners process it.
2777 (processMouseMotionEvent): ditto.
2778 (processMouseWheelEvent): ditto.
2779 * java/awt/Container.java:
2780 (acquireComponentForMouseEvent):
2781 Do not dispatch to events that have been
2782 removed from the Container.
2783 (handleEvent): Consume the MouseEvents.
2784 * javax/swing/RepaintManager.java:
2785 (paintDirtyRegions): Do not add to list of
2786 damaged areas if the component has no root.
2787
27882004-08-31 Michael Koch <konqueror@gmx.de>
2789
2790 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2791
27922004-08-31 Mark Wielaard <mark@klomp.org>
2793
2794 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2795 null when a MissingResourceException is thrown. Should never happen.
2796
27972004-08-31 Mark Wielaard <mark@klomp.org>
2798
2799 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2800 when argument is null.
2801
28022004-08-31 Mark Wielaard <mark@klomp.org>
2803
2804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2805 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2806 Define hid at start of function.
2807 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2808 Likewise.
2809
28102004-08-31 Mark Wielaard <mark@klomp.org>
2811
2812 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2813 * javax/swing/JButton.java: Reindent.
2814 * javax/swing/JCheckBox.java: Reindent.
2815
28162004-08-31 Mark Wielaard <mark@klomp.org>
2817
2818 * Makefile.am (gtk_c_source_files): Added
2819 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2820 (gtk_awt_peer_sources): Added
2821 gnu/java/awt/peer/gtk/GThreadMutex.java and
2822 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2823 * Makefile.in: Regenerated.
2824
28252004-08-31 Archie Cobbs <archie@dellroad.org>
2826
2827 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2828
28292004-08-31 Steven Augart <augart@watson.ibm.com>
2830
2831 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2832 Added jfieldID, jmethodID.
2833
28342004-08-31 Mark Wielaard <mark@klomp.org>
2835
2836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2837 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2838 gdk_env before calling any gdk or gtk function.
2839
2840 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2841 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2842 (run): Set gtkInitCalled.
2843
28442004-08-31 Steven Augart <augart@watson.ibm.com>
2845
2846 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2847 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2848
2849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2850 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2851 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2852 init_glib_threads.
2853 (init_glib_threads): New function.
2854
28552004-08-31 Mark Wielaard <mark@klomp.org>
2856
2857 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2858 PRIORITY when not already defined in header file.
2859
28602004-08-31 Mark Wielaard <mark@klomp.org>
2861
2862 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2863 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2864
28652004-08-31 Steven Augart <augart@watson.ibm.com>
2866
2867 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2868 Implemented missing functions for GTK2.
2869 Added error handling.
2870 Renamed static functions out of the g_ namespace.
2871 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2872 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2873 Rewrote global-reference code.
2874 Eliminated cascading errors.
2875 (mutex_trylock_jni_impl) Fully implemented.
2876 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2877 resolution.
2878 (setup_cache) New function.
2879 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2880 bug where they were not unlocking the GMutex associated with the
2881 condition variable during the wait on that condition variable.
2882
2883 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2884 native/jni/gtk-peer/gthread-jni.c,
2885 native/jni/gtk-peer/gthread-jni.h
2886 (g_thread_jni_functions): Renamed to ...
2887 (portable_native_sync_jni_functions): this name.
2888 (gdk_vm): Renamed to...
2889 (the_vm): this name.
2890
2891 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2892 (gdk_vm): Removed duplicate definition.
2893 (gtkInit): Removed stray message to stdout.
2894 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2895 (gtkInit): Fix a const assignment bug.
2896 (gtkInit): Simplified code.
2897
2898 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2899 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2900 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2901 gnu/java/awt/peer/gtk/GThreadMutex.java:
2902 New files.
2903
29042004-08-31 Mark Wielaard <mark@klomp.org>
2905
2906 * javax/swing/Box.java: Put FIXME comment above class declaration.
2907 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2908 * javax/swing/JCheckBox.java: Likewise.
2909 * javax/swing/JDialog.java: Likewise.
2910 * javax/swing/JRadioButton.java: Likewise.
2911 * javax/swing/JToggleButton.java: Likewise.
2912 * javax/swing/UIManager.java: Likewise.
2913 * javax/swing/border/TitledBorder.java: Likewise.
2914 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2915 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2916 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2917 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2918 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2919 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2920 * javax/swing/text/JTextComponent.java: Likewise.
2921
29222004-08-31 David Jee <djee@redhat.com>
2923
2924 PR AWT/16682
2925 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2926 (setIconImage): Add a FIXME for unhandled cases.
2927
29282004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2929
2930 PR AWT/16040
2931 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2932 getModifiers. Replace old button masks with new ones.
2933 * gnu/awt/xlib/XEventLoop.java: Likewise.
2934 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2935 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2936 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2937 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2938 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2939 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2940 * java/awt/Component.java: Replace old modifier masks with new
2941 ones.
2942 * java/awt/Container.java: Call getModifiersEx, not
2943 getModifiers.
2944 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2945 old modifier masks.
2946 * javax/swing/JMenuItem.java: Replace old button masks with new
2947 ones.
2948 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2949 getModifiers.
2950 * javax/swing/SwingUtilities.java: Likewise.
2951 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2952 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2954 mask macros with new ones.
2955 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2956 macros with new ones representing new masks.
2957
29582004-08-31 Craig Black <craig.black@aonix.com>
2959
2960 * gnu/java/awt/peer/gtk/GdkGraphics.java
2961 (drawRoundRect): Implemented.
2962 (fillRoundRect): Implemented.
2963 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2964 (drawRoundRect): Reimplemented to match GdkGraphics.
2965 (fillRoundRect): Reimplemented to match GdkGraphics.
2966
29672004-08-31 Mark Wielaard <mark@klomp.org>
2968
2969 * Makefile.in: Regenerated.
2970
29712004-08-31 Michael Koch <konqueror@gmx.de>
2972
2973 * gnu/java/awt/EmbeddedWindow.java
2974 (addNotify): Use AccessController to allow execution of privileged
2975 code.
2976
29772004-08-31 Michael Koch <konqueror@gmx.de>
2978
2979 * gnu/java/awt/EmbeddedWindow.java
2980 (static): Removed.
2981 (addNotify): Set peer via reflection.
2982 (setWindowPeer): Removed.
2983 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2984 * Makefile.am (nat_source_files):
2985 Removed gnu/java/awt/natEmbeddedWindow.cc.
2986
29872004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2988
2989 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2990 and gnu/java/security/action/SetAccessibleAction.java.
2991
29922004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2993
2994 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2995 Renamed from 'setName'. New 2-argument form with default value.
2996 (run): Pass default 'value' parameter to System.getProperty().
2997 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2998 typos.
2999
30002004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3001
3002 * gnu/java/security/action/GetPropertyAction.java: New class.
3003 * gnu/java/security/action/SetAccessibleAction.java: New class.
3004
30052004-08-31 David Jee <djee@redhat.com>
3006
3007 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3008 (setIconImage): Check if image is null.
3009
30102004-08-31 David Jee <djee@redhat.com>
3011
3012 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3013 (create): Set the icon image.
3014 (nativeSetIconImage): New native method declaration.
3015 (setIconImage): Implement.
3016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3017 (nativeSetIconImage): New function.
3018
30192004-08-31 Dalibor Topic <robilad@kaffe.org>
3020
3021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3022 (filenameFilterCallback): Declare local variable accepted before use.
3023
30242004-08-31 Dalibor Topic <robilad@kaffe.org>
3025
3026 * gnu/java/awt/ComponentDataBlitOp.java:
3027 Cleaned up imports.
3028
30292004-08-31 Tom Tromey <tromey@redhat.com>
3030
3031 * gnu/java/awt/peer/GLightweightPeer.java,
3032 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3033 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3034 javax/swing/JScrollPane.java: Removed
3035 redundant imports.
3036
30372004-08-31 David Jee <djee@redhat.com>
3038
3039 * java/awt/DefaultKeyboardFocusManager.java
3040 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3041 event. Fix shift modifier checking.
3042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3043 (accel_attach): Remove.
3044 (setupAccelGroup): Remove calls to accel_attach.
3045
30462004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3047
3048 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3049 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3050
3051 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3052 GtkArgList.java.
3053 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3054 * Makefile.in: Regenerate.
3055 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3056 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3057 (create(String)): New method.
3058 (create): Call new create method.
3059 (getArgs): Remove method.
3060 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3062 (nativeCreate): Rename to create.
3063 (gtkSetLabel): Rename to gtkButtonSetLabel.
3064 (gtkToggleButtonSetActive): New method.
3065 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3066 (setState): Replace set call with gtkToggleButtonSetActive.
3067 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3068 (getArgs): Remove method.
3069 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3070 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3071 (gtkWidgetSetSensitive): New method.
3072 (gtkWidgetSetParent): Likewise.
3073 (GtkComponentPeer): Call setParent, setComponentBounds and
3074 setVisibleAndEnabled.
3075 (setParent): New method.
3076 (setComponentBounds): New method.
3077 (setVisibleAndEnabled): New method.
3078 (setEnabled): Call gtkWidgetSetSensitive.
3079 (getArgs): Remove method.
3080 Remove all set methods.
3081 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3082 gtkWindowSetModal, setTitle and setResizable.
3083 (getArgs): Remove method.
3084 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3085 (setComponentBounds): New method.
3086 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3087 Replace set call with gtkWindowSetResizable.
3088 (getArgs): Remove method.
3089 (create): Call setTitle and setResizable.
3090 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3091 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3092 (gtkWindowSetTitle): New method.
3093 (gtkWindowSetResizable): New method.
3094 (gtkWindowSetModal): New method.
3095 (setParent): New method.
3096 (setVisibleAndEnabled): New method.
3097 (getArgs): Remove method.
3098 (setTitle): Call gtkWindowSetTitle.
3099 (setResizable): Call gtkWindowSetResizable.
3100 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3101 and off locking instrumentation.
3102
31032004-08-31 Kim Ho <kho@redhat.com>
3104
3105 * Makefile.am: Add new file.
3106 * Makefile.in: Regenerate.
3107 * gcj/Makefile.in: Regenerate
3108 * include/Makefile.in:
3109 * java/awt/Container.java:
3110 (acquireComponentForMouseEvent): Respect
3111 the event mask when looking for candidate.
3112 * javax/swing/JComponent.java:
3113 Remove toolTip field.
3114 (createToolTip): Create a tooltip on demand.
3115 (setToolTipText): Register with the ToolTipManager.
3116 (getToolTipText(MouseEvent)): Return getToolTipText().
3117 * javax/swing/JToolTip.java: Implement.
3118 * javax/swing/Timer.java: Jalopy.
3119 (restart): Call stop, then start.
3120 (stop): Interrupt the timer rather than wait for
3121 the timer to come to a stop naturally.
3122 * javax/swing/ToolTipManager.java: Implement.
3123 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3124 Change ToolTip.background color.
3125 * javax/swing/plaf/basic/BasicToolTipUI.java:
3126 Implement.
3127 * testsuite/Makefile.in: Regenerate
3128
31292004-08-31 Jerry Quinn <jlquinn@optonline.net>
3130
3131 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3132 constructor param comments.
3133
31342004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3135
3136 * java/awt/Component.java: Document AWT 1.0 event handler
3137 methods.
3138
31392004-08-31 Roman Kennke <roman@ontographics.com>
3140
3141 * javax/swing/Box.java:
3142 (createGlue): Implemented
3143 (createHorizontalGlue): Implemented
3144 (createHorizontalStrut): Implemented
3145 (createVerticalGlue): Implemented
3146 (createVerticalStrut): Implemented
3147
31482004-08-31 David Jee <djee@redhat.com>
3149
3150 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3151 (GtkChoicePeer): Do not automatically select first item.
3152 (getHistory): Remove.
3153 (nativeGetSelected): New method.
3154 (nativeRemoveAll): New method.
3155 (add): Use nativeGetSelected() instead of getHistory().
3156 (remove): Likewise.
3157 (removeAll): Call nativeRemoveAll().
3158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3159 (create): Migrate to GtkComboBox.
3160 (append): Likewise.
3161 (nativeAdd): Likewise.
3162 (nativeRemove): Likewise.
3163 (select): Likewise.
3164 (nativeRemoveAll): New method.
3165 (nativeGetSelected): New method.
3166 (selection_changed): New method.
3167 (getHistory): Remove.
3168 (item_activate): Remove.
3169 (item_removed): Remove.
3170 (connect_choice_item_selectable_hook): Remove.
3171
31722004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3173
3174 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3175 variable in setEditable call.
3176
3177 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3178 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3179 (gtkWidgetSetBackground): New method.
3180 (gtkWidgetSetForeground): Likewise.
3181 (create): Set peer's editable state based on awtComponent's.
3182
3183 * java/awt/Button.java (Button()): Use empty string rather than
3184 null in no-label constructor.
3185
31862004-08-31 Roman Kennke <roman@ontographics.com>
3187
3188 * javax/swing/BoxLayout.java: Reimplement.
3189
31902004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3191
3192 * gnu/java/awt/peer/gtk/GdkGraphics.java,
3193 gnu_java_awt_peer_gtk_GdkGraphics.c
3194 (initState(GtkComponentPeer)): Don't return array of colour
3195 values.
3196 (GdkGraphics(int,int)): Set default font to size 12.
3197 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3198 component's foreground colour.
3199 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3200 gnu_java_awt_peer_gtk_GdkGraphics2D.c
3201 (initState(GtkComponentPeer)): Don't return array of colour
3202 values.
3203 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3204 colours to component's colours.
3205 (current_colors_of_widget): Remove function.
3206 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3207 Return a new graphics object.
3208 * java/awt/Font.java (toString): Fix format.
3209 * java/awt/Graphics.java (toString): Likewise.
3210
32112004-08-31 Craig Black <craig.black@aonix.com>
3212
3213 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3214 (addTearOff): New function.
3215 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3216 New native method.
3217 (init): Call addTearOff() when menu.isTearOff().
3218
32192004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3220
3221 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3222 Default implementation.
3223 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3224 Implement using GdkPixbufDecoder.
3225
32262004-08-31 David Jee <djee@redhat.com>
3227
3228 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3229 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3230 setting the size of GtkFileDialogPeers.
3231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3232 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3233 use their default sizes rather than their natural requisitions.
3234
32352004-08-31 Michael Koch <konqueror@gmx.de>
3236
3237 * javax/swing/JFormattedTextField.java
3238 (JFormattedTextField): Implemented.
3239 * javax/swing/text/DefaultEditorKit.java
3240 (BeepAction): New inner class.
3241 * javax/swing/text/Segment.java
3242 (partialReturn): New field.
3243 (setPartialReturn): New method.
3244 (isPartialReturn): Likewise.
3245 * javax/swing/text/View.java
3246 (createFragment): Fixed typo.
3247 (getStartOffset): New method.
3248 (getEndOffset): Likewise.
3249
32502004-08-31 Michael Koch <konqueror@gmx.de>
3251
3252 * javax/swing/table/DefaultTableColumnModel.java
3253 (serialVersionUID): Made private.
3254 (listenerList): Initialize.
3255 (changeEvent): Initialize.
3256 * javax/swing/table/JTableHeader.java
3257 (JTableHeader): New constructors.
3258 (createDefaultColumnModel): New method.
3259 * javax/swing/table/TableColumn.java
3260 (setHeaderRenderer): Simplified code.
3261 (setCellRenderer): Likewise.
3262 (setWidth): Likewise.
3263
e2ab6d12
TT
32642004-08-31 Tom Tromey <tromey@redhat.com>
3265
3266 * java/text/AttributedString.java (AttributedString): Use
3267 ArrayList to build array of attribute ranges. Don't use
3268 `attribs' before it is set.
3269
1c340cb6
AT
32702004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3271
3272 * HACKING: Remove reference to special automake. No longer needed.
3273
b6e9851a
TT
32742004-08-30 Tom Tromey <tromey@redhat.com>
3275
3276 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3277 return result from `add'.
3278
05502144
TT
32792004-08-30 Tom Tromey <tromey@redhat.com>
3280
3281 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3282
e7023b0f
AT
32832004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3284
3285 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3286
2c64dead
JF
32872004-08-30 Jeroen Frijters <jeroen@frijters.net>
3288
3289 * java/io/File.java File(String,String): Fixed handling of empty
3290 path.
3291
bd8a2e96
CM
32922004-08-30 Casey Marshall <csm@gnu.org>
3293
3294 Author e-mail updated for all files.
3295 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3296 instance of OID.
3297 (compareTo): Use `equals'.
3298 * gnu/java/security/der/BitString.java (equals): Test if the
3299 argument is an instance of BitString.
3300 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3301 class final. Made fields private.
3302 (<init>): New constructor.
3303 (skip): New method.
3304 (makeString): Made static; don't use NIO.
3305 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3306 * gnu/java/security/der/DERWriter.java: Fixed imports.
3307 (writeString): Don't use NIO.
3308 (toIso88591, toUtf16Be, toUtf8): New methods.
3309 * gnu/java/security/der/DERValue.java: Formatting changes only.
3310 * gnu/java/security/der/DER.java: Likewise.
3311
68760aee
AT
33122004-08-30 Tom Tromey <tromey@redhat.com>
3313
3314 * java/nio/CharBuffer.java (put): Fix typo.
3315 * java/nio/DoubleBuffer.java (put): Fix typo.
3316 * java/nio/FloatBuffer.java (put): Fix typo.
3317 * java/nio/IntBuffer.java (put): Fix typo.
3318 * java/nio/LongBuffer.java (put): Fix typo.
3319 * java/nio/ShortBuffer.java (put): Fix typo.
3320
33212004-08-30 Florian Weimer <fw@deneb.enyo.de>
3322
3323 * java/nio/ByteBuffer.java (put): Fix typo.
3324
28839b70
CM
33252004-08-30 Casey Marshall <csm@gnu.org>
3326
3327 * java/security/DummyKeyPairGenerator.java (clone): Removed
3328 useless instanceof check.
3329 * java/security/DummyMessageDigest.java (clone): Likewise.
3330 * java/security/DummySignature.java (clone): Likewise.
3331 * java/security/MessageDigest.java (clone): Remove useless
3332 instanceof check.
3333 * java/security/MessageDigestSpi.java (clone): Likewise.
3334 * java/security/Signature.java (clone): Provide meaningful
3335 implementation.
3336 * java/security/SignatureSpi.java (clone): Likewise.
3337
6cd655a3
MW
33382004-08-29 Mark Wielaard <mark@klomp.org>
3339
3340 * java/util/Arrays.java
3341 (sort(byte[], int, int)): Check fromIndex < 0.
3342 (sort(char[], int, int)): Likewise.
3343 (sort(short[], int, int)): Likewise.
3344 (sort(int[], int, int)): Likewise.
3345 (sort(long[], int, int)): Likewise.
3346 (sort(float[], int, int)): Likewise.
3347 (sort(double[], int, int)): Likewise.
3348 (sort(Object[], int, int, Comparator)): Likewise.
3349 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3350 (qsort(char[], int, int)): Likewise.
3351 (qsort(short[], int, int)): Likewise.
3352 (qsort(int[], int, int)): Likewise.
3353 (qsort(long[], int, int)): Likewise.
3354 (qsort(float[], int, int)): Likewise.
3355 (qsort(double[], int, int)): Likewise.
3356
477a21f7
AJH
33572004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3358
3359 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3360 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3361 java/util/ArrayList.java, java/util/Arrays.java,
3362 java/util/BitSet.java, java/util/Calendar.java,
3363 java/util/Collection.java, java/util/ListIterator.java,
3364 java/util/Map.java, java/util/SortedSet.java:
3365 Added additional exceptions to documentation, along
3366 with some additions and corrections.
3367
ed347998
HB
33682004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3369
3370 * configure.ac: Handle --enable-gc-debug.
3371 * configure: Regenerate.
3372 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3373 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3374 Rearrange include file order.
3375 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3376 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3377 (disable_gc_mutex): Delete along with all references.
3378 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3379 adjust for debug header size.
3380 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3381 debug case.
3382 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3383 (gcj_describe_type_fn): New.
3384 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3385 Register gcj_describe_type_fn.
3386 * include/boehm-gc.h:
3387 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3388 Don't define, but declare, for debug case.
3389 * java/lang/natObject.cc:
3390 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3391
42348101
MW
33922004-08-26 Mark Wielaard <mark@klomp.org>
3393
3394 Fixes PR libgcj/17002:
3395 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3396 a TimeZoneId string and then try to convert that to a TimeZone with
3397 getDefaultSystemTimeZone(String).
3398 (timezones0): Changed type from Hashtable to HashMap.
3399 (timezones): Create HashMap, not Hashtable.
3400 (getDefaultTimeZone): New method, rewritten from CNI version.
3401 (readTimeZoneFile): New method.
3402 (readtzFile): Likewise.
3403 (skipFully): Likewise.
3404 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3405 getDefaultTimeZoneId and rewritten.
3406 (getDefaultTimeZoneId): Rewritten in java.
3407
ed89de94
DD
34082004-08-25 David Daney <daney@avtrex.com>
3409
3410 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3411 * Makefile.in: Regenerated.
3412
8ba14152
BM
34132004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3414
3415 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3416 only if jvmpi is enabled.
3417 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3418 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3419 (_Jv_AllocString): Likewise.
3420 (_Jv_AllocPtrFreeObject): Likewise.
3421
0039c16d 34222004-08-23 Hans Boehm <Hans.Boehm@hp.com>
8ba14152 3423
0039c16d
HB
3424 * defineclass.cc: Include <stdio.h>.
3425 * java/lang/natClassLoader.cc: Include <stdio.h>.
3426
be2043db
AT
34272004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3428 Michael Koch <konqueror@gmx.de>
3429
3430 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3431 * Makefile.in: Regenerated.
3432
b7d9c3ae
MK
34332004-08-20 Michael Koch <konqueror@gmx.de>
3434
3435 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3436 AC_COMPILE_IFELSE macros.
3437
80d8905c
MK
34382004-08-20 Michael Koch <konqueror@gmx.de>
3439
3440 * configure.in: Renamed to configure.ac.
3441 * configure.ac: New file.
3442 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3443 include/config.h.in, testsuite/Makefile.in: Regenerated.
3444
cad90591
MK
34452004-08-20 Michael Koch <konqueror@gmx.de>
3446
3447 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3448 * aclocal.m4, configure: Regenerated.
3449
e3f92d3b
MK
34502004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3451 Michael Koch <konqueror@gmx.de>
3452
438c7f23
BM
3453 * configure.in, Makefile.am: Ported to automake 1.9.
3454 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3455 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
e3f92d3b
MK
3456 Regenerated.
3457
476a918f
TT
34582004-08-19 Tom Tromey <tromey@redhat.com>
3459
3460 * java/net/DatagramSocket.java: Fixed typo.
3461
bb0452b1
BM
34622004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3463
3464 PR libgcj/17081
3465 * java/net/URI.java (string): New field. Make all other fields
3466 transient.
3467 (readObject): Implemented.
3468 (writeObject): Implemented.
3469 (URI): Set 'string'.
3470
b4b3435e
BM
34712004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3472
3473 PR libgcj/17079
3474 * java/util/logging/Handler.java (isLoggable): Accept record if its
3475 log level equals the threshold level. From Robin Green.
3476
720086cd
DD
34772004-08-18 David Daney <ddaney@avtrex.com>
3478
3479 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3480 instead of sigwait.
3481
baeff970
MK
34822004-08-17 Michael Koch <konqueror@gmx.de>
3483
3484 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3485 * Makefile.in: Regenerated.
3486
0e5b1376
TT
34872004-08-16 Tom Tromey <tromey@redhat.com>
3488
3489 PR java/8473:
3490 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3491
be170ef2
MK
34922004-08-16 Michael Koch <konqueror@gmx.de>
3493
3494 * Makefile.am
3495 (math_c_files): Renamed from c_files.
3496 (math_c_source_files): Renamed from c_source_files.
3497 * Makefile.in,
3498 gcj/Makefile.in,
3499 include/Makefile.in,
3500 testsuite/Makefile.in: Regenerated.
3501
7614fd28
BM
35022004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3503
3504 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3505 to avoid autoconf warning.
3506 * configure: Rebuilt.
3507
1c5192e4
AT
35082004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3509
3510 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3511 localhostAddress to loopbackAddress.
3512 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3513
4109fe85
BM
35142004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3515
3516 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3517 boehm-gc's include dirs.
3518 * configure: Rebuilt.
3519 * include/boehm-gc.h: Include gc_config.h.
3520
d7945faf
BM
35212004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3522
3523 * java/net/InetAddress.java (loopbackAddress): Renamed from
3524 localhostAddress.
3525 (getByName): Return loopback address for null hostname, without
3526 security check. Use lookup(), not getAllByName.
3527 (getAllByName): Return loopback address for null hostname, without
3528 security check.
3529 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3530 check here.
3531
73389fa4
BM
35322004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3533
3534 PR libgcj/17020
3535 Reported by Robin Green.
3536 * defineclass.cc (handleField): Don't throw exception on unrecognised
3537 modifier. Add FIXME comments for spec compliance.
3538 (handleMethod): Likewise.
3539
28e99c62
HB
35402004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3541
3542 PR libgcj/16662
3543 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3544 (Almost everywhere): add LOG calls, fix, add comments.
3545 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3546 Add explicit check for LOCKED bit in slow case (PR 16662).
3547 (_Jv_MonitorExit): Add casts in debug-only code.
3548 Always release LOCKED bit before throwing exception.
3549 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3550 isn't. Handle easy cases without lock acquisition.
3551 (Object::wait): Use NotifyAll for lock inflation.
3552
faa03cf1
DD
35532004-08-12 David Daney <ddaney@avtrex.com>
3554
3555 * testsuite/libjava.lang/Process_1.java: New test.
3556 * testsuite/libjava.lang/Process_2.java: New test.
3557 * testsuite/libjava.lang/Process_3.java: New test.
3558 * testsuite/libjava.lang/Process_4.java: New test.
3559 * testsuite/libjava.lang/Process_5.java: New test.
3560 * testsuite/libjava.lang/Process_6.java: New test.
3561 * testsuite/libjava.lang/Process_1.out: Expected result.
3562 * testsuite/libjava.lang/Process_2.out: Expected result.
3563 * testsuite/libjava.lang/Process_3.out: Expected result.
3564 * testsuite/libjava.lang/Process_4.out: Expected result.
3565 * testsuite/libjava.lang/Process_5.out: Expected result.
3566 * testsuite/libjava.lang/Process_6.out: Expected result.
3567
35682004-08-12 David Daney <ddaney@avtrex.com>
3569
3570 PR libgcj/11801
3571 * java/lang/PosixProcess.java: Rewrote.
3572 * java/lang/natPosixProcess.cc: Rewrote.
3573 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3574 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3575 * posix-threads.cc (block_sigchld) New function.
3576 (_Jv_ThreadRegister) Use it.
3577 (_Jv_ThreadStart) Use it.
3578 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3579 * Makefile.am: ... to specify extra native headers.
3580 * configure: Regenerated.
3581 * include/config.h: Regenerated.
3582 * Makefile.in: Regenerated.
3583 * gcj/Makefile.in: Regenerated.
3584 * include/Makefile.in: Regenerated.
3585 * testsuite/Makefile.in: Regenerated.
3586
c597ef4e
DN
35872004-08-12 Diego Novillo <dnovillo@redhat.com>
3588
3589 PR tree-optimization/16867
3590 * testsuite/libjava.lang/PR16867.java: New test.
3591
b4d49f49
PB
35922004-08-09 Per Bothner <per@bothner.com>
3593
3594 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3595 with private fields and access methods.
3596 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3597 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3598 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3599 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3600 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3601 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3602 * jni.cc: Likewise.
3603 * resolve.cc: Likewise.
3604 * gcj/field.h: Likewise.
3605 * include/jvm.h: Likewise.
3606 * java/lang/Class.h: Likewise.
3607 * java/lang/natClass.cc: Likwise.
3608 * java/lang/natClassLoader.cc: Likewise
3609 * java/lang/reflect/natMethod.cc: Likewise
3610 * verify.cc: Likewise.
3611 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3612 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3613
7e04b67b
AH
36142004-08-10 Andrew Haley <aph@redhat.com>
3615
3616 * testsuite/libjava.lang/err14.java: New file.
3617 * testsuite/libjava.lang/err14.out: New file.
3618
48a8c565
AT
36192004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3620
3621 * Makefile.am: Fix missing rename from x_nat_headers to
3622 xlib_nat_headers.
3623 * Makefile.in: Regenerated.
3624
26be638d
AH
36252004-08-04 Andrew Haley <aph@redhat.com>
3626
3627 * java/security/BasicPermission.java: Don't check wildcards.
3628
614c0fc2
TF
36292004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3630 Michael Koch <konqueror@gmx.de>
3631
3632 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3633 * configure.in: Replaced all usages of AC_LINK_FILES by
3634 AC_CONFIG_LINKS.
3635 * aclocal.m4,
3636 configure: Regenerated.
3637
ff78c80b
TF
36382004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3639 Michael Koch <konqueror@gmx.de>
3640
3641 * acconfig.h: Removed.
3642 * Makefile.am: Rename variables for xlib peer to include xlib and
3643 gtk_c_headers to gtk_jni_headers.
3644 * Makefile.in: Regenerated.
3645
76207f7c
AH
36462004-08-04 Andrew Haley <aph@redhat.com>
3647
3648 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3649 debugging.
3650
aed6152d
NN
36512004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3652
3653 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3654 Replace most top level 'dnl' comments with '#' comments, conforming
3655 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3656 help strings.
3657 * configure: Rebuilt.
3658
ed698112
NN
36592004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3660
3661 * acinclude.m4: Include no-executables.m4.
3662 * aclocal.m4: Rebuild.
3663 * configure.in: Convert to the autoconf 2.59 version of
3664 of the no-executables hack, and also of the nonstandard CXX
3665 hack and the multilibbed CC and CXX hack. Change prerequisite
3666 to autoconf 2.59.
3667 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3668 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3669 testsuite/Makefile.in: Regenerate.
3670
8e9031ec
TT
36712004-08-03 Tom Tromey <tromey@redhat.com>
3672
3673 * jni.cc: Reindented.
3674
474f5417
BM
36752004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3676
3677 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3678
899deeca
BM
36792004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3680
3681 * testsuite/libjava.compile/PR16701.java: New test.
3682
b828123e
AJH
36832004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3684
3685 * java/util/Collection.java, java/util/List.java,
3686 java/util/Map.java, java/util/Set.java,
3687 java/util/SortedMap.java, java/util/SortedSet.java:
3688 Added additional exceptions to documentation.
3689
5b5662ee
DS
36902004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3691
3692 PR libgcj/16814
3693 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3694 * configure. Regenerate.
3695 * include/win32.h: Explicitly include winsock2.h
3696 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3697 Winsock api.
3698
f370ef24
MK
36992004-07-30 Michael Koch <konqueror@gmx.de>
3700
3701 * java/util/zip/GZIPInputStream.java
3702 (GZIPInputStream): Increase buffer size to 4k.
3703 * java/util/zip/GZIPOutputStream.java
3704 (GZIPOutputStream): Likewise.
3705 * java/util/zip/Inflater.java
3706 (setInput): Merged formating with GNU classpath.
3707 * java/util/zip/InflaterInputStream.java
3708 (InflaterInputStream): Increase buffer size to 4k.
3709 (fill): Throw exception if stream ends early.
3710 (read): Merged endless-loop with GNU classpath.
3711 (skip): Increase buffer size to 2k.
3712
2afed683
MK
37132004-07-30 Michael Koch <konqueror@gmx.de>
3714
3715 * gnu/java/awt/EmbeddedWindow.java
3716 (addNotify): Use AccessController to allow execution of privileged
3717 code.
3718
a639e504
MK
37192004-07-29 Michael Koch <konqueror@gmx.de>
3720
3721 * gnu/java/lang/MainThread.java:
3722 Explicitely import used classes.
3723 (args): Make it type String[].
3724
1cc49b13
DT
37252004-07-29 Dalibor Topic <robilad@kaffe.org>
3726
3727 * gnu/java/awt/ComponentDataBlitOp.java,
3728 gnu/java/beans/ExplicitBeanInfo.java,
3729 gnu/java/beans/IntrospectionIncubator.java,
3730 gnu/java/beans/editors/ColorEditor.java,
3731 gnu/java/beans/editors/FontEditor.java,
3732 gnu/java/beans/editors/NativeBooleanEditor.java,
3733 gnu/java/beans/editors/NativeByteEditor.java,
3734 gnu/java/beans/editors/NativeDoubleEditor.java,
3735 gnu/java/beans/editors/NativeFloatEditor.java,
3736 gnu/java/beans/editors/NativeIntEditor.java,
3737 gnu/java/beans/editors/NativeLongEditor.java,
3738 gnu/java/beans/editors/NativeShortEditor.java,
3739 gnu/java/beans/editors/StringEditor.java,
3740 gnu/java/io/ClassLoaderObjectInputStream.java,
3741 gnu/java/io/decode/Decoder.java,
3742 gnu/java/io/encode/Encoder.java,
3743 gnu/java/lang/ClassHelper.java,
3744 gnu/java/locale/Calendar.java,
3745 gnu/java/locale/Calendar_de.java,
3746 gnu/java/locale/Calendar_en.java,
3747 gnu/java/locale/Calendar_nl.java,
3748 gnu/java/locale/LocaleInformation_de.java,
3749 gnu/java/locale/LocaleInformation_en.java,
3750 gnu/java/locale/LocaleInformation_nl.java:
3751 Cleaned up imports.
3752
4d4fed15
BM
37532004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3754
3755 * README: Remove obsolete info. Update bug URL.
3756 * THANKS: Updated.
e90bcbf5 3757 * NEWS: Updated with news up to GCC 3.4 release.
4d4fed15 3758
64d696b6
BM
37592004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3760
3761 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3762 Renamed from 'setName'. New 2-argument form with default value.
3763 (run): Pass default 'value' parameter to System.getProperty().
3764 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3765 typos.
3766 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3767 not 'setName'.
3768
f0faf24b
BM
37692004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3770
3771 * configure.in: Check for minimum GTK version 2.4 requirement.
3772 * configure: Rebuilt.
3773
ce961468
BM
37742004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3775
3776 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3777 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3778 Reduce sleep time.
3779 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3780 compiler bug.
3781 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3782 address. Reduce sleep times. Synchronize with target threads before
3783 attempting to interrupt them. Don't try to calibrate yeild count,
3784 instead, always loop for a fixed time.
3785 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3786 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3787 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3788 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3789 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3790 * testsuite/libjava.lang/pr179.java: Likewise.
3791 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3792 time. Remove upper bounds check on sleep time.
3793
0954f3eb
BM
37942004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3795
3796 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3797 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3798
d078f7c0
BM
37992004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3800
3801 * java/io/File.java (toURI): Throw RuntimeException, not
3802 InternalError.
3803 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3804 class name, not instance.
3805
8b66a9e9
BM
38062004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3807
3808 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3809 and gnu/java/security/action/SetAccessibleAction.java.
3810 * Makefile.in: Rebuilt.
3811
ffe4e037
BM
38122004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3813
3814 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3815 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3816 _Jv_InitPrimClass.
3817 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3818 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3819 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3820
ef05818b
TF
38212004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3822
3823 * Makefile.am: Replace jar, rmic and rmiregistry references with
3824 gjar, grmic and grmiregistry.
3825 * configure.in: Likewise.
3826 * Makefile.in: Regenerate.
3827 * configure: Likewise.
3828 * gcj/Makefile.in: Likewise.
3829 * include/Makefile.in: Likewise.
3830 * testsuite/Makefile.in: Likewise.
3831
ae066484
BM
38322004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3833
ec5c28ec
BM
3834 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3835 for privileged getProperty calls.
3836 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3837 SetAccessibleAction instead of anonymous class for doPrivileged call.
3838 (getMethod): Likewise.
3839 (setAccessible): New field. PrivilegedAction object to use when
3840 calling setAccessible.
3841 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3842 SetAccessibleAction instead of anonymous class for diPrivileged call.
3843 (setFields): Likewise.
3844 (getClassUID): Likewise.
3845 (findMethod): Likewise.
3846 * gnu/java/security/action/GetPropertyAction.java: New class.
3847 * gnu/java/security/action/SetAccessibleAction.java: New class.
3848
38492004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3850
3851 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3852 for final fields.
ae066484
BM
3853 * testsuite/libjava.lang/Serialization.java: New test.
3854 * testsuite/libjava.lang/Serialization.out: New.
3855
38562004-07-23 Bryce McKinlay <mckinlay@redhat.com>
694e657a
MW
3857
3858 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3859 missed in last commit.
3860
392abf6b
MW
38612004-07-23 Mark Wielaard <mark@klomp.org>
3862
3863 * java/lang/System.java (static): Set http.agent system property when
3864 not yet set.
3865 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3866 from system property inside AccessController.doPrivileged() call.
3867 (proxyPort): Made package private.
3868 (proxyInUse): Likewise.
3869 (proxyHost): Likewise.
3870 (userAgent): Likewise.
3871
6d97cb60
MW
38722004-07-23 Mark Wielaard <mark@klomp.org>
3873
3874 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3875 implementation.
3876
f1f90ae0
BM
38772004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3878
3879 * Makefile.am (ordinary_java_source_files): Add
3880 DefaultContentHandlerFactory.java.
3881 * Makefile.in: Rebuilt.
3882 * java/net/URLConnection.java (defaultFactory): New field.
3883 (getContent):
3884 (getContentHandler): Renamed from 'setContentHandler'. Try
3885 defaultFactory after user-set factory, if any. Search for content
3886 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3887 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3888 Implemented.
3889 (getLastModified): Implemented.
3890 (getPermission): Create file permission here, instead of in
3891 constructor.
3892 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3893 Implemented.
3894 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3895 Implemented.
3896 (getLastModified): Implemented.
3897 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3898 Default implementation.
3899 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3900 Implement using GdkPixbufDecoder.
3901
8e99fb4f
GH
39022004-07-21 Michael Koch <konqueror@gmx.de>
3903
3904 * javax/swing/JTextArea.java
3905 (setLineWrap): Fire property change event after new value is set.
3906 (setTabSize): Likewise.
3907
39082004-07-21 Michael Koch <konqueror@gmx.de>
3909
3910 * javax/swing/JTable.java
3911 (autoCreateColumnsFromModel): New field.
3912 (autoResizeMode): Likewise.
3913 (cellEditor): Likewise.
3914 (cellSelectionEnabled): Likewise.
3915 (columnModel): Likewise.
3916 (dataModel): Likewise.
3917 (defaultEditorsByColumnClass): Likewise.
3918 (defaultRenderersByColumnClass): Likewise.
3919 (editingColumn): Likewise.
3920 (editingRow): Likewise.
3921 (gridColor): Likewise.
3922 (preferredViewportSize): Likewise.
3923 (rowHeight): Likewise.
3924 (rowMargin): Likewise.
3925 (rowSelectionAllowed): Likewise.
3926 (selectionBackground): Likewise.
3927 (selectionForeground): Likewise.
3928 (selectionModel): Likewise.
3929 (showHorizontalLines): Likewise.
3930 (showVerticalLines): Likewise.
3931 (tableHeader): Likewise.
3932 (JTable): Implemented.
3933 (getColumnModel): Likewise.
3934 (getSelectedRow): Likewise.
3935 (getSelectionModel): Likewise.
3936 (setModel): Likewise.
3937 (setSelectionModel): Likewise.
3938 (createScrollPaneForTable): New method.
3939 (createDefaultDataModel): Likewise.
3940 (createDefaultListSelectionModel): Likewise.
3941 (getModel): Likewise.
3942 (getTableHeader): Likewise.
3943 (setTableHeader): Likewise.
3944 (getColumnSelectionAllowed): Likewise.
3945 (setColumnSelectionAllowed): Likewise.
3946 (getRowSelectionAllowed): Likewise.
3947 (setRowSelectionAllowed): Likewise.
3948 (getAutoResizeMode): Likewise.
3949 (setAutoResizeMode): Likewise.
3950 (getColumnCount): Likewise.
3951 (getRowCount): Likewise.
3952 (getCellRenderer): Likewise.
3953 * javax/swing/JTree.java
3954 (cellRenderer): New field.
3955 (editable): Likewise.
3956 (rootVisible): Likewise.
3957 (showsRootHandles): Likewise.
3958 (getModel): New method.
3959 (setModel): Likewise.
3960 (isEditable): Likewise.
3961 (setEditable): Likewise.
3962 (isRootVisbile): Likewise.
3963 (setRootVisible): Likewise.
3964 (getShowsRootHandles): Likewise.
3965 (setShowRootHandles): Likewise.
3966 (getCellRenderer): Likewise.
3967 (setCellRenderer): Likewise.
3968
39692004-07-21 Michael Koch <konqueror@gmx.de>
3970
3971 * javax/swing/JFormattedTextField.java
3972 (setDocument): Implemented.
3973 * javax/swing/JRootPane.java:
3974 Fixed javadocs.
3975 * javax/swing/JTable.java
3976 (getDefaultRenderer): New method.
3977 * javax/swing/JTextField.java
3978 (setFont): Likewise.
3979 (getPreferredSize): Likewise.
3980 * javax/swing/JToggleButton.java
3981 (getAccessibleContext): Fix javadoc.
3982 * javax/swing/JTree.java:
3983 Add some javadocs.
3984 * javax/swing/JViewport.java:
3985 Likewise.
3986
39872004-07-21 David Jee <djee@redhat.com>
3988
3989 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3990 Collect all native method declaration at the top.
3991 (create): Set the filename filter if necessary.
3992 (setDirectory): Call nativeSetDirectory().
3993 (setFilenameFilter): Implement.
3994 (filenameFilterCallback): New method.
3995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3996 (create): Configure dialog to show hidden files.
3997 (filenameFilterCallback): New function.
3998 (nativeSetFilenameFilter): New function.
3999 (nativeSetDirectory): New function.
4000
40012004-07-21 Kim Ho <kho@redhat.com>
4002
4003 * javax/swing/plaf/basic/BasicSliderUI.java:
4004 Ran Jalopy.
4005 (paintTrack): Fill the track before painting
4006 the borders.
4007
40082004-07-21 Graydon Hoare <graydon@redhat.com>
4009
4010 patch from Roman Kennke <roman@ontographics.com>
4011 * javax/swing/Spring.java: New file.
4012 * javax/swing/SpringLayout.java: New file.
4013 * Makefile.am: Add new files.
4014 * Makefile.in: Regenerate.
4015
40162004-07-21 Graydon Hoare <graydon@redhat.com>
4017
4018 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4019 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4020 * javax/swing/ScrollPaneLayout.java: Likewise.
4021
40222004-07-21 Kim Ho <kho@redhat.com>
4023
4024 * javax/swing/DefaultDesktopManager.java:
4025 (findMinimum): Removed.
4026 (resizeFrame): Trust the UI to pass valid
4027 bounds.
4028 * javax/swing/JOptionPane.java:
4029 Implemented showInternalXXXDialog methods.
4030 (startModal): New method.
4031 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4032 (BorderListener::mouseDragged): Verify that the new
4033 bounds are valid before passing them to the DesktopManager.
4034 (preferredLayoutSize): Delegate
4035 to getSize.
4036 (minimumLayoutSize): Ditto.
4037 (getSize): New method.
4038 (GlassPaneDispatcher): Reimplemented by copying
4039 a stripped down LightweightDispatcher from Container.
4040 (getMinimumSize): Call minimumLayoutSize.
4041 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4042 Ran Jalopy.
4043 (mousePressed): Add ability to properly close
4044 JInternalFrames.
4045 * javax/swing/plaf/basic/BasicToolBarUI.java:
4046 (DragWindow): Set owner for DragWindow.
4047
40482004-07-21 Jerry Quinn <jlquinn@optonline.net>
4049
4050 * java/awt/image/ShortLookupTable.java: New file.
4051 * java/awt/image/ByteLookupTable.java: New file.
4052 * Makefile.am: Added new files.
4053 * Makefile.in: Regenerated.
4054
40552004-07-21 David Jee <djee@redhat.com>
4056
4057 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4058 (create(GtkContainerPeer)): New native method.
4059 (create()): Call native create(), passing in the parent frame
4060 as the paramter. Natively set the current file and directory.
4061 (setFile): Construct an absolute filename before passing it to
4062 the native peer.
4063 (nativeGetDirectory): New method.
4064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4065 (window_closed): Removed.
4066 (ok_clicked): Likewise.
4067 (cancel_clicked): Likewise.
4068 (handle_response): New method.
4069 (create): Use GtkFileChooserDialog.
4070 (connectSignals): Connect to handle_response.
4071 (nativeGetDirectory): New method.
4072 (nativeSetFile): Use GtkFileChooserDialog.
4073
40742004-07-21 Jerry Quinn <jlquinn@optonline.net>
4075
4076 * java/awt/image/LookupTable.java: New file.
4077 * Makefile.am: Added new file.
4078 * Makefile.in: Regenerated.
4079
40802004-07-21 Jerry Quinn <jlquinn@optonline.net>
4081
4082 * java/awt/image/Kernel.java: New file.
4083 * Makefile.am: Added new file.
4084 * Makefile.in: Regenerated.
4085
40862004-07-21 Olga Rodimina <rodimina@redhat.com>
4087
4088 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4089 * javax/swing/JMenu.java: Likewise.
4090 * javax/swing/JMenuBar.java: Likewise.
4091 (MARGIN_CHANGED_PROPERTY): New property.
4092 (setMargin): Implemented.
4093 * javax/swing/JMenuItem.java: Fixed javadocs.
4094 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4095 (LABEL_CHANGED_PROPERTY): New property.
4096 (add): changed to use createActionComponent.
4097 (createActionComponent): Implemented.
4098 (setLabel): Fire PropertyChangeEvent if label property
4099 changes.
4100 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4101 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4102 (ContainerHandler): Repaint if margin property has changed.
4103 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4104 (installUI): Call installComponents().
4105 (uninstallUI): Call uinstallComponents().
4106 * javax/swing/plaf/basic/BasicMenuUI.java:
4107 Fixed javadocs.
4108 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4109 Likewise.
4110
41112004-07-21 Kim Ho <kho@redhat.com>
4112
4113 * javax/swing/plaf/basic/BasicToolBarUI.java:
4114 (DragWindow): Use the right constructor.
4115
41162004-07-21 Kim Ho <kho@redhat.com>
4117
4118 * javax/swing/JToolBar.java:
4119 (layoutContainer): Use getComponents.
4120 * javax/swing/plaf/basic/BasicToolBarUI.java:
4121 (DragWindow): Don't use SwingUtilities'
4122 getOwnerFrame
4123 (ToolBarDialog): ditto.
4124
41252004-07-21 Kim Ho <kho@redhat.com>
4126
4127 * javax/swing/JRootPane.java:
4128 Ran jalopy.
4129 (layoutContainer): Set the glasspane's size to
4130 be the same as the content pane.
4131 (createGlassPane): Set opaque property to false.
4132
41332004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4134
4135 * java/awt/Component.java (requestFocus()): Don't handle Panels
4136 specially.
4137 (requestFocus(boolean)): Likewise.
4138 (requestFocusInWindow(boolean)): Likewise.
4139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4140 Set GTK_CAN_FOCUS flag.
4141
41422004-07-21 Kim Ho <kho@redhat.com>
4143
4144 * Makefile.am: Added new file.
4145 * Makefile.in: Regenerated.
4146 * gcj/Makefile.in: Regenerated.
4147 * include/Makefile.in: Regenerated.
4148 * javax/swing/AbstractButton.java:
4149 Add rollOverEnabled property.
4150 (setRolloverEnabled): Use new property.
4151 (isRolloverEnabled): Use new property.
4152 * javax/swing/JTabbedPane.java:
4153 (setComponent): Remove useless JTabbedPane.this.
4154 * javax/swing/JToolBar.java: Finish implementation.
4155 * javax/swing/plaf/basic/BasicArrowButton.java:
4156 (paint): Moved border painting to a border.
4157 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4158 Change JToolBar look and feel defaults.
4159 * javax/swing/plaf/basic/BasicOptionPaneUI.java
4160 (actionPerformed): Return Integer index instead of name.
4161 (addButtonComponents): Check to see if component is
4162 JButton last.
4163 (createMessageArea): Don't use components that are not
4164 completed yet.
4165 (getIconForType): Use temporary icons.
4166 * javax/swing/plaf/basic/BasicSliderUI.java:
4167 (mousePressed): Do not return if it's on thumb.
4168 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4169 (paintMinorTickForVertSlider): ditto.
4170 (paintMajorTickForHorizSlider): ditto.
4171 (paintMajorTickForVertSlider): ditto.
4172 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4173 Add a border around the SplitPaneDivider.
4174 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4175 Remove comments.
4176 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4177 New file. Implemented.
4178 * javax/swing/plaf/basic/BasicToolBarUI.java:
4179 Implemented.
4180 * testsuite/Makefile.in: Regenerated.
4181
41822004-07-21 Graydon Hoare <graydon@redhat.com>
4183
4184 * javax/swing/Timer.java (run): Queue events each time cycle.
4185
41862004-07-21 David Jee <djee@redhat.com>
4187
4188 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4189 (imageComplete): Call image.imageComplete().
4190 * java/awt/image/MemoryImageSource.java:
4191 Reimplement consumers as a Vector instead of a Hashtable. This is
4192 because enumeration on a Hashtable is not thread-safe.
4193 (addConsumer): Adapt to Vector consumers.
4194 (isConsumer): Adapt to Vector consumers.
4195 (removeConsumer): Adapt to Vector consumers.
4196 (startProduction): Adapt to Vector consumers. Call imageComplete()
4197 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4198 (newPixels): Adapt to Vector consumers.
4199 (sendPicture): Set the color model of the image consumer.
4200 (newPixels(IIII)): Adapt to Vector consumers.
4201 (newPixels(IIIIB)): Adapt to Vector consumers.
4202
42032004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4204
4205 * java/awt/Component.java (deliverEvent): Implement.
4206 (postEvent): Implement.
4207 (handleEvent): Implement.
4208 (translateEvent): New method.
4209 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
4210 * java/awt/Container.java (deliverEvent): Implement.
4211 * java/awt/Event.java (paramString): Fix formatting.
4212 * java/awt/Font.java (toString): Likewise.
4213 * java/awt/Window.java (postEvent): Implement.
4214
42152004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4216
4217 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4218 Set window's focus owner upon receiving a FOCUS_LOST event.
4219 * java/awt/Window.java (Window()): Refocus the previously
4220 focused component within the window when the window regains the
4221 top-level focus.
4222 (setFocusOwner): New method.
4223 * java/awt/Component.java (requestFocus): Add FIXME.
4224
4225 * libgcj.pc.in: Remove library flags.
4226
42272004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4228
4229 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4230 MOUSE_PRESSED event.
4231 * java/awt/Component.java (requestFocus()): Handle Panel
4232 specially. Post FOCUS_LOST event on opposite component.
4233 (requestFocus(boolean)): Likewise.
4234 (requestFocusInWindow(boolean)): Likewise.
4235 (paramString): Reorder dimension fields.
4236 * java/awt/Container.java (paramString): Fix string format.
4237 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4238 Handle FOCUS_LOST events. Don't handle Windows specially. Only
4239 process key events if the focus owner is non-null.
4240 (dispatchKeyEvent): Likewise.
4241 * java/awt/Frame.java (paramString): Fix formatting.
4242 (generateName): New method.
4243 (getUniqueLong): Likewise.
4244 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4245 the temporary focus owner is null. If so, return the permanent
4246 focus owner.
4247 * java/awt/Panel.java (generateName): New method.
4248 (getUniqueLong): Likewise.
4249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4250 signal handling to make callbacks more specific.
4251
42522004-07-21 Michael Koch <konqueror@gmx.de>
4253
4254 * javax/swing/text/Position.java
4255 (Bias): Implemented.
4256
42572004-07-21 Michael Koch <konqueror@gmx.de>
4258
4259 * javax/swing/LookAndFeel.java
4260 (provideErrorFeedback): New method.
4261
42622004-07-21 Michael Koch <konqueror@gmx.de>
4263
4264 * javax/swing/JTextArea.java
4265 (tabSize): New field.
4266 (getTabSize): New method.
4267 (setTabSize): Likewise.
4268
42692004-07-21 Michael Koch <konqueror@gmx.de>
4270
4271 * javax/swing/ActionMap.java:
4272 Fixed javadocs all over.
4273 (serialVersionUID): Made private.
4274 (parent): Don't explicitely initialize with default value.
4275 (get): SImplified.
4276 (keys): Reimplemented.
4277 (allKeys): Likewise.
4278 (convertSet): Removed.
4279 * javax/swing/ComponentInputMap.java:
4280 Fixed javadocs all over.
4281 (ComponentInputMap): Implemented.
4282 (put): Likewise.
4283 (clear): Likewise.
4284 (remove): Likewise.
4285 (SetParent): Likewise.
4286 (getComponent): Likewise.
4287 * javax/swing/InputMap.java:
4288 Fixed javadocs all over.
4289 (serialVersionUID): Made private.
4290 (parent): Don't explicitely initialize with default value.
4291 (get): SImplified.
4292 (keys): Reimplemented.
4293 (allKeys): Likewise.
4294 (convertSet): Removed.
4295
42962004-07-21 Michael Koch <konqueror@gmx.de>
4297
4298 * javax/swing/ActionMap.java,
4299 javax/swing/ComponentInputMap.java,
4300 javax/swing/InputMap.java,
4301 javax/swing/table/DefaultTableColumnModel.java,
4302 javax/swing/table/TableColumn.java,
4303 javax/swing/table/TableColumnModel.java,
4304 javax/swing/table/TableModel.java,
4305 javax/swing/text/AbstractDocument.java,
4306 javax/swing/text/TextAction.java:
4307 Reformated.
4308
43092004-07-21 Graydon Hoare <graydon@redhat.com>
4310
4311 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4312 Make method non-static.
4313 * javax/swing/AbstractButton.java:
4314 Rename fields to match property names where possible.
4315 (iconTextGap): New property.
4316 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4317 (init) New method, call from after various constructors.
4318 * javax/swing/JComponent.java (revalidate):
4319 Invalidate before queueing repair.
4320 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4321 Reimplement in terms of visibleRowCount property.
4322 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4323 * javax/swing/JScrollPane.java (createScrollListener):
4324 Remove tracing chatter.
4325 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4326 * javax/swing/RepaintManager.java (addInvalidComponent):
4327 Don't invalidate.
4328 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4329 calculations.
4330 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4331 Mimic sun behavior on top left/right positioning.
4332 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4333 Remove mistaken use of preferredScrollableViewportSize here.
4334 (layoutContainer): Use view's preferred size as basis.
4335 * javax/swing/plaf/basic/BasicButtonUI.java:
4336 Set, get, and use textIconGap property.
4337 (paint) Paint text returned from layout (with ellipsis).
4338 * javax/swing/plaf/basic/BasicListUI.java:
4339 Remove tracing chatter, correct various minor calculations.
4340 (getCellBounds): Update layout state before calculating.
4341 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4342 Use margin default similar to sun's.
4343 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4344 (createIncreaseIcon): Center icon, minimize margins.
4345 (createDecreaseIcon): Likewise.
4346 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4347 Implement.
4348 (installUI): Call it.
4349 (uninstallDefaults): Implement.
4350 (uninstallUI): Call it.
4351 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4352 Call existing Window constructor.
4353 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4354 Set clip before painting.
4355
43562004-07-21 Olga Rodimina <rodimina@redhat.com>
4357
4358 * javax/swing/JMenuItem.java:
4359 (processMouseEvent): Reimplemented to deal with
4360 mouse drag events.
4361 (createMenuDragMouseEvent): New private helper method.
4362 Creates MenuDragMouseEvent.
4363 * javax/swing/MenuSelectionManager.java
4364 (componentForPoint): Implemented.
4365 (isComponentPartOfCurrentMenu): Made public.
4366 (processMouseEvent): Reimplemented to deal with
4367 mouse drag events.
4368 (setSelectedPath): Corrected small mistake that caused
4369 path to be set incorrectly.
4370 (getPath): If given component is JMenu then also add this
4371 menu's popup menu to the selected path.
4372 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4373 (getPath): Ditto.
4374 (getPreferredSize): Call getPreferredMenuItemSize().
4375 (getPreferredItemSize): Moved code from getPreferredSize to here.
4376 (installListeners): Install MouseMotionListeners.
4377 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4378 if mouse wasn't released in the bounds of this menu item.
4379 (MenuDragMouseHandler): Implemented.
4380 * javax/swing/plaf/basic/BasicMenuUI.java:
4381 (installListeners): Install MouseMotionListener and
4382 MenuDrageMouseListener.
4383 (MenuDragMouseHandler): Implemented.
4384 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4385 (uninstallListeners): Implemented.
4386
43872004-07-21 Michael Koch <konqueror@gmx.de>
4388
4389 * javax/swing/JCheckBox.java: Reformated.
4390 (JCheckBox): Fixed all constructors.
4391 (isBorderPaintedFlat): New method.
4392 (setBorderPaintedFlat): New method.
4393 * javax/swing/JEditorPane.java
4394 (createEditorKitForContentType): Made public.
4395 (scrollToReference): Likewise.
4396 * javax/swing/JTextArea.java
4397 (setLineWrap): Fire property change.
4398 * javax/swing/JToggleButton.java
4399 (JToggleButton): New constructor.
4400 (JToggleButton): Simplified.
4401 * javax/swing/text/AttributeSet.java
4402 (FontAttribute): Renamed from FontCharacterAttribute.
4403 * javax/swing/text/JTextComponent.java
4404 (KeyBinBinding): Added javadoc.
4405 (JTextComponent): Likewise.
4406 (getAccessibleContext): Fixed javadoc.
4407 * javax/swing/text/View.java
4408 (View): Added javadoc.
4409 * javax/swing/text/TabableView.java: New file.
4410 * Makefile.am: Added javax/swing/text/TabableView.java.
4411 * Makefile.in: Regenerated.
4412
44132004-07-21 Graydon Hoare <graydon@redhat.com>
4414
4415 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4416 * gnu/java/awt/peer/gtk/GtkToolkit.java
4417 (GtkErrorImage): New helper class.
4418 (bufferedImageOrError): New helper method.
4419 (createImage): Use it.
4420
44212004-07-21 David Jee <djee@redhat.com>
4422
4423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4424 (setCaretPosition): Scroll the text view so the new caret position
4425 is visible on screen.
4426
44272004-07-21 David Jee <djee@redhat.com>
4428
4429 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4430 (setBounds): Do not validate awtComponent here.
4431 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4432 (getPreferredSize): New method.
4433 * java/awt/ScrollPane.java
4434 (ScrollPane): Set default size to 100x100.
4435 (addNotify): If child is not a Panel, wrap it with a new Panel.
4436 (paramString): Implement.
4437
44382004-07-21 Olga Rodimina <rodimina@redhat.com>
4439
4440 * javax/swing/JMenu.java:
4441 (setSelected): Display popup menu only if this menu
4442 is showing on the screen.
4443 * javax/swing/JPopupMenu.java:
4444 (processMouseEvent): Added comment.
4445 (processKeyEvent): Likewise.
4446 * javax/swing/MenuSelectionManager.java:
4447 (clearSelectedPath): Only fireStateChanged() after
4448 selected path was changed, not before.
4449 (setSelectedPath): Likewise.
4450 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4451 (paintMenuItem): Corrected position of menu item's
4452 icon.
4453 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4454 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4455 (popupMenuCanceled): Reimplemented.
4456 (popupMenuWillBecomeVisible): Select first menu item by default
4457 when displaying free floating popup menus.
4458 (TopWindowListener): Reimplemented.
4459
44602004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4461
4462 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4463 Panel from being painted twice when it is first shown.
4464
44652004-07-21 Olga Rodimina <rodimina@redhat.com>
4466
4467 * java/awt/Window.java: Reverted changes from my
4468 previous patch for creating window without an owner.
4469 * javax/swing/SwingUtilities.java:
4470 (SwingUtilities.OwnerFrame): made static.
4471 (OwnerFrame.setVisible): New method. Overridden with
4472 empty implementation.
4473 (OwnerFrame.isShowing): New method. Ovverridden
4474 to return always true.
4475
44762004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4477
4478 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4480 (GtkComponentPeer): Remove temporary try/catch block.
4481 (setVisible): Call show and hide.
4482 (show): Make native.
4483 (hide): Likewise.
4484 (getArgs): Don't add "visible" argument.
4485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4486 (property_notify_predicate): Return Bool instead of int.
4487 (find_layout): New function.
4488 (connectJObject): Call find_layout.
4489 (connectSignals): Likewise.
4490 (moveLayout): Likewise.
4491 (gtkLayoutSetVisible): Likewise.
4492
44932004-07-21 Mark Wielaard <mark@klomp.org>
4494
4495 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4496 on notifier object before calling notifyAll().
4497
44982004-07-21 Olga Rodimina <rodimina@redhat.com>
4499
4500 * java/awt/Window.java: Changed constructors to use new
4501 method that is described below. Constructors call this
4502 methods only if newly created window should have an owner.
4503 (setWindowOwner): New method. Implementation for
4504 this method is moved from this(owner,configuration).
4505 * javax/swing/JWindow.java:
4506 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4507 instead of owner.
4508 * javax/swing/SwingUtilities.java:
4509 (ownerFrame): Change type of this field to OwnerFrame.
4510 (getOwnerFrame): Changed to return object of type OwnerFrame.
4511 (SwingUtilities.OwnerFrame): New class. Represents owner
4512 of a Window that is not provided with one.
4513
45142004-07-21 Olga Rodimina <rodimina@redhat.com>
4515
4516 * javax/swing/AbstractButton.java:
4517 (configurePropertiesFromAction): Set action command
4518 to button's text by default if action command is not
4519 explicitely specified.
4520 * javax/swing/JMenu.java: Remove unnecessary listener
4521 and methods relevant to it.
4522 (setSelected): Reimplemented.
4523 (menuSelectionChanged): Moved most part of implementation to
4524 setSelected() and call it instead.
4525 * javax/swing/JMenuItem.java:
4526 (init): Comment out statement that sets paint_border to false.
4527 (configurePropertiesFromAction): Do not set accelerator
4528 for JMenu.
4529 (menuSelectionChanged): Change selected index in the selection
4530 model of menu item's parent.
4531 * javax/swing/JPopupMenu.java:
4532 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4533 instead of GridBagConstraints.HORIZONTAL.
4534 (insert): Likewise.
4535 (createActionChangeListener): Implemented.
4536 (setVisible): Correct location of HeavyWeightMenu and
4537 don't firePopupMenuCanceled().
4538 (menuSelectionChanged): Implemented.
4539 (ActionChangeListener): New Listener. Implemented.
4540 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4541 (BasicMenuBarUI.ContainerHandler): Implemented.
4542 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4543 (paintMenuItem): Uncommented out code that paints
4544 icon, now that icons are working properly.
4545 (PropertyChangeListener): Implemented.
4546 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4547 Added javadocs.
4548 (topWindowListener): New field.
4549 (Constructor): initialize topWindowListener.
4550 (BasicPopupMenuUI.TopWindowListener): Implemented.
4551 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4552 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4553 Implemented.
8e99fb4f
GH
4554
45552004-07-21 Michael Koch <konqueror@gmx.de>
4556
4557 * javax/swing/plaf/basic/BasicButtonUI.java
4558 (paintFocus): Fixed method signature.
4559 (paintButtonPressed): Likewise.
4560 (paintButtonNormal): Likewise.
4561 (paintText): New method.
4562 * javax/swing/plaf/basic/BasicLabelUI.java
4563 (paint): Re-indented.
4564 * javax/swing/plaf/basic/BasicTextUI.java
4565 (installUI): Set parent textComponent to opaque.
4566 * javax/swing/text/DefaultHighlighter.java
4567 (checkPositions): New helper method.
4568 (addHighlight): Throws BadLocationException, check positions.
4569 (changeHighlight): Likewise.
4570 * javax/swing/text/EditorKit.java
4571 (EditorKit): Implements Serializable.
4572 * javax/swing/text/JTextComponent.java
4573 (getUI): Added javadoc.
4574 (setUI): Likewise.
4575 (upadteUI): Added javadoc, don't revalidate and repaint.
4576
45772004-07-21 David Jee <djee@redhat.com>
4578
4579 * java/awt/GridBagLayout.java
4580 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4581 * javax/swing/AbstractButton.java
4582 (setText): Reindent.
4583 * javax/swing/RepaintManager.java
4584 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4585
45862004-07-21 Michael Koch <konqueror@gmx.de>
4587
4588 * javax/swing/JFormattedTextField.java
4589 (value): New field.
4590 (JFormattedTextField): Implemented.
4591 (getValue): Likewise.
4592 (setValue): Likewise.
4593 * javax/swing/LookAndFeel.java
4594 (getSupportsWindowDecorations): New method.
4595 * javax/swing/UIDefaults.java:
4596 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4597 (addPropertyChangeListener): Made public.
4598 (addResourceBundle): Likewise.
4599 (removeResourceBundle): Likewise.
4600 (setDefaultLocale): Likewise.
4601 * javax/swing/plaf/basic/BasicRootPaneUI.java
4602 (BasicRootPaneUI): Implements PropertyChangeListener.
4603 (propertyChange): New method.
4604 * javax/swing/plaf/basic/BasicTextUI.java
4605 (BasicHighlighter): New inner class.
4606 (createHighlighter): New method.
4607 * javax/swing/plaf/basic/BasicToolBarUI.java
4608 (DragWindow): Extends java.awt.Window.
4609 * javax/swing/text/JTextComponent.java
4610 (getDocument): Removed debug output.
4611 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4612 javax/swing/text/DefaultHighlighter.java,
4613 javax/swing/text/FieldView.java,
4614 javax/swing/text/PlainView.java: New files.
4615 * Makefile.am: Added new files.
4616 * Makefile.in: Regenerated.
4617
46182004-07-21 Michael Koch <konqueror@gmx.de>
4619
4620 * javax/swing/JEditorPane.java
4621 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4622 (createEditorKitForContentType): Likewise.
4623 * javax/swing/text/DefaultEditorKit.java
4624 (serialVersionUID): Added constant field.
4625 (EndOfLineStringPropery): Fixed typo.
4626 (DefaultEditorKit): New constructor.
4627 * javax/swing/text/Segment.java:
4628 Import java.text.CharacterIterator.
4629 * javax/swing/text/CharacterIterator.java,
4630 javax/swing/text/PlainEditorKit.java: Removed.
4631 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4632 javax/swing/text/PlainEditorKit.java.
4633 * Makefile.in: Regenerated.
4634
46352004-07-21 Michael Koch <konqueror@gmx.de>
4636
4637 * javax/swing/JButton.java,
4638 javax/swing/text/DefaultEditorKit.java,
4639 javax/swing/text/EditorKit.java,
4640 javax/swing/text/Segment.java,
4641 javax/swing/text/StyledEditorKit.java:
4642 Reformatted.
4643
46442004-07-21 Michael Koch <konqueror@gmx.de>
4645
4646 * javax/swing/ImageIcon.java
4647 (file): Removed.
4648 (description): Renamed from descr.
4649 (ImageIcon): Added missing constructors.
4650 (setParent): Removed.
4651 (setImageObserver): New method.
4652 (getImageObserver): New method.
4653 (paintIcon): Handle observer = null.
4654 * javax/swing/JButton.java
4655 (removeNotify): Fixed javadoc.
4656 (updateUI): Simplified.
4657 * javax/swing/JRootPane.java
4658 (serialVersionUID): New constant field.
4659 * javax/swing/UIManager.java:
4660 Fixed javadocs all over.
4661 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4662 * javax/swing/text/AbstractDocument.java
4663 (createPosition): Throws BadLocationException.
4664 (getText): Likewise.
4665 (remove): Likewise.
4666 * javax/swing/text/ComponentView.java
4667 (modelToView): Likewise.
4668 * javax/swing/text/DefaultEditorKit.java:
4669 Made all public methods public.
4670 (read): Throws BadLocationException and IOException.
4671 (write): Likewise.
4672 * javax/swing/text/EditorKit.java:
4673 Made all public methods public.
4674 (serialVersionUID): New constant field.
4675 (clone): New method.
4676 (read): Throws BadLocationException and IOException.
4677 (write): Likewise.
4678 * javax/swing/text/Segment.java
4679 (array): Made public.
4680 (count): Likewise.
4681 (offset): Likewise.
4682 (Segment): New constructors.
4683 (clone): Reimplemented.
4684 * javax/swing/text/StyledEditorKit.java
4685 (serialVersionUID): New constant field.
4686
46872004-07-21 Graydon Hoare <graydon@redhat.com>
4688
4689 * java/awt/image/BufferedImage.java
4690 (getSource): Implement.
4691 * javax/swing/ImageIcon.java
4692 (ImageIcon): Implement ctor.
4693 * javax/swing/ScrollPaneLayout.java
4694 (preferredLayoutSize): Be more careful about nulls.
4695
46962004-07-21 Michael Koch <konqueror@gmx.de>
4697
4698 * javax/swing/text/AttributeSet.java
4699 (CharacterAttribute): New interface
4700 (ColorAttribute): Likewise.
4701 (FontCharacterAttribute): Likewise.
4702 (ParagraphAttribute): Likewise.
4703 * javax/swing/text/DefaultCaret.java
4704 (moveCaret): New method.
4705 (positionCaret): Likewise.
4706 (repaint): Made protected.
4707 * javax/swing/text/JTextComponent.java
4708 (KeyBinding): Made it static.
4709 * javax/swing/text/View.java
4710 (getContainer): Honor parent == null.
4711
47122004-07-21 Michael Koch <konqueror@gmx.de>
4713
4714 * javax/swing/text/AbstractDocument.java:
4715 Reformatted.
4716
47172004-07-21 Michael Koch <konqueror@gmx.de>
4718
4719 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4720 Import javax.swing.UIManager explicitely.
4721 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4722 (ScrollingButton): Made it static.
4723
47242004-07-21 Michael Koch <konqueror@gmx.de>
4725
4726 * javax/swing/UIDefaults.java
4727 (ActiveValue): Made public.
4728 (LazyValue): Likewise.
4729 * javax/swing/plaf/basic/BasicTextUI.java
4730 (RootView): Reintroduced.
4731 (view): Removed.
4732 (rootView): New field.
4733 (installUI): Create document if needed, initialize rootView.
4734 (uninstallUI): Hanle rootView.
4735 (paint): Likewise.
4736 (getRootView): Likewise.
4737 (setView): Likewise.
4738 * javax/swing/text/DefaultCaret.java:
4739 Renamed all "evt" variables to "event".
4740
47412004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4742
4743 * libgcj.spec.in: Add -l-java-util-logging.
4744
47452004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4746
4747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4748 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4749 gtk-xft-dpi can no calculate the right value.
4750 (dpi_changed_cb): Mark *pspec as unsused.
4751
47522004-07-21 David Jee <djee@redhat.com>
4753
4754 * java/awt/Component.java
4755 (move): Delegate to setBounds().
4756 (resize): Likewise.
4757 (reshape): Fix so it repaints parent and self only when necessary.
4758
47592004-07-21 David Jee <djee@redhat.com>
4760
4761 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4762 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4763 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4764 (setVisible): Likewise.
4765 (show): Likewise.
4766 (hide): Likewise.
4767 (getArgs): Likewise.
4768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4769 (property_notify_predicate): Likewise.
4770 (find_layout): Likewise.
4771 (connectJObject): Likewise.
4772 (connectSignals): Likewise.
4773 (moveLayout): Likewise.
4774 (gtkLayoutSetVisible): Likewise.
4775
47762004-07-21 Graydon Hoare <graydon@redhat.com>
4777
4778 * Makefile.am
4779 (jv_convert_LDADD):
4780 (gij_LDADD):
4781 (rmic_LDADD):
4782 (rmiregistry_LDADD): Add lib-java-util-logging.la
4783 * Makefile.in: Regenerate.
4784
47852004-07-21 Michael Koch <konqueror@gmx.de>
4786
4787 * javax/swing/text/AbstractDocument.java
4788 (replace): Dont use protected method of java.util.Vector directly.
4789
47902004-07-21 Michael Koch <konqueror@gmx.de>
4791
4792 * javax/swing/plaf/basic/BasicTextUI.java
4793 (installUI): Call specialized install methods.
4794 (installDefaults): New method.
4795 (installListeners): Likewise.
4796 (installKeyboardActions): Likewise.
4797 (uninstallUI): Likewise.
4798 (uninstallDefaults): New method.
4799 (uninstallListeners): Likewise.
4800 (uninstallKeyboardActions): Likewise.
4801 (getPropertyPrefix): New abstract method.
4802 (paint): Made final, just call paintSafely().
4803 (paintSavely): New method.
4804 (paintBackground): Likewise.
4805 (getVisibleEditorRect): Likewise.
4806 * javax/swing/text/LayeredHighlighter.java,
4807 javax/swing/text/TabExpander.java: New files.
4808 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4809 and javax/swing/text/TabExpander.java.
4810 * Makefile.in: Regenerated.
4811
48122004-07-21 Michael Koch <konqueror@gmx.de>
4813
4814 * javax/swing/plaf/basic/BasicTextUI.java
4815 (BasicTextUI): Made abstract.
4816 (BasicCaret): New inner class.
4817 (view): Don't explicitely initialize with "null".
4818 (textComponent): New field.
4819 (textColor): Removed.
4820 (disabledTextColor): Removed.
4821 (normalBackgroundColor): Removed.
4822 (RootView): Removed commented out inner class.
4823 (createUI): Removed.
4824 (createCaret): New method.
4825 (getComponent): Likewise.
4826 (installUI): Initialize textComponent only.
4827 (getPreferredSize): Use installed JTextComponent.
4828 (setView): New method.
4829 (create): Likewise.
4830 * javax/swing/text/JTextComponent.java
4831 (highlighter): New field.
4832 (caretColor): Likewise.
4833 (disabledTextColor): Likewise.
4834 (seletedTextColor): Likewise.
4835 (selectionColor): Likewise.
4836 (setUI): New method.
4837 (getCaretColor): Likewise.
4838 (setCaretColor): Likewise.
4839 (getDisabledColor): Likewise.
4840 (setDisabledColor): Likewise.
4841 (getSelectedTextColor): Likewise.
4842 (setSelectedTextColor): Likewise.
4843 (getSelectionColor): Likewise.
4844 (setSelectionColor): Likewise.
4845 (getHighlighter): Likewise.
4846 (setHighlighter): Likewise.
4847 (replaceSelection): Likewise.
4848
48492004-07-21 Michael Koch <konqueror@gmx.de>
4850
4851 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4852 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4853 * javax/swing/plaf/basic/BasicToolBarUI.java
4854 (BasicToolBarUI): Implements SwingConstants.
4855
48562004-07-21 Michael Koch <konqueror@gmx.de>
4857
4858 * javax/swing/JPopupMenu.java: Removed CVS tags.
4859 * javax/swing/UIDefaults.java: Reformatted.
4860 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4861 Explicitely import used classes.
4862
48632004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4864
4865 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4866 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4867 (GtkComponentPeer): Remove temporary try/catch block.
4868 (setVisible): Call show and hide.
4869 (show): Make native.
4870 (hide): Likewise.
4871 (getArgs): Don't add "visible" argument.
4872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4873 (property_notify_predicate): Return Bool instead of int.
4874 (find_layout): New function.
4875 (connectJObject): Call find_layout.
4876 (connectSignals): Likewise.
4877 (moveLayout): Likewise.
4878 (gtkLayoutSetVisible): Likewise.
4879
48802004-07-21 Olga Rodimina <rodimina@redhat.com>
4881
4882 * javax/swing/AbstractButton.java:
4883 (setDisplayedMnemonicIndex): Check if button
4884 text is not null before checking its length.
4885 * javax/swing/JMenuItem.java:
4886 (processMouseEvent): Disarm menu item if mouse has
4887 exited it.
4888 * javax/swing/plaf/basic/BasicMenuUI.java:
4889 (MouseInputHandler.mouseEntered): Do not raise
4890 popup menu if this menu is already selected.
4891 (MouseInputHandler.mousePressed): Do not fire
4892 MenuEvents.
4893 (MenuHandler): Implemented.
4894
48952004-07-21 Olga Rodimina <rodimina@redhat.com>
4896
4897 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4898 (getSelectedObjects): Implemented.
4899 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4900 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4901 Added javadoc for few methods.
4902 (processMouseEvent): Made public.
4903 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4904 (processMouseEvent): Likewise.
4905
49062004-07-21 Olga Rodimina <rodimina@redhat.com>
4907
4908 * javax/swing/AbstractButton.java:
4909 (init): Set display mnemonic index to -1.
4910 (setMnemonic(char)): Use setMnemonic(int).
4911 (setMnemonic(int)): Set display mnemonic index.
4912 (getDisplayedMnemonicIndex): Change method signature
4913 by removing 'index' parameter.
4914 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4915 Added default for Menu.selectionBackground.
4916 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4917 (paintMenuItem): Change background color of the selected
4918 menu item.
4919 (paintText): Paint differently when menu item is disabled.
4920 Also paint mnemonic if it appears in the menu item's label.
4921 (paintAccelerator): Paint accelerator differently
4922 if menu item is disabled.
4923 * javax/swing/plaf/basic/BasicMenuUI.java:
4924 (installDefaults): Install defaults for
4925 selectionForeground and selectionBackground.
4926 (uninstallDefaults): Uninstall defauls for
4927 selectionForeground and selectionBackground.
4928
49292004-07-21 Michael Koch <konqueror@gmx.de>
4930
4931 * javax/swing/text/AbstractDocument.java
4932 (BranchElement): Implemented.
4933 (LeafElement): Implemented.
4934 * javax/swing/text/DefaultCaret.java:
4935 Import used classes.
4936 (serialVersionUID): New constant.
4937 * javax/swing/text/JTextComponent.java
4938 (AccessibleJTextComponent): Removed dead declaration.
4939 (caretPos): Removed.
4940 (setCaret): New method.
4941 * javax/swing/text/PlainDocument.java
4942 (rootElement): New field.
4943 (PlainDocument): Initialize rootElement.
4944 (createDefaultRoot): New method.
4945 (getDefaultRootElement): Implemented.
4946 * javax/swing/text/View.java: Reformatted.
4947 * javax/swing/text/ViewFactory.java
4948 (create): Added javadoc.
4949
49502004-07-21 Michael Koch <konqueror@gmx.de>
4951
4952 * javax/swing/ToolTipManager.java: Reformatted.
4953
49542004-07-21 Rodimina Olga <rodimina@redhat.com>
4955
4956 * javax/swing/AbstractButton.java
4957 (changeEvent): New field.
4958 (fireItemStateChanged): Change source of the event
4959 to 'this' before firing it to button listeners.
4960 (fireActionPerformed): Likewise.
4961 (fireStateChanged): Likewise.
4962 (createActionListener): Do not set source
4963 of the event to AbstractButton.
4964 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4965 (ContainerHandler.componentAdded): Removed
4966 print out statement.
4967 (ContainerHandler.componentRemoved): Likewise.
4968
49692004-07-21 Michael Koch <konqueror@gmx.de>
4970
4971 * javax/swing/text/Highlighter.java: New file.
4972 * Makefile.am: Added javax/swing/text/Highlighter.java.
4973 * Makefile.in: Regenerated.
4974
49752004-07-21 Michael Koch <konqueror@gmx.de>
4976
4977 * javax/swing/ToolTipManager.java
4978 (stillInsideTimerAction): Fixed constructor arguments.
4979 (outsideTimerAction): Likewise.
4980 (insideTimerAction): Likewise.
4981
49822004-07-21 Michael Koch <konqueror@gmx.de>
4983
4984 * javax/swing/JButton.java: Reformatted.
4985 * javax/swing/JFormattedTextField.java
4986 (getUIClassID): Implemented.
4987 * javax/swing/JRootPane.java
4988 (serialVersionUID): New constant.
4989 * javax/swing/JTextField.java
4990 (align): New field.
4991 (JTextField): Simplified.
4992 (getUIClassID): New method.
4993 (getActionListeners): Added @since tag.
4994 (setColumns): Invalidate layout and repaint.
4995 (getHorizontalAlignment): New method.
4996 (setHorizontalAlignment): New method.
4997 (selectAll): Removed.
4998 * javax/swing/SwingUtilities.java
4999 (getAncestorOfClass): Removed redundant @see tag.
5000 (isLeftMouseButton): Fixed implementation.
5001 (isMiddleMouseButton): Likewise.
5002 (isRightMouseButton): Likewise.
5003 * javax/swing/text/AbstractDocument.java
5004 (AttributeContext.addAttribute): New method.
5005 (AttributeContext.addAttributes): New method.
5006 (AttributeContext.getEmptySet): New method.
5007 (AttributeContext.reclaim): New method.
5008 (AttributeContext.removeAttribute): New method.
5009 (AttributeContext.removeAttributes): New method.
5010 * javax/swing/text/Document.java
5011 (createPosition): Throws BadLocationException.
5012 (getText): Likewise.
5013 (remove): Likewise.
5014 * javax/swing/text/JTextComponent.java
5015 (getText): Return null if no document is set. Catch
5016 BadLocationException.
5017 (getUI): Return ui.
5018 (updateUI): Simplified.
5019
50202004-07-21 Michael Koch <konqueror@gmx.de>
5021
5022 * javax/swing/JButton.java
5023 (removeNotify): Fixed javadoc.
5024 (updateUI): Simplified.
5025
50262004-07-21 David Jee <djee@redhat.com>
5027
5028 * gnu/java/awt/image/ImageDecoder.java
5029 (startProduction): Only add consumer if it's not added yet.
5030 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5031 (GdkPixbufDecoder): Don't call initState() here.
5032 (produce): Call initState() here, to ensure area_prepared and
5033 area_updated signals are properly connected.
5034 * gnu/java/awt/peer/gtk/GtkImage.java
5035 (setColorModel): Use equals() to compare ColorModel objects.
5036 (setPixels): Likewise.
5037 * java/awt/image/ColorModel.java
5038 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5039 * java/awt/image/RGBImageFilter.java
5040 (setColorModel): Set consumer's color model.
5041 (setPixels): Use equals() to compare ColorModel objects.
5042
eecbcf54
BM
50432004-07-21 Bryce McKinlay <mckinlay@redhat.com>
5044
5045 * java/net/URLConnection.java (position): New field.
5046 (dateFormat1, dateFormat2, dateFormat3): Removed.
5047 (dateFormats): New field.
5048 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5049 each time instead of re-allocating.
5050 (initializeDateFormats): Initialize 'dateFormats'.
5051
f82bb1be
BM
50522004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5053
5054 PR libgcj/16591
5055 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5056 is defined.
5057
f6bbce40
BM
50582004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5059
5060 * java/net/Socket.java (getImpl): Now private. Remove comment.
5061
8246c778
BM
50622004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5063
5064 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5065 of chained Writer when calling super-constructor.
5066 * java/io/FilterWriter.java (FilterWriter): Likewise.
5067 * java/io/PrintWriter.java (PrintWriter): Likewise.
5068
b4ffdef7
BM
50692004-07-19 Bryce McKinlay <mckinlay@redhat.com>
5070
5071 * prims.cc (process_gcj_properties): Don't increment i within LHS
5072 of assignment.
5073
963ddbd5
PB
50742004-07-19 Per Bothner <per@bothner.com>
5075
5076 Print -verbose:message on "loading", not initialization.
5077 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
5078 * defineclass.cc (_Jv_ClassReader::parse): Print message if
5079 gcj::verbose_class_flag.
5080 * java/lang/natClass.cc (initializeClass): Don't print message here.
5081 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
5082 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5083 (_Jv_PrepareCompiledClass): Likewise.
5084
60557047
MK
50852004-07-18 Matthias Klose <doko@debian.org>
5086
5087 * configure.in: Substitute target_noncanonical.
5088 * configure: Regenerate
5089
1792f52d
MK
50902004-07-17 Michael Koch <konqueror@gmx.de>
5091
5092 * java/lang/String.java: Fixed javadocs all over.
5093
baa61e09
MK
50942004-07-17 Mark Wielaard <mark@klomp.org>
5095
5096 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5097 when size is smaller.
5098 * java/io/RandomAccessFile.java (setLength): Use truncate for
5099 shrinking the file and seek plus write for expanding the file.
5100
51012004-07-17 Michael Koch <konqueror@gmx.de>
5102
5103 * gnu/java/nio/channels/natFileChannelPosix.cc
5104 (implTruncate): Always save current position. Only reposition file
5105 pointer to where we started if not beyond new lenght. Reposition file
5106 pointer to file length if it points beyond the end of file.
5107
6fd3cc05
MW
51082004-07-17 Mark Wielaard <mark@klomp.org>
5109
5110 * javax/swing/Box.java: Put FIXME comment above class declaration.
5111 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5112 * javax/swing/JCheckBox.java: Likewise.
5113 * javax/swing/JDialog.java: Likewise.
5114 * javax/swing/JRadioButton.java: Likewise.
5115 * javax/swing/JToggleButton.java: Likewise.
5116 * javax/swing/UIManager.java: Likewise.
5117 * javax/swing/border/TitledBorder.java: Likewise.
5118 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5119 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5120 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5121 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5122 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5123 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5124 * javax/swing/text/JTextComponent.java: Likewise.
5125
320e32f6
MK
51262004-07-17 Jeroen Frijters <jeroen@frijters.net>
5127
5128 * java/net/DatagramPacket.java (setAddress): Removed check for
5129 null address.
5130
51312004-07-17 Michael Koch <konqueror@gmx.de>
5132
5133 * java/net/DatagramSocket.java
5134 (getLocalAddress): Check if socket is bound or not.
5135 * java/net/Socket.java
5136 (getLocalAddrss): Check if socket is bound or not.
5137 (getPort): Return -1 when not connected. Dont check getImpl() for
5138 null.
5139 (setReuseAddress): Check if socket is closed.
5140 (isConnected): Check if getImpl() returns null.
5141
10c383a4
MW
51422004-07-17 Mark Wielaard <mark@klomp.org>
5143
5144 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5145 on notifier object before calling notifyAll().
5146
2ccc5a95
MK
51472004-07-17 Michael Koch <konqueror@gmx.de>
5148
5149 * gnu/java/nio/channels/FileChannelImpl.java
5150 (finalize): Added javadoc.
5151
61ce29b1
GL
51522004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
5153
5154 * java/text/CollationElementIterator.java
5155 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5156 (setText): Use ArrayList instead of Vector.
5157
651ba822
MK
51582004-07-17 Michael Koch <konqueror@gmx.de>
5159
5160 * java/nio/ByteOrder.java
5161 (static): Removed. Not needed.
5162 Thanks to Patrick Reali for noticing.
5163 * java/nio/charset/CharsetDecoder.java
5164 (decode): Fix for classpath bug #9177: Reset state before flipping.
5165
e3fe5b9c
MK
51662004-07-17 Michael Koch <konqueror@gmx.de>
5167
5168 * java/security/Security.java: Fixed javadocs all over.
5169
316a1df4
MK
51702004-07-17 Michael Koch <konqueror@gmx.de>
5171
5172 * gnu/java/awt/EmbeddedWindow.java
5173 (static): Removed.
5174 (addNotify): Set peer via reflection.
5175 (setWindowPeer): Removed.
5176 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5177 * Makefile.am (nat_source_files):
5178 Removed gnu/java/awt/natEmbeddedWindow.cc.
5179 * Makefile.in: Regenerated.
5180
c0f43fa7
RE
51812004-07-17 Richard Earnshaw <rearnsha@arm.com>
5182
5183 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5184 assignment.
5185 * configure: Regenerated.
5186
4c86f325
NN
51872004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
5188
b764adea
NN
5189 * configure.in: Use build_noncanonical rather than build_alias.
5190 * configure: Rebuild.
5191
f11d297f
NN
5192 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5193 by logic refactoring. Move default definition of NATIVE closer
5194 to first alternate definition.
5195 * configure: Regenerate.
5196
4c86f325
NN
5197 * Makefile.am: Set ZIP and GCJH directly using autoconf.
5198 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5199 gcj/Makefile.in: Regenerate.
5200 * configure.in: Set ZIP and GCJH. Remove redundant condition
5201 in AM_CONDITIONAL(NATIVE,...)
5202 * configure: Regenerate.
5203
bc03b358
NN
52042004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
5205
ed2e3d33
NN
5206 * configure.in: Use target_noncanonical rather than
5207 target_alias for forward-compatibility with autoconf 2.59.
5208 * configure: Regenerate.
5209 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5210 testsuite/Makefile.am: Substitute target_noncanonical.
5211 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5212 testsuite/Makefile.in: Regenerate.
5213
bc03b358
NN
5214 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5215 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5216 * acinclude.m4: Include acx.m4.
5217 * aclocal.m4: Regenerate.
5218 * configure: Regenerate.
5219
cbd7a79b
BM
52202004-07-15 Bryce McKinlay <mckinlay@redhat.com>
5221
5222 PR libgcj/16574
5223 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5224 (decimalFormat): New static variable.
5225 (sbuf): Likewise.
5226 (getTime): New. Override Date.getTime().
5227 (toString): Synchronize. Use decimalFormat to format nanos value
5228 correctly. Truncate extra zeros.
5229 (before): Compare getNanos() only if getTime() is equal.
5230 (after): Likewise.
5231
b2281cb3
NN
52322004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5233
36609570
NN
5234 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5235 * configure.in: ...here.
5236 * aclocal.m4: Regenerate.
5237 * configure: Regenerate.
5238
b2281cb3
NN
5239 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5240 * configure: Rebuilt with autoconf 2.13.
5241 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5242 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5243
b845ed9f
BM
52442004-07-14 Bryce McKinlay <mckinlay@redhat.com>
5245
5246 PR libgcj/16204
5247 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5248 large file support.
5249 * Makefile.in: Rebuilt.
5250 * testsuite/libjava.lang/LargeFile.java: New test case.
5251 * testsuite/libjava.lang/LargeFile.out: New file.
5252
ade1907d
JQ
52532004-07-14 Jerry Quinn <jlquinn@optonline.net>
5254
5255 * java/beans/EventHandler.java: Remove debugging statements.
5256
12e8e7ea
JQ
52572004-07-14 Jerry Quinn <jlquinn@optonline.net>
5258
5259 * java/beans/EventHandler.java: New file.
5260 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5261 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5262 testsuite/Makefile.in: Regenerate.
5263
7cb73054
AT
52642004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5265
5266 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5267 flag to the gcj_setup.
5268 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5269 the tclsh.
5270 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5271 deprecation flag change. 58 XFAILS removed.
5272
220a826e
UW
52732004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5274
5275 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5276 -fno-use-divide-subroutine.
5277 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5278 (HANDLE_FPE): Define.
5279 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5280 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5281 (HANDLE_DIVIDE_OVERFLOW): Define.
5282
c1b4f64d
MK
52832004-07-14 Michael Koch <konqueror@gmx.de>
5284 Matthias Klose <doko@debian.org>
5285
12e8e7ea 5286 * java/awt/im/InputContext.java: Initialize in, line.
c1b4f64d 5287
5549179f
UW
52882004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5289
5290 * interpret.cc (run): Correctly access libffi return values of
5291 integral smaller-than-int type; these are implicitly promoted.
5292
6187fd28
BM
52932004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5294
5295 PR libgcj/7587
5296 * interpret.cc (compile_mutex): New.
5297 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5298 (run): Lock compile_mutex before calling compile() if compilation is
5299 required.
5300 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5301 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5302
7a1c3d48
BM
53032004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5304
5305 PR libgcj/15713
5306 * include/jvm.h (_Jv_value): New union type.
5307 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5308 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5309 union members.
5310
717b2091
SG
53112004-07-12 Scott Gilbertson <scottg@mantatest.com>
5312
5313 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5314 * gnu/awt/xlib/XOffScreenImage.java
5315 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5316 constructor argument. Add constructor using ImageProducer.
5317 (getSource): Implement.
5318 (imageComplete): New method.
5319 (setColorModel): New method.
5320 (setDimensions): New method.
5321 (setHints): New method.
5322 (setPixels): New method.
5323 (setProperties): New method.
5324 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5325 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5326
31a7b755
BM
53272004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5328
abd1b60d 5329 PR libgcj/16478
31a7b755
BM
5330 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5331 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5332 (finalizerReady): Now native.
5333 (run): Likewise.
5334 (runFinalizers): Removed.
5335 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5336 a primitive lock, and don't hold it while running the finalizers.
5337 (runFinalizers): Implement. Don't aquire any Java lock.
5338 (finalizerReady): Use lock primitives to signal finalizer thread.
5339
eeb32988
MW
53402004-07-11 Mark Wielaard <mark@klomp.org>
5341
5342 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5343 * java/net/URLStreamHandler.java (parseURL): When url file part
5344 doesn't contain a '/' just ignore context.
5345
bbb362e6
UW
53462004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5347
5348 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5349 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5350 (MAKE_THROW_FRAME): Do not modify PSW address.
5351 (INIT_SEGV): Install SIGINFO-style signal handler.
5352 (INIT_FPE): Likewise.
5353
33dc5b0b
BM
53542004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5355
5356 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5357 status. 21 xfail's removed, 1 added.
5358
a4548f27
BM
53592004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5360
5361 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5362
8f0ce8da
IK
53632004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5364
5365 * java/text/MessageFormat.java
5366 (formatInternal): Append "{n}" if argument n is unavailable.
5367 (format(Object, StringBuffer, FieldPosition)): This
5368 should be equivalent to format(Object[],
5369 StringBuffer, FieldPosition).
5370
3ee7acd1
BM
53712004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5372
5373 * java.util.Calendar.java (cache): New private static field. Cached
5374 mappings of locales->calendar classes.
5375 (ctorArgTypes): New private static field. Singleton argument for
5376 calendar class constructor lookup.
5377 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5378 Optimize by bypassing reflection instantiation for the
5379 GregorianCalendar case.
5380
284d6a1f
BM
53812004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5382
5383 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5384 ResourceBundle.getBundle() calls.
5385 * java/util/GregorianCalendar.java: Likewise.
5386 * java/util/Currency.java: Likewise.
5387 * java/text/BreakIterator.java: Likewise.
5388 * java/text/Collator.java: Likewise.
5389 * java/text/DateFormat.java: Likewise.
5390 * java/text/DateFormatSymbols.java: Likewise.
5391 * java/text/DecimalFormatSymbols.java: Likewise.
5392 * java/text/NumberFormat.java: Likewise.
5393 * java/awt/Window.java: Likewise.
5394
21f56031
BM
53952004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5396
5397 * java/util/ResourceBundle.java (bundleCache): Renamed from
5398 resourceBundleCache. Update comments.
5399 (getObject): Don't catch MissingResourceException.
5400 (getBundle(String)): Remove 'final'. Use system classloader if
5401 getCallingClassLoader returned null.
5402 (getBundle(String, Locale)): Likewise.
5403 (BundleKey): New private class. HashMap key for bundle cache lookup.
5404 (lookupKey): New. Singleton instance of BundleKey.
5405 (nullEntry): New. Cache entry to represent failed lookups.
5406 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5407 caching strategy, no-allocation lookup, and new tryBundle methods.
5408 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5409 name using given classloader.
5410 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5411 baseName for given Locale and attempt to load bundle.
5412
42c00752
BM
54132004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5414
5415 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5416 illegal protected method calls.
5417
6e342fc1
BM
54182004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5419
5420 Fix or remove some bogus test cases.
5421 * testsuite/libjava.compile/pr10459_2.java: Removed.
5422 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5423 not Object.clone().
5424 * testsuite/libjava.compile/inner_data.java: Test against its own
5425 protected field.
5426
1f33f6b4
MK
54272004-07-09 Michael Koch <konqueror@gmx.de>
5428
5429 * scripts/unicode-muncher.pl: Updated to version 2.1
5430 from GNU classpath. Added some clarifications on where to find the
5431 needed files from www.unicode.org.
5432 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5433 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5434 Removed, these can directly be downloaded from www.unicode.org if
5435 needed.
5436 * gnu/java/lang/CharData.java: Regenerated.
5437 * include/java-chartables.h: Regenerated.
5438 * Makefile.am (ordinary_java_source_files):
5439 Removed gnu/java/lang/CharData.java.
5440 * Makefile.in: Regenerated.
5441
771aacd3
MK
54422004-07-09 Michael Koch <konqueror@gmx.de>
5443
5444 * java/security/AccessControlContext.java,
5445 java/security/SecureClassLoader.java:
5446 Fixed javadocs.
5447
3d5f053c
MK
54482004-07-09 Michael Koch <konqueror@gmx.de>
5449
5450 * java/io/ObjectInputStream.java (readFields): Use long datatype
5451 when shifting byte values more then 24 bits left.
5452
d642571f
MK
54532004-07-09 Michael Koch <konqueror@gmx.de>
5454
5455 * java/util/zip/DeflaterOutputStream.java,
5456 java/util/zip/GZIPInputStream.java,
5457 java/util/zip/GZIPOutputStream.java,
5458 java/util/zip/InflaterInputStream.java:
5459 Reformatted. Added javadocs. Reordered all stuff.
5460 Renamed variables to be more clear.
5461
3042e24b
MK
54622004-07-09 Michael Koch <konqueror@gmx.de>
5463
5464 * javax/imageio/IIOException.java,
5465 javax/imageio/event/IIOReadProgressListener.java,
5466 javax/imageio/event/IIOReadUpdateListener.java,
5467 javax/imageio/event/IIOReadWarningListener.java,
5468 javax/imageio/event/IIOWriteProgressListener.java,
5469 javax/imageio/event/IIOWriteWarningListener.java:
5470 New files.
5471 * Makefile.am: Added new files.
5472 * Makefile.in: Regenerated.
5473
4a738a82
GL
54742004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5475
5476 * java/text/RuleBasedCollator.java
5477 (mergeRules): Use ArrayList instead of Vector.
5478 (subParseString): likewise.
5479 (parseString): likewise.
5480 (buildCollationVector): likewise.
5481 (getCollationKey): likewise.
5482
28e0ee76
DT
54832004-07-09 Dalibor Topic <robilad@kaffe.org>
5484
5485 * java/text/DateFormat.java (parse):
5486 Improved javadoc. Improved exception message.
5487
2e54a860
MW
54882004-07-09 Mark Wielaard <mark@klomp.org>
5489
5490 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5491 interrupted() method to clear interupt flag of our Thread.
5492
23c41c08
DT
54932004-07-09 Dalibor Topic <robilad@kaffe.org>
5494
5495 * java/nio/Buffer.java,
5496 java/nio/ByteBuffer.java,
5497 java/nio/ByteBufferHelper.java,
5498 java/nio/ByteBufferImpl.java,
5499 java/nio/CharBuffer.java,
5500 java/nio/CharBufferImpl.java,
5501 java/nio/CharViewBufferImpl.java,
5502 java/nio/DirectByteBufferImpl.java,
5503 java/nio/DoubleBuffer.java,
5504 java/nio/DoubleBufferImpl.java,
5505 java/nio/DoubleViewBufferImpl.java,
5506 java/nio/FloatBuffer.java,
5507 java/nio/FloatBufferImpl.java,
5508 java/nio/FloatViewBufferImpl.java,
5509 java/nio/IntBuffer.java,
5510 java/nio/IntBufferImpl.java,
5511 java/nio/IntViewBufferImpl.java,
5512 java/nio/LongBuffer.java,
5513 java/nio/LongBufferImpl.java,
5514 java/nio/LongViewBufferImpl.java,
5515 java/nio/MappedByteBufferImpl.java,
5516 java/nio/ShortBuffer.java,
5517 java/nio/ShortBufferImpl.java,
5518 java/nio/ShortViewBufferImpl.java:
5519 Fixed javadocs all over. Improved input error
5520 checking.
5521
5522 * java/nio/Buffer.java
5523 (checkForUnderflow, checkForOverflow, checkIndex,
5524 checkIfReadOnly, checkArraySize): New helper methods
5525 for error checking.
5526
5527 * java/nio/ByteBufferHelper.java
5528 (checkRemainingForRead, checkRemainingForWrite,
5529 checkAvailableForRead, checkAvailableForWrite): Removed
5530 no longer needed methods.
5531
e484d7d5
MK
55322004-07-09 Michael Koch <konqueror@gmx.de>
5533
5534 * gnu/regexp/CharIndexedInputStream.java:
5535 Reordered imports to match classpath.
5536
3e518ab0
MK
55372004-07-09 Michael Koch <konqueror@gmx.de>
5538
5539 * gnu/java/awt/EmbeddedWindow.java:
5540 Load native library for setWindowPeer method.
5541
8c5ac2c4
RC
55422004-07-08 Randolph Chung <tausq@debian.org>
5543
5544 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5545 * configure: Regenerate.
5546 * configure.host: Set can_unwind_signal for hppa*-linux.
5547 * include/pa-signal.h: New file.
5548
0bd24153
PB
55492004-07-07 Per Bothner <per@bothner.com>
5550
fedf5454
PB
5551 * Makefile.am: Add rules to build libgij from just gij.cc.
5552
0bd24153
PB
5553 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5554 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5555 (initializeClass): If verbose_class_flag, print message.
5556 * gij.cc (main): Handle -verbose:class flag.
5557
0e497b6c
AT
55582004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5559
5560 * configure.host: Enable hash synchronization on Darwin.
5561 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5562 ';', since this is a comment on Darwin.
5563 (compare_and_swap_release): Likewise.
5564
c09bade6
ME
55652004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5566
5567 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5568 file portion of URL in addition to spec for file: protocol.
5569
23f99379 55702004-07-05 Anthony Green <green@redhat.com>
0e497b6c 5571
23f99379
AG
5572 * java/io/File.java (toURI): Merge from Classpath.
5573
a1433c46
BM
55742004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5575
5576 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5577 before passing to URL constructor. Rethrow any MalformedURLException
5578 as a RuntimeException. Catch MalformedURLException specifically, not
5579 all exceptions.
0e497b6c 5580
a86f0372
BM
55812004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5582
5583 * java/util/Locale.java (readObject): Intern strings read from object
5584 stream.
5585
74fa958e
MK
55862004-07-04 Michael Koch <konqueror@gmx.de>
5587
5588 * gnu/gcj/runtime/FirstThread.java,
5589 gnu/gcj/runtime/natFirstThread.cc: Removed.
5590 * gnu/java/lang/MainThread.java,
5591 gnu/java/lang/natMainThread.cc: New files.
5592 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5593 * Makefile.am: Added new files and removed deleted ones.
5594 * Makefile.in: Regenerated.
5595
94fbf267 55962004-07-03 Mark Wielaard <mark@klomp.org>
0e497b6c 5597 Anthony Green <green@redhat.com>
94fbf267
AG
5598
5599 * java/net/URL.java (getFile): Clarify return value doc.
5600 (getPath): Return null if file is empty - not empty String.
5601 (set): Convert protocol to lower case before doing anything.
5602 Only change the protocol handler if it's different.
5603
56042004-07-03 Anthony Green <green@redhat.com>
5605
5606 * java/net/URL.java (URL): Convert protocol to lower case before
5607 doing anything, so we getURLStreamHandler() with the proper value.
5608
b5349c07
BM
56092004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5610
5611 * java/util/Locale.java (hashcode): Made transient.
5612 (hashCode): No longer synchronized.
5613 (equals): Remove comment.
5614 (writeObject): No longer synchronized. Implement using writeObject
5615 calls instead of tweaking hashCode field. Update doc.
5616 (readObject): Implement using readObject calls.
5617
f8a57be8
GK
56182004-06-26 Geoffrey Keating <geoffk@apple.com>
5619 Andreas Tobler <a.tobler@schweiz.ch>
5620
5621 * configure.host (powerpc-*-darwin*): New case, define
5622 can_unwind_signal.
5623 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5624 * configure: Regenerate.
5625 * include/darwin-signal.h: New.
5626
dcfbe7c7
JQ
56272004-06-30 Jerry Quinn <jlquinn@optonline.net>
5628
5629 * java/beans/Statement.java (doExecute): Fix formatting.
5630
8319dc87
PB
56312004-06-29 Per Bothner <per@bothner.com>
5632
5633 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5634 etc etc): Remove needless parenthesis, which causes __stdcall__
5635 attribute on MinGW to get ignored.
5636
b4bbd47e
BM
56372004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5638
5639 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5640
b5493719
BM
56412004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5642
b4bbd47e 5643 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
b5493719 5644
7b63e340
JQ
56452004-06-28 Jerry Quinn <jlquinn@optonline.net>
5646
5647 * java/beans/Expression.java: New file.
5648 * java/beans/Statement.java: New file.
5649 * Makefile.am: Added new files.
5650 * Makefile.in: Re-generate.
5651
01036503
MW
56522004-06-27 Mark Wielaard <mark@klomp.org>
5653
5654 * java/io/FilePermission.java (usingPerms): Removed.
5655 (actionsString): Made final.
5656 (cachePerms): Renamed to checkPerms.
5657 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5658 on action String.
5659 (FilePermission): Check arguments, call checkPerms().
5660 (equals): Remove cachePerms() call.
5661 (implies): Likewise.
5662
ce6230c4
MW
56632004-06-27 Mark Wielaard <mark@klomp.org>
5664
5665 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5666 final field.
5667 (sendRequest): Use new field in user-agent http agent.
5668
66a74d2a
MW
56692004-06-27 Mark Wielaard <mark@klomp.org>
5670
5671 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5672 when argument is null.
5673
56742004-06-26 Mark Wielaard <mark@klomp.org>
5675
5676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5677 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5678 GetMethodID call.
5679 (cancel_clicked): Likewise.
5680
d168da74
AT
56812004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5682
5683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5684 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5685 can not calculate the right value.
5686 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5687
cc21f43e
BM
56882004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5689
5690 * testsuite/libjava.jacks/jacks.xfail: Remove
5691 15.9.1-qualified-concrete-20.
5692
eb8163ab
BM
56932004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5694
5695 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5696 encoding name to iconv.
5697 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5698
f50aa505
BM
56992004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5700
5701 PR libgcj/16134:
e9cb3dac
BM
5702 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5703 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5704 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
f50aa505 5705
deb3d52f
AH
57062004-06-21 Andrew Haley <aph@redhat.com>
5707
5708 * java/io/ObjectOutputStream.java: Add DEBUG statements
5709 everywhere.
5710 (dumpElementln): New method.
5711 (depth): New field.
5712 * java/io/ObjectInputStream.java
5713 (currentClassLoader): Make native.
5714 (callersClassLoader): New field.
5715 (depth): New field.
5716 (readObject): ENDBLOCKDATA is generated if the class has a write
5717 method, not if it has a read method.
5718 (readObject): Save and restore this.currentObject and
5719 this.currentObjectStreamClass around calls to callReadMethod().
5720 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5721 method.
5722
cfc74dce
AT
57232004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5724
5725 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5726 darwin.
5727
bd760894
RM
57282004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5729
5730 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5731 if desired, before the default class loader is initialised.
5732 Call INIT_SEGV only if HANDLE_SEGV is defined.
5733
6ca77e6f
RM
57342004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5735
5736 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5737 directory only if it actually exists.
5738
67a69e82
GH
57392004-06-18 Graydon Hoare <graydon@redhat.com>
5740
5741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5742 Fix up non-ansi comments.
5743
57442004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5745
5746 * javax/swing/text/AbstractDocument.java: Adding missing import
5747 for javax.swing.event.EventListenerList.
5748 * javax/swing/text/DefaultCaret.java: Likewise.
5749
4dfcdad1
GH
57502004-06-17 Michael Koch <konqueror@gmx.de>
5751
5752 * javax/swing/JToolBar.java
5753 (name): Removed.
5754 (JToolBar): Use Component.setName(String) instead of doing it all
5755 alone.
5756 * javax/swing/Timer.java
5757 (queueEvent): Added missing modifier.
5758
57592004-06-17 Olga Rodimina <rodimina@redhat.coom>
5760
5761 * Makefile.am: Added new file.
5762 * Makefile.in: Re-generate.
5763 * javax/swing/JMenu.java:
5764 (insertSeparator): Implemented.
5765 * javax/swing/JPopupMenu.java:
5766 (JPopupMenu.Separator): Implemented.
5767 * javax/swing/MenuSelectionManager.java:
5768 (processMouseEvent): Use java.awt.Component
5769 for event source instead of javax.swing.JComponent.
5770 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5771 New File. Implemented.
5772
57732004-06-16 David Jee <djee@redhat.com>
5774
5775 * java/awt/GridBagLayout.java
5776 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5777 Make sure pos_x and pos_y are never negative.
5778
57792004-04-16 Andrew Overholt <overholt@redhat.com>
5780
5781 * Makefile.am: Add new file.
5782 * Makefile.in: Re-generate.
5783 * javax/swing/JToolBar.java
5784 Partially implemented.
5785 * javax/swing/plaf/basic/BasicToolBarUI.java
5786 New file. Partially implemented.
5787
57882004-06-16 Graydon Hoare <graydon@redhat.com>
5789
5790 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5791 (setComposite): Accept AlphaComposite arguments.
5792 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5793 (createBufferedImage): Add new overloads.
5794 * gnu/java/awt/peer/gtk/GtkToolkit.java
5795 (createImage): Use GdkPixbufDecoder.createBufferedImage
5796 when useGraphics2D() is true.
5797 (getImage): Delegate to createImage.
5798 * javax/swing/JList.java
5799 (isSelectionEmpty):
5800 (getFirstVisibleIndex):
5801 (getLastVisibleIndex):
5802 (setSelectedValue):
5803 (ensureIndexIsVisible): New methods.
5804 * javax/swing/Timer.java: Reimplement.
5805
58062004-06-16 Michael Koch <konqueror@gmx.de>
5807
5808 * javax/swing/text/AbstractDocument.java
5809 (AbstracElement): Made public, implements java.io.Serializable.
5810 (AttributeContext): Made public.
5811 (BranchElement): Likewise.
5812 (Content): Likewise.
5813 (DefaultDocumentEvent): Made public, extends
5814 javax.swing.undo.CompoundEdit.
5815 (ElementEdit): Made public, extends
5816 javax.swing.undo.AbstractUndoableEdit.
5817 (LeafElement): Made public.
5818 (LeafElement.LeafElement): Made public.
5819
58202004-06-16 Michael Koch <konqueror@gmx.de>
5821
5822 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5823 methods (that were obviously never be intended to get included hi this
5824 class. Added some methods too.
5825
58262004-06-16 Michael Koch <konqueror@gmx.de>
5827
5828 * javax/swing/text/PlainDocument.java
5829 (serialVersionUID): New constant.
5830 (lineLimitAttribute): Likewise.
5831 (tabSizeAttribute): Likewise.
5832 (tabSize): New field.
5833 (PlainDocument): Made public.
5834 (PlainDocument): New constructor.
5835
58362004-06-16 Michael Koch <konqueror@gmx.de>
5837
5838 * javax/swing/text/AbstractDocument.java
5839 (insertString): Throws BadLocationException.
5840 * javax/swing/text/Document.java
5841 (insertString): Likewise.
5842 * javax/swing/text/JTextComponent.java:
5843 Javadocs and comments cleaned up.
5844
58452004-06-16 Michael Koch <konqueror@gmx.de>
5846
5847 * javax/swing/event/UndoableEditListener.java: Reformatted.
5848 * javax/swing/text/AbstractDocument.java
5849 (AbstractDocument): Implements java.io.Serializable.
5850 (doc_list): Removed.
5851 (undo_list): Removed.
5852 (AbstractElement.serialVerionUID): New field.
5853 (BranchElement.serialVerionUID): Likewise.
5854 (DefaultDocumentEvent.serialVerionUID): Likewise.
5855 (ElementEdit.serialVerionUID): Likewise.
5856 (LeafElement.serialVerionUID): Likewise.
5857 (serialVerionUID): Likewise.
5858 (BAD_LOCATION): New constant.
5859 (BidiElementName): Likewise.
5860 (ContentElementName): Likewise.
5861 (ParagraphElementName): Likewise.
5862 (SectionElementName): Likewise.
5863 (ElementNameAttribute): Likewise.
5864 (AbstractDocument): Made protected.
5865 (AbstractDocument): New construtor.
5866 (listenerList): New field.
5867 (fireChangedUpdate): Implemented.
5868 (fireInsertUpdate): Likewise.
5869 (fireRemoveUpdate): Likewise.
5870 (fireUndoableEditUpdate): Likewise.
5871 (getListeners): Likewise.
5872 (addDocumentListener): Likewise.
5873 (removeDocumentListener): Likewise.
5874 (addUndoableEditListener): Likewise.
5875 (removeUndoableEditListener): Likewise.
5876 (getDocumentListeners): New method.
5877 (getUndoableEditListeners): Likewise.
5878 (getAsynchronousLoadPriority): Made public.
5879 (getBidiRootElement): Likewise.
5880 (setAsynchronousLoadPriority): Likewise.
5881 (setDocumentProperties): Likewise.
5882 * javax/swing/text/BadLocationException.java
5883 (serialVerionUID): New field.
5884 * javax/swing/text/DefaultCaret.java
5885 (changeEvent): New field.
5886 (listenerList): Likewise.
5887 (changes): Removed.
5888 (addChangeListener): Reimplemented.
5889 (removeChangeListener): Likewise.
5890 (getListeners): New method.
5891 (getChangeListeners): Likwise.
5892 (getComponent): Likewise.
5893 * javax/swing/text/GapContent.java
5894 (GapContent): Implements java.io.Serializable.
5895 (serialVerionUID): New field.
5896
58972004-06-16 Michael Koch <konqueror@gmx.de>
5898
5899 * javax/swing/JTree.java
5900 (treeModel): New field.
5901 (JTree): New constructors, one existing one made public.
5902 (createTreeModel): New method.
5903 (addTreeExpansionListener): Likewise.
5904 (removeTreeExpansionListener): Likewise.
5905 (getTreeExpansionListeners): Likewise.
5906 (fireTreeCollapsed): Likewise.
5907 (fireTreeExpanded): Likewise.
5908 (addTreeSelectionListener): Likewise.
5909 (removeTreeSelectionListener): Likewise.
5910 (getTreeSelectionListeners): Likewise.
5911 (fireValueChanged): Likewise.
5912 (addTreeWillExpandListener): Likewise.
5913 (removeTreeWillExpandListener): Likewise.
5914 (getTreeWillExpandListeners): Likewise.
5915 (fireTreeWillCollapse): Likewise.
5916 (fireTreeWillExpand): Likewise.
5917
59182004-06-16 Michael Koch <konqueror@gmx.de>
5919
5920 * javax/swing/JTree.java: Reformatted.
5921
59222004-06-16 Michael Koch <konqueror@gmx.de>
5923
5924 * javax/swing/JTextArea.java: New file.
5925 * javax/swing/JTextField.java
5926 (actions): Removed.
5927 (notifyAction): New constant.
5928 (columns): New field.
5929 (JTextField): New constructors.
5930 (createDefaultModel): New method.
5931 (addActionListener): Reimplmemented.
5932 (removeActionListener): Reimplemented.
5933 (getActionListeners): New method.
5934 (fireActionPerformed): New method.
5935 (getColumns): New method.
5936 (setColumne): New method.
5937 * javax/swing/text/JTextComponent.java
5938 (AccessibleJTextComponent.serialVersionUID): New field.
5939 (serialVersionUID): Likewise.
5940 (DEFAULT_KEYMAP): Likewise.
5941 (FOCUS_ACCELERATOR_KEY): Likewise.
5942 (doc): Made private.
5943 (icon_gap): Likewise.
5944 (icon): Likewise.
5945 (align): Likewise.
5946 (JTextComponent): Some constructors removed.
5947 (getScrollableTracksViewportHeight): New method.
5948 (getScrollableTracksViewportWidth): Likewise.
5949 * Makefile.am: Added javax/swing/JTextArea.java.
5950 * Makefile.in: Regenerated.
5951
59522004-06-15 Graydon Hoare <graydon@redhat.com>
5953
5954 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5955 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5956 * javax/swing/JViewport.java
5957 (getExtentSize): Return size rather than preferred size.
5958 (toViewCoordinates): New methods.
5959 (getViewSize): Return size rather than preferred size.
5960 (setViewSize): Note view size as set.
5961 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5962 * javax/swing/plaf/basic/BasicScrollBarUI.java
5963 (getPreferredSize): Don't redo layout.
5964 * javax/swing/plaf/basic/BasicViewportUI.java
5965 (paint): Translate image properly and eat exceptions.
5966
59672004-06-15 Kim Ho <kho@redhat.com>
5968
5969 * javax/swing/JTabbedPane.java
5970 (setComponent): Remove old component and
5971 add new component.
5972 (setSelectedIndex): Don't operate on the
5973 components if they're null. Don't set index
5974 on the model if the index is the same.
5975 (insertTab): Don't add or hide the component
5976 if it's null. Repaint the container.
5977 * javax/swing/plaf/basic/BasicLookAndFeel.java
5978 Change colors for TabbedPane.
5979 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5980 (mousePressed): Re-layout and paint the component.
5981 (layoutContainer): Don't set location on the view.
5982 (ScrollingViewport::paint): Remove.
5983
59842004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5985
5986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5987 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5988
5989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5990 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5991 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5992 critical region.
5993 (drawLine): Call gdk_flush before leaving GDK critical region.
5994 (fillRect): Likewise.
5995 (drawRect): Likewise.
5996 (copyArea): Likewise.
5997 (copyPixmap): Likewise.
5998 (clearRect): Likewise.
5999 (drawArc): Likewise.
6000 (drawPolyline): Likewise.
6001 (drawPolygon): Likewise.
6002 (fillPolygon): Likewise.
6003 (fillArc): Likewise.
6004 (drawOval): Likewise.
6005 (fillOval): Likewise.
6006
6007 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6008 style parameter.
6009 (GdkFontMetrics): Add style argument to initState call.
6010 (stringWidth(String,int,int,String)): Add style parameter.
6011 (stringWidth(String)): Add style argument to stringWidth call.
6012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6013 (initState): Set pango font style and weight based on AWT style
6014 parameter. Pass default GTK language to
6015 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
6016 simply dividing by PANGO_SCALE.
6017 (stringWidth): Set pango font style and weight based on AWT style
6018 parameter.
6019
6020 * java/awt/Button.java (next_button_number): New field.
6021 (paramString): Change output.
6022 (generateName): New method.
6023 (getUniqueLong): New method.
6024
60252004-06-14 Kim Ho <kho@redhat.com>
6026
6027 * javax/swing/JTabbedPane.java:
6028 (setComponentAt): Set the component, not
6029 the enabled status.
6030 * javax/swing/plaf/basic/BasicDesktopIconUI.java
6031 (actionPerformed): Let deiconize catch exception.
6032
60332004-06-14 Olga Rodimina <rodimina@redhat.com>
6034
6035 * javax/swing/JPopupMenu.java:
6036 (setVisible): Corrected location of a
6037 heavyweight popup menu.
6038
60392004-06-14 Olga Rodimina <rodimina@redhat.com>
6040
6041 * javax/swing/MenuSelectionManager.java:
6042 Ran through jalopy to fix formatting style.
6043
60442004-06-14 Olga Rodimina <rodimina@redhat.com>
6045
6046 * javax/swing/JLayeredPane.java:
6047 (remove): Revalidate and repaint layered pane after
6048 the component was removed.
6049 javax/swing/JMenu.java:
6050 (setVisible): Display popup menu at the user location,
6051 if one was set by the user.
6052 (setMenuLocation): Reimplemented. Fixed javadoc.
6053 * javax/swing/JMenuBar.java: Added javadoc.
6054 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6055 (MODEL_CHANGED_PROPERTY): New Property.
6056 (isSelected): Implemented.
6057 (setBorderPainted): Fire PropertyChangeEvent
6058 if paintBorder property changes.
6059 (setSelected): Implemented.
6060 (setSelectionModel): Implemented.
6061 * javax/swing/JPopupMenu.java: Added Javadoc
6062 (pack): Implemented.
6063 (setVisible): Reimplemented.
6064 (show): Fixed location.
6065 (JPopupMenu.LigthWeightPopup): Reimplemented to use
6066 Container instead of JPanel.
6067 * javax/swing/MenuSelectionManager.java: Added Javadocs.
6068 (clearSelectedPath): Reimplemented to clear selectedPath
6069 in reverse order.
6070 (processMouseEvent): Reimplemented.
6071 (setSelectedPath): Fire stateChange event indicating that
6072 selected menu path has changed.
6073 (getPath): Change to use ArrayList instead of Vector.
6074 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6075 (installUI): call installKeyboardActions().
6076 (uninstallUI): call uninstallKeyboardActions().
6077
60782004-06-13 Michael Koch <konqueror@gmx.de>
6079
6080 * javax/swing/text/DefaultCaret.java,
6081 javax/swing/text/BadLocationException.java:
6082 Reformatted.
6083
60842004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6085
6086 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6087 DEFAULT_COLS): New variables.
6088 (create): Don't allow 0 rows or 0 columns. Instead, set the
6089 values to DEFAULT_ROWS or DEFAULT_COLS.
6090 (getMinimumSize): Likewise.
6091 (getPreferredSize): Likewise.
6092 (minimumSize): Likewise.
6093 (preferredSize): Likewise.
6094 (create): Set peer's editable state.
6095 * java/awt/TextArea.java (TextArea()): Set rows and columns to
6096 zero. Update javadocs.
6097 (TextArea(String)): Likewise.
6098 (TextArea(int,int)): Fix javadocs.
6099 (TextArea(String,int,int,int)): Only throw exception if one of
6100 rows or columns is zero. Fix javadocs.
6101
61022004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6103
6104 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6105 addition to Components.
6106
6107 * java/awt/MenuItem.java (dispatchEventImpl): If the event
6108 wasn't consumed by normal processing, send it to the parent
6109 menu.
6110
6111 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6112 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6113 translation.
6114
61152004-06-11 David Jee <djee@redhat.com>
6116
6117 * java/awt/MediaTracker.java
6118 (addImage(Image,int)): Call imageUpdate() to udpate image status.
6119 (addImage(Image,int,int,int)): Likewise.
6120
61212004-06-11 Michael Koch <konqueror@gmx.de>
6122
6123 * javax/swing/text/AbstractDocument.java,
6124 javax/swing/text/Document.java,
6125 javax/swing/text/GapContent.java,
6126 javax/swing/text/JTextComponent.java,
6127 javax/swing/text/PlainDocument.java:
6128 Reformatted.
6129
61302004-06-11 Michael Koch <konqueror@gmx.de>
6131
6132 * javax/swing/JRootPane.java
6133 (AccessibleJRootPane.serialVersionUID): New field.
6134 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6135 (AccessibleJRootPane.getAccessibleRole): New method.
6136 (RootLayout): Implements Serializable.
6137 (RootLayout.serialVersionUID): New field.
6138 (RootLayout.RootLayout): New constructor.
6139 (setJMenuBar): Made public.
6140 (getJMenuBar): Likewise.
6141 (JRootPane): Likewise.
6142 (createContentPane): Likewise.
6143 (createGlassPane): Likewise.
6144 (createLayeredPane): Likewise.
6145
61462004-06-11 Michael Koch <konqueror@gmx.de>
6147
6148 * javax/swing/SwingUtilities.java
6149 (isLeftMouseButton): Fixed javadoc.
6150 (isMiddleMouseButton): Likewise.
6151 (isRightMouseButton): Likewise.
6152
61532004-06-11 Michael Koch <konqueror@gmx.de>
6154
6155 * javax/swing/JScrollPane.java
6156 (serialVersionUID): New field.
6157 (columnHeader): Made protected.
6158 (rowHeader): Likewise.
6159 (lowerLeft): Likewise.
6160 (lowerRight): Likewise.
6161 (upperLeft): Likewise.
6162 (upperRight): Likewise.
6163 (horizontalScrollBar): Likewise.
6164 (horizontalScrollBarPolicy): Likewise.
6165 (verticalScrollBar): Likewise.
6166 (verticalScrollBarPolicy): Likewise.
6167 (viewport): Likewise.
6168
61692004-06-11 Michael Koch <konqueror@gmx.de>
6170
6171 * javax/swing/LookAndFeel.java: Fixed javadocs.
6172
61732004-06-11 Michael Koch <konqueror@gmx.de>
6174
6175 * javax/swing/JEditorPane.java: Fixed javadocs.
6176 (JEditorPane): Removed redundant call to to this().
6177 (fireHyperlinkUpdate): Implemented.
6178
61792004-06-10 Olga Rodimina <rodimina@redhat.com>
6180
6181 * javax/swing/JMenu.java: Fixed file name
6182 in the file comment.
6183
61842004-06-10 Olga Rodimina <rodimina@redhat.com>
6185
6186 * javax/swing/JMenu.java: Added javadoc.
6187 (JMenu): Added MenuChangeListener to listen to
6188 ChangeEvents occuring in menu's model.
6189 (insert): Throw IllegalArgumentException if
6190 index is less than 0
6191 (setSelected): Reimplement.
6192 (setPopupMenuVisible): Call menu's model isEnabled()
6193 (setDelay): Throw IllegalArgumentException if
6194 given amount of delay is less than 0.
6195 (createActionComponent): Implemented.
6196 (createActionChangeListener): Implemented.
6197 (addSeparator): Implemented.
6198 (getItem): Throw IllegalArgumentException if index is
6199 less than 0.
6200 (getItemCount): Implemented.
6201 (fireMenuSelected): Changed to use menuEvent.
6202 (fireMenuDeselected): Likewise.
6203 (fireMenuCanceled): Likewise.
6204 (setAccelerator): Changed to throw an error if this
6205 method is used.
6206 (doClick): Implemented.
6207 (JMenu.ActionChangedListener): New inner class to handle
6208 PropertyChangeEvents occuring in the actions associated with menu.
6209 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6210 (BasicMenuUI): Added PropertyChangeListener to the menu.
6211 (createChangeListener): Implemented.
6212 (createMenuDragMouseListener): Likewise.
6213 (createMenuKeyListener): Likewise.
6214 (createPropertyChangeListener): Likewise.
6215 (uninstallListeners): Likewise.
6216 (BasicMenuUI.MouseInputHandler): Reimplemented.
6217 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6218 (BasicMenuUI.ChangeHandler): Likewise.
6219 (BasicMenuUI.MenuDragMouseHandler): Likewise.
6220 (BasicMenuUI.MenuKeyHandler): Likewise.
6221
62222004-06-10 David Jee <djee@redhat.com>
6223
6224 * java/awt/MediaTracker.java
6225 (imageUpdate): Only do notifyAll() if the image is complete.
6226
62272004-06-10 Olga Rodimina <rodimina@redhat.com>
6228
6229 * javax/swing/JApplet.java:
6230 (getJMenuBar): Made public.
6231 (setJMenuBar): Likewise.
6232 * javax/swing/JFrame.java:
6233 (getJMenuBar): Made public.
6234 (setJMenuBar): Likewise.
6235 * javax/swing/JWindow.java:
6236 (getJMenuBar): Removed.
6237 (setJMenuBar): Removed.
6238
62392004-06-10 Michael Koch <konqueror@gmx.de>
6240
6241 * javax/swing/JEditorPane.java
6242 (createEditorKitForContentType): Fixed visibility.
6243 (fireHyperlinkUpdate): Likewise.
6244 (getContentType): Likewise.
6245 (getEditorKit): Likewise.
6246 (getEditorKitForContentType): Likewise.
6247 (getPage): Likewise.
6248 (read): Likewise.
6249 (registerEditorKitForContentTyoe): Likewise.
6250 (replaceSelection): Likewise.
6251 (setContentType): Likewise.
6252 (setEditorKit): Likewise.
6253 (setPage): Likewise.
6254
62552004-06-10 Michael Koch <konqueror@gmx.de>
6256
6257 * javax/swing/Timer.java
6258 (Timer): New constructor.
6259 * javax/swing/plaf/basic/BasicProgressBarUI.java
6260 (animationTimer): Don't initialize at construction.
6261 (startAnimationTimer): Added since tag.
6262 (stopAnimationTimer): Likewise.
6263 (installUI): Use new Timer constructor.
6264 * javax/swing/plaf/basic/BasicScrollBarUI.java
6265 (installUI): Likewise.
6266 * javax/swing/plaf/basic/BasicSliderUI.java
6267 (installUI): Likewise.
6268
62692004-06-10 Michael Koch <konqueror@gmx.de>
6270
6271 * javax/swing/ButtonGroup.java
6272 (serialVersionUID): Made private.
6273 (buttons): Renamed from v, added javadoc.
6274 (sel): Added javadoc.
6275 (ButtonGroup): Likewise.
6276 (add): Likewise.
6277 (remove): Likewise.
6278 (getElements): Likewise.
6279 (getSelection): Likewise.
6280 (setSelected): Likewise.
6281 (isSelected): Likewise.
6282 (getButtonCount): Likewise.
6283
62842004-06-10 Michael Koch <konqueror@gmx.de>
6285
6286 * javax/swing/ButtonGroup.java,
6287 javax/swing/ImageIcon.java,
6288 javax/swing/JEditorPane.java,
6289 javax/swing/JRootPane.java,
6290 javax/swing/JTextField.java,
6291 javax/swing/LookAndFeel.java,
6292 javax/swing/plaf/basic/BasicTextUI.java:
6293 Reindented.
6294
62952004-06-10 Michael Koch <konqueror@gmx.de>
6296
6297 * javax/swing/text/Style.java: Added javadocs.
6298
62992004-06-10 Michael Koch <konqueror@gmx.de>
6300
6301 * javax/swing/JComponent.java
6302 (fireVetoableChange): Removed redundant cast.
6303 * javax/swing/JLabel.java
6304 (getDisabledIcon): Save icon for next call.
6305
63062004-06-10 Michael Koch <konqueror@gmx.de>
6307
6308 * javax/swing/KeyStroke.java
6309 (getKeyStroke(char,boolean)): Marked deprecated.
6310
63112004-06-10 Michael Koch <konqueror@gmx.de>
6312
6313 * javax/swing/DefaultCellEditor.java,
6314 javax/swing/GrayFilter.java,
6315 javax/swing/event/DocumentEvent.java,
6316 javax/swing/text/JTextComponent.java,
6317 javax/swing/text/MutableAttributeSet.java:
6318 Reindented.
6319
63202004-06-10 Michael Koch <konqueror@gmx.de>
6321
6322 * javax/swing/plaf/BorderUIResource.java:
6323 Added serialVersionUID all over.
6324
63252004-06-10 Sascha Brawer <brawer@dandelis.ch>
6326
6327 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6328
63292004-06-10 Michael Koch <konqueror@gmx.de>
6330
6331 * javax/swing/table/DefaultTableCellRenderer.java
6332 (noFocusBorder): Initialize directly.
6333
63342004-06-10 Michael Koch <konqueror@gmx.de>
6335
6336 * javax/swing/plaf/basic/BasicArrowButton.java
6337 (setDirection): Use method argument.
6338
63392004-06-10 Michael Koch <konqueror@gmx.de>
6340
6341 * javax/swing/plaf/BorderUIResource.java,
6342 javax/swing/plaf/ComponentUI.java,
6343 javax/swing/undo/CompoundEdit.java,
6344 javax/swing/undo/StateEdit.java:
6345 Fixed javadocs all over.
6346
63472004-06-10 Michael Koch <konqueror@gmx.de>
6348
6349 * javax/swing/DefaultButtonModel.java
6350 (ARMED): Made public final, fixed value.
6351 (ENABLED): Likewise.
6352 (PRESSED): Likewise.
6353 (ROLLOVER): Likewise.
6354 (SELECTED): Likewise.
6355 (stateMask): Initialize directly.
6356 (listenerList): Likewise.
6357 (mnemonic): Likewise.
6358 (fireStateChanged): Removed argument, use changeEvent as event.
6359 All places where this method is called are fixed too.
6360 (getActionCommant): Fixed javadoc.
6361 (setGroup): Fixed javadoc.
6362 (getGroup): New method.
6363
63642004-06-09 Olga Rodimina <rodimina@redhat.com>
6365
6366 * javax/swing/AbstractButton.java
6367 (AbstractButton): Use init() to initialize the button.
6368 (init): New Method. Initializes AbstractButton.
6369 * javax/swing/JMenuItem.java: Documented.
6370 (JMenuItem): Reimplemented.
6371 (init): Implemented.
6372 (setEnabled): Changed to call super.setEnabled()
6373 (processMouseEvent): Reimplemented.
6374 (fireMenuKeyPressed): Implemented.
6375 (fireMenuKeyReleased): Implemented.
6376 (fireMenuKeyTyped): Implemented.
6377 (menuSelectionChanged): disarm the model if the menu item was
6378 deselected.
6379 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6380 (getPath): Change to use ArrayList instead of Vector.
6381 (getPreferredSize): Renamed variable.
6382 (paintMenuItem): Paint margin area of menu item.
6383 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6384 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6385 menu item's bounds before clearing the selection.
6386
63872004-06-09 David Jee <djee@redhat.com>
6388
6389 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6390 (GtkTextComponentPeer): Set caret position to 0.
6391 * java/awt/TextComponent.java
6392 (setText): Set caret position to 0.
6393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6394 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6395 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6396 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6397 Likewise.
6398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6399 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6400 visible.
6401
64022004-06-09 Kim Ho <kho@redhat.com>
6403
6404 * Makefile.am: New files
6405 * Makefile.in: Regenerated
6406 * java/awt/Container.java
6407 (getComponentAt): Removed.
6408 * javax/swing/AbstractAction.java
6409 (ENABLED_PROPERTY): New property.
6410 (putValue): Fire PropertyChangeEvents.
6411 (setEnabled): ditto.
6412 (firePropertyChange): Javadoc and implement
6413 convenience method.
6414 * javax/swing/AbstractButton.java
6415 (setAction): Don't create PropertyChangeListener
6416 if new Action is null.
6417 (setIcon): Don't set icon till after comparing
6418 it.
6419 (configurePropertiesFromAction): Check mnemonic
6420 key before calling intValue().
6421 (createActionPropertyChangeListener): Check
6422 properties rather than bulk change.
6423 * javax/swing/DefaultDesktopManager.java:
6424 Implement.
6425 * javax/swing/DesktopManager.java:
6426 Jalopy and javadoc.
6427 * javax/swing/JComponent.java
6428 (fireVetoableChange): Implement.
6429 (paintImmediately): Use root component.
6430 * javax/swing/JDesktopPane.java: Implement
6431 * javax/swing/JInternalFrame.java: Implement
6432 * javax/swing/JLabel.java
6433 (getDisabledIcon): Return grayscaled icon if
6434 no disabled icon specified.
6435 * javax/swing/JMenuBar.java
6436 (getComponentAtIndex): Use getComponent
6437 * javax/swing/JOptionPane.java
6438 (getDesktopPaneForComponent): Use SwingUtilities'
6439 getAncestorOfClass
6440 (getFrameForComponent): ditto.
6441 * javax/swing/JSplitPane.java
6442 (remove): Use getComponent.
6443 * javax/swing/SwingUtilities.java
6444 (convertPoint): Implement.
6445 * javax/swing/plaf/basic/BasicButtonUI.java
6446 (paintButtonNormal): Check opaqueness before
6447 filling background.
6448 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6449 Implement
6450 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6451 Implement.
6452 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6453 Implement.
6454 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6455 Implement.
6456 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6457 Change InternalFrame and Desktop colors.
6458
64592004-06-09 David Jee <djee@redhat.com>
6460
6461 * java/awt/Container.java
6462 (remove): Do not set component to invisible.
6463
64642004-06-09 Michael Koch <konqueror@gmx.de>
6465
6466 * javax/swing/tree/DefaultMutableTreeNode.java
6467 (getLeafCount): Renamed enum to e.
6468
64692004-06-09 Michael Koch <konqueror@gmx.de>
6470
6471 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6472 (positionForMouseEvent): Removed redundant semicolon.
6473 (continueDrag): Use method arguments.
6474
64752004-06-09 Michael Koch <konqueror@gmx.de>
6476
6477 * javax/swing/border/TitledBorder.java,
6478 javax/swing/filechooser/FileSystemView.java,
6479 javax/swing/plaf/basic/BasicButtonListener.java,
6480 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6481 javax/swing/plaf/basic/BasicLabelUI.java,
6482 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6483 javax/swing/plaf/basic/BasicScrollBarUI.java,
6484 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6485 javax/swing/plaf/basic/BasicSliderUI.java,
6486 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6487 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6488 javax/swing/table/JTableHeader.java,
6489 javax/swing/text/AbstractDocument.java,
6490 javax/swing/text/DefaultCaret.java,
6491 javax/swing/text/StyledEditorKit.java,
6492 javax/swing/tree/DefaultTreeCellEditor.java:
6493 Reworked import statements.
6494
64952004-06-08 Graydon Hoare <graydon@redhat.com>
6496
6497 * javax/swing/Box.java: Temporarily comment out code
6498 broken due to visibility bug.
6499
65002004-06-09 Michael Koch <konqueror@gmx.de>
6501
6502 * javax/swing/ImageIcon.java
6503 (ImageIcon): Added missing constructor.
6504
65052004-06-08 Michael Koch <konqueror@gmx.de>
6506
6507 * javax/swing/JToggleButton.java
6508 (JToggleButton): New constructor.
6509 (getAccessibleContext): Moved documentation into javadoc.
6510 (getUIClassID): Likewise.
6511
65122004-06-08 Michael Koch <konqueror@gmx.de>
6513
6514 * javax/swing/AbstractButton.java
6515 (getDisabledIcon): Create disabled icon if none exists yet.
6516
65172004-06-08 Michael Koch <konqueror@gmx.de>
6518
6519 * javax/swing/plaf/basic/BasicLookAndFeel.java
6520 (initClassDefaults): Added FormattedTextFieldUI.
6521 (loadResourceBundle): Renamed enum to e.
6522
65232004-06-08 Michael Koch <konqueror@gmx.de>
6524
6525 * javax/swing/plaf/basic/BasicButtonUI.java
6526 (paintIcon): Simplified.
6527 (paintText): Paint disabled button correctly.
6528
65292004-06-08 Michael Koch <konqueror@gmx.de>
6530
6531 * javax/swing/JComponent.java
6532 (createToolTip): Use official JToolTip API.
6533
65342004-06-08 Michael Koch <konqueror@gmx.de>
6535
6536 * javax/swing/JToolTip.java
6537 (JToolTip): No arguments in API.
6538 (setTipText): New method.
6539
65402004-06-08 Michael Koch <konqueror@gmx.de>
6541
6542 * javax/swing/SwingUtilities.java
6543 (isLeftMouseButton): New method.
6544 (isMiddleMouseButton): New method.
6545 (isRightMouseButton): New method.
6546
65472004-06-08 Michael Koch <konqueror@gmx.de>
6548
6549 * javax/swing/AbstractButton.java,
6550 javax/swing/CellRendererPane.java,
6551 javax/swing/JCheckBoxMenuItem.java,
6552 javax/swing/JColorChooser.java,
6553 javax/swing/JComboBox.java,
6554 javax/swing/JComponent.java,
6555 javax/swing/JDesktopPane.java,
6556 javax/swing/JFileChooser.java,
6557 javax/swing/JMenu.java,
6558 javax/swing/JMenuItem.java,
6559 javax/swing/JOptionPane.java,
6560 javax/swing/JPasswordField.java,
6561 javax/swing/JPopupMenu.java,
6562 javax/swing/JProgressBar.java,
6563 javax/swing/JRadioButtonMenuItem.java,
6564 javax/swing/JScrollBar.java,
6565 javax/swing/JSeparator.java,
6566 javax/swing/JSlider.java,
6567 javax/swing/JSplitPane.java,
6568 javax/swing/JTabbedPane.java,
6569 javax/swing/JTextField.java,
6570 javax/swing/JToolBar.java,
6571 javax/swing/text/JTextComponent.java:
6572 Fixed all constructors of accessibility classes.
6573
65742004-06-08 Michael Koch <konqueror@gmx.de>
6575
6576 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6577 over.
6578
65792004-06-08 Michael Koch <konqueror@gmx.de>
6580
6581 * javax/swing/Box.java
6582 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6583 (AccessibleBoxFiller.serialVersionUID): New member variable.
6584 * javax/swing/DefaultButtonModel.java
6585 (stateMask): Made protected.
6586 (listenerList): Likewise.
6587 (changeEvent): Likewise.
6588 (group): Likewise.
6589 (mnemonic): Likewise.
6590 (actionCommand): Likewise.
6591 (getListeners): New method.
6592 (getActionListeners): New method.
6593 (getItemListeners): New method.
6594 (getChangeListeners): New method.
6595 (fireItemStateChanged): Simplified.
6596 (fireActionPerformed): Simplified.
6597 (fireStateChanged): Simplified.
6598 * javax/swing/JFrame.java
6599 (JFrame): Implements WindowContants.
6600 (HIDE_ON_CLOSE): Removed.
6601 (EXIT_ON_CLOSE): Removed.
6602 (DISPOSE_ON_CLOSE): Removed.
6603 (DO_NOTHING_ON_CLOSE): Removed.
6604 (processWindowEvent): Exit with code 0.
6605 (setDefaultCloseOperation): Do security check before setting value.
6606 * javax/swing/JOptionPane.java
6607 (message): Initialize only in constructor.
6608 * javax/swing/JToolTip.java: Removed unused imports.
6609 * javax/swing/JViewport.java
6610 (serialVersionUID): New member variable.
6611 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6612 (BLIT_SCROLL_MODE): Likewise.
6613 (BACKINGSTORE_SCROLL_MODE): Likewise.
6614 (scrollUnderway): Made protected.
6615 (isViewSizeSet): Likewise.
6616 * javax/swing/ListModel.java: Fixed javadoc.
6617 * javax/swing/Popup.java: Likewise.
6618 * javax/swing/RepaintManager.java
6619 (paintDirtyRegions): Don't use internal classes of
6620 java.util.AbstractMap.
6621 * javax/swing/ScrollPaneConstants.java: Reindented.
6622 * javax/swing/ScrollPaneLayout.java
6623 (viewport): Made protected.
6624 (verticalScrollBar): Made protected, renamed to vsb.
6625 (horizontalScrollBar): Made protected, renamed to hsb.
6626 (rowHeader): Made protected, renamed to rowHead.
6627 (columnHeader): Made protected, renamed to colHead.
6628 (lowerLeft): Made protected.
6629 (lowerRight): Made protected.
6630 (upperLeft): Made protected.
6631 (upperRight): Made protected.
6632 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6633 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6634
66352004-06-07 Bernd Schmidt <bernds@btinternet.com>
6636
6637 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6638 LOADING if flags has SOMEBITS set.
6639
66402004-06-07 Michael Koch <konqueror@gmx.de>
6641
6642 * javax/swing/AbstractButton.java: Reorganized imports.
6643 * javax/swing/ActionMap.java: Likewise.
6644 * javax/swing/DefaultButtonModel.java: Likewise.
6645 * javax/swing/DefaultListModel.java: Likewise.
6646 * javax/swing/ImageIcon.java: Likewise.
6647 (serialVersionUID): New member variable.
6648 * javax/swing/JComboBox.java: Reorganized imports.
6649 * javax/swing/JComponent.java: Likewise.
6650 (ui): Made protected.
6651 (listenerList): Made protected.
6652 (TOOL_TIP_TEXT_KEY): New constant.
6653 (scrollRectToVisible): Removed redundant null check.
6654 * javax/swing/JFrame.java: Reorganized imports.
6655 * javax/swing/JInternalFrame.java: Reorganized imports.
6656 * javax/swing/JProgressBar.java: Likewise.
6657 * javax/swing/JRootPane.java: Likewise.
6658 * javax/swing/JScrollBar.java: Likewise.
6659 * javax/swing/JSeparator.java: Likewise.
6660 * javax/swing/JSlider.java: Likewise.
6661 * javax/swing/JTabbedPane.java: Likewise.
6662 * javax/swing/JTextField.java: Likewise.
6663 * javax/swing/JToolBar.java: Likewise.
6664 * javax/swing/JTree.java: Likewise.
6665 * javax/swing/JViewport.java: Likewise.
6666 * javax/swing/JWindow.java: Likewise.
6667 * javax/swing/KeyStroke.java: Likewise.
6668 * javax/swing/LookAndFeel.java: Likewise.
6669 * javax/swing/MenuSelectionManager.java: Likewise.
6670 * javax/swing/SwingUtilities.java: Likewise.
6671 * javax/swing/Timer.java: Likewise.
6672 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6673 * javax/swing/JList.java
6674 (HORIZONTAL_WRAP): Made final, fixed value.
6675 (VERTICAL): Likewise.
6676 (VERTICAL_WRAP): Likewise.
6677
66782004-06-07 Michael Koch <konqueror@gmx.de>
6679
6680 * javax/swing/AbstractButton.java
6681 (serialVersionUID): New member variable.
6682 (AccessibleAbstractButton.serialVersionUID): Likewise.
6683 (AbstractButton): Made public.
6684 * javax/swing/Box.java
6685 (AccessibleBox.serialVersionUID): New member variable.
6686 (Filler.serialVersionUID): Likewise.
6687 * javax/swing/DefaultListSelectionModel.java
6688 (serialVersionUID): Likewise.
6689 * javax/swing/JApplet.java
6690 (serialVersionUID): Likewise.
6691 * javax/swing/JCheckBox.java
6692 (serialVersionUID): Likewise.
6693 * javax/swing/JCheckBoxMenuItem.java
6694 (serialVersionUID): Likewise.
6695 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6696 * javax/swing/JColorChooser.java
6697 (serialVersionUID): Likewise.
6698 (AccessibleJColorChooser.serialVersionUID): Likewise.
6699 * javax/swing/JComponent.java
6700 (serialVersionUID): Made private.
6701 (AccessibleJComponent.serialVersionUID): New member variable.
6702 * javax/swing/JDesktopPane.java
6703 (serialVersionUID): Likewise.
6704 * javax/swing/JDialog.java
6705 (serialVersionUID): Likewise.
6706 * javax/swing/JFormattedTextField.java
6707 (serialVersionUID): Fixed value.
6708 * javax/swing/JFrame.java
6709 (serialVersionUID): New member variable.
6710 (getDefaultCloseOpertation): Made public.
6711 * javax/swing/JLayeredPane.java
6712 (serialVersionUID): Likewise.
6713 (LAYER_PROPERTY): Made final, fixed value.
6714 (JLayeredPane): Made public.
6715 * javax/swing/JMenu.java
6716 (AccessibleJMenu.serialVersionUID): New member variable.
6717 (WinListener.serialVersionUID): Likewise.
6718 * javax/swing/JMenuBar.java
6719 (serialVersionUID): Likewise.
6720 (getComponentAtIndex): Added @deprecated tag.
6721 * javax/swing/JMenuItem.java
6722 (serialVersionUID): New member variable.
6723 (AccessibleJMenuItem.serialVersionUID): Likewise.
6724 * javax/swing/JOptionPane.java
6725 (serialVersionUID): Likewise.
6726 (AccessibleJOptionPane.serialVersionUID): Likewise.
6727 * javax/swing/JPopupMenu.java
6728 (serialVersionUID): Likewise.
6729 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6730 (getPopupMenuListeners): New method.
6731 (getComponentAtIndex): Added @deprecated tag.
6732 * javax/swing/JProgressBar.java
6733 (serialVersionUID): New member variable.
6734 (AccessibleJProgressBar.serialVersionUID): Likewise.
6735 * javax/swing/JRadioButton.java
6736 (serialVersionUID): Likewise.
6737 * javax/swing/JRadioButtonMenuItem.java
6738 (serialVersionUID): Likewise.
6739 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6740 * javax/swing/JScrollBar.java
6741 (serialVersionUID): Likewise.
6742 (AccessibleJScrollBar.serialVersionUID): Likewise.
6743 * javax/swing/JSeparator.java
6744 (serialVersionUID): Likewise.
6745 (AccessibleJSeparator.serialVersionUID): Likewise.
6746 * javax/swing/JSlider.java: Fixed javadocs.
6747 (AccessibleJSlider.serialVersionUID): New member variable.
6748 * javax/swing/JSplitPane.java: Added copyright statement.
6749 (serialVersionUID): New member variable.
6750 (AccessibleJSplitPane.serialVersionUID): Likewise.
6751 * javax/swing/JTabbedPane.java
6752 (serialVersionUID): Likewise.
6753 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6754 (ModelListener.serialVersionUID): Likewise.
6755 (ModelListener.ModelListener): New constructor.
6756 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6757 (WRAP_TAB_LAYOUT): Likewise.
6758 * javax/swing/JTable.java
6759 (serialVersionUID): New member variable.
6760 * javax/swing/JToggleButton.java
6761 (serialVersionUID): Likewise.
6762 (ToggleButtonModel): Made static.
6763 (ToggleButtonModel.serialVersionUID): New member variable.
6764 * javax/swing/JToolTip.java
6765 (serialVersionUID): Likewise.
6766 * javax/swing/JTree.java
6767 (serialVersionUID): Likewise.
6768 * javax/swing/JWindow.java
6769 (serialVersionUID): Likewise.
6770 * javax/swing/Timer.java
6771 (serialVersionUID): Likewise.
6772
67732004-06-06 Michael Koch <konqueror@gmx.de>
6774
6775 * javax/swing/SwingConstants.java
6776 (NEXT): New constant.
6777 (PREVIOUS): Likewise.
6778 * javax/swing/UIManager.java
6779 (LookAndFeel): Made public.
6780 (LookAndFeel.getClassName): Likewise.
6781 (LookAndFeel.getName): Likewise.
6782
67832004-06-02 Olga Rodimina <rodimina@redhat.com>
6784
6785 * javax/swing/JCheckBoxMenuItem.java:
6786 Removed CVS tags.
6787 * javax/swing/JMenu.java: Likewise.
6788 * javax/swing/JMenuBar.java: Likewise.
6789 * javax/swing/JMenuItem.java: Likewise.
6790 * javax/swing/JPopupMenu.java: Likewise.
6791 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6792 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6793 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6794 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6795 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6796 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6797 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6798
67992004-05-31 Olga Rodimina <rodimina@redhat.com>
6800
6801 * javax/swing/plaf/basic/BasicMenuUI.java:
6802 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6803 Call getPath() from super class instead.
6804
68052004-05-31 David Jee <djee@redhat.com>
6806
6807 * java/awt/Container.java
6808 (remove): Set component visibility to false after removing it.
6809
68102004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6811
6812 * java/awt/Component.java (getForeground): Return SystemColor if
6813 parent is null.
6814 (getBackground): Likewise.
6815
6816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6817 (item_highlighted): New function.
6818 (connectSignals): Set item_highlighted as list's select
6819 function.
6820
6821 * java/applet/Applet.java: Revert changes from 2004-04-29,
6822 2004-03-15 and 2004-03-14.
6823
6824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6825 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6826 factor.
6827
6828 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6829 "Dialog" as the default font.
6830 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6831 Likewise.
6832 * java/awt/Component.java (getFont): Return "Dialog" font by
6833 default.
6834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6835 Multiply size argument to pango_font_description_set_size by the
6836 DPI conversion factor rather than by PANGO_SCALE.
6837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6847 Divide baseline y coordinate by DPI conversion factor rather
6848 than by PANGO_SCALE.
6849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6850 (area_prepared): Fix typo.
6851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6852 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6854 (dpi_conversion_factor): New global variable.
6855 (init_dpi_conversion_factor): New function to calculate and
6856 track DPI conversion factor.
6857 (dpi_changed_cb): New callback.
6858 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6859
68602004-05-27 David Jee <djee@redhat.com>
6861
6862 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6863 (getGraphics): Return a new GdkGraphics instance.
6864 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6865 (getGraphics): Call super.getGraphics().
6866
68672004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6868
6869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6870 (setNativeBounds): Clamp width and height values to >= 0.
6871
6872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6873 (find_fg_color_widget): Handle GtkOptionMenu specially.
6874
6875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6876 (pre_event_handler): Only post configure events to visible
6877 top-level windows.
6878
68792004-05-26 David Jee <djee@redhat.com>
6880
6881 * java/awt/BorderLayout.java
6882 (layoutContainer): Fix size calculations.
6883
68842004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6885
6886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6887 (window_wm_protocols_filter): Remove function.
6888 (create): Remove filter that removes WM_TAKE_FOCUS client
6889 messages.
6890
794c3bee
AG
68912004-06-17 Anthony Green <green@redhat.com>
6892
1616280e
AG
6893 * java/util/zip/ZipFile.java (getInputStream): Return null if
6894 entry not found.
6895
794c3bee
AG
6896 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6897 directory contents to the class path.
6898
d1238423
AH
68992004-06-15 Andrew Haley <aph@redhat.com>
6900
6901 * java/lang/natSystem.cc (getenv0): Don't assume environment
6902 variable is Latin 1 coded.
6903
f1c3e0a6
AJ
69042004-06-14 Andreas Jaeger <aj@suse.de>
6905
6906 * configure.in: Support --enable-version-specific-runtime-libs.
6907 * configure: Regenerated.
6908
84b1d821
BM
69092004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6910
6911 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6912 to pass ClassLoader argument.
6913 * java/util/GregorianCalendar.java: Likewise.
6914 * java/util/Currency.java: Likewise.
6915 * java/text/BreakIterator.java: Likewise.
6916 * java/text/Collator.java: Likewise.
6917 * java/text/DateFormat.java: Likewise.
6918 * java/text/DateFormatSymbols.java: Likewise.
6919 * java/text/DecimalFormatSymbols.java: Likewise.
6920 * java/text/NumberFormat.java: Likewise.
6921 * java/awt/Window.java: Likewise.
6922
df94fa14
AH
69232004-06-14 Andrew Haley <aph@redhat.com>
6924
6925 * java/lang/System.java: (getenv0): New method.
6926 (getenv): Add security check. Do the right thing.
6927 * java/lang/natSystem.cc (getenv0): New method.
6928
ff6ea709
MW
69292004-06-12 Mark Wielaard <mark@klomp.org>
6930
6931 * javax/swing/RepaintManager.java
6932 (paintDirtyRegions): Use entrySet(), not values().
6933
d1ee8381
MW
69342004-06-10 Mark Wielaard <mark@klomp.org>
6935
6936 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6937 NoSuchMethodError.
6938
b092552d
JQ
69392004-06-11 Jerry Quinn <jlquinn@optonline.net>
6940
6941 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6942 when we already know the answer.
6943 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6944 (setStartRule,setEndRule): Don't take abs of day number.
6945 (getOffset): Clarify docs. Add argument checks.
6946 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6947 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6948 endTimeMode.
6949
618df745
TT
69502004-06-10 Tom Tromey <tromey@redhat.com>
6951
6952 * interpret.cc (run): Handle wide fload.
6953
648b6075
JQ
69542004-06-06 Jerry Quinn <jlquinn@optonline.net>
6955
6956 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6957
9fc3ed51
MK
69582004-06-05 Michael Koch <konqueror@gmx.de>
6959
6960 * javax/swing/SwingConstants.java
6961 (NEXT): New constant.
6962 (PREVIOUS): Likewise.
6963
c6dd0441
MK
69642004-06-05 Michael Koch <konqueror@gmx.de>
6965
6966 * javax/swing/UIManager.java
6967 (LookAndFeel): Made public.
6968 (LookAndFeel.getName): Likewise.
6969 (LookAndFeel.getClassName): Likewise.
6970
53ef271f
MK
69712004-06-03 Michael Koch <konqueror@gmx.de>
6972
6973 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6974 (requestFocus): Revert last changes.
6975 (gtkRequestFocus): Removed.
6976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6977 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6978 Renamed to ...
6979 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6980 Reverted last patch.
6981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6982 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6983 Reverted comment change.
6984
26f4ba86
OR
69852004-06-02 Olga Rodimina <rodimina@redhat.com>
6986
6987 * javax/swing/JCheckBoxMenuItem.java:
6988 Removed CVS tags.
6989 * javax/swing/JMenu.java: Likewise.
6990 * javax/swing/JMenuBar.java: Likewise.
6991 * javax/swing/JMenuItem.java: Likewise.
6992 * javax/swing/JPopupMenu.java: Likewise.
6993 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6994 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6995 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6996 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6997 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6998 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6999 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7000
c05e85e2
MK
70012004-06-01 Tom Tromey <tromey@redhat.com>
7002
7003 * java/io/ObjectStreamField.java: Cleaned up imports.
7004
70052004-06-01 Michael Koch <konqueror@gmx.de>
7006
7007 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7008
70092004-06-01 Mark Wielaard <mark@klomp.org>
7010
7011 * java/io/Writer.java (Writer(Object)): Fixed API doc.
7012
6ef44cfd
MK
70132004-06-01 Michael Koch <konqueror@gmx.de>
7014
7015 * java/security/Security.java
7016 (insertProviderAt): Use equals() instead of ==.
7017 (removeProvicer): Likewise.
7018 (getProvider): Likewise.
7019 * java/security/Signature.java
7020 (sign): Don't set state to UNINITIALIZED.
7021 (verify): Likewise.
7022
1900c4c6
MW
70232004-06-01 Mark Wielaard <mark@klomp.org>
7024
7025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7026 Implement by calling gtkRequestFocus.
7027 (gtkRequestFocus): New native method.
7028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7029 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7030 Renamed to ...
7031 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7032 New function name.
7033 (filter_expose_event_handler):
7034 Mark static.
7035 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7036 (menu_pos): Mark static.
7037
57807c31
MK
70382004-06-01 Michael Koch <konqueror@gmx.de>
7039
7040 * java/text/CollationElementIterator.java,
7041 java/text/CollationKey.java,
7042 java/text/RuleBasedCollator.java: New versions from GNU classpath.
7043 * testsuite/libjava.mauve/xfails: Removed all
7044 java.text.CollationElementIterator tests.
7045
f7dbd56c
MK
70462004-06-01 Michael Koch <konqueror@gmx.de>
7047
7048 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7049 version.
7050 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7051 Java 1.5 keyword usage.
7052
44a4b8db
OR
70532004-05-31 Olga Rodimina <rodimina@redhat.com>
7054
7055 * javax/swing/plaf/basic/BasicMenuUI.java:
7056 (MouseEntered): Do not call getPath() from MenuSelectionManager.
7057 Call getPath() from super class instead.
7058
58128b9d
MK
70592004-05-31 Michael Koch <konqueror@gmx.de>
7060
7061 * java/io/SequenceInputStream.java:
7062 Rename enum to e because enum is a keyword in Java 1.5.
7063
771b9ca3
MK
70642004-05-31 Michael Koch <konqueror@gmx.de>
7065
7066 * gnu/java/rmi/rmic/CompilerProcess.java:
7067 Fixed javadoc to by XHTML compliant.
7068
7a70d70c
MW
70692004-05-30 Mark Wielaard <mark@klomp.org>
7070
7071 * java/awt/Toolkit.java (loadSystemColors): Implement.
7072
289f9db7
MK
70732004-05-30 Michael Koch <konqueror@gmx.de>
7074
071917b0
MK
7075 * java/lang/System.java: Reordered imports.
7076
70772004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
7078
289f9db7
MK
7079 * java/text/DecimalFormat.java
7080 (parse): Fixed parsing of decimal strings. Number of maximum
7081 digits to be read should now work.
7082 * java/text/SimpleDateFormat.java
7083 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7084 formatter. This fixes DateFormatTest.
7085
1b2545bc
MK
70862004-05-30 Michael Koch <konqueror@gmx.de>
7087
7088 * java/nio/Buffer.java
7089 (limit): Fixed off by one error.
7090 * java/nio/CharBuffer.java
7091 (wrap): Fixed arguments, added javadocs.
7092
74c2dbf7
MK
70932004-05-30 Michael Koch <konqueror@gmx.de>
7094
7095 * gnu/java/beans/BeanInfoEmbryo.java,
7096 java/awt/im/InputContext.java,
7097 javax/swing/tree/DefaultMutableTreeNode.java:
7098 Rename enum to e because enum is a keyword in Java 1.5.
7099
27d14326
MK
71002004-05-30 Michael Koch <konqueror@gmx.de>
7101
7102 * gnu/java/math/MPN.java,
7103 java/awt/geom/Arc2D.java:
7104 Fixed javadocs all over.
7105
933592af
MK
71062004-05-30 Michael Koch <konqueror@gmx.de>
7107
7108 * java/awt/DefaultKeyboardFocusManager.java
7109 (dispatchEvent): Call method to get key event dispatchers.
7110 (dispatchKeyEvent): Call method to get key event post processors.
7111 * javax/swing/JComponent.java
7112 (listenerList): Made protected.
7113 * javax/swing/JOptionPane.java
7114 (message): Don't initialize.
7115 (JOptionPane): Set message text.
7116 * javax/swing/JPopupMenu.java
7117 (show): Fixed typo in argument name.
7118 * javax/swing/RepaintManager.java
7119 (paintDirtyRegions): Use public API of java.util.Map.
7120 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7121 (positionForMouseEvent): Removed redundant ';'.
7122 (continueDrag): Use method arguments.
7123
5ba95354
RM
71242004-05-29 Ranjit Mathew <rmathew@hotmail.com>
7125
7126 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7127 results.
7128
ca60dce2
BM
71292004-05-28 Bryce McKinlay <mckinlay@redhat.com>
7130
7131 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7132 _Jv_AllocBytes.
7133 * gnu/gcj/RawDataManaged.java: New file.
7134 * java/lang/Thread.java (data): Declare as RawDataManaged.
7135 * java/lang/natThread.cc (init_native): Cast natThread data to
7136 RawDataManaged, not jobject.
7137 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7138 * Makefile.in: Rebuilt.
7139
b9f065be
JQ
71402004-05-27 Jerry Quinn <jlquinn@optonline.net>
7141
7142 * java/util/SimpleTimeZone.java: Reverting my last change until I
7143 can fix it properly.
7144
a4171ce1
MK
71452004-05-27 Michael Koch <konqueror@gmx.de>
7146
7147 * javax/swing/JPopupMenu.java
7148 (isVisible): Do not use visible directly.
7149 (setVisible): Likewise.
7150 * javax/swing/JWindow.java
7151 (JWindow): call accessible constructor.
7152 * javax/swing/RepaintManager.java
7153 (paintDirtyRegions): Use public methods to obtain iterator.
7154
c5d2de6b
GH
71552004-05-25 David Jee <djee@redhat.com>
7156
7157 * java/awt/Container.java
7158 (remove): Set component's parent to null only after we removed the
7159 component from its parent's layout manager.
7160
71612004-05-25 David Jee <djee@redhat.com>
7162
7163 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7164 (GtkComponentPeer): Set bounds regardless of whether awtComponent
7165 is valid.
7166 * gnu/java/awt/peer/gtk/GtkListPeer.java
7167 (getSize): Change native method declaration.
7168 (minimumSize): Pass visible row count into getSize().
7169 (preferredSize): Likewise.
7170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7171 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7172 natural size. Use visible row count to determine the final height
7173 value to return.
7174
71752004-05-21 Graydon Hoare <graydon@redhat.com>
7176
7177 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7178 (setClip): Minor correction to order of operations.
7179
7180 * javax/swing/JScrollPane.java: Extend sketchy implementation.
7181 * javax/swing/ScrollPaneLayout.java: Likewise.
7182 * javax/swing/JViewPort.java: Likewise.
7183 * javax/swing/ViewportLayout.java: Likewise.
7184
7185 * javax/swing/JComponent.java: Rewrite.
7186 * javax/swing/RepaintManager.java: Likewise.
7187
7188 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7189 * javax/swing/JList.java
7190 (setSelectedIndices):
7191 (getSelectedIndices):
7192 (getSelectedValues): New functions.
7193 (getPreferredScrollableViewportSize): Return preferred size.
7194 (getScrollableUnitIncrement):
7195 (getScrollableBlockIncrement): Initial implementations.
7196 * javax/swing/JRootPane.java: Clean up slightly.
7197 (getUI):
7198 (setUI):
7199 (updateUI):
7200 (getUIClassID):
7201 (isValidateRoot): Add overrides from JComponent.
7202 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7203 * javax/swing/UIManager.java (getDimension): Return the dimension.
7204
7205 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7206 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7207 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7208 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7209 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7210 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7211 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7212 * javax/swing/plaf/basic/BasicRootPaneUI.java:
7213 Likewise, and set background.
7214 * javax/swing/plaf/basic/BasicListUI.java:
7215 Likewise, and improve a bit.
7216 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7217 Likewise, and adjust calculations.
7218 * javax/swing/plaf/basic/BasicViewportUI.java:
7219 Likewise, and improve a bit.
7220 * javax/swing/plaf/basic/BasicLookAndFeel.java
7221 (Button.margin): Shrink.
7222
7223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7224 Hack to set horizontal always, workaround pango.
7225
7226 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7228 Synchronize more often, check cairo status after ops,
7229 handle changes to cairo pattern API, check for disposal.
7230
72312004-05-21 Olga Rodimina <rodimina@redhat.com>
7232
7233 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7234 (BasicMenuItemUI): Create propertyChangeListener.
7235 (getPath):Implemented.
7236 (installListeners): Add propertyChangeListener to menuItem.
7237 (uninstallListeners): Remove propertyChangeListener from menuItem.
7238 (update): Implemented.
7239 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7240 (mouseEntered): Take insets of popup menu into account when
7241 calculating position of popup menu.
7242
72432004-05-18 Olga Rodimina <rodimina@redhat.com>
7244
7245 * Makefile.am: Added new file.
7246 * Makefile.in: Regenerate.
7247 * javax/swing/JMenuBar.java:
7248 Started implementation.
7249 * javax/swing/JPopupMenu.java:
7250 (setVisible): Fixed location of lightweight/mediumweight
7251 popup menu.
7252 (show): Fixed location of PopupMenu.
7253 * javax/swing/plaf/basic/BasicMenuBarUI.java:
7254 New file. UI Delegate for JMenuBar.
7255 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7256 (mouseEntered): Corrected position of the submenu.
7257
72582004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7259
7260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7261 to _gtk_accel_group_attach.
7262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7263 Likewise.
7264
7265 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7266 package access. Don't override setFont.
7267 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7268 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7269 gtkWidgetRequestFocus package access.
7270 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7271 setFont.
7272 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7273 Give gtkWidgetRequestFocus package access.
7274 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7275 gtkWidgetRequestFocus package access. Don't override setFont.
7276 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7277 setFont.
7278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7279 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7280 region.
7281 (gtkSetFont): Likewise.
7282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7283 Implement.
7284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7285 (gtkSetFont): Whitespace fix.
7286
7287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7288 (gtkWidgetSetUsize): Remove method.
7289
72902004-05-18 David Jee <djee@redhat.com>
7291
7292 * java/awt/image/MemoryImageSource.java
7293 (newPixels(int,int,int,int,boolean)): Set only the specified
7294 rectangle of pixels.
7295 (newPixels(byte[],ColorModel,int,int)): Implement.
7296 (newPixels(int[],ColorModel,int,int)): Implement.
7297
72982004-05-18 Olga Rodimina <rodimina@redhat.com>
7299
7300 * Makefile.am: Added new file.
7301 * Makefile.in: Regenerate.
7302 * javax/swing/JMenu.java: Started
7303 implementation.
7304 * javax/swing/JPopupMenu.java:
7305 (insert): If specified index is -1, then
7306 add component at the end.
7307 (isPopupTrigger): Reimplemented.
7308 (JPopupMenu.LightWeightPopup): setBounds
7309 of the lightWeightPopup before adding it
7310 to the layeredPane.
7311 (javax/swing/plaf/basic/BasicIconFactory.java):
7312 (getMenuArrowIcon): Implemented.
7313 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7314 (getPreferredSize): Add size of the arrow icon
7315 if this menu item is instance of JMenu.
7316 (paintMenuItem): Paint arrow icon if this
7317 menu item is a submenu.
7318 * javax/swing/plaf/basic/BasicMenuUI.java:
7319 New File. UI Delegate for JMenu.
7320
73212004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7322
7323 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7324 Post KEY_TYPED events.
7325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7326 (generates_key_typed_event): Remove function.
7327
73282004-05-17 Olga Rodimina <rodimina@redhat.com>
7329
7330 * javax/swing/JRootPane.java
7331 (JRootPane.RootLayout): Reimplemented to
7332 set bounds of contentPane and menuBar.
7333 (setJMenuBar): Add menu bar to the layered pane.
7334 (createLayeredPane): Set layout of layeredPane
7335 to null.
7336 * javax/swing/JLayeredPane.java:
7337 (addImpl): Calculate index of the component in the
7338 layeredPane according to the specified position within
7339 the layer.
7340
73412004-05-17 David Jee <djee@redhat.com>
7342
7343 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7344 (setPixels): Change color model to the default model after
7345 converting pixels.
7346 * java/awt/image/MemoryImageSource.java
7347 (newPixels): Set only the specified rectangle of pixels.
7348
73492004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7350
7351 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7352 -l-java-beans -l-javax-accessibility -l-javax-swing.
7353
7354 * java/awt/AWTEvent.java (toString): Print source's name rather
7355 than the source itself.
7356
73572004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7358
7359 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7360 native.
7361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7362 (gdk_color_to_java_color): New function.
7363 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7364
73652004-05-12 David Jee <djee@redhat.com>
7366
7367 * java/awt/image/RGBImageFilter.java:
7368 Initialize origmodel as null.
7369 (makeColor): Fix pixel component order.
7370 (filterRGBPixels): Fix pixel iteration.
7371 (setPixels): Add extra checks for index color model. Convert pixels
7372 to default color model if necessary.
7373 (convertColorModelToDefault): New override method for byte pixels.
7374 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7375 (makeColorbyDefaultCM): New override method for byte pixels.
7376 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7377 (makeColor): Fix pixel component order.
7378
73792004-05-11 Kim Ho <kho@redhat.com>
7380
7381 * javax/swing/Box.java:
7382 Comment out more parts of Box.Filler.
7383
73842004-05-11 Kim Ho <kho@redhat.com>
7385
7386 * javax/swing/Box.java:
7387 Remove reference to AccessibleAWTComponent so
7388 it compiles again.
7389
73902004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7391
7392 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7393 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7394 implementation of list peer to use GtkTreeView instead of
7395 deprecated GtkCList.
7396
73972004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7398
7399 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7400 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7401 (handleEvent): Remove keyChar argument to
7402 gtkWidgetDispatchKeyEvent calls.
7403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7404 compiler warnings.
7405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7407 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7408 Likewise.
7409
74102004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7411
7412 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7413 (gtkWidgetRequestFocus): Mark protected.
7414 (GtkComponentPeer): Only set the peer's bounds if its component
7415 is valid.
7416 * java/awt/Component.java (static): Set the default keyboard
7417 focus manager.
7418 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7419 requestFocusInWindow(temporary)): Don't request focus if the
7420 component is not showing. Get tree lock before traversing
7421 component hierarchy.
7422 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7423 Only set the global focus owner if it is not a Window.
7424 (processKeyEvent): Consume keystrokes associated with the focus
7425 traversal keystroke.
7426 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7427 downFocusCycle): Call requestFocusInWindow instead of
7428 requestFocus.
7429 * java/awt/EventDispatchThread.java (run): Move setting of
7430 default keyboard focus manager to Component.java.
7431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7432 (awt_keycode_to_keysym): New function.
7433 (gtkWidgetDispatchKeyEvent): Finish implementation.
7434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7435 (pre_event_handler): Add FIXME comment.
7436
7437 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7439 (gtkWidgetRequestFocus): New method.
7440 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7441 disable Tab and Shift-Tab keystrokes.
7442 (addNotify, appendText, insertText, replaceText): Simplify peer
7443 retrieval code.
7444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7445 (connectSignals): Remove connections to "commit" signals.
7446 Remove C++-style comments.
7447
7448 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7449 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7450 (handleEvent): Activate GTK button when the space bar key is
7451 pressed.
7452 (gtkActivate): New method.
7453
74542004-05-06 David Jee <djee@redhat.com>
7455
7456 * java/awt/image/CropImageFilter.java
7457 (setPixels): Implement for byte array pixels.
7458 * java/awt/image/ReplicateScaleFilter.java
7459 (setPixels): Implement for byte array pixels.
7460 (replicatePixels): Overload for byte array pixels.
7461
74622004-05-06 Kim Ho <kho@redhat.com>
7463
7464 * javax/swing/Box.java:
7465 (getAccessibleContext): Return an instance of the
7466 correct class.
7467
74682004-05-05 David Jee <djee@redhat.com>
7469
7470 * gnu/java/awt/peer/gtk/GdkGraphics.java
7471 (drawImage): When component is null, use SystemColor.window as
7472 the default bgcolor.
7473 * gnu/java/awt/peer/gtk/GtkImage.java
7474 (setPixels): We can avoid iterating through the pixel rows only
7475 when height is 1.
7476 * java/awt/Image.java
7477 (getScaledInstance): Partially implement.
7478 * java/awt/image/CropImageFilter.java
7479 (setProperties): Fix "filter" property.
7480 (setPixels): Implement.
7481 * java/awt/image/ReplicateScaleFilter.java
7482 (setDimensions): Use scaled dimensions.
7483 (setPixels): Implement.
7484 (replicatePixels): New method.
7485
74862004-05-05 David Jee <djee@redhat.com>
7487
7488 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7489 (convertPixels): If either pixels or model is null, return null.
7490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7491 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7492 is null, do nothing and return.
7493
74942004-05-03 Kim Ho <kho@redhat.com>
7495
7496 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7497 (getGraphics): Like GtkFramePeer, the Graphics
7498 object needs to be translate to account for
7499 window decorations.
7500 (postMouseEvent): New method. Account for
7501 translation.
7502 (postExposeEvent): ditto.
7503 * javax/swing/Box.java: Stubbed.
7504 * javax/swing/JDialog.java: Ran through jalopy
7505 to fix indentation.
7506 (JDialog): Call SwingUtilities' getOwnerFrame
7507 for null owners.
7508 (setLayout): Check isRootPaneCheckingEnabled
7509 * javax/swing/JOptionPane.java: Re-implemented.
7510 * javax/swing/SwingUtilities.java:
7511 (getOwnerFrame): Static method to grab a default
7512 owner frame for Dialogs that don't specify owners.
7513 * javax/swing/event/SwingPropertyChangeSupport.java:
7514 (firePropertyChange): Fix early exit condition.
7515 * javax/swing/plaf/basic/BasicLabelUI.java:
7516 (paint): Avoid painting text if it is null
7517 or empty.
7518 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7519 Implement.
7520
75212004-05-03 Olga Rodimina <rodimina@redhat.com>
7522
7523 * Makefile.am: Added new file.
7524 * Makefile.in: Regenerate.
7525 * javax/swing/JPopupMenu.java:
7526 Started implementation.
7527 * javax/swing/JWindow.java
7528 (JWindow): call super() if parent for window
7529 is not specified.
7530 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7531 New File. UI Delegate for JPopupMenu.
7532
75332004-04-30 Olga Rodimina <rodimina@redhat.com>
7534
7535 * javax/swing/JApplet.java: Indicated that JApplet
7536 implements RootPaneContainer and made method of this
7537 interface public.
7538 * javax/swing/JFrame.java: Ditto.
7539 * javax/swing/JWindow.java: Ditto.
7540
75412004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7542
7543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7544 (nativeSetBounds): Call gdk_window_move in addition to
7545 gtk_window_move.
7546
7547 * java/applet/Applet.java (preferredSize): Call parent's
7548 preferredSize if the applet stub is null.
7549 (minimumSize): Likewise for parent's minimumSize.
7550
75512004-04-27 Olga Rodimina <rodimina@redhat.com>
7552
7553 * javax/swing/JMenuItem.java
7554 (createActionPropertyChangeListener): Implemented.
7555 (processMouseEvent): Ditto.
7556 (fireMenuDragMouseEntered): Ditto.
7557 (fireMenuDragMouseExited): Ditto.
7558 (fireMenuDragMouseDragged): Ditto.
7559 (fireMenuDragMouseReleased): Ditto.
7560 (menuSelectionChanged): Ditto.
7561 (getSubElements): Ditto.
7562 (getComponent): Ditto.
7563 (addMenuDragMouseListener): Ditto.
7564 (removeMenuDragMouseListener):Ditto.
7565 (addMenuKeyListener): Ditto.
7566 (removeMenuKeyListener): Ditto.
7567 * javax/swing/plaf/basic/BasicMenuItemUI.java
7568 (doClick): Imlemented.
7569 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7570 Don't handle mouse events here. Pass them to
7571 MenuSelectionManager.
7572
75732004-04-26 Olga Rodimina <rodimina@redhat.com>
7574 Used correct version of jalopy configuration
7575 file to fix style in the files below.
7576
75772004-04-26 Olga Rodimina <rodimina@redhat.com>
7578
7579 * javax/swing/JCheckBoxMenuItem.java:
7580 Fixed style and removed unnecessary comments.
7581 * javax/swing/JMenuItem.java: Ditto.
7582 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7583 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7584 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7585 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7586
75872004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7588
7589 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7590 C-style.
7591
7592 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7593
7594 * java/awt/ContainerOrderFocusTraversalPolicy.java
7595 (getComponentAfter): Start from current component and work up
7596 the component hierarchy until an acceptable component is found.
7597 Synchronize on tree lock.
7598 (getComponentBefore): Likewise.
7599
76002004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7601
7602 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7603 focus-related debugging messages.
7604 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7605 * java/awt/EventDispatchThread.java: Likewise.
7606 * java/awt/KeyboardFocusManager.java: Likewise.
7607 * java/awt/Window.java: Likewise.
7608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7610
7611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7612 new C++-style comments to C-style comments.
7613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7614
7615 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7616 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7617 (handleEvent): Dispatch key press and key release events to
7618 backing widget.
7619 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7620 (gtkWidgetRequestFocus): New method.
7621 (gtkWidgetDispatchKeyEvent): Likewise.
7622 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7623 requestFocusInWindow, requestFocusInWindow(boolean),
7624 getFocusCycleRootAncestor, nextFocus, transferFocus,
7625 transferFocusBackward, transferFocusUpCycle, hasFocus,
7626 isFocusOwner): Implement and document focus-handling methods.
7627 (setFocusTraversalKeys): Inherit focus traversal keys when
7628 keystrokes argument is null. Fix focus-handling documentation
7629 throughout class.
7630 * java/awt/Container.java (setFocusTraversalKeys,
7631 getFocusTraversalKeys, areFocusTraversalKeysSet,
7632 isFocusCycleRoot, setFocusTraversalPolicy,
7633 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7634 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7635 Implement and document focus-handling methods.
7636 (transferFocusBackward): Remove method.
7637 (readObject, writeObject): Implement and document serialization
7638 methods.
7639 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7640 and document.
7641 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7642 document.
7643 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7644 partially document.
7645 * java/awt/EventDispatchThread.java (run): Set default keyboard
7646 focus manager. Attempt to dispatch each event to the keyboard
7647 focus manager before normal dispatch.
7648 * java/awt/KeyboardFocusManager.java: Implement and partially
7649 document.
7650 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7651 (show): Focus initial component when window is shown for the
7652 first time.
7653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7654 (pre_event_handler): Replace complex key press and key release
7655 logic with simple callbacks into GtkComponentPeer.
7656 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7657
76582004-04-21 Olga Rodimina <rodimina@redhat.com>
7659
7660 * javax/swing/MenuSelectionManager.java
7661 (componentForPoint): Added new method.
7662 (defaultManager): New Method. Implemented.
7663 (getSelectedPath): Ditto.
7664 (isComponentPartOfCurrentMenu): Ditto.
7665 (processKeyEvent): Added new method.
7666 (processMouseEvent): New Method. Implemented.
7667 (setSelectedPath): Ditto.
7668 (getPath): Ditto.
7669
76702004-04-19 Kim Ho <kho@redhat.com>
7671
7672 * java/awt/Container.java:
7673 (remove): Set the component's parent to null.
7674 (getComponentAt): Implement.
7675 * javax/swing/JComponent.java:
7676 (JComponent): Initialize defaultLocale
7677 (getDefaultLocale): Implement.
7678 (setDefaultLocale): ditto.
7679 * javax/swing/JSlider.java:
7680 (JSlider): Fix calculation of value.
7681 * javax/swing/JSplitPane.java: Implement.
7682 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7683 Change SplitPane's default divider size.
7684 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7685 (paint): Remove unused code.
7686 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7687 Added comments and ran through jalopy.
7688 (setBasicSplitPaneUI): Get reference to hidden divider
7689 and set up one touch buttons if necessary.
7690 (setBorder): Fire propertyChangeEvent only if
7691 borders are different.
7692 (getPreferredSize): Defer to layout manager.
7693 (propertyChange): Implement.
7694 (oneTouchExpandableChanged): ditto.
7695 (createLeftOneTouchButton): Use BasicArrowButton.
7696 (createRightOneTouchButton): ditto.
7697 (moveDividerTo): New method. Moves the divider
7698 to a set location based on the last divider location.
7699 (BasicSplitPaneDivider::MouseHandler): Implement.
7700 (BasicSplitPaneDivider::OneTouchButton): Removed.
7701 (BasicSplitPaneDivider::DragController): Implement.
7702 (BasicSplitPaneDivider::VerticalDragController):
7703 ditto.
7704 (BasicSplitPaneDivider::DividerLayout): ditto.
7705 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7706 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7707 (calculateLayoutInfo): Don't show component if it's
7708 null.
7709 (paintTab): Fix title paint logic.
7710
2140214f
JQ
77112004-05-26 Jerry Quinn <jlquinn@optonline.net>
7712
7713 PR libgcj/8321
7714 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7715 (setStartRule,setEndRule): Don't take abs of day number.
7716 (getOffset): Clarify docs. Add argument checks.
7717 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7718 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7719 endTimeMode.
7720 * testsuite/libjava.mauve/xfails
7721 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7722
17abdabc
BM
77232004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7724
7725 Layout interfaces during preparation, not initialization.
7726 * java/lang/natClass.cc (initializeClass): Move
7727 _Jv_LayoutInterfaceMethods call...
7728 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7729
0fa13661
AG
77302004-05-19 Anthony Green <green@localhost.localdomain>
7731
7732 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7733 gnu.javax.rmi code.
7734 * Makefile.in: Rebuilt.
7735 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7736 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7737 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7738 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7739 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7740 gnu/javax/rmi/CORBA/DelegateFactory.java,
7741 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7742 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7743 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7744 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7745 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7746 gnu/javax/rmi/PortableServer.java: Remove files.
7747
0f22079e
AG
77482004-05-19 Anthony Green <green@redhat.com>
7749
7750 * Makefile.am: Define JAVA_EXT_DIRS.
7751 * Makefile.in: Rebuilt.
7752 * java/lang/natRuntime.cc (insertSystemProperties): Set
7753 java.ext.dirs property.
7754
9152dcf4
MW
77552004-05-16 Mark Wielaard <mark@klomp.org>
7756
7757 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7758
fb0e7ec0
MW
77592004-05-15 Mark Wielaard <mark@klomp.org>
7760
7761 * doc/cni.sgml: Removed, merged into gcj.texi.
7762
85ff6f62
MW
77632004-05-15 Mark Wielaard <mark@klomp.org>
7764
7765 * Makefile.am (ordinary_java_source_files): Add new javax.print
7766 classes.
7767 * Makefile.in: Regenerated.
7768
77692004-05-15 Michael Koch <konqueror@gmx.de>
7770
7771 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7772 javax/print/attribute/standard/DateTimeAtCreation.java,
7773 javax/print/attribute/standard/DateTimeAtProcessing.java,
7774 javax/print/attribute/standard/DocumentName.java,
7775 javax/print/attribute/standard/JobHoldUntil.java,
7776 javax/print/attribute/standard/JobImpressionsCompleted.java,
7777 javax/print/attribute/standard/JobMessageFromOperator.java,
7778 javax/print/attribute/standard/JobName.java,
7779 javax/print/attribute/standard/JobOriginatingUserName.java,
7780 javax/print/attribute/standard/JobPriority.java,
7781 javax/print/attribute/standard/JobPrioritySupported.java,
7782 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7783 javax/print/attribute/standard/OutputDeviceAssigned.java,
7784 javax/print/attribute/standard/PrinterInfo.java,
7785 javax/print/attribute/standard/PrinterLocation.java,
7786 javax/print/attribute/standard/PrinterMakeAndModel.java,
7787 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7788 javax/print/attribute/standard/PrinterName.java,
7789 javax/print/attribute/standard/QueuedJobCount.java,
7790 javax/print/attribute/standard/RequestingUserName.java:
7791 Fixed javadocs all over.
7792
77932004-05-15 Michael Koch <konqueror@gmx.de>
7794
7795 * javax/print/DocFlavor.java,
7796 javax/print/attribute/standard/ColorSupported.java,
7797 javax/print/attribute/standard/Compression.java,
7798 javax/print/attribute/standard/CopiesSupported.java,
7799 javax/print/attribute/standard/Fidelity.java,
7800 javax/print/attribute/standard/Finishings.java,
7801 javax/print/attribute/standard/JobImpressionsSupported.java,
7802 javax/print/attribute/standard/JobKOctetsSupported.java,
7803 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7804 javax/print/attribute/standard/JobSheets.java,
7805 javax/print/attribute/standard/JobState.java,
7806 javax/print/attribute/standard/JobStateReason.java,
7807 javax/print/attribute/standard/JobStateReasons.java,
7808 javax/print/attribute/standard/Media.java,
7809 javax/print/attribute/standard/MediaSizeName.java,
7810 javax/print/attribute/standard/MultipleDocumentHandling.java,
7811 javax/print/attribute/standard/NumberUpSupported.java,
7812 javax/print/attribute/standard/OrientationRequested.java,
7813 javax/print/attribute/standard/PDLOverrideSupported.java,
7814 javax/print/attribute/standard/PageRanges.java,
7815 javax/print/attribute/standard/PresentationDirection.java,
7816 javax/print/attribute/standard/PrintQuality.java,
7817 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7818 javax/print/attribute/standard/PrinterMoreInfo.java,
7819 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7820 javax/print/attribute/standard/PrinterResolution.java,
7821 javax/print/attribute/standard/PrinterState.java,
7822 javax/print/attribute/standard/PrinterStateReason.java,
7823 javax/print/attribute/standard/PrinterStateReasons.java,
7824 javax/print/attribute/standard/PrinterURI.java,
7825 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7826 javax/print/attribute/standard/Severity.java,
7827 javax/print/attribute/standard/SheetCollate.java,
7828 javax/print/attribute/standard/Sides.java:
7829 Added serialVersionUID and removed final keyword where it doenst
7830 belong.
7831
78322004-05-15 Michael Koch <konqueror@gmx.de>
7833
7834 * javax/print/PrintServiceLookup.java: New file.
7835
78362004-05-15 Michael Koch <konqueror@gmx.de>
7837
7838 * javax/print/DocFlavor.java:
7839 Implemented all flavor classes.
7840
78412004-05-15 Michael Koch <konqueror@gmx.de>
7842
7843 * javax/print/attribute/standard/ColorSupported.java,
7844 javax/print/attribute/standard/Compression.java,
7845 javax/print/attribute/standard/CopiesSupported.java,
7846 javax/print/attribute/standard/Fidelity.java,
7847 javax/print/attribute/standard/Finishings.java,
7848 javax/print/attribute/standard/JobImpressionsSupported.java,
7849 javax/print/attribute/standard/JobKOctetsSupported.java,
7850 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7851 javax/print/attribute/standard/JobSheets.java,
7852 javax/print/attribute/standard/JobState.java,
7853 javax/print/attribute/standard/JobStateReason.java,
7854 javax/print/attribute/standard/JobStateReasons.java,
7855 javax/print/attribute/standard/Media.java,
7856 javax/print/attribute/standard/MediaSizeName.java,
7857 javax/print/attribute/standard/MultipleDocumentHandling.java,
7858 javax/print/attribute/standard/NumberUpSupported.java,
7859 javax/print/attribute/standard/OrientationRequested.java,
7860 javax/print/attribute/standard/PDLOverrideSupported.java,
7861 javax/print/attribute/standard/PageRanges.java,
7862 javax/print/attribute/standard/PresentationDirection.java,
7863 javax/print/attribute/standard/PrintQuality.java,
7864 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7865 javax/print/attribute/standard/PrinterMoreInfo.java,
7866 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7867 javax/print/attribute/standard/PrinterResolution.java,
7868 javax/print/attribute/standard/PrinterState.java,
7869 javax/print/attribute/standard/PrinterStateReason.java,
7870 javax/print/attribute/standard/PrinterStateReasons.java,
7871 javax/print/attribute/standard/PrinterURI.java,
7872 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7873 javax/print/attribute/standard/Severity.java,
7874 javax/print/attribute/standard/SheetCollate.java,
7875 javax/print/attribute/standard/Sides.java: New files.
7876
78772004-05-15 Michael Koch <konqueror@gmx.de>
7878
7879 * javax/print/Doc.java
7880 (getPrintData): Throws IOException.
7881 (getReaderForText): Likewise.
7882 (getStreamForBytes): Likewise.
7883 * javax/print/DocFlavor.java:
7884 Fixed filename in copyright.
7885 (serialVersionUID): New field.
7886 * javax/print/ServiceUIFactory.java:
7887 Made all constants final.
7888 * javax/print/AttributeException.java
7889 javax/print/MultiDoc.java
7890 javax/print/MultiDocPrintJob.java
7891 javax/print/MultiDocPrintService.java
7892 javax/print/StreamPrintService.java
7893 javax/print/URIException.java: New files.
7894 * javax/print/Makefile.am
7895 (EXTRA_DIST): Added all new files.
7896
78972004-05-15 Michael Koch <konqueror@gmx.de>
7898
7899 * javax/print/attribute/standard/Copies.java,
7900 javax/print/attribute/standard/DateTimeAtCompleted.java,
7901 javax/print/attribute/standard/DateTimeAtCreation.java,
7902 javax/print/attribute/standard/DateTimeAtProcessing.java,
7903 javax/print/attribute/standard/DocumentName.java,
7904 javax/print/attribute/standard/JobHoldUntil.java,
7905 javax/print/attribute/standard/JobImpressions.java,
7906 javax/print/attribute/standard/JobImpressionsCompleted.java,
7907 javax/print/attribute/standard/JobKOctets.java,
7908 javax/print/attribute/standard/JobKOctetsProcessed.java,
7909 javax/print/attribute/standard/JobMediaSheets.java,
7910 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7911 javax/print/attribute/standard/JobMessageFromOperator.java,
7912 javax/print/attribute/standard/JobName.java,
7913 javax/print/attribute/standard/JobOriginatingUserName.java,
7914 javax/print/attribute/standard/JobPriority.java,
7915 javax/print/attribute/standard/JobPrioritySupported.java,
7916 javax/print/attribute/standard/NumberOfDocuments.java,
7917 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7918 javax/print/attribute/standard/NumberUp.java,
7919 javax/print/attribute/standard/OutputDeviceAssigned.java,
7920 javax/print/attribute/standard/PagesPerMinute.java,
7921 javax/print/attribute/standard/PagesPerMinuteColor.java:
7922 Fixed @return tag all over.
7923
79242004-05-15 Michael Koch <konqueror@gmx.de>
7925
7926 * javax/print/attribute/AttributeSetUtilities.java
7927 (verifyCategoryForValue): Fixed typo in javadoc.
7928 * javax/print/attribute/HashAttributeSet.java
7929 (containsKey): Fixed @return tag.
7930 (comtainsValue): Likewise.
7931 (equals): Likewise.
7932 * javax/print/attribute/IntegerSyntax.java
7933 (equals): Likewise.
7934 * javax/print/attribute/ResolutionSyntax.java
7935 (equals): Likewise.
7936 (getCrossFeedResolution): Removed unused code.
7937 (getFeedResolution): Likewise.
7938 * javax/print/attribute/SetOfIntegerSyntax.java
7939 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7940 (equals): Fixed @return tag.
7941 * javax/print/attribute/TextSyntax.java
7942 (TextSyntax): Take locale into account.
7943 (hashCode): Better implementation.
7944
79452004-05-15 Michael Koch <konqueror@gmx.de>
7946
7947 * javax/print/CancelablePrintJob.java,
7948 javax/print/Doc.java,
7949 javax/print/DocFlavor.java,
7950 javax/print/DocPrintJob.java,
7951 javax/print/FlavorException.java,
7952 javax/print/PrintException.java,
7953 javax/print/PrintService.java,
7954 javax/print/ServiceUIFactory.java: New files.
7955
f437e359
MW
79562004-05-15 Mark Wielaard <mark@klomp.org>
7957
7958 * gnu/regexp/CharIndexedReader.java: Removed.
7959 * gnu/regexp/REFilterReader.java: Likewise.
7960 * gnu/regexp/RETokenLookAhead.java: Likewise.
7961 * Makefile.am (ordinary_java_source_files): Remove above classes.
7962 * Makefile.in: Regenerated.
7963
ae0d0d59
TT
79642004-05-14 Tom Tromey <tromey@redhat.com>
7965
7966 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7967 not `XGraphicsConfiguration.XOffScreenImage'.
7968
1cd29ad2
SG
79692004-05-14 Scott Gilbertson <scottg@mantatest.com>
7970
7971 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7972
a01a235c
SA
79732004-05-14 Steven Augart <augart@watson.ibm.com>
7974
7975 * include/jni.h (_Jv_func): Removed.
7976 (struct JNINativeInterface): Use `void *' for reserved slots.
7977 (struct JNIInvokeInterface): Likewise.
7978
8f0b9daa
MK
79792004-05-11 Michael Koch <konqueror@gmx.de>
7980
7981 * gnu/java/net/natPlainSocketImplPosix.cc
7982 (read): Fixed typo in expression.
7983
3f68457e
AT
79842004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7985
7986 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7987 ld_library_additions. Adjust all calls to libjava_invoke to match
7988 the new argument.
7989
7990 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7991 path to cxxflagslist.
7992 Pass path of libstdc++ to libjava_invoke.
7993
7994 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7995 libjava_invoke arguments.
7996
731d47a6
RM
79972004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7998
7999 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8000 reality.
8001
8e31e128
RM
80022004-05-07 Ranjit Mathew <rmathew@gmail.com>
8003
8004 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8005 main binary against the JNI shared library.
8006
61af3d86
JQ
80072004-05-07 Jerry Quinn <jlquinn@optonline.net>
8008
8009 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8010 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8011 (SimpleTimeZone): Tweak docs. Add new variation.
8012 (setStartRule,setEndRule): Add new variations. Use
8013 startTimeMode and endTimeMode.
8014
80152004-05-07 Jerry Quinn <jlquinn@optonline.net>
8016
8017 * java/util/Calendar.java (getActualMinimum,
8018 getActualMaximum): Remove abstract. Implement.
8019
579f9640
BM
80202004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8021
8022 Run the jni tests using the interpreter.
8023 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8024 options_cxx to shared lib compile command.
8025 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8026 they are used to link the shared lib, not the main binary.
8027 Use libjava_invoke to run gij.
8028
0a215a11
MK
80292004-05-06 Michael Koch <konqueror@gmx.de>
8030
8031 * java/util/logging/Level.java
8032 (parse): Use == instead of String.equals().
8033
e51f7aeb
BM
80342004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8035
8036 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
8037 verify_field_signature and verify_method_signature, not
8038 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8039 (_Jv_ClassReader::handleField): Likewise.
8040 (_Jv_ClassReader::handleMethod): Likewise.
8041
c8395524
MK
80422004-05-06 Michael Koch <konqueror@gmx.de>
8043
8044 * javax/swing/table/TableColumn.java:
8045 Reformated.
8046
c8b86f1a
MK
80472004-05-06 Michael Koch <konqueror@gmx.de>
8048
8049 * javax/imageio/spi/ImageReaderWriterSpi.java
8050 (ImageReaderWriterSpi): Made it public.
8051 * javax/imageio/stream/ImageInputStream.java:
8052 Clean up imports.
8053
9f2eefb7
MK
80542004-05-06 Michael Koch <konqueror@gmx.de>
8055
8056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8057 Removed empty line.
8058
45505d4d
MK
80592004-05-06 Michael Koch <konqueror@gmx.de>
8060
8061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8063 New files.
8064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8065 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8067 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8068 their own source file.
8069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8070 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8071 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8073 (create): Define variable on top of function.
8074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8075 (menu_pos): Prototyped.
8076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8077 (setTitle): Removed.
8078 * jni/gtk-peer/gthread-jni.c
8079 (gdk_threads_wake): Removed.
8080 * Makefile.am (gtk_c_source_files): Added new files
8081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8082 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8083 * Makefile.in: Regenerated.
8084
74e94435
BM
80852004-05-05 Bryce McKinlay <mckinlay@redhat.com>
8086
8087 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8088 call.
8089
68ea5833
MW
80902004-05-05 Mark Wielaard <mark@klomp.org>
8091
8092 * javax/swing/AbstractButton.java: Replace special HTML entities with
8093 ASCII equivalent.
8094 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8095 * javax/swing/DefaultButtonModel.java: Likewise.
8096 * javax/swing/DefaultListModel.java: Likewise.
8097 * javax/swing/JList.java: Likewise.
8098 * javax/swing/JSlider.java: Likewise.
8099 * javax/swing/ListModel.java: Likewise.
8100 * javax/swing/Popup.java: Likewise.
8101 * javax/swing/SwingUtilities.java: Likewise.
8102
880fa238
MK
81032004-05-05 Michael Koch <konqueror@gmx.de>
8104
8105 * javax/swing/AbstractButton.java,
8106 javax/swing/ActionMap.java,
8107 javax/swing/DefaultButtonModel.java,
8108 javax/swing/DefaultListModel.java,
8109 javax/swing/ImageIcon.java,
8110 javax/swing/JComboBox.java,
8111 javax/swing/JComponent.java,
8112 javax/swing/JFrame.java,
8113 javax/swing/JInternalFrame.java,
8114 javax/swing/JMenuBar.java,
8115 javax/swing/JMenuItem.java,
8116 javax/swing/JOptionPane.java,
8117 javax/swing/JProgressBar.java,
8118 javax/swing/JRootPane.java,
8119 javax/swing/JScrollBar.java,
8120 javax/swing/JScrollPane.java,
8121 javax/swing/JSeparator.java,
8122 javax/swing/JSlider.java,
8123 javax/swing/JTabbedPane.java,
8124 javax/swing/JTable.java,
8125 javax/swing/JTextField.java,
8126 javax/swing/JToolBar.java,
8127 javax/swing/JToolTip.java,
8128 javax/swing/JTree.java,
8129 javax/swing/JViewport.java,
8130 javax/swing/JWindow.java,
8131 javax/swing/KeyStroke.java,
8132 javax/swing/LookAndFeel.java,
8133 javax/swing/SwingUtilities.java,
8134 javax/swing/Timer.java,
8135 javax/swing/ToolTipManager.java,
8136 javax/swing/UIDefaults.java,
8137 javax/swing/border/TitledBorder.java,
8138 javax/swing/filechooser/FileSystemView.java,
8139 javax/swing/plaf/basic/BasicButtonListener.java,
8140 javax/swing/plaf/basic/BasicButtonUI.java,
8141 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8142 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8143 javax/swing/plaf/basic/BasicLabelUI.java,
8144 javax/swing/plaf/basic/BasicMenuItemUI.java,
8145 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8146 javax/swing/plaf/basic/BasicRootPaneUI.java,
8147 javax/swing/plaf/basic/BasicScrollBarUI.java,
8148 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8149 javax/swing/plaf/basic/BasicSliderUI.java,
8150 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8151 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8152 javax/swing/table/JTableHeader.java,
8153 javax/swing/text/AbstractDocument.java,
8154 javax/swing/text/DefaultCaret.java,
8155 javax/swing/text/StyledEditorKit.java,
8156 javax/swing/tree/DefaultTreeCellEditor.java:
8157 Cleaned up imports.
8158
4a93a226
MK
81592004-05-05 Michael Koch <konqueror@gmx.de>
8160
8161 * java/util/prefs/AbstractPreferences.java
8162 (AbstractPreferences): Added parenthesis for clarity.
8163 Closes classpath bug #7940.
8164
aaec686e
TT
81652004-05-05 Tom Tromey <tromey@redhat.com>
8166
8167 * javax/naming/CompoundName.java (endsWith): Look at correct
8168 element of source name.
8169
b1210ca2
MW
81702004-05-05 Mark Wielaard <mark@klomp.org>
8171
8172 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8173 * java/util/HashMap.java (rehash): Add entry at start of bucket.
8174
a54f498a
TT
81752004-05-05 Tom Tromey <tromey@redhat.com>
8176
8177 * java/io/BufferedReader.java (skip): Removed unused
8178 variable.
8179
e8430418
MK
81802004-05-05 Michael Koch <konqueror@gmx.de>
8181
8182 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8183
f32c742c
DT
81842004-05-05 Dalibor Topic <robilad@kaffe.org>
8185
8186 * java/text/AttributedString.java,
8187 java/text/AttributedStringIterator.java,
8188 java/text/Collator.java,
8189 java/text/DecimalFormatSymbols.java,
8190 java/text/NumberFormat.java,
8191 java/text/RuleBasedCollator.java:
8192 Cleaned up imports.
8193
d70bd7ff
TT
81942004-05-05 Tom Tromey <tromey@redhat.com>
8195
8196 * java/text/Format.java: Cleaned up imports.
8197 * java/text/DecimalFormat.java: Cleaned up imports.
8198 * java/security/SecureRandom.java: Cleaned up imports.
8199 (SecureRandom): Removed unused variable.
8200 * java/security/UnresolvedPermission.java: Cleaned up imports.
8201 * java/util/Date.java (parse): Removed unused variable.
8202 * java/util/ResourceBundle.java: Cleaned up imports.
8203 (getBundle): Removed unused variable.
8204 (tryBundle): Likewise.
8205 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8206
2225a42a
GL
82072004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8208
8209 * java/text/SimpleDateFormat.java:
8210 (formatWithAttribute): New method. It implements
8211 the formatting process with attributes.
8212 (format): Use formatWithAttribute.
8213 (formatToCharacterIterator): New method. Use
8214 formatWithAttribute.
8215
1f646142
GL
82162004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8217
8218 * java/text/MessageFormat.java:
8219 (class Field): New class.
8220 (formatToCharacterIterator): New method.
8221 (format): Use formatInternal now.
8222 (formatInternal): New method. String formatter should
8223 be done here (with attributes). Attributes merging supported.
8224 (parse): More documentation.
8225 (getFormatsByArgumentIndex): New method.
8226 (setFormatByArgumentIndex): New method.
8227 (setFormatsByArgumentIndex): New method.
8228
8cf1edb3
GL
82292004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8230
8231 * java/text/DecimalFormat.java
8232 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8233 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8234 (parse): Fixed handling of exponentiation notation and grouping.
8235
82362004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8237
8238 * java/text/DecimalFormat.java
8239 (scanFix): Build attribute array. Fixed error reporting.
8240 (applyPatternWithSymbols): Store attributes for the prefix and
8241 suffix.
8242 (formatInternal): New method. Changed the way the string is
8243 computed. Implemented attributes. Cleant up rounding in
8244 exponential notation.
8245 (format): Use formatInternal.
8246 (formatToCharacterIterator): New method.
8247 (exponentRound, negativePrefixRanges, positivePrefixRanges,
8248 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8249 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8250 New fields.
8251
aff9d141
DT
82522004-05-04 Dalibor Topic <robilad@kaffe.org>
8253
8254 * java/security/interfaces/DSAKeyPairGenerator.java,
8255 java/security/interfaces/DSAPrivateKey.java,
8256 java/security/interfaces/DSAPublicKey.java,
8257 java/security/interfaces/RSAPrivateKey.java,
8258 java/security/interfaces/RSAPublicKey.java:
8259 Cleaned up imports.
8260
933522fb
MK
82612004-05-04 Michael Koch <konqueror@gmx.de>
8262
8263 * java/nio/ByteBuffer.java,
8264 java/nio/CharBuffer.java,
8265 java/nio/DoubleBuffer.java,
8266 java/nio/FloatBuffer.java,
8267 java/nio/IntBuffer.java,
8268 java/nio/LongBuffer.java,
8269 java/nio/ShortBuffer.java:
8270 (compareTo): Fixed bogus implementation in all buffer classes.
8271
27c2c3ec
IP
82722004-05-04 Ingo Proetel <proetel@aicas.com>
8273
8274 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8275 32 bit pixels not 8 bit pixels.
8276 (isCompatibleRaster): Added javadoc comment.
8277
82782004-05-04 Ingo Proetel <proetel@aicas.com>
8279
8280 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8281 scanline stride.
8282
82832004-05-04 Ingo Proetel <proetel@aicas.com>
8284
8285 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8286 (getColorModel): Return the actual color model.
8287 (getRaster): Implemented.
8288 (ColorRaster): New inner class.
8289 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8290 a PaintContext.
8291 * java/awt/Color.java (<init>): Make exception more verbose.
8292 (createContext): Use ColorModel when creating a PaintContext.
8293
a31d9d6c
MK
82942004-05-04 Michael Koch <konqueror@gmx.de>
8295
8296 * gnu/java/text/CharacterBreakIterator.java
8297 (previous): Removed unused variable.
8298
065afdfa
GL
82992004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8300
8301 * gnu/java/text/FormatBuffer.java,
8302 gnu/java/text/AttributedFormatBuffer.java,
8303 gnu/java/text/StringFormatBuffer.java: New classes to implement
8304 attributed iterators in java.text.
8305 * gnu/java/text/FormatCharacterIterator.java: Moved
8306 from java/text as it is an internal class.
8307 * java/text/FormatCharacterIterator.java: Removed.
8308 * java/text/Format.java:
8309 Import gnu.java.text.FormatCharacterIterator.
8310 * Makefile.am (java_source_files): Added new files.
8311 * Makefile.in: Regenerated.
8312
8313
af62fd12
MW
83142004-05-04 Mark Wielaard <mark@klomp.org>
8315
53c87e49 8316 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 8317
a3c44036
AT
83182004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8319
8320 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8321 * Makefile.in: Rebuilt.
8322
007265b8
MW
83232004-05-03 Mark Wielaard <mark@klomp.org>
8324
8325 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8326 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8327 * java/net/URL.java
8328 (set(String, String, int, String, String, String, String, String)):
8329 Assign this.file to path or path + "?" + query.
8330 * java/util/Arrays.java: Call static methods staticly.
8331 * java/util/zip/ZipEntry.java: Likewise.
8332 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8333 dir to this.direction.
8334 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8335 Assign static field only once.
8336 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8337
a00d3b3c
MW
83382004-05-03 Mark Wielaard <mark@klomp.org>
8339
8340 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8341 unused variables hScrollbarHeight and vScrollbarWidth.
8342 (preferredSize): Likewise.
8343 * gnu/java/security/provider/DSAParameters.java (engineToString):
8344 Removed unused call to System.getProperty("line.seperator");
8345 * java/security/Security.java (loadProviders): Return result.
8346
7b68f0bf
TT
83472004-05-03 Tom Tromey <tromey@redhat.com>
8348
8349 * java/net/URLStreamHandler.java (toExternalForm): Removed
8350 unused variables.
8351 unused constructor.
8352 * java/math/BigDecimal.java (divide): Removed unused variable.
8353 * java/lang/Throwable.java: Cleaned up imports.
8354 * java/lang/ClassLoader.java: Cleaned up imports.
8355 * java/io/FilePermission.java (implies): Removed unused
8356 variable.
8357 * java/awt/TextComponent.java: Removed unused import.
8358 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8359 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8360 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8361 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8362 import.
8363 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8364 * gnu/java/text/CharacterBreakIterator.java: Removed
8365 unused import.
8366 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8367 Cleaned up imports.
8368 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8369 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8370 unused method.
8371 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8372 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8373 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8374 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8375 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8376 (lookupProviders): Removed unused variable.
8377 (loadNextServiceProvider): Likewise.
8378 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8379
493b3c9c
MK
83802004-05-03 Michael Koch <konqueror@gmx.de>
8381
8382 Fixes PR libgcj/14695:
8383 * java/net/NetworkInterface.java
8384 (getByName): Return null when no interface was found.
8385
55ce9c52
RM
83862004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8387 Tom Tromey <tromey@redhat.com>
8388
8389 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8390 additional option "-Wmissing-prototypes" for compiling C sources.
8391 Print actual filename for pass/fail rather than $name.c.
8392 * testsuite/libjava.jni/PR15133.java: New testcase file.
8393 * testsuite/libjava.jni/PR15133.c: Likewise.
8394 * testsuite/libjava.jni/PR15133.out: Likewise.
8395
2d99c042
RS
83962004-04-30 Roger Sayle <roger@eyesopen.com>
8397
8398 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8399 ceil and floor.
8400
c1fcbbc3
RM
84012004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8402
8403 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8404 limit the maximum heap size to avoid unnecessary thrashing.
8405
6f0b1fa5
JQ
84062004-04-24 Jerry Quinn <jlquinn@optonline.net>
8407
8408 * java/text/CollationElementIterator.java (reset): Reset
8409 lookahead variables.
8410
99a88816
MW
84112004-04-23 Mark Wielaard <mark@klomp.org>
8412
8413 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8414
b4e7ef8d
DT
84152004-04-23 Dalibor Topic <robilad@kaffe.org>
8416
8417 * java/sql/DriverManager.java:
8418 Cleaned up imports.
8419
e9d34968
MK
84202004-04-23 Michael Koch <konqueror@gmx.de>
8421
8422 * java/net/URL.java
8423 (hashcode): Don't initialize with default value explicitely.
8424 (getContent): Removed redundant "final" keyword.
8425 (openStream): Likewise.
8426 (getURLStreamHandler): Fixed coding style.
8427 * java/net/URLConnection.java
8428 (defaultAllowUserInteraction): Don't initialize with default value
8429 explicitely.
8430 (connected): Likewise.
8431 (doOutput): Likewise.
8432 (ifModifiedSince): Likewise.
8433 (dateformats_initialized): Likewise.
8434 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8435
87939d70
MK
84362004-04-23 Michael Koch <konqueror@gmx.de>
8437
8438 * gnu/java/nio/channels/FileChannelImpl.java
8439 (SET, CUR): Unused, removed.
8440 (read): Implement here directly.
8441 (implRead): Removed.
8442 (write): Implement here directly.
8443 (implWrite): Removed.
8444
5d837a58
DT
84452004-04-23 Dalibor Topic <robilad@kaffe.org>
8446
8447 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8448 javax/rmi/CORBA/Stub.java,
8449 javax/rmi/CORBA/Util.java,
8450 javax/rmi/CORBA/ValueHandler.java,
8451 javax/rmi/CORBA/ValueHandler.java,
8452 javax/rmi/PortableRemoteObject.java:
8453 Cleaned up imports.
8454
ace7ed7c
DT
84552004-04-23 Dalibor Topic <robilad@kaffe.org>
8456
8457 * java/util/jar/JarFile.java,
8458 java/util/jar/JarInputStream.java,
8459 java/util/jar/JarOutputStream.java,
8460 java/util/jar/Manifest.java:
8461 Cleaned up imports.
8462
84632004-04-23 Dalibor Topic <robilad@kaffe.org>
8464
8465 * java/util/ArrayList.java,
8466 java/util/Calendar.java,
8467 java/util/Currency.java,
8468 java/util/HashMap.java,
8469 java/util/HashSet.java,
8470 java/util/Hashtable.java,
8471 java/util/LinkedList.java,
8472 java/util/Properties.java,
8473 java/util/PropertyPermission.java,
8474 java/util/TimeZone.java,
8475 java/util/TreeMap.java,
8476 java/util/TreeSet.java,
8477 java/util/Vector.java,
8478 java/util/WeakHashMap.java:
8479 Cleaned up imports.
8480
84812004-04-23 Dalibor Topic <robilad@kaffe.org>
8482
8483 * java/util/logging/FileHandler.java,
8484 java/util/logging/Formatter.java,
8485 java/util/logging/Handler.java,
8486 java/util/logging/Logger.java,
8487 java/util/logging/SimpleFormatter.java,
8488 java/util/logging/XMLFormatter.java:
8489 Cleaned up imports.
8490
ae522139
MW
84912004-04-22 Mark Wielaard <mark@klomp.org>
8492
8493 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8494 -Wno-long-long flags variable.
8495 (gtk_c_files): Use PEDANTIC_CFLAGS.
8496 * Makefile.in: Regenerated.
8497
838a4849
MK
84982004-04-22 Mark Wielaard <mark@klomp.org>
8499
8500 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8501 Changed C++ comments into C comments.
8502 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8503 Likewise.
8504
85052004-04-22 Michael Koch <konqueror@gmx.de>
8506
8507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8508 Merged copyright year with GNU classpath.
8509
fe2235d1
DT
85102004-04-22 Dalibor Topic <robilad@kaffe.org>
8511
8512 * javax/security/auth/x500/X500Principal.java:
8513 Cleaned up imports.
8514
b7db3d0a
DT
85152004-04-22 Dalibor Topic <robilad@kaffe.org>
8516
8517 * javax/swing/JSlider.java:
8518 Fixed HTML tags in comments.
8519
32bfc773
DT
85202004-04-22 Dalibor Topic <robilad@kaffe.org>
8521
8522 * javax/accessibility/AccessibleText.java:
8523 Cleaned up imports.
8524
e930d01a
MK
85252004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8526
8527 * java/net/URLStreamHandler.java
8528 (parseURL): Convert the file path to using '/' instead of native
8529 file separator.
8530
85312004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8532
8533 * java/net/URL.java
8534 (userInfo): New field.
8535 (URL): Set authority to the right value.
8536 (setURL): Fixed authority and file initialization.
8537 * java/net/URLStreamHandler.java
8538 (parseURL): Take care of the query tag. Build authority.
8539 (toExternalForm): Fixed URL building using authority.
8540
5d79367d
MK
85412004-04-22 Michael Koch <konqueror@gmx.de>
8542
8543 * java/net/Socket.java
8544 (impl): Made package-private.
8545 * java/net/ServerSocket.java
8546 (implAccept): Access Socket.impl field directly.
8547
c0dce235
DT
85482004-04-22 Dalibor Topic <robilad@kaffe.org>
8549
8550 * java/util/prefs/Preferences.java,
8551 java/util/prefs/InvalidPreferencesFormatException.java,
8552 java/util/prefs/BackingStoreException.java,
8553 java/util/prefs/AbstractPreferences.java:
8554 Cleaned up imports.
8555
85562004-04-22 Dalibor Topic <robilad@kaffe.org>
8557
8558 * java/util/regex/Matcher.java,
8559 java/util/regex/Pattern.java:
8560 Cleaned up imports.
8561
5c09d725
MK
85622004-04-22 Michael Koch <konqueror@gmx.de>
8563
8564 * java/nio/charset/IllegalCharsetNameException.java
8565 (charsetName): Made private.
8566 (IllegalCharsetNameException): Added @param tag to javadoc.
8567 (getCharsetName): Added @return tag to javadoc.
8568 * java/nio/charset/MalformedInputException.java
8569 (MalformedInputException): Added @param tag to javadoc.
8570 (getInputLength): Revised method description, added @return tag.
8571 (getMessage): Added @return tag.
8572
83ef3f2b
JQ
85732004-04-22 Jerry Quinn <jlquinn@optonline.net>
8574
8575 * java/awt/Font.java (deriveFont): Implement missing variants.
8576 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8577 missing variants.
8578
746ecc78
BM
85792004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8580
8581 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8582 Set method->index values for interface methods to their itable index.
8583 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8584
86a80fc3
MK
85852004-04-21 Michael Koch <konqueror@gmx.de>
8586
8587 * java/nio/DirectByteBufferImpl.java
8588 (shiftDown): Made static, give address as argument and
8589 provide a convenience method that overwrites shiftDown in
8590 ByteBufferImpl and calls the native shiftDown.
8591 * java/nio/MappedByteBufferImpl.java
8592 (): Use optimized method in DirectByteBufferImpl.
8593 * java/nio/natDirectByteBufferImpl.cc
8594 (shiftDown): Changed method signature. Removed usage of array_offset.
8595
6e90ed19
MK
85962004-04-21 Michael Koch <konqueror@gmx.de>
8597
8598 * gnu/java/net/natPlainSocketImplPosix.cc
8599 (SocketInputStream::read): Make sure returned data is a byte value.
8600
96d22b12
MK
86012004-04-21 Michael Koch <konqueror@gmx.de>
8602
8603 * gnu/classpath/ServiceFactory.java,
8604 gnu/classpath/ServiceProviderLoadingAction.java,
8605 javax/imageio/ImageReader.java,
8606 javax/imageio/ImageTranscoder.java,
8607 javax/imageio/ImageWriter.java,
8608 javax/imageio/package.html,
8609 javax/imageio/spi/IIOServiceProvider.java,
8610 javax/imageio/spi/ImageInputStreamSpi.java,
8611 javax/imageio/spi/ImageOutputStreamSpi.java,
8612 javax/imageio/spi/ImageReaderWriterSpi.java,
8613 javax/imageio/spi/ImageTranscoderSpi.java,
8614 javax/imageio/spi/RegisterableService.java,
8615 javax/imageio/spi/ServiceRegistry.java,
8616 javax/imageio/spi/package.html,
8617 javax/imageio/stream/IIOByteBuffer.java,
8618 javax/imageio/stream/ImageInputStream.java,
8619 javax/imageio/stream/ImageOutputStream.java,
8620 javax/imageio/stream/package.html:
8621 New files.
8622 * Makefile.am
8623 (ordinary_java_source_files): Added
8624 gnu/classpath/ServiceFactory.java and
8625 gnu/classpath/ServiceProviderLoadingAction.java.
8626 (javax_source_files): Added
8627 javax/imageio/ImageReader.java,
8628 javax/imageio/ImageTranscoder.java,
8629 javax/imageio/ImageWriter.java,
8630 javax/imageio/spi/IIOServiceProvider.java,
8631 javax/imageio/spi/ImageInputStreamSpi.java,
8632 javax/imageio/spi/ImageOutputStreamSpi.java,
8633 javax/imageio/spi/ImageReaderWriterSpi.java,
8634 javax/imageio/spi/ImageTranscoderSpi.java,
8635 javax/imageio/spi/RegisterableService.java,
8636 javax/imageio/spi/ServiceRegistry.java,
8637 javax/imageio/stream/IIOByteBuffer.java,
8638 javax/imageio/stream/ImageInputStream.java and
8639 javax/imageio/stream/ImageOutputStream.java.
8640 * Makefile.in: Regenerated.
8641
ca17d211
MK
86422004-04-21 Michael Koch <konqueror@gmx.de>
8643
8644 * java/util/Properties.java
8645 (load): Fix wrongly merged fix.
8646
60e957d0
MW
86472004-04-21 Mark Wielaard <mark@klomp.org>
8648
8649 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8650 malloc and free buf.
8651
27dd18cf
DT
86522004-04-21 Dalibor Topic <robilad@kaffe.org>
8653
8654 * javax/naming/AuthenticationException.java,
8655 javax/naming/AuthenticationNotSupportedException.java,
8656 javax/naming/CannotProceedException.java,
8657 javax/naming/CommunicationException.java,
8658 javax/naming/CompoundName.java,
8659 javax/naming/ConfigurationException.java,
8660 javax/naming/ContextNotEmptyException.java,
8661 javax/naming/InitialContext.java,
8662 javax/naming/InsufficientResourcesException.java,
8663 javax/naming/InterruptedNamingException.java,
8664 javax/naming/LimitExceededException.java,
8665 javax/naming/LinkException.java,
8666 javax/naming/LinkLoopException.java,
8667 javax/naming/LinkRef.java,
8668 javax/naming/MalformedLinkException.java,
8669 javax/naming/Name.java,
8670 javax/naming/NameAlreadyBoundException.java,
8671 javax/naming/NameNotFoundException.java,
8672 javax/naming/NamingSecurityException.java,
8673 javax/naming/NoInitialContextException.java,
8674 javax/naming/NoPermissionException.java,
8675 javax/naming/NotContextException.java,
8676 javax/naming/PartialResultException.java,
8677 javax/naming/ReferralException.java,
8678 javax/naming/ServiceUnavailableException.java,
8679 javax/naming/SizeLimitExceededException.java,
8680 javax/naming/TimeLimitExceededException.java,
8681 javax/naming/directory/Attribute.java,
8682 javax/naming/directory/Attributes.java,
8683 javax/naming/directory/SearchResult.java,
8684 javax/naming/event/NamingExceptionEvent.java,
8685 javax/naming/spi/ResolveResult.java:
8686 Cleaned up imports.
8687
2635995a
MW
86882004-04-21 Mark Wielaard <mark@klomp.org>
8689
8690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8691 Changed C++ comments into C comments. Removed commented out code.
8692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8693 Likewise.
8694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8695 Likewise.
8696 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8697 Likewise.
8698 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8699 Likewise.
8700 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8701 Likewise.
8702 * native/jni/gtk-peer/gthread-jni.c:
8703 Likewise.
8704
1c3d6bb2
MW
87052004-04-21 Mark Wielaard <mark@klomp.org>
8706
8707 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8708 static fields defined in interface.
8709 * javax/awt/JDialog.java: Likewise.
8710 (JDialog): Make constructors public.
8711 (getDefaultCloseOperation): Make public.
8712 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8713 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8714 * javax/swing/JViewport.java (JViewport): Make constructor public.
8715
387fa012
MK
87162004-04-21 Michael Koch <konqueror@gmx.de>
8717
8718 * java/util/Map.java
8719 (Entry): Removed redundant "static" modifier.
8720 * java/text/AttributedCharacterIterator.java:
8721 Updated copyright year.
8722
bf9f06ae
MK
87232004-04-20 Michael Koch <konqueror@gmx.de>
8724
8725 * javax/naming/directory/SearchControls.java:
8726 Don't explicitely extend java.lang.Object.
8727 * javax/naming/spi/DirStateFactory.java:
8728 Merged copyright year with GNU classpath.
8729
8a6c1d29
MK
87302004-04-20 Michael Koch <konqueror@gmx.de>
8731
8732 * java/nio/channels/Channels.java:
8733 Merged coding style with GNU classpath.
8734
f5874634
MK
87352004-04-20 Michael Koch <konqueror@gmx.de>
8736
8737 * java/net/ServerSocket.java
8738 Merged coding style from GNU classpath.
8739
90cb5151
MK
87402004-04-20 Michael Koch <konqueror@gmx.de>
8741
8742 * java/io/BufferedWriter.java:
8743 Reordered variables to be at top of the class.
8744 (localFlush): Removed redundant final keyword.
8745
5ede96a4
IP
87462004-04-20 Ingo Proetel <proetel@aicas.com>
8747
8748 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8749
391d8ef5
MK
87502004-04-20 Jeroen Frijters <jeroen@frijters.net>
8751
8752 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8753 for percent and permill check.
8754
87552004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8756
8757 * java/text/FieldPosition.java
8758 (FieldPosition) Constructor now behaves as it should according
8759 to the java documentation.
8760
87612004-04-20 Mark Wielaard <mark@klomp.org>
8762
8763 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8764 documentation.
8765
92e1fe67
MK
87662004-04-20 Michael Koch <konqueror@gmx.de>
8767
8768 * java/nio/Buffer.java,
8769 java/nio/channels/AlreadyConnectedException.java,
8770 java/nio/channels/AsynchronousCloseException.java,
8771 java/nio/channels/ByteChannel.java,
8772 java/nio/channels/CancelledKeyException.java,
8773 java/nio/channels/Channel.java,
8774 java/nio/channels/Channels.java,
8775 java/nio/channels/ClosedByInterruptException.java,
8776 java/nio/channels/ClosedChannelException.java,
8777 java/nio/channels/ClosedSelectorException.java,
8778 java/nio/channels/ConnectionPendingException.java,
8779 java/nio/channels/DatagramChannel.java,
8780 java/nio/channels/FileChannel.java,
8781 java/nio/channels/FileLock.java,
8782 java/nio/channels/FileLockInterruptionException.java,
8783 java/nio/channels/GatheringByteChannel.java,
8784 java/nio/channels/IllegalBlockingModeException.java,
8785 java/nio/channels/IllegalSelectorException.java,
8786 java/nio/channels/InterruptibleChannel.java,
8787 java/nio/channels/NoConnectionPendingException.java,
8788 java/nio/channels/NonReadableChannelException.java,
8789 java/nio/channels/NonWritableChannelException.java,
8790 java/nio/channels/NotYetBoundException.java,
8791 java/nio/channels/NotYetConnectedException.java,
8792 java/nio/channels/OverlappingFileLockException.java,
8793 java/nio/channels/Pipe.java,
8794 java/nio/channels/ReadableByteChannel.java,
8795 java/nio/channels/ScatteringByteChannel.java,
8796 java/nio/channels/SelectableChannel.java,
8797 java/nio/channels/SelectionKey.java,
8798 java/nio/channels/Selector.java,
8799 java/nio/channels/ServerSocketChannel.java,
8800 java/nio/channels/SocketChannel.java,
8801 java/nio/channels/UnresolvedAddressException.java,
8802 java/nio/channels/UnsupportedAddressTypeException.java,
8803 java/nio/channels/WritableByteChannel.java,
8804 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8805 java/nio/channels/spi/AbstractSelectableChannel.java,
8806 java/nio/channels/spi/AbstractSelectionKey.java,
8807 java/nio/channels/spi/AbstractSelector.java,
8808 java/nio/channels/spi/SelectorProvider.java,
8809 java/nio/charset/spi/CharsetProvider.java:
8810 Fixed javadocs and jalopied all over java.nio.
8811
08c5d757
MK
88122004-04-20 Michael Koch <konqueror@gmx.de>
8813
8814 * java/nio/ByteBufferImpl.java,
8815 java/nio/CharBufferImpl.java,
8816 java/nio/DirectByteBufferImpl.java,
8817 java/nio/DoubleBufferImpl.java,
8818 java/nio/DoubleViewBufferImpl.java,
8819 java/nio/FloatBufferImpl.java,
8820 java/nio/FloatViewBufferImpl.java,
8821 java/nio/IntBufferImpl.java,
8822 java/nio/IntViewBufferImpl.java,
8823 java/nio/LongBufferImpl.java,
8824 java/nio/LongViewBufferImpl.java,
8825 java/nio/MappedByteBufferImpl.java,
8826 java/nio/ShortBufferImpl.java,
8827 java/nio/ShortViewBufferImpl.java:
8828 Made sure all classes are final and removed final keyword from all
8829 methods.
8830
a17c9f2e
MK
88312004-04-20 Michael Koch <konqueror@gmx.de>
8832
8833 * java/rmi/MarshalledObject.java,
8834 java/rmi/Naming.java,
8835 java/rmi/RemoteException.java,
8836 java/rmi/activation/ActivationException.java,
8837 java/rmi/server/ServerCloneException.java,
8838 java/security/AccessController.java,
8839 java/security/AlgorithmParameterGenerator.java,
8840 java/security/AlgorithmParameters.java,
8841 java/security/CodeSource.java,
8842 java/security/Identity.java,
8843 java/security/IdentityScope.java,
8844 java/security/KeyPairGenerator.java,
8845 java/security/KeyStore.java,
8846 java/security/Security.java,
8847 java/security/Signature.java,
8848 java/security/SignatureSpi.java,
8849 java/security/SignedObject.java,
8850 java/security/spec/DSAParameterSpec.java,
8851 java/security/spec/DSAPrivateKeySpec.java,
8852 java/security/spec/DSAPublicKeySpec.java,
8853 java/sql/Array.java,
8854 java/sql/DatabaseMetaData.java,
8855 java/sql/ResultSet.java,
8856 java/text/ChoiceFormat.java,
8857 java/text/CollationElementIterator.java,
8858 java/text/CollationKey.java,
8859 java/text/Collator.java,
8860 java/text/DateFormat.java,
8861 java/text/DateFormatSymbols.java,
8862 java/text/DecimalFormatSymbols.java,
8863 java/text/Format.java,
8864 java/text/ParsePosition.java,
8865 java/text/RuleBasedCollator.java,
8866 java/text/SimpleDateFormat.java,
8867 java/text/StringCharacterIterator.java,
8868 java/util/Collections.java,
8869 java/util/PropertyResourceBundle.java,
8870 java/util/ResourceBundle.java,
8871 java/util/StringTokenizer.java,
8872 java/util/jar/Attributes.java,
8873 java/util/logging/ConsoleHandler.java,
8874 java/util/logging/LogManager.java,
8875 java/util/logging/MemoryHandler.java,
8876 java/util/logging/SocketHandler.java,
8877 javax/naming/NamingException.java:
8878 Fixed javadoc, coding style and argument names all over.
8879
0fc920c8
MK
88802004-04-20 Jeroen Frijters <jeroen@frijters.net>
8881
8882 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8883 constructor. (valid) Added null check.
8884
88852004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8886
8887 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8888 * java/io/FileOutputStream.java
8889 (FileOutputStream) Reorganized constructors. Constructors now
8890 check whether the given path is directory.
8891
f6d49f66
MK
88922004-04-20 Michael Koch <konqueror@gmx.de>
8893
8894 * java/net/Authenticator.java,
8895 java/net/BindException.java,
8896 java/net/ConnectException.java,
8897 java/net/ContentHandler.java,
8898 java/net/ContentHandlerFactory.java,
8899 java/net/DatagramPacket.java,
8900 java/net/DatagramSocket.java,
8901 java/net/DatagramSocketImpl.java,
8902 java/net/DatagramSocketImplFactory.java,
8903 java/net/FileNameMap.java,
8904 java/net/HttpURLConnection.java,
8905 java/net/Inet4Address.java,
8906 java/net/Inet6Address.java,
8907 java/net/InetAddress.java,
8908 java/net/InetSocketAddress.java,
8909 java/net/JarURLConnection.java,
8910 java/net/MalformedURLException.java,
8911 java/net/MulticastSocket.java,
8912 java/net/NetPermission.java,
8913 java/net/NetworkInterface.java,
8914 java/net/NoRouteToHostException.java,
8915 java/net/PasswordAuthentication.java,
8916 java/net/PortUnreachableException.java,
8917 java/net/ProtocolException.java,
8918 java/net/ServerSocket.java,
8919 java/net/Socket.java,
8920 java/net/SocketAddress.java,
8921 java/net/SocketException.java,
8922 java/net/SocketImpl.java,
8923 java/net/SocketImplFactory.java,
8924 java/net/SocketOptions.java,
8925 java/net/SocketPermission.java,
8926 java/net/SocketTimeoutException.java,
8927 java/net/URI.java,
8928 java/net/URISyntaxException.java,
8929 java/net/URL.java,
8930 java/net/URLClassLoader.java,
8931 java/net/URLConnection.java,
8932 java/net/URLDecoder.java,
8933 java/net/URLEncoder.java,
8934 java/net/URLStreamHandler.java,
8935 java/net/URLStreamHandlerFactory.java,
8936 java/net/UnknownHostException.java,
8937 java/net/UnknownServiceException.java:
8938 Fixed javadocs, coding style and argument names all over.
8939
cf6f7d55
MK
89402004-04-20 Michael Koch <konqueror@gmx.de>
8941
8942 * java/lang/Byte.java,
8943 java/lang/CharSequence.java,
8944 java/lang/ClassLoader.java,
8945 java/lang/Compiler.java,
8946 java/lang/Double.java,
8947 java/lang/Float.java,
8948 java/lang/Integer.java,
8949 java/lang/Long.java,
8950 java/lang/Math.java,
8951 java/lang/Number.java,
8952 java/lang/Package.java,
8953 java/lang/Runtime.java,
8954 java/lang/RuntimePermission.java,
8955 java/lang/SecurityManager.java,
8956 java/lang/Short.java,
8957 java/lang/StringBuffer.java,
8958 java/lang/System.java,
8959 java/lang/ThreadGroup.java,
8960 java/lang/Throwable.java,
8961 java/lang/reflect/InvocationHandler.java,
8962 java/lang/reflect/Proxy.java:
8963 Fixed javadocs, coding style and argument names all over.
8964
9f714d5e
MK
89652004-04-20 Michael Koch <konqueror@gmx.de>
8966
8967 * java/io/BufferedWriter.java,
8968 java/io/ByteArrayInputStream.java,
8969 java/io/CharArrayWriter.java,
8970 java/io/DataInput.java,
8971 java/io/DataInputStream.java,
8972 java/io/File.java,
8973 java/io/FilterInputStream.java,
8974 java/io/InputStream.java,
8975 java/io/InputStreamReader.java,
8976 java/io/ObjectInputStream.java,
8977 java/io/ObjectStreamClass.java,
8978 java/io/PipedInputStream.java,
8979 java/io/PipedReader.java,
8980 java/io/PushbackInputStream.java,
8981 java/io/PushbackReader.java,
8982 java/io/RandomAccessFile.java,
8983 java/io/SerializablePermission.java,
8984 java/io/StreamTokenizer.java,
8985 java/io/StringWriter.java,
8986 java/io/WriteAbortedException.java,
8987 java/io/Writer.java:
8988 Fixed javadocs all over, rename arguments to match javadocs,
8989 fixed coding style.
8990
23f0ecff
MK
89912004-04-20 Ingo Proetel <proetel@aicas.com>
8992
8993 * java/awt/FontMetrics.java:
8994 (charsWidth): fixed accumulation of total_width
8995 (getWidth): simple default implementation
8996 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8997 in Rectangle constructor.
8998 * java/awt/image/Raster.java (toString): Added method.
8999 * java/awt/image/SampleModel.java (<init>): Added error cause
9000 information to thrown exception.
9001 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9002 New method.
9003 (setDataElements): New method.
9004 (setPixels): New method.
9005 (toString): New method.
9006
90072004-04-20 Sascha Brawer <brawer@dandelis.ch>
9008
9009 * java/awt/image/ComponentColorModel.java
9010 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9011 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9012 Mauve tests on this method. Improved documentation.
9013
2c4d54e6
MK
90142004-04-20 Michael Koch <konqueror@gmx.de>
9015
9016 * javax/swing/JLayeredPane.java,
9017 javax/swing/plaf/BorderUIResource.java,
9018 javax/swing/plaf/ComponentUI.java,
9019 javax/swing/undo/CompoundEdit.java,
9020 javax/swing/undo/StateEdit.java:
9021 Fixed HTML tags in javadocs all over.
9022
5589f3e5
MK
90232004-04-20 Michael Koch <konqueror@gmx.de>
9024
9025 * javax/print/attribute/EnumSyntax.java
9026 (getOffset): Made protected.
9027 * javax/print/attribute/HashAttributeSet.java
9028 (HashAttributeSet): Likewise.
9029 * javax/print/attribute/ResolutionSyntax.java
9030 (getFeedResolution): Fixed typo in exception name.
9031 (getCrossFeedResolution): Likewise.
9032 * javax/print/attribute/SetOfIntegerSyntax.java
9033 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9034 * javax/print/attribute/TextSyntax.java
9035 (TextSyntax): Handle locale correctly.
9036 (hashCode): Calc better hashcode value.
9037 (equals): Fixed @return tag.
9038 (toString): New method.
9039
0150fc22
MK
90402004-04-20 Michael Koch <konqueror@gmx.de>
9041
9042 * gnu/java/nio/FileLockImpl.java
9043 (static): Removed, not needed anymore.
9044 * gnu/java/nio/channels/FileChannelImpl.java
9045 (FileChannelImpl): Made final.
9046 (mode): Made private.
9047 (READ, WRITE, APPEND): Made public.
9048 (EXCL, SYNC, DSYNC): Likewise.
9049 (static): Load native JNI library, when needed.
9050 (length): Unused, removed.
9051 (available): Made public.
9052 (implPosition): Throws IOException.
9053 (seek): Likewise.
9054 (implTruncate): Likewise.
9055 (unlock): Likewise.
9056 (lock): Likewise.
9057
7431acbe
MK
90582004-04-20 Michael Koch <konqueror@gmx.de>
9059
9060 * java/awt/AWTPermission.java,
9061 java/awt/Component.java,
9062 java/awt/ComponentOrientation.java,,
9063 java/awt/Dialog.java,
9064 java/awt/FontMetrics.java,
9065 java/awt/Graphics.java,
9066 java/awt/datatransfer/DataFlavor.java,
9067 java/beans/Introspector.java,
9068 java/beans/PropertyEditor.java,
9069 java/beans/PropertyEditorManager.java,
9070 java/beans/beancontext/BeanContextServiceProvider.java:
9071 Fixed HTML tags in javadocs all over.
9072
7f6f517f
MW
90732004-04-20 Mark Wielaard <mark@klomp.org>
9074
9075 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9076 MissingResourceException is thrown.
9077 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9078 null when a MissingResourceException is thrown. Should never happen.
9079
8ecb0346
MK
90802004-04-20 Sascha Brawer <brawer@dandelis.ch>
9081
9082 * java/awt/image/DataBufferShort.java,
9083 java/awt/image/DataBufferFloat.java,
9084 java/awt/image/DataBufferDouble.java,
9085 java/awt/image/PixelInterleavedSampleModel.java: New files.
9086 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9087 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9088
90892004-04-20 Michael Koch <konqueror@gmx.de>
9090
9091 * Makefile.am (java_source_files): Added
9092 java/awt/image/DataBufferDouble.java,
9093 java/awt/image/DataBufferFloat.java,
9094 java/awt/image/DataBufferShort.java and
9095 java/awt/image/PixelInterleavedSampleModel.java.
9096 * Makefile.in: Regenerated.
9097
f5310108
BM
90982004-04-19 Bryce McKinlay <mckinlay@redhat.com>
9099
9100 * gcj/cni.h (JvAllocObject): Remove these obsolete,
9101 undocumented CNI calls.
9102 * include/java-interp.h (_Jv_InterpClass): No longer
9103 extends java.lang.Class.
9104 * java/lang/Class.h (Class): Add new field `aux_info'.
9105 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9106 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9107 Use Class->aux_info instead.
9108 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9109 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9110 Use Class->aux_info instead.
9111 * java/io/natObjectInputStream.cc (allocateObject): Use
9112 _Jv_AllocObject.
9113 * java/lang/natClass.cc (newInstance): Likewise.
9114 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9115 * java/lang/natObject.cc (clone): Likewise.
9116 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9117 * java/lang/natVMClassLoader.cc (defineClass): Don't use
9118 JvAllocObject. Allocate klass->aux_info here for interpreted
9119 class.
9120
afd7c0dc
MW
91212004-04-17 Mark Wielaard <mark@klomp.org>
9122
9123 * javax/swing/JToggleButton.java (ToggleButtonModel):
9124 Make public static inner class.
9125 * javax/swing/JTabbedPane.java (setComponentAt):
9126 Call Page.setComponent().
9127 (SCROLL_TAB_LAYOUT): Make public, value is 1.
9128 (WRAP_TAB_LAYOUT): Make public, value is 0.
9129 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9130 Make private static inner class.
9131
bf7ad402
BM
91322004-04-16 Bryce McKinlay <mckinlay@redhat.com>
9133
9134 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9135 arguments to match new signature. Remove FIXME comments.
9136
31e632d3
GH
91372004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
9138
9139 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9140 Remove method.
9141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9142 unused code.
9143
91442004-04-02 Olga Rodimina <rodimina@redhat.com>
9145
9146 * Makefile.am: Added new file.
9147 * Makefile.in: Regenerate.
9148 * javax/swing/ImageIcon.java:
9149 (ImageIcon(file)): set description of the icon
9150 to the file name
9151 * javax/swing/JCheckBoxMenuItem.java:
9152 Mostly Implemented. Work in progress.
9153 * javax/swing/JRadioButtonMenuItem.java:
9154 Reimplement constructors to use JToggleButtonModel.
9155 * javax/swing/plaf/basic/BasicIconFactory.java:
9156 (getCheckBoxMenuItemIcon): return check box
9157 icon.
9158 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9159 paint menu item selected only when it is armed and
9160 pressed.
9161
91622004-04-02 David Jee <djee@redhat.com>
9163
9164 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9165 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9166 * java/awt/Component.java
9167 (add): Set the parent of the popup as this component.
9168 * java/awt/PopupMenu.java
9169 (addNotify): Create popup menu when peer is null.
9170 (show): Call addNotify() if peer is null.
9171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9172 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9173 argument for gtk_menu_popup() as zero. This causes the popup menu to
9174 respond to any mouse button.
9175
91762004-03-31 Olga Rodimina <rodimina@redhat.com>
9177
9178 * Makefile.am: Added new file.
9179 * Makefile.in: Regenerate.
9180 * javax/swing/JRadioButtonMenuItem.java:
9181 Implemented.
9182 * javax/swing/plaf/basic/BasicIconFactory.java:
9183 (getRadioButtonMenuItemIcon): Return
9184 radio button icon.
9185 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9186 (getPreferredSize): Add size of checkIcon if it
9187 exists.
9188 (installDefaults): Don't initialize checkIcon.
9189 It's value will be set in subclasses.
9190 (uninstallDefaults): remove uninstallation of
9191 checkIcon.
9192 (paint): Moved code to paintMenuItem().
9193 (paintMenuItem): Implemented.
9194 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9195 UI delegate for JRadioButtonMenuItem.
9196
91972004-03-29 Olga Rodimina <rodimina@redhat.com>
9198
9199 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9200 Corrected position of the accelerator.
9201
92022004-03-29 Olga Rodimina <rodimina@redhat.com>
9203
9204 * Makefile.am: Added new file.
9205 * Makefile.in: Regenerate.
9206 * javax/swing/JMenuItem.java: Partly
9207 implemented. Work in progress
9208 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9209 Changed default value of acceleratorDelimiter.
9210 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9211 New class. Partly implemented.
9212
92132004-03-26 Mark Wielaard <mark@klomp.org>
9214
9215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9216 (item_activate): Declare label before use.
9217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9218 (gtkSetFont): Removed unused variable label.
9219 (addExposeFilter): Declare variables before use.
9220 (removeExposeFilter): Likewise.
9221 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9222 (ok_clicked): Declare str_fileName before use.
9223
92242004-03-26 David Jee <djee@redhat.com>
9225
9226 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9227 (addSeparator): Remove.
9228 * java/awt/Menu.java
9229 (separator): Remove static final MenuItem field.
9230 (separatorLabel): New static final String field.
9231 (addSeparator): Do not use peer method; use add(MenuItem) instead.
9232 Use separatorLabel to denote that it is a separator.
9233 (insertSeparator): Create a new MenuItem with separatorLabel, instead
9234 of reusing the static separator instance, because a MenuItem instance
9235 can't be added more than once without being cloned.
9236 * java/awt/peer/MenuPeer.java
9237 (addSeparator): Remove from interface.
9238
92392004-03-26 David Jee <djee@redhat.com>
9240
9241 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9242 (connectSignals): New native method declaration.
9243 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9244 * java/awt/MenuItem.java
9245 (getActionCommand): Return the label if the action command is not set.
9246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9247 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9248 gtk_menu_shell_append().
9249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9250 (item_activate): Fix argument type.
9251 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9252 signal here.
9253 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9254 method.
9255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9256 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9257 given. Add the menu widget's top-level GtkWindow to the global window
9258 group, so it can grab the pointer.
9259 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9260 gtk_menu_shell_append().
9261
92622004-03-23 Graydon Hoare <graydon@redhat.com>
9263
9264 * java/text/AttributedString.java
9265 (addAttribute): Fix off-by-one.
9266 (getIterator): Likewise.
9267 * java/text/AttributedStringIterator.java
9268 (getRunLimit): Correct logic.
9269 (getRunStart): Likewise.
9270 (getAttribute): Fix inequality.
9271 (getAttributes): Likewise.
9272 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9273
92742004-03-23 Kim Ho <kho@redhat.com>
9275
9276 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9277 (calculateSizes): Return real width and height.
9278
92792004-03-23 Kim Ho <kho@redhat.com>
9280
9281 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9282 (calculateTabRects): Set the selectedRun before
9283 trying to rotate tabs.
9284
92852004-03-23 Kim Ho <kho@redhat.com>
9286
9287 * Makefile.am: New file
9288 * Makefile.in: Regenerate
9289 * java/awt/Graphics.java: (drawRect):
9290 Draw to the correct point.
9291 * javax/swing/DefaultSingleSelectionModel.java
9292 (isSelected): Return true if the selected index
9293 is not -1.
9294 * javax/swing/JLabel.java: Do not change mnemonic
9295 index if text is null.
9296 * javax/swing/JProgressBar.java: Use JComponent's
9297 EventListenerList.
9298 * javax/swing/JScrollBar.java: Ditto.
9299 * javax/swing/JSlider.java: Ditto.
9300 * javax/swing/JTabbedPane.java: Reimplement.
9301 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9302 Add defaults for TabbedPane.
9303 * javax/swing/plaf/basic/BasicArrowButton.java:
9304 Implement
9305 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9306 (paintDeterminate): Don't paint String if it's
9307 empty.
9308 (paintIndeterminate): ditto.
9309 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9310 Reimplement.
9311
93122004-03-19 Michael Koch <konqueror@gmx.de>
9313
9314 * java/awt/image/AffineTransformOp.java
9315 (AffineTransformOp): Made public.
9316 * javax/swing/JComponent.java
9317 (listenerList): Made protected.
9318 (accessibleContext): Likewise.
9319 * javax/swing/JList.java
9320 (valueChanged): Dont use internal fields of ListSelectionEvent.
9321 * javax/swing/JViewport.java
9322 (getView): Dont use internal fields of Component.
9323 (addImpl): Likewise.
9324 * javax/swing/Timer.java
9325 (isRunning): Made public.
9326 (start): Likewise.
9327 (stop): Likewise.
9328 * javax/swing/UIDefaults.java
9329 (getInt): Made public.
9330 * javax/swing/plaf/basic/BasicListUI.java
9331 (mousePressed): Dont use internal fields of MouseEvent.
9332 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9333 * javax/swing/plaf/basic/BasicScrollBarUI.java
9334 (arrowIcon): Made static.
9335 * javax/swing/plaf/basic/BasicViewportUI.java
9336 (stateChanged): Dont use internal field on ChangeEvent.
9337 * javax/swing/text/JTextComponent.java
9338 (getUI): Call UIManager.getUI().
9339 (updateUI): Use getUI().
9340
93412004-03-19 Graydon Hoare <graydon@redhat.com>
9342
9343 * javax/swing/JComponent.java: Turn off double buffer by default.
9344 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9346 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9347 Use cairo to copy areas.
9348 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9349 Initialize and set clip region.
9350
93512004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9352
9353 * java/applet/Applet.java (preferredSize): Override deprecated
9354 variant of getPreferredSize.
9355 (minimumSize): Override deprecated variant of getMinimumSize.
9356
93572004-03-15 Olga Rodimina <rodimina@redhat.com>
9358
9359 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9360 (drawImage(img,xform,bgcolor,obs)): New Method.
9361 Helper function that every drawImage method will
9362 use.
9363 (drawRaster): Added new parameter, bgcolor. All
9364 transparent pixels are changed to bgcolor before
9365 image is drawn.
9366 (drawRenderedImage): Fixed to use changed drawRaster().
9367 (drawImage(image,xform,obs): Fixed to use new helper function
9368 (drawImage(image,op,x,y)): Ditto.
9369 (drawImage (img,x,y,observer)): Ditto.
9370 ((PainterThread) bgcolor): New Field.
9371 ((PainterThread) (setPixels)): Changed all transparent pixels
9372 to bgcolor.
9373 (drawImage(img,x,y,width,height,bgcolor,observer)):
9374 Fixed FIXME - all the transparent pixels are
9375 changed to the specified bgcolor.
9376 (drawImage(img, x, y, width, height, observer): Changed to
9377 use function above.
9378 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9379 Fixed FIXME- changed all transparent pixels to bgcolor.
9380 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9381 Changed to use function above.
9382
93832004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9384
9385 * java/applet/Applet.java (dimensions): New field.
9386 (getDimensions): New method.
9387 (getPreferredSize): Call getDimensions.
9388 (getMinimumSize): Likewise.
9389
93902004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9391
9392 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9393 * jni/classpath/jnilink.c: Likewise.
9394
9395 * java/applet/Applet.java (getPreferredSize): New method.
9396 (getMinimumSize): New method.
9397
245c3c04
BM
93982004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9399
9400 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9401 (_Jv_AllocObjectNoFinalizer): Likewise.
9402 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9403 (_Jv_AllocPtrFreeObject): Likewise.
9404 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9405 directly even in the JVMPI case.
9406 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9407 _Jv_AllocObject calls.
9408 * gcj/javaprims.h: Update prototypes.
9409 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9410 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9411 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9412
d7afe286
BM
94132004-04-14 Andrew Haley <aph@redhat.com>
9414 Bryce McKinlay <mckinlay@redhat.com>
9415
9416 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9417 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9418 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9419
9420 * testsuite/libjava.lang/InvokeInterface.java: New file.
9421 * testsuite/libjava.lang/InvokeInterface.out: New file.
9422
84264cb6
RM
94232004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9424
9425 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9426 modified lookup().
9427 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9428 StackTraceElement directly.
9429 (newElement): New native helper method to create StackTraceElement
9430 bypassing Java access control.
9431 (createStackTraceElement): Use newElement() instead of directly
9432 calling StackTraceElement's constructor.
9433 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9434
2b6b5c35
MK
94352004-04-01 Michael Koch <konqueror@gmx.de>
9436
9437 * java/lang/SecurityManager.java
9438 (checkAwtEventQueueAccess): Implemented.
9439
1c19eacc
GB
94402004-04-01 Gary Benson <gbenson@redhat.com>
9441
9442 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9443 (_Jv_SearchMethodInClass): Likewise.
9444
99b43239
PM
94452004-03-26 Peter Moon <peterm@miraculum.com>
9446
9447 * java/text/NumberFormat.java: Fix spelling of setCurrency
9448 method.
9449
95e59f1a
AG
94502004-03-21 Anthony Green <green@redhat.com>
9451
9452 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9453 recursion when searching for the system ClassLoader.
9454
de205e06
IK
94552004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9456
9457 * java/net/ServerSocket.java
9458 (accept): Close the socket when error occured.
9459
bdf11d55
JF
94602004-03-21 Jeroen Frijters <jeroen@frijters.net>
9461
9462 * java/net/URI.java (parseURI): Added unquoting.
9463 (unquote): New method.
9464 (quoteAuthority): Implemented.
9465 (quote(String,String)): New method.
9466 (quotePath): Implemented.
9467 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9468 (getSchemeSpecificPart): Removed FIXME comment.
9469 (getRawAuthority): Return new rawAuthority field.
9470 (getAuthority): Removed FIXME comment.
9471 (getRawUserInfo): Return new rawUserInfo field.
9472 (getUserInfo): Removed FIXME comment.
9473 (getRawPath): Return new rawPath field.
9474 (getPath): Removed FIXME comment.
9475 (getRawQuery): Return new rawQuery field.
9476 (getQuery): Removed FIXME comment.
9477 (getRawFragment): Return new rawFragment field.
9478 (getFragment): Removed FIXME comment.
9479
0d13be1e
MK
94802004-03-20 Michael Koch <konqueror@gmx.de>
9481
9482 * java/net/URLConnection.java: Merged copyright year with classpath.
9483
f903e73b
NF
94842004-03-20 Norbert Frese <postfach@nfrese.net>
9485
9486 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9487 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9488 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9489 rmi-message.
9490 (getObjectInputStream): Return object reference, throw IOException if null.
9491 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9492 (getObjectOutputStream): Return object reference, throw IOException if null.
9493 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9494 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9495 (UnicastConnectionManager): Throw RemoteException if port is not available.
9496 (getInstance): Throw RemoteException.
9497 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9498 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9499 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9500 Collect Exceptions which are returned by a rmi-call and fix void returns.
9501 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9502 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9503 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9504 (dispatch): Answer ping messages which are sent by other java implementions.
9505 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9506 for every rmi-message and fix void return problems.
9507 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9508 (UnicastServerRef): Throw RemoteException.
9509 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9510 In some situations it is necessary to export a subclass of the class which has the _Stub.
9511 For instance when the class with has the _Stub is abstract.
9512 (findStubSkelClass): New method which looks for the class which has the _Stub.
9513 (getClientHost): Implementated.
9514 * gcc/libjava/java/rmi/server/RemoteServer.java
9515 (getClientHost): Implementated.
9516 * gcc/libjava/Makefile.am (rmi_java_source_files):
9517 Added gnu/java/rmi/server/RMIIncomingThread.java.
9518 * Makefile.in: Regenerated.
9519
7f5773c6
MK
95202004-03-20 Michael Koch <konqueror@gmx.de>
9521
9522 * java/net/InetAddress.java
9523 (getLocalHostname): Added javadoc.
9524
ab16524d
PB
95252004-03-19 Per Bothner <per@bothner.com>
9526
9527 * configure.in: FILE variable overrides FLATFORM when linking
9528 natFileChannelXXX.cc.
9529
9530 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9531 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9532
0fca95f5
PB
95332004-03-19 Per Bothner <per@bothner.com>
9534
9535 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9536 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9537 * Makefile.am: Update accordingly.
9538 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9539 as aliases for UnicodeLittle and UnicodeBig.
9540
edb3d426
MW
95412004-03-20 Mark Wielaard <mark@klomp.org>
9542
9543 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9544 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9545 Don't access ws when it is null.
9546 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9547 Likewise.
9548
b121dcb5
JF
95492004-03-19 Jeroen Frijters <jeroen@frijters.net>
9550
9551 * java/lang/ThreadGroup.java (list): Changed print to println.
9552
44b20223
MW
95532004-03-19 Mark Wielaard <mark@klomp.org>
9554
9555 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9556 happy.
9557
f94b0887
RC
95582004-02-10 Randolph Chung <tausq@debian.org>
9559
9560 * configure.in: Build java for hppa target.
9561 * configure: Regenerate.
9562 * libjava/configure.host (hppa-*): Add target.
9563 * libjava/sysdeps/pa/lock.h: New file.
9564
d511a273
MW
95652004-03-19 Mark Wielaard <mark@klomp.org>
9566
9567 Reported by Stephen Crawley
9568 * java/io/FilePermission.java (implies): Use String.length() -1 to
9569 access last char of String.
9570
9c6637c8
MK
95712004-03-19 Michael Koch <konqueror@gmx.de>
9572
9573 * java/awt/image/AffineTransformOp.java
9574 (AffineTransformOp): Made public.
9575 * javax/swing/JComponent.java
9576 (listenerList): Made protected.
9577 (accessibleContext): Likewise.
9578 * javax/swing/JList.java
9579 (valueChanged): Dont use internal fields of ListSelectionEvent.
9580 * javax/swing/JViewport.java
9581 (getView): Dont use internal fields of Component.
9582 (addImpl): Likewise.
9583 * javax/swing/Timer.java
9584 (isRunning): Made public.
9585 (start): Likewise.
9586 (stop): Likewise.
9587 * javax/swing/UIDefaults.java
9588 (getInt): Made public.
9589 * javax/swing/plaf/basic/BasicListUI.java
9590 (mousePressed): Dont use internal fields of MouseEvent.
9591 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9592 * javax/swing/plaf/basic/BasicScrollBarUI.java
9593 (arrowIcon): Made static.
9594 * javax/swing/plaf/basic/BasicViewportUI.java
9595 (stateChanged): Dont use internal field on ChangeEvent.
9596 * javax/swing/text/JTextComponent.java
9597 (getUI): Call UIManager.getUI().
9598 (updateUI): Use getUI().
9599
165c9b04
RO
96002004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9601
9602 * verify.cc: Undef PC.
9603
138f5109
MK
96042004-03-18 Michael Koch <konqueror@gmx.de>
9605
9606 * java/nio/channels/spi/AbstractSelectableChannel.java
9607 (keys): Initialize at declaration.
9608 (locate): keys cant be null.
9609 (add): Removed.
9610 (addSelectionKey): New method.
9611 (removeSelectionKey): New method.
9612 * java/nio/channels/spi/AbstractSelectionKey.java
9613 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9614 * java/nio/channels/spi/AbstractSelector.java
9615 (provider): Javadoc added.
9616 (cancelledKeys): Javadoc added.
9617 (cancelKey): Javadoc added, add key to cancelledKeys.
9618 (deregister): Implemented.
9619
acc63e4c
RO
96202004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9621
9622 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9623 MAP_FAILED to void *.
9624
86881a7b
GH
96252004-03-12 Graydon Hoare <graydon@redhat.com>
9626
9627 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9628 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9629 * javax/swing/JList.java (ListListener): Revalidate on changes.
9630 * javax/swing/JScrollPane.java: Reimplement.
9631 * javax/swing/JViewport.java: Reimplement.
9632 * javax/swing/ScrollPaneLayout.java: Reimplement.
9633 * javax/swing/ViewportLayout.java: Tidy up.
9634 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9635 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9636 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9637 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9638 backing store only.
9639
96402004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9641
9642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9643 (window_wm_protocols_filter): New function.
9644 (window_focus_in_cb): Remove function.
9645 (window_focus_out_cb): Likewise.
9646 (window_focus_or_active_state_change_cb): New function.
9647 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9648 (connectSignals): Don't attach handlers to focus-in-event or
9649 focus-out-event signals. Handle notify signal.
9650
96512004-03-11 David Jee <djee@redhat.com>
9652
9653 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9654 (gtkSetLabel): New native method declaration.
9655 (setLabel): Use gtkSetLabel.
9656 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9657 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9658
96592004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9660
9661 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9662 black when color argument is null.
9663
96642004-03-10 Kim Ho <kho@redhat.com>
9665
9666 * java/awt/Container.java: Remove check
9667 for drag events.
9668
96692004-03-10 Kim Ho <kho@redhat.com>
9670
9671 * java/awt/Container.java: (visitChild):
9672 Remove candidate clip. Use the component
9673 clip to intersect.
9674 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9675 (handleEvent): Use the PaintEvent's clip.
9676
96772004-03-10 Kim Ho <kho@redhat.com>
9678
9679 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9680 (handleEvent): Don't set the clip for the
9681 Graphics object.
9682
96832004-03-09 Graydon Hoare <graydon@redhat.com>
9684
9685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9686 Fix double <-> fixed macros, reset font transform.
9687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9688 Likewise.
9689
9690