]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
re PR c/17730 (Regression in diagnost message "invalid lvalue in unary %<&%>")
[gcc.git] / libjava / ChangeLog
CommitLineData
0aa36026
MK
12004-09-30 Michael Koch <konqueror@gmx.de>
2
3 * java/net/InetAddress.java: Reformatted.
4 (loopback): Initialize with Inet4Address object.
5 (static): Initialize ANY_IF with Inet4Address object.
6 (InetAddress): Removed unused package-private constructor.
7
57da15a4
MK
82004-09-30 Michael Koch <konqueror@gmx.de>
9
10 * java/beans/Beans.java,
11 java/beans/EventHandler.java,
12 java/beans/EventSetDescriptor.java,
13 java/beans/Introspector.java,
14 java/beans/PropertyEditorManager.java,
15 java/beans/beancontext/BeanContext.java,
16 java/beans/beancontext/BeanContextChild.java,
17 java/beans/beancontext/BeanContextChildSupport.java,
18 java/beans/beancontext/BeanContextMembershipEvent.java:
19 Reordered import statements and removed redundant modifiers.
20
c8dc36d6
TT
212004-09-29 Tom Tromey <tromey@redhat.com>
22
26aed923
TT
23 PR libgcj/17715:
24 * Makefile.in: Rebuilt.
25 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
26 files.
27 (all_property_files): New macro.
28
c8dc36d6
TT
29 * Makefile.in: Rebuilt.
30 * Makefile.am (ordinary_java_source_files): Re-sorted.
31 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
32
bd1c8428
TT
332004-09-28 Tom Tromey <tromey@redhat.com>
34
252d7884
TT
35 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
36
bd1c8428
TT
37 PR libgcj/17222:
38 * Makefile.am (libgcj.la): Restored.
39 * Makefile.in: Rebuilt.
40
95b88040
MK
412004-09-28 Michael Koch <konqueror@gmx.de>
42
43 * java/net/URLConnection.java: Reformatted.
44 * java/net/URLClassLoader.java: Reformatted.
45 (getContent): Reordered return of content.
46 (getContentHandler): Don't check for null explicitely.
47
2c11433f
MK
482004-09-27 Michael Koch <konqueror@gmx.de>
49
50 * java/io/BufferedInputStream.java
51 (BufferedInputStream): Added Jeroen Frijters to authors.
52 (count): Don't explicitely initialize with default value.
53 (pos): Likewise.
54 (marklimit): Likewise.
55 (read): Changed boolean expression to match GNU classpath' version.
56 (reset): Add proper message to exception.
57 (skip): Check for closed stream.
58 (refill): Likewise.
59
c5fe8107
PB
602004-09-26 Per Bothner <per@bothner.com>
61
62 * prims.cc (unblock_signal): Annotate signum with __unused__ to
63 avoid warnings in the non-POSIX_VERSION case.
64 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
65 so place it inside an #if block.
66 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
67 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
68 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
69 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
70
08bc8777
PB
712004-09-26 Per Bothner <per@bothner.com>
72
73 * prims.cc (process_gcj_properties): Optimization.
74
a22478ce
PB
752004-09-26 Per Bothner <per@bothner.com>
76
77 * java/util/Collections.java (sort): Copy from array in forwards
78 order, rather than reverse order which may be much less efficient.
79
3bd2680e
MW
802004-09-26 Mark Wielaard <mark@klomp.org>
81
82 * java/lang/System.java (properties): Make package private.
83 * java/lang/Throwable.java (StaticData.nl): Initialize through
84 directly accessing System.properties.getProperty().
85
86 * java/lang/Throwable.java (nl): Remove static field.
87 (StaticData): New private static inner class.
88 (stackTraceStringBuffer): Use StaticData.nl.
89
59c86e4b
CM
902004-09-26 Casey Marshall <csm@gnu.org>
91
92 * java/security/ProtectionDomain.java
93 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
94 `true'.
95
96 * java/security/SecureClassLoader.java
97 (defineClass): make protection domain dynamically bound.
98 (getPermissions): call `getCurrentPolicy' to avoid permission
99 check.
100
ffe2e220
MW
1012004-09-25 Mark Wielaard <mark@klomp.org>
102
103 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
104 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
105 * Makefile.in: Regenerated.
106
107 * gcj/javaprims.h: Regenerated.
108
109 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
110 (getDefaultTimeZone): Make package private. Check that GMToffset
111 contains at least one digit.
112 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
113 VMTimeZone.
114 * util/VMTimeZone.java: New file with above methods.
115
116 * java/util/natTimeZone.cc: Removed (renamed).
117 * java/util/natVMTimeZone.cc: Added (renamed).
118
1192004-09-25 Jeroen Frijters <jeroen@frijters.net>
120
121 * java/util/TimeZone.java
122 (getDefaultTimeZone): Fixed test to distinguish between hours and
123 minutes in specified timezone.
124
9b2b6c0f
JF
1252004-09-25 Jeroen Frijters <jeroen@frijters.net>
126
127 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
128 handling of default package. (generate): Removed confused comments
129 and code about making Method and Field accessible.
130
4b2582f0
TT
1312004-09-25 Tom Tromey <tromey@redhat.com>
132
133 PR java/17500:
134 * testsuite/libjava.compile/pr17500.java: New file.
135
27a92d68
SB
1362004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
137 Mark Wielaard <mark@klomp.org>
138
139 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
140 * gnu/regexp/RETokenLookAhead.java: New file.
141
142 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
143 * Makefile.in: Regenerated.
144
20319d32
MK
1452004-09-25 Michael Koch <konqueror@gmx.de>
146
147 * java/io/ObjectStreamField.java:
148 Removed unused import statement.
149
0a08595a
TT
1502004-09-24 Tom Tromey <tromey@redhat.com>
151
013303df
TT
152 PR java/15656:
153 * testsuite/libjava.compile/pr15656.xfail: New file.
154 * testsuite/libjava.compile/pr15656.java: new file.
155
0a08595a
TT
156 PR java/16789:
157 * testsuite/libjava.lang/pr16789.out: New file.
158 * testsuite/libjava.lang/pr16789.java: New file.
159
0a41faf0
AH
1602004-09-24 Andrew Haley <aph@redhat.com>
161
162 PR java/16927
163 * testsuite/libjava.compile/AssertBug.java: New file.
164
c80a4b7e
CM
1652004-09-24 Casey Marshall <csm@gnu.org>
166
167 * java/util/PropertyPermissionCollection.java
168 (implies): avoid infinite loop.
169
7e53ab66
AJH
1702004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
171
172 * javax/security/auth/PrivateCredentialPermission.java
173 (PrivateCredentialPermission): added serialization UID
174
175
c7c671b9
IP
1762004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
177
178 * gnu/java/rmi/server/UnicastServer.java
179 (incomingMessageCall): Added code to handle Errors.
180 * gnu/java/rmi/server/UnicastServerRef.java
181 (incomingMessageCall): Added code to handle Errors.
182
183
66719604
TT
1842004-09-24 Tom Tromey <tromey@redhat.com>
185
186 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
187 (definedPackages): Likewise.
188
28c23a8c
MK
1892004-09-24 Michael Koch <konqueror@gmx.de>
190
191 * java/io/ObjectInputStream.java:
192 Re-ordered imports.
193
629a2d2b
CM
1942004-09-24 Casey Marshall <csm@gnu.org>
195
196 * java/io/ObjectInputStream.java (callReadMethod): re-throw
197 `ClassNotFoundException'.
198
73eb1309
JF
1992004-09-24 Jeroen Frijters <jeroen@frijters.net>
200
201 * java/io/ObjectInputStream.java (readObject): Delegate instantation
202 of Externalizable classes to ObjectStreamClass.
203 * java/io/ObjectStreamClass.java (newInstance): New method to
204 instantiate Externalizable (while ignoring the accessibility of
205 the constructor). (constructor): New field to cache the constructor.
206
8ac4bd37
MW
2072004-09-24 Mark Wielaard <mark@klomp.org>
208
209 * java/net/URL.java (systemClassLoader): New static field.
210 (getURLStreamHandler): Always use system/application classloader
211 for finding URLStreamhandler. Remove unecessary instanceof checks.
212
56a4b3e2
GL
2132004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
214
215 * java/net/URL.java
216 (set): This method now matches the behaviour of the JDK.
217 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
218
5bb3fc27
MK
2192004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
220
221 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
222
2232004-09-24 Jeroen Frijters <jeroen@frijters.net>
224
225 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
226 Don't set authority if host isn't specified.
227
9e54846f
MK
2282004-09-24 Michael Koch <konqueror@gmx.de>
229
230 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
231 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
232 * gnu/java/nio/VMPipe.java,
233 gnu/java/nio/VMSelector.java:
234 New files.
235 * gnu/java/nio/natPipeImplEcos.cc,
236 gnu/java/nio/natPipeImplPosix.cc,
237 gnu/java/nio/natPipeImplWin32.cc:
238 Ported to VMPipe.
239 * gnu/java/nio/natSelectorImplEcos.cc,
240 gnu/java/nio/natSelectorImplPosix.cc,
241 gnu/java/nio/natSelectorImplWin32.cc:
242 Ported to VMSelector.
243 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
244 gnu/java/nio/VMSelector.java.
245 * Makefile.in: Regenerated.
246
e6ab8dc2
JF
2472004-09-24 Jeroen Frijters <jeroen@frijters.net>
248
249 * java/lang/StackTraceElement.java
250 (className): Renamed field to declaringClass to be compatible
251 with Sun serialization format.
252
09bddb92
MK
2532004-09-23 Michael Koch <konqueror@gmx.de>
254
255 * java/applet/AppletContext.java,
256 java/applet/Applet.java,
257 java/applet/AppletStub.java,
258 java/applet/AudioClip.java:
259 Jalopied and checkstyle clean.
260
093942ac
MW
2612004-09-23 Mark Wielaard <mark@klomp.org>
262
263 * java/util/Collections.java
264 (binarySearch(List, Object, Comparator)): Explicitly
265 reverse direction in list iterator.
266 (rotate): Just return when list is empty.
267
53d26678
TT
2682004-09-23 Tom Tromey <tromey@redhat.com>
269
51c9fed9
TT
270 PR java/17329:
271 * testsuite/libjava.compile/pr17329.java: New file.
272
53d26678
TT
273 PR java/17380:
274 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
275 9.2-implicit-7.
276
5b7a26f6
KC
2772004-09-22 Kelley Cook <kcook@gcc.gnu.org>
278
279 * Makefile.am: Run aclocal with -I ../config
280 * acinclude.m4: Delete macros picked up from ../config and tidy.
281 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
282 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
283 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
284
54805b23
KC
2852004-09-22 Kelley Cook <kcook@gcc.gnu.org>
286
287 * aclocal.m4: Regenerate with aclocal 1.9.2.
288 * configure: Regenerate.
289 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
290 * include/Makefile.in, testsuite/Makefile.in: Likewise.
291
d0259e11
DD
2922004-09-22 David Daney <ddaney@avtrex.com>
293
294 PR libgcj/17623
295 * java/net/URL.java (URL): Copy userInfo from context.
296 (getUserInfo): Return cached userInfo if present.
297
aa8cb1ad
TT
2982004-09-22 Tom Tromey <tromey@redhat.com>
299
300 PR libgcj/6182:
301 * mauve-libgcj: Enable java.lang.Character tests.
302
733a7ed9
AT
3032004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
304
305 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
306 dependencies.
307 (lib_org_ietf_jgss_la_LIBADD): Likewise.
308 * Makefile.in: Regenerated.
309
44bffd9f
AT
3102004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
311
312 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
313 * configure: Regenerate.
314 * include/config.h.in: Likewise.
315 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
317 macro to gtkpeer.h.
318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
319 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
320 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
321 architectures.
322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
323 Likewise.
324
ecd16bf6
TT
3252004-09-22 Tom Tromey <tromey@redhat.com>
326
327 PR libgcj/14446:
328 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
329 when comparing CRCs.
330 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
331 field.
332 (read()): New overload.
333
3a3d0225
TT
3342004-09-21 Tom Tromey <tromey@redhat.com>
335
336 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
337 Indentation fix.
338
93880692
MK
3392004-09-21 Michael Koch <konqueror@gmx.de>
340
341 * java/net/Socket.java
342 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
343
448a698b
CM
3442004-09-21 Casey Marshall <csm@gnu.org>
345
346 * javax/crypto/MacSpi.java (clone): Provide meaningful
347 implementation.
348
34f87940
TT
3492004-09-21 Tom Tromey <tromey@redhat.com>
350
351 PR libgcj/16869:
352 * Makefile.in: Rebuilt.
353 * Makefile.am (MOSTLYCLEANFILES): Removed.
354 (mostlyclean-local): Remove header files.
355
f1b18462
AT
3562004-09-21 Casey Marshall <csm@gnu.org>
357
358 * java/security/cert/X509CRLSelector.java:
359 (match): remove unreachable try-catch clauses.
360 Reported by: Dalibor Topic <robilad@kaffe.org>
361
3622004-09-21 Mark Wielaard <mark@klomp.org>
363
364 * java/util/TreeMap.java (root): Don't initialize.
365 (TreeMap(Comparator)): Call fabricateTree(0).
366 (fabricateTree): Initialize root and size when count is 0.
367
9413382e
SM
3682004-09-21 Sven de Marothy <sven@physto.se>
369
370 * java/nio/ByteBuffer.java (hashCode): Implemented.
371 * java/nio/CharBuffer.java: Likewise.
372 * java/nio/DoubleBuffer.java: Likewise.
373 * java/nio/FloatBuffer.java: Likewise.
374 * java/nio/LongBuffer.java: Likewise.
375 * java/nio/IntBuffer.java: Likewise.
376 * java/nio/ShortBuffer.java: Likewise.
377
936f1f06
AT
3782004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
379
380 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
381
3822004-09-21 Michael Koch <konqueror@gmx.de>
383
384 * javax/net/ssl/SSLServerSocket.java:
385 Removed comment about "Do not edit this file, it's generated.".
386
6f5ce93b
AT
3872004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
388
389 Import the big Crypto/Jessie/Security merge from Classpath.
390
391 * Makefile.am: Add imported files.
392 * Makefile.in: Regenerate.
393
394 2004-08-14 Casey Marshall <csm@gnu.org>
395
396 The Big Crypto Merge of 2004.
397
398 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
399 Crypto's version.
400
401 Files imported from GNU Crypto.
402 * javax/crypto/BadPaddingException.java
403 * javax/crypto/Cipher.java
404 * javax/crypto/CipherInputStream.java
405 * javax/crypto/CipherOutputStream.java
406 * javax/crypto/CipherSpi.java
407 * javax/crypto/EncryptedPrivateKeyInfo.java
408 * javax/crypto/ExemptionMechanism.java
409 * javax/crypto/ExemptionMechanismException.java
410 * javax/crypto/ExemptionMechanismSpi.java
411 * javax/crypto/IllegalBlockSizeException.java
412 * javax/crypto/KeyAgreement.java
413 * javax/crypto/KeyAgreementSpi.java
414 * javax/crypto/KeyGenerator.java
415 * javax/crypto/KeyGeneratorSpi.java
416 * javax/crypto/Mac.java
417 * javax/crypto/MacSpi.java
418 * javax/crypto/Makefile.am
419 * javax/crypto/NoSuchPaddingException.java
420 * javax/crypto/NullCipher.java
421 * javax/crypto/NullCipherImpl.java
422 * javax/crypto/SealedObject.java
423 * javax/crypto/SecretKey.java
424 * javax/crypto/SecretKeyFactory.java
425 * javax/crypto/SecretKeyFactorySpi.java
426 * javax/crypto/ShortBufferException.java
427 * javax/crypto/interfaces/DHKey.java
428 * javax/crypto/interfaces/DHPrivateKey.java
429 * javax/crypto/interfaces/DHPublicKey.java
430 * javax/crypto/interfaces/PBEKey.java
431 * javax/crypto/spec/DESKeySpec.java
432 * javax/crypto/spec/DESedeKeySpec.java
433 * javax/crypto/spec/DHGenParameterSpec.java
434 * javax/crypto/spec/DHParameterSpec.java
435 * javax/crypto/spec/DHPrivateKeySpec.java
436 * javax/crypto/spec/DHPublicKeySpec.java
437 * javax/crypto/spec/IvParameterSpec.java
438 * javax/crypto/spec/PBEKeySpec.java
439 * javax/crypto/spec/PBEParameterSpec.java
440 * javax/crypto/spec/RC2ParameterSpec.java
441 * javax/crypto/spec/RC5ParameterSpec.java
442 * javax/crypto/spec/SecretKeySpec.java
443 * javax/security/auth/AuthPermission.java
444 * javax/security/auth/DestroyFailedException.java
445 * javax/security/auth/Destroyable.java
446 * javax/security/auth/Policy.java
447 * javax/security/auth/PrivateCredentialPermission.java
448 * javax/security/auth/RefreshFailedException.java
449 * javax/security/auth/Refreshable.java
450 * javax/security/auth/Subject.java
451 * javax/security/auth/SubjectDomainCombiner.java
452 * javax/security/auth/callback/Callback.java
453 * javax/security/auth/callback/CallbackHandler.java
454 * javax/security/auth/callback/ChoiceCallback.java
455 * javax/security/auth/callback/ConfirmationCallback.java
456 * javax/security/auth/callback/LanguageCallback.java
457 * javax/security/auth/callback/NameCallback.java
458 * javax/security/auth/callback/PasswordCallback.java
459 * javax/security/auth/callback/TextInputCallback.java
460 * javax/security/auth/callback/TextOutputCallback.java
461 * javax/security/auth/callback/UnsupportedCallbackException.java
462 * javax/security/auth/login/AccountExpiredException.java
463 * javax/security/auth/login/AppConfigurationEntry.java
464 * javax/security/auth/login/Configuration.java
465 * javax/security/auth/login/CredentialExpiredException.java
466 * javax/security/auth/login/FailedLoginException.java
467 * javax/security/auth/login/LoginContext.java
468 * javax/security/auth/login/LoginException.java
469 * javax/security/auth/login/NullConfiguration.java
470 * javax/security/auth/x500/X500PrivateCredential.java
471 * javax/security/sasl/AuthenticationException.java
472 * javax/security/sasl/AuthorizeCallback.java
473 * javax/security/sasl/RealmCallback.java
474 * javax/security/sasl/RealmChoiceCallback.java
475 * javax/security/sasl/Sasl.java
476 * javax/security/sasl/SaslClient.java
477 * javax/security/sasl/SaslClientFactory.java
478 * javax/security/sasl/SaslException.java
479 * javax/security/sasl/SaslServer.java
480 * javax/security/sasl/SaslServerFactory.java
481 * org/ietf/jgss/ChannelBinding.java
482 * org/ietf/jgss/GSSContext.java
483 * org/ietf/jgss/GSSCredential.java
484 * org/ietf/jgss/GSSException.java
485 * org/ietf/jgss/GSSManager.java
486 * org/ietf/jgss/GSSName.java
487 * org/ietf/jgss/MessageProp.java
488 * org/ietf/jgss/Oid.java
489 * org/ietf/jgss/MessagesBundle.properties
490
491 Files imported from Jessie <http://www.nongnu.org/jessie/>
492 * javax/net/ServerSocketFactory.java
493 * javax/net/SocketFactory.java
494 * javax/net/VanillaServerSocketFactory.java
495 * javax/net/VanillaSocketFactory.java
496 * javax/net/ssl/HandshakeCompletedEvent.java
497 * javax/net/ssl/HandshakeCompletedListener.java
498 * javax/net/ssl/HostnameVerifier.java
499 * javax/net/ssl/HttpsURLConnection.java
500 * javax/net/ssl/KeyManager.java
501 * javax/net/ssl/KeyManagerFactory.java
502 * javax/net/ssl/KeyManagerFactorySpi.java
503 * javax/net/ssl/ManagerFactoryParameters.java
504 * javax/net/ssl/SSLContext.java
505 * javax/net/ssl/SSLContextSpi.java
506 * javax/net/ssl/SSLException.java
507 * javax/net/ssl/SSLHandshakeException.java
508 * javax/net/ssl/SSLKeyException.java
509 * javax/net/ssl/SSLPeerUnverifiedException.java
510 * javax/net/ssl/SSLPermission.java
511 * javax/net/ssl/SSLProtocolException.java
512 * javax/net/ssl/SSLServerSocket.java
513 * javax/net/ssl/SSLServerSocketFactory.java
514 * javax/net/ssl/SSLSession.java
515 * javax/net/ssl/SSLSessionBindingEvent.java
516 * javax/net/ssl/SSLSessionBindingListener.java
517 * javax/net/ssl/SSLSessionContext.java
518 * javax/net/ssl/SSLSocket.java
519 * javax/net/ssl/SSLSocketFactory.java
520 * javax/net/ssl/TrivialHostnameVerifier.java
521 * javax/net/ssl/TrustManager.java
522 * javax/net/ssl/TrustManagerFactory.java
523 * javax/net/ssl/TrustManagerFactorySpi.java
524 * javax/net/ssl/X509KeyManager.java
525 * javax/net/ssl/X509TrustManager.java
526 * javax/security/cert/Certificate.java
527 * javax/security/cert/CertificateEncodingException.java
528 * javax/security/cert/CertificateException.java
529 * javax/security/cert/CertificateExpiredException.java
530 * javax/security/cert/CertificateNotYetValidException.java
531 * javax/security/cert/CertificateParsingException.java
532 * javax/security/cert/X509CertBridge.java
533 * javax/security/cert/X509Certificate.java
534
535 2004-08-20 Casey Marshall <csm@gnu.org>
536
537 * java/security/cert/X509CRLSelector.java: New file.
538 * java/security/cert/X509CertSelector.java: New file.
539
c36992ff
MK
5402004-09-15 Michael Koch <konqueror@gmx.de>
541
542 * gnu/java/net/protocol/file/Handler.java
543 (openConnection): Don't throw exception if host part for file: URI is
544 present. setURL() keeps file: protocol if ftp: protocol is not
545 available.
546
72826319
RH
5472004-09-14 Richard Henderson <rth@redhat.com>
548
549 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
550 value of sigsuspend.
551
3abcc195
TT
5522004-09-12 Tom Tromey <tromey@redhat.com>
553
554 * javax/naming/CompoundName.java (CompoundName): Don't check for
555 separator in "flat" case.
556
bdd1aed4
MK
5572004-09-12 Michael Koch <konqueror@gmx.de>
558
559 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
560 AM_CONFIG_HEADER by AC_CONFIG_FILES.
561 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
562 Regenerate.
563
a0be84dd
ME
5642004-09-11 Mohan Embar <gnustuff@thisiscool.com>
565
566 PR libgcj/14751
567 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
568 handle in newly-allocated _Jv_Thread_t.
569 (_Jv_ThreadDestroyData): Close thread handle.
570 (_Jv_ThreadStart): Remove obsolete comment.
571 Store handle of newly-created thread in _Jv_Thread_t.
572 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
573 before including <windows.h>
574 #define _Jv_HaveCondDestroy
575
bdbf6060
ME
5762004-09-11 Mohan Embar <gnustuff@thisiscool.com>
577
578 * java/lang/natThread.cc (finalize_native): Destroy
579 join conditional variable and mutex if these destroy
580 operations are supported.
581
cad79bac
MK
5822004-09-10 Dalibor Topic <robilad@kaffe.org>
583
584 * gnu/java/net/protocol/file/Connection.java (permission): New field.
585 (DEFAULT_PERMISSION): New constant.
586 (Connection): Create a FilePermission with permission to read file.
587
5882004-09-10 Michael Koch <konqueror@gmx.de>
589
590 * gnu/java/net/protocol/file/Connection.java
591 (getLastModified): Moved around.
592 (getPermission): Return stored permission.
593
8166c201
MK
5942004-09-10 Michael Koch <konqueror@gmx.de>
595
596 * Makefile.in: Regenerate.
597
3cf735f6
MK
5982004-09-10 Michael Koch <konqueror@gmx.de>
599
600 * Makefile.am: Reverted accidently commited stuff.
601 * configure: Regenerated.
602
5123971a
MK
6032004-09-10 Michael Koch <konqueror@gmx.de>
604
605 * gnu/java/net/protocol/file/Connection.java
606 (lineSeparator): Made non-final.
607 (static): Removed.
608 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
609 instead of StringBufferInputStream.
610
6112004-09-10 Michael Koch <konqueror@gmx.de>
612
613 * gnu/java/net/protocol/file/Connection.java
614 (connect): Handle file is a directory case.
615
456d47b3
MK
6162004-09-10 Michael Koch <konqueror@gmx.de>
617
618 * Makefile.am
619 (xlib_includes): Removed.
620 (AM_CPPFLAGS): Renamed from INCLUDES.
621 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
622 * Makefile.in: Regenerate.
623
4166b036
AT
6242004-09-09 Michael Koch <konqueror@gmx.de>
625
626 * java/security/ProtectionDomain.java,
627 * java/util/PropertyPermissionCollection.java:
628 Fixed javadocs all over.
629
6302004-09-09 Sven de Marothy <sven@physto.se>
631
632 Patch from David Gilbert <david.gilbert@object-refinery.com>
633 * java/lang/Comparable.java: Fixed documentation errors.
634 * java/util/Arrays.java: Likewise.
635
6362004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
637
638 * java/net/Inet4Address.java
639 (Inet4Address): Added comment to serialization UID.
640 * java/text/Format.java
641 (Format): Added comment to serialization UID.
642
c6614d3e
MK
6432004-09-09 Michael Koch <konqueror@gmx.de>
644
645 * java/lang/System.java
646 (err): Fixed javadoci to point to setErr() and not setOut().
647
6273ba37
MK
6482004-09-09 Jeroen Frijters <jeroen@frijters.net>
649
650 (normalizePath): Added special case for windows systems.
651
6522004-09-09 Michael Koch <konqueror@gmx.de>
653
654 * java/io/File.java
655 (dupSeparator): Made private.
656 (File(URI)): New constructor.
657 (getParentFile): Fixed javadoc.
658 (createTempFile): Reformated.
659 (setReadOnly): Added comment.
660 (deleteOnExit): Merged javadoc with classpath version.
661
93177580
MK
6622004-09-09 Michael Koch <konqueror@gmx.de>
663
664 * Makefile.am: Don't try to include deps.mk.
665 * Makefile.in: Regenerated.
666
2e8401ae
BM
6672004-09-08 Bryce McKinlay <mckinlay@redhat.com>
668
669 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
670 .d files.
671 * configure: Rebuilt.
672
56fa138b
ME
6732004-09-04 Mohan Embar <gnustuff@thisiscool.com>
674
675 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
676 Changed pfn from static local to local.
677
351cfd8b
BM
6782004-09-03 Bryce McKinlay <mckinlay@redhat.com>
679 H.J. Lu <hongjiu.lu@intel.com>
680
681 PR libgcj/17290
682 * Makefile.am (GCJCOMPILE): Remove definition.
683 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
684 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
685 * Makefile.in: Rebuilt.
686
48d0dd75
KC
6872004-09-03 Kelley Cook <kcook@gcc.gnu.org>
688
689 * configure.ac (enable-gc-debug): Update help for new syntax.
690 * configure: Regenerate.
691
321c496b
DD
6922004-09-03 David Daney <ddaney@avtrex.com>
693
694 * include/mips-signal.h: Update copyright.
695
04efec81
DD
6962004-09-03 David Daney <ddaney@avtrex.com>
697
698 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
699 * include/mips-signal.h: Added HANDLE_FPE support.
700
57579172
GH
7012004-08-31 Michael Koch <konqueror@gmx.de>
702
703 * javax/swing/plaf/basic/BasicTextAreaUI.java
704 (create): New method.
705 * javax/swing/text/DefaultHighlighter.java
706 (DefaultHighlightPainter.debugRect): Removed.
707 * javax/swing/text/StyleContext.java
708 (DEFAULT_STYLE): New field.
709
7102004-08-31 Michael Koch <konqueror@gmx.de>
711
712 * javax/swing/plaf/basic/BasicLookAndFeel.java
713 (initComponentDefaults): Add keybindings for selection.backward and
714 selection-forward for text components.
715 * javax/swing/plaf/basic/BasicTextUI.java
716 (paintSafely): Paint highlight only when something is actually
717 selected.
718 * javax/swing/text/DefaultCaret.java
719 (handleHighlight): New method.
720 (setSelectionVisible): Don't do anything when nothing changes.
721 Handle highlight.
722 (moveDot): Reimplemented. Handle highlight.
723 (setDot): Set mark too. Handle highlight.
724 (getSelectionPainter): New method.
725 * javax/swing/text/DefaultEditorKit.java
726 (defaultActions): Added new actions for text selection.
727 * javax/swing/text/DefaultHighlighter.java
728 (DefaultHighlightPainter): New inner class.
729 (DefaultPainter): New field.
730 (paint): Implemented.
731 * javax/swing/text/PlainView.java
732 (paint): Don't draw background here again.
733 * javax/swing/text/Utilities.java
734 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
735 (drawTabbedText): Likewise.
736
7372004-08-31 Graydon Hoare <graydon@redhat.com>
738
739 * javax/swing/JComponent.java
740 (resetKeyboardActions): Add null checks.
741
7422004-08-31 Graydon Hoare <graydon@redhat.com>
743
744 * javax/swing/DefaultButtonModel.java:
745 Skip group notification when no group is set.
746
7472004-08-31 Graydon Hoare <graydon@redhat.com>
748
749 * javax/swing/JColorChooser.java:
750 Make a couple inner classes static, for jikes.
751
7522004-08-31 Michael Koch <konqueror@gmx.de>
753
754 * javax/swing/plaf/basic/BasicTextUI.java
755 (RottView.modelToView): New method.
756 (UpdateHandler): Renamed from EventHandler.
757 (updateHandler): Renamed from eventHandler.
758 (modelToView): Implemented.
759 * javax/swing/text/AbstractDocument.java
760 (BranchElement.getElement): Return null for non-existing indeces.
761 (BranchElement.getElementIndex): Return 0 in some corner cases.
762 * javax/swing/text/FieldView.java
763 (modelToView): New method.
764 * javax/swing/text/PlainView.java
765 (modelToView): Made public.
766
7672004-08-31 Kim Ho <kho@redhat.com>
768
769 * Makefile.am: New files.
770 * Makefile.in: Regenerate.
771 * gcj/Makefile.in: Regenerate.
772 * include/Makefile.in: Regenerate.
773 * java/awt/Color.java: Fix documentation.
774 (RGBtoHSB): Use floats for conversions.
775 * javax/swing/ButtonGroup.java: Run Jalopy.
776 (setSelected): Reimplement.
777 * javax/swing/DefaultButtonModel.java: Run Jalopy.
778 (changeState): Let ButtonGroup know that the button
779 is changing state.
780 * javax/swing/JColorChooser.java: Implement.
781 * javax/swing/JLabel.java: Run Jalopy.
782 * javax/swing/JSpinner.java: Run Jalopy.
783 (setValue): New method.
784 * javax/swing/JTabbedPane.java: Run Jalopy.
785 (removeTabAt): Call correct remove method.
786 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
787 (getPreviousValue): Compare minimum value.
788 * javax/swing/Timer.java: Run Jalopy.
789 (run): Comment out println.
790 * javax/swing/ToolTipManager.java:
791 (mouseMoved): Get new tooltip text for location.
792 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
793 Jalopy and Javadoc.
794 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
795 Implement.
796 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
797 Run Jalopy.
798 (setSelectedColor): Fire ChangeEvent.
799 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
800 New file. Implement.
801 * javax/swing/colorchooser/DefaultPreviewPanel.java:
802 Ditto.
803 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
804 Ditto.
805 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
806 Ditto.
807 * javax/swing/plaf/basic/BasicArrowButton.java:
808 (getArrow): Fix size of upward pointing button.
809 * javax/swing/plaf/basic/BasicColorChooserUI.java:
810 Implement.
811 * javax/swing/plaf/basic/BasicSliderUI.java:
812 (getWidthOfWidestLabel): Use preferred dimensions.
813 (getHeightOfTallestLabel): Ditto.
814 * javax/swing/plaf/basic/BasicSpinnerUI.java:
815 Run Jalopy.
816 (mousePressed): Disable changes to spinner if it is not enabled.
817 * testsuite/Makefile.in: Regenerate.
818
819
8202004-08-31 Michael Koch <konqueror@gmx.de>
821
822 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
823 javax/swing/plaf/basic/BasicTableUI.java:
824 Added copyright notice.
825
8262004-08-31 Olga Rodimina <rodimina@redhat.com>
827
828 * Makefile.am: Added new files.
829 * Makefile.in: Regenerate.
830 * javax/swing/ComboBoxEditor.java: Added javadocs.
831 * javax/swing/ComboBoxModel.java: Likewise.
832 * javax/swing/DefaultComboBoxModel.java: Implemented.
833 * javax/swing/DefaultListCellRenderer.java: Added javadocs
834 and ran through jalopy to fix formatting style.
835 (getListCellRendererComponent): Use appropriate border
836 if renderer has focus and use noFocusBorder when it doesn't.
837 * javax/swing/JComboBox.java: Implemented.
838 * javax/swing/JList.java:
839 (locationToIndex): New Method. Implemented.
840 (indexToLocation): New Method.
841 * javax/swing/JPopupMenu.java:
842 (visible): New field.
843 (isVisible): Changed to use new field above.
844 (setVisible): Likewise.
845 * javax/swing/MutableComboBoxModel.java: Added javadocs.
846 * javax/swing/plaf/basic/BasicArrowButton.java:
847 (shadow): Changed default color to Color.gray.
848 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
849 UI delegate for JComboBox.
850 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
851 Popup menu containing list of JComboBox's items.
852 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
853 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
854 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
855 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
856 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
857 (popupMenuWillBecomeVisible): Set selected path to the first
858 element only if it is of type MenuElement. Also fix formatting
859 style.
860 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
861 methods signatures.
862
8632004-08-31 Michael Koch <konqueror@gmx.de>
864
865 * javax/swing/text/AbstractDocument.java
866 (createBranchElement): Use new constructor of BranchElement.
867 (createLeafElement): Renamed arguments.
868 (getRootElements): Implemented.
869 (BranchElement.start): Removed.
870 (BranchElement.end): Likewise.
871 (BranchElement.BranchElement): Fixed arguments.
872 (BranchElement.getEndOffset): Reimplemented.
873 (BranchElement.getStartOffset): Likewis.
874 * javax/swing/text/DefaultCaret.java
875 (paint): Draw simple vertical line as caret instead of a rectangle.
876 * javax/swing/text/JTextComponent.java
877 (setText): Use doc directly.
878 * javax/swing/text/PlainView.java
879 (nextTabStop): Implemented.
880 * javax/swing/text/Utilities.java
881 (drawTabbedText): nextTabStop() returns an absolute x position.
882 (getTabbedTextWidth): Likewise.
883
8842004-08-31 Graydon Hoare <graydon@redhat.com>
885
886 * java/awt/Component.java
887 (isFocusTraversable): Predicate on isLightweight()
888 (setFocusable): Set isFocusTraversableOverridden.
889 (requestFocus): Predicate peer dispatch on !isLightweight()
890 (requestFocusInWindow): Likewise.
891 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
892 * java/awt/Container.java
893 (dispatchEventImpl): Predicate on event mask.
894 (LightweightDispatcher): Remove focus machinery.
895 * java/awt/DefaultFocusTraversalPolicy.java
896 (accept): Expand predicate to include isFocusable().
897 * java/awt/DefaultKeyboardFocusManager.java:
898 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
899 * java/awt/KeyboardFocusManager.java
900 (redispatchEvent): Synchronize on event to prevent feedback.
901 * javax/swing/AbstractButton.java
902 (ButtonFocusListener): Remove class.
903 (init): Set focusPainted, focusable.
904 * javax/swing/ActionMap.java (get): Check parent for null.
905 * javax/swing/InputMap.java (get): Likewise.
906 * javax/swing/JComponent.java
907 (inputMap_whenFocused): New InputMap.
908 (inputMap_whenAncestorOfFocused): Likewise.
909 (inputMap_whenInFocusedWindow): Likewise.
910 (getActionForKeyStroke): Rewrite.
911 (getConditionForKeystroke): Likewise.
912 (ActionListenerProxy): New private class.
913 (setInputMap): Implement.
914 (getInputMap): Likewise.
915 (setActionMap): Likewise.
916 (getActionMap): Likewise.
917 (processComponentKeyEvent): New empty method.
918 (processKeyEvent): Implement.
919 (processKeyBinding): Likewise.
920 (resetKeyboardActions): Rewrite.
921 * javax/swing/KeyStroke.java: Rewrite.
922 * javax/swing/SwingUtilities.java
923 (notifyAction): Implement.
924 (replaceUIActionMap): Likewise.
925 (replaceUIInputMap): Likewise.
926 * javax/swing/plaf/basic/BasicButtonListener.java
927 (focusGained): Implement.
928 (focusLost): Repaint if focusPainted().
929 (installKeyboardActions): Install pressed / released actions.
930 (uninstallKeyboardActions): Implement.
931 * javax/swing/plaf/basic/BasicButtonUI.java
932 (focusColor): New field.
933 (installDefaults): Load focus color, install input map.
934 (installKeyboardActions): Implement.
935 (uninstallKeyboardActions): Likewise.
936 (paintFocus): Rewrite.
937 * javax/swing/plaf/basic/BasicLookAndFeel.java
938 (Button.focus): New default, midPurple.
939 * javax/swing/plaf/basic/BasicTextUI.java
940 (kit): Make static.
941 (installUI): Get doc from kit, load defaults.
942 (getKeymapName): Implement.
943 (createKeymap): Likewise.
944 (installKeyboardActions): Likewise.
945 (getInputMap): Likewise.
946 (getActionMap): Likewise.
947 (createActionMap): Likewise.
948 * javax/swing/text/AbstractDocument.java
949 (getStartPosition): Implement.
950 (getEndPosition): Likewise.
951 * javax/swing/text/DefaultEditorKit.java
952 (CopyAction): New class.
953 (CutAction): Likewise.
954 (DefaultKeyTypedAction): Likewise.
955 (InsertBreakAction): Likewise.
956 (InsertContentAction): Likewise.
957 (InsertTabAction): Likewise.
958 (PasteAction): Likewise.
959 (defaultActions): New static table.
960 (createCaret): Implement.
961 (getActions): Likewise.
962 * javax/swing/text/JTextComponent.java
963 (KeymapWrapper): New private class.
964 (KeymapActionMap): Likewise.
965 (DefaultKeymap): New class.
966 (keymaps): New static table.
967 (keymap): New field.
968 (getKeymap): Implement.
969 (removeKeymap): Likewise.
970 (addKeymap): Likewise.
971 (setKeymap): Likewise.
972 (loadKeymap): Likewise.
973 (getActions): Likewise.
974 (margin): New field.
975 (JTextComponent): Build and install default keymap.
976 * javax/swing/text/TextAction.java
977 (textAction): Call super properly.
978 (getTextComponent): Implement.
979 * javax/swing/text/Utilities.java
980 (drawTabbedText): Adjust position by ascent.
981
9822004-08-31 David Jee <djee@redhat.com>
983
984 PR AWT/17156
985
986 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
987 (setEnabled): Make it a native method.
988 * java/awt/DefaultKeyboardFocusManager.java
989 (postProcessKeyEvent): Only post event if the menu item
990 is active.
991 * java/awt/MenuItem.java:
992 Private field 'enabled' should be true by default.
993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
994 (setEnabled): New function.
995
9962004-08-31 David Jee <djee@redhat.com>
997
998 PR AWT/17059
999
1000 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1001 (nativeSetHelpMenu): New native method declaration.
1002 (addHelpMenu): Call nativeSetHelpMenu().
1003 (addMenu): Remove.
1004 * java/awt/MenuBar.java
1005 (setHelpMenu): Call addNotify() on the new help menu.
1006 (add): Call addNotify() on the new menu.
1007 (addNotify): Set the help menu if one exists.
1008 * java/awt/peer/MenuBarPeer.java
1009 (addMenu): Remove.
1010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1011 (nativeSetHelpMenu): New method.
1012
10132004-08-31 Graydon Hoare <graydon@redhat.com>
1014
1015 * Makefile.am: Add new files.
1016 * Makefile.in: Regenerate.
1017 * javax/swing/Box.java: Fix setting of layout in ctor.
1018 * javax/swing/JScrollPane.java: Scroll headers as well.
1019 * javax/swing/JTable.java: Reimplement.
1020 * javax/swing/JViewPort.java: Only add non-null children.
1021 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1022 * javax/swing/Timer.java: Fix stopping null waker.
1023 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1024 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1025 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1026 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1027 * javax/swing/table/DefaultTableModel.java: Clean up.
1028 * javax/swing/table/JTableHeader.java: Implement.
1029
10302004-08-31 Mark Wielaard <mark@klomp.org>
1031
1032 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1033 semi-colon.
1034
10352004-08-31 Mark Wielaard <mark@klomp.org>
1036
1037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1038 Declare variables at top of functions/block.
1039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1040
10412004-08-31 Mark Wielaard <mark@klomp.org>
1042
1043 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1044 first.
1045
10462004-08-31 Michael Koch <konqueror@gmx.de>
1047
1048 * javax/swing/text/PlainView.java
1049 (selectedColor): New field.
1050 (unselectedColor): Likewise.
1051 (font): Likewise.
1052 (updateMetrics): New method.
1053 (lineToRect): Likewise.
1054 (modelToView): Likewise.
1055 (drawSelectedText): Use color from JTextComponent ad draw with
1056 Utilities class.
1057 (drawUnselectedText): Likewise.
1058 (paint): Initialize helper fields.
1059 * javax/swing/text/View.java
1060 (getChildAllocation): New method.
1061 (getViewIndex): Likewise.
1062 (getToolTipText): Likewise.
1063
10642004-08-31 Michael Koch <konqueror@gmx.de>
1065
1066 * javax/swing/text/Utilities.java
1067 (drawTabbedText): Reimplemented.
1068 (getTabbedTextWidth): Likewise.
1069
10702004-08-31 Michael Koch <konqueror@gmx.de>
1071
1072 * javax/swing/plaf/basic/BasicTextUI.java
1073 (installDefaults): Install caret and highlighter.
1074 (modelToView): Use Bias.Forward when calling sibling.
1075 * javax/swing/text/AbstractDocument.java
1076 (ElementEdit): Implements DocumentEvent.ElementChange.
1077 (ElementEdit.ElementEdit): New method.
1078 (ElementEdit.getChildrenAdded): Likewise.
1079 (ElementEdit.getChildrenRemoved): Likewise.
1080 (ElementEdit.getElement): Likewise.
1081 (ElementEdit.getIndex): Likewise.
1082 * javax/swing/text/DefaultCaret.java
1083 (color): Removed.
1084 (textComponent): Renamed from parent, made private.
1085 (selectionVisible): Renamed from vis_sel, made private.
1086 (blinkRate): Renamed from blink, made private.
1087 (magicCaretPosition): Renamed from magic, made private.
1088 (visible): Renamed from vis, made private.
1089 (dot): Made private.
1090 (mark): Likewise.
1091 (deinstall): Remove as MouseMotionListener.
1092 (install): Initialize textComponent first. Add as MouseMotionListener.
1093 (paint): Reimplemented.
1094 * javax/swing/text/JTextComponent.java
1095 (setCaret): Deinstall old caret, install new one and fire property
1096 change after setting property.
1097 (setHighlighter): Deinstall old highlighter, install new one and fire
1098 property change after setting property.
1099 (setCaretColor): Fire property change after setting property.
1100 (setDisabledTextColor): Likewise.
1101 (setSelectedTextColor): Likewise.
1102 (setSelectionColor): Likewise.
1103 (modelToView): New method.
1104
11052004-08-31 Michael Koch <konqueror@gmx.de>
1106
1107 * javax/swing/text/AbstractDocument.java
1108 (getText): Simplified.
1109 * javax/swing/text/Segment.java
1110 (current): New field.
1111 (current): Reimplemented.
1112 (first): Likewise.
1113 (getIndex): Likewise.
1114 (last): Likewise.
1115 (next): Likewise.
1116 (previous): Likewise.
1117 (setIndex): Likewise.
1118
11192004-08-31 Michael Koch <konqueror@gmx.de>
1120
1121 * javax/swing/plaf/basic/BasicButtonUI.java
1122 (defaultTextIconGap): Made protected.
1123 (defaultTextShiftOffset): Likewise.
1124 (textShiftOffset): New field.
1125 (clearTextShiftOffset): New method.
1126 (getTextShiftOffset): Likewise.
1127 (setTextShiftOffset): Likewise.
1128
11292004-08-31 Michael Koch <konqueror@gmx.de>
1130
1131 * javax/swing/plaf/basic/BasicTextUI.java
1132 (installUI): Add eventHandler as property listener.
1133 (uninstallUI): remove eventHandler as propert listener.
1134 (installDefaults): Added comment.
1135 (installListeners): Likewise.
1136 (installKeyboardActions): Likewise.
1137 (uninstallDefaults): Likewise.
1138 (uninstallListeners): Likewise.
1139 (uninstallKeyboardActions): Likewise.
1140
11412004-08-31 Michael Koch <konqueror@gmx.de>
1142
1143 * javax/swing/text/AbstractDocument.java:
1144 Fixed some typos in comments.
1145 (insertString): Reimplemented.
1146 (remove): Likewise.
1147 (replace): New method.
1148 (children): Dont use fully qualified class name.
1149 (DefaultDocumentEvent.offset): Renamed from off.
1150 (DefaultDocumentEvent.length): Renamed from len.
1151 (DefaultDocumentEvent.type): New field.
1152 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1153 (DefaultDocumentEvent.getType): Implemented.
1154
11552004-08-31 Michael Koch <konqueror@gmx.de>
1156
1157 * javax/swing/plaf/basic/BasicTextUI.java
1158 (RootView.textComponent): Removed.
1159 (RootView.RootView): Don't initialize textComponent.
1160 (RootView.getViewFactory): New method.
1161 (EventHandler): New inner class.
1162 (rootView): Initialize at instance creation.
1163 (eventHandler): New field.
1164 (installUI): Don't create view hierarchy directly,
1165 call modelChanged() instead.
1166 (modelChanged): New method.
1167 * javax/swing/text/JTextComponent.java
1168 (setDocument): Fire property change event.
1169
11702004-08-31 Michael Koch <konqueror@gmx.de>
1171
1172 * javax/swing/plaf/basic/BasicTextUI.java
1173 (RootView.paint): Removed debug output.
1174 (paintSafely): Draw highlighter before text.
1175 (paintBackground): Use background color of text component.
1176 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1177 Reformatted.
1178
11792004-08-31 Michael Koch <konqueror@gmx.de>
1180
1181 * javax/swing/plaf/basic/BasicToolBarUI.java
1182 (BasicToolBarUI): Fixed arguments for constructor.
1183 (createUI): Fixed creation of object.
1184
11852004-08-31 Michael Koch <konqueror@gmx.de>
1186
1187 * javax/swing/DefaultListSelectionModel.java
1188 (fireValueChanged): Renamed from fireSelectionValueChanged,
1189 made protected.
1190
11912004-08-31 Michael Koch <konqueror@gmx.de>
1192
1193 * javax/swing/text/TabSet.java
1194 (TabSet): Implements java.io.Serializable.
1195 * javax/swing/text/TabStop.java
1196 (TabStop): Implements java.io.Serializable.
1197 (TabStop): Made public.
1198
11992004-08-31 Michael Koch <konqueror@gmx.de>
1200
1201 * javax/swing/JComponent.java
1202 (setUI): Fire PropertyChange.
1203 * javax/swing/JLabel.java
1204 (text): Renamed from labelText.
1205 (horizontalAlignment): New default vlaue.
1206 (icon): Renamed from activeIcon.
1207 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1208 (displayedMnemonicIndex): Renamed from underlineChar.
1209 (setDisplayedMnemonic): Reimplemented.
1210 * javax/swing/JRadioButton.java
1211 (JRadioButton): New constructors.
1212 * javax/swing/JTextField.java
1213 (JTextField): Throw exception if colums < 0, initialitialz
1214 this.columns directly and initialize document with text conditionally.
1215
12162004-08-31 Michael Koch <konqueror@gmx.de>
1217
1218 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1219 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1220 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1221 * javax/swing/text/FieldView.java
1222 (paint): Just call super method for now.
1223 * Makefile.am: Added new files.
1224 * Makefile.in: Regenerated.
1225
12262004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1227
1228 * javax/swing/AbstractSpinnerModel.java,
1229 javax/swing/JSpinner.java,
1230 javax/swing/SpinnerNumberModel.java,
1231 javax/swing/plaf/basic/BasicSpinnerUI.java:
1232 New files.
1233 * javax/swing/plaf/basic/BasicLookAndFeel.java
1234 (initClassDefaults): Added defaults for BasicSpinnerUI.
1235
12362004-08-31 Michael Koch <konqueror@gmx.de>
1237
1238 * Makefile.am: Added new files.
1239 * Makefile.in: Regenerated.
1240
12412004-08-31 Michael Koch <konqueror@gmx.de>
1242
1243 * javax/swing/TransferHandler.java,
1244 javax/swing/plaf/basic/ComboPopup.java: New files
1245 * Makefile.am: Added javax/swing/TransferHandler.java and
1246 javax/swing/plaf/basic/ComboPopup.java
1247 * Makefile.in: Regenerated.
1248
12492004-08-31 Roman Kennke <roman@ontographics.com>
1250
1251 * javax/swing/text/Utilities.java: New file.
1252
12532004-08-31 Michael Koch <konqueror@gmx.de>
1254
1255 * Makefile.am: Added javax/swing/text/Utilities.java.
1256 * Makefile.in: Regenerated.
1257
12582004-08-31 Graydon Hoare <graydon@redhat.com>
1259
1260 * javax/swing/text/SimpleAttributeSet.java: New file.
1261 * javax/swing/text/StyleConstants.java: New file.
1262 * javax/swing/text/StyleContext.java: New file.
1263 * javax/swing/text/TabSet.java: New file.
1264 * javax/swing/text/TabStop.java: New file.
1265 * javax/swing/text/AbstactDocument.java:
1266 (AbstractElement): Implement attribute support.
1267 * javax/swing/text/AttributeSet.java
1268 (NameAttribute): New static field.
1269 (ResolveAttribute): New static field.
1270 * Makefile.am: Update for new files.
1271 * Makefile.in: Regenerate.
1272
12732004-08-31 Craig Black <craig.black@aonix.com>
1274
1275 * gnu/java/awt/peer/gtk/GdkGraphics.java
1276 (drawImage): Add support for scaling pixmaps.
1277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1278 (copyAndScalePixmap): New native method.
1279
12802004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1281
1282 PR AWT/16121
1283 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1284 type-punning compiler warnings using unions.
1285 (throw): Replace bzero with memset.
1286
12872004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1288 Thomas Fitzsimmons <fitzsim@redhat.com>
1289
1290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1291 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1292 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1294 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1295
12962004-08-31 Mark Wielaard <mark@klomp.org>
1297
1298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1299 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1300 and stdlib.h, not gtkpeer.h.
1301 (*vm): New static variable.
1302 (areaPreparedID): Make static.
1303 (areaUpdatedID): Likewise.
1304 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1305 (area_prepared): Likewise.
1306 (area_updated): Likewise.
1307 (closed): Likewise.
1308 (initStaticState): Initialize *vm javaVM.
1309 (pumpBytes): Use given env, not global gdk_env.
1310
13112004-08-31 Mark Wielaard <mark@klomp.org>
1312
1313 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1314 comments.
1315
13162004-08-31 Sven de Marothy <sven@physto.se>
1317
1318 * java/awt/geom/CubicCurve2D.java: Reindent.
1319 (contains): Implemented.
1320 (intersects): Implemented.
1321 * java/awt/geom/QuadCurve2D.java: Likewise.
1322 * java/awt/geom/GeneralPath.java: Reindent and document.
1323 Fully (re)implemented using separate xpoints and ypoints
1324 float[] coords.
1325 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1326
13272004-08-31 Michael Koch <konqueror@gmx.de>
1328
1329 * javax/swing/JMenuItem.java
1330 (getMenuDragMouseListeners): New method.
1331 (getMenuKeyListeners): Likewise.
1332
13332004-08-31 Michael Koch <konqueror@gmx.de>
1334
1335 * javax/swing/AbstractButton.java
1336 (model): Made protected.
1337 (actionListener): Likewise.
1338 (changeListener): Likewise.
1339 (itemListener): Likewise.
1340 (multiClickThreshhold): New field.
1341 (getActionListeners): New method.
1342 (getChangeListeners): Likewise.
1343 (getItemListeners): Likewise.
1344 (fireItemStateChanged): Simplified implementation.
1345 (fireActionPerformed): Likewise.
1346 (fireStateChanged): Likewise.
1347 (getMultiClickThreshhold): New method.
1348 (setMultiClickThreshhold): Likewise.
1349
13502004-08-31 Tom Tromey <tromey@redhat.com>
1351
1352 * java/awt/image/Kernel.java (clone): Use super.clone().
1353
13542004-08-31 David Jee <djee@redhat.com>
1355
1356 PR AWT/16682
1357 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1358 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1359 (nativeSetIconImageFromData): New native method declaration.
1360 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1361 * gnu/java/awt/peer/gtk/GtkImage.java
1362 (getPixelCache): New method.
1363 (getColorModel): New method.
1364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1365 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1366 (free_pixbuf_data): New helper function.
1367 (nativeSetIconImageFromData): New function.
1368
13692004-08-31 Graydon Hoare <graydon@redhat.com>
1370
1371 PR SWING/16576
1372 * javax/swing/JLayeredPane.java
1373 (setLayer): Permit changing layer after addition.
1374 (setPosition): Permit over-length positions.
1375 (layerToRange): Compare intValue()s.
1376 * javax/swing/Box.java (createHorizontalBox): Implement.
1377 (createRigidArea): Likewise.
1378 (createVerticalBox): Likewise.
1379
13802004-08-31 Kim Ho <kho@redhat.com>
1381
1382 * java/awt/Component.java:
1383 (processMouseEvent): Consume event after
1384 listeners process it.
1385 (processMouseMotionEvent): ditto.
1386 (processMouseWheelEvent): ditto.
1387 * java/awt/Container.java:
1388 (acquireComponentForMouseEvent):
1389 Do not dispatch to events that have been
1390 removed from the Container.
1391 (handleEvent): Consume the MouseEvents.
1392 * javax/swing/RepaintManager.java:
1393 (paintDirtyRegions): Do not add to list of
1394 damaged areas if the component has no root.
1395
13962004-08-31 Michael Koch <konqueror@gmx.de>
1397
1398 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1399
14002004-08-31 Mark Wielaard <mark@klomp.org>
1401
1402 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1403 null when a MissingResourceException is thrown. Should never happen.
1404
14052004-08-31 Mark Wielaard <mark@klomp.org>
1406
1407 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1408 when argument is null.
1409
14102004-08-31 Mark Wielaard <mark@klomp.org>
1411
1412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1413 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1414 Define hid at start of function.
1415 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1416 Likewise.
1417
14182004-08-31 Mark Wielaard <mark@klomp.org>
1419
1420 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1421 * javax/swing/JButton.java: Reindent.
1422 * javax/swing/JCheckBox.java: Reindent.
1423
14242004-08-31 Mark Wielaard <mark@klomp.org>
1425
1426 * Makefile.am (gtk_c_source_files): Added
1427 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1428 (gtk_awt_peer_sources): Added
1429 gnu/java/awt/peer/gtk/GThreadMutex.java and
1430 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1431 * Makefile.in: Regenerated.
1432
14332004-08-31 Archie Cobbs <archie@dellroad.org>
1434
1435 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1436
14372004-08-31 Steven Augart <augart@watson.ibm.com>
1438
1439 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1440 Added jfieldID, jmethodID.
1441
14422004-08-31 Mark Wielaard <mark@klomp.org>
1443
1444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1445 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1446 gdk_env before calling any gdk or gtk function.
1447
1448 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1449 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1450 (run): Set gtkInitCalled.
1451
14522004-08-31 Steven Augart <augart@watson.ibm.com>
1453
1454 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1455 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1456
1457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1458 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1459 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1460 init_glib_threads.
1461 (init_glib_threads): New function.
1462
14632004-08-31 Mark Wielaard <mark@klomp.org>
1464
1465 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1466 PRIORITY when not already defined in header file.
1467
14682004-08-31 Mark Wielaard <mark@klomp.org>
1469
1470 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1471 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1472
14732004-08-31 Steven Augart <augart@watson.ibm.com>
1474
1475 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1476 Implemented missing functions for GTK2.
1477 Added error handling.
1478 Renamed static functions out of the g_ namespace.
1479 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1480 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1481 Rewrote global-reference code.
1482 Eliminated cascading errors.
1483 (mutex_trylock_jni_impl) Fully implemented.
1484 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1485 resolution.
1486 (setup_cache) New function.
1487 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1488 bug where they were not unlocking the GMutex associated with the
1489 condition variable during the wait on that condition variable.
1490
1491 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1492 native/jni/gtk-peer/gthread-jni.c,
1493 native/jni/gtk-peer/gthread-jni.h
1494 (g_thread_jni_functions): Renamed to ...
1495 (portable_native_sync_jni_functions): this name.
1496 (gdk_vm): Renamed to...
1497 (the_vm): this name.
1498
1499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1500 (gdk_vm): Removed duplicate definition.
1501 (gtkInit): Removed stray message to stdout.
1502 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1503 (gtkInit): Fix a const assignment bug.
1504 (gtkInit): Simplified code.
1505
1506 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1507 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1508 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1509 gnu/java/awt/peer/gtk/GThreadMutex.java:
1510 New files.
1511
15122004-08-31 Mark Wielaard <mark@klomp.org>
1513
1514 * javax/swing/Box.java: Put FIXME comment above class declaration.
1515 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1516 * javax/swing/JCheckBox.java: Likewise.
1517 * javax/swing/JDialog.java: Likewise.
1518 * javax/swing/JRadioButton.java: Likewise.
1519 * javax/swing/JToggleButton.java: Likewise.
1520 * javax/swing/UIManager.java: Likewise.
1521 * javax/swing/border/TitledBorder.java: Likewise.
1522 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1523 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1524 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1525 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1526 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1527 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1528 * javax/swing/text/JTextComponent.java: Likewise.
1529
15302004-08-31 David Jee <djee@redhat.com>
1531
1532 PR AWT/16682
1533 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1534 (setIconImage): Add a FIXME for unhandled cases.
1535
15362004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1537
1538 PR AWT/16040
1539 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1540 getModifiers. Replace old button masks with new ones.
1541 * gnu/awt/xlib/XEventLoop.java: Likewise.
1542 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1543 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1544 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1545 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1546 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1547 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1548 * java/awt/Component.java: Replace old modifier masks with new
1549 ones.
1550 * java/awt/Container.java: Call getModifiersEx, not
1551 getModifiers.
1552 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1553 old modifier masks.
1554 * javax/swing/JMenuItem.java: Replace old button masks with new
1555 ones.
1556 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1557 getModifiers.
1558 * javax/swing/SwingUtilities.java: Likewise.
1559 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1560 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1562 mask macros with new ones.
1563 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1564 macros with new ones representing new masks.
1565
15662004-08-31 Craig Black <craig.black@aonix.com>
1567
1568 * gnu/java/awt/peer/gtk/GdkGraphics.java
1569 (drawRoundRect): Implemented.
1570 (fillRoundRect): Implemented.
1571 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1572 (drawRoundRect): Reimplemented to match GdkGraphics.
1573 (fillRoundRect): Reimplemented to match GdkGraphics.
1574
15752004-08-31 Mark Wielaard <mark@klomp.org>
1576
1577 * Makefile.in: Regenerated.
1578
15792004-08-31 Michael Koch <konqueror@gmx.de>
1580
1581 * gnu/java/awt/EmbeddedWindow.java
1582 (addNotify): Use AccessController to allow execution of privileged
1583 code.
1584
15852004-08-31 Michael Koch <konqueror@gmx.de>
1586
1587 * gnu/java/awt/EmbeddedWindow.java
1588 (static): Removed.
1589 (addNotify): Set peer via reflection.
1590 (setWindowPeer): Removed.
1591 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1592 * Makefile.am (nat_source_files):
1593 Removed gnu/java/awt/natEmbeddedWindow.cc.
1594
15952004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1596
1597 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1598 and gnu/java/security/action/SetAccessibleAction.java.
1599
16002004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1601
1602 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1603 Renamed from 'setName'. New 2-argument form with default value.
1604 (run): Pass default 'value' parameter to System.getProperty().
1605 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1606 typos.
1607
16082004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1609
1610 * gnu/java/security/action/GetPropertyAction.java: New class.
1611 * gnu/java/security/action/SetAccessibleAction.java: New class.
1612
16132004-08-31 David Jee <djee@redhat.com>
1614
1615 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1616 (setIconImage): Check if image is null.
1617
16182004-08-31 David Jee <djee@redhat.com>
1619
1620 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1621 (create): Set the icon image.
1622 (nativeSetIconImage): New native method declaration.
1623 (setIconImage): Implement.
1624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1625 (nativeSetIconImage): New function.
1626
16272004-08-31 Dalibor Topic <robilad@kaffe.org>
1628
1629 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1630 (filenameFilterCallback): Declare local variable accepted before use.
1631
16322004-08-31 Dalibor Topic <robilad@kaffe.org>
1633
1634 * gnu/java/awt/ComponentDataBlitOp.java:
1635 Cleaned up imports.
1636
16372004-08-31 Tom Tromey <tromey@redhat.com>
1638
1639 * gnu/java/awt/peer/GLightweightPeer.java,
1640 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1641 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1642 javax/swing/JScrollPane.java: Removed
1643 redundant imports.
1644
16452004-08-31 David Jee <djee@redhat.com>
1646
1647 * java/awt/DefaultKeyboardFocusManager.java
1648 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1649 event. Fix shift modifier checking.
1650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1651 (accel_attach): Remove.
1652 (setupAccelGroup): Remove calls to accel_attach.
1653
16542004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1655
1656 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1657 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1658
1659 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1660 GtkArgList.java.
1661 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1662 * Makefile.in: Regenerate.
1663 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1665 (create(String)): New method.
1666 (create): Call new create method.
1667 (getArgs): Remove method.
1668 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1670 (nativeCreate): Rename to create.
1671 (gtkSetLabel): Rename to gtkButtonSetLabel.
1672 (gtkToggleButtonSetActive): New method.
1673 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1674 (setState): Replace set call with gtkToggleButtonSetActive.
1675 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1676 (getArgs): Remove method.
1677 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1679 (gtkWidgetSetSensitive): New method.
1680 (gtkWidgetSetParent): Likewise.
1681 (GtkComponentPeer): Call setParent, setComponentBounds and
1682 setVisibleAndEnabled.
1683 (setParent): New method.
1684 (setComponentBounds): New method.
1685 (setVisibleAndEnabled): New method.
1686 (setEnabled): Call gtkWidgetSetSensitive.
1687 (getArgs): Remove method.
1688 Remove all set methods.
1689 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1690 gtkWindowSetModal, setTitle and setResizable.
1691 (getArgs): Remove method.
1692 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1693 (setComponentBounds): New method.
1694 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1695 Replace set call with gtkWindowSetResizable.
1696 (getArgs): Remove method.
1697 (create): Call setTitle and setResizable.
1698 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1699 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1700 (gtkWindowSetTitle): New method.
1701 (gtkWindowSetResizable): New method.
1702 (gtkWindowSetModal): New method.
1703 (setParent): New method.
1704 (setVisibleAndEnabled): New method.
1705 (getArgs): Remove method.
1706 (setTitle): Call gtkWindowSetTitle.
1707 (setResizable): Call gtkWindowSetResizable.
1708 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1709 and off locking instrumentation.
1710
17112004-08-31 Kim Ho <kho@redhat.com>
1712
1713 * Makefile.am: Add new file.
1714 * Makefile.in: Regenerate.
1715 * gcj/Makefile.in: Regenerate
1716 * include/Makefile.in:
1717 * java/awt/Container.java:
1718 (acquireComponentForMouseEvent): Respect
1719 the event mask when looking for candidate.
1720 * javax/swing/JComponent.java:
1721 Remove toolTip field.
1722 (createToolTip): Create a tooltip on demand.
1723 (setToolTipText): Register with the ToolTipManager.
1724 (getToolTipText(MouseEvent)): Return getToolTipText().
1725 * javax/swing/JToolTip.java: Implement.
1726 * javax/swing/Timer.java: Jalopy.
1727 (restart): Call stop, then start.
1728 (stop): Interrupt the timer rather than wait for
1729 the timer to come to a stop naturally.
1730 * javax/swing/ToolTipManager.java: Implement.
1731 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1732 Change ToolTip.background color.
1733 * javax/swing/plaf/basic/BasicToolTipUI.java:
1734 Implement.
1735 * testsuite/Makefile.in: Regenerate
1736
17372004-08-31 Jerry Quinn <jlquinn@optonline.net>
1738
1739 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1740 constructor param comments.
1741
17422004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1743
1744 * java/awt/Component.java: Document AWT 1.0 event handler
1745 methods.
1746
17472004-08-31 Roman Kennke <roman@ontographics.com>
1748
1749 * javax/swing/Box.java:
1750 (createGlue): Implemented
1751 (createHorizontalGlue): Implemented
1752 (createHorizontalStrut): Implemented
1753 (createVerticalGlue): Implemented
1754 (createVerticalStrut): Implemented
1755
17562004-08-31 David Jee <djee@redhat.com>
1757
1758 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1759 (GtkChoicePeer): Do not automatically select first item.
1760 (getHistory): Remove.
1761 (nativeGetSelected): New method.
1762 (nativeRemoveAll): New method.
1763 (add): Use nativeGetSelected() instead of getHistory().
1764 (remove): Likewise.
1765 (removeAll): Call nativeRemoveAll().
1766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1767 (create): Migrate to GtkComboBox.
1768 (append): Likewise.
1769 (nativeAdd): Likewise.
1770 (nativeRemove): Likewise.
1771 (select): Likewise.
1772 (nativeRemoveAll): New method.
1773 (nativeGetSelected): New method.
1774 (selection_changed): New method.
1775 (getHistory): Remove.
1776 (item_activate): Remove.
1777 (item_removed): Remove.
1778 (connect_choice_item_selectable_hook): Remove.
1779
17802004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1781
1782 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1783 variable in setEditable call.
1784
1785 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1786 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1787 (gtkWidgetSetBackground): New method.
1788 (gtkWidgetSetForeground): Likewise.
1789 (create): Set peer's editable state based on awtComponent's.
1790
1791 * java/awt/Button.java (Button()): Use empty string rather than
1792 null in no-label constructor.
1793
17942004-08-31 Roman Kennke <roman@ontographics.com>
1795
1796 * javax/swing/BoxLayout.java: Reimplement.
1797
17982004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1799
1800 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1801 gnu_java_awt_peer_gtk_GdkGraphics.c
1802 (initState(GtkComponentPeer)): Don't return array of colour
1803 values.
1804 (GdkGraphics(int,int)): Set default font to size 12.
1805 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1806 component's foreground colour.
1807 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1808 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1809 (initState(GtkComponentPeer)): Don't return array of colour
1810 values.
1811 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1812 colours to component's colours.
1813 (current_colors_of_widget): Remove function.
1814 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1815 Return a new graphics object.
1816 * java/awt/Font.java (toString): Fix format.
1817 * java/awt/Graphics.java (toString): Likewise.
1818
18192004-08-31 Craig Black <craig.black@aonix.com>
1820
1821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1822 (addTearOff): New function.
1823 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1824 New native method.
1825 (init): Call addTearOff() when menu.isTearOff().
1826
18272004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1828
1829 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1830 Default implementation.
1831 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1832 Implement using GdkPixbufDecoder.
1833
18342004-08-31 David Jee <djee@redhat.com>
1835
1836 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1837 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1838 setting the size of GtkFileDialogPeers.
1839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1840 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1841 use their default sizes rather than their natural requisitions.
1842
18432004-08-31 Michael Koch <konqueror@gmx.de>
1844
1845 * javax/swing/JFormattedTextField.java
1846 (JFormattedTextField): Implemented.
1847 * javax/swing/text/DefaultEditorKit.java
1848 (BeepAction): New inner class.
1849 * javax/swing/text/Segment.java
1850 (partialReturn): New field.
1851 (setPartialReturn): New method.
1852 (isPartialReturn): Likewise.
1853 * javax/swing/text/View.java
1854 (createFragment): Fixed typo.
1855 (getStartOffset): New method.
1856 (getEndOffset): Likewise.
1857
18582004-08-31 Michael Koch <konqueror@gmx.de>
1859
1860 * javax/swing/table/DefaultTableColumnModel.java
1861 (serialVersionUID): Made private.
1862 (listenerList): Initialize.
1863 (changeEvent): Initialize.
1864 * javax/swing/table/JTableHeader.java
1865 (JTableHeader): New constructors.
1866 (createDefaultColumnModel): New method.
1867 * javax/swing/table/TableColumn.java
1868 (setHeaderRenderer): Simplified code.
1869 (setCellRenderer): Likewise.
1870 (setWidth): Likewise.
1871
e2ab6d12
TT
18722004-08-31 Tom Tromey <tromey@redhat.com>
1873
1874 * java/text/AttributedString.java (AttributedString): Use
1875 ArrayList to build array of attribute ranges. Don't use
1876 `attribs' before it is set.
1877
1c340cb6
AT
18782004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1879
1880 * HACKING: Remove reference to special automake. No longer needed.
1881
b6e9851a
TT
18822004-08-30 Tom Tromey <tromey@redhat.com>
1883
1884 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1885 return result from `add'.
1886
05502144
TT
18872004-08-30 Tom Tromey <tromey@redhat.com>
1888
1889 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1890
e7023b0f
AT
18912004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1892
1893 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1894
2c64dead
JF
18952004-08-30 Jeroen Frijters <jeroen@frijters.net>
1896
1897 * java/io/File.java File(String,String): Fixed handling of empty
1898 path.
1899
bd8a2e96
CM
19002004-08-30 Casey Marshall <csm@gnu.org>
1901
1902 Author e-mail updated for all files.
1903 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1904 instance of OID.
1905 (compareTo): Use `equals'.
1906 * gnu/java/security/der/BitString.java (equals): Test if the
1907 argument is an instance of BitString.
1908 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1909 class final. Made fields private.
1910 (<init>): New constructor.
1911 (skip): New method.
1912 (makeString): Made static; don't use NIO.
1913 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1914 * gnu/java/security/der/DERWriter.java: Fixed imports.
1915 (writeString): Don't use NIO.
1916 (toIso88591, toUtf16Be, toUtf8): New methods.
1917 * gnu/java/security/der/DERValue.java: Formatting changes only.
1918 * gnu/java/security/der/DER.java: Likewise.
1919
68760aee
AT
19202004-08-30 Tom Tromey <tromey@redhat.com>
1921
1922 * java/nio/CharBuffer.java (put): Fix typo.
1923 * java/nio/DoubleBuffer.java (put): Fix typo.
1924 * java/nio/FloatBuffer.java (put): Fix typo.
1925 * java/nio/IntBuffer.java (put): Fix typo.
1926 * java/nio/LongBuffer.java (put): Fix typo.
1927 * java/nio/ShortBuffer.java (put): Fix typo.
1928
19292004-08-30 Florian Weimer <fw@deneb.enyo.de>
1930
1931 * java/nio/ByteBuffer.java (put): Fix typo.
1932
28839b70
CM
19332004-08-30 Casey Marshall <csm@gnu.org>
1934
1935 * java/security/DummyKeyPairGenerator.java (clone): Removed
1936 useless instanceof check.
1937 * java/security/DummyMessageDigest.java (clone): Likewise.
1938 * java/security/DummySignature.java (clone): Likewise.
1939 * java/security/MessageDigest.java (clone): Remove useless
1940 instanceof check.
1941 * java/security/MessageDigestSpi.java (clone): Likewise.
1942 * java/security/Signature.java (clone): Provide meaningful
1943 implementation.
1944 * java/security/SignatureSpi.java (clone): Likewise.
1945
6cd655a3
MW
19462004-08-29 Mark Wielaard <mark@klomp.org>
1947
1948 * java/util/Arrays.java
1949 (sort(byte[], int, int)): Check fromIndex < 0.
1950 (sort(char[], int, int)): Likewise.
1951 (sort(short[], int, int)): Likewise.
1952 (sort(int[], int, int)): Likewise.
1953 (sort(long[], int, int)): Likewise.
1954 (sort(float[], int, int)): Likewise.
1955 (sort(double[], int, int)): Likewise.
1956 (sort(Object[], int, int, Comparator)): Likewise.
1957 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1958 (qsort(char[], int, int)): Likewise.
1959 (qsort(short[], int, int)): Likewise.
1960 (qsort(int[], int, int)): Likewise.
1961 (qsort(long[], int, int)): Likewise.
1962 (qsort(float[], int, int)): Likewise.
1963 (qsort(double[], int, int)): Likewise.
1964
477a21f7
AJH
19652004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1966
1967 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1968 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1969 java/util/ArrayList.java, java/util/Arrays.java,
1970 java/util/BitSet.java, java/util/Calendar.java,
1971 java/util/Collection.java, java/util/ListIterator.java,
1972 java/util/Map.java, java/util/SortedSet.java:
1973 Added additional exceptions to documentation, along
1974 with some additions and corrections.
1975
ed347998
HB
19762004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1977
1978 * configure.ac: Handle --enable-gc-debug.
1979 * configure: Regenerate.
1980 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1981 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1982 Rearrange include file order.
1983 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1984 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1985 (disable_gc_mutex): Delete along with all references.
1986 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1987 adjust for debug header size.
1988 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1989 debug case.
1990 (_Jv_AllocArray): Declare min_heap_addr only if needed.
1991 (gcj_describe_type_fn): New.
1992 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1993 Register gcj_describe_type_fn.
1994 * include/boehm-gc.h:
1995 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1996 Don't define, but declare, for debug case.
1997 * java/lang/natObject.cc:
1998 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1999
42348101
MW
20002004-08-26 Mark Wielaard <mark@klomp.org>
2001
2002 Fixes PR libgcj/17002:
2003 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2004 a TimeZoneId string and then try to convert that to a TimeZone with
2005 getDefaultSystemTimeZone(String).
2006 (timezones0): Changed type from Hashtable to HashMap.
2007 (timezones): Create HashMap, not Hashtable.
2008 (getDefaultTimeZone): New method, rewritten from CNI version.
2009 (readTimeZoneFile): New method.
2010 (readtzFile): Likewise.
2011 (skipFully): Likewise.
2012 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2013 getDefaultTimeZoneId and rewritten.
2014 (getDefaultTimeZoneId): Rewritten in java.
2015
ed89de94
DD
20162004-08-25 David Daney <daney@avtrex.com>
2017
2018 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2019 * Makefile.in: Regenerated.
2020
8ba14152
BM
20212004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2022
2023 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2024 only if jvmpi is enabled.
2025 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2026 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2027 (_Jv_AllocString): Likewise.
2028 (_Jv_AllocPtrFreeObject): Likewise.
2029
0039c16d 20302004-08-23 Hans Boehm <Hans.Boehm@hp.com>
8ba14152 2031
0039c16d
HB
2032 * defineclass.cc: Include <stdio.h>.
2033 * java/lang/natClassLoader.cc: Include <stdio.h>.
2034
be2043db
AT
20352004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2036 Michael Koch <konqueror@gmx.de>
2037
2038 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2039 * Makefile.in: Regenerated.
2040
b7d9c3ae
MK
20412004-08-20 Michael Koch <konqueror@gmx.de>
2042
2043 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2044 AC_COMPILE_IFELSE macros.
2045
80d8905c
MK
20462004-08-20 Michael Koch <konqueror@gmx.de>
2047
2048 * configure.in: Renamed to configure.ac.
2049 * configure.ac: New file.
2050 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2051 include/config.h.in, testsuite/Makefile.in: Regenerated.
2052
cad90591
MK
20532004-08-20 Michael Koch <konqueror@gmx.de>
2054
2055 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2056 * aclocal.m4, configure: Regenerated.
2057
e3f92d3b
MK
20582004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2059 Michael Koch <konqueror@gmx.de>
2060
438c7f23
BM
2061 * configure.in, Makefile.am: Ported to automake 1.9.
2062 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2063 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
e3f92d3b
MK
2064 Regenerated.
2065
476a918f
TT
20662004-08-19 Tom Tromey <tromey@redhat.com>
2067
2068 * java/net/DatagramSocket.java: Fixed typo.
2069
bb0452b1
BM
20702004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2071
2072 PR libgcj/17081
2073 * java/net/URI.java (string): New field. Make all other fields
2074 transient.
2075 (readObject): Implemented.
2076 (writeObject): Implemented.
2077 (URI): Set 'string'.
2078
b4b3435e
BM
20792004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2080
2081 PR libgcj/17079
2082 * java/util/logging/Handler.java (isLoggable): Accept record if its
2083 log level equals the threshold level. From Robin Green.
2084
720086cd
DD
20852004-08-18 David Daney <ddaney@avtrex.com>
2086
2087 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2088 instead of sigwait.
2089
baeff970
MK
20902004-08-17 Michael Koch <konqueror@gmx.de>
2091
2092 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2093 * Makefile.in: Regenerated.
2094
0e5b1376
TT
20952004-08-16 Tom Tromey <tromey@redhat.com>
2096
2097 PR java/8473:
2098 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2099
be170ef2
MK
21002004-08-16 Michael Koch <konqueror@gmx.de>
2101
2102 * Makefile.am
2103 (math_c_files): Renamed from c_files.
2104 (math_c_source_files): Renamed from c_source_files.
2105 * Makefile.in,
2106 gcj/Makefile.in,
2107 include/Makefile.in,
2108 testsuite/Makefile.in: Regenerated.
2109
7614fd28
BM
21102004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2111
2112 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2113 to avoid autoconf warning.
2114 * configure: Rebuilt.
2115
1c5192e4
AT
21162004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2117
2118 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2119 localhostAddress to loopbackAddress.
2120 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2121
4109fe85
BM
21222004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2123
2124 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2125 boehm-gc's include dirs.
2126 * configure: Rebuilt.
2127 * include/boehm-gc.h: Include gc_config.h.
2128
d7945faf
BM
21292004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2130
2131 * java/net/InetAddress.java (loopbackAddress): Renamed from
2132 localhostAddress.
2133 (getByName): Return loopback address for null hostname, without
2134 security check. Use lookup(), not getAllByName.
2135 (getAllByName): Return loopback address for null hostname, without
2136 security check.
2137 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2138 check here.
2139
73389fa4
BM
21402004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2141
2142 PR libgcj/17020
2143 Reported by Robin Green.
2144 * defineclass.cc (handleField): Don't throw exception on unrecognised
2145 modifier. Add FIXME comments for spec compliance.
2146 (handleMethod): Likewise.
2147
28e99c62
HB
21482004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2149
2150 PR libgcj/16662
2151 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2152 (Almost everywhere): add LOG calls, fix, add comments.
2153 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2154 Add explicit check for LOCKED bit in slow case (PR 16662).
2155 (_Jv_MonitorExit): Add casts in debug-only code.
2156 Always release LOCKED bit before throwing exception.
2157 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2158 isn't. Handle easy cases without lock acquisition.
2159 (Object::wait): Use NotifyAll for lock inflation.
2160
faa03cf1
DD
21612004-08-12 David Daney <ddaney@avtrex.com>
2162
2163 * testsuite/libjava.lang/Process_1.java: New test.
2164 * testsuite/libjava.lang/Process_2.java: New test.
2165 * testsuite/libjava.lang/Process_3.java: New test.
2166 * testsuite/libjava.lang/Process_4.java: New test.
2167 * testsuite/libjava.lang/Process_5.java: New test.
2168 * testsuite/libjava.lang/Process_6.java: New test.
2169 * testsuite/libjava.lang/Process_1.out: Expected result.
2170 * testsuite/libjava.lang/Process_2.out: Expected result.
2171 * testsuite/libjava.lang/Process_3.out: Expected result.
2172 * testsuite/libjava.lang/Process_4.out: Expected result.
2173 * testsuite/libjava.lang/Process_5.out: Expected result.
2174 * testsuite/libjava.lang/Process_6.out: Expected result.
2175
21762004-08-12 David Daney <ddaney@avtrex.com>
2177
2178 PR libgcj/11801
2179 * java/lang/PosixProcess.java: Rewrote.
2180 * java/lang/natPosixProcess.cc: Rewrote.
2181 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2182 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2183 * posix-threads.cc (block_sigchld) New function.
2184 (_Jv_ThreadRegister) Use it.
2185 (_Jv_ThreadStart) Use it.
2186 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2187 * Makefile.am: ... to specify extra native headers.
2188 * configure: Regenerated.
2189 * include/config.h: Regenerated.
2190 * Makefile.in: Regenerated.
2191 * gcj/Makefile.in: Regenerated.
2192 * include/Makefile.in: Regenerated.
2193 * testsuite/Makefile.in: Regenerated.
2194
c597ef4e
DN
21952004-08-12 Diego Novillo <dnovillo@redhat.com>
2196
2197 PR tree-optimization/16867
2198 * testsuite/libjava.lang/PR16867.java: New test.
2199
b4d49f49
PB
22002004-08-09 Per Bothner <per@bothner.com>
2201
2202 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2203 with private fields and access methods.
2204 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2205 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2206 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2207 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2208 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2209 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2210 * jni.cc: Likewise.
2211 * resolve.cc: Likewise.
2212 * gcj/field.h: Likewise.
2213 * include/jvm.h: Likewise.
2214 * java/lang/Class.h: Likewise.
2215 * java/lang/natClass.cc: Likwise.
2216 * java/lang/natClassLoader.cc: Likewise
2217 * java/lang/reflect/natMethod.cc: Likewise
2218 * verify.cc: Likewise.
2219 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2220 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2221
7e04b67b
AH
22222004-08-10 Andrew Haley <aph@redhat.com>
2223
2224 * testsuite/libjava.lang/err14.java: New file.
2225 * testsuite/libjava.lang/err14.out: New file.
2226
48a8c565
AT
22272004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2228
2229 * Makefile.am: Fix missing rename from x_nat_headers to
2230 xlib_nat_headers.
2231 * Makefile.in: Regenerated.
2232
26be638d
AH
22332004-08-04 Andrew Haley <aph@redhat.com>
2234
2235 * java/security/BasicPermission.java: Don't check wildcards.
2236
614c0fc2
TF
22372004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2238 Michael Koch <konqueror@gmx.de>
2239
2240 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2241 * configure.in: Replaced all usages of AC_LINK_FILES by
2242 AC_CONFIG_LINKS.
2243 * aclocal.m4,
2244 configure: Regenerated.
2245
ff78c80b
TF
22462004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2247 Michael Koch <konqueror@gmx.de>
2248
2249 * acconfig.h: Removed.
2250 * Makefile.am: Rename variables for xlib peer to include xlib and
2251 gtk_c_headers to gtk_jni_headers.
2252 * Makefile.in: Regenerated.
2253
76207f7c
AH
22542004-08-04 Andrew Haley <aph@redhat.com>
2255
2256 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2257 debugging.
2258
aed6152d
NN
22592004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2260
2261 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2262 Replace most top level 'dnl' comments with '#' comments, conforming
2263 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2264 help strings.
2265 * configure: Rebuilt.
2266
ed698112
NN
22672004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2268
2269 * acinclude.m4: Include no-executables.m4.
2270 * aclocal.m4: Rebuild.
2271 * configure.in: Convert to the autoconf 2.59 version of
2272 of the no-executables hack, and also of the nonstandard CXX
2273 hack and the multilibbed CC and CXX hack. Change prerequisite
2274 to autoconf 2.59.
2275 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2276 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2277 testsuite/Makefile.in: Regenerate.
2278
8e9031ec
TT
22792004-08-03 Tom Tromey <tromey@redhat.com>
2280
2281 * jni.cc: Reindented.
2282
474f5417
BM
22832004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2284
2285 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2286
899deeca
BM
22872004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2288
2289 * testsuite/libjava.compile/PR16701.java: New test.
2290
b828123e
AJH
22912004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2292
2293 * java/util/Collection.java, java/util/List.java,
2294 java/util/Map.java, java/util/Set.java,
2295 java/util/SortedMap.java, java/util/SortedSet.java:
2296 Added additional exceptions to documentation.
2297
5b5662ee
DS
22982004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2299
2300 PR libgcj/16814
2301 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2302 * configure. Regenerate.
2303 * include/win32.h: Explicitly include winsock2.h
2304 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2305 Winsock api.
2306
f370ef24
MK
23072004-07-30 Michael Koch <konqueror@gmx.de>
2308
2309 * java/util/zip/GZIPInputStream.java
2310 (GZIPInputStream): Increase buffer size to 4k.
2311 * java/util/zip/GZIPOutputStream.java
2312 (GZIPOutputStream): Likewise.
2313 * java/util/zip/Inflater.java
2314 (setInput): Merged formating with GNU classpath.
2315 * java/util/zip/InflaterInputStream.java
2316 (InflaterInputStream): Increase buffer size to 4k.
2317 (fill): Throw exception if stream ends early.
2318 (read): Merged endless-loop with GNU classpath.
2319 (skip): Increase buffer size to 2k.
2320
2afed683
MK
23212004-07-30 Michael Koch <konqueror@gmx.de>
2322
2323 * gnu/java/awt/EmbeddedWindow.java
2324 (addNotify): Use AccessController to allow execution of privileged
2325 code.
2326
a639e504
MK
23272004-07-29 Michael Koch <konqueror@gmx.de>
2328
2329 * gnu/java/lang/MainThread.java:
2330 Explicitely import used classes.
2331 (args): Make it type String[].
2332
1cc49b13
DT
23332004-07-29 Dalibor Topic <robilad@kaffe.org>
2334
2335 * gnu/java/awt/ComponentDataBlitOp.java,
2336 gnu/java/beans/ExplicitBeanInfo.java,
2337 gnu/java/beans/IntrospectionIncubator.java,
2338 gnu/java/beans/editors/ColorEditor.java,
2339 gnu/java/beans/editors/FontEditor.java,
2340 gnu/java/beans/editors/NativeBooleanEditor.java,
2341 gnu/java/beans/editors/NativeByteEditor.java,
2342 gnu/java/beans/editors/NativeDoubleEditor.java,
2343 gnu/java/beans/editors/NativeFloatEditor.java,
2344 gnu/java/beans/editors/NativeIntEditor.java,
2345 gnu/java/beans/editors/NativeLongEditor.java,
2346 gnu/java/beans/editors/NativeShortEditor.java,
2347 gnu/java/beans/editors/StringEditor.java,
2348 gnu/java/io/ClassLoaderObjectInputStream.java,
2349 gnu/java/io/decode/Decoder.java,
2350 gnu/java/io/encode/Encoder.java,
2351 gnu/java/lang/ClassHelper.java,
2352 gnu/java/locale/Calendar.java,
2353 gnu/java/locale/Calendar_de.java,
2354 gnu/java/locale/Calendar_en.java,
2355 gnu/java/locale/Calendar_nl.java,
2356 gnu/java/locale/LocaleInformation_de.java,
2357 gnu/java/locale/LocaleInformation_en.java,
2358 gnu/java/locale/LocaleInformation_nl.java:
2359 Cleaned up imports.
2360
4d4fed15
BM
23612004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2362
2363 * README: Remove obsolete info. Update bug URL.
2364 * THANKS: Updated.
e90bcbf5 2365 * NEWS: Updated with news up to GCC 3.4 release.
4d4fed15 2366
64d696b6
BM
23672004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2368
2369 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2370 Renamed from 'setName'. New 2-argument form with default value.
2371 (run): Pass default 'value' parameter to System.getProperty().
2372 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2373 typos.
2374 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2375 not 'setName'.
2376
f0faf24b
BM
23772004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2378
2379 * configure.in: Check for minimum GTK version 2.4 requirement.
2380 * configure: Rebuilt.
2381
ce961468
BM
23822004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2383
2384 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2385 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2386 Reduce sleep time.
2387 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2388 compiler bug.
2389 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2390 address. Reduce sleep times. Synchronize with target threads before
2391 attempting to interrupt them. Don't try to calibrate yeild count,
2392 instead, always loop for a fixed time.
2393 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2394 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2395 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2396 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2397 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2398 * testsuite/libjava.lang/pr179.java: Likewise.
2399 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2400 time. Remove upper bounds check on sleep time.
2401
0954f3eb
BM
24022004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2403
2404 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2405 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2406
d078f7c0
BM
24072004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2408
2409 * java/io/File.java (toURI): Throw RuntimeException, not
2410 InternalError.
2411 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2412 class name, not instance.
2413
8b66a9e9
BM
24142004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2415
2416 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2417 and gnu/java/security/action/SetAccessibleAction.java.
2418 * Makefile.in: Rebuilt.
2419
ffe4e037
BM
24202004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2421
2422 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2423 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2424 _Jv_InitPrimClass.
2425 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2426 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2427 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2428
ef05818b
TF
24292004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2430
2431 * Makefile.am: Replace jar, rmic and rmiregistry references with
2432 gjar, grmic and grmiregistry.
2433 * configure.in: Likewise.
2434 * Makefile.in: Regenerate.
2435 * configure: Likewise.
2436 * gcj/Makefile.in: Likewise.
2437 * include/Makefile.in: Likewise.
2438 * testsuite/Makefile.in: Likewise.
2439
ae066484
BM
24402004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2441
ec5c28ec
BM
2442 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2443 for privileged getProperty calls.
2444 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2445 SetAccessibleAction instead of anonymous class for doPrivileged call.
2446 (getMethod): Likewise.
2447 (setAccessible): New field. PrivilegedAction object to use when
2448 calling setAccessible.
2449 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2450 SetAccessibleAction instead of anonymous class for diPrivileged call.
2451 (setFields): Likewise.
2452 (getClassUID): Likewise.
2453 (findMethod): Likewise.
2454 * gnu/java/security/action/GetPropertyAction.java: New class.
2455 * gnu/java/security/action/SetAccessibleAction.java: New class.
2456
24572004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2458
2459 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2460 for final fields.
ae066484
BM
2461 * testsuite/libjava.lang/Serialization.java: New test.
2462 * testsuite/libjava.lang/Serialization.out: New.
2463
24642004-07-23 Bryce McKinlay <mckinlay@redhat.com>
694e657a
MW
2465
2466 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2467 missed in last commit.
2468
392abf6b
MW
24692004-07-23 Mark Wielaard <mark@klomp.org>
2470
2471 * java/lang/System.java (static): Set http.agent system property when
2472 not yet set.
2473 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2474 from system property inside AccessController.doPrivileged() call.
2475 (proxyPort): Made package private.
2476 (proxyInUse): Likewise.
2477 (proxyHost): Likewise.
2478 (userAgent): Likewise.
2479
6d97cb60
MW
24802004-07-23 Mark Wielaard <mark@klomp.org>
2481
2482 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2483 implementation.
2484
f1f90ae0
BM
24852004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2486
2487 * Makefile.am (ordinary_java_source_files): Add
2488 DefaultContentHandlerFactory.java.
2489 * Makefile.in: Rebuilt.
2490 * java/net/URLConnection.java (defaultFactory): New field.
2491 (getContent):
2492 (getContentHandler): Renamed from 'setContentHandler'. Try
2493 defaultFactory after user-set factory, if any. Search for content
2494 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2495 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2496 Implemented.
2497 (getLastModified): Implemented.
2498 (getPermission): Create file permission here, instead of in
2499 constructor.
2500 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2501 Implemented.
2502 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2503 Implemented.
2504 (getLastModified): Implemented.
2505 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2506 Default implementation.
2507 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2508 Implement using GdkPixbufDecoder.
2509
8e99fb4f
GH
25102004-07-21 Michael Koch <konqueror@gmx.de>
2511
2512 * javax/swing/JTextArea.java
2513 (setLineWrap): Fire property change event after new value is set.
2514 (setTabSize): Likewise.
2515
25162004-07-21 Michael Koch <konqueror@gmx.de>
2517
2518 * javax/swing/JTable.java
2519 (autoCreateColumnsFromModel): New field.
2520 (autoResizeMode): Likewise.
2521 (cellEditor): Likewise.
2522 (cellSelectionEnabled): Likewise.
2523 (columnModel): Likewise.
2524 (dataModel): Likewise.
2525 (defaultEditorsByColumnClass): Likewise.
2526 (defaultRenderersByColumnClass): Likewise.
2527 (editingColumn): Likewise.
2528 (editingRow): Likewise.
2529 (gridColor): Likewise.
2530 (preferredViewportSize): Likewise.
2531 (rowHeight): Likewise.
2532 (rowMargin): Likewise.
2533 (rowSelectionAllowed): Likewise.
2534 (selectionBackground): Likewise.
2535 (selectionForeground): Likewise.
2536 (selectionModel): Likewise.
2537 (showHorizontalLines): Likewise.
2538 (showVerticalLines): Likewise.
2539 (tableHeader): Likewise.
2540 (JTable): Implemented.
2541 (getColumnModel): Likewise.
2542 (getSelectedRow): Likewise.
2543 (getSelectionModel): Likewise.
2544 (setModel): Likewise.
2545 (setSelectionModel): Likewise.
2546 (createScrollPaneForTable): New method.
2547 (createDefaultDataModel): Likewise.
2548 (createDefaultListSelectionModel): Likewise.
2549 (getModel): Likewise.
2550 (getTableHeader): Likewise.
2551 (setTableHeader): Likewise.
2552 (getColumnSelectionAllowed): Likewise.
2553 (setColumnSelectionAllowed): Likewise.
2554 (getRowSelectionAllowed): Likewise.
2555 (setRowSelectionAllowed): Likewise.
2556 (getAutoResizeMode): Likewise.
2557 (setAutoResizeMode): Likewise.
2558 (getColumnCount): Likewise.
2559 (getRowCount): Likewise.
2560 (getCellRenderer): Likewise.
2561 * javax/swing/JTree.java
2562 (cellRenderer): New field.
2563 (editable): Likewise.
2564 (rootVisible): Likewise.
2565 (showsRootHandles): Likewise.
2566 (getModel): New method.
2567 (setModel): Likewise.
2568 (isEditable): Likewise.
2569 (setEditable): Likewise.
2570 (isRootVisbile): Likewise.
2571 (setRootVisible): Likewise.
2572 (getShowsRootHandles): Likewise.
2573 (setShowRootHandles): Likewise.
2574 (getCellRenderer): Likewise.
2575 (setCellRenderer): Likewise.
2576
25772004-07-21 Michael Koch <konqueror@gmx.de>
2578
2579 * javax/swing/JFormattedTextField.java
2580 (setDocument): Implemented.
2581 * javax/swing/JRootPane.java:
2582 Fixed javadocs.
2583 * javax/swing/JTable.java
2584 (getDefaultRenderer): New method.
2585 * javax/swing/JTextField.java
2586 (setFont): Likewise.
2587 (getPreferredSize): Likewise.
2588 * javax/swing/JToggleButton.java
2589 (getAccessibleContext): Fix javadoc.
2590 * javax/swing/JTree.java:
2591 Add some javadocs.
2592 * javax/swing/JViewport.java:
2593 Likewise.
2594
25952004-07-21 David Jee <djee@redhat.com>
2596
2597 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2598 Collect all native method declaration at the top.
2599 (create): Set the filename filter if necessary.
2600 (setDirectory): Call nativeSetDirectory().
2601 (setFilenameFilter): Implement.
2602 (filenameFilterCallback): New method.
2603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2604 (create): Configure dialog to show hidden files.
2605 (filenameFilterCallback): New function.
2606 (nativeSetFilenameFilter): New function.
2607 (nativeSetDirectory): New function.
2608
26092004-07-21 Kim Ho <kho@redhat.com>
2610
2611 * javax/swing/plaf/basic/BasicSliderUI.java:
2612 Ran Jalopy.
2613 (paintTrack): Fill the track before painting
2614 the borders.
2615
26162004-07-21 Graydon Hoare <graydon@redhat.com>
2617
2618 patch from Roman Kennke <roman@ontographics.com>
2619 * javax/swing/Spring.java: New file.
2620 * javax/swing/SpringLayout.java: New file.
2621 * Makefile.am: Add new files.
2622 * Makefile.in: Regenerate.
2623
26242004-07-21 Graydon Hoare <graydon@redhat.com>
2625
2626 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2627 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2628 * javax/swing/ScrollPaneLayout.java: Likewise.
2629
26302004-07-21 Kim Ho <kho@redhat.com>
2631
2632 * javax/swing/DefaultDesktopManager.java:
2633 (findMinimum): Removed.
2634 (resizeFrame): Trust the UI to pass valid
2635 bounds.
2636 * javax/swing/JOptionPane.java:
2637 Implemented showInternalXXXDialog methods.
2638 (startModal): New method.
2639 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2640 (BorderListener::mouseDragged): Verify that the new
2641 bounds are valid before passing them to the DesktopManager.
2642 (preferredLayoutSize): Delegate
2643 to getSize.
2644 (minimumLayoutSize): Ditto.
2645 (getSize): New method.
2646 (GlassPaneDispatcher): Reimplemented by copying
2647 a stripped down LightweightDispatcher from Container.
2648 (getMinimumSize): Call minimumLayoutSize.
2649 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2650 Ran Jalopy.
2651 (mousePressed): Add ability to properly close
2652 JInternalFrames.
2653 * javax/swing/plaf/basic/BasicToolBarUI.java:
2654 (DragWindow): Set owner for DragWindow.
2655
26562004-07-21 Jerry Quinn <jlquinn@optonline.net>
2657
2658 * java/awt/image/ShortLookupTable.java: New file.
2659 * java/awt/image/ByteLookupTable.java: New file.
2660 * Makefile.am: Added new files.
2661 * Makefile.in: Regenerated.
2662
26632004-07-21 David Jee <djee@redhat.com>
2664
2665 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2666 (create(GtkContainerPeer)): New native method.
2667 (create()): Call native create(), passing in the parent frame
2668 as the paramter. Natively set the current file and directory.
2669 (setFile): Construct an absolute filename before passing it to
2670 the native peer.
2671 (nativeGetDirectory): New method.
2672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2673 (window_closed): Removed.
2674 (ok_clicked): Likewise.
2675 (cancel_clicked): Likewise.
2676 (handle_response): New method.
2677 (create): Use GtkFileChooserDialog.
2678 (connectSignals): Connect to handle_response.
2679 (nativeGetDirectory): New method.
2680 (nativeSetFile): Use GtkFileChooserDialog.
2681
26822004-07-21 Jerry Quinn <jlquinn@optonline.net>
2683
2684 * java/awt/image/LookupTable.java: New file.
2685 * Makefile.am: Added new file.
2686 * Makefile.in: Regenerated.
2687
26882004-07-21 Jerry Quinn <jlquinn@optonline.net>
2689
2690 * java/awt/image/Kernel.java: New file.
2691 * Makefile.am: Added new file.
2692 * Makefile.in: Regenerated.
2693
26942004-07-21 Olga Rodimina <rodimina@redhat.com>
2695
2696 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2697 * javax/swing/JMenu.java: Likewise.
2698 * javax/swing/JMenuBar.java: Likewise.
2699 (MARGIN_CHANGED_PROPERTY): New property.
2700 (setMargin): Implemented.
2701 * javax/swing/JMenuItem.java: Fixed javadocs.
2702 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2703 (LABEL_CHANGED_PROPERTY): New property.
2704 (add): changed to use createActionComponent.
2705 (createActionComponent): Implemented.
2706 (setLabel): Fire PropertyChangeEvent if label property
2707 changes.
2708 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2709 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2710 (ContainerHandler): Repaint if margin property has changed.
2711 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2712 (installUI): Call installComponents().
2713 (uninstallUI): Call uinstallComponents().
2714 * javax/swing/plaf/basic/BasicMenuUI.java:
2715 Fixed javadocs.
2716 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2717 Likewise.
2718
27192004-07-21 Kim Ho <kho@redhat.com>
2720
2721 * javax/swing/plaf/basic/BasicToolBarUI.java:
2722 (DragWindow): Use the right constructor.
2723
27242004-07-21 Kim Ho <kho@redhat.com>
2725
2726 * javax/swing/JToolBar.java:
2727 (layoutContainer): Use getComponents.
2728 * javax/swing/plaf/basic/BasicToolBarUI.java:
2729 (DragWindow): Don't use SwingUtilities'
2730 getOwnerFrame
2731 (ToolBarDialog): ditto.
2732
27332004-07-21 Kim Ho <kho@redhat.com>
2734
2735 * javax/swing/JRootPane.java:
2736 Ran jalopy.
2737 (layoutContainer): Set the glasspane's size to
2738 be the same as the content pane.
2739 (createGlassPane): Set opaque property to false.
2740
27412004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2742
2743 * java/awt/Component.java (requestFocus()): Don't handle Panels
2744 specially.
2745 (requestFocus(boolean)): Likewise.
2746 (requestFocusInWindow(boolean)): Likewise.
2747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2748 Set GTK_CAN_FOCUS flag.
2749
27502004-07-21 Kim Ho <kho@redhat.com>
2751
2752 * Makefile.am: Added new file.
2753 * Makefile.in: Regenerated.
2754 * gcj/Makefile.in: Regenerated.
2755 * include/Makefile.in: Regenerated.
2756 * javax/swing/AbstractButton.java:
2757 Add rollOverEnabled property.
2758 (setRolloverEnabled): Use new property.
2759 (isRolloverEnabled): Use new property.
2760 * javax/swing/JTabbedPane.java:
2761 (setComponent): Remove useless JTabbedPane.this.
2762 * javax/swing/JToolBar.java: Finish implementation.
2763 * javax/swing/plaf/basic/BasicArrowButton.java:
2764 (paint): Moved border painting to a border.
2765 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2766 Change JToolBar look and feel defaults.
2767 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2768 (actionPerformed): Return Integer index instead of name.
2769 (addButtonComponents): Check to see if component is
2770 JButton last.
2771 (createMessageArea): Don't use components that are not
2772 completed yet.
2773 (getIconForType): Use temporary icons.
2774 * javax/swing/plaf/basic/BasicSliderUI.java:
2775 (mousePressed): Do not return if it's on thumb.
2776 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2777 (paintMinorTickForVertSlider): ditto.
2778 (paintMajorTickForHorizSlider): ditto.
2779 (paintMajorTickForVertSlider): ditto.
2780 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2781 Add a border around the SplitPaneDivider.
2782 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2783 Remove comments.
2784 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2785 New file. Implemented.
2786 * javax/swing/plaf/basic/BasicToolBarUI.java:
2787 Implemented.
2788 * testsuite/Makefile.in: Regenerated.
2789
27902004-07-21 Graydon Hoare <graydon@redhat.com>
2791
2792 * javax/swing/Timer.java (run): Queue events each time cycle.
2793
27942004-07-21 David Jee <djee@redhat.com>
2795
2796 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2797 (imageComplete): Call image.imageComplete().
2798 * java/awt/image/MemoryImageSource.java:
2799 Reimplement consumers as a Vector instead of a Hashtable. This is
2800 because enumeration on a Hashtable is not thread-safe.
2801 (addConsumer): Adapt to Vector consumers.
2802 (isConsumer): Adapt to Vector consumers.
2803 (removeConsumer): Adapt to Vector consumers.
2804 (startProduction): Adapt to Vector consumers. Call imageComplete()
2805 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2806 (newPixels): Adapt to Vector consumers.
2807 (sendPicture): Set the color model of the image consumer.
2808 (newPixels(IIII)): Adapt to Vector consumers.
2809 (newPixels(IIIIB)): Adapt to Vector consumers.
2810
28112004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2812
2813 * java/awt/Component.java (deliverEvent): Implement.
2814 (postEvent): Implement.
2815 (handleEvent): Implement.
2816 (translateEvent): New method.
2817 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2818 * java/awt/Container.java (deliverEvent): Implement.
2819 * java/awt/Event.java (paramString): Fix formatting.
2820 * java/awt/Font.java (toString): Likewise.
2821 * java/awt/Window.java (postEvent): Implement.
2822
28232004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2824
2825 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2826 Set window's focus owner upon receiving a FOCUS_LOST event.
2827 * java/awt/Window.java (Window()): Refocus the previously
2828 focused component within the window when the window regains the
2829 top-level focus.
2830 (setFocusOwner): New method.
2831 * java/awt/Component.java (requestFocus): Add FIXME.
2832
2833 * libgcj.pc.in: Remove library flags.
2834
28352004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2836
2837 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2838 MOUSE_PRESSED event.
2839 * java/awt/Component.java (requestFocus()): Handle Panel
2840 specially. Post FOCUS_LOST event on opposite component.
2841 (requestFocus(boolean)): Likewise.
2842 (requestFocusInWindow(boolean)): Likewise.
2843 (paramString): Reorder dimension fields.
2844 * java/awt/Container.java (paramString): Fix string format.
2845 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2846 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2847 process key events if the focus owner is non-null.
2848 (dispatchKeyEvent): Likewise.
2849 * java/awt/Frame.java (paramString): Fix formatting.
2850 (generateName): New method.
2851 (getUniqueLong): Likewise.
2852 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2853 the temporary focus owner is null. If so, return the permanent
2854 focus owner.
2855 * java/awt/Panel.java (generateName): New method.
2856 (getUniqueLong): Likewise.
2857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2858 signal handling to make callbacks more specific.
2859
28602004-07-21 Michael Koch <konqueror@gmx.de>
2861
2862 * javax/swing/text/Position.java
2863 (Bias): Implemented.
2864
28652004-07-21 Michael Koch <konqueror@gmx.de>
2866
2867 * javax/swing/LookAndFeel.java
2868 (provideErrorFeedback): New method.
2869
28702004-07-21 Michael Koch <konqueror@gmx.de>
2871
2872 * javax/swing/JTextArea.java
2873 (tabSize): New field.
2874 (getTabSize): New method.
2875 (setTabSize): Likewise.
2876
28772004-07-21 Michael Koch <konqueror@gmx.de>
2878
2879 * javax/swing/ActionMap.java:
2880 Fixed javadocs all over.
2881 (serialVersionUID): Made private.
2882 (parent): Don't explicitely initialize with default value.
2883 (get): SImplified.
2884 (keys): Reimplemented.
2885 (allKeys): Likewise.
2886 (convertSet): Removed.
2887 * javax/swing/ComponentInputMap.java:
2888 Fixed javadocs all over.
2889 (ComponentInputMap): Implemented.
2890 (put): Likewise.
2891 (clear): Likewise.
2892 (remove): Likewise.
2893 (SetParent): Likewise.
2894 (getComponent): Likewise.
2895 * javax/swing/InputMap.java:
2896 Fixed javadocs all over.
2897 (serialVersionUID): Made private.
2898 (parent): Don't explicitely initialize with default value.
2899 (get): SImplified.
2900 (keys): Reimplemented.
2901 (allKeys): Likewise.
2902 (convertSet): Removed.
2903
29042004-07-21 Michael Koch <konqueror@gmx.de>
2905
2906 * javax/swing/ActionMap.java,
2907 javax/swing/ComponentInputMap.java,
2908 javax/swing/InputMap.java,
2909 javax/swing/table/DefaultTableColumnModel.java,
2910 javax/swing/table/TableColumn.java,
2911 javax/swing/table/TableColumnModel.java,
2912 javax/swing/table/TableModel.java,
2913 javax/swing/text/AbstractDocument.java,
2914 javax/swing/text/TextAction.java:
2915 Reformated.
2916
29172004-07-21 Graydon Hoare <graydon@redhat.com>
2918
2919 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2920 Make method non-static.
2921 * javax/swing/AbstractButton.java:
2922 Rename fields to match property names where possible.
2923 (iconTextGap): New property.
2924 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2925 (init) New method, call from after various constructors.
2926 * javax/swing/JComponent.java (revalidate):
2927 Invalidate before queueing repair.
2928 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2929 Reimplement in terms of visibleRowCount property.
2930 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2931 * javax/swing/JScrollPane.java (createScrollListener):
2932 Remove tracing chatter.
2933 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2934 * javax/swing/RepaintManager.java (addInvalidComponent):
2935 Don't invalidate.
2936 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2937 calculations.
2938 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2939 Mimic sun behavior on top left/right positioning.
2940 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2941 Remove mistaken use of preferredScrollableViewportSize here.
2942 (layoutContainer): Use view's preferred size as basis.
2943 * javax/swing/plaf/basic/BasicButtonUI.java:
2944 Set, get, and use textIconGap property.
2945 (paint) Paint text returned from layout (with ellipsis).
2946 * javax/swing/plaf/basic/BasicListUI.java:
2947 Remove tracing chatter, correct various minor calculations.
2948 (getCellBounds): Update layout state before calculating.
2949 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2950 Use margin default similar to sun's.
2951 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2952 (createIncreaseIcon): Center icon, minimize margins.
2953 (createDecreaseIcon): Likewise.
2954 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2955 Implement.
2956 (installUI): Call it.
2957 (uninstallDefaults): Implement.
2958 (uninstallUI): Call it.
2959 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2960 Call existing Window constructor.
2961 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2962 Set clip before painting.
2963
29642004-07-21 Olga Rodimina <rodimina@redhat.com>
2965
2966 * javax/swing/JMenuItem.java:
2967 (processMouseEvent): Reimplemented to deal with
2968 mouse drag events.
2969 (createMenuDragMouseEvent): New private helper method.
2970 Creates MenuDragMouseEvent.
2971 * javax/swing/MenuSelectionManager.java
2972 (componentForPoint): Implemented.
2973 (isComponentPartOfCurrentMenu): Made public.
2974 (processMouseEvent): Reimplemented to deal with
2975 mouse drag events.
2976 (setSelectedPath): Corrected small mistake that caused
2977 path to be set incorrectly.
2978 (getPath): If given component is JMenu then also add this
2979 menu's popup menu to the selected path.
2980 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2981 (getPath): Ditto.
2982 (getPreferredSize): Call getPreferredMenuItemSize().
2983 (getPreferredItemSize): Moved code from getPreferredSize to here.
2984 (installListeners): Install MouseMotionListeners.
2985 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
2986 if mouse wasn't released in the bounds of this menu item.
2987 (MenuDragMouseHandler): Implemented.
2988 * javax/swing/plaf/basic/BasicMenuUI.java:
2989 (installListeners): Install MouseMotionListener and
2990 MenuDrageMouseListener.
2991 (MenuDragMouseHandler): Implemented.
2992 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2993 (uninstallListeners): Implemented.
2994
29952004-07-21 Michael Koch <konqueror@gmx.de>
2996
2997 * javax/swing/JCheckBox.java: Reformated.
2998 (JCheckBox): Fixed all constructors.
2999 (isBorderPaintedFlat): New method.
3000 (setBorderPaintedFlat): New method.
3001 * javax/swing/JEditorPane.java
3002 (createEditorKitForContentType): Made public.
3003 (scrollToReference): Likewise.
3004 * javax/swing/JTextArea.java
3005 (setLineWrap): Fire property change.
3006 * javax/swing/JToggleButton.java
3007 (JToggleButton): New constructor.
3008 (JToggleButton): Simplified.
3009 * javax/swing/text/AttributeSet.java
3010 (FontAttribute): Renamed from FontCharacterAttribute.
3011 * javax/swing/text/JTextComponent.java
3012 (KeyBinBinding): Added javadoc.
3013 (JTextComponent): Likewise.
3014 (getAccessibleContext): Fixed javadoc.
3015 * javax/swing/text/View.java
3016 (View): Added javadoc.
3017 * javax/swing/text/TabableView.java: New file.
3018 * Makefile.am: Added javax/swing/text/TabableView.java.
3019 * Makefile.in: Regenerated.
3020
30212004-07-21 Graydon Hoare <graydon@redhat.com>
3022
3023 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3024 * gnu/java/awt/peer/gtk/GtkToolkit.java
3025 (GtkErrorImage): New helper class.
3026 (bufferedImageOrError): New helper method.
3027 (createImage): Use it.
3028
30292004-07-21 David Jee <djee@redhat.com>
3030
3031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3032 (setCaretPosition): Scroll the text view so the new caret position
3033 is visible on screen.
3034
30352004-07-21 David Jee <djee@redhat.com>
3036
3037 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3038 (setBounds): Do not validate awtComponent here.
3039 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3040 (getPreferredSize): New method.
3041 * java/awt/ScrollPane.java
3042 (ScrollPane): Set default size to 100x100.
3043 (addNotify): If child is not a Panel, wrap it with a new Panel.
3044 (paramString): Implement.
3045
30462004-07-21 Olga Rodimina <rodimina@redhat.com>
3047
3048 * javax/swing/JMenu.java:
3049 (setSelected): Display popup menu only if this menu
3050 is showing on the screen.
3051 * javax/swing/JPopupMenu.java:
3052 (processMouseEvent): Added comment.
3053 (processKeyEvent): Likewise.
3054 * javax/swing/MenuSelectionManager.java:
3055 (clearSelectedPath): Only fireStateChanged() after
3056 selected path was changed, not before.
3057 (setSelectedPath): Likewise.
3058 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3059 (paintMenuItem): Corrected position of menu item's
3060 icon.
3061 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3062 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3063 (popupMenuCanceled): Reimplemented.
3064 (popupMenuWillBecomeVisible): Select first menu item by default
3065 when displaying free floating popup menus.
3066 (TopWindowListener): Reimplemented.
3067
30682004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3069
3070 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3071 Panel from being painted twice when it is first shown.
3072
30732004-07-21 Olga Rodimina <rodimina@redhat.com>
3074
3075 * java/awt/Window.java: Reverted changes from my
3076 previous patch for creating window without an owner.
3077 * javax/swing/SwingUtilities.java:
3078 (SwingUtilities.OwnerFrame): made static.
3079 (OwnerFrame.setVisible): New method. Overridden with
3080 empty implementation.
3081 (OwnerFrame.isShowing): New method. Ovverridden
3082 to return always true.
3083
30842004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3085
3086 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3087 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3088 (GtkComponentPeer): Remove temporary try/catch block.
3089 (setVisible): Call show and hide.
3090 (show): Make native.
3091 (hide): Likewise.
3092 (getArgs): Don't add "visible" argument.
3093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3094 (property_notify_predicate): Return Bool instead of int.
3095 (find_layout): New function.
3096 (connectJObject): Call find_layout.
3097 (connectSignals): Likewise.
3098 (moveLayout): Likewise.
3099 (gtkLayoutSetVisible): Likewise.
3100
31012004-07-21 Mark Wielaard <mark@klomp.org>
3102
3103 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3104 on notifier object before calling notifyAll().
3105
31062004-07-21 Olga Rodimina <rodimina@redhat.com>
3107
3108 * java/awt/Window.java: Changed constructors to use new
3109 method that is described below. Constructors call this
3110 methods only if newly created window should have an owner.
3111 (setWindowOwner): New method. Implementation for
3112 this method is moved from this(owner,configuration).
3113 * javax/swing/JWindow.java:
3114 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3115 instead of owner.
3116 * javax/swing/SwingUtilities.java:
3117 (ownerFrame): Change type of this field to OwnerFrame.
3118 (getOwnerFrame): Changed to return object of type OwnerFrame.
3119 (SwingUtilities.OwnerFrame): New class. Represents owner
3120 of a Window that is not provided with one.
3121
31222004-07-21 Olga Rodimina <rodimina@redhat.com>
3123
3124 * javax/swing/AbstractButton.java:
3125 (configurePropertiesFromAction): Set action command
3126 to button's text by default if action command is not
3127 explicitely specified.
3128 * javax/swing/JMenu.java: Remove unnecessary listener
3129 and methods relevant to it.
3130 (setSelected): Reimplemented.
3131 (menuSelectionChanged): Moved most part of implementation to
3132 setSelected() and call it instead.
3133 * javax/swing/JMenuItem.java:
3134 (init): Comment out statement that sets paint_border to false.
3135 (configurePropertiesFromAction): Do not set accelerator
3136 for JMenu.
3137 (menuSelectionChanged): Change selected index in the selection
3138 model of menu item's parent.
3139 * javax/swing/JPopupMenu.java:
3140 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3141 instead of GridBagConstraints.HORIZONTAL.
3142 (insert): Likewise.
3143 (createActionChangeListener): Implemented.
3144 (setVisible): Correct location of HeavyWeightMenu and
3145 don't firePopupMenuCanceled().
3146 (menuSelectionChanged): Implemented.
3147 (ActionChangeListener): New Listener. Implemented.
3148 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3149 (BasicMenuBarUI.ContainerHandler): Implemented.
3150 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3151 (paintMenuItem): Uncommented out code that paints
3152 icon, now that icons are working properly.
3153 (PropertyChangeListener): Implemented.
3154 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3155 Added javadocs.
3156 (topWindowListener): New field.
3157 (Constructor): initialize topWindowListener.
3158 (BasicPopupMenuUI.TopWindowListener): Implemented.
3159 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3160 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3161 Implemented.
8e99fb4f
GH
3162
31632004-07-21 Michael Koch <konqueror@gmx.de>
3164
3165 * javax/swing/plaf/basic/BasicButtonUI.java
3166 (paintFocus): Fixed method signature.
3167 (paintButtonPressed): Likewise.
3168 (paintButtonNormal): Likewise.
3169 (paintText): New method.
3170 * javax/swing/plaf/basic/BasicLabelUI.java
3171 (paint): Re-indented.
3172 * javax/swing/plaf/basic/BasicTextUI.java
3173 (installUI): Set parent textComponent to opaque.
3174 * javax/swing/text/DefaultHighlighter.java
3175 (checkPositions): New helper method.
3176 (addHighlight): Throws BadLocationException, check positions.
3177 (changeHighlight): Likewise.
3178 * javax/swing/text/EditorKit.java
3179 (EditorKit): Implements Serializable.
3180 * javax/swing/text/JTextComponent.java
3181 (getUI): Added javadoc.
3182 (setUI): Likewise.
3183 (upadteUI): Added javadoc, don't revalidate and repaint.
3184
31852004-07-21 David Jee <djee@redhat.com>
3186
3187 * java/awt/GridBagLayout.java
3188 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3189 * javax/swing/AbstractButton.java
3190 (setText): Reindent.
3191 * javax/swing/RepaintManager.java
3192 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3193
31942004-07-21 Michael Koch <konqueror@gmx.de>
3195
3196 * javax/swing/JFormattedTextField.java
3197 (value): New field.
3198 (JFormattedTextField): Implemented.
3199 (getValue): Likewise.
3200 (setValue): Likewise.
3201 * javax/swing/LookAndFeel.java
3202 (getSupportsWindowDecorations): New method.
3203 * javax/swing/UIDefaults.java:
3204 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3205 (addPropertyChangeListener): Made public.
3206 (addResourceBundle): Likewise.
3207 (removeResourceBundle): Likewise.
3208 (setDefaultLocale): Likewise.
3209 * javax/swing/plaf/basic/BasicRootPaneUI.java
3210 (BasicRootPaneUI): Implements PropertyChangeListener.
3211 (propertyChange): New method.
3212 * javax/swing/plaf/basic/BasicTextUI.java
3213 (BasicHighlighter): New inner class.
3214 (createHighlighter): New method.
3215 * javax/swing/plaf/basic/BasicToolBarUI.java
3216 (DragWindow): Extends java.awt.Window.
3217 * javax/swing/text/JTextComponent.java
3218 (getDocument): Removed debug output.
3219 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3220 javax/swing/text/DefaultHighlighter.java,
3221 javax/swing/text/FieldView.java,
3222 javax/swing/text/PlainView.java: New files.
3223 * Makefile.am: Added new files.
3224 * Makefile.in: Regenerated.
3225
32262004-07-21 Michael Koch <konqueror@gmx.de>
3227
3228 * javax/swing/JEditorPane.java
3229 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3230 (createEditorKitForContentType): Likewise.
3231 * javax/swing/text/DefaultEditorKit.java
3232 (serialVersionUID): Added constant field.
3233 (EndOfLineStringPropery): Fixed typo.
3234 (DefaultEditorKit): New constructor.
3235 * javax/swing/text/Segment.java:
3236 Import java.text.CharacterIterator.
3237 * javax/swing/text/CharacterIterator.java,
3238 javax/swing/text/PlainEditorKit.java: Removed.
3239 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3240 javax/swing/text/PlainEditorKit.java.
3241 * Makefile.in: Regenerated.
3242
32432004-07-21 Michael Koch <konqueror@gmx.de>
3244
3245 * javax/swing/JButton.java,
3246 javax/swing/text/DefaultEditorKit.java,
3247 javax/swing/text/EditorKit.java,
3248 javax/swing/text/Segment.java,
3249 javax/swing/text/StyledEditorKit.java:
3250 Reformatted.
3251
32522004-07-21 Michael Koch <konqueror@gmx.de>
3253
3254 * javax/swing/ImageIcon.java
3255 (file): Removed.
3256 (description): Renamed from descr.
3257 (ImageIcon): Added missing constructors.
3258 (setParent): Removed.
3259 (setImageObserver): New method.
3260 (getImageObserver): New method.
3261 (paintIcon): Handle observer = null.
3262 * javax/swing/JButton.java
3263 (removeNotify): Fixed javadoc.
3264 (updateUI): Simplified.
3265 * javax/swing/JRootPane.java
3266 (serialVersionUID): New constant field.
3267 * javax/swing/UIManager.java:
3268 Fixed javadocs all over.
3269 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3270 * javax/swing/text/AbstractDocument.java
3271 (createPosition): Throws BadLocationException.
3272 (getText): Likewise.
3273 (remove): Likewise.
3274 * javax/swing/text/ComponentView.java
3275 (modelToView): Likewise.
3276 * javax/swing/text/DefaultEditorKit.java:
3277 Made all public methods public.
3278 (read): Throws BadLocationException and IOException.
3279 (write): Likewise.
3280 * javax/swing/text/EditorKit.java:
3281 Made all public methods public.
3282 (serialVersionUID): New constant field.
3283 (clone): New method.
3284 (read): Throws BadLocationException and IOException.
3285 (write): Likewise.
3286 * javax/swing/text/Segment.java
3287 (array): Made public.
3288 (count): Likewise.
3289 (offset): Likewise.
3290 (Segment): New constructors.
3291 (clone): Reimplemented.
3292 * javax/swing/text/StyledEditorKit.java
3293 (serialVersionUID): New constant field.
3294
32952004-07-21 Graydon Hoare <graydon@redhat.com>
3296
3297 * java/awt/image/BufferedImage.java
3298 (getSource): Implement.
3299 * javax/swing/ImageIcon.java
3300 (ImageIcon): Implement ctor.
3301 * javax/swing/ScrollPaneLayout.java
3302 (preferredLayoutSize): Be more careful about nulls.
3303
33042004-07-21 Michael Koch <konqueror@gmx.de>
3305
3306 * javax/swing/text/AttributeSet.java
3307 (CharacterAttribute): New interface
3308 (ColorAttribute): Likewise.
3309 (FontCharacterAttribute): Likewise.
3310 (ParagraphAttribute): Likewise.
3311 * javax/swing/text/DefaultCaret.java
3312 (moveCaret): New method.
3313 (positionCaret): Likewise.
3314 (repaint): Made protected.
3315 * javax/swing/text/JTextComponent.java
3316 (KeyBinding): Made it static.
3317 * javax/swing/text/View.java
3318 (getContainer): Honor parent == null.
3319
33202004-07-21 Michael Koch <konqueror@gmx.de>
3321
3322 * javax/swing/text/AbstractDocument.java:
3323 Reformatted.
3324
33252004-07-21 Michael Koch <konqueror@gmx.de>
3326
3327 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3328 Import javax.swing.UIManager explicitely.
3329 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3330 (ScrollingButton): Made it static.
3331
33322004-07-21 Michael Koch <konqueror@gmx.de>
3333
3334 * javax/swing/UIDefaults.java
3335 (ActiveValue): Made public.
3336 (LazyValue): Likewise.
3337 * javax/swing/plaf/basic/BasicTextUI.java
3338 (RootView): Reintroduced.
3339 (view): Removed.
3340 (rootView): New field.
3341 (installUI): Create document if needed, initialize rootView.
3342 (uninstallUI): Hanle rootView.
3343 (paint): Likewise.
3344 (getRootView): Likewise.
3345 (setView): Likewise.
3346 * javax/swing/text/DefaultCaret.java:
3347 Renamed all "evt" variables to "event".
3348
33492004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3350
3351 * libgcj.spec.in: Add -l-java-util-logging.
3352
33532004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3354
3355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3356 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3357 gtk-xft-dpi can no calculate the right value.
3358 (dpi_changed_cb): Mark *pspec as unsused.
3359
33602004-07-21 David Jee <djee@redhat.com>
3361
3362 * java/awt/Component.java
3363 (move): Delegate to setBounds().
3364 (resize): Likewise.
3365 (reshape): Fix so it repaints parent and self only when necessary.
3366
33672004-07-21 David Jee <djee@redhat.com>
3368
3369 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3370 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3371 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3372 (setVisible): Likewise.
3373 (show): Likewise.
3374 (hide): Likewise.
3375 (getArgs): Likewise.
3376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3377 (property_notify_predicate): Likewise.
3378 (find_layout): Likewise.
3379 (connectJObject): Likewise.
3380 (connectSignals): Likewise.
3381 (moveLayout): Likewise.
3382 (gtkLayoutSetVisible): Likewise.
3383
33842004-07-21 Graydon Hoare <graydon@redhat.com>
3385
3386 * Makefile.am
3387 (jv_convert_LDADD):
3388 (gij_LDADD):
3389 (rmic_LDADD):
3390 (rmiregistry_LDADD): Add lib-java-util-logging.la
3391 * Makefile.in: Regenerate.
3392
33932004-07-21 Michael Koch <konqueror@gmx.de>
3394
3395 * javax/swing/text/AbstractDocument.java
3396 (replace): Dont use protected method of java.util.Vector directly.
3397
33982004-07-21 Michael Koch <konqueror@gmx.de>
3399
3400 * javax/swing/plaf/basic/BasicTextUI.java
3401 (installUI): Call specialized install methods.
3402 (installDefaults): New method.
3403 (installListeners): Likewise.
3404 (installKeyboardActions): Likewise.
3405 (uninstallUI): Likewise.
3406 (uninstallDefaults): New method.
3407 (uninstallListeners): Likewise.
3408 (uninstallKeyboardActions): Likewise.
3409 (getPropertyPrefix): New abstract method.
3410 (paint): Made final, just call paintSafely().
3411 (paintSavely): New method.
3412 (paintBackground): Likewise.
3413 (getVisibleEditorRect): Likewise.
3414 * javax/swing/text/LayeredHighlighter.java,
3415 javax/swing/text/TabExpander.java: New files.
3416 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3417 and javax/swing/text/TabExpander.java.
3418 * Makefile.in: Regenerated.
3419
34202004-07-21 Michael Koch <konqueror@gmx.de>
3421
3422 * javax/swing/plaf/basic/BasicTextUI.java
3423 (BasicTextUI): Made abstract.
3424 (BasicCaret): New inner class.
3425 (view): Don't explicitely initialize with "null".
3426 (textComponent): New field.
3427 (textColor): Removed.
3428 (disabledTextColor): Removed.
3429 (normalBackgroundColor): Removed.
3430 (RootView): Removed commented out inner class.
3431 (createUI): Removed.
3432 (createCaret): New method.
3433 (getComponent): Likewise.
3434 (installUI): Initialize textComponent only.
3435 (getPreferredSize): Use installed JTextComponent.
3436 (setView): New method.
3437 (create): Likewise.
3438 * javax/swing/text/JTextComponent.java
3439 (highlighter): New field.
3440 (caretColor): Likewise.
3441 (disabledTextColor): Likewise.
3442 (seletedTextColor): Likewise.
3443 (selectionColor): Likewise.
3444 (setUI): New method.
3445 (getCaretColor): Likewise.
3446 (setCaretColor): Likewise.
3447 (getDisabledColor): Likewise.
3448 (setDisabledColor): Likewise.
3449 (getSelectedTextColor): Likewise.
3450 (setSelectedTextColor): Likewise.
3451 (getSelectionColor): Likewise.
3452 (setSelectionColor): Likewise.
3453 (getHighlighter): Likewise.
3454 (setHighlighter): Likewise.
3455 (replaceSelection): Likewise.
3456
34572004-07-21 Michael Koch <konqueror@gmx.de>
3458
3459 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3460 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3461 * javax/swing/plaf/basic/BasicToolBarUI.java
3462 (BasicToolBarUI): Implements SwingConstants.
3463
34642004-07-21 Michael Koch <konqueror@gmx.de>
3465
3466 * javax/swing/JPopupMenu.java: Removed CVS tags.
3467 * javax/swing/UIDefaults.java: Reformatted.
3468 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3469 Explicitely import used classes.
3470
34712004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3472
3473 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3474 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3475 (GtkComponentPeer): Remove temporary try/catch block.
3476 (setVisible): Call show and hide.
3477 (show): Make native.
3478 (hide): Likewise.
3479 (getArgs): Don't add "visible" argument.
3480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3481 (property_notify_predicate): Return Bool instead of int.
3482 (find_layout): New function.
3483 (connectJObject): Call find_layout.
3484 (connectSignals): Likewise.
3485 (moveLayout): Likewise.
3486 (gtkLayoutSetVisible): Likewise.
3487
34882004-07-21 Olga Rodimina <rodimina@redhat.com>
3489
3490 * javax/swing/AbstractButton.java:
3491 (setDisplayedMnemonicIndex): Check if button
3492 text is not null before checking its length.
3493 * javax/swing/JMenuItem.java:
3494 (processMouseEvent): Disarm menu item if mouse has
3495 exited it.
3496 * javax/swing/plaf/basic/BasicMenuUI.java:
3497 (MouseInputHandler.mouseEntered): Do not raise
3498 popup menu if this menu is already selected.
3499 (MouseInputHandler.mousePressed): Do not fire
3500 MenuEvents.
3501 (MenuHandler): Implemented.
3502
35032004-07-21 Olga Rodimina <rodimina@redhat.com>
3504
3505 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3506 (getSelectedObjects): Implemented.
3507 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3508 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3509 Added javadoc for few methods.
3510 (processMouseEvent): Made public.
3511 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3512 (processMouseEvent): Likewise.
3513
35142004-07-21 Olga Rodimina <rodimina@redhat.com>
3515
3516 * javax/swing/AbstractButton.java:
3517 (init): Set display mnemonic index to -1.
3518 (setMnemonic(char)): Use setMnemonic(int).
3519 (setMnemonic(int)): Set display mnemonic index.
3520 (getDisplayedMnemonicIndex): Change method signature
3521 by removing 'index' parameter.
3522 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3523 Added default for Menu.selectionBackground.
3524 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3525 (paintMenuItem): Change background color of the selected
3526 menu item.
3527 (paintText): Paint differently when menu item is disabled.
3528 Also paint mnemonic if it appears in the menu item's label.
3529 (paintAccelerator): Paint accelerator differently
3530 if menu item is disabled.
3531 * javax/swing/plaf/basic/BasicMenuUI.java:
3532 (installDefaults): Install defaults for
3533 selectionForeground and selectionBackground.
3534 (uninstallDefaults): Uninstall defauls for
3535 selectionForeground and selectionBackground.
3536
35372004-07-21 Michael Koch <konqueror@gmx.de>
3538
3539 * javax/swing/text/AbstractDocument.java
3540 (BranchElement): Implemented.
3541 (LeafElement): Implemented.
3542 * javax/swing/text/DefaultCaret.java:
3543 Import used classes.
3544 (serialVersionUID): New constant.
3545 * javax/swing/text/JTextComponent.java
3546 (AccessibleJTextComponent): Removed dead declaration.
3547 (caretPos): Removed.
3548 (setCaret): New method.
3549 * javax/swing/text/PlainDocument.java
3550 (rootElement): New field.
3551 (PlainDocument): Initialize rootElement.
3552 (createDefaultRoot): New method.
3553 (getDefaultRootElement): Implemented.
3554 * javax/swing/text/View.java: Reformatted.
3555 * javax/swing/text/ViewFactory.java
3556 (create): Added javadoc.
3557
35582004-07-21 Michael Koch <konqueror@gmx.de>
3559
3560 * javax/swing/ToolTipManager.java: Reformatted.
3561
35622004-07-21 Rodimina Olga <rodimina@redhat.com>
3563
3564 * javax/swing/AbstractButton.java
3565 (changeEvent): New field.
3566 (fireItemStateChanged): Change source of the event
3567 to 'this' before firing it to button listeners.
3568 (fireActionPerformed): Likewise.
3569 (fireStateChanged): Likewise.
3570 (createActionListener): Do not set source
3571 of the event to AbstractButton.
3572 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3573 (ContainerHandler.componentAdded): Removed
3574 print out statement.
3575 (ContainerHandler.componentRemoved): Likewise.
3576
35772004-07-21 Michael Koch <konqueror@gmx.de>
3578
3579 * javax/swing/text/Highlighter.java: New file.
3580 * Makefile.am: Added javax/swing/text/Highlighter.java.
3581 * Makefile.in: Regenerated.
3582
35832004-07-21 Michael Koch <konqueror@gmx.de>
3584
3585 * javax/swing/ToolTipManager.java
3586 (stillInsideTimerAction): Fixed constructor arguments.
3587 (outsideTimerAction): Likewise.
3588 (insideTimerAction): Likewise.
3589
35902004-07-21 Michael Koch <konqueror@gmx.de>
3591
3592 * javax/swing/JButton.java: Reformatted.
3593 * javax/swing/JFormattedTextField.java
3594 (getUIClassID): Implemented.
3595 * javax/swing/JRootPane.java
3596 (serialVersionUID): New constant.
3597 * javax/swing/JTextField.java
3598 (align): New field.
3599 (JTextField): Simplified.
3600 (getUIClassID): New method.
3601 (getActionListeners): Added @since tag.
3602 (setColumns): Invalidate layout and repaint.
3603 (getHorizontalAlignment): New method.
3604 (setHorizontalAlignment): New method.
3605 (selectAll): Removed.
3606 * javax/swing/SwingUtilities.java
3607 (getAncestorOfClass): Removed redundant @see tag.
3608 (isLeftMouseButton): Fixed implementation.
3609 (isMiddleMouseButton): Likewise.
3610 (isRightMouseButton): Likewise.
3611 * javax/swing/text/AbstractDocument.java
3612 (AttributeContext.addAttribute): New method.
3613 (AttributeContext.addAttributes): New method.
3614 (AttributeContext.getEmptySet): New method.
3615 (AttributeContext.reclaim): New method.
3616 (AttributeContext.removeAttribute): New method.
3617 (AttributeContext.removeAttributes): New method.
3618 * javax/swing/text/Document.java
3619 (createPosition): Throws BadLocationException.
3620 (getText): Likewise.
3621 (remove): Likewise.
3622 * javax/swing/text/JTextComponent.java
3623 (getText): Return null if no document is set. Catch
3624 BadLocationException.
3625 (getUI): Return ui.
3626 (updateUI): Simplified.
3627
36282004-07-21 Michael Koch <konqueror@gmx.de>
3629
3630 * javax/swing/JButton.java
3631 (removeNotify): Fixed javadoc.
3632 (updateUI): Simplified.
3633
36342004-07-21 David Jee <djee@redhat.com>
3635
3636 * gnu/java/awt/image/ImageDecoder.java
3637 (startProduction): Only add consumer if it's not added yet.
3638 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3639 (GdkPixbufDecoder): Don't call initState() here.
3640 (produce): Call initState() here, to ensure area_prepared and
3641 area_updated signals are properly connected.
3642 * gnu/java/awt/peer/gtk/GtkImage.java
3643 (setColorModel): Use equals() to compare ColorModel objects.
3644 (setPixels): Likewise.
3645 * java/awt/image/ColorModel.java
3646 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3647 * java/awt/image/RGBImageFilter.java
3648 (setColorModel): Set consumer's color model.
3649 (setPixels): Use equals() to compare ColorModel objects.
3650
eecbcf54
BM
36512004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3652
3653 * java/net/URLConnection.java (position): New field.
3654 (dateFormat1, dateFormat2, dateFormat3): Removed.
3655 (dateFormats): New field.
3656 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3657 each time instead of re-allocating.
3658 (initializeDateFormats): Initialize 'dateFormats'.
3659
f82bb1be
BM
36602004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3661
3662 PR libgcj/16591
3663 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3664 is defined.
3665
f6bbce40
BM
36662004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3667
3668 * java/net/Socket.java (getImpl): Now private. Remove comment.
3669
8246c778
BM
36702004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3671
3672 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3673 of chained Writer when calling super-constructor.
3674 * java/io/FilterWriter.java (FilterWriter): Likewise.
3675 * java/io/PrintWriter.java (PrintWriter): Likewise.
3676
b4ffdef7
BM
36772004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3678
3679 * prims.cc (process_gcj_properties): Don't increment i within LHS
3680 of assignment.
3681
963ddbd5
PB
36822004-07-19 Per Bothner <per@bothner.com>
3683
3684 Print -verbose:message on "loading", not initialization.
3685 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3686 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3687 gcj::verbose_class_flag.
3688 * java/lang/natClass.cc (initializeClass): Don't print message here.
3689 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3690 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3691 (_Jv_PrepareCompiledClass): Likewise.
3692
60557047
MK
36932004-07-18 Matthias Klose <doko@debian.org>
3694
3695 * configure.in: Substitute target_noncanonical.
3696 * configure: Regenerate
3697
1792f52d
MK
36982004-07-17 Michael Koch <konqueror@gmx.de>
3699
3700 * java/lang/String.java: Fixed javadocs all over.
3701
baa61e09
MK
37022004-07-17 Mark Wielaard <mark@klomp.org>
3703
3704 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3705 when size is smaller.
3706 * java/io/RandomAccessFile.java (setLength): Use truncate for
3707 shrinking the file and seek plus write for expanding the file.
3708
37092004-07-17 Michael Koch <konqueror@gmx.de>
3710
3711 * gnu/java/nio/channels/natFileChannelPosix.cc
3712 (implTruncate): Always save current position. Only reposition file
3713 pointer to where we started if not beyond new lenght. Reposition file
3714 pointer to file length if it points beyond the end of file.
3715
6fd3cc05
MW
37162004-07-17 Mark Wielaard <mark@klomp.org>
3717
3718 * javax/swing/Box.java: Put FIXME comment above class declaration.
3719 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3720 * javax/swing/JCheckBox.java: Likewise.
3721 * javax/swing/JDialog.java: Likewise.
3722 * javax/swing/JRadioButton.java: Likewise.
3723 * javax/swing/JToggleButton.java: Likewise.
3724 * javax/swing/UIManager.java: Likewise.
3725 * javax/swing/border/TitledBorder.java: Likewise.
3726 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3727 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3728 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3729 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3730 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3731 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3732 * javax/swing/text/JTextComponent.java: Likewise.
3733
320e32f6
MK
37342004-07-17 Jeroen Frijters <jeroen@frijters.net>
3735
3736 * java/net/DatagramPacket.java (setAddress): Removed check for
3737 null address.
3738
37392004-07-17 Michael Koch <konqueror@gmx.de>
3740
3741 * java/net/DatagramSocket.java
3742 (getLocalAddress): Check if socket is bound or not.
3743 * java/net/Socket.java
3744 (getLocalAddrss): Check if socket is bound or not.
3745 (getPort): Return -1 when not connected. Dont check getImpl() for
3746 null.
3747 (setReuseAddress): Check if socket is closed.
3748 (isConnected): Check if getImpl() returns null.
3749
10c383a4
MW
37502004-07-17 Mark Wielaard <mark@klomp.org>
3751
3752 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3753 on notifier object before calling notifyAll().
3754
2ccc5a95
MK
37552004-07-17 Michael Koch <konqueror@gmx.de>
3756
3757 * gnu/java/nio/channels/FileChannelImpl.java
3758 (finalize): Added javadoc.
3759
61ce29b1
GL
37602004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3761
3762 * java/text/CollationElementIterator.java
3763 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3764 (setText): Use ArrayList instead of Vector.
3765
651ba822
MK
37662004-07-17 Michael Koch <konqueror@gmx.de>
3767
3768 * java/nio/ByteOrder.java
3769 (static): Removed. Not needed.
3770 Thanks to Patrick Reali for noticing.
3771 * java/nio/charset/CharsetDecoder.java
3772 (decode): Fix for classpath bug #9177: Reset state before flipping.
3773
e3fe5b9c
MK
37742004-07-17 Michael Koch <konqueror@gmx.de>
3775
3776 * java/security/Security.java: Fixed javadocs all over.
3777
316a1df4
MK
37782004-07-17 Michael Koch <konqueror@gmx.de>
3779
3780 * gnu/java/awt/EmbeddedWindow.java
3781 (static): Removed.
3782 (addNotify): Set peer via reflection.
3783 (setWindowPeer): Removed.
3784 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3785 * Makefile.am (nat_source_files):
3786 Removed gnu/java/awt/natEmbeddedWindow.cc.
3787 * Makefile.in: Regenerated.
3788
c0f43fa7
RE
37892004-07-17 Richard Earnshaw <rearnsha@arm.com>
3790
3791 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3792 assignment.
3793 * configure: Regenerated.
3794
4c86f325
NN
37952004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3796
b764adea
NN
3797 * configure.in: Use build_noncanonical rather than build_alias.
3798 * configure: Rebuild.
3799
f11d297f
NN
3800 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3801 by logic refactoring. Move default definition of NATIVE closer
3802 to first alternate definition.
3803 * configure: Regenerate.
3804
4c86f325
NN
3805 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3806 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3807 gcj/Makefile.in: Regenerate.
3808 * configure.in: Set ZIP and GCJH. Remove redundant condition
3809 in AM_CONDITIONAL(NATIVE,...)
3810 * configure: Regenerate.
3811
bc03b358
NN
38122004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3813
ed2e3d33
NN
3814 * configure.in: Use target_noncanonical rather than
3815 target_alias for forward-compatibility with autoconf 2.59.
3816 * configure: Regenerate.
3817 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3818 testsuite/Makefile.am: Substitute target_noncanonical.
3819 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3820 testsuite/Makefile.in: Regenerate.
3821
bc03b358
NN
3822 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3823 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3824 * acinclude.m4: Include acx.m4.
3825 * aclocal.m4: Regenerate.
3826 * configure: Regenerate.
3827
cbd7a79b
BM
38282004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3829
3830 PR libgcj/16574
3831 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3832 (decimalFormat): New static variable.
3833 (sbuf): Likewise.
3834 (getTime): New. Override Date.getTime().
3835 (toString): Synchronize. Use decimalFormat to format nanos value
3836 correctly. Truncate extra zeros.
3837 (before): Compare getNanos() only if getTime() is equal.
3838 (after): Likewise.
3839
b2281cb3
NN
38402004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3841
36609570
NN
3842 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3843 * configure.in: ...here.
3844 * aclocal.m4: Regenerate.
3845 * configure: Regenerate.
3846
b2281cb3
NN
3847 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3848 * configure: Rebuilt with autoconf 2.13.
3849 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3850 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3851
b845ed9f
BM
38522004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3853
3854 PR libgcj/16204
3855 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3856 large file support.
3857 * Makefile.in: Rebuilt.
3858 * testsuite/libjava.lang/LargeFile.java: New test case.
3859 * testsuite/libjava.lang/LargeFile.out: New file.
3860
ade1907d
JQ
38612004-07-14 Jerry Quinn <jlquinn@optonline.net>
3862
3863 * java/beans/EventHandler.java: Remove debugging statements.
3864
12e8e7ea
JQ
38652004-07-14 Jerry Quinn <jlquinn@optonline.net>
3866
3867 * java/beans/EventHandler.java: New file.
3868 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3869 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3870 testsuite/Makefile.in: Regenerate.
3871
7cb73054
AT
38722004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3873
3874 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3875 flag to the gcj_setup.
3876 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3877 the tclsh.
3878 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3879 deprecation flag change. 58 XFAILS removed.
3880
220a826e
UW
38812004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3882
3883 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3884 -fno-use-divide-subroutine.
3885 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3886 (HANDLE_FPE): Define.
3887 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3888 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3889 (HANDLE_DIVIDE_OVERFLOW): Define.
3890
c1b4f64d
MK
38912004-07-14 Michael Koch <konqueror@gmx.de>
3892 Matthias Klose <doko@debian.org>
3893
12e8e7ea 3894 * java/awt/im/InputContext.java: Initialize in, line.
c1b4f64d 3895
5549179f
UW
38962004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3897
3898 * interpret.cc (run): Correctly access libffi return values of
3899 integral smaller-than-int type; these are implicitly promoted.
3900
6187fd28
BM
39012004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3902
3903 PR libgcj/7587
3904 * interpret.cc (compile_mutex): New.
3905 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3906 (run): Lock compile_mutex before calling compile() if compilation is
3907 required.
3908 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3909 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3910
7a1c3d48
BM
39112004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3912
3913 PR libgcj/15713
3914 * include/jvm.h (_Jv_value): New union type.
3915 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3916 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3917 union members.
3918
717b2091
SG
39192004-07-12 Scott Gilbertson <scottg@mantatest.com>
3920
3921 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3922 * gnu/awt/xlib/XOffScreenImage.java
3923 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3924 constructor argument. Add constructor using ImageProducer.
3925 (getSource): Implement.
3926 (imageComplete): New method.
3927 (setColorModel): New method.
3928 (setDimensions): New method.
3929 (setHints): New method.
3930 (setPixels): New method.
3931 (setProperties): New method.
3932 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3933 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3934
31a7b755
BM
39352004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3936
abd1b60d 3937 PR libgcj/16478
31a7b755
BM
3938 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3939 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3940 (finalizerReady): Now native.
3941 (run): Likewise.
3942 (runFinalizers): Removed.
3943 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3944 a primitive lock, and don't hold it while running the finalizers.
3945 (runFinalizers): Implement. Don't aquire any Java lock.
3946 (finalizerReady): Use lock primitives to signal finalizer thread.
3947
eeb32988
MW
39482004-07-11 Mark Wielaard <mark@klomp.org>
3949
3950 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3951 * java/net/URLStreamHandler.java (parseURL): When url file part
3952 doesn't contain a '/' just ignore context.
3953
bbb362e6
UW
39542004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3955
3956 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3957 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3958 (MAKE_THROW_FRAME): Do not modify PSW address.
3959 (INIT_SEGV): Install SIGINFO-style signal handler.
3960 (INIT_FPE): Likewise.
3961
33dc5b0b
BM
39622004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3963
3964 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3965 status. 21 xfail's removed, 1 added.
3966
a4548f27
BM
39672004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3968
3969 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3970
8f0ce8da
IK
39712004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3972
3973 * java/text/MessageFormat.java
3974 (formatInternal): Append "{n}" if argument n is unavailable.
3975 (format(Object, StringBuffer, FieldPosition)): This
3976 should be equivalent to format(Object[],
3977 StringBuffer, FieldPosition).
3978
3ee7acd1
BM
39792004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3980
3981 * java.util.Calendar.java (cache): New private static field. Cached
3982 mappings of locales->calendar classes.
3983 (ctorArgTypes): New private static field. Singleton argument for
3984 calendar class constructor lookup.
3985 (getInstance): Cache Locale->Calendar class mappings using HashMap.
3986 Optimize by bypassing reflection instantiation for the
3987 GregorianCalendar case.
3988
284d6a1f
BM
39892004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3990
3991 * java/util/Calendar.java: Use getSystemClassLoader as argument for
3992 ResourceBundle.getBundle() calls.
3993 * java/util/GregorianCalendar.java: Likewise.
3994 * java/util/Currency.java: Likewise.
3995 * java/text/BreakIterator.java: Likewise.
3996 * java/text/Collator.java: Likewise.
3997 * java/text/DateFormat.java: Likewise.
3998 * java/text/DateFormatSymbols.java: Likewise.
3999 * java/text/DecimalFormatSymbols.java: Likewise.
4000 * java/text/NumberFormat.java: Likewise.
4001 * java/awt/Window.java: Likewise.
4002
21f56031
BM
40032004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4004
4005 * java/util/ResourceBundle.java (bundleCache): Renamed from
4006 resourceBundleCache. Update comments.
4007 (getObject): Don't catch MissingResourceException.
4008 (getBundle(String)): Remove 'final'. Use system classloader if
4009 getCallingClassLoader returned null.
4010 (getBundle(String, Locale)): Likewise.
4011 (BundleKey): New private class. HashMap key for bundle cache lookup.
4012 (lookupKey): New. Singleton instance of BundleKey.
4013 (nullEntry): New. Cache entry to represent failed lookups.
4014 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4015 caching strategy, no-allocation lookup, and new tryBundle methods.
4016 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4017 name using given classloader.
4018 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4019 baseName for given Locale and attempt to load bundle.
4020
42c00752
BM
40212004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4022
4023 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4024 illegal protected method calls.
4025
6e342fc1
BM
40262004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4027
4028 Fix or remove some bogus test cases.
4029 * testsuite/libjava.compile/pr10459_2.java: Removed.
4030 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4031 not Object.clone().
4032 * testsuite/libjava.compile/inner_data.java: Test against its own
4033 protected field.
4034
1f33f6b4
MK
40352004-07-09 Michael Koch <konqueror@gmx.de>
4036
4037 * scripts/unicode-muncher.pl: Updated to version 2.1
4038 from GNU classpath. Added some clarifications on where to find the
4039 needed files from www.unicode.org.
4040 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4041 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4042 Removed, these can directly be downloaded from www.unicode.org if
4043 needed.
4044 * gnu/java/lang/CharData.java: Regenerated.
4045 * include/java-chartables.h: Regenerated.
4046 * Makefile.am (ordinary_java_source_files):
4047 Removed gnu/java/lang/CharData.java.
4048 * Makefile.in: Regenerated.
4049
771aacd3
MK
40502004-07-09 Michael Koch <konqueror@gmx.de>
4051
4052 * java/security/AccessControlContext.java,
4053 java/security/SecureClassLoader.java:
4054 Fixed javadocs.
4055
3d5f053c
MK
40562004-07-09 Michael Koch <konqueror@gmx.de>
4057
4058 * java/io/ObjectInputStream.java (readFields): Use long datatype
4059 when shifting byte values more then 24 bits left.
4060
d642571f
MK
40612004-07-09 Michael Koch <konqueror@gmx.de>
4062
4063 * java/util/zip/DeflaterOutputStream.java,
4064 java/util/zip/GZIPInputStream.java,
4065 java/util/zip/GZIPOutputStream.java,
4066 java/util/zip/InflaterInputStream.java:
4067 Reformatted. Added javadocs. Reordered all stuff.
4068 Renamed variables to be more clear.
4069
3042e24b
MK
40702004-07-09 Michael Koch <konqueror@gmx.de>
4071
4072 * javax/imageio/IIOException.java,
4073 javax/imageio/event/IIOReadProgressListener.java,
4074 javax/imageio/event/IIOReadUpdateListener.java,
4075 javax/imageio/event/IIOReadWarningListener.java,
4076 javax/imageio/event/IIOWriteProgressListener.java,
4077 javax/imageio/event/IIOWriteWarningListener.java:
4078 New files.
4079 * Makefile.am: Added new files.
4080 * Makefile.in: Regenerated.
4081
4a738a82
GL
40822004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4083
4084 * java/text/RuleBasedCollator.java
4085 (mergeRules): Use ArrayList instead of Vector.
4086 (subParseString): likewise.
4087 (parseString): likewise.
4088 (buildCollationVector): likewise.
4089 (getCollationKey): likewise.
4090
28e0ee76
DT
40912004-07-09 Dalibor Topic <robilad@kaffe.org>
4092
4093 * java/text/DateFormat.java (parse):
4094 Improved javadoc. Improved exception message.
4095
2e54a860
MW
40962004-07-09 Mark Wielaard <mark@klomp.org>
4097
4098 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4099 interrupted() method to clear interupt flag of our Thread.
4100
23c41c08
DT
41012004-07-09 Dalibor Topic <robilad@kaffe.org>
4102
4103 * java/nio/Buffer.java,
4104 java/nio/ByteBuffer.java,
4105 java/nio/ByteBufferHelper.java,
4106 java/nio/ByteBufferImpl.java,
4107 java/nio/CharBuffer.java,
4108 java/nio/CharBufferImpl.java,
4109 java/nio/CharViewBufferImpl.java,
4110 java/nio/DirectByteBufferImpl.java,
4111 java/nio/DoubleBuffer.java,
4112 java/nio/DoubleBufferImpl.java,
4113 java/nio/DoubleViewBufferImpl.java,
4114 java/nio/FloatBuffer.java,
4115 java/nio/FloatBufferImpl.java,
4116 java/nio/FloatViewBufferImpl.java,
4117 java/nio/IntBuffer.java,
4118 java/nio/IntBufferImpl.java,
4119 java/nio/IntViewBufferImpl.java,
4120 java/nio/LongBuffer.java,
4121 java/nio/LongBufferImpl.java,
4122 java/nio/LongViewBufferImpl.java,
4123 java/nio/MappedByteBufferImpl.java,
4124 java/nio/ShortBuffer.java,
4125 java/nio/ShortBufferImpl.java,
4126 java/nio/ShortViewBufferImpl.java:
4127 Fixed javadocs all over. Improved input error
4128 checking.
4129
4130 * java/nio/Buffer.java
4131 (checkForUnderflow, checkForOverflow, checkIndex,
4132 checkIfReadOnly, checkArraySize): New helper methods
4133 for error checking.
4134
4135 * java/nio/ByteBufferHelper.java
4136 (checkRemainingForRead, checkRemainingForWrite,
4137 checkAvailableForRead, checkAvailableForWrite): Removed
4138 no longer needed methods.
4139
e484d7d5
MK
41402004-07-09 Michael Koch <konqueror@gmx.de>
4141
4142 * gnu/regexp/CharIndexedInputStream.java:
4143 Reordered imports to match classpath.
4144
3e518ab0
MK
41452004-07-09 Michael Koch <konqueror@gmx.de>
4146
4147 * gnu/java/awt/EmbeddedWindow.java:
4148 Load native library for setWindowPeer method.
4149
8c5ac2c4
RC
41502004-07-08 Randolph Chung <tausq@debian.org>
4151
4152 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4153 * configure: Regenerate.
4154 * configure.host: Set can_unwind_signal for hppa*-linux.
4155 * include/pa-signal.h: New file.
4156
0bd24153
PB
41572004-07-07 Per Bothner <per@bothner.com>
4158
fedf5454
PB
4159 * Makefile.am: Add rules to build libgij from just gij.cc.
4160
0bd24153
PB
4161 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4162 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4163 (initializeClass): If verbose_class_flag, print message.
4164 * gij.cc (main): Handle -verbose:class flag.
4165
0e497b6c
AT
41662004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4167
4168 * configure.host: Enable hash synchronization on Darwin.
4169 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4170 ';', since this is a comment on Darwin.
4171 (compare_and_swap_release): Likewise.
4172
c09bade6
ME
41732004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4174
4175 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4176 file portion of URL in addition to spec for file: protocol.
4177
23f99379 41782004-07-05 Anthony Green <green@redhat.com>
0e497b6c 4179
23f99379
AG
4180 * java/io/File.java (toURI): Merge from Classpath.
4181
a1433c46
BM
41822004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4183
4184 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4185 before passing to URL constructor. Rethrow any MalformedURLException
4186 as a RuntimeException. Catch MalformedURLException specifically, not
4187 all exceptions.
0e497b6c 4188
a86f0372
BM
41892004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4190
4191 * java/util/Locale.java (readObject): Intern strings read from object
4192 stream.
4193
74fa958e
MK
41942004-07-04 Michael Koch <konqueror@gmx.de>
4195
4196 * gnu/gcj/runtime/FirstThread.java,
4197 gnu/gcj/runtime/natFirstThread.cc: Removed.
4198 * gnu/java/lang/MainThread.java,
4199 gnu/java/lang/natMainThread.cc: New files.
4200 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4201 * Makefile.am: Added new files and removed deleted ones.
4202 * Makefile.in: Regenerated.
4203
94fbf267 42042004-07-03 Mark Wielaard <mark@klomp.org>
0e497b6c 4205 Anthony Green <green@redhat.com>
94fbf267
AG
4206
4207 * java/net/URL.java (getFile): Clarify return value doc.
4208 (getPath): Return null if file is empty - not empty String.
4209 (set): Convert protocol to lower case before doing anything.
4210 Only change the protocol handler if it's different.
4211
42122004-07-03 Anthony Green <green@redhat.com>
4213
4214 * java/net/URL.java (URL): Convert protocol to lower case before
4215 doing anything, so we getURLStreamHandler() with the proper value.
4216
b5349c07
BM
42172004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4218
4219 * java/util/Locale.java (hashcode): Made transient.
4220 (hashCode): No longer synchronized.
4221 (equals): Remove comment.
4222 (writeObject): No longer synchronized. Implement using writeObject
4223 calls instead of tweaking hashCode field. Update doc.
4224 (readObject): Implement using readObject calls.
4225
f8a57be8
GK
42262004-06-26 Geoffrey Keating <geoffk@apple.com>
4227 Andreas Tobler <a.tobler@schweiz.ch>
4228
4229 * configure.host (powerpc-*-darwin*): New case, define
4230 can_unwind_signal.
4231 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4232 * configure: Regenerate.
4233 * include/darwin-signal.h: New.
4234
dcfbe7c7
JQ
42352004-06-30 Jerry Quinn <jlquinn@optonline.net>
4236
4237 * java/beans/Statement.java (doExecute): Fix formatting.
4238
8319dc87
PB
42392004-06-29 Per Bothner <per@bothner.com>
4240
4241 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4242 etc etc): Remove needless parenthesis, which causes __stdcall__
4243 attribute on MinGW to get ignored.
4244
b4bbd47e
BM
42452004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4246
4247 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4248
b5493719
BM
42492004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4250
b4bbd47e 4251 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
b5493719 4252
7b63e340
JQ
42532004-06-28 Jerry Quinn <jlquinn@optonline.net>
4254
4255 * java/beans/Expression.java: New file.
4256 * java/beans/Statement.java: New file.
4257 * Makefile.am: Added new files.
4258 * Makefile.in: Re-generate.
4259
01036503
MW
42602004-06-27 Mark Wielaard <mark@klomp.org>
4261
4262 * java/io/FilePermission.java (usingPerms): Removed.
4263 (actionsString): Made final.
4264 (cachePerms): Renamed to checkPerms.
4265 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4266 on action String.
4267 (FilePermission): Check arguments, call checkPerms().
4268 (equals): Remove cachePerms() call.
4269 (implies): Likewise.
4270
ce6230c4
MW
42712004-06-27 Mark Wielaard <mark@klomp.org>
4272
4273 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4274 final field.
4275 (sendRequest): Use new field in user-agent http agent.
4276
66a74d2a
MW
42772004-06-27 Mark Wielaard <mark@klomp.org>
4278
4279 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4280 when argument is null.
4281
42822004-06-26 Mark Wielaard <mark@klomp.org>
4283
4284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4285 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4286 GetMethodID call.
4287 (cancel_clicked): Likewise.
4288
d168da74
AT
42892004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4290
4291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4292 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4293 can not calculate the right value.
4294 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4295
cc21f43e
BM
42962004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4297
4298 * testsuite/libjava.jacks/jacks.xfail: Remove
4299 15.9.1-qualified-concrete-20.
4300
eb8163ab
BM
43012004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4302
4303 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4304 encoding name to iconv.
4305 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4306
f50aa505
BM
43072004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4308
4309 PR libgcj/16134:
e9cb3dac
BM
4310 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4311 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4312 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
f50aa505 4313
deb3d52f
AH
43142004-06-21 Andrew Haley <aph@redhat.com>
4315
4316 * java/io/ObjectOutputStream.java: Add DEBUG statements
4317 everywhere.
4318 (dumpElementln): New method.
4319 (depth): New field.
4320 * java/io/ObjectInputStream.java
4321 (currentClassLoader): Make native.
4322 (callersClassLoader): New field.
4323 (depth): New field.
4324 (readObject): ENDBLOCKDATA is generated if the class has a write
4325 method, not if it has a read method.
4326 (readObject): Save and restore this.currentObject and
4327 this.currentObjectStreamClass around calls to callReadMethod().
4328 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4329 method.
4330
cfc74dce
AT
43312004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4332
4333 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4334 darwin.
4335
bd760894
RM
43362004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4337
4338 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4339 if desired, before the default class loader is initialised.
4340 Call INIT_SEGV only if HANDLE_SEGV is defined.
4341
6ca77e6f
RM
43422004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4343
4344 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4345 directory only if it actually exists.
4346
67a69e82
GH
43472004-06-18 Graydon Hoare <graydon@redhat.com>
4348
4349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4350 Fix up non-ansi comments.
4351
43522004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4353
4354 * javax/swing/text/AbstractDocument.java: Adding missing import
4355 for javax.swing.event.EventListenerList.
4356 * javax/swing/text/DefaultCaret.java: Likewise.
4357
4dfcdad1
GH
43582004-06-17 Michael Koch <konqueror@gmx.de>
4359
4360 * javax/swing/JToolBar.java
4361 (name): Removed.
4362 (JToolBar): Use Component.setName(String) instead of doing it all
4363 alone.
4364 * javax/swing/Timer.java
4365 (queueEvent): Added missing modifier.
4366
43672004-06-17 Olga Rodimina <rodimina@redhat.coom>
4368
4369 * Makefile.am: Added new file.
4370 * Makefile.in: Re-generate.
4371 * javax/swing/JMenu.java:
4372 (insertSeparator): Implemented.
4373 * javax/swing/JPopupMenu.java:
4374 (JPopupMenu.Separator): Implemented.
4375 * javax/swing/MenuSelectionManager.java:
4376 (processMouseEvent): Use java.awt.Component
4377 for event source instead of javax.swing.JComponent.
4378 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4379 New File. Implemented.
4380
43812004-06-16 David Jee <djee@redhat.com>
4382
4383 * java/awt/GridBagLayout.java
4384 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4385 Make sure pos_x and pos_y are never negative.
4386
43872004-04-16 Andrew Overholt <overholt@redhat.com>
4388
4389 * Makefile.am: Add new file.
4390 * Makefile.in: Re-generate.
4391 * javax/swing/JToolBar.java
4392 Partially implemented.
4393 * javax/swing/plaf/basic/BasicToolBarUI.java
4394 New file. Partially implemented.
4395
43962004-06-16 Graydon Hoare <graydon@redhat.com>
4397
4398 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4399 (setComposite): Accept AlphaComposite arguments.
4400 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4401 (createBufferedImage): Add new overloads.
4402 * gnu/java/awt/peer/gtk/GtkToolkit.java
4403 (createImage): Use GdkPixbufDecoder.createBufferedImage
4404 when useGraphics2D() is true.
4405 (getImage): Delegate to createImage.
4406 * javax/swing/JList.java
4407 (isSelectionEmpty):
4408 (getFirstVisibleIndex):
4409 (getLastVisibleIndex):
4410 (setSelectedValue):
4411 (ensureIndexIsVisible): New methods.
4412 * javax/swing/Timer.java: Reimplement.
4413
44142004-06-16 Michael Koch <konqueror@gmx.de>
4415
4416 * javax/swing/text/AbstractDocument.java
4417 (AbstracElement): Made public, implements java.io.Serializable.
4418 (AttributeContext): Made public.
4419 (BranchElement): Likewise.
4420 (Content): Likewise.
4421 (DefaultDocumentEvent): Made public, extends
4422 javax.swing.undo.CompoundEdit.
4423 (ElementEdit): Made public, extends
4424 javax.swing.undo.AbstractUndoableEdit.
4425 (LeafElement): Made public.
4426 (LeafElement.LeafElement): Made public.
4427
44282004-06-16 Michael Koch <konqueror@gmx.de>
4429
4430 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4431 methods (that were obviously never be intended to get included hi this
4432 class. Added some methods too.
4433
44342004-06-16 Michael Koch <konqueror@gmx.de>
4435
4436 * javax/swing/text/PlainDocument.java
4437 (serialVersionUID): New constant.
4438 (lineLimitAttribute): Likewise.
4439 (tabSizeAttribute): Likewise.
4440 (tabSize): New field.
4441 (PlainDocument): Made public.
4442 (PlainDocument): New constructor.
4443
44442004-06-16 Michael Koch <konqueror@gmx.de>
4445
4446 * javax/swing/text/AbstractDocument.java
4447 (insertString): Throws BadLocationException.
4448 * javax/swing/text/Document.java
4449 (insertString): Likewise.
4450 * javax/swing/text/JTextComponent.java:
4451 Javadocs and comments cleaned up.
4452
44532004-06-16 Michael Koch <konqueror@gmx.de>
4454
4455 * javax/swing/event/UndoableEditListener.java: Reformatted.
4456 * javax/swing/text/AbstractDocument.java
4457 (AbstractDocument): Implements java.io.Serializable.
4458 (doc_list): Removed.
4459 (undo_list): Removed.
4460 (AbstractElement.serialVerionUID): New field.
4461 (BranchElement.serialVerionUID): Likewise.
4462 (DefaultDocumentEvent.serialVerionUID): Likewise.
4463 (ElementEdit.serialVerionUID): Likewise.
4464 (LeafElement.serialVerionUID): Likewise.
4465 (serialVerionUID): Likewise.
4466 (BAD_LOCATION): New constant.
4467 (BidiElementName): Likewise.
4468 (ContentElementName): Likewise.
4469 (ParagraphElementName): Likewise.
4470 (SectionElementName): Likewise.
4471 (ElementNameAttribute): Likewise.
4472 (AbstractDocument): Made protected.
4473 (AbstractDocument): New construtor.
4474 (listenerList): New field.
4475 (fireChangedUpdate): Implemented.
4476 (fireInsertUpdate): Likewise.
4477 (fireRemoveUpdate): Likewise.
4478 (fireUndoableEditUpdate): Likewise.
4479 (getListeners): Likewise.
4480 (addDocumentListener): Likewise.
4481 (removeDocumentListener): Likewise.
4482 (addUndoableEditListener): Likewise.
4483 (removeUndoableEditListener): Likewise.
4484 (getDocumentListeners): New method.
4485 (getUndoableEditListeners): Likewise.
4486 (getAsynchronousLoadPriority): Made public.
4487 (getBidiRootElement): Likewise.
4488 (setAsynchronousLoadPriority): Likewise.
4489 (setDocumentProperties): Likewise.
4490 * javax/swing/text/BadLocationException.java
4491 (serialVerionUID): New field.
4492 * javax/swing/text/DefaultCaret.java
4493 (changeEvent): New field.
4494 (listenerList): Likewise.
4495 (changes): Removed.
4496 (addChangeListener): Reimplemented.
4497 (removeChangeListener): Likewise.
4498 (getListeners): New method.
4499 (getChangeListeners): Likwise.
4500 (getComponent): Likewise.
4501 * javax/swing/text/GapContent.java
4502 (GapContent): Implements java.io.Serializable.
4503 (serialVerionUID): New field.
4504
45052004-06-16 Michael Koch <konqueror@gmx.de>
4506
4507 * javax/swing/JTree.java
4508 (treeModel): New field.
4509 (JTree): New constructors, one existing one made public.
4510 (createTreeModel): New method.
4511 (addTreeExpansionListener): Likewise.
4512 (removeTreeExpansionListener): Likewise.
4513 (getTreeExpansionListeners): Likewise.
4514 (fireTreeCollapsed): Likewise.
4515 (fireTreeExpanded): Likewise.
4516 (addTreeSelectionListener): Likewise.
4517 (removeTreeSelectionListener): Likewise.
4518 (getTreeSelectionListeners): Likewise.
4519 (fireValueChanged): Likewise.
4520 (addTreeWillExpandListener): Likewise.
4521 (removeTreeWillExpandListener): Likewise.
4522 (getTreeWillExpandListeners): Likewise.
4523 (fireTreeWillCollapse): Likewise.
4524 (fireTreeWillExpand): Likewise.
4525
45262004-06-16 Michael Koch <konqueror@gmx.de>
4527
4528 * javax/swing/JTree.java: Reformatted.
4529
45302004-06-16 Michael Koch <konqueror@gmx.de>
4531
4532 * javax/swing/JTextArea.java: New file.
4533 * javax/swing/JTextField.java
4534 (actions): Removed.
4535 (notifyAction): New constant.
4536 (columns): New field.
4537 (JTextField): New constructors.
4538 (createDefaultModel): New method.
4539 (addActionListener): Reimplmemented.
4540 (removeActionListener): Reimplemented.
4541 (getActionListeners): New method.
4542 (fireActionPerformed): New method.
4543 (getColumns): New method.
4544 (setColumne): New method.
4545 * javax/swing/text/JTextComponent.java
4546 (AccessibleJTextComponent.serialVersionUID): New field.
4547 (serialVersionUID): Likewise.
4548 (DEFAULT_KEYMAP): Likewise.
4549 (FOCUS_ACCELERATOR_KEY): Likewise.
4550 (doc): Made private.
4551 (icon_gap): Likewise.
4552 (icon): Likewise.
4553 (align): Likewise.
4554 (JTextComponent): Some constructors removed.
4555 (getScrollableTracksViewportHeight): New method.
4556 (getScrollableTracksViewportWidth): Likewise.
4557 * Makefile.am: Added javax/swing/JTextArea.java.
4558 * Makefile.in: Regenerated.
4559
45602004-06-15 Graydon Hoare <graydon@redhat.com>
4561
4562 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4563 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4564 * javax/swing/JViewport.java
4565 (getExtentSize): Return size rather than preferred size.
4566 (toViewCoordinates): New methods.
4567 (getViewSize): Return size rather than preferred size.
4568 (setViewSize): Note view size as set.
4569 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4570 * javax/swing/plaf/basic/BasicScrollBarUI.java
4571 (getPreferredSize): Don't redo layout.
4572 * javax/swing/plaf/basic/BasicViewportUI.java
4573 (paint): Translate image properly and eat exceptions.
4574
45752004-06-15 Kim Ho <kho@redhat.com>
4576
4577 * javax/swing/JTabbedPane.java
4578 (setComponent): Remove old component and
4579 add new component.
4580 (setSelectedIndex): Don't operate on the
4581 components if they're null. Don't set index
4582 on the model if the index is the same.
4583 (insertTab): Don't add or hide the component
4584 if it's null. Repaint the container.
4585 * javax/swing/plaf/basic/BasicLookAndFeel.java
4586 Change colors for TabbedPane.
4587 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4588 (mousePressed): Re-layout and paint the component.
4589 (layoutContainer): Don't set location on the view.
4590 (ScrollingViewport::paint): Remove.
4591
45922004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4593
4594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4595 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4596
4597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4598 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4599 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4600 critical region.
4601 (drawLine): Call gdk_flush before leaving GDK critical region.
4602 (fillRect): Likewise.
4603 (drawRect): Likewise.
4604 (copyArea): Likewise.
4605 (copyPixmap): Likewise.
4606 (clearRect): Likewise.
4607 (drawArc): Likewise.
4608 (drawPolyline): Likewise.
4609 (drawPolygon): Likewise.
4610 (fillPolygon): Likewise.
4611 (fillArc): Likewise.
4612 (drawOval): Likewise.
4613 (fillOval): Likewise.
4614
4615 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4616 style parameter.
4617 (GdkFontMetrics): Add style argument to initState call.
4618 (stringWidth(String,int,int,String)): Add style parameter.
4619 (stringWidth(String)): Add style argument to stringWidth call.
4620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4621 (initState): Set pango font style and weight based on AWT style
4622 parameter. Pass default GTK language to
4623 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4624 simply dividing by PANGO_SCALE.
4625 (stringWidth): Set pango font style and weight based on AWT style
4626 parameter.
4627
4628 * java/awt/Button.java (next_button_number): New field.
4629 (paramString): Change output.
4630 (generateName): New method.
4631 (getUniqueLong): New method.
4632
46332004-06-14 Kim Ho <kho@redhat.com>
4634
4635 * javax/swing/JTabbedPane.java:
4636 (setComponentAt): Set the component, not
4637 the enabled status.
4638 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4639 (actionPerformed): Let deiconize catch exception.
4640
46412004-06-14 Olga Rodimina <rodimina@redhat.com>
4642
4643 * javax/swing/JPopupMenu.java:
4644 (setVisible): Corrected location of a
4645 heavyweight popup menu.
4646
46472004-06-14 Olga Rodimina <rodimina@redhat.com>
4648
4649 * javax/swing/MenuSelectionManager.java:
4650 Ran through jalopy to fix formatting style.
4651
46522004-06-14 Olga Rodimina <rodimina@redhat.com>
4653
4654 * javax/swing/JLayeredPane.java:
4655 (remove): Revalidate and repaint layered pane after
4656 the component was removed.
4657 javax/swing/JMenu.java:
4658 (setVisible): Display popup menu at the user location,
4659 if one was set by the user.
4660 (setMenuLocation): Reimplemented. Fixed javadoc.
4661 * javax/swing/JMenuBar.java: Added javadoc.
4662 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4663 (MODEL_CHANGED_PROPERTY): New Property.
4664 (isSelected): Implemented.
4665 (setBorderPainted): Fire PropertyChangeEvent
4666 if paintBorder property changes.
4667 (setSelected): Implemented.
4668 (setSelectionModel): Implemented.
4669 * javax/swing/JPopupMenu.java: Added Javadoc
4670 (pack): Implemented.
4671 (setVisible): Reimplemented.
4672 (show): Fixed location.
4673 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4674 Container instead of JPanel.
4675 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4676 (clearSelectedPath): Reimplemented to clear selectedPath
4677 in reverse order.
4678 (processMouseEvent): Reimplemented.
4679 (setSelectedPath): Fire stateChange event indicating that
4680 selected menu path has changed.
4681 (getPath): Change to use ArrayList instead of Vector.
4682 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4683 (installUI): call installKeyboardActions().
4684 (uninstallUI): call uninstallKeyboardActions().
4685
46862004-06-13 Michael Koch <konqueror@gmx.de>
4687
4688 * javax/swing/text/DefaultCaret.java,
4689 javax/swing/text/BadLocationException.java:
4690 Reformatted.
4691
46922004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4693
4694 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4695 DEFAULT_COLS): New variables.
4696 (create): Don't allow 0 rows or 0 columns. Instead, set the
4697 values to DEFAULT_ROWS or DEFAULT_COLS.
4698 (getMinimumSize): Likewise.
4699 (getPreferredSize): Likewise.
4700 (minimumSize): Likewise.
4701 (preferredSize): Likewise.
4702 (create): Set peer's editable state.
4703 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4704 zero. Update javadocs.
4705 (TextArea(String)): Likewise.
4706 (TextArea(int,int)): Fix javadocs.
4707 (TextArea(String,int,int,int)): Only throw exception if one of
4708 rows or columns is zero. Fix javadocs.
4709
47102004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4711
4712 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4713 addition to Components.
4714
4715 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4716 wasn't consumed by normal processing, send it to the parent
4717 menu.
4718
4719 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4720 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4721 translation.
4722
47232004-06-11 David Jee <djee@redhat.com>
4724
4725 * java/awt/MediaTracker.java
4726 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4727 (addImage(Image,int,int,int)): Likewise.
4728
47292004-06-11 Michael Koch <konqueror@gmx.de>
4730
4731 * javax/swing/text/AbstractDocument.java,
4732 javax/swing/text/Document.java,
4733 javax/swing/text/GapContent.java,
4734 javax/swing/text/JTextComponent.java,
4735 javax/swing/text/PlainDocument.java:
4736 Reformatted.
4737
47382004-06-11 Michael Koch <konqueror@gmx.de>
4739
4740 * javax/swing/JRootPane.java
4741 (AccessibleJRootPane.serialVersionUID): New field.
4742 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4743 (AccessibleJRootPane.getAccessibleRole): New method.
4744 (RootLayout): Implements Serializable.
4745 (RootLayout.serialVersionUID): New field.
4746 (RootLayout.RootLayout): New constructor.
4747 (setJMenuBar): Made public.
4748 (getJMenuBar): Likewise.
4749 (JRootPane): Likewise.
4750 (createContentPane): Likewise.
4751 (createGlassPane): Likewise.
4752 (createLayeredPane): Likewise.
4753
47542004-06-11 Michael Koch <konqueror@gmx.de>
4755
4756 * javax/swing/SwingUtilities.java
4757 (isLeftMouseButton): Fixed javadoc.
4758 (isMiddleMouseButton): Likewise.
4759 (isRightMouseButton): Likewise.
4760
47612004-06-11 Michael Koch <konqueror@gmx.de>
4762
4763 * javax/swing/JScrollPane.java
4764 (serialVersionUID): New field.
4765 (columnHeader): Made protected.
4766 (rowHeader): Likewise.
4767 (lowerLeft): Likewise.
4768 (lowerRight): Likewise.
4769 (upperLeft): Likewise.
4770 (upperRight): Likewise.
4771 (horizontalScrollBar): Likewise.
4772 (horizontalScrollBarPolicy): Likewise.
4773 (verticalScrollBar): Likewise.
4774 (verticalScrollBarPolicy): Likewise.
4775 (viewport): Likewise.
4776
47772004-06-11 Michael Koch <konqueror@gmx.de>
4778
4779 * javax/swing/LookAndFeel.java: Fixed javadocs.
4780
47812004-06-11 Michael Koch <konqueror@gmx.de>
4782
4783 * javax/swing/JEditorPane.java: Fixed javadocs.
4784 (JEditorPane): Removed redundant call to to this().
4785 (fireHyperlinkUpdate): Implemented.
4786
47872004-06-10 Olga Rodimina <rodimina@redhat.com>
4788
4789 * javax/swing/JMenu.java: Fixed file name
4790 in the file comment.
4791
47922004-06-10 Olga Rodimina <rodimina@redhat.com>
4793
4794 * javax/swing/JMenu.java: Added javadoc.
4795 (JMenu): Added MenuChangeListener to listen to
4796 ChangeEvents occuring in menu's model.
4797 (insert): Throw IllegalArgumentException if
4798 index is less than 0
4799 (setSelected): Reimplement.
4800 (setPopupMenuVisible): Call menu's model isEnabled()
4801 (setDelay): Throw IllegalArgumentException if
4802 given amount of delay is less than 0.
4803 (createActionComponent): Implemented.
4804 (createActionChangeListener): Implemented.
4805 (addSeparator): Implemented.
4806 (getItem): Throw IllegalArgumentException if index is
4807 less than 0.
4808 (getItemCount): Implemented.
4809 (fireMenuSelected): Changed to use menuEvent.
4810 (fireMenuDeselected): Likewise.
4811 (fireMenuCanceled): Likewise.
4812 (setAccelerator): Changed to throw an error if this
4813 method is used.
4814 (doClick): Implemented.
4815 (JMenu.ActionChangedListener): New inner class to handle
4816 PropertyChangeEvents occuring in the actions associated with menu.
4817 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4818 (BasicMenuUI): Added PropertyChangeListener to the menu.
4819 (createChangeListener): Implemented.
4820 (createMenuDragMouseListener): Likewise.
4821 (createMenuKeyListener): Likewise.
4822 (createPropertyChangeListener): Likewise.
4823 (uninstallListeners): Likewise.
4824 (BasicMenuUI.MouseInputHandler): Reimplemented.
4825 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4826 (BasicMenuUI.ChangeHandler): Likewise.
4827 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4828 (BasicMenuUI.MenuKeyHandler): Likewise.
4829
48302004-06-10 David Jee <djee@redhat.com>
4831
4832 * java/awt/MediaTracker.java
4833 (imageUpdate): Only do notifyAll() if the image is complete.
4834
48352004-06-10 Olga Rodimina <rodimina@redhat.com>
4836
4837 * javax/swing/JApplet.java:
4838 (getJMenuBar): Made public.
4839 (setJMenuBar): Likewise.
4840 * javax/swing/JFrame.java:
4841 (getJMenuBar): Made public.
4842 (setJMenuBar): Likewise.
4843 * javax/swing/JWindow.java:
4844 (getJMenuBar): Removed.
4845 (setJMenuBar): Removed.
4846
48472004-06-10 Michael Koch <konqueror@gmx.de>
4848
4849 * javax/swing/JEditorPane.java
4850 (createEditorKitForContentType): Fixed visibility.
4851 (fireHyperlinkUpdate): Likewise.
4852 (getContentType): Likewise.
4853 (getEditorKit): Likewise.
4854 (getEditorKitForContentType): Likewise.
4855 (getPage): Likewise.
4856 (read): Likewise.
4857 (registerEditorKitForContentTyoe): Likewise.
4858 (replaceSelection): Likewise.
4859 (setContentType): Likewise.
4860 (setEditorKit): Likewise.
4861 (setPage): Likewise.
4862
48632004-06-10 Michael Koch <konqueror@gmx.de>
4864
4865 * javax/swing/Timer.java
4866 (Timer): New constructor.
4867 * javax/swing/plaf/basic/BasicProgressBarUI.java
4868 (animationTimer): Don't initialize at construction.
4869 (startAnimationTimer): Added since tag.
4870 (stopAnimationTimer): Likewise.
4871 (installUI): Use new Timer constructor.
4872 * javax/swing/plaf/basic/BasicScrollBarUI.java
4873 (installUI): Likewise.
4874 * javax/swing/plaf/basic/BasicSliderUI.java
4875 (installUI): Likewise.
4876
48772004-06-10 Michael Koch <konqueror@gmx.de>
4878
4879 * javax/swing/ButtonGroup.java
4880 (serialVersionUID): Made private.
4881 (buttons): Renamed from v, added javadoc.
4882 (sel): Added javadoc.
4883 (ButtonGroup): Likewise.
4884 (add): Likewise.
4885 (remove): Likewise.
4886 (getElements): Likewise.
4887 (getSelection): Likewise.
4888 (setSelected): Likewise.
4889 (isSelected): Likewise.
4890 (getButtonCount): Likewise.
4891
48922004-06-10 Michael Koch <konqueror@gmx.de>
4893
4894 * javax/swing/ButtonGroup.java,
4895 javax/swing/ImageIcon.java,
4896 javax/swing/JEditorPane.java,
4897 javax/swing/JRootPane.java,
4898 javax/swing/JTextField.java,
4899 javax/swing/LookAndFeel.java,
4900 javax/swing/plaf/basic/BasicTextUI.java:
4901 Reindented.
4902
49032004-06-10 Michael Koch <konqueror@gmx.de>
4904
4905 * javax/swing/text/Style.java: Added javadocs.
4906
49072004-06-10 Michael Koch <konqueror@gmx.de>
4908
4909 * javax/swing/JComponent.java
4910 (fireVetoableChange): Removed redundant cast.
4911 * javax/swing/JLabel.java
4912 (getDisabledIcon): Save icon for next call.
4913
49142004-06-10 Michael Koch <konqueror@gmx.de>
4915
4916 * javax/swing/KeyStroke.java
4917 (getKeyStroke(char,boolean)): Marked deprecated.
4918
49192004-06-10 Michael Koch <konqueror@gmx.de>
4920
4921 * javax/swing/DefaultCellEditor.java,
4922 javax/swing/GrayFilter.java,
4923 javax/swing/event/DocumentEvent.java,
4924 javax/swing/text/JTextComponent.java,
4925 javax/swing/text/MutableAttributeSet.java:
4926 Reindented.
4927
49282004-06-10 Michael Koch <konqueror@gmx.de>
4929
4930 * javax/swing/plaf/BorderUIResource.java:
4931 Added serialVersionUID all over.
4932
49332004-06-10 Sascha Brawer <brawer@dandelis.ch>
4934
4935 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4936
49372004-06-10 Michael Koch <konqueror@gmx.de>
4938
4939 * javax/swing/table/DefaultTableCellRenderer.java
4940 (noFocusBorder): Initialize directly.
4941
49422004-06-10 Michael Koch <konqueror@gmx.de>
4943
4944 * javax/swing/plaf/basic/BasicArrowButton.java
4945 (setDirection): Use method argument.
4946
49472004-06-10 Michael Koch <konqueror@gmx.de>
4948
4949 * javax/swing/plaf/BorderUIResource.java,
4950 javax/swing/plaf/ComponentUI.java,
4951 javax/swing/undo/CompoundEdit.java,
4952 javax/swing/undo/StateEdit.java:
4953 Fixed javadocs all over.
4954
49552004-06-10 Michael Koch <konqueror@gmx.de>
4956
4957 * javax/swing/DefaultButtonModel.java
4958 (ARMED): Made public final, fixed value.
4959 (ENABLED): Likewise.
4960 (PRESSED): Likewise.
4961 (ROLLOVER): Likewise.
4962 (SELECTED): Likewise.
4963 (stateMask): Initialize directly.
4964 (listenerList): Likewise.
4965 (mnemonic): Likewise.
4966 (fireStateChanged): Removed argument, use changeEvent as event.
4967 All places where this method is called are fixed too.
4968 (getActionCommant): Fixed javadoc.
4969 (setGroup): Fixed javadoc.
4970 (getGroup): New method.
4971
49722004-06-09 Olga Rodimina <rodimina@redhat.com>
4973
4974 * javax/swing/AbstractButton.java
4975 (AbstractButton): Use init() to initialize the button.
4976 (init): New Method. Initializes AbstractButton.
4977 * javax/swing/JMenuItem.java: Documented.
4978 (JMenuItem): Reimplemented.
4979 (init): Implemented.
4980 (setEnabled): Changed to call super.setEnabled()
4981 (processMouseEvent): Reimplemented.
4982 (fireMenuKeyPressed): Implemented.
4983 (fireMenuKeyReleased): Implemented.
4984 (fireMenuKeyTyped): Implemented.
4985 (menuSelectionChanged): disarm the model if the menu item was
4986 deselected.
4987 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
4988 (getPath): Change to use ArrayList instead of Vector.
4989 (getPreferredSize): Renamed variable.
4990 (paintMenuItem): Paint margin area of menu item.
4991 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
4992 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
4993 menu item's bounds before clearing the selection.
4994
49952004-06-09 David Jee <djee@redhat.com>
4996
4997 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4998 (GtkTextComponentPeer): Set caret position to 0.
4999 * java/awt/TextComponent.java
5000 (setText): Set caret position to 0.
5001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5002 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5003 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5004 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5005 Likewise.
5006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5007 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5008 visible.
5009
50102004-06-09 Kim Ho <kho@redhat.com>
5011
5012 * Makefile.am: New files
5013 * Makefile.in: Regenerated
5014 * java/awt/Container.java
5015 (getComponentAt): Removed.
5016 * javax/swing/AbstractAction.java
5017 (ENABLED_PROPERTY): New property.
5018 (putValue): Fire PropertyChangeEvents.
5019 (setEnabled): ditto.
5020 (firePropertyChange): Javadoc and implement
5021 convenience method.
5022 * javax/swing/AbstractButton.java
5023 (setAction): Don't create PropertyChangeListener
5024 if new Action is null.
5025 (setIcon): Don't set icon till after comparing
5026 it.
5027 (configurePropertiesFromAction): Check mnemonic
5028 key before calling intValue().
5029 (createActionPropertyChangeListener): Check
5030 properties rather than bulk change.
5031 * javax/swing/DefaultDesktopManager.java:
5032 Implement.
5033 * javax/swing/DesktopManager.java:
5034 Jalopy and javadoc.
5035 * javax/swing/JComponent.java
5036 (fireVetoableChange): Implement.
5037 (paintImmediately): Use root component.
5038 * javax/swing/JDesktopPane.java: Implement
5039 * javax/swing/JInternalFrame.java: Implement
5040 * javax/swing/JLabel.java
5041 (getDisabledIcon): Return grayscaled icon if
5042 no disabled icon specified.
5043 * javax/swing/JMenuBar.java
5044 (getComponentAtIndex): Use getComponent
5045 * javax/swing/JOptionPane.java
5046 (getDesktopPaneForComponent): Use SwingUtilities'
5047 getAncestorOfClass
5048 (getFrameForComponent): ditto.
5049 * javax/swing/JSplitPane.java
5050 (remove): Use getComponent.
5051 * javax/swing/SwingUtilities.java
5052 (convertPoint): Implement.
5053 * javax/swing/plaf/basic/BasicButtonUI.java
5054 (paintButtonNormal): Check opaqueness before
5055 filling background.
5056 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5057 Implement
5058 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5059 Implement.
5060 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5061 Implement.
5062 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5063 Implement.
5064 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5065 Change InternalFrame and Desktop colors.
5066
50672004-06-09 David Jee <djee@redhat.com>
5068
5069 * java/awt/Container.java
5070 (remove): Do not set component to invisible.
5071
50722004-06-09 Michael Koch <konqueror@gmx.de>
5073
5074 * javax/swing/tree/DefaultMutableTreeNode.java
5075 (getLeafCount): Renamed enum to e.
5076
50772004-06-09 Michael Koch <konqueror@gmx.de>
5078
5079 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5080 (positionForMouseEvent): Removed redundant semicolon.
5081 (continueDrag): Use method arguments.
5082
50832004-06-09 Michael Koch <konqueror@gmx.de>
5084
5085 * javax/swing/border/TitledBorder.java,
5086 javax/swing/filechooser/FileSystemView.java,
5087 javax/swing/plaf/basic/BasicButtonListener.java,
5088 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5089 javax/swing/plaf/basic/BasicLabelUI.java,
5090 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5091 javax/swing/plaf/basic/BasicScrollBarUI.java,
5092 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5093 javax/swing/plaf/basic/BasicSliderUI.java,
5094 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5095 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5096 javax/swing/table/JTableHeader.java,
5097 javax/swing/text/AbstractDocument.java,
5098 javax/swing/text/DefaultCaret.java,
5099 javax/swing/text/StyledEditorKit.java,
5100 javax/swing/tree/DefaultTreeCellEditor.java:
5101 Reworked import statements.
5102
51032004-06-08 Graydon Hoare <graydon@redhat.com>
5104
5105 * javax/swing/Box.java: Temporarily comment out code
5106 broken due to visibility bug.
5107
51082004-06-09 Michael Koch <konqueror@gmx.de>
5109
5110 * javax/swing/ImageIcon.java
5111 (ImageIcon): Added missing constructor.
5112
51132004-06-08 Michael Koch <konqueror@gmx.de>
5114
5115 * javax/swing/JToggleButton.java
5116 (JToggleButton): New constructor.
5117 (getAccessibleContext): Moved documentation into javadoc.
5118 (getUIClassID): Likewise.
5119
51202004-06-08 Michael Koch <konqueror@gmx.de>
5121
5122 * javax/swing/AbstractButton.java
5123 (getDisabledIcon): Create disabled icon if none exists yet.
5124
51252004-06-08 Michael Koch <konqueror@gmx.de>
5126
5127 * javax/swing/plaf/basic/BasicLookAndFeel.java
5128 (initClassDefaults): Added FormattedTextFieldUI.
5129 (loadResourceBundle): Renamed enum to e.
5130
51312004-06-08 Michael Koch <konqueror@gmx.de>
5132
5133 * javax/swing/plaf/basic/BasicButtonUI.java
5134 (paintIcon): Simplified.
5135 (paintText): Paint disabled button correctly.
5136
51372004-06-08 Michael Koch <konqueror@gmx.de>
5138
5139 * javax/swing/JComponent.java
5140 (createToolTip): Use official JToolTip API.
5141
51422004-06-08 Michael Koch <konqueror@gmx.de>
5143
5144 * javax/swing/JToolTip.java
5145 (JToolTip): No arguments in API.
5146 (setTipText): New method.
5147
51482004-06-08 Michael Koch <konqueror@gmx.de>
5149
5150 * javax/swing/SwingUtilities.java
5151 (isLeftMouseButton): New method.
5152 (isMiddleMouseButton): New method.
5153 (isRightMouseButton): New method.
5154
51552004-06-08 Michael Koch <konqueror@gmx.de>
5156
5157 * javax/swing/AbstractButton.java,
5158 javax/swing/CellRendererPane.java,
5159 javax/swing/JCheckBoxMenuItem.java,
5160 javax/swing/JColorChooser.java,
5161 javax/swing/JComboBox.java,
5162 javax/swing/JComponent.java,
5163 javax/swing/JDesktopPane.java,
5164 javax/swing/JFileChooser.java,
5165 javax/swing/JMenu.java,
5166 javax/swing/JMenuItem.java,
5167 javax/swing/JOptionPane.java,
5168 javax/swing/JPasswordField.java,
5169 javax/swing/JPopupMenu.java,
5170 javax/swing/JProgressBar.java,
5171 javax/swing/JRadioButtonMenuItem.java,
5172 javax/swing/JScrollBar.java,
5173 javax/swing/JSeparator.java,
5174 javax/swing/JSlider.java,
5175 javax/swing/JSplitPane.java,
5176 javax/swing/JTabbedPane.java,
5177 javax/swing/JTextField.java,
5178 javax/swing/JToolBar.java,
5179 javax/swing/text/JTextComponent.java:
5180 Fixed all constructors of accessibility classes.
5181
51822004-06-08 Michael Koch <konqueror@gmx.de>
5183
5184 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5185 over.
5186
51872004-06-08 Michael Koch <konqueror@gmx.de>
5188
5189 * javax/swing/Box.java
5190 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5191 (AccessibleBoxFiller.serialVersionUID): New member variable.
5192 * javax/swing/DefaultButtonModel.java
5193 (stateMask): Made protected.
5194 (listenerList): Likewise.
5195 (changeEvent): Likewise.
5196 (group): Likewise.
5197 (mnemonic): Likewise.
5198 (actionCommand): Likewise.
5199 (getListeners): New method.
5200 (getActionListeners): New method.
5201 (getItemListeners): New method.
5202 (getChangeListeners): New method.
5203 (fireItemStateChanged): Simplified.
5204 (fireActionPerformed): Simplified.
5205 (fireStateChanged): Simplified.
5206 * javax/swing/JFrame.java
5207 (JFrame): Implements WindowContants.
5208 (HIDE_ON_CLOSE): Removed.
5209 (EXIT_ON_CLOSE): Removed.
5210 (DISPOSE_ON_CLOSE): Removed.
5211 (DO_NOTHING_ON_CLOSE): Removed.
5212 (processWindowEvent): Exit with code 0.
5213 (setDefaultCloseOperation): Do security check before setting value.
5214 * javax/swing/JOptionPane.java
5215 (message): Initialize only in constructor.
5216 * javax/swing/JToolTip.java: Removed unused imports.
5217 * javax/swing/JViewport.java
5218 (serialVersionUID): New member variable.
5219 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5220 (BLIT_SCROLL_MODE): Likewise.
5221 (BACKINGSTORE_SCROLL_MODE): Likewise.
5222 (scrollUnderway): Made protected.
5223 (isViewSizeSet): Likewise.
5224 * javax/swing/ListModel.java: Fixed javadoc.
5225 * javax/swing/Popup.java: Likewise.
5226 * javax/swing/RepaintManager.java
5227 (paintDirtyRegions): Don't use internal classes of
5228 java.util.AbstractMap.
5229 * javax/swing/ScrollPaneConstants.java: Reindented.
5230 * javax/swing/ScrollPaneLayout.java
5231 (viewport): Made protected.
5232 (verticalScrollBar): Made protected, renamed to vsb.
5233 (horizontalScrollBar): Made protected, renamed to hsb.
5234 (rowHeader): Made protected, renamed to rowHead.
5235 (columnHeader): Made protected, renamed to colHead.
5236 (lowerLeft): Made protected.
5237 (lowerRight): Made protected.
5238 (upperLeft): Made protected.
5239 (upperRight): Made protected.
5240 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5241 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5242
52432004-06-07 Bernd Schmidt <bernds@btinternet.com>
5244
5245 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5246 LOADING if flags has SOMEBITS set.
5247
52482004-06-07 Michael Koch <konqueror@gmx.de>
5249
5250 * javax/swing/AbstractButton.java: Reorganized imports.
5251 * javax/swing/ActionMap.java: Likewise.
5252 * javax/swing/DefaultButtonModel.java: Likewise.
5253 * javax/swing/DefaultListModel.java: Likewise.
5254 * javax/swing/ImageIcon.java: Likewise.
5255 (serialVersionUID): New member variable.
5256 * javax/swing/JComboBox.java: Reorganized imports.
5257 * javax/swing/JComponent.java: Likewise.
5258 (ui): Made protected.
5259 (listenerList): Made protected.
5260 (TOOL_TIP_TEXT_KEY): New constant.
5261 (scrollRectToVisible): Removed redundant null check.
5262 * javax/swing/JFrame.java: Reorganized imports.
5263 * javax/swing/JInternalFrame.java: Reorganized imports.
5264 * javax/swing/JProgressBar.java: Likewise.
5265 * javax/swing/JRootPane.java: Likewise.
5266 * javax/swing/JScrollBar.java: Likewise.
5267 * javax/swing/JSeparator.java: Likewise.
5268 * javax/swing/JSlider.java: Likewise.
5269 * javax/swing/JTabbedPane.java: Likewise.
5270 * javax/swing/JTextField.java: Likewise.
5271 * javax/swing/JToolBar.java: Likewise.
5272 * javax/swing/JTree.java: Likewise.
5273 * javax/swing/JViewport.java: Likewise.
5274 * javax/swing/JWindow.java: Likewise.
5275 * javax/swing/KeyStroke.java: Likewise.
5276 * javax/swing/LookAndFeel.java: Likewise.
5277 * javax/swing/MenuSelectionManager.java: Likewise.
5278 * javax/swing/SwingUtilities.java: Likewise.
5279 * javax/swing/Timer.java: Likewise.
5280 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5281 * javax/swing/JList.java
5282 (HORIZONTAL_WRAP): Made final, fixed value.
5283 (VERTICAL): Likewise.
5284 (VERTICAL_WRAP): Likewise.
5285
52862004-06-07 Michael Koch <konqueror@gmx.de>
5287
5288 * javax/swing/AbstractButton.java
5289 (serialVersionUID): New member variable.
5290 (AccessibleAbstractButton.serialVersionUID): Likewise.
5291 (AbstractButton): Made public.
5292 * javax/swing/Box.java
5293 (AccessibleBox.serialVersionUID): New member variable.
5294 (Filler.serialVersionUID): Likewise.
5295 * javax/swing/DefaultListSelectionModel.java
5296 (serialVersionUID): Likewise.
5297 * javax/swing/JApplet.java
5298 (serialVersionUID): Likewise.
5299 * javax/swing/JCheckBox.java
5300 (serialVersionUID): Likewise.
5301 * javax/swing/JCheckBoxMenuItem.java
5302 (serialVersionUID): Likewise.
5303 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5304 * javax/swing/JColorChooser.java
5305 (serialVersionUID): Likewise.
5306 (AccessibleJColorChooser.serialVersionUID): Likewise.
5307 * javax/swing/JComponent.java
5308 (serialVersionUID): Made private.
5309 (AccessibleJComponent.serialVersionUID): New member variable.
5310 * javax/swing/JDesktopPane.java
5311 (serialVersionUID): Likewise.
5312 * javax/swing/JDialog.java
5313 (serialVersionUID): Likewise.
5314 * javax/swing/JFormattedTextField.java
5315 (serialVersionUID): Fixed value.
5316 * javax/swing/JFrame.java
5317 (serialVersionUID): New member variable.
5318 (getDefaultCloseOpertation): Made public.
5319 * javax/swing/JLayeredPane.java
5320 (serialVersionUID): Likewise.
5321 (LAYER_PROPERTY): Made final, fixed value.
5322 (JLayeredPane): Made public.
5323 * javax/swing/JMenu.java
5324 (AccessibleJMenu.serialVersionUID): New member variable.
5325 (WinListener.serialVersionUID): Likewise.
5326 * javax/swing/JMenuBar.java
5327 (serialVersionUID): Likewise.
5328 (getComponentAtIndex): Added @deprecated tag.
5329 * javax/swing/JMenuItem.java
5330 (serialVersionUID): New member variable.
5331 (AccessibleJMenuItem.serialVersionUID): Likewise.
5332 * javax/swing/JOptionPane.java
5333 (serialVersionUID): Likewise.
5334 (AccessibleJOptionPane.serialVersionUID): Likewise.
5335 * javax/swing/JPopupMenu.java
5336 (serialVersionUID): Likewise.
5337 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5338 (getPopupMenuListeners): New method.
5339 (getComponentAtIndex): Added @deprecated tag.
5340 * javax/swing/JProgressBar.java
5341 (serialVersionUID): New member variable.
5342 (AccessibleJProgressBar.serialVersionUID): Likewise.
5343 * javax/swing/JRadioButton.java
5344 (serialVersionUID): Likewise.
5345 * javax/swing/JRadioButtonMenuItem.java
5346 (serialVersionUID): Likewise.
5347 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5348 * javax/swing/JScrollBar.java
5349 (serialVersionUID): Likewise.
5350 (AccessibleJScrollBar.serialVersionUID): Likewise.
5351 * javax/swing/JSeparator.java
5352 (serialVersionUID): Likewise.
5353 (AccessibleJSeparator.serialVersionUID): Likewise.
5354 * javax/swing/JSlider.java: Fixed javadocs.
5355 (AccessibleJSlider.serialVersionUID): New member variable.
5356 * javax/swing/JSplitPane.java: Added copyright statement.
5357 (serialVersionUID): New member variable.
5358 (AccessibleJSplitPane.serialVersionUID): Likewise.
5359 * javax/swing/JTabbedPane.java
5360 (serialVersionUID): Likewise.
5361 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5362 (ModelListener.serialVersionUID): Likewise.
5363 (ModelListener.ModelListener): New constructor.
5364 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5365 (WRAP_TAB_LAYOUT): Likewise.
5366 * javax/swing/JTable.java
5367 (serialVersionUID): New member variable.
5368 * javax/swing/JToggleButton.java
5369 (serialVersionUID): Likewise.
5370 (ToggleButtonModel): Made static.
5371 (ToggleButtonModel.serialVersionUID): New member variable.
5372 * javax/swing/JToolTip.java
5373 (serialVersionUID): Likewise.
5374 * javax/swing/JTree.java
5375 (serialVersionUID): Likewise.
5376 * javax/swing/JWindow.java
5377 (serialVersionUID): Likewise.
5378 * javax/swing/Timer.java
5379 (serialVersionUID): Likewise.
5380
53812004-06-06 Michael Koch <konqueror@gmx.de>
5382
5383 * javax/swing/SwingConstants.java
5384 (NEXT): New constant.
5385 (PREVIOUS): Likewise.
5386 * javax/swing/UIManager.java
5387 (LookAndFeel): Made public.
5388 (LookAndFeel.getClassName): Likewise.
5389 (LookAndFeel.getName): Likewise.
5390
53912004-06-02 Olga Rodimina <rodimina@redhat.com>
5392
5393 * javax/swing/JCheckBoxMenuItem.java:
5394 Removed CVS tags.
5395 * javax/swing/JMenu.java: Likewise.
5396 * javax/swing/JMenuBar.java: Likewise.
5397 * javax/swing/JMenuItem.java: Likewise.
5398 * javax/swing/JPopupMenu.java: Likewise.
5399 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5400 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5401 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5402 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5403 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5404 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5405 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5406
54072004-05-31 Olga Rodimina <rodimina@redhat.com>
5408
5409 * javax/swing/plaf/basic/BasicMenuUI.java:
5410 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5411 Call getPath() from super class instead.
5412
54132004-05-31 David Jee <djee@redhat.com>
5414
5415 * java/awt/Container.java
5416 (remove): Set component visibility to false after removing it.
5417
54182004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5419
5420 * java/awt/Component.java (getForeground): Return SystemColor if
5421 parent is null.
5422 (getBackground): Likewise.
5423
5424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5425 (item_highlighted): New function.
5426 (connectSignals): Set item_highlighted as list's select
5427 function.
5428
5429 * java/applet/Applet.java: Revert changes from 2004-04-29,
5430 2004-03-15 and 2004-03-14.
5431
5432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5433 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5434 factor.
5435
5436 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5437 "Dialog" as the default font.
5438 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5439 Likewise.
5440 * java/awt/Component.java (getFont): Return "Dialog" font by
5441 default.
5442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5443 Multiply size argument to pango_font_description_set_size by the
5444 DPI conversion factor rather than by PANGO_SCALE.
5445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5455 Divide baseline y coordinate by DPI conversion factor rather
5456 than by PANGO_SCALE.
5457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5458 (area_prepared): Fix typo.
5459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5460 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5462 (dpi_conversion_factor): New global variable.
5463 (init_dpi_conversion_factor): New function to calculate and
5464 track DPI conversion factor.
5465 (dpi_changed_cb): New callback.
5466 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5467
54682004-05-27 David Jee <djee@redhat.com>
5469
5470 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5471 (getGraphics): Return a new GdkGraphics instance.
5472 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5473 (getGraphics): Call super.getGraphics().
5474
54752004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5476
5477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5478 (setNativeBounds): Clamp width and height values to >= 0.
5479
5480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5481 (find_fg_color_widget): Handle GtkOptionMenu specially.
5482
5483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5484 (pre_event_handler): Only post configure events to visible
5485 top-level windows.
5486
54872004-05-26 David Jee <djee@redhat.com>
5488
5489 * java/awt/BorderLayout.java
5490 (layoutContainer): Fix size calculations.
5491
54922004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5493
5494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5495 (window_wm_protocols_filter): Remove function.
5496 (create): Remove filter that removes WM_TAKE_FOCUS client
5497 messages.
5498
794c3bee
AG
54992004-06-17 Anthony Green <green@redhat.com>
5500
1616280e
AG
5501 * java/util/zip/ZipFile.java (getInputStream): Return null if
5502 entry not found.
5503
794c3bee
AG
5504 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5505 directory contents to the class path.
5506
d1238423
AH
55072004-06-15 Andrew Haley <aph@redhat.com>
5508
5509 * java/lang/natSystem.cc (getenv0): Don't assume environment
5510 variable is Latin 1 coded.
5511
f1c3e0a6
AJ
55122004-06-14 Andreas Jaeger <aj@suse.de>
5513
5514 * configure.in: Support --enable-version-specific-runtime-libs.
5515 * configure: Regenerated.
5516
84b1d821
BM
55172004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5518
5519 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5520 to pass ClassLoader argument.
5521 * java/util/GregorianCalendar.java: Likewise.
5522 * java/util/Currency.java: Likewise.
5523 * java/text/BreakIterator.java: Likewise.
5524 * java/text/Collator.java: Likewise.
5525 * java/text/DateFormat.java: Likewise.
5526 * java/text/DateFormatSymbols.java: Likewise.
5527 * java/text/DecimalFormatSymbols.java: Likewise.
5528 * java/text/NumberFormat.java: Likewise.
5529 * java/awt/Window.java: Likewise.
5530
df94fa14
AH
55312004-06-14 Andrew Haley <aph@redhat.com>
5532
5533 * java/lang/System.java: (getenv0): New method.
5534 (getenv): Add security check. Do the right thing.
5535 * java/lang/natSystem.cc (getenv0): New method.
5536
ff6ea709
MW
55372004-06-12 Mark Wielaard <mark@klomp.org>
5538
5539 * javax/swing/RepaintManager.java
5540 (paintDirtyRegions): Use entrySet(), not values().
5541
d1ee8381
MW
55422004-06-10 Mark Wielaard <mark@klomp.org>
5543
5544 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5545 NoSuchMethodError.
5546
b092552d
JQ
55472004-06-11 Jerry Quinn <jlquinn@optonline.net>
5548
5549 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5550 when we already know the answer.
5551 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5552 (setStartRule,setEndRule): Don't take abs of day number.
5553 (getOffset): Clarify docs. Add argument checks.
5554 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5555 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5556 endTimeMode.
5557
618df745
TT
55582004-06-10 Tom Tromey <tromey@redhat.com>
5559
5560 * interpret.cc (run): Handle wide fload.
5561
648b6075
JQ
55622004-06-06 Jerry Quinn <jlquinn@optonline.net>
5563
5564 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5565
9fc3ed51
MK
55662004-06-05 Michael Koch <konqueror@gmx.de>
5567
5568 * javax/swing/SwingConstants.java
5569 (NEXT): New constant.
5570 (PREVIOUS): Likewise.
5571
c6dd0441
MK
55722004-06-05 Michael Koch <konqueror@gmx.de>
5573
5574 * javax/swing/UIManager.java
5575 (LookAndFeel): Made public.
5576 (LookAndFeel.getName): Likewise.
5577 (LookAndFeel.getClassName): Likewise.
5578
53ef271f
MK
55792004-06-03 Michael Koch <konqueror@gmx.de>
5580
5581 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5582 (requestFocus): Revert last changes.
5583 (gtkRequestFocus): Removed.
5584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5585 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5586 Renamed to ...
5587 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5588 Reverted last patch.
5589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5590 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5591 Reverted comment change.
5592
26f4ba86
OR
55932004-06-02 Olga Rodimina <rodimina@redhat.com>
5594
5595 * javax/swing/JCheckBoxMenuItem.java:
5596 Removed CVS tags.
5597 * javax/swing/JMenu.java: Likewise.
5598 * javax/swing/JMenuBar.java: Likewise.
5599 * javax/swing/JMenuItem.java: Likewise.
5600 * javax/swing/JPopupMenu.java: Likewise.
5601 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5602 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5603 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5604 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5605 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5606 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5607 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5608
c05e85e2
MK
56092004-06-01 Tom Tromey <tromey@redhat.com>
5610
5611 * java/io/ObjectStreamField.java: Cleaned up imports.
5612
56132004-06-01 Michael Koch <konqueror@gmx.de>
5614
5615 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5616
56172004-06-01 Mark Wielaard <mark@klomp.org>
5618
5619 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5620
6ef44cfd
MK
56212004-06-01 Michael Koch <konqueror@gmx.de>
5622
5623 * java/security/Security.java
5624 (insertProviderAt): Use equals() instead of ==.
5625 (removeProvicer): Likewise.
5626 (getProvider): Likewise.
5627 * java/security/Signature.java
5628 (sign): Don't set state to UNINITIALIZED.
5629 (verify): Likewise.
5630
1900c4c6
MW
56312004-06-01 Mark Wielaard <mark@klomp.org>
5632
5633 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5634 Implement by calling gtkRequestFocus.
5635 (gtkRequestFocus): New native method.
5636 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5637 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5638 Renamed to ...
5639 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5640 New function name.
5641 (filter_expose_event_handler):
5642 Mark static.
5643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5644 (menu_pos): Mark static.
5645
57807c31
MK
56462004-06-01 Michael Koch <konqueror@gmx.de>
5647
5648 * java/text/CollationElementIterator.java,
5649 java/text/CollationKey.java,
5650 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5651 * testsuite/libjava.mauve/xfails: Removed all
5652 java.text.CollationElementIterator tests.
5653
f7dbd56c
MK
56542004-06-01 Michael Koch <konqueror@gmx.de>
5655
5656 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5657 version.
5658 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5659 Java 1.5 keyword usage.
5660
44a4b8db
OR
56612004-05-31 Olga Rodimina <rodimina@redhat.com>
5662
5663 * javax/swing/plaf/basic/BasicMenuUI.java:
5664 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5665 Call getPath() from super class instead.
5666
58128b9d
MK
56672004-05-31 Michael Koch <konqueror@gmx.de>
5668
5669 * java/io/SequenceInputStream.java:
5670 Rename enum to e because enum is a keyword in Java 1.5.
5671
771b9ca3
MK
56722004-05-31 Michael Koch <konqueror@gmx.de>
5673
5674 * gnu/java/rmi/rmic/CompilerProcess.java:
5675 Fixed javadoc to by XHTML compliant.
5676
7a70d70c
MW
56772004-05-30 Mark Wielaard <mark@klomp.org>
5678
5679 * java/awt/Toolkit.java (loadSystemColors): Implement.
5680
289f9db7
MK
56812004-05-30 Michael Koch <konqueror@gmx.de>
5682
071917b0
MK
5683 * java/lang/System.java: Reordered imports.
5684
56852004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5686
289f9db7
MK
5687 * java/text/DecimalFormat.java
5688 (parse): Fixed parsing of decimal strings. Number of maximum
5689 digits to be read should now work.
5690 * java/text/SimpleDateFormat.java
5691 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5692 formatter. This fixes DateFormatTest.
5693
1b2545bc
MK
56942004-05-30 Michael Koch <konqueror@gmx.de>
5695
5696 * java/nio/Buffer.java
5697 (limit): Fixed off by one error.
5698 * java/nio/CharBuffer.java
5699 (wrap): Fixed arguments, added javadocs.
5700
74c2dbf7
MK
57012004-05-30 Michael Koch <konqueror@gmx.de>
5702
5703 * gnu/java/beans/BeanInfoEmbryo.java,
5704 java/awt/im/InputContext.java,
5705 javax/swing/tree/DefaultMutableTreeNode.java:
5706 Rename enum to e because enum is a keyword in Java 1.5.
5707
27d14326
MK
57082004-05-30 Michael Koch <konqueror@gmx.de>
5709
5710 * gnu/java/math/MPN.java,
5711 java/awt/geom/Arc2D.java:
5712 Fixed javadocs all over.
5713
933592af
MK
57142004-05-30 Michael Koch <konqueror@gmx.de>
5715
5716 * java/awt/DefaultKeyboardFocusManager.java
5717 (dispatchEvent): Call method to get key event dispatchers.
5718 (dispatchKeyEvent): Call method to get key event post processors.
5719 * javax/swing/JComponent.java
5720 (listenerList): Made protected.
5721 * javax/swing/JOptionPane.java
5722 (message): Don't initialize.
5723 (JOptionPane): Set message text.
5724 * javax/swing/JPopupMenu.java
5725 (show): Fixed typo in argument name.
5726 * javax/swing/RepaintManager.java
5727 (paintDirtyRegions): Use public API of java.util.Map.
5728 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5729 (positionForMouseEvent): Removed redundant ';'.
5730 (continueDrag): Use method arguments.
5731
5ba95354
RM
57322004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5733
5734 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5735 results.
5736
ca60dce2
BM
57372004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5738
5739 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5740 _Jv_AllocBytes.
5741 * gnu/gcj/RawDataManaged.java: New file.
5742 * java/lang/Thread.java (data): Declare as RawDataManaged.
5743 * java/lang/natThread.cc (init_native): Cast natThread data to
5744 RawDataManaged, not jobject.
5745 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5746 * Makefile.in: Rebuilt.
5747
b9f065be
JQ
57482004-05-27 Jerry Quinn <jlquinn@optonline.net>
5749
5750 * java/util/SimpleTimeZone.java: Reverting my last change until I
5751 can fix it properly.
5752
a4171ce1
MK
57532004-05-27 Michael Koch <konqueror@gmx.de>
5754
5755 * javax/swing/JPopupMenu.java
5756 (isVisible): Do not use visible directly.
5757 (setVisible): Likewise.
5758 * javax/swing/JWindow.java
5759 (JWindow): call accessible constructor.
5760 * javax/swing/RepaintManager.java
5761 (paintDirtyRegions): Use public methods to obtain iterator.
5762
c5d2de6b
GH
57632004-05-25 David Jee <djee@redhat.com>
5764
5765 * java/awt/Container.java
5766 (remove): Set component's parent to null only after we removed the
5767 component from its parent's layout manager.
5768
57692004-05-25 David Jee <djee@redhat.com>
5770
5771 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5772 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5773 is valid.
5774 * gnu/java/awt/peer/gtk/GtkListPeer.java
5775 (getSize): Change native method declaration.
5776 (minimumSize): Pass visible row count into getSize().
5777 (preferredSize): Likewise.
5778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5779 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5780 natural size. Use visible row count to determine the final height
5781 value to return.
5782
57832004-05-21 Graydon Hoare <graydon@redhat.com>
5784
5785 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5786 (setClip): Minor correction to order of operations.
5787
5788 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5789 * javax/swing/ScrollPaneLayout.java: Likewise.
5790 * javax/swing/JViewPort.java: Likewise.
5791 * javax/swing/ViewportLayout.java: Likewise.
5792
5793 * javax/swing/JComponent.java: Rewrite.
5794 * javax/swing/RepaintManager.java: Likewise.
5795
5796 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5797 * javax/swing/JList.java
5798 (setSelectedIndices):
5799 (getSelectedIndices):
5800 (getSelectedValues): New functions.
5801 (getPreferredScrollableViewportSize): Return preferred size.
5802 (getScrollableUnitIncrement):
5803 (getScrollableBlockIncrement): Initial implementations.
5804 * javax/swing/JRootPane.java: Clean up slightly.
5805 (getUI):
5806 (setUI):
5807 (updateUI):
5808 (getUIClassID):
5809 (isValidateRoot): Add overrides from JComponent.
5810 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5811 * javax/swing/UIManager.java (getDimension): Return the dimension.
5812
5813 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5814 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5815 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5816 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5817 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5818 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5819 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5820 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5821 Likewise, and set background.
5822 * javax/swing/plaf/basic/BasicListUI.java:
5823 Likewise, and improve a bit.
5824 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5825 Likewise, and adjust calculations.
5826 * javax/swing/plaf/basic/BasicViewportUI.java:
5827 Likewise, and improve a bit.
5828 * javax/swing/plaf/basic/BasicLookAndFeel.java
5829 (Button.margin): Shrink.
5830
5831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5832 Hack to set horizontal always, workaround pango.
5833
5834 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5836 Synchronize more often, check cairo status after ops,
5837 handle changes to cairo pattern API, check for disposal.
5838
58392004-05-21 Olga Rodimina <rodimina@redhat.com>
5840
5841 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5842 (BasicMenuItemUI): Create propertyChangeListener.
5843 (getPath):Implemented.
5844 (installListeners): Add propertyChangeListener to menuItem.
5845 (uninstallListeners): Remove propertyChangeListener from menuItem.
5846 (update): Implemented.
5847 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5848 (mouseEntered): Take insets of popup menu into account when
5849 calculating position of popup menu.
5850
58512004-05-18 Olga Rodimina <rodimina@redhat.com>
5852
5853 * Makefile.am: Added new file.
5854 * Makefile.in: Regenerate.
5855 * javax/swing/JMenuBar.java:
5856 Started implementation.
5857 * javax/swing/JPopupMenu.java:
5858 (setVisible): Fixed location of lightweight/mediumweight
5859 popup menu.
5860 (show): Fixed location of PopupMenu.
5861 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5862 New file. UI Delegate for JMenuBar.
5863 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5864 (mouseEntered): Corrected position of the submenu.
5865
58662004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5867
5868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5869 to _gtk_accel_group_attach.
5870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5871 Likewise.
5872
5873 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5874 package access. Don't override setFont.
5875 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5876 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5877 gtkWidgetRequestFocus package access.
5878 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5879 setFont.
5880 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5881 Give gtkWidgetRequestFocus package access.
5882 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5883 gtkWidgetRequestFocus package access. Don't override setFont.
5884 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5885 setFont.
5886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5887 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5888 region.
5889 (gtkSetFont): Likewise.
5890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5891 Implement.
5892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5893 (gtkSetFont): Whitespace fix.
5894
5895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5896 (gtkWidgetSetUsize): Remove method.
5897
58982004-05-18 David Jee <djee@redhat.com>
5899
5900 * java/awt/image/MemoryImageSource.java
5901 (newPixels(int,int,int,int,boolean)): Set only the specified
5902 rectangle of pixels.
5903 (newPixels(byte[],ColorModel,int,int)): Implement.
5904 (newPixels(int[],ColorModel,int,int)): Implement.
5905
59062004-05-18 Olga Rodimina <rodimina@redhat.com>
5907
5908 * Makefile.am: Added new file.
5909 * Makefile.in: Regenerate.
5910 * javax/swing/JMenu.java: Started
5911 implementation.
5912 * javax/swing/JPopupMenu.java:
5913 (insert): If specified index is -1, then
5914 add component at the end.
5915 (isPopupTrigger): Reimplemented.
5916 (JPopupMenu.LightWeightPopup): setBounds
5917 of the lightWeightPopup before adding it
5918 to the layeredPane.
5919 (javax/swing/plaf/basic/BasicIconFactory.java):
5920 (getMenuArrowIcon): Implemented.
5921 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5922 (getPreferredSize): Add size of the arrow icon
5923 if this menu item is instance of JMenu.
5924 (paintMenuItem): Paint arrow icon if this
5925 menu item is a submenu.
5926 * javax/swing/plaf/basic/BasicMenuUI.java:
5927 New File. UI Delegate for JMenu.
5928
59292004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5930
5931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5932 Post KEY_TYPED events.
5933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5934 (generates_key_typed_event): Remove function.
5935
59362004-05-17 Olga Rodimina <rodimina@redhat.com>
5937
5938 * javax/swing/JRootPane.java
5939 (JRootPane.RootLayout): Reimplemented to
5940 set bounds of contentPane and menuBar.
5941 (setJMenuBar): Add menu bar to the layered pane.
5942 (createLayeredPane): Set layout of layeredPane
5943 to null.
5944 * javax/swing/JLayeredPane.java:
5945 (addImpl): Calculate index of the component in the
5946 layeredPane according to the specified position within
5947 the layer.
5948
59492004-05-17 David Jee <djee@redhat.com>
5950
5951 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5952 (setPixels): Change color model to the default model after
5953 converting pixels.
5954 * java/awt/image/MemoryImageSource.java
5955 (newPixels): Set only the specified rectangle of pixels.
5956
59572004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5958
5959 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5960 -l-java-beans -l-javax-accessibility -l-javax-swing.
5961
5962 * java/awt/AWTEvent.java (toString): Print source's name rather
5963 than the source itself.
5964
59652004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5966
5967 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5968 native.
5969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5970 (gdk_color_to_java_color): New function.
5971 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5972
59732004-05-12 David Jee <djee@redhat.com>
5974
5975 * java/awt/image/RGBImageFilter.java:
5976 Initialize origmodel as null.
5977 (makeColor): Fix pixel component order.
5978 (filterRGBPixels): Fix pixel iteration.
5979 (setPixels): Add extra checks for index color model. Convert pixels
5980 to default color model if necessary.
5981 (convertColorModelToDefault): New override method for byte pixels.
5982 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5983 (makeColorbyDefaultCM): New override method for byte pixels.
5984 (makeColorbyDefaultCM): For int pixel, add color model as argument.
5985 (makeColor): Fix pixel component order.
5986
59872004-05-11 Kim Ho <kho@redhat.com>
5988
5989 * javax/swing/Box.java:
5990 Comment out more parts of Box.Filler.
5991
59922004-05-11 Kim Ho <kho@redhat.com>
5993
5994 * javax/swing/Box.java:
5995 Remove reference to AccessibleAWTComponent so
5996 it compiles again.
5997
59982004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
5999
6000 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6001 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6002 implementation of list peer to use GtkTreeView instead of
6003 deprecated GtkCList.
6004
60052004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6006
6007 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6008 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6009 (handleEvent): Remove keyChar argument to
6010 gtkWidgetDispatchKeyEvent calls.
6011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6012 compiler warnings.
6013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6016 Likewise.
6017
60182004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6019
6020 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6021 (gtkWidgetRequestFocus): Mark protected.
6022 (GtkComponentPeer): Only set the peer's bounds if its component
6023 is valid.
6024 * java/awt/Component.java (static): Set the default keyboard
6025 focus manager.
6026 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6027 requestFocusInWindow(temporary)): Don't request focus if the
6028 component is not showing. Get tree lock before traversing
6029 component hierarchy.
6030 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6031 Only set the global focus owner if it is not a Window.
6032 (processKeyEvent): Consume keystrokes associated with the focus
6033 traversal keystroke.
6034 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6035 downFocusCycle): Call requestFocusInWindow instead of
6036 requestFocus.
6037 * java/awt/EventDispatchThread.java (run): Move setting of
6038 default keyboard focus manager to Component.java.
6039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6040 (awt_keycode_to_keysym): New function.
6041 (gtkWidgetDispatchKeyEvent): Finish implementation.
6042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6043 (pre_event_handler): Add FIXME comment.
6044
6045 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6046 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6047 (gtkWidgetRequestFocus): New method.
6048 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6049 disable Tab and Shift-Tab keystrokes.
6050 (addNotify, appendText, insertText, replaceText): Simplify peer
6051 retrieval code.
6052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6053 (connectSignals): Remove connections to "commit" signals.
6054 Remove C++-style comments.
6055
6056 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6057 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6058 (handleEvent): Activate GTK button when the space bar key is
6059 pressed.
6060 (gtkActivate): New method.
6061
60622004-05-06 David Jee <djee@redhat.com>
6063
6064 * java/awt/image/CropImageFilter.java
6065 (setPixels): Implement for byte array pixels.
6066 * java/awt/image/ReplicateScaleFilter.java
6067 (setPixels): Implement for byte array pixels.
6068 (replicatePixels): Overload for byte array pixels.
6069
60702004-05-06 Kim Ho <kho@redhat.com>
6071
6072 * javax/swing/Box.java:
6073 (getAccessibleContext): Return an instance of the
6074 correct class.
6075
60762004-05-05 David Jee <djee@redhat.com>
6077
6078 * gnu/java/awt/peer/gtk/GdkGraphics.java
6079 (drawImage): When component is null, use SystemColor.window as
6080 the default bgcolor.
6081 * gnu/java/awt/peer/gtk/GtkImage.java
6082 (setPixels): We can avoid iterating through the pixel rows only
6083 when height is 1.
6084 * java/awt/Image.java
6085 (getScaledInstance): Partially implement.
6086 * java/awt/image/CropImageFilter.java
6087 (setProperties): Fix "filter" property.
6088 (setPixels): Implement.
6089 * java/awt/image/ReplicateScaleFilter.java
6090 (setDimensions): Use scaled dimensions.
6091 (setPixels): Implement.
6092 (replicatePixels): New method.
6093
60942004-05-05 David Jee <djee@redhat.com>
6095
6096 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6097 (convertPixels): If either pixels or model is null, return null.
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6099 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6100 is null, do nothing and return.
6101
61022004-05-03 Kim Ho <kho@redhat.com>
6103
6104 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6105 (getGraphics): Like GtkFramePeer, the Graphics
6106 object needs to be translate to account for
6107 window decorations.
6108 (postMouseEvent): New method. Account for
6109 translation.
6110 (postExposeEvent): ditto.
6111 * javax/swing/Box.java: Stubbed.
6112 * javax/swing/JDialog.java: Ran through jalopy
6113 to fix indentation.
6114 (JDialog): Call SwingUtilities' getOwnerFrame
6115 for null owners.
6116 (setLayout): Check isRootPaneCheckingEnabled
6117 * javax/swing/JOptionPane.java: Re-implemented.
6118 * javax/swing/SwingUtilities.java:
6119 (getOwnerFrame): Static method to grab a default
6120 owner frame for Dialogs that don't specify owners.
6121 * javax/swing/event/SwingPropertyChangeSupport.java:
6122 (firePropertyChange): Fix early exit condition.
6123 * javax/swing/plaf/basic/BasicLabelUI.java:
6124 (paint): Avoid painting text if it is null
6125 or empty.
6126 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6127 Implement.
6128
61292004-05-03 Olga Rodimina <rodimina@redhat.com>
6130
6131 * Makefile.am: Added new file.
6132 * Makefile.in: Regenerate.
6133 * javax/swing/JPopupMenu.java:
6134 Started implementation.
6135 * javax/swing/JWindow.java
6136 (JWindow): call super() if parent for window
6137 is not specified.
6138 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6139 New File. UI Delegate for JPopupMenu.
6140
61412004-04-30 Olga Rodimina <rodimina@redhat.com>
6142
6143 * javax/swing/JApplet.java: Indicated that JApplet
6144 implements RootPaneContainer and made method of this
6145 interface public.
6146 * javax/swing/JFrame.java: Ditto.
6147 * javax/swing/JWindow.java: Ditto.
6148
61492004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6150
6151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6152 (nativeSetBounds): Call gdk_window_move in addition to
6153 gtk_window_move.
6154
6155 * java/applet/Applet.java (preferredSize): Call parent's
6156 preferredSize if the applet stub is null.
6157 (minimumSize): Likewise for parent's minimumSize.
6158
61592004-04-27 Olga Rodimina <rodimina@redhat.com>
6160
6161 * javax/swing/JMenuItem.java
6162 (createActionPropertyChangeListener): Implemented.
6163 (processMouseEvent): Ditto.
6164 (fireMenuDragMouseEntered): Ditto.
6165 (fireMenuDragMouseExited): Ditto.
6166 (fireMenuDragMouseDragged): Ditto.
6167 (fireMenuDragMouseReleased): Ditto.
6168 (menuSelectionChanged): Ditto.
6169 (getSubElements): Ditto.
6170 (getComponent): Ditto.
6171 (addMenuDragMouseListener): Ditto.
6172 (removeMenuDragMouseListener):Ditto.
6173 (addMenuKeyListener): Ditto.
6174 (removeMenuKeyListener): Ditto.
6175 * javax/swing/plaf/basic/BasicMenuItemUI.java
6176 (doClick): Imlemented.
6177 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6178 Don't handle mouse events here. Pass them to
6179 MenuSelectionManager.
6180
61812004-04-26 Olga Rodimina <rodimina@redhat.com>
6182 Used correct version of jalopy configuration
6183 file to fix style in the files below.
6184
61852004-04-26 Olga Rodimina <rodimina@redhat.com>
6186
6187 * javax/swing/JCheckBoxMenuItem.java:
6188 Fixed style and removed unnecessary comments.
6189 * javax/swing/JMenuItem.java: Ditto.
6190 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6191 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6192 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6193 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6194
61952004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6196
6197 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6198 C-style.
6199
6200 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6201
6202 * java/awt/ContainerOrderFocusTraversalPolicy.java
6203 (getComponentAfter): Start from current component and work up
6204 the component hierarchy until an acceptable component is found.
6205 Synchronize on tree lock.
6206 (getComponentBefore): Likewise.
6207
62082004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6209
6210 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6211 focus-related debugging messages.
6212 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6213 * java/awt/EventDispatchThread.java: Likewise.
6214 * java/awt/KeyboardFocusManager.java: Likewise.
6215 * java/awt/Window.java: Likewise.
6216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6218
6219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6220 new C++-style comments to C-style comments.
6221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6222
6223 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6225 (handleEvent): Dispatch key press and key release events to
6226 backing widget.
6227 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6228 (gtkWidgetRequestFocus): New method.
6229 (gtkWidgetDispatchKeyEvent): Likewise.
6230 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6231 requestFocusInWindow, requestFocusInWindow(boolean),
6232 getFocusCycleRootAncestor, nextFocus, transferFocus,
6233 transferFocusBackward, transferFocusUpCycle, hasFocus,
6234 isFocusOwner): Implement and document focus-handling methods.
6235 (setFocusTraversalKeys): Inherit focus traversal keys when
6236 keystrokes argument is null. Fix focus-handling documentation
6237 throughout class.
6238 * java/awt/Container.java (setFocusTraversalKeys,
6239 getFocusTraversalKeys, areFocusTraversalKeysSet,
6240 isFocusCycleRoot, setFocusTraversalPolicy,
6241 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6242 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6243 Implement and document focus-handling methods.
6244 (transferFocusBackward): Remove method.
6245 (readObject, writeObject): Implement and document serialization
6246 methods.
6247 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6248 and document.
6249 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6250 document.
6251 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6252 partially document.
6253 * java/awt/EventDispatchThread.java (run): Set default keyboard
6254 focus manager. Attempt to dispatch each event to the keyboard
6255 focus manager before normal dispatch.
6256 * java/awt/KeyboardFocusManager.java: Implement and partially
6257 document.
6258 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6259 (show): Focus initial component when window is shown for the
6260 first time.
6261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6262 (pre_event_handler): Replace complex key press and key release
6263 logic with simple callbacks into GtkComponentPeer.
6264 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6265
62662004-04-21 Olga Rodimina <rodimina@redhat.com>
6267
6268 * javax/swing/MenuSelectionManager.java
6269 (componentForPoint): Added new method.
6270 (defaultManager): New Method. Implemented.
6271 (getSelectedPath): Ditto.
6272 (isComponentPartOfCurrentMenu): Ditto.
6273 (processKeyEvent): Added new method.
6274 (processMouseEvent): New Method. Implemented.
6275 (setSelectedPath): Ditto.
6276 (getPath): Ditto.
6277
62782004-04-19 Kim Ho <kho@redhat.com>
6279
6280 * java/awt/Container.java:
6281 (remove): Set the component's parent to null.
6282 (getComponentAt): Implement.
6283 * javax/swing/JComponent.java:
6284 (JComponent): Initialize defaultLocale
6285 (getDefaultLocale): Implement.
6286 (setDefaultLocale): ditto.
6287 * javax/swing/JSlider.java:
6288 (JSlider): Fix calculation of value.
6289 * javax/swing/JSplitPane.java: Implement.
6290 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6291 Change SplitPane's default divider size.
6292 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6293 (paint): Remove unused code.
6294 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6295 Added comments and ran through jalopy.
6296 (setBasicSplitPaneUI): Get reference to hidden divider
6297 and set up one touch buttons if necessary.
6298 (setBorder): Fire propertyChangeEvent only if
6299 borders are different.
6300 (getPreferredSize): Defer to layout manager.
6301 (propertyChange): Implement.
6302 (oneTouchExpandableChanged): ditto.
6303 (createLeftOneTouchButton): Use BasicArrowButton.
6304 (createRightOneTouchButton): ditto.
6305 (moveDividerTo): New method. Moves the divider
6306 to a set location based on the last divider location.
6307 (BasicSplitPaneDivider::MouseHandler): Implement.
6308 (BasicSplitPaneDivider::OneTouchButton): Removed.
6309 (BasicSplitPaneDivider::DragController): Implement.
6310 (BasicSplitPaneDivider::VerticalDragController):
6311 ditto.
6312 (BasicSplitPaneDivider::DividerLayout): ditto.
6313 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6314 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6315 (calculateLayoutInfo): Don't show component if it's
6316 null.
6317 (paintTab): Fix title paint logic.
6318
2140214f
JQ
63192004-05-26 Jerry Quinn <jlquinn@optonline.net>
6320
6321 PR libgcj/8321
6322 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6323 (setStartRule,setEndRule): Don't take abs of day number.
6324 (getOffset): Clarify docs. Add argument checks.
6325 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6326 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6327 endTimeMode.
6328 * testsuite/libjava.mauve/xfails
6329 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6330
17abdabc
BM
63312004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6332
6333 Layout interfaces during preparation, not initialization.
6334 * java/lang/natClass.cc (initializeClass): Move
6335 _Jv_LayoutInterfaceMethods call...
6336 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6337
0fa13661
AG
63382004-05-19 Anthony Green <green@localhost.localdomain>
6339
6340 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6341 gnu.javax.rmi code.
6342 * Makefile.in: Rebuilt.
6343 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6344 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6345 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6346 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6347 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6348 gnu/javax/rmi/CORBA/DelegateFactory.java,
6349 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6350 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6351 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6352 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6353 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6354 gnu/javax/rmi/PortableServer.java: Remove files.
6355
0f22079e
AG
63562004-05-19 Anthony Green <green@redhat.com>
6357
6358 * Makefile.am: Define JAVA_EXT_DIRS.
6359 * Makefile.in: Rebuilt.
6360 * java/lang/natRuntime.cc (insertSystemProperties): Set
6361 java.ext.dirs property.
6362
9152dcf4
MW
63632004-05-16 Mark Wielaard <mark@klomp.org>
6364
6365 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6366
fb0e7ec0
MW
63672004-05-15 Mark Wielaard <mark@klomp.org>
6368
6369 * doc/cni.sgml: Removed, merged into gcj.texi.
6370
85ff6f62
MW
63712004-05-15 Mark Wielaard <mark@klomp.org>
6372
6373 * Makefile.am (ordinary_java_source_files): Add new javax.print
6374 classes.
6375 * Makefile.in: Regenerated.
6376
63772004-05-15 Michael Koch <konqueror@gmx.de>
6378
6379 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6380 javax/print/attribute/standard/DateTimeAtCreation.java,
6381 javax/print/attribute/standard/DateTimeAtProcessing.java,
6382 javax/print/attribute/standard/DocumentName.java,
6383 javax/print/attribute/standard/JobHoldUntil.java,
6384 javax/print/attribute/standard/JobImpressionsCompleted.java,
6385 javax/print/attribute/standard/JobMessageFromOperator.java,
6386 javax/print/attribute/standard/JobName.java,
6387 javax/print/attribute/standard/JobOriginatingUserName.java,
6388 javax/print/attribute/standard/JobPriority.java,
6389 javax/print/attribute/standard/JobPrioritySupported.java,
6390 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6391 javax/print/attribute/standard/OutputDeviceAssigned.java,
6392 javax/print/attribute/standard/PrinterInfo.java,
6393 javax/print/attribute/standard/PrinterLocation.java,
6394 javax/print/attribute/standard/PrinterMakeAndModel.java,
6395 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6396 javax/print/attribute/standard/PrinterName.java,
6397 javax/print/attribute/standard/QueuedJobCount.java,
6398 javax/print/attribute/standard/RequestingUserName.java:
6399 Fixed javadocs all over.
6400
64012004-05-15 Michael Koch <konqueror@gmx.de>
6402
6403 * javax/print/DocFlavor.java,
6404 javax/print/attribute/standard/ColorSupported.java,
6405 javax/print/attribute/standard/Compression.java,
6406 javax/print/attribute/standard/CopiesSupported.java,
6407 javax/print/attribute/standard/Fidelity.java,
6408 javax/print/attribute/standard/Finishings.java,
6409 javax/print/attribute/standard/JobImpressionsSupported.java,
6410 javax/print/attribute/standard/JobKOctetsSupported.java,
6411 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6412 javax/print/attribute/standard/JobSheets.java,
6413 javax/print/attribute/standard/JobState.java,
6414 javax/print/attribute/standard/JobStateReason.java,
6415 javax/print/attribute/standard/JobStateReasons.java,
6416 javax/print/attribute/standard/Media.java,
6417 javax/print/attribute/standard/MediaSizeName.java,
6418 javax/print/attribute/standard/MultipleDocumentHandling.java,
6419 javax/print/attribute/standard/NumberUpSupported.java,
6420 javax/print/attribute/standard/OrientationRequested.java,
6421 javax/print/attribute/standard/PDLOverrideSupported.java,
6422 javax/print/attribute/standard/PageRanges.java,
6423 javax/print/attribute/standard/PresentationDirection.java,
6424 javax/print/attribute/standard/PrintQuality.java,
6425 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6426 javax/print/attribute/standard/PrinterMoreInfo.java,
6427 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6428 javax/print/attribute/standard/PrinterResolution.java,
6429 javax/print/attribute/standard/PrinterState.java,
6430 javax/print/attribute/standard/PrinterStateReason.java,
6431 javax/print/attribute/standard/PrinterStateReasons.java,
6432 javax/print/attribute/standard/PrinterURI.java,
6433 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6434 javax/print/attribute/standard/Severity.java,
6435 javax/print/attribute/standard/SheetCollate.java,
6436 javax/print/attribute/standard/Sides.java:
6437 Added serialVersionUID and removed final keyword where it doenst
6438 belong.
6439
64402004-05-15 Michael Koch <konqueror@gmx.de>
6441
6442 * javax/print/PrintServiceLookup.java: New file.
6443
64442004-05-15 Michael Koch <konqueror@gmx.de>
6445
6446 * javax/print/DocFlavor.java:
6447 Implemented all flavor classes.
6448
64492004-05-15 Michael Koch <konqueror@gmx.de>
6450
6451 * javax/print/attribute/standard/ColorSupported.java,
6452 javax/print/attribute/standard/Compression.java,
6453 javax/print/attribute/standard/CopiesSupported.java,
6454 javax/print/attribute/standard/Fidelity.java,
6455 javax/print/attribute/standard/Finishings.java,
6456 javax/print/attribute/standard/JobImpressionsSupported.java,
6457 javax/print/attribute/standard/JobKOctetsSupported.java,
6458 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6459 javax/print/attribute/standard/JobSheets.java,
6460 javax/print/attribute/standard/JobState.java,
6461 javax/print/attribute/standard/JobStateReason.java,
6462 javax/print/attribute/standard/JobStateReasons.java,
6463 javax/print/attribute/standard/Media.java,
6464 javax/print/attribute/standard/MediaSizeName.java,
6465 javax/print/attribute/standard/MultipleDocumentHandling.java,
6466 javax/print/attribute/standard/NumberUpSupported.java,
6467 javax/print/attribute/standard/OrientationRequested.java,
6468 javax/print/attribute/standard/PDLOverrideSupported.java,
6469 javax/print/attribute/standard/PageRanges.java,
6470 javax/print/attribute/standard/PresentationDirection.java,
6471 javax/print/attribute/standard/PrintQuality.java,
6472 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6473 javax/print/attribute/standard/PrinterMoreInfo.java,
6474 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6475 javax/print/attribute/standard/PrinterResolution.java,
6476 javax/print/attribute/standard/PrinterState.java,
6477 javax/print/attribute/standard/PrinterStateReason.java,
6478 javax/print/attribute/standard/PrinterStateReasons.java,
6479 javax/print/attribute/standard/PrinterURI.java,
6480 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6481 javax/print/attribute/standard/Severity.java,
6482 javax/print/attribute/standard/SheetCollate.java,
6483 javax/print/attribute/standard/Sides.java: New files.
6484
64852004-05-15 Michael Koch <konqueror@gmx.de>
6486
6487 * javax/print/Doc.java
6488 (getPrintData): Throws IOException.
6489 (getReaderForText): Likewise.
6490 (getStreamForBytes): Likewise.
6491 * javax/print/DocFlavor.java:
6492 Fixed filename in copyright.
6493 (serialVersionUID): New field.
6494 * javax/print/ServiceUIFactory.java:
6495 Made all constants final.
6496 * javax/print/AttributeException.java
6497 javax/print/MultiDoc.java
6498 javax/print/MultiDocPrintJob.java
6499 javax/print/MultiDocPrintService.java
6500 javax/print/StreamPrintService.java
6501 javax/print/URIException.java: New files.
6502 * javax/print/Makefile.am
6503 (EXTRA_DIST): Added all new files.
6504
65052004-05-15 Michael Koch <konqueror@gmx.de>
6506
6507 * javax/print/attribute/standard/Copies.java,
6508 javax/print/attribute/standard/DateTimeAtCompleted.java,
6509 javax/print/attribute/standard/DateTimeAtCreation.java,
6510 javax/print/attribute/standard/DateTimeAtProcessing.java,
6511 javax/print/attribute/standard/DocumentName.java,
6512 javax/print/attribute/standard/JobHoldUntil.java,
6513 javax/print/attribute/standard/JobImpressions.java,
6514 javax/print/attribute/standard/JobImpressionsCompleted.java,
6515 javax/print/attribute/standard/JobKOctets.java,
6516 javax/print/attribute/standard/JobKOctetsProcessed.java,
6517 javax/print/attribute/standard/JobMediaSheets.java,
6518 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6519 javax/print/attribute/standard/JobMessageFromOperator.java,
6520 javax/print/attribute/standard/JobName.java,
6521 javax/print/attribute/standard/JobOriginatingUserName.java,
6522 javax/print/attribute/standard/JobPriority.java,
6523 javax/print/attribute/standard/JobPrioritySupported.java,
6524 javax/print/attribute/standard/NumberOfDocuments.java,
6525 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6526 javax/print/attribute/standard/NumberUp.java,
6527 javax/print/attribute/standard/OutputDeviceAssigned.java,
6528 javax/print/attribute/standard/PagesPerMinute.java,
6529 javax/print/attribute/standard/PagesPerMinuteColor.java:
6530 Fixed @return tag all over.
6531
65322004-05-15 Michael Koch <konqueror@gmx.de>
6533
6534 * javax/print/attribute/AttributeSetUtilities.java
6535 (verifyCategoryForValue): Fixed typo in javadoc.
6536 * javax/print/attribute/HashAttributeSet.java
6537 (containsKey): Fixed @return tag.
6538 (comtainsValue): Likewise.
6539 (equals): Likewise.
6540 * javax/print/attribute/IntegerSyntax.java
6541 (equals): Likewise.
6542 * javax/print/attribute/ResolutionSyntax.java
6543 (equals): Likewise.
6544 (getCrossFeedResolution): Removed unused code.
6545 (getFeedResolution): Likewise.
6546 * javax/print/attribute/SetOfIntegerSyntax.java
6547 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6548 (equals): Fixed @return tag.
6549 * javax/print/attribute/TextSyntax.java
6550 (TextSyntax): Take locale into account.
6551 (hashCode): Better implementation.
6552
65532004-05-15 Michael Koch <konqueror@gmx.de>
6554
6555 * javax/print/CancelablePrintJob.java,
6556 javax/print/Doc.java,
6557 javax/print/DocFlavor.java,
6558 javax/print/DocPrintJob.java,
6559 javax/print/FlavorException.java,
6560 javax/print/PrintException.java,
6561 javax/print/PrintService.java,
6562 javax/print/ServiceUIFactory.java: New files.
6563
f437e359
MW
65642004-05-15 Mark Wielaard <mark@klomp.org>
6565
6566 * gnu/regexp/CharIndexedReader.java: Removed.
6567 * gnu/regexp/REFilterReader.java: Likewise.
6568 * gnu/regexp/RETokenLookAhead.java: Likewise.
6569 * Makefile.am (ordinary_java_source_files): Remove above classes.
6570 * Makefile.in: Regenerated.
6571
ae0d0d59
TT
65722004-05-14 Tom Tromey <tromey@redhat.com>
6573
6574 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6575 not `XGraphicsConfiguration.XOffScreenImage'.
6576
1cd29ad2
SG
65772004-05-14 Scott Gilbertson <scottg@mantatest.com>
6578
6579 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6580
a01a235c
SA
65812004-05-14 Steven Augart <augart@watson.ibm.com>
6582
6583 * include/jni.h (_Jv_func): Removed.
6584 (struct JNINativeInterface): Use `void *' for reserved slots.
6585 (struct JNIInvokeInterface): Likewise.
6586
8f0b9daa
MK
65872004-05-11 Michael Koch <konqueror@gmx.de>
6588
6589 * gnu/java/net/natPlainSocketImplPosix.cc
6590 (read): Fixed typo in expression.
6591
3f68457e
AT
65922004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6593
6594 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6595 ld_library_additions. Adjust all calls to libjava_invoke to match
6596 the new argument.
6597
6598 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6599 path to cxxflagslist.
6600 Pass path of libstdc++ to libjava_invoke.
6601
6602 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6603 libjava_invoke arguments.
6604
731d47a6
RM
66052004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6606
6607 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6608 reality.
6609
8e31e128
RM
66102004-05-07 Ranjit Mathew <rmathew@gmail.com>
6611
6612 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6613 main binary against the JNI shared library.
6614
61af3d86
JQ
66152004-05-07 Jerry Quinn <jlquinn@optonline.net>
6616
6617 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6618 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6619 (SimpleTimeZone): Tweak docs. Add new variation.
6620 (setStartRule,setEndRule): Add new variations. Use
6621 startTimeMode and endTimeMode.
6622
66232004-05-07 Jerry Quinn <jlquinn@optonline.net>
6624
6625 * java/util/Calendar.java (getActualMinimum,
6626 getActualMaximum): Remove abstract. Implement.
6627
579f9640
BM
66282004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6629
6630 Run the jni tests using the interpreter.
6631 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6632 options_cxx to shared lib compile command.
6633 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6634 they are used to link the shared lib, not the main binary.
6635 Use libjava_invoke to run gij.
6636
0a215a11
MK
66372004-05-06 Michael Koch <konqueror@gmx.de>
6638
6639 * java/util/logging/Level.java
6640 (parse): Use == instead of String.equals().
6641
e51f7aeb
BM
66422004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6643
6644 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6645 verify_field_signature and verify_method_signature, not
6646 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6647 (_Jv_ClassReader::handleField): Likewise.
6648 (_Jv_ClassReader::handleMethod): Likewise.
6649
c8395524
MK
66502004-05-06 Michael Koch <konqueror@gmx.de>
6651
6652 * javax/swing/table/TableColumn.java:
6653 Reformated.
6654
c8b86f1a
MK
66552004-05-06 Michael Koch <konqueror@gmx.de>
6656
6657 * javax/imageio/spi/ImageReaderWriterSpi.java
6658 (ImageReaderWriterSpi): Made it public.
6659 * javax/imageio/stream/ImageInputStream.java:
6660 Clean up imports.
6661
9f2eefb7
MK
66622004-05-06 Michael Koch <konqueror@gmx.de>
6663
6664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6665 Removed empty line.
6666
45505d4d
MK
66672004-05-06 Michael Koch <konqueror@gmx.de>
6668
6669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6671 New files.
6672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6673 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6675 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6676 their own source file.
6677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6678 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6679 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6681 (create): Define variable on top of function.
6682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6683 (menu_pos): Prototyped.
6684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6685 (setTitle): Removed.
6686 * jni/gtk-peer/gthread-jni.c
6687 (gdk_threads_wake): Removed.
6688 * Makefile.am (gtk_c_source_files): Added new files
6689 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6690 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6691 * Makefile.in: Regenerated.
6692
74e94435
BM
66932004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6694
6695 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6696 call.
6697
68ea5833
MW
66982004-05-05 Mark Wielaard <mark@klomp.org>
6699
6700 * javax/swing/AbstractButton.java: Replace special HTML entities with
6701 ASCII equivalent.
6702 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6703 * javax/swing/DefaultButtonModel.java: Likewise.
6704 * javax/swing/DefaultListModel.java: Likewise.
6705 * javax/swing/JList.java: Likewise.
6706 * javax/swing/JSlider.java: Likewise.
6707 * javax/swing/ListModel.java: Likewise.
6708 * javax/swing/Popup.java: Likewise.
6709 * javax/swing/SwingUtilities.java: Likewise.
6710
880fa238
MK
67112004-05-05 Michael Koch <konqueror@gmx.de>
6712
6713 * javax/swing/AbstractButton.java,
6714 javax/swing/ActionMap.java,
6715 javax/swing/DefaultButtonModel.java,
6716 javax/swing/DefaultListModel.java,
6717 javax/swing/ImageIcon.java,
6718 javax/swing/JComboBox.java,
6719 javax/swing/JComponent.java,
6720 javax/swing/JFrame.java,
6721 javax/swing/JInternalFrame.java,
6722 javax/swing/JMenuBar.java,
6723 javax/swing/JMenuItem.java,
6724 javax/swing/JOptionPane.java,
6725 javax/swing/JProgressBar.java,
6726 javax/swing/JRootPane.java,
6727 javax/swing/JScrollBar.java,
6728 javax/swing/JScrollPane.java,
6729 javax/swing/JSeparator.java,
6730 javax/swing/JSlider.java,
6731 javax/swing/JTabbedPane.java,
6732 javax/swing/JTable.java,
6733 javax/swing/JTextField.java,
6734 javax/swing/JToolBar.java,
6735 javax/swing/JToolTip.java,
6736 javax/swing/JTree.java,
6737 javax/swing/JViewport.java,
6738 javax/swing/JWindow.java,
6739 javax/swing/KeyStroke.java,
6740 javax/swing/LookAndFeel.java,
6741 javax/swing/SwingUtilities.java,
6742 javax/swing/Timer.java,
6743 javax/swing/ToolTipManager.java,
6744 javax/swing/UIDefaults.java,
6745 javax/swing/border/TitledBorder.java,
6746 javax/swing/filechooser/FileSystemView.java,
6747 javax/swing/plaf/basic/BasicButtonListener.java,
6748 javax/swing/plaf/basic/BasicButtonUI.java,
6749 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6750 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6751 javax/swing/plaf/basic/BasicLabelUI.java,
6752 javax/swing/plaf/basic/BasicMenuItemUI.java,
6753 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6754 javax/swing/plaf/basic/BasicRootPaneUI.java,
6755 javax/swing/plaf/basic/BasicScrollBarUI.java,
6756 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6757 javax/swing/plaf/basic/BasicSliderUI.java,
6758 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6759 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6760 javax/swing/table/JTableHeader.java,
6761 javax/swing/text/AbstractDocument.java,
6762 javax/swing/text/DefaultCaret.java,
6763 javax/swing/text/StyledEditorKit.java,
6764 javax/swing/tree/DefaultTreeCellEditor.java:
6765 Cleaned up imports.
6766
4a93a226
MK
67672004-05-05 Michael Koch <konqueror@gmx.de>
6768
6769 * java/util/prefs/AbstractPreferences.java
6770 (AbstractPreferences): Added parenthesis for clarity.
6771 Closes classpath bug #7940.
6772
aaec686e
TT
67732004-05-05 Tom Tromey <tromey@redhat.com>
6774
6775 * javax/naming/CompoundName.java (endsWith): Look at correct
6776 element of source name.
6777
b1210ca2
MW
67782004-05-05 Mark Wielaard <mark@klomp.org>
6779
6780 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6781 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6782
a54f498a
TT
67832004-05-05 Tom Tromey <tromey@redhat.com>
6784
6785 * java/io/BufferedReader.java (skip): Removed unused
6786 variable.
6787
e8430418
MK
67882004-05-05 Michael Koch <konqueror@gmx.de>
6789
6790 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6791
f32c742c
DT
67922004-05-05 Dalibor Topic <robilad@kaffe.org>
6793
6794 * java/text/AttributedString.java,
6795 java/text/AttributedStringIterator.java,
6796 java/text/Collator.java,
6797 java/text/DecimalFormatSymbols.java,
6798 java/text/NumberFormat.java,
6799 java/text/RuleBasedCollator.java:
6800 Cleaned up imports.
6801
d70bd7ff
TT
68022004-05-05 Tom Tromey <tromey@redhat.com>
6803
6804 * java/text/Format.java: Cleaned up imports.
6805 * java/text/DecimalFormat.java: Cleaned up imports.
6806 * java/security/SecureRandom.java: Cleaned up imports.
6807 (SecureRandom): Removed unused variable.
6808 * java/security/UnresolvedPermission.java: Cleaned up imports.
6809 * java/util/Date.java (parse): Removed unused variable.
6810 * java/util/ResourceBundle.java: Cleaned up imports.
6811 (getBundle): Removed unused variable.
6812 (tryBundle): Likewise.
6813 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6814
2225a42a
GL
68152004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6816
6817 * java/text/SimpleDateFormat.java:
6818 (formatWithAttribute): New method. It implements
6819 the formatting process with attributes.
6820 (format): Use formatWithAttribute.
6821 (formatToCharacterIterator): New method. Use
6822 formatWithAttribute.
6823
1f646142
GL
68242004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6825
6826 * java/text/MessageFormat.java:
6827 (class Field): New class.
6828 (formatToCharacterIterator): New method.
6829 (format): Use formatInternal now.
6830 (formatInternal): New method. String formatter should
6831 be done here (with attributes). Attributes merging supported.
6832 (parse): More documentation.
6833 (getFormatsByArgumentIndex): New method.
6834 (setFormatByArgumentIndex): New method.
6835 (setFormatsByArgumentIndex): New method.
6836
8cf1edb3
GL
68372004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6838
6839 * java/text/DecimalFormat.java
6840 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6841 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6842 (parse): Fixed handling of exponentiation notation and grouping.
6843
68442004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6845
6846 * java/text/DecimalFormat.java
6847 (scanFix): Build attribute array. Fixed error reporting.
6848 (applyPatternWithSymbols): Store attributes for the prefix and
6849 suffix.
6850 (formatInternal): New method. Changed the way the string is
6851 computed. Implemented attributes. Cleant up rounding in
6852 exponential notation.
6853 (format): Use formatInternal.
6854 (formatToCharacterIterator): New method.
6855 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6856 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6857 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6858 New fields.
6859
aff9d141
DT
68602004-05-04 Dalibor Topic <robilad@kaffe.org>
6861
6862 * java/security/interfaces/DSAKeyPairGenerator.java,
6863 java/security/interfaces/DSAPrivateKey.java,
6864 java/security/interfaces/DSAPublicKey.java,
6865 java/security/interfaces/RSAPrivateKey.java,
6866 java/security/interfaces/RSAPublicKey.java:
6867 Cleaned up imports.
6868
933522fb
MK
68692004-05-04 Michael Koch <konqueror@gmx.de>
6870
6871 * java/nio/ByteBuffer.java,
6872 java/nio/CharBuffer.java,
6873 java/nio/DoubleBuffer.java,
6874 java/nio/FloatBuffer.java,
6875 java/nio/IntBuffer.java,
6876 java/nio/LongBuffer.java,
6877 java/nio/ShortBuffer.java:
6878 (compareTo): Fixed bogus implementation in all buffer classes.
6879
27c2c3ec
IP
68802004-05-04 Ingo Proetel <proetel@aicas.com>
6881
6882 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6883 32 bit pixels not 8 bit pixels.
6884 (isCompatibleRaster): Added javadoc comment.
6885
68862004-05-04 Ingo Proetel <proetel@aicas.com>
6887
6888 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6889 scanline stride.
6890
68912004-05-04 Ingo Proetel <proetel@aicas.com>
6892
6893 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6894 (getColorModel): Return the actual color model.
6895 (getRaster): Implemented.
6896 (ColorRaster): New inner class.
6897 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6898 a PaintContext.
6899 * java/awt/Color.java (<init>): Make exception more verbose.
6900 (createContext): Use ColorModel when creating a PaintContext.
6901
a31d9d6c
MK
69022004-05-04 Michael Koch <konqueror@gmx.de>
6903
6904 * gnu/java/text/CharacterBreakIterator.java
6905 (previous): Removed unused variable.
6906
065afdfa
GL
69072004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6908
6909 * gnu/java/text/FormatBuffer.java,
6910 gnu/java/text/AttributedFormatBuffer.java,
6911 gnu/java/text/StringFormatBuffer.java: New classes to implement
6912 attributed iterators in java.text.
6913 * gnu/java/text/FormatCharacterIterator.java: Moved
6914 from java/text as it is an internal class.
6915 * java/text/FormatCharacterIterator.java: Removed.
6916 * java/text/Format.java:
6917 Import gnu.java.text.FormatCharacterIterator.
6918 * Makefile.am (java_source_files): Added new files.
6919 * Makefile.in: Regenerated.
6920
6921
af62fd12
MW
69222004-05-04 Mark Wielaard <mark@klomp.org>
6923
53c87e49 6924 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 6925
a3c44036
AT
69262004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6927
6928 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6929 * Makefile.in: Rebuilt.
6930
007265b8
MW
69312004-05-03 Mark Wielaard <mark@klomp.org>
6932
6933 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6934 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6935 * java/net/URL.java
6936 (set(String, String, int, String, String, String, String, String)):
6937 Assign this.file to path or path + "?" + query.
6938 * java/util/Arrays.java: Call static methods staticly.
6939 * java/util/zip/ZipEntry.java: Likewise.
6940 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6941 dir to this.direction.
6942 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6943 Assign static field only once.
6944 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6945
a00d3b3c
MW
69462004-05-03 Mark Wielaard <mark@klomp.org>
6947
6948 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6949 unused variables hScrollbarHeight and vScrollbarWidth.
6950 (preferredSize): Likewise.
6951 * gnu/java/security/provider/DSAParameters.java (engineToString):
6952 Removed unused call to System.getProperty("line.seperator");
6953 * java/security/Security.java (loadProviders): Return result.
6954
7b68f0bf
TT
69552004-05-03 Tom Tromey <tromey@redhat.com>
6956
6957 * java/net/URLStreamHandler.java (toExternalForm): Removed
6958 unused variables.
6959 unused constructor.
6960 * java/math/BigDecimal.java (divide): Removed unused variable.
6961 * java/lang/Throwable.java: Cleaned up imports.
6962 * java/lang/ClassLoader.java: Cleaned up imports.
6963 * java/io/FilePermission.java (implies): Removed unused
6964 variable.
6965 * java/awt/TextComponent.java: Removed unused import.
6966 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6967 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6968 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6969 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6970 import.
6971 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6972 * gnu/java/text/CharacterBreakIterator.java: Removed
6973 unused import.
6974 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6975 Cleaned up imports.
6976 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6977 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6978 unused method.
6979 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6980 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6981 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6982 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6983 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6984 (lookupProviders): Removed unused variable.
6985 (loadNextServiceProvider): Likewise.
6986 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
6987
493b3c9c
MK
69882004-05-03 Michael Koch <konqueror@gmx.de>
6989
6990 Fixes PR libgcj/14695:
6991 * java/net/NetworkInterface.java
6992 (getByName): Return null when no interface was found.
6993
55ce9c52
RM
69942004-04-30 Ranjit Mathew <rmathew@hotmail.com>
6995 Tom Tromey <tromey@redhat.com>
6996
6997 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
6998 additional option "-Wmissing-prototypes" for compiling C sources.
6999 Print actual filename for pass/fail rather than $name.c.
7000 * testsuite/libjava.jni/PR15133.java: New testcase file.
7001 * testsuite/libjava.jni/PR15133.c: Likewise.
7002 * testsuite/libjava.jni/PR15133.out: Likewise.
7003
2d99c042
RS
70042004-04-30 Roger Sayle <roger@eyesopen.com>
7005
7006 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7007 ceil and floor.
7008
c1fcbbc3
RM
70092004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7010
7011 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7012 limit the maximum heap size to avoid unnecessary thrashing.
7013
6f0b1fa5
JQ
70142004-04-24 Jerry Quinn <jlquinn@optonline.net>
7015
7016 * java/text/CollationElementIterator.java (reset): Reset
7017 lookahead variables.
7018
99a88816
MW
70192004-04-23 Mark Wielaard <mark@klomp.org>
7020
7021 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7022
b4e7ef8d
DT
70232004-04-23 Dalibor Topic <robilad@kaffe.org>
7024
7025 * java/sql/DriverManager.java:
7026 Cleaned up imports.
7027
e9d34968
MK
70282004-04-23 Michael Koch <konqueror@gmx.de>
7029
7030 * java/net/URL.java
7031 (hashcode): Don't initialize with default value explicitely.
7032 (getContent): Removed redundant "final" keyword.
7033 (openStream): Likewise.
7034 (getURLStreamHandler): Fixed coding style.
7035 * java/net/URLConnection.java
7036 (defaultAllowUserInteraction): Don't initialize with default value
7037 explicitely.
7038 (connected): Likewise.
7039 (doOutput): Likewise.
7040 (ifModifiedSince): Likewise.
7041 (dateformats_initialized): Likewise.
7042 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7043
87939d70
MK
70442004-04-23 Michael Koch <konqueror@gmx.de>
7045
7046 * gnu/java/nio/channels/FileChannelImpl.java
7047 (SET, CUR): Unused, removed.
7048 (read): Implement here directly.
7049 (implRead): Removed.
7050 (write): Implement here directly.
7051 (implWrite): Removed.
7052
5d837a58
DT
70532004-04-23 Dalibor Topic <robilad@kaffe.org>
7054
7055 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7056 javax/rmi/CORBA/Stub.java,
7057 javax/rmi/CORBA/Util.java,
7058 javax/rmi/CORBA/ValueHandler.java,
7059 javax/rmi/CORBA/ValueHandler.java,
7060 javax/rmi/PortableRemoteObject.java:
7061 Cleaned up imports.
7062
ace7ed7c
DT
70632004-04-23 Dalibor Topic <robilad@kaffe.org>
7064
7065 * java/util/jar/JarFile.java,
7066 java/util/jar/JarInputStream.java,
7067 java/util/jar/JarOutputStream.java,
7068 java/util/jar/Manifest.java:
7069 Cleaned up imports.
7070
70712004-04-23 Dalibor Topic <robilad@kaffe.org>
7072
7073 * java/util/ArrayList.java,
7074 java/util/Calendar.java,
7075 java/util/Currency.java,
7076 java/util/HashMap.java,
7077 java/util/HashSet.java,
7078 java/util/Hashtable.java,
7079 java/util/LinkedList.java,
7080 java/util/Properties.java,
7081 java/util/PropertyPermission.java,
7082 java/util/TimeZone.java,
7083 java/util/TreeMap.java,
7084 java/util/TreeSet.java,
7085 java/util/Vector.java,
7086 java/util/WeakHashMap.java:
7087 Cleaned up imports.
7088
70892004-04-23 Dalibor Topic <robilad@kaffe.org>
7090
7091 * java/util/logging/FileHandler.java,
7092 java/util/logging/Formatter.java,
7093 java/util/logging/Handler.java,
7094 java/util/logging/Logger.java,
7095 java/util/logging/SimpleFormatter.java,
7096 java/util/logging/XMLFormatter.java:
7097 Cleaned up imports.
7098
ae522139
MW
70992004-04-22 Mark Wielaard <mark@klomp.org>
7100
7101 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7102 -Wno-long-long flags variable.
7103 (gtk_c_files): Use PEDANTIC_CFLAGS.
7104 * Makefile.in: Regenerated.
7105
838a4849
MK
71062004-04-22 Mark Wielaard <mark@klomp.org>
7107
7108 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7109 Changed C++ comments into C comments.
7110 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7111 Likewise.
7112
71132004-04-22 Michael Koch <konqueror@gmx.de>
7114
7115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7116 Merged copyright year with GNU classpath.
7117
fe2235d1
DT
71182004-04-22 Dalibor Topic <robilad@kaffe.org>
7119
7120 * javax/security/auth/x500/X500Principal.java:
7121 Cleaned up imports.
7122
b7db3d0a
DT
71232004-04-22 Dalibor Topic <robilad@kaffe.org>
7124
7125 * javax/swing/JSlider.java:
7126 Fixed HTML tags in comments.
7127
32bfc773
DT
71282004-04-22 Dalibor Topic <robilad@kaffe.org>
7129
7130 * javax/accessibility/AccessibleText.java:
7131 Cleaned up imports.
7132
e930d01a
MK
71332004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7134
7135 * java/net/URLStreamHandler.java
7136 (parseURL): Convert the file path to using '/' instead of native
7137 file separator.
7138
71392004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7140
7141 * java/net/URL.java
7142 (userInfo): New field.
7143 (URL): Set authority to the right value.
7144 (setURL): Fixed authority and file initialization.
7145 * java/net/URLStreamHandler.java
7146 (parseURL): Take care of the query tag. Build authority.
7147 (toExternalForm): Fixed URL building using authority.
7148
5d79367d
MK
71492004-04-22 Michael Koch <konqueror@gmx.de>
7150
7151 * java/net/Socket.java
7152 (impl): Made package-private.
7153 * java/net/ServerSocket.java
7154 (implAccept): Access Socket.impl field directly.
7155
c0dce235
DT
71562004-04-22 Dalibor Topic <robilad@kaffe.org>
7157
7158 * java/util/prefs/Preferences.java,
7159 java/util/prefs/InvalidPreferencesFormatException.java,
7160 java/util/prefs/BackingStoreException.java,
7161 java/util/prefs/AbstractPreferences.java:
7162 Cleaned up imports.
7163
71642004-04-22 Dalibor Topic <robilad@kaffe.org>
7165
7166 * java/util/regex/Matcher.java,
7167 java/util/regex/Pattern.java:
7168 Cleaned up imports.
7169
5c09d725
MK
71702004-04-22 Michael Koch <konqueror@gmx.de>
7171
7172 * java/nio/charset/IllegalCharsetNameException.java
7173 (charsetName): Made private.
7174 (IllegalCharsetNameException): Added @param tag to javadoc.
7175 (getCharsetName): Added @return tag to javadoc.
7176 * java/nio/charset/MalformedInputException.java
7177 (MalformedInputException): Added @param tag to javadoc.
7178 (getInputLength): Revised method description, added @return tag.
7179 (getMessage): Added @return tag.
7180
83ef3f2b
JQ
71812004-04-22 Jerry Quinn <jlquinn@optonline.net>
7182
7183 * java/awt/Font.java (deriveFont): Implement missing variants.
7184 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7185 missing variants.
7186
746ecc78
BM
71872004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7188
7189 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7190 Set method->index values for interface methods to their itable index.
7191 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7192
86a80fc3
MK
71932004-04-21 Michael Koch <konqueror@gmx.de>
7194
7195 * java/nio/DirectByteBufferImpl.java
7196 (shiftDown): Made static, give address as argument and
7197 provide a convenience method that overwrites shiftDown in
7198 ByteBufferImpl and calls the native shiftDown.
7199 * java/nio/MappedByteBufferImpl.java
7200 (): Use optimized method in DirectByteBufferImpl.
7201 * java/nio/natDirectByteBufferImpl.cc
7202 (shiftDown): Changed method signature. Removed usage of array_offset.
7203
6e90ed19
MK
72042004-04-21 Michael Koch <konqueror@gmx.de>
7205
7206 * gnu/java/net/natPlainSocketImplPosix.cc
7207 (SocketInputStream::read): Make sure returned data is a byte value.
7208
96d22b12
MK
72092004-04-21 Michael Koch <konqueror@gmx.de>
7210
7211 * gnu/classpath/ServiceFactory.java,
7212 gnu/classpath/ServiceProviderLoadingAction.java,
7213 javax/imageio/ImageReader.java,
7214 javax/imageio/ImageTranscoder.java,
7215 javax/imageio/ImageWriter.java,
7216 javax/imageio/package.html,
7217 javax/imageio/spi/IIOServiceProvider.java,
7218 javax/imageio/spi/ImageInputStreamSpi.java,
7219 javax/imageio/spi/ImageOutputStreamSpi.java,
7220 javax/imageio/spi/ImageReaderWriterSpi.java,
7221 javax/imageio/spi/ImageTranscoderSpi.java,
7222 javax/imageio/spi/RegisterableService.java,
7223 javax/imageio/spi/ServiceRegistry.java,
7224 javax/imageio/spi/package.html,
7225 javax/imageio/stream/IIOByteBuffer.java,
7226 javax/imageio/stream/ImageInputStream.java,
7227 javax/imageio/stream/ImageOutputStream.java,
7228 javax/imageio/stream/package.html:
7229 New files.
7230 * Makefile.am
7231 (ordinary_java_source_files): Added
7232 gnu/classpath/ServiceFactory.java and
7233 gnu/classpath/ServiceProviderLoadingAction.java.
7234 (javax_source_files): Added
7235 javax/imageio/ImageReader.java,
7236 javax/imageio/ImageTranscoder.java,
7237 javax/imageio/ImageWriter.java,
7238 javax/imageio/spi/IIOServiceProvider.java,
7239 javax/imageio/spi/ImageInputStreamSpi.java,
7240 javax/imageio/spi/ImageOutputStreamSpi.java,
7241 javax/imageio/spi/ImageReaderWriterSpi.java,
7242 javax/imageio/spi/ImageTranscoderSpi.java,
7243 javax/imageio/spi/RegisterableService.java,
7244 javax/imageio/spi/ServiceRegistry.java,
7245 javax/imageio/stream/IIOByteBuffer.java,
7246 javax/imageio/stream/ImageInputStream.java and
7247 javax/imageio/stream/ImageOutputStream.java.
7248 * Makefile.in: Regenerated.
7249
ca17d211
MK
72502004-04-21 Michael Koch <konqueror@gmx.de>
7251
7252 * java/util/Properties.java
7253 (load): Fix wrongly merged fix.
7254
60e957d0
MW
72552004-04-21 Mark Wielaard <mark@klomp.org>
7256
7257 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7258 malloc and free buf.
7259
27dd18cf
DT
72602004-04-21 Dalibor Topic <robilad@kaffe.org>
7261
7262 * javax/naming/AuthenticationException.java,
7263 javax/naming/AuthenticationNotSupportedException.java,
7264 javax/naming/CannotProceedException.java,
7265 javax/naming/CommunicationException.java,
7266 javax/naming/CompoundName.java,
7267 javax/naming/ConfigurationException.java,
7268 javax/naming/ContextNotEmptyException.java,
7269 javax/naming/InitialContext.java,
7270 javax/naming/InsufficientResourcesException.java,
7271 javax/naming/InterruptedNamingException.java,
7272 javax/naming/LimitExceededException.java,
7273 javax/naming/LinkException.java,
7274 javax/naming/LinkLoopException.java,
7275 javax/naming/LinkRef.java,
7276 javax/naming/MalformedLinkException.java,
7277 javax/naming/Name.java,
7278 javax/naming/NameAlreadyBoundException.java,
7279 javax/naming/NameNotFoundException.java,
7280 javax/naming/NamingSecurityException.java,
7281 javax/naming/NoInitialContextException.java,
7282 javax/naming/NoPermissionException.java,
7283 javax/naming/NotContextException.java,
7284 javax/naming/PartialResultException.java,
7285 javax/naming/ReferralException.java,
7286 javax/naming/ServiceUnavailableException.java,
7287 javax/naming/SizeLimitExceededException.java,
7288 javax/naming/TimeLimitExceededException.java,
7289 javax/naming/directory/Attribute.java,
7290 javax/naming/directory/Attributes.java,
7291 javax/naming/directory/SearchResult.java,
7292 javax/naming/event/NamingExceptionEvent.java,
7293 javax/naming/spi/ResolveResult.java:
7294 Cleaned up imports.
7295
2635995a
MW
72962004-04-21 Mark Wielaard <mark@klomp.org>
7297
7298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7299 Changed C++ comments into C comments. Removed commented out code.
7300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7301 Likewise.
7302 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7303 Likewise.
7304 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7305 Likewise.
7306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7307 Likewise.
7308 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7309 Likewise.
7310 * native/jni/gtk-peer/gthread-jni.c:
7311 Likewise.
7312
1c3d6bb2
MW
73132004-04-21 Mark Wielaard <mark@klomp.org>
7314
7315 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7316 static fields defined in interface.
7317 * javax/awt/JDialog.java: Likewise.
7318 (JDialog): Make constructors public.
7319 (getDefaultCloseOperation): Make public.
7320 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7321 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7322 * javax/swing/JViewport.java (JViewport): Make constructor public.
7323
387fa012
MK
73242004-04-21 Michael Koch <konqueror@gmx.de>
7325
7326 * java/util/Map.java
7327 (Entry): Removed redundant "static" modifier.
7328 * java/text/AttributedCharacterIterator.java:
7329 Updated copyright year.
7330
bf9f06ae
MK
73312004-04-20 Michael Koch <konqueror@gmx.de>
7332
7333 * javax/naming/directory/SearchControls.java:
7334 Don't explicitely extend java.lang.Object.
7335 * javax/naming/spi/DirStateFactory.java:
7336 Merged copyright year with GNU classpath.
7337
8a6c1d29
MK
73382004-04-20 Michael Koch <konqueror@gmx.de>
7339
7340 * java/nio/channels/Channels.java:
7341 Merged coding style with GNU classpath.
7342
f5874634
MK
73432004-04-20 Michael Koch <konqueror@gmx.de>
7344
7345 * java/net/ServerSocket.java
7346 Merged coding style from GNU classpath.
7347
90cb5151
MK
73482004-04-20 Michael Koch <konqueror@gmx.de>
7349
7350 * java/io/BufferedWriter.java:
7351 Reordered variables to be at top of the class.
7352 (localFlush): Removed redundant final keyword.
7353
5ede96a4
IP
73542004-04-20 Ingo Proetel <proetel@aicas.com>
7355
7356 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7357
391d8ef5
MK
73582004-04-20 Jeroen Frijters <jeroen@frijters.net>
7359
7360 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7361 for percent and permill check.
7362
73632004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7364
7365 * java/text/FieldPosition.java
7366 (FieldPosition) Constructor now behaves as it should according
7367 to the java documentation.
7368
73692004-04-20 Mark Wielaard <mark@klomp.org>
7370
7371 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7372 documentation.
7373
92e1fe67
MK
73742004-04-20 Michael Koch <konqueror@gmx.de>
7375
7376 * java/nio/Buffer.java,
7377 java/nio/channels/AlreadyConnectedException.java,
7378 java/nio/channels/AsynchronousCloseException.java,
7379 java/nio/channels/ByteChannel.java,
7380 java/nio/channels/CancelledKeyException.java,
7381 java/nio/channels/Channel.java,
7382 java/nio/channels/Channels.java,
7383 java/nio/channels/ClosedByInterruptException.java,
7384 java/nio/channels/ClosedChannelException.java,
7385 java/nio/channels/ClosedSelectorException.java,
7386 java/nio/channels/ConnectionPendingException.java,
7387 java/nio/channels/DatagramChannel.java,
7388 java/nio/channels/FileChannel.java,
7389 java/nio/channels/FileLock.java,
7390 java/nio/channels/FileLockInterruptionException.java,
7391 java/nio/channels/GatheringByteChannel.java,
7392 java/nio/channels/IllegalBlockingModeException.java,
7393 java/nio/channels/IllegalSelectorException.java,
7394 java/nio/channels/InterruptibleChannel.java,
7395 java/nio/channels/NoConnectionPendingException.java,
7396 java/nio/channels/NonReadableChannelException.java,
7397 java/nio/channels/NonWritableChannelException.java,
7398 java/nio/channels/NotYetBoundException.java,
7399 java/nio/channels/NotYetConnectedException.java,
7400 java/nio/channels/OverlappingFileLockException.java,
7401 java/nio/channels/Pipe.java,
7402 java/nio/channels/ReadableByteChannel.java,
7403 java/nio/channels/ScatteringByteChannel.java,
7404 java/nio/channels/SelectableChannel.java,
7405 java/nio/channels/SelectionKey.java,
7406 java/nio/channels/Selector.java,
7407 java/nio/channels/ServerSocketChannel.java,
7408 java/nio/channels/SocketChannel.java,
7409 java/nio/channels/UnresolvedAddressException.java,
7410 java/nio/channels/UnsupportedAddressTypeException.java,
7411 java/nio/channels/WritableByteChannel.java,
7412 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7413 java/nio/channels/spi/AbstractSelectableChannel.java,
7414 java/nio/channels/spi/AbstractSelectionKey.java,
7415 java/nio/channels/spi/AbstractSelector.java,
7416 java/nio/channels/spi/SelectorProvider.java,
7417 java/nio/charset/spi/CharsetProvider.java:
7418 Fixed javadocs and jalopied all over java.nio.
7419
08c5d757
MK
74202004-04-20 Michael Koch <konqueror@gmx.de>
7421
7422 * java/nio/ByteBufferImpl.java,
7423 java/nio/CharBufferImpl.java,
7424 java/nio/DirectByteBufferImpl.java,
7425 java/nio/DoubleBufferImpl.java,
7426 java/nio/DoubleViewBufferImpl.java,
7427 java/nio/FloatBufferImpl.java,
7428 java/nio/FloatViewBufferImpl.java,
7429 java/nio/IntBufferImpl.java,
7430 java/nio/IntViewBufferImpl.java,
7431 java/nio/LongBufferImpl.java,
7432 java/nio/LongViewBufferImpl.java,
7433 java/nio/MappedByteBufferImpl.java,
7434 java/nio/ShortBufferImpl.java,
7435 java/nio/ShortViewBufferImpl.java:
7436 Made sure all classes are final and removed final keyword from all
7437 methods.
7438
a17c9f2e
MK
74392004-04-20 Michael Koch <konqueror@gmx.de>
7440
7441 * java/rmi/MarshalledObject.java,
7442 java/rmi/Naming.java,
7443 java/rmi/RemoteException.java,
7444 java/rmi/activation/ActivationException.java,
7445 java/rmi/server/ServerCloneException.java,
7446 java/security/AccessController.java,
7447 java/security/AlgorithmParameterGenerator.java,
7448 java/security/AlgorithmParameters.java,
7449 java/security/CodeSource.java,
7450 java/security/Identity.java,
7451 java/security/IdentityScope.java,
7452 java/security/KeyPairGenerator.java,
7453 java/security/KeyStore.java,
7454 java/security/Security.java,
7455 java/security/Signature.java,
7456 java/security/SignatureSpi.java,
7457 java/security/SignedObject.java,
7458 java/security/spec/DSAParameterSpec.java,
7459 java/security/spec/DSAPrivateKeySpec.java,
7460 java/security/spec/DSAPublicKeySpec.java,
7461 java/sql/Array.java,
7462 java/sql/DatabaseMetaData.java,
7463 java/sql/ResultSet.java,
7464 java/text/ChoiceFormat.java,
7465 java/text/CollationElementIterator.java,
7466 java/text/CollationKey.java,
7467 java/text/Collator.java,
7468 java/text/DateFormat.java,
7469 java/text/DateFormatSymbols.java,
7470 java/text/DecimalFormatSymbols.java,
7471 java/text/Format.java,
7472 java/text/ParsePosition.java,
7473 java/text/RuleBasedCollator.java,
7474 java/text/SimpleDateFormat.java,
7475 java/text/StringCharacterIterator.java,
7476 java/util/Collections.java,
7477 java/util/PropertyResourceBundle.java,
7478 java/util/ResourceBundle.java,
7479 java/util/StringTokenizer.java,
7480 java/util/jar/Attributes.java,
7481 java/util/logging/ConsoleHandler.java,
7482 java/util/logging/LogManager.java,
7483 java/util/logging/MemoryHandler.java,
7484 java/util/logging/SocketHandler.java,
7485 javax/naming/NamingException.java:
7486 Fixed javadoc, coding style and argument names all over.
7487
0fc920c8
MK
74882004-04-20 Jeroen Frijters <jeroen@frijters.net>
7489
7490 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7491 constructor. (valid) Added null check.
7492
74932004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7494
7495 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7496 * java/io/FileOutputStream.java
7497 (FileOutputStream) Reorganized constructors. Constructors now
7498 check whether the given path is directory.
7499
f6d49f66
MK
75002004-04-20 Michael Koch <konqueror@gmx.de>
7501
7502 * java/net/Authenticator.java,
7503 java/net/BindException.java,
7504 java/net/ConnectException.java,
7505 java/net/ContentHandler.java,
7506 java/net/ContentHandlerFactory.java,
7507 java/net/DatagramPacket.java,
7508 java/net/DatagramSocket.java,
7509 java/net/DatagramSocketImpl.java,
7510 java/net/DatagramSocketImplFactory.java,
7511 java/net/FileNameMap.java,
7512 java/net/HttpURLConnection.java,
7513 java/net/Inet4Address.java,
7514 java/net/Inet6Address.java,
7515 java/net/InetAddress.java,
7516 java/net/InetSocketAddress.java,
7517 java/net/JarURLConnection.java,
7518 java/net/MalformedURLException.java,
7519 java/net/MulticastSocket.java,
7520 java/net/NetPermission.java,
7521 java/net/NetworkInterface.java,
7522 java/net/NoRouteToHostException.java,
7523 java/net/PasswordAuthentication.java,
7524 java/net/PortUnreachableException.java,
7525 java/net/ProtocolException.java,
7526 java/net/ServerSocket.java,
7527 java/net/Socket.java,
7528 java/net/SocketAddress.java,
7529 java/net/SocketException.java,
7530 java/net/SocketImpl.java,
7531 java/net/SocketImplFactory.java,
7532 java/net/SocketOptions.java,
7533 java/net/SocketPermission.java,
7534 java/net/SocketTimeoutException.java,
7535 java/net/URI.java,
7536 java/net/URISyntaxException.java,
7537 java/net/URL.java,
7538 java/net/URLClassLoader.java,
7539 java/net/URLConnection.java,
7540 java/net/URLDecoder.java,
7541 java/net/URLEncoder.java,
7542 java/net/URLStreamHandler.java,
7543 java/net/URLStreamHandlerFactory.java,
7544 java/net/UnknownHostException.java,
7545 java/net/UnknownServiceException.java:
7546 Fixed javadocs, coding style and argument names all over.
7547
cf6f7d55
MK
75482004-04-20 Michael Koch <konqueror@gmx.de>
7549
7550 * java/lang/Byte.java,
7551 java/lang/CharSequence.java,
7552 java/lang/ClassLoader.java,
7553 java/lang/Compiler.java,
7554 java/lang/Double.java,
7555 java/lang/Float.java,
7556 java/lang/Integer.java,
7557 java/lang/Long.java,
7558 java/lang/Math.java,
7559 java/lang/Number.java,
7560 java/lang/Package.java,
7561 java/lang/Runtime.java,
7562 java/lang/RuntimePermission.java,
7563 java/lang/SecurityManager.java,
7564 java/lang/Short.java,
7565 java/lang/StringBuffer.java,
7566 java/lang/System.java,
7567 java/lang/ThreadGroup.java,
7568 java/lang/Throwable.java,
7569 java/lang/reflect/InvocationHandler.java,
7570 java/lang/reflect/Proxy.java:
7571 Fixed javadocs, coding style and argument names all over.
7572
9f714d5e
MK
75732004-04-20 Michael Koch <konqueror@gmx.de>
7574
7575 * java/io/BufferedWriter.java,
7576 java/io/ByteArrayInputStream.java,
7577 java/io/CharArrayWriter.java,
7578 java/io/DataInput.java,
7579 java/io/DataInputStream.java,
7580 java/io/File.java,
7581 java/io/FilterInputStream.java,
7582 java/io/InputStream.java,
7583 java/io/InputStreamReader.java,
7584 java/io/ObjectInputStream.java,
7585 java/io/ObjectStreamClass.java,
7586 java/io/PipedInputStream.java,
7587 java/io/PipedReader.java,
7588 java/io/PushbackInputStream.java,
7589 java/io/PushbackReader.java,
7590 java/io/RandomAccessFile.java,
7591 java/io/SerializablePermission.java,
7592 java/io/StreamTokenizer.java,
7593 java/io/StringWriter.java,
7594 java/io/WriteAbortedException.java,
7595 java/io/Writer.java:
7596 Fixed javadocs all over, rename arguments to match javadocs,
7597 fixed coding style.
7598
23f0ecff
MK
75992004-04-20 Ingo Proetel <proetel@aicas.com>
7600
7601 * java/awt/FontMetrics.java:
7602 (charsWidth): fixed accumulation of total_width
7603 (getWidth): simple default implementation
7604 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7605 in Rectangle constructor.
7606 * java/awt/image/Raster.java (toString): Added method.
7607 * java/awt/image/SampleModel.java (<init>): Added error cause
7608 information to thrown exception.
7609 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7610 New method.
7611 (setDataElements): New method.
7612 (setPixels): New method.
7613 (toString): New method.
7614
76152004-04-20 Sascha Brawer <brawer@dandelis.ch>
7616
7617 * java/awt/image/ComponentColorModel.java
7618 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7619 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7620 Mauve tests on this method. Improved documentation.
7621
2c4d54e6
MK
76222004-04-20 Michael Koch <konqueror@gmx.de>
7623
7624 * javax/swing/JLayeredPane.java,
7625 javax/swing/plaf/BorderUIResource.java,
7626 javax/swing/plaf/ComponentUI.java,
7627 javax/swing/undo/CompoundEdit.java,
7628 javax/swing/undo/StateEdit.java:
7629 Fixed HTML tags in javadocs all over.
7630
5589f3e5
MK
76312004-04-20 Michael Koch <konqueror@gmx.de>
7632
7633 * javax/print/attribute/EnumSyntax.java
7634 (getOffset): Made protected.
7635 * javax/print/attribute/HashAttributeSet.java
7636 (HashAttributeSet): Likewise.
7637 * javax/print/attribute/ResolutionSyntax.java
7638 (getFeedResolution): Fixed typo in exception name.
7639 (getCrossFeedResolution): Likewise.
7640 * javax/print/attribute/SetOfIntegerSyntax.java
7641 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7642 * javax/print/attribute/TextSyntax.java
7643 (TextSyntax): Handle locale correctly.
7644 (hashCode): Calc better hashcode value.
7645 (equals): Fixed @return tag.
7646 (toString): New method.
7647
0150fc22
MK
76482004-04-20 Michael Koch <konqueror@gmx.de>
7649
7650 * gnu/java/nio/FileLockImpl.java
7651 (static): Removed, not needed anymore.
7652 * gnu/java/nio/channels/FileChannelImpl.java
7653 (FileChannelImpl): Made final.
7654 (mode): Made private.
7655 (READ, WRITE, APPEND): Made public.
7656 (EXCL, SYNC, DSYNC): Likewise.
7657 (static): Load native JNI library, when needed.
7658 (length): Unused, removed.
7659 (available): Made public.
7660 (implPosition): Throws IOException.
7661 (seek): Likewise.
7662 (implTruncate): Likewise.
7663 (unlock): Likewise.
7664 (lock): Likewise.
7665
7431acbe
MK
76662004-04-20 Michael Koch <konqueror@gmx.de>
7667
7668 * java/awt/AWTPermission.java,
7669 java/awt/Component.java,
7670 java/awt/ComponentOrientation.java,,
7671 java/awt/Dialog.java,
7672 java/awt/FontMetrics.java,
7673 java/awt/Graphics.java,
7674 java/awt/datatransfer/DataFlavor.java,
7675 java/beans/Introspector.java,
7676 java/beans/PropertyEditor.java,
7677 java/beans/PropertyEditorManager.java,
7678 java/beans/beancontext/BeanContextServiceProvider.java:
7679 Fixed HTML tags in javadocs all over.
7680
7f6f517f
MW
76812004-04-20 Mark Wielaard <mark@klomp.org>
7682
7683 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7684 MissingResourceException is thrown.
7685 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7686 null when a MissingResourceException is thrown. Should never happen.
7687
8ecb0346
MK
76882004-04-20 Sascha Brawer <brawer@dandelis.ch>
7689
7690 * java/awt/image/DataBufferShort.java,
7691 java/awt/image/DataBufferFloat.java,
7692 java/awt/image/DataBufferDouble.java,
7693 java/awt/image/PixelInterleavedSampleModel.java: New files.
7694 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7695 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7696
76972004-04-20 Michael Koch <konqueror@gmx.de>
7698
7699 * Makefile.am (java_source_files): Added
7700 java/awt/image/DataBufferDouble.java,
7701 java/awt/image/DataBufferFloat.java,
7702 java/awt/image/DataBufferShort.java and
7703 java/awt/image/PixelInterleavedSampleModel.java.
7704 * Makefile.in: Regenerated.
7705
f5310108
BM
77062004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7707
7708 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7709 undocumented CNI calls.
7710 * include/java-interp.h (_Jv_InterpClass): No longer
7711 extends java.lang.Class.
7712 * java/lang/Class.h (Class): Add new field `aux_info'.
7713 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7714 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7715 Use Class->aux_info instead.
7716 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7717 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7718 Use Class->aux_info instead.
7719 * java/io/natObjectInputStream.cc (allocateObject): Use
7720 _Jv_AllocObject.
7721 * java/lang/natClass.cc (newInstance): Likewise.
7722 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7723 * java/lang/natObject.cc (clone): Likewise.
7724 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7725 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7726 JvAllocObject. Allocate klass->aux_info here for interpreted
7727 class.
7728
afd7c0dc
MW
77292004-04-17 Mark Wielaard <mark@klomp.org>
7730
7731 * javax/swing/JToggleButton.java (ToggleButtonModel):
7732 Make public static inner class.
7733 * javax/swing/JTabbedPane.java (setComponentAt):
7734 Call Page.setComponent().
7735 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7736 (WRAP_TAB_LAYOUT): Make public, value is 0.
7737 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7738 Make private static inner class.
7739
bf7ad402
BM
77402004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7741
7742 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7743 arguments to match new signature. Remove FIXME comments.
7744
31e632d3
GH
77452004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7746
7747 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7748 Remove method.
7749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7750 unused code.
7751
77522004-04-02 Olga Rodimina <rodimina@redhat.com>
7753
7754 * Makefile.am: Added new file.
7755 * Makefile.in: Regenerate.
7756 * javax/swing/ImageIcon.java:
7757 (ImageIcon(file)): set description of the icon
7758 to the file name
7759 * javax/swing/JCheckBoxMenuItem.java:
7760 Mostly Implemented. Work in progress.
7761 * javax/swing/JRadioButtonMenuItem.java:
7762 Reimplement constructors to use JToggleButtonModel.
7763 * javax/swing/plaf/basic/BasicIconFactory.java:
7764 (getCheckBoxMenuItemIcon): return check box
7765 icon.
7766 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7767 paint menu item selected only when it is armed and
7768 pressed.
7769
77702004-04-02 David Jee <djee@redhat.com>
7771
7772 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7773 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7774 * java/awt/Component.java
7775 (add): Set the parent of the popup as this component.
7776 * java/awt/PopupMenu.java
7777 (addNotify): Create popup menu when peer is null.
7778 (show): Call addNotify() if peer is null.
7779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7780 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7781 argument for gtk_menu_popup() as zero. This causes the popup menu to
7782 respond to any mouse button.
7783
77842004-03-31 Olga Rodimina <rodimina@redhat.com>
7785
7786 * Makefile.am: Added new file.
7787 * Makefile.in: Regenerate.
7788 * javax/swing/JRadioButtonMenuItem.java:
7789 Implemented.
7790 * javax/swing/plaf/basic/BasicIconFactory.java:
7791 (getRadioButtonMenuItemIcon): Return
7792 radio button icon.
7793 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7794 (getPreferredSize): Add size of checkIcon if it
7795 exists.
7796 (installDefaults): Don't initialize checkIcon.
7797 It's value will be set in subclasses.
7798 (uninstallDefaults): remove uninstallation of
7799 checkIcon.
7800 (paint): Moved code to paintMenuItem().
7801 (paintMenuItem): Implemented.
7802 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7803 UI delegate for JRadioButtonMenuItem.
7804
78052004-03-29 Olga Rodimina <rodimina@redhat.com>
7806
7807 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7808 Corrected position of the accelerator.
7809
78102004-03-29 Olga Rodimina <rodimina@redhat.com>
7811
7812 * Makefile.am: Added new file.
7813 * Makefile.in: Regenerate.
7814 * javax/swing/JMenuItem.java: Partly
7815 implemented. Work in progress
7816 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7817 Changed default value of acceleratorDelimiter.
7818 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7819 New class. Partly implemented.
7820
78212004-03-26 Mark Wielaard <mark@klomp.org>
7822
7823 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7824 (item_activate): Declare label before use.
7825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7826 (gtkSetFont): Removed unused variable label.
7827 (addExposeFilter): Declare variables before use.
7828 (removeExposeFilter): Likewise.
7829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7830 (ok_clicked): Declare str_fileName before use.
7831
78322004-03-26 David Jee <djee@redhat.com>
7833
7834 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7835 (addSeparator): Remove.
7836 * java/awt/Menu.java
7837 (separator): Remove static final MenuItem field.
7838 (separatorLabel): New static final String field.
7839 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7840 Use separatorLabel to denote that it is a separator.
7841 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7842 of reusing the static separator instance, because a MenuItem instance
7843 can't be added more than once without being cloned.
7844 * java/awt/peer/MenuPeer.java
7845 (addSeparator): Remove from interface.
7846
78472004-03-26 David Jee <djee@redhat.com>
7848
7849 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7850 (connectSignals): New native method declaration.
7851 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7852 * java/awt/MenuItem.java
7853 (getActionCommand): Return the label if the action command is not set.
7854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7855 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7856 gtk_menu_shell_append().
7857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7858 (item_activate): Fix argument type.
7859 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7860 signal here.
7861 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7862 method.
7863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7864 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7865 given. Add the menu widget's top-level GtkWindow to the global window
7866 group, so it can grab the pointer.
7867 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7868 gtk_menu_shell_append().
7869
78702004-03-23 Graydon Hoare <graydon@redhat.com>
7871
7872 * java/text/AttributedString.java
7873 (addAttribute): Fix off-by-one.
7874 (getIterator): Likewise.
7875 * java/text/AttributedStringIterator.java
7876 (getRunLimit): Correct logic.
7877 (getRunStart): Likewise.
7878 (getAttribute): Fix inequality.
7879 (getAttributes): Likewise.
7880 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7881
78822004-03-23 Kim Ho <kho@redhat.com>
7883
7884 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7885 (calculateSizes): Return real width and height.
7886
78872004-03-23 Kim Ho <kho@redhat.com>
7888
7889 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7890 (calculateTabRects): Set the selectedRun before
7891 trying to rotate tabs.
7892
78932004-03-23 Kim Ho <kho@redhat.com>
7894
7895 * Makefile.am: New file
7896 * Makefile.in: Regenerate
7897 * java/awt/Graphics.java: (drawRect):
7898 Draw to the correct point.
7899 * javax/swing/DefaultSingleSelectionModel.java
7900 (isSelected): Return true if the selected index
7901 is not -1.
7902 * javax/swing/JLabel.java: Do not change mnemonic
7903 index if text is null.
7904 * javax/swing/JProgressBar.java: Use JComponent's
7905 EventListenerList.
7906 * javax/swing/JScrollBar.java: Ditto.
7907 * javax/swing/JSlider.java: Ditto.
7908 * javax/swing/JTabbedPane.java: Reimplement.
7909 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7910 Add defaults for TabbedPane.
7911 * javax/swing/plaf/basic/BasicArrowButton.java:
7912 Implement
7913 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7914 (paintDeterminate): Don't paint String if it's
7915 empty.
7916 (paintIndeterminate): ditto.
7917 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7918 Reimplement.
7919
79202004-03-19 Michael Koch <konqueror@gmx.de>
7921
7922 * java/awt/image/AffineTransformOp.java
7923 (AffineTransformOp): Made public.
7924 * javax/swing/JComponent.java
7925 (listenerList): Made protected.
7926 (accessibleContext): Likewise.
7927 * javax/swing/JList.java
7928 (valueChanged): Dont use internal fields of ListSelectionEvent.
7929 * javax/swing/JViewport.java
7930 (getView): Dont use internal fields of Component.
7931 (addImpl): Likewise.
7932 * javax/swing/Timer.java
7933 (isRunning): Made public.
7934 (start): Likewise.
7935 (stop): Likewise.
7936 * javax/swing/UIDefaults.java
7937 (getInt): Made public.
7938 * javax/swing/plaf/basic/BasicListUI.java
7939 (mousePressed): Dont use internal fields of MouseEvent.
7940 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7941 * javax/swing/plaf/basic/BasicScrollBarUI.java
7942 (arrowIcon): Made static.
7943 * javax/swing/plaf/basic/BasicViewportUI.java
7944 (stateChanged): Dont use internal field on ChangeEvent.
7945 * javax/swing/text/JTextComponent.java
7946 (getUI): Call UIManager.getUI().
7947 (updateUI): Use getUI().
7948
79492004-03-19 Graydon Hoare <graydon@redhat.com>
7950
7951 * javax/swing/JComponent.java: Turn off double buffer by default.
7952 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7954 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7955 Use cairo to copy areas.
7956 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7957 Initialize and set clip region.
7958
79592004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7960
7961 * java/applet/Applet.java (preferredSize): Override deprecated
7962 variant of getPreferredSize.
7963 (minimumSize): Override deprecated variant of getMinimumSize.
7964
79652004-03-15 Olga Rodimina <rodimina@redhat.com>
7966
7967 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7968 (drawImage(img,xform,bgcolor,obs)): New Method.
7969 Helper function that every drawImage method will
7970 use.
7971 (drawRaster): Added new parameter, bgcolor. All
7972 transparent pixels are changed to bgcolor before
7973 image is drawn.
7974 (drawRenderedImage): Fixed to use changed drawRaster().
7975 (drawImage(image,xform,obs): Fixed to use new helper function
7976 (drawImage(image,op,x,y)): Ditto.
7977 (drawImage (img,x,y,observer)): Ditto.
7978 ((PainterThread) bgcolor): New Field.
7979 ((PainterThread) (setPixels)): Changed all transparent pixels
7980 to bgcolor.
7981 (drawImage(img,x,y,width,height,bgcolor,observer)):
7982 Fixed FIXME - all the transparent pixels are
7983 changed to the specified bgcolor.
7984 (drawImage(img, x, y, width, height, observer): Changed to
7985 use function above.
7986 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
7987 Fixed FIXME- changed all transparent pixels to bgcolor.
7988 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
7989 Changed to use function above.
7990
79912004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7992
7993 * java/applet/Applet.java (dimensions): New field.
7994 (getDimensions): New method.
7995 (getPreferredSize): Call getDimensions.
7996 (getMinimumSize): Likewise.
7997
79982004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7999
8000 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8001 * jni/classpath/jnilink.c: Likewise.
8002
8003 * java/applet/Applet.java (getPreferredSize): New method.
8004 (getMinimumSize): New method.
8005
245c3c04
BM
80062004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8007
8008 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8009 (_Jv_AllocObjectNoFinalizer): Likewise.
8010 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8011 (_Jv_AllocPtrFreeObject): Likewise.
8012 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8013 directly even in the JVMPI case.
8014 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8015 _Jv_AllocObject calls.
8016 * gcj/javaprims.h: Update prototypes.
8017 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8018 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8019 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8020
d7afe286
BM
80212004-04-14 Andrew Haley <aph@redhat.com>
8022 Bryce McKinlay <mckinlay@redhat.com>
8023
8024 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8025 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8026 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8027
8028 * testsuite/libjava.lang/InvokeInterface.java: New file.
8029 * testsuite/libjava.lang/InvokeInterface.out: New file.
8030
84264cb6
RM
80312004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8032
8033 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8034 modified lookup().
8035 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8036 StackTraceElement directly.
8037 (newElement): New native helper method to create StackTraceElement
8038 bypassing Java access control.
8039 (createStackTraceElement): Use newElement() instead of directly
8040 calling StackTraceElement's constructor.
8041 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8042
2b6b5c35
MK
80432004-04-01 Michael Koch <konqueror@gmx.de>
8044
8045 * java/lang/SecurityManager.java
8046 (checkAwtEventQueueAccess): Implemented.
8047
1c19eacc
GB
80482004-04-01 Gary Benson <gbenson@redhat.com>
8049
8050 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8051 (_Jv_SearchMethodInClass): Likewise.
8052
99b43239
PM
80532004-03-26 Peter Moon <peterm@miraculum.com>
8054
8055 * java/text/NumberFormat.java: Fix spelling of setCurrency
8056 method.
8057
95e59f1a
AG
80582004-03-21 Anthony Green <green@redhat.com>
8059
8060 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8061 recursion when searching for the system ClassLoader.
8062
de205e06
IK
80632004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8064
8065 * java/net/ServerSocket.java
8066 (accept): Close the socket when error occured.
8067
bdf11d55
JF
80682004-03-21 Jeroen Frijters <jeroen@frijters.net>
8069
8070 * java/net/URI.java (parseURI): Added unquoting.
8071 (unquote): New method.
8072 (quoteAuthority): Implemented.
8073 (quote(String,String)): New method.
8074 (quotePath): Implemented.
8075 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8076 (getSchemeSpecificPart): Removed FIXME comment.
8077 (getRawAuthority): Return new rawAuthority field.
8078 (getAuthority): Removed FIXME comment.
8079 (getRawUserInfo): Return new rawUserInfo field.
8080 (getUserInfo): Removed FIXME comment.
8081 (getRawPath): Return new rawPath field.
8082 (getPath): Removed FIXME comment.
8083 (getRawQuery): Return new rawQuery field.
8084 (getQuery): Removed FIXME comment.
8085 (getRawFragment): Return new rawFragment field.
8086 (getFragment): Removed FIXME comment.
8087
0d13be1e
MK
80882004-03-20 Michael Koch <konqueror@gmx.de>
8089
8090 * java/net/URLConnection.java: Merged copyright year with classpath.
8091
f903e73b
NF
80922004-03-20 Norbert Frese <postfach@nfrese.net>
8093
8094 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8095 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8096 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8097 rmi-message.
8098 (getObjectInputStream): Return object reference, throw IOException if null.
8099 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8100 (getObjectOutputStream): Return object reference, throw IOException if null.
8101 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8102 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8103 (UnicastConnectionManager): Throw RemoteException if port is not available.
8104 (getInstance): Throw RemoteException.
8105 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8106 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8107 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8108 Collect Exceptions which are returned by a rmi-call and fix void returns.
8109 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8110 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8111 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8112 (dispatch): Answer ping messages which are sent by other java implementions.
8113 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8114 for every rmi-message and fix void return problems.
8115 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8116 (UnicastServerRef): Throw RemoteException.
8117 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8118 In some situations it is necessary to export a subclass of the class which has the _Stub.
8119 For instance when the class with has the _Stub is abstract.
8120 (findStubSkelClass): New method which looks for the class which has the _Stub.
8121 (getClientHost): Implementated.
8122 * gcc/libjava/java/rmi/server/RemoteServer.java
8123 (getClientHost): Implementated.
8124 * gcc/libjava/Makefile.am (rmi_java_source_files):
8125 Added gnu/java/rmi/server/RMIIncomingThread.java.
8126 * Makefile.in: Regenerated.
8127
7f5773c6
MK
81282004-03-20 Michael Koch <konqueror@gmx.de>
8129
8130 * java/net/InetAddress.java
8131 (getLocalHostname): Added javadoc.
8132
ab16524d
PB
81332004-03-19 Per Bothner <per@bothner.com>
8134
8135 * configure.in: FILE variable overrides FLATFORM when linking
8136 natFileChannelXXX.cc.
8137
8138 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8139 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8140
0fca95f5
PB
81412004-03-19 Per Bothner <per@bothner.com>
8142
8143 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8144 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8145 * Makefile.am: Update accordingly.
8146 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8147 as aliases for UnicodeLittle and UnicodeBig.
8148
edb3d426
MW
81492004-03-20 Mark Wielaard <mark@klomp.org>
8150
8151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8152 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8153 Don't access ws when it is null.
8154 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8155 Likewise.
8156
b121dcb5
JF
81572004-03-19 Jeroen Frijters <jeroen@frijters.net>
8158
8159 * java/lang/ThreadGroup.java (list): Changed print to println.
8160
44b20223
MW
81612004-03-19 Mark Wielaard <mark@klomp.org>
8162
8163 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8164 happy.
8165
f94b0887
RC
81662004-02-10 Randolph Chung <tausq@debian.org>
8167
8168 * configure.in: Build java for hppa target.
8169 * configure: Regenerate.
8170 * libjava/configure.host (hppa-*): Add target.
8171 * libjava/sysdeps/pa/lock.h: New file.
8172
d511a273
MW
81732004-03-19 Mark Wielaard <mark@klomp.org>
8174
8175 Reported by Stephen Crawley
8176 * java/io/FilePermission.java (implies): Use String.length() -1 to
8177 access last char of String.
8178
9c6637c8
MK
81792004-03-19 Michael Koch <konqueror@gmx.de>
8180
8181 * java/awt/image/AffineTransformOp.java
8182 (AffineTransformOp): Made public.
8183 * javax/swing/JComponent.java
8184 (listenerList): Made protected.
8185 (accessibleContext): Likewise.
8186 * javax/swing/JList.java
8187 (valueChanged): Dont use internal fields of ListSelectionEvent.
8188 * javax/swing/JViewport.java
8189 (getView): Dont use internal fields of Component.
8190 (addImpl): Likewise.
8191 * javax/swing/Timer.java
8192 (isRunning): Made public.
8193 (start): Likewise.
8194 (stop): Likewise.
8195 * javax/swing/UIDefaults.java
8196 (getInt): Made public.
8197 * javax/swing/plaf/basic/BasicListUI.java
8198 (mousePressed): Dont use internal fields of MouseEvent.
8199 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8200 * javax/swing/plaf/basic/BasicScrollBarUI.java
8201 (arrowIcon): Made static.
8202 * javax/swing/plaf/basic/BasicViewportUI.java
8203 (stateChanged): Dont use internal field on ChangeEvent.
8204 * javax/swing/text/JTextComponent.java
8205 (getUI): Call UIManager.getUI().
8206 (updateUI): Use getUI().
8207
165c9b04
RO
82082004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8209
8210 * verify.cc: Undef PC.
8211
138f5109
MK
82122004-03-18 Michael Koch <konqueror@gmx.de>
8213
8214 * java/nio/channels/spi/AbstractSelectableChannel.java
8215 (keys): Initialize at declaration.
8216 (locate): keys cant be null.
8217 (add): Removed.
8218 (addSelectionKey): New method.
8219 (removeSelectionKey): New method.
8220 * java/nio/channels/spi/AbstractSelectionKey.java
8221 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8222 * java/nio/channels/spi/AbstractSelector.java
8223 (provider): Javadoc added.
8224 (cancelledKeys): Javadoc added.
8225 (cancelKey): Javadoc added, add key to cancelledKeys.
8226 (deregister): Implemented.
8227
acc63e4c
RO
82282004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8229
8230 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8231 MAP_FAILED to void *.
8232
86881a7b
GH
82332004-03-12 Graydon Hoare <graydon@redhat.com>
8234
8235 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8236 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8237 * javax/swing/JList.java (ListListener): Revalidate on changes.
8238 * javax/swing/JScrollPane.java: Reimplement.
8239 * javax/swing/JViewport.java: Reimplement.
8240 * javax/swing/ScrollPaneLayout.java: Reimplement.
8241 * javax/swing/ViewportLayout.java: Tidy up.
8242 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8243 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8244 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8245 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8246 backing store only.
8247
82482004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8249
8250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8251 (window_wm_protocols_filter): New function.
8252 (window_focus_in_cb): Remove function.
8253 (window_focus_out_cb): Likewise.
8254 (window_focus_or_active_state_change_cb): New function.
8255 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8256 (connectSignals): Don't attach handlers to focus-in-event or
8257 focus-out-event signals. Handle notify signal.
8258
82592004-03-11 David Jee <djee@redhat.com>
8260
8261 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8262 (gtkSetLabel): New native method declaration.
8263 (setLabel): Use gtkSetLabel.
8264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8265 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8266
82672004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8268
8269 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8270 black when color argument is null.
8271
82722004-03-10 Kim Ho <kho@redhat.com>
8273
8274 * java/awt/Container.java: Remove check
8275 for drag events.
8276
82772004-03-10 Kim Ho <kho@redhat.com>
8278
8279 * java/awt/Container.java: (visitChild):
8280 Remove candidate clip. Use the component
8281 clip to intersect.
8282 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8283 (handleEvent): Use the PaintEvent's clip.
8284
82852004-03-10 Kim Ho <kho@redhat.com>
8286
8287 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8288 (handleEvent): Don't set the clip for the
8289 Graphics object.
8290
82912004-03-09 Graydon Hoare <graydon@redhat.com>
8292
8293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8294 Fix double <-> fixed macros, reset font transform.
8295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8296 Likewise.
8297
8298