3b7d530006ed2e7c9d5355a453cfd58c8aa60758
[gcc.git] / libjava / ChangeLog
1 2004-11-24 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/security/PolicyFile.java: New file.
4 * Makefile.am: Added gnu/java/security/PolicyFile.java.
5 * Makefile.in: Regenerated.
6
7 2004-11-24 Michael Koch <konqueror@gmx.de>
8
9 * java/lang/Character.java, scripts/unicode-blocks.pl:
10 Reorder "final static" to "static final".
11
12 2004-11-24 Michael Koch <konqueror@gmx.de>
13
14 * java/util/ResourceBundle.java: Reformatted.
15 (tryBundle): Fixed javadoc.
16
17 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
18
19 * java/text/MessageFormat.java
20 (formatInternal): Made private.
21
22 2004-11-24 Michael Koch <konqueror@gmx.de>
23
24 * java/nio/DirectByteBufferImpl.java
25 (ReadWrite.ReadWrite): New constructor.
26 (DirectByteBufferImpl): Likewise.
27 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
28 Use DirectByteBufferImpl.ReadWrite.
29 * Makefile.am:
30 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
31 * Makefile.in: Rgenerated.
32
33 2004-11-24 Jeroen Frijters <address@bogus.example.com>
34
35 * java/nio/DirectByteBufferImpl.java
36 (ReadOnly): New inner subclass.
37 (ReadWrite): New inner subclass.
38 (owner): Made final and private.
39 (address): Made final.
40 (DirectByteBufferImpl(int)): New constructor.
41 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
42 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
43 (allocate): Modified to instantiate ReadWrite subclass.
44 (finalize): Fixed to only free the buffer, if we own it.
45 (put): Removed read-only check.
46 (slice, duplicate): Modified to instantiate appropriate subclass.
47 (isReadOnly): Removed.
48 * java/nio/MappedByteBufferImpl.java
49 (slice, duplicate): Modified to instantiate appropriate
50 DirectByteBufferImpl subclass.
51
52 2004-11-24 Michael Koch <konqueror@gmx.de>
53
54 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
55 * java/nio/DirectByteBufferImpl.java:
56 Moved native methods to java.nio.VMDirectByteBuffer class.
57 * java/nio/MappedByteBufferImpl.java:
58 Use native methods from java.nio.VMDirectByteBuffer class.
59 * java/nio/VMDirectByteBuffer.java: New file,
60 * java/nio/natDirectByteBufferImpl.cc:
61 Moved all methods into java.nio.VMDirectByteBuffer class.
62 * java/nio/channels/spi/AbstractSelectableChannel.java
63 (register): Only re-use valid keys.
64 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
65 * Makefile.in: Regenerated.
66
67 2004-11-24 Michael Koch <konqueror@gmx.de>
68
69 * java/nio/DirectByteBufferImpl.java,
70 java/nio/MappedByteBufferImpl.java:
71 Reformatted.
72
73 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
74
75 * testsuite/lib/libjava.exp,
76 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
77
78 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
79
80 * configure.host: Enable the interpreter for mips*-*-linux*.
81
82 2004-11-23 Michael Koch <konqueror@gmx.de>
83
84 * java/lang/String.java (rehash): Removed.
85 * java/lang/natString.cc (rehash): Made static.
86 (_Jv_NewStringUtf8Const): Use static rehash method.
87
88 2004-11-23 Michael Koch <konqueror@gmx.de>
89
90 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
91 include/Makefile.in, testsuite/Makefile.in: Regenerated.
92
93 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
94
95 PR target/18444
96 * configure.ac (threading): Accept 'posix95'.
97 * configure: Regenerate.
98
99 2004-11-22 Michael Koch <konqueror@gmx.de>
100
101 * gnu/java/nio/SocketChannelImpl.java
102 (read): Made check for blocking un-ambiguous.
103 Removed wrong check for data array length.
104
105 2004-11-21 Michael Koch <konqueror@gmx.de>
106
107 * gnu/java/nio/SocketChannelImpl.java
108 (read): Only return 0 when no bytes for reading available in
109 non-blocking mode.
110 * java/nio/channels/SocketChannel.java:
111 Added some missing @return tags.
112
113 2004-11-21 Michael Koch <konqueror@gmx.de>
114
115 * java/beans/PropertyChangeSupport.java
116 (propertyChangeSupportSerializedDataVersion): Made static.
117 * java/beans/VetoableChangeSupport.java
118 (propertyChangeSupportSerializedDataVersion): Likewise.
119
120 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
121
122 * java/net/URLStreamHandler.java
123 (parseURL): Fixed file path canonicalisation.
124
125 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
126
127 * java/net/URLStreamHandler.java
128 (parseURL): Fixed file path canonicalisation.
129
130 2004-11-18 Michael Koch <konqueror@gmx.de>
131
132 * java/net/URLClassLoader.java: Whitespace cleanup.
133
134 2004-11-18 Robert Schuster <address@bogus.example.com>
135
136 Complete 1.4 support
137 * java/beans/PropertyDescriptor.java:
138 (setReadMethod): New method
139 (setWriteMethod): New method
140 (equals): Implemented (1.4)
141 (checkMethods): operates on arguments now (private)
142
143
144 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
145
146 * java/net/Inet6Address.java (getHostAddress): Fix textual
147 representation of IPv6 address with embedded zeroes
148 to conform to RFC 2373.
149
150 2004-11-18 Jeroen Frijters <address@bogus.example.com>
151
152 * java/lang/StackTraceElement.java: Made final.
153 * java/nio/channels/Channels.java: Added private constructor.
154 * java/rmi/Naming.java: Added private constructor.
155 * java/rmi/registry/LocateRegistry.java: Added private constructor.
156 * java/rmi/server/RMIClassLoader.java: Added private constructor.
157 * java/security/KeyPairGeneratorSpi.java
158 (clone): Made protected and simplified implementation.
159 * java/text/DateFormat.java
160 (allFields): Made package accessible.
161 * java/text/DecimalFormat.java
162 (formatInternal): Made private.
163 * java/text/Format.java
164 (formatInternal): Made private.
165 * java/util/logging/Handler.java: Made constructor protected.
166 * java/util/regex/Matcher.java: Made final.
167 * java/util/regex/Pattern.java: Made final.
168 * javax/crypto/CipherInputStream.java
169 (mark): Corrected mark parameter type (from long to int).
170 * javax/crypto/ExemptionMechanism.java
171 (finalize): Added.
172 * javax/crypto/Mac.java
173 (getMacLength): Made final.
174 (clone): Made final.
175 * javax/imageio/ImageIO.java: Added private constructor.
176 * javax/imageio/stream/ImageInputStreamImpl.java
177 (checkClosed): Made final.
178 * javax/net/ssl/SSLPermission.java: Made final.
179 * javax/print/DocFlavor.java
180 (hostEncoding): Added work-around to prevent the field from being
181 a compile time constant.
182 * javax/print/attribute/AttributeSetUtilities.java: Added private
183 constructor.
184 (UnmodifiableDocAttributeSet): Made private.
185 (UnmodifiablePrintJobAttributeSet): Made private.
186 (UnmodifiablePrintRequestAttributeSet): Made private.
187 (UnmodifiablePrintServiceAttributeSet): Made private.
188 (SynchronizedAttributeSet): Made private.
189 (SynchronizedDocAttributeSet): Made private.
190 (SynchronizedPrintJobAttributeSet): Made private.
191 (SynchronizedPrintRequestAttributeSet): Made private.
192 (SynchronizedPrintServiceAttributeSet): Made private.
193 * javax/security/auth/PrivateCredentialPermission.java: Made final.
194
195 2004-11-18 Craig Black <craig.black@aonix.com>
196
197 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
198
199 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
200
201 * Makefile.am: Correct friend function declaration.
202 * Makefile.in: Regenerated.
203 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
204 scope to function names. Declare functions directly.
205 * libjava/java/lang/Class.h
206 (java::lang::Class): Correct friend class declaration.
207 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
208 scope.
209 * libjava/java/lang/Class.h
210 (java::lang::Object): Correct friend class declaration.
211
212 2004-11-17 David Daney <ddaney@avtrex.com>
213
214 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
215
216 2004-11-17 Michael Koch <konqueror@gmx.de>
217
218 * java/net/Socket.java (getPort): Return 0 in error case.
219
220 2004-11-17 Michael Koch <konqueror@gmx.de>
221
222 * java/nio/DirectByteBufferImpl.java
223 (owner): Updated comment.
224 (allocate): New method.
225
226 2004-11-17 Michael Koch <konqueror@gmx.de>
227
228 * java/net/URL.java (URL): Handle case when argument is null.
229
230 2004-11-17 Michael Koch <konqueror@gmx.de>
231
232 * java/beans/Beans.java,
233 java/beans/PropertyChangeEvent.java,
234 java/beans/PropertyEditorSupport.java:
235 Fixed javadocs.
236
237 2004-11-17 Michael Koch <konqueror@gmx.de>
238
239 * java/util/Timer.java (DEFAULT_SIZE): Made static.
240
241 2004-11-17 Michael Koch <konqueror@gmx.de>
242
243 * java/net/InetAddress.java (getCanonicalHostName):
244 Support IPv6 addresses.
245
246 2004-11-16 Michael Koch <konqueror@gmx.de>
247
248 * java/lang/Object.java: Added javadocs all over (merged from GNU
249 classpath).
250
251 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
252
253 * java/security/Security.java (Security): Silence the warning about no
254 providers found in the no debug case.
255
256 2004-11-16 Michael Koch <konqueror@gmx.de>
257
258 * java/net/InetAddress.java
259 (toString): Merged from GNU classpath.
260
261 2004-11-16 Michael Koch <konqueror@gmx.de>
262
263 * java/awt/geom/doc-files/Area-1.png,
264 java/awt/geom/doc-files/Ellipse-1.png,
265 java/awt/geom/doc-files/GeneralPath-1.png:
266 New files.
267
268 2004-11-16 Michael Koch <konqueror@gmx.de>
269
270 * java/util/Currency.java (cache): Fix modifier order.
271
272 2004-11-16 Michael Koch <konqueror@gmx.de>
273
274 * java/io/BufferedReader.java,
275 java/io/FileInputStream.java,
276 java/io/FileOutputStream.java,
277 java/io/FileWriter.java,
278 java/io/OutputStreamWriter.java,
279 java/io/PipedInputStream.java,
280 java/io/PipedOutputStream.java,
281 java/io/PipedReader.java,
282 java/io/PipedWriter.java,
283 java/io/PrintStream.java,
284 java/io/PushbackInputStream.java,
285 java/io/RandomAccessFile.java,
286 java/io/Reader.java,
287 java/io/StreamTokenizer.java,
288 java/io/StringReader.java,
289 java/net/NetworkInterface.java,
290 java/net/URLClassLoader.java,
291 java/nio/ByteOrder.java,
292 java/nio/channels/Channel.java:
293 Fixed javadocs all over.
294
295 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
296
297 * Makefile.am: Add imported files.
298 * Makefile.in: Regenerate.
299
300 2004-10-24 Casey Marshall <csm@gnu.org>
301
302 * javax/security/auth/login/LoginContext.java: Implemented.
303 * javax/security/auth/login/Configuration.java (getConfig): New method.
304 * javax/security/auth/spi/LoginModule.java,
305 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
306
307 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
308
309 Import/Merge the X.509 certificate code from Classpath.
310
311 * Makefile.am: Add imported files.
312 * Makefile.in: Regenerate.
313
314 2004-11-07 Casey Marshall <csm@gnu.org>
315
316 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
317 priviliged action. Add new algorithms.
318 * gnu/java/security/provider/X509CertificateFactory.java
319 (engineGenerateCertificate): Chain exceptions.
320 (engineGenerateCertificates): Likewise.
321 (engineGenerateCRL): Likewise.
322 (engineGenerateCRLs): Likewise.
323 (engineGenerateCertPath): New methods.
324 (generateCert): Throw exception if 'inStream' is null.
325 (generateCRL): Likewise.
326 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
327 version from GNU Crypto CVS.
328 * gnu/java/security/x509/X509CRL.java: Likewise.
329 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
330 * gnu/java/security/x509/X509Certificate.java: Likewise.
331 * java/security/cert/TrustAnchor.java: Call 'toString' and not
332 toRFC2253.
333 * gnu/java/security/provider/CollectionCertStoreImpl.java,
334 * gnu/java/security/provider/EncodedKeyFactory.java,
335 * gnu/java/security/provider/GnuDHPublicKey.java,
336 * gnu/java/security/provider/GnuRSAPrivateKey.java,
337 * gnu/java/security/provider/GnuRSAPublicKey.java,
338 * gnu/java/security/provider/MD2withRSA.java,
339 * gnu/java/security/provider/MD4withRSA.java,
340 * gnu/java/security/provider/MD5withRSA.java,
341 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
342 * gnu/java/security/provider/RSA.java,
343 * gnu/java/security/provider/RSAKeyFactory.java,
344 * gnu/java/security/provider/SHA1withRSA.java,
345 * gnu/java/security/x509/GnuPKIExtension.java,
346 * gnu/java/security/x509/PolicyNodeImpl.java,
347 * gnu/java/security/x509/Util.java,
348 * gnu/java/security/x509/X509CRLSelectorImpl.java,
349 * gnu/java/security/x509/X509CertPath.java,
350 * gnu/java/security/x509/X509CertSelectorImpl.java,
351 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
352 * gnu/java/security/x509/ext/BasicConstraints.java,
353 * gnu/java/security/x509/ext/CRLNumber.java,
354 * gnu/java/security/x509/ext/CertificatePolicies.java,
355 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
356 * gnu/java/security/x509/ext/Extension.java,
357 * gnu/java/security/x509/ext/GeneralNames.java,
358 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
359 * gnu/java/security/x509/ext/KeyUsage.java,
360 * gnu/java/security/x509/ext/PolicyConstraint.java,
361 * gnu/java/security/x509/ext/PolicyMappings.java,
362 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
363 * gnu/java/security/x509/ext/ReasonCode.java,
364 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
365 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
366
367 2004-11-07 Casey Marshall <csm@gnu.org>
368
369 * gnu/java/security/x509/X509CRL.java:
370 Missed import statements in previous checkin.
371
372 2004-11-07 Casey Marshall <csm@gnu.org>
373
374 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
375 to 'X509CertificateImpl' from previous checkin.
376
377 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
378
379 PR other/14264
380 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
381
382 2004-11-11 Casey Marshall <csm@gnu.org>
383
384 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
385 channel is open.
386 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
387 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
388
389 2004-11-11 Robert Schuster <thebohemian@gmx.net>
390
391 Fixed regression:
392 * gnu/java/beans/IntrospectionIncubator.java:
393 (addMethod): Corrected classification of normal and property methods.
394 (capitalize): Added documentation.
395 (DoubleKey): [class] Added documentation.
396
397 2004-11-09 Tom Tromey <tromey@redhat.com>
398
399 * include/jni.h: Added FIXME.
400
401 2004-11-08 Tom Tromey <tromey@redhat.com>
402
403 * java/util/GregorianCalendar.java: Removed unused imports.
404 * java/util/Vector.java: Removed unused import.
405
406 2004-11-07 Michael Koch <konqueror@gmx.de>
407
408 * java/lang/Process.java:
409 Import cleanups.
410
411 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
412
413 * java/util/zip/ZipEntry.java
414 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
415
416 2004-11-07 Robert Schuster <theBohemian@gmx.net>
417
418 Fixes bug #10908
419 * gnu/java/beans/IntrospectionIncubator.java:
420 (addMethod): static methods are discarded now, too.
421
422 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
423
424 * java/util/GregorianCalendar.java
425 Added/amended documentation.
426
427 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
428
429 * java/util/Collections.java
430 Added documentation.
431 * java/util/SortedMap.java
432 Clarified some method examples.
433 * java/util/SortedSet.java
434 Clarified some method examples.
435
436 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
437
438 * java/util/Currency.java
439 Documented variables and methods more fully.
440 Caches the currency instances, so that a request
441 for a locale, l, only ever returns the same
442 instance (i.e. successive calls to getInstance(l)
443 are reference equivalent (==)).
444
445 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
446
447 * java/util/Date.java
448 Added missing documentation.
449
450 2004-11-06 Michael Koch <konqueror@gmx.de>
451
452 * java/util/zip/CheckedInputStream.java,
453 java/util/zip/InflaterInputStream.java,
454 java/util/zip/ZipFile.java,
455 java/util/zip/ZipInputStream.java:
456 Import cleanups.
457
458 2004-11-06 Tom Tromey <tromey@redhat.com>
459
460 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
461 package-private.
462 (connections): Likewise.
463 (scavenger): Likewise.
464 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
465 package-private.
466 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
467 package-private.
468 (ptr): Likewise.
469 * gnu/classpath/ServiceFactory.java (log): Now package-private.
470
471 2004-11-06 Tom Tromey <tromey@redhat.com>
472
473 * javax/naming/directory/BasicAttributes.java (attributes): Now
474 package-private.
475 * javax/imageio/spi/ServiceRegistry.java (categories): Now
476 package-private.
477
478 2004-11-06 Tom Tromey <tromey@redhat.com>
479
480 * java/net/URLClassLoader.java (URLClassLoader): Now
481 package-private.
482 * java/nio/charset/CoderResult.java (CoderResult): Now
483 package-private.
484 (get): Likewise.
485 (Cache): Likewise. Don't synchronize on `this'.
486 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
487 package-private.
488 * java/util/TimeZone.java (timezones): Now package-private.
489
490 2004-11-06 Tom Tromey <tromey@redhat.com>
491
492 * java/security/Permissions.java (perms): Now package-private.
493 * java/security/UnresolvedPermission.java (permissions): Now
494 package-private.
495
496 2004-11-06 Tom Tromey <tromey@redhat.com>
497
498 * java/io/FilePermission.java: Reindented.
499
500 2004-11-06 Tom Tromey <tromey@redhat.com>
501
502 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
503 package-private.
504 (setBlockDataMode): Likewise.
505
506 2004-11-06 Tom Tromey <tromey@redhat.com>
507
508 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
509 package-private.
510 (Encoder): Likewise.
511 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
512 (Encoder): Likewise.
513 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
514 package-private.
515 (Encoder): Likewise.
516
517 2004-11-06 Mark Wielaard <mark@klomp.org>
518
519 * Makefile.am: Add new javax.imageio files.
520 * Makefile.in: Regenerated.
521
522 2004-11-06 Michael Koch <konqueror@gmx.de>
523
524 * javax/imageio/event/IIOReadProgressListener.java,
525 javax/imageio/event/IIOReadUpdateListener.java,
526 javax/imageio/event/IIOReadWarningListener.java,
527 javax/imageio/event/IIOWriteProgressListener.java,
528 javax/imageio/event/IIOWriteWarningListener.java,
529 javax/imageio/metadata/IIOMetadataFormat.java,
530 javax/imageio/stream/FileCacheImageInputStream.java,
531 javax/imageio/stream/FileCacheImageOutputStream.java,
532 javax/imageio/stream/ImageInputStreamImpl.java:
533 Import cleanup.
534 * javax/imageio/metadata/package.html: New file.
535
536 2004-11-06 Michael Koch <konqueror@gmx.de>
537
538 * javax/imageio/spi/ImageReaderSpi.java
539 (isOwnReader): New method.
540 * javax/imageio/spi/ImageWriterSpi.java
541 (isOwnWriter): Likewise.
542
543 2004-11-06 Michael Koch <konqueror@gmx.de>
544
545 * javax/imageio/ImageWriter.java
546 (convertImageMetadata): New abstract method.
547 (convertStreamMetadata): Likewise.
548 (write): Likewise.
549 * javax/imageio/stream/FileCacheImageInputStream.java
550 (close): Fixed setting of stream to null.
551 (checkStreamClosed): Throws IOException.
552
553 2004-11-06 Michael Koch <konqueror@gmx.de>
554
555 * javax/imageio/stream/FileCacheImageInputStream.java,
556 javax/imageio/stream/FileCacheImageOutputStream.java,
557 javax/imageio/stream/FileImageInputStream.java,
558 javax/imageio/stream/FileImageOutputStream.java,
559 javax/imageio/stream/MemoryCacheImageInputStream.java,
560 javax/imageio/stream/MemoryCacheImageOutputStream.java:
561 New files.
562
563 2004-11-06 Michael Koch <konqueror@gmx.de>
564
565 * javax/imageio/metadata/IIOInvalidTreeException.java,
566 javax/imageio/metadata/IIOMetadataFormatImpl.java,
567 javax/imageio/metadata/IIOMetadataNode.java:
568 New stub files.
569
570 2004-11-06 Michael Koch <konqueror@gmx.de>
571
572 * javax/imageio/stream/ImageInputStreamImpl.java,
573 javax/imageio/stream/ImageOutputStreamImpl.java:
574 New files.
575
576 2004-11-06 Michael Koch <konqueror@gmx.de>
577
578 * javax/imageio/ImageIO.java:
579 Added much new methods.
580
581 2004-11-06 Michael Koch <konqueror@gmx.de>
582
583 * javax/imageio/ImageReader.java,
584 javax/imageio/ImageWriter.java,
585 javax/imageio/spi/ImageWriterSpi.java:
586 Add SOME new methods.
587
588 2004-11-06 Michael Koch <konqueror@gmx.de>
589
590 * javax/imageio/IIOParam.java,
591 javax/imageio/ImageReadParam.java,
592 javax/imageio/ImageReader.java,
593 javax/imageio/ImageWriter.java:
594 Mostly implemented.
595 * javax/imageio/spi/ImageReaderSpi.java,
596 javax/imageio/spi/ImageWriterSpi.java:
597 New files.
598
599 2004-11-06 Michael Koch <konqueror@gmx.de>
600
601 * javax/imageio/ImageWriteParam.java,
602 javax/imageio/metadata/IIOMetadataFormat.java:
603 Implemented.
604
605 2004-11-06 Michael Koch <konqueror@gmx.de>
606
607 * javax/imageio/ImageTypeSpecifier.java:
608 Mostly implemented.
609
610 2004-11-06 Michael Koch <konqueror@gmx.de>
611
612 * javax/imageio/metadata/IIOMetadata.java:
613 Mostly implemented.
614
615 2004-11-06 Michael Koch <konqueror@gmx.de>
616
617 * javax/imageio/IIOImage.java,
618 javax/imageio/ImageReadParam.java,
619 javax/imageio/metadata/IIOMetadataController.java,
620 javax/imageio/metadata/IIOMetadataFormat.java:
621 New files.
622 * javax/imageio/stream/ImageOutputStream.java:
623 Implemented.
624
625 2004-11-06 Michael Koch <konqueror@gmx.de>
626
627 * javax/imageio/IIOParam.java,
628 javax/imageio/IIOParamController.java,
629 javax/imageio/ImageTypeSpecifier.java,
630 javax/imageio/ImageWriteParam.java,
631 javax/imageio/metadata/IIOMetadata.java:
632 New files.
633 * javax/imageio/ImageTranscoder.java:
634 Implemented.
635
636 2004-11-06 Michael Koch <konqueror@gmx.de>
637
638 * javax/imageio/spi/ImageInputStreamSpi.java,
639 javax/imageio/spi/ImageOutputStreamSpi.java:
640 Reworked import startments.
641 * javax/imageio/spi/ServiceRegistry.java:
642 Reworked import startments. Fixed XHTML in javadocs.
643 (ServiceRegistry): Added @param tag to javadoc.
644 * javax/imageio/stream/ImageInputStream.java
645 (mark): Doesn't throws IOException;
646
647 2004-11-06 Michael Koch <konqueror@gmx.de>
648
649 * javax/imageio/ImageIO.java:
650 New file.
651
652 2004-11-06 Michael Koch <konqueror@gmx.de>
653
654 * javax/imageio/spi/IIORegistry.java
655 (static): Don't register ImageReaderSpi.class and
656 ImageWriterSpi.class yet.
657
658 2004-11-06 Michael Koch <konqueror@gmx.de>
659
660 * javax/imageio/spi/IIORegistry.java:
661 New file.
662
663 2004-11-06 Noa Resare <noa@resare.com>
664
665 * java/net/Socket.java (getPort): Return 0 instead of -1 on
666 unconnected sockets.
667
668 2004-11-06 Michael Koch <konqueror@gmx.de>
669
670 * java/lang/StringBuffer.java,
671 java/lang/Throwable.java,
672 java/security/spec/DSAParameterSpec.java,
673 java/util/zip/ZipEntry.java,
674 java/util/zip/ZipFile.java,
675 java/util/zip/ZipInputStream.java,
676 java/util/zip/ZipOutputStream.java:
677 Removed redundant and reordered modifiers.
678
679 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
680
681 * java/io/Vector.java
682 (writeObject): New function to serialized output thread safe.
683
684 * java/io/ObjectOutputStream.java
685 (writeObject): Move the assignment of the class handle to after
686 the assignment of class descriptor handle.
687
688 2004-11-06 Robert Schuster <thebohemian@gmx.net>
689
690 Fixes documentation and indentation
691 * java/beans/PropertyEditorSupport.java:
692 reworked initial API doc
693 (value): changed name from val
694
695 2004-11-06 Robert Schuster <thebohemian@gmx.net>
696
697 Updates to 1.5
698 * java/beans/PropertyEditorSupport.java
699 (PropertyEditorSupport()): Changed modifier to public
700 (PropertyEditorSupport(Object): Changed modifier to public
701 (setSource): New method
702 (getSource): New method
703
704 2004-11-06 Robert Schuster <thebohemian@gmx.net>
705
706 Fixes bug #10799
707 * java/beans/PropertyEditorSupport.java
708 (setValue): Fire property change event
709
710 2004-11-03 Tom Tromey <tromey@redhat.com>
711
712 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
713 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
714 returns jobjectArray.
715 (_Jv_JNIEnv::NewObjectArray): Likewise.
716
717 2004-11-01 Tom Tromey <tromey@redhat.com>
718
719 * verify.cc (state::check_no_uninitialized_objects): Removed.
720 (push_jump): Updated.
721 (push_exception_jump): Likewise.
722 (handle_ret_insn): Likewise.
723 (handle_jsr_insn): Likewise.
724
725 2004-10-30 Mark Wielaard <mark@klomp.org>
726
727 PR libgcj/18234
728 * java/lang/Runtime.java (static): Call init().
729 (Runtime): Remove call to init().
730 (init): Make static.
731
732 2004-10-28 David Daney <ddaney@avtrex.com>
733
734 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
735 * Makefile.am: Build it.
736 * Makefile.in: Regenerate.
737
738 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
739
740 PR libgcj/18104
741 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
742 colon.
743 * Makefile.in: Regenerate.
744 * configure: Regenerate.
745 * configure.ac (CLASSPATH_SEPARATOR): Define.
746 * gcj/Makefile.in: Regenerate.
747 * include/Makefile.in: Regenerate.
748 * testsuite/Makefile.in: Regenerate.
749 * testsuite/lib/libjava.exp (libjava_arguments): Fix
750 CLASSPATH separator handling for Windows.
751
752 2004-10-26 Michael Koch <konqueror@gmx.de>
753
754 * gnu/java/net/protocol/http/Connection.java
755 (getOutputStream): Implicitely switch to POST method.
756
757 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
758
759 * libjava/java/lang/Class.h
760 (java::lang::Class): Correct friend class declaration.
761
762 2004-10-25 Geoffrey Keating <geoffk@apple.com>
763
764 * Makefile.am (DARWIN_CRT_SRC): New.
765 (libgcj_la_SOURCES): Use it.
766 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
767 * darwin.cc: New file.
768 * include/jvm.h (_Jv_RegisterClasses): Constify.
769 (_Jv_RegisterClasses_Counted): New prototype.
770 * java/lang/Class.h: Include stddef.h.
771 (_Jv_RegisterClasses): Constify.
772 (_Jv_RegisterClasses_Counted): New prototype.
773 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
774 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
775 (_Jv_RegisterClasses_Counted): New function.
776 * configure: Regenerate.
777 * Makefile.in: Regenerate.
778 * gcj/Makefile.in: Regenerate.
779 * include/Makefile.in: Regenerate.
780 * testsuite/Makefile.in: Regenerate.
781
782 2004-10-25 Tom Tromey <tromey@redhat.com>
783
784 * java/util/ResourceBundle.java (tryBundle): Use
785 Class.isAssignableFrom rather than catching ClassCastException.
786
787 2004-10-25 Tom Tromey <tromey@redhat.com>
788
789 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
790 initialize `iter'.
791 * gnu/java/text/SentenceBreakIterator.java
792 (SentenceBreakIterator): Don't initialize `iter'.
793 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
794 initialize `iter'.
795 * gnu/java/text/CharacterBreakIterator.java
796 (CharacterBreakIterator): Don't initialize `iter'.
797 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
798 constructor.
799 * java/text/BreakIterator.java: Updated documentation.
800
801 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
802
803 PR other/18138
804 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
805
806 2004-10-23 Michael Koch <konqueror@gmx.de>
807
808 * javax/print/DocFlavor.java,
809 javax/print/attribute/standard/JobStateReason.java,
810 javax/print/attribute/standard/MultipleDocumentHandling.java:
811 Added missing constants.
812
813 2004-10-22 Tom Tromey <tromey@redhat.com>
814
815 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
816 typo.
817
818 2004-10-22 Michael Koch <konqueror@gmx.de>
819
820 PR libjava/14009
821 * gnu/java/net/protocol/http/Connection.java
822 (sendRequest): Handle case when url.getFile() returns an empty string.
823
824 2004-10-22 Michael Koch <konqueror@gmx.de>
825
826 * java/lang/Math.java,
827 java/lang/StackTraceElement.java,
828 java/nio/Buffer.java,
829 java/nio/ByteBuffer.java,
830 java/nio/CharBuffer.java,
831 java/nio/DoubleBuffer.java,
832 java/nio/FloatBuffer.java,
833 java/nio/IntBuffer.java,
834 java/nio/LongBuffer.java,
835 java/nio/ShortBuffer.java,
836 java/nio/charset/Charset.java,
837 java/rmi/server/RMIClassLoader.java,
838 java/rmi/server/RMISocketFactory.java,
839 java/security/Policy.java,
840 java/text/ChoiceFormat.java,
841 java/text/CollationElementIterator.java,
842 java/text/DateFormat.java,
843 java/text/DecimalFormat.java,
844 java/text/DecimalFormatSymbols.java,
845 java/text/MessageFormat.java,
846 java/text/NumberFormat.java,
847 java/text/RuleBasedCollator.java,
848 java/text/SimpleDateFormat.java,
849 java/util/BitSet.java,
850 java/util/Calendar.java,
851 java/util/Collections.java,
852 java/util/IdentityHashMap.java,
853 java/util/Locale.java,
854 java/util/TreeMap.java,
855 java/util/logging/LogRecord.java,
856 java/util/logging/XMLFormatter.java,
857 java/util/prefs/AbstractPreferences.java,
858 java/util/prefs/Preferences.java,
859 javax/crypto/interfaces/DHPrivateKey.java,
860 javax/crypto/interfaces/DHPublicKey.java,
861 javax/crypto/interfaces/PBEKey.java,
862 javax/net/ssl/HandshakeCompletedEvent.java,
863 javax/security/auth/Subject.java:
864 Removed redundant and reordered modifiers.
865
866 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
867
868 * gnu/java/net/natPlainSocketImplPosix.cc
869 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
870 with 'int *' argument instead of 'long *'.
871
872 2004-10-21 Michael Koch <konqueror@gmx.de>
873
874 * java/net/NetworkInterface.java,
875 java/text/Format.java,
876 javax/security/auth/x500/X500Principal.java,
877 javax/security/auth/x500/X500PrivateCredential.java,
878 javax/security/cert/X509CertBridge.java,
879 javax/security/sasl/Sasl.java,
880 javax/sql/XAConnection.java:
881 Import cleanup.
882
883 2004-10-21 Michael Koch <konqueror@gmx.de>
884
885 * javax/net/ssl/HandshakeCompletedEvent.java,
886 javax/net/ssl/KeyManagerFactory.java,
887 javax/net/ssl/SSLContext.java,
888 javax/net/ssl/SSLServerSocketFactory.java,
889 javax/net/ssl/SSLSession.java,
890 javax/net/ssl/SSLSocketFactory.java,
891 javax/net/ssl/TrustManagerFactory.java:
892 Import cleanup.
893
894 2004-10-21 Michael Koch <konqueror@gmx.de>
895
896 * javax/naming/directory/BasicAttribute.java,
897 javax/naming/directory/BasicAttributes.java,
898 javax/naming/directory/InitialDirContext.java,
899 javax/naming/event/NamingEvent.java,
900 javax/naming/ldap/ControlFactory.java,
901 javax/naming/ldap/ExtendedRequest.java,
902 javax/naming/ldap/InitialLdapContext.java,
903 javax/naming/ldap/LdapReferralException.java,
904 javax/naming/spi/DirObjectFactory.java,
905 javax/naming/spi/DirStateFactory.java,
906 javax/naming/spi/DirectoryManager.java,
907 javax/naming/spi/InitialContextFactory.java,
908 javax/naming/spi/InitialContextFactoryBuilder.java,
909 javax/naming/spi/NamingManager.java,
910 javax/naming/spi/ObjectFactory.java,
911 javax/naming/spi/ObjectFactoryBuilder.java,
912 javax/naming/spi/StateFactory.java:
913 Import cleanup.
914
915 2004-10-21 Michael Koch <konqueror@gmx.de>
916
917 * javax/crypto/Cipher.java,
918 javax/crypto/EncryptedPrivateKeyInfo.java,
919 javax/crypto/ExemptionMechanism.java,
920 javax/crypto/KeyAgreement.java,
921 javax/crypto/KeyGenerator.java,
922 javax/crypto/Mac.java,
923 javax/crypto/SecretKeyFactory.java,
924 javax/crypto/SecretKeyFactorySpi.java,
925 javax/crypto/spec/SecretKeySpec.java:
926 Import cleanup.
927
928 2004-10-21 Michael Koch <konqueror@gmx.de>
929
930 * java/security/AlgorithmParameterGenerator.java,
931 java/security/AlgorithmParameters.java,
932 java/security/AlgorithmParametersSpi.java,
933 java/security/AllPermission.java,
934 java/security/BasicPermission.java,
935 java/security/Certificate.java,
936 java/security/CodeSource.java,
937 java/security/DigestInputStream.java,
938 java/security/DigestOutputStream.java,
939 java/security/GuardedObject.java,
940 java/security/KeyFactory.java,
941 java/security/KeyFactorySpi.java,
942 java/security/KeyPairGenerator.java,
943 java/security/KeyStore.java,
944 java/security/KeyStoreSpi.java,
945 java/security/Permissions.java,
946 java/security/Security.java,
947 java/security/Signature.java,
948 java/security/UnresolvedPermission.java,
949 java/security/cert/CertPathBuilder.java,
950 java/security/cert/CertPathValidator.java,
951 java/security/cert/CertStore.java,
952 java/security/cert/Certificate.java,
953 java/security/cert/CertificateFactory.java,
954 java/security/cert/PolicyQualifierInfo.java,
955 java/security/cert/TrustAnchor.java,
956 java/security/cert/X509CRL.java,
957 java/security/cert/X509CRLSelector.java,
958 java/security/cert/X509CertSelector.java:
959 Import cleanup.
960
961 2004-10-21 Michael Koch <konqueror@gmx.de>
962
963 * java/rmi/MarshalledObject.java,
964 java/rmi/Naming.java,
965 java/rmi/activation/Activatable.java,
966 java/rmi/activation/ActivationGroup.java,
967 java/rmi/activation/ActivationGroupDesc.java,
968 java/rmi/activation/ActivationInstantiator.java,
969 java/rmi/activation/ActivationMonitor.java,
970 java/rmi/activation/ActivationSystem.java,
971 java/rmi/activation/Activator.java,
972 java/rmi/registry/LocateRegistry.java,
973 java/rmi/registry/Registry.java,
974 java/rmi/server/LogStream.java,
975 java/rmi/server/ObjID.java,
976 java/rmi/server/RMIClientSocketFactory.java,
977 java/rmi/server/RMIServerSocketFactory.java,
978 java/rmi/server/RMISocketFactory.java,
979 java/rmi/server/RemoteCall.java,
980 java/rmi/server/RemoteServer.java,
981 java/rmi/server/ServerRef.java,
982 java/rmi/server/UID.java,
983 java/rmi/server/UnicastRemoteObject.java:
984 Import cleanup.
985
986 2004-10-21 Tom Tromey <tromey@redhat.com>
987
988 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
989 exception if we hit EOF of `in'.
990 (read): Handle case where inflating returns -1.
991
992 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
993
994 * gnu/java/nio/channels/natFileChannelPosix.cc
995 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
996 argument instead of 'long *'.
997
998 2004-10-21 Tom Tromey <tromey@redhat.com>
999
1000 * java/util/ResourceBundle.java (tryBundle): Also ignore
1001 ClassCastException.
1002
1003 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
1004
1005 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
1006 for all sh*-*-linux* targets.
1007 * configure: Regenerate.
1008 * include/sh-signal.h: New file.
1009
1010 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1011
1012 * java/lang/ieeefp.h: Add m32r support.
1013
1014 2004-10-20 Andreas Schwab <schwab@suse.de>
1015
1016 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
1017 to uaddr, not int.
1018 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1019 Likewise.
1020
1021 2004-10-20 Michael Koch <konqueror@gmx.de>
1022
1023 * javax/print/attribute/standard/ColorSupported.java,
1024 javax/print/attribute/standard/Compression.java,
1025 javax/print/attribute/standard/Copies.java,
1026 javax/print/attribute/standard/CopiesSupported.java,
1027 javax/print/attribute/standard/DateTimeAtCompleted.java,
1028 javax/print/attribute/standard/DateTimeAtCreation.java,
1029 javax/print/attribute/standard/DateTimeAtProcessing.java,
1030 javax/print/attribute/standard/DocumentName.java,
1031 javax/print/attribute/standard/Fidelity.java,
1032 javax/print/attribute/standard/Finishings.java,
1033 javax/print/attribute/standard/JobHoldUntil.java,
1034 javax/print/attribute/standard/JobImpressions.java,
1035 javax/print/attribute/standard/JobImpressionsCompleted.java,
1036 javax/print/attribute/standard/JobImpressionsSupported.java,
1037 javax/print/attribute/standard/JobKOctets.java,
1038 javax/print/attribute/standard/JobKOctetsProcessed.java,
1039 javax/print/attribute/standard/JobKOctetsSupported.java,
1040 javax/print/attribute/standard/JobMediaSheets.java,
1041 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1042 javax/print/attribute/standard/JobMediaSheetsSupported.java,
1043 javax/print/attribute/standard/JobMessageFromOperator.java,
1044 javax/print/attribute/standard/JobName.java,
1045 javax/print/attribute/standard/JobOriginatingUserName.java,
1046 javax/print/attribute/standard/JobPriority.java,
1047 javax/print/attribute/standard/JobPrioritySupported.java,
1048 javax/print/attribute/standard/JobSheets.java,
1049 javax/print/attribute/standard/JobState.java,
1050 javax/print/attribute/standard/JobStateReason.java,
1051 javax/print/attribute/standard/JobStateReasons.java,
1052 javax/print/attribute/standard/Media.java,
1053 javax/print/attribute/standard/MultipleDocumentHandling.java,
1054 javax/print/attribute/standard/NumberOfDocuments.java,
1055 javax/print/attribute/standard/NumberOfInterveningJobs.java,
1056 javax/print/attribute/standard/NumberUp.java,
1057 javax/print/attribute/standard/NumberUpSupported.java,
1058 javax/print/attribute/standard/OrientationRequested.java,
1059 javax/print/attribute/standard/OutputDeviceAssigned.java,
1060 javax/print/attribute/standard/PDLOverrideSupported.java,
1061 javax/print/attribute/standard/PageRanges.java,
1062 javax/print/attribute/standard/PagesPerMinute.java,
1063 javax/print/attribute/standard/PagesPerMinuteColor.java,
1064 javax/print/attribute/standard/PrintQuality.java,
1065 javax/print/attribute/standard/PrinterInfo.java,
1066 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1067 javax/print/attribute/standard/PrinterLocation.java,
1068 javax/print/attribute/standard/PrinterMakeAndModel.java,
1069 javax/print/attribute/standard/PrinterMessageFromOperator.java,
1070 javax/print/attribute/standard/PrinterMoreInfo.java,
1071 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1072 javax/print/attribute/standard/PrinterName.java,
1073 javax/print/attribute/standard/PrinterStateReason.java,
1074 javax/print/attribute/standard/PrinterStateReasons.java,
1075 javax/print/attribute/standard/PrinterURI.java,
1076 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1077 javax/print/attribute/standard/RequestingUserName.java:
1078 Reorganized imports and removed redundant final modifiers.
1079
1080 2004-10-20 Michael Koch <konqueror@gmx.de>
1081
1082 * javax/security/sasl/SaslClient.java,
1083 javax/security/sasl/SaslClientFactory.java,
1084 javax/security/sasl/SaslException.java,
1085 javax/security/sasl/SaslServer.java,
1086 javax/security/sasl/SaslServerFactory.java:
1087 Remvoed CVS tags.
1088
1089 2004-10-20 Michael Koch <konqueror@gmx.de>
1090
1091 * javax/security/auth/login/NullConfiguration.java,
1092 javax/security/auth/x500/X500Principal.java,
1093 javax/security/cert/X509Certificate.java,
1094 javax/security/sasl/AuthenticationException.java,
1095 javax/security/sasl/AuthorizeCallback.java,
1096 javax/security/sasl/RealmCallback.java,
1097 javax/security/sasl/RealmChoiceCallback.java,
1098 javax/security/sasl/Sasl.java,
1099 javax/security/sasl/SaslClient.java,
1100 javax/security/sasl/SaslClientFactory.java,
1101 javax/security/sasl/SaslException.java,
1102 javax/security/sasl/SaslServer.java,
1103 javax/security/sasl/SaslServerFactory.java:
1104 Cleaned up import statements and copyright notices.
1105
1106 2004-10-20 Michael Koch <konqueror@gmx.de>
1107
1108 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1109
1110 2004-10-20 Michael Koch <konqueror@gmx.de>
1111
1112 * java/sql/Timestamp.java,
1113 java/text/AttributedCharacterIterator.java,
1114 java/text/AttributedString.java,
1115 java/util/zip/CheckedOutputStream.java,
1116 java/util/zip/DeflaterOutputStream.java,
1117 java/util/zip/ZipFile.java,
1118 javax/crypto/Cipher.java,
1119 javax/crypto/ExemptionMechanismException.java,
1120 javax/crypto/SecretKey.java,
1121 javax/crypto/SecretKeyFactory.java,
1122 javax/naming/directory/ModificationItem.java,
1123 javax/naming/directory/SearchControls.java,
1124 javax/naming/event/NamingListener.java,
1125 javax/naming/ldap/Control.java,
1126 javax/naming/ldap/ExtendedResponse.java,
1127 javax/net/ssl/SSLSocketFactory.java:
1128 Reorganized imports and fixed copyright headers.
1129
1130 2004-10-20 Michael Koch <konqueror@gmx.de>
1131
1132 * java/util/logging/ConsoleHandler.java,
1133 java/util/logging/ErrorManager.java,
1134 java/util/logging/FileHandler.java,
1135 java/util/logging/Filter.java,
1136 java/util/logging/Formatter.java,
1137 java/util/logging/Handler.java,
1138 java/util/logging/Level.java,
1139 java/util/logging/LogManager.java,
1140 java/util/logging/LogRecord.java,
1141 java/util/logging/Logger.java,
1142 java/util/logging/LoggingPermission.java,
1143 java/util/logging/MemoryHandler.java,
1144 java/util/logging/SimpleFormatter.java,
1145 java/util/logging/SocketHandler.java,
1146 java/util/logging/StreamHandler.java,
1147 java/util/logging/XMLFormatter.java:
1148 Standardized copyrigth header.
1149
1150 2004-10-20 Michael Koch <konqueror@gmx.de>
1151
1152 * java/security/AlgorithmParameterGenerator.java,
1153 java/security/AlgorithmParameters.java,
1154 java/security/DigestInputStream.java,
1155 java/security/Identity.java,
1156 java/security/KeyFactory.java,
1157 java/security/KeyPairGenerator.java,
1158 java/security/KeyStore.java,
1159 java/security/MessageDigest.java,
1160 java/security/MessageDigestSpi.java,
1161 java/security/Policy.java,
1162 java/security/SecureRandom.java,
1163 java/security/Security.java,
1164 java/security/Signature.java,
1165 java/security/SignatureSpi.java,
1166 java/security/cert/CertPathBuilder.java,
1167 java/security/cert/CertPathValidator.java,
1168 java/security/cert/CertStore.java,
1169 java/security/cert/Certificate.java,
1170 java/security/cert/CertificateFactory.java,
1171 java/security/cert/PolicyQualifierInfo.java,
1172 java/security/cert/TrustAnchor.java,
1173 java/security/cert/X509CRL.java,
1174 java/security/cert/X509CRLEntry.java,
1175 java/security/cert/X509Certificate.java,
1176 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1177 Import statements reorganized, some little formatting issues,
1178 used java-style array declarations, added comments in empty catch
1179 blocks.
1180
1181 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1182
1183 * java/security/Security.java
1184 (static): Use AccessController.doPrivileged to get system property.
1185
1186 2004-10-18 Sven de Marothy <sven@physto.se>
1187
1188 * java/nio/ByteBufferHelper.java
1189 (putDouble): Use Double.toRawLongBits instead.
1190
1191 2004-10-18 Mark Wielaard <mark@klomp.org>
1192 Andrew Haley <aph@redhat.com>
1193
1194 * testsuite/libjava.lang/ExtraClassLoader.java: New.
1195
1196 2004-10-18 Andrew Haley <aph@redhat.com>
1197
1198 PR java/18036:
1199 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1200 and correct logic used to find interpreter.
1201
1202 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1203
1204 * java/util/logging/LogManager.java
1205 (findAncestor): Fixed IndexOutOfBoundsException.
1206
1207 2004-10-18 Michael Koch <konqueror@gmx.de>
1208
1209 * java/io/BufferedInputStream.java: Fixed @author tag.
1210 (read): Simplified expression.
1211 (read): Merged javadoc a bit more.
1212 (read): Renamed 'remain' to 'totalBytesRead'.
1213 * java/io/DataInputStream.java,
1214 java/io/DataOutputStream.java,
1215 java/io/ObjectInputStream.java,
1216 java/io/ObjectOutputStream.java:
1217 Reworked modifier order.
1218
1219 2004-10-18 Michael Koch <konqueror@gmx.de>
1220
1221 * java/net/Inet4Address.java: Merged file header and javadocs.
1222 * java/net/Inet6Address.java: Likewise.
1223 * java/net/InetAddress.java
1224 (getCanonicalHostName): Create Inet4Address object instead of
1225 InetAddress and add comment regarding IPv6.
1226 (toString): Simplified.
1227
1228 2004-10-18 Michael Koch <konqueror@gmx.de>
1229
1230 * gnu/java/net/protocol/http/Connection.java,
1231 java/nio/MappedByteBufferImpl.java,
1232 java/text/RuleBasedCollator.java,
1233 java/util/ResourceBundle.java:
1234 Reworked import statements.
1235
1236 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1237
1238 * java/security/IdentityScope.java
1239 (systemScope): Removed useless initializer.
1240 * java/security/Policy.java
1241 (currentPolicy): Likewise.
1242
1243 2004-10-18 Michael Koch <konqueror@gmx.de>
1244
1245 * java/lang/System.java: Revert accidential change.
1246
1247 2004-10-18 Michael Koch <konqueror@gmx.de>
1248
1249 * java/lang/Math.java,
1250 java/lang/Package.java,
1251 java/lang/Runtime.java,
1252 java/lang/StrictMath.java,
1253 java/lang/System.java,
1254 java/lang/Thread.java,
1255 java/lang/ThreadLocal.java,
1256 java/lang/Void.java:
1257 Reworked import statements, HTML in javadocs and modifier orders.
1258
1259 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1260
1261 * java/util/Timer.java
1262 (nr): Removed useless initializer.
1263 * java/util/logging/LogRecord.java
1264 (lastSeqNum): Likewise.
1265 * javax/naming/spi/NamingManager.java
1266 (icfb, ofb): Likewise.
1267
1268 2004-10-18 Michael Koch <konqueror@gmx.de>
1269
1270 * gnu/java/net/PlainDatagramSocketImpl.java:
1271 Reworked import statements.
1272 * gnu/java/security/provider/DSAParameters.java:
1273 Fixed copyrigth years.
1274 * java/net/JarURLConnection.java:
1275 Fixed HTML in @author tags.
1276
1277
1278 2004-10-18 Michael Koch <konqueror@gmx.de>
1279
1280 * java/rmi/activation/ActivationSystem.java
1281 (SYSTEM_PORT): Initialize with correct port number.
1282
1283 2004-10-18 Michael Koch <konqueror@gmx.de>
1284
1285 * java/lang/reflect/Proxy.java: Improved javadocs.
1286
1287 2004-10-18 Michael Koch <konqueror@gmx.de>
1288
1289 * java/lang/reflect/AccessibleObject.java
1290 (checkPermission): Removed redundant final modifier.
1291 (secureSetAccessible): Likewise.
1292 * java/lang/reflect/Proxy.java:
1293 Reworked import statements.
1294 (generate): Removed redundant final modifier.
1295 * java/lang/reflect/ReflectPermission.java:
1296 Reorder package declaration and import statement.
1297
1298 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1299
1300 * java/lang/reflect/Proxy.java
1301 (count): Removed useless initializer.
1302
1303 2004-10-17 Michael Koch <konqueror@gmx.de>
1304
1305 * java/net/BindException.java,
1306 java/net/ConnectException.java,
1307 java/net/ContentHandler.java,
1308 java/net/ContentHandlerFactory.java,
1309 java/net/DatagramPacket.java,
1310 java/net/DatagramSocket.java,
1311 java/net/DatagramSocketImpl.java,
1312 java/net/DatagramSocketImplFactory.java,
1313 java/net/FileNameMap.java,
1314 java/net/HttpURLConnection.java,
1315 java/net/MalformedURLException.java,
1316 java/net/MulticastSocket.java,
1317 java/net/NetworkInterface.java,
1318 java/net/NoRouteToHostException.java,
1319 java/net/PasswordAuthentication.java,
1320 java/net/PortUnreachableException.java,
1321 java/net/ProtocolException.java,
1322 java/net/ServerSocket.java,
1323 java/net/Socket.java,
1324 java/net/SocketException.java,
1325 java/net/SocketImpl.java,
1326 java/net/SocketImplFactory.java,
1327 java/net/SocketOptions.java,
1328 java/net/SocketPermission.java,
1329 java/net/SocketTimeoutException.java,
1330 java/net/URI.java,
1331 java/net/URISyntaxException.java,
1332 java/net/URL.java,
1333 java/net/URLDecoder.java,
1334 java/net/URLEncoder.java,
1335 java/net/URLStreamHandler.java,
1336 java/net/URLStreamHandlerFactory.java,
1337 java/net/UnknownHostException.java,
1338 java/net/UnknownServiceException.java:
1339 Big import statement and @author tag cleanup.
1340
1341 2004-10-17 Michael Koch <konqueror@gmx.de>
1342
1343 * gnu/java/security/OID.java,
1344 gnu/java/security/provider/DSAParameters.java,
1345 gnu/java/security/provider/DSASignature.java,
1346 gnu/java/security/x509/X500DistinguishedName.java,
1347 gnu/java/security/x509/X509CRL.java:
1348 Import statements cleaned up.
1349
1350 2004-10-16 Michael Koch <konqueror@gmx.de>
1351
1352 * gnu/java/nio/NIODatagramSocket.java,
1353 gnu/java/nio/ServerSocketChannelImpl.java:
1354 Reorganized import statements.
1355
1356 2004-10-16 Michael Koch <konqueror@gmx.de>
1357
1358 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1359 gnu/java/rmi/rmic/RMIC.java,
1360 gnu/java/rmi/server/RMIHashes.java,
1361 gnu/java/rmi/server/RMIObjectInputStream.java,
1362 gnu/java/rmi/server/RMIObjectOutputStream.java,
1363 gnu/java/rmi/server/UnicastConnection.java,
1364 gnu/java/rmi/server/UnicastConnectionManager.java,
1365 gnu/java/rmi/server/UnicastRemoteCall.java,
1366 gnu/java/rmi/server/UnicastServer.java,
1367 gnu/java/rmi/server/UnicastServerRef.java,
1368 java/rmi/MarshalledObject.java,
1369 java/rmi/Naming.java,
1370 java/rmi/RMISecurityManager.java,
1371 java/rmi/Remote.java,
1372 java/rmi/activation/Activatable.java,
1373 java/rmi/activation/ActivationDesc.java,
1374 java/rmi/activation/ActivationGroup.java,
1375 java/rmi/activation/ActivationGroupDesc.java,
1376 java/rmi/activation/ActivationGroupID.java,
1377 java/rmi/activation/ActivationID.java,
1378 java/rmi/activation/ActivationInstantiator.java,
1379 java/rmi/activation/ActivationMonitor.java,
1380 java/rmi/activation/ActivationSystem.java,
1381 java/rmi/activation/Activator.java,
1382 java/rmi/dgc/DGC.java,
1383 java/rmi/dgc/Lease.java,
1384 java/rmi/dgc/VMID.java,
1385 java/rmi/registry/LocateRegistry.java,
1386 java/rmi/registry/Registry.java,
1387 java/rmi/registry/RegistryHandler.java,
1388 java/rmi/server/LoaderHandler.java,
1389 java/rmi/server/LogStream.java,
1390 java/rmi/server/ObjID.java,
1391 java/rmi/server/Operation.java,
1392 java/rmi/server/RMIClassLoader.java,
1393 java/rmi/server/RMIClassLoaderSpi.java,
1394 java/rmi/server/RMIClientSocketFactory.java,
1395 java/rmi/server/RMIFailureHandler.java,
1396 java/rmi/server/RMIServerSocketFactory.java,
1397 java/rmi/server/RMISocketFactory.java,
1398 java/rmi/server/RemoteCall.java,
1399 java/rmi/server/RemoteObject.java,
1400 java/rmi/server/RemoteRef.java,
1401 java/rmi/server/RemoteServer.java,
1402 java/rmi/server/RemoteStub.java,
1403 java/rmi/server/ServerRef.java,
1404 java/rmi/server/Skeleton.java,
1405 java/rmi/server/SkeletonMismatchException.java,
1406 java/rmi/server/UID.java,
1407 java/rmi/server/UnicastRemoteObject.java,
1408 java/rmi/server/Unreferenced.java:
1409 File headers and import statements cleaned up.
1410
1411 2004-10-16 Michael Koch <konqueror@gmx.de>
1412
1413 * libjava/gnu/java/nio/charset/UTF_16.java,
1414 libjava/gnu/java/nio/charset/UTF_16BE.java,
1415 libjava/gnu/java/nio/charset/UTF_16LE.java,
1416 libjava/java/nio/ByteOrder.java,
1417 libjava/java/nio/MappedByteBuffer.java,
1418 libjava/java/nio/channels/Channels.java,
1419 libjava/java/nio/channels/spi/SelectorProvider.java,
1420 libjava/java/nio/charset/Charset.java:
1421 Cleanup.
1422
1423 2004-10-16 Michael Koch <konqueror@gmx.de>
1424
1425 * gnu/java/nio/charset/UTF_16Encoder.java
1426 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1427
1428 2004-10-16 Michael Koch <konqueror@gmx.de>
1429
1430 * java/math/BigDecimal.java, java/math/BigInteger.java:
1431 Reorganized import statements, removed redundant and
1432 reorganized modifiers.
1433
1434 2004-10-16 Michael Koch <konqueror@gmx.de>
1435
1436 * gnu/java/beans/ExplicitBeanInfo.java:
1437 Explicitely import java.awt.Image.
1438 (getIcon): Fixed off-by-one error.
1439
1440 2004-10-15 Andrew Haley <aph@redhat.com>
1441
1442 * Makefile.am (nat_files, xlib_nat_files): New.
1443 * Makefile.in: Regenerate.
1444
1445 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1446
1447 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1448 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1449
1450 2004-10-13 Andrew Haley <aph@redhat.com>
1451
1452 * interpret.cc (_Jv_InterpMethod::run): Initialize
1453 _Jv_StartOfInterpreter.
1454 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1455 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1456 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1457 _Unwind_FindEnclosingFunction to discover whether PC is within the
1458 interpreter.
1459
1460 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1461
1462 PR libgcj/17903:
1463 * testsuite/libjava.lang/md5test.java: New file.
1464 * testsuite/libjava.lang/md5test.out: Likewise.
1465 * testsuite/libjava.lang/shatest.java: Likewise.
1466 * testsuite/libjava.lang/shatest.out: Likewise.
1467
1468 2004-10-11 Richard Henderson <rth@redhat.com>
1469
1470 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1471 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1472
1473 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1474
1475 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1476 field as a DST boundary may have been crossed.
1477 * java/util/GregorianCalendar.java (add): Throw
1478 IllegalArgumentException on attempt to add to DST_OFFSET or
1479 ZONE_OFFSET fields. Update javadoc.
1480
1481 2004-10-09 Michael Koch <konqueror@gmx.de>
1482
1483 * java/io/CharArrayWriter.java
1484 (resize): Removed redundant 'final' modifier.
1485 * java/io/DataInputStream.java
1486 (readFully): Throw IndexOutOfBoundsException of len < 0.
1487 * java/io/FileDescriptor.java,
1488 java/io/FileInputStream.java,
1489 java/io/FileOutputStream.java,
1490 java/io/ObjectOutputStream.java,
1491 java/io/ObjectStreamClass.java,
1492 java/io/PipedInputStream.java,
1493 java/io/RandomAccessFile.java:
1494 Reorganized import statements.
1495
1496 2004-10-09 Michael Koch <konqueror@gmx.de>
1497
1498 * gnu/java/rmi/rmic/RMIC.java,
1499 gnu/java/rmi/server/RMIHashes.java,
1500 gnu/java/rmi/server/RMIObjectInputStream.java,
1501 gnu/java/rmi/server/UnicastConnection.java,
1502 gnu/java/rmi/server/UnicastConnectionManager.java,
1503 gnu/java/rmi/server/UnicastRemoteCall.java,
1504 gnu/java/rmi/server/UnicastServerRef.java:
1505 Reworked import statements and fixed file headers.
1506
1507 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1508
1509 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1510 emission rule.
1511 * configure: Rebuilt.
1512
1513 2004-09-30 Tom Tromey <tromey@redhat.com>
1514
1515 * java/text/MessageFormat.java (Field): Constructor now
1516 protected.
1517
1518 2004-09-30 Tom Tromey <tromey@redhat.com>
1519
1520 * javax/crypto/MacSpi.java: Fixed typo.
1521
1522 2004-09-30 Michael Koch <konqueror@gmx.de>
1523
1524 * java/net/InetAddress.java: Reformatted.
1525 (loopback): Initialize with Inet4Address object.
1526 (static): Initialize ANY_IF with Inet4Address object.
1527 (InetAddress): Removed unused package-private constructor.
1528
1529 2004-09-30 Michael Koch <konqueror@gmx.de>
1530
1531 * java/beans/Beans.java,
1532 java/beans/EventHandler.java,
1533 java/beans/EventSetDescriptor.java,
1534 java/beans/Introspector.java,
1535 java/beans/PropertyEditorManager.java,
1536 java/beans/beancontext/BeanContext.java,
1537 java/beans/beancontext/BeanContextChild.java,
1538 java/beans/beancontext/BeanContextChildSupport.java,
1539 java/beans/beancontext/BeanContextMembershipEvent.java:
1540 Reordered import statements and removed redundant modifiers.
1541
1542 2004-09-29 Tom Tromey <tromey@redhat.com>
1543
1544 PR libgcj/17715:
1545 * Makefile.in: Rebuilt.
1546 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1547 files.
1548 (all_property_files): New macro.
1549
1550 * Makefile.in: Rebuilt.
1551 * Makefile.am (ordinary_java_source_files): Re-sorted.
1552 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1553
1554 2004-09-28 Tom Tromey <tromey@redhat.com>
1555
1556 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1557
1558 PR libgcj/17222:
1559 * Makefile.am (libgcj.la): Restored.
1560 * Makefile.in: Rebuilt.
1561
1562 2004-09-28 Michael Koch <konqueror@gmx.de>
1563
1564 * java/net/URLConnection.java: Reformatted.
1565 * java/net/URLClassLoader.java: Reformatted.
1566 (getContent): Reordered return of content.
1567 (getContentHandler): Don't check for null explicitely.
1568
1569 2004-09-27 Michael Koch <konqueror@gmx.de>
1570
1571 * java/io/BufferedInputStream.java
1572 (BufferedInputStream): Added Jeroen Frijters to authors.
1573 (count): Don't explicitely initialize with default value.
1574 (pos): Likewise.
1575 (marklimit): Likewise.
1576 (read): Changed boolean expression to match GNU classpath' version.
1577 (reset): Add proper message to exception.
1578 (skip): Check for closed stream.
1579 (refill): Likewise.
1580
1581 2004-09-26 Per Bothner <per@bothner.com>
1582
1583 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1584 avoid warnings in the non-POSIX_VERSION case.
1585 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1586 so place it inside an #if block.
1587 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1588 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1589 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1590 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1591
1592 2004-09-26 Per Bothner <per@bothner.com>
1593
1594 * prims.cc (process_gcj_properties): Optimization.
1595
1596 2004-09-26 Per Bothner <per@bothner.com>
1597
1598 * java/util/Collections.java (sort): Copy from array in forwards
1599 order, rather than reverse order which may be much less efficient.
1600
1601 2004-09-26 Mark Wielaard <mark@klomp.org>
1602
1603 * java/lang/System.java (properties): Make package private.
1604 * java/lang/Throwable.java (StaticData.nl): Initialize through
1605 directly accessing System.properties.getProperty().
1606
1607 * java/lang/Throwable.java (nl): Remove static field.
1608 (StaticData): New private static inner class.
1609 (stackTraceStringBuffer): Use StaticData.nl.
1610
1611 2004-09-26 Casey Marshall <csm@gnu.org>
1612
1613 * java/security/ProtectionDomain.java
1614 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1615 `true'.
1616
1617 * java/security/SecureClassLoader.java
1618 (defineClass): make protection domain dynamically bound.
1619 (getPermissions): call `getCurrentPolicy' to avoid permission
1620 check.
1621
1622 2004-09-25 Mark Wielaard <mark@klomp.org>
1623
1624 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1625 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1626 * Makefile.in: Regenerated.
1627
1628 * gcj/javaprims.h: Regenerated.
1629
1630 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1631 (getDefaultTimeZone): Make package private. Check that GMToffset
1632 contains at least one digit.
1633 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1634 VMTimeZone.
1635 * util/VMTimeZone.java: New file with above methods.
1636
1637 * java/util/natTimeZone.cc: Removed (renamed).
1638 * java/util/natVMTimeZone.cc: Added (renamed).
1639
1640 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1641
1642 * java/util/TimeZone.java
1643 (getDefaultTimeZone): Fixed test to distinguish between hours and
1644 minutes in specified timezone.
1645
1646 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1647
1648 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1649 handling of default package. (generate): Removed confused comments
1650 and code about making Method and Field accessible.
1651
1652 2004-09-25 Tom Tromey <tromey@redhat.com>
1653
1654 PR java/17500:
1655 * testsuite/libjava.compile/pr17500.java: New file.
1656
1657 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1658 Mark Wielaard <mark@klomp.org>
1659
1660 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1661 * gnu/regexp/RETokenLookAhead.java: New file.
1662
1663 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1664 * Makefile.in: Regenerated.
1665
1666 2004-09-25 Michael Koch <konqueror@gmx.de>
1667
1668 * java/io/ObjectStreamField.java:
1669 Removed unused import statement.
1670
1671 2004-09-24 Tom Tromey <tromey@redhat.com>
1672
1673 PR java/15656:
1674 * testsuite/libjava.compile/pr15656.xfail: New file.
1675 * testsuite/libjava.compile/pr15656.java: new file.
1676
1677 PR java/16789:
1678 * testsuite/libjava.lang/pr16789.out: New file.
1679 * testsuite/libjava.lang/pr16789.java: New file.
1680
1681 2004-09-24 Andrew Haley <aph@redhat.com>
1682
1683 PR java/16927
1684 * testsuite/libjava.compile/AssertBug.java: New file.
1685
1686 2004-09-24 Casey Marshall <csm@gnu.org>
1687
1688 * java/util/PropertyPermissionCollection.java
1689 (implies): avoid infinite loop.
1690
1691 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1692
1693 * javax/security/auth/PrivateCredentialPermission.java
1694 (PrivateCredentialPermission): added serialization UID
1695
1696
1697 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1698
1699 * gnu/java/rmi/server/UnicastServer.java
1700 (incomingMessageCall): Added code to handle Errors.
1701 * gnu/java/rmi/server/UnicastServerRef.java
1702 (incomingMessageCall): Added code to handle Errors.
1703
1704
1705 2004-09-24 Tom Tromey <tromey@redhat.com>
1706
1707 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1708 (definedPackages): Likewise.
1709
1710 2004-09-24 Michael Koch <konqueror@gmx.de>
1711
1712 * java/io/ObjectInputStream.java:
1713 Re-ordered imports.
1714
1715 2004-09-24 Casey Marshall <csm@gnu.org>
1716
1717 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1718 `ClassNotFoundException'.
1719
1720 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1721
1722 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1723 of Externalizable classes to ObjectStreamClass.
1724 * java/io/ObjectStreamClass.java (newInstance): New method to
1725 instantiate Externalizable (while ignoring the accessibility of
1726 the constructor). (constructor): New field to cache the constructor.
1727
1728 2004-09-24 Mark Wielaard <mark@klomp.org>
1729
1730 * java/net/URL.java (systemClassLoader): New static field.
1731 (getURLStreamHandler): Always use system/application classloader
1732 for finding URLStreamhandler. Remove unecessary instanceof checks.
1733
1734 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1735
1736 * java/net/URL.java
1737 (set): This method now matches the behaviour of the JDK.
1738 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1739
1740 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1741
1742 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1743
1744 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1745
1746 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1747 Don't set authority if host isn't specified.
1748
1749 2004-09-24 Michael Koch <konqueror@gmx.de>
1750
1751 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1752 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1753 * gnu/java/nio/VMPipe.java,
1754 gnu/java/nio/VMSelector.java:
1755 New files.
1756 * gnu/java/nio/natPipeImplEcos.cc,
1757 gnu/java/nio/natPipeImplPosix.cc,
1758 gnu/java/nio/natPipeImplWin32.cc:
1759 Ported to VMPipe.
1760 * gnu/java/nio/natSelectorImplEcos.cc,
1761 gnu/java/nio/natSelectorImplPosix.cc,
1762 gnu/java/nio/natSelectorImplWin32.cc:
1763 Ported to VMSelector.
1764 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1765 gnu/java/nio/VMSelector.java.
1766 * Makefile.in: Regenerated.
1767
1768 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1769
1770 * java/lang/StackTraceElement.java
1771 (className): Renamed field to declaringClass to be compatible
1772 with Sun serialization format.
1773
1774 2004-09-23 Michael Koch <konqueror@gmx.de>
1775
1776 * java/applet/AppletContext.java,
1777 java/applet/Applet.java,
1778 java/applet/AppletStub.java,
1779 java/applet/AudioClip.java:
1780 Jalopied and checkstyle clean.
1781
1782 2004-09-23 Mark Wielaard <mark@klomp.org>
1783
1784 * java/util/Collections.java
1785 (binarySearch(List, Object, Comparator)): Explicitly
1786 reverse direction in list iterator.
1787 (rotate): Just return when list is empty.
1788
1789 2004-09-23 Tom Tromey <tromey@redhat.com>
1790
1791 PR java/17329:
1792 * testsuite/libjava.compile/pr17329.java: New file.
1793
1794 PR java/17380:
1795 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1796 9.2-implicit-7.
1797
1798 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1799
1800 * Makefile.am: Run aclocal with -I ../config
1801 * acinclude.m4: Delete macros picked up from ../config and tidy.
1802 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1803 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1804 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1805
1806 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1807
1808 * aclocal.m4: Regenerate with aclocal 1.9.2.
1809 * configure: Regenerate.
1810 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1811 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1812
1813 2004-09-22 David Daney <ddaney@avtrex.com>
1814
1815 PR libgcj/17623
1816 * java/net/URL.java (URL): Copy userInfo from context.
1817 (getUserInfo): Return cached userInfo if present.
1818
1819 2004-09-22 Tom Tromey <tromey@redhat.com>
1820
1821 PR libgcj/6182:
1822 * mauve-libgcj: Enable java.lang.Character tests.
1823
1824 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1825
1826 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1827 dependencies.
1828 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1829 * Makefile.in: Regenerated.
1830
1831 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1832
1833 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1834 * configure: Regenerate.
1835 * include/config.h.in: Likewise.
1836 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1838 macro to gtkpeer.h.
1839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1840 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1841 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1842 architectures.
1843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1844 Likewise.
1845
1846 2004-09-22 Tom Tromey <tromey@redhat.com>
1847
1848 PR libgcj/14446:
1849 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1850 when comparing CRCs.
1851 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1852 field.
1853 (read()): New overload.
1854
1855 2004-09-21 Tom Tromey <tromey@redhat.com>
1856
1857 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1858 Indentation fix.
1859
1860 2004-09-21 Michael Koch <konqueror@gmx.de>
1861
1862 * java/net/Socket.java
1863 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1864
1865 2004-09-21 Casey Marshall <csm@gnu.org>
1866
1867 * javax/crypto/MacSpi.java (clone): Provide meaningful
1868 implementation.
1869
1870 2004-09-21 Tom Tromey <tromey@redhat.com>
1871
1872 PR libgcj/16869:
1873 * Makefile.in: Rebuilt.
1874 * Makefile.am (MOSTLYCLEANFILES): Removed.
1875 (mostlyclean-local): Remove header files.
1876
1877 2004-09-21 Casey Marshall <csm@gnu.org>
1878
1879 * java/security/cert/X509CRLSelector.java:
1880 (match): remove unreachable try-catch clauses.
1881 Reported by: Dalibor Topic <robilad@kaffe.org>
1882
1883 2004-09-21 Mark Wielaard <mark@klomp.org>
1884
1885 * java/util/TreeMap.java (root): Don't initialize.
1886 (TreeMap(Comparator)): Call fabricateTree(0).
1887 (fabricateTree): Initialize root and size when count is 0.
1888
1889 2004-09-21 Sven de Marothy <sven@physto.se>
1890
1891 * java/nio/ByteBuffer.java (hashCode): Implemented.
1892 * java/nio/CharBuffer.java: Likewise.
1893 * java/nio/DoubleBuffer.java: Likewise.
1894 * java/nio/FloatBuffer.java: Likewise.
1895 * java/nio/LongBuffer.java: Likewise.
1896 * java/nio/IntBuffer.java: Likewise.
1897 * java/nio/ShortBuffer.java: Likewise.
1898
1899 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1900
1901 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1902
1903 2004-09-21 Michael Koch <konqueror@gmx.de>
1904
1905 * javax/net/ssl/SSLServerSocket.java:
1906 Removed comment about "Do not edit this file, it's generated.".
1907
1908 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1909
1910 Import the big Crypto/Jessie/Security merge from Classpath.
1911
1912 * Makefile.am: Add imported files.
1913 * Makefile.in: Regenerate.
1914
1915 2004-08-14 Casey Marshall <csm@gnu.org>
1916
1917 The Big Crypto Merge of 2004.
1918
1919 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1920 Crypto's version.
1921
1922 Files imported from GNU Crypto.
1923 * javax/crypto/BadPaddingException.java
1924 * javax/crypto/Cipher.java
1925 * javax/crypto/CipherInputStream.java
1926 * javax/crypto/CipherOutputStream.java
1927 * javax/crypto/CipherSpi.java
1928 * javax/crypto/EncryptedPrivateKeyInfo.java
1929 * javax/crypto/ExemptionMechanism.java
1930 * javax/crypto/ExemptionMechanismException.java
1931 * javax/crypto/ExemptionMechanismSpi.java
1932 * javax/crypto/IllegalBlockSizeException.java
1933 * javax/crypto/KeyAgreement.java
1934 * javax/crypto/KeyAgreementSpi.java
1935 * javax/crypto/KeyGenerator.java
1936 * javax/crypto/KeyGeneratorSpi.java
1937 * javax/crypto/Mac.java
1938 * javax/crypto/MacSpi.java
1939 * javax/crypto/Makefile.am
1940 * javax/crypto/NoSuchPaddingException.java
1941 * javax/crypto/NullCipher.java
1942 * javax/crypto/NullCipherImpl.java
1943 * javax/crypto/SealedObject.java
1944 * javax/crypto/SecretKey.java
1945 * javax/crypto/SecretKeyFactory.java
1946 * javax/crypto/SecretKeyFactorySpi.java
1947 * javax/crypto/ShortBufferException.java
1948 * javax/crypto/interfaces/DHKey.java
1949 * javax/crypto/interfaces/DHPrivateKey.java
1950 * javax/crypto/interfaces/DHPublicKey.java
1951 * javax/crypto/interfaces/PBEKey.java
1952 * javax/crypto/spec/DESKeySpec.java
1953 * javax/crypto/spec/DESedeKeySpec.java
1954 * javax/crypto/spec/DHGenParameterSpec.java
1955 * javax/crypto/spec/DHParameterSpec.java
1956 * javax/crypto/spec/DHPrivateKeySpec.java
1957 * javax/crypto/spec/DHPublicKeySpec.java
1958 * javax/crypto/spec/IvParameterSpec.java
1959 * javax/crypto/spec/PBEKeySpec.java
1960 * javax/crypto/spec/PBEParameterSpec.java
1961 * javax/crypto/spec/RC2ParameterSpec.java
1962 * javax/crypto/spec/RC5ParameterSpec.java
1963 * javax/crypto/spec/SecretKeySpec.java
1964 * javax/security/auth/AuthPermission.java
1965 * javax/security/auth/DestroyFailedException.java
1966 * javax/security/auth/Destroyable.java
1967 * javax/security/auth/Policy.java
1968 * javax/security/auth/PrivateCredentialPermission.java
1969 * javax/security/auth/RefreshFailedException.java
1970 * javax/security/auth/Refreshable.java
1971 * javax/security/auth/Subject.java
1972 * javax/security/auth/SubjectDomainCombiner.java
1973 * javax/security/auth/callback/Callback.java
1974 * javax/security/auth/callback/CallbackHandler.java
1975 * javax/security/auth/callback/ChoiceCallback.java
1976 * javax/security/auth/callback/ConfirmationCallback.java
1977 * javax/security/auth/callback/LanguageCallback.java
1978 * javax/security/auth/callback/NameCallback.java
1979 * javax/security/auth/callback/PasswordCallback.java
1980 * javax/security/auth/callback/TextInputCallback.java
1981 * javax/security/auth/callback/TextOutputCallback.java
1982 * javax/security/auth/callback/UnsupportedCallbackException.java
1983 * javax/security/auth/login/AccountExpiredException.java
1984 * javax/security/auth/login/AppConfigurationEntry.java
1985 * javax/security/auth/login/Configuration.java
1986 * javax/security/auth/login/CredentialExpiredException.java
1987 * javax/security/auth/login/FailedLoginException.java
1988 * javax/security/auth/login/LoginContext.java
1989 * javax/security/auth/login/LoginException.java
1990 * javax/security/auth/login/NullConfiguration.java
1991 * javax/security/auth/x500/X500PrivateCredential.java
1992 * javax/security/sasl/AuthenticationException.java
1993 * javax/security/sasl/AuthorizeCallback.java
1994 * javax/security/sasl/RealmCallback.java
1995 * javax/security/sasl/RealmChoiceCallback.java
1996 * javax/security/sasl/Sasl.java
1997 * javax/security/sasl/SaslClient.java
1998 * javax/security/sasl/SaslClientFactory.java
1999 * javax/security/sasl/SaslException.java
2000 * javax/security/sasl/SaslServer.java
2001 * javax/security/sasl/SaslServerFactory.java
2002 * org/ietf/jgss/ChannelBinding.java
2003 * org/ietf/jgss/GSSContext.java
2004 * org/ietf/jgss/GSSCredential.java
2005 * org/ietf/jgss/GSSException.java
2006 * org/ietf/jgss/GSSManager.java
2007 * org/ietf/jgss/GSSName.java
2008 * org/ietf/jgss/MessageProp.java
2009 * org/ietf/jgss/Oid.java
2010 * org/ietf/jgss/MessagesBundle.properties
2011
2012 Files imported from Jessie <http://www.nongnu.org/jessie/>
2013 * javax/net/ServerSocketFactory.java
2014 * javax/net/SocketFactory.java
2015 * javax/net/VanillaServerSocketFactory.java
2016 * javax/net/VanillaSocketFactory.java
2017 * javax/net/ssl/HandshakeCompletedEvent.java
2018 * javax/net/ssl/HandshakeCompletedListener.java
2019 * javax/net/ssl/HostnameVerifier.java
2020 * javax/net/ssl/HttpsURLConnection.java
2021 * javax/net/ssl/KeyManager.java
2022 * javax/net/ssl/KeyManagerFactory.java
2023 * javax/net/ssl/KeyManagerFactorySpi.java
2024 * javax/net/ssl/ManagerFactoryParameters.java
2025 * javax/net/ssl/SSLContext.java
2026 * javax/net/ssl/SSLContextSpi.java
2027 * javax/net/ssl/SSLException.java
2028 * javax/net/ssl/SSLHandshakeException.java
2029 * javax/net/ssl/SSLKeyException.java
2030 * javax/net/ssl/SSLPeerUnverifiedException.java
2031 * javax/net/ssl/SSLPermission.java
2032 * javax/net/ssl/SSLProtocolException.java
2033 * javax/net/ssl/SSLServerSocket.java
2034 * javax/net/ssl/SSLServerSocketFactory.java
2035 * javax/net/ssl/SSLSession.java
2036 * javax/net/ssl/SSLSessionBindingEvent.java
2037 * javax/net/ssl/SSLSessionBindingListener.java
2038 * javax/net/ssl/SSLSessionContext.java
2039 * javax/net/ssl/SSLSocket.java
2040 * javax/net/ssl/SSLSocketFactory.java
2041 * javax/net/ssl/TrivialHostnameVerifier.java
2042 * javax/net/ssl/TrustManager.java
2043 * javax/net/ssl/TrustManagerFactory.java
2044 * javax/net/ssl/TrustManagerFactorySpi.java
2045 * javax/net/ssl/X509KeyManager.java
2046 * javax/net/ssl/X509TrustManager.java
2047 * javax/security/cert/Certificate.java
2048 * javax/security/cert/CertificateEncodingException.java
2049 * javax/security/cert/CertificateException.java
2050 * javax/security/cert/CertificateExpiredException.java
2051 * javax/security/cert/CertificateNotYetValidException.java
2052 * javax/security/cert/CertificateParsingException.java
2053 * javax/security/cert/X509CertBridge.java
2054 * javax/security/cert/X509Certificate.java
2055
2056 2004-08-20 Casey Marshall <csm@gnu.org>
2057
2058 * java/security/cert/X509CRLSelector.java: New file.
2059 * java/security/cert/X509CertSelector.java: New file.
2060
2061 2004-09-15 Michael Koch <konqueror@gmx.de>
2062
2063 * gnu/java/net/protocol/file/Handler.java
2064 (openConnection): Don't throw exception if host part for file: URI is
2065 present. setURL() keeps file: protocol if ftp: protocol is not
2066 available.
2067
2068 2004-09-14 Richard Henderson <rth@redhat.com>
2069
2070 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2071 value of sigsuspend.
2072
2073 2004-09-12 Tom Tromey <tromey@redhat.com>
2074
2075 * javax/naming/CompoundName.java (CompoundName): Don't check for
2076 separator in "flat" case.
2077
2078 2004-09-12 Michael Koch <konqueror@gmx.de>
2079
2080 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2081 AM_CONFIG_HEADER by AC_CONFIG_FILES.
2082 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2083 Regenerate.
2084
2085 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2086
2087 PR libgcj/14751
2088 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2089 handle in newly-allocated _Jv_Thread_t.
2090 (_Jv_ThreadDestroyData): Close thread handle.
2091 (_Jv_ThreadStart): Remove obsolete comment.
2092 Store handle of newly-created thread in _Jv_Thread_t.
2093 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2094 before including <windows.h>
2095 #define _Jv_HaveCondDestroy
2096
2097 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2098
2099 * java/lang/natThread.cc (finalize_native): Destroy
2100 join conditional variable and mutex if these destroy
2101 operations are supported.
2102
2103 2004-09-10 Dalibor Topic <robilad@kaffe.org>
2104
2105 * gnu/java/net/protocol/file/Connection.java (permission): New field.
2106 (DEFAULT_PERMISSION): New constant.
2107 (Connection): Create a FilePermission with permission to read file.
2108
2109 2004-09-10 Michael Koch <konqueror@gmx.de>
2110
2111 * gnu/java/net/protocol/file/Connection.java
2112 (getLastModified): Moved around.
2113 (getPermission): Return stored permission.
2114
2115 2004-09-10 Michael Koch <konqueror@gmx.de>
2116
2117 * Makefile.in: Regenerate.
2118
2119 2004-09-10 Michael Koch <konqueror@gmx.de>
2120
2121 * Makefile.am: Reverted accidently commited stuff.
2122 * configure: Regenerated.
2123
2124 2004-09-10 Michael Koch <konqueror@gmx.de>
2125
2126 * gnu/java/net/protocol/file/Connection.java
2127 (lineSeparator): Made non-final.
2128 (static): Removed.
2129 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2130 instead of StringBufferInputStream.
2131
2132 2004-09-10 Michael Koch <konqueror@gmx.de>
2133
2134 * gnu/java/net/protocol/file/Connection.java
2135 (connect): Handle file is a directory case.
2136
2137 2004-09-10 Michael Koch <konqueror@gmx.de>
2138
2139 * Makefile.am
2140 (xlib_includes): Removed.
2141 (AM_CPPFLAGS): Renamed from INCLUDES.
2142 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2143 * Makefile.in: Regenerate.
2144
2145 2004-09-09 Michael Koch <konqueror@gmx.de>
2146
2147 * java/security/ProtectionDomain.java,
2148 * java/util/PropertyPermissionCollection.java:
2149 Fixed javadocs all over.
2150
2151 2004-09-09 Sven de Marothy <sven@physto.se>
2152
2153 Patch from David Gilbert <david.gilbert@object-refinery.com>
2154 * java/lang/Comparable.java: Fixed documentation errors.
2155 * java/util/Arrays.java: Likewise.
2156
2157 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2158
2159 * java/net/Inet4Address.java
2160 (Inet4Address): Added comment to serialization UID.
2161 * java/text/Format.java
2162 (Format): Added comment to serialization UID.
2163
2164 2004-09-09 Michael Koch <konqueror@gmx.de>
2165
2166 * java/lang/System.java
2167 (err): Fixed javadoci to point to setErr() and not setOut().
2168
2169 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
2170
2171 (normalizePath): Added special case for windows systems.
2172
2173 2004-09-09 Michael Koch <konqueror@gmx.de>
2174
2175 * java/io/File.java
2176 (dupSeparator): Made private.
2177 (File(URI)): New constructor.
2178 (getParentFile): Fixed javadoc.
2179 (createTempFile): Reformated.
2180 (setReadOnly): Added comment.
2181 (deleteOnExit): Merged javadoc with classpath version.
2182
2183 2004-09-09 Michael Koch <konqueror@gmx.de>
2184
2185 * Makefile.am: Don't try to include deps.mk.
2186 * Makefile.in: Regenerated.
2187
2188 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
2189
2190 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2191 .d files.
2192 * configure: Rebuilt.
2193
2194 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
2195
2196 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2197 Changed pfn from static local to local.
2198
2199 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
2200 H.J. Lu <hongjiu.lu@intel.com>
2201
2202 PR libgcj/17290
2203 * Makefile.am (GCJCOMPILE): Remove definition.
2204 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2205 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2206 * Makefile.in: Rebuilt.
2207
2208 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
2209
2210 * configure.ac (enable-gc-debug): Update help for new syntax.
2211 * configure: Regenerate.
2212
2213 2004-09-03 David Daney <ddaney@avtrex.com>
2214
2215 * include/mips-signal.h: Update copyright.
2216
2217 2004-09-03 David Daney <ddaney@avtrex.com>
2218
2219 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2220 * include/mips-signal.h: Added HANDLE_FPE support.
2221
2222 2004-08-31 Michael Koch <konqueror@gmx.de>
2223
2224 * javax/swing/plaf/basic/BasicTextAreaUI.java
2225 (create): New method.
2226 * javax/swing/text/DefaultHighlighter.java
2227 (DefaultHighlightPainter.debugRect): Removed.
2228 * javax/swing/text/StyleContext.java
2229 (DEFAULT_STYLE): New field.
2230
2231 2004-08-31 Michael Koch <konqueror@gmx.de>
2232
2233 * javax/swing/plaf/basic/BasicLookAndFeel.java
2234 (initComponentDefaults): Add keybindings for selection.backward and
2235 selection-forward for text components.
2236 * javax/swing/plaf/basic/BasicTextUI.java
2237 (paintSafely): Paint highlight only when something is actually
2238 selected.
2239 * javax/swing/text/DefaultCaret.java
2240 (handleHighlight): New method.
2241 (setSelectionVisible): Don't do anything when nothing changes.
2242 Handle highlight.
2243 (moveDot): Reimplemented. Handle highlight.
2244 (setDot): Set mark too. Handle highlight.
2245 (getSelectionPainter): New method.
2246 * javax/swing/text/DefaultEditorKit.java
2247 (defaultActions): Added new actions for text selection.
2248 * javax/swing/text/DefaultHighlighter.java
2249 (DefaultHighlightPainter): New inner class.
2250 (DefaultPainter): New field.
2251 (paint): Implemented.
2252 * javax/swing/text/PlainView.java
2253 (paint): Don't draw background here again.
2254 * javax/swing/text/Utilities.java
2255 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2256 (drawTabbedText): Likewise.
2257
2258 2004-08-31 Graydon Hoare <graydon@redhat.com>
2259
2260 * javax/swing/JComponent.java
2261 (resetKeyboardActions): Add null checks.
2262
2263 2004-08-31 Graydon Hoare <graydon@redhat.com>
2264
2265 * javax/swing/DefaultButtonModel.java:
2266 Skip group notification when no group is set.
2267
2268 2004-08-31 Graydon Hoare <graydon@redhat.com>
2269
2270 * javax/swing/JColorChooser.java:
2271 Make a couple inner classes static, for jikes.
2272
2273 2004-08-31 Michael Koch <konqueror@gmx.de>
2274
2275 * javax/swing/plaf/basic/BasicTextUI.java
2276 (RottView.modelToView): New method.
2277 (UpdateHandler): Renamed from EventHandler.
2278 (updateHandler): Renamed from eventHandler.
2279 (modelToView): Implemented.
2280 * javax/swing/text/AbstractDocument.java
2281 (BranchElement.getElement): Return null for non-existing indeces.
2282 (BranchElement.getElementIndex): Return 0 in some corner cases.
2283 * javax/swing/text/FieldView.java
2284 (modelToView): New method.
2285 * javax/swing/text/PlainView.java
2286 (modelToView): Made public.
2287
2288 2004-08-31 Kim Ho <kho@redhat.com>
2289
2290 * Makefile.am: New files.
2291 * Makefile.in: Regenerate.
2292 * gcj/Makefile.in: Regenerate.
2293 * include/Makefile.in: Regenerate.
2294 * java/awt/Color.java: Fix documentation.
2295 (RGBtoHSB): Use floats for conversions.
2296 * javax/swing/ButtonGroup.java: Run Jalopy.
2297 (setSelected): Reimplement.
2298 * javax/swing/DefaultButtonModel.java: Run Jalopy.
2299 (changeState): Let ButtonGroup know that the button
2300 is changing state.
2301 * javax/swing/JColorChooser.java: Implement.
2302 * javax/swing/JLabel.java: Run Jalopy.
2303 * javax/swing/JSpinner.java: Run Jalopy.
2304 (setValue): New method.
2305 * javax/swing/JTabbedPane.java: Run Jalopy.
2306 (removeTabAt): Call correct remove method.
2307 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2308 (getPreviousValue): Compare minimum value.
2309 * javax/swing/Timer.java: Run Jalopy.
2310 (run): Comment out println.
2311 * javax/swing/ToolTipManager.java:
2312 (mouseMoved): Get new tooltip text for location.
2313 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2314 Jalopy and Javadoc.
2315 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2316 Implement.
2317 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2318 Run Jalopy.
2319 (setSelectedColor): Fire ChangeEvent.
2320 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2321 New file. Implement.
2322 * javax/swing/colorchooser/DefaultPreviewPanel.java:
2323 Ditto.
2324 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2325 Ditto.
2326 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2327 Ditto.
2328 * javax/swing/plaf/basic/BasicArrowButton.java:
2329 (getArrow): Fix size of upward pointing button.
2330 * javax/swing/plaf/basic/BasicColorChooserUI.java:
2331 Implement.
2332 * javax/swing/plaf/basic/BasicSliderUI.java:
2333 (getWidthOfWidestLabel): Use preferred dimensions.
2334 (getHeightOfTallestLabel): Ditto.
2335 * javax/swing/plaf/basic/BasicSpinnerUI.java:
2336 Run Jalopy.
2337 (mousePressed): Disable changes to spinner if it is not enabled.
2338 * testsuite/Makefile.in: Regenerate.
2339
2340
2341 2004-08-31 Michael Koch <konqueror@gmx.de>
2342
2343 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2344 javax/swing/plaf/basic/BasicTableUI.java:
2345 Added copyright notice.
2346
2347 2004-08-31 Olga Rodimina <rodimina@redhat.com>
2348
2349 * Makefile.am: Added new files.
2350 * Makefile.in: Regenerate.
2351 * javax/swing/ComboBoxEditor.java: Added javadocs.
2352 * javax/swing/ComboBoxModel.java: Likewise.
2353 * javax/swing/DefaultComboBoxModel.java: Implemented.
2354 * javax/swing/DefaultListCellRenderer.java: Added javadocs
2355 and ran through jalopy to fix formatting style.
2356 (getListCellRendererComponent): Use appropriate border
2357 if renderer has focus and use noFocusBorder when it doesn't.
2358 * javax/swing/JComboBox.java: Implemented.
2359 * javax/swing/JList.java:
2360 (locationToIndex): New Method. Implemented.
2361 (indexToLocation): New Method.
2362 * javax/swing/JPopupMenu.java:
2363 (visible): New field.
2364 (isVisible): Changed to use new field above.
2365 (setVisible): Likewise.
2366 * javax/swing/MutableComboBoxModel.java: Added javadocs.
2367 * javax/swing/plaf/basic/BasicArrowButton.java:
2368 (shadow): Changed default color to Color.gray.
2369 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2370 UI delegate for JComboBox.
2371 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2372 Popup menu containing list of JComboBox's items.
2373 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2374 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2375 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2376 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2377 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2378 (popupMenuWillBecomeVisible): Set selected path to the first
2379 element only if it is of type MenuElement. Also fix formatting
2380 style.
2381 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2382 methods signatures.
2383
2384 2004-08-31 Michael Koch <konqueror@gmx.de>
2385
2386 * javax/swing/text/AbstractDocument.java
2387 (createBranchElement): Use new constructor of BranchElement.
2388 (createLeafElement): Renamed arguments.
2389 (getRootElements): Implemented.
2390 (BranchElement.start): Removed.
2391 (BranchElement.end): Likewise.
2392 (BranchElement.BranchElement): Fixed arguments.
2393 (BranchElement.getEndOffset): Reimplemented.
2394 (BranchElement.getStartOffset): Likewis.
2395 * javax/swing/text/DefaultCaret.java
2396 (paint): Draw simple vertical line as caret instead of a rectangle.
2397 * javax/swing/text/JTextComponent.java
2398 (setText): Use doc directly.
2399 * javax/swing/text/PlainView.java
2400 (nextTabStop): Implemented.
2401 * javax/swing/text/Utilities.java
2402 (drawTabbedText): nextTabStop() returns an absolute x position.
2403 (getTabbedTextWidth): Likewise.
2404
2405 2004-08-31 Graydon Hoare <graydon@redhat.com>
2406
2407 * java/awt/Component.java
2408 (isFocusTraversable): Predicate on isLightweight()
2409 (setFocusable): Set isFocusTraversableOverridden.
2410 (requestFocus): Predicate peer dispatch on !isLightweight()
2411 (requestFocusInWindow): Likewise.
2412 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2413 * java/awt/Container.java
2414 (dispatchEventImpl): Predicate on event mask.
2415 (LightweightDispatcher): Remove focus machinery.
2416 * java/awt/DefaultFocusTraversalPolicy.java
2417 (accept): Expand predicate to include isFocusable().
2418 * java/awt/DefaultKeyboardFocusManager.java:
2419 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2420 * java/awt/KeyboardFocusManager.java
2421 (redispatchEvent): Synchronize on event to prevent feedback.
2422 * javax/swing/AbstractButton.java
2423 (ButtonFocusListener): Remove class.
2424 (init): Set focusPainted, focusable.
2425 * javax/swing/ActionMap.java (get): Check parent for null.
2426 * javax/swing/InputMap.java (get): Likewise.
2427 * javax/swing/JComponent.java
2428 (inputMap_whenFocused): New InputMap.
2429 (inputMap_whenAncestorOfFocused): Likewise.
2430 (inputMap_whenInFocusedWindow): Likewise.
2431 (getActionForKeyStroke): Rewrite.
2432 (getConditionForKeystroke): Likewise.
2433 (ActionListenerProxy): New private class.
2434 (setInputMap): Implement.
2435 (getInputMap): Likewise.
2436 (setActionMap): Likewise.
2437 (getActionMap): Likewise.
2438 (processComponentKeyEvent): New empty method.
2439 (processKeyEvent): Implement.
2440 (processKeyBinding): Likewise.
2441 (resetKeyboardActions): Rewrite.
2442 * javax/swing/KeyStroke.java: Rewrite.
2443 * javax/swing/SwingUtilities.java
2444 (notifyAction): Implement.
2445 (replaceUIActionMap): Likewise.
2446 (replaceUIInputMap): Likewise.
2447 * javax/swing/plaf/basic/BasicButtonListener.java
2448 (focusGained): Implement.
2449 (focusLost): Repaint if focusPainted().
2450 (installKeyboardActions): Install pressed / released actions.
2451 (uninstallKeyboardActions): Implement.
2452 * javax/swing/plaf/basic/BasicButtonUI.java
2453 (focusColor): New field.
2454 (installDefaults): Load focus color, install input map.
2455 (installKeyboardActions): Implement.
2456 (uninstallKeyboardActions): Likewise.
2457 (paintFocus): Rewrite.
2458 * javax/swing/plaf/basic/BasicLookAndFeel.java
2459 (Button.focus): New default, midPurple.
2460 * javax/swing/plaf/basic/BasicTextUI.java
2461 (kit): Make static.
2462 (installUI): Get doc from kit, load defaults.
2463 (getKeymapName): Implement.
2464 (createKeymap): Likewise.
2465 (installKeyboardActions): Likewise.
2466 (getInputMap): Likewise.
2467 (getActionMap): Likewise.
2468 (createActionMap): Likewise.
2469 * javax/swing/text/AbstractDocument.java
2470 (getStartPosition): Implement.
2471 (getEndPosition): Likewise.
2472 * javax/swing/text/DefaultEditorKit.java
2473 (CopyAction): New class.
2474 (CutAction): Likewise.
2475 (DefaultKeyTypedAction): Likewise.
2476 (InsertBreakAction): Likewise.
2477 (InsertContentAction): Likewise.
2478 (InsertTabAction): Likewise.
2479 (PasteAction): Likewise.
2480 (defaultActions): New static table.
2481 (createCaret): Implement.
2482 (getActions): Likewise.
2483 * javax/swing/text/JTextComponent.java
2484 (KeymapWrapper): New private class.
2485 (KeymapActionMap): Likewise.
2486 (DefaultKeymap): New class.
2487 (keymaps): New static table.
2488 (keymap): New field.
2489 (getKeymap): Implement.
2490 (removeKeymap): Likewise.
2491 (addKeymap): Likewise.
2492 (setKeymap): Likewise.
2493 (loadKeymap): Likewise.
2494 (getActions): Likewise.
2495 (margin): New field.
2496 (JTextComponent): Build and install default keymap.
2497 * javax/swing/text/TextAction.java
2498 (textAction): Call super properly.
2499 (getTextComponent): Implement.
2500 * javax/swing/text/Utilities.java
2501 (drawTabbedText): Adjust position by ascent.
2502
2503 2004-08-31 David Jee <djee@redhat.com>
2504
2505 PR AWT/17156
2506
2507 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2508 (setEnabled): Make it a native method.
2509 * java/awt/DefaultKeyboardFocusManager.java
2510 (postProcessKeyEvent): Only post event if the menu item
2511 is active.
2512 * java/awt/MenuItem.java:
2513 Private field 'enabled' should be true by default.
2514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2515 (setEnabled): New function.
2516
2517 2004-08-31 David Jee <djee@redhat.com>
2518
2519 PR AWT/17059
2520
2521 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2522 (nativeSetHelpMenu): New native method declaration.
2523 (addHelpMenu): Call nativeSetHelpMenu().
2524 (addMenu): Remove.
2525 * java/awt/MenuBar.java
2526 (setHelpMenu): Call addNotify() on the new help menu.
2527 (add): Call addNotify() on the new menu.
2528 (addNotify): Set the help menu if one exists.
2529 * java/awt/peer/MenuBarPeer.java
2530 (addMenu): Remove.
2531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2532 (nativeSetHelpMenu): New method.
2533
2534 2004-08-31 Graydon Hoare <graydon@redhat.com>
2535
2536 * Makefile.am: Add new files.
2537 * Makefile.in: Regenerate.
2538 * javax/swing/Box.java: Fix setting of layout in ctor.
2539 * javax/swing/JScrollPane.java: Scroll headers as well.
2540 * javax/swing/JTable.java: Reimplement.
2541 * javax/swing/JViewPort.java: Only add non-null children.
2542 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2543 * javax/swing/Timer.java: Fix stopping null waker.
2544 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2545 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2546 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2547 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2548 * javax/swing/table/DefaultTableModel.java: Clean up.
2549 * javax/swing/table/JTableHeader.java: Implement.
2550
2551 2004-08-31 Mark Wielaard <mark@klomp.org>
2552
2553 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2554 semi-colon.
2555
2556 2004-08-31 Mark Wielaard <mark@klomp.org>
2557
2558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2559 Declare variables at top of functions/block.
2560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2561
2562 2004-08-31 Mark Wielaard <mark@klomp.org>
2563
2564 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2565 first.
2566
2567 2004-08-31 Michael Koch <konqueror@gmx.de>
2568
2569 * javax/swing/text/PlainView.java
2570 (selectedColor): New field.
2571 (unselectedColor): Likewise.
2572 (font): Likewise.
2573 (updateMetrics): New method.
2574 (lineToRect): Likewise.
2575 (modelToView): Likewise.
2576 (drawSelectedText): Use color from JTextComponent ad draw with
2577 Utilities class.
2578 (drawUnselectedText): Likewise.
2579 (paint): Initialize helper fields.
2580 * javax/swing/text/View.java
2581 (getChildAllocation): New method.
2582 (getViewIndex): Likewise.
2583 (getToolTipText): Likewise.
2584
2585 2004-08-31 Michael Koch <konqueror@gmx.de>
2586
2587 * javax/swing/text/Utilities.java
2588 (drawTabbedText): Reimplemented.
2589 (getTabbedTextWidth): Likewise.
2590
2591 2004-08-31 Michael Koch <konqueror@gmx.de>
2592
2593 * javax/swing/plaf/basic/BasicTextUI.java
2594 (installDefaults): Install caret and highlighter.
2595 (modelToView): Use Bias.Forward when calling sibling.
2596 * javax/swing/text/AbstractDocument.java
2597 (ElementEdit): Implements DocumentEvent.ElementChange.
2598 (ElementEdit.ElementEdit): New method.
2599 (ElementEdit.getChildrenAdded): Likewise.
2600 (ElementEdit.getChildrenRemoved): Likewise.
2601 (ElementEdit.getElement): Likewise.
2602 (ElementEdit.getIndex): Likewise.
2603 * javax/swing/text/DefaultCaret.java
2604 (color): Removed.
2605 (textComponent): Renamed from parent, made private.
2606 (selectionVisible): Renamed from vis_sel, made private.
2607 (blinkRate): Renamed from blink, made private.
2608 (magicCaretPosition): Renamed from magic, made private.
2609 (visible): Renamed from vis, made private.
2610 (dot): Made private.
2611 (mark): Likewise.
2612 (deinstall): Remove as MouseMotionListener.
2613 (install): Initialize textComponent first. Add as MouseMotionListener.
2614 (paint): Reimplemented.
2615 * javax/swing/text/JTextComponent.java
2616 (setCaret): Deinstall old caret, install new one and fire property
2617 change after setting property.
2618 (setHighlighter): Deinstall old highlighter, install new one and fire
2619 property change after setting property.
2620 (setCaretColor): Fire property change after setting property.
2621 (setDisabledTextColor): Likewise.
2622 (setSelectedTextColor): Likewise.
2623 (setSelectionColor): Likewise.
2624 (modelToView): New method.
2625
2626 2004-08-31 Michael Koch <konqueror@gmx.de>
2627
2628 * javax/swing/text/AbstractDocument.java
2629 (getText): Simplified.
2630 * javax/swing/text/Segment.java
2631 (current): New field.
2632 (current): Reimplemented.
2633 (first): Likewise.
2634 (getIndex): Likewise.
2635 (last): Likewise.
2636 (next): Likewise.
2637 (previous): Likewise.
2638 (setIndex): Likewise.
2639
2640 2004-08-31 Michael Koch <konqueror@gmx.de>
2641
2642 * javax/swing/plaf/basic/BasicButtonUI.java
2643 (defaultTextIconGap): Made protected.
2644 (defaultTextShiftOffset): Likewise.
2645 (textShiftOffset): New field.
2646 (clearTextShiftOffset): New method.
2647 (getTextShiftOffset): Likewise.
2648 (setTextShiftOffset): Likewise.
2649
2650 2004-08-31 Michael Koch <konqueror@gmx.de>
2651
2652 * javax/swing/plaf/basic/BasicTextUI.java
2653 (installUI): Add eventHandler as property listener.
2654 (uninstallUI): remove eventHandler as propert listener.
2655 (installDefaults): Added comment.
2656 (installListeners): Likewise.
2657 (installKeyboardActions): Likewise.
2658 (uninstallDefaults): Likewise.
2659 (uninstallListeners): Likewise.
2660 (uninstallKeyboardActions): Likewise.
2661
2662 2004-08-31 Michael Koch <konqueror@gmx.de>
2663
2664 * javax/swing/text/AbstractDocument.java:
2665 Fixed some typos in comments.
2666 (insertString): Reimplemented.
2667 (remove): Likewise.
2668 (replace): New method.
2669 (children): Dont use fully qualified class name.
2670 (DefaultDocumentEvent.offset): Renamed from off.
2671 (DefaultDocumentEvent.length): Renamed from len.
2672 (DefaultDocumentEvent.type): New field.
2673 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2674 (DefaultDocumentEvent.getType): Implemented.
2675
2676 2004-08-31 Michael Koch <konqueror@gmx.de>
2677
2678 * javax/swing/plaf/basic/BasicTextUI.java
2679 (RootView.textComponent): Removed.
2680 (RootView.RootView): Don't initialize textComponent.
2681 (RootView.getViewFactory): New method.
2682 (EventHandler): New inner class.
2683 (rootView): Initialize at instance creation.
2684 (eventHandler): New field.
2685 (installUI): Don't create view hierarchy directly,
2686 call modelChanged() instead.
2687 (modelChanged): New method.
2688 * javax/swing/text/JTextComponent.java
2689 (setDocument): Fire property change event.
2690
2691 2004-08-31 Michael Koch <konqueror@gmx.de>
2692
2693 * javax/swing/plaf/basic/BasicTextUI.java
2694 (RootView.paint): Removed debug output.
2695 (paintSafely): Draw highlighter before text.
2696 (paintBackground): Use background color of text component.
2697 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2698 Reformatted.
2699
2700 2004-08-31 Michael Koch <konqueror@gmx.de>
2701
2702 * javax/swing/plaf/basic/BasicToolBarUI.java
2703 (BasicToolBarUI): Fixed arguments for constructor.
2704 (createUI): Fixed creation of object.
2705
2706 2004-08-31 Michael Koch <konqueror@gmx.de>
2707
2708 * javax/swing/DefaultListSelectionModel.java
2709 (fireValueChanged): Renamed from fireSelectionValueChanged,
2710 made protected.
2711
2712 2004-08-31 Michael Koch <konqueror@gmx.de>
2713
2714 * javax/swing/text/TabSet.java
2715 (TabSet): Implements java.io.Serializable.
2716 * javax/swing/text/TabStop.java
2717 (TabStop): Implements java.io.Serializable.
2718 (TabStop): Made public.
2719
2720 2004-08-31 Michael Koch <konqueror@gmx.de>
2721
2722 * javax/swing/JComponent.java
2723 (setUI): Fire PropertyChange.
2724 * javax/swing/JLabel.java
2725 (text): Renamed from labelText.
2726 (horizontalAlignment): New default vlaue.
2727 (icon): Renamed from activeIcon.
2728 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2729 (displayedMnemonicIndex): Renamed from underlineChar.
2730 (setDisplayedMnemonic): Reimplemented.
2731 * javax/swing/JRadioButton.java
2732 (JRadioButton): New constructors.
2733 * javax/swing/JTextField.java
2734 (JTextField): Throw exception if colums < 0, initialitialz
2735 this.columns directly and initialize document with text conditionally.
2736
2737 2004-08-31 Michael Koch <konqueror@gmx.de>
2738
2739 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2740 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2741 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2742 * javax/swing/text/FieldView.java
2743 (paint): Just call super method for now.
2744 * Makefile.am: Added new files.
2745 * Makefile.in: Regenerated.
2746
2747 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2748
2749 * javax/swing/AbstractSpinnerModel.java,
2750 javax/swing/JSpinner.java,
2751 javax/swing/SpinnerNumberModel.java,
2752 javax/swing/plaf/basic/BasicSpinnerUI.java:
2753 New files.
2754 * javax/swing/plaf/basic/BasicLookAndFeel.java
2755 (initClassDefaults): Added defaults for BasicSpinnerUI.
2756
2757 2004-08-31 Michael Koch <konqueror@gmx.de>
2758
2759 * Makefile.am: Added new files.
2760 * Makefile.in: Regenerated.
2761
2762 2004-08-31 Michael Koch <konqueror@gmx.de>
2763
2764 * javax/swing/TransferHandler.java,
2765 javax/swing/plaf/basic/ComboPopup.java: New files
2766 * Makefile.am: Added javax/swing/TransferHandler.java and
2767 javax/swing/plaf/basic/ComboPopup.java
2768 * Makefile.in: Regenerated.
2769
2770 2004-08-31 Roman Kennke <roman@ontographics.com>
2771
2772 * javax/swing/text/Utilities.java: New file.
2773
2774 2004-08-31 Michael Koch <konqueror@gmx.de>
2775
2776 * Makefile.am: Added javax/swing/text/Utilities.java.
2777 * Makefile.in: Regenerated.
2778
2779 2004-08-31 Graydon Hoare <graydon@redhat.com>
2780
2781 * javax/swing/text/SimpleAttributeSet.java: New file.
2782 * javax/swing/text/StyleConstants.java: New file.
2783 * javax/swing/text/StyleContext.java: New file.
2784 * javax/swing/text/TabSet.java: New file.
2785 * javax/swing/text/TabStop.java: New file.
2786 * javax/swing/text/AbstactDocument.java:
2787 (AbstractElement): Implement attribute support.
2788 * javax/swing/text/AttributeSet.java
2789 (NameAttribute): New static field.
2790 (ResolveAttribute): New static field.
2791 * Makefile.am: Update for new files.
2792 * Makefile.in: Regenerate.
2793
2794 2004-08-31 Craig Black <craig.black@aonix.com>
2795
2796 * gnu/java/awt/peer/gtk/GdkGraphics.java
2797 (drawImage): Add support for scaling pixmaps.
2798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2799 (copyAndScalePixmap): New native method.
2800
2801 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2802
2803 PR AWT/16121
2804 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2805 type-punning compiler warnings using unions.
2806 (throw): Replace bzero with memset.
2807
2808 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2809 Thomas Fitzsimmons <fitzsim@redhat.com>
2810
2811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2812 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2813 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2815 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2816
2817 2004-08-31 Mark Wielaard <mark@klomp.org>
2818
2819 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2820 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2821 and stdlib.h, not gtkpeer.h.
2822 (*vm): New static variable.
2823 (areaPreparedID): Make static.
2824 (areaUpdatedID): Likewise.
2825 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2826 (area_prepared): Likewise.
2827 (area_updated): Likewise.
2828 (closed): Likewise.
2829 (initStaticState): Initialize *vm javaVM.
2830 (pumpBytes): Use given env, not global gdk_env.
2831
2832 2004-08-31 Mark Wielaard <mark@klomp.org>
2833
2834 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2835 comments.
2836
2837 2004-08-31 Sven de Marothy <sven@physto.se>
2838
2839 * java/awt/geom/CubicCurve2D.java: Reindent.
2840 (contains): Implemented.
2841 (intersects): Implemented.
2842 * java/awt/geom/QuadCurve2D.java: Likewise.
2843 * java/awt/geom/GeneralPath.java: Reindent and document.
2844 Fully (re)implemented using separate xpoints and ypoints
2845 float[] coords.
2846 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2847
2848 2004-08-31 Michael Koch <konqueror@gmx.de>
2849
2850 * javax/swing/JMenuItem.java
2851 (getMenuDragMouseListeners): New method.
2852 (getMenuKeyListeners): Likewise.
2853
2854 2004-08-31 Michael Koch <konqueror@gmx.de>
2855
2856 * javax/swing/AbstractButton.java
2857 (model): Made protected.
2858 (actionListener): Likewise.
2859 (changeListener): Likewise.
2860 (itemListener): Likewise.
2861 (multiClickThreshhold): New field.
2862 (getActionListeners): New method.
2863 (getChangeListeners): Likewise.
2864 (getItemListeners): Likewise.
2865 (fireItemStateChanged): Simplified implementation.
2866 (fireActionPerformed): Likewise.
2867 (fireStateChanged): Likewise.
2868 (getMultiClickThreshhold): New method.
2869 (setMultiClickThreshhold): Likewise.
2870
2871 2004-08-31 Tom Tromey <tromey@redhat.com>
2872
2873 * java/awt/image/Kernel.java (clone): Use super.clone().
2874
2875 2004-08-31 David Jee <djee@redhat.com>
2876
2877 PR AWT/16682
2878 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2879 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2880 (nativeSetIconImageFromData): New native method declaration.
2881 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2882 * gnu/java/awt/peer/gtk/GtkImage.java
2883 (getPixelCache): New method.
2884 (getColorModel): New method.
2885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2886 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2887 (free_pixbuf_data): New helper function.
2888 (nativeSetIconImageFromData): New function.
2889
2890 2004-08-31 Graydon Hoare <graydon@redhat.com>
2891
2892 PR SWING/16576
2893 * javax/swing/JLayeredPane.java
2894 (setLayer): Permit changing layer after addition.
2895 (setPosition): Permit over-length positions.
2896 (layerToRange): Compare intValue()s.
2897 * javax/swing/Box.java (createHorizontalBox): Implement.
2898 (createRigidArea): Likewise.
2899 (createVerticalBox): Likewise.
2900
2901 2004-08-31 Kim Ho <kho@redhat.com>
2902
2903 * java/awt/Component.java:
2904 (processMouseEvent): Consume event after
2905 listeners process it.
2906 (processMouseMotionEvent): ditto.
2907 (processMouseWheelEvent): ditto.
2908 * java/awt/Container.java:
2909 (acquireComponentForMouseEvent):
2910 Do not dispatch to events that have been
2911 removed from the Container.
2912 (handleEvent): Consume the MouseEvents.
2913 * javax/swing/RepaintManager.java:
2914 (paintDirtyRegions): Do not add to list of
2915 damaged areas if the component has no root.
2916
2917 2004-08-31 Michael Koch <konqueror@gmx.de>
2918
2919 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2920
2921 2004-08-31 Mark Wielaard <mark@klomp.org>
2922
2923 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2924 null when a MissingResourceException is thrown. Should never happen.
2925
2926 2004-08-31 Mark Wielaard <mark@klomp.org>
2927
2928 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2929 when argument is null.
2930
2931 2004-08-31 Mark Wielaard <mark@klomp.org>
2932
2933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2934 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2935 Define hid at start of function.
2936 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2937 Likewise.
2938
2939 2004-08-31 Mark Wielaard <mark@klomp.org>
2940
2941 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2942 * javax/swing/JButton.java: Reindent.
2943 * javax/swing/JCheckBox.java: Reindent.
2944
2945 2004-08-31 Mark Wielaard <mark@klomp.org>
2946
2947 * Makefile.am (gtk_c_source_files): Added
2948 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2949 (gtk_awt_peer_sources): Added
2950 gnu/java/awt/peer/gtk/GThreadMutex.java and
2951 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2952 * Makefile.in: Regenerated.
2953
2954 2004-08-31 Archie Cobbs <archie@dellroad.org>
2955
2956 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2957
2958 2004-08-31 Steven Augart <augart@watson.ibm.com>
2959
2960 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2961 Added jfieldID, jmethodID.
2962
2963 2004-08-31 Mark Wielaard <mark@klomp.org>
2964
2965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2966 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2967 gdk_env before calling any gdk or gtk function.
2968
2969 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2970 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2971 (run): Set gtkInitCalled.
2972
2973 2004-08-31 Steven Augart <augart@watson.ibm.com>
2974
2975 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2976 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2977
2978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2979 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2980 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2981 init_glib_threads.
2982 (init_glib_threads): New function.
2983
2984 2004-08-31 Mark Wielaard <mark@klomp.org>
2985
2986 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2987 PRIORITY when not already defined in header file.
2988
2989 2004-08-31 Mark Wielaard <mark@klomp.org>
2990
2991 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2992 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2993
2994 2004-08-31 Steven Augart <augart@watson.ibm.com>
2995
2996 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2997 Implemented missing functions for GTK2.
2998 Added error handling.
2999 Renamed static functions out of the g_ namespace.
3000 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
3001 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
3002 Rewrote global-reference code.
3003 Eliminated cascading errors.
3004 (mutex_trylock_jni_impl) Fully implemented.
3005 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
3006 resolution.
3007 (setup_cache) New function.
3008 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
3009 bug where they were not unlocking the GMutex associated with the
3010 condition variable during the wait on that condition variable.
3011
3012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3013 native/jni/gtk-peer/gthread-jni.c,
3014 native/jni/gtk-peer/gthread-jni.h
3015 (g_thread_jni_functions): Renamed to ...
3016 (portable_native_sync_jni_functions): this name.
3017 (gdk_vm): Renamed to...
3018 (the_vm): this name.
3019
3020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3021 (gdk_vm): Removed duplicate definition.
3022 (gtkInit): Removed stray message to stdout.
3023 (gtkInit): Use g_malloc and g_free instead of malloc and free.
3024 (gtkInit): Fix a const assignment bug.
3025 (gtkInit): Simplified code.
3026
3027 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3028 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3029 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3030 gnu/java/awt/peer/gtk/GThreadMutex.java:
3031 New files.
3032
3033 2004-08-31 Mark Wielaard <mark@klomp.org>
3034
3035 * javax/swing/Box.java: Put FIXME comment above class declaration.
3036 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3037 * javax/swing/JCheckBox.java: Likewise.
3038 * javax/swing/JDialog.java: Likewise.
3039 * javax/swing/JRadioButton.java: Likewise.
3040 * javax/swing/JToggleButton.java: Likewise.
3041 * javax/swing/UIManager.java: Likewise.
3042 * javax/swing/border/TitledBorder.java: Likewise.
3043 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3044 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3045 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3046 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3047 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3048 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3049 * javax/swing/text/JTextComponent.java: Likewise.
3050
3051 2004-08-31 David Jee <djee@redhat.com>
3052
3053 PR AWT/16682
3054 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3055 (setIconImage): Add a FIXME for unhandled cases.
3056
3057 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3058
3059 PR AWT/16040
3060 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3061 getModifiers. Replace old button masks with new ones.
3062 * gnu/awt/xlib/XEventLoop.java: Likewise.
3063 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3064 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3065 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3066 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3067 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3068 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3069 * java/awt/Component.java: Replace old modifier masks with new
3070 ones.
3071 * java/awt/Container.java: Call getModifiersEx, not
3072 getModifiers.
3073 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
3074 old modifier masks.
3075 * javax/swing/JMenuItem.java: Replace old button masks with new
3076 ones.
3077 * javax/swing/KeyStroke.java: Call getModifiersEx, not
3078 getModifiers.
3079 * javax/swing/SwingUtilities.java: Likewise.
3080 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3081 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3083 mask macros with new ones.
3084 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3085 macros with new ones representing new masks.
3086
3087 2004-08-31 Craig Black <craig.black@aonix.com>
3088
3089 * gnu/java/awt/peer/gtk/GdkGraphics.java
3090 (drawRoundRect): Implemented.
3091 (fillRoundRect): Implemented.
3092 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3093 (drawRoundRect): Reimplemented to match GdkGraphics.
3094 (fillRoundRect): Reimplemented to match GdkGraphics.
3095
3096 2004-08-31 Mark Wielaard <mark@klomp.org>
3097
3098 * Makefile.in: Regenerated.
3099
3100 2004-08-31 Michael Koch <konqueror@gmx.de>
3101
3102 * gnu/java/awt/EmbeddedWindow.java
3103 (addNotify): Use AccessController to allow execution of privileged
3104 code.
3105
3106 2004-08-31 Michael Koch <konqueror@gmx.de>
3107
3108 * gnu/java/awt/EmbeddedWindow.java
3109 (static): Removed.
3110 (addNotify): Set peer via reflection.
3111 (setWindowPeer): Removed.
3112 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3113 * Makefile.am (nat_source_files):
3114 Removed gnu/java/awt/natEmbeddedWindow.cc.
3115
3116 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3117
3118 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3119 and gnu/java/security/action/SetAccessibleAction.java.
3120
3121 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3122
3123 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3124 Renamed from 'setName'. New 2-argument form with default value.
3125 (run): Pass default 'value' parameter to System.getProperty().
3126 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3127 typos.
3128
3129 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3130
3131 * gnu/java/security/action/GetPropertyAction.java: New class.
3132 * gnu/java/security/action/SetAccessibleAction.java: New class.
3133
3134 2004-08-31 David Jee <djee@redhat.com>
3135
3136 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3137 (setIconImage): Check if image is null.
3138
3139 2004-08-31 David Jee <djee@redhat.com>
3140
3141 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3142 (create): Set the icon image.
3143 (nativeSetIconImage): New native method declaration.
3144 (setIconImage): Implement.
3145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3146 (nativeSetIconImage): New function.
3147
3148 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3149
3150 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3151 (filenameFilterCallback): Declare local variable accepted before use.
3152
3153 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3154
3155 * gnu/java/awt/ComponentDataBlitOp.java:
3156 Cleaned up imports.
3157
3158 2004-08-31 Tom Tromey <tromey@redhat.com>
3159
3160 * gnu/java/awt/peer/GLightweightPeer.java,
3161 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3162 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3163 javax/swing/JScrollPane.java: Removed
3164 redundant imports.
3165
3166 2004-08-31 David Jee <djee@redhat.com>
3167
3168 * java/awt/DefaultKeyboardFocusManager.java
3169 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3170 event. Fix shift modifier checking.
3171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3172 (accel_attach): Remove.
3173 (setupAccelGroup): Remove calls to accel_attach.
3174
3175 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3176
3177 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3178 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3179
3180 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3181 GtkArgList.java.
3182 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3183 * Makefile.in: Regenerate.
3184 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3185 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3186 (create(String)): New method.
3187 (create): Call new create method.
3188 (getArgs): Remove method.
3189 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3191 (nativeCreate): Rename to create.
3192 (gtkSetLabel): Rename to gtkButtonSetLabel.
3193 (gtkToggleButtonSetActive): New method.
3194 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3195 (setState): Replace set call with gtkToggleButtonSetActive.
3196 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3197 (getArgs): Remove method.
3198 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3199 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3200 (gtkWidgetSetSensitive): New method.
3201 (gtkWidgetSetParent): Likewise.
3202 (GtkComponentPeer): Call setParent, setComponentBounds and
3203 setVisibleAndEnabled.
3204 (setParent): New method.
3205 (setComponentBounds): New method.
3206 (setVisibleAndEnabled): New method.
3207 (setEnabled): Call gtkWidgetSetSensitive.
3208 (getArgs): Remove method.
3209 Remove all set methods.
3210 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3211 gtkWindowSetModal, setTitle and setResizable.
3212 (getArgs): Remove method.
3213 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3214 (setComponentBounds): New method.
3215 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3216 Replace set call with gtkWindowSetResizable.
3217 (getArgs): Remove method.
3218 (create): Call setTitle and setResizable.
3219 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3221 (gtkWindowSetTitle): New method.
3222 (gtkWindowSetResizable): New method.
3223 (gtkWindowSetModal): New method.
3224 (setParent): New method.
3225 (setVisibleAndEnabled): New method.
3226 (getArgs): Remove method.
3227 (setTitle): Call gtkWindowSetTitle.
3228 (setResizable): Call gtkWindowSetResizable.
3229 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3230 and off locking instrumentation.
3231
3232 2004-08-31 Kim Ho <kho@redhat.com>
3233
3234 * Makefile.am: Add new file.
3235 * Makefile.in: Regenerate.
3236 * gcj/Makefile.in: Regenerate
3237 * include/Makefile.in:
3238 * java/awt/Container.java:
3239 (acquireComponentForMouseEvent): Respect
3240 the event mask when looking for candidate.
3241 * javax/swing/JComponent.java:
3242 Remove toolTip field.
3243 (createToolTip): Create a tooltip on demand.
3244 (setToolTipText): Register with the ToolTipManager.
3245 (getToolTipText(MouseEvent)): Return getToolTipText().
3246 * javax/swing/JToolTip.java: Implement.
3247 * javax/swing/Timer.java: Jalopy.
3248 (restart): Call stop, then start.
3249 (stop): Interrupt the timer rather than wait for
3250 the timer to come to a stop naturally.
3251 * javax/swing/ToolTipManager.java: Implement.
3252 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3253 Change ToolTip.background color.
3254 * javax/swing/plaf/basic/BasicToolTipUI.java:
3255 Implement.
3256 * testsuite/Makefile.in: Regenerate
3257
3258 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
3259
3260 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3261 constructor param comments.
3262
3263 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3264
3265 * java/awt/Component.java: Document AWT 1.0 event handler
3266 methods.
3267
3268 2004-08-31 Roman Kennke <roman@ontographics.com>
3269
3270 * javax/swing/Box.java:
3271 (createGlue): Implemented
3272 (createHorizontalGlue): Implemented
3273 (createHorizontalStrut): Implemented
3274 (createVerticalGlue): Implemented
3275 (createVerticalStrut): Implemented
3276
3277 2004-08-31 David Jee <djee@redhat.com>
3278
3279 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3280 (GtkChoicePeer): Do not automatically select first item.
3281 (getHistory): Remove.
3282 (nativeGetSelected): New method.
3283 (nativeRemoveAll): New method.
3284 (add): Use nativeGetSelected() instead of getHistory().
3285 (remove): Likewise.
3286 (removeAll): Call nativeRemoveAll().
3287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3288 (create): Migrate to GtkComboBox.
3289 (append): Likewise.
3290 (nativeAdd): Likewise.
3291 (nativeRemove): Likewise.
3292 (select): Likewise.
3293 (nativeRemoveAll): New method.
3294 (nativeGetSelected): New method.
3295 (selection_changed): New method.
3296 (getHistory): Remove.
3297 (item_activate): Remove.
3298 (item_removed): Remove.
3299 (connect_choice_item_selectable_hook): Remove.
3300
3301 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3302
3303 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3304 variable in setEditable call.
3305
3306 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3307 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3308 (gtkWidgetSetBackground): New method.
3309 (gtkWidgetSetForeground): Likewise.
3310 (create): Set peer's editable state based on awtComponent's.
3311
3312 * java/awt/Button.java (Button()): Use empty string rather than
3313 null in no-label constructor.
3314
3315 2004-08-31 Roman Kennke <roman@ontographics.com>
3316
3317 * javax/swing/BoxLayout.java: Reimplement.
3318
3319 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3320
3321 * gnu/java/awt/peer/gtk/GdkGraphics.java,
3322 gnu_java_awt_peer_gtk_GdkGraphics.c
3323 (initState(GtkComponentPeer)): Don't return array of colour
3324 values.
3325 (GdkGraphics(int,int)): Set default font to size 12.
3326 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3327 component's foreground colour.
3328 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3329 gnu_java_awt_peer_gtk_GdkGraphics2D.c
3330 (initState(GtkComponentPeer)): Don't return array of colour
3331 values.
3332 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3333 colours to component's colours.
3334 (current_colors_of_widget): Remove function.
3335 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3336 Return a new graphics object.
3337 * java/awt/Font.java (toString): Fix format.
3338 * java/awt/Graphics.java (toString): Likewise.
3339
3340 2004-08-31 Craig Black <craig.black@aonix.com>
3341
3342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3343 (addTearOff): New function.
3344 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3345 New native method.
3346 (init): Call addTearOff() when menu.isTearOff().
3347
3348 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3349
3350 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3351 Default implementation.
3352 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3353 Implement using GdkPixbufDecoder.
3354
3355 2004-08-31 David Jee <djee@redhat.com>
3356
3357 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3358 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3359 setting the size of GtkFileDialogPeers.
3360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3361 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3362 use their default sizes rather than their natural requisitions.
3363
3364 2004-08-31 Michael Koch <konqueror@gmx.de>
3365
3366 * javax/swing/JFormattedTextField.java
3367 (JFormattedTextField): Implemented.
3368 * javax/swing/text/DefaultEditorKit.java
3369 (BeepAction): New inner class.
3370 * javax/swing/text/Segment.java
3371 (partialReturn): New field.
3372 (setPartialReturn): New method.
3373 (isPartialReturn): Likewise.
3374 * javax/swing/text/View.java
3375 (createFragment): Fixed typo.
3376 (getStartOffset): New method.
3377 (getEndOffset): Likewise.
3378
3379 2004-08-31 Michael Koch <konqueror@gmx.de>
3380
3381 * javax/swing/table/DefaultTableColumnModel.java
3382 (serialVersionUID): Made private.
3383 (listenerList): Initialize.
3384 (changeEvent): Initialize.
3385 * javax/swing/table/JTableHeader.java
3386 (JTableHeader): New constructors.
3387 (createDefaultColumnModel): New method.
3388 * javax/swing/table/TableColumn.java
3389 (setHeaderRenderer): Simplified code.
3390 (setCellRenderer): Likewise.
3391 (setWidth): Likewise.
3392
3393 2004-08-31 Tom Tromey <tromey@redhat.com>
3394
3395 * java/text/AttributedString.java (AttributedString): Use
3396 ArrayList to build array of attribute ranges. Don't use
3397 `attribs' before it is set.
3398
3399 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3400
3401 * HACKING: Remove reference to special automake. No longer needed.
3402
3403 2004-08-30 Tom Tromey <tromey@redhat.com>
3404
3405 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3406 return result from `add'.
3407
3408 2004-08-30 Tom Tromey <tromey@redhat.com>
3409
3410 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3411
3412 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3413
3414 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3415
3416 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
3417
3418 * java/io/File.java File(String,String): Fixed handling of empty
3419 path.
3420
3421 2004-08-30 Casey Marshall <csm@gnu.org>
3422
3423 Author e-mail updated for all files.
3424 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3425 instance of OID.
3426 (compareTo): Use `equals'.
3427 * gnu/java/security/der/BitString.java (equals): Test if the
3428 argument is an instance of BitString.
3429 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3430 class final. Made fields private.
3431 (<init>): New constructor.
3432 (skip): New method.
3433 (makeString): Made static; don't use NIO.
3434 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3435 * gnu/java/security/der/DERWriter.java: Fixed imports.
3436 (writeString): Don't use NIO.
3437 (toIso88591, toUtf16Be, toUtf8): New methods.
3438 * gnu/java/security/der/DERValue.java: Formatting changes only.
3439 * gnu/java/security/der/DER.java: Likewise.
3440
3441 2004-08-30 Tom Tromey <tromey@redhat.com>
3442
3443 * java/nio/CharBuffer.java (put): Fix typo.
3444 * java/nio/DoubleBuffer.java (put): Fix typo.
3445 * java/nio/FloatBuffer.java (put): Fix typo.
3446 * java/nio/IntBuffer.java (put): Fix typo.
3447 * java/nio/LongBuffer.java (put): Fix typo.
3448 * java/nio/ShortBuffer.java (put): Fix typo.
3449
3450 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
3451
3452 * java/nio/ByteBuffer.java (put): Fix typo.
3453
3454 2004-08-30 Casey Marshall <csm@gnu.org>
3455
3456 * java/security/DummyKeyPairGenerator.java (clone): Removed
3457 useless instanceof check.
3458 * java/security/DummyMessageDigest.java (clone): Likewise.
3459 * java/security/DummySignature.java (clone): Likewise.
3460 * java/security/MessageDigest.java (clone): Remove useless
3461 instanceof check.
3462 * java/security/MessageDigestSpi.java (clone): Likewise.
3463 * java/security/Signature.java (clone): Provide meaningful
3464 implementation.
3465 * java/security/SignatureSpi.java (clone): Likewise.
3466
3467 2004-08-29 Mark Wielaard <mark@klomp.org>
3468
3469 * java/util/Arrays.java
3470 (sort(byte[], int, int)): Check fromIndex < 0.
3471 (sort(char[], int, int)): Likewise.
3472 (sort(short[], int, int)): Likewise.
3473 (sort(int[], int, int)): Likewise.
3474 (sort(long[], int, int)): Likewise.
3475 (sort(float[], int, int)): Likewise.
3476 (sort(double[], int, int)): Likewise.
3477 (sort(Object[], int, int, Comparator)): Likewise.
3478 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3479 (qsort(char[], int, int)): Likewise.
3480 (qsort(short[], int, int)): Likewise.
3481 (qsort(int[], int, int)): Likewise.
3482 (qsort(long[], int, int)): Likewise.
3483 (qsort(float[], int, int)): Likewise.
3484 (qsort(double[], int, int)): Likewise.
3485
3486 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3487
3488 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3489 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3490 java/util/ArrayList.java, java/util/Arrays.java,
3491 java/util/BitSet.java, java/util/Calendar.java,
3492 java/util/Collection.java, java/util/ListIterator.java,
3493 java/util/Map.java, java/util/SortedSet.java:
3494 Added additional exceptions to documentation, along
3495 with some additions and corrections.
3496
3497 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3498
3499 * configure.ac: Handle --enable-gc-debug.
3500 * configure: Regenerate.
3501 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3502 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3503 Rearrange include file order.
3504 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3505 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3506 (disable_gc_mutex): Delete along with all references.
3507 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3508 adjust for debug header size.
3509 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3510 debug case.
3511 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3512 (gcj_describe_type_fn): New.
3513 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3514 Register gcj_describe_type_fn.
3515 * include/boehm-gc.h:
3516 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3517 Don't define, but declare, for debug case.
3518 * java/lang/natObject.cc:
3519 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3520
3521 2004-08-26 Mark Wielaard <mark@klomp.org>
3522
3523 Fixes PR libgcj/17002:
3524 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3525 a TimeZoneId string and then try to convert that to a TimeZone with
3526 getDefaultSystemTimeZone(String).
3527 (timezones0): Changed type from Hashtable to HashMap.
3528 (timezones): Create HashMap, not Hashtable.
3529 (getDefaultTimeZone): New method, rewritten from CNI version.
3530 (readTimeZoneFile): New method.
3531 (readtzFile): Likewise.
3532 (skipFully): Likewise.
3533 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3534 getDefaultTimeZoneId and rewritten.
3535 (getDefaultTimeZoneId): Rewritten in java.
3536
3537 2004-08-25 David Daney <daney@avtrex.com>
3538
3539 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3540 * Makefile.in: Regenerated.
3541
3542 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3543
3544 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3545 only if jvmpi is enabled.
3546 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3547 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3548 (_Jv_AllocString): Likewise.
3549 (_Jv_AllocPtrFreeObject): Likewise.
3550
3551 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3552
3553 * defineclass.cc: Include <stdio.h>.
3554 * java/lang/natClassLoader.cc: Include <stdio.h>.
3555
3556 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3557 Michael Koch <konqueror@gmx.de>
3558
3559 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3560 * Makefile.in: Regenerated.
3561
3562 2004-08-20 Michael Koch <konqueror@gmx.de>
3563
3564 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3565 AC_COMPILE_IFELSE macros.
3566
3567 2004-08-20 Michael Koch <konqueror@gmx.de>
3568
3569 * configure.in: Renamed to configure.ac.
3570 * configure.ac: New file.
3571 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3572 include/config.h.in, testsuite/Makefile.in: Regenerated.
3573
3574 2004-08-20 Michael Koch <konqueror@gmx.de>
3575
3576 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3577 * aclocal.m4, configure: Regenerated.
3578
3579 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3580 Michael Koch <konqueror@gmx.de>
3581
3582 * configure.in, Makefile.am: Ported to automake 1.9.
3583 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3584 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3585 Regenerated.
3586
3587 2004-08-19 Tom Tromey <tromey@redhat.com>
3588
3589 * java/net/DatagramSocket.java: Fixed typo.
3590
3591 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3592
3593 PR libgcj/17081
3594 * java/net/URI.java (string): New field. Make all other fields
3595 transient.
3596 (readObject): Implemented.
3597 (writeObject): Implemented.
3598 (URI): Set 'string'.
3599
3600 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3601
3602 PR libgcj/17079
3603 * java/util/logging/Handler.java (isLoggable): Accept record if its
3604 log level equals the threshold level. From Robin Green.
3605
3606 2004-08-18 David Daney <ddaney@avtrex.com>
3607
3608 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3609 instead of sigwait.
3610
3611 2004-08-17 Michael Koch <konqueror@gmx.de>
3612
3613 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3614 * Makefile.in: Regenerated.
3615
3616 2004-08-16 Tom Tromey <tromey@redhat.com>
3617
3618 PR java/8473:
3619 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3620
3621 2004-08-16 Michael Koch <konqueror@gmx.de>
3622
3623 * Makefile.am
3624 (math_c_files): Renamed from c_files.
3625 (math_c_source_files): Renamed from c_source_files.
3626 * Makefile.in,
3627 gcj/Makefile.in,
3628 include/Makefile.in,
3629 testsuite/Makefile.in: Regenerated.
3630
3631 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3632
3633 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3634 to avoid autoconf warning.
3635 * configure: Rebuilt.
3636
3637 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3638
3639 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3640 localhostAddress to loopbackAddress.
3641 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3642
3643 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3644
3645 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3646 boehm-gc's include dirs.
3647 * configure: Rebuilt.
3648 * include/boehm-gc.h: Include gc_config.h.
3649
3650 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3651
3652 * java/net/InetAddress.java (loopbackAddress): Renamed from
3653 localhostAddress.
3654 (getByName): Return loopback address for null hostname, without
3655 security check. Use lookup(), not getAllByName.
3656 (getAllByName): Return loopback address for null hostname, without
3657 security check.
3658 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3659 check here.
3660
3661 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3662
3663 PR libgcj/17020
3664 Reported by Robin Green.
3665 * defineclass.cc (handleField): Don't throw exception on unrecognised
3666 modifier. Add FIXME comments for spec compliance.
3667 (handleMethod): Likewise.
3668
3669 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3670
3671 PR libgcj/16662
3672 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3673 (Almost everywhere): add LOG calls, fix, add comments.
3674 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3675 Add explicit check for LOCKED bit in slow case (PR 16662).
3676 (_Jv_MonitorExit): Add casts in debug-only code.
3677 Always release LOCKED bit before throwing exception.
3678 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3679 isn't. Handle easy cases without lock acquisition.
3680 (Object::wait): Use NotifyAll for lock inflation.
3681
3682 2004-08-12 David Daney <ddaney@avtrex.com>
3683
3684 * testsuite/libjava.lang/Process_1.java: New test.
3685 * testsuite/libjava.lang/Process_2.java: New test.
3686 * testsuite/libjava.lang/Process_3.java: New test.
3687 * testsuite/libjava.lang/Process_4.java: New test.
3688 * testsuite/libjava.lang/Process_5.java: New test.
3689 * testsuite/libjava.lang/Process_6.java: New test.
3690 * testsuite/libjava.lang/Process_1.out: Expected result.
3691 * testsuite/libjava.lang/Process_2.out: Expected result.
3692 * testsuite/libjava.lang/Process_3.out: Expected result.
3693 * testsuite/libjava.lang/Process_4.out: Expected result.
3694 * testsuite/libjava.lang/Process_5.out: Expected result.
3695 * testsuite/libjava.lang/Process_6.out: Expected result.
3696
3697 2004-08-12 David Daney <ddaney@avtrex.com>
3698
3699 PR libgcj/11801
3700 * java/lang/PosixProcess.java: Rewrote.
3701 * java/lang/natPosixProcess.cc: Rewrote.
3702 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3703 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3704 * posix-threads.cc (block_sigchld) New function.
3705 (_Jv_ThreadRegister) Use it.
3706 (_Jv_ThreadStart) Use it.
3707 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3708 * Makefile.am: ... to specify extra native headers.
3709 * configure: Regenerated.
3710 * include/config.h: Regenerated.
3711 * Makefile.in: Regenerated.
3712 * gcj/Makefile.in: Regenerated.
3713 * include/Makefile.in: Regenerated.
3714 * testsuite/Makefile.in: Regenerated.
3715
3716 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3717
3718 PR tree-optimization/16867
3719 * testsuite/libjava.lang/PR16867.java: New test.
3720
3721 2004-08-09 Per Bothner <per@bothner.com>
3722
3723 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3724 with private fields and access methods.
3725 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3726 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3727 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3728 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3729 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3730 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3731 * jni.cc: Likewise.
3732 * resolve.cc: Likewise.
3733 * gcj/field.h: Likewise.
3734 * include/jvm.h: Likewise.
3735 * java/lang/Class.h: Likewise.
3736 * java/lang/natClass.cc: Likwise.
3737 * java/lang/natClassLoader.cc: Likewise
3738 * java/lang/reflect/natMethod.cc: Likewise
3739 * verify.cc: Likewise.
3740 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3741 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3742
3743 2004-08-10 Andrew Haley <aph@redhat.com>
3744
3745 * testsuite/libjava.lang/err14.java: New file.
3746 * testsuite/libjava.lang/err14.out: New file.
3747
3748 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3749
3750 * Makefile.am: Fix missing rename from x_nat_headers to
3751 xlib_nat_headers.
3752 * Makefile.in: Regenerated.
3753
3754 2004-08-04 Andrew Haley <aph@redhat.com>
3755
3756 * java/security/BasicPermission.java: Don't check wildcards.
3757
3758 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3759 Michael Koch <konqueror@gmx.de>
3760
3761 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3762 * configure.in: Replaced all usages of AC_LINK_FILES by
3763 AC_CONFIG_LINKS.
3764 * aclocal.m4,
3765 configure: Regenerated.
3766
3767 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3768 Michael Koch <konqueror@gmx.de>
3769
3770 * acconfig.h: Removed.
3771 * Makefile.am: Rename variables for xlib peer to include xlib and
3772 gtk_c_headers to gtk_jni_headers.
3773 * Makefile.in: Regenerated.
3774
3775 2004-08-04 Andrew Haley <aph@redhat.com>
3776
3777 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3778 debugging.
3779
3780 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3781
3782 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3783 Replace most top level 'dnl' comments with '#' comments, conforming
3784 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3785 help strings.
3786 * configure: Rebuilt.
3787
3788 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3789
3790 * acinclude.m4: Include no-executables.m4.
3791 * aclocal.m4: Rebuild.
3792 * configure.in: Convert to the autoconf 2.59 version of
3793 of the no-executables hack, and also of the nonstandard CXX
3794 hack and the multilibbed CC and CXX hack. Change prerequisite
3795 to autoconf 2.59.
3796 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3797 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3798 testsuite/Makefile.in: Regenerate.
3799
3800 2004-08-03 Tom Tromey <tromey@redhat.com>
3801
3802 * jni.cc: Reindented.
3803
3804 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3805
3806 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3807
3808 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3809
3810 * testsuite/libjava.compile/PR16701.java: New test.
3811
3812 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3813
3814 * java/util/Collection.java, java/util/List.java,
3815 java/util/Map.java, java/util/Set.java,
3816 java/util/SortedMap.java, java/util/SortedSet.java:
3817 Added additional exceptions to documentation.
3818
3819 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3820
3821 PR libgcj/16814
3822 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3823 * configure. Regenerate.
3824 * include/win32.h: Explicitly include winsock2.h
3825 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3826 Winsock api.
3827
3828 2004-07-30 Michael Koch <konqueror@gmx.de>
3829
3830 * java/util/zip/GZIPInputStream.java
3831 (GZIPInputStream): Increase buffer size to 4k.
3832 * java/util/zip/GZIPOutputStream.java
3833 (GZIPOutputStream): Likewise.
3834 * java/util/zip/Inflater.java
3835 (setInput): Merged formating with GNU classpath.
3836 * java/util/zip/InflaterInputStream.java
3837 (InflaterInputStream): Increase buffer size to 4k.
3838 (fill): Throw exception if stream ends early.
3839 (read): Merged endless-loop with GNU classpath.
3840 (skip): Increase buffer size to 2k.
3841
3842 2004-07-30 Michael Koch <konqueror@gmx.de>
3843
3844 * gnu/java/awt/EmbeddedWindow.java
3845 (addNotify): Use AccessController to allow execution of privileged
3846 code.
3847
3848 2004-07-29 Michael Koch <konqueror@gmx.de>
3849
3850 * gnu/java/lang/MainThread.java:
3851 Explicitely import used classes.
3852 (args): Make it type String[].
3853
3854 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3855
3856 * gnu/java/awt/ComponentDataBlitOp.java,
3857 gnu/java/beans/ExplicitBeanInfo.java,
3858 gnu/java/beans/IntrospectionIncubator.java,
3859 gnu/java/beans/editors/ColorEditor.java,
3860 gnu/java/beans/editors/FontEditor.java,
3861 gnu/java/beans/editors/NativeBooleanEditor.java,
3862 gnu/java/beans/editors/NativeByteEditor.java,
3863 gnu/java/beans/editors/NativeDoubleEditor.java,
3864 gnu/java/beans/editors/NativeFloatEditor.java,
3865 gnu/java/beans/editors/NativeIntEditor.java,
3866 gnu/java/beans/editors/NativeLongEditor.java,
3867 gnu/java/beans/editors/NativeShortEditor.java,
3868 gnu/java/beans/editors/StringEditor.java,
3869 gnu/java/io/ClassLoaderObjectInputStream.java,
3870 gnu/java/io/decode/Decoder.java,
3871 gnu/java/io/encode/Encoder.java,
3872 gnu/java/lang/ClassHelper.java,
3873 gnu/java/locale/Calendar.java,
3874 gnu/java/locale/Calendar_de.java,
3875 gnu/java/locale/Calendar_en.java,
3876 gnu/java/locale/Calendar_nl.java,
3877 gnu/java/locale/LocaleInformation_de.java,
3878 gnu/java/locale/LocaleInformation_en.java,
3879 gnu/java/locale/LocaleInformation_nl.java:
3880 Cleaned up imports.
3881
3882 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3883
3884 * README: Remove obsolete info. Update bug URL.
3885 * THANKS: Updated.
3886 * NEWS: Updated with news up to GCC 3.4 release.
3887
3888 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3889
3890 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3891 Renamed from 'setName'. New 2-argument form with default value.
3892 (run): Pass default 'value' parameter to System.getProperty().
3893 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3894 typos.
3895 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3896 not 'setName'.
3897
3898 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3899
3900 * configure.in: Check for minimum GTK version 2.4 requirement.
3901 * configure: Rebuilt.
3902
3903 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3904
3905 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3906 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3907 Reduce sleep time.
3908 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3909 compiler bug.
3910 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3911 address. Reduce sleep times. Synchronize with target threads before
3912 attempting to interrupt them. Don't try to calibrate yeild count,
3913 instead, always loop for a fixed time.
3914 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3915 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3916 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3917 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3918 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3919 * testsuite/libjava.lang/pr179.java: Likewise.
3920 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3921 time. Remove upper bounds check on sleep time.
3922
3923 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3924
3925 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3926 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3927
3928 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3929
3930 * java/io/File.java (toURI): Throw RuntimeException, not
3931 InternalError.
3932 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3933 class name, not instance.
3934
3935 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3936
3937 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3938 and gnu/java/security/action/SetAccessibleAction.java.
3939 * Makefile.in: Rebuilt.
3940
3941 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3942
3943 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3944 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3945 _Jv_InitPrimClass.
3946 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3947 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3948 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3949
3950 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3951
3952 * Makefile.am: Replace jar, rmic and rmiregistry references with
3953 gjar, grmic and grmiregistry.
3954 * configure.in: Likewise.
3955 * Makefile.in: Regenerate.
3956 * configure: Likewise.
3957 * gcj/Makefile.in: Likewise.
3958 * include/Makefile.in: Likewise.
3959 * testsuite/Makefile.in: Likewise.
3960
3961 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3962
3963 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3964 for privileged getProperty calls.
3965 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3966 SetAccessibleAction instead of anonymous class for doPrivileged call.
3967 (getMethod): Likewise.
3968 (setAccessible): New field. PrivilegedAction object to use when
3969 calling setAccessible.
3970 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3971 SetAccessibleAction instead of anonymous class for diPrivileged call.
3972 (setFields): Likewise.
3973 (getClassUID): Likewise.
3974 (findMethod): Likewise.
3975 * gnu/java/security/action/GetPropertyAction.java: New class.
3976 * gnu/java/security/action/SetAccessibleAction.java: New class.
3977
3978 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3979
3980 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3981 for final fields.
3982 * testsuite/libjava.lang/Serialization.java: New test.
3983 * testsuite/libjava.lang/Serialization.out: New.
3984
3985 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3986
3987 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3988 missed in last commit.
3989
3990 2004-07-23 Mark Wielaard <mark@klomp.org>
3991
3992 * java/lang/System.java (static): Set http.agent system property when
3993 not yet set.
3994 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3995 from system property inside AccessController.doPrivileged() call.
3996 (proxyPort): Made package private.
3997 (proxyInUse): Likewise.
3998 (proxyHost): Likewise.
3999 (userAgent): Likewise.
4000
4001 2004-07-23 Mark Wielaard <mark@klomp.org>
4002
4003 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
4004 implementation.
4005
4006 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
4007
4008 * Makefile.am (ordinary_java_source_files): Add
4009 DefaultContentHandlerFactory.java.
4010 * Makefile.in: Rebuilt.
4011 * java/net/URLConnection.java (defaultFactory): New field.
4012 (getContent):
4013 (getContentHandler): Renamed from 'setContentHandler'. Try
4014 defaultFactory after user-set factory, if any. Search for content
4015 handler implementations in gnu.java.net.content, not gnu.gcj.content.
4016 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
4017 Implemented.
4018 (getLastModified): Implemented.
4019 (getPermission): Create file permission here, instead of in
4020 constructor.
4021 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4022 Implemented.
4023 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4024 Implemented.
4025 (getLastModified): Implemented.
4026 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4027 Default implementation.
4028 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4029 Implement using GdkPixbufDecoder.
4030
4031 2004-07-21 Michael Koch <konqueror@gmx.de>
4032
4033 * javax/swing/JTextArea.java
4034 (setLineWrap): Fire property change event after new value is set.
4035 (setTabSize): Likewise.
4036
4037 2004-07-21 Michael Koch <konqueror@gmx.de>
4038
4039 * javax/swing/JTable.java
4040 (autoCreateColumnsFromModel): New field.
4041 (autoResizeMode): Likewise.
4042 (cellEditor): Likewise.
4043 (cellSelectionEnabled): Likewise.
4044 (columnModel): Likewise.
4045 (dataModel): Likewise.
4046 (defaultEditorsByColumnClass): Likewise.
4047 (defaultRenderersByColumnClass): Likewise.
4048 (editingColumn): Likewise.
4049 (editingRow): Likewise.
4050 (gridColor): Likewise.
4051 (preferredViewportSize): Likewise.
4052 (rowHeight): Likewise.
4053 (rowMargin): Likewise.
4054 (rowSelectionAllowed): Likewise.
4055 (selectionBackground): Likewise.
4056 (selectionForeground): Likewise.
4057 (selectionModel): Likewise.
4058 (showHorizontalLines): Likewise.
4059 (showVerticalLines): Likewise.
4060 (tableHeader): Likewise.
4061 (JTable): Implemented.
4062 (getColumnModel): Likewise.
4063 (getSelectedRow): Likewise.
4064 (getSelectionModel): Likewise.
4065 (setModel): Likewise.
4066 (setSelectionModel): Likewise.
4067 (createScrollPaneForTable): New method.
4068 (createDefaultDataModel): Likewise.
4069 (createDefaultListSelectionModel): Likewise.
4070 (getModel): Likewise.
4071 (getTableHeader): Likewise.
4072 (setTableHeader): Likewise.
4073 (getColumnSelectionAllowed): Likewise.
4074 (setColumnSelectionAllowed): Likewise.
4075 (getRowSelectionAllowed): Likewise.
4076 (setRowSelectionAllowed): Likewise.
4077 (getAutoResizeMode): Likewise.
4078 (setAutoResizeMode): Likewise.
4079 (getColumnCount): Likewise.
4080 (getRowCount): Likewise.
4081 (getCellRenderer): Likewise.
4082 * javax/swing/JTree.java
4083 (cellRenderer): New field.
4084 (editable): Likewise.
4085 (rootVisible): Likewise.
4086 (showsRootHandles): Likewise.
4087 (getModel): New method.
4088 (setModel): Likewise.
4089 (isEditable): Likewise.
4090 (setEditable): Likewise.
4091 (isRootVisbile): Likewise.
4092 (setRootVisible): Likewise.
4093 (getShowsRootHandles): Likewise.
4094 (setShowRootHandles): Likewise.
4095 (getCellRenderer): Likewise.
4096 (setCellRenderer): Likewise.
4097
4098 2004-07-21 Michael Koch <konqueror@gmx.de>
4099
4100 * javax/swing/JFormattedTextField.java
4101 (setDocument): Implemented.
4102 * javax/swing/JRootPane.java:
4103 Fixed javadocs.
4104 * javax/swing/JTable.java
4105 (getDefaultRenderer): New method.
4106 * javax/swing/JTextField.java
4107 (setFont): Likewise.
4108 (getPreferredSize): Likewise.
4109 * javax/swing/JToggleButton.java
4110 (getAccessibleContext): Fix javadoc.
4111 * javax/swing/JTree.java:
4112 Add some javadocs.
4113 * javax/swing/JViewport.java:
4114 Likewise.
4115
4116 2004-07-21 David Jee <djee@redhat.com>
4117
4118 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4119 Collect all native method declaration at the top.
4120 (create): Set the filename filter if necessary.
4121 (setDirectory): Call nativeSetDirectory().
4122 (setFilenameFilter): Implement.
4123 (filenameFilterCallback): New method.
4124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4125 (create): Configure dialog to show hidden files.
4126 (filenameFilterCallback): New function.
4127 (nativeSetFilenameFilter): New function.
4128 (nativeSetDirectory): New function.
4129
4130 2004-07-21 Kim Ho <kho@redhat.com>
4131
4132 * javax/swing/plaf/basic/BasicSliderUI.java:
4133 Ran Jalopy.
4134 (paintTrack): Fill the track before painting
4135 the borders.
4136
4137 2004-07-21 Graydon Hoare <graydon@redhat.com>
4138
4139 patch from Roman Kennke <roman@ontographics.com>
4140 * javax/swing/Spring.java: New file.
4141 * javax/swing/SpringLayout.java: New file.
4142 * Makefile.am: Add new files.
4143 * Makefile.in: Regenerate.
4144
4145 2004-07-21 Graydon Hoare <graydon@redhat.com>
4146
4147 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4148 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4149 * javax/swing/ScrollPaneLayout.java: Likewise.
4150
4151 2004-07-21 Kim Ho <kho@redhat.com>
4152
4153 * javax/swing/DefaultDesktopManager.java:
4154 (findMinimum): Removed.
4155 (resizeFrame): Trust the UI to pass valid
4156 bounds.
4157 * javax/swing/JOptionPane.java:
4158 Implemented showInternalXXXDialog methods.
4159 (startModal): New method.
4160 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4161 (BorderListener::mouseDragged): Verify that the new
4162 bounds are valid before passing them to the DesktopManager.
4163 (preferredLayoutSize): Delegate
4164 to getSize.
4165 (minimumLayoutSize): Ditto.
4166 (getSize): New method.
4167 (GlassPaneDispatcher): Reimplemented by copying
4168 a stripped down LightweightDispatcher from Container.
4169 (getMinimumSize): Call minimumLayoutSize.
4170 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4171 Ran Jalopy.
4172 (mousePressed): Add ability to properly close
4173 JInternalFrames.
4174 * javax/swing/plaf/basic/BasicToolBarUI.java:
4175 (DragWindow): Set owner for DragWindow.
4176
4177 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4178
4179 * java/awt/image/ShortLookupTable.java: New file.
4180 * java/awt/image/ByteLookupTable.java: New file.
4181 * Makefile.am: Added new files.
4182 * Makefile.in: Regenerated.
4183
4184 2004-07-21 David Jee <djee@redhat.com>
4185
4186 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4187 (create(GtkContainerPeer)): New native method.
4188 (create()): Call native create(), passing in the parent frame
4189 as the paramter. Natively set the current file and directory.
4190 (setFile): Construct an absolute filename before passing it to
4191 the native peer.
4192 (nativeGetDirectory): New method.
4193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4194 (window_closed): Removed.
4195 (ok_clicked): Likewise.
4196 (cancel_clicked): Likewise.
4197 (handle_response): New method.
4198 (create): Use GtkFileChooserDialog.
4199 (connectSignals): Connect to handle_response.
4200 (nativeGetDirectory): New method.
4201 (nativeSetFile): Use GtkFileChooserDialog.
4202
4203 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4204
4205 * java/awt/image/LookupTable.java: New file.
4206 * Makefile.am: Added new file.
4207 * Makefile.in: Regenerated.
4208
4209 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4210
4211 * java/awt/image/Kernel.java: New file.
4212 * Makefile.am: Added new file.
4213 * Makefile.in: Regenerated.
4214
4215 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4216
4217 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4218 * javax/swing/JMenu.java: Likewise.
4219 * javax/swing/JMenuBar.java: Likewise.
4220 (MARGIN_CHANGED_PROPERTY): New property.
4221 (setMargin): Implemented.
4222 * javax/swing/JMenuItem.java: Fixed javadocs.
4223 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4224 (LABEL_CHANGED_PROPERTY): New property.
4225 (add): changed to use createActionComponent.
4226 (createActionComponent): Implemented.
4227 (setLabel): Fire PropertyChangeEvent if label property
4228 changes.
4229 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4230 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4231 (ContainerHandler): Repaint if margin property has changed.
4232 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4233 (installUI): Call installComponents().
4234 (uninstallUI): Call uinstallComponents().
4235 * javax/swing/plaf/basic/BasicMenuUI.java:
4236 Fixed javadocs.
4237 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4238 Likewise.
4239
4240 2004-07-21 Kim Ho <kho@redhat.com>
4241
4242 * javax/swing/plaf/basic/BasicToolBarUI.java:
4243 (DragWindow): Use the right constructor.
4244
4245 2004-07-21 Kim Ho <kho@redhat.com>
4246
4247 * javax/swing/JToolBar.java:
4248 (layoutContainer): Use getComponents.
4249 * javax/swing/plaf/basic/BasicToolBarUI.java:
4250 (DragWindow): Don't use SwingUtilities'
4251 getOwnerFrame
4252 (ToolBarDialog): ditto.
4253
4254 2004-07-21 Kim Ho <kho@redhat.com>
4255
4256 * javax/swing/JRootPane.java:
4257 Ran jalopy.
4258 (layoutContainer): Set the glasspane's size to
4259 be the same as the content pane.
4260 (createGlassPane): Set opaque property to false.
4261
4262 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4263
4264 * java/awt/Component.java (requestFocus()): Don't handle Panels
4265 specially.
4266 (requestFocus(boolean)): Likewise.
4267 (requestFocusInWindow(boolean)): Likewise.
4268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4269 Set GTK_CAN_FOCUS flag.
4270
4271 2004-07-21 Kim Ho <kho@redhat.com>
4272
4273 * Makefile.am: Added new file.
4274 * Makefile.in: Regenerated.
4275 * gcj/Makefile.in: Regenerated.
4276 * include/Makefile.in: Regenerated.
4277 * javax/swing/AbstractButton.java:
4278 Add rollOverEnabled property.
4279 (setRolloverEnabled): Use new property.
4280 (isRolloverEnabled): Use new property.
4281 * javax/swing/JTabbedPane.java:
4282 (setComponent): Remove useless JTabbedPane.this.
4283 * javax/swing/JToolBar.java: Finish implementation.
4284 * javax/swing/plaf/basic/BasicArrowButton.java:
4285 (paint): Moved border painting to a border.
4286 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4287 Change JToolBar look and feel defaults.
4288 * javax/swing/plaf/basic/BasicOptionPaneUI.java
4289 (actionPerformed): Return Integer index instead of name.
4290 (addButtonComponents): Check to see if component is
4291 JButton last.
4292 (createMessageArea): Don't use components that are not
4293 completed yet.
4294 (getIconForType): Use temporary icons.
4295 * javax/swing/plaf/basic/BasicSliderUI.java:
4296 (mousePressed): Do not return if it's on thumb.
4297 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4298 (paintMinorTickForVertSlider): ditto.
4299 (paintMajorTickForHorizSlider): ditto.
4300 (paintMajorTickForVertSlider): ditto.
4301 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4302 Add a border around the SplitPaneDivider.
4303 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4304 Remove comments.
4305 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4306 New file. Implemented.
4307 * javax/swing/plaf/basic/BasicToolBarUI.java:
4308 Implemented.
4309 * testsuite/Makefile.in: Regenerated.
4310
4311 2004-07-21 Graydon Hoare <graydon@redhat.com>
4312
4313 * javax/swing/Timer.java (run): Queue events each time cycle.
4314
4315 2004-07-21 David Jee <djee@redhat.com>
4316
4317 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4318 (imageComplete): Call image.imageComplete().
4319 * java/awt/image/MemoryImageSource.java:
4320 Reimplement consumers as a Vector instead of a Hashtable. This is
4321 because enumeration on a Hashtable is not thread-safe.
4322 (addConsumer): Adapt to Vector consumers.
4323 (isConsumer): Adapt to Vector consumers.
4324 (removeConsumer): Adapt to Vector consumers.
4325 (startProduction): Adapt to Vector consumers. Call imageComplete()
4326 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4327 (newPixels): Adapt to Vector consumers.
4328 (sendPicture): Set the color model of the image consumer.
4329 (newPixels(IIII)): Adapt to Vector consumers.
4330 (newPixels(IIIIB)): Adapt to Vector consumers.
4331
4332 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4333
4334 * java/awt/Component.java (deliverEvent): Implement.
4335 (postEvent): Implement.
4336 (handleEvent): Implement.
4337 (translateEvent): New method.
4338 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
4339 * java/awt/Container.java (deliverEvent): Implement.
4340 * java/awt/Event.java (paramString): Fix formatting.
4341 * java/awt/Font.java (toString): Likewise.
4342 * java/awt/Window.java (postEvent): Implement.
4343
4344 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4345
4346 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4347 Set window's focus owner upon receiving a FOCUS_LOST event.
4348 * java/awt/Window.java (Window()): Refocus the previously
4349 focused component within the window when the window regains the
4350 top-level focus.
4351 (setFocusOwner): New method.
4352 * java/awt/Component.java (requestFocus): Add FIXME.
4353
4354 * libgcj.pc.in: Remove library flags.
4355
4356 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4357
4358 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4359 MOUSE_PRESSED event.
4360 * java/awt/Component.java (requestFocus()): Handle Panel
4361 specially. Post FOCUS_LOST event on opposite component.
4362 (requestFocus(boolean)): Likewise.
4363 (requestFocusInWindow(boolean)): Likewise.
4364 (paramString): Reorder dimension fields.
4365 * java/awt/Container.java (paramString): Fix string format.
4366 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4367 Handle FOCUS_LOST events. Don't handle Windows specially. Only
4368 process key events if the focus owner is non-null.
4369 (dispatchKeyEvent): Likewise.
4370 * java/awt/Frame.java (paramString): Fix formatting.
4371 (generateName): New method.
4372 (getUniqueLong): Likewise.
4373 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4374 the temporary focus owner is null. If so, return the permanent
4375 focus owner.
4376 * java/awt/Panel.java (generateName): New method.
4377 (getUniqueLong): Likewise.
4378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4379 signal handling to make callbacks more specific.
4380
4381 2004-07-21 Michael Koch <konqueror@gmx.de>
4382
4383 * javax/swing/text/Position.java
4384 (Bias): Implemented.
4385
4386 2004-07-21 Michael Koch <konqueror@gmx.de>
4387
4388 * javax/swing/LookAndFeel.java
4389 (provideErrorFeedback): New method.
4390
4391 2004-07-21 Michael Koch <konqueror@gmx.de>
4392
4393 * javax/swing/JTextArea.java
4394 (tabSize): New field.
4395 (getTabSize): New method.
4396 (setTabSize): Likewise.
4397
4398 2004-07-21 Michael Koch <konqueror@gmx.de>
4399
4400 * javax/swing/ActionMap.java:
4401 Fixed javadocs all over.
4402 (serialVersionUID): Made private.
4403 (parent): Don't explicitely initialize with default value.
4404 (get): SImplified.
4405 (keys): Reimplemented.
4406 (allKeys): Likewise.
4407 (convertSet): Removed.
4408 * javax/swing/ComponentInputMap.java:
4409 Fixed javadocs all over.
4410 (ComponentInputMap): Implemented.
4411 (put): Likewise.
4412 (clear): Likewise.
4413 (remove): Likewise.
4414 (SetParent): Likewise.
4415 (getComponent): Likewise.
4416 * javax/swing/InputMap.java:
4417 Fixed javadocs all over.
4418 (serialVersionUID): Made private.
4419 (parent): Don't explicitely initialize with default value.
4420 (get): SImplified.
4421 (keys): Reimplemented.
4422 (allKeys): Likewise.
4423 (convertSet): Removed.
4424
4425 2004-07-21 Michael Koch <konqueror@gmx.de>
4426
4427 * javax/swing/ActionMap.java,
4428 javax/swing/ComponentInputMap.java,
4429 javax/swing/InputMap.java,
4430 javax/swing/table/DefaultTableColumnModel.java,
4431 javax/swing/table/TableColumn.java,
4432 javax/swing/table/TableColumnModel.java,
4433 javax/swing/table/TableModel.java,
4434 javax/swing/text/AbstractDocument.java,
4435 javax/swing/text/TextAction.java:
4436 Reformated.
4437
4438 2004-07-21 Graydon Hoare <graydon@redhat.com>
4439
4440 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4441 Make method non-static.
4442 * javax/swing/AbstractButton.java:
4443 Rename fields to match property names where possible.
4444 (iconTextGap): New property.
4445 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4446 (init) New method, call from after various constructors.
4447 * javax/swing/JComponent.java (revalidate):
4448 Invalidate before queueing repair.
4449 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4450 Reimplement in terms of visibleRowCount property.
4451 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4452 * javax/swing/JScrollPane.java (createScrollListener):
4453 Remove tracing chatter.
4454 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4455 * javax/swing/RepaintManager.java (addInvalidComponent):
4456 Don't invalidate.
4457 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4458 calculations.
4459 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4460 Mimic sun behavior on top left/right positioning.
4461 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4462 Remove mistaken use of preferredScrollableViewportSize here.
4463 (layoutContainer): Use view's preferred size as basis.
4464 * javax/swing/plaf/basic/BasicButtonUI.java:
4465 Set, get, and use textIconGap property.
4466 (paint) Paint text returned from layout (with ellipsis).
4467 * javax/swing/plaf/basic/BasicListUI.java:
4468 Remove tracing chatter, correct various minor calculations.
4469 (getCellBounds): Update layout state before calculating.
4470 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4471 Use margin default similar to sun's.
4472 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4473 (createIncreaseIcon): Center icon, minimize margins.
4474 (createDecreaseIcon): Likewise.
4475 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4476 Implement.
4477 (installUI): Call it.
4478 (uninstallDefaults): Implement.
4479 (uninstallUI): Call it.
4480 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4481 Call existing Window constructor.
4482 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4483 Set clip before painting.
4484
4485 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4486
4487 * javax/swing/JMenuItem.java:
4488 (processMouseEvent): Reimplemented to deal with
4489 mouse drag events.
4490 (createMenuDragMouseEvent): New private helper method.
4491 Creates MenuDragMouseEvent.
4492 * javax/swing/MenuSelectionManager.java
4493 (componentForPoint): Implemented.
4494 (isComponentPartOfCurrentMenu): Made public.
4495 (processMouseEvent): Reimplemented to deal with
4496 mouse drag events.
4497 (setSelectedPath): Corrected small mistake that caused
4498 path to be set incorrectly.
4499 (getPath): If given component is JMenu then also add this
4500 menu's popup menu to the selected path.
4501 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4502 (getPath): Ditto.
4503 (getPreferredSize): Call getPreferredMenuItemSize().
4504 (getPreferredItemSize): Moved code from getPreferredSize to here.
4505 (installListeners): Install MouseMotionListeners.
4506 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4507 if mouse wasn't released in the bounds of this menu item.
4508 (MenuDragMouseHandler): Implemented.
4509 * javax/swing/plaf/basic/BasicMenuUI.java:
4510 (installListeners): Install MouseMotionListener and
4511 MenuDrageMouseListener.
4512 (MenuDragMouseHandler): Implemented.
4513 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4514 (uninstallListeners): Implemented.
4515
4516 2004-07-21 Michael Koch <konqueror@gmx.de>
4517
4518 * javax/swing/JCheckBox.java: Reformated.
4519 (JCheckBox): Fixed all constructors.
4520 (isBorderPaintedFlat): New method.
4521 (setBorderPaintedFlat): New method.
4522 * javax/swing/JEditorPane.java
4523 (createEditorKitForContentType): Made public.
4524 (scrollToReference): Likewise.
4525 * javax/swing/JTextArea.java
4526 (setLineWrap): Fire property change.
4527 * javax/swing/JToggleButton.java
4528 (JToggleButton): New constructor.
4529 (JToggleButton): Simplified.
4530 * javax/swing/text/AttributeSet.java
4531 (FontAttribute): Renamed from FontCharacterAttribute.
4532 * javax/swing/text/JTextComponent.java
4533 (KeyBinBinding): Added javadoc.
4534 (JTextComponent): Likewise.
4535 (getAccessibleContext): Fixed javadoc.
4536 * javax/swing/text/View.java
4537 (View): Added javadoc.
4538 * javax/swing/text/TabableView.java: New file.
4539 * Makefile.am: Added javax/swing/text/TabableView.java.
4540 * Makefile.in: Regenerated.
4541
4542 2004-07-21 Graydon Hoare <graydon@redhat.com>
4543
4544 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4545 * gnu/java/awt/peer/gtk/GtkToolkit.java
4546 (GtkErrorImage): New helper class.
4547 (bufferedImageOrError): New helper method.
4548 (createImage): Use it.
4549
4550 2004-07-21 David Jee <djee@redhat.com>
4551
4552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4553 (setCaretPosition): Scroll the text view so the new caret position
4554 is visible on screen.
4555
4556 2004-07-21 David Jee <djee@redhat.com>
4557
4558 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4559 (setBounds): Do not validate awtComponent here.
4560 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4561 (getPreferredSize): New method.
4562 * java/awt/ScrollPane.java
4563 (ScrollPane): Set default size to 100x100.
4564 (addNotify): If child is not a Panel, wrap it with a new Panel.
4565 (paramString): Implement.
4566
4567 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4568
4569 * javax/swing/JMenu.java:
4570 (setSelected): Display popup menu only if this menu
4571 is showing on the screen.
4572 * javax/swing/JPopupMenu.java:
4573 (processMouseEvent): Added comment.
4574 (processKeyEvent): Likewise.
4575 * javax/swing/MenuSelectionManager.java:
4576 (clearSelectedPath): Only fireStateChanged() after
4577 selected path was changed, not before.
4578 (setSelectedPath): Likewise.
4579 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4580 (paintMenuItem): Corrected position of menu item's
4581 icon.
4582 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4583 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4584 (popupMenuCanceled): Reimplemented.
4585 (popupMenuWillBecomeVisible): Select first menu item by default
4586 when displaying free floating popup menus.
4587 (TopWindowListener): Reimplemented.
4588
4589 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4590
4591 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4592 Panel from being painted twice when it is first shown.
4593
4594 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4595
4596 * java/awt/Window.java: Reverted changes from my
4597 previous patch for creating window without an owner.
4598 * javax/swing/SwingUtilities.java:
4599 (SwingUtilities.OwnerFrame): made static.
4600 (OwnerFrame.setVisible): New method. Overridden with
4601 empty implementation.
4602 (OwnerFrame.isShowing): New method. Ovverridden
4603 to return always true.
4604
4605 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4606
4607 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4608 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4609 (GtkComponentPeer): Remove temporary try/catch block.
4610 (setVisible): Call show and hide.
4611 (show): Make native.
4612 (hide): Likewise.
4613 (getArgs): Don't add "visible" argument.
4614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4615 (property_notify_predicate): Return Bool instead of int.
4616 (find_layout): New function.
4617 (connectJObject): Call find_layout.
4618 (connectSignals): Likewise.
4619 (moveLayout): Likewise.
4620 (gtkLayoutSetVisible): Likewise.
4621
4622 2004-07-21 Mark Wielaard <mark@klomp.org>
4623
4624 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4625 on notifier object before calling notifyAll().
4626
4627 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4628
4629 * java/awt/Window.java: Changed constructors to use new
4630 method that is described below. Constructors call this
4631 methods only if newly created window should have an owner.
4632 (setWindowOwner): New method. Implementation for
4633 this method is moved from this(owner,configuration).
4634 * javax/swing/JWindow.java:
4635 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4636 instead of owner.
4637 * javax/swing/SwingUtilities.java:
4638 (ownerFrame): Change type of this field to OwnerFrame.
4639 (getOwnerFrame): Changed to return object of type OwnerFrame.
4640 (SwingUtilities.OwnerFrame): New class. Represents owner
4641 of a Window that is not provided with one.
4642
4643 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4644
4645 * javax/swing/AbstractButton.java:
4646 (configurePropertiesFromAction): Set action command
4647 to button's text by default if action command is not
4648 explicitely specified.
4649 * javax/swing/JMenu.java: Remove unnecessary listener
4650 and methods relevant to it.
4651 (setSelected): Reimplemented.
4652 (menuSelectionChanged): Moved most part of implementation to
4653 setSelected() and call it instead.
4654 * javax/swing/JMenuItem.java:
4655 (init): Comment out statement that sets paint_border to false.
4656 (configurePropertiesFromAction): Do not set accelerator
4657 for JMenu.
4658 (menuSelectionChanged): Change selected index in the selection
4659 model of menu item's parent.
4660 * javax/swing/JPopupMenu.java:
4661 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4662 instead of GridBagConstraints.HORIZONTAL.
4663 (insert): Likewise.
4664 (createActionChangeListener): Implemented.
4665 (setVisible): Correct location of HeavyWeightMenu and
4666 don't firePopupMenuCanceled().
4667 (menuSelectionChanged): Implemented.
4668 (ActionChangeListener): New Listener. Implemented.
4669 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4670 (BasicMenuBarUI.ContainerHandler): Implemented.
4671 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4672 (paintMenuItem): Uncommented out code that paints
4673 icon, now that icons are working properly.
4674 (PropertyChangeListener): Implemented.
4675 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4676 Added javadocs.
4677 (topWindowListener): New field.
4678 (Constructor): initialize topWindowListener.
4679 (BasicPopupMenuUI.TopWindowListener): Implemented.
4680 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4681 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4682 Implemented.
4683
4684 2004-07-21 Michael Koch <konqueror@gmx.de>
4685
4686 * javax/swing/plaf/basic/BasicButtonUI.java
4687 (paintFocus): Fixed method signature.
4688 (paintButtonPressed): Likewise.
4689 (paintButtonNormal): Likewise.
4690 (paintText): New method.
4691 * javax/swing/plaf/basic/BasicLabelUI.java
4692 (paint): Re-indented.
4693 * javax/swing/plaf/basic/BasicTextUI.java
4694 (installUI): Set parent textComponent to opaque.
4695 * javax/swing/text/DefaultHighlighter.java
4696 (checkPositions): New helper method.
4697 (addHighlight): Throws BadLocationException, check positions.
4698 (changeHighlight): Likewise.
4699 * javax/swing/text/EditorKit.java
4700 (EditorKit): Implements Serializable.
4701 * javax/swing/text/JTextComponent.java
4702 (getUI): Added javadoc.
4703 (setUI): Likewise.
4704 (upadteUI): Added javadoc, don't revalidate and repaint.
4705
4706 2004-07-21 David Jee <djee@redhat.com>
4707
4708 * java/awt/GridBagLayout.java
4709 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4710 * javax/swing/AbstractButton.java
4711 (setText): Reindent.
4712 * javax/swing/RepaintManager.java
4713 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4714
4715 2004-07-21 Michael Koch <konqueror@gmx.de>
4716
4717 * javax/swing/JFormattedTextField.java
4718 (value): New field.
4719 (JFormattedTextField): Implemented.
4720 (getValue): Likewise.
4721 (setValue): Likewise.
4722 * javax/swing/LookAndFeel.java
4723 (getSupportsWindowDecorations): New method.
4724 * javax/swing/UIDefaults.java:
4725 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4726 (addPropertyChangeListener): Made public.
4727 (addResourceBundle): Likewise.
4728 (removeResourceBundle): Likewise.
4729 (setDefaultLocale): Likewise.
4730 * javax/swing/plaf/basic/BasicRootPaneUI.java
4731 (BasicRootPaneUI): Implements PropertyChangeListener.
4732 (propertyChange): New method.
4733 * javax/swing/plaf/basic/BasicTextUI.java
4734 (BasicHighlighter): New inner class.
4735 (createHighlighter): New method.
4736 * javax/swing/plaf/basic/BasicToolBarUI.java
4737 (DragWindow): Extends java.awt.Window.
4738 * javax/swing/text/JTextComponent.java
4739 (getDocument): Removed debug output.
4740 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4741 javax/swing/text/DefaultHighlighter.java,
4742 javax/swing/text/FieldView.java,
4743 javax/swing/text/PlainView.java: New files.
4744 * Makefile.am: Added new files.
4745 * Makefile.in: Regenerated.
4746
4747 2004-07-21 Michael Koch <konqueror@gmx.de>
4748
4749 * javax/swing/JEditorPane.java
4750 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4751 (createEditorKitForContentType): Likewise.
4752 * javax/swing/text/DefaultEditorKit.java
4753 (serialVersionUID): Added constant field.
4754 (EndOfLineStringPropery): Fixed typo.
4755 (DefaultEditorKit): New constructor.
4756 * javax/swing/text/Segment.java:
4757 Import java.text.CharacterIterator.
4758 * javax/swing/text/CharacterIterator.java,
4759 javax/swing/text/PlainEditorKit.java: Removed.
4760 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4761 javax/swing/text/PlainEditorKit.java.
4762 * Makefile.in: Regenerated.
4763
4764 2004-07-21 Michael Koch <konqueror@gmx.de>
4765
4766 * javax/swing/JButton.java,
4767 javax/swing/text/DefaultEditorKit.java,
4768 javax/swing/text/EditorKit.java,
4769 javax/swing/text/Segment.java,
4770 javax/swing/text/StyledEditorKit.java:
4771 Reformatted.
4772
4773 2004-07-21 Michael Koch <konqueror@gmx.de>
4774
4775 * javax/swing/ImageIcon.java
4776 (file): Removed.
4777 (description): Renamed from descr.
4778 (ImageIcon): Added missing constructors.
4779 (setParent): Removed.
4780 (setImageObserver): New method.
4781 (getImageObserver): New method.
4782 (paintIcon): Handle observer = null.
4783 * javax/swing/JButton.java
4784 (removeNotify): Fixed javadoc.
4785 (updateUI): Simplified.
4786 * javax/swing/JRootPane.java
4787 (serialVersionUID): New constant field.
4788 * javax/swing/UIManager.java:
4789 Fixed javadocs all over.
4790 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4791 * javax/swing/text/AbstractDocument.java
4792 (createPosition): Throws BadLocationException.
4793 (getText): Likewise.
4794 (remove): Likewise.
4795 * javax/swing/text/ComponentView.java
4796 (modelToView): Likewise.
4797 * javax/swing/text/DefaultEditorKit.java:
4798 Made all public methods public.
4799 (read): Throws BadLocationException and IOException.
4800 (write): Likewise.
4801 * javax/swing/text/EditorKit.java:
4802 Made all public methods public.
4803 (serialVersionUID): New constant field.
4804 (clone): New method.
4805 (read): Throws BadLocationException and IOException.
4806 (write): Likewise.
4807 * javax/swing/text/Segment.java
4808 (array): Made public.
4809 (count): Likewise.
4810 (offset): Likewise.
4811 (Segment): New constructors.
4812 (clone): Reimplemented.
4813 * javax/swing/text/StyledEditorKit.java
4814 (serialVersionUID): New constant field.
4815
4816 2004-07-21 Graydon Hoare <graydon@redhat.com>
4817
4818 * java/awt/image/BufferedImage.java
4819 (getSource): Implement.
4820 * javax/swing/ImageIcon.java
4821 (ImageIcon): Implement ctor.
4822 * javax/swing/ScrollPaneLayout.java
4823 (preferredLayoutSize): Be more careful about nulls.
4824
4825 2004-07-21 Michael Koch <konqueror@gmx.de>
4826
4827 * javax/swing/text/AttributeSet.java
4828 (CharacterAttribute): New interface
4829 (ColorAttribute): Likewise.
4830 (FontCharacterAttribute): Likewise.
4831 (ParagraphAttribute): Likewise.
4832 * javax/swing/text/DefaultCaret.java
4833 (moveCaret): New method.
4834 (positionCaret): Likewise.
4835 (repaint): Made protected.
4836 * javax/swing/text/JTextComponent.java
4837 (KeyBinding): Made it static.
4838 * javax/swing/text/View.java
4839 (getContainer): Honor parent == null.
4840
4841 2004-07-21 Michael Koch <konqueror@gmx.de>
4842
4843 * javax/swing/text/AbstractDocument.java:
4844 Reformatted.
4845
4846 2004-07-21 Michael Koch <konqueror@gmx.de>
4847
4848 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4849 Import javax.swing.UIManager explicitely.
4850 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4851 (ScrollingButton): Made it static.
4852
4853 2004-07-21 Michael Koch <konqueror@gmx.de>
4854
4855 * javax/swing/UIDefaults.java
4856 (ActiveValue): Made public.
4857 (LazyValue): Likewise.
4858 * javax/swing/plaf/basic/BasicTextUI.java
4859 (RootView): Reintroduced.
4860 (view): Removed.
4861 (rootView): New field.
4862 (installUI): Create document if needed, initialize rootView.
4863 (uninstallUI): Hanle rootView.
4864 (paint): Likewise.
4865 (getRootView): Likewise.
4866 (setView): Likewise.
4867 * javax/swing/text/DefaultCaret.java:
4868 Renamed all "evt" variables to "event".
4869
4870 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4871
4872 * libgcj.spec.in: Add -l-java-util-logging.
4873
4874 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4875
4876 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4877 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4878 gtk-xft-dpi can no calculate the right value.
4879 (dpi_changed_cb): Mark *pspec as unsused.
4880
4881 2004-07-21 David Jee <djee@redhat.com>
4882
4883 * java/awt/Component.java
4884 (move): Delegate to setBounds().
4885 (resize): Likewise.
4886 (reshape): Fix so it repaints parent and self only when necessary.
4887
4888 2004-07-21 David Jee <djee@redhat.com>
4889
4890 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4891 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4892 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4893 (setVisible): Likewise.
4894 (show): Likewise.
4895 (hide): Likewise.
4896 (getArgs): Likewise.
4897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4898 (property_notify_predicate): Likewise.
4899 (find_layout): Likewise.
4900 (connectJObject): Likewise.
4901 (connectSignals): Likewise.
4902 (moveLayout): Likewise.
4903 (gtkLayoutSetVisible): Likewise.
4904
4905 2004-07-21 Graydon Hoare <graydon@redhat.com>
4906
4907 * Makefile.am
4908 (jv_convert_LDADD):
4909 (gij_LDADD):
4910 (rmic_LDADD):
4911 (rmiregistry_LDADD): Add lib-java-util-logging.la
4912 * Makefile.in: Regenerate.
4913
4914 2004-07-21 Michael Koch <konqueror@gmx.de>
4915
4916 * javax/swing/text/AbstractDocument.java
4917 (replace): Dont use protected method of java.util.Vector directly.
4918
4919 2004-07-21 Michael Koch <konqueror@gmx.de>
4920
4921 * javax/swing/plaf/basic/BasicTextUI.java
4922 (installUI): Call specialized install methods.
4923 (installDefaults): New method.
4924 (installListeners): Likewise.
4925 (installKeyboardActions): Likewise.
4926 (uninstallUI): Likewise.
4927 (uninstallDefaults): New method.
4928 (uninstallListeners): Likewise.
4929 (uninstallKeyboardActions): Likewise.
4930 (getPropertyPrefix): New abstract method.
4931 (paint): Made final, just call paintSafely().
4932 (paintSavely): New method.
4933 (paintBackground): Likewise.
4934 (getVisibleEditorRect): Likewise.
4935 * javax/swing/text/LayeredHighlighter.java,
4936 javax/swing/text/TabExpander.java: New files.
4937 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4938 and javax/swing/text/TabExpander.java.
4939 * Makefile.in: Regenerated.
4940
4941 2004-07-21 Michael Koch <konqueror@gmx.de>
4942
4943 * javax/swing/plaf/basic/BasicTextUI.java
4944 (BasicTextUI): Made abstract.
4945 (BasicCaret): New inner class.
4946 (view): Don't explicitely initialize with "null".
4947 (textComponent): New field.
4948 (textColor): Removed.
4949 (disabledTextColor): Removed.
4950 (normalBackgroundColor): Removed.
4951 (RootView): Removed commented out inner class.
4952 (createUI): Removed.
4953 (createCaret): New method.
4954 (getComponent): Likewise.
4955 (installUI): Initialize textComponent only.
4956 (getPreferredSize): Use installed JTextComponent.
4957 (setView): New method.
4958 (create): Likewise.
4959 * javax/swing/text/JTextComponent.java
4960 (highlighter): New field.
4961 (caretColor): Likewise.
4962 (disabledTextColor): Likewise.
4963 (seletedTextColor): Likewise.
4964 (selectionColor): Likewise.
4965 (setUI): New method.
4966 (getCaretColor): Likewise.
4967 (setCaretColor): Likewise.
4968 (getDisabledColor): Likewise.
4969 (setDisabledColor): Likewise.
4970 (getSelectedTextColor): Likewise.
4971 (setSelectedTextColor): Likewise.
4972 (getSelectionColor): Likewise.
4973 (setSelectionColor): Likewise.
4974 (getHighlighter): Likewise.
4975 (setHighlighter): Likewise.
4976 (replaceSelection): Likewise.
4977
4978 2004-07-21 Michael Koch <konqueror@gmx.de>
4979
4980 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4981 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4982 * javax/swing/plaf/basic/BasicToolBarUI.java
4983 (BasicToolBarUI): Implements SwingConstants.
4984
4985 2004-07-21 Michael Koch <konqueror@gmx.de>
4986
4987 * javax/swing/JPopupMenu.java: Removed CVS tags.
4988 * javax/swing/UIDefaults.java: Reformatted.
4989 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4990 Explicitely import used classes.
4991
4992 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4993
4994 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4995 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4996 (GtkComponentPeer): Remove temporary try/catch block.
4997 (setVisible): Call show and hide.
4998 (show): Make native.
4999 (hide): Likewise.
5000 (getArgs): Don't add "visible" argument.
5001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5002 (property_notify_predicate): Return Bool instead of int.
5003 (find_layout): New function.
5004 (connectJObject): Call find_layout.
5005 (connectSignals): Likewise.
5006 (moveLayout): Likewise.
5007 (gtkLayoutSetVisible): Likewise.
5008
5009 2004-07-21 Olga Rodimina <rodimina@redhat.com>
5010
5011 * javax/swing/AbstractButton.java:
5012 (setDisplayedMnemonicIndex): Check if button
5013 text is not null before checking its length.
5014 * javax/swing/JMenuItem.java:
5015 (processMouseEvent): Disarm menu item if mouse has
5016 exited it.
5017 * javax/swing/plaf/basic/BasicMenuUI.java:
5018 (MouseInputHandler.mouseEntered): Do not raise
5019 popup menu if this menu is already selected.
5020 (MouseInputHandler.mousePressed): Do not fire
5021 MenuEvents.
5022 (MenuHandler): Implemented.
5023
5024 2004-07-21 Olga Rodimina <rodimina@redhat.com>
5025
5026 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5027 (getSelectedObjects): Implemented.
5028 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5029 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
5030 Added javadoc for few methods.
5031 (processMouseEvent): Made public.
5032 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5033 (processMouseEvent): Likewise.
5034
5035 2004-07-21 Olga Rodimina <rodimina@redhat.com>
5036
5037 * javax/swing/AbstractButton.java:
5038 (init): Set display mnemonic index to -1.
5039 (setMnemonic(char)): Use setMnemonic(int).
5040 (setMnemonic(int)): Set display mnemonic index.
5041 (getDisplayedMnemonicIndex): Change method signature
5042 by removing 'index' parameter.
5043 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5044 Added default for Menu.selectionBackground.
5045 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5046 (paintMenuItem): Change background color of the selected
5047 menu item.
5048 (paintText): Paint differently when menu item is disabled.
5049 Also paint mnemonic if it appears in the menu item's label.
5050 (paintAccelerator): Paint accelerator differently
5051 if menu item is disabled.
5052 * javax/swing/plaf/basic/BasicMenuUI.java:
5053 (installDefaults): Install defaults for
5054 selectionForeground and selectionBackground.
5055 (uninstallDefaults): Uninstall defauls for
5056 selectionForeground and selectionBackground.
5057
5058 2004-07-21 Michael Koch <konqueror@gmx.de>
5059
5060 * javax/swing/text/AbstractDocument.java
5061 (BranchElement): Implemented.
5062 (LeafElement): Implemented.
5063 * javax/swing/text/DefaultCaret.java:
5064 Import used classes.
5065 (serialVersionUID): New constant.
5066 * javax/swing/text/JTextComponent.java
5067 (AccessibleJTextComponent): Removed dead declaration.
5068 (caretPos): Removed.
5069 (setCaret): New method.
5070 * javax/swing/text/PlainDocument.java
5071 (rootElement): New field.
5072 (PlainDocument): Initialize rootElement.
5073 (createDefaultRoot): New method.
5074 (getDefaultRootElement): Implemented.
5075 * javax/swing/text/View.java: Reformatted.
5076 * javax/swing/text/ViewFactory.java
5077 (create): Added javadoc.
5078
5079 2004-07-21 Michael Koch <konqueror@gmx.de>
5080
5081 * javax/swing/ToolTipManager.java: Reformatted.
5082
5083 2004-07-21 Rodimina Olga <rodimina@redhat.com>
5084
5085 * javax/swing/AbstractButton.java
5086 (changeEvent): New field.
5087 (fireItemStateChanged): Change source of the event
5088 to 'this' before firing it to button listeners.
5089 (fireActionPerformed): Likewise.
5090 (fireStateChanged): Likewise.
5091 (createActionListener): Do not set source
5092 of the event to AbstractButton.
5093 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5094 (ContainerHandler.componentAdded): Removed
5095 print out statement.
5096 (ContainerHandler.componentRemoved): Likewise.
5097
5098 2004-07-21 Michael Koch <konqueror@gmx.de>
5099
5100 * javax/swing/text/Highlighter.java: New file.
5101 * Makefile.am: Added javax/swing/text/Highlighter.java.
5102 * Makefile.in: Regenerated.
5103
5104 2004-07-21 Michael Koch <konqueror@gmx.de>
5105
5106 * javax/swing/ToolTipManager.java
5107 (stillInsideTimerAction): Fixed constructor arguments.
5108 (outsideTimerAction): Likewise.
5109 (insideTimerAction): Likewise.
5110
5111 2004-07-21 Michael Koch <konqueror@gmx.de>
5112
5113 * javax/swing/JButton.java: Reformatted.
5114 * javax/swing/JFormattedTextField.java
5115 (getUIClassID): Implemented.
5116 * javax/swing/JRootPane.java
5117 (serialVersionUID): New constant.
5118 * javax/swing/JTextField.java
5119 (align): New field.
5120 (JTextField): Simplified.
5121 (getUIClassID): New method.
5122 (getActionListeners): Added @since tag.
5123 (setColumns): Invalidate layout and repaint.
5124 (getHorizontalAlignment): New method.
5125 (setHorizontalAlignment): New method.
5126 (selectAll): Removed.
5127 * javax/swing/SwingUtilities.java
5128 (getAncestorOfClass): Removed redundant @see tag.
5129 (isLeftMouseButton): Fixed implementation.
5130 (isMiddleMouseButton): Likewise.
5131 (isRightMouseButton): Likewise.
5132 * javax/swing/text/AbstractDocument.java
5133 (AttributeContext.addAttribute): New method.
5134 (AttributeContext.addAttributes): New method.
5135 (AttributeContext.getEmptySet): New method.
5136 (AttributeContext.reclaim): New method.
5137 (AttributeContext.removeAttribute): New method.
5138 (AttributeContext.removeAttributes): New method.
5139 * javax/swing/text/Document.java
5140 (createPosition): Throws BadLocationException.
5141 (getText): Likewise.
5142 (remove): Likewise.
5143 * javax/swing/text/JTextComponent.java
5144 (getText): Return null if no document is set. Catch
5145 BadLocationException.
5146 (getUI): Return ui.
5147 (updateUI): Simplified.
5148
5149 2004-07-21 Michael Koch <konqueror@gmx.de>
5150
5151 * javax/swing/JButton.java
5152 (removeNotify): Fixed javadoc.
5153 (updateUI): Simplified.
5154
5155 2004-07-21 David Jee <djee@redhat.com>
5156
5157 * gnu/java/awt/image/ImageDecoder.java
5158 (startProduction): Only add consumer if it's not added yet.
5159 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5160 (GdkPixbufDecoder): Don't call initState() here.
5161 (produce): Call initState() here, to ensure area_prepared and
5162 area_updated signals are properly connected.
5163 * gnu/java/awt/peer/gtk/GtkImage.java
5164 (setColorModel): Use equals() to compare ColorModel objects.
5165 (setPixels): Likewise.
5166 * java/awt/image/ColorModel.java
5167 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5168 * java/awt/image/RGBImageFilter.java
5169 (setColorModel): Set consumer's color model.
5170 (setPixels): Use equals() to compare ColorModel objects.
5171
5172 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
5173
5174 * java/net/URLConnection.java (position): New field.
5175 (dateFormat1, dateFormat2, dateFormat3): Removed.
5176 (dateFormats): New field.
5177 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5178 each time instead of re-allocating.
5179 (initializeDateFormats): Initialize 'dateFormats'.
5180
5181 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5182
5183 PR libgcj/16591
5184 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5185 is defined.
5186
5187 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5188
5189 * java/net/Socket.java (getImpl): Now private. Remove comment.
5190
5191 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5192
5193 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5194 of chained Writer when calling super-constructor.
5195 * java/io/FilterWriter.java (FilterWriter): Likewise.
5196 * java/io/PrintWriter.java (PrintWriter): Likewise.
5197
5198 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
5199
5200 * prims.cc (process_gcj_properties): Don't increment i within LHS
5201 of assignment.
5202
5203 2004-07-19 Per Bothner <per@bothner.com>
5204
5205 Print -verbose:message on "loading", not initialization.
5206 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
5207 * defineclass.cc (_Jv_ClassReader::parse): Print message if
5208 gcj::verbose_class_flag.
5209 * java/lang/natClass.cc (initializeClass): Don't print message here.
5210 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
5211 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5212 (_Jv_PrepareCompiledClass): Likewise.
5213
5214 2004-07-18 Matthias Klose <doko@debian.org>
5215
5216 * configure.in: Substitute target_noncanonical.
5217 * configure: Regenerate
5218
5219 2004-07-17 Michael Koch <konqueror@gmx.de>
5220
5221 * java/lang/String.java: Fixed javadocs all over.
5222
5223 2004-07-17 Mark Wielaard <mark@klomp.org>
5224
5225 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5226 when size is smaller.
5227 * java/io/RandomAccessFile.java (setLength): Use truncate for
5228 shrinking the file and seek plus write for expanding the file.
5229
5230 2004-07-17 Michael Koch <konqueror@gmx.de>
5231
5232 * gnu/java/nio/channels/natFileChannelPosix.cc
5233 (implTruncate): Always save current position. Only reposition file
5234 pointer to where we started if not beyond new lenght. Reposition file
5235 pointer to file length if it points beyond the end of file.
5236
5237 2004-07-17 Mark Wielaard <mark@klomp.org>
5238
5239 * javax/swing/Box.java: Put FIXME comment above class declaration.
5240 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5241 * javax/swing/JCheckBox.java: Likewise.
5242 * javax/swing/JDialog.java: Likewise.
5243 * javax/swing/JRadioButton.java: Likewise.
5244 * javax/swing/JToggleButton.java: Likewise.
5245 * javax/swing/UIManager.java: Likewise.
5246 * javax/swing/border/TitledBorder.java: Likewise.
5247 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5248 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5249 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5250 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5251 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5252 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5253 * javax/swing/text/JTextComponent.java: Likewise.
5254
5255 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
5256
5257 * java/net/DatagramPacket.java (setAddress): Removed check for
5258 null address.
5259
5260 2004-07-17 Michael Koch <konqueror@gmx.de>
5261
5262 * java/net/DatagramSocket.java
5263 (getLocalAddress): Check if socket is bound or not.
5264 * java/net/Socket.java
5265 (getLocalAddrss): Check if socket is bound or not.
5266 (getPort): Return -1 when not connected. Dont check getImpl() for
5267 null.
5268 (setReuseAddress): Check if socket is closed.
5269 (isConnected): Check if getImpl() returns null.
5270
5271 2004-07-17 Mark Wielaard <mark@klomp.org>
5272
5273 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5274 on notifier object before calling notifyAll().
5275
5276 2004-07-17 Michael Koch <konqueror@gmx.de>
5277
5278 * gnu/java/nio/channels/FileChannelImpl.java
5279 (finalize): Added javadoc.
5280
5281 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
5282
5283 * java/text/CollationElementIterator.java
5284 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5285 (setText): Use ArrayList instead of Vector.
5286
5287 2004-07-17 Michael Koch <konqueror@gmx.de>
5288
5289 * java/nio/ByteOrder.java
5290 (static): Removed. Not needed.
5291 Thanks to Patrick Reali for noticing.
5292 * java/nio/charset/CharsetDecoder.java
5293 (decode): Fix for classpath bug #9177: Reset state before flipping.
5294
5295 2004-07-17 Michael Koch <konqueror@gmx.de>
5296
5297 * java/security/Security.java: Fixed javadocs all over.
5298
5299 2004-07-17 Michael Koch <konqueror@gmx.de>
5300
5301 * gnu/java/awt/EmbeddedWindow.java
5302 (static): Removed.
5303 (addNotify): Set peer via reflection.
5304 (setWindowPeer): Removed.
5305 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5306 * Makefile.am (nat_source_files):
5307 Removed gnu/java/awt/natEmbeddedWindow.cc.
5308 * Makefile.in: Regenerated.
5309
5310 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
5311
5312 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5313 assignment.
5314 * configure: Regenerated.
5315
5316 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
5317
5318 * configure.in: Use build_noncanonical rather than build_alias.
5319 * configure: Rebuild.
5320
5321 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5322 by logic refactoring. Move default definition of NATIVE closer
5323 to first alternate definition.
5324 * configure: Regenerate.
5325
5326 * Makefile.am: Set ZIP and GCJH directly using autoconf.
5327 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5328 gcj/Makefile.in: Regenerate.
5329 * configure.in: Set ZIP and GCJH. Remove redundant condition
5330 in AM_CONDITIONAL(NATIVE,...)
5331 * configure: Regenerate.
5332
5333 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
5334
5335 * configure.in: Use target_noncanonical rather than
5336 target_alias for forward-compatibility with autoconf 2.59.
5337 * configure: Regenerate.
5338 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5339 testsuite/Makefile.am: Substitute target_noncanonical.
5340 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5341 testsuite/Makefile.in: Regenerate.
5342
5343 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5344 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5345 * acinclude.m4: Include acx.m4.
5346 * aclocal.m4: Regenerate.
5347 * configure: Regenerate.
5348
5349 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
5350
5351 PR libgcj/16574
5352 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5353 (decimalFormat): New static variable.
5354 (sbuf): Likewise.
5355 (getTime): New. Override Date.getTime().
5356 (toString): Synchronize. Use decimalFormat to format nanos value
5357 correctly. Truncate extra zeros.
5358 (before): Compare getNanos() only if getTime() is equal.
5359 (after): Likewise.
5360
5361 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5362
5363 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5364 * configure.in: ...here.
5365 * aclocal.m4: Regenerate.
5366 * configure: Regenerate.
5367
5368 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5369 * configure: Rebuilt with autoconf 2.13.
5370 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5371 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5372
5373 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
5374
5375 PR libgcj/16204
5376 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5377 large file support.
5378 * Makefile.in: Rebuilt.
5379 * testsuite/libjava.lang/LargeFile.java: New test case.
5380 * testsuite/libjava.lang/LargeFile.out: New file.
5381
5382 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5383
5384 * java/beans/EventHandler.java: Remove debugging statements.
5385
5386 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5387
5388 * java/beans/EventHandler.java: New file.
5389 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5390 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5391 testsuite/Makefile.in: Regenerate.
5392
5393 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5394
5395 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5396 flag to the gcj_setup.
5397 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5398 the tclsh.
5399 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5400 deprecation flag change. 58 XFAILS removed.
5401
5402 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5403
5404 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5405 -fno-use-divide-subroutine.
5406 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5407 (HANDLE_FPE): Define.
5408 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5409 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5410 (HANDLE_DIVIDE_OVERFLOW): Define.
5411
5412 2004-07-14 Michael Koch <konqueror@gmx.de>
5413 Matthias Klose <doko@debian.org>
5414
5415 * java/awt/im/InputContext.java: Initialize in, line.
5416
5417 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5418
5419 * interpret.cc (run): Correctly access libffi return values of
5420 integral smaller-than-int type; these are implicitly promoted.
5421
5422 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5423
5424 PR libgcj/7587
5425 * interpret.cc (compile_mutex): New.
5426 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5427 (run): Lock compile_mutex before calling compile() if compilation is
5428 required.
5429 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5430 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5431
5432 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5433
5434 PR libgcj/15713
5435 * include/jvm.h (_Jv_value): New union type.
5436 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5437 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5438 union members.
5439
5440 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
5441
5442 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5443 * gnu/awt/xlib/XOffScreenImage.java
5444 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5445 constructor argument. Add constructor using ImageProducer.
5446 (getSource): Implement.
5447 (imageComplete): New method.
5448 (setColorModel): New method.
5449 (setDimensions): New method.
5450 (setHints): New method.
5451 (setPixels): New method.
5452 (setProperties): New method.
5453 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5454 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5455
5456 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5457
5458 PR libgcj/16478
5459 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5460 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5461 (finalizerReady): Now native.
5462 (run): Likewise.
5463 (runFinalizers): Removed.
5464 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5465 a primitive lock, and don't hold it while running the finalizers.
5466 (runFinalizers): Implement. Don't aquire any Java lock.
5467 (finalizerReady): Use lock primitives to signal finalizer thread.
5468
5469 2004-07-11 Mark Wielaard <mark@klomp.org>
5470
5471 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5472 * java/net/URLStreamHandler.java (parseURL): When url file part
5473 doesn't contain a '/' just ignore context.
5474
5475 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5476
5477 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5478 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5479 (MAKE_THROW_FRAME): Do not modify PSW address.
5480 (INIT_SEGV): Install SIGINFO-style signal handler.
5481 (INIT_FPE): Likewise.
5482
5483 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5484
5485 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5486 status. 21 xfail's removed, 1 added.
5487
5488 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5489
5490 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5491
5492 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5493
5494 * java/text/MessageFormat.java
5495 (formatInternal): Append "{n}" if argument n is unavailable.
5496 (format(Object, StringBuffer, FieldPosition)): This
5497 should be equivalent to format(Object[],
5498 StringBuffer, FieldPosition).
5499
5500 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5501
5502 * java.util.Calendar.java (cache): New private static field. Cached
5503 mappings of locales->calendar classes.
5504 (ctorArgTypes): New private static field. Singleton argument for
5505 calendar class constructor lookup.
5506 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5507 Optimize by bypassing reflection instantiation for the
5508 GregorianCalendar case.
5509
5510 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5511
5512 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5513 ResourceBundle.getBundle() calls.
5514 * java/util/GregorianCalendar.java: Likewise.
5515 * java/util/Currency.java: Likewise.
5516 * java/text/BreakIterator.java: Likewise.
5517 * java/text/Collator.java: Likewise.
5518 * java/text/DateFormat.java: Likewise.
5519 * java/text/DateFormatSymbols.java: Likewise.
5520 * java/text/DecimalFormatSymbols.java: Likewise.
5521 * java/text/NumberFormat.java: Likewise.
5522 * java/awt/Window.java: Likewise.
5523
5524 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5525
5526 * java/util/ResourceBundle.java (bundleCache): Renamed from
5527 resourceBundleCache. Update comments.
5528 (getObject): Don't catch MissingResourceException.
5529 (getBundle(String)): Remove 'final'. Use system classloader if
5530 getCallingClassLoader returned null.
5531 (getBundle(String, Locale)): Likewise.
5532 (BundleKey): New private class. HashMap key for bundle cache lookup.
5533 (lookupKey): New. Singleton instance of BundleKey.
5534 (nullEntry): New. Cache entry to represent failed lookups.
5535 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5536 caching strategy, no-allocation lookup, and new tryBundle methods.
5537 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5538 name using given classloader.
5539 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5540 baseName for given Locale and attempt to load bundle.
5541
5542 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5543
5544 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5545 illegal protected method calls.
5546
5547 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5548
5549 Fix or remove some bogus test cases.
5550 * testsuite/libjava.compile/pr10459_2.java: Removed.
5551 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5552 not Object.clone().
5553 * testsuite/libjava.compile/inner_data.java: Test against its own
5554 protected field.
5555
5556 2004-07-09 Michael Koch <konqueror@gmx.de>
5557
5558 * scripts/unicode-muncher.pl: Updated to version 2.1
5559 from GNU classpath. Added some clarifications on where to find the
5560 needed files from www.unicode.org.
5561 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5562 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5563 Removed, these can directly be downloaded from www.unicode.org if
5564 needed.
5565 * gnu/java/lang/CharData.java: Regenerated.
5566 * include/java-chartables.h: Regenerated.
5567 * Makefile.am (ordinary_java_source_files):
5568 Removed gnu/java/lang/CharData.java.
5569 * Makefile.in: Regenerated.
5570
5571 2004-07-09 Michael Koch <konqueror@gmx.de>
5572
5573 * java/security/AccessControlContext.java,
5574 java/security/SecureClassLoader.java:
5575 Fixed javadocs.
5576
5577 2004-07-09 Michael Koch <konqueror@gmx.de>
5578
5579 * java/io/ObjectInputStream.java (readFields): Use long datatype
5580 when shifting byte values more then 24 bits left.
5581
5582 2004-07-09 Michael Koch <konqueror@gmx.de>
5583
5584 * java/util/zip/DeflaterOutputStream.java,
5585 java/util/zip/GZIPInputStream.java,
5586 java/util/zip/GZIPOutputStream.java,
5587 java/util/zip/InflaterInputStream.java:
5588 Reformatted. Added javadocs. Reordered all stuff.
5589 Renamed variables to be more clear.
5590
5591 2004-07-09 Michael Koch <konqueror@gmx.de>
5592
5593 * javax/imageio/IIOException.java,
5594 javax/imageio/event/IIOReadProgressListener.java,
5595 javax/imageio/event/IIOReadUpdateListener.java,
5596 javax/imageio/event/IIOReadWarningListener.java,
5597 javax/imageio/event/IIOWriteProgressListener.java,
5598 javax/imageio/event/IIOWriteWarningListener.java:
5599 New files.
5600 * Makefile.am: Added new files.
5601 * Makefile.in: Regenerated.
5602
5603 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5604
5605 * java/text/RuleBasedCollator.java
5606 (mergeRules): Use ArrayList instead of Vector.
5607 (subParseString): likewise.
5608 (parseString): likewise.
5609 (buildCollationVector): likewise.
5610 (getCollationKey): likewise.
5611
5612 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5613
5614 * java/text/DateFormat.java (parse):
5615 Improved javadoc. Improved exception message.
5616
5617 2004-07-09 Mark Wielaard <mark@klomp.org>
5618
5619 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5620 interrupted() method to clear interupt flag of our Thread.
5621
5622 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5623
5624 * java/nio/Buffer.java,
5625 java/nio/ByteBuffer.java,
5626 java/nio/ByteBufferHelper.java,
5627 java/nio/ByteBufferImpl.java,
5628 java/nio/CharBuffer.java,
5629 java/nio/CharBufferImpl.java,
5630 java/nio/CharViewBufferImpl.java,
5631 java/nio/DirectByteBufferImpl.java,
5632 java/nio/DoubleBuffer.java,
5633 java/nio/DoubleBufferImpl.java,
5634 java/nio/DoubleViewBufferImpl.java,
5635 java/nio/FloatBuffer.java,
5636 java/nio/FloatBufferImpl.java,
5637 java/nio/FloatViewBufferImpl.java,
5638 java/nio/IntBuffer.java,
5639 java/nio/IntBufferImpl.java,
5640 java/nio/IntViewBufferImpl.java,
5641 java/nio/LongBuffer.java,
5642 java/nio/LongBufferImpl.java,
5643 java/nio/LongViewBufferImpl.java,
5644 java/nio/MappedByteBufferImpl.java,
5645 java/nio/ShortBuffer.java,
5646 java/nio/ShortBufferImpl.java,
5647 java/nio/ShortViewBufferImpl.java:
5648 Fixed javadocs all over. Improved input error
5649 checking.
5650
5651 * java/nio/Buffer.java
5652 (checkForUnderflow, checkForOverflow, checkIndex,
5653 checkIfReadOnly, checkArraySize): New helper methods
5654 for error checking.
5655
5656 * java/nio/ByteBufferHelper.java
5657 (checkRemainingForRead, checkRemainingForWrite,
5658 checkAvailableForRead, checkAvailableForWrite): Removed
5659 no longer needed methods.
5660
5661 2004-07-09 Michael Koch <konqueror@gmx.de>
5662
5663 * gnu/regexp/CharIndexedInputStream.java:
5664 Reordered imports to match classpath.
5665
5666 2004-07-09 Michael Koch <konqueror@gmx.de>
5667
5668 * gnu/java/awt/EmbeddedWindow.java:
5669 Load native library for setWindowPeer method.
5670
5671 2004-07-08 Randolph Chung <tausq@debian.org>
5672
5673 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5674 * configure: Regenerate.
5675 * configure.host: Set can_unwind_signal for hppa*-linux.
5676 * include/pa-signal.h: New file.
5677
5678 2004-07-07 Per Bothner <per@bothner.com>
5679
5680 * Makefile.am: Add rules to build libgij from just gij.cc.
5681
5682 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5683 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5684 (initializeClass): If verbose_class_flag, print message.
5685 * gij.cc (main): Handle -verbose:class flag.
5686
5687 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5688
5689 * configure.host: Enable hash synchronization on Darwin.
5690 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5691 ';', since this is a comment on Darwin.
5692 (compare_and_swap_release): Likewise.
5693
5694 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5695
5696 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5697 file portion of URL in addition to spec for file: protocol.
5698
5699 2004-07-05 Anthony Green <green@redhat.com>
5700
5701 * java/io/File.java (toURI): Merge from Classpath.
5702
5703 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5704
5705 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5706 before passing to URL constructor. Rethrow any MalformedURLException
5707 as a RuntimeException. Catch MalformedURLException specifically, not
5708 all exceptions.
5709
5710 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5711
5712 * java/util/Locale.java (readObject): Intern strings read from object
5713 stream.
5714
5715 2004-07-04 Michael Koch <konqueror@gmx.de>
5716
5717 * gnu/gcj/runtime/FirstThread.java,
5718 gnu/gcj/runtime/natFirstThread.cc: Removed.
5719 * gnu/java/lang/MainThread.java,
5720 gnu/java/lang/natMainThread.cc: New files.
5721 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5722 * Makefile.am: Added new files and removed deleted ones.
5723 * Makefile.in: Regenerated.
5724
5725 2004-07-03 Mark Wielaard <mark@klomp.org>
5726 Anthony Green <green@redhat.com>
5727
5728 * java/net/URL.java (getFile): Clarify return value doc.
5729 (getPath): Return null if file is empty - not empty String.
5730 (set): Convert protocol to lower case before doing anything.
5731 Only change the protocol handler if it's different.
5732
5733 2004-07-03 Anthony Green <green@redhat.com>
5734
5735 * java/net/URL.java (URL): Convert protocol to lower case before
5736 doing anything, so we getURLStreamHandler() with the proper value.
5737
5738 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5739
5740 * java/util/Locale.java (hashcode): Made transient.
5741 (hashCode): No longer synchronized.
5742 (equals): Remove comment.
5743 (writeObject): No longer synchronized. Implement using writeObject
5744 calls instead of tweaking hashCode field. Update doc.
5745 (readObject): Implement using readObject calls.
5746
5747 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5748 Andreas Tobler <a.tobler@schweiz.ch>
5749
5750 * configure.host (powerpc-*-darwin*): New case, define
5751 can_unwind_signal.
5752 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5753 * configure: Regenerate.
5754 * include/darwin-signal.h: New.
5755
5756 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5757
5758 * java/beans/Statement.java (doExecute): Fix formatting.
5759
5760 2004-06-29 Per Bothner <per@bothner.com>
5761
5762 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5763 etc etc): Remove needless parenthesis, which causes __stdcall__
5764 attribute on MinGW to get ignored.
5765
5766 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5767
5768 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5769
5770 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5771
5772 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5773
5774 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5775
5776 * java/beans/Expression.java: New file.
5777 * java/beans/Statement.java: New file.
5778 * Makefile.am: Added new files.
5779 * Makefile.in: Re-generate.
5780
5781 2004-06-27 Mark Wielaard <mark@klomp.org>
5782
5783 * java/io/FilePermission.java (usingPerms): Removed.
5784 (actionsString): Made final.
5785 (cachePerms): Renamed to checkPerms.
5786 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5787 on action String.
5788 (FilePermission): Check arguments, call checkPerms().
5789 (equals): Remove cachePerms() call.
5790 (implies): Likewise.
5791
5792 2004-06-27 Mark Wielaard <mark@klomp.org>
5793
5794 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5795 final field.
5796 (sendRequest): Use new field in user-agent http agent.
5797
5798 2004-06-27 Mark Wielaard <mark@klomp.org>
5799
5800 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5801 when argument is null.
5802
5803 2004-06-26 Mark Wielaard <mark@klomp.org>
5804
5805 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5806 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5807 GetMethodID call.
5808 (cancel_clicked): Likewise.
5809
5810 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5811
5812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5813 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5814 can not calculate the right value.
5815 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5816
5817 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5818
5819 * testsuite/libjava.jacks/jacks.xfail: Remove
5820 15.9.1-qualified-concrete-20.
5821
5822 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5823
5824 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5825 encoding name to iconv.
5826 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5827
5828 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5829
5830 PR libgcj/16134:
5831 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5832 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5833 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5834
5835 2004-06-21 Andrew Haley <aph@redhat.com>
5836
5837 * java/io/ObjectOutputStream.java: Add DEBUG statements
5838 everywhere.
5839 (dumpElementln): New method.
5840 (depth): New field.
5841 * java/io/ObjectInputStream.java
5842 (currentClassLoader): Make native.
5843 (callersClassLoader): New field.
5844 (depth): New field.
5845 (readObject): ENDBLOCKDATA is generated if the class has a write
5846 method, not if it has a read method.
5847 (readObject): Save and restore this.currentObject and
5848 this.currentObjectStreamClass around calls to callReadMethod().
5849 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5850 method.
5851
5852 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5853
5854 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5855 darwin.
5856
5857 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5858
5859 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5860 if desired, before the default class loader is initialised.
5861 Call INIT_SEGV only if HANDLE_SEGV is defined.
5862
5863 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5864
5865 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5866 directory only if it actually exists.
5867
5868 2004-06-18 Graydon Hoare <graydon@redhat.com>
5869
5870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5871 Fix up non-ansi comments.
5872
5873 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5874
5875 * javax/swing/text/AbstractDocument.java: Adding missing import
5876 for javax.swing.event.EventListenerList.
5877 * javax/swing/text/DefaultCaret.java: Likewise.
5878
5879 2004-06-17 Michael Koch <konqueror@gmx.de>
5880
5881 * javax/swing/JToolBar.java
5882 (name): Removed.
5883 (JToolBar): Use Component.setName(String) instead of doing it all
5884 alone.
5885 * javax/swing/Timer.java
5886 (queueEvent): Added missing modifier.
5887
5888 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5889
5890 * Makefile.am: Added new file.
5891 * Makefile.in: Re-generate.
5892 * javax/swing/JMenu.java:
5893 (insertSeparator): Implemented.
5894 * javax/swing/JPopupMenu.java:
5895 (JPopupMenu.Separator): Implemented.
5896 * javax/swing/MenuSelectionManager.java:
5897 (processMouseEvent): Use java.awt.Component
5898 for event source instead of javax.swing.JComponent.
5899 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5900 New File. Implemented.
5901
5902 2004-06-16 David Jee <djee@redhat.com>
5903
5904 * java/awt/GridBagLayout.java
5905 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5906 Make sure pos_x and pos_y are never negative.
5907
5908 2004-04-16 Andrew Overholt <overholt@redhat.com>
5909
5910 * Makefile.am: Add new file.
5911 * Makefile.in: Re-generate.
5912 * javax/swing/JToolBar.java
5913 Partially implemented.
5914 * javax/swing/plaf/basic/BasicToolBarUI.java
5915 New file. Partially implemented.
5916
5917 2004-06-16 Graydon Hoare <graydon@redhat.com>
5918
5919 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5920 (setComposite): Accept AlphaComposite arguments.
5921 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5922 (createBufferedImage): Add new overloads.
5923 * gnu/java/awt/peer/gtk/GtkToolkit.java
5924 (createImage): Use GdkPixbufDecoder.createBufferedImage
5925 when useGraphics2D() is true.
5926 (getImage): Delegate to createImage.
5927 * javax/swing/JList.java
5928 (isSelectionEmpty):
5929 (getFirstVisibleIndex):
5930 (getLastVisibleIndex):
5931 (setSelectedValue):
5932 (ensureIndexIsVisible): New methods.
5933 * javax/swing/Timer.java: Reimplement.
5934
5935 2004-06-16 Michael Koch <konqueror@gmx.de>
5936
5937 * javax/swing/text/AbstractDocument.java
5938 (AbstracElement): Made public, implements java.io.Serializable.
5939 (AttributeContext): Made public.
5940 (BranchElement): Likewise.
5941 (Content): Likewise.
5942 (DefaultDocumentEvent): Made public, extends
5943 javax.swing.undo.CompoundEdit.
5944 (ElementEdit): Made public, extends
5945 javax.swing.undo.AbstractUndoableEdit.
5946 (LeafElement): Made public.
5947 (LeafElement.LeafElement): Made public.
5948
5949 2004-06-16 Michael Koch <konqueror@gmx.de>
5950
5951 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5952 methods (that were obviously never be intended to get included hi this
5953 class. Added some methods too.
5954
5955 2004-06-16 Michael Koch <konqueror@gmx.de>
5956
5957 * javax/swing/text/PlainDocument.java
5958 (serialVersionUID): New constant.
5959 (lineLimitAttribute): Likewise.
5960 (tabSizeAttribute): Likewise.
5961 (tabSize): New field.
5962 (PlainDocument): Made public.
5963 (PlainDocument): New constructor.
5964
5965 2004-06-16 Michael Koch <konqueror@gmx.de>
5966
5967 * javax/swing/text/AbstractDocument.java
5968 (insertString): Throws BadLocationException.
5969 * javax/swing/text/Document.java
5970 (insertString): Likewise.
5971 * javax/swing/text/JTextComponent.java:
5972 Javadocs and comments cleaned up.
5973
5974 2004-06-16 Michael Koch <konqueror@gmx.de>
5975
5976 * javax/swing/event/UndoableEditListener.java: Reformatted.
5977 * javax/swing/text/AbstractDocument.java
5978 (AbstractDocument): Implements java.io.Serializable.
5979 (doc_list): Removed.
5980 (undo_list): Removed.
5981 (AbstractElement.serialVerionUID): New field.
5982 (BranchElement.serialVerionUID): Likewise.
5983 (DefaultDocumentEvent.serialVerionUID): Likewise.
5984 (ElementEdit.serialVerionUID): Likewise.
5985 (LeafElement.serialVerionUID): Likewise.
5986 (serialVerionUID): Likewise.
5987 (BAD_LOCATION): New constant.
5988 (BidiElementName): Likewise.
5989 (ContentElementName): Likewise.
5990 (ParagraphElementName): Likewise.
5991 (SectionElementName): Likewise.
5992 (ElementNameAttribute): Likewise.
5993 (AbstractDocument): Made protected.
5994 (AbstractDocument): New construtor.
5995 (listenerList): New field.
5996 (fireChangedUpdate): Implemented.
5997 (fireInsertUpdate): Likewise.
5998 (fireRemoveUpdate): Likewise.
5999 (fireUndoableEditUpdate): Likewise.
6000 (getListeners): Likewise.
6001 (addDocumentListener): Likewise.
6002 (removeDocumentListener): Likewise.
6003 (addUndoableEditListener): Likewise.
6004 (removeUndoableEditListener): Likewise.
6005 (getDocumentListeners): New method.
6006 (getUndoableEditListeners): Likewise.
6007 (getAsynchronousLoadPriority): Made public.
6008 (getBidiRootElement): Likewise.
6009 (setAsynchronousLoadPriority): Likewise.
6010 (setDocumentProperties): Likewise.
6011 * javax/swing/text/BadLocationException.java
6012 (serialVerionUID): New field.
6013 * javax/swing/text/DefaultCaret.java
6014 (changeEvent): New field.
6015 (listenerList): Likewise.
6016 (changes): Removed.
6017 (addChangeListener): Reimplemented.
6018 (removeChangeListener): Likewise.
6019 (getListeners): New method.
6020 (getChangeListeners): Likwise.
6021 (getComponent): Likewise.
6022 * javax/swing/text/GapContent.java
6023 (GapContent): Implements java.io.Serializable.
6024 (serialVerionUID): New field.
6025
6026 2004-06-16 Michael Koch <konqueror@gmx.de>
6027
6028 * javax/swing/JTree.java
6029 (treeModel): New field.
6030 (JTree): New constructors, one existing one made public.
6031 (createTreeModel): New method.
6032 (addTreeExpansionListener): Likewise.
6033 (removeTreeExpansionListener): Likewise.
6034 (getTreeExpansionListeners): Likewise.
6035 (fireTreeCollapsed): Likewise.
6036 (fireTreeExpanded): Likewise.
6037 (addTreeSelectionListener): Likewise.
6038 (removeTreeSelectionListener): Likewise.
6039 (getTreeSelectionListeners): Likewise.
6040 (fireValueChanged): Likewise.
6041 (addTreeWillExpandListener): Likewise.
6042 (removeTreeWillExpandListener): Likewise.
6043 (getTreeWillExpandListeners): Likewise.
6044 (fireTreeWillCollapse): Likewise.
6045 (fireTreeWillExpand): Likewise.
6046
6047 2004-06-16 Michael Koch <konqueror@gmx.de>
6048
6049 * javax/swing/JTree.java: Reformatted.
6050
6051 2004-06-16 Michael Koch <konqueror@gmx.de>
6052
6053 * javax/swing/JTextArea.java: New file.
6054 * javax/swing/JTextField.java
6055 (actions): Removed.
6056 (notifyAction): New constant.
6057 (columns): New field.
6058 (JTextField): New constructors.
6059 (createDefaultModel): New method.
6060 (addActionListener): Reimplmemented.
6061 (removeActionListener): Reimplemented.
6062 (getActionListeners): New method.
6063 (fireActionPerformed): New method.
6064 (getColumns): New method.
6065 (setColumne): New method.
6066 * javax/swing/text/JTextComponent.java
6067 (AccessibleJTextComponent.serialVersionUID): New field.
6068 (serialVersionUID): Likewise.
6069 (DEFAULT_KEYMAP): Likewise.
6070 (FOCUS_ACCELERATOR_KEY): Likewise.
6071 (doc): Made private.
6072 (icon_gap): Likewise.
6073 (icon): Likewise.
6074 (align): Likewise.
6075 (JTextComponent): Some constructors removed.
6076 (getScrollableTracksViewportHeight): New method.
6077 (getScrollableTracksViewportWidth): Likewise.
6078 * Makefile.am: Added javax/swing/JTextArea.java.
6079 * Makefile.in: Regenerated.
6080
6081 2004-06-15 Graydon Hoare <graydon@redhat.com>
6082
6083 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6084 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6085 * javax/swing/JViewport.java
6086 (getExtentSize): Return size rather than preferred size.
6087 (toViewCoordinates): New methods.
6088 (getViewSize): Return size rather than preferred size.
6089 (setViewSize): Note view size as set.
6090 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6091 * javax/swing/plaf/basic/BasicScrollBarUI.java
6092 (getPreferredSize): Don't redo layout.
6093 * javax/swing/plaf/basic/BasicViewportUI.java
6094 (paint): Translate image properly and eat exceptions.
6095
6096 2004-06-15 Kim Ho <kho@redhat.com>
6097
6098 * javax/swing/JTabbedPane.java
6099 (setComponent): Remove old component and
6100 add new component.
6101 (setSelectedIndex): Don't operate on the
6102 components if they're null. Don't set index
6103 on the model if the index is the same.
6104 (insertTab): Don't add or hide the component
6105 if it's null. Repaint the container.
6106 * javax/swing/plaf/basic/BasicLookAndFeel.java
6107 Change colors for TabbedPane.
6108 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6109 (mousePressed): Re-layout and paint the component.
6110 (layoutContainer): Don't set location on the view.
6111 (ScrollingViewport::paint): Remove.
6112
6113 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6114
6115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6116 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6117
6118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6119 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6120 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
6121 critical region.
6122 (drawLine): Call gdk_flush before leaving GDK critical region.
6123 (fillRect): Likewise.
6124 (drawRect): Likewise.
6125 (copyArea): Likewise.
6126 (copyPixmap): Likewise.
6127 (clearRect): Likewise.
6128 (drawArc): Likewise.
6129 (drawPolyline): Likewise.
6130 (drawPolygon): Likewise.
6131 (fillPolygon): Likewise.
6132 (fillArc): Likewise.
6133 (drawOval): Likewise.
6134 (fillOval): Likewise.
6135
6136 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6137 style parameter.
6138 (GdkFontMetrics): Add style argument to initState call.
6139 (stringWidth(String,int,int,String)): Add style parameter.
6140 (stringWidth(String)): Add style argument to stringWidth call.
6141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6142 (initState): Set pango font style and weight based on AWT style
6143 parameter. Pass default GTK language to
6144 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
6145 simply dividing by PANGO_SCALE.
6146 (stringWidth): Set pango font style and weight based on AWT style
6147 parameter.
6148
6149 * java/awt/Button.java (next_button_number): New field.
6150 (paramString): Change output.
6151 (generateName): New method.
6152 (getUniqueLong): New method.
6153
6154 2004-06-14 Kim Ho <kho@redhat.com>
6155
6156 * javax/swing/JTabbedPane.java:
6157 (setComponentAt): Set the component, not
6158 the enabled status.
6159 * javax/swing/plaf/basic/BasicDesktopIconUI.java
6160 (actionPerformed): Let deiconize catch exception.
6161
6162 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6163
6164 * javax/swing/JPopupMenu.java:
6165 (setVisible): Corrected location of a
6166 heavyweight popup menu.
6167
6168 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6169
6170 * javax/swing/MenuSelectionManager.java:
6171 Ran through jalopy to fix formatting style.
6172
6173 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6174
6175 * javax/swing/JLayeredPane.java:
6176 (remove): Revalidate and repaint layered pane after
6177 the component was removed.
6178 javax/swing/JMenu.java:
6179 (setVisible): Display popup menu at the user location,
6180 if one was set by the user.
6181 (setMenuLocation): Reimplemented. Fixed javadoc.
6182 * javax/swing/JMenuBar.java: Added javadoc.
6183 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6184 (MODEL_CHANGED_PROPERTY): New Property.
6185 (isSelected): Implemented.
6186 (setBorderPainted): Fire PropertyChangeEvent
6187 if paintBorder property changes.
6188 (setSelected): Implemented.
6189 (setSelectionModel): Implemented.
6190 * javax/swing/JPopupMenu.java: Added Javadoc
6191 (pack): Implemented.
6192 (setVisible): Reimplemented.
6193 (show): Fixed location.
6194 (JPopupMenu.LigthWeightPopup): Reimplemented to use
6195 Container instead of JPanel.
6196 * javax/swing/MenuSelectionManager.java: Added Javadocs.
6197 (clearSelectedPath): Reimplemented to clear selectedPath
6198 in reverse order.
6199 (processMouseEvent): Reimplemented.
6200 (setSelectedPath): Fire stateChange event indicating that
6201 selected menu path has changed.
6202 (getPath): Change to use ArrayList instead of Vector.
6203 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6204 (installUI): call installKeyboardActions().
6205 (uninstallUI): call uninstallKeyboardActions().
6206
6207 2004-06-13 Michael Koch <konqueror@gmx.de>
6208
6209 * javax/swing/text/DefaultCaret.java,
6210 javax/swing/text/BadLocationException.java:
6211 Reformatted.
6212
6213 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6214
6215 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6216 DEFAULT_COLS): New variables.
6217 (create): Don't allow 0 rows or 0 columns. Instead, set the
6218 values to DEFAULT_ROWS or DEFAULT_COLS.
6219 (getMinimumSize): Likewise.
6220 (getPreferredSize): Likewise.
6221 (minimumSize): Likewise.
6222 (preferredSize): Likewise.
6223 (create): Set peer's editable state.
6224 * java/awt/TextArea.java (TextArea()): Set rows and columns to
6225 zero. Update javadocs.
6226 (TextArea(String)): Likewise.
6227 (TextArea(int,int)): Fix javadocs.
6228 (TextArea(String,int,int,int)): Only throw exception if one of
6229 rows or columns is zero. Fix javadocs.
6230
6231 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6232
6233 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6234 addition to Components.
6235
6236 * java/awt/MenuItem.java (dispatchEventImpl): If the event
6237 wasn't consumed by normal processing, send it to the parent
6238 menu.
6239
6240 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6241 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6242 translation.
6243
6244 2004-06-11 David Jee <djee@redhat.com>
6245
6246 * java/awt/MediaTracker.java
6247 (addImage(Image,int)): Call imageUpdate() to udpate image status.
6248 (addImage(Image,int,int,int)): Likewise.
6249
6250 2004-06-11 Michael Koch <konqueror@gmx.de>
6251
6252 * javax/swing/text/AbstractDocument.java,
6253 javax/swing/text/Document.java,
6254 javax/swing/text/GapContent.java,
6255 javax/swing/text/JTextComponent.java,
6256 javax/swing/text/PlainDocument.java:
6257 Reformatted.
6258
6259 2004-06-11 Michael Koch <konqueror@gmx.de>
6260
6261 * javax/swing/JRootPane.java
6262 (AccessibleJRootPane.serialVersionUID): New field.
6263 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6264 (AccessibleJRootPane.getAccessibleRole): New method.
6265 (RootLayout): Implements Serializable.
6266 (RootLayout.serialVersionUID): New field.
6267 (RootLayout.RootLayout): New constructor.
6268 (setJMenuBar): Made public.
6269 (getJMenuBar): Likewise.
6270 (JRootPane): Likewise.
6271 (createContentPane): Likewise.
6272 (createGlassPane): Likewise.
6273 (createLayeredPane): Likewise.
6274
6275 2004-06-11 Michael Koch <konqueror@gmx.de>
6276
6277 * javax/swing/SwingUtilities.java
6278 (isLeftMouseButton): Fixed javadoc.
6279 (isMiddleMouseButton): Likewise.
6280 (isRightMouseButton): Likewise.
6281
6282 2004-06-11 Michael Koch <konqueror@gmx.de>
6283
6284 * javax/swing/JScrollPane.java
6285 (serialVersionUID): New field.
6286 (columnHeader): Made protected.
6287 (rowHeader): Likewise.
6288 (lowerLeft): Likewise.
6289 (lowerRight): Likewise.
6290 (upperLeft): Likewise.
6291 (upperRight): Likewise.
6292 (horizontalScrollBar): Likewise.
6293 (horizontalScrollBarPolicy): Likewise.
6294 (verticalScrollBar): Likewise.
6295 (verticalScrollBarPolicy): Likewise.
6296 (viewport): Likewise.
6297
6298 2004-06-11 Michael Koch <konqueror@gmx.de>
6299
6300 * javax/swing/LookAndFeel.java: Fixed javadocs.
6301
6302 2004-06-11 Michael Koch <konqueror@gmx.de>
6303
6304 * javax/swing/JEditorPane.java: Fixed javadocs.
6305 (JEditorPane): Removed redundant call to to this().
6306 (fireHyperlinkUpdate): Implemented.
6307
6308 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6309
6310 * javax/swing/JMenu.java: Fixed file name
6311 in the file comment.
6312
6313 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6314
6315 * javax/swing/JMenu.java: Added javadoc.
6316 (JMenu): Added MenuChangeListener to listen to
6317 ChangeEvents occuring in menu's model.
6318 (insert): Throw IllegalArgumentException if
6319 index is less than 0
6320 (setSelected): Reimplement.
6321 (setPopupMenuVisible): Call menu's model isEnabled()
6322 (setDelay): Throw IllegalArgumentException if
6323 given amount of delay is less than 0.
6324 (createActionComponent): Implemented.
6325 (createActionChangeListener): Implemented.
6326 (addSeparator): Implemented.
6327 (getItem): Throw IllegalArgumentException if index is
6328 less than 0.
6329 (getItemCount): Implemented.
6330 (fireMenuSelected): Changed to use menuEvent.
6331 (fireMenuDeselected): Likewise.
6332 (fireMenuCanceled): Likewise.
6333 (setAccelerator): Changed to throw an error if this
6334 method is used.
6335 (doClick): Implemented.
6336 (JMenu.ActionChangedListener): New inner class to handle
6337 PropertyChangeEvents occuring in the actions associated with menu.
6338 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6339 (BasicMenuUI): Added PropertyChangeListener to the menu.
6340 (createChangeListener): Implemented.
6341 (createMenuDragMouseListener): Likewise.
6342 (createMenuKeyListener): Likewise.
6343 (createPropertyChangeListener): Likewise.
6344 (uninstallListeners): Likewise.
6345 (BasicMenuUI.MouseInputHandler): Reimplemented.
6346 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6347 (BasicMenuUI.ChangeHandler): Likewise.
6348 (BasicMenuUI.MenuDragMouseHandler): Likewise.
6349 (BasicMenuUI.MenuKeyHandler): Likewise.
6350
6351 2004-06-10 David Jee <djee@redhat.com>
6352
6353 * java/awt/MediaTracker.java
6354 (imageUpdate): Only do notifyAll() if the image is complete.
6355
6356 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6357
6358 * javax/swing/JApplet.java:
6359 (getJMenuBar): Made public.
6360 (setJMenuBar): Likewise.
6361 * javax/swing/JFrame.java:
6362 (getJMenuBar): Made public.
6363 (setJMenuBar): Likewise.
6364 * javax/swing/JWindow.java:
6365 (getJMenuBar): Removed.
6366 (setJMenuBar): Removed.
6367
6368 2004-06-10 Michael Koch <konqueror@gmx.de>
6369
6370 * javax/swing/JEditorPane.java
6371 (createEditorKitForContentType): Fixed visibility.
6372 (fireHyperlinkUpdate): Likewise.
6373 (getContentType): Likewise.
6374 (getEditorKit): Likewise.
6375 (getEditorKitForContentType): Likewise.
6376 (getPage): Likewise.
6377 (read): Likewise.
6378 (registerEditorKitForContentTyoe): Likewise.
6379 (replaceSelection): Likewise.
6380 (setContentType): Likewise.
6381 (setEditorKit): Likewise.
6382 (setPage): Likewise.
6383
6384 2004-06-10 Michael Koch <konqueror@gmx.de>
6385
6386 * javax/swing/Timer.java
6387 (Timer): New constructor.
6388 * javax/swing/plaf/basic/BasicProgressBarUI.java
6389 (animationTimer): Don't initialize at construction.
6390 (startAnimationTimer): Added since tag.
6391 (stopAnimationTimer): Likewise.
6392 (installUI): Use new Timer constructor.
6393 * javax/swing/plaf/basic/BasicScrollBarUI.java
6394 (installUI): Likewise.
6395 * javax/swing/plaf/basic/BasicSliderUI.java
6396 (installUI): Likewise.
6397
6398 2004-06-10 Michael Koch <konqueror@gmx.de>
6399
6400 * javax/swing/ButtonGroup.java
6401 (serialVersionUID): Made private.
6402 (buttons): Renamed from v, added javadoc.
6403 (sel): Added javadoc.
6404 (ButtonGroup): Likewise.
6405 (add): Likewise.
6406 (remove): Likewise.
6407 (getElements): Likewise.
6408 (getSelection): Likewise.
6409 (setSelected): Likewise.
6410 (isSelected): Likewise.
6411 (getButtonCount): Likewise.
6412
6413 2004-06-10 Michael Koch <konqueror@gmx.de>
6414
6415 * javax/swing/ButtonGroup.java,
6416 javax/swing/ImageIcon.java,
6417 javax/swing/JEditorPane.java,
6418 javax/swing/JRootPane.java,
6419 javax/swing/JTextField.java,
6420 javax/swing/LookAndFeel.java,
6421 javax/swing/plaf/basic/BasicTextUI.java:
6422 Reindented.
6423
6424 2004-06-10 Michael Koch <konqueror@gmx.de>
6425
6426 * javax/swing/text/Style.java: Added javadocs.
6427
6428 2004-06-10 Michael Koch <konqueror@gmx.de>
6429
6430 * javax/swing/JComponent.java
6431 (fireVetoableChange): Removed redundant cast.
6432 * javax/swing/JLabel.java
6433 (getDisabledIcon): Save icon for next call.
6434
6435 2004-06-10 Michael Koch <konqueror@gmx.de>
6436
6437 * javax/swing/KeyStroke.java
6438 (getKeyStroke(char,boolean)): Marked deprecated.
6439
6440 2004-06-10 Michael Koch <konqueror@gmx.de>
6441
6442 * javax/swing/DefaultCellEditor.java,
6443 javax/swing/GrayFilter.java,
6444 javax/swing/event/DocumentEvent.java,
6445 javax/swing/text/JTextComponent.java,
6446 javax/swing/text/MutableAttributeSet.java:
6447 Reindented.
6448
6449 2004-06-10 Michael Koch <konqueror@gmx.de>
6450
6451 * javax/swing/plaf/BorderUIResource.java:
6452 Added serialVersionUID all over.
6453
6454 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
6455
6456 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6457
6458 2004-06-10 Michael Koch <konqueror@gmx.de>
6459
6460 * javax/swing/table/DefaultTableCellRenderer.java
6461 (noFocusBorder): Initialize directly.
6462
6463 2004-06-10 Michael Koch <konqueror@gmx.de>
6464
6465 * javax/swing/plaf/basic/BasicArrowButton.java
6466 (setDirection): Use method argument.
6467
6468 2004-06-10 Michael Koch <konqueror@gmx.de>
6469
6470 * javax/swing/plaf/BorderUIResource.java,
6471 javax/swing/plaf/ComponentUI.java,
6472 javax/swing/undo/CompoundEdit.java,
6473 javax/swing/undo/StateEdit.java:
6474 Fixed javadocs all over.
6475
6476 2004-06-10 Michael Koch <konqueror@gmx.de>
6477
6478 * javax/swing/DefaultButtonModel.java
6479 (ARMED): Made public final, fixed value.
6480 (ENABLED): Likewise.
6481 (PRESSED): Likewise.
6482 (ROLLOVER): Likewise.
6483 (SELECTED): Likewise.
6484 (stateMask): Initialize directly.
6485 (listenerList): Likewise.
6486 (mnemonic): Likewise.
6487 (fireStateChanged): Removed argument, use changeEvent as event.
6488 All places where this method is called are fixed too.
6489 (getActionCommant): Fixed javadoc.
6490 (setGroup): Fixed javadoc.
6491 (getGroup): New method.
6492
6493 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6494
6495 * javax/swing/AbstractButton.java
6496 (AbstractButton): Use init() to initialize the button.
6497 (init): New Method. Initializes AbstractButton.
6498 * javax/swing/JMenuItem.java: Documented.
6499 (JMenuItem): Reimplemented.
6500 (init): Implemented.
6501 (setEnabled): Changed to call super.setEnabled()
6502 (processMouseEvent): Reimplemented.
6503 (fireMenuKeyPressed): Implemented.
6504 (fireMenuKeyReleased): Implemented.
6505 (fireMenuKeyTyped): Implemented.
6506 (menuSelectionChanged): disarm the model if the menu item was
6507 deselected.
6508 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6509 (getPath): Change to use ArrayList instead of Vector.
6510 (getPreferredSize): Renamed variable.
6511 (paintMenuItem): Paint margin area of menu item.
6512 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6513 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6514 menu item's bounds before clearing the selection.
6515
6516 2004-06-09 David Jee <djee@redhat.com>
6517
6518 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6519 (GtkTextComponentPeer): Set caret position to 0.
6520 * java/awt/TextComponent.java
6521 (setText): Set caret position to 0.
6522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6523 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6524 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6525 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6526 Likewise.
6527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6528 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6529 visible.
6530
6531 2004-06-09 Kim Ho <kho@redhat.com>
6532
6533 * Makefile.am: New files
6534 * Makefile.in: Regenerated
6535 * java/awt/Container.java
6536 (getComponentAt): Removed.
6537 * javax/swing/AbstractAction.java
6538 (ENABLED_PROPERTY): New property.
6539 (putValue): Fire PropertyChangeEvents.
6540 (setEnabled): ditto.
6541 (firePropertyChange): Javadoc and implement
6542 convenience method.
6543 * javax/swing/AbstractButton.java
6544 (setAction): Don't create PropertyChangeListener
6545 if new Action is null.
6546 (setIcon): Don't set icon till after comparing
6547 it.
6548 (configurePropertiesFromAction): Check mnemonic
6549 key before calling intValue().
6550 (createActionPropertyChangeListener): Check
6551 properties rather than bulk change.
6552 * javax/swing/DefaultDesktopManager.java:
6553 Implement.
6554 * javax/swing/DesktopManager.java:
6555 Jalopy and javadoc.
6556 * javax/swing/JComponent.java
6557 (fireVetoableChange): Implement.
6558 (paintImmediately): Use root component.
6559 * javax/swing/JDesktopPane.java: Implement
6560 * javax/swing/JInternalFrame.java: Implement
6561 * javax/swing/JLabel.java
6562 (getDisabledIcon): Return grayscaled icon if
6563 no disabled icon specified.
6564 * javax/swing/JMenuBar.java
6565 (getComponentAtIndex): Use getComponent
6566 * javax/swing/JOptionPane.java
6567 (getDesktopPaneForComponent): Use SwingUtilities'
6568 getAncestorOfClass
6569 (getFrameForComponent): ditto.
6570 * javax/swing/JSplitPane.java
6571 (remove): Use getComponent.
6572 * javax/swing/SwingUtilities.java
6573 (convertPoint): Implement.
6574 * javax/swing/plaf/basic/BasicButtonUI.java
6575 (paintButtonNormal): Check opaqueness before
6576 filling background.
6577 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6578 Implement
6579 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6580 Implement.
6581 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6582 Implement.
6583 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6584 Implement.
6585 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6586 Change InternalFrame and Desktop colors.
6587
6588 2004-06-09 David Jee <djee@redhat.com>
6589
6590 * java/awt/Container.java
6591 (remove): Do not set component to invisible.
6592
6593 2004-06-09 Michael Koch <konqueror@gmx.de>
6594
6595 * javax/swing/tree/DefaultMutableTreeNode.java
6596 (getLeafCount): Renamed enum to e.
6597
6598 2004-06-09 Michael Koch <konqueror@gmx.de>
6599
6600 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6601 (positionForMouseEvent): Removed redundant semicolon.
6602 (continueDrag): Use method arguments.
6603
6604 2004-06-09 Michael Koch <konqueror@gmx.de>
6605
6606 * javax/swing/border/TitledBorder.java,
6607 javax/swing/filechooser/FileSystemView.java,
6608 javax/swing/plaf/basic/BasicButtonListener.java,
6609 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6610 javax/swing/plaf/basic/BasicLabelUI.java,
6611 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6612 javax/swing/plaf/basic/BasicScrollBarUI.java,
6613 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6614 javax/swing/plaf/basic/BasicSliderUI.java,
6615 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6616 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6617 javax/swing/table/JTableHeader.java,
6618 javax/swing/text/AbstractDocument.java,
6619 javax/swing/text/DefaultCaret.java,
6620 javax/swing/text/StyledEditorKit.java,
6621 javax/swing/tree/DefaultTreeCellEditor.java:
6622 Reworked import statements.
6623
6624 2004-06-08 Graydon Hoare <graydon@redhat.com>
6625
6626 * javax/swing/Box.java: Temporarily comment out code
6627 broken due to visibility bug.
6628
6629 2004-06-09 Michael Koch <konqueror@gmx.de>
6630
6631 * javax/swing/ImageIcon.java
6632 (ImageIcon): Added missing constructor.
6633
6634 2004-06-08 Michael Koch <konqueror@gmx.de>
6635
6636 * javax/swing/JToggleButton.java
6637 (JToggleButton): New constructor.
6638 (getAccessibleContext): Moved documentation into javadoc.
6639 (getUIClassID): Likewise.
6640
6641 2004-06-08 Michael Koch <konqueror@gmx.de>
6642
6643 * javax/swing/AbstractButton.java
6644 (getDisabledIcon): Create disabled icon if none exists yet.
6645
6646 2004-06-08 Michael Koch <konqueror@gmx.de>
6647
6648 * javax/swing/plaf/basic/BasicLookAndFeel.java
6649 (initClassDefaults): Added FormattedTextFieldUI.
6650 (loadResourceBundle): Renamed enum to e.
6651
6652 2004-06-08 Michael Koch <konqueror@gmx.de>
6653
6654 * javax/swing/plaf/basic/BasicButtonUI.java
6655 (paintIcon): Simplified.
6656 (paintText): Paint disabled button correctly.
6657
6658 2004-06-08 Michael Koch <konqueror@gmx.de>
6659
6660 * javax/swing/JComponent.java
6661 (createToolTip): Use official JToolTip API.
6662
6663 2004-06-08 Michael Koch <konqueror@gmx.de>
6664
6665 * javax/swing/JToolTip.java
6666 (JToolTip): No arguments in API.
6667 (setTipText): New method.
6668
6669 2004-06-08 Michael Koch <konqueror@gmx.de>
6670
6671 * javax/swing/SwingUtilities.java
6672 (isLeftMouseButton): New method.
6673 (isMiddleMouseButton): New method.
6674 (isRightMouseButton): New method.
6675
6676 2004-06-08 Michael Koch <konqueror@gmx.de>
6677
6678 * javax/swing/AbstractButton.java,
6679 javax/swing/CellRendererPane.java,
6680 javax/swing/JCheckBoxMenuItem.java,
6681 javax/swing/JColorChooser.java,
6682 javax/swing/JComboBox.java,
6683 javax/swing/JComponent.java,
6684 javax/swing/JDesktopPane.java,
6685 javax/swing/JFileChooser.java,
6686 javax/swing/JMenu.java,
6687 javax/swing/JMenuItem.java,
6688 javax/swing/JOptionPane.java,
6689 javax/swing/JPasswordField.java,
6690 javax/swing/JPopupMenu.java,
6691 javax/swing/JProgressBar.java,
6692 javax/swing/JRadioButtonMenuItem.java,
6693 javax/swing/JScrollBar.java,
6694 javax/swing/JSeparator.java,
6695 javax/swing/JSlider.java,
6696 javax/swing/JSplitPane.java,
6697 javax/swing/JTabbedPane.java,
6698 javax/swing/JTextField.java,
6699 javax/swing/JToolBar.java,
6700 javax/swing/text/JTextComponent.java:
6701 Fixed all constructors of accessibility classes.
6702
6703 2004-06-08 Michael Koch <konqueror@gmx.de>
6704
6705 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6706 over.
6707
6708 2004-06-08 Michael Koch <konqueror@gmx.de>
6709
6710 * javax/swing/Box.java
6711 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6712 (AccessibleBoxFiller.serialVersionUID): New member variable.
6713 * javax/swing/DefaultButtonModel.java
6714 (stateMask): Made protected.
6715 (listenerList): Likewise.
6716 (changeEvent): Likewise.
6717 (group): Likewise.
6718 (mnemonic): Likewise.
6719 (actionCommand): Likewise.
6720 (getListeners): New method.
6721 (getActionListeners): New method.
6722 (getItemListeners): New method.
6723 (getChangeListeners): New method.
6724 (fireItemStateChanged): Simplified.
6725 (fireActionPerformed): Simplified.
6726 (fireStateChanged): Simplified.
6727 * javax/swing/JFrame.java
6728 (JFrame): Implements WindowContants.
6729 (HIDE_ON_CLOSE): Removed.
6730 (EXIT_ON_CLOSE): Removed.
6731 (DISPOSE_ON_CLOSE): Removed.
6732 (DO_NOTHING_ON_CLOSE): Removed.
6733 (processWindowEvent): Exit with code 0.
6734 (setDefaultCloseOperation): Do security check before setting value.
6735 * javax/swing/JOptionPane.java
6736 (message): Initialize only in constructor.
6737 * javax/swing/JToolTip.java: Removed unused imports.
6738 * javax/swing/JViewport.java
6739 (serialVersionUID): New member variable.
6740 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6741 (BLIT_SCROLL_MODE): Likewise.
6742 (BACKINGSTORE_SCROLL_MODE): Likewise.
6743 (scrollUnderway): Made protected.
6744 (isViewSizeSet): Likewise.
6745 * javax/swing/ListModel.java: Fixed javadoc.
6746 * javax/swing/Popup.java: Likewise.
6747 * javax/swing/RepaintManager.java
6748 (paintDirtyRegions): Don't use internal classes of
6749 java.util.AbstractMap.
6750 * javax/swing/ScrollPaneConstants.java: Reindented.
6751 * javax/swing/ScrollPaneLayout.java
6752 (viewport): Made protected.
6753 (verticalScrollBar): Made protected, renamed to vsb.
6754 (horizontalScrollBar): Made protected, renamed to hsb.
6755 (rowHeader): Made protected, renamed to rowHead.
6756 (columnHeader): Made protected, renamed to colHead.
6757 (lowerLeft): Made protected.
6758 (lowerRight): Made protected.
6759 (upperLeft): Made protected.
6760 (upperRight): Made protected.
6761 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6762 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6763
6764 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6765
6766 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6767 LOADING if flags has SOMEBITS set.
6768
6769 2004-06-07 Michael Koch <konqueror@gmx.de>
6770
6771 * javax/swing/AbstractButton.java: Reorganized imports.
6772 * javax/swing/ActionMap.java: Likewise.
6773 * javax/swing/DefaultButtonModel.java: Likewise.
6774 * javax/swing/DefaultListModel.java: Likewise.
6775 * javax/swing/ImageIcon.java: Likewise.
6776 (serialVersionUID): New member variable.
6777 * javax/swing/JComboBox.java: Reorganized imports.
6778 * javax/swing/JComponent.java: Likewise.
6779 (ui): Made protected.
6780 (listenerList): Made protected.
6781 (TOOL_TIP_TEXT_KEY): New constant.
6782 (scrollRectToVisible): Removed redundant null check.
6783 * javax/swing/JFrame.java: Reorganized imports.
6784 * javax/swing/JInternalFrame.java: Reorganized imports.
6785 * javax/swing/JProgressBar.java: Likewise.
6786 * javax/swing/JRootPane.java: Likewise.
6787 * javax/swing/JScrollBar.java: Likewise.
6788 * javax/swing/JSeparator.java: Likewise.
6789 * javax/swing/JSlider.java: Likewise.
6790 * javax/swing/JTabbedPane.java: Likewise.
6791 * javax/swing/JTextField.java: Likewise.
6792 * javax/swing/JToolBar.java: Likewise.
6793 * javax/swing/JTree.java: Likewise.
6794 * javax/swing/JViewport.java: Likewise.
6795 * javax/swing/JWindow.java: Likewise.
6796 * javax/swing/KeyStroke.java: Likewise.
6797 * javax/swing/LookAndFeel.java: Likewise.
6798 * javax/swing/MenuSelectionManager.java: Likewise.
6799 * javax/swing/SwingUtilities.java: Likewise.
6800 * javax/swing/Timer.java: Likewise.
6801 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6802 * javax/swing/JList.java
6803 (HORIZONTAL_WRAP): Made final, fixed value.
6804 (VERTICAL): Likewise.
6805 (VERTICAL_WRAP): Likewise.
6806
6807 2004-06-07 Michael Koch <konqueror@gmx.de>
6808
6809 * javax/swing/AbstractButton.java
6810 (serialVersionUID): New member variable.
6811 (AccessibleAbstractButton.serialVersionUID): Likewise.
6812 (AbstractButton): Made public.
6813 * javax/swing/Box.java
6814 (AccessibleBox.serialVersionUID): New member variable.
6815 (Filler.serialVersionUID): Likewise.
6816 * javax/swing/DefaultListSelectionModel.java
6817 (serialVersionUID): Likewise.
6818 * javax/swing/JApplet.java
6819 (serialVersionUID): Likewise.
6820 * javax/swing/JCheckBox.java
6821 (serialVersionUID): Likewise.
6822 * javax/swing/JCheckBoxMenuItem.java
6823 (serialVersionUID): Likewise.
6824 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6825 * javax/swing/JColorChooser.java
6826 (serialVersionUID): Likewise.
6827 (AccessibleJColorChooser.serialVersionUID): Likewise.
6828 * javax/swing/JComponent.java
6829 (serialVersionUID): Made private.
6830 (AccessibleJComponent.serialVersionUID): New member variable.
6831 * javax/swing/JDesktopPane.java
6832 (serialVersionUID): Likewise.
6833 * javax/swing/JDialog.java
6834 (serialVersionUID): Likewise.
6835 * javax/swing/JFormattedTextField.java
6836 (serialVersionUID): Fixed value.
6837 * javax/swing/JFrame.java
6838 (serialVersionUID): New member variable.
6839 (getDefaultCloseOpertation): Made public.
6840 * javax/swing/JLayeredPane.java
6841 (serialVersionUID): Likewise.
6842 (LAYER_PROPERTY): Made final, fixed value.
6843 (JLayeredPane): Made public.
6844 * javax/swing/JMenu.java
6845 (AccessibleJMenu.serialVersionUID): New member variable.
6846 (WinListener.serialVersionUID): Likewise.
6847 * javax/swing/JMenuBar.java
6848 (serialVersionUID): Likewise.
6849 (getComponentAtIndex): Added @deprecated tag.
6850 * javax/swing/JMenuItem.java
6851 (serialVersionUID): New member variable.
6852 (AccessibleJMenuItem.serialVersionUID): Likewise.
6853 * javax/swing/JOptionPane.java
6854 (serialVersionUID): Likewise.
6855 (AccessibleJOptionPane.serialVersionUID): Likewise.
6856 * javax/swing/JPopupMenu.java
6857 (serialVersionUID): Likewise.
6858 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6859 (getPopupMenuListeners): New method.
6860 (getComponentAtIndex): Added @deprecated tag.
6861 * javax/swing/JProgressBar.java
6862 (serialVersionUID): New member variable.
6863 (AccessibleJProgressBar.serialVersionUID): Likewise.
6864 * javax/swing/JRadioButton.java
6865 (serialVersionUID): Likewise.
6866 * javax/swing/JRadioButtonMenuItem.java
6867 (serialVersionUID): Likewise.
6868 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6869 * javax/swing/JScrollBar.java
6870 (serialVersionUID): Likewise.
6871 (AccessibleJScrollBar.serialVersionUID): Likewise.
6872 * javax/swing/JSeparator.java
6873 (serialVersionUID): Likewise.
6874 (AccessibleJSeparator.serialVersionUID): Likewise.
6875 * javax/swing/JSlider.java: Fixed javadocs.
6876 (AccessibleJSlider.serialVersionUID): New member variable.
6877 * javax/swing/JSplitPane.java: Added copyright statement.
6878 (serialVersionUID): New member variable.
6879 (AccessibleJSplitPane.serialVersionUID): Likewise.
6880 * javax/swing/JTabbedPane.java
6881 (serialVersionUID): Likewise.
6882 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6883 (ModelListener.serialVersionUID): Likewise.
6884 (ModelListener.ModelListener): New constructor.
6885 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6886 (WRAP_TAB_LAYOUT): Likewise.
6887 * javax/swing/JTable.java
6888 (serialVersionUID): New member variable.
6889 * javax/swing/JToggleButton.java
6890 (serialVersionUID): Likewise.
6891 (ToggleButtonModel): Made static.
6892 (ToggleButtonModel.serialVersionUID): New member variable.
6893 * javax/swing/JToolTip.java
6894 (serialVersionUID): Likewise.
6895 * javax/swing/JTree.java
6896 (serialVersionUID): Likewise.
6897 * javax/swing/JWindow.java
6898 (serialVersionUID): Likewise.
6899 * javax/swing/Timer.java
6900 (serialVersionUID): Likewise.
6901
6902 2004-06-06 Michael Koch <konqueror@gmx.de>
6903
6904 * javax/swing/SwingConstants.java
6905 (NEXT): New constant.
6906 (PREVIOUS): Likewise.
6907 * javax/swing/UIManager.java
6908 (LookAndFeel): Made public.
6909 (LookAndFeel.getClassName): Likewise.
6910 (LookAndFeel.getName): Likewise.
6911
6912 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6913
6914 * javax/swing/JCheckBoxMenuItem.java:
6915 Removed CVS tags.
6916 * javax/swing/JMenu.java: Likewise.
6917 * javax/swing/JMenuBar.java: Likewise.
6918 * javax/swing/JMenuItem.java: Likewise.
6919 * javax/swing/JPopupMenu.java: Likewise.
6920 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6921 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6922 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6923 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6924 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6925 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6926 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6927
6928 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6929
6930 * javax/swing/plaf/basic/BasicMenuUI.java:
6931 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6932 Call getPath() from super class instead.
6933
6934 2004-05-31 David Jee <djee@redhat.com>
6935
6936 * java/awt/Container.java
6937 (remove): Set component visibility to false after removing it.
6938
6939 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6940
6941 * java/awt/Component.java (getForeground): Return SystemColor if
6942 parent is null.
6943 (getBackground): Likewise.
6944
6945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6946 (item_highlighted): New function.
6947 (connectSignals): Set item_highlighted as list's select
6948 function.
6949
6950 * java/applet/Applet.java: Revert changes from 2004-04-29,
6951 2004-03-15 and 2004-03-14.
6952
6953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6954 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6955 factor.
6956
6957 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6958 "Dialog" as the default font.
6959 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6960 Likewise.
6961 * java/awt/Component.java (getFont): Return "Dialog" font by
6962 default.
6963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6964 Multiply size argument to pango_font_description_set_size by the
6965 DPI conversion factor rather than by PANGO_SCALE.
6966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6970 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6976 Divide baseline y coordinate by DPI conversion factor rather
6977 than by PANGO_SCALE.
6978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6979 (area_prepared): Fix typo.
6980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6981 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6983 (dpi_conversion_factor): New global variable.
6984 (init_dpi_conversion_factor): New function to calculate and
6985 track DPI conversion factor.
6986 (dpi_changed_cb): New callback.
6987 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6988
6989 2004-05-27 David Jee <djee@redhat.com>
6990
6991 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6992 (getGraphics): Return a new GdkGraphics instance.
6993 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6994 (getGraphics): Call super.getGraphics().
6995
6996 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6997
6998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6999 (setNativeBounds): Clamp width and height values to >= 0.
7000
7001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7002 (find_fg_color_widget): Handle GtkOptionMenu specially.
7003
7004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7005 (pre_event_handler): Only post configure events to visible
7006 top-level windows.
7007
7008 2004-05-26 David Jee <djee@redhat.com>
7009
7010 * java/awt/BorderLayout.java
7011 (layoutContainer): Fix size calculations.
7012
7013 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
7014
7015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7016 (window_wm_protocols_filter): Remove function.
7017 (create): Remove filter that removes WM_TAKE_FOCUS client
7018 messages.
7019
7020 2004-06-17 Anthony Green <green@redhat.com>
7021
7022 * java/util/zip/ZipFile.java (getInputStream): Return null if
7023 entry not found.
7024
7025 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7026 directory contents to the class path.
7027
7028 2004-06-15 Andrew Haley <aph@redhat.com>
7029
7030 * java/lang/natSystem.cc (getenv0): Don't assume environment
7031 variable is Latin 1 coded.
7032
7033 2004-06-14 Andreas Jaeger <aj@suse.de>
7034
7035 * configure.in: Support --enable-version-specific-runtime-libs.
7036 * configure: Regenerated.
7037
7038 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
7039
7040 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7041 to pass ClassLoader argument.
7042 * java/util/GregorianCalendar.java: Likewise.
7043 * java/util/Currency.java: Likewise.
7044 * java/text/BreakIterator.java: Likewise.
7045 * java/text/Collator.java: Likewise.
7046 * java/text/DateFormat.java: Likewise.
7047 * java/text/DateFormatSymbols.java: Likewise.
7048 * java/text/DecimalFormatSymbols.java: Likewise.
7049 * java/text/NumberFormat.java: Likewise.
7050 * java/awt/Window.java: Likewise.
7051
7052 2004-06-14 Andrew Haley <aph@redhat.com>
7053
7054 * java/lang/System.java: (getenv0): New method.
7055 (getenv): Add security check. Do the right thing.
7056 * java/lang/natSystem.cc (getenv0): New method.
7057
7058 2004-06-12 Mark Wielaard <mark@klomp.org>
7059
7060 * javax/swing/RepaintManager.java
7061 (paintDirtyRegions): Use entrySet(), not values().
7062
7063 2004-06-10 Mark Wielaard <mark@klomp.org>
7064
7065 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7066 NoSuchMethodError.
7067
7068 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
7069
7070 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
7071 when we already know the answer.
7072 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7073 (setStartRule,setEndRule): Don't take abs of day number.
7074 (getOffset): Clarify docs. Add argument checks.
7075 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7076 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7077 endTimeMode.
7078
7079 2004-06-10 Tom Tromey <tromey@redhat.com>
7080
7081 * interpret.cc (run): Handle wide fload.
7082
7083 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
7084
7085 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7086
7087 2004-06-05 Michael Koch <konqueror@gmx.de>
7088
7089 * javax/swing/SwingConstants.java
7090 (NEXT): New constant.
7091 (PREVIOUS): Likewise.
7092
7093 2004-06-05 Michael Koch <konqueror@gmx.de>
7094
7095 * javax/swing/UIManager.java
7096 (LookAndFeel): Made public.
7097 (LookAndFeel.getName): Likewise.
7098 (LookAndFeel.getClassName): Likewise.
7099
7100 2004-06-03 Michael Koch <konqueror@gmx.de>
7101
7102 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7103 (requestFocus): Revert last changes.
7104 (gtkRequestFocus): Removed.
7105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7106 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7107 Renamed to ...
7108 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7109 Reverted last patch.
7110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7111 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7112 Reverted comment change.
7113
7114 2004-06-02 Olga Rodimina <rodimina@redhat.com>
7115
7116 * javax/swing/JCheckBoxMenuItem.java:
7117 Removed CVS tags.
7118 * javax/swing/JMenu.java: Likewise.
7119 * javax/swing/JMenuBar.java: Likewise.
7120 * javax/swing/JMenuItem.java: Likewise.
7121 * javax/swing/JPopupMenu.java: Likewise.
7122 * javax/swing/JRadioButtonMenuItem.java: Likewise.
7123 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7124 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7125 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7126 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7127 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7128 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7129
7130 2004-06-01 Tom Tromey <tromey@redhat.com>
7131
7132 * java/io/ObjectStreamField.java: Cleaned up imports.
7133
7134 2004-06-01 Michael Koch <konqueror@gmx.de>
7135
7136 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7137
7138 2004-06-01 Mark Wielaard <mark@klomp.org>
7139
7140 * java/io/Writer.java (Writer(Object)): Fixed API doc.
7141
7142 2004-06-01 Michael Koch <konqueror@gmx.de>
7143
7144 * java/security/Security.java
7145 (insertProviderAt): Use equals() instead of ==.
7146 (removeProvicer): Likewise.
7147 (getProvider): Likewise.
7148 * java/security/Signature.java
7149 (sign): Don't set state to UNINITIALIZED.
7150 (verify): Likewise.
7151
7152 2004-06-01 Mark Wielaard <mark@klomp.org>
7153
7154 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7155 Implement by calling gtkRequestFocus.
7156 (gtkRequestFocus): New native method.
7157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7158 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7159 Renamed to ...
7160 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7161 New function name.
7162 (filter_expose_event_handler):
7163 Mark static.
7164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7165 (menu_pos): Mark static.
7166
7167 2004-06-01 Michael Koch <konqueror@gmx.de>
7168
7169 * java/text/CollationElementIterator.java,
7170 java/text/CollationKey.java,
7171 java/text/RuleBasedCollator.java: New versions from GNU classpath.
7172 * testsuite/libjava.mauve/xfails: Removed all
7173 java.text.CollationElementIterator tests.
7174
7175 2004-06-01 Michael Koch <konqueror@gmx.de>
7176
7177 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7178 version.
7179 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7180 Java 1.5 keyword usage.
7181
7182 2004-05-31 Olga Rodimina <rodimina@redhat.com>
7183
7184 * javax/swing/plaf/basic/BasicMenuUI.java:
7185 (MouseEntered): Do not call getPath() from MenuSelectionManager.
7186 Call getPath() from super class instead.
7187
7188 2004-05-31 Michael Koch <konqueror@gmx.de>
7189
7190 * java/io/SequenceInputStream.java:
7191 Rename enum to e because enum is a keyword in Java 1.5.
7192
7193 2004-05-31 Michael Koch <konqueror@gmx.de>
7194
7195 * gnu/java/rmi/rmic/CompilerProcess.java:
7196 Fixed javadoc to by XHTML compliant.
7197
7198 2004-05-30 Mark Wielaard <mark@klomp.org>
7199
7200 * java/awt/Toolkit.java (loadSystemColors): Implement.
7201
7202 2004-05-30 Michael Koch <konqueror@gmx.de>
7203
7204 * java/lang/System.java: Reordered imports.
7205
7206 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
7207
7208 * java/text/DecimalFormat.java
7209 (parse): Fixed parsing of decimal strings. Number of maximum
7210 digits to be read should now work.
7211 * java/text/SimpleDateFormat.java
7212 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7213 formatter. This fixes DateFormatTest.
7214
7215 2004-05-30 Michael Koch <konqueror@gmx.de>
7216
7217 * java/nio/Buffer.java
7218 (limit): Fixed off by one error.
7219 * java/nio/CharBuffer.java
7220 (wrap): Fixed arguments, added javadocs.
7221
7222 2004-05-30 Michael Koch <konqueror@gmx.de>
7223
7224 * gnu/java/beans/BeanInfoEmbryo.java,
7225 java/awt/im/InputContext.java,
7226 javax/swing/tree/DefaultMutableTreeNode.java:
7227 Rename enum to e because enum is a keyword in Java 1.5.
7228
7229 2004-05-30 Michael Koch <konqueror@gmx.de>
7230
7231 * gnu/java/math/MPN.java,
7232 java/awt/geom/Arc2D.java:
7233 Fixed javadocs all over.
7234
7235 2004-05-30 Michael Koch <konqueror@gmx.de>
7236
7237 * java/awt/DefaultKeyboardFocusManager.java
7238 (dispatchEvent): Call method to get key event dispatchers.
7239 (dispatchKeyEvent): Call method to get key event post processors.
7240 * javax/swing/JComponent.java
7241 (listenerList): Made protected.
7242 * javax/swing/JOptionPane.java
7243 (message): Don't initialize.
7244 (JOptionPane): Set message text.
7245 * javax/swing/JPopupMenu.java
7246 (show): Fixed typo in argument name.
7247 * javax/swing/RepaintManager.java
7248 (paintDirtyRegions): Use public API of java.util.Map.
7249 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7250 (positionForMouseEvent): Removed redundant ';'.
7251 (continueDrag): Use method arguments.
7252
7253 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
7254
7255 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7256 results.
7257
7258 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
7259
7260 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7261 _Jv_AllocBytes.
7262 * gnu/gcj/RawDataManaged.java: New file.
7263 * java/lang/Thread.java (data): Declare as RawDataManaged.
7264 * java/lang/natThread.cc (init_native): Cast natThread data to
7265 RawDataManaged, not jobject.
7266 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7267 * Makefile.in: Rebuilt.
7268
7269 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
7270
7271 * java/util/SimpleTimeZone.java: Reverting my last change until I
7272 can fix it properly.
7273
7274 2004-05-27 Michael Koch <konqueror@gmx.de>
7275
7276 * javax/swing/JPopupMenu.java
7277 (isVisible): Do not use visible directly.
7278 (setVisible): Likewise.
7279 * javax/swing/JWindow.java
7280 (JWindow): call accessible constructor.
7281 * javax/swing/RepaintManager.java
7282 (paintDirtyRegions): Use public methods to obtain iterator.
7283
7284 2004-05-25 David Jee <djee@redhat.com>
7285
7286 * java/awt/Container.java
7287 (remove): Set component's parent to null only after we removed the
7288 component from its parent's layout manager.
7289
7290 2004-05-25 David Jee <djee@redhat.com>
7291
7292 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7293 (GtkComponentPeer): Set bounds regardless of whether awtComponent
7294 is valid.
7295 * gnu/java/awt/peer/gtk/GtkListPeer.java
7296 (getSize): Change native method declaration.
7297 (minimumSize): Pass visible row count into getSize().
7298 (preferredSize): Likewise.
7299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7300 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7301 natural size. Use visible row count to determine the final height
7302 value to return.
7303
7304 2004-05-21 Graydon Hoare <graydon@redhat.com>
7305
7306 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7307 (setClip): Minor correction to order of operations.
7308
7309 * javax/swing/JScrollPane.java: Extend sketchy implementation.
7310 * javax/swing/ScrollPaneLayout.java: Likewise.
7311 * javax/swing/JViewPort.java: Likewise.
7312 * javax/swing/ViewportLayout.java: Likewise.
7313
7314 * javax/swing/JComponent.java: Rewrite.
7315 * javax/swing/RepaintManager.java: Likewise.
7316
7317 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7318 * javax/swing/JList.java
7319 (setSelectedIndices):
7320 (getSelectedIndices):
7321 (getSelectedValues): New functions.
7322 (getPreferredScrollableViewportSize): Return preferred size.
7323 (getScrollableUnitIncrement):
7324 (getScrollableBlockIncrement): Initial implementations.
7325 * javax/swing/JRootPane.java: Clean up slightly.
7326 (getUI):
7327 (setUI):
7328 (updateUI):
7329 (getUIClassID):
7330 (isValidateRoot): Add overrides from JComponent.
7331 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7332 * javax/swing/UIManager.java (getDimension): Return the dimension.
7333
7334 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7335 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7336 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7337 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7338 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7339 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7340 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7341 * javax/swing/plaf/basic/BasicRootPaneUI.java:
7342 Likewise, and set background.
7343 * javax/swing/plaf/basic/BasicListUI.java:
7344 Likewise, and improve a bit.
7345 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7346 Likewise, and adjust calculations.
7347 * javax/swing/plaf/basic/BasicViewportUI.java:
7348 Likewise, and improve a bit.
7349 * javax/swing/plaf/basic/BasicLookAndFeel.java
7350 (Button.margin): Shrink.
7351
7352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7353 Hack to set horizontal always, workaround pango.
7354
7355 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7357 Synchronize more often, check cairo status after ops,
7358 handle changes to cairo pattern API, check for disposal.
7359
7360 2004-05-21 Olga Rodimina <rodimina@redhat.com>
7361
7362 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7363 (BasicMenuItemUI): Create propertyChangeListener.
7364 (getPath):Implemented.
7365 (installListeners): Add propertyChangeListener to menuItem.
7366 (uninstallListeners): Remove propertyChangeListener from menuItem.
7367 (update): Implemented.
7368 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7369 (mouseEntered): Take insets of popup menu into account when
7370 calculating position of popup menu.
7371
7372 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7373
7374 * Makefile.am: Added new file.
7375 * Makefile.in: Regenerate.
7376 * javax/swing/JMenuBar.java:
7377 Started implementation.
7378 * javax/swing/JPopupMenu.java:
7379 (setVisible): Fixed location of lightweight/mediumweight
7380 popup menu.
7381 (show): Fixed location of PopupMenu.
7382 * javax/swing/plaf/basic/BasicMenuBarUI.java:
7383 New file. UI Delegate for JMenuBar.
7384 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7385 (mouseEntered): Corrected position of the submenu.
7386
7387 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7388
7389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7390 to _gtk_accel_group_attach.
7391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7392 Likewise.
7393
7394 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7395 package access. Don't override setFont.
7396 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7397 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7398 gtkWidgetRequestFocus package access.
7399 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7400 setFont.
7401 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7402 Give gtkWidgetRequestFocus package access.
7403 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7404 gtkWidgetRequestFocus package access. Don't override setFont.
7405 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7406 setFont.
7407 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7408 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7409 region.
7410 (gtkSetFont): Likewise.
7411 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7412 Implement.
7413 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7414 (gtkSetFont): Whitespace fix.
7415
7416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7417 (gtkWidgetSetUsize): Remove method.
7418
7419 2004-05-18 David Jee <djee@redhat.com>
7420
7421 * java/awt/image/MemoryImageSource.java
7422 (newPixels(int,int,int,int,boolean)): Set only the specified
7423 rectangle of pixels.
7424 (newPixels(byte[],ColorModel,int,int)): Implement.
7425 (newPixels(int[],ColorModel,int,int)): Implement.
7426
7427 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7428
7429 * Makefile.am: Added new file.
7430 * Makefile.in: Regenerate.
7431 * javax/swing/JMenu.java: Started
7432 implementation.
7433 * javax/swing/JPopupMenu.java:
7434 (insert): If specified index is -1, then
7435 add component at the end.
7436 (isPopupTrigger): Reimplemented.
7437 (JPopupMenu.LightWeightPopup): setBounds
7438 of the lightWeightPopup before adding it
7439 to the layeredPane.
7440 (javax/swing/plaf/basic/BasicIconFactory.java):
7441 (getMenuArrowIcon): Implemented.
7442 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7443 (getPreferredSize): Add size of the arrow icon
7444 if this menu item is instance of JMenu.
7445 (paintMenuItem): Paint arrow icon if this
7446 menu item is a submenu.
7447 * javax/swing/plaf/basic/BasicMenuUI.java:
7448 New File. UI Delegate for JMenu.
7449
7450 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7451
7452 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7453 Post KEY_TYPED events.
7454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7455 (generates_key_typed_event): Remove function.
7456
7457 2004-05-17 Olga Rodimina <rodimina@redhat.com>
7458
7459 * javax/swing/JRootPane.java
7460 (JRootPane.RootLayout): Reimplemented to
7461 set bounds of contentPane and menuBar.
7462 (setJMenuBar): Add menu bar to the layered pane.
7463 (createLayeredPane): Set layout of layeredPane
7464 to null.
7465 * javax/swing/JLayeredPane.java:
7466 (addImpl): Calculate index of the component in the
7467 layeredPane according to the specified position within
7468 the layer.
7469
7470 2004-05-17 David Jee <djee@redhat.com>
7471
7472 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7473 (setPixels): Change color model to the default model after
7474 converting pixels.
7475 * java/awt/image/MemoryImageSource.java
7476 (newPixels): Set only the specified rectangle of pixels.
7477
7478 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7479
7480 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7481 -l-java-beans -l-javax-accessibility -l-javax-swing.
7482
7483 * java/awt/AWTEvent.java (toString): Print source's name rather
7484 than the source itself.
7485
7486 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7487
7488 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7489 native.
7490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7491 (gdk_color_to_java_color): New function.
7492 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7493
7494 2004-05-12 David Jee <djee@redhat.com>
7495
7496 * java/awt/image/RGBImageFilter.java:
7497 Initialize origmodel as null.
7498 (makeColor): Fix pixel component order.
7499 (filterRGBPixels): Fix pixel iteration.
7500 (setPixels): Add extra checks for index color model. Convert pixels
7501 to default color model if necessary.
7502 (convertColorModelToDefault): New override method for byte pixels.
7503 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7504 (makeColorbyDefaultCM): New override method for byte pixels.
7505 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7506 (makeColor): Fix pixel component order.
7507
7508 2004-05-11 Kim Ho <kho@redhat.com>
7509
7510 * javax/swing/Box.java:
7511 Comment out more parts of Box.Filler.
7512
7513 2004-05-11 Kim Ho <kho@redhat.com>
7514
7515 * javax/swing/Box.java:
7516 Remove reference to AccessibleAWTComponent so
7517 it compiles again.
7518
7519 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7520
7521 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7523 implementation of list peer to use GtkTreeView instead of
7524 deprecated GtkCList.
7525
7526 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7527
7528 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7529 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7530 (handleEvent): Remove keyChar argument to
7531 gtkWidgetDispatchKeyEvent calls.
7532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7533 compiler warnings.
7534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7537 Likewise.
7538
7539 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7540
7541 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7542 (gtkWidgetRequestFocus): Mark protected.
7543 (GtkComponentPeer): Only set the peer's bounds if its component
7544 is valid.
7545 * java/awt/Component.java (static): Set the default keyboard
7546 focus manager.
7547 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7548 requestFocusInWindow(temporary)): Don't request focus if the
7549 component is not showing. Get tree lock before traversing
7550 component hierarchy.
7551 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7552 Only set the global focus owner if it is not a Window.
7553 (processKeyEvent): Consume keystrokes associated with the focus
7554 traversal keystroke.
7555 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7556 downFocusCycle): Call requestFocusInWindow instead of
7557 requestFocus.
7558 * java/awt/EventDispatchThread.java (run): Move setting of
7559 default keyboard focus manager to Component.java.
7560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7561 (awt_keycode_to_keysym): New function.
7562 (gtkWidgetDispatchKeyEvent): Finish implementation.
7563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7564 (pre_event_handler): Add FIXME comment.
7565
7566 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7567 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7568 (gtkWidgetRequestFocus): New method.
7569 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7570 disable Tab and Shift-Tab keystrokes.
7571 (addNotify, appendText, insertText, replaceText): Simplify peer
7572 retrieval code.
7573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7574 (connectSignals): Remove connections to "commit" signals.
7575 Remove C++-style comments.
7576
7577 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7578 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7579 (handleEvent): Activate GTK button when the space bar key is
7580 pressed.
7581 (gtkActivate): New method.
7582
7583 2004-05-06 David Jee <djee@redhat.com>
7584
7585 * java/awt/image/CropImageFilter.java
7586 (setPixels): Implement for byte array pixels.
7587 * java/awt/image/ReplicateScaleFilter.java
7588 (setPixels): Implement for byte array pixels.
7589 (replicatePixels): Overload for byte array pixels.
7590
7591 2004-05-06 Kim Ho <kho@redhat.com>
7592
7593 * javax/swing/Box.java:
7594 (getAccessibleContext): Return an instance of the
7595 correct class.
7596
7597 2004-05-05 David Jee <djee@redhat.com>
7598
7599 * gnu/java/awt/peer/gtk/GdkGraphics.java
7600 (drawImage): When component is null, use SystemColor.window as
7601 the default bgcolor.
7602 * gnu/java/awt/peer/gtk/GtkImage.java
7603 (setPixels): We can avoid iterating through the pixel rows only
7604 when height is 1.
7605 * java/awt/Image.java
7606 (getScaledInstance): Partially implement.
7607 * java/awt/image/CropImageFilter.java
7608 (setProperties): Fix "filter" property.
7609 (setPixels): Implement.
7610 * java/awt/image/ReplicateScaleFilter.java
7611 (setDimensions): Use scaled dimensions.
7612 (setPixels): Implement.
7613 (replicatePixels): New method.
7614
7615 2004-05-05 David Jee <djee@redhat.com>
7616
7617 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7618 (convertPixels): If either pixels or model is null, return null.
7619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7620 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7621 is null, do nothing and return.
7622
7623 2004-05-03 Kim Ho <kho@redhat.com>
7624
7625 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7626 (getGraphics): Like GtkFramePeer, the Graphics
7627 object needs to be translate to account for
7628 window decorations.
7629 (postMouseEvent): New method. Account for
7630 translation.
7631 (postExposeEvent): ditto.
7632 * javax/swing/Box.java: Stubbed.
7633 * javax/swing/JDialog.java: Ran through jalopy
7634 to fix indentation.
7635 (JDialog): Call SwingUtilities' getOwnerFrame
7636 for null owners.
7637 (setLayout): Check isRootPaneCheckingEnabled
7638 * javax/swing/JOptionPane.java: Re-implemented.
7639 * javax/swing/SwingUtilities.java:
7640 (getOwnerFrame): Static method to grab a default
7641 owner frame for Dialogs that don't specify owners.
7642 * javax/swing/event/SwingPropertyChangeSupport.java:
7643 (firePropertyChange): Fix early exit condition.
7644 * javax/swing/plaf/basic/BasicLabelUI.java:
7645 (paint): Avoid painting text if it is null
7646 or empty.
7647 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7648 Implement.
7649
7650 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7651
7652 * Makefile.am: Added new file.
7653 * Makefile.in: Regenerate.
7654 * javax/swing/JPopupMenu.java:
7655 Started implementation.
7656 * javax/swing/JWindow.java
7657 (JWindow): call super() if parent for window
7658 is not specified.
7659 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7660 New File. UI Delegate for JPopupMenu.
7661
7662 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7663
7664 * javax/swing/JApplet.java: Indicated that JApplet
7665 implements RootPaneContainer and made method of this
7666 interface public.
7667 * javax/swing/JFrame.java: Ditto.
7668 * javax/swing/JWindow.java: Ditto.
7669
7670 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7671
7672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7673 (nativeSetBounds): Call gdk_window_move in addition to
7674 gtk_window_move.
7675
7676 * java/applet/Applet.java (preferredSize): Call parent's
7677 preferredSize if the applet stub is null.
7678 (minimumSize): Likewise for parent's minimumSize.
7679
7680 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7681
7682 * javax/swing/JMenuItem.java
7683 (createActionPropertyChangeListener): Implemented.
7684 (processMouseEvent): Ditto.
7685 (fireMenuDragMouseEntered): Ditto.
7686 (fireMenuDragMouseExited): Ditto.
7687 (fireMenuDragMouseDragged): Ditto.
7688 (fireMenuDragMouseReleased): Ditto.
7689 (menuSelectionChanged): Ditto.
7690 (getSubElements): Ditto.
7691 (getComponent): Ditto.
7692 (addMenuDragMouseListener): Ditto.
7693 (removeMenuDragMouseListener):Ditto.
7694 (addMenuKeyListener): Ditto.
7695 (removeMenuKeyListener): Ditto.
7696 * javax/swing/plaf/basic/BasicMenuItemUI.java
7697 (doClick): Imlemented.
7698 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7699 Don't handle mouse events here. Pass them to
7700 MenuSelectionManager.
7701
7702 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7703 Used correct version of jalopy configuration
7704 file to fix style in the files below.
7705
7706 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7707
7708 * javax/swing/JCheckBoxMenuItem.java:
7709 Fixed style and removed unnecessary comments.
7710 * javax/swing/JMenuItem.java: Ditto.
7711 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7712 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7713 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7714 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7715
7716 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7717
7718 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7719 C-style.
7720
7721 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7722
7723 * java/awt/ContainerOrderFocusTraversalPolicy.java
7724 (getComponentAfter): Start from current component and work up
7725 the component hierarchy until an acceptable component is found.
7726 Synchronize on tree lock.
7727 (getComponentBefore): Likewise.
7728
7729 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7730
7731 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7732 focus-related debugging messages.
7733 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7734 * java/awt/EventDispatchThread.java: Likewise.
7735 * java/awt/KeyboardFocusManager.java: Likewise.
7736 * java/awt/Window.java: Likewise.
7737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7739
7740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7741 new C++-style comments to C-style comments.
7742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7743
7744 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7746 (handleEvent): Dispatch key press and key release events to
7747 backing widget.
7748 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7749 (gtkWidgetRequestFocus): New method.
7750 (gtkWidgetDispatchKeyEvent): Likewise.
7751 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7752 requestFocusInWindow, requestFocusInWindow(boolean),
7753 getFocusCycleRootAncestor, nextFocus, transferFocus,
7754 transferFocusBackward, transferFocusUpCycle, hasFocus,
7755 isFocusOwner): Implement and document focus-handling methods.
7756 (setFocusTraversalKeys): Inherit focus traversal keys when
7757 keystrokes argument is null. Fix focus-handling documentation
7758 throughout class.
7759 * java/awt/Container.java (setFocusTraversalKeys,
7760 getFocusTraversalKeys, areFocusTraversalKeysSet,
7761 isFocusCycleRoot, setFocusTraversalPolicy,
7762 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7763 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7764 Implement and document focus-handling methods.
7765 (transferFocusBackward): Remove method.
7766 (readObject, writeObject): Implement and document serialization
7767 methods.
7768 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7769 and document.
7770 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7771 document.
7772 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7773 partially document.
7774 * java/awt/EventDispatchThread.java (run): Set default keyboard
7775 focus manager. Attempt to dispatch each event to the keyboard
7776 focus manager before normal dispatch.
7777 * java/awt/KeyboardFocusManager.java: Implement and partially
7778 document.
7779 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7780 (show): Focus initial component when window is shown for the
7781 first time.
7782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7783 (pre_event_handler): Replace complex key press and key release
7784 logic with simple callbacks into GtkComponentPeer.
7785 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7786
7787 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7788
7789 * javax/swing/MenuSelectionManager.java
7790 (componentForPoint): Added new method.
7791 (defaultManager): New Method. Implemented.
7792 (getSelectedPath): Ditto.
7793 (isComponentPartOfCurrentMenu): Ditto.
7794 (processKeyEvent): Added new method.
7795 (processMouseEvent): New Method. Implemented.
7796 (setSelectedPath): Ditto.
7797 (getPath): Ditto.
7798
7799 2004-04-19 Kim Ho <kho@redhat.com>
7800
7801 * java/awt/Container.java:
7802 (remove): Set the component's parent to null.
7803 (getComponentAt): Implement.
7804 * javax/swing/JComponent.java:
7805 (JComponent): Initialize defaultLocale
7806 (getDefaultLocale): Implement.
7807 (setDefaultLocale): ditto.
7808 * javax/swing/JSlider.java:
7809 (JSlider): Fix calculation of value.
7810 * javax/swing/JSplitPane.java: Implement.
7811 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7812 Change SplitPane's default divider size.
7813 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7814 (paint): Remove unused code.
7815 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7816 Added comments and ran through jalopy.
7817 (setBasicSplitPaneUI): Get reference to hidden divider
7818 and set up one touch buttons if necessary.
7819 (setBorder): Fire propertyChangeEvent only if
7820 borders are different.
7821 (getPreferredSize): Defer to layout manager.
7822 (propertyChange): Implement.
7823 (oneTouchExpandableChanged): ditto.
7824 (createLeftOneTouchButton): Use BasicArrowButton.
7825 (createRightOneTouchButton): ditto.
7826 (moveDividerTo): New method. Moves the divider
7827 to a set location based on the last divider location.
7828 (BasicSplitPaneDivider::MouseHandler): Implement.
7829 (BasicSplitPaneDivider::OneTouchButton): Removed.
7830 (BasicSplitPaneDivider::DragController): Implement.
7831 (BasicSplitPaneDivider::VerticalDragController):
7832 ditto.
7833 (BasicSplitPaneDivider::DividerLayout): ditto.
7834 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7835 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7836 (calculateLayoutInfo): Don't show component if it's
7837 null.
7838 (paintTab): Fix title paint logic.
7839
7840 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7841
7842 PR libgcj/8321
7843 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7844 (setStartRule,setEndRule): Don't take abs of day number.
7845 (getOffset): Clarify docs. Add argument checks.
7846 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7847 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7848 endTimeMode.
7849 * testsuite/libjava.mauve/xfails
7850 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7851
7852 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7853
7854 Layout interfaces during preparation, not initialization.
7855 * java/lang/natClass.cc (initializeClass): Move
7856 _Jv_LayoutInterfaceMethods call...
7857 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7858
7859 2004-05-19 Anthony Green <green@localhost.localdomain>
7860
7861 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7862 gnu.javax.rmi code.
7863 * Makefile.in: Rebuilt.
7864 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7865 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7866 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7867 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7868 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7869 gnu/javax/rmi/CORBA/DelegateFactory.java,
7870 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7871 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7872 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7873 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7874 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7875 gnu/javax/rmi/PortableServer.java: Remove files.
7876
7877 2004-05-19 Anthony Green <green@redhat.com>
7878
7879 * Makefile.am: Define JAVA_EXT_DIRS.
7880 * Makefile.in: Rebuilt.
7881 * java/lang/natRuntime.cc (insertSystemProperties): Set
7882 java.ext.dirs property.
7883
7884 2004-05-16 Mark Wielaard <mark@klomp.org>
7885
7886 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7887
7888 2004-05-15 Mark Wielaard <mark@klomp.org>
7889
7890 * doc/cni.sgml: Removed, merged into gcj.texi.
7891
7892 2004-05-15 Mark Wielaard <mark@klomp.org>
7893
7894 * Makefile.am (ordinary_java_source_files): Add new javax.print
7895 classes.
7896 * Makefile.in: Regenerated.
7897
7898 2004-05-15 Michael Koch <konqueror@gmx.de>
7899
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/JobImpressionsCompleted.java,
7906 javax/print/attribute/standard/JobMessageFromOperator.java,
7907 javax/print/attribute/standard/JobName.java,
7908 javax/print/attribute/standard/JobOriginatingUserName.java,
7909 javax/print/attribute/standard/JobPriority.java,
7910 javax/print/attribute/standard/JobPrioritySupported.java,
7911 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7912 javax/print/attribute/standard/OutputDeviceAssigned.java,
7913 javax/print/attribute/standard/PrinterInfo.java,
7914 javax/print/attribute/standard/PrinterLocation.java,
7915 javax/print/attribute/standard/PrinterMakeAndModel.java,
7916 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7917 javax/print/attribute/standard/PrinterName.java,
7918 javax/print/attribute/standard/QueuedJobCount.java,
7919 javax/print/attribute/standard/RequestingUserName.java:
7920 Fixed javadocs all over.
7921
7922 2004-05-15 Michael Koch <konqueror@gmx.de>
7923
7924 * javax/print/DocFlavor.java,
7925 javax/print/attribute/standard/ColorSupported.java,
7926 javax/print/attribute/standard/Compression.java,
7927 javax/print/attribute/standard/CopiesSupported.java,
7928 javax/print/attribute/standard/Fidelity.java,
7929 javax/print/attribute/standard/Finishings.java,
7930 javax/print/attribute/standard/JobImpressionsSupported.java,
7931 javax/print/attribute/standard/JobKOctetsSupported.java,
7932 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7933 javax/print/attribute/standard/JobSheets.java,
7934 javax/print/attribute/standard/JobState.java,
7935 javax/print/attribute/standard/JobStateReason.java,
7936 javax/print/attribute/standard/JobStateReasons.java,
7937 javax/print/attribute/standard/Media.java,
7938 javax/print/attribute/standard/MediaSizeName.java,
7939 javax/print/attribute/standard/MultipleDocumentHandling.java,
7940 javax/print/attribute/standard/NumberUpSupported.java,
7941 javax/print/attribute/standard/OrientationRequested.java,
7942 javax/print/attribute/standard/PDLOverrideSupported.java,
7943 javax/print/attribute/standard/PageRanges.java,
7944 javax/print/attribute/standard/PresentationDirection.java,
7945 javax/print/attribute/standard/PrintQuality.java,
7946 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7947 javax/print/attribute/standard/PrinterMoreInfo.java,
7948 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7949 javax/print/attribute/standard/PrinterResolution.java,
7950 javax/print/attribute/standard/PrinterState.java,
7951 javax/print/attribute/standard/PrinterStateReason.java,
7952 javax/print/attribute/standard/PrinterStateReasons.java,
7953 javax/print/attribute/standard/PrinterURI.java,
7954 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7955 javax/print/attribute/standard/Severity.java,
7956 javax/print/attribute/standard/SheetCollate.java,
7957 javax/print/attribute/standard/Sides.java:
7958 Added serialVersionUID and removed final keyword where it doenst
7959 belong.
7960
7961 2004-05-15 Michael Koch <konqueror@gmx.de>
7962
7963 * javax/print/PrintServiceLookup.java: New file.
7964
7965 2004-05-15 Michael Koch <konqueror@gmx.de>
7966
7967 * javax/print/DocFlavor.java:
7968 Implemented all flavor classes.
7969
7970 2004-05-15 Michael Koch <konqueror@gmx.de>
7971
7972 * javax/print/attribute/standard/ColorSupported.java,
7973 javax/print/attribute/standard/Compression.java,
7974 javax/print/attribute/standard/CopiesSupported.java,
7975 javax/print/attribute/standard/Fidelity.java,
7976 javax/print/attribute/standard/Finishings.java,
7977 javax/print/attribute/standard/JobImpressionsSupported.java,
7978 javax/print/attribute/standard/JobKOctetsSupported.java,
7979 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7980 javax/print/attribute/standard/JobSheets.java,
7981 javax/print/attribute/standard/JobState.java,
7982 javax/print/attribute/standard/JobStateReason.java,
7983 javax/print/attribute/standard/JobStateReasons.java,
7984 javax/print/attribute/standard/Media.java,
7985 javax/print/attribute/standard/MediaSizeName.java,
7986 javax/print/attribute/standard/MultipleDocumentHandling.java,
7987 javax/print/attribute/standard/NumberUpSupported.java,
7988 javax/print/attribute/standard/OrientationRequested.java,
7989 javax/print/attribute/standard/PDLOverrideSupported.java,
7990 javax/print/attribute/standard/PageRanges.java,
7991 javax/print/attribute/standard/PresentationDirection.java,
7992 javax/print/attribute/standard/PrintQuality.java,
7993 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7994 javax/print/attribute/standard/PrinterMoreInfo.java,
7995 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7996 javax/print/attribute/standard/PrinterResolution.java,
7997 javax/print/attribute/standard/PrinterState.java,
7998 javax/print/attribute/standard/PrinterStateReason.java,
7999 javax/print/attribute/standard/PrinterStateReasons.java,
8000 javax/print/attribute/standard/PrinterURI.java,
8001 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8002 javax/print/attribute/standard/Severity.java,
8003 javax/print/attribute/standard/SheetCollate.java,
8004 javax/print/attribute/standard/Sides.java: New files.
8005
8006 2004-05-15 Michael Koch <konqueror@gmx.de>
8007
8008 * javax/print/Doc.java
8009 (getPrintData): Throws IOException.
8010 (getReaderForText): Likewise.
8011 (getStreamForBytes): Likewise.
8012 * javax/print/DocFlavor.java:
8013 Fixed filename in copyright.
8014 (serialVersionUID): New field.
8015 * javax/print/ServiceUIFactory.java:
8016 Made all constants final.
8017 * javax/print/AttributeException.java
8018 javax/print/MultiDoc.java
8019 javax/print/MultiDocPrintJob.java
8020 javax/print/MultiDocPrintService.java
8021 javax/print/StreamPrintService.java
8022 javax/print/URIException.java: New files.
8023 * javax/print/Makefile.am
8024 (EXTRA_DIST): Added all new files.
8025
8026 2004-05-15 Michael Koch <konqueror@gmx.de>
8027
8028 * javax/print/attribute/standard/Copies.java,
8029 javax/print/attribute/standard/DateTimeAtCompleted.java,
8030 javax/print/attribute/standard/DateTimeAtCreation.java,
8031 javax/print/attribute/standard/DateTimeAtProcessing.java,
8032 javax/print/attribute/standard/DocumentName.java,
8033 javax/print/attribute/standard/JobHoldUntil.java,
8034 javax/print/attribute/standard/JobImpressions.java,
8035 javax/print/attribute/standard/JobImpressionsCompleted.java,
8036 javax/print/attribute/standard/JobKOctets.java,
8037 javax/print/attribute/standard/JobKOctetsProcessed.java,
8038 javax/print/attribute/standard/JobMediaSheets.java,
8039 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8040 javax/print/attribute/standard/JobMessageFromOperator.java,
8041 javax/print/attribute/standard/JobName.java,
8042 javax/print/attribute/standard/JobOriginatingUserName.java,
8043 javax/print/attribute/standard/JobPriority.java,
8044 javax/print/attribute/standard/JobPrioritySupported.java,
8045 javax/print/attribute/standard/NumberOfDocuments.java,
8046 javax/print/attribute/standard/NumberOfInterveningJobs.java,
8047 javax/print/attribute/standard/NumberUp.java,
8048 javax/print/attribute/standard/OutputDeviceAssigned.java,
8049 javax/print/attribute/standard/PagesPerMinute.java,
8050 javax/print/attribute/standard/PagesPerMinuteColor.java:
8051 Fixed @return tag all over.
8052
8053 2004-05-15 Michael Koch <konqueror@gmx.de>
8054
8055 * javax/print/attribute/AttributeSetUtilities.java
8056 (verifyCategoryForValue): Fixed typo in javadoc.
8057 * javax/print/attribute/HashAttributeSet.java
8058 (containsKey): Fixed @return tag.
8059 (comtainsValue): Likewise.
8060 (equals): Likewise.
8061 * javax/print/attribute/IntegerSyntax.java
8062 (equals): Likewise.
8063 * javax/print/attribute/ResolutionSyntax.java
8064 (equals): Likewise.
8065 (getCrossFeedResolution): Removed unused code.
8066 (getFeedResolution): Likewise.
8067 * javax/print/attribute/SetOfIntegerSyntax.java
8068 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8069 (equals): Fixed @return tag.
8070 * javax/print/attribute/TextSyntax.java
8071 (TextSyntax): Take locale into account.
8072 (hashCode): Better implementation.
8073
8074 2004-05-15 Michael Koch <konqueror@gmx.de>
8075
8076 * javax/print/CancelablePrintJob.java,
8077 javax/print/Doc.java,
8078 javax/print/DocFlavor.java,
8079 javax/print/DocPrintJob.java,
8080 javax/print/FlavorException.java,
8081 javax/print/PrintException.java,
8082 javax/print/PrintService.java,
8083 javax/print/ServiceUIFactory.java: New files.
8084
8085 2004-05-15 Mark Wielaard <mark@klomp.org>
8086
8087 * gnu/regexp/CharIndexedReader.java: Removed.
8088 * gnu/regexp/REFilterReader.java: Likewise.
8089 * gnu/regexp/RETokenLookAhead.java: Likewise.
8090 * Makefile.am (ordinary_java_source_files): Remove above classes.
8091 * Makefile.in: Regenerated.
8092
8093 2004-05-14 Tom Tromey <tromey@redhat.com>
8094
8095 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8096 not `XGraphicsConfiguration.XOffScreenImage'.
8097
8098 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
8099
8100 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8101
8102 2004-05-14 Steven Augart <augart@watson.ibm.com>
8103
8104 * include/jni.h (_Jv_func): Removed.
8105 (struct JNINativeInterface): Use `void *' for reserved slots.
8106 (struct JNIInvokeInterface): Likewise.
8107
8108 2004-05-11 Michael Koch <konqueror@gmx.de>
8109
8110 * gnu/java/net/natPlainSocketImplPosix.cc
8111 (read): Fixed typo in expression.
8112
8113 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
8114
8115 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8116 ld_library_additions. Adjust all calls to libjava_invoke to match
8117 the new argument.
8118
8119 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8120 path to cxxflagslist.
8121 Pass path of libstdc++ to libjava_invoke.
8122
8123 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8124 libjava_invoke arguments.
8125
8126 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
8127
8128 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8129 reality.
8130
8131 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
8132
8133 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8134 main binary against the JNI shared library.
8135
8136 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8137
8138 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8139 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8140 (SimpleTimeZone): Tweak docs. Add new variation.
8141 (setStartRule,setEndRule): Add new variations. Use
8142 startTimeMode and endTimeMode.
8143
8144 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8145
8146 * java/util/Calendar.java (getActualMinimum,
8147 getActualMaximum): Remove abstract. Implement.
8148
8149 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8150
8151 Run the jni tests using the interpreter.
8152 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8153 options_cxx to shared lib compile command.
8154 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8155 they are used to link the shared lib, not the main binary.
8156 Use libjava_invoke to run gij.
8157
8158 2004-05-06 Michael Koch <konqueror@gmx.de>
8159
8160 * java/util/logging/Level.java
8161 (parse): Use == instead of String.equals().
8162
8163 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8164
8165 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
8166 verify_field_signature and verify_method_signature, not
8167 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8168 (_Jv_ClassReader::handleField): Likewise.
8169 (_Jv_ClassReader::handleMethod): Likewise.
8170
8171 2004-05-06 Michael Koch <konqueror@gmx.de>
8172
8173 * javax/swing/table/TableColumn.java:
8174 Reformated.
8175
8176 2004-05-06 Michael Koch <konqueror@gmx.de>
8177
8178 * javax/imageio/spi/ImageReaderWriterSpi.java
8179 (ImageReaderWriterSpi): Made it public.
8180 * javax/imageio/stream/ImageInputStream.java:
8181 Clean up imports.
8182
8183 2004-05-06 Michael Koch <konqueror@gmx.de>
8184
8185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8186 Removed empty line.
8187
8188 2004-05-06 Michael Koch <konqueror@gmx.de>
8189
8190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8191 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8192 New files.
8193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8194 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8196 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8197 their own source file.
8198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8199 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8200 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8202 (create): Define variable on top of function.
8203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8204 (menu_pos): Prototyped.
8205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8206 (setTitle): Removed.
8207 * jni/gtk-peer/gthread-jni.c
8208 (gdk_threads_wake): Removed.
8209 * Makefile.am (gtk_c_source_files): Added new files
8210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8212 * Makefile.in: Regenerated.
8213
8214 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
8215
8216 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8217 call.
8218
8219 2004-05-05 Mark Wielaard <mark@klomp.org>
8220
8221 * javax/swing/AbstractButton.java: Replace special HTML entities with
8222 ASCII equivalent.
8223 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8224 * javax/swing/DefaultButtonModel.java: Likewise.
8225 * javax/swing/DefaultListModel.java: Likewise.
8226 * javax/swing/JList.java: Likewise.
8227 * javax/swing/JSlider.java: Likewise.
8228 * javax/swing/ListModel.java: Likewise.
8229 * javax/swing/Popup.java: Likewise.
8230 * javax/swing/SwingUtilities.java: Likewise.
8231
8232 2004-05-05 Michael Koch <konqueror@gmx.de>
8233
8234 * javax/swing/AbstractButton.java,
8235 javax/swing/ActionMap.java,
8236 javax/swing/DefaultButtonModel.java,
8237 javax/swing/DefaultListModel.java,
8238 javax/swing/ImageIcon.java,
8239 javax/swing/JComboBox.java,
8240 javax/swing/JComponent.java,
8241 javax/swing/JFrame.java,
8242 javax/swing/JInternalFrame.java,
8243 javax/swing/JMenuBar.java,
8244 javax/swing/JMenuItem.java,
8245 javax/swing/JOptionPane.java,
8246 javax/swing/JProgressBar.java,
8247 javax/swing/JRootPane.java,
8248 javax/swing/JScrollBar.java,
8249 javax/swing/JScrollPane.java,
8250 javax/swing/JSeparator.java,
8251 javax/swing/JSlider.java,
8252 javax/swing/JTabbedPane.java,
8253 javax/swing/JTable.java,
8254 javax/swing/JTextField.java,
8255 javax/swing/JToolBar.java,
8256 javax/swing/JToolTip.java,
8257 javax/swing/JTree.java,
8258 javax/swing/JViewport.java,
8259 javax/swing/JWindow.java,
8260 javax/swing/KeyStroke.java,
8261 javax/swing/LookAndFeel.java,
8262 javax/swing/SwingUtilities.java,
8263 javax/swing/Timer.java,
8264 javax/swing/ToolTipManager.java,
8265 javax/swing/UIDefaults.java,
8266 javax/swing/border/TitledBorder.java,
8267 javax/swing/filechooser/FileSystemView.java,
8268 javax/swing/plaf/basic/BasicButtonListener.java,
8269 javax/swing/plaf/basic/BasicButtonUI.java,
8270 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8271 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8272 javax/swing/plaf/basic/BasicLabelUI.java,
8273 javax/swing/plaf/basic/BasicMenuItemUI.java,
8274 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8275 javax/swing/plaf/basic/BasicRootPaneUI.java,
8276 javax/swing/plaf/basic/BasicScrollBarUI.java,
8277 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8278 javax/swing/plaf/basic/BasicSliderUI.java,
8279 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8280 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8281 javax/swing/table/JTableHeader.java,
8282 javax/swing/text/AbstractDocument.java,
8283 javax/swing/text/DefaultCaret.java,
8284 javax/swing/text/StyledEditorKit.java,
8285 javax/swing/tree/DefaultTreeCellEditor.java:
8286 Cleaned up imports.
8287
8288 2004-05-05 Michael Koch <konqueror@gmx.de>
8289
8290 * java/util/prefs/AbstractPreferences.java
8291 (AbstractPreferences): Added parenthesis for clarity.
8292 Closes classpath bug #7940.
8293
8294 2004-05-05 Tom Tromey <tromey@redhat.com>
8295
8296 * javax/naming/CompoundName.java (endsWith): Look at correct
8297 element of source name.
8298
8299 2004-05-05 Mark Wielaard <mark@klomp.org>
8300
8301 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8302 * java/util/HashMap.java (rehash): Add entry at start of bucket.
8303
8304 2004-05-05 Tom Tromey <tromey@redhat.com>
8305
8306 * java/io/BufferedReader.java (skip): Removed unused
8307 variable.
8308
8309 2004-05-05 Michael Koch <konqueror@gmx.de>
8310
8311 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8312
8313 2004-05-05 Dalibor Topic <robilad@kaffe.org>
8314
8315 * java/text/AttributedString.java,
8316 java/text/AttributedStringIterator.java,
8317 java/text/Collator.java,
8318 java/text/DecimalFormatSymbols.java,
8319 java/text/NumberFormat.java,
8320 java/text/RuleBasedCollator.java:
8321 Cleaned up imports.
8322
8323 2004-05-05 Tom Tromey <tromey@redhat.com>
8324
8325 * java/text/Format.java: Cleaned up imports.
8326 * java/text/DecimalFormat.java: Cleaned up imports.
8327 * java/security/SecureRandom.java: Cleaned up imports.
8328 (SecureRandom): Removed unused variable.
8329 * java/security/UnresolvedPermission.java: Cleaned up imports.
8330 * java/util/Date.java (parse): Removed unused variable.
8331 * java/util/ResourceBundle.java: Cleaned up imports.
8332 (getBundle): Removed unused variable.
8333 (tryBundle): Likewise.
8334 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8335
8336 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8337
8338 * java/text/SimpleDateFormat.java:
8339 (formatWithAttribute): New method. It implements
8340 the formatting process with attributes.
8341 (format): Use formatWithAttribute.
8342 (formatToCharacterIterator): New method. Use
8343 formatWithAttribute.
8344
8345 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8346
8347 * java/text/MessageFormat.java:
8348 (class Field): New class.
8349 (formatToCharacterIterator): New method.
8350 (format): Use formatInternal now.
8351 (formatInternal): New method. String formatter should
8352 be done here (with attributes). Attributes merging supported.
8353 (parse): More documentation.
8354 (getFormatsByArgumentIndex): New method.
8355 (setFormatByArgumentIndex): New method.
8356 (setFormatsByArgumentIndex): New method.
8357
8358 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8359
8360 * java/text/DecimalFormat.java
8361 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8362 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8363 (parse): Fixed handling of exponentiation notation and grouping.
8364
8365 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8366
8367 * java/text/DecimalFormat.java
8368 (scanFix): Build attribute array. Fixed error reporting.
8369 (applyPatternWithSymbols): Store attributes for the prefix and
8370 suffix.
8371 (formatInternal): New method. Changed the way the string is
8372 computed. Implemented attributes. Cleant up rounding in
8373 exponential notation.
8374 (format): Use formatInternal.
8375 (formatToCharacterIterator): New method.
8376 (exponentRound, negativePrefixRanges, positivePrefixRanges,
8377 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8378 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8379 New fields.
8380
8381 2004-05-04 Dalibor Topic <robilad@kaffe.org>
8382
8383 * java/security/interfaces/DSAKeyPairGenerator.java,
8384 java/security/interfaces/DSAPrivateKey.java,
8385 java/security/interfaces/DSAPublicKey.java,
8386 java/security/interfaces/RSAPrivateKey.java,
8387 java/security/interfaces/RSAPublicKey.java:
8388 Cleaned up imports.
8389
8390 2004-05-04 Michael Koch <konqueror@gmx.de>
8391
8392 * java/nio/ByteBuffer.java,
8393 java/nio/CharBuffer.java,
8394 java/nio/DoubleBuffer.java,
8395 java/nio/FloatBuffer.java,
8396 java/nio/IntBuffer.java,
8397 java/nio/LongBuffer.java,
8398 java/nio/ShortBuffer.java:
8399 (compareTo): Fixed bogus implementation in all buffer classes.
8400
8401 2004-05-04 Ingo Proetel <proetel@aicas.com>
8402
8403 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8404 32 bit pixels not 8 bit pixels.
8405 (isCompatibleRaster): Added javadoc comment.
8406
8407 2004-05-04 Ingo Proetel <proetel@aicas.com>
8408
8409 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8410 scanline stride.
8411
8412 2004-05-04 Ingo Proetel <proetel@aicas.com>
8413
8414 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8415 (getColorModel): Return the actual color model.
8416 (getRaster): Implemented.
8417 (ColorRaster): New inner class.
8418 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8419 a PaintContext.
8420 * java/awt/Color.java (<init>): Make exception more verbose.
8421 (createContext): Use ColorModel when creating a PaintContext.
8422
8423 2004-05-04 Michael Koch <konqueror@gmx.de>
8424
8425 * gnu/java/text/CharacterBreakIterator.java
8426 (previous): Removed unused variable.
8427
8428 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8429
8430 * gnu/java/text/FormatBuffer.java,
8431 gnu/java/text/AttributedFormatBuffer.java,
8432 gnu/java/text/StringFormatBuffer.java: New classes to implement
8433 attributed iterators in java.text.
8434 * gnu/java/text/FormatCharacterIterator.java: Moved
8435 from java/text as it is an internal class.
8436 * java/text/FormatCharacterIterator.java: Removed.
8437 * java/text/Format.java:
8438 Import gnu.java.text.FormatCharacterIterator.
8439 * Makefile.am (java_source_files): Added new files.
8440 * Makefile.in: Regenerated.
8441
8442
8443 2004-05-04 Mark Wielaard <mark@klomp.org>
8444
8445 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8446
8447 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8448
8449 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8450 * Makefile.in: Rebuilt.
8451
8452 2004-05-03 Mark Wielaard <mark@klomp.org>
8453
8454 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8455 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8456 * java/net/URL.java
8457 (set(String, String, int, String, String, String, String, String)):
8458 Assign this.file to path or path + "?" + query.
8459 * java/util/Arrays.java: Call static methods staticly.
8460 * java/util/zip/ZipEntry.java: Likewise.
8461 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8462 dir to this.direction.
8463 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8464 Assign static field only once.
8465 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8466
8467 2004-05-03 Mark Wielaard <mark@klomp.org>
8468
8469 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8470 unused variables hScrollbarHeight and vScrollbarWidth.
8471 (preferredSize): Likewise.
8472 * gnu/java/security/provider/DSAParameters.java (engineToString):
8473 Removed unused call to System.getProperty("line.seperator");
8474 * java/security/Security.java (loadProviders): Return result.
8475
8476 2004-05-03 Tom Tromey <tromey@redhat.com>
8477
8478 * java/net/URLStreamHandler.java (toExternalForm): Removed
8479 unused variables.
8480 unused constructor.
8481 * java/math/BigDecimal.java (divide): Removed unused variable.
8482 * java/lang/Throwable.java: Cleaned up imports.
8483 * java/lang/ClassLoader.java: Cleaned up imports.
8484 * java/io/FilePermission.java (implies): Removed unused
8485 variable.
8486 * java/awt/TextComponent.java: Removed unused import.
8487 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8488 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8489 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8490 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8491 import.
8492 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8493 * gnu/java/text/CharacterBreakIterator.java: Removed
8494 unused import.
8495 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8496 Cleaned up imports.
8497 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8498 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8499 unused method.
8500 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8501 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8502 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8503 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8504 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8505 (lookupProviders): Removed unused variable.
8506 (loadNextServiceProvider): Likewise.
8507 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8508
8509 2004-05-03 Michael Koch <konqueror@gmx.de>
8510
8511 Fixes PR libgcj/14695:
8512 * java/net/NetworkInterface.java
8513 (getByName): Return null when no interface was found.
8514
8515 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8516 Tom Tromey <tromey@redhat.com>
8517
8518 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8519 additional option "-Wmissing-prototypes" for compiling C sources.
8520 Print actual filename for pass/fail rather than $name.c.
8521 * testsuite/libjava.jni/PR15133.java: New testcase file.
8522 * testsuite/libjava.jni/PR15133.c: Likewise.
8523 * testsuite/libjava.jni/PR15133.out: Likewise.
8524
8525 2004-04-30 Roger Sayle <roger@eyesopen.com>
8526
8527 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8528 ceil and floor.
8529
8530 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8531
8532 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8533 limit the maximum heap size to avoid unnecessary thrashing.
8534
8535 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8536
8537 * java/text/CollationElementIterator.java (reset): Reset
8538 lookahead variables.
8539
8540 2004-04-23 Mark Wielaard <mark@klomp.org>
8541
8542 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8543
8544 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8545
8546 * java/sql/DriverManager.java:
8547 Cleaned up imports.
8548
8549 2004-04-23 Michael Koch <konqueror@gmx.de>
8550
8551 * java/net/URL.java
8552 (hashcode): Don't initialize with default value explicitely.
8553 (getContent): Removed redundant "final" keyword.
8554 (openStream): Likewise.
8555 (getURLStreamHandler): Fixed coding style.
8556 * java/net/URLConnection.java
8557 (defaultAllowUserInteraction): Don't initialize with default value
8558 explicitely.
8559 (connected): Likewise.
8560 (doOutput): Likewise.
8561 (ifModifiedSince): Likewise.
8562 (dateformats_initialized): Likewise.
8563 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8564
8565 2004-04-23 Michael Koch <konqueror@gmx.de>
8566
8567 * gnu/java/nio/channels/FileChannelImpl.java
8568 (SET, CUR): Unused, removed.
8569 (read): Implement here directly.
8570 (implRead): Removed.
8571 (write): Implement here directly.
8572 (implWrite): Removed.
8573
8574 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8575
8576 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8577 javax/rmi/CORBA/Stub.java,
8578 javax/rmi/CORBA/Util.java,
8579 javax/rmi/CORBA/ValueHandler.java,
8580 javax/rmi/CORBA/ValueHandler.java,
8581 javax/rmi/PortableRemoteObject.java:
8582 Cleaned up imports.
8583
8584 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8585
8586 * java/util/jar/JarFile.java,
8587 java/util/jar/JarInputStream.java,
8588 java/util/jar/JarOutputStream.java,
8589 java/util/jar/Manifest.java:
8590 Cleaned up imports.
8591
8592 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8593
8594 * java/util/ArrayList.java,
8595 java/util/Calendar.java,
8596 java/util/Currency.java,
8597 java/util/HashMap.java,
8598 java/util/HashSet.java,
8599 java/util/Hashtable.java,
8600 java/util/LinkedList.java,
8601 java/util/Properties.java,
8602 java/util/PropertyPermission.java,
8603 java/util/TimeZone.java,
8604 java/util/TreeMap.java,
8605 java/util/TreeSet.java,
8606 java/util/Vector.java,
8607 java/util/WeakHashMap.java:
8608 Cleaned up imports.
8609
8610 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8611
8612 * java/util/logging/FileHandler.java,
8613 java/util/logging/Formatter.java,
8614 java/util/logging/Handler.java,
8615 java/util/logging/Logger.java,
8616 java/util/logging/SimpleFormatter.java,
8617 java/util/logging/XMLFormatter.java:
8618 Cleaned up imports.
8619
8620 2004-04-22 Mark Wielaard <mark@klomp.org>
8621
8622 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8623 -Wno-long-long flags variable.
8624 (gtk_c_files): Use PEDANTIC_CFLAGS.
8625 * Makefile.in: Regenerated.
8626
8627 2004-04-22 Mark Wielaard <mark@klomp.org>
8628
8629 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8630 Changed C++ comments into C comments.
8631 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8632 Likewise.
8633
8634 2004-04-22 Michael Koch <konqueror@gmx.de>
8635
8636 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8637 Merged copyright year with GNU classpath.
8638
8639 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8640
8641 * javax/security/auth/x500/X500Principal.java:
8642 Cleaned up imports.
8643
8644 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8645
8646 * javax/swing/JSlider.java:
8647 Fixed HTML tags in comments.
8648
8649 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8650
8651 * javax/accessibility/AccessibleText.java:
8652 Cleaned up imports.
8653
8654 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8655
8656 * java/net/URLStreamHandler.java
8657 (parseURL): Convert the file path to using '/' instead of native
8658 file separator.
8659
8660 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8661
8662 * java/net/URL.java
8663 (userInfo): New field.
8664 (URL): Set authority to the right value.
8665 (setURL): Fixed authority and file initialization.
8666 * java/net/URLStreamHandler.java
8667 (parseURL): Take care of the query tag. Build authority.
8668 (toExternalForm): Fixed URL building using authority.
8669
8670 2004-04-22 Michael Koch <konqueror@gmx.de>
8671
8672 * java/net/Socket.java
8673 (impl): Made package-private.
8674 * java/net/ServerSocket.java
8675 (implAccept): Access Socket.impl field directly.
8676
8677 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8678
8679 * java/util/prefs/Preferences.java,
8680 java/util/prefs/InvalidPreferencesFormatException.java,
8681 java/util/prefs/BackingStoreException.java,
8682 java/util/prefs/AbstractPreferences.java:
8683 Cleaned up imports.
8684
8685 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8686
8687 * java/util/regex/Matcher.java,
8688 java/util/regex/Pattern.java:
8689 Cleaned up imports.
8690
8691 2004-04-22 Michael Koch <konqueror@gmx.de>
8692
8693 * java/nio/charset/IllegalCharsetNameException.java
8694 (charsetName): Made private.
8695 (IllegalCharsetNameException): Added @param tag to javadoc.
8696 (getCharsetName): Added @return tag to javadoc.
8697 * java/nio/charset/MalformedInputException.java
8698 (MalformedInputException): Added @param tag to javadoc.
8699 (getInputLength): Revised method description, added @return tag.
8700 (getMessage): Added @return tag.
8701
8702 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8703
8704 * java/awt/Font.java (deriveFont): Implement missing variants.
8705 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8706 missing variants.
8707
8708 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8709
8710 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8711 Set method->index values for interface methods to their itable index.
8712 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8713
8714 2004-04-21 Michael Koch <konqueror@gmx.de>
8715
8716 * java/nio/DirectByteBufferImpl.java
8717 (shiftDown): Made static, give address as argument and
8718 provide a convenience method that overwrites shiftDown in
8719 ByteBufferImpl and calls the native shiftDown.
8720 * java/nio/MappedByteBufferImpl.java
8721 (): Use optimized method in DirectByteBufferImpl.
8722 * java/nio/natDirectByteBufferImpl.cc
8723 (shiftDown): Changed method signature. Removed usage of array_offset.
8724
8725 2004-04-21 Michael Koch <konqueror@gmx.de>
8726
8727 * gnu/java/net/natPlainSocketImplPosix.cc
8728 (SocketInputStream::read): Make sure returned data is a byte value.
8729
8730 2004-04-21 Michael Koch <konqueror@gmx.de>
8731
8732 * gnu/classpath/ServiceFactory.java,
8733 gnu/classpath/ServiceProviderLoadingAction.java,
8734 javax/imageio/ImageReader.java,
8735 javax/imageio/ImageTranscoder.java,
8736 javax/imageio/ImageWriter.java,
8737 javax/imageio/package.html,
8738 javax/imageio/spi/IIOServiceProvider.java,
8739 javax/imageio/spi/ImageInputStreamSpi.java,
8740 javax/imageio/spi/ImageOutputStreamSpi.java,
8741 javax/imageio/spi/ImageReaderWriterSpi.java,
8742 javax/imageio/spi/ImageTranscoderSpi.java,
8743 javax/imageio/spi/RegisterableService.java,
8744 javax/imageio/spi/ServiceRegistry.java,
8745 javax/imageio/spi/package.html,
8746 javax/imageio/stream/IIOByteBuffer.java,
8747 javax/imageio/stream/ImageInputStream.java,
8748 javax/imageio/stream/ImageOutputStream.java,
8749 javax/imageio/stream/package.html:
8750 New files.
8751 * Makefile.am
8752 (ordinary_java_source_files): Added
8753 gnu/classpath/ServiceFactory.java and
8754 gnu/classpath/ServiceProviderLoadingAction.java.
8755 (javax_source_files): Added
8756 javax/imageio/ImageReader.java,
8757 javax/imageio/ImageTranscoder.java,
8758 javax/imageio/ImageWriter.java,
8759 javax/imageio/spi/IIOServiceProvider.java,
8760 javax/imageio/spi/ImageInputStreamSpi.java,
8761 javax/imageio/spi/ImageOutputStreamSpi.java,
8762 javax/imageio/spi/ImageReaderWriterSpi.java,
8763 javax/imageio/spi/ImageTranscoderSpi.java,
8764 javax/imageio/spi/RegisterableService.java,
8765 javax/imageio/spi/ServiceRegistry.java,
8766 javax/imageio/stream/IIOByteBuffer.java,
8767 javax/imageio/stream/ImageInputStream.java and
8768 javax/imageio/stream/ImageOutputStream.java.
8769 * Makefile.in: Regenerated.
8770
8771 2004-04-21 Michael Koch <konqueror@gmx.de>
8772
8773 * java/util/Properties.java
8774 (load): Fix wrongly merged fix.
8775
8776 2004-04-21 Mark Wielaard <mark@klomp.org>
8777
8778 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8779 malloc and free buf.
8780
8781 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8782
8783 * javax/naming/AuthenticationException.java,
8784 javax/naming/AuthenticationNotSupportedException.java,
8785 javax/naming/CannotProceedException.java,
8786 javax/naming/CommunicationException.java,
8787 javax/naming/CompoundName.java,
8788 javax/naming/ConfigurationException.java,
8789 javax/naming/ContextNotEmptyException.java,
8790 javax/naming/InitialContext.java,
8791 javax/naming/InsufficientResourcesException.java,
8792 javax/naming/InterruptedNamingException.java,
8793 javax/naming/LimitExceededException.java,
8794 javax/naming/LinkException.java,
8795 javax/naming/LinkLoopException.java,
8796 javax/naming/LinkRef.java,
8797 javax/naming/MalformedLinkException.java,
8798 javax/naming/Name.java,
8799 javax/naming/NameAlreadyBoundException.java,
8800 javax/naming/NameNotFoundException.java,
8801 javax/naming/NamingSecurityException.java,
8802 javax/naming/NoInitialContextException.java,
8803 javax/naming/NoPermissionException.java,
8804 javax/naming/NotContextException.java,
8805 javax/naming/PartialResultException.java,
8806 javax/naming/ReferralException.java,
8807 javax/naming/ServiceUnavailableException.java,
8808 javax/naming/SizeLimitExceededException.java,
8809 javax/naming/TimeLimitExceededException.java,
8810 javax/naming/directory/Attribute.java,
8811 javax/naming/directory/Attributes.java,
8812 javax/naming/directory/SearchResult.java,
8813 javax/naming/event/NamingExceptionEvent.java,
8814 javax/naming/spi/ResolveResult.java:
8815 Cleaned up imports.
8816
8817 2004-04-21 Mark Wielaard <mark@klomp.org>
8818
8819 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8820 Changed C++ comments into C comments. Removed commented out code.
8821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8822 Likewise.
8823 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8824 Likewise.
8825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8826 Likewise.
8827 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8828 Likewise.
8829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8830 Likewise.
8831 * native/jni/gtk-peer/gthread-jni.c:
8832 Likewise.
8833
8834 2004-04-21 Mark Wielaard <mark@klomp.org>
8835
8836 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8837 static fields defined in interface.
8838 * javax/awt/JDialog.java: Likewise.
8839 (JDialog): Make constructors public.
8840 (getDefaultCloseOperation): Make public.
8841 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8842 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8843 * javax/swing/JViewport.java (JViewport): Make constructor public.
8844
8845 2004-04-21 Michael Koch <konqueror@gmx.de>
8846
8847 * java/util/Map.java
8848 (Entry): Removed redundant "static" modifier.
8849 * java/text/AttributedCharacterIterator.java:
8850 Updated copyright year.
8851
8852 2004-04-20 Michael Koch <konqueror@gmx.de>
8853
8854 * javax/naming/directory/SearchControls.java:
8855 Don't explicitely extend java.lang.Object.
8856 * javax/naming/spi/DirStateFactory.java:
8857 Merged copyright year with GNU classpath.
8858
8859 2004-04-20 Michael Koch <konqueror@gmx.de>
8860
8861 * java/nio/channels/Channels.java:
8862 Merged coding style with GNU classpath.
8863
8864 2004-04-20 Michael Koch <konqueror@gmx.de>
8865
8866 * java/net/ServerSocket.java
8867 Merged coding style from GNU classpath.
8868
8869 2004-04-20 Michael Koch <konqueror@gmx.de>
8870
8871 * java/io/BufferedWriter.java:
8872 Reordered variables to be at top of the class.
8873 (localFlush): Removed redundant final keyword.
8874
8875 2004-04-20 Ingo Proetel <proetel@aicas.com>
8876
8877 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8878
8879 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8880
8881 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8882 for percent and permill check.
8883
8884 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8885
8886 * java/text/FieldPosition.java
8887 (FieldPosition) Constructor now behaves as it should according
8888 to the java documentation.
8889
8890 2004-04-20 Mark Wielaard <mark@klomp.org>
8891
8892 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8893 documentation.
8894
8895 2004-04-20 Michael Koch <konqueror@gmx.de>
8896
8897 * java/nio/Buffer.java,
8898 java/nio/channels/AlreadyConnectedException.java,
8899 java/nio/channels/AsynchronousCloseException.java,
8900 java/nio/channels/ByteChannel.java,
8901 java/nio/channels/CancelledKeyException.java,
8902 java/nio/channels/Channel.java,
8903 java/nio/channels/Channels.java,
8904 java/nio/channels/ClosedByInterruptException.java,
8905 java/nio/channels/ClosedChannelException.java,
8906 java/nio/channels/ClosedSelectorException.java,
8907 java/nio/channels/ConnectionPendingException.java,
8908 java/nio/channels/DatagramChannel.java,
8909 java/nio/channels/FileChannel.java,
8910 java/nio/channels/FileLock.java,
8911 java/nio/channels/FileLockInterruptionException.java,
8912 java/nio/channels/GatheringByteChannel.java,
8913 java/nio/channels/IllegalBlockingModeException.java,
8914 java/nio/channels/IllegalSelectorException.java,
8915 java/nio/channels/InterruptibleChannel.java,
8916 java/nio/channels/NoConnectionPendingException.java,
8917 java/nio/channels/NonReadableChannelException.java,
8918 java/nio/channels/NonWritableChannelException.java,
8919 java/nio/channels/NotYetBoundException.java,
8920 java/nio/channels/NotYetConnectedException.java,
8921 java/nio/channels/OverlappingFileLockException.java,
8922 java/nio/channels/Pipe.java,
8923 java/nio/channels/ReadableByteChannel.java,
8924 java/nio/channels/ScatteringByteChannel.java,
8925 java/nio/channels/SelectableChannel.java,
8926 java/nio/channels/SelectionKey.java,
8927 java/nio/channels/Selector.java,
8928 java/nio/channels/ServerSocketChannel.java,
8929 java/nio/channels/SocketChannel.java,
8930 java/nio/channels/UnresolvedAddressException.java,
8931 java/nio/channels/UnsupportedAddressTypeException.java,
8932 java/nio/channels/WritableByteChannel.java,
8933 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8934 java/nio/channels/spi/AbstractSelectableChannel.java,
8935 java/nio/channels/spi/AbstractSelectionKey.java,
8936 java/nio/channels/spi/AbstractSelector.java,
8937 java/nio/channels/spi/SelectorProvider.java,
8938 java/nio/charset/spi/CharsetProvider.java:
8939 Fixed javadocs and jalopied all over java.nio.
8940
8941 2004-04-20 Michael Koch <konqueror@gmx.de>
8942
8943 * java/nio/ByteBufferImpl.java,
8944 java/nio/CharBufferImpl.java,
8945 java/nio/DirectByteBufferImpl.java,
8946 java/nio/DoubleBufferImpl.java,
8947 java/nio/DoubleViewBufferImpl.java,
8948 java/nio/FloatBufferImpl.java,
8949 java/nio/FloatViewBufferImpl.java,
8950 java/nio/IntBufferImpl.java,
8951 java/nio/IntViewBufferImpl.java,
8952 java/nio/LongBufferImpl.java,
8953 java/nio/LongViewBufferImpl.java,
8954 java/nio/MappedByteBufferImpl.java,
8955 java/nio/ShortBufferImpl.java,
8956 java/nio/ShortViewBufferImpl.java:
8957 Made sure all classes are final and removed final keyword from all
8958 methods.
8959
8960 2004-04-20 Michael Koch <konqueror@gmx.de>
8961
8962 * java/rmi/MarshalledObject.java,
8963 java/rmi/Naming.java,
8964 java/rmi/RemoteException.java,
8965 java/rmi/activation/ActivationException.java,
8966 java/rmi/server/ServerCloneException.java,
8967 java/security/AccessController.java,
8968 java/security/AlgorithmParameterGenerator.java,
8969 java/security/AlgorithmParameters.java,
8970 java/security/CodeSource.java,
8971 java/security/Identity.java,
8972 java/security/IdentityScope.java,
8973 java/security/KeyPairGenerator.java,
8974 java/security/KeyStore.java,
8975 java/security/Security.java,
8976 java/security/Signature.java,
8977 java/security/SignatureSpi.java,
8978 java/security/SignedObject.java,
8979 java/security/spec/DSAParameterSpec.java,
8980 java/security/spec/DSAPrivateKeySpec.java,
8981 java/security/spec/DSAPublicKeySpec.java,
8982 java/sql/Array.java,
8983 java/sql/DatabaseMetaData.java,
8984 java/sql/ResultSet.java,
8985 java/text/ChoiceFormat.java,
8986 java/text/CollationElementIterator.java,
8987 java/text/CollationKey.java,
8988 java/text/Collator.java,
8989 java/text/DateFormat.java,
8990 java/text/DateFormatSymbols.java,
8991 java/text/DecimalFormatSymbols.java,
8992 java/text/Format.java,
8993 java/text/ParsePosition.java,
8994 java/text/RuleBasedCollator.java,
8995 java/text/SimpleDateFormat.java,
8996 java/text/StringCharacterIterator.java,
8997 java/util/Collections.java,
8998 java/util/PropertyResourceBundle.java,
8999 java/util/ResourceBundle.java,
9000 java/util/StringTokenizer.java,
9001 java/util/jar/Attributes.java,
9002 java/util/logging/ConsoleHandler.java,
9003 java/util/logging/LogManager.java,
9004 java/util/logging/MemoryHandler.java,
9005 java/util/logging/SocketHandler.java,
9006 javax/naming/NamingException.java:
9007 Fixed javadoc, coding style and argument names all over.
9008
9009 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
9010
9011 * java/io/FileDescriptor.java: (FileDescriptor) Added public
9012 constructor. (valid) Added null check.
9013
9014 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
9015
9016 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
9017 * java/io/FileOutputStream.java
9018 (FileOutputStream) Reorganized constructors. Constructors now
9019 check whether the given path is directory.
9020
9021 2004-04-20 Michael Koch <konqueror@gmx.de>
9022
9023 * java/net/Authenticator.java,
9024 java/net/BindException.java,
9025 java/net/ConnectException.java,
9026 java/net/ContentHandler.java,
9027 java/net/ContentHandlerFactory.java,
9028 java/net/DatagramPacket.java,
9029 java/net/DatagramSocket.java,
9030 java/net/DatagramSocketImpl.java,
9031 java/net/DatagramSocketImplFactory.java,
9032 java/net/FileNameMap.java,
9033 java/net/HttpURLConnection.java,
9034 java/net/Inet4Address.java,
9035 java/net/Inet6Address.java,
9036 java/net/InetAddress.java,
9037 java/net/InetSocketAddress.java,
9038 java/net/JarURLConnection.java,
9039 java/net/MalformedURLException.java,
9040 java/net/MulticastSocket.java,
9041 java/net/NetPermission.java,
9042 java/net/NetworkInterface.java,
9043 java/net/NoRouteToHostException.java,
9044 java/net/PasswordAuthentication.java,
9045 java/net/PortUnreachableException.java,
9046 java/net/ProtocolException.java,
9047 java/net/ServerSocket.java,
9048 java/net/Socket.java,
9049 java/net/SocketAddress.java,
9050 java/net/SocketException.java,
9051 java/net/SocketImpl.java,
9052 java/net/SocketImplFactory.java,
9053 java/net/SocketOptions.java,
9054 java/net/SocketPermission.java,
9055 java/net/SocketTimeoutException.java,
9056 java/net/URI.java,
9057 java/net/URISyntaxException.java,
9058 java/net/URL.java,
9059 java/net/URLClassLoader.java,
9060 java/net/URLConnection.java,
9061 java/net/URLDecoder.java,
9062 java/net/URLEncoder.java,
9063 java/net/URLStreamHandler.java,
9064 java/net/URLStreamHandlerFactory.java,
9065 java/net/UnknownHostException.java,
9066 java/net/UnknownServiceException.java:
9067 Fixed javadocs, coding style and argument names all over.
9068
9069 2004-04-20 Michael Koch <konqueror@gmx.de>
9070
9071 * java/lang/Byte.java,
9072 java/lang/CharSequence.java,
9073 java/lang/ClassLoader.java,
9074 java/lang/Compiler.java,
9075 java/lang/Double.java,
9076 java/lang/Float.java,
9077 java/lang/Integer.java,
9078 java/lang/Long.java,
9079 java/lang/Math.java,
9080 java/lang/Number.java,
9081 java/lang/Package.java,
9082 java/lang/Runtime.java,
9083 java/lang/RuntimePermission.java,
9084 java/lang/SecurityManager.java,
9085 java/lang/Short.java,
9086 java/lang/StringBuffer.java,
9087 java/lang/System.java,
9088 java/lang/ThreadGroup.java,
9089 java/lang/Throwable.java,
9090 java/lang/reflect/InvocationHandler.java,
9091 java/lang/reflect/Proxy.java:
9092 Fixed javadocs, coding style and argument names all over.
9093
9094 2004-04-20 Michael Koch <konqueror@gmx.de>
9095
9096 * java/io/BufferedWriter.java,
9097 java/io/ByteArrayInputStream.java,
9098 java/io/CharArrayWriter.java,
9099 java/io/DataInput.java,
9100 java/io/DataInputStream.java,
9101 java/io/File.java,
9102 java/io/FilterInputStream.java,
9103 java/io/InputStream.java,
9104 java/io/InputStreamReader.java,
9105 java/io/ObjectInputStream.java,
9106 java/io/ObjectStreamClass.java,
9107 java/io/PipedInputStream.java,
9108 java/io/PipedReader.java,
9109 java/io/PushbackInputStream.java,
9110 java/io/PushbackReader.java,
9111 java/io/RandomAccessFile.java,
9112 java/io/SerializablePermission.java,
9113 java/io/StreamTokenizer.java,
9114 java/io/StringWriter.java,
9115 java/io/WriteAbortedException.java,
9116 java/io/Writer.java:
9117 Fixed javadocs all over, rename arguments to match javadocs,
9118 fixed coding style.
9119
9120 2004-04-20 Ingo Proetel <proetel@aicas.com>
9121
9122 * java/awt/FontMetrics.java:
9123 (charsWidth): fixed accumulation of total_width
9124 (getWidth): simple default implementation
9125 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9126 in Rectangle constructor.
9127 * java/awt/image/Raster.java (toString): Added method.
9128 * java/awt/image/SampleModel.java (<init>): Added error cause
9129 information to thrown exception.
9130 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9131 New method.
9132 (setDataElements): New method.
9133 (setPixels): New method.
9134 (toString): New method.
9135
9136 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9137
9138 * java/awt/image/ComponentColorModel.java
9139 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9140 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9141 Mauve tests on this method. Improved documentation.
9142
9143 2004-04-20 Michael Koch <konqueror@gmx.de>
9144
9145 * javax/swing/JLayeredPane.java,
9146 javax/swing/plaf/BorderUIResource.java,
9147 javax/swing/plaf/ComponentUI.java,
9148 javax/swing/undo/CompoundEdit.java,
9149 javax/swing/undo/StateEdit.java:
9150 Fixed HTML tags in javadocs all over.
9151
9152 2004-04-20 Michael Koch <konqueror@gmx.de>
9153
9154 * javax/print/attribute/EnumSyntax.java
9155 (getOffset): Made protected.
9156 * javax/print/attribute/HashAttributeSet.java
9157 (HashAttributeSet): Likewise.
9158 * javax/print/attribute/ResolutionSyntax.java
9159 (getFeedResolution): Fixed typo in exception name.
9160 (getCrossFeedResolution): Likewise.
9161 * javax/print/attribute/SetOfIntegerSyntax.java
9162 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9163 * javax/print/attribute/TextSyntax.java
9164 (TextSyntax): Handle locale correctly.
9165 (hashCode): Calc better hashcode value.
9166 (equals): Fixed @return tag.
9167 (toString): New method.
9168
9169 2004-04-20 Michael Koch <konqueror@gmx.de>
9170
9171 * gnu/java/nio/FileLockImpl.java
9172 (static): Removed, not needed anymore.
9173 * gnu/java/nio/channels/FileChannelImpl.java
9174 (FileChannelImpl): Made final.
9175 (mode): Made private.
9176 (READ, WRITE, APPEND): Made public.
9177 (EXCL, SYNC, DSYNC): Likewise.
9178 (static): Load native JNI library, when needed.
9179 (length): Unused, removed.
9180 (available): Made public.
9181 (implPosition): Throws IOException.
9182 (seek): Likewise.
9183 (implTruncate): Likewise.
9184 (unlock): Likewise.
9185 (lock): Likewise.
9186
9187 2004-04-20 Michael Koch <konqueror@gmx.de>
9188
9189 * java/awt/AWTPermission.java,
9190 java/awt/Component.java,
9191 java/awt/ComponentOrientation.java,,
9192 java/awt/Dialog.java,
9193 java/awt/FontMetrics.java,
9194 java/awt/Graphics.java,
9195 java/awt/datatransfer/DataFlavor.java,
9196 java/beans/Introspector.java,
9197 java/beans/PropertyEditor.java,
9198 java/beans/PropertyEditorManager.java,
9199 java/beans/beancontext/BeanContextServiceProvider.java:
9200 Fixed HTML tags in javadocs all over.
9201
9202 2004-04-20 Mark Wielaard <mark@klomp.org>
9203
9204 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9205 MissingResourceException is thrown.
9206 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9207 null when a MissingResourceException is thrown. Should never happen.
9208
9209 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9210
9211 * java/awt/image/DataBufferShort.java,
9212 java/awt/image/DataBufferFloat.java,
9213 java/awt/image/DataBufferDouble.java,
9214 java/awt/image/PixelInterleavedSampleModel.java: New files.
9215 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9216 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9217
9218 2004-04-20 Michael Koch <konqueror@gmx.de>
9219
9220 * Makefile.am (java_source_files): Added
9221 java/awt/image/DataBufferDouble.java,
9222 java/awt/image/DataBufferFloat.java,
9223 java/awt/image/DataBufferShort.java and
9224 java/awt/image/PixelInterleavedSampleModel.java.
9225 * Makefile.in: Regenerated.
9226
9227 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
9228
9229 * gcj/cni.h (JvAllocObject): Remove these obsolete,
9230 undocumented CNI calls.
9231 * include/java-interp.h (_Jv_InterpClass): No longer
9232 extends java.lang.Class.
9233 * java/lang/Class.h (Class): Add new field `aux_info'.
9234 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9235 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9236 Use Class->aux_info instead.
9237 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9238 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9239 Use Class->aux_info instead.
9240 * java/io/natObjectInputStream.cc (allocateObject): Use
9241 _Jv_AllocObject.
9242 * java/lang/natClass.cc (newInstance): Likewise.
9243 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9244 * java/lang/natObject.cc (clone): Likewise.
9245 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9246 * java/lang/natVMClassLoader.cc (defineClass): Don't use
9247 JvAllocObject. Allocate klass->aux_info here for interpreted
9248 class.
9249
9250 2004-04-17 Mark Wielaard <mark@klomp.org>
9251
9252 * javax/swing/JToggleButton.java (ToggleButtonModel):
9253 Make public static inner class.
9254 * javax/swing/JTabbedPane.java (setComponentAt):
9255 Call Page.setComponent().
9256 (SCROLL_TAB_LAYOUT): Make public, value is 1.
9257 (WRAP_TAB_LAYOUT): Make public, value is 0.
9258 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9259 Make private static inner class.
9260
9261 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
9262
9263 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9264 arguments to match new signature. Remove FIXME comments.
9265
9266 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
9267
9268 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9269 Remove method.
9270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9271 unused code.
9272
9273 2004-04-02 Olga Rodimina <rodimina@redhat.com>
9274
9275 * Makefile.am: Added new file.
9276 * Makefile.in: Regenerate.
9277 * javax/swing/ImageIcon.java:
9278 (ImageIcon(file)): set description of the icon
9279 to the file name
9280 * javax/swing/JCheckBoxMenuItem.java:
9281 Mostly Implemented. Work in progress.
9282 * javax/swing/JRadioButtonMenuItem.java:
9283 Reimplement constructors to use JToggleButtonModel.
9284 * javax/swing/plaf/basic/BasicIconFactory.java:
9285 (getCheckBoxMenuItemIcon): return check box
9286 icon.
9287 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9288 paint menu item selected only when it is armed and
9289 pressed.
9290
9291 2004-04-02 David Jee <djee@redhat.com>
9292
9293 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9294 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9295 * java/awt/Component.java
9296 (add): Set the parent of the popup as this component.
9297 * java/awt/PopupMenu.java
9298 (addNotify): Create popup menu when peer is null.
9299 (show): Call addNotify() if peer is null.
9300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9301 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9302 argument for gtk_menu_popup() as zero. This causes the popup menu to
9303 respond to any mouse button.
9304
9305 2004-03-31 Olga Rodimina <rodimina@redhat.com>
9306
9307 * Makefile.am: Added new file.
9308 * Makefile.in: Regenerate.
9309 * javax/swing/JRadioButtonMenuItem.java:
9310 Implemented.
9311 * javax/swing/plaf/basic/BasicIconFactory.java:
9312 (getRadioButtonMenuItemIcon): Return
9313 radio button icon.
9314 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9315 (getPreferredSize): Add size of checkIcon if it
9316 exists.
9317 (installDefaults): Don't initialize checkIcon.
9318 It's value will be set in subclasses.
9319 (uninstallDefaults): remove uninstallation of
9320 checkIcon.
9321 (paint): Moved code to paintMenuItem().
9322 (paintMenuItem): Implemented.
9323 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9324 UI delegate for JRadioButtonMenuItem.
9325
9326 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9327
9328 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9329 Corrected position of the accelerator.
9330
9331 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9332
9333 * Makefile.am: Added new file.
9334 * Makefile.in: Regenerate.
9335 * javax/swing/JMenuItem.java: Partly
9336 implemented. Work in progress
9337 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9338 Changed default value of acceleratorDelimiter.
9339 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9340 New class. Partly implemented.
9341
9342 2004-03-26 Mark Wielaard <mark@klomp.org>
9343
9344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9345 (item_activate): Declare label before use.
9346 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9347 (gtkSetFont): Removed unused variable label.
9348 (addExposeFilter): Declare variables before use.
9349 (removeExposeFilter): Likewise.
9350 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9351 (ok_clicked): Declare str_fileName before use.
9352
9353 2004-03-26 David Jee <djee@redhat.com>
9354
9355 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9356 (addSeparator): Remove.
9357 * java/awt/Menu.java
9358 (separator): Remove static final MenuItem field.
9359 (separatorLabel): New static final String field.
9360 (addSeparator): Do not use peer method; use add(MenuItem) instead.
9361 Use separatorLabel to denote that it is a separator.
9362 (insertSeparator): Create a new MenuItem with separatorLabel, instead
9363 of reusing the static separator instance, because a MenuItem instance
9364 can't be added more than once without being cloned.
9365 * java/awt/peer/MenuPeer.java
9366 (addSeparator): Remove from interface.
9367
9368 2004-03-26 David Jee <djee@redhat.com>
9369
9370 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9371 (connectSignals): New native method declaration.
9372 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9373 * java/awt/MenuItem.java
9374 (getActionCommand): Return the label if the action command is not set.
9375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9376 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9377 gtk_menu_shell_append().
9378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9379 (item_activate): Fix argument type.
9380 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9381 signal here.
9382 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9383 method.
9384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9385 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9386 given. Add the menu widget's top-level GtkWindow to the global window
9387 group, so it can grab the pointer.
9388 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9389 gtk_menu_shell_append().
9390
9391 2004-03-23 Graydon Hoare <graydon@redhat.com>
9392
9393 * java/text/AttributedString.java
9394 (addAttribute): Fix off-by-one.
9395 (getIterator): Likewise.
9396 * java/text/AttributedStringIterator.java
9397 (getRunLimit): Correct logic.
9398 (getRunStart): Likewise.
9399 (getAttribute): Fix inequality.
9400 (getAttributes): Likewise.
9401 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9402
9403 2004-03-23 Kim Ho <kho@redhat.com>
9404
9405 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9406 (calculateSizes): Return real width and height.
9407
9408 2004-03-23 Kim Ho <kho@redhat.com>
9409
9410 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9411 (calculateTabRects): Set the selectedRun before
9412 trying to rotate tabs.
9413
9414 2004-03-23 Kim Ho <kho@redhat.com>
9415
9416 * Makefile.am: New file
9417 * Makefile.in: Regenerate
9418 * java/awt/Graphics.java: (drawRect):
9419 Draw to the correct point.
9420 * javax/swing/DefaultSingleSelectionModel.java
9421 (isSelected): Return true if the selected index
9422 is not -1.
9423 * javax/swing/JLabel.java: Do not change mnemonic
9424 index if text is null.
9425 * javax/swing/JProgressBar.java: Use JComponent's
9426 EventListenerList.
9427 * javax/swing/JScrollBar.java: Ditto.
9428 * javax/swing/JSlider.java: Ditto.
9429 * javax/swing/JTabbedPane.java: Reimplement.
9430 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9431 Add defaults for TabbedPane.
9432 * javax/swing/plaf/basic/BasicArrowButton.java:
9433 Implement
9434 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9435 (paintDeterminate): Don't paint String if it's
9436 empty.
9437 (paintIndeterminate): ditto.
9438 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9439 Reimplement.
9440
9441 2004-03-19 Michael Koch <konqueror@gmx.de>
9442
9443 * java/awt/image/AffineTransformOp.java
9444 (AffineTransformOp): Made public.
9445 * javax/swing/JComponent.java
9446 (listenerList): Made protected.
9447 (accessibleContext): Likewise.
9448 * javax/swing/JList.java
9449 (valueChanged): Dont use internal fields of ListSelectionEvent.
9450 * javax/swing/JViewport.java
9451 (getView): Dont use internal fields of Component.
9452 (addImpl): Likewise.
9453 * javax/swing/Timer.java
9454 (isRunning): Made public.
9455 (start): Likewise.
9456 (stop): Likewise.
9457 * javax/swing/UIDefaults.java
9458 (getInt): Made public.
9459 * javax/swing/plaf/basic/BasicListUI.java
9460 (mousePressed): Dont use internal fields of MouseEvent.
9461 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9462 * javax/swing/plaf/basic/BasicScrollBarUI.java
9463 (arrowIcon): Made static.
9464 * javax/swing/plaf/basic/BasicViewportUI.java
9465 (stateChanged): Dont use internal field on ChangeEvent.
9466 * javax/swing/text/JTextComponent.java
9467 (getUI): Call UIManager.getUI().
9468 (updateUI): Use getUI().
9469
9470 2004-03-19 Graydon Hoare <graydon@redhat.com>
9471
9472 * javax/swing/JComponent.java: Turn off double buffer by default.
9473 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9475 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9476 Use cairo to copy areas.
9477 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9478 Initialize and set clip region.
9479
9480 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9481
9482 * java/applet/Applet.java (preferredSize): Override deprecated
9483 variant of getPreferredSize.
9484 (minimumSize): Override deprecated variant of getMinimumSize.
9485
9486 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9487
9488 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9489 (drawImage(img,xform,bgcolor,obs)): New Method.
9490 Helper function that every drawImage method will
9491 use.
9492 (drawRaster): Added new parameter, bgcolor. All
9493 transparent pixels are changed to bgcolor before
9494 image is drawn.
9495 (drawRenderedImage): Fixed to use changed drawRaster().
9496 (drawImage(image,xform,obs): Fixed to use new helper function
9497 (drawImage(image,op,x,y)): Ditto.
9498 (drawImage (img,x,y,observer)): Ditto.
9499 ((PainterThread) bgcolor): New Field.
9500 ((PainterThread) (setPixels)): Changed all transparent pixels
9501 to bgcolor.
9502 (drawImage(img,x,y,width,height,bgcolor,observer)):
9503 Fixed FIXME - all the transparent pixels are
9504 changed to the specified bgcolor.
9505 (drawImage(img, x, y, width, height, observer): Changed to
9506 use function above.
9507 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9508 Fixed FIXME- changed all transparent pixels to bgcolor.
9509 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9510 Changed to use function above.
9511
9512 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9513
9514 * java/applet/Applet.java (dimensions): New field.
9515 (getDimensions): New method.
9516 (getPreferredSize): Call getDimensions.
9517 (getMinimumSize): Likewise.
9518
9519 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9520
9521 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9522 * jni/classpath/jnilink.c: Likewise.
9523
9524 * java/applet/Applet.java (getPreferredSize): New method.
9525 (getMinimumSize): New method.
9526
9527 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9528
9529 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9530 (_Jv_AllocObjectNoFinalizer): Likewise.
9531 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9532 (_Jv_AllocPtrFreeObject): Likewise.
9533 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9534 directly even in the JVMPI case.
9535 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9536 _Jv_AllocObject calls.
9537 * gcj/javaprims.h: Update prototypes.
9538 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9539 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9540 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9541
9542 2004-04-14 Andrew Haley <aph@redhat.com>
9543 Bryce McKinlay <mckinlay@redhat.com>
9544
9545 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9546 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9547 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9548
9549 * testsuite/libjava.lang/InvokeInterface.java: New file.
9550 * testsuite/libjava.lang/InvokeInterface.out: New file.
9551
9552 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9553
9554 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9555 modified lookup().
9556 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9557 StackTraceElement directly.
9558 (newElement): New native helper method to create StackTraceElement
9559 bypassing Java access control.
9560 (createStackTraceElement): Use newElement() instead of directly
9561 calling StackTraceElement's constructor.
9562 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9563
9564 2004-04-01 Michael Koch <konqueror@gmx.de>
9565
9566 * java/lang/SecurityManager.java
9567 (checkAwtEventQueueAccess): Implemented.
9568
9569 2004-04-01 Gary Benson <gbenson@redhat.com>
9570
9571 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9572 (_Jv_SearchMethodInClass): Likewise.
9573
9574 2004-03-26 Peter Moon <peterm@miraculum.com>
9575
9576 * java/text/NumberFormat.java: Fix spelling of setCurrency
9577 method.
9578
9579 2004-03-21 Anthony Green <green@redhat.com>
9580
9581 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9582 recursion when searching for the system ClassLoader.
9583
9584 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9585
9586 * java/net/ServerSocket.java
9587 (accept): Close the socket when error occured.
9588
9589 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9590
9591 * java/net/URI.java (parseURI): Added unquoting.
9592 (unquote): New method.
9593 (quoteAuthority): Implemented.
9594 (quote(String,String)): New method.
9595 (quotePath): Implemented.
9596 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9597 (getSchemeSpecificPart): Removed FIXME comment.
9598 (getRawAuthority): Return new rawAuthority field.
9599 (getAuthority): Removed FIXME comment.
9600 (getRawUserInfo): Return new rawUserInfo field.
9601 (getUserInfo): Removed FIXME comment.
9602 (getRawPath): Return new rawPath field.
9603 (getPath): Removed FIXME comment.
9604 (getRawQuery): Return new rawQuery field.
9605 (getQuery): Removed FIXME comment.
9606 (getRawFragment): Return new rawFragment field.
9607 (getFragment): Removed FIXME comment.
9608
9609 2004-03-20 Michael Koch <konqueror@gmx.de>
9610
9611 * java/net/URLConnection.java: Merged copyright year with classpath.
9612
9613 2004-03-20 Norbert Frese <postfach@nfrese.net>
9614
9615 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9616 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9617 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9618 rmi-message.
9619 (getObjectInputStream): Return object reference, throw IOException if null.
9620 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9621 (getObjectOutputStream): Return object reference, throw IOException if null.
9622 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9623 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9624 (UnicastConnectionManager): Throw RemoteException if port is not available.
9625 (getInstance): Throw RemoteException.
9626 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9627 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9628 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9629 Collect Exceptions which are returned by a rmi-call and fix void returns.
9630 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9631 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9632 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9633 (dispatch): Answer ping messages which are sent by other java implementions.
9634 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9635 for every rmi-message and fix void return problems.
9636 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9637 (UnicastServerRef): Throw RemoteException.
9638 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9639 In some situations it is necessary to export a subclass of the class which has the _Stub.
9640 For instance when the class with has the _Stub is abstract.
9641 (findStubSkelClass): New method which looks for the class which has the _Stub.
9642 (getClientHost): Implementated.
9643 * gcc/libjava/java/rmi/server/RemoteServer.java
9644 (getClientHost): Implementated.
9645 * gcc/libjava/Makefile.am (rmi_java_source_files):
9646 Added gnu/java/rmi/server/RMIIncomingThread.java.
9647 * Makefile.in: Regenerated.
9648
9649 2004-03-20 Michael Koch <konqueror@gmx.de>
9650
9651 * java/net/InetAddress.java
9652 (getLocalHostname): Added javadoc.
9653
9654 2004-03-19 Per Bothner <per@bothner.com>
9655
9656 * configure.in: FILE variable overrides FLATFORM when linking
9657 natFileChannelXXX.cc.
9658
9659 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9660 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9661
9662 2004-03-19 Per Bothner <per@bothner.com>
9663
9664 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9665 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9666 * Makefile.am: Update accordingly.
9667 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9668 as aliases for UnicodeLittle and UnicodeBig.
9669
9670 2004-03-20 Mark Wielaard <mark@klomp.org>
9671
9672 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9673 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9674 Don't access ws when it is null.
9675 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9676 Likewise.
9677
9678 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9679
9680 * java/lang/ThreadGroup.java (list): Changed print to println.
9681
9682 2004-03-19 Mark Wielaard <mark@klomp.org>
9683
9684 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9685 happy.
9686
9687 2004-02-10 Randolph Chung <tausq@debian.org>
9688
9689 * configure.in: Build java for hppa target.
9690 * configure: Regenerate.
9691 * libjava/configure.host (hppa-*): Add target.
9692 * libjava/sysdeps/pa/lock.h: New file.
9693
9694 2004-03-19 Mark Wielaard <mark@klomp.org>
9695
9696 Reported by Stephen Crawley
9697 * java/io/FilePermission.java (implies): Use String.length() -1 to
9698 access last char of String.
9699
9700 2004-03-19 Michael Koch <konqueror@gmx.de>
9701
9702 * java/awt/image/AffineTransformOp.java
9703 (AffineTransformOp): Made public.
9704 * javax/swing/JComponent.java
9705 (listenerList): Made protected.
9706 (accessibleContext): Likewise.
9707 * javax/swing/JList.java
9708 (valueChanged): Dont use internal fields of ListSelectionEvent.
9709 * javax/swing/JViewport.java
9710 (getView): Dont use internal fields of Component.
9711 (addImpl): Likewise.
9712 * javax/swing/Timer.java
9713 (isRunning): Made public.
9714 (start): Likewise.
9715 (stop): Likewise.
9716 * javax/swing/UIDefaults.java
9717 (getInt): Made public.
9718 * javax/swing/plaf/basic/BasicListUI.java
9719 (mousePressed): Dont use internal fields of MouseEvent.
9720 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9721 * javax/swing/plaf/basic/BasicScrollBarUI.java
9722 (arrowIcon): Made static.
9723 * javax/swing/plaf/basic/BasicViewportUI.java
9724 (stateChanged): Dont use internal field on ChangeEvent.
9725 * javax/swing/text/JTextComponent.java
9726 (getUI): Call UIManager.getUI().
9727 (updateUI): Use getUI().
9728
9729 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9730
9731 * verify.cc: Undef PC.
9732
9733 2004-03-18 Michael Koch <konqueror@gmx.de>
9734
9735 * java/nio/channels/spi/AbstractSelectableChannel.java
9736 (keys): Initialize at declaration.
9737 (locate): keys cant be null.
9738 (add): Removed.
9739 (addSelectionKey): New method.
9740 (removeSelectionKey): New method.
9741 * java/nio/channels/spi/AbstractSelectionKey.java
9742 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9743 * java/nio/channels/spi/AbstractSelector.java
9744 (provider): Javadoc added.
9745 (cancelledKeys): Javadoc added.
9746 (cancelKey): Javadoc added, add key to cancelledKeys.
9747 (deregister): Implemented.
9748
9749 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9750
9751 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9752 MAP_FAILED to void *.
9753
9754 2004-03-12 Graydon Hoare <graydon@redhat.com>
9755
9756 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9757 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9758 * javax/swing/JList.java (ListListener): Revalidate on changes.
9759 * javax/swing/JScrollPane.java: Reimplement.
9760 * javax/swing/JViewport.java: Reimplement.
9761 * javax/swing/ScrollPaneLayout.java: Reimplement.
9762 * javax/swing/ViewportLayout.java: Tidy up.
9763 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9764 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9765 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9766 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9767 backing store only.
9768
9769 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9770
9771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9772 (window_wm_protocols_filter): New function.
9773 (window_focus_in_cb): Remove function.
9774 (window_focus_out_cb): Likewise.
9775 (window_focus_or_active_state_change_cb): New function.
9776 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9777 (connectSignals): Don't attach handlers to focus-in-event or
9778 focus-out-event signals. Handle notify signal.
9779
9780 2004-03-11 David Jee <djee@redhat.com>
9781
9782 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9783 (gtkSetLabel): New native method declaration.
9784 (setLabel): Use gtkSetLabel.
9785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9786 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9787
9788 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9789
9790 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9791 black when color argument is null.
9792
9793 2004-03-10 Kim Ho <kho@redhat.com>
9794
9795 * java/awt/Container.java: Remove check
9796 for drag events.
9797
9798 2004-03-10 Kim Ho <kho@redhat.com>
9799
9800 * java/awt/Container.java: (visitChild):
9801 Remove candidate clip. Use the component
9802 clip to intersect.
9803 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9804 (handleEvent): Use the PaintEvent's clip.
9805
9806 2004-03-10 Kim Ho <kho@redhat.com>
9807
9808 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9809 (handleEvent): Don't set the clip for the
9810 Graphics object.
9811
9812 2004-03-09 Graydon Hoare <graydon@redhat.com>
9813
9814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9815 Fix double <-> fixed macros, reset font transform.
9816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9817 Likewise.
9818
9819 2004-03-09  Kim Ho <kho@redhat.com>
9820
9821 * java/awt/Container.java: (visitChild): Move
9822 the x and y coordinate of the component rectangle
9823 to correct position.
9824 (handleEvent): Forward drag events to the pressed
9825 component.
9826 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9827 Fix comments.
9828 (ArrowButtonListener::mousePressed): Stop the
9829 existing timer.
9830 (mouseDragged): Implement.
9831 (TrackListener::mousePressed): Only react if
9832 the press doesn't occur on the thumb, otherwise
9833 just set the offset.
9834 (TrackListener::mouseReleased): Unset the isAdjusting
9835 value.
9836 (createIncreaseIcon): Switch icon.
9837 (createDecreaseIcon): Switch icon.
9838 (calculatePreferredSize): Use width.
9839 (getThumbBounds): Use the top as the lower value.
9840 (layoutVScrollBar): Switch the button locations.
9841 (paintIncreaseHighlight): Paint correct side of thumb.
9842 (paintDecreaseHighlight): ditto.
9843 (valueForYPosition): Use top as the lower value.
9844 * javax/swing/plaf/basic/BasicSliderUI.java:
9845 Fix comments.
9846 (mouseDragged): Implement.
9847 (mousePressed): Only react when the thumb isn't
9848 pressed, otherwise just set offset.
9849 (mouseReleased): Handle a release of the thumb.
9850 (scrollDueToClickInTrack): Stop the timer first.
9851 * javax/swing/JProgressBar.java:
9852 (setString): Fix change condition.
9853 * javax/swing/JSeparator.java:
9854 Remove println's.
9855
9856 2004-03-08 David Jee <djee@redhat.com>
9857
9858 * java/awt/image/AffineTransformOp.java:
9859 (filter): Use Graphics2D interface instead of directly using the
9860 GdkGraphics2D peer.
9861
9862 2004-03-05 David Jee <djee@redhat.com>
9863
9864 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9865 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9866 * java/awt/Container.java
9867 (acquireComponentForMouseEvent): Fixed.
9868 (handleEvent): Fixed.
9869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9870 (state_to_awt_mods_with_button_states): New method.
9871 (pre_event_handler): Fixed mouse event generation.
9872
9873 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9874
9875 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9876 (GdkGraphics2D (BufferedImage)): Initialize
9877 pixmap associated with specified BufferedImage.
9878 (setPaint): Changed implementation of Texture
9879 Paint to use AffineTransformOp.
9880 * java/awt/image/AffineTransformOp.java
9881 (createCompatibleDestRaster): Throw RasterFormatException
9882 if resulting width or height of raster is 0.
9883
9884 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9885
9886 * java/awt/image/AffineTransformOp.java:
9887 Removed unnecessary field interpolationType.
9888 Formatted some of the lines to be consistent with
9889 the GNU style.
9890 (AffineTransformOp): Create new RenderingHints
9891 containing specified interpolation type.
9892 (createCompatibleDestImage): Implemented.
9893 (createCompatibleDestRaster): Implemented.
9894 (filter): Implemented.
9895 (getBounds2D(BufferedImage)): Implemented.
9896 (getBounds2D(Raster)): Implemented.
9897 (getInterpolationType): Get interpolation value from
9898 rendering hints.
9899
9900 2004-03-04 David Jee <djee@redhat.com>
9901
9902 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9903 (setFont): Check if child peers are null.
9904
9905 2004-03-04 Graydon Hoare <graydon@redhat.com>
9906
9907 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9908 .libs in -L option.
9909 (libjava_arguments): Add new libraries to argument list.
9910
9911 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9912
9913 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9914 * Makefile.in: Re-generated.
9915 * java/awt/image/AffineTransformOp.java: New Class.
9916
9917 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9918
9919 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9920 (setPaint): Interpret correctly TexturePaint's
9921 anchor rectangle.
9922 (drawImage): Fixed scale factors of the affine
9923 transform.
9924
9925 2004-02-27 David Jee <djee@redhat.com>
9926
9927 * gnu/java/awt/peer/gtk/GdkGraphics.java
9928 (GdkGraphics(Component)): Inherit font from component.
9929 (drawString): Use font style.
9930 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9931 (gtkSetFont): New native method declaration.
9932 (setFont): New method.
9933 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9934 (gtkSetFont): New native method declaration.
9935 (setFont): Call new native method gtkSetFont.
9936 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9937 (setFont): For all child components who do not their fonts set,
9938 set their peers' fonts with this container's font.
9939 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9940 Move all native method declarations to the top for readability.
9941 (gtkSetFont): New native method declaration.
9942 (setFont): New method.
9943 * java/awt/Component.java
9944 (setFont): Invalidate after setting the font.
9945 * java/awt/Container.java
9946 (invalidateTree): New method.
9947 (setFont): Invalidate the container tree after setting the font.
9948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9949 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9951 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9953 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9955 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9956
9957 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9958
9959 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9960 (updateBufferedImage): New helper function.
9961 Updates BufferedImage in memory if it was changed.
9962 (draw): changed to update BufferedImage in memory after
9963 this drawing operation
9964 (fill): Ditto.
9965 (draw3DRect): Ditto.
9966 (fill3DRect): Ditto.
9967 (clearRect): Ditto.
9968 (drawRaster): Ditto.
9969 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9970 no affine transformation.
9971 (drawGlyphVector): Ditto.
9972
9973 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9974
9975 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9976 (isBufferedImageGraphics): New Helper function.
9977 Returns true if this graphics2d can be used to draw
9978 into buffered image and false otherwise.
9979 (updateImagePixels): New Helper function.
9980 Updates pixels in the BufferedImage.
9981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9982 (getImagePixels): New function. Returns pixels
9983 of the buffered image associated with
9984 this Graphics2D.
9985
9986 2004-02-26 David Jee <djee@redhat.com>
9987
9988 * java/awt/BorderLayout.java
9989 (layoutContainer): Fix width and height calculations to ensure
9990 that they're non-negative.
9991 * java/awt/Component.java
9992 (setBackground): If c is null, inherit from closest ancestor whose
9993 background color is set.
9994
9995 2004-02-26  Kim Ho  <kho@redhat.com>
9996
9997 * Makefile.am: Add new files.
9998 * Makefile.in: Re-generate.
9999 * javax/swing/JProgressBar.java:
10000 (JProgressBar(int, int int)): Throw
10001 IllegalArgumentException if orientation is
10002 invalid.
10003 (JProgressBar(BoundedRangeModel)): Create
10004 ChangeListener and register it. UpdateUI.
10005 (getChangeListeners): Implement.
10006 (setModel): Reset ChangeListener.
10007 * javax/swing/JScrollBar.java: Implement.
10008 * javax/swing/JSeparator.java: Implement.
10009 * javax/swing/JSlider.java:
10010 (JSlider(int, int, int, int)): Throw
10011 IllegalArgumentException if orientation
10012 is invalid.
10013 (getChangeListeners): Fix method name.
10014 * javax/swing/SwingUtilities.java:
10015 (layoutCompoundLabel): If there is no text,
10016 set the text rectangle dimensions to 0.
10017 * javax/swing/plaf/basic/BasicButtonUI.java:
10018 (paint): If there is no text, don't paint it.
10019 * javax/swing/plaf/basic/BasicScrollBarUI.java:
10020 Implement.
10021 * javax/swing/plaf/basic/BasicSeparatorUI.java:
10022 Implement.
10023 * javax/swing/plaf/basic/BasicSliderUI.java:
10024 (propertyChange): If the model changes, change
10025 the listeners accordingly.
10026
10027 2004-02-25 Graydon Hoare <graydon@redhat.com>
10028
10029 * javax/swing/AbstractButton.java: Add "final" qualifiers.
10030 * javax/swing/JList.java: Reimplement.
10031 * javax/swing/DefaultListSelectionModel.java: Reimplement.
10032 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10033 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10034 * javax/swing/ListModel.java: Javadoc.
10035 * javax/swing/ListSelectionModel.java: Add missing methods.
10036 * javax/swing/AbstractListModel.java: Javadoc and corrections.
10037 * javax/swing/DefaultListModel.java: Javadoc and corrections.
10038 * javax/swing/ListModel.java: Javadoc and corrections.
10039 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10040
10041 2004-02-25 David Jee <djee@redhat.com>
10042
10043 * gnu/java/awt/peer/gtk/GtkFontPeer.java
10044 (GtkFontPeer): Change default size to 12.
10045 * gnu/java/awt/peer/gtk/GtkToolkit.java
10046 (getFontPeer): Change default size to 12.
10047 (getClasspathFontPeer): Likewise. Set default name to "Default".
10048 * java/awt/Font.java
10049 (Font(Map)): Call Font(String,Map).
10050 (Font(String,Map)): If attrs is null, initialize it as an empty
10051 HashMap, which will ensure that the Font will get default attributes.
10052
10053 2004-02-25 David Jee <djee@redhat.com>
10054
10055 * gnu/java/awt/peer/gtk/GtkFontPeer.java
10056 (GtkFontPeer(String,int)): Call the new constructor with size 1.
10057 (GtkFontPeer(String,int,int)): New constructor with size attribute.
10058 * gnu/java/awt/peer/gtk/GtkToolkit.java
10059 (getFontPeer(String,int)): Call the new overload method with size 1.
10060 (getFontPeer(String,int,int)): New method. Overloaded with size
10061 attribute.
10062 (getClasspathFontPeer): Set the size of the font.
10063
10064 2004-02-24 Olga Rodimina <rodimina@redhat.com>
10065
10066 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10067 (bimage): New field.
10068 (GdkGraphics2D): New Constructor. Constructs Graphics
10069 object that can be used to draw into the Buffered Image.
10070 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10071 (GdkGraphicsEnvironment): Fixed to include public
10072 keyword.
10073 (createGraphics): Implemented.
10074 * gnu/java/awt/peer/gtk/GtkToolkit.java
10075 (getLocalGraphicsEnvironment): Implemented.
10076 * java/awt/GraphicsEnvironment.java:
10077 (getLocalGraphicsEnvironment): Implemented.
10078 * java/awt/image/BufferedImage.java:
10079 (createGraphics): Implemented.
10080
10081 2004-02-24 David Jee <djee@redhat.com>
10082
10083 * java/awt/Component.java
10084 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10085 * java/awt/Container.java
10086 (addNotifyContainerChildren): Fix event enabling.
10087
10088 2004-02-23 Olga Rodimina <rodimina@redhat.com>
10089
10090 * Makefile.am: Added
10091 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10092 * Makefile.in: Re-generated.
10093 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10094 New Class.
10095
10096 2004-02-19 Kim Ho <kho@redhat.com>
10097
10098 * Makefile.am: Add BasicProgressBarUI
10099 * Makefile.in: Regenerate.
10100 * javax/swing/JProgressBar.java:
10101 Re-implement.
10102 * javax/swing/plaf/basic/BasicLookAndFeel.java
10103 Add constants for JProgressBar.
10104 * javax/swing/plaf/basic/BasicProgressBarUI.java
10105 Implement.
10106 * javax/swing/plaf/basic/BasicSliderUI.java
10107 Change comments.
10108 (calculateGeometry): New method
10109 (paint): Remove unnecessary size calculations.
10110
10111 2004-02-18 Olga Rodimina <rodimina@redhat.com>
10112
10113 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10114 (drawRaster): Fixed small error that caused
10115 imageToUser transformation to be set incorrectly.
10116 (toString): Implemented.
10117
10118 2004-02-18 David Jee <djee@redhat.com>
10119
10120 * java/awt/CardLayout.java
10121 (addLayoutComponent): Show the first component added as the default.
10122 (removeLayoutComponent): After removing, show the next component.
10123 (gotoComponent): If there is only one component, show it and return.
10124
10125 2004-02-18 Kim Ho <kho@redhat.com>
10126
10127 * javax/swing/JSlider.java: Re-order
10128 modifiers.
10129 * javax/swing/JLabel.java: Re-order
10130 modifiers.
10131 * javax/swing/JComponent.java:
10132 (addPropertyChangeListener):
10133 Implement.
10134 (removePropertyChangeListener):
10135 ditto.
10136 (firePropertyChangeEvent):
10137 ditto.
10138
10139 2004-02-17 David Jee <djee@redhat.com>
10140
10141 * java/awt/Component.java
10142 (show): Dispatch ComponentEvent via system event queue.
10143 (hide): Likewise.
10144 (move): Likewise.
10145 (resize): Likewise.
10146 (reshape): Likewise.
10147 * java/awt/Window.java
10148 (setBoundsCallback): Likewise.
10149
10150 2004-02-17 David Jee <djee@redhat.com>
10151
10152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10153 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10154 Use gtk_widget_set_size_request() instead of the deprecated
10155 gtk_widget_set_usize().
10156
10157 2004-02-17 Kim Ho <kho@redhat.com>
10158
10159 * javax/swing/JSlider.java: Fix comments and
10160 make property strings constants.
10161 (createStandardLabels): Use the labels
10162 preferred size as bounds.
10163 * javax/swing/plaf/basic/BasicSliderUI.java
10164 Fix comments.
10165 (ScrollHandler::actionPerformed): Don't
10166 calculate the timer stop value. Let the
10167 MouseListeners find the stop location.
10168 (getPreferredHorizontalSize): Re-implement.
10169 (getPreferredVerticalSize): ditto.
10170 (getMinimumHorizontalSize): ditto.
10171 (getMinimumVerticalSize): ditto.
10172 (getPreferredSize): ditto.
10173 (getMinimumSize): ditto.
10174 (getMaximumSize): ditto.
10175 (paintTicks): Use doubles to find the
10176 tick location.
10177 (paintHorizontalLabel):  Use preferredSize
10178 as initial width and height.
10179 (paintVerticalLabel): ditto.
10180
10181 2004-02-17 Kim Ho <kho@redhat.com>
10182
10183 * javax/swing/JLabel.java: Changed
10184 property strings to constants.
10185 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10186 New property.
10187 (setText): Change mnemonic index if
10188 text is too short.
10189 (setDisplayedMnemonicIndex): Fire property
10190 change event.
10191 (getDisplayedMnemonicIndex): Remove check
10192 against short text.
10193
10194 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10195
10196 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10197 (drawImage(img,xform,obs)): Invert xform before
10198 passing the xform to cairo.
10199 (drawImage(img,x,y,bgcolor,obs)): Implemented.
10200 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10201 implemented.
10202 (drawImage (img,x,y,w,h,obs)): Implemented.
10203 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10204 bgcolor,obs)): Partly implemented.
10205 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10206 Implemented.
10207 * java/awt/image/BufferedImage.java:
10208 (copyData): if dest is null, create raster with same
10209 dimensions as the current image.
10210
10211 2004-02-16 Graydon Hoare <graydon@redhat.com>
10212
10213 * javax/swing/plaf/basic/BasicLabelUI.java
10214 (getPreferredSize): Use layoutCL.
10215 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10216 (getPreferredButtonSize): Start with empty view rect, layout using
10217 component's preferred alignment.
10218 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10219 List defaults.
10220
10221 2004-02-16 David Jee <djee@redhat.com>
10222
10223 * java/awt/Component.java
10224 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10225 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10226 (move): Erase old bounds and repaint new bounds. Dispatch
10227 COMPONENT_MOVED ComponentEvent.
10228 (resize): Erase old bounds and repaint new bounds. Dispatch
10229 COMPONENT_RESIZED ComponentEvent.
10230 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10231 ComponentEvents.
10232 * java/awt/Window.java
10233 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10234 ComponentEvents.
10235
10236 2004-02-16 Olga Rodimina <rodimina@redhat.com>
10237
10238 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10239 (setRenderingHint): Added implementation of
10240 Interpolation rendering hints.
10241 (setRenderingHints): Ditto.
10242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10243 (drawPixels): fixed to allow user to choose type
10244 of filtering that should be used when displaying images.
10245 (cairoSurfaceSetFilter): New method. Sets filter type for
10246 interpolation of pixel values.
10247
10248 2004-02-16 David Jee <djee@redhat.com>
10249
10250 * java/awt/GridBagLayout.java
10251 (calcCellSizes): Rows or columns with zero sizes should still be
10252 considered for extra space distribution.
10253
10254 2004-02-16 Kim Ho <kho@redhat.com>
10255
10256 * javax/swing/JLabel.java: Re-implement.
10257 * javax/swing/plaf/basic/BasicLabelUI.java
10258 Re-implement.
10259 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10260 Added constant.
10261
10262 2004-02-16  Kim Ho  <kho@redhat.com>
10263
10264 * javax/swing/JSlider.java: Fix indentation and comments.
10265 (setModel): Remove null check to conform with Sun's.
10266 (setOrientation): Throw exception if not
10267 HORIZONTAL or VERTICAL.
10268 (getInverted): Use private variable instead of
10269 ComponentOrientation.
10270 (setInverted): ditto.
10271 * javax/swing/plaf/basic/BasicSliderUI.java:
10272 Fix indentation and comments.
10273 (propertyChange): Remove check for inverted slider, handle
10274 in main paint.
10275 (getMinimumSize): Return preferred size.
10276 (getMaximumSize): ditto.
10277 (calculateFocusRect): Don't relocate rectangle.
10278 (drawInverted): Return XOR of the slider's inversion and
10279 the component's orientation.
10280 (paint): Update leftToRightCache
10281
10282 2004-02-13 David Jee <djee@redhat.com>
10283
10284 * java/awt/GridBagLayout.java
10285 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10286 code to helper methods.
10287 (sortBySpan): New helper method.
10288 (distributeSizeAndWeight): Likewise.
10289 (calcCellWeights): Likewise.
10290 (calcCellSizes): Add comments.
10291
10292 2004-02-13 David Jee <djee@redhat.com>
10293
10294 * java/awt/Component.java
10295 (show): Only do something if component is invisible at the moment.
10296 (hide): Only do something if component is visible at the moment.
10297 (reshape): If lightweight, erase old bounds and repaint new bounds.
10298
10299 2004-02-13  Kim Ho  <kho@redhat.com>
10300
10301 * Makefile.am: Updated for new file.
10302 * Makefile.in: Regenerated.
10303 * javax/swing/JSlider.java: Reimplement.
10304 * javax/swing/SwingUtilities.java
10305 (layoutCompoundLabel): Use icon height
10306 instead of width.
10307 (paintComponent): Implement.
10308 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10309 Add JSlider defaults.
10310 * javax/swing/plaf/basic/BasicSliderUI.java:
10311 Implement. New file.
10312
10313 2004-03-17 Michael Koch <konqueror@gmx.de>
10314
10315 * gnu/java/net/PlainDatagramSocketImpl.java
10316 (RECEIVE_LOCK): New member field.
10317 (SEND_LOCK): New member field.
10318 (send0): New method.
10319 (send): Synchronize on SEND_LOCK.
10320 (receive0): New method.
10321 (receive): Synchronize on RECEIVE_LOCK.
10322 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10323 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10324 gnu/java/net/natPlainDatagramSocketImplWin32.cc
10325 (send0): Renamed from send.
10326 (receive0): Renamed from receive.
10327 2004-03-17 Michael Koch <konqueror@gmx.de>
10328
10329 * gnu/java/net/natPlainSocketImplPosix.cc
10330 (write): Just call write(jbyteArray, offset, len).
10331 (read): Just call read(jbyteArray, offset, len).
10332
10333 2004-03-16 Michael Koch <konqueror@gmx.de>
10334
10335 * javax/swing/JTabbedPane.java
10336 (serialVersionUID): New field.
10337
10338 2004-03-16 Norbert Frese <postfach@nfrese.net>
10339
10340 * java/net/InetAddress.java
10341 (getByName): Handle hostname == "" case.
10342
10343 2004-03-16 Dalibor Topic <robilad@kaffe.org>
10344
10345 Reported by: Adam Heath <doogie@debian.org>
10346 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10347 class loader.
10348
10349 2004-03-15 Michael Koch <konqueror@gmx.de>
10350
10351 * java/util/Locale.java: Reverting my last patch
10352 and add a comment why the original version was okay.
10353
10354 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
10355
10356 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10357 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10358 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10359 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10360
10361 2004-03-12 Michael Koch <konqueror@gmx.de>
10362
10363 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10364
10365 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10366
10367 * java/net/URI.java (toURL): Implemented.
10368
10369 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10370
10371 * java/net/URI.java
10372 (URI_REGEXP) updated to contain scheme specific part.
10373 (SCHEME_SPEC_PART_GROUP) new constant.
10374 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10375 updated to make room for SCHEME_SPEC_PART_GROUP.
10376 (parseURI) parse scheme specific part.
10377 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10378 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10379 getQuery, getFragment) implemented.
10380
10381 2004-03-12 Dalibor Topic <robilad@kaffe.org>
10382
10383 * libraries/javalib/java/net/URI.java
10384 partially implemented using java.util.regex.
10385 (URI_REGEXP) new constant. Used to parse URIs.
10386 (SCHEME_GROUP) new constant representing index of scheme group
10387 in parsed URI.
10388 (AUTHORITY_GROUP) new constant representing index of authority
10389 group in parsed URI.
10390 (PATH_GROUP) new constant representing index of path group in
10391 parsed URI.
10392 (QUERY_GROUP) new constant representing index of query group in
10393 parsed URI.
10394 (FRAGMENT_GROUP) new constant representing index of fragment
10395 group in parsed URI.
10396 (getURIGroup) new static utility method.
10397 (parseURI) implemented.
10398 (quote) stub for new static utility method.
10399 (quoteAuthority) stub for new static utility method.
10400 (quoteHost) stub for new static utility method.
10401 (quotePath) stub for new static utility method.
10402 (quoteUserInfo) stub for new static utility method.
10403 (URI) implemented.
10404 (create) don't throw URISyntaxException. Implemented.
10405 (toString) implemented.
10406
10407 2004-03-12 Michael Koch <konqueror@gmx.de>
10408
10409 * java/net/HttpURLConnection.java
10410 (getResponseCode): Fix another typo in javadoc.
10411
10412 2004-03-11 Michael Koch <konqueror@gmx.de>
10413
10414 * java/util/logging/Level.java
10415 (parse): Use String.equals() instead of ==.
10416
10417 2004-03-11 Michael Koch <konqueror@gmx.de>
10418
10419 * gnu/java/net/protocol/jar/Connection.java
10420 (getContentLength): New method.
10421
10422 2004-03-11 Michael Koch <konqueror@gmx.de>
10423
10424 * gnu/java/net/PlainSocketImpl.java:
10425 Reformated to merge better with classpath's version.
10426
10427 2004-03-11 Michael Koch <konqueror@gmx.de>
10428
10429 * java/util/Locale.java
10430 (getISO3Language): Use String.equals() instead of ==.
10431 (getISO3Country): Likewise.
10432
10433 2004-03-11 Dalibor Topic <robilad@kaffe.org>
10434
10435 * java/text/AttributedString.java
10436 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10437 Use HashMap instead of Hashtable since value can be null, and
10438 you can not store a null value in a Hashtable.
10439
10440 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10441
10442 * java/text/AttributedStringIterator.java
10443 (getAllAttributesKey): Return only keys concerned
10444 by the current iterator.
10445 (getAttributes): Use strict inequality for
10446 end_index.
10447
10448 2004-03-11 Michael Koch <konqueror@gmx.de>
10449
10450 * java/net/HttpURLConnection.java:
10451 Fixed typo in javadoc.
10452
10453 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10454
10455 * java/io/BufferedInputStream.java (marktarget): New field for max
10456 mark limit.
10457 (CHUNKSIZE): New constant for incremental mark buffer allocation.
10458 (mark): Use new fields.
10459 (read): Likewise.
10460 (read(byte[],int,int)): Likewise.
10461 (skip): Likewise.
10462 (refill): Likewise.
10463
10464 2004-03-11 Mark Wielaard <mark@klomp.org>
10465
10466 * java/beans/BeanDescriptor.java (BeanDescriptor):
10467 Set the FeatureDescriptor programmatic name.
10468
10469 2004-03-11 Michael Koch <konqueror@gmx.de>
10470
10471 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10472 This file was was just copied form java/io/natFileDescriptorEcos.cc
10473 and never changed to compile correctly.
10474
10475 2004-03-11 Michael Koch <konqueror@gmx.de>
10476
10477 * gnu/java/nio/PipeImpl.java
10478 (SourceChannelImpl): Made final.
10479 (read): Implemented.
10480 (SinkChannelImpl): Made final.
10481 (write): Implemented.
10482
10483 2004-03-11 Michael Koch <konqueror@gmx.de>
10484
10485 * gnu/java/net/PlainDatagramSocketImpl.java:
10486 Reformated to match classpath's version more.
10487
10488 2004-03-11 Michael Koch <konqueror@gmx.de>
10489
10490 * gnu/java/awt/peer/ClasspathFontPeer.java:
10491 Fixed javadoc to be correct xhtml.
10492 * gnu/java/awt/peer/gtk/GtkArgList.java
10493 (add): Use Boolean.valueOf() instead of new Boolean().
10494
10495 2004-03-09 Michael Koch <konqueror@gmx.de>
10496
10497 * java/lang/Thread.java
10498 (runnable): Moved around.
10499 (daemon): Renamed from daemon_flag.
10500 (contextClassLoader): Renamed from context_class_loader.
10501 (Thread): Reordered constructors.
10502 (activeCount): Use group directly.
10503 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10504 (holdsLock): Reworked javadoc.
10505 (setDaemon): Reworked.
10506 * java/lang/natThread.cc
10507 (destroy): Removed.
10508
10509 2004-03-08 Anthony Green <green@redhat.com>
10510
10511 * Makefile.am: Build property resource files into libgcj.
10512 * Makefile.in: Rebuilt.
10513 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10514 java/util/regex/PatternSyntaxException.java,
10515 gnu/regexp/CharIndexed.java,
10516 gnu/regexp/CharIndexedCharArray.java,
10517 gnu/regexp/CharIndexedInputStream.java,
10518 gnu/regexp/CharIndexedReader.java,
10519 gnu/regexp/CharIndexedString.java,
10520 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10521 gnu/regexp/REException.java,
10522 gnu/regexp/REFilterInputStream.java,
10523 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10524 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10525 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10526 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10527 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10528 gnu/regexp/RETokenLookAhead.java,
10529 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10530 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10531 gnu/regexp/RETokenStart.java,
10532 gnu/regexp/RETokenWordBoundary.java,
10533 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10534
10535 2004-03-03 Per Bothner <per@bothner.com>
10536
10537 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10538 Optimize when argument is a FileChannelImpl.
10539 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10540 New native methods.
10541 * java/nio/channels/natChannels.cc: New file for new native methods.
10542 * Makefile.am: Update accordingly.
10543
10544 2004-03-02 Jan Hubicka <jh@suse.cz>
10545
10546 * configure.host: Pass -fno-omit-frame-pointer for i386.
10547 * configure.in: Likewise.
10548 * configure: Regenerate.
10549
10550 2004-03-01 Per Bothner <per@bothner.com>
10551
10552 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10553
10554 2004-02-29 Per Bothner <per@bothner.com>
10555
10556 * java/nio/channels/FileChannelImpl.java: Moved to package
10557 gnu/java/nio/channels, since we need to refer to it from java.io.
10558 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10559 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10560 from java/nio/channels. Don't depend on FileDescriptor.
10561 (in, out, err): New static fields.
10562 (mode): New field.
10563 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10564 from FileDescriptor.
10565 (by): Removed MappedByteBuffer field.
10566 (map): New working implementation.
10567 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10568 some code "ported" from natFileDescriptoPosix.cc.
10569 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10570 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10571 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10572 Remove native methods.
10573 * Makefile.am, configure.in: Updated accordingly.
10574
10575 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10576 (ch): New FileChannelImpl field. Update constructor to match.
10577 (releaseImpl): Remove native method. Instead ...
10578 (release): Call unlock on channel.
10579 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10580
10581 * java/io/natFileDescriptorEcos.cc: Remove file.
10582 * java/io/natFileDescriptorPosix.cc: Remove file.
10583 * java/io/natFileDescriptorWin32.cc: Remove file.
10584 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10585 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10586 (<init>(FileChannelImpl)): New package-private constructor.
10587 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10588 (available, close, read, skip): Implement using FileChannelImpl.
10589 (getFD): Allocate FileDescriptor if needed.
10590 (getChannel): Is now trivial.
10591 * java/io/FileOutputStream.java: Corresponding changes.
10592 * java/io/RandomAccessFile.java: Corresponding changes.
10593
10594 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10595 unmapImpl): New dummy methods, to be overridden by subclass.
10596 (finalize, isLoaded, load, force): New methods.
10597 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10598 Now works, at least for read mapping.
10599
10600 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10601 streams using FileChannelImpl, not FileDescriptor.
10602 * java/lang/natWin32Process.cc (startProcess): Likewise.
10603
10604 2004-02-28 Michael Koch <konqueror@gmx.de>
10605
10606 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10607 wrong code.
10608
10609 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10610
10611 * java/io/ObjectInputStream.java
10612 (readClassDescriptor): Keep elements of the mapping non null.
10613 (checkTypeConsistency): New method.
10614 (readFields): Fixed main loop and base logic. Small reindentation.
10615 * java/io/ObjectStreamField.java
10616 (lookupField): New method to update the field reference.
10617 (checkFieldType): New method.
10618 * java/io/ObjectStreamClass.java
10619 (setClass, setFields): Call lookupField when building the field
10620 database. Check the real field type.
10621
10622 2004-02-28 Michael Koch <konqueror@gmx.de>
10623
10624 * java/nio/ByteOrder.java
10625 (nativeOrder): Use equals() to compare strings.
10626
10627 2004-02-26 Michael Koch <konqueror@gmx.de>
10628
10629 * gnu/java/nio/FileLockImpl.java
10630 (finalize): Made protected.
10631 * java/nio/channels/FileChannel.java
10632 (MapMode.READ_ONLY): Made final.
10633 (MapMode.READ_WRITE): Made final.
10634 (MapMode.PRIVATE): Made final.
10635 * java/nio/channels/SocketChannel.java
10636 (open): Simplified code.
10637 * java/nio/channels/spi/AbstractSelectableChannel.java
10638 (registered): Unused, removed.
10639 (keyFor): Check channel is open, only locate key
10640 and not add a new one.
10641 (register): Don't delete attachments.
10642
10643 2004-02-26 Michael Koch <konqueror@gmx.de>
10644
10645 * gnu/java/awt/ComponentDataBlitOp.java
10646 (INSTANCE): Made final.
10647 * gnu/java/awt/image/ImageDecoder.java:
10648 Reworked imports.
10649 (cm): Unused, removed.
10650
10651 2004-02-26 Michael Koch <konqueror@gmx.de>
10652
10653 * gnu/java/nio/DatagramChannelImpl.java
10654 (send): Check if target address is resolved.
10655
10656 2004-02-26 Michael Koch <konqueror@gmx.de>
10657
10658 * Makefile.am: Generate and install headers for inner classes in
10659 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10660 * Makefile.in: Regenerated.
10661
10662 2004-02-24 Anthony Green <green@redhat.com>
10663
10664 * java/lang/StringBuffer.java: No need to NULL out remainder of
10665 buffer since ensureCapacity_unsynchronized will have done this for
10666 us.
10667
10668 2004-02-20 Michael Koch <konqueror@gmx.de>
10669
10670 * gnu/java/net/protocol/jar/Handler.java
10671 (): Removed unneeded check for file != null. java.net.URL.getFile()
10672 returns an empty string but never null.
10673
10674 2004-02-20 Michael Koch <konqueror@gmx.de>
10675
10676 * gnu/gcj/convert/Convert.java
10677 (main): Use equals() to compare strings.
10678
10679 2004-02-20 Michael Koch <konqueror@gmx.de>
10680
10681 * javax/swing/AbstractButton.java: Made several constants final.
10682 (getRolloverSelectedIcon): Made public.
10683 (getSelectedIcon): Made public.
10684
10685 2004-02-16 Per Bothner <per@bothner.com>
10686
10687 * java/nio/CharBufferImpl.java: Inline super constructor.
10688 * java/nio/DoubleBufferImpl.java: Likewise.
10689 * java/nio/FloatBufferImpl.java: Likewise.
10690 * java/nio/IntBufferImpl.java: Likewise.
10691 * java/nio/LongBufferImpl.java: Likewise.
10692 * java/nio/ShortBufferImpl.java: Likewise.
10693 * java/nio/CharBuffer.java: Remove unused constructor.
10694 * java/nio/DoubleBuffer.java: Likewise.
10695 * java/nio/FloatBuffer.java: Likewise.
10696 * java/nio/IntBuffer.java: Likewise.
10697 * java/nio/LongBuffer.java: Likewise.
10698 * java/nio/ShortBuffer.java: Likewise.
10699 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10700 Fix buggy call to super constructor.
10701 * java/nio/DoubleViewBufferImpl.java: Likewise.
10702 * java/nio/FloatViewBufferImpl.java: Likewise.
10703 * java/nio/IntViewBufferImpl.java: Likewise.
10704 * java/nio/LongViewBufferImpl.java: Likewise.
10705 * java/nio/ShortViewBufferImpl.java: Likewise.
10706
10707 * java/nio/ByteBuffer.java (endian): Make non-private so other
10708 java.nio classes can inherit it.
10709 (<init>): Don't bother clearing array_offset.
10710 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10711 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10712 Remove redundant test.
10713
10714 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10715 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10716 Use new XxxViewBufferImpl constructors.
10717 * java/nio/MappedByteBufferImpl.java: Likewise.
10718 * java/nio/DirectByteBufferImpl.java: Likewise.
10719
10720 * java/nio/ByteBufferImpl.java: Remove one constructor.
10721 Inline super in remaining constructor.
10722 * java/nio/ByteBuffer.java: Remove unused constructor.
10723
10724 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10725
10726 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10727 * java/nio/DirectByteBufferImpl.java (owner): New field.
10728 (offset): Remove unused field.
10729 (<init>): Modify one and add another constructor. Change callers.
10730 (allocateDirect): Removed - not used.
10731 (getImpl, putImpl): Make static and pass address explicitly,
10732 to make them useful for MappedByteBufferImpl.
10733 (get, put): Check for underflow. Modify for new getImpl.
10734 (getImpl): New native method where target is array.
10735 (get(byte[],int,int)): Use the above.
10736 (adjustAddress): New static native method.
10737 (slice, duplicate, asReadOnly): New implementations.
10738 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10739 adjustAddress): New or updated native methods.
10740
10741 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10742
10743 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10744 overflow of fieldmapping.
10745
10746 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10747
10748 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10749
10750 2004-02-14 Per Bothner <per@bothner.com>
10751
10752 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10753 Set closed before calling implCloseChannel, as in the spec.
10754
10755 2004-02-09 Graydon Hoare <graydon@redhat.com>
10756
10757 * javax/swing/ToggleButtonModel.java: Remove dead class.
10758 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10759 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10760 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10761 * Makefile.am: Update for new and removed files.
10762 * Makefile.in: Regenerate.
10763
10764 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10765 * javax/swing/AbstractButton.java
10766 (AbstractButton): Initialize fields correctly in ctor.
10767 * javax/swing/JCheckbox.java
10768 (JCheckBox): Override painting flags.
10769 * javax/swing/DefaultButtonModel.java: Conform to sun.
10770 * javax/swing/JComponent.java (paint): Fill with background color
10771 if available.
10772 (processComponentKeyEvent)
10773 (processFocusEvent)
10774 (processKeyEvent)
10775 (processMouseMotionEvent): Remove event-consuming empty methods.
10776 (getUIClassID): Return "ComponentUI" not "JComponent"
10777 * javax/swing/JFrame.java: Remove some debugging chatter.
10778 (JFrame): Subscribe to window events.
10779 * javax/swing/JRadioButton.java
10780 (JRadioButton): Override painting flags.
10781 * javax/swing/JRootPane.java
10782 (JRootPane): Set background from UIDefaults.
10783 * javax/swing/JToggleButton.java
10784 (ToggleButtonModel): New inner class.
10785 (JToggleButton): Override layout alighment.
10786 * javax/swing/SwingUtilities.java:
10787 (getLocalBounds): Return width and height, not x and y.
10788 (calculateInnerArea): Use local bounds, not bounds.
10789 (layoutCompoundLabel): Provide overridden form.
10790 (layoutCompoundLabel): Correct bugs.
10791 * javax/swing/UIDefaults.java: Correct comment.
10792 * javax/swing/plaf/basic/BasicButtonUI.java:
10793 Move most logic into defaults, external listener.
10794 (paintIcon): Implement icon painting.
10795 (paint): Fix state painting to conform to changes in model.
10796 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10797 Remove most dead/wrong methods.
10798 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10799 * javax/swing/plaf/basic/BasicIconFactory.java:
10800 (DummyIcon): New class.
10801 (getMenuItemCheckIcon)
10802 (getMenuItemArrowIcon)
10803 (getMenuArrowIcon)
10804 (getCheckBoxMenuItemIcon)
10805 (getRadioButtonMenuItemIcon)
10806 (createEmptyFrameIcon): Return DummyIcons, not null.
10807 (getCheckBoxIcon): Implement an icon that looks like sun's.
10808 (getRadioButtonIcon): Implement an icon that looks like sun's.
10809 * javax/swing/plaf/basic/BasicLookAndFeel.java
10810 (initComponentDefaults): Fix impossible values, add some missing.
10811 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10812 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10813 Remove most dead/wrong methods.
10814 (icon): New field.
10815 (getDefaultIcon): New method.
10816 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10817 Remove most dead/wrong methods.
10818 * javax/swing/plaf/metal/MetalLookAndFeel.java
10819 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10821 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10822 Implement "clearing" as drawing, when on pixmap drawables.
10823
10824 * javax/swing/JButton.java (getUIClassID):
10825 * javax/swing/JCheckBox.java (getUIClassID):
10826 * javax/swing/JEditorPane.java (getUIClassID):
10827 * javax/swing/JLabel.java (getUIClassID):
10828 * javax/swing/JList.java (getUIClassID):
10829 * javax/swing/JOptionPane.java (getUIClassID):
10830 * javax/swing/JPanel.java (getUIClassID):
10831 * javax/swing/JPasswordField.java (uiClassID):
10832 * javax/swing/JRadioButton.java (getUIClassID):
10833 * javax/swing/JRootPane.java (getUIClassID):
10834 * javax/swing/JScrollPane.java (getUIClassID):
10835 * javax/swing/JTabbedPane.java (getUIClassID):
10836 * javax/swing/JToggleButton.java (getUIClassID):
10837 * javax/swing/JTree.java (getUIClassID):
10838 * javax/swing/JViewport.java (getUIClassID):
10839 * javax/swing/text/JTextComponent.java (getUIClassID):
10840 Return "fooUI" not "Jfoo"
10841
10842 2004-02-11 Michael Koch <konqueror@gmx.de>
10843
10844 * java/net/DatagramSocket.java
10845 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10846 Boolean object.
10847 (setBroadcast): Likewise.
10848 * java/net/MulticastSocket.java
10849 (setLoopbackMode): Likewise.
10850 * java/net/ServerSocket.java
10851 (setReuseAddress): Likewise.
10852 * java/net/Socket.java
10853 (setTcpNoDelay): Likewise.
10854 (setSoLinger): Likewise.
10855 (setOOBInline): Likewise.
10856 (setKeepAlive): Likewise.
10857 (setReuseAddress): Likewise.
10858 * java/net/URLConnection.java
10859 (setContentHandler): Replace == with equals().
10860 * java/net/URLStreamHandler.java
10861 (hostSEquals): Fix checking host addresses.
10862 (toExternalForm): Dont check protocol for null. We know already its
10863 not null.
10864
10865 2004-02-10 David Jee <djee@redhat.com>
10866
10867 * java/awt/BorderLayout.java
10868 (calcCompSize): Invisible components get zero dimensions.
10869 * java/awt/Button.java
10870 (setLabel): Set actionCommand.
10871 * java/awt/Component.java
10872 (show): Invalidate component and parent container.
10873 (hide): Likewise.
10874
10875 2004-02-10 David Jee <djee@redhat.com>
10876
10877 * java/awt/GridBagLayout.java
10878 (GridBagLayout): New private field, internalcomptable.
10879 (lookupInternalConstraints): New method.
10880 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10881 (GetLayoutInfo): Reimplement.
10882 (calcCellSizes): Ignore rows/columns with size 0.
10883
10884 2004-02-10 Michael Koch <konqueror@gmx.de>
10885
10886 * gnu/java/awt/EmbeddedWindow.java
10887 (setHandle): Use java.awt.Component.getPeer() instead of
10888 java.awt.Component.peer directly.
10889
10890 2004-02-10 David Jee <djee@redhat.com>
10891
10892 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10893 (gtkSetLabel): New native method definition.
10894 (setLabel): Use gtkSetLabel.
10895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10896 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10897
10898 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10899
10900 * include/powerpc-signal.h: Revert 2004-01-21 change.
10901 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10902 from syscall for ppc32 versions.
10903
10904 2004-02-08 Per Bothner <per@bothner.com>
10905
10906 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10907 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10908 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10909 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10910 Pass ByteOrder parameter to most methods, since the underlying
10911 ByteBuffer's order isn't always what we should use.
10912 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10913 * java/nio/DirectByteBufferImpl.java: Likewise.
10914 Use ByteBufferHelper methods.
10915 * java/nio/MappedByteBufferImpl.java: Likewise.
10916 (compact): Use shiftDown.
10917 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10918 (get, put): Use ByteBufferHelper.
10919 (compact): Use new shiftDown method.
10920 (duplicate(boolean)): New helper method.
10921 (duplicate, asReadOnlyBuffer): Use it.
10922 (order): Return endian field.
10923 * java/nio/DoubleViewBufferImpl.java: Likewise.
10924 * java/nio/FloatViewBufferImpl.java: Likewise.
10925 * java/nio/IntViewBufferImpl.java: Likewise.
10926 * java/nio/LongViewBufferImpl.java: Likewise.
10927 * java/nio/ShortViewBufferImpl.java: Likewise.
10928 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10929 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10930 (compact): Re-implement using shiftDown.
10931
10932 2004-02-08 Andreas Jaeger <aj@suse.de>
10933
10934 * include/x86_64-signal.h: Fix typo.
10935
10936 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10937
10938 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10939 qualifier to _regs.
10940 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10941
10942 2004-02-06 Michael Koch <konqueror@gmx.de>
10943
10944 * java/io/ObjectInputStream.java
10945 (currentClassLoader): Reverted to old version of this method.
10946
10947 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10948
10949 * java/io/ObjectInputStream.java: Made all calls
10950 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10951 use cached info from ObjectStreamClass. (readClassDescriptor):
10952 Cache more information in ObjectStreamClass. (processResolution,
10953 readFields): Use cached info from ObjectStreamClass.
10954 (newObject): Throw exception instead of returning null for failure.
10955 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10956 setCharField, setDoubleField, setFloatField, setIntField,
10957 setLongField, setShortField, setObjectField, readObjectParams):
10958 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10959 check.
10960 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10961 (setClass): Added call to cacheMethods() (findMethod): New method.
10962 (cacheMethods): New method. (ObjectStreamClass): Added call to
10963 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10964 AccessController.doPrivileged to invoke setAccessible.
10965 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10966 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10967 New fields.
10968 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10969 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10970 isPrimitive): Made safe for cases where type == null.
10971 (setBooleanField, setByteField, setCharField, setShortField,
10972 setIntField, setLongField, setFloatField, setDoubleField,
10973 setObjectField): New methods.
10974
10975 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10976
10977 * java/awt/Component.java (getFont): Return a default font
10978 instead of null.
10979
10980 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10981 (Scrollbar (int, int, int, int, int)): Make default page
10982 increment 10.
10983 (setValues): Only call peer.setValues if one of the values has
10984 changed.
10985 (generateName): New method.
10986 (getUniqueLong): New method.
10987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10988 (range_scrollbar): Remove structure.
10989 (post_adjustment_event): Remove function.
10990 (post_change_event): Accept jobject argument.
10991 (create): Cast jints to gdoubles. Round scrollbar values to the
10992 nearest integer. Clamp min, max and value settings.
10993 (connectJObject): Connect hook to widget->window.
10994 (connectSignals): Remove range_scrollbar structure variables.
10995 Remove "move-slider" connection. Pass global peer reference to
10996 "value-changed" callback.
10997 (setLineIncrement): Cast jint value to gdouble.
10998 (setPageIncrement): Likewise.
10999 (setValues): Likewise. Clamp min, max and value settings.
11000
11001 2004-02-05 Michael Koch <konqueror@gmx.de>
11002
11003 * javax/swing/AbstractCellEditor.java
11004 (getCellEditorValue): Removed.
11005 * javax/swing/Box.java: Reformated.
11006 (serialVersionUID): New field.
11007 * javax/swing/ButtonGroup.java:
11008 Removed some weird whitespace.
11009 * javax/swing/CellEditor.java: Reformated.
11010 * javax/swing/CellRendererPane.java
11011 (serialVersionUID): New field.
11012 (AccessibleCellRendererPaneserialVersionUID): New field.
11013 * javax/swing/DefaultListModel.java
11014 (serialVersionUID): New field.
11015 * javax/swing/JEditorPane.java
11016 (serialVersionUID): New field.
11017 (setPage): Throws IOException.
11018 (addHyperlinkListener): Implemented.
11019 (removeHyperlinkListener): Implemented.
11020 (getHyperlinkListener): New method.
11021 * javax/swing/JFileChooser.java
11022 (serialVersionUID): New field.
11023 (AccessibleJFileChooser.serialVersionUID): New field.
11024 (addActionListener): Implemented.
11025 (removeActionListener): Implemented.
11026 (getActionListeners): New method.
11027 * javax/swing/JFormattedTextField.java
11028 (serialVersionUID): New field.
11029 (AbstractFormatter.serialVersionUID): New field.
11030 (clone): Throws CloneNotSupportedException
11031 (setEditValid): Add missing argument.
11032 (stringToValue): Throws ParseExcpetion.
11033 (valueToString): Throws ParseException.
11034 (commitEdit): Throws ParseException.
11035 * javax/swing/JLabel.java
11036 (serialVersionUID): New field.
11037 * javax/swing/JList.java
11038 (serialVersionUID): New field.
11039 (addListSelectionListener): Reformated.
11040 (removeListSelectionListener): Reformated.
11041 (getListSelectionListeners): New method.
11042 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11043 Reformated.
11044 (serialVersionUID): New field.
11045 * javax/swing/table/AbstractTableModel.java
11046 (getValueAt): Removed.
11047 (getColumnCount): Removed.
11048 (getRowCount): Removed.
11049
11050 2004-02-05 Michael Koch <konqueror@gmx.de>
11051
11052 * java/awt/datatransfer/DataFlavor.java
11053 (imageFlavor): Javadoc added.
11054 (javaJVMLocalObjectType): Fixed.
11055
11056 2004-02-05 Michael Koch <konqueror@gmx.de>
11057
11058 * java/lang/Thread.java
11059 (Thread): Reordered.
11060 (setContextClassLoader): Fixed javadoc comment.
11061 (setPriority): Reordered.
11062 (yield): Reordered.
11063 (initialize_native): Reordered.
11064 (gen_name): Reordered.
11065
11066 2004-02-05 Michael Koch <konqueror@gmx.de>
11067
11068 * java/lang/Thread.java: Reordered fields, reformated much code,
11069 no functional changes, some variables renamed, javadoc comments
11070 merged.
11071
11072 2004-02-05 Michael Koch <konqueror@gmx.de>
11073
11074 * java/util/zip/Deflater.java,
11075 java/util/zip/DeflaterOutputStream.java,
11076 java/util/zip/GZIPInputStream.java:
11077 Reformated and javadoc comments merged from classpath.
11078
11079 2004-02-05 Michael Koch <konqueror@gmx.de>
11080
11081 * gnu/java/nio/NIOServerSocket.java
11082 (impl): Unused, removed.
11083 * gnu/java/nio/SocketChannelImpl.java
11084 (finnishConnect): Don't throw NoConnectionPendingException if not
11085 connected or no connection pending.
11086
11087 2004-02-02 Graydon Hoare <graydon@redhat.com>
11088
11089 * javax/swing/SwingUtilities.java: Many new functions.
11090 * java/awt/Container.java (LightweightDispatcher): Reimplement.
11091 * javax/swing/basic/BasicGraphicsUtils.java
11092 (getPreferredButtonSize): Start layout from top-left corner.
11093
11094 2004-02-04 Olga Rodimina <rodimina@redhat.com>
11095
11096 * java/awt/geom/AffineTransform.java:
11097 Corrected comments on the field definitions for
11098 m11 and m10.
11099 (shear): Fixed few errors that caused shear
11100 transformation to be performed incorrectly.
11101 (createInverse): Fixed to return correct
11102 inverse of the given matrix.
11103
11104 2004-02-03 Tom Tromey <tromey@redhat.com>
11105
11106 * java/lang/natPosixProcess.cc (startProcess): Handle case where
11107 PATH or LD_LIBRARY_PATH is not set in parent environment.
11108
11109 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
11110
11111 * gnu/java/awt/peer/gtk/GtkListPeer.java,
11112 java/awt/BorderLayout.java, java/awt/CardLayout.java,
11113 java/awt/CheckboxGroup.java, java/awt/Choice.java,
11114 java/awt/Component.java, java/awt/Container.java,
11115 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11116 java/awt/LayoutManager2.java, java/awt/List.java,
11117 java/awt/Menu.java, java/awt/MenuBar.java,
11118 java/awt/MenuItem.java, java/awt/Polygon.java,
11119 java/awt/Rectangle.java, java/awt/ScrollPane.java,
11120 java/awt/Scrollbar.java, java/awt/TextArea.java,
11121 java/awt/TextField.java,
11122 java/awt/image/renderable/RenderContext.java,
11123 javax/swing/JApplet.java: Fix handling of alias methods, where a
11124 method has been deprecated in favour of a new one with the same
11125 funtion but a different name. Put the method implementation in
11126 the deprecated method and have the new method call the
11127 deprecated one. Make all other code call the new method.
11128
11129 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
11130
11131 * gnu/java/nio/DatagramChannelImpl.java
11132 (inChannelOperation): New field.
11133 (isInChannelOperation): New accessor.
11134 (setInChannelOperation): New modifier.
11135 (receive): Use capacity() - position() of destination
11136 buffer instead of remaining(). Set and reset our "in
11137 channel operation indicator" before and after delegating
11138 the receive to our datagram socket. Removed testing code.
11139 Update destination buffer's current position if it is
11140 backed by a byte array (hasArray() is true).
11141 (send): Set and reset our "in channel operation indicator"
11142 before and after delegating the send to our datagram socket.
11143 Removed testing code. Update source buffer's current position
11144 if it is backed by a byte array (hasArray() is true).
11145 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11146 Use capacity() - position() of destination buffer instead
11147 of remaining().
11148 * java/net/DatagramSocket.java (receive): Don't throw an
11149 IllegalBlockingModeException if we have a non-blocking
11150 channel which initiated this operation.
11151 (send): Likewise.
11152
11153 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
11154
11155 * configure.in: Add pkgconfig check for glib and gthread.
11156 * configure: Regenerate.
11157
11158 2004-02-01 Michael Koch <konqueror@gmx.de>
11159
11160 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11161 arguments.
11162 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11163 * verify.cc (debug_print): Mark 'fmt' unused.
11164
11165 2004-01-30 Michael Koch <konqueror@gmx.de>
11166
11167 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11168 * configure: Regenerated.
11169 * glib-2.0.m4: Removed.
11170 * gtk-2.0.m4: Removed.
11171 * libart.m4: Removed.
11172 * pkg.m4: New file.
11173
11174 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
11175
11176 * gnu/java/net/PlainSocketImpl.java
11177 (inChannelOperation): New field.
11178 (isInChannelOperation): New accessor.
11179 (setInChannelOperation): New modifier.
11180 * gnu/java/nio/ServerSocketChannelImpl.java
11181 (accept): Set and reset our server socket's PlainSocketImpl's
11182 "in channel operation" indicator before and after delegating
11183 the accept to our server socket.
11184 * gnu/java/nio/SocketChannelImpl.java
11185 (connect): Set and reset our socket's PlainSocketImpl's "in channel
11186 operation" indicator before and after delegating the operation to
11187 our socket.
11188 (read): Likewise.
11189 (write): Likewise.
11190 * java/net/ServerSocket.java (implAccept): Don't throw an
11191 IllegalBlockingModeException if we have a non-blocking
11192 channel which initiated this accept operation.
11193 * java/net/Socket.java (connect): Don't throw an
11194 IllegalBlockingModeException if we have a non-blocking
11195 channel which initiated this connect operation.
11196 * java/nio/channels/spi/AbstractSelectableChannel.java
11197 (configureBlocking): Only call implConfigureBlocking() if
11198 the desired blocking mode is different from our current one.
11199
11200 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
11201
11202 * java/io/BufferedReader.java (sbuf): New field.
11203 (readLine): Use String.valueOf instead of new String() as per
11204 Per Bothner's suggestion. Use instance sbuf field instead of a
11205 local StringBuffer instance.
11206 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11207 caller's buffer to refill().
11208 (read(void)): Pass our internal work buffer to refill if our
11209 input queue is empty.
11210 (refill): Changed return type to int. Use the specified buffer
11211 instead of our work buffer as per Bryce McKinlay's suggestion.
11212 Return the number of characters read or -1 for EOF.
11213
11214 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11215
11216 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11217
11218 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11219
11220 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11221 * Makefile.in: Re-generated.
11222 * gnu/awt/xlib/XFontPeer.java: New file.
11223 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11224 (setClip): Commented out debug printout.
11225 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11226 (getFontPeer): Return XFontPeer.
11227 (getLocalGraphicsEnvironment): New method.
11228 (getClasspathFontPeer): New method.
11229 (createFont): New method.
11230
11231 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11232
11233 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11234 return null.
11235
11236 2004-01-29 Kim Ho <kho@redhat.com>
11237
11238 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11239 (gtkLayoutSetVisible): New method
11240 (setMenuBar): Hide layout before setting MenuBar
11241 and reshow it after.
11242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11243 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11244
11245 2004-01-28 Michael Koch <konqueror@gmx.de>
11246
11247 * gnu/java/lang/ClassHelper.java
11248 (getPackagePortion): Removed.
11249
11250 2004-01-28 Michael Koch <konqueror@gmx.de>
11251
11252 * javax/swing/JComponent.java
11253 (listenerList): Initalize globally.
11254 (ancestor_list): Removed.
11255 (veto_list): Removed.
11256 (change_list): Removed.
11257 (get_veto_list): Removed.
11258 (get_change_list): Removed.
11259 (get_ancestor_list): Removed.
11260 (removeAncestorListener): Reimplemented.
11261 (removePropertyChangeListener): Likewise.
11262 (removeVetoableChangeListener): Likewise.
11263 (addAncestorListener): Likewise.
11264 (addPropertyChangeListener): Likewise.
11265 (addVetoableChangeListener): Likewise.
11266 (getListeners): New method.
11267 (getAncestorListeners): Likewise.
11268 (getVetoableChangeListeners): Likewise.
11269 (fireVetoableChange): Throws PropertyVetoException.
11270 * javax/swing/JEditorPane.java
11271 (JEditorPane): Throws IOException.
11272
11273 2004-01-28 David Jee <djee@redhat.com>
11274
11275 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11276 (create): Set the default foreground color to
11277 java.awt.SystemColor.windowText.
11278
11279 2004-01-27 Michael Koch <konqueror@gmx.de>
11280
11281 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11282 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11283 Reindented to merge with classpath.
11284
11285 2004-01-27 David Jee <djee@redhat.com>
11286
11287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11288 (addExposeFilter): Handle GtkFramePeer separately.
11289 (removeExposeFilter): Likewise.
11290
11291 2004-01-27 Michael Koch <konqueror@gmx.de>
11292
11293 * gnu/java/net/protocol/http/Connection.java
11294 (getOutputStream): Fixed typo.
11295
11296 2004-01-27 Michael Koch <konqueror@gmx.de>
11297
11298 * java/lang/Class.java
11299 (getConstructor): Removed SecurityException from throws clause.
11300 (_getConstructors): Likewise.
11301 (getConstructors): Likewise.
11302 (getDeclaredConstructor): Likewise.
11303 (getDeclaredClasses): Likewise.
11304 (getDeclaredConstructors): Likewise.
11305 (getDeclaredField): Likewise.
11306 (getDeclaredMethod): Likewise.
11307 (getDeclaredMethods): Likewise.
11308 (getField): Likewise.
11309 (getMethod): Likewise.
11310 (getMethods): Likewise.
11311
11312 2004-01-27 Kim Ho <kho@redhat.com>
11313
11314 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11315 (removeMenuBarPeer): Remove MenuBarPeer argument.
11316 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11317 (dispose): Call native method.
11318 * java/awt/Frame.java (setMenuBar): Create and remove
11319 MenuBar peers only if the Frame has a peer.
11320 (addNotify): Create the MenuBar peer if one exists.
11321 (removeNotify): Remove MenuBar peer if one exists.
11322 * java/awt/Menu.java: Fix imports.
11323 (addNotify): Don't use full class name.
11324 (removeNotify): Call removeNotify on all children.
11325 * java/awt/MenuBar.java (removeNotify): Call
11326 removeNotify on all children.
11327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11328 (removeMenuBarPeer): Remove MenuBarPeer argument.
11329 Iterate through children to find the Frame's MenuBar.
11330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11331 New file.
11332 (dispose): Remove references to the MenuComponent.
11333
11334 2004-01-27 Michael Koch <konqueror@gmx.de>
11335
11336 * javax/swing/AbstractCellEditor.java: Reformated.
11337 * javax/swing/DefaultListSelectionModel.java
11338 (listenerList): Made protected.
11339 (addListSelectionListener): Javadoc added.
11340 (removeListSelectionListener): Likewise.
11341 (getListeners): Likewise.
11342 (getListSelectionListeners): Likewise.
11343 * javax/swing/JComboBox.java: Merged copyright year.
11344 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11345
11346 2004-01-26 Andrew Haley <aph@redhat.com>
11347
11348 * javax/swing/table/JTableHeader.java: Extend JComponent
11349
11350 2004-01-26 Kim Ho <kho@redhat.com>
11351
11352 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11353 Fix spacing.
11354
11355 2004-01-26 Kim Ho <kho@redhat.com>
11356
11357 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11358 method.
11359 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11360 height and let the Layout Managers readjust anything that
11361 needs to move.
11362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11363 (moveLayout): New method. Shift everything in the Gtk
11364 layout in the Y direction by an offset.
11365
11366 2004-01-26 David Jee <djee@redhat.com>
11367
11368 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11369 (handleEvent): Implemented. Handles PaintEvents.
11370 (paint): Implemented. Use GTK native methods to queue updates
11371 for this heavyweight peer.
11372 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11373 (handleEvent): Removed.
11374 * java/awt/Component.java
11375 (paint): Implemented. Explictly paint the heavyweight peer.
11376 (update): Clear the background for heavyweight components.
11377 (paintAll): No need to call peer.paint() anymore.
11378 (processEvent): Don't process PaintEvents here. It's now done in
11379 the peer's handleEvent().
11380 (processPaintEvent): Removed.
11381 * java/awt/Container.java
11382 (paint): No need to call super.paint(). Visit heavyweight
11383 children as well.
11384 (update): Don't clear the background here. It's done in
11385 Component.update().
11386 (visitChildren): Added check to not recurse into Containers.
11387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11388 (filter_expose_event_handler): New method. Filter unwanted
11389 expose events while painting heavyweight peers.
11390 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11391 New method. Connect filter and block pre_event_handler.
11392 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11393 New method. Disconnect filter and unblock pre_event_handler.
11394 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11395 New method. Invalidate and update given area.
11396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11397 (pre_event_handler): Add checks for unwanted expose events.
11398
11399 2004-01-26 David Jee <djee@redhat.com>
11400
11401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11402 (find_bg_color_widget): For GtkButton, return its child.
11403
11404 2004-01-26 Kim Ho <kho@redhat.com>
11405
11406 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11407 private.
11408 (setMenuBar): Grab MenuBar height and change insets.
11409 (setBounds): Account for MenuBar height.
11410 (postInsetsChangedEvent): Ditto.
11411 (postSizeAllocateEvent): Remove.
11412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11413 (menubar_resize_cb): Remove
11414 (setMenuBarPeer): Remove callback.
11415 (getMenuBarHeight): Use size requisition instead of
11416 allocation.
11417
11418 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11419
11420 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
11421 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11422 when peer is null.
11423 (setColumns): Remove FIXME -- peer will retrieve number of
11424 columns by calling getColumns.
11425 (setRows): Likewise for number of rows.
11426 (next_text_number): New field.
11427 (paramString): Fix param string.
11428 (generateName): New method.
11429 (getUniqueLong): New method.
11430
11431 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11432
11433 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11434 image observer of image loading status.
11435 (getImage (String)): Start image production.
11436 (getImage (URL)): Likewise.
11437
11438 2004-01-25 Michael Koch <konqueror@gmx.de>
11439
11440 * java/lang/Class.java: Imports reworked, reformated.
11441 (Class): Javadoc added.
11442 (forName): Likewise.
11443 (getClasses): Likewise.
11444 (getClassLoader): Likewise.
11445 (getComponentType): Likewise.
11446 (getConstructor): Likewise.
11447 (getConstructors): Likewise.
11448 (getDeclaredConstructor): Likewise.
11449 (getDeclaredClasses): Likewise.
11450 (getDeclaredConstructors): Likewise.
11451 (getDeclaredField): Likewise.
11452 (getDeclaredMethod): Likewise.
11453 (getDeclaredMethods): Likewise.
11454 (getDeclaringClass): Likewise.
11455 (getField): Likewise.
11456 (getInterfaces): Likewise.
11457 (getMethod): Likewise.
11458 (getMethods): Likewise.
11459 (getModifiers): Likewise.
11460 (getName): Likewise.
11461 (getResource): Likewise.
11462 (getResourceAsStream): Likewise.
11463 (getSigners): Likewise.
11464 (setSigners): Likewise.
11465 (getSuperclass): Likewise.
11466 (isArray): Likewise.
11467 (isAssignableFrom): Likewise.
11468 (isInstance): Likewise.
11469 (isInterface): Likewise.
11470 (isPrimitive): Likewise.
11471 (newInstance): Likewise.
11472 (getProtectionDomain): Likewise.
11473 (toString): Likewise.
11474 (Class): Moved.
11475 (initializeClass): Likewise.
11476 (finalize): Likewise.
11477
11478 2004-01-24 Michael Koch <konqueror@gmx.de>
11479
11480 * gnu/java/net/protocol/jar/Connection.java
11481 (hdrHash): Removed.
11482 (hdrVec): Removed.
11483 (gotHeaders): Removed.
11484 (getHeaderField): Removed.
11485 (getHeaderFields): Removed.
11486 (getHeaderFieldKey): Removed.
11487 (getKey): Removed.
11488 (getField): Removed.
11489 (getHeaders): Removed.
11490
11491 2004-01-24 Michael Koch <konqueror@gmx.de>
11492
11493 * Makefile.am: Added library version to gtk peer lib.
11494 * Makefile.in: Regenerated.
11495
11496 2004-01-24 Michael Koch <konqueror@gmx.de>
11497
11498 * java/util/zip/InflaterInputStream.java: Merged class documentation
11499 with classpath.
11500
11501 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11502
11503 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11504 header. For __powerpc64__ provide the default-signal.h definitions
11505 for now.
11506 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11507 instead of the dummy definitions.
11508 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11509 (powerpc64*-*): Remove with_libffi_default.
11510 Only add -mminimal-toc for 64-bit compilations.
11511 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11512 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11513 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11514 * configure: Rebuilt.
11515
11516 2004-01-23 Michael Koch <konqueror@gmx.de>
11517
11518 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11519
11520 2004-01-23 Michael Koch <konqueror@gmx.de>
11521
11522 * java/lang/VMClassLoader.java: Reworked imports.
11523
11524 2004-01-23 Michael Koch <konqueror@gmx.de>
11525
11526 * javax/swing/AbstractAction.java: Reformated.
11527
11528 2004-01-23 Michael Koch <konqueror@gmx.de>
11529
11530 * java/text/CollationElementIterator.java:
11531 (setText): New method.
11532
11533 2004-01-23 Michael Koch <konqueror@gmx.de>
11534
11535 * gnu/java/nio/FileLockImpl.java:
11536 Fixed filename in copyright.
11537 (released): Removed.
11538 (finalize): New method.
11539 * gnu/java/nio/natFileLockImpl.cc
11540 (releaseImpl): Implemented.
11541 * java/nio/channels/FileChannelImpl.java:
11542 Reworked imports.
11543 (lock): Implemented.
11544 (lockImpl): New method.
11545 (tryLock): Implemented.
11546 (tryLockImpl): New method.
11547 * java/nio/channels/natFileChannelImpl.cc
11548 (lockImpl): New method.
11549 (tryLockImpl): New method.
11550
11551 2004-01-23 Michael Koch <konqueror@gmx.de>
11552
11553 * java/io/FileDescriptor.java
11554 (lock): New method.
11555 (tryLock): New method.
11556 (unlock): New method.
11557 * java/io/natFileDescriptorEcos.cc
11558 (lock): New method.
11559 (tryLock): New method.
11560 (unlock): New method.
11561 * java/io/natFileDescriptorPosix.cc
11562 (lock): New method.
11563 (tryLock): New method.
11564 (unlock): New method.
11565 * java/io/natFileDescriptorWin32.cc
11566 (lock): New method.
11567 (tryLock): New method.
11568 (unlock): New method.
11569
11570 2004-01-23 Michael Koch <konqueror@gmx.de>
11571
11572 * java/io/FileDescriptor.java
11573 (sync): Moved around, added javadoc.
11574 (valid): Likewise.
11575 (open): Likewise.
11576 (write): Likewise.
11577 (close): Likewise.
11578 (setLength): Likewise.
11579 (seek): Likewise.
11580 (getLength): Likewise.
11581 (getFilePointer): Likewise.
11582 (read): Likewise.
11583 (available): Likewise.
11584 (finalize): Likewise.
11585
11586 2004-01-23 Michael Koch <konqueror@gmx.de>
11587
11588 * javax/swing/AbstractAction.java: Reformated.
11589 (getPropertyChangeListeners): New method.
11590 * javax/swing/AbstractCellEditor.java: Reformated.
11591 (getCellEditorListeners): New method.
11592 * javax/swing/DefaultListSelectionModel.java
11593 (listenerList): New field.
11594 (listeners): Removed.
11595 (get_listeners): Removed.
11596 (addListSelectionListener): Rewritten.
11597 (removeListSelectionListener): Rewritten.
11598 (getListSelectionListeners): New method.
11599 (getListeners): New method.
11600 * javax/swing/JComboBox.java: Imports reworked.
11601 (addActionListener): Implemented.
11602 (removeActionListener): Implemented.
11603 (addItemListener): Implemented.
11604 (removeItemListener): Implemented.
11605 (addPopupMenuListener): Implemented.
11606 (removePopupMenuListener): Implemented.
11607 (getActionListeners): New method.
11608 (getItemListeners): New method.
11609 (getPopupMenuListeners): New method.
11610
11611 2004-01-23 Michael Koch <konqueror@gmx.de>
11612
11613 * gnu/java/net/protocol/http/Connection.java
11614 (connect): Don't initialize bufferedOutputStream if not needed.
11615 (sendRequest): Set property for content length if content is present.
11616 Write content only if present.
11617 (getOutputStream): Check if already connected, dont connect,
11618 initalize bufferedOutputStream if needed.
11619
11620 2004-01-23 Michael Koch <konqueror@gmx.de>
11621
11622 * java/io/FileDescriptor.java
11623 (in, out, err): Added javadoc.
11624 (static): Merged loading code.
11625 (fd, position): Moved around.
11626
11627 2004-01-23 Michael Koch <konqueror@gmx.de>
11628
11629 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11630 New file.
11631
11632 2004-01-23 Michael Koch <konqueror@gmx.de>
11633
11634 * java/lang/Class.java,
11635 java/lang/Object.java,
11636 java/lang/Thread.java: Merged copyright with classpath.
11637
11638 2004-01-23 Michael Koch <konqueror@gmx.de>
11639
11640 * java/io/FileDescriptor.java: Merged copyright with classpath to
11641 start merging this class.
11642
11643 2004-01-22 Tom Tromey <tromey@redhat.com>
11644
11645 PR libgcj/13107:
11646 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11647 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11648 * testsuite/libjava.lang/pr13107_3.java: New file.
11649 * testsuite/libjava.lang/pr13107_3.out: New file.
11650 * testsuite/libjava.lang/pr13107_2.java: New file.
11651 * testsuite/libjava.lang/pr13107_2.out: New file.
11652 * testsuite/libjava.lang/pr13107.java: New file.
11653 * testsuite/libjava.lang/pr13107.out: New file.
11654 * verify.cc (jsr_ptrs): Removed.
11655 (entry_points): Likewise.
11656 (struct subr_info): Likewise.
11657 (struct subr_entry_info): Likewise.
11658 (type_val::unused_by_subroutine_type): Likewise.
11659 (type::merge): Don't handle unused_by_subroutine_type.
11660 (type::print): Likewise.
11661 (state::flags): Removed.
11662 (state::subroutine): Likewise.
11663 (state::seen_subrs): Likewise.
11664 (state::NO_STACK): Likewise.
11665 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11666 (state): Updated all methods.
11667 (state::clean_subrs): Removed.
11668 (state::state): Removed `ret_semantics' flag.
11669 (state::copy): Likewise.
11670 (state::add_subr): Removed.
11671 (state::enter_subroutine): Likewise.
11672 (type::set_return_address): New method.
11673 (handle_jsr_insn): Set return address on the type. Always
11674 invalidate PC after call.
11675 (check_nonrecursive_call): Removed.
11676 (~_Jv_BytecodeVerifier): Updated.
11677 (branch_prepass): Removed special handling of jsr.
11678 (note_branch_target): Likewise.
11679 (get_subroutine): Removed.
11680 (state::merge): Don't merge subroutines and don't handle
11681 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11682 (state::note_variable): Removed.
11683 (state::is_unmerged_ret_state): Likewise.
11684 (state::print): Updated.
11685 (set_variable): Likewise.
11686 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11687 and jsr_semantics arguments. Updated for new reverification
11688 list.
11689 (pop_jump): Rewrote.
11690 (construct_primitive_array_type): Updated.
11691 (state::next): Removed.
11692 (INVALID_STATE): New define.
11693 (state::INVALID): Removed.
11694 (state::NO_NEXT): New value.
11695 (state::pc, state::next): New fields.
11696 (state::get_pc): New method.
11697 (next_verify_pc): Removed.
11698 (next_verify_state): New field.
11699 (verify_instructions_0): Always check for falling off end.
11700 (linked): New type.
11701 (linked_utf8): Removed.
11702 (states): Changed type.
11703 (type::state_mergeable_p): New method.
11704 (state::state_mergeable_p): Likewise.
11705 (handle_ret_insn): Removed most code.
11706 (state::reverify): New method.
11707 (add_new_state): Likewise.
11708 (state::set_pc): Likewise.
11709
11710 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11711
11712 PR java/13733
11713 * testsuite/libjava.compile/PR13733.java: New file.
11714 * testsuite/libjava.compile/PR13733.xfail: New file.
11715
11716 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11717 Michael Koch <konqueror@gmx.de>
11718
11719 * javax/swing/table/DefaultTableCellRenderer.java
11720 (DefaultTableCellRenderer): Added javadoc for the class and for
11721 the constructor, Border instance, create an EmptyBorder.
11722 (UIResource): Removed the comment at the end of the class
11723 (setForeground): New method.
11724 (setBackground): New method.
11725 (updateUI): New method.
11726 (getTableCellRendererComponent): Rewritten with the help of
11727 dvholten and Stephane Meslin-Weber.
11728 (validate): New method.
11729 (repaint): New method.
11730 (firePropertyChange): New method.
11731 (setValue): New method.
11732
11733 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11734
11735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11736 (connectJObject): Replace printf calls with g_assert statements.
11737 Move property-notify-event signal connection to ...
11738 (connectSignals): Connect property-notify-event signal. Iterate
11739 through the vbox's children to find layout.
11740
11741 2004-01-22 Graydon Hoare <graydon@redhat.com>
11742
11743 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11744 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11745 Predicate static initialization on GtkToolkit.useGraphics2D().
11746 * java/awt/Component.java (processPaintEvent): Consume event.
11747 * javax/swing/AbstractButton.java: Reimplement, document.
11748 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11749 * javax/swing/JComponent.java (paint): Use double buffer.
11750 (listenerList): Enable member.
11751 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11752 * javax/swing/JToggleButton.java
11753 (JToggleButton): Modify model constructor.
11754 * javax/swing/SwingUtilities.java
11755 (layoutCompoundLabel): Adjust arithmetic.
11756 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11757 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11758 (getPreferredButtonSize): Include margins in calculation.
11759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11760 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11761 Receive up events from subordinate layout component.
11762
11763 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11764
11765 * java/awt/Component.java (show): Set visible to true before
11766 showing the peer.
11767
11768 2004-01-21 Kim Ho <kho@redhat.com>
11769
11770 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11771 Fix comments.
11772 (removeMenuBarPeer): Make package private.
11773 (setMenuBarPeer): Make package private.
11774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11775 (menubar_resize_cb): Mark attributes unused.
11776 (getMenuBarHeight): ditto.
11777
11778 2004-01-21 David Jee <djee@redhat.com>
11779
11780 * java/awt/Container.java
11781 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11782 dispatching MOUSE_ENTERED event twice. Translate the point for
11783 the mouse event target before dispatching the event.
11784
11785 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11786
11787 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11788 lib_org_w3c_dom_la_LDFLAGS): New.
11789 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11790 * Makefile.in: Rebuilt.
11791
11792 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11793
11794 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11795 Calculate proper offsets for heavyweight components packed in
11796 lightweight containers.
11797
11798 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11799 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11800 (native create): Add width parameter.
11801 (create): Calculate text entry width based on current font's
11802 metrics and number of columns. Set TextField's font if not
11803 already set. Call native create.
11804 (gtkEntryGetBorderWidth): New native method.
11805 (gtkEntryGetSize): Remove method.
11806 (getMinimumSize): Call minimumSize.
11807 (getPreferredSize): Call preferredSize.
11808 (minimumSize): Calculate minimum size based on backing
11809 GtkEntry's borders, font metrics and number of columns.
11810 (preferredSize): Likewise for preferred size.
11811 (get_border_width): New static function.
11812
11813 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11814 Override GtkWindowPeer's setResizable method to account for menu
11815 bar height when setting the frame's size.
11816
11817 2004-01-19 Matthias Klose <doko@debian.org>
11818
11819 * libtool-version: Increased `current' to 6.
11820
11821 2004-01-19 Kim Ho <kho@redhat.com>
11822
11823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11824 (connectJObject): Iterate through the vbox's children to find layout.
11825
11826 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11827
11828 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11829 isDispatchThread method to replace wrong test condition.
11830
11831 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11832
11833 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11834 events to the queue out of order by acquiring locks in the proper
11835 order and not by releasing one before acquiring the other.
11836
11837 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11838
11839 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11840 visible so that dialog can be reused.
11841
11842 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11843
11844 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11845 events may be handled by any queue in the stack.
11846
11847 2004-01-19 Kim Ho <kho@redhat.com>
11848
11849 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11850 MenuBarPeer parameter.
11851 (removeMenuBarPeer): New native method.
11852 (setMenuBar): Call remove if menu bar is null. Adjust insets
11853 appropriately.
11854 (postSizeAllocateEvent): New method. Called when menu bar size is
11855 allocated. Adjust insets and redo layout.
11856 (GtkFramePeer): Set menu bar during frame creation.
11857 (postConfigureEvent): Adjust position and size to accomodate
11858 menu bar.
11859 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11860 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11861 (addNotify): Create the peer if it doesn't exist and call addNotify
11862 for the menu's items.
11863 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11864 * java/awt/MenuItem.java (addNotify): Create the peer if it
11865 doesn't exist.
11866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11867 (removeMenuBarPeer): New method. Remove menu bar on the current
11868 frame.
11869 (setMenuBarPeer): Add the menu bar to the current frame and the
11870 callback for size-allocate events on the menu bar.
11871 (getMenuBarHeight): Add menu bar parameter.
11872 (menubar_resize_cb): New callback method for postSizeAllocate events.
11873
11874 Also: Fix indentation on last ChangeLog entry.
11875
11876 2004-01-16 Kim Ho <kho@redhat.com>
11877
11878 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11879 (gtkWidgetGetDimensions): Remove.
11880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11881 (gtkWidgetGetDimensions): Remove.
11882
11883 2004-01-16 Tom Tromey <tromey@redhat.com>
11884
11885 * java/awt/Container.java: Typo and indentation fixes.
11886
11887 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11888 * java/lang/natVMClassLoader.cc: ...here. New file.
11889 * Makefile.in: Rebuilt.
11890 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11891
11892 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11893
11894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11895 Discard GDK_ENTER_NOTIFY related to ungrabs.
11896
11897 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11898
11899 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11900 is called for an intermediate queue.
11901
11902 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11903
11904 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11905 (window_property_changed_cb): Set id_set.
11906
11907 2004-01-16 Kim Ho <kho@redhat.com>
11908
11909 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11910 it is a FileDialog and has dimensions of 0 by 0, then the initial
11911 size is set to size request plus insets.
11912 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11913 (gtkWidgetGetDimensions): Override method.
11914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11915 (gtkWidgetGetDimensions): Override method. Returns size request plus
11916 insets.
11917
11918 2004-01-16 Andrew Haley <aph@redhat.com>
11919
11920 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11921 * sysdep/i386/locks.h: Likewise.
11922
11923 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11924
11925 * java/awt/EventDispatchThread.java (run): Stop running when
11926 interrupted.
11927 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11928 Reset the queue after transferring its contents.
11929 (push): Start a new dispatch thread if none is running.
11930
11931 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11932
11933 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11934 (doPolygon): set fill rule of polygon to
11935 WIND_EVEN_ODD by default.
11936
11937 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11938
11939 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11940 Implemented rendering hints related methods.
11941 (getDefaultHints): New helper method. Returns
11942 default rendering hints.
11943 (walkPath): changed to normalize path if
11944 the KEY_STROKE_CONTROL key is in "normalize" mode.
11945 (draw3DRect): changed coordinates of rectangle by +0.5
11946 if in "normalize" mode.
11947
11948 2004-01-15 Tom Tromey <tromey@redhat.com>
11949
11950 * Makefile.in: Rebuilt.
11951 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11952 (%.lo: %.java) Filter out StackTrace.lo.
11953
11954 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11955
11956 * configure.in: Add in AC_PREREQ(2.13)
11957 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11958 FIXME comment.
11959
11960 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11961 Tom Tromey <tromey@redhat.com>
11962
11963 PR libgcj/12001:
11964 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11965 array to superclass.
11966 (init): Changed interface; add URLs here.
11967 (initialize): New static method.
11968 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11969 (_Jv_RunMain): ... not here.
11970
11971 2004-01-14 Michael Koch <konqueror@gmx.de>
11972
11973 * java/text/MessageFormat.java:
11974 Added descriptions to exceptions.
11975 This fixes PR libgcj/2429.
11976
11977 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11978
11979 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11980 (push): Make sure push is performed at the top of the thread stack.
11981
11982 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11983
11984 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11985 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11986 (native create): Add width and height parameters. Set text
11987 view's size request according to new parameters.
11988 (create): Calculate text view size based on current font's
11989 metrics and number of rows and columns. Set TextArea's font if
11990 not already set. Call native create.
11991 (getMinimumSize): Call minimumSize.
11992 (getPreferredSize): Call preferredSize.
11993 (getHScrollbarHeight): New method.
11994 (getVScrollbarWidth): New method.
11995 (minimumSize): Calculate minimum size based on scrollbar
11996 visibility, scrollbar sizes, font metrics and number of rows and
11997 columns.
11998 (preferredSize): Likewise for preferred size.
11999 (gtkTextGetSize): Remove method.
12000
12001 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
12002
12003 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12004 (initializeInsets): Remove method.
12005 (GtkComponentPeer): Initialize insets field. Remove call to
12006 initializeInsets.
12007 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
12008 Remove method.
12009 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
12010 Remove method.
12011 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12012 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
12013 (latestInsets): Remove field.
12014 (native create): Add insets parameter. Call
12015 window_get_frame_extents. Set the window's default size and
12016 size request based on its frame extents.
12017 (create): Initialize insets.
12018 (postInsetsChangedEvent): New method.
12019 (postConfigureEvent): Remove parameters top, left, bottom,
12020 right. Remove insets-related logic.
12021 (connectJObject): Handle property-notify-event.
12022 (window_get_frame_extents, request_frame_extents,
12023 property_notify_predicate, window_property_changed_cb): New
12024 static functions.
12025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12026 (pre_event_handler): Remove insets-related logic for configure
12027 events.
12028 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12029 Update postConfigureEvent signature.
12030
12031 2004-01-13 Fernando Nasser <fnasser@redhat.com>
12032
12033 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12034 to handle Window "Closing" events.
12035
12036 2004-01-13  David Jee  <djee@redhat.com>
12037
12038 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12039 (setBackground): New method. Children with no explicitly-set
12040 background will be repainted with the parent container's new
12041 background color.
12042
12043 2004-01-13  David Jee  <djee@redhat.com>
12044
12045 * Makefile.am: Add BitwiseXORComposite.java.
12046 * Makefile.in: Regenerated.
12047 * gcj/Makefile.in: Regenerated.
12048 * include/Makefile.in: Regenerated.
12049 * testsuite/Makefile.in: Regenerated.
12050
12051 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12052
12053 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12054 not show modal dialogs twice and so that it allows showing a modal
12055 dialog from another modal dialog.
12056
12057 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12058
12059 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12060 and run secondary dispatch thread to process event queue while this
12061 thread is blocked.
12062
12063 2004-01-12 Graydon Hoare <graydon@redhat.com>
12064
12065 * gnu/java/awt/gtk/GdkGraphics2D.java
12066 (static): Check GtkToolkit before initializing static state.
12067 (Graphics2D): Don't construct transform with 0.5 unit offset.
12068
12069 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
12070
12071 * gnu/java/awt/BitwiseXORComposite.java: Add.
12072 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12073 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12074 (BitwiseXORComposite): Remove inner class.
12075
12076 2004-01-11 Michael Koch <konqueror@gmx.de>
12077
12078 * gnu/java/lang/reflect/TypeSignature.java
12079 (getEncodingOfClass): Documentation fixed.
12080 (getClassForEncoding): Give class loader to Class.forName().
12081 Documentation fixed.
12082
12083 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
12084
12085 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12086
12087 2004-01-11 Michael Koch <konqueror@gmx.de>
12088
12089 * javax/swing/undo/StateEditable.java
12090 (RCSID): Removed redundant modifiers.
12091
12092 2004-01-10 Michael Koch <konqueror@gmx.de>
12093
12094 * javax/print/attribute/EnumSyntax.java
12095 (getStringTable): Made protected.
12096 (getEnumValueTable): Likewise.
12097 * javax/print/attribute/standard/JobKOctetsProcessed.java
12098 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12099 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12100 (JobMediaSheetsCompleted): Made class final.
12101 * javax/print/attribute/standard/OutputDeviceAssigned.java
12102 (getName): Fixed typo.
12103 * javax/print/attribute/standard/RequestingUserName.java
12104 (serialVersionUID): Fixed value.
12105
12106 2004-01-10 Michael Koch <konqueror@gmx.de>
12107
12108 * javax/swing/plaf/basic/BasicButtonUI.java,
12109 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12110 javax/swing/plaf/basic/BasicListUI.java,
12111 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12112 javax/swing/plaf/basic/BasicPanelUI.java,
12113 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12114 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12115 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12116 javax/swing/plaf/basic/BasicViewportUI.java:
12117 Fixed import statements.
12118
12119 2004-01-10 Michael Koch <konqueror@gmx.de>
12120
12121 * gnu/java/awt/image/ImageDecoder.java
12122 (produce): Made public.
12123 * gnu/java/awt/peer/GLightweightPeer.java,
12124 gnu/java/awt/peer/gtk/GtkToolkit.java:
12125 Reformated.
12126
12127 2004-01-10 Michael Koch <konqueror@gmx.de>
12128
12129 * javax/swing/JRadioButtonMenuItem.java,
12130 javax/swing/JSeparator.java,
12131 javax/swing/JSplitPane.java,
12132 javax/swing/JTextPane.java,
12133 javax/swing/JToolBar.java,
12134 javax/swing/ListCellRenderer.java,
12135 javax/swing/ListModel.java,
12136 javax/swing/MenuElement.java,
12137 javax/swing/OverlayLayout.java,
12138 javax/swing/ProgressMonitor.java,
12139 javax/swing/ProgressMonitorInputStream.java,
12140 javax/swing/Renderer.java,
12141 javax/swing/RootPaneContainer.java,
12142 javax/swing/Scrollable.java,
12143 javax/swing/SingleSelectionModel.java,
12144 javax/swing/ToolTipManager.java,
12145 javax/swing/ViewportLayout.java,
12146 javax/swing/event/DocumentEvent.java,
12147 javax/swing/event/SwingPropertyChangeSupport.java,
12148 javax/swing/event/TreeSelectionEvent.java,
12149 javax/swing/event/UndoableEditEvent.java,
12150 javax/swing/text/AbstractDocument.java,
12151 javax/swing/text/AttributeSet.java,
12152 javax/swing/text/Caret.java,
12153 javax/swing/text/ComponentView.java,
12154 javax/swing/text/DefaultCaret.java,
12155 javax/swing/text/DefaultEditorKit.java,
12156 javax/swing/text/Document.java,
12157 javax/swing/text/EditorKit.java,
12158 javax/swing/text/GapContent.java,
12159 javax/swing/text/Keymap.java,
12160 javax/swing/text/MutableAttributeSet.java,
12161 javax/swing/text/PlainEditorKit.java,
12162 javax/swing/text/Segment.java,
12163 javax/swing/text/Style.java,
12164 javax/swing/text/StyledDocument.java,
12165 javax/swing/text/StyledEditorKit.java,
12166 javax/swing/text/TextAction.java,
12167 javax/swing/text/View.java: Fixed import statements.
12168
12169 2004-01-08 Graydon Hoare <graydon@redhat.com>
12170
12171 * javax/swing/JLayeredPane.java: Rewrite to accomodate
12172 djee@redhat.com's recent inverse ordering of Container elements.
12173
12174 2004-01-09 Michael Koch <konqueror@gmx.de>
12175
12176 * gnu/java/lang/ArrayHelper.java
12177 (equalsArray): Removed.
12178
12179 2004-01-09 Andrew Haley <aph@redhat.com>
12180
12181 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12182 a Utf8Const field before looking at its class.
12183
12184 2004-01-09 Michael Koch <konqueror@gmx.de>
12185
12186 * javax/print/attribute/standard/DocumentName.java,
12187 javax/print/attribute/standard/JobHoldUntil.java,
12188 javax/print/attribute/standard/JobMessageFromOperator.java,
12189 javax/print/attribute/standard/JobName.java,
12190 javax/print/attribute/standard/JobOriginatingUserName.java,
12191 javax/print/attribute/standard/OutputDeviceAssigned.java,
12192 javax/print/attribute/standard/PrinterInfo.java,
12193 javax/print/attribute/standard/PrinterLocation.java,
12194 javax/print/attribute/standard/PrinterMakeAndModel.java,
12195 javax/print/attribute/standard/PrinterMessageFromOperator.java,
12196 javax/print/attribute/standard/PrinterName.java,
12197 javax/print/attribute/standard/RequestingUserName.java: New files.
12198 * Makefile.am (javax_source_files): Added new files.
12199 * Makefile.in: Regenerated.
12200
12201 2004-01-09 Michael Koch <konqueror@gmx.de>
12202
12203 * javax/swing/AbstractAction.java,
12204 javax/swing/AbstractSet.java,
12205 javax/swing/Action.java,
12206 javax/swing/ActionMap.java,
12207 javax/swing/BoundedRangeModel.java,
12208 javax/swing/ButtonModel.java,
12209 javax/swing/CellEditor.java,
12210 javax/swing/CellRendererPane.java,
12211 javax/swing/ComboBoxEditor.java,
12212 javax/swing/DebugGraphics.java,
12213 javax/swing/DefaultCellEditor.java,
12214 javax/swing/DefaultCellRenderer.java,
12215 javax/swing/DefaultComboBoxModel.java,
12216 javax/swing/DefaultDesktopManager.java,
12217 javax/swing/DefaultFocusManager.java,
12218 javax/swing/DefaultListCellRenderer.java,
12219 javax/swing/Icon.java,
12220 javax/swing/JButton.java,
12221 javax/swing/JCheckBoxMenuItem.java,
12222 javax/swing/JDesktopPane.java,
12223 javax/swing/JEditorPane.java,
12224 javax/swing/JMenu.java,
12225 javax/swing/JPanel.java,
12226 javax/swing/JPasswordField.java,
12227 javax/swing/JPopupMenu.java,
12228 javax/swing/JProgressBar.java: Reworked imports.
12229
12230 2004-01-09 Michael Koch <konqueror@gmx.de>
12231
12232 * java/awt/geom/PathIterator.java
12233 (WIND_EVEN_ODD): Removed redundant modifiers.
12234 (WIND_NON_ZERO): Likewise.
12235 (SEG_MOVETO): Likewise.
12236 (SEG_LINETO): Likewise.
12237 (SEG_QUADTO): Likewise.
12238 (SEG_CUBICTO): Likewise.
12239 (SEG_CLOSE): Likewise.
12240 * java/awt/image/SinglePixelPackedSampleModel.java:
12241 Removed redundant semicolon.
12242 * java/io/ObjectInputStream.java
12243 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12244 * java/util/logging/Filter.java
12245 (isLoggable): Removed redundant modifier.
12246 * java/util/logging/LogManager.java:
12247 Removed redundant semicolon.
12248 * java/util/logging/XMLFormatter.java
12249 (format): Removed unused variable "key".
12250
12251 2004-01-08 Fernando Nasser <fnasser@redhat.com>
12252
12253 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12254 New name for the former setFile native method.
12255 (setFile): New method.
12256 (setDirectory): Implemented.
12257 (connectSignals): New native method.
12258 (setFilenameFilter): Improve comment.
12259 (getGraphics): Comment.
12260 (gtkHideFileDialog): New method.
12261 (gtkDisposeFileDialog): New method.
12262 (gtkSetFilename): New method.
12263 * java/awt/Dialog.java (show): Block on modal dialogs, but only
12264 for FileDialog for now.
12265 (hide): New method.
12266 (dispose): New method.
12267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12268 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12269 deprecated creation functions. Make dialog modal. Add it to the
12270 window group.
12271 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12272 function.
12273 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12274 Rename to...
12275 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12276 name.
12277 (window_closed): New function.
12278 (ok_clicked): New function.
12279 (cancel_clicked): New function.
12280
12281 2004-01-08 Michael Koch <konqueror@gmx.de>
12282
12283 * javax/swing/JLayeredPane.java: Revert changes to standard
12284 boilerplate, reworked imports.
12285
12286 2004-01-07 Tom Tromey <tromey@redhat.com>
12287
12288 PR libgcj/13439:
12289 * verify.cc (state::merge): Copy changed locals out of subroutine
12290 in NO_STACK case.
12291 (state::FLAG_CHANGED): New const.
12292 (state::FLAG_UNUSED): Likewise.
12293 (state::local_changed): Removed. Updated all users.
12294 (state::flags): New field.
12295 (state::merge): Added jsr_semantics argument, more logic.
12296 (push_jump_merge): Added jsr_semantics argument.
12297 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12298 merging through the jsr instruction.
12299
12300 2004-01-07 Tom Tromey <tromey@redhat.com>
12301
12302 * scripts/MakeDefaultMimeTypes.java: Use \n, not
12303 backslash-newline.
12304
12305 2004-01-07 Graydon Hoare <graydon@redhat.com>
12306
12307 * java/awt/Container.java (LightweightDispatcher): Implement.
12308 (visitChild): Reuse graphics object.
12309 (dispatchEventImpl): Optionally dispatch to lightweight.
12310 (addNotifyContainerChildren): Build LightweightDispatcher.
12311
12312 2004-01-07 David Jee <djee@redhat.com>
12313
12314 * java/awt/Container.java
12315 (update): Clear only the clipped region, instead of clearing the
12316 entire Container.
12317 (visitChildren): Visit children in descending order.
12318
12319 2004-01-07 Michael Koch <konqueror@gmx.de>
12320
12321 * java/lang/reflect/Array.java: Merged documentation with classpath.
12322
12323 2004-01-07 Michael Koch <konqueror@gmx.de>
12324
12325 * java/text/CollationElementIterator.java
12326 (textIndex): Renamed from index.
12327 * java/text/CollationKey.java
12328 (collator): New member.
12329 (CollationKey): New argument for parent collator.
12330 (equals): Check for same collator, source string and key array.
12331 * java/text/RuleBasedCollator.java:
12332 Reformated.
12333 (RuleBasedCollator): Don't re-initialize frenchAccents with default
12334 value.
12335 (getCollationElementIterator): Rewritten.
12336 (getCollationKey): Added new argument to CollationKey constructor.
12337
12338 2004-01-07 Michael Koch <konqueror@gmx.de>
12339
12340 * gnu/java/nio/DatagramChannelImpl.java
12341 (blocking): Removed.
12342 (DatagramChannelImpl): Call configureBlocking().
12343 (implConfigureBlocking): Dont initialize blocking.
12344 * gnu/java/nio/ServerSocketChannelImpl.java
12345 (blocking): Removed.
12346 (ServerSocketChannelImpl): Call configureBlocking().
12347 (implConfigureBlocking): Dont initialize blocking.
12348 * gnu/java/nio/SocketChannelImpl.java
12349 (blocking): Removed.
12350 (SocketChannelImpl): Call configureBlocking().
12351 (implConfigureBlocking): Dont initialize blocking.
12352 (connect): Use isBlocking().
12353 * java/nio/channels/spi/AbstractSelectableChannel.java
12354 (configureBlocking): Use blockingLock() instead of LOCK.
12355 Set blocking after successfully called implConfigureBlocking().
12356 (register): Use blockingLock() instead of LOCK.
12357
12358 2004-01-07 Michael Koch <konqueror@gmx.de>
12359
12360 * java/net/ServerSocket.java (isBound): Fixed documentation.
12361
12362 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
12363
12364 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12365 (changeEvent): Create event object on demand.
12366 (DefaultBoundedRangeModel, toString, setValue, setExtent,
12367 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12368 fireStateChanged): Re-written.
12369 * javax/swing/event/EventListenerList.java: Reformatted, document
12370 typical usage.
12371 (toString): Implemented.
12372 (getListeners): Re-written.
12373 (remove): Re-written.
12374 (add): Re-written.
12375 (NO_LISTENERS): New singleton field.
12376 (listenerList): Declare as transient; document.
12377 (serialVersionUID): Document.
12378 (getListenerCount(Class)): More efficient implementation,
12379 also accepts null argument. Improve Javadoc.
12380 (getListenerCount()): Remove unnecessary cast; docfix.
12381 * javax/swing/undo/UndoableEditSupport.java:
12382 Re-format, document.
12383 (UndoableEditSupport): Set realSource field. Improve documentation.
12384 (_postEdit): Iterate over cloned listener vector.
12385 (toString): Don't emit realSource.
12386 (beginUpdate, endUpdate): Support nested updates.
12387 (postEdit): Use compound edit if present.
12388
12389 2004-01-06 Graydon Hoare <graydon@redhat.com>
12390
12391 * java/awt/Container.java (swapComponents): Add forgotten
12392 function, required for JLayeredPane change.
12393
12394 2004-01-06 Michael Koch <konqueror@gmx.de>
12395
12396 * java/text/CollationElementIterator.java: Reformated.
12397 (CollationElementIterator): Changed order of arguments.
12398 * java/text/RuleBasedCollator.java
12399 (RuleBasedCollator): Merged class documentation.
12400 (CollationElement): Added documentation.
12401 (compare): Reformated, renamed arguments.
12402 (equals): Likewise.
12403 (getCollationElementIterator): Likewise.
12404 (getCollationKey): Likewise.
12405
12406 2004-01-06 Graydon Hoare <graydon@redhat.com>
12407
12408 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12409
12410 2004-01-06 Michael Koch <konqueror@gmx.de>
12411
12412 * gnu/java/net/protocol/file/Connection.java:
12413 Reformated copyright.
12414 (hdrHash): Removed.
12415 (hdrVec): Removed.
12416 (gotHeaders): Removed.
12417 (getHeaderField): Removed.
12418 (getHeaderField): Removed.
12419 (getHeaderFieldKey): Removed.
12420 (getKey): Removed.
12421 (getField): Removed.
12422 (getHeaders): Removed.
12423
12424 2004-01-06 Michael Koch <konqueror@gmx.de>
12425
12426 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12427 javax/print/attribute/standard/DateTimeAtCreation.java,
12428 javax/print/attribute/standard/DateTimeAtProcessing.java,
12429 javax/print/attribute/standard/JobImpressionsCompleted.java,
12430 javax/print/attribute/standard/JobKOctets.java,
12431 javax/print/attribute/standard/JobKOctetsProcessed.java,
12432 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12433 javax/print/attribute/standard/JobPrioritySupported.java: New files.
12434 * Makefile.am (javax_source_files): Added new files.
12435 * Makefile.in: Regenerated.
12436
12437 2004-01-06 Michael Koch <konqueror@gmx.de>
12438
12439 * java/net/URLConnection.java
12440 (contentHandler): Removed.
12441 (locale): Removed.
12442 (getHeaderFields): Return an empty map instead of null.
12443 (getContent): Connect if needed, renamed "cType" to "type" and
12444 "contentHandler" to "ch" and made it a local variable.
12445 (getPermission): Don't use package in class name.
12446 (setDefaultRequestProperty): Fixed typo in documentation.
12447 (initializeDateFormats): Made locale a local variable.
12448
12449 2004-01-06 Michael Koch <konqueror@gmx.de>
12450
12451 * java/lang/Package.java
12452 (getPackage): Get the current class loader directly.
12453 * java/lang/SecurityManager.java
12454 (currentLoadedClass): Dont iterate over class contexts.
12455 (classLoaderDepth): Don't check class loaders if everything is allowed.
12456
12457 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12458
12459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12460 (pre_event_handler): Set all insets to 0 when a Configure event
12461 is received for a GtkPlug.
12462 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12463 Make handle long, not int.
12464 (EmbeddedWindow()): New constructor.
12465 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
12466 long, not int.
12467 (setHandle): New method.
12468 (getHandle): Return long, not int.
12469 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12470 declaration.
12471 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12472 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12473 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12474 argument to GdkNativeWindow.
12475 (construct): New method.
12476 (embed): New method.
12477
12478 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12480 (create(int, int)): New method.
12481 (create): Call new create method.
12482 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12483 methods.
12484 (childResized): Remove native implementation. Implement in
12485 Java.
12486 (getHScrollbarHeight, getVScrollbarWidth): Call
12487 gtk_widget_size_request to get scrollbar dimensions.
12488 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12489 call getVScrollbarWidth and getHScrollbarHeight when vertical
12490 and horizontal scrollbars respectively are needed.
12491 (doLayout): Enlarge child if it is smaller than the viewport.
12492
12493 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12494
12495 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12496 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12497 argument as per spec.
12498
12499 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12500
12501 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12502 (insert): Ditto.
12503 (remove): Ditto. Also, Check for valid argument.
12504 (removeAll): Use peer interface method.
12505 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12506 native add function.
12507 (nativeRemove): New name for native remove function.
12508 (getHistory): New native function.
12509 (constructor): Generate ItemEvent.
12510 (add): Ditto, if selection is changed.
12511 (remove): Ditto, ditto.
12512 (removeAll): Add implementation.
12513 (handleEvent): Remove. Dead code.
12514 (choicePostItemEvent): Add comment.
12515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12516 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12517 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12518 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12519 comments and fix condition to change selection.
12520 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12521 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12522 remove all capability.
12523 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12524 (item_activate): Add cast to remove compiler warning.
12525
12526 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12527
12528 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12530 (getPreferredSize): Call preferredSize.
12531 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12532 (getMinimumSize): Call minimumSize.
12533 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12534 (gtkWidgetGetDimensions): Return the peer widget's current size
12535 request.
12536 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12537 natural size request.
12538
12539 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12540
12541 Thanks to Brian Gough <bjg@network-theory.com>
12542 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12543 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12544
12545 2004-01-04 Matthias Klose <doko@debian.org>
12546
12547 * aclocal.m4: Rebuilt using "aclocal -I .".
12548 * configure: Rebuilt.
12549
12550 2004-01-03 Per Bothner <per@bothner.com>
12551
12552 * java/util/Date.java (parse): Fix a number of problems.
12553 (skipParens): Remove no-longer-needed method.
12554