ExplicitBeanInfo.java: Explicitely import java.awt.Image.
[gcc.git] / libjava / ChangeLog
1 2004-10-16 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/beans/ExplicitBeanInfo.java:
4 Explicitely import java.awt.Image.
5 (getIcon): Fixed off-by-one error.
6
7 2004-10-15 Andrew Haley <aph@redhat.com>
8
9 * Makefile.am (nat_files, xlib_nat_files): New.
10 * Makefile.in: Regenerate.
11
12 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
13
14 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
15 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
16
17 2004-10-13 Andrew Haley <aph@redhat.com>
18
19 * interpret.cc (_Jv_InterpMethod::run): Initialize
20 _Jv_StartOfInterpreter.
21 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
22 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
23 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
24 _Unwind_FindEnclosingFunction to discover whether PC is within the
25 interpreter.
26
27 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
28
29 PR libgcj/17903:
30 * testsuite/libjava.lang/md5test.java: New file.
31 * testsuite/libjava.lang/md5test.out: Likewise.
32 * testsuite/libjava.lang/shatest.java: Likewise.
33 * testsuite/libjava.lang/shatest.out: Likewise.
34
35 2004-10-11 Richard Henderson <rth@redhat.com>
36
37 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
38 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
39
40 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
41
42 * java/util/Calendar.java (set): Invalidate DST_OFFSET
43 field as a DST boundary may have been crossed.
44 * java/util/GregorianCalendar.java (add): Throw
45 IllegalArgumentException on attempt to add to DST_OFFSET or
46 ZONE_OFFSET fields. Update javadoc.
47
48 2004-10-09 Michael Koch <konqueror@gmx.de>
49
50 * java/io/CharArrayWriter.java
51 (resize): Removed redundant 'final' modifier.
52 * java/io/DataInputStream.java
53 (readFully): Throw IndexOutOfBoundsException of len < 0.
54 * java/io/FileDescriptor.java,
55 java/io/FileInputStream.java,
56 java/io/FileOutputStream.java,
57 java/io/ObjectOutputStream.java,
58 java/io/ObjectStreamClass.java,
59 java/io/PipedInputStream.java,
60 java/io/RandomAccessFile.java:
61 Reorganized import statements.
62
63 2004-10-09 Michael Koch <konqueror@gmx.de>
64
65 * gnu/java/rmi/rmic/RMIC.java,
66 gnu/java/rmi/server/RMIHashes.java,
67 gnu/java/rmi/server/RMIObjectInputStream.java,
68 gnu/java/rmi/server/UnicastConnection.java,
69 gnu/java/rmi/server/UnicastConnectionManager.java,
70 gnu/java/rmi/server/UnicastRemoteCall.java,
71 gnu/java/rmi/server/UnicastServerRef.java:
72 Reworked import statements and fixed file headers.
73
74 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
75
76 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
77 emission rule.
78 * configure: Rebuilt.
79
80 2004-09-30 Tom Tromey <tromey@redhat.com>
81
82 * java/text/MessageFormat.java (Field): Constructor now
83 protected.
84
85 2004-09-30 Tom Tromey <tromey@redhat.com>
86
87 * javax/crypto/MacSpi.java: Fixed typo.
88
89 2004-09-30 Michael Koch <konqueror@gmx.de>
90
91 * java/net/InetAddress.java: Reformatted.
92 (loopback): Initialize with Inet4Address object.
93 (static): Initialize ANY_IF with Inet4Address object.
94 (InetAddress): Removed unused package-private constructor.
95
96 2004-09-30 Michael Koch <konqueror@gmx.de>
97
98 * java/beans/Beans.java,
99 java/beans/EventHandler.java,
100 java/beans/EventSetDescriptor.java,
101 java/beans/Introspector.java,
102 java/beans/PropertyEditorManager.java,
103 java/beans/beancontext/BeanContext.java,
104 java/beans/beancontext/BeanContextChild.java,
105 java/beans/beancontext/BeanContextChildSupport.java,
106 java/beans/beancontext/BeanContextMembershipEvent.java:
107 Reordered import statements and removed redundant modifiers.
108
109 2004-09-29 Tom Tromey <tromey@redhat.com>
110
111 PR libgcj/17715:
112 * Makefile.in: Rebuilt.
113 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
114 files.
115 (all_property_files): New macro.
116
117 * Makefile.in: Rebuilt.
118 * Makefile.am (ordinary_java_source_files): Re-sorted.
119 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
120
121 2004-09-28 Tom Tromey <tromey@redhat.com>
122
123 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
124
125 PR libgcj/17222:
126 * Makefile.am (libgcj.la): Restored.
127 * Makefile.in: Rebuilt.
128
129 2004-09-28 Michael Koch <konqueror@gmx.de>
130
131 * java/net/URLConnection.java: Reformatted.
132 * java/net/URLClassLoader.java: Reformatted.
133 (getContent): Reordered return of content.
134 (getContentHandler): Don't check for null explicitely.
135
136 2004-09-27 Michael Koch <konqueror@gmx.de>
137
138 * java/io/BufferedInputStream.java
139 (BufferedInputStream): Added Jeroen Frijters to authors.
140 (count): Don't explicitely initialize with default value.
141 (pos): Likewise.
142 (marklimit): Likewise.
143 (read): Changed boolean expression to match GNU classpath' version.
144 (reset): Add proper message to exception.
145 (skip): Check for closed stream.
146 (refill): Likewise.
147
148 2004-09-26 Per Bothner <per@bothner.com>
149
150 * prims.cc (unblock_signal): Annotate signum with __unused__ to
151 avoid warnings in the non-POSIX_VERSION case.
152 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
153 so place it inside an #if block.
154 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
155 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
156 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
157 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
158
159 2004-09-26 Per Bothner <per@bothner.com>
160
161 * prims.cc (process_gcj_properties): Optimization.
162
163 2004-09-26 Per Bothner <per@bothner.com>
164
165 * java/util/Collections.java (sort): Copy from array in forwards
166 order, rather than reverse order which may be much less efficient.
167
168 2004-09-26 Mark Wielaard <mark@klomp.org>
169
170 * java/lang/System.java (properties): Make package private.
171 * java/lang/Throwable.java (StaticData.nl): Initialize through
172 directly accessing System.properties.getProperty().
173
174 * java/lang/Throwable.java (nl): Remove static field.
175 (StaticData): New private static inner class.
176 (stackTraceStringBuffer): Use StaticData.nl.
177
178 2004-09-26 Casey Marshall <csm@gnu.org>
179
180 * java/security/ProtectionDomain.java
181 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
182 `true'.
183
184 * java/security/SecureClassLoader.java
185 (defineClass): make protection domain dynamically bound.
186 (getPermissions): call `getCurrentPolicy' to avoid permission
187 check.
188
189 2004-09-25 Mark Wielaard <mark@klomp.org>
190
191 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
192 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
193 * Makefile.in: Regenerated.
194
195 * gcj/javaprims.h: Regenerated.
196
197 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
198 (getDefaultTimeZone): Make package private. Check that GMToffset
199 contains at least one digit.
200 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
201 VMTimeZone.
202 * util/VMTimeZone.java: New file with above methods.
203
204 * java/util/natTimeZone.cc: Removed (renamed).
205 * java/util/natVMTimeZone.cc: Added (renamed).
206
207 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
208
209 * java/util/TimeZone.java
210 (getDefaultTimeZone): Fixed test to distinguish between hours and
211 minutes in specified timezone.
212
213 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
214
215 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
216 handling of default package. (generate): Removed confused comments
217 and code about making Method and Field accessible.
218
219 2004-09-25 Tom Tromey <tromey@redhat.com>
220
221 PR java/17500:
222 * testsuite/libjava.compile/pr17500.java: New file.
223
224 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
225 Mark Wielaard <mark@klomp.org>
226
227 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
228 * gnu/regexp/RETokenLookAhead.java: New file.
229
230 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
231 * Makefile.in: Regenerated.
232
233 2004-09-25 Michael Koch <konqueror@gmx.de>
234
235 * java/io/ObjectStreamField.java:
236 Removed unused import statement.
237
238 2004-09-24 Tom Tromey <tromey@redhat.com>
239
240 PR java/15656:
241 * testsuite/libjava.compile/pr15656.xfail: New file.
242 * testsuite/libjava.compile/pr15656.java: new file.
243
244 PR java/16789:
245 * testsuite/libjava.lang/pr16789.out: New file.
246 * testsuite/libjava.lang/pr16789.java: New file.
247
248 2004-09-24 Andrew Haley <aph@redhat.com>
249
250 PR java/16927
251 * testsuite/libjava.compile/AssertBug.java: New file.
252
253 2004-09-24 Casey Marshall <csm@gnu.org>
254
255 * java/util/PropertyPermissionCollection.java
256 (implies): avoid infinite loop.
257
258 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
259
260 * javax/security/auth/PrivateCredentialPermission.java
261 (PrivateCredentialPermission): added serialization UID
262
263
264 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
265
266 * gnu/java/rmi/server/UnicastServer.java
267 (incomingMessageCall): Added code to handle Errors.
268 * gnu/java/rmi/server/UnicastServerRef.java
269 (incomingMessageCall): Added code to handle Errors.
270
271
272 2004-09-24 Tom Tromey <tromey@redhat.com>
273
274 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
275 (definedPackages): Likewise.
276
277 2004-09-24 Michael Koch <konqueror@gmx.de>
278
279 * java/io/ObjectInputStream.java:
280 Re-ordered imports.
281
282 2004-09-24 Casey Marshall <csm@gnu.org>
283
284 * java/io/ObjectInputStream.java (callReadMethod): re-throw
285 `ClassNotFoundException'.
286
287 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
288
289 * java/io/ObjectInputStream.java (readObject): Delegate instantation
290 of Externalizable classes to ObjectStreamClass.
291 * java/io/ObjectStreamClass.java (newInstance): New method to
292 instantiate Externalizable (while ignoring the accessibility of
293 the constructor). (constructor): New field to cache the constructor.
294
295 2004-09-24 Mark Wielaard <mark@klomp.org>
296
297 * java/net/URL.java (systemClassLoader): New static field.
298 (getURLStreamHandler): Always use system/application classloader
299 for finding URLStreamhandler. Remove unecessary instanceof checks.
300
301 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
302
303 * java/net/URL.java
304 (set): This method now matches the behaviour of the JDK.
305 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
306
307 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
308
309 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
310
311 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
312
313 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
314 Don't set authority if host isn't specified.
315
316 2004-09-24 Michael Koch <konqueror@gmx.de>
317
318 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
319 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
320 * gnu/java/nio/VMPipe.java,
321 gnu/java/nio/VMSelector.java:
322 New files.
323 * gnu/java/nio/natPipeImplEcos.cc,
324 gnu/java/nio/natPipeImplPosix.cc,
325 gnu/java/nio/natPipeImplWin32.cc:
326 Ported to VMPipe.
327 * gnu/java/nio/natSelectorImplEcos.cc,
328 gnu/java/nio/natSelectorImplPosix.cc,
329 gnu/java/nio/natSelectorImplWin32.cc:
330 Ported to VMSelector.
331 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
332 gnu/java/nio/VMSelector.java.
333 * Makefile.in: Regenerated.
334
335 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
336
337 * java/lang/StackTraceElement.java
338 (className): Renamed field to declaringClass to be compatible
339 with Sun serialization format.
340
341 2004-09-23 Michael Koch <konqueror@gmx.de>
342
343 * java/applet/AppletContext.java,
344 java/applet/Applet.java,
345 java/applet/AppletStub.java,
346 java/applet/AudioClip.java:
347 Jalopied and checkstyle clean.
348
349 2004-09-23 Mark Wielaard <mark@klomp.org>
350
351 * java/util/Collections.java
352 (binarySearch(List, Object, Comparator)): Explicitly
353 reverse direction in list iterator.
354 (rotate): Just return when list is empty.
355
356 2004-09-23 Tom Tromey <tromey@redhat.com>
357
358 PR java/17329:
359 * testsuite/libjava.compile/pr17329.java: New file.
360
361 PR java/17380:
362 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
363 9.2-implicit-7.
364
365 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
366
367 * Makefile.am: Run aclocal with -I ../config
368 * acinclude.m4: Delete macros picked up from ../config and tidy.
369 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
370 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
371 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
372
373 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
374
375 * aclocal.m4: Regenerate with aclocal 1.9.2.
376 * configure: Regenerate.
377 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
378 * include/Makefile.in, testsuite/Makefile.in: Likewise.
379
380 2004-09-22 David Daney <ddaney@avtrex.com>
381
382 PR libgcj/17623
383 * java/net/URL.java (URL): Copy userInfo from context.
384 (getUserInfo): Return cached userInfo if present.
385
386 2004-09-22 Tom Tromey <tromey@redhat.com>
387
388 PR libgcj/6182:
389 * mauve-libgcj: Enable java.lang.Character tests.
390
391 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
392
393 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
394 dependencies.
395 (lib_org_ietf_jgss_la_LIBADD): Likewise.
396 * Makefile.in: Regenerated.
397
398 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
399
400 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
401 * configure: Regenerate.
402 * include/config.h.in: Likewise.
403 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
405 macro to gtkpeer.h.
406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
407 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
408 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
409 architectures.
410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
411 Likewise.
412
413 2004-09-22 Tom Tromey <tromey@redhat.com>
414
415 PR libgcj/14446:
416 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
417 when comparing CRCs.
418 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
419 field.
420 (read()): New overload.
421
422 2004-09-21 Tom Tromey <tromey@redhat.com>
423
424 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
425 Indentation fix.
426
427 2004-09-21 Michael Koch <konqueror@gmx.de>
428
429 * java/net/Socket.java
430 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
431
432 2004-09-21 Casey Marshall <csm@gnu.org>
433
434 * javax/crypto/MacSpi.java (clone): Provide meaningful
435 implementation.
436
437 2004-09-21 Tom Tromey <tromey@redhat.com>
438
439 PR libgcj/16869:
440 * Makefile.in: Rebuilt.
441 * Makefile.am (MOSTLYCLEANFILES): Removed.
442 (mostlyclean-local): Remove header files.
443
444 2004-09-21 Casey Marshall <csm@gnu.org>
445
446 * java/security/cert/X509CRLSelector.java:
447 (match): remove unreachable try-catch clauses.
448 Reported by: Dalibor Topic <robilad@kaffe.org>
449
450 2004-09-21 Mark Wielaard <mark@klomp.org>
451
452 * java/util/TreeMap.java (root): Don't initialize.
453 (TreeMap(Comparator)): Call fabricateTree(0).
454 (fabricateTree): Initialize root and size when count is 0.
455
456 2004-09-21 Sven de Marothy <sven@physto.se>
457
458 * java/nio/ByteBuffer.java (hashCode): Implemented.
459 * java/nio/CharBuffer.java: Likewise.
460 * java/nio/DoubleBuffer.java: Likewise.
461 * java/nio/FloatBuffer.java: Likewise.
462 * java/nio/LongBuffer.java: Likewise.
463 * java/nio/IntBuffer.java: Likewise.
464 * java/nio/ShortBuffer.java: Likewise.
465
466 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
467
468 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
469
470 2004-09-21 Michael Koch <konqueror@gmx.de>
471
472 * javax/net/ssl/SSLServerSocket.java:
473 Removed comment about "Do not edit this file, it's generated.".
474
475 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
476
477 Import the big Crypto/Jessie/Security merge from Classpath.
478
479 * Makefile.am: Add imported files.
480 * Makefile.in: Regenerate.
481
482 2004-08-14 Casey Marshall <csm@gnu.org>
483
484 The Big Crypto Merge of 2004.
485
486 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
487 Crypto's version.
488
489 Files imported from GNU Crypto.
490 * javax/crypto/BadPaddingException.java
491 * javax/crypto/Cipher.java
492 * javax/crypto/CipherInputStream.java
493 * javax/crypto/CipherOutputStream.java
494 * javax/crypto/CipherSpi.java
495 * javax/crypto/EncryptedPrivateKeyInfo.java
496 * javax/crypto/ExemptionMechanism.java
497 * javax/crypto/ExemptionMechanismException.java
498 * javax/crypto/ExemptionMechanismSpi.java
499 * javax/crypto/IllegalBlockSizeException.java
500 * javax/crypto/KeyAgreement.java
501 * javax/crypto/KeyAgreementSpi.java
502 * javax/crypto/KeyGenerator.java
503 * javax/crypto/KeyGeneratorSpi.java
504 * javax/crypto/Mac.java
505 * javax/crypto/MacSpi.java
506 * javax/crypto/Makefile.am
507 * javax/crypto/NoSuchPaddingException.java
508 * javax/crypto/NullCipher.java
509 * javax/crypto/NullCipherImpl.java
510 * javax/crypto/SealedObject.java
511 * javax/crypto/SecretKey.java
512 * javax/crypto/SecretKeyFactory.java
513 * javax/crypto/SecretKeyFactorySpi.java
514 * javax/crypto/ShortBufferException.java
515 * javax/crypto/interfaces/DHKey.java
516 * javax/crypto/interfaces/DHPrivateKey.java
517 * javax/crypto/interfaces/DHPublicKey.java
518 * javax/crypto/interfaces/PBEKey.java
519 * javax/crypto/spec/DESKeySpec.java
520 * javax/crypto/spec/DESedeKeySpec.java
521 * javax/crypto/spec/DHGenParameterSpec.java
522 * javax/crypto/spec/DHParameterSpec.java
523 * javax/crypto/spec/DHPrivateKeySpec.java
524 * javax/crypto/spec/DHPublicKeySpec.java
525 * javax/crypto/spec/IvParameterSpec.java
526 * javax/crypto/spec/PBEKeySpec.java
527 * javax/crypto/spec/PBEParameterSpec.java
528 * javax/crypto/spec/RC2ParameterSpec.java
529 * javax/crypto/spec/RC5ParameterSpec.java
530 * javax/crypto/spec/SecretKeySpec.java
531 * javax/security/auth/AuthPermission.java
532 * javax/security/auth/DestroyFailedException.java
533 * javax/security/auth/Destroyable.java
534 * javax/security/auth/Policy.java
535 * javax/security/auth/PrivateCredentialPermission.java
536 * javax/security/auth/RefreshFailedException.java
537 * javax/security/auth/Refreshable.java
538 * javax/security/auth/Subject.java
539 * javax/security/auth/SubjectDomainCombiner.java
540 * javax/security/auth/callback/Callback.java
541 * javax/security/auth/callback/CallbackHandler.java
542 * javax/security/auth/callback/ChoiceCallback.java
543 * javax/security/auth/callback/ConfirmationCallback.java
544 * javax/security/auth/callback/LanguageCallback.java
545 * javax/security/auth/callback/NameCallback.java
546 * javax/security/auth/callback/PasswordCallback.java
547 * javax/security/auth/callback/TextInputCallback.java
548 * javax/security/auth/callback/TextOutputCallback.java
549 * javax/security/auth/callback/UnsupportedCallbackException.java
550 * javax/security/auth/login/AccountExpiredException.java
551 * javax/security/auth/login/AppConfigurationEntry.java
552 * javax/security/auth/login/Configuration.java
553 * javax/security/auth/login/CredentialExpiredException.java
554 * javax/security/auth/login/FailedLoginException.java
555 * javax/security/auth/login/LoginContext.java
556 * javax/security/auth/login/LoginException.java
557 * javax/security/auth/login/NullConfiguration.java
558 * javax/security/auth/x500/X500PrivateCredential.java
559 * javax/security/sasl/AuthenticationException.java
560 * javax/security/sasl/AuthorizeCallback.java
561 * javax/security/sasl/RealmCallback.java
562 * javax/security/sasl/RealmChoiceCallback.java
563 * javax/security/sasl/Sasl.java
564 * javax/security/sasl/SaslClient.java
565 * javax/security/sasl/SaslClientFactory.java
566 * javax/security/sasl/SaslException.java
567 * javax/security/sasl/SaslServer.java
568 * javax/security/sasl/SaslServerFactory.java
569 * org/ietf/jgss/ChannelBinding.java
570 * org/ietf/jgss/GSSContext.java
571 * org/ietf/jgss/GSSCredential.java
572 * org/ietf/jgss/GSSException.java
573 * org/ietf/jgss/GSSManager.java
574 * org/ietf/jgss/GSSName.java
575 * org/ietf/jgss/MessageProp.java
576 * org/ietf/jgss/Oid.java
577 * org/ietf/jgss/MessagesBundle.properties
578
579 Files imported from Jessie <http://www.nongnu.org/jessie/>
580 * javax/net/ServerSocketFactory.java
581 * javax/net/SocketFactory.java
582 * javax/net/VanillaServerSocketFactory.java
583 * javax/net/VanillaSocketFactory.java
584 * javax/net/ssl/HandshakeCompletedEvent.java
585 * javax/net/ssl/HandshakeCompletedListener.java
586 * javax/net/ssl/HostnameVerifier.java
587 * javax/net/ssl/HttpsURLConnection.java
588 * javax/net/ssl/KeyManager.java
589 * javax/net/ssl/KeyManagerFactory.java
590 * javax/net/ssl/KeyManagerFactorySpi.java
591 * javax/net/ssl/ManagerFactoryParameters.java
592 * javax/net/ssl/SSLContext.java
593 * javax/net/ssl/SSLContextSpi.java
594 * javax/net/ssl/SSLException.java
595 * javax/net/ssl/SSLHandshakeException.java
596 * javax/net/ssl/SSLKeyException.java
597 * javax/net/ssl/SSLPeerUnverifiedException.java
598 * javax/net/ssl/SSLPermission.java
599 * javax/net/ssl/SSLProtocolException.java
600 * javax/net/ssl/SSLServerSocket.java
601 * javax/net/ssl/SSLServerSocketFactory.java
602 * javax/net/ssl/SSLSession.java
603 * javax/net/ssl/SSLSessionBindingEvent.java
604 * javax/net/ssl/SSLSessionBindingListener.java
605 * javax/net/ssl/SSLSessionContext.java
606 * javax/net/ssl/SSLSocket.java
607 * javax/net/ssl/SSLSocketFactory.java
608 * javax/net/ssl/TrivialHostnameVerifier.java
609 * javax/net/ssl/TrustManager.java
610 * javax/net/ssl/TrustManagerFactory.java
611 * javax/net/ssl/TrustManagerFactorySpi.java
612 * javax/net/ssl/X509KeyManager.java
613 * javax/net/ssl/X509TrustManager.java
614 * javax/security/cert/Certificate.java
615 * javax/security/cert/CertificateEncodingException.java
616 * javax/security/cert/CertificateException.java
617 * javax/security/cert/CertificateExpiredException.java
618 * javax/security/cert/CertificateNotYetValidException.java
619 * javax/security/cert/CertificateParsingException.java
620 * javax/security/cert/X509CertBridge.java
621 * javax/security/cert/X509Certificate.java
622
623 2004-08-20 Casey Marshall <csm@gnu.org>
624
625 * java/security/cert/X509CRLSelector.java: New file.
626 * java/security/cert/X509CertSelector.java: New file.
627
628 2004-09-15 Michael Koch <konqueror@gmx.de>
629
630 * gnu/java/net/protocol/file/Handler.java
631 (openConnection): Don't throw exception if host part for file: URI is
632 present. setURL() keeps file: protocol if ftp: protocol is not
633 available.
634
635 2004-09-14 Richard Henderson <rth@redhat.com>
636
637 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
638 value of sigsuspend.
639
640 2004-09-12 Tom Tromey <tromey@redhat.com>
641
642 * javax/naming/CompoundName.java (CompoundName): Don't check for
643 separator in "flat" case.
644
645 2004-09-12 Michael Koch <konqueror@gmx.de>
646
647 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
648 AM_CONFIG_HEADER by AC_CONFIG_FILES.
649 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
650 Regenerate.
651
652 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
653
654 PR libgcj/14751
655 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
656 handle in newly-allocated _Jv_Thread_t.
657 (_Jv_ThreadDestroyData): Close thread handle.
658 (_Jv_ThreadStart): Remove obsolete comment.
659 Store handle of newly-created thread in _Jv_Thread_t.
660 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
661 before including <windows.h>
662 #define _Jv_HaveCondDestroy
663
664 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
665
666 * java/lang/natThread.cc (finalize_native): Destroy
667 join conditional variable and mutex if these destroy
668 operations are supported.
669
670 2004-09-10 Dalibor Topic <robilad@kaffe.org>
671
672 * gnu/java/net/protocol/file/Connection.java (permission): New field.
673 (DEFAULT_PERMISSION): New constant.
674 (Connection): Create a FilePermission with permission to read file.
675
676 2004-09-10 Michael Koch <konqueror@gmx.de>
677
678 * gnu/java/net/protocol/file/Connection.java
679 (getLastModified): Moved around.
680 (getPermission): Return stored permission.
681
682 2004-09-10 Michael Koch <konqueror@gmx.de>
683
684 * Makefile.in: Regenerate.
685
686 2004-09-10 Michael Koch <konqueror@gmx.de>
687
688 * Makefile.am: Reverted accidently commited stuff.
689 * configure: Regenerated.
690
691 2004-09-10 Michael Koch <konqueror@gmx.de>
692
693 * gnu/java/net/protocol/file/Connection.java
694 (lineSeparator): Made non-final.
695 (static): Removed.
696 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
697 instead of StringBufferInputStream.
698
699 2004-09-10 Michael Koch <konqueror@gmx.de>
700
701 * gnu/java/net/protocol/file/Connection.java
702 (connect): Handle file is a directory case.
703
704 2004-09-10 Michael Koch <konqueror@gmx.de>
705
706 * Makefile.am
707 (xlib_includes): Removed.
708 (AM_CPPFLAGS): Renamed from INCLUDES.
709 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
710 * Makefile.in: Regenerate.
711
712 2004-09-09 Michael Koch <konqueror@gmx.de>
713
714 * java/security/ProtectionDomain.java,
715 * java/util/PropertyPermissionCollection.java:
716 Fixed javadocs all over.
717
718 2004-09-09 Sven de Marothy <sven@physto.se>
719
720 Patch from David Gilbert <david.gilbert@object-refinery.com>
721 * java/lang/Comparable.java: Fixed documentation errors.
722 * java/util/Arrays.java: Likewise.
723
724 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
725
726 * java/net/Inet4Address.java
727 (Inet4Address): Added comment to serialization UID.
728 * java/text/Format.java
729 (Format): Added comment to serialization UID.
730
731 2004-09-09 Michael Koch <konqueror@gmx.de>
732
733 * java/lang/System.java
734 (err): Fixed javadoci to point to setErr() and not setOut().
735
736 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
737
738 (normalizePath): Added special case for windows systems.
739
740 2004-09-09 Michael Koch <konqueror@gmx.de>
741
742 * java/io/File.java
743 (dupSeparator): Made private.
744 (File(URI)): New constructor.
745 (getParentFile): Fixed javadoc.
746 (createTempFile): Reformated.
747 (setReadOnly): Added comment.
748 (deleteOnExit): Merged javadoc with classpath version.
749
750 2004-09-09 Michael Koch <konqueror@gmx.de>
751
752 * Makefile.am: Don't try to include deps.mk.
753 * Makefile.in: Regenerated.
754
755 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
756
757 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
758 .d files.
759 * configure: Rebuilt.
760
761 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
762
763 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
764 Changed pfn from static local to local.
765
766 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
767 H.J. Lu <hongjiu.lu@intel.com>
768
769 PR libgcj/17290
770 * Makefile.am (GCJCOMPILE): Remove definition.
771 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
772 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
773 * Makefile.in: Rebuilt.
774
775 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
776
777 * configure.ac (enable-gc-debug): Update help for new syntax.
778 * configure: Regenerate.
779
780 2004-09-03 David Daney <ddaney@avtrex.com>
781
782 * include/mips-signal.h: Update copyright.
783
784 2004-09-03 David Daney <ddaney@avtrex.com>
785
786 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
787 * include/mips-signal.h: Added HANDLE_FPE support.
788
789 2004-08-31 Michael Koch <konqueror@gmx.de>
790
791 * javax/swing/plaf/basic/BasicTextAreaUI.java
792 (create): New method.
793 * javax/swing/text/DefaultHighlighter.java
794 (DefaultHighlightPainter.debugRect): Removed.
795 * javax/swing/text/StyleContext.java
796 (DEFAULT_STYLE): New field.
797
798 2004-08-31 Michael Koch <konqueror@gmx.de>
799
800 * javax/swing/plaf/basic/BasicLookAndFeel.java
801 (initComponentDefaults): Add keybindings for selection.backward and
802 selection-forward for text components.
803 * javax/swing/plaf/basic/BasicTextUI.java
804 (paintSafely): Paint highlight only when something is actually
805 selected.
806 * javax/swing/text/DefaultCaret.java
807 (handleHighlight): New method.
808 (setSelectionVisible): Don't do anything when nothing changes.
809 Handle highlight.
810 (moveDot): Reimplemented. Handle highlight.
811 (setDot): Set mark too. Handle highlight.
812 (getSelectionPainter): New method.
813 * javax/swing/text/DefaultEditorKit.java
814 (defaultActions): Added new actions for text selection.
815 * javax/swing/text/DefaultHighlighter.java
816 (DefaultHighlightPainter): New inner class.
817 (DefaultPainter): New field.
818 (paint): Implemented.
819 * javax/swing/text/PlainView.java
820 (paint): Don't draw background here again.
821 * javax/swing/text/Utilities.java
822 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
823 (drawTabbedText): Likewise.
824
825 2004-08-31 Graydon Hoare <graydon@redhat.com>
826
827 * javax/swing/JComponent.java
828 (resetKeyboardActions): Add null checks.
829
830 2004-08-31 Graydon Hoare <graydon@redhat.com>
831
832 * javax/swing/DefaultButtonModel.java:
833 Skip group notification when no group is set.
834
835 2004-08-31 Graydon Hoare <graydon@redhat.com>
836
837 * javax/swing/JColorChooser.java:
838 Make a couple inner classes static, for jikes.
839
840 2004-08-31 Michael Koch <konqueror@gmx.de>
841
842 * javax/swing/plaf/basic/BasicTextUI.java
843 (RottView.modelToView): New method.
844 (UpdateHandler): Renamed from EventHandler.
845 (updateHandler): Renamed from eventHandler.
846 (modelToView): Implemented.
847 * javax/swing/text/AbstractDocument.java
848 (BranchElement.getElement): Return null for non-existing indeces.
849 (BranchElement.getElementIndex): Return 0 in some corner cases.
850 * javax/swing/text/FieldView.java
851 (modelToView): New method.
852 * javax/swing/text/PlainView.java
853 (modelToView): Made public.
854
855 2004-08-31 Kim Ho <kho@redhat.com>
856
857 * Makefile.am: New files.
858 * Makefile.in: Regenerate.
859 * gcj/Makefile.in: Regenerate.
860 * include/Makefile.in: Regenerate.
861 * java/awt/Color.java: Fix documentation.
862 (RGBtoHSB): Use floats for conversions.
863 * javax/swing/ButtonGroup.java: Run Jalopy.
864 (setSelected): Reimplement.
865 * javax/swing/DefaultButtonModel.java: Run Jalopy.
866 (changeState): Let ButtonGroup know that the button
867 is changing state.
868 * javax/swing/JColorChooser.java: Implement.
869 * javax/swing/JLabel.java: Run Jalopy.
870 * javax/swing/JSpinner.java: Run Jalopy.
871 (setValue): New method.
872 * javax/swing/JTabbedPane.java: Run Jalopy.
873 (removeTabAt): Call correct remove method.
874 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
875 (getPreviousValue): Compare minimum value.
876 * javax/swing/Timer.java: Run Jalopy.
877 (run): Comment out println.
878 * javax/swing/ToolTipManager.java:
879 (mouseMoved): Get new tooltip text for location.
880 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
881 Jalopy and Javadoc.
882 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
883 Implement.
884 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
885 Run Jalopy.
886 (setSelectedColor): Fire ChangeEvent.
887 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
888 New file. Implement.
889 * javax/swing/colorchooser/DefaultPreviewPanel.java:
890 Ditto.
891 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
892 Ditto.
893 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
894 Ditto.
895 * javax/swing/plaf/basic/BasicArrowButton.java:
896 (getArrow): Fix size of upward pointing button.
897 * javax/swing/plaf/basic/BasicColorChooserUI.java:
898 Implement.
899 * javax/swing/plaf/basic/BasicSliderUI.java:
900 (getWidthOfWidestLabel): Use preferred dimensions.
901 (getHeightOfTallestLabel): Ditto.
902 * javax/swing/plaf/basic/BasicSpinnerUI.java:
903 Run Jalopy.
904 (mousePressed): Disable changes to spinner if it is not enabled.
905 * testsuite/Makefile.in: Regenerate.
906
907
908 2004-08-31 Michael Koch <konqueror@gmx.de>
909
910 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
911 javax/swing/plaf/basic/BasicTableUI.java:
912 Added copyright notice.
913
914 2004-08-31 Olga Rodimina <rodimina@redhat.com>
915
916 * Makefile.am: Added new files.
917 * Makefile.in: Regenerate.
918 * javax/swing/ComboBoxEditor.java: Added javadocs.
919 * javax/swing/ComboBoxModel.java: Likewise.
920 * javax/swing/DefaultComboBoxModel.java: Implemented.
921 * javax/swing/DefaultListCellRenderer.java: Added javadocs
922 and ran through jalopy to fix formatting style.
923 (getListCellRendererComponent): Use appropriate border
924 if renderer has focus and use noFocusBorder when it doesn't.
925 * javax/swing/JComboBox.java: Implemented.
926 * javax/swing/JList.java:
927 (locationToIndex): New Method. Implemented.
928 (indexToLocation): New Method.
929 * javax/swing/JPopupMenu.java:
930 (visible): New field.
931 (isVisible): Changed to use new field above.
932 (setVisible): Likewise.
933 * javax/swing/MutableComboBoxModel.java: Added javadocs.
934 * javax/swing/plaf/basic/BasicArrowButton.java:
935 (shadow): Changed default color to Color.gray.
936 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
937 UI delegate for JComboBox.
938 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
939 Popup menu containing list of JComboBox's items.
940 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
941 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
942 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
943 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
944 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
945 (popupMenuWillBecomeVisible): Set selected path to the first
946 element only if it is of type MenuElement. Also fix formatting
947 style.
948 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
949 methods signatures.
950
951 2004-08-31 Michael Koch <konqueror@gmx.de>
952
953 * javax/swing/text/AbstractDocument.java
954 (createBranchElement): Use new constructor of BranchElement.
955 (createLeafElement): Renamed arguments.
956 (getRootElements): Implemented.
957 (BranchElement.start): Removed.
958 (BranchElement.end): Likewise.
959 (BranchElement.BranchElement): Fixed arguments.
960 (BranchElement.getEndOffset): Reimplemented.
961 (BranchElement.getStartOffset): Likewis.
962 * javax/swing/text/DefaultCaret.java
963 (paint): Draw simple vertical line as caret instead of a rectangle.
964 * javax/swing/text/JTextComponent.java
965 (setText): Use doc directly.
966 * javax/swing/text/PlainView.java
967 (nextTabStop): Implemented.
968 * javax/swing/text/Utilities.java
969 (drawTabbedText): nextTabStop() returns an absolute x position.
970 (getTabbedTextWidth): Likewise.
971
972 2004-08-31 Graydon Hoare <graydon@redhat.com>
973
974 * java/awt/Component.java
975 (isFocusTraversable): Predicate on isLightweight()
976 (setFocusable): Set isFocusTraversableOverridden.
977 (requestFocus): Predicate peer dispatch on !isLightweight()
978 (requestFocusInWindow): Likewise.
979 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
980 * java/awt/Container.java
981 (dispatchEventImpl): Predicate on event mask.
982 (LightweightDispatcher): Remove focus machinery.
983 * java/awt/DefaultFocusTraversalPolicy.java
984 (accept): Expand predicate to include isFocusable().
985 * java/awt/DefaultKeyboardFocusManager.java:
986 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
987 * java/awt/KeyboardFocusManager.java
988 (redispatchEvent): Synchronize on event to prevent feedback.
989 * javax/swing/AbstractButton.java
990 (ButtonFocusListener): Remove class.
991 (init): Set focusPainted, focusable.
992 * javax/swing/ActionMap.java (get): Check parent for null.
993 * javax/swing/InputMap.java (get): Likewise.
994 * javax/swing/JComponent.java
995 (inputMap_whenFocused): New InputMap.
996 (inputMap_whenAncestorOfFocused): Likewise.
997 (inputMap_whenInFocusedWindow): Likewise.
998 (getActionForKeyStroke): Rewrite.
999 (getConditionForKeystroke): Likewise.
1000 (ActionListenerProxy): New private class.
1001 (setInputMap): Implement.
1002 (getInputMap): Likewise.
1003 (setActionMap): Likewise.
1004 (getActionMap): Likewise.
1005 (processComponentKeyEvent): New empty method.
1006 (processKeyEvent): Implement.
1007 (processKeyBinding): Likewise.
1008 (resetKeyboardActions): Rewrite.
1009 * javax/swing/KeyStroke.java: Rewrite.
1010 * javax/swing/SwingUtilities.java
1011 (notifyAction): Implement.
1012 (replaceUIActionMap): Likewise.
1013 (replaceUIInputMap): Likewise.
1014 * javax/swing/plaf/basic/BasicButtonListener.java
1015 (focusGained): Implement.
1016 (focusLost): Repaint if focusPainted().
1017 (installKeyboardActions): Install pressed / released actions.
1018 (uninstallKeyboardActions): Implement.
1019 * javax/swing/plaf/basic/BasicButtonUI.java
1020 (focusColor): New field.
1021 (installDefaults): Load focus color, install input map.
1022 (installKeyboardActions): Implement.
1023 (uninstallKeyboardActions): Likewise.
1024 (paintFocus): Rewrite.
1025 * javax/swing/plaf/basic/BasicLookAndFeel.java
1026 (Button.focus): New default, midPurple.
1027 * javax/swing/plaf/basic/BasicTextUI.java
1028 (kit): Make static.
1029 (installUI): Get doc from kit, load defaults.
1030 (getKeymapName): Implement.
1031 (createKeymap): Likewise.
1032 (installKeyboardActions): Likewise.
1033 (getInputMap): Likewise.
1034 (getActionMap): Likewise.
1035 (createActionMap): Likewise.
1036 * javax/swing/text/AbstractDocument.java
1037 (getStartPosition): Implement.
1038 (getEndPosition): Likewise.
1039 * javax/swing/text/DefaultEditorKit.java
1040 (CopyAction): New class.
1041 (CutAction): Likewise.
1042 (DefaultKeyTypedAction): Likewise.
1043 (InsertBreakAction): Likewise.
1044 (InsertContentAction): Likewise.
1045 (InsertTabAction): Likewise.
1046 (PasteAction): Likewise.
1047 (defaultActions): New static table.
1048 (createCaret): Implement.
1049 (getActions): Likewise.
1050 * javax/swing/text/JTextComponent.java
1051 (KeymapWrapper): New private class.
1052 (KeymapActionMap): Likewise.
1053 (DefaultKeymap): New class.
1054 (keymaps): New static table.
1055 (keymap): New field.
1056 (getKeymap): Implement.
1057 (removeKeymap): Likewise.
1058 (addKeymap): Likewise.
1059 (setKeymap): Likewise.
1060 (loadKeymap): Likewise.
1061 (getActions): Likewise.
1062 (margin): New field.
1063 (JTextComponent): Build and install default keymap.
1064 * javax/swing/text/TextAction.java
1065 (textAction): Call super properly.
1066 (getTextComponent): Implement.
1067 * javax/swing/text/Utilities.java
1068 (drawTabbedText): Adjust position by ascent.
1069
1070 2004-08-31 David Jee <djee@redhat.com>
1071
1072 PR AWT/17156
1073
1074 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1075 (setEnabled): Make it a native method.
1076 * java/awt/DefaultKeyboardFocusManager.java
1077 (postProcessKeyEvent): Only post event if the menu item
1078 is active.
1079 * java/awt/MenuItem.java:
1080 Private field 'enabled' should be true by default.
1081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1082 (setEnabled): New function.
1083
1084 2004-08-31 David Jee <djee@redhat.com>
1085
1086 PR AWT/17059
1087
1088 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1089 (nativeSetHelpMenu): New native method declaration.
1090 (addHelpMenu): Call nativeSetHelpMenu().
1091 (addMenu): Remove.
1092 * java/awt/MenuBar.java
1093 (setHelpMenu): Call addNotify() on the new help menu.
1094 (add): Call addNotify() on the new menu.
1095 (addNotify): Set the help menu if one exists.
1096 * java/awt/peer/MenuBarPeer.java
1097 (addMenu): Remove.
1098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1099 (nativeSetHelpMenu): New method.
1100
1101 2004-08-31 Graydon Hoare <graydon@redhat.com>
1102
1103 * Makefile.am: Add new files.
1104 * Makefile.in: Regenerate.
1105 * javax/swing/Box.java: Fix setting of layout in ctor.
1106 * javax/swing/JScrollPane.java: Scroll headers as well.
1107 * javax/swing/JTable.java: Reimplement.
1108 * javax/swing/JViewPort.java: Only add non-null children.
1109 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1110 * javax/swing/Timer.java: Fix stopping null waker.
1111 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1112 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1113 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1114 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1115 * javax/swing/table/DefaultTableModel.java: Clean up.
1116 * javax/swing/table/JTableHeader.java: Implement.
1117
1118 2004-08-31 Mark Wielaard <mark@klomp.org>
1119
1120 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1121 semi-colon.
1122
1123 2004-08-31 Mark Wielaard <mark@klomp.org>
1124
1125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1126 Declare variables at top of functions/block.
1127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1128
1129 2004-08-31 Mark Wielaard <mark@klomp.org>
1130
1131 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1132 first.
1133
1134 2004-08-31 Michael Koch <konqueror@gmx.de>
1135
1136 * javax/swing/text/PlainView.java
1137 (selectedColor): New field.
1138 (unselectedColor): Likewise.
1139 (font): Likewise.
1140 (updateMetrics): New method.
1141 (lineToRect): Likewise.
1142 (modelToView): Likewise.
1143 (drawSelectedText): Use color from JTextComponent ad draw with
1144 Utilities class.
1145 (drawUnselectedText): Likewise.
1146 (paint): Initialize helper fields.
1147 * javax/swing/text/View.java
1148 (getChildAllocation): New method.
1149 (getViewIndex): Likewise.
1150 (getToolTipText): Likewise.
1151
1152 2004-08-31 Michael Koch <konqueror@gmx.de>
1153
1154 * javax/swing/text/Utilities.java
1155 (drawTabbedText): Reimplemented.
1156 (getTabbedTextWidth): Likewise.
1157
1158 2004-08-31 Michael Koch <konqueror@gmx.de>
1159
1160 * javax/swing/plaf/basic/BasicTextUI.java
1161 (installDefaults): Install caret and highlighter.
1162 (modelToView): Use Bias.Forward when calling sibling.
1163 * javax/swing/text/AbstractDocument.java
1164 (ElementEdit): Implements DocumentEvent.ElementChange.
1165 (ElementEdit.ElementEdit): New method.
1166 (ElementEdit.getChildrenAdded): Likewise.
1167 (ElementEdit.getChildrenRemoved): Likewise.
1168 (ElementEdit.getElement): Likewise.
1169 (ElementEdit.getIndex): Likewise.
1170 * javax/swing/text/DefaultCaret.java
1171 (color): Removed.
1172 (textComponent): Renamed from parent, made private.
1173 (selectionVisible): Renamed from vis_sel, made private.
1174 (blinkRate): Renamed from blink, made private.
1175 (magicCaretPosition): Renamed from magic, made private.
1176 (visible): Renamed from vis, made private.
1177 (dot): Made private.
1178 (mark): Likewise.
1179 (deinstall): Remove as MouseMotionListener.
1180 (install): Initialize textComponent first. Add as MouseMotionListener.
1181 (paint): Reimplemented.
1182 * javax/swing/text/JTextComponent.java
1183 (setCaret): Deinstall old caret, install new one and fire property
1184 change after setting property.
1185 (setHighlighter): Deinstall old highlighter, install new one and fire
1186 property change after setting property.
1187 (setCaretColor): Fire property change after setting property.
1188 (setDisabledTextColor): Likewise.
1189 (setSelectedTextColor): Likewise.
1190 (setSelectionColor): Likewise.
1191 (modelToView): New method.
1192
1193 2004-08-31 Michael Koch <konqueror@gmx.de>
1194
1195 * javax/swing/text/AbstractDocument.java
1196 (getText): Simplified.
1197 * javax/swing/text/Segment.java
1198 (current): New field.
1199 (current): Reimplemented.
1200 (first): Likewise.
1201 (getIndex): Likewise.
1202 (last): Likewise.
1203 (next): Likewise.
1204 (previous): Likewise.
1205 (setIndex): Likewise.
1206
1207 2004-08-31 Michael Koch <konqueror@gmx.de>
1208
1209 * javax/swing/plaf/basic/BasicButtonUI.java
1210 (defaultTextIconGap): Made protected.
1211 (defaultTextShiftOffset): Likewise.
1212 (textShiftOffset): New field.
1213 (clearTextShiftOffset): New method.
1214 (getTextShiftOffset): Likewise.
1215 (setTextShiftOffset): Likewise.
1216
1217 2004-08-31 Michael Koch <konqueror@gmx.de>
1218
1219 * javax/swing/plaf/basic/BasicTextUI.java
1220 (installUI): Add eventHandler as property listener.
1221 (uninstallUI): remove eventHandler as propert listener.
1222 (installDefaults): Added comment.
1223 (installListeners): Likewise.
1224 (installKeyboardActions): Likewise.
1225 (uninstallDefaults): Likewise.
1226 (uninstallListeners): Likewise.
1227 (uninstallKeyboardActions): Likewise.
1228
1229 2004-08-31 Michael Koch <konqueror@gmx.de>
1230
1231 * javax/swing/text/AbstractDocument.java:
1232 Fixed some typos in comments.
1233 (insertString): Reimplemented.
1234 (remove): Likewise.
1235 (replace): New method.
1236 (children): Dont use fully qualified class name.
1237 (DefaultDocumentEvent.offset): Renamed from off.
1238 (DefaultDocumentEvent.length): Renamed from len.
1239 (DefaultDocumentEvent.type): New field.
1240 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1241 (DefaultDocumentEvent.getType): Implemented.
1242
1243 2004-08-31 Michael Koch <konqueror@gmx.de>
1244
1245 * javax/swing/plaf/basic/BasicTextUI.java
1246 (RootView.textComponent): Removed.
1247 (RootView.RootView): Don't initialize textComponent.
1248 (RootView.getViewFactory): New method.
1249 (EventHandler): New inner class.
1250 (rootView): Initialize at instance creation.
1251 (eventHandler): New field.
1252 (installUI): Don't create view hierarchy directly,
1253 call modelChanged() instead.
1254 (modelChanged): New method.
1255 * javax/swing/text/JTextComponent.java
1256 (setDocument): Fire property change event.
1257
1258 2004-08-31 Michael Koch <konqueror@gmx.de>
1259
1260 * javax/swing/plaf/basic/BasicTextUI.java
1261 (RootView.paint): Removed debug output.
1262 (paintSafely): Draw highlighter before text.
1263 (paintBackground): Use background color of text component.
1264 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1265 Reformatted.
1266
1267 2004-08-31 Michael Koch <konqueror@gmx.de>
1268
1269 * javax/swing/plaf/basic/BasicToolBarUI.java
1270 (BasicToolBarUI): Fixed arguments for constructor.
1271 (createUI): Fixed creation of object.
1272
1273 2004-08-31 Michael Koch <konqueror@gmx.de>
1274
1275 * javax/swing/DefaultListSelectionModel.java
1276 (fireValueChanged): Renamed from fireSelectionValueChanged,
1277 made protected.
1278
1279 2004-08-31 Michael Koch <konqueror@gmx.de>
1280
1281 * javax/swing/text/TabSet.java
1282 (TabSet): Implements java.io.Serializable.
1283 * javax/swing/text/TabStop.java
1284 (TabStop): Implements java.io.Serializable.
1285 (TabStop): Made public.
1286
1287 2004-08-31 Michael Koch <konqueror@gmx.de>
1288
1289 * javax/swing/JComponent.java
1290 (setUI): Fire PropertyChange.
1291 * javax/swing/JLabel.java
1292 (text): Renamed from labelText.
1293 (horizontalAlignment): New default vlaue.
1294 (icon): Renamed from activeIcon.
1295 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1296 (displayedMnemonicIndex): Renamed from underlineChar.
1297 (setDisplayedMnemonic): Reimplemented.
1298 * javax/swing/JRadioButton.java
1299 (JRadioButton): New constructors.
1300 * javax/swing/JTextField.java
1301 (JTextField): Throw exception if colums < 0, initialitialz
1302 this.columns directly and initialize document with text conditionally.
1303
1304 2004-08-31 Michael Koch <konqueror@gmx.de>
1305
1306 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1307 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1308 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1309 * javax/swing/text/FieldView.java
1310 (paint): Just call super method for now.
1311 * Makefile.am: Added new files.
1312 * Makefile.in: Regenerated.
1313
1314 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1315
1316 * javax/swing/AbstractSpinnerModel.java,
1317 javax/swing/JSpinner.java,
1318 javax/swing/SpinnerNumberModel.java,
1319 javax/swing/plaf/basic/BasicSpinnerUI.java:
1320 New files.
1321 * javax/swing/plaf/basic/BasicLookAndFeel.java
1322 (initClassDefaults): Added defaults for BasicSpinnerUI.
1323
1324 2004-08-31 Michael Koch <konqueror@gmx.de>
1325
1326 * Makefile.am: Added new files.
1327 * Makefile.in: Regenerated.
1328
1329 2004-08-31 Michael Koch <konqueror@gmx.de>
1330
1331 * javax/swing/TransferHandler.java,
1332 javax/swing/plaf/basic/ComboPopup.java: New files
1333 * Makefile.am: Added javax/swing/TransferHandler.java and
1334 javax/swing/plaf/basic/ComboPopup.java
1335 * Makefile.in: Regenerated.
1336
1337 2004-08-31 Roman Kennke <roman@ontographics.com>
1338
1339 * javax/swing/text/Utilities.java: New file.
1340
1341 2004-08-31 Michael Koch <konqueror@gmx.de>
1342
1343 * Makefile.am: Added javax/swing/text/Utilities.java.
1344 * Makefile.in: Regenerated.
1345
1346 2004-08-31 Graydon Hoare <graydon@redhat.com>
1347
1348 * javax/swing/text/SimpleAttributeSet.java: New file.
1349 * javax/swing/text/StyleConstants.java: New file.
1350 * javax/swing/text/StyleContext.java: New file.
1351 * javax/swing/text/TabSet.java: New file.
1352 * javax/swing/text/TabStop.java: New file.
1353 * javax/swing/text/AbstactDocument.java:
1354 (AbstractElement): Implement attribute support.
1355 * javax/swing/text/AttributeSet.java
1356 (NameAttribute): New static field.
1357 (ResolveAttribute): New static field.
1358 * Makefile.am: Update for new files.
1359 * Makefile.in: Regenerate.
1360
1361 2004-08-31 Craig Black <craig.black@aonix.com>
1362
1363 * gnu/java/awt/peer/gtk/GdkGraphics.java
1364 (drawImage): Add support for scaling pixmaps.
1365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1366 (copyAndScalePixmap): New native method.
1367
1368 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1369
1370 PR AWT/16121
1371 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1372 type-punning compiler warnings using unions.
1373 (throw): Replace bzero with memset.
1374
1375 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1376 Thomas Fitzsimmons <fitzsim@redhat.com>
1377
1378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1379 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1380 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1382 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1383
1384 2004-08-31 Mark Wielaard <mark@klomp.org>
1385
1386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1387 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1388 and stdlib.h, not gtkpeer.h.
1389 (*vm): New static variable.
1390 (areaPreparedID): Make static.
1391 (areaUpdatedID): Likewise.
1392 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1393 (area_prepared): Likewise.
1394 (area_updated): Likewise.
1395 (closed): Likewise.
1396 (initStaticState): Initialize *vm javaVM.
1397 (pumpBytes): Use given env, not global gdk_env.
1398
1399 2004-08-31 Mark Wielaard <mark@klomp.org>
1400
1401 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1402 comments.
1403
1404 2004-08-31 Sven de Marothy <sven@physto.se>
1405
1406 * java/awt/geom/CubicCurve2D.java: Reindent.
1407 (contains): Implemented.
1408 (intersects): Implemented.
1409 * java/awt/geom/QuadCurve2D.java: Likewise.
1410 * java/awt/geom/GeneralPath.java: Reindent and document.
1411 Fully (re)implemented using separate xpoints and ypoints
1412 float[] coords.
1413 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1414
1415 2004-08-31 Michael Koch <konqueror@gmx.de>
1416
1417 * javax/swing/JMenuItem.java
1418 (getMenuDragMouseListeners): New method.
1419 (getMenuKeyListeners): Likewise.
1420
1421 2004-08-31 Michael Koch <konqueror@gmx.de>
1422
1423 * javax/swing/AbstractButton.java
1424 (model): Made protected.
1425 (actionListener): Likewise.
1426 (changeListener): Likewise.
1427 (itemListener): Likewise.
1428 (multiClickThreshhold): New field.
1429 (getActionListeners): New method.
1430 (getChangeListeners): Likewise.
1431 (getItemListeners): Likewise.
1432 (fireItemStateChanged): Simplified implementation.
1433 (fireActionPerformed): Likewise.
1434 (fireStateChanged): Likewise.
1435 (getMultiClickThreshhold): New method.
1436 (setMultiClickThreshhold): Likewise.
1437
1438 2004-08-31 Tom Tromey <tromey@redhat.com>
1439
1440 * java/awt/image/Kernel.java (clone): Use super.clone().
1441
1442 2004-08-31 David Jee <djee@redhat.com>
1443
1444 PR AWT/16682
1445 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1446 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1447 (nativeSetIconImageFromData): New native method declaration.
1448 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1449 * gnu/java/awt/peer/gtk/GtkImage.java
1450 (getPixelCache): New method.
1451 (getColorModel): New method.
1452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1453 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1454 (free_pixbuf_data): New helper function.
1455 (nativeSetIconImageFromData): New function.
1456
1457 2004-08-31 Graydon Hoare <graydon@redhat.com>
1458
1459 PR SWING/16576
1460 * javax/swing/JLayeredPane.java
1461 (setLayer): Permit changing layer after addition.
1462 (setPosition): Permit over-length positions.
1463 (layerToRange): Compare intValue()s.
1464 * javax/swing/Box.java (createHorizontalBox): Implement.
1465 (createRigidArea): Likewise.
1466 (createVerticalBox): Likewise.
1467
1468 2004-08-31 Kim Ho <kho@redhat.com>
1469
1470 * java/awt/Component.java:
1471 (processMouseEvent): Consume event after
1472 listeners process it.
1473 (processMouseMotionEvent): ditto.
1474 (processMouseWheelEvent): ditto.
1475 * java/awt/Container.java:
1476 (acquireComponentForMouseEvent):
1477 Do not dispatch to events that have been
1478 removed from the Container.
1479 (handleEvent): Consume the MouseEvents.
1480 * javax/swing/RepaintManager.java:
1481 (paintDirtyRegions): Do not add to list of
1482 damaged areas if the component has no root.
1483
1484 2004-08-31 Michael Koch <konqueror@gmx.de>
1485
1486 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1487
1488 2004-08-31 Mark Wielaard <mark@klomp.org>
1489
1490 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1491 null when a MissingResourceException is thrown. Should never happen.
1492
1493 2004-08-31 Mark Wielaard <mark@klomp.org>
1494
1495 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1496 when argument is null.
1497
1498 2004-08-31 Mark Wielaard <mark@klomp.org>
1499
1500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1501 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1502 Define hid at start of function.
1503 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1504 Likewise.
1505
1506 2004-08-31 Mark Wielaard <mark@klomp.org>
1507
1508 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1509 * javax/swing/JButton.java: Reindent.
1510 * javax/swing/JCheckBox.java: Reindent.
1511
1512 2004-08-31 Mark Wielaard <mark@klomp.org>
1513
1514 * Makefile.am (gtk_c_source_files): Added
1515 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1516 (gtk_awt_peer_sources): Added
1517 gnu/java/awt/peer/gtk/GThreadMutex.java and
1518 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1519 * Makefile.in: Regenerated.
1520
1521 2004-08-31 Archie Cobbs <archie@dellroad.org>
1522
1523 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1524
1525 2004-08-31 Steven Augart <augart@watson.ibm.com>
1526
1527 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1528 Added jfieldID, jmethodID.
1529
1530 2004-08-31 Mark Wielaard <mark@klomp.org>
1531
1532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1533 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1534 gdk_env before calling any gdk or gtk function.
1535
1536 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1537 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1538 (run): Set gtkInitCalled.
1539
1540 2004-08-31 Steven Augart <augart@watson.ibm.com>
1541
1542 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1543 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1544
1545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1546 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1547 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1548 init_glib_threads.
1549 (init_glib_threads): New function.
1550
1551 2004-08-31 Mark Wielaard <mark@klomp.org>
1552
1553 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1554 PRIORITY when not already defined in header file.
1555
1556 2004-08-31 Mark Wielaard <mark@klomp.org>
1557
1558 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1559 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1560
1561 2004-08-31 Steven Augart <augart@watson.ibm.com>
1562
1563 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1564 Implemented missing functions for GTK2.
1565 Added error handling.
1566 Renamed static functions out of the g_ namespace.
1567 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1568 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1569 Rewrote global-reference code.
1570 Eliminated cascading errors.
1571 (mutex_trylock_jni_impl) Fully implemented.
1572 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1573 resolution.
1574 (setup_cache) New function.
1575 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1576 bug where they were not unlocking the GMutex associated with the
1577 condition variable during the wait on that condition variable.
1578
1579 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1580 native/jni/gtk-peer/gthread-jni.c,
1581 native/jni/gtk-peer/gthread-jni.h
1582 (g_thread_jni_functions): Renamed to ...
1583 (portable_native_sync_jni_functions): this name.
1584 (gdk_vm): Renamed to...
1585 (the_vm): this name.
1586
1587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1588 (gdk_vm): Removed duplicate definition.
1589 (gtkInit): Removed stray message to stdout.
1590 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1591 (gtkInit): Fix a const assignment bug.
1592 (gtkInit): Simplified code.
1593
1594 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1595 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1596 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1597 gnu/java/awt/peer/gtk/GThreadMutex.java:
1598 New files.
1599
1600 2004-08-31 Mark Wielaard <mark@klomp.org>
1601
1602 * javax/swing/Box.java: Put FIXME comment above class declaration.
1603 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1604 * javax/swing/JCheckBox.java: Likewise.
1605 * javax/swing/JDialog.java: Likewise.
1606 * javax/swing/JRadioButton.java: Likewise.
1607 * javax/swing/JToggleButton.java: Likewise.
1608 * javax/swing/UIManager.java: Likewise.
1609 * javax/swing/border/TitledBorder.java: Likewise.
1610 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1611 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1612 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1613 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1614 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1615 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1616 * javax/swing/text/JTextComponent.java: Likewise.
1617
1618 2004-08-31 David Jee <djee@redhat.com>
1619
1620 PR AWT/16682
1621 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1622 (setIconImage): Add a FIXME for unhandled cases.
1623
1624 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1625
1626 PR AWT/16040
1627 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1628 getModifiers. Replace old button masks with new ones.
1629 * gnu/awt/xlib/XEventLoop.java: Likewise.
1630 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1631 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1632 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1633 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1634 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1635 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1636 * java/awt/Component.java: Replace old modifier masks with new
1637 ones.
1638 * java/awt/Container.java: Call getModifiersEx, not
1639 getModifiers.
1640 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1641 old modifier masks.
1642 * javax/swing/JMenuItem.java: Replace old button masks with new
1643 ones.
1644 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1645 getModifiers.
1646 * javax/swing/SwingUtilities.java: Likewise.
1647 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1648 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1650 mask macros with new ones.
1651 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1652 macros with new ones representing new masks.
1653
1654 2004-08-31 Craig Black <craig.black@aonix.com>
1655
1656 * gnu/java/awt/peer/gtk/GdkGraphics.java
1657 (drawRoundRect): Implemented.
1658 (fillRoundRect): Implemented.
1659 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1660 (drawRoundRect): Reimplemented to match GdkGraphics.
1661 (fillRoundRect): Reimplemented to match GdkGraphics.
1662
1663 2004-08-31 Mark Wielaard <mark@klomp.org>
1664
1665 * Makefile.in: Regenerated.
1666
1667 2004-08-31 Michael Koch <konqueror@gmx.de>
1668
1669 * gnu/java/awt/EmbeddedWindow.java
1670 (addNotify): Use AccessController to allow execution of privileged
1671 code.
1672
1673 2004-08-31 Michael Koch <konqueror@gmx.de>
1674
1675 * gnu/java/awt/EmbeddedWindow.java
1676 (static): Removed.
1677 (addNotify): Set peer via reflection.
1678 (setWindowPeer): Removed.
1679 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1680 * Makefile.am (nat_source_files):
1681 Removed gnu/java/awt/natEmbeddedWindow.cc.
1682
1683 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1684
1685 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1686 and gnu/java/security/action/SetAccessibleAction.java.
1687
1688 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1689
1690 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1691 Renamed from 'setName'. New 2-argument form with default value.
1692 (run): Pass default 'value' parameter to System.getProperty().
1693 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1694 typos.
1695
1696 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1697
1698 * gnu/java/security/action/GetPropertyAction.java: New class.
1699 * gnu/java/security/action/SetAccessibleAction.java: New class.
1700
1701 2004-08-31 David Jee <djee@redhat.com>
1702
1703 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1704 (setIconImage): Check if image is null.
1705
1706 2004-08-31 David Jee <djee@redhat.com>
1707
1708 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1709 (create): Set the icon image.
1710 (nativeSetIconImage): New native method declaration.
1711 (setIconImage): Implement.
1712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1713 (nativeSetIconImage): New function.
1714
1715 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1716
1717 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1718 (filenameFilterCallback): Declare local variable accepted before use.
1719
1720 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1721
1722 * gnu/java/awt/ComponentDataBlitOp.java:
1723 Cleaned up imports.
1724
1725 2004-08-31 Tom Tromey <tromey@redhat.com>
1726
1727 * gnu/java/awt/peer/GLightweightPeer.java,
1728 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1729 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1730 javax/swing/JScrollPane.java: Removed
1731 redundant imports.
1732
1733 2004-08-31 David Jee <djee@redhat.com>
1734
1735 * java/awt/DefaultKeyboardFocusManager.java
1736 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1737 event. Fix shift modifier checking.
1738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1739 (accel_attach): Remove.
1740 (setupAccelGroup): Remove calls to accel_attach.
1741
1742 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1743
1744 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1745 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1746
1747 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1748 GtkArgList.java.
1749 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1750 * Makefile.in: Regenerate.
1751 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1752 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1753 (create(String)): New method.
1754 (create): Call new create method.
1755 (getArgs): Remove method.
1756 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1757 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1758 (nativeCreate): Rename to create.
1759 (gtkSetLabel): Rename to gtkButtonSetLabel.
1760 (gtkToggleButtonSetActive): New method.
1761 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1762 (setState): Replace set call with gtkToggleButtonSetActive.
1763 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1764 (getArgs): Remove method.
1765 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1766 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1767 (gtkWidgetSetSensitive): New method.
1768 (gtkWidgetSetParent): Likewise.
1769 (GtkComponentPeer): Call setParent, setComponentBounds and
1770 setVisibleAndEnabled.
1771 (setParent): New method.
1772 (setComponentBounds): New method.
1773 (setVisibleAndEnabled): New method.
1774 (setEnabled): Call gtkWidgetSetSensitive.
1775 (getArgs): Remove method.
1776 Remove all set methods.
1777 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1778 gtkWindowSetModal, setTitle and setResizable.
1779 (getArgs): Remove method.
1780 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1781 (setComponentBounds): New method.
1782 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1783 Replace set call with gtkWindowSetResizable.
1784 (getArgs): Remove method.
1785 (create): Call setTitle and setResizable.
1786 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1787 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1788 (gtkWindowSetTitle): New method.
1789 (gtkWindowSetResizable): New method.
1790 (gtkWindowSetModal): New method.
1791 (setParent): New method.
1792 (setVisibleAndEnabled): New method.
1793 (getArgs): Remove method.
1794 (setTitle): Call gtkWindowSetTitle.
1795 (setResizable): Call gtkWindowSetResizable.
1796 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1797 and off locking instrumentation.
1798
1799 2004-08-31 Kim Ho <kho@redhat.com>
1800
1801 * Makefile.am: Add new file.
1802 * Makefile.in: Regenerate.
1803 * gcj/Makefile.in: Regenerate
1804 * include/Makefile.in:
1805 * java/awt/Container.java:
1806 (acquireComponentForMouseEvent): Respect
1807 the event mask when looking for candidate.
1808 * javax/swing/JComponent.java:
1809 Remove toolTip field.
1810 (createToolTip): Create a tooltip on demand.
1811 (setToolTipText): Register with the ToolTipManager.
1812 (getToolTipText(MouseEvent)): Return getToolTipText().
1813 * javax/swing/JToolTip.java: Implement.
1814 * javax/swing/Timer.java: Jalopy.
1815 (restart): Call stop, then start.
1816 (stop): Interrupt the timer rather than wait for
1817 the timer to come to a stop naturally.
1818 * javax/swing/ToolTipManager.java: Implement.
1819 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1820 Change ToolTip.background color.
1821 * javax/swing/plaf/basic/BasicToolTipUI.java:
1822 Implement.
1823 * testsuite/Makefile.in: Regenerate
1824
1825 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1826
1827 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1828 constructor param comments.
1829
1830 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1831
1832 * java/awt/Component.java: Document AWT 1.0 event handler
1833 methods.
1834
1835 2004-08-31 Roman Kennke <roman@ontographics.com>
1836
1837 * javax/swing/Box.java:
1838 (createGlue): Implemented
1839 (createHorizontalGlue): Implemented
1840 (createHorizontalStrut): Implemented
1841 (createVerticalGlue): Implemented
1842 (createVerticalStrut): Implemented
1843
1844 2004-08-31 David Jee <djee@redhat.com>
1845
1846 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1847 (GtkChoicePeer): Do not automatically select first item.
1848 (getHistory): Remove.
1849 (nativeGetSelected): New method.
1850 (nativeRemoveAll): New method.
1851 (add): Use nativeGetSelected() instead of getHistory().
1852 (remove): Likewise.
1853 (removeAll): Call nativeRemoveAll().
1854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1855 (create): Migrate to GtkComboBox.
1856 (append): Likewise.
1857 (nativeAdd): Likewise.
1858 (nativeRemove): Likewise.
1859 (select): Likewise.
1860 (nativeRemoveAll): New method.
1861 (nativeGetSelected): New method.
1862 (selection_changed): New method.
1863 (getHistory): Remove.
1864 (item_activate): Remove.
1865 (item_removed): Remove.
1866 (connect_choice_item_selectable_hook): Remove.
1867
1868 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1869
1870 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1871 variable in setEditable call.
1872
1873 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1874 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1875 (gtkWidgetSetBackground): New method.
1876 (gtkWidgetSetForeground): Likewise.
1877 (create): Set peer's editable state based on awtComponent's.
1878
1879 * java/awt/Button.java (Button()): Use empty string rather than
1880 null in no-label constructor.
1881
1882 2004-08-31 Roman Kennke <roman@ontographics.com>
1883
1884 * javax/swing/BoxLayout.java: Reimplement.
1885
1886 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1887
1888 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1889 gnu_java_awt_peer_gtk_GdkGraphics.c
1890 (initState(GtkComponentPeer)): Don't return array of colour
1891 values.
1892 (GdkGraphics(int,int)): Set default font to size 12.
1893 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1894 component's foreground colour.
1895 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1896 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1897 (initState(GtkComponentPeer)): Don't return array of colour
1898 values.
1899 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1900 colours to component's colours.
1901 (current_colors_of_widget): Remove function.
1902 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1903 Return a new graphics object.
1904 * java/awt/Font.java (toString): Fix format.
1905 * java/awt/Graphics.java (toString): Likewise.
1906
1907 2004-08-31 Craig Black <craig.black@aonix.com>
1908
1909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1910 (addTearOff): New function.
1911 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1912 New native method.
1913 (init): Call addTearOff() when menu.isTearOff().
1914
1915 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1916
1917 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1918 Default implementation.
1919 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1920 Implement using GdkPixbufDecoder.
1921
1922 2004-08-31 David Jee <djee@redhat.com>
1923
1924 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1925 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1926 setting the size of GtkFileDialogPeers.
1927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1928 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1929 use their default sizes rather than their natural requisitions.
1930
1931 2004-08-31 Michael Koch <konqueror@gmx.de>
1932
1933 * javax/swing/JFormattedTextField.java
1934 (JFormattedTextField): Implemented.
1935 * javax/swing/text/DefaultEditorKit.java
1936 (BeepAction): New inner class.
1937 * javax/swing/text/Segment.java
1938 (partialReturn): New field.
1939 (setPartialReturn): New method.
1940 (isPartialReturn): Likewise.
1941 * javax/swing/text/View.java
1942 (createFragment): Fixed typo.
1943 (getStartOffset): New method.
1944 (getEndOffset): Likewise.
1945
1946 2004-08-31 Michael Koch <konqueror@gmx.de>
1947
1948 * javax/swing/table/DefaultTableColumnModel.java
1949 (serialVersionUID): Made private.
1950 (listenerList): Initialize.
1951 (changeEvent): Initialize.
1952 * javax/swing/table/JTableHeader.java
1953 (JTableHeader): New constructors.
1954 (createDefaultColumnModel): New method.
1955 * javax/swing/table/TableColumn.java
1956 (setHeaderRenderer): Simplified code.
1957 (setCellRenderer): Likewise.
1958 (setWidth): Likewise.
1959
1960 2004-08-31 Tom Tromey <tromey@redhat.com>
1961
1962 * java/text/AttributedString.java (AttributedString): Use
1963 ArrayList to build array of attribute ranges. Don't use
1964 `attribs' before it is set.
1965
1966 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1967
1968 * HACKING: Remove reference to special automake. No longer needed.
1969
1970 2004-08-30 Tom Tromey <tromey@redhat.com>
1971
1972 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1973 return result from `add'.
1974
1975 2004-08-30 Tom Tromey <tromey@redhat.com>
1976
1977 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1978
1979 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1980
1981 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1982
1983 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1984
1985 * java/io/File.java File(String,String): Fixed handling of empty
1986 path.
1987
1988 2004-08-30 Casey Marshall <csm@gnu.org>
1989
1990 Author e-mail updated for all files.
1991 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1992 instance of OID.
1993 (compareTo): Use `equals'.
1994 * gnu/java/security/der/BitString.java (equals): Test if the
1995 argument is an instance of BitString.
1996 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1997 class final. Made fields private.
1998 (<init>): New constructor.
1999 (skip): New method.
2000 (makeString): Made static; don't use NIO.
2001 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2002 * gnu/java/security/der/DERWriter.java: Fixed imports.
2003 (writeString): Don't use NIO.
2004 (toIso88591, toUtf16Be, toUtf8): New methods.
2005 * gnu/java/security/der/DERValue.java: Formatting changes only.
2006 * gnu/java/security/der/DER.java: Likewise.
2007
2008 2004-08-30 Tom Tromey <tromey@redhat.com>
2009
2010 * java/nio/CharBuffer.java (put): Fix typo.
2011 * java/nio/DoubleBuffer.java (put): Fix typo.
2012 * java/nio/FloatBuffer.java (put): Fix typo.
2013 * java/nio/IntBuffer.java (put): Fix typo.
2014 * java/nio/LongBuffer.java (put): Fix typo.
2015 * java/nio/ShortBuffer.java (put): Fix typo.
2016
2017 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2018
2019 * java/nio/ByteBuffer.java (put): Fix typo.
2020
2021 2004-08-30 Casey Marshall <csm@gnu.org>
2022
2023 * java/security/DummyKeyPairGenerator.java (clone): Removed
2024 useless instanceof check.
2025 * java/security/DummyMessageDigest.java (clone): Likewise.
2026 * java/security/DummySignature.java (clone): Likewise.
2027 * java/security/MessageDigest.java (clone): Remove useless
2028 instanceof check.
2029 * java/security/MessageDigestSpi.java (clone): Likewise.
2030 * java/security/Signature.java (clone): Provide meaningful
2031 implementation.
2032 * java/security/SignatureSpi.java (clone): Likewise.
2033
2034 2004-08-29 Mark Wielaard <mark@klomp.org>
2035
2036 * java/util/Arrays.java
2037 (sort(byte[], int, int)): Check fromIndex < 0.
2038 (sort(char[], int, int)): Likewise.
2039 (sort(short[], int, int)): Likewise.
2040 (sort(int[], int, int)): Likewise.
2041 (sort(long[], int, int)): Likewise.
2042 (sort(float[], int, int)): Likewise.
2043 (sort(double[], int, int)): Likewise.
2044 (sort(Object[], int, int, Comparator)): Likewise.
2045 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2046 (qsort(char[], int, int)): Likewise.
2047 (qsort(short[], int, int)): Likewise.
2048 (qsort(int[], int, int)): Likewise.
2049 (qsort(long[], int, int)): Likewise.
2050 (qsort(float[], int, int)): Likewise.
2051 (qsort(double[], int, int)): Likewise.
2052
2053 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2054
2055 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2056 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2057 java/util/ArrayList.java, java/util/Arrays.java,
2058 java/util/BitSet.java, java/util/Calendar.java,
2059 java/util/Collection.java, java/util/ListIterator.java,
2060 java/util/Map.java, java/util/SortedSet.java:
2061 Added additional exceptions to documentation, along
2062 with some additions and corrections.
2063
2064 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2065
2066 * configure.ac: Handle --enable-gc-debug.
2067 * configure: Regenerate.
2068 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2069 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2070 Rearrange include file order.
2071 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2072 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2073 (disable_gc_mutex): Delete along with all references.
2074 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2075 adjust for debug header size.
2076 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2077 debug case.
2078 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2079 (gcj_describe_type_fn): New.
2080 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2081 Register gcj_describe_type_fn.
2082 * include/boehm-gc.h:
2083 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2084 Don't define, but declare, for debug case.
2085 * java/lang/natObject.cc:
2086 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2087
2088 2004-08-26 Mark Wielaard <mark@klomp.org>
2089
2090 Fixes PR libgcj/17002:
2091 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2092 a TimeZoneId string and then try to convert that to a TimeZone with
2093 getDefaultSystemTimeZone(String).
2094 (timezones0): Changed type from Hashtable to HashMap.
2095 (timezones): Create HashMap, not Hashtable.
2096 (getDefaultTimeZone): New method, rewritten from CNI version.
2097 (readTimeZoneFile): New method.
2098 (readtzFile): Likewise.
2099 (skipFully): Likewise.
2100 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2101 getDefaultTimeZoneId and rewritten.
2102 (getDefaultTimeZoneId): Rewritten in java.
2103
2104 2004-08-25 David Daney <daney@avtrex.com>
2105
2106 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2107 * Makefile.in: Regenerated.
2108
2109 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2110
2111 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2112 only if jvmpi is enabled.
2113 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2114 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2115 (_Jv_AllocString): Likewise.
2116 (_Jv_AllocPtrFreeObject): Likewise.
2117
2118 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2119
2120 * defineclass.cc: Include <stdio.h>.
2121 * java/lang/natClassLoader.cc: Include <stdio.h>.
2122
2123 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2124 Michael Koch <konqueror@gmx.de>
2125
2126 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2127 * Makefile.in: Regenerated.
2128
2129 2004-08-20 Michael Koch <konqueror@gmx.de>
2130
2131 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2132 AC_COMPILE_IFELSE macros.
2133
2134 2004-08-20 Michael Koch <konqueror@gmx.de>
2135
2136 * configure.in: Renamed to configure.ac.
2137 * configure.ac: New file.
2138 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2139 include/config.h.in, testsuite/Makefile.in: Regenerated.
2140
2141 2004-08-20 Michael Koch <konqueror@gmx.de>
2142
2143 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2144 * aclocal.m4, configure: Regenerated.
2145
2146 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2147 Michael Koch <konqueror@gmx.de>
2148
2149 * configure.in, Makefile.am: Ported to automake 1.9.
2150 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2151 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2152 Regenerated.
2153
2154 2004-08-19 Tom Tromey <tromey@redhat.com>
2155
2156 * java/net/DatagramSocket.java: Fixed typo.
2157
2158 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2159
2160 PR libgcj/17081
2161 * java/net/URI.java (string): New field. Make all other fields
2162 transient.
2163 (readObject): Implemented.
2164 (writeObject): Implemented.
2165 (URI): Set 'string'.
2166
2167 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2168
2169 PR libgcj/17079
2170 * java/util/logging/Handler.java (isLoggable): Accept record if its
2171 log level equals the threshold level. From Robin Green.
2172
2173 2004-08-18 David Daney <ddaney@avtrex.com>
2174
2175 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2176 instead of sigwait.
2177
2178 2004-08-17 Michael Koch <konqueror@gmx.de>
2179
2180 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2181 * Makefile.in: Regenerated.
2182
2183 2004-08-16 Tom Tromey <tromey@redhat.com>
2184
2185 PR java/8473:
2186 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2187
2188 2004-08-16 Michael Koch <konqueror@gmx.de>
2189
2190 * Makefile.am
2191 (math_c_files): Renamed from c_files.
2192 (math_c_source_files): Renamed from c_source_files.
2193 * Makefile.in,
2194 gcj/Makefile.in,
2195 include/Makefile.in,
2196 testsuite/Makefile.in: Regenerated.
2197
2198 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2199
2200 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2201 to avoid autoconf warning.
2202 * configure: Rebuilt.
2203
2204 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2205
2206 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2207 localhostAddress to loopbackAddress.
2208 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2209
2210 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2211
2212 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2213 boehm-gc's include dirs.
2214 * configure: Rebuilt.
2215 * include/boehm-gc.h: Include gc_config.h.
2216
2217 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2218
2219 * java/net/InetAddress.java (loopbackAddress): Renamed from
2220 localhostAddress.
2221 (getByName): Return loopback address for null hostname, without
2222 security check. Use lookup(), not getAllByName.
2223 (getAllByName): Return loopback address for null hostname, without
2224 security check.
2225 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2226 check here.
2227
2228 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2229
2230 PR libgcj/17020
2231 Reported by Robin Green.
2232 * defineclass.cc (handleField): Don't throw exception on unrecognised
2233 modifier. Add FIXME comments for spec compliance.
2234 (handleMethod): Likewise.
2235
2236 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2237
2238 PR libgcj/16662
2239 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2240 (Almost everywhere): add LOG calls, fix, add comments.
2241 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2242 Add explicit check for LOCKED bit in slow case (PR 16662).
2243 (_Jv_MonitorExit): Add casts in debug-only code.
2244 Always release LOCKED bit before throwing exception.
2245 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2246 isn't. Handle easy cases without lock acquisition.
2247 (Object::wait): Use NotifyAll for lock inflation.
2248
2249 2004-08-12 David Daney <ddaney@avtrex.com>
2250
2251 * testsuite/libjava.lang/Process_1.java: New test.
2252 * testsuite/libjava.lang/Process_2.java: New test.
2253 * testsuite/libjava.lang/Process_3.java: New test.
2254 * testsuite/libjava.lang/Process_4.java: New test.
2255 * testsuite/libjava.lang/Process_5.java: New test.
2256 * testsuite/libjava.lang/Process_6.java: New test.
2257 * testsuite/libjava.lang/Process_1.out: Expected result.
2258 * testsuite/libjava.lang/Process_2.out: Expected result.
2259 * testsuite/libjava.lang/Process_3.out: Expected result.
2260 * testsuite/libjava.lang/Process_4.out: Expected result.
2261 * testsuite/libjava.lang/Process_5.out: Expected result.
2262 * testsuite/libjava.lang/Process_6.out: Expected result.
2263
2264 2004-08-12 David Daney <ddaney@avtrex.com>
2265
2266 PR libgcj/11801
2267 * java/lang/PosixProcess.java: Rewrote.
2268 * java/lang/natPosixProcess.cc: Rewrote.
2269 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2270 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2271 * posix-threads.cc (block_sigchld) New function.
2272 (_Jv_ThreadRegister) Use it.
2273 (_Jv_ThreadStart) Use it.
2274 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2275 * Makefile.am: ... to specify extra native headers.
2276 * configure: Regenerated.
2277 * include/config.h: Regenerated.
2278 * Makefile.in: Regenerated.
2279 * gcj/Makefile.in: Regenerated.
2280 * include/Makefile.in: Regenerated.
2281 * testsuite/Makefile.in: Regenerated.
2282
2283 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2284
2285 PR tree-optimization/16867
2286 * testsuite/libjava.lang/PR16867.java: New test.
2287
2288 2004-08-09 Per Bothner <per@bothner.com>
2289
2290 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2291 with private fields and access methods.
2292 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2293 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2294 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2295 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2296 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2297 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2298 * jni.cc: Likewise.
2299 * resolve.cc: Likewise.
2300 * gcj/field.h: Likewise.
2301 * include/jvm.h: Likewise.
2302 * java/lang/Class.h: Likewise.
2303 * java/lang/natClass.cc: Likwise.
2304 * java/lang/natClassLoader.cc: Likewise
2305 * java/lang/reflect/natMethod.cc: Likewise
2306 * verify.cc: Likewise.
2307 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2308 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2309
2310 2004-08-10 Andrew Haley <aph@redhat.com>
2311
2312 * testsuite/libjava.lang/err14.java: New file.
2313 * testsuite/libjava.lang/err14.out: New file.
2314
2315 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2316
2317 * Makefile.am: Fix missing rename from x_nat_headers to
2318 xlib_nat_headers.
2319 * Makefile.in: Regenerated.
2320
2321 2004-08-04 Andrew Haley <aph@redhat.com>
2322
2323 * java/security/BasicPermission.java: Don't check wildcards.
2324
2325 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2326 Michael Koch <konqueror@gmx.de>
2327
2328 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2329 * configure.in: Replaced all usages of AC_LINK_FILES by
2330 AC_CONFIG_LINKS.
2331 * aclocal.m4,
2332 configure: Regenerated.
2333
2334 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2335 Michael Koch <konqueror@gmx.de>
2336
2337 * acconfig.h: Removed.
2338 * Makefile.am: Rename variables for xlib peer to include xlib and
2339 gtk_c_headers to gtk_jni_headers.
2340 * Makefile.in: Regenerated.
2341
2342 2004-08-04 Andrew Haley <aph@redhat.com>
2343
2344 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2345 debugging.
2346
2347 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2348
2349 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2350 Replace most top level 'dnl' comments with '#' comments, conforming
2351 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2352 help strings.
2353 * configure: Rebuilt.
2354
2355 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2356
2357 * acinclude.m4: Include no-executables.m4.
2358 * aclocal.m4: Rebuild.
2359 * configure.in: Convert to the autoconf 2.59 version of
2360 of the no-executables hack, and also of the nonstandard CXX
2361 hack and the multilibbed CC and CXX hack. Change prerequisite
2362 to autoconf 2.59.
2363 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2364 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2365 testsuite/Makefile.in: Regenerate.
2366
2367 2004-08-03 Tom Tromey <tromey@redhat.com>
2368
2369 * jni.cc: Reindented.
2370
2371 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2372
2373 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2374
2375 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2376
2377 * testsuite/libjava.compile/PR16701.java: New test.
2378
2379 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2380
2381 * java/util/Collection.java, java/util/List.java,
2382 java/util/Map.java, java/util/Set.java,
2383 java/util/SortedMap.java, java/util/SortedSet.java:
2384 Added additional exceptions to documentation.
2385
2386 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2387
2388 PR libgcj/16814
2389 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2390 * configure. Regenerate.
2391 * include/win32.h: Explicitly include winsock2.h
2392 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2393 Winsock api.
2394
2395 2004-07-30 Michael Koch <konqueror@gmx.de>
2396
2397 * java/util/zip/GZIPInputStream.java
2398 (GZIPInputStream): Increase buffer size to 4k.
2399 * java/util/zip/GZIPOutputStream.java
2400 (GZIPOutputStream): Likewise.
2401 * java/util/zip/Inflater.java
2402 (setInput): Merged formating with GNU classpath.
2403 * java/util/zip/InflaterInputStream.java
2404 (InflaterInputStream): Increase buffer size to 4k.
2405 (fill): Throw exception if stream ends early.
2406 (read): Merged endless-loop with GNU classpath.
2407 (skip): Increase buffer size to 2k.
2408
2409 2004-07-30 Michael Koch <konqueror@gmx.de>
2410
2411 * gnu/java/awt/EmbeddedWindow.java
2412 (addNotify): Use AccessController to allow execution of privileged
2413 code.
2414
2415 2004-07-29 Michael Koch <konqueror@gmx.de>
2416
2417 * gnu/java/lang/MainThread.java:
2418 Explicitely import used classes.
2419 (args): Make it type String[].
2420
2421 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2422
2423 * gnu/java/awt/ComponentDataBlitOp.java,
2424 gnu/java/beans/ExplicitBeanInfo.java,
2425 gnu/java/beans/IntrospectionIncubator.java,
2426 gnu/java/beans/editors/ColorEditor.java,
2427 gnu/java/beans/editors/FontEditor.java,
2428 gnu/java/beans/editors/NativeBooleanEditor.java,
2429 gnu/java/beans/editors/NativeByteEditor.java,
2430 gnu/java/beans/editors/NativeDoubleEditor.java,
2431 gnu/java/beans/editors/NativeFloatEditor.java,
2432 gnu/java/beans/editors/NativeIntEditor.java,
2433 gnu/java/beans/editors/NativeLongEditor.java,
2434 gnu/java/beans/editors/NativeShortEditor.java,
2435 gnu/java/beans/editors/StringEditor.java,
2436 gnu/java/io/ClassLoaderObjectInputStream.java,
2437 gnu/java/io/decode/Decoder.java,
2438 gnu/java/io/encode/Encoder.java,
2439 gnu/java/lang/ClassHelper.java,
2440 gnu/java/locale/Calendar.java,
2441 gnu/java/locale/Calendar_de.java,
2442 gnu/java/locale/Calendar_en.java,
2443 gnu/java/locale/Calendar_nl.java,
2444 gnu/java/locale/LocaleInformation_de.java,
2445 gnu/java/locale/LocaleInformation_en.java,
2446 gnu/java/locale/LocaleInformation_nl.java:
2447 Cleaned up imports.
2448
2449 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2450
2451 * README: Remove obsolete info. Update bug URL.
2452 * THANKS: Updated.
2453 * NEWS: Updated with news up to GCC 3.4 release.
2454
2455 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2456
2457 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2458 Renamed from 'setName'. New 2-argument form with default value.
2459 (run): Pass default 'value' parameter to System.getProperty().
2460 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2461 typos.
2462 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2463 not 'setName'.
2464
2465 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2466
2467 * configure.in: Check for minimum GTK version 2.4 requirement.
2468 * configure: Rebuilt.
2469
2470 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2471
2472 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2473 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2474 Reduce sleep time.
2475 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2476 compiler bug.
2477 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2478 address. Reduce sleep times. Synchronize with target threads before
2479 attempting to interrupt them. Don't try to calibrate yeild count,
2480 instead, always loop for a fixed time.
2481 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2482 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2483 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2484 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2485 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2486 * testsuite/libjava.lang/pr179.java: Likewise.
2487 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2488 time. Remove upper bounds check on sleep time.
2489
2490 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2491
2492 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2493 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2494
2495 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2496
2497 * java/io/File.java (toURI): Throw RuntimeException, not
2498 InternalError.
2499 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2500 class name, not instance.
2501
2502 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2503
2504 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2505 and gnu/java/security/action/SetAccessibleAction.java.
2506 * Makefile.in: Rebuilt.
2507
2508 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2509
2510 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2511 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2512 _Jv_InitPrimClass.
2513 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2514 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2515 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2516
2517 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2518
2519 * Makefile.am: Replace jar, rmic and rmiregistry references with
2520 gjar, grmic and grmiregistry.
2521 * configure.in: Likewise.
2522 * Makefile.in: Regenerate.
2523 * configure: Likewise.
2524 * gcj/Makefile.in: Likewise.
2525 * include/Makefile.in: Likewise.
2526 * testsuite/Makefile.in: Likewise.
2527
2528 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2529
2530 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2531 for privileged getProperty calls.
2532 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2533 SetAccessibleAction instead of anonymous class for doPrivileged call.
2534 (getMethod): Likewise.
2535 (setAccessible): New field. PrivilegedAction object to use when
2536 calling setAccessible.
2537 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2538 SetAccessibleAction instead of anonymous class for diPrivileged call.
2539 (setFields): Likewise.
2540 (getClassUID): Likewise.
2541 (findMethod): Likewise.
2542 * gnu/java/security/action/GetPropertyAction.java: New class.
2543 * gnu/java/security/action/SetAccessibleAction.java: New class.
2544
2545 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2546
2547 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2548 for final fields.
2549 * testsuite/libjava.lang/Serialization.java: New test.
2550 * testsuite/libjava.lang/Serialization.out: New.
2551
2552 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2553
2554 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2555 missed in last commit.
2556
2557 2004-07-23 Mark Wielaard <mark@klomp.org>
2558
2559 * java/lang/System.java (static): Set http.agent system property when
2560 not yet set.
2561 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2562 from system property inside AccessController.doPrivileged() call.
2563 (proxyPort): Made package private.
2564 (proxyInUse): Likewise.
2565 (proxyHost): Likewise.
2566 (userAgent): Likewise.
2567
2568 2004-07-23 Mark Wielaard <mark@klomp.org>
2569
2570 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2571 implementation.
2572
2573 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2574
2575 * Makefile.am (ordinary_java_source_files): Add
2576 DefaultContentHandlerFactory.java.
2577 * Makefile.in: Rebuilt.
2578 * java/net/URLConnection.java (defaultFactory): New field.
2579 (getContent):
2580 (getContentHandler): Renamed from 'setContentHandler'. Try
2581 defaultFactory after user-set factory, if any. Search for content
2582 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2583 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2584 Implemented.
2585 (getLastModified): Implemented.
2586 (getPermission): Create file permission here, instead of in
2587 constructor.
2588 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2589 Implemented.
2590 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2591 Implemented.
2592 (getLastModified): Implemented.
2593 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2594 Default implementation.
2595 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2596 Implement using GdkPixbufDecoder.
2597
2598 2004-07-21 Michael Koch <konqueror@gmx.de>
2599
2600 * javax/swing/JTextArea.java
2601 (setLineWrap): Fire property change event after new value is set.
2602 (setTabSize): Likewise.
2603
2604 2004-07-21 Michael Koch <konqueror@gmx.de>
2605
2606 * javax/swing/JTable.java
2607 (autoCreateColumnsFromModel): New field.
2608 (autoResizeMode): Likewise.
2609 (cellEditor): Likewise.
2610 (cellSelectionEnabled): Likewise.
2611 (columnModel): Likewise.
2612 (dataModel): Likewise.
2613 (defaultEditorsByColumnClass): Likewise.
2614 (defaultRenderersByColumnClass): Likewise.
2615 (editingColumn): Likewise.
2616 (editingRow): Likewise.
2617 (gridColor): Likewise.
2618 (preferredViewportSize): Likewise.
2619 (rowHeight): Likewise.
2620 (rowMargin): Likewise.
2621 (rowSelectionAllowed): Likewise.
2622 (selectionBackground): Likewise.
2623 (selectionForeground): Likewise.
2624 (selectionModel): Likewise.
2625 (showHorizontalLines): Likewise.
2626 (showVerticalLines): Likewise.
2627 (tableHeader): Likewise.
2628 (JTable): Implemented.
2629 (getColumnModel): Likewise.
2630 (getSelectedRow): Likewise.
2631 (getSelectionModel): Likewise.
2632 (setModel): Likewise.
2633 (setSelectionModel): Likewise.
2634 (createScrollPaneForTable): New method.
2635 (createDefaultDataModel): Likewise.
2636 (createDefaultListSelectionModel): Likewise.
2637 (getModel): Likewise.
2638 (getTableHeader): Likewise.
2639 (setTableHeader): Likewise.
2640 (getColumnSelectionAllowed): Likewise.
2641 (setColumnSelectionAllowed): Likewise.
2642 (getRowSelectionAllowed): Likewise.
2643 (setRowSelectionAllowed): Likewise.
2644 (getAutoResizeMode): Likewise.
2645 (setAutoResizeMode): Likewise.
2646 (getColumnCount): Likewise.
2647 (getRowCount): Likewise.
2648 (getCellRenderer): Likewise.
2649 * javax/swing/JTree.java
2650 (cellRenderer): New field.
2651 (editable): Likewise.
2652 (rootVisible): Likewise.
2653 (showsRootHandles): Likewise.
2654 (getModel): New method.
2655 (setModel): Likewise.
2656 (isEditable): Likewise.
2657 (setEditable): Likewise.
2658 (isRootVisbile): Likewise.
2659 (setRootVisible): Likewise.
2660 (getShowsRootHandles): Likewise.
2661 (setShowRootHandles): Likewise.
2662 (getCellRenderer): Likewise.
2663 (setCellRenderer): Likewise.
2664
2665 2004-07-21 Michael Koch <konqueror@gmx.de>
2666
2667 * javax/swing/JFormattedTextField.java
2668 (setDocument): Implemented.
2669 * javax/swing/JRootPane.java:
2670 Fixed javadocs.
2671 * javax/swing/JTable.java
2672 (getDefaultRenderer): New method.
2673 * javax/swing/JTextField.java
2674 (setFont): Likewise.
2675 (getPreferredSize): Likewise.
2676 * javax/swing/JToggleButton.java
2677 (getAccessibleContext): Fix javadoc.
2678 * javax/swing/JTree.java:
2679 Add some javadocs.
2680 * javax/swing/JViewport.java:
2681 Likewise.
2682
2683 2004-07-21 David Jee <djee@redhat.com>
2684
2685 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2686 Collect all native method declaration at the top.
2687 (create): Set the filename filter if necessary.
2688 (setDirectory): Call nativeSetDirectory().
2689 (setFilenameFilter): Implement.
2690 (filenameFilterCallback): New method.
2691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2692 (create): Configure dialog to show hidden files.
2693 (filenameFilterCallback): New function.
2694 (nativeSetFilenameFilter): New function.
2695 (nativeSetDirectory): New function.
2696
2697 2004-07-21 Kim Ho <kho@redhat.com>
2698
2699 * javax/swing/plaf/basic/BasicSliderUI.java:
2700 Ran Jalopy.
2701 (paintTrack): Fill the track before painting
2702 the borders.
2703
2704 2004-07-21 Graydon Hoare <graydon@redhat.com>
2705
2706 patch from Roman Kennke <roman@ontographics.com>
2707 * javax/swing/Spring.java: New file.
2708 * javax/swing/SpringLayout.java: New file.
2709 * Makefile.am: Add new files.
2710 * Makefile.in: Regenerate.
2711
2712 2004-07-21 Graydon Hoare <graydon@redhat.com>
2713
2714 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2715 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2716 * javax/swing/ScrollPaneLayout.java: Likewise.
2717
2718 2004-07-21 Kim Ho <kho@redhat.com>
2719
2720 * javax/swing/DefaultDesktopManager.java:
2721 (findMinimum): Removed.
2722 (resizeFrame): Trust the UI to pass valid
2723 bounds.
2724 * javax/swing/JOptionPane.java:
2725 Implemented showInternalXXXDialog methods.
2726 (startModal): New method.
2727 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2728 (BorderListener::mouseDragged): Verify that the new
2729 bounds are valid before passing them to the DesktopManager.
2730 (preferredLayoutSize): Delegate
2731 to getSize.
2732 (minimumLayoutSize): Ditto.
2733 (getSize): New method.
2734 (GlassPaneDispatcher): Reimplemented by copying
2735 a stripped down LightweightDispatcher from Container.
2736 (getMinimumSize): Call minimumLayoutSize.
2737 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2738 Ran Jalopy.
2739 (mousePressed): Add ability to properly close
2740 JInternalFrames.
2741 * javax/swing/plaf/basic/BasicToolBarUI.java:
2742 (DragWindow): Set owner for DragWindow.
2743
2744 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2745
2746 * java/awt/image/ShortLookupTable.java: New file.
2747 * java/awt/image/ByteLookupTable.java: New file.
2748 * Makefile.am: Added new files.
2749 * Makefile.in: Regenerated.
2750
2751 2004-07-21 David Jee <djee@redhat.com>
2752
2753 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2754 (create(GtkContainerPeer)): New native method.
2755 (create()): Call native create(), passing in the parent frame
2756 as the paramter. Natively set the current file and directory.
2757 (setFile): Construct an absolute filename before passing it to
2758 the native peer.
2759 (nativeGetDirectory): New method.
2760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2761 (window_closed): Removed.
2762 (ok_clicked): Likewise.
2763 (cancel_clicked): Likewise.
2764 (handle_response): New method.
2765 (create): Use GtkFileChooserDialog.
2766 (connectSignals): Connect to handle_response.
2767 (nativeGetDirectory): New method.
2768 (nativeSetFile): Use GtkFileChooserDialog.
2769
2770 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2771
2772 * java/awt/image/LookupTable.java: New file.
2773 * Makefile.am: Added new file.
2774 * Makefile.in: Regenerated.
2775
2776 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2777
2778 * java/awt/image/Kernel.java: New file.
2779 * Makefile.am: Added new file.
2780 * Makefile.in: Regenerated.
2781
2782 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2783
2784 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2785 * javax/swing/JMenu.java: Likewise.
2786 * javax/swing/JMenuBar.java: Likewise.
2787 (MARGIN_CHANGED_PROPERTY): New property.
2788 (setMargin): Implemented.
2789 * javax/swing/JMenuItem.java: Fixed javadocs.
2790 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2791 (LABEL_CHANGED_PROPERTY): New property.
2792 (add): changed to use createActionComponent.
2793 (createActionComponent): Implemented.
2794 (setLabel): Fire PropertyChangeEvent if label property
2795 changes.
2796 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2797 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2798 (ContainerHandler): Repaint if margin property has changed.
2799 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2800 (installUI): Call installComponents().
2801 (uninstallUI): Call uinstallComponents().
2802 * javax/swing/plaf/basic/BasicMenuUI.java:
2803 Fixed javadocs.
2804 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2805 Likewise.
2806
2807 2004-07-21 Kim Ho <kho@redhat.com>
2808
2809 * javax/swing/plaf/basic/BasicToolBarUI.java:
2810 (DragWindow): Use the right constructor.
2811
2812 2004-07-21 Kim Ho <kho@redhat.com>
2813
2814 * javax/swing/JToolBar.java:
2815 (layoutContainer): Use getComponents.
2816 * javax/swing/plaf/basic/BasicToolBarUI.java:
2817 (DragWindow): Don't use SwingUtilities'
2818 getOwnerFrame
2819 (ToolBarDialog): ditto.
2820
2821 2004-07-21 Kim Ho <kho@redhat.com>
2822
2823 * javax/swing/JRootPane.java:
2824 Ran jalopy.
2825 (layoutContainer): Set the glasspane's size to
2826 be the same as the content pane.
2827 (createGlassPane): Set opaque property to false.
2828
2829 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2830
2831 * java/awt/Component.java (requestFocus()): Don't handle Panels
2832 specially.
2833 (requestFocus(boolean)): Likewise.
2834 (requestFocusInWindow(boolean)): Likewise.
2835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2836 Set GTK_CAN_FOCUS flag.
2837
2838 2004-07-21 Kim Ho <kho@redhat.com>
2839
2840 * Makefile.am: Added new file.
2841 * Makefile.in: Regenerated.
2842 * gcj/Makefile.in: Regenerated.
2843 * include/Makefile.in: Regenerated.
2844 * javax/swing/AbstractButton.java:
2845 Add rollOverEnabled property.
2846 (setRolloverEnabled): Use new property.
2847 (isRolloverEnabled): Use new property.
2848 * javax/swing/JTabbedPane.java:
2849 (setComponent): Remove useless JTabbedPane.this.
2850 * javax/swing/JToolBar.java: Finish implementation.
2851 * javax/swing/plaf/basic/BasicArrowButton.java:
2852 (paint): Moved border painting to a border.
2853 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2854 Change JToolBar look and feel defaults.
2855 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2856 (actionPerformed): Return Integer index instead of name.
2857 (addButtonComponents): Check to see if component is
2858 JButton last.
2859 (createMessageArea): Don't use components that are not
2860 completed yet.
2861 (getIconForType): Use temporary icons.
2862 * javax/swing/plaf/basic/BasicSliderUI.java:
2863 (mousePressed): Do not return if it's on thumb.
2864 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2865 (paintMinorTickForVertSlider): ditto.
2866 (paintMajorTickForHorizSlider): ditto.
2867 (paintMajorTickForVertSlider): ditto.
2868 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2869 Add a border around the SplitPaneDivider.
2870 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2871 Remove comments.
2872 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2873 New file. Implemented.
2874 * javax/swing/plaf/basic/BasicToolBarUI.java:
2875 Implemented.
2876 * testsuite/Makefile.in: Regenerated.
2877
2878 2004-07-21 Graydon Hoare <graydon@redhat.com>
2879
2880 * javax/swing/Timer.java (run): Queue events each time cycle.
2881
2882 2004-07-21 David Jee <djee@redhat.com>
2883
2884 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2885 (imageComplete): Call image.imageComplete().
2886 * java/awt/image/MemoryImageSource.java:
2887 Reimplement consumers as a Vector instead of a Hashtable. This is
2888 because enumeration on a Hashtable is not thread-safe.
2889 (addConsumer): Adapt to Vector consumers.
2890 (isConsumer): Adapt to Vector consumers.
2891 (removeConsumer): Adapt to Vector consumers.
2892 (startProduction): Adapt to Vector consumers. Call imageComplete()
2893 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2894 (newPixels): Adapt to Vector consumers.
2895 (sendPicture): Set the color model of the image consumer.
2896 (newPixels(IIII)): Adapt to Vector consumers.
2897 (newPixels(IIIIB)): Adapt to Vector consumers.
2898
2899 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2900
2901 * java/awt/Component.java (deliverEvent): Implement.
2902 (postEvent): Implement.
2903 (handleEvent): Implement.
2904 (translateEvent): New method.
2905 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2906 * java/awt/Container.java (deliverEvent): Implement.
2907 * java/awt/Event.java (paramString): Fix formatting.
2908 * java/awt/Font.java (toString): Likewise.
2909 * java/awt/Window.java (postEvent): Implement.
2910
2911 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2912
2913 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2914 Set window's focus owner upon receiving a FOCUS_LOST event.
2915 * java/awt/Window.java (Window()): Refocus the previously
2916 focused component within the window when the window regains the
2917 top-level focus.
2918 (setFocusOwner): New method.
2919 * java/awt/Component.java (requestFocus): Add FIXME.
2920
2921 * libgcj.pc.in: Remove library flags.
2922
2923 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2924
2925 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2926 MOUSE_PRESSED event.
2927 * java/awt/Component.java (requestFocus()): Handle Panel
2928 specially. Post FOCUS_LOST event on opposite component.
2929 (requestFocus(boolean)): Likewise.
2930 (requestFocusInWindow(boolean)): Likewise.
2931 (paramString): Reorder dimension fields.
2932 * java/awt/Container.java (paramString): Fix string format.
2933 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2934 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2935 process key events if the focus owner is non-null.
2936 (dispatchKeyEvent): Likewise.
2937 * java/awt/Frame.java (paramString): Fix formatting.
2938 (generateName): New method.
2939 (getUniqueLong): Likewise.
2940 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2941 the temporary focus owner is null. If so, return the permanent
2942 focus owner.
2943 * java/awt/Panel.java (generateName): New method.
2944 (getUniqueLong): Likewise.
2945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2946 signal handling to make callbacks more specific.
2947
2948 2004-07-21 Michael Koch <konqueror@gmx.de>
2949
2950 * javax/swing/text/Position.java
2951 (Bias): Implemented.
2952
2953 2004-07-21 Michael Koch <konqueror@gmx.de>
2954
2955 * javax/swing/LookAndFeel.java
2956 (provideErrorFeedback): New method.
2957
2958 2004-07-21 Michael Koch <konqueror@gmx.de>
2959
2960 * javax/swing/JTextArea.java
2961 (tabSize): New field.
2962 (getTabSize): New method.
2963 (setTabSize): Likewise.
2964
2965 2004-07-21 Michael Koch <konqueror@gmx.de>
2966
2967 * javax/swing/ActionMap.java:
2968 Fixed javadocs all over.
2969 (serialVersionUID): Made private.
2970 (parent): Don't explicitely initialize with default value.
2971 (get): SImplified.
2972 (keys): Reimplemented.
2973 (allKeys): Likewise.
2974 (convertSet): Removed.
2975 * javax/swing/ComponentInputMap.java:
2976 Fixed javadocs all over.
2977 (ComponentInputMap): Implemented.
2978 (put): Likewise.
2979 (clear): Likewise.
2980 (remove): Likewise.
2981 (SetParent): Likewise.
2982 (getComponent): Likewise.
2983 * javax/swing/InputMap.java:
2984 Fixed javadocs all over.
2985 (serialVersionUID): Made private.
2986 (parent): Don't explicitely initialize with default value.
2987 (get): SImplified.
2988 (keys): Reimplemented.
2989 (allKeys): Likewise.
2990 (convertSet): Removed.
2991
2992 2004-07-21 Michael Koch <konqueror@gmx.de>
2993
2994 * javax/swing/ActionMap.java,
2995 javax/swing/ComponentInputMap.java,
2996 javax/swing/InputMap.java,
2997 javax/swing/table/DefaultTableColumnModel.java,
2998 javax/swing/table/TableColumn.java,
2999 javax/swing/table/TableColumnModel.java,
3000 javax/swing/table/TableModel.java,
3001 javax/swing/text/AbstractDocument.java,
3002 javax/swing/text/TextAction.java:
3003 Reformated.
3004
3005 2004-07-21 Graydon Hoare <graydon@redhat.com>
3006
3007 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3008 Make method non-static.
3009 * javax/swing/AbstractButton.java:
3010 Rename fields to match property names where possible.
3011 (iconTextGap): New property.
3012 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3013 (init) New method, call from after various constructors.
3014 * javax/swing/JComponent.java (revalidate):
3015 Invalidate before queueing repair.
3016 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3017 Reimplement in terms of visibleRowCount property.
3018 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3019 * javax/swing/JScrollPane.java (createScrollListener):
3020 Remove tracing chatter.
3021 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3022 * javax/swing/RepaintManager.java (addInvalidComponent):
3023 Don't invalidate.
3024 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3025 calculations.
3026 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3027 Mimic sun behavior on top left/right positioning.
3028 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3029 Remove mistaken use of preferredScrollableViewportSize here.
3030 (layoutContainer): Use view's preferred size as basis.
3031 * javax/swing/plaf/basic/BasicButtonUI.java:
3032 Set, get, and use textIconGap property.
3033 (paint) Paint text returned from layout (with ellipsis).
3034 * javax/swing/plaf/basic/BasicListUI.java:
3035 Remove tracing chatter, correct various minor calculations.
3036 (getCellBounds): Update layout state before calculating.
3037 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3038 Use margin default similar to sun's.
3039 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3040 (createIncreaseIcon): Center icon, minimize margins.
3041 (createDecreaseIcon): Likewise.
3042 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3043 Implement.
3044 (installUI): Call it.
3045 (uninstallDefaults): Implement.
3046 (uninstallUI): Call it.
3047 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3048 Call existing Window constructor.
3049 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3050 Set clip before painting.
3051
3052 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3053
3054 * javax/swing/JMenuItem.java:
3055 (processMouseEvent): Reimplemented to deal with
3056 mouse drag events.
3057 (createMenuDragMouseEvent): New private helper method.
3058 Creates MenuDragMouseEvent.
3059 * javax/swing/MenuSelectionManager.java
3060 (componentForPoint): Implemented.
3061 (isComponentPartOfCurrentMenu): Made public.
3062 (processMouseEvent): Reimplemented to deal with
3063 mouse drag events.
3064 (setSelectedPath): Corrected small mistake that caused
3065 path to be set incorrectly.
3066 (getPath): If given component is JMenu then also add this
3067 menu's popup menu to the selected path.
3068 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3069 (getPath): Ditto.
3070 (getPreferredSize): Call getPreferredMenuItemSize().
3071 (getPreferredItemSize): Moved code from getPreferredSize to here.
3072 (installListeners): Install MouseMotionListeners.
3073 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3074 if mouse wasn't released in the bounds of this menu item.
3075 (MenuDragMouseHandler): Implemented.
3076 * javax/swing/plaf/basic/BasicMenuUI.java:
3077 (installListeners): Install MouseMotionListener and
3078 MenuDrageMouseListener.
3079 (MenuDragMouseHandler): Implemented.
3080 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3081 (uninstallListeners): Implemented.
3082
3083 2004-07-21 Michael Koch <konqueror@gmx.de>
3084
3085 * javax/swing/JCheckBox.java: Reformated.
3086 (JCheckBox): Fixed all constructors.
3087 (isBorderPaintedFlat): New method.
3088 (setBorderPaintedFlat): New method.
3089 * javax/swing/JEditorPane.java
3090 (createEditorKitForContentType): Made public.
3091 (scrollToReference): Likewise.
3092 * javax/swing/JTextArea.java
3093 (setLineWrap): Fire property change.
3094 * javax/swing/JToggleButton.java
3095 (JToggleButton): New constructor.
3096 (JToggleButton): Simplified.
3097 * javax/swing/text/AttributeSet.java
3098 (FontAttribute): Renamed from FontCharacterAttribute.
3099 * javax/swing/text/JTextComponent.java
3100 (KeyBinBinding): Added javadoc.
3101 (JTextComponent): Likewise.
3102 (getAccessibleContext): Fixed javadoc.
3103 * javax/swing/text/View.java
3104 (View): Added javadoc.
3105 * javax/swing/text/TabableView.java: New file.
3106 * Makefile.am: Added javax/swing/text/TabableView.java.
3107 * Makefile.in: Regenerated.
3108
3109 2004-07-21 Graydon Hoare <graydon@redhat.com>
3110
3111 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3112 * gnu/java/awt/peer/gtk/GtkToolkit.java
3113 (GtkErrorImage): New helper class.
3114 (bufferedImageOrError): New helper method.
3115 (createImage): Use it.
3116
3117 2004-07-21 David Jee <djee@redhat.com>
3118
3119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3120 (setCaretPosition): Scroll the text view so the new caret position
3121 is visible on screen.
3122
3123 2004-07-21 David Jee <djee@redhat.com>
3124
3125 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3126 (setBounds): Do not validate awtComponent here.
3127 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3128 (getPreferredSize): New method.
3129 * java/awt/ScrollPane.java
3130 (ScrollPane): Set default size to 100x100.
3131 (addNotify): If child is not a Panel, wrap it with a new Panel.
3132 (paramString): Implement.
3133
3134 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3135
3136 * javax/swing/JMenu.java:
3137 (setSelected): Display popup menu only if this menu
3138 is showing on the screen.
3139 * javax/swing/JPopupMenu.java:
3140 (processMouseEvent): Added comment.
3141 (processKeyEvent): Likewise.
3142 * javax/swing/MenuSelectionManager.java:
3143 (clearSelectedPath): Only fireStateChanged() after
3144 selected path was changed, not before.
3145 (setSelectedPath): Likewise.
3146 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3147 (paintMenuItem): Corrected position of menu item's
3148 icon.
3149 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3150 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3151 (popupMenuCanceled): Reimplemented.
3152 (popupMenuWillBecomeVisible): Select first menu item by default
3153 when displaying free floating popup menus.
3154 (TopWindowListener): Reimplemented.
3155
3156 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3157
3158 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3159 Panel from being painted twice when it is first shown.
3160
3161 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3162
3163 * java/awt/Window.java: Reverted changes from my
3164 previous patch for creating window without an owner.
3165 * javax/swing/SwingUtilities.java:
3166 (SwingUtilities.OwnerFrame): made static.
3167 (OwnerFrame.setVisible): New method. Overridden with
3168 empty implementation.
3169 (OwnerFrame.isShowing): New method. Ovverridden
3170 to return always true.
3171
3172 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3173
3174 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3176 (GtkComponentPeer): Remove temporary try/catch block.
3177 (setVisible): Call show and hide.
3178 (show): Make native.
3179 (hide): Likewise.
3180 (getArgs): Don't add "visible" argument.
3181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3182 (property_notify_predicate): Return Bool instead of int.
3183 (find_layout): New function.
3184 (connectJObject): Call find_layout.
3185 (connectSignals): Likewise.
3186 (moveLayout): Likewise.
3187 (gtkLayoutSetVisible): Likewise.
3188
3189 2004-07-21 Mark Wielaard <mark@klomp.org>
3190
3191 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3192 on notifier object before calling notifyAll().
3193
3194 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3195
3196 * java/awt/Window.java: Changed constructors to use new
3197 method that is described below. Constructors call this
3198 methods only if newly created window should have an owner.
3199 (setWindowOwner): New method. Implementation for
3200 this method is moved from this(owner,configuration).
3201 * javax/swing/JWindow.java:
3202 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3203 instead of owner.
3204 * javax/swing/SwingUtilities.java:
3205 (ownerFrame): Change type of this field to OwnerFrame.
3206 (getOwnerFrame): Changed to return object of type OwnerFrame.
3207 (SwingUtilities.OwnerFrame): New class. Represents owner
3208 of a Window that is not provided with one.
3209
3210 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3211
3212 * javax/swing/AbstractButton.java:
3213 (configurePropertiesFromAction): Set action command
3214 to button's text by default if action command is not
3215 explicitely specified.
3216 * javax/swing/JMenu.java: Remove unnecessary listener
3217 and methods relevant to it.
3218 (setSelected): Reimplemented.
3219 (menuSelectionChanged): Moved most part of implementation to
3220 setSelected() and call it instead.
3221 * javax/swing/JMenuItem.java:
3222 (init): Comment out statement that sets paint_border to false.
3223 (configurePropertiesFromAction): Do not set accelerator
3224 for JMenu.
3225 (menuSelectionChanged): Change selected index in the selection
3226 model of menu item's parent.
3227 * javax/swing/JPopupMenu.java:
3228 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3229 instead of GridBagConstraints.HORIZONTAL.
3230 (insert): Likewise.
3231 (createActionChangeListener): Implemented.
3232 (setVisible): Correct location of HeavyWeightMenu and
3233 don't firePopupMenuCanceled().
3234 (menuSelectionChanged): Implemented.
3235 (ActionChangeListener): New Listener. Implemented.
3236 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3237 (BasicMenuBarUI.ContainerHandler): Implemented.
3238 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3239 (paintMenuItem): Uncommented out code that paints
3240 icon, now that icons are working properly.
3241 (PropertyChangeListener): Implemented.
3242 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3243 Added javadocs.
3244 (topWindowListener): New field.
3245 (Constructor): initialize topWindowListener.
3246 (BasicPopupMenuUI.TopWindowListener): Implemented.
3247 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3248 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3249 Implemented.
3250
3251 2004-07-21 Michael Koch <konqueror@gmx.de>
3252
3253 * javax/swing/plaf/basic/BasicButtonUI.java
3254 (paintFocus): Fixed method signature.
3255 (paintButtonPressed): Likewise.
3256 (paintButtonNormal): Likewise.
3257 (paintText): New method.
3258 * javax/swing/plaf/basic/BasicLabelUI.java
3259 (paint): Re-indented.
3260 * javax/swing/plaf/basic/BasicTextUI.java
3261 (installUI): Set parent textComponent to opaque.
3262 * javax/swing/text/DefaultHighlighter.java
3263 (checkPositions): New helper method.
3264 (addHighlight): Throws BadLocationException, check positions.
3265 (changeHighlight): Likewise.
3266 * javax/swing/text/EditorKit.java
3267 (EditorKit): Implements Serializable.
3268 * javax/swing/text/JTextComponent.java
3269 (getUI): Added javadoc.
3270 (setUI): Likewise.
3271 (upadteUI): Added javadoc, don't revalidate and repaint.
3272
3273 2004-07-21 David Jee <djee@redhat.com>
3274
3275 * java/awt/GridBagLayout.java
3276 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3277 * javax/swing/AbstractButton.java
3278 (setText): Reindent.
3279 * javax/swing/RepaintManager.java
3280 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3281
3282 2004-07-21 Michael Koch <konqueror@gmx.de>
3283
3284 * javax/swing/JFormattedTextField.java
3285 (value): New field.
3286 (JFormattedTextField): Implemented.
3287 (getValue): Likewise.
3288 (setValue): Likewise.
3289 * javax/swing/LookAndFeel.java
3290 (getSupportsWindowDecorations): New method.
3291 * javax/swing/UIDefaults.java:
3292 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3293 (addPropertyChangeListener): Made public.
3294 (addResourceBundle): Likewise.
3295 (removeResourceBundle): Likewise.
3296 (setDefaultLocale): Likewise.
3297 * javax/swing/plaf/basic/BasicRootPaneUI.java
3298 (BasicRootPaneUI): Implements PropertyChangeListener.
3299 (propertyChange): New method.
3300 * javax/swing/plaf/basic/BasicTextUI.java
3301 (BasicHighlighter): New inner class.
3302 (createHighlighter): New method.
3303 * javax/swing/plaf/basic/BasicToolBarUI.java
3304 (DragWindow): Extends java.awt.Window.
3305 * javax/swing/text/JTextComponent.java
3306 (getDocument): Removed debug output.
3307 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3308 javax/swing/text/DefaultHighlighter.java,
3309 javax/swing/text/FieldView.java,
3310 javax/swing/text/PlainView.java: New files.
3311 * Makefile.am: Added new files.
3312 * Makefile.in: Regenerated.
3313
3314 2004-07-21 Michael Koch <konqueror@gmx.de>
3315
3316 * javax/swing/JEditorPane.java
3317 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3318 (createEditorKitForContentType): Likewise.
3319 * javax/swing/text/DefaultEditorKit.java
3320 (serialVersionUID): Added constant field.
3321 (EndOfLineStringPropery): Fixed typo.
3322 (DefaultEditorKit): New constructor.
3323 * javax/swing/text/Segment.java:
3324 Import java.text.CharacterIterator.
3325 * javax/swing/text/CharacterIterator.java,
3326 javax/swing/text/PlainEditorKit.java: Removed.
3327 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3328 javax/swing/text/PlainEditorKit.java.
3329 * Makefile.in: Regenerated.
3330
3331 2004-07-21 Michael Koch <konqueror@gmx.de>
3332
3333 * javax/swing/JButton.java,
3334 javax/swing/text/DefaultEditorKit.java,
3335 javax/swing/text/EditorKit.java,
3336 javax/swing/text/Segment.java,
3337 javax/swing/text/StyledEditorKit.java:
3338 Reformatted.
3339
3340 2004-07-21 Michael Koch <konqueror@gmx.de>
3341
3342 * javax/swing/ImageIcon.java
3343 (file): Removed.
3344 (description): Renamed from descr.
3345 (ImageIcon): Added missing constructors.
3346 (setParent): Removed.
3347 (setImageObserver): New method.
3348 (getImageObserver): New method.
3349 (paintIcon): Handle observer = null.
3350 * javax/swing/JButton.java
3351 (removeNotify): Fixed javadoc.
3352 (updateUI): Simplified.
3353 * javax/swing/JRootPane.java
3354 (serialVersionUID): New constant field.
3355 * javax/swing/UIManager.java:
3356 Fixed javadocs all over.
3357 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3358 * javax/swing/text/AbstractDocument.java
3359 (createPosition): Throws BadLocationException.
3360 (getText): Likewise.
3361 (remove): Likewise.
3362 * javax/swing/text/ComponentView.java
3363 (modelToView): Likewise.
3364 * javax/swing/text/DefaultEditorKit.java:
3365 Made all public methods public.
3366 (read): Throws BadLocationException and IOException.
3367 (write): Likewise.
3368 * javax/swing/text/EditorKit.java:
3369 Made all public methods public.
3370 (serialVersionUID): New constant field.
3371 (clone): New method.
3372 (read): Throws BadLocationException and IOException.
3373 (write): Likewise.
3374 * javax/swing/text/Segment.java
3375 (array): Made public.
3376 (count): Likewise.
3377 (offset): Likewise.
3378 (Segment): New constructors.
3379 (clone): Reimplemented.
3380 * javax/swing/text/StyledEditorKit.java
3381 (serialVersionUID): New constant field.
3382
3383 2004-07-21 Graydon Hoare <graydon@redhat.com>
3384
3385 * java/awt/image/BufferedImage.java
3386 (getSource): Implement.
3387 * javax/swing/ImageIcon.java
3388 (ImageIcon): Implement ctor.
3389 * javax/swing/ScrollPaneLayout.java
3390 (preferredLayoutSize): Be more careful about nulls.
3391
3392 2004-07-21 Michael Koch <konqueror@gmx.de>
3393
3394 * javax/swing/text/AttributeSet.java
3395 (CharacterAttribute): New interface
3396 (ColorAttribute): Likewise.
3397 (FontCharacterAttribute): Likewise.
3398 (ParagraphAttribute): Likewise.
3399 * javax/swing/text/DefaultCaret.java
3400 (moveCaret): New method.
3401 (positionCaret): Likewise.
3402 (repaint): Made protected.
3403 * javax/swing/text/JTextComponent.java
3404 (KeyBinding): Made it static.
3405 * javax/swing/text/View.java
3406 (getContainer): Honor parent == null.
3407
3408 2004-07-21 Michael Koch <konqueror@gmx.de>
3409
3410 * javax/swing/text/AbstractDocument.java:
3411 Reformatted.
3412
3413 2004-07-21 Michael Koch <konqueror@gmx.de>
3414
3415 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3416 Import javax.swing.UIManager explicitely.
3417 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3418 (ScrollingButton): Made it static.
3419
3420 2004-07-21 Michael Koch <konqueror@gmx.de>
3421
3422 * javax/swing/UIDefaults.java
3423 (ActiveValue): Made public.
3424 (LazyValue): Likewise.
3425 * javax/swing/plaf/basic/BasicTextUI.java
3426 (RootView): Reintroduced.
3427 (view): Removed.
3428 (rootView): New field.
3429 (installUI): Create document if needed, initialize rootView.
3430 (uninstallUI): Hanle rootView.
3431 (paint): Likewise.
3432 (getRootView): Likewise.
3433 (setView): Likewise.
3434 * javax/swing/text/DefaultCaret.java:
3435 Renamed all "evt" variables to "event".
3436
3437 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3438
3439 * libgcj.spec.in: Add -l-java-util-logging.
3440
3441 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3442
3443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3444 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3445 gtk-xft-dpi can no calculate the right value.
3446 (dpi_changed_cb): Mark *pspec as unsused.
3447
3448 2004-07-21 David Jee <djee@redhat.com>
3449
3450 * java/awt/Component.java
3451 (move): Delegate to setBounds().
3452 (resize): Likewise.
3453 (reshape): Fix so it repaints parent and self only when necessary.
3454
3455 2004-07-21 David Jee <djee@redhat.com>
3456
3457 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3458 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3459 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3460 (setVisible): Likewise.
3461 (show): Likewise.
3462 (hide): Likewise.
3463 (getArgs): Likewise.
3464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3465 (property_notify_predicate): Likewise.
3466 (find_layout): Likewise.
3467 (connectJObject): Likewise.
3468 (connectSignals): Likewise.
3469 (moveLayout): Likewise.
3470 (gtkLayoutSetVisible): Likewise.
3471
3472 2004-07-21 Graydon Hoare <graydon@redhat.com>
3473
3474 * Makefile.am
3475 (jv_convert_LDADD):
3476 (gij_LDADD):
3477 (rmic_LDADD):
3478 (rmiregistry_LDADD): Add lib-java-util-logging.la
3479 * Makefile.in: Regenerate.
3480
3481 2004-07-21 Michael Koch <konqueror@gmx.de>
3482
3483 * javax/swing/text/AbstractDocument.java
3484 (replace): Dont use protected method of java.util.Vector directly.
3485
3486 2004-07-21 Michael Koch <konqueror@gmx.de>
3487
3488 * javax/swing/plaf/basic/BasicTextUI.java
3489 (installUI): Call specialized install methods.
3490 (installDefaults): New method.
3491 (installListeners): Likewise.
3492 (installKeyboardActions): Likewise.
3493 (uninstallUI): Likewise.
3494 (uninstallDefaults): New method.
3495 (uninstallListeners): Likewise.
3496 (uninstallKeyboardActions): Likewise.
3497 (getPropertyPrefix): New abstract method.
3498 (paint): Made final, just call paintSafely().
3499 (paintSavely): New method.
3500 (paintBackground): Likewise.
3501 (getVisibleEditorRect): Likewise.
3502 * javax/swing/text/LayeredHighlighter.java,
3503 javax/swing/text/TabExpander.java: New files.
3504 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3505 and javax/swing/text/TabExpander.java.
3506 * Makefile.in: Regenerated.
3507
3508 2004-07-21 Michael Koch <konqueror@gmx.de>
3509
3510 * javax/swing/plaf/basic/BasicTextUI.java
3511 (BasicTextUI): Made abstract.
3512 (BasicCaret): New inner class.
3513 (view): Don't explicitely initialize with "null".
3514 (textComponent): New field.
3515 (textColor): Removed.
3516 (disabledTextColor): Removed.
3517 (normalBackgroundColor): Removed.
3518 (RootView): Removed commented out inner class.
3519 (createUI): Removed.
3520 (createCaret): New method.
3521 (getComponent): Likewise.
3522 (installUI): Initialize textComponent only.
3523 (getPreferredSize): Use installed JTextComponent.
3524 (setView): New method.
3525 (create): Likewise.
3526 * javax/swing/text/JTextComponent.java
3527 (highlighter): New field.
3528 (caretColor): Likewise.
3529 (disabledTextColor): Likewise.
3530 (seletedTextColor): Likewise.
3531 (selectionColor): Likewise.
3532 (setUI): New method.
3533 (getCaretColor): Likewise.
3534 (setCaretColor): Likewise.
3535 (getDisabledColor): Likewise.
3536 (setDisabledColor): Likewise.
3537 (getSelectedTextColor): Likewise.
3538 (setSelectedTextColor): Likewise.
3539 (getSelectionColor): Likewise.
3540 (setSelectionColor): Likewise.
3541 (getHighlighter): Likewise.
3542 (setHighlighter): Likewise.
3543 (replaceSelection): Likewise.
3544
3545 2004-07-21 Michael Koch <konqueror@gmx.de>
3546
3547 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3548 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3549 * javax/swing/plaf/basic/BasicToolBarUI.java
3550 (BasicToolBarUI): Implements SwingConstants.
3551
3552 2004-07-21 Michael Koch <konqueror@gmx.de>
3553
3554 * javax/swing/JPopupMenu.java: Removed CVS tags.
3555 * javax/swing/UIDefaults.java: Reformatted.
3556 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3557 Explicitely import used classes.
3558
3559 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3560
3561 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3562 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3563 (GtkComponentPeer): Remove temporary try/catch block.
3564 (setVisible): Call show and hide.
3565 (show): Make native.
3566 (hide): Likewise.
3567 (getArgs): Don't add "visible" argument.
3568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3569 (property_notify_predicate): Return Bool instead of int.
3570 (find_layout): New function.
3571 (connectJObject): Call find_layout.
3572 (connectSignals): Likewise.
3573 (moveLayout): Likewise.
3574 (gtkLayoutSetVisible): Likewise.
3575
3576 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3577
3578 * javax/swing/AbstractButton.java:
3579 (setDisplayedMnemonicIndex): Check if button
3580 text is not null before checking its length.
3581 * javax/swing/JMenuItem.java:
3582 (processMouseEvent): Disarm menu item if mouse has
3583 exited it.
3584 * javax/swing/plaf/basic/BasicMenuUI.java:
3585 (MouseInputHandler.mouseEntered): Do not raise
3586 popup menu if this menu is already selected.
3587 (MouseInputHandler.mousePressed): Do not fire
3588 MenuEvents.
3589 (MenuHandler): Implemented.
3590
3591 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3592
3593 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3594 (getSelectedObjects): Implemented.
3595 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3596 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3597 Added javadoc for few methods.
3598 (processMouseEvent): Made public.
3599 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3600 (processMouseEvent): Likewise.
3601
3602 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3603
3604 * javax/swing/AbstractButton.java:
3605 (init): Set display mnemonic index to -1.
3606 (setMnemonic(char)): Use setMnemonic(int).
3607 (setMnemonic(int)): Set display mnemonic index.
3608 (getDisplayedMnemonicIndex): Change method signature
3609 by removing 'index' parameter.
3610 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3611 Added default for Menu.selectionBackground.
3612 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3613 (paintMenuItem): Change background color of the selected
3614 menu item.
3615 (paintText): Paint differently when menu item is disabled.
3616 Also paint mnemonic if it appears in the menu item's label.
3617 (paintAccelerator): Paint accelerator differently
3618 if menu item is disabled.
3619 * javax/swing/plaf/basic/BasicMenuUI.java:
3620 (installDefaults): Install defaults for
3621 selectionForeground and selectionBackground.
3622 (uninstallDefaults): Uninstall defauls for
3623 selectionForeground and selectionBackground.
3624
3625 2004-07-21 Michael Koch <konqueror@gmx.de>
3626
3627 * javax/swing/text/AbstractDocument.java
3628 (BranchElement): Implemented.
3629 (LeafElement): Implemented.
3630 * javax/swing/text/DefaultCaret.java:
3631 Import used classes.
3632 (serialVersionUID): New constant.
3633 * javax/swing/text/JTextComponent.java
3634 (AccessibleJTextComponent): Removed dead declaration.
3635 (caretPos): Removed.
3636 (setCaret): New method.
3637 * javax/swing/text/PlainDocument.java
3638 (rootElement): New field.
3639 (PlainDocument): Initialize rootElement.
3640 (createDefaultRoot): New method.
3641 (getDefaultRootElement): Implemented.
3642 * javax/swing/text/View.java: Reformatted.
3643 * javax/swing/text/ViewFactory.java
3644 (create): Added javadoc.
3645
3646 2004-07-21 Michael Koch <konqueror@gmx.de>
3647
3648 * javax/swing/ToolTipManager.java: Reformatted.
3649
3650 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3651
3652 * javax/swing/AbstractButton.java
3653 (changeEvent): New field.
3654 (fireItemStateChanged): Change source of the event
3655 to 'this' before firing it to button listeners.
3656 (fireActionPerformed): Likewise.
3657 (fireStateChanged): Likewise.
3658 (createActionListener): Do not set source
3659 of the event to AbstractButton.
3660 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3661 (ContainerHandler.componentAdded): Removed
3662 print out statement.
3663 (ContainerHandler.componentRemoved): Likewise.
3664
3665 2004-07-21 Michael Koch <konqueror@gmx.de>
3666
3667 * javax/swing/text/Highlighter.java: New file.
3668 * Makefile.am: Added javax/swing/text/Highlighter.java.
3669 * Makefile.in: Regenerated.
3670
3671 2004-07-21 Michael Koch <konqueror@gmx.de>
3672
3673 * javax/swing/ToolTipManager.java
3674 (stillInsideTimerAction): Fixed constructor arguments.
3675 (outsideTimerAction): Likewise.
3676 (insideTimerAction): Likewise.
3677
3678 2004-07-21 Michael Koch <konqueror@gmx.de>
3679
3680 * javax/swing/JButton.java: Reformatted.
3681 * javax/swing/JFormattedTextField.java
3682 (getUIClassID): Implemented.
3683 * javax/swing/JRootPane.java
3684 (serialVersionUID): New constant.
3685 * javax/swing/JTextField.java
3686 (align): New field.
3687 (JTextField): Simplified.
3688 (getUIClassID): New method.
3689 (getActionListeners): Added @since tag.
3690 (setColumns): Invalidate layout and repaint.
3691 (getHorizontalAlignment): New method.
3692 (setHorizontalAlignment): New method.
3693 (selectAll): Removed.
3694 * javax/swing/SwingUtilities.java
3695 (getAncestorOfClass): Removed redundant @see tag.
3696 (isLeftMouseButton): Fixed implementation.
3697 (isMiddleMouseButton): Likewise.
3698 (isRightMouseButton): Likewise.
3699 * javax/swing/text/AbstractDocument.java
3700 (AttributeContext.addAttribute): New method.
3701 (AttributeContext.addAttributes): New method.
3702 (AttributeContext.getEmptySet): New method.
3703 (AttributeContext.reclaim): New method.
3704 (AttributeContext.removeAttribute): New method.
3705 (AttributeContext.removeAttributes): New method.
3706 * javax/swing/text/Document.java
3707 (createPosition): Throws BadLocationException.
3708 (getText): Likewise.
3709 (remove): Likewise.
3710 * javax/swing/text/JTextComponent.java
3711 (getText): Return null if no document is set. Catch
3712 BadLocationException.
3713 (getUI): Return ui.
3714 (updateUI): Simplified.
3715
3716 2004-07-21 Michael Koch <konqueror@gmx.de>
3717
3718 * javax/swing/JButton.java
3719 (removeNotify): Fixed javadoc.
3720 (updateUI): Simplified.
3721
3722 2004-07-21 David Jee <djee@redhat.com>
3723
3724 * gnu/java/awt/image/ImageDecoder.java
3725 (startProduction): Only add consumer if it's not added yet.
3726 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3727 (GdkPixbufDecoder): Don't call initState() here.
3728 (produce): Call initState() here, to ensure area_prepared and
3729 area_updated signals are properly connected.
3730 * gnu/java/awt/peer/gtk/GtkImage.java
3731 (setColorModel): Use equals() to compare ColorModel objects.
3732 (setPixels): Likewise.
3733 * java/awt/image/ColorModel.java
3734 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3735 * java/awt/image/RGBImageFilter.java
3736 (setColorModel): Set consumer's color model.
3737 (setPixels): Use equals() to compare ColorModel objects.
3738
3739 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3740
3741 * java/net/URLConnection.java (position): New field.
3742 (dateFormat1, dateFormat2, dateFormat3): Removed.
3743 (dateFormats): New field.
3744 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3745 each time instead of re-allocating.
3746 (initializeDateFormats): Initialize 'dateFormats'.
3747
3748 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3749
3750 PR libgcj/16591
3751 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3752 is defined.
3753
3754 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3755
3756 * java/net/Socket.java (getImpl): Now private. Remove comment.
3757
3758 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3759
3760 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3761 of chained Writer when calling super-constructor.
3762 * java/io/FilterWriter.java (FilterWriter): Likewise.
3763 * java/io/PrintWriter.java (PrintWriter): Likewise.
3764
3765 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3766
3767 * prims.cc (process_gcj_properties): Don't increment i within LHS
3768 of assignment.
3769
3770 2004-07-19 Per Bothner <per@bothner.com>
3771
3772 Print -verbose:message on "loading", not initialization.
3773 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3774 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3775 gcj::verbose_class_flag.
3776 * java/lang/natClass.cc (initializeClass): Don't print message here.
3777 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3778 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3779 (_Jv_PrepareCompiledClass): Likewise.
3780
3781 2004-07-18 Matthias Klose <doko@debian.org>
3782
3783 * configure.in: Substitute target_noncanonical.
3784 * configure: Regenerate
3785
3786 2004-07-17 Michael Koch <konqueror@gmx.de>
3787
3788 * java/lang/String.java: Fixed javadocs all over.
3789
3790 2004-07-17 Mark Wielaard <mark@klomp.org>
3791
3792 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3793 when size is smaller.
3794 * java/io/RandomAccessFile.java (setLength): Use truncate for
3795 shrinking the file and seek plus write for expanding the file.
3796
3797 2004-07-17 Michael Koch <konqueror@gmx.de>
3798
3799 * gnu/java/nio/channels/natFileChannelPosix.cc
3800 (implTruncate): Always save current position. Only reposition file
3801 pointer to where we started if not beyond new lenght. Reposition file
3802 pointer to file length if it points beyond the end of file.
3803
3804 2004-07-17 Mark Wielaard <mark@klomp.org>
3805
3806 * javax/swing/Box.java: Put FIXME comment above class declaration.
3807 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3808 * javax/swing/JCheckBox.java: Likewise.
3809 * javax/swing/JDialog.java: Likewise.
3810 * javax/swing/JRadioButton.java: Likewise.
3811 * javax/swing/JToggleButton.java: Likewise.
3812 * javax/swing/UIManager.java: Likewise.
3813 * javax/swing/border/TitledBorder.java: Likewise.
3814 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3815 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3816 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3817 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3818 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3819 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3820 * javax/swing/text/JTextComponent.java: Likewise.
3821
3822 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3823
3824 * java/net/DatagramPacket.java (setAddress): Removed check for
3825 null address.
3826
3827 2004-07-17 Michael Koch <konqueror@gmx.de>
3828
3829 * java/net/DatagramSocket.java
3830 (getLocalAddress): Check if socket is bound or not.
3831 * java/net/Socket.java
3832 (getLocalAddrss): Check if socket is bound or not.
3833 (getPort): Return -1 when not connected. Dont check getImpl() for
3834 null.
3835 (setReuseAddress): Check if socket is closed.
3836 (isConnected): Check if getImpl() returns null.
3837
3838 2004-07-17 Mark Wielaard <mark@klomp.org>
3839
3840 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3841 on notifier object before calling notifyAll().
3842
3843 2004-07-17 Michael Koch <konqueror@gmx.de>
3844
3845 * gnu/java/nio/channels/FileChannelImpl.java
3846 (finalize): Added javadoc.
3847
3848 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3849
3850 * java/text/CollationElementIterator.java
3851 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3852 (setText): Use ArrayList instead of Vector.
3853
3854 2004-07-17 Michael Koch <konqueror@gmx.de>
3855
3856 * java/nio/ByteOrder.java
3857 (static): Removed. Not needed.
3858 Thanks to Patrick Reali for noticing.
3859 * java/nio/charset/CharsetDecoder.java
3860 (decode): Fix for classpath bug #9177: Reset state before flipping.
3861
3862 2004-07-17 Michael Koch <konqueror@gmx.de>
3863
3864 * java/security/Security.java: Fixed javadocs all over.
3865
3866 2004-07-17 Michael Koch <konqueror@gmx.de>
3867
3868 * gnu/java/awt/EmbeddedWindow.java
3869 (static): Removed.
3870 (addNotify): Set peer via reflection.
3871 (setWindowPeer): Removed.
3872 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3873 * Makefile.am (nat_source_files):
3874 Removed gnu/java/awt/natEmbeddedWindow.cc.
3875 * Makefile.in: Regenerated.
3876
3877 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3878
3879 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3880 assignment.
3881 * configure: Regenerated.
3882
3883 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3884
3885 * configure.in: Use build_noncanonical rather than build_alias.
3886 * configure: Rebuild.
3887
3888 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3889 by logic refactoring. Move default definition of NATIVE closer
3890 to first alternate definition.
3891 * configure: Regenerate.
3892
3893 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3894 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3895 gcj/Makefile.in: Regenerate.
3896 * configure.in: Set ZIP and GCJH. Remove redundant condition
3897 in AM_CONDITIONAL(NATIVE,...)
3898 * configure: Regenerate.
3899
3900 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3901
3902 * configure.in: Use target_noncanonical rather than
3903 target_alias for forward-compatibility with autoconf 2.59.
3904 * configure: Regenerate.
3905 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3906 testsuite/Makefile.am: Substitute target_noncanonical.
3907 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3908 testsuite/Makefile.in: Regenerate.
3909
3910 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3911 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3912 * acinclude.m4: Include acx.m4.
3913 * aclocal.m4: Regenerate.
3914 * configure: Regenerate.
3915
3916 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3917
3918 PR libgcj/16574
3919 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3920 (decimalFormat): New static variable.
3921 (sbuf): Likewise.
3922 (getTime): New. Override Date.getTime().
3923 (toString): Synchronize. Use decimalFormat to format nanos value
3924 correctly. Truncate extra zeros.
3925 (before): Compare getNanos() only if getTime() is equal.
3926 (after): Likewise.
3927
3928 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3929
3930 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3931 * configure.in: ...here.
3932 * aclocal.m4: Regenerate.
3933 * configure: Regenerate.
3934
3935 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3936 * configure: Rebuilt with autoconf 2.13.
3937 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3938 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3939
3940 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3941
3942 PR libgcj/16204
3943 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3944 large file support.
3945 * Makefile.in: Rebuilt.
3946 * testsuite/libjava.lang/LargeFile.java: New test case.
3947 * testsuite/libjava.lang/LargeFile.out: New file.
3948
3949 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3950
3951 * java/beans/EventHandler.java: Remove debugging statements.
3952
3953 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3954
3955 * java/beans/EventHandler.java: New file.
3956 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3957 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3958 testsuite/Makefile.in: Regenerate.
3959
3960 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3961
3962 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3963 flag to the gcj_setup.
3964 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3965 the tclsh.
3966 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3967 deprecation flag change. 58 XFAILS removed.
3968
3969 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3970
3971 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3972 -fno-use-divide-subroutine.
3973 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3974 (HANDLE_FPE): Define.
3975 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3976 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3977 (HANDLE_DIVIDE_OVERFLOW): Define.
3978
3979 2004-07-14 Michael Koch <konqueror@gmx.de>
3980 Matthias Klose <doko@debian.org>
3981
3982 * java/awt/im/InputContext.java: Initialize in, line.
3983
3984 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3985
3986 * interpret.cc (run): Correctly access libffi return values of
3987 integral smaller-than-int type; these are implicitly promoted.
3988
3989 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3990
3991 PR libgcj/7587
3992 * interpret.cc (compile_mutex): New.
3993 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3994 (run): Lock compile_mutex before calling compile() if compilation is
3995 required.
3996 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3997 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3998
3999 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4000
4001 PR libgcj/15713
4002 * include/jvm.h (_Jv_value): New union type.
4003 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4004 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4005 union members.
4006
4007 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4008
4009 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4010 * gnu/awt/xlib/XOffScreenImage.java
4011 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4012 constructor argument. Add constructor using ImageProducer.
4013 (getSource): Implement.
4014 (imageComplete): New method.
4015 (setColorModel): New method.
4016 (setDimensions): New method.
4017 (setHints): New method.
4018 (setPixels): New method.
4019 (setProperties): New method.
4020 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4021 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4022
4023 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4024
4025 PR libgcj/16478
4026 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4027 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4028 (finalizerReady): Now native.
4029 (run): Likewise.
4030 (runFinalizers): Removed.
4031 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4032 a primitive lock, and don't hold it while running the finalizers.
4033 (runFinalizers): Implement. Don't aquire any Java lock.
4034 (finalizerReady): Use lock primitives to signal finalizer thread.
4035
4036 2004-07-11 Mark Wielaard <mark@klomp.org>
4037
4038 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4039 * java/net/URLStreamHandler.java (parseURL): When url file part
4040 doesn't contain a '/' just ignore context.
4041
4042 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4043
4044 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4045 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4046 (MAKE_THROW_FRAME): Do not modify PSW address.
4047 (INIT_SEGV): Install SIGINFO-style signal handler.
4048 (INIT_FPE): Likewise.
4049
4050 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4051
4052 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4053 status. 21 xfail's removed, 1 added.
4054
4055 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4056
4057 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4058
4059 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4060
4061 * java/text/MessageFormat.java
4062 (formatInternal): Append "{n}" if argument n is unavailable.
4063 (format(Object, StringBuffer, FieldPosition)): This
4064 should be equivalent to format(Object[],
4065 StringBuffer, FieldPosition).
4066
4067 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4068
4069 * java.util.Calendar.java (cache): New private static field. Cached
4070 mappings of locales->calendar classes.
4071 (ctorArgTypes): New private static field. Singleton argument for
4072 calendar class constructor lookup.
4073 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4074 Optimize by bypassing reflection instantiation for the
4075 GregorianCalendar case.
4076
4077 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4078
4079 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4080 ResourceBundle.getBundle() calls.
4081 * java/util/GregorianCalendar.java: Likewise.
4082 * java/util/Currency.java: Likewise.
4083 * java/text/BreakIterator.java: Likewise.
4084 * java/text/Collator.java: Likewise.
4085 * java/text/DateFormat.java: Likewise.
4086 * java/text/DateFormatSymbols.java: Likewise.
4087 * java/text/DecimalFormatSymbols.java: Likewise.
4088 * java/text/NumberFormat.java: Likewise.
4089 * java/awt/Window.java: Likewise.
4090
4091 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4092
4093 * java/util/ResourceBundle.java (bundleCache): Renamed from
4094 resourceBundleCache. Update comments.
4095 (getObject): Don't catch MissingResourceException.
4096 (getBundle(String)): Remove 'final'. Use system classloader if
4097 getCallingClassLoader returned null.
4098 (getBundle(String, Locale)): Likewise.
4099 (BundleKey): New private class. HashMap key for bundle cache lookup.
4100 (lookupKey): New. Singleton instance of BundleKey.
4101 (nullEntry): New. Cache entry to represent failed lookups.
4102 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4103 caching strategy, no-allocation lookup, and new tryBundle methods.
4104 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4105 name using given classloader.
4106 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4107 baseName for given Locale and attempt to load bundle.
4108
4109 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4110
4111 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4112 illegal protected method calls.
4113
4114 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4115
4116 Fix or remove some bogus test cases.
4117 * testsuite/libjava.compile/pr10459_2.java: Removed.
4118 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4119 not Object.clone().
4120 * testsuite/libjava.compile/inner_data.java: Test against its own
4121 protected field.
4122
4123 2004-07-09 Michael Koch <konqueror@gmx.de>
4124
4125 * scripts/unicode-muncher.pl: Updated to version 2.1
4126 from GNU classpath. Added some clarifications on where to find the
4127 needed files from www.unicode.org.
4128 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4129 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4130 Removed, these can directly be downloaded from www.unicode.org if
4131 needed.
4132 * gnu/java/lang/CharData.java: Regenerated.
4133 * include/java-chartables.h: Regenerated.
4134 * Makefile.am (ordinary_java_source_files):
4135 Removed gnu/java/lang/CharData.java.
4136 * Makefile.in: Regenerated.
4137
4138 2004-07-09 Michael Koch <konqueror@gmx.de>
4139
4140 * java/security/AccessControlContext.java,
4141 java/security/SecureClassLoader.java:
4142 Fixed javadocs.
4143
4144 2004-07-09 Michael Koch <konqueror@gmx.de>
4145
4146 * java/io/ObjectInputStream.java (readFields): Use long datatype
4147 when shifting byte values more then 24 bits left.
4148
4149 2004-07-09 Michael Koch <konqueror@gmx.de>
4150
4151 * java/util/zip/DeflaterOutputStream.java,
4152 java/util/zip/GZIPInputStream.java,
4153 java/util/zip/GZIPOutputStream.java,
4154 java/util/zip/InflaterInputStream.java:
4155 Reformatted. Added javadocs. Reordered all stuff.
4156 Renamed variables to be more clear.
4157
4158 2004-07-09 Michael Koch <konqueror@gmx.de>
4159
4160 * javax/imageio/IIOException.java,
4161 javax/imageio/event/IIOReadProgressListener.java,
4162 javax/imageio/event/IIOReadUpdateListener.java,
4163 javax/imageio/event/IIOReadWarningListener.java,
4164 javax/imageio/event/IIOWriteProgressListener.java,
4165 javax/imageio/event/IIOWriteWarningListener.java:
4166 New files.
4167 * Makefile.am: Added new files.
4168 * Makefile.in: Regenerated.
4169
4170 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4171
4172 * java/text/RuleBasedCollator.java
4173 (mergeRules): Use ArrayList instead of Vector.
4174 (subParseString): likewise.
4175 (parseString): likewise.
4176 (buildCollationVector): likewise.
4177 (getCollationKey): likewise.
4178
4179 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4180
4181 * java/text/DateFormat.java (parse):
4182 Improved javadoc. Improved exception message.
4183
4184 2004-07-09 Mark Wielaard <mark@klomp.org>
4185
4186 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4187 interrupted() method to clear interupt flag of our Thread.
4188
4189 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4190
4191 * java/nio/Buffer.java,
4192 java/nio/ByteBuffer.java,
4193 java/nio/ByteBufferHelper.java,
4194 java/nio/ByteBufferImpl.java,
4195 java/nio/CharBuffer.java,
4196 java/nio/CharBufferImpl.java,
4197 java/nio/CharViewBufferImpl.java,
4198 java/nio/DirectByteBufferImpl.java,
4199 java/nio/DoubleBuffer.java,
4200 java/nio/DoubleBufferImpl.java,
4201 java/nio/DoubleViewBufferImpl.java,
4202 java/nio/FloatBuffer.java,
4203 java/nio/FloatBufferImpl.java,
4204 java/nio/FloatViewBufferImpl.java,
4205 java/nio/IntBuffer.java,
4206 java/nio/IntBufferImpl.java,
4207 java/nio/IntViewBufferImpl.java,
4208 java/nio/LongBuffer.java,
4209 java/nio/LongBufferImpl.java,
4210 java/nio/LongViewBufferImpl.java,
4211 java/nio/MappedByteBufferImpl.java,
4212 java/nio/ShortBuffer.java,
4213 java/nio/ShortBufferImpl.java,
4214 java/nio/ShortViewBufferImpl.java:
4215 Fixed javadocs all over. Improved input error
4216 checking.
4217
4218 * java/nio/Buffer.java
4219 (checkForUnderflow, checkForOverflow, checkIndex,
4220 checkIfReadOnly, checkArraySize): New helper methods
4221 for error checking.
4222
4223 * java/nio/ByteBufferHelper.java
4224 (checkRemainingForRead, checkRemainingForWrite,
4225 checkAvailableForRead, checkAvailableForWrite): Removed
4226 no longer needed methods.
4227
4228 2004-07-09 Michael Koch <konqueror@gmx.de>
4229
4230 * gnu/regexp/CharIndexedInputStream.java:
4231 Reordered imports to match classpath.
4232
4233 2004-07-09 Michael Koch <konqueror@gmx.de>
4234
4235 * gnu/java/awt/EmbeddedWindow.java:
4236 Load native library for setWindowPeer method.
4237
4238 2004-07-08 Randolph Chung <tausq@debian.org>
4239
4240 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4241 * configure: Regenerate.
4242 * configure.host: Set can_unwind_signal for hppa*-linux.
4243 * include/pa-signal.h: New file.
4244
4245 2004-07-07 Per Bothner <per@bothner.com>
4246
4247 * Makefile.am: Add rules to build libgij from just gij.cc.
4248
4249 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4250 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4251 (initializeClass): If verbose_class_flag, print message.
4252 * gij.cc (main): Handle -verbose:class flag.
4253
4254 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4255
4256 * configure.host: Enable hash synchronization on Darwin.
4257 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4258 ';', since this is a comment on Darwin.
4259 (compare_and_swap_release): Likewise.
4260
4261 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4262
4263 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4264 file portion of URL in addition to spec for file: protocol.
4265
4266 2004-07-05 Anthony Green <green@redhat.com>
4267
4268 * java/io/File.java (toURI): Merge from Classpath.
4269
4270 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4271
4272 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4273 before passing to URL constructor. Rethrow any MalformedURLException
4274 as a RuntimeException. Catch MalformedURLException specifically, not
4275 all exceptions.
4276
4277 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4278
4279 * java/util/Locale.java (readObject): Intern strings read from object
4280 stream.
4281
4282 2004-07-04 Michael Koch <konqueror@gmx.de>
4283
4284 * gnu/gcj/runtime/FirstThread.java,
4285 gnu/gcj/runtime/natFirstThread.cc: Removed.
4286 * gnu/java/lang/MainThread.java,
4287 gnu/java/lang/natMainThread.cc: New files.
4288 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4289 * Makefile.am: Added new files and removed deleted ones.
4290 * Makefile.in: Regenerated.
4291
4292 2004-07-03 Mark Wielaard <mark@klomp.org>
4293 Anthony Green <green@redhat.com>
4294
4295 * java/net/URL.java (getFile): Clarify return value doc.
4296 (getPath): Return null if file is empty - not empty String.
4297 (set): Convert protocol to lower case before doing anything.
4298 Only change the protocol handler if it's different.
4299
4300 2004-07-03 Anthony Green <green@redhat.com>
4301
4302 * java/net/URL.java (URL): Convert protocol to lower case before
4303 doing anything, so we getURLStreamHandler() with the proper value.
4304
4305 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4306
4307 * java/util/Locale.java (hashcode): Made transient.
4308 (hashCode): No longer synchronized.
4309 (equals): Remove comment.
4310 (writeObject): No longer synchronized. Implement using writeObject
4311 calls instead of tweaking hashCode field. Update doc.
4312 (readObject): Implement using readObject calls.
4313
4314 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4315 Andreas Tobler <a.tobler@schweiz.ch>
4316
4317 * configure.host (powerpc-*-darwin*): New case, define
4318 can_unwind_signal.
4319 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4320 * configure: Regenerate.
4321 * include/darwin-signal.h: New.
4322
4323 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4324
4325 * java/beans/Statement.java (doExecute): Fix formatting.
4326
4327 2004-06-29 Per Bothner <per@bothner.com>
4328
4329 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4330 etc etc): Remove needless parenthesis, which causes __stdcall__
4331 attribute on MinGW to get ignored.
4332
4333 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4334
4335 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4336
4337 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4338
4339 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4340
4341 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4342
4343 * java/beans/Expression.java: New file.
4344 * java/beans/Statement.java: New file.
4345 * Makefile.am: Added new files.
4346 * Makefile.in: Re-generate.
4347
4348 2004-06-27 Mark Wielaard <mark@klomp.org>
4349
4350 * java/io/FilePermission.java (usingPerms): Removed.
4351 (actionsString): Made final.
4352 (cachePerms): Renamed to checkPerms.
4353 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4354 on action String.
4355 (FilePermission): Check arguments, call checkPerms().
4356 (equals): Remove cachePerms() call.
4357 (implies): Likewise.
4358
4359 2004-06-27 Mark Wielaard <mark@klomp.org>
4360
4361 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4362 final field.
4363 (sendRequest): Use new field in user-agent http agent.
4364
4365 2004-06-27 Mark Wielaard <mark@klomp.org>
4366
4367 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4368 when argument is null.
4369
4370 2004-06-26 Mark Wielaard <mark@klomp.org>
4371
4372 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4373 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4374 GetMethodID call.
4375 (cancel_clicked): Likewise.
4376
4377 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4378
4379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4380 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4381 can not calculate the right value.
4382 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4383
4384 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4385
4386 * testsuite/libjava.jacks/jacks.xfail: Remove
4387 15.9.1-qualified-concrete-20.
4388
4389 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4390
4391 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4392 encoding name to iconv.
4393 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4394
4395 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4396
4397 PR libgcj/16134:
4398 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4399 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4400 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4401
4402 2004-06-21 Andrew Haley <aph@redhat.com>
4403
4404 * java/io/ObjectOutputStream.java: Add DEBUG statements
4405 everywhere.
4406 (dumpElementln): New method.
4407 (depth): New field.
4408 * java/io/ObjectInputStream.java
4409 (currentClassLoader): Make native.
4410 (callersClassLoader): New field.
4411 (depth): New field.
4412 (readObject): ENDBLOCKDATA is generated if the class has a write
4413 method, not if it has a read method.
4414 (readObject): Save and restore this.currentObject and
4415 this.currentObjectStreamClass around calls to callReadMethod().
4416 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4417 method.
4418
4419 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4420
4421 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4422 darwin.
4423
4424 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4425
4426 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4427 if desired, before the default class loader is initialised.
4428 Call INIT_SEGV only if HANDLE_SEGV is defined.
4429
4430 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4431
4432 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4433 directory only if it actually exists.
4434
4435 2004-06-18 Graydon Hoare <graydon@redhat.com>
4436
4437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4438 Fix up non-ansi comments.
4439
4440 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4441
4442 * javax/swing/text/AbstractDocument.java: Adding missing import
4443 for javax.swing.event.EventListenerList.
4444 * javax/swing/text/DefaultCaret.java: Likewise.
4445
4446 2004-06-17 Michael Koch <konqueror@gmx.de>
4447
4448 * javax/swing/JToolBar.java
4449 (name): Removed.
4450 (JToolBar): Use Component.setName(String) instead of doing it all
4451 alone.
4452 * javax/swing/Timer.java
4453 (queueEvent): Added missing modifier.
4454
4455 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4456
4457 * Makefile.am: Added new file.
4458 * Makefile.in: Re-generate.
4459 * javax/swing/JMenu.java:
4460 (insertSeparator): Implemented.
4461 * javax/swing/JPopupMenu.java:
4462 (JPopupMenu.Separator): Implemented.
4463 * javax/swing/MenuSelectionManager.java:
4464 (processMouseEvent): Use java.awt.Component
4465 for event source instead of javax.swing.JComponent.
4466 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4467 New File. Implemented.
4468
4469 2004-06-16 David Jee <djee@redhat.com>
4470
4471 * java/awt/GridBagLayout.java
4472 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4473 Make sure pos_x and pos_y are never negative.
4474
4475 2004-04-16 Andrew Overholt <overholt@redhat.com>
4476
4477 * Makefile.am: Add new file.
4478 * Makefile.in: Re-generate.
4479 * javax/swing/JToolBar.java
4480 Partially implemented.
4481 * javax/swing/plaf/basic/BasicToolBarUI.java
4482 New file. Partially implemented.
4483
4484 2004-06-16 Graydon Hoare <graydon@redhat.com>
4485
4486 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4487 (setComposite): Accept AlphaComposite arguments.
4488 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4489 (createBufferedImage): Add new overloads.
4490 * gnu/java/awt/peer/gtk/GtkToolkit.java
4491 (createImage): Use GdkPixbufDecoder.createBufferedImage
4492 when useGraphics2D() is true.
4493 (getImage): Delegate to createImage.
4494 * javax/swing/JList.java
4495 (isSelectionEmpty):
4496 (getFirstVisibleIndex):
4497 (getLastVisibleIndex):
4498 (setSelectedValue):
4499 (ensureIndexIsVisible): New methods.
4500 * javax/swing/Timer.java: Reimplement.
4501
4502 2004-06-16 Michael Koch <konqueror@gmx.de>
4503
4504 * javax/swing/text/AbstractDocument.java
4505 (AbstracElement): Made public, implements java.io.Serializable.
4506 (AttributeContext): Made public.
4507 (BranchElement): Likewise.
4508 (Content): Likewise.
4509 (DefaultDocumentEvent): Made public, extends
4510 javax.swing.undo.CompoundEdit.
4511 (ElementEdit): Made public, extends
4512 javax.swing.undo.AbstractUndoableEdit.
4513 (LeafElement): Made public.
4514 (LeafElement.LeafElement): Made public.
4515
4516 2004-06-16 Michael Koch <konqueror@gmx.de>
4517
4518 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4519 methods (that were obviously never be intended to get included hi this
4520 class. Added some methods too.
4521
4522 2004-06-16 Michael Koch <konqueror@gmx.de>
4523
4524 * javax/swing/text/PlainDocument.java
4525 (serialVersionUID): New constant.
4526 (lineLimitAttribute): Likewise.
4527 (tabSizeAttribute): Likewise.
4528 (tabSize): New field.
4529 (PlainDocument): Made public.
4530 (PlainDocument): New constructor.
4531
4532 2004-06-16 Michael Koch <konqueror@gmx.de>
4533
4534 * javax/swing/text/AbstractDocument.java
4535 (insertString): Throws BadLocationException.
4536 * javax/swing/text/Document.java
4537 (insertString): Likewise.
4538 * javax/swing/text/JTextComponent.java:
4539 Javadocs and comments cleaned up.
4540
4541 2004-06-16 Michael Koch <konqueror@gmx.de>
4542
4543 * javax/swing/event/UndoableEditListener.java: Reformatted.
4544 * javax/swing/text/AbstractDocument.java
4545 (AbstractDocument): Implements java.io.Serializable.
4546 (doc_list): Removed.
4547 (undo_list): Removed.
4548 (AbstractElement.serialVerionUID): New field.
4549 (BranchElement.serialVerionUID): Likewise.
4550 (DefaultDocumentEvent.serialVerionUID): Likewise.
4551 (ElementEdit.serialVerionUID): Likewise.
4552 (LeafElement.serialVerionUID): Likewise.
4553 (serialVerionUID): Likewise.
4554 (BAD_LOCATION): New constant.
4555 (BidiElementName): Likewise.
4556 (ContentElementName): Likewise.
4557 (ParagraphElementName): Likewise.
4558 (SectionElementName): Likewise.
4559 (ElementNameAttribute): Likewise.
4560 (AbstractDocument): Made protected.
4561 (AbstractDocument): New construtor.
4562 (listenerList): New field.
4563 (fireChangedUpdate): Implemented.
4564 (fireInsertUpdate): Likewise.
4565 (fireRemoveUpdate): Likewise.
4566 (fireUndoableEditUpdate): Likewise.
4567 (getListeners): Likewise.
4568 (addDocumentListener): Likewise.
4569 (removeDocumentListener): Likewise.
4570 (addUndoableEditListener): Likewise.
4571 (removeUndoableEditListener): Likewise.
4572 (getDocumentListeners): New method.
4573 (getUndoableEditListeners): Likewise.
4574 (getAsynchronousLoadPriority): Made public.
4575 (getBidiRootElement): Likewise.
4576 (setAsynchronousLoadPriority): Likewise.
4577 (setDocumentProperties): Likewise.
4578 * javax/swing/text/BadLocationException.java
4579 (serialVerionUID): New field.
4580 * javax/swing/text/DefaultCaret.java
4581 (changeEvent): New field.
4582 (listenerList): Likewise.
4583 (changes): Removed.
4584 (addChangeListener): Reimplemented.
4585 (removeChangeListener): Likewise.
4586 (getListeners): New method.
4587 (getChangeListeners): Likwise.
4588 (getComponent): Likewise.
4589 * javax/swing/text/GapContent.java
4590 (GapContent): Implements java.io.Serializable.
4591 (serialVerionUID): New field.
4592
4593 2004-06-16 Michael Koch <konqueror@gmx.de>
4594
4595 * javax/swing/JTree.java
4596 (treeModel): New field.
4597 (JTree): New constructors, one existing one made public.
4598 (createTreeModel): New method.
4599 (addTreeExpansionListener): Likewise.
4600 (removeTreeExpansionListener): Likewise.
4601 (getTreeExpansionListeners): Likewise.
4602 (fireTreeCollapsed): Likewise.
4603 (fireTreeExpanded): Likewise.
4604 (addTreeSelectionListener): Likewise.
4605 (removeTreeSelectionListener): Likewise.
4606 (getTreeSelectionListeners): Likewise.
4607 (fireValueChanged): Likewise.
4608 (addTreeWillExpandListener): Likewise.
4609 (removeTreeWillExpandListener): Likewise.
4610 (getTreeWillExpandListeners): Likewise.
4611 (fireTreeWillCollapse): Likewise.
4612 (fireTreeWillExpand): Likewise.
4613
4614 2004-06-16 Michael Koch <konqueror@gmx.de>
4615
4616 * javax/swing/JTree.java: Reformatted.
4617
4618 2004-06-16 Michael Koch <konqueror@gmx.de>
4619
4620 * javax/swing/JTextArea.java: New file.
4621 * javax/swing/JTextField.java
4622 (actions): Removed.
4623 (notifyAction): New constant.
4624 (columns): New field.
4625 (JTextField): New constructors.
4626 (createDefaultModel): New method.
4627 (addActionListener): Reimplmemented.
4628 (removeActionListener): Reimplemented.
4629 (getActionListeners): New method.
4630 (fireActionPerformed): New method.
4631 (getColumns): New method.
4632 (setColumne): New method.
4633 * javax/swing/text/JTextComponent.java
4634 (AccessibleJTextComponent.serialVersionUID): New field.
4635 (serialVersionUID): Likewise.
4636 (DEFAULT_KEYMAP): Likewise.
4637 (FOCUS_ACCELERATOR_KEY): Likewise.
4638 (doc): Made private.
4639 (icon_gap): Likewise.
4640 (icon): Likewise.
4641 (align): Likewise.
4642 (JTextComponent): Some constructors removed.
4643 (getScrollableTracksViewportHeight): New method.
4644 (getScrollableTracksViewportWidth): Likewise.
4645 * Makefile.am: Added javax/swing/JTextArea.java.
4646 * Makefile.in: Regenerated.
4647
4648 2004-06-15 Graydon Hoare <graydon@redhat.com>
4649
4650 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4651 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4652 * javax/swing/JViewport.java
4653 (getExtentSize): Return size rather than preferred size.
4654 (toViewCoordinates): New methods.
4655 (getViewSize): Return size rather than preferred size.
4656 (setViewSize): Note view size as set.
4657 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4658 * javax/swing/plaf/basic/BasicScrollBarUI.java
4659 (getPreferredSize): Don't redo layout.
4660 * javax/swing/plaf/basic/BasicViewportUI.java
4661 (paint): Translate image properly and eat exceptions.
4662
4663 2004-06-15 Kim Ho <kho@redhat.com>
4664
4665 * javax/swing/JTabbedPane.java
4666 (setComponent): Remove old component and
4667 add new component.
4668 (setSelectedIndex): Don't operate on the
4669 components if they're null. Don't set index
4670 on the model if the index is the same.
4671 (insertTab): Don't add or hide the component
4672 if it's null. Repaint the container.
4673 * javax/swing/plaf/basic/BasicLookAndFeel.java
4674 Change colors for TabbedPane.
4675 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4676 (mousePressed): Re-layout and paint the component.
4677 (layoutContainer): Don't set location on the view.
4678 (ScrollingViewport::paint): Remove.
4679
4680 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4681
4682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4683 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4684
4685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4686 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4687 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4688 critical region.
4689 (drawLine): Call gdk_flush before leaving GDK critical region.
4690 (fillRect): Likewise.
4691 (drawRect): Likewise.
4692 (copyArea): Likewise.
4693 (copyPixmap): Likewise.
4694 (clearRect): Likewise.
4695 (drawArc): Likewise.
4696 (drawPolyline): Likewise.
4697 (drawPolygon): Likewise.
4698 (fillPolygon): Likewise.
4699 (fillArc): Likewise.
4700 (drawOval): Likewise.
4701 (fillOval): Likewise.
4702
4703 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4704 style parameter.
4705 (GdkFontMetrics): Add style argument to initState call.
4706 (stringWidth(String,int,int,String)): Add style parameter.
4707 (stringWidth(String)): Add style argument to stringWidth call.
4708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4709 (initState): Set pango font style and weight based on AWT style
4710 parameter. Pass default GTK language to
4711 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4712 simply dividing by PANGO_SCALE.
4713 (stringWidth): Set pango font style and weight based on AWT style
4714 parameter.
4715
4716 * java/awt/Button.java (next_button_number): New field.
4717 (paramString): Change output.
4718 (generateName): New method.
4719 (getUniqueLong): New method.
4720
4721 2004-06-14 Kim Ho <kho@redhat.com>
4722
4723 * javax/swing/JTabbedPane.java:
4724 (setComponentAt): Set the component, not
4725 the enabled status.
4726 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4727 (actionPerformed): Let deiconize catch exception.
4728
4729 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4730
4731 * javax/swing/JPopupMenu.java:
4732 (setVisible): Corrected location of a
4733 heavyweight popup menu.
4734
4735 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4736
4737 * javax/swing/MenuSelectionManager.java:
4738 Ran through jalopy to fix formatting style.
4739
4740 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4741
4742 * javax/swing/JLayeredPane.java:
4743 (remove): Revalidate and repaint layered pane after
4744 the component was removed.
4745 javax/swing/JMenu.java:
4746 (setVisible): Display popup menu at the user location,
4747 if one was set by the user.
4748 (setMenuLocation): Reimplemented. Fixed javadoc.
4749 * javax/swing/JMenuBar.java: Added javadoc.
4750 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4751 (MODEL_CHANGED_PROPERTY): New Property.
4752 (isSelected): Implemented.
4753 (setBorderPainted): Fire PropertyChangeEvent
4754 if paintBorder property changes.
4755 (setSelected): Implemented.
4756 (setSelectionModel): Implemented.
4757 * javax/swing/JPopupMenu.java: Added Javadoc
4758 (pack): Implemented.
4759 (setVisible): Reimplemented.
4760 (show): Fixed location.
4761 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4762 Container instead of JPanel.
4763 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4764 (clearSelectedPath): Reimplemented to clear selectedPath
4765 in reverse order.
4766 (processMouseEvent): Reimplemented.
4767 (setSelectedPath): Fire stateChange event indicating that
4768 selected menu path has changed.
4769 (getPath): Change to use ArrayList instead of Vector.
4770 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4771 (installUI): call installKeyboardActions().
4772 (uninstallUI): call uninstallKeyboardActions().
4773
4774 2004-06-13 Michael Koch <konqueror@gmx.de>
4775
4776 * javax/swing/text/DefaultCaret.java,
4777 javax/swing/text/BadLocationException.java:
4778 Reformatted.
4779
4780 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4781
4782 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4783 DEFAULT_COLS): New variables.
4784 (create): Don't allow 0 rows or 0 columns. Instead, set the
4785 values to DEFAULT_ROWS or DEFAULT_COLS.
4786 (getMinimumSize): Likewise.
4787 (getPreferredSize): Likewise.
4788 (minimumSize): Likewise.
4789 (preferredSize): Likewise.
4790 (create): Set peer's editable state.
4791 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4792 zero. Update javadocs.
4793 (TextArea(String)): Likewise.
4794 (TextArea(int,int)): Fix javadocs.
4795 (TextArea(String,int,int,int)): Only throw exception if one of
4796 rows or columns is zero. Fix javadocs.
4797
4798 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4799
4800 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4801 addition to Components.
4802
4803 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4804 wasn't consumed by normal processing, send it to the parent
4805 menu.
4806
4807 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4808 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4809 translation.
4810
4811 2004-06-11 David Jee <djee@redhat.com>
4812
4813 * java/awt/MediaTracker.java
4814 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4815 (addImage(Image,int,int,int)): Likewise.
4816
4817 2004-06-11 Michael Koch <konqueror@gmx.de>
4818
4819 * javax/swing/text/AbstractDocument.java,
4820 javax/swing/text/Document.java,
4821 javax/swing/text/GapContent.java,
4822 javax/swing/text/JTextComponent.java,
4823 javax/swing/text/PlainDocument.java:
4824 Reformatted.
4825
4826 2004-06-11 Michael Koch <konqueror@gmx.de>
4827
4828 * javax/swing/JRootPane.java
4829 (AccessibleJRootPane.serialVersionUID): New field.
4830 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4831 (AccessibleJRootPane.getAccessibleRole): New method.
4832 (RootLayout): Implements Serializable.
4833 (RootLayout.serialVersionUID): New field.
4834 (RootLayout.RootLayout): New constructor.
4835 (setJMenuBar): Made public.
4836 (getJMenuBar): Likewise.
4837 (JRootPane): Likewise.
4838 (createContentPane): Likewise.
4839 (createGlassPane): Likewise.
4840 (createLayeredPane): Likewise.
4841
4842 2004-06-11 Michael Koch <konqueror@gmx.de>
4843
4844 * javax/swing/SwingUtilities.java
4845 (isLeftMouseButton): Fixed javadoc.
4846 (isMiddleMouseButton): Likewise.
4847 (isRightMouseButton): Likewise.
4848
4849 2004-06-11 Michael Koch <konqueror@gmx.de>
4850
4851 * javax/swing/JScrollPane.java
4852 (serialVersionUID): New field.
4853 (columnHeader): Made protected.
4854 (rowHeader): Likewise.
4855 (lowerLeft): Likewise.
4856 (lowerRight): Likewise.
4857 (upperLeft): Likewise.
4858 (upperRight): Likewise.
4859 (horizontalScrollBar): Likewise.
4860 (horizontalScrollBarPolicy): Likewise.
4861 (verticalScrollBar): Likewise.
4862 (verticalScrollBarPolicy): Likewise.
4863 (viewport): Likewise.
4864
4865 2004-06-11 Michael Koch <konqueror@gmx.de>
4866
4867 * javax/swing/LookAndFeel.java: Fixed javadocs.
4868
4869 2004-06-11 Michael Koch <konqueror@gmx.de>
4870
4871 * javax/swing/JEditorPane.java: Fixed javadocs.
4872 (JEditorPane): Removed redundant call to to this().
4873 (fireHyperlinkUpdate): Implemented.
4874
4875 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4876
4877 * javax/swing/JMenu.java: Fixed file name
4878 in the file comment.
4879
4880 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4881
4882 * javax/swing/JMenu.java: Added javadoc.
4883 (JMenu): Added MenuChangeListener to listen to
4884 ChangeEvents occuring in menu's model.
4885 (insert): Throw IllegalArgumentException if
4886 index is less than 0
4887 (setSelected): Reimplement.
4888 (setPopupMenuVisible): Call menu's model isEnabled()
4889 (setDelay): Throw IllegalArgumentException if
4890 given amount of delay is less than 0.
4891 (createActionComponent): Implemented.
4892 (createActionChangeListener): Implemented.
4893 (addSeparator): Implemented.
4894 (getItem): Throw IllegalArgumentException if index is
4895 less than 0.
4896 (getItemCount): Implemented.
4897 (fireMenuSelected): Changed to use menuEvent.
4898 (fireMenuDeselected): Likewise.
4899 (fireMenuCanceled): Likewise.
4900 (setAccelerator): Changed to throw an error if this
4901 method is used.
4902 (doClick): Implemented.
4903 (JMenu.ActionChangedListener): New inner class to handle
4904 PropertyChangeEvents occuring in the actions associated with menu.
4905 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4906 (BasicMenuUI): Added PropertyChangeListener to the menu.
4907 (createChangeListener): Implemented.
4908 (createMenuDragMouseListener): Likewise.
4909 (createMenuKeyListener): Likewise.
4910 (createPropertyChangeListener): Likewise.
4911 (uninstallListeners): Likewise.
4912 (BasicMenuUI.MouseInputHandler): Reimplemented.
4913 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4914 (BasicMenuUI.ChangeHandler): Likewise.
4915 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4916 (BasicMenuUI.MenuKeyHandler): Likewise.
4917
4918 2004-06-10 David Jee <djee@redhat.com>
4919
4920 * java/awt/MediaTracker.java
4921 (imageUpdate): Only do notifyAll() if the image is complete.
4922
4923 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4924
4925 * javax/swing/JApplet.java:
4926 (getJMenuBar): Made public.
4927 (setJMenuBar): Likewise.
4928 * javax/swing/JFrame.java:
4929 (getJMenuBar): Made public.
4930 (setJMenuBar): Likewise.
4931 * javax/swing/JWindow.java:
4932 (getJMenuBar): Removed.
4933 (setJMenuBar): Removed.
4934
4935 2004-06-10 Michael Koch <konqueror@gmx.de>
4936
4937 * javax/swing/JEditorPane.java
4938 (createEditorKitForContentType): Fixed visibility.
4939 (fireHyperlinkUpdate): Likewise.
4940 (getContentType): Likewise.
4941 (getEditorKit): Likewise.
4942 (getEditorKitForContentType): Likewise.
4943 (getPage): Likewise.
4944 (read): Likewise.
4945 (registerEditorKitForContentTyoe): Likewise.
4946 (replaceSelection): Likewise.
4947 (setContentType): Likewise.
4948 (setEditorKit): Likewise.
4949 (setPage): Likewise.
4950
4951 2004-06-10 Michael Koch <konqueror@gmx.de>
4952
4953 * javax/swing/Timer.java
4954 (Timer): New constructor.
4955 * javax/swing/plaf/basic/BasicProgressBarUI.java
4956 (animationTimer): Don't initialize at construction.
4957 (startAnimationTimer): Added since tag.
4958 (stopAnimationTimer): Likewise.
4959 (installUI): Use new Timer constructor.
4960 * javax/swing/plaf/basic/BasicScrollBarUI.java
4961 (installUI): Likewise.
4962 * javax/swing/plaf/basic/BasicSliderUI.java
4963 (installUI): Likewise.
4964
4965 2004-06-10 Michael Koch <konqueror@gmx.de>
4966
4967 * javax/swing/ButtonGroup.java
4968 (serialVersionUID): Made private.
4969 (buttons): Renamed from v, added javadoc.
4970 (sel): Added javadoc.
4971 (ButtonGroup): Likewise.
4972 (add): Likewise.
4973 (remove): Likewise.
4974 (getElements): Likewise.
4975 (getSelection): Likewise.
4976 (setSelected): Likewise.
4977 (isSelected): Likewise.
4978 (getButtonCount): Likewise.
4979
4980 2004-06-10 Michael Koch <konqueror@gmx.de>
4981
4982 * javax/swing/ButtonGroup.java,
4983 javax/swing/ImageIcon.java,
4984 javax/swing/JEditorPane.java,
4985 javax/swing/JRootPane.java,
4986 javax/swing/JTextField.java,
4987 javax/swing/LookAndFeel.java,
4988 javax/swing/plaf/basic/BasicTextUI.java:
4989 Reindented.
4990
4991 2004-06-10 Michael Koch <konqueror@gmx.de>
4992
4993 * javax/swing/text/Style.java: Added javadocs.
4994
4995 2004-06-10 Michael Koch <konqueror@gmx.de>
4996
4997 * javax/swing/JComponent.java
4998 (fireVetoableChange): Removed redundant cast.
4999 * javax/swing/JLabel.java
5000 (getDisabledIcon): Save icon for next call.
5001
5002 2004-06-10 Michael Koch <konqueror@gmx.de>
5003
5004 * javax/swing/KeyStroke.java
5005 (getKeyStroke(char,boolean)): Marked deprecated.
5006
5007 2004-06-10 Michael Koch <konqueror@gmx.de>
5008
5009 * javax/swing/DefaultCellEditor.java,
5010 javax/swing/GrayFilter.java,
5011 javax/swing/event/DocumentEvent.java,
5012 javax/swing/text/JTextComponent.java,
5013 javax/swing/text/MutableAttributeSet.java:
5014 Reindented.
5015
5016 2004-06-10 Michael Koch <konqueror@gmx.de>
5017
5018 * javax/swing/plaf/BorderUIResource.java:
5019 Added serialVersionUID all over.
5020
5021 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5022
5023 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5024
5025 2004-06-10 Michael Koch <konqueror@gmx.de>
5026
5027 * javax/swing/table/DefaultTableCellRenderer.java
5028 (noFocusBorder): Initialize directly.
5029
5030 2004-06-10 Michael Koch <konqueror@gmx.de>
5031
5032 * javax/swing/plaf/basic/BasicArrowButton.java
5033 (setDirection): Use method argument.
5034
5035 2004-06-10 Michael Koch <konqueror@gmx.de>
5036
5037 * javax/swing/plaf/BorderUIResource.java,
5038 javax/swing/plaf/ComponentUI.java,
5039 javax/swing/undo/CompoundEdit.java,
5040 javax/swing/undo/StateEdit.java:
5041 Fixed javadocs all over.
5042
5043 2004-06-10 Michael Koch <konqueror@gmx.de>
5044
5045 * javax/swing/DefaultButtonModel.java
5046 (ARMED): Made public final, fixed value.
5047 (ENABLED): Likewise.
5048 (PRESSED): Likewise.
5049 (ROLLOVER): Likewise.
5050 (SELECTED): Likewise.
5051 (stateMask): Initialize directly.
5052 (listenerList): Likewise.
5053 (mnemonic): Likewise.
5054 (fireStateChanged): Removed argument, use changeEvent as event.
5055 All places where this method is called are fixed too.
5056 (getActionCommant): Fixed javadoc.
5057 (setGroup): Fixed javadoc.
5058 (getGroup): New method.
5059
5060 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5061
5062 * javax/swing/AbstractButton.java
5063 (AbstractButton): Use init() to initialize the button.
5064 (init): New Method. Initializes AbstractButton.
5065 * javax/swing/JMenuItem.java: Documented.
5066 (JMenuItem): Reimplemented.
5067 (init): Implemented.
5068 (setEnabled): Changed to call super.setEnabled()
5069 (processMouseEvent): Reimplemented.
5070 (fireMenuKeyPressed): Implemented.
5071 (fireMenuKeyReleased): Implemented.
5072 (fireMenuKeyTyped): Implemented.
5073 (menuSelectionChanged): disarm the model if the menu item was
5074 deselected.
5075 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5076 (getPath): Change to use ArrayList instead of Vector.
5077 (getPreferredSize): Renamed variable.
5078 (paintMenuItem): Paint margin area of menu item.
5079 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5080 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5081 menu item's bounds before clearing the selection.
5082
5083 2004-06-09 David Jee <djee@redhat.com>
5084
5085 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5086 (GtkTextComponentPeer): Set caret position to 0.
5087 * java/awt/TextComponent.java
5088 (setText): Set caret position to 0.
5089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5090 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5091 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5092 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5093 Likewise.
5094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5095 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5096 visible.
5097
5098 2004-06-09 Kim Ho <kho@redhat.com>
5099
5100 * Makefile.am: New files
5101 * Makefile.in: Regenerated
5102 * java/awt/Container.java
5103 (getComponentAt): Removed.
5104 * javax/swing/AbstractAction.java
5105 (ENABLED_PROPERTY): New property.
5106 (putValue): Fire PropertyChangeEvents.
5107 (setEnabled): ditto.
5108 (firePropertyChange): Javadoc and implement
5109 convenience method.
5110 * javax/swing/AbstractButton.java
5111 (setAction): Don't create PropertyChangeListener
5112 if new Action is null.
5113 (setIcon): Don't set icon till after comparing
5114 it.
5115 (configurePropertiesFromAction): Check mnemonic
5116 key before calling intValue().
5117 (createActionPropertyChangeListener): Check
5118 properties rather than bulk change.
5119 * javax/swing/DefaultDesktopManager.java:
5120 Implement.
5121 * javax/swing/DesktopManager.java:
5122 Jalopy and javadoc.
5123 * javax/swing/JComponent.java
5124 (fireVetoableChange): Implement.
5125 (paintImmediately): Use root component.
5126 * javax/swing/JDesktopPane.java: Implement
5127 * javax/swing/JInternalFrame.java: Implement
5128 * javax/swing/JLabel.java
5129 (getDisabledIcon): Return grayscaled icon if
5130 no disabled icon specified.
5131 * javax/swing/JMenuBar.java
5132 (getComponentAtIndex): Use getComponent
5133 * javax/swing/JOptionPane.java
5134 (getDesktopPaneForComponent): Use SwingUtilities'
5135 getAncestorOfClass
5136 (getFrameForComponent): ditto.
5137 * javax/swing/JSplitPane.java
5138 (remove): Use getComponent.
5139 * javax/swing/SwingUtilities.java
5140 (convertPoint): Implement.
5141 * javax/swing/plaf/basic/BasicButtonUI.java
5142 (paintButtonNormal): Check opaqueness before
5143 filling background.
5144 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5145 Implement
5146 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5147 Implement.
5148 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5149 Implement.
5150 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5151 Implement.
5152 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5153 Change InternalFrame and Desktop colors.
5154
5155 2004-06-09 David Jee <djee@redhat.com>
5156
5157 * java/awt/Container.java
5158 (remove): Do not set component to invisible.
5159
5160 2004-06-09 Michael Koch <konqueror@gmx.de>
5161
5162 * javax/swing/tree/DefaultMutableTreeNode.java
5163 (getLeafCount): Renamed enum to e.
5164
5165 2004-06-09 Michael Koch <konqueror@gmx.de>
5166
5167 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5168 (positionForMouseEvent): Removed redundant semicolon.
5169 (continueDrag): Use method arguments.
5170
5171 2004-06-09 Michael Koch <konqueror@gmx.de>
5172
5173 * javax/swing/border/TitledBorder.java,
5174 javax/swing/filechooser/FileSystemView.java,
5175 javax/swing/plaf/basic/BasicButtonListener.java,
5176 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5177 javax/swing/plaf/basic/BasicLabelUI.java,
5178 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5179 javax/swing/plaf/basic/BasicScrollBarUI.java,
5180 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5181 javax/swing/plaf/basic/BasicSliderUI.java,
5182 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5183 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5184 javax/swing/table/JTableHeader.java,
5185 javax/swing/text/AbstractDocument.java,
5186 javax/swing/text/DefaultCaret.java,
5187 javax/swing/text/StyledEditorKit.java,
5188 javax/swing/tree/DefaultTreeCellEditor.java:
5189 Reworked import statements.
5190
5191 2004-06-08 Graydon Hoare <graydon@redhat.com>
5192
5193 * javax/swing/Box.java: Temporarily comment out code
5194 broken due to visibility bug.
5195
5196 2004-06-09 Michael Koch <konqueror@gmx.de>
5197
5198 * javax/swing/ImageIcon.java
5199 (ImageIcon): Added missing constructor.
5200
5201 2004-06-08 Michael Koch <konqueror@gmx.de>
5202
5203 * javax/swing/JToggleButton.java
5204 (JToggleButton): New constructor.
5205 (getAccessibleContext): Moved documentation into javadoc.
5206 (getUIClassID): Likewise.
5207
5208 2004-06-08 Michael Koch <konqueror@gmx.de>
5209
5210 * javax/swing/AbstractButton.java
5211 (getDisabledIcon): Create disabled icon if none exists yet.
5212
5213 2004-06-08 Michael Koch <konqueror@gmx.de>
5214
5215 * javax/swing/plaf/basic/BasicLookAndFeel.java
5216 (initClassDefaults): Added FormattedTextFieldUI.
5217 (loadResourceBundle): Renamed enum to e.
5218
5219 2004-06-08 Michael Koch <konqueror@gmx.de>
5220
5221 * javax/swing/plaf/basic/BasicButtonUI.java
5222 (paintIcon): Simplified.
5223 (paintText): Paint disabled button correctly.
5224
5225 2004-06-08 Michael Koch <konqueror@gmx.de>
5226
5227 * javax/swing/JComponent.java
5228 (createToolTip): Use official JToolTip API.
5229
5230 2004-06-08 Michael Koch <konqueror@gmx.de>
5231
5232 * javax/swing/JToolTip.java
5233 (JToolTip): No arguments in API.
5234 (setTipText): New method.
5235
5236 2004-06-08 Michael Koch <konqueror@gmx.de>
5237
5238 * javax/swing/SwingUtilities.java
5239 (isLeftMouseButton): New method.
5240 (isMiddleMouseButton): New method.
5241 (isRightMouseButton): New method.
5242
5243 2004-06-08 Michael Koch <konqueror@gmx.de>
5244
5245 * javax/swing/AbstractButton.java,
5246 javax/swing/CellRendererPane.java,
5247 javax/swing/JCheckBoxMenuItem.java,
5248 javax/swing/JColorChooser.java,
5249 javax/swing/JComboBox.java,
5250 javax/swing/JComponent.java,
5251 javax/swing/JDesktopPane.java,
5252 javax/swing/JFileChooser.java,
5253 javax/swing/JMenu.java,
5254 javax/swing/JMenuItem.java,
5255 javax/swing/JOptionPane.java,
5256 javax/swing/JPasswordField.java,
5257 javax/swing/JPopupMenu.java,
5258 javax/swing/JProgressBar.java,
5259 javax/swing/JRadioButtonMenuItem.java,
5260 javax/swing/JScrollBar.java,
5261 javax/swing/JSeparator.java,
5262 javax/swing/JSlider.java,
5263 javax/swing/JSplitPane.java,
5264 javax/swing/JTabbedPane.java,
5265 javax/swing/JTextField.java,
5266 javax/swing/JToolBar.java,
5267 javax/swing/text/JTextComponent.java:
5268 Fixed all constructors of accessibility classes.
5269
5270 2004-06-08 Michael Koch <konqueror@gmx.de>
5271
5272 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5273 over.
5274
5275 2004-06-08 Michael Koch <konqueror@gmx.de>
5276
5277 * javax/swing/Box.java
5278 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5279 (AccessibleBoxFiller.serialVersionUID): New member variable.
5280 * javax/swing/DefaultButtonModel.java
5281 (stateMask): Made protected.
5282 (listenerList): Likewise.
5283 (changeEvent): Likewise.
5284 (group): Likewise.
5285 (mnemonic): Likewise.
5286 (actionCommand): Likewise.
5287 (getListeners): New method.
5288 (getActionListeners): New method.
5289 (getItemListeners): New method.
5290 (getChangeListeners): New method.
5291 (fireItemStateChanged): Simplified.
5292 (fireActionPerformed): Simplified.
5293 (fireStateChanged): Simplified.
5294 * javax/swing/JFrame.java
5295 (JFrame): Implements WindowContants.
5296 (HIDE_ON_CLOSE): Removed.
5297 (EXIT_ON_CLOSE): Removed.
5298 (DISPOSE_ON_CLOSE): Removed.
5299 (DO_NOTHING_ON_CLOSE): Removed.
5300 (processWindowEvent): Exit with code 0.
5301 (setDefaultCloseOperation): Do security check before setting value.
5302 * javax/swing/JOptionPane.java
5303 (message): Initialize only in constructor.
5304 * javax/swing/JToolTip.java: Removed unused imports.
5305 * javax/swing/JViewport.java
5306 (serialVersionUID): New member variable.
5307 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5308 (BLIT_SCROLL_MODE): Likewise.
5309 (BACKINGSTORE_SCROLL_MODE): Likewise.
5310 (scrollUnderway): Made protected.
5311 (isViewSizeSet): Likewise.
5312 * javax/swing/ListModel.java: Fixed javadoc.
5313 * javax/swing/Popup.java: Likewise.
5314 * javax/swing/RepaintManager.java
5315 (paintDirtyRegions): Don't use internal classes of
5316 java.util.AbstractMap.
5317 * javax/swing/ScrollPaneConstants.java: Reindented.
5318 * javax/swing/ScrollPaneLayout.java
5319 (viewport): Made protected.
5320 (verticalScrollBar): Made protected, renamed to vsb.
5321 (horizontalScrollBar): Made protected, renamed to hsb.
5322 (rowHeader): Made protected, renamed to rowHead.
5323 (columnHeader): Made protected, renamed to colHead.
5324 (lowerLeft): Made protected.
5325 (lowerRight): Made protected.
5326 (upperLeft): Made protected.
5327 (upperRight): Made protected.
5328 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5329 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5330
5331 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5332
5333 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5334 LOADING if flags has SOMEBITS set.
5335
5336 2004-06-07 Michael Koch <konqueror@gmx.de>
5337
5338 * javax/swing/AbstractButton.java: Reorganized imports.
5339 * javax/swing/ActionMap.java: Likewise.
5340 * javax/swing/DefaultButtonModel.java: Likewise.
5341 * javax/swing/DefaultListModel.java: Likewise.
5342 * javax/swing/ImageIcon.java: Likewise.
5343 (serialVersionUID): New member variable.
5344 * javax/swing/JComboBox.java: Reorganized imports.
5345 * javax/swing/JComponent.java: Likewise.
5346 (ui): Made protected.
5347 (listenerList): Made protected.
5348 (TOOL_TIP_TEXT_KEY): New constant.
5349 (scrollRectToVisible): Removed redundant null check.
5350 * javax/swing/JFrame.java: Reorganized imports.
5351 * javax/swing/JInternalFrame.java: Reorganized imports.
5352 * javax/swing/JProgressBar.java: Likewise.
5353 * javax/swing/JRootPane.java: Likewise.
5354 * javax/swing/JScrollBar.java: Likewise.
5355 * javax/swing/JSeparator.java: Likewise.
5356 * javax/swing/JSlider.java: Likewise.
5357 * javax/swing/JTabbedPane.java: Likewise.
5358 * javax/swing/JTextField.java: Likewise.
5359 * javax/swing/JToolBar.java: Likewise.
5360 * javax/swing/JTree.java: Likewise.
5361 * javax/swing/JViewport.java: Likewise.
5362 * javax/swing/JWindow.java: Likewise.
5363 * javax/swing/KeyStroke.java: Likewise.
5364 * javax/swing/LookAndFeel.java: Likewise.
5365 * javax/swing/MenuSelectionManager.java: Likewise.
5366 * javax/swing/SwingUtilities.java: Likewise.
5367 * javax/swing/Timer.java: Likewise.
5368 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5369 * javax/swing/JList.java
5370 (HORIZONTAL_WRAP): Made final, fixed value.
5371 (VERTICAL): Likewise.
5372 (VERTICAL_WRAP): Likewise.
5373
5374 2004-06-07 Michael Koch <konqueror@gmx.de>
5375
5376 * javax/swing/AbstractButton.java
5377 (serialVersionUID): New member variable.
5378 (AccessibleAbstractButton.serialVersionUID): Likewise.
5379 (AbstractButton): Made public.
5380 * javax/swing/Box.java
5381 (AccessibleBox.serialVersionUID): New member variable.
5382 (Filler.serialVersionUID): Likewise.
5383 * javax/swing/DefaultListSelectionModel.java
5384 (serialVersionUID): Likewise.
5385 * javax/swing/JApplet.java
5386 (serialVersionUID): Likewise.
5387 * javax/swing/JCheckBox.java
5388 (serialVersionUID): Likewise.
5389 * javax/swing/JCheckBoxMenuItem.java
5390 (serialVersionUID): Likewise.
5391 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5392 * javax/swing/JColorChooser.java
5393 (serialVersionUID): Likewise.
5394 (AccessibleJColorChooser.serialVersionUID): Likewise.
5395 * javax/swing/JComponent.java
5396 (serialVersionUID): Made private.
5397 (AccessibleJComponent.serialVersionUID): New member variable.
5398 * javax/swing/JDesktopPane.java
5399 (serialVersionUID): Likewise.
5400 * javax/swing/JDialog.java
5401 (serialVersionUID): Likewise.
5402 * javax/swing/JFormattedTextField.java
5403 (serialVersionUID): Fixed value.
5404 * javax/swing/JFrame.java
5405 (serialVersionUID): New member variable.
5406 (getDefaultCloseOpertation): Made public.
5407 * javax/swing/JLayeredPane.java
5408 (serialVersionUID): Likewise.
5409 (LAYER_PROPERTY): Made final, fixed value.
5410 (JLayeredPane): Made public.
5411 * javax/swing/JMenu.java
5412 (AccessibleJMenu.serialVersionUID): New member variable.
5413 (WinListener.serialVersionUID): Likewise.
5414 * javax/swing/JMenuBar.java
5415 (serialVersionUID): Likewise.
5416 (getComponentAtIndex): Added @deprecated tag.
5417 * javax/swing/JMenuItem.java
5418 (serialVersionUID): New member variable.
5419 (AccessibleJMenuItem.serialVersionUID): Likewise.
5420 * javax/swing/JOptionPane.java
5421 (serialVersionUID): Likewise.
5422 (AccessibleJOptionPane.serialVersionUID): Likewise.
5423 * javax/swing/JPopupMenu.java
5424 (serialVersionUID): Likewise.
5425 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5426 (getPopupMenuListeners): New method.
5427 (getComponentAtIndex): Added @deprecated tag.
5428 * javax/swing/JProgressBar.java
5429 (serialVersionUID): New member variable.
5430 (AccessibleJProgressBar.serialVersionUID): Likewise.
5431 * javax/swing/JRadioButton.java
5432 (serialVersionUID): Likewise.
5433 * javax/swing/JRadioButtonMenuItem.java
5434 (serialVersionUID): Likewise.
5435 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5436 * javax/swing/JScrollBar.java
5437 (serialVersionUID): Likewise.
5438 (AccessibleJScrollBar.serialVersionUID): Likewise.
5439 * javax/swing/JSeparator.java
5440 (serialVersionUID): Likewise.
5441 (AccessibleJSeparator.serialVersionUID): Likewise.
5442 * javax/swing/JSlider.java: Fixed javadocs.
5443 (AccessibleJSlider.serialVersionUID): New member variable.
5444 * javax/swing/JSplitPane.java: Added copyright statement.
5445 (serialVersionUID): New member variable.
5446 (AccessibleJSplitPane.serialVersionUID): Likewise.
5447 * javax/swing/JTabbedPane.java
5448 (serialVersionUID): Likewise.
5449 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5450 (ModelListener.serialVersionUID): Likewise.
5451 (ModelListener.ModelListener): New constructor.
5452 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5453 (WRAP_TAB_LAYOUT): Likewise.
5454 * javax/swing/JTable.java
5455 (serialVersionUID): New member variable.
5456 * javax/swing/JToggleButton.java
5457 (serialVersionUID): Likewise.
5458 (ToggleButtonModel): Made static.
5459 (ToggleButtonModel.serialVersionUID): New member variable.
5460 * javax/swing/JToolTip.java
5461 (serialVersionUID): Likewise.
5462 * javax/swing/JTree.java
5463 (serialVersionUID): Likewise.
5464 * javax/swing/JWindow.java
5465 (serialVersionUID): Likewise.
5466 * javax/swing/Timer.java
5467 (serialVersionUID): Likewise.
5468
5469 2004-06-06 Michael Koch <konqueror@gmx.de>
5470
5471 * javax/swing/SwingConstants.java
5472 (NEXT): New constant.
5473 (PREVIOUS): Likewise.
5474 * javax/swing/UIManager.java
5475 (LookAndFeel): Made public.
5476 (LookAndFeel.getClassName): Likewise.
5477 (LookAndFeel.getName): Likewise.
5478
5479 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5480
5481 * javax/swing/JCheckBoxMenuItem.java:
5482 Removed CVS tags.
5483 * javax/swing/JMenu.java: Likewise.
5484 * javax/swing/JMenuBar.java: Likewise.
5485 * javax/swing/JMenuItem.java: Likewise.
5486 * javax/swing/JPopupMenu.java: Likewise.
5487 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5488 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5489 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5490 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5491 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5492 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5493 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5494
5495 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5496
5497 * javax/swing/plaf/basic/BasicMenuUI.java:
5498 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5499 Call getPath() from super class instead.
5500
5501 2004-05-31 David Jee <djee@redhat.com>
5502
5503 * java/awt/Container.java
5504 (remove): Set component visibility to false after removing it.
5505
5506 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5507
5508 * java/awt/Component.java (getForeground): Return SystemColor if
5509 parent is null.
5510 (getBackground): Likewise.
5511
5512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5513 (item_highlighted): New function.
5514 (connectSignals): Set item_highlighted as list's select
5515 function.
5516
5517 * java/applet/Applet.java: Revert changes from 2004-04-29,
5518 2004-03-15 and 2004-03-14.
5519
5520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5521 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5522 factor.
5523
5524 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5525 "Dialog" as the default font.
5526 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5527 Likewise.
5528 * java/awt/Component.java (getFont): Return "Dialog" font by
5529 default.
5530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5531 Multiply size argument to pango_font_description_set_size by the
5532 DPI conversion factor rather than by PANGO_SCALE.
5533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5541 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5543 Divide baseline y coordinate by DPI conversion factor rather
5544 than by PANGO_SCALE.
5545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5546 (area_prepared): Fix typo.
5547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5548 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5550 (dpi_conversion_factor): New global variable.
5551 (init_dpi_conversion_factor): New function to calculate and
5552 track DPI conversion factor.
5553 (dpi_changed_cb): New callback.
5554 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5555
5556 2004-05-27 David Jee <djee@redhat.com>
5557
5558 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5559 (getGraphics): Return a new GdkGraphics instance.
5560 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5561 (getGraphics): Call super.getGraphics().
5562
5563 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5564
5565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5566 (setNativeBounds): Clamp width and height values to >= 0.
5567
5568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5569 (find_fg_color_widget): Handle GtkOptionMenu specially.
5570
5571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5572 (pre_event_handler): Only post configure events to visible
5573 top-level windows.
5574
5575 2004-05-26 David Jee <djee@redhat.com>
5576
5577 * java/awt/BorderLayout.java
5578 (layoutContainer): Fix size calculations.
5579
5580 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5581
5582 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5583 (window_wm_protocols_filter): Remove function.
5584 (create): Remove filter that removes WM_TAKE_FOCUS client
5585 messages.
5586
5587 2004-06-17 Anthony Green <green@redhat.com>
5588
5589 * java/util/zip/ZipFile.java (getInputStream): Return null if
5590 entry not found.
5591
5592 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5593 directory contents to the class path.
5594
5595 2004-06-15 Andrew Haley <aph@redhat.com>
5596
5597 * java/lang/natSystem.cc (getenv0): Don't assume environment
5598 variable is Latin 1 coded.
5599
5600 2004-06-14 Andreas Jaeger <aj@suse.de>
5601
5602 * configure.in: Support --enable-version-specific-runtime-libs.
5603 * configure: Regenerated.
5604
5605 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5606
5607 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5608 to pass ClassLoader argument.
5609 * java/util/GregorianCalendar.java: Likewise.
5610 * java/util/Currency.java: Likewise.
5611 * java/text/BreakIterator.java: Likewise.
5612 * java/text/Collator.java: Likewise.
5613 * java/text/DateFormat.java: Likewise.
5614 * java/text/DateFormatSymbols.java: Likewise.
5615 * java/text/DecimalFormatSymbols.java: Likewise.
5616 * java/text/NumberFormat.java: Likewise.
5617 * java/awt/Window.java: Likewise.
5618
5619 2004-06-14 Andrew Haley <aph@redhat.com>
5620
5621 * java/lang/System.java: (getenv0): New method.
5622 (getenv): Add security check. Do the right thing.
5623 * java/lang/natSystem.cc (getenv0): New method.
5624
5625 2004-06-12 Mark Wielaard <mark@klomp.org>
5626
5627 * javax/swing/RepaintManager.java
5628 (paintDirtyRegions): Use entrySet(), not values().
5629
5630 2004-06-10 Mark Wielaard <mark@klomp.org>
5631
5632 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5633 NoSuchMethodError.
5634
5635 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5636
5637 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5638 when we already know the answer.
5639 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5640 (setStartRule,setEndRule): Don't take abs of day number.
5641 (getOffset): Clarify docs. Add argument checks.
5642 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5643 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5644 endTimeMode.
5645
5646 2004-06-10 Tom Tromey <tromey@redhat.com>
5647
5648 * interpret.cc (run): Handle wide fload.
5649
5650 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5651
5652 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5653
5654 2004-06-05 Michael Koch <konqueror@gmx.de>
5655
5656 * javax/swing/SwingConstants.java
5657 (NEXT): New constant.
5658 (PREVIOUS): Likewise.
5659
5660 2004-06-05 Michael Koch <konqueror@gmx.de>
5661
5662 * javax/swing/UIManager.java
5663 (LookAndFeel): Made public.
5664 (LookAndFeel.getName): Likewise.
5665 (LookAndFeel.getClassName): Likewise.
5666
5667 2004-06-03 Michael Koch <konqueror@gmx.de>
5668
5669 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5670 (requestFocus): Revert last changes.
5671 (gtkRequestFocus): Removed.
5672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5673 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5674 Renamed to ...
5675 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5676 Reverted last patch.
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5678 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5679 Reverted comment change.
5680
5681 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5682
5683 * javax/swing/JCheckBoxMenuItem.java:
5684 Removed CVS tags.
5685 * javax/swing/JMenu.java: Likewise.
5686 * javax/swing/JMenuBar.java: Likewise.
5687 * javax/swing/JMenuItem.java: Likewise.
5688 * javax/swing/JPopupMenu.java: Likewise.
5689 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5690 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5691 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5692 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5693 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5694 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5695 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5696
5697 2004-06-01 Tom Tromey <tromey@redhat.com>
5698
5699 * java/io/ObjectStreamField.java: Cleaned up imports.
5700
5701 2004-06-01 Michael Koch <konqueror@gmx.de>
5702
5703 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5704
5705 2004-06-01 Mark Wielaard <mark@klomp.org>
5706
5707 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5708
5709 2004-06-01 Michael Koch <konqueror@gmx.de>
5710
5711 * java/security/Security.java
5712 (insertProviderAt): Use equals() instead of ==.
5713 (removeProvicer): Likewise.
5714 (getProvider): Likewise.
5715 * java/security/Signature.java
5716 (sign): Don't set state to UNINITIALIZED.
5717 (verify): Likewise.
5718
5719 2004-06-01 Mark Wielaard <mark@klomp.org>
5720
5721 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5722 Implement by calling gtkRequestFocus.
5723 (gtkRequestFocus): New native method.
5724 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5725 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5726 Renamed to ...
5727 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5728 New function name.
5729 (filter_expose_event_handler):
5730 Mark static.
5731 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5732 (menu_pos): Mark static.
5733
5734 2004-06-01 Michael Koch <konqueror@gmx.de>
5735
5736 * java/text/CollationElementIterator.java,
5737 java/text/CollationKey.java,
5738 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5739 * testsuite/libjava.mauve/xfails: Removed all
5740 java.text.CollationElementIterator tests.
5741
5742 2004-06-01 Michael Koch <konqueror@gmx.de>
5743
5744 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5745 version.
5746 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5747 Java 1.5 keyword usage.
5748
5749 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5750
5751 * javax/swing/plaf/basic/BasicMenuUI.java:
5752 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5753 Call getPath() from super class instead.
5754
5755 2004-05-31 Michael Koch <konqueror@gmx.de>
5756
5757 * java/io/SequenceInputStream.java:
5758 Rename enum to e because enum is a keyword in Java 1.5.
5759
5760 2004-05-31 Michael Koch <konqueror@gmx.de>
5761
5762 * gnu/java/rmi/rmic/CompilerProcess.java:
5763 Fixed javadoc to by XHTML compliant.
5764
5765 2004-05-30 Mark Wielaard <mark@klomp.org>
5766
5767 * java/awt/Toolkit.java (loadSystemColors): Implement.
5768
5769 2004-05-30 Michael Koch <konqueror@gmx.de>
5770
5771 * java/lang/System.java: Reordered imports.
5772
5773 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5774
5775 * java/text/DecimalFormat.java
5776 (parse): Fixed parsing of decimal strings. Number of maximum
5777 digits to be read should now work.
5778 * java/text/SimpleDateFormat.java
5779 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5780 formatter. This fixes DateFormatTest.
5781
5782 2004-05-30 Michael Koch <konqueror@gmx.de>
5783
5784 * java/nio/Buffer.java
5785 (limit): Fixed off by one error.
5786 * java/nio/CharBuffer.java
5787 (wrap): Fixed arguments, added javadocs.
5788
5789 2004-05-30 Michael Koch <konqueror@gmx.de>
5790
5791 * gnu/java/beans/BeanInfoEmbryo.java,
5792 java/awt/im/InputContext.java,
5793 javax/swing/tree/DefaultMutableTreeNode.java:
5794 Rename enum to e because enum is a keyword in Java 1.5.
5795
5796 2004-05-30 Michael Koch <konqueror@gmx.de>
5797
5798 * gnu/java/math/MPN.java,
5799 java/awt/geom/Arc2D.java:
5800 Fixed javadocs all over.
5801
5802 2004-05-30 Michael Koch <konqueror@gmx.de>
5803
5804 * java/awt/DefaultKeyboardFocusManager.java
5805 (dispatchEvent): Call method to get key event dispatchers.
5806 (dispatchKeyEvent): Call method to get key event post processors.
5807 * javax/swing/JComponent.java
5808 (listenerList): Made protected.
5809 * javax/swing/JOptionPane.java
5810 (message): Don't initialize.
5811 (JOptionPane): Set message text.
5812 * javax/swing/JPopupMenu.java
5813 (show): Fixed typo in argument name.
5814 * javax/swing/RepaintManager.java
5815 (paintDirtyRegions): Use public API of java.util.Map.
5816 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5817 (positionForMouseEvent): Removed redundant ';'.
5818 (continueDrag): Use method arguments.
5819
5820 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5821
5822 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5823 results.
5824
5825 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5826
5827 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5828 _Jv_AllocBytes.
5829 * gnu/gcj/RawDataManaged.java: New file.
5830 * java/lang/Thread.java (data): Declare as RawDataManaged.
5831 * java/lang/natThread.cc (init_native): Cast natThread data to
5832 RawDataManaged, not jobject.
5833 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5834 * Makefile.in: Rebuilt.
5835
5836 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5837
5838 * java/util/SimpleTimeZone.java: Reverting my last change until I
5839 can fix it properly.
5840
5841 2004-05-27 Michael Koch <konqueror@gmx.de>
5842
5843 * javax/swing/JPopupMenu.java
5844 (isVisible): Do not use visible directly.
5845 (setVisible): Likewise.
5846 * javax/swing/JWindow.java
5847 (JWindow): call accessible constructor.
5848 * javax/swing/RepaintManager.java
5849 (paintDirtyRegions): Use public methods to obtain iterator.
5850
5851 2004-05-25 David Jee <djee@redhat.com>
5852
5853 * java/awt/Container.java
5854 (remove): Set component's parent to null only after we removed the
5855 component from its parent's layout manager.
5856
5857 2004-05-25 David Jee <djee@redhat.com>
5858
5859 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5860 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5861 is valid.
5862 * gnu/java/awt/peer/gtk/GtkListPeer.java
5863 (getSize): Change native method declaration.
5864 (minimumSize): Pass visible row count into getSize().
5865 (preferredSize): Likewise.
5866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5867 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5868 natural size. Use visible row count to determine the final height
5869 value to return.
5870
5871 2004-05-21 Graydon Hoare <graydon@redhat.com>
5872
5873 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5874 (setClip): Minor correction to order of operations.
5875
5876 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5877 * javax/swing/ScrollPaneLayout.java: Likewise.
5878 * javax/swing/JViewPort.java: Likewise.
5879 * javax/swing/ViewportLayout.java: Likewise.
5880
5881 * javax/swing/JComponent.java: Rewrite.
5882 * javax/swing/RepaintManager.java: Likewise.
5883
5884 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5885 * javax/swing/JList.java
5886 (setSelectedIndices):
5887 (getSelectedIndices):
5888 (getSelectedValues): New functions.
5889 (getPreferredScrollableViewportSize): Return preferred size.
5890 (getScrollableUnitIncrement):
5891 (getScrollableBlockIncrement): Initial implementations.
5892 * javax/swing/JRootPane.java: Clean up slightly.
5893 (getUI):
5894 (setUI):
5895 (updateUI):
5896 (getUIClassID):
5897 (isValidateRoot): Add overrides from JComponent.
5898 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5899 * javax/swing/UIManager.java (getDimension): Return the dimension.
5900
5901 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5902 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5903 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5904 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5905 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5906 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5907 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5908 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5909 Likewise, and set background.
5910 * javax/swing/plaf/basic/BasicListUI.java:
5911 Likewise, and improve a bit.
5912 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5913 Likewise, and adjust calculations.
5914 * javax/swing/plaf/basic/BasicViewportUI.java:
5915 Likewise, and improve a bit.
5916 * javax/swing/plaf/basic/BasicLookAndFeel.java
5917 (Button.margin): Shrink.
5918
5919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5920 Hack to set horizontal always, workaround pango.
5921
5922 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5924 Synchronize more often, check cairo status after ops,
5925 handle changes to cairo pattern API, check for disposal.
5926
5927 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5928
5929 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5930 (BasicMenuItemUI): Create propertyChangeListener.
5931 (getPath):Implemented.
5932 (installListeners): Add propertyChangeListener to menuItem.
5933 (uninstallListeners): Remove propertyChangeListener from menuItem.
5934 (update): Implemented.
5935 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5936 (mouseEntered): Take insets of popup menu into account when
5937 calculating position of popup menu.
5938
5939 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5940
5941 * Makefile.am: Added new file.
5942 * Makefile.in: Regenerate.
5943 * javax/swing/JMenuBar.java:
5944 Started implementation.
5945 * javax/swing/JPopupMenu.java:
5946 (setVisible): Fixed location of lightweight/mediumweight
5947 popup menu.
5948 (show): Fixed location of PopupMenu.
5949 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5950 New file. UI Delegate for JMenuBar.
5951 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5952 (mouseEntered): Corrected position of the submenu.
5953
5954 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5955
5956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5957 to _gtk_accel_group_attach.
5958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5959 Likewise.
5960
5961 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5962 package access. Don't override setFont.
5963 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5964 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5965 gtkWidgetRequestFocus package access.
5966 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5967 setFont.
5968 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5969 Give gtkWidgetRequestFocus package access.
5970 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5971 gtkWidgetRequestFocus package access. Don't override setFont.
5972 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5973 setFont.
5974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5975 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5976 region.
5977 (gtkSetFont): Likewise.
5978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5979 Implement.
5980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5981 (gtkSetFont): Whitespace fix.
5982
5983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5984 (gtkWidgetSetUsize): Remove method.
5985
5986 2004-05-18 David Jee <djee@redhat.com>
5987
5988 * java/awt/image/MemoryImageSource.java
5989 (newPixels(int,int,int,int,boolean)): Set only the specified
5990 rectangle of pixels.
5991 (newPixels(byte[],ColorModel,int,int)): Implement.
5992 (newPixels(int[],ColorModel,int,int)): Implement.
5993
5994 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5995
5996 * Makefile.am: Added new file.
5997 * Makefile.in: Regenerate.
5998 * javax/swing/JMenu.java: Started
5999 implementation.
6000 * javax/swing/JPopupMenu.java:
6001 (insert): If specified index is -1, then
6002 add component at the end.
6003 (isPopupTrigger): Reimplemented.
6004 (JPopupMenu.LightWeightPopup): setBounds
6005 of the lightWeightPopup before adding it
6006 to the layeredPane.
6007 (javax/swing/plaf/basic/BasicIconFactory.java):
6008 (getMenuArrowIcon): Implemented.
6009 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6010 (getPreferredSize): Add size of the arrow icon
6011 if this menu item is instance of JMenu.
6012 (paintMenuItem): Paint arrow icon if this
6013 menu item is a submenu.
6014 * javax/swing/plaf/basic/BasicMenuUI.java:
6015 New File. UI Delegate for JMenu.
6016
6017 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6018
6019 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6020 Post KEY_TYPED events.
6021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6022 (generates_key_typed_event): Remove function.
6023
6024 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6025
6026 * javax/swing/JRootPane.java
6027 (JRootPane.RootLayout): Reimplemented to
6028 set bounds of contentPane and menuBar.
6029 (setJMenuBar): Add menu bar to the layered pane.
6030 (createLayeredPane): Set layout of layeredPane
6031 to null.
6032 * javax/swing/JLayeredPane.java:
6033 (addImpl): Calculate index of the component in the
6034 layeredPane according to the specified position within
6035 the layer.
6036
6037 2004-05-17 David Jee <djee@redhat.com>
6038
6039 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6040 (setPixels): Change color model to the default model after
6041 converting pixels.
6042 * java/awt/image/MemoryImageSource.java
6043 (newPixels): Set only the specified rectangle of pixels.
6044
6045 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6046
6047 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6048 -l-java-beans -l-javax-accessibility -l-javax-swing.
6049
6050 * java/awt/AWTEvent.java (toString): Print source's name rather
6051 than the source itself.
6052
6053 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6054
6055 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6056 native.
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6058 (gdk_color_to_java_color): New function.
6059 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6060
6061 2004-05-12 David Jee <djee@redhat.com>
6062
6063 * java/awt/image/RGBImageFilter.java:
6064 Initialize origmodel as null.
6065 (makeColor): Fix pixel component order.
6066 (filterRGBPixels): Fix pixel iteration.
6067 (setPixels): Add extra checks for index color model. Convert pixels
6068 to default color model if necessary.
6069 (convertColorModelToDefault): New override method for byte pixels.
6070 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6071 (makeColorbyDefaultCM): New override method for byte pixels.
6072 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6073 (makeColor): Fix pixel component order.
6074
6075 2004-05-11 Kim Ho <kho@redhat.com>
6076
6077 * javax/swing/Box.java:
6078 Comment out more parts of Box.Filler.
6079
6080 2004-05-11 Kim Ho <kho@redhat.com>
6081
6082 * javax/swing/Box.java:
6083 Remove reference to AccessibleAWTComponent so
6084 it compiles again.
6085
6086 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6087
6088 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6089 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6090 implementation of list peer to use GtkTreeView instead of
6091 deprecated GtkCList.
6092
6093 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6094
6095 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6096 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6097 (handleEvent): Remove keyChar argument to
6098 gtkWidgetDispatchKeyEvent calls.
6099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6100 compiler warnings.
6101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6104 Likewise.
6105
6106 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6107
6108 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6109 (gtkWidgetRequestFocus): Mark protected.
6110 (GtkComponentPeer): Only set the peer's bounds if its component
6111 is valid.
6112 * java/awt/Component.java (static): Set the default keyboard
6113 focus manager.
6114 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6115 requestFocusInWindow(temporary)): Don't request focus if the
6116 component is not showing. Get tree lock before traversing
6117 component hierarchy.
6118 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6119 Only set the global focus owner if it is not a Window.
6120 (processKeyEvent): Consume keystrokes associated with the focus
6121 traversal keystroke.
6122 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6123 downFocusCycle): Call requestFocusInWindow instead of
6124 requestFocus.
6125 * java/awt/EventDispatchThread.java (run): Move setting of
6126 default keyboard focus manager to Component.java.
6127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6128 (awt_keycode_to_keysym): New function.
6129 (gtkWidgetDispatchKeyEvent): Finish implementation.
6130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6131 (pre_event_handler): Add FIXME comment.
6132
6133 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6135 (gtkWidgetRequestFocus): New method.
6136 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6137 disable Tab and Shift-Tab keystrokes.
6138 (addNotify, appendText, insertText, replaceText): Simplify peer
6139 retrieval code.
6140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6141 (connectSignals): Remove connections to "commit" signals.
6142 Remove C++-style comments.
6143
6144 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6145 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6146 (handleEvent): Activate GTK button when the space bar key is
6147 pressed.
6148 (gtkActivate): New method.
6149
6150 2004-05-06 David Jee <djee@redhat.com>
6151
6152 * java/awt/image/CropImageFilter.java
6153 (setPixels): Implement for byte array pixels.
6154 * java/awt/image/ReplicateScaleFilter.java
6155 (setPixels): Implement for byte array pixels.
6156 (replicatePixels): Overload for byte array pixels.
6157
6158 2004-05-06 Kim Ho <kho@redhat.com>
6159
6160 * javax/swing/Box.java:
6161 (getAccessibleContext): Return an instance of the
6162 correct class.
6163
6164 2004-05-05 David Jee <djee@redhat.com>
6165
6166 * gnu/java/awt/peer/gtk/GdkGraphics.java
6167 (drawImage): When component is null, use SystemColor.window as
6168 the default bgcolor.
6169 * gnu/java/awt/peer/gtk/GtkImage.java
6170 (setPixels): We can avoid iterating through the pixel rows only
6171 when height is 1.
6172 * java/awt/Image.java
6173 (getScaledInstance): Partially implement.
6174 * java/awt/image/CropImageFilter.java
6175 (setProperties): Fix "filter" property.
6176 (setPixels): Implement.
6177 * java/awt/image/ReplicateScaleFilter.java
6178 (setDimensions): Use scaled dimensions.
6179 (setPixels): Implement.
6180 (replicatePixels): New method.
6181
6182 2004-05-05 David Jee <djee@redhat.com>
6183
6184 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6185 (convertPixels): If either pixels or model is null, return null.
6186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6187 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6188 is null, do nothing and return.
6189
6190 2004-05-03 Kim Ho <kho@redhat.com>
6191
6192 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6193 (getGraphics): Like GtkFramePeer, the Graphics
6194 object needs to be translate to account for
6195 window decorations.
6196 (postMouseEvent): New method. Account for
6197 translation.
6198 (postExposeEvent): ditto.
6199 * javax/swing/Box.java: Stubbed.
6200 * javax/swing/JDialog.java: Ran through jalopy
6201 to fix indentation.
6202 (JDialog): Call SwingUtilities' getOwnerFrame
6203 for null owners.
6204 (setLayout): Check isRootPaneCheckingEnabled
6205 * javax/swing/JOptionPane.java: Re-implemented.
6206 * javax/swing/SwingUtilities.java:
6207 (getOwnerFrame): Static method to grab a default
6208 owner frame for Dialogs that don't specify owners.
6209 * javax/swing/event/SwingPropertyChangeSupport.java:
6210 (firePropertyChange): Fix early exit condition.
6211 * javax/swing/plaf/basic/BasicLabelUI.java:
6212 (paint): Avoid painting text if it is null
6213 or empty.
6214 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6215 Implement.
6216
6217 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6218
6219 * Makefile.am: Added new file.
6220 * Makefile.in: Regenerate.
6221 * javax/swing/JPopupMenu.java:
6222 Started implementation.
6223 * javax/swing/JWindow.java
6224 (JWindow): call super() if parent for window
6225 is not specified.
6226 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6227 New File. UI Delegate for JPopupMenu.
6228
6229 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6230
6231 * javax/swing/JApplet.java: Indicated that JApplet
6232 implements RootPaneContainer and made method of this
6233 interface public.
6234 * javax/swing/JFrame.java: Ditto.
6235 * javax/swing/JWindow.java: Ditto.
6236
6237 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6238
6239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6240 (nativeSetBounds): Call gdk_window_move in addition to
6241 gtk_window_move.
6242
6243 * java/applet/Applet.java (preferredSize): Call parent's
6244 preferredSize if the applet stub is null.
6245 (minimumSize): Likewise for parent's minimumSize.
6246
6247 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6248
6249 * javax/swing/JMenuItem.java
6250 (createActionPropertyChangeListener): Implemented.
6251 (processMouseEvent): Ditto.
6252 (fireMenuDragMouseEntered): Ditto.
6253 (fireMenuDragMouseExited): Ditto.
6254 (fireMenuDragMouseDragged): Ditto.
6255 (fireMenuDragMouseReleased): Ditto.
6256 (menuSelectionChanged): Ditto.
6257 (getSubElements): Ditto.
6258 (getComponent): Ditto.
6259 (addMenuDragMouseListener): Ditto.
6260 (removeMenuDragMouseListener):Ditto.
6261 (addMenuKeyListener): Ditto.
6262 (removeMenuKeyListener): Ditto.
6263 * javax/swing/plaf/basic/BasicMenuItemUI.java
6264 (doClick): Imlemented.
6265 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6266 Don't handle mouse events here. Pass them to
6267 MenuSelectionManager.
6268
6269 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6270 Used correct version of jalopy configuration
6271 file to fix style in the files below.
6272
6273 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6274
6275 * javax/swing/JCheckBoxMenuItem.java:
6276 Fixed style and removed unnecessary comments.
6277 * javax/swing/JMenuItem.java: Ditto.
6278 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6279 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6280 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6281 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6282
6283 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6284
6285 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6286 C-style.
6287
6288 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6289
6290 * java/awt/ContainerOrderFocusTraversalPolicy.java
6291 (getComponentAfter): Start from current component and work up
6292 the component hierarchy until an acceptable component is found.
6293 Synchronize on tree lock.
6294 (getComponentBefore): Likewise.
6295
6296 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6297
6298 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6299 focus-related debugging messages.
6300 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6301 * java/awt/EventDispatchThread.java: Likewise.
6302 * java/awt/KeyboardFocusManager.java: Likewise.
6303 * java/awt/Window.java: Likewise.
6304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6306
6307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6308 new C++-style comments to C-style comments.
6309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6310
6311 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6312 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6313 (handleEvent): Dispatch key press and key release events to
6314 backing widget.
6315 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6316 (gtkWidgetRequestFocus): New method.
6317 (gtkWidgetDispatchKeyEvent): Likewise.
6318 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6319 requestFocusInWindow, requestFocusInWindow(boolean),
6320 getFocusCycleRootAncestor, nextFocus, transferFocus,
6321 transferFocusBackward, transferFocusUpCycle, hasFocus,
6322 isFocusOwner): Implement and document focus-handling methods.
6323 (setFocusTraversalKeys): Inherit focus traversal keys when
6324 keystrokes argument is null. Fix focus-handling documentation
6325 throughout class.
6326 * java/awt/Container.java (setFocusTraversalKeys,
6327 getFocusTraversalKeys, areFocusTraversalKeysSet,
6328 isFocusCycleRoot, setFocusTraversalPolicy,
6329 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6330 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6331 Implement and document focus-handling methods.
6332 (transferFocusBackward): Remove method.
6333 (readObject, writeObject): Implement and document serialization
6334 methods.
6335 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6336 and document.
6337 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6338 document.
6339 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6340 partially document.
6341 * java/awt/EventDispatchThread.java (run): Set default keyboard
6342 focus manager. Attempt to dispatch each event to the keyboard
6343 focus manager before normal dispatch.
6344 * java/awt/KeyboardFocusManager.java: Implement and partially
6345 document.
6346 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6347 (show): Focus initial component when window is shown for the
6348 first time.
6349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6350 (pre_event_handler): Replace complex key press and key release
6351 logic with simple callbacks into GtkComponentPeer.
6352 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6353
6354 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6355
6356 * javax/swing/MenuSelectionManager.java
6357 (componentForPoint): Added new method.
6358 (defaultManager): New Method. Implemented.
6359 (getSelectedPath): Ditto.
6360 (isComponentPartOfCurrentMenu): Ditto.
6361 (processKeyEvent): Added new method.
6362 (processMouseEvent): New Method. Implemented.
6363 (setSelectedPath): Ditto.
6364 (getPath): Ditto.
6365
6366 2004-04-19 Kim Ho <kho@redhat.com>
6367
6368 * java/awt/Container.java:
6369 (remove): Set the component's parent to null.
6370 (getComponentAt): Implement.
6371 * javax/swing/JComponent.java:
6372 (JComponent): Initialize defaultLocale
6373 (getDefaultLocale): Implement.
6374 (setDefaultLocale): ditto.
6375 * javax/swing/JSlider.java:
6376 (JSlider): Fix calculation of value.
6377 * javax/swing/JSplitPane.java: Implement.
6378 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6379 Change SplitPane's default divider size.
6380 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6381 (paint): Remove unused code.
6382 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6383 Added comments and ran through jalopy.
6384 (setBasicSplitPaneUI): Get reference to hidden divider
6385 and set up one touch buttons if necessary.
6386 (setBorder): Fire propertyChangeEvent only if
6387 borders are different.
6388 (getPreferredSize): Defer to layout manager.
6389 (propertyChange): Implement.
6390 (oneTouchExpandableChanged): ditto.
6391 (createLeftOneTouchButton): Use BasicArrowButton.
6392 (createRightOneTouchButton): ditto.
6393 (moveDividerTo): New method. Moves the divider
6394 to a set location based on the last divider location.
6395 (BasicSplitPaneDivider::MouseHandler): Implement.
6396 (BasicSplitPaneDivider::OneTouchButton): Removed.
6397 (BasicSplitPaneDivider::DragController): Implement.
6398 (BasicSplitPaneDivider::VerticalDragController):
6399 ditto.
6400 (BasicSplitPaneDivider::DividerLayout): ditto.
6401 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6402 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6403 (calculateLayoutInfo): Don't show component if it's
6404 null.
6405 (paintTab): Fix title paint logic.
6406
6407 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6408
6409 PR libgcj/8321
6410 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6411 (setStartRule,setEndRule): Don't take abs of day number.
6412 (getOffset): Clarify docs. Add argument checks.
6413 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6414 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6415 endTimeMode.
6416 * testsuite/libjava.mauve/xfails
6417 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6418
6419 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6420
6421 Layout interfaces during preparation, not initialization.
6422 * java/lang/natClass.cc (initializeClass): Move
6423 _Jv_LayoutInterfaceMethods call...
6424 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6425
6426 2004-05-19 Anthony Green <green@localhost.localdomain>
6427
6428 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6429 gnu.javax.rmi code.
6430 * Makefile.in: Rebuilt.
6431 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6432 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6433 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6434 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6435 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6436 gnu/javax/rmi/CORBA/DelegateFactory.java,
6437 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6438 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6439 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6440 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6441 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6442 gnu/javax/rmi/PortableServer.java: Remove files.
6443
6444 2004-05-19 Anthony Green <green@redhat.com>
6445
6446 * Makefile.am: Define JAVA_EXT_DIRS.
6447 * Makefile.in: Rebuilt.
6448 * java/lang/natRuntime.cc (insertSystemProperties): Set
6449 java.ext.dirs property.
6450
6451 2004-05-16 Mark Wielaard <mark@klomp.org>
6452
6453 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6454
6455 2004-05-15 Mark Wielaard <mark@klomp.org>
6456
6457 * doc/cni.sgml: Removed, merged into gcj.texi.
6458
6459 2004-05-15 Mark Wielaard <mark@klomp.org>
6460
6461 * Makefile.am (ordinary_java_source_files): Add new javax.print
6462 classes.
6463 * Makefile.in: Regenerated.
6464
6465 2004-05-15 Michael Koch <konqueror@gmx.de>
6466
6467 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6468 javax/print/attribute/standard/DateTimeAtCreation.java,
6469 javax/print/attribute/standard/DateTimeAtProcessing.java,
6470 javax/print/attribute/standard/DocumentName.java,
6471 javax/print/attribute/standard/JobHoldUntil.java,
6472 javax/print/attribute/standard/JobImpressionsCompleted.java,
6473 javax/print/attribute/standard/JobMessageFromOperator.java,
6474 javax/print/attribute/standard/JobName.java,
6475 javax/print/attribute/standard/JobOriginatingUserName.java,
6476 javax/print/attribute/standard/JobPriority.java,
6477 javax/print/attribute/standard/JobPrioritySupported.java,
6478 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6479 javax/print/attribute/standard/OutputDeviceAssigned.java,
6480 javax/print/attribute/standard/PrinterInfo.java,
6481 javax/print/attribute/standard/PrinterLocation.java,
6482 javax/print/attribute/standard/PrinterMakeAndModel.java,
6483 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6484 javax/print/attribute/standard/PrinterName.java,
6485 javax/print/attribute/standard/QueuedJobCount.java,
6486 javax/print/attribute/standard/RequestingUserName.java:
6487 Fixed javadocs all over.
6488
6489 2004-05-15 Michael Koch <konqueror@gmx.de>
6490
6491 * javax/print/DocFlavor.java,
6492 javax/print/attribute/standard/ColorSupported.java,
6493 javax/print/attribute/standard/Compression.java,
6494 javax/print/attribute/standard/CopiesSupported.java,
6495 javax/print/attribute/standard/Fidelity.java,
6496 javax/print/attribute/standard/Finishings.java,
6497 javax/print/attribute/standard/JobImpressionsSupported.java,
6498 javax/print/attribute/standard/JobKOctetsSupported.java,
6499 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6500 javax/print/attribute/standard/JobSheets.java,
6501 javax/print/attribute/standard/JobState.java,
6502 javax/print/attribute/standard/JobStateReason.java,
6503 javax/print/attribute/standard/JobStateReasons.java,
6504 javax/print/attribute/standard/Media.java,
6505 javax/print/attribute/standard/MediaSizeName.java,
6506 javax/print/attribute/standard/MultipleDocumentHandling.java,
6507 javax/print/attribute/standard/NumberUpSupported.java,
6508 javax/print/attribute/standard/OrientationRequested.java,
6509 javax/print/attribute/standard/PDLOverrideSupported.java,
6510 javax/print/attribute/standard/PageRanges.java,
6511 javax/print/attribute/standard/PresentationDirection.java,
6512 javax/print/attribute/standard/PrintQuality.java,
6513 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6514 javax/print/attribute/standard/PrinterMoreInfo.java,
6515 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6516 javax/print/attribute/standard/PrinterResolution.java,
6517 javax/print/attribute/standard/PrinterState.java,
6518 javax/print/attribute/standard/PrinterStateReason.java,
6519 javax/print/attribute/standard/PrinterStateReasons.java,
6520 javax/print/attribute/standard/PrinterURI.java,
6521 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6522 javax/print/attribute/standard/Severity.java,
6523 javax/print/attribute/standard/SheetCollate.java,
6524 javax/print/attribute/standard/Sides.java:
6525 Added serialVersionUID and removed final keyword where it doenst
6526 belong.
6527
6528 2004-05-15 Michael Koch <konqueror@gmx.de>
6529
6530 * javax/print/PrintServiceLookup.java: New file.
6531
6532 2004-05-15 Michael Koch <konqueror@gmx.de>
6533
6534 * javax/print/DocFlavor.java:
6535 Implemented all flavor classes.
6536
6537 2004-05-15 Michael Koch <konqueror@gmx.de>
6538
6539 * javax/print/attribute/standard/ColorSupported.java,
6540 javax/print/attribute/standard/Compression.java,
6541 javax/print/attribute/standard/CopiesSupported.java,
6542 javax/print/attribute/standard/Fidelity.java,
6543 javax/print/attribute/standard/Finishings.java,
6544 javax/print/attribute/standard/JobImpressionsSupported.java,
6545 javax/print/attribute/standard/JobKOctetsSupported.java,
6546 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6547 javax/print/attribute/standard/JobSheets.java,
6548 javax/print/attribute/standard/JobState.java,
6549 javax/print/attribute/standard/JobStateReason.java,
6550 javax/print/attribute/standard/JobStateReasons.java,
6551 javax/print/attribute/standard/Media.java,
6552 javax/print/attribute/standard/MediaSizeName.java,
6553 javax/print/attribute/standard/MultipleDocumentHandling.java,
6554 javax/print/attribute/standard/NumberUpSupported.java,
6555 javax/print/attribute/standard/OrientationRequested.java,
6556 javax/print/attribute/standard/PDLOverrideSupported.java,
6557 javax/print/attribute/standard/PageRanges.java,
6558 javax/print/attribute/standard/PresentationDirection.java,
6559 javax/print/attribute/standard/PrintQuality.java,
6560 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6561 javax/print/attribute/standard/PrinterMoreInfo.java,
6562 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6563 javax/print/attribute/standard/PrinterResolution.java,
6564 javax/print/attribute/standard/PrinterState.java,
6565 javax/print/attribute/standard/PrinterStateReason.java,
6566 javax/print/attribute/standard/PrinterStateReasons.java,
6567 javax/print/attribute/standard/PrinterURI.java,
6568 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6569 javax/print/attribute/standard/Severity.java,
6570 javax/print/attribute/standard/SheetCollate.java,
6571 javax/print/attribute/standard/Sides.java: New files.
6572
6573 2004-05-15 Michael Koch <konqueror@gmx.de>
6574
6575 * javax/print/Doc.java
6576 (getPrintData): Throws IOException.
6577 (getReaderForText): Likewise.
6578 (getStreamForBytes): Likewise.
6579 * javax/print/DocFlavor.java:
6580 Fixed filename in copyright.
6581 (serialVersionUID): New field.
6582 * javax/print/ServiceUIFactory.java:
6583 Made all constants final.
6584 * javax/print/AttributeException.java
6585 javax/print/MultiDoc.java
6586 javax/print/MultiDocPrintJob.java
6587 javax/print/MultiDocPrintService.java
6588 javax/print/StreamPrintService.java
6589 javax/print/URIException.java: New files.
6590 * javax/print/Makefile.am
6591 (EXTRA_DIST): Added all new files.
6592
6593 2004-05-15 Michael Koch <konqueror@gmx.de>
6594
6595 * javax/print/attribute/standard/Copies.java,
6596 javax/print/attribute/standard/DateTimeAtCompleted.java,
6597 javax/print/attribute/standard/DateTimeAtCreation.java,
6598 javax/print/attribute/standard/DateTimeAtProcessing.java,
6599 javax/print/attribute/standard/DocumentName.java,
6600 javax/print/attribute/standard/JobHoldUntil.java,
6601 javax/print/attribute/standard/JobImpressions.java,
6602 javax/print/attribute/standard/JobImpressionsCompleted.java,
6603 javax/print/attribute/standard/JobKOctets.java,
6604 javax/print/attribute/standard/JobKOctetsProcessed.java,
6605 javax/print/attribute/standard/JobMediaSheets.java,
6606 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6607 javax/print/attribute/standard/JobMessageFromOperator.java,
6608 javax/print/attribute/standard/JobName.java,
6609 javax/print/attribute/standard/JobOriginatingUserName.java,
6610 javax/print/attribute/standard/JobPriority.java,
6611 javax/print/attribute/standard/JobPrioritySupported.java,
6612 javax/print/attribute/standard/NumberOfDocuments.java,
6613 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6614 javax/print/attribute/standard/NumberUp.java,
6615 javax/print/attribute/standard/OutputDeviceAssigned.java,
6616 javax/print/attribute/standard/PagesPerMinute.java,
6617 javax/print/attribute/standard/PagesPerMinuteColor.java:
6618 Fixed @return tag all over.
6619
6620 2004-05-15 Michael Koch <konqueror@gmx.de>
6621
6622 * javax/print/attribute/AttributeSetUtilities.java
6623 (verifyCategoryForValue): Fixed typo in javadoc.
6624 * javax/print/attribute/HashAttributeSet.java
6625 (containsKey): Fixed @return tag.
6626 (comtainsValue): Likewise.
6627 (equals): Likewise.
6628 * javax/print/attribute/IntegerSyntax.java
6629 (equals): Likewise.
6630 * javax/print/attribute/ResolutionSyntax.java
6631 (equals): Likewise.
6632 (getCrossFeedResolution): Removed unused code.
6633 (getFeedResolution): Likewise.
6634 * javax/print/attribute/SetOfIntegerSyntax.java
6635 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6636 (equals): Fixed @return tag.
6637 * javax/print/attribute/TextSyntax.java
6638 (TextSyntax): Take locale into account.
6639 (hashCode): Better implementation.
6640
6641 2004-05-15 Michael Koch <konqueror@gmx.de>
6642
6643 * javax/print/CancelablePrintJob.java,
6644 javax/print/Doc.java,
6645 javax/print/DocFlavor.java,
6646 javax/print/DocPrintJob.java,
6647 javax/print/FlavorException.java,
6648 javax/print/PrintException.java,
6649 javax/print/PrintService.java,
6650 javax/print/ServiceUIFactory.java: New files.
6651
6652 2004-05-15 Mark Wielaard <mark@klomp.org>
6653
6654 * gnu/regexp/CharIndexedReader.java: Removed.
6655 * gnu/regexp/REFilterReader.java: Likewise.
6656 * gnu/regexp/RETokenLookAhead.java: Likewise.
6657 * Makefile.am (ordinary_java_source_files): Remove above classes.
6658 * Makefile.in: Regenerated.
6659
6660 2004-05-14 Tom Tromey <tromey@redhat.com>
6661
6662 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6663 not `XGraphicsConfiguration.XOffScreenImage'.
6664
6665 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6666
6667 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6668
6669 2004-05-14 Steven Augart <augart@watson.ibm.com>
6670
6671 * include/jni.h (_Jv_func): Removed.
6672 (struct JNINativeInterface): Use `void *' for reserved slots.
6673 (struct JNIInvokeInterface): Likewise.
6674
6675 2004-05-11 Michael Koch <konqueror@gmx.de>
6676
6677 * gnu/java/net/natPlainSocketImplPosix.cc
6678 (read): Fixed typo in expression.
6679
6680 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6681
6682 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6683 ld_library_additions. Adjust all calls to libjava_invoke to match
6684 the new argument.
6685
6686 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6687 path to cxxflagslist.
6688 Pass path of libstdc++ to libjava_invoke.
6689
6690 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6691 libjava_invoke arguments.
6692
6693 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6694
6695 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6696 reality.
6697
6698 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6699
6700 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6701 main binary against the JNI shared library.
6702
6703 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6704
6705 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6706 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6707 (SimpleTimeZone): Tweak docs. Add new variation.
6708 (setStartRule,setEndRule): Add new variations. Use
6709 startTimeMode and endTimeMode.
6710
6711 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6712
6713 * java/util/Calendar.java (getActualMinimum,
6714 getActualMaximum): Remove abstract. Implement.
6715
6716 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6717
6718 Run the jni tests using the interpreter.
6719 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6720 options_cxx to shared lib compile command.
6721 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6722 they are used to link the shared lib, not the main binary.
6723 Use libjava_invoke to run gij.
6724
6725 2004-05-06 Michael Koch <konqueror@gmx.de>
6726
6727 * java/util/logging/Level.java
6728 (parse): Use == instead of String.equals().
6729
6730 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6731
6732 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6733 verify_field_signature and verify_method_signature, not
6734 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6735 (_Jv_ClassReader::handleField): Likewise.
6736 (_Jv_ClassReader::handleMethod): Likewise.
6737
6738 2004-05-06 Michael Koch <konqueror@gmx.de>
6739
6740 * javax/swing/table/TableColumn.java:
6741 Reformated.
6742
6743 2004-05-06 Michael Koch <konqueror@gmx.de>
6744
6745 * javax/imageio/spi/ImageReaderWriterSpi.java
6746 (ImageReaderWriterSpi): Made it public.
6747 * javax/imageio/stream/ImageInputStream.java:
6748 Clean up imports.
6749
6750 2004-05-06 Michael Koch <konqueror@gmx.de>
6751
6752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6753 Removed empty line.
6754
6755 2004-05-06 Michael Koch <konqueror@gmx.de>
6756
6757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6758 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6759 New files.
6760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6761 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6763 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6764 their own source file.
6765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6766 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6767 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6769 (create): Define variable on top of function.
6770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6771 (menu_pos): Prototyped.
6772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6773 (setTitle): Removed.
6774 * jni/gtk-peer/gthread-jni.c
6775 (gdk_threads_wake): Removed.
6776 * Makefile.am (gtk_c_source_files): Added new files
6777 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6778 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6779 * Makefile.in: Regenerated.
6780
6781 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6782
6783 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6784 call.
6785
6786 2004-05-05 Mark Wielaard <mark@klomp.org>
6787
6788 * javax/swing/AbstractButton.java: Replace special HTML entities with
6789 ASCII equivalent.
6790 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6791 * javax/swing/DefaultButtonModel.java: Likewise.
6792 * javax/swing/DefaultListModel.java: Likewise.
6793 * javax/swing/JList.java: Likewise.
6794 * javax/swing/JSlider.java: Likewise.
6795 * javax/swing/ListModel.java: Likewise.
6796 * javax/swing/Popup.java: Likewise.
6797 * javax/swing/SwingUtilities.java: Likewise.
6798
6799 2004-05-05 Michael Koch <konqueror@gmx.de>
6800
6801 * javax/swing/AbstractButton.java,
6802 javax/swing/ActionMap.java,
6803 javax/swing/DefaultButtonModel.java,
6804 javax/swing/DefaultListModel.java,
6805 javax/swing/ImageIcon.java,
6806 javax/swing/JComboBox.java,
6807 javax/swing/JComponent.java,
6808 javax/swing/JFrame.java,
6809 javax/swing/JInternalFrame.java,
6810 javax/swing/JMenuBar.java,
6811 javax/swing/JMenuItem.java,
6812 javax/swing/JOptionPane.java,
6813 javax/swing/JProgressBar.java,
6814 javax/swing/JRootPane.java,
6815 javax/swing/JScrollBar.java,
6816 javax/swing/JScrollPane.java,
6817 javax/swing/JSeparator.java,
6818 javax/swing/JSlider.java,
6819 javax/swing/JTabbedPane.java,
6820 javax/swing/JTable.java,
6821 javax/swing/JTextField.java,
6822 javax/swing/JToolBar.java,
6823 javax/swing/JToolTip.java,
6824 javax/swing/JTree.java,
6825 javax/swing/JViewport.java,
6826 javax/swing/JWindow.java,
6827 javax/swing/KeyStroke.java,
6828 javax/swing/LookAndFeel.java,
6829 javax/swing/SwingUtilities.java,
6830 javax/swing/Timer.java,
6831 javax/swing/ToolTipManager.java,
6832 javax/swing/UIDefaults.java,
6833 javax/swing/border/TitledBorder.java,
6834 javax/swing/filechooser/FileSystemView.java,
6835 javax/swing/plaf/basic/BasicButtonListener.java,
6836 javax/swing/plaf/basic/BasicButtonUI.java,
6837 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6838 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6839 javax/swing/plaf/basic/BasicLabelUI.java,
6840 javax/swing/plaf/basic/BasicMenuItemUI.java,
6841 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6842 javax/swing/plaf/basic/BasicRootPaneUI.java,
6843 javax/swing/plaf/basic/BasicScrollBarUI.java,
6844 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6845 javax/swing/plaf/basic/BasicSliderUI.java,
6846 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6847 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6848 javax/swing/table/JTableHeader.java,
6849 javax/swing/text/AbstractDocument.java,
6850 javax/swing/text/DefaultCaret.java,
6851 javax/swing/text/StyledEditorKit.java,
6852 javax/swing/tree/DefaultTreeCellEditor.java:
6853 Cleaned up imports.
6854
6855 2004-05-05 Michael Koch <konqueror@gmx.de>
6856
6857 * java/util/prefs/AbstractPreferences.java
6858 (AbstractPreferences): Added parenthesis for clarity.
6859 Closes classpath bug #7940.
6860
6861 2004-05-05 Tom Tromey <tromey@redhat.com>
6862
6863 * javax/naming/CompoundName.java (endsWith): Look at correct
6864 element of source name.
6865
6866 2004-05-05 Mark Wielaard <mark@klomp.org>
6867
6868 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6869 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6870
6871 2004-05-05 Tom Tromey <tromey@redhat.com>
6872
6873 * java/io/BufferedReader.java (skip): Removed unused
6874 variable.
6875
6876 2004-05-05 Michael Koch <konqueror@gmx.de>
6877
6878 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6879
6880 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6881
6882 * java/text/AttributedString.java,
6883 java/text/AttributedStringIterator.java,
6884 java/text/Collator.java,
6885 java/text/DecimalFormatSymbols.java,
6886 java/text/NumberFormat.java,
6887 java/text/RuleBasedCollator.java:
6888 Cleaned up imports.
6889
6890 2004-05-05 Tom Tromey <tromey@redhat.com>
6891
6892 * java/text/Format.java: Cleaned up imports.
6893 * java/text/DecimalFormat.java: Cleaned up imports.
6894 * java/security/SecureRandom.java: Cleaned up imports.
6895 (SecureRandom): Removed unused variable.
6896 * java/security/UnresolvedPermission.java: Cleaned up imports.
6897 * java/util/Date.java (parse): Removed unused variable.
6898 * java/util/ResourceBundle.java: Cleaned up imports.
6899 (getBundle): Removed unused variable.
6900 (tryBundle): Likewise.
6901 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6902
6903 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6904
6905 * java/text/SimpleDateFormat.java:
6906 (formatWithAttribute): New method. It implements
6907 the formatting process with attributes.
6908 (format): Use formatWithAttribute.
6909 (formatToCharacterIterator): New method. Use
6910 formatWithAttribute.
6911
6912 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6913
6914 * java/text/MessageFormat.java:
6915 (class Field): New class.
6916 (formatToCharacterIterator): New method.
6917 (format): Use formatInternal now.
6918 (formatInternal): New method. String formatter should
6919 be done here (with attributes). Attributes merging supported.
6920 (parse): More documentation.
6921 (getFormatsByArgumentIndex): New method.
6922 (setFormatByArgumentIndex): New method.
6923 (setFormatsByArgumentIndex): New method.
6924
6925 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6926
6927 * java/text/DecimalFormat.java
6928 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6929 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6930 (parse): Fixed handling of exponentiation notation and grouping.
6931
6932 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6933
6934 * java/text/DecimalFormat.java
6935 (scanFix): Build attribute array. Fixed error reporting.
6936 (applyPatternWithSymbols): Store attributes for the prefix and
6937 suffix.
6938 (formatInternal): New method. Changed the way the string is
6939 computed. Implemented attributes. Cleant up rounding in
6940 exponential notation.
6941 (format): Use formatInternal.
6942 (formatToCharacterIterator): New method.
6943 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6944 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6945 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6946 New fields.
6947
6948 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6949
6950 * java/security/interfaces/DSAKeyPairGenerator.java,
6951 java/security/interfaces/DSAPrivateKey.java,
6952 java/security/interfaces/DSAPublicKey.java,
6953 java/security/interfaces/RSAPrivateKey.java,
6954 java/security/interfaces/RSAPublicKey.java:
6955 Cleaned up imports.
6956
6957 2004-05-04 Michael Koch <konqueror@gmx.de>
6958
6959 * java/nio/ByteBuffer.java,
6960 java/nio/CharBuffer.java,
6961 java/nio/DoubleBuffer.java,
6962 java/nio/FloatBuffer.java,
6963 java/nio/IntBuffer.java,
6964 java/nio/LongBuffer.java,
6965 java/nio/ShortBuffer.java:
6966 (compareTo): Fixed bogus implementation in all buffer classes.
6967
6968 2004-05-04 Ingo Proetel <proetel@aicas.com>
6969
6970 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6971 32 bit pixels not 8 bit pixels.
6972 (isCompatibleRaster): Added javadoc comment.
6973
6974 2004-05-04 Ingo Proetel <proetel@aicas.com>
6975
6976 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6977 scanline stride.
6978
6979 2004-05-04 Ingo Proetel <proetel@aicas.com>
6980
6981 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6982 (getColorModel): Return the actual color model.
6983 (getRaster): Implemented.
6984 (ColorRaster): New inner class.
6985 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6986 a PaintContext.
6987 * java/awt/Color.java (<init>): Make exception more verbose.
6988 (createContext): Use ColorModel when creating a PaintContext.
6989
6990 2004-05-04 Michael Koch <konqueror@gmx.de>
6991
6992 * gnu/java/text/CharacterBreakIterator.java
6993 (previous): Removed unused variable.
6994
6995 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6996
6997 * gnu/java/text/FormatBuffer.java,
6998 gnu/java/text/AttributedFormatBuffer.java,
6999 gnu/java/text/StringFormatBuffer.java: New classes to implement
7000 attributed iterators in java.text.
7001 * gnu/java/text/FormatCharacterIterator.java: Moved
7002 from java/text as it is an internal class.
7003 * java/text/FormatCharacterIterator.java: Removed.
7004 * java/text/Format.java:
7005 Import gnu.java.text.FormatCharacterIterator.
7006 * Makefile.am (java_source_files): Added new files.
7007 * Makefile.in: Regenerated.
7008
7009
7010 2004-05-04 Mark Wielaard <mark@klomp.org>
7011
7012 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7013
7014 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7015
7016 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7017 * Makefile.in: Rebuilt.
7018
7019 2004-05-03 Mark Wielaard <mark@klomp.org>
7020
7021 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7022 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7023 * java/net/URL.java
7024 (set(String, String, int, String, String, String, String, String)):
7025 Assign this.file to path or path + "?" + query.
7026 * java/util/Arrays.java: Call static methods staticly.
7027 * java/util/zip/ZipEntry.java: Likewise.
7028 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7029 dir to this.direction.
7030 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7031 Assign static field only once.
7032 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7033
7034 2004-05-03 Mark Wielaard <mark@klomp.org>
7035
7036 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7037 unused variables hScrollbarHeight and vScrollbarWidth.
7038 (preferredSize): Likewise.
7039 * gnu/java/security/provider/DSAParameters.java (engineToString):
7040 Removed unused call to System.getProperty("line.seperator");
7041 * java/security/Security.java (loadProviders): Return result.
7042
7043 2004-05-03 Tom Tromey <tromey@redhat.com>
7044
7045 * java/net/URLStreamHandler.java (toExternalForm): Removed
7046 unused variables.
7047 unused constructor.
7048 * java/math/BigDecimal.java (divide): Removed unused variable.
7049 * java/lang/Throwable.java: Cleaned up imports.
7050 * java/lang/ClassLoader.java: Cleaned up imports.
7051 * java/io/FilePermission.java (implies): Removed unused
7052 variable.
7053 * java/awt/TextComponent.java: Removed unused import.
7054 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7055 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7056 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7057 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7058 import.
7059 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7060 * gnu/java/text/CharacterBreakIterator.java: Removed
7061 unused import.
7062 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7063 Cleaned up imports.
7064 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7065 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7066 unused method.
7067 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7068 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7069 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7070 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7071 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7072 (lookupProviders): Removed unused variable.
7073 (loadNextServiceProvider): Likewise.
7074 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7075
7076 2004-05-03 Michael Koch <konqueror@gmx.de>
7077
7078 Fixes PR libgcj/14695:
7079 * java/net/NetworkInterface.java
7080 (getByName): Return null when no interface was found.
7081
7082 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7083 Tom Tromey <tromey@redhat.com>
7084
7085 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7086 additional option "-Wmissing-prototypes" for compiling C sources.
7087 Print actual filename for pass/fail rather than $name.c.
7088 * testsuite/libjava.jni/PR15133.java: New testcase file.
7089 * testsuite/libjava.jni/PR15133.c: Likewise.
7090 * testsuite/libjava.jni/PR15133.out: Likewise.
7091
7092 2004-04-30 Roger Sayle <roger@eyesopen.com>
7093
7094 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7095 ceil and floor.
7096
7097 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7098
7099 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7100 limit the maximum heap size to avoid unnecessary thrashing.
7101
7102 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7103
7104 * java/text/CollationElementIterator.java (reset): Reset
7105 lookahead variables.
7106
7107 2004-04-23 Mark Wielaard <mark@klomp.org>
7108
7109 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7110
7111 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7112
7113 * java/sql/DriverManager.java:
7114 Cleaned up imports.
7115
7116 2004-04-23 Michael Koch <konqueror@gmx.de>
7117
7118 * java/net/URL.java
7119 (hashcode): Don't initialize with default value explicitely.
7120 (getContent): Removed redundant "final" keyword.
7121 (openStream): Likewise.
7122 (getURLStreamHandler): Fixed coding style.
7123 * java/net/URLConnection.java
7124 (defaultAllowUserInteraction): Don't initialize with default value
7125 explicitely.
7126 (connected): Likewise.
7127 (doOutput): Likewise.
7128 (ifModifiedSince): Likewise.
7129 (dateformats_initialized): Likewise.
7130 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7131
7132 2004-04-23 Michael Koch <konqueror@gmx.de>
7133
7134 * gnu/java/nio/channels/FileChannelImpl.java
7135 (SET, CUR): Unused, removed.
7136 (read): Implement here directly.
7137 (implRead): Removed.
7138 (write): Implement here directly.
7139 (implWrite): Removed.
7140
7141 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7142
7143 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7144 javax/rmi/CORBA/Stub.java,
7145 javax/rmi/CORBA/Util.java,
7146 javax/rmi/CORBA/ValueHandler.java,
7147 javax/rmi/CORBA/ValueHandler.java,
7148 javax/rmi/PortableRemoteObject.java:
7149 Cleaned up imports.
7150
7151 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7152
7153 * java/util/jar/JarFile.java,
7154 java/util/jar/JarInputStream.java,
7155 java/util/jar/JarOutputStream.java,
7156 java/util/jar/Manifest.java:
7157 Cleaned up imports.
7158
7159 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7160
7161 * java/util/ArrayList.java,
7162 java/util/Calendar.java,
7163 java/util/Currency.java,
7164 java/util/HashMap.java,
7165 java/util/HashSet.java,
7166 java/util/Hashtable.java,
7167 java/util/LinkedList.java,
7168 java/util/Properties.java,
7169 java/util/PropertyPermission.java,
7170 java/util/TimeZone.java,
7171 java/util/TreeMap.java,
7172 java/util/TreeSet.java,
7173 java/util/Vector.java,
7174 java/util/WeakHashMap.java:
7175 Cleaned up imports.
7176
7177 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7178
7179 * java/util/logging/FileHandler.java,
7180 java/util/logging/Formatter.java,
7181 java/util/logging/Handler.java,
7182 java/util/logging/Logger.java,
7183 java/util/logging/SimpleFormatter.java,
7184 java/util/logging/XMLFormatter.java:
7185 Cleaned up imports.
7186
7187 2004-04-22 Mark Wielaard <mark@klomp.org>
7188
7189 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7190 -Wno-long-long flags variable.
7191 (gtk_c_files): Use PEDANTIC_CFLAGS.
7192 * Makefile.in: Regenerated.
7193
7194 2004-04-22 Mark Wielaard <mark@klomp.org>
7195
7196 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7197 Changed C++ comments into C comments.
7198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7199 Likewise.
7200
7201 2004-04-22 Michael Koch <konqueror@gmx.de>
7202
7203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7204 Merged copyright year with GNU classpath.
7205
7206 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7207
7208 * javax/security/auth/x500/X500Principal.java:
7209 Cleaned up imports.
7210
7211 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7212
7213 * javax/swing/JSlider.java:
7214 Fixed HTML tags in comments.
7215
7216 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7217
7218 * javax/accessibility/AccessibleText.java:
7219 Cleaned up imports.
7220
7221 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7222
7223 * java/net/URLStreamHandler.java
7224 (parseURL): Convert the file path to using '/' instead of native
7225 file separator.
7226
7227 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7228
7229 * java/net/URL.java
7230 (userInfo): New field.
7231 (URL): Set authority to the right value.
7232 (setURL): Fixed authority and file initialization.
7233 * java/net/URLStreamHandler.java
7234 (parseURL): Take care of the query tag. Build authority.
7235 (toExternalForm): Fixed URL building using authority.
7236
7237 2004-04-22 Michael Koch <konqueror@gmx.de>
7238
7239 * java/net/Socket.java
7240 (impl): Made package-private.
7241 * java/net/ServerSocket.java
7242 (implAccept): Access Socket.impl field directly.
7243
7244 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7245
7246 * java/util/prefs/Preferences.java,
7247 java/util/prefs/InvalidPreferencesFormatException.java,
7248 java/util/prefs/BackingStoreException.java,
7249 java/util/prefs/AbstractPreferences.java:
7250 Cleaned up imports.
7251
7252 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7253
7254 * java/util/regex/Matcher.java,
7255 java/util/regex/Pattern.java:
7256 Cleaned up imports.
7257
7258 2004-04-22 Michael Koch <konqueror@gmx.de>
7259
7260 * java/nio/charset/IllegalCharsetNameException.java
7261 (charsetName): Made private.
7262 (IllegalCharsetNameException): Added @param tag to javadoc.
7263 (getCharsetName): Added @return tag to javadoc.
7264 * java/nio/charset/MalformedInputException.java
7265 (MalformedInputException): Added @param tag to javadoc.
7266 (getInputLength): Revised method description, added @return tag.
7267 (getMessage): Added @return tag.
7268
7269 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7270
7271 * java/awt/Font.java (deriveFont): Implement missing variants.
7272 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7273 missing variants.
7274
7275 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7276
7277 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7278 Set method->index values for interface methods to their itable index.
7279 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7280
7281 2004-04-21 Michael Koch <konqueror@gmx.de>
7282
7283 * java/nio/DirectByteBufferImpl.java
7284 (shiftDown): Made static, give address as argument and
7285 provide a convenience method that overwrites shiftDown in
7286 ByteBufferImpl and calls the native shiftDown.
7287 * java/nio/MappedByteBufferImpl.java
7288 (): Use optimized method in DirectByteBufferImpl.
7289 * java/nio/natDirectByteBufferImpl.cc
7290 (shiftDown): Changed method signature. Removed usage of array_offset.
7291
7292 2004-04-21 Michael Koch <konqueror@gmx.de>
7293
7294 * gnu/java/net/natPlainSocketImplPosix.cc
7295 (SocketInputStream::read): Make sure returned data is a byte value.
7296
7297 2004-04-21 Michael Koch <konqueror@gmx.de>
7298
7299 * gnu/classpath/ServiceFactory.java,
7300 gnu/classpath/ServiceProviderLoadingAction.java,
7301 javax/imageio/ImageReader.java,
7302 javax/imageio/ImageTranscoder.java,
7303 javax/imageio/ImageWriter.java,
7304 javax/imageio/package.html,
7305 javax/imageio/spi/IIOServiceProvider.java,
7306 javax/imageio/spi/ImageInputStreamSpi.java,
7307 javax/imageio/spi/ImageOutputStreamSpi.java,
7308 javax/imageio/spi/ImageReaderWriterSpi.java,
7309 javax/imageio/spi/ImageTranscoderSpi.java,
7310 javax/imageio/spi/RegisterableService.java,
7311 javax/imageio/spi/ServiceRegistry.java,
7312 javax/imageio/spi/package.html,
7313 javax/imageio/stream/IIOByteBuffer.java,
7314 javax/imageio/stream/ImageInputStream.java,
7315 javax/imageio/stream/ImageOutputStream.java,
7316 javax/imageio/stream/package.html:
7317 New files.
7318 * Makefile.am
7319 (ordinary_java_source_files): Added
7320 gnu/classpath/ServiceFactory.java and
7321 gnu/classpath/ServiceProviderLoadingAction.java.
7322 (javax_source_files): Added
7323 javax/imageio/ImageReader.java,
7324 javax/imageio/ImageTranscoder.java,
7325 javax/imageio/ImageWriter.java,
7326 javax/imageio/spi/IIOServiceProvider.java,
7327 javax/imageio/spi/ImageInputStreamSpi.java,
7328 javax/imageio/spi/ImageOutputStreamSpi.java,
7329 javax/imageio/spi/ImageReaderWriterSpi.java,
7330 javax/imageio/spi/ImageTranscoderSpi.java,
7331 javax/imageio/spi/RegisterableService.java,
7332 javax/imageio/spi/ServiceRegistry.java,
7333 javax/imageio/stream/IIOByteBuffer.java,
7334 javax/imageio/stream/ImageInputStream.java and
7335 javax/imageio/stream/ImageOutputStream.java.
7336 * Makefile.in: Regenerated.
7337
7338 2004-04-21 Michael Koch <konqueror@gmx.de>
7339
7340 * java/util/Properties.java
7341 (load): Fix wrongly merged fix.
7342
7343 2004-04-21 Mark Wielaard <mark@klomp.org>
7344
7345 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7346 malloc and free buf.
7347
7348 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7349
7350 * javax/naming/AuthenticationException.java,
7351 javax/naming/AuthenticationNotSupportedException.java,
7352 javax/naming/CannotProceedException.java,
7353 javax/naming/CommunicationException.java,
7354 javax/naming/CompoundName.java,
7355 javax/naming/ConfigurationException.java,
7356 javax/naming/ContextNotEmptyException.java,
7357 javax/naming/InitialContext.java,
7358 javax/naming/InsufficientResourcesException.java,
7359 javax/naming/InterruptedNamingException.java,
7360 javax/naming/LimitExceededException.java,
7361 javax/naming/LinkException.java,
7362 javax/naming/LinkLoopException.java,
7363 javax/naming/LinkRef.java,
7364 javax/naming/MalformedLinkException.java,
7365 javax/naming/Name.java,
7366 javax/naming/NameAlreadyBoundException.java,
7367 javax/naming/NameNotFoundException.java,
7368 javax/naming/NamingSecurityException.java,
7369 javax/naming/NoInitialContextException.java,
7370 javax/naming/NoPermissionException.java,
7371 javax/naming/NotContextException.java,
7372 javax/naming/PartialResultException.java,
7373 javax/naming/ReferralException.java,
7374 javax/naming/ServiceUnavailableException.java,
7375 javax/naming/SizeLimitExceededException.java,
7376 javax/naming/TimeLimitExceededException.java,
7377 javax/naming/directory/Attribute.java,
7378 javax/naming/directory/Attributes.java,
7379 javax/naming/directory/SearchResult.java,
7380 javax/naming/event/NamingExceptionEvent.java,
7381 javax/naming/spi/ResolveResult.java:
7382 Cleaned up imports.
7383
7384 2004-04-21 Mark Wielaard <mark@klomp.org>
7385
7386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7387 Changed C++ comments into C comments. Removed commented out code.
7388 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7389 Likewise.
7390 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7391 Likewise.
7392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7393 Likewise.
7394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7395 Likewise.
7396 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7397 Likewise.
7398 * native/jni/gtk-peer/gthread-jni.c:
7399 Likewise.
7400
7401 2004-04-21 Mark Wielaard <mark@klomp.org>
7402
7403 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7404 static fields defined in interface.
7405 * javax/awt/JDialog.java: Likewise.
7406 (JDialog): Make constructors public.
7407 (getDefaultCloseOperation): Make public.
7408 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7409 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7410 * javax/swing/JViewport.java (JViewport): Make constructor public.
7411
7412 2004-04-21 Michael Koch <konqueror@gmx.de>
7413
7414 * java/util/Map.java
7415 (Entry): Removed redundant "static" modifier.
7416 * java/text/AttributedCharacterIterator.java:
7417 Updated copyright year.
7418
7419 2004-04-20 Michael Koch <konqueror@gmx.de>
7420
7421 * javax/naming/directory/SearchControls.java:
7422 Don't explicitely extend java.lang.Object.
7423 * javax/naming/spi/DirStateFactory.java:
7424 Merged copyright year with GNU classpath.
7425
7426 2004-04-20 Michael Koch <konqueror@gmx.de>
7427
7428 * java/nio/channels/Channels.java:
7429 Merged coding style with GNU classpath.
7430
7431 2004-04-20 Michael Koch <konqueror@gmx.de>
7432
7433 * java/net/ServerSocket.java
7434 Merged coding style from GNU classpath.
7435
7436 2004-04-20 Michael Koch <konqueror@gmx.de>
7437
7438 * java/io/BufferedWriter.java:
7439 Reordered variables to be at top of the class.
7440 (localFlush): Removed redundant final keyword.
7441
7442 2004-04-20 Ingo Proetel <proetel@aicas.com>
7443
7444 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7445
7446 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7447
7448 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7449 for percent and permill check.
7450
7451 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7452
7453 * java/text/FieldPosition.java
7454 (FieldPosition) Constructor now behaves as it should according
7455 to the java documentation.
7456
7457 2004-04-20 Mark Wielaard <mark@klomp.org>
7458
7459 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7460 documentation.
7461
7462 2004-04-20 Michael Koch <konqueror@gmx.de>
7463
7464 * java/nio/Buffer.java,
7465 java/nio/channels/AlreadyConnectedException.java,
7466 java/nio/channels/AsynchronousCloseException.java,
7467 java/nio/channels/ByteChannel.java,
7468 java/nio/channels/CancelledKeyException.java,
7469 java/nio/channels/Channel.java,
7470 java/nio/channels/Channels.java,
7471 java/nio/channels/ClosedByInterruptException.java,
7472 java/nio/channels/ClosedChannelException.java,
7473 java/nio/channels/ClosedSelectorException.java,
7474 java/nio/channels/ConnectionPendingException.java,
7475 java/nio/channels/DatagramChannel.java,
7476 java/nio/channels/FileChannel.java,
7477 java/nio/channels/FileLock.java,
7478 java/nio/channels/FileLockInterruptionException.java,
7479 java/nio/channels/GatheringByteChannel.java,
7480 java/nio/channels/IllegalBlockingModeException.java,
7481 java/nio/channels/IllegalSelectorException.java,
7482 java/nio/channels/InterruptibleChannel.java,
7483 java/nio/channels/NoConnectionPendingException.java,
7484 java/nio/channels/NonReadableChannelException.java,
7485 java/nio/channels/NonWritableChannelException.java,
7486 java/nio/channels/NotYetBoundException.java,
7487 java/nio/channels/NotYetConnectedException.java,
7488 java/nio/channels/OverlappingFileLockException.java,
7489 java/nio/channels/Pipe.java,
7490 java/nio/channels/ReadableByteChannel.java,
7491 java/nio/channels/ScatteringByteChannel.java,
7492 java/nio/channels/SelectableChannel.java,
7493 java/nio/channels/SelectionKey.java,
7494 java/nio/channels/Selector.java,
7495 java/nio/channels/ServerSocketChannel.java,
7496 java/nio/channels/SocketChannel.java,
7497 java/nio/channels/UnresolvedAddressException.java,
7498 java/nio/channels/UnsupportedAddressTypeException.java,
7499 java/nio/channels/WritableByteChannel.java,
7500 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7501 java/nio/channels/spi/AbstractSelectableChannel.java,
7502 java/nio/channels/spi/AbstractSelectionKey.java,
7503 java/nio/channels/spi/AbstractSelector.java,
7504 java/nio/channels/spi/SelectorProvider.java,
7505 java/nio/charset/spi/CharsetProvider.java:
7506 Fixed javadocs and jalopied all over java.nio.
7507
7508 2004-04-20 Michael Koch <konqueror@gmx.de>
7509
7510 * java/nio/ByteBufferImpl.java,
7511 java/nio/CharBufferImpl.java,
7512 java/nio/DirectByteBufferImpl.java,
7513 java/nio/DoubleBufferImpl.java,
7514 java/nio/DoubleViewBufferImpl.java,
7515 java/nio/FloatBufferImpl.java,
7516 java/nio/FloatViewBufferImpl.java,
7517 java/nio/IntBufferImpl.java,
7518 java/nio/IntViewBufferImpl.java,
7519 java/nio/LongBufferImpl.java,
7520 java/nio/LongViewBufferImpl.java,
7521 java/nio/MappedByteBufferImpl.java,
7522 java/nio/ShortBufferImpl.java,
7523 java/nio/ShortViewBufferImpl.java:
7524 Made sure all classes are final and removed final keyword from all
7525 methods.
7526
7527 2004-04-20 Michael Koch <konqueror@gmx.de>
7528
7529 * java/rmi/MarshalledObject.java,
7530 java/rmi/Naming.java,
7531 java/rmi/RemoteException.java,
7532 java/rmi/activation/ActivationException.java,
7533 java/rmi/server/ServerCloneException.java,
7534 java/security/AccessController.java,
7535 java/security/AlgorithmParameterGenerator.java,
7536 java/security/AlgorithmParameters.java,
7537 java/security/CodeSource.java,
7538 java/security/Identity.java,
7539 java/security/IdentityScope.java,
7540 java/security/KeyPairGenerator.java,
7541 java/security/KeyStore.java,
7542 java/security/Security.java,
7543 java/security/Signature.java,
7544 java/security/SignatureSpi.java,
7545 java/security/SignedObject.java,
7546 java/security/spec/DSAParameterSpec.java,
7547 java/security/spec/DSAPrivateKeySpec.java,
7548 java/security/spec/DSAPublicKeySpec.java,
7549 java/sql/Array.java,
7550 java/sql/DatabaseMetaData.java,
7551 java/sql/ResultSet.java,
7552 java/text/ChoiceFormat.java,
7553 java/text/CollationElementIterator.java,
7554 java/text/CollationKey.java,
7555 java/text/Collator.java,
7556 java/text/DateFormat.java,
7557 java/text/DateFormatSymbols.java,
7558 java/text/DecimalFormatSymbols.java,
7559 java/text/Format.java,
7560 java/text/ParsePosition.java,
7561 java/text/RuleBasedCollator.java,
7562 java/text/SimpleDateFormat.java,
7563 java/text/StringCharacterIterator.java,
7564 java/util/Collections.java,
7565 java/util/PropertyResourceBundle.java,
7566 java/util/ResourceBundle.java,
7567 java/util/StringTokenizer.java,
7568 java/util/jar/Attributes.java,
7569 java/util/logging/ConsoleHandler.java,
7570 java/util/logging/LogManager.java,
7571 java/util/logging/MemoryHandler.java,
7572 java/util/logging/SocketHandler.java,
7573 javax/naming/NamingException.java:
7574 Fixed javadoc, coding style and argument names all over.
7575
7576 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7577
7578 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7579 constructor. (valid) Added null check.
7580
7581 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7582
7583 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7584 * java/io/FileOutputStream.java
7585 (FileOutputStream) Reorganized constructors. Constructors now
7586 check whether the given path is directory.
7587
7588 2004-04-20 Michael Koch <konqueror@gmx.de>
7589
7590 * java/net/Authenticator.java,
7591 java/net/BindException.java,
7592 java/net/ConnectException.java,
7593 java/net/ContentHandler.java,
7594 java/net/ContentHandlerFactory.java,
7595 java/net/DatagramPacket.java,
7596 java/net/DatagramSocket.java,
7597 java/net/DatagramSocketImpl.java,
7598 java/net/DatagramSocketImplFactory.java,
7599 java/net/FileNameMap.java,
7600 java/net/HttpURLConnection.java,
7601 java/net/Inet4Address.java,
7602 java/net/Inet6Address.java,
7603 java/net/InetAddress.java,
7604 java/net/InetSocketAddress.java,
7605 java/net/JarURLConnection.java,
7606 java/net/MalformedURLException.java,
7607 java/net/MulticastSocket.java,
7608 java/net/NetPermission.java,
7609 java/net/NetworkInterface.java,
7610 java/net/NoRouteToHostException.java,
7611 java/net/PasswordAuthentication.java,
7612 java/net/PortUnreachableException.java,
7613 java/net/ProtocolException.java,
7614 java/net/ServerSocket.java,
7615 java/net/Socket.java,
7616 java/net/SocketAddress.java,
7617 java/net/SocketException.java,
7618 java/net/SocketImpl.java,
7619 java/net/SocketImplFactory.java,
7620 java/net/SocketOptions.java,
7621 java/net/SocketPermission.java,
7622 java/net/SocketTimeoutException.java,
7623 java/net/URI.java,
7624 java/net/URISyntaxException.java,
7625 java/net/URL.java,
7626 java/net/URLClassLoader.java,
7627 java/net/URLConnection.java,
7628 java/net/URLDecoder.java,
7629 java/net/URLEncoder.java,
7630 java/net/URLStreamHandler.java,
7631 java/net/URLStreamHandlerFactory.java,
7632 java/net/UnknownHostException.java,
7633 java/net/UnknownServiceException.java:
7634 Fixed javadocs, coding style and argument names all over.
7635
7636 2004-04-20 Michael Koch <konqueror@gmx.de>
7637
7638 * java/lang/Byte.java,
7639 java/lang/CharSequence.java,
7640 java/lang/ClassLoader.java,
7641 java/lang/Compiler.java,
7642 java/lang/Double.java,
7643 java/lang/Float.java,
7644 java/lang/Integer.java,
7645 java/lang/Long.java,
7646 java/lang/Math.java,
7647 java/lang/Number.java,
7648 java/lang/Package.java,
7649 java/lang/Runtime.java,
7650 java/lang/RuntimePermission.java,
7651 java/lang/SecurityManager.java,
7652 java/lang/Short.java,
7653 java/lang/StringBuffer.java,
7654 java/lang/System.java,
7655 java/lang/ThreadGroup.java,
7656 java/lang/Throwable.java,
7657 java/lang/reflect/InvocationHandler.java,
7658 java/lang/reflect/Proxy.java:
7659 Fixed javadocs, coding style and argument names all over.
7660
7661 2004-04-20 Michael Koch <konqueror@gmx.de>
7662
7663 * java/io/BufferedWriter.java,
7664 java/io/ByteArrayInputStream.java,
7665 java/io/CharArrayWriter.java,
7666 java/io/DataInput.java,
7667 java/io/DataInputStream.java,
7668 java/io/File.java,
7669 java/io/FilterInputStream.java,
7670 java/io/InputStream.java,
7671 java/io/InputStreamReader.java,
7672 java/io/ObjectInputStream.java,
7673 java/io/ObjectStreamClass.java,
7674 java/io/PipedInputStream.java,
7675 java/io/PipedReader.java,
7676 java/io/PushbackInputStream.java,
7677 java/io/PushbackReader.java,
7678 java/io/RandomAccessFile.java,
7679 java/io/SerializablePermission.java,
7680 java/io/StreamTokenizer.java,
7681 java/io/StringWriter.java,
7682 java/io/WriteAbortedException.java,
7683 java/io/Writer.java:
7684 Fixed javadocs all over, rename arguments to match javadocs,
7685 fixed coding style.
7686
7687 2004-04-20 Ingo Proetel <proetel@aicas.com>
7688
7689 * java/awt/FontMetrics.java:
7690 (charsWidth): fixed accumulation of total_width
7691 (getWidth): simple default implementation
7692 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7693 in Rectangle constructor.
7694 * java/awt/image/Raster.java (toString): Added method.
7695 * java/awt/image/SampleModel.java (<init>): Added error cause
7696 information to thrown exception.
7697 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7698 New method.
7699 (setDataElements): New method.
7700 (setPixels): New method.
7701 (toString): New method.
7702
7703 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7704
7705 * java/awt/image/ComponentColorModel.java
7706 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7707 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7708 Mauve tests on this method. Improved documentation.
7709
7710 2004-04-20 Michael Koch <konqueror@gmx.de>
7711
7712 * javax/swing/JLayeredPane.java,
7713 javax/swing/plaf/BorderUIResource.java,
7714 javax/swing/plaf/ComponentUI.java,
7715 javax/swing/undo/CompoundEdit.java,
7716 javax/swing/undo/StateEdit.java:
7717 Fixed HTML tags in javadocs all over.
7718
7719 2004-04-20 Michael Koch <konqueror@gmx.de>
7720
7721 * javax/print/attribute/EnumSyntax.java
7722 (getOffset): Made protected.
7723 * javax/print/attribute/HashAttributeSet.java
7724 (HashAttributeSet): Likewise.
7725 * javax/print/attribute/ResolutionSyntax.java
7726 (getFeedResolution): Fixed typo in exception name.
7727 (getCrossFeedResolution): Likewise.
7728 * javax/print/attribute/SetOfIntegerSyntax.java
7729 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7730 * javax/print/attribute/TextSyntax.java
7731 (TextSyntax): Handle locale correctly.
7732 (hashCode): Calc better hashcode value.
7733 (equals): Fixed @return tag.
7734 (toString): New method.
7735
7736 2004-04-20 Michael Koch <konqueror@gmx.de>
7737
7738 * gnu/java/nio/FileLockImpl.java
7739 (static): Removed, not needed anymore.
7740 * gnu/java/nio/channels/FileChannelImpl.java
7741 (FileChannelImpl): Made final.
7742 (mode): Made private.
7743 (READ, WRITE, APPEND): Made public.
7744 (EXCL, SYNC, DSYNC): Likewise.
7745 (static): Load native JNI library, when needed.
7746 (length): Unused, removed.
7747 (available): Made public.
7748 (implPosition): Throws IOException.
7749 (seek): Likewise.
7750 (implTruncate): Likewise.
7751 (unlock): Likewise.
7752 (lock): Likewise.
7753
7754 2004-04-20 Michael Koch <konqueror@gmx.de>
7755
7756 * java/awt/AWTPermission.java,
7757 java/awt/Component.java,
7758 java/awt/ComponentOrientation.java,,
7759 java/awt/Dialog.java,
7760 java/awt/FontMetrics.java,
7761 java/awt/Graphics.java,
7762 java/awt/datatransfer/DataFlavor.java,
7763 java/beans/Introspector.java,
7764 java/beans/PropertyEditor.java,
7765 java/beans/PropertyEditorManager.java,
7766 java/beans/beancontext/BeanContextServiceProvider.java:
7767 Fixed HTML tags in javadocs all over.
7768
7769 2004-04-20 Mark Wielaard <mark@klomp.org>
7770
7771 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7772 MissingResourceException is thrown.
7773 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7774 null when a MissingResourceException is thrown. Should never happen.
7775
7776 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7777
7778 * java/awt/image/DataBufferShort.java,
7779 java/awt/image/DataBufferFloat.java,
7780 java/awt/image/DataBufferDouble.java,
7781 java/awt/image/PixelInterleavedSampleModel.java: New files.
7782 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7783 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7784
7785 2004-04-20 Michael Koch <konqueror@gmx.de>
7786
7787 * Makefile.am (java_source_files): Added
7788 java/awt/image/DataBufferDouble.java,
7789 java/awt/image/DataBufferFloat.java,
7790 java/awt/image/DataBufferShort.java and
7791 java/awt/image/PixelInterleavedSampleModel.java.
7792 * Makefile.in: Regenerated.
7793
7794 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7795
7796 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7797 undocumented CNI calls.
7798 * include/java-interp.h (_Jv_InterpClass): No longer
7799 extends java.lang.Class.
7800 * java/lang/Class.h (Class): Add new field `aux_info'.
7801 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7802 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7803 Use Class->aux_info instead.
7804 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7805 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7806 Use Class->aux_info instead.
7807 * java/io/natObjectInputStream.cc (allocateObject): Use
7808 _Jv_AllocObject.
7809 * java/lang/natClass.cc (newInstance): Likewise.
7810 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7811 * java/lang/natObject.cc (clone): Likewise.
7812 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7813 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7814 JvAllocObject. Allocate klass->aux_info here for interpreted
7815 class.
7816
7817 2004-04-17 Mark Wielaard <mark@klomp.org>
7818
7819 * javax/swing/JToggleButton.java (ToggleButtonModel):
7820 Make public static inner class.
7821 * javax/swing/JTabbedPane.java (setComponentAt):
7822 Call Page.setComponent().
7823 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7824 (WRAP_TAB_LAYOUT): Make public, value is 0.
7825 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7826 Make private static inner class.
7827
7828 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7829
7830 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7831 arguments to match new signature. Remove FIXME comments.
7832
7833 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7834
7835 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7836 Remove method.
7837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7838 unused code.
7839
7840 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7841
7842 * Makefile.am: Added new file.
7843 * Makefile.in: Regenerate.
7844 * javax/swing/ImageIcon.java:
7845 (ImageIcon(file)): set description of the icon
7846 to the file name
7847 * javax/swing/JCheckBoxMenuItem.java:
7848 Mostly Implemented. Work in progress.
7849 * javax/swing/JRadioButtonMenuItem.java:
7850 Reimplement constructors to use JToggleButtonModel.
7851 * javax/swing/plaf/basic/BasicIconFactory.java:
7852 (getCheckBoxMenuItemIcon): return check box
7853 icon.
7854 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7855 paint menu item selected only when it is armed and
7856 pressed.
7857
7858 2004-04-02 David Jee <djee@redhat.com>
7859
7860 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7861 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7862 * java/awt/Component.java
7863 (add): Set the parent of the popup as this component.
7864 * java/awt/PopupMenu.java
7865 (addNotify): Create popup menu when peer is null.
7866 (show): Call addNotify() if peer is null.
7867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7868 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7869 argument for gtk_menu_popup() as zero. This causes the popup menu to
7870 respond to any mouse button.
7871
7872 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7873
7874 * Makefile.am: Added new file.
7875 * Makefile.in: Regenerate.
7876 * javax/swing/JRadioButtonMenuItem.java:
7877 Implemented.
7878 * javax/swing/plaf/basic/BasicIconFactory.java:
7879 (getRadioButtonMenuItemIcon): Return
7880 radio button icon.
7881 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7882 (getPreferredSize): Add size of checkIcon if it
7883 exists.
7884 (installDefaults): Don't initialize checkIcon.
7885 It's value will be set in subclasses.
7886 (uninstallDefaults): remove uninstallation of
7887 checkIcon.
7888 (paint): Moved code to paintMenuItem().
7889 (paintMenuItem): Implemented.
7890 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7891 UI delegate for JRadioButtonMenuItem.
7892
7893 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7894
7895 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7896 Corrected position of the accelerator.
7897
7898 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7899
7900 * Makefile.am: Added new file.
7901 * Makefile.in: Regenerate.
7902 * javax/swing/JMenuItem.java: Partly
7903 implemented. Work in progress
7904 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7905 Changed default value of acceleratorDelimiter.
7906 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7907 New class. Partly implemented.
7908
7909 2004-03-26 Mark Wielaard <mark@klomp.org>
7910
7911 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7912 (item_activate): Declare label before use.
7913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7914 (gtkSetFont): Removed unused variable label.
7915 (addExposeFilter): Declare variables before use.
7916 (removeExposeFilter): Likewise.
7917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7918 (ok_clicked): Declare str_fileName before use.
7919
7920 2004-03-26 David Jee <djee@redhat.com>
7921
7922 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7923 (addSeparator): Remove.
7924 * java/awt/Menu.java
7925 (separator): Remove static final MenuItem field.
7926 (separatorLabel): New static final String field.
7927 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7928 Use separatorLabel to denote that it is a separator.
7929 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7930 of reusing the static separator instance, because a MenuItem instance
7931 can't be added more than once without being cloned.
7932 * java/awt/peer/MenuPeer.java
7933 (addSeparator): Remove from interface.
7934
7935 2004-03-26 David Jee <djee@redhat.com>
7936
7937 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7938 (connectSignals): New native method declaration.
7939 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7940 * java/awt/MenuItem.java
7941 (getActionCommand): Return the label if the action command is not set.
7942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7943 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7944 gtk_menu_shell_append().
7945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7946 (item_activate): Fix argument type.
7947 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7948 signal here.
7949 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7950 method.
7951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7952 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7953 given. Add the menu widget's top-level GtkWindow to the global window
7954 group, so it can grab the pointer.
7955 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7956 gtk_menu_shell_append().
7957
7958 2004-03-23 Graydon Hoare <graydon@redhat.com>
7959
7960 * java/text/AttributedString.java
7961 (addAttribute): Fix off-by-one.
7962 (getIterator): Likewise.
7963 * java/text/AttributedStringIterator.java
7964 (getRunLimit): Correct logic.
7965 (getRunStart): Likewise.
7966 (getAttribute): Fix inequality.
7967 (getAttributes): Likewise.
7968 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7969
7970 2004-03-23 Kim Ho <kho@redhat.com>
7971
7972 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7973 (calculateSizes): Return real width and height.
7974
7975 2004-03-23 Kim Ho <kho@redhat.com>
7976
7977 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7978 (calculateTabRects): Set the selectedRun before
7979 trying to rotate tabs.
7980
7981 2004-03-23 Kim Ho <kho@redhat.com>
7982
7983 * Makefile.am: New file
7984 * Makefile.in: Regenerate
7985 * java/awt/Graphics.java: (drawRect):
7986 Draw to the correct point.
7987 * javax/swing/DefaultSingleSelectionModel.java
7988 (isSelected): Return true if the selected index
7989 is not -1.
7990 * javax/swing/JLabel.java: Do not change mnemonic
7991 index if text is null.
7992 * javax/swing/JProgressBar.java: Use JComponent's
7993 EventListenerList.
7994 * javax/swing/JScrollBar.java: Ditto.
7995 * javax/swing/JSlider.java: Ditto.
7996 * javax/swing/JTabbedPane.java: Reimplement.
7997 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7998 Add defaults for TabbedPane.
7999 * javax/swing/plaf/basic/BasicArrowButton.java:
8000 Implement
8001 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8002 (paintDeterminate): Don't paint String if it's
8003 empty.
8004 (paintIndeterminate): ditto.
8005 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8006 Reimplement.
8007
8008 2004-03-19 Michael Koch <konqueror@gmx.de>
8009
8010 * java/awt/image/AffineTransformOp.java
8011 (AffineTransformOp): Made public.
8012 * javax/swing/JComponent.java
8013 (listenerList): Made protected.
8014 (accessibleContext): Likewise.
8015 * javax/swing/JList.java
8016 (valueChanged): Dont use internal fields of ListSelectionEvent.
8017 * javax/swing/JViewport.java
8018 (getView): Dont use internal fields of Component.
8019 (addImpl): Likewise.
8020 * javax/swing/Timer.java
8021 (isRunning): Made public.
8022 (start): Likewise.
8023 (stop): Likewise.
8024 * javax/swing/UIDefaults.java
8025 (getInt): Made public.
8026 * javax/swing/plaf/basic/BasicListUI.java
8027 (mousePressed): Dont use internal fields of MouseEvent.
8028 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8029 * javax/swing/plaf/basic/BasicScrollBarUI.java
8030 (arrowIcon): Made static.
8031 * javax/swing/plaf/basic/BasicViewportUI.java
8032 (stateChanged): Dont use internal field on ChangeEvent.
8033 * javax/swing/text/JTextComponent.java
8034 (getUI): Call UIManager.getUI().
8035 (updateUI): Use getUI().
8036
8037 2004-03-19 Graydon Hoare <graydon@redhat.com>
8038
8039 * javax/swing/JComponent.java: Turn off double buffer by default.
8040 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8042 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8043 Use cairo to copy areas.
8044 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8045 Initialize and set clip region.
8046
8047 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8048
8049 * java/applet/Applet.java (preferredSize): Override deprecated
8050 variant of getPreferredSize.
8051 (minimumSize): Override deprecated variant of getMinimumSize.
8052
8053 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8054
8055 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8056 (drawImage(img,xform,bgcolor,obs)): New Method.
8057 Helper function that every drawImage method will
8058 use.
8059 (drawRaster): Added new parameter, bgcolor. All
8060 transparent pixels are changed to bgcolor before
8061 image is drawn.
8062 (drawRenderedImage): Fixed to use changed drawRaster().
8063 (drawImage(image,xform,obs): Fixed to use new helper function
8064 (drawImage(image,op,x,y)): Ditto.
8065 (drawImage (img,x,y,observer)): Ditto.
8066 ((PainterThread) bgcolor): New Field.
8067 ((PainterThread) (setPixels)): Changed all transparent pixels
8068 to bgcolor.
8069 (drawImage(img,x,y,width,height,bgcolor,observer)):
8070 Fixed FIXME - all the transparent pixels are
8071 changed to the specified bgcolor.
8072 (drawImage(img, x, y, width, height, observer): Changed to
8073 use function above.
8074 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8075 Fixed FIXME- changed all transparent pixels to bgcolor.
8076 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8077 Changed to use function above.
8078
8079 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8080
8081 * java/applet/Applet.java (dimensions): New field.
8082 (getDimensions): New method.
8083 (getPreferredSize): Call getDimensions.
8084 (getMinimumSize): Likewise.
8085
8086 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8087
8088 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8089 * jni/classpath/jnilink.c: Likewise.
8090
8091 * java/applet/Applet.java (getPreferredSize): New method.
8092 (getMinimumSize): New method.
8093
8094 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8095
8096 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8097 (_Jv_AllocObjectNoFinalizer): Likewise.
8098 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8099 (_Jv_AllocPtrFreeObject): Likewise.
8100 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8101 directly even in the JVMPI case.
8102 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8103 _Jv_AllocObject calls.
8104 * gcj/javaprims.h: Update prototypes.
8105 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8106 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8107 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8108
8109 2004-04-14 Andrew Haley <aph@redhat.com>
8110 Bryce McKinlay <mckinlay@redhat.com>
8111
8112 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8113 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8114 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8115
8116 * testsuite/libjava.lang/InvokeInterface.java: New file.
8117 * testsuite/libjava.lang/InvokeInterface.out: New file.
8118
8119 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8120
8121 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8122 modified lookup().
8123 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8124 StackTraceElement directly.
8125 (newElement): New native helper method to create StackTraceElement
8126 bypassing Java access control.
8127 (createStackTraceElement): Use newElement() instead of directly
8128 calling StackTraceElement's constructor.
8129 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8130
8131 2004-04-01 Michael Koch <konqueror@gmx.de>
8132
8133 * java/lang/SecurityManager.java
8134 (checkAwtEventQueueAccess): Implemented.
8135
8136 2004-04-01 Gary Benson <gbenson@redhat.com>
8137
8138 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8139 (_Jv_SearchMethodInClass): Likewise.
8140
8141 2004-03-26 Peter Moon <peterm@miraculum.com>
8142
8143 * java/text/NumberFormat.java: Fix spelling of setCurrency
8144 method.
8145
8146 2004-03-21 Anthony Green <green@redhat.com>
8147
8148 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8149 recursion when searching for the system ClassLoader.
8150
8151 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8152
8153 * java/net/ServerSocket.java
8154 (accept): Close the socket when error occured.
8155
8156 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8157
8158 * java/net/URI.java (parseURI): Added unquoting.
8159 (unquote): New method.
8160 (quoteAuthority): Implemented.
8161 (quote(String,String)): New method.
8162 (quotePath): Implemented.
8163 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8164 (getSchemeSpecificPart): Removed FIXME comment.
8165 (getRawAuthority): Return new rawAuthority field.
8166 (getAuthority): Removed FIXME comment.
8167 (getRawUserInfo): Return new rawUserInfo field.
8168 (getUserInfo): Removed FIXME comment.
8169 (getRawPath): Return new rawPath field.
8170 (getPath): Removed FIXME comment.
8171 (getRawQuery): Return new rawQuery field.
8172 (getQuery): Removed FIXME comment.
8173 (getRawFragment): Return new rawFragment field.
8174 (getFragment): Removed FIXME comment.
8175
8176 2004-03-20 Michael Koch <konqueror@gmx.de>
8177
8178 * java/net/URLConnection.java: Merged copyright year with classpath.
8179
8180 2004-03-20 Norbert Frese <postfach@nfrese.net>
8181
8182 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8183 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8184 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8185 rmi-message.
8186 (getObjectInputStream): Return object reference, throw IOException if null.
8187 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8188 (getObjectOutputStream): Return object reference, throw IOException if null.
8189 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8190 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8191 (UnicastConnectionManager): Throw RemoteException if port is not available.
8192 (getInstance): Throw RemoteException.
8193 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8194 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8195 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8196 Collect Exceptions which are returned by a rmi-call and fix void returns.
8197 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8198 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8199 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8200 (dispatch): Answer ping messages which are sent by other java implementions.
8201 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8202 for every rmi-message and fix void return problems.
8203 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8204 (UnicastServerRef): Throw RemoteException.
8205 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8206 In some situations it is necessary to export a subclass of the class which has the _Stub.
8207 For instance when the class with has the _Stub is abstract.
8208 (findStubSkelClass): New method which looks for the class which has the _Stub.
8209 (getClientHost): Implementated.
8210 * gcc/libjava/java/rmi/server/RemoteServer.java
8211 (getClientHost): Implementated.
8212 * gcc/libjava/Makefile.am (rmi_java_source_files):
8213 Added gnu/java/rmi/server/RMIIncomingThread.java.
8214 * Makefile.in: Regenerated.
8215
8216 2004-03-20 Michael Koch <konqueror@gmx.de>
8217
8218 * java/net/InetAddress.java
8219 (getLocalHostname): Added javadoc.
8220
8221 2004-03-19 Per Bothner <per@bothner.com>
8222
8223 * configure.in: FILE variable overrides FLATFORM when linking
8224 natFileChannelXXX.cc.
8225
8226 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8227 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8228
8229 2004-03-19 Per Bothner <per@bothner.com>
8230
8231 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8232 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8233 * Makefile.am: Update accordingly.
8234 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8235 as aliases for UnicodeLittle and UnicodeBig.
8236
8237 2004-03-20 Mark Wielaard <mark@klomp.org>
8238
8239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8240 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8241 Don't access ws when it is null.
8242 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8243 Likewise.
8244
8245 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8246
8247 * java/lang/ThreadGroup.java (list): Changed print to println.
8248
8249 2004-03-19 Mark Wielaard <mark@klomp.org>
8250
8251 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8252 happy.
8253
8254 2004-02-10 Randolph Chung <tausq@debian.org>
8255
8256 * configure.in: Build java for hppa target.
8257 * configure: Regenerate.
8258 * libjava/configure.host (hppa-*): Add target.
8259 * libjava/sysdeps/pa/lock.h: New file.
8260
8261 2004-03-19 Mark Wielaard <mark@klomp.org>
8262
8263 Reported by Stephen Crawley
8264 * java/io/FilePermission.java (implies): Use String.length() -1 to
8265 access last char of String.
8266
8267 2004-03-19 Michael Koch <konqueror@gmx.de>
8268
8269 * java/awt/image/AffineTransformOp.java
8270 (AffineTransformOp): Made public.
8271 * javax/swing/JComponent.java
8272 (listenerList): Made protected.
8273 (accessibleContext): Likewise.
8274 * javax/swing/JList.java
8275 (valueChanged): Dont use internal fields of ListSelectionEvent.
8276 * javax/swing/JViewport.java
8277 (getView): Dont use internal fields of Component.
8278 (addImpl): Likewise.
8279 * javax/swing/Timer.java
8280 (isRunning): Made public.
8281 (start): Likewise.
8282 (stop): Likewise.
8283 * javax/swing/UIDefaults.java
8284 (getInt): Made public.
8285 * javax/swing/plaf/basic/BasicListUI.java
8286 (mousePressed): Dont use internal fields of MouseEvent.
8287 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8288 * javax/swing/plaf/basic/BasicScrollBarUI.java
8289 (arrowIcon): Made static.
8290 * javax/swing/plaf/basic/BasicViewportUI.java
8291 (stateChanged): Dont use internal field on ChangeEvent.
8292 * javax/swing/text/JTextComponent.java
8293 (getUI): Call UIManager.getUI().
8294 (updateUI): Use getUI().
8295
8296 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8297
8298 * verify.cc: Undef PC.
8299
8300 2004-03-18 Michael Koch <konqueror@gmx.de>
8301
8302 * java/nio/channels/spi/AbstractSelectableChannel.java
8303 (keys): Initialize at declaration.
8304 (locate): keys cant be null.
8305 (add): Removed.
8306 (addSelectionKey): New method.
8307 (removeSelectionKey): New method.
8308 * java/nio/channels/spi/AbstractSelectionKey.java
8309 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8310 * java/nio/channels/spi/AbstractSelector.java
8311 (provider): Javadoc added.
8312 (cancelledKeys): Javadoc added.
8313 (cancelKey): Javadoc added, add key to cancelledKeys.
8314 (deregister): Implemented.
8315
8316 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8317
8318 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8319 MAP_FAILED to void *.
8320
8321 2004-03-12 Graydon Hoare <graydon@redhat.com>
8322
8323 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8324 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8325 * javax/swing/JList.java (ListListener): Revalidate on changes.
8326 * javax/swing/JScrollPane.java: Reimplement.
8327 * javax/swing/JViewport.java: Reimplement.
8328 * javax/swing/ScrollPaneLayout.java: Reimplement.
8329 * javax/swing/ViewportLayout.java: Tidy up.
8330 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8331 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8332 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8333 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8334 backing store only.
8335
8336 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8337
8338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8339 (window_wm_protocols_filter): New function.
8340 (window_focus_in_cb): Remove function.
8341 (window_focus_out_cb): Likewise.
8342 (window_focus_or_active_state_change_cb): New function.
8343 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8344 (connectSignals): Don't attach handlers to focus-in-event or
8345 focus-out-event signals. Handle notify signal.
8346
8347 2004-03-11 David Jee <djee@redhat.com>
8348
8349 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8350 (gtkSetLabel): New native method declaration.
8351 (setLabel): Use gtkSetLabel.
8352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8353 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8354
8355 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8356
8357 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8358 black when color argument is null.
8359
8360 2004-03-10 Kim Ho <kho@redhat.com>
8361
8362 * java/awt/Container.java: Remove check
8363 for drag events.
8364
8365 2004-03-10 Kim Ho <kho@redhat.com>
8366
8367 * java/awt/Container.java: (visitChild):
8368 Remove candidate clip. Use the component
8369 clip to intersect.
8370 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8371 (handleEvent): Use the PaintEvent's clip.
8372
8373 2004-03-10 Kim Ho <kho@redhat.com>
8374
8375 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8376 (handleEvent): Don't set the clip for the
8377 Graphics object.
8378
8379 2004-03-09 Graydon Hoare <graydon@redhat.com>
8380
8381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8382 Fix double <-> fixed macros, reset font transform.
8383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8384 Likewise.
8385
8386 2004-03-09  Kim Ho <kho@redhat.com>
8387
8388 * java/awt/Container.java: (visitChild): Move
8389 the x and y coordinate of the component rectangle
8390 to correct position.
8391 (handleEvent): Forward drag events to the pressed
8392 component.
8393 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8394 Fix comments.
8395 (ArrowButtonListener::mousePressed): Stop the
8396 existing timer.
8397 (mouseDragged): Implement.
8398 (TrackListener::mousePressed): Only react if
8399 the press doesn't occur on the thumb, otherwise
8400 just set the offset.
8401 (TrackListener::mouseReleased): Unset the isAdjusting
8402 value.
8403 (createIncreaseIcon): Switch icon.
8404 (createDecreaseIcon): Switch icon.
8405 (calculatePreferredSize): Use width.
8406 (getThumbBounds): Use the top as the lower value.
8407 (layoutVScrollBar): Switch the button locations.
8408 (paintIncreaseHighlight): Paint correct side of thumb.
8409 (paintDecreaseHighlight): ditto.
8410 (valueForYPosition): Use top as the lower value.
8411 * javax/swing/plaf/basic/BasicSliderUI.java:
8412 Fix comments.
8413 (mouseDragged): Implement.
8414 (mousePressed): Only react when the thumb isn't
8415 pressed, otherwise just set offset.
8416 (mouseReleased): Handle a release of the thumb.
8417 (scrollDueToClickInTrack): Stop the timer first.
8418 * javax/swing/JProgressBar.java:
8419 (setString): Fix change condition.
8420 * javax/swing/JSeparator.java:
8421 Remove println's.
8422
8423 2004-03-08 David Jee <djee@redhat.com>
8424
8425 * java/awt/image/AffineTransformOp.java:
8426 (filter): Use Graphics2D interface instead of directly using the
8427 GdkGraphics2D peer.
8428
8429 2004-03-05 David Jee <djee@redhat.com>
8430
8431 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8432 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8433 * java/awt/Container.java
8434 (acquireComponentForMouseEvent): Fixed.
8435 (handleEvent): Fixed.
8436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8437 (state_to_awt_mods_with_button_states): New method.
8438 (pre_event_handler): Fixed mouse event generation.
8439
8440 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8441
8442 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8443 (GdkGraphics2D (BufferedImage)): Initialize
8444 pixmap associated with specified BufferedImage.
8445 (setPaint): Changed implementation of Texture
8446 Paint to use AffineTransformOp.
8447 * java/awt/image/AffineTransformOp.java
8448 (createCompatibleDestRaster): Throw RasterFormatException
8449 if resulting width or height of raster is 0.
8450
8451 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8452
8453 * java/awt/image/AffineTransformOp.java:
8454 Removed unnecessary field interpolationType.
8455 Formatted some of the lines to be consistent with
8456 the GNU style.
8457 (AffineTransformOp): Create new RenderingHints
8458 containing specified interpolation type.
8459 (createCompatibleDestImage): Implemented.
8460 (createCompatibleDestRaster): Implemented.
8461 (filter): Implemented.
8462 (getBounds2D(BufferedImage)): Implemented.
8463 (getBounds2D(Raster)): Implemented.
8464 (getInterpolationType): Get interpolation value from
8465 rendering hints.
8466
8467 2004-03-04 David Jee <djee@redhat.com>
8468
8469 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8470 (setFont): Check if child peers are null.
8471
8472 2004-03-04 Graydon Hoare <graydon@redhat.com>
8473
8474 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8475 .libs in -L option.
8476 (libjava_arguments): Add new libraries to argument list.
8477
8478 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8479
8480 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8481 * Makefile.in: Re-generated.
8482 * java/awt/image/AffineTransformOp.java: New Class.
8483
8484 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8485
8486 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8487 (setPaint): Interpret correctly TexturePaint's
8488 anchor rectangle.
8489 (drawImage): Fixed scale factors of the affine
8490 transform.
8491
8492 2004-02-27 David Jee <djee@redhat.com>
8493
8494 * gnu/java/awt/peer/gtk/GdkGraphics.java
8495 (GdkGraphics(Component)): Inherit font from component.
8496 (drawString): Use font style.
8497 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8498 (gtkSetFont): New native method declaration.
8499 (setFont): New method.
8500 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8501 (gtkSetFont): New native method declaration.
8502 (setFont): Call new native method gtkSetFont.
8503 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8504 (setFont): For all child components who do not their fonts set,
8505 set their peers' fonts with this container's font.
8506 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8507 Move all native method declarations to the top for readability.
8508 (gtkSetFont): New native method declaration.
8509 (setFont): New method.
8510 * java/awt/Component.java
8511 (setFont): Invalidate after setting the font.
8512 * java/awt/Container.java
8513 (invalidateTree): New method.
8514 (setFont): Invalidate the container tree after setting the font.
8515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8516 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8518 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8520 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8522 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8523
8524 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8525
8526 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8527 (updateBufferedImage): New helper function.
8528 Updates BufferedImage in memory if it was changed.
8529 (draw): changed to update BufferedImage in memory after
8530 this drawing operation
8531 (fill): Ditto.
8532 (draw3DRect): Ditto.
8533 (fill3DRect): Ditto.
8534 (clearRect): Ditto.
8535 (drawRaster): Ditto.
8536 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8537 no affine transformation.
8538 (drawGlyphVector): Ditto.
8539
8540 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8541
8542 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8543 (isBufferedImageGraphics): New Helper function.
8544 Returns true if this graphics2d can be used to draw
8545 into buffered image and false otherwise.
8546 (updateImagePixels): New Helper function.
8547 Updates pixels in the BufferedImage.
8548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8549 (getImagePixels): New function. Returns pixels
8550 of the buffered image associated with
8551 this Graphics2D.
8552
8553 2004-02-26 David Jee <djee@redhat.com>
8554
8555 * java/awt/BorderLayout.java
8556 (layoutContainer): Fix width and height calculations to ensure
8557 that they're non-negative.
8558 * java/awt/Component.java
8559 (setBackground): If c is null, inherit from closest ancestor whose
8560 background color is set.
8561
8562 2004-02-26  Kim Ho  <kho@redhat.com>
8563
8564 * Makefile.am: Add new files.
8565 * Makefile.in: Re-generate.
8566 * javax/swing/JProgressBar.java:
8567 (JProgressBar(int, int int)): Throw
8568 IllegalArgumentException if orientation is
8569 invalid.
8570 (JProgressBar(BoundedRangeModel)): Create
8571 ChangeListener and register it. UpdateUI.
8572 (getChangeListeners): Implement.
8573 (setModel): Reset ChangeListener.
8574 * javax/swing/JScrollBar.java: Implement.
8575 * javax/swing/JSeparator.java: Implement.
8576 * javax/swing/JSlider.java:
8577 (JSlider(int, int, int, int)): Throw
8578 IllegalArgumentException if orientation
8579 is invalid.
8580 (getChangeListeners): Fix method name.
8581 * javax/swing/SwingUtilities.java:
8582 (layoutCompoundLabel): If there is no text,
8583 set the text rectangle dimensions to 0.
8584 * javax/swing/plaf/basic/BasicButtonUI.java:
8585 (paint): If there is no text, don't paint it.
8586 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8587 Implement.
8588 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8589 Implement.
8590 * javax/swing/plaf/basic/BasicSliderUI.java:
8591 (propertyChange): If the model changes, change
8592 the listeners accordingly.
8593
8594 2004-02-25 Graydon Hoare <graydon@redhat.com>
8595
8596 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8597 * javax/swing/JList.java: Reimplement.
8598 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8599 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8600 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8601 * javax/swing/ListModel.java: Javadoc.
8602 * javax/swing/ListSelectionModel.java: Add missing methods.
8603 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8604 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8605 * javax/swing/ListModel.java: Javadoc and corrections.
8606 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8607
8608 2004-02-25 David Jee <djee@redhat.com>
8609
8610 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8611 (GtkFontPeer): Change default size to 12.
8612 * gnu/java/awt/peer/gtk/GtkToolkit.java
8613 (getFontPeer): Change default size to 12.
8614 (getClasspathFontPeer): Likewise. Set default name to "Default".
8615 * java/awt/Font.java
8616 (Font(Map)): Call Font(String,Map).
8617 (Font(String,Map)): If attrs is null, initialize it as an empty
8618 HashMap, which will ensure that the Font will get default attributes.
8619
8620 2004-02-25 David Jee <djee@redhat.com>
8621
8622 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8623 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8624 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8625 * gnu/java/awt/peer/gtk/GtkToolkit.java
8626 (getFontPeer(String,int)): Call the new overload method with size 1.
8627 (getFontPeer(String,int,int)): New method. Overloaded with size
8628 attribute.
8629 (getClasspathFontPeer): Set the size of the font.
8630
8631 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8632
8633 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8634 (bimage): New field.
8635 (GdkGraphics2D): New Constructor. Constructs Graphics
8636 object that can be used to draw into the Buffered Image.
8637 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8638 (GdkGraphicsEnvironment): Fixed to include public
8639 keyword.
8640 (createGraphics): Implemented.
8641 * gnu/java/awt/peer/gtk/GtkToolkit.java
8642 (getLocalGraphicsEnvironment): Implemented.
8643 * java/awt/GraphicsEnvironment.java:
8644 (getLocalGraphicsEnvironment): Implemented.
8645 * java/awt/image/BufferedImage.java:
8646 (createGraphics): Implemented.
8647
8648 2004-02-24 David Jee <djee@redhat.com>
8649
8650 * java/awt/Component.java
8651 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8652 * java/awt/Container.java
8653 (addNotifyContainerChildren): Fix event enabling.
8654
8655 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8656
8657 * Makefile.am: Added
8658 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8659 * Makefile.in: Re-generated.
8660 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8661 New Class.
8662
8663 2004-02-19 Kim Ho <kho@redhat.com>
8664
8665 * Makefile.am: Add BasicProgressBarUI
8666 * Makefile.in: Regenerate.
8667 * javax/swing/JProgressBar.java:
8668 Re-implement.
8669 * javax/swing/plaf/basic/BasicLookAndFeel.java
8670 Add constants for JProgressBar.
8671 * javax/swing/plaf/basic/BasicProgressBarUI.java
8672 Implement.
8673 * javax/swing/plaf/basic/BasicSliderUI.java
8674 Change comments.
8675 (calculateGeometry): New method
8676 (paint): Remove unnecessary size calculations.
8677
8678 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8679
8680 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8681 (drawRaster): Fixed small error that caused
8682 imageToUser transformation to be set incorrectly.
8683 (toString): Implemented.
8684
8685 2004-02-18 David Jee <djee@redhat.com>
8686
8687 * java/awt/CardLayout.java
8688 (addLayoutComponent): Show the first component added as the default.
8689 (removeLayoutComponent): After removing, show the next component.
8690 (gotoComponent): If there is only one component, show it and return.
8691
8692 2004-02-18 Kim Ho <kho@redhat.com>
8693
8694 * javax/swing/JSlider.java: Re-order
8695 modifiers.
8696 * javax/swing/JLabel.java: Re-order
8697 modifiers.
8698 * javax/swing/JComponent.java:
8699 (addPropertyChangeListener):
8700 Implement.
8701 (removePropertyChangeListener):
8702 ditto.
8703 (firePropertyChangeEvent):
8704 ditto.
8705
8706 2004-02-17 David Jee <djee@redhat.com>
8707
8708 * java/awt/Component.java
8709 (show): Dispatch ComponentEvent via system event queue.
8710 (hide): Likewise.
8711 (move): Likewise.
8712 (resize): Likewise.
8713 (reshape): Likewise.
8714 * java/awt/Window.java
8715 (setBoundsCallback): Likewise.
8716
8717 2004-02-17 David Jee <djee@redhat.com>
8718
8719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8720 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8721 Use gtk_widget_set_size_request() instead of the deprecated
8722 gtk_widget_set_usize().
8723
8724 2004-02-17 Kim Ho <kho@redhat.com>
8725
8726 * javax/swing/JSlider.java: Fix comments and
8727 make property strings constants.
8728 (createStandardLabels): Use the labels
8729 preferred size as bounds.
8730 * javax/swing/plaf/basic/BasicSliderUI.java
8731 Fix comments.
8732 (ScrollHandler::actionPerformed): Don't
8733 calculate the timer stop value. Let the
8734 MouseListeners find the stop location.
8735 (getPreferredHorizontalSize): Re-implement.
8736 (getPreferredVerticalSize): ditto.
8737 (getMinimumHorizontalSize): ditto.
8738 (getMinimumVerticalSize): ditto.
8739 (getPreferredSize): ditto.
8740 (getMinimumSize): ditto.
8741 (getMaximumSize): ditto.
8742 (paintTicks): Use doubles to find the
8743 tick location.
8744 (paintHorizontalLabel):  Use preferredSize
8745 as initial width and height.
8746 (paintVerticalLabel): ditto.
8747
8748 2004-02-17 Kim Ho <kho@redhat.com>
8749
8750 * javax/swing/JLabel.java: Changed
8751 property strings to constants.
8752 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8753 New property.
8754 (setText): Change mnemonic index if
8755 text is too short.
8756 (setDisplayedMnemonicIndex): Fire property
8757 change event.
8758 (getDisplayedMnemonicIndex): Remove check
8759 against short text.
8760
8761 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8762
8763 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8764 (drawImage(img,xform,obs)): Invert xform before
8765 passing the xform to cairo.
8766 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8767 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8768 implemented.
8769 (drawImage (img,x,y,w,h,obs)): Implemented.
8770 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8771 bgcolor,obs)): Partly implemented.
8772 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8773 Implemented.
8774 * java/awt/image/BufferedImage.java:
8775 (copyData): if dest is null, create raster with same
8776 dimensions as the current image.
8777
8778 2004-02-16 Graydon Hoare <graydon@redhat.com>
8779
8780 * javax/swing/plaf/basic/BasicLabelUI.java
8781 (getPreferredSize): Use layoutCL.
8782 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8783 (getPreferredButtonSize): Start with empty view rect, layout using
8784 component's preferred alignment.
8785 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8786 List defaults.
8787
8788 2004-02-16 David Jee <djee@redhat.com>
8789
8790 * java/awt/Component.java
8791 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8792 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8793 (move): Erase old bounds and repaint new bounds. Dispatch
8794 COMPONENT_MOVED ComponentEvent.
8795 (resize): Erase old bounds and repaint new bounds. Dispatch
8796 COMPONENT_RESIZED ComponentEvent.
8797 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8798 ComponentEvents.
8799 * java/awt/Window.java
8800 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8801 ComponentEvents.
8802
8803 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8804
8805 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8806 (setRenderingHint): Added implementation of
8807 Interpolation rendering hints.
8808 (setRenderingHints): Ditto.
8809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8810 (drawPixels): fixed to allow user to choose type
8811 of filtering that should be used when displaying images.
8812 (cairoSurfaceSetFilter): New method. Sets filter type for
8813 interpolation of pixel values.
8814
8815 2004-02-16 David Jee <djee@redhat.com>
8816
8817 * java/awt/GridBagLayout.java
8818 (calcCellSizes): Rows or columns with zero sizes should still be
8819 considered for extra space distribution.
8820
8821 2004-02-16 Kim Ho <kho@redhat.com>
8822
8823 * javax/swing/JLabel.java: Re-implement.
8824 * javax/swing/plaf/basic/BasicLabelUI.java
8825 Re-implement.
8826 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8827 Added constant.
8828
8829 2004-02-16  Kim Ho  <kho@redhat.com>
8830
8831 * javax/swing/JSlider.java: Fix indentation and comments.
8832 (setModel): Remove null check to conform with Sun's.
8833 (setOrientation): Throw exception if not
8834 HORIZONTAL or VERTICAL.
8835 (getInverted): Use private variable instead of
8836 ComponentOrientation.
8837 (setInverted): ditto.
8838 * javax/swing/plaf/basic/BasicSliderUI.java:
8839 Fix indentation and comments.
8840 (propertyChange): Remove check for inverted slider, handle
8841 in main paint.
8842 (getMinimumSize): Return preferred size.
8843 (getMaximumSize): ditto.
8844 (calculateFocusRect): Don't relocate rectangle.
8845 (drawInverted): Return XOR of the slider's inversion and
8846 the component's orientation.
8847 (paint): Update leftToRightCache
8848
8849 2004-02-13 David Jee <djee@redhat.com>
8850
8851 * java/awt/GridBagLayout.java
8852 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8853 code to helper methods.
8854 (sortBySpan): New helper method.
8855 (distributeSizeAndWeight): Likewise.
8856 (calcCellWeights): Likewise.
8857 (calcCellSizes): Add comments.
8858
8859 2004-02-13 David Jee <djee@redhat.com>
8860
8861 * java/awt/Component.java
8862 (show): Only do something if component is invisible at the moment.
8863 (hide): Only do something if component is visible at the moment.
8864 (reshape): If lightweight, erase old bounds and repaint new bounds.
8865
8866 2004-02-13  Kim Ho  <kho@redhat.com>
8867
8868 * Makefile.am: Updated for new file.
8869 * Makefile.in: Regenerated.
8870 * javax/swing/JSlider.java: Reimplement.
8871 * javax/swing/SwingUtilities.java
8872 (layoutCompoundLabel): Use icon height
8873 instead of width.
8874 (paintComponent): Implement.
8875 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8876 Add JSlider defaults.
8877 * javax/swing/plaf/basic/BasicSliderUI.java:
8878 Implement. New file.
8879
8880 2004-03-17 Michael Koch <konqueror@gmx.de>
8881
8882 * gnu/java/net/PlainDatagramSocketImpl.java
8883 (RECEIVE_LOCK): New member field.
8884 (SEND_LOCK): New member field.
8885 (send0): New method.
8886 (send): Synchronize on SEND_LOCK.
8887 (receive0): New method.
8888 (receive): Synchronize on RECEIVE_LOCK.
8889 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8890 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8891 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8892 (send0): Renamed from send.
8893 (receive0): Renamed from receive.
8894 2004-03-17 Michael Koch <konqueror@gmx.de>
8895
8896 * gnu/java/net/natPlainSocketImplPosix.cc
8897 (write): Just call write(jbyteArray, offset, len).
8898 (read): Just call read(jbyteArray, offset, len).
8899
8900 2004-03-16 Michael Koch <konqueror@gmx.de>
8901
8902 * javax/swing/JTabbedPane.java
8903 (serialVersionUID): New field.
8904
8905 2004-03-16 Norbert Frese <postfach@nfrese.net>
8906
8907 * java/net/InetAddress.java
8908 (getByName): Handle hostname == "" case.
8909
8910 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8911
8912 Reported by: Adam Heath <doogie@debian.org>
8913 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8914 class loader.
8915
8916 2004-03-15 Michael Koch <konqueror@gmx.de>
8917
8918 * java/util/Locale.java: Reverting my last patch
8919 and add a comment why the original version was okay.
8920
8921 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8922
8923 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8924 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8925 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8926 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8927
8928 2004-03-12 Michael Koch <konqueror@gmx.de>
8929
8930 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8931
8932 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8933
8934 * java/net/URI.java (toURL): Implemented.
8935
8936 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8937
8938 * java/net/URI.java
8939 (URI_REGEXP) updated to contain scheme specific part.
8940 (SCHEME_SPEC_PART_GROUP) new constant.
8941 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8942 updated to make room for SCHEME_SPEC_PART_GROUP.
8943 (parseURI) parse scheme specific part.
8944 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8945 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8946 getQuery, getFragment) implemented.
8947
8948 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8949
8950 * libraries/javalib/java/net/URI.java
8951 partially implemented using java.util.regex.
8952 (URI_REGEXP) new constant. Used to parse URIs.
8953 (SCHEME_GROUP) new constant representing index of scheme group
8954 in parsed URI.
8955 (AUTHORITY_GROUP) new constant representing index of authority
8956 group in parsed URI.
8957 (PATH_GROUP) new constant representing index of path group in
8958 parsed URI.
8959 (QUERY_GROUP) new constant representing index of query group in
8960 parsed URI.
8961 (FRAGMENT_GROUP) new constant representing index of fragment
8962 group in parsed URI.
8963 (getURIGroup) new static utility method.
8964 (parseURI) implemented.
8965 (quote) stub for new static utility method.
8966 (quoteAuthority) stub for new static utility method.
8967 (quoteHost) stub for new static utility method.
8968 (quotePath) stub for new static utility method.
8969 (quoteUserInfo) stub for new static utility method.
8970 (URI) implemented.
8971 (create) don't throw URISyntaxException. Implemented.
8972 (toString) implemented.
8973
8974 2004-03-12 Michael Koch <konqueror@gmx.de>
8975
8976 * java/net/HttpURLConnection.java
8977 (getResponseCode): Fix another typo in javadoc.
8978
8979 2004-03-11 Michael Koch <konqueror@gmx.de>
8980
8981 * java/util/logging/Level.java
8982 (parse): Use String.equals() instead of ==.
8983
8984 2004-03-11 Michael Koch <konqueror@gmx.de>
8985
8986 * gnu/java/net/protocol/jar/Connection.java
8987 (getContentLength): New method.
8988
8989 2004-03-11 Michael Koch <konqueror@gmx.de>
8990
8991 * gnu/java/net/PlainSocketImpl.java:
8992 Reformated to merge better with classpath's version.
8993
8994 2004-03-11 Michael Koch <konqueror@gmx.de>
8995
8996 * java/util/Locale.java
8997 (getISO3Language): Use String.equals() instead of ==.
8998 (getISO3Country): Likewise.
8999
9000 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9001
9002 * java/text/AttributedString.java
9003 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9004 Use HashMap instead of Hashtable since value can be null, and
9005 you can not store a null value in a Hashtable.
9006
9007 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9008
9009 * java/text/AttributedStringIterator.java
9010 (getAllAttributesKey): Return only keys concerned
9011 by the current iterator.
9012 (getAttributes): Use strict inequality for
9013 end_index.
9014
9015 2004-03-11 Michael Koch <konqueror@gmx.de>
9016
9017 * java/net/HttpURLConnection.java:
9018 Fixed typo in javadoc.
9019
9020 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9021
9022 * java/io/BufferedInputStream.java (marktarget): New field for max
9023 mark limit.
9024 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9025 (mark): Use new fields.
9026 (read): Likewise.
9027 (read(byte[],int,int)): Likewise.
9028 (skip): Likewise.
9029 (refill): Likewise.
9030
9031 2004-03-11 Mark Wielaard <mark@klomp.org>
9032
9033 * java/beans/BeanDescriptor.java (BeanDescriptor):
9034 Set the FeatureDescriptor programmatic name.
9035
9036 2004-03-11 Michael Koch <konqueror@gmx.de>
9037
9038 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9039 This file was was just copied form java/io/natFileDescriptorEcos.cc
9040 and never changed to compile correctly.
9041
9042 2004-03-11 Michael Koch <konqueror@gmx.de>
9043
9044 * gnu/java/nio/PipeImpl.java
9045 (SourceChannelImpl): Made final.
9046 (read): Implemented.
9047 (SinkChannelImpl): Made final.
9048 (write): Implemented.
9049
9050 2004-03-11 Michael Koch <konqueror@gmx.de>
9051
9052 * gnu/java/net/PlainDatagramSocketImpl.java:
9053 Reformated to match classpath's version more.
9054
9055 2004-03-11 Michael Koch <konqueror@gmx.de>
9056
9057 * gnu/java/awt/peer/ClasspathFontPeer.java:
9058 Fixed javadoc to be correct xhtml.
9059 * gnu/java/awt/peer/gtk/GtkArgList.java
9060 (add): Use Boolean.valueOf() instead of new Boolean().
9061
9062 2004-03-09 Michael Koch <konqueror@gmx.de>
9063
9064 * java/lang/Thread.java
9065 (runnable): Moved around.
9066 (daemon): Renamed from daemon_flag.
9067 (contextClassLoader): Renamed from context_class_loader.
9068 (Thread): Reordered constructors.
9069 (activeCount): Use group directly.
9070 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9071 (holdsLock): Reworked javadoc.
9072 (setDaemon): Reworked.
9073 * java/lang/natThread.cc
9074 (destroy): Removed.
9075
9076 2004-03-08 Anthony Green <green@redhat.com>
9077
9078 * Makefile.am: Build property resource files into libgcj.
9079 * Makefile.in: Rebuilt.
9080 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9081 java/util/regex/PatternSyntaxException.java,
9082 gnu/regexp/CharIndexed.java,
9083 gnu/regexp/CharIndexedCharArray.java,
9084 gnu/regexp/CharIndexedInputStream.java,
9085 gnu/regexp/CharIndexedReader.java,
9086 gnu/regexp/CharIndexedString.java,
9087 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9088 gnu/regexp/REException.java,
9089 gnu/regexp/REFilterInputStream.java,
9090 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9091 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9092 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9093 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9094 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9095 gnu/regexp/RETokenLookAhead.java,
9096 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9097 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9098 gnu/regexp/RETokenStart.java,
9099 gnu/regexp/RETokenWordBoundary.java,
9100 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9101
9102 2004-03-03 Per Bothner <per@bothner.com>
9103
9104 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9105 Optimize when argument is a FileChannelImpl.
9106 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9107 New native methods.
9108 * java/nio/channels/natChannels.cc: New file for new native methods.
9109 * Makefile.am: Update accordingly.
9110
9111 2004-03-02 Jan Hubicka <jh@suse.cz>
9112
9113 * configure.host: Pass -fno-omit-frame-pointer for i386.
9114 * configure.in: Likewise.
9115 * configure: Regenerate.
9116
9117 2004-03-01 Per Bothner <per@bothner.com>
9118
9119 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9120
9121 2004-02-29 Per Bothner <per@bothner.com>
9122
9123 * java/nio/channels/FileChannelImpl.java: Moved to package
9124 gnu/java/nio/channels, since we need to refer to it from java.io.
9125 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9126 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9127 from java/nio/channels. Don't depend on FileDescriptor.
9128 (in, out, err): New static fields.
9129 (mode): New field.
9130 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9131 from FileDescriptor.
9132 (by): Removed MappedByteBuffer field.
9133 (map): New working implementation.
9134 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9135 some code "ported" from natFileDescriptoPosix.cc.
9136 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9137 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9138 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9139 Remove native methods.
9140 * Makefile.am, configure.in: Updated accordingly.
9141
9142 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9143 (ch): New FileChannelImpl field. Update constructor to match.
9144 (releaseImpl): Remove native method. Instead ...
9145 (release): Call unlock on channel.
9146 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9147
9148 * java/io/natFileDescriptorEcos.cc: Remove file.
9149 * java/io/natFileDescriptorPosix.cc: Remove file.
9150 * java/io/natFileDescriptorWin32.cc: Remove file.
9151 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9152 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9153 (<init>(FileChannelImpl)): New package-private constructor.
9154 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9155 (available, close, read, skip): Implement using FileChannelImpl.
9156 (getFD): Allocate FileDescriptor if needed.
9157 (getChannel): Is now trivial.
9158 * java/io/FileOutputStream.java: Corresponding changes.
9159 * java/io/RandomAccessFile.java: Corresponding changes.
9160
9161 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9162 unmapImpl): New dummy methods, to be overridden by subclass.
9163 (finalize, isLoaded, load, force): New methods.
9164 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9165 Now works, at least for read mapping.
9166
9167 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9168 streams using FileChannelImpl, not FileDescriptor.
9169 * java/lang/natWin32Process.cc (startProcess): Likewise.
9170
9171 2004-02-28 Michael Koch <konqueror@gmx.de>
9172
9173 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9174 wrong code.
9175
9176 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9177
9178 * java/io/ObjectInputStream.java
9179 (readClassDescriptor): Keep elements of the mapping non null.
9180 (checkTypeConsistency): New method.
9181 (readFields): Fixed main loop and base logic. Small reindentation.
9182 * java/io/ObjectStreamField.java
9183 (lookupField): New method to update the field reference.
9184 (checkFieldType): New method.
9185 * java/io/ObjectStreamClass.java
9186 (setClass, setFields): Call lookupField when building the field
9187 database. Check the real field type.
9188
9189 2004-02-28 Michael Koch <konqueror@gmx.de>
9190
9191 * java/nio/ByteOrder.java
9192 (nativeOrder): Use equals() to compare strings.
9193
9194 2004-02-26 Michael Koch <konqueror@gmx.de>
9195
9196 * gnu/java/nio/FileLockImpl.java
9197 (finalize): Made protected.
9198 * java/nio/channels/FileChannel.java
9199 (MapMode.READ_ONLY): Made final.
9200 (MapMode.READ_WRITE): Made final.
9201 (MapMode.PRIVATE): Made final.
9202 * java/nio/channels/SocketChannel.java
9203 (open): Simplified code.
9204 * java/nio/channels/spi/AbstractSelectableChannel.java
9205 (registered): Unused, removed.
9206 (keyFor): Check channel is open, only locate key
9207 and not add a new one.
9208 (register): Don't delete attachments.
9209
9210 2004-02-26 Michael Koch <konqueror@gmx.de>
9211
9212 * gnu/java/awt/ComponentDataBlitOp.java
9213 (INSTANCE): Made final.
9214 * gnu/java/awt/image/ImageDecoder.java:
9215 Reworked imports.
9216 (cm): Unused, removed.
9217
9218 2004-02-26 Michael Koch <konqueror@gmx.de>
9219
9220 * gnu/java/nio/DatagramChannelImpl.java
9221 (send): Check if target address is resolved.
9222
9223 2004-02-26 Michael Koch <konqueror@gmx.de>
9224
9225 * Makefile.am: Generate and install headers for inner classes in
9226 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9227 * Makefile.in: Regenerated.
9228
9229 2004-02-24 Anthony Green <green@redhat.com>
9230
9231 * java/lang/StringBuffer.java: No need to NULL out remainder of
9232 buffer since ensureCapacity_unsynchronized will have done this for
9233 us.
9234
9235 2004-02-20 Michael Koch <konqueror@gmx.de>
9236
9237 * gnu/java/net/protocol/jar/Handler.java
9238 (): Removed unneeded check for file != null. java.net.URL.getFile()
9239 returns an empty string but never null.
9240
9241 2004-02-20 Michael Koch <konqueror@gmx.de>
9242
9243 * gnu/gcj/convert/Convert.java
9244 (main): Use equals() to compare strings.
9245
9246 2004-02-20 Michael Koch <konqueror@gmx.de>
9247
9248 * javax/swing/AbstractButton.java: Made several constants final.
9249 (getRolloverSelectedIcon): Made public.
9250 (getSelectedIcon): Made public.
9251
9252 2004-02-16 Per Bothner <per@bothner.com>
9253
9254 * java/nio/CharBufferImpl.java: Inline super constructor.
9255 * java/nio/DoubleBufferImpl.java: Likewise.
9256 * java/nio/FloatBufferImpl.java: Likewise.
9257 * java/nio/IntBufferImpl.java: Likewise.
9258 * java/nio/LongBufferImpl.java: Likewise.
9259 * java/nio/ShortBufferImpl.java: Likewise.
9260 * java/nio/CharBuffer.java: Remove unused constructor.
9261 * java/nio/DoubleBuffer.java: Likewise.
9262 * java/nio/FloatBuffer.java: Likewise.
9263 * java/nio/IntBuffer.java: Likewise.
9264 * java/nio/LongBuffer.java: Likewise.
9265 * java/nio/ShortBuffer.java: Likewise.
9266 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9267 Fix buggy call to super constructor.
9268 * java/nio/DoubleViewBufferImpl.java: Likewise.
9269 * java/nio/FloatViewBufferImpl.java: Likewise.
9270 * java/nio/IntViewBufferImpl.java: Likewise.
9271 * java/nio/LongViewBufferImpl.java: Likewise.
9272 * java/nio/ShortViewBufferImpl.java: Likewise.
9273
9274 * java/nio/ByteBuffer.java (endian): Make non-private so other
9275 java.nio classes can inherit it.
9276 (<init>): Don't bother clearing array_offset.
9277 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9278 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9279 Remove redundant test.
9280
9281 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9282 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9283 Use new XxxViewBufferImpl constructors.
9284 * java/nio/MappedByteBufferImpl.java: Likewise.
9285 * java/nio/DirectByteBufferImpl.java: Likewise.
9286
9287 * java/nio/ByteBufferImpl.java: Remove one constructor.
9288 Inline super in remaining constructor.
9289 * java/nio/ByteBuffer.java: Remove unused constructor.
9290
9291 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9292
9293 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9294 * java/nio/DirectByteBufferImpl.java (owner): New field.
9295 (offset): Remove unused field.
9296 (<init>): Modify one and add another constructor. Change callers.
9297 (allocateDirect): Removed - not used.
9298 (getImpl, putImpl): Make static and pass address explicitly,
9299 to make them useful for MappedByteBufferImpl.
9300 (get, put): Check for underflow. Modify for new getImpl.
9301 (getImpl): New native method where target is array.
9302 (get(byte[],int,int)): Use the above.
9303 (adjustAddress): New static native method.
9304 (slice, duplicate, asReadOnly): New implementations.
9305 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9306 adjustAddress): New or updated native methods.
9307
9308 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9309
9310 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9311 overflow of fieldmapping.
9312
9313 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9314
9315 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9316
9317 2004-02-14 Per Bothner <per@bothner.com>
9318
9319 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9320 Set closed before calling implCloseChannel, as in the spec.
9321
9322 2004-02-09 Graydon Hoare <graydon@redhat.com>
9323
9324 * javax/swing/ToggleButtonModel.java: Remove dead class.
9325 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9326 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9327 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9328 * Makefile.am: Update for new and removed files.
9329 * Makefile.in: Regenerate.
9330
9331 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9332 * javax/swing/AbstractButton.java
9333 (AbstractButton): Initialize fields correctly in ctor.
9334 * javax/swing/JCheckbox.java
9335 (JCheckBox): Override painting flags.
9336 * javax/swing/DefaultButtonModel.java: Conform to sun.
9337 * javax/swing/JComponent.java (paint): Fill with background color
9338 if available.
9339 (processComponentKeyEvent)
9340 (processFocusEvent)
9341 (processKeyEvent)
9342 (processMouseMotionEvent): Remove event-consuming empty methods.
9343 (getUIClassID): Return "ComponentUI" not "JComponent"
9344 * javax/swing/JFrame.java: Remove some debugging chatter.
9345 (JFrame): Subscribe to window events.
9346 * javax/swing/JRadioButton.java
9347 (JRadioButton): Override painting flags.
9348 * javax/swing/JRootPane.java
9349 (JRootPane): Set background from UIDefaults.
9350 * javax/swing/JToggleButton.java
9351 (ToggleButtonModel): New inner class.
9352 (JToggleButton): Override layout alighment.
9353 * javax/swing/SwingUtilities.java:
9354 (getLocalBounds): Return width and height, not x and y.
9355 (calculateInnerArea): Use local bounds, not bounds.
9356 (layoutCompoundLabel): Provide overridden form.
9357 (layoutCompoundLabel): Correct bugs.
9358 * javax/swing/UIDefaults.java: Correct comment.
9359 * javax/swing/plaf/basic/BasicButtonUI.java:
9360 Move most logic into defaults, external listener.
9361 (paintIcon): Implement icon painting.
9362 (paint): Fix state painting to conform to changes in model.
9363 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9364 Remove most dead/wrong methods.
9365 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9366 * javax/swing/plaf/basic/BasicIconFactory.java:
9367 (DummyIcon): New class.
9368 (getMenuItemCheckIcon)
9369 (getMenuItemArrowIcon)
9370 (getMenuArrowIcon)
9371 (getCheckBoxMenuItemIcon)
9372 (getRadioButtonMenuItemIcon)
9373 (createEmptyFrameIcon): Return DummyIcons, not null.
9374 (getCheckBoxIcon): Implement an icon that looks like sun's.
9375 (getRadioButtonIcon): Implement an icon that looks like sun's.
9376 * javax/swing/plaf/basic/BasicLookAndFeel.java
9377 (initComponentDefaults): Fix impossible values, add some missing.
9378 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9379 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9380 Remove most dead/wrong methods.
9381 (icon): New field.
9382 (getDefaultIcon): New method.
9383 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9384 Remove most dead/wrong methods.
9385 * javax/swing/plaf/metal/MetalLookAndFeel.java
9386 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9388 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9389 Implement "clearing" as drawing, when on pixmap drawables.
9390
9391 * javax/swing/JButton.java (getUIClassID):
9392 * javax/swing/JCheckBox.java (getUIClassID):
9393 * javax/swing/JEditorPane.java (getUIClassID):
9394 * javax/swing/JLabel.java (getUIClassID):
9395 * javax/swing/JList.java (getUIClassID):
9396 * javax/swing/JOptionPane.java (getUIClassID):
9397 * javax/swing/JPanel.java (getUIClassID):
9398 * javax/swing/JPasswordField.java (uiClassID):
9399 * javax/swing/JRadioButton.java (getUIClassID):
9400 * javax/swing/JRootPane.java (getUIClassID):
9401 * javax/swing/JScrollPane.java (getUIClassID):
9402 * javax/swing/JTabbedPane.java (getUIClassID):
9403 * javax/swing/JToggleButton.java (getUIClassID):
9404 * javax/swing/JTree.java (getUIClassID):
9405 * javax/swing/JViewport.java (getUIClassID):
9406 * javax/swing/text/JTextComponent.java (getUIClassID):
9407 Return "fooUI" not "Jfoo"
9408
9409 2004-02-11 Michael Koch <konqueror@gmx.de>
9410
9411 * java/net/DatagramSocket.java
9412 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9413 Boolean object.
9414 (setBroadcast): Likewise.
9415 * java/net/MulticastSocket.java
9416 (setLoopbackMode): Likewise.
9417 * java/net/ServerSocket.java
9418 (setReuseAddress): Likewise.
9419 * java/net/Socket.java
9420 (setTcpNoDelay): Likewise.
9421 (setSoLinger): Likewise.
9422 (setOOBInline): Likewise.
9423 (setKeepAlive): Likewise.
9424 (setReuseAddress): Likewise.
9425 * java/net/URLConnection.java
9426 (setContentHandler): Replace == with equals().
9427 * java/net/URLStreamHandler.java
9428 (hostSEquals): Fix checking host addresses.
9429 (toExternalForm): Dont check protocol for null. We know already its
9430 not null.
9431
9432 2004-02-10 David Jee <djee@redhat.com>
9433
9434 * java/awt/BorderLayout.java
9435 (calcCompSize): Invisible components get zero dimensions.
9436 * java/awt/Button.java
9437 (setLabel): Set actionCommand.
9438 * java/awt/Component.java
9439 (show): Invalidate component and parent container.
9440 (hide): Likewise.
9441
9442 2004-02-10 David Jee <djee@redhat.com>
9443
9444 * java/awt/GridBagLayout.java
9445 (GridBagLayout): New private field, internalcomptable.
9446 (lookupInternalConstraints): New method.
9447 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9448 (GetLayoutInfo): Reimplement.
9449 (calcCellSizes): Ignore rows/columns with size 0.
9450
9451 2004-02-10 Michael Koch <konqueror@gmx.de>
9452
9453 * gnu/java/awt/EmbeddedWindow.java
9454 (setHandle): Use java.awt.Component.getPeer() instead of
9455 java.awt.Component.peer directly.
9456
9457 2004-02-10 David Jee <djee@redhat.com>
9458
9459 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9460 (gtkSetLabel): New native method definition.
9461 (setLabel): Use gtkSetLabel.
9462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9463 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9464
9465 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9466
9467 * include/powerpc-signal.h: Revert 2004-01-21 change.
9468 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9469 from syscall for ppc32 versions.
9470
9471 2004-02-08 Per Bothner <per@bothner.com>
9472
9473 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9474 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9475 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9476 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9477 Pass ByteOrder parameter to most methods, since the underlying
9478 ByteBuffer's order isn't always what we should use.
9479 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9480 * java/nio/DirectByteBufferImpl.java: Likewise.
9481 Use ByteBufferHelper methods.
9482 * java/nio/MappedByteBufferImpl.java: Likewise.
9483 (compact): Use shiftDown.
9484 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9485 (get, put): Use ByteBufferHelper.
9486 (compact): Use new shiftDown method.
9487 (duplicate(boolean)): New helper method.
9488 (duplicate, asReadOnlyBuffer): Use it.
9489 (order): Return endian field.
9490 * java/nio/DoubleViewBufferImpl.java: Likewise.
9491 * java/nio/FloatViewBufferImpl.java: Likewise.
9492 * java/nio/IntViewBufferImpl.java: Likewise.
9493 * java/nio/LongViewBufferImpl.java: Likewise.
9494 * java/nio/ShortViewBufferImpl.java: Likewise.
9495 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9496 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9497 (compact): Re-implement using shiftDown.
9498
9499 2004-02-08 Andreas Jaeger <aj@suse.de>
9500
9501 * include/x86_64-signal.h: Fix typo.
9502
9503 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9504
9505 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9506 qualifier to _regs.
9507 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9508
9509 2004-02-06 Michael Koch <konqueror@gmx.de>
9510
9511 * java/io/ObjectInputStream.java
9512 (currentClassLoader): Reverted to old version of this method.
9513
9514 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9515
9516 * java/io/ObjectInputStream.java: Made all calls
9517 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9518 use cached info from ObjectStreamClass. (readClassDescriptor):
9519 Cache more information in ObjectStreamClass. (processResolution,
9520 readFields): Use cached info from ObjectStreamClass.
9521 (newObject): Throw exception instead of returning null for failure.
9522 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9523 setCharField, setDoubleField, setFloatField, setIntField,
9524 setLongField, setShortField, setObjectField, readObjectParams):
9525 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9526 check.
9527 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9528 (setClass): Added call to cacheMethods() (findMethod): New method.
9529 (cacheMethods): New method. (ObjectStreamClass): Added call to
9530 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9531 AccessController.doPrivileged to invoke setAccessible.
9532 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9533 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9534 New fields.
9535 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9536 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9537 isPrimitive): Made safe for cases where type == null.
9538 (setBooleanField, setByteField, setCharField, setShortField,
9539 setIntField, setLongField, setFloatField, setDoubleField,
9540 setObjectField): New methods.
9541
9542 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9543
9544 * java/awt/Component.java (getFont): Return a default font
9545 instead of null.
9546
9547 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9548 (Scrollbar (int, int, int, int, int)): Make default page
9549 increment 10.
9550 (setValues): Only call peer.setValues if one of the values has
9551 changed.
9552 (generateName): New method.
9553 (getUniqueLong): New method.
9554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9555 (range_scrollbar): Remove structure.
9556 (post_adjustment_event): Remove function.
9557 (post_change_event): Accept jobject argument.
9558 (create): Cast jints to gdoubles. Round scrollbar values to the
9559 nearest integer. Clamp min, max and value settings.
9560 (connectJObject): Connect hook to widget->window.
9561 (connectSignals): Remove range_scrollbar structure variables.
9562 Remove "move-slider" connection. Pass global peer reference to
9563 "value-changed" callback.
9564 (setLineIncrement): Cast jint value to gdouble.
9565 (setPageIncrement): Likewise.
9566 (setValues): Likewise. Clamp min, max and value settings.
9567
9568 2004-02-05 Michael Koch <konqueror@gmx.de>
9569
9570 * javax/swing/AbstractCellEditor.java
9571 (getCellEditorValue): Removed.
9572 * javax/swing/Box.java: Reformated.
9573 (serialVersionUID): New field.
9574 * javax/swing/ButtonGroup.java:
9575 Removed some weird whitespace.
9576 * javax/swing/CellEditor.java: Reformated.
9577 * javax/swing/CellRendererPane.java
9578 (serialVersionUID): New field.
9579 (AccessibleCellRendererPaneserialVersionUID): New field.
9580 * javax/swing/DefaultListModel.java
9581 (serialVersionUID): New field.
9582 * javax/swing/JEditorPane.java
9583 (serialVersionUID): New field.
9584 (setPage): Throws IOException.
9585 (addHyperlinkListener): Implemented.
9586 (removeHyperlinkListener): Implemented.
9587 (getHyperlinkListener): New method.
9588 * javax/swing/JFileChooser.java
9589 (serialVersionUID): New field.
9590 (AccessibleJFileChooser.serialVersionUID): New field.
9591 (addActionListener): Implemented.
9592 (removeActionListener): Implemented.
9593 (getActionListeners): New method.
9594 * javax/swing/JFormattedTextField.java
9595 (serialVersionUID): New field.
9596 (AbstractFormatter.serialVersionUID): New field.
9597 (clone): Throws CloneNotSupportedException
9598 (setEditValid): Add missing argument.
9599 (stringToValue): Throws ParseExcpetion.
9600 (valueToString): Throws ParseException.
9601 (commitEdit): Throws ParseException.
9602 * javax/swing/JLabel.java
9603 (serialVersionUID): New field.
9604 * javax/swing/JList.java
9605 (serialVersionUID): New field.
9606 (addListSelectionListener): Reformated.
9607 (removeListSelectionListener): Reformated.
9608 (getListSelectionListeners): New method.
9609 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9610 Reformated.
9611 (serialVersionUID): New field.
9612 * javax/swing/table/AbstractTableModel.java
9613 (getValueAt): Removed.
9614 (getColumnCount): Removed.
9615 (getRowCount): Removed.
9616
9617 2004-02-05 Michael Koch <konqueror@gmx.de>
9618
9619 * java/awt/datatransfer/DataFlavor.java
9620 (imageFlavor): Javadoc added.
9621 (javaJVMLocalObjectType): Fixed.
9622
9623 2004-02-05 Michael Koch <konqueror@gmx.de>
9624
9625 * java/lang/Thread.java
9626 (Thread): Reordered.
9627 (setContextClassLoader): Fixed javadoc comment.
9628 (setPriority): Reordered.
9629 (yield): Reordered.
9630 (initialize_native): Reordered.
9631 (gen_name): Reordered.
9632
9633 2004-02-05 Michael Koch <konqueror@gmx.de>
9634
9635 * java/lang/Thread.java: Reordered fields, reformated much code,
9636 no functional changes, some variables renamed, javadoc comments
9637 merged.
9638
9639 2004-02-05 Michael Koch <konqueror@gmx.de>
9640
9641 * java/util/zip/Deflater.java,
9642 java/util/zip/DeflaterOutputStream.java,
9643 java/util/zip/GZIPInputStream.java:
9644 Reformated and javadoc comments merged from classpath.
9645
9646 2004-02-05 Michael Koch <konqueror@gmx.de>
9647
9648 * gnu/java/nio/NIOServerSocket.java
9649 (impl): Unused, removed.
9650 * gnu/java/nio/SocketChannelImpl.java
9651 (finnishConnect): Don't throw NoConnectionPendingException if not
9652 connected or no connection pending.
9653
9654 2004-02-02 Graydon Hoare <graydon@redhat.com>
9655
9656 * javax/swing/SwingUtilities.java: Many new functions.
9657 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9658 * javax/swing/basic/BasicGraphicsUtils.java
9659 (getPreferredButtonSize): Start layout from top-left corner.
9660
9661 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9662
9663 * java/awt/geom/AffineTransform.java:
9664 Corrected comments on the field definitions for
9665 m11 and m10.
9666 (shear): Fixed few errors that caused shear
9667 transformation to be performed incorrectly.
9668 (createInverse): Fixed to return correct
9669 inverse of the given matrix.
9670
9671 2004-02-03 Tom Tromey <tromey@redhat.com>
9672
9673 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9674 PATH or LD_LIBRARY_PATH is not set in parent environment.
9675
9676 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9677
9678 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9679 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9680 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9681 java/awt/Component.java, java/awt/Container.java,
9682 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9683 java/awt/LayoutManager2.java, java/awt/List.java,
9684 java/awt/Menu.java, java/awt/MenuBar.java,
9685 java/awt/MenuItem.java, java/awt/Polygon.java,
9686 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9687 java/awt/Scrollbar.java, java/awt/TextArea.java,
9688 java/awt/TextField.java,
9689 java/awt/image/renderable/RenderContext.java,
9690 javax/swing/JApplet.java: Fix handling of alias methods, where a
9691 method has been deprecated in favour of a new one with the same
9692 funtion but a different name. Put the method implementation in
9693 the deprecated method and have the new method call the
9694 deprecated one. Make all other code call the new method.
9695
9696 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9697
9698 * gnu/java/nio/DatagramChannelImpl.java
9699 (inChannelOperation): New field.
9700 (isInChannelOperation): New accessor.
9701 (setInChannelOperation): New modifier.
9702 (receive): Use capacity() - position() of destination
9703 buffer instead of remaining(). Set and reset our "in
9704 channel operation indicator" before and after delegating
9705 the receive to our datagram socket. Removed testing code.
9706 Update destination buffer's current position if it is
9707 backed by a byte array (hasArray() is true).
9708 (send): Set and reset our "in channel operation indicator"
9709 before and after delegating the send to our datagram socket.
9710 Removed testing code. Update source buffer's current position
9711 if it is backed by a byte array (hasArray() is true).
9712 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9713 Use capacity() - position() of destination buffer instead
9714 of remaining().
9715 * java/net/DatagramSocket.java (receive): Don't throw an
9716 IllegalBlockingModeException if we have a non-blocking
9717 channel which initiated this operation.
9718 (send): Likewise.
9719
9720 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9721
9722 * configure.in: Add pkgconfig check for glib and gthread.
9723 * configure: Regenerate.
9724
9725 2004-02-01 Michael Koch <konqueror@gmx.de>
9726
9727 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9728 arguments.
9729 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9730 * verify.cc (debug_print): Mark 'fmt' unused.
9731
9732 2004-01-30 Michael Koch <konqueror@gmx.de>
9733
9734 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9735 * configure: Regenerated.
9736 * glib-2.0.m4: Removed.
9737 * gtk-2.0.m4: Removed.
9738 * libart.m4: Removed.
9739 * pkg.m4: New file.
9740
9741 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9742
9743 * gnu/java/net/PlainSocketImpl.java
9744 (inChannelOperation): New field.
9745 (isInChannelOperation): New accessor.
9746 (setInChannelOperation): New modifier.
9747 * gnu/java/nio/ServerSocketChannelImpl.java
9748 (accept): Set and reset our server socket's PlainSocketImpl's
9749 "in channel operation" indicator before and after delegating
9750 the accept to our server socket.
9751 * gnu/java/nio/SocketChannelImpl.java
9752 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9753 operation" indicator before and after delegating the operation to
9754 our socket.
9755 (read): Likewise.
9756 (write): Likewise.
9757 * java/net/ServerSocket.java (implAccept): Don't throw an
9758 IllegalBlockingModeException if we have a non-blocking
9759 channel which initiated this accept operation.
9760 * java/net/Socket.java (connect): Don't throw an
9761 IllegalBlockingModeException if we have a non-blocking
9762 channel which initiated this connect operation.
9763 * java/nio/channels/spi/AbstractSelectableChannel.java
9764 (configureBlocking): Only call implConfigureBlocking() if
9765 the desired blocking mode is different from our current one.
9766
9767 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9768
9769 * java/io/BufferedReader.java (sbuf): New field.
9770 (readLine): Use String.valueOf instead of new String() as per
9771 Per Bothner's suggestion. Use instance sbuf field instead of a
9772 local StringBuffer instance.
9773 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9774 caller's buffer to refill().
9775 (read(void)): Pass our internal work buffer to refill if our
9776 input queue is empty.
9777 (refill): Changed return type to int. Use the specified buffer
9778 instead of our work buffer as per Bryce McKinlay's suggestion.
9779 Return the number of characters read or -1 for EOF.
9780
9781 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9782
9783 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9784
9785 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9786
9787 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9788 * Makefile.in: Re-generated.
9789 * gnu/awt/xlib/XFontPeer.java: New file.
9790 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9791 (setClip): Commented out debug printout.
9792 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9793 (getFontPeer): Return XFontPeer.
9794 (getLocalGraphicsEnvironment): New method.
9795 (getClasspathFontPeer): New method.
9796 (createFont): New method.
9797
9798 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9799
9800 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9801 return null.
9802
9803 2004-01-29 Kim Ho <kho@redhat.com>
9804
9805 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9806 (gtkLayoutSetVisible): New method
9807 (setMenuBar): Hide layout before setting MenuBar
9808 and reshow it after.
9809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9810 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9811
9812 2004-01-28 Michael Koch <konqueror@gmx.de>
9813
9814 * gnu/java/lang/ClassHelper.java
9815 (getPackagePortion): Removed.
9816
9817 2004-01-28 Michael Koch <konqueror@gmx.de>
9818
9819 * javax/swing/JComponent.java
9820 (listenerList): Initalize globally.
9821 (ancestor_list): Removed.
9822 (veto_list): Removed.
9823 (change_list): Removed.
9824 (get_veto_list): Removed.
9825 (get_change_list): Removed.
9826 (get_ancestor_list): Removed.
9827 (removeAncestorListener): Reimplemented.
9828 (removePropertyChangeListener): Likewise.
9829 (removeVetoableChangeListener): Likewise.
9830 (addAncestorListener): Likewise.
9831 (addPropertyChangeListener): Likewise.
9832 (addVetoableChangeListener): Likewise.
9833 (getListeners): New method.
9834 (getAncestorListeners): Likewise.
9835 (getVetoableChangeListeners): Likewise.
9836 (fireVetoableChange): Throws PropertyVetoException.
9837 * javax/swing/JEditorPane.java
9838 (JEditorPane): Throws IOException.
9839
9840 2004-01-28 David Jee <djee@redhat.com>
9841
9842 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9843 (create): Set the default foreground color to
9844 java.awt.SystemColor.windowText.
9845
9846 2004-01-27 Michael Koch <konqueror@gmx.de>
9847
9848 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9849 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9850 Reindented to merge with classpath.
9851
9852 2004-01-27 David Jee <djee@redhat.com>
9853
9854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9855 (addExposeFilter): Handle GtkFramePeer separately.
9856 (removeExposeFilter): Likewise.
9857
9858 2004-01-27 Michael Koch <konqueror@gmx.de>
9859
9860 * gnu/java/net/protocol/http/Connection.java
9861 (getOutputStream): Fixed typo.
9862
9863 2004-01-27 Michael Koch <konqueror@gmx.de>
9864
9865 * java/lang/Class.java
9866 (getConstructor): Removed SecurityException from throws clause.
9867 (_getConstructors): Likewise.
9868 (getConstructors): Likewise.
9869 (getDeclaredConstructor): Likewise.
9870 (getDeclaredClasses): Likewise.
9871 (getDeclaredConstructors): Likewise.
9872 (getDeclaredField): Likewise.
9873 (getDeclaredMethod): Likewise.
9874 (getDeclaredMethods): Likewise.
9875 (getField): Likewise.
9876 (getMethod): Likewise.
9877 (getMethods): Likewise.
9878
9879 2004-01-27 Kim Ho <kho@redhat.com>
9880
9881 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9882 (removeMenuBarPeer): Remove MenuBarPeer argument.
9883 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9884 (dispose): Call native method.
9885 * java/awt/Frame.java (setMenuBar): Create and remove
9886 MenuBar peers only if the Frame has a peer.
9887 (addNotify): Create the MenuBar peer if one exists.
9888 (removeNotify): Remove MenuBar peer if one exists.
9889 * java/awt/Menu.java: Fix imports.
9890 (addNotify): Don't use full class name.
9891 (removeNotify): Call removeNotify on all children.
9892 * java/awt/MenuBar.java (removeNotify): Call
9893 removeNotify on all children.
9894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9895 (removeMenuBarPeer): Remove MenuBarPeer argument.
9896 Iterate through children to find the Frame's MenuBar.
9897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9898 New file.
9899 (dispose): Remove references to the MenuComponent.
9900
9901 2004-01-27 Michael Koch <konqueror@gmx.de>
9902
9903 * javax/swing/AbstractCellEditor.java: Reformated.
9904 * javax/swing/DefaultListSelectionModel.java
9905 (listenerList): Made protected.
9906 (addListSelectionListener): Javadoc added.
9907 (removeListSelectionListener): Likewise.
9908 (getListeners): Likewise.
9909 (getListSelectionListeners): Likewise.
9910 * javax/swing/JComboBox.java: Merged copyright year.
9911 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9912
9913 2004-01-26 Andrew Haley <aph@redhat.com>
9914
9915 * javax/swing/table/JTableHeader.java: Extend JComponent
9916
9917 2004-01-26 Kim Ho <kho@redhat.com>
9918
9919 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9920 Fix spacing.
9921
9922 2004-01-26 Kim Ho <kho@redhat.com>
9923
9924 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9925 method.
9926 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9927 height and let the Layout Managers readjust anything that
9928 needs to move.
9929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9930 (moveLayout): New method. Shift everything in the Gtk
9931 layout in the Y direction by an offset.
9932
9933 2004-01-26 David Jee <djee@redhat.com>
9934
9935 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9936 (handleEvent): Implemented. Handles PaintEvents.
9937 (paint): Implemented. Use GTK native methods to queue updates
9938 for this heavyweight peer.
9939 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9940 (handleEvent): Removed.
9941 * java/awt/Component.java
9942 (paint): Implemented. Explictly paint the heavyweight peer.
9943 (update): Clear the background for heavyweight components.
9944 (paintAll): No need to call peer.paint() anymore.
9945 (processEvent): Don't process PaintEvents here. It's now done in
9946 the peer's handleEvent().
9947 (processPaintEvent): Removed.
9948 * java/awt/Container.java
9949 (paint): No need to call super.paint(). Visit heavyweight
9950 children as well.
9951 (update): Don't clear the background here. It's done in
9952 Component.update().
9953 (visitChildren): Added check to not recurse into Containers.
9954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9955 (filter_expose_event_handler): New method. Filter unwanted
9956 expose events while painting heavyweight peers.
9957 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9958 New method. Connect filter and block pre_event_handler.
9959 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9960 New method. Disconnect filter and unblock pre_event_handler.
9961 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9962 New method. Invalidate and update given area.
9963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9964 (pre_event_handler): Add checks for unwanted expose events.
9965
9966 2004-01-26 David Jee <djee@redhat.com>
9967
9968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9969 (find_bg_color_widget): For GtkButton, return its child.
9970
9971 2004-01-26 Kim Ho <kho@redhat.com>
9972
9973 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9974 private.
9975 (setMenuBar): Grab MenuBar height and change insets.
9976 (setBounds): Account for MenuBar height.
9977 (postInsetsChangedEvent): Ditto.
9978 (postSizeAllocateEvent): Remove.
9979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9980 (menubar_resize_cb): Remove
9981 (setMenuBarPeer): Remove callback.
9982 (getMenuBarHeight): Use size requisition instead of
9983 allocation.
9984
9985 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9986
9987 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9988 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9989 when peer is null.
9990 (setColumns): Remove FIXME -- peer will retrieve number of
9991 columns by calling getColumns.
9992 (setRows): Likewise for number of rows.
9993 (next_text_number): New field.
9994 (paramString): Fix param string.
9995 (generateName): New method.
9996 (getUniqueLong): New method.
9997
9998 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9999
10000 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10001 image observer of image loading status.
10002 (getImage (String)): Start image production.
10003 (getImage (URL)): Likewise.
10004
10005 2004-01-25 Michael Koch <konqueror@gmx.de>
10006
10007 * java/lang/Class.java: Imports reworked, reformated.
10008 (Class): Javadoc added.
10009 (forName): Likewise.
10010 (getClasses): Likewise.
10011 (getClassLoader): Likewise.
10012 (getComponentType): Likewise.
10013 (getConstructor): Likewise.
10014 (getConstructors): Likewise.
10015 (getDeclaredConstructor): Likewise.
10016 (getDeclaredClasses): Likewise.
10017 (getDeclaredConstructors): Likewise.
10018 (getDeclaredField): Likewise.
10019 (getDeclaredMethod): Likewise.
10020 (getDeclaredMethods): Likewise.
10021 (getDeclaringClass): Likewise.
10022 (getField): Likewise.
10023 (getInterfaces): Likewise.
10024 (getMethod): Likewise.
10025 (getMethods): Likewise.
10026 (getModifiers): Likewise.
10027 (getName): Likewise.
10028 (getResource): Likewise.
10029 (getResourceAsStream): Likewise.
10030 (getSigners): Likewise.
10031 (setSigners): Likewise.
10032 (getSuperclass): Likewise.
10033 (isArray): Likewise.
10034 (isAssignableFrom): Likewise.
10035 (isInstance): Likewise.
10036 (isInterface): Likewise.
10037 (isPrimitive): Likewise.
10038 (newInstance): Likewise.
10039 (getProtectionDomain): Likewise.
10040 (toString): Likewise.
10041 (Class): Moved.
10042 (initializeClass): Likewise.
10043 (finalize): Likewise.
10044
10045 2004-01-24 Michael Koch <konqueror@gmx.de>
10046
10047 * gnu/java/net/protocol/jar/Connection.java
10048 (hdrHash): Removed.
10049 (hdrVec): Removed.
10050 (gotHeaders): Removed.
10051 (getHeaderField): Removed.
10052 (getHeaderFields): Removed.
10053 (getHeaderFieldKey): Removed.
10054 (getKey): Removed.
10055 (getField): Removed.
10056 (getHeaders): Removed.
10057
10058 2004-01-24 Michael Koch <konqueror@gmx.de>
10059
10060 * Makefile.am: Added library version to gtk peer lib.
10061 * Makefile.in: Regenerated.
10062
10063 2004-01-24 Michael Koch <konqueror@gmx.de>
10064
10065 * java/util/zip/InflaterInputStream.java: Merged class documentation
10066 with classpath.
10067
10068 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10069
10070 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10071 header. For __powerpc64__ provide the default-signal.h definitions
10072 for now.
10073 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10074 instead of the dummy definitions.
10075 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10076 (powerpc64*-*): Remove with_libffi_default.
10077 Only add -mminimal-toc for 64-bit compilations.
10078 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10079 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10080 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10081 * configure: Rebuilt.
10082
10083 2004-01-23 Michael Koch <konqueror@gmx.de>
10084
10085 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10086
10087 2004-01-23 Michael Koch <konqueror@gmx.de>
10088
10089 * java/lang/VMClassLoader.java: Reworked imports.
10090
10091 2004-01-23 Michael Koch <konqueror@gmx.de>
10092
10093 * javax/swing/AbstractAction.java: Reformated.
10094
10095 2004-01-23 Michael Koch <konqueror@gmx.de>
10096
10097 * java/text/CollationElementIterator.java:
10098 (setText): New method.
10099
10100 2004-01-23 Michael Koch <konqueror@gmx.de>
10101
10102 * gnu/java/nio/FileLockImpl.java:
10103 Fixed filename in copyright.
10104 (released): Removed.
10105 (finalize): New method.
10106 * gnu/java/nio/natFileLockImpl.cc
10107 (releaseImpl): Implemented.
10108 * java/nio/channels/FileChannelImpl.java:
10109 Reworked imports.
10110 (lock): Implemented.
10111 (lockImpl): New method.
10112 (tryLock): Implemented.
10113 (tryLockImpl): New method.
10114 * java/nio/channels/natFileChannelImpl.cc
10115 (lockImpl): New method.
10116 (tryLockImpl): New method.
10117
10118 2004-01-23 Michael Koch <konqueror@gmx.de>
10119
10120 * java/io/FileDescriptor.java
10121 (lock): New method.
10122 (tryLock): New method.
10123 (unlock): New method.
10124 * java/io/natFileDescriptorEcos.cc
10125 (lock): New method.
10126 (tryLock): New method.
10127 (unlock): New method.
10128 * java/io/natFileDescriptorPosix.cc
10129 (lock): New method.
10130 (tryLock): New method.
10131 (unlock): New method.
10132 * java/io/natFileDescriptorWin32.cc
10133 (lock): New method.
10134 (tryLock): New method.
10135 (unlock): New method.
10136
10137 2004-01-23 Michael Koch <konqueror@gmx.de>
10138
10139 * java/io/FileDescriptor.java
10140 (sync): Moved around, added javadoc.
10141 (valid): Likewise.
10142 (open): Likewise.
10143 (write): Likewise.
10144 (close): Likewise.
10145 (setLength): Likewise.
10146 (seek): Likewise.
10147 (getLength): Likewise.
10148 (getFilePointer): Likewise.
10149 (read): Likewise.
10150 (available): Likewise.
10151 (finalize): Likewise.
10152
10153 2004-01-23 Michael Koch <konqueror@gmx.de>
10154
10155 * javax/swing/AbstractAction.java: Reformated.
10156 (getPropertyChangeListeners): New method.
10157 * javax/swing/AbstractCellEditor.java: Reformated.
10158 (getCellEditorListeners): New method.
10159 * javax/swing/DefaultListSelectionModel.java
10160 (listenerList): New field.
10161 (listeners): Removed.
10162 (get_listeners): Removed.
10163 (addListSelectionListener): Rewritten.
10164 (removeListSelectionListener): Rewritten.
10165 (getListSelectionListeners): New method.
10166 (getListeners): New method.
10167 * javax/swing/JComboBox.java: Imports reworked.
10168 (addActionListener): Implemented.
10169 (removeActionListener): Implemented.
10170 (addItemListener): Implemented.
10171 (removeItemListener): Implemented.
10172 (addPopupMenuListener): Implemented.
10173 (removePopupMenuListener): Implemented.
10174 (getActionListeners): New method.
10175 (getItemListeners): New method.
10176 (getPopupMenuListeners): New method.
10177
10178 2004-01-23 Michael Koch <konqueror@gmx.de>
10179
10180 * gnu/java/net/protocol/http/Connection.java
10181 (connect): Don't initialize bufferedOutputStream if not needed.
10182 (sendRequest): Set property for content length if content is present.
10183 Write content only if present.
10184 (getOutputStream): Check if already connected, dont connect,
10185 initalize bufferedOutputStream if needed.
10186
10187 2004-01-23 Michael Koch <konqueror@gmx.de>
10188
10189 * java/io/FileDescriptor.java
10190 (in, out, err): Added javadoc.
10191 (static): Merged loading code.
10192 (fd, position): Moved around.
10193
10194 2004-01-23 Michael Koch <konqueror@gmx.de>
10195
10196 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10197 New file.
10198
10199 2004-01-23 Michael Koch <konqueror@gmx.de>
10200
10201 * java/lang/Class.java,
10202 java/lang/Object.java,
10203 java/lang/Thread.java: Merged copyright with classpath.
10204
10205 2004-01-23 Michael Koch <konqueror@gmx.de>
10206
10207 * java/io/FileDescriptor.java: Merged copyright with classpath to
10208 start merging this class.
10209
10210 2004-01-22 Tom Tromey <tromey@redhat.com>
10211
10212 PR libgcj/13107:
10213 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10214 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10215 * testsuite/libjava.lang/pr13107_3.java: New file.
10216 * testsuite/libjava.lang/pr13107_3.out: New file.
10217 * testsuite/libjava.lang/pr13107_2.java: New file.
10218 * testsuite/libjava.lang/pr13107_2.out: New file.
10219 * testsuite/libjava.lang/pr13107.java: New file.
10220 * testsuite/libjava.lang/pr13107.out: New file.
10221 * verify.cc (jsr_ptrs): Removed.
10222 (entry_points): Likewise.
10223 (struct subr_info): Likewise.
10224 (struct subr_entry_info): Likewise.
10225 (type_val::unused_by_subroutine_type): Likewise.
10226 (type::merge): Don't handle unused_by_subroutine_type.
10227 (type::print): Likewise.
10228 (state::flags): Removed.
10229 (state::subroutine): Likewise.
10230 (state::seen_subrs): Likewise.
10231 (state::NO_STACK): Likewise.
10232 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10233 (state): Updated all methods.
10234 (state::clean_subrs): Removed.
10235 (state::state): Removed `ret_semantics' flag.
10236 (state::copy): Likewise.
10237 (state::add_subr): Removed.
10238 (state::enter_subroutine): Likewise.
10239 (type::set_return_address): New method.
10240 (handle_jsr_insn): Set return address on the type. Always
10241 invalidate PC after call.
10242 (check_nonrecursive_call): Removed.
10243 (~_Jv_BytecodeVerifier): Updated.
10244 (branch_prepass): Removed special handling of jsr.
10245 (note_branch_target): Likewise.
10246 (get_subroutine): Removed.
10247 (state::merge): Don't merge subroutines and don't handle
10248 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10249 (state::note_variable): Removed.
10250 (state::is_unmerged_ret_state): Likewise.
10251 (state::print): Updated.
10252 (set_variable): Likewise.
10253 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10254 and jsr_semantics arguments. Updated for new reverification
10255 list.
10256 (pop_jump): Rewrote.
10257 (construct_primitive_array_type): Updated.
10258 (state::next): Removed.
10259 (INVALID_STATE): New define.
10260 (state::INVALID): Removed.
10261 (state::NO_NEXT): New value.
10262 (state::pc, state::next): New fields.
10263 (state::get_pc): New method.
10264 (next_verify_pc): Removed.
10265 (next_verify_state): New field.
10266 (verify_instructions_0): Always check for falling off end.
10267 (linked): New type.
10268 (linked_utf8): Removed.
10269 (states): Changed type.
10270 (type::state_mergeable_p): New method.
10271 (state::state_mergeable_p): Likewise.
10272 (handle_ret_insn): Removed most code.
10273 (state::reverify): New method.
10274 (add_new_state): Likewise.
10275 (state::set_pc): Likewise.
10276
10277 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10278
10279 PR java/13733
10280 * testsuite/libjava.compile/PR13733.java: New file.
10281 * testsuite/libjava.compile/PR13733.xfail: New file.
10282
10283 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10284 Michael Koch <konqueror@gmx.de>
10285
10286 * javax/swing/table/DefaultTableCellRenderer.java
10287 (DefaultTableCellRenderer): Added javadoc for the class and for
10288 the constructor, Border instance, create an EmptyBorder.
10289 (UIResource): Removed the comment at the end of the class
10290 (setForeground): New method.
10291 (setBackground): New method.
10292 (updateUI): New method.
10293 (getTableCellRendererComponent): Rewritten with the help of
10294 dvholten and Stephane Meslin-Weber.
10295 (validate): New method.
10296 (repaint): New method.
10297 (firePropertyChange): New method.
10298 (setValue): New method.
10299
10300 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10301
10302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10303 (connectJObject): Replace printf calls with g_assert statements.
10304 Move property-notify-event signal connection to ...
10305 (connectSignals): Connect property-notify-event signal. Iterate
10306 through the vbox's children to find layout.
10307
10308 2004-01-22 Graydon Hoare <graydon@redhat.com>
10309
10310 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10311 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10312 Predicate static initialization on GtkToolkit.useGraphics2D().
10313 * java/awt/Component.java (processPaintEvent): Consume event.
10314 * javax/swing/AbstractButton.java: Reimplement, document.
10315 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10316 * javax/swing/JComponent.java (paint): Use double buffer.
10317 (listenerList): Enable member.
10318 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10319 * javax/swing/JToggleButton.java
10320 (JToggleButton): Modify model constructor.
10321 * javax/swing/SwingUtilities.java
10322 (layoutCompoundLabel): Adjust arithmetic.
10323 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10324 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10325 (getPreferredButtonSize): Include margins in calculation.
10326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10327 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10328 Receive up events from subordinate layout component.
10329
10330 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10331
10332 * java/awt/Component.java (show): Set visible to true before
10333 showing the peer.
10334
10335 2004-01-21 Kim Ho <kho@redhat.com>
10336
10337 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10338 Fix comments.
10339 (removeMenuBarPeer): Make package private.
10340 (setMenuBarPeer): Make package private.
10341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10342 (menubar_resize_cb): Mark attributes unused.
10343 (getMenuBarHeight): ditto.
10344
10345 2004-01-21 David Jee <djee@redhat.com>
10346
10347 * java/awt/Container.java
10348 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10349 dispatching MOUSE_ENTERED event twice. Translate the point for
10350 the mouse event target before dispatching the event.
10351
10352 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10353
10354 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10355 lib_org_w3c_dom_la_LDFLAGS): New.
10356 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10357 * Makefile.in: Rebuilt.
10358
10359 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10360
10361 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10362 Calculate proper offsets for heavyweight components packed in
10363 lightweight containers.
10364
10365 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10366 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10367 (native create): Add width parameter.
10368 (create): Calculate text entry width based on current font's
10369 metrics and number of columns. Set TextField's font if not
10370 already set. Call native create.
10371 (gtkEntryGetBorderWidth): New native method.
10372 (gtkEntryGetSize): Remove method.
10373 (getMinimumSize): Call minimumSize.
10374 (getPreferredSize): Call preferredSize.
10375 (minimumSize): Calculate minimum size based on backing
10376 GtkEntry's borders, font metrics and number of columns.
10377 (preferredSize): Likewise for preferred size.
10378 (get_border_width): New static function.
10379
10380 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10381 Override GtkWindowPeer's setResizable method to account for menu
10382 bar height when setting the frame's size.
10383
10384 2004-01-19 Matthias Klose <doko@debian.org>
10385
10386 * libtool-version: Increased `current' to 6.
10387
10388 2004-01-19 Kim Ho <kho@redhat.com>
10389
10390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10391 (connectJObject): Iterate through the vbox's children to find layout.
10392
10393 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10394
10395 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10396 isDispatchThread method to replace wrong test condition.
10397
10398 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10399
10400 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10401 events to the queue out of order by acquiring locks in the proper
10402 order and not by releasing one before acquiring the other.
10403
10404 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10405
10406 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10407 visible so that dialog can be reused.
10408
10409 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10410
10411 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10412 events may be handled by any queue in the stack.
10413
10414 2004-01-19 Kim Ho <kho@redhat.com>
10415
10416 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10417 MenuBarPeer parameter.
10418 (removeMenuBarPeer): New native method.
10419 (setMenuBar): Call remove if menu bar is null. Adjust insets
10420 appropriately.
10421 (postSizeAllocateEvent): New method. Called when menu bar size is
10422 allocated. Adjust insets and redo layout.
10423 (GtkFramePeer): Set menu bar during frame creation.
10424 (postConfigureEvent): Adjust position and size to accomodate
10425 menu bar.
10426 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10427 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10428 (addNotify): Create the peer if it doesn't exist and call addNotify
10429 for the menu's items.
10430 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10431 * java/awt/MenuItem.java (addNotify): Create the peer if it
10432 doesn't exist.
10433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10434 (removeMenuBarPeer): New method. Remove menu bar on the current
10435 frame.
10436 (setMenuBarPeer): Add the menu bar to the current frame and the
10437 callback for size-allocate events on the menu bar.
10438 (getMenuBarHeight): Add menu bar parameter.
10439 (menubar_resize_cb): New callback method for postSizeAllocate events.
10440
10441 Also: Fix indentation on last ChangeLog entry.
10442
10443 2004-01-16 Kim Ho <kho@redhat.com>
10444
10445 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10446 (gtkWidgetGetDimensions): Remove.
10447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10448 (gtkWidgetGetDimensions): Remove.
10449
10450 2004-01-16 Tom Tromey <tromey@redhat.com>
10451
10452 * java/awt/Container.java: Typo and indentation fixes.
10453
10454 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10455 * java/lang/natVMClassLoader.cc: ...here. New file.
10456 * Makefile.in: Rebuilt.
10457 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10458
10459 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10460
10461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10462 Discard GDK_ENTER_NOTIFY related to ungrabs.
10463
10464 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10465
10466 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10467 is called for an intermediate queue.
10468
10469 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10470
10471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10472 (window_property_changed_cb): Set id_set.
10473
10474 2004-01-16 Kim Ho <kho@redhat.com>
10475
10476 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10477 it is a FileDialog and has dimensions of 0 by 0, then the initial
10478 size is set to size request plus insets.
10479 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10480 (gtkWidgetGetDimensions): Override method.
10481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10482 (gtkWidgetGetDimensions): Override method. Returns size request plus
10483 insets.
10484
10485 2004-01-16 Andrew Haley <aph@redhat.com>
10486
10487 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10488 * sysdep/i386/locks.h: Likewise.
10489
10490 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10491
10492 * java/awt/EventDispatchThread.java (run): Stop running when
10493 interrupted.
10494 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10495 Reset the queue after transferring its contents.
10496 (push): Start a new dispatch thread if none is running.
10497
10498 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10499
10500 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10501 (doPolygon): set fill rule of polygon to
10502 WIND_EVEN_ODD by default.
10503
10504 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10505
10506 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10507 Implemented rendering hints related methods.
10508 (getDefaultHints): New helper method. Returns
10509 default rendering hints.
10510 (walkPath): changed to normalize path if
10511 the KEY_STROKE_CONTROL key is in "normalize" mode.
10512 (draw3DRect): changed coordinates of rectangle by +0.5
10513 if in "normalize" mode.
10514
10515 2004-01-15 Tom Tromey <tromey@redhat.com>
10516
10517 * Makefile.in: Rebuilt.
10518 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10519 (%.lo: %.java) Filter out StackTrace.lo.
10520
10521 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10522
10523 * configure.in: Add in AC_PREREQ(2.13)
10524 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10525 FIXME comment.
10526
10527 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10528 Tom Tromey <tromey@redhat.com>
10529
10530 PR libgcj/12001:
10531 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10532 array to superclass.
10533 (init): Changed interface; add URLs here.
10534 (initialize): New static method.
10535 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10536 (_Jv_RunMain): ... not here.
10537
10538 2004-01-14 Michael Koch <konqueror@gmx.de>
10539
10540 * java/text/MessageFormat.java:
10541 Added descriptions to exceptions.
10542 This fixes PR libgcj/2429.
10543
10544 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10545
10546 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10547 (push): Make sure push is performed at the top of the thread stack.
10548
10549 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10550
10551 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10552 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10553 (native create): Add width and height parameters. Set text
10554 view's size request according to new parameters.
10555 (create): Calculate text view size based on current font's
10556 metrics and number of rows and columns. Set TextArea's font if
10557 not already set. Call native create.
10558 (getMinimumSize): Call minimumSize.
10559 (getPreferredSize): Call preferredSize.
10560 (getHScrollbarHeight): New method.
10561 (getVScrollbarWidth): New method.
10562 (minimumSize): Calculate minimum size based on scrollbar
10563 visibility, scrollbar sizes, font metrics and number of rows and
10564 columns.
10565 (preferredSize): Likewise for preferred size.
10566 (gtkTextGetSize): Remove method.
10567
10568 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10569
10570 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10571 (initializeInsets): Remove method.
10572 (GtkComponentPeer): Initialize insets field. Remove call to
10573 initializeInsets.
10574 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10575 Remove method.
10576 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10577 Remove method.
10578 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10579 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10580 (latestInsets): Remove field.
10581 (native create): Add insets parameter. Call
10582 window_get_frame_extents. Set the window's default size and
10583 size request based on its frame extents.
10584 (create): Initialize insets.
10585 (postInsetsChangedEvent): New method.
10586 (postConfigureEvent): Remove parameters top, left, bottom,
10587 right. Remove insets-related logic.
10588 (connectJObject): Handle property-notify-event.
10589 (window_get_frame_extents, request_frame_extents,
10590 property_notify_predicate, window_property_changed_cb): New
10591 static functions.
10592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10593 (pre_event_handler): Remove insets-related logic for configure
10594 events.
10595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10596 Update postConfigureEvent signature.
10597
10598 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10599
10600 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10601 to handle Window "Closing" events.
10602
10603 2004-01-13  David Jee  <djee@redhat.com>
10604
10605 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10606 (setBackground): New method. Children with no explicitly-set
10607 background will be repainted with the parent container's new
10608 background color.
10609
10610 2004-01-13  David Jee  <djee@redhat.com>
10611
10612 * Makefile.am: Add BitwiseXORComposite.java.
10613 * Makefile.in: Regenerated.
10614 * gcj/Makefile.in: Regenerated.
10615 * include/Makefile.in: Regenerated.
10616 * testsuite/Makefile.in: Regenerated.
10617
10618 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10619
10620 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10621 not show modal dialogs twice and so that it allows showing a modal
10622 dialog from another modal dialog.
10623
10624 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10625
10626 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10627 and run secondary dispatch thread to process event queue while this
10628 thread is blocked.
10629
10630 2004-01-12 Graydon Hoare <graydon@redhat.com>
10631
10632 * gnu/java/awt/gtk/GdkGraphics2D.java
10633 (static): Check GtkToolkit before initializing static state.
10634 (Graphics2D): Don't construct transform with 0.5 unit offset.
10635
10636 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10637
10638 * gnu/java/awt/BitwiseXORComposite.java: Add.
10639 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10640 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10641 (BitwiseXORComposite): Remove inner class.
10642
10643 2004-01-11 Michael Koch <konqueror@gmx.de>
10644
10645 * gnu/java/lang/reflect/TypeSignature.java
10646 (getEncodingOfClass): Documentation fixed.
10647 (getClassForEncoding): Give class loader to Class.forName().
10648 Documentation fixed.
10649
10650 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10651
10652 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10653
10654 2004-01-11 Michael Koch <konqueror@gmx.de>
10655
10656 * javax/swing/undo/StateEditable.java
10657 (RCSID): Removed redundant modifiers.
10658
10659 2004-01-10 Michael Koch <konqueror@gmx.de>
10660
10661 * javax/print/attribute/EnumSyntax.java
10662 (getStringTable): Made protected.
10663 (getEnumValueTable): Likewise.
10664 * javax/print/attribute/standard/JobKOctetsProcessed.java
10665 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10666 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10667 (JobMediaSheetsCompleted): Made class final.
10668 * javax/print/attribute/standard/OutputDeviceAssigned.java
10669 (getName): Fixed typo.
10670 * javax/print/attribute/standard/RequestingUserName.java
10671 (serialVersionUID): Fixed value.
10672
10673 2004-01-10 Michael Koch <konqueror@gmx.de>
10674
10675 * javax/swing/plaf/basic/BasicButtonUI.java,
10676 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10677 javax/swing/plaf/basic/BasicListUI.java,
10678 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10679 javax/swing/plaf/basic/BasicPanelUI.java,
10680 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10681 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10682 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10683 javax/swing/plaf/basic/BasicViewportUI.java:
10684 Fixed import statements.
10685
10686 2004-01-10 Michael Koch <konqueror@gmx.de>
10687
10688 * gnu/java/awt/image/ImageDecoder.java
10689 (produce): Made public.
10690 * gnu/java/awt/peer/GLightweightPeer.java,
10691 gnu/java/awt/peer/gtk/GtkToolkit.java:
10692 Reformated.
10693
10694 2004-01-10 Michael Koch <konqueror@gmx.de>
10695
10696 * javax/swing/JRadioButtonMenuItem.java,
10697 javax/swing/JSeparator.java,
10698 javax/swing/JSplitPane.java,
10699 javax/swing/JTextPane.java,
10700 javax/swing/JToolBar.java,
10701 javax/swing/ListCellRenderer.java,
10702 javax/swing/ListModel.java,
10703 javax/swing/MenuElement.java,
10704 javax/swing/OverlayLayout.java,
10705 javax/swing/ProgressMonitor.java,
10706 javax/swing/ProgressMonitorInputStream.java,
10707 javax/swing/Renderer.java,
10708 javax/swing/RootPaneContainer.java,
10709 javax/swing/Scrollable.java,
10710 javax/swing/SingleSelectionModel.java,
10711 javax/swing/ToolTipManager.java,
10712 javax/swing/ViewportLayout.java,
10713 javax/swing/event/DocumentEvent.java,
10714 javax/swing/event/SwingPropertyChangeSupport.java,
10715 javax/swing/event/TreeSelectionEvent.java,
10716 javax/swing/event/UndoableEditEvent.java,
10717 javax/swing/text/AbstractDocument.java,
10718 javax/swing/text/AttributeSet.java,
10719 javax/swing/text/Caret.java,
10720 javax/swing/text/ComponentView.java,
10721 javax/swing/text/DefaultCaret.java,
10722 javax/swing/text/DefaultEditorKit.java,
10723 javax/swing/text/Document.java,
10724 javax/swing/text/EditorKit.java,
10725 javax/swing/text/GapContent.java,
10726 javax/swing/text/Keymap.java,
10727 javax/swing/text/MutableAttributeSet.java,
10728 javax/swing/text/PlainEditorKit.java,
10729 javax/swing/text/Segment.java,
10730 javax/swing/text/Style.java,
10731 javax/swing/text/StyledDocument.java,
10732 javax/swing/text/StyledEditorKit.java,
10733 javax/swing/text/TextAction.java,
10734 javax/swing/text/View.java: Fixed import statements.
10735
10736 2004-01-08 Graydon Hoare <graydon@redhat.com>
10737
10738 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10739 djee@redhat.com's recent inverse ordering of Container elements.
10740
10741 2004-01-09 Michael Koch <konqueror@gmx.de>
10742
10743 * gnu/java/lang/ArrayHelper.java
10744 (equalsArray): Removed.
10745
10746 2004-01-09 Andrew Haley <aph@redhat.com>
10747
10748 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10749 a Utf8Const field before looking at its class.
10750
10751 2004-01-09 Michael Koch <konqueror@gmx.de>
10752
10753 * javax/print/attribute/standard/DocumentName.java,
10754 javax/print/attribute/standard/JobHoldUntil.java,
10755 javax/print/attribute/standard/JobMessageFromOperator.java,
10756 javax/print/attribute/standard/JobName.java,
10757 javax/print/attribute/standard/JobOriginatingUserName.java,
10758 javax/print/attribute/standard/OutputDeviceAssigned.java,
10759 javax/print/attribute/standard/PrinterInfo.java,
10760 javax/print/attribute/standard/PrinterLocation.java,
10761 javax/print/attribute/standard/PrinterMakeAndModel.java,
10762 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10763 javax/print/attribute/standard/PrinterName.java,
10764 javax/print/attribute/standard/RequestingUserName.java: New files.
10765 * Makefile.am (javax_source_files): Added new files.
10766 * Makefile.in: Regenerated.
10767
10768 2004-01-09 Michael Koch <konqueror@gmx.de>
10769
10770 * javax/swing/AbstractAction.java,
10771 javax/swing/AbstractSet.java,
10772 javax/swing/Action.java,
10773 javax/swing/ActionMap.java,
10774 javax/swing/BoundedRangeModel.java,
10775 javax/swing/ButtonModel.java,
10776 javax/swing/CellEditor.java,
10777 javax/swing/CellRendererPane.java,
10778 javax/swing/ComboBoxEditor.java,
10779 javax/swing/DebugGraphics.java,
10780 javax/swing/DefaultCellEditor.java,
10781 javax/swing/DefaultCellRenderer.java,
10782 javax/swing/DefaultComboBoxModel.java,
10783 javax/swing/DefaultDesktopManager.java,
10784 javax/swing/DefaultFocusManager.java,
10785 javax/swing/DefaultListCellRenderer.java,
10786 javax/swing/Icon.java,
10787 javax/swing/JButton.java,
10788 javax/swing/JCheckBoxMenuItem.java,
10789 javax/swing/JDesktopPane.java,
10790 javax/swing/JEditorPane.java,
10791 javax/swing/JMenu.java,
10792 javax/swing/JPanel.java,
10793 javax/swing/JPasswordField.java,
10794 javax/swing/JPopupMenu.java,
10795 javax/swing/JProgressBar.java: Reworked imports.
10796
10797 2004-01-09 Michael Koch <konqueror@gmx.de>
10798
10799 * java/awt/geom/PathIterator.java
10800 (WIND_EVEN_ODD): Removed redundant modifiers.
10801 (WIND_NON_ZERO): Likewise.
10802 (SEG_MOVETO): Likewise.
10803 (SEG_LINETO): Likewise.
10804 (SEG_QUADTO): Likewise.
10805 (SEG_CUBICTO): Likewise.
10806 (SEG_CLOSE): Likewise.
10807 * java/awt/image/SinglePixelPackedSampleModel.java:
10808 Removed redundant semicolon.
10809 * java/io/ObjectInputStream.java
10810 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10811 * java/util/logging/Filter.java
10812 (isLoggable): Removed redundant modifier.
10813 * java/util/logging/LogManager.java:
10814 Removed redundant semicolon.
10815 * java/util/logging/XMLFormatter.java
10816 (format): Removed unused variable "key".
10817
10818 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10819
10820 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10821 New name for the former setFile native method.
10822 (setFile): New method.
10823 (setDirectory): Implemented.
10824 (connectSignals): New native method.
10825 (setFilenameFilter): Improve comment.
10826 (getGraphics): Comment.
10827 (gtkHideFileDialog): New method.
10828 (gtkDisposeFileDialog): New method.
10829 (gtkSetFilename): New method.
10830 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10831 for FileDialog for now.
10832 (hide): New method.
10833 (dispose): New method.
10834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10835 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10836 deprecated creation functions. Make dialog modal. Add it to the
10837 window group.
10838 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10839 function.
10840 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10841 Rename to...
10842 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10843 name.
10844 (window_closed): New function.
10845 (ok_clicked): New function.
10846 (cancel_clicked): New function.
10847
10848 2004-01-08 Michael Koch <konqueror@gmx.de>
10849
10850 * javax/swing/JLayeredPane.java: Revert changes to standard
10851 boilerplate, reworked imports.
10852
10853 2004-01-07 Tom Tromey <tromey@redhat.com>
10854
10855 PR libgcj/13439:
10856 * verify.cc (state::merge): Copy changed locals out of subroutine
10857 in NO_STACK case.
10858 (state::FLAG_CHANGED): New const.
10859 (state::FLAG_UNUSED): Likewise.
10860 (state::local_changed): Removed. Updated all users.
10861 (state::flags): New field.
10862 (state::merge): Added jsr_semantics argument, more logic.
10863 (push_jump_merge): Added jsr_semantics argument.
10864 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10865 merging through the jsr instruction.
10866
10867 2004-01-07 Tom Tromey <tromey@redhat.com>
10868
10869 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10870 backslash-newline.
10871
10872 2004-01-07 Graydon Hoare <graydon@redhat.com>
10873
10874 * java/awt/Container.java (LightweightDispatcher): Implement.
10875 (visitChild): Reuse graphics object.
10876 (dispatchEventImpl): Optionally dispatch to lightweight.
10877 (addNotifyContainerChildren): Build LightweightDispatcher.
10878
10879 2004-01-07 David Jee <djee@redhat.com>
10880
10881 * java/awt/Container.java
10882 (update): Clear only the clipped region, instead of clearing the
10883 entire Container.
10884 (visitChildren): Visit children in descending order.
10885
10886 2004-01-07 Michael Koch <konqueror@gmx.de>
10887
10888 * java/lang/reflect/Array.java: Merged documentation with classpath.
10889
10890 2004-01-07 Michael Koch <konqueror@gmx.de>
10891
10892 * java/text/CollationElementIterator.java
10893 (textIndex): Renamed from index.
10894 * java/text/CollationKey.java
10895 (collator): New member.
10896 (CollationKey): New argument for parent collator.
10897 (equals): Check for same collator, source string and key array.
10898 * java/text/RuleBasedCollator.java:
10899 Reformated.
10900 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10901 value.
10902 (getCollationElementIterator): Rewritten.
10903 (getCollationKey): Added new argument to CollationKey constructor.
10904
10905 2004-01-07 Michael Koch <konqueror@gmx.de>
10906
10907 * gnu/java/nio/DatagramChannelImpl.java
10908 (blocking): Removed.
10909 (DatagramChannelImpl): Call configureBlocking().
10910 (implConfigureBlocking): Dont initialize blocking.
10911 * gnu/java/nio/ServerSocketChannelImpl.java
10912 (blocking): Removed.
10913 (ServerSocketChannelImpl): Call configureBlocking().
10914 (implConfigureBlocking): Dont initialize blocking.
10915 * gnu/java/nio/SocketChannelImpl.java
10916 (blocking): Removed.
10917 (SocketChannelImpl): Call configureBlocking().
10918 (implConfigureBlocking): Dont initialize blocking.
10919 (connect): Use isBlocking().
10920 * java/nio/channels/spi/AbstractSelectableChannel.java
10921 (configureBlocking): Use blockingLock() instead of LOCK.
10922 Set blocking after successfully called implConfigureBlocking().
10923 (register): Use blockingLock() instead of LOCK.
10924
10925 2004-01-07 Michael Koch <konqueror@gmx.de>
10926
10927 * java/net/ServerSocket.java (isBound): Fixed documentation.
10928
10929 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10930
10931 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10932 (changeEvent): Create event object on demand.
10933 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10934 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10935 fireStateChanged): Re-written.
10936 * javax/swing/event/EventListenerList.java: Reformatted, document
10937 typical usage.
10938 (toString): Implemented.
10939 (getListeners): Re-written.
10940 (remove): Re-written.
10941 (add): Re-written.
10942 (NO_LISTENERS): New singleton field.
10943 (listenerList): Declare as transient; document.
10944 (serialVersionUID): Document.
10945 (getListenerCount(Class)): More efficient implementation,
10946 also accepts null argument. Improve Javadoc.
10947 (getListenerCount()): Remove unnecessary cast; docfix.
10948 * javax/swing/undo/UndoableEditSupport.java:
10949 Re-format, document.
10950 (UndoableEditSupport): Set realSource field. Improve documentation.
10951 (_postEdit): Iterate over cloned listener vector.
10952 (toString): Don't emit realSource.
10953 (beginUpdate, endUpdate): Support nested updates.
10954 (postEdit): Use compound edit if present.
10955
10956 2004-01-06 Graydon Hoare <graydon@redhat.com>
10957
10958 * java/awt/Container.java (swapComponents): Add forgotten
10959 function, required for JLayeredPane change.
10960
10961 2004-01-06 Michael Koch <konqueror@gmx.de>
10962
10963 * java/text/CollationElementIterator.java: Reformated.
10964 (CollationElementIterator): Changed order of arguments.
10965 * java/text/RuleBasedCollator.java
10966 (RuleBasedCollator): Merged class documentation.
10967 (CollationElement): Added documentation.
10968 (compare): Reformated, renamed arguments.
10969 (equals): Likewise.
10970 (getCollationElementIterator): Likewise.
10971 (getCollationKey): Likewise.
10972
10973 2004-01-06 Graydon Hoare <graydon@redhat.com>
10974
10975 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10976
10977 2004-01-06 Michael Koch <konqueror@gmx.de>
10978
10979 * gnu/java/net/protocol/file/Connection.java:
10980 Reformated copyright.
10981 (hdrHash): Removed.
10982 (hdrVec): Removed.
10983 (gotHeaders): Removed.
10984 (getHeaderField): Removed.
10985 (getHeaderField): Removed.
10986 (getHeaderFieldKey): Removed.
10987 (getKey): Removed.
10988 (getField): Removed.
10989 (getHeaders): Removed.
10990
10991 2004-01-06 Michael Koch <konqueror@gmx.de>
10992
10993 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10994 javax/print/attribute/standard/DateTimeAtCreation.java,
10995 javax/print/attribute/standard/DateTimeAtProcessing.java,
10996 javax/print/attribute/standard/JobImpressionsCompleted.java,
10997 javax/print/attribute/standard/JobKOctets.java,
10998 javax/print/attribute/standard/JobKOctetsProcessed.java,
10999 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11000 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11001 * Makefile.am (javax_source_files): Added new files.
11002 * Makefile.in: Regenerated.
11003
11004 2004-01-06 Michael Koch <konqueror@gmx.de>
11005
11006 * java/net/URLConnection.java
11007 (contentHandler): Removed.
11008 (locale): Removed.
11009 (getHeaderFields): Return an empty map instead of null.
11010 (getContent): Connect if needed, renamed "cType" to "type" and
11011 "contentHandler" to "ch" and made it a local variable.
11012 (getPermission): Don't use package in class name.
11013 (setDefaultRequestProperty): Fixed typo in documentation.
11014 (initializeDateFormats): Made locale a local variable.
11015
11016 2004-01-06 Michael Koch <konqueror@gmx.de>
11017
11018 * java/lang/Package.java
11019 (getPackage): Get the current class loader directly.
11020 * java/lang/SecurityManager.java
11021 (currentLoadedClass): Dont iterate over class contexts.
11022 (classLoaderDepth): Don't check class loaders if everything is allowed.
11023
11024 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11025
11026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11027 (pre_event_handler): Set all insets to 0 when a Configure event
11028 is received for a GtkPlug.
11029 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11030 Make handle long, not int.
11031 (EmbeddedWindow()): New constructor.
11032 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11033 long, not int.
11034 (setHandle): New method.
11035 (getHandle): Return long, not int.
11036 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11037 declaration.
11038 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11039 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11040 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11041 argument to GdkNativeWindow.
11042 (construct): New method.
11043 (embed): New method.
11044
11045 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11046 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11047 (create(int, int)): New method.
11048 (create): Call new create method.
11049 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11050 methods.
11051 (childResized): Remove native implementation. Implement in
11052 Java.
11053 (getHScrollbarHeight, getVScrollbarWidth): Call
11054 gtk_widget_size_request to get scrollbar dimensions.
11055 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11056 call getVScrollbarWidth and getHScrollbarHeight when vertical
11057 and horizontal scrollbars respectively are needed.
11058 (doLayout): Enlarge child if it is smaller than the viewport.
11059
11060 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11061
11062 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11063 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11064 argument as per spec.
11065
11066 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11067
11068 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11069 (insert): Ditto.
11070 (remove): Ditto. Also, Check for valid argument.
11071 (removeAll): Use peer interface method.
11072 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11073 native add function.
11074 (nativeRemove): New name for native remove function.
11075 (getHistory): New native function.
11076 (constructor): Generate ItemEvent.
11077 (add): Ditto, if selection is changed.
11078 (remove): Ditto, ditto.
11079 (removeAll): Add implementation.
11080 (handleEvent): Remove. Dead code.
11081 (choicePostItemEvent): Add comment.
11082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11083 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11084 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11085 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11086 comments and fix condition to change selection.
11087 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11088 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11089 remove all capability.
11090 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11091 (item_activate): Add cast to remove compiler warning.
11092
11093 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11094
11095 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11096 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11097 (getPreferredSize): Call preferredSize.
11098 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11099 (getMinimumSize): Call minimumSize.
11100 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11101 (gtkWidgetGetDimensions): Return the peer widget's current size
11102 request.
11103 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11104 natural size request.
11105
11106 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11107
11108 Thanks to Brian Gough <bjg@network-theory.com>
11109 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11110 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11111
11112 2004-01-04 Matthias Klose <doko@debian.org>
11113
11114 * aclocal.m4: Rebuilt using "aclocal -I .".
11115 * configure: Rebuilt.
11116
11117 2004-01-03 Per Bothner <per@bothner.com>
11118
11119 * java/util/Date.java (parse): Fix a number of problems.
11120 (skipParens): Remove no-longer-needed method.
11121