BigDecimal.java, [...]: Reorganized import statements, removed redundant and reorgani...
[gcc.git] / libjava / ChangeLog
1 2004-10-16 Michael Koch <konqueror@gmx.de>
2
3 * java/math/BigDecimal.java, java/math/BigInteger.java:
4 Reorganized import statements, removed redundant and
5 reorganized modifiers.
6
7 2004-10-16 Michael Koch <konqueror@gmx.de>
8
9 * gnu/java/beans/ExplicitBeanInfo.java:
10 Explicitely import java.awt.Image.
11 (getIcon): Fixed off-by-one error.
12
13 2004-10-15 Andrew Haley <aph@redhat.com>
14
15 * Makefile.am (nat_files, xlib_nat_files): New.
16 * Makefile.in: Regenerate.
17
18 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
19
20 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
21 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
22
23 2004-10-13 Andrew Haley <aph@redhat.com>
24
25 * interpret.cc (_Jv_InterpMethod::run): Initialize
26 _Jv_StartOfInterpreter.
27 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
28 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
29 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
30 _Unwind_FindEnclosingFunction to discover whether PC is within the
31 interpreter.
32
33 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
34
35 PR libgcj/17903:
36 * testsuite/libjava.lang/md5test.java: New file.
37 * testsuite/libjava.lang/md5test.out: Likewise.
38 * testsuite/libjava.lang/shatest.java: Likewise.
39 * testsuite/libjava.lang/shatest.out: Likewise.
40
41 2004-10-11 Richard Henderson <rth@redhat.com>
42
43 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
44 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
45
46 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
47
48 * java/util/Calendar.java (set): Invalidate DST_OFFSET
49 field as a DST boundary may have been crossed.
50 * java/util/GregorianCalendar.java (add): Throw
51 IllegalArgumentException on attempt to add to DST_OFFSET or
52 ZONE_OFFSET fields. Update javadoc.
53
54 2004-10-09 Michael Koch <konqueror@gmx.de>
55
56 * java/io/CharArrayWriter.java
57 (resize): Removed redundant 'final' modifier.
58 * java/io/DataInputStream.java
59 (readFully): Throw IndexOutOfBoundsException of len < 0.
60 * java/io/FileDescriptor.java,
61 java/io/FileInputStream.java,
62 java/io/FileOutputStream.java,
63 java/io/ObjectOutputStream.java,
64 java/io/ObjectStreamClass.java,
65 java/io/PipedInputStream.java,
66 java/io/RandomAccessFile.java:
67 Reorganized import statements.
68
69 2004-10-09 Michael Koch <konqueror@gmx.de>
70
71 * gnu/java/rmi/rmic/RMIC.java,
72 gnu/java/rmi/server/RMIHashes.java,
73 gnu/java/rmi/server/RMIObjectInputStream.java,
74 gnu/java/rmi/server/UnicastConnection.java,
75 gnu/java/rmi/server/UnicastConnectionManager.java,
76 gnu/java/rmi/server/UnicastRemoteCall.java,
77 gnu/java/rmi/server/UnicastServerRef.java:
78 Reworked import statements and fixed file headers.
79
80 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
81
82 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
83 emission rule.
84 * configure: Rebuilt.
85
86 2004-09-30 Tom Tromey <tromey@redhat.com>
87
88 * java/text/MessageFormat.java (Field): Constructor now
89 protected.
90
91 2004-09-30 Tom Tromey <tromey@redhat.com>
92
93 * javax/crypto/MacSpi.java: Fixed typo.
94
95 2004-09-30 Michael Koch <konqueror@gmx.de>
96
97 * java/net/InetAddress.java: Reformatted.
98 (loopback): Initialize with Inet4Address object.
99 (static): Initialize ANY_IF with Inet4Address object.
100 (InetAddress): Removed unused package-private constructor.
101
102 2004-09-30 Michael Koch <konqueror@gmx.de>
103
104 * java/beans/Beans.java,
105 java/beans/EventHandler.java,
106 java/beans/EventSetDescriptor.java,
107 java/beans/Introspector.java,
108 java/beans/PropertyEditorManager.java,
109 java/beans/beancontext/BeanContext.java,
110 java/beans/beancontext/BeanContextChild.java,
111 java/beans/beancontext/BeanContextChildSupport.java,
112 java/beans/beancontext/BeanContextMembershipEvent.java:
113 Reordered import statements and removed redundant modifiers.
114
115 2004-09-29 Tom Tromey <tromey@redhat.com>
116
117 PR libgcj/17715:
118 * Makefile.in: Rebuilt.
119 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
120 files.
121 (all_property_files): New macro.
122
123 * Makefile.in: Rebuilt.
124 * Makefile.am (ordinary_java_source_files): Re-sorted.
125 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
126
127 2004-09-28 Tom Tromey <tromey@redhat.com>
128
129 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
130
131 PR libgcj/17222:
132 * Makefile.am (libgcj.la): Restored.
133 * Makefile.in: Rebuilt.
134
135 2004-09-28 Michael Koch <konqueror@gmx.de>
136
137 * java/net/URLConnection.java: Reformatted.
138 * java/net/URLClassLoader.java: Reformatted.
139 (getContent): Reordered return of content.
140 (getContentHandler): Don't check for null explicitely.
141
142 2004-09-27 Michael Koch <konqueror@gmx.de>
143
144 * java/io/BufferedInputStream.java
145 (BufferedInputStream): Added Jeroen Frijters to authors.
146 (count): Don't explicitely initialize with default value.
147 (pos): Likewise.
148 (marklimit): Likewise.
149 (read): Changed boolean expression to match GNU classpath' version.
150 (reset): Add proper message to exception.
151 (skip): Check for closed stream.
152 (refill): Likewise.
153
154 2004-09-26 Per Bothner <per@bothner.com>
155
156 * prims.cc (unblock_signal): Annotate signum with __unused__ to
157 avoid warnings in the non-POSIX_VERSION case.
158 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
159 so place it inside an #if block.
160 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
161 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
162 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
163 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
164
165 2004-09-26 Per Bothner <per@bothner.com>
166
167 * prims.cc (process_gcj_properties): Optimization.
168
169 2004-09-26 Per Bothner <per@bothner.com>
170
171 * java/util/Collections.java (sort): Copy from array in forwards
172 order, rather than reverse order which may be much less efficient.
173
174 2004-09-26 Mark Wielaard <mark@klomp.org>
175
176 * java/lang/System.java (properties): Make package private.
177 * java/lang/Throwable.java (StaticData.nl): Initialize through
178 directly accessing System.properties.getProperty().
179
180 * java/lang/Throwable.java (nl): Remove static field.
181 (StaticData): New private static inner class.
182 (stackTraceStringBuffer): Use StaticData.nl.
183
184 2004-09-26 Casey Marshall <csm@gnu.org>
185
186 * java/security/ProtectionDomain.java
187 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
188 `true'.
189
190 * java/security/SecureClassLoader.java
191 (defineClass): make protection domain dynamically bound.
192 (getPermissions): call `getCurrentPolicy' to avoid permission
193 check.
194
195 2004-09-25 Mark Wielaard <mark@klomp.org>
196
197 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
198 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
199 * Makefile.in: Regenerated.
200
201 * gcj/javaprims.h: Regenerated.
202
203 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
204 (getDefaultTimeZone): Make package private. Check that GMToffset
205 contains at least one digit.
206 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
207 VMTimeZone.
208 * util/VMTimeZone.java: New file with above methods.
209
210 * java/util/natTimeZone.cc: Removed (renamed).
211 * java/util/natVMTimeZone.cc: Added (renamed).
212
213 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
214
215 * java/util/TimeZone.java
216 (getDefaultTimeZone): Fixed test to distinguish between hours and
217 minutes in specified timezone.
218
219 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
220
221 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
222 handling of default package. (generate): Removed confused comments
223 and code about making Method and Field accessible.
224
225 2004-09-25 Tom Tromey <tromey@redhat.com>
226
227 PR java/17500:
228 * testsuite/libjava.compile/pr17500.java: New file.
229
230 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
231 Mark Wielaard <mark@klomp.org>
232
233 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
234 * gnu/regexp/RETokenLookAhead.java: New file.
235
236 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
237 * Makefile.in: Regenerated.
238
239 2004-09-25 Michael Koch <konqueror@gmx.de>
240
241 * java/io/ObjectStreamField.java:
242 Removed unused import statement.
243
244 2004-09-24 Tom Tromey <tromey@redhat.com>
245
246 PR java/15656:
247 * testsuite/libjava.compile/pr15656.xfail: New file.
248 * testsuite/libjava.compile/pr15656.java: new file.
249
250 PR java/16789:
251 * testsuite/libjava.lang/pr16789.out: New file.
252 * testsuite/libjava.lang/pr16789.java: New file.
253
254 2004-09-24 Andrew Haley <aph@redhat.com>
255
256 PR java/16927
257 * testsuite/libjava.compile/AssertBug.java: New file.
258
259 2004-09-24 Casey Marshall <csm@gnu.org>
260
261 * java/util/PropertyPermissionCollection.java
262 (implies): avoid infinite loop.
263
264 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
265
266 * javax/security/auth/PrivateCredentialPermission.java
267 (PrivateCredentialPermission): added serialization UID
268
269
270 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
271
272 * gnu/java/rmi/server/UnicastServer.java
273 (incomingMessageCall): Added code to handle Errors.
274 * gnu/java/rmi/server/UnicastServerRef.java
275 (incomingMessageCall): Added code to handle Errors.
276
277
278 2004-09-24 Tom Tromey <tromey@redhat.com>
279
280 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
281 (definedPackages): Likewise.
282
283 2004-09-24 Michael Koch <konqueror@gmx.de>
284
285 * java/io/ObjectInputStream.java:
286 Re-ordered imports.
287
288 2004-09-24 Casey Marshall <csm@gnu.org>
289
290 * java/io/ObjectInputStream.java (callReadMethod): re-throw
291 `ClassNotFoundException'.
292
293 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
294
295 * java/io/ObjectInputStream.java (readObject): Delegate instantation
296 of Externalizable classes to ObjectStreamClass.
297 * java/io/ObjectStreamClass.java (newInstance): New method to
298 instantiate Externalizable (while ignoring the accessibility of
299 the constructor). (constructor): New field to cache the constructor.
300
301 2004-09-24 Mark Wielaard <mark@klomp.org>
302
303 * java/net/URL.java (systemClassLoader): New static field.
304 (getURLStreamHandler): Always use system/application classloader
305 for finding URLStreamhandler. Remove unecessary instanceof checks.
306
307 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
308
309 * java/net/URL.java
310 (set): This method now matches the behaviour of the JDK.
311 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
312
313 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
314
315 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
316
317 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
318
319 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
320 Don't set authority if host isn't specified.
321
322 2004-09-24 Michael Koch <konqueror@gmx.de>
323
324 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
325 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
326 * gnu/java/nio/VMPipe.java,
327 gnu/java/nio/VMSelector.java:
328 New files.
329 * gnu/java/nio/natPipeImplEcos.cc,
330 gnu/java/nio/natPipeImplPosix.cc,
331 gnu/java/nio/natPipeImplWin32.cc:
332 Ported to VMPipe.
333 * gnu/java/nio/natSelectorImplEcos.cc,
334 gnu/java/nio/natSelectorImplPosix.cc,
335 gnu/java/nio/natSelectorImplWin32.cc:
336 Ported to VMSelector.
337 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
338 gnu/java/nio/VMSelector.java.
339 * Makefile.in: Regenerated.
340
341 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
342
343 * java/lang/StackTraceElement.java
344 (className): Renamed field to declaringClass to be compatible
345 with Sun serialization format.
346
347 2004-09-23 Michael Koch <konqueror@gmx.de>
348
349 * java/applet/AppletContext.java,
350 java/applet/Applet.java,
351 java/applet/AppletStub.java,
352 java/applet/AudioClip.java:
353 Jalopied and checkstyle clean.
354
355 2004-09-23 Mark Wielaard <mark@klomp.org>
356
357 * java/util/Collections.java
358 (binarySearch(List, Object, Comparator)): Explicitly
359 reverse direction in list iterator.
360 (rotate): Just return when list is empty.
361
362 2004-09-23 Tom Tromey <tromey@redhat.com>
363
364 PR java/17329:
365 * testsuite/libjava.compile/pr17329.java: New file.
366
367 PR java/17380:
368 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
369 9.2-implicit-7.
370
371 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
372
373 * Makefile.am: Run aclocal with -I ../config
374 * acinclude.m4: Delete macros picked up from ../config and tidy.
375 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
376 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
377 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
378
379 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
380
381 * aclocal.m4: Regenerate with aclocal 1.9.2.
382 * configure: Regenerate.
383 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
384 * include/Makefile.in, testsuite/Makefile.in: Likewise.
385
386 2004-09-22 David Daney <ddaney@avtrex.com>
387
388 PR libgcj/17623
389 * java/net/URL.java (URL): Copy userInfo from context.
390 (getUserInfo): Return cached userInfo if present.
391
392 2004-09-22 Tom Tromey <tromey@redhat.com>
393
394 PR libgcj/6182:
395 * mauve-libgcj: Enable java.lang.Character tests.
396
397 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
398
399 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
400 dependencies.
401 (lib_org_ietf_jgss_la_LIBADD): Likewise.
402 * Makefile.in: Regenerated.
403
404 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
405
406 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
407 * configure: Regenerate.
408 * include/config.h.in: Likewise.
409 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
411 macro to gtkpeer.h.
412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
413 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
414 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
415 architectures.
416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
417 Likewise.
418
419 2004-09-22 Tom Tromey <tromey@redhat.com>
420
421 PR libgcj/14446:
422 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
423 when comparing CRCs.
424 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
425 field.
426 (read()): New overload.
427
428 2004-09-21 Tom Tromey <tromey@redhat.com>
429
430 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
431 Indentation fix.
432
433 2004-09-21 Michael Koch <konqueror@gmx.de>
434
435 * java/net/Socket.java
436 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
437
438 2004-09-21 Casey Marshall <csm@gnu.org>
439
440 * javax/crypto/MacSpi.java (clone): Provide meaningful
441 implementation.
442
443 2004-09-21 Tom Tromey <tromey@redhat.com>
444
445 PR libgcj/16869:
446 * Makefile.in: Rebuilt.
447 * Makefile.am (MOSTLYCLEANFILES): Removed.
448 (mostlyclean-local): Remove header files.
449
450 2004-09-21 Casey Marshall <csm@gnu.org>
451
452 * java/security/cert/X509CRLSelector.java:
453 (match): remove unreachable try-catch clauses.
454 Reported by: Dalibor Topic <robilad@kaffe.org>
455
456 2004-09-21 Mark Wielaard <mark@klomp.org>
457
458 * java/util/TreeMap.java (root): Don't initialize.
459 (TreeMap(Comparator)): Call fabricateTree(0).
460 (fabricateTree): Initialize root and size when count is 0.
461
462 2004-09-21 Sven de Marothy <sven@physto.se>
463
464 * java/nio/ByteBuffer.java (hashCode): Implemented.
465 * java/nio/CharBuffer.java: Likewise.
466 * java/nio/DoubleBuffer.java: Likewise.
467 * java/nio/FloatBuffer.java: Likewise.
468 * java/nio/LongBuffer.java: Likewise.
469 * java/nio/IntBuffer.java: Likewise.
470 * java/nio/ShortBuffer.java: Likewise.
471
472 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
473
474 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
475
476 2004-09-21 Michael Koch <konqueror@gmx.de>
477
478 * javax/net/ssl/SSLServerSocket.java:
479 Removed comment about "Do not edit this file, it's generated.".
480
481 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
482
483 Import the big Crypto/Jessie/Security merge from Classpath.
484
485 * Makefile.am: Add imported files.
486 * Makefile.in: Regenerate.
487
488 2004-08-14 Casey Marshall <csm@gnu.org>
489
490 The Big Crypto Merge of 2004.
491
492 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
493 Crypto's version.
494
495 Files imported from GNU Crypto.
496 * javax/crypto/BadPaddingException.java
497 * javax/crypto/Cipher.java
498 * javax/crypto/CipherInputStream.java
499 * javax/crypto/CipherOutputStream.java
500 * javax/crypto/CipherSpi.java
501 * javax/crypto/EncryptedPrivateKeyInfo.java
502 * javax/crypto/ExemptionMechanism.java
503 * javax/crypto/ExemptionMechanismException.java
504 * javax/crypto/ExemptionMechanismSpi.java
505 * javax/crypto/IllegalBlockSizeException.java
506 * javax/crypto/KeyAgreement.java
507 * javax/crypto/KeyAgreementSpi.java
508 * javax/crypto/KeyGenerator.java
509 * javax/crypto/KeyGeneratorSpi.java
510 * javax/crypto/Mac.java
511 * javax/crypto/MacSpi.java
512 * javax/crypto/Makefile.am
513 * javax/crypto/NoSuchPaddingException.java
514 * javax/crypto/NullCipher.java
515 * javax/crypto/NullCipherImpl.java
516 * javax/crypto/SealedObject.java
517 * javax/crypto/SecretKey.java
518 * javax/crypto/SecretKeyFactory.java
519 * javax/crypto/SecretKeyFactorySpi.java
520 * javax/crypto/ShortBufferException.java
521 * javax/crypto/interfaces/DHKey.java
522 * javax/crypto/interfaces/DHPrivateKey.java
523 * javax/crypto/interfaces/DHPublicKey.java
524 * javax/crypto/interfaces/PBEKey.java
525 * javax/crypto/spec/DESKeySpec.java
526 * javax/crypto/spec/DESedeKeySpec.java
527 * javax/crypto/spec/DHGenParameterSpec.java
528 * javax/crypto/spec/DHParameterSpec.java
529 * javax/crypto/spec/DHPrivateKeySpec.java
530 * javax/crypto/spec/DHPublicKeySpec.java
531 * javax/crypto/spec/IvParameterSpec.java
532 * javax/crypto/spec/PBEKeySpec.java
533 * javax/crypto/spec/PBEParameterSpec.java
534 * javax/crypto/spec/RC2ParameterSpec.java
535 * javax/crypto/spec/RC5ParameterSpec.java
536 * javax/crypto/spec/SecretKeySpec.java
537 * javax/security/auth/AuthPermission.java
538 * javax/security/auth/DestroyFailedException.java
539 * javax/security/auth/Destroyable.java
540 * javax/security/auth/Policy.java
541 * javax/security/auth/PrivateCredentialPermission.java
542 * javax/security/auth/RefreshFailedException.java
543 * javax/security/auth/Refreshable.java
544 * javax/security/auth/Subject.java
545 * javax/security/auth/SubjectDomainCombiner.java
546 * javax/security/auth/callback/Callback.java
547 * javax/security/auth/callback/CallbackHandler.java
548 * javax/security/auth/callback/ChoiceCallback.java
549 * javax/security/auth/callback/ConfirmationCallback.java
550 * javax/security/auth/callback/LanguageCallback.java
551 * javax/security/auth/callback/NameCallback.java
552 * javax/security/auth/callback/PasswordCallback.java
553 * javax/security/auth/callback/TextInputCallback.java
554 * javax/security/auth/callback/TextOutputCallback.java
555 * javax/security/auth/callback/UnsupportedCallbackException.java
556 * javax/security/auth/login/AccountExpiredException.java
557 * javax/security/auth/login/AppConfigurationEntry.java
558 * javax/security/auth/login/Configuration.java
559 * javax/security/auth/login/CredentialExpiredException.java
560 * javax/security/auth/login/FailedLoginException.java
561 * javax/security/auth/login/LoginContext.java
562 * javax/security/auth/login/LoginException.java
563 * javax/security/auth/login/NullConfiguration.java
564 * javax/security/auth/x500/X500PrivateCredential.java
565 * javax/security/sasl/AuthenticationException.java
566 * javax/security/sasl/AuthorizeCallback.java
567 * javax/security/sasl/RealmCallback.java
568 * javax/security/sasl/RealmChoiceCallback.java
569 * javax/security/sasl/Sasl.java
570 * javax/security/sasl/SaslClient.java
571 * javax/security/sasl/SaslClientFactory.java
572 * javax/security/sasl/SaslException.java
573 * javax/security/sasl/SaslServer.java
574 * javax/security/sasl/SaslServerFactory.java
575 * org/ietf/jgss/ChannelBinding.java
576 * org/ietf/jgss/GSSContext.java
577 * org/ietf/jgss/GSSCredential.java
578 * org/ietf/jgss/GSSException.java
579 * org/ietf/jgss/GSSManager.java
580 * org/ietf/jgss/GSSName.java
581 * org/ietf/jgss/MessageProp.java
582 * org/ietf/jgss/Oid.java
583 * org/ietf/jgss/MessagesBundle.properties
584
585 Files imported from Jessie <http://www.nongnu.org/jessie/>
586 * javax/net/ServerSocketFactory.java
587 * javax/net/SocketFactory.java
588 * javax/net/VanillaServerSocketFactory.java
589 * javax/net/VanillaSocketFactory.java
590 * javax/net/ssl/HandshakeCompletedEvent.java
591 * javax/net/ssl/HandshakeCompletedListener.java
592 * javax/net/ssl/HostnameVerifier.java
593 * javax/net/ssl/HttpsURLConnection.java
594 * javax/net/ssl/KeyManager.java
595 * javax/net/ssl/KeyManagerFactory.java
596 * javax/net/ssl/KeyManagerFactorySpi.java
597 * javax/net/ssl/ManagerFactoryParameters.java
598 * javax/net/ssl/SSLContext.java
599 * javax/net/ssl/SSLContextSpi.java
600 * javax/net/ssl/SSLException.java
601 * javax/net/ssl/SSLHandshakeException.java
602 * javax/net/ssl/SSLKeyException.java
603 * javax/net/ssl/SSLPeerUnverifiedException.java
604 * javax/net/ssl/SSLPermission.java
605 * javax/net/ssl/SSLProtocolException.java
606 * javax/net/ssl/SSLServerSocket.java
607 * javax/net/ssl/SSLServerSocketFactory.java
608 * javax/net/ssl/SSLSession.java
609 * javax/net/ssl/SSLSessionBindingEvent.java
610 * javax/net/ssl/SSLSessionBindingListener.java
611 * javax/net/ssl/SSLSessionContext.java
612 * javax/net/ssl/SSLSocket.java
613 * javax/net/ssl/SSLSocketFactory.java
614 * javax/net/ssl/TrivialHostnameVerifier.java
615 * javax/net/ssl/TrustManager.java
616 * javax/net/ssl/TrustManagerFactory.java
617 * javax/net/ssl/TrustManagerFactorySpi.java
618 * javax/net/ssl/X509KeyManager.java
619 * javax/net/ssl/X509TrustManager.java
620 * javax/security/cert/Certificate.java
621 * javax/security/cert/CertificateEncodingException.java
622 * javax/security/cert/CertificateException.java
623 * javax/security/cert/CertificateExpiredException.java
624 * javax/security/cert/CertificateNotYetValidException.java
625 * javax/security/cert/CertificateParsingException.java
626 * javax/security/cert/X509CertBridge.java
627 * javax/security/cert/X509Certificate.java
628
629 2004-08-20 Casey Marshall <csm@gnu.org>
630
631 * java/security/cert/X509CRLSelector.java: New file.
632 * java/security/cert/X509CertSelector.java: New file.
633
634 2004-09-15 Michael Koch <konqueror@gmx.de>
635
636 * gnu/java/net/protocol/file/Handler.java
637 (openConnection): Don't throw exception if host part for file: URI is
638 present. setURL() keeps file: protocol if ftp: protocol is not
639 available.
640
641 2004-09-14 Richard Henderson <rth@redhat.com>
642
643 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
644 value of sigsuspend.
645
646 2004-09-12 Tom Tromey <tromey@redhat.com>
647
648 * javax/naming/CompoundName.java (CompoundName): Don't check for
649 separator in "flat" case.
650
651 2004-09-12 Michael Koch <konqueror@gmx.de>
652
653 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
654 AM_CONFIG_HEADER by AC_CONFIG_FILES.
655 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
656 Regenerate.
657
658 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
659
660 PR libgcj/14751
661 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
662 handle in newly-allocated _Jv_Thread_t.
663 (_Jv_ThreadDestroyData): Close thread handle.
664 (_Jv_ThreadStart): Remove obsolete comment.
665 Store handle of newly-created thread in _Jv_Thread_t.
666 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
667 before including <windows.h>
668 #define _Jv_HaveCondDestroy
669
670 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
671
672 * java/lang/natThread.cc (finalize_native): Destroy
673 join conditional variable and mutex if these destroy
674 operations are supported.
675
676 2004-09-10 Dalibor Topic <robilad@kaffe.org>
677
678 * gnu/java/net/protocol/file/Connection.java (permission): New field.
679 (DEFAULT_PERMISSION): New constant.
680 (Connection): Create a FilePermission with permission to read file.
681
682 2004-09-10 Michael Koch <konqueror@gmx.de>
683
684 * gnu/java/net/protocol/file/Connection.java
685 (getLastModified): Moved around.
686 (getPermission): Return stored permission.
687
688 2004-09-10 Michael Koch <konqueror@gmx.de>
689
690 * Makefile.in: Regenerate.
691
692 2004-09-10 Michael Koch <konqueror@gmx.de>
693
694 * Makefile.am: Reverted accidently commited stuff.
695 * configure: Regenerated.
696
697 2004-09-10 Michael Koch <konqueror@gmx.de>
698
699 * gnu/java/net/protocol/file/Connection.java
700 (lineSeparator): Made non-final.
701 (static): Removed.
702 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
703 instead of StringBufferInputStream.
704
705 2004-09-10 Michael Koch <konqueror@gmx.de>
706
707 * gnu/java/net/protocol/file/Connection.java
708 (connect): Handle file is a directory case.
709
710 2004-09-10 Michael Koch <konqueror@gmx.de>
711
712 * Makefile.am
713 (xlib_includes): Removed.
714 (AM_CPPFLAGS): Renamed from INCLUDES.
715 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
716 * Makefile.in: Regenerate.
717
718 2004-09-09 Michael Koch <konqueror@gmx.de>
719
720 * java/security/ProtectionDomain.java,
721 * java/util/PropertyPermissionCollection.java:
722 Fixed javadocs all over.
723
724 2004-09-09 Sven de Marothy <sven@physto.se>
725
726 Patch from David Gilbert <david.gilbert@object-refinery.com>
727 * java/lang/Comparable.java: Fixed documentation errors.
728 * java/util/Arrays.java: Likewise.
729
730 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
731
732 * java/net/Inet4Address.java
733 (Inet4Address): Added comment to serialization UID.
734 * java/text/Format.java
735 (Format): Added comment to serialization UID.
736
737 2004-09-09 Michael Koch <konqueror@gmx.de>
738
739 * java/lang/System.java
740 (err): Fixed javadoci to point to setErr() and not setOut().
741
742 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
743
744 (normalizePath): Added special case for windows systems.
745
746 2004-09-09 Michael Koch <konqueror@gmx.de>
747
748 * java/io/File.java
749 (dupSeparator): Made private.
750 (File(URI)): New constructor.
751 (getParentFile): Fixed javadoc.
752 (createTempFile): Reformated.
753 (setReadOnly): Added comment.
754 (deleteOnExit): Merged javadoc with classpath version.
755
756 2004-09-09 Michael Koch <konqueror@gmx.de>
757
758 * Makefile.am: Don't try to include deps.mk.
759 * Makefile.in: Regenerated.
760
761 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
762
763 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
764 .d files.
765 * configure: Rebuilt.
766
767 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
768
769 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
770 Changed pfn from static local to local.
771
772 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
773 H.J. Lu <hongjiu.lu@intel.com>
774
775 PR libgcj/17290
776 * Makefile.am (GCJCOMPILE): Remove definition.
777 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
778 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
779 * Makefile.in: Rebuilt.
780
781 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
782
783 * configure.ac (enable-gc-debug): Update help for new syntax.
784 * configure: Regenerate.
785
786 2004-09-03 David Daney <ddaney@avtrex.com>
787
788 * include/mips-signal.h: Update copyright.
789
790 2004-09-03 David Daney <ddaney@avtrex.com>
791
792 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
793 * include/mips-signal.h: Added HANDLE_FPE support.
794
795 2004-08-31 Michael Koch <konqueror@gmx.de>
796
797 * javax/swing/plaf/basic/BasicTextAreaUI.java
798 (create): New method.
799 * javax/swing/text/DefaultHighlighter.java
800 (DefaultHighlightPainter.debugRect): Removed.
801 * javax/swing/text/StyleContext.java
802 (DEFAULT_STYLE): New field.
803
804 2004-08-31 Michael Koch <konqueror@gmx.de>
805
806 * javax/swing/plaf/basic/BasicLookAndFeel.java
807 (initComponentDefaults): Add keybindings for selection.backward and
808 selection-forward for text components.
809 * javax/swing/plaf/basic/BasicTextUI.java
810 (paintSafely): Paint highlight only when something is actually
811 selected.
812 * javax/swing/text/DefaultCaret.java
813 (handleHighlight): New method.
814 (setSelectionVisible): Don't do anything when nothing changes.
815 Handle highlight.
816 (moveDot): Reimplemented. Handle highlight.
817 (setDot): Set mark too. Handle highlight.
818 (getSelectionPainter): New method.
819 * javax/swing/text/DefaultEditorKit.java
820 (defaultActions): Added new actions for text selection.
821 * javax/swing/text/DefaultHighlighter.java
822 (DefaultHighlightPainter): New inner class.
823 (DefaultPainter): New field.
824 (paint): Implemented.
825 * javax/swing/text/PlainView.java
826 (paint): Don't draw background here again.
827 * javax/swing/text/Utilities.java
828 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
829 (drawTabbedText): Likewise.
830
831 2004-08-31 Graydon Hoare <graydon@redhat.com>
832
833 * javax/swing/JComponent.java
834 (resetKeyboardActions): Add null checks.
835
836 2004-08-31 Graydon Hoare <graydon@redhat.com>
837
838 * javax/swing/DefaultButtonModel.java:
839 Skip group notification when no group is set.
840
841 2004-08-31 Graydon Hoare <graydon@redhat.com>
842
843 * javax/swing/JColorChooser.java:
844 Make a couple inner classes static, for jikes.
845
846 2004-08-31 Michael Koch <konqueror@gmx.de>
847
848 * javax/swing/plaf/basic/BasicTextUI.java
849 (RottView.modelToView): New method.
850 (UpdateHandler): Renamed from EventHandler.
851 (updateHandler): Renamed from eventHandler.
852 (modelToView): Implemented.
853 * javax/swing/text/AbstractDocument.java
854 (BranchElement.getElement): Return null for non-existing indeces.
855 (BranchElement.getElementIndex): Return 0 in some corner cases.
856 * javax/swing/text/FieldView.java
857 (modelToView): New method.
858 * javax/swing/text/PlainView.java
859 (modelToView): Made public.
860
861 2004-08-31 Kim Ho <kho@redhat.com>
862
863 * Makefile.am: New files.
864 * Makefile.in: Regenerate.
865 * gcj/Makefile.in: Regenerate.
866 * include/Makefile.in: Regenerate.
867 * java/awt/Color.java: Fix documentation.
868 (RGBtoHSB): Use floats for conversions.
869 * javax/swing/ButtonGroup.java: Run Jalopy.
870 (setSelected): Reimplement.
871 * javax/swing/DefaultButtonModel.java: Run Jalopy.
872 (changeState): Let ButtonGroup know that the button
873 is changing state.
874 * javax/swing/JColorChooser.java: Implement.
875 * javax/swing/JLabel.java: Run Jalopy.
876 * javax/swing/JSpinner.java: Run Jalopy.
877 (setValue): New method.
878 * javax/swing/JTabbedPane.java: Run Jalopy.
879 (removeTabAt): Call correct remove method.
880 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
881 (getPreviousValue): Compare minimum value.
882 * javax/swing/Timer.java: Run Jalopy.
883 (run): Comment out println.
884 * javax/swing/ToolTipManager.java:
885 (mouseMoved): Get new tooltip text for location.
886 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
887 Jalopy and Javadoc.
888 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
889 Implement.
890 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
891 Run Jalopy.
892 (setSelectedColor): Fire ChangeEvent.
893 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
894 New file. Implement.
895 * javax/swing/colorchooser/DefaultPreviewPanel.java:
896 Ditto.
897 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
898 Ditto.
899 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
900 Ditto.
901 * javax/swing/plaf/basic/BasicArrowButton.java:
902 (getArrow): Fix size of upward pointing button.
903 * javax/swing/plaf/basic/BasicColorChooserUI.java:
904 Implement.
905 * javax/swing/plaf/basic/BasicSliderUI.java:
906 (getWidthOfWidestLabel): Use preferred dimensions.
907 (getHeightOfTallestLabel): Ditto.
908 * javax/swing/plaf/basic/BasicSpinnerUI.java:
909 Run Jalopy.
910 (mousePressed): Disable changes to spinner if it is not enabled.
911 * testsuite/Makefile.in: Regenerate.
912
913
914 2004-08-31 Michael Koch <konqueror@gmx.de>
915
916 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
917 javax/swing/plaf/basic/BasicTableUI.java:
918 Added copyright notice.
919
920 2004-08-31 Olga Rodimina <rodimina@redhat.com>
921
922 * Makefile.am: Added new files.
923 * Makefile.in: Regenerate.
924 * javax/swing/ComboBoxEditor.java: Added javadocs.
925 * javax/swing/ComboBoxModel.java: Likewise.
926 * javax/swing/DefaultComboBoxModel.java: Implemented.
927 * javax/swing/DefaultListCellRenderer.java: Added javadocs
928 and ran through jalopy to fix formatting style.
929 (getListCellRendererComponent): Use appropriate border
930 if renderer has focus and use noFocusBorder when it doesn't.
931 * javax/swing/JComboBox.java: Implemented.
932 * javax/swing/JList.java:
933 (locationToIndex): New Method. Implemented.
934 (indexToLocation): New Method.
935 * javax/swing/JPopupMenu.java:
936 (visible): New field.
937 (isVisible): Changed to use new field above.
938 (setVisible): Likewise.
939 * javax/swing/MutableComboBoxModel.java: Added javadocs.
940 * javax/swing/plaf/basic/BasicArrowButton.java:
941 (shadow): Changed default color to Color.gray.
942 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
943 UI delegate for JComboBox.
944 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
945 Popup menu containing list of JComboBox's items.
946 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
947 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
948 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
949 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
950 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
951 (popupMenuWillBecomeVisible): Set selected path to the first
952 element only if it is of type MenuElement. Also fix formatting
953 style.
954 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
955 methods signatures.
956
957 2004-08-31 Michael Koch <konqueror@gmx.de>
958
959 * javax/swing/text/AbstractDocument.java
960 (createBranchElement): Use new constructor of BranchElement.
961 (createLeafElement): Renamed arguments.
962 (getRootElements): Implemented.
963 (BranchElement.start): Removed.
964 (BranchElement.end): Likewise.
965 (BranchElement.BranchElement): Fixed arguments.
966 (BranchElement.getEndOffset): Reimplemented.
967 (BranchElement.getStartOffset): Likewis.
968 * javax/swing/text/DefaultCaret.java
969 (paint): Draw simple vertical line as caret instead of a rectangle.
970 * javax/swing/text/JTextComponent.java
971 (setText): Use doc directly.
972 * javax/swing/text/PlainView.java
973 (nextTabStop): Implemented.
974 * javax/swing/text/Utilities.java
975 (drawTabbedText): nextTabStop() returns an absolute x position.
976 (getTabbedTextWidth): Likewise.
977
978 2004-08-31 Graydon Hoare <graydon@redhat.com>
979
980 * java/awt/Component.java
981 (isFocusTraversable): Predicate on isLightweight()
982 (setFocusable): Set isFocusTraversableOverridden.
983 (requestFocus): Predicate peer dispatch on !isLightweight()
984 (requestFocusInWindow): Likewise.
985 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
986 * java/awt/Container.java
987 (dispatchEventImpl): Predicate on event mask.
988 (LightweightDispatcher): Remove focus machinery.
989 * java/awt/DefaultFocusTraversalPolicy.java
990 (accept): Expand predicate to include isFocusable().
991 * java/awt/DefaultKeyboardFocusManager.java:
992 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
993 * java/awt/KeyboardFocusManager.java
994 (redispatchEvent): Synchronize on event to prevent feedback.
995 * javax/swing/AbstractButton.java
996 (ButtonFocusListener): Remove class.
997 (init): Set focusPainted, focusable.
998 * javax/swing/ActionMap.java (get): Check parent for null.
999 * javax/swing/InputMap.java (get): Likewise.
1000 * javax/swing/JComponent.java
1001 (inputMap_whenFocused): New InputMap.
1002 (inputMap_whenAncestorOfFocused): Likewise.
1003 (inputMap_whenInFocusedWindow): Likewise.
1004 (getActionForKeyStroke): Rewrite.
1005 (getConditionForKeystroke): Likewise.
1006 (ActionListenerProxy): New private class.
1007 (setInputMap): Implement.
1008 (getInputMap): Likewise.
1009 (setActionMap): Likewise.
1010 (getActionMap): Likewise.
1011 (processComponentKeyEvent): New empty method.
1012 (processKeyEvent): Implement.
1013 (processKeyBinding): Likewise.
1014 (resetKeyboardActions): Rewrite.
1015 * javax/swing/KeyStroke.java: Rewrite.
1016 * javax/swing/SwingUtilities.java
1017 (notifyAction): Implement.
1018 (replaceUIActionMap): Likewise.
1019 (replaceUIInputMap): Likewise.
1020 * javax/swing/plaf/basic/BasicButtonListener.java
1021 (focusGained): Implement.
1022 (focusLost): Repaint if focusPainted().
1023 (installKeyboardActions): Install pressed / released actions.
1024 (uninstallKeyboardActions): Implement.
1025 * javax/swing/plaf/basic/BasicButtonUI.java
1026 (focusColor): New field.
1027 (installDefaults): Load focus color, install input map.
1028 (installKeyboardActions): Implement.
1029 (uninstallKeyboardActions): Likewise.
1030 (paintFocus): Rewrite.
1031 * javax/swing/plaf/basic/BasicLookAndFeel.java
1032 (Button.focus): New default, midPurple.
1033 * javax/swing/plaf/basic/BasicTextUI.java
1034 (kit): Make static.
1035 (installUI): Get doc from kit, load defaults.
1036 (getKeymapName): Implement.
1037 (createKeymap): Likewise.
1038 (installKeyboardActions): Likewise.
1039 (getInputMap): Likewise.
1040 (getActionMap): Likewise.
1041 (createActionMap): Likewise.
1042 * javax/swing/text/AbstractDocument.java
1043 (getStartPosition): Implement.
1044 (getEndPosition): Likewise.
1045 * javax/swing/text/DefaultEditorKit.java
1046 (CopyAction): New class.
1047 (CutAction): Likewise.
1048 (DefaultKeyTypedAction): Likewise.
1049 (InsertBreakAction): Likewise.
1050 (InsertContentAction): Likewise.
1051 (InsertTabAction): Likewise.
1052 (PasteAction): Likewise.
1053 (defaultActions): New static table.
1054 (createCaret): Implement.
1055 (getActions): Likewise.
1056 * javax/swing/text/JTextComponent.java
1057 (KeymapWrapper): New private class.
1058 (KeymapActionMap): Likewise.
1059 (DefaultKeymap): New class.
1060 (keymaps): New static table.
1061 (keymap): New field.
1062 (getKeymap): Implement.
1063 (removeKeymap): Likewise.
1064 (addKeymap): Likewise.
1065 (setKeymap): Likewise.
1066 (loadKeymap): Likewise.
1067 (getActions): Likewise.
1068 (margin): New field.
1069 (JTextComponent): Build and install default keymap.
1070 * javax/swing/text/TextAction.java
1071 (textAction): Call super properly.
1072 (getTextComponent): Implement.
1073 * javax/swing/text/Utilities.java
1074 (drawTabbedText): Adjust position by ascent.
1075
1076 2004-08-31 David Jee <djee@redhat.com>
1077
1078 PR AWT/17156
1079
1080 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1081 (setEnabled): Make it a native method.
1082 * java/awt/DefaultKeyboardFocusManager.java
1083 (postProcessKeyEvent): Only post event if the menu item
1084 is active.
1085 * java/awt/MenuItem.java:
1086 Private field 'enabled' should be true by default.
1087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1088 (setEnabled): New function.
1089
1090 2004-08-31 David Jee <djee@redhat.com>
1091
1092 PR AWT/17059
1093
1094 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1095 (nativeSetHelpMenu): New native method declaration.
1096 (addHelpMenu): Call nativeSetHelpMenu().
1097 (addMenu): Remove.
1098 * java/awt/MenuBar.java
1099 (setHelpMenu): Call addNotify() on the new help menu.
1100 (add): Call addNotify() on the new menu.
1101 (addNotify): Set the help menu if one exists.
1102 * java/awt/peer/MenuBarPeer.java
1103 (addMenu): Remove.
1104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1105 (nativeSetHelpMenu): New method.
1106
1107 2004-08-31 Graydon Hoare <graydon@redhat.com>
1108
1109 * Makefile.am: Add new files.
1110 * Makefile.in: Regenerate.
1111 * javax/swing/Box.java: Fix setting of layout in ctor.
1112 * javax/swing/JScrollPane.java: Scroll headers as well.
1113 * javax/swing/JTable.java: Reimplement.
1114 * javax/swing/JViewPort.java: Only add non-null children.
1115 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1116 * javax/swing/Timer.java: Fix stopping null waker.
1117 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1118 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1119 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1120 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1121 * javax/swing/table/DefaultTableModel.java: Clean up.
1122 * javax/swing/table/JTableHeader.java: Implement.
1123
1124 2004-08-31 Mark Wielaard <mark@klomp.org>
1125
1126 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1127 semi-colon.
1128
1129 2004-08-31 Mark Wielaard <mark@klomp.org>
1130
1131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1132 Declare variables at top of functions/block.
1133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1134
1135 2004-08-31 Mark Wielaard <mark@klomp.org>
1136
1137 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1138 first.
1139
1140 2004-08-31 Michael Koch <konqueror@gmx.de>
1141
1142 * javax/swing/text/PlainView.java
1143 (selectedColor): New field.
1144 (unselectedColor): Likewise.
1145 (font): Likewise.
1146 (updateMetrics): New method.
1147 (lineToRect): Likewise.
1148 (modelToView): Likewise.
1149 (drawSelectedText): Use color from JTextComponent ad draw with
1150 Utilities class.
1151 (drawUnselectedText): Likewise.
1152 (paint): Initialize helper fields.
1153 * javax/swing/text/View.java
1154 (getChildAllocation): New method.
1155 (getViewIndex): Likewise.
1156 (getToolTipText): Likewise.
1157
1158 2004-08-31 Michael Koch <konqueror@gmx.de>
1159
1160 * javax/swing/text/Utilities.java
1161 (drawTabbedText): Reimplemented.
1162 (getTabbedTextWidth): Likewise.
1163
1164 2004-08-31 Michael Koch <konqueror@gmx.de>
1165
1166 * javax/swing/plaf/basic/BasicTextUI.java
1167 (installDefaults): Install caret and highlighter.
1168 (modelToView): Use Bias.Forward when calling sibling.
1169 * javax/swing/text/AbstractDocument.java
1170 (ElementEdit): Implements DocumentEvent.ElementChange.
1171 (ElementEdit.ElementEdit): New method.
1172 (ElementEdit.getChildrenAdded): Likewise.
1173 (ElementEdit.getChildrenRemoved): Likewise.
1174 (ElementEdit.getElement): Likewise.
1175 (ElementEdit.getIndex): Likewise.
1176 * javax/swing/text/DefaultCaret.java
1177 (color): Removed.
1178 (textComponent): Renamed from parent, made private.
1179 (selectionVisible): Renamed from vis_sel, made private.
1180 (blinkRate): Renamed from blink, made private.
1181 (magicCaretPosition): Renamed from magic, made private.
1182 (visible): Renamed from vis, made private.
1183 (dot): Made private.
1184 (mark): Likewise.
1185 (deinstall): Remove as MouseMotionListener.
1186 (install): Initialize textComponent first. Add as MouseMotionListener.
1187 (paint): Reimplemented.
1188 * javax/swing/text/JTextComponent.java
1189 (setCaret): Deinstall old caret, install new one and fire property
1190 change after setting property.
1191 (setHighlighter): Deinstall old highlighter, install new one and fire
1192 property change after setting property.
1193 (setCaretColor): Fire property change after setting property.
1194 (setDisabledTextColor): Likewise.
1195 (setSelectedTextColor): Likewise.
1196 (setSelectionColor): Likewise.
1197 (modelToView): New method.
1198
1199 2004-08-31 Michael Koch <konqueror@gmx.de>
1200
1201 * javax/swing/text/AbstractDocument.java
1202 (getText): Simplified.
1203 * javax/swing/text/Segment.java
1204 (current): New field.
1205 (current): Reimplemented.
1206 (first): Likewise.
1207 (getIndex): Likewise.
1208 (last): Likewise.
1209 (next): Likewise.
1210 (previous): Likewise.
1211 (setIndex): Likewise.
1212
1213 2004-08-31 Michael Koch <konqueror@gmx.de>
1214
1215 * javax/swing/plaf/basic/BasicButtonUI.java
1216 (defaultTextIconGap): Made protected.
1217 (defaultTextShiftOffset): Likewise.
1218 (textShiftOffset): New field.
1219 (clearTextShiftOffset): New method.
1220 (getTextShiftOffset): Likewise.
1221 (setTextShiftOffset): Likewise.
1222
1223 2004-08-31 Michael Koch <konqueror@gmx.de>
1224
1225 * javax/swing/plaf/basic/BasicTextUI.java
1226 (installUI): Add eventHandler as property listener.
1227 (uninstallUI): remove eventHandler as propert listener.
1228 (installDefaults): Added comment.
1229 (installListeners): Likewise.
1230 (installKeyboardActions): Likewise.
1231 (uninstallDefaults): Likewise.
1232 (uninstallListeners): Likewise.
1233 (uninstallKeyboardActions): Likewise.
1234
1235 2004-08-31 Michael Koch <konqueror@gmx.de>
1236
1237 * javax/swing/text/AbstractDocument.java:
1238 Fixed some typos in comments.
1239 (insertString): Reimplemented.
1240 (remove): Likewise.
1241 (replace): New method.
1242 (children): Dont use fully qualified class name.
1243 (DefaultDocumentEvent.offset): Renamed from off.
1244 (DefaultDocumentEvent.length): Renamed from len.
1245 (DefaultDocumentEvent.type): New field.
1246 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1247 (DefaultDocumentEvent.getType): Implemented.
1248
1249 2004-08-31 Michael Koch <konqueror@gmx.de>
1250
1251 * javax/swing/plaf/basic/BasicTextUI.java
1252 (RootView.textComponent): Removed.
1253 (RootView.RootView): Don't initialize textComponent.
1254 (RootView.getViewFactory): New method.
1255 (EventHandler): New inner class.
1256 (rootView): Initialize at instance creation.
1257 (eventHandler): New field.
1258 (installUI): Don't create view hierarchy directly,
1259 call modelChanged() instead.
1260 (modelChanged): New method.
1261 * javax/swing/text/JTextComponent.java
1262 (setDocument): Fire property change event.
1263
1264 2004-08-31 Michael Koch <konqueror@gmx.de>
1265
1266 * javax/swing/plaf/basic/BasicTextUI.java
1267 (RootView.paint): Removed debug output.
1268 (paintSafely): Draw highlighter before text.
1269 (paintBackground): Use background color of text component.
1270 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1271 Reformatted.
1272
1273 2004-08-31 Michael Koch <konqueror@gmx.de>
1274
1275 * javax/swing/plaf/basic/BasicToolBarUI.java
1276 (BasicToolBarUI): Fixed arguments for constructor.
1277 (createUI): Fixed creation of object.
1278
1279 2004-08-31 Michael Koch <konqueror@gmx.de>
1280
1281 * javax/swing/DefaultListSelectionModel.java
1282 (fireValueChanged): Renamed from fireSelectionValueChanged,
1283 made protected.
1284
1285 2004-08-31 Michael Koch <konqueror@gmx.de>
1286
1287 * javax/swing/text/TabSet.java
1288 (TabSet): Implements java.io.Serializable.
1289 * javax/swing/text/TabStop.java
1290 (TabStop): Implements java.io.Serializable.
1291 (TabStop): Made public.
1292
1293 2004-08-31 Michael Koch <konqueror@gmx.de>
1294
1295 * javax/swing/JComponent.java
1296 (setUI): Fire PropertyChange.
1297 * javax/swing/JLabel.java
1298 (text): Renamed from labelText.
1299 (horizontalAlignment): New default vlaue.
1300 (icon): Renamed from activeIcon.
1301 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1302 (displayedMnemonicIndex): Renamed from underlineChar.
1303 (setDisplayedMnemonic): Reimplemented.
1304 * javax/swing/JRadioButton.java
1305 (JRadioButton): New constructors.
1306 * javax/swing/JTextField.java
1307 (JTextField): Throw exception if colums < 0, initialitialz
1308 this.columns directly and initialize document with text conditionally.
1309
1310 2004-08-31 Michael Koch <konqueror@gmx.de>
1311
1312 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1313 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1314 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1315 * javax/swing/text/FieldView.java
1316 (paint): Just call super method for now.
1317 * Makefile.am: Added new files.
1318 * Makefile.in: Regenerated.
1319
1320 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1321
1322 * javax/swing/AbstractSpinnerModel.java,
1323 javax/swing/JSpinner.java,
1324 javax/swing/SpinnerNumberModel.java,
1325 javax/swing/plaf/basic/BasicSpinnerUI.java:
1326 New files.
1327 * javax/swing/plaf/basic/BasicLookAndFeel.java
1328 (initClassDefaults): Added defaults for BasicSpinnerUI.
1329
1330 2004-08-31 Michael Koch <konqueror@gmx.de>
1331
1332 * Makefile.am: Added new files.
1333 * Makefile.in: Regenerated.
1334
1335 2004-08-31 Michael Koch <konqueror@gmx.de>
1336
1337 * javax/swing/TransferHandler.java,
1338 javax/swing/plaf/basic/ComboPopup.java: New files
1339 * Makefile.am: Added javax/swing/TransferHandler.java and
1340 javax/swing/plaf/basic/ComboPopup.java
1341 * Makefile.in: Regenerated.
1342
1343 2004-08-31 Roman Kennke <roman@ontographics.com>
1344
1345 * javax/swing/text/Utilities.java: New file.
1346
1347 2004-08-31 Michael Koch <konqueror@gmx.de>
1348
1349 * Makefile.am: Added javax/swing/text/Utilities.java.
1350 * Makefile.in: Regenerated.
1351
1352 2004-08-31 Graydon Hoare <graydon@redhat.com>
1353
1354 * javax/swing/text/SimpleAttributeSet.java: New file.
1355 * javax/swing/text/StyleConstants.java: New file.
1356 * javax/swing/text/StyleContext.java: New file.
1357 * javax/swing/text/TabSet.java: New file.
1358 * javax/swing/text/TabStop.java: New file.
1359 * javax/swing/text/AbstactDocument.java:
1360 (AbstractElement): Implement attribute support.
1361 * javax/swing/text/AttributeSet.java
1362 (NameAttribute): New static field.
1363 (ResolveAttribute): New static field.
1364 * Makefile.am: Update for new files.
1365 * Makefile.in: Regenerate.
1366
1367 2004-08-31 Craig Black <craig.black@aonix.com>
1368
1369 * gnu/java/awt/peer/gtk/GdkGraphics.java
1370 (drawImage): Add support for scaling pixmaps.
1371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1372 (copyAndScalePixmap): New native method.
1373
1374 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1375
1376 PR AWT/16121
1377 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1378 type-punning compiler warnings using unions.
1379 (throw): Replace bzero with memset.
1380
1381 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1382 Thomas Fitzsimmons <fitzsim@redhat.com>
1383
1384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1385 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1386 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1388 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1389
1390 2004-08-31 Mark Wielaard <mark@klomp.org>
1391
1392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1393 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1394 and stdlib.h, not gtkpeer.h.
1395 (*vm): New static variable.
1396 (areaPreparedID): Make static.
1397 (areaUpdatedID): Likewise.
1398 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1399 (area_prepared): Likewise.
1400 (area_updated): Likewise.
1401 (closed): Likewise.
1402 (initStaticState): Initialize *vm javaVM.
1403 (pumpBytes): Use given env, not global gdk_env.
1404
1405 2004-08-31 Mark Wielaard <mark@klomp.org>
1406
1407 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1408 comments.
1409
1410 2004-08-31 Sven de Marothy <sven@physto.se>
1411
1412 * java/awt/geom/CubicCurve2D.java: Reindent.
1413 (contains): Implemented.
1414 (intersects): Implemented.
1415 * java/awt/geom/QuadCurve2D.java: Likewise.
1416 * java/awt/geom/GeneralPath.java: Reindent and document.
1417 Fully (re)implemented using separate xpoints and ypoints
1418 float[] coords.
1419 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1420
1421 2004-08-31 Michael Koch <konqueror@gmx.de>
1422
1423 * javax/swing/JMenuItem.java
1424 (getMenuDragMouseListeners): New method.
1425 (getMenuKeyListeners): Likewise.
1426
1427 2004-08-31 Michael Koch <konqueror@gmx.de>
1428
1429 * javax/swing/AbstractButton.java
1430 (model): Made protected.
1431 (actionListener): Likewise.
1432 (changeListener): Likewise.
1433 (itemListener): Likewise.
1434 (multiClickThreshhold): New field.
1435 (getActionListeners): New method.
1436 (getChangeListeners): Likewise.
1437 (getItemListeners): Likewise.
1438 (fireItemStateChanged): Simplified implementation.
1439 (fireActionPerformed): Likewise.
1440 (fireStateChanged): Likewise.
1441 (getMultiClickThreshhold): New method.
1442 (setMultiClickThreshhold): Likewise.
1443
1444 2004-08-31 Tom Tromey <tromey@redhat.com>
1445
1446 * java/awt/image/Kernel.java (clone): Use super.clone().
1447
1448 2004-08-31 David Jee <djee@redhat.com>
1449
1450 PR AWT/16682
1451 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1452 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1453 (nativeSetIconImageFromData): New native method declaration.
1454 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1455 * gnu/java/awt/peer/gtk/GtkImage.java
1456 (getPixelCache): New method.
1457 (getColorModel): New method.
1458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1459 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1460 (free_pixbuf_data): New helper function.
1461 (nativeSetIconImageFromData): New function.
1462
1463 2004-08-31 Graydon Hoare <graydon@redhat.com>
1464
1465 PR SWING/16576
1466 * javax/swing/JLayeredPane.java
1467 (setLayer): Permit changing layer after addition.
1468 (setPosition): Permit over-length positions.
1469 (layerToRange): Compare intValue()s.
1470 * javax/swing/Box.java (createHorizontalBox): Implement.
1471 (createRigidArea): Likewise.
1472 (createVerticalBox): Likewise.
1473
1474 2004-08-31 Kim Ho <kho@redhat.com>
1475
1476 * java/awt/Component.java:
1477 (processMouseEvent): Consume event after
1478 listeners process it.
1479 (processMouseMotionEvent): ditto.
1480 (processMouseWheelEvent): ditto.
1481 * java/awt/Container.java:
1482 (acquireComponentForMouseEvent):
1483 Do not dispatch to events that have been
1484 removed from the Container.
1485 (handleEvent): Consume the MouseEvents.
1486 * javax/swing/RepaintManager.java:
1487 (paintDirtyRegions): Do not add to list of
1488 damaged areas if the component has no root.
1489
1490 2004-08-31 Michael Koch <konqueror@gmx.de>
1491
1492 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1493
1494 2004-08-31 Mark Wielaard <mark@klomp.org>
1495
1496 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1497 null when a MissingResourceException is thrown. Should never happen.
1498
1499 2004-08-31 Mark Wielaard <mark@klomp.org>
1500
1501 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1502 when argument is null.
1503
1504 2004-08-31 Mark Wielaard <mark@klomp.org>
1505
1506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1507 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1508 Define hid at start of function.
1509 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1510 Likewise.
1511
1512 2004-08-31 Mark Wielaard <mark@klomp.org>
1513
1514 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1515 * javax/swing/JButton.java: Reindent.
1516 * javax/swing/JCheckBox.java: Reindent.
1517
1518 2004-08-31 Mark Wielaard <mark@klomp.org>
1519
1520 * Makefile.am (gtk_c_source_files): Added
1521 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1522 (gtk_awt_peer_sources): Added
1523 gnu/java/awt/peer/gtk/GThreadMutex.java and
1524 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1525 * Makefile.in: Regenerated.
1526
1527 2004-08-31 Archie Cobbs <archie@dellroad.org>
1528
1529 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1530
1531 2004-08-31 Steven Augart <augart@watson.ibm.com>
1532
1533 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1534 Added jfieldID, jmethodID.
1535
1536 2004-08-31 Mark Wielaard <mark@klomp.org>
1537
1538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1539 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1540 gdk_env before calling any gdk or gtk function.
1541
1542 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1543 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1544 (run): Set gtkInitCalled.
1545
1546 2004-08-31 Steven Augart <augart@watson.ibm.com>
1547
1548 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1549 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1550
1551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1552 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1553 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1554 init_glib_threads.
1555 (init_glib_threads): New function.
1556
1557 2004-08-31 Mark Wielaard <mark@klomp.org>
1558
1559 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1560 PRIORITY when not already defined in header file.
1561
1562 2004-08-31 Mark Wielaard <mark@klomp.org>
1563
1564 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1565 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1566
1567 2004-08-31 Steven Augart <augart@watson.ibm.com>
1568
1569 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1570 Implemented missing functions for GTK2.
1571 Added error handling.
1572 Renamed static functions out of the g_ namespace.
1573 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1574 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1575 Rewrote global-reference code.
1576 Eliminated cascading errors.
1577 (mutex_trylock_jni_impl) Fully implemented.
1578 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1579 resolution.
1580 (setup_cache) New function.
1581 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1582 bug where they were not unlocking the GMutex associated with the
1583 condition variable during the wait on that condition variable.
1584
1585 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1586 native/jni/gtk-peer/gthread-jni.c,
1587 native/jni/gtk-peer/gthread-jni.h
1588 (g_thread_jni_functions): Renamed to ...
1589 (portable_native_sync_jni_functions): this name.
1590 (gdk_vm): Renamed to...
1591 (the_vm): this name.
1592
1593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1594 (gdk_vm): Removed duplicate definition.
1595 (gtkInit): Removed stray message to stdout.
1596 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1597 (gtkInit): Fix a const assignment bug.
1598 (gtkInit): Simplified code.
1599
1600 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1601 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1602 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1603 gnu/java/awt/peer/gtk/GThreadMutex.java:
1604 New files.
1605
1606 2004-08-31 Mark Wielaard <mark@klomp.org>
1607
1608 * javax/swing/Box.java: Put FIXME comment above class declaration.
1609 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1610 * javax/swing/JCheckBox.java: Likewise.
1611 * javax/swing/JDialog.java: Likewise.
1612 * javax/swing/JRadioButton.java: Likewise.
1613 * javax/swing/JToggleButton.java: Likewise.
1614 * javax/swing/UIManager.java: Likewise.
1615 * javax/swing/border/TitledBorder.java: Likewise.
1616 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1617 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1618 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1619 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1620 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1621 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1622 * javax/swing/text/JTextComponent.java: Likewise.
1623
1624 2004-08-31 David Jee <djee@redhat.com>
1625
1626 PR AWT/16682
1627 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1628 (setIconImage): Add a FIXME for unhandled cases.
1629
1630 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1631
1632 PR AWT/16040
1633 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1634 getModifiers. Replace old button masks with new ones.
1635 * gnu/awt/xlib/XEventLoop.java: Likewise.
1636 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1637 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1638 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1639 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1640 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1641 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1642 * java/awt/Component.java: Replace old modifier masks with new
1643 ones.
1644 * java/awt/Container.java: Call getModifiersEx, not
1645 getModifiers.
1646 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1647 old modifier masks.
1648 * javax/swing/JMenuItem.java: Replace old button masks with new
1649 ones.
1650 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1651 getModifiers.
1652 * javax/swing/SwingUtilities.java: Likewise.
1653 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1654 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1656 mask macros with new ones.
1657 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1658 macros with new ones representing new masks.
1659
1660 2004-08-31 Craig Black <craig.black@aonix.com>
1661
1662 * gnu/java/awt/peer/gtk/GdkGraphics.java
1663 (drawRoundRect): Implemented.
1664 (fillRoundRect): Implemented.
1665 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1666 (drawRoundRect): Reimplemented to match GdkGraphics.
1667 (fillRoundRect): Reimplemented to match GdkGraphics.
1668
1669 2004-08-31 Mark Wielaard <mark@klomp.org>
1670
1671 * Makefile.in: Regenerated.
1672
1673 2004-08-31 Michael Koch <konqueror@gmx.de>
1674
1675 * gnu/java/awt/EmbeddedWindow.java
1676 (addNotify): Use AccessController to allow execution of privileged
1677 code.
1678
1679 2004-08-31 Michael Koch <konqueror@gmx.de>
1680
1681 * gnu/java/awt/EmbeddedWindow.java
1682 (static): Removed.
1683 (addNotify): Set peer via reflection.
1684 (setWindowPeer): Removed.
1685 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1686 * Makefile.am (nat_source_files):
1687 Removed gnu/java/awt/natEmbeddedWindow.cc.
1688
1689 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1690
1691 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1692 and gnu/java/security/action/SetAccessibleAction.java.
1693
1694 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1695
1696 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1697 Renamed from 'setName'. New 2-argument form with default value.
1698 (run): Pass default 'value' parameter to System.getProperty().
1699 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1700 typos.
1701
1702 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1703
1704 * gnu/java/security/action/GetPropertyAction.java: New class.
1705 * gnu/java/security/action/SetAccessibleAction.java: New class.
1706
1707 2004-08-31 David Jee <djee@redhat.com>
1708
1709 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1710 (setIconImage): Check if image is null.
1711
1712 2004-08-31 David Jee <djee@redhat.com>
1713
1714 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1715 (create): Set the icon image.
1716 (nativeSetIconImage): New native method declaration.
1717 (setIconImage): Implement.
1718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1719 (nativeSetIconImage): New function.
1720
1721 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1722
1723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1724 (filenameFilterCallback): Declare local variable accepted before use.
1725
1726 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1727
1728 * gnu/java/awt/ComponentDataBlitOp.java:
1729 Cleaned up imports.
1730
1731 2004-08-31 Tom Tromey <tromey@redhat.com>
1732
1733 * gnu/java/awt/peer/GLightweightPeer.java,
1734 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1735 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1736 javax/swing/JScrollPane.java: Removed
1737 redundant imports.
1738
1739 2004-08-31 David Jee <djee@redhat.com>
1740
1741 * java/awt/DefaultKeyboardFocusManager.java
1742 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1743 event. Fix shift modifier checking.
1744 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1745 (accel_attach): Remove.
1746 (setupAccelGroup): Remove calls to accel_attach.
1747
1748 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1749
1750 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1751 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1752
1753 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1754 GtkArgList.java.
1755 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1756 * Makefile.in: Regenerate.
1757 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1758 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1759 (create(String)): New method.
1760 (create): Call new create method.
1761 (getArgs): Remove method.
1762 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1763 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1764 (nativeCreate): Rename to create.
1765 (gtkSetLabel): Rename to gtkButtonSetLabel.
1766 (gtkToggleButtonSetActive): New method.
1767 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1768 (setState): Replace set call with gtkToggleButtonSetActive.
1769 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1770 (getArgs): Remove method.
1771 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1772 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1773 (gtkWidgetSetSensitive): New method.
1774 (gtkWidgetSetParent): Likewise.
1775 (GtkComponentPeer): Call setParent, setComponentBounds and
1776 setVisibleAndEnabled.
1777 (setParent): New method.
1778 (setComponentBounds): New method.
1779 (setVisibleAndEnabled): New method.
1780 (setEnabled): Call gtkWidgetSetSensitive.
1781 (getArgs): Remove method.
1782 Remove all set methods.
1783 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1784 gtkWindowSetModal, setTitle and setResizable.
1785 (getArgs): Remove method.
1786 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1787 (setComponentBounds): New method.
1788 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1789 Replace set call with gtkWindowSetResizable.
1790 (getArgs): Remove method.
1791 (create): Call setTitle and setResizable.
1792 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1793 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1794 (gtkWindowSetTitle): New method.
1795 (gtkWindowSetResizable): New method.
1796 (gtkWindowSetModal): New method.
1797 (setParent): New method.
1798 (setVisibleAndEnabled): New method.
1799 (getArgs): Remove method.
1800 (setTitle): Call gtkWindowSetTitle.
1801 (setResizable): Call gtkWindowSetResizable.
1802 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1803 and off locking instrumentation.
1804
1805 2004-08-31 Kim Ho <kho@redhat.com>
1806
1807 * Makefile.am: Add new file.
1808 * Makefile.in: Regenerate.
1809 * gcj/Makefile.in: Regenerate
1810 * include/Makefile.in:
1811 * java/awt/Container.java:
1812 (acquireComponentForMouseEvent): Respect
1813 the event mask when looking for candidate.
1814 * javax/swing/JComponent.java:
1815 Remove toolTip field.
1816 (createToolTip): Create a tooltip on demand.
1817 (setToolTipText): Register with the ToolTipManager.
1818 (getToolTipText(MouseEvent)): Return getToolTipText().
1819 * javax/swing/JToolTip.java: Implement.
1820 * javax/swing/Timer.java: Jalopy.
1821 (restart): Call stop, then start.
1822 (stop): Interrupt the timer rather than wait for
1823 the timer to come to a stop naturally.
1824 * javax/swing/ToolTipManager.java: Implement.
1825 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1826 Change ToolTip.background color.
1827 * javax/swing/plaf/basic/BasicToolTipUI.java:
1828 Implement.
1829 * testsuite/Makefile.in: Regenerate
1830
1831 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1832
1833 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1834 constructor param comments.
1835
1836 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1837
1838 * java/awt/Component.java: Document AWT 1.0 event handler
1839 methods.
1840
1841 2004-08-31 Roman Kennke <roman@ontographics.com>
1842
1843 * javax/swing/Box.java:
1844 (createGlue): Implemented
1845 (createHorizontalGlue): Implemented
1846 (createHorizontalStrut): Implemented
1847 (createVerticalGlue): Implemented
1848 (createVerticalStrut): Implemented
1849
1850 2004-08-31 David Jee <djee@redhat.com>
1851
1852 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1853 (GtkChoicePeer): Do not automatically select first item.
1854 (getHistory): Remove.
1855 (nativeGetSelected): New method.
1856 (nativeRemoveAll): New method.
1857 (add): Use nativeGetSelected() instead of getHistory().
1858 (remove): Likewise.
1859 (removeAll): Call nativeRemoveAll().
1860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1861 (create): Migrate to GtkComboBox.
1862 (append): Likewise.
1863 (nativeAdd): Likewise.
1864 (nativeRemove): Likewise.
1865 (select): Likewise.
1866 (nativeRemoveAll): New method.
1867 (nativeGetSelected): New method.
1868 (selection_changed): New method.
1869 (getHistory): Remove.
1870 (item_activate): Remove.
1871 (item_removed): Remove.
1872 (connect_choice_item_selectable_hook): Remove.
1873
1874 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1875
1876 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1877 variable in setEditable call.
1878
1879 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1880 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1881 (gtkWidgetSetBackground): New method.
1882 (gtkWidgetSetForeground): Likewise.
1883 (create): Set peer's editable state based on awtComponent's.
1884
1885 * java/awt/Button.java (Button()): Use empty string rather than
1886 null in no-label constructor.
1887
1888 2004-08-31 Roman Kennke <roman@ontographics.com>
1889
1890 * javax/swing/BoxLayout.java: Reimplement.
1891
1892 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1893
1894 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1895 gnu_java_awt_peer_gtk_GdkGraphics.c
1896 (initState(GtkComponentPeer)): Don't return array of colour
1897 values.
1898 (GdkGraphics(int,int)): Set default font to size 12.
1899 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1900 component's foreground colour.
1901 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1902 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1903 (initState(GtkComponentPeer)): Don't return array of colour
1904 values.
1905 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1906 colours to component's colours.
1907 (current_colors_of_widget): Remove function.
1908 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1909 Return a new graphics object.
1910 * java/awt/Font.java (toString): Fix format.
1911 * java/awt/Graphics.java (toString): Likewise.
1912
1913 2004-08-31 Craig Black <craig.black@aonix.com>
1914
1915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1916 (addTearOff): New function.
1917 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1918 New native method.
1919 (init): Call addTearOff() when menu.isTearOff().
1920
1921 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1922
1923 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1924 Default implementation.
1925 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1926 Implement using GdkPixbufDecoder.
1927
1928 2004-08-31 David Jee <djee@redhat.com>
1929
1930 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1931 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1932 setting the size of GtkFileDialogPeers.
1933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1934 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1935 use their default sizes rather than their natural requisitions.
1936
1937 2004-08-31 Michael Koch <konqueror@gmx.de>
1938
1939 * javax/swing/JFormattedTextField.java
1940 (JFormattedTextField): Implemented.
1941 * javax/swing/text/DefaultEditorKit.java
1942 (BeepAction): New inner class.
1943 * javax/swing/text/Segment.java
1944 (partialReturn): New field.
1945 (setPartialReturn): New method.
1946 (isPartialReturn): Likewise.
1947 * javax/swing/text/View.java
1948 (createFragment): Fixed typo.
1949 (getStartOffset): New method.
1950 (getEndOffset): Likewise.
1951
1952 2004-08-31 Michael Koch <konqueror@gmx.de>
1953
1954 * javax/swing/table/DefaultTableColumnModel.java
1955 (serialVersionUID): Made private.
1956 (listenerList): Initialize.
1957 (changeEvent): Initialize.
1958 * javax/swing/table/JTableHeader.java
1959 (JTableHeader): New constructors.
1960 (createDefaultColumnModel): New method.
1961 * javax/swing/table/TableColumn.java
1962 (setHeaderRenderer): Simplified code.
1963 (setCellRenderer): Likewise.
1964 (setWidth): Likewise.
1965
1966 2004-08-31 Tom Tromey <tromey@redhat.com>
1967
1968 * java/text/AttributedString.java (AttributedString): Use
1969 ArrayList to build array of attribute ranges. Don't use
1970 `attribs' before it is set.
1971
1972 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1973
1974 * HACKING: Remove reference to special automake. No longer needed.
1975
1976 2004-08-30 Tom Tromey <tromey@redhat.com>
1977
1978 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1979 return result from `add'.
1980
1981 2004-08-30 Tom Tromey <tromey@redhat.com>
1982
1983 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1984
1985 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1986
1987 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1988
1989 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1990
1991 * java/io/File.java File(String,String): Fixed handling of empty
1992 path.
1993
1994 2004-08-30 Casey Marshall <csm@gnu.org>
1995
1996 Author e-mail updated for all files.
1997 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1998 instance of OID.
1999 (compareTo): Use `equals'.
2000 * gnu/java/security/der/BitString.java (equals): Test if the
2001 argument is an instance of BitString.
2002 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2003 class final. Made fields private.
2004 (<init>): New constructor.
2005 (skip): New method.
2006 (makeString): Made static; don't use NIO.
2007 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2008 * gnu/java/security/der/DERWriter.java: Fixed imports.
2009 (writeString): Don't use NIO.
2010 (toIso88591, toUtf16Be, toUtf8): New methods.
2011 * gnu/java/security/der/DERValue.java: Formatting changes only.
2012 * gnu/java/security/der/DER.java: Likewise.
2013
2014 2004-08-30 Tom Tromey <tromey@redhat.com>
2015
2016 * java/nio/CharBuffer.java (put): Fix typo.
2017 * java/nio/DoubleBuffer.java (put): Fix typo.
2018 * java/nio/FloatBuffer.java (put): Fix typo.
2019 * java/nio/IntBuffer.java (put): Fix typo.
2020 * java/nio/LongBuffer.java (put): Fix typo.
2021 * java/nio/ShortBuffer.java (put): Fix typo.
2022
2023 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2024
2025 * java/nio/ByteBuffer.java (put): Fix typo.
2026
2027 2004-08-30 Casey Marshall <csm@gnu.org>
2028
2029 * java/security/DummyKeyPairGenerator.java (clone): Removed
2030 useless instanceof check.
2031 * java/security/DummyMessageDigest.java (clone): Likewise.
2032 * java/security/DummySignature.java (clone): Likewise.
2033 * java/security/MessageDigest.java (clone): Remove useless
2034 instanceof check.
2035 * java/security/MessageDigestSpi.java (clone): Likewise.
2036 * java/security/Signature.java (clone): Provide meaningful
2037 implementation.
2038 * java/security/SignatureSpi.java (clone): Likewise.
2039
2040 2004-08-29 Mark Wielaard <mark@klomp.org>
2041
2042 * java/util/Arrays.java
2043 (sort(byte[], int, int)): Check fromIndex < 0.
2044 (sort(char[], int, int)): Likewise.
2045 (sort(short[], int, int)): Likewise.
2046 (sort(int[], int, int)): Likewise.
2047 (sort(long[], int, int)): Likewise.
2048 (sort(float[], int, int)): Likewise.
2049 (sort(double[], int, int)): Likewise.
2050 (sort(Object[], int, int, Comparator)): Likewise.
2051 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2052 (qsort(char[], int, int)): Likewise.
2053 (qsort(short[], int, int)): Likewise.
2054 (qsort(int[], int, int)): Likewise.
2055 (qsort(long[], int, int)): Likewise.
2056 (qsort(float[], int, int)): Likewise.
2057 (qsort(double[], int, int)): Likewise.
2058
2059 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2060
2061 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2062 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2063 java/util/ArrayList.java, java/util/Arrays.java,
2064 java/util/BitSet.java, java/util/Calendar.java,
2065 java/util/Collection.java, java/util/ListIterator.java,
2066 java/util/Map.java, java/util/SortedSet.java:
2067 Added additional exceptions to documentation, along
2068 with some additions and corrections.
2069
2070 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2071
2072 * configure.ac: Handle --enable-gc-debug.
2073 * configure: Regenerate.
2074 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2075 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2076 Rearrange include file order.
2077 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2078 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2079 (disable_gc_mutex): Delete along with all references.
2080 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2081 adjust for debug header size.
2082 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2083 debug case.
2084 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2085 (gcj_describe_type_fn): New.
2086 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2087 Register gcj_describe_type_fn.
2088 * include/boehm-gc.h:
2089 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2090 Don't define, but declare, for debug case.
2091 * java/lang/natObject.cc:
2092 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2093
2094 2004-08-26 Mark Wielaard <mark@klomp.org>
2095
2096 Fixes PR libgcj/17002:
2097 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2098 a TimeZoneId string and then try to convert that to a TimeZone with
2099 getDefaultSystemTimeZone(String).
2100 (timezones0): Changed type from Hashtable to HashMap.
2101 (timezones): Create HashMap, not Hashtable.
2102 (getDefaultTimeZone): New method, rewritten from CNI version.
2103 (readTimeZoneFile): New method.
2104 (readtzFile): Likewise.
2105 (skipFully): Likewise.
2106 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2107 getDefaultTimeZoneId and rewritten.
2108 (getDefaultTimeZoneId): Rewritten in java.
2109
2110 2004-08-25 David Daney <daney@avtrex.com>
2111
2112 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2113 * Makefile.in: Regenerated.
2114
2115 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2116
2117 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2118 only if jvmpi is enabled.
2119 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2120 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2121 (_Jv_AllocString): Likewise.
2122 (_Jv_AllocPtrFreeObject): Likewise.
2123
2124 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2125
2126 * defineclass.cc: Include <stdio.h>.
2127 * java/lang/natClassLoader.cc: Include <stdio.h>.
2128
2129 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2130 Michael Koch <konqueror@gmx.de>
2131
2132 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2133 * Makefile.in: Regenerated.
2134
2135 2004-08-20 Michael Koch <konqueror@gmx.de>
2136
2137 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2138 AC_COMPILE_IFELSE macros.
2139
2140 2004-08-20 Michael Koch <konqueror@gmx.de>
2141
2142 * configure.in: Renamed to configure.ac.
2143 * configure.ac: New file.
2144 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2145 include/config.h.in, testsuite/Makefile.in: Regenerated.
2146
2147 2004-08-20 Michael Koch <konqueror@gmx.de>
2148
2149 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2150 * aclocal.m4, configure: Regenerated.
2151
2152 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2153 Michael Koch <konqueror@gmx.de>
2154
2155 * configure.in, Makefile.am: Ported to automake 1.9.
2156 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2157 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2158 Regenerated.
2159
2160 2004-08-19 Tom Tromey <tromey@redhat.com>
2161
2162 * java/net/DatagramSocket.java: Fixed typo.
2163
2164 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2165
2166 PR libgcj/17081
2167 * java/net/URI.java (string): New field. Make all other fields
2168 transient.
2169 (readObject): Implemented.
2170 (writeObject): Implemented.
2171 (URI): Set 'string'.
2172
2173 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2174
2175 PR libgcj/17079
2176 * java/util/logging/Handler.java (isLoggable): Accept record if its
2177 log level equals the threshold level. From Robin Green.
2178
2179 2004-08-18 David Daney <ddaney@avtrex.com>
2180
2181 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2182 instead of sigwait.
2183
2184 2004-08-17 Michael Koch <konqueror@gmx.de>
2185
2186 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2187 * Makefile.in: Regenerated.
2188
2189 2004-08-16 Tom Tromey <tromey@redhat.com>
2190
2191 PR java/8473:
2192 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2193
2194 2004-08-16 Michael Koch <konqueror@gmx.de>
2195
2196 * Makefile.am
2197 (math_c_files): Renamed from c_files.
2198 (math_c_source_files): Renamed from c_source_files.
2199 * Makefile.in,
2200 gcj/Makefile.in,
2201 include/Makefile.in,
2202 testsuite/Makefile.in: Regenerated.
2203
2204 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2205
2206 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2207 to avoid autoconf warning.
2208 * configure: Rebuilt.
2209
2210 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2211
2212 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2213 localhostAddress to loopbackAddress.
2214 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2215
2216 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2217
2218 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2219 boehm-gc's include dirs.
2220 * configure: Rebuilt.
2221 * include/boehm-gc.h: Include gc_config.h.
2222
2223 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2224
2225 * java/net/InetAddress.java (loopbackAddress): Renamed from
2226 localhostAddress.
2227 (getByName): Return loopback address for null hostname, without
2228 security check. Use lookup(), not getAllByName.
2229 (getAllByName): Return loopback address for null hostname, without
2230 security check.
2231 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2232 check here.
2233
2234 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2235
2236 PR libgcj/17020
2237 Reported by Robin Green.
2238 * defineclass.cc (handleField): Don't throw exception on unrecognised
2239 modifier. Add FIXME comments for spec compliance.
2240 (handleMethod): Likewise.
2241
2242 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2243
2244 PR libgcj/16662
2245 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2246 (Almost everywhere): add LOG calls, fix, add comments.
2247 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2248 Add explicit check for LOCKED bit in slow case (PR 16662).
2249 (_Jv_MonitorExit): Add casts in debug-only code.
2250 Always release LOCKED bit before throwing exception.
2251 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2252 isn't. Handle easy cases without lock acquisition.
2253 (Object::wait): Use NotifyAll for lock inflation.
2254
2255 2004-08-12 David Daney <ddaney@avtrex.com>
2256
2257 * testsuite/libjava.lang/Process_1.java: New test.
2258 * testsuite/libjava.lang/Process_2.java: New test.
2259 * testsuite/libjava.lang/Process_3.java: New test.
2260 * testsuite/libjava.lang/Process_4.java: New test.
2261 * testsuite/libjava.lang/Process_5.java: New test.
2262 * testsuite/libjava.lang/Process_6.java: New test.
2263 * testsuite/libjava.lang/Process_1.out: Expected result.
2264 * testsuite/libjava.lang/Process_2.out: Expected result.
2265 * testsuite/libjava.lang/Process_3.out: Expected result.
2266 * testsuite/libjava.lang/Process_4.out: Expected result.
2267 * testsuite/libjava.lang/Process_5.out: Expected result.
2268 * testsuite/libjava.lang/Process_6.out: Expected result.
2269
2270 2004-08-12 David Daney <ddaney@avtrex.com>
2271
2272 PR libgcj/11801
2273 * java/lang/PosixProcess.java: Rewrote.
2274 * java/lang/natPosixProcess.cc: Rewrote.
2275 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2276 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2277 * posix-threads.cc (block_sigchld) New function.
2278 (_Jv_ThreadRegister) Use it.
2279 (_Jv_ThreadStart) Use it.
2280 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2281 * Makefile.am: ... to specify extra native headers.
2282 * configure: Regenerated.
2283 * include/config.h: Regenerated.
2284 * Makefile.in: Regenerated.
2285 * gcj/Makefile.in: Regenerated.
2286 * include/Makefile.in: Regenerated.
2287 * testsuite/Makefile.in: Regenerated.
2288
2289 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2290
2291 PR tree-optimization/16867
2292 * testsuite/libjava.lang/PR16867.java: New test.
2293
2294 2004-08-09 Per Bothner <per@bothner.com>
2295
2296 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2297 with private fields and access methods.
2298 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2299 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2300 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2301 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2302 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2303 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2304 * jni.cc: Likewise.
2305 * resolve.cc: Likewise.
2306 * gcj/field.h: Likewise.
2307 * include/jvm.h: Likewise.
2308 * java/lang/Class.h: Likewise.
2309 * java/lang/natClass.cc: Likwise.
2310 * java/lang/natClassLoader.cc: Likewise
2311 * java/lang/reflect/natMethod.cc: Likewise
2312 * verify.cc: Likewise.
2313 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2314 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2315
2316 2004-08-10 Andrew Haley <aph@redhat.com>
2317
2318 * testsuite/libjava.lang/err14.java: New file.
2319 * testsuite/libjava.lang/err14.out: New file.
2320
2321 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2322
2323 * Makefile.am: Fix missing rename from x_nat_headers to
2324 xlib_nat_headers.
2325 * Makefile.in: Regenerated.
2326
2327 2004-08-04 Andrew Haley <aph@redhat.com>
2328
2329 * java/security/BasicPermission.java: Don't check wildcards.
2330
2331 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2332 Michael Koch <konqueror@gmx.de>
2333
2334 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2335 * configure.in: Replaced all usages of AC_LINK_FILES by
2336 AC_CONFIG_LINKS.
2337 * aclocal.m4,
2338 configure: Regenerated.
2339
2340 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2341 Michael Koch <konqueror@gmx.de>
2342
2343 * acconfig.h: Removed.
2344 * Makefile.am: Rename variables for xlib peer to include xlib and
2345 gtk_c_headers to gtk_jni_headers.
2346 * Makefile.in: Regenerated.
2347
2348 2004-08-04 Andrew Haley <aph@redhat.com>
2349
2350 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2351 debugging.
2352
2353 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2354
2355 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2356 Replace most top level 'dnl' comments with '#' comments, conforming
2357 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2358 help strings.
2359 * configure: Rebuilt.
2360
2361 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2362
2363 * acinclude.m4: Include no-executables.m4.
2364 * aclocal.m4: Rebuild.
2365 * configure.in: Convert to the autoconf 2.59 version of
2366 of the no-executables hack, and also of the nonstandard CXX
2367 hack and the multilibbed CC and CXX hack. Change prerequisite
2368 to autoconf 2.59.
2369 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2370 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2371 testsuite/Makefile.in: Regenerate.
2372
2373 2004-08-03 Tom Tromey <tromey@redhat.com>
2374
2375 * jni.cc: Reindented.
2376
2377 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2378
2379 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2380
2381 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2382
2383 * testsuite/libjava.compile/PR16701.java: New test.
2384
2385 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2386
2387 * java/util/Collection.java, java/util/List.java,
2388 java/util/Map.java, java/util/Set.java,
2389 java/util/SortedMap.java, java/util/SortedSet.java:
2390 Added additional exceptions to documentation.
2391
2392 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2393
2394 PR libgcj/16814
2395 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2396 * configure. Regenerate.
2397 * include/win32.h: Explicitly include winsock2.h
2398 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2399 Winsock api.
2400
2401 2004-07-30 Michael Koch <konqueror@gmx.de>
2402
2403 * java/util/zip/GZIPInputStream.java
2404 (GZIPInputStream): Increase buffer size to 4k.
2405 * java/util/zip/GZIPOutputStream.java
2406 (GZIPOutputStream): Likewise.
2407 * java/util/zip/Inflater.java
2408 (setInput): Merged formating with GNU classpath.
2409 * java/util/zip/InflaterInputStream.java
2410 (InflaterInputStream): Increase buffer size to 4k.
2411 (fill): Throw exception if stream ends early.
2412 (read): Merged endless-loop with GNU classpath.
2413 (skip): Increase buffer size to 2k.
2414
2415 2004-07-30 Michael Koch <konqueror@gmx.de>
2416
2417 * gnu/java/awt/EmbeddedWindow.java
2418 (addNotify): Use AccessController to allow execution of privileged
2419 code.
2420
2421 2004-07-29 Michael Koch <konqueror@gmx.de>
2422
2423 * gnu/java/lang/MainThread.java:
2424 Explicitely import used classes.
2425 (args): Make it type String[].
2426
2427 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2428
2429 * gnu/java/awt/ComponentDataBlitOp.java,
2430 gnu/java/beans/ExplicitBeanInfo.java,
2431 gnu/java/beans/IntrospectionIncubator.java,
2432 gnu/java/beans/editors/ColorEditor.java,
2433 gnu/java/beans/editors/FontEditor.java,
2434 gnu/java/beans/editors/NativeBooleanEditor.java,
2435 gnu/java/beans/editors/NativeByteEditor.java,
2436 gnu/java/beans/editors/NativeDoubleEditor.java,
2437 gnu/java/beans/editors/NativeFloatEditor.java,
2438 gnu/java/beans/editors/NativeIntEditor.java,
2439 gnu/java/beans/editors/NativeLongEditor.java,
2440 gnu/java/beans/editors/NativeShortEditor.java,
2441 gnu/java/beans/editors/StringEditor.java,
2442 gnu/java/io/ClassLoaderObjectInputStream.java,
2443 gnu/java/io/decode/Decoder.java,
2444 gnu/java/io/encode/Encoder.java,
2445 gnu/java/lang/ClassHelper.java,
2446 gnu/java/locale/Calendar.java,
2447 gnu/java/locale/Calendar_de.java,
2448 gnu/java/locale/Calendar_en.java,
2449 gnu/java/locale/Calendar_nl.java,
2450 gnu/java/locale/LocaleInformation_de.java,
2451 gnu/java/locale/LocaleInformation_en.java,
2452 gnu/java/locale/LocaleInformation_nl.java:
2453 Cleaned up imports.
2454
2455 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2456
2457 * README: Remove obsolete info. Update bug URL.
2458 * THANKS: Updated.
2459 * NEWS: Updated with news up to GCC 3.4 release.
2460
2461 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2462
2463 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2464 Renamed from 'setName'. New 2-argument form with default value.
2465 (run): Pass default 'value' parameter to System.getProperty().
2466 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2467 typos.
2468 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2469 not 'setName'.
2470
2471 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2472
2473 * configure.in: Check for minimum GTK version 2.4 requirement.
2474 * configure: Rebuilt.
2475
2476 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2477
2478 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2479 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2480 Reduce sleep time.
2481 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2482 compiler bug.
2483 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2484 address. Reduce sleep times. Synchronize with target threads before
2485 attempting to interrupt them. Don't try to calibrate yeild count,
2486 instead, always loop for a fixed time.
2487 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2488 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2489 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2490 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2491 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2492 * testsuite/libjava.lang/pr179.java: Likewise.
2493 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2494 time. Remove upper bounds check on sleep time.
2495
2496 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2497
2498 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2499 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2500
2501 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2502
2503 * java/io/File.java (toURI): Throw RuntimeException, not
2504 InternalError.
2505 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2506 class name, not instance.
2507
2508 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2509
2510 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2511 and gnu/java/security/action/SetAccessibleAction.java.
2512 * Makefile.in: Rebuilt.
2513
2514 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2515
2516 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2517 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2518 _Jv_InitPrimClass.
2519 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2520 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2521 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2522
2523 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2524
2525 * Makefile.am: Replace jar, rmic and rmiregistry references with
2526 gjar, grmic and grmiregistry.
2527 * configure.in: Likewise.
2528 * Makefile.in: Regenerate.
2529 * configure: Likewise.
2530 * gcj/Makefile.in: Likewise.
2531 * include/Makefile.in: Likewise.
2532 * testsuite/Makefile.in: Likewise.
2533
2534 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2535
2536 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2537 for privileged getProperty calls.
2538 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2539 SetAccessibleAction instead of anonymous class for doPrivileged call.
2540 (getMethod): Likewise.
2541 (setAccessible): New field. PrivilegedAction object to use when
2542 calling setAccessible.
2543 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2544 SetAccessibleAction instead of anonymous class for diPrivileged call.
2545 (setFields): Likewise.
2546 (getClassUID): Likewise.
2547 (findMethod): Likewise.
2548 * gnu/java/security/action/GetPropertyAction.java: New class.
2549 * gnu/java/security/action/SetAccessibleAction.java: New class.
2550
2551 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2552
2553 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2554 for final fields.
2555 * testsuite/libjava.lang/Serialization.java: New test.
2556 * testsuite/libjava.lang/Serialization.out: New.
2557
2558 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2559
2560 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2561 missed in last commit.
2562
2563 2004-07-23 Mark Wielaard <mark@klomp.org>
2564
2565 * java/lang/System.java (static): Set http.agent system property when
2566 not yet set.
2567 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2568 from system property inside AccessController.doPrivileged() call.
2569 (proxyPort): Made package private.
2570 (proxyInUse): Likewise.
2571 (proxyHost): Likewise.
2572 (userAgent): Likewise.
2573
2574 2004-07-23 Mark Wielaard <mark@klomp.org>
2575
2576 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2577 implementation.
2578
2579 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2580
2581 * Makefile.am (ordinary_java_source_files): Add
2582 DefaultContentHandlerFactory.java.
2583 * Makefile.in: Rebuilt.
2584 * java/net/URLConnection.java (defaultFactory): New field.
2585 (getContent):
2586 (getContentHandler): Renamed from 'setContentHandler'. Try
2587 defaultFactory after user-set factory, if any. Search for content
2588 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2589 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2590 Implemented.
2591 (getLastModified): Implemented.
2592 (getPermission): Create file permission here, instead of in
2593 constructor.
2594 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2595 Implemented.
2596 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2597 Implemented.
2598 (getLastModified): Implemented.
2599 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2600 Default implementation.
2601 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2602 Implement using GdkPixbufDecoder.
2603
2604 2004-07-21 Michael Koch <konqueror@gmx.de>
2605
2606 * javax/swing/JTextArea.java
2607 (setLineWrap): Fire property change event after new value is set.
2608 (setTabSize): Likewise.
2609
2610 2004-07-21 Michael Koch <konqueror@gmx.de>
2611
2612 * javax/swing/JTable.java
2613 (autoCreateColumnsFromModel): New field.
2614 (autoResizeMode): Likewise.
2615 (cellEditor): Likewise.
2616 (cellSelectionEnabled): Likewise.
2617 (columnModel): Likewise.
2618 (dataModel): Likewise.
2619 (defaultEditorsByColumnClass): Likewise.
2620 (defaultRenderersByColumnClass): Likewise.
2621 (editingColumn): Likewise.
2622 (editingRow): Likewise.
2623 (gridColor): Likewise.
2624 (preferredViewportSize): Likewise.
2625 (rowHeight): Likewise.
2626 (rowMargin): Likewise.
2627 (rowSelectionAllowed): Likewise.
2628 (selectionBackground): Likewise.
2629 (selectionForeground): Likewise.
2630 (selectionModel): Likewise.
2631 (showHorizontalLines): Likewise.
2632 (showVerticalLines): Likewise.
2633 (tableHeader): Likewise.
2634 (JTable): Implemented.
2635 (getColumnModel): Likewise.
2636 (getSelectedRow): Likewise.
2637 (getSelectionModel): Likewise.
2638 (setModel): Likewise.
2639 (setSelectionModel): Likewise.
2640 (createScrollPaneForTable): New method.
2641 (createDefaultDataModel): Likewise.
2642 (createDefaultListSelectionModel): Likewise.
2643 (getModel): Likewise.
2644 (getTableHeader): Likewise.
2645 (setTableHeader): Likewise.
2646 (getColumnSelectionAllowed): Likewise.
2647 (setColumnSelectionAllowed): Likewise.
2648 (getRowSelectionAllowed): Likewise.
2649 (setRowSelectionAllowed): Likewise.
2650 (getAutoResizeMode): Likewise.
2651 (setAutoResizeMode): Likewise.
2652 (getColumnCount): Likewise.
2653 (getRowCount): Likewise.
2654 (getCellRenderer): Likewise.
2655 * javax/swing/JTree.java
2656 (cellRenderer): New field.
2657 (editable): Likewise.
2658 (rootVisible): Likewise.
2659 (showsRootHandles): Likewise.
2660 (getModel): New method.
2661 (setModel): Likewise.
2662 (isEditable): Likewise.
2663 (setEditable): Likewise.
2664 (isRootVisbile): Likewise.
2665 (setRootVisible): Likewise.
2666 (getShowsRootHandles): Likewise.
2667 (setShowRootHandles): Likewise.
2668 (getCellRenderer): Likewise.
2669 (setCellRenderer): Likewise.
2670
2671 2004-07-21 Michael Koch <konqueror@gmx.de>
2672
2673 * javax/swing/JFormattedTextField.java
2674 (setDocument): Implemented.
2675 * javax/swing/JRootPane.java:
2676 Fixed javadocs.
2677 * javax/swing/JTable.java
2678 (getDefaultRenderer): New method.
2679 * javax/swing/JTextField.java
2680 (setFont): Likewise.
2681 (getPreferredSize): Likewise.
2682 * javax/swing/JToggleButton.java
2683 (getAccessibleContext): Fix javadoc.
2684 * javax/swing/JTree.java:
2685 Add some javadocs.
2686 * javax/swing/JViewport.java:
2687 Likewise.
2688
2689 2004-07-21 David Jee <djee@redhat.com>
2690
2691 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2692 Collect all native method declaration at the top.
2693 (create): Set the filename filter if necessary.
2694 (setDirectory): Call nativeSetDirectory().
2695 (setFilenameFilter): Implement.
2696 (filenameFilterCallback): New method.
2697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2698 (create): Configure dialog to show hidden files.
2699 (filenameFilterCallback): New function.
2700 (nativeSetFilenameFilter): New function.
2701 (nativeSetDirectory): New function.
2702
2703 2004-07-21 Kim Ho <kho@redhat.com>
2704
2705 * javax/swing/plaf/basic/BasicSliderUI.java:
2706 Ran Jalopy.
2707 (paintTrack): Fill the track before painting
2708 the borders.
2709
2710 2004-07-21 Graydon Hoare <graydon@redhat.com>
2711
2712 patch from Roman Kennke <roman@ontographics.com>
2713 * javax/swing/Spring.java: New file.
2714 * javax/swing/SpringLayout.java: New file.
2715 * Makefile.am: Add new files.
2716 * Makefile.in: Regenerate.
2717
2718 2004-07-21 Graydon Hoare <graydon@redhat.com>
2719
2720 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2721 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2722 * javax/swing/ScrollPaneLayout.java: Likewise.
2723
2724 2004-07-21 Kim Ho <kho@redhat.com>
2725
2726 * javax/swing/DefaultDesktopManager.java:
2727 (findMinimum): Removed.
2728 (resizeFrame): Trust the UI to pass valid
2729 bounds.
2730 * javax/swing/JOptionPane.java:
2731 Implemented showInternalXXXDialog methods.
2732 (startModal): New method.
2733 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2734 (BorderListener::mouseDragged): Verify that the new
2735 bounds are valid before passing them to the DesktopManager.
2736 (preferredLayoutSize): Delegate
2737 to getSize.
2738 (minimumLayoutSize): Ditto.
2739 (getSize): New method.
2740 (GlassPaneDispatcher): Reimplemented by copying
2741 a stripped down LightweightDispatcher from Container.
2742 (getMinimumSize): Call minimumLayoutSize.
2743 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2744 Ran Jalopy.
2745 (mousePressed): Add ability to properly close
2746 JInternalFrames.
2747 * javax/swing/plaf/basic/BasicToolBarUI.java:
2748 (DragWindow): Set owner for DragWindow.
2749
2750 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2751
2752 * java/awt/image/ShortLookupTable.java: New file.
2753 * java/awt/image/ByteLookupTable.java: New file.
2754 * Makefile.am: Added new files.
2755 * Makefile.in: Regenerated.
2756
2757 2004-07-21 David Jee <djee@redhat.com>
2758
2759 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2760 (create(GtkContainerPeer)): New native method.
2761 (create()): Call native create(), passing in the parent frame
2762 as the paramter. Natively set the current file and directory.
2763 (setFile): Construct an absolute filename before passing it to
2764 the native peer.
2765 (nativeGetDirectory): New method.
2766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2767 (window_closed): Removed.
2768 (ok_clicked): Likewise.
2769 (cancel_clicked): Likewise.
2770 (handle_response): New method.
2771 (create): Use GtkFileChooserDialog.
2772 (connectSignals): Connect to handle_response.
2773 (nativeGetDirectory): New method.
2774 (nativeSetFile): Use GtkFileChooserDialog.
2775
2776 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2777
2778 * java/awt/image/LookupTable.java: New file.
2779 * Makefile.am: Added new file.
2780 * Makefile.in: Regenerated.
2781
2782 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2783
2784 * java/awt/image/Kernel.java: New file.
2785 * Makefile.am: Added new file.
2786 * Makefile.in: Regenerated.
2787
2788 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2789
2790 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2791 * javax/swing/JMenu.java: Likewise.
2792 * javax/swing/JMenuBar.java: Likewise.
2793 (MARGIN_CHANGED_PROPERTY): New property.
2794 (setMargin): Implemented.
2795 * javax/swing/JMenuItem.java: Fixed javadocs.
2796 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2797 (LABEL_CHANGED_PROPERTY): New property.
2798 (add): changed to use createActionComponent.
2799 (createActionComponent): Implemented.
2800 (setLabel): Fire PropertyChangeEvent if label property
2801 changes.
2802 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2803 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2804 (ContainerHandler): Repaint if margin property has changed.
2805 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2806 (installUI): Call installComponents().
2807 (uninstallUI): Call uinstallComponents().
2808 * javax/swing/plaf/basic/BasicMenuUI.java:
2809 Fixed javadocs.
2810 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2811 Likewise.
2812
2813 2004-07-21 Kim Ho <kho@redhat.com>
2814
2815 * javax/swing/plaf/basic/BasicToolBarUI.java:
2816 (DragWindow): Use the right constructor.
2817
2818 2004-07-21 Kim Ho <kho@redhat.com>
2819
2820 * javax/swing/JToolBar.java:
2821 (layoutContainer): Use getComponents.
2822 * javax/swing/plaf/basic/BasicToolBarUI.java:
2823 (DragWindow): Don't use SwingUtilities'
2824 getOwnerFrame
2825 (ToolBarDialog): ditto.
2826
2827 2004-07-21 Kim Ho <kho@redhat.com>
2828
2829 * javax/swing/JRootPane.java:
2830 Ran jalopy.
2831 (layoutContainer): Set the glasspane's size to
2832 be the same as the content pane.
2833 (createGlassPane): Set opaque property to false.
2834
2835 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2836
2837 * java/awt/Component.java (requestFocus()): Don't handle Panels
2838 specially.
2839 (requestFocus(boolean)): Likewise.
2840 (requestFocusInWindow(boolean)): Likewise.
2841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2842 Set GTK_CAN_FOCUS flag.
2843
2844 2004-07-21 Kim Ho <kho@redhat.com>
2845
2846 * Makefile.am: Added new file.
2847 * Makefile.in: Regenerated.
2848 * gcj/Makefile.in: Regenerated.
2849 * include/Makefile.in: Regenerated.
2850 * javax/swing/AbstractButton.java:
2851 Add rollOverEnabled property.
2852 (setRolloverEnabled): Use new property.
2853 (isRolloverEnabled): Use new property.
2854 * javax/swing/JTabbedPane.java:
2855 (setComponent): Remove useless JTabbedPane.this.
2856 * javax/swing/JToolBar.java: Finish implementation.
2857 * javax/swing/plaf/basic/BasicArrowButton.java:
2858 (paint): Moved border painting to a border.
2859 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2860 Change JToolBar look and feel defaults.
2861 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2862 (actionPerformed): Return Integer index instead of name.
2863 (addButtonComponents): Check to see if component is
2864 JButton last.
2865 (createMessageArea): Don't use components that are not
2866 completed yet.
2867 (getIconForType): Use temporary icons.
2868 * javax/swing/plaf/basic/BasicSliderUI.java:
2869 (mousePressed): Do not return if it's on thumb.
2870 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2871 (paintMinorTickForVertSlider): ditto.
2872 (paintMajorTickForHorizSlider): ditto.
2873 (paintMajorTickForVertSlider): ditto.
2874 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2875 Add a border around the SplitPaneDivider.
2876 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2877 Remove comments.
2878 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2879 New file. Implemented.
2880 * javax/swing/plaf/basic/BasicToolBarUI.java:
2881 Implemented.
2882 * testsuite/Makefile.in: Regenerated.
2883
2884 2004-07-21 Graydon Hoare <graydon@redhat.com>
2885
2886 * javax/swing/Timer.java (run): Queue events each time cycle.
2887
2888 2004-07-21 David Jee <djee@redhat.com>
2889
2890 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2891 (imageComplete): Call image.imageComplete().
2892 * java/awt/image/MemoryImageSource.java:
2893 Reimplement consumers as a Vector instead of a Hashtable. This is
2894 because enumeration on a Hashtable is not thread-safe.
2895 (addConsumer): Adapt to Vector consumers.
2896 (isConsumer): Adapt to Vector consumers.
2897 (removeConsumer): Adapt to Vector consumers.
2898 (startProduction): Adapt to Vector consumers. Call imageComplete()
2899 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2900 (newPixels): Adapt to Vector consumers.
2901 (sendPicture): Set the color model of the image consumer.
2902 (newPixels(IIII)): Adapt to Vector consumers.
2903 (newPixels(IIIIB)): Adapt to Vector consumers.
2904
2905 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2906
2907 * java/awt/Component.java (deliverEvent): Implement.
2908 (postEvent): Implement.
2909 (handleEvent): Implement.
2910 (translateEvent): New method.
2911 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2912 * java/awt/Container.java (deliverEvent): Implement.
2913 * java/awt/Event.java (paramString): Fix formatting.
2914 * java/awt/Font.java (toString): Likewise.
2915 * java/awt/Window.java (postEvent): Implement.
2916
2917 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2918
2919 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2920 Set window's focus owner upon receiving a FOCUS_LOST event.
2921 * java/awt/Window.java (Window()): Refocus the previously
2922 focused component within the window when the window regains the
2923 top-level focus.
2924 (setFocusOwner): New method.
2925 * java/awt/Component.java (requestFocus): Add FIXME.
2926
2927 * libgcj.pc.in: Remove library flags.
2928
2929 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2930
2931 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2932 MOUSE_PRESSED event.
2933 * java/awt/Component.java (requestFocus()): Handle Panel
2934 specially. Post FOCUS_LOST event on opposite component.
2935 (requestFocus(boolean)): Likewise.
2936 (requestFocusInWindow(boolean)): Likewise.
2937 (paramString): Reorder dimension fields.
2938 * java/awt/Container.java (paramString): Fix string format.
2939 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2940 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2941 process key events if the focus owner is non-null.
2942 (dispatchKeyEvent): Likewise.
2943 * java/awt/Frame.java (paramString): Fix formatting.
2944 (generateName): New method.
2945 (getUniqueLong): Likewise.
2946 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2947 the temporary focus owner is null. If so, return the permanent
2948 focus owner.
2949 * java/awt/Panel.java (generateName): New method.
2950 (getUniqueLong): Likewise.
2951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2952 signal handling to make callbacks more specific.
2953
2954 2004-07-21 Michael Koch <konqueror@gmx.de>
2955
2956 * javax/swing/text/Position.java
2957 (Bias): Implemented.
2958
2959 2004-07-21 Michael Koch <konqueror@gmx.de>
2960
2961 * javax/swing/LookAndFeel.java
2962 (provideErrorFeedback): New method.
2963
2964 2004-07-21 Michael Koch <konqueror@gmx.de>
2965
2966 * javax/swing/JTextArea.java
2967 (tabSize): New field.
2968 (getTabSize): New method.
2969 (setTabSize): Likewise.
2970
2971 2004-07-21 Michael Koch <konqueror@gmx.de>
2972
2973 * javax/swing/ActionMap.java:
2974 Fixed javadocs all over.
2975 (serialVersionUID): Made private.
2976 (parent): Don't explicitely initialize with default value.
2977 (get): SImplified.
2978 (keys): Reimplemented.
2979 (allKeys): Likewise.
2980 (convertSet): Removed.
2981 * javax/swing/ComponentInputMap.java:
2982 Fixed javadocs all over.
2983 (ComponentInputMap): Implemented.
2984 (put): Likewise.
2985 (clear): Likewise.
2986 (remove): Likewise.
2987 (SetParent): Likewise.
2988 (getComponent): Likewise.
2989 * javax/swing/InputMap.java:
2990 Fixed javadocs all over.
2991 (serialVersionUID): Made private.
2992 (parent): Don't explicitely initialize with default value.
2993 (get): SImplified.
2994 (keys): Reimplemented.
2995 (allKeys): Likewise.
2996 (convertSet): Removed.
2997
2998 2004-07-21 Michael Koch <konqueror@gmx.de>
2999
3000 * javax/swing/ActionMap.java,
3001 javax/swing/ComponentInputMap.java,
3002 javax/swing/InputMap.java,
3003 javax/swing/table/DefaultTableColumnModel.java,
3004 javax/swing/table/TableColumn.java,
3005 javax/swing/table/TableColumnModel.java,
3006 javax/swing/table/TableModel.java,
3007 javax/swing/text/AbstractDocument.java,
3008 javax/swing/text/TextAction.java:
3009 Reformated.
3010
3011 2004-07-21 Graydon Hoare <graydon@redhat.com>
3012
3013 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3014 Make method non-static.
3015 * javax/swing/AbstractButton.java:
3016 Rename fields to match property names where possible.
3017 (iconTextGap): New property.
3018 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3019 (init) New method, call from after various constructors.
3020 * javax/swing/JComponent.java (revalidate):
3021 Invalidate before queueing repair.
3022 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3023 Reimplement in terms of visibleRowCount property.
3024 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3025 * javax/swing/JScrollPane.java (createScrollListener):
3026 Remove tracing chatter.
3027 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3028 * javax/swing/RepaintManager.java (addInvalidComponent):
3029 Don't invalidate.
3030 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3031 calculations.
3032 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3033 Mimic sun behavior on top left/right positioning.
3034 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3035 Remove mistaken use of preferredScrollableViewportSize here.
3036 (layoutContainer): Use view's preferred size as basis.
3037 * javax/swing/plaf/basic/BasicButtonUI.java:
3038 Set, get, and use textIconGap property.
3039 (paint) Paint text returned from layout (with ellipsis).
3040 * javax/swing/plaf/basic/BasicListUI.java:
3041 Remove tracing chatter, correct various minor calculations.
3042 (getCellBounds): Update layout state before calculating.
3043 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3044 Use margin default similar to sun's.
3045 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3046 (createIncreaseIcon): Center icon, minimize margins.
3047 (createDecreaseIcon): Likewise.
3048 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3049 Implement.
3050 (installUI): Call it.
3051 (uninstallDefaults): Implement.
3052 (uninstallUI): Call it.
3053 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3054 Call existing Window constructor.
3055 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3056 Set clip before painting.
3057
3058 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3059
3060 * javax/swing/JMenuItem.java:
3061 (processMouseEvent): Reimplemented to deal with
3062 mouse drag events.
3063 (createMenuDragMouseEvent): New private helper method.
3064 Creates MenuDragMouseEvent.
3065 * javax/swing/MenuSelectionManager.java
3066 (componentForPoint): Implemented.
3067 (isComponentPartOfCurrentMenu): Made public.
3068 (processMouseEvent): Reimplemented to deal with
3069 mouse drag events.
3070 (setSelectedPath): Corrected small mistake that caused
3071 path to be set incorrectly.
3072 (getPath): If given component is JMenu then also add this
3073 menu's popup menu to the selected path.
3074 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3075 (getPath): Ditto.
3076 (getPreferredSize): Call getPreferredMenuItemSize().
3077 (getPreferredItemSize): Moved code from getPreferredSize to here.
3078 (installListeners): Install MouseMotionListeners.
3079 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3080 if mouse wasn't released in the bounds of this menu item.
3081 (MenuDragMouseHandler): Implemented.
3082 * javax/swing/plaf/basic/BasicMenuUI.java:
3083 (installListeners): Install MouseMotionListener and
3084 MenuDrageMouseListener.
3085 (MenuDragMouseHandler): Implemented.
3086 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3087 (uninstallListeners): Implemented.
3088
3089 2004-07-21 Michael Koch <konqueror@gmx.de>
3090
3091 * javax/swing/JCheckBox.java: Reformated.
3092 (JCheckBox): Fixed all constructors.
3093 (isBorderPaintedFlat): New method.
3094 (setBorderPaintedFlat): New method.
3095 * javax/swing/JEditorPane.java
3096 (createEditorKitForContentType): Made public.
3097 (scrollToReference): Likewise.
3098 * javax/swing/JTextArea.java
3099 (setLineWrap): Fire property change.
3100 * javax/swing/JToggleButton.java
3101 (JToggleButton): New constructor.
3102 (JToggleButton): Simplified.
3103 * javax/swing/text/AttributeSet.java
3104 (FontAttribute): Renamed from FontCharacterAttribute.
3105 * javax/swing/text/JTextComponent.java
3106 (KeyBinBinding): Added javadoc.
3107 (JTextComponent): Likewise.
3108 (getAccessibleContext): Fixed javadoc.
3109 * javax/swing/text/View.java
3110 (View): Added javadoc.
3111 * javax/swing/text/TabableView.java: New file.
3112 * Makefile.am: Added javax/swing/text/TabableView.java.
3113 * Makefile.in: Regenerated.
3114
3115 2004-07-21 Graydon Hoare <graydon@redhat.com>
3116
3117 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3118 * gnu/java/awt/peer/gtk/GtkToolkit.java
3119 (GtkErrorImage): New helper class.
3120 (bufferedImageOrError): New helper method.
3121 (createImage): Use it.
3122
3123 2004-07-21 David Jee <djee@redhat.com>
3124
3125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3126 (setCaretPosition): Scroll the text view so the new caret position
3127 is visible on screen.
3128
3129 2004-07-21 David Jee <djee@redhat.com>
3130
3131 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3132 (setBounds): Do not validate awtComponent here.
3133 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3134 (getPreferredSize): New method.
3135 * java/awt/ScrollPane.java
3136 (ScrollPane): Set default size to 100x100.
3137 (addNotify): If child is not a Panel, wrap it with a new Panel.
3138 (paramString): Implement.
3139
3140 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3141
3142 * javax/swing/JMenu.java:
3143 (setSelected): Display popup menu only if this menu
3144 is showing on the screen.
3145 * javax/swing/JPopupMenu.java:
3146 (processMouseEvent): Added comment.
3147 (processKeyEvent): Likewise.
3148 * javax/swing/MenuSelectionManager.java:
3149 (clearSelectedPath): Only fireStateChanged() after
3150 selected path was changed, not before.
3151 (setSelectedPath): Likewise.
3152 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3153 (paintMenuItem): Corrected position of menu item's
3154 icon.
3155 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3156 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3157 (popupMenuCanceled): Reimplemented.
3158 (popupMenuWillBecomeVisible): Select first menu item by default
3159 when displaying free floating popup menus.
3160 (TopWindowListener): Reimplemented.
3161
3162 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3163
3164 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3165 Panel from being painted twice when it is first shown.
3166
3167 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3168
3169 * java/awt/Window.java: Reverted changes from my
3170 previous patch for creating window without an owner.
3171 * javax/swing/SwingUtilities.java:
3172 (SwingUtilities.OwnerFrame): made static.
3173 (OwnerFrame.setVisible): New method. Overridden with
3174 empty implementation.
3175 (OwnerFrame.isShowing): New method. Ovverridden
3176 to return always true.
3177
3178 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3179
3180 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3181 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3182 (GtkComponentPeer): Remove temporary try/catch block.
3183 (setVisible): Call show and hide.
3184 (show): Make native.
3185 (hide): Likewise.
3186 (getArgs): Don't add "visible" argument.
3187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3188 (property_notify_predicate): Return Bool instead of int.
3189 (find_layout): New function.
3190 (connectJObject): Call find_layout.
3191 (connectSignals): Likewise.
3192 (moveLayout): Likewise.
3193 (gtkLayoutSetVisible): Likewise.
3194
3195 2004-07-21 Mark Wielaard <mark@klomp.org>
3196
3197 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3198 on notifier object before calling notifyAll().
3199
3200 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3201
3202 * java/awt/Window.java: Changed constructors to use new
3203 method that is described below. Constructors call this
3204 methods only if newly created window should have an owner.
3205 (setWindowOwner): New method. Implementation for
3206 this method is moved from this(owner,configuration).
3207 * javax/swing/JWindow.java:
3208 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3209 instead of owner.
3210 * javax/swing/SwingUtilities.java:
3211 (ownerFrame): Change type of this field to OwnerFrame.
3212 (getOwnerFrame): Changed to return object of type OwnerFrame.
3213 (SwingUtilities.OwnerFrame): New class. Represents owner
3214 of a Window that is not provided with one.
3215
3216 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3217
3218 * javax/swing/AbstractButton.java:
3219 (configurePropertiesFromAction): Set action command
3220 to button's text by default if action command is not
3221 explicitely specified.
3222 * javax/swing/JMenu.java: Remove unnecessary listener
3223 and methods relevant to it.
3224 (setSelected): Reimplemented.
3225 (menuSelectionChanged): Moved most part of implementation to
3226 setSelected() and call it instead.
3227 * javax/swing/JMenuItem.java:
3228 (init): Comment out statement that sets paint_border to false.
3229 (configurePropertiesFromAction): Do not set accelerator
3230 for JMenu.
3231 (menuSelectionChanged): Change selected index in the selection
3232 model of menu item's parent.
3233 * javax/swing/JPopupMenu.java:
3234 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3235 instead of GridBagConstraints.HORIZONTAL.
3236 (insert): Likewise.
3237 (createActionChangeListener): Implemented.
3238 (setVisible): Correct location of HeavyWeightMenu and
3239 don't firePopupMenuCanceled().
3240 (menuSelectionChanged): Implemented.
3241 (ActionChangeListener): New Listener. Implemented.
3242 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3243 (BasicMenuBarUI.ContainerHandler): Implemented.
3244 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3245 (paintMenuItem): Uncommented out code that paints
3246 icon, now that icons are working properly.
3247 (PropertyChangeListener): Implemented.
3248 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3249 Added javadocs.
3250 (topWindowListener): New field.
3251 (Constructor): initialize topWindowListener.
3252 (BasicPopupMenuUI.TopWindowListener): Implemented.
3253 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3254 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3255 Implemented.
3256
3257 2004-07-21 Michael Koch <konqueror@gmx.de>
3258
3259 * javax/swing/plaf/basic/BasicButtonUI.java
3260 (paintFocus): Fixed method signature.
3261 (paintButtonPressed): Likewise.
3262 (paintButtonNormal): Likewise.
3263 (paintText): New method.
3264 * javax/swing/plaf/basic/BasicLabelUI.java
3265 (paint): Re-indented.
3266 * javax/swing/plaf/basic/BasicTextUI.java
3267 (installUI): Set parent textComponent to opaque.
3268 * javax/swing/text/DefaultHighlighter.java
3269 (checkPositions): New helper method.
3270 (addHighlight): Throws BadLocationException, check positions.
3271 (changeHighlight): Likewise.
3272 * javax/swing/text/EditorKit.java
3273 (EditorKit): Implements Serializable.
3274 * javax/swing/text/JTextComponent.java
3275 (getUI): Added javadoc.
3276 (setUI): Likewise.
3277 (upadteUI): Added javadoc, don't revalidate and repaint.
3278
3279 2004-07-21 David Jee <djee@redhat.com>
3280
3281 * java/awt/GridBagLayout.java
3282 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3283 * javax/swing/AbstractButton.java
3284 (setText): Reindent.
3285 * javax/swing/RepaintManager.java
3286 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3287
3288 2004-07-21 Michael Koch <konqueror@gmx.de>
3289
3290 * javax/swing/JFormattedTextField.java
3291 (value): New field.
3292 (JFormattedTextField): Implemented.
3293 (getValue): Likewise.
3294 (setValue): Likewise.
3295 * javax/swing/LookAndFeel.java
3296 (getSupportsWindowDecorations): New method.
3297 * javax/swing/UIDefaults.java:
3298 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3299 (addPropertyChangeListener): Made public.
3300 (addResourceBundle): Likewise.
3301 (removeResourceBundle): Likewise.
3302 (setDefaultLocale): Likewise.
3303 * javax/swing/plaf/basic/BasicRootPaneUI.java
3304 (BasicRootPaneUI): Implements PropertyChangeListener.
3305 (propertyChange): New method.
3306 * javax/swing/plaf/basic/BasicTextUI.java
3307 (BasicHighlighter): New inner class.
3308 (createHighlighter): New method.
3309 * javax/swing/plaf/basic/BasicToolBarUI.java
3310 (DragWindow): Extends java.awt.Window.
3311 * javax/swing/text/JTextComponent.java
3312 (getDocument): Removed debug output.
3313 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3314 javax/swing/text/DefaultHighlighter.java,
3315 javax/swing/text/FieldView.java,
3316 javax/swing/text/PlainView.java: New files.
3317 * Makefile.am: Added new files.
3318 * Makefile.in: Regenerated.
3319
3320 2004-07-21 Michael Koch <konqueror@gmx.de>
3321
3322 * javax/swing/JEditorPane.java
3323 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3324 (createEditorKitForContentType): Likewise.
3325 * javax/swing/text/DefaultEditorKit.java
3326 (serialVersionUID): Added constant field.
3327 (EndOfLineStringPropery): Fixed typo.
3328 (DefaultEditorKit): New constructor.
3329 * javax/swing/text/Segment.java:
3330 Import java.text.CharacterIterator.
3331 * javax/swing/text/CharacterIterator.java,
3332 javax/swing/text/PlainEditorKit.java: Removed.
3333 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3334 javax/swing/text/PlainEditorKit.java.
3335 * Makefile.in: Regenerated.
3336
3337 2004-07-21 Michael Koch <konqueror@gmx.de>
3338
3339 * javax/swing/JButton.java,
3340 javax/swing/text/DefaultEditorKit.java,
3341 javax/swing/text/EditorKit.java,
3342 javax/swing/text/Segment.java,
3343 javax/swing/text/StyledEditorKit.java:
3344 Reformatted.
3345
3346 2004-07-21 Michael Koch <konqueror@gmx.de>
3347
3348 * javax/swing/ImageIcon.java
3349 (file): Removed.
3350 (description): Renamed from descr.
3351 (ImageIcon): Added missing constructors.
3352 (setParent): Removed.
3353 (setImageObserver): New method.
3354 (getImageObserver): New method.
3355 (paintIcon): Handle observer = null.
3356 * javax/swing/JButton.java
3357 (removeNotify): Fixed javadoc.
3358 (updateUI): Simplified.
3359 * javax/swing/JRootPane.java
3360 (serialVersionUID): New constant field.
3361 * javax/swing/UIManager.java:
3362 Fixed javadocs all over.
3363 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3364 * javax/swing/text/AbstractDocument.java
3365 (createPosition): Throws BadLocationException.
3366 (getText): Likewise.
3367 (remove): Likewise.
3368 * javax/swing/text/ComponentView.java
3369 (modelToView): Likewise.
3370 * javax/swing/text/DefaultEditorKit.java:
3371 Made all public methods public.
3372 (read): Throws BadLocationException and IOException.
3373 (write): Likewise.
3374 * javax/swing/text/EditorKit.java:
3375 Made all public methods public.
3376 (serialVersionUID): New constant field.
3377 (clone): New method.
3378 (read): Throws BadLocationException and IOException.
3379 (write): Likewise.
3380 * javax/swing/text/Segment.java
3381 (array): Made public.
3382 (count): Likewise.
3383 (offset): Likewise.
3384 (Segment): New constructors.
3385 (clone): Reimplemented.
3386 * javax/swing/text/StyledEditorKit.java
3387 (serialVersionUID): New constant field.
3388
3389 2004-07-21 Graydon Hoare <graydon@redhat.com>
3390
3391 * java/awt/image/BufferedImage.java
3392 (getSource): Implement.
3393 * javax/swing/ImageIcon.java
3394 (ImageIcon): Implement ctor.
3395 * javax/swing/ScrollPaneLayout.java
3396 (preferredLayoutSize): Be more careful about nulls.
3397
3398 2004-07-21 Michael Koch <konqueror@gmx.de>
3399
3400 * javax/swing/text/AttributeSet.java
3401 (CharacterAttribute): New interface
3402 (ColorAttribute): Likewise.
3403 (FontCharacterAttribute): Likewise.
3404 (ParagraphAttribute): Likewise.
3405 * javax/swing/text/DefaultCaret.java
3406 (moveCaret): New method.
3407 (positionCaret): Likewise.
3408 (repaint): Made protected.
3409 * javax/swing/text/JTextComponent.java
3410 (KeyBinding): Made it static.
3411 * javax/swing/text/View.java
3412 (getContainer): Honor parent == null.
3413
3414 2004-07-21 Michael Koch <konqueror@gmx.de>
3415
3416 * javax/swing/text/AbstractDocument.java:
3417 Reformatted.
3418
3419 2004-07-21 Michael Koch <konqueror@gmx.de>
3420
3421 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3422 Import javax.swing.UIManager explicitely.
3423 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3424 (ScrollingButton): Made it static.
3425
3426 2004-07-21 Michael Koch <konqueror@gmx.de>
3427
3428 * javax/swing/UIDefaults.java
3429 (ActiveValue): Made public.
3430 (LazyValue): Likewise.
3431 * javax/swing/plaf/basic/BasicTextUI.java
3432 (RootView): Reintroduced.
3433 (view): Removed.
3434 (rootView): New field.
3435 (installUI): Create document if needed, initialize rootView.
3436 (uninstallUI): Hanle rootView.
3437 (paint): Likewise.
3438 (getRootView): Likewise.
3439 (setView): Likewise.
3440 * javax/swing/text/DefaultCaret.java:
3441 Renamed all "evt" variables to "event".
3442
3443 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3444
3445 * libgcj.spec.in: Add -l-java-util-logging.
3446
3447 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3448
3449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3450 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3451 gtk-xft-dpi can no calculate the right value.
3452 (dpi_changed_cb): Mark *pspec as unsused.
3453
3454 2004-07-21 David Jee <djee@redhat.com>
3455
3456 * java/awt/Component.java
3457 (move): Delegate to setBounds().
3458 (resize): Likewise.
3459 (reshape): Fix so it repaints parent and self only when necessary.
3460
3461 2004-07-21 David Jee <djee@redhat.com>
3462
3463 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3464 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3465 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3466 (setVisible): Likewise.
3467 (show): Likewise.
3468 (hide): Likewise.
3469 (getArgs): Likewise.
3470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3471 (property_notify_predicate): Likewise.
3472 (find_layout): Likewise.
3473 (connectJObject): Likewise.
3474 (connectSignals): Likewise.
3475 (moveLayout): Likewise.
3476 (gtkLayoutSetVisible): Likewise.
3477
3478 2004-07-21 Graydon Hoare <graydon@redhat.com>
3479
3480 * Makefile.am
3481 (jv_convert_LDADD):
3482 (gij_LDADD):
3483 (rmic_LDADD):
3484 (rmiregistry_LDADD): Add lib-java-util-logging.la
3485 * Makefile.in: Regenerate.
3486
3487 2004-07-21 Michael Koch <konqueror@gmx.de>
3488
3489 * javax/swing/text/AbstractDocument.java
3490 (replace): Dont use protected method of java.util.Vector directly.
3491
3492 2004-07-21 Michael Koch <konqueror@gmx.de>
3493
3494 * javax/swing/plaf/basic/BasicTextUI.java
3495 (installUI): Call specialized install methods.
3496 (installDefaults): New method.
3497 (installListeners): Likewise.
3498 (installKeyboardActions): Likewise.
3499 (uninstallUI): Likewise.
3500 (uninstallDefaults): New method.
3501 (uninstallListeners): Likewise.
3502 (uninstallKeyboardActions): Likewise.
3503 (getPropertyPrefix): New abstract method.
3504 (paint): Made final, just call paintSafely().
3505 (paintSavely): New method.
3506 (paintBackground): Likewise.
3507 (getVisibleEditorRect): Likewise.
3508 * javax/swing/text/LayeredHighlighter.java,
3509 javax/swing/text/TabExpander.java: New files.
3510 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3511 and javax/swing/text/TabExpander.java.
3512 * Makefile.in: Regenerated.
3513
3514 2004-07-21 Michael Koch <konqueror@gmx.de>
3515
3516 * javax/swing/plaf/basic/BasicTextUI.java
3517 (BasicTextUI): Made abstract.
3518 (BasicCaret): New inner class.
3519 (view): Don't explicitely initialize with "null".
3520 (textComponent): New field.
3521 (textColor): Removed.
3522 (disabledTextColor): Removed.
3523 (normalBackgroundColor): Removed.
3524 (RootView): Removed commented out inner class.
3525 (createUI): Removed.
3526 (createCaret): New method.
3527 (getComponent): Likewise.
3528 (installUI): Initialize textComponent only.
3529 (getPreferredSize): Use installed JTextComponent.
3530 (setView): New method.
3531 (create): Likewise.
3532 * javax/swing/text/JTextComponent.java
3533 (highlighter): New field.
3534 (caretColor): Likewise.
3535 (disabledTextColor): Likewise.
3536 (seletedTextColor): Likewise.
3537 (selectionColor): Likewise.
3538 (setUI): New method.
3539 (getCaretColor): Likewise.
3540 (setCaretColor): Likewise.
3541 (getDisabledColor): Likewise.
3542 (setDisabledColor): Likewise.
3543 (getSelectedTextColor): Likewise.
3544 (setSelectedTextColor): Likewise.
3545 (getSelectionColor): Likewise.
3546 (setSelectionColor): Likewise.
3547 (getHighlighter): Likewise.
3548 (setHighlighter): Likewise.
3549 (replaceSelection): Likewise.
3550
3551 2004-07-21 Michael Koch <konqueror@gmx.de>
3552
3553 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3554 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3555 * javax/swing/plaf/basic/BasicToolBarUI.java
3556 (BasicToolBarUI): Implements SwingConstants.
3557
3558 2004-07-21 Michael Koch <konqueror@gmx.de>
3559
3560 * javax/swing/JPopupMenu.java: Removed CVS tags.
3561 * javax/swing/UIDefaults.java: Reformatted.
3562 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3563 Explicitely import used classes.
3564
3565 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3566
3567 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3568 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3569 (GtkComponentPeer): Remove temporary try/catch block.
3570 (setVisible): Call show and hide.
3571 (show): Make native.
3572 (hide): Likewise.
3573 (getArgs): Don't add "visible" argument.
3574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3575 (property_notify_predicate): Return Bool instead of int.
3576 (find_layout): New function.
3577 (connectJObject): Call find_layout.
3578 (connectSignals): Likewise.
3579 (moveLayout): Likewise.
3580 (gtkLayoutSetVisible): Likewise.
3581
3582 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3583
3584 * javax/swing/AbstractButton.java:
3585 (setDisplayedMnemonicIndex): Check if button
3586 text is not null before checking its length.
3587 * javax/swing/JMenuItem.java:
3588 (processMouseEvent): Disarm menu item if mouse has
3589 exited it.
3590 * javax/swing/plaf/basic/BasicMenuUI.java:
3591 (MouseInputHandler.mouseEntered): Do not raise
3592 popup menu if this menu is already selected.
3593 (MouseInputHandler.mousePressed): Do not fire
3594 MenuEvents.
3595 (MenuHandler): Implemented.
3596
3597 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3598
3599 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3600 (getSelectedObjects): Implemented.
3601 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3602 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3603 Added javadoc for few methods.
3604 (processMouseEvent): Made public.
3605 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3606 (processMouseEvent): Likewise.
3607
3608 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3609
3610 * javax/swing/AbstractButton.java:
3611 (init): Set display mnemonic index to -1.
3612 (setMnemonic(char)): Use setMnemonic(int).
3613 (setMnemonic(int)): Set display mnemonic index.
3614 (getDisplayedMnemonicIndex): Change method signature
3615 by removing 'index' parameter.
3616 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3617 Added default for Menu.selectionBackground.
3618 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3619 (paintMenuItem): Change background color of the selected
3620 menu item.
3621 (paintText): Paint differently when menu item is disabled.
3622 Also paint mnemonic if it appears in the menu item's label.
3623 (paintAccelerator): Paint accelerator differently
3624 if menu item is disabled.
3625 * javax/swing/plaf/basic/BasicMenuUI.java:
3626 (installDefaults): Install defaults for
3627 selectionForeground and selectionBackground.
3628 (uninstallDefaults): Uninstall defauls for
3629 selectionForeground and selectionBackground.
3630
3631 2004-07-21 Michael Koch <konqueror@gmx.de>
3632
3633 * javax/swing/text/AbstractDocument.java
3634 (BranchElement): Implemented.
3635 (LeafElement): Implemented.
3636 * javax/swing/text/DefaultCaret.java:
3637 Import used classes.
3638 (serialVersionUID): New constant.
3639 * javax/swing/text/JTextComponent.java
3640 (AccessibleJTextComponent): Removed dead declaration.
3641 (caretPos): Removed.
3642 (setCaret): New method.
3643 * javax/swing/text/PlainDocument.java
3644 (rootElement): New field.
3645 (PlainDocument): Initialize rootElement.
3646 (createDefaultRoot): New method.
3647 (getDefaultRootElement): Implemented.
3648 * javax/swing/text/View.java: Reformatted.
3649 * javax/swing/text/ViewFactory.java
3650 (create): Added javadoc.
3651
3652 2004-07-21 Michael Koch <konqueror@gmx.de>
3653
3654 * javax/swing/ToolTipManager.java: Reformatted.
3655
3656 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3657
3658 * javax/swing/AbstractButton.java
3659 (changeEvent): New field.
3660 (fireItemStateChanged): Change source of the event
3661 to 'this' before firing it to button listeners.
3662 (fireActionPerformed): Likewise.
3663 (fireStateChanged): Likewise.
3664 (createActionListener): Do not set source
3665 of the event to AbstractButton.
3666 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3667 (ContainerHandler.componentAdded): Removed
3668 print out statement.
3669 (ContainerHandler.componentRemoved): Likewise.
3670
3671 2004-07-21 Michael Koch <konqueror@gmx.de>
3672
3673 * javax/swing/text/Highlighter.java: New file.
3674 * Makefile.am: Added javax/swing/text/Highlighter.java.
3675 * Makefile.in: Regenerated.
3676
3677 2004-07-21 Michael Koch <konqueror@gmx.de>
3678
3679 * javax/swing/ToolTipManager.java
3680 (stillInsideTimerAction): Fixed constructor arguments.
3681 (outsideTimerAction): Likewise.
3682 (insideTimerAction): Likewise.
3683
3684 2004-07-21 Michael Koch <konqueror@gmx.de>
3685
3686 * javax/swing/JButton.java: Reformatted.
3687 * javax/swing/JFormattedTextField.java
3688 (getUIClassID): Implemented.
3689 * javax/swing/JRootPane.java
3690 (serialVersionUID): New constant.
3691 * javax/swing/JTextField.java
3692 (align): New field.
3693 (JTextField): Simplified.
3694 (getUIClassID): New method.
3695 (getActionListeners): Added @since tag.
3696 (setColumns): Invalidate layout and repaint.
3697 (getHorizontalAlignment): New method.
3698 (setHorizontalAlignment): New method.
3699 (selectAll): Removed.
3700 * javax/swing/SwingUtilities.java
3701 (getAncestorOfClass): Removed redundant @see tag.
3702 (isLeftMouseButton): Fixed implementation.
3703 (isMiddleMouseButton): Likewise.
3704 (isRightMouseButton): Likewise.
3705 * javax/swing/text/AbstractDocument.java
3706 (AttributeContext.addAttribute): New method.
3707 (AttributeContext.addAttributes): New method.
3708 (AttributeContext.getEmptySet): New method.
3709 (AttributeContext.reclaim): New method.
3710 (AttributeContext.removeAttribute): New method.
3711 (AttributeContext.removeAttributes): New method.
3712 * javax/swing/text/Document.java
3713 (createPosition): Throws BadLocationException.
3714 (getText): Likewise.
3715 (remove): Likewise.
3716 * javax/swing/text/JTextComponent.java
3717 (getText): Return null if no document is set. Catch
3718 BadLocationException.
3719 (getUI): Return ui.
3720 (updateUI): Simplified.
3721
3722 2004-07-21 Michael Koch <konqueror@gmx.de>
3723
3724 * javax/swing/JButton.java
3725 (removeNotify): Fixed javadoc.
3726 (updateUI): Simplified.
3727
3728 2004-07-21 David Jee <djee@redhat.com>
3729
3730 * gnu/java/awt/image/ImageDecoder.java
3731 (startProduction): Only add consumer if it's not added yet.
3732 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3733 (GdkPixbufDecoder): Don't call initState() here.
3734 (produce): Call initState() here, to ensure area_prepared and
3735 area_updated signals are properly connected.
3736 * gnu/java/awt/peer/gtk/GtkImage.java
3737 (setColorModel): Use equals() to compare ColorModel objects.
3738 (setPixels): Likewise.
3739 * java/awt/image/ColorModel.java
3740 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3741 * java/awt/image/RGBImageFilter.java
3742 (setColorModel): Set consumer's color model.
3743 (setPixels): Use equals() to compare ColorModel objects.
3744
3745 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3746
3747 * java/net/URLConnection.java (position): New field.
3748 (dateFormat1, dateFormat2, dateFormat3): Removed.
3749 (dateFormats): New field.
3750 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3751 each time instead of re-allocating.
3752 (initializeDateFormats): Initialize 'dateFormats'.
3753
3754 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3755
3756 PR libgcj/16591
3757 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3758 is defined.
3759
3760 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3761
3762 * java/net/Socket.java (getImpl): Now private. Remove comment.
3763
3764 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3765
3766 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3767 of chained Writer when calling super-constructor.
3768 * java/io/FilterWriter.java (FilterWriter): Likewise.
3769 * java/io/PrintWriter.java (PrintWriter): Likewise.
3770
3771 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3772
3773 * prims.cc (process_gcj_properties): Don't increment i within LHS
3774 of assignment.
3775
3776 2004-07-19 Per Bothner <per@bothner.com>
3777
3778 Print -verbose:message on "loading", not initialization.
3779 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3780 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3781 gcj::verbose_class_flag.
3782 * java/lang/natClass.cc (initializeClass): Don't print message here.
3783 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3784 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3785 (_Jv_PrepareCompiledClass): Likewise.
3786
3787 2004-07-18 Matthias Klose <doko@debian.org>
3788
3789 * configure.in: Substitute target_noncanonical.
3790 * configure: Regenerate
3791
3792 2004-07-17 Michael Koch <konqueror@gmx.de>
3793
3794 * java/lang/String.java: Fixed javadocs all over.
3795
3796 2004-07-17 Mark Wielaard <mark@klomp.org>
3797
3798 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3799 when size is smaller.
3800 * java/io/RandomAccessFile.java (setLength): Use truncate for
3801 shrinking the file and seek plus write for expanding the file.
3802
3803 2004-07-17 Michael Koch <konqueror@gmx.de>
3804
3805 * gnu/java/nio/channels/natFileChannelPosix.cc
3806 (implTruncate): Always save current position. Only reposition file
3807 pointer to where we started if not beyond new lenght. Reposition file
3808 pointer to file length if it points beyond the end of file.
3809
3810 2004-07-17 Mark Wielaard <mark@klomp.org>
3811
3812 * javax/swing/Box.java: Put FIXME comment above class declaration.
3813 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3814 * javax/swing/JCheckBox.java: Likewise.
3815 * javax/swing/JDialog.java: Likewise.
3816 * javax/swing/JRadioButton.java: Likewise.
3817 * javax/swing/JToggleButton.java: Likewise.
3818 * javax/swing/UIManager.java: Likewise.
3819 * javax/swing/border/TitledBorder.java: Likewise.
3820 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3821 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3822 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3823 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3824 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3825 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3826 * javax/swing/text/JTextComponent.java: Likewise.
3827
3828 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3829
3830 * java/net/DatagramPacket.java (setAddress): Removed check for
3831 null address.
3832
3833 2004-07-17 Michael Koch <konqueror@gmx.de>
3834
3835 * java/net/DatagramSocket.java
3836 (getLocalAddress): Check if socket is bound or not.
3837 * java/net/Socket.java
3838 (getLocalAddrss): Check if socket is bound or not.
3839 (getPort): Return -1 when not connected. Dont check getImpl() for
3840 null.
3841 (setReuseAddress): Check if socket is closed.
3842 (isConnected): Check if getImpl() returns null.
3843
3844 2004-07-17 Mark Wielaard <mark@klomp.org>
3845
3846 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3847 on notifier object before calling notifyAll().
3848
3849 2004-07-17 Michael Koch <konqueror@gmx.de>
3850
3851 * gnu/java/nio/channels/FileChannelImpl.java
3852 (finalize): Added javadoc.
3853
3854 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3855
3856 * java/text/CollationElementIterator.java
3857 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3858 (setText): Use ArrayList instead of Vector.
3859
3860 2004-07-17 Michael Koch <konqueror@gmx.de>
3861
3862 * java/nio/ByteOrder.java
3863 (static): Removed. Not needed.
3864 Thanks to Patrick Reali for noticing.
3865 * java/nio/charset/CharsetDecoder.java
3866 (decode): Fix for classpath bug #9177: Reset state before flipping.
3867
3868 2004-07-17 Michael Koch <konqueror@gmx.de>
3869
3870 * java/security/Security.java: Fixed javadocs all over.
3871
3872 2004-07-17 Michael Koch <konqueror@gmx.de>
3873
3874 * gnu/java/awt/EmbeddedWindow.java
3875 (static): Removed.
3876 (addNotify): Set peer via reflection.
3877 (setWindowPeer): Removed.
3878 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3879 * Makefile.am (nat_source_files):
3880 Removed gnu/java/awt/natEmbeddedWindow.cc.
3881 * Makefile.in: Regenerated.
3882
3883 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3884
3885 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3886 assignment.
3887 * configure: Regenerated.
3888
3889 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3890
3891 * configure.in: Use build_noncanonical rather than build_alias.
3892 * configure: Rebuild.
3893
3894 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3895 by logic refactoring. Move default definition of NATIVE closer
3896 to first alternate definition.
3897 * configure: Regenerate.
3898
3899 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3900 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3901 gcj/Makefile.in: Regenerate.
3902 * configure.in: Set ZIP and GCJH. Remove redundant condition
3903 in AM_CONDITIONAL(NATIVE,...)
3904 * configure: Regenerate.
3905
3906 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3907
3908 * configure.in: Use target_noncanonical rather than
3909 target_alias for forward-compatibility with autoconf 2.59.
3910 * configure: Regenerate.
3911 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3912 testsuite/Makefile.am: Substitute target_noncanonical.
3913 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3914 testsuite/Makefile.in: Regenerate.
3915
3916 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3917 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3918 * acinclude.m4: Include acx.m4.
3919 * aclocal.m4: Regenerate.
3920 * configure: Regenerate.
3921
3922 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3923
3924 PR libgcj/16574
3925 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3926 (decimalFormat): New static variable.
3927 (sbuf): Likewise.
3928 (getTime): New. Override Date.getTime().
3929 (toString): Synchronize. Use decimalFormat to format nanos value
3930 correctly. Truncate extra zeros.
3931 (before): Compare getNanos() only if getTime() is equal.
3932 (after): Likewise.
3933
3934 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3935
3936 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3937 * configure.in: ...here.
3938 * aclocal.m4: Regenerate.
3939 * configure: Regenerate.
3940
3941 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3942 * configure: Rebuilt with autoconf 2.13.
3943 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3944 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3945
3946 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3947
3948 PR libgcj/16204
3949 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3950 large file support.
3951 * Makefile.in: Rebuilt.
3952 * testsuite/libjava.lang/LargeFile.java: New test case.
3953 * testsuite/libjava.lang/LargeFile.out: New file.
3954
3955 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3956
3957 * java/beans/EventHandler.java: Remove debugging statements.
3958
3959 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3960
3961 * java/beans/EventHandler.java: New file.
3962 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3963 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3964 testsuite/Makefile.in: Regenerate.
3965
3966 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3967
3968 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3969 flag to the gcj_setup.
3970 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3971 the tclsh.
3972 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3973 deprecation flag change. 58 XFAILS removed.
3974
3975 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3976
3977 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3978 -fno-use-divide-subroutine.
3979 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3980 (HANDLE_FPE): Define.
3981 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3982 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3983 (HANDLE_DIVIDE_OVERFLOW): Define.
3984
3985 2004-07-14 Michael Koch <konqueror@gmx.de>
3986 Matthias Klose <doko@debian.org>
3987
3988 * java/awt/im/InputContext.java: Initialize in, line.
3989
3990 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3991
3992 * interpret.cc (run): Correctly access libffi return values of
3993 integral smaller-than-int type; these are implicitly promoted.
3994
3995 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3996
3997 PR libgcj/7587
3998 * interpret.cc (compile_mutex): New.
3999 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4000 (run): Lock compile_mutex before calling compile() if compilation is
4001 required.
4002 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4003 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4004
4005 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4006
4007 PR libgcj/15713
4008 * include/jvm.h (_Jv_value): New union type.
4009 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4010 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4011 union members.
4012
4013 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4014
4015 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4016 * gnu/awt/xlib/XOffScreenImage.java
4017 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4018 constructor argument. Add constructor using ImageProducer.
4019 (getSource): Implement.
4020 (imageComplete): New method.
4021 (setColorModel): New method.
4022 (setDimensions): New method.
4023 (setHints): New method.
4024 (setPixels): New method.
4025 (setProperties): New method.
4026 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4027 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4028
4029 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4030
4031 PR libgcj/16478
4032 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4033 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4034 (finalizerReady): Now native.
4035 (run): Likewise.
4036 (runFinalizers): Removed.
4037 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4038 a primitive lock, and don't hold it while running the finalizers.
4039 (runFinalizers): Implement. Don't aquire any Java lock.
4040 (finalizerReady): Use lock primitives to signal finalizer thread.
4041
4042 2004-07-11 Mark Wielaard <mark@klomp.org>
4043
4044 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4045 * java/net/URLStreamHandler.java (parseURL): When url file part
4046 doesn't contain a '/' just ignore context.
4047
4048 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4049
4050 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4051 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4052 (MAKE_THROW_FRAME): Do not modify PSW address.
4053 (INIT_SEGV): Install SIGINFO-style signal handler.
4054 (INIT_FPE): Likewise.
4055
4056 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4057
4058 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4059 status. 21 xfail's removed, 1 added.
4060
4061 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4062
4063 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4064
4065 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4066
4067 * java/text/MessageFormat.java
4068 (formatInternal): Append "{n}" if argument n is unavailable.
4069 (format(Object, StringBuffer, FieldPosition)): This
4070 should be equivalent to format(Object[],
4071 StringBuffer, FieldPosition).
4072
4073 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4074
4075 * java.util.Calendar.java (cache): New private static field. Cached
4076 mappings of locales->calendar classes.
4077 (ctorArgTypes): New private static field. Singleton argument for
4078 calendar class constructor lookup.
4079 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4080 Optimize by bypassing reflection instantiation for the
4081 GregorianCalendar case.
4082
4083 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4084
4085 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4086 ResourceBundle.getBundle() calls.
4087 * java/util/GregorianCalendar.java: Likewise.
4088 * java/util/Currency.java: Likewise.
4089 * java/text/BreakIterator.java: Likewise.
4090 * java/text/Collator.java: Likewise.
4091 * java/text/DateFormat.java: Likewise.
4092 * java/text/DateFormatSymbols.java: Likewise.
4093 * java/text/DecimalFormatSymbols.java: Likewise.
4094 * java/text/NumberFormat.java: Likewise.
4095 * java/awt/Window.java: Likewise.
4096
4097 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4098
4099 * java/util/ResourceBundle.java (bundleCache): Renamed from
4100 resourceBundleCache. Update comments.
4101 (getObject): Don't catch MissingResourceException.
4102 (getBundle(String)): Remove 'final'. Use system classloader if
4103 getCallingClassLoader returned null.
4104 (getBundle(String, Locale)): Likewise.
4105 (BundleKey): New private class. HashMap key for bundle cache lookup.
4106 (lookupKey): New. Singleton instance of BundleKey.
4107 (nullEntry): New. Cache entry to represent failed lookups.
4108 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4109 caching strategy, no-allocation lookup, and new tryBundle methods.
4110 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4111 name using given classloader.
4112 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4113 baseName for given Locale and attempt to load bundle.
4114
4115 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4116
4117 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4118 illegal protected method calls.
4119
4120 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4121
4122 Fix or remove some bogus test cases.
4123 * testsuite/libjava.compile/pr10459_2.java: Removed.
4124 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4125 not Object.clone().
4126 * testsuite/libjava.compile/inner_data.java: Test against its own
4127 protected field.
4128
4129 2004-07-09 Michael Koch <konqueror@gmx.de>
4130
4131 * scripts/unicode-muncher.pl: Updated to version 2.1
4132 from GNU classpath. Added some clarifications on where to find the
4133 needed files from www.unicode.org.
4134 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4135 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4136 Removed, these can directly be downloaded from www.unicode.org if
4137 needed.
4138 * gnu/java/lang/CharData.java: Regenerated.
4139 * include/java-chartables.h: Regenerated.
4140 * Makefile.am (ordinary_java_source_files):
4141 Removed gnu/java/lang/CharData.java.
4142 * Makefile.in: Regenerated.
4143
4144 2004-07-09 Michael Koch <konqueror@gmx.de>
4145
4146 * java/security/AccessControlContext.java,
4147 java/security/SecureClassLoader.java:
4148 Fixed javadocs.
4149
4150 2004-07-09 Michael Koch <konqueror@gmx.de>
4151
4152 * java/io/ObjectInputStream.java (readFields): Use long datatype
4153 when shifting byte values more then 24 bits left.
4154
4155 2004-07-09 Michael Koch <konqueror@gmx.de>
4156
4157 * java/util/zip/DeflaterOutputStream.java,
4158 java/util/zip/GZIPInputStream.java,
4159 java/util/zip/GZIPOutputStream.java,
4160 java/util/zip/InflaterInputStream.java:
4161 Reformatted. Added javadocs. Reordered all stuff.
4162 Renamed variables to be more clear.
4163
4164 2004-07-09 Michael Koch <konqueror@gmx.de>
4165
4166 * javax/imageio/IIOException.java,
4167 javax/imageio/event/IIOReadProgressListener.java,
4168 javax/imageio/event/IIOReadUpdateListener.java,
4169 javax/imageio/event/IIOReadWarningListener.java,
4170 javax/imageio/event/IIOWriteProgressListener.java,
4171 javax/imageio/event/IIOWriteWarningListener.java:
4172 New files.
4173 * Makefile.am: Added new files.
4174 * Makefile.in: Regenerated.
4175
4176 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4177
4178 * java/text/RuleBasedCollator.java
4179 (mergeRules): Use ArrayList instead of Vector.
4180 (subParseString): likewise.
4181 (parseString): likewise.
4182 (buildCollationVector): likewise.
4183 (getCollationKey): likewise.
4184
4185 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4186
4187 * java/text/DateFormat.java (parse):
4188 Improved javadoc. Improved exception message.
4189
4190 2004-07-09 Mark Wielaard <mark@klomp.org>
4191
4192 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4193 interrupted() method to clear interupt flag of our Thread.
4194
4195 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4196
4197 * java/nio/Buffer.java,
4198 java/nio/ByteBuffer.java,
4199 java/nio/ByteBufferHelper.java,
4200 java/nio/ByteBufferImpl.java,
4201 java/nio/CharBuffer.java,
4202 java/nio/CharBufferImpl.java,
4203 java/nio/CharViewBufferImpl.java,
4204 java/nio/DirectByteBufferImpl.java,
4205 java/nio/DoubleBuffer.java,
4206 java/nio/DoubleBufferImpl.java,
4207 java/nio/DoubleViewBufferImpl.java,
4208 java/nio/FloatBuffer.java,
4209 java/nio/FloatBufferImpl.java,
4210 java/nio/FloatViewBufferImpl.java,
4211 java/nio/IntBuffer.java,
4212 java/nio/IntBufferImpl.java,
4213 java/nio/IntViewBufferImpl.java,
4214 java/nio/LongBuffer.java,
4215 java/nio/LongBufferImpl.java,
4216 java/nio/LongViewBufferImpl.java,
4217 java/nio/MappedByteBufferImpl.java,
4218 java/nio/ShortBuffer.java,
4219 java/nio/ShortBufferImpl.java,
4220 java/nio/ShortViewBufferImpl.java:
4221 Fixed javadocs all over. Improved input error
4222 checking.
4223
4224 * java/nio/Buffer.java
4225 (checkForUnderflow, checkForOverflow, checkIndex,
4226 checkIfReadOnly, checkArraySize): New helper methods
4227 for error checking.
4228
4229 * java/nio/ByteBufferHelper.java
4230 (checkRemainingForRead, checkRemainingForWrite,
4231 checkAvailableForRead, checkAvailableForWrite): Removed
4232 no longer needed methods.
4233
4234 2004-07-09 Michael Koch <konqueror@gmx.de>
4235
4236 * gnu/regexp/CharIndexedInputStream.java:
4237 Reordered imports to match classpath.
4238
4239 2004-07-09 Michael Koch <konqueror@gmx.de>
4240
4241 * gnu/java/awt/EmbeddedWindow.java:
4242 Load native library for setWindowPeer method.
4243
4244 2004-07-08 Randolph Chung <tausq@debian.org>
4245
4246 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4247 * configure: Regenerate.
4248 * configure.host: Set can_unwind_signal for hppa*-linux.
4249 * include/pa-signal.h: New file.
4250
4251 2004-07-07 Per Bothner <per@bothner.com>
4252
4253 * Makefile.am: Add rules to build libgij from just gij.cc.
4254
4255 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4256 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4257 (initializeClass): If verbose_class_flag, print message.
4258 * gij.cc (main): Handle -verbose:class flag.
4259
4260 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4261
4262 * configure.host: Enable hash synchronization on Darwin.
4263 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4264 ';', since this is a comment on Darwin.
4265 (compare_and_swap_release): Likewise.
4266
4267 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4268
4269 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4270 file portion of URL in addition to spec for file: protocol.
4271
4272 2004-07-05 Anthony Green <green@redhat.com>
4273
4274 * java/io/File.java (toURI): Merge from Classpath.
4275
4276 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4277
4278 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4279 before passing to URL constructor. Rethrow any MalformedURLException
4280 as a RuntimeException. Catch MalformedURLException specifically, not
4281 all exceptions.
4282
4283 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4284
4285 * java/util/Locale.java (readObject): Intern strings read from object
4286 stream.
4287
4288 2004-07-04 Michael Koch <konqueror@gmx.de>
4289
4290 * gnu/gcj/runtime/FirstThread.java,
4291 gnu/gcj/runtime/natFirstThread.cc: Removed.
4292 * gnu/java/lang/MainThread.java,
4293 gnu/java/lang/natMainThread.cc: New files.
4294 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4295 * Makefile.am: Added new files and removed deleted ones.
4296 * Makefile.in: Regenerated.
4297
4298 2004-07-03 Mark Wielaard <mark@klomp.org>
4299 Anthony Green <green@redhat.com>
4300
4301 * java/net/URL.java (getFile): Clarify return value doc.
4302 (getPath): Return null if file is empty - not empty String.
4303 (set): Convert protocol to lower case before doing anything.
4304 Only change the protocol handler if it's different.
4305
4306 2004-07-03 Anthony Green <green@redhat.com>
4307
4308 * java/net/URL.java (URL): Convert protocol to lower case before
4309 doing anything, so we getURLStreamHandler() with the proper value.
4310
4311 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4312
4313 * java/util/Locale.java (hashcode): Made transient.
4314 (hashCode): No longer synchronized.
4315 (equals): Remove comment.
4316 (writeObject): No longer synchronized. Implement using writeObject
4317 calls instead of tweaking hashCode field. Update doc.
4318 (readObject): Implement using readObject calls.
4319
4320 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4321 Andreas Tobler <a.tobler@schweiz.ch>
4322
4323 * configure.host (powerpc-*-darwin*): New case, define
4324 can_unwind_signal.
4325 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4326 * configure: Regenerate.
4327 * include/darwin-signal.h: New.
4328
4329 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4330
4331 * java/beans/Statement.java (doExecute): Fix formatting.
4332
4333 2004-06-29 Per Bothner <per@bothner.com>
4334
4335 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4336 etc etc): Remove needless parenthesis, which causes __stdcall__
4337 attribute on MinGW to get ignored.
4338
4339 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4340
4341 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4342
4343 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4344
4345 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4346
4347 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4348
4349 * java/beans/Expression.java: New file.
4350 * java/beans/Statement.java: New file.
4351 * Makefile.am: Added new files.
4352 * Makefile.in: Re-generate.
4353
4354 2004-06-27 Mark Wielaard <mark@klomp.org>
4355
4356 * java/io/FilePermission.java (usingPerms): Removed.
4357 (actionsString): Made final.
4358 (cachePerms): Renamed to checkPerms.
4359 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4360 on action String.
4361 (FilePermission): Check arguments, call checkPerms().
4362 (equals): Remove cachePerms() call.
4363 (implies): Likewise.
4364
4365 2004-06-27 Mark Wielaard <mark@klomp.org>
4366
4367 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4368 final field.
4369 (sendRequest): Use new field in user-agent http agent.
4370
4371 2004-06-27 Mark Wielaard <mark@klomp.org>
4372
4373 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4374 when argument is null.
4375
4376 2004-06-26 Mark Wielaard <mark@klomp.org>
4377
4378 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4379 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4380 GetMethodID call.
4381 (cancel_clicked): Likewise.
4382
4383 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4384
4385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4386 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4387 can not calculate the right value.
4388 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4389
4390 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4391
4392 * testsuite/libjava.jacks/jacks.xfail: Remove
4393 15.9.1-qualified-concrete-20.
4394
4395 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4396
4397 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4398 encoding name to iconv.
4399 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4400
4401 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4402
4403 PR libgcj/16134:
4404 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4405 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4406 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4407
4408 2004-06-21 Andrew Haley <aph@redhat.com>
4409
4410 * java/io/ObjectOutputStream.java: Add DEBUG statements
4411 everywhere.
4412 (dumpElementln): New method.
4413 (depth): New field.
4414 * java/io/ObjectInputStream.java
4415 (currentClassLoader): Make native.
4416 (callersClassLoader): New field.
4417 (depth): New field.
4418 (readObject): ENDBLOCKDATA is generated if the class has a write
4419 method, not if it has a read method.
4420 (readObject): Save and restore this.currentObject and
4421 this.currentObjectStreamClass around calls to callReadMethod().
4422 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4423 method.
4424
4425 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4426
4427 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4428 darwin.
4429
4430 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4431
4432 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4433 if desired, before the default class loader is initialised.
4434 Call INIT_SEGV only if HANDLE_SEGV is defined.
4435
4436 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4437
4438 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4439 directory only if it actually exists.
4440
4441 2004-06-18 Graydon Hoare <graydon@redhat.com>
4442
4443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4444 Fix up non-ansi comments.
4445
4446 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4447
4448 * javax/swing/text/AbstractDocument.java: Adding missing import
4449 for javax.swing.event.EventListenerList.
4450 * javax/swing/text/DefaultCaret.java: Likewise.
4451
4452 2004-06-17 Michael Koch <konqueror@gmx.de>
4453
4454 * javax/swing/JToolBar.java
4455 (name): Removed.
4456 (JToolBar): Use Component.setName(String) instead of doing it all
4457 alone.
4458 * javax/swing/Timer.java
4459 (queueEvent): Added missing modifier.
4460
4461 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4462
4463 * Makefile.am: Added new file.
4464 * Makefile.in: Re-generate.
4465 * javax/swing/JMenu.java:
4466 (insertSeparator): Implemented.
4467 * javax/swing/JPopupMenu.java:
4468 (JPopupMenu.Separator): Implemented.
4469 * javax/swing/MenuSelectionManager.java:
4470 (processMouseEvent): Use java.awt.Component
4471 for event source instead of javax.swing.JComponent.
4472 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4473 New File. Implemented.
4474
4475 2004-06-16 David Jee <djee@redhat.com>
4476
4477 * java/awt/GridBagLayout.java
4478 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4479 Make sure pos_x and pos_y are never negative.
4480
4481 2004-04-16 Andrew Overholt <overholt@redhat.com>
4482
4483 * Makefile.am: Add new file.
4484 * Makefile.in: Re-generate.
4485 * javax/swing/JToolBar.java
4486 Partially implemented.
4487 * javax/swing/plaf/basic/BasicToolBarUI.java
4488 New file. Partially implemented.
4489
4490 2004-06-16 Graydon Hoare <graydon@redhat.com>
4491
4492 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4493 (setComposite): Accept AlphaComposite arguments.
4494 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4495 (createBufferedImage): Add new overloads.
4496 * gnu/java/awt/peer/gtk/GtkToolkit.java
4497 (createImage): Use GdkPixbufDecoder.createBufferedImage
4498 when useGraphics2D() is true.
4499 (getImage): Delegate to createImage.
4500 * javax/swing/JList.java
4501 (isSelectionEmpty):
4502 (getFirstVisibleIndex):
4503 (getLastVisibleIndex):
4504 (setSelectedValue):
4505 (ensureIndexIsVisible): New methods.
4506 * javax/swing/Timer.java: Reimplement.
4507
4508 2004-06-16 Michael Koch <konqueror@gmx.de>
4509
4510 * javax/swing/text/AbstractDocument.java
4511 (AbstracElement): Made public, implements java.io.Serializable.
4512 (AttributeContext): Made public.
4513 (BranchElement): Likewise.
4514 (Content): Likewise.
4515 (DefaultDocumentEvent): Made public, extends
4516 javax.swing.undo.CompoundEdit.
4517 (ElementEdit): Made public, extends
4518 javax.swing.undo.AbstractUndoableEdit.
4519 (LeafElement): Made public.
4520 (LeafElement.LeafElement): Made public.
4521
4522 2004-06-16 Michael Koch <konqueror@gmx.de>
4523
4524 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4525 methods (that were obviously never be intended to get included hi this
4526 class. Added some methods too.
4527
4528 2004-06-16 Michael Koch <konqueror@gmx.de>
4529
4530 * javax/swing/text/PlainDocument.java
4531 (serialVersionUID): New constant.
4532 (lineLimitAttribute): Likewise.
4533 (tabSizeAttribute): Likewise.
4534 (tabSize): New field.
4535 (PlainDocument): Made public.
4536 (PlainDocument): New constructor.
4537
4538 2004-06-16 Michael Koch <konqueror@gmx.de>
4539
4540 * javax/swing/text/AbstractDocument.java
4541 (insertString): Throws BadLocationException.
4542 * javax/swing/text/Document.java
4543 (insertString): Likewise.
4544 * javax/swing/text/JTextComponent.java:
4545 Javadocs and comments cleaned up.
4546
4547 2004-06-16 Michael Koch <konqueror@gmx.de>
4548
4549 * javax/swing/event/UndoableEditListener.java: Reformatted.
4550 * javax/swing/text/AbstractDocument.java
4551 (AbstractDocument): Implements java.io.Serializable.
4552 (doc_list): Removed.
4553 (undo_list): Removed.
4554 (AbstractElement.serialVerionUID): New field.
4555 (BranchElement.serialVerionUID): Likewise.
4556 (DefaultDocumentEvent.serialVerionUID): Likewise.
4557 (ElementEdit.serialVerionUID): Likewise.
4558 (LeafElement.serialVerionUID): Likewise.
4559 (serialVerionUID): Likewise.
4560 (BAD_LOCATION): New constant.
4561 (BidiElementName): Likewise.
4562 (ContentElementName): Likewise.
4563 (ParagraphElementName): Likewise.
4564 (SectionElementName): Likewise.
4565 (ElementNameAttribute): Likewise.
4566 (AbstractDocument): Made protected.
4567 (AbstractDocument): New construtor.
4568 (listenerList): New field.
4569 (fireChangedUpdate): Implemented.
4570 (fireInsertUpdate): Likewise.
4571 (fireRemoveUpdate): Likewise.
4572 (fireUndoableEditUpdate): Likewise.
4573 (getListeners): Likewise.
4574 (addDocumentListener): Likewise.
4575 (removeDocumentListener): Likewise.
4576 (addUndoableEditListener): Likewise.
4577 (removeUndoableEditListener): Likewise.
4578 (getDocumentListeners): New method.
4579 (getUndoableEditListeners): Likewise.
4580 (getAsynchronousLoadPriority): Made public.
4581 (getBidiRootElement): Likewise.
4582 (setAsynchronousLoadPriority): Likewise.
4583 (setDocumentProperties): Likewise.
4584 * javax/swing/text/BadLocationException.java
4585 (serialVerionUID): New field.
4586 * javax/swing/text/DefaultCaret.java
4587 (changeEvent): New field.
4588 (listenerList): Likewise.
4589 (changes): Removed.
4590 (addChangeListener): Reimplemented.
4591 (removeChangeListener): Likewise.
4592 (getListeners): New method.
4593 (getChangeListeners): Likwise.
4594 (getComponent): Likewise.
4595 * javax/swing/text/GapContent.java
4596 (GapContent): Implements java.io.Serializable.
4597 (serialVerionUID): New field.
4598
4599 2004-06-16 Michael Koch <konqueror@gmx.de>
4600
4601 * javax/swing/JTree.java
4602 (treeModel): New field.
4603 (JTree): New constructors, one existing one made public.
4604 (createTreeModel): New method.
4605 (addTreeExpansionListener): Likewise.
4606 (removeTreeExpansionListener): Likewise.
4607 (getTreeExpansionListeners): Likewise.
4608 (fireTreeCollapsed): Likewise.
4609 (fireTreeExpanded): Likewise.
4610 (addTreeSelectionListener): Likewise.
4611 (removeTreeSelectionListener): Likewise.
4612 (getTreeSelectionListeners): Likewise.
4613 (fireValueChanged): Likewise.
4614 (addTreeWillExpandListener): Likewise.
4615 (removeTreeWillExpandListener): Likewise.
4616 (getTreeWillExpandListeners): Likewise.
4617 (fireTreeWillCollapse): Likewise.
4618 (fireTreeWillExpand): Likewise.
4619
4620 2004-06-16 Michael Koch <konqueror@gmx.de>
4621
4622 * javax/swing/JTree.java: Reformatted.
4623
4624 2004-06-16 Michael Koch <konqueror@gmx.de>
4625
4626 * javax/swing/JTextArea.java: New file.
4627 * javax/swing/JTextField.java
4628 (actions): Removed.
4629 (notifyAction): New constant.
4630 (columns): New field.
4631 (JTextField): New constructors.
4632 (createDefaultModel): New method.
4633 (addActionListener): Reimplmemented.
4634 (removeActionListener): Reimplemented.
4635 (getActionListeners): New method.
4636 (fireActionPerformed): New method.
4637 (getColumns): New method.
4638 (setColumne): New method.
4639 * javax/swing/text/JTextComponent.java
4640 (AccessibleJTextComponent.serialVersionUID): New field.
4641 (serialVersionUID): Likewise.
4642 (DEFAULT_KEYMAP): Likewise.
4643 (FOCUS_ACCELERATOR_KEY): Likewise.
4644 (doc): Made private.
4645 (icon_gap): Likewise.
4646 (icon): Likewise.
4647 (align): Likewise.
4648 (JTextComponent): Some constructors removed.
4649 (getScrollableTracksViewportHeight): New method.
4650 (getScrollableTracksViewportWidth): Likewise.
4651 * Makefile.am: Added javax/swing/JTextArea.java.
4652 * Makefile.in: Regenerated.
4653
4654 2004-06-15 Graydon Hoare <graydon@redhat.com>
4655
4656 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4657 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4658 * javax/swing/JViewport.java
4659 (getExtentSize): Return size rather than preferred size.
4660 (toViewCoordinates): New methods.
4661 (getViewSize): Return size rather than preferred size.
4662 (setViewSize): Note view size as set.
4663 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4664 * javax/swing/plaf/basic/BasicScrollBarUI.java
4665 (getPreferredSize): Don't redo layout.
4666 * javax/swing/plaf/basic/BasicViewportUI.java
4667 (paint): Translate image properly and eat exceptions.
4668
4669 2004-06-15 Kim Ho <kho@redhat.com>
4670
4671 * javax/swing/JTabbedPane.java
4672 (setComponent): Remove old component and
4673 add new component.
4674 (setSelectedIndex): Don't operate on the
4675 components if they're null. Don't set index
4676 on the model if the index is the same.
4677 (insertTab): Don't add or hide the component
4678 if it's null. Repaint the container.
4679 * javax/swing/plaf/basic/BasicLookAndFeel.java
4680 Change colors for TabbedPane.
4681 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4682 (mousePressed): Re-layout and paint the component.
4683 (layoutContainer): Don't set location on the view.
4684 (ScrollingViewport::paint): Remove.
4685
4686 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4687
4688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4689 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4690
4691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4692 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4693 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4694 critical region.
4695 (drawLine): Call gdk_flush before leaving GDK critical region.
4696 (fillRect): Likewise.
4697 (drawRect): Likewise.
4698 (copyArea): Likewise.
4699 (copyPixmap): Likewise.
4700 (clearRect): Likewise.
4701 (drawArc): Likewise.
4702 (drawPolyline): Likewise.
4703 (drawPolygon): Likewise.
4704 (fillPolygon): Likewise.
4705 (fillArc): Likewise.
4706 (drawOval): Likewise.
4707 (fillOval): Likewise.
4708
4709 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4710 style parameter.
4711 (GdkFontMetrics): Add style argument to initState call.
4712 (stringWidth(String,int,int,String)): Add style parameter.
4713 (stringWidth(String)): Add style argument to stringWidth call.
4714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4715 (initState): Set pango font style and weight based on AWT style
4716 parameter. Pass default GTK language to
4717 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4718 simply dividing by PANGO_SCALE.
4719 (stringWidth): Set pango font style and weight based on AWT style
4720 parameter.
4721
4722 * java/awt/Button.java (next_button_number): New field.
4723 (paramString): Change output.
4724 (generateName): New method.
4725 (getUniqueLong): New method.
4726
4727 2004-06-14 Kim Ho <kho@redhat.com>
4728
4729 * javax/swing/JTabbedPane.java:
4730 (setComponentAt): Set the component, not
4731 the enabled status.
4732 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4733 (actionPerformed): Let deiconize catch exception.
4734
4735 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4736
4737 * javax/swing/JPopupMenu.java:
4738 (setVisible): Corrected location of a
4739 heavyweight popup menu.
4740
4741 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4742
4743 * javax/swing/MenuSelectionManager.java:
4744 Ran through jalopy to fix formatting style.
4745
4746 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4747
4748 * javax/swing/JLayeredPane.java:
4749 (remove): Revalidate and repaint layered pane after
4750 the component was removed.
4751 javax/swing/JMenu.java:
4752 (setVisible): Display popup menu at the user location,
4753 if one was set by the user.
4754 (setMenuLocation): Reimplemented. Fixed javadoc.
4755 * javax/swing/JMenuBar.java: Added javadoc.
4756 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4757 (MODEL_CHANGED_PROPERTY): New Property.
4758 (isSelected): Implemented.
4759 (setBorderPainted): Fire PropertyChangeEvent
4760 if paintBorder property changes.
4761 (setSelected): Implemented.
4762 (setSelectionModel): Implemented.
4763 * javax/swing/JPopupMenu.java: Added Javadoc
4764 (pack): Implemented.
4765 (setVisible): Reimplemented.
4766 (show): Fixed location.
4767 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4768 Container instead of JPanel.
4769 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4770 (clearSelectedPath): Reimplemented to clear selectedPath
4771 in reverse order.
4772 (processMouseEvent): Reimplemented.
4773 (setSelectedPath): Fire stateChange event indicating that
4774 selected menu path has changed.
4775 (getPath): Change to use ArrayList instead of Vector.
4776 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4777 (installUI): call installKeyboardActions().
4778 (uninstallUI): call uninstallKeyboardActions().
4779
4780 2004-06-13 Michael Koch <konqueror@gmx.de>
4781
4782 * javax/swing/text/DefaultCaret.java,
4783 javax/swing/text/BadLocationException.java:
4784 Reformatted.
4785
4786 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4787
4788 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4789 DEFAULT_COLS): New variables.
4790 (create): Don't allow 0 rows or 0 columns. Instead, set the
4791 values to DEFAULT_ROWS or DEFAULT_COLS.
4792 (getMinimumSize): Likewise.
4793 (getPreferredSize): Likewise.
4794 (minimumSize): Likewise.
4795 (preferredSize): Likewise.
4796 (create): Set peer's editable state.
4797 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4798 zero. Update javadocs.
4799 (TextArea(String)): Likewise.
4800 (TextArea(int,int)): Fix javadocs.
4801 (TextArea(String,int,int,int)): Only throw exception if one of
4802 rows or columns is zero. Fix javadocs.
4803
4804 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4805
4806 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4807 addition to Components.
4808
4809 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4810 wasn't consumed by normal processing, send it to the parent
4811 menu.
4812
4813 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4814 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4815 translation.
4816
4817 2004-06-11 David Jee <djee@redhat.com>
4818
4819 * java/awt/MediaTracker.java
4820 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4821 (addImage(Image,int,int,int)): Likewise.
4822
4823 2004-06-11 Michael Koch <konqueror@gmx.de>
4824
4825 * javax/swing/text/AbstractDocument.java,
4826 javax/swing/text/Document.java,
4827 javax/swing/text/GapContent.java,
4828 javax/swing/text/JTextComponent.java,
4829 javax/swing/text/PlainDocument.java:
4830 Reformatted.
4831
4832 2004-06-11 Michael Koch <konqueror@gmx.de>
4833
4834 * javax/swing/JRootPane.java
4835 (AccessibleJRootPane.serialVersionUID): New field.
4836 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4837 (AccessibleJRootPane.getAccessibleRole): New method.
4838 (RootLayout): Implements Serializable.
4839 (RootLayout.serialVersionUID): New field.
4840 (RootLayout.RootLayout): New constructor.
4841 (setJMenuBar): Made public.
4842 (getJMenuBar): Likewise.
4843 (JRootPane): Likewise.
4844 (createContentPane): Likewise.
4845 (createGlassPane): Likewise.
4846 (createLayeredPane): Likewise.
4847
4848 2004-06-11 Michael Koch <konqueror@gmx.de>
4849
4850 * javax/swing/SwingUtilities.java
4851 (isLeftMouseButton): Fixed javadoc.
4852 (isMiddleMouseButton): Likewise.
4853 (isRightMouseButton): Likewise.
4854
4855 2004-06-11 Michael Koch <konqueror@gmx.de>
4856
4857 * javax/swing/JScrollPane.java
4858 (serialVersionUID): New field.
4859 (columnHeader): Made protected.
4860 (rowHeader): Likewise.
4861 (lowerLeft): Likewise.
4862 (lowerRight): Likewise.
4863 (upperLeft): Likewise.
4864 (upperRight): Likewise.
4865 (horizontalScrollBar): Likewise.
4866 (horizontalScrollBarPolicy): Likewise.
4867 (verticalScrollBar): Likewise.
4868 (verticalScrollBarPolicy): Likewise.
4869 (viewport): Likewise.
4870
4871 2004-06-11 Michael Koch <konqueror@gmx.de>
4872
4873 * javax/swing/LookAndFeel.java: Fixed javadocs.
4874
4875 2004-06-11 Michael Koch <konqueror@gmx.de>
4876
4877 * javax/swing/JEditorPane.java: Fixed javadocs.
4878 (JEditorPane): Removed redundant call to to this().
4879 (fireHyperlinkUpdate): Implemented.
4880
4881 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4882
4883 * javax/swing/JMenu.java: Fixed file name
4884 in the file comment.
4885
4886 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4887
4888 * javax/swing/JMenu.java: Added javadoc.
4889 (JMenu): Added MenuChangeListener to listen to
4890 ChangeEvents occuring in menu's model.
4891 (insert): Throw IllegalArgumentException if
4892 index is less than 0
4893 (setSelected): Reimplement.
4894 (setPopupMenuVisible): Call menu's model isEnabled()
4895 (setDelay): Throw IllegalArgumentException if
4896 given amount of delay is less than 0.
4897 (createActionComponent): Implemented.
4898 (createActionChangeListener): Implemented.
4899 (addSeparator): Implemented.
4900 (getItem): Throw IllegalArgumentException if index is
4901 less than 0.
4902 (getItemCount): Implemented.
4903 (fireMenuSelected): Changed to use menuEvent.
4904 (fireMenuDeselected): Likewise.
4905 (fireMenuCanceled): Likewise.
4906 (setAccelerator): Changed to throw an error if this
4907 method is used.
4908 (doClick): Implemented.
4909 (JMenu.ActionChangedListener): New inner class to handle
4910 PropertyChangeEvents occuring in the actions associated with menu.
4911 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4912 (BasicMenuUI): Added PropertyChangeListener to the menu.
4913 (createChangeListener): Implemented.
4914 (createMenuDragMouseListener): Likewise.
4915 (createMenuKeyListener): Likewise.
4916 (createPropertyChangeListener): Likewise.
4917 (uninstallListeners): Likewise.
4918 (BasicMenuUI.MouseInputHandler): Reimplemented.
4919 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4920 (BasicMenuUI.ChangeHandler): Likewise.
4921 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4922 (BasicMenuUI.MenuKeyHandler): Likewise.
4923
4924 2004-06-10 David Jee <djee@redhat.com>
4925
4926 * java/awt/MediaTracker.java
4927 (imageUpdate): Only do notifyAll() if the image is complete.
4928
4929 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4930
4931 * javax/swing/JApplet.java:
4932 (getJMenuBar): Made public.
4933 (setJMenuBar): Likewise.
4934 * javax/swing/JFrame.java:
4935 (getJMenuBar): Made public.
4936 (setJMenuBar): Likewise.
4937 * javax/swing/JWindow.java:
4938 (getJMenuBar): Removed.
4939 (setJMenuBar): Removed.
4940
4941 2004-06-10 Michael Koch <konqueror@gmx.de>
4942
4943 * javax/swing/JEditorPane.java
4944 (createEditorKitForContentType): Fixed visibility.
4945 (fireHyperlinkUpdate): Likewise.
4946 (getContentType): Likewise.
4947 (getEditorKit): Likewise.
4948 (getEditorKitForContentType): Likewise.
4949 (getPage): Likewise.
4950 (read): Likewise.
4951 (registerEditorKitForContentTyoe): Likewise.
4952 (replaceSelection): Likewise.
4953 (setContentType): Likewise.
4954 (setEditorKit): Likewise.
4955 (setPage): Likewise.
4956
4957 2004-06-10 Michael Koch <konqueror@gmx.de>
4958
4959 * javax/swing/Timer.java
4960 (Timer): New constructor.
4961 * javax/swing/plaf/basic/BasicProgressBarUI.java
4962 (animationTimer): Don't initialize at construction.
4963 (startAnimationTimer): Added since tag.
4964 (stopAnimationTimer): Likewise.
4965 (installUI): Use new Timer constructor.
4966 * javax/swing/plaf/basic/BasicScrollBarUI.java
4967 (installUI): Likewise.
4968 * javax/swing/plaf/basic/BasicSliderUI.java
4969 (installUI): Likewise.
4970
4971 2004-06-10 Michael Koch <konqueror@gmx.de>
4972
4973 * javax/swing/ButtonGroup.java
4974 (serialVersionUID): Made private.
4975 (buttons): Renamed from v, added javadoc.
4976 (sel): Added javadoc.
4977 (ButtonGroup): Likewise.
4978 (add): Likewise.
4979 (remove): Likewise.
4980 (getElements): Likewise.
4981 (getSelection): Likewise.
4982 (setSelected): Likewise.
4983 (isSelected): Likewise.
4984 (getButtonCount): Likewise.
4985
4986 2004-06-10 Michael Koch <konqueror@gmx.de>
4987
4988 * javax/swing/ButtonGroup.java,
4989 javax/swing/ImageIcon.java,
4990 javax/swing/JEditorPane.java,
4991 javax/swing/JRootPane.java,
4992 javax/swing/JTextField.java,
4993 javax/swing/LookAndFeel.java,
4994 javax/swing/plaf/basic/BasicTextUI.java:
4995 Reindented.
4996
4997 2004-06-10 Michael Koch <konqueror@gmx.de>
4998
4999 * javax/swing/text/Style.java: Added javadocs.
5000
5001 2004-06-10 Michael Koch <konqueror@gmx.de>
5002
5003 * javax/swing/JComponent.java
5004 (fireVetoableChange): Removed redundant cast.
5005 * javax/swing/JLabel.java
5006 (getDisabledIcon): Save icon for next call.
5007
5008 2004-06-10 Michael Koch <konqueror@gmx.de>
5009
5010 * javax/swing/KeyStroke.java
5011 (getKeyStroke(char,boolean)): Marked deprecated.
5012
5013 2004-06-10 Michael Koch <konqueror@gmx.de>
5014
5015 * javax/swing/DefaultCellEditor.java,
5016 javax/swing/GrayFilter.java,
5017 javax/swing/event/DocumentEvent.java,
5018 javax/swing/text/JTextComponent.java,
5019 javax/swing/text/MutableAttributeSet.java:
5020 Reindented.
5021
5022 2004-06-10 Michael Koch <konqueror@gmx.de>
5023
5024 * javax/swing/plaf/BorderUIResource.java:
5025 Added serialVersionUID all over.
5026
5027 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5028
5029 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5030
5031 2004-06-10 Michael Koch <konqueror@gmx.de>
5032
5033 * javax/swing/table/DefaultTableCellRenderer.java
5034 (noFocusBorder): Initialize directly.
5035
5036 2004-06-10 Michael Koch <konqueror@gmx.de>
5037
5038 * javax/swing/plaf/basic/BasicArrowButton.java
5039 (setDirection): Use method argument.
5040
5041 2004-06-10 Michael Koch <konqueror@gmx.de>
5042
5043 * javax/swing/plaf/BorderUIResource.java,
5044 javax/swing/plaf/ComponentUI.java,
5045 javax/swing/undo/CompoundEdit.java,
5046 javax/swing/undo/StateEdit.java:
5047 Fixed javadocs all over.
5048
5049 2004-06-10 Michael Koch <konqueror@gmx.de>
5050
5051 * javax/swing/DefaultButtonModel.java
5052 (ARMED): Made public final, fixed value.
5053 (ENABLED): Likewise.
5054 (PRESSED): Likewise.
5055 (ROLLOVER): Likewise.
5056 (SELECTED): Likewise.
5057 (stateMask): Initialize directly.
5058 (listenerList): Likewise.
5059 (mnemonic): Likewise.
5060 (fireStateChanged): Removed argument, use changeEvent as event.
5061 All places where this method is called are fixed too.
5062 (getActionCommant): Fixed javadoc.
5063 (setGroup): Fixed javadoc.
5064 (getGroup): New method.
5065
5066 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5067
5068 * javax/swing/AbstractButton.java
5069 (AbstractButton): Use init() to initialize the button.
5070 (init): New Method. Initializes AbstractButton.
5071 * javax/swing/JMenuItem.java: Documented.
5072 (JMenuItem): Reimplemented.
5073 (init): Implemented.
5074 (setEnabled): Changed to call super.setEnabled()
5075 (processMouseEvent): Reimplemented.
5076 (fireMenuKeyPressed): Implemented.
5077 (fireMenuKeyReleased): Implemented.
5078 (fireMenuKeyTyped): Implemented.
5079 (menuSelectionChanged): disarm the model if the menu item was
5080 deselected.
5081 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5082 (getPath): Change to use ArrayList instead of Vector.
5083 (getPreferredSize): Renamed variable.
5084 (paintMenuItem): Paint margin area of menu item.
5085 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5086 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5087 menu item's bounds before clearing the selection.
5088
5089 2004-06-09 David Jee <djee@redhat.com>
5090
5091 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5092 (GtkTextComponentPeer): Set caret position to 0.
5093 * java/awt/TextComponent.java
5094 (setText): Set caret position to 0.
5095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5096 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5097 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5098 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5099 Likewise.
5100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5101 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5102 visible.
5103
5104 2004-06-09 Kim Ho <kho@redhat.com>
5105
5106 * Makefile.am: New files
5107 * Makefile.in: Regenerated
5108 * java/awt/Container.java
5109 (getComponentAt): Removed.
5110 * javax/swing/AbstractAction.java
5111 (ENABLED_PROPERTY): New property.
5112 (putValue): Fire PropertyChangeEvents.
5113 (setEnabled): ditto.
5114 (firePropertyChange): Javadoc and implement
5115 convenience method.
5116 * javax/swing/AbstractButton.java
5117 (setAction): Don't create PropertyChangeListener
5118 if new Action is null.
5119 (setIcon): Don't set icon till after comparing
5120 it.
5121 (configurePropertiesFromAction): Check mnemonic
5122 key before calling intValue().
5123 (createActionPropertyChangeListener): Check
5124 properties rather than bulk change.
5125 * javax/swing/DefaultDesktopManager.java:
5126 Implement.
5127 * javax/swing/DesktopManager.java:
5128 Jalopy and javadoc.
5129 * javax/swing/JComponent.java
5130 (fireVetoableChange): Implement.
5131 (paintImmediately): Use root component.
5132 * javax/swing/JDesktopPane.java: Implement
5133 * javax/swing/JInternalFrame.java: Implement
5134 * javax/swing/JLabel.java
5135 (getDisabledIcon): Return grayscaled icon if
5136 no disabled icon specified.
5137 * javax/swing/JMenuBar.java
5138 (getComponentAtIndex): Use getComponent
5139 * javax/swing/JOptionPane.java
5140 (getDesktopPaneForComponent): Use SwingUtilities'
5141 getAncestorOfClass
5142 (getFrameForComponent): ditto.
5143 * javax/swing/JSplitPane.java
5144 (remove): Use getComponent.
5145 * javax/swing/SwingUtilities.java
5146 (convertPoint): Implement.
5147 * javax/swing/plaf/basic/BasicButtonUI.java
5148 (paintButtonNormal): Check opaqueness before
5149 filling background.
5150 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5151 Implement
5152 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5153 Implement.
5154 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5155 Implement.
5156 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5157 Implement.
5158 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5159 Change InternalFrame and Desktop colors.
5160
5161 2004-06-09 David Jee <djee@redhat.com>
5162
5163 * java/awt/Container.java
5164 (remove): Do not set component to invisible.
5165
5166 2004-06-09 Michael Koch <konqueror@gmx.de>
5167
5168 * javax/swing/tree/DefaultMutableTreeNode.java
5169 (getLeafCount): Renamed enum to e.
5170
5171 2004-06-09 Michael Koch <konqueror@gmx.de>
5172
5173 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5174 (positionForMouseEvent): Removed redundant semicolon.
5175 (continueDrag): Use method arguments.
5176
5177 2004-06-09 Michael Koch <konqueror@gmx.de>
5178
5179 * javax/swing/border/TitledBorder.java,
5180 javax/swing/filechooser/FileSystemView.java,
5181 javax/swing/plaf/basic/BasicButtonListener.java,
5182 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5183 javax/swing/plaf/basic/BasicLabelUI.java,
5184 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5185 javax/swing/plaf/basic/BasicScrollBarUI.java,
5186 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5187 javax/swing/plaf/basic/BasicSliderUI.java,
5188 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5189 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5190 javax/swing/table/JTableHeader.java,
5191 javax/swing/text/AbstractDocument.java,
5192 javax/swing/text/DefaultCaret.java,
5193 javax/swing/text/StyledEditorKit.java,
5194 javax/swing/tree/DefaultTreeCellEditor.java:
5195 Reworked import statements.
5196
5197 2004-06-08 Graydon Hoare <graydon@redhat.com>
5198
5199 * javax/swing/Box.java: Temporarily comment out code
5200 broken due to visibility bug.
5201
5202 2004-06-09 Michael Koch <konqueror@gmx.de>
5203
5204 * javax/swing/ImageIcon.java
5205 (ImageIcon): Added missing constructor.
5206
5207 2004-06-08 Michael Koch <konqueror@gmx.de>
5208
5209 * javax/swing/JToggleButton.java
5210 (JToggleButton): New constructor.
5211 (getAccessibleContext): Moved documentation into javadoc.
5212 (getUIClassID): Likewise.
5213
5214 2004-06-08 Michael Koch <konqueror@gmx.de>
5215
5216 * javax/swing/AbstractButton.java
5217 (getDisabledIcon): Create disabled icon if none exists yet.
5218
5219 2004-06-08 Michael Koch <konqueror@gmx.de>
5220
5221 * javax/swing/plaf/basic/BasicLookAndFeel.java
5222 (initClassDefaults): Added FormattedTextFieldUI.
5223 (loadResourceBundle): Renamed enum to e.
5224
5225 2004-06-08 Michael Koch <konqueror@gmx.de>
5226
5227 * javax/swing/plaf/basic/BasicButtonUI.java
5228 (paintIcon): Simplified.
5229 (paintText): Paint disabled button correctly.
5230
5231 2004-06-08 Michael Koch <konqueror@gmx.de>
5232
5233 * javax/swing/JComponent.java
5234 (createToolTip): Use official JToolTip API.
5235
5236 2004-06-08 Michael Koch <konqueror@gmx.de>
5237
5238 * javax/swing/JToolTip.java
5239 (JToolTip): No arguments in API.
5240 (setTipText): New method.
5241
5242 2004-06-08 Michael Koch <konqueror@gmx.de>
5243
5244 * javax/swing/SwingUtilities.java
5245 (isLeftMouseButton): New method.
5246 (isMiddleMouseButton): New method.
5247 (isRightMouseButton): New method.
5248
5249 2004-06-08 Michael Koch <konqueror@gmx.de>
5250
5251 * javax/swing/AbstractButton.java,
5252 javax/swing/CellRendererPane.java,
5253 javax/swing/JCheckBoxMenuItem.java,
5254 javax/swing/JColorChooser.java,
5255 javax/swing/JComboBox.java,
5256 javax/swing/JComponent.java,
5257 javax/swing/JDesktopPane.java,
5258 javax/swing/JFileChooser.java,
5259 javax/swing/JMenu.java,
5260 javax/swing/JMenuItem.java,
5261 javax/swing/JOptionPane.java,
5262 javax/swing/JPasswordField.java,
5263 javax/swing/JPopupMenu.java,
5264 javax/swing/JProgressBar.java,
5265 javax/swing/JRadioButtonMenuItem.java,
5266 javax/swing/JScrollBar.java,
5267 javax/swing/JSeparator.java,
5268 javax/swing/JSlider.java,
5269 javax/swing/JSplitPane.java,
5270 javax/swing/JTabbedPane.java,
5271 javax/swing/JTextField.java,
5272 javax/swing/JToolBar.java,
5273 javax/swing/text/JTextComponent.java:
5274 Fixed all constructors of accessibility classes.
5275
5276 2004-06-08 Michael Koch <konqueror@gmx.de>
5277
5278 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5279 over.
5280
5281 2004-06-08 Michael Koch <konqueror@gmx.de>
5282
5283 * javax/swing/Box.java
5284 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5285 (AccessibleBoxFiller.serialVersionUID): New member variable.
5286 * javax/swing/DefaultButtonModel.java
5287 (stateMask): Made protected.
5288 (listenerList): Likewise.
5289 (changeEvent): Likewise.
5290 (group): Likewise.
5291 (mnemonic): Likewise.
5292 (actionCommand): Likewise.
5293 (getListeners): New method.
5294 (getActionListeners): New method.
5295 (getItemListeners): New method.
5296 (getChangeListeners): New method.
5297 (fireItemStateChanged): Simplified.
5298 (fireActionPerformed): Simplified.
5299 (fireStateChanged): Simplified.
5300 * javax/swing/JFrame.java
5301 (JFrame): Implements WindowContants.
5302 (HIDE_ON_CLOSE): Removed.
5303 (EXIT_ON_CLOSE): Removed.
5304 (DISPOSE_ON_CLOSE): Removed.
5305 (DO_NOTHING_ON_CLOSE): Removed.
5306 (processWindowEvent): Exit with code 0.
5307 (setDefaultCloseOperation): Do security check before setting value.
5308 * javax/swing/JOptionPane.java
5309 (message): Initialize only in constructor.
5310 * javax/swing/JToolTip.java: Removed unused imports.
5311 * javax/swing/JViewport.java
5312 (serialVersionUID): New member variable.
5313 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5314 (BLIT_SCROLL_MODE): Likewise.
5315 (BACKINGSTORE_SCROLL_MODE): Likewise.
5316 (scrollUnderway): Made protected.
5317 (isViewSizeSet): Likewise.
5318 * javax/swing/ListModel.java: Fixed javadoc.
5319 * javax/swing/Popup.java: Likewise.
5320 * javax/swing/RepaintManager.java
5321 (paintDirtyRegions): Don't use internal classes of
5322 java.util.AbstractMap.
5323 * javax/swing/ScrollPaneConstants.java: Reindented.
5324 * javax/swing/ScrollPaneLayout.java
5325 (viewport): Made protected.
5326 (verticalScrollBar): Made protected, renamed to vsb.
5327 (horizontalScrollBar): Made protected, renamed to hsb.
5328 (rowHeader): Made protected, renamed to rowHead.
5329 (columnHeader): Made protected, renamed to colHead.
5330 (lowerLeft): Made protected.
5331 (lowerRight): Made protected.
5332 (upperLeft): Made protected.
5333 (upperRight): Made protected.
5334 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5335 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5336
5337 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5338
5339 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5340 LOADING if flags has SOMEBITS set.
5341
5342 2004-06-07 Michael Koch <konqueror@gmx.de>
5343
5344 * javax/swing/AbstractButton.java: Reorganized imports.
5345 * javax/swing/ActionMap.java: Likewise.
5346 * javax/swing/DefaultButtonModel.java: Likewise.
5347 * javax/swing/DefaultListModel.java: Likewise.
5348 * javax/swing/ImageIcon.java: Likewise.
5349 (serialVersionUID): New member variable.
5350 * javax/swing/JComboBox.java: Reorganized imports.
5351 * javax/swing/JComponent.java: Likewise.
5352 (ui): Made protected.
5353 (listenerList): Made protected.
5354 (TOOL_TIP_TEXT_KEY): New constant.
5355 (scrollRectToVisible): Removed redundant null check.
5356 * javax/swing/JFrame.java: Reorganized imports.
5357 * javax/swing/JInternalFrame.java: Reorganized imports.
5358 * javax/swing/JProgressBar.java: Likewise.
5359 * javax/swing/JRootPane.java: Likewise.
5360 * javax/swing/JScrollBar.java: Likewise.
5361 * javax/swing/JSeparator.java: Likewise.
5362 * javax/swing/JSlider.java: Likewise.
5363 * javax/swing/JTabbedPane.java: Likewise.
5364 * javax/swing/JTextField.java: Likewise.
5365 * javax/swing/JToolBar.java: Likewise.
5366 * javax/swing/JTree.java: Likewise.
5367 * javax/swing/JViewport.java: Likewise.
5368 * javax/swing/JWindow.java: Likewise.
5369 * javax/swing/KeyStroke.java: Likewise.
5370 * javax/swing/LookAndFeel.java: Likewise.
5371 * javax/swing/MenuSelectionManager.java: Likewise.
5372 * javax/swing/SwingUtilities.java: Likewise.
5373 * javax/swing/Timer.java: Likewise.
5374 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5375 * javax/swing/JList.java
5376 (HORIZONTAL_WRAP): Made final, fixed value.
5377 (VERTICAL): Likewise.
5378 (VERTICAL_WRAP): Likewise.
5379
5380 2004-06-07 Michael Koch <konqueror@gmx.de>
5381
5382 * javax/swing/AbstractButton.java
5383 (serialVersionUID): New member variable.
5384 (AccessibleAbstractButton.serialVersionUID): Likewise.
5385 (AbstractButton): Made public.
5386 * javax/swing/Box.java
5387 (AccessibleBox.serialVersionUID): New member variable.
5388 (Filler.serialVersionUID): Likewise.
5389 * javax/swing/DefaultListSelectionModel.java
5390 (serialVersionUID): Likewise.
5391 * javax/swing/JApplet.java
5392 (serialVersionUID): Likewise.
5393 * javax/swing/JCheckBox.java
5394 (serialVersionUID): Likewise.
5395 * javax/swing/JCheckBoxMenuItem.java
5396 (serialVersionUID): Likewise.
5397 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5398 * javax/swing/JColorChooser.java
5399 (serialVersionUID): Likewise.
5400 (AccessibleJColorChooser.serialVersionUID): Likewise.
5401 * javax/swing/JComponent.java
5402 (serialVersionUID): Made private.
5403 (AccessibleJComponent.serialVersionUID): New member variable.
5404 * javax/swing/JDesktopPane.java
5405 (serialVersionUID): Likewise.
5406 * javax/swing/JDialog.java
5407 (serialVersionUID): Likewise.
5408 * javax/swing/JFormattedTextField.java
5409 (serialVersionUID): Fixed value.
5410 * javax/swing/JFrame.java
5411 (serialVersionUID): New member variable.
5412 (getDefaultCloseOpertation): Made public.
5413 * javax/swing/JLayeredPane.java
5414 (serialVersionUID): Likewise.
5415 (LAYER_PROPERTY): Made final, fixed value.
5416 (JLayeredPane): Made public.
5417 * javax/swing/JMenu.java
5418 (AccessibleJMenu.serialVersionUID): New member variable.
5419 (WinListener.serialVersionUID): Likewise.
5420 * javax/swing/JMenuBar.java
5421 (serialVersionUID): Likewise.
5422 (getComponentAtIndex): Added @deprecated tag.
5423 * javax/swing/JMenuItem.java
5424 (serialVersionUID): New member variable.
5425 (AccessibleJMenuItem.serialVersionUID): Likewise.
5426 * javax/swing/JOptionPane.java
5427 (serialVersionUID): Likewise.
5428 (AccessibleJOptionPane.serialVersionUID): Likewise.
5429 * javax/swing/JPopupMenu.java
5430 (serialVersionUID): Likewise.
5431 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5432 (getPopupMenuListeners): New method.
5433 (getComponentAtIndex): Added @deprecated tag.
5434 * javax/swing/JProgressBar.java
5435 (serialVersionUID): New member variable.
5436 (AccessibleJProgressBar.serialVersionUID): Likewise.
5437 * javax/swing/JRadioButton.java
5438 (serialVersionUID): Likewise.
5439 * javax/swing/JRadioButtonMenuItem.java
5440 (serialVersionUID): Likewise.
5441 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5442 * javax/swing/JScrollBar.java
5443 (serialVersionUID): Likewise.
5444 (AccessibleJScrollBar.serialVersionUID): Likewise.
5445 * javax/swing/JSeparator.java
5446 (serialVersionUID): Likewise.
5447 (AccessibleJSeparator.serialVersionUID): Likewise.
5448 * javax/swing/JSlider.java: Fixed javadocs.
5449 (AccessibleJSlider.serialVersionUID): New member variable.
5450 * javax/swing/JSplitPane.java: Added copyright statement.
5451 (serialVersionUID): New member variable.
5452 (AccessibleJSplitPane.serialVersionUID): Likewise.
5453 * javax/swing/JTabbedPane.java
5454 (serialVersionUID): Likewise.
5455 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5456 (ModelListener.serialVersionUID): Likewise.
5457 (ModelListener.ModelListener): New constructor.
5458 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5459 (WRAP_TAB_LAYOUT): Likewise.
5460 * javax/swing/JTable.java
5461 (serialVersionUID): New member variable.
5462 * javax/swing/JToggleButton.java
5463 (serialVersionUID): Likewise.
5464 (ToggleButtonModel): Made static.
5465 (ToggleButtonModel.serialVersionUID): New member variable.
5466 * javax/swing/JToolTip.java
5467 (serialVersionUID): Likewise.
5468 * javax/swing/JTree.java
5469 (serialVersionUID): Likewise.
5470 * javax/swing/JWindow.java
5471 (serialVersionUID): Likewise.
5472 * javax/swing/Timer.java
5473 (serialVersionUID): Likewise.
5474
5475 2004-06-06 Michael Koch <konqueror@gmx.de>
5476
5477 * javax/swing/SwingConstants.java
5478 (NEXT): New constant.
5479 (PREVIOUS): Likewise.
5480 * javax/swing/UIManager.java
5481 (LookAndFeel): Made public.
5482 (LookAndFeel.getClassName): Likewise.
5483 (LookAndFeel.getName): Likewise.
5484
5485 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5486
5487 * javax/swing/JCheckBoxMenuItem.java:
5488 Removed CVS tags.
5489 * javax/swing/JMenu.java: Likewise.
5490 * javax/swing/JMenuBar.java: Likewise.
5491 * javax/swing/JMenuItem.java: Likewise.
5492 * javax/swing/JPopupMenu.java: Likewise.
5493 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5494 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5495 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5496 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5497 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5498 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5499 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5500
5501 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5502
5503 * javax/swing/plaf/basic/BasicMenuUI.java:
5504 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5505 Call getPath() from super class instead.
5506
5507 2004-05-31 David Jee <djee@redhat.com>
5508
5509 * java/awt/Container.java
5510 (remove): Set component visibility to false after removing it.
5511
5512 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5513
5514 * java/awt/Component.java (getForeground): Return SystemColor if
5515 parent is null.
5516 (getBackground): Likewise.
5517
5518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5519 (item_highlighted): New function.
5520 (connectSignals): Set item_highlighted as list's select
5521 function.
5522
5523 * java/applet/Applet.java: Revert changes from 2004-04-29,
5524 2004-03-15 and 2004-03-14.
5525
5526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5527 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5528 factor.
5529
5530 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5531 "Dialog" as the default font.
5532 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5533 Likewise.
5534 * java/awt/Component.java (getFont): Return "Dialog" font by
5535 default.
5536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5537 Multiply size argument to pango_font_description_set_size by the
5538 DPI conversion factor rather than by PANGO_SCALE.
5539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5541 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5549 Divide baseline y coordinate by DPI conversion factor rather
5550 than by PANGO_SCALE.
5551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5552 (area_prepared): Fix typo.
5553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5554 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5556 (dpi_conversion_factor): New global variable.
5557 (init_dpi_conversion_factor): New function to calculate and
5558 track DPI conversion factor.
5559 (dpi_changed_cb): New callback.
5560 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5561
5562 2004-05-27 David Jee <djee@redhat.com>
5563
5564 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5565 (getGraphics): Return a new GdkGraphics instance.
5566 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5567 (getGraphics): Call super.getGraphics().
5568
5569 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5570
5571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5572 (setNativeBounds): Clamp width and height values to >= 0.
5573
5574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5575 (find_fg_color_widget): Handle GtkOptionMenu specially.
5576
5577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5578 (pre_event_handler): Only post configure events to visible
5579 top-level windows.
5580
5581 2004-05-26 David Jee <djee@redhat.com>
5582
5583 * java/awt/BorderLayout.java
5584 (layoutContainer): Fix size calculations.
5585
5586 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5587
5588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5589 (window_wm_protocols_filter): Remove function.
5590 (create): Remove filter that removes WM_TAKE_FOCUS client
5591 messages.
5592
5593 2004-06-17 Anthony Green <green@redhat.com>
5594
5595 * java/util/zip/ZipFile.java (getInputStream): Return null if
5596 entry not found.
5597
5598 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5599 directory contents to the class path.
5600
5601 2004-06-15 Andrew Haley <aph@redhat.com>
5602
5603 * java/lang/natSystem.cc (getenv0): Don't assume environment
5604 variable is Latin 1 coded.
5605
5606 2004-06-14 Andreas Jaeger <aj@suse.de>
5607
5608 * configure.in: Support --enable-version-specific-runtime-libs.
5609 * configure: Regenerated.
5610
5611 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5612
5613 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5614 to pass ClassLoader argument.
5615 * java/util/GregorianCalendar.java: Likewise.
5616 * java/util/Currency.java: Likewise.
5617 * java/text/BreakIterator.java: Likewise.
5618 * java/text/Collator.java: Likewise.
5619 * java/text/DateFormat.java: Likewise.
5620 * java/text/DateFormatSymbols.java: Likewise.
5621 * java/text/DecimalFormatSymbols.java: Likewise.
5622 * java/text/NumberFormat.java: Likewise.
5623 * java/awt/Window.java: Likewise.
5624
5625 2004-06-14 Andrew Haley <aph@redhat.com>
5626
5627 * java/lang/System.java: (getenv0): New method.
5628 (getenv): Add security check. Do the right thing.
5629 * java/lang/natSystem.cc (getenv0): New method.
5630
5631 2004-06-12 Mark Wielaard <mark@klomp.org>
5632
5633 * javax/swing/RepaintManager.java
5634 (paintDirtyRegions): Use entrySet(), not values().
5635
5636 2004-06-10 Mark Wielaard <mark@klomp.org>
5637
5638 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5639 NoSuchMethodError.
5640
5641 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5642
5643 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5644 when we already know the answer.
5645 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5646 (setStartRule,setEndRule): Don't take abs of day number.
5647 (getOffset): Clarify docs. Add argument checks.
5648 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5649 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5650 endTimeMode.
5651
5652 2004-06-10 Tom Tromey <tromey@redhat.com>
5653
5654 * interpret.cc (run): Handle wide fload.
5655
5656 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5657
5658 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5659
5660 2004-06-05 Michael Koch <konqueror@gmx.de>
5661
5662 * javax/swing/SwingConstants.java
5663 (NEXT): New constant.
5664 (PREVIOUS): Likewise.
5665
5666 2004-06-05 Michael Koch <konqueror@gmx.de>
5667
5668 * javax/swing/UIManager.java
5669 (LookAndFeel): Made public.
5670 (LookAndFeel.getName): Likewise.
5671 (LookAndFeel.getClassName): Likewise.
5672
5673 2004-06-03 Michael Koch <konqueror@gmx.de>
5674
5675 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5676 (requestFocus): Revert last changes.
5677 (gtkRequestFocus): Removed.
5678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5679 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5680 Renamed to ...
5681 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5682 Reverted last patch.
5683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5684 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5685 Reverted comment change.
5686
5687 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5688
5689 * javax/swing/JCheckBoxMenuItem.java:
5690 Removed CVS tags.
5691 * javax/swing/JMenu.java: Likewise.
5692 * javax/swing/JMenuBar.java: Likewise.
5693 * javax/swing/JMenuItem.java: Likewise.
5694 * javax/swing/JPopupMenu.java: Likewise.
5695 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5696 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5697 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5698 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5699 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5700 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5701 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5702
5703 2004-06-01 Tom Tromey <tromey@redhat.com>
5704
5705 * java/io/ObjectStreamField.java: Cleaned up imports.
5706
5707 2004-06-01 Michael Koch <konqueror@gmx.de>
5708
5709 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5710
5711 2004-06-01 Mark Wielaard <mark@klomp.org>
5712
5713 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5714
5715 2004-06-01 Michael Koch <konqueror@gmx.de>
5716
5717 * java/security/Security.java
5718 (insertProviderAt): Use equals() instead of ==.
5719 (removeProvicer): Likewise.
5720 (getProvider): Likewise.
5721 * java/security/Signature.java
5722 (sign): Don't set state to UNINITIALIZED.
5723 (verify): Likewise.
5724
5725 2004-06-01 Mark Wielaard <mark@klomp.org>
5726
5727 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5728 Implement by calling gtkRequestFocus.
5729 (gtkRequestFocus): New native method.
5730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5731 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5732 Renamed to ...
5733 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5734 New function name.
5735 (filter_expose_event_handler):
5736 Mark static.
5737 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5738 (menu_pos): Mark static.
5739
5740 2004-06-01 Michael Koch <konqueror@gmx.de>
5741
5742 * java/text/CollationElementIterator.java,
5743 java/text/CollationKey.java,
5744 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5745 * testsuite/libjava.mauve/xfails: Removed all
5746 java.text.CollationElementIterator tests.
5747
5748 2004-06-01 Michael Koch <konqueror@gmx.de>
5749
5750 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5751 version.
5752 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5753 Java 1.5 keyword usage.
5754
5755 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5756
5757 * javax/swing/plaf/basic/BasicMenuUI.java:
5758 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5759 Call getPath() from super class instead.
5760
5761 2004-05-31 Michael Koch <konqueror@gmx.de>
5762
5763 * java/io/SequenceInputStream.java:
5764 Rename enum to e because enum is a keyword in Java 1.5.
5765
5766 2004-05-31 Michael Koch <konqueror@gmx.de>
5767
5768 * gnu/java/rmi/rmic/CompilerProcess.java:
5769 Fixed javadoc to by XHTML compliant.
5770
5771 2004-05-30 Mark Wielaard <mark@klomp.org>
5772
5773 * java/awt/Toolkit.java (loadSystemColors): Implement.
5774
5775 2004-05-30 Michael Koch <konqueror@gmx.de>
5776
5777 * java/lang/System.java: Reordered imports.
5778
5779 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5780
5781 * java/text/DecimalFormat.java
5782 (parse): Fixed parsing of decimal strings. Number of maximum
5783 digits to be read should now work.
5784 * java/text/SimpleDateFormat.java
5785 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5786 formatter. This fixes DateFormatTest.
5787
5788 2004-05-30 Michael Koch <konqueror@gmx.de>
5789
5790 * java/nio/Buffer.java
5791 (limit): Fixed off by one error.
5792 * java/nio/CharBuffer.java
5793 (wrap): Fixed arguments, added javadocs.
5794
5795 2004-05-30 Michael Koch <konqueror@gmx.de>
5796
5797 * gnu/java/beans/BeanInfoEmbryo.java,
5798 java/awt/im/InputContext.java,
5799 javax/swing/tree/DefaultMutableTreeNode.java:
5800 Rename enum to e because enum is a keyword in Java 1.5.
5801
5802 2004-05-30 Michael Koch <konqueror@gmx.de>
5803
5804 * gnu/java/math/MPN.java,
5805 java/awt/geom/Arc2D.java:
5806 Fixed javadocs all over.
5807
5808 2004-05-30 Michael Koch <konqueror@gmx.de>
5809
5810 * java/awt/DefaultKeyboardFocusManager.java
5811 (dispatchEvent): Call method to get key event dispatchers.
5812 (dispatchKeyEvent): Call method to get key event post processors.
5813 * javax/swing/JComponent.java
5814 (listenerList): Made protected.
5815 * javax/swing/JOptionPane.java
5816 (message): Don't initialize.
5817 (JOptionPane): Set message text.
5818 * javax/swing/JPopupMenu.java
5819 (show): Fixed typo in argument name.
5820 * javax/swing/RepaintManager.java
5821 (paintDirtyRegions): Use public API of java.util.Map.
5822 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5823 (positionForMouseEvent): Removed redundant ';'.
5824 (continueDrag): Use method arguments.
5825
5826 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5827
5828 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5829 results.
5830
5831 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5832
5833 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5834 _Jv_AllocBytes.
5835 * gnu/gcj/RawDataManaged.java: New file.
5836 * java/lang/Thread.java (data): Declare as RawDataManaged.
5837 * java/lang/natThread.cc (init_native): Cast natThread data to
5838 RawDataManaged, not jobject.
5839 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5840 * Makefile.in: Rebuilt.
5841
5842 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5843
5844 * java/util/SimpleTimeZone.java: Reverting my last change until I
5845 can fix it properly.
5846
5847 2004-05-27 Michael Koch <konqueror@gmx.de>
5848
5849 * javax/swing/JPopupMenu.java
5850 (isVisible): Do not use visible directly.
5851 (setVisible): Likewise.
5852 * javax/swing/JWindow.java
5853 (JWindow): call accessible constructor.
5854 * javax/swing/RepaintManager.java
5855 (paintDirtyRegions): Use public methods to obtain iterator.
5856
5857 2004-05-25 David Jee <djee@redhat.com>
5858
5859 * java/awt/Container.java
5860 (remove): Set component's parent to null only after we removed the
5861 component from its parent's layout manager.
5862
5863 2004-05-25 David Jee <djee@redhat.com>
5864
5865 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5866 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5867 is valid.
5868 * gnu/java/awt/peer/gtk/GtkListPeer.java
5869 (getSize): Change native method declaration.
5870 (minimumSize): Pass visible row count into getSize().
5871 (preferredSize): Likewise.
5872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5873 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5874 natural size. Use visible row count to determine the final height
5875 value to return.
5876
5877 2004-05-21 Graydon Hoare <graydon@redhat.com>
5878
5879 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5880 (setClip): Minor correction to order of operations.
5881
5882 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5883 * javax/swing/ScrollPaneLayout.java: Likewise.
5884 * javax/swing/JViewPort.java: Likewise.
5885 * javax/swing/ViewportLayout.java: Likewise.
5886
5887 * javax/swing/JComponent.java: Rewrite.
5888 * javax/swing/RepaintManager.java: Likewise.
5889
5890 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5891 * javax/swing/JList.java
5892 (setSelectedIndices):
5893 (getSelectedIndices):
5894 (getSelectedValues): New functions.
5895 (getPreferredScrollableViewportSize): Return preferred size.
5896 (getScrollableUnitIncrement):
5897 (getScrollableBlockIncrement): Initial implementations.
5898 * javax/swing/JRootPane.java: Clean up slightly.
5899 (getUI):
5900 (setUI):
5901 (updateUI):
5902 (getUIClassID):
5903 (isValidateRoot): Add overrides from JComponent.
5904 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5905 * javax/swing/UIManager.java (getDimension): Return the dimension.
5906
5907 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5908 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5909 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5910 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5911 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5912 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5913 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5914 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5915 Likewise, and set background.
5916 * javax/swing/plaf/basic/BasicListUI.java:
5917 Likewise, and improve a bit.
5918 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5919 Likewise, and adjust calculations.
5920 * javax/swing/plaf/basic/BasicViewportUI.java:
5921 Likewise, and improve a bit.
5922 * javax/swing/plaf/basic/BasicLookAndFeel.java
5923 (Button.margin): Shrink.
5924
5925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5926 Hack to set horizontal always, workaround pango.
5927
5928 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5930 Synchronize more often, check cairo status after ops,
5931 handle changes to cairo pattern API, check for disposal.
5932
5933 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5934
5935 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5936 (BasicMenuItemUI): Create propertyChangeListener.
5937 (getPath):Implemented.
5938 (installListeners): Add propertyChangeListener to menuItem.
5939 (uninstallListeners): Remove propertyChangeListener from menuItem.
5940 (update): Implemented.
5941 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5942 (mouseEntered): Take insets of popup menu into account when
5943 calculating position of popup menu.
5944
5945 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5946
5947 * Makefile.am: Added new file.
5948 * Makefile.in: Regenerate.
5949 * javax/swing/JMenuBar.java:
5950 Started implementation.
5951 * javax/swing/JPopupMenu.java:
5952 (setVisible): Fixed location of lightweight/mediumweight
5953 popup menu.
5954 (show): Fixed location of PopupMenu.
5955 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5956 New file. UI Delegate for JMenuBar.
5957 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5958 (mouseEntered): Corrected position of the submenu.
5959
5960 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5961
5962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5963 to _gtk_accel_group_attach.
5964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5965 Likewise.
5966
5967 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5968 package access. Don't override setFont.
5969 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5971 gtkWidgetRequestFocus package access.
5972 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5973 setFont.
5974 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5975 Give gtkWidgetRequestFocus package access.
5976 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5977 gtkWidgetRequestFocus package access. Don't override setFont.
5978 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5979 setFont.
5980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5981 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5982 region.
5983 (gtkSetFont): Likewise.
5984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5985 Implement.
5986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5987 (gtkSetFont): Whitespace fix.
5988
5989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5990 (gtkWidgetSetUsize): Remove method.
5991
5992 2004-05-18 David Jee <djee@redhat.com>
5993
5994 * java/awt/image/MemoryImageSource.java
5995 (newPixels(int,int,int,int,boolean)): Set only the specified
5996 rectangle of pixels.
5997 (newPixels(byte[],ColorModel,int,int)): Implement.
5998 (newPixels(int[],ColorModel,int,int)): Implement.
5999
6000 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6001
6002 * Makefile.am: Added new file.
6003 * Makefile.in: Regenerate.
6004 * javax/swing/JMenu.java: Started
6005 implementation.
6006 * javax/swing/JPopupMenu.java:
6007 (insert): If specified index is -1, then
6008 add component at the end.
6009 (isPopupTrigger): Reimplemented.
6010 (JPopupMenu.LightWeightPopup): setBounds
6011 of the lightWeightPopup before adding it
6012 to the layeredPane.
6013 (javax/swing/plaf/basic/BasicIconFactory.java):
6014 (getMenuArrowIcon): Implemented.
6015 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6016 (getPreferredSize): Add size of the arrow icon
6017 if this menu item is instance of JMenu.
6018 (paintMenuItem): Paint arrow icon if this
6019 menu item is a submenu.
6020 * javax/swing/plaf/basic/BasicMenuUI.java:
6021 New File. UI Delegate for JMenu.
6022
6023 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6024
6025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6026 Post KEY_TYPED events.
6027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6028 (generates_key_typed_event): Remove function.
6029
6030 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6031
6032 * javax/swing/JRootPane.java
6033 (JRootPane.RootLayout): Reimplemented to
6034 set bounds of contentPane and menuBar.
6035 (setJMenuBar): Add menu bar to the layered pane.
6036 (createLayeredPane): Set layout of layeredPane
6037 to null.
6038 * javax/swing/JLayeredPane.java:
6039 (addImpl): Calculate index of the component in the
6040 layeredPane according to the specified position within
6041 the layer.
6042
6043 2004-05-17 David Jee <djee@redhat.com>
6044
6045 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6046 (setPixels): Change color model to the default model after
6047 converting pixels.
6048 * java/awt/image/MemoryImageSource.java
6049 (newPixels): Set only the specified rectangle of pixels.
6050
6051 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6052
6053 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6054 -l-java-beans -l-javax-accessibility -l-javax-swing.
6055
6056 * java/awt/AWTEvent.java (toString): Print source's name rather
6057 than the source itself.
6058
6059 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6060
6061 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6062 native.
6063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6064 (gdk_color_to_java_color): New function.
6065 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6066
6067 2004-05-12 David Jee <djee@redhat.com>
6068
6069 * java/awt/image/RGBImageFilter.java:
6070 Initialize origmodel as null.
6071 (makeColor): Fix pixel component order.
6072 (filterRGBPixels): Fix pixel iteration.
6073 (setPixels): Add extra checks for index color model. Convert pixels
6074 to default color model if necessary.
6075 (convertColorModelToDefault): New override method for byte pixels.
6076 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6077 (makeColorbyDefaultCM): New override method for byte pixels.
6078 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6079 (makeColor): Fix pixel component order.
6080
6081 2004-05-11 Kim Ho <kho@redhat.com>
6082
6083 * javax/swing/Box.java:
6084 Comment out more parts of Box.Filler.
6085
6086 2004-05-11 Kim Ho <kho@redhat.com>
6087
6088 * javax/swing/Box.java:
6089 Remove reference to AccessibleAWTComponent so
6090 it compiles again.
6091
6092 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6093
6094 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6095 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6096 implementation of list peer to use GtkTreeView instead of
6097 deprecated GtkCList.
6098
6099 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6100
6101 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6102 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6103 (handleEvent): Remove keyChar argument to
6104 gtkWidgetDispatchKeyEvent calls.
6105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6106 compiler warnings.
6107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6110 Likewise.
6111
6112 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6113
6114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6115 (gtkWidgetRequestFocus): Mark protected.
6116 (GtkComponentPeer): Only set the peer's bounds if its component
6117 is valid.
6118 * java/awt/Component.java (static): Set the default keyboard
6119 focus manager.
6120 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6121 requestFocusInWindow(temporary)): Don't request focus if the
6122 component is not showing. Get tree lock before traversing
6123 component hierarchy.
6124 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6125 Only set the global focus owner if it is not a Window.
6126 (processKeyEvent): Consume keystrokes associated with the focus
6127 traversal keystroke.
6128 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6129 downFocusCycle): Call requestFocusInWindow instead of
6130 requestFocus.
6131 * java/awt/EventDispatchThread.java (run): Move setting of
6132 default keyboard focus manager to Component.java.
6133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6134 (awt_keycode_to_keysym): New function.
6135 (gtkWidgetDispatchKeyEvent): Finish implementation.
6136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6137 (pre_event_handler): Add FIXME comment.
6138
6139 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6141 (gtkWidgetRequestFocus): New method.
6142 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6143 disable Tab and Shift-Tab keystrokes.
6144 (addNotify, appendText, insertText, replaceText): Simplify peer
6145 retrieval code.
6146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6147 (connectSignals): Remove connections to "commit" signals.
6148 Remove C++-style comments.
6149
6150 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6151 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6152 (handleEvent): Activate GTK button when the space bar key is
6153 pressed.
6154 (gtkActivate): New method.
6155
6156 2004-05-06 David Jee <djee@redhat.com>
6157
6158 * java/awt/image/CropImageFilter.java
6159 (setPixels): Implement for byte array pixels.
6160 * java/awt/image/ReplicateScaleFilter.java
6161 (setPixels): Implement for byte array pixels.
6162 (replicatePixels): Overload for byte array pixels.
6163
6164 2004-05-06 Kim Ho <kho@redhat.com>
6165
6166 * javax/swing/Box.java:
6167 (getAccessibleContext): Return an instance of the
6168 correct class.
6169
6170 2004-05-05 David Jee <djee@redhat.com>
6171
6172 * gnu/java/awt/peer/gtk/GdkGraphics.java
6173 (drawImage): When component is null, use SystemColor.window as
6174 the default bgcolor.
6175 * gnu/java/awt/peer/gtk/GtkImage.java
6176 (setPixels): We can avoid iterating through the pixel rows only
6177 when height is 1.
6178 * java/awt/Image.java
6179 (getScaledInstance): Partially implement.
6180 * java/awt/image/CropImageFilter.java
6181 (setProperties): Fix "filter" property.
6182 (setPixels): Implement.
6183 * java/awt/image/ReplicateScaleFilter.java
6184 (setDimensions): Use scaled dimensions.
6185 (setPixels): Implement.
6186 (replicatePixels): New method.
6187
6188 2004-05-05 David Jee <djee@redhat.com>
6189
6190 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6191 (convertPixels): If either pixels or model is null, return null.
6192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6193 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6194 is null, do nothing and return.
6195
6196 2004-05-03 Kim Ho <kho@redhat.com>
6197
6198 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6199 (getGraphics): Like GtkFramePeer, the Graphics
6200 object needs to be translate to account for
6201 window decorations.
6202 (postMouseEvent): New method. Account for
6203 translation.
6204 (postExposeEvent): ditto.
6205 * javax/swing/Box.java: Stubbed.
6206 * javax/swing/JDialog.java: Ran through jalopy
6207 to fix indentation.
6208 (JDialog): Call SwingUtilities' getOwnerFrame
6209 for null owners.
6210 (setLayout): Check isRootPaneCheckingEnabled
6211 * javax/swing/JOptionPane.java: Re-implemented.
6212 * javax/swing/SwingUtilities.java:
6213 (getOwnerFrame): Static method to grab a default
6214 owner frame for Dialogs that don't specify owners.
6215 * javax/swing/event/SwingPropertyChangeSupport.java:
6216 (firePropertyChange): Fix early exit condition.
6217 * javax/swing/plaf/basic/BasicLabelUI.java:
6218 (paint): Avoid painting text if it is null
6219 or empty.
6220 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6221 Implement.
6222
6223 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6224
6225 * Makefile.am: Added new file.
6226 * Makefile.in: Regenerate.
6227 * javax/swing/JPopupMenu.java:
6228 Started implementation.
6229 * javax/swing/JWindow.java
6230 (JWindow): call super() if parent for window
6231 is not specified.
6232 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6233 New File. UI Delegate for JPopupMenu.
6234
6235 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6236
6237 * javax/swing/JApplet.java: Indicated that JApplet
6238 implements RootPaneContainer and made method of this
6239 interface public.
6240 * javax/swing/JFrame.java: Ditto.
6241 * javax/swing/JWindow.java: Ditto.
6242
6243 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6244
6245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6246 (nativeSetBounds): Call gdk_window_move in addition to
6247 gtk_window_move.
6248
6249 * java/applet/Applet.java (preferredSize): Call parent's
6250 preferredSize if the applet stub is null.
6251 (minimumSize): Likewise for parent's minimumSize.
6252
6253 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6254
6255 * javax/swing/JMenuItem.java
6256 (createActionPropertyChangeListener): Implemented.
6257 (processMouseEvent): Ditto.
6258 (fireMenuDragMouseEntered): Ditto.
6259 (fireMenuDragMouseExited): Ditto.
6260 (fireMenuDragMouseDragged): Ditto.
6261 (fireMenuDragMouseReleased): Ditto.
6262 (menuSelectionChanged): Ditto.
6263 (getSubElements): Ditto.
6264 (getComponent): Ditto.
6265 (addMenuDragMouseListener): Ditto.
6266 (removeMenuDragMouseListener):Ditto.
6267 (addMenuKeyListener): Ditto.
6268 (removeMenuKeyListener): Ditto.
6269 * javax/swing/plaf/basic/BasicMenuItemUI.java
6270 (doClick): Imlemented.
6271 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6272 Don't handle mouse events here. Pass them to
6273 MenuSelectionManager.
6274
6275 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6276 Used correct version of jalopy configuration
6277 file to fix style in the files below.
6278
6279 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6280
6281 * javax/swing/JCheckBoxMenuItem.java:
6282 Fixed style and removed unnecessary comments.
6283 * javax/swing/JMenuItem.java: Ditto.
6284 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6285 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6286 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6287 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6288
6289 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6290
6291 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6292 C-style.
6293
6294 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6295
6296 * java/awt/ContainerOrderFocusTraversalPolicy.java
6297 (getComponentAfter): Start from current component and work up
6298 the component hierarchy until an acceptable component is found.
6299 Synchronize on tree lock.
6300 (getComponentBefore): Likewise.
6301
6302 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6303
6304 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6305 focus-related debugging messages.
6306 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6307 * java/awt/EventDispatchThread.java: Likewise.
6308 * java/awt/KeyboardFocusManager.java: Likewise.
6309 * java/awt/Window.java: Likewise.
6310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6312
6313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6314 new C++-style comments to C-style comments.
6315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6316
6317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6318 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6319 (handleEvent): Dispatch key press and key release events to
6320 backing widget.
6321 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6322 (gtkWidgetRequestFocus): New method.
6323 (gtkWidgetDispatchKeyEvent): Likewise.
6324 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6325 requestFocusInWindow, requestFocusInWindow(boolean),
6326 getFocusCycleRootAncestor, nextFocus, transferFocus,
6327 transferFocusBackward, transferFocusUpCycle, hasFocus,
6328 isFocusOwner): Implement and document focus-handling methods.
6329 (setFocusTraversalKeys): Inherit focus traversal keys when
6330 keystrokes argument is null. Fix focus-handling documentation
6331 throughout class.
6332 * java/awt/Container.java (setFocusTraversalKeys,
6333 getFocusTraversalKeys, areFocusTraversalKeysSet,
6334 isFocusCycleRoot, setFocusTraversalPolicy,
6335 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6336 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6337 Implement and document focus-handling methods.
6338 (transferFocusBackward): Remove method.
6339 (readObject, writeObject): Implement and document serialization
6340 methods.
6341 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6342 and document.
6343 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6344 document.
6345 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6346 partially document.
6347 * java/awt/EventDispatchThread.java (run): Set default keyboard
6348 focus manager. Attempt to dispatch each event to the keyboard
6349 focus manager before normal dispatch.
6350 * java/awt/KeyboardFocusManager.java: Implement and partially
6351 document.
6352 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6353 (show): Focus initial component when window is shown for the
6354 first time.
6355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6356 (pre_event_handler): Replace complex key press and key release
6357 logic with simple callbacks into GtkComponentPeer.
6358 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6359
6360 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6361
6362 * javax/swing/MenuSelectionManager.java
6363 (componentForPoint): Added new method.
6364 (defaultManager): New Method. Implemented.
6365 (getSelectedPath): Ditto.
6366 (isComponentPartOfCurrentMenu): Ditto.
6367 (processKeyEvent): Added new method.
6368 (processMouseEvent): New Method. Implemented.
6369 (setSelectedPath): Ditto.
6370 (getPath): Ditto.
6371
6372 2004-04-19 Kim Ho <kho@redhat.com>
6373
6374 * java/awt/Container.java:
6375 (remove): Set the component's parent to null.
6376 (getComponentAt): Implement.
6377 * javax/swing/JComponent.java:
6378 (JComponent): Initialize defaultLocale
6379 (getDefaultLocale): Implement.
6380 (setDefaultLocale): ditto.
6381 * javax/swing/JSlider.java:
6382 (JSlider): Fix calculation of value.
6383 * javax/swing/JSplitPane.java: Implement.
6384 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6385 Change SplitPane's default divider size.
6386 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6387 (paint): Remove unused code.
6388 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6389 Added comments and ran through jalopy.
6390 (setBasicSplitPaneUI): Get reference to hidden divider
6391 and set up one touch buttons if necessary.
6392 (setBorder): Fire propertyChangeEvent only if
6393 borders are different.
6394 (getPreferredSize): Defer to layout manager.
6395 (propertyChange): Implement.
6396 (oneTouchExpandableChanged): ditto.
6397 (createLeftOneTouchButton): Use BasicArrowButton.
6398 (createRightOneTouchButton): ditto.
6399 (moveDividerTo): New method. Moves the divider
6400 to a set location based on the last divider location.
6401 (BasicSplitPaneDivider::MouseHandler): Implement.
6402 (BasicSplitPaneDivider::OneTouchButton): Removed.
6403 (BasicSplitPaneDivider::DragController): Implement.
6404 (BasicSplitPaneDivider::VerticalDragController):
6405 ditto.
6406 (BasicSplitPaneDivider::DividerLayout): ditto.
6407 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6408 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6409 (calculateLayoutInfo): Don't show component if it's
6410 null.
6411 (paintTab): Fix title paint logic.
6412
6413 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6414
6415 PR libgcj/8321
6416 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6417 (setStartRule,setEndRule): Don't take abs of day number.
6418 (getOffset): Clarify docs. Add argument checks.
6419 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6420 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6421 endTimeMode.
6422 * testsuite/libjava.mauve/xfails
6423 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6424
6425 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6426
6427 Layout interfaces during preparation, not initialization.
6428 * java/lang/natClass.cc (initializeClass): Move
6429 _Jv_LayoutInterfaceMethods call...
6430 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6431
6432 2004-05-19 Anthony Green <green@localhost.localdomain>
6433
6434 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6435 gnu.javax.rmi code.
6436 * Makefile.in: Rebuilt.
6437 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6438 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6439 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6440 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6441 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6442 gnu/javax/rmi/CORBA/DelegateFactory.java,
6443 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6444 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6445 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6446 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6447 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6448 gnu/javax/rmi/PortableServer.java: Remove files.
6449
6450 2004-05-19 Anthony Green <green@redhat.com>
6451
6452 * Makefile.am: Define JAVA_EXT_DIRS.
6453 * Makefile.in: Rebuilt.
6454 * java/lang/natRuntime.cc (insertSystemProperties): Set
6455 java.ext.dirs property.
6456
6457 2004-05-16 Mark Wielaard <mark@klomp.org>
6458
6459 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6460
6461 2004-05-15 Mark Wielaard <mark@klomp.org>
6462
6463 * doc/cni.sgml: Removed, merged into gcj.texi.
6464
6465 2004-05-15 Mark Wielaard <mark@klomp.org>
6466
6467 * Makefile.am (ordinary_java_source_files): Add new javax.print
6468 classes.
6469 * Makefile.in: Regenerated.
6470
6471 2004-05-15 Michael Koch <konqueror@gmx.de>
6472
6473 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6474 javax/print/attribute/standard/DateTimeAtCreation.java,
6475 javax/print/attribute/standard/DateTimeAtProcessing.java,
6476 javax/print/attribute/standard/DocumentName.java,
6477 javax/print/attribute/standard/JobHoldUntil.java,
6478 javax/print/attribute/standard/JobImpressionsCompleted.java,
6479 javax/print/attribute/standard/JobMessageFromOperator.java,
6480 javax/print/attribute/standard/JobName.java,
6481 javax/print/attribute/standard/JobOriginatingUserName.java,
6482 javax/print/attribute/standard/JobPriority.java,
6483 javax/print/attribute/standard/JobPrioritySupported.java,
6484 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6485 javax/print/attribute/standard/OutputDeviceAssigned.java,
6486 javax/print/attribute/standard/PrinterInfo.java,
6487 javax/print/attribute/standard/PrinterLocation.java,
6488 javax/print/attribute/standard/PrinterMakeAndModel.java,
6489 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6490 javax/print/attribute/standard/PrinterName.java,
6491 javax/print/attribute/standard/QueuedJobCount.java,
6492 javax/print/attribute/standard/RequestingUserName.java:
6493 Fixed javadocs all over.
6494
6495 2004-05-15 Michael Koch <konqueror@gmx.de>
6496
6497 * javax/print/DocFlavor.java,
6498 javax/print/attribute/standard/ColorSupported.java,
6499 javax/print/attribute/standard/Compression.java,
6500 javax/print/attribute/standard/CopiesSupported.java,
6501 javax/print/attribute/standard/Fidelity.java,
6502 javax/print/attribute/standard/Finishings.java,
6503 javax/print/attribute/standard/JobImpressionsSupported.java,
6504 javax/print/attribute/standard/JobKOctetsSupported.java,
6505 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6506 javax/print/attribute/standard/JobSheets.java,
6507 javax/print/attribute/standard/JobState.java,
6508 javax/print/attribute/standard/JobStateReason.java,
6509 javax/print/attribute/standard/JobStateReasons.java,
6510 javax/print/attribute/standard/Media.java,
6511 javax/print/attribute/standard/MediaSizeName.java,
6512 javax/print/attribute/standard/MultipleDocumentHandling.java,
6513 javax/print/attribute/standard/NumberUpSupported.java,
6514 javax/print/attribute/standard/OrientationRequested.java,
6515 javax/print/attribute/standard/PDLOverrideSupported.java,
6516 javax/print/attribute/standard/PageRanges.java,
6517 javax/print/attribute/standard/PresentationDirection.java,
6518 javax/print/attribute/standard/PrintQuality.java,
6519 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6520 javax/print/attribute/standard/PrinterMoreInfo.java,
6521 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6522 javax/print/attribute/standard/PrinterResolution.java,
6523 javax/print/attribute/standard/PrinterState.java,
6524 javax/print/attribute/standard/PrinterStateReason.java,
6525 javax/print/attribute/standard/PrinterStateReasons.java,
6526 javax/print/attribute/standard/PrinterURI.java,
6527 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6528 javax/print/attribute/standard/Severity.java,
6529 javax/print/attribute/standard/SheetCollate.java,
6530 javax/print/attribute/standard/Sides.java:
6531 Added serialVersionUID and removed final keyword where it doenst
6532 belong.
6533
6534 2004-05-15 Michael Koch <konqueror@gmx.de>
6535
6536 * javax/print/PrintServiceLookup.java: New file.
6537
6538 2004-05-15 Michael Koch <konqueror@gmx.de>
6539
6540 * javax/print/DocFlavor.java:
6541 Implemented all flavor classes.
6542
6543 2004-05-15 Michael Koch <konqueror@gmx.de>
6544
6545 * javax/print/attribute/standard/ColorSupported.java,
6546 javax/print/attribute/standard/Compression.java,
6547 javax/print/attribute/standard/CopiesSupported.java,
6548 javax/print/attribute/standard/Fidelity.java,
6549 javax/print/attribute/standard/Finishings.java,
6550 javax/print/attribute/standard/JobImpressionsSupported.java,
6551 javax/print/attribute/standard/JobKOctetsSupported.java,
6552 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6553 javax/print/attribute/standard/JobSheets.java,
6554 javax/print/attribute/standard/JobState.java,
6555 javax/print/attribute/standard/JobStateReason.java,
6556 javax/print/attribute/standard/JobStateReasons.java,
6557 javax/print/attribute/standard/Media.java,
6558 javax/print/attribute/standard/MediaSizeName.java,
6559 javax/print/attribute/standard/MultipleDocumentHandling.java,
6560 javax/print/attribute/standard/NumberUpSupported.java,
6561 javax/print/attribute/standard/OrientationRequested.java,
6562 javax/print/attribute/standard/PDLOverrideSupported.java,
6563 javax/print/attribute/standard/PageRanges.java,
6564 javax/print/attribute/standard/PresentationDirection.java,
6565 javax/print/attribute/standard/PrintQuality.java,
6566 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6567 javax/print/attribute/standard/PrinterMoreInfo.java,
6568 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6569 javax/print/attribute/standard/PrinterResolution.java,
6570 javax/print/attribute/standard/PrinterState.java,
6571 javax/print/attribute/standard/PrinterStateReason.java,
6572 javax/print/attribute/standard/PrinterStateReasons.java,
6573 javax/print/attribute/standard/PrinterURI.java,
6574 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6575 javax/print/attribute/standard/Severity.java,
6576 javax/print/attribute/standard/SheetCollate.java,
6577 javax/print/attribute/standard/Sides.java: New files.
6578
6579 2004-05-15 Michael Koch <konqueror@gmx.de>
6580
6581 * javax/print/Doc.java
6582 (getPrintData): Throws IOException.
6583 (getReaderForText): Likewise.
6584 (getStreamForBytes): Likewise.
6585 * javax/print/DocFlavor.java:
6586 Fixed filename in copyright.
6587 (serialVersionUID): New field.
6588 * javax/print/ServiceUIFactory.java:
6589 Made all constants final.
6590 * javax/print/AttributeException.java
6591 javax/print/MultiDoc.java
6592 javax/print/MultiDocPrintJob.java
6593 javax/print/MultiDocPrintService.java
6594 javax/print/StreamPrintService.java
6595 javax/print/URIException.java: New files.
6596 * javax/print/Makefile.am
6597 (EXTRA_DIST): Added all new files.
6598
6599 2004-05-15 Michael Koch <konqueror@gmx.de>
6600
6601 * javax/print/attribute/standard/Copies.java,
6602 javax/print/attribute/standard/DateTimeAtCompleted.java,
6603 javax/print/attribute/standard/DateTimeAtCreation.java,
6604 javax/print/attribute/standard/DateTimeAtProcessing.java,
6605 javax/print/attribute/standard/DocumentName.java,
6606 javax/print/attribute/standard/JobHoldUntil.java,
6607 javax/print/attribute/standard/JobImpressions.java,
6608 javax/print/attribute/standard/JobImpressionsCompleted.java,
6609 javax/print/attribute/standard/JobKOctets.java,
6610 javax/print/attribute/standard/JobKOctetsProcessed.java,
6611 javax/print/attribute/standard/JobMediaSheets.java,
6612 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6613 javax/print/attribute/standard/JobMessageFromOperator.java,
6614 javax/print/attribute/standard/JobName.java,
6615 javax/print/attribute/standard/JobOriginatingUserName.java,
6616 javax/print/attribute/standard/JobPriority.java,
6617 javax/print/attribute/standard/JobPrioritySupported.java,
6618 javax/print/attribute/standard/NumberOfDocuments.java,
6619 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6620 javax/print/attribute/standard/NumberUp.java,
6621 javax/print/attribute/standard/OutputDeviceAssigned.java,
6622 javax/print/attribute/standard/PagesPerMinute.java,
6623 javax/print/attribute/standard/PagesPerMinuteColor.java:
6624 Fixed @return tag all over.
6625
6626 2004-05-15 Michael Koch <konqueror@gmx.de>
6627
6628 * javax/print/attribute/AttributeSetUtilities.java
6629 (verifyCategoryForValue): Fixed typo in javadoc.
6630 * javax/print/attribute/HashAttributeSet.java
6631 (containsKey): Fixed @return tag.
6632 (comtainsValue): Likewise.
6633 (equals): Likewise.
6634 * javax/print/attribute/IntegerSyntax.java
6635 (equals): Likewise.
6636 * javax/print/attribute/ResolutionSyntax.java
6637 (equals): Likewise.
6638 (getCrossFeedResolution): Removed unused code.
6639 (getFeedResolution): Likewise.
6640 * javax/print/attribute/SetOfIntegerSyntax.java
6641 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6642 (equals): Fixed @return tag.
6643 * javax/print/attribute/TextSyntax.java
6644 (TextSyntax): Take locale into account.
6645 (hashCode): Better implementation.
6646
6647 2004-05-15 Michael Koch <konqueror@gmx.de>
6648
6649 * javax/print/CancelablePrintJob.java,
6650 javax/print/Doc.java,
6651 javax/print/DocFlavor.java,
6652 javax/print/DocPrintJob.java,
6653 javax/print/FlavorException.java,
6654 javax/print/PrintException.java,
6655 javax/print/PrintService.java,
6656 javax/print/ServiceUIFactory.java: New files.
6657
6658 2004-05-15 Mark Wielaard <mark@klomp.org>
6659
6660 * gnu/regexp/CharIndexedReader.java: Removed.
6661 * gnu/regexp/REFilterReader.java: Likewise.
6662 * gnu/regexp/RETokenLookAhead.java: Likewise.
6663 * Makefile.am (ordinary_java_source_files): Remove above classes.
6664 * Makefile.in: Regenerated.
6665
6666 2004-05-14 Tom Tromey <tromey@redhat.com>
6667
6668 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6669 not `XGraphicsConfiguration.XOffScreenImage'.
6670
6671 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6672
6673 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6674
6675 2004-05-14 Steven Augart <augart@watson.ibm.com>
6676
6677 * include/jni.h (_Jv_func): Removed.
6678 (struct JNINativeInterface): Use `void *' for reserved slots.
6679 (struct JNIInvokeInterface): Likewise.
6680
6681 2004-05-11 Michael Koch <konqueror@gmx.de>
6682
6683 * gnu/java/net/natPlainSocketImplPosix.cc
6684 (read): Fixed typo in expression.
6685
6686 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6687
6688 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6689 ld_library_additions. Adjust all calls to libjava_invoke to match
6690 the new argument.
6691
6692 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6693 path to cxxflagslist.
6694 Pass path of libstdc++ to libjava_invoke.
6695
6696 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6697 libjava_invoke arguments.
6698
6699 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6700
6701 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6702 reality.
6703
6704 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6705
6706 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6707 main binary against the JNI shared library.
6708
6709 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6710
6711 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6712 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6713 (SimpleTimeZone): Tweak docs. Add new variation.
6714 (setStartRule,setEndRule): Add new variations. Use
6715 startTimeMode and endTimeMode.
6716
6717 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6718
6719 * java/util/Calendar.java (getActualMinimum,
6720 getActualMaximum): Remove abstract. Implement.
6721
6722 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6723
6724 Run the jni tests using the interpreter.
6725 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6726 options_cxx to shared lib compile command.
6727 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6728 they are used to link the shared lib, not the main binary.
6729 Use libjava_invoke to run gij.
6730
6731 2004-05-06 Michael Koch <konqueror@gmx.de>
6732
6733 * java/util/logging/Level.java
6734 (parse): Use == instead of String.equals().
6735
6736 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6737
6738 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6739 verify_field_signature and verify_method_signature, not
6740 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6741 (_Jv_ClassReader::handleField): Likewise.
6742 (_Jv_ClassReader::handleMethod): Likewise.
6743
6744 2004-05-06 Michael Koch <konqueror@gmx.de>
6745
6746 * javax/swing/table/TableColumn.java:
6747 Reformated.
6748
6749 2004-05-06 Michael Koch <konqueror@gmx.de>
6750
6751 * javax/imageio/spi/ImageReaderWriterSpi.java
6752 (ImageReaderWriterSpi): Made it public.
6753 * javax/imageio/stream/ImageInputStream.java:
6754 Clean up imports.
6755
6756 2004-05-06 Michael Koch <konqueror@gmx.de>
6757
6758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6759 Removed empty line.
6760
6761 2004-05-06 Michael Koch <konqueror@gmx.de>
6762
6763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6764 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6765 New files.
6766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6767 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6769 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6770 their own source file.
6771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6772 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6773 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6775 (create): Define variable on top of function.
6776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6777 (menu_pos): Prototyped.
6778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6779 (setTitle): Removed.
6780 * jni/gtk-peer/gthread-jni.c
6781 (gdk_threads_wake): Removed.
6782 * Makefile.am (gtk_c_source_files): Added new files
6783 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6784 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6785 * Makefile.in: Regenerated.
6786
6787 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6788
6789 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6790 call.
6791
6792 2004-05-05 Mark Wielaard <mark@klomp.org>
6793
6794 * javax/swing/AbstractButton.java: Replace special HTML entities with
6795 ASCII equivalent.
6796 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6797 * javax/swing/DefaultButtonModel.java: Likewise.
6798 * javax/swing/DefaultListModel.java: Likewise.
6799 * javax/swing/JList.java: Likewise.
6800 * javax/swing/JSlider.java: Likewise.
6801 * javax/swing/ListModel.java: Likewise.
6802 * javax/swing/Popup.java: Likewise.
6803 * javax/swing/SwingUtilities.java: Likewise.
6804
6805 2004-05-05 Michael Koch <konqueror@gmx.de>
6806
6807 * javax/swing/AbstractButton.java,
6808 javax/swing/ActionMap.java,
6809 javax/swing/DefaultButtonModel.java,
6810 javax/swing/DefaultListModel.java,
6811 javax/swing/ImageIcon.java,
6812 javax/swing/JComboBox.java,
6813 javax/swing/JComponent.java,
6814 javax/swing/JFrame.java,
6815 javax/swing/JInternalFrame.java,
6816 javax/swing/JMenuBar.java,
6817 javax/swing/JMenuItem.java,
6818 javax/swing/JOptionPane.java,
6819 javax/swing/JProgressBar.java,
6820 javax/swing/JRootPane.java,
6821 javax/swing/JScrollBar.java,
6822 javax/swing/JScrollPane.java,
6823 javax/swing/JSeparator.java,
6824 javax/swing/JSlider.java,
6825 javax/swing/JTabbedPane.java,
6826 javax/swing/JTable.java,
6827 javax/swing/JTextField.java,
6828 javax/swing/JToolBar.java,
6829 javax/swing/JToolTip.java,
6830 javax/swing/JTree.java,
6831 javax/swing/JViewport.java,
6832 javax/swing/JWindow.java,
6833 javax/swing/KeyStroke.java,
6834 javax/swing/LookAndFeel.java,
6835 javax/swing/SwingUtilities.java,
6836 javax/swing/Timer.java,
6837 javax/swing/ToolTipManager.java,
6838 javax/swing/UIDefaults.java,
6839 javax/swing/border/TitledBorder.java,
6840 javax/swing/filechooser/FileSystemView.java,
6841 javax/swing/plaf/basic/BasicButtonListener.java,
6842 javax/swing/plaf/basic/BasicButtonUI.java,
6843 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6844 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6845 javax/swing/plaf/basic/BasicLabelUI.java,
6846 javax/swing/plaf/basic/BasicMenuItemUI.java,
6847 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6848 javax/swing/plaf/basic/BasicRootPaneUI.java,
6849 javax/swing/plaf/basic/BasicScrollBarUI.java,
6850 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6851 javax/swing/plaf/basic/BasicSliderUI.java,
6852 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6853 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6854 javax/swing/table/JTableHeader.java,
6855 javax/swing/text/AbstractDocument.java,
6856 javax/swing/text/DefaultCaret.java,
6857 javax/swing/text/StyledEditorKit.java,
6858 javax/swing/tree/DefaultTreeCellEditor.java:
6859 Cleaned up imports.
6860
6861 2004-05-05 Michael Koch <konqueror@gmx.de>
6862
6863 * java/util/prefs/AbstractPreferences.java
6864 (AbstractPreferences): Added parenthesis for clarity.
6865 Closes classpath bug #7940.
6866
6867 2004-05-05 Tom Tromey <tromey@redhat.com>
6868
6869 * javax/naming/CompoundName.java (endsWith): Look at correct
6870 element of source name.
6871
6872 2004-05-05 Mark Wielaard <mark@klomp.org>
6873
6874 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6875 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6876
6877 2004-05-05 Tom Tromey <tromey@redhat.com>
6878
6879 * java/io/BufferedReader.java (skip): Removed unused
6880 variable.
6881
6882 2004-05-05 Michael Koch <konqueror@gmx.de>
6883
6884 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6885
6886 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6887
6888 * java/text/AttributedString.java,
6889 java/text/AttributedStringIterator.java,
6890 java/text/Collator.java,
6891 java/text/DecimalFormatSymbols.java,
6892 java/text/NumberFormat.java,
6893 java/text/RuleBasedCollator.java:
6894 Cleaned up imports.
6895
6896 2004-05-05 Tom Tromey <tromey@redhat.com>
6897
6898 * java/text/Format.java: Cleaned up imports.
6899 * java/text/DecimalFormat.java: Cleaned up imports.
6900 * java/security/SecureRandom.java: Cleaned up imports.
6901 (SecureRandom): Removed unused variable.
6902 * java/security/UnresolvedPermission.java: Cleaned up imports.
6903 * java/util/Date.java (parse): Removed unused variable.
6904 * java/util/ResourceBundle.java: Cleaned up imports.
6905 (getBundle): Removed unused variable.
6906 (tryBundle): Likewise.
6907 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6908
6909 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6910
6911 * java/text/SimpleDateFormat.java:
6912 (formatWithAttribute): New method. It implements
6913 the formatting process with attributes.
6914 (format): Use formatWithAttribute.
6915 (formatToCharacterIterator): New method. Use
6916 formatWithAttribute.
6917
6918 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6919
6920 * java/text/MessageFormat.java:
6921 (class Field): New class.
6922 (formatToCharacterIterator): New method.
6923 (format): Use formatInternal now.
6924 (formatInternal): New method. String formatter should
6925 be done here (with attributes). Attributes merging supported.
6926 (parse): More documentation.
6927 (getFormatsByArgumentIndex): New method.
6928 (setFormatByArgumentIndex): New method.
6929 (setFormatsByArgumentIndex): New method.
6930
6931 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6932
6933 * java/text/DecimalFormat.java
6934 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6935 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6936 (parse): Fixed handling of exponentiation notation and grouping.
6937
6938 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6939
6940 * java/text/DecimalFormat.java
6941 (scanFix): Build attribute array. Fixed error reporting.
6942 (applyPatternWithSymbols): Store attributes for the prefix and
6943 suffix.
6944 (formatInternal): New method. Changed the way the string is
6945 computed. Implemented attributes. Cleant up rounding in
6946 exponential notation.
6947 (format): Use formatInternal.
6948 (formatToCharacterIterator): New method.
6949 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6950 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6951 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6952 New fields.
6953
6954 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6955
6956 * java/security/interfaces/DSAKeyPairGenerator.java,
6957 java/security/interfaces/DSAPrivateKey.java,
6958 java/security/interfaces/DSAPublicKey.java,
6959 java/security/interfaces/RSAPrivateKey.java,
6960 java/security/interfaces/RSAPublicKey.java:
6961 Cleaned up imports.
6962
6963 2004-05-04 Michael Koch <konqueror@gmx.de>
6964
6965 * java/nio/ByteBuffer.java,
6966 java/nio/CharBuffer.java,
6967 java/nio/DoubleBuffer.java,
6968 java/nio/FloatBuffer.java,
6969 java/nio/IntBuffer.java,
6970 java/nio/LongBuffer.java,
6971 java/nio/ShortBuffer.java:
6972 (compareTo): Fixed bogus implementation in all buffer classes.
6973
6974 2004-05-04 Ingo Proetel <proetel@aicas.com>
6975
6976 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6977 32 bit pixels not 8 bit pixels.
6978 (isCompatibleRaster): Added javadoc comment.
6979
6980 2004-05-04 Ingo Proetel <proetel@aicas.com>
6981
6982 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6983 scanline stride.
6984
6985 2004-05-04 Ingo Proetel <proetel@aicas.com>
6986
6987 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6988 (getColorModel): Return the actual color model.
6989 (getRaster): Implemented.
6990 (ColorRaster): New inner class.
6991 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6992 a PaintContext.
6993 * java/awt/Color.java (<init>): Make exception more verbose.
6994 (createContext): Use ColorModel when creating a PaintContext.
6995
6996 2004-05-04 Michael Koch <konqueror@gmx.de>
6997
6998 * gnu/java/text/CharacterBreakIterator.java
6999 (previous): Removed unused variable.
7000
7001 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7002
7003 * gnu/java/text/FormatBuffer.java,
7004 gnu/java/text/AttributedFormatBuffer.java,
7005 gnu/java/text/StringFormatBuffer.java: New classes to implement
7006 attributed iterators in java.text.
7007 * gnu/java/text/FormatCharacterIterator.java: Moved
7008 from java/text as it is an internal class.
7009 * java/text/FormatCharacterIterator.java: Removed.
7010 * java/text/Format.java:
7011 Import gnu.java.text.FormatCharacterIterator.
7012 * Makefile.am (java_source_files): Added new files.
7013 * Makefile.in: Regenerated.
7014
7015
7016 2004-05-04 Mark Wielaard <mark@klomp.org>
7017
7018 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7019
7020 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7021
7022 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7023 * Makefile.in: Rebuilt.
7024
7025 2004-05-03 Mark Wielaard <mark@klomp.org>
7026
7027 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7028 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7029 * java/net/URL.java
7030 (set(String, String, int, String, String, String, String, String)):
7031 Assign this.file to path or path + "?" + query.
7032 * java/util/Arrays.java: Call static methods staticly.
7033 * java/util/zip/ZipEntry.java: Likewise.
7034 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7035 dir to this.direction.
7036 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7037 Assign static field only once.
7038 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7039
7040 2004-05-03 Mark Wielaard <mark@klomp.org>
7041
7042 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7043 unused variables hScrollbarHeight and vScrollbarWidth.
7044 (preferredSize): Likewise.
7045 * gnu/java/security/provider/DSAParameters.java (engineToString):
7046 Removed unused call to System.getProperty("line.seperator");
7047 * java/security/Security.java (loadProviders): Return result.
7048
7049 2004-05-03 Tom Tromey <tromey@redhat.com>
7050
7051 * java/net/URLStreamHandler.java (toExternalForm): Removed
7052 unused variables.
7053 unused constructor.
7054 * java/math/BigDecimal.java (divide): Removed unused variable.
7055 * java/lang/Throwable.java: Cleaned up imports.
7056 * java/lang/ClassLoader.java: Cleaned up imports.
7057 * java/io/FilePermission.java (implies): Removed unused
7058 variable.
7059 * java/awt/TextComponent.java: Removed unused import.
7060 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7061 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7062 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7063 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7064 import.
7065 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7066 * gnu/java/text/CharacterBreakIterator.java: Removed
7067 unused import.
7068 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7069 Cleaned up imports.
7070 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7071 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7072 unused method.
7073 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7074 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7075 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7076 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7077 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7078 (lookupProviders): Removed unused variable.
7079 (loadNextServiceProvider): Likewise.
7080 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7081
7082 2004-05-03 Michael Koch <konqueror@gmx.de>
7083
7084 Fixes PR libgcj/14695:
7085 * java/net/NetworkInterface.java
7086 (getByName): Return null when no interface was found.
7087
7088 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7089 Tom Tromey <tromey@redhat.com>
7090
7091 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7092 additional option "-Wmissing-prototypes" for compiling C sources.
7093 Print actual filename for pass/fail rather than $name.c.
7094 * testsuite/libjava.jni/PR15133.java: New testcase file.
7095 * testsuite/libjava.jni/PR15133.c: Likewise.
7096 * testsuite/libjava.jni/PR15133.out: Likewise.
7097
7098 2004-04-30 Roger Sayle <roger@eyesopen.com>
7099
7100 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7101 ceil and floor.
7102
7103 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7104
7105 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7106 limit the maximum heap size to avoid unnecessary thrashing.
7107
7108 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7109
7110 * java/text/CollationElementIterator.java (reset): Reset
7111 lookahead variables.
7112
7113 2004-04-23 Mark Wielaard <mark@klomp.org>
7114
7115 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7116
7117 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7118
7119 * java/sql/DriverManager.java:
7120 Cleaned up imports.
7121
7122 2004-04-23 Michael Koch <konqueror@gmx.de>
7123
7124 * java/net/URL.java
7125 (hashcode): Don't initialize with default value explicitely.
7126 (getContent): Removed redundant "final" keyword.
7127 (openStream): Likewise.
7128 (getURLStreamHandler): Fixed coding style.
7129 * java/net/URLConnection.java
7130 (defaultAllowUserInteraction): Don't initialize with default value
7131 explicitely.
7132 (connected): Likewise.
7133 (doOutput): Likewise.
7134 (ifModifiedSince): Likewise.
7135 (dateformats_initialized): Likewise.
7136 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7137
7138 2004-04-23 Michael Koch <konqueror@gmx.de>
7139
7140 * gnu/java/nio/channels/FileChannelImpl.java
7141 (SET, CUR): Unused, removed.
7142 (read): Implement here directly.
7143 (implRead): Removed.
7144 (write): Implement here directly.
7145 (implWrite): Removed.
7146
7147 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7148
7149 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7150 javax/rmi/CORBA/Stub.java,
7151 javax/rmi/CORBA/Util.java,
7152 javax/rmi/CORBA/ValueHandler.java,
7153 javax/rmi/CORBA/ValueHandler.java,
7154 javax/rmi/PortableRemoteObject.java:
7155 Cleaned up imports.
7156
7157 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7158
7159 * java/util/jar/JarFile.java,
7160 java/util/jar/JarInputStream.java,
7161 java/util/jar/JarOutputStream.java,
7162 java/util/jar/Manifest.java:
7163 Cleaned up imports.
7164
7165 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7166
7167 * java/util/ArrayList.java,
7168 java/util/Calendar.java,
7169 java/util/Currency.java,
7170 java/util/HashMap.java,
7171 java/util/HashSet.java,
7172 java/util/Hashtable.java,
7173 java/util/LinkedList.java,
7174 java/util/Properties.java,
7175 java/util/PropertyPermission.java,
7176 java/util/TimeZone.java,
7177 java/util/TreeMap.java,
7178 java/util/TreeSet.java,
7179 java/util/Vector.java,
7180 java/util/WeakHashMap.java:
7181 Cleaned up imports.
7182
7183 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7184
7185 * java/util/logging/FileHandler.java,
7186 java/util/logging/Formatter.java,
7187 java/util/logging/Handler.java,
7188 java/util/logging/Logger.java,
7189 java/util/logging/SimpleFormatter.java,
7190 java/util/logging/XMLFormatter.java:
7191 Cleaned up imports.
7192
7193 2004-04-22 Mark Wielaard <mark@klomp.org>
7194
7195 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7196 -Wno-long-long flags variable.
7197 (gtk_c_files): Use PEDANTIC_CFLAGS.
7198 * Makefile.in: Regenerated.
7199
7200 2004-04-22 Mark Wielaard <mark@klomp.org>
7201
7202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7203 Changed C++ comments into C comments.
7204 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7205 Likewise.
7206
7207 2004-04-22 Michael Koch <konqueror@gmx.de>
7208
7209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7210 Merged copyright year with GNU classpath.
7211
7212 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7213
7214 * javax/security/auth/x500/X500Principal.java:
7215 Cleaned up imports.
7216
7217 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7218
7219 * javax/swing/JSlider.java:
7220 Fixed HTML tags in comments.
7221
7222 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7223
7224 * javax/accessibility/AccessibleText.java:
7225 Cleaned up imports.
7226
7227 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7228
7229 * java/net/URLStreamHandler.java
7230 (parseURL): Convert the file path to using '/' instead of native
7231 file separator.
7232
7233 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7234
7235 * java/net/URL.java
7236 (userInfo): New field.
7237 (URL): Set authority to the right value.
7238 (setURL): Fixed authority and file initialization.
7239 * java/net/URLStreamHandler.java
7240 (parseURL): Take care of the query tag. Build authority.
7241 (toExternalForm): Fixed URL building using authority.
7242
7243 2004-04-22 Michael Koch <konqueror@gmx.de>
7244
7245 * java/net/Socket.java
7246 (impl): Made package-private.
7247 * java/net/ServerSocket.java
7248 (implAccept): Access Socket.impl field directly.
7249
7250 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7251
7252 * java/util/prefs/Preferences.java,
7253 java/util/prefs/InvalidPreferencesFormatException.java,
7254 java/util/prefs/BackingStoreException.java,
7255 java/util/prefs/AbstractPreferences.java:
7256 Cleaned up imports.
7257
7258 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7259
7260 * java/util/regex/Matcher.java,
7261 java/util/regex/Pattern.java:
7262 Cleaned up imports.
7263
7264 2004-04-22 Michael Koch <konqueror@gmx.de>
7265
7266 * java/nio/charset/IllegalCharsetNameException.java
7267 (charsetName): Made private.
7268 (IllegalCharsetNameException): Added @param tag to javadoc.
7269 (getCharsetName): Added @return tag to javadoc.
7270 * java/nio/charset/MalformedInputException.java
7271 (MalformedInputException): Added @param tag to javadoc.
7272 (getInputLength): Revised method description, added @return tag.
7273 (getMessage): Added @return tag.
7274
7275 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7276
7277 * java/awt/Font.java (deriveFont): Implement missing variants.
7278 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7279 missing variants.
7280
7281 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7282
7283 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7284 Set method->index values for interface methods to their itable index.
7285 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7286
7287 2004-04-21 Michael Koch <konqueror@gmx.de>
7288
7289 * java/nio/DirectByteBufferImpl.java
7290 (shiftDown): Made static, give address as argument and
7291 provide a convenience method that overwrites shiftDown in
7292 ByteBufferImpl and calls the native shiftDown.
7293 * java/nio/MappedByteBufferImpl.java
7294 (): Use optimized method in DirectByteBufferImpl.
7295 * java/nio/natDirectByteBufferImpl.cc
7296 (shiftDown): Changed method signature. Removed usage of array_offset.
7297
7298 2004-04-21 Michael Koch <konqueror@gmx.de>
7299
7300 * gnu/java/net/natPlainSocketImplPosix.cc
7301 (SocketInputStream::read): Make sure returned data is a byte value.
7302
7303 2004-04-21 Michael Koch <konqueror@gmx.de>
7304
7305 * gnu/classpath/ServiceFactory.java,
7306 gnu/classpath/ServiceProviderLoadingAction.java,
7307 javax/imageio/ImageReader.java,
7308 javax/imageio/ImageTranscoder.java,
7309 javax/imageio/ImageWriter.java,
7310 javax/imageio/package.html,
7311 javax/imageio/spi/IIOServiceProvider.java,
7312 javax/imageio/spi/ImageInputStreamSpi.java,
7313 javax/imageio/spi/ImageOutputStreamSpi.java,
7314 javax/imageio/spi/ImageReaderWriterSpi.java,
7315 javax/imageio/spi/ImageTranscoderSpi.java,
7316 javax/imageio/spi/RegisterableService.java,
7317 javax/imageio/spi/ServiceRegistry.java,
7318 javax/imageio/spi/package.html,
7319 javax/imageio/stream/IIOByteBuffer.java,
7320 javax/imageio/stream/ImageInputStream.java,
7321 javax/imageio/stream/ImageOutputStream.java,
7322 javax/imageio/stream/package.html:
7323 New files.
7324 * Makefile.am
7325 (ordinary_java_source_files): Added
7326 gnu/classpath/ServiceFactory.java and
7327 gnu/classpath/ServiceProviderLoadingAction.java.
7328 (javax_source_files): Added
7329 javax/imageio/ImageReader.java,
7330 javax/imageio/ImageTranscoder.java,
7331 javax/imageio/ImageWriter.java,
7332 javax/imageio/spi/IIOServiceProvider.java,
7333 javax/imageio/spi/ImageInputStreamSpi.java,
7334 javax/imageio/spi/ImageOutputStreamSpi.java,
7335 javax/imageio/spi/ImageReaderWriterSpi.java,
7336 javax/imageio/spi/ImageTranscoderSpi.java,
7337 javax/imageio/spi/RegisterableService.java,
7338 javax/imageio/spi/ServiceRegistry.java,
7339 javax/imageio/stream/IIOByteBuffer.java,
7340 javax/imageio/stream/ImageInputStream.java and
7341 javax/imageio/stream/ImageOutputStream.java.
7342 * Makefile.in: Regenerated.
7343
7344 2004-04-21 Michael Koch <konqueror@gmx.de>
7345
7346 * java/util/Properties.java
7347 (load): Fix wrongly merged fix.
7348
7349 2004-04-21 Mark Wielaard <mark@klomp.org>
7350
7351 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7352 malloc and free buf.
7353
7354 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7355
7356 * javax/naming/AuthenticationException.java,
7357 javax/naming/AuthenticationNotSupportedException.java,
7358 javax/naming/CannotProceedException.java,
7359 javax/naming/CommunicationException.java,
7360 javax/naming/CompoundName.java,
7361 javax/naming/ConfigurationException.java,
7362 javax/naming/ContextNotEmptyException.java,
7363 javax/naming/InitialContext.java,
7364 javax/naming/InsufficientResourcesException.java,
7365 javax/naming/InterruptedNamingException.java,
7366 javax/naming/LimitExceededException.java,
7367 javax/naming/LinkException.java,
7368 javax/naming/LinkLoopException.java,
7369 javax/naming/LinkRef.java,
7370 javax/naming/MalformedLinkException.java,
7371 javax/naming/Name.java,
7372 javax/naming/NameAlreadyBoundException.java,
7373 javax/naming/NameNotFoundException.java,
7374 javax/naming/NamingSecurityException.java,
7375 javax/naming/NoInitialContextException.java,
7376 javax/naming/NoPermissionException.java,
7377 javax/naming/NotContextException.java,
7378 javax/naming/PartialResultException.java,
7379 javax/naming/ReferralException.java,
7380 javax/naming/ServiceUnavailableException.java,
7381 javax/naming/SizeLimitExceededException.java,
7382 javax/naming/TimeLimitExceededException.java,
7383 javax/naming/directory/Attribute.java,
7384 javax/naming/directory/Attributes.java,
7385 javax/naming/directory/SearchResult.java,
7386 javax/naming/event/NamingExceptionEvent.java,
7387 javax/naming/spi/ResolveResult.java:
7388 Cleaned up imports.
7389
7390 2004-04-21 Mark Wielaard <mark@klomp.org>
7391
7392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7393 Changed C++ comments into C comments. Removed commented out code.
7394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7395 Likewise.
7396 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7397 Likewise.
7398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7399 Likewise.
7400 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7401 Likewise.
7402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7403 Likewise.
7404 * native/jni/gtk-peer/gthread-jni.c:
7405 Likewise.
7406
7407 2004-04-21 Mark Wielaard <mark@klomp.org>
7408
7409 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7410 static fields defined in interface.
7411 * javax/awt/JDialog.java: Likewise.
7412 (JDialog): Make constructors public.
7413 (getDefaultCloseOperation): Make public.
7414 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7415 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7416 * javax/swing/JViewport.java (JViewport): Make constructor public.
7417
7418 2004-04-21 Michael Koch <konqueror@gmx.de>
7419
7420 * java/util/Map.java
7421 (Entry): Removed redundant "static" modifier.
7422 * java/text/AttributedCharacterIterator.java:
7423 Updated copyright year.
7424
7425 2004-04-20 Michael Koch <konqueror@gmx.de>
7426
7427 * javax/naming/directory/SearchControls.java:
7428 Don't explicitely extend java.lang.Object.
7429 * javax/naming/spi/DirStateFactory.java:
7430 Merged copyright year with GNU classpath.
7431
7432 2004-04-20 Michael Koch <konqueror@gmx.de>
7433
7434 * java/nio/channels/Channels.java:
7435 Merged coding style with GNU classpath.
7436
7437 2004-04-20 Michael Koch <konqueror@gmx.de>
7438
7439 * java/net/ServerSocket.java
7440 Merged coding style from GNU classpath.
7441
7442 2004-04-20 Michael Koch <konqueror@gmx.de>
7443
7444 * java/io/BufferedWriter.java:
7445 Reordered variables to be at top of the class.
7446 (localFlush): Removed redundant final keyword.
7447
7448 2004-04-20 Ingo Proetel <proetel@aicas.com>
7449
7450 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7451
7452 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7453
7454 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7455 for percent and permill check.
7456
7457 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7458
7459 * java/text/FieldPosition.java
7460 (FieldPosition) Constructor now behaves as it should according
7461 to the java documentation.
7462
7463 2004-04-20 Mark Wielaard <mark@klomp.org>
7464
7465 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7466 documentation.
7467
7468 2004-04-20 Michael Koch <konqueror@gmx.de>
7469
7470 * java/nio/Buffer.java,
7471 java/nio/channels/AlreadyConnectedException.java,
7472 java/nio/channels/AsynchronousCloseException.java,
7473 java/nio/channels/ByteChannel.java,
7474 java/nio/channels/CancelledKeyException.java,
7475 java/nio/channels/Channel.java,
7476 java/nio/channels/Channels.java,
7477 java/nio/channels/ClosedByInterruptException.java,
7478 java/nio/channels/ClosedChannelException.java,
7479 java/nio/channels/ClosedSelectorException.java,
7480 java/nio/channels/ConnectionPendingException.java,
7481 java/nio/channels/DatagramChannel.java,
7482 java/nio/channels/FileChannel.java,
7483 java/nio/channels/FileLock.java,
7484 java/nio/channels/FileLockInterruptionException.java,
7485 java/nio/channels/GatheringByteChannel.java,
7486 java/nio/channels/IllegalBlockingModeException.java,
7487 java/nio/channels/IllegalSelectorException.java,
7488 java/nio/channels/InterruptibleChannel.java,
7489 java/nio/channels/NoConnectionPendingException.java,
7490 java/nio/channels/NonReadableChannelException.java,
7491 java/nio/channels/NonWritableChannelException.java,
7492 java/nio/channels/NotYetBoundException.java,
7493 java/nio/channels/NotYetConnectedException.java,
7494 java/nio/channels/OverlappingFileLockException.java,
7495 java/nio/channels/Pipe.java,
7496 java/nio/channels/ReadableByteChannel.java,
7497 java/nio/channels/ScatteringByteChannel.java,
7498 java/nio/channels/SelectableChannel.java,
7499 java/nio/channels/SelectionKey.java,
7500 java/nio/channels/Selector.java,
7501 java/nio/channels/ServerSocketChannel.java,
7502 java/nio/channels/SocketChannel.java,
7503 java/nio/channels/UnresolvedAddressException.java,
7504 java/nio/channels/UnsupportedAddressTypeException.java,
7505 java/nio/channels/WritableByteChannel.java,
7506 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7507 java/nio/channels/spi/AbstractSelectableChannel.java,
7508 java/nio/channels/spi/AbstractSelectionKey.java,
7509 java/nio/channels/spi/AbstractSelector.java,
7510 java/nio/channels/spi/SelectorProvider.java,
7511 java/nio/charset/spi/CharsetProvider.java:
7512 Fixed javadocs and jalopied all over java.nio.
7513
7514 2004-04-20 Michael Koch <konqueror@gmx.de>
7515
7516 * java/nio/ByteBufferImpl.java,
7517 java/nio/CharBufferImpl.java,
7518 java/nio/DirectByteBufferImpl.java,
7519 java/nio/DoubleBufferImpl.java,
7520 java/nio/DoubleViewBufferImpl.java,
7521 java/nio/FloatBufferImpl.java,
7522 java/nio/FloatViewBufferImpl.java,
7523 java/nio/IntBufferImpl.java,
7524 java/nio/IntViewBufferImpl.java,
7525 java/nio/LongBufferImpl.java,
7526 java/nio/LongViewBufferImpl.java,
7527 java/nio/MappedByteBufferImpl.java,
7528 java/nio/ShortBufferImpl.java,
7529 java/nio/ShortViewBufferImpl.java:
7530 Made sure all classes are final and removed final keyword from all
7531 methods.
7532
7533 2004-04-20 Michael Koch <konqueror@gmx.de>
7534
7535 * java/rmi/MarshalledObject.java,
7536 java/rmi/Naming.java,
7537 java/rmi/RemoteException.java,
7538 java/rmi/activation/ActivationException.java,
7539 java/rmi/server/ServerCloneException.java,
7540 java/security/AccessController.java,
7541 java/security/AlgorithmParameterGenerator.java,
7542 java/security/AlgorithmParameters.java,
7543 java/security/CodeSource.java,
7544 java/security/Identity.java,
7545 java/security/IdentityScope.java,
7546 java/security/KeyPairGenerator.java,
7547 java/security/KeyStore.java,
7548 java/security/Security.java,
7549 java/security/Signature.java,
7550 java/security/SignatureSpi.java,
7551 java/security/SignedObject.java,
7552 java/security/spec/DSAParameterSpec.java,
7553 java/security/spec/DSAPrivateKeySpec.java,
7554 java/security/spec/DSAPublicKeySpec.java,
7555 java/sql/Array.java,
7556 java/sql/DatabaseMetaData.java,
7557 java/sql/ResultSet.java,
7558 java/text/ChoiceFormat.java,
7559 java/text/CollationElementIterator.java,
7560 java/text/CollationKey.java,
7561 java/text/Collator.java,
7562 java/text/DateFormat.java,
7563 java/text/DateFormatSymbols.java,
7564 java/text/DecimalFormatSymbols.java,
7565 java/text/Format.java,
7566 java/text/ParsePosition.java,
7567 java/text/RuleBasedCollator.java,
7568 java/text/SimpleDateFormat.java,
7569 java/text/StringCharacterIterator.java,
7570 java/util/Collections.java,
7571 java/util/PropertyResourceBundle.java,
7572 java/util/ResourceBundle.java,
7573 java/util/StringTokenizer.java,
7574 java/util/jar/Attributes.java,
7575 java/util/logging/ConsoleHandler.java,
7576 java/util/logging/LogManager.java,
7577 java/util/logging/MemoryHandler.java,
7578 java/util/logging/SocketHandler.java,
7579 javax/naming/NamingException.java:
7580 Fixed javadoc, coding style and argument names all over.
7581
7582 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7583
7584 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7585 constructor. (valid) Added null check.
7586
7587 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7588
7589 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7590 * java/io/FileOutputStream.java
7591 (FileOutputStream) Reorganized constructors. Constructors now
7592 check whether the given path is directory.
7593
7594 2004-04-20 Michael Koch <konqueror@gmx.de>
7595
7596 * java/net/Authenticator.java,
7597 java/net/BindException.java,
7598 java/net/ConnectException.java,
7599 java/net/ContentHandler.java,
7600 java/net/ContentHandlerFactory.java,
7601 java/net/DatagramPacket.java,
7602 java/net/DatagramSocket.java,
7603 java/net/DatagramSocketImpl.java,
7604 java/net/DatagramSocketImplFactory.java,
7605 java/net/FileNameMap.java,
7606 java/net/HttpURLConnection.java,
7607 java/net/Inet4Address.java,
7608 java/net/Inet6Address.java,
7609 java/net/InetAddress.java,
7610 java/net/InetSocketAddress.java,
7611 java/net/JarURLConnection.java,
7612 java/net/MalformedURLException.java,
7613 java/net/MulticastSocket.java,
7614 java/net/NetPermission.java,
7615 java/net/NetworkInterface.java,
7616 java/net/NoRouteToHostException.java,
7617 java/net/PasswordAuthentication.java,
7618 java/net/PortUnreachableException.java,
7619 java/net/ProtocolException.java,
7620 java/net/ServerSocket.java,
7621 java/net/Socket.java,
7622 java/net/SocketAddress.java,
7623 java/net/SocketException.java,
7624 java/net/SocketImpl.java,
7625 java/net/SocketImplFactory.java,
7626 java/net/SocketOptions.java,
7627 java/net/SocketPermission.java,
7628 java/net/SocketTimeoutException.java,
7629 java/net/URI.java,
7630 java/net/URISyntaxException.java,
7631 java/net/URL.java,
7632 java/net/URLClassLoader.java,
7633 java/net/URLConnection.java,
7634 java/net/URLDecoder.java,
7635 java/net/URLEncoder.java,
7636 java/net/URLStreamHandler.java,
7637 java/net/URLStreamHandlerFactory.java,
7638 java/net/UnknownHostException.java,
7639 java/net/UnknownServiceException.java:
7640 Fixed javadocs, coding style and argument names all over.
7641
7642 2004-04-20 Michael Koch <konqueror@gmx.de>
7643
7644 * java/lang/Byte.java,
7645 java/lang/CharSequence.java,
7646 java/lang/ClassLoader.java,
7647 java/lang/Compiler.java,
7648 java/lang/Double.java,
7649 java/lang/Float.java,
7650 java/lang/Integer.java,
7651 java/lang/Long.java,
7652 java/lang/Math.java,
7653 java/lang/Number.java,
7654 java/lang/Package.java,
7655 java/lang/Runtime.java,
7656 java/lang/RuntimePermission.java,
7657 java/lang/SecurityManager.java,
7658 java/lang/Short.java,
7659 java/lang/StringBuffer.java,
7660 java/lang/System.java,
7661 java/lang/ThreadGroup.java,
7662 java/lang/Throwable.java,
7663 java/lang/reflect/InvocationHandler.java,
7664 java/lang/reflect/Proxy.java:
7665 Fixed javadocs, coding style and argument names all over.
7666
7667 2004-04-20 Michael Koch <konqueror@gmx.de>
7668
7669 * java/io/BufferedWriter.java,
7670 java/io/ByteArrayInputStream.java,
7671 java/io/CharArrayWriter.java,
7672 java/io/DataInput.java,
7673 java/io/DataInputStream.java,
7674 java/io/File.java,
7675 java/io/FilterInputStream.java,
7676 java/io/InputStream.java,
7677 java/io/InputStreamReader.java,
7678 java/io/ObjectInputStream.java,
7679 java/io/ObjectStreamClass.java,
7680 java/io/PipedInputStream.java,
7681 java/io/PipedReader.java,
7682 java/io/PushbackInputStream.java,
7683 java/io/PushbackReader.java,
7684 java/io/RandomAccessFile.java,
7685 java/io/SerializablePermission.java,
7686 java/io/StreamTokenizer.java,
7687 java/io/StringWriter.java,
7688 java/io/WriteAbortedException.java,
7689 java/io/Writer.java:
7690 Fixed javadocs all over, rename arguments to match javadocs,
7691 fixed coding style.
7692
7693 2004-04-20 Ingo Proetel <proetel@aicas.com>
7694
7695 * java/awt/FontMetrics.java:
7696 (charsWidth): fixed accumulation of total_width
7697 (getWidth): simple default implementation
7698 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7699 in Rectangle constructor.
7700 * java/awt/image/Raster.java (toString): Added method.
7701 * java/awt/image/SampleModel.java (<init>): Added error cause
7702 information to thrown exception.
7703 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7704 New method.
7705 (setDataElements): New method.
7706 (setPixels): New method.
7707 (toString): New method.
7708
7709 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7710
7711 * java/awt/image/ComponentColorModel.java
7712 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7713 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7714 Mauve tests on this method. Improved documentation.
7715
7716 2004-04-20 Michael Koch <konqueror@gmx.de>
7717
7718 * javax/swing/JLayeredPane.java,
7719 javax/swing/plaf/BorderUIResource.java,
7720 javax/swing/plaf/ComponentUI.java,
7721 javax/swing/undo/CompoundEdit.java,
7722 javax/swing/undo/StateEdit.java:
7723 Fixed HTML tags in javadocs all over.
7724
7725 2004-04-20 Michael Koch <konqueror@gmx.de>
7726
7727 * javax/print/attribute/EnumSyntax.java
7728 (getOffset): Made protected.
7729 * javax/print/attribute/HashAttributeSet.java
7730 (HashAttributeSet): Likewise.
7731 * javax/print/attribute/ResolutionSyntax.java
7732 (getFeedResolution): Fixed typo in exception name.
7733 (getCrossFeedResolution): Likewise.
7734 * javax/print/attribute/SetOfIntegerSyntax.java
7735 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7736 * javax/print/attribute/TextSyntax.java
7737 (TextSyntax): Handle locale correctly.
7738 (hashCode): Calc better hashcode value.
7739 (equals): Fixed @return tag.
7740 (toString): New method.
7741
7742 2004-04-20 Michael Koch <konqueror@gmx.de>
7743
7744 * gnu/java/nio/FileLockImpl.java
7745 (static): Removed, not needed anymore.
7746 * gnu/java/nio/channels/FileChannelImpl.java
7747 (FileChannelImpl): Made final.
7748 (mode): Made private.
7749 (READ, WRITE, APPEND): Made public.
7750 (EXCL, SYNC, DSYNC): Likewise.
7751 (static): Load native JNI library, when needed.
7752 (length): Unused, removed.
7753 (available): Made public.
7754 (implPosition): Throws IOException.
7755 (seek): Likewise.
7756 (implTruncate): Likewise.
7757 (unlock): Likewise.
7758 (lock): Likewise.
7759
7760 2004-04-20 Michael Koch <konqueror@gmx.de>
7761
7762 * java/awt/AWTPermission.java,
7763 java/awt/Component.java,
7764 java/awt/ComponentOrientation.java,,
7765 java/awt/Dialog.java,
7766 java/awt/FontMetrics.java,
7767 java/awt/Graphics.java,
7768 java/awt/datatransfer/DataFlavor.java,
7769 java/beans/Introspector.java,
7770 java/beans/PropertyEditor.java,
7771 java/beans/PropertyEditorManager.java,
7772 java/beans/beancontext/BeanContextServiceProvider.java:
7773 Fixed HTML tags in javadocs all over.
7774
7775 2004-04-20 Mark Wielaard <mark@klomp.org>
7776
7777 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7778 MissingResourceException is thrown.
7779 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7780 null when a MissingResourceException is thrown. Should never happen.
7781
7782 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7783
7784 * java/awt/image/DataBufferShort.java,
7785 java/awt/image/DataBufferFloat.java,
7786 java/awt/image/DataBufferDouble.java,
7787 java/awt/image/PixelInterleavedSampleModel.java: New files.
7788 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7789 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7790
7791 2004-04-20 Michael Koch <konqueror@gmx.de>
7792
7793 * Makefile.am (java_source_files): Added
7794 java/awt/image/DataBufferDouble.java,
7795 java/awt/image/DataBufferFloat.java,
7796 java/awt/image/DataBufferShort.java and
7797 java/awt/image/PixelInterleavedSampleModel.java.
7798 * Makefile.in: Regenerated.
7799
7800 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7801
7802 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7803 undocumented CNI calls.
7804 * include/java-interp.h (_Jv_InterpClass): No longer
7805 extends java.lang.Class.
7806 * java/lang/Class.h (Class): Add new field `aux_info'.
7807 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7808 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7809 Use Class->aux_info instead.
7810 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7811 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7812 Use Class->aux_info instead.
7813 * java/io/natObjectInputStream.cc (allocateObject): Use
7814 _Jv_AllocObject.
7815 * java/lang/natClass.cc (newInstance): Likewise.
7816 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7817 * java/lang/natObject.cc (clone): Likewise.
7818 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7819 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7820 JvAllocObject. Allocate klass->aux_info here for interpreted
7821 class.
7822
7823 2004-04-17 Mark Wielaard <mark@klomp.org>
7824
7825 * javax/swing/JToggleButton.java (ToggleButtonModel):
7826 Make public static inner class.
7827 * javax/swing/JTabbedPane.java (setComponentAt):
7828 Call Page.setComponent().
7829 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7830 (WRAP_TAB_LAYOUT): Make public, value is 0.
7831 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7832 Make private static inner class.
7833
7834 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7835
7836 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7837 arguments to match new signature. Remove FIXME comments.
7838
7839 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7840
7841 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7842 Remove method.
7843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7844 unused code.
7845
7846 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7847
7848 * Makefile.am: Added new file.
7849 * Makefile.in: Regenerate.
7850 * javax/swing/ImageIcon.java:
7851 (ImageIcon(file)): set description of the icon
7852 to the file name
7853 * javax/swing/JCheckBoxMenuItem.java:
7854 Mostly Implemented. Work in progress.
7855 * javax/swing/JRadioButtonMenuItem.java:
7856 Reimplement constructors to use JToggleButtonModel.
7857 * javax/swing/plaf/basic/BasicIconFactory.java:
7858 (getCheckBoxMenuItemIcon): return check box
7859 icon.
7860 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7861 paint menu item selected only when it is armed and
7862 pressed.
7863
7864 2004-04-02 David Jee <djee@redhat.com>
7865
7866 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7867 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7868 * java/awt/Component.java
7869 (add): Set the parent of the popup as this component.
7870 * java/awt/PopupMenu.java
7871 (addNotify): Create popup menu when peer is null.
7872 (show): Call addNotify() if peer is null.
7873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7874 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7875 argument for gtk_menu_popup() as zero. This causes the popup menu to
7876 respond to any mouse button.
7877
7878 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7879
7880 * Makefile.am: Added new file.
7881 * Makefile.in: Regenerate.
7882 * javax/swing/JRadioButtonMenuItem.java:
7883 Implemented.
7884 * javax/swing/plaf/basic/BasicIconFactory.java:
7885 (getRadioButtonMenuItemIcon): Return
7886 radio button icon.
7887 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7888 (getPreferredSize): Add size of checkIcon if it
7889 exists.
7890 (installDefaults): Don't initialize checkIcon.
7891 It's value will be set in subclasses.
7892 (uninstallDefaults): remove uninstallation of
7893 checkIcon.
7894 (paint): Moved code to paintMenuItem().
7895 (paintMenuItem): Implemented.
7896 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7897 UI delegate for JRadioButtonMenuItem.
7898
7899 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7900
7901 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7902 Corrected position of the accelerator.
7903
7904 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7905
7906 * Makefile.am: Added new file.
7907 * Makefile.in: Regenerate.
7908 * javax/swing/JMenuItem.java: Partly
7909 implemented. Work in progress
7910 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7911 Changed default value of acceleratorDelimiter.
7912 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7913 New class. Partly implemented.
7914
7915 2004-03-26 Mark Wielaard <mark@klomp.org>
7916
7917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7918 (item_activate): Declare label before use.
7919 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7920 (gtkSetFont): Removed unused variable label.
7921 (addExposeFilter): Declare variables before use.
7922 (removeExposeFilter): Likewise.
7923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7924 (ok_clicked): Declare str_fileName before use.
7925
7926 2004-03-26 David Jee <djee@redhat.com>
7927
7928 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7929 (addSeparator): Remove.
7930 * java/awt/Menu.java
7931 (separator): Remove static final MenuItem field.
7932 (separatorLabel): New static final String field.
7933 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7934 Use separatorLabel to denote that it is a separator.
7935 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7936 of reusing the static separator instance, because a MenuItem instance
7937 can't be added more than once without being cloned.
7938 * java/awt/peer/MenuPeer.java
7939 (addSeparator): Remove from interface.
7940
7941 2004-03-26 David Jee <djee@redhat.com>
7942
7943 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7944 (connectSignals): New native method declaration.
7945 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7946 * java/awt/MenuItem.java
7947 (getActionCommand): Return the label if the action command is not set.
7948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7949 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7950 gtk_menu_shell_append().
7951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7952 (item_activate): Fix argument type.
7953 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7954 signal here.
7955 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7956 method.
7957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7958 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7959 given. Add the menu widget's top-level GtkWindow to the global window
7960 group, so it can grab the pointer.
7961 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7962 gtk_menu_shell_append().
7963
7964 2004-03-23 Graydon Hoare <graydon@redhat.com>
7965
7966 * java/text/AttributedString.java
7967 (addAttribute): Fix off-by-one.
7968 (getIterator): Likewise.
7969 * java/text/AttributedStringIterator.java
7970 (getRunLimit): Correct logic.
7971 (getRunStart): Likewise.
7972 (getAttribute): Fix inequality.
7973 (getAttributes): Likewise.
7974 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7975
7976 2004-03-23 Kim Ho <kho@redhat.com>
7977
7978 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7979 (calculateSizes): Return real width and height.
7980
7981 2004-03-23 Kim Ho <kho@redhat.com>
7982
7983 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7984 (calculateTabRects): Set the selectedRun before
7985 trying to rotate tabs.
7986
7987 2004-03-23 Kim Ho <kho@redhat.com>
7988
7989 * Makefile.am: New file
7990 * Makefile.in: Regenerate
7991 * java/awt/Graphics.java: (drawRect):
7992 Draw to the correct point.
7993 * javax/swing/DefaultSingleSelectionModel.java
7994 (isSelected): Return true if the selected index
7995 is not -1.
7996 * javax/swing/JLabel.java: Do not change mnemonic
7997 index if text is null.
7998 * javax/swing/JProgressBar.java: Use JComponent's
7999 EventListenerList.
8000 * javax/swing/JScrollBar.java: Ditto.
8001 * javax/swing/JSlider.java: Ditto.
8002 * javax/swing/JTabbedPane.java: Reimplement.
8003 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8004 Add defaults for TabbedPane.
8005 * javax/swing/plaf/basic/BasicArrowButton.java:
8006 Implement
8007 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8008 (paintDeterminate): Don't paint String if it's
8009 empty.
8010 (paintIndeterminate): ditto.
8011 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8012 Reimplement.
8013
8014 2004-03-19 Michael Koch <konqueror@gmx.de>
8015
8016 * java/awt/image/AffineTransformOp.java
8017 (AffineTransformOp): Made public.
8018 * javax/swing/JComponent.java
8019 (listenerList): Made protected.
8020 (accessibleContext): Likewise.
8021 * javax/swing/JList.java
8022 (valueChanged): Dont use internal fields of ListSelectionEvent.
8023 * javax/swing/JViewport.java
8024 (getView): Dont use internal fields of Component.
8025 (addImpl): Likewise.
8026 * javax/swing/Timer.java
8027 (isRunning): Made public.
8028 (start): Likewise.
8029 (stop): Likewise.
8030 * javax/swing/UIDefaults.java
8031 (getInt): Made public.
8032 * javax/swing/plaf/basic/BasicListUI.java
8033 (mousePressed): Dont use internal fields of MouseEvent.
8034 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8035 * javax/swing/plaf/basic/BasicScrollBarUI.java
8036 (arrowIcon): Made static.
8037 * javax/swing/plaf/basic/BasicViewportUI.java
8038 (stateChanged): Dont use internal field on ChangeEvent.
8039 * javax/swing/text/JTextComponent.java
8040 (getUI): Call UIManager.getUI().
8041 (updateUI): Use getUI().
8042
8043 2004-03-19 Graydon Hoare <graydon@redhat.com>
8044
8045 * javax/swing/JComponent.java: Turn off double buffer by default.
8046 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8048 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8049 Use cairo to copy areas.
8050 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8051 Initialize and set clip region.
8052
8053 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8054
8055 * java/applet/Applet.java (preferredSize): Override deprecated
8056 variant of getPreferredSize.
8057 (minimumSize): Override deprecated variant of getMinimumSize.
8058
8059 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8060
8061 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8062 (drawImage(img,xform,bgcolor,obs)): New Method.
8063 Helper function that every drawImage method will
8064 use.
8065 (drawRaster): Added new parameter, bgcolor. All
8066 transparent pixels are changed to bgcolor before
8067 image is drawn.
8068 (drawRenderedImage): Fixed to use changed drawRaster().
8069 (drawImage(image,xform,obs): Fixed to use new helper function
8070 (drawImage(image,op,x,y)): Ditto.
8071 (drawImage (img,x,y,observer)): Ditto.
8072 ((PainterThread) bgcolor): New Field.
8073 ((PainterThread) (setPixels)): Changed all transparent pixels
8074 to bgcolor.
8075 (drawImage(img,x,y,width,height,bgcolor,observer)):
8076 Fixed FIXME - all the transparent pixels are
8077 changed to the specified bgcolor.
8078 (drawImage(img, x, y, width, height, observer): Changed to
8079 use function above.
8080 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8081 Fixed FIXME- changed all transparent pixels to bgcolor.
8082 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8083 Changed to use function above.
8084
8085 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8086
8087 * java/applet/Applet.java (dimensions): New field.
8088 (getDimensions): New method.
8089 (getPreferredSize): Call getDimensions.
8090 (getMinimumSize): Likewise.
8091
8092 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8093
8094 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8095 * jni/classpath/jnilink.c: Likewise.
8096
8097 * java/applet/Applet.java (getPreferredSize): New method.
8098 (getMinimumSize): New method.
8099
8100 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8101
8102 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8103 (_Jv_AllocObjectNoFinalizer): Likewise.
8104 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8105 (_Jv_AllocPtrFreeObject): Likewise.
8106 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8107 directly even in the JVMPI case.
8108 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8109 _Jv_AllocObject calls.
8110 * gcj/javaprims.h: Update prototypes.
8111 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8112 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8113 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8114
8115 2004-04-14 Andrew Haley <aph@redhat.com>
8116 Bryce McKinlay <mckinlay@redhat.com>
8117
8118 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8119 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8120 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8121
8122 * testsuite/libjava.lang/InvokeInterface.java: New file.
8123 * testsuite/libjava.lang/InvokeInterface.out: New file.
8124
8125 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8126
8127 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8128 modified lookup().
8129 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8130 StackTraceElement directly.
8131 (newElement): New native helper method to create StackTraceElement
8132 bypassing Java access control.
8133 (createStackTraceElement): Use newElement() instead of directly
8134 calling StackTraceElement's constructor.
8135 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8136
8137 2004-04-01 Michael Koch <konqueror@gmx.de>
8138
8139 * java/lang/SecurityManager.java
8140 (checkAwtEventQueueAccess): Implemented.
8141
8142 2004-04-01 Gary Benson <gbenson@redhat.com>
8143
8144 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8145 (_Jv_SearchMethodInClass): Likewise.
8146
8147 2004-03-26 Peter Moon <peterm@miraculum.com>
8148
8149 * java/text/NumberFormat.java: Fix spelling of setCurrency
8150 method.
8151
8152 2004-03-21 Anthony Green <green@redhat.com>
8153
8154 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8155 recursion when searching for the system ClassLoader.
8156
8157 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8158
8159 * java/net/ServerSocket.java
8160 (accept): Close the socket when error occured.
8161
8162 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8163
8164 * java/net/URI.java (parseURI): Added unquoting.
8165 (unquote): New method.
8166 (quoteAuthority): Implemented.
8167 (quote(String,String)): New method.
8168 (quotePath): Implemented.
8169 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8170 (getSchemeSpecificPart): Removed FIXME comment.
8171 (getRawAuthority): Return new rawAuthority field.
8172 (getAuthority): Removed FIXME comment.
8173 (getRawUserInfo): Return new rawUserInfo field.
8174 (getUserInfo): Removed FIXME comment.
8175 (getRawPath): Return new rawPath field.
8176 (getPath): Removed FIXME comment.
8177 (getRawQuery): Return new rawQuery field.
8178 (getQuery): Removed FIXME comment.
8179 (getRawFragment): Return new rawFragment field.
8180 (getFragment): Removed FIXME comment.
8181
8182 2004-03-20 Michael Koch <konqueror@gmx.de>
8183
8184 * java/net/URLConnection.java: Merged copyright year with classpath.
8185
8186 2004-03-20 Norbert Frese <postfach@nfrese.net>
8187
8188 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8189 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8190 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8191 rmi-message.
8192 (getObjectInputStream): Return object reference, throw IOException if null.
8193 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8194 (getObjectOutputStream): Return object reference, throw IOException if null.
8195 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8196 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8197 (UnicastConnectionManager): Throw RemoteException if port is not available.
8198 (getInstance): Throw RemoteException.
8199 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8200 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8201 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8202 Collect Exceptions which are returned by a rmi-call and fix void returns.
8203 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8204 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8205 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8206 (dispatch): Answer ping messages which are sent by other java implementions.
8207 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8208 for every rmi-message and fix void return problems.
8209 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8210 (UnicastServerRef): Throw RemoteException.
8211 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8212 In some situations it is necessary to export a subclass of the class which has the _Stub.
8213 For instance when the class with has the _Stub is abstract.
8214 (findStubSkelClass): New method which looks for the class which has the _Stub.
8215 (getClientHost): Implementated.
8216 * gcc/libjava/java/rmi/server/RemoteServer.java
8217 (getClientHost): Implementated.
8218 * gcc/libjava/Makefile.am (rmi_java_source_files):
8219 Added gnu/java/rmi/server/RMIIncomingThread.java.
8220 * Makefile.in: Regenerated.
8221
8222 2004-03-20 Michael Koch <konqueror@gmx.de>
8223
8224 * java/net/InetAddress.java
8225 (getLocalHostname): Added javadoc.
8226
8227 2004-03-19 Per Bothner <per@bothner.com>
8228
8229 * configure.in: FILE variable overrides FLATFORM when linking
8230 natFileChannelXXX.cc.
8231
8232 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8233 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8234
8235 2004-03-19 Per Bothner <per@bothner.com>
8236
8237 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8238 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8239 * Makefile.am: Update accordingly.
8240 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8241 as aliases for UnicodeLittle and UnicodeBig.
8242
8243 2004-03-20 Mark Wielaard <mark@klomp.org>
8244
8245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8246 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8247 Don't access ws when it is null.
8248 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8249 Likewise.
8250
8251 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8252
8253 * java/lang/ThreadGroup.java (list): Changed print to println.
8254
8255 2004-03-19 Mark Wielaard <mark@klomp.org>
8256
8257 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8258 happy.
8259
8260 2004-02-10 Randolph Chung <tausq@debian.org>
8261
8262 * configure.in: Build java for hppa target.
8263 * configure: Regenerate.
8264 * libjava/configure.host (hppa-*): Add target.
8265 * libjava/sysdeps/pa/lock.h: New file.
8266
8267 2004-03-19 Mark Wielaard <mark@klomp.org>
8268
8269 Reported by Stephen Crawley
8270 * java/io/FilePermission.java (implies): Use String.length() -1 to
8271 access last char of String.
8272
8273 2004-03-19 Michael Koch <konqueror@gmx.de>
8274
8275 * java/awt/image/AffineTransformOp.java
8276 (AffineTransformOp): Made public.
8277 * javax/swing/JComponent.java
8278 (listenerList): Made protected.
8279 (accessibleContext): Likewise.
8280 * javax/swing/JList.java
8281 (valueChanged): Dont use internal fields of ListSelectionEvent.
8282 * javax/swing/JViewport.java
8283 (getView): Dont use internal fields of Component.
8284 (addImpl): Likewise.
8285 * javax/swing/Timer.java
8286 (isRunning): Made public.
8287 (start): Likewise.
8288 (stop): Likewise.
8289 * javax/swing/UIDefaults.java
8290 (getInt): Made public.
8291 * javax/swing/plaf/basic/BasicListUI.java
8292 (mousePressed): Dont use internal fields of MouseEvent.
8293 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8294 * javax/swing/plaf/basic/BasicScrollBarUI.java
8295 (arrowIcon): Made static.
8296 * javax/swing/plaf/basic/BasicViewportUI.java
8297 (stateChanged): Dont use internal field on ChangeEvent.
8298 * javax/swing/text/JTextComponent.java
8299 (getUI): Call UIManager.getUI().
8300 (updateUI): Use getUI().
8301
8302 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8303
8304 * verify.cc: Undef PC.
8305
8306 2004-03-18 Michael Koch <konqueror@gmx.de>
8307
8308 * java/nio/channels/spi/AbstractSelectableChannel.java
8309 (keys): Initialize at declaration.
8310 (locate): keys cant be null.
8311 (add): Removed.
8312 (addSelectionKey): New method.
8313 (removeSelectionKey): New method.
8314 * java/nio/channels/spi/AbstractSelectionKey.java
8315 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8316 * java/nio/channels/spi/AbstractSelector.java
8317 (provider): Javadoc added.
8318 (cancelledKeys): Javadoc added.
8319 (cancelKey): Javadoc added, add key to cancelledKeys.
8320 (deregister): Implemented.
8321
8322 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8323
8324 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8325 MAP_FAILED to void *.
8326
8327 2004-03-12 Graydon Hoare <graydon@redhat.com>
8328
8329 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8330 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8331 * javax/swing/JList.java (ListListener): Revalidate on changes.
8332 * javax/swing/JScrollPane.java: Reimplement.
8333 * javax/swing/JViewport.java: Reimplement.
8334 * javax/swing/ScrollPaneLayout.java: Reimplement.
8335 * javax/swing/ViewportLayout.java: Tidy up.
8336 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8337 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8338 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8339 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8340 backing store only.
8341
8342 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8343
8344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8345 (window_wm_protocols_filter): New function.
8346 (window_focus_in_cb): Remove function.
8347 (window_focus_out_cb): Likewise.
8348 (window_focus_or_active_state_change_cb): New function.
8349 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8350 (connectSignals): Don't attach handlers to focus-in-event or
8351 focus-out-event signals. Handle notify signal.
8352
8353 2004-03-11 David Jee <djee@redhat.com>
8354
8355 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8356 (gtkSetLabel): New native method declaration.
8357 (setLabel): Use gtkSetLabel.
8358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8359 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8360
8361 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8362
8363 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8364 black when color argument is null.
8365
8366 2004-03-10 Kim Ho <kho@redhat.com>
8367
8368 * java/awt/Container.java: Remove check
8369 for drag events.
8370
8371 2004-03-10 Kim Ho <kho@redhat.com>
8372
8373 * java/awt/Container.java: (visitChild):
8374 Remove candidate clip. Use the component
8375 clip to intersect.
8376 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8377 (handleEvent): Use the PaintEvent's clip.
8378
8379 2004-03-10 Kim Ho <kho@redhat.com>
8380
8381 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8382 (handleEvent): Don't set the clip for the
8383 Graphics object.
8384
8385 2004-03-09 Graydon Hoare <graydon@redhat.com>
8386
8387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8388 Fix double <-> fixed macros, reset font transform.
8389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8390 Likewise.
8391
8392 2004-03-09  Kim Ho <kho@redhat.com>
8393
8394 * java/awt/Container.java: (visitChild): Move
8395 the x and y coordinate of the component rectangle
8396 to correct position.
8397 (handleEvent): Forward drag events to the pressed
8398 component.
8399 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8400 Fix comments.
8401 (ArrowButtonListener::mousePressed): Stop the
8402 existing timer.
8403 (mouseDragged): Implement.
8404 (TrackListener::mousePressed): Only react if
8405 the press doesn't occur on the thumb, otherwise
8406 just set the offset.
8407 (TrackListener::mouseReleased): Unset the isAdjusting
8408 value.
8409 (createIncreaseIcon): Switch icon.
8410 (createDecreaseIcon): Switch icon.
8411 (calculatePreferredSize): Use width.
8412 (getThumbBounds): Use the top as the lower value.
8413 (layoutVScrollBar): Switch the button locations.
8414 (paintIncreaseHighlight): Paint correct side of thumb.
8415 (paintDecreaseHighlight): ditto.
8416 (valueForYPosition): Use top as the lower value.
8417 * javax/swing/plaf/basic/BasicSliderUI.java:
8418 Fix comments.
8419 (mouseDragged): Implement.
8420 (mousePressed): Only react when the thumb isn't
8421 pressed, otherwise just set offset.
8422 (mouseReleased): Handle a release of the thumb.
8423 (scrollDueToClickInTrack): Stop the timer first.
8424 * javax/swing/JProgressBar.java:
8425 (setString): Fix change condition.
8426 * javax/swing/JSeparator.java:
8427 Remove println's.
8428
8429 2004-03-08 David Jee <djee@redhat.com>
8430
8431 * java/awt/image/AffineTransformOp.java:
8432 (filter): Use Graphics2D interface instead of directly using the
8433 GdkGraphics2D peer.
8434
8435 2004-03-05 David Jee <djee@redhat.com>
8436
8437 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8438 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8439 * java/awt/Container.java
8440 (acquireComponentForMouseEvent): Fixed.
8441 (handleEvent): Fixed.
8442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8443 (state_to_awt_mods_with_button_states): New method.
8444 (pre_event_handler): Fixed mouse event generation.
8445
8446 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8447
8448 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8449 (GdkGraphics2D (BufferedImage)): Initialize
8450 pixmap associated with specified BufferedImage.
8451 (setPaint): Changed implementation of Texture
8452 Paint to use AffineTransformOp.
8453 * java/awt/image/AffineTransformOp.java
8454 (createCompatibleDestRaster): Throw RasterFormatException
8455 if resulting width or height of raster is 0.
8456
8457 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8458
8459 * java/awt/image/AffineTransformOp.java:
8460 Removed unnecessary field interpolationType.
8461 Formatted some of the lines to be consistent with
8462 the GNU style.
8463 (AffineTransformOp): Create new RenderingHints
8464 containing specified interpolation type.
8465 (createCompatibleDestImage): Implemented.
8466 (createCompatibleDestRaster): Implemented.
8467 (filter): Implemented.
8468 (getBounds2D(BufferedImage)): Implemented.
8469 (getBounds2D(Raster)): Implemented.
8470 (getInterpolationType): Get interpolation value from
8471 rendering hints.
8472
8473 2004-03-04 David Jee <djee@redhat.com>
8474
8475 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8476 (setFont): Check if child peers are null.
8477
8478 2004-03-04 Graydon Hoare <graydon@redhat.com>
8479
8480 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8481 .libs in -L option.
8482 (libjava_arguments): Add new libraries to argument list.
8483
8484 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8485
8486 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8487 * Makefile.in: Re-generated.
8488 * java/awt/image/AffineTransformOp.java: New Class.
8489
8490 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8491
8492 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8493 (setPaint): Interpret correctly TexturePaint's
8494 anchor rectangle.
8495 (drawImage): Fixed scale factors of the affine
8496 transform.
8497
8498 2004-02-27 David Jee <djee@redhat.com>
8499
8500 * gnu/java/awt/peer/gtk/GdkGraphics.java
8501 (GdkGraphics(Component)): Inherit font from component.
8502 (drawString): Use font style.
8503 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8504 (gtkSetFont): New native method declaration.
8505 (setFont): New method.
8506 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8507 (gtkSetFont): New native method declaration.
8508 (setFont): Call new native method gtkSetFont.
8509 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8510 (setFont): For all child components who do not their fonts set,
8511 set their peers' fonts with this container's font.
8512 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8513 Move all native method declarations to the top for readability.
8514 (gtkSetFont): New native method declaration.
8515 (setFont): New method.
8516 * java/awt/Component.java
8517 (setFont): Invalidate after setting the font.
8518 * java/awt/Container.java
8519 (invalidateTree): New method.
8520 (setFont): Invalidate the container tree after setting the font.
8521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8522 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8523 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8524 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8526 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8528 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8529
8530 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8531
8532 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8533 (updateBufferedImage): New helper function.
8534 Updates BufferedImage in memory if it was changed.
8535 (draw): changed to update BufferedImage in memory after
8536 this drawing operation
8537 (fill): Ditto.
8538 (draw3DRect): Ditto.
8539 (fill3DRect): Ditto.
8540 (clearRect): Ditto.
8541 (drawRaster): Ditto.
8542 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8543 no affine transformation.
8544 (drawGlyphVector): Ditto.
8545
8546 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8547
8548 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8549 (isBufferedImageGraphics): New Helper function.
8550 Returns true if this graphics2d can be used to draw
8551 into buffered image and false otherwise.
8552 (updateImagePixels): New Helper function.
8553 Updates pixels in the BufferedImage.
8554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8555 (getImagePixels): New function. Returns pixels
8556 of the buffered image associated with
8557 this Graphics2D.
8558
8559 2004-02-26 David Jee <djee@redhat.com>
8560
8561 * java/awt/BorderLayout.java
8562 (layoutContainer): Fix width and height calculations to ensure
8563 that they're non-negative.
8564 * java/awt/Component.java
8565 (setBackground): If c is null, inherit from closest ancestor whose
8566 background color is set.
8567
8568 2004-02-26  Kim Ho  <kho@redhat.com>
8569
8570 * Makefile.am: Add new files.
8571 * Makefile.in: Re-generate.
8572 * javax/swing/JProgressBar.java:
8573 (JProgressBar(int, int int)): Throw
8574 IllegalArgumentException if orientation is
8575 invalid.
8576 (JProgressBar(BoundedRangeModel)): Create
8577 ChangeListener and register it. UpdateUI.
8578 (getChangeListeners): Implement.
8579 (setModel): Reset ChangeListener.
8580 * javax/swing/JScrollBar.java: Implement.
8581 * javax/swing/JSeparator.java: Implement.
8582 * javax/swing/JSlider.java:
8583 (JSlider(int, int, int, int)): Throw
8584 IllegalArgumentException if orientation
8585 is invalid.
8586 (getChangeListeners): Fix method name.
8587 * javax/swing/SwingUtilities.java:
8588 (layoutCompoundLabel): If there is no text,
8589 set the text rectangle dimensions to 0.
8590 * javax/swing/plaf/basic/BasicButtonUI.java:
8591 (paint): If there is no text, don't paint it.
8592 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8593 Implement.
8594 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8595 Implement.
8596 * javax/swing/plaf/basic/BasicSliderUI.java:
8597 (propertyChange): If the model changes, change
8598 the listeners accordingly.
8599
8600 2004-02-25 Graydon Hoare <graydon@redhat.com>
8601
8602 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8603 * javax/swing/JList.java: Reimplement.
8604 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8605 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8606 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8607 * javax/swing/ListModel.java: Javadoc.
8608 * javax/swing/ListSelectionModel.java: Add missing methods.
8609 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8610 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8611 * javax/swing/ListModel.java: Javadoc and corrections.
8612 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8613
8614 2004-02-25 David Jee <djee@redhat.com>
8615
8616 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8617 (GtkFontPeer): Change default size to 12.
8618 * gnu/java/awt/peer/gtk/GtkToolkit.java
8619 (getFontPeer): Change default size to 12.
8620 (getClasspathFontPeer): Likewise. Set default name to "Default".
8621 * java/awt/Font.java
8622 (Font(Map)): Call Font(String,Map).
8623 (Font(String,Map)): If attrs is null, initialize it as an empty
8624 HashMap, which will ensure that the Font will get default attributes.
8625
8626 2004-02-25 David Jee <djee@redhat.com>
8627
8628 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8629 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8630 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8631 * gnu/java/awt/peer/gtk/GtkToolkit.java
8632 (getFontPeer(String,int)): Call the new overload method with size 1.
8633 (getFontPeer(String,int,int)): New method. Overloaded with size
8634 attribute.
8635 (getClasspathFontPeer): Set the size of the font.
8636
8637 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8638
8639 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8640 (bimage): New field.
8641 (GdkGraphics2D): New Constructor. Constructs Graphics
8642 object that can be used to draw into the Buffered Image.
8643 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8644 (GdkGraphicsEnvironment): Fixed to include public
8645 keyword.
8646 (createGraphics): Implemented.
8647 * gnu/java/awt/peer/gtk/GtkToolkit.java
8648 (getLocalGraphicsEnvironment): Implemented.
8649 * java/awt/GraphicsEnvironment.java:
8650 (getLocalGraphicsEnvironment): Implemented.
8651 * java/awt/image/BufferedImage.java:
8652 (createGraphics): Implemented.
8653
8654 2004-02-24 David Jee <djee@redhat.com>
8655
8656 * java/awt/Component.java
8657 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8658 * java/awt/Container.java
8659 (addNotifyContainerChildren): Fix event enabling.
8660
8661 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8662
8663 * Makefile.am: Added
8664 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8665 * Makefile.in: Re-generated.
8666 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8667 New Class.
8668
8669 2004-02-19 Kim Ho <kho@redhat.com>
8670
8671 * Makefile.am: Add BasicProgressBarUI
8672 * Makefile.in: Regenerate.
8673 * javax/swing/JProgressBar.java:
8674 Re-implement.
8675 * javax/swing/plaf/basic/BasicLookAndFeel.java
8676 Add constants for JProgressBar.
8677 * javax/swing/plaf/basic/BasicProgressBarUI.java
8678 Implement.
8679 * javax/swing/plaf/basic/BasicSliderUI.java
8680 Change comments.
8681 (calculateGeometry): New method
8682 (paint): Remove unnecessary size calculations.
8683
8684 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8685
8686 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8687 (drawRaster): Fixed small error that caused
8688 imageToUser transformation to be set incorrectly.
8689 (toString): Implemented.
8690
8691 2004-02-18 David Jee <djee@redhat.com>
8692
8693 * java/awt/CardLayout.java
8694 (addLayoutComponent): Show the first component added as the default.
8695 (removeLayoutComponent): After removing, show the next component.
8696 (gotoComponent): If there is only one component, show it and return.
8697
8698 2004-02-18 Kim Ho <kho@redhat.com>
8699
8700 * javax/swing/JSlider.java: Re-order
8701 modifiers.
8702 * javax/swing/JLabel.java: Re-order
8703 modifiers.
8704 * javax/swing/JComponent.java:
8705 (addPropertyChangeListener):
8706 Implement.
8707 (removePropertyChangeListener):
8708 ditto.
8709 (firePropertyChangeEvent):
8710 ditto.
8711
8712 2004-02-17 David Jee <djee@redhat.com>
8713
8714 * java/awt/Component.java
8715 (show): Dispatch ComponentEvent via system event queue.
8716 (hide): Likewise.
8717 (move): Likewise.
8718 (resize): Likewise.
8719 (reshape): Likewise.
8720 * java/awt/Window.java
8721 (setBoundsCallback): Likewise.
8722
8723 2004-02-17 David Jee <djee@redhat.com>
8724
8725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8726 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8727 Use gtk_widget_set_size_request() instead of the deprecated
8728 gtk_widget_set_usize().
8729
8730 2004-02-17 Kim Ho <kho@redhat.com>
8731
8732 * javax/swing/JSlider.java: Fix comments and
8733 make property strings constants.
8734 (createStandardLabels): Use the labels
8735 preferred size as bounds.
8736 * javax/swing/plaf/basic/BasicSliderUI.java
8737 Fix comments.
8738 (ScrollHandler::actionPerformed): Don't
8739 calculate the timer stop value. Let the
8740 MouseListeners find the stop location.
8741 (getPreferredHorizontalSize): Re-implement.
8742 (getPreferredVerticalSize): ditto.
8743 (getMinimumHorizontalSize): ditto.
8744 (getMinimumVerticalSize): ditto.
8745 (getPreferredSize): ditto.
8746 (getMinimumSize): ditto.
8747 (getMaximumSize): ditto.
8748 (paintTicks): Use doubles to find the
8749 tick location.
8750 (paintHorizontalLabel):  Use preferredSize
8751 as initial width and height.
8752 (paintVerticalLabel): ditto.
8753
8754 2004-02-17 Kim Ho <kho@redhat.com>
8755
8756 * javax/swing/JLabel.java: Changed
8757 property strings to constants.
8758 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8759 New property.
8760 (setText): Change mnemonic index if
8761 text is too short.
8762 (setDisplayedMnemonicIndex): Fire property
8763 change event.
8764 (getDisplayedMnemonicIndex): Remove check
8765 against short text.
8766
8767 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8768
8769 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8770 (drawImage(img,xform,obs)): Invert xform before
8771 passing the xform to cairo.
8772 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8773 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8774 implemented.
8775 (drawImage (img,x,y,w,h,obs)): Implemented.
8776 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8777 bgcolor,obs)): Partly implemented.
8778 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8779 Implemented.
8780 * java/awt/image/BufferedImage.java:
8781 (copyData): if dest is null, create raster with same
8782 dimensions as the current image.
8783
8784 2004-02-16 Graydon Hoare <graydon@redhat.com>
8785
8786 * javax/swing/plaf/basic/BasicLabelUI.java
8787 (getPreferredSize): Use layoutCL.
8788 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8789 (getPreferredButtonSize): Start with empty view rect, layout using
8790 component's preferred alignment.
8791 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8792 List defaults.
8793
8794 2004-02-16 David Jee <djee@redhat.com>
8795
8796 * java/awt/Component.java
8797 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8798 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8799 (move): Erase old bounds and repaint new bounds. Dispatch
8800 COMPONENT_MOVED ComponentEvent.
8801 (resize): Erase old bounds and repaint new bounds. Dispatch
8802 COMPONENT_RESIZED ComponentEvent.
8803 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8804 ComponentEvents.
8805 * java/awt/Window.java
8806 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8807 ComponentEvents.
8808
8809 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8810
8811 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8812 (setRenderingHint): Added implementation of
8813 Interpolation rendering hints.
8814 (setRenderingHints): Ditto.
8815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8816 (drawPixels): fixed to allow user to choose type
8817 of filtering that should be used when displaying images.
8818 (cairoSurfaceSetFilter): New method. Sets filter type for
8819 interpolation of pixel values.
8820
8821 2004-02-16 David Jee <djee@redhat.com>
8822
8823 * java/awt/GridBagLayout.java
8824 (calcCellSizes): Rows or columns with zero sizes should still be
8825 considered for extra space distribution.
8826
8827 2004-02-16 Kim Ho <kho@redhat.com>
8828
8829 * javax/swing/JLabel.java: Re-implement.
8830 * javax/swing/plaf/basic/BasicLabelUI.java
8831 Re-implement.
8832 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8833 Added constant.
8834
8835 2004-02-16  Kim Ho  <kho@redhat.com>
8836
8837 * javax/swing/JSlider.java: Fix indentation and comments.
8838 (setModel): Remove null check to conform with Sun's.
8839 (setOrientation): Throw exception if not
8840 HORIZONTAL or VERTICAL.
8841 (getInverted): Use private variable instead of
8842 ComponentOrientation.
8843 (setInverted): ditto.
8844 * javax/swing/plaf/basic/BasicSliderUI.java:
8845 Fix indentation and comments.
8846 (propertyChange): Remove check for inverted slider, handle
8847 in main paint.
8848 (getMinimumSize): Return preferred size.
8849 (getMaximumSize): ditto.
8850 (calculateFocusRect): Don't relocate rectangle.
8851 (drawInverted): Return XOR of the slider's inversion and
8852 the component's orientation.
8853 (paint): Update leftToRightCache
8854
8855 2004-02-13 David Jee <djee@redhat.com>
8856
8857 * java/awt/GridBagLayout.java
8858 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8859 code to helper methods.
8860 (sortBySpan): New helper method.
8861 (distributeSizeAndWeight): Likewise.
8862 (calcCellWeights): Likewise.
8863 (calcCellSizes): Add comments.
8864
8865 2004-02-13 David Jee <djee@redhat.com>
8866
8867 * java/awt/Component.java
8868 (show): Only do something if component is invisible at the moment.
8869 (hide): Only do something if component is visible at the moment.
8870 (reshape): If lightweight, erase old bounds and repaint new bounds.
8871
8872 2004-02-13  Kim Ho  <kho@redhat.com>
8873
8874 * Makefile.am: Updated for new file.
8875 * Makefile.in: Regenerated.
8876 * javax/swing/JSlider.java: Reimplement.
8877 * javax/swing/SwingUtilities.java
8878 (layoutCompoundLabel): Use icon height
8879 instead of width.
8880 (paintComponent): Implement.
8881 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8882 Add JSlider defaults.
8883 * javax/swing/plaf/basic/BasicSliderUI.java:
8884 Implement. New file.
8885
8886 2004-03-17 Michael Koch <konqueror@gmx.de>
8887
8888 * gnu/java/net/PlainDatagramSocketImpl.java
8889 (RECEIVE_LOCK): New member field.
8890 (SEND_LOCK): New member field.
8891 (send0): New method.
8892 (send): Synchronize on SEND_LOCK.
8893 (receive0): New method.
8894 (receive): Synchronize on RECEIVE_LOCK.
8895 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8896 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8897 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8898 (send0): Renamed from send.
8899 (receive0): Renamed from receive.
8900 2004-03-17 Michael Koch <konqueror@gmx.de>
8901
8902 * gnu/java/net/natPlainSocketImplPosix.cc
8903 (write): Just call write(jbyteArray, offset, len).
8904 (read): Just call read(jbyteArray, offset, len).
8905
8906 2004-03-16 Michael Koch <konqueror@gmx.de>
8907
8908 * javax/swing/JTabbedPane.java
8909 (serialVersionUID): New field.
8910
8911 2004-03-16 Norbert Frese <postfach@nfrese.net>
8912
8913 * java/net/InetAddress.java
8914 (getByName): Handle hostname == "" case.
8915
8916 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8917
8918 Reported by: Adam Heath <doogie@debian.org>
8919 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8920 class loader.
8921
8922 2004-03-15 Michael Koch <konqueror@gmx.de>
8923
8924 * java/util/Locale.java: Reverting my last patch
8925 and add a comment why the original version was okay.
8926
8927 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8928
8929 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8930 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8931 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8932 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8933
8934 2004-03-12 Michael Koch <konqueror@gmx.de>
8935
8936 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8937
8938 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8939
8940 * java/net/URI.java (toURL): Implemented.
8941
8942 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8943
8944 * java/net/URI.java
8945 (URI_REGEXP) updated to contain scheme specific part.
8946 (SCHEME_SPEC_PART_GROUP) new constant.
8947 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8948 updated to make room for SCHEME_SPEC_PART_GROUP.
8949 (parseURI) parse scheme specific part.
8950 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8951 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8952 getQuery, getFragment) implemented.
8953
8954 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8955
8956 * libraries/javalib/java/net/URI.java
8957 partially implemented using java.util.regex.
8958 (URI_REGEXP) new constant. Used to parse URIs.
8959 (SCHEME_GROUP) new constant representing index of scheme group
8960 in parsed URI.
8961 (AUTHORITY_GROUP) new constant representing index of authority
8962 group in parsed URI.
8963 (PATH_GROUP) new constant representing index of path group in
8964 parsed URI.
8965 (QUERY_GROUP) new constant representing index of query group in
8966 parsed URI.
8967 (FRAGMENT_GROUP) new constant representing index of fragment
8968 group in parsed URI.
8969 (getURIGroup) new static utility method.
8970 (parseURI) implemented.
8971 (quote) stub for new static utility method.
8972 (quoteAuthority) stub for new static utility method.
8973 (quoteHost) stub for new static utility method.
8974 (quotePath) stub for new static utility method.
8975 (quoteUserInfo) stub for new static utility method.
8976 (URI) implemented.
8977 (create) don't throw URISyntaxException. Implemented.
8978 (toString) implemented.
8979
8980 2004-03-12 Michael Koch <konqueror@gmx.de>
8981
8982 * java/net/HttpURLConnection.java
8983 (getResponseCode): Fix another typo in javadoc.
8984
8985 2004-03-11 Michael Koch <konqueror@gmx.de>
8986
8987 * java/util/logging/Level.java
8988 (parse): Use String.equals() instead of ==.
8989
8990 2004-03-11 Michael Koch <konqueror@gmx.de>
8991
8992 * gnu/java/net/protocol/jar/Connection.java
8993 (getContentLength): New method.
8994
8995 2004-03-11 Michael Koch <konqueror@gmx.de>
8996
8997 * gnu/java/net/PlainSocketImpl.java:
8998 Reformated to merge better with classpath's version.
8999
9000 2004-03-11 Michael Koch <konqueror@gmx.de>
9001
9002 * java/util/Locale.java
9003 (getISO3Language): Use String.equals() instead of ==.
9004 (getISO3Country): Likewise.
9005
9006 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9007
9008 * java/text/AttributedString.java
9009 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9010 Use HashMap instead of Hashtable since value can be null, and
9011 you can not store a null value in a Hashtable.
9012
9013 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9014
9015 * java/text/AttributedStringIterator.java
9016 (getAllAttributesKey): Return only keys concerned
9017 by the current iterator.
9018 (getAttributes): Use strict inequality for
9019 end_index.
9020
9021 2004-03-11 Michael Koch <konqueror@gmx.de>
9022
9023 * java/net/HttpURLConnection.java:
9024 Fixed typo in javadoc.
9025
9026 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9027
9028 * java/io/BufferedInputStream.java (marktarget): New field for max
9029 mark limit.
9030 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9031 (mark): Use new fields.
9032 (read): Likewise.
9033 (read(byte[],int,int)): Likewise.
9034 (skip): Likewise.
9035 (refill): Likewise.
9036
9037 2004-03-11 Mark Wielaard <mark@klomp.org>
9038
9039 * java/beans/BeanDescriptor.java (BeanDescriptor):
9040 Set the FeatureDescriptor programmatic name.
9041
9042 2004-03-11 Michael Koch <konqueror@gmx.de>
9043
9044 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9045 This file was was just copied form java/io/natFileDescriptorEcos.cc
9046 and never changed to compile correctly.
9047
9048 2004-03-11 Michael Koch <konqueror@gmx.de>
9049
9050 * gnu/java/nio/PipeImpl.java
9051 (SourceChannelImpl): Made final.
9052 (read): Implemented.
9053 (SinkChannelImpl): Made final.
9054 (write): Implemented.
9055
9056 2004-03-11 Michael Koch <konqueror@gmx.de>
9057
9058 * gnu/java/net/PlainDatagramSocketImpl.java:
9059 Reformated to match classpath's version more.
9060
9061 2004-03-11 Michael Koch <konqueror@gmx.de>
9062
9063 * gnu/java/awt/peer/ClasspathFontPeer.java:
9064 Fixed javadoc to be correct xhtml.
9065 * gnu/java/awt/peer/gtk/GtkArgList.java
9066 (add): Use Boolean.valueOf() instead of new Boolean().
9067
9068 2004-03-09 Michael Koch <konqueror@gmx.de>
9069
9070 * java/lang/Thread.java
9071 (runnable): Moved around.
9072 (daemon): Renamed from daemon_flag.
9073 (contextClassLoader): Renamed from context_class_loader.
9074 (Thread): Reordered constructors.
9075 (activeCount): Use group directly.
9076 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9077 (holdsLock): Reworked javadoc.
9078 (setDaemon): Reworked.
9079 * java/lang/natThread.cc
9080 (destroy): Removed.
9081
9082 2004-03-08 Anthony Green <green@redhat.com>
9083
9084 * Makefile.am: Build property resource files into libgcj.
9085 * Makefile.in: Rebuilt.
9086 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9087 java/util/regex/PatternSyntaxException.java,
9088 gnu/regexp/CharIndexed.java,
9089 gnu/regexp/CharIndexedCharArray.java,
9090 gnu/regexp/CharIndexedInputStream.java,
9091 gnu/regexp/CharIndexedReader.java,
9092 gnu/regexp/CharIndexedString.java,
9093 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9094 gnu/regexp/REException.java,
9095 gnu/regexp/REFilterInputStream.java,
9096 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9097 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9098 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9099 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9100 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9101 gnu/regexp/RETokenLookAhead.java,
9102 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9103 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9104 gnu/regexp/RETokenStart.java,
9105 gnu/regexp/RETokenWordBoundary.java,
9106 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9107
9108 2004-03-03 Per Bothner <per@bothner.com>
9109
9110 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9111 Optimize when argument is a FileChannelImpl.
9112 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9113 New native methods.
9114 * java/nio/channels/natChannels.cc: New file for new native methods.
9115 * Makefile.am: Update accordingly.
9116
9117 2004-03-02 Jan Hubicka <jh@suse.cz>
9118
9119 * configure.host: Pass -fno-omit-frame-pointer for i386.
9120 * configure.in: Likewise.
9121 * configure: Regenerate.
9122
9123 2004-03-01 Per Bothner <per@bothner.com>
9124
9125 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9126
9127 2004-02-29 Per Bothner <per@bothner.com>
9128
9129 * java/nio/channels/FileChannelImpl.java: Moved to package
9130 gnu/java/nio/channels, since we need to refer to it from java.io.
9131 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9132 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9133 from java/nio/channels. Don't depend on FileDescriptor.
9134 (in, out, err): New static fields.
9135 (mode): New field.
9136 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9137 from FileDescriptor.
9138 (by): Removed MappedByteBuffer field.
9139 (map): New working implementation.
9140 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9141 some code "ported" from natFileDescriptoPosix.cc.
9142 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9143 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9144 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9145 Remove native methods.
9146 * Makefile.am, configure.in: Updated accordingly.
9147
9148 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9149 (ch): New FileChannelImpl field. Update constructor to match.
9150 (releaseImpl): Remove native method. Instead ...
9151 (release): Call unlock on channel.
9152 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9153
9154 * java/io/natFileDescriptorEcos.cc: Remove file.
9155 * java/io/natFileDescriptorPosix.cc: Remove file.
9156 * java/io/natFileDescriptorWin32.cc: Remove file.
9157 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9158 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9159 (<init>(FileChannelImpl)): New package-private constructor.
9160 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9161 (available, close, read, skip): Implement using FileChannelImpl.
9162 (getFD): Allocate FileDescriptor if needed.
9163 (getChannel): Is now trivial.
9164 * java/io/FileOutputStream.java: Corresponding changes.
9165 * java/io/RandomAccessFile.java: Corresponding changes.
9166
9167 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9168 unmapImpl): New dummy methods, to be overridden by subclass.
9169 (finalize, isLoaded, load, force): New methods.
9170 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9171 Now works, at least for read mapping.
9172
9173 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9174 streams using FileChannelImpl, not FileDescriptor.
9175 * java/lang/natWin32Process.cc (startProcess): Likewise.
9176
9177 2004-02-28 Michael Koch <konqueror@gmx.de>
9178
9179 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9180 wrong code.
9181
9182 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9183
9184 * java/io/ObjectInputStream.java
9185 (readClassDescriptor): Keep elements of the mapping non null.
9186 (checkTypeConsistency): New method.
9187 (readFields): Fixed main loop and base logic. Small reindentation.
9188 * java/io/ObjectStreamField.java
9189 (lookupField): New method to update the field reference.
9190 (checkFieldType): New method.
9191 * java/io/ObjectStreamClass.java
9192 (setClass, setFields): Call lookupField when building the field
9193 database. Check the real field type.
9194
9195 2004-02-28 Michael Koch <konqueror@gmx.de>
9196
9197 * java/nio/ByteOrder.java
9198 (nativeOrder): Use equals() to compare strings.
9199
9200 2004-02-26 Michael Koch <konqueror@gmx.de>
9201
9202 * gnu/java/nio/FileLockImpl.java
9203 (finalize): Made protected.
9204 * java/nio/channels/FileChannel.java
9205 (MapMode.READ_ONLY): Made final.
9206 (MapMode.READ_WRITE): Made final.
9207 (MapMode.PRIVATE): Made final.
9208 * java/nio/channels/SocketChannel.java
9209 (open): Simplified code.
9210 * java/nio/channels/spi/AbstractSelectableChannel.java
9211 (registered): Unused, removed.
9212 (keyFor): Check channel is open, only locate key
9213 and not add a new one.
9214 (register): Don't delete attachments.
9215
9216 2004-02-26 Michael Koch <konqueror@gmx.de>
9217
9218 * gnu/java/awt/ComponentDataBlitOp.java
9219 (INSTANCE): Made final.
9220 * gnu/java/awt/image/ImageDecoder.java:
9221 Reworked imports.
9222 (cm): Unused, removed.
9223
9224 2004-02-26 Michael Koch <konqueror@gmx.de>
9225
9226 * gnu/java/nio/DatagramChannelImpl.java
9227 (send): Check if target address is resolved.
9228
9229 2004-02-26 Michael Koch <konqueror@gmx.de>
9230
9231 * Makefile.am: Generate and install headers for inner classes in
9232 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9233 * Makefile.in: Regenerated.
9234
9235 2004-02-24 Anthony Green <green@redhat.com>
9236
9237 * java/lang/StringBuffer.java: No need to NULL out remainder of
9238 buffer since ensureCapacity_unsynchronized will have done this for
9239 us.
9240
9241 2004-02-20 Michael Koch <konqueror@gmx.de>
9242
9243 * gnu/java/net/protocol/jar/Handler.java
9244 (): Removed unneeded check for file != null. java.net.URL.getFile()
9245 returns an empty string but never null.
9246
9247 2004-02-20 Michael Koch <konqueror@gmx.de>
9248
9249 * gnu/gcj/convert/Convert.java
9250 (main): Use equals() to compare strings.
9251
9252 2004-02-20 Michael Koch <konqueror@gmx.de>
9253
9254 * javax/swing/AbstractButton.java: Made several constants final.
9255 (getRolloverSelectedIcon): Made public.
9256 (getSelectedIcon): Made public.
9257
9258 2004-02-16 Per Bothner <per@bothner.com>
9259
9260 * java/nio/CharBufferImpl.java: Inline super constructor.
9261 * java/nio/DoubleBufferImpl.java: Likewise.
9262 * java/nio/FloatBufferImpl.java: Likewise.
9263 * java/nio/IntBufferImpl.java: Likewise.
9264 * java/nio/LongBufferImpl.java: Likewise.
9265 * java/nio/ShortBufferImpl.java: Likewise.
9266 * java/nio/CharBuffer.java: Remove unused constructor.
9267 * java/nio/DoubleBuffer.java: Likewise.
9268 * java/nio/FloatBuffer.java: Likewise.
9269 * java/nio/IntBuffer.java: Likewise.
9270 * java/nio/LongBuffer.java: Likewise.
9271 * java/nio/ShortBuffer.java: Likewise.
9272 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9273 Fix buggy call to super constructor.
9274 * java/nio/DoubleViewBufferImpl.java: Likewise.
9275 * java/nio/FloatViewBufferImpl.java: Likewise.
9276 * java/nio/IntViewBufferImpl.java: Likewise.
9277 * java/nio/LongViewBufferImpl.java: Likewise.
9278 * java/nio/ShortViewBufferImpl.java: Likewise.
9279
9280 * java/nio/ByteBuffer.java (endian): Make non-private so other
9281 java.nio classes can inherit it.
9282 (<init>): Don't bother clearing array_offset.
9283 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9284 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9285 Remove redundant test.
9286
9287 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9288 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9289 Use new XxxViewBufferImpl constructors.
9290 * java/nio/MappedByteBufferImpl.java: Likewise.
9291 * java/nio/DirectByteBufferImpl.java: Likewise.
9292
9293 * java/nio/ByteBufferImpl.java: Remove one constructor.
9294 Inline super in remaining constructor.
9295 * java/nio/ByteBuffer.java: Remove unused constructor.
9296
9297 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9298
9299 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9300 * java/nio/DirectByteBufferImpl.java (owner): New field.
9301 (offset): Remove unused field.
9302 (<init>): Modify one and add another constructor. Change callers.
9303 (allocateDirect): Removed - not used.
9304 (getImpl, putImpl): Make static and pass address explicitly,
9305 to make them useful for MappedByteBufferImpl.
9306 (get, put): Check for underflow. Modify for new getImpl.
9307 (getImpl): New native method where target is array.
9308 (get(byte[],int,int)): Use the above.
9309 (adjustAddress): New static native method.
9310 (slice, duplicate, asReadOnly): New implementations.
9311 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9312 adjustAddress): New or updated native methods.
9313
9314 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9315
9316 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9317 overflow of fieldmapping.
9318
9319 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9320
9321 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9322
9323 2004-02-14 Per Bothner <per@bothner.com>
9324
9325 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9326 Set closed before calling implCloseChannel, as in the spec.
9327
9328 2004-02-09 Graydon Hoare <graydon@redhat.com>
9329
9330 * javax/swing/ToggleButtonModel.java: Remove dead class.
9331 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9332 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9333 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9334 * Makefile.am: Update for new and removed files.
9335 * Makefile.in: Regenerate.
9336
9337 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9338 * javax/swing/AbstractButton.java
9339 (AbstractButton): Initialize fields correctly in ctor.
9340 * javax/swing/JCheckbox.java
9341 (JCheckBox): Override painting flags.
9342 * javax/swing/DefaultButtonModel.java: Conform to sun.
9343 * javax/swing/JComponent.java (paint): Fill with background color
9344 if available.
9345 (processComponentKeyEvent)
9346 (processFocusEvent)
9347 (processKeyEvent)
9348 (processMouseMotionEvent): Remove event-consuming empty methods.
9349 (getUIClassID): Return "ComponentUI" not "JComponent"
9350 * javax/swing/JFrame.java: Remove some debugging chatter.
9351 (JFrame): Subscribe to window events.
9352 * javax/swing/JRadioButton.java
9353 (JRadioButton): Override painting flags.
9354 * javax/swing/JRootPane.java
9355 (JRootPane): Set background from UIDefaults.
9356 * javax/swing/JToggleButton.java
9357 (ToggleButtonModel): New inner class.
9358 (JToggleButton): Override layout alighment.
9359 * javax/swing/SwingUtilities.java:
9360 (getLocalBounds): Return width and height, not x and y.
9361 (calculateInnerArea): Use local bounds, not bounds.
9362 (layoutCompoundLabel): Provide overridden form.
9363 (layoutCompoundLabel): Correct bugs.
9364 * javax/swing/UIDefaults.java: Correct comment.
9365 * javax/swing/plaf/basic/BasicButtonUI.java:
9366 Move most logic into defaults, external listener.
9367 (paintIcon): Implement icon painting.
9368 (paint): Fix state painting to conform to changes in model.
9369 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9370 Remove most dead/wrong methods.
9371 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9372 * javax/swing/plaf/basic/BasicIconFactory.java:
9373 (DummyIcon): New class.
9374 (getMenuItemCheckIcon)
9375 (getMenuItemArrowIcon)
9376 (getMenuArrowIcon)
9377 (getCheckBoxMenuItemIcon)
9378 (getRadioButtonMenuItemIcon)
9379 (createEmptyFrameIcon): Return DummyIcons, not null.
9380 (getCheckBoxIcon): Implement an icon that looks like sun's.
9381 (getRadioButtonIcon): Implement an icon that looks like sun's.
9382 * javax/swing/plaf/basic/BasicLookAndFeel.java
9383 (initComponentDefaults): Fix impossible values, add some missing.
9384 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9385 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9386 Remove most dead/wrong methods.
9387 (icon): New field.
9388 (getDefaultIcon): New method.
9389 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9390 Remove most dead/wrong methods.
9391 * javax/swing/plaf/metal/MetalLookAndFeel.java
9392 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9394 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9395 Implement "clearing" as drawing, when on pixmap drawables.
9396
9397 * javax/swing/JButton.java (getUIClassID):
9398 * javax/swing/JCheckBox.java (getUIClassID):
9399 * javax/swing/JEditorPane.java (getUIClassID):
9400 * javax/swing/JLabel.java (getUIClassID):
9401 * javax/swing/JList.java (getUIClassID):
9402 * javax/swing/JOptionPane.java (getUIClassID):
9403 * javax/swing/JPanel.java (getUIClassID):
9404 * javax/swing/JPasswordField.java (uiClassID):
9405 * javax/swing/JRadioButton.java (getUIClassID):
9406 * javax/swing/JRootPane.java (getUIClassID):
9407 * javax/swing/JScrollPane.java (getUIClassID):
9408 * javax/swing/JTabbedPane.java (getUIClassID):
9409 * javax/swing/JToggleButton.java (getUIClassID):
9410 * javax/swing/JTree.java (getUIClassID):
9411 * javax/swing/JViewport.java (getUIClassID):
9412 * javax/swing/text/JTextComponent.java (getUIClassID):
9413 Return "fooUI" not "Jfoo"
9414
9415 2004-02-11 Michael Koch <konqueror@gmx.de>
9416
9417 * java/net/DatagramSocket.java
9418 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9419 Boolean object.
9420 (setBroadcast): Likewise.
9421 * java/net/MulticastSocket.java
9422 (setLoopbackMode): Likewise.
9423 * java/net/ServerSocket.java
9424 (setReuseAddress): Likewise.
9425 * java/net/Socket.java
9426 (setTcpNoDelay): Likewise.
9427 (setSoLinger): Likewise.
9428 (setOOBInline): Likewise.
9429 (setKeepAlive): Likewise.
9430 (setReuseAddress): Likewise.
9431 * java/net/URLConnection.java
9432 (setContentHandler): Replace == with equals().
9433 * java/net/URLStreamHandler.java
9434 (hostSEquals): Fix checking host addresses.
9435 (toExternalForm): Dont check protocol for null. We know already its
9436 not null.
9437
9438 2004-02-10 David Jee <djee@redhat.com>
9439
9440 * java/awt/BorderLayout.java
9441 (calcCompSize): Invisible components get zero dimensions.
9442 * java/awt/Button.java
9443 (setLabel): Set actionCommand.
9444 * java/awt/Component.java
9445 (show): Invalidate component and parent container.
9446 (hide): Likewise.
9447
9448 2004-02-10 David Jee <djee@redhat.com>
9449
9450 * java/awt/GridBagLayout.java
9451 (GridBagLayout): New private field, internalcomptable.
9452 (lookupInternalConstraints): New method.
9453 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9454 (GetLayoutInfo): Reimplement.
9455 (calcCellSizes): Ignore rows/columns with size 0.
9456
9457 2004-02-10 Michael Koch <konqueror@gmx.de>
9458
9459 * gnu/java/awt/EmbeddedWindow.java
9460 (setHandle): Use java.awt.Component.getPeer() instead of
9461 java.awt.Component.peer directly.
9462
9463 2004-02-10 David Jee <djee@redhat.com>
9464
9465 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9466 (gtkSetLabel): New native method definition.
9467 (setLabel): Use gtkSetLabel.
9468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9469 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9470
9471 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9472
9473 * include/powerpc-signal.h: Revert 2004-01-21 change.
9474 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9475 from syscall for ppc32 versions.
9476
9477 2004-02-08 Per Bothner <per@bothner.com>
9478
9479 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9480 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9481 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9482 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9483 Pass ByteOrder parameter to most methods, since the underlying
9484 ByteBuffer's order isn't always what we should use.
9485 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9486 * java/nio/DirectByteBufferImpl.java: Likewise.
9487 Use ByteBufferHelper methods.
9488 * java/nio/MappedByteBufferImpl.java: Likewise.
9489 (compact): Use shiftDown.
9490 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9491 (get, put): Use ByteBufferHelper.
9492 (compact): Use new shiftDown method.
9493 (duplicate(boolean)): New helper method.
9494 (duplicate, asReadOnlyBuffer): Use it.
9495 (order): Return endian field.
9496 * java/nio/DoubleViewBufferImpl.java: Likewise.
9497 * java/nio/FloatViewBufferImpl.java: Likewise.
9498 * java/nio/IntViewBufferImpl.java: Likewise.
9499 * java/nio/LongViewBufferImpl.java: Likewise.
9500 * java/nio/ShortViewBufferImpl.java: Likewise.
9501 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9502 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9503 (compact): Re-implement using shiftDown.
9504
9505 2004-02-08 Andreas Jaeger <aj@suse.de>
9506
9507 * include/x86_64-signal.h: Fix typo.
9508
9509 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9510
9511 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9512 qualifier to _regs.
9513 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9514
9515 2004-02-06 Michael Koch <konqueror@gmx.de>
9516
9517 * java/io/ObjectInputStream.java
9518 (currentClassLoader): Reverted to old version of this method.
9519
9520 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9521
9522 * java/io/ObjectInputStream.java: Made all calls
9523 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9524 use cached info from ObjectStreamClass. (readClassDescriptor):
9525 Cache more information in ObjectStreamClass. (processResolution,
9526 readFields): Use cached info from ObjectStreamClass.
9527 (newObject): Throw exception instead of returning null for failure.
9528 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9529 setCharField, setDoubleField, setFloatField, setIntField,
9530 setLongField, setShortField, setObjectField, readObjectParams):
9531 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9532 check.
9533 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9534 (setClass): Added call to cacheMethods() (findMethod): New method.
9535 (cacheMethods): New method. (ObjectStreamClass): Added call to
9536 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9537 AccessController.doPrivileged to invoke setAccessible.
9538 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9539 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9540 New fields.
9541 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9542 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9543 isPrimitive): Made safe for cases where type == null.
9544 (setBooleanField, setByteField, setCharField, setShortField,
9545 setIntField, setLongField, setFloatField, setDoubleField,
9546 setObjectField): New methods.
9547
9548 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9549
9550 * java/awt/Component.java (getFont): Return a default font
9551 instead of null.
9552
9553 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9554 (Scrollbar (int, int, int, int, int)): Make default page
9555 increment 10.
9556 (setValues): Only call peer.setValues if one of the values has
9557 changed.
9558 (generateName): New method.
9559 (getUniqueLong): New method.
9560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9561 (range_scrollbar): Remove structure.
9562 (post_adjustment_event): Remove function.
9563 (post_change_event): Accept jobject argument.
9564 (create): Cast jints to gdoubles. Round scrollbar values to the
9565 nearest integer. Clamp min, max and value settings.
9566 (connectJObject): Connect hook to widget->window.
9567 (connectSignals): Remove range_scrollbar structure variables.
9568 Remove "move-slider" connection. Pass global peer reference to
9569 "value-changed" callback.
9570 (setLineIncrement): Cast jint value to gdouble.
9571 (setPageIncrement): Likewise.
9572 (setValues): Likewise. Clamp min, max and value settings.
9573
9574 2004-02-05 Michael Koch <konqueror@gmx.de>
9575
9576 * javax/swing/AbstractCellEditor.java
9577 (getCellEditorValue): Removed.
9578 * javax/swing/Box.java: Reformated.
9579 (serialVersionUID): New field.
9580 * javax/swing/ButtonGroup.java:
9581 Removed some weird whitespace.
9582 * javax/swing/CellEditor.java: Reformated.
9583 * javax/swing/CellRendererPane.java
9584 (serialVersionUID): New field.
9585 (AccessibleCellRendererPaneserialVersionUID): New field.
9586 * javax/swing/DefaultListModel.java
9587 (serialVersionUID): New field.
9588 * javax/swing/JEditorPane.java
9589 (serialVersionUID): New field.
9590 (setPage): Throws IOException.
9591 (addHyperlinkListener): Implemented.
9592 (removeHyperlinkListener): Implemented.
9593 (getHyperlinkListener): New method.
9594 * javax/swing/JFileChooser.java
9595 (serialVersionUID): New field.
9596 (AccessibleJFileChooser.serialVersionUID): New field.
9597 (addActionListener): Implemented.
9598 (removeActionListener): Implemented.
9599 (getActionListeners): New method.
9600 * javax/swing/JFormattedTextField.java
9601 (serialVersionUID): New field.
9602 (AbstractFormatter.serialVersionUID): New field.
9603 (clone): Throws CloneNotSupportedException
9604 (setEditValid): Add missing argument.
9605 (stringToValue): Throws ParseExcpetion.
9606 (valueToString): Throws ParseException.
9607 (commitEdit): Throws ParseException.
9608 * javax/swing/JLabel.java
9609 (serialVersionUID): New field.
9610 * javax/swing/JList.java
9611 (serialVersionUID): New field.
9612 (addListSelectionListener): Reformated.
9613 (removeListSelectionListener): Reformated.
9614 (getListSelectionListeners): New method.
9615 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9616 Reformated.
9617 (serialVersionUID): New field.
9618 * javax/swing/table/AbstractTableModel.java
9619 (getValueAt): Removed.
9620 (getColumnCount): Removed.
9621 (getRowCount): Removed.
9622
9623 2004-02-05 Michael Koch <konqueror@gmx.de>
9624
9625 * java/awt/datatransfer/DataFlavor.java
9626 (imageFlavor): Javadoc added.
9627 (javaJVMLocalObjectType): Fixed.
9628
9629 2004-02-05 Michael Koch <konqueror@gmx.de>
9630
9631 * java/lang/Thread.java
9632 (Thread): Reordered.
9633 (setContextClassLoader): Fixed javadoc comment.
9634 (setPriority): Reordered.
9635 (yield): Reordered.
9636 (initialize_native): Reordered.
9637 (gen_name): Reordered.
9638
9639 2004-02-05 Michael Koch <konqueror@gmx.de>
9640
9641 * java/lang/Thread.java: Reordered fields, reformated much code,
9642 no functional changes, some variables renamed, javadoc comments
9643 merged.
9644
9645 2004-02-05 Michael Koch <konqueror@gmx.de>
9646
9647 * java/util/zip/Deflater.java,
9648 java/util/zip/DeflaterOutputStream.java,
9649 java/util/zip/GZIPInputStream.java:
9650 Reformated and javadoc comments merged from classpath.
9651
9652 2004-02-05 Michael Koch <konqueror@gmx.de>
9653
9654 * gnu/java/nio/NIOServerSocket.java
9655 (impl): Unused, removed.
9656 * gnu/java/nio/SocketChannelImpl.java
9657 (finnishConnect): Don't throw NoConnectionPendingException if not
9658 connected or no connection pending.
9659
9660 2004-02-02 Graydon Hoare <graydon@redhat.com>
9661
9662 * javax/swing/SwingUtilities.java: Many new functions.
9663 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9664 * javax/swing/basic/BasicGraphicsUtils.java
9665 (getPreferredButtonSize): Start layout from top-left corner.
9666
9667 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9668
9669 * java/awt/geom/AffineTransform.java:
9670 Corrected comments on the field definitions for
9671 m11 and m10.
9672 (shear): Fixed few errors that caused shear
9673 transformation to be performed incorrectly.
9674 (createInverse): Fixed to return correct
9675 inverse of the given matrix.
9676
9677 2004-02-03 Tom Tromey <tromey@redhat.com>
9678
9679 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9680 PATH or LD_LIBRARY_PATH is not set in parent environment.
9681
9682 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9683
9684 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9685 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9686 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9687 java/awt/Component.java, java/awt/Container.java,
9688 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9689 java/awt/LayoutManager2.java, java/awt/List.java,
9690 java/awt/Menu.java, java/awt/MenuBar.java,
9691 java/awt/MenuItem.java, java/awt/Polygon.java,
9692 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9693 java/awt/Scrollbar.java, java/awt/TextArea.java,
9694 java/awt/TextField.java,
9695 java/awt/image/renderable/RenderContext.java,
9696 javax/swing/JApplet.java: Fix handling of alias methods, where a
9697 method has been deprecated in favour of a new one with the same
9698 funtion but a different name. Put the method implementation in
9699 the deprecated method and have the new method call the
9700 deprecated one. Make all other code call the new method.
9701
9702 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9703
9704 * gnu/java/nio/DatagramChannelImpl.java
9705 (inChannelOperation): New field.
9706 (isInChannelOperation): New accessor.
9707 (setInChannelOperation): New modifier.
9708 (receive): Use capacity() - position() of destination
9709 buffer instead of remaining(). Set and reset our "in
9710 channel operation indicator" before and after delegating
9711 the receive to our datagram socket. Removed testing code.
9712 Update destination buffer's current position if it is
9713 backed by a byte array (hasArray() is true).
9714 (send): Set and reset our "in channel operation indicator"
9715 before and after delegating the send to our datagram socket.
9716 Removed testing code. Update source buffer's current position
9717 if it is backed by a byte array (hasArray() is true).
9718 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9719 Use capacity() - position() of destination buffer instead
9720 of remaining().
9721 * java/net/DatagramSocket.java (receive): Don't throw an
9722 IllegalBlockingModeException if we have a non-blocking
9723 channel which initiated this operation.
9724 (send): Likewise.
9725
9726 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9727
9728 * configure.in: Add pkgconfig check for glib and gthread.
9729 * configure: Regenerate.
9730
9731 2004-02-01 Michael Koch <konqueror@gmx.de>
9732
9733 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9734 arguments.
9735 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9736 * verify.cc (debug_print): Mark 'fmt' unused.
9737
9738 2004-01-30 Michael Koch <konqueror@gmx.de>
9739
9740 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9741 * configure: Regenerated.
9742 * glib-2.0.m4: Removed.
9743 * gtk-2.0.m4: Removed.
9744 * libart.m4: Removed.
9745 * pkg.m4: New file.
9746
9747 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9748
9749 * gnu/java/net/PlainSocketImpl.java
9750 (inChannelOperation): New field.
9751 (isInChannelOperation): New accessor.
9752 (setInChannelOperation): New modifier.
9753 * gnu/java/nio/ServerSocketChannelImpl.java
9754 (accept): Set and reset our server socket's PlainSocketImpl's
9755 "in channel operation" indicator before and after delegating
9756 the accept to our server socket.
9757 * gnu/java/nio/SocketChannelImpl.java
9758 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9759 operation" indicator before and after delegating the operation to
9760 our socket.
9761 (read): Likewise.
9762 (write): Likewise.
9763 * java/net/ServerSocket.java (implAccept): Don't throw an
9764 IllegalBlockingModeException if we have a non-blocking
9765 channel which initiated this accept operation.
9766 * java/net/Socket.java (connect): Don't throw an
9767 IllegalBlockingModeException if we have a non-blocking
9768 channel which initiated this connect operation.
9769 * java/nio/channels/spi/AbstractSelectableChannel.java
9770 (configureBlocking): Only call implConfigureBlocking() if
9771 the desired blocking mode is different from our current one.
9772
9773 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9774
9775 * java/io/BufferedReader.java (sbuf): New field.
9776 (readLine): Use String.valueOf instead of new String() as per
9777 Per Bothner's suggestion. Use instance sbuf field instead of a
9778 local StringBuffer instance.
9779 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9780 caller's buffer to refill().
9781 (read(void)): Pass our internal work buffer to refill if our
9782 input queue is empty.
9783 (refill): Changed return type to int. Use the specified buffer
9784 instead of our work buffer as per Bryce McKinlay's suggestion.
9785 Return the number of characters read or -1 for EOF.
9786
9787 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9788
9789 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9790
9791 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9792
9793 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9794 * Makefile.in: Re-generated.
9795 * gnu/awt/xlib/XFontPeer.java: New file.
9796 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9797 (setClip): Commented out debug printout.
9798 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9799 (getFontPeer): Return XFontPeer.
9800 (getLocalGraphicsEnvironment): New method.
9801 (getClasspathFontPeer): New method.
9802 (createFont): New method.
9803
9804 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9805
9806 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9807 return null.
9808
9809 2004-01-29 Kim Ho <kho@redhat.com>
9810
9811 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9812 (gtkLayoutSetVisible): New method
9813 (setMenuBar): Hide layout before setting MenuBar
9814 and reshow it after.
9815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9816 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9817
9818 2004-01-28 Michael Koch <konqueror@gmx.de>
9819
9820 * gnu/java/lang/ClassHelper.java
9821 (getPackagePortion): Removed.
9822
9823 2004-01-28 Michael Koch <konqueror@gmx.de>
9824
9825 * javax/swing/JComponent.java
9826 (listenerList): Initalize globally.
9827 (ancestor_list): Removed.
9828 (veto_list): Removed.
9829 (change_list): Removed.
9830 (get_veto_list): Removed.
9831 (get_change_list): Removed.
9832 (get_ancestor_list): Removed.
9833 (removeAncestorListener): Reimplemented.
9834 (removePropertyChangeListener): Likewise.
9835 (removeVetoableChangeListener): Likewise.
9836 (addAncestorListener): Likewise.
9837 (addPropertyChangeListener): Likewise.
9838 (addVetoableChangeListener): Likewise.
9839 (getListeners): New method.
9840 (getAncestorListeners): Likewise.
9841 (getVetoableChangeListeners): Likewise.
9842 (fireVetoableChange): Throws PropertyVetoException.
9843 * javax/swing/JEditorPane.java
9844 (JEditorPane): Throws IOException.
9845
9846 2004-01-28 David Jee <djee@redhat.com>
9847
9848 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9849 (create): Set the default foreground color to
9850 java.awt.SystemColor.windowText.
9851
9852 2004-01-27 Michael Koch <konqueror@gmx.de>
9853
9854 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9855 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9856 Reindented to merge with classpath.
9857
9858 2004-01-27 David Jee <djee@redhat.com>
9859
9860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9861 (addExposeFilter): Handle GtkFramePeer separately.
9862 (removeExposeFilter): Likewise.
9863
9864 2004-01-27 Michael Koch <konqueror@gmx.de>
9865
9866 * gnu/java/net/protocol/http/Connection.java
9867 (getOutputStream): Fixed typo.
9868
9869 2004-01-27 Michael Koch <konqueror@gmx.de>
9870
9871 * java/lang/Class.java
9872 (getConstructor): Removed SecurityException from throws clause.
9873 (_getConstructors): Likewise.
9874 (getConstructors): Likewise.
9875 (getDeclaredConstructor): Likewise.
9876 (getDeclaredClasses): Likewise.
9877 (getDeclaredConstructors): Likewise.
9878 (getDeclaredField): Likewise.
9879 (getDeclaredMethod): Likewise.
9880 (getDeclaredMethods): Likewise.
9881 (getField): Likewise.
9882 (getMethod): Likewise.
9883 (getMethods): Likewise.
9884
9885 2004-01-27 Kim Ho <kho@redhat.com>
9886
9887 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9888 (removeMenuBarPeer): Remove MenuBarPeer argument.
9889 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9890 (dispose): Call native method.
9891 * java/awt/Frame.java (setMenuBar): Create and remove
9892 MenuBar peers only if the Frame has a peer.
9893 (addNotify): Create the MenuBar peer if one exists.
9894 (removeNotify): Remove MenuBar peer if one exists.
9895 * java/awt/Menu.java: Fix imports.
9896 (addNotify): Don't use full class name.
9897 (removeNotify): Call removeNotify on all children.
9898 * java/awt/MenuBar.java (removeNotify): Call
9899 removeNotify on all children.
9900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9901 (removeMenuBarPeer): Remove MenuBarPeer argument.
9902 Iterate through children to find the Frame's MenuBar.
9903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9904 New file.
9905 (dispose): Remove references to the MenuComponent.
9906
9907 2004-01-27 Michael Koch <konqueror@gmx.de>
9908
9909 * javax/swing/AbstractCellEditor.java: Reformated.
9910 * javax/swing/DefaultListSelectionModel.java
9911 (listenerList): Made protected.
9912 (addListSelectionListener): Javadoc added.
9913 (removeListSelectionListener): Likewise.
9914 (getListeners): Likewise.
9915 (getListSelectionListeners): Likewise.
9916 * javax/swing/JComboBox.java: Merged copyright year.
9917 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9918
9919 2004-01-26 Andrew Haley <aph@redhat.com>
9920
9921 * javax/swing/table/JTableHeader.java: Extend JComponent
9922
9923 2004-01-26 Kim Ho <kho@redhat.com>
9924
9925 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9926 Fix spacing.
9927
9928 2004-01-26 Kim Ho <kho@redhat.com>
9929
9930 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9931 method.
9932 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9933 height and let the Layout Managers readjust anything that
9934 needs to move.
9935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9936 (moveLayout): New method. Shift everything in the Gtk
9937 layout in the Y direction by an offset.
9938
9939 2004-01-26 David Jee <djee@redhat.com>
9940
9941 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9942 (handleEvent): Implemented. Handles PaintEvents.
9943 (paint): Implemented. Use GTK native methods to queue updates
9944 for this heavyweight peer.
9945 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9946 (handleEvent): Removed.
9947 * java/awt/Component.java
9948 (paint): Implemented. Explictly paint the heavyweight peer.
9949 (update): Clear the background for heavyweight components.
9950 (paintAll): No need to call peer.paint() anymore.
9951 (processEvent): Don't process PaintEvents here. It's now done in
9952 the peer's handleEvent().
9953 (processPaintEvent): Removed.
9954 * java/awt/Container.java
9955 (paint): No need to call super.paint(). Visit heavyweight
9956 children as well.
9957 (update): Don't clear the background here. It's done in
9958 Component.update().
9959 (visitChildren): Added check to not recurse into Containers.
9960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9961 (filter_expose_event_handler): New method. Filter unwanted
9962 expose events while painting heavyweight peers.
9963 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9964 New method. Connect filter and block pre_event_handler.
9965 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9966 New method. Disconnect filter and unblock pre_event_handler.
9967 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9968 New method. Invalidate and update given area.
9969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9970 (pre_event_handler): Add checks for unwanted expose events.
9971
9972 2004-01-26 David Jee <djee@redhat.com>
9973
9974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9975 (find_bg_color_widget): For GtkButton, return its child.
9976
9977 2004-01-26 Kim Ho <kho@redhat.com>
9978
9979 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9980 private.
9981 (setMenuBar): Grab MenuBar height and change insets.
9982 (setBounds): Account for MenuBar height.
9983 (postInsetsChangedEvent): Ditto.
9984 (postSizeAllocateEvent): Remove.
9985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9986 (menubar_resize_cb): Remove
9987 (setMenuBarPeer): Remove callback.
9988 (getMenuBarHeight): Use size requisition instead of
9989 allocation.
9990
9991 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9992
9993 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9994 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9995 when peer is null.
9996 (setColumns): Remove FIXME -- peer will retrieve number of
9997 columns by calling getColumns.
9998 (setRows): Likewise for number of rows.
9999 (next_text_number): New field.
10000 (paramString): Fix param string.
10001 (generateName): New method.
10002 (getUniqueLong): New method.
10003
10004 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10005
10006 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10007 image observer of image loading status.
10008 (getImage (String)): Start image production.
10009 (getImage (URL)): Likewise.
10010
10011 2004-01-25 Michael Koch <konqueror@gmx.de>
10012
10013 * java/lang/Class.java: Imports reworked, reformated.
10014 (Class): Javadoc added.
10015 (forName): Likewise.
10016 (getClasses): Likewise.
10017 (getClassLoader): Likewise.
10018 (getComponentType): Likewise.
10019 (getConstructor): Likewise.
10020 (getConstructors): Likewise.
10021 (getDeclaredConstructor): Likewise.
10022 (getDeclaredClasses): Likewise.
10023 (getDeclaredConstructors): Likewise.
10024 (getDeclaredField): Likewise.
10025 (getDeclaredMethod): Likewise.
10026 (getDeclaredMethods): Likewise.
10027 (getDeclaringClass): Likewise.
10028 (getField): Likewise.
10029 (getInterfaces): Likewise.
10030 (getMethod): Likewise.
10031 (getMethods): Likewise.
10032 (getModifiers): Likewise.
10033 (getName): Likewise.
10034 (getResource): Likewise.
10035 (getResourceAsStream): Likewise.
10036 (getSigners): Likewise.
10037 (setSigners): Likewise.
10038 (getSuperclass): Likewise.
10039 (isArray): Likewise.
10040 (isAssignableFrom): Likewise.
10041 (isInstance): Likewise.
10042 (isInterface): Likewise.
10043 (isPrimitive): Likewise.
10044 (newInstance): Likewise.
10045 (getProtectionDomain): Likewise.
10046 (toString): Likewise.
10047 (Class): Moved.
10048 (initializeClass): Likewise.
10049 (finalize): Likewise.
10050
10051 2004-01-24 Michael Koch <konqueror@gmx.de>
10052
10053 * gnu/java/net/protocol/jar/Connection.java
10054 (hdrHash): Removed.
10055 (hdrVec): Removed.
10056 (gotHeaders): Removed.
10057 (getHeaderField): Removed.
10058 (getHeaderFields): Removed.
10059 (getHeaderFieldKey): Removed.
10060 (getKey): Removed.
10061 (getField): Removed.
10062 (getHeaders): Removed.
10063
10064 2004-01-24 Michael Koch <konqueror@gmx.de>
10065
10066 * Makefile.am: Added library version to gtk peer lib.
10067 * Makefile.in: Regenerated.
10068
10069 2004-01-24 Michael Koch <konqueror@gmx.de>
10070
10071 * java/util/zip/InflaterInputStream.java: Merged class documentation
10072 with classpath.
10073
10074 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10075
10076 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10077 header. For __powerpc64__ provide the default-signal.h definitions
10078 for now.
10079 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10080 instead of the dummy definitions.
10081 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10082 (powerpc64*-*): Remove with_libffi_default.
10083 Only add -mminimal-toc for 64-bit compilations.
10084 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10085 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10086 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10087 * configure: Rebuilt.
10088
10089 2004-01-23 Michael Koch <konqueror@gmx.de>
10090
10091 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10092
10093 2004-01-23 Michael Koch <konqueror@gmx.de>
10094
10095 * java/lang/VMClassLoader.java: Reworked imports.
10096
10097 2004-01-23 Michael Koch <konqueror@gmx.de>
10098
10099 * javax/swing/AbstractAction.java: Reformated.
10100
10101 2004-01-23 Michael Koch <konqueror@gmx.de>
10102
10103 * java/text/CollationElementIterator.java:
10104 (setText): New method.
10105
10106 2004-01-23 Michael Koch <konqueror@gmx.de>
10107
10108 * gnu/java/nio/FileLockImpl.java:
10109 Fixed filename in copyright.
10110 (released): Removed.
10111 (finalize): New method.
10112 * gnu/java/nio/natFileLockImpl.cc
10113 (releaseImpl): Implemented.
10114 * java/nio/channels/FileChannelImpl.java:
10115 Reworked imports.
10116 (lock): Implemented.
10117 (lockImpl): New method.
10118 (tryLock): Implemented.
10119 (tryLockImpl): New method.
10120 * java/nio/channels/natFileChannelImpl.cc
10121 (lockImpl): New method.
10122 (tryLockImpl): New method.
10123
10124 2004-01-23 Michael Koch <konqueror@gmx.de>
10125
10126 * java/io/FileDescriptor.java
10127 (lock): New method.
10128 (tryLock): New method.
10129 (unlock): New method.
10130 * java/io/natFileDescriptorEcos.cc
10131 (lock): New method.
10132 (tryLock): New method.
10133 (unlock): New method.
10134 * java/io/natFileDescriptorPosix.cc
10135 (lock): New method.
10136 (tryLock): New method.
10137 (unlock): New method.
10138 * java/io/natFileDescriptorWin32.cc
10139 (lock): New method.
10140 (tryLock): New method.
10141 (unlock): New method.
10142
10143 2004-01-23 Michael Koch <konqueror@gmx.de>
10144
10145 * java/io/FileDescriptor.java
10146 (sync): Moved around, added javadoc.
10147 (valid): Likewise.
10148 (open): Likewise.
10149 (write): Likewise.
10150 (close): Likewise.
10151 (setLength): Likewise.
10152 (seek): Likewise.
10153 (getLength): Likewise.
10154 (getFilePointer): Likewise.
10155 (read): Likewise.
10156 (available): Likewise.
10157 (finalize): Likewise.
10158
10159 2004-01-23 Michael Koch <konqueror@gmx.de>
10160
10161 * javax/swing/AbstractAction.java: Reformated.
10162 (getPropertyChangeListeners): New method.
10163 * javax/swing/AbstractCellEditor.java: Reformated.
10164 (getCellEditorListeners): New method.
10165 * javax/swing/DefaultListSelectionModel.java
10166 (listenerList): New field.
10167 (listeners): Removed.
10168 (get_listeners): Removed.
10169 (addListSelectionListener): Rewritten.
10170 (removeListSelectionListener): Rewritten.
10171 (getListSelectionListeners): New method.
10172 (getListeners): New method.
10173 * javax/swing/JComboBox.java: Imports reworked.
10174 (addActionListener): Implemented.
10175 (removeActionListener): Implemented.
10176 (addItemListener): Implemented.
10177 (removeItemListener): Implemented.
10178 (addPopupMenuListener): Implemented.
10179 (removePopupMenuListener): Implemented.
10180 (getActionListeners): New method.
10181 (getItemListeners): New method.
10182 (getPopupMenuListeners): New method.
10183
10184 2004-01-23 Michael Koch <konqueror@gmx.de>
10185
10186 * gnu/java/net/protocol/http/Connection.java
10187 (connect): Don't initialize bufferedOutputStream if not needed.
10188 (sendRequest): Set property for content length if content is present.
10189 Write content only if present.
10190 (getOutputStream): Check if already connected, dont connect,
10191 initalize bufferedOutputStream if needed.
10192
10193 2004-01-23 Michael Koch <konqueror@gmx.de>
10194
10195 * java/io/FileDescriptor.java
10196 (in, out, err): Added javadoc.
10197 (static): Merged loading code.
10198 (fd, position): Moved around.
10199
10200 2004-01-23 Michael Koch <konqueror@gmx.de>
10201
10202 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10203 New file.
10204
10205 2004-01-23 Michael Koch <konqueror@gmx.de>
10206
10207 * java/lang/Class.java,
10208 java/lang/Object.java,
10209 java/lang/Thread.java: Merged copyright with classpath.
10210
10211 2004-01-23 Michael Koch <konqueror@gmx.de>
10212
10213 * java/io/FileDescriptor.java: Merged copyright with classpath to
10214 start merging this class.
10215
10216 2004-01-22 Tom Tromey <tromey@redhat.com>
10217
10218 PR libgcj/13107:
10219 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10220 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10221 * testsuite/libjava.lang/pr13107_3.java: New file.
10222 * testsuite/libjava.lang/pr13107_3.out: New file.
10223 * testsuite/libjava.lang/pr13107_2.java: New file.
10224 * testsuite/libjava.lang/pr13107_2.out: New file.
10225 * testsuite/libjava.lang/pr13107.java: New file.
10226 * testsuite/libjava.lang/pr13107.out: New file.
10227 * verify.cc (jsr_ptrs): Removed.
10228 (entry_points): Likewise.
10229 (struct subr_info): Likewise.
10230 (struct subr_entry_info): Likewise.
10231 (type_val::unused_by_subroutine_type): Likewise.
10232 (type::merge): Don't handle unused_by_subroutine_type.
10233 (type::print): Likewise.
10234 (state::flags): Removed.
10235 (state::subroutine): Likewise.
10236 (state::seen_subrs): Likewise.
10237 (state::NO_STACK): Likewise.
10238 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10239 (state): Updated all methods.
10240 (state::clean_subrs): Removed.
10241 (state::state): Removed `ret_semantics' flag.
10242 (state::copy): Likewise.
10243 (state::add_subr): Removed.
10244 (state::enter_subroutine): Likewise.
10245 (type::set_return_address): New method.
10246 (handle_jsr_insn): Set return address on the type. Always
10247 invalidate PC after call.
10248 (check_nonrecursive_call): Removed.
10249 (~_Jv_BytecodeVerifier): Updated.
10250 (branch_prepass): Removed special handling of jsr.
10251 (note_branch_target): Likewise.
10252 (get_subroutine): Removed.
10253 (state::merge): Don't merge subroutines and don't handle
10254 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10255 (state::note_variable): Removed.
10256 (state::is_unmerged_ret_state): Likewise.
10257 (state::print): Updated.
10258 (set_variable): Likewise.
10259 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10260 and jsr_semantics arguments. Updated for new reverification
10261 list.
10262 (pop_jump): Rewrote.
10263 (construct_primitive_array_type): Updated.
10264 (state::next): Removed.
10265 (INVALID_STATE): New define.
10266 (state::INVALID): Removed.
10267 (state::NO_NEXT): New value.
10268 (state::pc, state::next): New fields.
10269 (state::get_pc): New method.
10270 (next_verify_pc): Removed.
10271 (next_verify_state): New field.
10272 (verify_instructions_0): Always check for falling off end.
10273 (linked): New type.
10274 (linked_utf8): Removed.
10275 (states): Changed type.
10276 (type::state_mergeable_p): New method.
10277 (state::state_mergeable_p): Likewise.
10278 (handle_ret_insn): Removed most code.
10279 (state::reverify): New method.
10280 (add_new_state): Likewise.
10281 (state::set_pc): Likewise.
10282
10283 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10284
10285 PR java/13733
10286 * testsuite/libjava.compile/PR13733.java: New file.
10287 * testsuite/libjava.compile/PR13733.xfail: New file.
10288
10289 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10290 Michael Koch <konqueror@gmx.de>
10291
10292 * javax/swing/table/DefaultTableCellRenderer.java
10293 (DefaultTableCellRenderer): Added javadoc for the class and for
10294 the constructor, Border instance, create an EmptyBorder.
10295 (UIResource): Removed the comment at the end of the class
10296 (setForeground): New method.
10297 (setBackground): New method.
10298 (updateUI): New method.
10299 (getTableCellRendererComponent): Rewritten with the help of
10300 dvholten and Stephane Meslin-Weber.
10301 (validate): New method.
10302 (repaint): New method.
10303 (firePropertyChange): New method.
10304 (setValue): New method.
10305
10306 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10307
10308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10309 (connectJObject): Replace printf calls with g_assert statements.
10310 Move property-notify-event signal connection to ...
10311 (connectSignals): Connect property-notify-event signal. Iterate
10312 through the vbox's children to find layout.
10313
10314 2004-01-22 Graydon Hoare <graydon@redhat.com>
10315
10316 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10317 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10318 Predicate static initialization on GtkToolkit.useGraphics2D().
10319 * java/awt/Component.java (processPaintEvent): Consume event.
10320 * javax/swing/AbstractButton.java: Reimplement, document.
10321 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10322 * javax/swing/JComponent.java (paint): Use double buffer.
10323 (listenerList): Enable member.
10324 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10325 * javax/swing/JToggleButton.java
10326 (JToggleButton): Modify model constructor.
10327 * javax/swing/SwingUtilities.java
10328 (layoutCompoundLabel): Adjust arithmetic.
10329 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10330 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10331 (getPreferredButtonSize): Include margins in calculation.
10332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10333 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10334 Receive up events from subordinate layout component.
10335
10336 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10337
10338 * java/awt/Component.java (show): Set visible to true before
10339 showing the peer.
10340
10341 2004-01-21 Kim Ho <kho@redhat.com>
10342
10343 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10344 Fix comments.
10345 (removeMenuBarPeer): Make package private.
10346 (setMenuBarPeer): Make package private.
10347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10348 (menubar_resize_cb): Mark attributes unused.
10349 (getMenuBarHeight): ditto.
10350
10351 2004-01-21 David Jee <djee@redhat.com>
10352
10353 * java/awt/Container.java
10354 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10355 dispatching MOUSE_ENTERED event twice. Translate the point for
10356 the mouse event target before dispatching the event.
10357
10358 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10359
10360 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10361 lib_org_w3c_dom_la_LDFLAGS): New.
10362 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10363 * Makefile.in: Rebuilt.
10364
10365 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10366
10367 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10368 Calculate proper offsets for heavyweight components packed in
10369 lightweight containers.
10370
10371 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10372 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10373 (native create): Add width parameter.
10374 (create): Calculate text entry width based on current font's
10375 metrics and number of columns. Set TextField's font if not
10376 already set. Call native create.
10377 (gtkEntryGetBorderWidth): New native method.
10378 (gtkEntryGetSize): Remove method.
10379 (getMinimumSize): Call minimumSize.
10380 (getPreferredSize): Call preferredSize.
10381 (minimumSize): Calculate minimum size based on backing
10382 GtkEntry's borders, font metrics and number of columns.
10383 (preferredSize): Likewise for preferred size.
10384 (get_border_width): New static function.
10385
10386 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10387 Override GtkWindowPeer's setResizable method to account for menu
10388 bar height when setting the frame's size.
10389
10390 2004-01-19 Matthias Klose <doko@debian.org>
10391
10392 * libtool-version: Increased `current' to 6.
10393
10394 2004-01-19 Kim Ho <kho@redhat.com>
10395
10396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10397 (connectJObject): Iterate through the vbox's children to find layout.
10398
10399 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10400
10401 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10402 isDispatchThread method to replace wrong test condition.
10403
10404 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10405
10406 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10407 events to the queue out of order by acquiring locks in the proper
10408 order and not by releasing one before acquiring the other.
10409
10410 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10411
10412 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10413 visible so that dialog can be reused.
10414
10415 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10416
10417 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10418 events may be handled by any queue in the stack.
10419
10420 2004-01-19 Kim Ho <kho@redhat.com>
10421
10422 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10423 MenuBarPeer parameter.
10424 (removeMenuBarPeer): New native method.
10425 (setMenuBar): Call remove if menu bar is null. Adjust insets
10426 appropriately.
10427 (postSizeAllocateEvent): New method. Called when menu bar size is
10428 allocated. Adjust insets and redo layout.
10429 (GtkFramePeer): Set menu bar during frame creation.
10430 (postConfigureEvent): Adjust position and size to accomodate
10431 menu bar.
10432 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10433 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10434 (addNotify): Create the peer if it doesn't exist and call addNotify
10435 for the menu's items.
10436 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10437 * java/awt/MenuItem.java (addNotify): Create the peer if it
10438 doesn't exist.
10439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10440 (removeMenuBarPeer): New method. Remove menu bar on the current
10441 frame.
10442 (setMenuBarPeer): Add the menu bar to the current frame and the
10443 callback for size-allocate events on the menu bar.
10444 (getMenuBarHeight): Add menu bar parameter.
10445 (menubar_resize_cb): New callback method for postSizeAllocate events.
10446
10447 Also: Fix indentation on last ChangeLog entry.
10448
10449 2004-01-16 Kim Ho <kho@redhat.com>
10450
10451 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10452 (gtkWidgetGetDimensions): Remove.
10453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10454 (gtkWidgetGetDimensions): Remove.
10455
10456 2004-01-16 Tom Tromey <tromey@redhat.com>
10457
10458 * java/awt/Container.java: Typo and indentation fixes.
10459
10460 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10461 * java/lang/natVMClassLoader.cc: ...here. New file.
10462 * Makefile.in: Rebuilt.
10463 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10464
10465 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10466
10467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10468 Discard GDK_ENTER_NOTIFY related to ungrabs.
10469
10470 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10471
10472 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10473 is called for an intermediate queue.
10474
10475 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10476
10477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10478 (window_property_changed_cb): Set id_set.
10479
10480 2004-01-16 Kim Ho <kho@redhat.com>
10481
10482 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10483 it is a FileDialog and has dimensions of 0 by 0, then the initial
10484 size is set to size request plus insets.
10485 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10486 (gtkWidgetGetDimensions): Override method.
10487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10488 (gtkWidgetGetDimensions): Override method. Returns size request plus
10489 insets.
10490
10491 2004-01-16 Andrew Haley <aph@redhat.com>
10492
10493 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10494 * sysdep/i386/locks.h: Likewise.
10495
10496 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10497
10498 * java/awt/EventDispatchThread.java (run): Stop running when
10499 interrupted.
10500 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10501 Reset the queue after transferring its contents.
10502 (push): Start a new dispatch thread if none is running.
10503
10504 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10505
10506 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10507 (doPolygon): set fill rule of polygon to
10508 WIND_EVEN_ODD by default.
10509
10510 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10511
10512 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10513 Implemented rendering hints related methods.
10514 (getDefaultHints): New helper method. Returns
10515 default rendering hints.
10516 (walkPath): changed to normalize path if
10517 the KEY_STROKE_CONTROL key is in "normalize" mode.
10518 (draw3DRect): changed coordinates of rectangle by +0.5
10519 if in "normalize" mode.
10520
10521 2004-01-15 Tom Tromey <tromey@redhat.com>
10522
10523 * Makefile.in: Rebuilt.
10524 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10525 (%.lo: %.java) Filter out StackTrace.lo.
10526
10527 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10528
10529 * configure.in: Add in AC_PREREQ(2.13)
10530 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10531 FIXME comment.
10532
10533 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10534 Tom Tromey <tromey@redhat.com>
10535
10536 PR libgcj/12001:
10537 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10538 array to superclass.
10539 (init): Changed interface; add URLs here.
10540 (initialize): New static method.
10541 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10542 (_Jv_RunMain): ... not here.
10543
10544 2004-01-14 Michael Koch <konqueror@gmx.de>
10545
10546 * java/text/MessageFormat.java:
10547 Added descriptions to exceptions.
10548 This fixes PR libgcj/2429.
10549
10550 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10551
10552 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10553 (push): Make sure push is performed at the top of the thread stack.
10554
10555 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10556
10557 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10558 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10559 (native create): Add width and height parameters. Set text
10560 view's size request according to new parameters.
10561 (create): Calculate text view size based on current font's
10562 metrics and number of rows and columns. Set TextArea's font if
10563 not already set. Call native create.
10564 (getMinimumSize): Call minimumSize.
10565 (getPreferredSize): Call preferredSize.
10566 (getHScrollbarHeight): New method.
10567 (getVScrollbarWidth): New method.
10568 (minimumSize): Calculate minimum size based on scrollbar
10569 visibility, scrollbar sizes, font metrics and number of rows and
10570 columns.
10571 (preferredSize): Likewise for preferred size.
10572 (gtkTextGetSize): Remove method.
10573
10574 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10575
10576 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10577 (initializeInsets): Remove method.
10578 (GtkComponentPeer): Initialize insets field. Remove call to
10579 initializeInsets.
10580 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10581 Remove method.
10582 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10583 Remove method.
10584 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10585 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10586 (latestInsets): Remove field.
10587 (native create): Add insets parameter. Call
10588 window_get_frame_extents. Set the window's default size and
10589 size request based on its frame extents.
10590 (create): Initialize insets.
10591 (postInsetsChangedEvent): New method.
10592 (postConfigureEvent): Remove parameters top, left, bottom,
10593 right. Remove insets-related logic.
10594 (connectJObject): Handle property-notify-event.
10595 (window_get_frame_extents, request_frame_extents,
10596 property_notify_predicate, window_property_changed_cb): New
10597 static functions.
10598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10599 (pre_event_handler): Remove insets-related logic for configure
10600 events.
10601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10602 Update postConfigureEvent signature.
10603
10604 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10605
10606 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10607 to handle Window "Closing" events.
10608
10609 2004-01-13  David Jee  <djee@redhat.com>
10610
10611 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10612 (setBackground): New method. Children with no explicitly-set
10613 background will be repainted with the parent container's new
10614 background color.
10615
10616 2004-01-13  David Jee  <djee@redhat.com>
10617
10618 * Makefile.am: Add BitwiseXORComposite.java.
10619 * Makefile.in: Regenerated.
10620 * gcj/Makefile.in: Regenerated.
10621 * include/Makefile.in: Regenerated.
10622 * testsuite/Makefile.in: Regenerated.
10623
10624 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10625
10626 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10627 not show modal dialogs twice and so that it allows showing a modal
10628 dialog from another modal dialog.
10629
10630 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10631
10632 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10633 and run secondary dispatch thread to process event queue while this
10634 thread is blocked.
10635
10636 2004-01-12 Graydon Hoare <graydon@redhat.com>
10637
10638 * gnu/java/awt/gtk/GdkGraphics2D.java
10639 (static): Check GtkToolkit before initializing static state.
10640 (Graphics2D): Don't construct transform with 0.5 unit offset.
10641
10642 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10643
10644 * gnu/java/awt/BitwiseXORComposite.java: Add.
10645 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10646 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10647 (BitwiseXORComposite): Remove inner class.
10648
10649 2004-01-11 Michael Koch <konqueror@gmx.de>
10650
10651 * gnu/java/lang/reflect/TypeSignature.java
10652 (getEncodingOfClass): Documentation fixed.
10653 (getClassForEncoding): Give class loader to Class.forName().
10654 Documentation fixed.
10655
10656 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10657
10658 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10659
10660 2004-01-11 Michael Koch <konqueror@gmx.de>
10661
10662 * javax/swing/undo/StateEditable.java
10663 (RCSID): Removed redundant modifiers.
10664
10665 2004-01-10 Michael Koch <konqueror@gmx.de>
10666
10667 * javax/print/attribute/EnumSyntax.java
10668 (getStringTable): Made protected.
10669 (getEnumValueTable): Likewise.
10670 * javax/print/attribute/standard/JobKOctetsProcessed.java
10671 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10672 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10673 (JobMediaSheetsCompleted): Made class final.
10674 * javax/print/attribute/standard/OutputDeviceAssigned.java
10675 (getName): Fixed typo.
10676 * javax/print/attribute/standard/RequestingUserName.java
10677 (serialVersionUID): Fixed value.
10678
10679 2004-01-10 Michael Koch <konqueror@gmx.de>
10680
10681 * javax/swing/plaf/basic/BasicButtonUI.java,
10682 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10683 javax/swing/plaf/basic/BasicListUI.java,
10684 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10685 javax/swing/plaf/basic/BasicPanelUI.java,
10686 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10687 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10688 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10689 javax/swing/plaf/basic/BasicViewportUI.java:
10690 Fixed import statements.
10691
10692 2004-01-10 Michael Koch <konqueror@gmx.de>
10693
10694 * gnu/java/awt/image/ImageDecoder.java
10695 (produce): Made public.
10696 * gnu/java/awt/peer/GLightweightPeer.java,
10697 gnu/java/awt/peer/gtk/GtkToolkit.java:
10698 Reformated.
10699
10700 2004-01-10 Michael Koch <konqueror@gmx.de>
10701
10702 * javax/swing/JRadioButtonMenuItem.java,
10703 javax/swing/JSeparator.java,
10704 javax/swing/JSplitPane.java,
10705 javax/swing/JTextPane.java,
10706 javax/swing/JToolBar.java,
10707 javax/swing/ListCellRenderer.java,
10708 javax/swing/ListModel.java,
10709 javax/swing/MenuElement.java,
10710 javax/swing/OverlayLayout.java,
10711 javax/swing/ProgressMonitor.java,
10712 javax/swing/ProgressMonitorInputStream.java,
10713 javax/swing/Renderer.java,
10714 javax/swing/RootPaneContainer.java,
10715 javax/swing/Scrollable.java,
10716 javax/swing/SingleSelectionModel.java,
10717 javax/swing/ToolTipManager.java,
10718 javax/swing/ViewportLayout.java,
10719 javax/swing/event/DocumentEvent.java,
10720 javax/swing/event/SwingPropertyChangeSupport.java,
10721 javax/swing/event/TreeSelectionEvent.java,
10722 javax/swing/event/UndoableEditEvent.java,
10723 javax/swing/text/AbstractDocument.java,
10724 javax/swing/text/AttributeSet.java,
10725 javax/swing/text/Caret.java,
10726 javax/swing/text/ComponentView.java,
10727 javax/swing/text/DefaultCaret.java,
10728 javax/swing/text/DefaultEditorKit.java,
10729 javax/swing/text/Document.java,
10730 javax/swing/text/EditorKit.java,
10731 javax/swing/text/GapContent.java,
10732 javax/swing/text/Keymap.java,
10733 javax/swing/text/MutableAttributeSet.java,
10734 javax/swing/text/PlainEditorKit.java,
10735 javax/swing/text/Segment.java,
10736 javax/swing/text/Style.java,
10737 javax/swing/text/StyledDocument.java,
10738 javax/swing/text/StyledEditorKit.java,
10739 javax/swing/text/TextAction.java,
10740 javax/swing/text/View.java: Fixed import statements.
10741
10742 2004-01-08 Graydon Hoare <graydon@redhat.com>
10743
10744 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10745 djee@redhat.com's recent inverse ordering of Container elements.
10746
10747 2004-01-09 Michael Koch <konqueror@gmx.de>
10748
10749 * gnu/java/lang/ArrayHelper.java
10750 (equalsArray): Removed.
10751
10752 2004-01-09 Andrew Haley <aph@redhat.com>
10753
10754 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10755 a Utf8Const field before looking at its class.
10756
10757 2004-01-09 Michael Koch <konqueror@gmx.de>
10758
10759 * javax/print/attribute/standard/DocumentName.java,
10760 javax/print/attribute/standard/JobHoldUntil.java,
10761 javax/print/attribute/standard/JobMessageFromOperator.java,
10762 javax/print/attribute/standard/JobName.java,
10763 javax/print/attribute/standard/JobOriginatingUserName.java,
10764 javax/print/attribute/standard/OutputDeviceAssigned.java,
10765 javax/print/attribute/standard/PrinterInfo.java,
10766 javax/print/attribute/standard/PrinterLocation.java,
10767 javax/print/attribute/standard/PrinterMakeAndModel.java,
10768 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10769 javax/print/attribute/standard/PrinterName.java,
10770 javax/print/attribute/standard/RequestingUserName.java: New files.
10771 * Makefile.am (javax_source_files): Added new files.
10772 * Makefile.in: Regenerated.
10773
10774 2004-01-09 Michael Koch <konqueror@gmx.de>
10775
10776 * javax/swing/AbstractAction.java,
10777 javax/swing/AbstractSet.java,
10778 javax/swing/Action.java,
10779 javax/swing/ActionMap.java,
10780 javax/swing/BoundedRangeModel.java,
10781 javax/swing/ButtonModel.java,
10782 javax/swing/CellEditor.java,
10783 javax/swing/CellRendererPane.java,
10784 javax/swing/ComboBoxEditor.java,
10785 javax/swing/DebugGraphics.java,
10786 javax/swing/DefaultCellEditor.java,
10787 javax/swing/DefaultCellRenderer.java,
10788 javax/swing/DefaultComboBoxModel.java,
10789 javax/swing/DefaultDesktopManager.java,
10790 javax/swing/DefaultFocusManager.java,
10791 javax/swing/DefaultListCellRenderer.java,
10792 javax/swing/Icon.java,
10793 javax/swing/JButton.java,
10794 javax/swing/JCheckBoxMenuItem.java,
10795 javax/swing/JDesktopPane.java,
10796 javax/swing/JEditorPane.java,
10797 javax/swing/JMenu.java,
10798 javax/swing/JPanel.java,
10799 javax/swing/JPasswordField.java,
10800 javax/swing/JPopupMenu.java,
10801 javax/swing/JProgressBar.java: Reworked imports.
10802
10803 2004-01-09 Michael Koch <konqueror@gmx.de>
10804
10805 * java/awt/geom/PathIterator.java
10806 (WIND_EVEN_ODD): Removed redundant modifiers.
10807 (WIND_NON_ZERO): Likewise.
10808 (SEG_MOVETO): Likewise.
10809 (SEG_LINETO): Likewise.
10810 (SEG_QUADTO): Likewise.
10811 (SEG_CUBICTO): Likewise.
10812 (SEG_CLOSE): Likewise.
10813 * java/awt/image/SinglePixelPackedSampleModel.java:
10814 Removed redundant semicolon.
10815 * java/io/ObjectInputStream.java
10816 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10817 * java/util/logging/Filter.java
10818 (isLoggable): Removed redundant modifier.
10819 * java/util/logging/LogManager.java:
10820 Removed redundant semicolon.
10821 * java/util/logging/XMLFormatter.java
10822 (format): Removed unused variable "key".
10823
10824 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10825
10826 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10827 New name for the former setFile native method.
10828 (setFile): New method.
10829 (setDirectory): Implemented.
10830 (connectSignals): New native method.
10831 (setFilenameFilter): Improve comment.
10832 (getGraphics): Comment.
10833 (gtkHideFileDialog): New method.
10834 (gtkDisposeFileDialog): New method.
10835 (gtkSetFilename): New method.
10836 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10837 for FileDialog for now.
10838 (hide): New method.
10839 (dispose): New method.
10840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10841 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10842 deprecated creation functions. Make dialog modal. Add it to the
10843 window group.
10844 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10845 function.
10846 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10847 Rename to...
10848 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10849 name.
10850 (window_closed): New function.
10851 (ok_clicked): New function.
10852 (cancel_clicked): New function.
10853
10854 2004-01-08 Michael Koch <konqueror@gmx.de>
10855
10856 * javax/swing/JLayeredPane.java: Revert changes to standard
10857 boilerplate, reworked imports.
10858
10859 2004-01-07 Tom Tromey <tromey@redhat.com>
10860
10861 PR libgcj/13439:
10862 * verify.cc (state::merge): Copy changed locals out of subroutine
10863 in NO_STACK case.
10864 (state::FLAG_CHANGED): New const.
10865 (state::FLAG_UNUSED): Likewise.
10866 (state::local_changed): Removed. Updated all users.
10867 (state::flags): New field.
10868 (state::merge): Added jsr_semantics argument, more logic.
10869 (push_jump_merge): Added jsr_semantics argument.
10870 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10871 merging through the jsr instruction.
10872
10873 2004-01-07 Tom Tromey <tromey@redhat.com>
10874
10875 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10876 backslash-newline.
10877
10878 2004-01-07 Graydon Hoare <graydon@redhat.com>
10879
10880 * java/awt/Container.java (LightweightDispatcher): Implement.
10881 (visitChild): Reuse graphics object.
10882 (dispatchEventImpl): Optionally dispatch to lightweight.
10883 (addNotifyContainerChildren): Build LightweightDispatcher.
10884
10885 2004-01-07 David Jee <djee@redhat.com>
10886
10887 * java/awt/Container.java
10888 (update): Clear only the clipped region, instead of clearing the
10889 entire Container.
10890 (visitChildren): Visit children in descending order.
10891
10892 2004-01-07 Michael Koch <konqueror@gmx.de>
10893
10894 * java/lang/reflect/Array.java: Merged documentation with classpath.
10895
10896 2004-01-07 Michael Koch <konqueror@gmx.de>
10897
10898 * java/text/CollationElementIterator.java
10899 (textIndex): Renamed from index.
10900 * java/text/CollationKey.java
10901 (collator): New member.
10902 (CollationKey): New argument for parent collator.
10903 (equals): Check for same collator, source string and key array.
10904 * java/text/RuleBasedCollator.java:
10905 Reformated.
10906 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10907 value.
10908 (getCollationElementIterator): Rewritten.
10909 (getCollationKey): Added new argument to CollationKey constructor.
10910
10911 2004-01-07 Michael Koch <konqueror@gmx.de>
10912
10913 * gnu/java/nio/DatagramChannelImpl.java
10914 (blocking): Removed.
10915 (DatagramChannelImpl): Call configureBlocking().
10916 (implConfigureBlocking): Dont initialize blocking.
10917 * gnu/java/nio/ServerSocketChannelImpl.java
10918 (blocking): Removed.
10919 (ServerSocketChannelImpl): Call configureBlocking().
10920 (implConfigureBlocking): Dont initialize blocking.
10921 * gnu/java/nio/SocketChannelImpl.java
10922 (blocking): Removed.
10923 (SocketChannelImpl): Call configureBlocking().
10924 (implConfigureBlocking): Dont initialize blocking.
10925 (connect): Use isBlocking().
10926 * java/nio/channels/spi/AbstractSelectableChannel.java
10927 (configureBlocking): Use blockingLock() instead of LOCK.
10928 Set blocking after successfully called implConfigureBlocking().
10929 (register): Use blockingLock() instead of LOCK.
10930
10931 2004-01-07 Michael Koch <konqueror@gmx.de>
10932
10933 * java/net/ServerSocket.java (isBound): Fixed documentation.
10934
10935 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10936
10937 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10938 (changeEvent): Create event object on demand.
10939 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10940 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10941 fireStateChanged): Re-written.
10942 * javax/swing/event/EventListenerList.java: Reformatted, document
10943 typical usage.
10944 (toString): Implemented.
10945 (getListeners): Re-written.
10946 (remove): Re-written.
10947 (add): Re-written.
10948 (NO_LISTENERS): New singleton field.
10949 (listenerList): Declare as transient; document.
10950 (serialVersionUID): Document.
10951 (getListenerCount(Class)): More efficient implementation,
10952 also accepts null argument. Improve Javadoc.
10953 (getListenerCount()): Remove unnecessary cast; docfix.
10954 * javax/swing/undo/UndoableEditSupport.java:
10955 Re-format, document.
10956 (UndoableEditSupport): Set realSource field. Improve documentation.
10957 (_postEdit): Iterate over cloned listener vector.
10958 (toString): Don't emit realSource.
10959 (beginUpdate, endUpdate): Support nested updates.
10960 (postEdit): Use compound edit if present.
10961
10962 2004-01-06 Graydon Hoare <graydon@redhat.com>
10963
10964 * java/awt/Container.java (swapComponents): Add forgotten
10965 function, required for JLayeredPane change.
10966
10967 2004-01-06 Michael Koch <konqueror@gmx.de>
10968
10969 * java/text/CollationElementIterator.java: Reformated.
10970 (CollationElementIterator): Changed order of arguments.
10971 * java/text/RuleBasedCollator.java
10972 (RuleBasedCollator): Merged class documentation.
10973 (CollationElement): Added documentation.
10974 (compare): Reformated, renamed arguments.
10975 (equals): Likewise.
10976 (getCollationElementIterator): Likewise.
10977 (getCollationKey): Likewise.
10978
10979 2004-01-06 Graydon Hoare <graydon@redhat.com>
10980
10981 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10982
10983 2004-01-06 Michael Koch <konqueror@gmx.de>
10984
10985 * gnu/java/net/protocol/file/Connection.java:
10986 Reformated copyright.
10987 (hdrHash): Removed.
10988 (hdrVec): Removed.
10989 (gotHeaders): Removed.
10990 (getHeaderField): Removed.
10991 (getHeaderField): Removed.
10992 (getHeaderFieldKey): Removed.
10993 (getKey): Removed.
10994 (getField): Removed.
10995 (getHeaders): Removed.
10996
10997 2004-01-06 Michael Koch <konqueror@gmx.de>
10998
10999 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11000 javax/print/attribute/standard/DateTimeAtCreation.java,
11001 javax/print/attribute/standard/DateTimeAtProcessing.java,
11002 javax/print/attribute/standard/JobImpressionsCompleted.java,
11003 javax/print/attribute/standard/JobKOctets.java,
11004 javax/print/attribute/standard/JobKOctetsProcessed.java,
11005 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11006 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11007 * Makefile.am (javax_source_files): Added new files.
11008 * Makefile.in: Regenerated.
11009
11010 2004-01-06 Michael Koch <konqueror@gmx.de>
11011
11012 * java/net/URLConnection.java
11013 (contentHandler): Removed.
11014 (locale): Removed.
11015 (getHeaderFields): Return an empty map instead of null.
11016 (getContent): Connect if needed, renamed "cType" to "type" and
11017 "contentHandler" to "ch" and made it a local variable.
11018 (getPermission): Don't use package in class name.
11019 (setDefaultRequestProperty): Fixed typo in documentation.
11020 (initializeDateFormats): Made locale a local variable.
11021
11022 2004-01-06 Michael Koch <konqueror@gmx.de>
11023
11024 * java/lang/Package.java
11025 (getPackage): Get the current class loader directly.
11026 * java/lang/SecurityManager.java
11027 (currentLoadedClass): Dont iterate over class contexts.
11028 (classLoaderDepth): Don't check class loaders if everything is allowed.
11029
11030 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11031
11032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11033 (pre_event_handler): Set all insets to 0 when a Configure event
11034 is received for a GtkPlug.
11035 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11036 Make handle long, not int.
11037 (EmbeddedWindow()): New constructor.
11038 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11039 long, not int.
11040 (setHandle): New method.
11041 (getHandle): Return long, not int.
11042 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11043 declaration.
11044 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11045 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11046 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11047 argument to GdkNativeWindow.
11048 (construct): New method.
11049 (embed): New method.
11050
11051 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11052 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11053 (create(int, int)): New method.
11054 (create): Call new create method.
11055 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11056 methods.
11057 (childResized): Remove native implementation. Implement in
11058 Java.
11059 (getHScrollbarHeight, getVScrollbarWidth): Call
11060 gtk_widget_size_request to get scrollbar dimensions.
11061 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11062 call getVScrollbarWidth and getHScrollbarHeight when vertical
11063 and horizontal scrollbars respectively are needed.
11064 (doLayout): Enlarge child if it is smaller than the viewport.
11065
11066 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11067
11068 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11069 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11070 argument as per spec.
11071
11072 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11073
11074 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11075 (insert): Ditto.
11076 (remove): Ditto. Also, Check for valid argument.
11077 (removeAll): Use peer interface method.
11078 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11079 native add function.
11080 (nativeRemove): New name for native remove function.
11081 (getHistory): New native function.
11082 (constructor): Generate ItemEvent.
11083 (add): Ditto, if selection is changed.
11084 (remove): Ditto, ditto.
11085 (removeAll): Add implementation.
11086 (handleEvent): Remove. Dead code.
11087 (choicePostItemEvent): Add comment.
11088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11089 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11090 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11091 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11092 comments and fix condition to change selection.
11093 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11094 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11095 remove all capability.
11096 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11097 (item_activate): Add cast to remove compiler warning.
11098
11099 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11100
11101 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11102 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11103 (getPreferredSize): Call preferredSize.
11104 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11105 (getMinimumSize): Call minimumSize.
11106 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11107 (gtkWidgetGetDimensions): Return the peer widget's current size
11108 request.
11109 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11110 natural size request.
11111
11112 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11113
11114 Thanks to Brian Gough <bjg@network-theory.com>
11115 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11116 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11117
11118 2004-01-04 Matthias Klose <doko@debian.org>
11119
11120 * aclocal.m4: Rebuilt using "aclocal -I .".
11121 * configure: Rebuilt.
11122
11123 2004-01-03 Per Bothner <per@bothner.com>
11124
11125 * java/util/Date.java (parse): Fix a number of problems.
11126 (skipParens): Remove no-longer-needed method.
11127