posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
[gcc.git] / libjava / ChangeLog
1 2004-10-11 Richard Henderson <rth@redhat.com>
2
3 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5
6 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
7
8 * java/util/Calendar.java (set): Invalidate DST_OFFSET
9 field as a DST boundary may have been crossed.
10 * java/util/GregorianCalendar.java (add): Throw
11 IllegalArgumentException on attempt to add to DST_OFFSET or
12 ZONE_OFFSET fields. Update javadoc.
13
14 2004-10-09 Michael Koch <konqueror@gmx.de>
15
16 * java/io/CharArrayWriter.java
17 (resize): Removed redundant 'final' modifier.
18 * java/io/DataInputStream.java
19 (readFully): Throw IndexOutOfBoundsException of len < 0.
20 * java/io/FileDescriptor.java,
21 java/io/FileInputStream.java,
22 java/io/FileOutputStream.java,
23 java/io/ObjectOutputStream.java,
24 java/io/ObjectStreamClass.java,
25 java/io/PipedInputStream.java,
26 java/io/RandomAccessFile.java:
27 Reorganized import statements.
28
29 2004-10-09 Michael Koch <konqueror@gmx.de>
30
31 * gnu/java/rmi/rmic/RMIC.java,
32 gnu/java/rmi/server/RMIHashes.java,
33 gnu/java/rmi/server/RMIObjectInputStream.java,
34 gnu/java/rmi/server/UnicastConnection.java,
35 gnu/java/rmi/server/UnicastConnectionManager.java,
36 gnu/java/rmi/server/UnicastRemoteCall.java,
37 gnu/java/rmi/server/UnicastServerRef.java:
38 Reworked import statements and fixed file headers.
39
40 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
41
42 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
43 emission rule.
44 * configure: Rebuilt.
45
46 2004-09-30 Tom Tromey <tromey@redhat.com>
47
48 * java/text/MessageFormat.java (Field): Constructor now
49 protected.
50
51 2004-09-30 Tom Tromey <tromey@redhat.com>
52
53 * javax/crypto/MacSpi.java: Fixed typo.
54
55 2004-09-30 Michael Koch <konqueror@gmx.de>
56
57 * java/net/InetAddress.java: Reformatted.
58 (loopback): Initialize with Inet4Address object.
59 (static): Initialize ANY_IF with Inet4Address object.
60 (InetAddress): Removed unused package-private constructor.
61
62 2004-09-30 Michael Koch <konqueror@gmx.de>
63
64 * java/beans/Beans.java,
65 java/beans/EventHandler.java,
66 java/beans/EventSetDescriptor.java,
67 java/beans/Introspector.java,
68 java/beans/PropertyEditorManager.java,
69 java/beans/beancontext/BeanContext.java,
70 java/beans/beancontext/BeanContextChild.java,
71 java/beans/beancontext/BeanContextChildSupport.java,
72 java/beans/beancontext/BeanContextMembershipEvent.java:
73 Reordered import statements and removed redundant modifiers.
74
75 2004-09-29 Tom Tromey <tromey@redhat.com>
76
77 PR libgcj/17715:
78 * Makefile.in: Rebuilt.
79 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
80 files.
81 (all_property_files): New macro.
82
83 * Makefile.in: Rebuilt.
84 * Makefile.am (ordinary_java_source_files): Re-sorted.
85 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
86
87 2004-09-28 Tom Tromey <tromey@redhat.com>
88
89 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
90
91 PR libgcj/17222:
92 * Makefile.am (libgcj.la): Restored.
93 * Makefile.in: Rebuilt.
94
95 2004-09-28 Michael Koch <konqueror@gmx.de>
96
97 * java/net/URLConnection.java: Reformatted.
98 * java/net/URLClassLoader.java: Reformatted.
99 (getContent): Reordered return of content.
100 (getContentHandler): Don't check for null explicitely.
101
102 2004-09-27 Michael Koch <konqueror@gmx.de>
103
104 * java/io/BufferedInputStream.java
105 (BufferedInputStream): Added Jeroen Frijters to authors.
106 (count): Don't explicitely initialize with default value.
107 (pos): Likewise.
108 (marklimit): Likewise.
109 (read): Changed boolean expression to match GNU classpath' version.
110 (reset): Add proper message to exception.
111 (skip): Check for closed stream.
112 (refill): Likewise.
113
114 2004-09-26 Per Bothner <per@bothner.com>
115
116 * prims.cc (unblock_signal): Annotate signum with __unused__ to
117 avoid warnings in the non-POSIX_VERSION case.
118 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
119 so place it inside an #if block.
120 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
121 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
122 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
123 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
124
125 2004-09-26 Per Bothner <per@bothner.com>
126
127 * prims.cc (process_gcj_properties): Optimization.
128
129 2004-09-26 Per Bothner <per@bothner.com>
130
131 * java/util/Collections.java (sort): Copy from array in forwards
132 order, rather than reverse order which may be much less efficient.
133
134 2004-09-26 Mark Wielaard <mark@klomp.org>
135
136 * java/lang/System.java (properties): Make package private.
137 * java/lang/Throwable.java (StaticData.nl): Initialize through
138 directly accessing System.properties.getProperty().
139
140 * java/lang/Throwable.java (nl): Remove static field.
141 (StaticData): New private static inner class.
142 (stackTraceStringBuffer): Use StaticData.nl.
143
144 2004-09-26 Casey Marshall <csm@gnu.org>
145
146 * java/security/ProtectionDomain.java
147 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
148 `true'.
149
150 * java/security/SecureClassLoader.java
151 (defineClass): make protection domain dynamically bound.
152 (getPermissions): call `getCurrentPolicy' to avoid permission
153 check.
154
155 2004-09-25 Mark Wielaard <mark@klomp.org>
156
157 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
158 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
159 * Makefile.in: Regenerated.
160
161 * gcj/javaprims.h: Regenerated.
162
163 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
164 (getDefaultTimeZone): Make package private. Check that GMToffset
165 contains at least one digit.
166 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
167 VMTimeZone.
168 * util/VMTimeZone.java: New file with above methods.
169
170 * java/util/natTimeZone.cc: Removed (renamed).
171 * java/util/natVMTimeZone.cc: Added (renamed).
172
173 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
174
175 * java/util/TimeZone.java
176 (getDefaultTimeZone): Fixed test to distinguish between hours and
177 minutes in specified timezone.
178
179 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
180
181 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
182 handling of default package. (generate): Removed confused comments
183 and code about making Method and Field accessible.
184
185 2004-09-25 Tom Tromey <tromey@redhat.com>
186
187 PR java/17500:
188 * testsuite/libjava.compile/pr17500.java: New file.
189
190 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
191 Mark Wielaard <mark@klomp.org>
192
193 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
194 * gnu/regexp/RETokenLookAhead.java: New file.
195
196 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
197 * Makefile.in: Regenerated.
198
199 2004-09-25 Michael Koch <konqueror@gmx.de>
200
201 * java/io/ObjectStreamField.java:
202 Removed unused import statement.
203
204 2004-09-24 Tom Tromey <tromey@redhat.com>
205
206 PR java/15656:
207 * testsuite/libjava.compile/pr15656.xfail: New file.
208 * testsuite/libjava.compile/pr15656.java: new file.
209
210 PR java/16789:
211 * testsuite/libjava.lang/pr16789.out: New file.
212 * testsuite/libjava.lang/pr16789.java: New file.
213
214 2004-09-24 Andrew Haley <aph@redhat.com>
215
216 PR java/16927
217 * testsuite/libjava.compile/AssertBug.java: New file.
218
219 2004-09-24 Casey Marshall <csm@gnu.org>
220
221 * java/util/PropertyPermissionCollection.java
222 (implies): avoid infinite loop.
223
224 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
225
226 * javax/security/auth/PrivateCredentialPermission.java
227 (PrivateCredentialPermission): added serialization UID
228
229
230 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
231
232 * gnu/java/rmi/server/UnicastServer.java
233 (incomingMessageCall): Added code to handle Errors.
234 * gnu/java/rmi/server/UnicastServerRef.java
235 (incomingMessageCall): Added code to handle Errors.
236
237
238 2004-09-24 Tom Tromey <tromey@redhat.com>
239
240 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
241 (definedPackages): Likewise.
242
243 2004-09-24 Michael Koch <konqueror@gmx.de>
244
245 * java/io/ObjectInputStream.java:
246 Re-ordered imports.
247
248 2004-09-24 Casey Marshall <csm@gnu.org>
249
250 * java/io/ObjectInputStream.java (callReadMethod): re-throw
251 `ClassNotFoundException'.
252
253 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
254
255 * java/io/ObjectInputStream.java (readObject): Delegate instantation
256 of Externalizable classes to ObjectStreamClass.
257 * java/io/ObjectStreamClass.java (newInstance): New method to
258 instantiate Externalizable (while ignoring the accessibility of
259 the constructor). (constructor): New field to cache the constructor.
260
261 2004-09-24 Mark Wielaard <mark@klomp.org>
262
263 * java/net/URL.java (systemClassLoader): New static field.
264 (getURLStreamHandler): Always use system/application classloader
265 for finding URLStreamhandler. Remove unecessary instanceof checks.
266
267 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
268
269 * java/net/URL.java
270 (set): This method now matches the behaviour of the JDK.
271 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
272
273 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
274
275 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
276
277 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
278
279 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
280 Don't set authority if host isn't specified.
281
282 2004-09-24 Michael Koch <konqueror@gmx.de>
283
284 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
285 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
286 * gnu/java/nio/VMPipe.java,
287 gnu/java/nio/VMSelector.java:
288 New files.
289 * gnu/java/nio/natPipeImplEcos.cc,
290 gnu/java/nio/natPipeImplPosix.cc,
291 gnu/java/nio/natPipeImplWin32.cc:
292 Ported to VMPipe.
293 * gnu/java/nio/natSelectorImplEcos.cc,
294 gnu/java/nio/natSelectorImplPosix.cc,
295 gnu/java/nio/natSelectorImplWin32.cc:
296 Ported to VMSelector.
297 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
298 gnu/java/nio/VMSelector.java.
299 * Makefile.in: Regenerated.
300
301 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
302
303 * java/lang/StackTraceElement.java
304 (className): Renamed field to declaringClass to be compatible
305 with Sun serialization format.
306
307 2004-09-23 Michael Koch <konqueror@gmx.de>
308
309 * java/applet/AppletContext.java,
310 java/applet/Applet.java,
311 java/applet/AppletStub.java,
312 java/applet/AudioClip.java:
313 Jalopied and checkstyle clean.
314
315 2004-09-23 Mark Wielaard <mark@klomp.org>
316
317 * java/util/Collections.java
318 (binarySearch(List, Object, Comparator)): Explicitly
319 reverse direction in list iterator.
320 (rotate): Just return when list is empty.
321
322 2004-09-23 Tom Tromey <tromey@redhat.com>
323
324 PR java/17329:
325 * testsuite/libjava.compile/pr17329.java: New file.
326
327 PR java/17380:
328 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
329 9.2-implicit-7.
330
331 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
332
333 * Makefile.am: Run aclocal with -I ../config
334 * acinclude.m4: Delete macros picked up from ../config and tidy.
335 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
336 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
337 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
338
339 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
340
341 * aclocal.m4: Regenerate with aclocal 1.9.2.
342 * configure: Regenerate.
343 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
344 * include/Makefile.in, testsuite/Makefile.in: Likewise.
345
346 2004-09-22 David Daney <ddaney@avtrex.com>
347
348 PR libgcj/17623
349 * java/net/URL.java (URL): Copy userInfo from context.
350 (getUserInfo): Return cached userInfo if present.
351
352 2004-09-22 Tom Tromey <tromey@redhat.com>
353
354 PR libgcj/6182:
355 * mauve-libgcj: Enable java.lang.Character tests.
356
357 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
358
359 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
360 dependencies.
361 (lib_org_ietf_jgss_la_LIBADD): Likewise.
362 * Makefile.in: Regenerated.
363
364 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
365
366 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
367 * configure: Regenerate.
368 * include/config.h.in: Likewise.
369 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
371 macro to gtkpeer.h.
372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
373 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
374 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
375 architectures.
376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
377 Likewise.
378
379 2004-09-22 Tom Tromey <tromey@redhat.com>
380
381 PR libgcj/14446:
382 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
383 when comparing CRCs.
384 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
385 field.
386 (read()): New overload.
387
388 2004-09-21 Tom Tromey <tromey@redhat.com>
389
390 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
391 Indentation fix.
392
393 2004-09-21 Michael Koch <konqueror@gmx.de>
394
395 * java/net/Socket.java
396 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
397
398 2004-09-21 Casey Marshall <csm@gnu.org>
399
400 * javax/crypto/MacSpi.java (clone): Provide meaningful
401 implementation.
402
403 2004-09-21 Tom Tromey <tromey@redhat.com>
404
405 PR libgcj/16869:
406 * Makefile.in: Rebuilt.
407 * Makefile.am (MOSTLYCLEANFILES): Removed.
408 (mostlyclean-local): Remove header files.
409
410 2004-09-21 Casey Marshall <csm@gnu.org>
411
412 * java/security/cert/X509CRLSelector.java:
413 (match): remove unreachable try-catch clauses.
414 Reported by: Dalibor Topic <robilad@kaffe.org>
415
416 2004-09-21 Mark Wielaard <mark@klomp.org>
417
418 * java/util/TreeMap.java (root): Don't initialize.
419 (TreeMap(Comparator)): Call fabricateTree(0).
420 (fabricateTree): Initialize root and size when count is 0.
421
422 2004-09-21 Sven de Marothy <sven@physto.se>
423
424 * java/nio/ByteBuffer.java (hashCode): Implemented.
425 * java/nio/CharBuffer.java: Likewise.
426 * java/nio/DoubleBuffer.java: Likewise.
427 * java/nio/FloatBuffer.java: Likewise.
428 * java/nio/LongBuffer.java: Likewise.
429 * java/nio/IntBuffer.java: Likewise.
430 * java/nio/ShortBuffer.java: Likewise.
431
432 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
433
434 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
435
436 2004-09-21 Michael Koch <konqueror@gmx.de>
437
438 * javax/net/ssl/SSLServerSocket.java:
439 Removed comment about "Do not edit this file, it's generated.".
440
441 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
442
443 Import the big Crypto/Jessie/Security merge from Classpath.
444
445 * Makefile.am: Add imported files.
446 * Makefile.in: Regenerate.
447
448 2004-08-14 Casey Marshall <csm@gnu.org>
449
450 The Big Crypto Merge of 2004.
451
452 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
453 Crypto's version.
454
455 Files imported from GNU Crypto.
456 * javax/crypto/BadPaddingException.java
457 * javax/crypto/Cipher.java
458 * javax/crypto/CipherInputStream.java
459 * javax/crypto/CipherOutputStream.java
460 * javax/crypto/CipherSpi.java
461 * javax/crypto/EncryptedPrivateKeyInfo.java
462 * javax/crypto/ExemptionMechanism.java
463 * javax/crypto/ExemptionMechanismException.java
464 * javax/crypto/ExemptionMechanismSpi.java
465 * javax/crypto/IllegalBlockSizeException.java
466 * javax/crypto/KeyAgreement.java
467 * javax/crypto/KeyAgreementSpi.java
468 * javax/crypto/KeyGenerator.java
469 * javax/crypto/KeyGeneratorSpi.java
470 * javax/crypto/Mac.java
471 * javax/crypto/MacSpi.java
472 * javax/crypto/Makefile.am
473 * javax/crypto/NoSuchPaddingException.java
474 * javax/crypto/NullCipher.java
475 * javax/crypto/NullCipherImpl.java
476 * javax/crypto/SealedObject.java
477 * javax/crypto/SecretKey.java
478 * javax/crypto/SecretKeyFactory.java
479 * javax/crypto/SecretKeyFactorySpi.java
480 * javax/crypto/ShortBufferException.java
481 * javax/crypto/interfaces/DHKey.java
482 * javax/crypto/interfaces/DHPrivateKey.java
483 * javax/crypto/interfaces/DHPublicKey.java
484 * javax/crypto/interfaces/PBEKey.java
485 * javax/crypto/spec/DESKeySpec.java
486 * javax/crypto/spec/DESedeKeySpec.java
487 * javax/crypto/spec/DHGenParameterSpec.java
488 * javax/crypto/spec/DHParameterSpec.java
489 * javax/crypto/spec/DHPrivateKeySpec.java
490 * javax/crypto/spec/DHPublicKeySpec.java
491 * javax/crypto/spec/IvParameterSpec.java
492 * javax/crypto/spec/PBEKeySpec.java
493 * javax/crypto/spec/PBEParameterSpec.java
494 * javax/crypto/spec/RC2ParameterSpec.java
495 * javax/crypto/spec/RC5ParameterSpec.java
496 * javax/crypto/spec/SecretKeySpec.java
497 * javax/security/auth/AuthPermission.java
498 * javax/security/auth/DestroyFailedException.java
499 * javax/security/auth/Destroyable.java
500 * javax/security/auth/Policy.java
501 * javax/security/auth/PrivateCredentialPermission.java
502 * javax/security/auth/RefreshFailedException.java
503 * javax/security/auth/Refreshable.java
504 * javax/security/auth/Subject.java
505 * javax/security/auth/SubjectDomainCombiner.java
506 * javax/security/auth/callback/Callback.java
507 * javax/security/auth/callback/CallbackHandler.java
508 * javax/security/auth/callback/ChoiceCallback.java
509 * javax/security/auth/callback/ConfirmationCallback.java
510 * javax/security/auth/callback/LanguageCallback.java
511 * javax/security/auth/callback/NameCallback.java
512 * javax/security/auth/callback/PasswordCallback.java
513 * javax/security/auth/callback/TextInputCallback.java
514 * javax/security/auth/callback/TextOutputCallback.java
515 * javax/security/auth/callback/UnsupportedCallbackException.java
516 * javax/security/auth/login/AccountExpiredException.java
517 * javax/security/auth/login/AppConfigurationEntry.java
518 * javax/security/auth/login/Configuration.java
519 * javax/security/auth/login/CredentialExpiredException.java
520 * javax/security/auth/login/FailedLoginException.java
521 * javax/security/auth/login/LoginContext.java
522 * javax/security/auth/login/LoginException.java
523 * javax/security/auth/login/NullConfiguration.java
524 * javax/security/auth/x500/X500PrivateCredential.java
525 * javax/security/sasl/AuthenticationException.java
526 * javax/security/sasl/AuthorizeCallback.java
527 * javax/security/sasl/RealmCallback.java
528 * javax/security/sasl/RealmChoiceCallback.java
529 * javax/security/sasl/Sasl.java
530 * javax/security/sasl/SaslClient.java
531 * javax/security/sasl/SaslClientFactory.java
532 * javax/security/sasl/SaslException.java
533 * javax/security/sasl/SaslServer.java
534 * javax/security/sasl/SaslServerFactory.java
535 * org/ietf/jgss/ChannelBinding.java
536 * org/ietf/jgss/GSSContext.java
537 * org/ietf/jgss/GSSCredential.java
538 * org/ietf/jgss/GSSException.java
539 * org/ietf/jgss/GSSManager.java
540 * org/ietf/jgss/GSSName.java
541 * org/ietf/jgss/MessageProp.java
542 * org/ietf/jgss/Oid.java
543 * org/ietf/jgss/MessagesBundle.properties
544
545 Files imported from Jessie <http://www.nongnu.org/jessie/>
546 * javax/net/ServerSocketFactory.java
547 * javax/net/SocketFactory.java
548 * javax/net/VanillaServerSocketFactory.java
549 * javax/net/VanillaSocketFactory.java
550 * javax/net/ssl/HandshakeCompletedEvent.java
551 * javax/net/ssl/HandshakeCompletedListener.java
552 * javax/net/ssl/HostnameVerifier.java
553 * javax/net/ssl/HttpsURLConnection.java
554 * javax/net/ssl/KeyManager.java
555 * javax/net/ssl/KeyManagerFactory.java
556 * javax/net/ssl/KeyManagerFactorySpi.java
557 * javax/net/ssl/ManagerFactoryParameters.java
558 * javax/net/ssl/SSLContext.java
559 * javax/net/ssl/SSLContextSpi.java
560 * javax/net/ssl/SSLException.java
561 * javax/net/ssl/SSLHandshakeException.java
562 * javax/net/ssl/SSLKeyException.java
563 * javax/net/ssl/SSLPeerUnverifiedException.java
564 * javax/net/ssl/SSLPermission.java
565 * javax/net/ssl/SSLProtocolException.java
566 * javax/net/ssl/SSLServerSocket.java
567 * javax/net/ssl/SSLServerSocketFactory.java
568 * javax/net/ssl/SSLSession.java
569 * javax/net/ssl/SSLSessionBindingEvent.java
570 * javax/net/ssl/SSLSessionBindingListener.java
571 * javax/net/ssl/SSLSessionContext.java
572 * javax/net/ssl/SSLSocket.java
573 * javax/net/ssl/SSLSocketFactory.java
574 * javax/net/ssl/TrivialHostnameVerifier.java
575 * javax/net/ssl/TrustManager.java
576 * javax/net/ssl/TrustManagerFactory.java
577 * javax/net/ssl/TrustManagerFactorySpi.java
578 * javax/net/ssl/X509KeyManager.java
579 * javax/net/ssl/X509TrustManager.java
580 * javax/security/cert/Certificate.java
581 * javax/security/cert/CertificateEncodingException.java
582 * javax/security/cert/CertificateException.java
583 * javax/security/cert/CertificateExpiredException.java
584 * javax/security/cert/CertificateNotYetValidException.java
585 * javax/security/cert/CertificateParsingException.java
586 * javax/security/cert/X509CertBridge.java
587 * javax/security/cert/X509Certificate.java
588
589 2004-08-20 Casey Marshall <csm@gnu.org>
590
591 * java/security/cert/X509CRLSelector.java: New file.
592 * java/security/cert/X509CertSelector.java: New file.
593
594 2004-09-15 Michael Koch <konqueror@gmx.de>
595
596 * gnu/java/net/protocol/file/Handler.java
597 (openConnection): Don't throw exception if host part for file: URI is
598 present. setURL() keeps file: protocol if ftp: protocol is not
599 available.
600
601 2004-09-14 Richard Henderson <rth@redhat.com>
602
603 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
604 value of sigsuspend.
605
606 2004-09-12 Tom Tromey <tromey@redhat.com>
607
608 * javax/naming/CompoundName.java (CompoundName): Don't check for
609 separator in "flat" case.
610
611 2004-09-12 Michael Koch <konqueror@gmx.de>
612
613 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
614 AM_CONFIG_HEADER by AC_CONFIG_FILES.
615 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
616 Regenerate.
617
618 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
619
620 PR libgcj/14751
621 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
622 handle in newly-allocated _Jv_Thread_t.
623 (_Jv_ThreadDestroyData): Close thread handle.
624 (_Jv_ThreadStart): Remove obsolete comment.
625 Store handle of newly-created thread in _Jv_Thread_t.
626 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
627 before including <windows.h>
628 #define _Jv_HaveCondDestroy
629
630 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
631
632 * java/lang/natThread.cc (finalize_native): Destroy
633 join conditional variable and mutex if these destroy
634 operations are supported.
635
636 2004-09-10 Dalibor Topic <robilad@kaffe.org>
637
638 * gnu/java/net/protocol/file/Connection.java (permission): New field.
639 (DEFAULT_PERMISSION): New constant.
640 (Connection): Create a FilePermission with permission to read file.
641
642 2004-09-10 Michael Koch <konqueror@gmx.de>
643
644 * gnu/java/net/protocol/file/Connection.java
645 (getLastModified): Moved around.
646 (getPermission): Return stored permission.
647
648 2004-09-10 Michael Koch <konqueror@gmx.de>
649
650 * Makefile.in: Regenerate.
651
652 2004-09-10 Michael Koch <konqueror@gmx.de>
653
654 * Makefile.am: Reverted accidently commited stuff.
655 * configure: Regenerated.
656
657 2004-09-10 Michael Koch <konqueror@gmx.de>
658
659 * gnu/java/net/protocol/file/Connection.java
660 (lineSeparator): Made non-final.
661 (static): Removed.
662 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
663 instead of StringBufferInputStream.
664
665 2004-09-10 Michael Koch <konqueror@gmx.de>
666
667 * gnu/java/net/protocol/file/Connection.java
668 (connect): Handle file is a directory case.
669
670 2004-09-10 Michael Koch <konqueror@gmx.de>
671
672 * Makefile.am
673 (xlib_includes): Removed.
674 (AM_CPPFLAGS): Renamed from INCLUDES.
675 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
676 * Makefile.in: Regenerate.
677
678 2004-09-09 Michael Koch <konqueror@gmx.de>
679
680 * java/security/ProtectionDomain.java,
681 * java/util/PropertyPermissionCollection.java:
682 Fixed javadocs all over.
683
684 2004-09-09 Sven de Marothy <sven@physto.se>
685
686 Patch from David Gilbert <david.gilbert@object-refinery.com>
687 * java/lang/Comparable.java: Fixed documentation errors.
688 * java/util/Arrays.java: Likewise.
689
690 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
691
692 * java/net/Inet4Address.java
693 (Inet4Address): Added comment to serialization UID.
694 * java/text/Format.java
695 (Format): Added comment to serialization UID.
696
697 2004-09-09 Michael Koch <konqueror@gmx.de>
698
699 * java/lang/System.java
700 (err): Fixed javadoci to point to setErr() and not setOut().
701
702 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
703
704 (normalizePath): Added special case for windows systems.
705
706 2004-09-09 Michael Koch <konqueror@gmx.de>
707
708 * java/io/File.java
709 (dupSeparator): Made private.
710 (File(URI)): New constructor.
711 (getParentFile): Fixed javadoc.
712 (createTempFile): Reformated.
713 (setReadOnly): Added comment.
714 (deleteOnExit): Merged javadoc with classpath version.
715
716 2004-09-09 Michael Koch <konqueror@gmx.de>
717
718 * Makefile.am: Don't try to include deps.mk.
719 * Makefile.in: Regenerated.
720
721 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
722
723 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
724 .d files.
725 * configure: Rebuilt.
726
727 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
728
729 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
730 Changed pfn from static local to local.
731
732 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
733 H.J. Lu <hongjiu.lu@intel.com>
734
735 PR libgcj/17290
736 * Makefile.am (GCJCOMPILE): Remove definition.
737 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
738 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
739 * Makefile.in: Rebuilt.
740
741 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
742
743 * configure.ac (enable-gc-debug): Update help for new syntax.
744 * configure: Regenerate.
745
746 2004-09-03 David Daney <ddaney@avtrex.com>
747
748 * include/mips-signal.h: Update copyright.
749
750 2004-09-03 David Daney <ddaney@avtrex.com>
751
752 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
753 * include/mips-signal.h: Added HANDLE_FPE support.
754
755 2004-08-31 Michael Koch <konqueror@gmx.de>
756
757 * javax/swing/plaf/basic/BasicTextAreaUI.java
758 (create): New method.
759 * javax/swing/text/DefaultHighlighter.java
760 (DefaultHighlightPainter.debugRect): Removed.
761 * javax/swing/text/StyleContext.java
762 (DEFAULT_STYLE): New field.
763
764 2004-08-31 Michael Koch <konqueror@gmx.de>
765
766 * javax/swing/plaf/basic/BasicLookAndFeel.java
767 (initComponentDefaults): Add keybindings for selection.backward and
768 selection-forward for text components.
769 * javax/swing/plaf/basic/BasicTextUI.java
770 (paintSafely): Paint highlight only when something is actually
771 selected.
772 * javax/swing/text/DefaultCaret.java
773 (handleHighlight): New method.
774 (setSelectionVisible): Don't do anything when nothing changes.
775 Handle highlight.
776 (moveDot): Reimplemented. Handle highlight.
777 (setDot): Set mark too. Handle highlight.
778 (getSelectionPainter): New method.
779 * javax/swing/text/DefaultEditorKit.java
780 (defaultActions): Added new actions for text selection.
781 * javax/swing/text/DefaultHighlighter.java
782 (DefaultHighlightPainter): New inner class.
783 (DefaultPainter): New field.
784 (paint): Implemented.
785 * javax/swing/text/PlainView.java
786 (paint): Don't draw background here again.
787 * javax/swing/text/Utilities.java
788 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
789 (drawTabbedText): Likewise.
790
791 2004-08-31 Graydon Hoare <graydon@redhat.com>
792
793 * javax/swing/JComponent.java
794 (resetKeyboardActions): Add null checks.
795
796 2004-08-31 Graydon Hoare <graydon@redhat.com>
797
798 * javax/swing/DefaultButtonModel.java:
799 Skip group notification when no group is set.
800
801 2004-08-31 Graydon Hoare <graydon@redhat.com>
802
803 * javax/swing/JColorChooser.java:
804 Make a couple inner classes static, for jikes.
805
806 2004-08-31 Michael Koch <konqueror@gmx.de>
807
808 * javax/swing/plaf/basic/BasicTextUI.java
809 (RottView.modelToView): New method.
810 (UpdateHandler): Renamed from EventHandler.
811 (updateHandler): Renamed from eventHandler.
812 (modelToView): Implemented.
813 * javax/swing/text/AbstractDocument.java
814 (BranchElement.getElement): Return null for non-existing indeces.
815 (BranchElement.getElementIndex): Return 0 in some corner cases.
816 * javax/swing/text/FieldView.java
817 (modelToView): New method.
818 * javax/swing/text/PlainView.java
819 (modelToView): Made public.
820
821 2004-08-31 Kim Ho <kho@redhat.com>
822
823 * Makefile.am: New files.
824 * Makefile.in: Regenerate.
825 * gcj/Makefile.in: Regenerate.
826 * include/Makefile.in: Regenerate.
827 * java/awt/Color.java: Fix documentation.
828 (RGBtoHSB): Use floats for conversions.
829 * javax/swing/ButtonGroup.java: Run Jalopy.
830 (setSelected): Reimplement.
831 * javax/swing/DefaultButtonModel.java: Run Jalopy.
832 (changeState): Let ButtonGroup know that the button
833 is changing state.
834 * javax/swing/JColorChooser.java: Implement.
835 * javax/swing/JLabel.java: Run Jalopy.
836 * javax/swing/JSpinner.java: Run Jalopy.
837 (setValue): New method.
838 * javax/swing/JTabbedPane.java: Run Jalopy.
839 (removeTabAt): Call correct remove method.
840 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
841 (getPreviousValue): Compare minimum value.
842 * javax/swing/Timer.java: Run Jalopy.
843 (run): Comment out println.
844 * javax/swing/ToolTipManager.java:
845 (mouseMoved): Get new tooltip text for location.
846 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
847 Jalopy and Javadoc.
848 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
849 Implement.
850 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
851 Run Jalopy.
852 (setSelectedColor): Fire ChangeEvent.
853 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
854 New file. Implement.
855 * javax/swing/colorchooser/DefaultPreviewPanel.java:
856 Ditto.
857 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
858 Ditto.
859 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
860 Ditto.
861 * javax/swing/plaf/basic/BasicArrowButton.java:
862 (getArrow): Fix size of upward pointing button.
863 * javax/swing/plaf/basic/BasicColorChooserUI.java:
864 Implement.
865 * javax/swing/plaf/basic/BasicSliderUI.java:
866 (getWidthOfWidestLabel): Use preferred dimensions.
867 (getHeightOfTallestLabel): Ditto.
868 * javax/swing/plaf/basic/BasicSpinnerUI.java:
869 Run Jalopy.
870 (mousePressed): Disable changes to spinner if it is not enabled.
871 * testsuite/Makefile.in: Regenerate.
872
873
874 2004-08-31 Michael Koch <konqueror@gmx.de>
875
876 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
877 javax/swing/plaf/basic/BasicTableUI.java:
878 Added copyright notice.
879
880 2004-08-31 Olga Rodimina <rodimina@redhat.com>
881
882 * Makefile.am: Added new files.
883 * Makefile.in: Regenerate.
884 * javax/swing/ComboBoxEditor.java: Added javadocs.
885 * javax/swing/ComboBoxModel.java: Likewise.
886 * javax/swing/DefaultComboBoxModel.java: Implemented.
887 * javax/swing/DefaultListCellRenderer.java: Added javadocs
888 and ran through jalopy to fix formatting style.
889 (getListCellRendererComponent): Use appropriate border
890 if renderer has focus and use noFocusBorder when it doesn't.
891 * javax/swing/JComboBox.java: Implemented.
892 * javax/swing/JList.java:
893 (locationToIndex): New Method. Implemented.
894 (indexToLocation): New Method.
895 * javax/swing/JPopupMenu.java:
896 (visible): New field.
897 (isVisible): Changed to use new field above.
898 (setVisible): Likewise.
899 * javax/swing/MutableComboBoxModel.java: Added javadocs.
900 * javax/swing/plaf/basic/BasicArrowButton.java:
901 (shadow): Changed default color to Color.gray.
902 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
903 UI delegate for JComboBox.
904 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
905 Popup menu containing list of JComboBox's items.
906 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
907 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
908 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
909 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
910 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
911 (popupMenuWillBecomeVisible): Set selected path to the first
912 element only if it is of type MenuElement. Also fix formatting
913 style.
914 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
915 methods signatures.
916
917 2004-08-31 Michael Koch <konqueror@gmx.de>
918
919 * javax/swing/text/AbstractDocument.java
920 (createBranchElement): Use new constructor of BranchElement.
921 (createLeafElement): Renamed arguments.
922 (getRootElements): Implemented.
923 (BranchElement.start): Removed.
924 (BranchElement.end): Likewise.
925 (BranchElement.BranchElement): Fixed arguments.
926 (BranchElement.getEndOffset): Reimplemented.
927 (BranchElement.getStartOffset): Likewis.
928 * javax/swing/text/DefaultCaret.java
929 (paint): Draw simple vertical line as caret instead of a rectangle.
930 * javax/swing/text/JTextComponent.java
931 (setText): Use doc directly.
932 * javax/swing/text/PlainView.java
933 (nextTabStop): Implemented.
934 * javax/swing/text/Utilities.java
935 (drawTabbedText): nextTabStop() returns an absolute x position.
936 (getTabbedTextWidth): Likewise.
937
938 2004-08-31 Graydon Hoare <graydon@redhat.com>
939
940 * java/awt/Component.java
941 (isFocusTraversable): Predicate on isLightweight()
942 (setFocusable): Set isFocusTraversableOverridden.
943 (requestFocus): Predicate peer dispatch on !isLightweight()
944 (requestFocusInWindow): Likewise.
945 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
946 * java/awt/Container.java
947 (dispatchEventImpl): Predicate on event mask.
948 (LightweightDispatcher): Remove focus machinery.
949 * java/awt/DefaultFocusTraversalPolicy.java
950 (accept): Expand predicate to include isFocusable().
951 * java/awt/DefaultKeyboardFocusManager.java:
952 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
953 * java/awt/KeyboardFocusManager.java
954 (redispatchEvent): Synchronize on event to prevent feedback.
955 * javax/swing/AbstractButton.java
956 (ButtonFocusListener): Remove class.
957 (init): Set focusPainted, focusable.
958 * javax/swing/ActionMap.java (get): Check parent for null.
959 * javax/swing/InputMap.java (get): Likewise.
960 * javax/swing/JComponent.java
961 (inputMap_whenFocused): New InputMap.
962 (inputMap_whenAncestorOfFocused): Likewise.
963 (inputMap_whenInFocusedWindow): Likewise.
964 (getActionForKeyStroke): Rewrite.
965 (getConditionForKeystroke): Likewise.
966 (ActionListenerProxy): New private class.
967 (setInputMap): Implement.
968 (getInputMap): Likewise.
969 (setActionMap): Likewise.
970 (getActionMap): Likewise.
971 (processComponentKeyEvent): New empty method.
972 (processKeyEvent): Implement.
973 (processKeyBinding): Likewise.
974 (resetKeyboardActions): Rewrite.
975 * javax/swing/KeyStroke.java: Rewrite.
976 * javax/swing/SwingUtilities.java
977 (notifyAction): Implement.
978 (replaceUIActionMap): Likewise.
979 (replaceUIInputMap): Likewise.
980 * javax/swing/plaf/basic/BasicButtonListener.java
981 (focusGained): Implement.
982 (focusLost): Repaint if focusPainted().
983 (installKeyboardActions): Install pressed / released actions.
984 (uninstallKeyboardActions): Implement.
985 * javax/swing/plaf/basic/BasicButtonUI.java
986 (focusColor): New field.
987 (installDefaults): Load focus color, install input map.
988 (installKeyboardActions): Implement.
989 (uninstallKeyboardActions): Likewise.
990 (paintFocus): Rewrite.
991 * javax/swing/plaf/basic/BasicLookAndFeel.java
992 (Button.focus): New default, midPurple.
993 * javax/swing/plaf/basic/BasicTextUI.java
994 (kit): Make static.
995 (installUI): Get doc from kit, load defaults.
996 (getKeymapName): Implement.
997 (createKeymap): Likewise.
998 (installKeyboardActions): Likewise.
999 (getInputMap): Likewise.
1000 (getActionMap): Likewise.
1001 (createActionMap): Likewise.
1002 * javax/swing/text/AbstractDocument.java
1003 (getStartPosition): Implement.
1004 (getEndPosition): Likewise.
1005 * javax/swing/text/DefaultEditorKit.java
1006 (CopyAction): New class.
1007 (CutAction): Likewise.
1008 (DefaultKeyTypedAction): Likewise.
1009 (InsertBreakAction): Likewise.
1010 (InsertContentAction): Likewise.
1011 (InsertTabAction): Likewise.
1012 (PasteAction): Likewise.
1013 (defaultActions): New static table.
1014 (createCaret): Implement.
1015 (getActions): Likewise.
1016 * javax/swing/text/JTextComponent.java
1017 (KeymapWrapper): New private class.
1018 (KeymapActionMap): Likewise.
1019 (DefaultKeymap): New class.
1020 (keymaps): New static table.
1021 (keymap): New field.
1022 (getKeymap): Implement.
1023 (removeKeymap): Likewise.
1024 (addKeymap): Likewise.
1025 (setKeymap): Likewise.
1026 (loadKeymap): Likewise.
1027 (getActions): Likewise.
1028 (margin): New field.
1029 (JTextComponent): Build and install default keymap.
1030 * javax/swing/text/TextAction.java
1031 (textAction): Call super properly.
1032 (getTextComponent): Implement.
1033 * javax/swing/text/Utilities.java
1034 (drawTabbedText): Adjust position by ascent.
1035
1036 2004-08-31 David Jee <djee@redhat.com>
1037
1038 PR AWT/17156
1039
1040 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1041 (setEnabled): Make it a native method.
1042 * java/awt/DefaultKeyboardFocusManager.java
1043 (postProcessKeyEvent): Only post event if the menu item
1044 is active.
1045 * java/awt/MenuItem.java:
1046 Private field 'enabled' should be true by default.
1047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1048 (setEnabled): New function.
1049
1050 2004-08-31 David Jee <djee@redhat.com>
1051
1052 PR AWT/17059
1053
1054 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1055 (nativeSetHelpMenu): New native method declaration.
1056 (addHelpMenu): Call nativeSetHelpMenu().
1057 (addMenu): Remove.
1058 * java/awt/MenuBar.java
1059 (setHelpMenu): Call addNotify() on the new help menu.
1060 (add): Call addNotify() on the new menu.
1061 (addNotify): Set the help menu if one exists.
1062 * java/awt/peer/MenuBarPeer.java
1063 (addMenu): Remove.
1064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1065 (nativeSetHelpMenu): New method.
1066
1067 2004-08-31 Graydon Hoare <graydon@redhat.com>
1068
1069 * Makefile.am: Add new files.
1070 * Makefile.in: Regenerate.
1071 * javax/swing/Box.java: Fix setting of layout in ctor.
1072 * javax/swing/JScrollPane.java: Scroll headers as well.
1073 * javax/swing/JTable.java: Reimplement.
1074 * javax/swing/JViewPort.java: Only add non-null children.
1075 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1076 * javax/swing/Timer.java: Fix stopping null waker.
1077 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1078 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1079 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1080 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1081 * javax/swing/table/DefaultTableModel.java: Clean up.
1082 * javax/swing/table/JTableHeader.java: Implement.
1083
1084 2004-08-31 Mark Wielaard <mark@klomp.org>
1085
1086 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1087 semi-colon.
1088
1089 2004-08-31 Mark Wielaard <mark@klomp.org>
1090
1091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1092 Declare variables at top of functions/block.
1093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1094
1095 2004-08-31 Mark Wielaard <mark@klomp.org>
1096
1097 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1098 first.
1099
1100 2004-08-31 Michael Koch <konqueror@gmx.de>
1101
1102 * javax/swing/text/PlainView.java
1103 (selectedColor): New field.
1104 (unselectedColor): Likewise.
1105 (font): Likewise.
1106 (updateMetrics): New method.
1107 (lineToRect): Likewise.
1108 (modelToView): Likewise.
1109 (drawSelectedText): Use color from JTextComponent ad draw with
1110 Utilities class.
1111 (drawUnselectedText): Likewise.
1112 (paint): Initialize helper fields.
1113 * javax/swing/text/View.java
1114 (getChildAllocation): New method.
1115 (getViewIndex): Likewise.
1116 (getToolTipText): Likewise.
1117
1118 2004-08-31 Michael Koch <konqueror@gmx.de>
1119
1120 * javax/swing/text/Utilities.java
1121 (drawTabbedText): Reimplemented.
1122 (getTabbedTextWidth): Likewise.
1123
1124 2004-08-31 Michael Koch <konqueror@gmx.de>
1125
1126 * javax/swing/plaf/basic/BasicTextUI.java
1127 (installDefaults): Install caret and highlighter.
1128 (modelToView): Use Bias.Forward when calling sibling.
1129 * javax/swing/text/AbstractDocument.java
1130 (ElementEdit): Implements DocumentEvent.ElementChange.
1131 (ElementEdit.ElementEdit): New method.
1132 (ElementEdit.getChildrenAdded): Likewise.
1133 (ElementEdit.getChildrenRemoved): Likewise.
1134 (ElementEdit.getElement): Likewise.
1135 (ElementEdit.getIndex): Likewise.
1136 * javax/swing/text/DefaultCaret.java
1137 (color): Removed.
1138 (textComponent): Renamed from parent, made private.
1139 (selectionVisible): Renamed from vis_sel, made private.
1140 (blinkRate): Renamed from blink, made private.
1141 (magicCaretPosition): Renamed from magic, made private.
1142 (visible): Renamed from vis, made private.
1143 (dot): Made private.
1144 (mark): Likewise.
1145 (deinstall): Remove as MouseMotionListener.
1146 (install): Initialize textComponent first. Add as MouseMotionListener.
1147 (paint): Reimplemented.
1148 * javax/swing/text/JTextComponent.java
1149 (setCaret): Deinstall old caret, install new one and fire property
1150 change after setting property.
1151 (setHighlighter): Deinstall old highlighter, install new one and fire
1152 property change after setting property.
1153 (setCaretColor): Fire property change after setting property.
1154 (setDisabledTextColor): Likewise.
1155 (setSelectedTextColor): Likewise.
1156 (setSelectionColor): Likewise.
1157 (modelToView): New method.
1158
1159 2004-08-31 Michael Koch <konqueror@gmx.de>
1160
1161 * javax/swing/text/AbstractDocument.java
1162 (getText): Simplified.
1163 * javax/swing/text/Segment.java
1164 (current): New field.
1165 (current): Reimplemented.
1166 (first): Likewise.
1167 (getIndex): Likewise.
1168 (last): Likewise.
1169 (next): Likewise.
1170 (previous): Likewise.
1171 (setIndex): Likewise.
1172
1173 2004-08-31 Michael Koch <konqueror@gmx.de>
1174
1175 * javax/swing/plaf/basic/BasicButtonUI.java
1176 (defaultTextIconGap): Made protected.
1177 (defaultTextShiftOffset): Likewise.
1178 (textShiftOffset): New field.
1179 (clearTextShiftOffset): New method.
1180 (getTextShiftOffset): Likewise.
1181 (setTextShiftOffset): Likewise.
1182
1183 2004-08-31 Michael Koch <konqueror@gmx.de>
1184
1185 * javax/swing/plaf/basic/BasicTextUI.java
1186 (installUI): Add eventHandler as property listener.
1187 (uninstallUI): remove eventHandler as propert listener.
1188 (installDefaults): Added comment.
1189 (installListeners): Likewise.
1190 (installKeyboardActions): Likewise.
1191 (uninstallDefaults): Likewise.
1192 (uninstallListeners): Likewise.
1193 (uninstallKeyboardActions): Likewise.
1194
1195 2004-08-31 Michael Koch <konqueror@gmx.de>
1196
1197 * javax/swing/text/AbstractDocument.java:
1198 Fixed some typos in comments.
1199 (insertString): Reimplemented.
1200 (remove): Likewise.
1201 (replace): New method.
1202 (children): Dont use fully qualified class name.
1203 (DefaultDocumentEvent.offset): Renamed from off.
1204 (DefaultDocumentEvent.length): Renamed from len.
1205 (DefaultDocumentEvent.type): New field.
1206 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1207 (DefaultDocumentEvent.getType): Implemented.
1208
1209 2004-08-31 Michael Koch <konqueror@gmx.de>
1210
1211 * javax/swing/plaf/basic/BasicTextUI.java
1212 (RootView.textComponent): Removed.
1213 (RootView.RootView): Don't initialize textComponent.
1214 (RootView.getViewFactory): New method.
1215 (EventHandler): New inner class.
1216 (rootView): Initialize at instance creation.
1217 (eventHandler): New field.
1218 (installUI): Don't create view hierarchy directly,
1219 call modelChanged() instead.
1220 (modelChanged): New method.
1221 * javax/swing/text/JTextComponent.java
1222 (setDocument): Fire property change event.
1223
1224 2004-08-31 Michael Koch <konqueror@gmx.de>
1225
1226 * javax/swing/plaf/basic/BasicTextUI.java
1227 (RootView.paint): Removed debug output.
1228 (paintSafely): Draw highlighter before text.
1229 (paintBackground): Use background color of text component.
1230 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1231 Reformatted.
1232
1233 2004-08-31 Michael Koch <konqueror@gmx.de>
1234
1235 * javax/swing/plaf/basic/BasicToolBarUI.java
1236 (BasicToolBarUI): Fixed arguments for constructor.
1237 (createUI): Fixed creation of object.
1238
1239 2004-08-31 Michael Koch <konqueror@gmx.de>
1240
1241 * javax/swing/DefaultListSelectionModel.java
1242 (fireValueChanged): Renamed from fireSelectionValueChanged,
1243 made protected.
1244
1245 2004-08-31 Michael Koch <konqueror@gmx.de>
1246
1247 * javax/swing/text/TabSet.java
1248 (TabSet): Implements java.io.Serializable.
1249 * javax/swing/text/TabStop.java
1250 (TabStop): Implements java.io.Serializable.
1251 (TabStop): Made public.
1252
1253 2004-08-31 Michael Koch <konqueror@gmx.de>
1254
1255 * javax/swing/JComponent.java
1256 (setUI): Fire PropertyChange.
1257 * javax/swing/JLabel.java
1258 (text): Renamed from labelText.
1259 (horizontalAlignment): New default vlaue.
1260 (icon): Renamed from activeIcon.
1261 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1262 (displayedMnemonicIndex): Renamed from underlineChar.
1263 (setDisplayedMnemonic): Reimplemented.
1264 * javax/swing/JRadioButton.java
1265 (JRadioButton): New constructors.
1266 * javax/swing/JTextField.java
1267 (JTextField): Throw exception if colums < 0, initialitialz
1268 this.columns directly and initialize document with text conditionally.
1269
1270 2004-08-31 Michael Koch <konqueror@gmx.de>
1271
1272 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1273 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1274 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1275 * javax/swing/text/FieldView.java
1276 (paint): Just call super method for now.
1277 * Makefile.am: Added new files.
1278 * Makefile.in: Regenerated.
1279
1280 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1281
1282 * javax/swing/AbstractSpinnerModel.java,
1283 javax/swing/JSpinner.java,
1284 javax/swing/SpinnerNumberModel.java,
1285 javax/swing/plaf/basic/BasicSpinnerUI.java:
1286 New files.
1287 * javax/swing/plaf/basic/BasicLookAndFeel.java
1288 (initClassDefaults): Added defaults for BasicSpinnerUI.
1289
1290 2004-08-31 Michael Koch <konqueror@gmx.de>
1291
1292 * Makefile.am: Added new files.
1293 * Makefile.in: Regenerated.
1294
1295 2004-08-31 Michael Koch <konqueror@gmx.de>
1296
1297 * javax/swing/TransferHandler.java,
1298 javax/swing/plaf/basic/ComboPopup.java: New files
1299 * Makefile.am: Added javax/swing/TransferHandler.java and
1300 javax/swing/plaf/basic/ComboPopup.java
1301 * Makefile.in: Regenerated.
1302
1303 2004-08-31 Roman Kennke <roman@ontographics.com>
1304
1305 * javax/swing/text/Utilities.java: New file.
1306
1307 2004-08-31 Michael Koch <konqueror@gmx.de>
1308
1309 * Makefile.am: Added javax/swing/text/Utilities.java.
1310 * Makefile.in: Regenerated.
1311
1312 2004-08-31 Graydon Hoare <graydon@redhat.com>
1313
1314 * javax/swing/text/SimpleAttributeSet.java: New file.
1315 * javax/swing/text/StyleConstants.java: New file.
1316 * javax/swing/text/StyleContext.java: New file.
1317 * javax/swing/text/TabSet.java: New file.
1318 * javax/swing/text/TabStop.java: New file.
1319 * javax/swing/text/AbstactDocument.java:
1320 (AbstractElement): Implement attribute support.
1321 * javax/swing/text/AttributeSet.java
1322 (NameAttribute): New static field.
1323 (ResolveAttribute): New static field.
1324 * Makefile.am: Update for new files.
1325 * Makefile.in: Regenerate.
1326
1327 2004-08-31 Craig Black <craig.black@aonix.com>
1328
1329 * gnu/java/awt/peer/gtk/GdkGraphics.java
1330 (drawImage): Add support for scaling pixmaps.
1331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1332 (copyAndScalePixmap): New native method.
1333
1334 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1335
1336 PR AWT/16121
1337 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1338 type-punning compiler warnings using unions.
1339 (throw): Replace bzero with memset.
1340
1341 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1342 Thomas Fitzsimmons <fitzsim@redhat.com>
1343
1344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1345 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1346 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1348 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1349
1350 2004-08-31 Mark Wielaard <mark@klomp.org>
1351
1352 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1353 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1354 and stdlib.h, not gtkpeer.h.
1355 (*vm): New static variable.
1356 (areaPreparedID): Make static.
1357 (areaUpdatedID): Likewise.
1358 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1359 (area_prepared): Likewise.
1360 (area_updated): Likewise.
1361 (closed): Likewise.
1362 (initStaticState): Initialize *vm javaVM.
1363 (pumpBytes): Use given env, not global gdk_env.
1364
1365 2004-08-31 Mark Wielaard <mark@klomp.org>
1366
1367 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1368 comments.
1369
1370 2004-08-31 Sven de Marothy <sven@physto.se>
1371
1372 * java/awt/geom/CubicCurve2D.java: Reindent.
1373 (contains): Implemented.
1374 (intersects): Implemented.
1375 * java/awt/geom/QuadCurve2D.java: Likewise.
1376 * java/awt/geom/GeneralPath.java: Reindent and document.
1377 Fully (re)implemented using separate xpoints and ypoints
1378 float[] coords.
1379 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1380
1381 2004-08-31 Michael Koch <konqueror@gmx.de>
1382
1383 * javax/swing/JMenuItem.java
1384 (getMenuDragMouseListeners): New method.
1385 (getMenuKeyListeners): Likewise.
1386
1387 2004-08-31 Michael Koch <konqueror@gmx.de>
1388
1389 * javax/swing/AbstractButton.java
1390 (model): Made protected.
1391 (actionListener): Likewise.
1392 (changeListener): Likewise.
1393 (itemListener): Likewise.
1394 (multiClickThreshhold): New field.
1395 (getActionListeners): New method.
1396 (getChangeListeners): Likewise.
1397 (getItemListeners): Likewise.
1398 (fireItemStateChanged): Simplified implementation.
1399 (fireActionPerformed): Likewise.
1400 (fireStateChanged): Likewise.
1401 (getMultiClickThreshhold): New method.
1402 (setMultiClickThreshhold): Likewise.
1403
1404 2004-08-31 Tom Tromey <tromey@redhat.com>
1405
1406 * java/awt/image/Kernel.java (clone): Use super.clone().
1407
1408 2004-08-31 David Jee <djee@redhat.com>
1409
1410 PR AWT/16682
1411 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1412 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1413 (nativeSetIconImageFromData): New native method declaration.
1414 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1415 * gnu/java/awt/peer/gtk/GtkImage.java
1416 (getPixelCache): New method.
1417 (getColorModel): New method.
1418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1419 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1420 (free_pixbuf_data): New helper function.
1421 (nativeSetIconImageFromData): New function.
1422
1423 2004-08-31 Graydon Hoare <graydon@redhat.com>
1424
1425 PR SWING/16576
1426 * javax/swing/JLayeredPane.java
1427 (setLayer): Permit changing layer after addition.
1428 (setPosition): Permit over-length positions.
1429 (layerToRange): Compare intValue()s.
1430 * javax/swing/Box.java (createHorizontalBox): Implement.
1431 (createRigidArea): Likewise.
1432 (createVerticalBox): Likewise.
1433
1434 2004-08-31 Kim Ho <kho@redhat.com>
1435
1436 * java/awt/Component.java:
1437 (processMouseEvent): Consume event after
1438 listeners process it.
1439 (processMouseMotionEvent): ditto.
1440 (processMouseWheelEvent): ditto.
1441 * java/awt/Container.java:
1442 (acquireComponentForMouseEvent):
1443 Do not dispatch to events that have been
1444 removed from the Container.
1445 (handleEvent): Consume the MouseEvents.
1446 * javax/swing/RepaintManager.java:
1447 (paintDirtyRegions): Do not add to list of
1448 damaged areas if the component has no root.
1449
1450 2004-08-31 Michael Koch <konqueror@gmx.de>
1451
1452 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1453
1454 2004-08-31 Mark Wielaard <mark@klomp.org>
1455
1456 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1457 null when a MissingResourceException is thrown. Should never happen.
1458
1459 2004-08-31 Mark Wielaard <mark@klomp.org>
1460
1461 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1462 when argument is null.
1463
1464 2004-08-31 Mark Wielaard <mark@klomp.org>
1465
1466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1467 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1468 Define hid at start of function.
1469 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1470 Likewise.
1471
1472 2004-08-31 Mark Wielaard <mark@klomp.org>
1473
1474 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1475 * javax/swing/JButton.java: Reindent.
1476 * javax/swing/JCheckBox.java: Reindent.
1477
1478 2004-08-31 Mark Wielaard <mark@klomp.org>
1479
1480 * Makefile.am (gtk_c_source_files): Added
1481 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1482 (gtk_awt_peer_sources): Added
1483 gnu/java/awt/peer/gtk/GThreadMutex.java and
1484 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1485 * Makefile.in: Regenerated.
1486
1487 2004-08-31 Archie Cobbs <archie@dellroad.org>
1488
1489 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1490
1491 2004-08-31 Steven Augart <augart@watson.ibm.com>
1492
1493 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1494 Added jfieldID, jmethodID.
1495
1496 2004-08-31 Mark Wielaard <mark@klomp.org>
1497
1498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1499 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1500 gdk_env before calling any gdk or gtk function.
1501
1502 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1503 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1504 (run): Set gtkInitCalled.
1505
1506 2004-08-31 Steven Augart <augart@watson.ibm.com>
1507
1508 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1509 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1510
1511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1512 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1513 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1514 init_glib_threads.
1515 (init_glib_threads): New function.
1516
1517 2004-08-31 Mark Wielaard <mark@klomp.org>
1518
1519 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1520 PRIORITY when not already defined in header file.
1521
1522 2004-08-31 Mark Wielaard <mark@klomp.org>
1523
1524 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1525 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1526
1527 2004-08-31 Steven Augart <augart@watson.ibm.com>
1528
1529 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1530 Implemented missing functions for GTK2.
1531 Added error handling.
1532 Renamed static functions out of the g_ namespace.
1533 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1534 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1535 Rewrote global-reference code.
1536 Eliminated cascading errors.
1537 (mutex_trylock_jni_impl) Fully implemented.
1538 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1539 resolution.
1540 (setup_cache) New function.
1541 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1542 bug where they were not unlocking the GMutex associated with the
1543 condition variable during the wait on that condition variable.
1544
1545 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1546 native/jni/gtk-peer/gthread-jni.c,
1547 native/jni/gtk-peer/gthread-jni.h
1548 (g_thread_jni_functions): Renamed to ...
1549 (portable_native_sync_jni_functions): this name.
1550 (gdk_vm): Renamed to...
1551 (the_vm): this name.
1552
1553 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1554 (gdk_vm): Removed duplicate definition.
1555 (gtkInit): Removed stray message to stdout.
1556 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1557 (gtkInit): Fix a const assignment bug.
1558 (gtkInit): Simplified code.
1559
1560 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1561 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1562 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1563 gnu/java/awt/peer/gtk/GThreadMutex.java:
1564 New files.
1565
1566 2004-08-31 Mark Wielaard <mark@klomp.org>
1567
1568 * javax/swing/Box.java: Put FIXME comment above class declaration.
1569 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1570 * javax/swing/JCheckBox.java: Likewise.
1571 * javax/swing/JDialog.java: Likewise.
1572 * javax/swing/JRadioButton.java: Likewise.
1573 * javax/swing/JToggleButton.java: Likewise.
1574 * javax/swing/UIManager.java: Likewise.
1575 * javax/swing/border/TitledBorder.java: Likewise.
1576 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1577 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1578 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1579 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1580 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1581 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1582 * javax/swing/text/JTextComponent.java: Likewise.
1583
1584 2004-08-31 David Jee <djee@redhat.com>
1585
1586 PR AWT/16682
1587 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1588 (setIconImage): Add a FIXME for unhandled cases.
1589
1590 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1591
1592 PR AWT/16040
1593 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1594 getModifiers. Replace old button masks with new ones.
1595 * gnu/awt/xlib/XEventLoop.java: Likewise.
1596 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1597 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1598 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1599 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1600 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1601 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1602 * java/awt/Component.java: Replace old modifier masks with new
1603 ones.
1604 * java/awt/Container.java: Call getModifiersEx, not
1605 getModifiers.
1606 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1607 old modifier masks.
1608 * javax/swing/JMenuItem.java: Replace old button masks with new
1609 ones.
1610 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1611 getModifiers.
1612 * javax/swing/SwingUtilities.java: Likewise.
1613 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1614 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1616 mask macros with new ones.
1617 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1618 macros with new ones representing new masks.
1619
1620 2004-08-31 Craig Black <craig.black@aonix.com>
1621
1622 * gnu/java/awt/peer/gtk/GdkGraphics.java
1623 (drawRoundRect): Implemented.
1624 (fillRoundRect): Implemented.
1625 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1626 (drawRoundRect): Reimplemented to match GdkGraphics.
1627 (fillRoundRect): Reimplemented to match GdkGraphics.
1628
1629 2004-08-31 Mark Wielaard <mark@klomp.org>
1630
1631 * Makefile.in: Regenerated.
1632
1633 2004-08-31 Michael Koch <konqueror@gmx.de>
1634
1635 * gnu/java/awt/EmbeddedWindow.java
1636 (addNotify): Use AccessController to allow execution of privileged
1637 code.
1638
1639 2004-08-31 Michael Koch <konqueror@gmx.de>
1640
1641 * gnu/java/awt/EmbeddedWindow.java
1642 (static): Removed.
1643 (addNotify): Set peer via reflection.
1644 (setWindowPeer): Removed.
1645 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1646 * Makefile.am (nat_source_files):
1647 Removed gnu/java/awt/natEmbeddedWindow.cc.
1648
1649 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1650
1651 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1652 and gnu/java/security/action/SetAccessibleAction.java.
1653
1654 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1655
1656 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1657 Renamed from 'setName'. New 2-argument form with default value.
1658 (run): Pass default 'value' parameter to System.getProperty().
1659 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1660 typos.
1661
1662 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1663
1664 * gnu/java/security/action/GetPropertyAction.java: New class.
1665 * gnu/java/security/action/SetAccessibleAction.java: New class.
1666
1667 2004-08-31 David Jee <djee@redhat.com>
1668
1669 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1670 (setIconImage): Check if image is null.
1671
1672 2004-08-31 David Jee <djee@redhat.com>
1673
1674 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1675 (create): Set the icon image.
1676 (nativeSetIconImage): New native method declaration.
1677 (setIconImage): Implement.
1678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1679 (nativeSetIconImage): New function.
1680
1681 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1682
1683 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1684 (filenameFilterCallback): Declare local variable accepted before use.
1685
1686 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1687
1688 * gnu/java/awt/ComponentDataBlitOp.java:
1689 Cleaned up imports.
1690
1691 2004-08-31 Tom Tromey <tromey@redhat.com>
1692
1693 * gnu/java/awt/peer/GLightweightPeer.java,
1694 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1695 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1696 javax/swing/JScrollPane.java: Removed
1697 redundant imports.
1698
1699 2004-08-31 David Jee <djee@redhat.com>
1700
1701 * java/awt/DefaultKeyboardFocusManager.java
1702 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1703 event. Fix shift modifier checking.
1704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1705 (accel_attach): Remove.
1706 (setupAccelGroup): Remove calls to accel_attach.
1707
1708 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1709
1710 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1711 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1712
1713 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1714 GtkArgList.java.
1715 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1716 * Makefile.in: Regenerate.
1717 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1719 (create(String)): New method.
1720 (create): Call new create method.
1721 (getArgs): Remove method.
1722 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1723 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1724 (nativeCreate): Rename to create.
1725 (gtkSetLabel): Rename to gtkButtonSetLabel.
1726 (gtkToggleButtonSetActive): New method.
1727 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1728 (setState): Replace set call with gtkToggleButtonSetActive.
1729 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1730 (getArgs): Remove method.
1731 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1732 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1733 (gtkWidgetSetSensitive): New method.
1734 (gtkWidgetSetParent): Likewise.
1735 (GtkComponentPeer): Call setParent, setComponentBounds and
1736 setVisibleAndEnabled.
1737 (setParent): New method.
1738 (setComponentBounds): New method.
1739 (setVisibleAndEnabled): New method.
1740 (setEnabled): Call gtkWidgetSetSensitive.
1741 (getArgs): Remove method.
1742 Remove all set methods.
1743 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1744 gtkWindowSetModal, setTitle and setResizable.
1745 (getArgs): Remove method.
1746 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1747 (setComponentBounds): New method.
1748 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1749 Replace set call with gtkWindowSetResizable.
1750 (getArgs): Remove method.
1751 (create): Call setTitle and setResizable.
1752 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1753 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1754 (gtkWindowSetTitle): New method.
1755 (gtkWindowSetResizable): New method.
1756 (gtkWindowSetModal): New method.
1757 (setParent): New method.
1758 (setVisibleAndEnabled): New method.
1759 (getArgs): Remove method.
1760 (setTitle): Call gtkWindowSetTitle.
1761 (setResizable): Call gtkWindowSetResizable.
1762 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1763 and off locking instrumentation.
1764
1765 2004-08-31 Kim Ho <kho@redhat.com>
1766
1767 * Makefile.am: Add new file.
1768 * Makefile.in: Regenerate.
1769 * gcj/Makefile.in: Regenerate
1770 * include/Makefile.in:
1771 * java/awt/Container.java:
1772 (acquireComponentForMouseEvent): Respect
1773 the event mask when looking for candidate.
1774 * javax/swing/JComponent.java:
1775 Remove toolTip field.
1776 (createToolTip): Create a tooltip on demand.
1777 (setToolTipText): Register with the ToolTipManager.
1778 (getToolTipText(MouseEvent)): Return getToolTipText().
1779 * javax/swing/JToolTip.java: Implement.
1780 * javax/swing/Timer.java: Jalopy.
1781 (restart): Call stop, then start.
1782 (stop): Interrupt the timer rather than wait for
1783 the timer to come to a stop naturally.
1784 * javax/swing/ToolTipManager.java: Implement.
1785 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1786 Change ToolTip.background color.
1787 * javax/swing/plaf/basic/BasicToolTipUI.java:
1788 Implement.
1789 * testsuite/Makefile.in: Regenerate
1790
1791 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1792
1793 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1794 constructor param comments.
1795
1796 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1797
1798 * java/awt/Component.java: Document AWT 1.0 event handler
1799 methods.
1800
1801 2004-08-31 Roman Kennke <roman@ontographics.com>
1802
1803 * javax/swing/Box.java:
1804 (createGlue): Implemented
1805 (createHorizontalGlue): Implemented
1806 (createHorizontalStrut): Implemented
1807 (createVerticalGlue): Implemented
1808 (createVerticalStrut): Implemented
1809
1810 2004-08-31 David Jee <djee@redhat.com>
1811
1812 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1813 (GtkChoicePeer): Do not automatically select first item.
1814 (getHistory): Remove.
1815 (nativeGetSelected): New method.
1816 (nativeRemoveAll): New method.
1817 (add): Use nativeGetSelected() instead of getHistory().
1818 (remove): Likewise.
1819 (removeAll): Call nativeRemoveAll().
1820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1821 (create): Migrate to GtkComboBox.
1822 (append): Likewise.
1823 (nativeAdd): Likewise.
1824 (nativeRemove): Likewise.
1825 (select): Likewise.
1826 (nativeRemoveAll): New method.
1827 (nativeGetSelected): New method.
1828 (selection_changed): New method.
1829 (getHistory): Remove.
1830 (item_activate): Remove.
1831 (item_removed): Remove.
1832 (connect_choice_item_selectable_hook): Remove.
1833
1834 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1835
1836 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1837 variable in setEditable call.
1838
1839 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1840 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1841 (gtkWidgetSetBackground): New method.
1842 (gtkWidgetSetForeground): Likewise.
1843 (create): Set peer's editable state based on awtComponent's.
1844
1845 * java/awt/Button.java (Button()): Use empty string rather than
1846 null in no-label constructor.
1847
1848 2004-08-31 Roman Kennke <roman@ontographics.com>
1849
1850 * javax/swing/BoxLayout.java: Reimplement.
1851
1852 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1853
1854 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1855 gnu_java_awt_peer_gtk_GdkGraphics.c
1856 (initState(GtkComponentPeer)): Don't return array of colour
1857 values.
1858 (GdkGraphics(int,int)): Set default font to size 12.
1859 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1860 component's foreground colour.
1861 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1862 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1863 (initState(GtkComponentPeer)): Don't return array of colour
1864 values.
1865 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1866 colours to component's colours.
1867 (current_colors_of_widget): Remove function.
1868 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1869 Return a new graphics object.
1870 * java/awt/Font.java (toString): Fix format.
1871 * java/awt/Graphics.java (toString): Likewise.
1872
1873 2004-08-31 Craig Black <craig.black@aonix.com>
1874
1875 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1876 (addTearOff): New function.
1877 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1878 New native method.
1879 (init): Call addTearOff() when menu.isTearOff().
1880
1881 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1882
1883 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1884 Default implementation.
1885 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1886 Implement using GdkPixbufDecoder.
1887
1888 2004-08-31 David Jee <djee@redhat.com>
1889
1890 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1891 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1892 setting the size of GtkFileDialogPeers.
1893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1894 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1895 use their default sizes rather than their natural requisitions.
1896
1897 2004-08-31 Michael Koch <konqueror@gmx.de>
1898
1899 * javax/swing/JFormattedTextField.java
1900 (JFormattedTextField): Implemented.
1901 * javax/swing/text/DefaultEditorKit.java
1902 (BeepAction): New inner class.
1903 * javax/swing/text/Segment.java
1904 (partialReturn): New field.
1905 (setPartialReturn): New method.
1906 (isPartialReturn): Likewise.
1907 * javax/swing/text/View.java
1908 (createFragment): Fixed typo.
1909 (getStartOffset): New method.
1910 (getEndOffset): Likewise.
1911
1912 2004-08-31 Michael Koch <konqueror@gmx.de>
1913
1914 * javax/swing/table/DefaultTableColumnModel.java
1915 (serialVersionUID): Made private.
1916 (listenerList): Initialize.
1917 (changeEvent): Initialize.
1918 * javax/swing/table/JTableHeader.java
1919 (JTableHeader): New constructors.
1920 (createDefaultColumnModel): New method.
1921 * javax/swing/table/TableColumn.java
1922 (setHeaderRenderer): Simplified code.
1923 (setCellRenderer): Likewise.
1924 (setWidth): Likewise.
1925
1926 2004-08-31 Tom Tromey <tromey@redhat.com>
1927
1928 * java/text/AttributedString.java (AttributedString): Use
1929 ArrayList to build array of attribute ranges. Don't use
1930 `attribs' before it is set.
1931
1932 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1933
1934 * HACKING: Remove reference to special automake. No longer needed.
1935
1936 2004-08-30 Tom Tromey <tromey@redhat.com>
1937
1938 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1939 return result from `add'.
1940
1941 2004-08-30 Tom Tromey <tromey@redhat.com>
1942
1943 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1944
1945 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1946
1947 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1948
1949 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1950
1951 * java/io/File.java File(String,String): Fixed handling of empty
1952 path.
1953
1954 2004-08-30 Casey Marshall <csm@gnu.org>
1955
1956 Author e-mail updated for all files.
1957 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1958 instance of OID.
1959 (compareTo): Use `equals'.
1960 * gnu/java/security/der/BitString.java (equals): Test if the
1961 argument is an instance of BitString.
1962 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1963 class final. Made fields private.
1964 (<init>): New constructor.
1965 (skip): New method.
1966 (makeString): Made static; don't use NIO.
1967 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1968 * gnu/java/security/der/DERWriter.java: Fixed imports.
1969 (writeString): Don't use NIO.
1970 (toIso88591, toUtf16Be, toUtf8): New methods.
1971 * gnu/java/security/der/DERValue.java: Formatting changes only.
1972 * gnu/java/security/der/DER.java: Likewise.
1973
1974 2004-08-30 Tom Tromey <tromey@redhat.com>
1975
1976 * java/nio/CharBuffer.java (put): Fix typo.
1977 * java/nio/DoubleBuffer.java (put): Fix typo.
1978 * java/nio/FloatBuffer.java (put): Fix typo.
1979 * java/nio/IntBuffer.java (put): Fix typo.
1980 * java/nio/LongBuffer.java (put): Fix typo.
1981 * java/nio/ShortBuffer.java (put): Fix typo.
1982
1983 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
1984
1985 * java/nio/ByteBuffer.java (put): Fix typo.
1986
1987 2004-08-30 Casey Marshall <csm@gnu.org>
1988
1989 * java/security/DummyKeyPairGenerator.java (clone): Removed
1990 useless instanceof check.
1991 * java/security/DummyMessageDigest.java (clone): Likewise.
1992 * java/security/DummySignature.java (clone): Likewise.
1993 * java/security/MessageDigest.java (clone): Remove useless
1994 instanceof check.
1995 * java/security/MessageDigestSpi.java (clone): Likewise.
1996 * java/security/Signature.java (clone): Provide meaningful
1997 implementation.
1998 * java/security/SignatureSpi.java (clone): Likewise.
1999
2000 2004-08-29 Mark Wielaard <mark@klomp.org>
2001
2002 * java/util/Arrays.java
2003 (sort(byte[], int, int)): Check fromIndex < 0.
2004 (sort(char[], int, int)): Likewise.
2005 (sort(short[], int, int)): Likewise.
2006 (sort(int[], int, int)): Likewise.
2007 (sort(long[], int, int)): Likewise.
2008 (sort(float[], int, int)): Likewise.
2009 (sort(double[], int, int)): Likewise.
2010 (sort(Object[], int, int, Comparator)): Likewise.
2011 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2012 (qsort(char[], int, int)): Likewise.
2013 (qsort(short[], int, int)): Likewise.
2014 (qsort(int[], int, int)): Likewise.
2015 (qsort(long[], int, int)): Likewise.
2016 (qsort(float[], int, int)): Likewise.
2017 (qsort(double[], int, int)): Likewise.
2018
2019 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2020
2021 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2022 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2023 java/util/ArrayList.java, java/util/Arrays.java,
2024 java/util/BitSet.java, java/util/Calendar.java,
2025 java/util/Collection.java, java/util/ListIterator.java,
2026 java/util/Map.java, java/util/SortedSet.java:
2027 Added additional exceptions to documentation, along
2028 with some additions and corrections.
2029
2030 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2031
2032 * configure.ac: Handle --enable-gc-debug.
2033 * configure: Regenerate.
2034 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2035 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2036 Rearrange include file order.
2037 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2038 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2039 (disable_gc_mutex): Delete along with all references.
2040 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2041 adjust for debug header size.
2042 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2043 debug case.
2044 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2045 (gcj_describe_type_fn): New.
2046 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2047 Register gcj_describe_type_fn.
2048 * include/boehm-gc.h:
2049 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2050 Don't define, but declare, for debug case.
2051 * java/lang/natObject.cc:
2052 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2053
2054 2004-08-26 Mark Wielaard <mark@klomp.org>
2055
2056 Fixes PR libgcj/17002:
2057 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2058 a TimeZoneId string and then try to convert that to a TimeZone with
2059 getDefaultSystemTimeZone(String).
2060 (timezones0): Changed type from Hashtable to HashMap.
2061 (timezones): Create HashMap, not Hashtable.
2062 (getDefaultTimeZone): New method, rewritten from CNI version.
2063 (readTimeZoneFile): New method.
2064 (readtzFile): Likewise.
2065 (skipFully): Likewise.
2066 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2067 getDefaultTimeZoneId and rewritten.
2068 (getDefaultTimeZoneId): Rewritten in java.
2069
2070 2004-08-25 David Daney <daney@avtrex.com>
2071
2072 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2073 * Makefile.in: Regenerated.
2074
2075 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2076
2077 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2078 only if jvmpi is enabled.
2079 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2080 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2081 (_Jv_AllocString): Likewise.
2082 (_Jv_AllocPtrFreeObject): Likewise.
2083
2084 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2085
2086 * defineclass.cc: Include <stdio.h>.
2087 * java/lang/natClassLoader.cc: Include <stdio.h>.
2088
2089 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2090 Michael Koch <konqueror@gmx.de>
2091
2092 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2093 * Makefile.in: Regenerated.
2094
2095 2004-08-20 Michael Koch <konqueror@gmx.de>
2096
2097 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2098 AC_COMPILE_IFELSE macros.
2099
2100 2004-08-20 Michael Koch <konqueror@gmx.de>
2101
2102 * configure.in: Renamed to configure.ac.
2103 * configure.ac: New file.
2104 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2105 include/config.h.in, testsuite/Makefile.in: Regenerated.
2106
2107 2004-08-20 Michael Koch <konqueror@gmx.de>
2108
2109 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2110 * aclocal.m4, configure: Regenerated.
2111
2112 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2113 Michael Koch <konqueror@gmx.de>
2114
2115 * configure.in, Makefile.am: Ported to automake 1.9.
2116 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2117 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2118 Regenerated.
2119
2120 2004-08-19 Tom Tromey <tromey@redhat.com>
2121
2122 * java/net/DatagramSocket.java: Fixed typo.
2123
2124 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2125
2126 PR libgcj/17081
2127 * java/net/URI.java (string): New field. Make all other fields
2128 transient.
2129 (readObject): Implemented.
2130 (writeObject): Implemented.
2131 (URI): Set 'string'.
2132
2133 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2134
2135 PR libgcj/17079
2136 * java/util/logging/Handler.java (isLoggable): Accept record if its
2137 log level equals the threshold level. From Robin Green.
2138
2139 2004-08-18 David Daney <ddaney@avtrex.com>
2140
2141 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2142 instead of sigwait.
2143
2144 2004-08-17 Michael Koch <konqueror@gmx.de>
2145
2146 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2147 * Makefile.in: Regenerated.
2148
2149 2004-08-16 Tom Tromey <tromey@redhat.com>
2150
2151 PR java/8473:
2152 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2153
2154 2004-08-16 Michael Koch <konqueror@gmx.de>
2155
2156 * Makefile.am
2157 (math_c_files): Renamed from c_files.
2158 (math_c_source_files): Renamed from c_source_files.
2159 * Makefile.in,
2160 gcj/Makefile.in,
2161 include/Makefile.in,
2162 testsuite/Makefile.in: Regenerated.
2163
2164 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2165
2166 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2167 to avoid autoconf warning.
2168 * configure: Rebuilt.
2169
2170 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2171
2172 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2173 localhostAddress to loopbackAddress.
2174 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2175
2176 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2177
2178 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2179 boehm-gc's include dirs.
2180 * configure: Rebuilt.
2181 * include/boehm-gc.h: Include gc_config.h.
2182
2183 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2184
2185 * java/net/InetAddress.java (loopbackAddress): Renamed from
2186 localhostAddress.
2187 (getByName): Return loopback address for null hostname, without
2188 security check. Use lookup(), not getAllByName.
2189 (getAllByName): Return loopback address for null hostname, without
2190 security check.
2191 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2192 check here.
2193
2194 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2195
2196 PR libgcj/17020
2197 Reported by Robin Green.
2198 * defineclass.cc (handleField): Don't throw exception on unrecognised
2199 modifier. Add FIXME comments for spec compliance.
2200 (handleMethod): Likewise.
2201
2202 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2203
2204 PR libgcj/16662
2205 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2206 (Almost everywhere): add LOG calls, fix, add comments.
2207 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2208 Add explicit check for LOCKED bit in slow case (PR 16662).
2209 (_Jv_MonitorExit): Add casts in debug-only code.
2210 Always release LOCKED bit before throwing exception.
2211 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2212 isn't. Handle easy cases without lock acquisition.
2213 (Object::wait): Use NotifyAll for lock inflation.
2214
2215 2004-08-12 David Daney <ddaney@avtrex.com>
2216
2217 * testsuite/libjava.lang/Process_1.java: New test.
2218 * testsuite/libjava.lang/Process_2.java: New test.
2219 * testsuite/libjava.lang/Process_3.java: New test.
2220 * testsuite/libjava.lang/Process_4.java: New test.
2221 * testsuite/libjava.lang/Process_5.java: New test.
2222 * testsuite/libjava.lang/Process_6.java: New test.
2223 * testsuite/libjava.lang/Process_1.out: Expected result.
2224 * testsuite/libjava.lang/Process_2.out: Expected result.
2225 * testsuite/libjava.lang/Process_3.out: Expected result.
2226 * testsuite/libjava.lang/Process_4.out: Expected result.
2227 * testsuite/libjava.lang/Process_5.out: Expected result.
2228 * testsuite/libjava.lang/Process_6.out: Expected result.
2229
2230 2004-08-12 David Daney <ddaney@avtrex.com>
2231
2232 PR libgcj/11801
2233 * java/lang/PosixProcess.java: Rewrote.
2234 * java/lang/natPosixProcess.cc: Rewrote.
2235 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2236 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2237 * posix-threads.cc (block_sigchld) New function.
2238 (_Jv_ThreadRegister) Use it.
2239 (_Jv_ThreadStart) Use it.
2240 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2241 * Makefile.am: ... to specify extra native headers.
2242 * configure: Regenerated.
2243 * include/config.h: Regenerated.
2244 * Makefile.in: Regenerated.
2245 * gcj/Makefile.in: Regenerated.
2246 * include/Makefile.in: Regenerated.
2247 * testsuite/Makefile.in: Regenerated.
2248
2249 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2250
2251 PR tree-optimization/16867
2252 * testsuite/libjava.lang/PR16867.java: New test.
2253
2254 2004-08-09 Per Bothner <per@bothner.com>
2255
2256 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2257 with private fields and access methods.
2258 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2259 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2260 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2261 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2262 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2263 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2264 * jni.cc: Likewise.
2265 * resolve.cc: Likewise.
2266 * gcj/field.h: Likewise.
2267 * include/jvm.h: Likewise.
2268 * java/lang/Class.h: Likewise.
2269 * java/lang/natClass.cc: Likwise.
2270 * java/lang/natClassLoader.cc: Likewise
2271 * java/lang/reflect/natMethod.cc: Likewise
2272 * verify.cc: Likewise.
2273 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2274 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2275
2276 2004-08-10 Andrew Haley <aph@redhat.com>
2277
2278 * testsuite/libjava.lang/err14.java: New file.
2279 * testsuite/libjava.lang/err14.out: New file.
2280
2281 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2282
2283 * Makefile.am: Fix missing rename from x_nat_headers to
2284 xlib_nat_headers.
2285 * Makefile.in: Regenerated.
2286
2287 2004-08-04 Andrew Haley <aph@redhat.com>
2288
2289 * java/security/BasicPermission.java: Don't check wildcards.
2290
2291 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2292 Michael Koch <konqueror@gmx.de>
2293
2294 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2295 * configure.in: Replaced all usages of AC_LINK_FILES by
2296 AC_CONFIG_LINKS.
2297 * aclocal.m4,
2298 configure: Regenerated.
2299
2300 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2301 Michael Koch <konqueror@gmx.de>
2302
2303 * acconfig.h: Removed.
2304 * Makefile.am: Rename variables for xlib peer to include xlib and
2305 gtk_c_headers to gtk_jni_headers.
2306 * Makefile.in: Regenerated.
2307
2308 2004-08-04 Andrew Haley <aph@redhat.com>
2309
2310 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2311 debugging.
2312
2313 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2314
2315 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2316 Replace most top level 'dnl' comments with '#' comments, conforming
2317 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2318 help strings.
2319 * configure: Rebuilt.
2320
2321 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2322
2323 * acinclude.m4: Include no-executables.m4.
2324 * aclocal.m4: Rebuild.
2325 * configure.in: Convert to the autoconf 2.59 version of
2326 of the no-executables hack, and also of the nonstandard CXX
2327 hack and the multilibbed CC and CXX hack. Change prerequisite
2328 to autoconf 2.59.
2329 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2330 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2331 testsuite/Makefile.in: Regenerate.
2332
2333 2004-08-03 Tom Tromey <tromey@redhat.com>
2334
2335 * jni.cc: Reindented.
2336
2337 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2338
2339 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2340
2341 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2342
2343 * testsuite/libjava.compile/PR16701.java: New test.
2344
2345 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2346
2347 * java/util/Collection.java, java/util/List.java,
2348 java/util/Map.java, java/util/Set.java,
2349 java/util/SortedMap.java, java/util/SortedSet.java:
2350 Added additional exceptions to documentation.
2351
2352 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2353
2354 PR libgcj/16814
2355 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2356 * configure. Regenerate.
2357 * include/win32.h: Explicitly include winsock2.h
2358 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2359 Winsock api.
2360
2361 2004-07-30 Michael Koch <konqueror@gmx.de>
2362
2363 * java/util/zip/GZIPInputStream.java
2364 (GZIPInputStream): Increase buffer size to 4k.
2365 * java/util/zip/GZIPOutputStream.java
2366 (GZIPOutputStream): Likewise.
2367 * java/util/zip/Inflater.java
2368 (setInput): Merged formating with GNU classpath.
2369 * java/util/zip/InflaterInputStream.java
2370 (InflaterInputStream): Increase buffer size to 4k.
2371 (fill): Throw exception if stream ends early.
2372 (read): Merged endless-loop with GNU classpath.
2373 (skip): Increase buffer size to 2k.
2374
2375 2004-07-30 Michael Koch <konqueror@gmx.de>
2376
2377 * gnu/java/awt/EmbeddedWindow.java
2378 (addNotify): Use AccessController to allow execution of privileged
2379 code.
2380
2381 2004-07-29 Michael Koch <konqueror@gmx.de>
2382
2383 * gnu/java/lang/MainThread.java:
2384 Explicitely import used classes.
2385 (args): Make it type String[].
2386
2387 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2388
2389 * gnu/java/awt/ComponentDataBlitOp.java,
2390 gnu/java/beans/ExplicitBeanInfo.java,
2391 gnu/java/beans/IntrospectionIncubator.java,
2392 gnu/java/beans/editors/ColorEditor.java,
2393 gnu/java/beans/editors/FontEditor.java,
2394 gnu/java/beans/editors/NativeBooleanEditor.java,
2395 gnu/java/beans/editors/NativeByteEditor.java,
2396 gnu/java/beans/editors/NativeDoubleEditor.java,
2397 gnu/java/beans/editors/NativeFloatEditor.java,
2398 gnu/java/beans/editors/NativeIntEditor.java,
2399 gnu/java/beans/editors/NativeLongEditor.java,
2400 gnu/java/beans/editors/NativeShortEditor.java,
2401 gnu/java/beans/editors/StringEditor.java,
2402 gnu/java/io/ClassLoaderObjectInputStream.java,
2403 gnu/java/io/decode/Decoder.java,
2404 gnu/java/io/encode/Encoder.java,
2405 gnu/java/lang/ClassHelper.java,
2406 gnu/java/locale/Calendar.java,
2407 gnu/java/locale/Calendar_de.java,
2408 gnu/java/locale/Calendar_en.java,
2409 gnu/java/locale/Calendar_nl.java,
2410 gnu/java/locale/LocaleInformation_de.java,
2411 gnu/java/locale/LocaleInformation_en.java,
2412 gnu/java/locale/LocaleInformation_nl.java:
2413 Cleaned up imports.
2414
2415 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2416
2417 * README: Remove obsolete info. Update bug URL.
2418 * THANKS: Updated.
2419 * NEWS: Updated with news up to GCC 3.4 release.
2420
2421 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2422
2423 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2424 Renamed from 'setName'. New 2-argument form with default value.
2425 (run): Pass default 'value' parameter to System.getProperty().
2426 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2427 typos.
2428 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2429 not 'setName'.
2430
2431 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2432
2433 * configure.in: Check for minimum GTK version 2.4 requirement.
2434 * configure: Rebuilt.
2435
2436 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2437
2438 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2439 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2440 Reduce sleep time.
2441 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2442 compiler bug.
2443 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2444 address. Reduce sleep times. Synchronize with target threads before
2445 attempting to interrupt them. Don't try to calibrate yeild count,
2446 instead, always loop for a fixed time.
2447 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2448 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2449 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2450 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2451 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2452 * testsuite/libjava.lang/pr179.java: Likewise.
2453 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2454 time. Remove upper bounds check on sleep time.
2455
2456 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2457
2458 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2459 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2460
2461 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2462
2463 * java/io/File.java (toURI): Throw RuntimeException, not
2464 InternalError.
2465 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2466 class name, not instance.
2467
2468 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2469
2470 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2471 and gnu/java/security/action/SetAccessibleAction.java.
2472 * Makefile.in: Rebuilt.
2473
2474 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2475
2476 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2477 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2478 _Jv_InitPrimClass.
2479 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2480 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2481 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2482
2483 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2484
2485 * Makefile.am: Replace jar, rmic and rmiregistry references with
2486 gjar, grmic and grmiregistry.
2487 * configure.in: Likewise.
2488 * Makefile.in: Regenerate.
2489 * configure: Likewise.
2490 * gcj/Makefile.in: Likewise.
2491 * include/Makefile.in: Likewise.
2492 * testsuite/Makefile.in: Likewise.
2493
2494 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2495
2496 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2497 for privileged getProperty calls.
2498 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2499 SetAccessibleAction instead of anonymous class for doPrivileged call.
2500 (getMethod): Likewise.
2501 (setAccessible): New field. PrivilegedAction object to use when
2502 calling setAccessible.
2503 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2504 SetAccessibleAction instead of anonymous class for diPrivileged call.
2505 (setFields): Likewise.
2506 (getClassUID): Likewise.
2507 (findMethod): Likewise.
2508 * gnu/java/security/action/GetPropertyAction.java: New class.
2509 * gnu/java/security/action/SetAccessibleAction.java: New class.
2510
2511 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2512
2513 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2514 for final fields.
2515 * testsuite/libjava.lang/Serialization.java: New test.
2516 * testsuite/libjava.lang/Serialization.out: New.
2517
2518 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2519
2520 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2521 missed in last commit.
2522
2523 2004-07-23 Mark Wielaard <mark@klomp.org>
2524
2525 * java/lang/System.java (static): Set http.agent system property when
2526 not yet set.
2527 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2528 from system property inside AccessController.doPrivileged() call.
2529 (proxyPort): Made package private.
2530 (proxyInUse): Likewise.
2531 (proxyHost): Likewise.
2532 (userAgent): Likewise.
2533
2534 2004-07-23 Mark Wielaard <mark@klomp.org>
2535
2536 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2537 implementation.
2538
2539 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2540
2541 * Makefile.am (ordinary_java_source_files): Add
2542 DefaultContentHandlerFactory.java.
2543 * Makefile.in: Rebuilt.
2544 * java/net/URLConnection.java (defaultFactory): New field.
2545 (getContent):
2546 (getContentHandler): Renamed from 'setContentHandler'. Try
2547 defaultFactory after user-set factory, if any. Search for content
2548 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2549 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2550 Implemented.
2551 (getLastModified): Implemented.
2552 (getPermission): Create file permission here, instead of in
2553 constructor.
2554 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2555 Implemented.
2556 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2557 Implemented.
2558 (getLastModified): Implemented.
2559 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2560 Default implementation.
2561 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2562 Implement using GdkPixbufDecoder.
2563
2564 2004-07-21 Michael Koch <konqueror@gmx.de>
2565
2566 * javax/swing/JTextArea.java
2567 (setLineWrap): Fire property change event after new value is set.
2568 (setTabSize): Likewise.
2569
2570 2004-07-21 Michael Koch <konqueror@gmx.de>
2571
2572 * javax/swing/JTable.java
2573 (autoCreateColumnsFromModel): New field.
2574 (autoResizeMode): Likewise.
2575 (cellEditor): Likewise.
2576 (cellSelectionEnabled): Likewise.
2577 (columnModel): Likewise.
2578 (dataModel): Likewise.
2579 (defaultEditorsByColumnClass): Likewise.
2580 (defaultRenderersByColumnClass): Likewise.
2581 (editingColumn): Likewise.
2582 (editingRow): Likewise.
2583 (gridColor): Likewise.
2584 (preferredViewportSize): Likewise.
2585 (rowHeight): Likewise.
2586 (rowMargin): Likewise.
2587 (rowSelectionAllowed): Likewise.
2588 (selectionBackground): Likewise.
2589 (selectionForeground): Likewise.
2590 (selectionModel): Likewise.
2591 (showHorizontalLines): Likewise.
2592 (showVerticalLines): Likewise.
2593 (tableHeader): Likewise.
2594 (JTable): Implemented.
2595 (getColumnModel): Likewise.
2596 (getSelectedRow): Likewise.
2597 (getSelectionModel): Likewise.
2598 (setModel): Likewise.
2599 (setSelectionModel): Likewise.
2600 (createScrollPaneForTable): New method.
2601 (createDefaultDataModel): Likewise.
2602 (createDefaultListSelectionModel): Likewise.
2603 (getModel): Likewise.
2604 (getTableHeader): Likewise.
2605 (setTableHeader): Likewise.
2606 (getColumnSelectionAllowed): Likewise.
2607 (setColumnSelectionAllowed): Likewise.
2608 (getRowSelectionAllowed): Likewise.
2609 (setRowSelectionAllowed): Likewise.
2610 (getAutoResizeMode): Likewise.
2611 (setAutoResizeMode): Likewise.
2612 (getColumnCount): Likewise.
2613 (getRowCount): Likewise.
2614 (getCellRenderer): Likewise.
2615 * javax/swing/JTree.java
2616 (cellRenderer): New field.
2617 (editable): Likewise.
2618 (rootVisible): Likewise.
2619 (showsRootHandles): Likewise.
2620 (getModel): New method.
2621 (setModel): Likewise.
2622 (isEditable): Likewise.
2623 (setEditable): Likewise.
2624 (isRootVisbile): Likewise.
2625 (setRootVisible): Likewise.
2626 (getShowsRootHandles): Likewise.
2627 (setShowRootHandles): Likewise.
2628 (getCellRenderer): Likewise.
2629 (setCellRenderer): Likewise.
2630
2631 2004-07-21 Michael Koch <konqueror@gmx.de>
2632
2633 * javax/swing/JFormattedTextField.java
2634 (setDocument): Implemented.
2635 * javax/swing/JRootPane.java:
2636 Fixed javadocs.
2637 * javax/swing/JTable.java
2638 (getDefaultRenderer): New method.
2639 * javax/swing/JTextField.java
2640 (setFont): Likewise.
2641 (getPreferredSize): Likewise.
2642 * javax/swing/JToggleButton.java
2643 (getAccessibleContext): Fix javadoc.
2644 * javax/swing/JTree.java:
2645 Add some javadocs.
2646 * javax/swing/JViewport.java:
2647 Likewise.
2648
2649 2004-07-21 David Jee <djee@redhat.com>
2650
2651 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2652 Collect all native method declaration at the top.
2653 (create): Set the filename filter if necessary.
2654 (setDirectory): Call nativeSetDirectory().
2655 (setFilenameFilter): Implement.
2656 (filenameFilterCallback): New method.
2657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2658 (create): Configure dialog to show hidden files.
2659 (filenameFilterCallback): New function.
2660 (nativeSetFilenameFilter): New function.
2661 (nativeSetDirectory): New function.
2662
2663 2004-07-21 Kim Ho <kho@redhat.com>
2664
2665 * javax/swing/plaf/basic/BasicSliderUI.java:
2666 Ran Jalopy.
2667 (paintTrack): Fill the track before painting
2668 the borders.
2669
2670 2004-07-21 Graydon Hoare <graydon@redhat.com>
2671
2672 patch from Roman Kennke <roman@ontographics.com>
2673 * javax/swing/Spring.java: New file.
2674 * javax/swing/SpringLayout.java: New file.
2675 * Makefile.am: Add new files.
2676 * Makefile.in: Regenerate.
2677
2678 2004-07-21 Graydon Hoare <graydon@redhat.com>
2679
2680 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2681 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2682 * javax/swing/ScrollPaneLayout.java: Likewise.
2683
2684 2004-07-21 Kim Ho <kho@redhat.com>
2685
2686 * javax/swing/DefaultDesktopManager.java:
2687 (findMinimum): Removed.
2688 (resizeFrame): Trust the UI to pass valid
2689 bounds.
2690 * javax/swing/JOptionPane.java:
2691 Implemented showInternalXXXDialog methods.
2692 (startModal): New method.
2693 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2694 (BorderListener::mouseDragged): Verify that the new
2695 bounds are valid before passing them to the DesktopManager.
2696 (preferredLayoutSize): Delegate
2697 to getSize.
2698 (minimumLayoutSize): Ditto.
2699 (getSize): New method.
2700 (GlassPaneDispatcher): Reimplemented by copying
2701 a stripped down LightweightDispatcher from Container.
2702 (getMinimumSize): Call minimumLayoutSize.
2703 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2704 Ran Jalopy.
2705 (mousePressed): Add ability to properly close
2706 JInternalFrames.
2707 * javax/swing/plaf/basic/BasicToolBarUI.java:
2708 (DragWindow): Set owner for DragWindow.
2709
2710 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2711
2712 * java/awt/image/ShortLookupTable.java: New file.
2713 * java/awt/image/ByteLookupTable.java: New file.
2714 * Makefile.am: Added new files.
2715 * Makefile.in: Regenerated.
2716
2717 2004-07-21 David Jee <djee@redhat.com>
2718
2719 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2720 (create(GtkContainerPeer)): New native method.
2721 (create()): Call native create(), passing in the parent frame
2722 as the paramter. Natively set the current file and directory.
2723 (setFile): Construct an absolute filename before passing it to
2724 the native peer.
2725 (nativeGetDirectory): New method.
2726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2727 (window_closed): Removed.
2728 (ok_clicked): Likewise.
2729 (cancel_clicked): Likewise.
2730 (handle_response): New method.
2731 (create): Use GtkFileChooserDialog.
2732 (connectSignals): Connect to handle_response.
2733 (nativeGetDirectory): New method.
2734 (nativeSetFile): Use GtkFileChooserDialog.
2735
2736 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2737
2738 * java/awt/image/LookupTable.java: New file.
2739 * Makefile.am: Added new file.
2740 * Makefile.in: Regenerated.
2741
2742 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2743
2744 * java/awt/image/Kernel.java: New file.
2745 * Makefile.am: Added new file.
2746 * Makefile.in: Regenerated.
2747
2748 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2749
2750 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2751 * javax/swing/JMenu.java: Likewise.
2752 * javax/swing/JMenuBar.java: Likewise.
2753 (MARGIN_CHANGED_PROPERTY): New property.
2754 (setMargin): Implemented.
2755 * javax/swing/JMenuItem.java: Fixed javadocs.
2756 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2757 (LABEL_CHANGED_PROPERTY): New property.
2758 (add): changed to use createActionComponent.
2759 (createActionComponent): Implemented.
2760 (setLabel): Fire PropertyChangeEvent if label property
2761 changes.
2762 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2763 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2764 (ContainerHandler): Repaint if margin property has changed.
2765 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2766 (installUI): Call installComponents().
2767 (uninstallUI): Call uinstallComponents().
2768 * javax/swing/plaf/basic/BasicMenuUI.java:
2769 Fixed javadocs.
2770 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2771 Likewise.
2772
2773 2004-07-21 Kim Ho <kho@redhat.com>
2774
2775 * javax/swing/plaf/basic/BasicToolBarUI.java:
2776 (DragWindow): Use the right constructor.
2777
2778 2004-07-21 Kim Ho <kho@redhat.com>
2779
2780 * javax/swing/JToolBar.java:
2781 (layoutContainer): Use getComponents.
2782 * javax/swing/plaf/basic/BasicToolBarUI.java:
2783 (DragWindow): Don't use SwingUtilities'
2784 getOwnerFrame
2785 (ToolBarDialog): ditto.
2786
2787 2004-07-21 Kim Ho <kho@redhat.com>
2788
2789 * javax/swing/JRootPane.java:
2790 Ran jalopy.
2791 (layoutContainer): Set the glasspane's size to
2792 be the same as the content pane.
2793 (createGlassPane): Set opaque property to false.
2794
2795 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2796
2797 * java/awt/Component.java (requestFocus()): Don't handle Panels
2798 specially.
2799 (requestFocus(boolean)): Likewise.
2800 (requestFocusInWindow(boolean)): Likewise.
2801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2802 Set GTK_CAN_FOCUS flag.
2803
2804 2004-07-21 Kim Ho <kho@redhat.com>
2805
2806 * Makefile.am: Added new file.
2807 * Makefile.in: Regenerated.
2808 * gcj/Makefile.in: Regenerated.
2809 * include/Makefile.in: Regenerated.
2810 * javax/swing/AbstractButton.java:
2811 Add rollOverEnabled property.
2812 (setRolloverEnabled): Use new property.
2813 (isRolloverEnabled): Use new property.
2814 * javax/swing/JTabbedPane.java:
2815 (setComponent): Remove useless JTabbedPane.this.
2816 * javax/swing/JToolBar.java: Finish implementation.
2817 * javax/swing/plaf/basic/BasicArrowButton.java:
2818 (paint): Moved border painting to a border.
2819 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2820 Change JToolBar look and feel defaults.
2821 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2822 (actionPerformed): Return Integer index instead of name.
2823 (addButtonComponents): Check to see if component is
2824 JButton last.
2825 (createMessageArea): Don't use components that are not
2826 completed yet.
2827 (getIconForType): Use temporary icons.
2828 * javax/swing/plaf/basic/BasicSliderUI.java:
2829 (mousePressed): Do not return if it's on thumb.
2830 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2831 (paintMinorTickForVertSlider): ditto.
2832 (paintMajorTickForHorizSlider): ditto.
2833 (paintMajorTickForVertSlider): ditto.
2834 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2835 Add a border around the SplitPaneDivider.
2836 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2837 Remove comments.
2838 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2839 New file. Implemented.
2840 * javax/swing/plaf/basic/BasicToolBarUI.java:
2841 Implemented.
2842 * testsuite/Makefile.in: Regenerated.
2843
2844 2004-07-21 Graydon Hoare <graydon@redhat.com>
2845
2846 * javax/swing/Timer.java (run): Queue events each time cycle.
2847
2848 2004-07-21 David Jee <djee@redhat.com>
2849
2850 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2851 (imageComplete): Call image.imageComplete().
2852 * java/awt/image/MemoryImageSource.java:
2853 Reimplement consumers as a Vector instead of a Hashtable. This is
2854 because enumeration on a Hashtable is not thread-safe.
2855 (addConsumer): Adapt to Vector consumers.
2856 (isConsumer): Adapt to Vector consumers.
2857 (removeConsumer): Adapt to Vector consumers.
2858 (startProduction): Adapt to Vector consumers. Call imageComplete()
2859 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2860 (newPixels): Adapt to Vector consumers.
2861 (sendPicture): Set the color model of the image consumer.
2862 (newPixels(IIII)): Adapt to Vector consumers.
2863 (newPixels(IIIIB)): Adapt to Vector consumers.
2864
2865 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2866
2867 * java/awt/Component.java (deliverEvent): Implement.
2868 (postEvent): Implement.
2869 (handleEvent): Implement.
2870 (translateEvent): New method.
2871 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2872 * java/awt/Container.java (deliverEvent): Implement.
2873 * java/awt/Event.java (paramString): Fix formatting.
2874 * java/awt/Font.java (toString): Likewise.
2875 * java/awt/Window.java (postEvent): Implement.
2876
2877 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2878
2879 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2880 Set window's focus owner upon receiving a FOCUS_LOST event.
2881 * java/awt/Window.java (Window()): Refocus the previously
2882 focused component within the window when the window regains the
2883 top-level focus.
2884 (setFocusOwner): New method.
2885 * java/awt/Component.java (requestFocus): Add FIXME.
2886
2887 * libgcj.pc.in: Remove library flags.
2888
2889 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2890
2891 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2892 MOUSE_PRESSED event.
2893 * java/awt/Component.java (requestFocus()): Handle Panel
2894 specially. Post FOCUS_LOST event on opposite component.
2895 (requestFocus(boolean)): Likewise.
2896 (requestFocusInWindow(boolean)): Likewise.
2897 (paramString): Reorder dimension fields.
2898 * java/awt/Container.java (paramString): Fix string format.
2899 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2900 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2901 process key events if the focus owner is non-null.
2902 (dispatchKeyEvent): Likewise.
2903 * java/awt/Frame.java (paramString): Fix formatting.
2904 (generateName): New method.
2905 (getUniqueLong): Likewise.
2906 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2907 the temporary focus owner is null. If so, return the permanent
2908 focus owner.
2909 * java/awt/Panel.java (generateName): New method.
2910 (getUniqueLong): Likewise.
2911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2912 signal handling to make callbacks more specific.
2913
2914 2004-07-21 Michael Koch <konqueror@gmx.de>
2915
2916 * javax/swing/text/Position.java
2917 (Bias): Implemented.
2918
2919 2004-07-21 Michael Koch <konqueror@gmx.de>
2920
2921 * javax/swing/LookAndFeel.java
2922 (provideErrorFeedback): New method.
2923
2924 2004-07-21 Michael Koch <konqueror@gmx.de>
2925
2926 * javax/swing/JTextArea.java
2927 (tabSize): New field.
2928 (getTabSize): New method.
2929 (setTabSize): Likewise.
2930
2931 2004-07-21 Michael Koch <konqueror@gmx.de>
2932
2933 * javax/swing/ActionMap.java:
2934 Fixed javadocs all over.
2935 (serialVersionUID): Made private.
2936 (parent): Don't explicitely initialize with default value.
2937 (get): SImplified.
2938 (keys): Reimplemented.
2939 (allKeys): Likewise.
2940 (convertSet): Removed.
2941 * javax/swing/ComponentInputMap.java:
2942 Fixed javadocs all over.
2943 (ComponentInputMap): Implemented.
2944 (put): Likewise.
2945 (clear): Likewise.
2946 (remove): Likewise.
2947 (SetParent): Likewise.
2948 (getComponent): Likewise.
2949 * javax/swing/InputMap.java:
2950 Fixed javadocs all over.
2951 (serialVersionUID): Made private.
2952 (parent): Don't explicitely initialize with default value.
2953 (get): SImplified.
2954 (keys): Reimplemented.
2955 (allKeys): Likewise.
2956 (convertSet): Removed.
2957
2958 2004-07-21 Michael Koch <konqueror@gmx.de>
2959
2960 * javax/swing/ActionMap.java,
2961 javax/swing/ComponentInputMap.java,
2962 javax/swing/InputMap.java,
2963 javax/swing/table/DefaultTableColumnModel.java,
2964 javax/swing/table/TableColumn.java,
2965 javax/swing/table/TableColumnModel.java,
2966 javax/swing/table/TableModel.java,
2967 javax/swing/text/AbstractDocument.java,
2968 javax/swing/text/TextAction.java:
2969 Reformated.
2970
2971 2004-07-21 Graydon Hoare <graydon@redhat.com>
2972
2973 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2974 Make method non-static.
2975 * javax/swing/AbstractButton.java:
2976 Rename fields to match property names where possible.
2977 (iconTextGap): New property.
2978 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2979 (init) New method, call from after various constructors.
2980 * javax/swing/JComponent.java (revalidate):
2981 Invalidate before queueing repair.
2982 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2983 Reimplement in terms of visibleRowCount property.
2984 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2985 * javax/swing/JScrollPane.java (createScrollListener):
2986 Remove tracing chatter.
2987 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2988 * javax/swing/RepaintManager.java (addInvalidComponent):
2989 Don't invalidate.
2990 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2991 calculations.
2992 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2993 Mimic sun behavior on top left/right positioning.
2994 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2995 Remove mistaken use of preferredScrollableViewportSize here.
2996 (layoutContainer): Use view's preferred size as basis.
2997 * javax/swing/plaf/basic/BasicButtonUI.java:
2998 Set, get, and use textIconGap property.
2999 (paint) Paint text returned from layout (with ellipsis).
3000 * javax/swing/plaf/basic/BasicListUI.java:
3001 Remove tracing chatter, correct various minor calculations.
3002 (getCellBounds): Update layout state before calculating.
3003 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3004 Use margin default similar to sun's.
3005 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3006 (createIncreaseIcon): Center icon, minimize margins.
3007 (createDecreaseIcon): Likewise.
3008 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3009 Implement.
3010 (installUI): Call it.
3011 (uninstallDefaults): Implement.
3012 (uninstallUI): Call it.
3013 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3014 Call existing Window constructor.
3015 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3016 Set clip before painting.
3017
3018 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3019
3020 * javax/swing/JMenuItem.java:
3021 (processMouseEvent): Reimplemented to deal with
3022 mouse drag events.
3023 (createMenuDragMouseEvent): New private helper method.
3024 Creates MenuDragMouseEvent.
3025 * javax/swing/MenuSelectionManager.java
3026 (componentForPoint): Implemented.
3027 (isComponentPartOfCurrentMenu): Made public.
3028 (processMouseEvent): Reimplemented to deal with
3029 mouse drag events.
3030 (setSelectedPath): Corrected small mistake that caused
3031 path to be set incorrectly.
3032 (getPath): If given component is JMenu then also add this
3033 menu's popup menu to the selected path.
3034 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3035 (getPath): Ditto.
3036 (getPreferredSize): Call getPreferredMenuItemSize().
3037 (getPreferredItemSize): Moved code from getPreferredSize to here.
3038 (installListeners): Install MouseMotionListeners.
3039 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3040 if mouse wasn't released in the bounds of this menu item.
3041 (MenuDragMouseHandler): Implemented.
3042 * javax/swing/plaf/basic/BasicMenuUI.java:
3043 (installListeners): Install MouseMotionListener and
3044 MenuDrageMouseListener.
3045 (MenuDragMouseHandler): Implemented.
3046 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3047 (uninstallListeners): Implemented.
3048
3049 2004-07-21 Michael Koch <konqueror@gmx.de>
3050
3051 * javax/swing/JCheckBox.java: Reformated.
3052 (JCheckBox): Fixed all constructors.
3053 (isBorderPaintedFlat): New method.
3054 (setBorderPaintedFlat): New method.
3055 * javax/swing/JEditorPane.java
3056 (createEditorKitForContentType): Made public.
3057 (scrollToReference): Likewise.
3058 * javax/swing/JTextArea.java
3059 (setLineWrap): Fire property change.
3060 * javax/swing/JToggleButton.java
3061 (JToggleButton): New constructor.
3062 (JToggleButton): Simplified.
3063 * javax/swing/text/AttributeSet.java
3064 (FontAttribute): Renamed from FontCharacterAttribute.
3065 * javax/swing/text/JTextComponent.java
3066 (KeyBinBinding): Added javadoc.
3067 (JTextComponent): Likewise.
3068 (getAccessibleContext): Fixed javadoc.
3069 * javax/swing/text/View.java
3070 (View): Added javadoc.
3071 * javax/swing/text/TabableView.java: New file.
3072 * Makefile.am: Added javax/swing/text/TabableView.java.
3073 * Makefile.in: Regenerated.
3074
3075 2004-07-21 Graydon Hoare <graydon@redhat.com>
3076
3077 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3078 * gnu/java/awt/peer/gtk/GtkToolkit.java
3079 (GtkErrorImage): New helper class.
3080 (bufferedImageOrError): New helper method.
3081 (createImage): Use it.
3082
3083 2004-07-21 David Jee <djee@redhat.com>
3084
3085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3086 (setCaretPosition): Scroll the text view so the new caret position
3087 is visible on screen.
3088
3089 2004-07-21 David Jee <djee@redhat.com>
3090
3091 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3092 (setBounds): Do not validate awtComponent here.
3093 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3094 (getPreferredSize): New method.
3095 * java/awt/ScrollPane.java
3096 (ScrollPane): Set default size to 100x100.
3097 (addNotify): If child is not a Panel, wrap it with a new Panel.
3098 (paramString): Implement.
3099
3100 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3101
3102 * javax/swing/JMenu.java:
3103 (setSelected): Display popup menu only if this menu
3104 is showing on the screen.
3105 * javax/swing/JPopupMenu.java:
3106 (processMouseEvent): Added comment.
3107 (processKeyEvent): Likewise.
3108 * javax/swing/MenuSelectionManager.java:
3109 (clearSelectedPath): Only fireStateChanged() after
3110 selected path was changed, not before.
3111 (setSelectedPath): Likewise.
3112 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3113 (paintMenuItem): Corrected position of menu item's
3114 icon.
3115 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3116 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3117 (popupMenuCanceled): Reimplemented.
3118 (popupMenuWillBecomeVisible): Select first menu item by default
3119 when displaying free floating popup menus.
3120 (TopWindowListener): Reimplemented.
3121
3122 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3123
3124 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3125 Panel from being painted twice when it is first shown.
3126
3127 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3128
3129 * java/awt/Window.java: Reverted changes from my
3130 previous patch for creating window without an owner.
3131 * javax/swing/SwingUtilities.java:
3132 (SwingUtilities.OwnerFrame): made static.
3133 (OwnerFrame.setVisible): New method. Overridden with
3134 empty implementation.
3135 (OwnerFrame.isShowing): New method. Ovverridden
3136 to return always true.
3137
3138 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3139
3140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3141 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3142 (GtkComponentPeer): Remove temporary try/catch block.
3143 (setVisible): Call show and hide.
3144 (show): Make native.
3145 (hide): Likewise.
3146 (getArgs): Don't add "visible" argument.
3147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3148 (property_notify_predicate): Return Bool instead of int.
3149 (find_layout): New function.
3150 (connectJObject): Call find_layout.
3151 (connectSignals): Likewise.
3152 (moveLayout): Likewise.
3153 (gtkLayoutSetVisible): Likewise.
3154
3155 2004-07-21 Mark Wielaard <mark@klomp.org>
3156
3157 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3158 on notifier object before calling notifyAll().
3159
3160 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3161
3162 * java/awt/Window.java: Changed constructors to use new
3163 method that is described below. Constructors call this
3164 methods only if newly created window should have an owner.
3165 (setWindowOwner): New method. Implementation for
3166 this method is moved from this(owner,configuration).
3167 * javax/swing/JWindow.java:
3168 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3169 instead of owner.
3170 * javax/swing/SwingUtilities.java:
3171 (ownerFrame): Change type of this field to OwnerFrame.
3172 (getOwnerFrame): Changed to return object of type OwnerFrame.
3173 (SwingUtilities.OwnerFrame): New class. Represents owner
3174 of a Window that is not provided with one.
3175
3176 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3177
3178 * javax/swing/AbstractButton.java:
3179 (configurePropertiesFromAction): Set action command
3180 to button's text by default if action command is not
3181 explicitely specified.
3182 * javax/swing/JMenu.java: Remove unnecessary listener
3183 and methods relevant to it.
3184 (setSelected): Reimplemented.
3185 (menuSelectionChanged): Moved most part of implementation to
3186 setSelected() and call it instead.
3187 * javax/swing/JMenuItem.java:
3188 (init): Comment out statement that sets paint_border to false.
3189 (configurePropertiesFromAction): Do not set accelerator
3190 for JMenu.
3191 (menuSelectionChanged): Change selected index in the selection
3192 model of menu item's parent.
3193 * javax/swing/JPopupMenu.java:
3194 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3195 instead of GridBagConstraints.HORIZONTAL.
3196 (insert): Likewise.
3197 (createActionChangeListener): Implemented.
3198 (setVisible): Correct location of HeavyWeightMenu and
3199 don't firePopupMenuCanceled().
3200 (menuSelectionChanged): Implemented.
3201 (ActionChangeListener): New Listener. Implemented.
3202 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3203 (BasicMenuBarUI.ContainerHandler): Implemented.
3204 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3205 (paintMenuItem): Uncommented out code that paints
3206 icon, now that icons are working properly.
3207 (PropertyChangeListener): Implemented.
3208 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3209 Added javadocs.
3210 (topWindowListener): New field.
3211 (Constructor): initialize topWindowListener.
3212 (BasicPopupMenuUI.TopWindowListener): Implemented.
3213 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3214 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3215 Implemented.
3216
3217 2004-07-21 Michael Koch <konqueror@gmx.de>
3218
3219 * javax/swing/plaf/basic/BasicButtonUI.java
3220 (paintFocus): Fixed method signature.
3221 (paintButtonPressed): Likewise.
3222 (paintButtonNormal): Likewise.
3223 (paintText): New method.
3224 * javax/swing/plaf/basic/BasicLabelUI.java
3225 (paint): Re-indented.
3226 * javax/swing/plaf/basic/BasicTextUI.java
3227 (installUI): Set parent textComponent to opaque.
3228 * javax/swing/text/DefaultHighlighter.java
3229 (checkPositions): New helper method.
3230 (addHighlight): Throws BadLocationException, check positions.
3231 (changeHighlight): Likewise.
3232 * javax/swing/text/EditorKit.java
3233 (EditorKit): Implements Serializable.
3234 * javax/swing/text/JTextComponent.java
3235 (getUI): Added javadoc.
3236 (setUI): Likewise.
3237 (upadteUI): Added javadoc, don't revalidate and repaint.
3238
3239 2004-07-21 David Jee <djee@redhat.com>
3240
3241 * java/awt/GridBagLayout.java
3242 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3243 * javax/swing/AbstractButton.java
3244 (setText): Reindent.
3245 * javax/swing/RepaintManager.java
3246 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3247
3248 2004-07-21 Michael Koch <konqueror@gmx.de>
3249
3250 * javax/swing/JFormattedTextField.java
3251 (value): New field.
3252 (JFormattedTextField): Implemented.
3253 (getValue): Likewise.
3254 (setValue): Likewise.
3255 * javax/swing/LookAndFeel.java
3256 (getSupportsWindowDecorations): New method.
3257 * javax/swing/UIDefaults.java:
3258 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3259 (addPropertyChangeListener): Made public.
3260 (addResourceBundle): Likewise.
3261 (removeResourceBundle): Likewise.
3262 (setDefaultLocale): Likewise.
3263 * javax/swing/plaf/basic/BasicRootPaneUI.java
3264 (BasicRootPaneUI): Implements PropertyChangeListener.
3265 (propertyChange): New method.
3266 * javax/swing/plaf/basic/BasicTextUI.java
3267 (BasicHighlighter): New inner class.
3268 (createHighlighter): New method.
3269 * javax/swing/plaf/basic/BasicToolBarUI.java
3270 (DragWindow): Extends java.awt.Window.
3271 * javax/swing/text/JTextComponent.java
3272 (getDocument): Removed debug output.
3273 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3274 javax/swing/text/DefaultHighlighter.java,
3275 javax/swing/text/FieldView.java,
3276 javax/swing/text/PlainView.java: New files.
3277 * Makefile.am: Added new files.
3278 * Makefile.in: Regenerated.
3279
3280 2004-07-21 Michael Koch <konqueror@gmx.de>
3281
3282 * javax/swing/JEditorPane.java
3283 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3284 (createEditorKitForContentType): Likewise.
3285 * javax/swing/text/DefaultEditorKit.java
3286 (serialVersionUID): Added constant field.
3287 (EndOfLineStringPropery): Fixed typo.
3288 (DefaultEditorKit): New constructor.
3289 * javax/swing/text/Segment.java:
3290 Import java.text.CharacterIterator.
3291 * javax/swing/text/CharacterIterator.java,
3292 javax/swing/text/PlainEditorKit.java: Removed.
3293 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3294 javax/swing/text/PlainEditorKit.java.
3295 * Makefile.in: Regenerated.
3296
3297 2004-07-21 Michael Koch <konqueror@gmx.de>
3298
3299 * javax/swing/JButton.java,
3300 javax/swing/text/DefaultEditorKit.java,
3301 javax/swing/text/EditorKit.java,
3302 javax/swing/text/Segment.java,
3303 javax/swing/text/StyledEditorKit.java:
3304 Reformatted.
3305
3306 2004-07-21 Michael Koch <konqueror@gmx.de>
3307
3308 * javax/swing/ImageIcon.java
3309 (file): Removed.
3310 (description): Renamed from descr.
3311 (ImageIcon): Added missing constructors.
3312 (setParent): Removed.
3313 (setImageObserver): New method.
3314 (getImageObserver): New method.
3315 (paintIcon): Handle observer = null.
3316 * javax/swing/JButton.java
3317 (removeNotify): Fixed javadoc.
3318 (updateUI): Simplified.
3319 * javax/swing/JRootPane.java
3320 (serialVersionUID): New constant field.
3321 * javax/swing/UIManager.java:
3322 Fixed javadocs all over.
3323 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3324 * javax/swing/text/AbstractDocument.java
3325 (createPosition): Throws BadLocationException.
3326 (getText): Likewise.
3327 (remove): Likewise.
3328 * javax/swing/text/ComponentView.java
3329 (modelToView): Likewise.
3330 * javax/swing/text/DefaultEditorKit.java:
3331 Made all public methods public.
3332 (read): Throws BadLocationException and IOException.
3333 (write): Likewise.
3334 * javax/swing/text/EditorKit.java:
3335 Made all public methods public.
3336 (serialVersionUID): New constant field.
3337 (clone): New method.
3338 (read): Throws BadLocationException and IOException.
3339 (write): Likewise.
3340 * javax/swing/text/Segment.java
3341 (array): Made public.
3342 (count): Likewise.
3343 (offset): Likewise.
3344 (Segment): New constructors.
3345 (clone): Reimplemented.
3346 * javax/swing/text/StyledEditorKit.java
3347 (serialVersionUID): New constant field.
3348
3349 2004-07-21 Graydon Hoare <graydon@redhat.com>
3350
3351 * java/awt/image/BufferedImage.java
3352 (getSource): Implement.
3353 * javax/swing/ImageIcon.java
3354 (ImageIcon): Implement ctor.
3355 * javax/swing/ScrollPaneLayout.java
3356 (preferredLayoutSize): Be more careful about nulls.
3357
3358 2004-07-21 Michael Koch <konqueror@gmx.de>
3359
3360 * javax/swing/text/AttributeSet.java
3361 (CharacterAttribute): New interface
3362 (ColorAttribute): Likewise.
3363 (FontCharacterAttribute): Likewise.
3364 (ParagraphAttribute): Likewise.
3365 * javax/swing/text/DefaultCaret.java
3366 (moveCaret): New method.
3367 (positionCaret): Likewise.
3368 (repaint): Made protected.
3369 * javax/swing/text/JTextComponent.java
3370 (KeyBinding): Made it static.
3371 * javax/swing/text/View.java
3372 (getContainer): Honor parent == null.
3373
3374 2004-07-21 Michael Koch <konqueror@gmx.de>
3375
3376 * javax/swing/text/AbstractDocument.java:
3377 Reformatted.
3378
3379 2004-07-21 Michael Koch <konqueror@gmx.de>
3380
3381 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3382 Import javax.swing.UIManager explicitely.
3383 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3384 (ScrollingButton): Made it static.
3385
3386 2004-07-21 Michael Koch <konqueror@gmx.de>
3387
3388 * javax/swing/UIDefaults.java
3389 (ActiveValue): Made public.
3390 (LazyValue): Likewise.
3391 * javax/swing/plaf/basic/BasicTextUI.java
3392 (RootView): Reintroduced.
3393 (view): Removed.
3394 (rootView): New field.
3395 (installUI): Create document if needed, initialize rootView.
3396 (uninstallUI): Hanle rootView.
3397 (paint): Likewise.
3398 (getRootView): Likewise.
3399 (setView): Likewise.
3400 * javax/swing/text/DefaultCaret.java:
3401 Renamed all "evt" variables to "event".
3402
3403 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3404
3405 * libgcj.spec.in: Add -l-java-util-logging.
3406
3407 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3408
3409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3410 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3411 gtk-xft-dpi can no calculate the right value.
3412 (dpi_changed_cb): Mark *pspec as unsused.
3413
3414 2004-07-21 David Jee <djee@redhat.com>
3415
3416 * java/awt/Component.java
3417 (move): Delegate to setBounds().
3418 (resize): Likewise.
3419 (reshape): Fix so it repaints parent and self only when necessary.
3420
3421 2004-07-21 David Jee <djee@redhat.com>
3422
3423 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3424 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3425 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3426 (setVisible): Likewise.
3427 (show): Likewise.
3428 (hide): Likewise.
3429 (getArgs): Likewise.
3430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3431 (property_notify_predicate): Likewise.
3432 (find_layout): Likewise.
3433 (connectJObject): Likewise.
3434 (connectSignals): Likewise.
3435 (moveLayout): Likewise.
3436 (gtkLayoutSetVisible): Likewise.
3437
3438 2004-07-21 Graydon Hoare <graydon@redhat.com>
3439
3440 * Makefile.am
3441 (jv_convert_LDADD):
3442 (gij_LDADD):
3443 (rmic_LDADD):
3444 (rmiregistry_LDADD): Add lib-java-util-logging.la
3445 * Makefile.in: Regenerate.
3446
3447 2004-07-21 Michael Koch <konqueror@gmx.de>
3448
3449 * javax/swing/text/AbstractDocument.java
3450 (replace): Dont use protected method of java.util.Vector directly.
3451
3452 2004-07-21 Michael Koch <konqueror@gmx.de>
3453
3454 * javax/swing/plaf/basic/BasicTextUI.java
3455 (installUI): Call specialized install methods.
3456 (installDefaults): New method.
3457 (installListeners): Likewise.
3458 (installKeyboardActions): Likewise.
3459 (uninstallUI): Likewise.
3460 (uninstallDefaults): New method.
3461 (uninstallListeners): Likewise.
3462 (uninstallKeyboardActions): Likewise.
3463 (getPropertyPrefix): New abstract method.
3464 (paint): Made final, just call paintSafely().
3465 (paintSavely): New method.
3466 (paintBackground): Likewise.
3467 (getVisibleEditorRect): Likewise.
3468 * javax/swing/text/LayeredHighlighter.java,
3469 javax/swing/text/TabExpander.java: New files.
3470 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3471 and javax/swing/text/TabExpander.java.
3472 * Makefile.in: Regenerated.
3473
3474 2004-07-21 Michael Koch <konqueror@gmx.de>
3475
3476 * javax/swing/plaf/basic/BasicTextUI.java
3477 (BasicTextUI): Made abstract.
3478 (BasicCaret): New inner class.
3479 (view): Don't explicitely initialize with "null".
3480 (textComponent): New field.
3481 (textColor): Removed.
3482 (disabledTextColor): Removed.
3483 (normalBackgroundColor): Removed.
3484 (RootView): Removed commented out inner class.
3485 (createUI): Removed.
3486 (createCaret): New method.
3487 (getComponent): Likewise.
3488 (installUI): Initialize textComponent only.
3489 (getPreferredSize): Use installed JTextComponent.
3490 (setView): New method.
3491 (create): Likewise.
3492 * javax/swing/text/JTextComponent.java
3493 (highlighter): New field.
3494 (caretColor): Likewise.
3495 (disabledTextColor): Likewise.
3496 (seletedTextColor): Likewise.
3497 (selectionColor): Likewise.
3498 (setUI): New method.
3499 (getCaretColor): Likewise.
3500 (setCaretColor): Likewise.
3501 (getDisabledColor): Likewise.
3502 (setDisabledColor): Likewise.
3503 (getSelectedTextColor): Likewise.
3504 (setSelectedTextColor): Likewise.
3505 (getSelectionColor): Likewise.
3506 (setSelectionColor): Likewise.
3507 (getHighlighter): Likewise.
3508 (setHighlighter): Likewise.
3509 (replaceSelection): Likewise.
3510
3511 2004-07-21 Michael Koch <konqueror@gmx.de>
3512
3513 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3514 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3515 * javax/swing/plaf/basic/BasicToolBarUI.java
3516 (BasicToolBarUI): Implements SwingConstants.
3517
3518 2004-07-21 Michael Koch <konqueror@gmx.de>
3519
3520 * javax/swing/JPopupMenu.java: Removed CVS tags.
3521 * javax/swing/UIDefaults.java: Reformatted.
3522 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3523 Explicitely import used classes.
3524
3525 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3526
3527 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3528 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3529 (GtkComponentPeer): Remove temporary try/catch block.
3530 (setVisible): Call show and hide.
3531 (show): Make native.
3532 (hide): Likewise.
3533 (getArgs): Don't add "visible" argument.
3534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3535 (property_notify_predicate): Return Bool instead of int.
3536 (find_layout): New function.
3537 (connectJObject): Call find_layout.
3538 (connectSignals): Likewise.
3539 (moveLayout): Likewise.
3540 (gtkLayoutSetVisible): Likewise.
3541
3542 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3543
3544 * javax/swing/AbstractButton.java:
3545 (setDisplayedMnemonicIndex): Check if button
3546 text is not null before checking its length.
3547 * javax/swing/JMenuItem.java:
3548 (processMouseEvent): Disarm menu item if mouse has
3549 exited it.
3550 * javax/swing/plaf/basic/BasicMenuUI.java:
3551 (MouseInputHandler.mouseEntered): Do not raise
3552 popup menu if this menu is already selected.
3553 (MouseInputHandler.mousePressed): Do not fire
3554 MenuEvents.
3555 (MenuHandler): Implemented.
3556
3557 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3558
3559 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3560 (getSelectedObjects): Implemented.
3561 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3562 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3563 Added javadoc for few methods.
3564 (processMouseEvent): Made public.
3565 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3566 (processMouseEvent): Likewise.
3567
3568 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3569
3570 * javax/swing/AbstractButton.java:
3571 (init): Set display mnemonic index to -1.
3572 (setMnemonic(char)): Use setMnemonic(int).
3573 (setMnemonic(int)): Set display mnemonic index.
3574 (getDisplayedMnemonicIndex): Change method signature
3575 by removing 'index' parameter.
3576 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3577 Added default for Menu.selectionBackground.
3578 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3579 (paintMenuItem): Change background color of the selected
3580 menu item.
3581 (paintText): Paint differently when menu item is disabled.
3582 Also paint mnemonic if it appears in the menu item's label.
3583 (paintAccelerator): Paint accelerator differently
3584 if menu item is disabled.
3585 * javax/swing/plaf/basic/BasicMenuUI.java:
3586 (installDefaults): Install defaults for
3587 selectionForeground and selectionBackground.
3588 (uninstallDefaults): Uninstall defauls for
3589 selectionForeground and selectionBackground.
3590
3591 2004-07-21 Michael Koch <konqueror@gmx.de>
3592
3593 * javax/swing/text/AbstractDocument.java
3594 (BranchElement): Implemented.
3595 (LeafElement): Implemented.
3596 * javax/swing/text/DefaultCaret.java:
3597 Import used classes.
3598 (serialVersionUID): New constant.
3599 * javax/swing/text/JTextComponent.java
3600 (AccessibleJTextComponent): Removed dead declaration.
3601 (caretPos): Removed.
3602 (setCaret): New method.
3603 * javax/swing/text/PlainDocument.java
3604 (rootElement): New field.
3605 (PlainDocument): Initialize rootElement.
3606 (createDefaultRoot): New method.
3607 (getDefaultRootElement): Implemented.
3608 * javax/swing/text/View.java: Reformatted.
3609 * javax/swing/text/ViewFactory.java
3610 (create): Added javadoc.
3611
3612 2004-07-21 Michael Koch <konqueror@gmx.de>
3613
3614 * javax/swing/ToolTipManager.java: Reformatted.
3615
3616 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3617
3618 * javax/swing/AbstractButton.java
3619 (changeEvent): New field.
3620 (fireItemStateChanged): Change source of the event
3621 to 'this' before firing it to button listeners.
3622 (fireActionPerformed): Likewise.
3623 (fireStateChanged): Likewise.
3624 (createActionListener): Do not set source
3625 of the event to AbstractButton.
3626 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3627 (ContainerHandler.componentAdded): Removed
3628 print out statement.
3629 (ContainerHandler.componentRemoved): Likewise.
3630
3631 2004-07-21 Michael Koch <konqueror@gmx.de>
3632
3633 * javax/swing/text/Highlighter.java: New file.
3634 * Makefile.am: Added javax/swing/text/Highlighter.java.
3635 * Makefile.in: Regenerated.
3636
3637 2004-07-21 Michael Koch <konqueror@gmx.de>
3638
3639 * javax/swing/ToolTipManager.java
3640 (stillInsideTimerAction): Fixed constructor arguments.
3641 (outsideTimerAction): Likewise.
3642 (insideTimerAction): Likewise.
3643
3644 2004-07-21 Michael Koch <konqueror@gmx.de>
3645
3646 * javax/swing/JButton.java: Reformatted.
3647 * javax/swing/JFormattedTextField.java
3648 (getUIClassID): Implemented.
3649 * javax/swing/JRootPane.java
3650 (serialVersionUID): New constant.
3651 * javax/swing/JTextField.java
3652 (align): New field.
3653 (JTextField): Simplified.
3654 (getUIClassID): New method.
3655 (getActionListeners): Added @since tag.
3656 (setColumns): Invalidate layout and repaint.
3657 (getHorizontalAlignment): New method.
3658 (setHorizontalAlignment): New method.
3659 (selectAll): Removed.
3660 * javax/swing/SwingUtilities.java
3661 (getAncestorOfClass): Removed redundant @see tag.
3662 (isLeftMouseButton): Fixed implementation.
3663 (isMiddleMouseButton): Likewise.
3664 (isRightMouseButton): Likewise.
3665 * javax/swing/text/AbstractDocument.java
3666 (AttributeContext.addAttribute): New method.
3667 (AttributeContext.addAttributes): New method.
3668 (AttributeContext.getEmptySet): New method.
3669 (AttributeContext.reclaim): New method.
3670 (AttributeContext.removeAttribute): New method.
3671 (AttributeContext.removeAttributes): New method.
3672 * javax/swing/text/Document.java
3673 (createPosition): Throws BadLocationException.
3674 (getText): Likewise.
3675 (remove): Likewise.
3676 * javax/swing/text/JTextComponent.java
3677 (getText): Return null if no document is set. Catch
3678 BadLocationException.
3679 (getUI): Return ui.
3680 (updateUI): Simplified.
3681
3682 2004-07-21 Michael Koch <konqueror@gmx.de>
3683
3684 * javax/swing/JButton.java
3685 (removeNotify): Fixed javadoc.
3686 (updateUI): Simplified.
3687
3688 2004-07-21 David Jee <djee@redhat.com>
3689
3690 * gnu/java/awt/image/ImageDecoder.java
3691 (startProduction): Only add consumer if it's not added yet.
3692 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3693 (GdkPixbufDecoder): Don't call initState() here.
3694 (produce): Call initState() here, to ensure area_prepared and
3695 area_updated signals are properly connected.
3696 * gnu/java/awt/peer/gtk/GtkImage.java
3697 (setColorModel): Use equals() to compare ColorModel objects.
3698 (setPixels): Likewise.
3699 * java/awt/image/ColorModel.java
3700 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3701 * java/awt/image/RGBImageFilter.java
3702 (setColorModel): Set consumer's color model.
3703 (setPixels): Use equals() to compare ColorModel objects.
3704
3705 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3706
3707 * java/net/URLConnection.java (position): New field.
3708 (dateFormat1, dateFormat2, dateFormat3): Removed.
3709 (dateFormats): New field.
3710 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3711 each time instead of re-allocating.
3712 (initializeDateFormats): Initialize 'dateFormats'.
3713
3714 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3715
3716 PR libgcj/16591
3717 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3718 is defined.
3719
3720 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3721
3722 * java/net/Socket.java (getImpl): Now private. Remove comment.
3723
3724 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3725
3726 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3727 of chained Writer when calling super-constructor.
3728 * java/io/FilterWriter.java (FilterWriter): Likewise.
3729 * java/io/PrintWriter.java (PrintWriter): Likewise.
3730
3731 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3732
3733 * prims.cc (process_gcj_properties): Don't increment i within LHS
3734 of assignment.
3735
3736 2004-07-19 Per Bothner <per@bothner.com>
3737
3738 Print -verbose:message on "loading", not initialization.
3739 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3740 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3741 gcj::verbose_class_flag.
3742 * java/lang/natClass.cc (initializeClass): Don't print message here.
3743 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3744 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3745 (_Jv_PrepareCompiledClass): Likewise.
3746
3747 2004-07-18 Matthias Klose <doko@debian.org>
3748
3749 * configure.in: Substitute target_noncanonical.
3750 * configure: Regenerate
3751
3752 2004-07-17 Michael Koch <konqueror@gmx.de>
3753
3754 * java/lang/String.java: Fixed javadocs all over.
3755
3756 2004-07-17 Mark Wielaard <mark@klomp.org>
3757
3758 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3759 when size is smaller.
3760 * java/io/RandomAccessFile.java (setLength): Use truncate for
3761 shrinking the file and seek plus write for expanding the file.
3762
3763 2004-07-17 Michael Koch <konqueror@gmx.de>
3764
3765 * gnu/java/nio/channels/natFileChannelPosix.cc
3766 (implTruncate): Always save current position. Only reposition file
3767 pointer to where we started if not beyond new lenght. Reposition file
3768 pointer to file length if it points beyond the end of file.
3769
3770 2004-07-17 Mark Wielaard <mark@klomp.org>
3771
3772 * javax/swing/Box.java: Put FIXME comment above class declaration.
3773 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3774 * javax/swing/JCheckBox.java: Likewise.
3775 * javax/swing/JDialog.java: Likewise.
3776 * javax/swing/JRadioButton.java: Likewise.
3777 * javax/swing/JToggleButton.java: Likewise.
3778 * javax/swing/UIManager.java: Likewise.
3779 * javax/swing/border/TitledBorder.java: Likewise.
3780 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3781 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3782 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3783 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3784 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3785 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3786 * javax/swing/text/JTextComponent.java: Likewise.
3787
3788 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3789
3790 * java/net/DatagramPacket.java (setAddress): Removed check for
3791 null address.
3792
3793 2004-07-17 Michael Koch <konqueror@gmx.de>
3794
3795 * java/net/DatagramSocket.java
3796 (getLocalAddress): Check if socket is bound or not.
3797 * java/net/Socket.java
3798 (getLocalAddrss): Check if socket is bound or not.
3799 (getPort): Return -1 when not connected. Dont check getImpl() for
3800 null.
3801 (setReuseAddress): Check if socket is closed.
3802 (isConnected): Check if getImpl() returns null.
3803
3804 2004-07-17 Mark Wielaard <mark@klomp.org>
3805
3806 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3807 on notifier object before calling notifyAll().
3808
3809 2004-07-17 Michael Koch <konqueror@gmx.de>
3810
3811 * gnu/java/nio/channels/FileChannelImpl.java
3812 (finalize): Added javadoc.
3813
3814 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3815
3816 * java/text/CollationElementIterator.java
3817 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3818 (setText): Use ArrayList instead of Vector.
3819
3820 2004-07-17 Michael Koch <konqueror@gmx.de>
3821
3822 * java/nio/ByteOrder.java
3823 (static): Removed. Not needed.
3824 Thanks to Patrick Reali for noticing.
3825 * java/nio/charset/CharsetDecoder.java
3826 (decode): Fix for classpath bug #9177: Reset state before flipping.
3827
3828 2004-07-17 Michael Koch <konqueror@gmx.de>
3829
3830 * java/security/Security.java: Fixed javadocs all over.
3831
3832 2004-07-17 Michael Koch <konqueror@gmx.de>
3833
3834 * gnu/java/awt/EmbeddedWindow.java
3835 (static): Removed.
3836 (addNotify): Set peer via reflection.
3837 (setWindowPeer): Removed.
3838 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3839 * Makefile.am (nat_source_files):
3840 Removed gnu/java/awt/natEmbeddedWindow.cc.
3841 * Makefile.in: Regenerated.
3842
3843 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3844
3845 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3846 assignment.
3847 * configure: Regenerated.
3848
3849 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3850
3851 * configure.in: Use build_noncanonical rather than build_alias.
3852 * configure: Rebuild.
3853
3854 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3855 by logic refactoring. Move default definition of NATIVE closer
3856 to first alternate definition.
3857 * configure: Regenerate.
3858
3859 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3860 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3861 gcj/Makefile.in: Regenerate.
3862 * configure.in: Set ZIP and GCJH. Remove redundant condition
3863 in AM_CONDITIONAL(NATIVE,...)
3864 * configure: Regenerate.
3865
3866 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3867
3868 * configure.in: Use target_noncanonical rather than
3869 target_alias for forward-compatibility with autoconf 2.59.
3870 * configure: Regenerate.
3871 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3872 testsuite/Makefile.am: Substitute target_noncanonical.
3873 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3874 testsuite/Makefile.in: Regenerate.
3875
3876 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3877 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3878 * acinclude.m4: Include acx.m4.
3879 * aclocal.m4: Regenerate.
3880 * configure: Regenerate.
3881
3882 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3883
3884 PR libgcj/16574
3885 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3886 (decimalFormat): New static variable.
3887 (sbuf): Likewise.
3888 (getTime): New. Override Date.getTime().
3889 (toString): Synchronize. Use decimalFormat to format nanos value
3890 correctly. Truncate extra zeros.
3891 (before): Compare getNanos() only if getTime() is equal.
3892 (after): Likewise.
3893
3894 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3895
3896 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3897 * configure.in: ...here.
3898 * aclocal.m4: Regenerate.
3899 * configure: Regenerate.
3900
3901 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3902 * configure: Rebuilt with autoconf 2.13.
3903 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3904 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3905
3906 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3907
3908 PR libgcj/16204
3909 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3910 large file support.
3911 * Makefile.in: Rebuilt.
3912 * testsuite/libjava.lang/LargeFile.java: New test case.
3913 * testsuite/libjava.lang/LargeFile.out: New file.
3914
3915 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3916
3917 * java/beans/EventHandler.java: Remove debugging statements.
3918
3919 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3920
3921 * java/beans/EventHandler.java: New file.
3922 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3923 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3924 testsuite/Makefile.in: Regenerate.
3925
3926 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3927
3928 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3929 flag to the gcj_setup.
3930 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3931 the tclsh.
3932 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3933 deprecation flag change. 58 XFAILS removed.
3934
3935 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3936
3937 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3938 -fno-use-divide-subroutine.
3939 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3940 (HANDLE_FPE): Define.
3941 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3942 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3943 (HANDLE_DIVIDE_OVERFLOW): Define.
3944
3945 2004-07-14 Michael Koch <konqueror@gmx.de>
3946 Matthias Klose <doko@debian.org>
3947
3948 * java/awt/im/InputContext.java: Initialize in, line.
3949
3950 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3951
3952 * interpret.cc (run): Correctly access libffi return values of
3953 integral smaller-than-int type; these are implicitly promoted.
3954
3955 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3956
3957 PR libgcj/7587
3958 * interpret.cc (compile_mutex): New.
3959 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3960 (run): Lock compile_mutex before calling compile() if compilation is
3961 required.
3962 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3963 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3964
3965 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3966
3967 PR libgcj/15713
3968 * include/jvm.h (_Jv_value): New union type.
3969 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3970 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3971 union members.
3972
3973 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3974
3975 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3976 * gnu/awt/xlib/XOffScreenImage.java
3977 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3978 constructor argument. Add constructor using ImageProducer.
3979 (getSource): Implement.
3980 (imageComplete): New method.
3981 (setColorModel): New method.
3982 (setDimensions): New method.
3983 (setHints): New method.
3984 (setPixels): New method.
3985 (setProperties): New method.
3986 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3987 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3988
3989 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3990
3991 PR libgcj/16478
3992 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3993 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3994 (finalizerReady): Now native.
3995 (run): Likewise.
3996 (runFinalizers): Removed.
3997 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3998 a primitive lock, and don't hold it while running the finalizers.
3999 (runFinalizers): Implement. Don't aquire any Java lock.
4000 (finalizerReady): Use lock primitives to signal finalizer thread.
4001
4002 2004-07-11 Mark Wielaard <mark@klomp.org>
4003
4004 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4005 * java/net/URLStreamHandler.java (parseURL): When url file part
4006 doesn't contain a '/' just ignore context.
4007
4008 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4009
4010 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4011 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4012 (MAKE_THROW_FRAME): Do not modify PSW address.
4013 (INIT_SEGV): Install SIGINFO-style signal handler.
4014 (INIT_FPE): Likewise.
4015
4016 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4017
4018 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4019 status. 21 xfail's removed, 1 added.
4020
4021 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4022
4023 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4024
4025 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4026
4027 * java/text/MessageFormat.java
4028 (formatInternal): Append "{n}" if argument n is unavailable.
4029 (format(Object, StringBuffer, FieldPosition)): This
4030 should be equivalent to format(Object[],
4031 StringBuffer, FieldPosition).
4032
4033 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4034
4035 * java.util.Calendar.java (cache): New private static field. Cached
4036 mappings of locales->calendar classes.
4037 (ctorArgTypes): New private static field. Singleton argument for
4038 calendar class constructor lookup.
4039 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4040 Optimize by bypassing reflection instantiation for the
4041 GregorianCalendar case.
4042
4043 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4044
4045 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4046 ResourceBundle.getBundle() calls.
4047 * java/util/GregorianCalendar.java: Likewise.
4048 * java/util/Currency.java: Likewise.
4049 * java/text/BreakIterator.java: Likewise.
4050 * java/text/Collator.java: Likewise.
4051 * java/text/DateFormat.java: Likewise.
4052 * java/text/DateFormatSymbols.java: Likewise.
4053 * java/text/DecimalFormatSymbols.java: Likewise.
4054 * java/text/NumberFormat.java: Likewise.
4055 * java/awt/Window.java: Likewise.
4056
4057 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4058
4059 * java/util/ResourceBundle.java (bundleCache): Renamed from
4060 resourceBundleCache. Update comments.
4061 (getObject): Don't catch MissingResourceException.
4062 (getBundle(String)): Remove 'final'. Use system classloader if
4063 getCallingClassLoader returned null.
4064 (getBundle(String, Locale)): Likewise.
4065 (BundleKey): New private class. HashMap key for bundle cache lookup.
4066 (lookupKey): New. Singleton instance of BundleKey.
4067 (nullEntry): New. Cache entry to represent failed lookups.
4068 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4069 caching strategy, no-allocation lookup, and new tryBundle methods.
4070 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4071 name using given classloader.
4072 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4073 baseName for given Locale and attempt to load bundle.
4074
4075 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4076
4077 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4078 illegal protected method calls.
4079
4080 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4081
4082 Fix or remove some bogus test cases.
4083 * testsuite/libjava.compile/pr10459_2.java: Removed.
4084 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4085 not Object.clone().
4086 * testsuite/libjava.compile/inner_data.java: Test against its own
4087 protected field.
4088
4089 2004-07-09 Michael Koch <konqueror@gmx.de>
4090
4091 * scripts/unicode-muncher.pl: Updated to version 2.1
4092 from GNU classpath. Added some clarifications on where to find the
4093 needed files from www.unicode.org.
4094 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4095 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4096 Removed, these can directly be downloaded from www.unicode.org if
4097 needed.
4098 * gnu/java/lang/CharData.java: Regenerated.
4099 * include/java-chartables.h: Regenerated.
4100 * Makefile.am (ordinary_java_source_files):
4101 Removed gnu/java/lang/CharData.java.
4102 * Makefile.in: Regenerated.
4103
4104 2004-07-09 Michael Koch <konqueror@gmx.de>
4105
4106 * java/security/AccessControlContext.java,
4107 java/security/SecureClassLoader.java:
4108 Fixed javadocs.
4109
4110 2004-07-09 Michael Koch <konqueror@gmx.de>
4111
4112 * java/io/ObjectInputStream.java (readFields): Use long datatype
4113 when shifting byte values more then 24 bits left.
4114
4115 2004-07-09 Michael Koch <konqueror@gmx.de>
4116
4117 * java/util/zip/DeflaterOutputStream.java,
4118 java/util/zip/GZIPInputStream.java,
4119 java/util/zip/GZIPOutputStream.java,
4120 java/util/zip/InflaterInputStream.java:
4121 Reformatted. Added javadocs. Reordered all stuff.
4122 Renamed variables to be more clear.
4123
4124 2004-07-09 Michael Koch <konqueror@gmx.de>
4125
4126 * javax/imageio/IIOException.java,
4127 javax/imageio/event/IIOReadProgressListener.java,
4128 javax/imageio/event/IIOReadUpdateListener.java,
4129 javax/imageio/event/IIOReadWarningListener.java,
4130 javax/imageio/event/IIOWriteProgressListener.java,
4131 javax/imageio/event/IIOWriteWarningListener.java:
4132 New files.
4133 * Makefile.am: Added new files.
4134 * Makefile.in: Regenerated.
4135
4136 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4137
4138 * java/text/RuleBasedCollator.java
4139 (mergeRules): Use ArrayList instead of Vector.
4140 (subParseString): likewise.
4141 (parseString): likewise.
4142 (buildCollationVector): likewise.
4143 (getCollationKey): likewise.
4144
4145 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4146
4147 * java/text/DateFormat.java (parse):
4148 Improved javadoc. Improved exception message.
4149
4150 2004-07-09 Mark Wielaard <mark@klomp.org>
4151
4152 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4153 interrupted() method to clear interupt flag of our Thread.
4154
4155 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4156
4157 * java/nio/Buffer.java,
4158 java/nio/ByteBuffer.java,
4159 java/nio/ByteBufferHelper.java,
4160 java/nio/ByteBufferImpl.java,
4161 java/nio/CharBuffer.java,
4162 java/nio/CharBufferImpl.java,
4163 java/nio/CharViewBufferImpl.java,
4164 java/nio/DirectByteBufferImpl.java,
4165 java/nio/DoubleBuffer.java,
4166 java/nio/DoubleBufferImpl.java,
4167 java/nio/DoubleViewBufferImpl.java,
4168 java/nio/FloatBuffer.java,
4169 java/nio/FloatBufferImpl.java,
4170 java/nio/FloatViewBufferImpl.java,
4171 java/nio/IntBuffer.java,
4172 java/nio/IntBufferImpl.java,
4173 java/nio/IntViewBufferImpl.java,
4174 java/nio/LongBuffer.java,
4175 java/nio/LongBufferImpl.java,
4176 java/nio/LongViewBufferImpl.java,
4177 java/nio/MappedByteBufferImpl.java,
4178 java/nio/ShortBuffer.java,
4179 java/nio/ShortBufferImpl.java,
4180 java/nio/ShortViewBufferImpl.java:
4181 Fixed javadocs all over. Improved input error
4182 checking.
4183
4184 * java/nio/Buffer.java
4185 (checkForUnderflow, checkForOverflow, checkIndex,
4186 checkIfReadOnly, checkArraySize): New helper methods
4187 for error checking.
4188
4189 * java/nio/ByteBufferHelper.java
4190 (checkRemainingForRead, checkRemainingForWrite,
4191 checkAvailableForRead, checkAvailableForWrite): Removed
4192 no longer needed methods.
4193
4194 2004-07-09 Michael Koch <konqueror@gmx.de>
4195
4196 * gnu/regexp/CharIndexedInputStream.java:
4197 Reordered imports to match classpath.
4198
4199 2004-07-09 Michael Koch <konqueror@gmx.de>
4200
4201 * gnu/java/awt/EmbeddedWindow.java:
4202 Load native library for setWindowPeer method.
4203
4204 2004-07-08 Randolph Chung <tausq@debian.org>
4205
4206 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4207 * configure: Regenerate.
4208 * configure.host: Set can_unwind_signal for hppa*-linux.
4209 * include/pa-signal.h: New file.
4210
4211 2004-07-07 Per Bothner <per@bothner.com>
4212
4213 * Makefile.am: Add rules to build libgij from just gij.cc.
4214
4215 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4216 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4217 (initializeClass): If verbose_class_flag, print message.
4218 * gij.cc (main): Handle -verbose:class flag.
4219
4220 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4221
4222 * configure.host: Enable hash synchronization on Darwin.
4223 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4224 ';', since this is a comment on Darwin.
4225 (compare_and_swap_release): Likewise.
4226
4227 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4228
4229 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4230 file portion of URL in addition to spec for file: protocol.
4231
4232 2004-07-05 Anthony Green <green@redhat.com>
4233
4234 * java/io/File.java (toURI): Merge from Classpath.
4235
4236 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4237
4238 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4239 before passing to URL constructor. Rethrow any MalformedURLException
4240 as a RuntimeException. Catch MalformedURLException specifically, not
4241 all exceptions.
4242
4243 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4244
4245 * java/util/Locale.java (readObject): Intern strings read from object
4246 stream.
4247
4248 2004-07-04 Michael Koch <konqueror@gmx.de>
4249
4250 * gnu/gcj/runtime/FirstThread.java,
4251 gnu/gcj/runtime/natFirstThread.cc: Removed.
4252 * gnu/java/lang/MainThread.java,
4253 gnu/java/lang/natMainThread.cc: New files.
4254 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4255 * Makefile.am: Added new files and removed deleted ones.
4256 * Makefile.in: Regenerated.
4257
4258 2004-07-03 Mark Wielaard <mark@klomp.org>
4259 Anthony Green <green@redhat.com>
4260
4261 * java/net/URL.java (getFile): Clarify return value doc.
4262 (getPath): Return null if file is empty - not empty String.
4263 (set): Convert protocol to lower case before doing anything.
4264 Only change the protocol handler if it's different.
4265
4266 2004-07-03 Anthony Green <green@redhat.com>
4267
4268 * java/net/URL.java (URL): Convert protocol to lower case before
4269 doing anything, so we getURLStreamHandler() with the proper value.
4270
4271 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4272
4273 * java/util/Locale.java (hashcode): Made transient.
4274 (hashCode): No longer synchronized.
4275 (equals): Remove comment.
4276 (writeObject): No longer synchronized. Implement using writeObject
4277 calls instead of tweaking hashCode field. Update doc.
4278 (readObject): Implement using readObject calls.
4279
4280 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4281 Andreas Tobler <a.tobler@schweiz.ch>
4282
4283 * configure.host (powerpc-*-darwin*): New case, define
4284 can_unwind_signal.
4285 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4286 * configure: Regenerate.
4287 * include/darwin-signal.h: New.
4288
4289 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4290
4291 * java/beans/Statement.java (doExecute): Fix formatting.
4292
4293 2004-06-29 Per Bothner <per@bothner.com>
4294
4295 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4296 etc etc): Remove needless parenthesis, which causes __stdcall__
4297 attribute on MinGW to get ignored.
4298
4299 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4300
4301 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4302
4303 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4304
4305 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4306
4307 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4308
4309 * java/beans/Expression.java: New file.
4310 * java/beans/Statement.java: New file.
4311 * Makefile.am: Added new files.
4312 * Makefile.in: Re-generate.
4313
4314 2004-06-27 Mark Wielaard <mark@klomp.org>
4315
4316 * java/io/FilePermission.java (usingPerms): Removed.
4317 (actionsString): Made final.
4318 (cachePerms): Renamed to checkPerms.
4319 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4320 on action String.
4321 (FilePermission): Check arguments, call checkPerms().
4322 (equals): Remove cachePerms() call.
4323 (implies): Likewise.
4324
4325 2004-06-27 Mark Wielaard <mark@klomp.org>
4326
4327 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4328 final field.
4329 (sendRequest): Use new field in user-agent http agent.
4330
4331 2004-06-27 Mark Wielaard <mark@klomp.org>
4332
4333 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4334 when argument is null.
4335
4336 2004-06-26 Mark Wielaard <mark@klomp.org>
4337
4338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4339 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4340 GetMethodID call.
4341 (cancel_clicked): Likewise.
4342
4343 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4344
4345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4346 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4347 can not calculate the right value.
4348 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4349
4350 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4351
4352 * testsuite/libjava.jacks/jacks.xfail: Remove
4353 15.9.1-qualified-concrete-20.
4354
4355 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4356
4357 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4358 encoding name to iconv.
4359 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4360
4361 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4362
4363 PR libgcj/16134:
4364 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4365 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4366 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4367
4368 2004-06-21 Andrew Haley <aph@redhat.com>
4369
4370 * java/io/ObjectOutputStream.java: Add DEBUG statements
4371 everywhere.
4372 (dumpElementln): New method.
4373 (depth): New field.
4374 * java/io/ObjectInputStream.java
4375 (currentClassLoader): Make native.
4376 (callersClassLoader): New field.
4377 (depth): New field.
4378 (readObject): ENDBLOCKDATA is generated if the class has a write
4379 method, not if it has a read method.
4380 (readObject): Save and restore this.currentObject and
4381 this.currentObjectStreamClass around calls to callReadMethod().
4382 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4383 method.
4384
4385 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4386
4387 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4388 darwin.
4389
4390 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4391
4392 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4393 if desired, before the default class loader is initialised.
4394 Call INIT_SEGV only if HANDLE_SEGV is defined.
4395
4396 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4397
4398 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4399 directory only if it actually exists.
4400
4401 2004-06-18 Graydon Hoare <graydon@redhat.com>
4402
4403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4404 Fix up non-ansi comments.
4405
4406 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4407
4408 * javax/swing/text/AbstractDocument.java: Adding missing import
4409 for javax.swing.event.EventListenerList.
4410 * javax/swing/text/DefaultCaret.java: Likewise.
4411
4412 2004-06-17 Michael Koch <konqueror@gmx.de>
4413
4414 * javax/swing/JToolBar.java
4415 (name): Removed.
4416 (JToolBar): Use Component.setName(String) instead of doing it all
4417 alone.
4418 * javax/swing/Timer.java
4419 (queueEvent): Added missing modifier.
4420
4421 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4422
4423 * Makefile.am: Added new file.
4424 * Makefile.in: Re-generate.
4425 * javax/swing/JMenu.java:
4426 (insertSeparator): Implemented.
4427 * javax/swing/JPopupMenu.java:
4428 (JPopupMenu.Separator): Implemented.
4429 * javax/swing/MenuSelectionManager.java:
4430 (processMouseEvent): Use java.awt.Component
4431 for event source instead of javax.swing.JComponent.
4432 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4433 New File. Implemented.
4434
4435 2004-06-16 David Jee <djee@redhat.com>
4436
4437 * java/awt/GridBagLayout.java
4438 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4439 Make sure pos_x and pos_y are never negative.
4440
4441 2004-04-16 Andrew Overholt <overholt@redhat.com>
4442
4443 * Makefile.am: Add new file.
4444 * Makefile.in: Re-generate.
4445 * javax/swing/JToolBar.java
4446 Partially implemented.
4447 * javax/swing/plaf/basic/BasicToolBarUI.java
4448 New file. Partially implemented.
4449
4450 2004-06-16 Graydon Hoare <graydon@redhat.com>
4451
4452 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4453 (setComposite): Accept AlphaComposite arguments.
4454 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4455 (createBufferedImage): Add new overloads.
4456 * gnu/java/awt/peer/gtk/GtkToolkit.java
4457 (createImage): Use GdkPixbufDecoder.createBufferedImage
4458 when useGraphics2D() is true.
4459 (getImage): Delegate to createImage.
4460 * javax/swing/JList.java
4461 (isSelectionEmpty):
4462 (getFirstVisibleIndex):
4463 (getLastVisibleIndex):
4464 (setSelectedValue):
4465 (ensureIndexIsVisible): New methods.
4466 * javax/swing/Timer.java: Reimplement.
4467
4468 2004-06-16 Michael Koch <konqueror@gmx.de>
4469
4470 * javax/swing/text/AbstractDocument.java
4471 (AbstracElement): Made public, implements java.io.Serializable.
4472 (AttributeContext): Made public.
4473 (BranchElement): Likewise.
4474 (Content): Likewise.
4475 (DefaultDocumentEvent): Made public, extends
4476 javax.swing.undo.CompoundEdit.
4477 (ElementEdit): Made public, extends
4478 javax.swing.undo.AbstractUndoableEdit.
4479 (LeafElement): Made public.
4480 (LeafElement.LeafElement): Made public.
4481
4482 2004-06-16 Michael Koch <konqueror@gmx.de>
4483
4484 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4485 methods (that were obviously never be intended to get included hi this
4486 class. Added some methods too.
4487
4488 2004-06-16 Michael Koch <konqueror@gmx.de>
4489
4490 * javax/swing/text/PlainDocument.java
4491 (serialVersionUID): New constant.
4492 (lineLimitAttribute): Likewise.
4493 (tabSizeAttribute): Likewise.
4494 (tabSize): New field.
4495 (PlainDocument): Made public.
4496 (PlainDocument): New constructor.
4497
4498 2004-06-16 Michael Koch <konqueror@gmx.de>
4499
4500 * javax/swing/text/AbstractDocument.java
4501 (insertString): Throws BadLocationException.
4502 * javax/swing/text/Document.java
4503 (insertString): Likewise.
4504 * javax/swing/text/JTextComponent.java:
4505 Javadocs and comments cleaned up.
4506
4507 2004-06-16 Michael Koch <konqueror@gmx.de>
4508
4509 * javax/swing/event/UndoableEditListener.java: Reformatted.
4510 * javax/swing/text/AbstractDocument.java
4511 (AbstractDocument): Implements java.io.Serializable.
4512 (doc_list): Removed.
4513 (undo_list): Removed.
4514 (AbstractElement.serialVerionUID): New field.
4515 (BranchElement.serialVerionUID): Likewise.
4516 (DefaultDocumentEvent.serialVerionUID): Likewise.
4517 (ElementEdit.serialVerionUID): Likewise.
4518 (LeafElement.serialVerionUID): Likewise.
4519 (serialVerionUID): Likewise.
4520 (BAD_LOCATION): New constant.
4521 (BidiElementName): Likewise.
4522 (ContentElementName): Likewise.
4523 (ParagraphElementName): Likewise.
4524 (SectionElementName): Likewise.
4525 (ElementNameAttribute): Likewise.
4526 (AbstractDocument): Made protected.
4527 (AbstractDocument): New construtor.
4528 (listenerList): New field.
4529 (fireChangedUpdate): Implemented.
4530 (fireInsertUpdate): Likewise.
4531 (fireRemoveUpdate): Likewise.
4532 (fireUndoableEditUpdate): Likewise.
4533 (getListeners): Likewise.
4534 (addDocumentListener): Likewise.
4535 (removeDocumentListener): Likewise.
4536 (addUndoableEditListener): Likewise.
4537 (removeUndoableEditListener): Likewise.
4538 (getDocumentListeners): New method.
4539 (getUndoableEditListeners): Likewise.
4540 (getAsynchronousLoadPriority): Made public.
4541 (getBidiRootElement): Likewise.
4542 (setAsynchronousLoadPriority): Likewise.
4543 (setDocumentProperties): Likewise.
4544 * javax/swing/text/BadLocationException.java
4545 (serialVerionUID): New field.
4546 * javax/swing/text/DefaultCaret.java
4547 (changeEvent): New field.
4548 (listenerList): Likewise.
4549 (changes): Removed.
4550 (addChangeListener): Reimplemented.
4551 (removeChangeListener): Likewise.
4552 (getListeners): New method.
4553 (getChangeListeners): Likwise.
4554 (getComponent): Likewise.
4555 * javax/swing/text/GapContent.java
4556 (GapContent): Implements java.io.Serializable.
4557 (serialVerionUID): New field.
4558
4559 2004-06-16 Michael Koch <konqueror@gmx.de>
4560
4561 * javax/swing/JTree.java
4562 (treeModel): New field.
4563 (JTree): New constructors, one existing one made public.
4564 (createTreeModel): New method.
4565 (addTreeExpansionListener): Likewise.
4566 (removeTreeExpansionListener): Likewise.
4567 (getTreeExpansionListeners): Likewise.
4568 (fireTreeCollapsed): Likewise.
4569 (fireTreeExpanded): Likewise.
4570 (addTreeSelectionListener): Likewise.
4571 (removeTreeSelectionListener): Likewise.
4572 (getTreeSelectionListeners): Likewise.
4573 (fireValueChanged): Likewise.
4574 (addTreeWillExpandListener): Likewise.
4575 (removeTreeWillExpandListener): Likewise.
4576 (getTreeWillExpandListeners): Likewise.
4577 (fireTreeWillCollapse): Likewise.
4578 (fireTreeWillExpand): Likewise.
4579
4580 2004-06-16 Michael Koch <konqueror@gmx.de>
4581
4582 * javax/swing/JTree.java: Reformatted.
4583
4584 2004-06-16 Michael Koch <konqueror@gmx.de>
4585
4586 * javax/swing/JTextArea.java: New file.
4587 * javax/swing/JTextField.java
4588 (actions): Removed.
4589 (notifyAction): New constant.
4590 (columns): New field.
4591 (JTextField): New constructors.
4592 (createDefaultModel): New method.
4593 (addActionListener): Reimplmemented.
4594 (removeActionListener): Reimplemented.
4595 (getActionListeners): New method.
4596 (fireActionPerformed): New method.
4597 (getColumns): New method.
4598 (setColumne): New method.
4599 * javax/swing/text/JTextComponent.java
4600 (AccessibleJTextComponent.serialVersionUID): New field.
4601 (serialVersionUID): Likewise.
4602 (DEFAULT_KEYMAP): Likewise.
4603 (FOCUS_ACCELERATOR_KEY): Likewise.
4604 (doc): Made private.
4605 (icon_gap): Likewise.
4606 (icon): Likewise.
4607 (align): Likewise.
4608 (JTextComponent): Some constructors removed.
4609 (getScrollableTracksViewportHeight): New method.
4610 (getScrollableTracksViewportWidth): Likewise.
4611 * Makefile.am: Added javax/swing/JTextArea.java.
4612 * Makefile.in: Regenerated.
4613
4614 2004-06-15 Graydon Hoare <graydon@redhat.com>
4615
4616 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4617 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4618 * javax/swing/JViewport.java
4619 (getExtentSize): Return size rather than preferred size.
4620 (toViewCoordinates): New methods.
4621 (getViewSize): Return size rather than preferred size.
4622 (setViewSize): Note view size as set.
4623 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4624 * javax/swing/plaf/basic/BasicScrollBarUI.java
4625 (getPreferredSize): Don't redo layout.
4626 * javax/swing/plaf/basic/BasicViewportUI.java
4627 (paint): Translate image properly and eat exceptions.
4628
4629 2004-06-15 Kim Ho <kho@redhat.com>
4630
4631 * javax/swing/JTabbedPane.java
4632 (setComponent): Remove old component and
4633 add new component.
4634 (setSelectedIndex): Don't operate on the
4635 components if they're null. Don't set index
4636 on the model if the index is the same.
4637 (insertTab): Don't add or hide the component
4638 if it's null. Repaint the container.
4639 * javax/swing/plaf/basic/BasicLookAndFeel.java
4640 Change colors for TabbedPane.
4641 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4642 (mousePressed): Re-layout and paint the component.
4643 (layoutContainer): Don't set location on the view.
4644 (ScrollingViewport::paint): Remove.
4645
4646 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4647
4648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4649 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4650
4651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4652 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4653 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4654 critical region.
4655 (drawLine): Call gdk_flush before leaving GDK critical region.
4656 (fillRect): Likewise.
4657 (drawRect): Likewise.
4658 (copyArea): Likewise.
4659 (copyPixmap): Likewise.
4660 (clearRect): Likewise.
4661 (drawArc): Likewise.
4662 (drawPolyline): Likewise.
4663 (drawPolygon): Likewise.
4664 (fillPolygon): Likewise.
4665 (fillArc): Likewise.
4666 (drawOval): Likewise.
4667 (fillOval): Likewise.
4668
4669 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4670 style parameter.
4671 (GdkFontMetrics): Add style argument to initState call.
4672 (stringWidth(String,int,int,String)): Add style parameter.
4673 (stringWidth(String)): Add style argument to stringWidth call.
4674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4675 (initState): Set pango font style and weight based on AWT style
4676 parameter. Pass default GTK language to
4677 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4678 simply dividing by PANGO_SCALE.
4679 (stringWidth): Set pango font style and weight based on AWT style
4680 parameter.
4681
4682 * java/awt/Button.java (next_button_number): New field.
4683 (paramString): Change output.
4684 (generateName): New method.
4685 (getUniqueLong): New method.
4686
4687 2004-06-14 Kim Ho <kho@redhat.com>
4688
4689 * javax/swing/JTabbedPane.java:
4690 (setComponentAt): Set the component, not
4691 the enabled status.
4692 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4693 (actionPerformed): Let deiconize catch exception.
4694
4695 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4696
4697 * javax/swing/JPopupMenu.java:
4698 (setVisible): Corrected location of a
4699 heavyweight popup menu.
4700
4701 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4702
4703 * javax/swing/MenuSelectionManager.java:
4704 Ran through jalopy to fix formatting style.
4705
4706 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4707
4708 * javax/swing/JLayeredPane.java:
4709 (remove): Revalidate and repaint layered pane after
4710 the component was removed.
4711 javax/swing/JMenu.java:
4712 (setVisible): Display popup menu at the user location,
4713 if one was set by the user.
4714 (setMenuLocation): Reimplemented. Fixed javadoc.
4715 * javax/swing/JMenuBar.java: Added javadoc.
4716 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4717 (MODEL_CHANGED_PROPERTY): New Property.
4718 (isSelected): Implemented.
4719 (setBorderPainted): Fire PropertyChangeEvent
4720 if paintBorder property changes.
4721 (setSelected): Implemented.
4722 (setSelectionModel): Implemented.
4723 * javax/swing/JPopupMenu.java: Added Javadoc
4724 (pack): Implemented.
4725 (setVisible): Reimplemented.
4726 (show): Fixed location.
4727 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4728 Container instead of JPanel.
4729 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4730 (clearSelectedPath): Reimplemented to clear selectedPath
4731 in reverse order.
4732 (processMouseEvent): Reimplemented.
4733 (setSelectedPath): Fire stateChange event indicating that
4734 selected menu path has changed.
4735 (getPath): Change to use ArrayList instead of Vector.
4736 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4737 (installUI): call installKeyboardActions().
4738 (uninstallUI): call uninstallKeyboardActions().
4739
4740 2004-06-13 Michael Koch <konqueror@gmx.de>
4741
4742 * javax/swing/text/DefaultCaret.java,
4743 javax/swing/text/BadLocationException.java:
4744 Reformatted.
4745
4746 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4747
4748 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4749 DEFAULT_COLS): New variables.
4750 (create): Don't allow 0 rows or 0 columns. Instead, set the
4751 values to DEFAULT_ROWS or DEFAULT_COLS.
4752 (getMinimumSize): Likewise.
4753 (getPreferredSize): Likewise.
4754 (minimumSize): Likewise.
4755 (preferredSize): Likewise.
4756 (create): Set peer's editable state.
4757 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4758 zero. Update javadocs.
4759 (TextArea(String)): Likewise.
4760 (TextArea(int,int)): Fix javadocs.
4761 (TextArea(String,int,int,int)): Only throw exception if one of
4762 rows or columns is zero. Fix javadocs.
4763
4764 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4765
4766 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4767 addition to Components.
4768
4769 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4770 wasn't consumed by normal processing, send it to the parent
4771 menu.
4772
4773 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4774 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4775 translation.
4776
4777 2004-06-11 David Jee <djee@redhat.com>
4778
4779 * java/awt/MediaTracker.java
4780 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4781 (addImage(Image,int,int,int)): Likewise.
4782
4783 2004-06-11 Michael Koch <konqueror@gmx.de>
4784
4785 * javax/swing/text/AbstractDocument.java,
4786 javax/swing/text/Document.java,
4787 javax/swing/text/GapContent.java,
4788 javax/swing/text/JTextComponent.java,
4789 javax/swing/text/PlainDocument.java:
4790 Reformatted.
4791
4792 2004-06-11 Michael Koch <konqueror@gmx.de>
4793
4794 * javax/swing/JRootPane.java
4795 (AccessibleJRootPane.serialVersionUID): New field.
4796 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4797 (AccessibleJRootPane.getAccessibleRole): New method.
4798 (RootLayout): Implements Serializable.
4799 (RootLayout.serialVersionUID): New field.
4800 (RootLayout.RootLayout): New constructor.
4801 (setJMenuBar): Made public.
4802 (getJMenuBar): Likewise.
4803 (JRootPane): Likewise.
4804 (createContentPane): Likewise.
4805 (createGlassPane): Likewise.
4806 (createLayeredPane): Likewise.
4807
4808 2004-06-11 Michael Koch <konqueror@gmx.de>
4809
4810 * javax/swing/SwingUtilities.java
4811 (isLeftMouseButton): Fixed javadoc.
4812 (isMiddleMouseButton): Likewise.
4813 (isRightMouseButton): Likewise.
4814
4815 2004-06-11 Michael Koch <konqueror@gmx.de>
4816
4817 * javax/swing/JScrollPane.java
4818 (serialVersionUID): New field.
4819 (columnHeader): Made protected.
4820 (rowHeader): Likewise.
4821 (lowerLeft): Likewise.
4822 (lowerRight): Likewise.
4823 (upperLeft): Likewise.
4824 (upperRight): Likewise.
4825 (horizontalScrollBar): Likewise.
4826 (horizontalScrollBarPolicy): Likewise.
4827 (verticalScrollBar): Likewise.
4828 (verticalScrollBarPolicy): Likewise.
4829 (viewport): Likewise.
4830
4831 2004-06-11 Michael Koch <konqueror@gmx.de>
4832
4833 * javax/swing/LookAndFeel.java: Fixed javadocs.
4834
4835 2004-06-11 Michael Koch <konqueror@gmx.de>
4836
4837 * javax/swing/JEditorPane.java: Fixed javadocs.
4838 (JEditorPane): Removed redundant call to to this().
4839 (fireHyperlinkUpdate): Implemented.
4840
4841 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4842
4843 * javax/swing/JMenu.java: Fixed file name
4844 in the file comment.
4845
4846 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4847
4848 * javax/swing/JMenu.java: Added javadoc.
4849 (JMenu): Added MenuChangeListener to listen to
4850 ChangeEvents occuring in menu's model.
4851 (insert): Throw IllegalArgumentException if
4852 index is less than 0
4853 (setSelected): Reimplement.
4854 (setPopupMenuVisible): Call menu's model isEnabled()
4855 (setDelay): Throw IllegalArgumentException if
4856 given amount of delay is less than 0.
4857 (createActionComponent): Implemented.
4858 (createActionChangeListener): Implemented.
4859 (addSeparator): Implemented.
4860 (getItem): Throw IllegalArgumentException if index is
4861 less than 0.
4862 (getItemCount): Implemented.
4863 (fireMenuSelected): Changed to use menuEvent.
4864 (fireMenuDeselected): Likewise.
4865 (fireMenuCanceled): Likewise.
4866 (setAccelerator): Changed to throw an error if this
4867 method is used.
4868 (doClick): Implemented.
4869 (JMenu.ActionChangedListener): New inner class to handle
4870 PropertyChangeEvents occuring in the actions associated with menu.
4871 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4872 (BasicMenuUI): Added PropertyChangeListener to the menu.
4873 (createChangeListener): Implemented.
4874 (createMenuDragMouseListener): Likewise.
4875 (createMenuKeyListener): Likewise.
4876 (createPropertyChangeListener): Likewise.
4877 (uninstallListeners): Likewise.
4878 (BasicMenuUI.MouseInputHandler): Reimplemented.
4879 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4880 (BasicMenuUI.ChangeHandler): Likewise.
4881 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4882 (BasicMenuUI.MenuKeyHandler): Likewise.
4883
4884 2004-06-10 David Jee <djee@redhat.com>
4885
4886 * java/awt/MediaTracker.java
4887 (imageUpdate): Only do notifyAll() if the image is complete.
4888
4889 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4890
4891 * javax/swing/JApplet.java:
4892 (getJMenuBar): Made public.
4893 (setJMenuBar): Likewise.
4894 * javax/swing/JFrame.java:
4895 (getJMenuBar): Made public.
4896 (setJMenuBar): Likewise.
4897 * javax/swing/JWindow.java:
4898 (getJMenuBar): Removed.
4899 (setJMenuBar): Removed.
4900
4901 2004-06-10 Michael Koch <konqueror@gmx.de>
4902
4903 * javax/swing/JEditorPane.java
4904 (createEditorKitForContentType): Fixed visibility.
4905 (fireHyperlinkUpdate): Likewise.
4906 (getContentType): Likewise.
4907 (getEditorKit): Likewise.
4908 (getEditorKitForContentType): Likewise.
4909 (getPage): Likewise.
4910 (read): Likewise.
4911 (registerEditorKitForContentTyoe): Likewise.
4912 (replaceSelection): Likewise.
4913 (setContentType): Likewise.
4914 (setEditorKit): Likewise.
4915 (setPage): Likewise.
4916
4917 2004-06-10 Michael Koch <konqueror@gmx.de>
4918
4919 * javax/swing/Timer.java
4920 (Timer): New constructor.
4921 * javax/swing/plaf/basic/BasicProgressBarUI.java
4922 (animationTimer): Don't initialize at construction.
4923 (startAnimationTimer): Added since tag.
4924 (stopAnimationTimer): Likewise.
4925 (installUI): Use new Timer constructor.
4926 * javax/swing/plaf/basic/BasicScrollBarUI.java
4927 (installUI): Likewise.
4928 * javax/swing/plaf/basic/BasicSliderUI.java
4929 (installUI): Likewise.
4930
4931 2004-06-10 Michael Koch <konqueror@gmx.de>
4932
4933 * javax/swing/ButtonGroup.java
4934 (serialVersionUID): Made private.
4935 (buttons): Renamed from v, added javadoc.
4936 (sel): Added javadoc.
4937 (ButtonGroup): Likewise.
4938 (add): Likewise.
4939 (remove): Likewise.
4940 (getElements): Likewise.
4941 (getSelection): Likewise.
4942 (setSelected): Likewise.
4943 (isSelected): Likewise.
4944 (getButtonCount): Likewise.
4945
4946 2004-06-10 Michael Koch <konqueror@gmx.de>
4947
4948 * javax/swing/ButtonGroup.java,
4949 javax/swing/ImageIcon.java,
4950 javax/swing/JEditorPane.java,
4951 javax/swing/JRootPane.java,
4952 javax/swing/JTextField.java,
4953 javax/swing/LookAndFeel.java,
4954 javax/swing/plaf/basic/BasicTextUI.java:
4955 Reindented.
4956
4957 2004-06-10 Michael Koch <konqueror@gmx.de>
4958
4959 * javax/swing/text/Style.java: Added javadocs.
4960
4961 2004-06-10 Michael Koch <konqueror@gmx.de>
4962
4963 * javax/swing/JComponent.java
4964 (fireVetoableChange): Removed redundant cast.
4965 * javax/swing/JLabel.java
4966 (getDisabledIcon): Save icon for next call.
4967
4968 2004-06-10 Michael Koch <konqueror@gmx.de>
4969
4970 * javax/swing/KeyStroke.java
4971 (getKeyStroke(char,boolean)): Marked deprecated.
4972
4973 2004-06-10 Michael Koch <konqueror@gmx.de>
4974
4975 * javax/swing/DefaultCellEditor.java,
4976 javax/swing/GrayFilter.java,
4977 javax/swing/event/DocumentEvent.java,
4978 javax/swing/text/JTextComponent.java,
4979 javax/swing/text/MutableAttributeSet.java:
4980 Reindented.
4981
4982 2004-06-10 Michael Koch <konqueror@gmx.de>
4983
4984 * javax/swing/plaf/BorderUIResource.java:
4985 Added serialVersionUID all over.
4986
4987 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
4988
4989 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4990
4991 2004-06-10 Michael Koch <konqueror@gmx.de>
4992
4993 * javax/swing/table/DefaultTableCellRenderer.java
4994 (noFocusBorder): Initialize directly.
4995
4996 2004-06-10 Michael Koch <konqueror@gmx.de>
4997
4998 * javax/swing/plaf/basic/BasicArrowButton.java
4999 (setDirection): Use method argument.
5000
5001 2004-06-10 Michael Koch <konqueror@gmx.de>
5002
5003 * javax/swing/plaf/BorderUIResource.java,
5004 javax/swing/plaf/ComponentUI.java,
5005 javax/swing/undo/CompoundEdit.java,
5006 javax/swing/undo/StateEdit.java:
5007 Fixed javadocs all over.
5008
5009 2004-06-10 Michael Koch <konqueror@gmx.de>
5010
5011 * javax/swing/DefaultButtonModel.java
5012 (ARMED): Made public final, fixed value.
5013 (ENABLED): Likewise.
5014 (PRESSED): Likewise.
5015 (ROLLOVER): Likewise.
5016 (SELECTED): Likewise.
5017 (stateMask): Initialize directly.
5018 (listenerList): Likewise.
5019 (mnemonic): Likewise.
5020 (fireStateChanged): Removed argument, use changeEvent as event.
5021 All places where this method is called are fixed too.
5022 (getActionCommant): Fixed javadoc.
5023 (setGroup): Fixed javadoc.
5024 (getGroup): New method.
5025
5026 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5027
5028 * javax/swing/AbstractButton.java
5029 (AbstractButton): Use init() to initialize the button.
5030 (init): New Method. Initializes AbstractButton.
5031 * javax/swing/JMenuItem.java: Documented.
5032 (JMenuItem): Reimplemented.
5033 (init): Implemented.
5034 (setEnabled): Changed to call super.setEnabled()
5035 (processMouseEvent): Reimplemented.
5036 (fireMenuKeyPressed): Implemented.
5037 (fireMenuKeyReleased): Implemented.
5038 (fireMenuKeyTyped): Implemented.
5039 (menuSelectionChanged): disarm the model if the menu item was
5040 deselected.
5041 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5042 (getPath): Change to use ArrayList instead of Vector.
5043 (getPreferredSize): Renamed variable.
5044 (paintMenuItem): Paint margin area of menu item.
5045 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5046 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5047 menu item's bounds before clearing the selection.
5048
5049 2004-06-09 David Jee <djee@redhat.com>
5050
5051 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5052 (GtkTextComponentPeer): Set caret position to 0.
5053 * java/awt/TextComponent.java
5054 (setText): Set caret position to 0.
5055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5056 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5057 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5058 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5059 Likewise.
5060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5061 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5062 visible.
5063
5064 2004-06-09 Kim Ho <kho@redhat.com>
5065
5066 * Makefile.am: New files
5067 * Makefile.in: Regenerated
5068 * java/awt/Container.java
5069 (getComponentAt): Removed.
5070 * javax/swing/AbstractAction.java
5071 (ENABLED_PROPERTY): New property.
5072 (putValue): Fire PropertyChangeEvents.
5073 (setEnabled): ditto.
5074 (firePropertyChange): Javadoc and implement
5075 convenience method.
5076 * javax/swing/AbstractButton.java
5077 (setAction): Don't create PropertyChangeListener
5078 if new Action is null.
5079 (setIcon): Don't set icon till after comparing
5080 it.
5081 (configurePropertiesFromAction): Check mnemonic
5082 key before calling intValue().
5083 (createActionPropertyChangeListener): Check
5084 properties rather than bulk change.
5085 * javax/swing/DefaultDesktopManager.java:
5086 Implement.
5087 * javax/swing/DesktopManager.java:
5088 Jalopy and javadoc.
5089 * javax/swing/JComponent.java
5090 (fireVetoableChange): Implement.
5091 (paintImmediately): Use root component.
5092 * javax/swing/JDesktopPane.java: Implement
5093 * javax/swing/JInternalFrame.java: Implement
5094 * javax/swing/JLabel.java
5095 (getDisabledIcon): Return grayscaled icon if
5096 no disabled icon specified.
5097 * javax/swing/JMenuBar.java
5098 (getComponentAtIndex): Use getComponent
5099 * javax/swing/JOptionPane.java
5100 (getDesktopPaneForComponent): Use SwingUtilities'
5101 getAncestorOfClass
5102 (getFrameForComponent): ditto.
5103 * javax/swing/JSplitPane.java
5104 (remove): Use getComponent.
5105 * javax/swing/SwingUtilities.java
5106 (convertPoint): Implement.
5107 * javax/swing/plaf/basic/BasicButtonUI.java
5108 (paintButtonNormal): Check opaqueness before
5109 filling background.
5110 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5111 Implement
5112 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5113 Implement.
5114 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5115 Implement.
5116 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5117 Implement.
5118 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5119 Change InternalFrame and Desktop colors.
5120
5121 2004-06-09 David Jee <djee@redhat.com>
5122
5123 * java/awt/Container.java
5124 (remove): Do not set component to invisible.
5125
5126 2004-06-09 Michael Koch <konqueror@gmx.de>
5127
5128 * javax/swing/tree/DefaultMutableTreeNode.java
5129 (getLeafCount): Renamed enum to e.
5130
5131 2004-06-09 Michael Koch <konqueror@gmx.de>
5132
5133 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5134 (positionForMouseEvent): Removed redundant semicolon.
5135 (continueDrag): Use method arguments.
5136
5137 2004-06-09 Michael Koch <konqueror@gmx.de>
5138
5139 * javax/swing/border/TitledBorder.java,
5140 javax/swing/filechooser/FileSystemView.java,
5141 javax/swing/plaf/basic/BasicButtonListener.java,
5142 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5143 javax/swing/plaf/basic/BasicLabelUI.java,
5144 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5145 javax/swing/plaf/basic/BasicScrollBarUI.java,
5146 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5147 javax/swing/plaf/basic/BasicSliderUI.java,
5148 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5149 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5150 javax/swing/table/JTableHeader.java,
5151 javax/swing/text/AbstractDocument.java,
5152 javax/swing/text/DefaultCaret.java,
5153 javax/swing/text/StyledEditorKit.java,
5154 javax/swing/tree/DefaultTreeCellEditor.java:
5155 Reworked import statements.
5156
5157 2004-06-08 Graydon Hoare <graydon@redhat.com>
5158
5159 * javax/swing/Box.java: Temporarily comment out code
5160 broken due to visibility bug.
5161
5162 2004-06-09 Michael Koch <konqueror@gmx.de>
5163
5164 * javax/swing/ImageIcon.java
5165 (ImageIcon): Added missing constructor.
5166
5167 2004-06-08 Michael Koch <konqueror@gmx.de>
5168
5169 * javax/swing/JToggleButton.java
5170 (JToggleButton): New constructor.
5171 (getAccessibleContext): Moved documentation into javadoc.
5172 (getUIClassID): Likewise.
5173
5174 2004-06-08 Michael Koch <konqueror@gmx.de>
5175
5176 * javax/swing/AbstractButton.java
5177 (getDisabledIcon): Create disabled icon if none exists yet.
5178
5179 2004-06-08 Michael Koch <konqueror@gmx.de>
5180
5181 * javax/swing/plaf/basic/BasicLookAndFeel.java
5182 (initClassDefaults): Added FormattedTextFieldUI.
5183 (loadResourceBundle): Renamed enum to e.
5184
5185 2004-06-08 Michael Koch <konqueror@gmx.de>
5186
5187 * javax/swing/plaf/basic/BasicButtonUI.java
5188 (paintIcon): Simplified.
5189 (paintText): Paint disabled button correctly.
5190
5191 2004-06-08 Michael Koch <konqueror@gmx.de>
5192
5193 * javax/swing/JComponent.java
5194 (createToolTip): Use official JToolTip API.
5195
5196 2004-06-08 Michael Koch <konqueror@gmx.de>
5197
5198 * javax/swing/JToolTip.java
5199 (JToolTip): No arguments in API.
5200 (setTipText): New method.
5201
5202 2004-06-08 Michael Koch <konqueror@gmx.de>
5203
5204 * javax/swing/SwingUtilities.java
5205 (isLeftMouseButton): New method.
5206 (isMiddleMouseButton): New method.
5207 (isRightMouseButton): New method.
5208
5209 2004-06-08 Michael Koch <konqueror@gmx.de>
5210
5211 * javax/swing/AbstractButton.java,
5212 javax/swing/CellRendererPane.java,
5213 javax/swing/JCheckBoxMenuItem.java,
5214 javax/swing/JColorChooser.java,
5215 javax/swing/JComboBox.java,
5216 javax/swing/JComponent.java,
5217 javax/swing/JDesktopPane.java,
5218 javax/swing/JFileChooser.java,
5219 javax/swing/JMenu.java,
5220 javax/swing/JMenuItem.java,
5221 javax/swing/JOptionPane.java,
5222 javax/swing/JPasswordField.java,
5223 javax/swing/JPopupMenu.java,
5224 javax/swing/JProgressBar.java,
5225 javax/swing/JRadioButtonMenuItem.java,
5226 javax/swing/JScrollBar.java,
5227 javax/swing/JSeparator.java,
5228 javax/swing/JSlider.java,
5229 javax/swing/JSplitPane.java,
5230 javax/swing/JTabbedPane.java,
5231 javax/swing/JTextField.java,
5232 javax/swing/JToolBar.java,
5233 javax/swing/text/JTextComponent.java:
5234 Fixed all constructors of accessibility classes.
5235
5236 2004-06-08 Michael Koch <konqueror@gmx.de>
5237
5238 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5239 over.
5240
5241 2004-06-08 Michael Koch <konqueror@gmx.de>
5242
5243 * javax/swing/Box.java
5244 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5245 (AccessibleBoxFiller.serialVersionUID): New member variable.
5246 * javax/swing/DefaultButtonModel.java
5247 (stateMask): Made protected.
5248 (listenerList): Likewise.
5249 (changeEvent): Likewise.
5250 (group): Likewise.
5251 (mnemonic): Likewise.
5252 (actionCommand): Likewise.
5253 (getListeners): New method.
5254 (getActionListeners): New method.
5255 (getItemListeners): New method.
5256 (getChangeListeners): New method.
5257 (fireItemStateChanged): Simplified.
5258 (fireActionPerformed): Simplified.
5259 (fireStateChanged): Simplified.
5260 * javax/swing/JFrame.java
5261 (JFrame): Implements WindowContants.
5262 (HIDE_ON_CLOSE): Removed.
5263 (EXIT_ON_CLOSE): Removed.
5264 (DISPOSE_ON_CLOSE): Removed.
5265 (DO_NOTHING_ON_CLOSE): Removed.
5266 (processWindowEvent): Exit with code 0.
5267 (setDefaultCloseOperation): Do security check before setting value.
5268 * javax/swing/JOptionPane.java
5269 (message): Initialize only in constructor.
5270 * javax/swing/JToolTip.java: Removed unused imports.
5271 * javax/swing/JViewport.java
5272 (serialVersionUID): New member variable.
5273 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5274 (BLIT_SCROLL_MODE): Likewise.
5275 (BACKINGSTORE_SCROLL_MODE): Likewise.
5276 (scrollUnderway): Made protected.
5277 (isViewSizeSet): Likewise.
5278 * javax/swing/ListModel.java: Fixed javadoc.
5279 * javax/swing/Popup.java: Likewise.
5280 * javax/swing/RepaintManager.java
5281 (paintDirtyRegions): Don't use internal classes of
5282 java.util.AbstractMap.
5283 * javax/swing/ScrollPaneConstants.java: Reindented.
5284 * javax/swing/ScrollPaneLayout.java
5285 (viewport): Made protected.
5286 (verticalScrollBar): Made protected, renamed to vsb.
5287 (horizontalScrollBar): Made protected, renamed to hsb.
5288 (rowHeader): Made protected, renamed to rowHead.
5289 (columnHeader): Made protected, renamed to colHead.
5290 (lowerLeft): Made protected.
5291 (lowerRight): Made protected.
5292 (upperLeft): Made protected.
5293 (upperRight): Made protected.
5294 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5295 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5296
5297 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5298
5299 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5300 LOADING if flags has SOMEBITS set.
5301
5302 2004-06-07 Michael Koch <konqueror@gmx.de>
5303
5304 * javax/swing/AbstractButton.java: Reorganized imports.
5305 * javax/swing/ActionMap.java: Likewise.
5306 * javax/swing/DefaultButtonModel.java: Likewise.
5307 * javax/swing/DefaultListModel.java: Likewise.
5308 * javax/swing/ImageIcon.java: Likewise.
5309 (serialVersionUID): New member variable.
5310 * javax/swing/JComboBox.java: Reorganized imports.
5311 * javax/swing/JComponent.java: Likewise.
5312 (ui): Made protected.
5313 (listenerList): Made protected.
5314 (TOOL_TIP_TEXT_KEY): New constant.
5315 (scrollRectToVisible): Removed redundant null check.
5316 * javax/swing/JFrame.java: Reorganized imports.
5317 * javax/swing/JInternalFrame.java: Reorganized imports.
5318 * javax/swing/JProgressBar.java: Likewise.
5319 * javax/swing/JRootPane.java: Likewise.
5320 * javax/swing/JScrollBar.java: Likewise.
5321 * javax/swing/JSeparator.java: Likewise.
5322 * javax/swing/JSlider.java: Likewise.
5323 * javax/swing/JTabbedPane.java: Likewise.
5324 * javax/swing/JTextField.java: Likewise.
5325 * javax/swing/JToolBar.java: Likewise.
5326 * javax/swing/JTree.java: Likewise.
5327 * javax/swing/JViewport.java: Likewise.
5328 * javax/swing/JWindow.java: Likewise.
5329 * javax/swing/KeyStroke.java: Likewise.
5330 * javax/swing/LookAndFeel.java: Likewise.
5331 * javax/swing/MenuSelectionManager.java: Likewise.
5332 * javax/swing/SwingUtilities.java: Likewise.
5333 * javax/swing/Timer.java: Likewise.
5334 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5335 * javax/swing/JList.java
5336 (HORIZONTAL_WRAP): Made final, fixed value.
5337 (VERTICAL): Likewise.
5338 (VERTICAL_WRAP): Likewise.
5339
5340 2004-06-07 Michael Koch <konqueror@gmx.de>
5341
5342 * javax/swing/AbstractButton.java
5343 (serialVersionUID): New member variable.
5344 (AccessibleAbstractButton.serialVersionUID): Likewise.
5345 (AbstractButton): Made public.
5346 * javax/swing/Box.java
5347 (AccessibleBox.serialVersionUID): New member variable.
5348 (Filler.serialVersionUID): Likewise.
5349 * javax/swing/DefaultListSelectionModel.java
5350 (serialVersionUID): Likewise.
5351 * javax/swing/JApplet.java
5352 (serialVersionUID): Likewise.
5353 * javax/swing/JCheckBox.java
5354 (serialVersionUID): Likewise.
5355 * javax/swing/JCheckBoxMenuItem.java
5356 (serialVersionUID): Likewise.
5357 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5358 * javax/swing/JColorChooser.java
5359 (serialVersionUID): Likewise.
5360 (AccessibleJColorChooser.serialVersionUID): Likewise.
5361 * javax/swing/JComponent.java
5362 (serialVersionUID): Made private.
5363 (AccessibleJComponent.serialVersionUID): New member variable.
5364 * javax/swing/JDesktopPane.java
5365 (serialVersionUID): Likewise.
5366 * javax/swing/JDialog.java
5367 (serialVersionUID): Likewise.
5368 * javax/swing/JFormattedTextField.java
5369 (serialVersionUID): Fixed value.
5370 * javax/swing/JFrame.java
5371 (serialVersionUID): New member variable.
5372 (getDefaultCloseOpertation): Made public.
5373 * javax/swing/JLayeredPane.java
5374 (serialVersionUID): Likewise.
5375 (LAYER_PROPERTY): Made final, fixed value.
5376 (JLayeredPane): Made public.
5377 * javax/swing/JMenu.java
5378 (AccessibleJMenu.serialVersionUID): New member variable.
5379 (WinListener.serialVersionUID): Likewise.
5380 * javax/swing/JMenuBar.java
5381 (serialVersionUID): Likewise.
5382 (getComponentAtIndex): Added @deprecated tag.
5383 * javax/swing/JMenuItem.java
5384 (serialVersionUID): New member variable.
5385 (AccessibleJMenuItem.serialVersionUID): Likewise.
5386 * javax/swing/JOptionPane.java
5387 (serialVersionUID): Likewise.
5388 (AccessibleJOptionPane.serialVersionUID): Likewise.
5389 * javax/swing/JPopupMenu.java
5390 (serialVersionUID): Likewise.
5391 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5392 (getPopupMenuListeners): New method.
5393 (getComponentAtIndex): Added @deprecated tag.
5394 * javax/swing/JProgressBar.java
5395 (serialVersionUID): New member variable.
5396 (AccessibleJProgressBar.serialVersionUID): Likewise.
5397 * javax/swing/JRadioButton.java
5398 (serialVersionUID): Likewise.
5399 * javax/swing/JRadioButtonMenuItem.java
5400 (serialVersionUID): Likewise.
5401 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5402 * javax/swing/JScrollBar.java
5403 (serialVersionUID): Likewise.
5404 (AccessibleJScrollBar.serialVersionUID): Likewise.
5405 * javax/swing/JSeparator.java
5406 (serialVersionUID): Likewise.
5407 (AccessibleJSeparator.serialVersionUID): Likewise.
5408 * javax/swing/JSlider.java: Fixed javadocs.
5409 (AccessibleJSlider.serialVersionUID): New member variable.
5410 * javax/swing/JSplitPane.java: Added copyright statement.
5411 (serialVersionUID): New member variable.
5412 (AccessibleJSplitPane.serialVersionUID): Likewise.
5413 * javax/swing/JTabbedPane.java
5414 (serialVersionUID): Likewise.
5415 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5416 (ModelListener.serialVersionUID): Likewise.
5417 (ModelListener.ModelListener): New constructor.
5418 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5419 (WRAP_TAB_LAYOUT): Likewise.
5420 * javax/swing/JTable.java
5421 (serialVersionUID): New member variable.
5422 * javax/swing/JToggleButton.java
5423 (serialVersionUID): Likewise.
5424 (ToggleButtonModel): Made static.
5425 (ToggleButtonModel.serialVersionUID): New member variable.
5426 * javax/swing/JToolTip.java
5427 (serialVersionUID): Likewise.
5428 * javax/swing/JTree.java
5429 (serialVersionUID): Likewise.
5430 * javax/swing/JWindow.java
5431 (serialVersionUID): Likewise.
5432 * javax/swing/Timer.java
5433 (serialVersionUID): Likewise.
5434
5435 2004-06-06 Michael Koch <konqueror@gmx.de>
5436
5437 * javax/swing/SwingConstants.java
5438 (NEXT): New constant.
5439 (PREVIOUS): Likewise.
5440 * javax/swing/UIManager.java
5441 (LookAndFeel): Made public.
5442 (LookAndFeel.getClassName): Likewise.
5443 (LookAndFeel.getName): Likewise.
5444
5445 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5446
5447 * javax/swing/JCheckBoxMenuItem.java:
5448 Removed CVS tags.
5449 * javax/swing/JMenu.java: Likewise.
5450 * javax/swing/JMenuBar.java: Likewise.
5451 * javax/swing/JMenuItem.java: Likewise.
5452 * javax/swing/JPopupMenu.java: Likewise.
5453 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5454 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5455 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5456 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5457 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5458 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5459 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5460
5461 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5462
5463 * javax/swing/plaf/basic/BasicMenuUI.java:
5464 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5465 Call getPath() from super class instead.
5466
5467 2004-05-31 David Jee <djee@redhat.com>
5468
5469 * java/awt/Container.java
5470 (remove): Set component visibility to false after removing it.
5471
5472 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5473
5474 * java/awt/Component.java (getForeground): Return SystemColor if
5475 parent is null.
5476 (getBackground): Likewise.
5477
5478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5479 (item_highlighted): New function.
5480 (connectSignals): Set item_highlighted as list's select
5481 function.
5482
5483 * java/applet/Applet.java: Revert changes from 2004-04-29,
5484 2004-03-15 and 2004-03-14.
5485
5486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5487 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5488 factor.
5489
5490 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5491 "Dialog" as the default font.
5492 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5493 Likewise.
5494 * java/awt/Component.java (getFont): Return "Dialog" font by
5495 default.
5496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5497 Multiply size argument to pango_font_description_set_size by the
5498 DPI conversion factor rather than by PANGO_SCALE.
5499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5509 Divide baseline y coordinate by DPI conversion factor rather
5510 than by PANGO_SCALE.
5511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5512 (area_prepared): Fix typo.
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5514 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5516 (dpi_conversion_factor): New global variable.
5517 (init_dpi_conversion_factor): New function to calculate and
5518 track DPI conversion factor.
5519 (dpi_changed_cb): New callback.
5520 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5521
5522 2004-05-27 David Jee <djee@redhat.com>
5523
5524 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5525 (getGraphics): Return a new GdkGraphics instance.
5526 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5527 (getGraphics): Call super.getGraphics().
5528
5529 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5530
5531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5532 (setNativeBounds): Clamp width and height values to >= 0.
5533
5534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5535 (find_fg_color_widget): Handle GtkOptionMenu specially.
5536
5537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5538 (pre_event_handler): Only post configure events to visible
5539 top-level windows.
5540
5541 2004-05-26 David Jee <djee@redhat.com>
5542
5543 * java/awt/BorderLayout.java
5544 (layoutContainer): Fix size calculations.
5545
5546 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5547
5548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5549 (window_wm_protocols_filter): Remove function.
5550 (create): Remove filter that removes WM_TAKE_FOCUS client
5551 messages.
5552
5553 2004-06-17 Anthony Green <green@redhat.com>
5554
5555 * java/util/zip/ZipFile.java (getInputStream): Return null if
5556 entry not found.
5557
5558 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5559 directory contents to the class path.
5560
5561 2004-06-15 Andrew Haley <aph@redhat.com>
5562
5563 * java/lang/natSystem.cc (getenv0): Don't assume environment
5564 variable is Latin 1 coded.
5565
5566 2004-06-14 Andreas Jaeger <aj@suse.de>
5567
5568 * configure.in: Support --enable-version-specific-runtime-libs.
5569 * configure: Regenerated.
5570
5571 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5572
5573 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5574 to pass ClassLoader argument.
5575 * java/util/GregorianCalendar.java: Likewise.
5576 * java/util/Currency.java: Likewise.
5577 * java/text/BreakIterator.java: Likewise.
5578 * java/text/Collator.java: Likewise.
5579 * java/text/DateFormat.java: Likewise.
5580 * java/text/DateFormatSymbols.java: Likewise.
5581 * java/text/DecimalFormatSymbols.java: Likewise.
5582 * java/text/NumberFormat.java: Likewise.
5583 * java/awt/Window.java: Likewise.
5584
5585 2004-06-14 Andrew Haley <aph@redhat.com>
5586
5587 * java/lang/System.java: (getenv0): New method.
5588 (getenv): Add security check. Do the right thing.
5589 * java/lang/natSystem.cc (getenv0): New method.
5590
5591 2004-06-12 Mark Wielaard <mark@klomp.org>
5592
5593 * javax/swing/RepaintManager.java
5594 (paintDirtyRegions): Use entrySet(), not values().
5595
5596 2004-06-10 Mark Wielaard <mark@klomp.org>
5597
5598 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5599 NoSuchMethodError.
5600
5601 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5602
5603 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5604 when we already know the answer.
5605 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5606 (setStartRule,setEndRule): Don't take abs of day number.
5607 (getOffset): Clarify docs. Add argument checks.
5608 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5609 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5610 endTimeMode.
5611
5612 2004-06-10 Tom Tromey <tromey@redhat.com>
5613
5614 * interpret.cc (run): Handle wide fload.
5615
5616 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5617
5618 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5619
5620 2004-06-05 Michael Koch <konqueror@gmx.de>
5621
5622 * javax/swing/SwingConstants.java
5623 (NEXT): New constant.
5624 (PREVIOUS): Likewise.
5625
5626 2004-06-05 Michael Koch <konqueror@gmx.de>
5627
5628 * javax/swing/UIManager.java
5629 (LookAndFeel): Made public.
5630 (LookAndFeel.getName): Likewise.
5631 (LookAndFeel.getClassName): Likewise.
5632
5633 2004-06-03 Michael Koch <konqueror@gmx.de>
5634
5635 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5636 (requestFocus): Revert last changes.
5637 (gtkRequestFocus): Removed.
5638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5639 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5640 Renamed to ...
5641 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5642 Reverted last patch.
5643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5644 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5645 Reverted comment change.
5646
5647 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5648
5649 * javax/swing/JCheckBoxMenuItem.java:
5650 Removed CVS tags.
5651 * javax/swing/JMenu.java: Likewise.
5652 * javax/swing/JMenuBar.java: Likewise.
5653 * javax/swing/JMenuItem.java: Likewise.
5654 * javax/swing/JPopupMenu.java: Likewise.
5655 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5656 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5657 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5658 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5659 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5660 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5661 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5662
5663 2004-06-01 Tom Tromey <tromey@redhat.com>
5664
5665 * java/io/ObjectStreamField.java: Cleaned up imports.
5666
5667 2004-06-01 Michael Koch <konqueror@gmx.de>
5668
5669 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5670
5671 2004-06-01 Mark Wielaard <mark@klomp.org>
5672
5673 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5674
5675 2004-06-01 Michael Koch <konqueror@gmx.de>
5676
5677 * java/security/Security.java
5678 (insertProviderAt): Use equals() instead of ==.
5679 (removeProvicer): Likewise.
5680 (getProvider): Likewise.
5681 * java/security/Signature.java
5682 (sign): Don't set state to UNINITIALIZED.
5683 (verify): Likewise.
5684
5685 2004-06-01 Mark Wielaard <mark@klomp.org>
5686
5687 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5688 Implement by calling gtkRequestFocus.
5689 (gtkRequestFocus): New native method.
5690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5691 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5692 Renamed to ...
5693 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5694 New function name.
5695 (filter_expose_event_handler):
5696 Mark static.
5697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5698 (menu_pos): Mark static.
5699
5700 2004-06-01 Michael Koch <konqueror@gmx.de>
5701
5702 * java/text/CollationElementIterator.java,
5703 java/text/CollationKey.java,
5704 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5705 * testsuite/libjava.mauve/xfails: Removed all
5706 java.text.CollationElementIterator tests.
5707
5708 2004-06-01 Michael Koch <konqueror@gmx.de>
5709
5710 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5711 version.
5712 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5713 Java 1.5 keyword usage.
5714
5715 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5716
5717 * javax/swing/plaf/basic/BasicMenuUI.java:
5718 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5719 Call getPath() from super class instead.
5720
5721 2004-05-31 Michael Koch <konqueror@gmx.de>
5722
5723 * java/io/SequenceInputStream.java:
5724 Rename enum to e because enum is a keyword in Java 1.5.
5725
5726 2004-05-31 Michael Koch <konqueror@gmx.de>
5727
5728 * gnu/java/rmi/rmic/CompilerProcess.java:
5729 Fixed javadoc to by XHTML compliant.
5730
5731 2004-05-30 Mark Wielaard <mark@klomp.org>
5732
5733 * java/awt/Toolkit.java (loadSystemColors): Implement.
5734
5735 2004-05-30 Michael Koch <konqueror@gmx.de>
5736
5737 * java/lang/System.java: Reordered imports.
5738
5739 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5740
5741 * java/text/DecimalFormat.java
5742 (parse): Fixed parsing of decimal strings. Number of maximum
5743 digits to be read should now work.
5744 * java/text/SimpleDateFormat.java
5745 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5746 formatter. This fixes DateFormatTest.
5747
5748 2004-05-30 Michael Koch <konqueror@gmx.de>
5749
5750 * java/nio/Buffer.java
5751 (limit): Fixed off by one error.
5752 * java/nio/CharBuffer.java
5753 (wrap): Fixed arguments, added javadocs.
5754
5755 2004-05-30 Michael Koch <konqueror@gmx.de>
5756
5757 * gnu/java/beans/BeanInfoEmbryo.java,
5758 java/awt/im/InputContext.java,
5759 javax/swing/tree/DefaultMutableTreeNode.java:
5760 Rename enum to e because enum is a keyword in Java 1.5.
5761
5762 2004-05-30 Michael Koch <konqueror@gmx.de>
5763
5764 * gnu/java/math/MPN.java,
5765 java/awt/geom/Arc2D.java:
5766 Fixed javadocs all over.
5767
5768 2004-05-30 Michael Koch <konqueror@gmx.de>
5769
5770 * java/awt/DefaultKeyboardFocusManager.java
5771 (dispatchEvent): Call method to get key event dispatchers.
5772 (dispatchKeyEvent): Call method to get key event post processors.
5773 * javax/swing/JComponent.java
5774 (listenerList): Made protected.
5775 * javax/swing/JOptionPane.java
5776 (message): Don't initialize.
5777 (JOptionPane): Set message text.
5778 * javax/swing/JPopupMenu.java
5779 (show): Fixed typo in argument name.
5780 * javax/swing/RepaintManager.java
5781 (paintDirtyRegions): Use public API of java.util.Map.
5782 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5783 (positionForMouseEvent): Removed redundant ';'.
5784 (continueDrag): Use method arguments.
5785
5786 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5787
5788 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5789 results.
5790
5791 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5792
5793 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5794 _Jv_AllocBytes.
5795 * gnu/gcj/RawDataManaged.java: New file.
5796 * java/lang/Thread.java (data): Declare as RawDataManaged.
5797 * java/lang/natThread.cc (init_native): Cast natThread data to
5798 RawDataManaged, not jobject.
5799 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5800 * Makefile.in: Rebuilt.
5801
5802 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5803
5804 * java/util/SimpleTimeZone.java: Reverting my last change until I
5805 can fix it properly.
5806
5807 2004-05-27 Michael Koch <konqueror@gmx.de>
5808
5809 * javax/swing/JPopupMenu.java
5810 (isVisible): Do not use visible directly.
5811 (setVisible): Likewise.
5812 * javax/swing/JWindow.java
5813 (JWindow): call accessible constructor.
5814 * javax/swing/RepaintManager.java
5815 (paintDirtyRegions): Use public methods to obtain iterator.
5816
5817 2004-05-25 David Jee <djee@redhat.com>
5818
5819 * java/awt/Container.java
5820 (remove): Set component's parent to null only after we removed the
5821 component from its parent's layout manager.
5822
5823 2004-05-25 David Jee <djee@redhat.com>
5824
5825 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5826 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5827 is valid.
5828 * gnu/java/awt/peer/gtk/GtkListPeer.java
5829 (getSize): Change native method declaration.
5830 (minimumSize): Pass visible row count into getSize().
5831 (preferredSize): Likewise.
5832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5833 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5834 natural size. Use visible row count to determine the final height
5835 value to return.
5836
5837 2004-05-21 Graydon Hoare <graydon@redhat.com>
5838
5839 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5840 (setClip): Minor correction to order of operations.
5841
5842 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5843 * javax/swing/ScrollPaneLayout.java: Likewise.
5844 * javax/swing/JViewPort.java: Likewise.
5845 * javax/swing/ViewportLayout.java: Likewise.
5846
5847 * javax/swing/JComponent.java: Rewrite.
5848 * javax/swing/RepaintManager.java: Likewise.
5849
5850 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5851 * javax/swing/JList.java
5852 (setSelectedIndices):
5853 (getSelectedIndices):
5854 (getSelectedValues): New functions.
5855 (getPreferredScrollableViewportSize): Return preferred size.
5856 (getScrollableUnitIncrement):
5857 (getScrollableBlockIncrement): Initial implementations.
5858 * javax/swing/JRootPane.java: Clean up slightly.
5859 (getUI):
5860 (setUI):
5861 (updateUI):
5862 (getUIClassID):
5863 (isValidateRoot): Add overrides from JComponent.
5864 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5865 * javax/swing/UIManager.java (getDimension): Return the dimension.
5866
5867 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5868 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5869 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5870 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5871 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5872 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5873 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5874 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5875 Likewise, and set background.
5876 * javax/swing/plaf/basic/BasicListUI.java:
5877 Likewise, and improve a bit.
5878 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5879 Likewise, and adjust calculations.
5880 * javax/swing/plaf/basic/BasicViewportUI.java:
5881 Likewise, and improve a bit.
5882 * javax/swing/plaf/basic/BasicLookAndFeel.java
5883 (Button.margin): Shrink.
5884
5885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5886 Hack to set horizontal always, workaround pango.
5887
5888 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5890 Synchronize more often, check cairo status after ops,
5891 handle changes to cairo pattern API, check for disposal.
5892
5893 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5894
5895 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5896 (BasicMenuItemUI): Create propertyChangeListener.
5897 (getPath):Implemented.
5898 (installListeners): Add propertyChangeListener to menuItem.
5899 (uninstallListeners): Remove propertyChangeListener from menuItem.
5900 (update): Implemented.
5901 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5902 (mouseEntered): Take insets of popup menu into account when
5903 calculating position of popup menu.
5904
5905 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5906
5907 * Makefile.am: Added new file.
5908 * Makefile.in: Regenerate.
5909 * javax/swing/JMenuBar.java:
5910 Started implementation.
5911 * javax/swing/JPopupMenu.java:
5912 (setVisible): Fixed location of lightweight/mediumweight
5913 popup menu.
5914 (show): Fixed location of PopupMenu.
5915 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5916 New file. UI Delegate for JMenuBar.
5917 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5918 (mouseEntered): Corrected position of the submenu.
5919
5920 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5921
5922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5923 to _gtk_accel_group_attach.
5924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5925 Likewise.
5926
5927 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5928 package access. Don't override setFont.
5929 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5930 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5931 gtkWidgetRequestFocus package access.
5932 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5933 setFont.
5934 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5935 Give gtkWidgetRequestFocus package access.
5936 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5937 gtkWidgetRequestFocus package access. Don't override setFont.
5938 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5939 setFont.
5940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5941 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5942 region.
5943 (gtkSetFont): Likewise.
5944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5945 Implement.
5946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5947 (gtkSetFont): Whitespace fix.
5948
5949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5950 (gtkWidgetSetUsize): Remove method.
5951
5952 2004-05-18 David Jee <djee@redhat.com>
5953
5954 * java/awt/image/MemoryImageSource.java
5955 (newPixels(int,int,int,int,boolean)): Set only the specified
5956 rectangle of pixels.
5957 (newPixels(byte[],ColorModel,int,int)): Implement.
5958 (newPixels(int[],ColorModel,int,int)): Implement.
5959
5960 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5961
5962 * Makefile.am: Added new file.
5963 * Makefile.in: Regenerate.
5964 * javax/swing/JMenu.java: Started
5965 implementation.
5966 * javax/swing/JPopupMenu.java:
5967 (insert): If specified index is -1, then
5968 add component at the end.
5969 (isPopupTrigger): Reimplemented.
5970 (JPopupMenu.LightWeightPopup): setBounds
5971 of the lightWeightPopup before adding it
5972 to the layeredPane.
5973 (javax/swing/plaf/basic/BasicIconFactory.java):
5974 (getMenuArrowIcon): Implemented.
5975 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5976 (getPreferredSize): Add size of the arrow icon
5977 if this menu item is instance of JMenu.
5978 (paintMenuItem): Paint arrow icon if this
5979 menu item is a submenu.
5980 * javax/swing/plaf/basic/BasicMenuUI.java:
5981 New File. UI Delegate for JMenu.
5982
5983 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5984
5985 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5986 Post KEY_TYPED events.
5987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5988 (generates_key_typed_event): Remove function.
5989
5990 2004-05-17 Olga Rodimina <rodimina@redhat.com>
5991
5992 * javax/swing/JRootPane.java
5993 (JRootPane.RootLayout): Reimplemented to
5994 set bounds of contentPane and menuBar.
5995 (setJMenuBar): Add menu bar to the layered pane.
5996 (createLayeredPane): Set layout of layeredPane
5997 to null.
5998 * javax/swing/JLayeredPane.java:
5999 (addImpl): Calculate index of the component in the
6000 layeredPane according to the specified position within
6001 the layer.
6002
6003 2004-05-17 David Jee <djee@redhat.com>
6004
6005 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6006 (setPixels): Change color model to the default model after
6007 converting pixels.
6008 * java/awt/image/MemoryImageSource.java
6009 (newPixels): Set only the specified rectangle of pixels.
6010
6011 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6012
6013 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6014 -l-java-beans -l-javax-accessibility -l-javax-swing.
6015
6016 * java/awt/AWTEvent.java (toString): Print source's name rather
6017 than the source itself.
6018
6019 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6020
6021 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6022 native.
6023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6024 (gdk_color_to_java_color): New function.
6025 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6026
6027 2004-05-12 David Jee <djee@redhat.com>
6028
6029 * java/awt/image/RGBImageFilter.java:
6030 Initialize origmodel as null.
6031 (makeColor): Fix pixel component order.
6032 (filterRGBPixels): Fix pixel iteration.
6033 (setPixels): Add extra checks for index color model. Convert pixels
6034 to default color model if necessary.
6035 (convertColorModelToDefault): New override method for byte pixels.
6036 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6037 (makeColorbyDefaultCM): New override method for byte pixels.
6038 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6039 (makeColor): Fix pixel component order.
6040
6041 2004-05-11 Kim Ho <kho@redhat.com>
6042
6043 * javax/swing/Box.java:
6044 Comment out more parts of Box.Filler.
6045
6046 2004-05-11 Kim Ho <kho@redhat.com>
6047
6048 * javax/swing/Box.java:
6049 Remove reference to AccessibleAWTComponent so
6050 it compiles again.
6051
6052 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6053
6054 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6055 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6056 implementation of list peer to use GtkTreeView instead of
6057 deprecated GtkCList.
6058
6059 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6060
6061 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6062 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6063 (handleEvent): Remove keyChar argument to
6064 gtkWidgetDispatchKeyEvent calls.
6065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6066 compiler warnings.
6067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6070 Likewise.
6071
6072 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6073
6074 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6075 (gtkWidgetRequestFocus): Mark protected.
6076 (GtkComponentPeer): Only set the peer's bounds if its component
6077 is valid.
6078 * java/awt/Component.java (static): Set the default keyboard
6079 focus manager.
6080 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6081 requestFocusInWindow(temporary)): Don't request focus if the
6082 component is not showing. Get tree lock before traversing
6083 component hierarchy.
6084 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6085 Only set the global focus owner if it is not a Window.
6086 (processKeyEvent): Consume keystrokes associated with the focus
6087 traversal keystroke.
6088 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6089 downFocusCycle): Call requestFocusInWindow instead of
6090 requestFocus.
6091 * java/awt/EventDispatchThread.java (run): Move setting of
6092 default keyboard focus manager to Component.java.
6093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6094 (awt_keycode_to_keysym): New function.
6095 (gtkWidgetDispatchKeyEvent): Finish implementation.
6096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6097 (pre_event_handler): Add FIXME comment.
6098
6099 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6100 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6101 (gtkWidgetRequestFocus): New method.
6102 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6103 disable Tab and Shift-Tab keystrokes.
6104 (addNotify, appendText, insertText, replaceText): Simplify peer
6105 retrieval code.
6106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6107 (connectSignals): Remove connections to "commit" signals.
6108 Remove C++-style comments.
6109
6110 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6111 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6112 (handleEvent): Activate GTK button when the space bar key is
6113 pressed.
6114 (gtkActivate): New method.
6115
6116 2004-05-06 David Jee <djee@redhat.com>
6117
6118 * java/awt/image/CropImageFilter.java
6119 (setPixels): Implement for byte array pixels.
6120 * java/awt/image/ReplicateScaleFilter.java
6121 (setPixels): Implement for byte array pixels.
6122 (replicatePixels): Overload for byte array pixels.
6123
6124 2004-05-06 Kim Ho <kho@redhat.com>
6125
6126 * javax/swing/Box.java:
6127 (getAccessibleContext): Return an instance of the
6128 correct class.
6129
6130 2004-05-05 David Jee <djee@redhat.com>
6131
6132 * gnu/java/awt/peer/gtk/GdkGraphics.java
6133 (drawImage): When component is null, use SystemColor.window as
6134 the default bgcolor.
6135 * gnu/java/awt/peer/gtk/GtkImage.java
6136 (setPixels): We can avoid iterating through the pixel rows only
6137 when height is 1.
6138 * java/awt/Image.java
6139 (getScaledInstance): Partially implement.
6140 * java/awt/image/CropImageFilter.java
6141 (setProperties): Fix "filter" property.
6142 (setPixels): Implement.
6143 * java/awt/image/ReplicateScaleFilter.java
6144 (setDimensions): Use scaled dimensions.
6145 (setPixels): Implement.
6146 (replicatePixels): New method.
6147
6148 2004-05-05 David Jee <djee@redhat.com>
6149
6150 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6151 (convertPixels): If either pixels or model is null, return null.
6152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6153 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6154 is null, do nothing and return.
6155
6156 2004-05-03 Kim Ho <kho@redhat.com>
6157
6158 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6159 (getGraphics): Like GtkFramePeer, the Graphics
6160 object needs to be translate to account for
6161 window decorations.
6162 (postMouseEvent): New method. Account for
6163 translation.
6164 (postExposeEvent): ditto.
6165 * javax/swing/Box.java: Stubbed.
6166 * javax/swing/JDialog.java: Ran through jalopy
6167 to fix indentation.
6168 (JDialog): Call SwingUtilities' getOwnerFrame
6169 for null owners.
6170 (setLayout): Check isRootPaneCheckingEnabled
6171 * javax/swing/JOptionPane.java: Re-implemented.
6172 * javax/swing/SwingUtilities.java:
6173 (getOwnerFrame): Static method to grab a default
6174 owner frame for Dialogs that don't specify owners.
6175 * javax/swing/event/SwingPropertyChangeSupport.java:
6176 (firePropertyChange): Fix early exit condition.
6177 * javax/swing/plaf/basic/BasicLabelUI.java:
6178 (paint): Avoid painting text if it is null
6179 or empty.
6180 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6181 Implement.
6182
6183 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6184
6185 * Makefile.am: Added new file.
6186 * Makefile.in: Regenerate.
6187 * javax/swing/JPopupMenu.java:
6188 Started implementation.
6189 * javax/swing/JWindow.java
6190 (JWindow): call super() if parent for window
6191 is not specified.
6192 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6193 New File. UI Delegate for JPopupMenu.
6194
6195 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6196
6197 * javax/swing/JApplet.java: Indicated that JApplet
6198 implements RootPaneContainer and made method of this
6199 interface public.
6200 * javax/swing/JFrame.java: Ditto.
6201 * javax/swing/JWindow.java: Ditto.
6202
6203 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6204
6205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6206 (nativeSetBounds): Call gdk_window_move in addition to
6207 gtk_window_move.
6208
6209 * java/applet/Applet.java (preferredSize): Call parent's
6210 preferredSize if the applet stub is null.
6211 (minimumSize): Likewise for parent's minimumSize.
6212
6213 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6214
6215 * javax/swing/JMenuItem.java
6216 (createActionPropertyChangeListener): Implemented.
6217 (processMouseEvent): Ditto.
6218 (fireMenuDragMouseEntered): Ditto.
6219 (fireMenuDragMouseExited): Ditto.
6220 (fireMenuDragMouseDragged): Ditto.
6221 (fireMenuDragMouseReleased): Ditto.
6222 (menuSelectionChanged): Ditto.
6223 (getSubElements): Ditto.
6224 (getComponent): Ditto.
6225 (addMenuDragMouseListener): Ditto.
6226 (removeMenuDragMouseListener):Ditto.
6227 (addMenuKeyListener): Ditto.
6228 (removeMenuKeyListener): Ditto.
6229 * javax/swing/plaf/basic/BasicMenuItemUI.java
6230 (doClick): Imlemented.
6231 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6232 Don't handle mouse events here. Pass them to
6233 MenuSelectionManager.
6234
6235 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6236 Used correct version of jalopy configuration
6237 file to fix style in the files below.
6238
6239 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6240
6241 * javax/swing/JCheckBoxMenuItem.java:
6242 Fixed style and removed unnecessary comments.
6243 * javax/swing/JMenuItem.java: Ditto.
6244 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6245 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6246 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6247 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6248
6249 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6250
6251 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6252 C-style.
6253
6254 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6255
6256 * java/awt/ContainerOrderFocusTraversalPolicy.java
6257 (getComponentAfter): Start from current component and work up
6258 the component hierarchy until an acceptable component is found.
6259 Synchronize on tree lock.
6260 (getComponentBefore): Likewise.
6261
6262 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6263
6264 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6265 focus-related debugging messages.
6266 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6267 * java/awt/EventDispatchThread.java: Likewise.
6268 * java/awt/KeyboardFocusManager.java: Likewise.
6269 * java/awt/Window.java: Likewise.
6270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6272
6273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6274 new C++-style comments to C-style comments.
6275 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6276
6277 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6278 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6279 (handleEvent): Dispatch key press and key release events to
6280 backing widget.
6281 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6282 (gtkWidgetRequestFocus): New method.
6283 (gtkWidgetDispatchKeyEvent): Likewise.
6284 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6285 requestFocusInWindow, requestFocusInWindow(boolean),
6286 getFocusCycleRootAncestor, nextFocus, transferFocus,
6287 transferFocusBackward, transferFocusUpCycle, hasFocus,
6288 isFocusOwner): Implement and document focus-handling methods.
6289 (setFocusTraversalKeys): Inherit focus traversal keys when
6290 keystrokes argument is null. Fix focus-handling documentation
6291 throughout class.
6292 * java/awt/Container.java (setFocusTraversalKeys,
6293 getFocusTraversalKeys, areFocusTraversalKeysSet,
6294 isFocusCycleRoot, setFocusTraversalPolicy,
6295 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6296 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6297 Implement and document focus-handling methods.
6298 (transferFocusBackward): Remove method.
6299 (readObject, writeObject): Implement and document serialization
6300 methods.
6301 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6302 and document.
6303 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6304 document.
6305 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6306 partially document.
6307 * java/awt/EventDispatchThread.java (run): Set default keyboard
6308 focus manager. Attempt to dispatch each event to the keyboard
6309 focus manager before normal dispatch.
6310 * java/awt/KeyboardFocusManager.java: Implement and partially
6311 document.
6312 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6313 (show): Focus initial component when window is shown for the
6314 first time.
6315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6316 (pre_event_handler): Replace complex key press and key release
6317 logic with simple callbacks into GtkComponentPeer.
6318 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6319
6320 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6321
6322 * javax/swing/MenuSelectionManager.java
6323 (componentForPoint): Added new method.
6324 (defaultManager): New Method. Implemented.
6325 (getSelectedPath): Ditto.
6326 (isComponentPartOfCurrentMenu): Ditto.
6327 (processKeyEvent): Added new method.
6328 (processMouseEvent): New Method. Implemented.
6329 (setSelectedPath): Ditto.
6330 (getPath): Ditto.
6331
6332 2004-04-19 Kim Ho <kho@redhat.com>
6333
6334 * java/awt/Container.java:
6335 (remove): Set the component's parent to null.
6336 (getComponentAt): Implement.
6337 * javax/swing/JComponent.java:
6338 (JComponent): Initialize defaultLocale
6339 (getDefaultLocale): Implement.
6340 (setDefaultLocale): ditto.
6341 * javax/swing/JSlider.java:
6342 (JSlider): Fix calculation of value.
6343 * javax/swing/JSplitPane.java: Implement.
6344 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6345 Change SplitPane's default divider size.
6346 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6347 (paint): Remove unused code.
6348 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6349 Added comments and ran through jalopy.
6350 (setBasicSplitPaneUI): Get reference to hidden divider
6351 and set up one touch buttons if necessary.
6352 (setBorder): Fire propertyChangeEvent only if
6353 borders are different.
6354 (getPreferredSize): Defer to layout manager.
6355 (propertyChange): Implement.
6356 (oneTouchExpandableChanged): ditto.
6357 (createLeftOneTouchButton): Use BasicArrowButton.
6358 (createRightOneTouchButton): ditto.
6359 (moveDividerTo): New method. Moves the divider
6360 to a set location based on the last divider location.
6361 (BasicSplitPaneDivider::MouseHandler): Implement.
6362 (BasicSplitPaneDivider::OneTouchButton): Removed.
6363 (BasicSplitPaneDivider::DragController): Implement.
6364 (BasicSplitPaneDivider::VerticalDragController):
6365 ditto.
6366 (BasicSplitPaneDivider::DividerLayout): ditto.
6367 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6368 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6369 (calculateLayoutInfo): Don't show component if it's
6370 null.
6371 (paintTab): Fix title paint logic.
6372
6373 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6374
6375 PR libgcj/8321
6376 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6377 (setStartRule,setEndRule): Don't take abs of day number.
6378 (getOffset): Clarify docs. Add argument checks.
6379 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6380 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6381 endTimeMode.
6382 * testsuite/libjava.mauve/xfails
6383 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6384
6385 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6386
6387 Layout interfaces during preparation, not initialization.
6388 * java/lang/natClass.cc (initializeClass): Move
6389 _Jv_LayoutInterfaceMethods call...
6390 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6391
6392 2004-05-19 Anthony Green <green@localhost.localdomain>
6393
6394 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6395 gnu.javax.rmi code.
6396 * Makefile.in: Rebuilt.
6397 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6398 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6399 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6400 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6401 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6402 gnu/javax/rmi/CORBA/DelegateFactory.java,
6403 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6404 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6405 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6406 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6407 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6408 gnu/javax/rmi/PortableServer.java: Remove files.
6409
6410 2004-05-19 Anthony Green <green@redhat.com>
6411
6412 * Makefile.am: Define JAVA_EXT_DIRS.
6413 * Makefile.in: Rebuilt.
6414 * java/lang/natRuntime.cc (insertSystemProperties): Set
6415 java.ext.dirs property.
6416
6417 2004-05-16 Mark Wielaard <mark@klomp.org>
6418
6419 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6420
6421 2004-05-15 Mark Wielaard <mark@klomp.org>
6422
6423 * doc/cni.sgml: Removed, merged into gcj.texi.
6424
6425 2004-05-15 Mark Wielaard <mark@klomp.org>
6426
6427 * Makefile.am (ordinary_java_source_files): Add new javax.print
6428 classes.
6429 * Makefile.in: Regenerated.
6430
6431 2004-05-15 Michael Koch <konqueror@gmx.de>
6432
6433 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6434 javax/print/attribute/standard/DateTimeAtCreation.java,
6435 javax/print/attribute/standard/DateTimeAtProcessing.java,
6436 javax/print/attribute/standard/DocumentName.java,
6437 javax/print/attribute/standard/JobHoldUntil.java,
6438 javax/print/attribute/standard/JobImpressionsCompleted.java,
6439 javax/print/attribute/standard/JobMessageFromOperator.java,
6440 javax/print/attribute/standard/JobName.java,
6441 javax/print/attribute/standard/JobOriginatingUserName.java,
6442 javax/print/attribute/standard/JobPriority.java,
6443 javax/print/attribute/standard/JobPrioritySupported.java,
6444 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6445 javax/print/attribute/standard/OutputDeviceAssigned.java,
6446 javax/print/attribute/standard/PrinterInfo.java,
6447 javax/print/attribute/standard/PrinterLocation.java,
6448 javax/print/attribute/standard/PrinterMakeAndModel.java,
6449 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6450 javax/print/attribute/standard/PrinterName.java,
6451 javax/print/attribute/standard/QueuedJobCount.java,
6452 javax/print/attribute/standard/RequestingUserName.java:
6453 Fixed javadocs all over.
6454
6455 2004-05-15 Michael Koch <konqueror@gmx.de>
6456
6457 * javax/print/DocFlavor.java,
6458 javax/print/attribute/standard/ColorSupported.java,
6459 javax/print/attribute/standard/Compression.java,
6460 javax/print/attribute/standard/CopiesSupported.java,
6461 javax/print/attribute/standard/Fidelity.java,
6462 javax/print/attribute/standard/Finishings.java,
6463 javax/print/attribute/standard/JobImpressionsSupported.java,
6464 javax/print/attribute/standard/JobKOctetsSupported.java,
6465 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6466 javax/print/attribute/standard/JobSheets.java,
6467 javax/print/attribute/standard/JobState.java,
6468 javax/print/attribute/standard/JobStateReason.java,
6469 javax/print/attribute/standard/JobStateReasons.java,
6470 javax/print/attribute/standard/Media.java,
6471 javax/print/attribute/standard/MediaSizeName.java,
6472 javax/print/attribute/standard/MultipleDocumentHandling.java,
6473 javax/print/attribute/standard/NumberUpSupported.java,
6474 javax/print/attribute/standard/OrientationRequested.java,
6475 javax/print/attribute/standard/PDLOverrideSupported.java,
6476 javax/print/attribute/standard/PageRanges.java,
6477 javax/print/attribute/standard/PresentationDirection.java,
6478 javax/print/attribute/standard/PrintQuality.java,
6479 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6480 javax/print/attribute/standard/PrinterMoreInfo.java,
6481 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6482 javax/print/attribute/standard/PrinterResolution.java,
6483 javax/print/attribute/standard/PrinterState.java,
6484 javax/print/attribute/standard/PrinterStateReason.java,
6485 javax/print/attribute/standard/PrinterStateReasons.java,
6486 javax/print/attribute/standard/PrinterURI.java,
6487 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6488 javax/print/attribute/standard/Severity.java,
6489 javax/print/attribute/standard/SheetCollate.java,
6490 javax/print/attribute/standard/Sides.java:
6491 Added serialVersionUID and removed final keyword where it doenst
6492 belong.
6493
6494 2004-05-15 Michael Koch <konqueror@gmx.de>
6495
6496 * javax/print/PrintServiceLookup.java: New file.
6497
6498 2004-05-15 Michael Koch <konqueror@gmx.de>
6499
6500 * javax/print/DocFlavor.java:
6501 Implemented all flavor classes.
6502
6503 2004-05-15 Michael Koch <konqueror@gmx.de>
6504
6505 * javax/print/attribute/standard/ColorSupported.java,
6506 javax/print/attribute/standard/Compression.java,
6507 javax/print/attribute/standard/CopiesSupported.java,
6508 javax/print/attribute/standard/Fidelity.java,
6509 javax/print/attribute/standard/Finishings.java,
6510 javax/print/attribute/standard/JobImpressionsSupported.java,
6511 javax/print/attribute/standard/JobKOctetsSupported.java,
6512 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6513 javax/print/attribute/standard/JobSheets.java,
6514 javax/print/attribute/standard/JobState.java,
6515 javax/print/attribute/standard/JobStateReason.java,
6516 javax/print/attribute/standard/JobStateReasons.java,
6517 javax/print/attribute/standard/Media.java,
6518 javax/print/attribute/standard/MediaSizeName.java,
6519 javax/print/attribute/standard/MultipleDocumentHandling.java,
6520 javax/print/attribute/standard/NumberUpSupported.java,
6521 javax/print/attribute/standard/OrientationRequested.java,
6522 javax/print/attribute/standard/PDLOverrideSupported.java,
6523 javax/print/attribute/standard/PageRanges.java,
6524 javax/print/attribute/standard/PresentationDirection.java,
6525 javax/print/attribute/standard/PrintQuality.java,
6526 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6527 javax/print/attribute/standard/PrinterMoreInfo.java,
6528 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6529 javax/print/attribute/standard/PrinterResolution.java,
6530 javax/print/attribute/standard/PrinterState.java,
6531 javax/print/attribute/standard/PrinterStateReason.java,
6532 javax/print/attribute/standard/PrinterStateReasons.java,
6533 javax/print/attribute/standard/PrinterURI.java,
6534 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6535 javax/print/attribute/standard/Severity.java,
6536 javax/print/attribute/standard/SheetCollate.java,
6537 javax/print/attribute/standard/Sides.java: New files.
6538
6539 2004-05-15 Michael Koch <konqueror@gmx.de>
6540
6541 * javax/print/Doc.java
6542 (getPrintData): Throws IOException.
6543 (getReaderForText): Likewise.
6544 (getStreamForBytes): Likewise.
6545 * javax/print/DocFlavor.java:
6546 Fixed filename in copyright.
6547 (serialVersionUID): New field.
6548 * javax/print/ServiceUIFactory.java:
6549 Made all constants final.
6550 * javax/print/AttributeException.java
6551 javax/print/MultiDoc.java
6552 javax/print/MultiDocPrintJob.java
6553 javax/print/MultiDocPrintService.java
6554 javax/print/StreamPrintService.java
6555 javax/print/URIException.java: New files.
6556 * javax/print/Makefile.am
6557 (EXTRA_DIST): Added all new files.
6558
6559 2004-05-15 Michael Koch <konqueror@gmx.de>
6560
6561 * javax/print/attribute/standard/Copies.java,
6562 javax/print/attribute/standard/DateTimeAtCompleted.java,
6563 javax/print/attribute/standard/DateTimeAtCreation.java,
6564 javax/print/attribute/standard/DateTimeAtProcessing.java,
6565 javax/print/attribute/standard/DocumentName.java,
6566 javax/print/attribute/standard/JobHoldUntil.java,
6567 javax/print/attribute/standard/JobImpressions.java,
6568 javax/print/attribute/standard/JobImpressionsCompleted.java,
6569 javax/print/attribute/standard/JobKOctets.java,
6570 javax/print/attribute/standard/JobKOctetsProcessed.java,
6571 javax/print/attribute/standard/JobMediaSheets.java,
6572 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6573 javax/print/attribute/standard/JobMessageFromOperator.java,
6574 javax/print/attribute/standard/JobName.java,
6575 javax/print/attribute/standard/JobOriginatingUserName.java,
6576 javax/print/attribute/standard/JobPriority.java,
6577 javax/print/attribute/standard/JobPrioritySupported.java,
6578 javax/print/attribute/standard/NumberOfDocuments.java,
6579 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6580 javax/print/attribute/standard/NumberUp.java,
6581 javax/print/attribute/standard/OutputDeviceAssigned.java,
6582 javax/print/attribute/standard/PagesPerMinute.java,
6583 javax/print/attribute/standard/PagesPerMinuteColor.java:
6584 Fixed @return tag all over.
6585
6586 2004-05-15 Michael Koch <konqueror@gmx.de>
6587
6588 * javax/print/attribute/AttributeSetUtilities.java
6589 (verifyCategoryForValue): Fixed typo in javadoc.
6590 * javax/print/attribute/HashAttributeSet.java
6591 (containsKey): Fixed @return tag.
6592 (comtainsValue): Likewise.
6593 (equals): Likewise.
6594 * javax/print/attribute/IntegerSyntax.java
6595 (equals): Likewise.
6596 * javax/print/attribute/ResolutionSyntax.java
6597 (equals): Likewise.
6598 (getCrossFeedResolution): Removed unused code.
6599 (getFeedResolution): Likewise.
6600 * javax/print/attribute/SetOfIntegerSyntax.java
6601 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6602 (equals): Fixed @return tag.
6603 * javax/print/attribute/TextSyntax.java
6604 (TextSyntax): Take locale into account.
6605 (hashCode): Better implementation.
6606
6607 2004-05-15 Michael Koch <konqueror@gmx.de>
6608
6609 * javax/print/CancelablePrintJob.java,
6610 javax/print/Doc.java,
6611 javax/print/DocFlavor.java,
6612 javax/print/DocPrintJob.java,
6613 javax/print/FlavorException.java,
6614 javax/print/PrintException.java,
6615 javax/print/PrintService.java,
6616 javax/print/ServiceUIFactory.java: New files.
6617
6618 2004-05-15 Mark Wielaard <mark@klomp.org>
6619
6620 * gnu/regexp/CharIndexedReader.java: Removed.
6621 * gnu/regexp/REFilterReader.java: Likewise.
6622 * gnu/regexp/RETokenLookAhead.java: Likewise.
6623 * Makefile.am (ordinary_java_source_files): Remove above classes.
6624 * Makefile.in: Regenerated.
6625
6626 2004-05-14 Tom Tromey <tromey@redhat.com>
6627
6628 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6629 not `XGraphicsConfiguration.XOffScreenImage'.
6630
6631 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6632
6633 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6634
6635 2004-05-14 Steven Augart <augart@watson.ibm.com>
6636
6637 * include/jni.h (_Jv_func): Removed.
6638 (struct JNINativeInterface): Use `void *' for reserved slots.
6639 (struct JNIInvokeInterface): Likewise.
6640
6641 2004-05-11 Michael Koch <konqueror@gmx.de>
6642
6643 * gnu/java/net/natPlainSocketImplPosix.cc
6644 (read): Fixed typo in expression.
6645
6646 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6647
6648 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6649 ld_library_additions. Adjust all calls to libjava_invoke to match
6650 the new argument.
6651
6652 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6653 path to cxxflagslist.
6654 Pass path of libstdc++ to libjava_invoke.
6655
6656 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6657 libjava_invoke arguments.
6658
6659 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6660
6661 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6662 reality.
6663
6664 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6665
6666 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6667 main binary against the JNI shared library.
6668
6669 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6670
6671 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6672 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6673 (SimpleTimeZone): Tweak docs. Add new variation.
6674 (setStartRule,setEndRule): Add new variations. Use
6675 startTimeMode and endTimeMode.
6676
6677 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6678
6679 * java/util/Calendar.java (getActualMinimum,
6680 getActualMaximum): Remove abstract. Implement.
6681
6682 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6683
6684 Run the jni tests using the interpreter.
6685 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6686 options_cxx to shared lib compile command.
6687 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6688 they are used to link the shared lib, not the main binary.
6689 Use libjava_invoke to run gij.
6690
6691 2004-05-06 Michael Koch <konqueror@gmx.de>
6692
6693 * java/util/logging/Level.java
6694 (parse): Use == instead of String.equals().
6695
6696 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6697
6698 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6699 verify_field_signature and verify_method_signature, not
6700 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6701 (_Jv_ClassReader::handleField): Likewise.
6702 (_Jv_ClassReader::handleMethod): Likewise.
6703
6704 2004-05-06 Michael Koch <konqueror@gmx.de>
6705
6706 * javax/swing/table/TableColumn.java:
6707 Reformated.
6708
6709 2004-05-06 Michael Koch <konqueror@gmx.de>
6710
6711 * javax/imageio/spi/ImageReaderWriterSpi.java
6712 (ImageReaderWriterSpi): Made it public.
6713 * javax/imageio/stream/ImageInputStream.java:
6714 Clean up imports.
6715
6716 2004-05-06 Michael Koch <konqueror@gmx.de>
6717
6718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6719 Removed empty line.
6720
6721 2004-05-06 Michael Koch <konqueror@gmx.de>
6722
6723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6724 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6725 New files.
6726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6727 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6729 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6730 their own source file.
6731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6732 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6733 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6735 (create): Define variable on top of function.
6736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6737 (menu_pos): Prototyped.
6738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6739 (setTitle): Removed.
6740 * jni/gtk-peer/gthread-jni.c
6741 (gdk_threads_wake): Removed.
6742 * Makefile.am (gtk_c_source_files): Added new files
6743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6744 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6745 * Makefile.in: Regenerated.
6746
6747 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6748
6749 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6750 call.
6751
6752 2004-05-05 Mark Wielaard <mark@klomp.org>
6753
6754 * javax/swing/AbstractButton.java: Replace special HTML entities with
6755 ASCII equivalent.
6756 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6757 * javax/swing/DefaultButtonModel.java: Likewise.
6758 * javax/swing/DefaultListModel.java: Likewise.
6759 * javax/swing/JList.java: Likewise.
6760 * javax/swing/JSlider.java: Likewise.
6761 * javax/swing/ListModel.java: Likewise.
6762 * javax/swing/Popup.java: Likewise.
6763 * javax/swing/SwingUtilities.java: Likewise.
6764
6765 2004-05-05 Michael Koch <konqueror@gmx.de>
6766
6767 * javax/swing/AbstractButton.java,
6768 javax/swing/ActionMap.java,
6769 javax/swing/DefaultButtonModel.java,
6770 javax/swing/DefaultListModel.java,
6771 javax/swing/ImageIcon.java,
6772 javax/swing/JComboBox.java,
6773 javax/swing/JComponent.java,
6774 javax/swing/JFrame.java,
6775 javax/swing/JInternalFrame.java,
6776 javax/swing/JMenuBar.java,
6777 javax/swing/JMenuItem.java,
6778 javax/swing/JOptionPane.java,
6779 javax/swing/JProgressBar.java,
6780 javax/swing/JRootPane.java,
6781 javax/swing/JScrollBar.java,
6782 javax/swing/JScrollPane.java,
6783 javax/swing/JSeparator.java,
6784 javax/swing/JSlider.java,
6785 javax/swing/JTabbedPane.java,
6786 javax/swing/JTable.java,
6787 javax/swing/JTextField.java,
6788 javax/swing/JToolBar.java,
6789 javax/swing/JToolTip.java,
6790 javax/swing/JTree.java,
6791 javax/swing/JViewport.java,
6792 javax/swing/JWindow.java,
6793 javax/swing/KeyStroke.java,
6794 javax/swing/LookAndFeel.java,
6795 javax/swing/SwingUtilities.java,
6796 javax/swing/Timer.java,
6797 javax/swing/ToolTipManager.java,
6798 javax/swing/UIDefaults.java,
6799 javax/swing/border/TitledBorder.java,
6800 javax/swing/filechooser/FileSystemView.java,
6801 javax/swing/plaf/basic/BasicButtonListener.java,
6802 javax/swing/plaf/basic/BasicButtonUI.java,
6803 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6804 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6805 javax/swing/plaf/basic/BasicLabelUI.java,
6806 javax/swing/plaf/basic/BasicMenuItemUI.java,
6807 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6808 javax/swing/plaf/basic/BasicRootPaneUI.java,
6809 javax/swing/plaf/basic/BasicScrollBarUI.java,
6810 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6811 javax/swing/plaf/basic/BasicSliderUI.java,
6812 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6813 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6814 javax/swing/table/JTableHeader.java,
6815 javax/swing/text/AbstractDocument.java,
6816 javax/swing/text/DefaultCaret.java,
6817 javax/swing/text/StyledEditorKit.java,
6818 javax/swing/tree/DefaultTreeCellEditor.java:
6819 Cleaned up imports.
6820
6821 2004-05-05 Michael Koch <konqueror@gmx.de>
6822
6823 * java/util/prefs/AbstractPreferences.java
6824 (AbstractPreferences): Added parenthesis for clarity.
6825 Closes classpath bug #7940.
6826
6827 2004-05-05 Tom Tromey <tromey@redhat.com>
6828
6829 * javax/naming/CompoundName.java (endsWith): Look at correct
6830 element of source name.
6831
6832 2004-05-05 Mark Wielaard <mark@klomp.org>
6833
6834 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6835 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6836
6837 2004-05-05 Tom Tromey <tromey@redhat.com>
6838
6839 * java/io/BufferedReader.java (skip): Removed unused
6840 variable.
6841
6842 2004-05-05 Michael Koch <konqueror@gmx.de>
6843
6844 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6845
6846 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6847
6848 * java/text/AttributedString.java,
6849 java/text/AttributedStringIterator.java,
6850 java/text/Collator.java,
6851 java/text/DecimalFormatSymbols.java,
6852 java/text/NumberFormat.java,
6853 java/text/RuleBasedCollator.java:
6854 Cleaned up imports.
6855
6856 2004-05-05 Tom Tromey <tromey@redhat.com>
6857
6858 * java/text/Format.java: Cleaned up imports.
6859 * java/text/DecimalFormat.java: Cleaned up imports.
6860 * java/security/SecureRandom.java: Cleaned up imports.
6861 (SecureRandom): Removed unused variable.
6862 * java/security/UnresolvedPermission.java: Cleaned up imports.
6863 * java/util/Date.java (parse): Removed unused variable.
6864 * java/util/ResourceBundle.java: Cleaned up imports.
6865 (getBundle): Removed unused variable.
6866 (tryBundle): Likewise.
6867 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6868
6869 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6870
6871 * java/text/SimpleDateFormat.java:
6872 (formatWithAttribute): New method. It implements
6873 the formatting process with attributes.
6874 (format): Use formatWithAttribute.
6875 (formatToCharacterIterator): New method. Use
6876 formatWithAttribute.
6877
6878 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6879
6880 * java/text/MessageFormat.java:
6881 (class Field): New class.
6882 (formatToCharacterIterator): New method.
6883 (format): Use formatInternal now.
6884 (formatInternal): New method. String formatter should
6885 be done here (with attributes). Attributes merging supported.
6886 (parse): More documentation.
6887 (getFormatsByArgumentIndex): New method.
6888 (setFormatByArgumentIndex): New method.
6889 (setFormatsByArgumentIndex): New method.
6890
6891 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6892
6893 * java/text/DecimalFormat.java
6894 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6895 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6896 (parse): Fixed handling of exponentiation notation and grouping.
6897
6898 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6899
6900 * java/text/DecimalFormat.java
6901 (scanFix): Build attribute array. Fixed error reporting.
6902 (applyPatternWithSymbols): Store attributes for the prefix and
6903 suffix.
6904 (formatInternal): New method. Changed the way the string is
6905 computed. Implemented attributes. Cleant up rounding in
6906 exponential notation.
6907 (format): Use formatInternal.
6908 (formatToCharacterIterator): New method.
6909 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6910 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6911 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6912 New fields.
6913
6914 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6915
6916 * java/security/interfaces/DSAKeyPairGenerator.java,
6917 java/security/interfaces/DSAPrivateKey.java,
6918 java/security/interfaces/DSAPublicKey.java,
6919 java/security/interfaces/RSAPrivateKey.java,
6920 java/security/interfaces/RSAPublicKey.java:
6921 Cleaned up imports.
6922
6923 2004-05-04 Michael Koch <konqueror@gmx.de>
6924
6925 * java/nio/ByteBuffer.java,
6926 java/nio/CharBuffer.java,
6927 java/nio/DoubleBuffer.java,
6928 java/nio/FloatBuffer.java,
6929 java/nio/IntBuffer.java,
6930 java/nio/LongBuffer.java,
6931 java/nio/ShortBuffer.java:
6932 (compareTo): Fixed bogus implementation in all buffer classes.
6933
6934 2004-05-04 Ingo Proetel <proetel@aicas.com>
6935
6936 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6937 32 bit pixels not 8 bit pixels.
6938 (isCompatibleRaster): Added javadoc comment.
6939
6940 2004-05-04 Ingo Proetel <proetel@aicas.com>
6941
6942 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6943 scanline stride.
6944
6945 2004-05-04 Ingo Proetel <proetel@aicas.com>
6946
6947 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6948 (getColorModel): Return the actual color model.
6949 (getRaster): Implemented.
6950 (ColorRaster): New inner class.
6951 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6952 a PaintContext.
6953 * java/awt/Color.java (<init>): Make exception more verbose.
6954 (createContext): Use ColorModel when creating a PaintContext.
6955
6956 2004-05-04 Michael Koch <konqueror@gmx.de>
6957
6958 * gnu/java/text/CharacterBreakIterator.java
6959 (previous): Removed unused variable.
6960
6961 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6962
6963 * gnu/java/text/FormatBuffer.java,
6964 gnu/java/text/AttributedFormatBuffer.java,
6965 gnu/java/text/StringFormatBuffer.java: New classes to implement
6966 attributed iterators in java.text.
6967 * gnu/java/text/FormatCharacterIterator.java: Moved
6968 from java/text as it is an internal class.
6969 * java/text/FormatCharacterIterator.java: Removed.
6970 * java/text/Format.java:
6971 Import gnu.java.text.FormatCharacterIterator.
6972 * Makefile.am (java_source_files): Added new files.
6973 * Makefile.in: Regenerated.
6974
6975
6976 2004-05-04 Mark Wielaard <mark@klomp.org>
6977
6978 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6979
6980 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6981
6982 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6983 * Makefile.in: Rebuilt.
6984
6985 2004-05-03 Mark Wielaard <mark@klomp.org>
6986
6987 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6988 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6989 * java/net/URL.java
6990 (set(String, String, int, String, String, String, String, String)):
6991 Assign this.file to path or path + "?" + query.
6992 * java/util/Arrays.java: Call static methods staticly.
6993 * java/util/zip/ZipEntry.java: Likewise.
6994 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6995 dir to this.direction.
6996 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6997 Assign static field only once.
6998 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6999
7000 2004-05-03 Mark Wielaard <mark@klomp.org>
7001
7002 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7003 unused variables hScrollbarHeight and vScrollbarWidth.
7004 (preferredSize): Likewise.
7005 * gnu/java/security/provider/DSAParameters.java (engineToString):
7006 Removed unused call to System.getProperty("line.seperator");
7007 * java/security/Security.java (loadProviders): Return result.
7008
7009 2004-05-03 Tom Tromey <tromey@redhat.com>
7010
7011 * java/net/URLStreamHandler.java (toExternalForm): Removed
7012 unused variables.
7013 unused constructor.
7014 * java/math/BigDecimal.java (divide): Removed unused variable.
7015 * java/lang/Throwable.java: Cleaned up imports.
7016 * java/lang/ClassLoader.java: Cleaned up imports.
7017 * java/io/FilePermission.java (implies): Removed unused
7018 variable.
7019 * java/awt/TextComponent.java: Removed unused import.
7020 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7021 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7022 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7023 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7024 import.
7025 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7026 * gnu/java/text/CharacterBreakIterator.java: Removed
7027 unused import.
7028 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7029 Cleaned up imports.
7030 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7031 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7032 unused method.
7033 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7034 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7035 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7036 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7037 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7038 (lookupProviders): Removed unused variable.
7039 (loadNextServiceProvider): Likewise.
7040 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7041
7042 2004-05-03 Michael Koch <konqueror@gmx.de>
7043
7044 Fixes PR libgcj/14695:
7045 * java/net/NetworkInterface.java
7046 (getByName): Return null when no interface was found.
7047
7048 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7049 Tom Tromey <tromey@redhat.com>
7050
7051 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7052 additional option "-Wmissing-prototypes" for compiling C sources.
7053 Print actual filename for pass/fail rather than $name.c.
7054 * testsuite/libjava.jni/PR15133.java: New testcase file.
7055 * testsuite/libjava.jni/PR15133.c: Likewise.
7056 * testsuite/libjava.jni/PR15133.out: Likewise.
7057
7058 2004-04-30 Roger Sayle <roger@eyesopen.com>
7059
7060 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7061 ceil and floor.
7062
7063 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7064
7065 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7066 limit the maximum heap size to avoid unnecessary thrashing.
7067
7068 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7069
7070 * java/text/CollationElementIterator.java (reset): Reset
7071 lookahead variables.
7072
7073 2004-04-23 Mark Wielaard <mark@klomp.org>
7074
7075 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7076
7077 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7078
7079 * java/sql/DriverManager.java:
7080 Cleaned up imports.
7081
7082 2004-04-23 Michael Koch <konqueror@gmx.de>
7083
7084 * java/net/URL.java
7085 (hashcode): Don't initialize with default value explicitely.
7086 (getContent): Removed redundant "final" keyword.
7087 (openStream): Likewise.
7088 (getURLStreamHandler): Fixed coding style.
7089 * java/net/URLConnection.java
7090 (defaultAllowUserInteraction): Don't initialize with default value
7091 explicitely.
7092 (connected): Likewise.
7093 (doOutput): Likewise.
7094 (ifModifiedSince): Likewise.
7095 (dateformats_initialized): Likewise.
7096 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7097
7098 2004-04-23 Michael Koch <konqueror@gmx.de>
7099
7100 * gnu/java/nio/channels/FileChannelImpl.java
7101 (SET, CUR): Unused, removed.
7102 (read): Implement here directly.
7103 (implRead): Removed.
7104 (write): Implement here directly.
7105 (implWrite): Removed.
7106
7107 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7108
7109 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7110 javax/rmi/CORBA/Stub.java,
7111 javax/rmi/CORBA/Util.java,
7112 javax/rmi/CORBA/ValueHandler.java,
7113 javax/rmi/CORBA/ValueHandler.java,
7114 javax/rmi/PortableRemoteObject.java:
7115 Cleaned up imports.
7116
7117 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7118
7119 * java/util/jar/JarFile.java,
7120 java/util/jar/JarInputStream.java,
7121 java/util/jar/JarOutputStream.java,
7122 java/util/jar/Manifest.java:
7123 Cleaned up imports.
7124
7125 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7126
7127 * java/util/ArrayList.java,
7128 java/util/Calendar.java,
7129 java/util/Currency.java,
7130 java/util/HashMap.java,
7131 java/util/HashSet.java,
7132 java/util/Hashtable.java,
7133 java/util/LinkedList.java,
7134 java/util/Properties.java,
7135 java/util/PropertyPermission.java,
7136 java/util/TimeZone.java,
7137 java/util/TreeMap.java,
7138 java/util/TreeSet.java,
7139 java/util/Vector.java,
7140 java/util/WeakHashMap.java:
7141 Cleaned up imports.
7142
7143 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7144
7145 * java/util/logging/FileHandler.java,
7146 java/util/logging/Formatter.java,
7147 java/util/logging/Handler.java,
7148 java/util/logging/Logger.java,
7149 java/util/logging/SimpleFormatter.java,
7150 java/util/logging/XMLFormatter.java:
7151 Cleaned up imports.
7152
7153 2004-04-22 Mark Wielaard <mark@klomp.org>
7154
7155 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7156 -Wno-long-long flags variable.
7157 (gtk_c_files): Use PEDANTIC_CFLAGS.
7158 * Makefile.in: Regenerated.
7159
7160 2004-04-22 Mark Wielaard <mark@klomp.org>
7161
7162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7163 Changed C++ comments into C comments.
7164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7165 Likewise.
7166
7167 2004-04-22 Michael Koch <konqueror@gmx.de>
7168
7169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7170 Merged copyright year with GNU classpath.
7171
7172 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7173
7174 * javax/security/auth/x500/X500Principal.java:
7175 Cleaned up imports.
7176
7177 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7178
7179 * javax/swing/JSlider.java:
7180 Fixed HTML tags in comments.
7181
7182 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7183
7184 * javax/accessibility/AccessibleText.java:
7185 Cleaned up imports.
7186
7187 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7188
7189 * java/net/URLStreamHandler.java
7190 (parseURL): Convert the file path to using '/' instead of native
7191 file separator.
7192
7193 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7194
7195 * java/net/URL.java
7196 (userInfo): New field.
7197 (URL): Set authority to the right value.
7198 (setURL): Fixed authority and file initialization.
7199 * java/net/URLStreamHandler.java
7200 (parseURL): Take care of the query tag. Build authority.
7201 (toExternalForm): Fixed URL building using authority.
7202
7203 2004-04-22 Michael Koch <konqueror@gmx.de>
7204
7205 * java/net/Socket.java
7206 (impl): Made package-private.
7207 * java/net/ServerSocket.java
7208 (implAccept): Access Socket.impl field directly.
7209
7210 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7211
7212 * java/util/prefs/Preferences.java,
7213 java/util/prefs/InvalidPreferencesFormatException.java,
7214 java/util/prefs/BackingStoreException.java,
7215 java/util/prefs/AbstractPreferences.java:
7216 Cleaned up imports.
7217
7218 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7219
7220 * java/util/regex/Matcher.java,
7221 java/util/regex/Pattern.java:
7222 Cleaned up imports.
7223
7224 2004-04-22 Michael Koch <konqueror@gmx.de>
7225
7226 * java/nio/charset/IllegalCharsetNameException.java
7227 (charsetName): Made private.
7228 (IllegalCharsetNameException): Added @param tag to javadoc.
7229 (getCharsetName): Added @return tag to javadoc.
7230 * java/nio/charset/MalformedInputException.java
7231 (MalformedInputException): Added @param tag to javadoc.
7232 (getInputLength): Revised method description, added @return tag.
7233 (getMessage): Added @return tag.
7234
7235 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7236
7237 * java/awt/Font.java (deriveFont): Implement missing variants.
7238 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7239 missing variants.
7240
7241 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7242
7243 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7244 Set method->index values for interface methods to their itable index.
7245 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7246
7247 2004-04-21 Michael Koch <konqueror@gmx.de>
7248
7249 * java/nio/DirectByteBufferImpl.java
7250 (shiftDown): Made static, give address as argument and
7251 provide a convenience method that overwrites shiftDown in
7252 ByteBufferImpl and calls the native shiftDown.
7253 * java/nio/MappedByteBufferImpl.java
7254 (): Use optimized method in DirectByteBufferImpl.
7255 * java/nio/natDirectByteBufferImpl.cc
7256 (shiftDown): Changed method signature. Removed usage of array_offset.
7257
7258 2004-04-21 Michael Koch <konqueror@gmx.de>
7259
7260 * gnu/java/net/natPlainSocketImplPosix.cc
7261 (SocketInputStream::read): Make sure returned data is a byte value.
7262
7263 2004-04-21 Michael Koch <konqueror@gmx.de>
7264
7265 * gnu/classpath/ServiceFactory.java,
7266 gnu/classpath/ServiceProviderLoadingAction.java,
7267 javax/imageio/ImageReader.java,
7268 javax/imageio/ImageTranscoder.java,
7269 javax/imageio/ImageWriter.java,
7270 javax/imageio/package.html,
7271 javax/imageio/spi/IIOServiceProvider.java,
7272 javax/imageio/spi/ImageInputStreamSpi.java,
7273 javax/imageio/spi/ImageOutputStreamSpi.java,
7274 javax/imageio/spi/ImageReaderWriterSpi.java,
7275 javax/imageio/spi/ImageTranscoderSpi.java,
7276 javax/imageio/spi/RegisterableService.java,
7277 javax/imageio/spi/ServiceRegistry.java,
7278 javax/imageio/spi/package.html,
7279 javax/imageio/stream/IIOByteBuffer.java,
7280 javax/imageio/stream/ImageInputStream.java,
7281 javax/imageio/stream/ImageOutputStream.java,
7282 javax/imageio/stream/package.html:
7283 New files.
7284 * Makefile.am
7285 (ordinary_java_source_files): Added
7286 gnu/classpath/ServiceFactory.java and
7287 gnu/classpath/ServiceProviderLoadingAction.java.
7288 (javax_source_files): Added
7289 javax/imageio/ImageReader.java,
7290 javax/imageio/ImageTranscoder.java,
7291 javax/imageio/ImageWriter.java,
7292 javax/imageio/spi/IIOServiceProvider.java,
7293 javax/imageio/spi/ImageInputStreamSpi.java,
7294 javax/imageio/spi/ImageOutputStreamSpi.java,
7295 javax/imageio/spi/ImageReaderWriterSpi.java,
7296 javax/imageio/spi/ImageTranscoderSpi.java,
7297 javax/imageio/spi/RegisterableService.java,
7298 javax/imageio/spi/ServiceRegistry.java,
7299 javax/imageio/stream/IIOByteBuffer.java,
7300 javax/imageio/stream/ImageInputStream.java and
7301 javax/imageio/stream/ImageOutputStream.java.
7302 * Makefile.in: Regenerated.
7303
7304 2004-04-21 Michael Koch <konqueror@gmx.de>
7305
7306 * java/util/Properties.java
7307 (load): Fix wrongly merged fix.
7308
7309 2004-04-21 Mark Wielaard <mark@klomp.org>
7310
7311 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7312 malloc and free buf.
7313
7314 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7315
7316 * javax/naming/AuthenticationException.java,
7317 javax/naming/AuthenticationNotSupportedException.java,
7318 javax/naming/CannotProceedException.java,
7319 javax/naming/CommunicationException.java,
7320 javax/naming/CompoundName.java,
7321 javax/naming/ConfigurationException.java,
7322 javax/naming/ContextNotEmptyException.java,
7323 javax/naming/InitialContext.java,
7324 javax/naming/InsufficientResourcesException.java,
7325 javax/naming/InterruptedNamingException.java,
7326 javax/naming/LimitExceededException.java,
7327 javax/naming/LinkException.java,
7328 javax/naming/LinkLoopException.java,
7329 javax/naming/LinkRef.java,
7330 javax/naming/MalformedLinkException.java,
7331 javax/naming/Name.java,
7332 javax/naming/NameAlreadyBoundException.java,
7333 javax/naming/NameNotFoundException.java,
7334 javax/naming/NamingSecurityException.java,
7335 javax/naming/NoInitialContextException.java,
7336 javax/naming/NoPermissionException.java,
7337 javax/naming/NotContextException.java,
7338 javax/naming/PartialResultException.java,
7339 javax/naming/ReferralException.java,
7340 javax/naming/ServiceUnavailableException.java,
7341 javax/naming/SizeLimitExceededException.java,
7342 javax/naming/TimeLimitExceededException.java,
7343 javax/naming/directory/Attribute.java,
7344 javax/naming/directory/Attributes.java,
7345 javax/naming/directory/SearchResult.java,
7346 javax/naming/event/NamingExceptionEvent.java,
7347 javax/naming/spi/ResolveResult.java:
7348 Cleaned up imports.
7349
7350 2004-04-21 Mark Wielaard <mark@klomp.org>
7351
7352 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7353 Changed C++ comments into C comments. Removed commented out code.
7354 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7355 Likewise.
7356 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7357 Likewise.
7358 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7359 Likewise.
7360 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7361 Likewise.
7362 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7363 Likewise.
7364 * native/jni/gtk-peer/gthread-jni.c:
7365 Likewise.
7366
7367 2004-04-21 Mark Wielaard <mark@klomp.org>
7368
7369 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7370 static fields defined in interface.
7371 * javax/awt/JDialog.java: Likewise.
7372 (JDialog): Make constructors public.
7373 (getDefaultCloseOperation): Make public.
7374 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7375 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7376 * javax/swing/JViewport.java (JViewport): Make constructor public.
7377
7378 2004-04-21 Michael Koch <konqueror@gmx.de>
7379
7380 * java/util/Map.java
7381 (Entry): Removed redundant "static" modifier.
7382 * java/text/AttributedCharacterIterator.java:
7383 Updated copyright year.
7384
7385 2004-04-20 Michael Koch <konqueror@gmx.de>
7386
7387 * javax/naming/directory/SearchControls.java:
7388 Don't explicitely extend java.lang.Object.
7389 * javax/naming/spi/DirStateFactory.java:
7390 Merged copyright year with GNU classpath.
7391
7392 2004-04-20 Michael Koch <konqueror@gmx.de>
7393
7394 * java/nio/channels/Channels.java:
7395 Merged coding style with GNU classpath.
7396
7397 2004-04-20 Michael Koch <konqueror@gmx.de>
7398
7399 * java/net/ServerSocket.java
7400 Merged coding style from GNU classpath.
7401
7402 2004-04-20 Michael Koch <konqueror@gmx.de>
7403
7404 * java/io/BufferedWriter.java:
7405 Reordered variables to be at top of the class.
7406 (localFlush): Removed redundant final keyword.
7407
7408 2004-04-20 Ingo Proetel <proetel@aicas.com>
7409
7410 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7411
7412 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7413
7414 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7415 for percent and permill check.
7416
7417 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7418
7419 * java/text/FieldPosition.java
7420 (FieldPosition) Constructor now behaves as it should according
7421 to the java documentation.
7422
7423 2004-04-20 Mark Wielaard <mark@klomp.org>
7424
7425 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7426 documentation.
7427
7428 2004-04-20 Michael Koch <konqueror@gmx.de>
7429
7430 * java/nio/Buffer.java,
7431 java/nio/channels/AlreadyConnectedException.java,
7432 java/nio/channels/AsynchronousCloseException.java,
7433 java/nio/channels/ByteChannel.java,
7434 java/nio/channels/CancelledKeyException.java,
7435 java/nio/channels/Channel.java,
7436 java/nio/channels/Channels.java,
7437 java/nio/channels/ClosedByInterruptException.java,
7438 java/nio/channels/ClosedChannelException.java,
7439 java/nio/channels/ClosedSelectorException.java,
7440 java/nio/channels/ConnectionPendingException.java,
7441 java/nio/channels/DatagramChannel.java,
7442 java/nio/channels/FileChannel.java,
7443 java/nio/channels/FileLock.java,
7444 java/nio/channels/FileLockInterruptionException.java,
7445 java/nio/channels/GatheringByteChannel.java,
7446 java/nio/channels/IllegalBlockingModeException.java,
7447 java/nio/channels/IllegalSelectorException.java,
7448 java/nio/channels/InterruptibleChannel.java,
7449 java/nio/channels/NoConnectionPendingException.java,
7450 java/nio/channels/NonReadableChannelException.java,
7451 java/nio/channels/NonWritableChannelException.java,
7452 java/nio/channels/NotYetBoundException.java,
7453 java/nio/channels/NotYetConnectedException.java,
7454 java/nio/channels/OverlappingFileLockException.java,
7455 java/nio/channels/Pipe.java,
7456 java/nio/channels/ReadableByteChannel.java,
7457 java/nio/channels/ScatteringByteChannel.java,
7458 java/nio/channels/SelectableChannel.java,
7459 java/nio/channels/SelectionKey.java,
7460 java/nio/channels/Selector.java,
7461 java/nio/channels/ServerSocketChannel.java,
7462 java/nio/channels/SocketChannel.java,
7463 java/nio/channels/UnresolvedAddressException.java,
7464 java/nio/channels/UnsupportedAddressTypeException.java,
7465 java/nio/channels/WritableByteChannel.java,
7466 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7467 java/nio/channels/spi/AbstractSelectableChannel.java,
7468 java/nio/channels/spi/AbstractSelectionKey.java,
7469 java/nio/channels/spi/AbstractSelector.java,
7470 java/nio/channels/spi/SelectorProvider.java,
7471 java/nio/charset/spi/CharsetProvider.java:
7472 Fixed javadocs and jalopied all over java.nio.
7473
7474 2004-04-20 Michael Koch <konqueror@gmx.de>
7475
7476 * java/nio/ByteBufferImpl.java,
7477 java/nio/CharBufferImpl.java,
7478 java/nio/DirectByteBufferImpl.java,
7479 java/nio/DoubleBufferImpl.java,
7480 java/nio/DoubleViewBufferImpl.java,
7481 java/nio/FloatBufferImpl.java,
7482 java/nio/FloatViewBufferImpl.java,
7483 java/nio/IntBufferImpl.java,
7484 java/nio/IntViewBufferImpl.java,
7485 java/nio/LongBufferImpl.java,
7486 java/nio/LongViewBufferImpl.java,
7487 java/nio/MappedByteBufferImpl.java,
7488 java/nio/ShortBufferImpl.java,
7489 java/nio/ShortViewBufferImpl.java:
7490 Made sure all classes are final and removed final keyword from all
7491 methods.
7492
7493 2004-04-20 Michael Koch <konqueror@gmx.de>
7494
7495 * java/rmi/MarshalledObject.java,
7496 java/rmi/Naming.java,
7497 java/rmi/RemoteException.java,
7498 java/rmi/activation/ActivationException.java,
7499 java/rmi/server/ServerCloneException.java,
7500 java/security/AccessController.java,
7501 java/security/AlgorithmParameterGenerator.java,
7502 java/security/AlgorithmParameters.java,
7503 java/security/CodeSource.java,
7504 java/security/Identity.java,
7505 java/security/IdentityScope.java,
7506 java/security/KeyPairGenerator.java,
7507 java/security/KeyStore.java,
7508 java/security/Security.java,
7509 java/security/Signature.java,
7510 java/security/SignatureSpi.java,
7511 java/security/SignedObject.java,
7512 java/security/spec/DSAParameterSpec.java,
7513 java/security/spec/DSAPrivateKeySpec.java,
7514 java/security/spec/DSAPublicKeySpec.java,
7515 java/sql/Array.java,
7516 java/sql/DatabaseMetaData.java,
7517 java/sql/ResultSet.java,
7518 java/text/ChoiceFormat.java,
7519 java/text/CollationElementIterator.java,
7520 java/text/CollationKey.java,
7521 java/text/Collator.java,
7522 java/text/DateFormat.java,
7523 java/text/DateFormatSymbols.java,
7524 java/text/DecimalFormatSymbols.java,
7525 java/text/Format.java,
7526 java/text/ParsePosition.java,
7527 java/text/RuleBasedCollator.java,
7528 java/text/SimpleDateFormat.java,
7529 java/text/StringCharacterIterator.java,
7530 java/util/Collections.java,
7531 java/util/PropertyResourceBundle.java,
7532 java/util/ResourceBundle.java,
7533 java/util/StringTokenizer.java,
7534 java/util/jar/Attributes.java,
7535 java/util/logging/ConsoleHandler.java,
7536 java/util/logging/LogManager.java,
7537 java/util/logging/MemoryHandler.java,
7538 java/util/logging/SocketHandler.java,
7539 javax/naming/NamingException.java:
7540 Fixed javadoc, coding style and argument names all over.
7541
7542 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7543
7544 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7545 constructor. (valid) Added null check.
7546
7547 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7548
7549 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7550 * java/io/FileOutputStream.java
7551 (FileOutputStream) Reorganized constructors. Constructors now
7552 check whether the given path is directory.
7553
7554 2004-04-20 Michael Koch <konqueror@gmx.de>
7555
7556 * java/net/Authenticator.java,
7557 java/net/BindException.java,
7558 java/net/ConnectException.java,
7559 java/net/ContentHandler.java,
7560 java/net/ContentHandlerFactory.java,
7561 java/net/DatagramPacket.java,
7562 java/net/DatagramSocket.java,
7563 java/net/DatagramSocketImpl.java,
7564 java/net/DatagramSocketImplFactory.java,
7565 java/net/FileNameMap.java,
7566 java/net/HttpURLConnection.java,
7567 java/net/Inet4Address.java,
7568 java/net/Inet6Address.java,
7569 java/net/InetAddress.java,
7570 java/net/InetSocketAddress.java,
7571 java/net/JarURLConnection.java,
7572 java/net/MalformedURLException.java,
7573 java/net/MulticastSocket.java,
7574 java/net/NetPermission.java,
7575 java/net/NetworkInterface.java,
7576 java/net/NoRouteToHostException.java,
7577 java/net/PasswordAuthentication.java,
7578 java/net/PortUnreachableException.java,
7579 java/net/ProtocolException.java,
7580 java/net/ServerSocket.java,
7581 java/net/Socket.java,
7582 java/net/SocketAddress.java,
7583 java/net/SocketException.java,
7584 java/net/SocketImpl.java,
7585 java/net/SocketImplFactory.java,
7586 java/net/SocketOptions.java,
7587 java/net/SocketPermission.java,
7588 java/net/SocketTimeoutException.java,
7589 java/net/URI.java,
7590 java/net/URISyntaxException.java,
7591 java/net/URL.java,
7592 java/net/URLClassLoader.java,
7593 java/net/URLConnection.java,
7594 java/net/URLDecoder.java,
7595 java/net/URLEncoder.java,
7596 java/net/URLStreamHandler.java,
7597 java/net/URLStreamHandlerFactory.java,
7598 java/net/UnknownHostException.java,
7599 java/net/UnknownServiceException.java:
7600 Fixed javadocs, coding style and argument names all over.
7601
7602 2004-04-20 Michael Koch <konqueror@gmx.de>
7603
7604 * java/lang/Byte.java,
7605 java/lang/CharSequence.java,
7606 java/lang/ClassLoader.java,
7607 java/lang/Compiler.java,
7608 java/lang/Double.java,
7609 java/lang/Float.java,
7610 java/lang/Integer.java,
7611 java/lang/Long.java,
7612 java/lang/Math.java,
7613 java/lang/Number.java,
7614 java/lang/Package.java,
7615 java/lang/Runtime.java,
7616 java/lang/RuntimePermission.java,
7617 java/lang/SecurityManager.java,
7618 java/lang/Short.java,
7619 java/lang/StringBuffer.java,
7620 java/lang/System.java,
7621 java/lang/ThreadGroup.java,
7622 java/lang/Throwable.java,
7623 java/lang/reflect/InvocationHandler.java,
7624 java/lang/reflect/Proxy.java:
7625 Fixed javadocs, coding style and argument names all over.
7626
7627 2004-04-20 Michael Koch <konqueror@gmx.de>
7628
7629 * java/io/BufferedWriter.java,
7630 java/io/ByteArrayInputStream.java,
7631 java/io/CharArrayWriter.java,
7632 java/io/DataInput.java,
7633 java/io/DataInputStream.java,
7634 java/io/File.java,
7635 java/io/FilterInputStream.java,
7636 java/io/InputStream.java,
7637 java/io/InputStreamReader.java,
7638 java/io/ObjectInputStream.java,
7639 java/io/ObjectStreamClass.java,
7640 java/io/PipedInputStream.java,
7641 java/io/PipedReader.java,
7642 java/io/PushbackInputStream.java,
7643 java/io/PushbackReader.java,
7644 java/io/RandomAccessFile.java,
7645 java/io/SerializablePermission.java,
7646 java/io/StreamTokenizer.java,
7647 java/io/StringWriter.java,
7648 java/io/WriteAbortedException.java,
7649 java/io/Writer.java:
7650 Fixed javadocs all over, rename arguments to match javadocs,
7651 fixed coding style.
7652
7653 2004-04-20 Ingo Proetel <proetel@aicas.com>
7654
7655 * java/awt/FontMetrics.java:
7656 (charsWidth): fixed accumulation of total_width
7657 (getWidth): simple default implementation
7658 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7659 in Rectangle constructor.
7660 * java/awt/image/Raster.java (toString): Added method.
7661 * java/awt/image/SampleModel.java (<init>): Added error cause
7662 information to thrown exception.
7663 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7664 New method.
7665 (setDataElements): New method.
7666 (setPixels): New method.
7667 (toString): New method.
7668
7669 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7670
7671 * java/awt/image/ComponentColorModel.java
7672 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7673 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7674 Mauve tests on this method. Improved documentation.
7675
7676 2004-04-20 Michael Koch <konqueror@gmx.de>
7677
7678 * javax/swing/JLayeredPane.java,
7679 javax/swing/plaf/BorderUIResource.java,
7680 javax/swing/plaf/ComponentUI.java,
7681 javax/swing/undo/CompoundEdit.java,
7682 javax/swing/undo/StateEdit.java:
7683 Fixed HTML tags in javadocs all over.
7684
7685 2004-04-20 Michael Koch <konqueror@gmx.de>
7686
7687 * javax/print/attribute/EnumSyntax.java
7688 (getOffset): Made protected.
7689 * javax/print/attribute/HashAttributeSet.java
7690 (HashAttributeSet): Likewise.
7691 * javax/print/attribute/ResolutionSyntax.java
7692 (getFeedResolution): Fixed typo in exception name.
7693 (getCrossFeedResolution): Likewise.
7694 * javax/print/attribute/SetOfIntegerSyntax.java
7695 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7696 * javax/print/attribute/TextSyntax.java
7697 (TextSyntax): Handle locale correctly.
7698 (hashCode): Calc better hashcode value.
7699 (equals): Fixed @return tag.
7700 (toString): New method.
7701
7702 2004-04-20 Michael Koch <konqueror@gmx.de>
7703
7704 * gnu/java/nio/FileLockImpl.java
7705 (static): Removed, not needed anymore.
7706 * gnu/java/nio/channels/FileChannelImpl.java
7707 (FileChannelImpl): Made final.
7708 (mode): Made private.
7709 (READ, WRITE, APPEND): Made public.
7710 (EXCL, SYNC, DSYNC): Likewise.
7711 (static): Load native JNI library, when needed.
7712 (length): Unused, removed.
7713 (available): Made public.
7714 (implPosition): Throws IOException.
7715 (seek): Likewise.
7716 (implTruncate): Likewise.
7717 (unlock): Likewise.
7718 (lock): Likewise.
7719
7720 2004-04-20 Michael Koch <konqueror@gmx.de>
7721
7722 * java/awt/AWTPermission.java,
7723 java/awt/Component.java,
7724 java/awt/ComponentOrientation.java,,
7725 java/awt/Dialog.java,
7726 java/awt/FontMetrics.java,
7727 java/awt/Graphics.java,
7728 java/awt/datatransfer/DataFlavor.java,
7729 java/beans/Introspector.java,
7730 java/beans/PropertyEditor.java,
7731 java/beans/PropertyEditorManager.java,
7732 java/beans/beancontext/BeanContextServiceProvider.java:
7733 Fixed HTML tags in javadocs all over.
7734
7735 2004-04-20 Mark Wielaard <mark@klomp.org>
7736
7737 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7738 MissingResourceException is thrown.
7739 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7740 null when a MissingResourceException is thrown. Should never happen.
7741
7742 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7743
7744 * java/awt/image/DataBufferShort.java,
7745 java/awt/image/DataBufferFloat.java,
7746 java/awt/image/DataBufferDouble.java,
7747 java/awt/image/PixelInterleavedSampleModel.java: New files.
7748 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7749 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7750
7751 2004-04-20 Michael Koch <konqueror@gmx.de>
7752
7753 * Makefile.am (java_source_files): Added
7754 java/awt/image/DataBufferDouble.java,
7755 java/awt/image/DataBufferFloat.java,
7756 java/awt/image/DataBufferShort.java and
7757 java/awt/image/PixelInterleavedSampleModel.java.
7758 * Makefile.in: Regenerated.
7759
7760 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7761
7762 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7763 undocumented CNI calls.
7764 * include/java-interp.h (_Jv_InterpClass): No longer
7765 extends java.lang.Class.
7766 * java/lang/Class.h (Class): Add new field `aux_info'.
7767 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7768 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7769 Use Class->aux_info instead.
7770 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7771 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7772 Use Class->aux_info instead.
7773 * java/io/natObjectInputStream.cc (allocateObject): Use
7774 _Jv_AllocObject.
7775 * java/lang/natClass.cc (newInstance): Likewise.
7776 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7777 * java/lang/natObject.cc (clone): Likewise.
7778 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7779 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7780 JvAllocObject. Allocate klass->aux_info here for interpreted
7781 class.
7782
7783 2004-04-17 Mark Wielaard <mark@klomp.org>
7784
7785 * javax/swing/JToggleButton.java (ToggleButtonModel):
7786 Make public static inner class.
7787 * javax/swing/JTabbedPane.java (setComponentAt):
7788 Call Page.setComponent().
7789 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7790 (WRAP_TAB_LAYOUT): Make public, value is 0.
7791 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7792 Make private static inner class.
7793
7794 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7795
7796 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7797 arguments to match new signature. Remove FIXME comments.
7798
7799 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7800
7801 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7802 Remove method.
7803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7804 unused code.
7805
7806 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7807
7808 * Makefile.am: Added new file.
7809 * Makefile.in: Regenerate.
7810 * javax/swing/ImageIcon.java:
7811 (ImageIcon(file)): set description of the icon
7812 to the file name
7813 * javax/swing/JCheckBoxMenuItem.java:
7814 Mostly Implemented. Work in progress.
7815 * javax/swing/JRadioButtonMenuItem.java:
7816 Reimplement constructors to use JToggleButtonModel.
7817 * javax/swing/plaf/basic/BasicIconFactory.java:
7818 (getCheckBoxMenuItemIcon): return check box
7819 icon.
7820 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7821 paint menu item selected only when it is armed and
7822 pressed.
7823
7824 2004-04-02 David Jee <djee@redhat.com>
7825
7826 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7827 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7828 * java/awt/Component.java
7829 (add): Set the parent of the popup as this component.
7830 * java/awt/PopupMenu.java
7831 (addNotify): Create popup menu when peer is null.
7832 (show): Call addNotify() if peer is null.
7833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7834 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7835 argument for gtk_menu_popup() as zero. This causes the popup menu to
7836 respond to any mouse button.
7837
7838 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7839
7840 * Makefile.am: Added new file.
7841 * Makefile.in: Regenerate.
7842 * javax/swing/JRadioButtonMenuItem.java:
7843 Implemented.
7844 * javax/swing/plaf/basic/BasicIconFactory.java:
7845 (getRadioButtonMenuItemIcon): Return
7846 radio button icon.
7847 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7848 (getPreferredSize): Add size of checkIcon if it
7849 exists.
7850 (installDefaults): Don't initialize checkIcon.
7851 It's value will be set in subclasses.
7852 (uninstallDefaults): remove uninstallation of
7853 checkIcon.
7854 (paint): Moved code to paintMenuItem().
7855 (paintMenuItem): Implemented.
7856 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7857 UI delegate for JRadioButtonMenuItem.
7858
7859 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7860
7861 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7862 Corrected position of the accelerator.
7863
7864 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7865
7866 * Makefile.am: Added new file.
7867 * Makefile.in: Regenerate.
7868 * javax/swing/JMenuItem.java: Partly
7869 implemented. Work in progress
7870 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7871 Changed default value of acceleratorDelimiter.
7872 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7873 New class. Partly implemented.
7874
7875 2004-03-26 Mark Wielaard <mark@klomp.org>
7876
7877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7878 (item_activate): Declare label before use.
7879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7880 (gtkSetFont): Removed unused variable label.
7881 (addExposeFilter): Declare variables before use.
7882 (removeExposeFilter): Likewise.
7883 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7884 (ok_clicked): Declare str_fileName before use.
7885
7886 2004-03-26 David Jee <djee@redhat.com>
7887
7888 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7889 (addSeparator): Remove.
7890 * java/awt/Menu.java
7891 (separator): Remove static final MenuItem field.
7892 (separatorLabel): New static final String field.
7893 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7894 Use separatorLabel to denote that it is a separator.
7895 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7896 of reusing the static separator instance, because a MenuItem instance
7897 can't be added more than once without being cloned.
7898 * java/awt/peer/MenuPeer.java
7899 (addSeparator): Remove from interface.
7900
7901 2004-03-26 David Jee <djee@redhat.com>
7902
7903 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7904 (connectSignals): New native method declaration.
7905 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7906 * java/awt/MenuItem.java
7907 (getActionCommand): Return the label if the action command is not set.
7908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7909 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7910 gtk_menu_shell_append().
7911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7912 (item_activate): Fix argument type.
7913 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7914 signal here.
7915 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7916 method.
7917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7918 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7919 given. Add the menu widget's top-level GtkWindow to the global window
7920 group, so it can grab the pointer.
7921 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7922 gtk_menu_shell_append().
7923
7924 2004-03-23 Graydon Hoare <graydon@redhat.com>
7925
7926 * java/text/AttributedString.java
7927 (addAttribute): Fix off-by-one.
7928 (getIterator): Likewise.
7929 * java/text/AttributedStringIterator.java
7930 (getRunLimit): Correct logic.
7931 (getRunStart): Likewise.
7932 (getAttribute): Fix inequality.
7933 (getAttributes): Likewise.
7934 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7935
7936 2004-03-23 Kim Ho <kho@redhat.com>
7937
7938 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7939 (calculateSizes): Return real width and height.
7940
7941 2004-03-23 Kim Ho <kho@redhat.com>
7942
7943 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7944 (calculateTabRects): Set the selectedRun before
7945 trying to rotate tabs.
7946
7947 2004-03-23 Kim Ho <kho@redhat.com>
7948
7949 * Makefile.am: New file
7950 * Makefile.in: Regenerate
7951 * java/awt/Graphics.java: (drawRect):
7952 Draw to the correct point.
7953 * javax/swing/DefaultSingleSelectionModel.java
7954 (isSelected): Return true if the selected index
7955 is not -1.
7956 * javax/swing/JLabel.java: Do not change mnemonic
7957 index if text is null.
7958 * javax/swing/JProgressBar.java: Use JComponent's
7959 EventListenerList.
7960 * javax/swing/JScrollBar.java: Ditto.
7961 * javax/swing/JSlider.java: Ditto.
7962 * javax/swing/JTabbedPane.java: Reimplement.
7963 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7964 Add defaults for TabbedPane.
7965 * javax/swing/plaf/basic/BasicArrowButton.java:
7966 Implement
7967 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7968 (paintDeterminate): Don't paint String if it's
7969 empty.
7970 (paintIndeterminate): ditto.
7971 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7972 Reimplement.
7973
7974 2004-03-19 Michael Koch <konqueror@gmx.de>
7975
7976 * java/awt/image/AffineTransformOp.java
7977 (AffineTransformOp): Made public.
7978 * javax/swing/JComponent.java
7979 (listenerList): Made protected.
7980 (accessibleContext): Likewise.
7981 * javax/swing/JList.java
7982 (valueChanged): Dont use internal fields of ListSelectionEvent.
7983 * javax/swing/JViewport.java
7984 (getView): Dont use internal fields of Component.
7985 (addImpl): Likewise.
7986 * javax/swing/Timer.java
7987 (isRunning): Made public.
7988 (start): Likewise.
7989 (stop): Likewise.
7990 * javax/swing/UIDefaults.java
7991 (getInt): Made public.
7992 * javax/swing/plaf/basic/BasicListUI.java
7993 (mousePressed): Dont use internal fields of MouseEvent.
7994 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7995 * javax/swing/plaf/basic/BasicScrollBarUI.java
7996 (arrowIcon): Made static.
7997 * javax/swing/plaf/basic/BasicViewportUI.java
7998 (stateChanged): Dont use internal field on ChangeEvent.
7999 * javax/swing/text/JTextComponent.java
8000 (getUI): Call UIManager.getUI().
8001 (updateUI): Use getUI().
8002
8003 2004-03-19 Graydon Hoare <graydon@redhat.com>
8004
8005 * javax/swing/JComponent.java: Turn off double buffer by default.
8006 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8008 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8009 Use cairo to copy areas.
8010 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8011 Initialize and set clip region.
8012
8013 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8014
8015 * java/applet/Applet.java (preferredSize): Override deprecated
8016 variant of getPreferredSize.
8017 (minimumSize): Override deprecated variant of getMinimumSize.
8018
8019 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8020
8021 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8022 (drawImage(img,xform,bgcolor,obs)): New Method.
8023 Helper function that every drawImage method will
8024 use.
8025 (drawRaster): Added new parameter, bgcolor. All
8026 transparent pixels are changed to bgcolor before
8027 image is drawn.
8028 (drawRenderedImage): Fixed to use changed drawRaster().
8029 (drawImage(image,xform,obs): Fixed to use new helper function
8030 (drawImage(image,op,x,y)): Ditto.
8031 (drawImage (img,x,y,observer)): Ditto.
8032 ((PainterThread) bgcolor): New Field.
8033 ((PainterThread) (setPixels)): Changed all transparent pixels
8034 to bgcolor.
8035 (drawImage(img,x,y,width,height,bgcolor,observer)):
8036 Fixed FIXME - all the transparent pixels are
8037 changed to the specified bgcolor.
8038 (drawImage(img, x, y, width, height, observer): Changed to
8039 use function above.
8040 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8041 Fixed FIXME- changed all transparent pixels to bgcolor.
8042 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8043 Changed to use function above.
8044
8045 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8046
8047 * java/applet/Applet.java (dimensions): New field.
8048 (getDimensions): New method.
8049 (getPreferredSize): Call getDimensions.
8050 (getMinimumSize): Likewise.
8051
8052 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8053
8054 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8055 * jni/classpath/jnilink.c: Likewise.
8056
8057 * java/applet/Applet.java (getPreferredSize): New method.
8058 (getMinimumSize): New method.
8059
8060 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8061
8062 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8063 (_Jv_AllocObjectNoFinalizer): Likewise.
8064 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8065 (_Jv_AllocPtrFreeObject): Likewise.
8066 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8067 directly even in the JVMPI case.
8068 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8069 _Jv_AllocObject calls.
8070 * gcj/javaprims.h: Update prototypes.
8071 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8072 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8073 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8074
8075 2004-04-14 Andrew Haley <aph@redhat.com>
8076 Bryce McKinlay <mckinlay@redhat.com>
8077
8078 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8079 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8080 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8081
8082 * testsuite/libjava.lang/InvokeInterface.java: New file.
8083 * testsuite/libjava.lang/InvokeInterface.out: New file.
8084
8085 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8086
8087 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8088 modified lookup().
8089 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8090 StackTraceElement directly.
8091 (newElement): New native helper method to create StackTraceElement
8092 bypassing Java access control.
8093 (createStackTraceElement): Use newElement() instead of directly
8094 calling StackTraceElement's constructor.
8095 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8096
8097 2004-04-01 Michael Koch <konqueror@gmx.de>
8098
8099 * java/lang/SecurityManager.java
8100 (checkAwtEventQueueAccess): Implemented.
8101
8102 2004-04-01 Gary Benson <gbenson@redhat.com>
8103
8104 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8105 (_Jv_SearchMethodInClass): Likewise.
8106
8107 2004-03-26 Peter Moon <peterm@miraculum.com>
8108
8109 * java/text/NumberFormat.java: Fix spelling of setCurrency
8110 method.
8111
8112 2004-03-21 Anthony Green <green@redhat.com>
8113
8114 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8115 recursion when searching for the system ClassLoader.
8116
8117 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8118
8119 * java/net/ServerSocket.java
8120 (accept): Close the socket when error occured.
8121
8122 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8123
8124 * java/net/URI.java (parseURI): Added unquoting.
8125 (unquote): New method.
8126 (quoteAuthority): Implemented.
8127 (quote(String,String)): New method.
8128 (quotePath): Implemented.
8129 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8130 (getSchemeSpecificPart): Removed FIXME comment.
8131 (getRawAuthority): Return new rawAuthority field.
8132 (getAuthority): Removed FIXME comment.
8133 (getRawUserInfo): Return new rawUserInfo field.
8134 (getUserInfo): Removed FIXME comment.
8135 (getRawPath): Return new rawPath field.
8136 (getPath): Removed FIXME comment.
8137 (getRawQuery): Return new rawQuery field.
8138 (getQuery): Removed FIXME comment.
8139 (getRawFragment): Return new rawFragment field.
8140 (getFragment): Removed FIXME comment.
8141
8142 2004-03-20 Michael Koch <konqueror@gmx.de>
8143
8144 * java/net/URLConnection.java: Merged copyright year with classpath.
8145
8146 2004-03-20 Norbert Frese <postfach@nfrese.net>
8147
8148 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8149 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8150 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8151 rmi-message.
8152 (getObjectInputStream): Return object reference, throw IOException if null.
8153 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8154 (getObjectOutputStream): Return object reference, throw IOException if null.
8155 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8156 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8157 (UnicastConnectionManager): Throw RemoteException if port is not available.
8158 (getInstance): Throw RemoteException.
8159 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8160 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8161 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8162 Collect Exceptions which are returned by a rmi-call and fix void returns.
8163 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8164 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8165 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8166 (dispatch): Answer ping messages which are sent by other java implementions.
8167 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8168 for every rmi-message and fix void return problems.
8169 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8170 (UnicastServerRef): Throw RemoteException.
8171 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8172 In some situations it is necessary to export a subclass of the class which has the _Stub.
8173 For instance when the class with has the _Stub is abstract.
8174 (findStubSkelClass): New method which looks for the class which has the _Stub.
8175 (getClientHost): Implementated.
8176 * gcc/libjava/java/rmi/server/RemoteServer.java
8177 (getClientHost): Implementated.
8178 * gcc/libjava/Makefile.am (rmi_java_source_files):
8179 Added gnu/java/rmi/server/RMIIncomingThread.java.
8180 * Makefile.in: Regenerated.
8181
8182 2004-03-20 Michael Koch <konqueror@gmx.de>
8183
8184 * java/net/InetAddress.java
8185 (getLocalHostname): Added javadoc.
8186
8187 2004-03-19 Per Bothner <per@bothner.com>
8188
8189 * configure.in: FILE variable overrides FLATFORM when linking
8190 natFileChannelXXX.cc.
8191
8192 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8193 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8194
8195 2004-03-19 Per Bothner <per@bothner.com>
8196
8197 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8198 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8199 * Makefile.am: Update accordingly.
8200 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8201 as aliases for UnicodeLittle and UnicodeBig.
8202
8203 2004-03-20 Mark Wielaard <mark@klomp.org>
8204
8205 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8206 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8207 Don't access ws when it is null.
8208 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8209 Likewise.
8210
8211 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8212
8213 * java/lang/ThreadGroup.java (list): Changed print to println.
8214
8215 2004-03-19 Mark Wielaard <mark@klomp.org>
8216
8217 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8218 happy.
8219
8220 2004-02-10 Randolph Chung <tausq@debian.org>
8221
8222 * configure.in: Build java for hppa target.
8223 * configure: Regenerate.
8224 * libjava/configure.host (hppa-*): Add target.
8225 * libjava/sysdeps/pa/lock.h: New file.
8226
8227 2004-03-19 Mark Wielaard <mark@klomp.org>
8228
8229 Reported by Stephen Crawley
8230 * java/io/FilePermission.java (implies): Use String.length() -1 to
8231 access last char of String.
8232
8233 2004-03-19 Michael Koch <konqueror@gmx.de>
8234
8235 * java/awt/image/AffineTransformOp.java
8236 (AffineTransformOp): Made public.
8237 * javax/swing/JComponent.java
8238 (listenerList): Made protected.
8239 (accessibleContext): Likewise.
8240 * javax/swing/JList.java
8241 (valueChanged): Dont use internal fields of ListSelectionEvent.
8242 * javax/swing/JViewport.java
8243 (getView): Dont use internal fields of Component.
8244 (addImpl): Likewise.
8245 * javax/swing/Timer.java
8246 (isRunning): Made public.
8247 (start): Likewise.
8248 (stop): Likewise.
8249 * javax/swing/UIDefaults.java
8250 (getInt): Made public.
8251 * javax/swing/plaf/basic/BasicListUI.java
8252 (mousePressed): Dont use internal fields of MouseEvent.
8253 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8254 * javax/swing/plaf/basic/BasicScrollBarUI.java
8255 (arrowIcon): Made static.
8256 * javax/swing/plaf/basic/BasicViewportUI.java
8257 (stateChanged): Dont use internal field on ChangeEvent.
8258 * javax/swing/text/JTextComponent.java
8259 (getUI): Call UIManager.getUI().
8260 (updateUI): Use getUI().
8261
8262 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8263
8264 * verify.cc: Undef PC.
8265
8266 2004-03-18 Michael Koch <konqueror@gmx.de>
8267
8268 * java/nio/channels/spi/AbstractSelectableChannel.java
8269 (keys): Initialize at declaration.
8270 (locate): keys cant be null.
8271 (add): Removed.
8272 (addSelectionKey): New method.
8273 (removeSelectionKey): New method.
8274 * java/nio/channels/spi/AbstractSelectionKey.java
8275 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8276 * java/nio/channels/spi/AbstractSelector.java
8277 (provider): Javadoc added.
8278 (cancelledKeys): Javadoc added.
8279 (cancelKey): Javadoc added, add key to cancelledKeys.
8280 (deregister): Implemented.
8281
8282 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8283
8284 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8285 MAP_FAILED to void *.
8286
8287 2004-03-12 Graydon Hoare <graydon@redhat.com>
8288
8289 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8290 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8291 * javax/swing/JList.java (ListListener): Revalidate on changes.
8292 * javax/swing/JScrollPane.java: Reimplement.
8293 * javax/swing/JViewport.java: Reimplement.
8294 * javax/swing/ScrollPaneLayout.java: Reimplement.
8295 * javax/swing/ViewportLayout.java: Tidy up.
8296 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8297 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8298 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8299 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8300 backing store only.
8301
8302 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8303
8304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8305 (window_wm_protocols_filter): New function.
8306 (window_focus_in_cb): Remove function.
8307 (window_focus_out_cb): Likewise.
8308 (window_focus_or_active_state_change_cb): New function.
8309 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8310 (connectSignals): Don't attach handlers to focus-in-event or
8311 focus-out-event signals. Handle notify signal.
8312
8313 2004-03-11 David Jee <djee@redhat.com>
8314
8315 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8316 (gtkSetLabel): New native method declaration.
8317 (setLabel): Use gtkSetLabel.
8318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8319 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8320
8321 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8322
8323 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8324 black when color argument is null.
8325
8326 2004-03-10 Kim Ho <kho@redhat.com>
8327
8328 * java/awt/Container.java: Remove check
8329 for drag events.
8330
8331 2004-03-10 Kim Ho <kho@redhat.com>
8332
8333 * java/awt/Container.java: (visitChild):
8334 Remove candidate clip. Use the component
8335 clip to intersect.
8336 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8337 (handleEvent): Use the PaintEvent's clip.
8338
8339 2004-03-10 Kim Ho <kho@redhat.com>
8340
8341 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8342 (handleEvent): Don't set the clip for the
8343 Graphics object.
8344
8345 2004-03-09 Graydon Hoare <graydon@redhat.com>
8346
8347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8348 Fix double <-> fixed macros, reset font transform.
8349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8350 Likewise.
8351
8352 2004-03-09  Kim Ho <kho@redhat.com>
8353
8354 * java/awt/Container.java: (visitChild): Move
8355 the x and y coordinate of the component rectangle
8356 to correct position.
8357 (handleEvent): Forward drag events to the pressed
8358 component.
8359 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8360 Fix comments.
8361 (ArrowButtonListener::mousePressed): Stop the
8362 existing timer.
8363 (mouseDragged): Implement.
8364 (TrackListener::mousePressed): Only react if
8365 the press doesn't occur on the thumb, otherwise
8366 just set the offset.
8367 (TrackListener::mouseReleased): Unset the isAdjusting
8368 value.
8369 (createIncreaseIcon): Switch icon.
8370 (createDecreaseIcon): Switch icon.
8371 (calculatePreferredSize): Use width.
8372 (getThumbBounds): Use the top as the lower value.
8373 (layoutVScrollBar): Switch the button locations.
8374 (paintIncreaseHighlight): Paint correct side of thumb.
8375 (paintDecreaseHighlight): ditto.
8376 (valueForYPosition): Use top as the lower value.
8377 * javax/swing/plaf/basic/BasicSliderUI.java:
8378 Fix comments.
8379 (mouseDragged): Implement.
8380 (mousePressed): Only react when the thumb isn't
8381 pressed, otherwise just set offset.
8382 (mouseReleased): Handle a release of the thumb.
8383 (scrollDueToClickInTrack): Stop the timer first.
8384 * javax/swing/JProgressBar.java:
8385 (setString): Fix change condition.
8386 * javax/swing/JSeparator.java:
8387 Remove println's.
8388
8389 2004-03-08 David Jee <djee@redhat.com>
8390
8391 * java/awt/image/AffineTransformOp.java:
8392 (filter): Use Graphics2D interface instead of directly using the
8393 GdkGraphics2D peer.
8394
8395 2004-03-05 David Jee <djee@redhat.com>
8396
8397 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8398 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8399 * java/awt/Container.java
8400 (acquireComponentForMouseEvent): Fixed.
8401 (handleEvent): Fixed.
8402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8403 (state_to_awt_mods_with_button_states): New method.
8404 (pre_event_handler): Fixed mouse event generation.
8405
8406 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8407
8408 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8409 (GdkGraphics2D (BufferedImage)): Initialize
8410 pixmap associated with specified BufferedImage.
8411 (setPaint): Changed implementation of Texture
8412 Paint to use AffineTransformOp.
8413 * java/awt/image/AffineTransformOp.java
8414 (createCompatibleDestRaster): Throw RasterFormatException
8415 if resulting width or height of raster is 0.
8416
8417 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8418
8419 * java/awt/image/AffineTransformOp.java:
8420 Removed unnecessary field interpolationType.
8421 Formatted some of the lines to be consistent with
8422 the GNU style.
8423 (AffineTransformOp): Create new RenderingHints
8424 containing specified interpolation type.
8425 (createCompatibleDestImage): Implemented.
8426 (createCompatibleDestRaster): Implemented.
8427 (filter): Implemented.
8428 (getBounds2D(BufferedImage)): Implemented.
8429 (getBounds2D(Raster)): Implemented.
8430 (getInterpolationType): Get interpolation value from
8431 rendering hints.
8432
8433 2004-03-04 David Jee <djee@redhat.com>
8434
8435 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8436 (setFont): Check if child peers are null.
8437
8438 2004-03-04 Graydon Hoare <graydon@redhat.com>
8439
8440 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8441 .libs in -L option.
8442 (libjava_arguments): Add new libraries to argument list.
8443
8444 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8445
8446 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8447 * Makefile.in: Re-generated.
8448 * java/awt/image/AffineTransformOp.java: New Class.
8449
8450 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8451
8452 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8453 (setPaint): Interpret correctly TexturePaint's
8454 anchor rectangle.
8455 (drawImage): Fixed scale factors of the affine
8456 transform.
8457
8458 2004-02-27 David Jee <djee@redhat.com>
8459
8460 * gnu/java/awt/peer/gtk/GdkGraphics.java
8461 (GdkGraphics(Component)): Inherit font from component.
8462 (drawString): Use font style.
8463 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8464 (gtkSetFont): New native method declaration.
8465 (setFont): New method.
8466 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8467 (gtkSetFont): New native method declaration.
8468 (setFont): Call new native method gtkSetFont.
8469 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8470 (setFont): For all child components who do not their fonts set,
8471 set their peers' fonts with this container's font.
8472 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8473 Move all native method declarations to the top for readability.
8474 (gtkSetFont): New native method declaration.
8475 (setFont): New method.
8476 * java/awt/Component.java
8477 (setFont): Invalidate after setting the font.
8478 * java/awt/Container.java
8479 (invalidateTree): New method.
8480 (setFont): Invalidate the container tree after setting the font.
8481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8482 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8484 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8486 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8488 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8489
8490 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8491
8492 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8493 (updateBufferedImage): New helper function.
8494 Updates BufferedImage in memory if it was changed.
8495 (draw): changed to update BufferedImage in memory after
8496 this drawing operation
8497 (fill): Ditto.
8498 (draw3DRect): Ditto.
8499 (fill3DRect): Ditto.
8500 (clearRect): Ditto.
8501 (drawRaster): Ditto.
8502 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8503 no affine transformation.
8504 (drawGlyphVector): Ditto.
8505
8506 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8507
8508 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8509 (isBufferedImageGraphics): New Helper function.
8510 Returns true if this graphics2d can be used to draw
8511 into buffered image and false otherwise.
8512 (updateImagePixels): New Helper function.
8513 Updates pixels in the BufferedImage.
8514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8515 (getImagePixels): New function. Returns pixels
8516 of the buffered image associated with
8517 this Graphics2D.
8518
8519 2004-02-26 David Jee <djee@redhat.com>
8520
8521 * java/awt/BorderLayout.java
8522 (layoutContainer): Fix width and height calculations to ensure
8523 that they're non-negative.
8524 * java/awt/Component.java
8525 (setBackground): If c is null, inherit from closest ancestor whose
8526 background color is set.
8527
8528 2004-02-26  Kim Ho  <kho@redhat.com>
8529
8530 * Makefile.am: Add new files.
8531 * Makefile.in: Re-generate.
8532 * javax/swing/JProgressBar.java:
8533 (JProgressBar(int, int int)): Throw
8534 IllegalArgumentException if orientation is
8535 invalid.
8536 (JProgressBar(BoundedRangeModel)): Create
8537 ChangeListener and register it. UpdateUI.
8538 (getChangeListeners): Implement.
8539 (setModel): Reset ChangeListener.
8540 * javax/swing/JScrollBar.java: Implement.
8541 * javax/swing/JSeparator.java: Implement.
8542 * javax/swing/JSlider.java:
8543 (JSlider(int, int, int, int)): Throw
8544 IllegalArgumentException if orientation
8545 is invalid.
8546 (getChangeListeners): Fix method name.
8547 * javax/swing/SwingUtilities.java:
8548 (layoutCompoundLabel): If there is no text,
8549 set the text rectangle dimensions to 0.
8550 * javax/swing/plaf/basic/BasicButtonUI.java:
8551 (paint): If there is no text, don't paint it.
8552 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8553 Implement.
8554 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8555 Implement.
8556 * javax/swing/plaf/basic/BasicSliderUI.java:
8557 (propertyChange): If the model changes, change
8558 the listeners accordingly.
8559
8560 2004-02-25 Graydon Hoare <graydon@redhat.com>
8561
8562 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8563 * javax/swing/JList.java: Reimplement.
8564 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8565 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8566 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8567 * javax/swing/ListModel.java: Javadoc.
8568 * javax/swing/ListSelectionModel.java: Add missing methods.
8569 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8570 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8571 * javax/swing/ListModel.java: Javadoc and corrections.
8572 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8573
8574 2004-02-25 David Jee <djee@redhat.com>
8575
8576 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8577 (GtkFontPeer): Change default size to 12.
8578 * gnu/java/awt/peer/gtk/GtkToolkit.java
8579 (getFontPeer): Change default size to 12.
8580 (getClasspathFontPeer): Likewise. Set default name to "Default".
8581 * java/awt/Font.java
8582 (Font(Map)): Call Font(String,Map).
8583 (Font(String,Map)): If attrs is null, initialize it as an empty
8584 HashMap, which will ensure that the Font will get default attributes.
8585
8586 2004-02-25 David Jee <djee@redhat.com>
8587
8588 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8589 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8590 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8591 * gnu/java/awt/peer/gtk/GtkToolkit.java
8592 (getFontPeer(String,int)): Call the new overload method with size 1.
8593 (getFontPeer(String,int,int)): New method. Overloaded with size
8594 attribute.
8595 (getClasspathFontPeer): Set the size of the font.
8596
8597 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8598
8599 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8600 (bimage): New field.
8601 (GdkGraphics2D): New Constructor. Constructs Graphics
8602 object that can be used to draw into the Buffered Image.
8603 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8604 (GdkGraphicsEnvironment): Fixed to include public
8605 keyword.
8606 (createGraphics): Implemented.
8607 * gnu/java/awt/peer/gtk/GtkToolkit.java
8608 (getLocalGraphicsEnvironment): Implemented.
8609 * java/awt/GraphicsEnvironment.java:
8610 (getLocalGraphicsEnvironment): Implemented.
8611 * java/awt/image/BufferedImage.java:
8612 (createGraphics): Implemented.
8613
8614 2004-02-24 David Jee <djee@redhat.com>
8615
8616 * java/awt/Component.java
8617 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8618 * java/awt/Container.java
8619 (addNotifyContainerChildren): Fix event enabling.
8620
8621 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8622
8623 * Makefile.am: Added
8624 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8625 * Makefile.in: Re-generated.
8626 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8627 New Class.
8628
8629 2004-02-19 Kim Ho <kho@redhat.com>
8630
8631 * Makefile.am: Add BasicProgressBarUI
8632 * Makefile.in: Regenerate.
8633 * javax/swing/JProgressBar.java:
8634 Re-implement.
8635 * javax/swing/plaf/basic/BasicLookAndFeel.java
8636 Add constants for JProgressBar.
8637 * javax/swing/plaf/basic/BasicProgressBarUI.java
8638 Implement.
8639 * javax/swing/plaf/basic/BasicSliderUI.java
8640 Change comments.
8641 (calculateGeometry): New method
8642 (paint): Remove unnecessary size calculations.
8643
8644 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8645
8646 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8647 (drawRaster): Fixed small error that caused
8648 imageToUser transformation to be set incorrectly.
8649 (toString): Implemented.
8650
8651 2004-02-18 David Jee <djee@redhat.com>
8652
8653 * java/awt/CardLayout.java
8654 (addLayoutComponent): Show the first component added as the default.
8655 (removeLayoutComponent): After removing, show the next component.
8656 (gotoComponent): If there is only one component, show it and return.
8657
8658 2004-02-18 Kim Ho <kho@redhat.com>
8659
8660 * javax/swing/JSlider.java: Re-order
8661 modifiers.
8662 * javax/swing/JLabel.java: Re-order
8663 modifiers.
8664 * javax/swing/JComponent.java:
8665 (addPropertyChangeListener):
8666 Implement.
8667 (removePropertyChangeListener):
8668 ditto.
8669 (firePropertyChangeEvent):
8670 ditto.
8671
8672 2004-02-17 David Jee <djee@redhat.com>
8673
8674 * java/awt/Component.java
8675 (show): Dispatch ComponentEvent via system event queue.
8676 (hide): Likewise.
8677 (move): Likewise.
8678 (resize): Likewise.
8679 (reshape): Likewise.
8680 * java/awt/Window.java
8681 (setBoundsCallback): Likewise.
8682
8683 2004-02-17 David Jee <djee@redhat.com>
8684
8685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8686 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8687 Use gtk_widget_set_size_request() instead of the deprecated
8688 gtk_widget_set_usize().
8689
8690 2004-02-17 Kim Ho <kho@redhat.com>
8691
8692 * javax/swing/JSlider.java: Fix comments and
8693 make property strings constants.
8694 (createStandardLabels): Use the labels
8695 preferred size as bounds.
8696 * javax/swing/plaf/basic/BasicSliderUI.java
8697 Fix comments.
8698 (ScrollHandler::actionPerformed): Don't
8699 calculate the timer stop value. Let the
8700 MouseListeners find the stop location.
8701 (getPreferredHorizontalSize): Re-implement.
8702 (getPreferredVerticalSize): ditto.
8703 (getMinimumHorizontalSize): ditto.
8704 (getMinimumVerticalSize): ditto.
8705 (getPreferredSize): ditto.
8706 (getMinimumSize): ditto.
8707 (getMaximumSize): ditto.
8708 (paintTicks): Use doubles to find the
8709 tick location.
8710 (paintHorizontalLabel):  Use preferredSize
8711 as initial width and height.
8712 (paintVerticalLabel): ditto.
8713
8714 2004-02-17 Kim Ho <kho@redhat.com>
8715
8716 * javax/swing/JLabel.java: Changed
8717 property strings to constants.
8718 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8719 New property.
8720 (setText): Change mnemonic index if
8721 text is too short.
8722 (setDisplayedMnemonicIndex): Fire property
8723 change event.
8724 (getDisplayedMnemonicIndex): Remove check
8725 against short text.
8726
8727 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8728
8729 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8730 (drawImage(img,xform,obs)): Invert xform before
8731 passing the xform to cairo.
8732 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8733 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8734 implemented.
8735 (drawImage (img,x,y,w,h,obs)): Implemented.
8736 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8737 bgcolor,obs)): Partly implemented.
8738 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8739 Implemented.
8740 * java/awt/image/BufferedImage.java:
8741 (copyData): if dest is null, create raster with same
8742 dimensions as the current image.
8743
8744 2004-02-16 Graydon Hoare <graydon@redhat.com>
8745
8746 * javax/swing/plaf/basic/BasicLabelUI.java
8747 (getPreferredSize): Use layoutCL.
8748 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8749 (getPreferredButtonSize): Start with empty view rect, layout using
8750 component's preferred alignment.
8751 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8752 List defaults.
8753
8754 2004-02-16 David Jee <djee@redhat.com>
8755
8756 * java/awt/Component.java
8757 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8758 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8759 (move): Erase old bounds and repaint new bounds. Dispatch
8760 COMPONENT_MOVED ComponentEvent.
8761 (resize): Erase old bounds and repaint new bounds. Dispatch
8762 COMPONENT_RESIZED ComponentEvent.
8763 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8764 ComponentEvents.
8765 * java/awt/Window.java
8766 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8767 ComponentEvents.
8768
8769 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8770
8771 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8772 (setRenderingHint): Added implementation of
8773 Interpolation rendering hints.
8774 (setRenderingHints): Ditto.
8775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8776 (drawPixels): fixed to allow user to choose type
8777 of filtering that should be used when displaying images.
8778 (cairoSurfaceSetFilter): New method. Sets filter type for
8779 interpolation of pixel values.
8780
8781 2004-02-16 David Jee <djee@redhat.com>
8782
8783 * java/awt/GridBagLayout.java
8784 (calcCellSizes): Rows or columns with zero sizes should still be
8785 considered for extra space distribution.
8786
8787 2004-02-16 Kim Ho <kho@redhat.com>
8788
8789 * javax/swing/JLabel.java: Re-implement.
8790 * javax/swing/plaf/basic/BasicLabelUI.java
8791 Re-implement.
8792 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8793 Added constant.
8794
8795 2004-02-16  Kim Ho  <kho@redhat.com>
8796
8797 * javax/swing/JSlider.java: Fix indentation and comments.
8798 (setModel): Remove null check to conform with Sun's.
8799 (setOrientation): Throw exception if not
8800 HORIZONTAL or VERTICAL.
8801 (getInverted): Use private variable instead of
8802 ComponentOrientation.
8803 (setInverted): ditto.
8804 * javax/swing/plaf/basic/BasicSliderUI.java:
8805 Fix indentation and comments.
8806 (propertyChange): Remove check for inverted slider, handle
8807 in main paint.
8808 (getMinimumSize): Return preferred size.
8809 (getMaximumSize): ditto.
8810 (calculateFocusRect): Don't relocate rectangle.
8811 (drawInverted): Return XOR of the slider's inversion and
8812 the component's orientation.
8813 (paint): Update leftToRightCache
8814
8815 2004-02-13 David Jee <djee@redhat.com>
8816
8817 * java/awt/GridBagLayout.java
8818 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8819 code to helper methods.
8820 (sortBySpan): New helper method.
8821 (distributeSizeAndWeight): Likewise.
8822 (calcCellWeights): Likewise.
8823 (calcCellSizes): Add comments.
8824
8825 2004-02-13 David Jee <djee@redhat.com>
8826
8827 * java/awt/Component.java
8828 (show): Only do something if component is invisible at the moment.
8829 (hide): Only do something if component is visible at the moment.
8830 (reshape): If lightweight, erase old bounds and repaint new bounds.
8831
8832 2004-02-13  Kim Ho  <kho@redhat.com>
8833
8834 * Makefile.am: Updated for new file.
8835 * Makefile.in: Regenerated.
8836 * javax/swing/JSlider.java: Reimplement.
8837 * javax/swing/SwingUtilities.java
8838 (layoutCompoundLabel): Use icon height
8839 instead of width.
8840 (paintComponent): Implement.
8841 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8842 Add JSlider defaults.
8843 * javax/swing/plaf/basic/BasicSliderUI.java:
8844 Implement. New file.
8845
8846 2004-03-17 Michael Koch <konqueror@gmx.de>
8847
8848 * gnu/java/net/PlainDatagramSocketImpl.java
8849 (RECEIVE_LOCK): New member field.
8850 (SEND_LOCK): New member field.
8851 (send0): New method.
8852 (send): Synchronize on SEND_LOCK.
8853 (receive0): New method.
8854 (receive): Synchronize on RECEIVE_LOCK.
8855 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8856 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8857 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8858 (send0): Renamed from send.
8859 (receive0): Renamed from receive.
8860 2004-03-17 Michael Koch <konqueror@gmx.de>
8861
8862 * gnu/java/net/natPlainSocketImplPosix.cc
8863 (write): Just call write(jbyteArray, offset, len).
8864 (read): Just call read(jbyteArray, offset, len).
8865
8866 2004-03-16 Michael Koch <konqueror@gmx.de>
8867
8868 * javax/swing/JTabbedPane.java
8869 (serialVersionUID): New field.
8870
8871 2004-03-16 Norbert Frese <postfach@nfrese.net>
8872
8873 * java/net/InetAddress.java
8874 (getByName): Handle hostname == "" case.
8875
8876 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8877
8878 Reported by: Adam Heath <doogie@debian.org>
8879 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8880 class loader.
8881
8882 2004-03-15 Michael Koch <konqueror@gmx.de>
8883
8884 * java/util/Locale.java: Reverting my last patch
8885 and add a comment why the original version was okay.
8886
8887 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8888
8889 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8890 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8891 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8892 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8893
8894 2004-03-12 Michael Koch <konqueror@gmx.de>
8895
8896 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8897
8898 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8899
8900 * java/net/URI.java (toURL): Implemented.
8901
8902 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8903
8904 * java/net/URI.java
8905 (URI_REGEXP) updated to contain scheme specific part.
8906 (SCHEME_SPEC_PART_GROUP) new constant.
8907 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8908 updated to make room for SCHEME_SPEC_PART_GROUP.
8909 (parseURI) parse scheme specific part.
8910 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8911 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8912 getQuery, getFragment) implemented.
8913
8914 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8915
8916 * libraries/javalib/java/net/URI.java
8917 partially implemented using java.util.regex.
8918 (URI_REGEXP) new constant. Used to parse URIs.
8919 (SCHEME_GROUP) new constant representing index of scheme group
8920 in parsed URI.
8921 (AUTHORITY_GROUP) new constant representing index of authority
8922 group in parsed URI.
8923 (PATH_GROUP) new constant representing index of path group in
8924 parsed URI.
8925 (QUERY_GROUP) new constant representing index of query group in
8926 parsed URI.
8927 (FRAGMENT_GROUP) new constant representing index of fragment
8928 group in parsed URI.
8929 (getURIGroup) new static utility method.
8930 (parseURI) implemented.
8931 (quote) stub for new static utility method.
8932 (quoteAuthority) stub for new static utility method.
8933 (quoteHost) stub for new static utility method.
8934 (quotePath) stub for new static utility method.
8935 (quoteUserInfo) stub for new static utility method.
8936 (URI) implemented.
8937 (create) don't throw URISyntaxException. Implemented.
8938 (toString) implemented.
8939
8940 2004-03-12 Michael Koch <konqueror@gmx.de>
8941
8942 * java/net/HttpURLConnection.java
8943 (getResponseCode): Fix another typo in javadoc.
8944
8945 2004-03-11 Michael Koch <konqueror@gmx.de>
8946
8947 * java/util/logging/Level.java
8948 (parse): Use String.equals() instead of ==.
8949
8950 2004-03-11 Michael Koch <konqueror@gmx.de>
8951
8952 * gnu/java/net/protocol/jar/Connection.java
8953 (getContentLength): New method.
8954
8955 2004-03-11 Michael Koch <konqueror@gmx.de>
8956
8957 * gnu/java/net/PlainSocketImpl.java:
8958 Reformated to merge better with classpath's version.
8959
8960 2004-03-11 Michael Koch <konqueror@gmx.de>
8961
8962 * java/util/Locale.java
8963 (getISO3Language): Use String.equals() instead of ==.
8964 (getISO3Country): Likewise.
8965
8966 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8967
8968 * java/text/AttributedString.java
8969 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8970 Use HashMap instead of Hashtable since value can be null, and
8971 you can not store a null value in a Hashtable.
8972
8973 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8974
8975 * java/text/AttributedStringIterator.java
8976 (getAllAttributesKey): Return only keys concerned
8977 by the current iterator.
8978 (getAttributes): Use strict inequality for
8979 end_index.
8980
8981 2004-03-11 Michael Koch <konqueror@gmx.de>
8982
8983 * java/net/HttpURLConnection.java:
8984 Fixed typo in javadoc.
8985
8986 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8987
8988 * java/io/BufferedInputStream.java (marktarget): New field for max
8989 mark limit.
8990 (CHUNKSIZE): New constant for incremental mark buffer allocation.
8991 (mark): Use new fields.
8992 (read): Likewise.
8993 (read(byte[],int,int)): Likewise.
8994 (skip): Likewise.
8995 (refill): Likewise.
8996
8997 2004-03-11 Mark Wielaard <mark@klomp.org>
8998
8999 * java/beans/BeanDescriptor.java (BeanDescriptor):
9000 Set the FeatureDescriptor programmatic name.
9001
9002 2004-03-11 Michael Koch <konqueror@gmx.de>
9003
9004 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9005 This file was was just copied form java/io/natFileDescriptorEcos.cc
9006 and never changed to compile correctly.
9007
9008 2004-03-11 Michael Koch <konqueror@gmx.de>
9009
9010 * gnu/java/nio/PipeImpl.java
9011 (SourceChannelImpl): Made final.
9012 (read): Implemented.
9013 (SinkChannelImpl): Made final.
9014 (write): Implemented.
9015
9016 2004-03-11 Michael Koch <konqueror@gmx.de>
9017
9018 * gnu/java/net/PlainDatagramSocketImpl.java:
9019 Reformated to match classpath's version more.
9020
9021 2004-03-11 Michael Koch <konqueror@gmx.de>
9022
9023 * gnu/java/awt/peer/ClasspathFontPeer.java:
9024 Fixed javadoc to be correct xhtml.
9025 * gnu/java/awt/peer/gtk/GtkArgList.java
9026 (add): Use Boolean.valueOf() instead of new Boolean().
9027
9028 2004-03-09 Michael Koch <konqueror@gmx.de>
9029
9030 * java/lang/Thread.java
9031 (runnable): Moved around.
9032 (daemon): Renamed from daemon_flag.
9033 (contextClassLoader): Renamed from context_class_loader.
9034 (Thread): Reordered constructors.
9035 (activeCount): Use group directly.
9036 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9037 (holdsLock): Reworked javadoc.
9038 (setDaemon): Reworked.
9039 * java/lang/natThread.cc
9040 (destroy): Removed.
9041
9042 2004-03-08 Anthony Green <green@redhat.com>
9043
9044 * Makefile.am: Build property resource files into libgcj.
9045 * Makefile.in: Rebuilt.
9046 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9047 java/util/regex/PatternSyntaxException.java,
9048 gnu/regexp/CharIndexed.java,
9049 gnu/regexp/CharIndexedCharArray.java,
9050 gnu/regexp/CharIndexedInputStream.java,
9051 gnu/regexp/CharIndexedReader.java,
9052 gnu/regexp/CharIndexedString.java,
9053 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9054 gnu/regexp/REException.java,
9055 gnu/regexp/REFilterInputStream.java,
9056 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9057 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9058 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9059 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9060 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9061 gnu/regexp/RETokenLookAhead.java,
9062 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9063 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9064 gnu/regexp/RETokenStart.java,
9065 gnu/regexp/RETokenWordBoundary.java,
9066 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9067
9068 2004-03-03 Per Bothner <per@bothner.com>
9069
9070 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9071 Optimize when argument is a FileChannelImpl.
9072 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9073 New native methods.
9074 * java/nio/channels/natChannels.cc: New file for new native methods.
9075 * Makefile.am: Update accordingly.
9076
9077 2004-03-02 Jan Hubicka <jh@suse.cz>
9078
9079 * configure.host: Pass -fno-omit-frame-pointer for i386.
9080 * configure.in: Likewise.
9081 * configure: Regenerate.
9082
9083 2004-03-01 Per Bothner <per@bothner.com>
9084
9085 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9086
9087 2004-02-29 Per Bothner <per@bothner.com>
9088
9089 * java/nio/channels/FileChannelImpl.java: Moved to package
9090 gnu/java/nio/channels, since we need to refer to it from java.io.
9091 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9092 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9093 from java/nio/channels. Don't depend on FileDescriptor.
9094 (in, out, err): New static fields.
9095 (mode): New field.
9096 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9097 from FileDescriptor.
9098 (by): Removed MappedByteBuffer field.
9099 (map): New working implementation.
9100 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9101 some code "ported" from natFileDescriptoPosix.cc.
9102 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9103 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9104 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9105 Remove native methods.
9106 * Makefile.am, configure.in: Updated accordingly.
9107
9108 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9109 (ch): New FileChannelImpl field. Update constructor to match.
9110 (releaseImpl): Remove native method. Instead ...
9111 (release): Call unlock on channel.
9112 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9113
9114 * java/io/natFileDescriptorEcos.cc: Remove file.
9115 * java/io/natFileDescriptorPosix.cc: Remove file.
9116 * java/io/natFileDescriptorWin32.cc: Remove file.
9117 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9118 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9119 (<init>(FileChannelImpl)): New package-private constructor.
9120 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9121 (available, close, read, skip): Implement using FileChannelImpl.
9122 (getFD): Allocate FileDescriptor if needed.
9123 (getChannel): Is now trivial.
9124 * java/io/FileOutputStream.java: Corresponding changes.
9125 * java/io/RandomAccessFile.java: Corresponding changes.
9126
9127 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9128 unmapImpl): New dummy methods, to be overridden by subclass.
9129 (finalize, isLoaded, load, force): New methods.
9130 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9131 Now works, at least for read mapping.
9132
9133 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9134 streams using FileChannelImpl, not FileDescriptor.
9135 * java/lang/natWin32Process.cc (startProcess): Likewise.
9136
9137 2004-02-28 Michael Koch <konqueror@gmx.de>
9138
9139 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9140 wrong code.
9141
9142 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9143
9144 * java/io/ObjectInputStream.java
9145 (readClassDescriptor): Keep elements of the mapping non null.
9146 (checkTypeConsistency): New method.
9147 (readFields): Fixed main loop and base logic. Small reindentation.
9148 * java/io/ObjectStreamField.java
9149 (lookupField): New method to update the field reference.
9150 (checkFieldType): New method.
9151 * java/io/ObjectStreamClass.java
9152 (setClass, setFields): Call lookupField when building the field
9153 database. Check the real field type.
9154
9155 2004-02-28 Michael Koch <konqueror@gmx.de>
9156
9157 * java/nio/ByteOrder.java
9158 (nativeOrder): Use equals() to compare strings.
9159
9160 2004-02-26 Michael Koch <konqueror@gmx.de>
9161
9162 * gnu/java/nio/FileLockImpl.java
9163 (finalize): Made protected.
9164 * java/nio/channels/FileChannel.java
9165 (MapMode.READ_ONLY): Made final.
9166 (MapMode.READ_WRITE): Made final.
9167 (MapMode.PRIVATE): Made final.
9168 * java/nio/channels/SocketChannel.java
9169 (open): Simplified code.
9170 * java/nio/channels/spi/AbstractSelectableChannel.java
9171 (registered): Unused, removed.
9172 (keyFor): Check channel is open, only locate key
9173 and not add a new one.
9174 (register): Don't delete attachments.
9175
9176 2004-02-26 Michael Koch <konqueror@gmx.de>
9177
9178 * gnu/java/awt/ComponentDataBlitOp.java
9179 (INSTANCE): Made final.
9180 * gnu/java/awt/image/ImageDecoder.java:
9181 Reworked imports.
9182 (cm): Unused, removed.
9183
9184 2004-02-26 Michael Koch <konqueror@gmx.de>
9185
9186 * gnu/java/nio/DatagramChannelImpl.java
9187 (send): Check if target address is resolved.
9188
9189 2004-02-26 Michael Koch <konqueror@gmx.de>
9190
9191 * Makefile.am: Generate and install headers for inner classes in
9192 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9193 * Makefile.in: Regenerated.
9194
9195 2004-02-24 Anthony Green <green@redhat.com>
9196
9197 * java/lang/StringBuffer.java: No need to NULL out remainder of
9198 buffer since ensureCapacity_unsynchronized will have done this for
9199 us.
9200
9201 2004-02-20 Michael Koch <konqueror@gmx.de>
9202
9203 * gnu/java/net/protocol/jar/Handler.java
9204 (): Removed unneeded check for file != null. java.net.URL.getFile()
9205 returns an empty string but never null.
9206
9207 2004-02-20 Michael Koch <konqueror@gmx.de>
9208
9209 * gnu/gcj/convert/Convert.java
9210 (main): Use equals() to compare strings.
9211
9212 2004-02-20 Michael Koch <konqueror@gmx.de>
9213
9214 * javax/swing/AbstractButton.java: Made several constants final.
9215 (getRolloverSelectedIcon): Made public.
9216 (getSelectedIcon): Made public.
9217
9218 2004-02-16 Per Bothner <per@bothner.com>
9219
9220 * java/nio/CharBufferImpl.java: Inline super constructor.
9221 * java/nio/DoubleBufferImpl.java: Likewise.
9222 * java/nio/FloatBufferImpl.java: Likewise.
9223 * java/nio/IntBufferImpl.java: Likewise.
9224 * java/nio/LongBufferImpl.java: Likewise.
9225 * java/nio/ShortBufferImpl.java: Likewise.
9226 * java/nio/CharBuffer.java: Remove unused constructor.
9227 * java/nio/DoubleBuffer.java: Likewise.
9228 * java/nio/FloatBuffer.java: Likewise.
9229 * java/nio/IntBuffer.java: Likewise.
9230 * java/nio/LongBuffer.java: Likewise.
9231 * java/nio/ShortBuffer.java: Likewise.
9232 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9233 Fix buggy call to super constructor.
9234 * java/nio/DoubleViewBufferImpl.java: Likewise.
9235 * java/nio/FloatViewBufferImpl.java: Likewise.
9236 * java/nio/IntViewBufferImpl.java: Likewise.
9237 * java/nio/LongViewBufferImpl.java: Likewise.
9238 * java/nio/ShortViewBufferImpl.java: Likewise.
9239
9240 * java/nio/ByteBuffer.java (endian): Make non-private so other
9241 java.nio classes can inherit it.
9242 (<init>): Don't bother clearing array_offset.
9243 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9244 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9245 Remove redundant test.
9246
9247 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9248 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9249 Use new XxxViewBufferImpl constructors.
9250 * java/nio/MappedByteBufferImpl.java: Likewise.
9251 * java/nio/DirectByteBufferImpl.java: Likewise.
9252
9253 * java/nio/ByteBufferImpl.java: Remove one constructor.
9254 Inline super in remaining constructor.
9255 * java/nio/ByteBuffer.java: Remove unused constructor.
9256
9257 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9258
9259 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9260 * java/nio/DirectByteBufferImpl.java (owner): New field.
9261 (offset): Remove unused field.
9262 (<init>): Modify one and add another constructor. Change callers.
9263 (allocateDirect): Removed - not used.
9264 (getImpl, putImpl): Make static and pass address explicitly,
9265 to make them useful for MappedByteBufferImpl.
9266 (get, put): Check for underflow. Modify for new getImpl.
9267 (getImpl): New native method where target is array.
9268 (get(byte[],int,int)): Use the above.
9269 (adjustAddress): New static native method.
9270 (slice, duplicate, asReadOnly): New implementations.
9271 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9272 adjustAddress): New or updated native methods.
9273
9274 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9275
9276 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9277 overflow of fieldmapping.
9278
9279 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9280
9281 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9282
9283 2004-02-14 Per Bothner <per@bothner.com>
9284
9285 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9286 Set closed before calling implCloseChannel, as in the spec.
9287
9288 2004-02-09 Graydon Hoare <graydon@redhat.com>
9289
9290 * javax/swing/ToggleButtonModel.java: Remove dead class.
9291 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9292 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9293 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9294 * Makefile.am: Update for new and removed files.
9295 * Makefile.in: Regenerate.
9296
9297 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9298 * javax/swing/AbstractButton.java
9299 (AbstractButton): Initialize fields correctly in ctor.
9300 * javax/swing/JCheckbox.java
9301 (JCheckBox): Override painting flags.
9302 * javax/swing/DefaultButtonModel.java: Conform to sun.
9303 * javax/swing/JComponent.java (paint): Fill with background color
9304 if available.
9305 (processComponentKeyEvent)
9306 (processFocusEvent)
9307 (processKeyEvent)
9308 (processMouseMotionEvent): Remove event-consuming empty methods.
9309 (getUIClassID): Return "ComponentUI" not "JComponent"
9310 * javax/swing/JFrame.java: Remove some debugging chatter.
9311 (JFrame): Subscribe to window events.
9312 * javax/swing/JRadioButton.java
9313 (JRadioButton): Override painting flags.
9314 * javax/swing/JRootPane.java
9315 (JRootPane): Set background from UIDefaults.
9316 * javax/swing/JToggleButton.java
9317 (ToggleButtonModel): New inner class.
9318 (JToggleButton): Override layout alighment.
9319 * javax/swing/SwingUtilities.java:
9320 (getLocalBounds): Return width and height, not x and y.
9321 (calculateInnerArea): Use local bounds, not bounds.
9322 (layoutCompoundLabel): Provide overridden form.
9323 (layoutCompoundLabel): Correct bugs.
9324 * javax/swing/UIDefaults.java: Correct comment.
9325 * javax/swing/plaf/basic/BasicButtonUI.java:
9326 Move most logic into defaults, external listener.
9327 (paintIcon): Implement icon painting.
9328 (paint): Fix state painting to conform to changes in model.
9329 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9330 Remove most dead/wrong methods.
9331 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9332 * javax/swing/plaf/basic/BasicIconFactory.java:
9333 (DummyIcon): New class.
9334 (getMenuItemCheckIcon)
9335 (getMenuItemArrowIcon)
9336 (getMenuArrowIcon)
9337 (getCheckBoxMenuItemIcon)
9338 (getRadioButtonMenuItemIcon)
9339 (createEmptyFrameIcon): Return DummyIcons, not null.
9340 (getCheckBoxIcon): Implement an icon that looks like sun's.
9341 (getRadioButtonIcon): Implement an icon that looks like sun's.
9342 * javax/swing/plaf/basic/BasicLookAndFeel.java
9343 (initComponentDefaults): Fix impossible values, add some missing.
9344 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9345 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9346 Remove most dead/wrong methods.
9347 (icon): New field.
9348 (getDefaultIcon): New method.
9349 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9350 Remove most dead/wrong methods.
9351 * javax/swing/plaf/metal/MetalLookAndFeel.java
9352 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9354 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9355 Implement "clearing" as drawing, when on pixmap drawables.
9356
9357 * javax/swing/JButton.java (getUIClassID):
9358 * javax/swing/JCheckBox.java (getUIClassID):
9359 * javax/swing/JEditorPane.java (getUIClassID):
9360 * javax/swing/JLabel.java (getUIClassID):
9361 * javax/swing/JList.java (getUIClassID):
9362 * javax/swing/JOptionPane.java (getUIClassID):
9363 * javax/swing/JPanel.java (getUIClassID):
9364 * javax/swing/JPasswordField.java (uiClassID):
9365 * javax/swing/JRadioButton.java (getUIClassID):
9366 * javax/swing/JRootPane.java (getUIClassID):
9367 * javax/swing/JScrollPane.java (getUIClassID):
9368 * javax/swing/JTabbedPane.java (getUIClassID):
9369 * javax/swing/JToggleButton.java (getUIClassID):
9370 * javax/swing/JTree.java (getUIClassID):
9371 * javax/swing/JViewport.java (getUIClassID):
9372 * javax/swing/text/JTextComponent.java (getUIClassID):
9373 Return "fooUI" not "Jfoo"
9374
9375 2004-02-11 Michael Koch <konqueror@gmx.de>
9376
9377 * java/net/DatagramSocket.java
9378 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9379 Boolean object.
9380 (setBroadcast): Likewise.
9381 * java/net/MulticastSocket.java
9382 (setLoopbackMode): Likewise.
9383 * java/net/ServerSocket.java
9384 (setReuseAddress): Likewise.
9385 * java/net/Socket.java
9386 (setTcpNoDelay): Likewise.
9387 (setSoLinger): Likewise.
9388 (setOOBInline): Likewise.
9389 (setKeepAlive): Likewise.
9390 (setReuseAddress): Likewise.
9391 * java/net/URLConnection.java
9392 (setContentHandler): Replace == with equals().
9393 * java/net/URLStreamHandler.java
9394 (hostSEquals): Fix checking host addresses.
9395 (toExternalForm): Dont check protocol for null. We know already its
9396 not null.
9397
9398 2004-02-10 David Jee <djee@redhat.com>
9399
9400 * java/awt/BorderLayout.java
9401 (calcCompSize): Invisible components get zero dimensions.
9402 * java/awt/Button.java
9403 (setLabel): Set actionCommand.
9404 * java/awt/Component.java
9405 (show): Invalidate component and parent container.
9406 (hide): Likewise.
9407
9408 2004-02-10 David Jee <djee@redhat.com>
9409
9410 * java/awt/GridBagLayout.java
9411 (GridBagLayout): New private field, internalcomptable.
9412 (lookupInternalConstraints): New method.
9413 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9414 (GetLayoutInfo): Reimplement.
9415 (calcCellSizes): Ignore rows/columns with size 0.
9416
9417 2004-02-10 Michael Koch <konqueror@gmx.de>
9418
9419 * gnu/java/awt/EmbeddedWindow.java
9420 (setHandle): Use java.awt.Component.getPeer() instead of
9421 java.awt.Component.peer directly.
9422
9423 2004-02-10 David Jee <djee@redhat.com>
9424
9425 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9426 (gtkSetLabel): New native method definition.
9427 (setLabel): Use gtkSetLabel.
9428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9429 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9430
9431 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9432
9433 * include/powerpc-signal.h: Revert 2004-01-21 change.
9434 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9435 from syscall for ppc32 versions.
9436
9437 2004-02-08 Per Bothner <per@bothner.com>
9438
9439 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9440 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9441 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9442 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9443 Pass ByteOrder parameter to most methods, since the underlying
9444 ByteBuffer's order isn't always what we should use.
9445 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9446 * java/nio/DirectByteBufferImpl.java: Likewise.
9447 Use ByteBufferHelper methods.
9448 * java/nio/MappedByteBufferImpl.java: Likewise.
9449 (compact): Use shiftDown.
9450 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9451 (get, put): Use ByteBufferHelper.
9452 (compact): Use new shiftDown method.
9453 (duplicate(boolean)): New helper method.
9454 (duplicate, asReadOnlyBuffer): Use it.
9455 (order): Return endian field.
9456 * java/nio/DoubleViewBufferImpl.java: Likewise.
9457 * java/nio/FloatViewBufferImpl.java: Likewise.
9458 * java/nio/IntViewBufferImpl.java: Likewise.
9459 * java/nio/LongViewBufferImpl.java: Likewise.
9460 * java/nio/ShortViewBufferImpl.java: Likewise.
9461 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9462 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9463 (compact): Re-implement using shiftDown.
9464
9465 2004-02-08 Andreas Jaeger <aj@suse.de>
9466
9467 * include/x86_64-signal.h: Fix typo.
9468
9469 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9470
9471 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9472 qualifier to _regs.
9473 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9474
9475 2004-02-06 Michael Koch <konqueror@gmx.de>
9476
9477 * java/io/ObjectInputStream.java
9478 (currentClassLoader): Reverted to old version of this method.
9479
9480 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9481
9482 * java/io/ObjectInputStream.java: Made all calls
9483 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9484 use cached info from ObjectStreamClass. (readClassDescriptor):
9485 Cache more information in ObjectStreamClass. (processResolution,
9486 readFields): Use cached info from ObjectStreamClass.
9487 (newObject): Throw exception instead of returning null for failure.
9488 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9489 setCharField, setDoubleField, setFloatField, setIntField,
9490 setLongField, setShortField, setObjectField, readObjectParams):
9491 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9492 check.
9493 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9494 (setClass): Added call to cacheMethods() (findMethod): New method.
9495 (cacheMethods): New method. (ObjectStreamClass): Added call to
9496 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9497 AccessController.doPrivileged to invoke setAccessible.
9498 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9499 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9500 New fields.
9501 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9502 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9503 isPrimitive): Made safe for cases where type == null.
9504 (setBooleanField, setByteField, setCharField, setShortField,
9505 setIntField, setLongField, setFloatField, setDoubleField,
9506 setObjectField): New methods.
9507
9508 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9509
9510 * java/awt/Component.java (getFont): Return a default font
9511 instead of null.
9512
9513 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9514 (Scrollbar (int, int, int, int, int)): Make default page
9515 increment 10.
9516 (setValues): Only call peer.setValues if one of the values has
9517 changed.
9518 (generateName): New method.
9519 (getUniqueLong): New method.
9520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9521 (range_scrollbar): Remove structure.
9522 (post_adjustment_event): Remove function.
9523 (post_change_event): Accept jobject argument.
9524 (create): Cast jints to gdoubles. Round scrollbar values to the
9525 nearest integer. Clamp min, max and value settings.
9526 (connectJObject): Connect hook to widget->window.
9527 (connectSignals): Remove range_scrollbar structure variables.
9528 Remove "move-slider" connection. Pass global peer reference to
9529 "value-changed" callback.
9530 (setLineIncrement): Cast jint value to gdouble.
9531 (setPageIncrement): Likewise.
9532 (setValues): Likewise. Clamp min, max and value settings.
9533
9534 2004-02-05 Michael Koch <konqueror@gmx.de>
9535
9536 * javax/swing/AbstractCellEditor.java
9537 (getCellEditorValue): Removed.
9538 * javax/swing/Box.java: Reformated.
9539 (serialVersionUID): New field.
9540 * javax/swing/ButtonGroup.java:
9541 Removed some weird whitespace.
9542 * javax/swing/CellEditor.java: Reformated.
9543 * javax/swing/CellRendererPane.java
9544 (serialVersionUID): New field.
9545 (AccessibleCellRendererPaneserialVersionUID): New field.
9546 * javax/swing/DefaultListModel.java
9547 (serialVersionUID): New field.
9548 * javax/swing/JEditorPane.java
9549 (serialVersionUID): New field.
9550 (setPage): Throws IOException.
9551 (addHyperlinkListener): Implemented.
9552 (removeHyperlinkListener): Implemented.
9553 (getHyperlinkListener): New method.
9554 * javax/swing/JFileChooser.java
9555 (serialVersionUID): New field.
9556 (AccessibleJFileChooser.serialVersionUID): New field.
9557 (addActionListener): Implemented.
9558 (removeActionListener): Implemented.
9559 (getActionListeners): New method.
9560 * javax/swing/JFormattedTextField.java
9561 (serialVersionUID): New field.
9562 (AbstractFormatter.serialVersionUID): New field.
9563 (clone): Throws CloneNotSupportedException
9564 (setEditValid): Add missing argument.
9565 (stringToValue): Throws ParseExcpetion.
9566 (valueToString): Throws ParseException.
9567 (commitEdit): Throws ParseException.
9568 * javax/swing/JLabel.java
9569 (serialVersionUID): New field.
9570 * javax/swing/JList.java
9571 (serialVersionUID): New field.
9572 (addListSelectionListener): Reformated.
9573 (removeListSelectionListener): Reformated.
9574 (getListSelectionListeners): New method.
9575 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9576 Reformated.
9577 (serialVersionUID): New field.
9578 * javax/swing/table/AbstractTableModel.java
9579 (getValueAt): Removed.
9580 (getColumnCount): Removed.
9581 (getRowCount): Removed.
9582
9583 2004-02-05 Michael Koch <konqueror@gmx.de>
9584
9585 * java/awt/datatransfer/DataFlavor.java
9586 (imageFlavor): Javadoc added.
9587 (javaJVMLocalObjectType): Fixed.
9588
9589 2004-02-05 Michael Koch <konqueror@gmx.de>
9590
9591 * java/lang/Thread.java
9592 (Thread): Reordered.
9593 (setContextClassLoader): Fixed javadoc comment.
9594 (setPriority): Reordered.
9595 (yield): Reordered.
9596 (initialize_native): Reordered.
9597 (gen_name): Reordered.
9598
9599 2004-02-05 Michael Koch <konqueror@gmx.de>
9600
9601 * java/lang/Thread.java: Reordered fields, reformated much code,
9602 no functional changes, some variables renamed, javadoc comments
9603 merged.
9604
9605 2004-02-05 Michael Koch <konqueror@gmx.de>
9606
9607 * java/util/zip/Deflater.java,
9608 java/util/zip/DeflaterOutputStream.java,
9609 java/util/zip/GZIPInputStream.java:
9610 Reformated and javadoc comments merged from classpath.
9611
9612 2004-02-05 Michael Koch <konqueror@gmx.de>
9613
9614 * gnu/java/nio/NIOServerSocket.java
9615 (impl): Unused, removed.
9616 * gnu/java/nio/SocketChannelImpl.java
9617 (finnishConnect): Don't throw NoConnectionPendingException if not
9618 connected or no connection pending.
9619
9620 2004-02-02 Graydon Hoare <graydon@redhat.com>
9621
9622 * javax/swing/SwingUtilities.java: Many new functions.
9623 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9624 * javax/swing/basic/BasicGraphicsUtils.java
9625 (getPreferredButtonSize): Start layout from top-left corner.
9626
9627 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9628
9629 * java/awt/geom/AffineTransform.java:
9630 Corrected comments on the field definitions for
9631 m11 and m10.
9632 (shear): Fixed few errors that caused shear
9633 transformation to be performed incorrectly.
9634 (createInverse): Fixed to return correct
9635 inverse of the given matrix.
9636
9637 2004-02-03 Tom Tromey <tromey@redhat.com>
9638
9639 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9640 PATH or LD_LIBRARY_PATH is not set in parent environment.
9641
9642 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9643
9644 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9645 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9646 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9647 java/awt/Component.java, java/awt/Container.java,
9648 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9649 java/awt/LayoutManager2.java, java/awt/List.java,
9650 java/awt/Menu.java, java/awt/MenuBar.java,
9651 java/awt/MenuItem.java, java/awt/Polygon.java,
9652 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9653 java/awt/Scrollbar.java, java/awt/TextArea.java,
9654 java/awt/TextField.java,
9655 java/awt/image/renderable/RenderContext.java,
9656 javax/swing/JApplet.java: Fix handling of alias methods, where a
9657 method has been deprecated in favour of a new one with the same
9658 funtion but a different name. Put the method implementation in
9659 the deprecated method and have the new method call the
9660 deprecated one. Make all other code call the new method.
9661
9662 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9663
9664 * gnu/java/nio/DatagramChannelImpl.java
9665 (inChannelOperation): New field.
9666 (isInChannelOperation): New accessor.
9667 (setInChannelOperation): New modifier.
9668 (receive): Use capacity() - position() of destination
9669 buffer instead of remaining(). Set and reset our "in
9670 channel operation indicator" before and after delegating
9671 the receive to our datagram socket. Removed testing code.
9672 Update destination buffer's current position if it is
9673 backed by a byte array (hasArray() is true).
9674 (send): Set and reset our "in channel operation indicator"
9675 before and after delegating the send to our datagram socket.
9676 Removed testing code. Update source buffer's current position
9677 if it is backed by a byte array (hasArray() is true).
9678 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9679 Use capacity() - position() of destination buffer instead
9680 of remaining().
9681 * java/net/DatagramSocket.java (receive): Don't throw an
9682 IllegalBlockingModeException if we have a non-blocking
9683 channel which initiated this operation.
9684 (send): Likewise.
9685
9686 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9687
9688 * configure.in: Add pkgconfig check for glib and gthread.
9689 * configure: Regenerate.
9690
9691 2004-02-01 Michael Koch <konqueror@gmx.de>
9692
9693 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9694 arguments.
9695 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9696 * verify.cc (debug_print): Mark 'fmt' unused.
9697
9698 2004-01-30 Michael Koch <konqueror@gmx.de>
9699
9700 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9701 * configure: Regenerated.
9702 * glib-2.0.m4: Removed.
9703 * gtk-2.0.m4: Removed.
9704 * libart.m4: Removed.
9705 * pkg.m4: New file.
9706
9707 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9708
9709 * gnu/java/net/PlainSocketImpl.java
9710 (inChannelOperation): New field.
9711 (isInChannelOperation): New accessor.
9712 (setInChannelOperation): New modifier.
9713 * gnu/java/nio/ServerSocketChannelImpl.java
9714 (accept): Set and reset our server socket's PlainSocketImpl's
9715 "in channel operation" indicator before and after delegating
9716 the accept to our server socket.
9717 * gnu/java/nio/SocketChannelImpl.java
9718 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9719 operation" indicator before and after delegating the operation to
9720 our socket.
9721 (read): Likewise.
9722 (write): Likewise.
9723 * java/net/ServerSocket.java (implAccept): Don't throw an
9724 IllegalBlockingModeException if we have a non-blocking
9725 channel which initiated this accept operation.
9726 * java/net/Socket.java (connect): Don't throw an
9727 IllegalBlockingModeException if we have a non-blocking
9728 channel which initiated this connect operation.
9729 * java/nio/channels/spi/AbstractSelectableChannel.java
9730 (configureBlocking): Only call implConfigureBlocking() if
9731 the desired blocking mode is different from our current one.
9732
9733 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9734
9735 * java/io/BufferedReader.java (sbuf): New field.
9736 (readLine): Use String.valueOf instead of new String() as per
9737 Per Bothner's suggestion. Use instance sbuf field instead of a
9738 local StringBuffer instance.
9739 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9740 caller's buffer to refill().
9741 (read(void)): Pass our internal work buffer to refill if our
9742 input queue is empty.
9743 (refill): Changed return type to int. Use the specified buffer
9744 instead of our work buffer as per Bryce McKinlay's suggestion.
9745 Return the number of characters read or -1 for EOF.
9746
9747 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9748
9749 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9750
9751 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9752
9753 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9754 * Makefile.in: Re-generated.
9755 * gnu/awt/xlib/XFontPeer.java: New file.
9756 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9757 (setClip): Commented out debug printout.
9758 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9759 (getFontPeer): Return XFontPeer.
9760 (getLocalGraphicsEnvironment): New method.
9761 (getClasspathFontPeer): New method.
9762 (createFont): New method.
9763
9764 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9765
9766 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9767 return null.
9768
9769 2004-01-29 Kim Ho <kho@redhat.com>
9770
9771 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9772 (gtkLayoutSetVisible): New method
9773 (setMenuBar): Hide layout before setting MenuBar
9774 and reshow it after.
9775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9776 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9777
9778 2004-01-28 Michael Koch <konqueror@gmx.de>
9779
9780 * gnu/java/lang/ClassHelper.java
9781 (getPackagePortion): Removed.
9782
9783 2004-01-28 Michael Koch <konqueror@gmx.de>
9784
9785 * javax/swing/JComponent.java
9786 (listenerList): Initalize globally.
9787 (ancestor_list): Removed.
9788 (veto_list): Removed.
9789 (change_list): Removed.
9790 (get_veto_list): Removed.
9791 (get_change_list): Removed.
9792 (get_ancestor_list): Removed.
9793 (removeAncestorListener): Reimplemented.
9794 (removePropertyChangeListener): Likewise.
9795 (removeVetoableChangeListener): Likewise.
9796 (addAncestorListener): Likewise.
9797 (addPropertyChangeListener): Likewise.
9798 (addVetoableChangeListener): Likewise.
9799 (getListeners): New method.
9800 (getAncestorListeners): Likewise.
9801 (getVetoableChangeListeners): Likewise.
9802 (fireVetoableChange): Throws PropertyVetoException.
9803 * javax/swing/JEditorPane.java
9804 (JEditorPane): Throws IOException.
9805
9806 2004-01-28 David Jee <djee@redhat.com>
9807
9808 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9809 (create): Set the default foreground color to
9810 java.awt.SystemColor.windowText.
9811
9812 2004-01-27 Michael Koch <konqueror@gmx.de>
9813
9814 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9815 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9816 Reindented to merge with classpath.
9817
9818 2004-01-27 David Jee <djee@redhat.com>
9819
9820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9821 (addExposeFilter): Handle GtkFramePeer separately.
9822 (removeExposeFilter): Likewise.
9823
9824 2004-01-27 Michael Koch <konqueror@gmx.de>
9825
9826 * gnu/java/net/protocol/http/Connection.java
9827 (getOutputStream): Fixed typo.
9828
9829 2004-01-27 Michael Koch <konqueror@gmx.de>
9830
9831 * java/lang/Class.java
9832 (getConstructor): Removed SecurityException from throws clause.
9833 (_getConstructors): Likewise.
9834 (getConstructors): Likewise.
9835 (getDeclaredConstructor): Likewise.
9836 (getDeclaredClasses): Likewise.
9837 (getDeclaredConstructors): Likewise.
9838 (getDeclaredField): Likewise.
9839 (getDeclaredMethod): Likewise.
9840 (getDeclaredMethods): Likewise.
9841 (getField): Likewise.
9842 (getMethod): Likewise.
9843 (getMethods): Likewise.
9844
9845 2004-01-27 Kim Ho <kho@redhat.com>
9846
9847 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9848 (removeMenuBarPeer): Remove MenuBarPeer argument.
9849 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9850 (dispose): Call native method.
9851 * java/awt/Frame.java (setMenuBar): Create and remove
9852 MenuBar peers only if the Frame has a peer.
9853 (addNotify): Create the MenuBar peer if one exists.
9854 (removeNotify): Remove MenuBar peer if one exists.
9855 * java/awt/Menu.java: Fix imports.
9856 (addNotify): Don't use full class name.
9857 (removeNotify): Call removeNotify on all children.
9858 * java/awt/MenuBar.java (removeNotify): Call
9859 removeNotify on all children.
9860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9861 (removeMenuBarPeer): Remove MenuBarPeer argument.
9862 Iterate through children to find the Frame's MenuBar.
9863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9864 New file.
9865 (dispose): Remove references to the MenuComponent.
9866
9867 2004-01-27 Michael Koch <konqueror@gmx.de>
9868
9869 * javax/swing/AbstractCellEditor.java: Reformated.
9870 * javax/swing/DefaultListSelectionModel.java
9871 (listenerList): Made protected.
9872 (addListSelectionListener): Javadoc added.
9873 (removeListSelectionListener): Likewise.
9874 (getListeners): Likewise.
9875 (getListSelectionListeners): Likewise.
9876 * javax/swing/JComboBox.java: Merged copyright year.
9877 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9878
9879 2004-01-26 Andrew Haley <aph@redhat.com>
9880
9881 * javax/swing/table/JTableHeader.java: Extend JComponent
9882
9883 2004-01-26 Kim Ho <kho@redhat.com>
9884
9885 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9886 Fix spacing.
9887
9888 2004-01-26 Kim Ho <kho@redhat.com>
9889
9890 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9891 method.
9892 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9893 height and let the Layout Managers readjust anything that
9894 needs to move.
9895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9896 (moveLayout): New method. Shift everything in the Gtk
9897 layout in the Y direction by an offset.
9898
9899 2004-01-26 David Jee <djee@redhat.com>
9900
9901 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9902 (handleEvent): Implemented. Handles PaintEvents.
9903 (paint): Implemented. Use GTK native methods to queue updates
9904 for this heavyweight peer.
9905 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9906 (handleEvent): Removed.
9907 * java/awt/Component.java
9908 (paint): Implemented. Explictly paint the heavyweight peer.
9909 (update): Clear the background for heavyweight components.
9910 (paintAll): No need to call peer.paint() anymore.
9911 (processEvent): Don't process PaintEvents here. It's now done in
9912 the peer's handleEvent().
9913 (processPaintEvent): Removed.
9914 * java/awt/Container.java
9915 (paint): No need to call super.paint(). Visit heavyweight
9916 children as well.
9917 (update): Don't clear the background here. It's done in
9918 Component.update().
9919 (visitChildren): Added check to not recurse into Containers.
9920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9921 (filter_expose_event_handler): New method. Filter unwanted
9922 expose events while painting heavyweight peers.
9923 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9924 New method. Connect filter and block pre_event_handler.
9925 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9926 New method. Disconnect filter and unblock pre_event_handler.
9927 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9928 New method. Invalidate and update given area.
9929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9930 (pre_event_handler): Add checks for unwanted expose events.
9931
9932 2004-01-26 David Jee <djee@redhat.com>
9933
9934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9935 (find_bg_color_widget): For GtkButton, return its child.
9936
9937 2004-01-26 Kim Ho <kho@redhat.com>
9938
9939 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9940 private.
9941 (setMenuBar): Grab MenuBar height and change insets.
9942 (setBounds): Account for MenuBar height.
9943 (postInsetsChangedEvent): Ditto.
9944 (postSizeAllocateEvent): Remove.
9945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9946 (menubar_resize_cb): Remove
9947 (setMenuBarPeer): Remove callback.
9948 (getMenuBarHeight): Use size requisition instead of
9949 allocation.
9950
9951 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9952
9953 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9954 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9955 when peer is null.
9956 (setColumns): Remove FIXME -- peer will retrieve number of
9957 columns by calling getColumns.
9958 (setRows): Likewise for number of rows.
9959 (next_text_number): New field.
9960 (paramString): Fix param string.
9961 (generateName): New method.
9962 (getUniqueLong): New method.
9963
9964 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9965
9966 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9967 image observer of image loading status.
9968 (getImage (String)): Start image production.
9969 (getImage (URL)): Likewise.
9970
9971 2004-01-25 Michael Koch <konqueror@gmx.de>
9972
9973 * java/lang/Class.java: Imports reworked, reformated.
9974 (Class): Javadoc added.
9975 (forName): Likewise.
9976 (getClasses): Likewise.
9977 (getClassLoader): Likewise.
9978 (getComponentType): Likewise.
9979 (getConstructor): Likewise.
9980 (getConstructors): Likewise.
9981 (getDeclaredConstructor): Likewise.
9982 (getDeclaredClasses): Likewise.
9983 (getDeclaredConstructors): Likewise.
9984 (getDeclaredField): Likewise.
9985 (getDeclaredMethod): Likewise.
9986 (getDeclaredMethods): Likewise.
9987 (getDeclaringClass): Likewise.
9988 (getField): Likewise.
9989 (getInterfaces): Likewise.
9990 (getMethod): Likewise.
9991 (getMethods): Likewise.
9992 (getModifiers): Likewise.
9993 (getName): Likewise.
9994 (getResource): Likewise.
9995 (getResourceAsStream): Likewise.
9996 (getSigners): Likewise.
9997 (setSigners): Likewise.
9998 (getSuperclass): Likewise.
9999 (isArray): Likewise.
10000 (isAssignableFrom): Likewise.
10001 (isInstance): Likewise.
10002 (isInterface): Likewise.
10003 (isPrimitive): Likewise.
10004 (newInstance): Likewise.
10005 (getProtectionDomain): Likewise.
10006 (toString): Likewise.
10007 (Class): Moved.
10008 (initializeClass): Likewise.
10009 (finalize): Likewise.
10010
10011 2004-01-24 Michael Koch <konqueror@gmx.de>
10012
10013 * gnu/java/net/protocol/jar/Connection.java
10014 (hdrHash): Removed.
10015 (hdrVec): Removed.
10016 (gotHeaders): Removed.
10017 (getHeaderField): Removed.
10018 (getHeaderFields): Removed.
10019 (getHeaderFieldKey): Removed.
10020 (getKey): Removed.
10021 (getField): Removed.
10022 (getHeaders): Removed.
10023
10024 2004-01-24 Michael Koch <konqueror@gmx.de>
10025
10026 * Makefile.am: Added library version to gtk peer lib.
10027 * Makefile.in: Regenerated.
10028
10029 2004-01-24 Michael Koch <konqueror@gmx.de>
10030
10031 * java/util/zip/InflaterInputStream.java: Merged class documentation
10032 with classpath.
10033
10034 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10035
10036 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10037 header. For __powerpc64__ provide the default-signal.h definitions
10038 for now.
10039 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10040 instead of the dummy definitions.
10041 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10042 (powerpc64*-*): Remove with_libffi_default.
10043 Only add -mminimal-toc for 64-bit compilations.
10044 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10045 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10046 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10047 * configure: Rebuilt.
10048
10049 2004-01-23 Michael Koch <konqueror@gmx.de>
10050
10051 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10052
10053 2004-01-23 Michael Koch <konqueror@gmx.de>
10054
10055 * java/lang/VMClassLoader.java: Reworked imports.
10056
10057 2004-01-23 Michael Koch <konqueror@gmx.de>
10058
10059 * javax/swing/AbstractAction.java: Reformated.
10060
10061 2004-01-23 Michael Koch <konqueror@gmx.de>
10062
10063 * java/text/CollationElementIterator.java:
10064 (setText): New method.
10065
10066 2004-01-23 Michael Koch <konqueror@gmx.de>
10067
10068 * gnu/java/nio/FileLockImpl.java:
10069 Fixed filename in copyright.
10070 (released): Removed.
10071 (finalize): New method.
10072 * gnu/java/nio/natFileLockImpl.cc
10073 (releaseImpl): Implemented.
10074 * java/nio/channels/FileChannelImpl.java:
10075 Reworked imports.
10076 (lock): Implemented.
10077 (lockImpl): New method.
10078 (tryLock): Implemented.
10079 (tryLockImpl): New method.
10080 * java/nio/channels/natFileChannelImpl.cc
10081 (lockImpl): New method.
10082 (tryLockImpl): New method.
10083
10084 2004-01-23 Michael Koch <konqueror@gmx.de>
10085
10086 * java/io/FileDescriptor.java
10087 (lock): New method.
10088 (tryLock): New method.
10089 (unlock): New method.
10090 * java/io/natFileDescriptorEcos.cc
10091 (lock): New method.
10092 (tryLock): New method.
10093 (unlock): New method.
10094 * java/io/natFileDescriptorPosix.cc
10095 (lock): New method.
10096 (tryLock): New method.
10097 (unlock): New method.
10098 * java/io/natFileDescriptorWin32.cc
10099 (lock): New method.
10100 (tryLock): New method.
10101 (unlock): New method.
10102
10103 2004-01-23 Michael Koch <konqueror@gmx.de>
10104
10105 * java/io/FileDescriptor.java
10106 (sync): Moved around, added javadoc.
10107 (valid): Likewise.
10108 (open): Likewise.
10109 (write): Likewise.
10110 (close): Likewise.
10111 (setLength): Likewise.
10112 (seek): Likewise.
10113 (getLength): Likewise.
10114 (getFilePointer): Likewise.
10115 (read): Likewise.
10116 (available): Likewise.
10117 (finalize): Likewise.
10118
10119 2004-01-23 Michael Koch <konqueror@gmx.de>
10120
10121 * javax/swing/AbstractAction.java: Reformated.
10122 (getPropertyChangeListeners): New method.
10123 * javax/swing/AbstractCellEditor.java: Reformated.
10124 (getCellEditorListeners): New method.
10125 * javax/swing/DefaultListSelectionModel.java
10126 (listenerList): New field.
10127 (listeners): Removed.
10128 (get_listeners): Removed.
10129 (addListSelectionListener): Rewritten.
10130 (removeListSelectionListener): Rewritten.
10131 (getListSelectionListeners): New method.
10132 (getListeners): New method.
10133 * javax/swing/JComboBox.java: Imports reworked.
10134 (addActionListener): Implemented.
10135 (removeActionListener): Implemented.
10136 (addItemListener): Implemented.
10137 (removeItemListener): Implemented.
10138 (addPopupMenuListener): Implemented.
10139 (removePopupMenuListener): Implemented.
10140 (getActionListeners): New method.
10141 (getItemListeners): New method.
10142 (getPopupMenuListeners): New method.
10143
10144 2004-01-23 Michael Koch <konqueror@gmx.de>
10145
10146 * gnu/java/net/protocol/http/Connection.java
10147 (connect): Don't initialize bufferedOutputStream if not needed.
10148 (sendRequest): Set property for content length if content is present.
10149 Write content only if present.
10150 (getOutputStream): Check if already connected, dont connect,
10151 initalize bufferedOutputStream if needed.
10152
10153 2004-01-23 Michael Koch <konqueror@gmx.de>
10154
10155 * java/io/FileDescriptor.java
10156 (in, out, err): Added javadoc.
10157 (static): Merged loading code.
10158 (fd, position): Moved around.
10159
10160 2004-01-23 Michael Koch <konqueror@gmx.de>
10161
10162 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10163 New file.
10164
10165 2004-01-23 Michael Koch <konqueror@gmx.de>
10166
10167 * java/lang/Class.java,
10168 java/lang/Object.java,
10169 java/lang/Thread.java: Merged copyright with classpath.
10170
10171 2004-01-23 Michael Koch <konqueror@gmx.de>
10172
10173 * java/io/FileDescriptor.java: Merged copyright with classpath to
10174 start merging this class.
10175
10176 2004-01-22 Tom Tromey <tromey@redhat.com>
10177
10178 PR libgcj/13107:
10179 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10180 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10181 * testsuite/libjava.lang/pr13107_3.java: New file.
10182 * testsuite/libjava.lang/pr13107_3.out: New file.
10183 * testsuite/libjava.lang/pr13107_2.java: New file.
10184 * testsuite/libjava.lang/pr13107_2.out: New file.
10185 * testsuite/libjava.lang/pr13107.java: New file.
10186 * testsuite/libjava.lang/pr13107.out: New file.
10187 * verify.cc (jsr_ptrs): Removed.
10188 (entry_points): Likewise.
10189 (struct subr_info): Likewise.
10190 (struct subr_entry_info): Likewise.
10191 (type_val::unused_by_subroutine_type): Likewise.
10192 (type::merge): Don't handle unused_by_subroutine_type.
10193 (type::print): Likewise.
10194 (state::flags): Removed.
10195 (state::subroutine): Likewise.
10196 (state::seen_subrs): Likewise.
10197 (state::NO_STACK): Likewise.
10198 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10199 (state): Updated all methods.
10200 (state::clean_subrs): Removed.
10201 (state::state): Removed `ret_semantics' flag.
10202 (state::copy): Likewise.
10203 (state::add_subr): Removed.
10204 (state::enter_subroutine): Likewise.
10205 (type::set_return_address): New method.
10206 (handle_jsr_insn): Set return address on the type. Always
10207 invalidate PC after call.
10208 (check_nonrecursive_call): Removed.
10209 (~_Jv_BytecodeVerifier): Updated.
10210 (branch_prepass): Removed special handling of jsr.
10211 (note_branch_target): Likewise.
10212 (get_subroutine): Removed.
10213 (state::merge): Don't merge subroutines and don't handle
10214 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10215 (state::note_variable): Removed.
10216 (state::is_unmerged_ret_state): Likewise.
10217 (state::print): Updated.
10218 (set_variable): Likewise.
10219 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10220 and jsr_semantics arguments. Updated for new reverification
10221 list.
10222 (pop_jump): Rewrote.
10223 (construct_primitive_array_type): Updated.
10224 (state::next): Removed.
10225 (INVALID_STATE): New define.
10226 (state::INVALID): Removed.
10227 (state::NO_NEXT): New value.
10228 (state::pc, state::next): New fields.
10229 (state::get_pc): New method.
10230 (next_verify_pc): Removed.
10231 (next_verify_state): New field.
10232 (verify_instructions_0): Always check for falling off end.
10233 (linked): New type.
10234 (linked_utf8): Removed.
10235 (states): Changed type.
10236 (type::state_mergeable_p): New method.
10237 (state::state_mergeable_p): Likewise.
10238 (handle_ret_insn): Removed most code.
10239 (state::reverify): New method.
10240 (add_new_state): Likewise.
10241 (state::set_pc): Likewise.
10242
10243 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10244
10245 PR java/13733
10246 * testsuite/libjava.compile/PR13733.java: New file.
10247 * testsuite/libjava.compile/PR13733.xfail: New file.
10248
10249 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10250 Michael Koch <konqueror@gmx.de>
10251
10252 * javax/swing/table/DefaultTableCellRenderer.java
10253 (DefaultTableCellRenderer): Added javadoc for the class and for
10254 the constructor, Border instance, create an EmptyBorder.
10255 (UIResource): Removed the comment at the end of the class
10256 (setForeground): New method.
10257 (setBackground): New method.
10258 (updateUI): New method.
10259 (getTableCellRendererComponent): Rewritten with the help of
10260 dvholten and Stephane Meslin-Weber.
10261 (validate): New method.
10262 (repaint): New method.
10263 (firePropertyChange): New method.
10264 (setValue): New method.
10265
10266 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10267
10268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10269 (connectJObject): Replace printf calls with g_assert statements.
10270 Move property-notify-event signal connection to ...
10271 (connectSignals): Connect property-notify-event signal. Iterate
10272 through the vbox's children to find layout.
10273
10274 2004-01-22 Graydon Hoare <graydon@redhat.com>
10275
10276 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10277 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10278 Predicate static initialization on GtkToolkit.useGraphics2D().
10279 * java/awt/Component.java (processPaintEvent): Consume event.
10280 * javax/swing/AbstractButton.java: Reimplement, document.
10281 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10282 * javax/swing/JComponent.java (paint): Use double buffer.
10283 (listenerList): Enable member.
10284 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10285 * javax/swing/JToggleButton.java
10286 (JToggleButton): Modify model constructor.
10287 * javax/swing/SwingUtilities.java
10288 (layoutCompoundLabel): Adjust arithmetic.
10289 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10290 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10291 (getPreferredButtonSize): Include margins in calculation.
10292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10293 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10294 Receive up events from subordinate layout component.
10295
10296 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10297
10298 * java/awt/Component.java (show): Set visible to true before
10299 showing the peer.
10300
10301 2004-01-21 Kim Ho <kho@redhat.com>
10302
10303 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10304 Fix comments.
10305 (removeMenuBarPeer): Make package private.
10306 (setMenuBarPeer): Make package private.
10307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10308 (menubar_resize_cb): Mark attributes unused.
10309 (getMenuBarHeight): ditto.
10310
10311 2004-01-21 David Jee <djee@redhat.com>
10312
10313 * java/awt/Container.java
10314 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10315 dispatching MOUSE_ENTERED event twice. Translate the point for
10316 the mouse event target before dispatching the event.
10317
10318 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10319
10320 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10321 lib_org_w3c_dom_la_LDFLAGS): New.
10322 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10323 * Makefile.in: Rebuilt.
10324
10325 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10326
10327 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10328 Calculate proper offsets for heavyweight components packed in
10329 lightweight containers.
10330
10331 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10332 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10333 (native create): Add width parameter.
10334 (create): Calculate text entry width based on current font's
10335 metrics and number of columns. Set TextField's font if not
10336 already set. Call native create.
10337 (gtkEntryGetBorderWidth): New native method.
10338 (gtkEntryGetSize): Remove method.
10339 (getMinimumSize): Call minimumSize.
10340 (getPreferredSize): Call preferredSize.
10341 (minimumSize): Calculate minimum size based on backing
10342 GtkEntry's borders, font metrics and number of columns.
10343 (preferredSize): Likewise for preferred size.
10344 (get_border_width): New static function.
10345
10346 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10347 Override GtkWindowPeer's setResizable method to account for menu
10348 bar height when setting the frame's size.
10349
10350 2004-01-19 Matthias Klose <doko@debian.org>
10351
10352 * libtool-version: Increased `current' to 6.
10353
10354 2004-01-19 Kim Ho <kho@redhat.com>
10355
10356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10357 (connectJObject): Iterate through the vbox's children to find layout.
10358
10359 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10360
10361 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10362 isDispatchThread method to replace wrong test condition.
10363
10364 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10365
10366 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10367 events to the queue out of order by acquiring locks in the proper
10368 order and not by releasing one before acquiring the other.
10369
10370 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10371
10372 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10373 visible so that dialog can be reused.
10374
10375 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10376
10377 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10378 events may be handled by any queue in the stack.
10379
10380 2004-01-19 Kim Ho <kho@redhat.com>
10381
10382 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10383 MenuBarPeer parameter.
10384 (removeMenuBarPeer): New native method.
10385 (setMenuBar): Call remove if menu bar is null. Adjust insets
10386 appropriately.
10387 (postSizeAllocateEvent): New method. Called when menu bar size is
10388 allocated. Adjust insets and redo layout.
10389 (GtkFramePeer): Set menu bar during frame creation.
10390 (postConfigureEvent): Adjust position and size to accomodate
10391 menu bar.
10392 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10393 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10394 (addNotify): Create the peer if it doesn't exist and call addNotify
10395 for the menu's items.
10396 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10397 * java/awt/MenuItem.java (addNotify): Create the peer if it
10398 doesn't exist.
10399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10400 (removeMenuBarPeer): New method. Remove menu bar on the current
10401 frame.
10402 (setMenuBarPeer): Add the menu bar to the current frame and the
10403 callback for size-allocate events on the menu bar.
10404 (getMenuBarHeight): Add menu bar parameter.
10405 (menubar_resize_cb): New callback method for postSizeAllocate events.
10406
10407 Also: Fix indentation on last ChangeLog entry.
10408
10409 2004-01-16 Kim Ho <kho@redhat.com>
10410
10411 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10412 (gtkWidgetGetDimensions): Remove.
10413 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10414 (gtkWidgetGetDimensions): Remove.
10415
10416 2004-01-16 Tom Tromey <tromey@redhat.com>
10417
10418 * java/awt/Container.java: Typo and indentation fixes.
10419
10420 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10421 * java/lang/natVMClassLoader.cc: ...here. New file.
10422 * Makefile.in: Rebuilt.
10423 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10424
10425 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10426
10427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10428 Discard GDK_ENTER_NOTIFY related to ungrabs.
10429
10430 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10431
10432 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10433 is called for an intermediate queue.
10434
10435 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10436
10437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10438 (window_property_changed_cb): Set id_set.
10439
10440 2004-01-16 Kim Ho <kho@redhat.com>
10441
10442 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10443 it is a FileDialog and has dimensions of 0 by 0, then the initial
10444 size is set to size request plus insets.
10445 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10446 (gtkWidgetGetDimensions): Override method.
10447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10448 (gtkWidgetGetDimensions): Override method. Returns size request plus
10449 insets.
10450
10451 2004-01-16 Andrew Haley <aph@redhat.com>
10452
10453 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10454 * sysdep/i386/locks.h: Likewise.
10455
10456 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10457
10458 * java/awt/EventDispatchThread.java (run): Stop running when
10459 interrupted.
10460 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10461 Reset the queue after transferring its contents.
10462 (push): Start a new dispatch thread if none is running.
10463
10464 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10465
10466 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10467 (doPolygon): set fill rule of polygon to
10468 WIND_EVEN_ODD by default.
10469
10470 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10471
10472 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10473 Implemented rendering hints related methods.
10474 (getDefaultHints): New helper method. Returns
10475 default rendering hints.
10476 (walkPath): changed to normalize path if
10477 the KEY_STROKE_CONTROL key is in "normalize" mode.
10478 (draw3DRect): changed coordinates of rectangle by +0.5
10479 if in "normalize" mode.
10480
10481 2004-01-15 Tom Tromey <tromey@redhat.com>
10482
10483 * Makefile.in: Rebuilt.
10484 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10485 (%.lo: %.java) Filter out StackTrace.lo.
10486
10487 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10488
10489 * configure.in: Add in AC_PREREQ(2.13)
10490 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10491 FIXME comment.
10492
10493 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10494 Tom Tromey <tromey@redhat.com>
10495
10496 PR libgcj/12001:
10497 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10498 array to superclass.
10499 (init): Changed interface; add URLs here.
10500 (initialize): New static method.
10501 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10502 (_Jv_RunMain): ... not here.
10503
10504 2004-01-14 Michael Koch <konqueror@gmx.de>
10505
10506 * java/text/MessageFormat.java:
10507 Added descriptions to exceptions.
10508 This fixes PR libgcj/2429.
10509
10510 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10511
10512 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10513 (push): Make sure push is performed at the top of the thread stack.
10514
10515 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10516
10517 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10518 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10519 (native create): Add width and height parameters. Set text
10520 view's size request according to new parameters.
10521 (create): Calculate text view size based on current font's
10522 metrics and number of rows and columns. Set TextArea's font if
10523 not already set. Call native create.
10524 (getMinimumSize): Call minimumSize.
10525 (getPreferredSize): Call preferredSize.
10526 (getHScrollbarHeight): New method.
10527 (getVScrollbarWidth): New method.
10528 (minimumSize): Calculate minimum size based on scrollbar
10529 visibility, scrollbar sizes, font metrics and number of rows and
10530 columns.
10531 (preferredSize): Likewise for preferred size.
10532 (gtkTextGetSize): Remove method.
10533
10534 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10535
10536 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10537 (initializeInsets): Remove method.
10538 (GtkComponentPeer): Initialize insets field. Remove call to
10539 initializeInsets.
10540 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10541 Remove method.
10542 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10543 Remove method.
10544 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10545 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10546 (latestInsets): Remove field.
10547 (native create): Add insets parameter. Call
10548 window_get_frame_extents. Set the window's default size and
10549 size request based on its frame extents.
10550 (create): Initialize insets.
10551 (postInsetsChangedEvent): New method.
10552 (postConfigureEvent): Remove parameters top, left, bottom,
10553 right. Remove insets-related logic.
10554 (connectJObject): Handle property-notify-event.
10555 (window_get_frame_extents, request_frame_extents,
10556 property_notify_predicate, window_property_changed_cb): New
10557 static functions.
10558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10559 (pre_event_handler): Remove insets-related logic for configure
10560 events.
10561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10562 Update postConfigureEvent signature.
10563
10564 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10565
10566 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10567 to handle Window "Closing" events.
10568
10569 2004-01-13  David Jee  <djee@redhat.com>
10570
10571 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10572 (setBackground): New method. Children with no explicitly-set
10573 background will be repainted with the parent container's new
10574 background color.
10575
10576 2004-01-13  David Jee  <djee@redhat.com>
10577
10578 * Makefile.am: Add BitwiseXORComposite.java.
10579 * Makefile.in: Regenerated.
10580 * gcj/Makefile.in: Regenerated.
10581 * include/Makefile.in: Regenerated.
10582 * testsuite/Makefile.in: Regenerated.
10583
10584 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10585
10586 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10587 not show modal dialogs twice and so that it allows showing a modal
10588 dialog from another modal dialog.
10589
10590 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10591
10592 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10593 and run secondary dispatch thread to process event queue while this
10594 thread is blocked.
10595
10596 2004-01-12 Graydon Hoare <graydon@redhat.com>
10597
10598 * gnu/java/awt/gtk/GdkGraphics2D.java
10599 (static): Check GtkToolkit before initializing static state.
10600 (Graphics2D): Don't construct transform with 0.5 unit offset.
10601
10602 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10603
10604 * gnu/java/awt/BitwiseXORComposite.java: Add.
10605 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10606 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10607 (BitwiseXORComposite): Remove inner class.
10608
10609 2004-01-11 Michael Koch <konqueror@gmx.de>
10610
10611 * gnu/java/lang/reflect/TypeSignature.java
10612 (getEncodingOfClass): Documentation fixed.
10613 (getClassForEncoding): Give class loader to Class.forName().
10614 Documentation fixed.
10615
10616 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10617
10618 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10619
10620 2004-01-11 Michael Koch <konqueror@gmx.de>
10621
10622 * javax/swing/undo/StateEditable.java
10623 (RCSID): Removed redundant modifiers.
10624
10625 2004-01-10 Michael Koch <konqueror@gmx.de>
10626
10627 * javax/print/attribute/EnumSyntax.java
10628 (getStringTable): Made protected.
10629 (getEnumValueTable): Likewise.
10630 * javax/print/attribute/standard/JobKOctetsProcessed.java
10631 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10632 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10633 (JobMediaSheetsCompleted): Made class final.
10634 * javax/print/attribute/standard/OutputDeviceAssigned.java
10635 (getName): Fixed typo.
10636 * javax/print/attribute/standard/RequestingUserName.java
10637 (serialVersionUID): Fixed value.
10638
10639 2004-01-10 Michael Koch <konqueror@gmx.de>
10640
10641 * javax/swing/plaf/basic/BasicButtonUI.java,
10642 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10643 javax/swing/plaf/basic/BasicListUI.java,
10644 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10645 javax/swing/plaf/basic/BasicPanelUI.java,
10646 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10647 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10648 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10649 javax/swing/plaf/basic/BasicViewportUI.java:
10650 Fixed import statements.
10651
10652 2004-01-10 Michael Koch <konqueror@gmx.de>
10653
10654 * gnu/java/awt/image/ImageDecoder.java
10655 (produce): Made public.
10656 * gnu/java/awt/peer/GLightweightPeer.java,
10657 gnu/java/awt/peer/gtk/GtkToolkit.java:
10658 Reformated.
10659
10660 2004-01-10 Michael Koch <konqueror@gmx.de>
10661
10662 * javax/swing/JRadioButtonMenuItem.java,
10663 javax/swing/JSeparator.java,
10664 javax/swing/JSplitPane.java,
10665 javax/swing/JTextPane.java,
10666 javax/swing/JToolBar.java,
10667 javax/swing/ListCellRenderer.java,
10668 javax/swing/ListModel.java,
10669 javax/swing/MenuElement.java,
10670 javax/swing/OverlayLayout.java,
10671 javax/swing/ProgressMonitor.java,
10672 javax/swing/ProgressMonitorInputStream.java,
10673 javax/swing/Renderer.java,
10674 javax/swing/RootPaneContainer.java,
10675 javax/swing/Scrollable.java,
10676 javax/swing/SingleSelectionModel.java,
10677 javax/swing/ToolTipManager.java,
10678 javax/swing/ViewportLayout.java,
10679 javax/swing/event/DocumentEvent.java,
10680 javax/swing/event/SwingPropertyChangeSupport.java,
10681 javax/swing/event/TreeSelectionEvent.java,
10682 javax/swing/event/UndoableEditEvent.java,
10683 javax/swing/text/AbstractDocument.java,
10684 javax/swing/text/AttributeSet.java,
10685 javax/swing/text/Caret.java,
10686 javax/swing/text/ComponentView.java,
10687 javax/swing/text/DefaultCaret.java,
10688 javax/swing/text/DefaultEditorKit.java,
10689 javax/swing/text/Document.java,
10690 javax/swing/text/EditorKit.java,
10691 javax/swing/text/GapContent.java,
10692 javax/swing/text/Keymap.java,
10693 javax/swing/text/MutableAttributeSet.java,
10694 javax/swing/text/PlainEditorKit.java,
10695 javax/swing/text/Segment.java,
10696 javax/swing/text/Style.java,
10697 javax/swing/text/StyledDocument.java,
10698 javax/swing/text/StyledEditorKit.java,
10699 javax/swing/text/TextAction.java,
10700 javax/swing/text/View.java: Fixed import statements.
10701
10702 2004-01-08 Graydon Hoare <graydon@redhat.com>
10703
10704 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10705 djee@redhat.com's recent inverse ordering of Container elements.
10706
10707 2004-01-09 Michael Koch <konqueror@gmx.de>
10708
10709 * gnu/java/lang/ArrayHelper.java
10710 (equalsArray): Removed.
10711
10712 2004-01-09 Andrew Haley <aph@redhat.com>
10713
10714 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10715 a Utf8Const field before looking at its class.
10716
10717 2004-01-09 Michael Koch <konqueror@gmx.de>
10718
10719 * javax/print/attribute/standard/DocumentName.java,
10720 javax/print/attribute/standard/JobHoldUntil.java,
10721 javax/print/attribute/standard/JobMessageFromOperator.java,
10722 javax/print/attribute/standard/JobName.java,
10723 javax/print/attribute/standard/JobOriginatingUserName.java,
10724 javax/print/attribute/standard/OutputDeviceAssigned.java,
10725 javax/print/attribute/standard/PrinterInfo.java,
10726 javax/print/attribute/standard/PrinterLocation.java,
10727 javax/print/attribute/standard/PrinterMakeAndModel.java,
10728 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10729 javax/print/attribute/standard/PrinterName.java,
10730 javax/print/attribute/standard/RequestingUserName.java: New files.
10731 * Makefile.am (javax_source_files): Added new files.
10732 * Makefile.in: Regenerated.
10733
10734 2004-01-09 Michael Koch <konqueror@gmx.de>
10735
10736 * javax/swing/AbstractAction.java,
10737 javax/swing/AbstractSet.java,
10738 javax/swing/Action.java,
10739 javax/swing/ActionMap.java,
10740 javax/swing/BoundedRangeModel.java,
10741 javax/swing/ButtonModel.java,
10742 javax/swing/CellEditor.java,
10743 javax/swing/CellRendererPane.java,
10744 javax/swing/ComboBoxEditor.java,
10745 javax/swing/DebugGraphics.java,
10746 javax/swing/DefaultCellEditor.java,
10747 javax/swing/DefaultCellRenderer.java,
10748 javax/swing/DefaultComboBoxModel.java,
10749 javax/swing/DefaultDesktopManager.java,
10750 javax/swing/DefaultFocusManager.java,
10751 javax/swing/DefaultListCellRenderer.java,
10752 javax/swing/Icon.java,
10753 javax/swing/JButton.java,
10754 javax/swing/JCheckBoxMenuItem.java,
10755 javax/swing/JDesktopPane.java,
10756 javax/swing/JEditorPane.java,
10757 javax/swing/JMenu.java,
10758 javax/swing/JPanel.java,
10759 javax/swing/JPasswordField.java,
10760 javax/swing/JPopupMenu.java,
10761 javax/swing/JProgressBar.java: Reworked imports.
10762
10763 2004-01-09 Michael Koch <konqueror@gmx.de>
10764
10765 * java/awt/geom/PathIterator.java
10766 (WIND_EVEN_ODD): Removed redundant modifiers.
10767 (WIND_NON_ZERO): Likewise.
10768 (SEG_MOVETO): Likewise.
10769 (SEG_LINETO): Likewise.
10770 (SEG_QUADTO): Likewise.
10771 (SEG_CUBICTO): Likewise.
10772 (SEG_CLOSE): Likewise.
10773 * java/awt/image/SinglePixelPackedSampleModel.java:
10774 Removed redundant semicolon.
10775 * java/io/ObjectInputStream.java
10776 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10777 * java/util/logging/Filter.java
10778 (isLoggable): Removed redundant modifier.
10779 * java/util/logging/LogManager.java:
10780 Removed redundant semicolon.
10781 * java/util/logging/XMLFormatter.java
10782 (format): Removed unused variable "key".
10783
10784 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10785
10786 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10787 New name for the former setFile native method.
10788 (setFile): New method.
10789 (setDirectory): Implemented.
10790 (connectSignals): New native method.
10791 (setFilenameFilter): Improve comment.
10792 (getGraphics): Comment.
10793 (gtkHideFileDialog): New method.
10794 (gtkDisposeFileDialog): New method.
10795 (gtkSetFilename): New method.
10796 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10797 for FileDialog for now.
10798 (hide): New method.
10799 (dispose): New method.
10800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10801 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10802 deprecated creation functions. Make dialog modal. Add it to the
10803 window group.
10804 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10805 function.
10806 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10807 Rename to...
10808 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10809 name.
10810 (window_closed): New function.
10811 (ok_clicked): New function.
10812 (cancel_clicked): New function.
10813
10814 2004-01-08 Michael Koch <konqueror@gmx.de>
10815
10816 * javax/swing/JLayeredPane.java: Revert changes to standard
10817 boilerplate, reworked imports.
10818
10819 2004-01-07 Tom Tromey <tromey@redhat.com>
10820
10821 PR libgcj/13439:
10822 * verify.cc (state::merge): Copy changed locals out of subroutine
10823 in NO_STACK case.
10824 (state::FLAG_CHANGED): New const.
10825 (state::FLAG_UNUSED): Likewise.
10826 (state::local_changed): Removed. Updated all users.
10827 (state::flags): New field.
10828 (state::merge): Added jsr_semantics argument, more logic.
10829 (push_jump_merge): Added jsr_semantics argument.
10830 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10831 merging through the jsr instruction.
10832
10833 2004-01-07 Tom Tromey <tromey@redhat.com>
10834
10835 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10836 backslash-newline.
10837
10838 2004-01-07 Graydon Hoare <graydon@redhat.com>
10839
10840 * java/awt/Container.java (LightweightDispatcher): Implement.
10841 (visitChild): Reuse graphics object.
10842 (dispatchEventImpl): Optionally dispatch to lightweight.
10843 (addNotifyContainerChildren): Build LightweightDispatcher.
10844
10845 2004-01-07 David Jee <djee@redhat.com>
10846
10847 * java/awt/Container.java
10848 (update): Clear only the clipped region, instead of clearing the
10849 entire Container.
10850 (visitChildren): Visit children in descending order.
10851
10852 2004-01-07 Michael Koch <konqueror@gmx.de>
10853
10854 * java/lang/reflect/Array.java: Merged documentation with classpath.
10855
10856 2004-01-07 Michael Koch <konqueror@gmx.de>
10857
10858 * java/text/CollationElementIterator.java
10859 (textIndex): Renamed from index.
10860 * java/text/CollationKey.java
10861 (collator): New member.
10862 (CollationKey): New argument for parent collator.
10863 (equals): Check for same collator, source string and key array.
10864 * java/text/RuleBasedCollator.java:
10865 Reformated.
10866 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10867 value.
10868 (getCollationElementIterator): Rewritten.
10869 (getCollationKey): Added new argument to CollationKey constructor.
10870
10871 2004-01-07 Michael Koch <konqueror@gmx.de>
10872
10873 * gnu/java/nio/DatagramChannelImpl.java
10874 (blocking): Removed.
10875 (DatagramChannelImpl): Call configureBlocking().
10876 (implConfigureBlocking): Dont initialize blocking.
10877 * gnu/java/nio/ServerSocketChannelImpl.java
10878 (blocking): Removed.
10879 (ServerSocketChannelImpl): Call configureBlocking().
10880 (implConfigureBlocking): Dont initialize blocking.
10881 * gnu/java/nio/SocketChannelImpl.java
10882 (blocking): Removed.
10883 (SocketChannelImpl): Call configureBlocking().
10884 (implConfigureBlocking): Dont initialize blocking.
10885 (connect): Use isBlocking().
10886 * java/nio/channels/spi/AbstractSelectableChannel.java
10887 (configureBlocking): Use blockingLock() instead of LOCK.
10888 Set blocking after successfully called implConfigureBlocking().
10889 (register): Use blockingLock() instead of LOCK.
10890
10891 2004-01-07 Michael Koch <konqueror@gmx.de>
10892
10893 * java/net/ServerSocket.java (isBound): Fixed documentation.
10894
10895 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10896
10897 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10898 (changeEvent): Create event object on demand.
10899 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10900 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10901 fireStateChanged): Re-written.
10902 * javax/swing/event/EventListenerList.java: Reformatted, document
10903 typical usage.
10904 (toString): Implemented.
10905 (getListeners): Re-written.
10906 (remove): Re-written.
10907 (add): Re-written.
10908 (NO_LISTENERS): New singleton field.
10909 (listenerList): Declare as transient; document.
10910 (serialVersionUID): Document.
10911 (getListenerCount(Class)): More efficient implementation,
10912 also accepts null argument. Improve Javadoc.
10913 (getListenerCount()): Remove unnecessary cast; docfix.
10914 * javax/swing/undo/UndoableEditSupport.java:
10915 Re-format, document.
10916 (UndoableEditSupport): Set realSource field. Improve documentation.
10917 (_postEdit): Iterate over cloned listener vector.
10918 (toString): Don't emit realSource.
10919 (beginUpdate, endUpdate): Support nested updates.
10920 (postEdit): Use compound edit if present.
10921
10922 2004-01-06 Graydon Hoare <graydon@redhat.com>
10923
10924 * java/awt/Container.java (swapComponents): Add forgotten
10925 function, required for JLayeredPane change.
10926
10927 2004-01-06 Michael Koch <konqueror@gmx.de>
10928
10929 * java/text/CollationElementIterator.java: Reformated.
10930 (CollationElementIterator): Changed order of arguments.
10931 * java/text/RuleBasedCollator.java
10932 (RuleBasedCollator): Merged class documentation.
10933 (CollationElement): Added documentation.
10934 (compare): Reformated, renamed arguments.
10935 (equals): Likewise.
10936 (getCollationElementIterator): Likewise.
10937 (getCollationKey): Likewise.
10938
10939 2004-01-06 Graydon Hoare <graydon@redhat.com>
10940
10941 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10942
10943 2004-01-06 Michael Koch <konqueror@gmx.de>
10944
10945 * gnu/java/net/protocol/file/Connection.java:
10946 Reformated copyright.
10947 (hdrHash): Removed.
10948 (hdrVec): Removed.
10949 (gotHeaders): Removed.
10950 (getHeaderField): Removed.
10951 (getHeaderField): Removed.
10952 (getHeaderFieldKey): Removed.
10953 (getKey): Removed.
10954 (getField): Removed.
10955 (getHeaders): Removed.
10956
10957 2004-01-06 Michael Koch <konqueror@gmx.de>
10958
10959 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10960 javax/print/attribute/standard/DateTimeAtCreation.java,
10961 javax/print/attribute/standard/DateTimeAtProcessing.java,
10962 javax/print/attribute/standard/JobImpressionsCompleted.java,
10963 javax/print/attribute/standard/JobKOctets.java,
10964 javax/print/attribute/standard/JobKOctetsProcessed.java,
10965 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10966 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10967 * Makefile.am (javax_source_files): Added new files.
10968 * Makefile.in: Regenerated.
10969
10970 2004-01-06 Michael Koch <konqueror@gmx.de>
10971
10972 * java/net/URLConnection.java
10973 (contentHandler): Removed.
10974 (locale): Removed.
10975 (getHeaderFields): Return an empty map instead of null.
10976 (getContent): Connect if needed, renamed "cType" to "type" and
10977 "contentHandler" to "ch" and made it a local variable.
10978 (getPermission): Don't use package in class name.
10979 (setDefaultRequestProperty): Fixed typo in documentation.
10980 (initializeDateFormats): Made locale a local variable.
10981
10982 2004-01-06 Michael Koch <konqueror@gmx.de>
10983
10984 * java/lang/Package.java
10985 (getPackage): Get the current class loader directly.
10986 * java/lang/SecurityManager.java
10987 (currentLoadedClass): Dont iterate over class contexts.
10988 (classLoaderDepth): Don't check class loaders if everything is allowed.
10989
10990 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10991
10992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10993 (pre_event_handler): Set all insets to 0 when a Configure event
10994 is received for a GtkPlug.
10995 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
10996 Make handle long, not int.
10997 (EmbeddedWindow()): New constructor.
10998 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
10999 long, not int.
11000 (setHandle): New method.
11001 (getHandle): Return long, not int.
11002 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11003 declaration.
11004 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11005 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11006 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11007 argument to GdkNativeWindow.
11008 (construct): New method.
11009 (embed): New method.
11010
11011 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11012 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11013 (create(int, int)): New method.
11014 (create): Call new create method.
11015 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11016 methods.
11017 (childResized): Remove native implementation. Implement in
11018 Java.
11019 (getHScrollbarHeight, getVScrollbarWidth): Call
11020 gtk_widget_size_request to get scrollbar dimensions.
11021 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11022 call getVScrollbarWidth and getHScrollbarHeight when vertical
11023 and horizontal scrollbars respectively are needed.
11024 (doLayout): Enlarge child if it is smaller than the viewport.
11025
11026 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11027
11028 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11029 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11030 argument as per spec.
11031
11032 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11033
11034 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11035 (insert): Ditto.
11036 (remove): Ditto. Also, Check for valid argument.
11037 (removeAll): Use peer interface method.
11038 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11039 native add function.
11040 (nativeRemove): New name for native remove function.
11041 (getHistory): New native function.
11042 (constructor): Generate ItemEvent.
11043 (add): Ditto, if selection is changed.
11044 (remove): Ditto, ditto.
11045 (removeAll): Add implementation.
11046 (handleEvent): Remove. Dead code.
11047 (choicePostItemEvent): Add comment.
11048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11049 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11050 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11051 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11052 comments and fix condition to change selection.
11053 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11054 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11055 remove all capability.
11056 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11057 (item_activate): Add cast to remove compiler warning.
11058
11059 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11060
11061 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11063 (getPreferredSize): Call preferredSize.
11064 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11065 (getMinimumSize): Call minimumSize.
11066 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11067 (gtkWidgetGetDimensions): Return the peer widget's current size
11068 request.
11069 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11070 natural size request.
11071
11072 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11073
11074 Thanks to Brian Gough <bjg@network-theory.com>
11075 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11076 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11077
11078 2004-01-04 Matthias Klose <doko@debian.org>
11079
11080 * aclocal.m4: Rebuilt using "aclocal -I .".
11081 * configure: Rebuilt.
11082
11083 2004-01-03 Per Bothner <per@bothner.com>
11084
11085 * java/util/Date.java (parse): Fix a number of problems.
11086 (skipParens): Remove no-longer-needed method.
11087