1 2004-11-11 Robert Schuster <thebohemian@gmx.net>
4 * gnu/java/beans/IntrospectionIncubator.java:
5 (addMethod): corrected classification of normal and property methods
6 (capitalize): added documentation
7 (DoubleKey): [class] added documentation
9 2004-11-09 Tom Tromey <tromey@redhat.com>
11 * include/jni.h: Added FIXME.
13 2004-11-08 Tom Tromey <tromey@redhat.com>
15 * java/util/GregorianCalendar.java: Removed unused imports.
16 * java/util/Vector.java: Removed unused import.
18 2004-11-07 Michael Koch <konqueror@gmx.de>
20 * java/lang/Process.java:
23 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
25 * java/util/zip/ZipEntry.java
26 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
28 2004-11-07 Robert Schuster <theBohemian@gmx.net>
31 * gnu/java/beans/IntrospectionIncubator.java:
32 (addMethod): static methods are discarded now, too.
34 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
36 * java/util/GregorianCalendar.java
37 Added/amended documentation.
39 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
41 * java/util/Collections.java
43 * java/util/SortedMap.java
44 Clarified some method examples.
45 * java/util/SortedSet.java
46 Clarified some method examples.
48 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
50 * java/util/Currency.java
51 Documented variables and methods more fully.
52 Caches the currency instances, so that a request
53 for a locale, l, only ever returns the same
54 instance (i.e. successive calls to getInstance(l)
55 are reference equivalent (==)).
57 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
60 Added missing documentation.
62 2004-11-06 Michael Koch <konqueror@gmx.de>
64 * java/util/zip/CheckedInputStream.java,
65 java/util/zip/InflaterInputStream.java,
66 java/util/zip/ZipFile.java,
67 java/util/zip/ZipInputStream.java:
70 2004-11-06 Tom Tromey <tromey@redhat.com>
72 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
74 (connections): Likewise.
75 (scavenger): Likewise.
76 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
78 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
81 * gnu/classpath/ServiceFactory.java (log): Now package-private.
83 2004-11-06 Tom Tromey <tromey@redhat.com>
85 * javax/naming/directory/BasicAttributes.java (attributes): Now
87 * javax/imageio/spi/ServiceRegistry.java (categories): Now
90 2004-11-06 Tom Tromey <tromey@redhat.com>
92 * java/net/URLClassLoader.java (URLClassLoader): Now
94 * java/nio/charset/CoderResult.java (CoderResult): Now
97 (Cache): Likewise. Don't synchronize on `this'.
98 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
100 * java/util/TimeZone.java (timezones): Now package-private.
102 2004-11-06 Tom Tromey <tromey@redhat.com>
104 * java/security/Permissions.java (perms): Now package-private.
105 * java/security/UnresolvedPermission.java (permissions): Now
108 2004-11-06 Tom Tromey <tromey@redhat.com>
110 * java/io/FilePermission.java: Reindented.
112 2004-11-06 Tom Tromey <tromey@redhat.com>
114 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
116 (setBlockDataMode): Likewise.
118 2004-11-06 Tom Tromey <tromey@redhat.com>
120 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
123 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
125 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
129 2004-11-06 Mark Wielaard <mark@klomp.org>
131 * Makefile.am: Add new javax.imageio files.
132 * Makefile.in: Regenerated.
134 2004-11-06 Michael Koch <konqueror@gmx.de>
136 * javax/imageio/event/IIOReadProgressListener.java,
137 javax/imageio/event/IIOReadUpdateListener.java,
138 javax/imageio/event/IIOReadWarningListener.java,
139 javax/imageio/event/IIOWriteProgressListener.java,
140 javax/imageio/event/IIOWriteWarningListener.java,
141 javax/imageio/metadata/IIOMetadataFormat.java,
142 javax/imageio/stream/FileCacheImageInputStream.java,
143 javax/imageio/stream/FileCacheImageOutputStream.java,
144 javax/imageio/stream/ImageInputStreamImpl.java:
146 * javax/imageio/metadata/package.html: New file.
148 2004-11-06 Michael Koch <konqueror@gmx.de>
150 * javax/imageio/spi/ImageReaderSpi.java
151 (isOwnReader): New method.
152 * javax/imageio/spi/ImageWriterSpi.java
153 (isOwnWriter): Likewise.
155 2004-11-06 Michael Koch <konqueror@gmx.de>
157 * javax/imageio/ImageWriter.java
158 (convertImageMetadata): New abstract method.
159 (convertStreamMetadata): Likewise.
161 * javax/imageio/stream/FileCacheImageInputStream.java
162 (close): Fixed setting of stream to null.
163 (checkStreamClosed): Throws IOException.
165 2004-11-06 Michael Koch <konqueror@gmx.de>
167 * javax/imageio/stream/FileCacheImageInputStream.java,
168 javax/imageio/stream/FileCacheImageOutputStream.java,
169 javax/imageio/stream/FileImageInputStream.java,
170 javax/imageio/stream/FileImageOutputStream.java,
171 javax/imageio/stream/MemoryCacheImageInputStream.java,
172 javax/imageio/stream/MemoryCacheImageOutputStream.java:
175 2004-11-06 Michael Koch <konqueror@gmx.de>
177 * javax/imageio/metadata/IIOInvalidTreeException.java,
178 javax/imageio/metadata/IIOMetadataFormatImpl.java,
179 javax/imageio/metadata/IIOMetadataNode.java:
182 2004-11-06 Michael Koch <konqueror@gmx.de>
184 * javax/imageio/stream/ImageInputStreamImpl.java,
185 javax/imageio/stream/ImageOutputStreamImpl.java:
188 2004-11-06 Michael Koch <konqueror@gmx.de>
190 * javax/imageio/ImageIO.java:
191 Added much new methods.
193 2004-11-06 Michael Koch <konqueror@gmx.de>
195 * javax/imageio/ImageReader.java,
196 javax/imageio/ImageWriter.java,
197 javax/imageio/spi/ImageWriterSpi.java:
198 Add SOME new methods.
200 2004-11-06 Michael Koch <konqueror@gmx.de>
202 * javax/imageio/IIOParam.java,
203 javax/imageio/ImageReadParam.java,
204 javax/imageio/ImageReader.java,
205 javax/imageio/ImageWriter.java:
207 * javax/imageio/spi/ImageReaderSpi.java,
208 javax/imageio/spi/ImageWriterSpi.java:
211 2004-11-06 Michael Koch <konqueror@gmx.de>
213 * javax/imageio/ImageWriteParam.java,
214 javax/imageio/metadata/IIOMetadataFormat.java:
217 2004-11-06 Michael Koch <konqueror@gmx.de>
219 * javax/imageio/ImageTypeSpecifier.java:
222 2004-11-06 Michael Koch <konqueror@gmx.de>
224 * javax/imageio/metadata/IIOMetadata.java:
227 2004-11-06 Michael Koch <konqueror@gmx.de>
229 * javax/imageio/IIOImage.java,
230 javax/imageio/ImageReadParam.java,
231 javax/imageio/metadata/IIOMetadataController.java,
232 javax/imageio/metadata/IIOMetadataFormat.java:
234 * javax/imageio/stream/ImageOutputStream.java:
237 2004-11-06 Michael Koch <konqueror@gmx.de>
239 * javax/imageio/IIOParam.java,
240 javax/imageio/IIOParamController.java,
241 javax/imageio/ImageTypeSpecifier.java,
242 javax/imageio/ImageWriteParam.java,
243 javax/imageio/metadata/IIOMetadata.java:
245 * javax/imageio/ImageTranscoder.java:
248 2004-11-06 Michael Koch <konqueror@gmx.de>
250 * javax/imageio/spi/ImageInputStreamSpi.java,
251 javax/imageio/spi/ImageOutputStreamSpi.java:
252 Reworked import startments.
253 * javax/imageio/spi/ServiceRegistry.java:
254 Reworked import startments. Fixed XHTML in javadocs.
255 (ServiceRegistry): Added @param tag to javadoc.
256 * javax/imageio/stream/ImageInputStream.java
257 (mark): Doesn't throws IOException;
259 2004-11-06 Michael Koch <konqueror@gmx.de>
261 * javax/imageio/ImageIO.java:
264 2004-11-06 Michael Koch <konqueror@gmx.de>
266 * javax/imageio/spi/IIORegistry.java
267 (static): Don't register ImageReaderSpi.class and
268 ImageWriterSpi.class yet.
270 2004-11-06 Michael Koch <konqueror@gmx.de>
272 * javax/imageio/spi/IIORegistry.java:
275 2004-11-06 Noa Resare <noa@resare.com>
277 * java/net/Socket.java (getPort): Return 0 instead of -1 on
280 2004-11-06 Michael Koch <konqueror@gmx.de>
282 * java/lang/StringBuffer.java,
283 java/lang/Throwable.java,
284 java/security/spec/DSAParameterSpec.java,
285 java/util/zip/ZipEntry.java,
286 java/util/zip/ZipFile.java,
287 java/util/zip/ZipInputStream.java,
288 java/util/zip/ZipOutputStream.java:
289 Removed redundant and reordered modifiers.
291 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
293 * java/io/Vector.java
294 (writeObject): New function to serialized output thread safe.
296 * java/io/ObjectOutputStream.java
297 (writeObject): Move the assignment of the class handle to after
298 the assignment of class descriptor handle.
300 2004-11-06 Robert Schuster <thebohemian@gmx.net>
302 Fixes documentation and indentation
303 * java/beans/PropertyEditorSupport.java:
304 reworked initial API doc
305 (value): changed name from val
307 2004-11-06 Robert Schuster <thebohemian@gmx.net>
310 * java/beans/PropertyEditorSupport.java
311 (PropertyEditorSupport()): Changed modifier to public
312 (PropertyEditorSupport(Object): Changed modifier to public
313 (setSource): New method
314 (getSource): New method
316 2004-11-06 Robert Schuster <thebohemian@gmx.net>
319 * java/beans/PropertyEditorSupport.java
320 (setValue): Fire property change event
322 2004-11-03 Tom Tromey <tromey@redhat.com>
324 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
325 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
326 returns jobjectArray.
327 (_Jv_JNIEnv::NewObjectArray): Likewise.
329 2004-11-01 Tom Tromey <tromey@redhat.com>
331 * verify.cc (state::check_no_uninitialized_objects): Removed.
332 (push_jump): Updated.
333 (push_exception_jump): Likewise.
334 (handle_ret_insn): Likewise.
335 (handle_jsr_insn): Likewise.
337 2004-10-30 Mark Wielaard <mark@klomp.org>
340 * java/lang/Runtime.java (static): Call init().
341 (Runtime): Remove call to init().
344 2004-10-28 David Daney <ddaney@avtrex.com>
346 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
347 * Makefile.am: Build it.
348 * Makefile.in: Regenerate.
350 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
353 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
355 * Makefile.in: Regenerate.
356 * configure: Regenerate.
357 * configure.ac (CLASSPATH_SEPARATOR): Define.
358 * gcj/Makefile.in: Regenerate.
359 * include/Makefile.in: Regenerate.
360 * testsuite/Makefile.in: Regenerate.
361 * testsuite/lib/libjava.exp (libjava_arguments): Fix
362 CLASSPATH separator handling for Windows.
364 2004-10-26 Michael Koch <konqueror@gmx.de>
366 * gnu/java/net/protocol/http/Connection.java
367 (getOutputStream): Implicitely switch to POST method.
369 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
371 * libjava/java/lang/Class.h
372 (java::lang::Class): Correct friend class declaration.
374 2004-10-25 Geoffrey Keating <geoffk@apple.com>
376 * Makefile.am (DARWIN_CRT_SRC): New.
377 (libgcj_la_SOURCES): Use it.
378 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
379 * darwin.cc: New file.
380 * include/jvm.h (_Jv_RegisterClasses): Constify.
381 (_Jv_RegisterClasses_Counted): New prototype.
382 * java/lang/Class.h: Include stddef.h.
383 (_Jv_RegisterClasses): Constify.
384 (_Jv_RegisterClasses_Counted): New prototype.
385 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
386 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
387 (_Jv_RegisterClasses_Counted): New function.
388 * configure: Regenerate.
389 * Makefile.in: Regenerate.
390 * gcj/Makefile.in: Regenerate.
391 * include/Makefile.in: Regenerate.
392 * testsuite/Makefile.in: Regenerate.
394 2004-10-25 Tom Tromey <tromey@redhat.com>
396 * java/util/ResourceBundle.java (tryBundle): Use
397 Class.isAssignableFrom rather than catching ClassCastException.
399 2004-10-25 Tom Tromey <tromey@redhat.com>
401 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
403 * gnu/java/text/SentenceBreakIterator.java
404 (SentenceBreakIterator): Don't initialize `iter'.
405 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
407 * gnu/java/text/CharacterBreakIterator.java
408 (CharacterBreakIterator): Don't initialize `iter'.
409 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
411 * java/text/BreakIterator.java: Updated documentation.
413 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
416 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
418 2004-10-23 Michael Koch <konqueror@gmx.de>
420 * javax/print/DocFlavor.java,
421 javax/print/attribute/standard/JobStateReason.java,
422 javax/print/attribute/standard/MultipleDocumentHandling.java:
423 Added missing constants.
425 2004-10-22 Tom Tromey <tromey@redhat.com>
427 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
430 2004-10-22 Michael Koch <konqueror@gmx.de>
433 * gnu/java/net/protocol/http/Connection.java
434 (sendRequest): Handle case when url.getFile() returns an empty string.
436 2004-10-22 Michael Koch <konqueror@gmx.de>
438 * java/lang/Math.java,
439 java/lang/StackTraceElement.java,
440 java/nio/Buffer.java,
441 java/nio/ByteBuffer.java,
442 java/nio/CharBuffer.java,
443 java/nio/DoubleBuffer.java,
444 java/nio/FloatBuffer.java,
445 java/nio/IntBuffer.java,
446 java/nio/LongBuffer.java,
447 java/nio/ShortBuffer.java,
448 java/nio/charset/Charset.java,
449 java/rmi/server/RMIClassLoader.java,
450 java/rmi/server/RMISocketFactory.java,
451 java/security/Policy.java,
452 java/text/ChoiceFormat.java,
453 java/text/CollationElementIterator.java,
454 java/text/DateFormat.java,
455 java/text/DecimalFormat.java,
456 java/text/DecimalFormatSymbols.java,
457 java/text/MessageFormat.java,
458 java/text/NumberFormat.java,
459 java/text/RuleBasedCollator.java,
460 java/text/SimpleDateFormat.java,
461 java/util/BitSet.java,
462 java/util/Calendar.java,
463 java/util/Collections.java,
464 java/util/IdentityHashMap.java,
465 java/util/Locale.java,
466 java/util/TreeMap.java,
467 java/util/logging/LogRecord.java,
468 java/util/logging/XMLFormatter.java,
469 java/util/prefs/AbstractPreferences.java,
470 java/util/prefs/Preferences.java,
471 javax/crypto/interfaces/DHPrivateKey.java,
472 javax/crypto/interfaces/DHPublicKey.java,
473 javax/crypto/interfaces/PBEKey.java,
474 javax/net/ssl/HandshakeCompletedEvent.java,
475 javax/security/auth/Subject.java:
476 Removed redundant and reordered modifiers.
478 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
480 * gnu/java/net/natPlainSocketImplPosix.cc
481 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
482 with 'int *' argument instead of 'long *'.
484 2004-10-21 Michael Koch <konqueror@gmx.de>
486 * java/net/NetworkInterface.java,
487 java/text/Format.java,
488 javax/security/auth/x500/X500Principal.java,
489 javax/security/auth/x500/X500PrivateCredential.java,
490 javax/security/cert/X509CertBridge.java,
491 javax/security/sasl/Sasl.java,
492 javax/sql/XAConnection.java:
495 2004-10-21 Michael Koch <konqueror@gmx.de>
497 * javax/net/ssl/HandshakeCompletedEvent.java,
498 javax/net/ssl/KeyManagerFactory.java,
499 javax/net/ssl/SSLContext.java,
500 javax/net/ssl/SSLServerSocketFactory.java,
501 javax/net/ssl/SSLSession.java,
502 javax/net/ssl/SSLSocketFactory.java,
503 javax/net/ssl/TrustManagerFactory.java:
506 2004-10-21 Michael Koch <konqueror@gmx.de>
508 * javax/naming/directory/BasicAttribute.java,
509 javax/naming/directory/BasicAttributes.java,
510 javax/naming/directory/InitialDirContext.java,
511 javax/naming/event/NamingEvent.java,
512 javax/naming/ldap/ControlFactory.java,
513 javax/naming/ldap/ExtendedRequest.java,
514 javax/naming/ldap/InitialLdapContext.java,
515 javax/naming/ldap/LdapReferralException.java,
516 javax/naming/spi/DirObjectFactory.java,
517 javax/naming/spi/DirStateFactory.java,
518 javax/naming/spi/DirectoryManager.java,
519 javax/naming/spi/InitialContextFactory.java,
520 javax/naming/spi/InitialContextFactoryBuilder.java,
521 javax/naming/spi/NamingManager.java,
522 javax/naming/spi/ObjectFactory.java,
523 javax/naming/spi/ObjectFactoryBuilder.java,
524 javax/naming/spi/StateFactory.java:
527 2004-10-21 Michael Koch <konqueror@gmx.de>
529 * javax/crypto/Cipher.java,
530 javax/crypto/EncryptedPrivateKeyInfo.java,
531 javax/crypto/ExemptionMechanism.java,
532 javax/crypto/KeyAgreement.java,
533 javax/crypto/KeyGenerator.java,
534 javax/crypto/Mac.java,
535 javax/crypto/SecretKeyFactory.java,
536 javax/crypto/SecretKeyFactorySpi.java,
537 javax/crypto/spec/SecretKeySpec.java:
540 2004-10-21 Michael Koch <konqueror@gmx.de>
542 * java/security/AlgorithmParameterGenerator.java,
543 java/security/AlgorithmParameters.java,
544 java/security/AlgorithmParametersSpi.java,
545 java/security/AllPermission.java,
546 java/security/BasicPermission.java,
547 java/security/Certificate.java,
548 java/security/CodeSource.java,
549 java/security/DigestInputStream.java,
550 java/security/DigestOutputStream.java,
551 java/security/GuardedObject.java,
552 java/security/KeyFactory.java,
553 java/security/KeyFactorySpi.java,
554 java/security/KeyPairGenerator.java,
555 java/security/KeyStore.java,
556 java/security/KeyStoreSpi.java,
557 java/security/Permissions.java,
558 java/security/Security.java,
559 java/security/Signature.java,
560 java/security/UnresolvedPermission.java,
561 java/security/cert/CertPathBuilder.java,
562 java/security/cert/CertPathValidator.java,
563 java/security/cert/CertStore.java,
564 java/security/cert/Certificate.java,
565 java/security/cert/CertificateFactory.java,
566 java/security/cert/PolicyQualifierInfo.java,
567 java/security/cert/TrustAnchor.java,
568 java/security/cert/X509CRL.java,
569 java/security/cert/X509CRLSelector.java,
570 java/security/cert/X509CertSelector.java:
573 2004-10-21 Michael Koch <konqueror@gmx.de>
575 * java/rmi/MarshalledObject.java,
576 java/rmi/Naming.java,
577 java/rmi/activation/Activatable.java,
578 java/rmi/activation/ActivationGroup.java,
579 java/rmi/activation/ActivationGroupDesc.java,
580 java/rmi/activation/ActivationInstantiator.java,
581 java/rmi/activation/ActivationMonitor.java,
582 java/rmi/activation/ActivationSystem.java,
583 java/rmi/activation/Activator.java,
584 java/rmi/registry/LocateRegistry.java,
585 java/rmi/registry/Registry.java,
586 java/rmi/server/LogStream.java,
587 java/rmi/server/ObjID.java,
588 java/rmi/server/RMIClientSocketFactory.java,
589 java/rmi/server/RMIServerSocketFactory.java,
590 java/rmi/server/RMISocketFactory.java,
591 java/rmi/server/RemoteCall.java,
592 java/rmi/server/RemoteServer.java,
593 java/rmi/server/ServerRef.java,
594 java/rmi/server/UID.java,
595 java/rmi/server/UnicastRemoteObject.java:
598 2004-10-21 Tom Tromey <tromey@redhat.com>
600 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
601 exception if we hit EOF of `in'.
602 (read): Handle case where inflating returns -1.
604 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
606 * gnu/java/nio/channels/natFileChannelPosix.cc
607 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
608 argument instead of 'long *'.
610 2004-10-21 Tom Tromey <tromey@redhat.com>
612 * java/util/ResourceBundle.java (tryBundle): Also ignore
615 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
617 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
618 for all sh*-*-linux* targets.
619 * configure: Regenerate.
620 * include/sh-signal.h: New file.
622 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
624 * java/lang/ieeefp.h: Add m32r support.
626 2004-10-20 Andreas Schwab <schwab@suse.de>
628 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
630 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
633 2004-10-20 Michael Koch <konqueror@gmx.de>
635 * javax/print/attribute/standard/ColorSupported.java,
636 javax/print/attribute/standard/Compression.java,
637 javax/print/attribute/standard/Copies.java,
638 javax/print/attribute/standard/CopiesSupported.java,
639 javax/print/attribute/standard/DateTimeAtCompleted.java,
640 javax/print/attribute/standard/DateTimeAtCreation.java,
641 javax/print/attribute/standard/DateTimeAtProcessing.java,
642 javax/print/attribute/standard/DocumentName.java,
643 javax/print/attribute/standard/Fidelity.java,
644 javax/print/attribute/standard/Finishings.java,
645 javax/print/attribute/standard/JobHoldUntil.java,
646 javax/print/attribute/standard/JobImpressions.java,
647 javax/print/attribute/standard/JobImpressionsCompleted.java,
648 javax/print/attribute/standard/JobImpressionsSupported.java,
649 javax/print/attribute/standard/JobKOctets.java,
650 javax/print/attribute/standard/JobKOctetsProcessed.java,
651 javax/print/attribute/standard/JobKOctetsSupported.java,
652 javax/print/attribute/standard/JobMediaSheets.java,
653 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
654 javax/print/attribute/standard/JobMediaSheetsSupported.java,
655 javax/print/attribute/standard/JobMessageFromOperator.java,
656 javax/print/attribute/standard/JobName.java,
657 javax/print/attribute/standard/JobOriginatingUserName.java,
658 javax/print/attribute/standard/JobPriority.java,
659 javax/print/attribute/standard/JobPrioritySupported.java,
660 javax/print/attribute/standard/JobSheets.java,
661 javax/print/attribute/standard/JobState.java,
662 javax/print/attribute/standard/JobStateReason.java,
663 javax/print/attribute/standard/JobStateReasons.java,
664 javax/print/attribute/standard/Media.java,
665 javax/print/attribute/standard/MultipleDocumentHandling.java,
666 javax/print/attribute/standard/NumberOfDocuments.java,
667 javax/print/attribute/standard/NumberOfInterveningJobs.java,
668 javax/print/attribute/standard/NumberUp.java,
669 javax/print/attribute/standard/NumberUpSupported.java,
670 javax/print/attribute/standard/OrientationRequested.java,
671 javax/print/attribute/standard/OutputDeviceAssigned.java,
672 javax/print/attribute/standard/PDLOverrideSupported.java,
673 javax/print/attribute/standard/PageRanges.java,
674 javax/print/attribute/standard/PagesPerMinute.java,
675 javax/print/attribute/standard/PagesPerMinuteColor.java,
676 javax/print/attribute/standard/PrintQuality.java,
677 javax/print/attribute/standard/PrinterInfo.java,
678 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
679 javax/print/attribute/standard/PrinterLocation.java,
680 javax/print/attribute/standard/PrinterMakeAndModel.java,
681 javax/print/attribute/standard/PrinterMessageFromOperator.java,
682 javax/print/attribute/standard/PrinterMoreInfo.java,
683 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
684 javax/print/attribute/standard/PrinterName.java,
685 javax/print/attribute/standard/PrinterStateReason.java,
686 javax/print/attribute/standard/PrinterStateReasons.java,
687 javax/print/attribute/standard/PrinterURI.java,
688 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
689 javax/print/attribute/standard/RequestingUserName.java:
690 Reorganized imports and removed redundant final modifiers.
692 2004-10-20 Michael Koch <konqueror@gmx.de>
694 * javax/security/sasl/SaslClient.java,
695 javax/security/sasl/SaslClientFactory.java,
696 javax/security/sasl/SaslException.java,
697 javax/security/sasl/SaslServer.java,
698 javax/security/sasl/SaslServerFactory.java:
701 2004-10-20 Michael Koch <konqueror@gmx.de>
703 * javax/security/auth/login/NullConfiguration.java,
704 javax/security/auth/x500/X500Principal.java,
705 javax/security/cert/X509Certificate.java,
706 javax/security/sasl/AuthenticationException.java,
707 javax/security/sasl/AuthorizeCallback.java,
708 javax/security/sasl/RealmCallback.java,
709 javax/security/sasl/RealmChoiceCallback.java,
710 javax/security/sasl/Sasl.java,
711 javax/security/sasl/SaslClient.java,
712 javax/security/sasl/SaslClientFactory.java,
713 javax/security/sasl/SaslException.java,
714 javax/security/sasl/SaslServer.java,
715 javax/security/sasl/SaslServerFactory.java:
716 Cleaned up import statements and copyright notices.
718 2004-10-20 Michael Koch <konqueror@gmx.de>
720 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
722 2004-10-20 Michael Koch <konqueror@gmx.de>
724 * java/sql/Timestamp.java,
725 java/text/AttributedCharacterIterator.java,
726 java/text/AttributedString.java,
727 java/util/zip/CheckedOutputStream.java,
728 java/util/zip/DeflaterOutputStream.java,
729 java/util/zip/ZipFile.java,
730 javax/crypto/Cipher.java,
731 javax/crypto/ExemptionMechanismException.java,
732 javax/crypto/SecretKey.java,
733 javax/crypto/SecretKeyFactory.java,
734 javax/naming/directory/ModificationItem.java,
735 javax/naming/directory/SearchControls.java,
736 javax/naming/event/NamingListener.java,
737 javax/naming/ldap/Control.java,
738 javax/naming/ldap/ExtendedResponse.java,
739 javax/net/ssl/SSLSocketFactory.java:
740 Reorganized imports and fixed copyright headers.
742 2004-10-20 Michael Koch <konqueror@gmx.de>
744 * java/util/logging/ConsoleHandler.java,
745 java/util/logging/ErrorManager.java,
746 java/util/logging/FileHandler.java,
747 java/util/logging/Filter.java,
748 java/util/logging/Formatter.java,
749 java/util/logging/Handler.java,
750 java/util/logging/Level.java,
751 java/util/logging/LogManager.java,
752 java/util/logging/LogRecord.java,
753 java/util/logging/Logger.java,
754 java/util/logging/LoggingPermission.java,
755 java/util/logging/MemoryHandler.java,
756 java/util/logging/SimpleFormatter.java,
757 java/util/logging/SocketHandler.java,
758 java/util/logging/StreamHandler.java,
759 java/util/logging/XMLFormatter.java:
760 Standardized copyrigth header.
762 2004-10-20 Michael Koch <konqueror@gmx.de>
764 * java/security/AlgorithmParameterGenerator.java,
765 java/security/AlgorithmParameters.java,
766 java/security/DigestInputStream.java,
767 java/security/Identity.java,
768 java/security/KeyFactory.java,
769 java/security/KeyPairGenerator.java,
770 java/security/KeyStore.java,
771 java/security/MessageDigest.java,
772 java/security/MessageDigestSpi.java,
773 java/security/Policy.java,
774 java/security/SecureRandom.java,
775 java/security/Security.java,
776 java/security/Signature.java,
777 java/security/SignatureSpi.java,
778 java/security/cert/CertPathBuilder.java,
779 java/security/cert/CertPathValidator.java,
780 java/security/cert/CertStore.java,
781 java/security/cert/Certificate.java,
782 java/security/cert/CertificateFactory.java,
783 java/security/cert/PolicyQualifierInfo.java,
784 java/security/cert/TrustAnchor.java,
785 java/security/cert/X509CRL.java,
786 java/security/cert/X509CRLEntry.java,
787 java/security/cert/X509Certificate.java,
788 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
789 Import statements reorganized, some little formatting issues,
790 used java-style array declarations, added comments in empty catch
793 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
795 * java/security/Security.java
796 (static): Use AccessController.doPrivileged to get system property.
798 2004-10-18 Sven de Marothy <sven@physto.se>
800 * java/nio/ByteBufferHelper.java
801 (putDouble): Use Double.toRawLongBits instead.
803 2004-10-18 Mark Wielaard <mark@klomp.org>
804 Andrew Haley <aph@redhat.com>
806 * testsuite/libjava.lang/ExtraClassLoader.java: New.
808 2004-10-18 Andrew Haley <aph@redhat.com>
811 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
812 and correct logic used to find interpreter.
814 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
816 * java/util/logging/LogManager.java
817 (findAncestor): Fixed IndexOutOfBoundsException.
819 2004-10-18 Michael Koch <konqueror@gmx.de>
821 * java/io/BufferedInputStream.java: Fixed @author tag.
822 (read): Simplified expression.
823 (read): Merged javadoc a bit more.
824 (read): Renamed 'remain' to 'totalBytesRead'.
825 * java/io/DataInputStream.java,
826 java/io/DataOutputStream.java,
827 java/io/ObjectInputStream.java,
828 java/io/ObjectOutputStream.java:
829 Reworked modifier order.
831 2004-10-18 Michael Koch <konqueror@gmx.de>
833 * java/net/Inet4Address.java: Merged file header and javadocs.
834 * java/net/Inet6Address.java: Likewise.
835 * java/net/InetAddress.java
836 (getCanonicalHostName): Create Inet4Address object instead of
837 InetAddress and add comment regarding IPv6.
838 (toString): Simplified.
840 2004-10-18 Michael Koch <konqueror@gmx.de>
842 * gnu/java/net/protocol/http/Connection.java,
843 java/nio/MappedByteBufferImpl.java,
844 java/text/RuleBasedCollator.java,
845 java/util/ResourceBundle.java:
846 Reworked import statements.
848 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
850 * java/security/IdentityScope.java
851 (systemScope): Removed useless initializer.
852 * java/security/Policy.java
853 (currentPolicy): Likewise.
855 2004-10-18 Michael Koch <konqueror@gmx.de>
857 * java/lang/System.java: Revert accidential change.
859 2004-10-18 Michael Koch <konqueror@gmx.de>
861 * java/lang/Math.java,
862 java/lang/Package.java,
863 java/lang/Runtime.java,
864 java/lang/StrictMath.java,
865 java/lang/System.java,
866 java/lang/Thread.java,
867 java/lang/ThreadLocal.java,
869 Reworked import statements, HTML in javadocs and modifier orders.
871 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
873 * java/util/Timer.java
874 (nr): Removed useless initializer.
875 * java/util/logging/LogRecord.java
876 (lastSeqNum): Likewise.
877 * javax/naming/spi/NamingManager.java
878 (icfb, ofb): Likewise.
880 2004-10-18 Michael Koch <konqueror@gmx.de>
882 * gnu/java/net/PlainDatagramSocketImpl.java:
883 Reworked import statements.
884 * gnu/java/security/provider/DSAParameters.java:
885 Fixed copyrigth years.
886 * java/net/JarURLConnection.java:
887 Fixed HTML in @author tags.
890 2004-10-18 Michael Koch <konqueror@gmx.de>
892 * java/rmi/activation/ActivationSystem.java
893 (SYSTEM_PORT): Initialize with correct port number.
895 2004-10-18 Michael Koch <konqueror@gmx.de>
897 * java/lang/reflect/Proxy.java: Improved javadocs.
899 2004-10-18 Michael Koch <konqueror@gmx.de>
901 * java/lang/reflect/AccessibleObject.java
902 (checkPermission): Removed redundant final modifier.
903 (secureSetAccessible): Likewise.
904 * java/lang/reflect/Proxy.java:
905 Reworked import statements.
906 (generate): Removed redundant final modifier.
907 * java/lang/reflect/ReflectPermission.java:
908 Reorder package declaration and import statement.
910 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
912 * java/lang/reflect/Proxy.java
913 (count): Removed useless initializer.
915 2004-10-17 Michael Koch <konqueror@gmx.de>
917 * java/net/BindException.java,
918 java/net/ConnectException.java,
919 java/net/ContentHandler.java,
920 java/net/ContentHandlerFactory.java,
921 java/net/DatagramPacket.java,
922 java/net/DatagramSocket.java,
923 java/net/DatagramSocketImpl.java,
924 java/net/DatagramSocketImplFactory.java,
925 java/net/FileNameMap.java,
926 java/net/HttpURLConnection.java,
927 java/net/MalformedURLException.java,
928 java/net/MulticastSocket.java,
929 java/net/NetworkInterface.java,
930 java/net/NoRouteToHostException.java,
931 java/net/PasswordAuthentication.java,
932 java/net/PortUnreachableException.java,
933 java/net/ProtocolException.java,
934 java/net/ServerSocket.java,
935 java/net/Socket.java,
936 java/net/SocketException.java,
937 java/net/SocketImpl.java,
938 java/net/SocketImplFactory.java,
939 java/net/SocketOptions.java,
940 java/net/SocketPermission.java,
941 java/net/SocketTimeoutException.java,
943 java/net/URISyntaxException.java,
945 java/net/URLDecoder.java,
946 java/net/URLEncoder.java,
947 java/net/URLStreamHandler.java,
948 java/net/URLStreamHandlerFactory.java,
949 java/net/UnknownHostException.java,
950 java/net/UnknownServiceException.java:
951 Big import statement and @author tag cleanup.
953 2004-10-17 Michael Koch <konqueror@gmx.de>
955 * gnu/java/security/OID.java,
956 gnu/java/security/provider/DSAParameters.java,
957 gnu/java/security/provider/DSASignature.java,
958 gnu/java/security/x509/X500DistinguishedName.java,
959 gnu/java/security/x509/X509CRL.java:
960 Import statements cleaned up.
962 2004-10-16 Michael Koch <konqueror@gmx.de>
964 * gnu/java/nio/NIODatagramSocket.java,
965 gnu/java/nio/ServerSocketChannelImpl.java:
966 Reorganized import statements.
968 2004-10-16 Michael Koch <konqueror@gmx.de>
970 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
971 gnu/java/rmi/rmic/RMIC.java,
972 gnu/java/rmi/server/RMIHashes.java,
973 gnu/java/rmi/server/RMIObjectInputStream.java,
974 gnu/java/rmi/server/RMIObjectOutputStream.java,
975 gnu/java/rmi/server/UnicastConnection.java,
976 gnu/java/rmi/server/UnicastConnectionManager.java,
977 gnu/java/rmi/server/UnicastRemoteCall.java,
978 gnu/java/rmi/server/UnicastServer.java,
979 gnu/java/rmi/server/UnicastServerRef.java,
980 java/rmi/MarshalledObject.java,
981 java/rmi/Naming.java,
982 java/rmi/RMISecurityManager.java,
983 java/rmi/Remote.java,
984 java/rmi/activation/Activatable.java,
985 java/rmi/activation/ActivationDesc.java,
986 java/rmi/activation/ActivationGroup.java,
987 java/rmi/activation/ActivationGroupDesc.java,
988 java/rmi/activation/ActivationGroupID.java,
989 java/rmi/activation/ActivationID.java,
990 java/rmi/activation/ActivationInstantiator.java,
991 java/rmi/activation/ActivationMonitor.java,
992 java/rmi/activation/ActivationSystem.java,
993 java/rmi/activation/Activator.java,
994 java/rmi/dgc/DGC.java,
995 java/rmi/dgc/Lease.java,
996 java/rmi/dgc/VMID.java,
997 java/rmi/registry/LocateRegistry.java,
998 java/rmi/registry/Registry.java,
999 java/rmi/registry/RegistryHandler.java,
1000 java/rmi/server/LoaderHandler.java,
1001 java/rmi/server/LogStream.java,
1002 java/rmi/server/ObjID.java,
1003 java/rmi/server/Operation.java,
1004 java/rmi/server/RMIClassLoader.java,
1005 java/rmi/server/RMIClassLoaderSpi.java,
1006 java/rmi/server/RMIClientSocketFactory.java,
1007 java/rmi/server/RMIFailureHandler.java,
1008 java/rmi/server/RMIServerSocketFactory.java,
1009 java/rmi/server/RMISocketFactory.java,
1010 java/rmi/server/RemoteCall.java,
1011 java/rmi/server/RemoteObject.java,
1012 java/rmi/server/RemoteRef.java,
1013 java/rmi/server/RemoteServer.java,
1014 java/rmi/server/RemoteStub.java,
1015 java/rmi/server/ServerRef.java,
1016 java/rmi/server/Skeleton.java,
1017 java/rmi/server/SkeletonMismatchException.java,
1018 java/rmi/server/UID.java,
1019 java/rmi/server/UnicastRemoteObject.java,
1020 java/rmi/server/Unreferenced.java:
1021 File headers and import statements cleaned up.
1023 2004-10-16 Michael Koch <konqueror@gmx.de>
1025 * libjava/gnu/java/nio/charset/UTF_16.java,
1026 libjava/gnu/java/nio/charset/UTF_16BE.java,
1027 libjava/gnu/java/nio/charset/UTF_16LE.java,
1028 libjava/java/nio/ByteOrder.java,
1029 libjava/java/nio/MappedByteBuffer.java,
1030 libjava/java/nio/channels/Channels.java,
1031 libjava/java/nio/channels/spi/SelectorProvider.java,
1032 libjava/java/nio/charset/Charset.java:
1035 2004-10-16 Michael Koch <konqueror@gmx.de>
1037 * gnu/java/nio/charset/UTF_16Encoder.java
1038 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1040 2004-10-16 Michael Koch <konqueror@gmx.de>
1042 * java/math/BigDecimal.java, java/math/BigInteger.java:
1043 Reorganized import statements, removed redundant and
1044 reorganized modifiers.
1046 2004-10-16 Michael Koch <konqueror@gmx.de>
1048 * gnu/java/beans/ExplicitBeanInfo.java:
1049 Explicitely import java.awt.Image.
1050 (getIcon): Fixed off-by-one error.
1052 2004-10-15 Andrew Haley <aph@redhat.com>
1054 * Makefile.am (nat_files, xlib_nat_files): New.
1055 * Makefile.in: Regenerate.
1057 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1059 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1060 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1062 2004-10-13 Andrew Haley <aph@redhat.com>
1064 * interpret.cc (_Jv_InterpMethod::run): Initialize
1065 _Jv_StartOfInterpreter.
1066 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1067 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1068 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1069 _Unwind_FindEnclosingFunction to discover whether PC is within the
1072 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1075 * testsuite/libjava.lang/md5test.java: New file.
1076 * testsuite/libjava.lang/md5test.out: Likewise.
1077 * testsuite/libjava.lang/shatest.java: Likewise.
1078 * testsuite/libjava.lang/shatest.out: Likewise.
1080 2004-10-11 Richard Henderson <rth@redhat.com>
1082 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1083 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1085 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1087 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1088 field as a DST boundary may have been crossed.
1089 * java/util/GregorianCalendar.java (add): Throw
1090 IllegalArgumentException on attempt to add to DST_OFFSET or
1091 ZONE_OFFSET fields. Update javadoc.
1093 2004-10-09 Michael Koch <konqueror@gmx.de>
1095 * java/io/CharArrayWriter.java
1096 (resize): Removed redundant 'final' modifier.
1097 * java/io/DataInputStream.java
1098 (readFully): Throw IndexOutOfBoundsException of len < 0.
1099 * java/io/FileDescriptor.java,
1100 java/io/FileInputStream.java,
1101 java/io/FileOutputStream.java,
1102 java/io/ObjectOutputStream.java,
1103 java/io/ObjectStreamClass.java,
1104 java/io/PipedInputStream.java,
1105 java/io/RandomAccessFile.java:
1106 Reorganized import statements.
1108 2004-10-09 Michael Koch <konqueror@gmx.de>
1110 * gnu/java/rmi/rmic/RMIC.java,
1111 gnu/java/rmi/server/RMIHashes.java,
1112 gnu/java/rmi/server/RMIObjectInputStream.java,
1113 gnu/java/rmi/server/UnicastConnection.java,
1114 gnu/java/rmi/server/UnicastConnectionManager.java,
1115 gnu/java/rmi/server/UnicastRemoteCall.java,
1116 gnu/java/rmi/server/UnicastServerRef.java:
1117 Reworked import statements and fixed file headers.
1119 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1121 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1123 * configure: Rebuilt.
1125 2004-09-30 Tom Tromey <tromey@redhat.com>
1127 * java/text/MessageFormat.java (Field): Constructor now
1130 2004-09-30 Tom Tromey <tromey@redhat.com>
1132 * javax/crypto/MacSpi.java: Fixed typo.
1134 2004-09-30 Michael Koch <konqueror@gmx.de>
1136 * java/net/InetAddress.java: Reformatted.
1137 (loopback): Initialize with Inet4Address object.
1138 (static): Initialize ANY_IF with Inet4Address object.
1139 (InetAddress): Removed unused package-private constructor.
1141 2004-09-30 Michael Koch <konqueror@gmx.de>
1143 * java/beans/Beans.java,
1144 java/beans/EventHandler.java,
1145 java/beans/EventSetDescriptor.java,
1146 java/beans/Introspector.java,
1147 java/beans/PropertyEditorManager.java,
1148 java/beans/beancontext/BeanContext.java,
1149 java/beans/beancontext/BeanContextChild.java,
1150 java/beans/beancontext/BeanContextChildSupport.java,
1151 java/beans/beancontext/BeanContextMembershipEvent.java:
1152 Reordered import statements and removed redundant modifiers.
1154 2004-09-29 Tom Tromey <tromey@redhat.com>
1157 * Makefile.in: Rebuilt.
1158 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1160 (all_property_files): New macro.
1162 * Makefile.in: Rebuilt.
1163 * Makefile.am (ordinary_java_source_files): Re-sorted.
1164 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1166 2004-09-28 Tom Tromey <tromey@redhat.com>
1168 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1171 * Makefile.am (libgcj.la): Restored.
1172 * Makefile.in: Rebuilt.
1174 2004-09-28 Michael Koch <konqueror@gmx.de>
1176 * java/net/URLConnection.java: Reformatted.
1177 * java/net/URLClassLoader.java: Reformatted.
1178 (getContent): Reordered return of content.
1179 (getContentHandler): Don't check for null explicitely.
1181 2004-09-27 Michael Koch <konqueror@gmx.de>
1183 * java/io/BufferedInputStream.java
1184 (BufferedInputStream): Added Jeroen Frijters to authors.
1185 (count): Don't explicitely initialize with default value.
1187 (marklimit): Likewise.
1188 (read): Changed boolean expression to match GNU classpath' version.
1189 (reset): Add proper message to exception.
1190 (skip): Check for closed stream.
1193 2004-09-26 Per Bothner <per@bothner.com>
1195 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1196 avoid warnings in the non-POSIX_VERSION case.
1197 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1198 so place it inside an #if block.
1199 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1200 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1201 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1202 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1204 2004-09-26 Per Bothner <per@bothner.com>
1206 * prims.cc (process_gcj_properties): Optimization.
1208 2004-09-26 Per Bothner <per@bothner.com>
1210 * java/util/Collections.java (sort): Copy from array in forwards
1211 order, rather than reverse order which may be much less efficient.
1213 2004-09-26 Mark Wielaard <mark@klomp.org>
1215 * java/lang/System.java (properties): Make package private.
1216 * java/lang/Throwable.java (StaticData.nl): Initialize through
1217 directly accessing System.properties.getProperty().
1219 * java/lang/Throwable.java (nl): Remove static field.
1220 (StaticData): New private static inner class.
1221 (stackTraceStringBuffer): Use StaticData.nl.
1223 2004-09-26 Casey Marshall <csm@gnu.org>
1225 * java/security/ProtectionDomain.java
1226 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1229 * java/security/SecureClassLoader.java
1230 (defineClass): make protection domain dynamically bound.
1231 (getPermissions): call `getCurrentPolicy' to avoid permission
1234 2004-09-25 Mark Wielaard <mark@klomp.org>
1236 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1237 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1238 * Makefile.in: Regenerated.
1240 * gcj/javaprims.h: Regenerated.
1242 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1243 (getDefaultTimeZone): Make package private. Check that GMToffset
1244 contains at least one digit.
1245 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1247 * util/VMTimeZone.java: New file with above methods.
1249 * java/util/natTimeZone.cc: Removed (renamed).
1250 * java/util/natVMTimeZone.cc: Added (renamed).
1252 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1254 * java/util/TimeZone.java
1255 (getDefaultTimeZone): Fixed test to distinguish between hours and
1256 minutes in specified timezone.
1258 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1260 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1261 handling of default package. (generate): Removed confused comments
1262 and code about making Method and Field accessible.
1264 2004-09-25 Tom Tromey <tromey@redhat.com>
1267 * testsuite/libjava.compile/pr17500.java: New file.
1269 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1270 Mark Wielaard <mark@klomp.org>
1272 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1273 * gnu/regexp/RETokenLookAhead.java: New file.
1275 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1276 * Makefile.in: Regenerated.
1278 2004-09-25 Michael Koch <konqueror@gmx.de>
1280 * java/io/ObjectStreamField.java:
1281 Removed unused import statement.
1283 2004-09-24 Tom Tromey <tromey@redhat.com>
1286 * testsuite/libjava.compile/pr15656.xfail: New file.
1287 * testsuite/libjava.compile/pr15656.java: new file.
1290 * testsuite/libjava.lang/pr16789.out: New file.
1291 * testsuite/libjava.lang/pr16789.java: New file.
1293 2004-09-24 Andrew Haley <aph@redhat.com>
1296 * testsuite/libjava.compile/AssertBug.java: New file.
1298 2004-09-24 Casey Marshall <csm@gnu.org>
1300 * java/util/PropertyPermissionCollection.java
1301 (implies): avoid infinite loop.
1303 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1305 * javax/security/auth/PrivateCredentialPermission.java
1306 (PrivateCredentialPermission): added serialization UID
1309 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1311 * gnu/java/rmi/server/UnicastServer.java
1312 (incomingMessageCall): Added code to handle Errors.
1313 * gnu/java/rmi/server/UnicastServerRef.java
1314 (incomingMessageCall): Added code to handle Errors.
1317 2004-09-24 Tom Tromey <tromey@redhat.com>
1319 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1320 (definedPackages): Likewise.
1322 2004-09-24 Michael Koch <konqueror@gmx.de>
1324 * java/io/ObjectInputStream.java:
1327 2004-09-24 Casey Marshall <csm@gnu.org>
1329 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1330 `ClassNotFoundException'.
1332 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1334 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1335 of Externalizable classes to ObjectStreamClass.
1336 * java/io/ObjectStreamClass.java (newInstance): New method to
1337 instantiate Externalizable (while ignoring the accessibility of
1338 the constructor). (constructor): New field to cache the constructor.
1340 2004-09-24 Mark Wielaard <mark@klomp.org>
1342 * java/net/URL.java (systemClassLoader): New static field.
1343 (getURLStreamHandler): Always use system/application classloader
1344 for finding URLStreamhandler. Remove unecessary instanceof checks.
1346 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1349 (set): This method now matches the behaviour of the JDK.
1350 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1352 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1354 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1356 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1358 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1359 Don't set authority if host isn't specified.
1361 2004-09-24 Michael Koch <konqueror@gmx.de>
1363 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1364 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1365 * gnu/java/nio/VMPipe.java,
1366 gnu/java/nio/VMSelector.java:
1368 * gnu/java/nio/natPipeImplEcos.cc,
1369 gnu/java/nio/natPipeImplPosix.cc,
1370 gnu/java/nio/natPipeImplWin32.cc:
1372 * gnu/java/nio/natSelectorImplEcos.cc,
1373 gnu/java/nio/natSelectorImplPosix.cc,
1374 gnu/java/nio/natSelectorImplWin32.cc:
1375 Ported to VMSelector.
1376 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1377 gnu/java/nio/VMSelector.java.
1378 * Makefile.in: Regenerated.
1380 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1382 * java/lang/StackTraceElement.java
1383 (className): Renamed field to declaringClass to be compatible
1384 with Sun serialization format.
1386 2004-09-23 Michael Koch <konqueror@gmx.de>
1388 * java/applet/AppletContext.java,
1389 java/applet/Applet.java,
1390 java/applet/AppletStub.java,
1391 java/applet/AudioClip.java:
1392 Jalopied and checkstyle clean.
1394 2004-09-23 Mark Wielaard <mark@klomp.org>
1396 * java/util/Collections.java
1397 (binarySearch(List, Object, Comparator)): Explicitly
1398 reverse direction in list iterator.
1399 (rotate): Just return when list is empty.
1401 2004-09-23 Tom Tromey <tromey@redhat.com>
1404 * testsuite/libjava.compile/pr17329.java: New file.
1407 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1410 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1412 * Makefile.am: Run aclocal with -I ../config
1413 * acinclude.m4: Delete macros picked up from ../config and tidy.
1414 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1415 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1416 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1418 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1420 * aclocal.m4: Regenerate with aclocal 1.9.2.
1421 * configure: Regenerate.
1422 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1423 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1425 2004-09-22 David Daney <ddaney@avtrex.com>
1428 * java/net/URL.java (URL): Copy userInfo from context.
1429 (getUserInfo): Return cached userInfo if present.
1431 2004-09-22 Tom Tromey <tromey@redhat.com>
1434 * mauve-libgcj: Enable java.lang.Character tests.
1436 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1438 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1440 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1441 * Makefile.in: Regenerated.
1443 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1445 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1446 * configure: Regenerate.
1447 * include/config.h.in: Likewise.
1448 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1452 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1453 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1458 2004-09-22 Tom Tromey <tromey@redhat.com>
1461 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1462 when comparing CRCs.
1463 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1465 (read()): New overload.
1467 2004-09-21 Tom Tromey <tromey@redhat.com>
1469 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1472 2004-09-21 Michael Koch <konqueror@gmx.de>
1474 * java/net/Socket.java
1475 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1477 2004-09-21 Casey Marshall <csm@gnu.org>
1479 * javax/crypto/MacSpi.java (clone): Provide meaningful
1482 2004-09-21 Tom Tromey <tromey@redhat.com>
1485 * Makefile.in: Rebuilt.
1486 * Makefile.am (MOSTLYCLEANFILES): Removed.
1487 (mostlyclean-local): Remove header files.
1489 2004-09-21 Casey Marshall <csm@gnu.org>
1491 * java/security/cert/X509CRLSelector.java:
1492 (match): remove unreachable try-catch clauses.
1493 Reported by: Dalibor Topic <robilad@kaffe.org>
1495 2004-09-21 Mark Wielaard <mark@klomp.org>
1497 * java/util/TreeMap.java (root): Don't initialize.
1498 (TreeMap(Comparator)): Call fabricateTree(0).
1499 (fabricateTree): Initialize root and size when count is 0.
1501 2004-09-21 Sven de Marothy <sven@physto.se>
1503 * java/nio/ByteBuffer.java (hashCode): Implemented.
1504 * java/nio/CharBuffer.java: Likewise.
1505 * java/nio/DoubleBuffer.java: Likewise.
1506 * java/nio/FloatBuffer.java: Likewise.
1507 * java/nio/LongBuffer.java: Likewise.
1508 * java/nio/IntBuffer.java: Likewise.
1509 * java/nio/ShortBuffer.java: Likewise.
1511 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1513 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1515 2004-09-21 Michael Koch <konqueror@gmx.de>
1517 * javax/net/ssl/SSLServerSocket.java:
1518 Removed comment about "Do not edit this file, it's generated.".
1520 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1522 Import the big Crypto/Jessie/Security merge from Classpath.
1524 * Makefile.am: Add imported files.
1525 * Makefile.in: Regenerate.
1527 2004-08-14 Casey Marshall <csm@gnu.org>
1529 The Big Crypto Merge of 2004.
1531 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1534 Files imported from GNU Crypto.
1535 * javax/crypto/BadPaddingException.java
1536 * javax/crypto/Cipher.java
1537 * javax/crypto/CipherInputStream.java
1538 * javax/crypto/CipherOutputStream.java
1539 * javax/crypto/CipherSpi.java
1540 * javax/crypto/EncryptedPrivateKeyInfo.java
1541 * javax/crypto/ExemptionMechanism.java
1542 * javax/crypto/ExemptionMechanismException.java
1543 * javax/crypto/ExemptionMechanismSpi.java
1544 * javax/crypto/IllegalBlockSizeException.java
1545 * javax/crypto/KeyAgreement.java
1546 * javax/crypto/KeyAgreementSpi.java
1547 * javax/crypto/KeyGenerator.java
1548 * javax/crypto/KeyGeneratorSpi.java
1549 * javax/crypto/Mac.java
1550 * javax/crypto/MacSpi.java
1551 * javax/crypto/Makefile.am
1552 * javax/crypto/NoSuchPaddingException.java
1553 * javax/crypto/NullCipher.java
1554 * javax/crypto/NullCipherImpl.java
1555 * javax/crypto/SealedObject.java
1556 * javax/crypto/SecretKey.java
1557 * javax/crypto/SecretKeyFactory.java
1558 * javax/crypto/SecretKeyFactorySpi.java
1559 * javax/crypto/ShortBufferException.java
1560 * javax/crypto/interfaces/DHKey.java
1561 * javax/crypto/interfaces/DHPrivateKey.java
1562 * javax/crypto/interfaces/DHPublicKey.java
1563 * javax/crypto/interfaces/PBEKey.java
1564 * javax/crypto/spec/DESKeySpec.java
1565 * javax/crypto/spec/DESedeKeySpec.java
1566 * javax/crypto/spec/DHGenParameterSpec.java
1567 * javax/crypto/spec/DHParameterSpec.java
1568 * javax/crypto/spec/DHPrivateKeySpec.java
1569 * javax/crypto/spec/DHPublicKeySpec.java
1570 * javax/crypto/spec/IvParameterSpec.java
1571 * javax/crypto/spec/PBEKeySpec.java
1572 * javax/crypto/spec/PBEParameterSpec.java
1573 * javax/crypto/spec/RC2ParameterSpec.java
1574 * javax/crypto/spec/RC5ParameterSpec.java
1575 * javax/crypto/spec/SecretKeySpec.java
1576 * javax/security/auth/AuthPermission.java
1577 * javax/security/auth/DestroyFailedException.java
1578 * javax/security/auth/Destroyable.java
1579 * javax/security/auth/Policy.java
1580 * javax/security/auth/PrivateCredentialPermission.java
1581 * javax/security/auth/RefreshFailedException.java
1582 * javax/security/auth/Refreshable.java
1583 * javax/security/auth/Subject.java
1584 * javax/security/auth/SubjectDomainCombiner.java
1585 * javax/security/auth/callback/Callback.java
1586 * javax/security/auth/callback/CallbackHandler.java
1587 * javax/security/auth/callback/ChoiceCallback.java
1588 * javax/security/auth/callback/ConfirmationCallback.java
1589 * javax/security/auth/callback/LanguageCallback.java
1590 * javax/security/auth/callback/NameCallback.java
1591 * javax/security/auth/callback/PasswordCallback.java
1592 * javax/security/auth/callback/TextInputCallback.java
1593 * javax/security/auth/callback/TextOutputCallback.java
1594 * javax/security/auth/callback/UnsupportedCallbackException.java
1595 * javax/security/auth/login/AccountExpiredException.java
1596 * javax/security/auth/login/AppConfigurationEntry.java
1597 * javax/security/auth/login/Configuration.java
1598 * javax/security/auth/login/CredentialExpiredException.java
1599 * javax/security/auth/login/FailedLoginException.java
1600 * javax/security/auth/login/LoginContext.java
1601 * javax/security/auth/login/LoginException.java
1602 * javax/security/auth/login/NullConfiguration.java
1603 * javax/security/auth/x500/X500PrivateCredential.java
1604 * javax/security/sasl/AuthenticationException.java
1605 * javax/security/sasl/AuthorizeCallback.java
1606 * javax/security/sasl/RealmCallback.java
1607 * javax/security/sasl/RealmChoiceCallback.java
1608 * javax/security/sasl/Sasl.java
1609 * javax/security/sasl/SaslClient.java
1610 * javax/security/sasl/SaslClientFactory.java
1611 * javax/security/sasl/SaslException.java
1612 * javax/security/sasl/SaslServer.java
1613 * javax/security/sasl/SaslServerFactory.java
1614 * org/ietf/jgss/ChannelBinding.java
1615 * org/ietf/jgss/GSSContext.java
1616 * org/ietf/jgss/GSSCredential.java
1617 * org/ietf/jgss/GSSException.java
1618 * org/ietf/jgss/GSSManager.java
1619 * org/ietf/jgss/GSSName.java
1620 * org/ietf/jgss/MessageProp.java
1621 * org/ietf/jgss/Oid.java
1622 * org/ietf/jgss/MessagesBundle.properties
1624 Files imported from Jessie <http://www.nongnu.org/jessie/>
1625 * javax/net/ServerSocketFactory.java
1626 * javax/net/SocketFactory.java
1627 * javax/net/VanillaServerSocketFactory.java
1628 * javax/net/VanillaSocketFactory.java
1629 * javax/net/ssl/HandshakeCompletedEvent.java
1630 * javax/net/ssl/HandshakeCompletedListener.java
1631 * javax/net/ssl/HostnameVerifier.java
1632 * javax/net/ssl/HttpsURLConnection.java
1633 * javax/net/ssl/KeyManager.java
1634 * javax/net/ssl/KeyManagerFactory.java
1635 * javax/net/ssl/KeyManagerFactorySpi.java
1636 * javax/net/ssl/ManagerFactoryParameters.java
1637 * javax/net/ssl/SSLContext.java
1638 * javax/net/ssl/SSLContextSpi.java
1639 * javax/net/ssl/SSLException.java
1640 * javax/net/ssl/SSLHandshakeException.java
1641 * javax/net/ssl/SSLKeyException.java
1642 * javax/net/ssl/SSLPeerUnverifiedException.java
1643 * javax/net/ssl/SSLPermission.java
1644 * javax/net/ssl/SSLProtocolException.java
1645 * javax/net/ssl/SSLServerSocket.java
1646 * javax/net/ssl/SSLServerSocketFactory.java
1647 * javax/net/ssl/SSLSession.java
1648 * javax/net/ssl/SSLSessionBindingEvent.java
1649 * javax/net/ssl/SSLSessionBindingListener.java
1650 * javax/net/ssl/SSLSessionContext.java
1651 * javax/net/ssl/SSLSocket.java
1652 * javax/net/ssl/SSLSocketFactory.java
1653 * javax/net/ssl/TrivialHostnameVerifier.java
1654 * javax/net/ssl/TrustManager.java
1655 * javax/net/ssl/TrustManagerFactory.java
1656 * javax/net/ssl/TrustManagerFactorySpi.java
1657 * javax/net/ssl/X509KeyManager.java
1658 * javax/net/ssl/X509TrustManager.java
1659 * javax/security/cert/Certificate.java
1660 * javax/security/cert/CertificateEncodingException.java
1661 * javax/security/cert/CertificateException.java
1662 * javax/security/cert/CertificateExpiredException.java
1663 * javax/security/cert/CertificateNotYetValidException.java
1664 * javax/security/cert/CertificateParsingException.java
1665 * javax/security/cert/X509CertBridge.java
1666 * javax/security/cert/X509Certificate.java
1668 2004-08-20 Casey Marshall <csm@gnu.org>
1670 * java/security/cert/X509CRLSelector.java: New file.
1671 * java/security/cert/X509CertSelector.java: New file.
1673 2004-09-15 Michael Koch <konqueror@gmx.de>
1675 * gnu/java/net/protocol/file/Handler.java
1676 (openConnection): Don't throw exception if host part for file: URI is
1677 present. setURL() keeps file: protocol if ftp: protocol is not
1680 2004-09-14 Richard Henderson <rth@redhat.com>
1682 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1683 value of sigsuspend.
1685 2004-09-12 Tom Tromey <tromey@redhat.com>
1687 * javax/naming/CompoundName.java (CompoundName): Don't check for
1688 separator in "flat" case.
1690 2004-09-12 Michael Koch <konqueror@gmx.de>
1692 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1693 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1694 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1697 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1700 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1701 handle in newly-allocated _Jv_Thread_t.
1702 (_Jv_ThreadDestroyData): Close thread handle.
1703 (_Jv_ThreadStart): Remove obsolete comment.
1704 Store handle of newly-created thread in _Jv_Thread_t.
1705 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1706 before including <windows.h>
1707 #define _Jv_HaveCondDestroy
1709 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1711 * java/lang/natThread.cc (finalize_native): Destroy
1712 join conditional variable and mutex if these destroy
1713 operations are supported.
1715 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1717 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1718 (DEFAULT_PERMISSION): New constant.
1719 (Connection): Create a FilePermission with permission to read file.
1721 2004-09-10 Michael Koch <konqueror@gmx.de>
1723 * gnu/java/net/protocol/file/Connection.java
1724 (getLastModified): Moved around.
1725 (getPermission): Return stored permission.
1727 2004-09-10 Michael Koch <konqueror@gmx.de>
1729 * Makefile.in: Regenerate.
1731 2004-09-10 Michael Koch <konqueror@gmx.de>
1733 * Makefile.am: Reverted accidently commited stuff.
1734 * configure: Regenerated.
1736 2004-09-10 Michael Koch <konqueror@gmx.de>
1738 * gnu/java/net/protocol/file/Connection.java
1739 (lineSeparator): Made non-final.
1741 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1742 instead of StringBufferInputStream.
1744 2004-09-10 Michael Koch <konqueror@gmx.de>
1746 * gnu/java/net/protocol/file/Connection.java
1747 (connect): Handle file is a directory case.
1749 2004-09-10 Michael Koch <konqueror@gmx.de>
1752 (xlib_includes): Removed.
1753 (AM_CPPFLAGS): Renamed from INCLUDES.
1754 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1755 * Makefile.in: Regenerate.
1757 2004-09-09 Michael Koch <konqueror@gmx.de>
1759 * java/security/ProtectionDomain.java,
1760 * java/util/PropertyPermissionCollection.java:
1761 Fixed javadocs all over.
1763 2004-09-09 Sven de Marothy <sven@physto.se>
1765 Patch from David Gilbert <david.gilbert@object-refinery.com>
1766 * java/lang/Comparable.java: Fixed documentation errors.
1767 * java/util/Arrays.java: Likewise.
1769 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1771 * java/net/Inet4Address.java
1772 (Inet4Address): Added comment to serialization UID.
1773 * java/text/Format.java
1774 (Format): Added comment to serialization UID.
1776 2004-09-09 Michael Koch <konqueror@gmx.de>
1778 * java/lang/System.java
1779 (err): Fixed javadoci to point to setErr() and not setOut().
1781 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1783 (normalizePath): Added special case for windows systems.
1785 2004-09-09 Michael Koch <konqueror@gmx.de>
1788 (dupSeparator): Made private.
1789 (File(URI)): New constructor.
1790 (getParentFile): Fixed javadoc.
1791 (createTempFile): Reformated.
1792 (setReadOnly): Added comment.
1793 (deleteOnExit): Merged javadoc with classpath version.
1795 2004-09-09 Michael Koch <konqueror@gmx.de>
1797 * Makefile.am: Don't try to include deps.mk.
1798 * Makefile.in: Regenerated.
1800 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1802 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1804 * configure: Rebuilt.
1806 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1808 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1809 Changed pfn from static local to local.
1811 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1812 H.J. Lu <hongjiu.lu@intel.com>
1815 * Makefile.am (GCJCOMPILE): Remove definition.
1816 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1817 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1818 * Makefile.in: Rebuilt.
1820 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1822 * configure.ac (enable-gc-debug): Update help for new syntax.
1823 * configure: Regenerate.
1825 2004-09-03 David Daney <ddaney@avtrex.com>
1827 * include/mips-signal.h: Update copyright.
1829 2004-09-03 David Daney <ddaney@avtrex.com>
1831 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1832 * include/mips-signal.h: Added HANDLE_FPE support.
1834 2004-08-31 Michael Koch <konqueror@gmx.de>
1836 * javax/swing/plaf/basic/BasicTextAreaUI.java
1837 (create): New method.
1838 * javax/swing/text/DefaultHighlighter.java
1839 (DefaultHighlightPainter.debugRect): Removed.
1840 * javax/swing/text/StyleContext.java
1841 (DEFAULT_STYLE): New field.
1843 2004-08-31 Michael Koch <konqueror@gmx.de>
1845 * javax/swing/plaf/basic/BasicLookAndFeel.java
1846 (initComponentDefaults): Add keybindings for selection.backward and
1847 selection-forward for text components.
1848 * javax/swing/plaf/basic/BasicTextUI.java
1849 (paintSafely): Paint highlight only when something is actually
1851 * javax/swing/text/DefaultCaret.java
1852 (handleHighlight): New method.
1853 (setSelectionVisible): Don't do anything when nothing changes.
1855 (moveDot): Reimplemented. Handle highlight.
1856 (setDot): Set mark too. Handle highlight.
1857 (getSelectionPainter): New method.
1858 * javax/swing/text/DefaultEditorKit.java
1859 (defaultActions): Added new actions for text selection.
1860 * javax/swing/text/DefaultHighlighter.java
1861 (DefaultHighlightPainter): New inner class.
1862 (DefaultPainter): New field.
1863 (paint): Implemented.
1864 * javax/swing/text/PlainView.java
1865 (paint): Don't draw background here again.
1866 * javax/swing/text/Utilities.java
1867 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1868 (drawTabbedText): Likewise.
1870 2004-08-31 Graydon Hoare <graydon@redhat.com>
1872 * javax/swing/JComponent.java
1873 (resetKeyboardActions): Add null checks.
1875 2004-08-31 Graydon Hoare <graydon@redhat.com>
1877 * javax/swing/DefaultButtonModel.java:
1878 Skip group notification when no group is set.
1880 2004-08-31 Graydon Hoare <graydon@redhat.com>
1882 * javax/swing/JColorChooser.java:
1883 Make a couple inner classes static, for jikes.
1885 2004-08-31 Michael Koch <konqueror@gmx.de>
1887 * javax/swing/plaf/basic/BasicTextUI.java
1888 (RottView.modelToView): New method.
1889 (UpdateHandler): Renamed from EventHandler.
1890 (updateHandler): Renamed from eventHandler.
1891 (modelToView): Implemented.
1892 * javax/swing/text/AbstractDocument.java
1893 (BranchElement.getElement): Return null for non-existing indeces.
1894 (BranchElement.getElementIndex): Return 0 in some corner cases.
1895 * javax/swing/text/FieldView.java
1896 (modelToView): New method.
1897 * javax/swing/text/PlainView.java
1898 (modelToView): Made public.
1900 2004-08-31 Kim Ho <kho@redhat.com>
1902 * Makefile.am: New files.
1903 * Makefile.in: Regenerate.
1904 * gcj/Makefile.in: Regenerate.
1905 * include/Makefile.in: Regenerate.
1906 * java/awt/Color.java: Fix documentation.
1907 (RGBtoHSB): Use floats for conversions.
1908 * javax/swing/ButtonGroup.java: Run Jalopy.
1909 (setSelected): Reimplement.
1910 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1911 (changeState): Let ButtonGroup know that the button
1913 * javax/swing/JColorChooser.java: Implement.
1914 * javax/swing/JLabel.java: Run Jalopy.
1915 * javax/swing/JSpinner.java: Run Jalopy.
1916 (setValue): New method.
1917 * javax/swing/JTabbedPane.java: Run Jalopy.
1918 (removeTabAt): Call correct remove method.
1919 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1920 (getPreviousValue): Compare minimum value.
1921 * javax/swing/Timer.java: Run Jalopy.
1922 (run): Comment out println.
1923 * javax/swing/ToolTipManager.java:
1924 (mouseMoved): Get new tooltip text for location.
1925 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1927 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1929 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1931 (setSelectedColor): Fire ChangeEvent.
1932 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1933 New file. Implement.
1934 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1936 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1938 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1940 * javax/swing/plaf/basic/BasicArrowButton.java:
1941 (getArrow): Fix size of upward pointing button.
1942 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1944 * javax/swing/plaf/basic/BasicSliderUI.java:
1945 (getWidthOfWidestLabel): Use preferred dimensions.
1946 (getHeightOfTallestLabel): Ditto.
1947 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1949 (mousePressed): Disable changes to spinner if it is not enabled.
1950 * testsuite/Makefile.in: Regenerate.
1953 2004-08-31 Michael Koch <konqueror@gmx.de>
1955 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1956 javax/swing/plaf/basic/BasicTableUI.java:
1957 Added copyright notice.
1959 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1961 * Makefile.am: Added new files.
1962 * Makefile.in: Regenerate.
1963 * javax/swing/ComboBoxEditor.java: Added javadocs.
1964 * javax/swing/ComboBoxModel.java: Likewise.
1965 * javax/swing/DefaultComboBoxModel.java: Implemented.
1966 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1967 and ran through jalopy to fix formatting style.
1968 (getListCellRendererComponent): Use appropriate border
1969 if renderer has focus and use noFocusBorder when it doesn't.
1970 * javax/swing/JComboBox.java: Implemented.
1971 * javax/swing/JList.java:
1972 (locationToIndex): New Method. Implemented.
1973 (indexToLocation): New Method.
1974 * javax/swing/JPopupMenu.java:
1975 (visible): New field.
1976 (isVisible): Changed to use new field above.
1977 (setVisible): Likewise.
1978 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1979 * javax/swing/plaf/basic/BasicArrowButton.java:
1980 (shadow): Changed default color to Color.gray.
1981 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1982 UI delegate for JComboBox.
1983 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1984 Popup menu containing list of JComboBox's items.
1985 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1986 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1987 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1988 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1989 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1990 (popupMenuWillBecomeVisible): Set selected path to the first
1991 element only if it is of type MenuElement. Also fix formatting
1993 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1996 2004-08-31 Michael Koch <konqueror@gmx.de>
1998 * javax/swing/text/AbstractDocument.java
1999 (createBranchElement): Use new constructor of BranchElement.
2000 (createLeafElement): Renamed arguments.
2001 (getRootElements): Implemented.
2002 (BranchElement.start): Removed.
2003 (BranchElement.end): Likewise.
2004 (BranchElement.BranchElement): Fixed arguments.
2005 (BranchElement.getEndOffset): Reimplemented.
2006 (BranchElement.getStartOffset): Likewis.
2007 * javax/swing/text/DefaultCaret.java
2008 (paint): Draw simple vertical line as caret instead of a rectangle.
2009 * javax/swing/text/JTextComponent.java
2010 (setText): Use doc directly.
2011 * javax/swing/text/PlainView.java
2012 (nextTabStop): Implemented.
2013 * javax/swing/text/Utilities.java
2014 (drawTabbedText): nextTabStop() returns an absolute x position.
2015 (getTabbedTextWidth): Likewise.
2017 2004-08-31 Graydon Hoare <graydon@redhat.com>
2019 * java/awt/Component.java
2020 (isFocusTraversable): Predicate on isLightweight()
2021 (setFocusable): Set isFocusTraversableOverridden.
2022 (requestFocus): Predicate peer dispatch on !isLightweight()
2023 (requestFocusInWindow): Likewise.
2024 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2025 * java/awt/Container.java
2026 (dispatchEventImpl): Predicate on event mask.
2027 (LightweightDispatcher): Remove focus machinery.
2028 * java/awt/DefaultFocusTraversalPolicy.java
2029 (accept): Expand predicate to include isFocusable().
2030 * java/awt/DefaultKeyboardFocusManager.java:
2031 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2032 * java/awt/KeyboardFocusManager.java
2033 (redispatchEvent): Synchronize on event to prevent feedback.
2034 * javax/swing/AbstractButton.java
2035 (ButtonFocusListener): Remove class.
2036 (init): Set focusPainted, focusable.
2037 * javax/swing/ActionMap.java (get): Check parent for null.
2038 * javax/swing/InputMap.java (get): Likewise.
2039 * javax/swing/JComponent.java
2040 (inputMap_whenFocused): New InputMap.
2041 (inputMap_whenAncestorOfFocused): Likewise.
2042 (inputMap_whenInFocusedWindow): Likewise.
2043 (getActionForKeyStroke): Rewrite.
2044 (getConditionForKeystroke): Likewise.
2045 (ActionListenerProxy): New private class.
2046 (setInputMap): Implement.
2047 (getInputMap): Likewise.
2048 (setActionMap): Likewise.
2049 (getActionMap): Likewise.
2050 (processComponentKeyEvent): New empty method.
2051 (processKeyEvent): Implement.
2052 (processKeyBinding): Likewise.
2053 (resetKeyboardActions): Rewrite.
2054 * javax/swing/KeyStroke.java: Rewrite.
2055 * javax/swing/SwingUtilities.java
2056 (notifyAction): Implement.
2057 (replaceUIActionMap): Likewise.
2058 (replaceUIInputMap): Likewise.
2059 * javax/swing/plaf/basic/BasicButtonListener.java
2060 (focusGained): Implement.
2061 (focusLost): Repaint if focusPainted().
2062 (installKeyboardActions): Install pressed / released actions.
2063 (uninstallKeyboardActions): Implement.
2064 * javax/swing/plaf/basic/BasicButtonUI.java
2065 (focusColor): New field.
2066 (installDefaults): Load focus color, install input map.
2067 (installKeyboardActions): Implement.
2068 (uninstallKeyboardActions): Likewise.
2069 (paintFocus): Rewrite.
2070 * javax/swing/plaf/basic/BasicLookAndFeel.java
2071 (Button.focus): New default, midPurple.
2072 * javax/swing/plaf/basic/BasicTextUI.java
2074 (installUI): Get doc from kit, load defaults.
2075 (getKeymapName): Implement.
2076 (createKeymap): Likewise.
2077 (installKeyboardActions): Likewise.
2078 (getInputMap): Likewise.
2079 (getActionMap): Likewise.
2080 (createActionMap): Likewise.
2081 * javax/swing/text/AbstractDocument.java
2082 (getStartPosition): Implement.
2083 (getEndPosition): Likewise.
2084 * javax/swing/text/DefaultEditorKit.java
2085 (CopyAction): New class.
2086 (CutAction): Likewise.
2087 (DefaultKeyTypedAction): Likewise.
2088 (InsertBreakAction): Likewise.
2089 (InsertContentAction): Likewise.
2090 (InsertTabAction): Likewise.
2091 (PasteAction): Likewise.
2092 (defaultActions): New static table.
2093 (createCaret): Implement.
2094 (getActions): Likewise.
2095 * javax/swing/text/JTextComponent.java
2096 (KeymapWrapper): New private class.
2097 (KeymapActionMap): Likewise.
2098 (DefaultKeymap): New class.
2099 (keymaps): New static table.
2100 (keymap): New field.
2101 (getKeymap): Implement.
2102 (removeKeymap): Likewise.
2103 (addKeymap): Likewise.
2104 (setKeymap): Likewise.
2105 (loadKeymap): Likewise.
2106 (getActions): Likewise.
2107 (margin): New field.
2108 (JTextComponent): Build and install default keymap.
2109 * javax/swing/text/TextAction.java
2110 (textAction): Call super properly.
2111 (getTextComponent): Implement.
2112 * javax/swing/text/Utilities.java
2113 (drawTabbedText): Adjust position by ascent.
2115 2004-08-31 David Jee <djee@redhat.com>
2119 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2120 (setEnabled): Make it a native method.
2121 * java/awt/DefaultKeyboardFocusManager.java
2122 (postProcessKeyEvent): Only post event if the menu item
2124 * java/awt/MenuItem.java:
2125 Private field 'enabled' should be true by default.
2126 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2127 (setEnabled): New function.
2129 2004-08-31 David Jee <djee@redhat.com>
2133 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2134 (nativeSetHelpMenu): New native method declaration.
2135 (addHelpMenu): Call nativeSetHelpMenu().
2137 * java/awt/MenuBar.java
2138 (setHelpMenu): Call addNotify() on the new help menu.
2139 (add): Call addNotify() on the new menu.
2140 (addNotify): Set the help menu if one exists.
2141 * java/awt/peer/MenuBarPeer.java
2143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2144 (nativeSetHelpMenu): New method.
2146 2004-08-31 Graydon Hoare <graydon@redhat.com>
2148 * Makefile.am: Add new files.
2149 * Makefile.in: Regenerate.
2150 * javax/swing/Box.java: Fix setting of layout in ctor.
2151 * javax/swing/JScrollPane.java: Scroll headers as well.
2152 * javax/swing/JTable.java: Reimplement.
2153 * javax/swing/JViewPort.java: Only add non-null children.
2154 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2155 * javax/swing/Timer.java: Fix stopping null waker.
2156 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2157 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2158 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2159 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2160 * javax/swing/table/DefaultTableModel.java: Clean up.
2161 * javax/swing/table/JTableHeader.java: Implement.
2163 2004-08-31 Mark Wielaard <mark@klomp.org>
2165 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2168 2004-08-31 Mark Wielaard <mark@klomp.org>
2170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2171 Declare variables at top of functions/block.
2172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2174 2004-08-31 Mark Wielaard <mark@klomp.org>
2176 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2179 2004-08-31 Michael Koch <konqueror@gmx.de>
2181 * javax/swing/text/PlainView.java
2182 (selectedColor): New field.
2183 (unselectedColor): Likewise.
2185 (updateMetrics): New method.
2186 (lineToRect): Likewise.
2187 (modelToView): Likewise.
2188 (drawSelectedText): Use color from JTextComponent ad draw with
2190 (drawUnselectedText): Likewise.
2191 (paint): Initialize helper fields.
2192 * javax/swing/text/View.java
2193 (getChildAllocation): New method.
2194 (getViewIndex): Likewise.
2195 (getToolTipText): Likewise.
2197 2004-08-31 Michael Koch <konqueror@gmx.de>
2199 * javax/swing/text/Utilities.java
2200 (drawTabbedText): Reimplemented.
2201 (getTabbedTextWidth): Likewise.
2203 2004-08-31 Michael Koch <konqueror@gmx.de>
2205 * javax/swing/plaf/basic/BasicTextUI.java
2206 (installDefaults): Install caret and highlighter.
2207 (modelToView): Use Bias.Forward when calling sibling.
2208 * javax/swing/text/AbstractDocument.java
2209 (ElementEdit): Implements DocumentEvent.ElementChange.
2210 (ElementEdit.ElementEdit): New method.
2211 (ElementEdit.getChildrenAdded): Likewise.
2212 (ElementEdit.getChildrenRemoved): Likewise.
2213 (ElementEdit.getElement): Likewise.
2214 (ElementEdit.getIndex): Likewise.
2215 * javax/swing/text/DefaultCaret.java
2217 (textComponent): Renamed from parent, made private.
2218 (selectionVisible): Renamed from vis_sel, made private.
2219 (blinkRate): Renamed from blink, made private.
2220 (magicCaretPosition): Renamed from magic, made private.
2221 (visible): Renamed from vis, made private.
2222 (dot): Made private.
2224 (deinstall): Remove as MouseMotionListener.
2225 (install): Initialize textComponent first. Add as MouseMotionListener.
2226 (paint): Reimplemented.
2227 * javax/swing/text/JTextComponent.java
2228 (setCaret): Deinstall old caret, install new one and fire property
2229 change after setting property.
2230 (setHighlighter): Deinstall old highlighter, install new one and fire
2231 property change after setting property.
2232 (setCaretColor): Fire property change after setting property.
2233 (setDisabledTextColor): Likewise.
2234 (setSelectedTextColor): Likewise.
2235 (setSelectionColor): Likewise.
2236 (modelToView): New method.
2238 2004-08-31 Michael Koch <konqueror@gmx.de>
2240 * javax/swing/text/AbstractDocument.java
2241 (getText): Simplified.
2242 * javax/swing/text/Segment.java
2243 (current): New field.
2244 (current): Reimplemented.
2246 (getIndex): Likewise.
2249 (previous): Likewise.
2250 (setIndex): Likewise.
2252 2004-08-31 Michael Koch <konqueror@gmx.de>
2254 * javax/swing/plaf/basic/BasicButtonUI.java
2255 (defaultTextIconGap): Made protected.
2256 (defaultTextShiftOffset): Likewise.
2257 (textShiftOffset): New field.
2258 (clearTextShiftOffset): New method.
2259 (getTextShiftOffset): Likewise.
2260 (setTextShiftOffset): Likewise.
2262 2004-08-31 Michael Koch <konqueror@gmx.de>
2264 * javax/swing/plaf/basic/BasicTextUI.java
2265 (installUI): Add eventHandler as property listener.
2266 (uninstallUI): remove eventHandler as propert listener.
2267 (installDefaults): Added comment.
2268 (installListeners): Likewise.
2269 (installKeyboardActions): Likewise.
2270 (uninstallDefaults): Likewise.
2271 (uninstallListeners): Likewise.
2272 (uninstallKeyboardActions): Likewise.
2274 2004-08-31 Michael Koch <konqueror@gmx.de>
2276 * javax/swing/text/AbstractDocument.java:
2277 Fixed some typos in comments.
2278 (insertString): Reimplemented.
2280 (replace): New method.
2281 (children): Dont use fully qualified class name.
2282 (DefaultDocumentEvent.offset): Renamed from off.
2283 (DefaultDocumentEvent.length): Renamed from len.
2284 (DefaultDocumentEvent.type): New field.
2285 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2286 (DefaultDocumentEvent.getType): Implemented.
2288 2004-08-31 Michael Koch <konqueror@gmx.de>
2290 * javax/swing/plaf/basic/BasicTextUI.java
2291 (RootView.textComponent): Removed.
2292 (RootView.RootView): Don't initialize textComponent.
2293 (RootView.getViewFactory): New method.
2294 (EventHandler): New inner class.
2295 (rootView): Initialize at instance creation.
2296 (eventHandler): New field.
2297 (installUI): Don't create view hierarchy directly,
2298 call modelChanged() instead.
2299 (modelChanged): New method.
2300 * javax/swing/text/JTextComponent.java
2301 (setDocument): Fire property change event.
2303 2004-08-31 Michael Koch <konqueror@gmx.de>
2305 * javax/swing/plaf/basic/BasicTextUI.java
2306 (RootView.paint): Removed debug output.
2307 (paintSafely): Draw highlighter before text.
2308 (paintBackground): Use background color of text component.
2309 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2312 2004-08-31 Michael Koch <konqueror@gmx.de>
2314 * javax/swing/plaf/basic/BasicToolBarUI.java
2315 (BasicToolBarUI): Fixed arguments for constructor.
2316 (createUI): Fixed creation of object.
2318 2004-08-31 Michael Koch <konqueror@gmx.de>
2320 * javax/swing/DefaultListSelectionModel.java
2321 (fireValueChanged): Renamed from fireSelectionValueChanged,
2324 2004-08-31 Michael Koch <konqueror@gmx.de>
2326 * javax/swing/text/TabSet.java
2327 (TabSet): Implements java.io.Serializable.
2328 * javax/swing/text/TabStop.java
2329 (TabStop): Implements java.io.Serializable.
2330 (TabStop): Made public.
2332 2004-08-31 Michael Koch <konqueror@gmx.de>
2334 * javax/swing/JComponent.java
2335 (setUI): Fire PropertyChange.
2336 * javax/swing/JLabel.java
2337 (text): Renamed from labelText.
2338 (horizontalAlignment): New default vlaue.
2339 (icon): Renamed from activeIcon.
2340 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2341 (displayedMnemonicIndex): Renamed from underlineChar.
2342 (setDisplayedMnemonic): Reimplemented.
2343 * javax/swing/JRadioButton.java
2344 (JRadioButton): New constructors.
2345 * javax/swing/JTextField.java
2346 (JTextField): Throw exception if colums < 0, initialitialz
2347 this.columns directly and initialize document with text conditionally.
2349 2004-08-31 Michael Koch <konqueror@gmx.de>
2351 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2352 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2353 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2354 * javax/swing/text/FieldView.java
2355 (paint): Just call super method for now.
2356 * Makefile.am: Added new files.
2357 * Makefile.in: Regenerated.
2359 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2361 * javax/swing/AbstractSpinnerModel.java,
2362 javax/swing/JSpinner.java,
2363 javax/swing/SpinnerNumberModel.java,
2364 javax/swing/plaf/basic/BasicSpinnerUI.java:
2366 * javax/swing/plaf/basic/BasicLookAndFeel.java
2367 (initClassDefaults): Added defaults for BasicSpinnerUI.
2369 2004-08-31 Michael Koch <konqueror@gmx.de>
2371 * Makefile.am: Added new files.
2372 * Makefile.in: Regenerated.
2374 2004-08-31 Michael Koch <konqueror@gmx.de>
2376 * javax/swing/TransferHandler.java,
2377 javax/swing/plaf/basic/ComboPopup.java: New files
2378 * Makefile.am: Added javax/swing/TransferHandler.java and
2379 javax/swing/plaf/basic/ComboPopup.java
2380 * Makefile.in: Regenerated.
2382 2004-08-31 Roman Kennke <roman@ontographics.com>
2384 * javax/swing/text/Utilities.java: New file.
2386 2004-08-31 Michael Koch <konqueror@gmx.de>
2388 * Makefile.am: Added javax/swing/text/Utilities.java.
2389 * Makefile.in: Regenerated.
2391 2004-08-31 Graydon Hoare <graydon@redhat.com>
2393 * javax/swing/text/SimpleAttributeSet.java: New file.
2394 * javax/swing/text/StyleConstants.java: New file.
2395 * javax/swing/text/StyleContext.java: New file.
2396 * javax/swing/text/TabSet.java: New file.
2397 * javax/swing/text/TabStop.java: New file.
2398 * javax/swing/text/AbstactDocument.java:
2399 (AbstractElement): Implement attribute support.
2400 * javax/swing/text/AttributeSet.java
2401 (NameAttribute): New static field.
2402 (ResolveAttribute): New static field.
2403 * Makefile.am: Update for new files.
2404 * Makefile.in: Regenerate.
2406 2004-08-31 Craig Black <craig.black@aonix.com>
2408 * gnu/java/awt/peer/gtk/GdkGraphics.java
2409 (drawImage): Add support for scaling pixmaps.
2410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2411 (copyAndScalePixmap): New native method.
2413 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2416 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2417 type-punning compiler warnings using unions.
2418 (throw): Replace bzero with memset.
2420 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2421 Thomas Fitzsimmons <fitzsim@redhat.com>
2423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2424 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2425 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2427 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2429 2004-08-31 Mark Wielaard <mark@klomp.org>
2431 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2432 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2433 and stdlib.h, not gtkpeer.h.
2434 (*vm): New static variable.
2435 (areaPreparedID): Make static.
2436 (areaUpdatedID): Likewise.
2437 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2438 (area_prepared): Likewise.
2439 (area_updated): Likewise.
2441 (initStaticState): Initialize *vm javaVM.
2442 (pumpBytes): Use given env, not global gdk_env.
2444 2004-08-31 Mark Wielaard <mark@klomp.org>
2446 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2449 2004-08-31 Sven de Marothy <sven@physto.se>
2451 * java/awt/geom/CubicCurve2D.java: Reindent.
2452 (contains): Implemented.
2453 (intersects): Implemented.
2454 * java/awt/geom/QuadCurve2D.java: Likewise.
2455 * java/awt/geom/GeneralPath.java: Reindent and document.
2456 Fully (re)implemented using separate xpoints and ypoints
2458 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2460 2004-08-31 Michael Koch <konqueror@gmx.de>
2462 * javax/swing/JMenuItem.java
2463 (getMenuDragMouseListeners): New method.
2464 (getMenuKeyListeners): Likewise.
2466 2004-08-31 Michael Koch <konqueror@gmx.de>
2468 * javax/swing/AbstractButton.java
2469 (model): Made protected.
2470 (actionListener): Likewise.
2471 (changeListener): Likewise.
2472 (itemListener): Likewise.
2473 (multiClickThreshhold): New field.
2474 (getActionListeners): New method.
2475 (getChangeListeners): Likewise.
2476 (getItemListeners): Likewise.
2477 (fireItemStateChanged): Simplified implementation.
2478 (fireActionPerformed): Likewise.
2479 (fireStateChanged): Likewise.
2480 (getMultiClickThreshhold): New method.
2481 (setMultiClickThreshhold): Likewise.
2483 2004-08-31 Tom Tromey <tromey@redhat.com>
2485 * java/awt/image/Kernel.java (clone): Use super.clone().
2487 2004-08-31 David Jee <djee@redhat.com>
2490 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2491 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2492 (nativeSetIconImageFromData): New native method declaration.
2493 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2494 * gnu/java/awt/peer/gtk/GtkImage.java
2495 (getPixelCache): New method.
2496 (getColorModel): New method.
2497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2498 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2499 (free_pixbuf_data): New helper function.
2500 (nativeSetIconImageFromData): New function.
2502 2004-08-31 Graydon Hoare <graydon@redhat.com>
2505 * javax/swing/JLayeredPane.java
2506 (setLayer): Permit changing layer after addition.
2507 (setPosition): Permit over-length positions.
2508 (layerToRange): Compare intValue()s.
2509 * javax/swing/Box.java (createHorizontalBox): Implement.
2510 (createRigidArea): Likewise.
2511 (createVerticalBox): Likewise.
2513 2004-08-31 Kim Ho <kho@redhat.com>
2515 * java/awt/Component.java:
2516 (processMouseEvent): Consume event after
2517 listeners process it.
2518 (processMouseMotionEvent): ditto.
2519 (processMouseWheelEvent): ditto.
2520 * java/awt/Container.java:
2521 (acquireComponentForMouseEvent):
2522 Do not dispatch to events that have been
2523 removed from the Container.
2524 (handleEvent): Consume the MouseEvents.
2525 * javax/swing/RepaintManager.java:
2526 (paintDirtyRegions): Do not add to list of
2527 damaged areas if the component has no root.
2529 2004-08-31 Michael Koch <konqueror@gmx.de>
2531 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2533 2004-08-31 Mark Wielaard <mark@klomp.org>
2535 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2536 null when a MissingResourceException is thrown. Should never happen.
2538 2004-08-31 Mark Wielaard <mark@klomp.org>
2540 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2541 when argument is null.
2543 2004-08-31 Mark Wielaard <mark@klomp.org>
2545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2546 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2547 Define hid at start of function.
2548 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2551 2004-08-31 Mark Wielaard <mark@klomp.org>
2553 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2554 * javax/swing/JButton.java: Reindent.
2555 * javax/swing/JCheckBox.java: Reindent.
2557 2004-08-31 Mark Wielaard <mark@klomp.org>
2559 * Makefile.am (gtk_c_source_files): Added
2560 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2561 (gtk_awt_peer_sources): Added
2562 gnu/java/awt/peer/gtk/GThreadMutex.java and
2563 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2564 * Makefile.in: Regenerated.
2566 2004-08-31 Archie Cobbs <archie@dellroad.org>
2568 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2570 2004-08-31 Steven Augart <augart@watson.ibm.com>
2572 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2573 Added jfieldID, jmethodID.
2575 2004-08-31 Mark Wielaard <mark@klomp.org>
2577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2578 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2579 gdk_env before calling any gdk or gtk function.
2581 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2582 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2583 (run): Set gtkInitCalled.
2585 2004-08-31 Steven Augart <augart@watson.ibm.com>
2587 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2588 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2591 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2592 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2594 (init_glib_threads): New function.
2596 2004-08-31 Mark Wielaard <mark@klomp.org>
2598 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2599 PRIORITY when not already defined in header file.
2601 2004-08-31 Mark Wielaard <mark@klomp.org>
2603 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2604 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2606 2004-08-31 Steven Augart <augart@watson.ibm.com>
2608 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2609 Implemented missing functions for GTK2.
2610 Added error handling.
2611 Renamed static functions out of the g_ namespace.
2612 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2613 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2614 Rewrote global-reference code.
2615 Eliminated cascading errors.
2616 (mutex_trylock_jni_impl) Fully implemented.
2617 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2619 (setup_cache) New function.
2620 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2621 bug where they were not unlocking the GMutex associated with the
2622 condition variable during the wait on that condition variable.
2624 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2625 native/jni/gtk-peer/gthread-jni.c,
2626 native/jni/gtk-peer/gthread-jni.h
2627 (g_thread_jni_functions): Renamed to ...
2628 (portable_native_sync_jni_functions): this name.
2629 (gdk_vm): Renamed to...
2630 (the_vm): this name.
2632 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2633 (gdk_vm): Removed duplicate definition.
2634 (gtkInit): Removed stray message to stdout.
2635 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2636 (gtkInit): Fix a const assignment bug.
2637 (gtkInit): Simplified code.
2639 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2640 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2641 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2642 gnu/java/awt/peer/gtk/GThreadMutex.java:
2645 2004-08-31 Mark Wielaard <mark@klomp.org>
2647 * javax/swing/Box.java: Put FIXME comment above class declaration.
2648 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2649 * javax/swing/JCheckBox.java: Likewise.
2650 * javax/swing/JDialog.java: Likewise.
2651 * javax/swing/JRadioButton.java: Likewise.
2652 * javax/swing/JToggleButton.java: Likewise.
2653 * javax/swing/UIManager.java: Likewise.
2654 * javax/swing/border/TitledBorder.java: Likewise.
2655 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2656 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2657 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2658 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2659 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2660 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2661 * javax/swing/text/JTextComponent.java: Likewise.
2663 2004-08-31 David Jee <djee@redhat.com>
2666 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2667 (setIconImage): Add a FIXME for unhandled cases.
2669 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2672 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2673 getModifiers. Replace old button masks with new ones.
2674 * gnu/awt/xlib/XEventLoop.java: Likewise.
2675 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2676 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2677 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2678 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2679 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2680 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2681 * java/awt/Component.java: Replace old modifier masks with new
2683 * java/awt/Container.java: Call getModifiersEx, not
2685 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2687 * javax/swing/JMenuItem.java: Replace old button masks with new
2689 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2691 * javax/swing/SwingUtilities.java: Likewise.
2692 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2693 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2695 mask macros with new ones.
2696 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2697 macros with new ones representing new masks.
2699 2004-08-31 Craig Black <craig.black@aonix.com>
2701 * gnu/java/awt/peer/gtk/GdkGraphics.java
2702 (drawRoundRect): Implemented.
2703 (fillRoundRect): Implemented.
2704 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2705 (drawRoundRect): Reimplemented to match GdkGraphics.
2706 (fillRoundRect): Reimplemented to match GdkGraphics.
2708 2004-08-31 Mark Wielaard <mark@klomp.org>
2710 * Makefile.in: Regenerated.
2712 2004-08-31 Michael Koch <konqueror@gmx.de>
2714 * gnu/java/awt/EmbeddedWindow.java
2715 (addNotify): Use AccessController to allow execution of privileged
2718 2004-08-31 Michael Koch <konqueror@gmx.de>
2720 * gnu/java/awt/EmbeddedWindow.java
2722 (addNotify): Set peer via reflection.
2723 (setWindowPeer): Removed.
2724 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2725 * Makefile.am (nat_source_files):
2726 Removed gnu/java/awt/natEmbeddedWindow.cc.
2728 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2730 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2731 and gnu/java/security/action/SetAccessibleAction.java.
2733 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2735 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2736 Renamed from 'setName'. New 2-argument form with default value.
2737 (run): Pass default 'value' parameter to System.getProperty().
2738 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2741 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2743 * gnu/java/security/action/GetPropertyAction.java: New class.
2744 * gnu/java/security/action/SetAccessibleAction.java: New class.
2746 2004-08-31 David Jee <djee@redhat.com>
2748 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2749 (setIconImage): Check if image is null.
2751 2004-08-31 David Jee <djee@redhat.com>
2753 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2754 (create): Set the icon image.
2755 (nativeSetIconImage): New native method declaration.
2756 (setIconImage): Implement.
2757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2758 (nativeSetIconImage): New function.
2760 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2762 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2763 (filenameFilterCallback): Declare local variable accepted before use.
2765 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2767 * gnu/java/awt/ComponentDataBlitOp.java:
2770 2004-08-31 Tom Tromey <tromey@redhat.com>
2772 * gnu/java/awt/peer/GLightweightPeer.java,
2773 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2774 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2775 javax/swing/JScrollPane.java: Removed
2778 2004-08-31 David Jee <djee@redhat.com>
2780 * java/awt/DefaultKeyboardFocusManager.java
2781 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2782 event. Fix shift modifier checking.
2783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2784 (accel_attach): Remove.
2785 (setupAccelGroup): Remove calls to accel_attach.
2787 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2789 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2790 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2792 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2794 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2795 * Makefile.in: Regenerate.
2796 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2798 (create(String)): New method.
2799 (create): Call new create method.
2800 (getArgs): Remove method.
2801 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2802 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2803 (nativeCreate): Rename to create.
2804 (gtkSetLabel): Rename to gtkButtonSetLabel.
2805 (gtkToggleButtonSetActive): New method.
2806 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2807 (setState): Replace set call with gtkToggleButtonSetActive.
2808 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2809 (getArgs): Remove method.
2810 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2811 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2812 (gtkWidgetSetSensitive): New method.
2813 (gtkWidgetSetParent): Likewise.
2814 (GtkComponentPeer): Call setParent, setComponentBounds and
2815 setVisibleAndEnabled.
2816 (setParent): New method.
2817 (setComponentBounds): New method.
2818 (setVisibleAndEnabled): New method.
2819 (setEnabled): Call gtkWidgetSetSensitive.
2820 (getArgs): Remove method.
2821 Remove all set methods.
2822 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2823 gtkWindowSetModal, setTitle and setResizable.
2824 (getArgs): Remove method.
2825 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2826 (setComponentBounds): New method.
2827 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2828 Replace set call with gtkWindowSetResizable.
2829 (getArgs): Remove method.
2830 (create): Call setTitle and setResizable.
2831 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2833 (gtkWindowSetTitle): New method.
2834 (gtkWindowSetResizable): New method.
2835 (gtkWindowSetModal): New method.
2836 (setParent): New method.
2837 (setVisibleAndEnabled): New method.
2838 (getArgs): Remove method.
2839 (setTitle): Call gtkWindowSetTitle.
2840 (setResizable): Call gtkWindowSetResizable.
2841 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2842 and off locking instrumentation.
2844 2004-08-31 Kim Ho <kho@redhat.com>
2846 * Makefile.am: Add new file.
2847 * Makefile.in: Regenerate.
2848 * gcj/Makefile.in: Regenerate
2849 * include/Makefile.in:
2850 * java/awt/Container.java:
2851 (acquireComponentForMouseEvent): Respect
2852 the event mask when looking for candidate.
2853 * javax/swing/JComponent.java:
2854 Remove toolTip field.
2855 (createToolTip): Create a tooltip on demand.
2856 (setToolTipText): Register with the ToolTipManager.
2857 (getToolTipText(MouseEvent)): Return getToolTipText().
2858 * javax/swing/JToolTip.java: Implement.
2859 * javax/swing/Timer.java: Jalopy.
2860 (restart): Call stop, then start.
2861 (stop): Interrupt the timer rather than wait for
2862 the timer to come to a stop naturally.
2863 * javax/swing/ToolTipManager.java: Implement.
2864 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2865 Change ToolTip.background color.
2866 * javax/swing/plaf/basic/BasicToolTipUI.java:
2868 * testsuite/Makefile.in: Regenerate
2870 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2872 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2873 constructor param comments.
2875 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2877 * java/awt/Component.java: Document AWT 1.0 event handler
2880 2004-08-31 Roman Kennke <roman@ontographics.com>
2882 * javax/swing/Box.java:
2883 (createGlue): Implemented
2884 (createHorizontalGlue): Implemented
2885 (createHorizontalStrut): Implemented
2886 (createVerticalGlue): Implemented
2887 (createVerticalStrut): Implemented
2889 2004-08-31 David Jee <djee@redhat.com>
2891 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2892 (GtkChoicePeer): Do not automatically select first item.
2893 (getHistory): Remove.
2894 (nativeGetSelected): New method.
2895 (nativeRemoveAll): New method.
2896 (add): Use nativeGetSelected() instead of getHistory().
2898 (removeAll): Call nativeRemoveAll().
2899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2900 (create): Migrate to GtkComboBox.
2902 (nativeAdd): Likewise.
2903 (nativeRemove): Likewise.
2905 (nativeRemoveAll): New method.
2906 (nativeGetSelected): New method.
2907 (selection_changed): New method.
2908 (getHistory): Remove.
2909 (item_activate): Remove.
2910 (item_removed): Remove.
2911 (connect_choice_item_selectable_hook): Remove.
2913 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2915 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2916 variable in setEditable call.
2918 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2920 (gtkWidgetSetBackground): New method.
2921 (gtkWidgetSetForeground): Likewise.
2922 (create): Set peer's editable state based on awtComponent's.
2924 * java/awt/Button.java (Button()): Use empty string rather than
2925 null in no-label constructor.
2927 2004-08-31 Roman Kennke <roman@ontographics.com>
2929 * javax/swing/BoxLayout.java: Reimplement.
2931 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2933 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2934 gnu_java_awt_peer_gtk_GdkGraphics.c
2935 (initState(GtkComponentPeer)): Don't return array of colour
2937 (GdkGraphics(int,int)): Set default font to size 12.
2938 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2939 component's foreground colour.
2940 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2941 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2942 (initState(GtkComponentPeer)): Don't return array of colour
2944 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2945 colours to component's colours.
2946 (current_colors_of_widget): Remove function.
2947 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2948 Return a new graphics object.
2949 * java/awt/Font.java (toString): Fix format.
2950 * java/awt/Graphics.java (toString): Likewise.
2952 2004-08-31 Craig Black <craig.black@aonix.com>
2954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2955 (addTearOff): New function.
2956 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2958 (init): Call addTearOff() when menu.isTearOff().
2960 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2962 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2963 Default implementation.
2964 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2965 Implement using GdkPixbufDecoder.
2967 2004-08-31 David Jee <djee@redhat.com>
2969 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2970 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2971 setting the size of GtkFileDialogPeers.
2972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2973 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2974 use their default sizes rather than their natural requisitions.
2976 2004-08-31 Michael Koch <konqueror@gmx.de>
2978 * javax/swing/JFormattedTextField.java
2979 (JFormattedTextField): Implemented.
2980 * javax/swing/text/DefaultEditorKit.java
2981 (BeepAction): New inner class.
2982 * javax/swing/text/Segment.java
2983 (partialReturn): New field.
2984 (setPartialReturn): New method.
2985 (isPartialReturn): Likewise.
2986 * javax/swing/text/View.java
2987 (createFragment): Fixed typo.
2988 (getStartOffset): New method.
2989 (getEndOffset): Likewise.
2991 2004-08-31 Michael Koch <konqueror@gmx.de>
2993 * javax/swing/table/DefaultTableColumnModel.java
2994 (serialVersionUID): Made private.
2995 (listenerList): Initialize.
2996 (changeEvent): Initialize.
2997 * javax/swing/table/JTableHeader.java
2998 (JTableHeader): New constructors.
2999 (createDefaultColumnModel): New method.
3000 * javax/swing/table/TableColumn.java
3001 (setHeaderRenderer): Simplified code.
3002 (setCellRenderer): Likewise.
3003 (setWidth): Likewise.
3005 2004-08-31 Tom Tromey <tromey@redhat.com>
3007 * java/text/AttributedString.java (AttributedString): Use
3008 ArrayList to build array of attribute ranges. Don't use
3009 `attribs' before it is set.
3011 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3013 * HACKING: Remove reference to special automake. No longer needed.
3015 2004-08-30 Tom Tromey <tromey@redhat.com>
3017 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3018 return result from `add'.
3020 2004-08-30 Tom Tromey <tromey@redhat.com>
3022 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3024 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3026 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3028 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
3030 * java/io/File.java File(String,String): Fixed handling of empty
3033 2004-08-30 Casey Marshall <csm@gnu.org>
3035 Author e-mail updated for all files.
3036 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3038 (compareTo): Use `equals'.
3039 * gnu/java/security/der/BitString.java (equals): Test if the
3040 argument is an instance of BitString.
3041 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3042 class final. Made fields private.
3043 (<init>): New constructor.
3045 (makeString): Made static; don't use NIO.
3046 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3047 * gnu/java/security/der/DERWriter.java: Fixed imports.
3048 (writeString): Don't use NIO.
3049 (toIso88591, toUtf16Be, toUtf8): New methods.
3050 * gnu/java/security/der/DERValue.java: Formatting changes only.
3051 * gnu/java/security/der/DER.java: Likewise.
3053 2004-08-30 Tom Tromey <tromey@redhat.com>
3055 * java/nio/CharBuffer.java (put): Fix typo.
3056 * java/nio/DoubleBuffer.java (put): Fix typo.
3057 * java/nio/FloatBuffer.java (put): Fix typo.
3058 * java/nio/IntBuffer.java (put): Fix typo.
3059 * java/nio/LongBuffer.java (put): Fix typo.
3060 * java/nio/ShortBuffer.java (put): Fix typo.
3062 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
3064 * java/nio/ByteBuffer.java (put): Fix typo.
3066 2004-08-30 Casey Marshall <csm@gnu.org>
3068 * java/security/DummyKeyPairGenerator.java (clone): Removed
3069 useless instanceof check.
3070 * java/security/DummyMessageDigest.java (clone): Likewise.
3071 * java/security/DummySignature.java (clone): Likewise.
3072 * java/security/MessageDigest.java (clone): Remove useless
3074 * java/security/MessageDigestSpi.java (clone): Likewise.
3075 * java/security/Signature.java (clone): Provide meaningful
3077 * java/security/SignatureSpi.java (clone): Likewise.
3079 2004-08-29 Mark Wielaard <mark@klomp.org>
3081 * java/util/Arrays.java
3082 (sort(byte[], int, int)): Check fromIndex < 0.
3083 (sort(char[], int, int)): Likewise.
3084 (sort(short[], int, int)): Likewise.
3085 (sort(int[], int, int)): Likewise.
3086 (sort(long[], int, int)): Likewise.
3087 (sort(float[], int, int)): Likewise.
3088 (sort(double[], int, int)): Likewise.
3089 (sort(Object[], int, int, Comparator)): Likewise.
3090 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3091 (qsort(char[], int, int)): Likewise.
3092 (qsort(short[], int, int)): Likewise.
3093 (qsort(int[], int, int)): Likewise.
3094 (qsort(long[], int, int)): Likewise.
3095 (qsort(float[], int, int)): Likewise.
3096 (qsort(double[], int, int)): Likewise.
3098 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3100 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3101 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3102 java/util/ArrayList.java, java/util/Arrays.java,
3103 java/util/BitSet.java, java/util/Calendar.java,
3104 java/util/Collection.java, java/util/ListIterator.java,
3105 java/util/Map.java, java/util/SortedSet.java:
3106 Added additional exceptions to documentation, along
3107 with some additions and corrections.
3109 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3111 * configure.ac: Handle --enable-gc-debug.
3112 * configure: Regenerate.
3113 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3114 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3115 Rearrange include file order.
3116 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3117 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3118 (disable_gc_mutex): Delete along with all references.
3119 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3120 adjust for debug header size.
3121 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3123 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3124 (gcj_describe_type_fn): New.
3125 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3126 Register gcj_describe_type_fn.
3127 * include/boehm-gc.h:
3128 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3129 Don't define, but declare, for debug case.
3130 * java/lang/natObject.cc:
3131 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3133 2004-08-26 Mark Wielaard <mark@klomp.org>
3135 Fixes PR libgcj/17002:
3136 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3137 a TimeZoneId string and then try to convert that to a TimeZone with
3138 getDefaultSystemTimeZone(String).
3139 (timezones0): Changed type from Hashtable to HashMap.
3140 (timezones): Create HashMap, not Hashtable.
3141 (getDefaultTimeZone): New method, rewritten from CNI version.
3142 (readTimeZoneFile): New method.
3143 (readtzFile): Likewise.
3144 (skipFully): Likewise.
3145 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3146 getDefaultTimeZoneId and rewritten.
3147 (getDefaultTimeZoneId): Rewritten in java.
3149 2004-08-25 David Daney <daney@avtrex.com>
3151 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3152 * Makefile.in: Regenerated.
3154 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3156 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3157 only if jvmpi is enabled.
3158 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3159 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3160 (_Jv_AllocString): Likewise.
3161 (_Jv_AllocPtrFreeObject): Likewise.
3163 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3165 * defineclass.cc: Include <stdio.h>.
3166 * java/lang/natClassLoader.cc: Include <stdio.h>.
3168 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3169 Michael Koch <konqueror@gmx.de>
3171 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3172 * Makefile.in: Regenerated.
3174 2004-08-20 Michael Koch <konqueror@gmx.de>
3176 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3177 AC_COMPILE_IFELSE macros.
3179 2004-08-20 Michael Koch <konqueror@gmx.de>
3181 * configure.in: Renamed to configure.ac.
3182 * configure.ac: New file.
3183 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3184 include/config.h.in, testsuite/Makefile.in: Regenerated.
3186 2004-08-20 Michael Koch <konqueror@gmx.de>
3188 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3189 * aclocal.m4, configure: Regenerated.
3191 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3192 Michael Koch <konqueror@gmx.de>
3194 * configure.in, Makefile.am: Ported to automake 1.9.
3195 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3196 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3199 2004-08-19 Tom Tromey <tromey@redhat.com>
3201 * java/net/DatagramSocket.java: Fixed typo.
3203 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3206 * java/net/URI.java (string): New field. Make all other fields
3208 (readObject): Implemented.
3209 (writeObject): Implemented.
3210 (URI): Set 'string'.
3212 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3215 * java/util/logging/Handler.java (isLoggable): Accept record if its
3216 log level equals the threshold level. From Robin Green.
3218 2004-08-18 David Daney <ddaney@avtrex.com>
3220 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3223 2004-08-17 Michael Koch <konqueror@gmx.de>
3225 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3226 * Makefile.in: Regenerated.
3228 2004-08-16 Tom Tromey <tromey@redhat.com>
3231 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3233 2004-08-16 Michael Koch <konqueror@gmx.de>
3236 (math_c_files): Renamed from c_files.
3237 (math_c_source_files): Renamed from c_source_files.
3240 include/Makefile.in,
3241 testsuite/Makefile.in: Regenerated.
3243 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3245 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3246 to avoid autoconf warning.
3247 * configure: Rebuilt.
3249 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3251 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3252 localhostAddress to loopbackAddress.
3253 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3255 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3257 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3258 boehm-gc's include dirs.
3259 * configure: Rebuilt.
3260 * include/boehm-gc.h: Include gc_config.h.
3262 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3264 * java/net/InetAddress.java (loopbackAddress): Renamed from
3266 (getByName): Return loopback address for null hostname, without
3267 security check. Use lookup(), not getAllByName.
3268 (getAllByName): Return loopback address for null hostname, without
3270 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3273 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3276 Reported by Robin Green.
3277 * defineclass.cc (handleField): Don't throw exception on unrecognised
3278 modifier. Add FIXME comments for spec compliance.
3279 (handleMethod): Likewise.
3281 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3284 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3285 (Almost everywhere): add LOG calls, fix, add comments.
3286 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3287 Add explicit check for LOCKED bit in slow case (PR 16662).
3288 (_Jv_MonitorExit): Add casts in debug-only code.
3289 Always release LOCKED bit before throwing exception.
3290 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3291 isn't. Handle easy cases without lock acquisition.
3292 (Object::wait): Use NotifyAll for lock inflation.
3294 2004-08-12 David Daney <ddaney@avtrex.com>
3296 * testsuite/libjava.lang/Process_1.java: New test.
3297 * testsuite/libjava.lang/Process_2.java: New test.
3298 * testsuite/libjava.lang/Process_3.java: New test.
3299 * testsuite/libjava.lang/Process_4.java: New test.
3300 * testsuite/libjava.lang/Process_5.java: New test.
3301 * testsuite/libjava.lang/Process_6.java: New test.
3302 * testsuite/libjava.lang/Process_1.out: Expected result.
3303 * testsuite/libjava.lang/Process_2.out: Expected result.
3304 * testsuite/libjava.lang/Process_3.out: Expected result.
3305 * testsuite/libjava.lang/Process_4.out: Expected result.
3306 * testsuite/libjava.lang/Process_5.out: Expected result.
3307 * testsuite/libjava.lang/Process_6.out: Expected result.
3309 2004-08-12 David Daney <ddaney@avtrex.com>
3312 * java/lang/PosixProcess.java: Rewrote.
3313 * java/lang/natPosixProcess.cc: Rewrote.
3314 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3315 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3316 * posix-threads.cc (block_sigchld) New function.
3317 (_Jv_ThreadRegister) Use it.
3318 (_Jv_ThreadStart) Use it.
3319 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3320 * Makefile.am: ... to specify extra native headers.
3321 * configure: Regenerated.
3322 * include/config.h: Regenerated.
3323 * Makefile.in: Regenerated.
3324 * gcj/Makefile.in: Regenerated.
3325 * include/Makefile.in: Regenerated.
3326 * testsuite/Makefile.in: Regenerated.
3328 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3330 PR tree-optimization/16867
3331 * testsuite/libjava.lang/PR16867.java: New test.
3333 2004-08-09 Per Bothner <per@bothner.com>
3335 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3336 with private fields and access methods.
3337 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3338 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3339 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3340 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3341 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3342 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3344 * resolve.cc: Likewise.
3345 * gcj/field.h: Likewise.
3346 * include/jvm.h: Likewise.
3347 * java/lang/Class.h: Likewise.
3348 * java/lang/natClass.cc: Likwise.
3349 * java/lang/natClassLoader.cc: Likewise
3350 * java/lang/reflect/natMethod.cc: Likewise
3351 * verify.cc: Likewise.
3352 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3353 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3355 2004-08-10 Andrew Haley <aph@redhat.com>
3357 * testsuite/libjava.lang/err14.java: New file.
3358 * testsuite/libjava.lang/err14.out: New file.
3360 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3362 * Makefile.am: Fix missing rename from x_nat_headers to
3364 * Makefile.in: Regenerated.
3366 2004-08-04 Andrew Haley <aph@redhat.com>
3368 * java/security/BasicPermission.java: Don't check wildcards.
3370 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3371 Michael Koch <konqueror@gmx.de>
3373 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3374 * configure.in: Replaced all usages of AC_LINK_FILES by
3377 configure: Regenerated.
3379 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3380 Michael Koch <konqueror@gmx.de>
3382 * acconfig.h: Removed.
3383 * Makefile.am: Rename variables for xlib peer to include xlib and
3384 gtk_c_headers to gtk_jni_headers.
3385 * Makefile.in: Regenerated.
3387 2004-08-04 Andrew Haley <aph@redhat.com>
3389 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3392 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3394 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3395 Replace most top level 'dnl' comments with '#' comments, conforming
3396 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3398 * configure: Rebuilt.
3400 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3402 * acinclude.m4: Include no-executables.m4.
3403 * aclocal.m4: Rebuild.
3404 * configure.in: Convert to the autoconf 2.59 version of
3405 of the no-executables hack, and also of the nonstandard CXX
3406 hack and the multilibbed CC and CXX hack. Change prerequisite
3408 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3409 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3410 testsuite/Makefile.in: Regenerate.
3412 2004-08-03 Tom Tromey <tromey@redhat.com>
3414 * jni.cc: Reindented.
3416 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3418 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3420 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3422 * testsuite/libjava.compile/PR16701.java: New test.
3424 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3426 * java/util/Collection.java, java/util/List.java,
3427 java/util/Map.java, java/util/Set.java,
3428 java/util/SortedMap.java, java/util/SortedSet.java:
3429 Added additional exceptions to documentation.
3431 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3434 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3435 * configure. Regenerate.
3436 * include/win32.h: Explicitly include winsock2.h
3437 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3440 2004-07-30 Michael Koch <konqueror@gmx.de>
3442 * java/util/zip/GZIPInputStream.java
3443 (GZIPInputStream): Increase buffer size to 4k.
3444 * java/util/zip/GZIPOutputStream.java
3445 (GZIPOutputStream): Likewise.
3446 * java/util/zip/Inflater.java
3447 (setInput): Merged formating with GNU classpath.
3448 * java/util/zip/InflaterInputStream.java
3449 (InflaterInputStream): Increase buffer size to 4k.
3450 (fill): Throw exception if stream ends early.
3451 (read): Merged endless-loop with GNU classpath.
3452 (skip): Increase buffer size to 2k.
3454 2004-07-30 Michael Koch <konqueror@gmx.de>
3456 * gnu/java/awt/EmbeddedWindow.java
3457 (addNotify): Use AccessController to allow execution of privileged
3460 2004-07-29 Michael Koch <konqueror@gmx.de>
3462 * gnu/java/lang/MainThread.java:
3463 Explicitely import used classes.
3464 (args): Make it type String[].
3466 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3468 * gnu/java/awt/ComponentDataBlitOp.java,
3469 gnu/java/beans/ExplicitBeanInfo.java,
3470 gnu/java/beans/IntrospectionIncubator.java,
3471 gnu/java/beans/editors/ColorEditor.java,
3472 gnu/java/beans/editors/FontEditor.java,
3473 gnu/java/beans/editors/NativeBooleanEditor.java,
3474 gnu/java/beans/editors/NativeByteEditor.java,
3475 gnu/java/beans/editors/NativeDoubleEditor.java,
3476 gnu/java/beans/editors/NativeFloatEditor.java,
3477 gnu/java/beans/editors/NativeIntEditor.java,
3478 gnu/java/beans/editors/NativeLongEditor.java,
3479 gnu/java/beans/editors/NativeShortEditor.java,
3480 gnu/java/beans/editors/StringEditor.java,
3481 gnu/java/io/ClassLoaderObjectInputStream.java,
3482 gnu/java/io/decode/Decoder.java,
3483 gnu/java/io/encode/Encoder.java,
3484 gnu/java/lang/ClassHelper.java,
3485 gnu/java/locale/Calendar.java,
3486 gnu/java/locale/Calendar_de.java,
3487 gnu/java/locale/Calendar_en.java,
3488 gnu/java/locale/Calendar_nl.java,
3489 gnu/java/locale/LocaleInformation_de.java,
3490 gnu/java/locale/LocaleInformation_en.java,
3491 gnu/java/locale/LocaleInformation_nl.java:
3494 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3496 * README: Remove obsolete info. Update bug URL.
3498 * NEWS: Updated with news up to GCC 3.4 release.
3500 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3502 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3503 Renamed from 'setName'. New 2-argument form with default value.
3504 (run): Pass default 'value' parameter to System.getProperty().
3505 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3507 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3510 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3512 * configure.in: Check for minimum GTK version 2.4 requirement.
3513 * configure: Rebuilt.
3515 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3517 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3518 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3520 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3522 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3523 address. Reduce sleep times. Synchronize with target threads before
3524 attempting to interrupt them. Don't try to calibrate yeild count,
3525 instead, always loop for a fixed time.
3526 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3527 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3528 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3529 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3530 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3531 * testsuite/libjava.lang/pr179.java: Likewise.
3532 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3533 time. Remove upper bounds check on sleep time.
3535 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3537 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3538 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3540 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3542 * java/io/File.java (toURI): Throw RuntimeException, not
3544 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3545 class name, not instance.
3547 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3549 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3550 and gnu/java/security/action/SetAccessibleAction.java.
3551 * Makefile.in: Rebuilt.
3553 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3555 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3556 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3558 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3559 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3560 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3562 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3564 * Makefile.am: Replace jar, rmic and rmiregistry references with
3565 gjar, grmic and grmiregistry.
3566 * configure.in: Likewise.
3567 * Makefile.in: Regenerate.
3568 * configure: Likewise.
3569 * gcj/Makefile.in: Likewise.
3570 * include/Makefile.in: Likewise.
3571 * testsuite/Makefile.in: Likewise.
3573 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3575 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3576 for privileged getProperty calls.
3577 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3578 SetAccessibleAction instead of anonymous class for doPrivileged call.
3579 (getMethod): Likewise.
3580 (setAccessible): New field. PrivilegedAction object to use when
3581 calling setAccessible.
3582 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3583 SetAccessibleAction instead of anonymous class for diPrivileged call.
3584 (setFields): Likewise.
3585 (getClassUID): Likewise.
3586 (findMethod): Likewise.
3587 * gnu/java/security/action/GetPropertyAction.java: New class.
3588 * gnu/java/security/action/SetAccessibleAction.java: New class.
3590 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3592 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3594 * testsuite/libjava.lang/Serialization.java: New test.
3595 * testsuite/libjava.lang/Serialization.out: New.
3597 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3599 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3600 missed in last commit.
3602 2004-07-23 Mark Wielaard <mark@klomp.org>
3604 * java/lang/System.java (static): Set http.agent system property when
3606 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3607 from system property inside AccessController.doPrivileged() call.
3608 (proxyPort): Made package private.
3609 (proxyInUse): Likewise.
3610 (proxyHost): Likewise.
3611 (userAgent): Likewise.
3613 2004-07-23 Mark Wielaard <mark@klomp.org>
3615 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3618 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3620 * Makefile.am (ordinary_java_source_files): Add
3621 DefaultContentHandlerFactory.java.
3622 * Makefile.in: Rebuilt.
3623 * java/net/URLConnection.java (defaultFactory): New field.
3625 (getContentHandler): Renamed from 'setContentHandler'. Try
3626 defaultFactory after user-set factory, if any. Search for content
3627 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3628 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3630 (getLastModified): Implemented.
3631 (getPermission): Create file permission here, instead of in
3633 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3635 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3637 (getLastModified): Implemented.
3638 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3639 Default implementation.
3640 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3641 Implement using GdkPixbufDecoder.
3643 2004-07-21 Michael Koch <konqueror@gmx.de>
3645 * javax/swing/JTextArea.java
3646 (setLineWrap): Fire property change event after new value is set.
3647 (setTabSize): Likewise.
3649 2004-07-21 Michael Koch <konqueror@gmx.de>
3651 * javax/swing/JTable.java
3652 (autoCreateColumnsFromModel): New field.
3653 (autoResizeMode): Likewise.
3654 (cellEditor): Likewise.
3655 (cellSelectionEnabled): Likewise.
3656 (columnModel): Likewise.
3657 (dataModel): Likewise.
3658 (defaultEditorsByColumnClass): Likewise.
3659 (defaultRenderersByColumnClass): Likewise.
3660 (editingColumn): Likewise.
3661 (editingRow): Likewise.
3662 (gridColor): Likewise.
3663 (preferredViewportSize): Likewise.
3664 (rowHeight): Likewise.
3665 (rowMargin): Likewise.
3666 (rowSelectionAllowed): Likewise.
3667 (selectionBackground): Likewise.
3668 (selectionForeground): Likewise.
3669 (selectionModel): Likewise.
3670 (showHorizontalLines): Likewise.
3671 (showVerticalLines): Likewise.
3672 (tableHeader): Likewise.
3673 (JTable): Implemented.
3674 (getColumnModel): Likewise.
3675 (getSelectedRow): Likewise.
3676 (getSelectionModel): Likewise.
3677 (setModel): Likewise.
3678 (setSelectionModel): Likewise.
3679 (createScrollPaneForTable): New method.
3680 (createDefaultDataModel): Likewise.
3681 (createDefaultListSelectionModel): Likewise.
3682 (getModel): Likewise.
3683 (getTableHeader): Likewise.
3684 (setTableHeader): Likewise.
3685 (getColumnSelectionAllowed): Likewise.
3686 (setColumnSelectionAllowed): Likewise.
3687 (getRowSelectionAllowed): Likewise.
3688 (setRowSelectionAllowed): Likewise.
3689 (getAutoResizeMode): Likewise.
3690 (setAutoResizeMode): Likewise.
3691 (getColumnCount): Likewise.
3692 (getRowCount): Likewise.
3693 (getCellRenderer): Likewise.
3694 * javax/swing/JTree.java
3695 (cellRenderer): New field.
3696 (editable): Likewise.
3697 (rootVisible): Likewise.
3698 (showsRootHandles): Likewise.
3699 (getModel): New method.
3700 (setModel): Likewise.
3701 (isEditable): Likewise.
3702 (setEditable): Likewise.
3703 (isRootVisbile): Likewise.
3704 (setRootVisible): Likewise.
3705 (getShowsRootHandles): Likewise.
3706 (setShowRootHandles): Likewise.
3707 (getCellRenderer): Likewise.
3708 (setCellRenderer): Likewise.
3710 2004-07-21 Michael Koch <konqueror@gmx.de>
3712 * javax/swing/JFormattedTextField.java
3713 (setDocument): Implemented.
3714 * javax/swing/JRootPane.java:
3716 * javax/swing/JTable.java
3717 (getDefaultRenderer): New method.
3718 * javax/swing/JTextField.java
3719 (setFont): Likewise.
3720 (getPreferredSize): Likewise.
3721 * javax/swing/JToggleButton.java
3722 (getAccessibleContext): Fix javadoc.
3723 * javax/swing/JTree.java:
3725 * javax/swing/JViewport.java:
3728 2004-07-21 David Jee <djee@redhat.com>
3730 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3731 Collect all native method declaration at the top.
3732 (create): Set the filename filter if necessary.
3733 (setDirectory): Call nativeSetDirectory().
3734 (setFilenameFilter): Implement.
3735 (filenameFilterCallback): New method.
3736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3737 (create): Configure dialog to show hidden files.
3738 (filenameFilterCallback): New function.
3739 (nativeSetFilenameFilter): New function.
3740 (nativeSetDirectory): New function.
3742 2004-07-21 Kim Ho <kho@redhat.com>
3744 * javax/swing/plaf/basic/BasicSliderUI.java:
3746 (paintTrack): Fill the track before painting
3749 2004-07-21 Graydon Hoare <graydon@redhat.com>
3751 patch from Roman Kennke <roman@ontographics.com>
3752 * javax/swing/Spring.java: New file.
3753 * javax/swing/SpringLayout.java: New file.
3754 * Makefile.am: Add new files.
3755 * Makefile.in: Regenerate.
3757 2004-07-21 Graydon Hoare <graydon@redhat.com>
3759 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3760 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3761 * javax/swing/ScrollPaneLayout.java: Likewise.
3763 2004-07-21 Kim Ho <kho@redhat.com>
3765 * javax/swing/DefaultDesktopManager.java:
3766 (findMinimum): Removed.
3767 (resizeFrame): Trust the UI to pass valid
3769 * javax/swing/JOptionPane.java:
3770 Implemented showInternalXXXDialog methods.
3771 (startModal): New method.
3772 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3773 (BorderListener::mouseDragged): Verify that the new
3774 bounds are valid before passing them to the DesktopManager.
3775 (preferredLayoutSize): Delegate
3777 (minimumLayoutSize): Ditto.
3778 (getSize): New method.
3779 (GlassPaneDispatcher): Reimplemented by copying
3780 a stripped down LightweightDispatcher from Container.
3781 (getMinimumSize): Call minimumLayoutSize.
3782 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3784 (mousePressed): Add ability to properly close
3786 * javax/swing/plaf/basic/BasicToolBarUI.java:
3787 (DragWindow): Set owner for DragWindow.
3789 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3791 * java/awt/image/ShortLookupTable.java: New file.
3792 * java/awt/image/ByteLookupTable.java: New file.
3793 * Makefile.am: Added new files.
3794 * Makefile.in: Regenerated.
3796 2004-07-21 David Jee <djee@redhat.com>
3798 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3799 (create(GtkContainerPeer)): New native method.
3800 (create()): Call native create(), passing in the parent frame
3801 as the paramter. Natively set the current file and directory.
3802 (setFile): Construct an absolute filename before passing it to
3804 (nativeGetDirectory): New method.
3805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3806 (window_closed): Removed.
3807 (ok_clicked): Likewise.
3808 (cancel_clicked): Likewise.
3809 (handle_response): New method.
3810 (create): Use GtkFileChooserDialog.
3811 (connectSignals): Connect to handle_response.
3812 (nativeGetDirectory): New method.
3813 (nativeSetFile): Use GtkFileChooserDialog.
3815 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3817 * java/awt/image/LookupTable.java: New file.
3818 * Makefile.am: Added new file.
3819 * Makefile.in: Regenerated.
3821 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3823 * java/awt/image/Kernel.java: New file.
3824 * Makefile.am: Added new file.
3825 * Makefile.in: Regenerated.
3827 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3829 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3830 * javax/swing/JMenu.java: Likewise.
3831 * javax/swing/JMenuBar.java: Likewise.
3832 (MARGIN_CHANGED_PROPERTY): New property.
3833 (setMargin): Implemented.
3834 * javax/swing/JMenuItem.java: Fixed javadocs.
3835 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3836 (LABEL_CHANGED_PROPERTY): New property.
3837 (add): changed to use createActionComponent.
3838 (createActionComponent): Implemented.
3839 (setLabel): Fire PropertyChangeEvent if label property
3841 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3842 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3843 (ContainerHandler): Repaint if margin property has changed.
3844 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3845 (installUI): Call installComponents().
3846 (uninstallUI): Call uinstallComponents().
3847 * javax/swing/plaf/basic/BasicMenuUI.java:
3849 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3852 2004-07-21 Kim Ho <kho@redhat.com>
3854 * javax/swing/plaf/basic/BasicToolBarUI.java:
3855 (DragWindow): Use the right constructor.
3857 2004-07-21 Kim Ho <kho@redhat.com>
3859 * javax/swing/JToolBar.java:
3860 (layoutContainer): Use getComponents.
3861 * javax/swing/plaf/basic/BasicToolBarUI.java:
3862 (DragWindow): Don't use SwingUtilities'
3864 (ToolBarDialog): ditto.
3866 2004-07-21 Kim Ho <kho@redhat.com>
3868 * javax/swing/JRootPane.java:
3870 (layoutContainer): Set the glasspane's size to
3871 be the same as the content pane.
3872 (createGlassPane): Set opaque property to false.
3874 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3876 * java/awt/Component.java (requestFocus()): Don't handle Panels
3878 (requestFocus(boolean)): Likewise.
3879 (requestFocusInWindow(boolean)): Likewise.
3880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3881 Set GTK_CAN_FOCUS flag.
3883 2004-07-21 Kim Ho <kho@redhat.com>
3885 * Makefile.am: Added new file.
3886 * Makefile.in: Regenerated.
3887 * gcj/Makefile.in: Regenerated.
3888 * include/Makefile.in: Regenerated.
3889 * javax/swing/AbstractButton.java:
3890 Add rollOverEnabled property.
3891 (setRolloverEnabled): Use new property.
3892 (isRolloverEnabled): Use new property.
3893 * javax/swing/JTabbedPane.java:
3894 (setComponent): Remove useless JTabbedPane.this.
3895 * javax/swing/JToolBar.java: Finish implementation.
3896 * javax/swing/plaf/basic/BasicArrowButton.java:
3897 (paint): Moved border painting to a border.
3898 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3899 Change JToolBar look and feel defaults.
3900 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3901 (actionPerformed): Return Integer index instead of name.
3902 (addButtonComponents): Check to see if component is
3904 (createMessageArea): Don't use components that are not
3906 (getIconForType): Use temporary icons.
3907 * javax/swing/plaf/basic/BasicSliderUI.java:
3908 (mousePressed): Do not return if it's on thumb.
3909 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3910 (paintMinorTickForVertSlider): ditto.
3911 (paintMajorTickForHorizSlider): ditto.
3912 (paintMajorTickForVertSlider): ditto.
3913 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3914 Add a border around the SplitPaneDivider.
3915 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3917 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3918 New file. Implemented.
3919 * javax/swing/plaf/basic/BasicToolBarUI.java:
3921 * testsuite/Makefile.in: Regenerated.
3923 2004-07-21 Graydon Hoare <graydon@redhat.com>
3925 * javax/swing/Timer.java (run): Queue events each time cycle.
3927 2004-07-21 David Jee <djee@redhat.com>
3929 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3930 (imageComplete): Call image.imageComplete().
3931 * java/awt/image/MemoryImageSource.java:
3932 Reimplement consumers as a Vector instead of a Hashtable. This is
3933 because enumeration on a Hashtable is not thread-safe.
3934 (addConsumer): Adapt to Vector consumers.
3935 (isConsumer): Adapt to Vector consumers.
3936 (removeConsumer): Adapt to Vector consumers.
3937 (startProduction): Adapt to Vector consumers. Call imageComplete()
3938 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3939 (newPixels): Adapt to Vector consumers.
3940 (sendPicture): Set the color model of the image consumer.
3941 (newPixels(IIII)): Adapt to Vector consumers.
3942 (newPixels(IIIIB)): Adapt to Vector consumers.
3944 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3946 * java/awt/Component.java (deliverEvent): Implement.
3947 (postEvent): Implement.
3948 (handleEvent): Implement.
3949 (translateEvent): New method.
3950 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3951 * java/awt/Container.java (deliverEvent): Implement.
3952 * java/awt/Event.java (paramString): Fix formatting.
3953 * java/awt/Font.java (toString): Likewise.
3954 * java/awt/Window.java (postEvent): Implement.
3956 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3958 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3959 Set window's focus owner upon receiving a FOCUS_LOST event.
3960 * java/awt/Window.java (Window()): Refocus the previously
3961 focused component within the window when the window regains the
3963 (setFocusOwner): New method.
3964 * java/awt/Component.java (requestFocus): Add FIXME.
3966 * libgcj.pc.in: Remove library flags.
3968 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3970 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3971 MOUSE_PRESSED event.
3972 * java/awt/Component.java (requestFocus()): Handle Panel
3973 specially. Post FOCUS_LOST event on opposite component.
3974 (requestFocus(boolean)): Likewise.
3975 (requestFocusInWindow(boolean)): Likewise.
3976 (paramString): Reorder dimension fields.
3977 * java/awt/Container.java (paramString): Fix string format.
3978 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3979 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3980 process key events if the focus owner is non-null.
3981 (dispatchKeyEvent): Likewise.
3982 * java/awt/Frame.java (paramString): Fix formatting.
3983 (generateName): New method.
3984 (getUniqueLong): Likewise.
3985 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3986 the temporary focus owner is null. If so, return the permanent
3988 * java/awt/Panel.java (generateName): New method.
3989 (getUniqueLong): Likewise.
3990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3991 signal handling to make callbacks more specific.
3993 2004-07-21 Michael Koch <konqueror@gmx.de>
3995 * javax/swing/text/Position.java
3996 (Bias): Implemented.
3998 2004-07-21 Michael Koch <konqueror@gmx.de>
4000 * javax/swing/LookAndFeel.java
4001 (provideErrorFeedback): New method.
4003 2004-07-21 Michael Koch <konqueror@gmx.de>
4005 * javax/swing/JTextArea.java
4006 (tabSize): New field.
4007 (getTabSize): New method.
4008 (setTabSize): Likewise.
4010 2004-07-21 Michael Koch <konqueror@gmx.de>
4012 * javax/swing/ActionMap.java:
4013 Fixed javadocs all over.
4014 (serialVersionUID): Made private.
4015 (parent): Don't explicitely initialize with default value.
4017 (keys): Reimplemented.
4018 (allKeys): Likewise.
4019 (convertSet): Removed.
4020 * javax/swing/ComponentInputMap.java:
4021 Fixed javadocs all over.
4022 (ComponentInputMap): Implemented.
4026 (SetParent): Likewise.
4027 (getComponent): Likewise.
4028 * javax/swing/InputMap.java:
4029 Fixed javadocs all over.
4030 (serialVersionUID): Made private.
4031 (parent): Don't explicitely initialize with default value.
4033 (keys): Reimplemented.
4034 (allKeys): Likewise.
4035 (convertSet): Removed.
4037 2004-07-21 Michael Koch <konqueror@gmx.de>
4039 * javax/swing/ActionMap.java,
4040 javax/swing/ComponentInputMap.java,
4041 javax/swing/InputMap.java,
4042 javax/swing/table/DefaultTableColumnModel.java,
4043 javax/swing/table/TableColumn.java,
4044 javax/swing/table/TableColumnModel.java,
4045 javax/swing/table/TableModel.java,
4046 javax/swing/text/AbstractDocument.java,
4047 javax/swing/text/TextAction.java:
4050 2004-07-21 Graydon Hoare <graydon@redhat.com>
4052 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4053 Make method non-static.
4054 * javax/swing/AbstractButton.java:
4055 Rename fields to match property names where possible.
4056 (iconTextGap): New property.
4057 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4058 (init) New method, call from after various constructors.
4059 * javax/swing/JComponent.java (revalidate):
4060 Invalidate before queueing repair.
4061 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4062 Reimplement in terms of visibleRowCount property.
4063 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4064 * javax/swing/JScrollPane.java (createScrollListener):
4065 Remove tracing chatter.
4066 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4067 * javax/swing/RepaintManager.java (addInvalidComponent):
4069 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4071 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4072 Mimic sun behavior on top left/right positioning.
4073 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4074 Remove mistaken use of preferredScrollableViewportSize here.
4075 (layoutContainer): Use view's preferred size as basis.
4076 * javax/swing/plaf/basic/BasicButtonUI.java:
4077 Set, get, and use textIconGap property.
4078 (paint) Paint text returned from layout (with ellipsis).
4079 * javax/swing/plaf/basic/BasicListUI.java:
4080 Remove tracing chatter, correct various minor calculations.
4081 (getCellBounds): Update layout state before calculating.
4082 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4083 Use margin default similar to sun's.
4084 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4085 (createIncreaseIcon): Center icon, minimize margins.
4086 (createDecreaseIcon): Likewise.
4087 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4089 (installUI): Call it.
4090 (uninstallDefaults): Implement.
4091 (uninstallUI): Call it.
4092 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4093 Call existing Window constructor.
4094 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4095 Set clip before painting.
4097 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4099 * javax/swing/JMenuItem.java:
4100 (processMouseEvent): Reimplemented to deal with
4102 (createMenuDragMouseEvent): New private helper method.
4103 Creates MenuDragMouseEvent.
4104 * javax/swing/MenuSelectionManager.java
4105 (componentForPoint): Implemented.
4106 (isComponentPartOfCurrentMenu): Made public.
4107 (processMouseEvent): Reimplemented to deal with
4109 (setSelectedPath): Corrected small mistake that caused
4110 path to be set incorrectly.
4111 (getPath): If given component is JMenu then also add this
4112 menu's popup menu to the selected path.
4113 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4115 (getPreferredSize): Call getPreferredMenuItemSize().
4116 (getPreferredItemSize): Moved code from getPreferredSize to here.
4117 (installListeners): Install MouseMotionListeners.
4118 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4119 if mouse wasn't released in the bounds of this menu item.
4120 (MenuDragMouseHandler): Implemented.
4121 * javax/swing/plaf/basic/BasicMenuUI.java:
4122 (installListeners): Install MouseMotionListener and
4123 MenuDrageMouseListener.
4124 (MenuDragMouseHandler): Implemented.
4125 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4126 (uninstallListeners): Implemented.
4128 2004-07-21 Michael Koch <konqueror@gmx.de>
4130 * javax/swing/JCheckBox.java: Reformated.
4131 (JCheckBox): Fixed all constructors.
4132 (isBorderPaintedFlat): New method.
4133 (setBorderPaintedFlat): New method.
4134 * javax/swing/JEditorPane.java
4135 (createEditorKitForContentType): Made public.
4136 (scrollToReference): Likewise.
4137 * javax/swing/JTextArea.java
4138 (setLineWrap): Fire property change.
4139 * javax/swing/JToggleButton.java
4140 (JToggleButton): New constructor.
4141 (JToggleButton): Simplified.
4142 * javax/swing/text/AttributeSet.java
4143 (FontAttribute): Renamed from FontCharacterAttribute.
4144 * javax/swing/text/JTextComponent.java
4145 (KeyBinBinding): Added javadoc.
4146 (JTextComponent): Likewise.
4147 (getAccessibleContext): Fixed javadoc.
4148 * javax/swing/text/View.java
4149 (View): Added javadoc.
4150 * javax/swing/text/TabableView.java: New file.
4151 * Makefile.am: Added javax/swing/text/TabableView.java.
4152 * Makefile.in: Regenerated.
4154 2004-07-21 Graydon Hoare <graydon@redhat.com>
4156 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4157 * gnu/java/awt/peer/gtk/GtkToolkit.java
4158 (GtkErrorImage): New helper class.
4159 (bufferedImageOrError): New helper method.
4160 (createImage): Use it.
4162 2004-07-21 David Jee <djee@redhat.com>
4164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4165 (setCaretPosition): Scroll the text view so the new caret position
4166 is visible on screen.
4168 2004-07-21 David Jee <djee@redhat.com>
4170 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4171 (setBounds): Do not validate awtComponent here.
4172 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4173 (getPreferredSize): New method.
4174 * java/awt/ScrollPane.java
4175 (ScrollPane): Set default size to 100x100.
4176 (addNotify): If child is not a Panel, wrap it with a new Panel.
4177 (paramString): Implement.
4179 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4181 * javax/swing/JMenu.java:
4182 (setSelected): Display popup menu only if this menu
4183 is showing on the screen.
4184 * javax/swing/JPopupMenu.java:
4185 (processMouseEvent): Added comment.
4186 (processKeyEvent): Likewise.
4187 * javax/swing/MenuSelectionManager.java:
4188 (clearSelectedPath): Only fireStateChanged() after
4189 selected path was changed, not before.
4190 (setSelectedPath): Likewise.
4191 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4192 (paintMenuItem): Corrected position of menu item's
4194 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4195 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4196 (popupMenuCanceled): Reimplemented.
4197 (popupMenuWillBecomeVisible): Select first menu item by default
4198 when displaying free floating popup menus.
4199 (TopWindowListener): Reimplemented.
4201 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4203 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4204 Panel from being painted twice when it is first shown.
4206 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4208 * java/awt/Window.java: Reverted changes from my
4209 previous patch for creating window without an owner.
4210 * javax/swing/SwingUtilities.java:
4211 (SwingUtilities.OwnerFrame): made static.
4212 (OwnerFrame.setVisible): New method. Overridden with
4213 empty implementation.
4214 (OwnerFrame.isShowing): New method. Ovverridden
4215 to return always true.
4217 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4219 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4221 (GtkComponentPeer): Remove temporary try/catch block.
4222 (setVisible): Call show and hide.
4223 (show): Make native.
4225 (getArgs): Don't add "visible" argument.
4226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4227 (property_notify_predicate): Return Bool instead of int.
4228 (find_layout): New function.
4229 (connectJObject): Call find_layout.
4230 (connectSignals): Likewise.
4231 (moveLayout): Likewise.
4232 (gtkLayoutSetVisible): Likewise.
4234 2004-07-21 Mark Wielaard <mark@klomp.org>
4236 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4237 on notifier object before calling notifyAll().
4239 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4241 * java/awt/Window.java: Changed constructors to use new
4242 method that is described below. Constructors call this
4243 methods only if newly created window should have an owner.
4244 (setWindowOwner): New method. Implementation for
4245 this method is moved from this(owner,configuration).
4246 * javax/swing/JWindow.java:
4247 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4249 * javax/swing/SwingUtilities.java:
4250 (ownerFrame): Change type of this field to OwnerFrame.
4251 (getOwnerFrame): Changed to return object of type OwnerFrame.
4252 (SwingUtilities.OwnerFrame): New class. Represents owner
4253 of a Window that is not provided with one.
4255 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4257 * javax/swing/AbstractButton.java:
4258 (configurePropertiesFromAction): Set action command
4259 to button's text by default if action command is not
4260 explicitely specified.
4261 * javax/swing/JMenu.java: Remove unnecessary listener
4262 and methods relevant to it.
4263 (setSelected): Reimplemented.
4264 (menuSelectionChanged): Moved most part of implementation to
4265 setSelected() and call it instead.
4266 * javax/swing/JMenuItem.java:
4267 (init): Comment out statement that sets paint_border to false.
4268 (configurePropertiesFromAction): Do not set accelerator
4270 (menuSelectionChanged): Change selected index in the selection
4271 model of menu item's parent.
4272 * javax/swing/JPopupMenu.java:
4273 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4274 instead of GridBagConstraints.HORIZONTAL.
4276 (createActionChangeListener): Implemented.
4277 (setVisible): Correct location of HeavyWeightMenu and
4278 don't firePopupMenuCanceled().
4279 (menuSelectionChanged): Implemented.
4280 (ActionChangeListener): New Listener. Implemented.
4281 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4282 (BasicMenuBarUI.ContainerHandler): Implemented.
4283 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4284 (paintMenuItem): Uncommented out code that paints
4285 icon, now that icons are working properly.
4286 (PropertyChangeListener): Implemented.
4287 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4289 (topWindowListener): New field.
4290 (Constructor): initialize topWindowListener.
4291 (BasicPopupMenuUI.TopWindowListener): Implemented.
4292 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4293 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4296 2004-07-21 Michael Koch <konqueror@gmx.de>
4298 * javax/swing/plaf/basic/BasicButtonUI.java
4299 (paintFocus): Fixed method signature.
4300 (paintButtonPressed): Likewise.
4301 (paintButtonNormal): Likewise.
4302 (paintText): New method.
4303 * javax/swing/plaf/basic/BasicLabelUI.java
4304 (paint): Re-indented.
4305 * javax/swing/plaf/basic/BasicTextUI.java
4306 (installUI): Set parent textComponent to opaque.
4307 * javax/swing/text/DefaultHighlighter.java
4308 (checkPositions): New helper method.
4309 (addHighlight): Throws BadLocationException, check positions.
4310 (changeHighlight): Likewise.
4311 * javax/swing/text/EditorKit.java
4312 (EditorKit): Implements Serializable.
4313 * javax/swing/text/JTextComponent.java
4314 (getUI): Added javadoc.
4316 (upadteUI): Added javadoc, don't revalidate and repaint.
4318 2004-07-21 David Jee <djee@redhat.com>
4320 * java/awt/GridBagLayout.java
4321 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4322 * javax/swing/AbstractButton.java
4323 (setText): Reindent.
4324 * javax/swing/RepaintManager.java
4325 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4327 2004-07-21 Michael Koch <konqueror@gmx.de>
4329 * javax/swing/JFormattedTextField.java
4331 (JFormattedTextField): Implemented.
4332 (getValue): Likewise.
4333 (setValue): Likewise.
4334 * javax/swing/LookAndFeel.java
4335 (getSupportsWindowDecorations): New method.
4336 * javax/swing/UIDefaults.java:
4337 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4338 (addPropertyChangeListener): Made public.
4339 (addResourceBundle): Likewise.
4340 (removeResourceBundle): Likewise.
4341 (setDefaultLocale): Likewise.
4342 * javax/swing/plaf/basic/BasicRootPaneUI.java
4343 (BasicRootPaneUI): Implements PropertyChangeListener.
4344 (propertyChange): New method.
4345 * javax/swing/plaf/basic/BasicTextUI.java
4346 (BasicHighlighter): New inner class.
4347 (createHighlighter): New method.
4348 * javax/swing/plaf/basic/BasicToolBarUI.java
4349 (DragWindow): Extends java.awt.Window.
4350 * javax/swing/text/JTextComponent.java
4351 (getDocument): Removed debug output.
4352 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4353 javax/swing/text/DefaultHighlighter.java,
4354 javax/swing/text/FieldView.java,
4355 javax/swing/text/PlainView.java: New files.
4356 * Makefile.am: Added new files.
4357 * Makefile.in: Regenerated.
4359 2004-07-21 Michael Koch <konqueror@gmx.de>
4361 * javax/swing/JEditorPane.java
4362 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4363 (createEditorKitForContentType): Likewise.
4364 * javax/swing/text/DefaultEditorKit.java
4365 (serialVersionUID): Added constant field.
4366 (EndOfLineStringPropery): Fixed typo.
4367 (DefaultEditorKit): New constructor.
4368 * javax/swing/text/Segment.java:
4369 Import java.text.CharacterIterator.
4370 * javax/swing/text/CharacterIterator.java,
4371 javax/swing/text/PlainEditorKit.java: Removed.
4372 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4373 javax/swing/text/PlainEditorKit.java.
4374 * Makefile.in: Regenerated.
4376 2004-07-21 Michael Koch <konqueror@gmx.de>
4378 * javax/swing/JButton.java,
4379 javax/swing/text/DefaultEditorKit.java,
4380 javax/swing/text/EditorKit.java,
4381 javax/swing/text/Segment.java,
4382 javax/swing/text/StyledEditorKit.java:
4385 2004-07-21 Michael Koch <konqueror@gmx.de>
4387 * javax/swing/ImageIcon.java
4389 (description): Renamed from descr.
4390 (ImageIcon): Added missing constructors.
4391 (setParent): Removed.
4392 (setImageObserver): New method.
4393 (getImageObserver): New method.
4394 (paintIcon): Handle observer = null.
4395 * javax/swing/JButton.java
4396 (removeNotify): Fixed javadoc.
4397 (updateUI): Simplified.
4398 * javax/swing/JRootPane.java
4399 (serialVersionUID): New constant field.
4400 * javax/swing/UIManager.java:
4401 Fixed javadocs all over.
4402 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4403 * javax/swing/text/AbstractDocument.java
4404 (createPosition): Throws BadLocationException.
4405 (getText): Likewise.
4407 * javax/swing/text/ComponentView.java
4408 (modelToView): Likewise.
4409 * javax/swing/text/DefaultEditorKit.java:
4410 Made all public methods public.
4411 (read): Throws BadLocationException and IOException.
4413 * javax/swing/text/EditorKit.java:
4414 Made all public methods public.
4415 (serialVersionUID): New constant field.
4416 (clone): New method.
4417 (read): Throws BadLocationException and IOException.
4419 * javax/swing/text/Segment.java
4420 (array): Made public.
4423 (Segment): New constructors.
4424 (clone): Reimplemented.
4425 * javax/swing/text/StyledEditorKit.java
4426 (serialVersionUID): New constant field.
4428 2004-07-21 Graydon Hoare <graydon@redhat.com>
4430 * java/awt/image/BufferedImage.java
4431 (getSource): Implement.
4432 * javax/swing/ImageIcon.java
4433 (ImageIcon): Implement ctor.
4434 * javax/swing/ScrollPaneLayout.java
4435 (preferredLayoutSize): Be more careful about nulls.
4437 2004-07-21 Michael Koch <konqueror@gmx.de>
4439 * javax/swing/text/AttributeSet.java
4440 (CharacterAttribute): New interface
4441 (ColorAttribute): Likewise.
4442 (FontCharacterAttribute): Likewise.
4443 (ParagraphAttribute): Likewise.
4444 * javax/swing/text/DefaultCaret.java
4445 (moveCaret): New method.
4446 (positionCaret): Likewise.
4447 (repaint): Made protected.
4448 * javax/swing/text/JTextComponent.java
4449 (KeyBinding): Made it static.
4450 * javax/swing/text/View.java
4451 (getContainer): Honor parent == null.
4453 2004-07-21 Michael Koch <konqueror@gmx.de>
4455 * javax/swing/text/AbstractDocument.java:
4458 2004-07-21 Michael Koch <konqueror@gmx.de>
4460 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4461 Import javax.swing.UIManager explicitely.
4462 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4463 (ScrollingButton): Made it static.
4465 2004-07-21 Michael Koch <konqueror@gmx.de>
4467 * javax/swing/UIDefaults.java
4468 (ActiveValue): Made public.
4469 (LazyValue): Likewise.
4470 * javax/swing/plaf/basic/BasicTextUI.java
4471 (RootView): Reintroduced.
4473 (rootView): New field.
4474 (installUI): Create document if needed, initialize rootView.
4475 (uninstallUI): Hanle rootView.
4477 (getRootView): Likewise.
4478 (setView): Likewise.
4479 * javax/swing/text/DefaultCaret.java:
4480 Renamed all "evt" variables to "event".
4482 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4484 * libgcj.spec.in: Add -l-java-util-logging.
4486 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4489 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4490 gtk-xft-dpi can no calculate the right value.
4491 (dpi_changed_cb): Mark *pspec as unsused.
4493 2004-07-21 David Jee <djee@redhat.com>
4495 * java/awt/Component.java
4496 (move): Delegate to setBounds().
4498 (reshape): Fix so it repaints parent and self only when necessary.
4500 2004-07-21 David Jee <djee@redhat.com>
4502 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4504 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4505 (setVisible): Likewise.
4508 (getArgs): Likewise.
4509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4510 (property_notify_predicate): Likewise.
4511 (find_layout): Likewise.
4512 (connectJObject): Likewise.
4513 (connectSignals): Likewise.
4514 (moveLayout): Likewise.
4515 (gtkLayoutSetVisible): Likewise.
4517 2004-07-21 Graydon Hoare <graydon@redhat.com>
4523 (rmiregistry_LDADD): Add lib-java-util-logging.la
4524 * Makefile.in: Regenerate.
4526 2004-07-21 Michael Koch <konqueror@gmx.de>
4528 * javax/swing/text/AbstractDocument.java
4529 (replace): Dont use protected method of java.util.Vector directly.
4531 2004-07-21 Michael Koch <konqueror@gmx.de>
4533 * javax/swing/plaf/basic/BasicTextUI.java
4534 (installUI): Call specialized install methods.
4535 (installDefaults): New method.
4536 (installListeners): Likewise.
4537 (installKeyboardActions): Likewise.
4538 (uninstallUI): Likewise.
4539 (uninstallDefaults): New method.
4540 (uninstallListeners): Likewise.
4541 (uninstallKeyboardActions): Likewise.
4542 (getPropertyPrefix): New abstract method.
4543 (paint): Made final, just call paintSafely().
4544 (paintSavely): New method.
4545 (paintBackground): Likewise.
4546 (getVisibleEditorRect): Likewise.
4547 * javax/swing/text/LayeredHighlighter.java,
4548 javax/swing/text/TabExpander.java: New files.
4549 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4550 and javax/swing/text/TabExpander.java.
4551 * Makefile.in: Regenerated.
4553 2004-07-21 Michael Koch <konqueror@gmx.de>
4555 * javax/swing/plaf/basic/BasicTextUI.java
4556 (BasicTextUI): Made abstract.
4557 (BasicCaret): New inner class.
4558 (view): Don't explicitely initialize with "null".
4559 (textComponent): New field.
4560 (textColor): Removed.
4561 (disabledTextColor): Removed.
4562 (normalBackgroundColor): Removed.
4563 (RootView): Removed commented out inner class.
4564 (createUI): Removed.
4565 (createCaret): New method.
4566 (getComponent): Likewise.
4567 (installUI): Initialize textComponent only.
4568 (getPreferredSize): Use installed JTextComponent.
4569 (setView): New method.
4571 * javax/swing/text/JTextComponent.java
4572 (highlighter): New field.
4573 (caretColor): Likewise.
4574 (disabledTextColor): Likewise.
4575 (seletedTextColor): Likewise.
4576 (selectionColor): Likewise.
4577 (setUI): New method.
4578 (getCaretColor): Likewise.
4579 (setCaretColor): Likewise.
4580 (getDisabledColor): Likewise.
4581 (setDisabledColor): Likewise.
4582 (getSelectedTextColor): Likewise.
4583 (setSelectedTextColor): Likewise.
4584 (getSelectionColor): Likewise.
4585 (setSelectionColor): Likewise.
4586 (getHighlighter): Likewise.
4587 (setHighlighter): Likewise.
4588 (replaceSelection): Likewise.
4590 2004-07-21 Michael Koch <konqueror@gmx.de>
4592 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4593 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4594 * javax/swing/plaf/basic/BasicToolBarUI.java
4595 (BasicToolBarUI): Implements SwingConstants.
4597 2004-07-21 Michael Koch <konqueror@gmx.de>
4599 * javax/swing/JPopupMenu.java: Removed CVS tags.
4600 * javax/swing/UIDefaults.java: Reformatted.
4601 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4602 Explicitely import used classes.
4604 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4606 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4607 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4608 (GtkComponentPeer): Remove temporary try/catch block.
4609 (setVisible): Call show and hide.
4610 (show): Make native.
4612 (getArgs): Don't add "visible" argument.
4613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4614 (property_notify_predicate): Return Bool instead of int.
4615 (find_layout): New function.
4616 (connectJObject): Call find_layout.
4617 (connectSignals): Likewise.
4618 (moveLayout): Likewise.
4619 (gtkLayoutSetVisible): Likewise.
4621 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4623 * javax/swing/AbstractButton.java:
4624 (setDisplayedMnemonicIndex): Check if button
4625 text is not null before checking its length.
4626 * javax/swing/JMenuItem.java:
4627 (processMouseEvent): Disarm menu item if mouse has
4629 * javax/swing/plaf/basic/BasicMenuUI.java:
4630 (MouseInputHandler.mouseEntered): Do not raise
4631 popup menu if this menu is already selected.
4632 (MouseInputHandler.mousePressed): Do not fire
4634 (MenuHandler): Implemented.
4636 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4638 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4639 (getSelectedObjects): Implemented.
4640 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4641 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4642 Added javadoc for few methods.
4643 (processMouseEvent): Made public.
4644 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4645 (processMouseEvent): Likewise.
4647 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4649 * javax/swing/AbstractButton.java:
4650 (init): Set display mnemonic index to -1.
4651 (setMnemonic(char)): Use setMnemonic(int).
4652 (setMnemonic(int)): Set display mnemonic index.
4653 (getDisplayedMnemonicIndex): Change method signature
4654 by removing 'index' parameter.
4655 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4656 Added default for Menu.selectionBackground.
4657 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4658 (paintMenuItem): Change background color of the selected
4660 (paintText): Paint differently when menu item is disabled.
4661 Also paint mnemonic if it appears in the menu item's label.
4662 (paintAccelerator): Paint accelerator differently
4663 if menu item is disabled.
4664 * javax/swing/plaf/basic/BasicMenuUI.java:
4665 (installDefaults): Install defaults for
4666 selectionForeground and selectionBackground.
4667 (uninstallDefaults): Uninstall defauls for
4668 selectionForeground and selectionBackground.
4670 2004-07-21 Michael Koch <konqueror@gmx.de>
4672 * javax/swing/text/AbstractDocument.java
4673 (BranchElement): Implemented.
4674 (LeafElement): Implemented.
4675 * javax/swing/text/DefaultCaret.java:
4676 Import used classes.
4677 (serialVersionUID): New constant.
4678 * javax/swing/text/JTextComponent.java
4679 (AccessibleJTextComponent): Removed dead declaration.
4680 (caretPos): Removed.
4681 (setCaret): New method.
4682 * javax/swing/text/PlainDocument.java
4683 (rootElement): New field.
4684 (PlainDocument): Initialize rootElement.
4685 (createDefaultRoot): New method.
4686 (getDefaultRootElement): Implemented.
4687 * javax/swing/text/View.java: Reformatted.
4688 * javax/swing/text/ViewFactory.java
4689 (create): Added javadoc.
4691 2004-07-21 Michael Koch <konqueror@gmx.de>
4693 * javax/swing/ToolTipManager.java: Reformatted.
4695 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4697 * javax/swing/AbstractButton.java
4698 (changeEvent): New field.
4699 (fireItemStateChanged): Change source of the event
4700 to 'this' before firing it to button listeners.
4701 (fireActionPerformed): Likewise.
4702 (fireStateChanged): Likewise.
4703 (createActionListener): Do not set source
4704 of the event to AbstractButton.
4705 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4706 (ContainerHandler.componentAdded): Removed
4707 print out statement.
4708 (ContainerHandler.componentRemoved): Likewise.
4710 2004-07-21 Michael Koch <konqueror@gmx.de>
4712 * javax/swing/text/Highlighter.java: New file.
4713 * Makefile.am: Added javax/swing/text/Highlighter.java.
4714 * Makefile.in: Regenerated.
4716 2004-07-21 Michael Koch <konqueror@gmx.de>
4718 * javax/swing/ToolTipManager.java
4719 (stillInsideTimerAction): Fixed constructor arguments.
4720 (outsideTimerAction): Likewise.
4721 (insideTimerAction): Likewise.
4723 2004-07-21 Michael Koch <konqueror@gmx.de>
4725 * javax/swing/JButton.java: Reformatted.
4726 * javax/swing/JFormattedTextField.java
4727 (getUIClassID): Implemented.
4728 * javax/swing/JRootPane.java
4729 (serialVersionUID): New constant.
4730 * javax/swing/JTextField.java
4732 (JTextField): Simplified.
4733 (getUIClassID): New method.
4734 (getActionListeners): Added @since tag.
4735 (setColumns): Invalidate layout and repaint.
4736 (getHorizontalAlignment): New method.
4737 (setHorizontalAlignment): New method.
4738 (selectAll): Removed.
4739 * javax/swing/SwingUtilities.java
4740 (getAncestorOfClass): Removed redundant @see tag.
4741 (isLeftMouseButton): Fixed implementation.
4742 (isMiddleMouseButton): Likewise.
4743 (isRightMouseButton): Likewise.
4744 * javax/swing/text/AbstractDocument.java
4745 (AttributeContext.addAttribute): New method.
4746 (AttributeContext.addAttributes): New method.
4747 (AttributeContext.getEmptySet): New method.
4748 (AttributeContext.reclaim): New method.
4749 (AttributeContext.removeAttribute): New method.
4750 (AttributeContext.removeAttributes): New method.
4751 * javax/swing/text/Document.java
4752 (createPosition): Throws BadLocationException.
4753 (getText): Likewise.
4755 * javax/swing/text/JTextComponent.java
4756 (getText): Return null if no document is set. Catch
4757 BadLocationException.
4759 (updateUI): Simplified.
4761 2004-07-21 Michael Koch <konqueror@gmx.de>
4763 * javax/swing/JButton.java
4764 (removeNotify): Fixed javadoc.
4765 (updateUI): Simplified.
4767 2004-07-21 David Jee <djee@redhat.com>
4769 * gnu/java/awt/image/ImageDecoder.java
4770 (startProduction): Only add consumer if it's not added yet.
4771 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4772 (GdkPixbufDecoder): Don't call initState() here.
4773 (produce): Call initState() here, to ensure area_prepared and
4774 area_updated signals are properly connected.
4775 * gnu/java/awt/peer/gtk/GtkImage.java
4776 (setColorModel): Use equals() to compare ColorModel objects.
4777 (setPixels): Likewise.
4778 * java/awt/image/ColorModel.java
4779 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4780 * java/awt/image/RGBImageFilter.java
4781 (setColorModel): Set consumer's color model.
4782 (setPixels): Use equals() to compare ColorModel objects.
4784 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4786 * java/net/URLConnection.java (position): New field.
4787 (dateFormat1, dateFormat2, dateFormat3): Removed.
4788 (dateFormats): New field.
4789 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4790 each time instead of re-allocating.
4791 (initializeDateFormats): Initialize 'dateFormats'.
4793 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4796 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4799 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4801 * java/net/Socket.java (getImpl): Now private. Remove comment.
4803 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4805 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4806 of chained Writer when calling super-constructor.
4807 * java/io/FilterWriter.java (FilterWriter): Likewise.
4808 * java/io/PrintWriter.java (PrintWriter): Likewise.
4810 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4812 * prims.cc (process_gcj_properties): Don't increment i within LHS
4815 2004-07-19 Per Bothner <per@bothner.com>
4817 Print -verbose:message on "loading", not initialization.
4818 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4819 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4820 gcj::verbose_class_flag.
4821 * java/lang/natClass.cc (initializeClass): Don't print message here.
4822 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4823 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4824 (_Jv_PrepareCompiledClass): Likewise.
4826 2004-07-18 Matthias Klose <doko@debian.org>
4828 * configure.in: Substitute target_noncanonical.
4829 * configure: Regenerate
4831 2004-07-17 Michael Koch <konqueror@gmx.de>
4833 * java/lang/String.java: Fixed javadocs all over.
4835 2004-07-17 Mark Wielaard <mark@klomp.org>
4837 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4838 when size is smaller.
4839 * java/io/RandomAccessFile.java (setLength): Use truncate for
4840 shrinking the file and seek plus write for expanding the file.
4842 2004-07-17 Michael Koch <konqueror@gmx.de>
4844 * gnu/java/nio/channels/natFileChannelPosix.cc
4845 (implTruncate): Always save current position. Only reposition file
4846 pointer to where we started if not beyond new lenght. Reposition file
4847 pointer to file length if it points beyond the end of file.
4849 2004-07-17 Mark Wielaard <mark@klomp.org>
4851 * javax/swing/Box.java: Put FIXME comment above class declaration.
4852 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4853 * javax/swing/JCheckBox.java: Likewise.
4854 * javax/swing/JDialog.java: Likewise.
4855 * javax/swing/JRadioButton.java: Likewise.
4856 * javax/swing/JToggleButton.java: Likewise.
4857 * javax/swing/UIManager.java: Likewise.
4858 * javax/swing/border/TitledBorder.java: Likewise.
4859 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4860 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4861 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4862 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4863 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4864 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4865 * javax/swing/text/JTextComponent.java: Likewise.
4867 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4869 * java/net/DatagramPacket.java (setAddress): Removed check for
4872 2004-07-17 Michael Koch <konqueror@gmx.de>
4874 * java/net/DatagramSocket.java
4875 (getLocalAddress): Check if socket is bound or not.
4876 * java/net/Socket.java
4877 (getLocalAddrss): Check if socket is bound or not.
4878 (getPort): Return -1 when not connected. Dont check getImpl() for
4880 (setReuseAddress): Check if socket is closed.
4881 (isConnected): Check if getImpl() returns null.
4883 2004-07-17 Mark Wielaard <mark@klomp.org>
4885 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4886 on notifier object before calling notifyAll().
4888 2004-07-17 Michael Koch <konqueror@gmx.de>
4890 * gnu/java/nio/channels/FileChannelImpl.java
4891 (finalize): Added javadoc.
4893 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4895 * java/text/CollationElementIterator.java
4896 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4897 (setText): Use ArrayList instead of Vector.
4899 2004-07-17 Michael Koch <konqueror@gmx.de>
4901 * java/nio/ByteOrder.java
4902 (static): Removed. Not needed.
4903 Thanks to Patrick Reali for noticing.
4904 * java/nio/charset/CharsetDecoder.java
4905 (decode): Fix for classpath bug #9177: Reset state before flipping.
4907 2004-07-17 Michael Koch <konqueror@gmx.de>
4909 * java/security/Security.java: Fixed javadocs all over.
4911 2004-07-17 Michael Koch <konqueror@gmx.de>
4913 * gnu/java/awt/EmbeddedWindow.java
4915 (addNotify): Set peer via reflection.
4916 (setWindowPeer): Removed.
4917 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4918 * Makefile.am (nat_source_files):
4919 Removed gnu/java/awt/natEmbeddedWindow.cc.
4920 * Makefile.in: Regenerated.
4922 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4924 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4926 * configure: Regenerated.
4928 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4930 * configure.in: Use build_noncanonical rather than build_alias.
4931 * configure: Rebuild.
4933 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4934 by logic refactoring. Move default definition of NATIVE closer
4935 to first alternate definition.
4936 * configure: Regenerate.
4938 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4939 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4940 gcj/Makefile.in: Regenerate.
4941 * configure.in: Set ZIP and GCJH. Remove redundant condition
4942 in AM_CONDITIONAL(NATIVE,...)
4943 * configure: Regenerate.
4945 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4947 * configure.in: Use target_noncanonical rather than
4948 target_alias for forward-compatibility with autoconf 2.59.
4949 * configure: Regenerate.
4950 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4951 testsuite/Makefile.am: Substitute target_noncanonical.
4952 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4953 testsuite/Makefile.in: Regenerate.
4955 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4956 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4957 * acinclude.m4: Include acx.m4.
4958 * aclocal.m4: Regenerate.
4959 * configure: Regenerate.
4961 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4964 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4965 (decimalFormat): New static variable.
4967 (getTime): New. Override Date.getTime().
4968 (toString): Synchronize. Use decimalFormat to format nanos value
4969 correctly. Truncate extra zeros.
4970 (before): Compare getNanos() only if getTime() is equal.
4973 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4975 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4976 * configure.in: ...here.
4977 * aclocal.m4: Regenerate.
4978 * configure: Regenerate.
4980 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4981 * configure: Rebuilt with autoconf 2.13.
4982 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4983 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4985 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4988 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4990 * Makefile.in: Rebuilt.
4991 * testsuite/libjava.lang/LargeFile.java: New test case.
4992 * testsuite/libjava.lang/LargeFile.out: New file.
4994 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4996 * java/beans/EventHandler.java: Remove debugging statements.
4998 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5000 * java/beans/EventHandler.java: New file.
5001 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5002 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5003 testsuite/Makefile.in: Regenerate.
5005 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5007 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5008 flag to the gcj_setup.
5009 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5011 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5012 deprecation flag change. 58 XFAILS removed.
5014 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5016 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5017 -fno-use-divide-subroutine.
5018 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5019 (HANDLE_FPE): Define.
5020 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5021 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5022 (HANDLE_DIVIDE_OVERFLOW): Define.
5024 2004-07-14 Michael Koch <konqueror@gmx.de>
5025 Matthias Klose <doko@debian.org>
5027 * java/awt/im/InputContext.java: Initialize in, line.
5029 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5031 * interpret.cc (run): Correctly access libffi return values of
5032 integral smaller-than-int type; these are implicitly promoted.
5034 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5037 * interpret.cc (compile_mutex): New.
5038 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5039 (run): Lock compile_mutex before calling compile() if compilation is
5041 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5042 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5044 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5047 * include/jvm.h (_Jv_value): New union type.
5048 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5049 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5052 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
5054 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5055 * gnu/awt/xlib/XOffScreenImage.java
5056 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5057 constructor argument. Add constructor using ImageProducer.
5058 (getSource): Implement.
5059 (imageComplete): New method.
5060 (setColorModel): New method.
5061 (setDimensions): New method.
5062 (setHints): New method.
5063 (setPixels): New method.
5064 (setProperties): New method.
5065 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5066 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5068 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5071 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5072 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5073 (finalizerReady): Now native.
5075 (runFinalizers): Removed.
5076 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5077 a primitive lock, and don't hold it while running the finalizers.
5078 (runFinalizers): Implement. Don't aquire any Java lock.
5079 (finalizerReady): Use lock primitives to signal finalizer thread.
5081 2004-07-11 Mark Wielaard <mark@klomp.org>
5083 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5084 * java/net/URLStreamHandler.java (parseURL): When url file part
5085 doesn't contain a '/' just ignore context.
5087 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5089 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5090 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5091 (MAKE_THROW_FRAME): Do not modify PSW address.
5092 (INIT_SEGV): Install SIGINFO-style signal handler.
5093 (INIT_FPE): Likewise.
5095 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5097 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5098 status. 21 xfail's removed, 1 added.
5100 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5102 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5104 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5106 * java/text/MessageFormat.java
5107 (formatInternal): Append "{n}" if argument n is unavailable.
5108 (format(Object, StringBuffer, FieldPosition)): This
5109 should be equivalent to format(Object[],
5110 StringBuffer, FieldPosition).
5112 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5114 * java.util.Calendar.java (cache): New private static field. Cached
5115 mappings of locales->calendar classes.
5116 (ctorArgTypes): New private static field. Singleton argument for
5117 calendar class constructor lookup.
5118 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5119 Optimize by bypassing reflection instantiation for the
5120 GregorianCalendar case.
5122 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5124 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5125 ResourceBundle.getBundle() calls.
5126 * java/util/GregorianCalendar.java: Likewise.
5127 * java/util/Currency.java: Likewise.
5128 * java/text/BreakIterator.java: Likewise.
5129 * java/text/Collator.java: Likewise.
5130 * java/text/DateFormat.java: Likewise.
5131 * java/text/DateFormatSymbols.java: Likewise.
5132 * java/text/DecimalFormatSymbols.java: Likewise.
5133 * java/text/NumberFormat.java: Likewise.
5134 * java/awt/Window.java: Likewise.
5136 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5138 * java/util/ResourceBundle.java (bundleCache): Renamed from
5139 resourceBundleCache. Update comments.
5140 (getObject): Don't catch MissingResourceException.
5141 (getBundle(String)): Remove 'final'. Use system classloader if
5142 getCallingClassLoader returned null.
5143 (getBundle(String, Locale)): Likewise.
5144 (BundleKey): New private class. HashMap key for bundle cache lookup.
5145 (lookupKey): New. Singleton instance of BundleKey.
5146 (nullEntry): New. Cache entry to represent failed lookups.
5147 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5148 caching strategy, no-allocation lookup, and new tryBundle methods.
5149 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5150 name using given classloader.
5151 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5152 baseName for given Locale and attempt to load bundle.
5154 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5156 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5157 illegal protected method calls.
5159 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5161 Fix or remove some bogus test cases.
5162 * testsuite/libjava.compile/pr10459_2.java: Removed.
5163 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5165 * testsuite/libjava.compile/inner_data.java: Test against its own
5168 2004-07-09 Michael Koch <konqueror@gmx.de>
5170 * scripts/unicode-muncher.pl: Updated to version 2.1
5171 from GNU classpath. Added some clarifications on where to find the
5172 needed files from www.unicode.org.
5173 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5174 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5175 Removed, these can directly be downloaded from www.unicode.org if
5177 * gnu/java/lang/CharData.java: Regenerated.
5178 * include/java-chartables.h: Regenerated.
5179 * Makefile.am (ordinary_java_source_files):
5180 Removed gnu/java/lang/CharData.java.
5181 * Makefile.in: Regenerated.
5183 2004-07-09 Michael Koch <konqueror@gmx.de>
5185 * java/security/AccessControlContext.java,
5186 java/security/SecureClassLoader.java:
5189 2004-07-09 Michael Koch <konqueror@gmx.de>
5191 * java/io/ObjectInputStream.java (readFields): Use long datatype
5192 when shifting byte values more then 24 bits left.
5194 2004-07-09 Michael Koch <konqueror@gmx.de>
5196 * java/util/zip/DeflaterOutputStream.java,
5197 java/util/zip/GZIPInputStream.java,
5198 java/util/zip/GZIPOutputStream.java,
5199 java/util/zip/InflaterInputStream.java:
5200 Reformatted. Added javadocs. Reordered all stuff.
5201 Renamed variables to be more clear.
5203 2004-07-09 Michael Koch <konqueror@gmx.de>
5205 * javax/imageio/IIOException.java,
5206 javax/imageio/event/IIOReadProgressListener.java,
5207 javax/imageio/event/IIOReadUpdateListener.java,
5208 javax/imageio/event/IIOReadWarningListener.java,
5209 javax/imageio/event/IIOWriteProgressListener.java,
5210 javax/imageio/event/IIOWriteWarningListener.java:
5212 * Makefile.am: Added new files.
5213 * Makefile.in: Regenerated.
5215 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5217 * java/text/RuleBasedCollator.java
5218 (mergeRules): Use ArrayList instead of Vector.
5219 (subParseString): likewise.
5220 (parseString): likewise.
5221 (buildCollationVector): likewise.
5222 (getCollationKey): likewise.
5224 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5226 * java/text/DateFormat.java (parse):
5227 Improved javadoc. Improved exception message.
5229 2004-07-09 Mark Wielaard <mark@klomp.org>
5231 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5232 interrupted() method to clear interupt flag of our Thread.
5234 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5236 * java/nio/Buffer.java,
5237 java/nio/ByteBuffer.java,
5238 java/nio/ByteBufferHelper.java,
5239 java/nio/ByteBufferImpl.java,
5240 java/nio/CharBuffer.java,
5241 java/nio/CharBufferImpl.java,
5242 java/nio/CharViewBufferImpl.java,
5243 java/nio/DirectByteBufferImpl.java,
5244 java/nio/DoubleBuffer.java,
5245 java/nio/DoubleBufferImpl.java,
5246 java/nio/DoubleViewBufferImpl.java,
5247 java/nio/FloatBuffer.java,
5248 java/nio/FloatBufferImpl.java,
5249 java/nio/FloatViewBufferImpl.java,
5250 java/nio/IntBuffer.java,
5251 java/nio/IntBufferImpl.java,
5252 java/nio/IntViewBufferImpl.java,
5253 java/nio/LongBuffer.java,
5254 java/nio/LongBufferImpl.java,
5255 java/nio/LongViewBufferImpl.java,
5256 java/nio/MappedByteBufferImpl.java,
5257 java/nio/ShortBuffer.java,
5258 java/nio/ShortBufferImpl.java,
5259 java/nio/ShortViewBufferImpl.java:
5260 Fixed javadocs all over. Improved input error
5263 * java/nio/Buffer.java
5264 (checkForUnderflow, checkForOverflow, checkIndex,
5265 checkIfReadOnly, checkArraySize): New helper methods
5268 * java/nio/ByteBufferHelper.java
5269 (checkRemainingForRead, checkRemainingForWrite,
5270 checkAvailableForRead, checkAvailableForWrite): Removed
5271 no longer needed methods.
5273 2004-07-09 Michael Koch <konqueror@gmx.de>
5275 * gnu/regexp/CharIndexedInputStream.java:
5276 Reordered imports to match classpath.
5278 2004-07-09 Michael Koch <konqueror@gmx.de>
5280 * gnu/java/awt/EmbeddedWindow.java:
5281 Load native library for setWindowPeer method.
5283 2004-07-08 Randolph Chung <tausq@debian.org>
5285 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5286 * configure: Regenerate.
5287 * configure.host: Set can_unwind_signal for hppa*-linux.
5288 * include/pa-signal.h: New file.
5290 2004-07-07 Per Bothner <per@bothner.com>
5292 * Makefile.am: Add rules to build libgij from just gij.cc.
5294 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5295 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5296 (initializeClass): If verbose_class_flag, print message.
5297 * gij.cc (main): Handle -verbose:class flag.
5299 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5301 * configure.host: Enable hash synchronization on Darwin.
5302 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5303 ';', since this is a comment on Darwin.
5304 (compare_and_swap_release): Likewise.
5306 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5308 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5309 file portion of URL in addition to spec for file: protocol.
5311 2004-07-05 Anthony Green <green@redhat.com>
5313 * java/io/File.java (toURI): Merge from Classpath.
5315 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5317 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5318 before passing to URL constructor. Rethrow any MalformedURLException
5319 as a RuntimeException. Catch MalformedURLException specifically, not
5322 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5324 * java/util/Locale.java (readObject): Intern strings read from object
5327 2004-07-04 Michael Koch <konqueror@gmx.de>
5329 * gnu/gcj/runtime/FirstThread.java,
5330 gnu/gcj/runtime/natFirstThread.cc: Removed.
5331 * gnu/java/lang/MainThread.java,
5332 gnu/java/lang/natMainThread.cc: New files.
5333 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5334 * Makefile.am: Added new files and removed deleted ones.
5335 * Makefile.in: Regenerated.
5337 2004-07-03 Mark Wielaard <mark@klomp.org>
5338 Anthony Green <green@redhat.com>
5340 * java/net/URL.java (getFile): Clarify return value doc.
5341 (getPath): Return null if file is empty - not empty String.
5342 (set): Convert protocol to lower case before doing anything.
5343 Only change the protocol handler if it's different.
5345 2004-07-03 Anthony Green <green@redhat.com>
5347 * java/net/URL.java (URL): Convert protocol to lower case before
5348 doing anything, so we getURLStreamHandler() with the proper value.
5350 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5352 * java/util/Locale.java (hashcode): Made transient.
5353 (hashCode): No longer synchronized.
5354 (equals): Remove comment.
5355 (writeObject): No longer synchronized. Implement using writeObject
5356 calls instead of tweaking hashCode field. Update doc.
5357 (readObject): Implement using readObject calls.
5359 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5360 Andreas Tobler <a.tobler@schweiz.ch>
5362 * configure.host (powerpc-*-darwin*): New case, define
5364 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5365 * configure: Regenerate.
5366 * include/darwin-signal.h: New.
5368 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5370 * java/beans/Statement.java (doExecute): Fix formatting.
5372 2004-06-29 Per Bothner <per@bothner.com>
5374 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5375 etc etc): Remove needless parenthesis, which causes __stdcall__
5376 attribute on MinGW to get ignored.
5378 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5380 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5382 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5384 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5386 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5388 * java/beans/Expression.java: New file.
5389 * java/beans/Statement.java: New file.
5390 * Makefile.am: Added new files.
5391 * Makefile.in: Re-generate.
5393 2004-06-27 Mark Wielaard <mark@klomp.org>
5395 * java/io/FilePermission.java (usingPerms): Removed.
5396 (actionsString): Made final.
5397 (cachePerms): Renamed to checkPerms.
5398 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5400 (FilePermission): Check arguments, call checkPerms().
5401 (equals): Remove cachePerms() call.
5402 (implies): Likewise.
5404 2004-06-27 Mark Wielaard <mark@klomp.org>
5406 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5408 (sendRequest): Use new field in user-agent http agent.
5410 2004-06-27 Mark Wielaard <mark@klomp.org>
5412 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5413 when argument is null.
5415 2004-06-26 Mark Wielaard <mark@klomp.org>
5417 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5418 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5420 (cancel_clicked): Likewise.
5422 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5425 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5426 can not calculate the right value.
5427 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5429 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5431 * testsuite/libjava.jacks/jacks.xfail: Remove
5432 15.9.1-qualified-concrete-20.
5434 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5436 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5437 encoding name to iconv.
5438 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5440 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5443 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5444 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5445 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5447 2004-06-21 Andrew Haley <aph@redhat.com>
5449 * java/io/ObjectOutputStream.java: Add DEBUG statements
5451 (dumpElementln): New method.
5453 * java/io/ObjectInputStream.java
5454 (currentClassLoader): Make native.
5455 (callersClassLoader): New field.
5457 (readObject): ENDBLOCKDATA is generated if the class has a write
5458 method, not if it has a read method.
5459 (readObject): Save and restore this.currentObject and
5460 this.currentObjectStreamClass around calls to callReadMethod().
5461 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5464 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5466 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5469 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5471 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5472 if desired, before the default class loader is initialised.
5473 Call INIT_SEGV only if HANDLE_SEGV is defined.
5475 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5477 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5478 directory only if it actually exists.
5480 2004-06-18 Graydon Hoare <graydon@redhat.com>
5482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5483 Fix up non-ansi comments.
5485 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5487 * javax/swing/text/AbstractDocument.java: Adding missing import
5488 for javax.swing.event.EventListenerList.
5489 * javax/swing/text/DefaultCaret.java: Likewise.
5491 2004-06-17 Michael Koch <konqueror@gmx.de>
5493 * javax/swing/JToolBar.java
5495 (JToolBar): Use Component.setName(String) instead of doing it all
5497 * javax/swing/Timer.java
5498 (queueEvent): Added missing modifier.
5500 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5502 * Makefile.am: Added new file.
5503 * Makefile.in: Re-generate.
5504 * javax/swing/JMenu.java:
5505 (insertSeparator): Implemented.
5506 * javax/swing/JPopupMenu.java:
5507 (JPopupMenu.Separator): Implemented.
5508 * javax/swing/MenuSelectionManager.java:
5509 (processMouseEvent): Use java.awt.Component
5510 for event source instead of javax.swing.JComponent.
5511 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5512 New File. Implemented.
5514 2004-06-16 David Jee <djee@redhat.com>
5516 * java/awt/GridBagLayout.java
5517 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5518 Make sure pos_x and pos_y are never negative.
5520 2004-04-16 Andrew Overholt <overholt@redhat.com>
5522 * Makefile.am: Add new file.
5523 * Makefile.in: Re-generate.
5524 * javax/swing/JToolBar.java
5525 Partially implemented.
5526 * javax/swing/plaf/basic/BasicToolBarUI.java
5527 New file. Partially implemented.
5529 2004-06-16 Graydon Hoare <graydon@redhat.com>
5531 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5532 (setComposite): Accept AlphaComposite arguments.
5533 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5534 (createBufferedImage): Add new overloads.
5535 * gnu/java/awt/peer/gtk/GtkToolkit.java
5536 (createImage): Use GdkPixbufDecoder.createBufferedImage
5537 when useGraphics2D() is true.
5538 (getImage): Delegate to createImage.
5539 * javax/swing/JList.java
5541 (getFirstVisibleIndex):
5542 (getLastVisibleIndex):
5544 (ensureIndexIsVisible): New methods.
5545 * javax/swing/Timer.java: Reimplement.
5547 2004-06-16 Michael Koch <konqueror@gmx.de>
5549 * javax/swing/text/AbstractDocument.java
5550 (AbstracElement): Made public, implements java.io.Serializable.
5551 (AttributeContext): Made public.
5552 (BranchElement): Likewise.
5553 (Content): Likewise.
5554 (DefaultDocumentEvent): Made public, extends
5555 javax.swing.undo.CompoundEdit.
5556 (ElementEdit): Made public, extends
5557 javax.swing.undo.AbstractUndoableEdit.
5558 (LeafElement): Made public.
5559 (LeafElement.LeafElement): Made public.
5561 2004-06-16 Michael Koch <konqueror@gmx.de>
5563 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5564 methods (that were obviously never be intended to get included hi this
5565 class. Added some methods too.
5567 2004-06-16 Michael Koch <konqueror@gmx.de>
5569 * javax/swing/text/PlainDocument.java
5570 (serialVersionUID): New constant.
5571 (lineLimitAttribute): Likewise.
5572 (tabSizeAttribute): Likewise.
5573 (tabSize): New field.
5574 (PlainDocument): Made public.
5575 (PlainDocument): New constructor.
5577 2004-06-16 Michael Koch <konqueror@gmx.de>
5579 * javax/swing/text/AbstractDocument.java
5580 (insertString): Throws BadLocationException.
5581 * javax/swing/text/Document.java
5582 (insertString): Likewise.
5583 * javax/swing/text/JTextComponent.java:
5584 Javadocs and comments cleaned up.
5586 2004-06-16 Michael Koch <konqueror@gmx.de>
5588 * javax/swing/event/UndoableEditListener.java: Reformatted.
5589 * javax/swing/text/AbstractDocument.java
5590 (AbstractDocument): Implements java.io.Serializable.
5591 (doc_list): Removed.
5592 (undo_list): Removed.
5593 (AbstractElement.serialVerionUID): New field.
5594 (BranchElement.serialVerionUID): Likewise.
5595 (DefaultDocumentEvent.serialVerionUID): Likewise.
5596 (ElementEdit.serialVerionUID): Likewise.
5597 (LeafElement.serialVerionUID): Likewise.
5598 (serialVerionUID): Likewise.
5599 (BAD_LOCATION): New constant.
5600 (BidiElementName): Likewise.
5601 (ContentElementName): Likewise.
5602 (ParagraphElementName): Likewise.
5603 (SectionElementName): Likewise.
5604 (ElementNameAttribute): Likewise.
5605 (AbstractDocument): Made protected.
5606 (AbstractDocument): New construtor.
5607 (listenerList): New field.
5608 (fireChangedUpdate): Implemented.
5609 (fireInsertUpdate): Likewise.
5610 (fireRemoveUpdate): Likewise.
5611 (fireUndoableEditUpdate): Likewise.
5612 (getListeners): Likewise.
5613 (addDocumentListener): Likewise.
5614 (removeDocumentListener): Likewise.
5615 (addUndoableEditListener): Likewise.
5616 (removeUndoableEditListener): Likewise.
5617 (getDocumentListeners): New method.
5618 (getUndoableEditListeners): Likewise.
5619 (getAsynchronousLoadPriority): Made public.
5620 (getBidiRootElement): Likewise.
5621 (setAsynchronousLoadPriority): Likewise.
5622 (setDocumentProperties): Likewise.
5623 * javax/swing/text/BadLocationException.java
5624 (serialVerionUID): New field.
5625 * javax/swing/text/DefaultCaret.java
5626 (changeEvent): New field.
5627 (listenerList): Likewise.
5629 (addChangeListener): Reimplemented.
5630 (removeChangeListener): Likewise.
5631 (getListeners): New method.
5632 (getChangeListeners): Likwise.
5633 (getComponent): Likewise.
5634 * javax/swing/text/GapContent.java
5635 (GapContent): Implements java.io.Serializable.
5636 (serialVerionUID): New field.
5638 2004-06-16 Michael Koch <konqueror@gmx.de>
5640 * javax/swing/JTree.java
5641 (treeModel): New field.
5642 (JTree): New constructors, one existing one made public.
5643 (createTreeModel): New method.
5644 (addTreeExpansionListener): Likewise.
5645 (removeTreeExpansionListener): Likewise.
5646 (getTreeExpansionListeners): Likewise.
5647 (fireTreeCollapsed): Likewise.
5648 (fireTreeExpanded): Likewise.
5649 (addTreeSelectionListener): Likewise.
5650 (removeTreeSelectionListener): Likewise.
5651 (getTreeSelectionListeners): Likewise.
5652 (fireValueChanged): Likewise.
5653 (addTreeWillExpandListener): Likewise.
5654 (removeTreeWillExpandListener): Likewise.
5655 (getTreeWillExpandListeners): Likewise.
5656 (fireTreeWillCollapse): Likewise.
5657 (fireTreeWillExpand): Likewise.
5659 2004-06-16 Michael Koch <konqueror@gmx.de>
5661 * javax/swing/JTree.java: Reformatted.
5663 2004-06-16 Michael Koch <konqueror@gmx.de>
5665 * javax/swing/JTextArea.java: New file.
5666 * javax/swing/JTextField.java
5668 (notifyAction): New constant.
5669 (columns): New field.
5670 (JTextField): New constructors.
5671 (createDefaultModel): New method.
5672 (addActionListener): Reimplmemented.
5673 (removeActionListener): Reimplemented.
5674 (getActionListeners): New method.
5675 (fireActionPerformed): New method.
5676 (getColumns): New method.
5677 (setColumne): New method.
5678 * javax/swing/text/JTextComponent.java
5679 (AccessibleJTextComponent.serialVersionUID): New field.
5680 (serialVersionUID): Likewise.
5681 (DEFAULT_KEYMAP): Likewise.
5682 (FOCUS_ACCELERATOR_KEY): Likewise.
5683 (doc): Made private.
5684 (icon_gap): Likewise.
5687 (JTextComponent): Some constructors removed.
5688 (getScrollableTracksViewportHeight): New method.
5689 (getScrollableTracksViewportWidth): Likewise.
5690 * Makefile.am: Added javax/swing/JTextArea.java.
5691 * Makefile.in: Regenerated.
5693 2004-06-15 Graydon Hoare <graydon@redhat.com>
5695 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5696 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5697 * javax/swing/JViewport.java
5698 (getExtentSize): Return size rather than preferred size.
5699 (toViewCoordinates): New methods.
5700 (getViewSize): Return size rather than preferred size.
5701 (setViewSize): Note view size as set.
5702 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5703 * javax/swing/plaf/basic/BasicScrollBarUI.java
5704 (getPreferredSize): Don't redo layout.
5705 * javax/swing/plaf/basic/BasicViewportUI.java
5706 (paint): Translate image properly and eat exceptions.
5708 2004-06-15 Kim Ho <kho@redhat.com>
5710 * javax/swing/JTabbedPane.java
5711 (setComponent): Remove old component and
5713 (setSelectedIndex): Don't operate on the
5714 components if they're null. Don't set index
5715 on the model if the index is the same.
5716 (insertTab): Don't add or hide the component
5717 if it's null. Repaint the container.
5718 * javax/swing/plaf/basic/BasicLookAndFeel.java
5719 Change colors for TabbedPane.
5720 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5721 (mousePressed): Re-layout and paint the component.
5722 (layoutContainer): Don't set location on the view.
5723 (ScrollingViewport::paint): Remove.
5725 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5728 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5731 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5732 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5734 (drawLine): Call gdk_flush before leaving GDK critical region.
5735 (fillRect): Likewise.
5736 (drawRect): Likewise.
5737 (copyArea): Likewise.
5738 (copyPixmap): Likewise.
5739 (clearRect): Likewise.
5740 (drawArc): Likewise.
5741 (drawPolyline): Likewise.
5742 (drawPolygon): Likewise.
5743 (fillPolygon): Likewise.
5744 (fillArc): Likewise.
5745 (drawOval): Likewise.
5746 (fillOval): Likewise.
5748 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5750 (GdkFontMetrics): Add style argument to initState call.
5751 (stringWidth(String,int,int,String)): Add style parameter.
5752 (stringWidth(String)): Add style argument to stringWidth call.
5753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5754 (initState): Set pango font style and weight based on AWT style
5755 parameter. Pass default GTK language to
5756 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5757 simply dividing by PANGO_SCALE.
5758 (stringWidth): Set pango font style and weight based on AWT style
5761 * java/awt/Button.java (next_button_number): New field.
5762 (paramString): Change output.
5763 (generateName): New method.
5764 (getUniqueLong): New method.
5766 2004-06-14 Kim Ho <kho@redhat.com>
5768 * javax/swing/JTabbedPane.java:
5769 (setComponentAt): Set the component, not
5771 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5772 (actionPerformed): Let deiconize catch exception.
5774 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5776 * javax/swing/JPopupMenu.java:
5777 (setVisible): Corrected location of a
5778 heavyweight popup menu.
5780 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5782 * javax/swing/MenuSelectionManager.java:
5783 Ran through jalopy to fix formatting style.
5785 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5787 * javax/swing/JLayeredPane.java:
5788 (remove): Revalidate and repaint layered pane after
5789 the component was removed.
5790 javax/swing/JMenu.java:
5791 (setVisible): Display popup menu at the user location,
5792 if one was set by the user.
5793 (setMenuLocation): Reimplemented. Fixed javadoc.
5794 * javax/swing/JMenuBar.java: Added javadoc.
5795 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5796 (MODEL_CHANGED_PROPERTY): New Property.
5797 (isSelected): Implemented.
5798 (setBorderPainted): Fire PropertyChangeEvent
5799 if paintBorder property changes.
5800 (setSelected): Implemented.
5801 (setSelectionModel): Implemented.
5802 * javax/swing/JPopupMenu.java: Added Javadoc
5803 (pack): Implemented.
5804 (setVisible): Reimplemented.
5805 (show): Fixed location.
5806 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5807 Container instead of JPanel.
5808 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5809 (clearSelectedPath): Reimplemented to clear selectedPath
5811 (processMouseEvent): Reimplemented.
5812 (setSelectedPath): Fire stateChange event indicating that
5813 selected menu path has changed.
5814 (getPath): Change to use ArrayList instead of Vector.
5815 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5816 (installUI): call installKeyboardActions().
5817 (uninstallUI): call uninstallKeyboardActions().
5819 2004-06-13 Michael Koch <konqueror@gmx.de>
5821 * javax/swing/text/DefaultCaret.java,
5822 javax/swing/text/BadLocationException.java:
5825 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5827 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5828 DEFAULT_COLS): New variables.
5829 (create): Don't allow 0 rows or 0 columns. Instead, set the
5830 values to DEFAULT_ROWS or DEFAULT_COLS.
5831 (getMinimumSize): Likewise.
5832 (getPreferredSize): Likewise.
5833 (minimumSize): Likewise.
5834 (preferredSize): Likewise.
5835 (create): Set peer's editable state.
5836 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5837 zero. Update javadocs.
5838 (TextArea(String)): Likewise.
5839 (TextArea(int,int)): Fix javadocs.
5840 (TextArea(String,int,int,int)): Only throw exception if one of
5841 rows or columns is zero. Fix javadocs.
5843 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5845 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5846 addition to Components.
5848 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5849 wasn't consumed by normal processing, send it to the parent
5852 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5853 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5856 2004-06-11 David Jee <djee@redhat.com>
5858 * java/awt/MediaTracker.java
5859 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5860 (addImage(Image,int,int,int)): Likewise.
5862 2004-06-11 Michael Koch <konqueror@gmx.de>
5864 * javax/swing/text/AbstractDocument.java,
5865 javax/swing/text/Document.java,
5866 javax/swing/text/GapContent.java,
5867 javax/swing/text/JTextComponent.java,
5868 javax/swing/text/PlainDocument.java:
5871 2004-06-11 Michael Koch <konqueror@gmx.de>
5873 * javax/swing/JRootPane.java
5874 (AccessibleJRootPane.serialVersionUID): New field.
5875 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5876 (AccessibleJRootPane.getAccessibleRole): New method.
5877 (RootLayout): Implements Serializable.
5878 (RootLayout.serialVersionUID): New field.
5879 (RootLayout.RootLayout): New constructor.
5880 (setJMenuBar): Made public.
5881 (getJMenuBar): Likewise.
5882 (JRootPane): Likewise.
5883 (createContentPane): Likewise.
5884 (createGlassPane): Likewise.
5885 (createLayeredPane): Likewise.
5887 2004-06-11 Michael Koch <konqueror@gmx.de>
5889 * javax/swing/SwingUtilities.java
5890 (isLeftMouseButton): Fixed javadoc.
5891 (isMiddleMouseButton): Likewise.
5892 (isRightMouseButton): Likewise.
5894 2004-06-11 Michael Koch <konqueror@gmx.de>
5896 * javax/swing/JScrollPane.java
5897 (serialVersionUID): New field.
5898 (columnHeader): Made protected.
5899 (rowHeader): Likewise.
5900 (lowerLeft): Likewise.
5901 (lowerRight): Likewise.
5902 (upperLeft): Likewise.
5903 (upperRight): Likewise.
5904 (horizontalScrollBar): Likewise.
5905 (horizontalScrollBarPolicy): Likewise.
5906 (verticalScrollBar): Likewise.
5907 (verticalScrollBarPolicy): Likewise.
5908 (viewport): Likewise.
5910 2004-06-11 Michael Koch <konqueror@gmx.de>
5912 * javax/swing/LookAndFeel.java: Fixed javadocs.
5914 2004-06-11 Michael Koch <konqueror@gmx.de>
5916 * javax/swing/JEditorPane.java: Fixed javadocs.
5917 (JEditorPane): Removed redundant call to to this().
5918 (fireHyperlinkUpdate): Implemented.
5920 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5922 * javax/swing/JMenu.java: Fixed file name
5923 in the file comment.
5925 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5927 * javax/swing/JMenu.java: Added javadoc.
5928 (JMenu): Added MenuChangeListener to listen to
5929 ChangeEvents occuring in menu's model.
5930 (insert): Throw IllegalArgumentException if
5931 index is less than 0
5932 (setSelected): Reimplement.
5933 (setPopupMenuVisible): Call menu's model isEnabled()
5934 (setDelay): Throw IllegalArgumentException if
5935 given amount of delay is less than 0.
5936 (createActionComponent): Implemented.
5937 (createActionChangeListener): Implemented.
5938 (addSeparator): Implemented.
5939 (getItem): Throw IllegalArgumentException if index is
5941 (getItemCount): Implemented.
5942 (fireMenuSelected): Changed to use menuEvent.
5943 (fireMenuDeselected): Likewise.
5944 (fireMenuCanceled): Likewise.
5945 (setAccelerator): Changed to throw an error if this
5947 (doClick): Implemented.
5948 (JMenu.ActionChangedListener): New inner class to handle
5949 PropertyChangeEvents occuring in the actions associated with menu.
5950 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5951 (BasicMenuUI): Added PropertyChangeListener to the menu.
5952 (createChangeListener): Implemented.
5953 (createMenuDragMouseListener): Likewise.
5954 (createMenuKeyListener): Likewise.
5955 (createPropertyChangeListener): Likewise.
5956 (uninstallListeners): Likewise.
5957 (BasicMenuUI.MouseInputHandler): Reimplemented.
5958 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5959 (BasicMenuUI.ChangeHandler): Likewise.
5960 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5961 (BasicMenuUI.MenuKeyHandler): Likewise.
5963 2004-06-10 David Jee <djee@redhat.com>
5965 * java/awt/MediaTracker.java
5966 (imageUpdate): Only do notifyAll() if the image is complete.
5968 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5970 * javax/swing/JApplet.java:
5971 (getJMenuBar): Made public.
5972 (setJMenuBar): Likewise.
5973 * javax/swing/JFrame.java:
5974 (getJMenuBar): Made public.
5975 (setJMenuBar): Likewise.
5976 * javax/swing/JWindow.java:
5977 (getJMenuBar): Removed.
5978 (setJMenuBar): Removed.
5980 2004-06-10 Michael Koch <konqueror@gmx.de>
5982 * javax/swing/JEditorPane.java
5983 (createEditorKitForContentType): Fixed visibility.
5984 (fireHyperlinkUpdate): Likewise.
5985 (getContentType): Likewise.
5986 (getEditorKit): Likewise.
5987 (getEditorKitForContentType): Likewise.
5988 (getPage): Likewise.
5990 (registerEditorKitForContentTyoe): Likewise.
5991 (replaceSelection): Likewise.
5992 (setContentType): Likewise.
5993 (setEditorKit): Likewise.
5994 (setPage): Likewise.
5996 2004-06-10 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/Timer.java
5999 (Timer): New constructor.
6000 * javax/swing/plaf/basic/BasicProgressBarUI.java
6001 (animationTimer): Don't initialize at construction.
6002 (startAnimationTimer): Added since tag.
6003 (stopAnimationTimer): Likewise.
6004 (installUI): Use new Timer constructor.
6005 * javax/swing/plaf/basic/BasicScrollBarUI.java
6006 (installUI): Likewise.
6007 * javax/swing/plaf/basic/BasicSliderUI.java
6008 (installUI): Likewise.
6010 2004-06-10 Michael Koch <konqueror@gmx.de>
6012 * javax/swing/ButtonGroup.java
6013 (serialVersionUID): Made private.
6014 (buttons): Renamed from v, added javadoc.
6015 (sel): Added javadoc.
6016 (ButtonGroup): Likewise.
6019 (getElements): Likewise.
6020 (getSelection): Likewise.
6021 (setSelected): Likewise.
6022 (isSelected): Likewise.
6023 (getButtonCount): Likewise.
6025 2004-06-10 Michael Koch <konqueror@gmx.de>
6027 * javax/swing/ButtonGroup.java,
6028 javax/swing/ImageIcon.java,
6029 javax/swing/JEditorPane.java,
6030 javax/swing/JRootPane.java,
6031 javax/swing/JTextField.java,
6032 javax/swing/LookAndFeel.java,
6033 javax/swing/plaf/basic/BasicTextUI.java:
6036 2004-06-10 Michael Koch <konqueror@gmx.de>
6038 * javax/swing/text/Style.java: Added javadocs.
6040 2004-06-10 Michael Koch <konqueror@gmx.de>
6042 * javax/swing/JComponent.java
6043 (fireVetoableChange): Removed redundant cast.
6044 * javax/swing/JLabel.java
6045 (getDisabledIcon): Save icon for next call.
6047 2004-06-10 Michael Koch <konqueror@gmx.de>
6049 * javax/swing/KeyStroke.java
6050 (getKeyStroke(char,boolean)): Marked deprecated.
6052 2004-06-10 Michael Koch <konqueror@gmx.de>
6054 * javax/swing/DefaultCellEditor.java,
6055 javax/swing/GrayFilter.java,
6056 javax/swing/event/DocumentEvent.java,
6057 javax/swing/text/JTextComponent.java,
6058 javax/swing/text/MutableAttributeSet.java:
6061 2004-06-10 Michael Koch <konqueror@gmx.de>
6063 * javax/swing/plaf/BorderUIResource.java:
6064 Added serialVersionUID all over.
6066 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
6068 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6070 2004-06-10 Michael Koch <konqueror@gmx.de>
6072 * javax/swing/table/DefaultTableCellRenderer.java
6073 (noFocusBorder): Initialize directly.
6075 2004-06-10 Michael Koch <konqueror@gmx.de>
6077 * javax/swing/plaf/basic/BasicArrowButton.java
6078 (setDirection): Use method argument.
6080 2004-06-10 Michael Koch <konqueror@gmx.de>
6082 * javax/swing/plaf/BorderUIResource.java,
6083 javax/swing/plaf/ComponentUI.java,
6084 javax/swing/undo/CompoundEdit.java,
6085 javax/swing/undo/StateEdit.java:
6086 Fixed javadocs all over.
6088 2004-06-10 Michael Koch <konqueror@gmx.de>
6090 * javax/swing/DefaultButtonModel.java
6091 (ARMED): Made public final, fixed value.
6092 (ENABLED): Likewise.
6093 (PRESSED): Likewise.
6094 (ROLLOVER): Likewise.
6095 (SELECTED): Likewise.
6096 (stateMask): Initialize directly.
6097 (listenerList): Likewise.
6098 (mnemonic): Likewise.
6099 (fireStateChanged): Removed argument, use changeEvent as event.
6100 All places where this method is called are fixed too.
6101 (getActionCommant): Fixed javadoc.
6102 (setGroup): Fixed javadoc.
6103 (getGroup): New method.
6105 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6107 * javax/swing/AbstractButton.java
6108 (AbstractButton): Use init() to initialize the button.
6109 (init): New Method. Initializes AbstractButton.
6110 * javax/swing/JMenuItem.java: Documented.
6111 (JMenuItem): Reimplemented.
6112 (init): Implemented.
6113 (setEnabled): Changed to call super.setEnabled()
6114 (processMouseEvent): Reimplemented.
6115 (fireMenuKeyPressed): Implemented.
6116 (fireMenuKeyReleased): Implemented.
6117 (fireMenuKeyTyped): Implemented.
6118 (menuSelectionChanged): disarm the model if the menu item was
6120 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6121 (getPath): Change to use ArrayList instead of Vector.
6122 (getPreferredSize): Renamed variable.
6123 (paintMenuItem): Paint margin area of menu item.
6124 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6125 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6126 menu item's bounds before clearing the selection.
6128 2004-06-09 David Jee <djee@redhat.com>
6130 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6131 (GtkTextComponentPeer): Set caret position to 0.
6132 * java/awt/TextComponent.java
6133 (setText): Set caret position to 0.
6134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6135 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6136 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6137 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6140 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6143 2004-06-09 Kim Ho <kho@redhat.com>
6145 * Makefile.am: New files
6146 * Makefile.in: Regenerated
6147 * java/awt/Container.java
6148 (getComponentAt): Removed.
6149 * javax/swing/AbstractAction.java
6150 (ENABLED_PROPERTY): New property.
6151 (putValue): Fire PropertyChangeEvents.
6152 (setEnabled): ditto.
6153 (firePropertyChange): Javadoc and implement
6155 * javax/swing/AbstractButton.java
6156 (setAction): Don't create PropertyChangeListener
6157 if new Action is null.
6158 (setIcon): Don't set icon till after comparing
6160 (configurePropertiesFromAction): Check mnemonic
6161 key before calling intValue().
6162 (createActionPropertyChangeListener): Check
6163 properties rather than bulk change.
6164 * javax/swing/DefaultDesktopManager.java:
6166 * javax/swing/DesktopManager.java:
6168 * javax/swing/JComponent.java
6169 (fireVetoableChange): Implement.
6170 (paintImmediately): Use root component.
6171 * javax/swing/JDesktopPane.java: Implement
6172 * javax/swing/JInternalFrame.java: Implement
6173 * javax/swing/JLabel.java
6174 (getDisabledIcon): Return grayscaled icon if
6175 no disabled icon specified.
6176 * javax/swing/JMenuBar.java
6177 (getComponentAtIndex): Use getComponent
6178 * javax/swing/JOptionPane.java
6179 (getDesktopPaneForComponent): Use SwingUtilities'
6181 (getFrameForComponent): ditto.
6182 * javax/swing/JSplitPane.java
6183 (remove): Use getComponent.
6184 * javax/swing/SwingUtilities.java
6185 (convertPoint): Implement.
6186 * javax/swing/plaf/basic/BasicButtonUI.java
6187 (paintButtonNormal): Check opaqueness before
6189 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6191 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6193 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6195 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6197 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6198 Change InternalFrame and Desktop colors.
6200 2004-06-09 David Jee <djee@redhat.com>
6202 * java/awt/Container.java
6203 (remove): Do not set component to invisible.
6205 2004-06-09 Michael Koch <konqueror@gmx.de>
6207 * javax/swing/tree/DefaultMutableTreeNode.java
6208 (getLeafCount): Renamed enum to e.
6210 2004-06-09 Michael Koch <konqueror@gmx.de>
6212 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6213 (positionForMouseEvent): Removed redundant semicolon.
6214 (continueDrag): Use method arguments.
6216 2004-06-09 Michael Koch <konqueror@gmx.de>
6218 * javax/swing/border/TitledBorder.java,
6219 javax/swing/filechooser/FileSystemView.java,
6220 javax/swing/plaf/basic/BasicButtonListener.java,
6221 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6222 javax/swing/plaf/basic/BasicLabelUI.java,
6223 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6224 javax/swing/plaf/basic/BasicScrollBarUI.java,
6225 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6226 javax/swing/plaf/basic/BasicSliderUI.java,
6227 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6228 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6229 javax/swing/table/JTableHeader.java,
6230 javax/swing/text/AbstractDocument.java,
6231 javax/swing/text/DefaultCaret.java,
6232 javax/swing/text/StyledEditorKit.java,
6233 javax/swing/tree/DefaultTreeCellEditor.java:
6234 Reworked import statements.
6236 2004-06-08 Graydon Hoare <graydon@redhat.com>
6238 * javax/swing/Box.java: Temporarily comment out code
6239 broken due to visibility bug.
6241 2004-06-09 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/ImageIcon.java
6244 (ImageIcon): Added missing constructor.
6246 2004-06-08 Michael Koch <konqueror@gmx.de>
6248 * javax/swing/JToggleButton.java
6249 (JToggleButton): New constructor.
6250 (getAccessibleContext): Moved documentation into javadoc.
6251 (getUIClassID): Likewise.
6253 2004-06-08 Michael Koch <konqueror@gmx.de>
6255 * javax/swing/AbstractButton.java
6256 (getDisabledIcon): Create disabled icon if none exists yet.
6258 2004-06-08 Michael Koch <konqueror@gmx.de>
6260 * javax/swing/plaf/basic/BasicLookAndFeel.java
6261 (initClassDefaults): Added FormattedTextFieldUI.
6262 (loadResourceBundle): Renamed enum to e.
6264 2004-06-08 Michael Koch <konqueror@gmx.de>
6266 * javax/swing/plaf/basic/BasicButtonUI.java
6267 (paintIcon): Simplified.
6268 (paintText): Paint disabled button correctly.
6270 2004-06-08 Michael Koch <konqueror@gmx.de>
6272 * javax/swing/JComponent.java
6273 (createToolTip): Use official JToolTip API.
6275 2004-06-08 Michael Koch <konqueror@gmx.de>
6277 * javax/swing/JToolTip.java
6278 (JToolTip): No arguments in API.
6279 (setTipText): New method.
6281 2004-06-08 Michael Koch <konqueror@gmx.de>
6283 * javax/swing/SwingUtilities.java
6284 (isLeftMouseButton): New method.
6285 (isMiddleMouseButton): New method.
6286 (isRightMouseButton): New method.
6288 2004-06-08 Michael Koch <konqueror@gmx.de>
6290 * javax/swing/AbstractButton.java,
6291 javax/swing/CellRendererPane.java,
6292 javax/swing/JCheckBoxMenuItem.java,
6293 javax/swing/JColorChooser.java,
6294 javax/swing/JComboBox.java,
6295 javax/swing/JComponent.java,
6296 javax/swing/JDesktopPane.java,
6297 javax/swing/JFileChooser.java,
6298 javax/swing/JMenu.java,
6299 javax/swing/JMenuItem.java,
6300 javax/swing/JOptionPane.java,
6301 javax/swing/JPasswordField.java,
6302 javax/swing/JPopupMenu.java,
6303 javax/swing/JProgressBar.java,
6304 javax/swing/JRadioButtonMenuItem.java,
6305 javax/swing/JScrollBar.java,
6306 javax/swing/JSeparator.java,
6307 javax/swing/JSlider.java,
6308 javax/swing/JSplitPane.java,
6309 javax/swing/JTabbedPane.java,
6310 javax/swing/JTextField.java,
6311 javax/swing/JToolBar.java,
6312 javax/swing/text/JTextComponent.java:
6313 Fixed all constructors of accessibility classes.
6315 2004-06-08 Michael Koch <konqueror@gmx.de>
6317 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6320 2004-06-08 Michael Koch <konqueror@gmx.de>
6322 * javax/swing/Box.java
6323 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6324 (AccessibleBoxFiller.serialVersionUID): New member variable.
6325 * javax/swing/DefaultButtonModel.java
6326 (stateMask): Made protected.
6327 (listenerList): Likewise.
6328 (changeEvent): Likewise.
6330 (mnemonic): Likewise.
6331 (actionCommand): Likewise.
6332 (getListeners): New method.
6333 (getActionListeners): New method.
6334 (getItemListeners): New method.
6335 (getChangeListeners): New method.
6336 (fireItemStateChanged): Simplified.
6337 (fireActionPerformed): Simplified.
6338 (fireStateChanged): Simplified.
6339 * javax/swing/JFrame.java
6340 (JFrame): Implements WindowContants.
6341 (HIDE_ON_CLOSE): Removed.
6342 (EXIT_ON_CLOSE): Removed.
6343 (DISPOSE_ON_CLOSE): Removed.
6344 (DO_NOTHING_ON_CLOSE): Removed.
6345 (processWindowEvent): Exit with code 0.
6346 (setDefaultCloseOperation): Do security check before setting value.
6347 * javax/swing/JOptionPane.java
6348 (message): Initialize only in constructor.
6349 * javax/swing/JToolTip.java: Removed unused imports.
6350 * javax/swing/JViewport.java
6351 (serialVersionUID): New member variable.
6352 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6353 (BLIT_SCROLL_MODE): Likewise.
6354 (BACKINGSTORE_SCROLL_MODE): Likewise.
6355 (scrollUnderway): Made protected.
6356 (isViewSizeSet): Likewise.
6357 * javax/swing/ListModel.java: Fixed javadoc.
6358 * javax/swing/Popup.java: Likewise.
6359 * javax/swing/RepaintManager.java
6360 (paintDirtyRegions): Don't use internal classes of
6361 java.util.AbstractMap.
6362 * javax/swing/ScrollPaneConstants.java: Reindented.
6363 * javax/swing/ScrollPaneLayout.java
6364 (viewport): Made protected.
6365 (verticalScrollBar): Made protected, renamed to vsb.
6366 (horizontalScrollBar): Made protected, renamed to hsb.
6367 (rowHeader): Made protected, renamed to rowHead.
6368 (columnHeader): Made protected, renamed to colHead.
6369 (lowerLeft): Made protected.
6370 (lowerRight): Made protected.
6371 (upperLeft): Made protected.
6372 (upperRight): Made protected.
6373 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6374 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6376 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6378 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6379 LOADING if flags has SOMEBITS set.
6381 2004-06-07 Michael Koch <konqueror@gmx.de>
6383 * javax/swing/AbstractButton.java: Reorganized imports.
6384 * javax/swing/ActionMap.java: Likewise.
6385 * javax/swing/DefaultButtonModel.java: Likewise.
6386 * javax/swing/DefaultListModel.java: Likewise.
6387 * javax/swing/ImageIcon.java: Likewise.
6388 (serialVersionUID): New member variable.
6389 * javax/swing/JComboBox.java: Reorganized imports.
6390 * javax/swing/JComponent.java: Likewise.
6391 (ui): Made protected.
6392 (listenerList): Made protected.
6393 (TOOL_TIP_TEXT_KEY): New constant.
6394 (scrollRectToVisible): Removed redundant null check.
6395 * javax/swing/JFrame.java: Reorganized imports.
6396 * javax/swing/JInternalFrame.java: Reorganized imports.
6397 * javax/swing/JProgressBar.java: Likewise.
6398 * javax/swing/JRootPane.java: Likewise.
6399 * javax/swing/JScrollBar.java: Likewise.
6400 * javax/swing/JSeparator.java: Likewise.
6401 * javax/swing/JSlider.java: Likewise.
6402 * javax/swing/JTabbedPane.java: Likewise.
6403 * javax/swing/JTextField.java: Likewise.
6404 * javax/swing/JToolBar.java: Likewise.
6405 * javax/swing/JTree.java: Likewise.
6406 * javax/swing/JViewport.java: Likewise.
6407 * javax/swing/JWindow.java: Likewise.
6408 * javax/swing/KeyStroke.java: Likewise.
6409 * javax/swing/LookAndFeel.java: Likewise.
6410 * javax/swing/MenuSelectionManager.java: Likewise.
6411 * javax/swing/SwingUtilities.java: Likewise.
6412 * javax/swing/Timer.java: Likewise.
6413 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6414 * javax/swing/JList.java
6415 (HORIZONTAL_WRAP): Made final, fixed value.
6416 (VERTICAL): Likewise.
6417 (VERTICAL_WRAP): Likewise.
6419 2004-06-07 Michael Koch <konqueror@gmx.de>
6421 * javax/swing/AbstractButton.java
6422 (serialVersionUID): New member variable.
6423 (AccessibleAbstractButton.serialVersionUID): Likewise.
6424 (AbstractButton): Made public.
6425 * javax/swing/Box.java
6426 (AccessibleBox.serialVersionUID): New member variable.
6427 (Filler.serialVersionUID): Likewise.
6428 * javax/swing/DefaultListSelectionModel.java
6429 (serialVersionUID): Likewise.
6430 * javax/swing/JApplet.java
6431 (serialVersionUID): Likewise.
6432 * javax/swing/JCheckBox.java
6433 (serialVersionUID): Likewise.
6434 * javax/swing/JCheckBoxMenuItem.java
6435 (serialVersionUID): Likewise.
6436 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6437 * javax/swing/JColorChooser.java
6438 (serialVersionUID): Likewise.
6439 (AccessibleJColorChooser.serialVersionUID): Likewise.
6440 * javax/swing/JComponent.java
6441 (serialVersionUID): Made private.
6442 (AccessibleJComponent.serialVersionUID): New member variable.
6443 * javax/swing/JDesktopPane.java
6444 (serialVersionUID): Likewise.
6445 * javax/swing/JDialog.java
6446 (serialVersionUID): Likewise.
6447 * javax/swing/JFormattedTextField.java
6448 (serialVersionUID): Fixed value.
6449 * javax/swing/JFrame.java
6450 (serialVersionUID): New member variable.
6451 (getDefaultCloseOpertation): Made public.
6452 * javax/swing/JLayeredPane.java
6453 (serialVersionUID): Likewise.
6454 (LAYER_PROPERTY): Made final, fixed value.
6455 (JLayeredPane): Made public.
6456 * javax/swing/JMenu.java
6457 (AccessibleJMenu.serialVersionUID): New member variable.
6458 (WinListener.serialVersionUID): Likewise.
6459 * javax/swing/JMenuBar.java
6460 (serialVersionUID): Likewise.
6461 (getComponentAtIndex): Added @deprecated tag.
6462 * javax/swing/JMenuItem.java
6463 (serialVersionUID): New member variable.
6464 (AccessibleJMenuItem.serialVersionUID): Likewise.
6465 * javax/swing/JOptionPane.java
6466 (serialVersionUID): Likewise.
6467 (AccessibleJOptionPane.serialVersionUID): Likewise.
6468 * javax/swing/JPopupMenu.java
6469 (serialVersionUID): Likewise.
6470 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6471 (getPopupMenuListeners): New method.
6472 (getComponentAtIndex): Added @deprecated tag.
6473 * javax/swing/JProgressBar.java
6474 (serialVersionUID): New member variable.
6475 (AccessibleJProgressBar.serialVersionUID): Likewise.
6476 * javax/swing/JRadioButton.java
6477 (serialVersionUID): Likewise.
6478 * javax/swing/JRadioButtonMenuItem.java
6479 (serialVersionUID): Likewise.
6480 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6481 * javax/swing/JScrollBar.java
6482 (serialVersionUID): Likewise.
6483 (AccessibleJScrollBar.serialVersionUID): Likewise.
6484 * javax/swing/JSeparator.java
6485 (serialVersionUID): Likewise.
6486 (AccessibleJSeparator.serialVersionUID): Likewise.
6487 * javax/swing/JSlider.java: Fixed javadocs.
6488 (AccessibleJSlider.serialVersionUID): New member variable.
6489 * javax/swing/JSplitPane.java: Added copyright statement.
6490 (serialVersionUID): New member variable.
6491 (AccessibleJSplitPane.serialVersionUID): Likewise.
6492 * javax/swing/JTabbedPane.java
6493 (serialVersionUID): Likewise.
6494 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6495 (ModelListener.serialVersionUID): Likewise.
6496 (ModelListener.ModelListener): New constructor.
6497 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6498 (WRAP_TAB_LAYOUT): Likewise.
6499 * javax/swing/JTable.java
6500 (serialVersionUID): New member variable.
6501 * javax/swing/JToggleButton.java
6502 (serialVersionUID): Likewise.
6503 (ToggleButtonModel): Made static.
6504 (ToggleButtonModel.serialVersionUID): New member variable.
6505 * javax/swing/JToolTip.java
6506 (serialVersionUID): Likewise.
6507 * javax/swing/JTree.java
6508 (serialVersionUID): Likewise.
6509 * javax/swing/JWindow.java
6510 (serialVersionUID): Likewise.
6511 * javax/swing/Timer.java
6512 (serialVersionUID): Likewise.
6514 2004-06-06 Michael Koch <konqueror@gmx.de>
6516 * javax/swing/SwingConstants.java
6517 (NEXT): New constant.
6518 (PREVIOUS): Likewise.
6519 * javax/swing/UIManager.java
6520 (LookAndFeel): Made public.
6521 (LookAndFeel.getClassName): Likewise.
6522 (LookAndFeel.getName): Likewise.
6524 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6526 * javax/swing/JCheckBoxMenuItem.java:
6528 * javax/swing/JMenu.java: Likewise.
6529 * javax/swing/JMenuBar.java: Likewise.
6530 * javax/swing/JMenuItem.java: Likewise.
6531 * javax/swing/JPopupMenu.java: Likewise.
6532 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6533 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6534 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6535 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6536 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6537 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6538 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6540 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6542 * javax/swing/plaf/basic/BasicMenuUI.java:
6543 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6544 Call getPath() from super class instead.
6546 2004-05-31 David Jee <djee@redhat.com>
6548 * java/awt/Container.java
6549 (remove): Set component visibility to false after removing it.
6551 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6553 * java/awt/Component.java (getForeground): Return SystemColor if
6555 (getBackground): Likewise.
6557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6558 (item_highlighted): New function.
6559 (connectSignals): Set item_highlighted as list's select
6562 * java/applet/Applet.java: Revert changes from 2004-04-29,
6563 2004-03-15 and 2004-03-14.
6565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6566 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6569 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6570 "Dialog" as the default font.
6571 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6573 * java/awt/Component.java (getFont): Return "Dialog" font by
6575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6576 Multiply size argument to pango_font_description_set_size by the
6577 DPI conversion factor rather than by PANGO_SCALE.
6578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6582 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6588 Divide baseline y coordinate by DPI conversion factor rather
6589 than by PANGO_SCALE.
6590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6591 (area_prepared): Fix typo.
6592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6593 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6595 (dpi_conversion_factor): New global variable.
6596 (init_dpi_conversion_factor): New function to calculate and
6597 track DPI conversion factor.
6598 (dpi_changed_cb): New callback.
6599 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6601 2004-05-27 David Jee <djee@redhat.com>
6603 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6604 (getGraphics): Return a new GdkGraphics instance.
6605 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6606 (getGraphics): Call super.getGraphics().
6608 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6611 (setNativeBounds): Clamp width and height values to >= 0.
6613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6614 (find_fg_color_widget): Handle GtkOptionMenu specially.
6616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6617 (pre_event_handler): Only post configure events to visible
6620 2004-05-26 David Jee <djee@redhat.com>
6622 * java/awt/BorderLayout.java
6623 (layoutContainer): Fix size calculations.
6625 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6628 (window_wm_protocols_filter): Remove function.
6629 (create): Remove filter that removes WM_TAKE_FOCUS client
6632 2004-06-17 Anthony Green <green@redhat.com>
6634 * java/util/zip/ZipFile.java (getInputStream): Return null if
6637 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6638 directory contents to the class path.
6640 2004-06-15 Andrew Haley <aph@redhat.com>
6642 * java/lang/natSystem.cc (getenv0): Don't assume environment
6643 variable is Latin 1 coded.
6645 2004-06-14 Andreas Jaeger <aj@suse.de>
6647 * configure.in: Support --enable-version-specific-runtime-libs.
6648 * configure: Regenerated.
6650 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6652 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6653 to pass ClassLoader argument.
6654 * java/util/GregorianCalendar.java: Likewise.
6655 * java/util/Currency.java: Likewise.
6656 * java/text/BreakIterator.java: Likewise.
6657 * java/text/Collator.java: Likewise.
6658 * java/text/DateFormat.java: Likewise.
6659 * java/text/DateFormatSymbols.java: Likewise.
6660 * java/text/DecimalFormatSymbols.java: Likewise.
6661 * java/text/NumberFormat.java: Likewise.
6662 * java/awt/Window.java: Likewise.
6664 2004-06-14 Andrew Haley <aph@redhat.com>
6666 * java/lang/System.java: (getenv0): New method.
6667 (getenv): Add security check. Do the right thing.
6668 * java/lang/natSystem.cc (getenv0): New method.
6670 2004-06-12 Mark Wielaard <mark@klomp.org>
6672 * javax/swing/RepaintManager.java
6673 (paintDirtyRegions): Use entrySet(), not values().
6675 2004-06-10 Mark Wielaard <mark@klomp.org>
6677 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6680 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6682 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6683 when we already know the answer.
6684 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6685 (setStartRule,setEndRule): Don't take abs of day number.
6686 (getOffset): Clarify docs. Add argument checks.
6687 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6688 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6691 2004-06-10 Tom Tromey <tromey@redhat.com>
6693 * interpret.cc (run): Handle wide fload.
6695 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6697 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6699 2004-06-05 Michael Koch <konqueror@gmx.de>
6701 * javax/swing/SwingConstants.java
6702 (NEXT): New constant.
6703 (PREVIOUS): Likewise.
6705 2004-06-05 Michael Koch <konqueror@gmx.de>
6707 * javax/swing/UIManager.java
6708 (LookAndFeel): Made public.
6709 (LookAndFeel.getName): Likewise.
6710 (LookAndFeel.getClassName): Likewise.
6712 2004-06-03 Michael Koch <konqueror@gmx.de>
6714 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6715 (requestFocus): Revert last changes.
6716 (gtkRequestFocus): Removed.
6717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6718 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6720 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6721 Reverted last patch.
6722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6723 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6724 Reverted comment change.
6726 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6728 * javax/swing/JCheckBoxMenuItem.java:
6730 * javax/swing/JMenu.java: Likewise.
6731 * javax/swing/JMenuBar.java: Likewise.
6732 * javax/swing/JMenuItem.java: Likewise.
6733 * javax/swing/JPopupMenu.java: Likewise.
6734 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6735 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6736 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6737 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6738 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6739 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6740 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6742 2004-06-01 Tom Tromey <tromey@redhat.com>
6744 * java/io/ObjectStreamField.java: Cleaned up imports.
6746 2004-06-01 Michael Koch <konqueror@gmx.de>
6748 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6750 2004-06-01 Mark Wielaard <mark@klomp.org>
6752 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6754 2004-06-01 Michael Koch <konqueror@gmx.de>
6756 * java/security/Security.java
6757 (insertProviderAt): Use equals() instead of ==.
6758 (removeProvicer): Likewise.
6759 (getProvider): Likewise.
6760 * java/security/Signature.java
6761 (sign): Don't set state to UNINITIALIZED.
6764 2004-06-01 Mark Wielaard <mark@klomp.org>
6766 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6767 Implement by calling gtkRequestFocus.
6768 (gtkRequestFocus): New native method.
6769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6770 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6772 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6774 (filter_expose_event_handler):
6776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6777 (menu_pos): Mark static.
6779 2004-06-01 Michael Koch <konqueror@gmx.de>
6781 * java/text/CollationElementIterator.java,
6782 java/text/CollationKey.java,
6783 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6784 * testsuite/libjava.mauve/xfails: Removed all
6785 java.text.CollationElementIterator tests.
6787 2004-06-01 Michael Koch <konqueror@gmx.de>
6789 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6791 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6792 Java 1.5 keyword usage.
6794 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6796 * javax/swing/plaf/basic/BasicMenuUI.java:
6797 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6798 Call getPath() from super class instead.
6800 2004-05-31 Michael Koch <konqueror@gmx.de>
6802 * java/io/SequenceInputStream.java:
6803 Rename enum to e because enum is a keyword in Java 1.5.
6805 2004-05-31 Michael Koch <konqueror@gmx.de>
6807 * gnu/java/rmi/rmic/CompilerProcess.java:
6808 Fixed javadoc to by XHTML compliant.
6810 2004-05-30 Mark Wielaard <mark@klomp.org>
6812 * java/awt/Toolkit.java (loadSystemColors): Implement.
6814 2004-05-30 Michael Koch <konqueror@gmx.de>
6816 * java/lang/System.java: Reordered imports.
6818 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6820 * java/text/DecimalFormat.java
6821 (parse): Fixed parsing of decimal strings. Number of maximum
6822 digits to be read should now work.
6823 * java/text/SimpleDateFormat.java
6824 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6825 formatter. This fixes DateFormatTest.
6827 2004-05-30 Michael Koch <konqueror@gmx.de>
6829 * java/nio/Buffer.java
6830 (limit): Fixed off by one error.
6831 * java/nio/CharBuffer.java
6832 (wrap): Fixed arguments, added javadocs.
6834 2004-05-30 Michael Koch <konqueror@gmx.de>
6836 * gnu/java/beans/BeanInfoEmbryo.java,
6837 java/awt/im/InputContext.java,
6838 javax/swing/tree/DefaultMutableTreeNode.java:
6839 Rename enum to e because enum is a keyword in Java 1.5.
6841 2004-05-30 Michael Koch <konqueror@gmx.de>
6843 * gnu/java/math/MPN.java,
6844 java/awt/geom/Arc2D.java:
6845 Fixed javadocs all over.
6847 2004-05-30 Michael Koch <konqueror@gmx.de>
6849 * java/awt/DefaultKeyboardFocusManager.java
6850 (dispatchEvent): Call method to get key event dispatchers.
6851 (dispatchKeyEvent): Call method to get key event post processors.
6852 * javax/swing/JComponent.java
6853 (listenerList): Made protected.
6854 * javax/swing/JOptionPane.java
6855 (message): Don't initialize.
6856 (JOptionPane): Set message text.
6857 * javax/swing/JPopupMenu.java
6858 (show): Fixed typo in argument name.
6859 * javax/swing/RepaintManager.java
6860 (paintDirtyRegions): Use public API of java.util.Map.
6861 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6862 (positionForMouseEvent): Removed redundant ';'.
6863 (continueDrag): Use method arguments.
6865 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6867 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6870 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6872 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6874 * gnu/gcj/RawDataManaged.java: New file.
6875 * java/lang/Thread.java (data): Declare as RawDataManaged.
6876 * java/lang/natThread.cc (init_native): Cast natThread data to
6877 RawDataManaged, not jobject.
6878 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6879 * Makefile.in: Rebuilt.
6881 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6883 * java/util/SimpleTimeZone.java: Reverting my last change until I
6884 can fix it properly.
6886 2004-05-27 Michael Koch <konqueror@gmx.de>
6888 * javax/swing/JPopupMenu.java
6889 (isVisible): Do not use visible directly.
6890 (setVisible): Likewise.
6891 * javax/swing/JWindow.java
6892 (JWindow): call accessible constructor.
6893 * javax/swing/RepaintManager.java
6894 (paintDirtyRegions): Use public methods to obtain iterator.
6896 2004-05-25 David Jee <djee@redhat.com>
6898 * java/awt/Container.java
6899 (remove): Set component's parent to null only after we removed the
6900 component from its parent's layout manager.
6902 2004-05-25 David Jee <djee@redhat.com>
6904 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6905 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6907 * gnu/java/awt/peer/gtk/GtkListPeer.java
6908 (getSize): Change native method declaration.
6909 (minimumSize): Pass visible row count into getSize().
6910 (preferredSize): Likewise.
6911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6912 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6913 natural size. Use visible row count to determine the final height
6916 2004-05-21 Graydon Hoare <graydon@redhat.com>
6918 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6919 (setClip): Minor correction to order of operations.
6921 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6922 * javax/swing/ScrollPaneLayout.java: Likewise.
6923 * javax/swing/JViewPort.java: Likewise.
6924 * javax/swing/ViewportLayout.java: Likewise.
6926 * javax/swing/JComponent.java: Rewrite.
6927 * javax/swing/RepaintManager.java: Likewise.
6929 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6930 * javax/swing/JList.java
6931 (setSelectedIndices):
6932 (getSelectedIndices):
6933 (getSelectedValues): New functions.
6934 (getPreferredScrollableViewportSize): Return preferred size.
6935 (getScrollableUnitIncrement):
6936 (getScrollableBlockIncrement): Initial implementations.
6937 * javax/swing/JRootPane.java: Clean up slightly.
6942 (isValidateRoot): Add overrides from JComponent.
6943 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6944 * javax/swing/UIManager.java (getDimension): Return the dimension.
6946 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6947 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6948 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6949 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6950 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6951 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6952 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6953 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6954 Likewise, and set background.
6955 * javax/swing/plaf/basic/BasicListUI.java:
6956 Likewise, and improve a bit.
6957 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6958 Likewise, and adjust calculations.
6959 * javax/swing/plaf/basic/BasicViewportUI.java:
6960 Likewise, and improve a bit.
6961 * javax/swing/plaf/basic/BasicLookAndFeel.java
6962 (Button.margin): Shrink.
6964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6965 Hack to set horizontal always, workaround pango.
6967 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6969 Synchronize more often, check cairo status after ops,
6970 handle changes to cairo pattern API, check for disposal.
6972 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6974 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6975 (BasicMenuItemUI): Create propertyChangeListener.
6976 (getPath):Implemented.
6977 (installListeners): Add propertyChangeListener to menuItem.
6978 (uninstallListeners): Remove propertyChangeListener from menuItem.
6979 (update): Implemented.
6980 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6981 (mouseEntered): Take insets of popup menu into account when
6982 calculating position of popup menu.
6984 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6986 * Makefile.am: Added new file.
6987 * Makefile.in: Regenerate.
6988 * javax/swing/JMenuBar.java:
6989 Started implementation.
6990 * javax/swing/JPopupMenu.java:
6991 (setVisible): Fixed location of lightweight/mediumweight
6993 (show): Fixed location of PopupMenu.
6994 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6995 New file. UI Delegate for JMenuBar.
6996 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6997 (mouseEntered): Corrected position of the submenu.
6999 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7002 to _gtk_accel_group_attach.
7003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7006 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7007 package access. Don't override setFont.
7008 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7009 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7010 gtkWidgetRequestFocus package access.
7011 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7013 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7014 Give gtkWidgetRequestFocus package access.
7015 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7016 gtkWidgetRequestFocus package access. Don't override setFont.
7017 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7020 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7022 (gtkSetFont): Likewise.
7023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7026 (gtkSetFont): Whitespace fix.
7028 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7029 (gtkWidgetSetUsize): Remove method.
7031 2004-05-18 David Jee <djee@redhat.com>
7033 * java/awt/image/MemoryImageSource.java
7034 (newPixels(int,int,int,int,boolean)): Set only the specified
7035 rectangle of pixels.
7036 (newPixels(byte[],ColorModel,int,int)): Implement.
7037 (newPixels(int[],ColorModel,int,int)): Implement.
7039 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7041 * Makefile.am: Added new file.
7042 * Makefile.in: Regenerate.
7043 * javax/swing/JMenu.java: Started
7045 * javax/swing/JPopupMenu.java:
7046 (insert): If specified index is -1, then
7047 add component at the end.
7048 (isPopupTrigger): Reimplemented.
7049 (JPopupMenu.LightWeightPopup): setBounds
7050 of the lightWeightPopup before adding it
7052 (javax/swing/plaf/basic/BasicIconFactory.java):
7053 (getMenuArrowIcon): Implemented.
7054 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7055 (getPreferredSize): Add size of the arrow icon
7056 if this menu item is instance of JMenu.
7057 (paintMenuItem): Paint arrow icon if this
7058 menu item is a submenu.
7059 * javax/swing/plaf/basic/BasicMenuUI.java:
7060 New File. UI Delegate for JMenu.
7062 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7064 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7065 Post KEY_TYPED events.
7066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7067 (generates_key_typed_event): Remove function.
7069 2004-05-17 Olga Rodimina <rodimina@redhat.com>
7071 * javax/swing/JRootPane.java
7072 (JRootPane.RootLayout): Reimplemented to
7073 set bounds of contentPane and menuBar.
7074 (setJMenuBar): Add menu bar to the layered pane.
7075 (createLayeredPane): Set layout of layeredPane
7077 * javax/swing/JLayeredPane.java:
7078 (addImpl): Calculate index of the component in the
7079 layeredPane according to the specified position within
7082 2004-05-17 David Jee <djee@redhat.com>
7084 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7085 (setPixels): Change color model to the default model after
7087 * java/awt/image/MemoryImageSource.java
7088 (newPixels): Set only the specified rectangle of pixels.
7090 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7092 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7093 -l-java-beans -l-javax-accessibility -l-javax-swing.
7095 * java/awt/AWTEvent.java (toString): Print source's name rather
7096 than the source itself.
7098 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7100 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7103 (gdk_color_to_java_color): New function.
7104 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7106 2004-05-12 David Jee <djee@redhat.com>
7108 * java/awt/image/RGBImageFilter.java:
7109 Initialize origmodel as null.
7110 (makeColor): Fix pixel component order.
7111 (filterRGBPixels): Fix pixel iteration.
7112 (setPixels): Add extra checks for index color model. Convert pixels
7113 to default color model if necessary.
7114 (convertColorModelToDefault): New override method for byte pixels.
7115 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7116 (makeColorbyDefaultCM): New override method for byte pixels.
7117 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7118 (makeColor): Fix pixel component order.
7120 2004-05-11 Kim Ho <kho@redhat.com>
7122 * javax/swing/Box.java:
7123 Comment out more parts of Box.Filler.
7125 2004-05-11 Kim Ho <kho@redhat.com>
7127 * javax/swing/Box.java:
7128 Remove reference to AccessibleAWTComponent so
7131 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7133 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7135 implementation of list peer to use GtkTreeView instead of
7136 deprecated GtkCList.
7138 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7141 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7142 (handleEvent): Remove keyChar argument to
7143 gtkWidgetDispatchKeyEvent calls.
7144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7151 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7153 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7154 (gtkWidgetRequestFocus): Mark protected.
7155 (GtkComponentPeer): Only set the peer's bounds if its component
7157 * java/awt/Component.java (static): Set the default keyboard
7159 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7160 requestFocusInWindow(temporary)): Don't request focus if the
7161 component is not showing. Get tree lock before traversing
7162 component hierarchy.
7163 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7164 Only set the global focus owner if it is not a Window.
7165 (processKeyEvent): Consume keystrokes associated with the focus
7166 traversal keystroke.
7167 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7168 downFocusCycle): Call requestFocusInWindow instead of
7170 * java/awt/EventDispatchThread.java (run): Move setting of
7171 default keyboard focus manager to Component.java.
7172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7173 (awt_keycode_to_keysym): New function.
7174 (gtkWidgetDispatchKeyEvent): Finish implementation.
7175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7176 (pre_event_handler): Add FIXME comment.
7178 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7179 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7180 (gtkWidgetRequestFocus): New method.
7181 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7182 disable Tab and Shift-Tab keystrokes.
7183 (addNotify, appendText, insertText, replaceText): Simplify peer
7185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7186 (connectSignals): Remove connections to "commit" signals.
7187 Remove C++-style comments.
7189 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7191 (handleEvent): Activate GTK button when the space bar key is
7193 (gtkActivate): New method.
7195 2004-05-06 David Jee <djee@redhat.com>
7197 * java/awt/image/CropImageFilter.java
7198 (setPixels): Implement for byte array pixels.
7199 * java/awt/image/ReplicateScaleFilter.java
7200 (setPixels): Implement for byte array pixels.
7201 (replicatePixels): Overload for byte array pixels.
7203 2004-05-06 Kim Ho <kho@redhat.com>
7205 * javax/swing/Box.java:
7206 (getAccessibleContext): Return an instance of the
7209 2004-05-05 David Jee <djee@redhat.com>
7211 * gnu/java/awt/peer/gtk/GdkGraphics.java
7212 (drawImage): When component is null, use SystemColor.window as
7213 the default bgcolor.
7214 * gnu/java/awt/peer/gtk/GtkImage.java
7215 (setPixels): We can avoid iterating through the pixel rows only
7217 * java/awt/Image.java
7218 (getScaledInstance): Partially implement.
7219 * java/awt/image/CropImageFilter.java
7220 (setProperties): Fix "filter" property.
7221 (setPixels): Implement.
7222 * java/awt/image/ReplicateScaleFilter.java
7223 (setDimensions): Use scaled dimensions.
7224 (setPixels): Implement.
7225 (replicatePixels): New method.
7227 2004-05-05 David Jee <djee@redhat.com>
7229 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7230 (convertPixels): If either pixels or model is null, return null.
7231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7232 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7233 is null, do nothing and return.
7235 2004-05-03 Kim Ho <kho@redhat.com>
7237 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7238 (getGraphics): Like GtkFramePeer, the Graphics
7239 object needs to be translate to account for
7241 (postMouseEvent): New method. Account for
7243 (postExposeEvent): ditto.
7244 * javax/swing/Box.java: Stubbed.
7245 * javax/swing/JDialog.java: Ran through jalopy
7247 (JDialog): Call SwingUtilities' getOwnerFrame
7249 (setLayout): Check isRootPaneCheckingEnabled
7250 * javax/swing/JOptionPane.java: Re-implemented.
7251 * javax/swing/SwingUtilities.java:
7252 (getOwnerFrame): Static method to grab a default
7253 owner frame for Dialogs that don't specify owners.
7254 * javax/swing/event/SwingPropertyChangeSupport.java:
7255 (firePropertyChange): Fix early exit condition.
7256 * javax/swing/plaf/basic/BasicLabelUI.java:
7257 (paint): Avoid painting text if it is null
7259 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7262 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7264 * Makefile.am: Added new file.
7265 * Makefile.in: Regenerate.
7266 * javax/swing/JPopupMenu.java:
7267 Started implementation.
7268 * javax/swing/JWindow.java
7269 (JWindow): call super() if parent for window
7271 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7272 New File. UI Delegate for JPopupMenu.
7274 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7276 * javax/swing/JApplet.java: Indicated that JApplet
7277 implements RootPaneContainer and made method of this
7279 * javax/swing/JFrame.java: Ditto.
7280 * javax/swing/JWindow.java: Ditto.
7282 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7285 (nativeSetBounds): Call gdk_window_move in addition to
7288 * java/applet/Applet.java (preferredSize): Call parent's
7289 preferredSize if the applet stub is null.
7290 (minimumSize): Likewise for parent's minimumSize.
7292 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7294 * javax/swing/JMenuItem.java
7295 (createActionPropertyChangeListener): Implemented.
7296 (processMouseEvent): Ditto.
7297 (fireMenuDragMouseEntered): Ditto.
7298 (fireMenuDragMouseExited): Ditto.
7299 (fireMenuDragMouseDragged): Ditto.
7300 (fireMenuDragMouseReleased): Ditto.
7301 (menuSelectionChanged): Ditto.
7302 (getSubElements): Ditto.
7303 (getComponent): Ditto.
7304 (addMenuDragMouseListener): Ditto.
7305 (removeMenuDragMouseListener):Ditto.
7306 (addMenuKeyListener): Ditto.
7307 (removeMenuKeyListener): Ditto.
7308 * javax/swing/plaf/basic/BasicMenuItemUI.java
7309 (doClick): Imlemented.
7310 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7311 Don't handle mouse events here. Pass them to
7312 MenuSelectionManager.
7314 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7315 Used correct version of jalopy configuration
7316 file to fix style in the files below.
7318 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7320 * javax/swing/JCheckBoxMenuItem.java:
7321 Fixed style and removed unnecessary comments.
7322 * javax/swing/JMenuItem.java: Ditto.
7323 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7324 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7325 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7326 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7328 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7330 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7333 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7335 * java/awt/ContainerOrderFocusTraversalPolicy.java
7336 (getComponentAfter): Start from current component and work up
7337 the component hierarchy until an acceptable component is found.
7338 Synchronize on tree lock.
7339 (getComponentBefore): Likewise.
7341 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7343 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7344 focus-related debugging messages.
7345 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7346 * java/awt/EventDispatchThread.java: Likewise.
7347 * java/awt/KeyboardFocusManager.java: Likewise.
7348 * java/awt/Window.java: Likewise.
7349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7353 new C++-style comments to C-style comments.
7354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7356 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7357 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7358 (handleEvent): Dispatch key press and key release events to
7360 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7361 (gtkWidgetRequestFocus): New method.
7362 (gtkWidgetDispatchKeyEvent): Likewise.
7363 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7364 requestFocusInWindow, requestFocusInWindow(boolean),
7365 getFocusCycleRootAncestor, nextFocus, transferFocus,
7366 transferFocusBackward, transferFocusUpCycle, hasFocus,
7367 isFocusOwner): Implement and document focus-handling methods.
7368 (setFocusTraversalKeys): Inherit focus traversal keys when
7369 keystrokes argument is null. Fix focus-handling documentation
7371 * java/awt/Container.java (setFocusTraversalKeys,
7372 getFocusTraversalKeys, areFocusTraversalKeysSet,
7373 isFocusCycleRoot, setFocusTraversalPolicy,
7374 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7375 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7376 Implement and document focus-handling methods.
7377 (transferFocusBackward): Remove method.
7378 (readObject, writeObject): Implement and document serialization
7380 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7382 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7384 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7386 * java/awt/EventDispatchThread.java (run): Set default keyboard
7387 focus manager. Attempt to dispatch each event to the keyboard
7388 focus manager before normal dispatch.
7389 * java/awt/KeyboardFocusManager.java: Implement and partially
7391 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7392 (show): Focus initial component when window is shown for the
7394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7395 (pre_event_handler): Replace complex key press and key release
7396 logic with simple callbacks into GtkComponentPeer.
7397 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7399 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7401 * javax/swing/MenuSelectionManager.java
7402 (componentForPoint): Added new method.
7403 (defaultManager): New Method. Implemented.
7404 (getSelectedPath): Ditto.
7405 (isComponentPartOfCurrentMenu): Ditto.
7406 (processKeyEvent): Added new method.
7407 (processMouseEvent): New Method. Implemented.
7408 (setSelectedPath): Ditto.
7411 2004-04-19 Kim Ho <kho@redhat.com>
7413 * java/awt/Container.java:
7414 (remove): Set the component's parent to null.
7415 (getComponentAt): Implement.
7416 * javax/swing/JComponent.java:
7417 (JComponent): Initialize defaultLocale
7418 (getDefaultLocale): Implement.
7419 (setDefaultLocale): ditto.
7420 * javax/swing/JSlider.java:
7421 (JSlider): Fix calculation of value.
7422 * javax/swing/JSplitPane.java: Implement.
7423 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7424 Change SplitPane's default divider size.
7425 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7426 (paint): Remove unused code.
7427 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7428 Added comments and ran through jalopy.
7429 (setBasicSplitPaneUI): Get reference to hidden divider
7430 and set up one touch buttons if necessary.
7431 (setBorder): Fire propertyChangeEvent only if
7432 borders are different.
7433 (getPreferredSize): Defer to layout manager.
7434 (propertyChange): Implement.
7435 (oneTouchExpandableChanged): ditto.
7436 (createLeftOneTouchButton): Use BasicArrowButton.
7437 (createRightOneTouchButton): ditto.
7438 (moveDividerTo): New method. Moves the divider
7439 to a set location based on the last divider location.
7440 (BasicSplitPaneDivider::MouseHandler): Implement.
7441 (BasicSplitPaneDivider::OneTouchButton): Removed.
7442 (BasicSplitPaneDivider::DragController): Implement.
7443 (BasicSplitPaneDivider::VerticalDragController):
7445 (BasicSplitPaneDivider::DividerLayout): ditto.
7446 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7447 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7448 (calculateLayoutInfo): Don't show component if it's
7450 (paintTab): Fix title paint logic.
7452 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7455 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7456 (setStartRule,setEndRule): Don't take abs of day number.
7457 (getOffset): Clarify docs. Add argument checks.
7458 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7459 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7461 * testsuite/libjava.mauve/xfails
7462 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7464 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7466 Layout interfaces during preparation, not initialization.
7467 * java/lang/natClass.cc (initializeClass): Move
7468 _Jv_LayoutInterfaceMethods call...
7469 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7471 2004-05-19 Anthony Green <green@localhost.localdomain>
7473 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7475 * Makefile.in: Rebuilt.
7476 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7477 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7478 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7479 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7480 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7481 gnu/javax/rmi/CORBA/DelegateFactory.java,
7482 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7483 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7484 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7485 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7486 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7487 gnu/javax/rmi/PortableServer.java: Remove files.
7489 2004-05-19 Anthony Green <green@redhat.com>
7491 * Makefile.am: Define JAVA_EXT_DIRS.
7492 * Makefile.in: Rebuilt.
7493 * java/lang/natRuntime.cc (insertSystemProperties): Set
7494 java.ext.dirs property.
7496 2004-05-16 Mark Wielaard <mark@klomp.org>
7498 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7500 2004-05-15 Mark Wielaard <mark@klomp.org>
7502 * doc/cni.sgml: Removed, merged into gcj.texi.
7504 2004-05-15 Mark Wielaard <mark@klomp.org>
7506 * Makefile.am (ordinary_java_source_files): Add new javax.print
7508 * Makefile.in: Regenerated.
7510 2004-05-15 Michael Koch <konqueror@gmx.de>
7512 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7513 javax/print/attribute/standard/DateTimeAtCreation.java,
7514 javax/print/attribute/standard/DateTimeAtProcessing.java,
7515 javax/print/attribute/standard/DocumentName.java,
7516 javax/print/attribute/standard/JobHoldUntil.java,
7517 javax/print/attribute/standard/JobImpressionsCompleted.java,
7518 javax/print/attribute/standard/JobMessageFromOperator.java,
7519 javax/print/attribute/standard/JobName.java,
7520 javax/print/attribute/standard/JobOriginatingUserName.java,
7521 javax/print/attribute/standard/JobPriority.java,
7522 javax/print/attribute/standard/JobPrioritySupported.java,
7523 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7524 javax/print/attribute/standard/OutputDeviceAssigned.java,
7525 javax/print/attribute/standard/PrinterInfo.java,
7526 javax/print/attribute/standard/PrinterLocation.java,
7527 javax/print/attribute/standard/PrinterMakeAndModel.java,
7528 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7529 javax/print/attribute/standard/PrinterName.java,
7530 javax/print/attribute/standard/QueuedJobCount.java,
7531 javax/print/attribute/standard/RequestingUserName.java:
7532 Fixed javadocs all over.
7534 2004-05-15 Michael Koch <konqueror@gmx.de>
7536 * javax/print/DocFlavor.java,
7537 javax/print/attribute/standard/ColorSupported.java,
7538 javax/print/attribute/standard/Compression.java,
7539 javax/print/attribute/standard/CopiesSupported.java,
7540 javax/print/attribute/standard/Fidelity.java,
7541 javax/print/attribute/standard/Finishings.java,
7542 javax/print/attribute/standard/JobImpressionsSupported.java,
7543 javax/print/attribute/standard/JobKOctetsSupported.java,
7544 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7545 javax/print/attribute/standard/JobSheets.java,
7546 javax/print/attribute/standard/JobState.java,
7547 javax/print/attribute/standard/JobStateReason.java,
7548 javax/print/attribute/standard/JobStateReasons.java,
7549 javax/print/attribute/standard/Media.java,
7550 javax/print/attribute/standard/MediaSizeName.java,
7551 javax/print/attribute/standard/MultipleDocumentHandling.java,
7552 javax/print/attribute/standard/NumberUpSupported.java,
7553 javax/print/attribute/standard/OrientationRequested.java,
7554 javax/print/attribute/standard/PDLOverrideSupported.java,
7555 javax/print/attribute/standard/PageRanges.java,
7556 javax/print/attribute/standard/PresentationDirection.java,
7557 javax/print/attribute/standard/PrintQuality.java,
7558 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7559 javax/print/attribute/standard/PrinterMoreInfo.java,
7560 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7561 javax/print/attribute/standard/PrinterResolution.java,
7562 javax/print/attribute/standard/PrinterState.java,
7563 javax/print/attribute/standard/PrinterStateReason.java,
7564 javax/print/attribute/standard/PrinterStateReasons.java,
7565 javax/print/attribute/standard/PrinterURI.java,
7566 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7567 javax/print/attribute/standard/Severity.java,
7568 javax/print/attribute/standard/SheetCollate.java,
7569 javax/print/attribute/standard/Sides.java:
7570 Added serialVersionUID and removed final keyword where it doenst
7573 2004-05-15 Michael Koch <konqueror@gmx.de>
7575 * javax/print/PrintServiceLookup.java: New file.
7577 2004-05-15 Michael Koch <konqueror@gmx.de>
7579 * javax/print/DocFlavor.java:
7580 Implemented all flavor classes.
7582 2004-05-15 Michael Koch <konqueror@gmx.de>
7584 * javax/print/attribute/standard/ColorSupported.java,
7585 javax/print/attribute/standard/Compression.java,
7586 javax/print/attribute/standard/CopiesSupported.java,
7587 javax/print/attribute/standard/Fidelity.java,
7588 javax/print/attribute/standard/Finishings.java,
7589 javax/print/attribute/standard/JobImpressionsSupported.java,
7590 javax/print/attribute/standard/JobKOctetsSupported.java,
7591 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7592 javax/print/attribute/standard/JobSheets.java,
7593 javax/print/attribute/standard/JobState.java,
7594 javax/print/attribute/standard/JobStateReason.java,
7595 javax/print/attribute/standard/JobStateReasons.java,
7596 javax/print/attribute/standard/Media.java,
7597 javax/print/attribute/standard/MediaSizeName.java,
7598 javax/print/attribute/standard/MultipleDocumentHandling.java,
7599 javax/print/attribute/standard/NumberUpSupported.java,
7600 javax/print/attribute/standard/OrientationRequested.java,
7601 javax/print/attribute/standard/PDLOverrideSupported.java,
7602 javax/print/attribute/standard/PageRanges.java,
7603 javax/print/attribute/standard/PresentationDirection.java,
7604 javax/print/attribute/standard/PrintQuality.java,
7605 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7606 javax/print/attribute/standard/PrinterMoreInfo.java,
7607 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7608 javax/print/attribute/standard/PrinterResolution.java,
7609 javax/print/attribute/standard/PrinterState.java,
7610 javax/print/attribute/standard/PrinterStateReason.java,
7611 javax/print/attribute/standard/PrinterStateReasons.java,
7612 javax/print/attribute/standard/PrinterURI.java,
7613 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7614 javax/print/attribute/standard/Severity.java,
7615 javax/print/attribute/standard/SheetCollate.java,
7616 javax/print/attribute/standard/Sides.java: New files.
7618 2004-05-15 Michael Koch <konqueror@gmx.de>
7620 * javax/print/Doc.java
7621 (getPrintData): Throws IOException.
7622 (getReaderForText): Likewise.
7623 (getStreamForBytes): Likewise.
7624 * javax/print/DocFlavor.java:
7625 Fixed filename in copyright.
7626 (serialVersionUID): New field.
7627 * javax/print/ServiceUIFactory.java:
7628 Made all constants final.
7629 * javax/print/AttributeException.java
7630 javax/print/MultiDoc.java
7631 javax/print/MultiDocPrintJob.java
7632 javax/print/MultiDocPrintService.java
7633 javax/print/StreamPrintService.java
7634 javax/print/URIException.java: New files.
7635 * javax/print/Makefile.am
7636 (EXTRA_DIST): Added all new files.
7638 2004-05-15 Michael Koch <konqueror@gmx.de>
7640 * javax/print/attribute/standard/Copies.java,
7641 javax/print/attribute/standard/DateTimeAtCompleted.java,
7642 javax/print/attribute/standard/DateTimeAtCreation.java,
7643 javax/print/attribute/standard/DateTimeAtProcessing.java,
7644 javax/print/attribute/standard/DocumentName.java,
7645 javax/print/attribute/standard/JobHoldUntil.java,
7646 javax/print/attribute/standard/JobImpressions.java,
7647 javax/print/attribute/standard/JobImpressionsCompleted.java,
7648 javax/print/attribute/standard/JobKOctets.java,
7649 javax/print/attribute/standard/JobKOctetsProcessed.java,
7650 javax/print/attribute/standard/JobMediaSheets.java,
7651 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7652 javax/print/attribute/standard/JobMessageFromOperator.java,
7653 javax/print/attribute/standard/JobName.java,
7654 javax/print/attribute/standard/JobOriginatingUserName.java,
7655 javax/print/attribute/standard/JobPriority.java,
7656 javax/print/attribute/standard/JobPrioritySupported.java,
7657 javax/print/attribute/standard/NumberOfDocuments.java,
7658 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7659 javax/print/attribute/standard/NumberUp.java,
7660 javax/print/attribute/standard/OutputDeviceAssigned.java,
7661 javax/print/attribute/standard/PagesPerMinute.java,
7662 javax/print/attribute/standard/PagesPerMinuteColor.java:
7663 Fixed @return tag all over.
7665 2004-05-15 Michael Koch <konqueror@gmx.de>
7667 * javax/print/attribute/AttributeSetUtilities.java
7668 (verifyCategoryForValue): Fixed typo in javadoc.
7669 * javax/print/attribute/HashAttributeSet.java
7670 (containsKey): Fixed @return tag.
7671 (comtainsValue): Likewise.
7673 * javax/print/attribute/IntegerSyntax.java
7675 * javax/print/attribute/ResolutionSyntax.java
7677 (getCrossFeedResolution): Removed unused code.
7678 (getFeedResolution): Likewise.
7679 * javax/print/attribute/SetOfIntegerSyntax.java
7680 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7681 (equals): Fixed @return tag.
7682 * javax/print/attribute/TextSyntax.java
7683 (TextSyntax): Take locale into account.
7684 (hashCode): Better implementation.
7686 2004-05-15 Michael Koch <konqueror@gmx.de>
7688 * javax/print/CancelablePrintJob.java,
7689 javax/print/Doc.java,
7690 javax/print/DocFlavor.java,
7691 javax/print/DocPrintJob.java,
7692 javax/print/FlavorException.java,
7693 javax/print/PrintException.java,
7694 javax/print/PrintService.java,
7695 javax/print/ServiceUIFactory.java: New files.
7697 2004-05-15 Mark Wielaard <mark@klomp.org>
7699 * gnu/regexp/CharIndexedReader.java: Removed.
7700 * gnu/regexp/REFilterReader.java: Likewise.
7701 * gnu/regexp/RETokenLookAhead.java: Likewise.
7702 * Makefile.am (ordinary_java_source_files): Remove above classes.
7703 * Makefile.in: Regenerated.
7705 2004-05-14 Tom Tromey <tromey@redhat.com>
7707 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7708 not `XGraphicsConfiguration.XOffScreenImage'.
7710 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7712 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7714 2004-05-14 Steven Augart <augart@watson.ibm.com>
7716 * include/jni.h (_Jv_func): Removed.
7717 (struct JNINativeInterface): Use `void *' for reserved slots.
7718 (struct JNIInvokeInterface): Likewise.
7720 2004-05-11 Michael Koch <konqueror@gmx.de>
7722 * gnu/java/net/natPlainSocketImplPosix.cc
7723 (read): Fixed typo in expression.
7725 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7727 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7728 ld_library_additions. Adjust all calls to libjava_invoke to match
7731 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7732 path to cxxflagslist.
7733 Pass path of libstdc++ to libjava_invoke.
7735 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7736 libjava_invoke arguments.
7738 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7740 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7743 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7745 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7746 main binary against the JNI shared library.
7748 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7750 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7751 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7752 (SimpleTimeZone): Tweak docs. Add new variation.
7753 (setStartRule,setEndRule): Add new variations. Use
7754 startTimeMode and endTimeMode.
7756 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7758 * java/util/Calendar.java (getActualMinimum,
7759 getActualMaximum): Remove abstract. Implement.
7761 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7763 Run the jni tests using the interpreter.
7764 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7765 options_cxx to shared lib compile command.
7766 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7767 they are used to link the shared lib, not the main binary.
7768 Use libjava_invoke to run gij.
7770 2004-05-06 Michael Koch <konqueror@gmx.de>
7772 * java/util/logging/Level.java
7773 (parse): Use == instead of String.equals().
7775 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7777 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7778 verify_field_signature and verify_method_signature, not
7779 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7780 (_Jv_ClassReader::handleField): Likewise.
7781 (_Jv_ClassReader::handleMethod): Likewise.
7783 2004-05-06 Michael Koch <konqueror@gmx.de>
7785 * javax/swing/table/TableColumn.java:
7788 2004-05-06 Michael Koch <konqueror@gmx.de>
7790 * javax/imageio/spi/ImageReaderWriterSpi.java
7791 (ImageReaderWriterSpi): Made it public.
7792 * javax/imageio/stream/ImageInputStream.java:
7795 2004-05-06 Michael Koch <konqueror@gmx.de>
7797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7800 2004-05-06 Michael Koch <konqueror@gmx.de>
7802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7803 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7806 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7808 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7809 their own source file.
7810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7811 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7812 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7814 (create): Define variable on top of function.
7815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7816 (menu_pos): Prototyped.
7817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7818 (setTitle): Removed.
7819 * jni/gtk-peer/gthread-jni.c
7820 (gdk_threads_wake): Removed.
7821 * Makefile.am (gtk_c_source_files): Added new files
7822 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7823 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7824 * Makefile.in: Regenerated.
7826 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7828 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7831 2004-05-05 Mark Wielaard <mark@klomp.org>
7833 * javax/swing/AbstractButton.java: Replace special HTML entities with
7835 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7836 * javax/swing/DefaultButtonModel.java: Likewise.
7837 * javax/swing/DefaultListModel.java: Likewise.
7838 * javax/swing/JList.java: Likewise.
7839 * javax/swing/JSlider.java: Likewise.
7840 * javax/swing/ListModel.java: Likewise.
7841 * javax/swing/Popup.java: Likewise.
7842 * javax/swing/SwingUtilities.java: Likewise.
7844 2004-05-05 Michael Koch <konqueror@gmx.de>
7846 * javax/swing/AbstractButton.java,
7847 javax/swing/ActionMap.java,
7848 javax/swing/DefaultButtonModel.java,
7849 javax/swing/DefaultListModel.java,
7850 javax/swing/ImageIcon.java,
7851 javax/swing/JComboBox.java,
7852 javax/swing/JComponent.java,
7853 javax/swing/JFrame.java,
7854 javax/swing/JInternalFrame.java,
7855 javax/swing/JMenuBar.java,
7856 javax/swing/JMenuItem.java,
7857 javax/swing/JOptionPane.java,
7858 javax/swing/JProgressBar.java,
7859 javax/swing/JRootPane.java,
7860 javax/swing/JScrollBar.java,
7861 javax/swing/JScrollPane.java,
7862 javax/swing/JSeparator.java,
7863 javax/swing/JSlider.java,
7864 javax/swing/JTabbedPane.java,
7865 javax/swing/JTable.java,
7866 javax/swing/JTextField.java,
7867 javax/swing/JToolBar.java,
7868 javax/swing/JToolTip.java,
7869 javax/swing/JTree.java,
7870 javax/swing/JViewport.java,
7871 javax/swing/JWindow.java,
7872 javax/swing/KeyStroke.java,
7873 javax/swing/LookAndFeel.java,
7874 javax/swing/SwingUtilities.java,
7875 javax/swing/Timer.java,
7876 javax/swing/ToolTipManager.java,
7877 javax/swing/UIDefaults.java,
7878 javax/swing/border/TitledBorder.java,
7879 javax/swing/filechooser/FileSystemView.java,
7880 javax/swing/plaf/basic/BasicButtonListener.java,
7881 javax/swing/plaf/basic/BasicButtonUI.java,
7882 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7883 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7884 javax/swing/plaf/basic/BasicLabelUI.java,
7885 javax/swing/plaf/basic/BasicMenuItemUI.java,
7886 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7887 javax/swing/plaf/basic/BasicRootPaneUI.java,
7888 javax/swing/plaf/basic/BasicScrollBarUI.java,
7889 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7890 javax/swing/plaf/basic/BasicSliderUI.java,
7891 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7892 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7893 javax/swing/table/JTableHeader.java,
7894 javax/swing/text/AbstractDocument.java,
7895 javax/swing/text/DefaultCaret.java,
7896 javax/swing/text/StyledEditorKit.java,
7897 javax/swing/tree/DefaultTreeCellEditor.java:
7900 2004-05-05 Michael Koch <konqueror@gmx.de>
7902 * java/util/prefs/AbstractPreferences.java
7903 (AbstractPreferences): Added parenthesis for clarity.
7904 Closes classpath bug #7940.
7906 2004-05-05 Tom Tromey <tromey@redhat.com>
7908 * javax/naming/CompoundName.java (endsWith): Look at correct
7909 element of source name.
7911 2004-05-05 Mark Wielaard <mark@klomp.org>
7913 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7914 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7916 2004-05-05 Tom Tromey <tromey@redhat.com>
7918 * java/io/BufferedReader.java (skip): Removed unused
7921 2004-05-05 Michael Koch <konqueror@gmx.de>
7923 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7925 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7927 * java/text/AttributedString.java,
7928 java/text/AttributedStringIterator.java,
7929 java/text/Collator.java,
7930 java/text/DecimalFormatSymbols.java,
7931 java/text/NumberFormat.java,
7932 java/text/RuleBasedCollator.java:
7935 2004-05-05 Tom Tromey <tromey@redhat.com>
7937 * java/text/Format.java: Cleaned up imports.
7938 * java/text/DecimalFormat.java: Cleaned up imports.
7939 * java/security/SecureRandom.java: Cleaned up imports.
7940 (SecureRandom): Removed unused variable.
7941 * java/security/UnresolvedPermission.java: Cleaned up imports.
7942 * java/util/Date.java (parse): Removed unused variable.
7943 * java/util/ResourceBundle.java: Cleaned up imports.
7944 (getBundle): Removed unused variable.
7945 (tryBundle): Likewise.
7946 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7948 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7950 * java/text/SimpleDateFormat.java:
7951 (formatWithAttribute): New method. It implements
7952 the formatting process with attributes.
7953 (format): Use formatWithAttribute.
7954 (formatToCharacterIterator): New method. Use
7955 formatWithAttribute.
7957 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7959 * java/text/MessageFormat.java:
7960 (class Field): New class.
7961 (formatToCharacterIterator): New method.
7962 (format): Use formatInternal now.
7963 (formatInternal): New method. String formatter should
7964 be done here (with attributes). Attributes merging supported.
7965 (parse): More documentation.
7966 (getFormatsByArgumentIndex): New method.
7967 (setFormatByArgumentIndex): New method.
7968 (setFormatsByArgumentIndex): New method.
7970 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7972 * java/text/DecimalFormat.java
7973 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7974 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7975 (parse): Fixed handling of exponentiation notation and grouping.
7977 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7979 * java/text/DecimalFormat.java
7980 (scanFix): Build attribute array. Fixed error reporting.
7981 (applyPatternWithSymbols): Store attributes for the prefix and
7983 (formatInternal): New method. Changed the way the string is
7984 computed. Implemented attributes. Cleant up rounding in
7985 exponential notation.
7986 (format): Use formatInternal.
7987 (formatToCharacterIterator): New method.
7988 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7989 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7990 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7993 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7995 * java/security/interfaces/DSAKeyPairGenerator.java,
7996 java/security/interfaces/DSAPrivateKey.java,
7997 java/security/interfaces/DSAPublicKey.java,
7998 java/security/interfaces/RSAPrivateKey.java,
7999 java/security/interfaces/RSAPublicKey.java:
8002 2004-05-04 Michael Koch <konqueror@gmx.de>
8004 * java/nio/ByteBuffer.java,
8005 java/nio/CharBuffer.java,
8006 java/nio/DoubleBuffer.java,
8007 java/nio/FloatBuffer.java,
8008 java/nio/IntBuffer.java,
8009 java/nio/LongBuffer.java,
8010 java/nio/ShortBuffer.java:
8011 (compareTo): Fixed bogus implementation in all buffer classes.
8013 2004-05-04 Ingo Proetel <proetel@aicas.com>
8015 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8016 32 bit pixels not 8 bit pixels.
8017 (isCompatibleRaster): Added javadoc comment.
8019 2004-05-04 Ingo Proetel <proetel@aicas.com>
8021 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8024 2004-05-04 Ingo Proetel <proetel@aicas.com>
8026 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8027 (getColorModel): Return the actual color model.
8028 (getRaster): Implemented.
8029 (ColorRaster): New inner class.
8030 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8032 * java/awt/Color.java (<init>): Make exception more verbose.
8033 (createContext): Use ColorModel when creating a PaintContext.
8035 2004-05-04 Michael Koch <konqueror@gmx.de>
8037 * gnu/java/text/CharacterBreakIterator.java
8038 (previous): Removed unused variable.
8040 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8042 * gnu/java/text/FormatBuffer.java,
8043 gnu/java/text/AttributedFormatBuffer.java,
8044 gnu/java/text/StringFormatBuffer.java: New classes to implement
8045 attributed iterators in java.text.
8046 * gnu/java/text/FormatCharacterIterator.java: Moved
8047 from java/text as it is an internal class.
8048 * java/text/FormatCharacterIterator.java: Removed.
8049 * java/text/Format.java:
8050 Import gnu.java.text.FormatCharacterIterator.
8051 * Makefile.am (java_source_files): Added new files.
8052 * Makefile.in: Regenerated.
8055 2004-05-04 Mark Wielaard <mark@klomp.org>
8057 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8059 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8061 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8062 * Makefile.in: Rebuilt.
8064 2004-05-03 Mark Wielaard <mark@klomp.org>
8066 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8067 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8069 (set(String, String, int, String, String, String, String, String)):
8070 Assign this.file to path or path + "?" + query.
8071 * java/util/Arrays.java: Call static methods staticly.
8072 * java/util/zip/ZipEntry.java: Likewise.
8073 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8074 dir to this.direction.
8075 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8076 Assign static field only once.
8077 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8079 2004-05-03 Mark Wielaard <mark@klomp.org>
8081 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8082 unused variables hScrollbarHeight and vScrollbarWidth.
8083 (preferredSize): Likewise.
8084 * gnu/java/security/provider/DSAParameters.java (engineToString):
8085 Removed unused call to System.getProperty("line.seperator");
8086 * java/security/Security.java (loadProviders): Return result.
8088 2004-05-03 Tom Tromey <tromey@redhat.com>
8090 * java/net/URLStreamHandler.java (toExternalForm): Removed
8093 * java/math/BigDecimal.java (divide): Removed unused variable.
8094 * java/lang/Throwable.java: Cleaned up imports.
8095 * java/lang/ClassLoader.java: Cleaned up imports.
8096 * java/io/FilePermission.java (implies): Removed unused
8098 * java/awt/TextComponent.java: Removed unused import.
8099 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8100 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8101 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8102 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8104 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8105 * gnu/java/text/CharacterBreakIterator.java: Removed
8107 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8109 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8110 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8112 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8113 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8114 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8115 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8116 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8117 (lookupProviders): Removed unused variable.
8118 (loadNextServiceProvider): Likewise.
8119 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8121 2004-05-03 Michael Koch <konqueror@gmx.de>
8123 Fixes PR libgcj/14695:
8124 * java/net/NetworkInterface.java
8125 (getByName): Return null when no interface was found.
8127 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8128 Tom Tromey <tromey@redhat.com>
8130 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8131 additional option "-Wmissing-prototypes" for compiling C sources.
8132 Print actual filename for pass/fail rather than $name.c.
8133 * testsuite/libjava.jni/PR15133.java: New testcase file.
8134 * testsuite/libjava.jni/PR15133.c: Likewise.
8135 * testsuite/libjava.jni/PR15133.out: Likewise.
8137 2004-04-30 Roger Sayle <roger@eyesopen.com>
8139 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8142 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8144 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8145 limit the maximum heap size to avoid unnecessary thrashing.
8147 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8149 * java/text/CollationElementIterator.java (reset): Reset
8150 lookahead variables.
8152 2004-04-23 Mark Wielaard <mark@klomp.org>
8154 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8156 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8158 * java/sql/DriverManager.java:
8161 2004-04-23 Michael Koch <konqueror@gmx.de>
8164 (hashcode): Don't initialize with default value explicitely.
8165 (getContent): Removed redundant "final" keyword.
8166 (openStream): Likewise.
8167 (getURLStreamHandler): Fixed coding style.
8168 * java/net/URLConnection.java
8169 (defaultAllowUserInteraction): Don't initialize with default value
8171 (connected): Likewise.
8172 (doOutput): Likewise.
8173 (ifModifiedSince): Likewise.
8174 (dateformats_initialized): Likewise.
8175 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8177 2004-04-23 Michael Koch <konqueror@gmx.de>
8179 * gnu/java/nio/channels/FileChannelImpl.java
8180 (SET, CUR): Unused, removed.
8181 (read): Implement here directly.
8182 (implRead): Removed.
8183 (write): Implement here directly.
8184 (implWrite): Removed.
8186 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8188 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8189 javax/rmi/CORBA/Stub.java,
8190 javax/rmi/CORBA/Util.java,
8191 javax/rmi/CORBA/ValueHandler.java,
8192 javax/rmi/CORBA/ValueHandler.java,
8193 javax/rmi/PortableRemoteObject.java:
8196 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8198 * java/util/jar/JarFile.java,
8199 java/util/jar/JarInputStream.java,
8200 java/util/jar/JarOutputStream.java,
8201 java/util/jar/Manifest.java:
8204 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8206 * java/util/ArrayList.java,
8207 java/util/Calendar.java,
8208 java/util/Currency.java,
8209 java/util/HashMap.java,
8210 java/util/HashSet.java,
8211 java/util/Hashtable.java,
8212 java/util/LinkedList.java,
8213 java/util/Properties.java,
8214 java/util/PropertyPermission.java,
8215 java/util/TimeZone.java,
8216 java/util/TreeMap.java,
8217 java/util/TreeSet.java,
8218 java/util/Vector.java,
8219 java/util/WeakHashMap.java:
8222 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8224 * java/util/logging/FileHandler.java,
8225 java/util/logging/Formatter.java,
8226 java/util/logging/Handler.java,
8227 java/util/logging/Logger.java,
8228 java/util/logging/SimpleFormatter.java,
8229 java/util/logging/XMLFormatter.java:
8232 2004-04-22 Mark Wielaard <mark@klomp.org>
8234 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8235 -Wno-long-long flags variable.
8236 (gtk_c_files): Use PEDANTIC_CFLAGS.
8237 * Makefile.in: Regenerated.
8239 2004-04-22 Mark Wielaard <mark@klomp.org>
8241 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8242 Changed C++ comments into C comments.
8243 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8246 2004-04-22 Michael Koch <konqueror@gmx.de>
8248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8249 Merged copyright year with GNU classpath.
8251 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8253 * javax/security/auth/x500/X500Principal.java:
8256 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8258 * javax/swing/JSlider.java:
8259 Fixed HTML tags in comments.
8261 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8263 * javax/accessibility/AccessibleText.java:
8266 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8268 * java/net/URLStreamHandler.java
8269 (parseURL): Convert the file path to using '/' instead of native
8272 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8275 (userInfo): New field.
8276 (URL): Set authority to the right value.
8277 (setURL): Fixed authority and file initialization.
8278 * java/net/URLStreamHandler.java
8279 (parseURL): Take care of the query tag. Build authority.
8280 (toExternalForm): Fixed URL building using authority.
8282 2004-04-22 Michael Koch <konqueror@gmx.de>
8284 * java/net/Socket.java
8285 (impl): Made package-private.
8286 * java/net/ServerSocket.java
8287 (implAccept): Access Socket.impl field directly.
8289 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8291 * java/util/prefs/Preferences.java,
8292 java/util/prefs/InvalidPreferencesFormatException.java,
8293 java/util/prefs/BackingStoreException.java,
8294 java/util/prefs/AbstractPreferences.java:
8297 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8299 * java/util/regex/Matcher.java,
8300 java/util/regex/Pattern.java:
8303 2004-04-22 Michael Koch <konqueror@gmx.de>
8305 * java/nio/charset/IllegalCharsetNameException.java
8306 (charsetName): Made private.
8307 (IllegalCharsetNameException): Added @param tag to javadoc.
8308 (getCharsetName): Added @return tag to javadoc.
8309 * java/nio/charset/MalformedInputException.java
8310 (MalformedInputException): Added @param tag to javadoc.
8311 (getInputLength): Revised method description, added @return tag.
8312 (getMessage): Added @return tag.
8314 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8316 * java/awt/Font.java (deriveFont): Implement missing variants.
8317 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8320 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8322 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8323 Set method->index values for interface methods to their itable index.
8324 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8326 2004-04-21 Michael Koch <konqueror@gmx.de>
8328 * java/nio/DirectByteBufferImpl.java
8329 (shiftDown): Made static, give address as argument and
8330 provide a convenience method that overwrites shiftDown in
8331 ByteBufferImpl and calls the native shiftDown.
8332 * java/nio/MappedByteBufferImpl.java
8333 (): Use optimized method in DirectByteBufferImpl.
8334 * java/nio/natDirectByteBufferImpl.cc
8335 (shiftDown): Changed method signature. Removed usage of array_offset.
8337 2004-04-21 Michael Koch <konqueror@gmx.de>
8339 * gnu/java/net/natPlainSocketImplPosix.cc
8340 (SocketInputStream::read): Make sure returned data is a byte value.
8342 2004-04-21 Michael Koch <konqueror@gmx.de>
8344 * gnu/classpath/ServiceFactory.java,
8345 gnu/classpath/ServiceProviderLoadingAction.java,
8346 javax/imageio/ImageReader.java,
8347 javax/imageio/ImageTranscoder.java,
8348 javax/imageio/ImageWriter.java,
8349 javax/imageio/package.html,
8350 javax/imageio/spi/IIOServiceProvider.java,
8351 javax/imageio/spi/ImageInputStreamSpi.java,
8352 javax/imageio/spi/ImageOutputStreamSpi.java,
8353 javax/imageio/spi/ImageReaderWriterSpi.java,
8354 javax/imageio/spi/ImageTranscoderSpi.java,
8355 javax/imageio/spi/RegisterableService.java,
8356 javax/imageio/spi/ServiceRegistry.java,
8357 javax/imageio/spi/package.html,
8358 javax/imageio/stream/IIOByteBuffer.java,
8359 javax/imageio/stream/ImageInputStream.java,
8360 javax/imageio/stream/ImageOutputStream.java,
8361 javax/imageio/stream/package.html:
8364 (ordinary_java_source_files): Added
8365 gnu/classpath/ServiceFactory.java and
8366 gnu/classpath/ServiceProviderLoadingAction.java.
8367 (javax_source_files): Added
8368 javax/imageio/ImageReader.java,
8369 javax/imageio/ImageTranscoder.java,
8370 javax/imageio/ImageWriter.java,
8371 javax/imageio/spi/IIOServiceProvider.java,
8372 javax/imageio/spi/ImageInputStreamSpi.java,
8373 javax/imageio/spi/ImageOutputStreamSpi.java,
8374 javax/imageio/spi/ImageReaderWriterSpi.java,
8375 javax/imageio/spi/ImageTranscoderSpi.java,
8376 javax/imageio/spi/RegisterableService.java,
8377 javax/imageio/spi/ServiceRegistry.java,
8378 javax/imageio/stream/IIOByteBuffer.java,
8379 javax/imageio/stream/ImageInputStream.java and
8380 javax/imageio/stream/ImageOutputStream.java.
8381 * Makefile.in: Regenerated.
8383 2004-04-21 Michael Koch <konqueror@gmx.de>
8385 * java/util/Properties.java
8386 (load): Fix wrongly merged fix.
8388 2004-04-21 Mark Wielaard <mark@klomp.org>
8390 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8391 malloc and free buf.
8393 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8395 * javax/naming/AuthenticationException.java,
8396 javax/naming/AuthenticationNotSupportedException.java,
8397 javax/naming/CannotProceedException.java,
8398 javax/naming/CommunicationException.java,
8399 javax/naming/CompoundName.java,
8400 javax/naming/ConfigurationException.java,
8401 javax/naming/ContextNotEmptyException.java,
8402 javax/naming/InitialContext.java,
8403 javax/naming/InsufficientResourcesException.java,
8404 javax/naming/InterruptedNamingException.java,
8405 javax/naming/LimitExceededException.java,
8406 javax/naming/LinkException.java,
8407 javax/naming/LinkLoopException.java,
8408 javax/naming/LinkRef.java,
8409 javax/naming/MalformedLinkException.java,
8410 javax/naming/Name.java,
8411 javax/naming/NameAlreadyBoundException.java,
8412 javax/naming/NameNotFoundException.java,
8413 javax/naming/NamingSecurityException.java,
8414 javax/naming/NoInitialContextException.java,
8415 javax/naming/NoPermissionException.java,
8416 javax/naming/NotContextException.java,
8417 javax/naming/PartialResultException.java,
8418 javax/naming/ReferralException.java,
8419 javax/naming/ServiceUnavailableException.java,
8420 javax/naming/SizeLimitExceededException.java,
8421 javax/naming/TimeLimitExceededException.java,
8422 javax/naming/directory/Attribute.java,
8423 javax/naming/directory/Attributes.java,
8424 javax/naming/directory/SearchResult.java,
8425 javax/naming/event/NamingExceptionEvent.java,
8426 javax/naming/spi/ResolveResult.java:
8429 2004-04-21 Mark Wielaard <mark@klomp.org>
8431 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8432 Changed C++ comments into C comments. Removed commented out code.
8433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8437 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8441 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8443 * native/jni/gtk-peer/gthread-jni.c:
8446 2004-04-21 Mark Wielaard <mark@klomp.org>
8448 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8449 static fields defined in interface.
8450 * javax/awt/JDialog.java: Likewise.
8451 (JDialog): Make constructors public.
8452 (getDefaultCloseOperation): Make public.
8453 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8454 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8455 * javax/swing/JViewport.java (JViewport): Make constructor public.
8457 2004-04-21 Michael Koch <konqueror@gmx.de>
8459 * java/util/Map.java
8460 (Entry): Removed redundant "static" modifier.
8461 * java/text/AttributedCharacterIterator.java:
8462 Updated copyright year.
8464 2004-04-20 Michael Koch <konqueror@gmx.de>
8466 * javax/naming/directory/SearchControls.java:
8467 Don't explicitely extend java.lang.Object.
8468 * javax/naming/spi/DirStateFactory.java:
8469 Merged copyright year with GNU classpath.
8471 2004-04-20 Michael Koch <konqueror@gmx.de>
8473 * java/nio/channels/Channels.java:
8474 Merged coding style with GNU classpath.
8476 2004-04-20 Michael Koch <konqueror@gmx.de>
8478 * java/net/ServerSocket.java
8479 Merged coding style from GNU classpath.
8481 2004-04-20 Michael Koch <konqueror@gmx.de>
8483 * java/io/BufferedWriter.java:
8484 Reordered variables to be at top of the class.
8485 (localFlush): Removed redundant final keyword.
8487 2004-04-20 Ingo Proetel <proetel@aicas.com>
8489 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8491 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8493 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8494 for percent and permill check.
8496 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8498 * java/text/FieldPosition.java
8499 (FieldPosition) Constructor now behaves as it should according
8500 to the java documentation.
8502 2004-04-20 Mark Wielaard <mark@klomp.org>
8504 * java/util/Properties.java: Use the word umlaut, not ä in api
8507 2004-04-20 Michael Koch <konqueror@gmx.de>
8509 * java/nio/Buffer.java,
8510 java/nio/channels/AlreadyConnectedException.java,
8511 java/nio/channels/AsynchronousCloseException.java,
8512 java/nio/channels/ByteChannel.java,
8513 java/nio/channels/CancelledKeyException.java,
8514 java/nio/channels/Channel.java,
8515 java/nio/channels/Channels.java,
8516 java/nio/channels/ClosedByInterruptException.java,
8517 java/nio/channels/ClosedChannelException.java,
8518 java/nio/channels/ClosedSelectorException.java,
8519 java/nio/channels/ConnectionPendingException.java,
8520 java/nio/channels/DatagramChannel.java,
8521 java/nio/channels/FileChannel.java,
8522 java/nio/channels/FileLock.java,
8523 java/nio/channels/FileLockInterruptionException.java,
8524 java/nio/channels/GatheringByteChannel.java,
8525 java/nio/channels/IllegalBlockingModeException.java,
8526 java/nio/channels/IllegalSelectorException.java,
8527 java/nio/channels/InterruptibleChannel.java,
8528 java/nio/channels/NoConnectionPendingException.java,
8529 java/nio/channels/NonReadableChannelException.java,
8530 java/nio/channels/NonWritableChannelException.java,
8531 java/nio/channels/NotYetBoundException.java,
8532 java/nio/channels/NotYetConnectedException.java,
8533 java/nio/channels/OverlappingFileLockException.java,
8534 java/nio/channels/Pipe.java,
8535 java/nio/channels/ReadableByteChannel.java,
8536 java/nio/channels/ScatteringByteChannel.java,
8537 java/nio/channels/SelectableChannel.java,
8538 java/nio/channels/SelectionKey.java,
8539 java/nio/channels/Selector.java,
8540 java/nio/channels/ServerSocketChannel.java,
8541 java/nio/channels/SocketChannel.java,
8542 java/nio/channels/UnresolvedAddressException.java,
8543 java/nio/channels/UnsupportedAddressTypeException.java,
8544 java/nio/channels/WritableByteChannel.java,
8545 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8546 java/nio/channels/spi/AbstractSelectableChannel.java,
8547 java/nio/channels/spi/AbstractSelectionKey.java,
8548 java/nio/channels/spi/AbstractSelector.java,
8549 java/nio/channels/spi/SelectorProvider.java,
8550 java/nio/charset/spi/CharsetProvider.java:
8551 Fixed javadocs and jalopied all over java.nio.
8553 2004-04-20 Michael Koch <konqueror@gmx.de>
8555 * java/nio/ByteBufferImpl.java,
8556 java/nio/CharBufferImpl.java,
8557 java/nio/DirectByteBufferImpl.java,
8558 java/nio/DoubleBufferImpl.java,
8559 java/nio/DoubleViewBufferImpl.java,
8560 java/nio/FloatBufferImpl.java,
8561 java/nio/FloatViewBufferImpl.java,
8562 java/nio/IntBufferImpl.java,
8563 java/nio/IntViewBufferImpl.java,
8564 java/nio/LongBufferImpl.java,
8565 java/nio/LongViewBufferImpl.java,
8566 java/nio/MappedByteBufferImpl.java,
8567 java/nio/ShortBufferImpl.java,
8568 java/nio/ShortViewBufferImpl.java:
8569 Made sure all classes are final and removed final keyword from all
8572 2004-04-20 Michael Koch <konqueror@gmx.de>
8574 * java/rmi/MarshalledObject.java,
8575 java/rmi/Naming.java,
8576 java/rmi/RemoteException.java,
8577 java/rmi/activation/ActivationException.java,
8578 java/rmi/server/ServerCloneException.java,
8579 java/security/AccessController.java,
8580 java/security/AlgorithmParameterGenerator.java,
8581 java/security/AlgorithmParameters.java,
8582 java/security/CodeSource.java,
8583 java/security/Identity.java,
8584 java/security/IdentityScope.java,
8585 java/security/KeyPairGenerator.java,
8586 java/security/KeyStore.java,
8587 java/security/Security.java,
8588 java/security/Signature.java,
8589 java/security/SignatureSpi.java,
8590 java/security/SignedObject.java,
8591 java/security/spec/DSAParameterSpec.java,
8592 java/security/spec/DSAPrivateKeySpec.java,
8593 java/security/spec/DSAPublicKeySpec.java,
8594 java/sql/Array.java,
8595 java/sql/DatabaseMetaData.java,
8596 java/sql/ResultSet.java,
8597 java/text/ChoiceFormat.java,
8598 java/text/CollationElementIterator.java,
8599 java/text/CollationKey.java,
8600 java/text/Collator.java,
8601 java/text/DateFormat.java,
8602 java/text/DateFormatSymbols.java,
8603 java/text/DecimalFormatSymbols.java,
8604 java/text/Format.java,
8605 java/text/ParsePosition.java,
8606 java/text/RuleBasedCollator.java,
8607 java/text/SimpleDateFormat.java,
8608 java/text/StringCharacterIterator.java,
8609 java/util/Collections.java,
8610 java/util/PropertyResourceBundle.java,
8611 java/util/ResourceBundle.java,
8612 java/util/StringTokenizer.java,
8613 java/util/jar/Attributes.java,
8614 java/util/logging/ConsoleHandler.java,
8615 java/util/logging/LogManager.java,
8616 java/util/logging/MemoryHandler.java,
8617 java/util/logging/SocketHandler.java,
8618 javax/naming/NamingException.java:
8619 Fixed javadoc, coding style and argument names all over.
8621 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8623 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8624 constructor. (valid) Added null check.
8626 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8628 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8629 * java/io/FileOutputStream.java
8630 (FileOutputStream) Reorganized constructors. Constructors now
8631 check whether the given path is directory.
8633 2004-04-20 Michael Koch <konqueror@gmx.de>
8635 * java/net/Authenticator.java,
8636 java/net/BindException.java,
8637 java/net/ConnectException.java,
8638 java/net/ContentHandler.java,
8639 java/net/ContentHandlerFactory.java,
8640 java/net/DatagramPacket.java,
8641 java/net/DatagramSocket.java,
8642 java/net/DatagramSocketImpl.java,
8643 java/net/DatagramSocketImplFactory.java,
8644 java/net/FileNameMap.java,
8645 java/net/HttpURLConnection.java,
8646 java/net/Inet4Address.java,
8647 java/net/Inet6Address.java,
8648 java/net/InetAddress.java,
8649 java/net/InetSocketAddress.java,
8650 java/net/JarURLConnection.java,
8651 java/net/MalformedURLException.java,
8652 java/net/MulticastSocket.java,
8653 java/net/NetPermission.java,
8654 java/net/NetworkInterface.java,
8655 java/net/NoRouteToHostException.java,
8656 java/net/PasswordAuthentication.java,
8657 java/net/PortUnreachableException.java,
8658 java/net/ProtocolException.java,
8659 java/net/ServerSocket.java,
8660 java/net/Socket.java,
8661 java/net/SocketAddress.java,
8662 java/net/SocketException.java,
8663 java/net/SocketImpl.java,
8664 java/net/SocketImplFactory.java,
8665 java/net/SocketOptions.java,
8666 java/net/SocketPermission.java,
8667 java/net/SocketTimeoutException.java,
8669 java/net/URISyntaxException.java,
8671 java/net/URLClassLoader.java,
8672 java/net/URLConnection.java,
8673 java/net/URLDecoder.java,
8674 java/net/URLEncoder.java,
8675 java/net/URLStreamHandler.java,
8676 java/net/URLStreamHandlerFactory.java,
8677 java/net/UnknownHostException.java,
8678 java/net/UnknownServiceException.java:
8679 Fixed javadocs, coding style and argument names all over.
8681 2004-04-20 Michael Koch <konqueror@gmx.de>
8683 * java/lang/Byte.java,
8684 java/lang/CharSequence.java,
8685 java/lang/ClassLoader.java,
8686 java/lang/Compiler.java,
8687 java/lang/Double.java,
8688 java/lang/Float.java,
8689 java/lang/Integer.java,
8690 java/lang/Long.java,
8691 java/lang/Math.java,
8692 java/lang/Number.java,
8693 java/lang/Package.java,
8694 java/lang/Runtime.java,
8695 java/lang/RuntimePermission.java,
8696 java/lang/SecurityManager.java,
8697 java/lang/Short.java,
8698 java/lang/StringBuffer.java,
8699 java/lang/System.java,
8700 java/lang/ThreadGroup.java,
8701 java/lang/Throwable.java,
8702 java/lang/reflect/InvocationHandler.java,
8703 java/lang/reflect/Proxy.java:
8704 Fixed javadocs, coding style and argument names all over.
8706 2004-04-20 Michael Koch <konqueror@gmx.de>
8708 * java/io/BufferedWriter.java,
8709 java/io/ByteArrayInputStream.java,
8710 java/io/CharArrayWriter.java,
8711 java/io/DataInput.java,
8712 java/io/DataInputStream.java,
8714 java/io/FilterInputStream.java,
8715 java/io/InputStream.java,
8716 java/io/InputStreamReader.java,
8717 java/io/ObjectInputStream.java,
8718 java/io/ObjectStreamClass.java,
8719 java/io/PipedInputStream.java,
8720 java/io/PipedReader.java,
8721 java/io/PushbackInputStream.java,
8722 java/io/PushbackReader.java,
8723 java/io/RandomAccessFile.java,
8724 java/io/SerializablePermission.java,
8725 java/io/StreamTokenizer.java,
8726 java/io/StringWriter.java,
8727 java/io/WriteAbortedException.java,
8728 java/io/Writer.java:
8729 Fixed javadocs all over, rename arguments to match javadocs,
8732 2004-04-20 Ingo Proetel <proetel@aicas.com>
8734 * java/awt/FontMetrics.java:
8735 (charsWidth): fixed accumulation of total_width
8736 (getWidth): simple default implementation
8737 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8738 in Rectangle constructor.
8739 * java/awt/image/Raster.java (toString): Added method.
8740 * java/awt/image/SampleModel.java (<init>): Added error cause
8741 information to thrown exception.
8742 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8744 (setDataElements): New method.
8745 (setPixels): New method.
8746 (toString): New method.
8748 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8750 * java/awt/image/ComponentColorModel.java
8751 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8752 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8753 Mauve tests on this method. Improved documentation.
8755 2004-04-20 Michael Koch <konqueror@gmx.de>
8757 * javax/swing/JLayeredPane.java,
8758 javax/swing/plaf/BorderUIResource.java,
8759 javax/swing/plaf/ComponentUI.java,
8760 javax/swing/undo/CompoundEdit.java,
8761 javax/swing/undo/StateEdit.java:
8762 Fixed HTML tags in javadocs all over.
8764 2004-04-20 Michael Koch <konqueror@gmx.de>
8766 * javax/print/attribute/EnumSyntax.java
8767 (getOffset): Made protected.
8768 * javax/print/attribute/HashAttributeSet.java
8769 (HashAttributeSet): Likewise.
8770 * javax/print/attribute/ResolutionSyntax.java
8771 (getFeedResolution): Fixed typo in exception name.
8772 (getCrossFeedResolution): Likewise.
8773 * javax/print/attribute/SetOfIntegerSyntax.java
8774 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8775 * javax/print/attribute/TextSyntax.java
8776 (TextSyntax): Handle locale correctly.
8777 (hashCode): Calc better hashcode value.
8778 (equals): Fixed @return tag.
8779 (toString): New method.
8781 2004-04-20 Michael Koch <konqueror@gmx.de>
8783 * gnu/java/nio/FileLockImpl.java
8784 (static): Removed, not needed anymore.
8785 * gnu/java/nio/channels/FileChannelImpl.java
8786 (FileChannelImpl): Made final.
8787 (mode): Made private.
8788 (READ, WRITE, APPEND): Made public.
8789 (EXCL, SYNC, DSYNC): Likewise.
8790 (static): Load native JNI library, when needed.
8791 (length): Unused, removed.
8792 (available): Made public.
8793 (implPosition): Throws IOException.
8795 (implTruncate): Likewise.
8799 2004-04-20 Michael Koch <konqueror@gmx.de>
8801 * java/awt/AWTPermission.java,
8802 java/awt/Component.java,
8803 java/awt/ComponentOrientation.java,,
8804 java/awt/Dialog.java,
8805 java/awt/FontMetrics.java,
8806 java/awt/Graphics.java,
8807 java/awt/datatransfer/DataFlavor.java,
8808 java/beans/Introspector.java,
8809 java/beans/PropertyEditor.java,
8810 java/beans/PropertyEditorManager.java,
8811 java/beans/beancontext/BeanContextServiceProvider.java:
8812 Fixed HTML tags in javadocs all over.
8814 2004-04-20 Mark Wielaard <mark@klomp.org>
8816 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8817 MissingResourceException is thrown.
8818 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8819 null when a MissingResourceException is thrown. Should never happen.
8821 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8823 * java/awt/image/DataBufferShort.java,
8824 java/awt/image/DataBufferFloat.java,
8825 java/awt/image/DataBufferDouble.java,
8826 java/awt/image/PixelInterleavedSampleModel.java: New files.
8827 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8828 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8830 2004-04-20 Michael Koch <konqueror@gmx.de>
8832 * Makefile.am (java_source_files): Added
8833 java/awt/image/DataBufferDouble.java,
8834 java/awt/image/DataBufferFloat.java,
8835 java/awt/image/DataBufferShort.java and
8836 java/awt/image/PixelInterleavedSampleModel.java.
8837 * Makefile.in: Regenerated.
8839 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8841 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8842 undocumented CNI calls.
8843 * include/java-interp.h (_Jv_InterpClass): No longer
8844 extends java.lang.Class.
8845 * java/lang/Class.h (Class): Add new field `aux_info'.
8846 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8847 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8848 Use Class->aux_info instead.
8849 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8850 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8851 Use Class->aux_info instead.
8852 * java/io/natObjectInputStream.cc (allocateObject): Use
8854 * java/lang/natClass.cc (newInstance): Likewise.
8855 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8856 * java/lang/natObject.cc (clone): Likewise.
8857 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8858 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8859 JvAllocObject. Allocate klass->aux_info here for interpreted
8862 2004-04-17 Mark Wielaard <mark@klomp.org>
8864 * javax/swing/JToggleButton.java (ToggleButtonModel):
8865 Make public static inner class.
8866 * javax/swing/JTabbedPane.java (setComponentAt):
8867 Call Page.setComponent().
8868 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8869 (WRAP_TAB_LAYOUT): Make public, value is 0.
8870 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8871 Make private static inner class.
8873 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8875 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8876 arguments to match new signature. Remove FIXME comments.
8878 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8880 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8885 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8887 * Makefile.am: Added new file.
8888 * Makefile.in: Regenerate.
8889 * javax/swing/ImageIcon.java:
8890 (ImageIcon(file)): set description of the icon
8892 * javax/swing/JCheckBoxMenuItem.java:
8893 Mostly Implemented. Work in progress.
8894 * javax/swing/JRadioButtonMenuItem.java:
8895 Reimplement constructors to use JToggleButtonModel.
8896 * javax/swing/plaf/basic/BasicIconFactory.java:
8897 (getCheckBoxMenuItemIcon): return check box
8899 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8900 paint menu item selected only when it is armed and
8903 2004-04-02 David Jee <djee@redhat.com>
8905 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8906 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8907 * java/awt/Component.java
8908 (add): Set the parent of the popup as this component.
8909 * java/awt/PopupMenu.java
8910 (addNotify): Create popup menu when peer is null.
8911 (show): Call addNotify() if peer is null.
8912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8913 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8914 argument for gtk_menu_popup() as zero. This causes the popup menu to
8915 respond to any mouse button.
8917 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8919 * Makefile.am: Added new file.
8920 * Makefile.in: Regenerate.
8921 * javax/swing/JRadioButtonMenuItem.java:
8923 * javax/swing/plaf/basic/BasicIconFactory.java:
8924 (getRadioButtonMenuItemIcon): Return
8926 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8927 (getPreferredSize): Add size of checkIcon if it
8929 (installDefaults): Don't initialize checkIcon.
8930 It's value will be set in subclasses.
8931 (uninstallDefaults): remove uninstallation of
8933 (paint): Moved code to paintMenuItem().
8934 (paintMenuItem): Implemented.
8935 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8936 UI delegate for JRadioButtonMenuItem.
8938 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8940 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8941 Corrected position of the accelerator.
8943 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8945 * Makefile.am: Added new file.
8946 * Makefile.in: Regenerate.
8947 * javax/swing/JMenuItem.java: Partly
8948 implemented. Work in progress
8949 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8950 Changed default value of acceleratorDelimiter.
8951 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8952 New class. Partly implemented.
8954 2004-03-26 Mark Wielaard <mark@klomp.org>
8956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8957 (item_activate): Declare label before use.
8958 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8959 (gtkSetFont): Removed unused variable label.
8960 (addExposeFilter): Declare variables before use.
8961 (removeExposeFilter): Likewise.
8962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8963 (ok_clicked): Declare str_fileName before use.
8965 2004-03-26 David Jee <djee@redhat.com>
8967 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8968 (addSeparator): Remove.
8969 * java/awt/Menu.java
8970 (separator): Remove static final MenuItem field.
8971 (separatorLabel): New static final String field.
8972 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8973 Use separatorLabel to denote that it is a separator.
8974 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8975 of reusing the static separator instance, because a MenuItem instance
8976 can't be added more than once without being cloned.
8977 * java/awt/peer/MenuPeer.java
8978 (addSeparator): Remove from interface.
8980 2004-03-26 David Jee <djee@redhat.com>
8982 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8983 (connectSignals): New native method declaration.
8984 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8985 * java/awt/MenuItem.java
8986 (getActionCommand): Return the label if the action command is not set.
8987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8988 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8989 gtk_menu_shell_append().
8990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8991 (item_activate): Fix argument type.
8992 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8994 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8996 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8997 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8998 given. Add the menu widget's top-level GtkWindow to the global window
8999 group, so it can grab the pointer.
9000 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9001 gtk_menu_shell_append().
9003 2004-03-23 Graydon Hoare <graydon@redhat.com>
9005 * java/text/AttributedString.java
9006 (addAttribute): Fix off-by-one.
9007 (getIterator): Likewise.
9008 * java/text/AttributedStringIterator.java
9009 (getRunLimit): Correct logic.
9010 (getRunStart): Likewise.
9011 (getAttribute): Fix inequality.
9012 (getAttributes): Likewise.
9013 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9015 2004-03-23 Kim Ho <kho@redhat.com>
9017 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9018 (calculateSizes): Return real width and height.
9020 2004-03-23 Kim Ho <kho@redhat.com>
9022 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9023 (calculateTabRects): Set the selectedRun before
9024 trying to rotate tabs.
9026 2004-03-23 Kim Ho <kho@redhat.com>
9028 * Makefile.am: New file
9029 * Makefile.in: Regenerate
9030 * java/awt/Graphics.java: (drawRect):
9031 Draw to the correct point.
9032 * javax/swing/DefaultSingleSelectionModel.java
9033 (isSelected): Return true if the selected index
9035 * javax/swing/JLabel.java: Do not change mnemonic
9036 index if text is null.
9037 * javax/swing/JProgressBar.java: Use JComponent's
9039 * javax/swing/JScrollBar.java: Ditto.
9040 * javax/swing/JSlider.java: Ditto.
9041 * javax/swing/JTabbedPane.java: Reimplement.
9042 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9043 Add defaults for TabbedPane.
9044 * javax/swing/plaf/basic/BasicArrowButton.java:
9046 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9047 (paintDeterminate): Don't paint String if it's
9049 (paintIndeterminate): ditto.
9050 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9053 2004-03-19 Michael Koch <konqueror@gmx.de>
9055 * java/awt/image/AffineTransformOp.java
9056 (AffineTransformOp): Made public.
9057 * javax/swing/JComponent.java
9058 (listenerList): Made protected.
9059 (accessibleContext): Likewise.
9060 * javax/swing/JList.java
9061 (valueChanged): Dont use internal fields of ListSelectionEvent.
9062 * javax/swing/JViewport.java
9063 (getView): Dont use internal fields of Component.
9064 (addImpl): Likewise.
9065 * javax/swing/Timer.java
9066 (isRunning): Made public.
9069 * javax/swing/UIDefaults.java
9070 (getInt): Made public.
9071 * javax/swing/plaf/basic/BasicListUI.java
9072 (mousePressed): Dont use internal fields of MouseEvent.
9073 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9074 * javax/swing/plaf/basic/BasicScrollBarUI.java
9075 (arrowIcon): Made static.
9076 * javax/swing/plaf/basic/BasicViewportUI.java
9077 (stateChanged): Dont use internal field on ChangeEvent.
9078 * javax/swing/text/JTextComponent.java
9079 (getUI): Call UIManager.getUI().
9080 (updateUI): Use getUI().
9082 2004-03-19 Graydon Hoare <graydon@redhat.com>
9084 * javax/swing/JComponent.java: Turn off double buffer by default.
9085 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9087 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9088 Use cairo to copy areas.
9089 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9090 Initialize and set clip region.
9092 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9094 * java/applet/Applet.java (preferredSize): Override deprecated
9095 variant of getPreferredSize.
9096 (minimumSize): Override deprecated variant of getMinimumSize.
9098 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9100 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9101 (drawImage(img,xform,bgcolor,obs)): New Method.
9102 Helper function that every drawImage method will
9104 (drawRaster): Added new parameter, bgcolor. All
9105 transparent pixels are changed to bgcolor before
9107 (drawRenderedImage): Fixed to use changed drawRaster().
9108 (drawImage(image,xform,obs): Fixed to use new helper function
9109 (drawImage(image,op,x,y)): Ditto.
9110 (drawImage (img,x,y,observer)): Ditto.
9111 ((PainterThread) bgcolor): New Field.
9112 ((PainterThread) (setPixels)): Changed all transparent pixels
9114 (drawImage(img,x,y,width,height,bgcolor,observer)):
9115 Fixed FIXME - all the transparent pixels are
9116 changed to the specified bgcolor.
9117 (drawImage(img, x, y, width, height, observer): Changed to
9119 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9120 Fixed FIXME- changed all transparent pixels to bgcolor.
9121 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9122 Changed to use function above.
9124 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9126 * java/applet/Applet.java (dimensions): New field.
9127 (getDimensions): New method.
9128 (getPreferredSize): Call getDimensions.
9129 (getMinimumSize): Likewise.
9131 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9133 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9134 * jni/classpath/jnilink.c: Likewise.
9136 * java/applet/Applet.java (getPreferredSize): New method.
9137 (getMinimumSize): New method.
9139 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9141 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9142 (_Jv_AllocObjectNoFinalizer): Likewise.
9143 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9144 (_Jv_AllocPtrFreeObject): Likewise.
9145 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9146 directly even in the JVMPI case.
9147 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9148 _Jv_AllocObject calls.
9149 * gcj/javaprims.h: Update prototypes.
9150 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9151 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9152 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9154 2004-04-14 Andrew Haley <aph@redhat.com>
9155 Bryce McKinlay <mckinlay@redhat.com>
9157 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9158 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9159 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9161 * testsuite/libjava.lang/InvokeInterface.java: New file.
9162 * testsuite/libjava.lang/InvokeInterface.out: New file.
9164 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9166 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9168 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9169 StackTraceElement directly.
9170 (newElement): New native helper method to create StackTraceElement
9171 bypassing Java access control.
9172 (createStackTraceElement): Use newElement() instead of directly
9173 calling StackTraceElement's constructor.
9174 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9176 2004-04-01 Michael Koch <konqueror@gmx.de>
9178 * java/lang/SecurityManager.java
9179 (checkAwtEventQueueAccess): Implemented.
9181 2004-04-01 Gary Benson <gbenson@redhat.com>
9183 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9184 (_Jv_SearchMethodInClass): Likewise.
9186 2004-03-26 Peter Moon <peterm@miraculum.com>
9188 * java/text/NumberFormat.java: Fix spelling of setCurrency
9191 2004-03-21 Anthony Green <green@redhat.com>
9193 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9194 recursion when searching for the system ClassLoader.
9196 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9198 * java/net/ServerSocket.java
9199 (accept): Close the socket when error occured.
9201 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9203 * java/net/URI.java (parseURI): Added unquoting.
9204 (unquote): New method.
9205 (quoteAuthority): Implemented.
9206 (quote(String,String)): New method.
9207 (quotePath): Implemented.
9208 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9209 (getSchemeSpecificPart): Removed FIXME comment.
9210 (getRawAuthority): Return new rawAuthority field.
9211 (getAuthority): Removed FIXME comment.
9212 (getRawUserInfo): Return new rawUserInfo field.
9213 (getUserInfo): Removed FIXME comment.
9214 (getRawPath): Return new rawPath field.
9215 (getPath): Removed FIXME comment.
9216 (getRawQuery): Return new rawQuery field.
9217 (getQuery): Removed FIXME comment.
9218 (getRawFragment): Return new rawFragment field.
9219 (getFragment): Removed FIXME comment.
9221 2004-03-20 Michael Koch <konqueror@gmx.de>
9223 * java/net/URLConnection.java: Merged copyright year with classpath.
9225 2004-03-20 Norbert Frese <postfach@nfrese.net>
9227 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9228 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9229 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9231 (getObjectInputStream): Return object reference, throw IOException if null.
9232 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9233 (getObjectOutputStream): Return object reference, throw IOException if null.
9234 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9235 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9236 (UnicastConnectionManager): Throw RemoteException if port is not available.
9237 (getInstance): Throw RemoteException.
9238 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9239 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9240 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9241 Collect Exceptions which are returned by a rmi-call and fix void returns.
9242 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9243 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9244 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9245 (dispatch): Answer ping messages which are sent by other java implementions.
9246 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9247 for every rmi-message and fix void return problems.
9248 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9249 (UnicastServerRef): Throw RemoteException.
9250 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9251 In some situations it is necessary to export a subclass of the class which has the _Stub.
9252 For instance when the class with has the _Stub is abstract.
9253 (findStubSkelClass): New method which looks for the class which has the _Stub.
9254 (getClientHost): Implementated.
9255 * gcc/libjava/java/rmi/server/RemoteServer.java
9256 (getClientHost): Implementated.
9257 * gcc/libjava/Makefile.am (rmi_java_source_files):
9258 Added gnu/java/rmi/server/RMIIncomingThread.java.
9259 * Makefile.in: Regenerated.
9261 2004-03-20 Michael Koch <konqueror@gmx.de>
9263 * java/net/InetAddress.java
9264 (getLocalHostname): Added javadoc.
9266 2004-03-19 Per Bothner <per@bothner.com>
9268 * configure.in: FILE variable overrides FLATFORM when linking
9269 natFileChannelXXX.cc.
9271 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9272 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9274 2004-03-19 Per Bothner <per@bothner.com>
9276 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9277 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9278 * Makefile.am: Update accordingly.
9279 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9280 as aliases for UnicodeLittle and UnicodeBig.
9282 2004-03-20 Mark Wielaard <mark@klomp.org>
9284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9285 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9286 Don't access ws when it is null.
9287 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9290 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9292 * java/lang/ThreadGroup.java (list): Changed print to println.
9294 2004-03-19 Mark Wielaard <mark@klomp.org>
9296 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
9299 2004-02-10 Randolph Chung <tausq@debian.org>
9301 * configure.in: Build java for hppa target.
9302 * configure: Regenerate.
9303 * libjava/configure.host (hppa-*): Add target.
9304 * libjava/sysdeps/pa/lock.h: New file.
9306 2004-03-19 Mark Wielaard <mark@klomp.org>
9308 Reported by Stephen Crawley
9309 * java/io/FilePermission.java (implies): Use String.length() -1 to
9310 access last char of String.
9312 2004-03-19 Michael Koch <konqueror@gmx.de>
9314 * java/awt/image/AffineTransformOp.java
9315 (AffineTransformOp): Made public.
9316 * javax/swing/JComponent.java
9317 (listenerList): Made protected.
9318 (accessibleContext): Likewise.
9319 * javax/swing/JList.java
9320 (valueChanged): Dont use internal fields of ListSelectionEvent.
9321 * javax/swing/JViewport.java
9322 (getView): Dont use internal fields of Component.
9323 (addImpl): Likewise.
9324 * javax/swing/Timer.java
9325 (isRunning): Made public.
9328 * javax/swing/UIDefaults.java
9329 (getInt): Made public.
9330 * javax/swing/plaf/basic/BasicListUI.java
9331 (mousePressed): Dont use internal fields of MouseEvent.
9332 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9333 * javax/swing/plaf/basic/BasicScrollBarUI.java
9334 (arrowIcon): Made static.
9335 * javax/swing/plaf/basic/BasicViewportUI.java
9336 (stateChanged): Dont use internal field on ChangeEvent.
9337 * javax/swing/text/JTextComponent.java
9338 (getUI): Call UIManager.getUI().
9339 (updateUI): Use getUI().
9341 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9343 * verify.cc: Undef PC.
9345 2004-03-18 Michael Koch <konqueror@gmx.de>
9347 * java/nio/channels/spi/AbstractSelectableChannel.java
9348 (keys): Initialize at declaration.
9349 (locate): keys cant be null.
9351 (addSelectionKey): New method.
9352 (removeSelectionKey): New method.
9353 * java/nio/channels/spi/AbstractSelectionKey.java
9354 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9355 * java/nio/channels/spi/AbstractSelector.java
9356 (provider): Javadoc added.
9357 (cancelledKeys): Javadoc added.
9358 (cancelKey): Javadoc added, add key to cancelledKeys.
9359 (deregister): Implemented.
9361 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9363 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9364 MAP_FAILED to void *.
9366 2004-03-12 Graydon Hoare <graydon@redhat.com>
9368 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9369 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9370 * javax/swing/JList.java (ListListener): Revalidate on changes.
9371 * javax/swing/JScrollPane.java: Reimplement.
9372 * javax/swing/JViewport.java: Reimplement.
9373 * javax/swing/ScrollPaneLayout.java: Reimplement.
9374 * javax/swing/ViewportLayout.java: Tidy up.
9375 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9376 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9377 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9378 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9381 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9384 (window_wm_protocols_filter): New function.
9385 (window_focus_in_cb): Remove function.
9386 (window_focus_out_cb): Likewise.
9387 (window_focus_or_active_state_change_cb): New function.
9388 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9389 (connectSignals): Don't attach handlers to focus-in-event or
9390 focus-out-event signals. Handle notify signal.
9392 2004-03-11 David Jee <djee@redhat.com>
9394 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9395 (gtkSetLabel): New native method declaration.
9396 (setLabel): Use gtkSetLabel.
9397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9398 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9400 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9402 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9403 black when color argument is null.
9405 2004-03-10 Kim Ho <kho@redhat.com>
9407 * java/awt/Container.java: Remove check
9410 2004-03-10 Kim Ho <kho@redhat.com>
9412 * java/awt/Container.java: (visitChild):
9413 Remove candidate clip. Use the component
9415 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9416 (handleEvent): Use the PaintEvent's clip.
9418 2004-03-10 Kim Ho <kho@redhat.com>
9420 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9421 (handleEvent): Don't set the clip for the
9424 2004-03-09 Graydon Hoare <graydon@redhat.com>
9426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9427 Fix double <-> fixed macros, reset font transform.
9428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9431 2004-03-09Â Kim Ho <kho@redhat.com>
9433 * java/awt/Container.java: (visitChild): Move
9434 the x and y coordinate of the component rectangle
9435 to correct position.
9436 (handleEvent): Forward drag events to the pressed
9438 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9440 (ArrowButtonListener::mousePressed): Stop the
9442 (mouseDragged): Implement.
9443 (TrackListener::mousePressed): Only react if
9444 the press doesn't occur on the thumb, otherwise
9445 just set the offset.
9446 (TrackListener::mouseReleased): Unset the isAdjusting
9448 (createIncreaseIcon): Switch icon.
9449 (createDecreaseIcon): Switch icon.
9450 (calculatePreferredSize): Use width.
9451 (getThumbBounds): Use the top as the lower value.
9452 (layoutVScrollBar): Switch the button locations.
9453 (paintIncreaseHighlight): Paint correct side of thumb.
9454 (paintDecreaseHighlight): ditto.
9455 (valueForYPosition): Use top as the lower value.
9456 * javax/swing/plaf/basic/BasicSliderUI.java:
9458 (mouseDragged): Implement.
9459 (mousePressed): Only react when the thumb isn't
9460 pressed, otherwise just set offset.
9461 (mouseReleased): Handle a release of the thumb.
9462 (scrollDueToClickInTrack): Stop the timer first.
9463 * javax/swing/JProgressBar.java:
9464 (setString): Fix change condition.
9465 * javax/swing/JSeparator.java:
9468 2004-03-08 David Jee <djee@redhat.com>
9470 * java/awt/image/AffineTransformOp.java:
9471 (filter): Use Graphics2D interface instead of directly using the
9474 2004-03-05 David Jee <djee@redhat.com>
9476 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9477 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9478 * java/awt/Container.java
9479 (acquireComponentForMouseEvent): Fixed.
9480 (handleEvent): Fixed.
9481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9482 (state_to_awt_mods_with_button_states): New method.
9483 (pre_event_handler): Fixed mouse event generation.
9485 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9487 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9488 (GdkGraphics2D (BufferedImage)): Initialize
9489 pixmap associated with specified BufferedImage.
9490 (setPaint): Changed implementation of Texture
9491 Paint to use AffineTransformOp.
9492 * java/awt/image/AffineTransformOp.java
9493 (createCompatibleDestRaster): Throw RasterFormatException
9494 if resulting width or height of raster is 0.
9496 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9498 * java/awt/image/AffineTransformOp.java:
9499 Removed unnecessary field interpolationType.
9500 Formatted some of the lines to be consistent with
9502 (AffineTransformOp): Create new RenderingHints
9503 containing specified interpolation type.
9504 (createCompatibleDestImage): Implemented.
9505 (createCompatibleDestRaster): Implemented.
9506 (filter): Implemented.
9507 (getBounds2D(BufferedImage)): Implemented.
9508 (getBounds2D(Raster)): Implemented.
9509 (getInterpolationType): Get interpolation value from
9512 2004-03-04 David Jee <djee@redhat.com>
9514 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9515 (setFont): Check if child peers are null.
9517 2004-03-04 Graydon Hoare <graydon@redhat.com>
9519 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9521 (libjava_arguments): Add new libraries to argument list.
9523 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9525 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9526 * Makefile.in: Re-generated.
9527 * java/awt/image/AffineTransformOp.java: New Class.
9529 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9531 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9532 (setPaint): Interpret correctly TexturePaint's
9534 (drawImage): Fixed scale factors of the affine
9537 2004-02-27 David Jee <djee@redhat.com>
9539 * gnu/java/awt/peer/gtk/GdkGraphics.java
9540 (GdkGraphics(Component)): Inherit font from component.
9541 (drawString): Use font style.
9542 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9543 (gtkSetFont): New native method declaration.
9544 (setFont): New method.
9545 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9546 (gtkSetFont): New native method declaration.
9547 (setFont): Call new native method gtkSetFont.
9548 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9549 (setFont): For all child components who do not their fonts set,
9550 set their peers' fonts with this container's font.
9551 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9552 Move all native method declarations to the top for readability.
9553 (gtkSetFont): New native method declaration.
9554 (setFont): New method.
9555 * java/awt/Component.java
9556 (setFont): Invalidate after setting the font.
9557 * java/awt/Container.java
9558 (invalidateTree): New method.
9559 (setFont): Invalidate the container tree after setting the font.
9560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9561 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9563 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9565 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9567 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9569 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9571 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9572 (updateBufferedImage): New helper function.
9573 Updates BufferedImage in memory if it was changed.
9574 (draw): changed to update BufferedImage in memory after
9575 this drawing operation
9577 (draw3DRect): Ditto.
9578 (fill3DRect): Ditto.
9580 (drawRaster): Ditto.
9581 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9582 no affine transformation.
9583 (drawGlyphVector): Ditto.
9585 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9587 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9588 (isBufferedImageGraphics): New Helper function.
9589 Returns true if this graphics2d can be used to draw
9590 into buffered image and false otherwise.
9591 (updateImagePixels): New Helper function.
9592 Updates pixels in the BufferedImage.
9593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9594 (getImagePixels): New function. Returns pixels
9595 of the buffered image associated with
9598 2004-02-26 David Jee <djee@redhat.com>
9600 * java/awt/BorderLayout.java
9601 (layoutContainer): Fix width and height calculations to ensure
9602 that they're non-negative.
9603 * java/awt/Component.java
9604 (setBackground): If c is null, inherit from closest ancestor whose
9605 background color is set.
9607 2004-02-26 Kim Ho <kho@redhat.com>
9609 * Makefile.am: Add new files.
9610 * Makefile.in: Re-generate.
9611 * javax/swing/JProgressBar.java:
9612 (JProgressBar(int, int int)): Throw
9613 IllegalArgumentException if orientation is
9615 (JProgressBar(BoundedRangeModel)): Create
9616 ChangeListener and register it. UpdateUI.
9617 (getChangeListeners): Implement.
9618 (setModel): Reset ChangeListener.
9619 * javax/swing/JScrollBar.java: Implement.
9620 * javax/swing/JSeparator.java: Implement.
9621 * javax/swing/JSlider.java:
9622 (JSlider(int, int, int, int)): Throw
9623 IllegalArgumentException if orientation
9625 (getChangeListeners): Fix method name.
9626 * javax/swing/SwingUtilities.java:
9627 (layoutCompoundLabel): If there is no text,
9628 set the text rectangle dimensions to 0.
9629 * javax/swing/plaf/basic/BasicButtonUI.java:
9630 (paint): If there is no text, don't paint it.
9631 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9633 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9635 * javax/swing/plaf/basic/BasicSliderUI.java:
9636 (propertyChange): If the model changes, change
9637 the listeners accordingly.
9639 2004-02-25 Graydon Hoare <graydon@redhat.com>
9641 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9642 * javax/swing/JList.java: Reimplement.
9643 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9644 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9645 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9646 * javax/swing/ListModel.java: Javadoc.
9647 * javax/swing/ListSelectionModel.java: Add missing methods.
9648 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9649 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9650 * javax/swing/ListModel.java: Javadoc and corrections.
9651 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9653 2004-02-25 David Jee <djee@redhat.com>
9655 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9656 (GtkFontPeer): Change default size to 12.
9657 * gnu/java/awt/peer/gtk/GtkToolkit.java
9658 (getFontPeer): Change default size to 12.
9659 (getClasspathFontPeer): Likewise. Set default name to "Default".
9660 * java/awt/Font.java
9661 (Font(Map)): Call Font(String,Map).
9662 (Font(String,Map)): If attrs is null, initialize it as an empty
9663 HashMap, which will ensure that the Font will get default attributes.
9665 2004-02-25 David Jee <djee@redhat.com>
9667 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9668 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9669 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9670 * gnu/java/awt/peer/gtk/GtkToolkit.java
9671 (getFontPeer(String,int)): Call the new overload method with size 1.
9672 (getFontPeer(String,int,int)): New method. Overloaded with size
9674 (getClasspathFontPeer): Set the size of the font.
9676 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9678 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9679 (bimage): New field.
9680 (GdkGraphics2D): New Constructor. Constructs Graphics
9681 object that can be used to draw into the Buffered Image.
9682 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9683 (GdkGraphicsEnvironment): Fixed to include public
9685 (createGraphics): Implemented.
9686 * gnu/java/awt/peer/gtk/GtkToolkit.java
9687 (getLocalGraphicsEnvironment): Implemented.
9688 * java/awt/GraphicsEnvironment.java:
9689 (getLocalGraphicsEnvironment): Implemented.
9690 * java/awt/image/BufferedImage.java:
9691 (createGraphics): Implemented.
9693 2004-02-24 David Jee <djee@redhat.com>
9695 * java/awt/Component.java
9696 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9697 * java/awt/Container.java
9698 (addNotifyContainerChildren): Fix event enabling.
9700 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9702 * Makefile.am: Added
9703 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9704 * Makefile.in: Re-generated.
9705 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9708 2004-02-19 Kim Ho <kho@redhat.com>
9710 * Makefile.am: Add BasicProgressBarUI
9711 * Makefile.in: Regenerate.
9712 * javax/swing/JProgressBar.java:
9714 * javax/swing/plaf/basic/BasicLookAndFeel.java
9715 Add constants for JProgressBar.
9716 * javax/swing/plaf/basic/BasicProgressBarUI.java
9718 * javax/swing/plaf/basic/BasicSliderUI.java
9720 (calculateGeometry): New method
9721 (paint): Remove unnecessary size calculations.
9723 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9725 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9726 (drawRaster): Fixed small error that caused
9727 imageToUser transformation to be set incorrectly.
9728 (toString): Implemented.
9730 2004-02-18 David Jee <djee@redhat.com>
9732 * java/awt/CardLayout.java
9733 (addLayoutComponent): Show the first component added as the default.
9734 (removeLayoutComponent): After removing, show the next component.
9735 (gotoComponent): If there is only one component, show it and return.
9737 2004-02-18 Kim Ho <kho@redhat.com>
9739 * javax/swing/JSlider.java: Re-order
9741 * javax/swing/JLabel.java: Re-order
9743 * javax/swing/JComponent.java:
9744 (addPropertyChangeListener):
9746 (removePropertyChangeListener):
9748 (firePropertyChangeEvent):
9751 2004-02-17 David Jee <djee@redhat.com>
9753 * java/awt/Component.java
9754 (show): Dispatch ComponentEvent via system event queue.
9758 (reshape): Likewise.
9759 * java/awt/Window.java
9760 (setBoundsCallback): Likewise.
9762 2004-02-17 David Jee <djee@redhat.com>
9764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9765 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9766 Use gtk_widget_set_size_request() instead of the deprecated
9767 gtk_widget_set_usize().
9769 2004-02-17 Kim Ho <kho@redhat.com>
9771 * javax/swing/JSlider.java: Fix comments and
9772 make property strings constants.
9773 (createStandardLabels): Use the labels
9774 preferred size as bounds.
9775 * javax/swing/plaf/basic/BasicSliderUI.java
9777 (ScrollHandler::actionPerformed): Don't
9778 calculate the timer stop value. Let the
9779 MouseListeners find the stop location.
9780 (getPreferredHorizontalSize): Re-implement.
9781 (getPreferredVerticalSize): ditto.
9782 (getMinimumHorizontalSize): ditto.
9783 (getMinimumVerticalSize): ditto.
9784 (getPreferredSize): ditto.
9785 (getMinimumSize): ditto.
9786 (getMaximumSize): ditto.
9787 (paintTicks): Use doubles to find the
9789 (paintHorizontalLabel):Â Use preferredSize
9790 as initial width and height.
9791 (paintVerticalLabel): ditto.
9793 2004-02-17 Kim Ho <kho@redhat.com>
9795 * javax/swing/JLabel.java: Changed
9796 property strings to constants.
9797 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9799 (setText): Change mnemonic index if
9801 (setDisplayedMnemonicIndex): Fire property
9803 (getDisplayedMnemonicIndex): Remove check
9806 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9808 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9809 (drawImage(img,xform,obs)): Invert xform before
9810 passing the xform to cairo.
9811 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9812 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9814 (drawImage (img,x,y,w,h,obs)): Implemented.
9815 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9816 bgcolor,obs)): Partly implemented.
9817 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9819 * java/awt/image/BufferedImage.java:
9820 (copyData): if dest is null, create raster with same
9821 dimensions as the current image.
9823 2004-02-16 Graydon Hoare <graydon@redhat.com>
9825 * javax/swing/plaf/basic/BasicLabelUI.java
9826 (getPreferredSize): Use layoutCL.
9827 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9828 (getPreferredButtonSize): Start with empty view rect, layout using
9829 component's preferred alignment.
9830 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9833 2004-02-16 David Jee <djee@redhat.com>
9835 * java/awt/Component.java
9836 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9837 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9838 (move): Erase old bounds and repaint new bounds. Dispatch
9839 COMPONENT_MOVED ComponentEvent.
9840 (resize): Erase old bounds and repaint new bounds. Dispatch
9841 COMPONENT_RESIZED ComponentEvent.
9842 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9844 * java/awt/Window.java
9845 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9848 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9850 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9851 (setRenderingHint): Added implementation of
9852 Interpolation rendering hints.
9853 (setRenderingHints): Ditto.
9854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9855 (drawPixels): fixed to allow user to choose type
9856 of filtering that should be used when displaying images.
9857 (cairoSurfaceSetFilter): New method. Sets filter type for
9858 interpolation of pixel values.
9860 2004-02-16 David Jee <djee@redhat.com>
9862 * java/awt/GridBagLayout.java
9863 (calcCellSizes): Rows or columns with zero sizes should still be
9864 considered for extra space distribution.
9866 2004-02-16 Kim Ho <kho@redhat.com>
9868 * javax/swing/JLabel.java: Re-implement.
9869 * javax/swing/plaf/basic/BasicLabelUI.java
9871 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9874 2004-02-16 Kim Ho <kho@redhat.com>
9876 * javax/swing/JSlider.java: Fix indentation and comments.
9877 (setModel): Remove null check to conform with Sun's.
9878 (setOrientation): Throw exception if not
9879 HORIZONTAL or VERTICAL.
9880 (getInverted): Use private variable instead of
9881 ComponentOrientation.
9882 (setInverted): ditto.
9883 * javax/swing/plaf/basic/BasicSliderUI.java:
9884 Fix indentation and comments.
9885 (propertyChange): Remove check for inverted slider, handle
9887 (getMinimumSize): Return preferred size.
9888 (getMaximumSize): ditto.
9889 (calculateFocusRect): Don't relocate rectangle.
9890 (drawInverted): Return XOR of the slider's inversion and
9891 the component's orientation.
9892 (paint): Update leftToRightCache
9894 2004-02-13 David Jee <djee@redhat.com>
9896 * java/awt/GridBagLayout.java
9897 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9898 code to helper methods.
9899 (sortBySpan): New helper method.
9900 (distributeSizeAndWeight): Likewise.
9901 (calcCellWeights): Likewise.
9902 (calcCellSizes): Add comments.
9904 2004-02-13 David Jee <djee@redhat.com>
9906 * java/awt/Component.java
9907 (show): Only do something if component is invisible at the moment.
9908 (hide): Only do something if component is visible at the moment.
9909 (reshape): If lightweight, erase old bounds and repaint new bounds.
9911 2004-02-13 Kim Ho <kho@redhat.com>
9913 * Makefile.am: Updated for new file.
9914 * Makefile.in: Regenerated.
9915 * javax/swing/JSlider.java: Reimplement.
9916 * javax/swing/SwingUtilities.java
9917 (layoutCompoundLabel): Use icon height
9919 (paintComponent): Implement.
9920 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9921 Add JSlider defaults.
9922 * javax/swing/plaf/basic/BasicSliderUI.java:
9923 Implement. New file.
9925 2004-03-17 Michael Koch <konqueror@gmx.de>
9927 * gnu/java/net/PlainDatagramSocketImpl.java
9928 (RECEIVE_LOCK): New member field.
9929 (SEND_LOCK): New member field.
9930 (send0): New method.
9931 (send): Synchronize on SEND_LOCK.
9932 (receive0): New method.
9933 (receive): Synchronize on RECEIVE_LOCK.
9934 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9935 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9936 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9937 (send0): Renamed from send.
9938 (receive0): Renamed from receive.
9939 2004-03-17 Michael Koch <konqueror@gmx.de>
9941 * gnu/java/net/natPlainSocketImplPosix.cc
9942 (write): Just call write(jbyteArray, offset, len).
9943 (read): Just call read(jbyteArray, offset, len).
9945 2004-03-16 Michael Koch <konqueror@gmx.de>
9947 * javax/swing/JTabbedPane.java
9948 (serialVersionUID): New field.
9950 2004-03-16 Norbert Frese <postfach@nfrese.net>
9952 * java/net/InetAddress.java
9953 (getByName): Handle hostname == "" case.
9955 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9957 Reported by: Adam Heath <doogie@debian.org>
9958 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9961 2004-03-15 Michael Koch <konqueror@gmx.de>
9963 * java/util/Locale.java: Reverting my last patch
9964 and add a comment why the original version was okay.
9966 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9968 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9969 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9970 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9971 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9973 2004-03-12 Michael Koch <konqueror@gmx.de>
9975 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9977 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9979 * java/net/URI.java (toURL): Implemented.
9981 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9984 (URI_REGEXP) updated to contain scheme specific part.
9985 (SCHEME_SPEC_PART_GROUP) new constant.
9986 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9987 updated to make room for SCHEME_SPEC_PART_GROUP.
9988 (parseURI) parse scheme specific part.
9989 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9990 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9991 getQuery, getFragment) implemented.
9993 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9995 * libraries/javalib/java/net/URI.java
9996 partially implemented using java.util.regex.
9997 (URI_REGEXP) new constant. Used to parse URIs.
9998 (SCHEME_GROUP) new constant representing index of scheme group
10000 (AUTHORITY_GROUP) new constant representing index of authority
10001 group in parsed URI.
10002 (PATH_GROUP) new constant representing index of path group in
10004 (QUERY_GROUP) new constant representing index of query group in
10006 (FRAGMENT_GROUP) new constant representing index of fragment
10007 group in parsed URI.
10008 (getURIGroup) new static utility method.
10009 (parseURI) implemented.
10010 (quote) stub for new static utility method.
10011 (quoteAuthority) stub for new static utility method.
10012 (quoteHost) stub for new static utility method.
10013 (quotePath) stub for new static utility method.
10014 (quoteUserInfo) stub for new static utility method.
10016 (create) don't throw URISyntaxException. Implemented.
10017 (toString) implemented.
10019 2004-03-12 Michael Koch <konqueror@gmx.de>
10021 * java/net/HttpURLConnection.java
10022 (getResponseCode): Fix another typo in javadoc.
10024 2004-03-11 Michael Koch <konqueror@gmx.de>
10026 * java/util/logging/Level.java
10027 (parse): Use String.equals() instead of ==.
10029 2004-03-11 Michael Koch <konqueror@gmx.de>
10031 * gnu/java/net/protocol/jar/Connection.java
10032 (getContentLength): New method.
10034 2004-03-11 Michael Koch <konqueror@gmx.de>
10036 * gnu/java/net/PlainSocketImpl.java:
10037 Reformated to merge better with classpath's version.
10039 2004-03-11 Michael Koch <konqueror@gmx.de>
10041 * java/util/Locale.java
10042 (getISO3Language): Use String.equals() instead of ==.
10043 (getISO3Country): Likewise.
10045 2004-03-11 Dalibor Topic <robilad@kaffe.org>
10047 * java/text/AttributedString.java
10048 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10049 Use HashMap instead of Hashtable since value can be null, and
10050 you can not store a null value in a Hashtable.
10052 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10054 * java/text/AttributedStringIterator.java
10055 (getAllAttributesKey): Return only keys concerned
10056 by the current iterator.
10057 (getAttributes): Use strict inequality for
10060 2004-03-11 Michael Koch <konqueror@gmx.de>
10062 * java/net/HttpURLConnection.java:
10063 Fixed typo in javadoc.
10065 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10067 * java/io/BufferedInputStream.java (marktarget): New field for max
10069 (CHUNKSIZE): New constant for incremental mark buffer allocation.
10070 (mark): Use new fields.
10072 (read(byte[],int,int)): Likewise.
10074 (refill): Likewise.
10076 2004-03-11 Mark Wielaard <mark@klomp.org>
10078 * java/beans/BeanDescriptor.java (BeanDescriptor):
10079 Set the FeatureDescriptor programmatic name.
10081 2004-03-11 Michael Koch <konqueror@gmx.de>
10083 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10084 This file was was just copied form java/io/natFileDescriptorEcos.cc
10085 and never changed to compile correctly.
10087 2004-03-11 Michael Koch <konqueror@gmx.de>
10089 * gnu/java/nio/PipeImpl.java
10090 (SourceChannelImpl): Made final.
10091 (read): Implemented.
10092 (SinkChannelImpl): Made final.
10093 (write): Implemented.
10095 2004-03-11 Michael Koch <konqueror@gmx.de>
10097 * gnu/java/net/PlainDatagramSocketImpl.java:
10098 Reformated to match classpath's version more.
10100 2004-03-11 Michael Koch <konqueror@gmx.de>
10102 * gnu/java/awt/peer/ClasspathFontPeer.java:
10103 Fixed javadoc to be correct xhtml.
10104 * gnu/java/awt/peer/gtk/GtkArgList.java
10105 (add): Use Boolean.valueOf() instead of new Boolean().
10107 2004-03-09 Michael Koch <konqueror@gmx.de>
10109 * java/lang/Thread.java
10110 (runnable): Moved around.
10111 (daemon): Renamed from daemon_flag.
10112 (contextClassLoader): Renamed from context_class_loader.
10113 (Thread): Reordered constructors.
10114 (activeCount): Use group directly.
10115 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10116 (holdsLock): Reworked javadoc.
10117 (setDaemon): Reworked.
10118 * java/lang/natThread.cc
10119 (destroy): Removed.
10121 2004-03-08 Anthony Green <green@redhat.com>
10123 * Makefile.am: Build property resource files into libgcj.
10124 * Makefile.in: Rebuilt.
10125 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10126 java/util/regex/PatternSyntaxException.java,
10127 gnu/regexp/CharIndexed.java,
10128 gnu/regexp/CharIndexedCharArray.java,
10129 gnu/regexp/CharIndexedInputStream.java,
10130 gnu/regexp/CharIndexedReader.java,
10131 gnu/regexp/CharIndexedString.java,
10132 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10133 gnu/regexp/REException.java,
10134 gnu/regexp/REFilterInputStream.java,
10135 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10136 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10137 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10138 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10139 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10140 gnu/regexp/RETokenLookAhead.java,
10141 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10142 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10143 gnu/regexp/RETokenStart.java,
10144 gnu/regexp/RETokenWordBoundary.java,
10145 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10147 2004-03-03 Per Bothner <per@bothner.com>
10149 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10150 Optimize when argument is a FileChannelImpl.
10151 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10152 New native methods.
10153 * java/nio/channels/natChannels.cc: New file for new native methods.
10154 * Makefile.am: Update accordingly.
10156 2004-03-02 Jan Hubicka <jh@suse.cz>
10158 * configure.host: Pass -fno-omit-frame-pointer for i386.
10159 * configure.in: Likewise.
10160 * configure: Regenerate.
10162 2004-03-01 Per Bothner <per@bothner.com>
10164 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10166 2004-02-29 Per Bothner <per@bothner.com>
10168 * java/nio/channels/FileChannelImpl.java: Moved to package
10169 gnu/java/nio/channels, since we need to refer to it from java.io.
10170 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10171 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10172 from java/nio/channels. Don't depend on FileDescriptor.
10173 (in, out, err): New static fields.
10175 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10176 from FileDescriptor.
10177 (by): Removed MappedByteBuffer field.
10178 (map): New working implementation.
10179 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10180 some code "ported" from natFileDescriptoPosix.cc.
10181 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10182 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10183 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10184 Remove native methods.
10185 * Makefile.am, configure.in: Updated accordingly.
10187 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10188 (ch): New FileChannelImpl field. Update constructor to match.
10189 (releaseImpl): Remove native method. Instead ...
10190 (release): Call unlock on channel.
10191 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10193 * java/io/natFileDescriptorEcos.cc: Remove file.
10194 * java/io/natFileDescriptorPosix.cc: Remove file.
10195 * java/io/natFileDescriptorWin32.cc: Remove file.
10196 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10197 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10198 (<init>(FileChannelImpl)): New package-private constructor.
10199 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10200 (available, close, read, skip): Implement using FileChannelImpl.
10201 (getFD): Allocate FileDescriptor if needed.
10202 (getChannel): Is now trivial.
10203 * java/io/FileOutputStream.java: Corresponding changes.
10204 * java/io/RandomAccessFile.java: Corresponding changes.
10206 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10207 unmapImpl): New dummy methods, to be overridden by subclass.
10208 (finalize, isLoaded, load, force): New methods.
10209 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10210 Now works, at least for read mapping.
10212 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10213 streams using FileChannelImpl, not FileDescriptor.
10214 * java/lang/natWin32Process.cc (startProcess): Likewise.
10216 2004-02-28 Michael Koch <konqueror@gmx.de>
10218 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10221 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10223 * java/io/ObjectInputStream.java
10224 (readClassDescriptor): Keep elements of the mapping non null.
10225 (checkTypeConsistency): New method.
10226 (readFields): Fixed main loop and base logic. Small reindentation.
10227 * java/io/ObjectStreamField.java
10228 (lookupField): New method to update the field reference.
10229 (checkFieldType): New method.
10230 * java/io/ObjectStreamClass.java
10231 (setClass, setFields): Call lookupField when building the field
10232 database. Check the real field type.
10234 2004-02-28 Michael Koch <konqueror@gmx.de>
10236 * java/nio/ByteOrder.java
10237 (nativeOrder): Use equals() to compare strings.
10239 2004-02-26 Michael Koch <konqueror@gmx.de>
10241 * gnu/java/nio/FileLockImpl.java
10242 (finalize): Made protected.
10243 * java/nio/channels/FileChannel.java
10244 (MapMode.READ_ONLY): Made final.
10245 (MapMode.READ_WRITE): Made final.
10246 (MapMode.PRIVATE): Made final.
10247 * java/nio/channels/SocketChannel.java
10248 (open): Simplified code.
10249 * java/nio/channels/spi/AbstractSelectableChannel.java
10250 (registered): Unused, removed.
10251 (keyFor): Check channel is open, only locate key
10252 and not add a new one.
10253 (register): Don't delete attachments.
10255 2004-02-26 Michael Koch <konqueror@gmx.de>
10257 * gnu/java/awt/ComponentDataBlitOp.java
10258 (INSTANCE): Made final.
10259 * gnu/java/awt/image/ImageDecoder.java:
10261 (cm): Unused, removed.
10263 2004-02-26 Michael Koch <konqueror@gmx.de>
10265 * gnu/java/nio/DatagramChannelImpl.java
10266 (send): Check if target address is resolved.
10268 2004-02-26 Michael Koch <konqueror@gmx.de>
10270 * Makefile.am: Generate and install headers for inner classes in
10271 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10272 * Makefile.in: Regenerated.
10274 2004-02-24 Anthony Green <green@redhat.com>
10276 * java/lang/StringBuffer.java: No need to NULL out remainder of
10277 buffer since ensureCapacity_unsynchronized will have done this for
10280 2004-02-20 Michael Koch <konqueror@gmx.de>
10282 * gnu/java/net/protocol/jar/Handler.java
10283 (): Removed unneeded check for file != null. java.net.URL.getFile()
10284 returns an empty string but never null.
10286 2004-02-20 Michael Koch <konqueror@gmx.de>
10288 * gnu/gcj/convert/Convert.java
10289 (main): Use equals() to compare strings.
10291 2004-02-20 Michael Koch <konqueror@gmx.de>
10293 * javax/swing/AbstractButton.java: Made several constants final.
10294 (getRolloverSelectedIcon): Made public.
10295 (getSelectedIcon): Made public.
10297 2004-02-16 Per Bothner <per@bothner.com>
10299 * java/nio/CharBufferImpl.java: Inline super constructor.
10300 * java/nio/DoubleBufferImpl.java: Likewise.
10301 * java/nio/FloatBufferImpl.java: Likewise.
10302 * java/nio/IntBufferImpl.java: Likewise.
10303 * java/nio/LongBufferImpl.java: Likewise.
10304 * java/nio/ShortBufferImpl.java: Likewise.
10305 * java/nio/CharBuffer.java: Remove unused constructor.
10306 * java/nio/DoubleBuffer.java: Likewise.
10307 * java/nio/FloatBuffer.java: Likewise.
10308 * java/nio/IntBuffer.java: Likewise.
10309 * java/nio/LongBuffer.java: Likewise.
10310 * java/nio/ShortBuffer.java: Likewise.
10311 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10312 Fix buggy call to super constructor.
10313 * java/nio/DoubleViewBufferImpl.java: Likewise.
10314 * java/nio/FloatViewBufferImpl.java: Likewise.
10315 * java/nio/IntViewBufferImpl.java: Likewise.
10316 * java/nio/LongViewBufferImpl.java: Likewise.
10317 * java/nio/ShortViewBufferImpl.java: Likewise.
10319 * java/nio/ByteBuffer.java (endian): Make non-private so other
10320 java.nio classes can inherit it.
10321 (<init>): Don't bother clearing array_offset.
10322 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10323 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10324 Remove redundant test.
10326 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10327 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10328 Use new XxxViewBufferImpl constructors.
10329 * java/nio/MappedByteBufferImpl.java: Likewise.
10330 * java/nio/DirectByteBufferImpl.java: Likewise.
10332 * java/nio/ByteBufferImpl.java: Remove one constructor.
10333 Inline super in remaining constructor.
10334 * java/nio/ByteBuffer.java: Remove unused constructor.
10336 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10338 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10339 * java/nio/DirectByteBufferImpl.java (owner): New field.
10340 (offset): Remove unused field.
10341 (<init>): Modify one and add another constructor. Change callers.
10342 (allocateDirect): Removed - not used.
10343 (getImpl, putImpl): Make static and pass address explicitly,
10344 to make them useful for MappedByteBufferImpl.
10345 (get, put): Check for underflow. Modify for new getImpl.
10346 (getImpl): New native method where target is array.
10347 (get(byte[],int,int)): Use the above.
10348 (adjustAddress): New static native method.
10349 (slice, duplicate, asReadOnly): New implementations.
10350 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10351 adjustAddress): New or updated native methods.
10353 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10355 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10356 overflow of fieldmapping.
10358 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10360 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10362 2004-02-14 Per Bothner <per@bothner.com>
10364 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10365 Set closed before calling implCloseChannel, as in the spec.
10367 2004-02-09 Graydon Hoare <graydon@redhat.com>
10369 * javax/swing/ToggleButtonModel.java: Remove dead class.
10370 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10371 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10372 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10373 * Makefile.am: Update for new and removed files.
10374 * Makefile.in: Regenerate.
10376 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10377 * javax/swing/AbstractButton.java
10378 (AbstractButton): Initialize fields correctly in ctor.
10379 * javax/swing/JCheckbox.java
10380 (JCheckBox): Override painting flags.
10381 * javax/swing/DefaultButtonModel.java: Conform to sun.
10382 * javax/swing/JComponent.java (paint): Fill with background color
10384 (processComponentKeyEvent)
10385 (processFocusEvent)
10387 (processMouseMotionEvent): Remove event-consuming empty methods.
10388 (getUIClassID): Return "ComponentUI" not "JComponent"
10389 * javax/swing/JFrame.java: Remove some debugging chatter.
10390 (JFrame): Subscribe to window events.
10391 * javax/swing/JRadioButton.java
10392 (JRadioButton): Override painting flags.
10393 * javax/swing/JRootPane.java
10394 (JRootPane): Set background from UIDefaults.
10395 * javax/swing/JToggleButton.java
10396 (ToggleButtonModel): New inner class.
10397 (JToggleButton): Override layout alighment.
10398 * javax/swing/SwingUtilities.java:
10399 (getLocalBounds): Return width and height, not x and y.
10400 (calculateInnerArea): Use local bounds, not bounds.
10401 (layoutCompoundLabel): Provide overridden form.
10402 (layoutCompoundLabel): Correct bugs.
10403 * javax/swing/UIDefaults.java: Correct comment.
10404 * javax/swing/plaf/basic/BasicButtonUI.java:
10405 Move most logic into defaults, external listener.
10406 (paintIcon): Implement icon painting.
10407 (paint): Fix state painting to conform to changes in model.
10408 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10409 Remove most dead/wrong methods.
10410 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10411 * javax/swing/plaf/basic/BasicIconFactory.java:
10412 (DummyIcon): New class.
10413 (getMenuItemCheckIcon)
10414 (getMenuItemArrowIcon)
10416 (getCheckBoxMenuItemIcon)
10417 (getRadioButtonMenuItemIcon)
10418 (createEmptyFrameIcon): Return DummyIcons, not null.
10419 (getCheckBoxIcon): Implement an icon that looks like sun's.
10420 (getRadioButtonIcon): Implement an icon that looks like sun's.
10421 * javax/swing/plaf/basic/BasicLookAndFeel.java
10422 (initComponentDefaults): Fix impossible values, add some missing.
10423 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10424 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10425 Remove most dead/wrong methods.
10427 (getDefaultIcon): New method.
10428 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10429 Remove most dead/wrong methods.
10430 * javax/swing/plaf/metal/MetalLookAndFeel.java
10431 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10433 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10434 Implement "clearing" as drawing, when on pixmap drawables.
10436 * javax/swing/JButton.java (getUIClassID):
10437 * javax/swing/JCheckBox.java (getUIClassID):
10438 * javax/swing/JEditorPane.java (getUIClassID):
10439 * javax/swing/JLabel.java (getUIClassID):
10440 * javax/swing/JList.java (getUIClassID):
10441 * javax/swing/JOptionPane.java (getUIClassID):
10442 * javax/swing/JPanel.java (getUIClassID):
10443 * javax/swing/JPasswordField.java (uiClassID):
10444 * javax/swing/JRadioButton.java (getUIClassID):
10445 * javax/swing/JRootPane.java (getUIClassID):
10446 * javax/swing/JScrollPane.java (getUIClassID):
10447 * javax/swing/JTabbedPane.java (getUIClassID):
10448 * javax/swing/JToggleButton.java (getUIClassID):
10449 * javax/swing/JTree.java (getUIClassID):
10450 * javax/swing/JViewport.java (getUIClassID):
10451 * javax/swing/text/JTextComponent.java (getUIClassID):
10452 Return "fooUI" not "Jfoo"
10454 2004-02-11 Michael Koch <konqueror@gmx.de>
10456 * java/net/DatagramSocket.java
10457 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10459 (setBroadcast): Likewise.
10460 * java/net/MulticastSocket.java
10461 (setLoopbackMode): Likewise.
10462 * java/net/ServerSocket.java
10463 (setReuseAddress): Likewise.
10464 * java/net/Socket.java
10465 (setTcpNoDelay): Likewise.
10466 (setSoLinger): Likewise.
10467 (setOOBInline): Likewise.
10468 (setKeepAlive): Likewise.
10469 (setReuseAddress): Likewise.
10470 * java/net/URLConnection.java
10471 (setContentHandler): Replace == with equals().
10472 * java/net/URLStreamHandler.java
10473 (hostSEquals): Fix checking host addresses.
10474 (toExternalForm): Dont check protocol for null. We know already its
10477 2004-02-10 David Jee <djee@redhat.com>
10479 * java/awt/BorderLayout.java
10480 (calcCompSize): Invisible components get zero dimensions.
10481 * java/awt/Button.java
10482 (setLabel): Set actionCommand.
10483 * java/awt/Component.java
10484 (show): Invalidate component and parent container.
10487 2004-02-10 David Jee <djee@redhat.com>
10489 * java/awt/GridBagLayout.java
10490 (GridBagLayout): New private field, internalcomptable.
10491 (lookupInternalConstraints): New method.
10492 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10493 (GetLayoutInfo): Reimplement.
10494 (calcCellSizes): Ignore rows/columns with size 0.
10496 2004-02-10 Michael Koch <konqueror@gmx.de>
10498 * gnu/java/awt/EmbeddedWindow.java
10499 (setHandle): Use java.awt.Component.getPeer() instead of
10500 java.awt.Component.peer directly.
10502 2004-02-10 David Jee <djee@redhat.com>
10504 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10505 (gtkSetLabel): New native method definition.
10506 (setLabel): Use gtkSetLabel.
10507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10508 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10510 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10512 * include/powerpc-signal.h: Revert 2004-01-21 change.
10513 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10514 from syscall for ppc32 versions.
10516 2004-02-08 Per Bothner <per@bothner.com>
10518 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10519 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10520 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10521 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10522 Pass ByteOrder parameter to most methods, since the underlying
10523 ByteBuffer's order isn't always what we should use.
10524 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10525 * java/nio/DirectByteBufferImpl.java: Likewise.
10526 Use ByteBufferHelper methods.
10527 * java/nio/MappedByteBufferImpl.java: Likewise.
10528 (compact): Use shiftDown.
10529 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10530 (get, put): Use ByteBufferHelper.
10531 (compact): Use new shiftDown method.
10532 (duplicate(boolean)): New helper method.
10533 (duplicate, asReadOnlyBuffer): Use it.
10534 (order): Return endian field.
10535 * java/nio/DoubleViewBufferImpl.java: Likewise.
10536 * java/nio/FloatViewBufferImpl.java: Likewise.
10537 * java/nio/IntViewBufferImpl.java: Likewise.
10538 * java/nio/LongViewBufferImpl.java: Likewise.
10539 * java/nio/ShortViewBufferImpl.java: Likewise.
10540 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10541 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10542 (compact): Re-implement using shiftDown.
10544 2004-02-08 Andreas Jaeger <aj@suse.de>
10546 * include/x86_64-signal.h: Fix typo.
10548 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10550 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10551 qualifier to _regs.
10552 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10554 2004-02-06 Michael Koch <konqueror@gmx.de>
10556 * java/io/ObjectInputStream.java
10557 (currentClassLoader): Reverted to old version of this method.
10559 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10561 * java/io/ObjectInputStream.java: Made all calls
10562 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10563 use cached info from ObjectStreamClass. (readClassDescriptor):
10564 Cache more information in ObjectStreamClass. (processResolution,
10565 readFields): Use cached info from ObjectStreamClass.
10566 (newObject): Throw exception instead of returning null for failure.
10567 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10568 setCharField, setDoubleField, setFloatField, setIntField,
10569 setLongField, setShortField, setObjectField, readObjectParams):
10570 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10572 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10573 (setClass): Added call to cacheMethods() (findMethod): New method.
10574 (cacheMethods): New method. (ObjectStreamClass): Added call to
10575 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10576 AccessController.doPrivileged to invoke setAccessible.
10577 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10578 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10580 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10581 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10582 isPrimitive): Made safe for cases where type == null.
10583 (setBooleanField, setByteField, setCharField, setShortField,
10584 setIntField, setLongField, setFloatField, setDoubleField,
10585 setObjectField): New methods.
10587 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10589 * java/awt/Component.java (getFont): Return a default font
10592 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10593 (Scrollbar (int, int, int, int, int)): Make default page
10595 (setValues): Only call peer.setValues if one of the values has
10597 (generateName): New method.
10598 (getUniqueLong): New method.
10599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10600 (range_scrollbar): Remove structure.
10601 (post_adjustment_event): Remove function.
10602 (post_change_event): Accept jobject argument.
10603 (create): Cast jints to gdoubles. Round scrollbar values to the
10604 nearest integer. Clamp min, max and value settings.
10605 (connectJObject): Connect hook to widget->window.
10606 (connectSignals): Remove range_scrollbar structure variables.
10607 Remove "move-slider" connection. Pass global peer reference to
10608 "value-changed" callback.
10609 (setLineIncrement): Cast jint value to gdouble.
10610 (setPageIncrement): Likewise.
10611 (setValues): Likewise. Clamp min, max and value settings.
10613 2004-02-05 Michael Koch <konqueror@gmx.de>
10615 * javax/swing/AbstractCellEditor.java
10616 (getCellEditorValue): Removed.
10617 * javax/swing/Box.java: Reformated.
10618 (serialVersionUID): New field.
10619 * javax/swing/ButtonGroup.java:
10620 Removed some weird whitespace.
10621 * javax/swing/CellEditor.java: Reformated.
10622 * javax/swing/CellRendererPane.java
10623 (serialVersionUID): New field.
10624 (AccessibleCellRendererPaneserialVersionUID): New field.
10625 * javax/swing/DefaultListModel.java
10626 (serialVersionUID): New field.
10627 * javax/swing/JEditorPane.java
10628 (serialVersionUID): New field.
10629 (setPage): Throws IOException.
10630 (addHyperlinkListener): Implemented.
10631 (removeHyperlinkListener): Implemented.
10632 (getHyperlinkListener): New method.
10633 * javax/swing/JFileChooser.java
10634 (serialVersionUID): New field.
10635 (AccessibleJFileChooser.serialVersionUID): New field.
10636 (addActionListener): Implemented.
10637 (removeActionListener): Implemented.
10638 (getActionListeners): New method.
10639 * javax/swing/JFormattedTextField.java
10640 (serialVersionUID): New field.
10641 (AbstractFormatter.serialVersionUID): New field.
10642 (clone): Throws CloneNotSupportedException
10643 (setEditValid): Add missing argument.
10644 (stringToValue): Throws ParseExcpetion.
10645 (valueToString): Throws ParseException.
10646 (commitEdit): Throws ParseException.
10647 * javax/swing/JLabel.java
10648 (serialVersionUID): New field.
10649 * javax/swing/JList.java
10650 (serialVersionUID): New field.
10651 (addListSelectionListener): Reformated.
10652 (removeListSelectionListener): Reformated.
10653 (getListSelectionListeners): New method.
10654 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10656 (serialVersionUID): New field.
10657 * javax/swing/table/AbstractTableModel.java
10658 (getValueAt): Removed.
10659 (getColumnCount): Removed.
10660 (getRowCount): Removed.
10662 2004-02-05 Michael Koch <konqueror@gmx.de>
10664 * java/awt/datatransfer/DataFlavor.java
10665 (imageFlavor): Javadoc added.
10666 (javaJVMLocalObjectType): Fixed.
10668 2004-02-05 Michael Koch <konqueror@gmx.de>
10670 * java/lang/Thread.java
10671 (Thread): Reordered.
10672 (setContextClassLoader): Fixed javadoc comment.
10673 (setPriority): Reordered.
10674 (yield): Reordered.
10675 (initialize_native): Reordered.
10676 (gen_name): Reordered.
10678 2004-02-05 Michael Koch <konqueror@gmx.de>
10680 * java/lang/Thread.java: Reordered fields, reformated much code,
10681 no functional changes, some variables renamed, javadoc comments
10684 2004-02-05 Michael Koch <konqueror@gmx.de>
10686 * java/util/zip/Deflater.java,
10687 java/util/zip/DeflaterOutputStream.java,
10688 java/util/zip/GZIPInputStream.java:
10689 Reformated and javadoc comments merged from classpath.
10691 2004-02-05 Michael Koch <konqueror@gmx.de>
10693 * gnu/java/nio/NIOServerSocket.java
10694 (impl): Unused, removed.
10695 * gnu/java/nio/SocketChannelImpl.java
10696 (finnishConnect): Don't throw NoConnectionPendingException if not
10697 connected or no connection pending.
10699 2004-02-02 Graydon Hoare <graydon@redhat.com>
10701 * javax/swing/SwingUtilities.java: Many new functions.
10702 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10703 * javax/swing/basic/BasicGraphicsUtils.java
10704 (getPreferredButtonSize): Start layout from top-left corner.
10706 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10708 * java/awt/geom/AffineTransform.java:
10709 Corrected comments on the field definitions for
10711 (shear): Fixed few errors that caused shear
10712 transformation to be performed incorrectly.
10713 (createInverse): Fixed to return correct
10714 inverse of the given matrix.
10716 2004-02-03 Tom Tromey <tromey@redhat.com>
10718 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10719 PATH or LD_LIBRARY_PATH is not set in parent environment.
10721 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10723 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10724 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10725 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10726 java/awt/Component.java, java/awt/Container.java,
10727 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10728 java/awt/LayoutManager2.java, java/awt/List.java,
10729 java/awt/Menu.java, java/awt/MenuBar.java,
10730 java/awt/MenuItem.java, java/awt/Polygon.java,
10731 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10732 java/awt/Scrollbar.java, java/awt/TextArea.java,
10733 java/awt/TextField.java,
10734 java/awt/image/renderable/RenderContext.java,
10735 javax/swing/JApplet.java: Fix handling of alias methods, where a
10736 method has been deprecated in favour of a new one with the same
10737 funtion but a different name. Put the method implementation in
10738 the deprecated method and have the new method call the
10739 deprecated one. Make all other code call the new method.
10741 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10743 * gnu/java/nio/DatagramChannelImpl.java
10744 (inChannelOperation): New field.
10745 (isInChannelOperation): New accessor.
10746 (setInChannelOperation): New modifier.
10747 (receive): Use capacity() - position() of destination
10748 buffer instead of remaining(). Set and reset our "in
10749 channel operation indicator" before and after delegating
10750 the receive to our datagram socket. Removed testing code.
10751 Update destination buffer's current position if it is
10752 backed by a byte array (hasArray() is true).
10753 (send): Set and reset our "in channel operation indicator"
10754 before and after delegating the send to our datagram socket.
10755 Removed testing code. Update source buffer's current position
10756 if it is backed by a byte array (hasArray() is true).
10757 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10758 Use capacity() - position() of destination buffer instead
10760 * java/net/DatagramSocket.java (receive): Don't throw an
10761 IllegalBlockingModeException if we have a non-blocking
10762 channel which initiated this operation.
10765 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10767 * configure.in: Add pkgconfig check for glib and gthread.
10768 * configure: Regenerate.
10770 2004-02-01 Michael Koch <konqueror@gmx.de>
10772 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10774 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10775 * verify.cc (debug_print): Mark 'fmt' unused.
10777 2004-01-30 Michael Koch <konqueror@gmx.de>
10779 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10780 * configure: Regenerated.
10781 * glib-2.0.m4: Removed.
10782 * gtk-2.0.m4: Removed.
10783 * libart.m4: Removed.
10784 * pkg.m4: New file.
10786 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10788 * gnu/java/net/PlainSocketImpl.java
10789 (inChannelOperation): New field.
10790 (isInChannelOperation): New accessor.
10791 (setInChannelOperation): New modifier.
10792 * gnu/java/nio/ServerSocketChannelImpl.java
10793 (accept): Set and reset our server socket's PlainSocketImpl's
10794 "in channel operation" indicator before and after delegating
10795 the accept to our server socket.
10796 * gnu/java/nio/SocketChannelImpl.java
10797 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10798 operation" indicator before and after delegating the operation to
10802 * java/net/ServerSocket.java (implAccept): Don't throw an
10803 IllegalBlockingModeException if we have a non-blocking
10804 channel which initiated this accept operation.
10805 * java/net/Socket.java (connect): Don't throw an
10806 IllegalBlockingModeException if we have a non-blocking
10807 channel which initiated this connect operation.
10808 * java/nio/channels/spi/AbstractSelectableChannel.java
10809 (configureBlocking): Only call implConfigureBlocking() if
10810 the desired blocking mode is different from our current one.
10812 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10814 * java/io/BufferedReader.java (sbuf): New field.
10815 (readLine): Use String.valueOf instead of new String() as per
10816 Per Bothner's suggestion. Use instance sbuf field instead of a
10817 local StringBuffer instance.
10818 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10819 caller's buffer to refill().
10820 (read(void)): Pass our internal work buffer to refill if our
10821 input queue is empty.
10822 (refill): Changed return type to int. Use the specified buffer
10823 instead of our work buffer as per Bryce McKinlay's suggestion.
10824 Return the number of characters read or -1 for EOF.
10826 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10828 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10830 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10832 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10833 * Makefile.in: Re-generated.
10834 * gnu/awt/xlib/XFontPeer.java: New file.
10835 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10836 (setClip): Commented out debug printout.
10837 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10838 (getFontPeer): Return XFontPeer.
10839 (getLocalGraphicsEnvironment): New method.
10840 (getClasspathFontPeer): New method.
10841 (createFont): New method.
10843 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10845 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10848 2004-01-29 Kim Ho <kho@redhat.com>
10850 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10851 (gtkLayoutSetVisible): New method
10852 (setMenuBar): Hide layout before setting MenuBar
10853 and reshow it after.
10854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10855 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10857 2004-01-28 Michael Koch <konqueror@gmx.de>
10859 * gnu/java/lang/ClassHelper.java
10860 (getPackagePortion): Removed.
10862 2004-01-28 Michael Koch <konqueror@gmx.de>
10864 * javax/swing/JComponent.java
10865 (listenerList): Initalize globally.
10866 (ancestor_list): Removed.
10867 (veto_list): Removed.
10868 (change_list): Removed.
10869 (get_veto_list): Removed.
10870 (get_change_list): Removed.
10871 (get_ancestor_list): Removed.
10872 (removeAncestorListener): Reimplemented.
10873 (removePropertyChangeListener): Likewise.
10874 (removeVetoableChangeListener): Likewise.
10875 (addAncestorListener): Likewise.
10876 (addPropertyChangeListener): Likewise.
10877 (addVetoableChangeListener): Likewise.
10878 (getListeners): New method.
10879 (getAncestorListeners): Likewise.
10880 (getVetoableChangeListeners): Likewise.
10881 (fireVetoableChange): Throws PropertyVetoException.
10882 * javax/swing/JEditorPane.java
10883 (JEditorPane): Throws IOException.
10885 2004-01-28 David Jee <djee@redhat.com>
10887 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10888 (create): Set the default foreground color to
10889 java.awt.SystemColor.windowText.
10891 2004-01-27 Michael Koch <konqueror@gmx.de>
10893 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10894 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10895 Reindented to merge with classpath.
10897 2004-01-27 David Jee <djee@redhat.com>
10899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10900 (addExposeFilter): Handle GtkFramePeer separately.
10901 (removeExposeFilter): Likewise.
10903 2004-01-27 Michael Koch <konqueror@gmx.de>
10905 * gnu/java/net/protocol/http/Connection.java
10906 (getOutputStream): Fixed typo.
10908 2004-01-27 Michael Koch <konqueror@gmx.de>
10910 * java/lang/Class.java
10911 (getConstructor): Removed SecurityException from throws clause.
10912 (_getConstructors): Likewise.
10913 (getConstructors): Likewise.
10914 (getDeclaredConstructor): Likewise.
10915 (getDeclaredClasses): Likewise.
10916 (getDeclaredConstructors): Likewise.
10917 (getDeclaredField): Likewise.
10918 (getDeclaredMethod): Likewise.
10919 (getDeclaredMethods): Likewise.
10920 (getField): Likewise.
10921 (getMethod): Likewise.
10922 (getMethods): Likewise.
10924 2004-01-27 Kim Ho <kho@redhat.com>
10926 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10927 (removeMenuBarPeer): Remove MenuBarPeer argument.
10928 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10929 (dispose): Call native method.
10930 * java/awt/Frame.java (setMenuBar): Create and remove
10931 MenuBar peers only if the Frame has a peer.
10932 (addNotify): Create the MenuBar peer if one exists.
10933 (removeNotify): Remove MenuBar peer if one exists.
10934 * java/awt/Menu.java: Fix imports.
10935 (addNotify): Don't use full class name.
10936 (removeNotify): Call removeNotify on all children.
10937 * java/awt/MenuBar.java (removeNotify): Call
10938 removeNotify on all children.
10939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10940 (removeMenuBarPeer): Remove MenuBarPeer argument.
10941 Iterate through children to find the Frame's MenuBar.
10942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10944 (dispose): Remove references to the MenuComponent.
10946 2004-01-27 Michael Koch <konqueror@gmx.de>
10948 * javax/swing/AbstractCellEditor.java: Reformated.
10949 * javax/swing/DefaultListSelectionModel.java
10950 (listenerList): Made protected.
10951 (addListSelectionListener): Javadoc added.
10952 (removeListSelectionListener): Likewise.
10953 (getListeners): Likewise.
10954 (getListSelectionListeners): Likewise.
10955 * javax/swing/JComboBox.java: Merged copyright year.
10956 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10958 2004-01-26 Andrew Haley <aph@redhat.com>
10960 * javax/swing/table/JTableHeader.java: Extend JComponent
10962 2004-01-26 Kim Ho <kho@redhat.com>
10964 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10967 2004-01-26 Kim Ho <kho@redhat.com>
10969 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10971 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10972 height and let the Layout Managers readjust anything that
10974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10975 (moveLayout): New method. Shift everything in the Gtk
10976 layout in the Y direction by an offset.
10978 2004-01-26 David Jee <djee@redhat.com>
10980 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10981 (handleEvent): Implemented. Handles PaintEvents.
10982 (paint): Implemented. Use GTK native methods to queue updates
10983 for this heavyweight peer.
10984 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10985 (handleEvent): Removed.
10986 * java/awt/Component.java
10987 (paint): Implemented. Explictly paint the heavyweight peer.
10988 (update): Clear the background for heavyweight components.
10989 (paintAll): No need to call peer.paint() anymore.
10990 (processEvent): Don't process PaintEvents here. It's now done in
10991 the peer's handleEvent().
10992 (processPaintEvent): Removed.
10993 * java/awt/Container.java
10994 (paint): No need to call super.paint(). Visit heavyweight
10996 (update): Don't clear the background here. It's done in
10997 Component.update().
10998 (visitChildren): Added check to not recurse into Containers.
10999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11000 (filter_expose_event_handler): New method. Filter unwanted
11001 expose events while painting heavyweight peers.
11002 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11003 New method. Connect filter and block pre_event_handler.
11004 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11005 New method. Disconnect filter and unblock pre_event_handler.
11006 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11007 New method. Invalidate and update given area.
11008 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11009 (pre_event_handler): Add checks for unwanted expose events.
11011 2004-01-26 David Jee <djee@redhat.com>
11013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11014 (find_bg_color_widget): For GtkButton, return its child.
11016 2004-01-26 Kim Ho <kho@redhat.com>
11018 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11020 (setMenuBar): Grab MenuBar height and change insets.
11021 (setBounds): Account for MenuBar height.
11022 (postInsetsChangedEvent): Ditto.
11023 (postSizeAllocateEvent): Remove.
11024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11025 (menubar_resize_cb): Remove
11026 (setMenuBarPeer): Remove callback.
11027 (getMenuBarHeight): Use size requisition instead of
11030 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11032 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
11033 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11035 (setColumns): Remove FIXME -- peer will retrieve number of
11036 columns by calling getColumns.
11037 (setRows): Likewise for number of rows.
11038 (next_text_number): New field.
11039 (paramString): Fix param string.
11040 (generateName): New method.
11041 (getUniqueLong): New method.
11043 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11045 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11046 image observer of image loading status.
11047 (getImage (String)): Start image production.
11048 (getImage (URL)): Likewise.
11050 2004-01-25 Michael Koch <konqueror@gmx.de>
11052 * java/lang/Class.java: Imports reworked, reformated.
11053 (Class): Javadoc added.
11054 (forName): Likewise.
11055 (getClasses): Likewise.
11056 (getClassLoader): Likewise.
11057 (getComponentType): Likewise.
11058 (getConstructor): Likewise.
11059 (getConstructors): Likewise.
11060 (getDeclaredConstructor): Likewise.
11061 (getDeclaredClasses): Likewise.
11062 (getDeclaredConstructors): Likewise.
11063 (getDeclaredField): Likewise.
11064 (getDeclaredMethod): Likewise.
11065 (getDeclaredMethods): Likewise.
11066 (getDeclaringClass): Likewise.
11067 (getField): Likewise.
11068 (getInterfaces): Likewise.
11069 (getMethod): Likewise.
11070 (getMethods): Likewise.
11071 (getModifiers): Likewise.
11072 (getName): Likewise.
11073 (getResource): Likewise.
11074 (getResourceAsStream): Likewise.
11075 (getSigners): Likewise.
11076 (setSigners): Likewise.
11077 (getSuperclass): Likewise.
11078 (isArray): Likewise.
11079 (isAssignableFrom): Likewise.
11080 (isInstance): Likewise.
11081 (isInterface): Likewise.
11082 (isPrimitive): Likewise.
11083 (newInstance): Likewise.
11084 (getProtectionDomain): Likewise.
11085 (toString): Likewise.
11087 (initializeClass): Likewise.
11088 (finalize): Likewise.
11090 2004-01-24 Michael Koch <konqueror@gmx.de>
11092 * gnu/java/net/protocol/jar/Connection.java
11093 (hdrHash): Removed.
11095 (gotHeaders): Removed.
11096 (getHeaderField): Removed.
11097 (getHeaderFields): Removed.
11098 (getHeaderFieldKey): Removed.
11100 (getField): Removed.
11101 (getHeaders): Removed.
11103 2004-01-24 Michael Koch <konqueror@gmx.de>
11105 * Makefile.am: Added library version to gtk peer lib.
11106 * Makefile.in: Regenerated.
11108 2004-01-24 Michael Koch <konqueror@gmx.de>
11110 * java/util/zip/InflaterInputStream.java: Merged class documentation
11113 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11115 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11116 header. For __powerpc64__ provide the default-signal.h definitions
11118 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11119 instead of the dummy definitions.
11120 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11121 (powerpc64*-*): Remove with_libffi_default.
11122 Only add -mminimal-toc for 64-bit compilations.
11123 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11124 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11125 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11126 * configure: Rebuilt.
11128 2004-01-23 Michael Koch <konqueror@gmx.de>
11130 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11132 2004-01-23 Michael Koch <konqueror@gmx.de>
11134 * java/lang/VMClassLoader.java: Reworked imports.
11136 2004-01-23 Michael Koch <konqueror@gmx.de>
11138 * javax/swing/AbstractAction.java: Reformated.
11140 2004-01-23 Michael Koch <konqueror@gmx.de>
11142 * java/text/CollationElementIterator.java:
11143 (setText): New method.
11145 2004-01-23 Michael Koch <konqueror@gmx.de>
11147 * gnu/java/nio/FileLockImpl.java:
11148 Fixed filename in copyright.
11149 (released): Removed.
11150 (finalize): New method.
11151 * gnu/java/nio/natFileLockImpl.cc
11152 (releaseImpl): Implemented.
11153 * java/nio/channels/FileChannelImpl.java:
11155 (lock): Implemented.
11156 (lockImpl): New method.
11157 (tryLock): Implemented.
11158 (tryLockImpl): New method.
11159 * java/nio/channels/natFileChannelImpl.cc
11160 (lockImpl): New method.
11161 (tryLockImpl): New method.
11163 2004-01-23 Michael Koch <konqueror@gmx.de>
11165 * java/io/FileDescriptor.java
11166 (lock): New method.
11167 (tryLock): New method.
11168 (unlock): New method.
11169 * java/io/natFileDescriptorEcos.cc
11170 (lock): New method.
11171 (tryLock): New method.
11172 (unlock): New method.
11173 * java/io/natFileDescriptorPosix.cc
11174 (lock): New method.
11175 (tryLock): New method.
11176 (unlock): New method.
11177 * java/io/natFileDescriptorWin32.cc
11178 (lock): New method.
11179 (tryLock): New method.
11180 (unlock): New method.
11182 2004-01-23 Michael Koch <konqueror@gmx.de>
11184 * java/io/FileDescriptor.java
11185 (sync): Moved around, added javadoc.
11190 (setLength): Likewise.
11192 (getLength): Likewise.
11193 (getFilePointer): Likewise.
11195 (available): Likewise.
11196 (finalize): Likewise.
11198 2004-01-23 Michael Koch <konqueror@gmx.de>
11200 * javax/swing/AbstractAction.java: Reformated.
11201 (getPropertyChangeListeners): New method.
11202 * javax/swing/AbstractCellEditor.java: Reformated.
11203 (getCellEditorListeners): New method.
11204 * javax/swing/DefaultListSelectionModel.java
11205 (listenerList): New field.
11206 (listeners): Removed.
11207 (get_listeners): Removed.
11208 (addListSelectionListener): Rewritten.
11209 (removeListSelectionListener): Rewritten.
11210 (getListSelectionListeners): New method.
11211 (getListeners): New method.
11212 * javax/swing/JComboBox.java: Imports reworked.
11213 (addActionListener): Implemented.
11214 (removeActionListener): Implemented.
11215 (addItemListener): Implemented.
11216 (removeItemListener): Implemented.
11217 (addPopupMenuListener): Implemented.
11218 (removePopupMenuListener): Implemented.
11219 (getActionListeners): New method.
11220 (getItemListeners): New method.
11221 (getPopupMenuListeners): New method.
11223 2004-01-23 Michael Koch <konqueror@gmx.de>
11225 * gnu/java/net/protocol/http/Connection.java
11226 (connect): Don't initialize bufferedOutputStream if not needed.
11227 (sendRequest): Set property for content length if content is present.
11228 Write content only if present.
11229 (getOutputStream): Check if already connected, dont connect,
11230 initalize bufferedOutputStream if needed.
11232 2004-01-23 Michael Koch <konqueror@gmx.de>
11234 * java/io/FileDescriptor.java
11235 (in, out, err): Added javadoc.
11236 (static): Merged loading code.
11237 (fd, position): Moved around.
11239 2004-01-23 Michael Koch <konqueror@gmx.de>
11241 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11244 2004-01-23 Michael Koch <konqueror@gmx.de>
11246 * java/lang/Class.java,
11247 java/lang/Object.java,
11248 java/lang/Thread.java: Merged copyright with classpath.
11250 2004-01-23 Michael Koch <konqueror@gmx.de>
11252 * java/io/FileDescriptor.java: Merged copyright with classpath to
11253 start merging this class.
11255 2004-01-22 Tom Tromey <tromey@redhat.com>
11258 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11259 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11260 * testsuite/libjava.lang/pr13107_3.java: New file.
11261 * testsuite/libjava.lang/pr13107_3.out: New file.
11262 * testsuite/libjava.lang/pr13107_2.java: New file.
11263 * testsuite/libjava.lang/pr13107_2.out: New file.
11264 * testsuite/libjava.lang/pr13107.java: New file.
11265 * testsuite/libjava.lang/pr13107.out: New file.
11266 * verify.cc (jsr_ptrs): Removed.
11267 (entry_points): Likewise.
11268 (struct subr_info): Likewise.
11269 (struct subr_entry_info): Likewise.
11270 (type_val::unused_by_subroutine_type): Likewise.
11271 (type::merge): Don't handle unused_by_subroutine_type.
11272 (type::print): Likewise.
11273 (state::flags): Removed.
11274 (state::subroutine): Likewise.
11275 (state::seen_subrs): Likewise.
11276 (state::NO_STACK): Likewise.
11277 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11278 (state): Updated all methods.
11279 (state::clean_subrs): Removed.
11280 (state::state): Removed `ret_semantics' flag.
11281 (state::copy): Likewise.
11282 (state::add_subr): Removed.
11283 (state::enter_subroutine): Likewise.
11284 (type::set_return_address): New method.
11285 (handle_jsr_insn): Set return address on the type. Always
11286 invalidate PC after call.
11287 (check_nonrecursive_call): Removed.
11288 (~_Jv_BytecodeVerifier): Updated.
11289 (branch_prepass): Removed special handling of jsr.
11290 (note_branch_target): Likewise.
11291 (get_subroutine): Removed.
11292 (state::merge): Don't merge subroutines and don't handle
11293 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11294 (state::note_variable): Removed.
11295 (state::is_unmerged_ret_state): Likewise.
11296 (state::print): Updated.
11297 (set_variable): Likewise.
11298 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11299 and jsr_semantics arguments. Updated for new reverification
11301 (pop_jump): Rewrote.
11302 (construct_primitive_array_type): Updated.
11303 (state::next): Removed.
11304 (INVALID_STATE): New define.
11305 (state::INVALID): Removed.
11306 (state::NO_NEXT): New value.
11307 (state::pc, state::next): New fields.
11308 (state::get_pc): New method.
11309 (next_verify_pc): Removed.
11310 (next_verify_state): New field.
11311 (verify_instructions_0): Always check for falling off end.
11312 (linked): New type.
11313 (linked_utf8): Removed.
11314 (states): Changed type.
11315 (type::state_mergeable_p): New method.
11316 (state::state_mergeable_p): Likewise.
11317 (handle_ret_insn): Removed most code.
11318 (state::reverify): New method.
11319 (add_new_state): Likewise.
11320 (state::set_pc): Likewise.
11322 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11325 * testsuite/libjava.compile/PR13733.java: New file.
11326 * testsuite/libjava.compile/PR13733.xfail: New file.
11328 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11329 Michael Koch <konqueror@gmx.de>
11331 * javax/swing/table/DefaultTableCellRenderer.java
11332 (DefaultTableCellRenderer): Added javadoc for the class and for
11333 the constructor, Border instance, create an EmptyBorder.
11334 (UIResource): Removed the comment at the end of the class
11335 (setForeground): New method.
11336 (setBackground): New method.
11337 (updateUI): New method.
11338 (getTableCellRendererComponent): Rewritten with the help of
11339 dvholten and Stephane Meslin-Weber.
11340 (validate): New method.
11341 (repaint): New method.
11342 (firePropertyChange): New method.
11343 (setValue): New method.
11345 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11348 (connectJObject): Replace printf calls with g_assert statements.
11349 Move property-notify-event signal connection to ...
11350 (connectSignals): Connect property-notify-event signal. Iterate
11351 through the vbox's children to find layout.
11353 2004-01-22 Graydon Hoare <graydon@redhat.com>
11355 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11356 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11357 Predicate static initialization on GtkToolkit.useGraphics2D().
11358 * java/awt/Component.java (processPaintEvent): Consume event.
11359 * javax/swing/AbstractButton.java: Reimplement, document.
11360 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11361 * javax/swing/JComponent.java (paint): Use double buffer.
11362 (listenerList): Enable member.
11363 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11364 * javax/swing/JToggleButton.java
11365 (JToggleButton): Modify model constructor.
11366 * javax/swing/SwingUtilities.java
11367 (layoutCompoundLabel): Adjust arithmetic.
11368 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11369 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11370 (getPreferredButtonSize): Include margins in calculation.
11371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11372 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11373 Receive up events from subordinate layout component.
11375 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11377 * java/awt/Component.java (show): Set visible to true before
11380 2004-01-21 Kim Ho <kho@redhat.com>
11382 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11384 (removeMenuBarPeer): Make package private.
11385 (setMenuBarPeer): Make package private.
11386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11387 (menubar_resize_cb): Mark attributes unused.
11388 (getMenuBarHeight): ditto.
11390 2004-01-21 David Jee <djee@redhat.com>
11392 * java/awt/Container.java
11393 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11394 dispatching MOUSE_ENTERED event twice. Translate the point for
11395 the mouse event target before dispatching the event.
11397 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11399 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11400 lib_org_w3c_dom_la_LDFLAGS): New.
11401 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11402 * Makefile.in: Rebuilt.
11404 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11406 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11407 Calculate proper offsets for heavyweight components packed in
11408 lightweight containers.
11410 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11412 (native create): Add width parameter.
11413 (create): Calculate text entry width based on current font's
11414 metrics and number of columns. Set TextField's font if not
11415 already set. Call native create.
11416 (gtkEntryGetBorderWidth): New native method.
11417 (gtkEntryGetSize): Remove method.
11418 (getMinimumSize): Call minimumSize.
11419 (getPreferredSize): Call preferredSize.
11420 (minimumSize): Calculate minimum size based on backing
11421 GtkEntry's borders, font metrics and number of columns.
11422 (preferredSize): Likewise for preferred size.
11423 (get_border_width): New static function.
11425 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11426 Override GtkWindowPeer's setResizable method to account for menu
11427 bar height when setting the frame's size.
11429 2004-01-19 Matthias Klose <doko@debian.org>
11431 * libtool-version: Increased `current' to 6.
11433 2004-01-19 Kim Ho <kho@redhat.com>
11435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11436 (connectJObject): Iterate through the vbox's children to find layout.
11438 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11440 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11441 isDispatchThread method to replace wrong test condition.
11443 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11445 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11446 events to the queue out of order by acquiring locks in the proper
11447 order and not by releasing one before acquiring the other.
11449 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11451 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11452 visible so that dialog can be reused.
11454 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11456 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11457 events may be handled by any queue in the stack.
11459 2004-01-19 Kim Ho <kho@redhat.com>
11461 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11462 MenuBarPeer parameter.
11463 (removeMenuBarPeer): New native method.
11464 (setMenuBar): Call remove if menu bar is null. Adjust insets
11466 (postSizeAllocateEvent): New method. Called when menu bar size is
11467 allocated. Adjust insets and redo layout.
11468 (GtkFramePeer): Set menu bar during frame creation.
11469 (postConfigureEvent): Adjust position and size to accomodate
11471 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11472 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11473 (addNotify): Create the peer if it doesn't exist and call addNotify
11474 for the menu's items.
11475 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11476 * java/awt/MenuItem.java (addNotify): Create the peer if it
11478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11479 (removeMenuBarPeer): New method. Remove menu bar on the current
11481 (setMenuBarPeer): Add the menu bar to the current frame and the
11482 callback for size-allocate events on the menu bar.
11483 (getMenuBarHeight): Add menu bar parameter.
11484 (menubar_resize_cb): New callback method for postSizeAllocate events.
11486 Also: Fix indentation on last ChangeLog entry.
11488 2004-01-16 Kim Ho <kho@redhat.com>
11490 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11491 (gtkWidgetGetDimensions): Remove.
11492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11493 (gtkWidgetGetDimensions): Remove.
11495 2004-01-16 Tom Tromey <tromey@redhat.com>
11497 * java/awt/Container.java: Typo and indentation fixes.
11499 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11500 * java/lang/natVMClassLoader.cc: ...here. New file.
11501 * Makefile.in: Rebuilt.
11502 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11504 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11507 Discard GDK_ENTER_NOTIFY related to ungrabs.
11509 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11511 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11512 is called for an intermediate queue.
11514 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11517 (window_property_changed_cb): Set id_set.
11519 2004-01-16 Kim Ho <kho@redhat.com>
11521 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11522 it is a FileDialog and has dimensions of 0 by 0, then the initial
11523 size is set to size request plus insets.
11524 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11525 (gtkWidgetGetDimensions): Override method.
11526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11527 (gtkWidgetGetDimensions): Override method. Returns size request plus
11530 2004-01-16 Andrew Haley <aph@redhat.com>
11532 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11533 * sysdep/i386/locks.h: Likewise.
11535 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11537 * java/awt/EventDispatchThread.java (run): Stop running when
11539 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11540 Reset the queue after transferring its contents.
11541 (push): Start a new dispatch thread if none is running.
11543 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11545 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11546 (doPolygon): set fill rule of polygon to
11547 WIND_EVEN_ODD by default.
11549 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11551 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11552 Implemented rendering hints related methods.
11553 (getDefaultHints): New helper method. Returns
11554 default rendering hints.
11555 (walkPath): changed to normalize path if
11556 the KEY_STROKE_CONTROL key is in "normalize" mode.
11557 (draw3DRect): changed coordinates of rectangle by +0.5
11558 if in "normalize" mode.
11560 2004-01-15 Tom Tromey <tromey@redhat.com>
11562 * Makefile.in: Rebuilt.
11563 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11564 (%.lo: %.java) Filter out StackTrace.lo.
11566 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11568 * configure.in: Add in AC_PREREQ(2.13)
11569 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11572 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11573 Tom Tromey <tromey@redhat.com>
11576 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11577 array to superclass.
11578 (init): Changed interface; add URLs here.
11579 (initialize): New static method.
11580 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11581 (_Jv_RunMain): ... not here.
11583 2004-01-14 Michael Koch <konqueror@gmx.de>
11585 * java/text/MessageFormat.java:
11586 Added descriptions to exceptions.
11587 This fixes PR libgcj/2429.
11589 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11591 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11592 (push): Make sure push is performed at the top of the thread stack.
11594 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11596 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11597 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11598 (native create): Add width and height parameters. Set text
11599 view's size request according to new parameters.
11600 (create): Calculate text view size based on current font's
11601 metrics and number of rows and columns. Set TextArea's font if
11602 not already set. Call native create.
11603 (getMinimumSize): Call minimumSize.
11604 (getPreferredSize): Call preferredSize.
11605 (getHScrollbarHeight): New method.
11606 (getVScrollbarWidth): New method.
11607 (minimumSize): Calculate minimum size based on scrollbar
11608 visibility, scrollbar sizes, font metrics and number of rows and
11610 (preferredSize): Likewise for preferred size.
11611 (gtkTextGetSize): Remove method.
11613 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11615 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11616 (initializeInsets): Remove method.
11617 (GtkComponentPeer): Initialize insets field. Remove call to
11619 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11621 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11623 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11625 (latestInsets): Remove field.
11626 (native create): Add insets parameter. Call
11627 window_get_frame_extents. Set the window's default size and
11628 size request based on its frame extents.
11629 (create): Initialize insets.
11630 (postInsetsChangedEvent): New method.
11631 (postConfigureEvent): Remove parameters top, left, bottom,
11632 right. Remove insets-related logic.
11633 (connectJObject): Handle property-notify-event.
11634 (window_get_frame_extents, request_frame_extents,
11635 property_notify_predicate, window_property_changed_cb): New
11637 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11638 (pre_event_handler): Remove insets-related logic for configure
11640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11641 Update postConfigureEvent signature.
11643 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11645 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11646 to handle Window "Closing" events.
11648 2004-01-13 David Jee <djee@redhat.com>
11650 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11651 (setBackground): New method. Children with no explicitly-set
11652 background will be repainted with the parent container's new
11655 2004-01-13 David Jee <djee@redhat.com>
11657 * Makefile.am: Add BitwiseXORComposite.java.
11658 * Makefile.in: Regenerated.
11659 * gcj/Makefile.in: Regenerated.
11660 * include/Makefile.in: Regenerated.
11661 * testsuite/Makefile.in: Regenerated.
11663 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11665 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11666 not show modal dialogs twice and so that it allows showing a modal
11667 dialog from another modal dialog.
11669 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11671 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11672 and run secondary dispatch thread to process event queue while this
11675 2004-01-12 Graydon Hoare <graydon@redhat.com>
11677 * gnu/java/awt/gtk/GdkGraphics2D.java
11678 (static): Check GtkToolkit before initializing static state.
11679 (Graphics2D): Don't construct transform with 0.5 unit offset.
11681 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11683 * gnu/java/awt/BitwiseXORComposite.java: Add.
11684 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11685 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11686 (BitwiseXORComposite): Remove inner class.
11688 2004-01-11 Michael Koch <konqueror@gmx.de>
11690 * gnu/java/lang/reflect/TypeSignature.java
11691 (getEncodingOfClass): Documentation fixed.
11692 (getClassForEncoding): Give class loader to Class.forName().
11693 Documentation fixed.
11695 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11697 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11699 2004-01-11 Michael Koch <konqueror@gmx.de>
11701 * javax/swing/undo/StateEditable.java
11702 (RCSID): Removed redundant modifiers.
11704 2004-01-10 Michael Koch <konqueror@gmx.de>
11706 * javax/print/attribute/EnumSyntax.java
11707 (getStringTable): Made protected.
11708 (getEnumValueTable): Likewise.
11709 * javax/print/attribute/standard/JobKOctetsProcessed.java
11710 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11711 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11712 (JobMediaSheetsCompleted): Made class final.
11713 * javax/print/attribute/standard/OutputDeviceAssigned.java
11714 (getName): Fixed typo.
11715 * javax/print/attribute/standard/RequestingUserName.java
11716 (serialVersionUID): Fixed value.
11718 2004-01-10 Michael Koch <konqueror@gmx.de>
11720 * javax/swing/plaf/basic/BasicButtonUI.java,
11721 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11722 javax/swing/plaf/basic/BasicListUI.java,
11723 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11724 javax/swing/plaf/basic/BasicPanelUI.java,
11725 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11726 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11727 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11728 javax/swing/plaf/basic/BasicViewportUI.java:
11729 Fixed import statements.
11731 2004-01-10 Michael Koch <konqueror@gmx.de>
11733 * gnu/java/awt/image/ImageDecoder.java
11734 (produce): Made public.
11735 * gnu/java/awt/peer/GLightweightPeer.java,
11736 gnu/java/awt/peer/gtk/GtkToolkit.java:
11739 2004-01-10 Michael Koch <konqueror@gmx.de>
11741 * javax/swing/JRadioButtonMenuItem.java,
11742 javax/swing/JSeparator.java,
11743 javax/swing/JSplitPane.java,
11744 javax/swing/JTextPane.java,
11745 javax/swing/JToolBar.java,
11746 javax/swing/ListCellRenderer.java,
11747 javax/swing/ListModel.java,
11748 javax/swing/MenuElement.java,
11749 javax/swing/OverlayLayout.java,
11750 javax/swing/ProgressMonitor.java,
11751 javax/swing/ProgressMonitorInputStream.java,
11752 javax/swing/Renderer.java,
11753 javax/swing/RootPaneContainer.java,
11754 javax/swing/Scrollable.java,
11755 javax/swing/SingleSelectionModel.java,
11756 javax/swing/ToolTipManager.java,
11757 javax/swing/ViewportLayout.java,
11758 javax/swing/event/DocumentEvent.java,
11759 javax/swing/event/SwingPropertyChangeSupport.java,
11760 javax/swing/event/TreeSelectionEvent.java,
11761 javax/swing/event/UndoableEditEvent.java,
11762 javax/swing/text/AbstractDocument.java,
11763 javax/swing/text/AttributeSet.java,
11764 javax/swing/text/Caret.java,
11765 javax/swing/text/ComponentView.java,
11766 javax/swing/text/DefaultCaret.java,
11767 javax/swing/text/DefaultEditorKit.java,
11768 javax/swing/text/Document.java,
11769 javax/swing/text/EditorKit.java,
11770 javax/swing/text/GapContent.java,
11771 javax/swing/text/Keymap.java,
11772 javax/swing/text/MutableAttributeSet.java,
11773 javax/swing/text/PlainEditorKit.java,
11774 javax/swing/text/Segment.java,
11775 javax/swing/text/Style.java,
11776 javax/swing/text/StyledDocument.java,
11777 javax/swing/text/StyledEditorKit.java,
11778 javax/swing/text/TextAction.java,
11779 javax/swing/text/View.java: Fixed import statements.
11781 2004-01-08 Graydon Hoare <graydon@redhat.com>
11783 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11784 djee@redhat.com's recent inverse ordering of Container elements.
11786 2004-01-09 Michael Koch <konqueror@gmx.de>
11788 * gnu/java/lang/ArrayHelper.java
11789 (equalsArray): Removed.
11791 2004-01-09 Andrew Haley <aph@redhat.com>
11793 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11794 a Utf8Const field before looking at its class.
11796 2004-01-09 Michael Koch <konqueror@gmx.de>
11798 * javax/print/attribute/standard/DocumentName.java,
11799 javax/print/attribute/standard/JobHoldUntil.java,
11800 javax/print/attribute/standard/JobMessageFromOperator.java,
11801 javax/print/attribute/standard/JobName.java,
11802 javax/print/attribute/standard/JobOriginatingUserName.java,
11803 javax/print/attribute/standard/OutputDeviceAssigned.java,
11804 javax/print/attribute/standard/PrinterInfo.java,
11805 javax/print/attribute/standard/PrinterLocation.java,
11806 javax/print/attribute/standard/PrinterMakeAndModel.java,
11807 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11808 javax/print/attribute/standard/PrinterName.java,
11809 javax/print/attribute/standard/RequestingUserName.java: New files.
11810 * Makefile.am (javax_source_files): Added new files.
11811 * Makefile.in: Regenerated.
11813 2004-01-09 Michael Koch <konqueror@gmx.de>
11815 * javax/swing/AbstractAction.java,
11816 javax/swing/AbstractSet.java,
11817 javax/swing/Action.java,
11818 javax/swing/ActionMap.java,
11819 javax/swing/BoundedRangeModel.java,
11820 javax/swing/ButtonModel.java,
11821 javax/swing/CellEditor.java,
11822 javax/swing/CellRendererPane.java,
11823 javax/swing/ComboBoxEditor.java,
11824 javax/swing/DebugGraphics.java,
11825 javax/swing/DefaultCellEditor.java,
11826 javax/swing/DefaultCellRenderer.java,
11827 javax/swing/DefaultComboBoxModel.java,
11828 javax/swing/DefaultDesktopManager.java,
11829 javax/swing/DefaultFocusManager.java,
11830 javax/swing/DefaultListCellRenderer.java,
11831 javax/swing/Icon.java,
11832 javax/swing/JButton.java,
11833 javax/swing/JCheckBoxMenuItem.java,
11834 javax/swing/JDesktopPane.java,
11835 javax/swing/JEditorPane.java,
11836 javax/swing/JMenu.java,
11837 javax/swing/JPanel.java,
11838 javax/swing/JPasswordField.java,
11839 javax/swing/JPopupMenu.java,
11840 javax/swing/JProgressBar.java: Reworked imports.
11842 2004-01-09 Michael Koch <konqueror@gmx.de>
11844 * java/awt/geom/PathIterator.java
11845 (WIND_EVEN_ODD): Removed redundant modifiers.
11846 (WIND_NON_ZERO): Likewise.
11847 (SEG_MOVETO): Likewise.
11848 (SEG_LINETO): Likewise.
11849 (SEG_QUADTO): Likewise.
11850 (SEG_CUBICTO): Likewise.
11851 (SEG_CLOSE): Likewise.
11852 * java/awt/image/SinglePixelPackedSampleModel.java:
11853 Removed redundant semicolon.
11854 * java/io/ObjectInputStream.java
11855 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11856 * java/util/logging/Filter.java
11857 (isLoggable): Removed redundant modifier.
11858 * java/util/logging/LogManager.java:
11859 Removed redundant semicolon.
11860 * java/util/logging/XMLFormatter.java
11861 (format): Removed unused variable "key".
11863 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11865 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11866 New name for the former setFile native method.
11867 (setFile): New method.
11868 (setDirectory): Implemented.
11869 (connectSignals): New native method.
11870 (setFilenameFilter): Improve comment.
11871 (getGraphics): Comment.
11872 (gtkHideFileDialog): New method.
11873 (gtkDisposeFileDialog): New method.
11874 (gtkSetFilename): New method.
11875 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11876 for FileDialog for now.
11877 (hide): New method.
11878 (dispose): New method.
11879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11880 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11881 deprecated creation functions. Make dialog modal. Add it to the
11883 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11885 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11887 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11889 (window_closed): New function.
11890 (ok_clicked): New function.
11891 (cancel_clicked): New function.
11893 2004-01-08 Michael Koch <konqueror@gmx.de>
11895 * javax/swing/JLayeredPane.java: Revert changes to standard
11896 boilerplate, reworked imports.
11898 2004-01-07 Tom Tromey <tromey@redhat.com>
11901 * verify.cc (state::merge): Copy changed locals out of subroutine
11903 (state::FLAG_CHANGED): New const.
11904 (state::FLAG_UNUSED): Likewise.
11905 (state::local_changed): Removed. Updated all users.
11906 (state::flags): New field.
11907 (state::merge): Added jsr_semantics argument, more logic.
11908 (push_jump_merge): Added jsr_semantics argument.
11909 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11910 merging through the jsr instruction.
11912 2004-01-07 Tom Tromey <tromey@redhat.com>
11914 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11917 2004-01-07 Graydon Hoare <graydon@redhat.com>
11919 * java/awt/Container.java (LightweightDispatcher): Implement.
11920 (visitChild): Reuse graphics object.
11921 (dispatchEventImpl): Optionally dispatch to lightweight.
11922 (addNotifyContainerChildren): Build LightweightDispatcher.
11924 2004-01-07 David Jee <djee@redhat.com>
11926 * java/awt/Container.java
11927 (update): Clear only the clipped region, instead of clearing the
11929 (visitChildren): Visit children in descending order.
11931 2004-01-07 Michael Koch <konqueror@gmx.de>
11933 * java/lang/reflect/Array.java: Merged documentation with classpath.
11935 2004-01-07 Michael Koch <konqueror@gmx.de>
11937 * java/text/CollationElementIterator.java
11938 (textIndex): Renamed from index.
11939 * java/text/CollationKey.java
11940 (collator): New member.
11941 (CollationKey): New argument for parent collator.
11942 (equals): Check for same collator, source string and key array.
11943 * java/text/RuleBasedCollator.java:
11945 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11947 (getCollationElementIterator): Rewritten.
11948 (getCollationKey): Added new argument to CollationKey constructor.
11950 2004-01-07 Michael Koch <konqueror@gmx.de>
11952 * gnu/java/nio/DatagramChannelImpl.java
11953 (blocking): Removed.
11954 (DatagramChannelImpl): Call configureBlocking().
11955 (implConfigureBlocking): Dont initialize blocking.
11956 * gnu/java/nio/ServerSocketChannelImpl.java
11957 (blocking): Removed.
11958 (ServerSocketChannelImpl): Call configureBlocking().
11959 (implConfigureBlocking): Dont initialize blocking.
11960 * gnu/java/nio/SocketChannelImpl.java
11961 (blocking): Removed.
11962 (SocketChannelImpl): Call configureBlocking().
11963 (implConfigureBlocking): Dont initialize blocking.
11964 (connect): Use isBlocking().
11965 * java/nio/channels/spi/AbstractSelectableChannel.java
11966 (configureBlocking): Use blockingLock() instead of LOCK.
11967 Set blocking after successfully called implConfigureBlocking().
11968 (register): Use blockingLock() instead of LOCK.
11970 2004-01-07 Michael Koch <konqueror@gmx.de>
11972 * java/net/ServerSocket.java (isBound): Fixed documentation.
11974 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11976 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11977 (changeEvent): Create event object on demand.
11978 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11979 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11980 fireStateChanged): Re-written.
11981 * javax/swing/event/EventListenerList.java: Reformatted, document
11983 (toString): Implemented.
11984 (getListeners): Re-written.
11985 (remove): Re-written.
11987 (NO_LISTENERS): New singleton field.
11988 (listenerList): Declare as transient; document.
11989 (serialVersionUID): Document.
11990 (getListenerCount(Class)): More efficient implementation,
11991 also accepts null argument. Improve Javadoc.
11992 (getListenerCount()): Remove unnecessary cast; docfix.
11993 * javax/swing/undo/UndoableEditSupport.java:
11994 Re-format, document.
11995 (UndoableEditSupport): Set realSource field. Improve documentation.
11996 (_postEdit): Iterate over cloned listener vector.
11997 (toString): Don't emit realSource.
11998 (beginUpdate, endUpdate): Support nested updates.
11999 (postEdit): Use compound edit if present.
12001 2004-01-06 Graydon Hoare <graydon@redhat.com>
12003 * java/awt/Container.java (swapComponents): Add forgotten
12004 function, required for JLayeredPane change.
12006 2004-01-06 Michael Koch <konqueror@gmx.de>
12008 * java/text/CollationElementIterator.java: Reformated.
12009 (CollationElementIterator): Changed order of arguments.
12010 * java/text/RuleBasedCollator.java
12011 (RuleBasedCollator): Merged class documentation.
12012 (CollationElement): Added documentation.
12013 (compare): Reformated, renamed arguments.
12014 (equals): Likewise.
12015 (getCollationElementIterator): Likewise.
12016 (getCollationKey): Likewise.
12018 2004-01-06 Graydon Hoare <graydon@redhat.com>
12020 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12022 2004-01-06 Michael Koch <konqueror@gmx.de>
12024 * gnu/java/net/protocol/file/Connection.java:
12025 Reformated copyright.
12026 (hdrHash): Removed.
12028 (gotHeaders): Removed.
12029 (getHeaderField): Removed.
12030 (getHeaderField): Removed.
12031 (getHeaderFieldKey): Removed.
12033 (getField): Removed.
12034 (getHeaders): Removed.
12036 2004-01-06 Michael Koch <konqueror@gmx.de>
12038 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12039 javax/print/attribute/standard/DateTimeAtCreation.java,
12040 javax/print/attribute/standard/DateTimeAtProcessing.java,
12041 javax/print/attribute/standard/JobImpressionsCompleted.java,
12042 javax/print/attribute/standard/JobKOctets.java,
12043 javax/print/attribute/standard/JobKOctetsProcessed.java,
12044 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12045 javax/print/attribute/standard/JobPrioritySupported.java: New files.
12046 * Makefile.am (javax_source_files): Added new files.
12047 * Makefile.in: Regenerated.
12049 2004-01-06 Michael Koch <konqueror@gmx.de>
12051 * java/net/URLConnection.java
12052 (contentHandler): Removed.
12054 (getHeaderFields): Return an empty map instead of null.
12055 (getContent): Connect if needed, renamed "cType" to "type" and
12056 "contentHandler" to "ch" and made it a local variable.
12057 (getPermission): Don't use package in class name.
12058 (setDefaultRequestProperty): Fixed typo in documentation.
12059 (initializeDateFormats): Made locale a local variable.
12061 2004-01-06 Michael Koch <konqueror@gmx.de>
12063 * java/lang/Package.java
12064 (getPackage): Get the current class loader directly.
12065 * java/lang/SecurityManager.java
12066 (currentLoadedClass): Dont iterate over class contexts.
12067 (classLoaderDepth): Don't check class loaders if everything is allowed.
12069 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12072 (pre_event_handler): Set all insets to 0 when a Configure event
12073 is received for a GtkPlug.
12074 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12075 Make handle long, not int.
12076 (EmbeddedWindow()): New constructor.
12077 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
12079 (setHandle): New method.
12080 (getHandle): Return long, not int.
12081 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12083 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12084 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12085 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12086 argument to GdkNativeWindow.
12087 (construct): New method.
12088 (embed): New method.
12090 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12091 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12092 (create(int, int)): New method.
12093 (create): Call new create method.
12094 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12096 (childResized): Remove native implementation. Implement in
12098 (getHScrollbarHeight, getVScrollbarWidth): Call
12099 gtk_widget_size_request to get scrollbar dimensions.
12100 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12101 call getVScrollbarWidth and getHScrollbarHeight when vertical
12102 and horizontal scrollbars respectively are needed.
12103 (doLayout): Enlarge child if it is smaller than the viewport.
12105 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12107 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12108 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12109 argument as per spec.
12111 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12113 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12115 (remove): Ditto. Also, Check for valid argument.
12116 (removeAll): Use peer interface method.
12117 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12118 native add function.
12119 (nativeRemove): New name for native remove function.
12120 (getHistory): New native function.
12121 (constructor): Generate ItemEvent.
12122 (add): Ditto, if selection is changed.
12123 (remove): Ditto, ditto.
12124 (removeAll): Add implementation.
12125 (handleEvent): Remove. Dead code.
12126 (choicePostItemEvent): Add comment.
12127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12128 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12129 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12130 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12131 comments and fix condition to change selection.
12132 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12133 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12134 remove all capability.
12135 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12136 (item_activate): Add cast to remove compiler warning.
12138 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12141 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12142 (getPreferredSize): Call preferredSize.
12143 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12144 (getMinimumSize): Call minimumSize.
12145 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12146 (gtkWidgetGetDimensions): Return the peer widget's current size
12148 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12149 natural size request.
12151 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12153 Thanks to Brian Gough <bjg@network-theory.com>
12154 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12155 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12157 2004-01-04 Matthias Klose <doko@debian.org>
12159 * aclocal.m4: Rebuilt using "aclocal -I .".
12160 * configure: Rebuilt.
12162 2004-01-03 Per Bothner <per@bothner.com>
12164 * java/util/Date.java (parse): Fix a number of problems.
12165 (skipParens): Remove no-longer-needed method.