1 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
3 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
6 2004-10-13 Andrew Haley <aph@redhat.com>
8 * interpret.cc (_Jv_InterpMethod::run): Initialize
9 _Jv_StartOfInterpreter.
10 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
11 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
12 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
13 _Unwind_FindEnclosingFunction to discover whether PC is within the
16 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
19 * testsuite/libjava.lang/md5test.java: New file.
20 * testsuite/libjava.lang/md5test.out: Likewise.
21 * testsuite/libjava.lang/shatest.java: Likewise.
22 * testsuite/libjava.lang/shatest.out: Likewise.
24 2004-10-11 Richard Henderson <rth@redhat.com>
26 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
27 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
29 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
31 * java/util/Calendar.java (set): Invalidate DST_OFFSET
32 field as a DST boundary may have been crossed.
33 * java/util/GregorianCalendar.java (add): Throw
34 IllegalArgumentException on attempt to add to DST_OFFSET or
35 ZONE_OFFSET fields. Update javadoc.
37 2004-10-09 Michael Koch <konqueror@gmx.de>
39 * java/io/CharArrayWriter.java
40 (resize): Removed redundant 'final' modifier.
41 * java/io/DataInputStream.java
42 (readFully): Throw IndexOutOfBoundsException of len < 0.
43 * java/io/FileDescriptor.java,
44 java/io/FileInputStream.java,
45 java/io/FileOutputStream.java,
46 java/io/ObjectOutputStream.java,
47 java/io/ObjectStreamClass.java,
48 java/io/PipedInputStream.java,
49 java/io/RandomAccessFile.java:
50 Reorganized import statements.
52 2004-10-09 Michael Koch <konqueror@gmx.de>
54 * gnu/java/rmi/rmic/RMIC.java,
55 gnu/java/rmi/server/RMIHashes.java,
56 gnu/java/rmi/server/RMIObjectInputStream.java,
57 gnu/java/rmi/server/UnicastConnection.java,
58 gnu/java/rmi/server/UnicastConnectionManager.java,
59 gnu/java/rmi/server/UnicastRemoteCall.java,
60 gnu/java/rmi/server/UnicastServerRef.java:
61 Reworked import statements and fixed file headers.
63 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
65 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
69 2004-09-30 Tom Tromey <tromey@redhat.com>
71 * java/text/MessageFormat.java (Field): Constructor now
74 2004-09-30 Tom Tromey <tromey@redhat.com>
76 * javax/crypto/MacSpi.java: Fixed typo.
78 2004-09-30 Michael Koch <konqueror@gmx.de>
80 * java/net/InetAddress.java: Reformatted.
81 (loopback): Initialize with Inet4Address object.
82 (static): Initialize ANY_IF with Inet4Address object.
83 (InetAddress): Removed unused package-private constructor.
85 2004-09-30 Michael Koch <konqueror@gmx.de>
87 * java/beans/Beans.java,
88 java/beans/EventHandler.java,
89 java/beans/EventSetDescriptor.java,
90 java/beans/Introspector.java,
91 java/beans/PropertyEditorManager.java,
92 java/beans/beancontext/BeanContext.java,
93 java/beans/beancontext/BeanContextChild.java,
94 java/beans/beancontext/BeanContextChildSupport.java,
95 java/beans/beancontext/BeanContextMembershipEvent.java:
96 Reordered import statements and removed redundant modifiers.
98 2004-09-29 Tom Tromey <tromey@redhat.com>
101 * Makefile.in: Rebuilt.
102 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
104 (all_property_files): New macro.
106 * Makefile.in: Rebuilt.
107 * Makefile.am (ordinary_java_source_files): Re-sorted.
108 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
110 2004-09-28 Tom Tromey <tromey@redhat.com>
112 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
115 * Makefile.am (libgcj.la): Restored.
116 * Makefile.in: Rebuilt.
118 2004-09-28 Michael Koch <konqueror@gmx.de>
120 * java/net/URLConnection.java: Reformatted.
121 * java/net/URLClassLoader.java: Reformatted.
122 (getContent): Reordered return of content.
123 (getContentHandler): Don't check for null explicitely.
125 2004-09-27 Michael Koch <konqueror@gmx.de>
127 * java/io/BufferedInputStream.java
128 (BufferedInputStream): Added Jeroen Frijters to authors.
129 (count): Don't explicitely initialize with default value.
131 (marklimit): Likewise.
132 (read): Changed boolean expression to match GNU classpath' version.
133 (reset): Add proper message to exception.
134 (skip): Check for closed stream.
137 2004-09-26 Per Bothner <per@bothner.com>
139 * prims.cc (unblock_signal): Annotate signum with __unused__ to
140 avoid warnings in the non-POSIX_VERSION case.
141 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
142 so place it inside an #if block.
143 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
144 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
145 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
146 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
148 2004-09-26 Per Bothner <per@bothner.com>
150 * prims.cc (process_gcj_properties): Optimization.
152 2004-09-26 Per Bothner <per@bothner.com>
154 * java/util/Collections.java (sort): Copy from array in forwards
155 order, rather than reverse order which may be much less efficient.
157 2004-09-26 Mark Wielaard <mark@klomp.org>
159 * java/lang/System.java (properties): Make package private.
160 * java/lang/Throwable.java (StaticData.nl): Initialize through
161 directly accessing System.properties.getProperty().
163 * java/lang/Throwable.java (nl): Remove static field.
164 (StaticData): New private static inner class.
165 (stackTraceStringBuffer): Use StaticData.nl.
167 2004-09-26 Casey Marshall <csm@gnu.org>
169 * java/security/ProtectionDomain.java
170 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
173 * java/security/SecureClassLoader.java
174 (defineClass): make protection domain dynamically bound.
175 (getPermissions): call `getCurrentPolicy' to avoid permission
178 2004-09-25 Mark Wielaard <mark@klomp.org>
180 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
181 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
182 * Makefile.in: Regenerated.
184 * gcj/javaprims.h: Regenerated.
186 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
187 (getDefaultTimeZone): Make package private. Check that GMToffset
188 contains at least one digit.
189 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
191 * util/VMTimeZone.java: New file with above methods.
193 * java/util/natTimeZone.cc: Removed (renamed).
194 * java/util/natVMTimeZone.cc: Added (renamed).
196 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
198 * java/util/TimeZone.java
199 (getDefaultTimeZone): Fixed test to distinguish between hours and
200 minutes in specified timezone.
202 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
204 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
205 handling of default package. (generate): Removed confused comments
206 and code about making Method and Field accessible.
208 2004-09-25 Tom Tromey <tromey@redhat.com>
211 * testsuite/libjava.compile/pr17500.java: New file.
213 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
214 Mark Wielaard <mark@klomp.org>
216 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
217 * gnu/regexp/RETokenLookAhead.java: New file.
219 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
220 * Makefile.in: Regenerated.
222 2004-09-25 Michael Koch <konqueror@gmx.de>
224 * java/io/ObjectStreamField.java:
225 Removed unused import statement.
227 2004-09-24 Tom Tromey <tromey@redhat.com>
230 * testsuite/libjava.compile/pr15656.xfail: New file.
231 * testsuite/libjava.compile/pr15656.java: new file.
234 * testsuite/libjava.lang/pr16789.out: New file.
235 * testsuite/libjava.lang/pr16789.java: New file.
237 2004-09-24 Andrew Haley <aph@redhat.com>
240 * testsuite/libjava.compile/AssertBug.java: New file.
242 2004-09-24 Casey Marshall <csm@gnu.org>
244 * java/util/PropertyPermissionCollection.java
245 (implies): avoid infinite loop.
247 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
249 * javax/security/auth/PrivateCredentialPermission.java
250 (PrivateCredentialPermission): added serialization UID
253 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
255 * gnu/java/rmi/server/UnicastServer.java
256 (incomingMessageCall): Added code to handle Errors.
257 * gnu/java/rmi/server/UnicastServerRef.java
258 (incomingMessageCall): Added code to handle Errors.
261 2004-09-24 Tom Tromey <tromey@redhat.com>
263 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
264 (definedPackages): Likewise.
266 2004-09-24 Michael Koch <konqueror@gmx.de>
268 * java/io/ObjectInputStream.java:
271 2004-09-24 Casey Marshall <csm@gnu.org>
273 * java/io/ObjectInputStream.java (callReadMethod): re-throw
274 `ClassNotFoundException'.
276 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
278 * java/io/ObjectInputStream.java (readObject): Delegate instantation
279 of Externalizable classes to ObjectStreamClass.
280 * java/io/ObjectStreamClass.java (newInstance): New method to
281 instantiate Externalizable (while ignoring the accessibility of
282 the constructor). (constructor): New field to cache the constructor.
284 2004-09-24 Mark Wielaard <mark@klomp.org>
286 * java/net/URL.java (systemClassLoader): New static field.
287 (getURLStreamHandler): Always use system/application classloader
288 for finding URLStreamhandler. Remove unecessary instanceof checks.
290 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
293 (set): This method now matches the behaviour of the JDK.
294 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
296 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
298 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
300 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
302 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
303 Don't set authority if host isn't specified.
305 2004-09-24 Michael Koch <konqueror@gmx.de>
307 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
308 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
309 * gnu/java/nio/VMPipe.java,
310 gnu/java/nio/VMSelector.java:
312 * gnu/java/nio/natPipeImplEcos.cc,
313 gnu/java/nio/natPipeImplPosix.cc,
314 gnu/java/nio/natPipeImplWin32.cc:
316 * gnu/java/nio/natSelectorImplEcos.cc,
317 gnu/java/nio/natSelectorImplPosix.cc,
318 gnu/java/nio/natSelectorImplWin32.cc:
319 Ported to VMSelector.
320 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
321 gnu/java/nio/VMSelector.java.
322 * Makefile.in: Regenerated.
324 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
326 * java/lang/StackTraceElement.java
327 (className): Renamed field to declaringClass to be compatible
328 with Sun serialization format.
330 2004-09-23 Michael Koch <konqueror@gmx.de>
332 * java/applet/AppletContext.java,
333 java/applet/Applet.java,
334 java/applet/AppletStub.java,
335 java/applet/AudioClip.java:
336 Jalopied and checkstyle clean.
338 2004-09-23 Mark Wielaard <mark@klomp.org>
340 * java/util/Collections.java
341 (binarySearch(List, Object, Comparator)): Explicitly
342 reverse direction in list iterator.
343 (rotate): Just return when list is empty.
345 2004-09-23 Tom Tromey <tromey@redhat.com>
348 * testsuite/libjava.compile/pr17329.java: New file.
351 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
354 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
356 * Makefile.am: Run aclocal with -I ../config
357 * acinclude.m4: Delete macros picked up from ../config and tidy.
358 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
359 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
360 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
362 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
364 * aclocal.m4: Regenerate with aclocal 1.9.2.
365 * configure: Regenerate.
366 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
367 * include/Makefile.in, testsuite/Makefile.in: Likewise.
369 2004-09-22 David Daney <ddaney@avtrex.com>
372 * java/net/URL.java (URL): Copy userInfo from context.
373 (getUserInfo): Return cached userInfo if present.
375 2004-09-22 Tom Tromey <tromey@redhat.com>
378 * mauve-libgcj: Enable java.lang.Character tests.
380 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
382 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
384 (lib_org_ietf_jgss_la_LIBADD): Likewise.
385 * Makefile.in: Regenerated.
387 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
389 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
390 * configure: Regenerate.
391 * include/config.h.in: Likewise.
392 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
396 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
397 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
402 2004-09-22 Tom Tromey <tromey@redhat.com>
405 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
407 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
409 (read()): New overload.
411 2004-09-21 Tom Tromey <tromey@redhat.com>
413 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
416 2004-09-21 Michael Koch <konqueror@gmx.de>
418 * java/net/Socket.java
419 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
421 2004-09-21 Casey Marshall <csm@gnu.org>
423 * javax/crypto/MacSpi.java (clone): Provide meaningful
426 2004-09-21 Tom Tromey <tromey@redhat.com>
429 * Makefile.in: Rebuilt.
430 * Makefile.am (MOSTLYCLEANFILES): Removed.
431 (mostlyclean-local): Remove header files.
433 2004-09-21 Casey Marshall <csm@gnu.org>
435 * java/security/cert/X509CRLSelector.java:
436 (match): remove unreachable try-catch clauses.
437 Reported by: Dalibor Topic <robilad@kaffe.org>
439 2004-09-21 Mark Wielaard <mark@klomp.org>
441 * java/util/TreeMap.java (root): Don't initialize.
442 (TreeMap(Comparator)): Call fabricateTree(0).
443 (fabricateTree): Initialize root and size when count is 0.
445 2004-09-21 Sven de Marothy <sven@physto.se>
447 * java/nio/ByteBuffer.java (hashCode): Implemented.
448 * java/nio/CharBuffer.java: Likewise.
449 * java/nio/DoubleBuffer.java: Likewise.
450 * java/nio/FloatBuffer.java: Likewise.
451 * java/nio/LongBuffer.java: Likewise.
452 * java/nio/IntBuffer.java: Likewise.
453 * java/nio/ShortBuffer.java: Likewise.
455 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
457 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
459 2004-09-21 Michael Koch <konqueror@gmx.de>
461 * javax/net/ssl/SSLServerSocket.java:
462 Removed comment about "Do not edit this file, it's generated.".
464 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
466 Import the big Crypto/Jessie/Security merge from Classpath.
468 * Makefile.am: Add imported files.
469 * Makefile.in: Regenerate.
471 2004-08-14 Casey Marshall <csm@gnu.org>
473 The Big Crypto Merge of 2004.
475 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
478 Files imported from GNU Crypto.
479 * javax/crypto/BadPaddingException.java
480 * javax/crypto/Cipher.java
481 * javax/crypto/CipherInputStream.java
482 * javax/crypto/CipherOutputStream.java
483 * javax/crypto/CipherSpi.java
484 * javax/crypto/EncryptedPrivateKeyInfo.java
485 * javax/crypto/ExemptionMechanism.java
486 * javax/crypto/ExemptionMechanismException.java
487 * javax/crypto/ExemptionMechanismSpi.java
488 * javax/crypto/IllegalBlockSizeException.java
489 * javax/crypto/KeyAgreement.java
490 * javax/crypto/KeyAgreementSpi.java
491 * javax/crypto/KeyGenerator.java
492 * javax/crypto/KeyGeneratorSpi.java
493 * javax/crypto/Mac.java
494 * javax/crypto/MacSpi.java
495 * javax/crypto/Makefile.am
496 * javax/crypto/NoSuchPaddingException.java
497 * javax/crypto/NullCipher.java
498 * javax/crypto/NullCipherImpl.java
499 * javax/crypto/SealedObject.java
500 * javax/crypto/SecretKey.java
501 * javax/crypto/SecretKeyFactory.java
502 * javax/crypto/SecretKeyFactorySpi.java
503 * javax/crypto/ShortBufferException.java
504 * javax/crypto/interfaces/DHKey.java
505 * javax/crypto/interfaces/DHPrivateKey.java
506 * javax/crypto/interfaces/DHPublicKey.java
507 * javax/crypto/interfaces/PBEKey.java
508 * javax/crypto/spec/DESKeySpec.java
509 * javax/crypto/spec/DESedeKeySpec.java
510 * javax/crypto/spec/DHGenParameterSpec.java
511 * javax/crypto/spec/DHParameterSpec.java
512 * javax/crypto/spec/DHPrivateKeySpec.java
513 * javax/crypto/spec/DHPublicKeySpec.java
514 * javax/crypto/spec/IvParameterSpec.java
515 * javax/crypto/spec/PBEKeySpec.java
516 * javax/crypto/spec/PBEParameterSpec.java
517 * javax/crypto/spec/RC2ParameterSpec.java
518 * javax/crypto/spec/RC5ParameterSpec.java
519 * javax/crypto/spec/SecretKeySpec.java
520 * javax/security/auth/AuthPermission.java
521 * javax/security/auth/DestroyFailedException.java
522 * javax/security/auth/Destroyable.java
523 * javax/security/auth/Policy.java
524 * javax/security/auth/PrivateCredentialPermission.java
525 * javax/security/auth/RefreshFailedException.java
526 * javax/security/auth/Refreshable.java
527 * javax/security/auth/Subject.java
528 * javax/security/auth/SubjectDomainCombiner.java
529 * javax/security/auth/callback/Callback.java
530 * javax/security/auth/callback/CallbackHandler.java
531 * javax/security/auth/callback/ChoiceCallback.java
532 * javax/security/auth/callback/ConfirmationCallback.java
533 * javax/security/auth/callback/LanguageCallback.java
534 * javax/security/auth/callback/NameCallback.java
535 * javax/security/auth/callback/PasswordCallback.java
536 * javax/security/auth/callback/TextInputCallback.java
537 * javax/security/auth/callback/TextOutputCallback.java
538 * javax/security/auth/callback/UnsupportedCallbackException.java
539 * javax/security/auth/login/AccountExpiredException.java
540 * javax/security/auth/login/AppConfigurationEntry.java
541 * javax/security/auth/login/Configuration.java
542 * javax/security/auth/login/CredentialExpiredException.java
543 * javax/security/auth/login/FailedLoginException.java
544 * javax/security/auth/login/LoginContext.java
545 * javax/security/auth/login/LoginException.java
546 * javax/security/auth/login/NullConfiguration.java
547 * javax/security/auth/x500/X500PrivateCredential.java
548 * javax/security/sasl/AuthenticationException.java
549 * javax/security/sasl/AuthorizeCallback.java
550 * javax/security/sasl/RealmCallback.java
551 * javax/security/sasl/RealmChoiceCallback.java
552 * javax/security/sasl/Sasl.java
553 * javax/security/sasl/SaslClient.java
554 * javax/security/sasl/SaslClientFactory.java
555 * javax/security/sasl/SaslException.java
556 * javax/security/sasl/SaslServer.java
557 * javax/security/sasl/SaslServerFactory.java
558 * org/ietf/jgss/ChannelBinding.java
559 * org/ietf/jgss/GSSContext.java
560 * org/ietf/jgss/GSSCredential.java
561 * org/ietf/jgss/GSSException.java
562 * org/ietf/jgss/GSSManager.java
563 * org/ietf/jgss/GSSName.java
564 * org/ietf/jgss/MessageProp.java
565 * org/ietf/jgss/Oid.java
566 * org/ietf/jgss/MessagesBundle.properties
568 Files imported from Jessie <http://www.nongnu.org/jessie/>
569 * javax/net/ServerSocketFactory.java
570 * javax/net/SocketFactory.java
571 * javax/net/VanillaServerSocketFactory.java
572 * javax/net/VanillaSocketFactory.java
573 * javax/net/ssl/HandshakeCompletedEvent.java
574 * javax/net/ssl/HandshakeCompletedListener.java
575 * javax/net/ssl/HostnameVerifier.java
576 * javax/net/ssl/HttpsURLConnection.java
577 * javax/net/ssl/KeyManager.java
578 * javax/net/ssl/KeyManagerFactory.java
579 * javax/net/ssl/KeyManagerFactorySpi.java
580 * javax/net/ssl/ManagerFactoryParameters.java
581 * javax/net/ssl/SSLContext.java
582 * javax/net/ssl/SSLContextSpi.java
583 * javax/net/ssl/SSLException.java
584 * javax/net/ssl/SSLHandshakeException.java
585 * javax/net/ssl/SSLKeyException.java
586 * javax/net/ssl/SSLPeerUnverifiedException.java
587 * javax/net/ssl/SSLPermission.java
588 * javax/net/ssl/SSLProtocolException.java
589 * javax/net/ssl/SSLServerSocket.java
590 * javax/net/ssl/SSLServerSocketFactory.java
591 * javax/net/ssl/SSLSession.java
592 * javax/net/ssl/SSLSessionBindingEvent.java
593 * javax/net/ssl/SSLSessionBindingListener.java
594 * javax/net/ssl/SSLSessionContext.java
595 * javax/net/ssl/SSLSocket.java
596 * javax/net/ssl/SSLSocketFactory.java
597 * javax/net/ssl/TrivialHostnameVerifier.java
598 * javax/net/ssl/TrustManager.java
599 * javax/net/ssl/TrustManagerFactory.java
600 * javax/net/ssl/TrustManagerFactorySpi.java
601 * javax/net/ssl/X509KeyManager.java
602 * javax/net/ssl/X509TrustManager.java
603 * javax/security/cert/Certificate.java
604 * javax/security/cert/CertificateEncodingException.java
605 * javax/security/cert/CertificateException.java
606 * javax/security/cert/CertificateExpiredException.java
607 * javax/security/cert/CertificateNotYetValidException.java
608 * javax/security/cert/CertificateParsingException.java
609 * javax/security/cert/X509CertBridge.java
610 * javax/security/cert/X509Certificate.java
612 2004-08-20 Casey Marshall <csm@gnu.org>
614 * java/security/cert/X509CRLSelector.java: New file.
615 * java/security/cert/X509CertSelector.java: New file.
617 2004-09-15 Michael Koch <konqueror@gmx.de>
619 * gnu/java/net/protocol/file/Handler.java
620 (openConnection): Don't throw exception if host part for file: URI is
621 present. setURL() keeps file: protocol if ftp: protocol is not
624 2004-09-14 Richard Henderson <rth@redhat.com>
626 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
629 2004-09-12 Tom Tromey <tromey@redhat.com>
631 * javax/naming/CompoundName.java (CompoundName): Don't check for
632 separator in "flat" case.
634 2004-09-12 Michael Koch <konqueror@gmx.de>
636 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
637 AM_CONFIG_HEADER by AC_CONFIG_FILES.
638 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
641 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
644 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
645 handle in newly-allocated _Jv_Thread_t.
646 (_Jv_ThreadDestroyData): Close thread handle.
647 (_Jv_ThreadStart): Remove obsolete comment.
648 Store handle of newly-created thread in _Jv_Thread_t.
649 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
650 before including <windows.h>
651 #define _Jv_HaveCondDestroy
653 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
655 * java/lang/natThread.cc (finalize_native): Destroy
656 join conditional variable and mutex if these destroy
657 operations are supported.
659 2004-09-10 Dalibor Topic <robilad@kaffe.org>
661 * gnu/java/net/protocol/file/Connection.java (permission): New field.
662 (DEFAULT_PERMISSION): New constant.
663 (Connection): Create a FilePermission with permission to read file.
665 2004-09-10 Michael Koch <konqueror@gmx.de>
667 * gnu/java/net/protocol/file/Connection.java
668 (getLastModified): Moved around.
669 (getPermission): Return stored permission.
671 2004-09-10 Michael Koch <konqueror@gmx.de>
673 * Makefile.in: Regenerate.
675 2004-09-10 Michael Koch <konqueror@gmx.de>
677 * Makefile.am: Reverted accidently commited stuff.
678 * configure: Regenerated.
680 2004-09-10 Michael Koch <konqueror@gmx.de>
682 * gnu/java/net/protocol/file/Connection.java
683 (lineSeparator): Made non-final.
685 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
686 instead of StringBufferInputStream.
688 2004-09-10 Michael Koch <konqueror@gmx.de>
690 * gnu/java/net/protocol/file/Connection.java
691 (connect): Handle file is a directory case.
693 2004-09-10 Michael Koch <konqueror@gmx.de>
696 (xlib_includes): Removed.
697 (AM_CPPFLAGS): Renamed from INCLUDES.
698 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
699 * Makefile.in: Regenerate.
701 2004-09-09 Michael Koch <konqueror@gmx.de>
703 * java/security/ProtectionDomain.java,
704 * java/util/PropertyPermissionCollection.java:
705 Fixed javadocs all over.
707 2004-09-09 Sven de Marothy <sven@physto.se>
709 Patch from David Gilbert <david.gilbert@object-refinery.com>
710 * java/lang/Comparable.java: Fixed documentation errors.
711 * java/util/Arrays.java: Likewise.
713 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
715 * java/net/Inet4Address.java
716 (Inet4Address): Added comment to serialization UID.
717 * java/text/Format.java
718 (Format): Added comment to serialization UID.
720 2004-09-09 Michael Koch <konqueror@gmx.de>
722 * java/lang/System.java
723 (err): Fixed javadoci to point to setErr() and not setOut().
725 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
727 (normalizePath): Added special case for windows systems.
729 2004-09-09 Michael Koch <konqueror@gmx.de>
732 (dupSeparator): Made private.
733 (File(URI)): New constructor.
734 (getParentFile): Fixed javadoc.
735 (createTempFile): Reformated.
736 (setReadOnly): Added comment.
737 (deleteOnExit): Merged javadoc with classpath version.
739 2004-09-09 Michael Koch <konqueror@gmx.de>
741 * Makefile.am: Don't try to include deps.mk.
742 * Makefile.in: Regenerated.
744 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
746 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
748 * configure: Rebuilt.
750 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
752 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
753 Changed pfn from static local to local.
755 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
756 H.J. Lu <hongjiu.lu@intel.com>
759 * Makefile.am (GCJCOMPILE): Remove definition.
760 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
761 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
762 * Makefile.in: Rebuilt.
764 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
766 * configure.ac (enable-gc-debug): Update help for new syntax.
767 * configure: Regenerate.
769 2004-09-03 David Daney <ddaney@avtrex.com>
771 * include/mips-signal.h: Update copyright.
773 2004-09-03 David Daney <ddaney@avtrex.com>
775 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
776 * include/mips-signal.h: Added HANDLE_FPE support.
778 2004-08-31 Michael Koch <konqueror@gmx.de>
780 * javax/swing/plaf/basic/BasicTextAreaUI.java
781 (create): New method.
782 * javax/swing/text/DefaultHighlighter.java
783 (DefaultHighlightPainter.debugRect): Removed.
784 * javax/swing/text/StyleContext.java
785 (DEFAULT_STYLE): New field.
787 2004-08-31 Michael Koch <konqueror@gmx.de>
789 * javax/swing/plaf/basic/BasicLookAndFeel.java
790 (initComponentDefaults): Add keybindings for selection.backward and
791 selection-forward for text components.
792 * javax/swing/plaf/basic/BasicTextUI.java
793 (paintSafely): Paint highlight only when something is actually
795 * javax/swing/text/DefaultCaret.java
796 (handleHighlight): New method.
797 (setSelectionVisible): Don't do anything when nothing changes.
799 (moveDot): Reimplemented. Handle highlight.
800 (setDot): Set mark too. Handle highlight.
801 (getSelectionPainter): New method.
802 * javax/swing/text/DefaultEditorKit.java
803 (defaultActions): Added new actions for text selection.
804 * javax/swing/text/DefaultHighlighter.java
805 (DefaultHighlightPainter): New inner class.
806 (DefaultPainter): New field.
807 (paint): Implemented.
808 * javax/swing/text/PlainView.java
809 (paint): Don't draw background here again.
810 * javax/swing/text/Utilities.java
811 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
812 (drawTabbedText): Likewise.
814 2004-08-31 Graydon Hoare <graydon@redhat.com>
816 * javax/swing/JComponent.java
817 (resetKeyboardActions): Add null checks.
819 2004-08-31 Graydon Hoare <graydon@redhat.com>
821 * javax/swing/DefaultButtonModel.java:
822 Skip group notification when no group is set.
824 2004-08-31 Graydon Hoare <graydon@redhat.com>
826 * javax/swing/JColorChooser.java:
827 Make a couple inner classes static, for jikes.
829 2004-08-31 Michael Koch <konqueror@gmx.de>
831 * javax/swing/plaf/basic/BasicTextUI.java
832 (RottView.modelToView): New method.
833 (UpdateHandler): Renamed from EventHandler.
834 (updateHandler): Renamed from eventHandler.
835 (modelToView): Implemented.
836 * javax/swing/text/AbstractDocument.java
837 (BranchElement.getElement): Return null for non-existing indeces.
838 (BranchElement.getElementIndex): Return 0 in some corner cases.
839 * javax/swing/text/FieldView.java
840 (modelToView): New method.
841 * javax/swing/text/PlainView.java
842 (modelToView): Made public.
844 2004-08-31 Kim Ho <kho@redhat.com>
846 * Makefile.am: New files.
847 * Makefile.in: Regenerate.
848 * gcj/Makefile.in: Regenerate.
849 * include/Makefile.in: Regenerate.
850 * java/awt/Color.java: Fix documentation.
851 (RGBtoHSB): Use floats for conversions.
852 * javax/swing/ButtonGroup.java: Run Jalopy.
853 (setSelected): Reimplement.
854 * javax/swing/DefaultButtonModel.java: Run Jalopy.
855 (changeState): Let ButtonGroup know that the button
857 * javax/swing/JColorChooser.java: Implement.
858 * javax/swing/JLabel.java: Run Jalopy.
859 * javax/swing/JSpinner.java: Run Jalopy.
860 (setValue): New method.
861 * javax/swing/JTabbedPane.java: Run Jalopy.
862 (removeTabAt): Call correct remove method.
863 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
864 (getPreviousValue): Compare minimum value.
865 * javax/swing/Timer.java: Run Jalopy.
866 (run): Comment out println.
867 * javax/swing/ToolTipManager.java:
868 (mouseMoved): Get new tooltip text for location.
869 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
871 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
873 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
875 (setSelectedColor): Fire ChangeEvent.
876 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
878 * javax/swing/colorchooser/DefaultPreviewPanel.java:
880 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
882 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
884 * javax/swing/plaf/basic/BasicArrowButton.java:
885 (getArrow): Fix size of upward pointing button.
886 * javax/swing/plaf/basic/BasicColorChooserUI.java:
888 * javax/swing/plaf/basic/BasicSliderUI.java:
889 (getWidthOfWidestLabel): Use preferred dimensions.
890 (getHeightOfTallestLabel): Ditto.
891 * javax/swing/plaf/basic/BasicSpinnerUI.java:
893 (mousePressed): Disable changes to spinner if it is not enabled.
894 * testsuite/Makefile.in: Regenerate.
897 2004-08-31 Michael Koch <konqueror@gmx.de>
899 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
900 javax/swing/plaf/basic/BasicTableUI.java:
901 Added copyright notice.
903 2004-08-31 Olga Rodimina <rodimina@redhat.com>
905 * Makefile.am: Added new files.
906 * Makefile.in: Regenerate.
907 * javax/swing/ComboBoxEditor.java: Added javadocs.
908 * javax/swing/ComboBoxModel.java: Likewise.
909 * javax/swing/DefaultComboBoxModel.java: Implemented.
910 * javax/swing/DefaultListCellRenderer.java: Added javadocs
911 and ran through jalopy to fix formatting style.
912 (getListCellRendererComponent): Use appropriate border
913 if renderer has focus and use noFocusBorder when it doesn't.
914 * javax/swing/JComboBox.java: Implemented.
915 * javax/swing/JList.java:
916 (locationToIndex): New Method. Implemented.
917 (indexToLocation): New Method.
918 * javax/swing/JPopupMenu.java:
919 (visible): New field.
920 (isVisible): Changed to use new field above.
921 (setVisible): Likewise.
922 * javax/swing/MutableComboBoxModel.java: Added javadocs.
923 * javax/swing/plaf/basic/BasicArrowButton.java:
924 (shadow): Changed default color to Color.gray.
925 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
926 UI delegate for JComboBox.
927 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
928 Popup menu containing list of JComboBox's items.
929 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
930 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
931 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
932 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
933 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
934 (popupMenuWillBecomeVisible): Set selected path to the first
935 element only if it is of type MenuElement. Also fix formatting
937 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
940 2004-08-31 Michael Koch <konqueror@gmx.de>
942 * javax/swing/text/AbstractDocument.java
943 (createBranchElement): Use new constructor of BranchElement.
944 (createLeafElement): Renamed arguments.
945 (getRootElements): Implemented.
946 (BranchElement.start): Removed.
947 (BranchElement.end): Likewise.
948 (BranchElement.BranchElement): Fixed arguments.
949 (BranchElement.getEndOffset): Reimplemented.
950 (BranchElement.getStartOffset): Likewis.
951 * javax/swing/text/DefaultCaret.java
952 (paint): Draw simple vertical line as caret instead of a rectangle.
953 * javax/swing/text/JTextComponent.java
954 (setText): Use doc directly.
955 * javax/swing/text/PlainView.java
956 (nextTabStop): Implemented.
957 * javax/swing/text/Utilities.java
958 (drawTabbedText): nextTabStop() returns an absolute x position.
959 (getTabbedTextWidth): Likewise.
961 2004-08-31 Graydon Hoare <graydon@redhat.com>
963 * java/awt/Component.java
964 (isFocusTraversable): Predicate on isLightweight()
965 (setFocusable): Set isFocusTraversableOverridden.
966 (requestFocus): Predicate peer dispatch on !isLightweight()
967 (requestFocusInWindow): Likewise.
968 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
969 * java/awt/Container.java
970 (dispatchEventImpl): Predicate on event mask.
971 (LightweightDispatcher): Remove focus machinery.
972 * java/awt/DefaultFocusTraversalPolicy.java
973 (accept): Expand predicate to include isFocusable().
974 * java/awt/DefaultKeyboardFocusManager.java:
975 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
976 * java/awt/KeyboardFocusManager.java
977 (redispatchEvent): Synchronize on event to prevent feedback.
978 * javax/swing/AbstractButton.java
979 (ButtonFocusListener): Remove class.
980 (init): Set focusPainted, focusable.
981 * javax/swing/ActionMap.java (get): Check parent for null.
982 * javax/swing/InputMap.java (get): Likewise.
983 * javax/swing/JComponent.java
984 (inputMap_whenFocused): New InputMap.
985 (inputMap_whenAncestorOfFocused): Likewise.
986 (inputMap_whenInFocusedWindow): Likewise.
987 (getActionForKeyStroke): Rewrite.
988 (getConditionForKeystroke): Likewise.
989 (ActionListenerProxy): New private class.
990 (setInputMap): Implement.
991 (getInputMap): Likewise.
992 (setActionMap): Likewise.
993 (getActionMap): Likewise.
994 (processComponentKeyEvent): New empty method.
995 (processKeyEvent): Implement.
996 (processKeyBinding): Likewise.
997 (resetKeyboardActions): Rewrite.
998 * javax/swing/KeyStroke.java: Rewrite.
999 * javax/swing/SwingUtilities.java
1000 (notifyAction): Implement.
1001 (replaceUIActionMap): Likewise.
1002 (replaceUIInputMap): Likewise.
1003 * javax/swing/plaf/basic/BasicButtonListener.java
1004 (focusGained): Implement.
1005 (focusLost): Repaint if focusPainted().
1006 (installKeyboardActions): Install pressed / released actions.
1007 (uninstallKeyboardActions): Implement.
1008 * javax/swing/plaf/basic/BasicButtonUI.java
1009 (focusColor): New field.
1010 (installDefaults): Load focus color, install input map.
1011 (installKeyboardActions): Implement.
1012 (uninstallKeyboardActions): Likewise.
1013 (paintFocus): Rewrite.
1014 * javax/swing/plaf/basic/BasicLookAndFeel.java
1015 (Button.focus): New default, midPurple.
1016 * javax/swing/plaf/basic/BasicTextUI.java
1018 (installUI): Get doc from kit, load defaults.
1019 (getKeymapName): Implement.
1020 (createKeymap): Likewise.
1021 (installKeyboardActions): Likewise.
1022 (getInputMap): Likewise.
1023 (getActionMap): Likewise.
1024 (createActionMap): Likewise.
1025 * javax/swing/text/AbstractDocument.java
1026 (getStartPosition): Implement.
1027 (getEndPosition): Likewise.
1028 * javax/swing/text/DefaultEditorKit.java
1029 (CopyAction): New class.
1030 (CutAction): Likewise.
1031 (DefaultKeyTypedAction): Likewise.
1032 (InsertBreakAction): Likewise.
1033 (InsertContentAction): Likewise.
1034 (InsertTabAction): Likewise.
1035 (PasteAction): Likewise.
1036 (defaultActions): New static table.
1037 (createCaret): Implement.
1038 (getActions): Likewise.
1039 * javax/swing/text/JTextComponent.java
1040 (KeymapWrapper): New private class.
1041 (KeymapActionMap): Likewise.
1042 (DefaultKeymap): New class.
1043 (keymaps): New static table.
1044 (keymap): New field.
1045 (getKeymap): Implement.
1046 (removeKeymap): Likewise.
1047 (addKeymap): Likewise.
1048 (setKeymap): Likewise.
1049 (loadKeymap): Likewise.
1050 (getActions): Likewise.
1051 (margin): New field.
1052 (JTextComponent): Build and install default keymap.
1053 * javax/swing/text/TextAction.java
1054 (textAction): Call super properly.
1055 (getTextComponent): Implement.
1056 * javax/swing/text/Utilities.java
1057 (drawTabbedText): Adjust position by ascent.
1059 2004-08-31 David Jee <djee@redhat.com>
1063 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1064 (setEnabled): Make it a native method.
1065 * java/awt/DefaultKeyboardFocusManager.java
1066 (postProcessKeyEvent): Only post event if the menu item
1068 * java/awt/MenuItem.java:
1069 Private field 'enabled' should be true by default.
1070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1071 (setEnabled): New function.
1073 2004-08-31 David Jee <djee@redhat.com>
1077 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1078 (nativeSetHelpMenu): New native method declaration.
1079 (addHelpMenu): Call nativeSetHelpMenu().
1081 * java/awt/MenuBar.java
1082 (setHelpMenu): Call addNotify() on the new help menu.
1083 (add): Call addNotify() on the new menu.
1084 (addNotify): Set the help menu if one exists.
1085 * java/awt/peer/MenuBarPeer.java
1087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1088 (nativeSetHelpMenu): New method.
1090 2004-08-31 Graydon Hoare <graydon@redhat.com>
1092 * Makefile.am: Add new files.
1093 * Makefile.in: Regenerate.
1094 * javax/swing/Box.java: Fix setting of layout in ctor.
1095 * javax/swing/JScrollPane.java: Scroll headers as well.
1096 * javax/swing/JTable.java: Reimplement.
1097 * javax/swing/JViewPort.java: Only add non-null children.
1098 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1099 * javax/swing/Timer.java: Fix stopping null waker.
1100 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1101 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1102 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1103 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1104 * javax/swing/table/DefaultTableModel.java: Clean up.
1105 * javax/swing/table/JTableHeader.java: Implement.
1107 2004-08-31 Mark Wielaard <mark@klomp.org>
1109 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1112 2004-08-31 Mark Wielaard <mark@klomp.org>
1114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1115 Declare variables at top of functions/block.
1116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1118 2004-08-31 Mark Wielaard <mark@klomp.org>
1120 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1123 2004-08-31 Michael Koch <konqueror@gmx.de>
1125 * javax/swing/text/PlainView.java
1126 (selectedColor): New field.
1127 (unselectedColor): Likewise.
1129 (updateMetrics): New method.
1130 (lineToRect): Likewise.
1131 (modelToView): Likewise.
1132 (drawSelectedText): Use color from JTextComponent ad draw with
1134 (drawUnselectedText): Likewise.
1135 (paint): Initialize helper fields.
1136 * javax/swing/text/View.java
1137 (getChildAllocation): New method.
1138 (getViewIndex): Likewise.
1139 (getToolTipText): Likewise.
1141 2004-08-31 Michael Koch <konqueror@gmx.de>
1143 * javax/swing/text/Utilities.java
1144 (drawTabbedText): Reimplemented.
1145 (getTabbedTextWidth): Likewise.
1147 2004-08-31 Michael Koch <konqueror@gmx.de>
1149 * javax/swing/plaf/basic/BasicTextUI.java
1150 (installDefaults): Install caret and highlighter.
1151 (modelToView): Use Bias.Forward when calling sibling.
1152 * javax/swing/text/AbstractDocument.java
1153 (ElementEdit): Implements DocumentEvent.ElementChange.
1154 (ElementEdit.ElementEdit): New method.
1155 (ElementEdit.getChildrenAdded): Likewise.
1156 (ElementEdit.getChildrenRemoved): Likewise.
1157 (ElementEdit.getElement): Likewise.
1158 (ElementEdit.getIndex): Likewise.
1159 * javax/swing/text/DefaultCaret.java
1161 (textComponent): Renamed from parent, made private.
1162 (selectionVisible): Renamed from vis_sel, made private.
1163 (blinkRate): Renamed from blink, made private.
1164 (magicCaretPosition): Renamed from magic, made private.
1165 (visible): Renamed from vis, made private.
1166 (dot): Made private.
1168 (deinstall): Remove as MouseMotionListener.
1169 (install): Initialize textComponent first. Add as MouseMotionListener.
1170 (paint): Reimplemented.
1171 * javax/swing/text/JTextComponent.java
1172 (setCaret): Deinstall old caret, install new one and fire property
1173 change after setting property.
1174 (setHighlighter): Deinstall old highlighter, install new one and fire
1175 property change after setting property.
1176 (setCaretColor): Fire property change after setting property.
1177 (setDisabledTextColor): Likewise.
1178 (setSelectedTextColor): Likewise.
1179 (setSelectionColor): Likewise.
1180 (modelToView): New method.
1182 2004-08-31 Michael Koch <konqueror@gmx.de>
1184 * javax/swing/text/AbstractDocument.java
1185 (getText): Simplified.
1186 * javax/swing/text/Segment.java
1187 (current): New field.
1188 (current): Reimplemented.
1190 (getIndex): Likewise.
1193 (previous): Likewise.
1194 (setIndex): Likewise.
1196 2004-08-31 Michael Koch <konqueror@gmx.de>
1198 * javax/swing/plaf/basic/BasicButtonUI.java
1199 (defaultTextIconGap): Made protected.
1200 (defaultTextShiftOffset): Likewise.
1201 (textShiftOffset): New field.
1202 (clearTextShiftOffset): New method.
1203 (getTextShiftOffset): Likewise.
1204 (setTextShiftOffset): Likewise.
1206 2004-08-31 Michael Koch <konqueror@gmx.de>
1208 * javax/swing/plaf/basic/BasicTextUI.java
1209 (installUI): Add eventHandler as property listener.
1210 (uninstallUI): remove eventHandler as propert listener.
1211 (installDefaults): Added comment.
1212 (installListeners): Likewise.
1213 (installKeyboardActions): Likewise.
1214 (uninstallDefaults): Likewise.
1215 (uninstallListeners): Likewise.
1216 (uninstallKeyboardActions): Likewise.
1218 2004-08-31 Michael Koch <konqueror@gmx.de>
1220 * javax/swing/text/AbstractDocument.java:
1221 Fixed some typos in comments.
1222 (insertString): Reimplemented.
1224 (replace): New method.
1225 (children): Dont use fully qualified class name.
1226 (DefaultDocumentEvent.offset): Renamed from off.
1227 (DefaultDocumentEvent.length): Renamed from len.
1228 (DefaultDocumentEvent.type): New field.
1229 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1230 (DefaultDocumentEvent.getType): Implemented.
1232 2004-08-31 Michael Koch <konqueror@gmx.de>
1234 * javax/swing/plaf/basic/BasicTextUI.java
1235 (RootView.textComponent): Removed.
1236 (RootView.RootView): Don't initialize textComponent.
1237 (RootView.getViewFactory): New method.
1238 (EventHandler): New inner class.
1239 (rootView): Initialize at instance creation.
1240 (eventHandler): New field.
1241 (installUI): Don't create view hierarchy directly,
1242 call modelChanged() instead.
1243 (modelChanged): New method.
1244 * javax/swing/text/JTextComponent.java
1245 (setDocument): Fire property change event.
1247 2004-08-31 Michael Koch <konqueror@gmx.de>
1249 * javax/swing/plaf/basic/BasicTextUI.java
1250 (RootView.paint): Removed debug output.
1251 (paintSafely): Draw highlighter before text.
1252 (paintBackground): Use background color of text component.
1253 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1256 2004-08-31 Michael Koch <konqueror@gmx.de>
1258 * javax/swing/plaf/basic/BasicToolBarUI.java
1259 (BasicToolBarUI): Fixed arguments for constructor.
1260 (createUI): Fixed creation of object.
1262 2004-08-31 Michael Koch <konqueror@gmx.de>
1264 * javax/swing/DefaultListSelectionModel.java
1265 (fireValueChanged): Renamed from fireSelectionValueChanged,
1268 2004-08-31 Michael Koch <konqueror@gmx.de>
1270 * javax/swing/text/TabSet.java
1271 (TabSet): Implements java.io.Serializable.
1272 * javax/swing/text/TabStop.java
1273 (TabStop): Implements java.io.Serializable.
1274 (TabStop): Made public.
1276 2004-08-31 Michael Koch <konqueror@gmx.de>
1278 * javax/swing/JComponent.java
1279 (setUI): Fire PropertyChange.
1280 * javax/swing/JLabel.java
1281 (text): Renamed from labelText.
1282 (horizontalAlignment): New default vlaue.
1283 (icon): Renamed from activeIcon.
1284 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1285 (displayedMnemonicIndex): Renamed from underlineChar.
1286 (setDisplayedMnemonic): Reimplemented.
1287 * javax/swing/JRadioButton.java
1288 (JRadioButton): New constructors.
1289 * javax/swing/JTextField.java
1290 (JTextField): Throw exception if colums < 0, initialitialz
1291 this.columns directly and initialize document with text conditionally.
1293 2004-08-31 Michael Koch <konqueror@gmx.de>
1295 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1296 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1297 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1298 * javax/swing/text/FieldView.java
1299 (paint): Just call super method for now.
1300 * Makefile.am: Added new files.
1301 * Makefile.in: Regenerated.
1303 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1305 * javax/swing/AbstractSpinnerModel.java,
1306 javax/swing/JSpinner.java,
1307 javax/swing/SpinnerNumberModel.java,
1308 javax/swing/plaf/basic/BasicSpinnerUI.java:
1310 * javax/swing/plaf/basic/BasicLookAndFeel.java
1311 (initClassDefaults): Added defaults for BasicSpinnerUI.
1313 2004-08-31 Michael Koch <konqueror@gmx.de>
1315 * Makefile.am: Added new files.
1316 * Makefile.in: Regenerated.
1318 2004-08-31 Michael Koch <konqueror@gmx.de>
1320 * javax/swing/TransferHandler.java,
1321 javax/swing/plaf/basic/ComboPopup.java: New files
1322 * Makefile.am: Added javax/swing/TransferHandler.java and
1323 javax/swing/plaf/basic/ComboPopup.java
1324 * Makefile.in: Regenerated.
1326 2004-08-31 Roman Kennke <roman@ontographics.com>
1328 * javax/swing/text/Utilities.java: New file.
1330 2004-08-31 Michael Koch <konqueror@gmx.de>
1332 * Makefile.am: Added javax/swing/text/Utilities.java.
1333 * Makefile.in: Regenerated.
1335 2004-08-31 Graydon Hoare <graydon@redhat.com>
1337 * javax/swing/text/SimpleAttributeSet.java: New file.
1338 * javax/swing/text/StyleConstants.java: New file.
1339 * javax/swing/text/StyleContext.java: New file.
1340 * javax/swing/text/TabSet.java: New file.
1341 * javax/swing/text/TabStop.java: New file.
1342 * javax/swing/text/AbstactDocument.java:
1343 (AbstractElement): Implement attribute support.
1344 * javax/swing/text/AttributeSet.java
1345 (NameAttribute): New static field.
1346 (ResolveAttribute): New static field.
1347 * Makefile.am: Update for new files.
1348 * Makefile.in: Regenerate.
1350 2004-08-31 Craig Black <craig.black@aonix.com>
1352 * gnu/java/awt/peer/gtk/GdkGraphics.java
1353 (drawImage): Add support for scaling pixmaps.
1354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1355 (copyAndScalePixmap): New native method.
1357 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1360 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1361 type-punning compiler warnings using unions.
1362 (throw): Replace bzero with memset.
1364 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1365 Thomas Fitzsimmons <fitzsim@redhat.com>
1367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1368 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1369 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1371 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1373 2004-08-31 Mark Wielaard <mark@klomp.org>
1375 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1376 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1377 and stdlib.h, not gtkpeer.h.
1378 (*vm): New static variable.
1379 (areaPreparedID): Make static.
1380 (areaUpdatedID): Likewise.
1381 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1382 (area_prepared): Likewise.
1383 (area_updated): Likewise.
1385 (initStaticState): Initialize *vm javaVM.
1386 (pumpBytes): Use given env, not global gdk_env.
1388 2004-08-31 Mark Wielaard <mark@klomp.org>
1390 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1393 2004-08-31 Sven de Marothy <sven@physto.se>
1395 * java/awt/geom/CubicCurve2D.java: Reindent.
1396 (contains): Implemented.
1397 (intersects): Implemented.
1398 * java/awt/geom/QuadCurve2D.java: Likewise.
1399 * java/awt/geom/GeneralPath.java: Reindent and document.
1400 Fully (re)implemented using separate xpoints and ypoints
1402 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1404 2004-08-31 Michael Koch <konqueror@gmx.de>
1406 * javax/swing/JMenuItem.java
1407 (getMenuDragMouseListeners): New method.
1408 (getMenuKeyListeners): Likewise.
1410 2004-08-31 Michael Koch <konqueror@gmx.de>
1412 * javax/swing/AbstractButton.java
1413 (model): Made protected.
1414 (actionListener): Likewise.
1415 (changeListener): Likewise.
1416 (itemListener): Likewise.
1417 (multiClickThreshhold): New field.
1418 (getActionListeners): New method.
1419 (getChangeListeners): Likewise.
1420 (getItemListeners): Likewise.
1421 (fireItemStateChanged): Simplified implementation.
1422 (fireActionPerformed): Likewise.
1423 (fireStateChanged): Likewise.
1424 (getMultiClickThreshhold): New method.
1425 (setMultiClickThreshhold): Likewise.
1427 2004-08-31 Tom Tromey <tromey@redhat.com>
1429 * java/awt/image/Kernel.java (clone): Use super.clone().
1431 2004-08-31 David Jee <djee@redhat.com>
1434 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1435 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1436 (nativeSetIconImageFromData): New native method declaration.
1437 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1438 * gnu/java/awt/peer/gtk/GtkImage.java
1439 (getPixelCache): New method.
1440 (getColorModel): New method.
1441 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1442 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1443 (free_pixbuf_data): New helper function.
1444 (nativeSetIconImageFromData): New function.
1446 2004-08-31 Graydon Hoare <graydon@redhat.com>
1449 * javax/swing/JLayeredPane.java
1450 (setLayer): Permit changing layer after addition.
1451 (setPosition): Permit over-length positions.
1452 (layerToRange): Compare intValue()s.
1453 * javax/swing/Box.java (createHorizontalBox): Implement.
1454 (createRigidArea): Likewise.
1455 (createVerticalBox): Likewise.
1457 2004-08-31 Kim Ho <kho@redhat.com>
1459 * java/awt/Component.java:
1460 (processMouseEvent): Consume event after
1461 listeners process it.
1462 (processMouseMotionEvent): ditto.
1463 (processMouseWheelEvent): ditto.
1464 * java/awt/Container.java:
1465 (acquireComponentForMouseEvent):
1466 Do not dispatch to events that have been
1467 removed from the Container.
1468 (handleEvent): Consume the MouseEvents.
1469 * javax/swing/RepaintManager.java:
1470 (paintDirtyRegions): Do not add to list of
1471 damaged areas if the component has no root.
1473 2004-08-31 Michael Koch <konqueror@gmx.de>
1475 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1477 2004-08-31 Mark Wielaard <mark@klomp.org>
1479 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1480 null when a MissingResourceException is thrown. Should never happen.
1482 2004-08-31 Mark Wielaard <mark@klomp.org>
1484 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1485 when argument is null.
1487 2004-08-31 Mark Wielaard <mark@klomp.org>
1489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1490 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1491 Define hid at start of function.
1492 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1495 2004-08-31 Mark Wielaard <mark@klomp.org>
1497 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1498 * javax/swing/JButton.java: Reindent.
1499 * javax/swing/JCheckBox.java: Reindent.
1501 2004-08-31 Mark Wielaard <mark@klomp.org>
1503 * Makefile.am (gtk_c_source_files): Added
1504 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1505 (gtk_awt_peer_sources): Added
1506 gnu/java/awt/peer/gtk/GThreadMutex.java and
1507 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1508 * Makefile.in: Regenerated.
1510 2004-08-31 Archie Cobbs <archie@dellroad.org>
1512 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1514 2004-08-31 Steven Augart <augart@watson.ibm.com>
1516 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1517 Added jfieldID, jmethodID.
1519 2004-08-31 Mark Wielaard <mark@klomp.org>
1521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1522 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1523 gdk_env before calling any gdk or gtk function.
1525 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1526 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1527 (run): Set gtkInitCalled.
1529 2004-08-31 Steven Augart <augart@watson.ibm.com>
1531 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1532 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1535 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1536 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1538 (init_glib_threads): New function.
1540 2004-08-31 Mark Wielaard <mark@klomp.org>
1542 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1543 PRIORITY when not already defined in header file.
1545 2004-08-31 Mark Wielaard <mark@klomp.org>
1547 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1548 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1550 2004-08-31 Steven Augart <augart@watson.ibm.com>
1552 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1553 Implemented missing functions for GTK2.
1554 Added error handling.
1555 Renamed static functions out of the g_ namespace.
1556 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1557 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1558 Rewrote global-reference code.
1559 Eliminated cascading errors.
1560 (mutex_trylock_jni_impl) Fully implemented.
1561 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1563 (setup_cache) New function.
1564 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1565 bug where they were not unlocking the GMutex associated with the
1566 condition variable during the wait on that condition variable.
1568 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1569 native/jni/gtk-peer/gthread-jni.c,
1570 native/jni/gtk-peer/gthread-jni.h
1571 (g_thread_jni_functions): Renamed to ...
1572 (portable_native_sync_jni_functions): this name.
1573 (gdk_vm): Renamed to...
1574 (the_vm): this name.
1576 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1577 (gdk_vm): Removed duplicate definition.
1578 (gtkInit): Removed stray message to stdout.
1579 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1580 (gtkInit): Fix a const assignment bug.
1581 (gtkInit): Simplified code.
1583 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1584 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1585 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1586 gnu/java/awt/peer/gtk/GThreadMutex.java:
1589 2004-08-31 Mark Wielaard <mark@klomp.org>
1591 * javax/swing/Box.java: Put FIXME comment above class declaration.
1592 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1593 * javax/swing/JCheckBox.java: Likewise.
1594 * javax/swing/JDialog.java: Likewise.
1595 * javax/swing/JRadioButton.java: Likewise.
1596 * javax/swing/JToggleButton.java: Likewise.
1597 * javax/swing/UIManager.java: Likewise.
1598 * javax/swing/border/TitledBorder.java: Likewise.
1599 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1600 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1601 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1602 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1603 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1604 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1605 * javax/swing/text/JTextComponent.java: Likewise.
1607 2004-08-31 David Jee <djee@redhat.com>
1610 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1611 (setIconImage): Add a FIXME for unhandled cases.
1613 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1616 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1617 getModifiers. Replace old button masks with new ones.
1618 * gnu/awt/xlib/XEventLoop.java: Likewise.
1619 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1620 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1622 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1623 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1624 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1625 * java/awt/Component.java: Replace old modifier masks with new
1627 * java/awt/Container.java: Call getModifiersEx, not
1629 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1631 * javax/swing/JMenuItem.java: Replace old button masks with new
1633 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1635 * javax/swing/SwingUtilities.java: Likewise.
1636 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1637 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1639 mask macros with new ones.
1640 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1641 macros with new ones representing new masks.
1643 2004-08-31 Craig Black <craig.black@aonix.com>
1645 * gnu/java/awt/peer/gtk/GdkGraphics.java
1646 (drawRoundRect): Implemented.
1647 (fillRoundRect): Implemented.
1648 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1649 (drawRoundRect): Reimplemented to match GdkGraphics.
1650 (fillRoundRect): Reimplemented to match GdkGraphics.
1652 2004-08-31 Mark Wielaard <mark@klomp.org>
1654 * Makefile.in: Regenerated.
1656 2004-08-31 Michael Koch <konqueror@gmx.de>
1658 * gnu/java/awt/EmbeddedWindow.java
1659 (addNotify): Use AccessController to allow execution of privileged
1662 2004-08-31 Michael Koch <konqueror@gmx.de>
1664 * gnu/java/awt/EmbeddedWindow.java
1666 (addNotify): Set peer via reflection.
1667 (setWindowPeer): Removed.
1668 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1669 * Makefile.am (nat_source_files):
1670 Removed gnu/java/awt/natEmbeddedWindow.cc.
1672 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1674 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1675 and gnu/java/security/action/SetAccessibleAction.java.
1677 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1679 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1680 Renamed from 'setName'. New 2-argument form with default value.
1681 (run): Pass default 'value' parameter to System.getProperty().
1682 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1685 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1687 * gnu/java/security/action/GetPropertyAction.java: New class.
1688 * gnu/java/security/action/SetAccessibleAction.java: New class.
1690 2004-08-31 David Jee <djee@redhat.com>
1692 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1693 (setIconImage): Check if image is null.
1695 2004-08-31 David Jee <djee@redhat.com>
1697 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1698 (create): Set the icon image.
1699 (nativeSetIconImage): New native method declaration.
1700 (setIconImage): Implement.
1701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1702 (nativeSetIconImage): New function.
1704 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1707 (filenameFilterCallback): Declare local variable accepted before use.
1709 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1711 * gnu/java/awt/ComponentDataBlitOp.java:
1714 2004-08-31 Tom Tromey <tromey@redhat.com>
1716 * gnu/java/awt/peer/GLightweightPeer.java,
1717 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1718 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1719 javax/swing/JScrollPane.java: Removed
1722 2004-08-31 David Jee <djee@redhat.com>
1724 * java/awt/DefaultKeyboardFocusManager.java
1725 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1726 event. Fix shift modifier checking.
1727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1728 (accel_attach): Remove.
1729 (setupAccelGroup): Remove calls to accel_attach.
1731 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1733 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1734 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1736 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1738 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1739 * Makefile.in: Regenerate.
1740 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1742 (create(String)): New method.
1743 (create): Call new create method.
1744 (getArgs): Remove method.
1745 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1746 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1747 (nativeCreate): Rename to create.
1748 (gtkSetLabel): Rename to gtkButtonSetLabel.
1749 (gtkToggleButtonSetActive): New method.
1750 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1751 (setState): Replace set call with gtkToggleButtonSetActive.
1752 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1753 (getArgs): Remove method.
1754 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1755 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1756 (gtkWidgetSetSensitive): New method.
1757 (gtkWidgetSetParent): Likewise.
1758 (GtkComponentPeer): Call setParent, setComponentBounds and
1759 setVisibleAndEnabled.
1760 (setParent): New method.
1761 (setComponentBounds): New method.
1762 (setVisibleAndEnabled): New method.
1763 (setEnabled): Call gtkWidgetSetSensitive.
1764 (getArgs): Remove method.
1765 Remove all set methods.
1766 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1767 gtkWindowSetModal, setTitle and setResizable.
1768 (getArgs): Remove method.
1769 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1770 (setComponentBounds): New method.
1771 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1772 Replace set call with gtkWindowSetResizable.
1773 (getArgs): Remove method.
1774 (create): Call setTitle and setResizable.
1775 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1776 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1777 (gtkWindowSetTitle): New method.
1778 (gtkWindowSetResizable): New method.
1779 (gtkWindowSetModal): New method.
1780 (setParent): New method.
1781 (setVisibleAndEnabled): New method.
1782 (getArgs): Remove method.
1783 (setTitle): Call gtkWindowSetTitle.
1784 (setResizable): Call gtkWindowSetResizable.
1785 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1786 and off locking instrumentation.
1788 2004-08-31 Kim Ho <kho@redhat.com>
1790 * Makefile.am: Add new file.
1791 * Makefile.in: Regenerate.
1792 * gcj/Makefile.in: Regenerate
1793 * include/Makefile.in:
1794 * java/awt/Container.java:
1795 (acquireComponentForMouseEvent): Respect
1796 the event mask when looking for candidate.
1797 * javax/swing/JComponent.java:
1798 Remove toolTip field.
1799 (createToolTip): Create a tooltip on demand.
1800 (setToolTipText): Register with the ToolTipManager.
1801 (getToolTipText(MouseEvent)): Return getToolTipText().
1802 * javax/swing/JToolTip.java: Implement.
1803 * javax/swing/Timer.java: Jalopy.
1804 (restart): Call stop, then start.
1805 (stop): Interrupt the timer rather than wait for
1806 the timer to come to a stop naturally.
1807 * javax/swing/ToolTipManager.java: Implement.
1808 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1809 Change ToolTip.background color.
1810 * javax/swing/plaf/basic/BasicToolTipUI.java:
1812 * testsuite/Makefile.in: Regenerate
1814 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1816 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1817 constructor param comments.
1819 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1821 * java/awt/Component.java: Document AWT 1.0 event handler
1824 2004-08-31 Roman Kennke <roman@ontographics.com>
1826 * javax/swing/Box.java:
1827 (createGlue): Implemented
1828 (createHorizontalGlue): Implemented
1829 (createHorizontalStrut): Implemented
1830 (createVerticalGlue): Implemented
1831 (createVerticalStrut): Implemented
1833 2004-08-31 David Jee <djee@redhat.com>
1835 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1836 (GtkChoicePeer): Do not automatically select first item.
1837 (getHistory): Remove.
1838 (nativeGetSelected): New method.
1839 (nativeRemoveAll): New method.
1840 (add): Use nativeGetSelected() instead of getHistory().
1842 (removeAll): Call nativeRemoveAll().
1843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1844 (create): Migrate to GtkComboBox.
1846 (nativeAdd): Likewise.
1847 (nativeRemove): Likewise.
1849 (nativeRemoveAll): New method.
1850 (nativeGetSelected): New method.
1851 (selection_changed): New method.
1852 (getHistory): Remove.
1853 (item_activate): Remove.
1854 (item_removed): Remove.
1855 (connect_choice_item_selectable_hook): Remove.
1857 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1859 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1860 variable in setEditable call.
1862 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1863 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1864 (gtkWidgetSetBackground): New method.
1865 (gtkWidgetSetForeground): Likewise.
1866 (create): Set peer's editable state based on awtComponent's.
1868 * java/awt/Button.java (Button()): Use empty string rather than
1869 null in no-label constructor.
1871 2004-08-31 Roman Kennke <roman@ontographics.com>
1873 * javax/swing/BoxLayout.java: Reimplement.
1875 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1877 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1878 gnu_java_awt_peer_gtk_GdkGraphics.c
1879 (initState(GtkComponentPeer)): Don't return array of colour
1881 (GdkGraphics(int,int)): Set default font to size 12.
1882 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1883 component's foreground colour.
1884 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1885 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1886 (initState(GtkComponentPeer)): Don't return array of colour
1888 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1889 colours to component's colours.
1890 (current_colors_of_widget): Remove function.
1891 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1892 Return a new graphics object.
1893 * java/awt/Font.java (toString): Fix format.
1894 * java/awt/Graphics.java (toString): Likewise.
1896 2004-08-31 Craig Black <craig.black@aonix.com>
1898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1899 (addTearOff): New function.
1900 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1902 (init): Call addTearOff() when menu.isTearOff().
1904 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1906 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1907 Default implementation.
1908 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1909 Implement using GdkPixbufDecoder.
1911 2004-08-31 David Jee <djee@redhat.com>
1913 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1914 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1915 setting the size of GtkFileDialogPeers.
1916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1917 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1918 use their default sizes rather than their natural requisitions.
1920 2004-08-31 Michael Koch <konqueror@gmx.de>
1922 * javax/swing/JFormattedTextField.java
1923 (JFormattedTextField): Implemented.
1924 * javax/swing/text/DefaultEditorKit.java
1925 (BeepAction): New inner class.
1926 * javax/swing/text/Segment.java
1927 (partialReturn): New field.
1928 (setPartialReturn): New method.
1929 (isPartialReturn): Likewise.
1930 * javax/swing/text/View.java
1931 (createFragment): Fixed typo.
1932 (getStartOffset): New method.
1933 (getEndOffset): Likewise.
1935 2004-08-31 Michael Koch <konqueror@gmx.de>
1937 * javax/swing/table/DefaultTableColumnModel.java
1938 (serialVersionUID): Made private.
1939 (listenerList): Initialize.
1940 (changeEvent): Initialize.
1941 * javax/swing/table/JTableHeader.java
1942 (JTableHeader): New constructors.
1943 (createDefaultColumnModel): New method.
1944 * javax/swing/table/TableColumn.java
1945 (setHeaderRenderer): Simplified code.
1946 (setCellRenderer): Likewise.
1947 (setWidth): Likewise.
1949 2004-08-31 Tom Tromey <tromey@redhat.com>
1951 * java/text/AttributedString.java (AttributedString): Use
1952 ArrayList to build array of attribute ranges. Don't use
1953 `attribs' before it is set.
1955 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1957 * HACKING: Remove reference to special automake. No longer needed.
1959 2004-08-30 Tom Tromey <tromey@redhat.com>
1961 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1962 return result from `add'.
1964 2004-08-30 Tom Tromey <tromey@redhat.com>
1966 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1968 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1970 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1972 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1974 * java/io/File.java File(String,String): Fixed handling of empty
1977 2004-08-30 Casey Marshall <csm@gnu.org>
1979 Author e-mail updated for all files.
1980 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1982 (compareTo): Use `equals'.
1983 * gnu/java/security/der/BitString.java (equals): Test if the
1984 argument is an instance of BitString.
1985 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1986 class final. Made fields private.
1987 (<init>): New constructor.
1989 (makeString): Made static; don't use NIO.
1990 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1991 * gnu/java/security/der/DERWriter.java: Fixed imports.
1992 (writeString): Don't use NIO.
1993 (toIso88591, toUtf16Be, toUtf8): New methods.
1994 * gnu/java/security/der/DERValue.java: Formatting changes only.
1995 * gnu/java/security/der/DER.java: Likewise.
1997 2004-08-30 Tom Tromey <tromey@redhat.com>
1999 * java/nio/CharBuffer.java (put): Fix typo.
2000 * java/nio/DoubleBuffer.java (put): Fix typo.
2001 * java/nio/FloatBuffer.java (put): Fix typo.
2002 * java/nio/IntBuffer.java (put): Fix typo.
2003 * java/nio/LongBuffer.java (put): Fix typo.
2004 * java/nio/ShortBuffer.java (put): Fix typo.
2006 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2008 * java/nio/ByteBuffer.java (put): Fix typo.
2010 2004-08-30 Casey Marshall <csm@gnu.org>
2012 * java/security/DummyKeyPairGenerator.java (clone): Removed
2013 useless instanceof check.
2014 * java/security/DummyMessageDigest.java (clone): Likewise.
2015 * java/security/DummySignature.java (clone): Likewise.
2016 * java/security/MessageDigest.java (clone): Remove useless
2018 * java/security/MessageDigestSpi.java (clone): Likewise.
2019 * java/security/Signature.java (clone): Provide meaningful
2021 * java/security/SignatureSpi.java (clone): Likewise.
2023 2004-08-29 Mark Wielaard <mark@klomp.org>
2025 * java/util/Arrays.java
2026 (sort(byte[], int, int)): Check fromIndex < 0.
2027 (sort(char[], int, int)): Likewise.
2028 (sort(short[], int, int)): Likewise.
2029 (sort(int[], int, int)): Likewise.
2030 (sort(long[], int, int)): Likewise.
2031 (sort(float[], int, int)): Likewise.
2032 (sort(double[], int, int)): Likewise.
2033 (sort(Object[], int, int, Comparator)): Likewise.
2034 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2035 (qsort(char[], int, int)): Likewise.
2036 (qsort(short[], int, int)): Likewise.
2037 (qsort(int[], int, int)): Likewise.
2038 (qsort(long[], int, int)): Likewise.
2039 (qsort(float[], int, int)): Likewise.
2040 (qsort(double[], int, int)): Likewise.
2042 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2044 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2045 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2046 java/util/ArrayList.java, java/util/Arrays.java,
2047 java/util/BitSet.java, java/util/Calendar.java,
2048 java/util/Collection.java, java/util/ListIterator.java,
2049 java/util/Map.java, java/util/SortedSet.java:
2050 Added additional exceptions to documentation, along
2051 with some additions and corrections.
2053 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2055 * configure.ac: Handle --enable-gc-debug.
2056 * configure: Regenerate.
2057 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2058 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2059 Rearrange include file order.
2060 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2061 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2062 (disable_gc_mutex): Delete along with all references.
2063 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2064 adjust for debug header size.
2065 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2067 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2068 (gcj_describe_type_fn): New.
2069 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2070 Register gcj_describe_type_fn.
2071 * include/boehm-gc.h:
2072 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2073 Don't define, but declare, for debug case.
2074 * java/lang/natObject.cc:
2075 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2077 2004-08-26 Mark Wielaard <mark@klomp.org>
2079 Fixes PR libgcj/17002:
2080 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2081 a TimeZoneId string and then try to convert that to a TimeZone with
2082 getDefaultSystemTimeZone(String).
2083 (timezones0): Changed type from Hashtable to HashMap.
2084 (timezones): Create HashMap, not Hashtable.
2085 (getDefaultTimeZone): New method, rewritten from CNI version.
2086 (readTimeZoneFile): New method.
2087 (readtzFile): Likewise.
2088 (skipFully): Likewise.
2089 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2090 getDefaultTimeZoneId and rewritten.
2091 (getDefaultTimeZoneId): Rewritten in java.
2093 2004-08-25 David Daney <daney@avtrex.com>
2095 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2096 * Makefile.in: Regenerated.
2098 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2100 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2101 only if jvmpi is enabled.
2102 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2103 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2104 (_Jv_AllocString): Likewise.
2105 (_Jv_AllocPtrFreeObject): Likewise.
2107 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2109 * defineclass.cc: Include <stdio.h>.
2110 * java/lang/natClassLoader.cc: Include <stdio.h>.
2112 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2113 Michael Koch <konqueror@gmx.de>
2115 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2116 * Makefile.in: Regenerated.
2118 2004-08-20 Michael Koch <konqueror@gmx.de>
2120 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2121 AC_COMPILE_IFELSE macros.
2123 2004-08-20 Michael Koch <konqueror@gmx.de>
2125 * configure.in: Renamed to configure.ac.
2126 * configure.ac: New file.
2127 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2128 include/config.h.in, testsuite/Makefile.in: Regenerated.
2130 2004-08-20 Michael Koch <konqueror@gmx.de>
2132 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2133 * aclocal.m4, configure: Regenerated.
2135 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2136 Michael Koch <konqueror@gmx.de>
2138 * configure.in, Makefile.am: Ported to automake 1.9.
2139 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2140 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2143 2004-08-19 Tom Tromey <tromey@redhat.com>
2145 * java/net/DatagramSocket.java: Fixed typo.
2147 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2150 * java/net/URI.java (string): New field. Make all other fields
2152 (readObject): Implemented.
2153 (writeObject): Implemented.
2154 (URI): Set 'string'.
2156 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2159 * java/util/logging/Handler.java (isLoggable): Accept record if its
2160 log level equals the threshold level. From Robin Green.
2162 2004-08-18 David Daney <ddaney@avtrex.com>
2164 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2167 2004-08-17 Michael Koch <konqueror@gmx.de>
2169 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2170 * Makefile.in: Regenerated.
2172 2004-08-16 Tom Tromey <tromey@redhat.com>
2175 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2177 2004-08-16 Michael Koch <konqueror@gmx.de>
2180 (math_c_files): Renamed from c_files.
2181 (math_c_source_files): Renamed from c_source_files.
2184 include/Makefile.in,
2185 testsuite/Makefile.in: Regenerated.
2187 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2189 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2190 to avoid autoconf warning.
2191 * configure: Rebuilt.
2193 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2195 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2196 localhostAddress to loopbackAddress.
2197 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2199 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2201 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2202 boehm-gc's include dirs.
2203 * configure: Rebuilt.
2204 * include/boehm-gc.h: Include gc_config.h.
2206 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2208 * java/net/InetAddress.java (loopbackAddress): Renamed from
2210 (getByName): Return loopback address for null hostname, without
2211 security check. Use lookup(), not getAllByName.
2212 (getAllByName): Return loopback address for null hostname, without
2214 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2217 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2220 Reported by Robin Green.
2221 * defineclass.cc (handleField): Don't throw exception on unrecognised
2222 modifier. Add FIXME comments for spec compliance.
2223 (handleMethod): Likewise.
2225 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2228 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2229 (Almost everywhere): add LOG calls, fix, add comments.
2230 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2231 Add explicit check for LOCKED bit in slow case (PR 16662).
2232 (_Jv_MonitorExit): Add casts in debug-only code.
2233 Always release LOCKED bit before throwing exception.
2234 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2235 isn't. Handle easy cases without lock acquisition.
2236 (Object::wait): Use NotifyAll for lock inflation.
2238 2004-08-12 David Daney <ddaney@avtrex.com>
2240 * testsuite/libjava.lang/Process_1.java: New test.
2241 * testsuite/libjava.lang/Process_2.java: New test.
2242 * testsuite/libjava.lang/Process_3.java: New test.
2243 * testsuite/libjava.lang/Process_4.java: New test.
2244 * testsuite/libjava.lang/Process_5.java: New test.
2245 * testsuite/libjava.lang/Process_6.java: New test.
2246 * testsuite/libjava.lang/Process_1.out: Expected result.
2247 * testsuite/libjava.lang/Process_2.out: Expected result.
2248 * testsuite/libjava.lang/Process_3.out: Expected result.
2249 * testsuite/libjava.lang/Process_4.out: Expected result.
2250 * testsuite/libjava.lang/Process_5.out: Expected result.
2251 * testsuite/libjava.lang/Process_6.out: Expected result.
2253 2004-08-12 David Daney <ddaney@avtrex.com>
2256 * java/lang/PosixProcess.java: Rewrote.
2257 * java/lang/natPosixProcess.cc: Rewrote.
2258 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2259 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2260 * posix-threads.cc (block_sigchld) New function.
2261 (_Jv_ThreadRegister) Use it.
2262 (_Jv_ThreadStart) Use it.
2263 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2264 * Makefile.am: ... to specify extra native headers.
2265 * configure: Regenerated.
2266 * include/config.h: Regenerated.
2267 * Makefile.in: Regenerated.
2268 * gcj/Makefile.in: Regenerated.
2269 * include/Makefile.in: Regenerated.
2270 * testsuite/Makefile.in: Regenerated.
2272 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2274 PR tree-optimization/16867
2275 * testsuite/libjava.lang/PR16867.java: New test.
2277 2004-08-09 Per Bothner <per@bothner.com>
2279 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2280 with private fields and access methods.
2281 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2282 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2283 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2284 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2285 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2286 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2288 * resolve.cc: Likewise.
2289 * gcj/field.h: Likewise.
2290 * include/jvm.h: Likewise.
2291 * java/lang/Class.h: Likewise.
2292 * java/lang/natClass.cc: Likwise.
2293 * java/lang/natClassLoader.cc: Likewise
2294 * java/lang/reflect/natMethod.cc: Likewise
2295 * verify.cc: Likewise.
2296 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2297 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2299 2004-08-10 Andrew Haley <aph@redhat.com>
2301 * testsuite/libjava.lang/err14.java: New file.
2302 * testsuite/libjava.lang/err14.out: New file.
2304 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2306 * Makefile.am: Fix missing rename from x_nat_headers to
2308 * Makefile.in: Regenerated.
2310 2004-08-04 Andrew Haley <aph@redhat.com>
2312 * java/security/BasicPermission.java: Don't check wildcards.
2314 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2315 Michael Koch <konqueror@gmx.de>
2317 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2318 * configure.in: Replaced all usages of AC_LINK_FILES by
2321 configure: Regenerated.
2323 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2324 Michael Koch <konqueror@gmx.de>
2326 * acconfig.h: Removed.
2327 * Makefile.am: Rename variables for xlib peer to include xlib and
2328 gtk_c_headers to gtk_jni_headers.
2329 * Makefile.in: Regenerated.
2331 2004-08-04 Andrew Haley <aph@redhat.com>
2333 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2336 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2338 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2339 Replace most top level 'dnl' comments with '#' comments, conforming
2340 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2342 * configure: Rebuilt.
2344 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2346 * acinclude.m4: Include no-executables.m4.
2347 * aclocal.m4: Rebuild.
2348 * configure.in: Convert to the autoconf 2.59 version of
2349 of the no-executables hack, and also of the nonstandard CXX
2350 hack and the multilibbed CC and CXX hack. Change prerequisite
2352 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2353 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2354 testsuite/Makefile.in: Regenerate.
2356 2004-08-03 Tom Tromey <tromey@redhat.com>
2358 * jni.cc: Reindented.
2360 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2362 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2364 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2366 * testsuite/libjava.compile/PR16701.java: New test.
2368 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2370 * java/util/Collection.java, java/util/List.java,
2371 java/util/Map.java, java/util/Set.java,
2372 java/util/SortedMap.java, java/util/SortedSet.java:
2373 Added additional exceptions to documentation.
2375 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2378 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2379 * configure. Regenerate.
2380 * include/win32.h: Explicitly include winsock2.h
2381 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2384 2004-07-30 Michael Koch <konqueror@gmx.de>
2386 * java/util/zip/GZIPInputStream.java
2387 (GZIPInputStream): Increase buffer size to 4k.
2388 * java/util/zip/GZIPOutputStream.java
2389 (GZIPOutputStream): Likewise.
2390 * java/util/zip/Inflater.java
2391 (setInput): Merged formating with GNU classpath.
2392 * java/util/zip/InflaterInputStream.java
2393 (InflaterInputStream): Increase buffer size to 4k.
2394 (fill): Throw exception if stream ends early.
2395 (read): Merged endless-loop with GNU classpath.
2396 (skip): Increase buffer size to 2k.
2398 2004-07-30 Michael Koch <konqueror@gmx.de>
2400 * gnu/java/awt/EmbeddedWindow.java
2401 (addNotify): Use AccessController to allow execution of privileged
2404 2004-07-29 Michael Koch <konqueror@gmx.de>
2406 * gnu/java/lang/MainThread.java:
2407 Explicitely import used classes.
2408 (args): Make it type String[].
2410 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2412 * gnu/java/awt/ComponentDataBlitOp.java,
2413 gnu/java/beans/ExplicitBeanInfo.java,
2414 gnu/java/beans/IntrospectionIncubator.java,
2415 gnu/java/beans/editors/ColorEditor.java,
2416 gnu/java/beans/editors/FontEditor.java,
2417 gnu/java/beans/editors/NativeBooleanEditor.java,
2418 gnu/java/beans/editors/NativeByteEditor.java,
2419 gnu/java/beans/editors/NativeDoubleEditor.java,
2420 gnu/java/beans/editors/NativeFloatEditor.java,
2421 gnu/java/beans/editors/NativeIntEditor.java,
2422 gnu/java/beans/editors/NativeLongEditor.java,
2423 gnu/java/beans/editors/NativeShortEditor.java,
2424 gnu/java/beans/editors/StringEditor.java,
2425 gnu/java/io/ClassLoaderObjectInputStream.java,
2426 gnu/java/io/decode/Decoder.java,
2427 gnu/java/io/encode/Encoder.java,
2428 gnu/java/lang/ClassHelper.java,
2429 gnu/java/locale/Calendar.java,
2430 gnu/java/locale/Calendar_de.java,
2431 gnu/java/locale/Calendar_en.java,
2432 gnu/java/locale/Calendar_nl.java,
2433 gnu/java/locale/LocaleInformation_de.java,
2434 gnu/java/locale/LocaleInformation_en.java,
2435 gnu/java/locale/LocaleInformation_nl.java:
2438 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2440 * README: Remove obsolete info. Update bug URL.
2442 * NEWS: Updated with news up to GCC 3.4 release.
2444 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2446 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2447 Renamed from 'setName'. New 2-argument form with default value.
2448 (run): Pass default 'value' parameter to System.getProperty().
2449 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2451 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2454 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2456 * configure.in: Check for minimum GTK version 2.4 requirement.
2457 * configure: Rebuilt.
2459 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2461 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2462 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2464 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2466 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2467 address. Reduce sleep times. Synchronize with target threads before
2468 attempting to interrupt them. Don't try to calibrate yeild count,
2469 instead, always loop for a fixed time.
2470 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2471 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2472 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2473 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2474 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2475 * testsuite/libjava.lang/pr179.java: Likewise.
2476 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2477 time. Remove upper bounds check on sleep time.
2479 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2481 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2482 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2484 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2486 * java/io/File.java (toURI): Throw RuntimeException, not
2488 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2489 class name, not instance.
2491 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2493 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2494 and gnu/java/security/action/SetAccessibleAction.java.
2495 * Makefile.in: Rebuilt.
2497 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2499 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2500 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2502 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2503 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2504 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2506 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2508 * Makefile.am: Replace jar, rmic and rmiregistry references with
2509 gjar, grmic and grmiregistry.
2510 * configure.in: Likewise.
2511 * Makefile.in: Regenerate.
2512 * configure: Likewise.
2513 * gcj/Makefile.in: Likewise.
2514 * include/Makefile.in: Likewise.
2515 * testsuite/Makefile.in: Likewise.
2517 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2519 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2520 for privileged getProperty calls.
2521 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2522 SetAccessibleAction instead of anonymous class for doPrivileged call.
2523 (getMethod): Likewise.
2524 (setAccessible): New field. PrivilegedAction object to use when
2525 calling setAccessible.
2526 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2527 SetAccessibleAction instead of anonymous class for diPrivileged call.
2528 (setFields): Likewise.
2529 (getClassUID): Likewise.
2530 (findMethod): Likewise.
2531 * gnu/java/security/action/GetPropertyAction.java: New class.
2532 * gnu/java/security/action/SetAccessibleAction.java: New class.
2534 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2536 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2538 * testsuite/libjava.lang/Serialization.java: New test.
2539 * testsuite/libjava.lang/Serialization.out: New.
2541 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2543 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2544 missed in last commit.
2546 2004-07-23 Mark Wielaard <mark@klomp.org>
2548 * java/lang/System.java (static): Set http.agent system property when
2550 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2551 from system property inside AccessController.doPrivileged() call.
2552 (proxyPort): Made package private.
2553 (proxyInUse): Likewise.
2554 (proxyHost): Likewise.
2555 (userAgent): Likewise.
2557 2004-07-23 Mark Wielaard <mark@klomp.org>
2559 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2562 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2564 * Makefile.am (ordinary_java_source_files): Add
2565 DefaultContentHandlerFactory.java.
2566 * Makefile.in: Rebuilt.
2567 * java/net/URLConnection.java (defaultFactory): New field.
2569 (getContentHandler): Renamed from 'setContentHandler'. Try
2570 defaultFactory after user-set factory, if any. Search for content
2571 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2572 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2574 (getLastModified): Implemented.
2575 (getPermission): Create file permission here, instead of in
2577 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2579 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2581 (getLastModified): Implemented.
2582 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2583 Default implementation.
2584 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2585 Implement using GdkPixbufDecoder.
2587 2004-07-21 Michael Koch <konqueror@gmx.de>
2589 * javax/swing/JTextArea.java
2590 (setLineWrap): Fire property change event after new value is set.
2591 (setTabSize): Likewise.
2593 2004-07-21 Michael Koch <konqueror@gmx.de>
2595 * javax/swing/JTable.java
2596 (autoCreateColumnsFromModel): New field.
2597 (autoResizeMode): Likewise.
2598 (cellEditor): Likewise.
2599 (cellSelectionEnabled): Likewise.
2600 (columnModel): Likewise.
2601 (dataModel): Likewise.
2602 (defaultEditorsByColumnClass): Likewise.
2603 (defaultRenderersByColumnClass): Likewise.
2604 (editingColumn): Likewise.
2605 (editingRow): Likewise.
2606 (gridColor): Likewise.
2607 (preferredViewportSize): Likewise.
2608 (rowHeight): Likewise.
2609 (rowMargin): Likewise.
2610 (rowSelectionAllowed): Likewise.
2611 (selectionBackground): Likewise.
2612 (selectionForeground): Likewise.
2613 (selectionModel): Likewise.
2614 (showHorizontalLines): Likewise.
2615 (showVerticalLines): Likewise.
2616 (tableHeader): Likewise.
2617 (JTable): Implemented.
2618 (getColumnModel): Likewise.
2619 (getSelectedRow): Likewise.
2620 (getSelectionModel): Likewise.
2621 (setModel): Likewise.
2622 (setSelectionModel): Likewise.
2623 (createScrollPaneForTable): New method.
2624 (createDefaultDataModel): Likewise.
2625 (createDefaultListSelectionModel): Likewise.
2626 (getModel): Likewise.
2627 (getTableHeader): Likewise.
2628 (setTableHeader): Likewise.
2629 (getColumnSelectionAllowed): Likewise.
2630 (setColumnSelectionAllowed): Likewise.
2631 (getRowSelectionAllowed): Likewise.
2632 (setRowSelectionAllowed): Likewise.
2633 (getAutoResizeMode): Likewise.
2634 (setAutoResizeMode): Likewise.
2635 (getColumnCount): Likewise.
2636 (getRowCount): Likewise.
2637 (getCellRenderer): Likewise.
2638 * javax/swing/JTree.java
2639 (cellRenderer): New field.
2640 (editable): Likewise.
2641 (rootVisible): Likewise.
2642 (showsRootHandles): Likewise.
2643 (getModel): New method.
2644 (setModel): Likewise.
2645 (isEditable): Likewise.
2646 (setEditable): Likewise.
2647 (isRootVisbile): Likewise.
2648 (setRootVisible): Likewise.
2649 (getShowsRootHandles): Likewise.
2650 (setShowRootHandles): Likewise.
2651 (getCellRenderer): Likewise.
2652 (setCellRenderer): Likewise.
2654 2004-07-21 Michael Koch <konqueror@gmx.de>
2656 * javax/swing/JFormattedTextField.java
2657 (setDocument): Implemented.
2658 * javax/swing/JRootPane.java:
2660 * javax/swing/JTable.java
2661 (getDefaultRenderer): New method.
2662 * javax/swing/JTextField.java
2663 (setFont): Likewise.
2664 (getPreferredSize): Likewise.
2665 * javax/swing/JToggleButton.java
2666 (getAccessibleContext): Fix javadoc.
2667 * javax/swing/JTree.java:
2669 * javax/swing/JViewport.java:
2672 2004-07-21 David Jee <djee@redhat.com>
2674 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2675 Collect all native method declaration at the top.
2676 (create): Set the filename filter if necessary.
2677 (setDirectory): Call nativeSetDirectory().
2678 (setFilenameFilter): Implement.
2679 (filenameFilterCallback): New method.
2680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2681 (create): Configure dialog to show hidden files.
2682 (filenameFilterCallback): New function.
2683 (nativeSetFilenameFilter): New function.
2684 (nativeSetDirectory): New function.
2686 2004-07-21 Kim Ho <kho@redhat.com>
2688 * javax/swing/plaf/basic/BasicSliderUI.java:
2690 (paintTrack): Fill the track before painting
2693 2004-07-21 Graydon Hoare <graydon@redhat.com>
2695 patch from Roman Kennke <roman@ontographics.com>
2696 * javax/swing/Spring.java: New file.
2697 * javax/swing/SpringLayout.java: New file.
2698 * Makefile.am: Add new files.
2699 * Makefile.in: Regenerate.
2701 2004-07-21 Graydon Hoare <graydon@redhat.com>
2703 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2704 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2705 * javax/swing/ScrollPaneLayout.java: Likewise.
2707 2004-07-21 Kim Ho <kho@redhat.com>
2709 * javax/swing/DefaultDesktopManager.java:
2710 (findMinimum): Removed.
2711 (resizeFrame): Trust the UI to pass valid
2713 * javax/swing/JOptionPane.java:
2714 Implemented showInternalXXXDialog methods.
2715 (startModal): New method.
2716 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2717 (BorderListener::mouseDragged): Verify that the new
2718 bounds are valid before passing them to the DesktopManager.
2719 (preferredLayoutSize): Delegate
2721 (minimumLayoutSize): Ditto.
2722 (getSize): New method.
2723 (GlassPaneDispatcher): Reimplemented by copying
2724 a stripped down LightweightDispatcher from Container.
2725 (getMinimumSize): Call minimumLayoutSize.
2726 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2728 (mousePressed): Add ability to properly close
2730 * javax/swing/plaf/basic/BasicToolBarUI.java:
2731 (DragWindow): Set owner for DragWindow.
2733 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2735 * java/awt/image/ShortLookupTable.java: New file.
2736 * java/awt/image/ByteLookupTable.java: New file.
2737 * Makefile.am: Added new files.
2738 * Makefile.in: Regenerated.
2740 2004-07-21 David Jee <djee@redhat.com>
2742 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2743 (create(GtkContainerPeer)): New native method.
2744 (create()): Call native create(), passing in the parent frame
2745 as the paramter. Natively set the current file and directory.
2746 (setFile): Construct an absolute filename before passing it to
2748 (nativeGetDirectory): New method.
2749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2750 (window_closed): Removed.
2751 (ok_clicked): Likewise.
2752 (cancel_clicked): Likewise.
2753 (handle_response): New method.
2754 (create): Use GtkFileChooserDialog.
2755 (connectSignals): Connect to handle_response.
2756 (nativeGetDirectory): New method.
2757 (nativeSetFile): Use GtkFileChooserDialog.
2759 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2761 * java/awt/image/LookupTable.java: New file.
2762 * Makefile.am: Added new file.
2763 * Makefile.in: Regenerated.
2765 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2767 * java/awt/image/Kernel.java: New file.
2768 * Makefile.am: Added new file.
2769 * Makefile.in: Regenerated.
2771 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2773 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2774 * javax/swing/JMenu.java: Likewise.
2775 * javax/swing/JMenuBar.java: Likewise.
2776 (MARGIN_CHANGED_PROPERTY): New property.
2777 (setMargin): Implemented.
2778 * javax/swing/JMenuItem.java: Fixed javadocs.
2779 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2780 (LABEL_CHANGED_PROPERTY): New property.
2781 (add): changed to use createActionComponent.
2782 (createActionComponent): Implemented.
2783 (setLabel): Fire PropertyChangeEvent if label property
2785 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2786 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2787 (ContainerHandler): Repaint if margin property has changed.
2788 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2789 (installUI): Call installComponents().
2790 (uninstallUI): Call uinstallComponents().
2791 * javax/swing/plaf/basic/BasicMenuUI.java:
2793 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2796 2004-07-21 Kim Ho <kho@redhat.com>
2798 * javax/swing/plaf/basic/BasicToolBarUI.java:
2799 (DragWindow): Use the right constructor.
2801 2004-07-21 Kim Ho <kho@redhat.com>
2803 * javax/swing/JToolBar.java:
2804 (layoutContainer): Use getComponents.
2805 * javax/swing/plaf/basic/BasicToolBarUI.java:
2806 (DragWindow): Don't use SwingUtilities'
2808 (ToolBarDialog): ditto.
2810 2004-07-21 Kim Ho <kho@redhat.com>
2812 * javax/swing/JRootPane.java:
2814 (layoutContainer): Set the glasspane's size to
2815 be the same as the content pane.
2816 (createGlassPane): Set opaque property to false.
2818 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2820 * java/awt/Component.java (requestFocus()): Don't handle Panels
2822 (requestFocus(boolean)): Likewise.
2823 (requestFocusInWindow(boolean)): Likewise.
2824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2825 Set GTK_CAN_FOCUS flag.
2827 2004-07-21 Kim Ho <kho@redhat.com>
2829 * Makefile.am: Added new file.
2830 * Makefile.in: Regenerated.
2831 * gcj/Makefile.in: Regenerated.
2832 * include/Makefile.in: Regenerated.
2833 * javax/swing/AbstractButton.java:
2834 Add rollOverEnabled property.
2835 (setRolloverEnabled): Use new property.
2836 (isRolloverEnabled): Use new property.
2837 * javax/swing/JTabbedPane.java:
2838 (setComponent): Remove useless JTabbedPane.this.
2839 * javax/swing/JToolBar.java: Finish implementation.
2840 * javax/swing/plaf/basic/BasicArrowButton.java:
2841 (paint): Moved border painting to a border.
2842 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2843 Change JToolBar look and feel defaults.
2844 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2845 (actionPerformed): Return Integer index instead of name.
2846 (addButtonComponents): Check to see if component is
2848 (createMessageArea): Don't use components that are not
2850 (getIconForType): Use temporary icons.
2851 * javax/swing/plaf/basic/BasicSliderUI.java:
2852 (mousePressed): Do not return if it's on thumb.
2853 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2854 (paintMinorTickForVertSlider): ditto.
2855 (paintMajorTickForHorizSlider): ditto.
2856 (paintMajorTickForVertSlider): ditto.
2857 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2858 Add a border around the SplitPaneDivider.
2859 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2861 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2862 New file. Implemented.
2863 * javax/swing/plaf/basic/BasicToolBarUI.java:
2865 * testsuite/Makefile.in: Regenerated.
2867 2004-07-21 Graydon Hoare <graydon@redhat.com>
2869 * javax/swing/Timer.java (run): Queue events each time cycle.
2871 2004-07-21 David Jee <djee@redhat.com>
2873 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2874 (imageComplete): Call image.imageComplete().
2875 * java/awt/image/MemoryImageSource.java:
2876 Reimplement consumers as a Vector instead of a Hashtable. This is
2877 because enumeration on a Hashtable is not thread-safe.
2878 (addConsumer): Adapt to Vector consumers.
2879 (isConsumer): Adapt to Vector consumers.
2880 (removeConsumer): Adapt to Vector consumers.
2881 (startProduction): Adapt to Vector consumers. Call imageComplete()
2882 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2883 (newPixels): Adapt to Vector consumers.
2884 (sendPicture): Set the color model of the image consumer.
2885 (newPixels(IIII)): Adapt to Vector consumers.
2886 (newPixels(IIIIB)): Adapt to Vector consumers.
2888 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2890 * java/awt/Component.java (deliverEvent): Implement.
2891 (postEvent): Implement.
2892 (handleEvent): Implement.
2893 (translateEvent): New method.
2894 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2895 * java/awt/Container.java (deliverEvent): Implement.
2896 * java/awt/Event.java (paramString): Fix formatting.
2897 * java/awt/Font.java (toString): Likewise.
2898 * java/awt/Window.java (postEvent): Implement.
2900 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2902 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2903 Set window's focus owner upon receiving a FOCUS_LOST event.
2904 * java/awt/Window.java (Window()): Refocus the previously
2905 focused component within the window when the window regains the
2907 (setFocusOwner): New method.
2908 * java/awt/Component.java (requestFocus): Add FIXME.
2910 * libgcj.pc.in: Remove library flags.
2912 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2914 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2915 MOUSE_PRESSED event.
2916 * java/awt/Component.java (requestFocus()): Handle Panel
2917 specially. Post FOCUS_LOST event on opposite component.
2918 (requestFocus(boolean)): Likewise.
2919 (requestFocusInWindow(boolean)): Likewise.
2920 (paramString): Reorder dimension fields.
2921 * java/awt/Container.java (paramString): Fix string format.
2922 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2923 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2924 process key events if the focus owner is non-null.
2925 (dispatchKeyEvent): Likewise.
2926 * java/awt/Frame.java (paramString): Fix formatting.
2927 (generateName): New method.
2928 (getUniqueLong): Likewise.
2929 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2930 the temporary focus owner is null. If so, return the permanent
2932 * java/awt/Panel.java (generateName): New method.
2933 (getUniqueLong): Likewise.
2934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2935 signal handling to make callbacks more specific.
2937 2004-07-21 Michael Koch <konqueror@gmx.de>
2939 * javax/swing/text/Position.java
2940 (Bias): Implemented.
2942 2004-07-21 Michael Koch <konqueror@gmx.de>
2944 * javax/swing/LookAndFeel.java
2945 (provideErrorFeedback): New method.
2947 2004-07-21 Michael Koch <konqueror@gmx.de>
2949 * javax/swing/JTextArea.java
2950 (tabSize): New field.
2951 (getTabSize): New method.
2952 (setTabSize): Likewise.
2954 2004-07-21 Michael Koch <konqueror@gmx.de>
2956 * javax/swing/ActionMap.java:
2957 Fixed javadocs all over.
2958 (serialVersionUID): Made private.
2959 (parent): Don't explicitely initialize with default value.
2961 (keys): Reimplemented.
2962 (allKeys): Likewise.
2963 (convertSet): Removed.
2964 * javax/swing/ComponentInputMap.java:
2965 Fixed javadocs all over.
2966 (ComponentInputMap): Implemented.
2970 (SetParent): Likewise.
2971 (getComponent): Likewise.
2972 * javax/swing/InputMap.java:
2973 Fixed javadocs all over.
2974 (serialVersionUID): Made private.
2975 (parent): Don't explicitely initialize with default value.
2977 (keys): Reimplemented.
2978 (allKeys): Likewise.
2979 (convertSet): Removed.
2981 2004-07-21 Michael Koch <konqueror@gmx.de>
2983 * javax/swing/ActionMap.java,
2984 javax/swing/ComponentInputMap.java,
2985 javax/swing/InputMap.java,
2986 javax/swing/table/DefaultTableColumnModel.java,
2987 javax/swing/table/TableColumn.java,
2988 javax/swing/table/TableColumnModel.java,
2989 javax/swing/table/TableModel.java,
2990 javax/swing/text/AbstractDocument.java,
2991 javax/swing/text/TextAction.java:
2994 2004-07-21 Graydon Hoare <graydon@redhat.com>
2996 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2997 Make method non-static.
2998 * javax/swing/AbstractButton.java:
2999 Rename fields to match property names where possible.
3000 (iconTextGap): New property.
3001 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3002 (init) New method, call from after various constructors.
3003 * javax/swing/JComponent.java (revalidate):
3004 Invalidate before queueing repair.
3005 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3006 Reimplement in terms of visibleRowCount property.
3007 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3008 * javax/swing/JScrollPane.java (createScrollListener):
3009 Remove tracing chatter.
3010 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3011 * javax/swing/RepaintManager.java (addInvalidComponent):
3013 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3015 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3016 Mimic sun behavior on top left/right positioning.
3017 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3018 Remove mistaken use of preferredScrollableViewportSize here.
3019 (layoutContainer): Use view's preferred size as basis.
3020 * javax/swing/plaf/basic/BasicButtonUI.java:
3021 Set, get, and use textIconGap property.
3022 (paint) Paint text returned from layout (with ellipsis).
3023 * javax/swing/plaf/basic/BasicListUI.java:
3024 Remove tracing chatter, correct various minor calculations.
3025 (getCellBounds): Update layout state before calculating.
3026 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3027 Use margin default similar to sun's.
3028 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3029 (createIncreaseIcon): Center icon, minimize margins.
3030 (createDecreaseIcon): Likewise.
3031 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3033 (installUI): Call it.
3034 (uninstallDefaults): Implement.
3035 (uninstallUI): Call it.
3036 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3037 Call existing Window constructor.
3038 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3039 Set clip before painting.
3041 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3043 * javax/swing/JMenuItem.java:
3044 (processMouseEvent): Reimplemented to deal with
3046 (createMenuDragMouseEvent): New private helper method.
3047 Creates MenuDragMouseEvent.
3048 * javax/swing/MenuSelectionManager.java
3049 (componentForPoint): Implemented.
3050 (isComponentPartOfCurrentMenu): Made public.
3051 (processMouseEvent): Reimplemented to deal with
3053 (setSelectedPath): Corrected small mistake that caused
3054 path to be set incorrectly.
3055 (getPath): If given component is JMenu then also add this
3056 menu's popup menu to the selected path.
3057 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3059 (getPreferredSize): Call getPreferredMenuItemSize().
3060 (getPreferredItemSize): Moved code from getPreferredSize to here.
3061 (installListeners): Install MouseMotionListeners.
3062 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3063 if mouse wasn't released in the bounds of this menu item.
3064 (MenuDragMouseHandler): Implemented.
3065 * javax/swing/plaf/basic/BasicMenuUI.java:
3066 (installListeners): Install MouseMotionListener and
3067 MenuDrageMouseListener.
3068 (MenuDragMouseHandler): Implemented.
3069 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3070 (uninstallListeners): Implemented.
3072 2004-07-21 Michael Koch <konqueror@gmx.de>
3074 * javax/swing/JCheckBox.java: Reformated.
3075 (JCheckBox): Fixed all constructors.
3076 (isBorderPaintedFlat): New method.
3077 (setBorderPaintedFlat): New method.
3078 * javax/swing/JEditorPane.java
3079 (createEditorKitForContentType): Made public.
3080 (scrollToReference): Likewise.
3081 * javax/swing/JTextArea.java
3082 (setLineWrap): Fire property change.
3083 * javax/swing/JToggleButton.java
3084 (JToggleButton): New constructor.
3085 (JToggleButton): Simplified.
3086 * javax/swing/text/AttributeSet.java
3087 (FontAttribute): Renamed from FontCharacterAttribute.
3088 * javax/swing/text/JTextComponent.java
3089 (KeyBinBinding): Added javadoc.
3090 (JTextComponent): Likewise.
3091 (getAccessibleContext): Fixed javadoc.
3092 * javax/swing/text/View.java
3093 (View): Added javadoc.
3094 * javax/swing/text/TabableView.java: New file.
3095 * Makefile.am: Added javax/swing/text/TabableView.java.
3096 * Makefile.in: Regenerated.
3098 2004-07-21 Graydon Hoare <graydon@redhat.com>
3100 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3101 * gnu/java/awt/peer/gtk/GtkToolkit.java
3102 (GtkErrorImage): New helper class.
3103 (bufferedImageOrError): New helper method.
3104 (createImage): Use it.
3106 2004-07-21 David Jee <djee@redhat.com>
3108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3109 (setCaretPosition): Scroll the text view so the new caret position
3110 is visible on screen.
3112 2004-07-21 David Jee <djee@redhat.com>
3114 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3115 (setBounds): Do not validate awtComponent here.
3116 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3117 (getPreferredSize): New method.
3118 * java/awt/ScrollPane.java
3119 (ScrollPane): Set default size to 100x100.
3120 (addNotify): If child is not a Panel, wrap it with a new Panel.
3121 (paramString): Implement.
3123 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3125 * javax/swing/JMenu.java:
3126 (setSelected): Display popup menu only if this menu
3127 is showing on the screen.
3128 * javax/swing/JPopupMenu.java:
3129 (processMouseEvent): Added comment.
3130 (processKeyEvent): Likewise.
3131 * javax/swing/MenuSelectionManager.java:
3132 (clearSelectedPath): Only fireStateChanged() after
3133 selected path was changed, not before.
3134 (setSelectedPath): Likewise.
3135 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3136 (paintMenuItem): Corrected position of menu item's
3138 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3139 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3140 (popupMenuCanceled): Reimplemented.
3141 (popupMenuWillBecomeVisible): Select first menu item by default
3142 when displaying free floating popup menus.
3143 (TopWindowListener): Reimplemented.
3145 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3147 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3148 Panel from being painted twice when it is first shown.
3150 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3152 * java/awt/Window.java: Reverted changes from my
3153 previous patch for creating window without an owner.
3154 * javax/swing/SwingUtilities.java:
3155 (SwingUtilities.OwnerFrame): made static.
3156 (OwnerFrame.setVisible): New method. Overridden with
3157 empty implementation.
3158 (OwnerFrame.isShowing): New method. Ovverridden
3159 to return always true.
3161 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3163 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3165 (GtkComponentPeer): Remove temporary try/catch block.
3166 (setVisible): Call show and hide.
3167 (show): Make native.
3169 (getArgs): Don't add "visible" argument.
3170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3171 (property_notify_predicate): Return Bool instead of int.
3172 (find_layout): New function.
3173 (connectJObject): Call find_layout.
3174 (connectSignals): Likewise.
3175 (moveLayout): Likewise.
3176 (gtkLayoutSetVisible): Likewise.
3178 2004-07-21 Mark Wielaard <mark@klomp.org>
3180 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3181 on notifier object before calling notifyAll().
3183 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3185 * java/awt/Window.java: Changed constructors to use new
3186 method that is described below. Constructors call this
3187 methods only if newly created window should have an owner.
3188 (setWindowOwner): New method. Implementation for
3189 this method is moved from this(owner,configuration).
3190 * javax/swing/JWindow.java:
3191 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3193 * javax/swing/SwingUtilities.java:
3194 (ownerFrame): Change type of this field to OwnerFrame.
3195 (getOwnerFrame): Changed to return object of type OwnerFrame.
3196 (SwingUtilities.OwnerFrame): New class. Represents owner
3197 of a Window that is not provided with one.
3199 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3201 * javax/swing/AbstractButton.java:
3202 (configurePropertiesFromAction): Set action command
3203 to button's text by default if action command is not
3204 explicitely specified.
3205 * javax/swing/JMenu.java: Remove unnecessary listener
3206 and methods relevant to it.
3207 (setSelected): Reimplemented.
3208 (menuSelectionChanged): Moved most part of implementation to
3209 setSelected() and call it instead.
3210 * javax/swing/JMenuItem.java:
3211 (init): Comment out statement that sets paint_border to false.
3212 (configurePropertiesFromAction): Do not set accelerator
3214 (menuSelectionChanged): Change selected index in the selection
3215 model of menu item's parent.
3216 * javax/swing/JPopupMenu.java:
3217 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3218 instead of GridBagConstraints.HORIZONTAL.
3220 (createActionChangeListener): Implemented.
3221 (setVisible): Correct location of HeavyWeightMenu and
3222 don't firePopupMenuCanceled().
3223 (menuSelectionChanged): Implemented.
3224 (ActionChangeListener): New Listener. Implemented.
3225 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3226 (BasicMenuBarUI.ContainerHandler): Implemented.
3227 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3228 (paintMenuItem): Uncommented out code that paints
3229 icon, now that icons are working properly.
3230 (PropertyChangeListener): Implemented.
3231 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3233 (topWindowListener): New field.
3234 (Constructor): initialize topWindowListener.
3235 (BasicPopupMenuUI.TopWindowListener): Implemented.
3236 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3237 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3240 2004-07-21 Michael Koch <konqueror@gmx.de>
3242 * javax/swing/plaf/basic/BasicButtonUI.java
3243 (paintFocus): Fixed method signature.
3244 (paintButtonPressed): Likewise.
3245 (paintButtonNormal): Likewise.
3246 (paintText): New method.
3247 * javax/swing/plaf/basic/BasicLabelUI.java
3248 (paint): Re-indented.
3249 * javax/swing/plaf/basic/BasicTextUI.java
3250 (installUI): Set parent textComponent to opaque.
3251 * javax/swing/text/DefaultHighlighter.java
3252 (checkPositions): New helper method.
3253 (addHighlight): Throws BadLocationException, check positions.
3254 (changeHighlight): Likewise.
3255 * javax/swing/text/EditorKit.java
3256 (EditorKit): Implements Serializable.
3257 * javax/swing/text/JTextComponent.java
3258 (getUI): Added javadoc.
3260 (upadteUI): Added javadoc, don't revalidate and repaint.
3262 2004-07-21 David Jee <djee@redhat.com>
3264 * java/awt/GridBagLayout.java
3265 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3266 * javax/swing/AbstractButton.java
3267 (setText): Reindent.
3268 * javax/swing/RepaintManager.java
3269 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3271 2004-07-21 Michael Koch <konqueror@gmx.de>
3273 * javax/swing/JFormattedTextField.java
3275 (JFormattedTextField): Implemented.
3276 (getValue): Likewise.
3277 (setValue): Likewise.
3278 * javax/swing/LookAndFeel.java
3279 (getSupportsWindowDecorations): New method.
3280 * javax/swing/UIDefaults.java:
3281 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3282 (addPropertyChangeListener): Made public.
3283 (addResourceBundle): Likewise.
3284 (removeResourceBundle): Likewise.
3285 (setDefaultLocale): Likewise.
3286 * javax/swing/plaf/basic/BasicRootPaneUI.java
3287 (BasicRootPaneUI): Implements PropertyChangeListener.
3288 (propertyChange): New method.
3289 * javax/swing/plaf/basic/BasicTextUI.java
3290 (BasicHighlighter): New inner class.
3291 (createHighlighter): New method.
3292 * javax/swing/plaf/basic/BasicToolBarUI.java
3293 (DragWindow): Extends java.awt.Window.
3294 * javax/swing/text/JTextComponent.java
3295 (getDocument): Removed debug output.
3296 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3297 javax/swing/text/DefaultHighlighter.java,
3298 javax/swing/text/FieldView.java,
3299 javax/swing/text/PlainView.java: New files.
3300 * Makefile.am: Added new files.
3301 * Makefile.in: Regenerated.
3303 2004-07-21 Michael Koch <konqueror@gmx.de>
3305 * javax/swing/JEditorPane.java
3306 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3307 (createEditorKitForContentType): Likewise.
3308 * javax/swing/text/DefaultEditorKit.java
3309 (serialVersionUID): Added constant field.
3310 (EndOfLineStringPropery): Fixed typo.
3311 (DefaultEditorKit): New constructor.
3312 * javax/swing/text/Segment.java:
3313 Import java.text.CharacterIterator.
3314 * javax/swing/text/CharacterIterator.java,
3315 javax/swing/text/PlainEditorKit.java: Removed.
3316 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3317 javax/swing/text/PlainEditorKit.java.
3318 * Makefile.in: Regenerated.
3320 2004-07-21 Michael Koch <konqueror@gmx.de>
3322 * javax/swing/JButton.java,
3323 javax/swing/text/DefaultEditorKit.java,
3324 javax/swing/text/EditorKit.java,
3325 javax/swing/text/Segment.java,
3326 javax/swing/text/StyledEditorKit.java:
3329 2004-07-21 Michael Koch <konqueror@gmx.de>
3331 * javax/swing/ImageIcon.java
3333 (description): Renamed from descr.
3334 (ImageIcon): Added missing constructors.
3335 (setParent): Removed.
3336 (setImageObserver): New method.
3337 (getImageObserver): New method.
3338 (paintIcon): Handle observer = null.
3339 * javax/swing/JButton.java
3340 (removeNotify): Fixed javadoc.
3341 (updateUI): Simplified.
3342 * javax/swing/JRootPane.java
3343 (serialVersionUID): New constant field.
3344 * javax/swing/UIManager.java:
3345 Fixed javadocs all over.
3346 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3347 * javax/swing/text/AbstractDocument.java
3348 (createPosition): Throws BadLocationException.
3349 (getText): Likewise.
3351 * javax/swing/text/ComponentView.java
3352 (modelToView): Likewise.
3353 * javax/swing/text/DefaultEditorKit.java:
3354 Made all public methods public.
3355 (read): Throws BadLocationException and IOException.
3357 * javax/swing/text/EditorKit.java:
3358 Made all public methods public.
3359 (serialVersionUID): New constant field.
3360 (clone): New method.
3361 (read): Throws BadLocationException and IOException.
3363 * javax/swing/text/Segment.java
3364 (array): Made public.
3367 (Segment): New constructors.
3368 (clone): Reimplemented.
3369 * javax/swing/text/StyledEditorKit.java
3370 (serialVersionUID): New constant field.
3372 2004-07-21 Graydon Hoare <graydon@redhat.com>
3374 * java/awt/image/BufferedImage.java
3375 (getSource): Implement.
3376 * javax/swing/ImageIcon.java
3377 (ImageIcon): Implement ctor.
3378 * javax/swing/ScrollPaneLayout.java
3379 (preferredLayoutSize): Be more careful about nulls.
3381 2004-07-21 Michael Koch <konqueror@gmx.de>
3383 * javax/swing/text/AttributeSet.java
3384 (CharacterAttribute): New interface
3385 (ColorAttribute): Likewise.
3386 (FontCharacterAttribute): Likewise.
3387 (ParagraphAttribute): Likewise.
3388 * javax/swing/text/DefaultCaret.java
3389 (moveCaret): New method.
3390 (positionCaret): Likewise.
3391 (repaint): Made protected.
3392 * javax/swing/text/JTextComponent.java
3393 (KeyBinding): Made it static.
3394 * javax/swing/text/View.java
3395 (getContainer): Honor parent == null.
3397 2004-07-21 Michael Koch <konqueror@gmx.de>
3399 * javax/swing/text/AbstractDocument.java:
3402 2004-07-21 Michael Koch <konqueror@gmx.de>
3404 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3405 Import javax.swing.UIManager explicitely.
3406 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3407 (ScrollingButton): Made it static.
3409 2004-07-21 Michael Koch <konqueror@gmx.de>
3411 * javax/swing/UIDefaults.java
3412 (ActiveValue): Made public.
3413 (LazyValue): Likewise.
3414 * javax/swing/plaf/basic/BasicTextUI.java
3415 (RootView): Reintroduced.
3417 (rootView): New field.
3418 (installUI): Create document if needed, initialize rootView.
3419 (uninstallUI): Hanle rootView.
3421 (getRootView): Likewise.
3422 (setView): Likewise.
3423 * javax/swing/text/DefaultCaret.java:
3424 Renamed all "evt" variables to "event".
3426 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3428 * libgcj.spec.in: Add -l-java-util-logging.
3430 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3433 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3434 gtk-xft-dpi can no calculate the right value.
3435 (dpi_changed_cb): Mark *pspec as unsused.
3437 2004-07-21 David Jee <djee@redhat.com>
3439 * java/awt/Component.java
3440 (move): Delegate to setBounds().
3442 (reshape): Fix so it repaints parent and self only when necessary.
3444 2004-07-21 David Jee <djee@redhat.com>
3446 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3447 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3448 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3449 (setVisible): Likewise.
3452 (getArgs): Likewise.
3453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3454 (property_notify_predicate): Likewise.
3455 (find_layout): Likewise.
3456 (connectJObject): Likewise.
3457 (connectSignals): Likewise.
3458 (moveLayout): Likewise.
3459 (gtkLayoutSetVisible): Likewise.
3461 2004-07-21 Graydon Hoare <graydon@redhat.com>
3467 (rmiregistry_LDADD): Add lib-java-util-logging.la
3468 * Makefile.in: Regenerate.
3470 2004-07-21 Michael Koch <konqueror@gmx.de>
3472 * javax/swing/text/AbstractDocument.java
3473 (replace): Dont use protected method of java.util.Vector directly.
3475 2004-07-21 Michael Koch <konqueror@gmx.de>
3477 * javax/swing/plaf/basic/BasicTextUI.java
3478 (installUI): Call specialized install methods.
3479 (installDefaults): New method.
3480 (installListeners): Likewise.
3481 (installKeyboardActions): Likewise.
3482 (uninstallUI): Likewise.
3483 (uninstallDefaults): New method.
3484 (uninstallListeners): Likewise.
3485 (uninstallKeyboardActions): Likewise.
3486 (getPropertyPrefix): New abstract method.
3487 (paint): Made final, just call paintSafely().
3488 (paintSavely): New method.
3489 (paintBackground): Likewise.
3490 (getVisibleEditorRect): Likewise.
3491 * javax/swing/text/LayeredHighlighter.java,
3492 javax/swing/text/TabExpander.java: New files.
3493 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3494 and javax/swing/text/TabExpander.java.
3495 * Makefile.in: Regenerated.
3497 2004-07-21 Michael Koch <konqueror@gmx.de>
3499 * javax/swing/plaf/basic/BasicTextUI.java
3500 (BasicTextUI): Made abstract.
3501 (BasicCaret): New inner class.
3502 (view): Don't explicitely initialize with "null".
3503 (textComponent): New field.
3504 (textColor): Removed.
3505 (disabledTextColor): Removed.
3506 (normalBackgroundColor): Removed.
3507 (RootView): Removed commented out inner class.
3508 (createUI): Removed.
3509 (createCaret): New method.
3510 (getComponent): Likewise.
3511 (installUI): Initialize textComponent only.
3512 (getPreferredSize): Use installed JTextComponent.
3513 (setView): New method.
3515 * javax/swing/text/JTextComponent.java
3516 (highlighter): New field.
3517 (caretColor): Likewise.
3518 (disabledTextColor): Likewise.
3519 (seletedTextColor): Likewise.
3520 (selectionColor): Likewise.
3521 (setUI): New method.
3522 (getCaretColor): Likewise.
3523 (setCaretColor): Likewise.
3524 (getDisabledColor): Likewise.
3525 (setDisabledColor): Likewise.
3526 (getSelectedTextColor): Likewise.
3527 (setSelectedTextColor): Likewise.
3528 (getSelectionColor): Likewise.
3529 (setSelectionColor): Likewise.
3530 (getHighlighter): Likewise.
3531 (setHighlighter): Likewise.
3532 (replaceSelection): Likewise.
3534 2004-07-21 Michael Koch <konqueror@gmx.de>
3536 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3537 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3538 * javax/swing/plaf/basic/BasicToolBarUI.java
3539 (BasicToolBarUI): Implements SwingConstants.
3541 2004-07-21 Michael Koch <konqueror@gmx.de>
3543 * javax/swing/JPopupMenu.java: Removed CVS tags.
3544 * javax/swing/UIDefaults.java: Reformatted.
3545 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3546 Explicitely import used classes.
3548 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3550 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3551 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3552 (GtkComponentPeer): Remove temporary try/catch block.
3553 (setVisible): Call show and hide.
3554 (show): Make native.
3556 (getArgs): Don't add "visible" argument.
3557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3558 (property_notify_predicate): Return Bool instead of int.
3559 (find_layout): New function.
3560 (connectJObject): Call find_layout.
3561 (connectSignals): Likewise.
3562 (moveLayout): Likewise.
3563 (gtkLayoutSetVisible): Likewise.
3565 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3567 * javax/swing/AbstractButton.java:
3568 (setDisplayedMnemonicIndex): Check if button
3569 text is not null before checking its length.
3570 * javax/swing/JMenuItem.java:
3571 (processMouseEvent): Disarm menu item if mouse has
3573 * javax/swing/plaf/basic/BasicMenuUI.java:
3574 (MouseInputHandler.mouseEntered): Do not raise
3575 popup menu if this menu is already selected.
3576 (MouseInputHandler.mousePressed): Do not fire
3578 (MenuHandler): Implemented.
3580 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3582 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3583 (getSelectedObjects): Implemented.
3584 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3585 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3586 Added javadoc for few methods.
3587 (processMouseEvent): Made public.
3588 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3589 (processMouseEvent): Likewise.
3591 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3593 * javax/swing/AbstractButton.java:
3594 (init): Set display mnemonic index to -1.
3595 (setMnemonic(char)): Use setMnemonic(int).
3596 (setMnemonic(int)): Set display mnemonic index.
3597 (getDisplayedMnemonicIndex): Change method signature
3598 by removing 'index' parameter.
3599 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3600 Added default for Menu.selectionBackground.
3601 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3602 (paintMenuItem): Change background color of the selected
3604 (paintText): Paint differently when menu item is disabled.
3605 Also paint mnemonic if it appears in the menu item's label.
3606 (paintAccelerator): Paint accelerator differently
3607 if menu item is disabled.
3608 * javax/swing/plaf/basic/BasicMenuUI.java:
3609 (installDefaults): Install defaults for
3610 selectionForeground and selectionBackground.
3611 (uninstallDefaults): Uninstall defauls for
3612 selectionForeground and selectionBackground.
3614 2004-07-21 Michael Koch <konqueror@gmx.de>
3616 * javax/swing/text/AbstractDocument.java
3617 (BranchElement): Implemented.
3618 (LeafElement): Implemented.
3619 * javax/swing/text/DefaultCaret.java:
3620 Import used classes.
3621 (serialVersionUID): New constant.
3622 * javax/swing/text/JTextComponent.java
3623 (AccessibleJTextComponent): Removed dead declaration.
3624 (caretPos): Removed.
3625 (setCaret): New method.
3626 * javax/swing/text/PlainDocument.java
3627 (rootElement): New field.
3628 (PlainDocument): Initialize rootElement.
3629 (createDefaultRoot): New method.
3630 (getDefaultRootElement): Implemented.
3631 * javax/swing/text/View.java: Reformatted.
3632 * javax/swing/text/ViewFactory.java
3633 (create): Added javadoc.
3635 2004-07-21 Michael Koch <konqueror@gmx.de>
3637 * javax/swing/ToolTipManager.java: Reformatted.
3639 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3641 * javax/swing/AbstractButton.java
3642 (changeEvent): New field.
3643 (fireItemStateChanged): Change source of the event
3644 to 'this' before firing it to button listeners.
3645 (fireActionPerformed): Likewise.
3646 (fireStateChanged): Likewise.
3647 (createActionListener): Do not set source
3648 of the event to AbstractButton.
3649 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3650 (ContainerHandler.componentAdded): Removed
3651 print out statement.
3652 (ContainerHandler.componentRemoved): Likewise.
3654 2004-07-21 Michael Koch <konqueror@gmx.de>
3656 * javax/swing/text/Highlighter.java: New file.
3657 * Makefile.am: Added javax/swing/text/Highlighter.java.
3658 * Makefile.in: Regenerated.
3660 2004-07-21 Michael Koch <konqueror@gmx.de>
3662 * javax/swing/ToolTipManager.java
3663 (stillInsideTimerAction): Fixed constructor arguments.
3664 (outsideTimerAction): Likewise.
3665 (insideTimerAction): Likewise.
3667 2004-07-21 Michael Koch <konqueror@gmx.de>
3669 * javax/swing/JButton.java: Reformatted.
3670 * javax/swing/JFormattedTextField.java
3671 (getUIClassID): Implemented.
3672 * javax/swing/JRootPane.java
3673 (serialVersionUID): New constant.
3674 * javax/swing/JTextField.java
3676 (JTextField): Simplified.
3677 (getUIClassID): New method.
3678 (getActionListeners): Added @since tag.
3679 (setColumns): Invalidate layout and repaint.
3680 (getHorizontalAlignment): New method.
3681 (setHorizontalAlignment): New method.
3682 (selectAll): Removed.
3683 * javax/swing/SwingUtilities.java
3684 (getAncestorOfClass): Removed redundant @see tag.
3685 (isLeftMouseButton): Fixed implementation.
3686 (isMiddleMouseButton): Likewise.
3687 (isRightMouseButton): Likewise.
3688 * javax/swing/text/AbstractDocument.java
3689 (AttributeContext.addAttribute): New method.
3690 (AttributeContext.addAttributes): New method.
3691 (AttributeContext.getEmptySet): New method.
3692 (AttributeContext.reclaim): New method.
3693 (AttributeContext.removeAttribute): New method.
3694 (AttributeContext.removeAttributes): New method.
3695 * javax/swing/text/Document.java
3696 (createPosition): Throws BadLocationException.
3697 (getText): Likewise.
3699 * javax/swing/text/JTextComponent.java
3700 (getText): Return null if no document is set. Catch
3701 BadLocationException.
3703 (updateUI): Simplified.
3705 2004-07-21 Michael Koch <konqueror@gmx.de>
3707 * javax/swing/JButton.java
3708 (removeNotify): Fixed javadoc.
3709 (updateUI): Simplified.
3711 2004-07-21 David Jee <djee@redhat.com>
3713 * gnu/java/awt/image/ImageDecoder.java
3714 (startProduction): Only add consumer if it's not added yet.
3715 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3716 (GdkPixbufDecoder): Don't call initState() here.
3717 (produce): Call initState() here, to ensure area_prepared and
3718 area_updated signals are properly connected.
3719 * gnu/java/awt/peer/gtk/GtkImage.java
3720 (setColorModel): Use equals() to compare ColorModel objects.
3721 (setPixels): Likewise.
3722 * java/awt/image/ColorModel.java
3723 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3724 * java/awt/image/RGBImageFilter.java
3725 (setColorModel): Set consumer's color model.
3726 (setPixels): Use equals() to compare ColorModel objects.
3728 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3730 * java/net/URLConnection.java (position): New field.
3731 (dateFormat1, dateFormat2, dateFormat3): Removed.
3732 (dateFormats): New field.
3733 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3734 each time instead of re-allocating.
3735 (initializeDateFormats): Initialize 'dateFormats'.
3737 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3740 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3743 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3745 * java/net/Socket.java (getImpl): Now private. Remove comment.
3747 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3749 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3750 of chained Writer when calling super-constructor.
3751 * java/io/FilterWriter.java (FilterWriter): Likewise.
3752 * java/io/PrintWriter.java (PrintWriter): Likewise.
3754 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3756 * prims.cc (process_gcj_properties): Don't increment i within LHS
3759 2004-07-19 Per Bothner <per@bothner.com>
3761 Print -verbose:message on "loading", not initialization.
3762 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3763 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3764 gcj::verbose_class_flag.
3765 * java/lang/natClass.cc (initializeClass): Don't print message here.
3766 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3767 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3768 (_Jv_PrepareCompiledClass): Likewise.
3770 2004-07-18 Matthias Klose <doko@debian.org>
3772 * configure.in: Substitute target_noncanonical.
3773 * configure: Regenerate
3775 2004-07-17 Michael Koch <konqueror@gmx.de>
3777 * java/lang/String.java: Fixed javadocs all over.
3779 2004-07-17 Mark Wielaard <mark@klomp.org>
3781 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3782 when size is smaller.
3783 * java/io/RandomAccessFile.java (setLength): Use truncate for
3784 shrinking the file and seek plus write for expanding the file.
3786 2004-07-17 Michael Koch <konqueror@gmx.de>
3788 * gnu/java/nio/channels/natFileChannelPosix.cc
3789 (implTruncate): Always save current position. Only reposition file
3790 pointer to where we started if not beyond new lenght. Reposition file
3791 pointer to file length if it points beyond the end of file.
3793 2004-07-17 Mark Wielaard <mark@klomp.org>
3795 * javax/swing/Box.java: Put FIXME comment above class declaration.
3796 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3797 * javax/swing/JCheckBox.java: Likewise.
3798 * javax/swing/JDialog.java: Likewise.
3799 * javax/swing/JRadioButton.java: Likewise.
3800 * javax/swing/JToggleButton.java: Likewise.
3801 * javax/swing/UIManager.java: Likewise.
3802 * javax/swing/border/TitledBorder.java: Likewise.
3803 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3804 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3805 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3806 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3807 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3808 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3809 * javax/swing/text/JTextComponent.java: Likewise.
3811 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3813 * java/net/DatagramPacket.java (setAddress): Removed check for
3816 2004-07-17 Michael Koch <konqueror@gmx.de>
3818 * java/net/DatagramSocket.java
3819 (getLocalAddress): Check if socket is bound or not.
3820 * java/net/Socket.java
3821 (getLocalAddrss): Check if socket is bound or not.
3822 (getPort): Return -1 when not connected. Dont check getImpl() for
3824 (setReuseAddress): Check if socket is closed.
3825 (isConnected): Check if getImpl() returns null.
3827 2004-07-17 Mark Wielaard <mark@klomp.org>
3829 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3830 on notifier object before calling notifyAll().
3832 2004-07-17 Michael Koch <konqueror@gmx.de>
3834 * gnu/java/nio/channels/FileChannelImpl.java
3835 (finalize): Added javadoc.
3837 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3839 * java/text/CollationElementIterator.java
3840 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3841 (setText): Use ArrayList instead of Vector.
3843 2004-07-17 Michael Koch <konqueror@gmx.de>
3845 * java/nio/ByteOrder.java
3846 (static): Removed. Not needed.
3847 Thanks to Patrick Reali for noticing.
3848 * java/nio/charset/CharsetDecoder.java
3849 (decode): Fix for classpath bug #9177: Reset state before flipping.
3851 2004-07-17 Michael Koch <konqueror@gmx.de>
3853 * java/security/Security.java: Fixed javadocs all over.
3855 2004-07-17 Michael Koch <konqueror@gmx.de>
3857 * gnu/java/awt/EmbeddedWindow.java
3859 (addNotify): Set peer via reflection.
3860 (setWindowPeer): Removed.
3861 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3862 * Makefile.am (nat_source_files):
3863 Removed gnu/java/awt/natEmbeddedWindow.cc.
3864 * Makefile.in: Regenerated.
3866 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3868 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3870 * configure: Regenerated.
3872 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3874 * configure.in: Use build_noncanonical rather than build_alias.
3875 * configure: Rebuild.
3877 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3878 by logic refactoring. Move default definition of NATIVE closer
3879 to first alternate definition.
3880 * configure: Regenerate.
3882 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3883 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3884 gcj/Makefile.in: Regenerate.
3885 * configure.in: Set ZIP and GCJH. Remove redundant condition
3886 in AM_CONDITIONAL(NATIVE,...)
3887 * configure: Regenerate.
3889 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3891 * configure.in: Use target_noncanonical rather than
3892 target_alias for forward-compatibility with autoconf 2.59.
3893 * configure: Regenerate.
3894 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3895 testsuite/Makefile.am: Substitute target_noncanonical.
3896 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3897 testsuite/Makefile.in: Regenerate.
3899 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3900 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3901 * acinclude.m4: Include acx.m4.
3902 * aclocal.m4: Regenerate.
3903 * configure: Regenerate.
3905 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3908 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3909 (decimalFormat): New static variable.
3911 (getTime): New. Override Date.getTime().
3912 (toString): Synchronize. Use decimalFormat to format nanos value
3913 correctly. Truncate extra zeros.
3914 (before): Compare getNanos() only if getTime() is equal.
3917 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3919 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3920 * configure.in: ...here.
3921 * aclocal.m4: Regenerate.
3922 * configure: Regenerate.
3924 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3925 * configure: Rebuilt with autoconf 2.13.
3926 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3927 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3929 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3932 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3934 * Makefile.in: Rebuilt.
3935 * testsuite/libjava.lang/LargeFile.java: New test case.
3936 * testsuite/libjava.lang/LargeFile.out: New file.
3938 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3940 * java/beans/EventHandler.java: Remove debugging statements.
3942 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3944 * java/beans/EventHandler.java: New file.
3945 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3946 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3947 testsuite/Makefile.in: Regenerate.
3949 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3951 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3952 flag to the gcj_setup.
3953 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3955 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3956 deprecation flag change. 58 XFAILS removed.
3958 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3960 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3961 -fno-use-divide-subroutine.
3962 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3963 (HANDLE_FPE): Define.
3964 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3965 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3966 (HANDLE_DIVIDE_OVERFLOW): Define.
3968 2004-07-14 Michael Koch <konqueror@gmx.de>
3969 Matthias Klose <doko@debian.org>
3971 * java/awt/im/InputContext.java: Initialize in, line.
3973 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3975 * interpret.cc (run): Correctly access libffi return values of
3976 integral smaller-than-int type; these are implicitly promoted.
3978 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3981 * interpret.cc (compile_mutex): New.
3982 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3983 (run): Lock compile_mutex before calling compile() if compilation is
3985 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3986 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3988 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3991 * include/jvm.h (_Jv_value): New union type.
3992 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3993 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3996 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3998 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3999 * gnu/awt/xlib/XOffScreenImage.java
4000 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4001 constructor argument. Add constructor using ImageProducer.
4002 (getSource): Implement.
4003 (imageComplete): New method.
4004 (setColorModel): New method.
4005 (setDimensions): New method.
4006 (setHints): New method.
4007 (setPixels): New method.
4008 (setProperties): New method.
4009 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4010 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4012 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4015 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4016 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4017 (finalizerReady): Now native.
4019 (runFinalizers): Removed.
4020 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4021 a primitive lock, and don't hold it while running the finalizers.
4022 (runFinalizers): Implement. Don't aquire any Java lock.
4023 (finalizerReady): Use lock primitives to signal finalizer thread.
4025 2004-07-11 Mark Wielaard <mark@klomp.org>
4027 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4028 * java/net/URLStreamHandler.java (parseURL): When url file part
4029 doesn't contain a '/' just ignore context.
4031 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4033 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4034 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4035 (MAKE_THROW_FRAME): Do not modify PSW address.
4036 (INIT_SEGV): Install SIGINFO-style signal handler.
4037 (INIT_FPE): Likewise.
4039 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4041 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4042 status. 21 xfail's removed, 1 added.
4044 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4046 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4048 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4050 * java/text/MessageFormat.java
4051 (formatInternal): Append "{n}" if argument n is unavailable.
4052 (format(Object, StringBuffer, FieldPosition)): This
4053 should be equivalent to format(Object[],
4054 StringBuffer, FieldPosition).
4056 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4058 * java.util.Calendar.java (cache): New private static field. Cached
4059 mappings of locales->calendar classes.
4060 (ctorArgTypes): New private static field. Singleton argument for
4061 calendar class constructor lookup.
4062 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4063 Optimize by bypassing reflection instantiation for the
4064 GregorianCalendar case.
4066 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4068 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4069 ResourceBundle.getBundle() calls.
4070 * java/util/GregorianCalendar.java: Likewise.
4071 * java/util/Currency.java: Likewise.
4072 * java/text/BreakIterator.java: Likewise.
4073 * java/text/Collator.java: Likewise.
4074 * java/text/DateFormat.java: Likewise.
4075 * java/text/DateFormatSymbols.java: Likewise.
4076 * java/text/DecimalFormatSymbols.java: Likewise.
4077 * java/text/NumberFormat.java: Likewise.
4078 * java/awt/Window.java: Likewise.
4080 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4082 * java/util/ResourceBundle.java (bundleCache): Renamed from
4083 resourceBundleCache. Update comments.
4084 (getObject): Don't catch MissingResourceException.
4085 (getBundle(String)): Remove 'final'. Use system classloader if
4086 getCallingClassLoader returned null.
4087 (getBundle(String, Locale)): Likewise.
4088 (BundleKey): New private class. HashMap key for bundle cache lookup.
4089 (lookupKey): New. Singleton instance of BundleKey.
4090 (nullEntry): New. Cache entry to represent failed lookups.
4091 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4092 caching strategy, no-allocation lookup, and new tryBundle methods.
4093 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4094 name using given classloader.
4095 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4096 baseName for given Locale and attempt to load bundle.
4098 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4100 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4101 illegal protected method calls.
4103 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4105 Fix or remove some bogus test cases.
4106 * testsuite/libjava.compile/pr10459_2.java: Removed.
4107 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4109 * testsuite/libjava.compile/inner_data.java: Test against its own
4112 2004-07-09 Michael Koch <konqueror@gmx.de>
4114 * scripts/unicode-muncher.pl: Updated to version 2.1
4115 from GNU classpath. Added some clarifications on where to find the
4116 needed files from www.unicode.org.
4117 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4118 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4119 Removed, these can directly be downloaded from www.unicode.org if
4121 * gnu/java/lang/CharData.java: Regenerated.
4122 * include/java-chartables.h: Regenerated.
4123 * Makefile.am (ordinary_java_source_files):
4124 Removed gnu/java/lang/CharData.java.
4125 * Makefile.in: Regenerated.
4127 2004-07-09 Michael Koch <konqueror@gmx.de>
4129 * java/security/AccessControlContext.java,
4130 java/security/SecureClassLoader.java:
4133 2004-07-09 Michael Koch <konqueror@gmx.de>
4135 * java/io/ObjectInputStream.java (readFields): Use long datatype
4136 when shifting byte values more then 24 bits left.
4138 2004-07-09 Michael Koch <konqueror@gmx.de>
4140 * java/util/zip/DeflaterOutputStream.java,
4141 java/util/zip/GZIPInputStream.java,
4142 java/util/zip/GZIPOutputStream.java,
4143 java/util/zip/InflaterInputStream.java:
4144 Reformatted. Added javadocs. Reordered all stuff.
4145 Renamed variables to be more clear.
4147 2004-07-09 Michael Koch <konqueror@gmx.de>
4149 * javax/imageio/IIOException.java,
4150 javax/imageio/event/IIOReadProgressListener.java,
4151 javax/imageio/event/IIOReadUpdateListener.java,
4152 javax/imageio/event/IIOReadWarningListener.java,
4153 javax/imageio/event/IIOWriteProgressListener.java,
4154 javax/imageio/event/IIOWriteWarningListener.java:
4156 * Makefile.am: Added new files.
4157 * Makefile.in: Regenerated.
4159 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4161 * java/text/RuleBasedCollator.java
4162 (mergeRules): Use ArrayList instead of Vector.
4163 (subParseString): likewise.
4164 (parseString): likewise.
4165 (buildCollationVector): likewise.
4166 (getCollationKey): likewise.
4168 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4170 * java/text/DateFormat.java (parse):
4171 Improved javadoc. Improved exception message.
4173 2004-07-09 Mark Wielaard <mark@klomp.org>
4175 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4176 interrupted() method to clear interupt flag of our Thread.
4178 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4180 * java/nio/Buffer.java,
4181 java/nio/ByteBuffer.java,
4182 java/nio/ByteBufferHelper.java,
4183 java/nio/ByteBufferImpl.java,
4184 java/nio/CharBuffer.java,
4185 java/nio/CharBufferImpl.java,
4186 java/nio/CharViewBufferImpl.java,
4187 java/nio/DirectByteBufferImpl.java,
4188 java/nio/DoubleBuffer.java,
4189 java/nio/DoubleBufferImpl.java,
4190 java/nio/DoubleViewBufferImpl.java,
4191 java/nio/FloatBuffer.java,
4192 java/nio/FloatBufferImpl.java,
4193 java/nio/FloatViewBufferImpl.java,
4194 java/nio/IntBuffer.java,
4195 java/nio/IntBufferImpl.java,
4196 java/nio/IntViewBufferImpl.java,
4197 java/nio/LongBuffer.java,
4198 java/nio/LongBufferImpl.java,
4199 java/nio/LongViewBufferImpl.java,
4200 java/nio/MappedByteBufferImpl.java,
4201 java/nio/ShortBuffer.java,
4202 java/nio/ShortBufferImpl.java,
4203 java/nio/ShortViewBufferImpl.java:
4204 Fixed javadocs all over. Improved input error
4207 * java/nio/Buffer.java
4208 (checkForUnderflow, checkForOverflow, checkIndex,
4209 checkIfReadOnly, checkArraySize): New helper methods
4212 * java/nio/ByteBufferHelper.java
4213 (checkRemainingForRead, checkRemainingForWrite,
4214 checkAvailableForRead, checkAvailableForWrite): Removed
4215 no longer needed methods.
4217 2004-07-09 Michael Koch <konqueror@gmx.de>
4219 * gnu/regexp/CharIndexedInputStream.java:
4220 Reordered imports to match classpath.
4222 2004-07-09 Michael Koch <konqueror@gmx.de>
4224 * gnu/java/awt/EmbeddedWindow.java:
4225 Load native library for setWindowPeer method.
4227 2004-07-08 Randolph Chung <tausq@debian.org>
4229 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4230 * configure: Regenerate.
4231 * configure.host: Set can_unwind_signal for hppa*-linux.
4232 * include/pa-signal.h: New file.
4234 2004-07-07 Per Bothner <per@bothner.com>
4236 * Makefile.am: Add rules to build libgij from just gij.cc.
4238 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4239 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4240 (initializeClass): If verbose_class_flag, print message.
4241 * gij.cc (main): Handle -verbose:class flag.
4243 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4245 * configure.host: Enable hash synchronization on Darwin.
4246 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4247 ';', since this is a comment on Darwin.
4248 (compare_and_swap_release): Likewise.
4250 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4252 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4253 file portion of URL in addition to spec for file: protocol.
4255 2004-07-05 Anthony Green <green@redhat.com>
4257 * java/io/File.java (toURI): Merge from Classpath.
4259 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4261 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4262 before passing to URL constructor. Rethrow any MalformedURLException
4263 as a RuntimeException. Catch MalformedURLException specifically, not
4266 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4268 * java/util/Locale.java (readObject): Intern strings read from object
4271 2004-07-04 Michael Koch <konqueror@gmx.de>
4273 * gnu/gcj/runtime/FirstThread.java,
4274 gnu/gcj/runtime/natFirstThread.cc: Removed.
4275 * gnu/java/lang/MainThread.java,
4276 gnu/java/lang/natMainThread.cc: New files.
4277 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4278 * Makefile.am: Added new files and removed deleted ones.
4279 * Makefile.in: Regenerated.
4281 2004-07-03 Mark Wielaard <mark@klomp.org>
4282 Anthony Green <green@redhat.com>
4284 * java/net/URL.java (getFile): Clarify return value doc.
4285 (getPath): Return null if file is empty - not empty String.
4286 (set): Convert protocol to lower case before doing anything.
4287 Only change the protocol handler if it's different.
4289 2004-07-03 Anthony Green <green@redhat.com>
4291 * java/net/URL.java (URL): Convert protocol to lower case before
4292 doing anything, so we getURLStreamHandler() with the proper value.
4294 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4296 * java/util/Locale.java (hashcode): Made transient.
4297 (hashCode): No longer synchronized.
4298 (equals): Remove comment.
4299 (writeObject): No longer synchronized. Implement using writeObject
4300 calls instead of tweaking hashCode field. Update doc.
4301 (readObject): Implement using readObject calls.
4303 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4304 Andreas Tobler <a.tobler@schweiz.ch>
4306 * configure.host (powerpc-*-darwin*): New case, define
4308 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4309 * configure: Regenerate.
4310 * include/darwin-signal.h: New.
4312 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4314 * java/beans/Statement.java (doExecute): Fix formatting.
4316 2004-06-29 Per Bothner <per@bothner.com>
4318 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4319 etc etc): Remove needless parenthesis, which causes __stdcall__
4320 attribute on MinGW to get ignored.
4322 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4324 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4326 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4328 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4330 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4332 * java/beans/Expression.java: New file.
4333 * java/beans/Statement.java: New file.
4334 * Makefile.am: Added new files.
4335 * Makefile.in: Re-generate.
4337 2004-06-27 Mark Wielaard <mark@klomp.org>
4339 * java/io/FilePermission.java (usingPerms): Removed.
4340 (actionsString): Made final.
4341 (cachePerms): Renamed to checkPerms.
4342 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4344 (FilePermission): Check arguments, call checkPerms().
4345 (equals): Remove cachePerms() call.
4346 (implies): Likewise.
4348 2004-06-27 Mark Wielaard <mark@klomp.org>
4350 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4352 (sendRequest): Use new field in user-agent http agent.
4354 2004-06-27 Mark Wielaard <mark@klomp.org>
4356 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4357 when argument is null.
4359 2004-06-26 Mark Wielaard <mark@klomp.org>
4361 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4362 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4364 (cancel_clicked): Likewise.
4366 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4369 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4370 can not calculate the right value.
4371 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4373 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4375 * testsuite/libjava.jacks/jacks.xfail: Remove
4376 15.9.1-qualified-concrete-20.
4378 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4380 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4381 encoding name to iconv.
4382 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4384 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4387 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4388 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4389 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4391 2004-06-21 Andrew Haley <aph@redhat.com>
4393 * java/io/ObjectOutputStream.java: Add DEBUG statements
4395 (dumpElementln): New method.
4397 * java/io/ObjectInputStream.java
4398 (currentClassLoader): Make native.
4399 (callersClassLoader): New field.
4401 (readObject): ENDBLOCKDATA is generated if the class has a write
4402 method, not if it has a read method.
4403 (readObject): Save and restore this.currentObject and
4404 this.currentObjectStreamClass around calls to callReadMethod().
4405 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4408 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4410 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4413 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4415 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4416 if desired, before the default class loader is initialised.
4417 Call INIT_SEGV only if HANDLE_SEGV is defined.
4419 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4421 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4422 directory only if it actually exists.
4424 2004-06-18 Graydon Hoare <graydon@redhat.com>
4426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4427 Fix up non-ansi comments.
4429 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4431 * javax/swing/text/AbstractDocument.java: Adding missing import
4432 for javax.swing.event.EventListenerList.
4433 * javax/swing/text/DefaultCaret.java: Likewise.
4435 2004-06-17 Michael Koch <konqueror@gmx.de>
4437 * javax/swing/JToolBar.java
4439 (JToolBar): Use Component.setName(String) instead of doing it all
4441 * javax/swing/Timer.java
4442 (queueEvent): Added missing modifier.
4444 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4446 * Makefile.am: Added new file.
4447 * Makefile.in: Re-generate.
4448 * javax/swing/JMenu.java:
4449 (insertSeparator): Implemented.
4450 * javax/swing/JPopupMenu.java:
4451 (JPopupMenu.Separator): Implemented.
4452 * javax/swing/MenuSelectionManager.java:
4453 (processMouseEvent): Use java.awt.Component
4454 for event source instead of javax.swing.JComponent.
4455 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4456 New File. Implemented.
4458 2004-06-16 David Jee <djee@redhat.com>
4460 * java/awt/GridBagLayout.java
4461 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4462 Make sure pos_x and pos_y are never negative.
4464 2004-04-16 Andrew Overholt <overholt@redhat.com>
4466 * Makefile.am: Add new file.
4467 * Makefile.in: Re-generate.
4468 * javax/swing/JToolBar.java
4469 Partially implemented.
4470 * javax/swing/plaf/basic/BasicToolBarUI.java
4471 New file. Partially implemented.
4473 2004-06-16 Graydon Hoare <graydon@redhat.com>
4475 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4476 (setComposite): Accept AlphaComposite arguments.
4477 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4478 (createBufferedImage): Add new overloads.
4479 * gnu/java/awt/peer/gtk/GtkToolkit.java
4480 (createImage): Use GdkPixbufDecoder.createBufferedImage
4481 when useGraphics2D() is true.
4482 (getImage): Delegate to createImage.
4483 * javax/swing/JList.java
4485 (getFirstVisibleIndex):
4486 (getLastVisibleIndex):
4488 (ensureIndexIsVisible): New methods.
4489 * javax/swing/Timer.java: Reimplement.
4491 2004-06-16 Michael Koch <konqueror@gmx.de>
4493 * javax/swing/text/AbstractDocument.java
4494 (AbstracElement): Made public, implements java.io.Serializable.
4495 (AttributeContext): Made public.
4496 (BranchElement): Likewise.
4497 (Content): Likewise.
4498 (DefaultDocumentEvent): Made public, extends
4499 javax.swing.undo.CompoundEdit.
4500 (ElementEdit): Made public, extends
4501 javax.swing.undo.AbstractUndoableEdit.
4502 (LeafElement): Made public.
4503 (LeafElement.LeafElement): Made public.
4505 2004-06-16 Michael Koch <konqueror@gmx.de>
4507 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4508 methods (that were obviously never be intended to get included hi this
4509 class. Added some methods too.
4511 2004-06-16 Michael Koch <konqueror@gmx.de>
4513 * javax/swing/text/PlainDocument.java
4514 (serialVersionUID): New constant.
4515 (lineLimitAttribute): Likewise.
4516 (tabSizeAttribute): Likewise.
4517 (tabSize): New field.
4518 (PlainDocument): Made public.
4519 (PlainDocument): New constructor.
4521 2004-06-16 Michael Koch <konqueror@gmx.de>
4523 * javax/swing/text/AbstractDocument.java
4524 (insertString): Throws BadLocationException.
4525 * javax/swing/text/Document.java
4526 (insertString): Likewise.
4527 * javax/swing/text/JTextComponent.java:
4528 Javadocs and comments cleaned up.
4530 2004-06-16 Michael Koch <konqueror@gmx.de>
4532 * javax/swing/event/UndoableEditListener.java: Reformatted.
4533 * javax/swing/text/AbstractDocument.java
4534 (AbstractDocument): Implements java.io.Serializable.
4535 (doc_list): Removed.
4536 (undo_list): Removed.
4537 (AbstractElement.serialVerionUID): New field.
4538 (BranchElement.serialVerionUID): Likewise.
4539 (DefaultDocumentEvent.serialVerionUID): Likewise.
4540 (ElementEdit.serialVerionUID): Likewise.
4541 (LeafElement.serialVerionUID): Likewise.
4542 (serialVerionUID): Likewise.
4543 (BAD_LOCATION): New constant.
4544 (BidiElementName): Likewise.
4545 (ContentElementName): Likewise.
4546 (ParagraphElementName): Likewise.
4547 (SectionElementName): Likewise.
4548 (ElementNameAttribute): Likewise.
4549 (AbstractDocument): Made protected.
4550 (AbstractDocument): New construtor.
4551 (listenerList): New field.
4552 (fireChangedUpdate): Implemented.
4553 (fireInsertUpdate): Likewise.
4554 (fireRemoveUpdate): Likewise.
4555 (fireUndoableEditUpdate): Likewise.
4556 (getListeners): Likewise.
4557 (addDocumentListener): Likewise.
4558 (removeDocumentListener): Likewise.
4559 (addUndoableEditListener): Likewise.
4560 (removeUndoableEditListener): Likewise.
4561 (getDocumentListeners): New method.
4562 (getUndoableEditListeners): Likewise.
4563 (getAsynchronousLoadPriority): Made public.
4564 (getBidiRootElement): Likewise.
4565 (setAsynchronousLoadPriority): Likewise.
4566 (setDocumentProperties): Likewise.
4567 * javax/swing/text/BadLocationException.java
4568 (serialVerionUID): New field.
4569 * javax/swing/text/DefaultCaret.java
4570 (changeEvent): New field.
4571 (listenerList): Likewise.
4573 (addChangeListener): Reimplemented.
4574 (removeChangeListener): Likewise.
4575 (getListeners): New method.
4576 (getChangeListeners): Likwise.
4577 (getComponent): Likewise.
4578 * javax/swing/text/GapContent.java
4579 (GapContent): Implements java.io.Serializable.
4580 (serialVerionUID): New field.
4582 2004-06-16 Michael Koch <konqueror@gmx.de>
4584 * javax/swing/JTree.java
4585 (treeModel): New field.
4586 (JTree): New constructors, one existing one made public.
4587 (createTreeModel): New method.
4588 (addTreeExpansionListener): Likewise.
4589 (removeTreeExpansionListener): Likewise.
4590 (getTreeExpansionListeners): Likewise.
4591 (fireTreeCollapsed): Likewise.
4592 (fireTreeExpanded): Likewise.
4593 (addTreeSelectionListener): Likewise.
4594 (removeTreeSelectionListener): Likewise.
4595 (getTreeSelectionListeners): Likewise.
4596 (fireValueChanged): Likewise.
4597 (addTreeWillExpandListener): Likewise.
4598 (removeTreeWillExpandListener): Likewise.
4599 (getTreeWillExpandListeners): Likewise.
4600 (fireTreeWillCollapse): Likewise.
4601 (fireTreeWillExpand): Likewise.
4603 2004-06-16 Michael Koch <konqueror@gmx.de>
4605 * javax/swing/JTree.java: Reformatted.
4607 2004-06-16 Michael Koch <konqueror@gmx.de>
4609 * javax/swing/JTextArea.java: New file.
4610 * javax/swing/JTextField.java
4612 (notifyAction): New constant.
4613 (columns): New field.
4614 (JTextField): New constructors.
4615 (createDefaultModel): New method.
4616 (addActionListener): Reimplmemented.
4617 (removeActionListener): Reimplemented.
4618 (getActionListeners): New method.
4619 (fireActionPerformed): New method.
4620 (getColumns): New method.
4621 (setColumne): New method.
4622 * javax/swing/text/JTextComponent.java
4623 (AccessibleJTextComponent.serialVersionUID): New field.
4624 (serialVersionUID): Likewise.
4625 (DEFAULT_KEYMAP): Likewise.
4626 (FOCUS_ACCELERATOR_KEY): Likewise.
4627 (doc): Made private.
4628 (icon_gap): Likewise.
4631 (JTextComponent): Some constructors removed.
4632 (getScrollableTracksViewportHeight): New method.
4633 (getScrollableTracksViewportWidth): Likewise.
4634 * Makefile.am: Added javax/swing/JTextArea.java.
4635 * Makefile.in: Regenerated.
4637 2004-06-15 Graydon Hoare <graydon@redhat.com>
4639 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4640 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4641 * javax/swing/JViewport.java
4642 (getExtentSize): Return size rather than preferred size.
4643 (toViewCoordinates): New methods.
4644 (getViewSize): Return size rather than preferred size.
4645 (setViewSize): Note view size as set.
4646 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4647 * javax/swing/plaf/basic/BasicScrollBarUI.java
4648 (getPreferredSize): Don't redo layout.
4649 * javax/swing/plaf/basic/BasicViewportUI.java
4650 (paint): Translate image properly and eat exceptions.
4652 2004-06-15 Kim Ho <kho@redhat.com>
4654 * javax/swing/JTabbedPane.java
4655 (setComponent): Remove old component and
4657 (setSelectedIndex): Don't operate on the
4658 components if they're null. Don't set index
4659 on the model if the index is the same.
4660 (insertTab): Don't add or hide the component
4661 if it's null. Repaint the container.
4662 * javax/swing/plaf/basic/BasicLookAndFeel.java
4663 Change colors for TabbedPane.
4664 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4665 (mousePressed): Re-layout and paint the component.
4666 (layoutContainer): Don't set location on the view.
4667 (ScrollingViewport::paint): Remove.
4669 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4672 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4675 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4676 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4678 (drawLine): Call gdk_flush before leaving GDK critical region.
4679 (fillRect): Likewise.
4680 (drawRect): Likewise.
4681 (copyArea): Likewise.
4682 (copyPixmap): Likewise.
4683 (clearRect): Likewise.
4684 (drawArc): Likewise.
4685 (drawPolyline): Likewise.
4686 (drawPolygon): Likewise.
4687 (fillPolygon): Likewise.
4688 (fillArc): Likewise.
4689 (drawOval): Likewise.
4690 (fillOval): Likewise.
4692 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4694 (GdkFontMetrics): Add style argument to initState call.
4695 (stringWidth(String,int,int,String)): Add style parameter.
4696 (stringWidth(String)): Add style argument to stringWidth call.
4697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4698 (initState): Set pango font style and weight based on AWT style
4699 parameter. Pass default GTK language to
4700 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4701 simply dividing by PANGO_SCALE.
4702 (stringWidth): Set pango font style and weight based on AWT style
4705 * java/awt/Button.java (next_button_number): New field.
4706 (paramString): Change output.
4707 (generateName): New method.
4708 (getUniqueLong): New method.
4710 2004-06-14 Kim Ho <kho@redhat.com>
4712 * javax/swing/JTabbedPane.java:
4713 (setComponentAt): Set the component, not
4715 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4716 (actionPerformed): Let deiconize catch exception.
4718 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4720 * javax/swing/JPopupMenu.java:
4721 (setVisible): Corrected location of a
4722 heavyweight popup menu.
4724 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4726 * javax/swing/MenuSelectionManager.java:
4727 Ran through jalopy to fix formatting style.
4729 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4731 * javax/swing/JLayeredPane.java:
4732 (remove): Revalidate and repaint layered pane after
4733 the component was removed.
4734 javax/swing/JMenu.java:
4735 (setVisible): Display popup menu at the user location,
4736 if one was set by the user.
4737 (setMenuLocation): Reimplemented. Fixed javadoc.
4738 * javax/swing/JMenuBar.java: Added javadoc.
4739 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4740 (MODEL_CHANGED_PROPERTY): New Property.
4741 (isSelected): Implemented.
4742 (setBorderPainted): Fire PropertyChangeEvent
4743 if paintBorder property changes.
4744 (setSelected): Implemented.
4745 (setSelectionModel): Implemented.
4746 * javax/swing/JPopupMenu.java: Added Javadoc
4747 (pack): Implemented.
4748 (setVisible): Reimplemented.
4749 (show): Fixed location.
4750 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4751 Container instead of JPanel.
4752 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4753 (clearSelectedPath): Reimplemented to clear selectedPath
4755 (processMouseEvent): Reimplemented.
4756 (setSelectedPath): Fire stateChange event indicating that
4757 selected menu path has changed.
4758 (getPath): Change to use ArrayList instead of Vector.
4759 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4760 (installUI): call installKeyboardActions().
4761 (uninstallUI): call uninstallKeyboardActions().
4763 2004-06-13 Michael Koch <konqueror@gmx.de>
4765 * javax/swing/text/DefaultCaret.java,
4766 javax/swing/text/BadLocationException.java:
4769 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4771 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4772 DEFAULT_COLS): New variables.
4773 (create): Don't allow 0 rows or 0 columns. Instead, set the
4774 values to DEFAULT_ROWS or DEFAULT_COLS.
4775 (getMinimumSize): Likewise.
4776 (getPreferredSize): Likewise.
4777 (minimumSize): Likewise.
4778 (preferredSize): Likewise.
4779 (create): Set peer's editable state.
4780 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4781 zero. Update javadocs.
4782 (TextArea(String)): Likewise.
4783 (TextArea(int,int)): Fix javadocs.
4784 (TextArea(String,int,int,int)): Only throw exception if one of
4785 rows or columns is zero. Fix javadocs.
4787 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4789 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4790 addition to Components.
4792 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4793 wasn't consumed by normal processing, send it to the parent
4796 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4797 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4800 2004-06-11 David Jee <djee@redhat.com>
4802 * java/awt/MediaTracker.java
4803 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4804 (addImage(Image,int,int,int)): Likewise.
4806 2004-06-11 Michael Koch <konqueror@gmx.de>
4808 * javax/swing/text/AbstractDocument.java,
4809 javax/swing/text/Document.java,
4810 javax/swing/text/GapContent.java,
4811 javax/swing/text/JTextComponent.java,
4812 javax/swing/text/PlainDocument.java:
4815 2004-06-11 Michael Koch <konqueror@gmx.de>
4817 * javax/swing/JRootPane.java
4818 (AccessibleJRootPane.serialVersionUID): New field.
4819 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4820 (AccessibleJRootPane.getAccessibleRole): New method.
4821 (RootLayout): Implements Serializable.
4822 (RootLayout.serialVersionUID): New field.
4823 (RootLayout.RootLayout): New constructor.
4824 (setJMenuBar): Made public.
4825 (getJMenuBar): Likewise.
4826 (JRootPane): Likewise.
4827 (createContentPane): Likewise.
4828 (createGlassPane): Likewise.
4829 (createLayeredPane): Likewise.
4831 2004-06-11 Michael Koch <konqueror@gmx.de>
4833 * javax/swing/SwingUtilities.java
4834 (isLeftMouseButton): Fixed javadoc.
4835 (isMiddleMouseButton): Likewise.
4836 (isRightMouseButton): Likewise.
4838 2004-06-11 Michael Koch <konqueror@gmx.de>
4840 * javax/swing/JScrollPane.java
4841 (serialVersionUID): New field.
4842 (columnHeader): Made protected.
4843 (rowHeader): Likewise.
4844 (lowerLeft): Likewise.
4845 (lowerRight): Likewise.
4846 (upperLeft): Likewise.
4847 (upperRight): Likewise.
4848 (horizontalScrollBar): Likewise.
4849 (horizontalScrollBarPolicy): Likewise.
4850 (verticalScrollBar): Likewise.
4851 (verticalScrollBarPolicy): Likewise.
4852 (viewport): Likewise.
4854 2004-06-11 Michael Koch <konqueror@gmx.de>
4856 * javax/swing/LookAndFeel.java: Fixed javadocs.
4858 2004-06-11 Michael Koch <konqueror@gmx.de>
4860 * javax/swing/JEditorPane.java: Fixed javadocs.
4861 (JEditorPane): Removed redundant call to to this().
4862 (fireHyperlinkUpdate): Implemented.
4864 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4866 * javax/swing/JMenu.java: Fixed file name
4867 in the file comment.
4869 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4871 * javax/swing/JMenu.java: Added javadoc.
4872 (JMenu): Added MenuChangeListener to listen to
4873 ChangeEvents occuring in menu's model.
4874 (insert): Throw IllegalArgumentException if
4875 index is less than 0
4876 (setSelected): Reimplement.
4877 (setPopupMenuVisible): Call menu's model isEnabled()
4878 (setDelay): Throw IllegalArgumentException if
4879 given amount of delay is less than 0.
4880 (createActionComponent): Implemented.
4881 (createActionChangeListener): Implemented.
4882 (addSeparator): Implemented.
4883 (getItem): Throw IllegalArgumentException if index is
4885 (getItemCount): Implemented.
4886 (fireMenuSelected): Changed to use menuEvent.
4887 (fireMenuDeselected): Likewise.
4888 (fireMenuCanceled): Likewise.
4889 (setAccelerator): Changed to throw an error if this
4891 (doClick): Implemented.
4892 (JMenu.ActionChangedListener): New inner class to handle
4893 PropertyChangeEvents occuring in the actions associated with menu.
4894 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4895 (BasicMenuUI): Added PropertyChangeListener to the menu.
4896 (createChangeListener): Implemented.
4897 (createMenuDragMouseListener): Likewise.
4898 (createMenuKeyListener): Likewise.
4899 (createPropertyChangeListener): Likewise.
4900 (uninstallListeners): Likewise.
4901 (BasicMenuUI.MouseInputHandler): Reimplemented.
4902 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4903 (BasicMenuUI.ChangeHandler): Likewise.
4904 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4905 (BasicMenuUI.MenuKeyHandler): Likewise.
4907 2004-06-10 David Jee <djee@redhat.com>
4909 * java/awt/MediaTracker.java
4910 (imageUpdate): Only do notifyAll() if the image is complete.
4912 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4914 * javax/swing/JApplet.java:
4915 (getJMenuBar): Made public.
4916 (setJMenuBar): Likewise.
4917 * javax/swing/JFrame.java:
4918 (getJMenuBar): Made public.
4919 (setJMenuBar): Likewise.
4920 * javax/swing/JWindow.java:
4921 (getJMenuBar): Removed.
4922 (setJMenuBar): Removed.
4924 2004-06-10 Michael Koch <konqueror@gmx.de>
4926 * javax/swing/JEditorPane.java
4927 (createEditorKitForContentType): Fixed visibility.
4928 (fireHyperlinkUpdate): Likewise.
4929 (getContentType): Likewise.
4930 (getEditorKit): Likewise.
4931 (getEditorKitForContentType): Likewise.
4932 (getPage): Likewise.
4934 (registerEditorKitForContentTyoe): Likewise.
4935 (replaceSelection): Likewise.
4936 (setContentType): Likewise.
4937 (setEditorKit): Likewise.
4938 (setPage): Likewise.
4940 2004-06-10 Michael Koch <konqueror@gmx.de>
4942 * javax/swing/Timer.java
4943 (Timer): New constructor.
4944 * javax/swing/plaf/basic/BasicProgressBarUI.java
4945 (animationTimer): Don't initialize at construction.
4946 (startAnimationTimer): Added since tag.
4947 (stopAnimationTimer): Likewise.
4948 (installUI): Use new Timer constructor.
4949 * javax/swing/plaf/basic/BasicScrollBarUI.java
4950 (installUI): Likewise.
4951 * javax/swing/plaf/basic/BasicSliderUI.java
4952 (installUI): Likewise.
4954 2004-06-10 Michael Koch <konqueror@gmx.de>
4956 * javax/swing/ButtonGroup.java
4957 (serialVersionUID): Made private.
4958 (buttons): Renamed from v, added javadoc.
4959 (sel): Added javadoc.
4960 (ButtonGroup): Likewise.
4963 (getElements): Likewise.
4964 (getSelection): Likewise.
4965 (setSelected): Likewise.
4966 (isSelected): Likewise.
4967 (getButtonCount): Likewise.
4969 2004-06-10 Michael Koch <konqueror@gmx.de>
4971 * javax/swing/ButtonGroup.java,
4972 javax/swing/ImageIcon.java,
4973 javax/swing/JEditorPane.java,
4974 javax/swing/JRootPane.java,
4975 javax/swing/JTextField.java,
4976 javax/swing/LookAndFeel.java,
4977 javax/swing/plaf/basic/BasicTextUI.java:
4980 2004-06-10 Michael Koch <konqueror@gmx.de>
4982 * javax/swing/text/Style.java: Added javadocs.
4984 2004-06-10 Michael Koch <konqueror@gmx.de>
4986 * javax/swing/JComponent.java
4987 (fireVetoableChange): Removed redundant cast.
4988 * javax/swing/JLabel.java
4989 (getDisabledIcon): Save icon for next call.
4991 2004-06-10 Michael Koch <konqueror@gmx.de>
4993 * javax/swing/KeyStroke.java
4994 (getKeyStroke(char,boolean)): Marked deprecated.
4996 2004-06-10 Michael Koch <konqueror@gmx.de>
4998 * javax/swing/DefaultCellEditor.java,
4999 javax/swing/GrayFilter.java,
5000 javax/swing/event/DocumentEvent.java,
5001 javax/swing/text/JTextComponent.java,
5002 javax/swing/text/MutableAttributeSet.java:
5005 2004-06-10 Michael Koch <konqueror@gmx.de>
5007 * javax/swing/plaf/BorderUIResource.java:
5008 Added serialVersionUID all over.
5010 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5012 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5014 2004-06-10 Michael Koch <konqueror@gmx.de>
5016 * javax/swing/table/DefaultTableCellRenderer.java
5017 (noFocusBorder): Initialize directly.
5019 2004-06-10 Michael Koch <konqueror@gmx.de>
5021 * javax/swing/plaf/basic/BasicArrowButton.java
5022 (setDirection): Use method argument.
5024 2004-06-10 Michael Koch <konqueror@gmx.de>
5026 * javax/swing/plaf/BorderUIResource.java,
5027 javax/swing/plaf/ComponentUI.java,
5028 javax/swing/undo/CompoundEdit.java,
5029 javax/swing/undo/StateEdit.java:
5030 Fixed javadocs all over.
5032 2004-06-10 Michael Koch <konqueror@gmx.de>
5034 * javax/swing/DefaultButtonModel.java
5035 (ARMED): Made public final, fixed value.
5036 (ENABLED): Likewise.
5037 (PRESSED): Likewise.
5038 (ROLLOVER): Likewise.
5039 (SELECTED): Likewise.
5040 (stateMask): Initialize directly.
5041 (listenerList): Likewise.
5042 (mnemonic): Likewise.
5043 (fireStateChanged): Removed argument, use changeEvent as event.
5044 All places where this method is called are fixed too.
5045 (getActionCommant): Fixed javadoc.
5046 (setGroup): Fixed javadoc.
5047 (getGroup): New method.
5049 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5051 * javax/swing/AbstractButton.java
5052 (AbstractButton): Use init() to initialize the button.
5053 (init): New Method. Initializes AbstractButton.
5054 * javax/swing/JMenuItem.java: Documented.
5055 (JMenuItem): Reimplemented.
5056 (init): Implemented.
5057 (setEnabled): Changed to call super.setEnabled()
5058 (processMouseEvent): Reimplemented.
5059 (fireMenuKeyPressed): Implemented.
5060 (fireMenuKeyReleased): Implemented.
5061 (fireMenuKeyTyped): Implemented.
5062 (menuSelectionChanged): disarm the model if the menu item was
5064 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5065 (getPath): Change to use ArrayList instead of Vector.
5066 (getPreferredSize): Renamed variable.
5067 (paintMenuItem): Paint margin area of menu item.
5068 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5069 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5070 menu item's bounds before clearing the selection.
5072 2004-06-09 David Jee <djee@redhat.com>
5074 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5075 (GtkTextComponentPeer): Set caret position to 0.
5076 * java/awt/TextComponent.java
5077 (setText): Set caret position to 0.
5078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5079 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5080 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5081 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5084 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5087 2004-06-09 Kim Ho <kho@redhat.com>
5089 * Makefile.am: New files
5090 * Makefile.in: Regenerated
5091 * java/awt/Container.java
5092 (getComponentAt): Removed.
5093 * javax/swing/AbstractAction.java
5094 (ENABLED_PROPERTY): New property.
5095 (putValue): Fire PropertyChangeEvents.
5096 (setEnabled): ditto.
5097 (firePropertyChange): Javadoc and implement
5099 * javax/swing/AbstractButton.java
5100 (setAction): Don't create PropertyChangeListener
5101 if new Action is null.
5102 (setIcon): Don't set icon till after comparing
5104 (configurePropertiesFromAction): Check mnemonic
5105 key before calling intValue().
5106 (createActionPropertyChangeListener): Check
5107 properties rather than bulk change.
5108 * javax/swing/DefaultDesktopManager.java:
5110 * javax/swing/DesktopManager.java:
5112 * javax/swing/JComponent.java
5113 (fireVetoableChange): Implement.
5114 (paintImmediately): Use root component.
5115 * javax/swing/JDesktopPane.java: Implement
5116 * javax/swing/JInternalFrame.java: Implement
5117 * javax/swing/JLabel.java
5118 (getDisabledIcon): Return grayscaled icon if
5119 no disabled icon specified.
5120 * javax/swing/JMenuBar.java
5121 (getComponentAtIndex): Use getComponent
5122 * javax/swing/JOptionPane.java
5123 (getDesktopPaneForComponent): Use SwingUtilities'
5125 (getFrameForComponent): ditto.
5126 * javax/swing/JSplitPane.java
5127 (remove): Use getComponent.
5128 * javax/swing/SwingUtilities.java
5129 (convertPoint): Implement.
5130 * javax/swing/plaf/basic/BasicButtonUI.java
5131 (paintButtonNormal): Check opaqueness before
5133 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5135 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5137 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5139 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5141 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5142 Change InternalFrame and Desktop colors.
5144 2004-06-09 David Jee <djee@redhat.com>
5146 * java/awt/Container.java
5147 (remove): Do not set component to invisible.
5149 2004-06-09 Michael Koch <konqueror@gmx.de>
5151 * javax/swing/tree/DefaultMutableTreeNode.java
5152 (getLeafCount): Renamed enum to e.
5154 2004-06-09 Michael Koch <konqueror@gmx.de>
5156 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5157 (positionForMouseEvent): Removed redundant semicolon.
5158 (continueDrag): Use method arguments.
5160 2004-06-09 Michael Koch <konqueror@gmx.de>
5162 * javax/swing/border/TitledBorder.java,
5163 javax/swing/filechooser/FileSystemView.java,
5164 javax/swing/plaf/basic/BasicButtonListener.java,
5165 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5166 javax/swing/plaf/basic/BasicLabelUI.java,
5167 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5168 javax/swing/plaf/basic/BasicScrollBarUI.java,
5169 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5170 javax/swing/plaf/basic/BasicSliderUI.java,
5171 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5172 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5173 javax/swing/table/JTableHeader.java,
5174 javax/swing/text/AbstractDocument.java,
5175 javax/swing/text/DefaultCaret.java,
5176 javax/swing/text/StyledEditorKit.java,
5177 javax/swing/tree/DefaultTreeCellEditor.java:
5178 Reworked import statements.
5180 2004-06-08 Graydon Hoare <graydon@redhat.com>
5182 * javax/swing/Box.java: Temporarily comment out code
5183 broken due to visibility bug.
5185 2004-06-09 Michael Koch <konqueror@gmx.de>
5187 * javax/swing/ImageIcon.java
5188 (ImageIcon): Added missing constructor.
5190 2004-06-08 Michael Koch <konqueror@gmx.de>
5192 * javax/swing/JToggleButton.java
5193 (JToggleButton): New constructor.
5194 (getAccessibleContext): Moved documentation into javadoc.
5195 (getUIClassID): Likewise.
5197 2004-06-08 Michael Koch <konqueror@gmx.de>
5199 * javax/swing/AbstractButton.java
5200 (getDisabledIcon): Create disabled icon if none exists yet.
5202 2004-06-08 Michael Koch <konqueror@gmx.de>
5204 * javax/swing/plaf/basic/BasicLookAndFeel.java
5205 (initClassDefaults): Added FormattedTextFieldUI.
5206 (loadResourceBundle): Renamed enum to e.
5208 2004-06-08 Michael Koch <konqueror@gmx.de>
5210 * javax/swing/plaf/basic/BasicButtonUI.java
5211 (paintIcon): Simplified.
5212 (paintText): Paint disabled button correctly.
5214 2004-06-08 Michael Koch <konqueror@gmx.de>
5216 * javax/swing/JComponent.java
5217 (createToolTip): Use official JToolTip API.
5219 2004-06-08 Michael Koch <konqueror@gmx.de>
5221 * javax/swing/JToolTip.java
5222 (JToolTip): No arguments in API.
5223 (setTipText): New method.
5225 2004-06-08 Michael Koch <konqueror@gmx.de>
5227 * javax/swing/SwingUtilities.java
5228 (isLeftMouseButton): New method.
5229 (isMiddleMouseButton): New method.
5230 (isRightMouseButton): New method.
5232 2004-06-08 Michael Koch <konqueror@gmx.de>
5234 * javax/swing/AbstractButton.java,
5235 javax/swing/CellRendererPane.java,
5236 javax/swing/JCheckBoxMenuItem.java,
5237 javax/swing/JColorChooser.java,
5238 javax/swing/JComboBox.java,
5239 javax/swing/JComponent.java,
5240 javax/swing/JDesktopPane.java,
5241 javax/swing/JFileChooser.java,
5242 javax/swing/JMenu.java,
5243 javax/swing/JMenuItem.java,
5244 javax/swing/JOptionPane.java,
5245 javax/swing/JPasswordField.java,
5246 javax/swing/JPopupMenu.java,
5247 javax/swing/JProgressBar.java,
5248 javax/swing/JRadioButtonMenuItem.java,
5249 javax/swing/JScrollBar.java,
5250 javax/swing/JSeparator.java,
5251 javax/swing/JSlider.java,
5252 javax/swing/JSplitPane.java,
5253 javax/swing/JTabbedPane.java,
5254 javax/swing/JTextField.java,
5255 javax/swing/JToolBar.java,
5256 javax/swing/text/JTextComponent.java:
5257 Fixed all constructors of accessibility classes.
5259 2004-06-08 Michael Koch <konqueror@gmx.de>
5261 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5264 2004-06-08 Michael Koch <konqueror@gmx.de>
5266 * javax/swing/Box.java
5267 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5268 (AccessibleBoxFiller.serialVersionUID): New member variable.
5269 * javax/swing/DefaultButtonModel.java
5270 (stateMask): Made protected.
5271 (listenerList): Likewise.
5272 (changeEvent): Likewise.
5274 (mnemonic): Likewise.
5275 (actionCommand): Likewise.
5276 (getListeners): New method.
5277 (getActionListeners): New method.
5278 (getItemListeners): New method.
5279 (getChangeListeners): New method.
5280 (fireItemStateChanged): Simplified.
5281 (fireActionPerformed): Simplified.
5282 (fireStateChanged): Simplified.
5283 * javax/swing/JFrame.java
5284 (JFrame): Implements WindowContants.
5285 (HIDE_ON_CLOSE): Removed.
5286 (EXIT_ON_CLOSE): Removed.
5287 (DISPOSE_ON_CLOSE): Removed.
5288 (DO_NOTHING_ON_CLOSE): Removed.
5289 (processWindowEvent): Exit with code 0.
5290 (setDefaultCloseOperation): Do security check before setting value.
5291 * javax/swing/JOptionPane.java
5292 (message): Initialize only in constructor.
5293 * javax/swing/JToolTip.java: Removed unused imports.
5294 * javax/swing/JViewport.java
5295 (serialVersionUID): New member variable.
5296 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5297 (BLIT_SCROLL_MODE): Likewise.
5298 (BACKINGSTORE_SCROLL_MODE): Likewise.
5299 (scrollUnderway): Made protected.
5300 (isViewSizeSet): Likewise.
5301 * javax/swing/ListModel.java: Fixed javadoc.
5302 * javax/swing/Popup.java: Likewise.
5303 * javax/swing/RepaintManager.java
5304 (paintDirtyRegions): Don't use internal classes of
5305 java.util.AbstractMap.
5306 * javax/swing/ScrollPaneConstants.java: Reindented.
5307 * javax/swing/ScrollPaneLayout.java
5308 (viewport): Made protected.
5309 (verticalScrollBar): Made protected, renamed to vsb.
5310 (horizontalScrollBar): Made protected, renamed to hsb.
5311 (rowHeader): Made protected, renamed to rowHead.
5312 (columnHeader): Made protected, renamed to colHead.
5313 (lowerLeft): Made protected.
5314 (lowerRight): Made protected.
5315 (upperLeft): Made protected.
5316 (upperRight): Made protected.
5317 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5318 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5320 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5322 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5323 LOADING if flags has SOMEBITS set.
5325 2004-06-07 Michael Koch <konqueror@gmx.de>
5327 * javax/swing/AbstractButton.java: Reorganized imports.
5328 * javax/swing/ActionMap.java: Likewise.
5329 * javax/swing/DefaultButtonModel.java: Likewise.
5330 * javax/swing/DefaultListModel.java: Likewise.
5331 * javax/swing/ImageIcon.java: Likewise.
5332 (serialVersionUID): New member variable.
5333 * javax/swing/JComboBox.java: Reorganized imports.
5334 * javax/swing/JComponent.java: Likewise.
5335 (ui): Made protected.
5336 (listenerList): Made protected.
5337 (TOOL_TIP_TEXT_KEY): New constant.
5338 (scrollRectToVisible): Removed redundant null check.
5339 * javax/swing/JFrame.java: Reorganized imports.
5340 * javax/swing/JInternalFrame.java: Reorganized imports.
5341 * javax/swing/JProgressBar.java: Likewise.
5342 * javax/swing/JRootPane.java: Likewise.
5343 * javax/swing/JScrollBar.java: Likewise.
5344 * javax/swing/JSeparator.java: Likewise.
5345 * javax/swing/JSlider.java: Likewise.
5346 * javax/swing/JTabbedPane.java: Likewise.
5347 * javax/swing/JTextField.java: Likewise.
5348 * javax/swing/JToolBar.java: Likewise.
5349 * javax/swing/JTree.java: Likewise.
5350 * javax/swing/JViewport.java: Likewise.
5351 * javax/swing/JWindow.java: Likewise.
5352 * javax/swing/KeyStroke.java: Likewise.
5353 * javax/swing/LookAndFeel.java: Likewise.
5354 * javax/swing/MenuSelectionManager.java: Likewise.
5355 * javax/swing/SwingUtilities.java: Likewise.
5356 * javax/swing/Timer.java: Likewise.
5357 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5358 * javax/swing/JList.java
5359 (HORIZONTAL_WRAP): Made final, fixed value.
5360 (VERTICAL): Likewise.
5361 (VERTICAL_WRAP): Likewise.
5363 2004-06-07 Michael Koch <konqueror@gmx.de>
5365 * javax/swing/AbstractButton.java
5366 (serialVersionUID): New member variable.
5367 (AccessibleAbstractButton.serialVersionUID): Likewise.
5368 (AbstractButton): Made public.
5369 * javax/swing/Box.java
5370 (AccessibleBox.serialVersionUID): New member variable.
5371 (Filler.serialVersionUID): Likewise.
5372 * javax/swing/DefaultListSelectionModel.java
5373 (serialVersionUID): Likewise.
5374 * javax/swing/JApplet.java
5375 (serialVersionUID): Likewise.
5376 * javax/swing/JCheckBox.java
5377 (serialVersionUID): Likewise.
5378 * javax/swing/JCheckBoxMenuItem.java
5379 (serialVersionUID): Likewise.
5380 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5381 * javax/swing/JColorChooser.java
5382 (serialVersionUID): Likewise.
5383 (AccessibleJColorChooser.serialVersionUID): Likewise.
5384 * javax/swing/JComponent.java
5385 (serialVersionUID): Made private.
5386 (AccessibleJComponent.serialVersionUID): New member variable.
5387 * javax/swing/JDesktopPane.java
5388 (serialVersionUID): Likewise.
5389 * javax/swing/JDialog.java
5390 (serialVersionUID): Likewise.
5391 * javax/swing/JFormattedTextField.java
5392 (serialVersionUID): Fixed value.
5393 * javax/swing/JFrame.java
5394 (serialVersionUID): New member variable.
5395 (getDefaultCloseOpertation): Made public.
5396 * javax/swing/JLayeredPane.java
5397 (serialVersionUID): Likewise.
5398 (LAYER_PROPERTY): Made final, fixed value.
5399 (JLayeredPane): Made public.
5400 * javax/swing/JMenu.java
5401 (AccessibleJMenu.serialVersionUID): New member variable.
5402 (WinListener.serialVersionUID): Likewise.
5403 * javax/swing/JMenuBar.java
5404 (serialVersionUID): Likewise.
5405 (getComponentAtIndex): Added @deprecated tag.
5406 * javax/swing/JMenuItem.java
5407 (serialVersionUID): New member variable.
5408 (AccessibleJMenuItem.serialVersionUID): Likewise.
5409 * javax/swing/JOptionPane.java
5410 (serialVersionUID): Likewise.
5411 (AccessibleJOptionPane.serialVersionUID): Likewise.
5412 * javax/swing/JPopupMenu.java
5413 (serialVersionUID): Likewise.
5414 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5415 (getPopupMenuListeners): New method.
5416 (getComponentAtIndex): Added @deprecated tag.
5417 * javax/swing/JProgressBar.java
5418 (serialVersionUID): New member variable.
5419 (AccessibleJProgressBar.serialVersionUID): Likewise.
5420 * javax/swing/JRadioButton.java
5421 (serialVersionUID): Likewise.
5422 * javax/swing/JRadioButtonMenuItem.java
5423 (serialVersionUID): Likewise.
5424 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5425 * javax/swing/JScrollBar.java
5426 (serialVersionUID): Likewise.
5427 (AccessibleJScrollBar.serialVersionUID): Likewise.
5428 * javax/swing/JSeparator.java
5429 (serialVersionUID): Likewise.
5430 (AccessibleJSeparator.serialVersionUID): Likewise.
5431 * javax/swing/JSlider.java: Fixed javadocs.
5432 (AccessibleJSlider.serialVersionUID): New member variable.
5433 * javax/swing/JSplitPane.java: Added copyright statement.
5434 (serialVersionUID): New member variable.
5435 (AccessibleJSplitPane.serialVersionUID): Likewise.
5436 * javax/swing/JTabbedPane.java
5437 (serialVersionUID): Likewise.
5438 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5439 (ModelListener.serialVersionUID): Likewise.
5440 (ModelListener.ModelListener): New constructor.
5441 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5442 (WRAP_TAB_LAYOUT): Likewise.
5443 * javax/swing/JTable.java
5444 (serialVersionUID): New member variable.
5445 * javax/swing/JToggleButton.java
5446 (serialVersionUID): Likewise.
5447 (ToggleButtonModel): Made static.
5448 (ToggleButtonModel.serialVersionUID): New member variable.
5449 * javax/swing/JToolTip.java
5450 (serialVersionUID): Likewise.
5451 * javax/swing/JTree.java
5452 (serialVersionUID): Likewise.
5453 * javax/swing/JWindow.java
5454 (serialVersionUID): Likewise.
5455 * javax/swing/Timer.java
5456 (serialVersionUID): Likewise.
5458 2004-06-06 Michael Koch <konqueror@gmx.de>
5460 * javax/swing/SwingConstants.java
5461 (NEXT): New constant.
5462 (PREVIOUS): Likewise.
5463 * javax/swing/UIManager.java
5464 (LookAndFeel): Made public.
5465 (LookAndFeel.getClassName): Likewise.
5466 (LookAndFeel.getName): Likewise.
5468 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5470 * javax/swing/JCheckBoxMenuItem.java:
5472 * javax/swing/JMenu.java: Likewise.
5473 * javax/swing/JMenuBar.java: Likewise.
5474 * javax/swing/JMenuItem.java: Likewise.
5475 * javax/swing/JPopupMenu.java: Likewise.
5476 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5477 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5478 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5479 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5480 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5481 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5482 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5484 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5486 * javax/swing/plaf/basic/BasicMenuUI.java:
5487 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5488 Call getPath() from super class instead.
5490 2004-05-31 David Jee <djee@redhat.com>
5492 * java/awt/Container.java
5493 (remove): Set component visibility to false after removing it.
5495 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5497 * java/awt/Component.java (getForeground): Return SystemColor if
5499 (getBackground): Likewise.
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5502 (item_highlighted): New function.
5503 (connectSignals): Set item_highlighted as list's select
5506 * java/applet/Applet.java: Revert changes from 2004-04-29,
5507 2004-03-15 and 2004-03-14.
5509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5510 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5513 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5514 "Dialog" as the default font.
5515 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5517 * java/awt/Component.java (getFont): Return "Dialog" font by
5519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5520 Multiply size argument to pango_font_description_set_size by the
5521 DPI conversion factor rather than by PANGO_SCALE.
5522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5523 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5532 Divide baseline y coordinate by DPI conversion factor rather
5533 than by PANGO_SCALE.
5534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5535 (area_prepared): Fix typo.
5536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5537 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5539 (dpi_conversion_factor): New global variable.
5540 (init_dpi_conversion_factor): New function to calculate and
5541 track DPI conversion factor.
5542 (dpi_changed_cb): New callback.
5543 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5545 2004-05-27 David Jee <djee@redhat.com>
5547 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5548 (getGraphics): Return a new GdkGraphics instance.
5549 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5550 (getGraphics): Call super.getGraphics().
5552 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5555 (setNativeBounds): Clamp width and height values to >= 0.
5557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5558 (find_fg_color_widget): Handle GtkOptionMenu specially.
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5561 (pre_event_handler): Only post configure events to visible
5564 2004-05-26 David Jee <djee@redhat.com>
5566 * java/awt/BorderLayout.java
5567 (layoutContainer): Fix size calculations.
5569 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5572 (window_wm_protocols_filter): Remove function.
5573 (create): Remove filter that removes WM_TAKE_FOCUS client
5576 2004-06-17 Anthony Green <green@redhat.com>
5578 * java/util/zip/ZipFile.java (getInputStream): Return null if
5581 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5582 directory contents to the class path.
5584 2004-06-15 Andrew Haley <aph@redhat.com>
5586 * java/lang/natSystem.cc (getenv0): Don't assume environment
5587 variable is Latin 1 coded.
5589 2004-06-14 Andreas Jaeger <aj@suse.de>
5591 * configure.in: Support --enable-version-specific-runtime-libs.
5592 * configure: Regenerated.
5594 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5596 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5597 to pass ClassLoader argument.
5598 * java/util/GregorianCalendar.java: Likewise.
5599 * java/util/Currency.java: Likewise.
5600 * java/text/BreakIterator.java: Likewise.
5601 * java/text/Collator.java: Likewise.
5602 * java/text/DateFormat.java: Likewise.
5603 * java/text/DateFormatSymbols.java: Likewise.
5604 * java/text/DecimalFormatSymbols.java: Likewise.
5605 * java/text/NumberFormat.java: Likewise.
5606 * java/awt/Window.java: Likewise.
5608 2004-06-14 Andrew Haley <aph@redhat.com>
5610 * java/lang/System.java: (getenv0): New method.
5611 (getenv): Add security check. Do the right thing.
5612 * java/lang/natSystem.cc (getenv0): New method.
5614 2004-06-12 Mark Wielaard <mark@klomp.org>
5616 * javax/swing/RepaintManager.java
5617 (paintDirtyRegions): Use entrySet(), not values().
5619 2004-06-10 Mark Wielaard <mark@klomp.org>
5621 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5624 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5626 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5627 when we already know the answer.
5628 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5629 (setStartRule,setEndRule): Don't take abs of day number.
5630 (getOffset): Clarify docs. Add argument checks.
5631 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5632 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5635 2004-06-10 Tom Tromey <tromey@redhat.com>
5637 * interpret.cc (run): Handle wide fload.
5639 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5641 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5643 2004-06-05 Michael Koch <konqueror@gmx.de>
5645 * javax/swing/SwingConstants.java
5646 (NEXT): New constant.
5647 (PREVIOUS): Likewise.
5649 2004-06-05 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/UIManager.java
5652 (LookAndFeel): Made public.
5653 (LookAndFeel.getName): Likewise.
5654 (LookAndFeel.getClassName): Likewise.
5656 2004-06-03 Michael Koch <konqueror@gmx.de>
5658 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5659 (requestFocus): Revert last changes.
5660 (gtkRequestFocus): Removed.
5661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5662 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5664 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5665 Reverted last patch.
5666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5667 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5668 Reverted comment change.
5670 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5672 * javax/swing/JCheckBoxMenuItem.java:
5674 * javax/swing/JMenu.java: Likewise.
5675 * javax/swing/JMenuBar.java: Likewise.
5676 * javax/swing/JMenuItem.java: Likewise.
5677 * javax/swing/JPopupMenu.java: Likewise.
5678 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5679 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5680 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5681 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5682 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5683 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5684 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5686 2004-06-01 Tom Tromey <tromey@redhat.com>
5688 * java/io/ObjectStreamField.java: Cleaned up imports.
5690 2004-06-01 Michael Koch <konqueror@gmx.de>
5692 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5694 2004-06-01 Mark Wielaard <mark@klomp.org>
5696 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5698 2004-06-01 Michael Koch <konqueror@gmx.de>
5700 * java/security/Security.java
5701 (insertProviderAt): Use equals() instead of ==.
5702 (removeProvicer): Likewise.
5703 (getProvider): Likewise.
5704 * java/security/Signature.java
5705 (sign): Don't set state to UNINITIALIZED.
5708 2004-06-01 Mark Wielaard <mark@klomp.org>
5710 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5711 Implement by calling gtkRequestFocus.
5712 (gtkRequestFocus): New native method.
5713 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5714 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5716 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5718 (filter_expose_event_handler):
5720 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5721 (menu_pos): Mark static.
5723 2004-06-01 Michael Koch <konqueror@gmx.de>
5725 * java/text/CollationElementIterator.java,
5726 java/text/CollationKey.java,
5727 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5728 * testsuite/libjava.mauve/xfails: Removed all
5729 java.text.CollationElementIterator tests.
5731 2004-06-01 Michael Koch <konqueror@gmx.de>
5733 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5735 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5736 Java 1.5 keyword usage.
5738 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5740 * javax/swing/plaf/basic/BasicMenuUI.java:
5741 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5742 Call getPath() from super class instead.
5744 2004-05-31 Michael Koch <konqueror@gmx.de>
5746 * java/io/SequenceInputStream.java:
5747 Rename enum to e because enum is a keyword in Java 1.5.
5749 2004-05-31 Michael Koch <konqueror@gmx.de>
5751 * gnu/java/rmi/rmic/CompilerProcess.java:
5752 Fixed javadoc to by XHTML compliant.
5754 2004-05-30 Mark Wielaard <mark@klomp.org>
5756 * java/awt/Toolkit.java (loadSystemColors): Implement.
5758 2004-05-30 Michael Koch <konqueror@gmx.de>
5760 * java/lang/System.java: Reordered imports.
5762 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5764 * java/text/DecimalFormat.java
5765 (parse): Fixed parsing of decimal strings. Number of maximum
5766 digits to be read should now work.
5767 * java/text/SimpleDateFormat.java
5768 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5769 formatter. This fixes DateFormatTest.
5771 2004-05-30 Michael Koch <konqueror@gmx.de>
5773 * java/nio/Buffer.java
5774 (limit): Fixed off by one error.
5775 * java/nio/CharBuffer.java
5776 (wrap): Fixed arguments, added javadocs.
5778 2004-05-30 Michael Koch <konqueror@gmx.de>
5780 * gnu/java/beans/BeanInfoEmbryo.java,
5781 java/awt/im/InputContext.java,
5782 javax/swing/tree/DefaultMutableTreeNode.java:
5783 Rename enum to e because enum is a keyword in Java 1.5.
5785 2004-05-30 Michael Koch <konqueror@gmx.de>
5787 * gnu/java/math/MPN.java,
5788 java/awt/geom/Arc2D.java:
5789 Fixed javadocs all over.
5791 2004-05-30 Michael Koch <konqueror@gmx.de>
5793 * java/awt/DefaultKeyboardFocusManager.java
5794 (dispatchEvent): Call method to get key event dispatchers.
5795 (dispatchKeyEvent): Call method to get key event post processors.
5796 * javax/swing/JComponent.java
5797 (listenerList): Made protected.
5798 * javax/swing/JOptionPane.java
5799 (message): Don't initialize.
5800 (JOptionPane): Set message text.
5801 * javax/swing/JPopupMenu.java
5802 (show): Fixed typo in argument name.
5803 * javax/swing/RepaintManager.java
5804 (paintDirtyRegions): Use public API of java.util.Map.
5805 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5806 (positionForMouseEvent): Removed redundant ';'.
5807 (continueDrag): Use method arguments.
5809 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5811 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5814 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5816 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5818 * gnu/gcj/RawDataManaged.java: New file.
5819 * java/lang/Thread.java (data): Declare as RawDataManaged.
5820 * java/lang/natThread.cc (init_native): Cast natThread data to
5821 RawDataManaged, not jobject.
5822 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5823 * Makefile.in: Rebuilt.
5825 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5827 * java/util/SimpleTimeZone.java: Reverting my last change until I
5828 can fix it properly.
5830 2004-05-27 Michael Koch <konqueror@gmx.de>
5832 * javax/swing/JPopupMenu.java
5833 (isVisible): Do not use visible directly.
5834 (setVisible): Likewise.
5835 * javax/swing/JWindow.java
5836 (JWindow): call accessible constructor.
5837 * javax/swing/RepaintManager.java
5838 (paintDirtyRegions): Use public methods to obtain iterator.
5840 2004-05-25 David Jee <djee@redhat.com>
5842 * java/awt/Container.java
5843 (remove): Set component's parent to null only after we removed the
5844 component from its parent's layout manager.
5846 2004-05-25 David Jee <djee@redhat.com>
5848 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5849 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5851 * gnu/java/awt/peer/gtk/GtkListPeer.java
5852 (getSize): Change native method declaration.
5853 (minimumSize): Pass visible row count into getSize().
5854 (preferredSize): Likewise.
5855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5856 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5857 natural size. Use visible row count to determine the final height
5860 2004-05-21 Graydon Hoare <graydon@redhat.com>
5862 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5863 (setClip): Minor correction to order of operations.
5865 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5866 * javax/swing/ScrollPaneLayout.java: Likewise.
5867 * javax/swing/JViewPort.java: Likewise.
5868 * javax/swing/ViewportLayout.java: Likewise.
5870 * javax/swing/JComponent.java: Rewrite.
5871 * javax/swing/RepaintManager.java: Likewise.
5873 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5874 * javax/swing/JList.java
5875 (setSelectedIndices):
5876 (getSelectedIndices):
5877 (getSelectedValues): New functions.
5878 (getPreferredScrollableViewportSize): Return preferred size.
5879 (getScrollableUnitIncrement):
5880 (getScrollableBlockIncrement): Initial implementations.
5881 * javax/swing/JRootPane.java: Clean up slightly.
5886 (isValidateRoot): Add overrides from JComponent.
5887 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5888 * javax/swing/UIManager.java (getDimension): Return the dimension.
5890 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5891 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5892 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5893 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5894 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5895 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5896 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5897 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5898 Likewise, and set background.
5899 * javax/swing/plaf/basic/BasicListUI.java:
5900 Likewise, and improve a bit.
5901 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5902 Likewise, and adjust calculations.
5903 * javax/swing/plaf/basic/BasicViewportUI.java:
5904 Likewise, and improve a bit.
5905 * javax/swing/plaf/basic/BasicLookAndFeel.java
5906 (Button.margin): Shrink.
5908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5909 Hack to set horizontal always, workaround pango.
5911 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5913 Synchronize more often, check cairo status after ops,
5914 handle changes to cairo pattern API, check for disposal.
5916 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5918 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5919 (BasicMenuItemUI): Create propertyChangeListener.
5920 (getPath):Implemented.
5921 (installListeners): Add propertyChangeListener to menuItem.
5922 (uninstallListeners): Remove propertyChangeListener from menuItem.
5923 (update): Implemented.
5924 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5925 (mouseEntered): Take insets of popup menu into account when
5926 calculating position of popup menu.
5928 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5930 * Makefile.am: Added new file.
5931 * Makefile.in: Regenerate.
5932 * javax/swing/JMenuBar.java:
5933 Started implementation.
5934 * javax/swing/JPopupMenu.java:
5935 (setVisible): Fixed location of lightweight/mediumweight
5937 (show): Fixed location of PopupMenu.
5938 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5939 New file. UI Delegate for JMenuBar.
5940 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5941 (mouseEntered): Corrected position of the submenu.
5943 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5946 to _gtk_accel_group_attach.
5947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5950 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5951 package access. Don't override setFont.
5952 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5953 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5954 gtkWidgetRequestFocus package access.
5955 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5957 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5958 Give gtkWidgetRequestFocus package access.
5959 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5960 gtkWidgetRequestFocus package access. Don't override setFont.
5961 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5964 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5966 (gtkSetFont): Likewise.
5967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5970 (gtkSetFont): Whitespace fix.
5972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5973 (gtkWidgetSetUsize): Remove method.
5975 2004-05-18 David Jee <djee@redhat.com>
5977 * java/awt/image/MemoryImageSource.java
5978 (newPixels(int,int,int,int,boolean)): Set only the specified
5979 rectangle of pixels.
5980 (newPixels(byte[],ColorModel,int,int)): Implement.
5981 (newPixels(int[],ColorModel,int,int)): Implement.
5983 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5985 * Makefile.am: Added new file.
5986 * Makefile.in: Regenerate.
5987 * javax/swing/JMenu.java: Started
5989 * javax/swing/JPopupMenu.java:
5990 (insert): If specified index is -1, then
5991 add component at the end.
5992 (isPopupTrigger): Reimplemented.
5993 (JPopupMenu.LightWeightPopup): setBounds
5994 of the lightWeightPopup before adding it
5996 (javax/swing/plaf/basic/BasicIconFactory.java):
5997 (getMenuArrowIcon): Implemented.
5998 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5999 (getPreferredSize): Add size of the arrow icon
6000 if this menu item is instance of JMenu.
6001 (paintMenuItem): Paint arrow icon if this
6002 menu item is a submenu.
6003 * javax/swing/plaf/basic/BasicMenuUI.java:
6004 New File. UI Delegate for JMenu.
6006 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6008 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6009 Post KEY_TYPED events.
6010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6011 (generates_key_typed_event): Remove function.
6013 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6015 * javax/swing/JRootPane.java
6016 (JRootPane.RootLayout): Reimplemented to
6017 set bounds of contentPane and menuBar.
6018 (setJMenuBar): Add menu bar to the layered pane.
6019 (createLayeredPane): Set layout of layeredPane
6021 * javax/swing/JLayeredPane.java:
6022 (addImpl): Calculate index of the component in the
6023 layeredPane according to the specified position within
6026 2004-05-17 David Jee <djee@redhat.com>
6028 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6029 (setPixels): Change color model to the default model after
6031 * java/awt/image/MemoryImageSource.java
6032 (newPixels): Set only the specified rectangle of pixels.
6034 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6036 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6037 -l-java-beans -l-javax-accessibility -l-javax-swing.
6039 * java/awt/AWTEvent.java (toString): Print source's name rather
6040 than the source itself.
6042 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6044 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6047 (gdk_color_to_java_color): New function.
6048 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6050 2004-05-12 David Jee <djee@redhat.com>
6052 * java/awt/image/RGBImageFilter.java:
6053 Initialize origmodel as null.
6054 (makeColor): Fix pixel component order.
6055 (filterRGBPixels): Fix pixel iteration.
6056 (setPixels): Add extra checks for index color model. Convert pixels
6057 to default color model if necessary.
6058 (convertColorModelToDefault): New override method for byte pixels.
6059 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6060 (makeColorbyDefaultCM): New override method for byte pixels.
6061 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6062 (makeColor): Fix pixel component order.
6064 2004-05-11 Kim Ho <kho@redhat.com>
6066 * javax/swing/Box.java:
6067 Comment out more parts of Box.Filler.
6069 2004-05-11 Kim Ho <kho@redhat.com>
6071 * javax/swing/Box.java:
6072 Remove reference to AccessibleAWTComponent so
6075 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6077 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6078 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6079 implementation of list peer to use GtkTreeView instead of
6080 deprecated GtkCList.
6082 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6084 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6085 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6086 (handleEvent): Remove keyChar argument to
6087 gtkWidgetDispatchKeyEvent calls.
6088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6095 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6097 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6098 (gtkWidgetRequestFocus): Mark protected.
6099 (GtkComponentPeer): Only set the peer's bounds if its component
6101 * java/awt/Component.java (static): Set the default keyboard
6103 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6104 requestFocusInWindow(temporary)): Don't request focus if the
6105 component is not showing. Get tree lock before traversing
6106 component hierarchy.
6107 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6108 Only set the global focus owner if it is not a Window.
6109 (processKeyEvent): Consume keystrokes associated with the focus
6110 traversal keystroke.
6111 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6112 downFocusCycle): Call requestFocusInWindow instead of
6114 * java/awt/EventDispatchThread.java (run): Move setting of
6115 default keyboard focus manager to Component.java.
6116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6117 (awt_keycode_to_keysym): New function.
6118 (gtkWidgetDispatchKeyEvent): Finish implementation.
6119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6120 (pre_event_handler): Add FIXME comment.
6122 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6123 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6124 (gtkWidgetRequestFocus): New method.
6125 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6126 disable Tab and Shift-Tab keystrokes.
6127 (addNotify, appendText, insertText, replaceText): Simplify peer
6129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6130 (connectSignals): Remove connections to "commit" signals.
6131 Remove C++-style comments.
6133 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6135 (handleEvent): Activate GTK button when the space bar key is
6137 (gtkActivate): New method.
6139 2004-05-06 David Jee <djee@redhat.com>
6141 * java/awt/image/CropImageFilter.java
6142 (setPixels): Implement for byte array pixels.
6143 * java/awt/image/ReplicateScaleFilter.java
6144 (setPixels): Implement for byte array pixels.
6145 (replicatePixels): Overload for byte array pixels.
6147 2004-05-06 Kim Ho <kho@redhat.com>
6149 * javax/swing/Box.java:
6150 (getAccessibleContext): Return an instance of the
6153 2004-05-05 David Jee <djee@redhat.com>
6155 * gnu/java/awt/peer/gtk/GdkGraphics.java
6156 (drawImage): When component is null, use SystemColor.window as
6157 the default bgcolor.
6158 * gnu/java/awt/peer/gtk/GtkImage.java
6159 (setPixels): We can avoid iterating through the pixel rows only
6161 * java/awt/Image.java
6162 (getScaledInstance): Partially implement.
6163 * java/awt/image/CropImageFilter.java
6164 (setProperties): Fix "filter" property.
6165 (setPixels): Implement.
6166 * java/awt/image/ReplicateScaleFilter.java
6167 (setDimensions): Use scaled dimensions.
6168 (setPixels): Implement.
6169 (replicatePixels): New method.
6171 2004-05-05 David Jee <djee@redhat.com>
6173 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6174 (convertPixels): If either pixels or model is null, return null.
6175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6176 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6177 is null, do nothing and return.
6179 2004-05-03 Kim Ho <kho@redhat.com>
6181 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6182 (getGraphics): Like GtkFramePeer, the Graphics
6183 object needs to be translate to account for
6185 (postMouseEvent): New method. Account for
6187 (postExposeEvent): ditto.
6188 * javax/swing/Box.java: Stubbed.
6189 * javax/swing/JDialog.java: Ran through jalopy
6191 (JDialog): Call SwingUtilities' getOwnerFrame
6193 (setLayout): Check isRootPaneCheckingEnabled
6194 * javax/swing/JOptionPane.java: Re-implemented.
6195 * javax/swing/SwingUtilities.java:
6196 (getOwnerFrame): Static method to grab a default
6197 owner frame for Dialogs that don't specify owners.
6198 * javax/swing/event/SwingPropertyChangeSupport.java:
6199 (firePropertyChange): Fix early exit condition.
6200 * javax/swing/plaf/basic/BasicLabelUI.java:
6201 (paint): Avoid painting text if it is null
6203 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6206 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6208 * Makefile.am: Added new file.
6209 * Makefile.in: Regenerate.
6210 * javax/swing/JPopupMenu.java:
6211 Started implementation.
6212 * javax/swing/JWindow.java
6213 (JWindow): call super() if parent for window
6215 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6216 New File. UI Delegate for JPopupMenu.
6218 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6220 * javax/swing/JApplet.java: Indicated that JApplet
6221 implements RootPaneContainer and made method of this
6223 * javax/swing/JFrame.java: Ditto.
6224 * javax/swing/JWindow.java: Ditto.
6226 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6229 (nativeSetBounds): Call gdk_window_move in addition to
6232 * java/applet/Applet.java (preferredSize): Call parent's
6233 preferredSize if the applet stub is null.
6234 (minimumSize): Likewise for parent's minimumSize.
6236 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6238 * javax/swing/JMenuItem.java
6239 (createActionPropertyChangeListener): Implemented.
6240 (processMouseEvent): Ditto.
6241 (fireMenuDragMouseEntered): Ditto.
6242 (fireMenuDragMouseExited): Ditto.
6243 (fireMenuDragMouseDragged): Ditto.
6244 (fireMenuDragMouseReleased): Ditto.
6245 (menuSelectionChanged): Ditto.
6246 (getSubElements): Ditto.
6247 (getComponent): Ditto.
6248 (addMenuDragMouseListener): Ditto.
6249 (removeMenuDragMouseListener):Ditto.
6250 (addMenuKeyListener): Ditto.
6251 (removeMenuKeyListener): Ditto.
6252 * javax/swing/plaf/basic/BasicMenuItemUI.java
6253 (doClick): Imlemented.
6254 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6255 Don't handle mouse events here. Pass them to
6256 MenuSelectionManager.
6258 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6259 Used correct version of jalopy configuration
6260 file to fix style in the files below.
6262 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6264 * javax/swing/JCheckBoxMenuItem.java:
6265 Fixed style and removed unnecessary comments.
6266 * javax/swing/JMenuItem.java: Ditto.
6267 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6268 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6269 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6270 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6272 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6274 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6277 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6279 * java/awt/ContainerOrderFocusTraversalPolicy.java
6280 (getComponentAfter): Start from current component and work up
6281 the component hierarchy until an acceptable component is found.
6282 Synchronize on tree lock.
6283 (getComponentBefore): Likewise.
6285 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6287 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6288 focus-related debugging messages.
6289 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6290 * java/awt/EventDispatchThread.java: Likewise.
6291 * java/awt/KeyboardFocusManager.java: Likewise.
6292 * java/awt/Window.java: Likewise.
6293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6297 new C++-style comments to C-style comments.
6298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6300 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6301 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6302 (handleEvent): Dispatch key press and key release events to
6304 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6305 (gtkWidgetRequestFocus): New method.
6306 (gtkWidgetDispatchKeyEvent): Likewise.
6307 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6308 requestFocusInWindow, requestFocusInWindow(boolean),
6309 getFocusCycleRootAncestor, nextFocus, transferFocus,
6310 transferFocusBackward, transferFocusUpCycle, hasFocus,
6311 isFocusOwner): Implement and document focus-handling methods.
6312 (setFocusTraversalKeys): Inherit focus traversal keys when
6313 keystrokes argument is null. Fix focus-handling documentation
6315 * java/awt/Container.java (setFocusTraversalKeys,
6316 getFocusTraversalKeys, areFocusTraversalKeysSet,
6317 isFocusCycleRoot, setFocusTraversalPolicy,
6318 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6319 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6320 Implement and document focus-handling methods.
6321 (transferFocusBackward): Remove method.
6322 (readObject, writeObject): Implement and document serialization
6324 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6326 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6328 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6330 * java/awt/EventDispatchThread.java (run): Set default keyboard
6331 focus manager. Attempt to dispatch each event to the keyboard
6332 focus manager before normal dispatch.
6333 * java/awt/KeyboardFocusManager.java: Implement and partially
6335 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6336 (show): Focus initial component when window is shown for the
6338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6339 (pre_event_handler): Replace complex key press and key release
6340 logic with simple callbacks into GtkComponentPeer.
6341 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6343 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6345 * javax/swing/MenuSelectionManager.java
6346 (componentForPoint): Added new method.
6347 (defaultManager): New Method. Implemented.
6348 (getSelectedPath): Ditto.
6349 (isComponentPartOfCurrentMenu): Ditto.
6350 (processKeyEvent): Added new method.
6351 (processMouseEvent): New Method. Implemented.
6352 (setSelectedPath): Ditto.
6355 2004-04-19 Kim Ho <kho@redhat.com>
6357 * java/awt/Container.java:
6358 (remove): Set the component's parent to null.
6359 (getComponentAt): Implement.
6360 * javax/swing/JComponent.java:
6361 (JComponent): Initialize defaultLocale
6362 (getDefaultLocale): Implement.
6363 (setDefaultLocale): ditto.
6364 * javax/swing/JSlider.java:
6365 (JSlider): Fix calculation of value.
6366 * javax/swing/JSplitPane.java: Implement.
6367 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6368 Change SplitPane's default divider size.
6369 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6370 (paint): Remove unused code.
6371 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6372 Added comments and ran through jalopy.
6373 (setBasicSplitPaneUI): Get reference to hidden divider
6374 and set up one touch buttons if necessary.
6375 (setBorder): Fire propertyChangeEvent only if
6376 borders are different.
6377 (getPreferredSize): Defer to layout manager.
6378 (propertyChange): Implement.
6379 (oneTouchExpandableChanged): ditto.
6380 (createLeftOneTouchButton): Use BasicArrowButton.
6381 (createRightOneTouchButton): ditto.
6382 (moveDividerTo): New method. Moves the divider
6383 to a set location based on the last divider location.
6384 (BasicSplitPaneDivider::MouseHandler): Implement.
6385 (BasicSplitPaneDivider::OneTouchButton): Removed.
6386 (BasicSplitPaneDivider::DragController): Implement.
6387 (BasicSplitPaneDivider::VerticalDragController):
6389 (BasicSplitPaneDivider::DividerLayout): ditto.
6390 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6391 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6392 (calculateLayoutInfo): Don't show component if it's
6394 (paintTab): Fix title paint logic.
6396 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6399 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6400 (setStartRule,setEndRule): Don't take abs of day number.
6401 (getOffset): Clarify docs. Add argument checks.
6402 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6403 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6405 * testsuite/libjava.mauve/xfails
6406 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6408 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6410 Layout interfaces during preparation, not initialization.
6411 * java/lang/natClass.cc (initializeClass): Move
6412 _Jv_LayoutInterfaceMethods call...
6413 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6415 2004-05-19 Anthony Green <green@localhost.localdomain>
6417 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6419 * Makefile.in: Rebuilt.
6420 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6421 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6422 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6423 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6424 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6425 gnu/javax/rmi/CORBA/DelegateFactory.java,
6426 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6427 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6428 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6429 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6430 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6431 gnu/javax/rmi/PortableServer.java: Remove files.
6433 2004-05-19 Anthony Green <green@redhat.com>
6435 * Makefile.am: Define JAVA_EXT_DIRS.
6436 * Makefile.in: Rebuilt.
6437 * java/lang/natRuntime.cc (insertSystemProperties): Set
6438 java.ext.dirs property.
6440 2004-05-16 Mark Wielaard <mark@klomp.org>
6442 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6444 2004-05-15 Mark Wielaard <mark@klomp.org>
6446 * doc/cni.sgml: Removed, merged into gcj.texi.
6448 2004-05-15 Mark Wielaard <mark@klomp.org>
6450 * Makefile.am (ordinary_java_source_files): Add new javax.print
6452 * Makefile.in: Regenerated.
6454 2004-05-15 Michael Koch <konqueror@gmx.de>
6456 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6457 javax/print/attribute/standard/DateTimeAtCreation.java,
6458 javax/print/attribute/standard/DateTimeAtProcessing.java,
6459 javax/print/attribute/standard/DocumentName.java,
6460 javax/print/attribute/standard/JobHoldUntil.java,
6461 javax/print/attribute/standard/JobImpressionsCompleted.java,
6462 javax/print/attribute/standard/JobMessageFromOperator.java,
6463 javax/print/attribute/standard/JobName.java,
6464 javax/print/attribute/standard/JobOriginatingUserName.java,
6465 javax/print/attribute/standard/JobPriority.java,
6466 javax/print/attribute/standard/JobPrioritySupported.java,
6467 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6468 javax/print/attribute/standard/OutputDeviceAssigned.java,
6469 javax/print/attribute/standard/PrinterInfo.java,
6470 javax/print/attribute/standard/PrinterLocation.java,
6471 javax/print/attribute/standard/PrinterMakeAndModel.java,
6472 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6473 javax/print/attribute/standard/PrinterName.java,
6474 javax/print/attribute/standard/QueuedJobCount.java,
6475 javax/print/attribute/standard/RequestingUserName.java:
6476 Fixed javadocs all over.
6478 2004-05-15 Michael Koch <konqueror@gmx.de>
6480 * javax/print/DocFlavor.java,
6481 javax/print/attribute/standard/ColorSupported.java,
6482 javax/print/attribute/standard/Compression.java,
6483 javax/print/attribute/standard/CopiesSupported.java,
6484 javax/print/attribute/standard/Fidelity.java,
6485 javax/print/attribute/standard/Finishings.java,
6486 javax/print/attribute/standard/JobImpressionsSupported.java,
6487 javax/print/attribute/standard/JobKOctetsSupported.java,
6488 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6489 javax/print/attribute/standard/JobSheets.java,
6490 javax/print/attribute/standard/JobState.java,
6491 javax/print/attribute/standard/JobStateReason.java,
6492 javax/print/attribute/standard/JobStateReasons.java,
6493 javax/print/attribute/standard/Media.java,
6494 javax/print/attribute/standard/MediaSizeName.java,
6495 javax/print/attribute/standard/MultipleDocumentHandling.java,
6496 javax/print/attribute/standard/NumberUpSupported.java,
6497 javax/print/attribute/standard/OrientationRequested.java,
6498 javax/print/attribute/standard/PDLOverrideSupported.java,
6499 javax/print/attribute/standard/PageRanges.java,
6500 javax/print/attribute/standard/PresentationDirection.java,
6501 javax/print/attribute/standard/PrintQuality.java,
6502 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6503 javax/print/attribute/standard/PrinterMoreInfo.java,
6504 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6505 javax/print/attribute/standard/PrinterResolution.java,
6506 javax/print/attribute/standard/PrinterState.java,
6507 javax/print/attribute/standard/PrinterStateReason.java,
6508 javax/print/attribute/standard/PrinterStateReasons.java,
6509 javax/print/attribute/standard/PrinterURI.java,
6510 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6511 javax/print/attribute/standard/Severity.java,
6512 javax/print/attribute/standard/SheetCollate.java,
6513 javax/print/attribute/standard/Sides.java:
6514 Added serialVersionUID and removed final keyword where it doenst
6517 2004-05-15 Michael Koch <konqueror@gmx.de>
6519 * javax/print/PrintServiceLookup.java: New file.
6521 2004-05-15 Michael Koch <konqueror@gmx.de>
6523 * javax/print/DocFlavor.java:
6524 Implemented all flavor classes.
6526 2004-05-15 Michael Koch <konqueror@gmx.de>
6528 * javax/print/attribute/standard/ColorSupported.java,
6529 javax/print/attribute/standard/Compression.java,
6530 javax/print/attribute/standard/CopiesSupported.java,
6531 javax/print/attribute/standard/Fidelity.java,
6532 javax/print/attribute/standard/Finishings.java,
6533 javax/print/attribute/standard/JobImpressionsSupported.java,
6534 javax/print/attribute/standard/JobKOctetsSupported.java,
6535 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6536 javax/print/attribute/standard/JobSheets.java,
6537 javax/print/attribute/standard/JobState.java,
6538 javax/print/attribute/standard/JobStateReason.java,
6539 javax/print/attribute/standard/JobStateReasons.java,
6540 javax/print/attribute/standard/Media.java,
6541 javax/print/attribute/standard/MediaSizeName.java,
6542 javax/print/attribute/standard/MultipleDocumentHandling.java,
6543 javax/print/attribute/standard/NumberUpSupported.java,
6544 javax/print/attribute/standard/OrientationRequested.java,
6545 javax/print/attribute/standard/PDLOverrideSupported.java,
6546 javax/print/attribute/standard/PageRanges.java,
6547 javax/print/attribute/standard/PresentationDirection.java,
6548 javax/print/attribute/standard/PrintQuality.java,
6549 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6550 javax/print/attribute/standard/PrinterMoreInfo.java,
6551 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6552 javax/print/attribute/standard/PrinterResolution.java,
6553 javax/print/attribute/standard/PrinterState.java,
6554 javax/print/attribute/standard/PrinterStateReason.java,
6555 javax/print/attribute/standard/PrinterStateReasons.java,
6556 javax/print/attribute/standard/PrinterURI.java,
6557 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6558 javax/print/attribute/standard/Severity.java,
6559 javax/print/attribute/standard/SheetCollate.java,
6560 javax/print/attribute/standard/Sides.java: New files.
6562 2004-05-15 Michael Koch <konqueror@gmx.de>
6564 * javax/print/Doc.java
6565 (getPrintData): Throws IOException.
6566 (getReaderForText): Likewise.
6567 (getStreamForBytes): Likewise.
6568 * javax/print/DocFlavor.java:
6569 Fixed filename in copyright.
6570 (serialVersionUID): New field.
6571 * javax/print/ServiceUIFactory.java:
6572 Made all constants final.
6573 * javax/print/AttributeException.java
6574 javax/print/MultiDoc.java
6575 javax/print/MultiDocPrintJob.java
6576 javax/print/MultiDocPrintService.java
6577 javax/print/StreamPrintService.java
6578 javax/print/URIException.java: New files.
6579 * javax/print/Makefile.am
6580 (EXTRA_DIST): Added all new files.
6582 2004-05-15 Michael Koch <konqueror@gmx.de>
6584 * javax/print/attribute/standard/Copies.java,
6585 javax/print/attribute/standard/DateTimeAtCompleted.java,
6586 javax/print/attribute/standard/DateTimeAtCreation.java,
6587 javax/print/attribute/standard/DateTimeAtProcessing.java,
6588 javax/print/attribute/standard/DocumentName.java,
6589 javax/print/attribute/standard/JobHoldUntil.java,
6590 javax/print/attribute/standard/JobImpressions.java,
6591 javax/print/attribute/standard/JobImpressionsCompleted.java,
6592 javax/print/attribute/standard/JobKOctets.java,
6593 javax/print/attribute/standard/JobKOctetsProcessed.java,
6594 javax/print/attribute/standard/JobMediaSheets.java,
6595 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6596 javax/print/attribute/standard/JobMessageFromOperator.java,
6597 javax/print/attribute/standard/JobName.java,
6598 javax/print/attribute/standard/JobOriginatingUserName.java,
6599 javax/print/attribute/standard/JobPriority.java,
6600 javax/print/attribute/standard/JobPrioritySupported.java,
6601 javax/print/attribute/standard/NumberOfDocuments.java,
6602 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6603 javax/print/attribute/standard/NumberUp.java,
6604 javax/print/attribute/standard/OutputDeviceAssigned.java,
6605 javax/print/attribute/standard/PagesPerMinute.java,
6606 javax/print/attribute/standard/PagesPerMinuteColor.java:
6607 Fixed @return tag all over.
6609 2004-05-15 Michael Koch <konqueror@gmx.de>
6611 * javax/print/attribute/AttributeSetUtilities.java
6612 (verifyCategoryForValue): Fixed typo in javadoc.
6613 * javax/print/attribute/HashAttributeSet.java
6614 (containsKey): Fixed @return tag.
6615 (comtainsValue): Likewise.
6617 * javax/print/attribute/IntegerSyntax.java
6619 * javax/print/attribute/ResolutionSyntax.java
6621 (getCrossFeedResolution): Removed unused code.
6622 (getFeedResolution): Likewise.
6623 * javax/print/attribute/SetOfIntegerSyntax.java
6624 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6625 (equals): Fixed @return tag.
6626 * javax/print/attribute/TextSyntax.java
6627 (TextSyntax): Take locale into account.
6628 (hashCode): Better implementation.
6630 2004-05-15 Michael Koch <konqueror@gmx.de>
6632 * javax/print/CancelablePrintJob.java,
6633 javax/print/Doc.java,
6634 javax/print/DocFlavor.java,
6635 javax/print/DocPrintJob.java,
6636 javax/print/FlavorException.java,
6637 javax/print/PrintException.java,
6638 javax/print/PrintService.java,
6639 javax/print/ServiceUIFactory.java: New files.
6641 2004-05-15 Mark Wielaard <mark@klomp.org>
6643 * gnu/regexp/CharIndexedReader.java: Removed.
6644 * gnu/regexp/REFilterReader.java: Likewise.
6645 * gnu/regexp/RETokenLookAhead.java: Likewise.
6646 * Makefile.am (ordinary_java_source_files): Remove above classes.
6647 * Makefile.in: Regenerated.
6649 2004-05-14 Tom Tromey <tromey@redhat.com>
6651 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6652 not `XGraphicsConfiguration.XOffScreenImage'.
6654 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6656 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6658 2004-05-14 Steven Augart <augart@watson.ibm.com>
6660 * include/jni.h (_Jv_func): Removed.
6661 (struct JNINativeInterface): Use `void *' for reserved slots.
6662 (struct JNIInvokeInterface): Likewise.
6664 2004-05-11 Michael Koch <konqueror@gmx.de>
6666 * gnu/java/net/natPlainSocketImplPosix.cc
6667 (read): Fixed typo in expression.
6669 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6671 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6672 ld_library_additions. Adjust all calls to libjava_invoke to match
6675 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6676 path to cxxflagslist.
6677 Pass path of libstdc++ to libjava_invoke.
6679 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6680 libjava_invoke arguments.
6682 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6684 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6687 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6689 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6690 main binary against the JNI shared library.
6692 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6694 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6695 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6696 (SimpleTimeZone): Tweak docs. Add new variation.
6697 (setStartRule,setEndRule): Add new variations. Use
6698 startTimeMode and endTimeMode.
6700 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6702 * java/util/Calendar.java (getActualMinimum,
6703 getActualMaximum): Remove abstract. Implement.
6705 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6707 Run the jni tests using the interpreter.
6708 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6709 options_cxx to shared lib compile command.
6710 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6711 they are used to link the shared lib, not the main binary.
6712 Use libjava_invoke to run gij.
6714 2004-05-06 Michael Koch <konqueror@gmx.de>
6716 * java/util/logging/Level.java
6717 (parse): Use == instead of String.equals().
6719 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6721 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6722 verify_field_signature and verify_method_signature, not
6723 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6724 (_Jv_ClassReader::handleField): Likewise.
6725 (_Jv_ClassReader::handleMethod): Likewise.
6727 2004-05-06 Michael Koch <konqueror@gmx.de>
6729 * javax/swing/table/TableColumn.java:
6732 2004-05-06 Michael Koch <konqueror@gmx.de>
6734 * javax/imageio/spi/ImageReaderWriterSpi.java
6735 (ImageReaderWriterSpi): Made it public.
6736 * javax/imageio/stream/ImageInputStream.java:
6739 2004-05-06 Michael Koch <konqueror@gmx.de>
6741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6744 2004-05-06 Michael Koch <konqueror@gmx.de>
6746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6750 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6752 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6753 their own source file.
6754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6755 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6756 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6758 (create): Define variable on top of function.
6759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6760 (menu_pos): Prototyped.
6761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6762 (setTitle): Removed.
6763 * jni/gtk-peer/gthread-jni.c
6764 (gdk_threads_wake): Removed.
6765 * Makefile.am (gtk_c_source_files): Added new files
6766 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6767 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6768 * Makefile.in: Regenerated.
6770 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6772 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6775 2004-05-05 Mark Wielaard <mark@klomp.org>
6777 * javax/swing/AbstractButton.java: Replace special HTML entities with
6779 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6780 * javax/swing/DefaultButtonModel.java: Likewise.
6781 * javax/swing/DefaultListModel.java: Likewise.
6782 * javax/swing/JList.java: Likewise.
6783 * javax/swing/JSlider.java: Likewise.
6784 * javax/swing/ListModel.java: Likewise.
6785 * javax/swing/Popup.java: Likewise.
6786 * javax/swing/SwingUtilities.java: Likewise.
6788 2004-05-05 Michael Koch <konqueror@gmx.de>
6790 * javax/swing/AbstractButton.java,
6791 javax/swing/ActionMap.java,
6792 javax/swing/DefaultButtonModel.java,
6793 javax/swing/DefaultListModel.java,
6794 javax/swing/ImageIcon.java,
6795 javax/swing/JComboBox.java,
6796 javax/swing/JComponent.java,
6797 javax/swing/JFrame.java,
6798 javax/swing/JInternalFrame.java,
6799 javax/swing/JMenuBar.java,
6800 javax/swing/JMenuItem.java,
6801 javax/swing/JOptionPane.java,
6802 javax/swing/JProgressBar.java,
6803 javax/swing/JRootPane.java,
6804 javax/swing/JScrollBar.java,
6805 javax/swing/JScrollPane.java,
6806 javax/swing/JSeparator.java,
6807 javax/swing/JSlider.java,
6808 javax/swing/JTabbedPane.java,
6809 javax/swing/JTable.java,
6810 javax/swing/JTextField.java,
6811 javax/swing/JToolBar.java,
6812 javax/swing/JToolTip.java,
6813 javax/swing/JTree.java,
6814 javax/swing/JViewport.java,
6815 javax/swing/JWindow.java,
6816 javax/swing/KeyStroke.java,
6817 javax/swing/LookAndFeel.java,
6818 javax/swing/SwingUtilities.java,
6819 javax/swing/Timer.java,
6820 javax/swing/ToolTipManager.java,
6821 javax/swing/UIDefaults.java,
6822 javax/swing/border/TitledBorder.java,
6823 javax/swing/filechooser/FileSystemView.java,
6824 javax/swing/plaf/basic/BasicButtonListener.java,
6825 javax/swing/plaf/basic/BasicButtonUI.java,
6826 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6827 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6828 javax/swing/plaf/basic/BasicLabelUI.java,
6829 javax/swing/plaf/basic/BasicMenuItemUI.java,
6830 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6831 javax/swing/plaf/basic/BasicRootPaneUI.java,
6832 javax/swing/plaf/basic/BasicScrollBarUI.java,
6833 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6834 javax/swing/plaf/basic/BasicSliderUI.java,
6835 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6836 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6837 javax/swing/table/JTableHeader.java,
6838 javax/swing/text/AbstractDocument.java,
6839 javax/swing/text/DefaultCaret.java,
6840 javax/swing/text/StyledEditorKit.java,
6841 javax/swing/tree/DefaultTreeCellEditor.java:
6844 2004-05-05 Michael Koch <konqueror@gmx.de>
6846 * java/util/prefs/AbstractPreferences.java
6847 (AbstractPreferences): Added parenthesis for clarity.
6848 Closes classpath bug #7940.
6850 2004-05-05 Tom Tromey <tromey@redhat.com>
6852 * javax/naming/CompoundName.java (endsWith): Look at correct
6853 element of source name.
6855 2004-05-05 Mark Wielaard <mark@klomp.org>
6857 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6858 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6860 2004-05-05 Tom Tromey <tromey@redhat.com>
6862 * java/io/BufferedReader.java (skip): Removed unused
6865 2004-05-05 Michael Koch <konqueror@gmx.de>
6867 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6869 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6871 * java/text/AttributedString.java,
6872 java/text/AttributedStringIterator.java,
6873 java/text/Collator.java,
6874 java/text/DecimalFormatSymbols.java,
6875 java/text/NumberFormat.java,
6876 java/text/RuleBasedCollator.java:
6879 2004-05-05 Tom Tromey <tromey@redhat.com>
6881 * java/text/Format.java: Cleaned up imports.
6882 * java/text/DecimalFormat.java: Cleaned up imports.
6883 * java/security/SecureRandom.java: Cleaned up imports.
6884 (SecureRandom): Removed unused variable.
6885 * java/security/UnresolvedPermission.java: Cleaned up imports.
6886 * java/util/Date.java (parse): Removed unused variable.
6887 * java/util/ResourceBundle.java: Cleaned up imports.
6888 (getBundle): Removed unused variable.
6889 (tryBundle): Likewise.
6890 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6892 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6894 * java/text/SimpleDateFormat.java:
6895 (formatWithAttribute): New method. It implements
6896 the formatting process with attributes.
6897 (format): Use formatWithAttribute.
6898 (formatToCharacterIterator): New method. Use
6899 formatWithAttribute.
6901 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6903 * java/text/MessageFormat.java:
6904 (class Field): New class.
6905 (formatToCharacterIterator): New method.
6906 (format): Use formatInternal now.
6907 (formatInternal): New method. String formatter should
6908 be done here (with attributes). Attributes merging supported.
6909 (parse): More documentation.
6910 (getFormatsByArgumentIndex): New method.
6911 (setFormatByArgumentIndex): New method.
6912 (setFormatsByArgumentIndex): New method.
6914 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6916 * java/text/DecimalFormat.java
6917 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6918 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6919 (parse): Fixed handling of exponentiation notation and grouping.
6921 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6923 * java/text/DecimalFormat.java
6924 (scanFix): Build attribute array. Fixed error reporting.
6925 (applyPatternWithSymbols): Store attributes for the prefix and
6927 (formatInternal): New method. Changed the way the string is
6928 computed. Implemented attributes. Cleant up rounding in
6929 exponential notation.
6930 (format): Use formatInternal.
6931 (formatToCharacterIterator): New method.
6932 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6933 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6934 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6937 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6939 * java/security/interfaces/DSAKeyPairGenerator.java,
6940 java/security/interfaces/DSAPrivateKey.java,
6941 java/security/interfaces/DSAPublicKey.java,
6942 java/security/interfaces/RSAPrivateKey.java,
6943 java/security/interfaces/RSAPublicKey.java:
6946 2004-05-04 Michael Koch <konqueror@gmx.de>
6948 * java/nio/ByteBuffer.java,
6949 java/nio/CharBuffer.java,
6950 java/nio/DoubleBuffer.java,
6951 java/nio/FloatBuffer.java,
6952 java/nio/IntBuffer.java,
6953 java/nio/LongBuffer.java,
6954 java/nio/ShortBuffer.java:
6955 (compareTo): Fixed bogus implementation in all buffer classes.
6957 2004-05-04 Ingo Proetel <proetel@aicas.com>
6959 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6960 32 bit pixels not 8 bit pixels.
6961 (isCompatibleRaster): Added javadoc comment.
6963 2004-05-04 Ingo Proetel <proetel@aicas.com>
6965 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6968 2004-05-04 Ingo Proetel <proetel@aicas.com>
6970 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6971 (getColorModel): Return the actual color model.
6972 (getRaster): Implemented.
6973 (ColorRaster): New inner class.
6974 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6976 * java/awt/Color.java (<init>): Make exception more verbose.
6977 (createContext): Use ColorModel when creating a PaintContext.
6979 2004-05-04 Michael Koch <konqueror@gmx.de>
6981 * gnu/java/text/CharacterBreakIterator.java
6982 (previous): Removed unused variable.
6984 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6986 * gnu/java/text/FormatBuffer.java,
6987 gnu/java/text/AttributedFormatBuffer.java,
6988 gnu/java/text/StringFormatBuffer.java: New classes to implement
6989 attributed iterators in java.text.
6990 * gnu/java/text/FormatCharacterIterator.java: Moved
6991 from java/text as it is an internal class.
6992 * java/text/FormatCharacterIterator.java: Removed.
6993 * java/text/Format.java:
6994 Import gnu.java.text.FormatCharacterIterator.
6995 * Makefile.am (java_source_files): Added new files.
6996 * Makefile.in: Regenerated.
6999 2004-05-04 Mark Wielaard <mark@klomp.org>
7001 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7003 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7005 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7006 * Makefile.in: Rebuilt.
7008 2004-05-03 Mark Wielaard <mark@klomp.org>
7010 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7011 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7013 (set(String, String, int, String, String, String, String, String)):
7014 Assign this.file to path or path + "?" + query.
7015 * java/util/Arrays.java: Call static methods staticly.
7016 * java/util/zip/ZipEntry.java: Likewise.
7017 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7018 dir to this.direction.
7019 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7020 Assign static field only once.
7021 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7023 2004-05-03 Mark Wielaard <mark@klomp.org>
7025 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7026 unused variables hScrollbarHeight and vScrollbarWidth.
7027 (preferredSize): Likewise.
7028 * gnu/java/security/provider/DSAParameters.java (engineToString):
7029 Removed unused call to System.getProperty("line.seperator");
7030 * java/security/Security.java (loadProviders): Return result.
7032 2004-05-03 Tom Tromey <tromey@redhat.com>
7034 * java/net/URLStreamHandler.java (toExternalForm): Removed
7037 * java/math/BigDecimal.java (divide): Removed unused variable.
7038 * java/lang/Throwable.java: Cleaned up imports.
7039 * java/lang/ClassLoader.java: Cleaned up imports.
7040 * java/io/FilePermission.java (implies): Removed unused
7042 * java/awt/TextComponent.java: Removed unused import.
7043 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7044 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7045 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7046 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7048 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7049 * gnu/java/text/CharacterBreakIterator.java: Removed
7051 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7053 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7054 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7056 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7057 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7058 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7059 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7060 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7061 (lookupProviders): Removed unused variable.
7062 (loadNextServiceProvider): Likewise.
7063 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7065 2004-05-03 Michael Koch <konqueror@gmx.de>
7067 Fixes PR libgcj/14695:
7068 * java/net/NetworkInterface.java
7069 (getByName): Return null when no interface was found.
7071 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7072 Tom Tromey <tromey@redhat.com>
7074 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7075 additional option "-Wmissing-prototypes" for compiling C sources.
7076 Print actual filename for pass/fail rather than $name.c.
7077 * testsuite/libjava.jni/PR15133.java: New testcase file.
7078 * testsuite/libjava.jni/PR15133.c: Likewise.
7079 * testsuite/libjava.jni/PR15133.out: Likewise.
7081 2004-04-30 Roger Sayle <roger@eyesopen.com>
7083 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7086 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7088 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7089 limit the maximum heap size to avoid unnecessary thrashing.
7091 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7093 * java/text/CollationElementIterator.java (reset): Reset
7094 lookahead variables.
7096 2004-04-23 Mark Wielaard <mark@klomp.org>
7098 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7100 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7102 * java/sql/DriverManager.java:
7105 2004-04-23 Michael Koch <konqueror@gmx.de>
7108 (hashcode): Don't initialize with default value explicitely.
7109 (getContent): Removed redundant "final" keyword.
7110 (openStream): Likewise.
7111 (getURLStreamHandler): Fixed coding style.
7112 * java/net/URLConnection.java
7113 (defaultAllowUserInteraction): Don't initialize with default value
7115 (connected): Likewise.
7116 (doOutput): Likewise.
7117 (ifModifiedSince): Likewise.
7118 (dateformats_initialized): Likewise.
7119 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7121 2004-04-23 Michael Koch <konqueror@gmx.de>
7123 * gnu/java/nio/channels/FileChannelImpl.java
7124 (SET, CUR): Unused, removed.
7125 (read): Implement here directly.
7126 (implRead): Removed.
7127 (write): Implement here directly.
7128 (implWrite): Removed.
7130 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7132 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7133 javax/rmi/CORBA/Stub.java,
7134 javax/rmi/CORBA/Util.java,
7135 javax/rmi/CORBA/ValueHandler.java,
7136 javax/rmi/CORBA/ValueHandler.java,
7137 javax/rmi/PortableRemoteObject.java:
7140 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7142 * java/util/jar/JarFile.java,
7143 java/util/jar/JarInputStream.java,
7144 java/util/jar/JarOutputStream.java,
7145 java/util/jar/Manifest.java:
7148 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7150 * java/util/ArrayList.java,
7151 java/util/Calendar.java,
7152 java/util/Currency.java,
7153 java/util/HashMap.java,
7154 java/util/HashSet.java,
7155 java/util/Hashtable.java,
7156 java/util/LinkedList.java,
7157 java/util/Properties.java,
7158 java/util/PropertyPermission.java,
7159 java/util/TimeZone.java,
7160 java/util/TreeMap.java,
7161 java/util/TreeSet.java,
7162 java/util/Vector.java,
7163 java/util/WeakHashMap.java:
7166 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7168 * java/util/logging/FileHandler.java,
7169 java/util/logging/Formatter.java,
7170 java/util/logging/Handler.java,
7171 java/util/logging/Logger.java,
7172 java/util/logging/SimpleFormatter.java,
7173 java/util/logging/XMLFormatter.java:
7176 2004-04-22 Mark Wielaard <mark@klomp.org>
7178 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7179 -Wno-long-long flags variable.
7180 (gtk_c_files): Use PEDANTIC_CFLAGS.
7181 * Makefile.in: Regenerated.
7183 2004-04-22 Mark Wielaard <mark@klomp.org>
7185 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7186 Changed C++ comments into C comments.
7187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7190 2004-04-22 Michael Koch <konqueror@gmx.de>
7192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7193 Merged copyright year with GNU classpath.
7195 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7197 * javax/security/auth/x500/X500Principal.java:
7200 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7202 * javax/swing/JSlider.java:
7203 Fixed HTML tags in comments.
7205 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7207 * javax/accessibility/AccessibleText.java:
7210 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7212 * java/net/URLStreamHandler.java
7213 (parseURL): Convert the file path to using '/' instead of native
7216 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7219 (userInfo): New field.
7220 (URL): Set authority to the right value.
7221 (setURL): Fixed authority and file initialization.
7222 * java/net/URLStreamHandler.java
7223 (parseURL): Take care of the query tag. Build authority.
7224 (toExternalForm): Fixed URL building using authority.
7226 2004-04-22 Michael Koch <konqueror@gmx.de>
7228 * java/net/Socket.java
7229 (impl): Made package-private.
7230 * java/net/ServerSocket.java
7231 (implAccept): Access Socket.impl field directly.
7233 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7235 * java/util/prefs/Preferences.java,
7236 java/util/prefs/InvalidPreferencesFormatException.java,
7237 java/util/prefs/BackingStoreException.java,
7238 java/util/prefs/AbstractPreferences.java:
7241 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7243 * java/util/regex/Matcher.java,
7244 java/util/regex/Pattern.java:
7247 2004-04-22 Michael Koch <konqueror@gmx.de>
7249 * java/nio/charset/IllegalCharsetNameException.java
7250 (charsetName): Made private.
7251 (IllegalCharsetNameException): Added @param tag to javadoc.
7252 (getCharsetName): Added @return tag to javadoc.
7253 * java/nio/charset/MalformedInputException.java
7254 (MalformedInputException): Added @param tag to javadoc.
7255 (getInputLength): Revised method description, added @return tag.
7256 (getMessage): Added @return tag.
7258 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7260 * java/awt/Font.java (deriveFont): Implement missing variants.
7261 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7264 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7266 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7267 Set method->index values for interface methods to their itable index.
7268 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7270 2004-04-21 Michael Koch <konqueror@gmx.de>
7272 * java/nio/DirectByteBufferImpl.java
7273 (shiftDown): Made static, give address as argument and
7274 provide a convenience method that overwrites shiftDown in
7275 ByteBufferImpl and calls the native shiftDown.
7276 * java/nio/MappedByteBufferImpl.java
7277 (): Use optimized method in DirectByteBufferImpl.
7278 * java/nio/natDirectByteBufferImpl.cc
7279 (shiftDown): Changed method signature. Removed usage of array_offset.
7281 2004-04-21 Michael Koch <konqueror@gmx.de>
7283 * gnu/java/net/natPlainSocketImplPosix.cc
7284 (SocketInputStream::read): Make sure returned data is a byte value.
7286 2004-04-21 Michael Koch <konqueror@gmx.de>
7288 * gnu/classpath/ServiceFactory.java,
7289 gnu/classpath/ServiceProviderLoadingAction.java,
7290 javax/imageio/ImageReader.java,
7291 javax/imageio/ImageTranscoder.java,
7292 javax/imageio/ImageWriter.java,
7293 javax/imageio/package.html,
7294 javax/imageio/spi/IIOServiceProvider.java,
7295 javax/imageio/spi/ImageInputStreamSpi.java,
7296 javax/imageio/spi/ImageOutputStreamSpi.java,
7297 javax/imageio/spi/ImageReaderWriterSpi.java,
7298 javax/imageio/spi/ImageTranscoderSpi.java,
7299 javax/imageio/spi/RegisterableService.java,
7300 javax/imageio/spi/ServiceRegistry.java,
7301 javax/imageio/spi/package.html,
7302 javax/imageio/stream/IIOByteBuffer.java,
7303 javax/imageio/stream/ImageInputStream.java,
7304 javax/imageio/stream/ImageOutputStream.java,
7305 javax/imageio/stream/package.html:
7308 (ordinary_java_source_files): Added
7309 gnu/classpath/ServiceFactory.java and
7310 gnu/classpath/ServiceProviderLoadingAction.java.
7311 (javax_source_files): Added
7312 javax/imageio/ImageReader.java,
7313 javax/imageio/ImageTranscoder.java,
7314 javax/imageio/ImageWriter.java,
7315 javax/imageio/spi/IIOServiceProvider.java,
7316 javax/imageio/spi/ImageInputStreamSpi.java,
7317 javax/imageio/spi/ImageOutputStreamSpi.java,
7318 javax/imageio/spi/ImageReaderWriterSpi.java,
7319 javax/imageio/spi/ImageTranscoderSpi.java,
7320 javax/imageio/spi/RegisterableService.java,
7321 javax/imageio/spi/ServiceRegistry.java,
7322 javax/imageio/stream/IIOByteBuffer.java,
7323 javax/imageio/stream/ImageInputStream.java and
7324 javax/imageio/stream/ImageOutputStream.java.
7325 * Makefile.in: Regenerated.
7327 2004-04-21 Michael Koch <konqueror@gmx.de>
7329 * java/util/Properties.java
7330 (load): Fix wrongly merged fix.
7332 2004-04-21 Mark Wielaard <mark@klomp.org>
7334 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7335 malloc and free buf.
7337 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7339 * javax/naming/AuthenticationException.java,
7340 javax/naming/AuthenticationNotSupportedException.java,
7341 javax/naming/CannotProceedException.java,
7342 javax/naming/CommunicationException.java,
7343 javax/naming/CompoundName.java,
7344 javax/naming/ConfigurationException.java,
7345 javax/naming/ContextNotEmptyException.java,
7346 javax/naming/InitialContext.java,
7347 javax/naming/InsufficientResourcesException.java,
7348 javax/naming/InterruptedNamingException.java,
7349 javax/naming/LimitExceededException.java,
7350 javax/naming/LinkException.java,
7351 javax/naming/LinkLoopException.java,
7352 javax/naming/LinkRef.java,
7353 javax/naming/MalformedLinkException.java,
7354 javax/naming/Name.java,
7355 javax/naming/NameAlreadyBoundException.java,
7356 javax/naming/NameNotFoundException.java,
7357 javax/naming/NamingSecurityException.java,
7358 javax/naming/NoInitialContextException.java,
7359 javax/naming/NoPermissionException.java,
7360 javax/naming/NotContextException.java,
7361 javax/naming/PartialResultException.java,
7362 javax/naming/ReferralException.java,
7363 javax/naming/ServiceUnavailableException.java,
7364 javax/naming/SizeLimitExceededException.java,
7365 javax/naming/TimeLimitExceededException.java,
7366 javax/naming/directory/Attribute.java,
7367 javax/naming/directory/Attributes.java,
7368 javax/naming/directory/SearchResult.java,
7369 javax/naming/event/NamingExceptionEvent.java,
7370 javax/naming/spi/ResolveResult.java:
7373 2004-04-21 Mark Wielaard <mark@klomp.org>
7375 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7376 Changed C++ comments into C comments. Removed commented out code.
7377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7379 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7381 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7383 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7385 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7387 * native/jni/gtk-peer/gthread-jni.c:
7390 2004-04-21 Mark Wielaard <mark@klomp.org>
7392 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7393 static fields defined in interface.
7394 * javax/awt/JDialog.java: Likewise.
7395 (JDialog): Make constructors public.
7396 (getDefaultCloseOperation): Make public.
7397 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7398 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7399 * javax/swing/JViewport.java (JViewport): Make constructor public.
7401 2004-04-21 Michael Koch <konqueror@gmx.de>
7403 * java/util/Map.java
7404 (Entry): Removed redundant "static" modifier.
7405 * java/text/AttributedCharacterIterator.java:
7406 Updated copyright year.
7408 2004-04-20 Michael Koch <konqueror@gmx.de>
7410 * javax/naming/directory/SearchControls.java:
7411 Don't explicitely extend java.lang.Object.
7412 * javax/naming/spi/DirStateFactory.java:
7413 Merged copyright year with GNU classpath.
7415 2004-04-20 Michael Koch <konqueror@gmx.de>
7417 * java/nio/channels/Channels.java:
7418 Merged coding style with GNU classpath.
7420 2004-04-20 Michael Koch <konqueror@gmx.de>
7422 * java/net/ServerSocket.java
7423 Merged coding style from GNU classpath.
7425 2004-04-20 Michael Koch <konqueror@gmx.de>
7427 * java/io/BufferedWriter.java:
7428 Reordered variables to be at top of the class.
7429 (localFlush): Removed redundant final keyword.
7431 2004-04-20 Ingo Proetel <proetel@aicas.com>
7433 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7435 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7437 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7438 for percent and permill check.
7440 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7442 * java/text/FieldPosition.java
7443 (FieldPosition) Constructor now behaves as it should according
7444 to the java documentation.
7446 2004-04-20 Mark Wielaard <mark@klomp.org>
7448 * java/util/Properties.java: Use the word umlaut, not ä in api
7451 2004-04-20 Michael Koch <konqueror@gmx.de>
7453 * java/nio/Buffer.java,
7454 java/nio/channels/AlreadyConnectedException.java,
7455 java/nio/channels/AsynchronousCloseException.java,
7456 java/nio/channels/ByteChannel.java,
7457 java/nio/channels/CancelledKeyException.java,
7458 java/nio/channels/Channel.java,
7459 java/nio/channels/Channels.java,
7460 java/nio/channels/ClosedByInterruptException.java,
7461 java/nio/channels/ClosedChannelException.java,
7462 java/nio/channels/ClosedSelectorException.java,
7463 java/nio/channels/ConnectionPendingException.java,
7464 java/nio/channels/DatagramChannel.java,
7465 java/nio/channels/FileChannel.java,
7466 java/nio/channels/FileLock.java,
7467 java/nio/channels/FileLockInterruptionException.java,
7468 java/nio/channels/GatheringByteChannel.java,
7469 java/nio/channels/IllegalBlockingModeException.java,
7470 java/nio/channels/IllegalSelectorException.java,
7471 java/nio/channels/InterruptibleChannel.java,
7472 java/nio/channels/NoConnectionPendingException.java,
7473 java/nio/channels/NonReadableChannelException.java,
7474 java/nio/channels/NonWritableChannelException.java,
7475 java/nio/channels/NotYetBoundException.java,
7476 java/nio/channels/NotYetConnectedException.java,
7477 java/nio/channels/OverlappingFileLockException.java,
7478 java/nio/channels/Pipe.java,
7479 java/nio/channels/ReadableByteChannel.java,
7480 java/nio/channels/ScatteringByteChannel.java,
7481 java/nio/channels/SelectableChannel.java,
7482 java/nio/channels/SelectionKey.java,
7483 java/nio/channels/Selector.java,
7484 java/nio/channels/ServerSocketChannel.java,
7485 java/nio/channels/SocketChannel.java,
7486 java/nio/channels/UnresolvedAddressException.java,
7487 java/nio/channels/UnsupportedAddressTypeException.java,
7488 java/nio/channels/WritableByteChannel.java,
7489 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7490 java/nio/channels/spi/AbstractSelectableChannel.java,
7491 java/nio/channels/spi/AbstractSelectionKey.java,
7492 java/nio/channels/spi/AbstractSelector.java,
7493 java/nio/channels/spi/SelectorProvider.java,
7494 java/nio/charset/spi/CharsetProvider.java:
7495 Fixed javadocs and jalopied all over java.nio.
7497 2004-04-20 Michael Koch <konqueror@gmx.de>
7499 * java/nio/ByteBufferImpl.java,
7500 java/nio/CharBufferImpl.java,
7501 java/nio/DirectByteBufferImpl.java,
7502 java/nio/DoubleBufferImpl.java,
7503 java/nio/DoubleViewBufferImpl.java,
7504 java/nio/FloatBufferImpl.java,
7505 java/nio/FloatViewBufferImpl.java,
7506 java/nio/IntBufferImpl.java,
7507 java/nio/IntViewBufferImpl.java,
7508 java/nio/LongBufferImpl.java,
7509 java/nio/LongViewBufferImpl.java,
7510 java/nio/MappedByteBufferImpl.java,
7511 java/nio/ShortBufferImpl.java,
7512 java/nio/ShortViewBufferImpl.java:
7513 Made sure all classes are final and removed final keyword from all
7516 2004-04-20 Michael Koch <konqueror@gmx.de>
7518 * java/rmi/MarshalledObject.java,
7519 java/rmi/Naming.java,
7520 java/rmi/RemoteException.java,
7521 java/rmi/activation/ActivationException.java,
7522 java/rmi/server/ServerCloneException.java,
7523 java/security/AccessController.java,
7524 java/security/AlgorithmParameterGenerator.java,
7525 java/security/AlgorithmParameters.java,
7526 java/security/CodeSource.java,
7527 java/security/Identity.java,
7528 java/security/IdentityScope.java,
7529 java/security/KeyPairGenerator.java,
7530 java/security/KeyStore.java,
7531 java/security/Security.java,
7532 java/security/Signature.java,
7533 java/security/SignatureSpi.java,
7534 java/security/SignedObject.java,
7535 java/security/spec/DSAParameterSpec.java,
7536 java/security/spec/DSAPrivateKeySpec.java,
7537 java/security/spec/DSAPublicKeySpec.java,
7538 java/sql/Array.java,
7539 java/sql/DatabaseMetaData.java,
7540 java/sql/ResultSet.java,
7541 java/text/ChoiceFormat.java,
7542 java/text/CollationElementIterator.java,
7543 java/text/CollationKey.java,
7544 java/text/Collator.java,
7545 java/text/DateFormat.java,
7546 java/text/DateFormatSymbols.java,
7547 java/text/DecimalFormatSymbols.java,
7548 java/text/Format.java,
7549 java/text/ParsePosition.java,
7550 java/text/RuleBasedCollator.java,
7551 java/text/SimpleDateFormat.java,
7552 java/text/StringCharacterIterator.java,
7553 java/util/Collections.java,
7554 java/util/PropertyResourceBundle.java,
7555 java/util/ResourceBundle.java,
7556 java/util/StringTokenizer.java,
7557 java/util/jar/Attributes.java,
7558 java/util/logging/ConsoleHandler.java,
7559 java/util/logging/LogManager.java,
7560 java/util/logging/MemoryHandler.java,
7561 java/util/logging/SocketHandler.java,
7562 javax/naming/NamingException.java:
7563 Fixed javadoc, coding style and argument names all over.
7565 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7567 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7568 constructor. (valid) Added null check.
7570 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7572 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7573 * java/io/FileOutputStream.java
7574 (FileOutputStream) Reorganized constructors. Constructors now
7575 check whether the given path is directory.
7577 2004-04-20 Michael Koch <konqueror@gmx.de>
7579 * java/net/Authenticator.java,
7580 java/net/BindException.java,
7581 java/net/ConnectException.java,
7582 java/net/ContentHandler.java,
7583 java/net/ContentHandlerFactory.java,
7584 java/net/DatagramPacket.java,
7585 java/net/DatagramSocket.java,
7586 java/net/DatagramSocketImpl.java,
7587 java/net/DatagramSocketImplFactory.java,
7588 java/net/FileNameMap.java,
7589 java/net/HttpURLConnection.java,
7590 java/net/Inet4Address.java,
7591 java/net/Inet6Address.java,
7592 java/net/InetAddress.java,
7593 java/net/InetSocketAddress.java,
7594 java/net/JarURLConnection.java,
7595 java/net/MalformedURLException.java,
7596 java/net/MulticastSocket.java,
7597 java/net/NetPermission.java,
7598 java/net/NetworkInterface.java,
7599 java/net/NoRouteToHostException.java,
7600 java/net/PasswordAuthentication.java,
7601 java/net/PortUnreachableException.java,
7602 java/net/ProtocolException.java,
7603 java/net/ServerSocket.java,
7604 java/net/Socket.java,
7605 java/net/SocketAddress.java,
7606 java/net/SocketException.java,
7607 java/net/SocketImpl.java,
7608 java/net/SocketImplFactory.java,
7609 java/net/SocketOptions.java,
7610 java/net/SocketPermission.java,
7611 java/net/SocketTimeoutException.java,
7613 java/net/URISyntaxException.java,
7615 java/net/URLClassLoader.java,
7616 java/net/URLConnection.java,
7617 java/net/URLDecoder.java,
7618 java/net/URLEncoder.java,
7619 java/net/URLStreamHandler.java,
7620 java/net/URLStreamHandlerFactory.java,
7621 java/net/UnknownHostException.java,
7622 java/net/UnknownServiceException.java:
7623 Fixed javadocs, coding style and argument names all over.
7625 2004-04-20 Michael Koch <konqueror@gmx.de>
7627 * java/lang/Byte.java,
7628 java/lang/CharSequence.java,
7629 java/lang/ClassLoader.java,
7630 java/lang/Compiler.java,
7631 java/lang/Double.java,
7632 java/lang/Float.java,
7633 java/lang/Integer.java,
7634 java/lang/Long.java,
7635 java/lang/Math.java,
7636 java/lang/Number.java,
7637 java/lang/Package.java,
7638 java/lang/Runtime.java,
7639 java/lang/RuntimePermission.java,
7640 java/lang/SecurityManager.java,
7641 java/lang/Short.java,
7642 java/lang/StringBuffer.java,
7643 java/lang/System.java,
7644 java/lang/ThreadGroup.java,
7645 java/lang/Throwable.java,
7646 java/lang/reflect/InvocationHandler.java,
7647 java/lang/reflect/Proxy.java:
7648 Fixed javadocs, coding style and argument names all over.
7650 2004-04-20 Michael Koch <konqueror@gmx.de>
7652 * java/io/BufferedWriter.java,
7653 java/io/ByteArrayInputStream.java,
7654 java/io/CharArrayWriter.java,
7655 java/io/DataInput.java,
7656 java/io/DataInputStream.java,
7658 java/io/FilterInputStream.java,
7659 java/io/InputStream.java,
7660 java/io/InputStreamReader.java,
7661 java/io/ObjectInputStream.java,
7662 java/io/ObjectStreamClass.java,
7663 java/io/PipedInputStream.java,
7664 java/io/PipedReader.java,
7665 java/io/PushbackInputStream.java,
7666 java/io/PushbackReader.java,
7667 java/io/RandomAccessFile.java,
7668 java/io/SerializablePermission.java,
7669 java/io/StreamTokenizer.java,
7670 java/io/StringWriter.java,
7671 java/io/WriteAbortedException.java,
7672 java/io/Writer.java:
7673 Fixed javadocs all over, rename arguments to match javadocs,
7676 2004-04-20 Ingo Proetel <proetel@aicas.com>
7678 * java/awt/FontMetrics.java:
7679 (charsWidth): fixed accumulation of total_width
7680 (getWidth): simple default implementation
7681 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7682 in Rectangle constructor.
7683 * java/awt/image/Raster.java (toString): Added method.
7684 * java/awt/image/SampleModel.java (<init>): Added error cause
7685 information to thrown exception.
7686 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7688 (setDataElements): New method.
7689 (setPixels): New method.
7690 (toString): New method.
7692 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7694 * java/awt/image/ComponentColorModel.java
7695 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7696 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7697 Mauve tests on this method. Improved documentation.
7699 2004-04-20 Michael Koch <konqueror@gmx.de>
7701 * javax/swing/JLayeredPane.java,
7702 javax/swing/plaf/BorderUIResource.java,
7703 javax/swing/plaf/ComponentUI.java,
7704 javax/swing/undo/CompoundEdit.java,
7705 javax/swing/undo/StateEdit.java:
7706 Fixed HTML tags in javadocs all over.
7708 2004-04-20 Michael Koch <konqueror@gmx.de>
7710 * javax/print/attribute/EnumSyntax.java
7711 (getOffset): Made protected.
7712 * javax/print/attribute/HashAttributeSet.java
7713 (HashAttributeSet): Likewise.
7714 * javax/print/attribute/ResolutionSyntax.java
7715 (getFeedResolution): Fixed typo in exception name.
7716 (getCrossFeedResolution): Likewise.
7717 * javax/print/attribute/SetOfIntegerSyntax.java
7718 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7719 * javax/print/attribute/TextSyntax.java
7720 (TextSyntax): Handle locale correctly.
7721 (hashCode): Calc better hashcode value.
7722 (equals): Fixed @return tag.
7723 (toString): New method.
7725 2004-04-20 Michael Koch <konqueror@gmx.de>
7727 * gnu/java/nio/FileLockImpl.java
7728 (static): Removed, not needed anymore.
7729 * gnu/java/nio/channels/FileChannelImpl.java
7730 (FileChannelImpl): Made final.
7731 (mode): Made private.
7732 (READ, WRITE, APPEND): Made public.
7733 (EXCL, SYNC, DSYNC): Likewise.
7734 (static): Load native JNI library, when needed.
7735 (length): Unused, removed.
7736 (available): Made public.
7737 (implPosition): Throws IOException.
7739 (implTruncate): Likewise.
7743 2004-04-20 Michael Koch <konqueror@gmx.de>
7745 * java/awt/AWTPermission.java,
7746 java/awt/Component.java,
7747 java/awt/ComponentOrientation.java,,
7748 java/awt/Dialog.java,
7749 java/awt/FontMetrics.java,
7750 java/awt/Graphics.java,
7751 java/awt/datatransfer/DataFlavor.java,
7752 java/beans/Introspector.java,
7753 java/beans/PropertyEditor.java,
7754 java/beans/PropertyEditorManager.java,
7755 java/beans/beancontext/BeanContextServiceProvider.java:
7756 Fixed HTML tags in javadocs all over.
7758 2004-04-20 Mark Wielaard <mark@klomp.org>
7760 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7761 MissingResourceException is thrown.
7762 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7763 null when a MissingResourceException is thrown. Should never happen.
7765 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7767 * java/awt/image/DataBufferShort.java,
7768 java/awt/image/DataBufferFloat.java,
7769 java/awt/image/DataBufferDouble.java,
7770 java/awt/image/PixelInterleavedSampleModel.java: New files.
7771 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7772 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7774 2004-04-20 Michael Koch <konqueror@gmx.de>
7776 * Makefile.am (java_source_files): Added
7777 java/awt/image/DataBufferDouble.java,
7778 java/awt/image/DataBufferFloat.java,
7779 java/awt/image/DataBufferShort.java and
7780 java/awt/image/PixelInterleavedSampleModel.java.
7781 * Makefile.in: Regenerated.
7783 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7785 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7786 undocumented CNI calls.
7787 * include/java-interp.h (_Jv_InterpClass): No longer
7788 extends java.lang.Class.
7789 * java/lang/Class.h (Class): Add new field `aux_info'.
7790 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7791 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7792 Use Class->aux_info instead.
7793 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7794 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7795 Use Class->aux_info instead.
7796 * java/io/natObjectInputStream.cc (allocateObject): Use
7798 * java/lang/natClass.cc (newInstance): Likewise.
7799 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7800 * java/lang/natObject.cc (clone): Likewise.
7801 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7802 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7803 JvAllocObject. Allocate klass->aux_info here for interpreted
7806 2004-04-17 Mark Wielaard <mark@klomp.org>
7808 * javax/swing/JToggleButton.java (ToggleButtonModel):
7809 Make public static inner class.
7810 * javax/swing/JTabbedPane.java (setComponentAt):
7811 Call Page.setComponent().
7812 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7813 (WRAP_TAB_LAYOUT): Make public, value is 0.
7814 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7815 Make private static inner class.
7817 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7819 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7820 arguments to match new signature. Remove FIXME comments.
7822 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7824 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7829 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7831 * Makefile.am: Added new file.
7832 * Makefile.in: Regenerate.
7833 * javax/swing/ImageIcon.java:
7834 (ImageIcon(file)): set description of the icon
7836 * javax/swing/JCheckBoxMenuItem.java:
7837 Mostly Implemented. Work in progress.
7838 * javax/swing/JRadioButtonMenuItem.java:
7839 Reimplement constructors to use JToggleButtonModel.
7840 * javax/swing/plaf/basic/BasicIconFactory.java:
7841 (getCheckBoxMenuItemIcon): return check box
7843 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7844 paint menu item selected only when it is armed and
7847 2004-04-02 David Jee <djee@redhat.com>
7849 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7850 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7851 * java/awt/Component.java
7852 (add): Set the parent of the popup as this component.
7853 * java/awt/PopupMenu.java
7854 (addNotify): Create popup menu when peer is null.
7855 (show): Call addNotify() if peer is null.
7856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7857 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7858 argument for gtk_menu_popup() as zero. This causes the popup menu to
7859 respond to any mouse button.
7861 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7863 * Makefile.am: Added new file.
7864 * Makefile.in: Regenerate.
7865 * javax/swing/JRadioButtonMenuItem.java:
7867 * javax/swing/plaf/basic/BasicIconFactory.java:
7868 (getRadioButtonMenuItemIcon): Return
7870 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7871 (getPreferredSize): Add size of checkIcon if it
7873 (installDefaults): Don't initialize checkIcon.
7874 It's value will be set in subclasses.
7875 (uninstallDefaults): remove uninstallation of
7877 (paint): Moved code to paintMenuItem().
7878 (paintMenuItem): Implemented.
7879 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7880 UI delegate for JRadioButtonMenuItem.
7882 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7884 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7885 Corrected position of the accelerator.
7887 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7889 * Makefile.am: Added new file.
7890 * Makefile.in: Regenerate.
7891 * javax/swing/JMenuItem.java: Partly
7892 implemented. Work in progress
7893 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7894 Changed default value of acceleratorDelimiter.
7895 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7896 New class. Partly implemented.
7898 2004-03-26 Mark Wielaard <mark@klomp.org>
7900 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7901 (item_activate): Declare label before use.
7902 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7903 (gtkSetFont): Removed unused variable label.
7904 (addExposeFilter): Declare variables before use.
7905 (removeExposeFilter): Likewise.
7906 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7907 (ok_clicked): Declare str_fileName before use.
7909 2004-03-26 David Jee <djee@redhat.com>
7911 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7912 (addSeparator): Remove.
7913 * java/awt/Menu.java
7914 (separator): Remove static final MenuItem field.
7915 (separatorLabel): New static final String field.
7916 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7917 Use separatorLabel to denote that it is a separator.
7918 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7919 of reusing the static separator instance, because a MenuItem instance
7920 can't be added more than once without being cloned.
7921 * java/awt/peer/MenuPeer.java
7922 (addSeparator): Remove from interface.
7924 2004-03-26 David Jee <djee@redhat.com>
7926 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7927 (connectSignals): New native method declaration.
7928 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7929 * java/awt/MenuItem.java
7930 (getActionCommand): Return the label if the action command is not set.
7931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7932 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7933 gtk_menu_shell_append().
7934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7935 (item_activate): Fix argument type.
7936 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7938 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7941 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7942 given. Add the menu widget's top-level GtkWindow to the global window
7943 group, so it can grab the pointer.
7944 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7945 gtk_menu_shell_append().
7947 2004-03-23 Graydon Hoare <graydon@redhat.com>
7949 * java/text/AttributedString.java
7950 (addAttribute): Fix off-by-one.
7951 (getIterator): Likewise.
7952 * java/text/AttributedStringIterator.java
7953 (getRunLimit): Correct logic.
7954 (getRunStart): Likewise.
7955 (getAttribute): Fix inequality.
7956 (getAttributes): Likewise.
7957 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7959 2004-03-23 Kim Ho <kho@redhat.com>
7961 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7962 (calculateSizes): Return real width and height.
7964 2004-03-23 Kim Ho <kho@redhat.com>
7966 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7967 (calculateTabRects): Set the selectedRun before
7968 trying to rotate tabs.
7970 2004-03-23 Kim Ho <kho@redhat.com>
7972 * Makefile.am: New file
7973 * Makefile.in: Regenerate
7974 * java/awt/Graphics.java: (drawRect):
7975 Draw to the correct point.
7976 * javax/swing/DefaultSingleSelectionModel.java
7977 (isSelected): Return true if the selected index
7979 * javax/swing/JLabel.java: Do not change mnemonic
7980 index if text is null.
7981 * javax/swing/JProgressBar.java: Use JComponent's
7983 * javax/swing/JScrollBar.java: Ditto.
7984 * javax/swing/JSlider.java: Ditto.
7985 * javax/swing/JTabbedPane.java: Reimplement.
7986 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7987 Add defaults for TabbedPane.
7988 * javax/swing/plaf/basic/BasicArrowButton.java:
7990 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7991 (paintDeterminate): Don't paint String if it's
7993 (paintIndeterminate): ditto.
7994 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7997 2004-03-19 Michael Koch <konqueror@gmx.de>
7999 * java/awt/image/AffineTransformOp.java
8000 (AffineTransformOp): Made public.
8001 * javax/swing/JComponent.java
8002 (listenerList): Made protected.
8003 (accessibleContext): Likewise.
8004 * javax/swing/JList.java
8005 (valueChanged): Dont use internal fields of ListSelectionEvent.
8006 * javax/swing/JViewport.java
8007 (getView): Dont use internal fields of Component.
8008 (addImpl): Likewise.
8009 * javax/swing/Timer.java
8010 (isRunning): Made public.
8013 * javax/swing/UIDefaults.java
8014 (getInt): Made public.
8015 * javax/swing/plaf/basic/BasicListUI.java
8016 (mousePressed): Dont use internal fields of MouseEvent.
8017 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8018 * javax/swing/plaf/basic/BasicScrollBarUI.java
8019 (arrowIcon): Made static.
8020 * javax/swing/plaf/basic/BasicViewportUI.java
8021 (stateChanged): Dont use internal field on ChangeEvent.
8022 * javax/swing/text/JTextComponent.java
8023 (getUI): Call UIManager.getUI().
8024 (updateUI): Use getUI().
8026 2004-03-19 Graydon Hoare <graydon@redhat.com>
8028 * javax/swing/JComponent.java: Turn off double buffer by default.
8029 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8031 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8032 Use cairo to copy areas.
8033 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8034 Initialize and set clip region.
8036 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8038 * java/applet/Applet.java (preferredSize): Override deprecated
8039 variant of getPreferredSize.
8040 (minimumSize): Override deprecated variant of getMinimumSize.
8042 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8044 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8045 (drawImage(img,xform,bgcolor,obs)): New Method.
8046 Helper function that every drawImage method will
8048 (drawRaster): Added new parameter, bgcolor. All
8049 transparent pixels are changed to bgcolor before
8051 (drawRenderedImage): Fixed to use changed drawRaster().
8052 (drawImage(image,xform,obs): Fixed to use new helper function
8053 (drawImage(image,op,x,y)): Ditto.
8054 (drawImage (img,x,y,observer)): Ditto.
8055 ((PainterThread) bgcolor): New Field.
8056 ((PainterThread) (setPixels)): Changed all transparent pixels
8058 (drawImage(img,x,y,width,height,bgcolor,observer)):
8059 Fixed FIXME - all the transparent pixels are
8060 changed to the specified bgcolor.
8061 (drawImage(img, x, y, width, height, observer): Changed to
8063 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8064 Fixed FIXME- changed all transparent pixels to bgcolor.
8065 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8066 Changed to use function above.
8068 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8070 * java/applet/Applet.java (dimensions): New field.
8071 (getDimensions): New method.
8072 (getPreferredSize): Call getDimensions.
8073 (getMinimumSize): Likewise.
8075 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8077 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8078 * jni/classpath/jnilink.c: Likewise.
8080 * java/applet/Applet.java (getPreferredSize): New method.
8081 (getMinimumSize): New method.
8083 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8085 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8086 (_Jv_AllocObjectNoFinalizer): Likewise.
8087 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8088 (_Jv_AllocPtrFreeObject): Likewise.
8089 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8090 directly even in the JVMPI case.
8091 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8092 _Jv_AllocObject calls.
8093 * gcj/javaprims.h: Update prototypes.
8094 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8095 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8096 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8098 2004-04-14 Andrew Haley <aph@redhat.com>
8099 Bryce McKinlay <mckinlay@redhat.com>
8101 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8102 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8103 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8105 * testsuite/libjava.lang/InvokeInterface.java: New file.
8106 * testsuite/libjava.lang/InvokeInterface.out: New file.
8108 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8110 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8112 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8113 StackTraceElement directly.
8114 (newElement): New native helper method to create StackTraceElement
8115 bypassing Java access control.
8116 (createStackTraceElement): Use newElement() instead of directly
8117 calling StackTraceElement's constructor.
8118 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8120 2004-04-01 Michael Koch <konqueror@gmx.de>
8122 * java/lang/SecurityManager.java
8123 (checkAwtEventQueueAccess): Implemented.
8125 2004-04-01 Gary Benson <gbenson@redhat.com>
8127 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8128 (_Jv_SearchMethodInClass): Likewise.
8130 2004-03-26 Peter Moon <peterm@miraculum.com>
8132 * java/text/NumberFormat.java: Fix spelling of setCurrency
8135 2004-03-21 Anthony Green <green@redhat.com>
8137 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8138 recursion when searching for the system ClassLoader.
8140 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8142 * java/net/ServerSocket.java
8143 (accept): Close the socket when error occured.
8145 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8147 * java/net/URI.java (parseURI): Added unquoting.
8148 (unquote): New method.
8149 (quoteAuthority): Implemented.
8150 (quote(String,String)): New method.
8151 (quotePath): Implemented.
8152 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8153 (getSchemeSpecificPart): Removed FIXME comment.
8154 (getRawAuthority): Return new rawAuthority field.
8155 (getAuthority): Removed FIXME comment.
8156 (getRawUserInfo): Return new rawUserInfo field.
8157 (getUserInfo): Removed FIXME comment.
8158 (getRawPath): Return new rawPath field.
8159 (getPath): Removed FIXME comment.
8160 (getRawQuery): Return new rawQuery field.
8161 (getQuery): Removed FIXME comment.
8162 (getRawFragment): Return new rawFragment field.
8163 (getFragment): Removed FIXME comment.
8165 2004-03-20 Michael Koch <konqueror@gmx.de>
8167 * java/net/URLConnection.java: Merged copyright year with classpath.
8169 2004-03-20 Norbert Frese <postfach@nfrese.net>
8171 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8172 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8173 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8175 (getObjectInputStream): Return object reference, throw IOException if null.
8176 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8177 (getObjectOutputStream): Return object reference, throw IOException if null.
8178 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8179 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8180 (UnicastConnectionManager): Throw RemoteException if port is not available.
8181 (getInstance): Throw RemoteException.
8182 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8183 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8184 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8185 Collect Exceptions which are returned by a rmi-call and fix void returns.
8186 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8187 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8188 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8189 (dispatch): Answer ping messages which are sent by other java implementions.
8190 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8191 for every rmi-message and fix void return problems.
8192 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8193 (UnicastServerRef): Throw RemoteException.
8194 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8195 In some situations it is necessary to export a subclass of the class which has the _Stub.
8196 For instance when the class with has the _Stub is abstract.
8197 (findStubSkelClass): New method which looks for the class which has the _Stub.
8198 (getClientHost): Implementated.
8199 * gcc/libjava/java/rmi/server/RemoteServer.java
8200 (getClientHost): Implementated.
8201 * gcc/libjava/Makefile.am (rmi_java_source_files):
8202 Added gnu/java/rmi/server/RMIIncomingThread.java.
8203 * Makefile.in: Regenerated.
8205 2004-03-20 Michael Koch <konqueror@gmx.de>
8207 * java/net/InetAddress.java
8208 (getLocalHostname): Added javadoc.
8210 2004-03-19 Per Bothner <per@bothner.com>
8212 * configure.in: FILE variable overrides FLATFORM when linking
8213 natFileChannelXXX.cc.
8215 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8216 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8218 2004-03-19 Per Bothner <per@bothner.com>
8220 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8221 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8222 * Makefile.am: Update accordingly.
8223 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8224 as aliases for UnicodeLittle and UnicodeBig.
8226 2004-03-20 Mark Wielaard <mark@klomp.org>
8228 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8229 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8230 Don't access ws when it is null.
8231 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8234 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8236 * java/lang/ThreadGroup.java (list): Changed print to println.
8238 2004-03-19 Mark Wielaard <mark@klomp.org>
8240 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8243 2004-02-10 Randolph Chung <tausq@debian.org>
8245 * configure.in: Build java for hppa target.
8246 * configure: Regenerate.
8247 * libjava/configure.host (hppa-*): Add target.
8248 * libjava/sysdeps/pa/lock.h: New file.
8250 2004-03-19 Mark Wielaard <mark@klomp.org>
8252 Reported by Stephen Crawley
8253 * java/io/FilePermission.java (implies): Use String.length() -1 to
8254 access last char of String.
8256 2004-03-19 Michael Koch <konqueror@gmx.de>
8258 * java/awt/image/AffineTransformOp.java
8259 (AffineTransformOp): Made public.
8260 * javax/swing/JComponent.java
8261 (listenerList): Made protected.
8262 (accessibleContext): Likewise.
8263 * javax/swing/JList.java
8264 (valueChanged): Dont use internal fields of ListSelectionEvent.
8265 * javax/swing/JViewport.java
8266 (getView): Dont use internal fields of Component.
8267 (addImpl): Likewise.
8268 * javax/swing/Timer.java
8269 (isRunning): Made public.
8272 * javax/swing/UIDefaults.java
8273 (getInt): Made public.
8274 * javax/swing/plaf/basic/BasicListUI.java
8275 (mousePressed): Dont use internal fields of MouseEvent.
8276 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8277 * javax/swing/plaf/basic/BasicScrollBarUI.java
8278 (arrowIcon): Made static.
8279 * javax/swing/plaf/basic/BasicViewportUI.java
8280 (stateChanged): Dont use internal field on ChangeEvent.
8281 * javax/swing/text/JTextComponent.java
8282 (getUI): Call UIManager.getUI().
8283 (updateUI): Use getUI().
8285 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8287 * verify.cc: Undef PC.
8289 2004-03-18 Michael Koch <konqueror@gmx.de>
8291 * java/nio/channels/spi/AbstractSelectableChannel.java
8292 (keys): Initialize at declaration.
8293 (locate): keys cant be null.
8295 (addSelectionKey): New method.
8296 (removeSelectionKey): New method.
8297 * java/nio/channels/spi/AbstractSelectionKey.java
8298 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8299 * java/nio/channels/spi/AbstractSelector.java
8300 (provider): Javadoc added.
8301 (cancelledKeys): Javadoc added.
8302 (cancelKey): Javadoc added, add key to cancelledKeys.
8303 (deregister): Implemented.
8305 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8307 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8308 MAP_FAILED to void *.
8310 2004-03-12 Graydon Hoare <graydon@redhat.com>
8312 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8313 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8314 * javax/swing/JList.java (ListListener): Revalidate on changes.
8315 * javax/swing/JScrollPane.java: Reimplement.
8316 * javax/swing/JViewport.java: Reimplement.
8317 * javax/swing/ScrollPaneLayout.java: Reimplement.
8318 * javax/swing/ViewportLayout.java: Tidy up.
8319 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8320 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8321 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8322 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8325 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8328 (window_wm_protocols_filter): New function.
8329 (window_focus_in_cb): Remove function.
8330 (window_focus_out_cb): Likewise.
8331 (window_focus_or_active_state_change_cb): New function.
8332 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8333 (connectSignals): Don't attach handlers to focus-in-event or
8334 focus-out-event signals. Handle notify signal.
8336 2004-03-11 David Jee <djee@redhat.com>
8338 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8339 (gtkSetLabel): New native method declaration.
8340 (setLabel): Use gtkSetLabel.
8341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8342 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8344 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8346 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8347 black when color argument is null.
8349 2004-03-10 Kim Ho <kho@redhat.com>
8351 * java/awt/Container.java: Remove check
8354 2004-03-10 Kim Ho <kho@redhat.com>
8356 * java/awt/Container.java: (visitChild):
8357 Remove candidate clip. Use the component
8359 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8360 (handleEvent): Use the PaintEvent's clip.
8362 2004-03-10 Kim Ho <kho@redhat.com>
8364 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8365 (handleEvent): Don't set the clip for the
8368 2004-03-09 Graydon Hoare <graydon@redhat.com>
8370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8371 Fix double <-> fixed macros, reset font transform.
8372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8375 2004-03-09Â Kim Ho <kho@redhat.com>
8377 * java/awt/Container.java: (visitChild): Move
8378 the x and y coordinate of the component rectangle
8379 to correct position.
8380 (handleEvent): Forward drag events to the pressed
8382 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8384 (ArrowButtonListener::mousePressed): Stop the
8386 (mouseDragged): Implement.
8387 (TrackListener::mousePressed): Only react if
8388 the press doesn't occur on the thumb, otherwise
8389 just set the offset.
8390 (TrackListener::mouseReleased): Unset the isAdjusting
8392 (createIncreaseIcon): Switch icon.
8393 (createDecreaseIcon): Switch icon.
8394 (calculatePreferredSize): Use width.
8395 (getThumbBounds): Use the top as the lower value.
8396 (layoutVScrollBar): Switch the button locations.
8397 (paintIncreaseHighlight): Paint correct side of thumb.
8398 (paintDecreaseHighlight): ditto.
8399 (valueForYPosition): Use top as the lower value.
8400 * javax/swing/plaf/basic/BasicSliderUI.java:
8402 (mouseDragged): Implement.
8403 (mousePressed): Only react when the thumb isn't
8404 pressed, otherwise just set offset.
8405 (mouseReleased): Handle a release of the thumb.
8406 (scrollDueToClickInTrack): Stop the timer first.
8407 * javax/swing/JProgressBar.java:
8408 (setString): Fix change condition.
8409 * javax/swing/JSeparator.java:
8412 2004-03-08 David Jee <djee@redhat.com>
8414 * java/awt/image/AffineTransformOp.java:
8415 (filter): Use Graphics2D interface instead of directly using the
8418 2004-03-05 David Jee <djee@redhat.com>
8420 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8421 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8422 * java/awt/Container.java
8423 (acquireComponentForMouseEvent): Fixed.
8424 (handleEvent): Fixed.
8425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8426 (state_to_awt_mods_with_button_states): New method.
8427 (pre_event_handler): Fixed mouse event generation.
8429 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8431 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8432 (GdkGraphics2D (BufferedImage)): Initialize
8433 pixmap associated with specified BufferedImage.
8434 (setPaint): Changed implementation of Texture
8435 Paint to use AffineTransformOp.
8436 * java/awt/image/AffineTransformOp.java
8437 (createCompatibleDestRaster): Throw RasterFormatException
8438 if resulting width or height of raster is 0.
8440 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8442 * java/awt/image/AffineTransformOp.java:
8443 Removed unnecessary field interpolationType.
8444 Formatted some of the lines to be consistent with
8446 (AffineTransformOp): Create new RenderingHints
8447 containing specified interpolation type.
8448 (createCompatibleDestImage): Implemented.
8449 (createCompatibleDestRaster): Implemented.
8450 (filter): Implemented.
8451 (getBounds2D(BufferedImage)): Implemented.
8452 (getBounds2D(Raster)): Implemented.
8453 (getInterpolationType): Get interpolation value from
8456 2004-03-04 David Jee <djee@redhat.com>
8458 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8459 (setFont): Check if child peers are null.
8461 2004-03-04 Graydon Hoare <graydon@redhat.com>
8463 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8465 (libjava_arguments): Add new libraries to argument list.
8467 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8469 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8470 * Makefile.in: Re-generated.
8471 * java/awt/image/AffineTransformOp.java: New Class.
8473 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8475 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8476 (setPaint): Interpret correctly TexturePaint's
8478 (drawImage): Fixed scale factors of the affine
8481 2004-02-27 David Jee <djee@redhat.com>
8483 * gnu/java/awt/peer/gtk/GdkGraphics.java
8484 (GdkGraphics(Component)): Inherit font from component.
8485 (drawString): Use font style.
8486 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8487 (gtkSetFont): New native method declaration.
8488 (setFont): New method.
8489 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8490 (gtkSetFont): New native method declaration.
8491 (setFont): Call new native method gtkSetFont.
8492 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8493 (setFont): For all child components who do not their fonts set,
8494 set their peers' fonts with this container's font.
8495 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8496 Move all native method declarations to the top for readability.
8497 (gtkSetFont): New native method declaration.
8498 (setFont): New method.
8499 * java/awt/Component.java
8500 (setFont): Invalidate after setting the font.
8501 * java/awt/Container.java
8502 (invalidateTree): New method.
8503 (setFont): Invalidate the container tree after setting the font.
8504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8505 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8507 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8509 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8511 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8513 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8515 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8516 (updateBufferedImage): New helper function.
8517 Updates BufferedImage in memory if it was changed.
8518 (draw): changed to update BufferedImage in memory after
8519 this drawing operation
8521 (draw3DRect): Ditto.
8522 (fill3DRect): Ditto.
8524 (drawRaster): Ditto.
8525 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8526 no affine transformation.
8527 (drawGlyphVector): Ditto.
8529 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8531 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8532 (isBufferedImageGraphics): New Helper function.
8533 Returns true if this graphics2d can be used to draw
8534 into buffered image and false otherwise.
8535 (updateImagePixels): New Helper function.
8536 Updates pixels in the BufferedImage.
8537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8538 (getImagePixels): New function. Returns pixels
8539 of the buffered image associated with
8542 2004-02-26 David Jee <djee@redhat.com>
8544 * java/awt/BorderLayout.java
8545 (layoutContainer): Fix width and height calculations to ensure
8546 that they're non-negative.
8547 * java/awt/Component.java
8548 (setBackground): If c is null, inherit from closest ancestor whose
8549 background color is set.
8551 2004-02-26 Kim Ho <kho@redhat.com>
8553 * Makefile.am: Add new files.
8554 * Makefile.in: Re-generate.
8555 * javax/swing/JProgressBar.java:
8556 (JProgressBar(int, int int)): Throw
8557 IllegalArgumentException if orientation is
8559 (JProgressBar(BoundedRangeModel)): Create
8560 ChangeListener and register it. UpdateUI.
8561 (getChangeListeners): Implement.
8562 (setModel): Reset ChangeListener.
8563 * javax/swing/JScrollBar.java: Implement.
8564 * javax/swing/JSeparator.java: Implement.
8565 * javax/swing/JSlider.java:
8566 (JSlider(int, int, int, int)): Throw
8567 IllegalArgumentException if orientation
8569 (getChangeListeners): Fix method name.
8570 * javax/swing/SwingUtilities.java:
8571 (layoutCompoundLabel): If there is no text,
8572 set the text rectangle dimensions to 0.
8573 * javax/swing/plaf/basic/BasicButtonUI.java:
8574 (paint): If there is no text, don't paint it.
8575 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8577 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8579 * javax/swing/plaf/basic/BasicSliderUI.java:
8580 (propertyChange): If the model changes, change
8581 the listeners accordingly.
8583 2004-02-25 Graydon Hoare <graydon@redhat.com>
8585 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8586 * javax/swing/JList.java: Reimplement.
8587 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8588 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8589 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8590 * javax/swing/ListModel.java: Javadoc.
8591 * javax/swing/ListSelectionModel.java: Add missing methods.
8592 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8593 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8594 * javax/swing/ListModel.java: Javadoc and corrections.
8595 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8597 2004-02-25 David Jee <djee@redhat.com>
8599 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8600 (GtkFontPeer): Change default size to 12.
8601 * gnu/java/awt/peer/gtk/GtkToolkit.java
8602 (getFontPeer): Change default size to 12.
8603 (getClasspathFontPeer): Likewise. Set default name to "Default".
8604 * java/awt/Font.java
8605 (Font(Map)): Call Font(String,Map).
8606 (Font(String,Map)): If attrs is null, initialize it as an empty
8607 HashMap, which will ensure that the Font will get default attributes.
8609 2004-02-25 David Jee <djee@redhat.com>
8611 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8612 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8613 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8614 * gnu/java/awt/peer/gtk/GtkToolkit.java
8615 (getFontPeer(String,int)): Call the new overload method with size 1.
8616 (getFontPeer(String,int,int)): New method. Overloaded with size
8618 (getClasspathFontPeer): Set the size of the font.
8620 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8622 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8623 (bimage): New field.
8624 (GdkGraphics2D): New Constructor. Constructs Graphics
8625 object that can be used to draw into the Buffered Image.
8626 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8627 (GdkGraphicsEnvironment): Fixed to include public
8629 (createGraphics): Implemented.
8630 * gnu/java/awt/peer/gtk/GtkToolkit.java
8631 (getLocalGraphicsEnvironment): Implemented.
8632 * java/awt/GraphicsEnvironment.java:
8633 (getLocalGraphicsEnvironment): Implemented.
8634 * java/awt/image/BufferedImage.java:
8635 (createGraphics): Implemented.
8637 2004-02-24 David Jee <djee@redhat.com>
8639 * java/awt/Component.java
8640 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8641 * java/awt/Container.java
8642 (addNotifyContainerChildren): Fix event enabling.
8644 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8646 * Makefile.am: Added
8647 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8648 * Makefile.in: Re-generated.
8649 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8652 2004-02-19 Kim Ho <kho@redhat.com>
8654 * Makefile.am: Add BasicProgressBarUI
8655 * Makefile.in: Regenerate.
8656 * javax/swing/JProgressBar.java:
8658 * javax/swing/plaf/basic/BasicLookAndFeel.java
8659 Add constants for JProgressBar.
8660 * javax/swing/plaf/basic/BasicProgressBarUI.java
8662 * javax/swing/plaf/basic/BasicSliderUI.java
8664 (calculateGeometry): New method
8665 (paint): Remove unnecessary size calculations.
8667 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8669 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8670 (drawRaster): Fixed small error that caused
8671 imageToUser transformation to be set incorrectly.
8672 (toString): Implemented.
8674 2004-02-18 David Jee <djee@redhat.com>
8676 * java/awt/CardLayout.java
8677 (addLayoutComponent): Show the first component added as the default.
8678 (removeLayoutComponent): After removing, show the next component.
8679 (gotoComponent): If there is only one component, show it and return.
8681 2004-02-18 Kim Ho <kho@redhat.com>
8683 * javax/swing/JSlider.java: Re-order
8685 * javax/swing/JLabel.java: Re-order
8687 * javax/swing/JComponent.java:
8688 (addPropertyChangeListener):
8690 (removePropertyChangeListener):
8692 (firePropertyChangeEvent):
8695 2004-02-17 David Jee <djee@redhat.com>
8697 * java/awt/Component.java
8698 (show): Dispatch ComponentEvent via system event queue.
8702 (reshape): Likewise.
8703 * java/awt/Window.java
8704 (setBoundsCallback): Likewise.
8706 2004-02-17 David Jee <djee@redhat.com>
8708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8709 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8710 Use gtk_widget_set_size_request() instead of the deprecated
8711 gtk_widget_set_usize().
8713 2004-02-17 Kim Ho <kho@redhat.com>
8715 * javax/swing/JSlider.java: Fix comments and
8716 make property strings constants.
8717 (createStandardLabels): Use the labels
8718 preferred size as bounds.
8719 * javax/swing/plaf/basic/BasicSliderUI.java
8721 (ScrollHandler::actionPerformed): Don't
8722 calculate the timer stop value. Let the
8723 MouseListeners find the stop location.
8724 (getPreferredHorizontalSize): Re-implement.
8725 (getPreferredVerticalSize): ditto.
8726 (getMinimumHorizontalSize): ditto.
8727 (getMinimumVerticalSize): ditto.
8728 (getPreferredSize): ditto.
8729 (getMinimumSize): ditto.
8730 (getMaximumSize): ditto.
8731 (paintTicks): Use doubles to find the
8733 (paintHorizontalLabel):Â Use preferredSize
8734 as initial width and height.
8735 (paintVerticalLabel): ditto.
8737 2004-02-17 Kim Ho <kho@redhat.com>
8739 * javax/swing/JLabel.java: Changed
8740 property strings to constants.
8741 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8743 (setText): Change mnemonic index if
8745 (setDisplayedMnemonicIndex): Fire property
8747 (getDisplayedMnemonicIndex): Remove check
8750 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8752 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8753 (drawImage(img,xform,obs)): Invert xform before
8754 passing the xform to cairo.
8755 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8756 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8758 (drawImage (img,x,y,w,h,obs)): Implemented.
8759 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8760 bgcolor,obs)): Partly implemented.
8761 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8763 * java/awt/image/BufferedImage.java:
8764 (copyData): if dest is null, create raster with same
8765 dimensions as the current image.
8767 2004-02-16 Graydon Hoare <graydon@redhat.com>
8769 * javax/swing/plaf/basic/BasicLabelUI.java
8770 (getPreferredSize): Use layoutCL.
8771 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8772 (getPreferredButtonSize): Start with empty view rect, layout using
8773 component's preferred alignment.
8774 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8777 2004-02-16 David Jee <djee@redhat.com>
8779 * java/awt/Component.java
8780 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8781 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8782 (move): Erase old bounds and repaint new bounds. Dispatch
8783 COMPONENT_MOVED ComponentEvent.
8784 (resize): Erase old bounds and repaint new bounds. Dispatch
8785 COMPONENT_RESIZED ComponentEvent.
8786 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8788 * java/awt/Window.java
8789 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8792 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8794 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8795 (setRenderingHint): Added implementation of
8796 Interpolation rendering hints.
8797 (setRenderingHints): Ditto.
8798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8799 (drawPixels): fixed to allow user to choose type
8800 of filtering that should be used when displaying images.
8801 (cairoSurfaceSetFilter): New method. Sets filter type for
8802 interpolation of pixel values.
8804 2004-02-16 David Jee <djee@redhat.com>
8806 * java/awt/GridBagLayout.java
8807 (calcCellSizes): Rows or columns with zero sizes should still be
8808 considered for extra space distribution.
8810 2004-02-16 Kim Ho <kho@redhat.com>
8812 * javax/swing/JLabel.java: Re-implement.
8813 * javax/swing/plaf/basic/BasicLabelUI.java
8815 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8818 2004-02-16 Kim Ho <kho@redhat.com>
8820 * javax/swing/JSlider.java: Fix indentation and comments.
8821 (setModel): Remove null check to conform with Sun's.
8822 (setOrientation): Throw exception if not
8823 HORIZONTAL or VERTICAL.
8824 (getInverted): Use private variable instead of
8825 ComponentOrientation.
8826 (setInverted): ditto.
8827 * javax/swing/plaf/basic/BasicSliderUI.java:
8828 Fix indentation and comments.
8829 (propertyChange): Remove check for inverted slider, handle
8831 (getMinimumSize): Return preferred size.
8832 (getMaximumSize): ditto.
8833 (calculateFocusRect): Don't relocate rectangle.
8834 (drawInverted): Return XOR of the slider's inversion and
8835 the component's orientation.
8836 (paint): Update leftToRightCache
8838 2004-02-13 David Jee <djee@redhat.com>
8840 * java/awt/GridBagLayout.java
8841 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8842 code to helper methods.
8843 (sortBySpan): New helper method.
8844 (distributeSizeAndWeight): Likewise.
8845 (calcCellWeights): Likewise.
8846 (calcCellSizes): Add comments.
8848 2004-02-13 David Jee <djee@redhat.com>
8850 * java/awt/Component.java
8851 (show): Only do something if component is invisible at the moment.
8852 (hide): Only do something if component is visible at the moment.
8853 (reshape): If lightweight, erase old bounds and repaint new bounds.
8855 2004-02-13 Kim Ho <kho@redhat.com>
8857 * Makefile.am: Updated for new file.
8858 * Makefile.in: Regenerated.
8859 * javax/swing/JSlider.java: Reimplement.
8860 * javax/swing/SwingUtilities.java
8861 (layoutCompoundLabel): Use icon height
8863 (paintComponent): Implement.
8864 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8865 Add JSlider defaults.
8866 * javax/swing/plaf/basic/BasicSliderUI.java:
8867 Implement. New file.
8869 2004-03-17 Michael Koch <konqueror@gmx.de>
8871 * gnu/java/net/PlainDatagramSocketImpl.java
8872 (RECEIVE_LOCK): New member field.
8873 (SEND_LOCK): New member field.
8874 (send0): New method.
8875 (send): Synchronize on SEND_LOCK.
8876 (receive0): New method.
8877 (receive): Synchronize on RECEIVE_LOCK.
8878 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8879 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8880 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8881 (send0): Renamed from send.
8882 (receive0): Renamed from receive.
8883 2004-03-17 Michael Koch <konqueror@gmx.de>
8885 * gnu/java/net/natPlainSocketImplPosix.cc
8886 (write): Just call write(jbyteArray, offset, len).
8887 (read): Just call read(jbyteArray, offset, len).
8889 2004-03-16 Michael Koch <konqueror@gmx.de>
8891 * javax/swing/JTabbedPane.java
8892 (serialVersionUID): New field.
8894 2004-03-16 Norbert Frese <postfach@nfrese.net>
8896 * java/net/InetAddress.java
8897 (getByName): Handle hostname == "" case.
8899 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8901 Reported by: Adam Heath <doogie@debian.org>
8902 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8905 2004-03-15 Michael Koch <konqueror@gmx.de>
8907 * java/util/Locale.java: Reverting my last patch
8908 and add a comment why the original version was okay.
8910 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8912 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8913 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8914 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8915 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8917 2004-03-12 Michael Koch <konqueror@gmx.de>
8919 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8921 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8923 * java/net/URI.java (toURL): Implemented.
8925 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8928 (URI_REGEXP) updated to contain scheme specific part.
8929 (SCHEME_SPEC_PART_GROUP) new constant.
8930 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8931 updated to make room for SCHEME_SPEC_PART_GROUP.
8932 (parseURI) parse scheme specific part.
8933 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8934 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8935 getQuery, getFragment) implemented.
8937 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8939 * libraries/javalib/java/net/URI.java
8940 partially implemented using java.util.regex.
8941 (URI_REGEXP) new constant. Used to parse URIs.
8942 (SCHEME_GROUP) new constant representing index of scheme group
8944 (AUTHORITY_GROUP) new constant representing index of authority
8945 group in parsed URI.
8946 (PATH_GROUP) new constant representing index of path group in
8948 (QUERY_GROUP) new constant representing index of query group in
8950 (FRAGMENT_GROUP) new constant representing index of fragment
8951 group in parsed URI.
8952 (getURIGroup) new static utility method.
8953 (parseURI) implemented.
8954 (quote) stub for new static utility method.
8955 (quoteAuthority) stub for new static utility method.
8956 (quoteHost) stub for new static utility method.
8957 (quotePath) stub for new static utility method.
8958 (quoteUserInfo) stub for new static utility method.
8960 (create) don't throw URISyntaxException. Implemented.
8961 (toString) implemented.
8963 2004-03-12 Michael Koch <konqueror@gmx.de>
8965 * java/net/HttpURLConnection.java
8966 (getResponseCode): Fix another typo in javadoc.
8968 2004-03-11 Michael Koch <konqueror@gmx.de>
8970 * java/util/logging/Level.java
8971 (parse): Use String.equals() instead of ==.
8973 2004-03-11 Michael Koch <konqueror@gmx.de>
8975 * gnu/java/net/protocol/jar/Connection.java
8976 (getContentLength): New method.
8978 2004-03-11 Michael Koch <konqueror@gmx.de>
8980 * gnu/java/net/PlainSocketImpl.java:
8981 Reformated to merge better with classpath's version.
8983 2004-03-11 Michael Koch <konqueror@gmx.de>
8985 * java/util/Locale.java
8986 (getISO3Language): Use String.equals() instead of ==.
8987 (getISO3Country): Likewise.
8989 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8991 * java/text/AttributedString.java
8992 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8993 Use HashMap instead of Hashtable since value can be null, and
8994 you can not store a null value in a Hashtable.
8996 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8998 * java/text/AttributedStringIterator.java
8999 (getAllAttributesKey): Return only keys concerned
9000 by the current iterator.
9001 (getAttributes): Use strict inequality for
9004 2004-03-11 Michael Koch <konqueror@gmx.de>
9006 * java/net/HttpURLConnection.java:
9007 Fixed typo in javadoc.
9009 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9011 * java/io/BufferedInputStream.java (marktarget): New field for max
9013 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9014 (mark): Use new fields.
9016 (read(byte[],int,int)): Likewise.
9020 2004-03-11 Mark Wielaard <mark@klomp.org>
9022 * java/beans/BeanDescriptor.java (BeanDescriptor):
9023 Set the FeatureDescriptor programmatic name.
9025 2004-03-11 Michael Koch <konqueror@gmx.de>
9027 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9028 This file was was just copied form java/io/natFileDescriptorEcos.cc
9029 and never changed to compile correctly.
9031 2004-03-11 Michael Koch <konqueror@gmx.de>
9033 * gnu/java/nio/PipeImpl.java
9034 (SourceChannelImpl): Made final.
9035 (read): Implemented.
9036 (SinkChannelImpl): Made final.
9037 (write): Implemented.
9039 2004-03-11 Michael Koch <konqueror@gmx.de>
9041 * gnu/java/net/PlainDatagramSocketImpl.java:
9042 Reformated to match classpath's version more.
9044 2004-03-11 Michael Koch <konqueror@gmx.de>
9046 * gnu/java/awt/peer/ClasspathFontPeer.java:
9047 Fixed javadoc to be correct xhtml.
9048 * gnu/java/awt/peer/gtk/GtkArgList.java
9049 (add): Use Boolean.valueOf() instead of new Boolean().
9051 2004-03-09 Michael Koch <konqueror@gmx.de>
9053 * java/lang/Thread.java
9054 (runnable): Moved around.
9055 (daemon): Renamed from daemon_flag.
9056 (contextClassLoader): Renamed from context_class_loader.
9057 (Thread): Reordered constructors.
9058 (activeCount): Use group directly.
9059 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9060 (holdsLock): Reworked javadoc.
9061 (setDaemon): Reworked.
9062 * java/lang/natThread.cc
9065 2004-03-08 Anthony Green <green@redhat.com>
9067 * Makefile.am: Build property resource files into libgcj.
9068 * Makefile.in: Rebuilt.
9069 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9070 java/util/regex/PatternSyntaxException.java,
9071 gnu/regexp/CharIndexed.java,
9072 gnu/regexp/CharIndexedCharArray.java,
9073 gnu/regexp/CharIndexedInputStream.java,
9074 gnu/regexp/CharIndexedReader.java,
9075 gnu/regexp/CharIndexedString.java,
9076 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9077 gnu/regexp/REException.java,
9078 gnu/regexp/REFilterInputStream.java,
9079 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9080 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9081 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9082 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9083 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9084 gnu/regexp/RETokenLookAhead.java,
9085 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9086 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9087 gnu/regexp/RETokenStart.java,
9088 gnu/regexp/RETokenWordBoundary.java,
9089 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9091 2004-03-03 Per Bothner <per@bothner.com>
9093 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9094 Optimize when argument is a FileChannelImpl.
9095 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9097 * java/nio/channels/natChannels.cc: New file for new native methods.
9098 * Makefile.am: Update accordingly.
9100 2004-03-02 Jan Hubicka <jh@suse.cz>
9102 * configure.host: Pass -fno-omit-frame-pointer for i386.
9103 * configure.in: Likewise.
9104 * configure: Regenerate.
9106 2004-03-01 Per Bothner <per@bothner.com>
9108 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9110 2004-02-29 Per Bothner <per@bothner.com>
9112 * java/nio/channels/FileChannelImpl.java: Moved to package
9113 gnu/java/nio/channels, since we need to refer to it from java.io.
9114 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9115 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9116 from java/nio/channels. Don't depend on FileDescriptor.
9117 (in, out, err): New static fields.
9119 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9120 from FileDescriptor.
9121 (by): Removed MappedByteBuffer field.
9122 (map): New working implementation.
9123 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9124 some code "ported" from natFileDescriptoPosix.cc.
9125 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9126 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9127 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9128 Remove native methods.
9129 * Makefile.am, configure.in: Updated accordingly.
9131 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9132 (ch): New FileChannelImpl field. Update constructor to match.
9133 (releaseImpl): Remove native method. Instead ...
9134 (release): Call unlock on channel.
9135 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9137 * java/io/natFileDescriptorEcos.cc: Remove file.
9138 * java/io/natFileDescriptorPosix.cc: Remove file.
9139 * java/io/natFileDescriptorWin32.cc: Remove file.
9140 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9141 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9142 (<init>(FileChannelImpl)): New package-private constructor.
9143 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9144 (available, close, read, skip): Implement using FileChannelImpl.
9145 (getFD): Allocate FileDescriptor if needed.
9146 (getChannel): Is now trivial.
9147 * java/io/FileOutputStream.java: Corresponding changes.
9148 * java/io/RandomAccessFile.java: Corresponding changes.
9150 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9151 unmapImpl): New dummy methods, to be overridden by subclass.
9152 (finalize, isLoaded, load, force): New methods.
9153 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9154 Now works, at least for read mapping.
9156 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9157 streams using FileChannelImpl, not FileDescriptor.
9158 * java/lang/natWin32Process.cc (startProcess): Likewise.
9160 2004-02-28 Michael Koch <konqueror@gmx.de>
9162 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9165 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9167 * java/io/ObjectInputStream.java
9168 (readClassDescriptor): Keep elements of the mapping non null.
9169 (checkTypeConsistency): New method.
9170 (readFields): Fixed main loop and base logic. Small reindentation.
9171 * java/io/ObjectStreamField.java
9172 (lookupField): New method to update the field reference.
9173 (checkFieldType): New method.
9174 * java/io/ObjectStreamClass.java
9175 (setClass, setFields): Call lookupField when building the field
9176 database. Check the real field type.
9178 2004-02-28 Michael Koch <konqueror@gmx.de>
9180 * java/nio/ByteOrder.java
9181 (nativeOrder): Use equals() to compare strings.
9183 2004-02-26 Michael Koch <konqueror@gmx.de>
9185 * gnu/java/nio/FileLockImpl.java
9186 (finalize): Made protected.
9187 * java/nio/channels/FileChannel.java
9188 (MapMode.READ_ONLY): Made final.
9189 (MapMode.READ_WRITE): Made final.
9190 (MapMode.PRIVATE): Made final.
9191 * java/nio/channels/SocketChannel.java
9192 (open): Simplified code.
9193 * java/nio/channels/spi/AbstractSelectableChannel.java
9194 (registered): Unused, removed.
9195 (keyFor): Check channel is open, only locate key
9196 and not add a new one.
9197 (register): Don't delete attachments.
9199 2004-02-26 Michael Koch <konqueror@gmx.de>
9201 * gnu/java/awt/ComponentDataBlitOp.java
9202 (INSTANCE): Made final.
9203 * gnu/java/awt/image/ImageDecoder.java:
9205 (cm): Unused, removed.
9207 2004-02-26 Michael Koch <konqueror@gmx.de>
9209 * gnu/java/nio/DatagramChannelImpl.java
9210 (send): Check if target address is resolved.
9212 2004-02-26 Michael Koch <konqueror@gmx.de>
9214 * Makefile.am: Generate and install headers for inner classes in
9215 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9216 * Makefile.in: Regenerated.
9218 2004-02-24 Anthony Green <green@redhat.com>
9220 * java/lang/StringBuffer.java: No need to NULL out remainder of
9221 buffer since ensureCapacity_unsynchronized will have done this for
9224 2004-02-20 Michael Koch <konqueror@gmx.de>
9226 * gnu/java/net/protocol/jar/Handler.java
9227 (): Removed unneeded check for file != null. java.net.URL.getFile()
9228 returns an empty string but never null.
9230 2004-02-20 Michael Koch <konqueror@gmx.de>
9232 * gnu/gcj/convert/Convert.java
9233 (main): Use equals() to compare strings.
9235 2004-02-20 Michael Koch <konqueror@gmx.de>
9237 * javax/swing/AbstractButton.java: Made several constants final.
9238 (getRolloverSelectedIcon): Made public.
9239 (getSelectedIcon): Made public.
9241 2004-02-16 Per Bothner <per@bothner.com>
9243 * java/nio/CharBufferImpl.java: Inline super constructor.
9244 * java/nio/DoubleBufferImpl.java: Likewise.
9245 * java/nio/FloatBufferImpl.java: Likewise.
9246 * java/nio/IntBufferImpl.java: Likewise.
9247 * java/nio/LongBufferImpl.java: Likewise.
9248 * java/nio/ShortBufferImpl.java: Likewise.
9249 * java/nio/CharBuffer.java: Remove unused constructor.
9250 * java/nio/DoubleBuffer.java: Likewise.
9251 * java/nio/FloatBuffer.java: Likewise.
9252 * java/nio/IntBuffer.java: Likewise.
9253 * java/nio/LongBuffer.java: Likewise.
9254 * java/nio/ShortBuffer.java: Likewise.
9255 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9256 Fix buggy call to super constructor.
9257 * java/nio/DoubleViewBufferImpl.java: Likewise.
9258 * java/nio/FloatViewBufferImpl.java: Likewise.
9259 * java/nio/IntViewBufferImpl.java: Likewise.
9260 * java/nio/LongViewBufferImpl.java: Likewise.
9261 * java/nio/ShortViewBufferImpl.java: Likewise.
9263 * java/nio/ByteBuffer.java (endian): Make non-private so other
9264 java.nio classes can inherit it.
9265 (<init>): Don't bother clearing array_offset.
9266 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9267 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9268 Remove redundant test.
9270 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9271 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9272 Use new XxxViewBufferImpl constructors.
9273 * java/nio/MappedByteBufferImpl.java: Likewise.
9274 * java/nio/DirectByteBufferImpl.java: Likewise.
9276 * java/nio/ByteBufferImpl.java: Remove one constructor.
9277 Inline super in remaining constructor.
9278 * java/nio/ByteBuffer.java: Remove unused constructor.
9280 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9282 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9283 * java/nio/DirectByteBufferImpl.java (owner): New field.
9284 (offset): Remove unused field.
9285 (<init>): Modify one and add another constructor. Change callers.
9286 (allocateDirect): Removed - not used.
9287 (getImpl, putImpl): Make static and pass address explicitly,
9288 to make them useful for MappedByteBufferImpl.
9289 (get, put): Check for underflow. Modify for new getImpl.
9290 (getImpl): New native method where target is array.
9291 (get(byte[],int,int)): Use the above.
9292 (adjustAddress): New static native method.
9293 (slice, duplicate, asReadOnly): New implementations.
9294 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9295 adjustAddress): New or updated native methods.
9297 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9299 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9300 overflow of fieldmapping.
9302 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9304 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9306 2004-02-14 Per Bothner <per@bothner.com>
9308 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9309 Set closed before calling implCloseChannel, as in the spec.
9311 2004-02-09 Graydon Hoare <graydon@redhat.com>
9313 * javax/swing/ToggleButtonModel.java: Remove dead class.
9314 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9315 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9316 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9317 * Makefile.am: Update for new and removed files.
9318 * Makefile.in: Regenerate.
9320 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9321 * javax/swing/AbstractButton.java
9322 (AbstractButton): Initialize fields correctly in ctor.
9323 * javax/swing/JCheckbox.java
9324 (JCheckBox): Override painting flags.
9325 * javax/swing/DefaultButtonModel.java: Conform to sun.
9326 * javax/swing/JComponent.java (paint): Fill with background color
9328 (processComponentKeyEvent)
9331 (processMouseMotionEvent): Remove event-consuming empty methods.
9332 (getUIClassID): Return "ComponentUI" not "JComponent"
9333 * javax/swing/JFrame.java: Remove some debugging chatter.
9334 (JFrame): Subscribe to window events.
9335 * javax/swing/JRadioButton.java
9336 (JRadioButton): Override painting flags.
9337 * javax/swing/JRootPane.java
9338 (JRootPane): Set background from UIDefaults.
9339 * javax/swing/JToggleButton.java
9340 (ToggleButtonModel): New inner class.
9341 (JToggleButton): Override layout alighment.
9342 * javax/swing/SwingUtilities.java:
9343 (getLocalBounds): Return width and height, not x and y.
9344 (calculateInnerArea): Use local bounds, not bounds.
9345 (layoutCompoundLabel): Provide overridden form.
9346 (layoutCompoundLabel): Correct bugs.
9347 * javax/swing/UIDefaults.java: Correct comment.
9348 * javax/swing/plaf/basic/BasicButtonUI.java:
9349 Move most logic into defaults, external listener.
9350 (paintIcon): Implement icon painting.
9351 (paint): Fix state painting to conform to changes in model.
9352 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9353 Remove most dead/wrong methods.
9354 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9355 * javax/swing/plaf/basic/BasicIconFactory.java:
9356 (DummyIcon): New class.
9357 (getMenuItemCheckIcon)
9358 (getMenuItemArrowIcon)
9360 (getCheckBoxMenuItemIcon)
9361 (getRadioButtonMenuItemIcon)
9362 (createEmptyFrameIcon): Return DummyIcons, not null.
9363 (getCheckBoxIcon): Implement an icon that looks like sun's.
9364 (getRadioButtonIcon): Implement an icon that looks like sun's.
9365 * javax/swing/plaf/basic/BasicLookAndFeel.java
9366 (initComponentDefaults): Fix impossible values, add some missing.
9367 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9368 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9369 Remove most dead/wrong methods.
9371 (getDefaultIcon): New method.
9372 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9373 Remove most dead/wrong methods.
9374 * javax/swing/plaf/metal/MetalLookAndFeel.java
9375 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9377 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9378 Implement "clearing" as drawing, when on pixmap drawables.
9380 * javax/swing/JButton.java (getUIClassID):
9381 * javax/swing/JCheckBox.java (getUIClassID):
9382 * javax/swing/JEditorPane.java (getUIClassID):
9383 * javax/swing/JLabel.java (getUIClassID):
9384 * javax/swing/JList.java (getUIClassID):
9385 * javax/swing/JOptionPane.java (getUIClassID):
9386 * javax/swing/JPanel.java (getUIClassID):
9387 * javax/swing/JPasswordField.java (uiClassID):
9388 * javax/swing/JRadioButton.java (getUIClassID):
9389 * javax/swing/JRootPane.java (getUIClassID):
9390 * javax/swing/JScrollPane.java (getUIClassID):
9391 * javax/swing/JTabbedPane.java (getUIClassID):
9392 * javax/swing/JToggleButton.java (getUIClassID):
9393 * javax/swing/JTree.java (getUIClassID):
9394 * javax/swing/JViewport.java (getUIClassID):
9395 * javax/swing/text/JTextComponent.java (getUIClassID):
9396 Return "fooUI" not "Jfoo"
9398 2004-02-11 Michael Koch <konqueror@gmx.de>
9400 * java/net/DatagramSocket.java
9401 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9403 (setBroadcast): Likewise.
9404 * java/net/MulticastSocket.java
9405 (setLoopbackMode): Likewise.
9406 * java/net/ServerSocket.java
9407 (setReuseAddress): Likewise.
9408 * java/net/Socket.java
9409 (setTcpNoDelay): Likewise.
9410 (setSoLinger): Likewise.
9411 (setOOBInline): Likewise.
9412 (setKeepAlive): Likewise.
9413 (setReuseAddress): Likewise.
9414 * java/net/URLConnection.java
9415 (setContentHandler): Replace == with equals().
9416 * java/net/URLStreamHandler.java
9417 (hostSEquals): Fix checking host addresses.
9418 (toExternalForm): Dont check protocol for null. We know already its
9421 2004-02-10 David Jee <djee@redhat.com>
9423 * java/awt/BorderLayout.java
9424 (calcCompSize): Invisible components get zero dimensions.
9425 * java/awt/Button.java
9426 (setLabel): Set actionCommand.
9427 * java/awt/Component.java
9428 (show): Invalidate component and parent container.
9431 2004-02-10 David Jee <djee@redhat.com>
9433 * java/awt/GridBagLayout.java
9434 (GridBagLayout): New private field, internalcomptable.
9435 (lookupInternalConstraints): New method.
9436 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9437 (GetLayoutInfo): Reimplement.
9438 (calcCellSizes): Ignore rows/columns with size 0.
9440 2004-02-10 Michael Koch <konqueror@gmx.de>
9442 * gnu/java/awt/EmbeddedWindow.java
9443 (setHandle): Use java.awt.Component.getPeer() instead of
9444 java.awt.Component.peer directly.
9446 2004-02-10 David Jee <djee@redhat.com>
9448 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9449 (gtkSetLabel): New native method definition.
9450 (setLabel): Use gtkSetLabel.
9451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9452 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9454 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9456 * include/powerpc-signal.h: Revert 2004-01-21 change.
9457 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9458 from syscall for ppc32 versions.
9460 2004-02-08 Per Bothner <per@bothner.com>
9462 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9463 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9464 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9465 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9466 Pass ByteOrder parameter to most methods, since the underlying
9467 ByteBuffer's order isn't always what we should use.
9468 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9469 * java/nio/DirectByteBufferImpl.java: Likewise.
9470 Use ByteBufferHelper methods.
9471 * java/nio/MappedByteBufferImpl.java: Likewise.
9472 (compact): Use shiftDown.
9473 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9474 (get, put): Use ByteBufferHelper.
9475 (compact): Use new shiftDown method.
9476 (duplicate(boolean)): New helper method.
9477 (duplicate, asReadOnlyBuffer): Use it.
9478 (order): Return endian field.
9479 * java/nio/DoubleViewBufferImpl.java: Likewise.
9480 * java/nio/FloatViewBufferImpl.java: Likewise.
9481 * java/nio/IntViewBufferImpl.java: Likewise.
9482 * java/nio/LongViewBufferImpl.java: Likewise.
9483 * java/nio/ShortViewBufferImpl.java: Likewise.
9484 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9485 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9486 (compact): Re-implement using shiftDown.
9488 2004-02-08 Andreas Jaeger <aj@suse.de>
9490 * include/x86_64-signal.h: Fix typo.
9492 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9494 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9496 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9498 2004-02-06 Michael Koch <konqueror@gmx.de>
9500 * java/io/ObjectInputStream.java
9501 (currentClassLoader): Reverted to old version of this method.
9503 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9505 * java/io/ObjectInputStream.java: Made all calls
9506 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9507 use cached info from ObjectStreamClass. (readClassDescriptor):
9508 Cache more information in ObjectStreamClass. (processResolution,
9509 readFields): Use cached info from ObjectStreamClass.
9510 (newObject): Throw exception instead of returning null for failure.
9511 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9512 setCharField, setDoubleField, setFloatField, setIntField,
9513 setLongField, setShortField, setObjectField, readObjectParams):
9514 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9516 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9517 (setClass): Added call to cacheMethods() (findMethod): New method.
9518 (cacheMethods): New method. (ObjectStreamClass): Added call to
9519 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9520 AccessController.doPrivileged to invoke setAccessible.
9521 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9522 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9524 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9525 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9526 isPrimitive): Made safe for cases where type == null.
9527 (setBooleanField, setByteField, setCharField, setShortField,
9528 setIntField, setLongField, setFloatField, setDoubleField,
9529 setObjectField): New methods.
9531 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9533 * java/awt/Component.java (getFont): Return a default font
9536 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9537 (Scrollbar (int, int, int, int, int)): Make default page
9539 (setValues): Only call peer.setValues if one of the values has
9541 (generateName): New method.
9542 (getUniqueLong): New method.
9543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9544 (range_scrollbar): Remove structure.
9545 (post_adjustment_event): Remove function.
9546 (post_change_event): Accept jobject argument.
9547 (create): Cast jints to gdoubles. Round scrollbar values to the
9548 nearest integer. Clamp min, max and value settings.
9549 (connectJObject): Connect hook to widget->window.
9550 (connectSignals): Remove range_scrollbar structure variables.
9551 Remove "move-slider" connection. Pass global peer reference to
9552 "value-changed" callback.
9553 (setLineIncrement): Cast jint value to gdouble.
9554 (setPageIncrement): Likewise.
9555 (setValues): Likewise. Clamp min, max and value settings.
9557 2004-02-05 Michael Koch <konqueror@gmx.de>
9559 * javax/swing/AbstractCellEditor.java
9560 (getCellEditorValue): Removed.
9561 * javax/swing/Box.java: Reformated.
9562 (serialVersionUID): New field.
9563 * javax/swing/ButtonGroup.java:
9564 Removed some weird whitespace.
9565 * javax/swing/CellEditor.java: Reformated.
9566 * javax/swing/CellRendererPane.java
9567 (serialVersionUID): New field.
9568 (AccessibleCellRendererPaneserialVersionUID): New field.
9569 * javax/swing/DefaultListModel.java
9570 (serialVersionUID): New field.
9571 * javax/swing/JEditorPane.java
9572 (serialVersionUID): New field.
9573 (setPage): Throws IOException.
9574 (addHyperlinkListener): Implemented.
9575 (removeHyperlinkListener): Implemented.
9576 (getHyperlinkListener): New method.
9577 * javax/swing/JFileChooser.java
9578 (serialVersionUID): New field.
9579 (AccessibleJFileChooser.serialVersionUID): New field.
9580 (addActionListener): Implemented.
9581 (removeActionListener): Implemented.
9582 (getActionListeners): New method.
9583 * javax/swing/JFormattedTextField.java
9584 (serialVersionUID): New field.
9585 (AbstractFormatter.serialVersionUID): New field.
9586 (clone): Throws CloneNotSupportedException
9587 (setEditValid): Add missing argument.
9588 (stringToValue): Throws ParseExcpetion.
9589 (valueToString): Throws ParseException.
9590 (commitEdit): Throws ParseException.
9591 * javax/swing/JLabel.java
9592 (serialVersionUID): New field.
9593 * javax/swing/JList.java
9594 (serialVersionUID): New field.
9595 (addListSelectionListener): Reformated.
9596 (removeListSelectionListener): Reformated.
9597 (getListSelectionListeners): New method.
9598 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9600 (serialVersionUID): New field.
9601 * javax/swing/table/AbstractTableModel.java
9602 (getValueAt): Removed.
9603 (getColumnCount): Removed.
9604 (getRowCount): Removed.
9606 2004-02-05 Michael Koch <konqueror@gmx.de>
9608 * java/awt/datatransfer/DataFlavor.java
9609 (imageFlavor): Javadoc added.
9610 (javaJVMLocalObjectType): Fixed.
9612 2004-02-05 Michael Koch <konqueror@gmx.de>
9614 * java/lang/Thread.java
9615 (Thread): Reordered.
9616 (setContextClassLoader): Fixed javadoc comment.
9617 (setPriority): Reordered.
9619 (initialize_native): Reordered.
9620 (gen_name): Reordered.
9622 2004-02-05 Michael Koch <konqueror@gmx.de>
9624 * java/lang/Thread.java: Reordered fields, reformated much code,
9625 no functional changes, some variables renamed, javadoc comments
9628 2004-02-05 Michael Koch <konqueror@gmx.de>
9630 * java/util/zip/Deflater.java,
9631 java/util/zip/DeflaterOutputStream.java,
9632 java/util/zip/GZIPInputStream.java:
9633 Reformated and javadoc comments merged from classpath.
9635 2004-02-05 Michael Koch <konqueror@gmx.de>
9637 * gnu/java/nio/NIOServerSocket.java
9638 (impl): Unused, removed.
9639 * gnu/java/nio/SocketChannelImpl.java
9640 (finnishConnect): Don't throw NoConnectionPendingException if not
9641 connected or no connection pending.
9643 2004-02-02 Graydon Hoare <graydon@redhat.com>
9645 * javax/swing/SwingUtilities.java: Many new functions.
9646 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9647 * javax/swing/basic/BasicGraphicsUtils.java
9648 (getPreferredButtonSize): Start layout from top-left corner.
9650 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9652 * java/awt/geom/AffineTransform.java:
9653 Corrected comments on the field definitions for
9655 (shear): Fixed few errors that caused shear
9656 transformation to be performed incorrectly.
9657 (createInverse): Fixed to return correct
9658 inverse of the given matrix.
9660 2004-02-03 Tom Tromey <tromey@redhat.com>
9662 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9663 PATH or LD_LIBRARY_PATH is not set in parent environment.
9665 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9667 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9668 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9669 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9670 java/awt/Component.java, java/awt/Container.java,
9671 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9672 java/awt/LayoutManager2.java, java/awt/List.java,
9673 java/awt/Menu.java, java/awt/MenuBar.java,
9674 java/awt/MenuItem.java, java/awt/Polygon.java,
9675 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9676 java/awt/Scrollbar.java, java/awt/TextArea.java,
9677 java/awt/TextField.java,
9678 java/awt/image/renderable/RenderContext.java,
9679 javax/swing/JApplet.java: Fix handling of alias methods, where a
9680 method has been deprecated in favour of a new one with the same
9681 funtion but a different name. Put the method implementation in
9682 the deprecated method and have the new method call the
9683 deprecated one. Make all other code call the new method.
9685 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9687 * gnu/java/nio/DatagramChannelImpl.java
9688 (inChannelOperation): New field.
9689 (isInChannelOperation): New accessor.
9690 (setInChannelOperation): New modifier.
9691 (receive): Use capacity() - position() of destination
9692 buffer instead of remaining(). Set and reset our "in
9693 channel operation indicator" before and after delegating
9694 the receive to our datagram socket. Removed testing code.
9695 Update destination buffer's current position if it is
9696 backed by a byte array (hasArray() is true).
9697 (send): Set and reset our "in channel operation indicator"
9698 before and after delegating the send to our datagram socket.
9699 Removed testing code. Update source buffer's current position
9700 if it is backed by a byte array (hasArray() is true).
9701 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9702 Use capacity() - position() of destination buffer instead
9704 * java/net/DatagramSocket.java (receive): Don't throw an
9705 IllegalBlockingModeException if we have a non-blocking
9706 channel which initiated this operation.
9709 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9711 * configure.in: Add pkgconfig check for glib and gthread.
9712 * configure: Regenerate.
9714 2004-02-01 Michael Koch <konqueror@gmx.de>
9716 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9718 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9719 * verify.cc (debug_print): Mark 'fmt' unused.
9721 2004-01-30 Michael Koch <konqueror@gmx.de>
9723 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9724 * configure: Regenerated.
9725 * glib-2.0.m4: Removed.
9726 * gtk-2.0.m4: Removed.
9727 * libart.m4: Removed.
9730 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9732 * gnu/java/net/PlainSocketImpl.java
9733 (inChannelOperation): New field.
9734 (isInChannelOperation): New accessor.
9735 (setInChannelOperation): New modifier.
9736 * gnu/java/nio/ServerSocketChannelImpl.java
9737 (accept): Set and reset our server socket's PlainSocketImpl's
9738 "in channel operation" indicator before and after delegating
9739 the accept to our server socket.
9740 * gnu/java/nio/SocketChannelImpl.java
9741 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9742 operation" indicator before and after delegating the operation to
9746 * java/net/ServerSocket.java (implAccept): Don't throw an
9747 IllegalBlockingModeException if we have a non-blocking
9748 channel which initiated this accept operation.
9749 * java/net/Socket.java (connect): Don't throw an
9750 IllegalBlockingModeException if we have a non-blocking
9751 channel which initiated this connect operation.
9752 * java/nio/channels/spi/AbstractSelectableChannel.java
9753 (configureBlocking): Only call implConfigureBlocking() if
9754 the desired blocking mode is different from our current one.
9756 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9758 * java/io/BufferedReader.java (sbuf): New field.
9759 (readLine): Use String.valueOf instead of new String() as per
9760 Per Bothner's suggestion. Use instance sbuf field instead of a
9761 local StringBuffer instance.
9762 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9763 caller's buffer to refill().
9764 (read(void)): Pass our internal work buffer to refill if our
9765 input queue is empty.
9766 (refill): Changed return type to int. Use the specified buffer
9767 instead of our work buffer as per Bryce McKinlay's suggestion.
9768 Return the number of characters read or -1 for EOF.
9770 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9772 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9774 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9776 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9777 * Makefile.in: Re-generated.
9778 * gnu/awt/xlib/XFontPeer.java: New file.
9779 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9780 (setClip): Commented out debug printout.
9781 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9782 (getFontPeer): Return XFontPeer.
9783 (getLocalGraphicsEnvironment): New method.
9784 (getClasspathFontPeer): New method.
9785 (createFont): New method.
9787 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9789 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9792 2004-01-29 Kim Ho <kho@redhat.com>
9794 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9795 (gtkLayoutSetVisible): New method
9796 (setMenuBar): Hide layout before setting MenuBar
9797 and reshow it after.
9798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9799 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9801 2004-01-28 Michael Koch <konqueror@gmx.de>
9803 * gnu/java/lang/ClassHelper.java
9804 (getPackagePortion): Removed.
9806 2004-01-28 Michael Koch <konqueror@gmx.de>
9808 * javax/swing/JComponent.java
9809 (listenerList): Initalize globally.
9810 (ancestor_list): Removed.
9811 (veto_list): Removed.
9812 (change_list): Removed.
9813 (get_veto_list): Removed.
9814 (get_change_list): Removed.
9815 (get_ancestor_list): Removed.
9816 (removeAncestorListener): Reimplemented.
9817 (removePropertyChangeListener): Likewise.
9818 (removeVetoableChangeListener): Likewise.
9819 (addAncestorListener): Likewise.
9820 (addPropertyChangeListener): Likewise.
9821 (addVetoableChangeListener): Likewise.
9822 (getListeners): New method.
9823 (getAncestorListeners): Likewise.
9824 (getVetoableChangeListeners): Likewise.
9825 (fireVetoableChange): Throws PropertyVetoException.
9826 * javax/swing/JEditorPane.java
9827 (JEditorPane): Throws IOException.
9829 2004-01-28 David Jee <djee@redhat.com>
9831 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9832 (create): Set the default foreground color to
9833 java.awt.SystemColor.windowText.
9835 2004-01-27 Michael Koch <konqueror@gmx.de>
9837 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9838 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9839 Reindented to merge with classpath.
9841 2004-01-27 David Jee <djee@redhat.com>
9843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9844 (addExposeFilter): Handle GtkFramePeer separately.
9845 (removeExposeFilter): Likewise.
9847 2004-01-27 Michael Koch <konqueror@gmx.de>
9849 * gnu/java/net/protocol/http/Connection.java
9850 (getOutputStream): Fixed typo.
9852 2004-01-27 Michael Koch <konqueror@gmx.de>
9854 * java/lang/Class.java
9855 (getConstructor): Removed SecurityException from throws clause.
9856 (_getConstructors): Likewise.
9857 (getConstructors): Likewise.
9858 (getDeclaredConstructor): Likewise.
9859 (getDeclaredClasses): Likewise.
9860 (getDeclaredConstructors): Likewise.
9861 (getDeclaredField): Likewise.
9862 (getDeclaredMethod): Likewise.
9863 (getDeclaredMethods): Likewise.
9864 (getField): Likewise.
9865 (getMethod): Likewise.
9866 (getMethods): Likewise.
9868 2004-01-27 Kim Ho <kho@redhat.com>
9870 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9871 (removeMenuBarPeer): Remove MenuBarPeer argument.
9872 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9873 (dispose): Call native method.
9874 * java/awt/Frame.java (setMenuBar): Create and remove
9875 MenuBar peers only if the Frame has a peer.
9876 (addNotify): Create the MenuBar peer if one exists.
9877 (removeNotify): Remove MenuBar peer if one exists.
9878 * java/awt/Menu.java: Fix imports.
9879 (addNotify): Don't use full class name.
9880 (removeNotify): Call removeNotify on all children.
9881 * java/awt/MenuBar.java (removeNotify): Call
9882 removeNotify on all children.
9883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9884 (removeMenuBarPeer): Remove MenuBarPeer argument.
9885 Iterate through children to find the Frame's MenuBar.
9886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9888 (dispose): Remove references to the MenuComponent.
9890 2004-01-27 Michael Koch <konqueror@gmx.de>
9892 * javax/swing/AbstractCellEditor.java: Reformated.
9893 * javax/swing/DefaultListSelectionModel.java
9894 (listenerList): Made protected.
9895 (addListSelectionListener): Javadoc added.
9896 (removeListSelectionListener): Likewise.
9897 (getListeners): Likewise.
9898 (getListSelectionListeners): Likewise.
9899 * javax/swing/JComboBox.java: Merged copyright year.
9900 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9902 2004-01-26 Andrew Haley <aph@redhat.com>
9904 * javax/swing/table/JTableHeader.java: Extend JComponent
9906 2004-01-26 Kim Ho <kho@redhat.com>
9908 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9911 2004-01-26 Kim Ho <kho@redhat.com>
9913 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9915 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9916 height and let the Layout Managers readjust anything that
9918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9919 (moveLayout): New method. Shift everything in the Gtk
9920 layout in the Y direction by an offset.
9922 2004-01-26 David Jee <djee@redhat.com>
9924 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9925 (handleEvent): Implemented. Handles PaintEvents.
9926 (paint): Implemented. Use GTK native methods to queue updates
9927 for this heavyweight peer.
9928 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9929 (handleEvent): Removed.
9930 * java/awt/Component.java
9931 (paint): Implemented. Explictly paint the heavyweight peer.
9932 (update): Clear the background for heavyweight components.
9933 (paintAll): No need to call peer.paint() anymore.
9934 (processEvent): Don't process PaintEvents here. It's now done in
9935 the peer's handleEvent().
9936 (processPaintEvent): Removed.
9937 * java/awt/Container.java
9938 (paint): No need to call super.paint(). Visit heavyweight
9940 (update): Don't clear the background here. It's done in
9942 (visitChildren): Added check to not recurse into Containers.
9943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9944 (filter_expose_event_handler): New method. Filter unwanted
9945 expose events while painting heavyweight peers.
9946 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9947 New method. Connect filter and block pre_event_handler.
9948 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9949 New method. Disconnect filter and unblock pre_event_handler.
9950 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9951 New method. Invalidate and update given area.
9952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9953 (pre_event_handler): Add checks for unwanted expose events.
9955 2004-01-26 David Jee <djee@redhat.com>
9957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9958 (find_bg_color_widget): For GtkButton, return its child.
9960 2004-01-26 Kim Ho <kho@redhat.com>
9962 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9964 (setMenuBar): Grab MenuBar height and change insets.
9965 (setBounds): Account for MenuBar height.
9966 (postInsetsChangedEvent): Ditto.
9967 (postSizeAllocateEvent): Remove.
9968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9969 (menubar_resize_cb): Remove
9970 (setMenuBarPeer): Remove callback.
9971 (getMenuBarHeight): Use size requisition instead of
9974 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9976 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9977 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9979 (setColumns): Remove FIXME -- peer will retrieve number of
9980 columns by calling getColumns.
9981 (setRows): Likewise for number of rows.
9982 (next_text_number): New field.
9983 (paramString): Fix param string.
9984 (generateName): New method.
9985 (getUniqueLong): New method.
9987 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9989 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9990 image observer of image loading status.
9991 (getImage (String)): Start image production.
9992 (getImage (URL)): Likewise.
9994 2004-01-25 Michael Koch <konqueror@gmx.de>
9996 * java/lang/Class.java: Imports reworked, reformated.
9997 (Class): Javadoc added.
9998 (forName): Likewise.
9999 (getClasses): Likewise.
10000 (getClassLoader): Likewise.
10001 (getComponentType): Likewise.
10002 (getConstructor): Likewise.
10003 (getConstructors): Likewise.
10004 (getDeclaredConstructor): Likewise.
10005 (getDeclaredClasses): Likewise.
10006 (getDeclaredConstructors): Likewise.
10007 (getDeclaredField): Likewise.
10008 (getDeclaredMethod): Likewise.
10009 (getDeclaredMethods): Likewise.
10010 (getDeclaringClass): Likewise.
10011 (getField): Likewise.
10012 (getInterfaces): Likewise.
10013 (getMethod): Likewise.
10014 (getMethods): Likewise.
10015 (getModifiers): Likewise.
10016 (getName): Likewise.
10017 (getResource): Likewise.
10018 (getResourceAsStream): Likewise.
10019 (getSigners): Likewise.
10020 (setSigners): Likewise.
10021 (getSuperclass): Likewise.
10022 (isArray): Likewise.
10023 (isAssignableFrom): Likewise.
10024 (isInstance): Likewise.
10025 (isInterface): Likewise.
10026 (isPrimitive): Likewise.
10027 (newInstance): Likewise.
10028 (getProtectionDomain): Likewise.
10029 (toString): Likewise.
10031 (initializeClass): Likewise.
10032 (finalize): Likewise.
10034 2004-01-24 Michael Koch <konqueror@gmx.de>
10036 * gnu/java/net/protocol/jar/Connection.java
10037 (hdrHash): Removed.
10039 (gotHeaders): Removed.
10040 (getHeaderField): Removed.
10041 (getHeaderFields): Removed.
10042 (getHeaderFieldKey): Removed.
10044 (getField): Removed.
10045 (getHeaders): Removed.
10047 2004-01-24 Michael Koch <konqueror@gmx.de>
10049 * Makefile.am: Added library version to gtk peer lib.
10050 * Makefile.in: Regenerated.
10052 2004-01-24 Michael Koch <konqueror@gmx.de>
10054 * java/util/zip/InflaterInputStream.java: Merged class documentation
10057 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10059 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10060 header. For __powerpc64__ provide the default-signal.h definitions
10062 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10063 instead of the dummy definitions.
10064 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10065 (powerpc64*-*): Remove with_libffi_default.
10066 Only add -mminimal-toc for 64-bit compilations.
10067 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10068 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10069 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10070 * configure: Rebuilt.
10072 2004-01-23 Michael Koch <konqueror@gmx.de>
10074 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10076 2004-01-23 Michael Koch <konqueror@gmx.de>
10078 * java/lang/VMClassLoader.java: Reworked imports.
10080 2004-01-23 Michael Koch <konqueror@gmx.de>
10082 * javax/swing/AbstractAction.java: Reformated.
10084 2004-01-23 Michael Koch <konqueror@gmx.de>
10086 * java/text/CollationElementIterator.java:
10087 (setText): New method.
10089 2004-01-23 Michael Koch <konqueror@gmx.de>
10091 * gnu/java/nio/FileLockImpl.java:
10092 Fixed filename in copyright.
10093 (released): Removed.
10094 (finalize): New method.
10095 * gnu/java/nio/natFileLockImpl.cc
10096 (releaseImpl): Implemented.
10097 * java/nio/channels/FileChannelImpl.java:
10099 (lock): Implemented.
10100 (lockImpl): New method.
10101 (tryLock): Implemented.
10102 (tryLockImpl): New method.
10103 * java/nio/channels/natFileChannelImpl.cc
10104 (lockImpl): New method.
10105 (tryLockImpl): New method.
10107 2004-01-23 Michael Koch <konqueror@gmx.de>
10109 * java/io/FileDescriptor.java
10110 (lock): New method.
10111 (tryLock): New method.
10112 (unlock): New method.
10113 * java/io/natFileDescriptorEcos.cc
10114 (lock): New method.
10115 (tryLock): New method.
10116 (unlock): New method.
10117 * java/io/natFileDescriptorPosix.cc
10118 (lock): New method.
10119 (tryLock): New method.
10120 (unlock): New method.
10121 * java/io/natFileDescriptorWin32.cc
10122 (lock): New method.
10123 (tryLock): New method.
10124 (unlock): New method.
10126 2004-01-23 Michael Koch <konqueror@gmx.de>
10128 * java/io/FileDescriptor.java
10129 (sync): Moved around, added javadoc.
10134 (setLength): Likewise.
10136 (getLength): Likewise.
10137 (getFilePointer): Likewise.
10139 (available): Likewise.
10140 (finalize): Likewise.
10142 2004-01-23 Michael Koch <konqueror@gmx.de>
10144 * javax/swing/AbstractAction.java: Reformated.
10145 (getPropertyChangeListeners): New method.
10146 * javax/swing/AbstractCellEditor.java: Reformated.
10147 (getCellEditorListeners): New method.
10148 * javax/swing/DefaultListSelectionModel.java
10149 (listenerList): New field.
10150 (listeners): Removed.
10151 (get_listeners): Removed.
10152 (addListSelectionListener): Rewritten.
10153 (removeListSelectionListener): Rewritten.
10154 (getListSelectionListeners): New method.
10155 (getListeners): New method.
10156 * javax/swing/JComboBox.java: Imports reworked.
10157 (addActionListener): Implemented.
10158 (removeActionListener): Implemented.
10159 (addItemListener): Implemented.
10160 (removeItemListener): Implemented.
10161 (addPopupMenuListener): Implemented.
10162 (removePopupMenuListener): Implemented.
10163 (getActionListeners): New method.
10164 (getItemListeners): New method.
10165 (getPopupMenuListeners): New method.
10167 2004-01-23 Michael Koch <konqueror@gmx.de>
10169 * gnu/java/net/protocol/http/Connection.java
10170 (connect): Don't initialize bufferedOutputStream if not needed.
10171 (sendRequest): Set property for content length if content is present.
10172 Write content only if present.
10173 (getOutputStream): Check if already connected, dont connect,
10174 initalize bufferedOutputStream if needed.
10176 2004-01-23 Michael Koch <konqueror@gmx.de>
10178 * java/io/FileDescriptor.java
10179 (in, out, err): Added javadoc.
10180 (static): Merged loading code.
10181 (fd, position): Moved around.
10183 2004-01-23 Michael Koch <konqueror@gmx.de>
10185 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10188 2004-01-23 Michael Koch <konqueror@gmx.de>
10190 * java/lang/Class.java,
10191 java/lang/Object.java,
10192 java/lang/Thread.java: Merged copyright with classpath.
10194 2004-01-23 Michael Koch <konqueror@gmx.de>
10196 * java/io/FileDescriptor.java: Merged copyright with classpath to
10197 start merging this class.
10199 2004-01-22 Tom Tromey <tromey@redhat.com>
10202 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10203 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10204 * testsuite/libjava.lang/pr13107_3.java: New file.
10205 * testsuite/libjava.lang/pr13107_3.out: New file.
10206 * testsuite/libjava.lang/pr13107_2.java: New file.
10207 * testsuite/libjava.lang/pr13107_2.out: New file.
10208 * testsuite/libjava.lang/pr13107.java: New file.
10209 * testsuite/libjava.lang/pr13107.out: New file.
10210 * verify.cc (jsr_ptrs): Removed.
10211 (entry_points): Likewise.
10212 (struct subr_info): Likewise.
10213 (struct subr_entry_info): Likewise.
10214 (type_val::unused_by_subroutine_type): Likewise.
10215 (type::merge): Don't handle unused_by_subroutine_type.
10216 (type::print): Likewise.
10217 (state::flags): Removed.
10218 (state::subroutine): Likewise.
10219 (state::seen_subrs): Likewise.
10220 (state::NO_STACK): Likewise.
10221 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10222 (state): Updated all methods.
10223 (state::clean_subrs): Removed.
10224 (state::state): Removed `ret_semantics' flag.
10225 (state::copy): Likewise.
10226 (state::add_subr): Removed.
10227 (state::enter_subroutine): Likewise.
10228 (type::set_return_address): New method.
10229 (handle_jsr_insn): Set return address on the type. Always
10230 invalidate PC after call.
10231 (check_nonrecursive_call): Removed.
10232 (~_Jv_BytecodeVerifier): Updated.
10233 (branch_prepass): Removed special handling of jsr.
10234 (note_branch_target): Likewise.
10235 (get_subroutine): Removed.
10236 (state::merge): Don't merge subroutines and don't handle
10237 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10238 (state::note_variable): Removed.
10239 (state::is_unmerged_ret_state): Likewise.
10240 (state::print): Updated.
10241 (set_variable): Likewise.
10242 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10243 and jsr_semantics arguments. Updated for new reverification
10245 (pop_jump): Rewrote.
10246 (construct_primitive_array_type): Updated.
10247 (state::next): Removed.
10248 (INVALID_STATE): New define.
10249 (state::INVALID): Removed.
10250 (state::NO_NEXT): New value.
10251 (state::pc, state::next): New fields.
10252 (state::get_pc): New method.
10253 (next_verify_pc): Removed.
10254 (next_verify_state): New field.
10255 (verify_instructions_0): Always check for falling off end.
10256 (linked): New type.
10257 (linked_utf8): Removed.
10258 (states): Changed type.
10259 (type::state_mergeable_p): New method.
10260 (state::state_mergeable_p): Likewise.
10261 (handle_ret_insn): Removed most code.
10262 (state::reverify): New method.
10263 (add_new_state): Likewise.
10264 (state::set_pc): Likewise.
10266 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10269 * testsuite/libjava.compile/PR13733.java: New file.
10270 * testsuite/libjava.compile/PR13733.xfail: New file.
10272 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10273 Michael Koch <konqueror@gmx.de>
10275 * javax/swing/table/DefaultTableCellRenderer.java
10276 (DefaultTableCellRenderer): Added javadoc for the class and for
10277 the constructor, Border instance, create an EmptyBorder.
10278 (UIResource): Removed the comment at the end of the class
10279 (setForeground): New method.
10280 (setBackground): New method.
10281 (updateUI): New method.
10282 (getTableCellRendererComponent): Rewritten with the help of
10283 dvholten and Stephane Meslin-Weber.
10284 (validate): New method.
10285 (repaint): New method.
10286 (firePropertyChange): New method.
10287 (setValue): New method.
10289 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10292 (connectJObject): Replace printf calls with g_assert statements.
10293 Move property-notify-event signal connection to ...
10294 (connectSignals): Connect property-notify-event signal. Iterate
10295 through the vbox's children to find layout.
10297 2004-01-22 Graydon Hoare <graydon@redhat.com>
10299 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10300 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10301 Predicate static initialization on GtkToolkit.useGraphics2D().
10302 * java/awt/Component.java (processPaintEvent): Consume event.
10303 * javax/swing/AbstractButton.java: Reimplement, document.
10304 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10305 * javax/swing/JComponent.java (paint): Use double buffer.
10306 (listenerList): Enable member.
10307 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10308 * javax/swing/JToggleButton.java
10309 (JToggleButton): Modify model constructor.
10310 * javax/swing/SwingUtilities.java
10311 (layoutCompoundLabel): Adjust arithmetic.
10312 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10313 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10314 (getPreferredButtonSize): Include margins in calculation.
10315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10316 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10317 Receive up events from subordinate layout component.
10319 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10321 * java/awt/Component.java (show): Set visible to true before
10324 2004-01-21 Kim Ho <kho@redhat.com>
10326 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10328 (removeMenuBarPeer): Make package private.
10329 (setMenuBarPeer): Make package private.
10330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10331 (menubar_resize_cb): Mark attributes unused.
10332 (getMenuBarHeight): ditto.
10334 2004-01-21 David Jee <djee@redhat.com>
10336 * java/awt/Container.java
10337 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10338 dispatching MOUSE_ENTERED event twice. Translate the point for
10339 the mouse event target before dispatching the event.
10341 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10343 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10344 lib_org_w3c_dom_la_LDFLAGS): New.
10345 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10346 * Makefile.in: Rebuilt.
10348 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10350 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10351 Calculate proper offsets for heavyweight components packed in
10352 lightweight containers.
10354 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10355 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10356 (native create): Add width parameter.
10357 (create): Calculate text entry width based on current font's
10358 metrics and number of columns. Set TextField's font if not
10359 already set. Call native create.
10360 (gtkEntryGetBorderWidth): New native method.
10361 (gtkEntryGetSize): Remove method.
10362 (getMinimumSize): Call minimumSize.
10363 (getPreferredSize): Call preferredSize.
10364 (minimumSize): Calculate minimum size based on backing
10365 GtkEntry's borders, font metrics and number of columns.
10366 (preferredSize): Likewise for preferred size.
10367 (get_border_width): New static function.
10369 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10370 Override GtkWindowPeer's setResizable method to account for menu
10371 bar height when setting the frame's size.
10373 2004-01-19 Matthias Klose <doko@debian.org>
10375 * libtool-version: Increased `current' to 6.
10377 2004-01-19 Kim Ho <kho@redhat.com>
10379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10380 (connectJObject): Iterate through the vbox's children to find layout.
10382 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10384 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10385 isDispatchThread method to replace wrong test condition.
10387 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10389 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10390 events to the queue out of order by acquiring locks in the proper
10391 order and not by releasing one before acquiring the other.
10393 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10395 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10396 visible so that dialog can be reused.
10398 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10400 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10401 events may be handled by any queue in the stack.
10403 2004-01-19 Kim Ho <kho@redhat.com>
10405 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10406 MenuBarPeer parameter.
10407 (removeMenuBarPeer): New native method.
10408 (setMenuBar): Call remove if menu bar is null. Adjust insets
10410 (postSizeAllocateEvent): New method. Called when menu bar size is
10411 allocated. Adjust insets and redo layout.
10412 (GtkFramePeer): Set menu bar during frame creation.
10413 (postConfigureEvent): Adjust position and size to accomodate
10415 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10416 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10417 (addNotify): Create the peer if it doesn't exist and call addNotify
10418 for the menu's items.
10419 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10420 * java/awt/MenuItem.java (addNotify): Create the peer if it
10422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10423 (removeMenuBarPeer): New method. Remove menu bar on the current
10425 (setMenuBarPeer): Add the menu bar to the current frame and the
10426 callback for size-allocate events on the menu bar.
10427 (getMenuBarHeight): Add menu bar parameter.
10428 (menubar_resize_cb): New callback method for postSizeAllocate events.
10430 Also: Fix indentation on last ChangeLog entry.
10432 2004-01-16 Kim Ho <kho@redhat.com>
10434 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10435 (gtkWidgetGetDimensions): Remove.
10436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10437 (gtkWidgetGetDimensions): Remove.
10439 2004-01-16 Tom Tromey <tromey@redhat.com>
10441 * java/awt/Container.java: Typo and indentation fixes.
10443 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10444 * java/lang/natVMClassLoader.cc: ...here. New file.
10445 * Makefile.in: Rebuilt.
10446 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10448 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10451 Discard GDK_ENTER_NOTIFY related to ungrabs.
10453 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10455 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10456 is called for an intermediate queue.
10458 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10461 (window_property_changed_cb): Set id_set.
10463 2004-01-16 Kim Ho <kho@redhat.com>
10465 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10466 it is a FileDialog and has dimensions of 0 by 0, then the initial
10467 size is set to size request plus insets.
10468 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10469 (gtkWidgetGetDimensions): Override method.
10470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10471 (gtkWidgetGetDimensions): Override method. Returns size request plus
10474 2004-01-16 Andrew Haley <aph@redhat.com>
10476 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10477 * sysdep/i386/locks.h: Likewise.
10479 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10481 * java/awt/EventDispatchThread.java (run): Stop running when
10483 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10484 Reset the queue after transferring its contents.
10485 (push): Start a new dispatch thread if none is running.
10487 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
10489 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10490 (doPolygon): set fill rule of polygon to
10491 WIND_EVEN_ODD by default.
10493 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10495 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10496 Implemented rendering hints related methods.
10497 (getDefaultHints): New helper method. Returns
10498 default rendering hints.
10499 (walkPath): changed to normalize path if
10500 the KEY_STROKE_CONTROL key is in "normalize" mode.
10501 (draw3DRect): changed coordinates of rectangle by +0.5
10502 if in "normalize" mode.
10504 2004-01-15 Tom Tromey <tromey@redhat.com>
10506 * Makefile.in: Rebuilt.
10507 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10508 (%.lo: %.java) Filter out StackTrace.lo.
10510 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10512 * configure.in: Add in AC_PREREQ(2.13)
10513 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10516 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10517 Tom Tromey <tromey@redhat.com>
10520 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10521 array to superclass.
10522 (init): Changed interface; add URLs here.
10523 (initialize): New static method.
10524 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10525 (_Jv_RunMain): ... not here.
10527 2004-01-14 Michael Koch <konqueror@gmx.de>
10529 * java/text/MessageFormat.java:
10530 Added descriptions to exceptions.
10531 This fixes PR libgcj/2429.
10533 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10535 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10536 (push): Make sure push is performed at the top of the thread stack.
10538 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10540 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10541 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10542 (native create): Add width and height parameters. Set text
10543 view's size request according to new parameters.
10544 (create): Calculate text view size based on current font's
10545 metrics and number of rows and columns. Set TextArea's font if
10546 not already set. Call native create.
10547 (getMinimumSize): Call minimumSize.
10548 (getPreferredSize): Call preferredSize.
10549 (getHScrollbarHeight): New method.
10550 (getVScrollbarWidth): New method.
10551 (minimumSize): Calculate minimum size based on scrollbar
10552 visibility, scrollbar sizes, font metrics and number of rows and
10554 (preferredSize): Likewise for preferred size.
10555 (gtkTextGetSize): Remove method.
10557 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10559 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10560 (initializeInsets): Remove method.
10561 (GtkComponentPeer): Initialize insets field. Remove call to
10563 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10565 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10567 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10568 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10569 (latestInsets): Remove field.
10570 (native create): Add insets parameter. Call
10571 window_get_frame_extents. Set the window's default size and
10572 size request based on its frame extents.
10573 (create): Initialize insets.
10574 (postInsetsChangedEvent): New method.
10575 (postConfigureEvent): Remove parameters top, left, bottom,
10576 right. Remove insets-related logic.
10577 (connectJObject): Handle property-notify-event.
10578 (window_get_frame_extents, request_frame_extents,
10579 property_notify_predicate, window_property_changed_cb): New
10581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10582 (pre_event_handler): Remove insets-related logic for configure
10584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10585 Update postConfigureEvent signature.
10587 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10589 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10590 to handle Window "Closing" events.
10592 2004-01-13 David Jee <djee@redhat.com>
10594 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10595 (setBackground): New method. Children with no explicitly-set
10596 background will be repainted with the parent container's new
10599 2004-01-13 David Jee <djee@redhat.com>
10601 * Makefile.am: Add BitwiseXORComposite.java.
10602 * Makefile.in: Regenerated.
10603 * gcj/Makefile.in: Regenerated.
10604 * include/Makefile.in: Regenerated.
10605 * testsuite/Makefile.in: Regenerated.
10607 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10609 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10610 not show modal dialogs twice and so that it allows showing a modal
10611 dialog from another modal dialog.
10613 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10615 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10616 and run secondary dispatch thread to process event queue while this
10619 2004-01-12 Graydon Hoare <graydon@redhat.com>
10621 * gnu/java/awt/gtk/GdkGraphics2D.java
10622 (static): Check GtkToolkit before initializing static state.
10623 (Graphics2D): Don't construct transform with 0.5 unit offset.
10625 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10627 * gnu/java/awt/BitwiseXORComposite.java: Add.
10628 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10629 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10630 (BitwiseXORComposite): Remove inner class.
10632 2004-01-11 Michael Koch <konqueror@gmx.de>
10634 * gnu/java/lang/reflect/TypeSignature.java
10635 (getEncodingOfClass): Documentation fixed.
10636 (getClassForEncoding): Give class loader to Class.forName().
10637 Documentation fixed.
10639 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10641 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10643 2004-01-11 Michael Koch <konqueror@gmx.de>
10645 * javax/swing/undo/StateEditable.java
10646 (RCSID): Removed redundant modifiers.
10648 2004-01-10 Michael Koch <konqueror@gmx.de>
10650 * javax/print/attribute/EnumSyntax.java
10651 (getStringTable): Made protected.
10652 (getEnumValueTable): Likewise.
10653 * javax/print/attribute/standard/JobKOctetsProcessed.java
10654 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10655 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10656 (JobMediaSheetsCompleted): Made class final.
10657 * javax/print/attribute/standard/OutputDeviceAssigned.java
10658 (getName): Fixed typo.
10659 * javax/print/attribute/standard/RequestingUserName.java
10660 (serialVersionUID): Fixed value.
10662 2004-01-10 Michael Koch <konqueror@gmx.de>
10664 * javax/swing/plaf/basic/BasicButtonUI.java,
10665 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10666 javax/swing/plaf/basic/BasicListUI.java,
10667 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10668 javax/swing/plaf/basic/BasicPanelUI.java,
10669 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10670 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10671 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10672 javax/swing/plaf/basic/BasicViewportUI.java:
10673 Fixed import statements.
10675 2004-01-10 Michael Koch <konqueror@gmx.de>
10677 * gnu/java/awt/image/ImageDecoder.java
10678 (produce): Made public.
10679 * gnu/java/awt/peer/GLightweightPeer.java,
10680 gnu/java/awt/peer/gtk/GtkToolkit.java:
10683 2004-01-10 Michael Koch <konqueror@gmx.de>
10685 * javax/swing/JRadioButtonMenuItem.java,
10686 javax/swing/JSeparator.java,
10687 javax/swing/JSplitPane.java,
10688 javax/swing/JTextPane.java,
10689 javax/swing/JToolBar.java,
10690 javax/swing/ListCellRenderer.java,
10691 javax/swing/ListModel.java,
10692 javax/swing/MenuElement.java,
10693 javax/swing/OverlayLayout.java,
10694 javax/swing/ProgressMonitor.java,
10695 javax/swing/ProgressMonitorInputStream.java,
10696 javax/swing/Renderer.java,
10697 javax/swing/RootPaneContainer.java,
10698 javax/swing/Scrollable.java,
10699 javax/swing/SingleSelectionModel.java,
10700 javax/swing/ToolTipManager.java,
10701 javax/swing/ViewportLayout.java,
10702 javax/swing/event/DocumentEvent.java,
10703 javax/swing/event/SwingPropertyChangeSupport.java,
10704 javax/swing/event/TreeSelectionEvent.java,
10705 javax/swing/event/UndoableEditEvent.java,
10706 javax/swing/text/AbstractDocument.java,
10707 javax/swing/text/AttributeSet.java,
10708 javax/swing/text/Caret.java,
10709 javax/swing/text/ComponentView.java,
10710 javax/swing/text/DefaultCaret.java,
10711 javax/swing/text/DefaultEditorKit.java,
10712 javax/swing/text/Document.java,
10713 javax/swing/text/EditorKit.java,
10714 javax/swing/text/GapContent.java,
10715 javax/swing/text/Keymap.java,
10716 javax/swing/text/MutableAttributeSet.java,
10717 javax/swing/text/PlainEditorKit.java,
10718 javax/swing/text/Segment.java,
10719 javax/swing/text/Style.java,
10720 javax/swing/text/StyledDocument.java,
10721 javax/swing/text/StyledEditorKit.java,
10722 javax/swing/text/TextAction.java,
10723 javax/swing/text/View.java: Fixed import statements.
10725 2004-01-08 Graydon Hoare <graydon@redhat.com>
10727 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10728 djee@redhat.com's recent inverse ordering of Container elements.
10730 2004-01-09 Michael Koch <konqueror@gmx.de>
10732 * gnu/java/lang/ArrayHelper.java
10733 (equalsArray): Removed.
10735 2004-01-09 Andrew Haley <aph@redhat.com>
10737 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10738 a Utf8Const field before looking at its class.
10740 2004-01-09 Michael Koch <konqueror@gmx.de>
10742 * javax/print/attribute/standard/DocumentName.java,
10743 javax/print/attribute/standard/JobHoldUntil.java,
10744 javax/print/attribute/standard/JobMessageFromOperator.java,
10745 javax/print/attribute/standard/JobName.java,
10746 javax/print/attribute/standard/JobOriginatingUserName.java,
10747 javax/print/attribute/standard/OutputDeviceAssigned.java,
10748 javax/print/attribute/standard/PrinterInfo.java,
10749 javax/print/attribute/standard/PrinterLocation.java,
10750 javax/print/attribute/standard/PrinterMakeAndModel.java,
10751 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10752 javax/print/attribute/standard/PrinterName.java,
10753 javax/print/attribute/standard/RequestingUserName.java: New files.
10754 * Makefile.am (javax_source_files): Added new files.
10755 * Makefile.in: Regenerated.
10757 2004-01-09 Michael Koch <konqueror@gmx.de>
10759 * javax/swing/AbstractAction.java,
10760 javax/swing/AbstractSet.java,
10761 javax/swing/Action.java,
10762 javax/swing/ActionMap.java,
10763 javax/swing/BoundedRangeModel.java,
10764 javax/swing/ButtonModel.java,
10765 javax/swing/CellEditor.java,
10766 javax/swing/CellRendererPane.java,
10767 javax/swing/ComboBoxEditor.java,
10768 javax/swing/DebugGraphics.java,
10769 javax/swing/DefaultCellEditor.java,
10770 javax/swing/DefaultCellRenderer.java,
10771 javax/swing/DefaultComboBoxModel.java,
10772 javax/swing/DefaultDesktopManager.java,
10773 javax/swing/DefaultFocusManager.java,
10774 javax/swing/DefaultListCellRenderer.java,
10775 javax/swing/Icon.java,
10776 javax/swing/JButton.java,
10777 javax/swing/JCheckBoxMenuItem.java,
10778 javax/swing/JDesktopPane.java,
10779 javax/swing/JEditorPane.java,
10780 javax/swing/JMenu.java,
10781 javax/swing/JPanel.java,
10782 javax/swing/JPasswordField.java,
10783 javax/swing/JPopupMenu.java,
10784 javax/swing/JProgressBar.java: Reworked imports.
10786 2004-01-09 Michael Koch <konqueror@gmx.de>
10788 * java/awt/geom/PathIterator.java
10789 (WIND_EVEN_ODD): Removed redundant modifiers.
10790 (WIND_NON_ZERO): Likewise.
10791 (SEG_MOVETO): Likewise.
10792 (SEG_LINETO): Likewise.
10793 (SEG_QUADTO): Likewise.
10794 (SEG_CUBICTO): Likewise.
10795 (SEG_CLOSE): Likewise.
10796 * java/awt/image/SinglePixelPackedSampleModel.java:
10797 Removed redundant semicolon.
10798 * java/io/ObjectInputStream.java
10799 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10800 * java/util/logging/Filter.java
10801 (isLoggable): Removed redundant modifier.
10802 * java/util/logging/LogManager.java:
10803 Removed redundant semicolon.
10804 * java/util/logging/XMLFormatter.java
10805 (format): Removed unused variable "key".
10807 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10809 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10810 New name for the former setFile native method.
10811 (setFile): New method.
10812 (setDirectory): Implemented.
10813 (connectSignals): New native method.
10814 (setFilenameFilter): Improve comment.
10815 (getGraphics): Comment.
10816 (gtkHideFileDialog): New method.
10817 (gtkDisposeFileDialog): New method.
10818 (gtkSetFilename): New method.
10819 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10820 for FileDialog for now.
10821 (hide): New method.
10822 (dispose): New method.
10823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10824 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10825 deprecated creation functions. Make dialog modal. Add it to the
10827 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10829 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10831 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10833 (window_closed): New function.
10834 (ok_clicked): New function.
10835 (cancel_clicked): New function.
10837 2004-01-08 Michael Koch <konqueror@gmx.de>
10839 * javax/swing/JLayeredPane.java: Revert changes to standard
10840 boilerplate, reworked imports.
10842 2004-01-07 Tom Tromey <tromey@redhat.com>
10845 * verify.cc (state::merge): Copy changed locals out of subroutine
10847 (state::FLAG_CHANGED): New const.
10848 (state::FLAG_UNUSED): Likewise.
10849 (state::local_changed): Removed. Updated all users.
10850 (state::flags): New field.
10851 (state::merge): Added jsr_semantics argument, more logic.
10852 (push_jump_merge): Added jsr_semantics argument.
10853 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10854 merging through the jsr instruction.
10856 2004-01-07 Tom Tromey <tromey@redhat.com>
10858 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10861 2004-01-07 Graydon Hoare <graydon@redhat.com>
10863 * java/awt/Container.java (LightweightDispatcher): Implement.
10864 (visitChild): Reuse graphics object.
10865 (dispatchEventImpl): Optionally dispatch to lightweight.
10866 (addNotifyContainerChildren): Build LightweightDispatcher.
10868 2004-01-07 David Jee <djee@redhat.com>
10870 * java/awt/Container.java
10871 (update): Clear only the clipped region, instead of clearing the
10873 (visitChildren): Visit children in descending order.
10875 2004-01-07 Michael Koch <konqueror@gmx.de>
10877 * java/lang/reflect/Array.java: Merged documentation with classpath.
10879 2004-01-07 Michael Koch <konqueror@gmx.de>
10881 * java/text/CollationElementIterator.java
10882 (textIndex): Renamed from index.
10883 * java/text/CollationKey.java
10884 (collator): New member.
10885 (CollationKey): New argument for parent collator.
10886 (equals): Check for same collator, source string and key array.
10887 * java/text/RuleBasedCollator.java:
10889 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10891 (getCollationElementIterator): Rewritten.
10892 (getCollationKey): Added new argument to CollationKey constructor.
10894 2004-01-07 Michael Koch <konqueror@gmx.de>
10896 * gnu/java/nio/DatagramChannelImpl.java
10897 (blocking): Removed.
10898 (DatagramChannelImpl): Call configureBlocking().
10899 (implConfigureBlocking): Dont initialize blocking.
10900 * gnu/java/nio/ServerSocketChannelImpl.java
10901 (blocking): Removed.
10902 (ServerSocketChannelImpl): Call configureBlocking().
10903 (implConfigureBlocking): Dont initialize blocking.
10904 * gnu/java/nio/SocketChannelImpl.java
10905 (blocking): Removed.
10906 (SocketChannelImpl): Call configureBlocking().
10907 (implConfigureBlocking): Dont initialize blocking.
10908 (connect): Use isBlocking().
10909 * java/nio/channels/spi/AbstractSelectableChannel.java
10910 (configureBlocking): Use blockingLock() instead of LOCK.
10911 Set blocking after successfully called implConfigureBlocking().
10912 (register): Use blockingLock() instead of LOCK.
10914 2004-01-07 Michael Koch <konqueror@gmx.de>
10916 * java/net/ServerSocket.java (isBound): Fixed documentation.
10918 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10920 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10921 (changeEvent): Create event object on demand.
10922 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10923 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10924 fireStateChanged): Re-written.
10925 * javax/swing/event/EventListenerList.java: Reformatted, document
10927 (toString): Implemented.
10928 (getListeners): Re-written.
10929 (remove): Re-written.
10931 (NO_LISTENERS): New singleton field.
10932 (listenerList): Declare as transient; document.
10933 (serialVersionUID): Document.
10934 (getListenerCount(Class)): More efficient implementation,
10935 also accepts null argument. Improve Javadoc.
10936 (getListenerCount()): Remove unnecessary cast; docfix.
10937 * javax/swing/undo/UndoableEditSupport.java:
10938 Re-format, document.
10939 (UndoableEditSupport): Set realSource field. Improve documentation.
10940 (_postEdit): Iterate over cloned listener vector.
10941 (toString): Don't emit realSource.
10942 (beginUpdate, endUpdate): Support nested updates.
10943 (postEdit): Use compound edit if present.
10945 2004-01-06 Graydon Hoare <graydon@redhat.com>
10947 * java/awt/Container.java (swapComponents): Add forgotten
10948 function, required for JLayeredPane change.
10950 2004-01-06 Michael Koch <konqueror@gmx.de>
10952 * java/text/CollationElementIterator.java: Reformated.
10953 (CollationElementIterator): Changed order of arguments.
10954 * java/text/RuleBasedCollator.java
10955 (RuleBasedCollator): Merged class documentation.
10956 (CollationElement): Added documentation.
10957 (compare): Reformated, renamed arguments.
10958 (equals): Likewise.
10959 (getCollationElementIterator): Likewise.
10960 (getCollationKey): Likewise.
10962 2004-01-06 Graydon Hoare <graydon@redhat.com>
10964 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10966 2004-01-06 Michael Koch <konqueror@gmx.de>
10968 * gnu/java/net/protocol/file/Connection.java:
10969 Reformated copyright.
10970 (hdrHash): Removed.
10972 (gotHeaders): Removed.
10973 (getHeaderField): Removed.
10974 (getHeaderField): Removed.
10975 (getHeaderFieldKey): Removed.
10977 (getField): Removed.
10978 (getHeaders): Removed.
10980 2004-01-06 Michael Koch <konqueror@gmx.de>
10982 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10983 javax/print/attribute/standard/DateTimeAtCreation.java,
10984 javax/print/attribute/standard/DateTimeAtProcessing.java,
10985 javax/print/attribute/standard/JobImpressionsCompleted.java,
10986 javax/print/attribute/standard/JobKOctets.java,
10987 javax/print/attribute/standard/JobKOctetsProcessed.java,
10988 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10989 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10990 * Makefile.am (javax_source_files): Added new files.
10991 * Makefile.in: Regenerated.
10993 2004-01-06 Michael Koch <konqueror@gmx.de>
10995 * java/net/URLConnection.java
10996 (contentHandler): Removed.
10998 (getHeaderFields): Return an empty map instead of null.
10999 (getContent): Connect if needed, renamed "cType" to "type" and
11000 "contentHandler" to "ch" and made it a local variable.
11001 (getPermission): Don't use package in class name.
11002 (setDefaultRequestProperty): Fixed typo in documentation.
11003 (initializeDateFormats): Made locale a local variable.
11005 2004-01-06 Michael Koch <konqueror@gmx.de>
11007 * java/lang/Package.java
11008 (getPackage): Get the current class loader directly.
11009 * java/lang/SecurityManager.java
11010 (currentLoadedClass): Dont iterate over class contexts.
11011 (classLoaderDepth): Don't check class loaders if everything is allowed.
11013 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11016 (pre_event_handler): Set all insets to 0 when a Configure event
11017 is received for a GtkPlug.
11018 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11019 Make handle long, not int.
11020 (EmbeddedWindow()): New constructor.
11021 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11023 (setHandle): New method.
11024 (getHandle): Return long, not int.
11025 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11027 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11028 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11029 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11030 argument to GdkNativeWindow.
11031 (construct): New method.
11032 (embed): New method.
11034 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11035 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11036 (create(int, int)): New method.
11037 (create): Call new create method.
11038 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11040 (childResized): Remove native implementation. Implement in
11042 (getHScrollbarHeight, getVScrollbarWidth): Call
11043 gtk_widget_size_request to get scrollbar dimensions.
11044 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11045 call getVScrollbarWidth and getHScrollbarHeight when vertical
11046 and horizontal scrollbars respectively are needed.
11047 (doLayout): Enlarge child if it is smaller than the viewport.
11049 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11051 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11052 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11053 argument as per spec.
11055 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11057 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11059 (remove): Ditto. Also, Check for valid argument.
11060 (removeAll): Use peer interface method.
11061 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11062 native add function.
11063 (nativeRemove): New name for native remove function.
11064 (getHistory): New native function.
11065 (constructor): Generate ItemEvent.
11066 (add): Ditto, if selection is changed.
11067 (remove): Ditto, ditto.
11068 (removeAll): Add implementation.
11069 (handleEvent): Remove. Dead code.
11070 (choicePostItemEvent): Add comment.
11071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11072 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11073 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11074 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11075 comments and fix condition to change selection.
11076 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11077 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11078 remove all capability.
11079 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11080 (item_activate): Add cast to remove compiler warning.
11082 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11084 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11085 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11086 (getPreferredSize): Call preferredSize.
11087 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11088 (getMinimumSize): Call minimumSize.
11089 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11090 (gtkWidgetGetDimensions): Return the peer widget's current size
11092 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11093 natural size request.
11095 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11097 Thanks to Brian Gough <bjg@network-theory.com>
11098 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11099 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11101 2004-01-04 Matthias Klose <doko@debian.org>
11103 * aclocal.m4: Rebuilt using "aclocal -I .".
11104 * configure: Rebuilt.
11106 2004-01-03 Per Bothner <per@bothner.com>
11108 * java/util/Date.java (parse): Fix a number of problems.
11109 (skipParens): Remove no-longer-needed method.