configure.ac (*-*-freebsd[[1234]]*): Refine error message emission rule.
[gcc.git] / libjava / ChangeLog
1 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
2
3 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4 emission rule.
5 * configure: Rebuilt.
6
7 2004-09-30 Tom Tromey <tromey@redhat.com>
8
9 * java/text/MessageFormat.java (Field): Constructor now
10 protected.
11
12 2004-09-30 Tom Tromey <tromey@redhat.com>
13
14 * javax/crypto/MacSpi.java: Fixed typo.
15
16 2004-09-30 Michael Koch <konqueror@gmx.de>
17
18 * java/net/InetAddress.java: Reformatted.
19 (loopback): Initialize with Inet4Address object.
20 (static): Initialize ANY_IF with Inet4Address object.
21 (InetAddress): Removed unused package-private constructor.
22
23 2004-09-30 Michael Koch <konqueror@gmx.de>
24
25 * java/beans/Beans.java,
26 java/beans/EventHandler.java,
27 java/beans/EventSetDescriptor.java,
28 java/beans/Introspector.java,
29 java/beans/PropertyEditorManager.java,
30 java/beans/beancontext/BeanContext.java,
31 java/beans/beancontext/BeanContextChild.java,
32 java/beans/beancontext/BeanContextChildSupport.java,
33 java/beans/beancontext/BeanContextMembershipEvent.java:
34 Reordered import statements and removed redundant modifiers.
35
36 2004-09-29 Tom Tromey <tromey@redhat.com>
37
38 PR libgcj/17715:
39 * Makefile.in: Rebuilt.
40 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
41 files.
42 (all_property_files): New macro.
43
44 * Makefile.in: Rebuilt.
45 * Makefile.am (ordinary_java_source_files): Re-sorted.
46 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
47
48 2004-09-28 Tom Tromey <tromey@redhat.com>
49
50 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
51
52 PR libgcj/17222:
53 * Makefile.am (libgcj.la): Restored.
54 * Makefile.in: Rebuilt.
55
56 2004-09-28 Michael Koch <konqueror@gmx.de>
57
58 * java/net/URLConnection.java: Reformatted.
59 * java/net/URLClassLoader.java: Reformatted.
60 (getContent): Reordered return of content.
61 (getContentHandler): Don't check for null explicitely.
62
63 2004-09-27 Michael Koch <konqueror@gmx.de>
64
65 * java/io/BufferedInputStream.java
66 (BufferedInputStream): Added Jeroen Frijters to authors.
67 (count): Don't explicitely initialize with default value.
68 (pos): Likewise.
69 (marklimit): Likewise.
70 (read): Changed boolean expression to match GNU classpath' version.
71 (reset): Add proper message to exception.
72 (skip): Check for closed stream.
73 (refill): Likewise.
74
75 2004-09-26 Per Bothner <per@bothner.com>
76
77 * prims.cc (unblock_signal): Annotate signum with __unused__ to
78 avoid warnings in the non-POSIX_VERSION case.
79 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
80 so place it inside an #if block.
81 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
82 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
83 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
84 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
85
86 2004-09-26 Per Bothner <per@bothner.com>
87
88 * prims.cc (process_gcj_properties): Optimization.
89
90 2004-09-26 Per Bothner <per@bothner.com>
91
92 * java/util/Collections.java (sort): Copy from array in forwards
93 order, rather than reverse order which may be much less efficient.
94
95 2004-09-26 Mark Wielaard <mark@klomp.org>
96
97 * java/lang/System.java (properties): Make package private.
98 * java/lang/Throwable.java (StaticData.nl): Initialize through
99 directly accessing System.properties.getProperty().
100
101 * java/lang/Throwable.java (nl): Remove static field.
102 (StaticData): New private static inner class.
103 (stackTraceStringBuffer): Use StaticData.nl.
104
105 2004-09-26 Casey Marshall <csm@gnu.org>
106
107 * java/security/ProtectionDomain.java
108 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
109 `true'.
110
111 * java/security/SecureClassLoader.java
112 (defineClass): make protection domain dynamically bound.
113 (getPermissions): call `getCurrentPolicy' to avoid permission
114 check.
115
116 2004-09-25 Mark Wielaard <mark@klomp.org>
117
118 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
119 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
120 * Makefile.in: Regenerated.
121
122 * gcj/javaprims.h: Regenerated.
123
124 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
125 (getDefaultTimeZone): Make package private. Check that GMToffset
126 contains at least one digit.
127 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
128 VMTimeZone.
129 * util/VMTimeZone.java: New file with above methods.
130
131 * java/util/natTimeZone.cc: Removed (renamed).
132 * java/util/natVMTimeZone.cc: Added (renamed).
133
134 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
135
136 * java/util/TimeZone.java
137 (getDefaultTimeZone): Fixed test to distinguish between hours and
138 minutes in specified timezone.
139
140 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
141
142 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
143 handling of default package. (generate): Removed confused comments
144 and code about making Method and Field accessible.
145
146 2004-09-25 Tom Tromey <tromey@redhat.com>
147
148 PR java/17500:
149 * testsuite/libjava.compile/pr17500.java: New file.
150
151 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
152 Mark Wielaard <mark@klomp.org>
153
154 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
155 * gnu/regexp/RETokenLookAhead.java: New file.
156
157 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
158 * Makefile.in: Regenerated.
159
160 2004-09-25 Michael Koch <konqueror@gmx.de>
161
162 * java/io/ObjectStreamField.java:
163 Removed unused import statement.
164
165 2004-09-24 Tom Tromey <tromey@redhat.com>
166
167 PR java/15656:
168 * testsuite/libjava.compile/pr15656.xfail: New file.
169 * testsuite/libjava.compile/pr15656.java: new file.
170
171 PR java/16789:
172 * testsuite/libjava.lang/pr16789.out: New file.
173 * testsuite/libjava.lang/pr16789.java: New file.
174
175 2004-09-24 Andrew Haley <aph@redhat.com>
176
177 PR java/16927
178 * testsuite/libjava.compile/AssertBug.java: New file.
179
180 2004-09-24 Casey Marshall <csm@gnu.org>
181
182 * java/util/PropertyPermissionCollection.java
183 (implies): avoid infinite loop.
184
185 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
186
187 * javax/security/auth/PrivateCredentialPermission.java
188 (PrivateCredentialPermission): added serialization UID
189
190
191 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
192
193 * gnu/java/rmi/server/UnicastServer.java
194 (incomingMessageCall): Added code to handle Errors.
195 * gnu/java/rmi/server/UnicastServerRef.java
196 (incomingMessageCall): Added code to handle Errors.
197
198
199 2004-09-24 Tom Tromey <tromey@redhat.com>
200
201 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
202 (definedPackages): Likewise.
203
204 2004-09-24 Michael Koch <konqueror@gmx.de>
205
206 * java/io/ObjectInputStream.java:
207 Re-ordered imports.
208
209 2004-09-24 Casey Marshall <csm@gnu.org>
210
211 * java/io/ObjectInputStream.java (callReadMethod): re-throw
212 `ClassNotFoundException'.
213
214 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
215
216 * java/io/ObjectInputStream.java (readObject): Delegate instantation
217 of Externalizable classes to ObjectStreamClass.
218 * java/io/ObjectStreamClass.java (newInstance): New method to
219 instantiate Externalizable (while ignoring the accessibility of
220 the constructor). (constructor): New field to cache the constructor.
221
222 2004-09-24 Mark Wielaard <mark@klomp.org>
223
224 * java/net/URL.java (systemClassLoader): New static field.
225 (getURLStreamHandler): Always use system/application classloader
226 for finding URLStreamhandler. Remove unecessary instanceof checks.
227
228 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
229
230 * java/net/URL.java
231 (set): This method now matches the behaviour of the JDK.
232 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
233
234 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
235
236 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
237
238 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
239
240 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
241 Don't set authority if host isn't specified.
242
243 2004-09-24 Michael Koch <konqueror@gmx.de>
244
245 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
246 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
247 * gnu/java/nio/VMPipe.java,
248 gnu/java/nio/VMSelector.java:
249 New files.
250 * gnu/java/nio/natPipeImplEcos.cc,
251 gnu/java/nio/natPipeImplPosix.cc,
252 gnu/java/nio/natPipeImplWin32.cc:
253 Ported to VMPipe.
254 * gnu/java/nio/natSelectorImplEcos.cc,
255 gnu/java/nio/natSelectorImplPosix.cc,
256 gnu/java/nio/natSelectorImplWin32.cc:
257 Ported to VMSelector.
258 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
259 gnu/java/nio/VMSelector.java.
260 * Makefile.in: Regenerated.
261
262 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
263
264 * java/lang/StackTraceElement.java
265 (className): Renamed field to declaringClass to be compatible
266 with Sun serialization format.
267
268 2004-09-23 Michael Koch <konqueror@gmx.de>
269
270 * java/applet/AppletContext.java,
271 java/applet/Applet.java,
272 java/applet/AppletStub.java,
273 java/applet/AudioClip.java:
274 Jalopied and checkstyle clean.
275
276 2004-09-23 Mark Wielaard <mark@klomp.org>
277
278 * java/util/Collections.java
279 (binarySearch(List, Object, Comparator)): Explicitly
280 reverse direction in list iterator.
281 (rotate): Just return when list is empty.
282
283 2004-09-23 Tom Tromey <tromey@redhat.com>
284
285 PR java/17329:
286 * testsuite/libjava.compile/pr17329.java: New file.
287
288 PR java/17380:
289 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
290 9.2-implicit-7.
291
292 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
293
294 * Makefile.am: Run aclocal with -I ../config
295 * acinclude.m4: Delete macros picked up from ../config and tidy.
296 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
297 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
298 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
299
300 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
301
302 * aclocal.m4: Regenerate with aclocal 1.9.2.
303 * configure: Regenerate.
304 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
305 * include/Makefile.in, testsuite/Makefile.in: Likewise.
306
307 2004-09-22 David Daney <ddaney@avtrex.com>
308
309 PR libgcj/17623
310 * java/net/URL.java (URL): Copy userInfo from context.
311 (getUserInfo): Return cached userInfo if present.
312
313 2004-09-22 Tom Tromey <tromey@redhat.com>
314
315 PR libgcj/6182:
316 * mauve-libgcj: Enable java.lang.Character tests.
317
318 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
319
320 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
321 dependencies.
322 (lib_org_ietf_jgss_la_LIBADD): Likewise.
323 * Makefile.in: Regenerated.
324
325 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
326
327 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
328 * configure: Regenerate.
329 * include/config.h.in: Likewise.
330 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
332 macro to gtkpeer.h.
333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
334 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
335 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
336 architectures.
337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
338 Likewise.
339
340 2004-09-22 Tom Tromey <tromey@redhat.com>
341
342 PR libgcj/14446:
343 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
344 when comparing CRCs.
345 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
346 field.
347 (read()): New overload.
348
349 2004-09-21 Tom Tromey <tromey@redhat.com>
350
351 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
352 Indentation fix.
353
354 2004-09-21 Michael Koch <konqueror@gmx.de>
355
356 * java/net/Socket.java
357 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
358
359 2004-09-21 Casey Marshall <csm@gnu.org>
360
361 * javax/crypto/MacSpi.java (clone): Provide meaningful
362 implementation.
363
364 2004-09-21 Tom Tromey <tromey@redhat.com>
365
366 PR libgcj/16869:
367 * Makefile.in: Rebuilt.
368 * Makefile.am (MOSTLYCLEANFILES): Removed.
369 (mostlyclean-local): Remove header files.
370
371 2004-09-21 Casey Marshall <csm@gnu.org>
372
373 * java/security/cert/X509CRLSelector.java:
374 (match): remove unreachable try-catch clauses.
375 Reported by: Dalibor Topic <robilad@kaffe.org>
376
377 2004-09-21 Mark Wielaard <mark@klomp.org>
378
379 * java/util/TreeMap.java (root): Don't initialize.
380 (TreeMap(Comparator)): Call fabricateTree(0).
381 (fabricateTree): Initialize root and size when count is 0.
382
383 2004-09-21 Sven de Marothy <sven@physto.se>
384
385 * java/nio/ByteBuffer.java (hashCode): Implemented.
386 * java/nio/CharBuffer.java: Likewise.
387 * java/nio/DoubleBuffer.java: Likewise.
388 * java/nio/FloatBuffer.java: Likewise.
389 * java/nio/LongBuffer.java: Likewise.
390 * java/nio/IntBuffer.java: Likewise.
391 * java/nio/ShortBuffer.java: Likewise.
392
393 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
394
395 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
396
397 2004-09-21 Michael Koch <konqueror@gmx.de>
398
399 * javax/net/ssl/SSLServerSocket.java:
400 Removed comment about "Do not edit this file, it's generated.".
401
402 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
403
404 Import the big Crypto/Jessie/Security merge from Classpath.
405
406 * Makefile.am: Add imported files.
407 * Makefile.in: Regenerate.
408
409 2004-08-14 Casey Marshall <csm@gnu.org>
410
411 The Big Crypto Merge of 2004.
412
413 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
414 Crypto's version.
415
416 Files imported from GNU Crypto.
417 * javax/crypto/BadPaddingException.java
418 * javax/crypto/Cipher.java
419 * javax/crypto/CipherInputStream.java
420 * javax/crypto/CipherOutputStream.java
421 * javax/crypto/CipherSpi.java
422 * javax/crypto/EncryptedPrivateKeyInfo.java
423 * javax/crypto/ExemptionMechanism.java
424 * javax/crypto/ExemptionMechanismException.java
425 * javax/crypto/ExemptionMechanismSpi.java
426 * javax/crypto/IllegalBlockSizeException.java
427 * javax/crypto/KeyAgreement.java
428 * javax/crypto/KeyAgreementSpi.java
429 * javax/crypto/KeyGenerator.java
430 * javax/crypto/KeyGeneratorSpi.java
431 * javax/crypto/Mac.java
432 * javax/crypto/MacSpi.java
433 * javax/crypto/Makefile.am
434 * javax/crypto/NoSuchPaddingException.java
435 * javax/crypto/NullCipher.java
436 * javax/crypto/NullCipherImpl.java
437 * javax/crypto/SealedObject.java
438 * javax/crypto/SecretKey.java
439 * javax/crypto/SecretKeyFactory.java
440 * javax/crypto/SecretKeyFactorySpi.java
441 * javax/crypto/ShortBufferException.java
442 * javax/crypto/interfaces/DHKey.java
443 * javax/crypto/interfaces/DHPrivateKey.java
444 * javax/crypto/interfaces/DHPublicKey.java
445 * javax/crypto/interfaces/PBEKey.java
446 * javax/crypto/spec/DESKeySpec.java
447 * javax/crypto/spec/DESedeKeySpec.java
448 * javax/crypto/spec/DHGenParameterSpec.java
449 * javax/crypto/spec/DHParameterSpec.java
450 * javax/crypto/spec/DHPrivateKeySpec.java
451 * javax/crypto/spec/DHPublicKeySpec.java
452 * javax/crypto/spec/IvParameterSpec.java
453 * javax/crypto/spec/PBEKeySpec.java
454 * javax/crypto/spec/PBEParameterSpec.java
455 * javax/crypto/spec/RC2ParameterSpec.java
456 * javax/crypto/spec/RC5ParameterSpec.java
457 * javax/crypto/spec/SecretKeySpec.java
458 * javax/security/auth/AuthPermission.java
459 * javax/security/auth/DestroyFailedException.java
460 * javax/security/auth/Destroyable.java
461 * javax/security/auth/Policy.java
462 * javax/security/auth/PrivateCredentialPermission.java
463 * javax/security/auth/RefreshFailedException.java
464 * javax/security/auth/Refreshable.java
465 * javax/security/auth/Subject.java
466 * javax/security/auth/SubjectDomainCombiner.java
467 * javax/security/auth/callback/Callback.java
468 * javax/security/auth/callback/CallbackHandler.java
469 * javax/security/auth/callback/ChoiceCallback.java
470 * javax/security/auth/callback/ConfirmationCallback.java
471 * javax/security/auth/callback/LanguageCallback.java
472 * javax/security/auth/callback/NameCallback.java
473 * javax/security/auth/callback/PasswordCallback.java
474 * javax/security/auth/callback/TextInputCallback.java
475 * javax/security/auth/callback/TextOutputCallback.java
476 * javax/security/auth/callback/UnsupportedCallbackException.java
477 * javax/security/auth/login/AccountExpiredException.java
478 * javax/security/auth/login/AppConfigurationEntry.java
479 * javax/security/auth/login/Configuration.java
480 * javax/security/auth/login/CredentialExpiredException.java
481 * javax/security/auth/login/FailedLoginException.java
482 * javax/security/auth/login/LoginContext.java
483 * javax/security/auth/login/LoginException.java
484 * javax/security/auth/login/NullConfiguration.java
485 * javax/security/auth/x500/X500PrivateCredential.java
486 * javax/security/sasl/AuthenticationException.java
487 * javax/security/sasl/AuthorizeCallback.java
488 * javax/security/sasl/RealmCallback.java
489 * javax/security/sasl/RealmChoiceCallback.java
490 * javax/security/sasl/Sasl.java
491 * javax/security/sasl/SaslClient.java
492 * javax/security/sasl/SaslClientFactory.java
493 * javax/security/sasl/SaslException.java
494 * javax/security/sasl/SaslServer.java
495 * javax/security/sasl/SaslServerFactory.java
496 * org/ietf/jgss/ChannelBinding.java
497 * org/ietf/jgss/GSSContext.java
498 * org/ietf/jgss/GSSCredential.java
499 * org/ietf/jgss/GSSException.java
500 * org/ietf/jgss/GSSManager.java
501 * org/ietf/jgss/GSSName.java
502 * org/ietf/jgss/MessageProp.java
503 * org/ietf/jgss/Oid.java
504 * org/ietf/jgss/MessagesBundle.properties
505
506 Files imported from Jessie <http://www.nongnu.org/jessie/>
507 * javax/net/ServerSocketFactory.java
508 * javax/net/SocketFactory.java
509 * javax/net/VanillaServerSocketFactory.java
510 * javax/net/VanillaSocketFactory.java
511 * javax/net/ssl/HandshakeCompletedEvent.java
512 * javax/net/ssl/HandshakeCompletedListener.java
513 * javax/net/ssl/HostnameVerifier.java
514 * javax/net/ssl/HttpsURLConnection.java
515 * javax/net/ssl/KeyManager.java
516 * javax/net/ssl/KeyManagerFactory.java
517 * javax/net/ssl/KeyManagerFactorySpi.java
518 * javax/net/ssl/ManagerFactoryParameters.java
519 * javax/net/ssl/SSLContext.java
520 * javax/net/ssl/SSLContextSpi.java
521 * javax/net/ssl/SSLException.java
522 * javax/net/ssl/SSLHandshakeException.java
523 * javax/net/ssl/SSLKeyException.java
524 * javax/net/ssl/SSLPeerUnverifiedException.java
525 * javax/net/ssl/SSLPermission.java
526 * javax/net/ssl/SSLProtocolException.java
527 * javax/net/ssl/SSLServerSocket.java
528 * javax/net/ssl/SSLServerSocketFactory.java
529 * javax/net/ssl/SSLSession.java
530 * javax/net/ssl/SSLSessionBindingEvent.java
531 * javax/net/ssl/SSLSessionBindingListener.java
532 * javax/net/ssl/SSLSessionContext.java
533 * javax/net/ssl/SSLSocket.java
534 * javax/net/ssl/SSLSocketFactory.java
535 * javax/net/ssl/TrivialHostnameVerifier.java
536 * javax/net/ssl/TrustManager.java
537 * javax/net/ssl/TrustManagerFactory.java
538 * javax/net/ssl/TrustManagerFactorySpi.java
539 * javax/net/ssl/X509KeyManager.java
540 * javax/net/ssl/X509TrustManager.java
541 * javax/security/cert/Certificate.java
542 * javax/security/cert/CertificateEncodingException.java
543 * javax/security/cert/CertificateException.java
544 * javax/security/cert/CertificateExpiredException.java
545 * javax/security/cert/CertificateNotYetValidException.java
546 * javax/security/cert/CertificateParsingException.java
547 * javax/security/cert/X509CertBridge.java
548 * javax/security/cert/X509Certificate.java
549
550 2004-08-20 Casey Marshall <csm@gnu.org>
551
552 * java/security/cert/X509CRLSelector.java: New file.
553 * java/security/cert/X509CertSelector.java: New file.
554
555 2004-09-15 Michael Koch <konqueror@gmx.de>
556
557 * gnu/java/net/protocol/file/Handler.java
558 (openConnection): Don't throw exception if host part for file: URI is
559 present. setURL() keeps file: protocol if ftp: protocol is not
560 available.
561
562 2004-09-14 Richard Henderson <rth@redhat.com>
563
564 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
565 value of sigsuspend.
566
567 2004-09-12 Tom Tromey <tromey@redhat.com>
568
569 * javax/naming/CompoundName.java (CompoundName): Don't check for
570 separator in "flat" case.
571
572 2004-09-12 Michael Koch <konqueror@gmx.de>
573
574 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
575 AM_CONFIG_HEADER by AC_CONFIG_FILES.
576 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
577 Regenerate.
578
579 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
580
581 PR libgcj/14751
582 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
583 handle in newly-allocated _Jv_Thread_t.
584 (_Jv_ThreadDestroyData): Close thread handle.
585 (_Jv_ThreadStart): Remove obsolete comment.
586 Store handle of newly-created thread in _Jv_Thread_t.
587 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
588 before including <windows.h>
589 #define _Jv_HaveCondDestroy
590
591 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
592
593 * java/lang/natThread.cc (finalize_native): Destroy
594 join conditional variable and mutex if these destroy
595 operations are supported.
596
597 2004-09-10 Dalibor Topic <robilad@kaffe.org>
598
599 * gnu/java/net/protocol/file/Connection.java (permission): New field.
600 (DEFAULT_PERMISSION): New constant.
601 (Connection): Create a FilePermission with permission to read file.
602
603 2004-09-10 Michael Koch <konqueror@gmx.de>
604
605 * gnu/java/net/protocol/file/Connection.java
606 (getLastModified): Moved around.
607 (getPermission): Return stored permission.
608
609 2004-09-10 Michael Koch <konqueror@gmx.de>
610
611 * Makefile.in: Regenerate.
612
613 2004-09-10 Michael Koch <konqueror@gmx.de>
614
615 * Makefile.am: Reverted accidently commited stuff.
616 * configure: Regenerated.
617
618 2004-09-10 Michael Koch <konqueror@gmx.de>
619
620 * gnu/java/net/protocol/file/Connection.java
621 (lineSeparator): Made non-final.
622 (static): Removed.
623 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
624 instead of StringBufferInputStream.
625
626 2004-09-10 Michael Koch <konqueror@gmx.de>
627
628 * gnu/java/net/protocol/file/Connection.java
629 (connect): Handle file is a directory case.
630
631 2004-09-10 Michael Koch <konqueror@gmx.de>
632
633 * Makefile.am
634 (xlib_includes): Removed.
635 (AM_CPPFLAGS): Renamed from INCLUDES.
636 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
637 * Makefile.in: Regenerate.
638
639 2004-09-09 Michael Koch <konqueror@gmx.de>
640
641 * java/security/ProtectionDomain.java,
642 * java/util/PropertyPermissionCollection.java:
643 Fixed javadocs all over.
644
645 2004-09-09 Sven de Marothy <sven@physto.se>
646
647 Patch from David Gilbert <david.gilbert@object-refinery.com>
648 * java/lang/Comparable.java: Fixed documentation errors.
649 * java/util/Arrays.java: Likewise.
650
651 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
652
653 * java/net/Inet4Address.java
654 (Inet4Address): Added comment to serialization UID.
655 * java/text/Format.java
656 (Format): Added comment to serialization UID.
657
658 2004-09-09 Michael Koch <konqueror@gmx.de>
659
660 * java/lang/System.java
661 (err): Fixed javadoci to point to setErr() and not setOut().
662
663 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
664
665 (normalizePath): Added special case for windows systems.
666
667 2004-09-09 Michael Koch <konqueror@gmx.de>
668
669 * java/io/File.java
670 (dupSeparator): Made private.
671 (File(URI)): New constructor.
672 (getParentFile): Fixed javadoc.
673 (createTempFile): Reformated.
674 (setReadOnly): Added comment.
675 (deleteOnExit): Merged javadoc with classpath version.
676
677 2004-09-09 Michael Koch <konqueror@gmx.de>
678
679 * Makefile.am: Don't try to include deps.mk.
680 * Makefile.in: Regenerated.
681
682 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
683
684 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
685 .d files.
686 * configure: Rebuilt.
687
688 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
689
690 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
691 Changed pfn from static local to local.
692
693 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
694 H.J. Lu <hongjiu.lu@intel.com>
695
696 PR libgcj/17290
697 * Makefile.am (GCJCOMPILE): Remove definition.
698 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
699 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
700 * Makefile.in: Rebuilt.
701
702 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
703
704 * configure.ac (enable-gc-debug): Update help for new syntax.
705 * configure: Regenerate.
706
707 2004-09-03 David Daney <ddaney@avtrex.com>
708
709 * include/mips-signal.h: Update copyright.
710
711 2004-09-03 David Daney <ddaney@avtrex.com>
712
713 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
714 * include/mips-signal.h: Added HANDLE_FPE support.
715
716 2004-08-31 Michael Koch <konqueror@gmx.de>
717
718 * javax/swing/plaf/basic/BasicTextAreaUI.java
719 (create): New method.
720 * javax/swing/text/DefaultHighlighter.java
721 (DefaultHighlightPainter.debugRect): Removed.
722 * javax/swing/text/StyleContext.java
723 (DEFAULT_STYLE): New field.
724
725 2004-08-31 Michael Koch <konqueror@gmx.de>
726
727 * javax/swing/plaf/basic/BasicLookAndFeel.java
728 (initComponentDefaults): Add keybindings for selection.backward and
729 selection-forward for text components.
730 * javax/swing/plaf/basic/BasicTextUI.java
731 (paintSafely): Paint highlight only when something is actually
732 selected.
733 * javax/swing/text/DefaultCaret.java
734 (handleHighlight): New method.
735 (setSelectionVisible): Don't do anything when nothing changes.
736 Handle highlight.
737 (moveDot): Reimplemented. Handle highlight.
738 (setDot): Set mark too. Handle highlight.
739 (getSelectionPainter): New method.
740 * javax/swing/text/DefaultEditorKit.java
741 (defaultActions): Added new actions for text selection.
742 * javax/swing/text/DefaultHighlighter.java
743 (DefaultHighlightPainter): New inner class.
744 (DefaultPainter): New field.
745 (paint): Implemented.
746 * javax/swing/text/PlainView.java
747 (paint): Don't draw background here again.
748 * javax/swing/text/Utilities.java
749 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
750 (drawTabbedText): Likewise.
751
752 2004-08-31 Graydon Hoare <graydon@redhat.com>
753
754 * javax/swing/JComponent.java
755 (resetKeyboardActions): Add null checks.
756
757 2004-08-31 Graydon Hoare <graydon@redhat.com>
758
759 * javax/swing/DefaultButtonModel.java:
760 Skip group notification when no group is set.
761
762 2004-08-31 Graydon Hoare <graydon@redhat.com>
763
764 * javax/swing/JColorChooser.java:
765 Make a couple inner classes static, for jikes.
766
767 2004-08-31 Michael Koch <konqueror@gmx.de>
768
769 * javax/swing/plaf/basic/BasicTextUI.java
770 (RottView.modelToView): New method.
771 (UpdateHandler): Renamed from EventHandler.
772 (updateHandler): Renamed from eventHandler.
773 (modelToView): Implemented.
774 * javax/swing/text/AbstractDocument.java
775 (BranchElement.getElement): Return null for non-existing indeces.
776 (BranchElement.getElementIndex): Return 0 in some corner cases.
777 * javax/swing/text/FieldView.java
778 (modelToView): New method.
779 * javax/swing/text/PlainView.java
780 (modelToView): Made public.
781
782 2004-08-31 Kim Ho <kho@redhat.com>
783
784 * Makefile.am: New files.
785 * Makefile.in: Regenerate.
786 * gcj/Makefile.in: Regenerate.
787 * include/Makefile.in: Regenerate.
788 * java/awt/Color.java: Fix documentation.
789 (RGBtoHSB): Use floats for conversions.
790 * javax/swing/ButtonGroup.java: Run Jalopy.
791 (setSelected): Reimplement.
792 * javax/swing/DefaultButtonModel.java: Run Jalopy.
793 (changeState): Let ButtonGroup know that the button
794 is changing state.
795 * javax/swing/JColorChooser.java: Implement.
796 * javax/swing/JLabel.java: Run Jalopy.
797 * javax/swing/JSpinner.java: Run Jalopy.
798 (setValue): New method.
799 * javax/swing/JTabbedPane.java: Run Jalopy.
800 (removeTabAt): Call correct remove method.
801 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
802 (getPreviousValue): Compare minimum value.
803 * javax/swing/Timer.java: Run Jalopy.
804 (run): Comment out println.
805 * javax/swing/ToolTipManager.java:
806 (mouseMoved): Get new tooltip text for location.
807 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
808 Jalopy and Javadoc.
809 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
810 Implement.
811 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
812 Run Jalopy.
813 (setSelectedColor): Fire ChangeEvent.
814 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
815 New file. Implement.
816 * javax/swing/colorchooser/DefaultPreviewPanel.java:
817 Ditto.
818 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
819 Ditto.
820 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
821 Ditto.
822 * javax/swing/plaf/basic/BasicArrowButton.java:
823 (getArrow): Fix size of upward pointing button.
824 * javax/swing/plaf/basic/BasicColorChooserUI.java:
825 Implement.
826 * javax/swing/plaf/basic/BasicSliderUI.java:
827 (getWidthOfWidestLabel): Use preferred dimensions.
828 (getHeightOfTallestLabel): Ditto.
829 * javax/swing/plaf/basic/BasicSpinnerUI.java:
830 Run Jalopy.
831 (mousePressed): Disable changes to spinner if it is not enabled.
832 * testsuite/Makefile.in: Regenerate.
833
834
835 2004-08-31 Michael Koch <konqueror@gmx.de>
836
837 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
838 javax/swing/plaf/basic/BasicTableUI.java:
839 Added copyright notice.
840
841 2004-08-31 Olga Rodimina <rodimina@redhat.com>
842
843 * Makefile.am: Added new files.
844 * Makefile.in: Regenerate.
845 * javax/swing/ComboBoxEditor.java: Added javadocs.
846 * javax/swing/ComboBoxModel.java: Likewise.
847 * javax/swing/DefaultComboBoxModel.java: Implemented.
848 * javax/swing/DefaultListCellRenderer.java: Added javadocs
849 and ran through jalopy to fix formatting style.
850 (getListCellRendererComponent): Use appropriate border
851 if renderer has focus and use noFocusBorder when it doesn't.
852 * javax/swing/JComboBox.java: Implemented.
853 * javax/swing/JList.java:
854 (locationToIndex): New Method. Implemented.
855 (indexToLocation): New Method.
856 * javax/swing/JPopupMenu.java:
857 (visible): New field.
858 (isVisible): Changed to use new field above.
859 (setVisible): Likewise.
860 * javax/swing/MutableComboBoxModel.java: Added javadocs.
861 * javax/swing/plaf/basic/BasicArrowButton.java:
862 (shadow): Changed default color to Color.gray.
863 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
864 UI delegate for JComboBox.
865 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
866 Popup menu containing list of JComboBox's items.
867 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
868 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
869 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
870 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
871 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
872 (popupMenuWillBecomeVisible): Set selected path to the first
873 element only if it is of type MenuElement. Also fix formatting
874 style.
875 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
876 methods signatures.
877
878 2004-08-31 Michael Koch <konqueror@gmx.de>
879
880 * javax/swing/text/AbstractDocument.java
881 (createBranchElement): Use new constructor of BranchElement.
882 (createLeafElement): Renamed arguments.
883 (getRootElements): Implemented.
884 (BranchElement.start): Removed.
885 (BranchElement.end): Likewise.
886 (BranchElement.BranchElement): Fixed arguments.
887 (BranchElement.getEndOffset): Reimplemented.
888 (BranchElement.getStartOffset): Likewis.
889 * javax/swing/text/DefaultCaret.java
890 (paint): Draw simple vertical line as caret instead of a rectangle.
891 * javax/swing/text/JTextComponent.java
892 (setText): Use doc directly.
893 * javax/swing/text/PlainView.java
894 (nextTabStop): Implemented.
895 * javax/swing/text/Utilities.java
896 (drawTabbedText): nextTabStop() returns an absolute x position.
897 (getTabbedTextWidth): Likewise.
898
899 2004-08-31 Graydon Hoare <graydon@redhat.com>
900
901 * java/awt/Component.java
902 (isFocusTraversable): Predicate on isLightweight()
903 (setFocusable): Set isFocusTraversableOverridden.
904 (requestFocus): Predicate peer dispatch on !isLightweight()
905 (requestFocusInWindow): Likewise.
906 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
907 * java/awt/Container.java
908 (dispatchEventImpl): Predicate on event mask.
909 (LightweightDispatcher): Remove focus machinery.
910 * java/awt/DefaultFocusTraversalPolicy.java
911 (accept): Expand predicate to include isFocusable().
912 * java/awt/DefaultKeyboardFocusManager.java:
913 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
914 * java/awt/KeyboardFocusManager.java
915 (redispatchEvent): Synchronize on event to prevent feedback.
916 * javax/swing/AbstractButton.java
917 (ButtonFocusListener): Remove class.
918 (init): Set focusPainted, focusable.
919 * javax/swing/ActionMap.java (get): Check parent for null.
920 * javax/swing/InputMap.java (get): Likewise.
921 * javax/swing/JComponent.java
922 (inputMap_whenFocused): New InputMap.
923 (inputMap_whenAncestorOfFocused): Likewise.
924 (inputMap_whenInFocusedWindow): Likewise.
925 (getActionForKeyStroke): Rewrite.
926 (getConditionForKeystroke): Likewise.
927 (ActionListenerProxy): New private class.
928 (setInputMap): Implement.
929 (getInputMap): Likewise.
930 (setActionMap): Likewise.
931 (getActionMap): Likewise.
932 (processComponentKeyEvent): New empty method.
933 (processKeyEvent): Implement.
934 (processKeyBinding): Likewise.
935 (resetKeyboardActions): Rewrite.
936 * javax/swing/KeyStroke.java: Rewrite.
937 * javax/swing/SwingUtilities.java
938 (notifyAction): Implement.
939 (replaceUIActionMap): Likewise.
940 (replaceUIInputMap): Likewise.
941 * javax/swing/plaf/basic/BasicButtonListener.java
942 (focusGained): Implement.
943 (focusLost): Repaint if focusPainted().
944 (installKeyboardActions): Install pressed / released actions.
945 (uninstallKeyboardActions): Implement.
946 * javax/swing/plaf/basic/BasicButtonUI.java
947 (focusColor): New field.
948 (installDefaults): Load focus color, install input map.
949 (installKeyboardActions): Implement.
950 (uninstallKeyboardActions): Likewise.
951 (paintFocus): Rewrite.
952 * javax/swing/plaf/basic/BasicLookAndFeel.java
953 (Button.focus): New default, midPurple.
954 * javax/swing/plaf/basic/BasicTextUI.java
955 (kit): Make static.
956 (installUI): Get doc from kit, load defaults.
957 (getKeymapName): Implement.
958 (createKeymap): Likewise.
959 (installKeyboardActions): Likewise.
960 (getInputMap): Likewise.
961 (getActionMap): Likewise.
962 (createActionMap): Likewise.
963 * javax/swing/text/AbstractDocument.java
964 (getStartPosition): Implement.
965 (getEndPosition): Likewise.
966 * javax/swing/text/DefaultEditorKit.java
967 (CopyAction): New class.
968 (CutAction): Likewise.
969 (DefaultKeyTypedAction): Likewise.
970 (InsertBreakAction): Likewise.
971 (InsertContentAction): Likewise.
972 (InsertTabAction): Likewise.
973 (PasteAction): Likewise.
974 (defaultActions): New static table.
975 (createCaret): Implement.
976 (getActions): Likewise.
977 * javax/swing/text/JTextComponent.java
978 (KeymapWrapper): New private class.
979 (KeymapActionMap): Likewise.
980 (DefaultKeymap): New class.
981 (keymaps): New static table.
982 (keymap): New field.
983 (getKeymap): Implement.
984 (removeKeymap): Likewise.
985 (addKeymap): Likewise.
986 (setKeymap): Likewise.
987 (loadKeymap): Likewise.
988 (getActions): Likewise.
989 (margin): New field.
990 (JTextComponent): Build and install default keymap.
991 * javax/swing/text/TextAction.java
992 (textAction): Call super properly.
993 (getTextComponent): Implement.
994 * javax/swing/text/Utilities.java
995 (drawTabbedText): Adjust position by ascent.
996
997 2004-08-31 David Jee <djee@redhat.com>
998
999 PR AWT/17156
1000
1001 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1002 (setEnabled): Make it a native method.
1003 * java/awt/DefaultKeyboardFocusManager.java
1004 (postProcessKeyEvent): Only post event if the menu item
1005 is active.
1006 * java/awt/MenuItem.java:
1007 Private field 'enabled' should be true by default.
1008 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1009 (setEnabled): New function.
1010
1011 2004-08-31 David Jee <djee@redhat.com>
1012
1013 PR AWT/17059
1014
1015 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1016 (nativeSetHelpMenu): New native method declaration.
1017 (addHelpMenu): Call nativeSetHelpMenu().
1018 (addMenu): Remove.
1019 * java/awt/MenuBar.java
1020 (setHelpMenu): Call addNotify() on the new help menu.
1021 (add): Call addNotify() on the new menu.
1022 (addNotify): Set the help menu if one exists.
1023 * java/awt/peer/MenuBarPeer.java
1024 (addMenu): Remove.
1025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1026 (nativeSetHelpMenu): New method.
1027
1028 2004-08-31 Graydon Hoare <graydon@redhat.com>
1029
1030 * Makefile.am: Add new files.
1031 * Makefile.in: Regenerate.
1032 * javax/swing/Box.java: Fix setting of layout in ctor.
1033 * javax/swing/JScrollPane.java: Scroll headers as well.
1034 * javax/swing/JTable.java: Reimplement.
1035 * javax/swing/JViewPort.java: Only add non-null children.
1036 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1037 * javax/swing/Timer.java: Fix stopping null waker.
1038 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1039 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1040 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1041 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1042 * javax/swing/table/DefaultTableModel.java: Clean up.
1043 * javax/swing/table/JTableHeader.java: Implement.
1044
1045 2004-08-31 Mark Wielaard <mark@klomp.org>
1046
1047 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1048 semi-colon.
1049
1050 2004-08-31 Mark Wielaard <mark@klomp.org>
1051
1052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1053 Declare variables at top of functions/block.
1054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1055
1056 2004-08-31 Mark Wielaard <mark@klomp.org>
1057
1058 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1059 first.
1060
1061 2004-08-31 Michael Koch <konqueror@gmx.de>
1062
1063 * javax/swing/text/PlainView.java
1064 (selectedColor): New field.
1065 (unselectedColor): Likewise.
1066 (font): Likewise.
1067 (updateMetrics): New method.
1068 (lineToRect): Likewise.
1069 (modelToView): Likewise.
1070 (drawSelectedText): Use color from JTextComponent ad draw with
1071 Utilities class.
1072 (drawUnselectedText): Likewise.
1073 (paint): Initialize helper fields.
1074 * javax/swing/text/View.java
1075 (getChildAllocation): New method.
1076 (getViewIndex): Likewise.
1077 (getToolTipText): Likewise.
1078
1079 2004-08-31 Michael Koch <konqueror@gmx.de>
1080
1081 * javax/swing/text/Utilities.java
1082 (drawTabbedText): Reimplemented.
1083 (getTabbedTextWidth): Likewise.
1084
1085 2004-08-31 Michael Koch <konqueror@gmx.de>
1086
1087 * javax/swing/plaf/basic/BasicTextUI.java
1088 (installDefaults): Install caret and highlighter.
1089 (modelToView): Use Bias.Forward when calling sibling.
1090 * javax/swing/text/AbstractDocument.java
1091 (ElementEdit): Implements DocumentEvent.ElementChange.
1092 (ElementEdit.ElementEdit): New method.
1093 (ElementEdit.getChildrenAdded): Likewise.
1094 (ElementEdit.getChildrenRemoved): Likewise.
1095 (ElementEdit.getElement): Likewise.
1096 (ElementEdit.getIndex): Likewise.
1097 * javax/swing/text/DefaultCaret.java
1098 (color): Removed.
1099 (textComponent): Renamed from parent, made private.
1100 (selectionVisible): Renamed from vis_sel, made private.
1101 (blinkRate): Renamed from blink, made private.
1102 (magicCaretPosition): Renamed from magic, made private.
1103 (visible): Renamed from vis, made private.
1104 (dot): Made private.
1105 (mark): Likewise.
1106 (deinstall): Remove as MouseMotionListener.
1107 (install): Initialize textComponent first. Add as MouseMotionListener.
1108 (paint): Reimplemented.
1109 * javax/swing/text/JTextComponent.java
1110 (setCaret): Deinstall old caret, install new one and fire property
1111 change after setting property.
1112 (setHighlighter): Deinstall old highlighter, install new one and fire
1113 property change after setting property.
1114 (setCaretColor): Fire property change after setting property.
1115 (setDisabledTextColor): Likewise.
1116 (setSelectedTextColor): Likewise.
1117 (setSelectionColor): Likewise.
1118 (modelToView): New method.
1119
1120 2004-08-31 Michael Koch <konqueror@gmx.de>
1121
1122 * javax/swing/text/AbstractDocument.java
1123 (getText): Simplified.
1124 * javax/swing/text/Segment.java
1125 (current): New field.
1126 (current): Reimplemented.
1127 (first): Likewise.
1128 (getIndex): Likewise.
1129 (last): Likewise.
1130 (next): Likewise.
1131 (previous): Likewise.
1132 (setIndex): Likewise.
1133
1134 2004-08-31 Michael Koch <konqueror@gmx.de>
1135
1136 * javax/swing/plaf/basic/BasicButtonUI.java
1137 (defaultTextIconGap): Made protected.
1138 (defaultTextShiftOffset): Likewise.
1139 (textShiftOffset): New field.
1140 (clearTextShiftOffset): New method.
1141 (getTextShiftOffset): Likewise.
1142 (setTextShiftOffset): Likewise.
1143
1144 2004-08-31 Michael Koch <konqueror@gmx.de>
1145
1146 * javax/swing/plaf/basic/BasicTextUI.java
1147 (installUI): Add eventHandler as property listener.
1148 (uninstallUI): remove eventHandler as propert listener.
1149 (installDefaults): Added comment.
1150 (installListeners): Likewise.
1151 (installKeyboardActions): Likewise.
1152 (uninstallDefaults): Likewise.
1153 (uninstallListeners): Likewise.
1154 (uninstallKeyboardActions): Likewise.
1155
1156 2004-08-31 Michael Koch <konqueror@gmx.de>
1157
1158 * javax/swing/text/AbstractDocument.java:
1159 Fixed some typos in comments.
1160 (insertString): Reimplemented.
1161 (remove): Likewise.
1162 (replace): New method.
1163 (children): Dont use fully qualified class name.
1164 (DefaultDocumentEvent.offset): Renamed from off.
1165 (DefaultDocumentEvent.length): Renamed from len.
1166 (DefaultDocumentEvent.type): New field.
1167 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1168 (DefaultDocumentEvent.getType): Implemented.
1169
1170 2004-08-31 Michael Koch <konqueror@gmx.de>
1171
1172 * javax/swing/plaf/basic/BasicTextUI.java
1173 (RootView.textComponent): Removed.
1174 (RootView.RootView): Don't initialize textComponent.
1175 (RootView.getViewFactory): New method.
1176 (EventHandler): New inner class.
1177 (rootView): Initialize at instance creation.
1178 (eventHandler): New field.
1179 (installUI): Don't create view hierarchy directly,
1180 call modelChanged() instead.
1181 (modelChanged): New method.
1182 * javax/swing/text/JTextComponent.java
1183 (setDocument): Fire property change event.
1184
1185 2004-08-31 Michael Koch <konqueror@gmx.de>
1186
1187 * javax/swing/plaf/basic/BasicTextUI.java
1188 (RootView.paint): Removed debug output.
1189 (paintSafely): Draw highlighter before text.
1190 (paintBackground): Use background color of text component.
1191 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1192 Reformatted.
1193
1194 2004-08-31 Michael Koch <konqueror@gmx.de>
1195
1196 * javax/swing/plaf/basic/BasicToolBarUI.java
1197 (BasicToolBarUI): Fixed arguments for constructor.
1198 (createUI): Fixed creation of object.
1199
1200 2004-08-31 Michael Koch <konqueror@gmx.de>
1201
1202 * javax/swing/DefaultListSelectionModel.java
1203 (fireValueChanged): Renamed from fireSelectionValueChanged,
1204 made protected.
1205
1206 2004-08-31 Michael Koch <konqueror@gmx.de>
1207
1208 * javax/swing/text/TabSet.java
1209 (TabSet): Implements java.io.Serializable.
1210 * javax/swing/text/TabStop.java
1211 (TabStop): Implements java.io.Serializable.
1212 (TabStop): Made public.
1213
1214 2004-08-31 Michael Koch <konqueror@gmx.de>
1215
1216 * javax/swing/JComponent.java
1217 (setUI): Fire PropertyChange.
1218 * javax/swing/JLabel.java
1219 (text): Renamed from labelText.
1220 (horizontalAlignment): New default vlaue.
1221 (icon): Renamed from activeIcon.
1222 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1223 (displayedMnemonicIndex): Renamed from underlineChar.
1224 (setDisplayedMnemonic): Reimplemented.
1225 * javax/swing/JRadioButton.java
1226 (JRadioButton): New constructors.
1227 * javax/swing/JTextField.java
1228 (JTextField): Throw exception if colums < 0, initialitialz
1229 this.columns directly and initialize document with text conditionally.
1230
1231 2004-08-31 Michael Koch <konqueror@gmx.de>
1232
1233 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1234 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1235 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1236 * javax/swing/text/FieldView.java
1237 (paint): Just call super method for now.
1238 * Makefile.am: Added new files.
1239 * Makefile.in: Regenerated.
1240
1241 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1242
1243 * javax/swing/AbstractSpinnerModel.java,
1244 javax/swing/JSpinner.java,
1245 javax/swing/SpinnerNumberModel.java,
1246 javax/swing/plaf/basic/BasicSpinnerUI.java:
1247 New files.
1248 * javax/swing/plaf/basic/BasicLookAndFeel.java
1249 (initClassDefaults): Added defaults for BasicSpinnerUI.
1250
1251 2004-08-31 Michael Koch <konqueror@gmx.de>
1252
1253 * Makefile.am: Added new files.
1254 * Makefile.in: Regenerated.
1255
1256 2004-08-31 Michael Koch <konqueror@gmx.de>
1257
1258 * javax/swing/TransferHandler.java,
1259 javax/swing/plaf/basic/ComboPopup.java: New files
1260 * Makefile.am: Added javax/swing/TransferHandler.java and
1261 javax/swing/plaf/basic/ComboPopup.java
1262 * Makefile.in: Regenerated.
1263
1264 2004-08-31 Roman Kennke <roman@ontographics.com>
1265
1266 * javax/swing/text/Utilities.java: New file.
1267
1268 2004-08-31 Michael Koch <konqueror@gmx.de>
1269
1270 * Makefile.am: Added javax/swing/text/Utilities.java.
1271 * Makefile.in: Regenerated.
1272
1273 2004-08-31 Graydon Hoare <graydon@redhat.com>
1274
1275 * javax/swing/text/SimpleAttributeSet.java: New file.
1276 * javax/swing/text/StyleConstants.java: New file.
1277 * javax/swing/text/StyleContext.java: New file.
1278 * javax/swing/text/TabSet.java: New file.
1279 * javax/swing/text/TabStop.java: New file.
1280 * javax/swing/text/AbstactDocument.java:
1281 (AbstractElement): Implement attribute support.
1282 * javax/swing/text/AttributeSet.java
1283 (NameAttribute): New static field.
1284 (ResolveAttribute): New static field.
1285 * Makefile.am: Update for new files.
1286 * Makefile.in: Regenerate.
1287
1288 2004-08-31 Craig Black <craig.black@aonix.com>
1289
1290 * gnu/java/awt/peer/gtk/GdkGraphics.java
1291 (drawImage): Add support for scaling pixmaps.
1292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1293 (copyAndScalePixmap): New native method.
1294
1295 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1296
1297 PR AWT/16121
1298 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1299 type-punning compiler warnings using unions.
1300 (throw): Replace bzero with memset.
1301
1302 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1303 Thomas Fitzsimmons <fitzsim@redhat.com>
1304
1305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1306 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1307 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1309 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1310
1311 2004-08-31 Mark Wielaard <mark@klomp.org>
1312
1313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1314 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1315 and stdlib.h, not gtkpeer.h.
1316 (*vm): New static variable.
1317 (areaPreparedID): Make static.
1318 (areaUpdatedID): Likewise.
1319 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1320 (area_prepared): Likewise.
1321 (area_updated): Likewise.
1322 (closed): Likewise.
1323 (initStaticState): Initialize *vm javaVM.
1324 (pumpBytes): Use given env, not global gdk_env.
1325
1326 2004-08-31 Mark Wielaard <mark@klomp.org>
1327
1328 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1329 comments.
1330
1331 2004-08-31 Sven de Marothy <sven@physto.se>
1332
1333 * java/awt/geom/CubicCurve2D.java: Reindent.
1334 (contains): Implemented.
1335 (intersects): Implemented.
1336 * java/awt/geom/QuadCurve2D.java: Likewise.
1337 * java/awt/geom/GeneralPath.java: Reindent and document.
1338 Fully (re)implemented using separate xpoints and ypoints
1339 float[] coords.
1340 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1341
1342 2004-08-31 Michael Koch <konqueror@gmx.de>
1343
1344 * javax/swing/JMenuItem.java
1345 (getMenuDragMouseListeners): New method.
1346 (getMenuKeyListeners): Likewise.
1347
1348 2004-08-31 Michael Koch <konqueror@gmx.de>
1349
1350 * javax/swing/AbstractButton.java
1351 (model): Made protected.
1352 (actionListener): Likewise.
1353 (changeListener): Likewise.
1354 (itemListener): Likewise.
1355 (multiClickThreshhold): New field.
1356 (getActionListeners): New method.
1357 (getChangeListeners): Likewise.
1358 (getItemListeners): Likewise.
1359 (fireItemStateChanged): Simplified implementation.
1360 (fireActionPerformed): Likewise.
1361 (fireStateChanged): Likewise.
1362 (getMultiClickThreshhold): New method.
1363 (setMultiClickThreshhold): Likewise.
1364
1365 2004-08-31 Tom Tromey <tromey@redhat.com>
1366
1367 * java/awt/image/Kernel.java (clone): Use super.clone().
1368
1369 2004-08-31 David Jee <djee@redhat.com>
1370
1371 PR AWT/16682
1372 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1373 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1374 (nativeSetIconImageFromData): New native method declaration.
1375 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1376 * gnu/java/awt/peer/gtk/GtkImage.java
1377 (getPixelCache): New method.
1378 (getColorModel): New method.
1379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1380 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1381 (free_pixbuf_data): New helper function.
1382 (nativeSetIconImageFromData): New function.
1383
1384 2004-08-31 Graydon Hoare <graydon@redhat.com>
1385
1386 PR SWING/16576
1387 * javax/swing/JLayeredPane.java
1388 (setLayer): Permit changing layer after addition.
1389 (setPosition): Permit over-length positions.
1390 (layerToRange): Compare intValue()s.
1391 * javax/swing/Box.java (createHorizontalBox): Implement.
1392 (createRigidArea): Likewise.
1393 (createVerticalBox): Likewise.
1394
1395 2004-08-31 Kim Ho <kho@redhat.com>
1396
1397 * java/awt/Component.java:
1398 (processMouseEvent): Consume event after
1399 listeners process it.
1400 (processMouseMotionEvent): ditto.
1401 (processMouseWheelEvent): ditto.
1402 * java/awt/Container.java:
1403 (acquireComponentForMouseEvent):
1404 Do not dispatch to events that have been
1405 removed from the Container.
1406 (handleEvent): Consume the MouseEvents.
1407 * javax/swing/RepaintManager.java:
1408 (paintDirtyRegions): Do not add to list of
1409 damaged areas if the component has no root.
1410
1411 2004-08-31 Michael Koch <konqueror@gmx.de>
1412
1413 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1414
1415 2004-08-31 Mark Wielaard <mark@klomp.org>
1416
1417 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1418 null when a MissingResourceException is thrown. Should never happen.
1419
1420 2004-08-31 Mark Wielaard <mark@klomp.org>
1421
1422 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1423 when argument is null.
1424
1425 2004-08-31 Mark Wielaard <mark@klomp.org>
1426
1427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1428 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1429 Define hid at start of function.
1430 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1431 Likewise.
1432
1433 2004-08-31 Mark Wielaard <mark@klomp.org>
1434
1435 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1436 * javax/swing/JButton.java: Reindent.
1437 * javax/swing/JCheckBox.java: Reindent.
1438
1439 2004-08-31 Mark Wielaard <mark@klomp.org>
1440
1441 * Makefile.am (gtk_c_source_files): Added
1442 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1443 (gtk_awt_peer_sources): Added
1444 gnu/java/awt/peer/gtk/GThreadMutex.java and
1445 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1446 * Makefile.in: Regenerated.
1447
1448 2004-08-31 Archie Cobbs <archie@dellroad.org>
1449
1450 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1451
1452 2004-08-31 Steven Augart <augart@watson.ibm.com>
1453
1454 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1455 Added jfieldID, jmethodID.
1456
1457 2004-08-31 Mark Wielaard <mark@klomp.org>
1458
1459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1460 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1461 gdk_env before calling any gdk or gtk function.
1462
1463 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1464 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1465 (run): Set gtkInitCalled.
1466
1467 2004-08-31 Steven Augart <augart@watson.ibm.com>
1468
1469 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1470 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1471
1472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1473 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1474 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1475 init_glib_threads.
1476 (init_glib_threads): New function.
1477
1478 2004-08-31 Mark Wielaard <mark@klomp.org>
1479
1480 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1481 PRIORITY when not already defined in header file.
1482
1483 2004-08-31 Mark Wielaard <mark@klomp.org>
1484
1485 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1486 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1487
1488 2004-08-31 Steven Augart <augart@watson.ibm.com>
1489
1490 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1491 Implemented missing functions for GTK2.
1492 Added error handling.
1493 Renamed static functions out of the g_ namespace.
1494 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1495 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1496 Rewrote global-reference code.
1497 Eliminated cascading errors.
1498 (mutex_trylock_jni_impl) Fully implemented.
1499 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1500 resolution.
1501 (setup_cache) New function.
1502 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1503 bug where they were not unlocking the GMutex associated with the
1504 condition variable during the wait on that condition variable.
1505
1506 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1507 native/jni/gtk-peer/gthread-jni.c,
1508 native/jni/gtk-peer/gthread-jni.h
1509 (g_thread_jni_functions): Renamed to ...
1510 (portable_native_sync_jni_functions): this name.
1511 (gdk_vm): Renamed to...
1512 (the_vm): this name.
1513
1514 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1515 (gdk_vm): Removed duplicate definition.
1516 (gtkInit): Removed stray message to stdout.
1517 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1518 (gtkInit): Fix a const assignment bug.
1519 (gtkInit): Simplified code.
1520
1521 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1522 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1523 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1524 gnu/java/awt/peer/gtk/GThreadMutex.java:
1525 New files.
1526
1527 2004-08-31 Mark Wielaard <mark@klomp.org>
1528
1529 * javax/swing/Box.java: Put FIXME comment above class declaration.
1530 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1531 * javax/swing/JCheckBox.java: Likewise.
1532 * javax/swing/JDialog.java: Likewise.
1533 * javax/swing/JRadioButton.java: Likewise.
1534 * javax/swing/JToggleButton.java: Likewise.
1535 * javax/swing/UIManager.java: Likewise.
1536 * javax/swing/border/TitledBorder.java: Likewise.
1537 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1538 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1539 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1540 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1541 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1542 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1543 * javax/swing/text/JTextComponent.java: Likewise.
1544
1545 2004-08-31 David Jee <djee@redhat.com>
1546
1547 PR AWT/16682
1548 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1549 (setIconImage): Add a FIXME for unhandled cases.
1550
1551 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1552
1553 PR AWT/16040
1554 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1555 getModifiers. Replace old button masks with new ones.
1556 * gnu/awt/xlib/XEventLoop.java: Likewise.
1557 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1558 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1559 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1560 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1561 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1562 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1563 * java/awt/Component.java: Replace old modifier masks with new
1564 ones.
1565 * java/awt/Container.java: Call getModifiersEx, not
1566 getModifiers.
1567 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1568 old modifier masks.
1569 * javax/swing/JMenuItem.java: Replace old button masks with new
1570 ones.
1571 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1572 getModifiers.
1573 * javax/swing/SwingUtilities.java: Likewise.
1574 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1575 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1577 mask macros with new ones.
1578 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1579 macros with new ones representing new masks.
1580
1581 2004-08-31 Craig Black <craig.black@aonix.com>
1582
1583 * gnu/java/awt/peer/gtk/GdkGraphics.java
1584 (drawRoundRect): Implemented.
1585 (fillRoundRect): Implemented.
1586 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1587 (drawRoundRect): Reimplemented to match GdkGraphics.
1588 (fillRoundRect): Reimplemented to match GdkGraphics.
1589
1590 2004-08-31 Mark Wielaard <mark@klomp.org>
1591
1592 * Makefile.in: Regenerated.
1593
1594 2004-08-31 Michael Koch <konqueror@gmx.de>
1595
1596 * gnu/java/awt/EmbeddedWindow.java
1597 (addNotify): Use AccessController to allow execution of privileged
1598 code.
1599
1600 2004-08-31 Michael Koch <konqueror@gmx.de>
1601
1602 * gnu/java/awt/EmbeddedWindow.java
1603 (static): Removed.
1604 (addNotify): Set peer via reflection.
1605 (setWindowPeer): Removed.
1606 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1607 * Makefile.am (nat_source_files):
1608 Removed gnu/java/awt/natEmbeddedWindow.cc.
1609
1610 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1611
1612 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1613 and gnu/java/security/action/SetAccessibleAction.java.
1614
1615 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1616
1617 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1618 Renamed from 'setName'. New 2-argument form with default value.
1619 (run): Pass default 'value' parameter to System.getProperty().
1620 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1621 typos.
1622
1623 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1624
1625 * gnu/java/security/action/GetPropertyAction.java: New class.
1626 * gnu/java/security/action/SetAccessibleAction.java: New class.
1627
1628 2004-08-31 David Jee <djee@redhat.com>
1629
1630 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1631 (setIconImage): Check if image is null.
1632
1633 2004-08-31 David Jee <djee@redhat.com>
1634
1635 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1636 (create): Set the icon image.
1637 (nativeSetIconImage): New native method declaration.
1638 (setIconImage): Implement.
1639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1640 (nativeSetIconImage): New function.
1641
1642 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1643
1644 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1645 (filenameFilterCallback): Declare local variable accepted before use.
1646
1647 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1648
1649 * gnu/java/awt/ComponentDataBlitOp.java:
1650 Cleaned up imports.
1651
1652 2004-08-31 Tom Tromey <tromey@redhat.com>
1653
1654 * gnu/java/awt/peer/GLightweightPeer.java,
1655 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1656 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1657 javax/swing/JScrollPane.java: Removed
1658 redundant imports.
1659
1660 2004-08-31 David Jee <djee@redhat.com>
1661
1662 * java/awt/DefaultKeyboardFocusManager.java
1663 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1664 event. Fix shift modifier checking.
1665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1666 (accel_attach): Remove.
1667 (setupAccelGroup): Remove calls to accel_attach.
1668
1669 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1670
1671 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1672 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1673
1674 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1675 GtkArgList.java.
1676 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1677 * Makefile.in: Regenerate.
1678 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1680 (create(String)): New method.
1681 (create): Call new create method.
1682 (getArgs): Remove method.
1683 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1684 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1685 (nativeCreate): Rename to create.
1686 (gtkSetLabel): Rename to gtkButtonSetLabel.
1687 (gtkToggleButtonSetActive): New method.
1688 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1689 (setState): Replace set call with gtkToggleButtonSetActive.
1690 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1691 (getArgs): Remove method.
1692 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1693 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1694 (gtkWidgetSetSensitive): New method.
1695 (gtkWidgetSetParent): Likewise.
1696 (GtkComponentPeer): Call setParent, setComponentBounds and
1697 setVisibleAndEnabled.
1698 (setParent): New method.
1699 (setComponentBounds): New method.
1700 (setVisibleAndEnabled): New method.
1701 (setEnabled): Call gtkWidgetSetSensitive.
1702 (getArgs): Remove method.
1703 Remove all set methods.
1704 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1705 gtkWindowSetModal, setTitle and setResizable.
1706 (getArgs): Remove method.
1707 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1708 (setComponentBounds): New method.
1709 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1710 Replace set call with gtkWindowSetResizable.
1711 (getArgs): Remove method.
1712 (create): Call setTitle and setResizable.
1713 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1714 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1715 (gtkWindowSetTitle): New method.
1716 (gtkWindowSetResizable): New method.
1717 (gtkWindowSetModal): New method.
1718 (setParent): New method.
1719 (setVisibleAndEnabled): New method.
1720 (getArgs): Remove method.
1721 (setTitle): Call gtkWindowSetTitle.
1722 (setResizable): Call gtkWindowSetResizable.
1723 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1724 and off locking instrumentation.
1725
1726 2004-08-31 Kim Ho <kho@redhat.com>
1727
1728 * Makefile.am: Add new file.
1729 * Makefile.in: Regenerate.
1730 * gcj/Makefile.in: Regenerate
1731 * include/Makefile.in:
1732 * java/awt/Container.java:
1733 (acquireComponentForMouseEvent): Respect
1734 the event mask when looking for candidate.
1735 * javax/swing/JComponent.java:
1736 Remove toolTip field.
1737 (createToolTip): Create a tooltip on demand.
1738 (setToolTipText): Register with the ToolTipManager.
1739 (getToolTipText(MouseEvent)): Return getToolTipText().
1740 * javax/swing/JToolTip.java: Implement.
1741 * javax/swing/Timer.java: Jalopy.
1742 (restart): Call stop, then start.
1743 (stop): Interrupt the timer rather than wait for
1744 the timer to come to a stop naturally.
1745 * javax/swing/ToolTipManager.java: Implement.
1746 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1747 Change ToolTip.background color.
1748 * javax/swing/plaf/basic/BasicToolTipUI.java:
1749 Implement.
1750 * testsuite/Makefile.in: Regenerate
1751
1752 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1753
1754 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1755 constructor param comments.
1756
1757 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1758
1759 * java/awt/Component.java: Document AWT 1.0 event handler
1760 methods.
1761
1762 2004-08-31 Roman Kennke <roman@ontographics.com>
1763
1764 * javax/swing/Box.java:
1765 (createGlue): Implemented
1766 (createHorizontalGlue): Implemented
1767 (createHorizontalStrut): Implemented
1768 (createVerticalGlue): Implemented
1769 (createVerticalStrut): Implemented
1770
1771 2004-08-31 David Jee <djee@redhat.com>
1772
1773 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1774 (GtkChoicePeer): Do not automatically select first item.
1775 (getHistory): Remove.
1776 (nativeGetSelected): New method.
1777 (nativeRemoveAll): New method.
1778 (add): Use nativeGetSelected() instead of getHistory().
1779 (remove): Likewise.
1780 (removeAll): Call nativeRemoveAll().
1781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1782 (create): Migrate to GtkComboBox.
1783 (append): Likewise.
1784 (nativeAdd): Likewise.
1785 (nativeRemove): Likewise.
1786 (select): Likewise.
1787 (nativeRemoveAll): New method.
1788 (nativeGetSelected): New method.
1789 (selection_changed): New method.
1790 (getHistory): Remove.
1791 (item_activate): Remove.
1792 (item_removed): Remove.
1793 (connect_choice_item_selectable_hook): Remove.
1794
1795 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1796
1797 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1798 variable in setEditable call.
1799
1800 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1801 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1802 (gtkWidgetSetBackground): New method.
1803 (gtkWidgetSetForeground): Likewise.
1804 (create): Set peer's editable state based on awtComponent's.
1805
1806 * java/awt/Button.java (Button()): Use empty string rather than
1807 null in no-label constructor.
1808
1809 2004-08-31 Roman Kennke <roman@ontographics.com>
1810
1811 * javax/swing/BoxLayout.java: Reimplement.
1812
1813 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1814
1815 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1816 gnu_java_awt_peer_gtk_GdkGraphics.c
1817 (initState(GtkComponentPeer)): Don't return array of colour
1818 values.
1819 (GdkGraphics(int,int)): Set default font to size 12.
1820 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1821 component's foreground colour.
1822 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1823 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1824 (initState(GtkComponentPeer)): Don't return array of colour
1825 values.
1826 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1827 colours to component's colours.
1828 (current_colors_of_widget): Remove function.
1829 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1830 Return a new graphics object.
1831 * java/awt/Font.java (toString): Fix format.
1832 * java/awt/Graphics.java (toString): Likewise.
1833
1834 2004-08-31 Craig Black <craig.black@aonix.com>
1835
1836 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1837 (addTearOff): New function.
1838 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1839 New native method.
1840 (init): Call addTearOff() when menu.isTearOff().
1841
1842 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1843
1844 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1845 Default implementation.
1846 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1847 Implement using GdkPixbufDecoder.
1848
1849 2004-08-31 David Jee <djee@redhat.com>
1850
1851 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1852 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1853 setting the size of GtkFileDialogPeers.
1854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1855 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1856 use their default sizes rather than their natural requisitions.
1857
1858 2004-08-31 Michael Koch <konqueror@gmx.de>
1859
1860 * javax/swing/JFormattedTextField.java
1861 (JFormattedTextField): Implemented.
1862 * javax/swing/text/DefaultEditorKit.java
1863 (BeepAction): New inner class.
1864 * javax/swing/text/Segment.java
1865 (partialReturn): New field.
1866 (setPartialReturn): New method.
1867 (isPartialReturn): Likewise.
1868 * javax/swing/text/View.java
1869 (createFragment): Fixed typo.
1870 (getStartOffset): New method.
1871 (getEndOffset): Likewise.
1872
1873 2004-08-31 Michael Koch <konqueror@gmx.de>
1874
1875 * javax/swing/table/DefaultTableColumnModel.java
1876 (serialVersionUID): Made private.
1877 (listenerList): Initialize.
1878 (changeEvent): Initialize.
1879 * javax/swing/table/JTableHeader.java
1880 (JTableHeader): New constructors.
1881 (createDefaultColumnModel): New method.
1882 * javax/swing/table/TableColumn.java
1883 (setHeaderRenderer): Simplified code.
1884 (setCellRenderer): Likewise.
1885 (setWidth): Likewise.
1886
1887 2004-08-31 Tom Tromey <tromey@redhat.com>
1888
1889 * java/text/AttributedString.java (AttributedString): Use
1890 ArrayList to build array of attribute ranges. Don't use
1891 `attribs' before it is set.
1892
1893 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1894
1895 * HACKING: Remove reference to special automake. No longer needed.
1896
1897 2004-08-30 Tom Tromey <tromey@redhat.com>
1898
1899 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1900 return result from `add'.
1901
1902 2004-08-30 Tom Tromey <tromey@redhat.com>
1903
1904 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1905
1906 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1907
1908 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1909
1910 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1911
1912 * java/io/File.java File(String,String): Fixed handling of empty
1913 path.
1914
1915 2004-08-30 Casey Marshall <csm@gnu.org>
1916
1917 Author e-mail updated for all files.
1918 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1919 instance of OID.
1920 (compareTo): Use `equals'.
1921 * gnu/java/security/der/BitString.java (equals): Test if the
1922 argument is an instance of BitString.
1923 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1924 class final. Made fields private.
1925 (<init>): New constructor.
1926 (skip): New method.
1927 (makeString): Made static; don't use NIO.
1928 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1929 * gnu/java/security/der/DERWriter.java: Fixed imports.
1930 (writeString): Don't use NIO.
1931 (toIso88591, toUtf16Be, toUtf8): New methods.
1932 * gnu/java/security/der/DERValue.java: Formatting changes only.
1933 * gnu/java/security/der/DER.java: Likewise.
1934
1935 2004-08-30 Tom Tromey <tromey@redhat.com>
1936
1937 * java/nio/CharBuffer.java (put): Fix typo.
1938 * java/nio/DoubleBuffer.java (put): Fix typo.
1939 * java/nio/FloatBuffer.java (put): Fix typo.
1940 * java/nio/IntBuffer.java (put): Fix typo.
1941 * java/nio/LongBuffer.java (put): Fix typo.
1942 * java/nio/ShortBuffer.java (put): Fix typo.
1943
1944 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
1945
1946 * java/nio/ByteBuffer.java (put): Fix typo.
1947
1948 2004-08-30 Casey Marshall <csm@gnu.org>
1949
1950 * java/security/DummyKeyPairGenerator.java (clone): Removed
1951 useless instanceof check.
1952 * java/security/DummyMessageDigest.java (clone): Likewise.
1953 * java/security/DummySignature.java (clone): Likewise.
1954 * java/security/MessageDigest.java (clone): Remove useless
1955 instanceof check.
1956 * java/security/MessageDigestSpi.java (clone): Likewise.
1957 * java/security/Signature.java (clone): Provide meaningful
1958 implementation.
1959 * java/security/SignatureSpi.java (clone): Likewise.
1960
1961 2004-08-29 Mark Wielaard <mark@klomp.org>
1962
1963 * java/util/Arrays.java
1964 (sort(byte[], int, int)): Check fromIndex < 0.
1965 (sort(char[], int, int)): Likewise.
1966 (sort(short[], int, int)): Likewise.
1967 (sort(int[], int, int)): Likewise.
1968 (sort(long[], int, int)): Likewise.
1969 (sort(float[], int, int)): Likewise.
1970 (sort(double[], int, int)): Likewise.
1971 (sort(Object[], int, int, Comparator)): Likewise.
1972 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1973 (qsort(char[], int, int)): Likewise.
1974 (qsort(short[], int, int)): Likewise.
1975 (qsort(int[], int, int)): Likewise.
1976 (qsort(long[], int, int)): Likewise.
1977 (qsort(float[], int, int)): Likewise.
1978 (qsort(double[], int, int)): Likewise.
1979
1980 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1981
1982 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1983 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1984 java/util/ArrayList.java, java/util/Arrays.java,
1985 java/util/BitSet.java, java/util/Calendar.java,
1986 java/util/Collection.java, java/util/ListIterator.java,
1987 java/util/Map.java, java/util/SortedSet.java:
1988 Added additional exceptions to documentation, along
1989 with some additions and corrections.
1990
1991 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1992
1993 * configure.ac: Handle --enable-gc-debug.
1994 * configure: Regenerate.
1995 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1996 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1997 Rearrange include file order.
1998 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1999 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2000 (disable_gc_mutex): Delete along with all references.
2001 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2002 adjust for debug header size.
2003 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2004 debug case.
2005 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2006 (gcj_describe_type_fn): New.
2007 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2008 Register gcj_describe_type_fn.
2009 * include/boehm-gc.h:
2010 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2011 Don't define, but declare, for debug case.
2012 * java/lang/natObject.cc:
2013 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2014
2015 2004-08-26 Mark Wielaard <mark@klomp.org>
2016
2017 Fixes PR libgcj/17002:
2018 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2019 a TimeZoneId string and then try to convert that to a TimeZone with
2020 getDefaultSystemTimeZone(String).
2021 (timezones0): Changed type from Hashtable to HashMap.
2022 (timezones): Create HashMap, not Hashtable.
2023 (getDefaultTimeZone): New method, rewritten from CNI version.
2024 (readTimeZoneFile): New method.
2025 (readtzFile): Likewise.
2026 (skipFully): Likewise.
2027 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2028 getDefaultTimeZoneId and rewritten.
2029 (getDefaultTimeZoneId): Rewritten in java.
2030
2031 2004-08-25 David Daney <daney@avtrex.com>
2032
2033 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2034 * Makefile.in: Regenerated.
2035
2036 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2037
2038 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2039 only if jvmpi is enabled.
2040 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2041 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2042 (_Jv_AllocString): Likewise.
2043 (_Jv_AllocPtrFreeObject): Likewise.
2044
2045 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2046
2047 * defineclass.cc: Include <stdio.h>.
2048 * java/lang/natClassLoader.cc: Include <stdio.h>.
2049
2050 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2051 Michael Koch <konqueror@gmx.de>
2052
2053 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2054 * Makefile.in: Regenerated.
2055
2056 2004-08-20 Michael Koch <konqueror@gmx.de>
2057
2058 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2059 AC_COMPILE_IFELSE macros.
2060
2061 2004-08-20 Michael Koch <konqueror@gmx.de>
2062
2063 * configure.in: Renamed to configure.ac.
2064 * configure.ac: New file.
2065 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2066 include/config.h.in, testsuite/Makefile.in: Regenerated.
2067
2068 2004-08-20 Michael Koch <konqueror@gmx.de>
2069
2070 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2071 * aclocal.m4, configure: Regenerated.
2072
2073 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2074 Michael Koch <konqueror@gmx.de>
2075
2076 * configure.in, Makefile.am: Ported to automake 1.9.
2077 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2078 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2079 Regenerated.
2080
2081 2004-08-19 Tom Tromey <tromey@redhat.com>
2082
2083 * java/net/DatagramSocket.java: Fixed typo.
2084
2085 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2086
2087 PR libgcj/17081
2088 * java/net/URI.java (string): New field. Make all other fields
2089 transient.
2090 (readObject): Implemented.
2091 (writeObject): Implemented.
2092 (URI): Set 'string'.
2093
2094 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2095
2096 PR libgcj/17079
2097 * java/util/logging/Handler.java (isLoggable): Accept record if its
2098 log level equals the threshold level. From Robin Green.
2099
2100 2004-08-18 David Daney <ddaney@avtrex.com>
2101
2102 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2103 instead of sigwait.
2104
2105 2004-08-17 Michael Koch <konqueror@gmx.de>
2106
2107 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2108 * Makefile.in: Regenerated.
2109
2110 2004-08-16 Tom Tromey <tromey@redhat.com>
2111
2112 PR java/8473:
2113 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2114
2115 2004-08-16 Michael Koch <konqueror@gmx.de>
2116
2117 * Makefile.am
2118 (math_c_files): Renamed from c_files.
2119 (math_c_source_files): Renamed from c_source_files.
2120 * Makefile.in,
2121 gcj/Makefile.in,
2122 include/Makefile.in,
2123 testsuite/Makefile.in: Regenerated.
2124
2125 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2126
2127 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2128 to avoid autoconf warning.
2129 * configure: Rebuilt.
2130
2131 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2132
2133 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2134 localhostAddress to loopbackAddress.
2135 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2136
2137 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2138
2139 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2140 boehm-gc's include dirs.
2141 * configure: Rebuilt.
2142 * include/boehm-gc.h: Include gc_config.h.
2143
2144 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2145
2146 * java/net/InetAddress.java (loopbackAddress): Renamed from
2147 localhostAddress.
2148 (getByName): Return loopback address for null hostname, without
2149 security check. Use lookup(), not getAllByName.
2150 (getAllByName): Return loopback address for null hostname, without
2151 security check.
2152 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2153 check here.
2154
2155 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2156
2157 PR libgcj/17020
2158 Reported by Robin Green.
2159 * defineclass.cc (handleField): Don't throw exception on unrecognised
2160 modifier. Add FIXME comments for spec compliance.
2161 (handleMethod): Likewise.
2162
2163 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2164
2165 PR libgcj/16662
2166 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2167 (Almost everywhere): add LOG calls, fix, add comments.
2168 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2169 Add explicit check for LOCKED bit in slow case (PR 16662).
2170 (_Jv_MonitorExit): Add casts in debug-only code.
2171 Always release LOCKED bit before throwing exception.
2172 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2173 isn't. Handle easy cases without lock acquisition.
2174 (Object::wait): Use NotifyAll for lock inflation.
2175
2176 2004-08-12 David Daney <ddaney@avtrex.com>
2177
2178 * testsuite/libjava.lang/Process_1.java: New test.
2179 * testsuite/libjava.lang/Process_2.java: New test.
2180 * testsuite/libjava.lang/Process_3.java: New test.
2181 * testsuite/libjava.lang/Process_4.java: New test.
2182 * testsuite/libjava.lang/Process_5.java: New test.
2183 * testsuite/libjava.lang/Process_6.java: New test.
2184 * testsuite/libjava.lang/Process_1.out: Expected result.
2185 * testsuite/libjava.lang/Process_2.out: Expected result.
2186 * testsuite/libjava.lang/Process_3.out: Expected result.
2187 * testsuite/libjava.lang/Process_4.out: Expected result.
2188 * testsuite/libjava.lang/Process_5.out: Expected result.
2189 * testsuite/libjava.lang/Process_6.out: Expected result.
2190
2191 2004-08-12 David Daney <ddaney@avtrex.com>
2192
2193 PR libgcj/11801
2194 * java/lang/PosixProcess.java: Rewrote.
2195 * java/lang/natPosixProcess.cc: Rewrote.
2196 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2197 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2198 * posix-threads.cc (block_sigchld) New function.
2199 (_Jv_ThreadRegister) Use it.
2200 (_Jv_ThreadStart) Use it.
2201 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2202 * Makefile.am: ... to specify extra native headers.
2203 * configure: Regenerated.
2204 * include/config.h: Regenerated.
2205 * Makefile.in: Regenerated.
2206 * gcj/Makefile.in: Regenerated.
2207 * include/Makefile.in: Regenerated.
2208 * testsuite/Makefile.in: Regenerated.
2209
2210 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2211
2212 PR tree-optimization/16867
2213 * testsuite/libjava.lang/PR16867.java: New test.
2214
2215 2004-08-09 Per Bothner <per@bothner.com>
2216
2217 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2218 with private fields and access methods.
2219 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2220 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2221 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2222 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2223 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2224 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2225 * jni.cc: Likewise.
2226 * resolve.cc: Likewise.
2227 * gcj/field.h: Likewise.
2228 * include/jvm.h: Likewise.
2229 * java/lang/Class.h: Likewise.
2230 * java/lang/natClass.cc: Likwise.
2231 * java/lang/natClassLoader.cc: Likewise
2232 * java/lang/reflect/natMethod.cc: Likewise
2233 * verify.cc: Likewise.
2234 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2235 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2236
2237 2004-08-10 Andrew Haley <aph@redhat.com>
2238
2239 * testsuite/libjava.lang/err14.java: New file.
2240 * testsuite/libjava.lang/err14.out: New file.
2241
2242 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2243
2244 * Makefile.am: Fix missing rename from x_nat_headers to
2245 xlib_nat_headers.
2246 * Makefile.in: Regenerated.
2247
2248 2004-08-04 Andrew Haley <aph@redhat.com>
2249
2250 * java/security/BasicPermission.java: Don't check wildcards.
2251
2252 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2253 Michael Koch <konqueror@gmx.de>
2254
2255 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2256 * configure.in: Replaced all usages of AC_LINK_FILES by
2257 AC_CONFIG_LINKS.
2258 * aclocal.m4,
2259 configure: Regenerated.
2260
2261 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2262 Michael Koch <konqueror@gmx.de>
2263
2264 * acconfig.h: Removed.
2265 * Makefile.am: Rename variables for xlib peer to include xlib and
2266 gtk_c_headers to gtk_jni_headers.
2267 * Makefile.in: Regenerated.
2268
2269 2004-08-04 Andrew Haley <aph@redhat.com>
2270
2271 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2272 debugging.
2273
2274 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2275
2276 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2277 Replace most top level 'dnl' comments with '#' comments, conforming
2278 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2279 help strings.
2280 * configure: Rebuilt.
2281
2282 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2283
2284 * acinclude.m4: Include no-executables.m4.
2285 * aclocal.m4: Rebuild.
2286 * configure.in: Convert to the autoconf 2.59 version of
2287 of the no-executables hack, and also of the nonstandard CXX
2288 hack and the multilibbed CC and CXX hack. Change prerequisite
2289 to autoconf 2.59.
2290 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2291 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2292 testsuite/Makefile.in: Regenerate.
2293
2294 2004-08-03 Tom Tromey <tromey@redhat.com>
2295
2296 * jni.cc: Reindented.
2297
2298 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2299
2300 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2301
2302 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2303
2304 * testsuite/libjava.compile/PR16701.java: New test.
2305
2306 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2307
2308 * java/util/Collection.java, java/util/List.java,
2309 java/util/Map.java, java/util/Set.java,
2310 java/util/SortedMap.java, java/util/SortedSet.java:
2311 Added additional exceptions to documentation.
2312
2313 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2314
2315 PR libgcj/16814
2316 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2317 * configure. Regenerate.
2318 * include/win32.h: Explicitly include winsock2.h
2319 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2320 Winsock api.
2321
2322 2004-07-30 Michael Koch <konqueror@gmx.de>
2323
2324 * java/util/zip/GZIPInputStream.java
2325 (GZIPInputStream): Increase buffer size to 4k.
2326 * java/util/zip/GZIPOutputStream.java
2327 (GZIPOutputStream): Likewise.
2328 * java/util/zip/Inflater.java
2329 (setInput): Merged formating with GNU classpath.
2330 * java/util/zip/InflaterInputStream.java
2331 (InflaterInputStream): Increase buffer size to 4k.
2332 (fill): Throw exception if stream ends early.
2333 (read): Merged endless-loop with GNU classpath.
2334 (skip): Increase buffer size to 2k.
2335
2336 2004-07-30 Michael Koch <konqueror@gmx.de>
2337
2338 * gnu/java/awt/EmbeddedWindow.java
2339 (addNotify): Use AccessController to allow execution of privileged
2340 code.
2341
2342 2004-07-29 Michael Koch <konqueror@gmx.de>
2343
2344 * gnu/java/lang/MainThread.java:
2345 Explicitely import used classes.
2346 (args): Make it type String[].
2347
2348 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2349
2350 * gnu/java/awt/ComponentDataBlitOp.java,
2351 gnu/java/beans/ExplicitBeanInfo.java,
2352 gnu/java/beans/IntrospectionIncubator.java,
2353 gnu/java/beans/editors/ColorEditor.java,
2354 gnu/java/beans/editors/FontEditor.java,
2355 gnu/java/beans/editors/NativeBooleanEditor.java,
2356 gnu/java/beans/editors/NativeByteEditor.java,
2357 gnu/java/beans/editors/NativeDoubleEditor.java,
2358 gnu/java/beans/editors/NativeFloatEditor.java,
2359 gnu/java/beans/editors/NativeIntEditor.java,
2360 gnu/java/beans/editors/NativeLongEditor.java,
2361 gnu/java/beans/editors/NativeShortEditor.java,
2362 gnu/java/beans/editors/StringEditor.java,
2363 gnu/java/io/ClassLoaderObjectInputStream.java,
2364 gnu/java/io/decode/Decoder.java,
2365 gnu/java/io/encode/Encoder.java,
2366 gnu/java/lang/ClassHelper.java,
2367 gnu/java/locale/Calendar.java,
2368 gnu/java/locale/Calendar_de.java,
2369 gnu/java/locale/Calendar_en.java,
2370 gnu/java/locale/Calendar_nl.java,
2371 gnu/java/locale/LocaleInformation_de.java,
2372 gnu/java/locale/LocaleInformation_en.java,
2373 gnu/java/locale/LocaleInformation_nl.java:
2374 Cleaned up imports.
2375
2376 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2377
2378 * README: Remove obsolete info. Update bug URL.
2379 * THANKS: Updated.
2380 * NEWS: Updated with news up to GCC 3.4 release.
2381
2382 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2383
2384 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2385 Renamed from 'setName'. New 2-argument form with default value.
2386 (run): Pass default 'value' parameter to System.getProperty().
2387 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2388 typos.
2389 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2390 not 'setName'.
2391
2392 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2393
2394 * configure.in: Check for minimum GTK version 2.4 requirement.
2395 * configure: Rebuilt.
2396
2397 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2398
2399 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2400 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2401 Reduce sleep time.
2402 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2403 compiler bug.
2404 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2405 address. Reduce sleep times. Synchronize with target threads before
2406 attempting to interrupt them. Don't try to calibrate yeild count,
2407 instead, always loop for a fixed time.
2408 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2409 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2410 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2411 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2412 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2413 * testsuite/libjava.lang/pr179.java: Likewise.
2414 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2415 time. Remove upper bounds check on sleep time.
2416
2417 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2418
2419 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2420 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2421
2422 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2423
2424 * java/io/File.java (toURI): Throw RuntimeException, not
2425 InternalError.
2426 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2427 class name, not instance.
2428
2429 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2430
2431 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2432 and gnu/java/security/action/SetAccessibleAction.java.
2433 * Makefile.in: Rebuilt.
2434
2435 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2436
2437 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2438 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2439 _Jv_InitPrimClass.
2440 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2441 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2442 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2443
2444 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2445
2446 * Makefile.am: Replace jar, rmic and rmiregistry references with
2447 gjar, grmic and grmiregistry.
2448 * configure.in: Likewise.
2449 * Makefile.in: Regenerate.
2450 * configure: Likewise.
2451 * gcj/Makefile.in: Likewise.
2452 * include/Makefile.in: Likewise.
2453 * testsuite/Makefile.in: Likewise.
2454
2455 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2456
2457 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2458 for privileged getProperty calls.
2459 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2460 SetAccessibleAction instead of anonymous class for doPrivileged call.
2461 (getMethod): Likewise.
2462 (setAccessible): New field. PrivilegedAction object to use when
2463 calling setAccessible.
2464 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2465 SetAccessibleAction instead of anonymous class for diPrivileged call.
2466 (setFields): Likewise.
2467 (getClassUID): Likewise.
2468 (findMethod): Likewise.
2469 * gnu/java/security/action/GetPropertyAction.java: New class.
2470 * gnu/java/security/action/SetAccessibleAction.java: New class.
2471
2472 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2473
2474 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2475 for final fields.
2476 * testsuite/libjava.lang/Serialization.java: New test.
2477 * testsuite/libjava.lang/Serialization.out: New.
2478
2479 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2480
2481 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2482 missed in last commit.
2483
2484 2004-07-23 Mark Wielaard <mark@klomp.org>
2485
2486 * java/lang/System.java (static): Set http.agent system property when
2487 not yet set.
2488 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2489 from system property inside AccessController.doPrivileged() call.
2490 (proxyPort): Made package private.
2491 (proxyInUse): Likewise.
2492 (proxyHost): Likewise.
2493 (userAgent): Likewise.
2494
2495 2004-07-23 Mark Wielaard <mark@klomp.org>
2496
2497 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2498 implementation.
2499
2500 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2501
2502 * Makefile.am (ordinary_java_source_files): Add
2503 DefaultContentHandlerFactory.java.
2504 * Makefile.in: Rebuilt.
2505 * java/net/URLConnection.java (defaultFactory): New field.
2506 (getContent):
2507 (getContentHandler): Renamed from 'setContentHandler'. Try
2508 defaultFactory after user-set factory, if any. Search for content
2509 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2510 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2511 Implemented.
2512 (getLastModified): Implemented.
2513 (getPermission): Create file permission here, instead of in
2514 constructor.
2515 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2516 Implemented.
2517 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2518 Implemented.
2519 (getLastModified): Implemented.
2520 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2521 Default implementation.
2522 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2523 Implement using GdkPixbufDecoder.
2524
2525 2004-07-21 Michael Koch <konqueror@gmx.de>
2526
2527 * javax/swing/JTextArea.java
2528 (setLineWrap): Fire property change event after new value is set.
2529 (setTabSize): Likewise.
2530
2531 2004-07-21 Michael Koch <konqueror@gmx.de>
2532
2533 * javax/swing/JTable.java
2534 (autoCreateColumnsFromModel): New field.
2535 (autoResizeMode): Likewise.
2536 (cellEditor): Likewise.
2537 (cellSelectionEnabled): Likewise.
2538 (columnModel): Likewise.
2539 (dataModel): Likewise.
2540 (defaultEditorsByColumnClass): Likewise.
2541 (defaultRenderersByColumnClass): Likewise.
2542 (editingColumn): Likewise.
2543 (editingRow): Likewise.
2544 (gridColor): Likewise.
2545 (preferredViewportSize): Likewise.
2546 (rowHeight): Likewise.
2547 (rowMargin): Likewise.
2548 (rowSelectionAllowed): Likewise.
2549 (selectionBackground): Likewise.
2550 (selectionForeground): Likewise.
2551 (selectionModel): Likewise.
2552 (showHorizontalLines): Likewise.
2553 (showVerticalLines): Likewise.
2554 (tableHeader): Likewise.
2555 (JTable): Implemented.
2556 (getColumnModel): Likewise.
2557 (getSelectedRow): Likewise.
2558 (getSelectionModel): Likewise.
2559 (setModel): Likewise.
2560 (setSelectionModel): Likewise.
2561 (createScrollPaneForTable): New method.
2562 (createDefaultDataModel): Likewise.
2563 (createDefaultListSelectionModel): Likewise.
2564 (getModel): Likewise.
2565 (getTableHeader): Likewise.
2566 (setTableHeader): Likewise.
2567 (getColumnSelectionAllowed): Likewise.
2568 (setColumnSelectionAllowed): Likewise.
2569 (getRowSelectionAllowed): Likewise.
2570 (setRowSelectionAllowed): Likewise.
2571 (getAutoResizeMode): Likewise.
2572 (setAutoResizeMode): Likewise.
2573 (getColumnCount): Likewise.
2574 (getRowCount): Likewise.
2575 (getCellRenderer): Likewise.
2576 * javax/swing/JTree.java
2577 (cellRenderer): New field.
2578 (editable): Likewise.
2579 (rootVisible): Likewise.
2580 (showsRootHandles): Likewise.
2581 (getModel): New method.
2582 (setModel): Likewise.
2583 (isEditable): Likewise.
2584 (setEditable): Likewise.
2585 (isRootVisbile): Likewise.
2586 (setRootVisible): Likewise.
2587 (getShowsRootHandles): Likewise.
2588 (setShowRootHandles): Likewise.
2589 (getCellRenderer): Likewise.
2590 (setCellRenderer): Likewise.
2591
2592 2004-07-21 Michael Koch <konqueror@gmx.de>
2593
2594 * javax/swing/JFormattedTextField.java
2595 (setDocument): Implemented.
2596 * javax/swing/JRootPane.java:
2597 Fixed javadocs.
2598 * javax/swing/JTable.java
2599 (getDefaultRenderer): New method.
2600 * javax/swing/JTextField.java
2601 (setFont): Likewise.
2602 (getPreferredSize): Likewise.
2603 * javax/swing/JToggleButton.java
2604 (getAccessibleContext): Fix javadoc.
2605 * javax/swing/JTree.java:
2606 Add some javadocs.
2607 * javax/swing/JViewport.java:
2608 Likewise.
2609
2610 2004-07-21 David Jee <djee@redhat.com>
2611
2612 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2613 Collect all native method declaration at the top.
2614 (create): Set the filename filter if necessary.
2615 (setDirectory): Call nativeSetDirectory().
2616 (setFilenameFilter): Implement.
2617 (filenameFilterCallback): New method.
2618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2619 (create): Configure dialog to show hidden files.
2620 (filenameFilterCallback): New function.
2621 (nativeSetFilenameFilter): New function.
2622 (nativeSetDirectory): New function.
2623
2624 2004-07-21 Kim Ho <kho@redhat.com>
2625
2626 * javax/swing/plaf/basic/BasicSliderUI.java:
2627 Ran Jalopy.
2628 (paintTrack): Fill the track before painting
2629 the borders.
2630
2631 2004-07-21 Graydon Hoare <graydon@redhat.com>
2632
2633 patch from Roman Kennke <roman@ontographics.com>
2634 * javax/swing/Spring.java: New file.
2635 * javax/swing/SpringLayout.java: New file.
2636 * Makefile.am: Add new files.
2637 * Makefile.in: Regenerate.
2638
2639 2004-07-21 Graydon Hoare <graydon@redhat.com>
2640
2641 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2642 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2643 * javax/swing/ScrollPaneLayout.java: Likewise.
2644
2645 2004-07-21 Kim Ho <kho@redhat.com>
2646
2647 * javax/swing/DefaultDesktopManager.java:
2648 (findMinimum): Removed.
2649 (resizeFrame): Trust the UI to pass valid
2650 bounds.
2651 * javax/swing/JOptionPane.java:
2652 Implemented showInternalXXXDialog methods.
2653 (startModal): New method.
2654 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2655 (BorderListener::mouseDragged): Verify that the new
2656 bounds are valid before passing them to the DesktopManager.
2657 (preferredLayoutSize): Delegate
2658 to getSize.
2659 (minimumLayoutSize): Ditto.
2660 (getSize): New method.
2661 (GlassPaneDispatcher): Reimplemented by copying
2662 a stripped down LightweightDispatcher from Container.
2663 (getMinimumSize): Call minimumLayoutSize.
2664 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2665 Ran Jalopy.
2666 (mousePressed): Add ability to properly close
2667 JInternalFrames.
2668 * javax/swing/plaf/basic/BasicToolBarUI.java:
2669 (DragWindow): Set owner for DragWindow.
2670
2671 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2672
2673 * java/awt/image/ShortLookupTable.java: New file.
2674 * java/awt/image/ByteLookupTable.java: New file.
2675 * Makefile.am: Added new files.
2676 * Makefile.in: Regenerated.
2677
2678 2004-07-21 David Jee <djee@redhat.com>
2679
2680 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2681 (create(GtkContainerPeer)): New native method.
2682 (create()): Call native create(), passing in the parent frame
2683 as the paramter. Natively set the current file and directory.
2684 (setFile): Construct an absolute filename before passing it to
2685 the native peer.
2686 (nativeGetDirectory): New method.
2687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2688 (window_closed): Removed.
2689 (ok_clicked): Likewise.
2690 (cancel_clicked): Likewise.
2691 (handle_response): New method.
2692 (create): Use GtkFileChooserDialog.
2693 (connectSignals): Connect to handle_response.
2694 (nativeGetDirectory): New method.
2695 (nativeSetFile): Use GtkFileChooserDialog.
2696
2697 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2698
2699 * java/awt/image/LookupTable.java: New file.
2700 * Makefile.am: Added new file.
2701 * Makefile.in: Regenerated.
2702
2703 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2704
2705 * java/awt/image/Kernel.java: New file.
2706 * Makefile.am: Added new file.
2707 * Makefile.in: Regenerated.
2708
2709 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2710
2711 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2712 * javax/swing/JMenu.java: Likewise.
2713 * javax/swing/JMenuBar.java: Likewise.
2714 (MARGIN_CHANGED_PROPERTY): New property.
2715 (setMargin): Implemented.
2716 * javax/swing/JMenuItem.java: Fixed javadocs.
2717 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2718 (LABEL_CHANGED_PROPERTY): New property.
2719 (add): changed to use createActionComponent.
2720 (createActionComponent): Implemented.
2721 (setLabel): Fire PropertyChangeEvent if label property
2722 changes.
2723 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2724 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2725 (ContainerHandler): Repaint if margin property has changed.
2726 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2727 (installUI): Call installComponents().
2728 (uninstallUI): Call uinstallComponents().
2729 * javax/swing/plaf/basic/BasicMenuUI.java:
2730 Fixed javadocs.
2731 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2732 Likewise.
2733
2734 2004-07-21 Kim Ho <kho@redhat.com>
2735
2736 * javax/swing/plaf/basic/BasicToolBarUI.java:
2737 (DragWindow): Use the right constructor.
2738
2739 2004-07-21 Kim Ho <kho@redhat.com>
2740
2741 * javax/swing/JToolBar.java:
2742 (layoutContainer): Use getComponents.
2743 * javax/swing/plaf/basic/BasicToolBarUI.java:
2744 (DragWindow): Don't use SwingUtilities'
2745 getOwnerFrame
2746 (ToolBarDialog): ditto.
2747
2748 2004-07-21 Kim Ho <kho@redhat.com>
2749
2750 * javax/swing/JRootPane.java:
2751 Ran jalopy.
2752 (layoutContainer): Set the glasspane's size to
2753 be the same as the content pane.
2754 (createGlassPane): Set opaque property to false.
2755
2756 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2757
2758 * java/awt/Component.java (requestFocus()): Don't handle Panels
2759 specially.
2760 (requestFocus(boolean)): Likewise.
2761 (requestFocusInWindow(boolean)): Likewise.
2762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2763 Set GTK_CAN_FOCUS flag.
2764
2765 2004-07-21 Kim Ho <kho@redhat.com>
2766
2767 * Makefile.am: Added new file.
2768 * Makefile.in: Regenerated.
2769 * gcj/Makefile.in: Regenerated.
2770 * include/Makefile.in: Regenerated.
2771 * javax/swing/AbstractButton.java:
2772 Add rollOverEnabled property.
2773 (setRolloverEnabled): Use new property.
2774 (isRolloverEnabled): Use new property.
2775 * javax/swing/JTabbedPane.java:
2776 (setComponent): Remove useless JTabbedPane.this.
2777 * javax/swing/JToolBar.java: Finish implementation.
2778 * javax/swing/plaf/basic/BasicArrowButton.java:
2779 (paint): Moved border painting to a border.
2780 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2781 Change JToolBar look and feel defaults.
2782 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2783 (actionPerformed): Return Integer index instead of name.
2784 (addButtonComponents): Check to see if component is
2785 JButton last.
2786 (createMessageArea): Don't use components that are not
2787 completed yet.
2788 (getIconForType): Use temporary icons.
2789 * javax/swing/plaf/basic/BasicSliderUI.java:
2790 (mousePressed): Do not return if it's on thumb.
2791 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2792 (paintMinorTickForVertSlider): ditto.
2793 (paintMajorTickForHorizSlider): ditto.
2794 (paintMajorTickForVertSlider): ditto.
2795 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2796 Add a border around the SplitPaneDivider.
2797 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2798 Remove comments.
2799 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2800 New file. Implemented.
2801 * javax/swing/plaf/basic/BasicToolBarUI.java:
2802 Implemented.
2803 * testsuite/Makefile.in: Regenerated.
2804
2805 2004-07-21 Graydon Hoare <graydon@redhat.com>
2806
2807 * javax/swing/Timer.java (run): Queue events each time cycle.
2808
2809 2004-07-21 David Jee <djee@redhat.com>
2810
2811 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2812 (imageComplete): Call image.imageComplete().
2813 * java/awt/image/MemoryImageSource.java:
2814 Reimplement consumers as a Vector instead of a Hashtable. This is
2815 because enumeration on a Hashtable is not thread-safe.
2816 (addConsumer): Adapt to Vector consumers.
2817 (isConsumer): Adapt to Vector consumers.
2818 (removeConsumer): Adapt to Vector consumers.
2819 (startProduction): Adapt to Vector consumers. Call imageComplete()
2820 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2821 (newPixels): Adapt to Vector consumers.
2822 (sendPicture): Set the color model of the image consumer.
2823 (newPixels(IIII)): Adapt to Vector consumers.
2824 (newPixels(IIIIB)): Adapt to Vector consumers.
2825
2826 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2827
2828 * java/awt/Component.java (deliverEvent): Implement.
2829 (postEvent): Implement.
2830 (handleEvent): Implement.
2831 (translateEvent): New method.
2832 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2833 * java/awt/Container.java (deliverEvent): Implement.
2834 * java/awt/Event.java (paramString): Fix formatting.
2835 * java/awt/Font.java (toString): Likewise.
2836 * java/awt/Window.java (postEvent): Implement.
2837
2838 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2839
2840 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2841 Set window's focus owner upon receiving a FOCUS_LOST event.
2842 * java/awt/Window.java (Window()): Refocus the previously
2843 focused component within the window when the window regains the
2844 top-level focus.
2845 (setFocusOwner): New method.
2846 * java/awt/Component.java (requestFocus): Add FIXME.
2847
2848 * libgcj.pc.in: Remove library flags.
2849
2850 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2851
2852 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2853 MOUSE_PRESSED event.
2854 * java/awt/Component.java (requestFocus()): Handle Panel
2855 specially. Post FOCUS_LOST event on opposite component.
2856 (requestFocus(boolean)): Likewise.
2857 (requestFocusInWindow(boolean)): Likewise.
2858 (paramString): Reorder dimension fields.
2859 * java/awt/Container.java (paramString): Fix string format.
2860 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2861 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2862 process key events if the focus owner is non-null.
2863 (dispatchKeyEvent): Likewise.
2864 * java/awt/Frame.java (paramString): Fix formatting.
2865 (generateName): New method.
2866 (getUniqueLong): Likewise.
2867 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2868 the temporary focus owner is null. If so, return the permanent
2869 focus owner.
2870 * java/awt/Panel.java (generateName): New method.
2871 (getUniqueLong): Likewise.
2872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2873 signal handling to make callbacks more specific.
2874
2875 2004-07-21 Michael Koch <konqueror@gmx.de>
2876
2877 * javax/swing/text/Position.java
2878 (Bias): Implemented.
2879
2880 2004-07-21 Michael Koch <konqueror@gmx.de>
2881
2882 * javax/swing/LookAndFeel.java
2883 (provideErrorFeedback): New method.
2884
2885 2004-07-21 Michael Koch <konqueror@gmx.de>
2886
2887 * javax/swing/JTextArea.java
2888 (tabSize): New field.
2889 (getTabSize): New method.
2890 (setTabSize): Likewise.
2891
2892 2004-07-21 Michael Koch <konqueror@gmx.de>
2893
2894 * javax/swing/ActionMap.java:
2895 Fixed javadocs all over.
2896 (serialVersionUID): Made private.
2897 (parent): Don't explicitely initialize with default value.
2898 (get): SImplified.
2899 (keys): Reimplemented.
2900 (allKeys): Likewise.
2901 (convertSet): Removed.
2902 * javax/swing/ComponentInputMap.java:
2903 Fixed javadocs all over.
2904 (ComponentInputMap): Implemented.
2905 (put): Likewise.
2906 (clear): Likewise.
2907 (remove): Likewise.
2908 (SetParent): Likewise.
2909 (getComponent): Likewise.
2910 * javax/swing/InputMap.java:
2911 Fixed javadocs all over.
2912 (serialVersionUID): Made private.
2913 (parent): Don't explicitely initialize with default value.
2914 (get): SImplified.
2915 (keys): Reimplemented.
2916 (allKeys): Likewise.
2917 (convertSet): Removed.
2918
2919 2004-07-21 Michael Koch <konqueror@gmx.de>
2920
2921 * javax/swing/ActionMap.java,
2922 javax/swing/ComponentInputMap.java,
2923 javax/swing/InputMap.java,
2924 javax/swing/table/DefaultTableColumnModel.java,
2925 javax/swing/table/TableColumn.java,
2926 javax/swing/table/TableColumnModel.java,
2927 javax/swing/table/TableModel.java,
2928 javax/swing/text/AbstractDocument.java,
2929 javax/swing/text/TextAction.java:
2930 Reformated.
2931
2932 2004-07-21 Graydon Hoare <graydon@redhat.com>
2933
2934 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2935 Make method non-static.
2936 * javax/swing/AbstractButton.java:
2937 Rename fields to match property names where possible.
2938 (iconTextGap): New property.
2939 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2940 (init) New method, call from after various constructors.
2941 * javax/swing/JComponent.java (revalidate):
2942 Invalidate before queueing repair.
2943 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2944 Reimplement in terms of visibleRowCount property.
2945 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2946 * javax/swing/JScrollPane.java (createScrollListener):
2947 Remove tracing chatter.
2948 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2949 * javax/swing/RepaintManager.java (addInvalidComponent):
2950 Don't invalidate.
2951 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2952 calculations.
2953 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2954 Mimic sun behavior on top left/right positioning.
2955 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2956 Remove mistaken use of preferredScrollableViewportSize here.
2957 (layoutContainer): Use view's preferred size as basis.
2958 * javax/swing/plaf/basic/BasicButtonUI.java:
2959 Set, get, and use textIconGap property.
2960 (paint) Paint text returned from layout (with ellipsis).
2961 * javax/swing/plaf/basic/BasicListUI.java:
2962 Remove tracing chatter, correct various minor calculations.
2963 (getCellBounds): Update layout state before calculating.
2964 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2965 Use margin default similar to sun's.
2966 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2967 (createIncreaseIcon): Center icon, minimize margins.
2968 (createDecreaseIcon): Likewise.
2969 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2970 Implement.
2971 (installUI): Call it.
2972 (uninstallDefaults): Implement.
2973 (uninstallUI): Call it.
2974 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2975 Call existing Window constructor.
2976 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2977 Set clip before painting.
2978
2979 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2980
2981 * javax/swing/JMenuItem.java:
2982 (processMouseEvent): Reimplemented to deal with
2983 mouse drag events.
2984 (createMenuDragMouseEvent): New private helper method.
2985 Creates MenuDragMouseEvent.
2986 * javax/swing/MenuSelectionManager.java
2987 (componentForPoint): Implemented.
2988 (isComponentPartOfCurrentMenu): Made public.
2989 (processMouseEvent): Reimplemented to deal with
2990 mouse drag events.
2991 (setSelectedPath): Corrected small mistake that caused
2992 path to be set incorrectly.
2993 (getPath): If given component is JMenu then also add this
2994 menu's popup menu to the selected path.
2995 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2996 (getPath): Ditto.
2997 (getPreferredSize): Call getPreferredMenuItemSize().
2998 (getPreferredItemSize): Moved code from getPreferredSize to here.
2999 (installListeners): Install MouseMotionListeners.
3000 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3001 if mouse wasn't released in the bounds of this menu item.
3002 (MenuDragMouseHandler): Implemented.
3003 * javax/swing/plaf/basic/BasicMenuUI.java:
3004 (installListeners): Install MouseMotionListener and
3005 MenuDrageMouseListener.
3006 (MenuDragMouseHandler): Implemented.
3007 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3008 (uninstallListeners): Implemented.
3009
3010 2004-07-21 Michael Koch <konqueror@gmx.de>
3011
3012 * javax/swing/JCheckBox.java: Reformated.
3013 (JCheckBox): Fixed all constructors.
3014 (isBorderPaintedFlat): New method.
3015 (setBorderPaintedFlat): New method.
3016 * javax/swing/JEditorPane.java
3017 (createEditorKitForContentType): Made public.
3018 (scrollToReference): Likewise.
3019 * javax/swing/JTextArea.java
3020 (setLineWrap): Fire property change.
3021 * javax/swing/JToggleButton.java
3022 (JToggleButton): New constructor.
3023 (JToggleButton): Simplified.
3024 * javax/swing/text/AttributeSet.java
3025 (FontAttribute): Renamed from FontCharacterAttribute.
3026 * javax/swing/text/JTextComponent.java
3027 (KeyBinBinding): Added javadoc.
3028 (JTextComponent): Likewise.
3029 (getAccessibleContext): Fixed javadoc.
3030 * javax/swing/text/View.java
3031 (View): Added javadoc.
3032 * javax/swing/text/TabableView.java: New file.
3033 * Makefile.am: Added javax/swing/text/TabableView.java.
3034 * Makefile.in: Regenerated.
3035
3036 2004-07-21 Graydon Hoare <graydon@redhat.com>
3037
3038 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3039 * gnu/java/awt/peer/gtk/GtkToolkit.java
3040 (GtkErrorImage): New helper class.
3041 (bufferedImageOrError): New helper method.
3042 (createImage): Use it.
3043
3044 2004-07-21 David Jee <djee@redhat.com>
3045
3046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3047 (setCaretPosition): Scroll the text view so the new caret position
3048 is visible on screen.
3049
3050 2004-07-21 David Jee <djee@redhat.com>
3051
3052 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3053 (setBounds): Do not validate awtComponent here.
3054 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3055 (getPreferredSize): New method.
3056 * java/awt/ScrollPane.java
3057 (ScrollPane): Set default size to 100x100.
3058 (addNotify): If child is not a Panel, wrap it with a new Panel.
3059 (paramString): Implement.
3060
3061 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3062
3063 * javax/swing/JMenu.java:
3064 (setSelected): Display popup menu only if this menu
3065 is showing on the screen.
3066 * javax/swing/JPopupMenu.java:
3067 (processMouseEvent): Added comment.
3068 (processKeyEvent): Likewise.
3069 * javax/swing/MenuSelectionManager.java:
3070 (clearSelectedPath): Only fireStateChanged() after
3071 selected path was changed, not before.
3072 (setSelectedPath): Likewise.
3073 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3074 (paintMenuItem): Corrected position of menu item's
3075 icon.
3076 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3077 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3078 (popupMenuCanceled): Reimplemented.
3079 (popupMenuWillBecomeVisible): Select first menu item by default
3080 when displaying free floating popup menus.
3081 (TopWindowListener): Reimplemented.
3082
3083 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3084
3085 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3086 Panel from being painted twice when it is first shown.
3087
3088 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3089
3090 * java/awt/Window.java: Reverted changes from my
3091 previous patch for creating window without an owner.
3092 * javax/swing/SwingUtilities.java:
3093 (SwingUtilities.OwnerFrame): made static.
3094 (OwnerFrame.setVisible): New method. Overridden with
3095 empty implementation.
3096 (OwnerFrame.isShowing): New method. Ovverridden
3097 to return always true.
3098
3099 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3100
3101 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3102 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3103 (GtkComponentPeer): Remove temporary try/catch block.
3104 (setVisible): Call show and hide.
3105 (show): Make native.
3106 (hide): Likewise.
3107 (getArgs): Don't add "visible" argument.
3108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3109 (property_notify_predicate): Return Bool instead of int.
3110 (find_layout): New function.
3111 (connectJObject): Call find_layout.
3112 (connectSignals): Likewise.
3113 (moveLayout): Likewise.
3114 (gtkLayoutSetVisible): Likewise.
3115
3116 2004-07-21 Mark Wielaard <mark@klomp.org>
3117
3118 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3119 on notifier object before calling notifyAll().
3120
3121 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3122
3123 * java/awt/Window.java: Changed constructors to use new
3124 method that is described below. Constructors call this
3125 methods only if newly created window should have an owner.
3126 (setWindowOwner): New method. Implementation for
3127 this method is moved from this(owner,configuration).
3128 * javax/swing/JWindow.java:
3129 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3130 instead of owner.
3131 * javax/swing/SwingUtilities.java:
3132 (ownerFrame): Change type of this field to OwnerFrame.
3133 (getOwnerFrame): Changed to return object of type OwnerFrame.
3134 (SwingUtilities.OwnerFrame): New class. Represents owner
3135 of a Window that is not provided with one.
3136
3137 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3138
3139 * javax/swing/AbstractButton.java:
3140 (configurePropertiesFromAction): Set action command
3141 to button's text by default if action command is not
3142 explicitely specified.
3143 * javax/swing/JMenu.java: Remove unnecessary listener
3144 and methods relevant to it.
3145 (setSelected): Reimplemented.
3146 (menuSelectionChanged): Moved most part of implementation to
3147 setSelected() and call it instead.
3148 * javax/swing/JMenuItem.java:
3149 (init): Comment out statement that sets paint_border to false.
3150 (configurePropertiesFromAction): Do not set accelerator
3151 for JMenu.
3152 (menuSelectionChanged): Change selected index in the selection
3153 model of menu item's parent.
3154 * javax/swing/JPopupMenu.java:
3155 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3156 instead of GridBagConstraints.HORIZONTAL.
3157 (insert): Likewise.
3158 (createActionChangeListener): Implemented.
3159 (setVisible): Correct location of HeavyWeightMenu and
3160 don't firePopupMenuCanceled().
3161 (menuSelectionChanged): Implemented.
3162 (ActionChangeListener): New Listener. Implemented.
3163 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3164 (BasicMenuBarUI.ContainerHandler): Implemented.
3165 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3166 (paintMenuItem): Uncommented out code that paints
3167 icon, now that icons are working properly.
3168 (PropertyChangeListener): Implemented.
3169 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3170 Added javadocs.
3171 (topWindowListener): New field.
3172 (Constructor): initialize topWindowListener.
3173 (BasicPopupMenuUI.TopWindowListener): Implemented.
3174 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3175 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3176 Implemented.
3177
3178 2004-07-21 Michael Koch <konqueror@gmx.de>
3179
3180 * javax/swing/plaf/basic/BasicButtonUI.java
3181 (paintFocus): Fixed method signature.
3182 (paintButtonPressed): Likewise.
3183 (paintButtonNormal): Likewise.
3184 (paintText): New method.
3185 * javax/swing/plaf/basic/BasicLabelUI.java
3186 (paint): Re-indented.
3187 * javax/swing/plaf/basic/BasicTextUI.java
3188 (installUI): Set parent textComponent to opaque.
3189 * javax/swing/text/DefaultHighlighter.java
3190 (checkPositions): New helper method.
3191 (addHighlight): Throws BadLocationException, check positions.
3192 (changeHighlight): Likewise.
3193 * javax/swing/text/EditorKit.java
3194 (EditorKit): Implements Serializable.
3195 * javax/swing/text/JTextComponent.java
3196 (getUI): Added javadoc.
3197 (setUI): Likewise.
3198 (upadteUI): Added javadoc, don't revalidate and repaint.
3199
3200 2004-07-21 David Jee <djee@redhat.com>
3201
3202 * java/awt/GridBagLayout.java
3203 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3204 * javax/swing/AbstractButton.java
3205 (setText): Reindent.
3206 * javax/swing/RepaintManager.java
3207 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3208
3209 2004-07-21 Michael Koch <konqueror@gmx.de>
3210
3211 * javax/swing/JFormattedTextField.java
3212 (value): New field.
3213 (JFormattedTextField): Implemented.
3214 (getValue): Likewise.
3215 (setValue): Likewise.
3216 * javax/swing/LookAndFeel.java
3217 (getSupportsWindowDecorations): New method.
3218 * javax/swing/UIDefaults.java:
3219 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3220 (addPropertyChangeListener): Made public.
3221 (addResourceBundle): Likewise.
3222 (removeResourceBundle): Likewise.
3223 (setDefaultLocale): Likewise.
3224 * javax/swing/plaf/basic/BasicRootPaneUI.java
3225 (BasicRootPaneUI): Implements PropertyChangeListener.
3226 (propertyChange): New method.
3227 * javax/swing/plaf/basic/BasicTextUI.java
3228 (BasicHighlighter): New inner class.
3229 (createHighlighter): New method.
3230 * javax/swing/plaf/basic/BasicToolBarUI.java
3231 (DragWindow): Extends java.awt.Window.
3232 * javax/swing/text/JTextComponent.java
3233 (getDocument): Removed debug output.
3234 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3235 javax/swing/text/DefaultHighlighter.java,
3236 javax/swing/text/FieldView.java,
3237 javax/swing/text/PlainView.java: New files.
3238 * Makefile.am: Added new files.
3239 * Makefile.in: Regenerated.
3240
3241 2004-07-21 Michael Koch <konqueror@gmx.de>
3242
3243 * javax/swing/JEditorPane.java
3244 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3245 (createEditorKitForContentType): Likewise.
3246 * javax/swing/text/DefaultEditorKit.java
3247 (serialVersionUID): Added constant field.
3248 (EndOfLineStringPropery): Fixed typo.
3249 (DefaultEditorKit): New constructor.
3250 * javax/swing/text/Segment.java:
3251 Import java.text.CharacterIterator.
3252 * javax/swing/text/CharacterIterator.java,
3253 javax/swing/text/PlainEditorKit.java: Removed.
3254 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3255 javax/swing/text/PlainEditorKit.java.
3256 * Makefile.in: Regenerated.
3257
3258 2004-07-21 Michael Koch <konqueror@gmx.de>
3259
3260 * javax/swing/JButton.java,
3261 javax/swing/text/DefaultEditorKit.java,
3262 javax/swing/text/EditorKit.java,
3263 javax/swing/text/Segment.java,
3264 javax/swing/text/StyledEditorKit.java:
3265 Reformatted.
3266
3267 2004-07-21 Michael Koch <konqueror@gmx.de>
3268
3269 * javax/swing/ImageIcon.java
3270 (file): Removed.
3271 (description): Renamed from descr.
3272 (ImageIcon): Added missing constructors.
3273 (setParent): Removed.
3274 (setImageObserver): New method.
3275 (getImageObserver): New method.
3276 (paintIcon): Handle observer = null.
3277 * javax/swing/JButton.java
3278 (removeNotify): Fixed javadoc.
3279 (updateUI): Simplified.
3280 * javax/swing/JRootPane.java
3281 (serialVersionUID): New constant field.
3282 * javax/swing/UIManager.java:
3283 Fixed javadocs all over.
3284 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3285 * javax/swing/text/AbstractDocument.java
3286 (createPosition): Throws BadLocationException.
3287 (getText): Likewise.
3288 (remove): Likewise.
3289 * javax/swing/text/ComponentView.java
3290 (modelToView): Likewise.
3291 * javax/swing/text/DefaultEditorKit.java:
3292 Made all public methods public.
3293 (read): Throws BadLocationException and IOException.
3294 (write): Likewise.
3295 * javax/swing/text/EditorKit.java:
3296 Made all public methods public.
3297 (serialVersionUID): New constant field.
3298 (clone): New method.
3299 (read): Throws BadLocationException and IOException.
3300 (write): Likewise.
3301 * javax/swing/text/Segment.java
3302 (array): Made public.
3303 (count): Likewise.
3304 (offset): Likewise.
3305 (Segment): New constructors.
3306 (clone): Reimplemented.
3307 * javax/swing/text/StyledEditorKit.java
3308 (serialVersionUID): New constant field.
3309
3310 2004-07-21 Graydon Hoare <graydon@redhat.com>
3311
3312 * java/awt/image/BufferedImage.java
3313 (getSource): Implement.
3314 * javax/swing/ImageIcon.java
3315 (ImageIcon): Implement ctor.
3316 * javax/swing/ScrollPaneLayout.java
3317 (preferredLayoutSize): Be more careful about nulls.
3318
3319 2004-07-21 Michael Koch <konqueror@gmx.de>
3320
3321 * javax/swing/text/AttributeSet.java
3322 (CharacterAttribute): New interface
3323 (ColorAttribute): Likewise.
3324 (FontCharacterAttribute): Likewise.
3325 (ParagraphAttribute): Likewise.
3326 * javax/swing/text/DefaultCaret.java
3327 (moveCaret): New method.
3328 (positionCaret): Likewise.
3329 (repaint): Made protected.
3330 * javax/swing/text/JTextComponent.java
3331 (KeyBinding): Made it static.
3332 * javax/swing/text/View.java
3333 (getContainer): Honor parent == null.
3334
3335 2004-07-21 Michael Koch <konqueror@gmx.de>
3336
3337 * javax/swing/text/AbstractDocument.java:
3338 Reformatted.
3339
3340 2004-07-21 Michael Koch <konqueror@gmx.de>
3341
3342 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3343 Import javax.swing.UIManager explicitely.
3344 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3345 (ScrollingButton): Made it static.
3346
3347 2004-07-21 Michael Koch <konqueror@gmx.de>
3348
3349 * javax/swing/UIDefaults.java
3350 (ActiveValue): Made public.
3351 (LazyValue): Likewise.
3352 * javax/swing/plaf/basic/BasicTextUI.java
3353 (RootView): Reintroduced.
3354 (view): Removed.
3355 (rootView): New field.
3356 (installUI): Create document if needed, initialize rootView.
3357 (uninstallUI): Hanle rootView.
3358 (paint): Likewise.
3359 (getRootView): Likewise.
3360 (setView): Likewise.
3361 * javax/swing/text/DefaultCaret.java:
3362 Renamed all "evt" variables to "event".
3363
3364 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3365
3366 * libgcj.spec.in: Add -l-java-util-logging.
3367
3368 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3369
3370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3371 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3372 gtk-xft-dpi can no calculate the right value.
3373 (dpi_changed_cb): Mark *pspec as unsused.
3374
3375 2004-07-21 David Jee <djee@redhat.com>
3376
3377 * java/awt/Component.java
3378 (move): Delegate to setBounds().
3379 (resize): Likewise.
3380 (reshape): Fix so it repaints parent and self only when necessary.
3381
3382 2004-07-21 David Jee <djee@redhat.com>
3383
3384 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3386 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3387 (setVisible): Likewise.
3388 (show): Likewise.
3389 (hide): Likewise.
3390 (getArgs): Likewise.
3391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3392 (property_notify_predicate): Likewise.
3393 (find_layout): Likewise.
3394 (connectJObject): Likewise.
3395 (connectSignals): Likewise.
3396 (moveLayout): Likewise.
3397 (gtkLayoutSetVisible): Likewise.
3398
3399 2004-07-21 Graydon Hoare <graydon@redhat.com>
3400
3401 * Makefile.am
3402 (jv_convert_LDADD):
3403 (gij_LDADD):
3404 (rmic_LDADD):
3405 (rmiregistry_LDADD): Add lib-java-util-logging.la
3406 * Makefile.in: Regenerate.
3407
3408 2004-07-21 Michael Koch <konqueror@gmx.de>
3409
3410 * javax/swing/text/AbstractDocument.java
3411 (replace): Dont use protected method of java.util.Vector directly.
3412
3413 2004-07-21 Michael Koch <konqueror@gmx.de>
3414
3415 * javax/swing/plaf/basic/BasicTextUI.java
3416 (installUI): Call specialized install methods.
3417 (installDefaults): New method.
3418 (installListeners): Likewise.
3419 (installKeyboardActions): Likewise.
3420 (uninstallUI): Likewise.
3421 (uninstallDefaults): New method.
3422 (uninstallListeners): Likewise.
3423 (uninstallKeyboardActions): Likewise.
3424 (getPropertyPrefix): New abstract method.
3425 (paint): Made final, just call paintSafely().
3426 (paintSavely): New method.
3427 (paintBackground): Likewise.
3428 (getVisibleEditorRect): Likewise.
3429 * javax/swing/text/LayeredHighlighter.java,
3430 javax/swing/text/TabExpander.java: New files.
3431 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3432 and javax/swing/text/TabExpander.java.
3433 * Makefile.in: Regenerated.
3434
3435 2004-07-21 Michael Koch <konqueror@gmx.de>
3436
3437 * javax/swing/plaf/basic/BasicTextUI.java
3438 (BasicTextUI): Made abstract.
3439 (BasicCaret): New inner class.
3440 (view): Don't explicitely initialize with "null".
3441 (textComponent): New field.
3442 (textColor): Removed.
3443 (disabledTextColor): Removed.
3444 (normalBackgroundColor): Removed.
3445 (RootView): Removed commented out inner class.
3446 (createUI): Removed.
3447 (createCaret): New method.
3448 (getComponent): Likewise.
3449 (installUI): Initialize textComponent only.
3450 (getPreferredSize): Use installed JTextComponent.
3451 (setView): New method.
3452 (create): Likewise.
3453 * javax/swing/text/JTextComponent.java
3454 (highlighter): New field.
3455 (caretColor): Likewise.
3456 (disabledTextColor): Likewise.
3457 (seletedTextColor): Likewise.
3458 (selectionColor): Likewise.
3459 (setUI): New method.
3460 (getCaretColor): Likewise.
3461 (setCaretColor): Likewise.
3462 (getDisabledColor): Likewise.
3463 (setDisabledColor): Likewise.
3464 (getSelectedTextColor): Likewise.
3465 (setSelectedTextColor): Likewise.
3466 (getSelectionColor): Likewise.
3467 (setSelectionColor): Likewise.
3468 (getHighlighter): Likewise.
3469 (setHighlighter): Likewise.
3470 (replaceSelection): Likewise.
3471
3472 2004-07-21 Michael Koch <konqueror@gmx.de>
3473
3474 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3475 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3476 * javax/swing/plaf/basic/BasicToolBarUI.java
3477 (BasicToolBarUI): Implements SwingConstants.
3478
3479 2004-07-21 Michael Koch <konqueror@gmx.de>
3480
3481 * javax/swing/JPopupMenu.java: Removed CVS tags.
3482 * javax/swing/UIDefaults.java: Reformatted.
3483 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3484 Explicitely import used classes.
3485
3486 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3487
3488 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3489 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3490 (GtkComponentPeer): Remove temporary try/catch block.
3491 (setVisible): Call show and hide.
3492 (show): Make native.
3493 (hide): Likewise.
3494 (getArgs): Don't add "visible" argument.
3495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3496 (property_notify_predicate): Return Bool instead of int.
3497 (find_layout): New function.
3498 (connectJObject): Call find_layout.
3499 (connectSignals): Likewise.
3500 (moveLayout): Likewise.
3501 (gtkLayoutSetVisible): Likewise.
3502
3503 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3504
3505 * javax/swing/AbstractButton.java:
3506 (setDisplayedMnemonicIndex): Check if button
3507 text is not null before checking its length.
3508 * javax/swing/JMenuItem.java:
3509 (processMouseEvent): Disarm menu item if mouse has
3510 exited it.
3511 * javax/swing/plaf/basic/BasicMenuUI.java:
3512 (MouseInputHandler.mouseEntered): Do not raise
3513 popup menu if this menu is already selected.
3514 (MouseInputHandler.mousePressed): Do not fire
3515 MenuEvents.
3516 (MenuHandler): Implemented.
3517
3518 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3519
3520 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3521 (getSelectedObjects): Implemented.
3522 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3523 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3524 Added javadoc for few methods.
3525 (processMouseEvent): Made public.
3526 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3527 (processMouseEvent): Likewise.
3528
3529 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3530
3531 * javax/swing/AbstractButton.java:
3532 (init): Set display mnemonic index to -1.
3533 (setMnemonic(char)): Use setMnemonic(int).
3534 (setMnemonic(int)): Set display mnemonic index.
3535 (getDisplayedMnemonicIndex): Change method signature
3536 by removing 'index' parameter.
3537 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3538 Added default for Menu.selectionBackground.
3539 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3540 (paintMenuItem): Change background color of the selected
3541 menu item.
3542 (paintText): Paint differently when menu item is disabled.
3543 Also paint mnemonic if it appears in the menu item's label.
3544 (paintAccelerator): Paint accelerator differently
3545 if menu item is disabled.
3546 * javax/swing/plaf/basic/BasicMenuUI.java:
3547 (installDefaults): Install defaults for
3548 selectionForeground and selectionBackground.
3549 (uninstallDefaults): Uninstall defauls for
3550 selectionForeground and selectionBackground.
3551
3552 2004-07-21 Michael Koch <konqueror@gmx.de>
3553
3554 * javax/swing/text/AbstractDocument.java
3555 (BranchElement): Implemented.
3556 (LeafElement): Implemented.
3557 * javax/swing/text/DefaultCaret.java:
3558 Import used classes.
3559 (serialVersionUID): New constant.
3560 * javax/swing/text/JTextComponent.java
3561 (AccessibleJTextComponent): Removed dead declaration.
3562 (caretPos): Removed.
3563 (setCaret): New method.
3564 * javax/swing/text/PlainDocument.java
3565 (rootElement): New field.
3566 (PlainDocument): Initialize rootElement.
3567 (createDefaultRoot): New method.
3568 (getDefaultRootElement): Implemented.
3569 * javax/swing/text/View.java: Reformatted.
3570 * javax/swing/text/ViewFactory.java
3571 (create): Added javadoc.
3572
3573 2004-07-21 Michael Koch <konqueror@gmx.de>
3574
3575 * javax/swing/ToolTipManager.java: Reformatted.
3576
3577 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3578
3579 * javax/swing/AbstractButton.java
3580 (changeEvent): New field.
3581 (fireItemStateChanged): Change source of the event
3582 to 'this' before firing it to button listeners.
3583 (fireActionPerformed): Likewise.
3584 (fireStateChanged): Likewise.
3585 (createActionListener): Do not set source
3586 of the event to AbstractButton.
3587 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3588 (ContainerHandler.componentAdded): Removed
3589 print out statement.
3590 (ContainerHandler.componentRemoved): Likewise.
3591
3592 2004-07-21 Michael Koch <konqueror@gmx.de>
3593
3594 * javax/swing/text/Highlighter.java: New file.
3595 * Makefile.am: Added javax/swing/text/Highlighter.java.
3596 * Makefile.in: Regenerated.
3597
3598 2004-07-21 Michael Koch <konqueror@gmx.de>
3599
3600 * javax/swing/ToolTipManager.java
3601 (stillInsideTimerAction): Fixed constructor arguments.
3602 (outsideTimerAction): Likewise.
3603 (insideTimerAction): Likewise.
3604
3605 2004-07-21 Michael Koch <konqueror@gmx.de>
3606
3607 * javax/swing/JButton.java: Reformatted.
3608 * javax/swing/JFormattedTextField.java
3609 (getUIClassID): Implemented.
3610 * javax/swing/JRootPane.java
3611 (serialVersionUID): New constant.
3612 * javax/swing/JTextField.java
3613 (align): New field.
3614 (JTextField): Simplified.
3615 (getUIClassID): New method.
3616 (getActionListeners): Added @since tag.
3617 (setColumns): Invalidate layout and repaint.
3618 (getHorizontalAlignment): New method.
3619 (setHorizontalAlignment): New method.
3620 (selectAll): Removed.
3621 * javax/swing/SwingUtilities.java
3622 (getAncestorOfClass): Removed redundant @see tag.
3623 (isLeftMouseButton): Fixed implementation.
3624 (isMiddleMouseButton): Likewise.
3625 (isRightMouseButton): Likewise.
3626 * javax/swing/text/AbstractDocument.java
3627 (AttributeContext.addAttribute): New method.
3628 (AttributeContext.addAttributes): New method.
3629 (AttributeContext.getEmptySet): New method.
3630 (AttributeContext.reclaim): New method.
3631 (AttributeContext.removeAttribute): New method.
3632 (AttributeContext.removeAttributes): New method.
3633 * javax/swing/text/Document.java
3634 (createPosition): Throws BadLocationException.
3635 (getText): Likewise.
3636 (remove): Likewise.
3637 * javax/swing/text/JTextComponent.java
3638 (getText): Return null if no document is set. Catch
3639 BadLocationException.
3640 (getUI): Return ui.
3641 (updateUI): Simplified.
3642
3643 2004-07-21 Michael Koch <konqueror@gmx.de>
3644
3645 * javax/swing/JButton.java
3646 (removeNotify): Fixed javadoc.
3647 (updateUI): Simplified.
3648
3649 2004-07-21 David Jee <djee@redhat.com>
3650
3651 * gnu/java/awt/image/ImageDecoder.java
3652 (startProduction): Only add consumer if it's not added yet.
3653 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3654 (GdkPixbufDecoder): Don't call initState() here.
3655 (produce): Call initState() here, to ensure area_prepared and
3656 area_updated signals are properly connected.
3657 * gnu/java/awt/peer/gtk/GtkImage.java
3658 (setColorModel): Use equals() to compare ColorModel objects.
3659 (setPixels): Likewise.
3660 * java/awt/image/ColorModel.java
3661 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3662 * java/awt/image/RGBImageFilter.java
3663 (setColorModel): Set consumer's color model.
3664 (setPixels): Use equals() to compare ColorModel objects.
3665
3666 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3667
3668 * java/net/URLConnection.java (position): New field.
3669 (dateFormat1, dateFormat2, dateFormat3): Removed.
3670 (dateFormats): New field.
3671 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3672 each time instead of re-allocating.
3673 (initializeDateFormats): Initialize 'dateFormats'.
3674
3675 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3676
3677 PR libgcj/16591
3678 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3679 is defined.
3680
3681 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3682
3683 * java/net/Socket.java (getImpl): Now private. Remove comment.
3684
3685 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3686
3687 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3688 of chained Writer when calling super-constructor.
3689 * java/io/FilterWriter.java (FilterWriter): Likewise.
3690 * java/io/PrintWriter.java (PrintWriter): Likewise.
3691
3692 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3693
3694 * prims.cc (process_gcj_properties): Don't increment i within LHS
3695 of assignment.
3696
3697 2004-07-19 Per Bothner <per@bothner.com>
3698
3699 Print -verbose:message on "loading", not initialization.
3700 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3701 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3702 gcj::verbose_class_flag.
3703 * java/lang/natClass.cc (initializeClass): Don't print message here.
3704 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3705 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3706 (_Jv_PrepareCompiledClass): Likewise.
3707
3708 2004-07-18 Matthias Klose <doko@debian.org>
3709
3710 * configure.in: Substitute target_noncanonical.
3711 * configure: Regenerate
3712
3713 2004-07-17 Michael Koch <konqueror@gmx.de>
3714
3715 * java/lang/String.java: Fixed javadocs all over.
3716
3717 2004-07-17 Mark Wielaard <mark@klomp.org>
3718
3719 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3720 when size is smaller.
3721 * java/io/RandomAccessFile.java (setLength): Use truncate for
3722 shrinking the file and seek plus write for expanding the file.
3723
3724 2004-07-17 Michael Koch <konqueror@gmx.de>
3725
3726 * gnu/java/nio/channels/natFileChannelPosix.cc
3727 (implTruncate): Always save current position. Only reposition file
3728 pointer to where we started if not beyond new lenght. Reposition file
3729 pointer to file length if it points beyond the end of file.
3730
3731 2004-07-17 Mark Wielaard <mark@klomp.org>
3732
3733 * javax/swing/Box.java: Put FIXME comment above class declaration.
3734 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3735 * javax/swing/JCheckBox.java: Likewise.
3736 * javax/swing/JDialog.java: Likewise.
3737 * javax/swing/JRadioButton.java: Likewise.
3738 * javax/swing/JToggleButton.java: Likewise.
3739 * javax/swing/UIManager.java: Likewise.
3740 * javax/swing/border/TitledBorder.java: Likewise.
3741 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3742 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3743 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3744 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3745 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3746 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3747 * javax/swing/text/JTextComponent.java: Likewise.
3748
3749 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3750
3751 * java/net/DatagramPacket.java (setAddress): Removed check for
3752 null address.
3753
3754 2004-07-17 Michael Koch <konqueror@gmx.de>
3755
3756 * java/net/DatagramSocket.java
3757 (getLocalAddress): Check if socket is bound or not.
3758 * java/net/Socket.java
3759 (getLocalAddrss): Check if socket is bound or not.
3760 (getPort): Return -1 when not connected. Dont check getImpl() for
3761 null.
3762 (setReuseAddress): Check if socket is closed.
3763 (isConnected): Check if getImpl() returns null.
3764
3765 2004-07-17 Mark Wielaard <mark@klomp.org>
3766
3767 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3768 on notifier object before calling notifyAll().
3769
3770 2004-07-17 Michael Koch <konqueror@gmx.de>
3771
3772 * gnu/java/nio/channels/FileChannelImpl.java
3773 (finalize): Added javadoc.
3774
3775 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3776
3777 * java/text/CollationElementIterator.java
3778 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3779 (setText): Use ArrayList instead of Vector.
3780
3781 2004-07-17 Michael Koch <konqueror@gmx.de>
3782
3783 * java/nio/ByteOrder.java
3784 (static): Removed. Not needed.
3785 Thanks to Patrick Reali for noticing.
3786 * java/nio/charset/CharsetDecoder.java
3787 (decode): Fix for classpath bug #9177: Reset state before flipping.
3788
3789 2004-07-17 Michael Koch <konqueror@gmx.de>
3790
3791 * java/security/Security.java: Fixed javadocs all over.
3792
3793 2004-07-17 Michael Koch <konqueror@gmx.de>
3794
3795 * gnu/java/awt/EmbeddedWindow.java
3796 (static): Removed.
3797 (addNotify): Set peer via reflection.
3798 (setWindowPeer): Removed.
3799 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3800 * Makefile.am (nat_source_files):
3801 Removed gnu/java/awt/natEmbeddedWindow.cc.
3802 * Makefile.in: Regenerated.
3803
3804 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3805
3806 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3807 assignment.
3808 * configure: Regenerated.
3809
3810 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3811
3812 * configure.in: Use build_noncanonical rather than build_alias.
3813 * configure: Rebuild.
3814
3815 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3816 by logic refactoring. Move default definition of NATIVE closer
3817 to first alternate definition.
3818 * configure: Regenerate.
3819
3820 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3821 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3822 gcj/Makefile.in: Regenerate.
3823 * configure.in: Set ZIP and GCJH. Remove redundant condition
3824 in AM_CONDITIONAL(NATIVE,...)
3825 * configure: Regenerate.
3826
3827 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3828
3829 * configure.in: Use target_noncanonical rather than
3830 target_alias for forward-compatibility with autoconf 2.59.
3831 * configure: Regenerate.
3832 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3833 testsuite/Makefile.am: Substitute target_noncanonical.
3834 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3835 testsuite/Makefile.in: Regenerate.
3836
3837 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3838 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3839 * acinclude.m4: Include acx.m4.
3840 * aclocal.m4: Regenerate.
3841 * configure: Regenerate.
3842
3843 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3844
3845 PR libgcj/16574
3846 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3847 (decimalFormat): New static variable.
3848 (sbuf): Likewise.
3849 (getTime): New. Override Date.getTime().
3850 (toString): Synchronize. Use decimalFormat to format nanos value
3851 correctly. Truncate extra zeros.
3852 (before): Compare getNanos() only if getTime() is equal.
3853 (after): Likewise.
3854
3855 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3856
3857 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3858 * configure.in: ...here.
3859 * aclocal.m4: Regenerate.
3860 * configure: Regenerate.
3861
3862 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3863 * configure: Rebuilt with autoconf 2.13.
3864 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3865 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3866
3867 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3868
3869 PR libgcj/16204
3870 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3871 large file support.
3872 * Makefile.in: Rebuilt.
3873 * testsuite/libjava.lang/LargeFile.java: New test case.
3874 * testsuite/libjava.lang/LargeFile.out: New file.
3875
3876 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3877
3878 * java/beans/EventHandler.java: Remove debugging statements.
3879
3880 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3881
3882 * java/beans/EventHandler.java: New file.
3883 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3884 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3885 testsuite/Makefile.in: Regenerate.
3886
3887 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3888
3889 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3890 flag to the gcj_setup.
3891 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3892 the tclsh.
3893 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3894 deprecation flag change. 58 XFAILS removed.
3895
3896 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3897
3898 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3899 -fno-use-divide-subroutine.
3900 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3901 (HANDLE_FPE): Define.
3902 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3903 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3904 (HANDLE_DIVIDE_OVERFLOW): Define.
3905
3906 2004-07-14 Michael Koch <konqueror@gmx.de>
3907 Matthias Klose <doko@debian.org>
3908
3909 * java/awt/im/InputContext.java: Initialize in, line.
3910
3911 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3912
3913 * interpret.cc (run): Correctly access libffi return values of
3914 integral smaller-than-int type; these are implicitly promoted.
3915
3916 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3917
3918 PR libgcj/7587
3919 * interpret.cc (compile_mutex): New.
3920 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3921 (run): Lock compile_mutex before calling compile() if compilation is
3922 required.
3923 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3924 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3925
3926 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3927
3928 PR libgcj/15713
3929 * include/jvm.h (_Jv_value): New union type.
3930 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3931 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3932 union members.
3933
3934 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3935
3936 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3937 * gnu/awt/xlib/XOffScreenImage.java
3938 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3939 constructor argument. Add constructor using ImageProducer.
3940 (getSource): Implement.
3941 (imageComplete): New method.
3942 (setColorModel): New method.
3943 (setDimensions): New method.
3944 (setHints): New method.
3945 (setPixels): New method.
3946 (setProperties): New method.
3947 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3948 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3949
3950 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3951
3952 PR libgcj/16478
3953 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3954 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3955 (finalizerReady): Now native.
3956 (run): Likewise.
3957 (runFinalizers): Removed.
3958 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3959 a primitive lock, and don't hold it while running the finalizers.
3960 (runFinalizers): Implement. Don't aquire any Java lock.
3961 (finalizerReady): Use lock primitives to signal finalizer thread.
3962
3963 2004-07-11 Mark Wielaard <mark@klomp.org>
3964
3965 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3966 * java/net/URLStreamHandler.java (parseURL): When url file part
3967 doesn't contain a '/' just ignore context.
3968
3969 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3970
3971 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3972 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3973 (MAKE_THROW_FRAME): Do not modify PSW address.
3974 (INIT_SEGV): Install SIGINFO-style signal handler.
3975 (INIT_FPE): Likewise.
3976
3977 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3978
3979 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3980 status. 21 xfail's removed, 1 added.
3981
3982 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3983
3984 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3985
3986 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3987
3988 * java/text/MessageFormat.java
3989 (formatInternal): Append "{n}" if argument n is unavailable.
3990 (format(Object, StringBuffer, FieldPosition)): This
3991 should be equivalent to format(Object[],
3992 StringBuffer, FieldPosition).
3993
3994 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3995
3996 * java.util.Calendar.java (cache): New private static field. Cached
3997 mappings of locales->calendar classes.
3998 (ctorArgTypes): New private static field. Singleton argument for
3999 calendar class constructor lookup.
4000 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4001 Optimize by bypassing reflection instantiation for the
4002 GregorianCalendar case.
4003
4004 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4005
4006 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4007 ResourceBundle.getBundle() calls.
4008 * java/util/GregorianCalendar.java: Likewise.
4009 * java/util/Currency.java: Likewise.
4010 * java/text/BreakIterator.java: Likewise.
4011 * java/text/Collator.java: Likewise.
4012 * java/text/DateFormat.java: Likewise.
4013 * java/text/DateFormatSymbols.java: Likewise.
4014 * java/text/DecimalFormatSymbols.java: Likewise.
4015 * java/text/NumberFormat.java: Likewise.
4016 * java/awt/Window.java: Likewise.
4017
4018 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4019
4020 * java/util/ResourceBundle.java (bundleCache): Renamed from
4021 resourceBundleCache. Update comments.
4022 (getObject): Don't catch MissingResourceException.
4023 (getBundle(String)): Remove 'final'. Use system classloader if
4024 getCallingClassLoader returned null.
4025 (getBundle(String, Locale)): Likewise.
4026 (BundleKey): New private class. HashMap key for bundle cache lookup.
4027 (lookupKey): New. Singleton instance of BundleKey.
4028 (nullEntry): New. Cache entry to represent failed lookups.
4029 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4030 caching strategy, no-allocation lookup, and new tryBundle methods.
4031 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4032 name using given classloader.
4033 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4034 baseName for given Locale and attempt to load bundle.
4035
4036 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4037
4038 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4039 illegal protected method calls.
4040
4041 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4042
4043 Fix or remove some bogus test cases.
4044 * testsuite/libjava.compile/pr10459_2.java: Removed.
4045 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4046 not Object.clone().
4047 * testsuite/libjava.compile/inner_data.java: Test against its own
4048 protected field.
4049
4050 2004-07-09 Michael Koch <konqueror@gmx.de>
4051
4052 * scripts/unicode-muncher.pl: Updated to version 2.1
4053 from GNU classpath. Added some clarifications on where to find the
4054 needed files from www.unicode.org.
4055 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4056 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4057 Removed, these can directly be downloaded from www.unicode.org if
4058 needed.
4059 * gnu/java/lang/CharData.java: Regenerated.
4060 * include/java-chartables.h: Regenerated.
4061 * Makefile.am (ordinary_java_source_files):
4062 Removed gnu/java/lang/CharData.java.
4063 * Makefile.in: Regenerated.
4064
4065 2004-07-09 Michael Koch <konqueror@gmx.de>
4066
4067 * java/security/AccessControlContext.java,
4068 java/security/SecureClassLoader.java:
4069 Fixed javadocs.
4070
4071 2004-07-09 Michael Koch <konqueror@gmx.de>
4072
4073 * java/io/ObjectInputStream.java (readFields): Use long datatype
4074 when shifting byte values more then 24 bits left.
4075
4076 2004-07-09 Michael Koch <konqueror@gmx.de>
4077
4078 * java/util/zip/DeflaterOutputStream.java,
4079 java/util/zip/GZIPInputStream.java,
4080 java/util/zip/GZIPOutputStream.java,
4081 java/util/zip/InflaterInputStream.java:
4082 Reformatted. Added javadocs. Reordered all stuff.
4083 Renamed variables to be more clear.
4084
4085 2004-07-09 Michael Koch <konqueror@gmx.de>
4086
4087 * javax/imageio/IIOException.java,
4088 javax/imageio/event/IIOReadProgressListener.java,
4089 javax/imageio/event/IIOReadUpdateListener.java,
4090 javax/imageio/event/IIOReadWarningListener.java,
4091 javax/imageio/event/IIOWriteProgressListener.java,
4092 javax/imageio/event/IIOWriteWarningListener.java:
4093 New files.
4094 * Makefile.am: Added new files.
4095 * Makefile.in: Regenerated.
4096
4097 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4098
4099 * java/text/RuleBasedCollator.java
4100 (mergeRules): Use ArrayList instead of Vector.
4101 (subParseString): likewise.
4102 (parseString): likewise.
4103 (buildCollationVector): likewise.
4104 (getCollationKey): likewise.
4105
4106 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4107
4108 * java/text/DateFormat.java (parse):
4109 Improved javadoc. Improved exception message.
4110
4111 2004-07-09 Mark Wielaard <mark@klomp.org>
4112
4113 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4114 interrupted() method to clear interupt flag of our Thread.
4115
4116 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4117
4118 * java/nio/Buffer.java,
4119 java/nio/ByteBuffer.java,
4120 java/nio/ByteBufferHelper.java,
4121 java/nio/ByteBufferImpl.java,
4122 java/nio/CharBuffer.java,
4123 java/nio/CharBufferImpl.java,
4124 java/nio/CharViewBufferImpl.java,
4125 java/nio/DirectByteBufferImpl.java,
4126 java/nio/DoubleBuffer.java,
4127 java/nio/DoubleBufferImpl.java,
4128 java/nio/DoubleViewBufferImpl.java,
4129 java/nio/FloatBuffer.java,
4130 java/nio/FloatBufferImpl.java,
4131 java/nio/FloatViewBufferImpl.java,
4132 java/nio/IntBuffer.java,
4133 java/nio/IntBufferImpl.java,
4134 java/nio/IntViewBufferImpl.java,
4135 java/nio/LongBuffer.java,
4136 java/nio/LongBufferImpl.java,
4137 java/nio/LongViewBufferImpl.java,
4138 java/nio/MappedByteBufferImpl.java,
4139 java/nio/ShortBuffer.java,
4140 java/nio/ShortBufferImpl.java,
4141 java/nio/ShortViewBufferImpl.java:
4142 Fixed javadocs all over. Improved input error
4143 checking.
4144
4145 * java/nio/Buffer.java
4146 (checkForUnderflow, checkForOverflow, checkIndex,
4147 checkIfReadOnly, checkArraySize): New helper methods
4148 for error checking.
4149
4150 * java/nio/ByteBufferHelper.java
4151 (checkRemainingForRead, checkRemainingForWrite,
4152 checkAvailableForRead, checkAvailableForWrite): Removed
4153 no longer needed methods.
4154
4155 2004-07-09 Michael Koch <konqueror@gmx.de>
4156
4157 * gnu/regexp/CharIndexedInputStream.java:
4158 Reordered imports to match classpath.
4159
4160 2004-07-09 Michael Koch <konqueror@gmx.de>
4161
4162 * gnu/java/awt/EmbeddedWindow.java:
4163 Load native library for setWindowPeer method.
4164
4165 2004-07-08 Randolph Chung <tausq@debian.org>
4166
4167 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4168 * configure: Regenerate.
4169 * configure.host: Set can_unwind_signal for hppa*-linux.
4170 * include/pa-signal.h: New file.
4171
4172 2004-07-07 Per Bothner <per@bothner.com>
4173
4174 * Makefile.am: Add rules to build libgij from just gij.cc.
4175
4176 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4177 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4178 (initializeClass): If verbose_class_flag, print message.
4179 * gij.cc (main): Handle -verbose:class flag.
4180
4181 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4182
4183 * configure.host: Enable hash synchronization on Darwin.
4184 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4185 ';', since this is a comment on Darwin.
4186 (compare_and_swap_release): Likewise.
4187
4188 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4189
4190 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4191 file portion of URL in addition to spec for file: protocol.
4192
4193 2004-07-05 Anthony Green <green@redhat.com>
4194
4195 * java/io/File.java (toURI): Merge from Classpath.
4196
4197 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4198
4199 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4200 before passing to URL constructor. Rethrow any MalformedURLException
4201 as a RuntimeException. Catch MalformedURLException specifically, not
4202 all exceptions.
4203
4204 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4205
4206 * java/util/Locale.java (readObject): Intern strings read from object
4207 stream.
4208
4209 2004-07-04 Michael Koch <konqueror@gmx.de>
4210
4211 * gnu/gcj/runtime/FirstThread.java,
4212 gnu/gcj/runtime/natFirstThread.cc: Removed.
4213 * gnu/java/lang/MainThread.java,
4214 gnu/java/lang/natMainThread.cc: New files.
4215 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4216 * Makefile.am: Added new files and removed deleted ones.
4217 * Makefile.in: Regenerated.
4218
4219 2004-07-03 Mark Wielaard <mark@klomp.org>
4220 Anthony Green <green@redhat.com>
4221
4222 * java/net/URL.java (getFile): Clarify return value doc.
4223 (getPath): Return null if file is empty - not empty String.
4224 (set): Convert protocol to lower case before doing anything.
4225 Only change the protocol handler if it's different.
4226
4227 2004-07-03 Anthony Green <green@redhat.com>
4228
4229 * java/net/URL.java (URL): Convert protocol to lower case before
4230 doing anything, so we getURLStreamHandler() with the proper value.
4231
4232 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4233
4234 * java/util/Locale.java (hashcode): Made transient.
4235 (hashCode): No longer synchronized.
4236 (equals): Remove comment.
4237 (writeObject): No longer synchronized. Implement using writeObject
4238 calls instead of tweaking hashCode field. Update doc.
4239 (readObject): Implement using readObject calls.
4240
4241 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4242 Andreas Tobler <a.tobler@schweiz.ch>
4243
4244 * configure.host (powerpc-*-darwin*): New case, define
4245 can_unwind_signal.
4246 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4247 * configure: Regenerate.
4248 * include/darwin-signal.h: New.
4249
4250 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4251
4252 * java/beans/Statement.java (doExecute): Fix formatting.
4253
4254 2004-06-29 Per Bothner <per@bothner.com>
4255
4256 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4257 etc etc): Remove needless parenthesis, which causes __stdcall__
4258 attribute on MinGW to get ignored.
4259
4260 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4261
4262 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4263
4264 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4265
4266 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4267
4268 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4269
4270 * java/beans/Expression.java: New file.
4271 * java/beans/Statement.java: New file.
4272 * Makefile.am: Added new files.
4273 * Makefile.in: Re-generate.
4274
4275 2004-06-27 Mark Wielaard <mark@klomp.org>
4276
4277 * java/io/FilePermission.java (usingPerms): Removed.
4278 (actionsString): Made final.
4279 (cachePerms): Renamed to checkPerms.
4280 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4281 on action String.
4282 (FilePermission): Check arguments, call checkPerms().
4283 (equals): Remove cachePerms() call.
4284 (implies): Likewise.
4285
4286 2004-06-27 Mark Wielaard <mark@klomp.org>
4287
4288 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4289 final field.
4290 (sendRequest): Use new field in user-agent http agent.
4291
4292 2004-06-27 Mark Wielaard <mark@klomp.org>
4293
4294 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4295 when argument is null.
4296
4297 2004-06-26 Mark Wielaard <mark@klomp.org>
4298
4299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4300 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4301 GetMethodID call.
4302 (cancel_clicked): Likewise.
4303
4304 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4305
4306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4307 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4308 can not calculate the right value.
4309 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4310
4311 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4312
4313 * testsuite/libjava.jacks/jacks.xfail: Remove
4314 15.9.1-qualified-concrete-20.
4315
4316 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4317
4318 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4319 encoding name to iconv.
4320 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4321
4322 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4323
4324 PR libgcj/16134:
4325 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4326 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4327 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4328
4329 2004-06-21 Andrew Haley <aph@redhat.com>
4330
4331 * java/io/ObjectOutputStream.java: Add DEBUG statements
4332 everywhere.
4333 (dumpElementln): New method.
4334 (depth): New field.
4335 * java/io/ObjectInputStream.java
4336 (currentClassLoader): Make native.
4337 (callersClassLoader): New field.
4338 (depth): New field.
4339 (readObject): ENDBLOCKDATA is generated if the class has a write
4340 method, not if it has a read method.
4341 (readObject): Save and restore this.currentObject and
4342 this.currentObjectStreamClass around calls to callReadMethod().
4343 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4344 method.
4345
4346 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4347
4348 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4349 darwin.
4350
4351 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4352
4353 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4354 if desired, before the default class loader is initialised.
4355 Call INIT_SEGV only if HANDLE_SEGV is defined.
4356
4357 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4358
4359 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4360 directory only if it actually exists.
4361
4362 2004-06-18 Graydon Hoare <graydon@redhat.com>
4363
4364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4365 Fix up non-ansi comments.
4366
4367 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4368
4369 * javax/swing/text/AbstractDocument.java: Adding missing import
4370 for javax.swing.event.EventListenerList.
4371 * javax/swing/text/DefaultCaret.java: Likewise.
4372
4373 2004-06-17 Michael Koch <konqueror@gmx.de>
4374
4375 * javax/swing/JToolBar.java
4376 (name): Removed.
4377 (JToolBar): Use Component.setName(String) instead of doing it all
4378 alone.
4379 * javax/swing/Timer.java
4380 (queueEvent): Added missing modifier.
4381
4382 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4383
4384 * Makefile.am: Added new file.
4385 * Makefile.in: Re-generate.
4386 * javax/swing/JMenu.java:
4387 (insertSeparator): Implemented.
4388 * javax/swing/JPopupMenu.java:
4389 (JPopupMenu.Separator): Implemented.
4390 * javax/swing/MenuSelectionManager.java:
4391 (processMouseEvent): Use java.awt.Component
4392 for event source instead of javax.swing.JComponent.
4393 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4394 New File. Implemented.
4395
4396 2004-06-16 David Jee <djee@redhat.com>
4397
4398 * java/awt/GridBagLayout.java
4399 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4400 Make sure pos_x and pos_y are never negative.
4401
4402 2004-04-16 Andrew Overholt <overholt@redhat.com>
4403
4404 * Makefile.am: Add new file.
4405 * Makefile.in: Re-generate.
4406 * javax/swing/JToolBar.java
4407 Partially implemented.
4408 * javax/swing/plaf/basic/BasicToolBarUI.java
4409 New file. Partially implemented.
4410
4411 2004-06-16 Graydon Hoare <graydon@redhat.com>
4412
4413 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4414 (setComposite): Accept AlphaComposite arguments.
4415 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4416 (createBufferedImage): Add new overloads.
4417 * gnu/java/awt/peer/gtk/GtkToolkit.java
4418 (createImage): Use GdkPixbufDecoder.createBufferedImage
4419 when useGraphics2D() is true.
4420 (getImage): Delegate to createImage.
4421 * javax/swing/JList.java
4422 (isSelectionEmpty):
4423 (getFirstVisibleIndex):
4424 (getLastVisibleIndex):
4425 (setSelectedValue):
4426 (ensureIndexIsVisible): New methods.
4427 * javax/swing/Timer.java: Reimplement.
4428
4429 2004-06-16 Michael Koch <konqueror@gmx.de>
4430
4431 * javax/swing/text/AbstractDocument.java
4432 (AbstracElement): Made public, implements java.io.Serializable.
4433 (AttributeContext): Made public.
4434 (BranchElement): Likewise.
4435 (Content): Likewise.
4436 (DefaultDocumentEvent): Made public, extends
4437 javax.swing.undo.CompoundEdit.
4438 (ElementEdit): Made public, extends
4439 javax.swing.undo.AbstractUndoableEdit.
4440 (LeafElement): Made public.
4441 (LeafElement.LeafElement): Made public.
4442
4443 2004-06-16 Michael Koch <konqueror@gmx.de>
4444
4445 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4446 methods (that were obviously never be intended to get included hi this
4447 class. Added some methods too.
4448
4449 2004-06-16 Michael Koch <konqueror@gmx.de>
4450
4451 * javax/swing/text/PlainDocument.java
4452 (serialVersionUID): New constant.
4453 (lineLimitAttribute): Likewise.
4454 (tabSizeAttribute): Likewise.
4455 (tabSize): New field.
4456 (PlainDocument): Made public.
4457 (PlainDocument): New constructor.
4458
4459 2004-06-16 Michael Koch <konqueror@gmx.de>
4460
4461 * javax/swing/text/AbstractDocument.java
4462 (insertString): Throws BadLocationException.
4463 * javax/swing/text/Document.java
4464 (insertString): Likewise.
4465 * javax/swing/text/JTextComponent.java:
4466 Javadocs and comments cleaned up.
4467
4468 2004-06-16 Michael Koch <konqueror@gmx.de>
4469
4470 * javax/swing/event/UndoableEditListener.java: Reformatted.
4471 * javax/swing/text/AbstractDocument.java
4472 (AbstractDocument): Implements java.io.Serializable.
4473 (doc_list): Removed.
4474 (undo_list): Removed.
4475 (AbstractElement.serialVerionUID): New field.
4476 (BranchElement.serialVerionUID): Likewise.
4477 (DefaultDocumentEvent.serialVerionUID): Likewise.
4478 (ElementEdit.serialVerionUID): Likewise.
4479 (LeafElement.serialVerionUID): Likewise.
4480 (serialVerionUID): Likewise.
4481 (BAD_LOCATION): New constant.
4482 (BidiElementName): Likewise.
4483 (ContentElementName): Likewise.
4484 (ParagraphElementName): Likewise.
4485 (SectionElementName): Likewise.
4486 (ElementNameAttribute): Likewise.
4487 (AbstractDocument): Made protected.
4488 (AbstractDocument): New construtor.
4489 (listenerList): New field.
4490 (fireChangedUpdate): Implemented.
4491 (fireInsertUpdate): Likewise.
4492 (fireRemoveUpdate): Likewise.
4493 (fireUndoableEditUpdate): Likewise.
4494 (getListeners): Likewise.
4495 (addDocumentListener): Likewise.
4496 (removeDocumentListener): Likewise.
4497 (addUndoableEditListener): Likewise.
4498 (removeUndoableEditListener): Likewise.
4499 (getDocumentListeners): New method.
4500 (getUndoableEditListeners): Likewise.
4501 (getAsynchronousLoadPriority): Made public.
4502 (getBidiRootElement): Likewise.
4503 (setAsynchronousLoadPriority): Likewise.
4504 (setDocumentProperties): Likewise.
4505 * javax/swing/text/BadLocationException.java
4506 (serialVerionUID): New field.
4507 * javax/swing/text/DefaultCaret.java
4508 (changeEvent): New field.
4509 (listenerList): Likewise.
4510 (changes): Removed.
4511 (addChangeListener): Reimplemented.
4512 (removeChangeListener): Likewise.
4513 (getListeners): New method.
4514 (getChangeListeners): Likwise.
4515 (getComponent): Likewise.
4516 * javax/swing/text/GapContent.java
4517 (GapContent): Implements java.io.Serializable.
4518 (serialVerionUID): New field.
4519
4520 2004-06-16 Michael Koch <konqueror@gmx.de>
4521
4522 * javax/swing/JTree.java
4523 (treeModel): New field.
4524 (JTree): New constructors, one existing one made public.
4525 (createTreeModel): New method.
4526 (addTreeExpansionListener): Likewise.
4527 (removeTreeExpansionListener): Likewise.
4528 (getTreeExpansionListeners): Likewise.
4529 (fireTreeCollapsed): Likewise.
4530 (fireTreeExpanded): Likewise.
4531 (addTreeSelectionListener): Likewise.
4532 (removeTreeSelectionListener): Likewise.
4533 (getTreeSelectionListeners): Likewise.
4534 (fireValueChanged): Likewise.
4535 (addTreeWillExpandListener): Likewise.
4536 (removeTreeWillExpandListener): Likewise.
4537 (getTreeWillExpandListeners): Likewise.
4538 (fireTreeWillCollapse): Likewise.
4539 (fireTreeWillExpand): Likewise.
4540
4541 2004-06-16 Michael Koch <konqueror@gmx.de>
4542
4543 * javax/swing/JTree.java: Reformatted.
4544
4545 2004-06-16 Michael Koch <konqueror@gmx.de>
4546
4547 * javax/swing/JTextArea.java: New file.
4548 * javax/swing/JTextField.java
4549 (actions): Removed.
4550 (notifyAction): New constant.
4551 (columns): New field.
4552 (JTextField): New constructors.
4553 (createDefaultModel): New method.
4554 (addActionListener): Reimplmemented.
4555 (removeActionListener): Reimplemented.
4556 (getActionListeners): New method.
4557 (fireActionPerformed): New method.
4558 (getColumns): New method.
4559 (setColumne): New method.
4560 * javax/swing/text/JTextComponent.java
4561 (AccessibleJTextComponent.serialVersionUID): New field.
4562 (serialVersionUID): Likewise.
4563 (DEFAULT_KEYMAP): Likewise.
4564 (FOCUS_ACCELERATOR_KEY): Likewise.
4565 (doc): Made private.
4566 (icon_gap): Likewise.
4567 (icon): Likewise.
4568 (align): Likewise.
4569 (JTextComponent): Some constructors removed.
4570 (getScrollableTracksViewportHeight): New method.
4571 (getScrollableTracksViewportWidth): Likewise.
4572 * Makefile.am: Added javax/swing/JTextArea.java.
4573 * Makefile.in: Regenerated.
4574
4575 2004-06-15 Graydon Hoare <graydon@redhat.com>
4576
4577 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4578 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4579 * javax/swing/JViewport.java
4580 (getExtentSize): Return size rather than preferred size.
4581 (toViewCoordinates): New methods.
4582 (getViewSize): Return size rather than preferred size.
4583 (setViewSize): Note view size as set.
4584 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4585 * javax/swing/plaf/basic/BasicScrollBarUI.java
4586 (getPreferredSize): Don't redo layout.
4587 * javax/swing/plaf/basic/BasicViewportUI.java
4588 (paint): Translate image properly and eat exceptions.
4589
4590 2004-06-15 Kim Ho <kho@redhat.com>
4591
4592 * javax/swing/JTabbedPane.java
4593 (setComponent): Remove old component and
4594 add new component.
4595 (setSelectedIndex): Don't operate on the
4596 components if they're null. Don't set index
4597 on the model if the index is the same.
4598 (insertTab): Don't add or hide the component
4599 if it's null. Repaint the container.
4600 * javax/swing/plaf/basic/BasicLookAndFeel.java
4601 Change colors for TabbedPane.
4602 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4603 (mousePressed): Re-layout and paint the component.
4604 (layoutContainer): Don't set location on the view.
4605 (ScrollingViewport::paint): Remove.
4606
4607 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4608
4609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4610 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4611
4612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4613 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4614 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4615 critical region.
4616 (drawLine): Call gdk_flush before leaving GDK critical region.
4617 (fillRect): Likewise.
4618 (drawRect): Likewise.
4619 (copyArea): Likewise.
4620 (copyPixmap): Likewise.
4621 (clearRect): Likewise.
4622 (drawArc): Likewise.
4623 (drawPolyline): Likewise.
4624 (drawPolygon): Likewise.
4625 (fillPolygon): Likewise.
4626 (fillArc): Likewise.
4627 (drawOval): Likewise.
4628 (fillOval): Likewise.
4629
4630 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4631 style parameter.
4632 (GdkFontMetrics): Add style argument to initState call.
4633 (stringWidth(String,int,int,String)): Add style parameter.
4634 (stringWidth(String)): Add style argument to stringWidth call.
4635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4636 (initState): Set pango font style and weight based on AWT style
4637 parameter. Pass default GTK language to
4638 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4639 simply dividing by PANGO_SCALE.
4640 (stringWidth): Set pango font style and weight based on AWT style
4641 parameter.
4642
4643 * java/awt/Button.java (next_button_number): New field.
4644 (paramString): Change output.
4645 (generateName): New method.
4646 (getUniqueLong): New method.
4647
4648 2004-06-14 Kim Ho <kho@redhat.com>
4649
4650 * javax/swing/JTabbedPane.java:
4651 (setComponentAt): Set the component, not
4652 the enabled status.
4653 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4654 (actionPerformed): Let deiconize catch exception.
4655
4656 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4657
4658 * javax/swing/JPopupMenu.java:
4659 (setVisible): Corrected location of a
4660 heavyweight popup menu.
4661
4662 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4663
4664 * javax/swing/MenuSelectionManager.java:
4665 Ran through jalopy to fix formatting style.
4666
4667 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4668
4669 * javax/swing/JLayeredPane.java:
4670 (remove): Revalidate and repaint layered pane after
4671 the component was removed.
4672 javax/swing/JMenu.java:
4673 (setVisible): Display popup menu at the user location,
4674 if one was set by the user.
4675 (setMenuLocation): Reimplemented. Fixed javadoc.
4676 * javax/swing/JMenuBar.java: Added javadoc.
4677 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4678 (MODEL_CHANGED_PROPERTY): New Property.
4679 (isSelected): Implemented.
4680 (setBorderPainted): Fire PropertyChangeEvent
4681 if paintBorder property changes.
4682 (setSelected): Implemented.
4683 (setSelectionModel): Implemented.
4684 * javax/swing/JPopupMenu.java: Added Javadoc
4685 (pack): Implemented.
4686 (setVisible): Reimplemented.
4687 (show): Fixed location.
4688 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4689 Container instead of JPanel.
4690 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4691 (clearSelectedPath): Reimplemented to clear selectedPath
4692 in reverse order.
4693 (processMouseEvent): Reimplemented.
4694 (setSelectedPath): Fire stateChange event indicating that
4695 selected menu path has changed.
4696 (getPath): Change to use ArrayList instead of Vector.
4697 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4698 (installUI): call installKeyboardActions().
4699 (uninstallUI): call uninstallKeyboardActions().
4700
4701 2004-06-13 Michael Koch <konqueror@gmx.de>
4702
4703 * javax/swing/text/DefaultCaret.java,
4704 javax/swing/text/BadLocationException.java:
4705 Reformatted.
4706
4707 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4708
4709 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4710 DEFAULT_COLS): New variables.
4711 (create): Don't allow 0 rows or 0 columns. Instead, set the
4712 values to DEFAULT_ROWS or DEFAULT_COLS.
4713 (getMinimumSize): Likewise.
4714 (getPreferredSize): Likewise.
4715 (minimumSize): Likewise.
4716 (preferredSize): Likewise.
4717 (create): Set peer's editable state.
4718 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4719 zero. Update javadocs.
4720 (TextArea(String)): Likewise.
4721 (TextArea(int,int)): Fix javadocs.
4722 (TextArea(String,int,int,int)): Only throw exception if one of
4723 rows or columns is zero. Fix javadocs.
4724
4725 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4726
4727 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4728 addition to Components.
4729
4730 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4731 wasn't consumed by normal processing, send it to the parent
4732 menu.
4733
4734 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4735 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4736 translation.
4737
4738 2004-06-11 David Jee <djee@redhat.com>
4739
4740 * java/awt/MediaTracker.java
4741 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4742 (addImage(Image,int,int,int)): Likewise.
4743
4744 2004-06-11 Michael Koch <konqueror@gmx.de>
4745
4746 * javax/swing/text/AbstractDocument.java,
4747 javax/swing/text/Document.java,
4748 javax/swing/text/GapContent.java,
4749 javax/swing/text/JTextComponent.java,
4750 javax/swing/text/PlainDocument.java:
4751 Reformatted.
4752
4753 2004-06-11 Michael Koch <konqueror@gmx.de>
4754
4755 * javax/swing/JRootPane.java
4756 (AccessibleJRootPane.serialVersionUID): New field.
4757 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4758 (AccessibleJRootPane.getAccessibleRole): New method.
4759 (RootLayout): Implements Serializable.
4760 (RootLayout.serialVersionUID): New field.
4761 (RootLayout.RootLayout): New constructor.
4762 (setJMenuBar): Made public.
4763 (getJMenuBar): Likewise.
4764 (JRootPane): Likewise.
4765 (createContentPane): Likewise.
4766 (createGlassPane): Likewise.
4767 (createLayeredPane): Likewise.
4768
4769 2004-06-11 Michael Koch <konqueror@gmx.de>
4770
4771 * javax/swing/SwingUtilities.java
4772 (isLeftMouseButton): Fixed javadoc.
4773 (isMiddleMouseButton): Likewise.
4774 (isRightMouseButton): Likewise.
4775
4776 2004-06-11 Michael Koch <konqueror@gmx.de>
4777
4778 * javax/swing/JScrollPane.java
4779 (serialVersionUID): New field.
4780 (columnHeader): Made protected.
4781 (rowHeader): Likewise.
4782 (lowerLeft): Likewise.
4783 (lowerRight): Likewise.
4784 (upperLeft): Likewise.
4785 (upperRight): Likewise.
4786 (horizontalScrollBar): Likewise.
4787 (horizontalScrollBarPolicy): Likewise.
4788 (verticalScrollBar): Likewise.
4789 (verticalScrollBarPolicy): Likewise.
4790 (viewport): Likewise.
4791
4792 2004-06-11 Michael Koch <konqueror@gmx.de>
4793
4794 * javax/swing/LookAndFeel.java: Fixed javadocs.
4795
4796 2004-06-11 Michael Koch <konqueror@gmx.de>
4797
4798 * javax/swing/JEditorPane.java: Fixed javadocs.
4799 (JEditorPane): Removed redundant call to to this().
4800 (fireHyperlinkUpdate): Implemented.
4801
4802 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4803
4804 * javax/swing/JMenu.java: Fixed file name
4805 in the file comment.
4806
4807 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4808
4809 * javax/swing/JMenu.java: Added javadoc.
4810 (JMenu): Added MenuChangeListener to listen to
4811 ChangeEvents occuring in menu's model.
4812 (insert): Throw IllegalArgumentException if
4813 index is less than 0
4814 (setSelected): Reimplement.
4815 (setPopupMenuVisible): Call menu's model isEnabled()
4816 (setDelay): Throw IllegalArgumentException if
4817 given amount of delay is less than 0.
4818 (createActionComponent): Implemented.
4819 (createActionChangeListener): Implemented.
4820 (addSeparator): Implemented.
4821 (getItem): Throw IllegalArgumentException if index is
4822 less than 0.
4823 (getItemCount): Implemented.
4824 (fireMenuSelected): Changed to use menuEvent.
4825 (fireMenuDeselected): Likewise.
4826 (fireMenuCanceled): Likewise.
4827 (setAccelerator): Changed to throw an error if this
4828 method is used.
4829 (doClick): Implemented.
4830 (JMenu.ActionChangedListener): New inner class to handle
4831 PropertyChangeEvents occuring in the actions associated with menu.
4832 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4833 (BasicMenuUI): Added PropertyChangeListener to the menu.
4834 (createChangeListener): Implemented.
4835 (createMenuDragMouseListener): Likewise.
4836 (createMenuKeyListener): Likewise.
4837 (createPropertyChangeListener): Likewise.
4838 (uninstallListeners): Likewise.
4839 (BasicMenuUI.MouseInputHandler): Reimplemented.
4840 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4841 (BasicMenuUI.ChangeHandler): Likewise.
4842 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4843 (BasicMenuUI.MenuKeyHandler): Likewise.
4844
4845 2004-06-10 David Jee <djee@redhat.com>
4846
4847 * java/awt/MediaTracker.java
4848 (imageUpdate): Only do notifyAll() if the image is complete.
4849
4850 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4851
4852 * javax/swing/JApplet.java:
4853 (getJMenuBar): Made public.
4854 (setJMenuBar): Likewise.
4855 * javax/swing/JFrame.java:
4856 (getJMenuBar): Made public.
4857 (setJMenuBar): Likewise.
4858 * javax/swing/JWindow.java:
4859 (getJMenuBar): Removed.
4860 (setJMenuBar): Removed.
4861
4862 2004-06-10 Michael Koch <konqueror@gmx.de>
4863
4864 * javax/swing/JEditorPane.java
4865 (createEditorKitForContentType): Fixed visibility.
4866 (fireHyperlinkUpdate): Likewise.
4867 (getContentType): Likewise.
4868 (getEditorKit): Likewise.
4869 (getEditorKitForContentType): Likewise.
4870 (getPage): Likewise.
4871 (read): Likewise.
4872 (registerEditorKitForContentTyoe): Likewise.
4873 (replaceSelection): Likewise.
4874 (setContentType): Likewise.
4875 (setEditorKit): Likewise.
4876 (setPage): Likewise.
4877
4878 2004-06-10 Michael Koch <konqueror@gmx.de>
4879
4880 * javax/swing/Timer.java
4881 (Timer): New constructor.
4882 * javax/swing/plaf/basic/BasicProgressBarUI.java
4883 (animationTimer): Don't initialize at construction.
4884 (startAnimationTimer): Added since tag.
4885 (stopAnimationTimer): Likewise.
4886 (installUI): Use new Timer constructor.
4887 * javax/swing/plaf/basic/BasicScrollBarUI.java
4888 (installUI): Likewise.
4889 * javax/swing/plaf/basic/BasicSliderUI.java
4890 (installUI): Likewise.
4891
4892 2004-06-10 Michael Koch <konqueror@gmx.de>
4893
4894 * javax/swing/ButtonGroup.java
4895 (serialVersionUID): Made private.
4896 (buttons): Renamed from v, added javadoc.
4897 (sel): Added javadoc.
4898 (ButtonGroup): Likewise.
4899 (add): Likewise.
4900 (remove): Likewise.
4901 (getElements): Likewise.
4902 (getSelection): Likewise.
4903 (setSelected): Likewise.
4904 (isSelected): Likewise.
4905 (getButtonCount): Likewise.
4906
4907 2004-06-10 Michael Koch <konqueror@gmx.de>
4908
4909 * javax/swing/ButtonGroup.java,
4910 javax/swing/ImageIcon.java,
4911 javax/swing/JEditorPane.java,
4912 javax/swing/JRootPane.java,
4913 javax/swing/JTextField.java,
4914 javax/swing/LookAndFeel.java,
4915 javax/swing/plaf/basic/BasicTextUI.java:
4916 Reindented.
4917
4918 2004-06-10 Michael Koch <konqueror@gmx.de>
4919
4920 * javax/swing/text/Style.java: Added javadocs.
4921
4922 2004-06-10 Michael Koch <konqueror@gmx.de>
4923
4924 * javax/swing/JComponent.java
4925 (fireVetoableChange): Removed redundant cast.
4926 * javax/swing/JLabel.java
4927 (getDisabledIcon): Save icon for next call.
4928
4929 2004-06-10 Michael Koch <konqueror@gmx.de>
4930
4931 * javax/swing/KeyStroke.java
4932 (getKeyStroke(char,boolean)): Marked deprecated.
4933
4934 2004-06-10 Michael Koch <konqueror@gmx.de>
4935
4936 * javax/swing/DefaultCellEditor.java,
4937 javax/swing/GrayFilter.java,
4938 javax/swing/event/DocumentEvent.java,
4939 javax/swing/text/JTextComponent.java,
4940 javax/swing/text/MutableAttributeSet.java:
4941 Reindented.
4942
4943 2004-06-10 Michael Koch <konqueror@gmx.de>
4944
4945 * javax/swing/plaf/BorderUIResource.java:
4946 Added serialVersionUID all over.
4947
4948 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
4949
4950 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4951
4952 2004-06-10 Michael Koch <konqueror@gmx.de>
4953
4954 * javax/swing/table/DefaultTableCellRenderer.java
4955 (noFocusBorder): Initialize directly.
4956
4957 2004-06-10 Michael Koch <konqueror@gmx.de>
4958
4959 * javax/swing/plaf/basic/BasicArrowButton.java
4960 (setDirection): Use method argument.
4961
4962 2004-06-10 Michael Koch <konqueror@gmx.de>
4963
4964 * javax/swing/plaf/BorderUIResource.java,
4965 javax/swing/plaf/ComponentUI.java,
4966 javax/swing/undo/CompoundEdit.java,
4967 javax/swing/undo/StateEdit.java:
4968 Fixed javadocs all over.
4969
4970 2004-06-10 Michael Koch <konqueror@gmx.de>
4971
4972 * javax/swing/DefaultButtonModel.java
4973 (ARMED): Made public final, fixed value.
4974 (ENABLED): Likewise.
4975 (PRESSED): Likewise.
4976 (ROLLOVER): Likewise.
4977 (SELECTED): Likewise.
4978 (stateMask): Initialize directly.
4979 (listenerList): Likewise.
4980 (mnemonic): Likewise.
4981 (fireStateChanged): Removed argument, use changeEvent as event.
4982 All places where this method is called are fixed too.
4983 (getActionCommant): Fixed javadoc.
4984 (setGroup): Fixed javadoc.
4985 (getGroup): New method.
4986
4987 2004-06-09 Olga Rodimina <rodimina@redhat.com>
4988
4989 * javax/swing/AbstractButton.java
4990 (AbstractButton): Use init() to initialize the button.
4991 (init): New Method. Initializes AbstractButton.
4992 * javax/swing/JMenuItem.java: Documented.
4993 (JMenuItem): Reimplemented.
4994 (init): Implemented.
4995 (setEnabled): Changed to call super.setEnabled()
4996 (processMouseEvent): Reimplemented.
4997 (fireMenuKeyPressed): Implemented.
4998 (fireMenuKeyReleased): Implemented.
4999 (fireMenuKeyTyped): Implemented.
5000 (menuSelectionChanged): disarm the model if the menu item was
5001 deselected.
5002 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5003 (getPath): Change to use ArrayList instead of Vector.
5004 (getPreferredSize): Renamed variable.
5005 (paintMenuItem): Paint margin area of menu item.
5006 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5007 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5008 menu item's bounds before clearing the selection.
5009
5010 2004-06-09 David Jee <djee@redhat.com>
5011
5012 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5013 (GtkTextComponentPeer): Set caret position to 0.
5014 * java/awt/TextComponent.java
5015 (setText): Set caret position to 0.
5016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5017 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5018 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5019 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5020 Likewise.
5021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5022 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5023 visible.
5024
5025 2004-06-09 Kim Ho <kho@redhat.com>
5026
5027 * Makefile.am: New files
5028 * Makefile.in: Regenerated
5029 * java/awt/Container.java
5030 (getComponentAt): Removed.
5031 * javax/swing/AbstractAction.java
5032 (ENABLED_PROPERTY): New property.
5033 (putValue): Fire PropertyChangeEvents.
5034 (setEnabled): ditto.
5035 (firePropertyChange): Javadoc and implement
5036 convenience method.
5037 * javax/swing/AbstractButton.java
5038 (setAction): Don't create PropertyChangeListener
5039 if new Action is null.
5040 (setIcon): Don't set icon till after comparing
5041 it.
5042 (configurePropertiesFromAction): Check mnemonic
5043 key before calling intValue().
5044 (createActionPropertyChangeListener): Check
5045 properties rather than bulk change.
5046 * javax/swing/DefaultDesktopManager.java:
5047 Implement.
5048 * javax/swing/DesktopManager.java:
5049 Jalopy and javadoc.
5050 * javax/swing/JComponent.java
5051 (fireVetoableChange): Implement.
5052 (paintImmediately): Use root component.
5053 * javax/swing/JDesktopPane.java: Implement
5054 * javax/swing/JInternalFrame.java: Implement
5055 * javax/swing/JLabel.java
5056 (getDisabledIcon): Return grayscaled icon if
5057 no disabled icon specified.
5058 * javax/swing/JMenuBar.java
5059 (getComponentAtIndex): Use getComponent
5060 * javax/swing/JOptionPane.java
5061 (getDesktopPaneForComponent): Use SwingUtilities'
5062 getAncestorOfClass
5063 (getFrameForComponent): ditto.
5064 * javax/swing/JSplitPane.java
5065 (remove): Use getComponent.
5066 * javax/swing/SwingUtilities.java
5067 (convertPoint): Implement.
5068 * javax/swing/plaf/basic/BasicButtonUI.java
5069 (paintButtonNormal): Check opaqueness before
5070 filling background.
5071 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5072 Implement
5073 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5074 Implement.
5075 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5076 Implement.
5077 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5078 Implement.
5079 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5080 Change InternalFrame and Desktop colors.
5081
5082 2004-06-09 David Jee <djee@redhat.com>
5083
5084 * java/awt/Container.java
5085 (remove): Do not set component to invisible.
5086
5087 2004-06-09 Michael Koch <konqueror@gmx.de>
5088
5089 * javax/swing/tree/DefaultMutableTreeNode.java
5090 (getLeafCount): Renamed enum to e.
5091
5092 2004-06-09 Michael Koch <konqueror@gmx.de>
5093
5094 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5095 (positionForMouseEvent): Removed redundant semicolon.
5096 (continueDrag): Use method arguments.
5097
5098 2004-06-09 Michael Koch <konqueror@gmx.de>
5099
5100 * javax/swing/border/TitledBorder.java,
5101 javax/swing/filechooser/FileSystemView.java,
5102 javax/swing/plaf/basic/BasicButtonListener.java,
5103 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5104 javax/swing/plaf/basic/BasicLabelUI.java,
5105 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5106 javax/swing/plaf/basic/BasicScrollBarUI.java,
5107 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5108 javax/swing/plaf/basic/BasicSliderUI.java,
5109 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5110 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5111 javax/swing/table/JTableHeader.java,
5112 javax/swing/text/AbstractDocument.java,
5113 javax/swing/text/DefaultCaret.java,
5114 javax/swing/text/StyledEditorKit.java,
5115 javax/swing/tree/DefaultTreeCellEditor.java:
5116 Reworked import statements.
5117
5118 2004-06-08 Graydon Hoare <graydon@redhat.com>
5119
5120 * javax/swing/Box.java: Temporarily comment out code
5121 broken due to visibility bug.
5122
5123 2004-06-09 Michael Koch <konqueror@gmx.de>
5124
5125 * javax/swing/ImageIcon.java
5126 (ImageIcon): Added missing constructor.
5127
5128 2004-06-08 Michael Koch <konqueror@gmx.de>
5129
5130 * javax/swing/JToggleButton.java
5131 (JToggleButton): New constructor.
5132 (getAccessibleContext): Moved documentation into javadoc.
5133 (getUIClassID): Likewise.
5134
5135 2004-06-08 Michael Koch <konqueror@gmx.de>
5136
5137 * javax/swing/AbstractButton.java
5138 (getDisabledIcon): Create disabled icon if none exists yet.
5139
5140 2004-06-08 Michael Koch <konqueror@gmx.de>
5141
5142 * javax/swing/plaf/basic/BasicLookAndFeel.java
5143 (initClassDefaults): Added FormattedTextFieldUI.
5144 (loadResourceBundle): Renamed enum to e.
5145
5146 2004-06-08 Michael Koch <konqueror@gmx.de>
5147
5148 * javax/swing/plaf/basic/BasicButtonUI.java
5149 (paintIcon): Simplified.
5150 (paintText): Paint disabled button correctly.
5151
5152 2004-06-08 Michael Koch <konqueror@gmx.de>
5153
5154 * javax/swing/JComponent.java
5155 (createToolTip): Use official JToolTip API.
5156
5157 2004-06-08 Michael Koch <konqueror@gmx.de>
5158
5159 * javax/swing/JToolTip.java
5160 (JToolTip): No arguments in API.
5161 (setTipText): New method.
5162
5163 2004-06-08 Michael Koch <konqueror@gmx.de>
5164
5165 * javax/swing/SwingUtilities.java
5166 (isLeftMouseButton): New method.
5167 (isMiddleMouseButton): New method.
5168 (isRightMouseButton): New method.
5169
5170 2004-06-08 Michael Koch <konqueror@gmx.de>
5171
5172 * javax/swing/AbstractButton.java,
5173 javax/swing/CellRendererPane.java,
5174 javax/swing/JCheckBoxMenuItem.java,
5175 javax/swing/JColorChooser.java,
5176 javax/swing/JComboBox.java,
5177 javax/swing/JComponent.java,
5178 javax/swing/JDesktopPane.java,
5179 javax/swing/JFileChooser.java,
5180 javax/swing/JMenu.java,
5181 javax/swing/JMenuItem.java,
5182 javax/swing/JOptionPane.java,
5183 javax/swing/JPasswordField.java,
5184 javax/swing/JPopupMenu.java,
5185 javax/swing/JProgressBar.java,
5186 javax/swing/JRadioButtonMenuItem.java,
5187 javax/swing/JScrollBar.java,
5188 javax/swing/JSeparator.java,
5189 javax/swing/JSlider.java,
5190 javax/swing/JSplitPane.java,
5191 javax/swing/JTabbedPane.java,
5192 javax/swing/JTextField.java,
5193 javax/swing/JToolBar.java,
5194 javax/swing/text/JTextComponent.java:
5195 Fixed all constructors of accessibility classes.
5196
5197 2004-06-08 Michael Koch <konqueror@gmx.de>
5198
5199 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5200 over.
5201
5202 2004-06-08 Michael Koch <konqueror@gmx.de>
5203
5204 * javax/swing/Box.java
5205 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5206 (AccessibleBoxFiller.serialVersionUID): New member variable.
5207 * javax/swing/DefaultButtonModel.java
5208 (stateMask): Made protected.
5209 (listenerList): Likewise.
5210 (changeEvent): Likewise.
5211 (group): Likewise.
5212 (mnemonic): Likewise.
5213 (actionCommand): Likewise.
5214 (getListeners): New method.
5215 (getActionListeners): New method.
5216 (getItemListeners): New method.
5217 (getChangeListeners): New method.
5218 (fireItemStateChanged): Simplified.
5219 (fireActionPerformed): Simplified.
5220 (fireStateChanged): Simplified.
5221 * javax/swing/JFrame.java
5222 (JFrame): Implements WindowContants.
5223 (HIDE_ON_CLOSE): Removed.
5224 (EXIT_ON_CLOSE): Removed.
5225 (DISPOSE_ON_CLOSE): Removed.
5226 (DO_NOTHING_ON_CLOSE): Removed.
5227 (processWindowEvent): Exit with code 0.
5228 (setDefaultCloseOperation): Do security check before setting value.
5229 * javax/swing/JOptionPane.java
5230 (message): Initialize only in constructor.
5231 * javax/swing/JToolTip.java: Removed unused imports.
5232 * javax/swing/JViewport.java
5233 (serialVersionUID): New member variable.
5234 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5235 (BLIT_SCROLL_MODE): Likewise.
5236 (BACKINGSTORE_SCROLL_MODE): Likewise.
5237 (scrollUnderway): Made protected.
5238 (isViewSizeSet): Likewise.
5239 * javax/swing/ListModel.java: Fixed javadoc.
5240 * javax/swing/Popup.java: Likewise.
5241 * javax/swing/RepaintManager.java
5242 (paintDirtyRegions): Don't use internal classes of
5243 java.util.AbstractMap.
5244 * javax/swing/ScrollPaneConstants.java: Reindented.
5245 * javax/swing/ScrollPaneLayout.java
5246 (viewport): Made protected.
5247 (verticalScrollBar): Made protected, renamed to vsb.
5248 (horizontalScrollBar): Made protected, renamed to hsb.
5249 (rowHeader): Made protected, renamed to rowHead.
5250 (columnHeader): Made protected, renamed to colHead.
5251 (lowerLeft): Made protected.
5252 (lowerRight): Made protected.
5253 (upperLeft): Made protected.
5254 (upperRight): Made protected.
5255 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5256 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5257
5258 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5259
5260 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5261 LOADING if flags has SOMEBITS set.
5262
5263 2004-06-07 Michael Koch <konqueror@gmx.de>
5264
5265 * javax/swing/AbstractButton.java: Reorganized imports.
5266 * javax/swing/ActionMap.java: Likewise.
5267 * javax/swing/DefaultButtonModel.java: Likewise.
5268 * javax/swing/DefaultListModel.java: Likewise.
5269 * javax/swing/ImageIcon.java: Likewise.
5270 (serialVersionUID): New member variable.
5271 * javax/swing/JComboBox.java: Reorganized imports.
5272 * javax/swing/JComponent.java: Likewise.
5273 (ui): Made protected.
5274 (listenerList): Made protected.
5275 (TOOL_TIP_TEXT_KEY): New constant.
5276 (scrollRectToVisible): Removed redundant null check.
5277 * javax/swing/JFrame.java: Reorganized imports.
5278 * javax/swing/JInternalFrame.java: Reorganized imports.
5279 * javax/swing/JProgressBar.java: Likewise.
5280 * javax/swing/JRootPane.java: Likewise.
5281 * javax/swing/JScrollBar.java: Likewise.
5282 * javax/swing/JSeparator.java: Likewise.
5283 * javax/swing/JSlider.java: Likewise.
5284 * javax/swing/JTabbedPane.java: Likewise.
5285 * javax/swing/JTextField.java: Likewise.
5286 * javax/swing/JToolBar.java: Likewise.
5287 * javax/swing/JTree.java: Likewise.
5288 * javax/swing/JViewport.java: Likewise.
5289 * javax/swing/JWindow.java: Likewise.
5290 * javax/swing/KeyStroke.java: Likewise.
5291 * javax/swing/LookAndFeel.java: Likewise.
5292 * javax/swing/MenuSelectionManager.java: Likewise.
5293 * javax/swing/SwingUtilities.java: Likewise.
5294 * javax/swing/Timer.java: Likewise.
5295 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5296 * javax/swing/JList.java
5297 (HORIZONTAL_WRAP): Made final, fixed value.
5298 (VERTICAL): Likewise.
5299 (VERTICAL_WRAP): Likewise.
5300
5301 2004-06-07 Michael Koch <konqueror@gmx.de>
5302
5303 * javax/swing/AbstractButton.java
5304 (serialVersionUID): New member variable.
5305 (AccessibleAbstractButton.serialVersionUID): Likewise.
5306 (AbstractButton): Made public.
5307 * javax/swing/Box.java
5308 (AccessibleBox.serialVersionUID): New member variable.
5309 (Filler.serialVersionUID): Likewise.
5310 * javax/swing/DefaultListSelectionModel.java
5311 (serialVersionUID): Likewise.
5312 * javax/swing/JApplet.java
5313 (serialVersionUID): Likewise.
5314 * javax/swing/JCheckBox.java
5315 (serialVersionUID): Likewise.
5316 * javax/swing/JCheckBoxMenuItem.java
5317 (serialVersionUID): Likewise.
5318 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5319 * javax/swing/JColorChooser.java
5320 (serialVersionUID): Likewise.
5321 (AccessibleJColorChooser.serialVersionUID): Likewise.
5322 * javax/swing/JComponent.java
5323 (serialVersionUID): Made private.
5324 (AccessibleJComponent.serialVersionUID): New member variable.
5325 * javax/swing/JDesktopPane.java
5326 (serialVersionUID): Likewise.
5327 * javax/swing/JDialog.java
5328 (serialVersionUID): Likewise.
5329 * javax/swing/JFormattedTextField.java
5330 (serialVersionUID): Fixed value.
5331 * javax/swing/JFrame.java
5332 (serialVersionUID): New member variable.
5333 (getDefaultCloseOpertation): Made public.
5334 * javax/swing/JLayeredPane.java
5335 (serialVersionUID): Likewise.
5336 (LAYER_PROPERTY): Made final, fixed value.
5337 (JLayeredPane): Made public.
5338 * javax/swing/JMenu.java
5339 (AccessibleJMenu.serialVersionUID): New member variable.
5340 (WinListener.serialVersionUID): Likewise.
5341 * javax/swing/JMenuBar.java
5342 (serialVersionUID): Likewise.
5343 (getComponentAtIndex): Added @deprecated tag.
5344 * javax/swing/JMenuItem.java
5345 (serialVersionUID): New member variable.
5346 (AccessibleJMenuItem.serialVersionUID): Likewise.
5347 * javax/swing/JOptionPane.java
5348 (serialVersionUID): Likewise.
5349 (AccessibleJOptionPane.serialVersionUID): Likewise.
5350 * javax/swing/JPopupMenu.java
5351 (serialVersionUID): Likewise.
5352 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5353 (getPopupMenuListeners): New method.
5354 (getComponentAtIndex): Added @deprecated tag.
5355 * javax/swing/JProgressBar.java
5356 (serialVersionUID): New member variable.
5357 (AccessibleJProgressBar.serialVersionUID): Likewise.
5358 * javax/swing/JRadioButton.java
5359 (serialVersionUID): Likewise.
5360 * javax/swing/JRadioButtonMenuItem.java
5361 (serialVersionUID): Likewise.
5362 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5363 * javax/swing/JScrollBar.java
5364 (serialVersionUID): Likewise.
5365 (AccessibleJScrollBar.serialVersionUID): Likewise.
5366 * javax/swing/JSeparator.java
5367 (serialVersionUID): Likewise.
5368 (AccessibleJSeparator.serialVersionUID): Likewise.
5369 * javax/swing/JSlider.java: Fixed javadocs.
5370 (AccessibleJSlider.serialVersionUID): New member variable.
5371 * javax/swing/JSplitPane.java: Added copyright statement.
5372 (serialVersionUID): New member variable.
5373 (AccessibleJSplitPane.serialVersionUID): Likewise.
5374 * javax/swing/JTabbedPane.java
5375 (serialVersionUID): Likewise.
5376 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5377 (ModelListener.serialVersionUID): Likewise.
5378 (ModelListener.ModelListener): New constructor.
5379 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5380 (WRAP_TAB_LAYOUT): Likewise.
5381 * javax/swing/JTable.java
5382 (serialVersionUID): New member variable.
5383 * javax/swing/JToggleButton.java
5384 (serialVersionUID): Likewise.
5385 (ToggleButtonModel): Made static.
5386 (ToggleButtonModel.serialVersionUID): New member variable.
5387 * javax/swing/JToolTip.java
5388 (serialVersionUID): Likewise.
5389 * javax/swing/JTree.java
5390 (serialVersionUID): Likewise.
5391 * javax/swing/JWindow.java
5392 (serialVersionUID): Likewise.
5393 * javax/swing/Timer.java
5394 (serialVersionUID): Likewise.
5395
5396 2004-06-06 Michael Koch <konqueror@gmx.de>
5397
5398 * javax/swing/SwingConstants.java
5399 (NEXT): New constant.
5400 (PREVIOUS): Likewise.
5401 * javax/swing/UIManager.java
5402 (LookAndFeel): Made public.
5403 (LookAndFeel.getClassName): Likewise.
5404 (LookAndFeel.getName): Likewise.
5405
5406 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5407
5408 * javax/swing/JCheckBoxMenuItem.java:
5409 Removed CVS tags.
5410 * javax/swing/JMenu.java: Likewise.
5411 * javax/swing/JMenuBar.java: Likewise.
5412 * javax/swing/JMenuItem.java: Likewise.
5413 * javax/swing/JPopupMenu.java: Likewise.
5414 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5415 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5416 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5417 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5418 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5419 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5420 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5421
5422 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5423
5424 * javax/swing/plaf/basic/BasicMenuUI.java:
5425 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5426 Call getPath() from super class instead.
5427
5428 2004-05-31 David Jee <djee@redhat.com>
5429
5430 * java/awt/Container.java
5431 (remove): Set component visibility to false after removing it.
5432
5433 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5434
5435 * java/awt/Component.java (getForeground): Return SystemColor if
5436 parent is null.
5437 (getBackground): Likewise.
5438
5439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5440 (item_highlighted): New function.
5441 (connectSignals): Set item_highlighted as list's select
5442 function.
5443
5444 * java/applet/Applet.java: Revert changes from 2004-04-29,
5445 2004-03-15 and 2004-03-14.
5446
5447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5448 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5449 factor.
5450
5451 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5452 "Dialog" as the default font.
5453 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5454 Likewise.
5455 * java/awt/Component.java (getFont): Return "Dialog" font by
5456 default.
5457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5458 Multiply size argument to pango_font_description_set_size by the
5459 DPI conversion factor rather than by PANGO_SCALE.
5460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5470 Divide baseline y coordinate by DPI conversion factor rather
5471 than by PANGO_SCALE.
5472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5473 (area_prepared): Fix typo.
5474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5475 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5477 (dpi_conversion_factor): New global variable.
5478 (init_dpi_conversion_factor): New function to calculate and
5479 track DPI conversion factor.
5480 (dpi_changed_cb): New callback.
5481 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5482
5483 2004-05-27 David Jee <djee@redhat.com>
5484
5485 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5486 (getGraphics): Return a new GdkGraphics instance.
5487 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5488 (getGraphics): Call super.getGraphics().
5489
5490 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5491
5492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5493 (setNativeBounds): Clamp width and height values to >= 0.
5494
5495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5496 (find_fg_color_widget): Handle GtkOptionMenu specially.
5497
5498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5499 (pre_event_handler): Only post configure events to visible
5500 top-level windows.
5501
5502 2004-05-26 David Jee <djee@redhat.com>
5503
5504 * java/awt/BorderLayout.java
5505 (layoutContainer): Fix size calculations.
5506
5507 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5508
5509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5510 (window_wm_protocols_filter): Remove function.
5511 (create): Remove filter that removes WM_TAKE_FOCUS client
5512 messages.
5513
5514 2004-06-17 Anthony Green <green@redhat.com>
5515
5516 * java/util/zip/ZipFile.java (getInputStream): Return null if
5517 entry not found.
5518
5519 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5520 directory contents to the class path.
5521
5522 2004-06-15 Andrew Haley <aph@redhat.com>
5523
5524 * java/lang/natSystem.cc (getenv0): Don't assume environment
5525 variable is Latin 1 coded.
5526
5527 2004-06-14 Andreas Jaeger <aj@suse.de>
5528
5529 * configure.in: Support --enable-version-specific-runtime-libs.
5530 * configure: Regenerated.
5531
5532 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5533
5534 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5535 to pass ClassLoader argument.
5536 * java/util/GregorianCalendar.java: Likewise.
5537 * java/util/Currency.java: Likewise.
5538 * java/text/BreakIterator.java: Likewise.
5539 * java/text/Collator.java: Likewise.
5540 * java/text/DateFormat.java: Likewise.
5541 * java/text/DateFormatSymbols.java: Likewise.
5542 * java/text/DecimalFormatSymbols.java: Likewise.
5543 * java/text/NumberFormat.java: Likewise.
5544 * java/awt/Window.java: Likewise.
5545
5546 2004-06-14 Andrew Haley <aph@redhat.com>
5547
5548 * java/lang/System.java: (getenv0): New method.
5549 (getenv): Add security check. Do the right thing.
5550 * java/lang/natSystem.cc (getenv0): New method.
5551
5552 2004-06-12 Mark Wielaard <mark@klomp.org>
5553
5554 * javax/swing/RepaintManager.java
5555 (paintDirtyRegions): Use entrySet(), not values().
5556
5557 2004-06-10 Mark Wielaard <mark@klomp.org>
5558
5559 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5560 NoSuchMethodError.
5561
5562 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5563
5564 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5565 when we already know the answer.
5566 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5567 (setStartRule,setEndRule): Don't take abs of day number.
5568 (getOffset): Clarify docs. Add argument checks.
5569 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5570 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5571 endTimeMode.
5572
5573 2004-06-10 Tom Tromey <tromey@redhat.com>
5574
5575 * interpret.cc (run): Handle wide fload.
5576
5577 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5578
5579 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5580
5581 2004-06-05 Michael Koch <konqueror@gmx.de>
5582
5583 * javax/swing/SwingConstants.java
5584 (NEXT): New constant.
5585 (PREVIOUS): Likewise.
5586
5587 2004-06-05 Michael Koch <konqueror@gmx.de>
5588
5589 * javax/swing/UIManager.java
5590 (LookAndFeel): Made public.
5591 (LookAndFeel.getName): Likewise.
5592 (LookAndFeel.getClassName): Likewise.
5593
5594 2004-06-03 Michael Koch <konqueror@gmx.de>
5595
5596 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5597 (requestFocus): Revert last changes.
5598 (gtkRequestFocus): Removed.
5599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5600 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5601 Renamed to ...
5602 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5603 Reverted last patch.
5604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5605 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5606 Reverted comment change.
5607
5608 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5609
5610 * javax/swing/JCheckBoxMenuItem.java:
5611 Removed CVS tags.
5612 * javax/swing/JMenu.java: Likewise.
5613 * javax/swing/JMenuBar.java: Likewise.
5614 * javax/swing/JMenuItem.java: Likewise.
5615 * javax/swing/JPopupMenu.java: Likewise.
5616 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5617 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5618 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5619 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5620 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5621 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5622 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5623
5624 2004-06-01 Tom Tromey <tromey@redhat.com>
5625
5626 * java/io/ObjectStreamField.java: Cleaned up imports.
5627
5628 2004-06-01 Michael Koch <konqueror@gmx.de>
5629
5630 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5631
5632 2004-06-01 Mark Wielaard <mark@klomp.org>
5633
5634 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5635
5636 2004-06-01 Michael Koch <konqueror@gmx.de>
5637
5638 * java/security/Security.java
5639 (insertProviderAt): Use equals() instead of ==.
5640 (removeProvicer): Likewise.
5641 (getProvider): Likewise.
5642 * java/security/Signature.java
5643 (sign): Don't set state to UNINITIALIZED.
5644 (verify): Likewise.
5645
5646 2004-06-01 Mark Wielaard <mark@klomp.org>
5647
5648 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5649 Implement by calling gtkRequestFocus.
5650 (gtkRequestFocus): New native method.
5651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5652 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5653 Renamed to ...
5654 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5655 New function name.
5656 (filter_expose_event_handler):
5657 Mark static.
5658 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5659 (menu_pos): Mark static.
5660
5661 2004-06-01 Michael Koch <konqueror@gmx.de>
5662
5663 * java/text/CollationElementIterator.java,
5664 java/text/CollationKey.java,
5665 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5666 * testsuite/libjava.mauve/xfails: Removed all
5667 java.text.CollationElementIterator tests.
5668
5669 2004-06-01 Michael Koch <konqueror@gmx.de>
5670
5671 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5672 version.
5673 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5674 Java 1.5 keyword usage.
5675
5676 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5677
5678 * javax/swing/plaf/basic/BasicMenuUI.java:
5679 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5680 Call getPath() from super class instead.
5681
5682 2004-05-31 Michael Koch <konqueror@gmx.de>
5683
5684 * java/io/SequenceInputStream.java:
5685 Rename enum to e because enum is a keyword in Java 1.5.
5686
5687 2004-05-31 Michael Koch <konqueror@gmx.de>
5688
5689 * gnu/java/rmi/rmic/CompilerProcess.java:
5690 Fixed javadoc to by XHTML compliant.
5691
5692 2004-05-30 Mark Wielaard <mark@klomp.org>
5693
5694 * java/awt/Toolkit.java (loadSystemColors): Implement.
5695
5696 2004-05-30 Michael Koch <konqueror@gmx.de>
5697
5698 * java/lang/System.java: Reordered imports.
5699
5700 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5701
5702 * java/text/DecimalFormat.java
5703 (parse): Fixed parsing of decimal strings. Number of maximum
5704 digits to be read should now work.
5705 * java/text/SimpleDateFormat.java
5706 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5707 formatter. This fixes DateFormatTest.
5708
5709 2004-05-30 Michael Koch <konqueror@gmx.de>
5710
5711 * java/nio/Buffer.java
5712 (limit): Fixed off by one error.
5713 * java/nio/CharBuffer.java
5714 (wrap): Fixed arguments, added javadocs.
5715
5716 2004-05-30 Michael Koch <konqueror@gmx.de>
5717
5718 * gnu/java/beans/BeanInfoEmbryo.java,
5719 java/awt/im/InputContext.java,
5720 javax/swing/tree/DefaultMutableTreeNode.java:
5721 Rename enum to e because enum is a keyword in Java 1.5.
5722
5723 2004-05-30 Michael Koch <konqueror@gmx.de>
5724
5725 * gnu/java/math/MPN.java,
5726 java/awt/geom/Arc2D.java:
5727 Fixed javadocs all over.
5728
5729 2004-05-30 Michael Koch <konqueror@gmx.de>
5730
5731 * java/awt/DefaultKeyboardFocusManager.java
5732 (dispatchEvent): Call method to get key event dispatchers.
5733 (dispatchKeyEvent): Call method to get key event post processors.
5734 * javax/swing/JComponent.java
5735 (listenerList): Made protected.
5736 * javax/swing/JOptionPane.java
5737 (message): Don't initialize.
5738 (JOptionPane): Set message text.
5739 * javax/swing/JPopupMenu.java
5740 (show): Fixed typo in argument name.
5741 * javax/swing/RepaintManager.java
5742 (paintDirtyRegions): Use public API of java.util.Map.
5743 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5744 (positionForMouseEvent): Removed redundant ';'.
5745 (continueDrag): Use method arguments.
5746
5747 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5748
5749 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5750 results.
5751
5752 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5753
5754 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5755 _Jv_AllocBytes.
5756 * gnu/gcj/RawDataManaged.java: New file.
5757 * java/lang/Thread.java (data): Declare as RawDataManaged.
5758 * java/lang/natThread.cc (init_native): Cast natThread data to
5759 RawDataManaged, not jobject.
5760 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5761 * Makefile.in: Rebuilt.
5762
5763 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5764
5765 * java/util/SimpleTimeZone.java: Reverting my last change until I
5766 can fix it properly.
5767
5768 2004-05-27 Michael Koch <konqueror@gmx.de>
5769
5770 * javax/swing/JPopupMenu.java
5771 (isVisible): Do not use visible directly.
5772 (setVisible): Likewise.
5773 * javax/swing/JWindow.java
5774 (JWindow): call accessible constructor.
5775 * javax/swing/RepaintManager.java
5776 (paintDirtyRegions): Use public methods to obtain iterator.
5777
5778 2004-05-25 David Jee <djee@redhat.com>
5779
5780 * java/awt/Container.java
5781 (remove): Set component's parent to null only after we removed the
5782 component from its parent's layout manager.
5783
5784 2004-05-25 David Jee <djee@redhat.com>
5785
5786 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5787 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5788 is valid.
5789 * gnu/java/awt/peer/gtk/GtkListPeer.java
5790 (getSize): Change native method declaration.
5791 (minimumSize): Pass visible row count into getSize().
5792 (preferredSize): Likewise.
5793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5794 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5795 natural size. Use visible row count to determine the final height
5796 value to return.
5797
5798 2004-05-21 Graydon Hoare <graydon@redhat.com>
5799
5800 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5801 (setClip): Minor correction to order of operations.
5802
5803 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5804 * javax/swing/ScrollPaneLayout.java: Likewise.
5805 * javax/swing/JViewPort.java: Likewise.
5806 * javax/swing/ViewportLayout.java: Likewise.
5807
5808 * javax/swing/JComponent.java: Rewrite.
5809 * javax/swing/RepaintManager.java: Likewise.
5810
5811 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5812 * javax/swing/JList.java
5813 (setSelectedIndices):
5814 (getSelectedIndices):
5815 (getSelectedValues): New functions.
5816 (getPreferredScrollableViewportSize): Return preferred size.
5817 (getScrollableUnitIncrement):
5818 (getScrollableBlockIncrement): Initial implementations.
5819 * javax/swing/JRootPane.java: Clean up slightly.
5820 (getUI):
5821 (setUI):
5822 (updateUI):
5823 (getUIClassID):
5824 (isValidateRoot): Add overrides from JComponent.
5825 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5826 * javax/swing/UIManager.java (getDimension): Return the dimension.
5827
5828 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5829 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5830 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5831 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5832 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5833 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5834 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5835 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5836 Likewise, and set background.
5837 * javax/swing/plaf/basic/BasicListUI.java:
5838 Likewise, and improve a bit.
5839 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5840 Likewise, and adjust calculations.
5841 * javax/swing/plaf/basic/BasicViewportUI.java:
5842 Likewise, and improve a bit.
5843 * javax/swing/plaf/basic/BasicLookAndFeel.java
5844 (Button.margin): Shrink.
5845
5846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5847 Hack to set horizontal always, workaround pango.
5848
5849 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5850 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5851 Synchronize more often, check cairo status after ops,
5852 handle changes to cairo pattern API, check for disposal.
5853
5854 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5855
5856 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5857 (BasicMenuItemUI): Create propertyChangeListener.
5858 (getPath):Implemented.
5859 (installListeners): Add propertyChangeListener to menuItem.
5860 (uninstallListeners): Remove propertyChangeListener from menuItem.
5861 (update): Implemented.
5862 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5863 (mouseEntered): Take insets of popup menu into account when
5864 calculating position of popup menu.
5865
5866 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5867
5868 * Makefile.am: Added new file.
5869 * Makefile.in: Regenerate.
5870 * javax/swing/JMenuBar.java:
5871 Started implementation.
5872 * javax/swing/JPopupMenu.java:
5873 (setVisible): Fixed location of lightweight/mediumweight
5874 popup menu.
5875 (show): Fixed location of PopupMenu.
5876 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5877 New file. UI Delegate for JMenuBar.
5878 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5879 (mouseEntered): Corrected position of the submenu.
5880
5881 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5882
5883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5884 to _gtk_accel_group_attach.
5885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5886 Likewise.
5887
5888 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5889 package access. Don't override setFont.
5890 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5891 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5892 gtkWidgetRequestFocus package access.
5893 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5894 setFont.
5895 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5896 Give gtkWidgetRequestFocus package access.
5897 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5898 gtkWidgetRequestFocus package access. Don't override setFont.
5899 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5900 setFont.
5901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5902 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5903 region.
5904 (gtkSetFont): Likewise.
5905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5906 Implement.
5907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5908 (gtkSetFont): Whitespace fix.
5909
5910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5911 (gtkWidgetSetUsize): Remove method.
5912
5913 2004-05-18 David Jee <djee@redhat.com>
5914
5915 * java/awt/image/MemoryImageSource.java
5916 (newPixels(int,int,int,int,boolean)): Set only the specified
5917 rectangle of pixels.
5918 (newPixels(byte[],ColorModel,int,int)): Implement.
5919 (newPixels(int[],ColorModel,int,int)): Implement.
5920
5921 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5922
5923 * Makefile.am: Added new file.
5924 * Makefile.in: Regenerate.
5925 * javax/swing/JMenu.java: Started
5926 implementation.
5927 * javax/swing/JPopupMenu.java:
5928 (insert): If specified index is -1, then
5929 add component at the end.
5930 (isPopupTrigger): Reimplemented.
5931 (JPopupMenu.LightWeightPopup): setBounds
5932 of the lightWeightPopup before adding it
5933 to the layeredPane.
5934 (javax/swing/plaf/basic/BasicIconFactory.java):
5935 (getMenuArrowIcon): Implemented.
5936 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5937 (getPreferredSize): Add size of the arrow icon
5938 if this menu item is instance of JMenu.
5939 (paintMenuItem): Paint arrow icon if this
5940 menu item is a submenu.
5941 * javax/swing/plaf/basic/BasicMenuUI.java:
5942 New File. UI Delegate for JMenu.
5943
5944 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5945
5946 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5947 Post KEY_TYPED events.
5948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5949 (generates_key_typed_event): Remove function.
5950
5951 2004-05-17 Olga Rodimina <rodimina@redhat.com>
5952
5953 * javax/swing/JRootPane.java
5954 (JRootPane.RootLayout): Reimplemented to
5955 set bounds of contentPane and menuBar.
5956 (setJMenuBar): Add menu bar to the layered pane.
5957 (createLayeredPane): Set layout of layeredPane
5958 to null.
5959 * javax/swing/JLayeredPane.java:
5960 (addImpl): Calculate index of the component in the
5961 layeredPane according to the specified position within
5962 the layer.
5963
5964 2004-05-17 David Jee <djee@redhat.com>
5965
5966 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5967 (setPixels): Change color model to the default model after
5968 converting pixels.
5969 * java/awt/image/MemoryImageSource.java
5970 (newPixels): Set only the specified rectangle of pixels.
5971
5972 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5973
5974 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5975 -l-java-beans -l-javax-accessibility -l-javax-swing.
5976
5977 * java/awt/AWTEvent.java (toString): Print source's name rather
5978 than the source itself.
5979
5980 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5981
5982 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5983 native.
5984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5985 (gdk_color_to_java_color): New function.
5986 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5987
5988 2004-05-12 David Jee <djee@redhat.com>
5989
5990 * java/awt/image/RGBImageFilter.java:
5991 Initialize origmodel as null.
5992 (makeColor): Fix pixel component order.
5993 (filterRGBPixels): Fix pixel iteration.
5994 (setPixels): Add extra checks for index color model. Convert pixels
5995 to default color model if necessary.
5996 (convertColorModelToDefault): New override method for byte pixels.
5997 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5998 (makeColorbyDefaultCM): New override method for byte pixels.
5999 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6000 (makeColor): Fix pixel component order.
6001
6002 2004-05-11 Kim Ho <kho@redhat.com>
6003
6004 * javax/swing/Box.java:
6005 Comment out more parts of Box.Filler.
6006
6007 2004-05-11 Kim Ho <kho@redhat.com>
6008
6009 * javax/swing/Box.java:
6010 Remove reference to AccessibleAWTComponent so
6011 it compiles again.
6012
6013 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6014
6015 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6016 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6017 implementation of list peer to use GtkTreeView instead of
6018 deprecated GtkCList.
6019
6020 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6021
6022 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6023 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6024 (handleEvent): Remove keyChar argument to
6025 gtkWidgetDispatchKeyEvent calls.
6026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6027 compiler warnings.
6028 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6031 Likewise.
6032
6033 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6034
6035 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6036 (gtkWidgetRequestFocus): Mark protected.
6037 (GtkComponentPeer): Only set the peer's bounds if its component
6038 is valid.
6039 * java/awt/Component.java (static): Set the default keyboard
6040 focus manager.
6041 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6042 requestFocusInWindow(temporary)): Don't request focus if the
6043 component is not showing. Get tree lock before traversing
6044 component hierarchy.
6045 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6046 Only set the global focus owner if it is not a Window.
6047 (processKeyEvent): Consume keystrokes associated with the focus
6048 traversal keystroke.
6049 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6050 downFocusCycle): Call requestFocusInWindow instead of
6051 requestFocus.
6052 * java/awt/EventDispatchThread.java (run): Move setting of
6053 default keyboard focus manager to Component.java.
6054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6055 (awt_keycode_to_keysym): New function.
6056 (gtkWidgetDispatchKeyEvent): Finish implementation.
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6058 (pre_event_handler): Add FIXME comment.
6059
6060 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6062 (gtkWidgetRequestFocus): New method.
6063 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6064 disable Tab and Shift-Tab keystrokes.
6065 (addNotify, appendText, insertText, replaceText): Simplify peer
6066 retrieval code.
6067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6068 (connectSignals): Remove connections to "commit" signals.
6069 Remove C++-style comments.
6070
6071 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6072 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6073 (handleEvent): Activate GTK button when the space bar key is
6074 pressed.
6075 (gtkActivate): New method.
6076
6077 2004-05-06 David Jee <djee@redhat.com>
6078
6079 * java/awt/image/CropImageFilter.java
6080 (setPixels): Implement for byte array pixels.
6081 * java/awt/image/ReplicateScaleFilter.java
6082 (setPixels): Implement for byte array pixels.
6083 (replicatePixels): Overload for byte array pixels.
6084
6085 2004-05-06 Kim Ho <kho@redhat.com>
6086
6087 * javax/swing/Box.java:
6088 (getAccessibleContext): Return an instance of the
6089 correct class.
6090
6091 2004-05-05 David Jee <djee@redhat.com>
6092
6093 * gnu/java/awt/peer/gtk/GdkGraphics.java
6094 (drawImage): When component is null, use SystemColor.window as
6095 the default bgcolor.
6096 * gnu/java/awt/peer/gtk/GtkImage.java
6097 (setPixels): We can avoid iterating through the pixel rows only
6098 when height is 1.
6099 * java/awt/Image.java
6100 (getScaledInstance): Partially implement.
6101 * java/awt/image/CropImageFilter.java
6102 (setProperties): Fix "filter" property.
6103 (setPixels): Implement.
6104 * java/awt/image/ReplicateScaleFilter.java
6105 (setDimensions): Use scaled dimensions.
6106 (setPixels): Implement.
6107 (replicatePixels): New method.
6108
6109 2004-05-05 David Jee <djee@redhat.com>
6110
6111 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6112 (convertPixels): If either pixels or model is null, return null.
6113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6114 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6115 is null, do nothing and return.
6116
6117 2004-05-03 Kim Ho <kho@redhat.com>
6118
6119 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6120 (getGraphics): Like GtkFramePeer, the Graphics
6121 object needs to be translate to account for
6122 window decorations.
6123 (postMouseEvent): New method. Account for
6124 translation.
6125 (postExposeEvent): ditto.
6126 * javax/swing/Box.java: Stubbed.
6127 * javax/swing/JDialog.java: Ran through jalopy
6128 to fix indentation.
6129 (JDialog): Call SwingUtilities' getOwnerFrame
6130 for null owners.
6131 (setLayout): Check isRootPaneCheckingEnabled
6132 * javax/swing/JOptionPane.java: Re-implemented.
6133 * javax/swing/SwingUtilities.java:
6134 (getOwnerFrame): Static method to grab a default
6135 owner frame for Dialogs that don't specify owners.
6136 * javax/swing/event/SwingPropertyChangeSupport.java:
6137 (firePropertyChange): Fix early exit condition.
6138 * javax/swing/plaf/basic/BasicLabelUI.java:
6139 (paint): Avoid painting text if it is null
6140 or empty.
6141 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6142 Implement.
6143
6144 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6145
6146 * Makefile.am: Added new file.
6147 * Makefile.in: Regenerate.
6148 * javax/swing/JPopupMenu.java:
6149 Started implementation.
6150 * javax/swing/JWindow.java
6151 (JWindow): call super() if parent for window
6152 is not specified.
6153 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6154 New File. UI Delegate for JPopupMenu.
6155
6156 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6157
6158 * javax/swing/JApplet.java: Indicated that JApplet
6159 implements RootPaneContainer and made method of this
6160 interface public.
6161 * javax/swing/JFrame.java: Ditto.
6162 * javax/swing/JWindow.java: Ditto.
6163
6164 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6165
6166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6167 (nativeSetBounds): Call gdk_window_move in addition to
6168 gtk_window_move.
6169
6170 * java/applet/Applet.java (preferredSize): Call parent's
6171 preferredSize if the applet stub is null.
6172 (minimumSize): Likewise for parent's minimumSize.
6173
6174 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6175
6176 * javax/swing/JMenuItem.java
6177 (createActionPropertyChangeListener): Implemented.
6178 (processMouseEvent): Ditto.
6179 (fireMenuDragMouseEntered): Ditto.
6180 (fireMenuDragMouseExited): Ditto.
6181 (fireMenuDragMouseDragged): Ditto.
6182 (fireMenuDragMouseReleased): Ditto.
6183 (menuSelectionChanged): Ditto.
6184 (getSubElements): Ditto.
6185 (getComponent): Ditto.
6186 (addMenuDragMouseListener): Ditto.
6187 (removeMenuDragMouseListener):Ditto.
6188 (addMenuKeyListener): Ditto.
6189 (removeMenuKeyListener): Ditto.
6190 * javax/swing/plaf/basic/BasicMenuItemUI.java
6191 (doClick): Imlemented.
6192 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6193 Don't handle mouse events here. Pass them to
6194 MenuSelectionManager.
6195
6196 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6197 Used correct version of jalopy configuration
6198 file to fix style in the files below.
6199
6200 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6201
6202 * javax/swing/JCheckBoxMenuItem.java:
6203 Fixed style and removed unnecessary comments.
6204 * javax/swing/JMenuItem.java: Ditto.
6205 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6206 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6207 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6208 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6209
6210 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6211
6212 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6213 C-style.
6214
6215 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6216
6217 * java/awt/ContainerOrderFocusTraversalPolicy.java
6218 (getComponentAfter): Start from current component and work up
6219 the component hierarchy until an acceptable component is found.
6220 Synchronize on tree lock.
6221 (getComponentBefore): Likewise.
6222
6223 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6224
6225 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6226 focus-related debugging messages.
6227 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6228 * java/awt/EventDispatchThread.java: Likewise.
6229 * java/awt/KeyboardFocusManager.java: Likewise.
6230 * java/awt/Window.java: Likewise.
6231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6233
6234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6235 new C++-style comments to C-style comments.
6236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6237
6238 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6239 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6240 (handleEvent): Dispatch key press and key release events to
6241 backing widget.
6242 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6243 (gtkWidgetRequestFocus): New method.
6244 (gtkWidgetDispatchKeyEvent): Likewise.
6245 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6246 requestFocusInWindow, requestFocusInWindow(boolean),
6247 getFocusCycleRootAncestor, nextFocus, transferFocus,
6248 transferFocusBackward, transferFocusUpCycle, hasFocus,
6249 isFocusOwner): Implement and document focus-handling methods.
6250 (setFocusTraversalKeys): Inherit focus traversal keys when
6251 keystrokes argument is null. Fix focus-handling documentation
6252 throughout class.
6253 * java/awt/Container.java (setFocusTraversalKeys,
6254 getFocusTraversalKeys, areFocusTraversalKeysSet,
6255 isFocusCycleRoot, setFocusTraversalPolicy,
6256 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6257 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6258 Implement and document focus-handling methods.
6259 (transferFocusBackward): Remove method.
6260 (readObject, writeObject): Implement and document serialization
6261 methods.
6262 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6263 and document.
6264 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6265 document.
6266 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6267 partially document.
6268 * java/awt/EventDispatchThread.java (run): Set default keyboard
6269 focus manager. Attempt to dispatch each event to the keyboard
6270 focus manager before normal dispatch.
6271 * java/awt/KeyboardFocusManager.java: Implement and partially
6272 document.
6273 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6274 (show): Focus initial component when window is shown for the
6275 first time.
6276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6277 (pre_event_handler): Replace complex key press and key release
6278 logic with simple callbacks into GtkComponentPeer.
6279 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6280
6281 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6282
6283 * javax/swing/MenuSelectionManager.java
6284 (componentForPoint): Added new method.
6285 (defaultManager): New Method. Implemented.
6286 (getSelectedPath): Ditto.
6287 (isComponentPartOfCurrentMenu): Ditto.
6288 (processKeyEvent): Added new method.
6289 (processMouseEvent): New Method. Implemented.
6290 (setSelectedPath): Ditto.
6291 (getPath): Ditto.
6292
6293 2004-04-19 Kim Ho <kho@redhat.com>
6294
6295 * java/awt/Container.java:
6296 (remove): Set the component's parent to null.
6297 (getComponentAt): Implement.
6298 * javax/swing/JComponent.java:
6299 (JComponent): Initialize defaultLocale
6300 (getDefaultLocale): Implement.
6301 (setDefaultLocale): ditto.
6302 * javax/swing/JSlider.java:
6303 (JSlider): Fix calculation of value.
6304 * javax/swing/JSplitPane.java: Implement.
6305 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6306 Change SplitPane's default divider size.
6307 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6308 (paint): Remove unused code.
6309 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6310 Added comments and ran through jalopy.
6311 (setBasicSplitPaneUI): Get reference to hidden divider
6312 and set up one touch buttons if necessary.
6313 (setBorder): Fire propertyChangeEvent only if
6314 borders are different.
6315 (getPreferredSize): Defer to layout manager.
6316 (propertyChange): Implement.
6317 (oneTouchExpandableChanged): ditto.
6318 (createLeftOneTouchButton): Use BasicArrowButton.
6319 (createRightOneTouchButton): ditto.
6320 (moveDividerTo): New method. Moves the divider
6321 to a set location based on the last divider location.
6322 (BasicSplitPaneDivider::MouseHandler): Implement.
6323 (BasicSplitPaneDivider::OneTouchButton): Removed.
6324 (BasicSplitPaneDivider::DragController): Implement.
6325 (BasicSplitPaneDivider::VerticalDragController):
6326 ditto.
6327 (BasicSplitPaneDivider::DividerLayout): ditto.
6328 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6329 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6330 (calculateLayoutInfo): Don't show component if it's
6331 null.
6332 (paintTab): Fix title paint logic.
6333
6334 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6335
6336 PR libgcj/8321
6337 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6338 (setStartRule,setEndRule): Don't take abs of day number.
6339 (getOffset): Clarify docs. Add argument checks.
6340 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6341 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6342 endTimeMode.
6343 * testsuite/libjava.mauve/xfails
6344 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6345
6346 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6347
6348 Layout interfaces during preparation, not initialization.
6349 * java/lang/natClass.cc (initializeClass): Move
6350 _Jv_LayoutInterfaceMethods call...
6351 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6352
6353 2004-05-19 Anthony Green <green@localhost.localdomain>
6354
6355 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6356 gnu.javax.rmi code.
6357 * Makefile.in: Rebuilt.
6358 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6359 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6360 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6361 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6362 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6363 gnu/javax/rmi/CORBA/DelegateFactory.java,
6364 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6365 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6366 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6367 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6368 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6369 gnu/javax/rmi/PortableServer.java: Remove files.
6370
6371 2004-05-19 Anthony Green <green@redhat.com>
6372
6373 * Makefile.am: Define JAVA_EXT_DIRS.
6374 * Makefile.in: Rebuilt.
6375 * java/lang/natRuntime.cc (insertSystemProperties): Set
6376 java.ext.dirs property.
6377
6378 2004-05-16 Mark Wielaard <mark@klomp.org>
6379
6380 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6381
6382 2004-05-15 Mark Wielaard <mark@klomp.org>
6383
6384 * doc/cni.sgml: Removed, merged into gcj.texi.
6385
6386 2004-05-15 Mark Wielaard <mark@klomp.org>
6387
6388 * Makefile.am (ordinary_java_source_files): Add new javax.print
6389 classes.
6390 * Makefile.in: Regenerated.
6391
6392 2004-05-15 Michael Koch <konqueror@gmx.de>
6393
6394 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6395 javax/print/attribute/standard/DateTimeAtCreation.java,
6396 javax/print/attribute/standard/DateTimeAtProcessing.java,
6397 javax/print/attribute/standard/DocumentName.java,
6398 javax/print/attribute/standard/JobHoldUntil.java,
6399 javax/print/attribute/standard/JobImpressionsCompleted.java,
6400 javax/print/attribute/standard/JobMessageFromOperator.java,
6401 javax/print/attribute/standard/JobName.java,
6402 javax/print/attribute/standard/JobOriginatingUserName.java,
6403 javax/print/attribute/standard/JobPriority.java,
6404 javax/print/attribute/standard/JobPrioritySupported.java,
6405 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6406 javax/print/attribute/standard/OutputDeviceAssigned.java,
6407 javax/print/attribute/standard/PrinterInfo.java,
6408 javax/print/attribute/standard/PrinterLocation.java,
6409 javax/print/attribute/standard/PrinterMakeAndModel.java,
6410 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6411 javax/print/attribute/standard/PrinterName.java,
6412 javax/print/attribute/standard/QueuedJobCount.java,
6413 javax/print/attribute/standard/RequestingUserName.java:
6414 Fixed javadocs all over.
6415
6416 2004-05-15 Michael Koch <konqueror@gmx.de>
6417
6418 * javax/print/DocFlavor.java,
6419 javax/print/attribute/standard/ColorSupported.java,
6420 javax/print/attribute/standard/Compression.java,
6421 javax/print/attribute/standard/CopiesSupported.java,
6422 javax/print/attribute/standard/Fidelity.java,
6423 javax/print/attribute/standard/Finishings.java,
6424 javax/print/attribute/standard/JobImpressionsSupported.java,
6425 javax/print/attribute/standard/JobKOctetsSupported.java,
6426 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6427 javax/print/attribute/standard/JobSheets.java,
6428 javax/print/attribute/standard/JobState.java,
6429 javax/print/attribute/standard/JobStateReason.java,
6430 javax/print/attribute/standard/JobStateReasons.java,
6431 javax/print/attribute/standard/Media.java,
6432 javax/print/attribute/standard/MediaSizeName.java,
6433 javax/print/attribute/standard/MultipleDocumentHandling.java,
6434 javax/print/attribute/standard/NumberUpSupported.java,
6435 javax/print/attribute/standard/OrientationRequested.java,
6436 javax/print/attribute/standard/PDLOverrideSupported.java,
6437 javax/print/attribute/standard/PageRanges.java,
6438 javax/print/attribute/standard/PresentationDirection.java,
6439 javax/print/attribute/standard/PrintQuality.java,
6440 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6441 javax/print/attribute/standard/PrinterMoreInfo.java,
6442 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6443 javax/print/attribute/standard/PrinterResolution.java,
6444 javax/print/attribute/standard/PrinterState.java,
6445 javax/print/attribute/standard/PrinterStateReason.java,
6446 javax/print/attribute/standard/PrinterStateReasons.java,
6447 javax/print/attribute/standard/PrinterURI.java,
6448 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6449 javax/print/attribute/standard/Severity.java,
6450 javax/print/attribute/standard/SheetCollate.java,
6451 javax/print/attribute/standard/Sides.java:
6452 Added serialVersionUID and removed final keyword where it doenst
6453 belong.
6454
6455 2004-05-15 Michael Koch <konqueror@gmx.de>
6456
6457 * javax/print/PrintServiceLookup.java: New file.
6458
6459 2004-05-15 Michael Koch <konqueror@gmx.de>
6460
6461 * javax/print/DocFlavor.java:
6462 Implemented all flavor classes.
6463
6464 2004-05-15 Michael Koch <konqueror@gmx.de>
6465
6466 * javax/print/attribute/standard/ColorSupported.java,
6467 javax/print/attribute/standard/Compression.java,
6468 javax/print/attribute/standard/CopiesSupported.java,
6469 javax/print/attribute/standard/Fidelity.java,
6470 javax/print/attribute/standard/Finishings.java,
6471 javax/print/attribute/standard/JobImpressionsSupported.java,
6472 javax/print/attribute/standard/JobKOctetsSupported.java,
6473 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6474 javax/print/attribute/standard/JobSheets.java,
6475 javax/print/attribute/standard/JobState.java,
6476 javax/print/attribute/standard/JobStateReason.java,
6477 javax/print/attribute/standard/JobStateReasons.java,
6478 javax/print/attribute/standard/Media.java,
6479 javax/print/attribute/standard/MediaSizeName.java,
6480 javax/print/attribute/standard/MultipleDocumentHandling.java,
6481 javax/print/attribute/standard/NumberUpSupported.java,
6482 javax/print/attribute/standard/OrientationRequested.java,
6483 javax/print/attribute/standard/PDLOverrideSupported.java,
6484 javax/print/attribute/standard/PageRanges.java,
6485 javax/print/attribute/standard/PresentationDirection.java,
6486 javax/print/attribute/standard/PrintQuality.java,
6487 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6488 javax/print/attribute/standard/PrinterMoreInfo.java,
6489 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6490 javax/print/attribute/standard/PrinterResolution.java,
6491 javax/print/attribute/standard/PrinterState.java,
6492 javax/print/attribute/standard/PrinterStateReason.java,
6493 javax/print/attribute/standard/PrinterStateReasons.java,
6494 javax/print/attribute/standard/PrinterURI.java,
6495 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6496 javax/print/attribute/standard/Severity.java,
6497 javax/print/attribute/standard/SheetCollate.java,
6498 javax/print/attribute/standard/Sides.java: New files.
6499
6500 2004-05-15 Michael Koch <konqueror@gmx.de>
6501
6502 * javax/print/Doc.java
6503 (getPrintData): Throws IOException.
6504 (getReaderForText): Likewise.
6505 (getStreamForBytes): Likewise.
6506 * javax/print/DocFlavor.java:
6507 Fixed filename in copyright.
6508 (serialVersionUID): New field.
6509 * javax/print/ServiceUIFactory.java:
6510 Made all constants final.
6511 * javax/print/AttributeException.java
6512 javax/print/MultiDoc.java
6513 javax/print/MultiDocPrintJob.java
6514 javax/print/MultiDocPrintService.java
6515 javax/print/StreamPrintService.java
6516 javax/print/URIException.java: New files.
6517 * javax/print/Makefile.am
6518 (EXTRA_DIST): Added all new files.
6519
6520 2004-05-15 Michael Koch <konqueror@gmx.de>
6521
6522 * javax/print/attribute/standard/Copies.java,
6523 javax/print/attribute/standard/DateTimeAtCompleted.java,
6524 javax/print/attribute/standard/DateTimeAtCreation.java,
6525 javax/print/attribute/standard/DateTimeAtProcessing.java,
6526 javax/print/attribute/standard/DocumentName.java,
6527 javax/print/attribute/standard/JobHoldUntil.java,
6528 javax/print/attribute/standard/JobImpressions.java,
6529 javax/print/attribute/standard/JobImpressionsCompleted.java,
6530 javax/print/attribute/standard/JobKOctets.java,
6531 javax/print/attribute/standard/JobKOctetsProcessed.java,
6532 javax/print/attribute/standard/JobMediaSheets.java,
6533 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6534 javax/print/attribute/standard/JobMessageFromOperator.java,
6535 javax/print/attribute/standard/JobName.java,
6536 javax/print/attribute/standard/JobOriginatingUserName.java,
6537 javax/print/attribute/standard/JobPriority.java,
6538 javax/print/attribute/standard/JobPrioritySupported.java,
6539 javax/print/attribute/standard/NumberOfDocuments.java,
6540 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6541 javax/print/attribute/standard/NumberUp.java,
6542 javax/print/attribute/standard/OutputDeviceAssigned.java,
6543 javax/print/attribute/standard/PagesPerMinute.java,
6544 javax/print/attribute/standard/PagesPerMinuteColor.java:
6545 Fixed @return tag all over.
6546
6547 2004-05-15 Michael Koch <konqueror@gmx.de>
6548
6549 * javax/print/attribute/AttributeSetUtilities.java
6550 (verifyCategoryForValue): Fixed typo in javadoc.
6551 * javax/print/attribute/HashAttributeSet.java
6552 (containsKey): Fixed @return tag.
6553 (comtainsValue): Likewise.
6554 (equals): Likewise.
6555 * javax/print/attribute/IntegerSyntax.java
6556 (equals): Likewise.
6557 * javax/print/attribute/ResolutionSyntax.java
6558 (equals): Likewise.
6559 (getCrossFeedResolution): Removed unused code.
6560 (getFeedResolution): Likewise.
6561 * javax/print/attribute/SetOfIntegerSyntax.java
6562 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6563 (equals): Fixed @return tag.
6564 * javax/print/attribute/TextSyntax.java
6565 (TextSyntax): Take locale into account.
6566 (hashCode): Better implementation.
6567
6568 2004-05-15 Michael Koch <konqueror@gmx.de>
6569
6570 * javax/print/CancelablePrintJob.java,
6571 javax/print/Doc.java,
6572 javax/print/DocFlavor.java,
6573 javax/print/DocPrintJob.java,
6574 javax/print/FlavorException.java,
6575 javax/print/PrintException.java,
6576 javax/print/PrintService.java,
6577 javax/print/ServiceUIFactory.java: New files.
6578
6579 2004-05-15 Mark Wielaard <mark@klomp.org>
6580
6581 * gnu/regexp/CharIndexedReader.java: Removed.
6582 * gnu/regexp/REFilterReader.java: Likewise.
6583 * gnu/regexp/RETokenLookAhead.java: Likewise.
6584 * Makefile.am (ordinary_java_source_files): Remove above classes.
6585 * Makefile.in: Regenerated.
6586
6587 2004-05-14 Tom Tromey <tromey@redhat.com>
6588
6589 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6590 not `XGraphicsConfiguration.XOffScreenImage'.
6591
6592 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6593
6594 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6595
6596 2004-05-14 Steven Augart <augart@watson.ibm.com>
6597
6598 * include/jni.h (_Jv_func): Removed.
6599 (struct JNINativeInterface): Use `void *' for reserved slots.
6600 (struct JNIInvokeInterface): Likewise.
6601
6602 2004-05-11 Michael Koch <konqueror@gmx.de>
6603
6604 * gnu/java/net/natPlainSocketImplPosix.cc
6605 (read): Fixed typo in expression.
6606
6607 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6608
6609 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6610 ld_library_additions. Adjust all calls to libjava_invoke to match
6611 the new argument.
6612
6613 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6614 path to cxxflagslist.
6615 Pass path of libstdc++ to libjava_invoke.
6616
6617 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6618 libjava_invoke arguments.
6619
6620 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6621
6622 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6623 reality.
6624
6625 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6626
6627 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6628 main binary against the JNI shared library.
6629
6630 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6631
6632 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6633 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6634 (SimpleTimeZone): Tweak docs. Add new variation.
6635 (setStartRule,setEndRule): Add new variations. Use
6636 startTimeMode and endTimeMode.
6637
6638 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6639
6640 * java/util/Calendar.java (getActualMinimum,
6641 getActualMaximum): Remove abstract. Implement.
6642
6643 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6644
6645 Run the jni tests using the interpreter.
6646 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6647 options_cxx to shared lib compile command.
6648 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6649 they are used to link the shared lib, not the main binary.
6650 Use libjava_invoke to run gij.
6651
6652 2004-05-06 Michael Koch <konqueror@gmx.de>
6653
6654 * java/util/logging/Level.java
6655 (parse): Use == instead of String.equals().
6656
6657 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6658
6659 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6660 verify_field_signature and verify_method_signature, not
6661 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6662 (_Jv_ClassReader::handleField): Likewise.
6663 (_Jv_ClassReader::handleMethod): Likewise.
6664
6665 2004-05-06 Michael Koch <konqueror@gmx.de>
6666
6667 * javax/swing/table/TableColumn.java:
6668 Reformated.
6669
6670 2004-05-06 Michael Koch <konqueror@gmx.de>
6671
6672 * javax/imageio/spi/ImageReaderWriterSpi.java
6673 (ImageReaderWriterSpi): Made it public.
6674 * javax/imageio/stream/ImageInputStream.java:
6675 Clean up imports.
6676
6677 2004-05-06 Michael Koch <konqueror@gmx.de>
6678
6679 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6680 Removed empty line.
6681
6682 2004-05-06 Michael Koch <konqueror@gmx.de>
6683
6684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6685 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6686 New files.
6687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6688 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6690 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6691 their own source file.
6692 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6693 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6694 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6696 (create): Define variable on top of function.
6697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6698 (menu_pos): Prototyped.
6699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6700 (setTitle): Removed.
6701 * jni/gtk-peer/gthread-jni.c
6702 (gdk_threads_wake): Removed.
6703 * Makefile.am (gtk_c_source_files): Added new files
6704 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6705 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6706 * Makefile.in: Regenerated.
6707
6708 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6709
6710 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6711 call.
6712
6713 2004-05-05 Mark Wielaard <mark@klomp.org>
6714
6715 * javax/swing/AbstractButton.java: Replace special HTML entities with
6716 ASCII equivalent.
6717 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6718 * javax/swing/DefaultButtonModel.java: Likewise.
6719 * javax/swing/DefaultListModel.java: Likewise.
6720 * javax/swing/JList.java: Likewise.
6721 * javax/swing/JSlider.java: Likewise.
6722 * javax/swing/ListModel.java: Likewise.
6723 * javax/swing/Popup.java: Likewise.
6724 * javax/swing/SwingUtilities.java: Likewise.
6725
6726 2004-05-05 Michael Koch <konqueror@gmx.de>
6727
6728 * javax/swing/AbstractButton.java,
6729 javax/swing/ActionMap.java,
6730 javax/swing/DefaultButtonModel.java,
6731 javax/swing/DefaultListModel.java,
6732 javax/swing/ImageIcon.java,
6733 javax/swing/JComboBox.java,
6734 javax/swing/JComponent.java,
6735 javax/swing/JFrame.java,
6736 javax/swing/JInternalFrame.java,
6737 javax/swing/JMenuBar.java,
6738 javax/swing/JMenuItem.java,
6739 javax/swing/JOptionPane.java,
6740 javax/swing/JProgressBar.java,
6741 javax/swing/JRootPane.java,
6742 javax/swing/JScrollBar.java,
6743 javax/swing/JScrollPane.java,
6744 javax/swing/JSeparator.java,
6745 javax/swing/JSlider.java,
6746 javax/swing/JTabbedPane.java,
6747 javax/swing/JTable.java,
6748 javax/swing/JTextField.java,
6749 javax/swing/JToolBar.java,
6750 javax/swing/JToolTip.java,
6751 javax/swing/JTree.java,
6752 javax/swing/JViewport.java,
6753 javax/swing/JWindow.java,
6754 javax/swing/KeyStroke.java,
6755 javax/swing/LookAndFeel.java,
6756 javax/swing/SwingUtilities.java,
6757 javax/swing/Timer.java,
6758 javax/swing/ToolTipManager.java,
6759 javax/swing/UIDefaults.java,
6760 javax/swing/border/TitledBorder.java,
6761 javax/swing/filechooser/FileSystemView.java,
6762 javax/swing/plaf/basic/BasicButtonListener.java,
6763 javax/swing/plaf/basic/BasicButtonUI.java,
6764 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6765 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6766 javax/swing/plaf/basic/BasicLabelUI.java,
6767 javax/swing/plaf/basic/BasicMenuItemUI.java,
6768 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6769 javax/swing/plaf/basic/BasicRootPaneUI.java,
6770 javax/swing/plaf/basic/BasicScrollBarUI.java,
6771 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6772 javax/swing/plaf/basic/BasicSliderUI.java,
6773 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6774 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6775 javax/swing/table/JTableHeader.java,
6776 javax/swing/text/AbstractDocument.java,
6777 javax/swing/text/DefaultCaret.java,
6778 javax/swing/text/StyledEditorKit.java,
6779 javax/swing/tree/DefaultTreeCellEditor.java:
6780 Cleaned up imports.
6781
6782 2004-05-05 Michael Koch <konqueror@gmx.de>
6783
6784 * java/util/prefs/AbstractPreferences.java
6785 (AbstractPreferences): Added parenthesis for clarity.
6786 Closes classpath bug #7940.
6787
6788 2004-05-05 Tom Tromey <tromey@redhat.com>
6789
6790 * javax/naming/CompoundName.java (endsWith): Look at correct
6791 element of source name.
6792
6793 2004-05-05 Mark Wielaard <mark@klomp.org>
6794
6795 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6796 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6797
6798 2004-05-05 Tom Tromey <tromey@redhat.com>
6799
6800 * java/io/BufferedReader.java (skip): Removed unused
6801 variable.
6802
6803 2004-05-05 Michael Koch <konqueror@gmx.de>
6804
6805 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6806
6807 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6808
6809 * java/text/AttributedString.java,
6810 java/text/AttributedStringIterator.java,
6811 java/text/Collator.java,
6812 java/text/DecimalFormatSymbols.java,
6813 java/text/NumberFormat.java,
6814 java/text/RuleBasedCollator.java:
6815 Cleaned up imports.
6816
6817 2004-05-05 Tom Tromey <tromey@redhat.com>
6818
6819 * java/text/Format.java: Cleaned up imports.
6820 * java/text/DecimalFormat.java: Cleaned up imports.
6821 * java/security/SecureRandom.java: Cleaned up imports.
6822 (SecureRandom): Removed unused variable.
6823 * java/security/UnresolvedPermission.java: Cleaned up imports.
6824 * java/util/Date.java (parse): Removed unused variable.
6825 * java/util/ResourceBundle.java: Cleaned up imports.
6826 (getBundle): Removed unused variable.
6827 (tryBundle): Likewise.
6828 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6829
6830 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6831
6832 * java/text/SimpleDateFormat.java:
6833 (formatWithAttribute): New method. It implements
6834 the formatting process with attributes.
6835 (format): Use formatWithAttribute.
6836 (formatToCharacterIterator): New method. Use
6837 formatWithAttribute.
6838
6839 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6840
6841 * java/text/MessageFormat.java:
6842 (class Field): New class.
6843 (formatToCharacterIterator): New method.
6844 (format): Use formatInternal now.
6845 (formatInternal): New method. String formatter should
6846 be done here (with attributes). Attributes merging supported.
6847 (parse): More documentation.
6848 (getFormatsByArgumentIndex): New method.
6849 (setFormatByArgumentIndex): New method.
6850 (setFormatsByArgumentIndex): New method.
6851
6852 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6853
6854 * java/text/DecimalFormat.java
6855 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6856 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6857 (parse): Fixed handling of exponentiation notation and grouping.
6858
6859 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6860
6861 * java/text/DecimalFormat.java
6862 (scanFix): Build attribute array. Fixed error reporting.
6863 (applyPatternWithSymbols): Store attributes for the prefix and
6864 suffix.
6865 (formatInternal): New method. Changed the way the string is
6866 computed. Implemented attributes. Cleant up rounding in
6867 exponential notation.
6868 (format): Use formatInternal.
6869 (formatToCharacterIterator): New method.
6870 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6871 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6872 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6873 New fields.
6874
6875 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6876
6877 * java/security/interfaces/DSAKeyPairGenerator.java,
6878 java/security/interfaces/DSAPrivateKey.java,
6879 java/security/interfaces/DSAPublicKey.java,
6880 java/security/interfaces/RSAPrivateKey.java,
6881 java/security/interfaces/RSAPublicKey.java:
6882 Cleaned up imports.
6883
6884 2004-05-04 Michael Koch <konqueror@gmx.de>
6885
6886 * java/nio/ByteBuffer.java,
6887 java/nio/CharBuffer.java,
6888 java/nio/DoubleBuffer.java,
6889 java/nio/FloatBuffer.java,
6890 java/nio/IntBuffer.java,
6891 java/nio/LongBuffer.java,
6892 java/nio/ShortBuffer.java:
6893 (compareTo): Fixed bogus implementation in all buffer classes.
6894
6895 2004-05-04 Ingo Proetel <proetel@aicas.com>
6896
6897 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6898 32 bit pixels not 8 bit pixels.
6899 (isCompatibleRaster): Added javadoc comment.
6900
6901 2004-05-04 Ingo Proetel <proetel@aicas.com>
6902
6903 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6904 scanline stride.
6905
6906 2004-05-04 Ingo Proetel <proetel@aicas.com>
6907
6908 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6909 (getColorModel): Return the actual color model.
6910 (getRaster): Implemented.
6911 (ColorRaster): New inner class.
6912 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6913 a PaintContext.
6914 * java/awt/Color.java (<init>): Make exception more verbose.
6915 (createContext): Use ColorModel when creating a PaintContext.
6916
6917 2004-05-04 Michael Koch <konqueror@gmx.de>
6918
6919 * gnu/java/text/CharacterBreakIterator.java
6920 (previous): Removed unused variable.
6921
6922 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6923
6924 * gnu/java/text/FormatBuffer.java,
6925 gnu/java/text/AttributedFormatBuffer.java,
6926 gnu/java/text/StringFormatBuffer.java: New classes to implement
6927 attributed iterators in java.text.
6928 * gnu/java/text/FormatCharacterIterator.java: Moved
6929 from java/text as it is an internal class.
6930 * java/text/FormatCharacterIterator.java: Removed.
6931 * java/text/Format.java:
6932 Import gnu.java.text.FormatCharacterIterator.
6933 * Makefile.am (java_source_files): Added new files.
6934 * Makefile.in: Regenerated.
6935
6936
6937 2004-05-04 Mark Wielaard <mark@klomp.org>
6938
6939 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6940
6941 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6942
6943 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6944 * Makefile.in: Rebuilt.
6945
6946 2004-05-03 Mark Wielaard <mark@klomp.org>
6947
6948 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6949 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6950 * java/net/URL.java
6951 (set(String, String, int, String, String, String, String, String)):
6952 Assign this.file to path or path + "?" + query.
6953 * java/util/Arrays.java: Call static methods staticly.
6954 * java/util/zip/ZipEntry.java: Likewise.
6955 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6956 dir to this.direction.
6957 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6958 Assign static field only once.
6959 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6960
6961 2004-05-03 Mark Wielaard <mark@klomp.org>
6962
6963 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6964 unused variables hScrollbarHeight and vScrollbarWidth.
6965 (preferredSize): Likewise.
6966 * gnu/java/security/provider/DSAParameters.java (engineToString):
6967 Removed unused call to System.getProperty("line.seperator");
6968 * java/security/Security.java (loadProviders): Return result.
6969
6970 2004-05-03 Tom Tromey <tromey@redhat.com>
6971
6972 * java/net/URLStreamHandler.java (toExternalForm): Removed
6973 unused variables.
6974 unused constructor.
6975 * java/math/BigDecimal.java (divide): Removed unused variable.
6976 * java/lang/Throwable.java: Cleaned up imports.
6977 * java/lang/ClassLoader.java: Cleaned up imports.
6978 * java/io/FilePermission.java (implies): Removed unused
6979 variable.
6980 * java/awt/TextComponent.java: Removed unused import.
6981 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6982 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6983 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6984 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6985 import.
6986 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6987 * gnu/java/text/CharacterBreakIterator.java: Removed
6988 unused import.
6989 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6990 Cleaned up imports.
6991 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6992 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6993 unused method.
6994 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6995 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6996 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6997 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6998 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6999 (lookupProviders): Removed unused variable.
7000 (loadNextServiceProvider): Likewise.
7001 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7002
7003 2004-05-03 Michael Koch <konqueror@gmx.de>
7004
7005 Fixes PR libgcj/14695:
7006 * java/net/NetworkInterface.java
7007 (getByName): Return null when no interface was found.
7008
7009 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7010 Tom Tromey <tromey@redhat.com>
7011
7012 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7013 additional option "-Wmissing-prototypes" for compiling C sources.
7014 Print actual filename for pass/fail rather than $name.c.
7015 * testsuite/libjava.jni/PR15133.java: New testcase file.
7016 * testsuite/libjava.jni/PR15133.c: Likewise.
7017 * testsuite/libjava.jni/PR15133.out: Likewise.
7018
7019 2004-04-30 Roger Sayle <roger@eyesopen.com>
7020
7021 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7022 ceil and floor.
7023
7024 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7025
7026 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7027 limit the maximum heap size to avoid unnecessary thrashing.
7028
7029 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7030
7031 * java/text/CollationElementIterator.java (reset): Reset
7032 lookahead variables.
7033
7034 2004-04-23 Mark Wielaard <mark@klomp.org>
7035
7036 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7037
7038 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7039
7040 * java/sql/DriverManager.java:
7041 Cleaned up imports.
7042
7043 2004-04-23 Michael Koch <konqueror@gmx.de>
7044
7045 * java/net/URL.java
7046 (hashcode): Don't initialize with default value explicitely.
7047 (getContent): Removed redundant "final" keyword.
7048 (openStream): Likewise.
7049 (getURLStreamHandler): Fixed coding style.
7050 * java/net/URLConnection.java
7051 (defaultAllowUserInteraction): Don't initialize with default value
7052 explicitely.
7053 (connected): Likewise.
7054 (doOutput): Likewise.
7055 (ifModifiedSince): Likewise.
7056 (dateformats_initialized): Likewise.
7057 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7058
7059 2004-04-23 Michael Koch <konqueror@gmx.de>
7060
7061 * gnu/java/nio/channels/FileChannelImpl.java
7062 (SET, CUR): Unused, removed.
7063 (read): Implement here directly.
7064 (implRead): Removed.
7065 (write): Implement here directly.
7066 (implWrite): Removed.
7067
7068 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7069
7070 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7071 javax/rmi/CORBA/Stub.java,
7072 javax/rmi/CORBA/Util.java,
7073 javax/rmi/CORBA/ValueHandler.java,
7074 javax/rmi/CORBA/ValueHandler.java,
7075 javax/rmi/PortableRemoteObject.java:
7076 Cleaned up imports.
7077
7078 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7079
7080 * java/util/jar/JarFile.java,
7081 java/util/jar/JarInputStream.java,
7082 java/util/jar/JarOutputStream.java,
7083 java/util/jar/Manifest.java:
7084 Cleaned up imports.
7085
7086 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7087
7088 * java/util/ArrayList.java,
7089 java/util/Calendar.java,
7090 java/util/Currency.java,
7091 java/util/HashMap.java,
7092 java/util/HashSet.java,
7093 java/util/Hashtable.java,
7094 java/util/LinkedList.java,
7095 java/util/Properties.java,
7096 java/util/PropertyPermission.java,
7097 java/util/TimeZone.java,
7098 java/util/TreeMap.java,
7099 java/util/TreeSet.java,
7100 java/util/Vector.java,
7101 java/util/WeakHashMap.java:
7102 Cleaned up imports.
7103
7104 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7105
7106 * java/util/logging/FileHandler.java,
7107 java/util/logging/Formatter.java,
7108 java/util/logging/Handler.java,
7109 java/util/logging/Logger.java,
7110 java/util/logging/SimpleFormatter.java,
7111 java/util/logging/XMLFormatter.java:
7112 Cleaned up imports.
7113
7114 2004-04-22 Mark Wielaard <mark@klomp.org>
7115
7116 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7117 -Wno-long-long flags variable.
7118 (gtk_c_files): Use PEDANTIC_CFLAGS.
7119 * Makefile.in: Regenerated.
7120
7121 2004-04-22 Mark Wielaard <mark@klomp.org>
7122
7123 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7124 Changed C++ comments into C comments.
7125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7126 Likewise.
7127
7128 2004-04-22 Michael Koch <konqueror@gmx.de>
7129
7130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7131 Merged copyright year with GNU classpath.
7132
7133 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7134
7135 * javax/security/auth/x500/X500Principal.java:
7136 Cleaned up imports.
7137
7138 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7139
7140 * javax/swing/JSlider.java:
7141 Fixed HTML tags in comments.
7142
7143 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7144
7145 * javax/accessibility/AccessibleText.java:
7146 Cleaned up imports.
7147
7148 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7149
7150 * java/net/URLStreamHandler.java
7151 (parseURL): Convert the file path to using '/' instead of native
7152 file separator.
7153
7154 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7155
7156 * java/net/URL.java
7157 (userInfo): New field.
7158 (URL): Set authority to the right value.
7159 (setURL): Fixed authority and file initialization.
7160 * java/net/URLStreamHandler.java
7161 (parseURL): Take care of the query tag. Build authority.
7162 (toExternalForm): Fixed URL building using authority.
7163
7164 2004-04-22 Michael Koch <konqueror@gmx.de>
7165
7166 * java/net/Socket.java
7167 (impl): Made package-private.
7168 * java/net/ServerSocket.java
7169 (implAccept): Access Socket.impl field directly.
7170
7171 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7172
7173 * java/util/prefs/Preferences.java,
7174 java/util/prefs/InvalidPreferencesFormatException.java,
7175 java/util/prefs/BackingStoreException.java,
7176 java/util/prefs/AbstractPreferences.java:
7177 Cleaned up imports.
7178
7179 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7180
7181 * java/util/regex/Matcher.java,
7182 java/util/regex/Pattern.java:
7183 Cleaned up imports.
7184
7185 2004-04-22 Michael Koch <konqueror@gmx.de>
7186
7187 * java/nio/charset/IllegalCharsetNameException.java
7188 (charsetName): Made private.
7189 (IllegalCharsetNameException): Added @param tag to javadoc.
7190 (getCharsetName): Added @return tag to javadoc.
7191 * java/nio/charset/MalformedInputException.java
7192 (MalformedInputException): Added @param tag to javadoc.
7193 (getInputLength): Revised method description, added @return tag.
7194 (getMessage): Added @return tag.
7195
7196 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7197
7198 * java/awt/Font.java (deriveFont): Implement missing variants.
7199 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7200 missing variants.
7201
7202 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7203
7204 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7205 Set method->index values for interface methods to their itable index.
7206 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7207
7208 2004-04-21 Michael Koch <konqueror@gmx.de>
7209
7210 * java/nio/DirectByteBufferImpl.java
7211 (shiftDown): Made static, give address as argument and
7212 provide a convenience method that overwrites shiftDown in
7213 ByteBufferImpl and calls the native shiftDown.
7214 * java/nio/MappedByteBufferImpl.java
7215 (): Use optimized method in DirectByteBufferImpl.
7216 * java/nio/natDirectByteBufferImpl.cc
7217 (shiftDown): Changed method signature. Removed usage of array_offset.
7218
7219 2004-04-21 Michael Koch <konqueror@gmx.de>
7220
7221 * gnu/java/net/natPlainSocketImplPosix.cc
7222 (SocketInputStream::read): Make sure returned data is a byte value.
7223
7224 2004-04-21 Michael Koch <konqueror@gmx.de>
7225
7226 * gnu/classpath/ServiceFactory.java,
7227 gnu/classpath/ServiceProviderLoadingAction.java,
7228 javax/imageio/ImageReader.java,
7229 javax/imageio/ImageTranscoder.java,
7230 javax/imageio/ImageWriter.java,
7231 javax/imageio/package.html,
7232 javax/imageio/spi/IIOServiceProvider.java,
7233 javax/imageio/spi/ImageInputStreamSpi.java,
7234 javax/imageio/spi/ImageOutputStreamSpi.java,
7235 javax/imageio/spi/ImageReaderWriterSpi.java,
7236 javax/imageio/spi/ImageTranscoderSpi.java,
7237 javax/imageio/spi/RegisterableService.java,
7238 javax/imageio/spi/ServiceRegistry.java,
7239 javax/imageio/spi/package.html,
7240 javax/imageio/stream/IIOByteBuffer.java,
7241 javax/imageio/stream/ImageInputStream.java,
7242 javax/imageio/stream/ImageOutputStream.java,
7243 javax/imageio/stream/package.html:
7244 New files.
7245 * Makefile.am
7246 (ordinary_java_source_files): Added
7247 gnu/classpath/ServiceFactory.java and
7248 gnu/classpath/ServiceProviderLoadingAction.java.
7249 (javax_source_files): Added
7250 javax/imageio/ImageReader.java,
7251 javax/imageio/ImageTranscoder.java,
7252 javax/imageio/ImageWriter.java,
7253 javax/imageio/spi/IIOServiceProvider.java,
7254 javax/imageio/spi/ImageInputStreamSpi.java,
7255 javax/imageio/spi/ImageOutputStreamSpi.java,
7256 javax/imageio/spi/ImageReaderWriterSpi.java,
7257 javax/imageio/spi/ImageTranscoderSpi.java,
7258 javax/imageio/spi/RegisterableService.java,
7259 javax/imageio/spi/ServiceRegistry.java,
7260 javax/imageio/stream/IIOByteBuffer.java,
7261 javax/imageio/stream/ImageInputStream.java and
7262 javax/imageio/stream/ImageOutputStream.java.
7263 * Makefile.in: Regenerated.
7264
7265 2004-04-21 Michael Koch <konqueror@gmx.de>
7266
7267 * java/util/Properties.java
7268 (load): Fix wrongly merged fix.
7269
7270 2004-04-21 Mark Wielaard <mark@klomp.org>
7271
7272 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7273 malloc and free buf.
7274
7275 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7276
7277 * javax/naming/AuthenticationException.java,
7278 javax/naming/AuthenticationNotSupportedException.java,
7279 javax/naming/CannotProceedException.java,
7280 javax/naming/CommunicationException.java,
7281 javax/naming/CompoundName.java,
7282 javax/naming/ConfigurationException.java,
7283 javax/naming/ContextNotEmptyException.java,
7284 javax/naming/InitialContext.java,
7285 javax/naming/InsufficientResourcesException.java,
7286 javax/naming/InterruptedNamingException.java,
7287 javax/naming/LimitExceededException.java,
7288 javax/naming/LinkException.java,
7289 javax/naming/LinkLoopException.java,
7290 javax/naming/LinkRef.java,
7291 javax/naming/MalformedLinkException.java,
7292 javax/naming/Name.java,
7293 javax/naming/NameAlreadyBoundException.java,
7294 javax/naming/NameNotFoundException.java,
7295 javax/naming/NamingSecurityException.java,
7296 javax/naming/NoInitialContextException.java,
7297 javax/naming/NoPermissionException.java,
7298 javax/naming/NotContextException.java,
7299 javax/naming/PartialResultException.java,
7300 javax/naming/ReferralException.java,
7301 javax/naming/ServiceUnavailableException.java,
7302 javax/naming/SizeLimitExceededException.java,
7303 javax/naming/TimeLimitExceededException.java,
7304 javax/naming/directory/Attribute.java,
7305 javax/naming/directory/Attributes.java,
7306 javax/naming/directory/SearchResult.java,
7307 javax/naming/event/NamingExceptionEvent.java,
7308 javax/naming/spi/ResolveResult.java:
7309 Cleaned up imports.
7310
7311 2004-04-21 Mark Wielaard <mark@klomp.org>
7312
7313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7314 Changed C++ comments into C comments. Removed commented out code.
7315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7316 Likewise.
7317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7318 Likewise.
7319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7320 Likewise.
7321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7322 Likewise.
7323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7324 Likewise.
7325 * native/jni/gtk-peer/gthread-jni.c:
7326 Likewise.
7327
7328 2004-04-21 Mark Wielaard <mark@klomp.org>
7329
7330 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7331 static fields defined in interface.
7332 * javax/awt/JDialog.java: Likewise.
7333 (JDialog): Make constructors public.
7334 (getDefaultCloseOperation): Make public.
7335 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7336 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7337 * javax/swing/JViewport.java (JViewport): Make constructor public.
7338
7339 2004-04-21 Michael Koch <konqueror@gmx.de>
7340
7341 * java/util/Map.java
7342 (Entry): Removed redundant "static" modifier.
7343 * java/text/AttributedCharacterIterator.java:
7344 Updated copyright year.
7345
7346 2004-04-20 Michael Koch <konqueror@gmx.de>
7347
7348 * javax/naming/directory/SearchControls.java:
7349 Don't explicitely extend java.lang.Object.
7350 * javax/naming/spi/DirStateFactory.java:
7351 Merged copyright year with GNU classpath.
7352
7353 2004-04-20 Michael Koch <konqueror@gmx.de>
7354
7355 * java/nio/channels/Channels.java:
7356 Merged coding style with GNU classpath.
7357
7358 2004-04-20 Michael Koch <konqueror@gmx.de>
7359
7360 * java/net/ServerSocket.java
7361 Merged coding style from GNU classpath.
7362
7363 2004-04-20 Michael Koch <konqueror@gmx.de>
7364
7365 * java/io/BufferedWriter.java:
7366 Reordered variables to be at top of the class.
7367 (localFlush): Removed redundant final keyword.
7368
7369 2004-04-20 Ingo Proetel <proetel@aicas.com>
7370
7371 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7372
7373 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7374
7375 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7376 for percent and permill check.
7377
7378 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7379
7380 * java/text/FieldPosition.java
7381 (FieldPosition) Constructor now behaves as it should according
7382 to the java documentation.
7383
7384 2004-04-20 Mark Wielaard <mark@klomp.org>
7385
7386 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7387 documentation.
7388
7389 2004-04-20 Michael Koch <konqueror@gmx.de>
7390
7391 * java/nio/Buffer.java,
7392 java/nio/channels/AlreadyConnectedException.java,
7393 java/nio/channels/AsynchronousCloseException.java,
7394 java/nio/channels/ByteChannel.java,
7395 java/nio/channels/CancelledKeyException.java,
7396 java/nio/channels/Channel.java,
7397 java/nio/channels/Channels.java,
7398 java/nio/channels/ClosedByInterruptException.java,
7399 java/nio/channels/ClosedChannelException.java,
7400 java/nio/channels/ClosedSelectorException.java,
7401 java/nio/channels/ConnectionPendingException.java,
7402 java/nio/channels/DatagramChannel.java,
7403 java/nio/channels/FileChannel.java,
7404 java/nio/channels/FileLock.java,
7405 java/nio/channels/FileLockInterruptionException.java,
7406 java/nio/channels/GatheringByteChannel.java,
7407 java/nio/channels/IllegalBlockingModeException.java,
7408 java/nio/channels/IllegalSelectorException.java,
7409 java/nio/channels/InterruptibleChannel.java,
7410 java/nio/channels/NoConnectionPendingException.java,
7411 java/nio/channels/NonReadableChannelException.java,
7412 java/nio/channels/NonWritableChannelException.java,
7413 java/nio/channels/NotYetBoundException.java,
7414 java/nio/channels/NotYetConnectedException.java,
7415 java/nio/channels/OverlappingFileLockException.java,
7416 java/nio/channels/Pipe.java,
7417 java/nio/channels/ReadableByteChannel.java,
7418 java/nio/channels/ScatteringByteChannel.java,
7419 java/nio/channels/SelectableChannel.java,
7420 java/nio/channels/SelectionKey.java,
7421 java/nio/channels/Selector.java,
7422 java/nio/channels/ServerSocketChannel.java,
7423 java/nio/channels/SocketChannel.java,
7424 java/nio/channels/UnresolvedAddressException.java,
7425 java/nio/channels/UnsupportedAddressTypeException.java,
7426 java/nio/channels/WritableByteChannel.java,
7427 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7428 java/nio/channels/spi/AbstractSelectableChannel.java,
7429 java/nio/channels/spi/AbstractSelectionKey.java,
7430 java/nio/channels/spi/AbstractSelector.java,
7431 java/nio/channels/spi/SelectorProvider.java,
7432 java/nio/charset/spi/CharsetProvider.java:
7433 Fixed javadocs and jalopied all over java.nio.
7434
7435 2004-04-20 Michael Koch <konqueror@gmx.de>
7436
7437 * java/nio/ByteBufferImpl.java,
7438 java/nio/CharBufferImpl.java,
7439 java/nio/DirectByteBufferImpl.java,
7440 java/nio/DoubleBufferImpl.java,
7441 java/nio/DoubleViewBufferImpl.java,
7442 java/nio/FloatBufferImpl.java,
7443 java/nio/FloatViewBufferImpl.java,
7444 java/nio/IntBufferImpl.java,
7445 java/nio/IntViewBufferImpl.java,
7446 java/nio/LongBufferImpl.java,
7447 java/nio/LongViewBufferImpl.java,
7448 java/nio/MappedByteBufferImpl.java,
7449 java/nio/ShortBufferImpl.java,
7450 java/nio/ShortViewBufferImpl.java:
7451 Made sure all classes are final and removed final keyword from all
7452 methods.
7453
7454 2004-04-20 Michael Koch <konqueror@gmx.de>
7455
7456 * java/rmi/MarshalledObject.java,
7457 java/rmi/Naming.java,
7458 java/rmi/RemoteException.java,
7459 java/rmi/activation/ActivationException.java,
7460 java/rmi/server/ServerCloneException.java,
7461 java/security/AccessController.java,
7462 java/security/AlgorithmParameterGenerator.java,
7463 java/security/AlgorithmParameters.java,
7464 java/security/CodeSource.java,
7465 java/security/Identity.java,
7466 java/security/IdentityScope.java,
7467 java/security/KeyPairGenerator.java,
7468 java/security/KeyStore.java,
7469 java/security/Security.java,
7470 java/security/Signature.java,
7471 java/security/SignatureSpi.java,
7472 java/security/SignedObject.java,
7473 java/security/spec/DSAParameterSpec.java,
7474 java/security/spec/DSAPrivateKeySpec.java,
7475 java/security/spec/DSAPublicKeySpec.java,
7476 java/sql/Array.java,
7477 java/sql/DatabaseMetaData.java,
7478 java/sql/ResultSet.java,
7479 java/text/ChoiceFormat.java,
7480 java/text/CollationElementIterator.java,
7481 java/text/CollationKey.java,
7482 java/text/Collator.java,
7483 java/text/DateFormat.java,
7484 java/text/DateFormatSymbols.java,
7485 java/text/DecimalFormatSymbols.java,
7486 java/text/Format.java,
7487 java/text/ParsePosition.java,
7488 java/text/RuleBasedCollator.java,
7489 java/text/SimpleDateFormat.java,
7490 java/text/StringCharacterIterator.java,
7491 java/util/Collections.java,
7492 java/util/PropertyResourceBundle.java,
7493 java/util/ResourceBundle.java,
7494 java/util/StringTokenizer.java,
7495 java/util/jar/Attributes.java,
7496 java/util/logging/ConsoleHandler.java,
7497 java/util/logging/LogManager.java,
7498 java/util/logging/MemoryHandler.java,
7499 java/util/logging/SocketHandler.java,
7500 javax/naming/NamingException.java:
7501 Fixed javadoc, coding style and argument names all over.
7502
7503 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7504
7505 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7506 constructor. (valid) Added null check.
7507
7508 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7509
7510 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7511 * java/io/FileOutputStream.java
7512 (FileOutputStream) Reorganized constructors. Constructors now
7513 check whether the given path is directory.
7514
7515 2004-04-20 Michael Koch <konqueror@gmx.de>
7516
7517 * java/net/Authenticator.java,
7518 java/net/BindException.java,
7519 java/net/ConnectException.java,
7520 java/net/ContentHandler.java,
7521 java/net/ContentHandlerFactory.java,
7522 java/net/DatagramPacket.java,
7523 java/net/DatagramSocket.java,
7524 java/net/DatagramSocketImpl.java,
7525 java/net/DatagramSocketImplFactory.java,
7526 java/net/FileNameMap.java,
7527 java/net/HttpURLConnection.java,
7528 java/net/Inet4Address.java,
7529 java/net/Inet6Address.java,
7530 java/net/InetAddress.java,
7531 java/net/InetSocketAddress.java,
7532 java/net/JarURLConnection.java,
7533 java/net/MalformedURLException.java,
7534 java/net/MulticastSocket.java,
7535 java/net/NetPermission.java,
7536 java/net/NetworkInterface.java,
7537 java/net/NoRouteToHostException.java,
7538 java/net/PasswordAuthentication.java,
7539 java/net/PortUnreachableException.java,
7540 java/net/ProtocolException.java,
7541 java/net/ServerSocket.java,
7542 java/net/Socket.java,
7543 java/net/SocketAddress.java,
7544 java/net/SocketException.java,
7545 java/net/SocketImpl.java,
7546 java/net/SocketImplFactory.java,
7547 java/net/SocketOptions.java,
7548 java/net/SocketPermission.java,
7549 java/net/SocketTimeoutException.java,
7550 java/net/URI.java,
7551 java/net/URISyntaxException.java,
7552 java/net/URL.java,
7553 java/net/URLClassLoader.java,
7554 java/net/URLConnection.java,
7555 java/net/URLDecoder.java,
7556 java/net/URLEncoder.java,
7557 java/net/URLStreamHandler.java,
7558 java/net/URLStreamHandlerFactory.java,
7559 java/net/UnknownHostException.java,
7560 java/net/UnknownServiceException.java:
7561 Fixed javadocs, coding style and argument names all over.
7562
7563 2004-04-20 Michael Koch <konqueror@gmx.de>
7564
7565 * java/lang/Byte.java,
7566 java/lang/CharSequence.java,
7567 java/lang/ClassLoader.java,
7568 java/lang/Compiler.java,
7569 java/lang/Double.java,
7570 java/lang/Float.java,
7571 java/lang/Integer.java,
7572 java/lang/Long.java,
7573 java/lang/Math.java,
7574 java/lang/Number.java,
7575 java/lang/Package.java,
7576 java/lang/Runtime.java,
7577 java/lang/RuntimePermission.java,
7578 java/lang/SecurityManager.java,
7579 java/lang/Short.java,
7580 java/lang/StringBuffer.java,
7581 java/lang/System.java,
7582 java/lang/ThreadGroup.java,
7583 java/lang/Throwable.java,
7584 java/lang/reflect/InvocationHandler.java,
7585 java/lang/reflect/Proxy.java:
7586 Fixed javadocs, coding style and argument names all over.
7587
7588 2004-04-20 Michael Koch <konqueror@gmx.de>
7589
7590 * java/io/BufferedWriter.java,
7591 java/io/ByteArrayInputStream.java,
7592 java/io/CharArrayWriter.java,
7593 java/io/DataInput.java,
7594 java/io/DataInputStream.java,
7595 java/io/File.java,
7596 java/io/FilterInputStream.java,
7597 java/io/InputStream.java,
7598 java/io/InputStreamReader.java,
7599 java/io/ObjectInputStream.java,
7600 java/io/ObjectStreamClass.java,
7601 java/io/PipedInputStream.java,
7602 java/io/PipedReader.java,
7603 java/io/PushbackInputStream.java,
7604 java/io/PushbackReader.java,
7605 java/io/RandomAccessFile.java,
7606 java/io/SerializablePermission.java,
7607 java/io/StreamTokenizer.java,
7608 java/io/StringWriter.java,
7609 java/io/WriteAbortedException.java,
7610 java/io/Writer.java:
7611 Fixed javadocs all over, rename arguments to match javadocs,
7612 fixed coding style.
7613
7614 2004-04-20 Ingo Proetel <proetel@aicas.com>
7615
7616 * java/awt/FontMetrics.java:
7617 (charsWidth): fixed accumulation of total_width
7618 (getWidth): simple default implementation
7619 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7620 in Rectangle constructor.
7621 * java/awt/image/Raster.java (toString): Added method.
7622 * java/awt/image/SampleModel.java (<init>): Added error cause
7623 information to thrown exception.
7624 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7625 New method.
7626 (setDataElements): New method.
7627 (setPixels): New method.
7628 (toString): New method.
7629
7630 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7631
7632 * java/awt/image/ComponentColorModel.java
7633 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7634 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7635 Mauve tests on this method. Improved documentation.
7636
7637 2004-04-20 Michael Koch <konqueror@gmx.de>
7638
7639 * javax/swing/JLayeredPane.java,
7640 javax/swing/plaf/BorderUIResource.java,
7641 javax/swing/plaf/ComponentUI.java,
7642 javax/swing/undo/CompoundEdit.java,
7643 javax/swing/undo/StateEdit.java:
7644 Fixed HTML tags in javadocs all over.
7645
7646 2004-04-20 Michael Koch <konqueror@gmx.de>
7647
7648 * javax/print/attribute/EnumSyntax.java
7649 (getOffset): Made protected.
7650 * javax/print/attribute/HashAttributeSet.java
7651 (HashAttributeSet): Likewise.
7652 * javax/print/attribute/ResolutionSyntax.java
7653 (getFeedResolution): Fixed typo in exception name.
7654 (getCrossFeedResolution): Likewise.
7655 * javax/print/attribute/SetOfIntegerSyntax.java
7656 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7657 * javax/print/attribute/TextSyntax.java
7658 (TextSyntax): Handle locale correctly.
7659 (hashCode): Calc better hashcode value.
7660 (equals): Fixed @return tag.
7661 (toString): New method.
7662
7663 2004-04-20 Michael Koch <konqueror@gmx.de>
7664
7665 * gnu/java/nio/FileLockImpl.java
7666 (static): Removed, not needed anymore.
7667 * gnu/java/nio/channels/FileChannelImpl.java
7668 (FileChannelImpl): Made final.
7669 (mode): Made private.
7670 (READ, WRITE, APPEND): Made public.
7671 (EXCL, SYNC, DSYNC): Likewise.
7672 (static): Load native JNI library, when needed.
7673 (length): Unused, removed.
7674 (available): Made public.
7675 (implPosition): Throws IOException.
7676 (seek): Likewise.
7677 (implTruncate): Likewise.
7678 (unlock): Likewise.
7679 (lock): Likewise.
7680
7681 2004-04-20 Michael Koch <konqueror@gmx.de>
7682
7683 * java/awt/AWTPermission.java,
7684 java/awt/Component.java,
7685 java/awt/ComponentOrientation.java,,
7686 java/awt/Dialog.java,
7687 java/awt/FontMetrics.java,
7688 java/awt/Graphics.java,
7689 java/awt/datatransfer/DataFlavor.java,
7690 java/beans/Introspector.java,
7691 java/beans/PropertyEditor.java,
7692 java/beans/PropertyEditorManager.java,
7693 java/beans/beancontext/BeanContextServiceProvider.java:
7694 Fixed HTML tags in javadocs all over.
7695
7696 2004-04-20 Mark Wielaard <mark@klomp.org>
7697
7698 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7699 MissingResourceException is thrown.
7700 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7701 null when a MissingResourceException is thrown. Should never happen.
7702
7703 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7704
7705 * java/awt/image/DataBufferShort.java,
7706 java/awt/image/DataBufferFloat.java,
7707 java/awt/image/DataBufferDouble.java,
7708 java/awt/image/PixelInterleavedSampleModel.java: New files.
7709 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7710 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7711
7712 2004-04-20 Michael Koch <konqueror@gmx.de>
7713
7714 * Makefile.am (java_source_files): Added
7715 java/awt/image/DataBufferDouble.java,
7716 java/awt/image/DataBufferFloat.java,
7717 java/awt/image/DataBufferShort.java and
7718 java/awt/image/PixelInterleavedSampleModel.java.
7719 * Makefile.in: Regenerated.
7720
7721 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7722
7723 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7724 undocumented CNI calls.
7725 * include/java-interp.h (_Jv_InterpClass): No longer
7726 extends java.lang.Class.
7727 * java/lang/Class.h (Class): Add new field `aux_info'.
7728 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7729 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7730 Use Class->aux_info instead.
7731 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7732 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7733 Use Class->aux_info instead.
7734 * java/io/natObjectInputStream.cc (allocateObject): Use
7735 _Jv_AllocObject.
7736 * java/lang/natClass.cc (newInstance): Likewise.
7737 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7738 * java/lang/natObject.cc (clone): Likewise.
7739 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7740 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7741 JvAllocObject. Allocate klass->aux_info here for interpreted
7742 class.
7743
7744 2004-04-17 Mark Wielaard <mark@klomp.org>
7745
7746 * javax/swing/JToggleButton.java (ToggleButtonModel):
7747 Make public static inner class.
7748 * javax/swing/JTabbedPane.java (setComponentAt):
7749 Call Page.setComponent().
7750 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7751 (WRAP_TAB_LAYOUT): Make public, value is 0.
7752 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7753 Make private static inner class.
7754
7755 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7756
7757 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7758 arguments to match new signature. Remove FIXME comments.
7759
7760 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7761
7762 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7763 Remove method.
7764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7765 unused code.
7766
7767 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7768
7769 * Makefile.am: Added new file.
7770 * Makefile.in: Regenerate.
7771 * javax/swing/ImageIcon.java:
7772 (ImageIcon(file)): set description of the icon
7773 to the file name
7774 * javax/swing/JCheckBoxMenuItem.java:
7775 Mostly Implemented. Work in progress.
7776 * javax/swing/JRadioButtonMenuItem.java:
7777 Reimplement constructors to use JToggleButtonModel.
7778 * javax/swing/plaf/basic/BasicIconFactory.java:
7779 (getCheckBoxMenuItemIcon): return check box
7780 icon.
7781 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7782 paint menu item selected only when it is armed and
7783 pressed.
7784
7785 2004-04-02 David Jee <djee@redhat.com>
7786
7787 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7788 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7789 * java/awt/Component.java
7790 (add): Set the parent of the popup as this component.
7791 * java/awt/PopupMenu.java
7792 (addNotify): Create popup menu when peer is null.
7793 (show): Call addNotify() if peer is null.
7794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7795 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7796 argument for gtk_menu_popup() as zero. This causes the popup menu to
7797 respond to any mouse button.
7798
7799 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7800
7801 * Makefile.am: Added new file.
7802 * Makefile.in: Regenerate.
7803 * javax/swing/JRadioButtonMenuItem.java:
7804 Implemented.
7805 * javax/swing/plaf/basic/BasicIconFactory.java:
7806 (getRadioButtonMenuItemIcon): Return
7807 radio button icon.
7808 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7809 (getPreferredSize): Add size of checkIcon if it
7810 exists.
7811 (installDefaults): Don't initialize checkIcon.
7812 It's value will be set in subclasses.
7813 (uninstallDefaults): remove uninstallation of
7814 checkIcon.
7815 (paint): Moved code to paintMenuItem().
7816 (paintMenuItem): Implemented.
7817 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7818 UI delegate for JRadioButtonMenuItem.
7819
7820 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7821
7822 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7823 Corrected position of the accelerator.
7824
7825 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7826
7827 * Makefile.am: Added new file.
7828 * Makefile.in: Regenerate.
7829 * javax/swing/JMenuItem.java: Partly
7830 implemented. Work in progress
7831 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7832 Changed default value of acceleratorDelimiter.
7833 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7834 New class. Partly implemented.
7835
7836 2004-03-26 Mark Wielaard <mark@klomp.org>
7837
7838 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7839 (item_activate): Declare label before use.
7840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7841 (gtkSetFont): Removed unused variable label.
7842 (addExposeFilter): Declare variables before use.
7843 (removeExposeFilter): Likewise.
7844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7845 (ok_clicked): Declare str_fileName before use.
7846
7847 2004-03-26 David Jee <djee@redhat.com>
7848
7849 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7850 (addSeparator): Remove.
7851 * java/awt/Menu.java
7852 (separator): Remove static final MenuItem field.
7853 (separatorLabel): New static final String field.
7854 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7855 Use separatorLabel to denote that it is a separator.
7856 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7857 of reusing the static separator instance, because a MenuItem instance
7858 can't be added more than once without being cloned.
7859 * java/awt/peer/MenuPeer.java
7860 (addSeparator): Remove from interface.
7861
7862 2004-03-26 David Jee <djee@redhat.com>
7863
7864 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7865 (connectSignals): New native method declaration.
7866 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7867 * java/awt/MenuItem.java
7868 (getActionCommand): Return the label if the action command is not set.
7869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7870 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7871 gtk_menu_shell_append().
7872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7873 (item_activate): Fix argument type.
7874 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7875 signal here.
7876 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7877 method.
7878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7879 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7880 given. Add the menu widget's top-level GtkWindow to the global window
7881 group, so it can grab the pointer.
7882 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7883 gtk_menu_shell_append().
7884
7885 2004-03-23 Graydon Hoare <graydon@redhat.com>
7886
7887 * java/text/AttributedString.java
7888 (addAttribute): Fix off-by-one.
7889 (getIterator): Likewise.
7890 * java/text/AttributedStringIterator.java
7891 (getRunLimit): Correct logic.
7892 (getRunStart): Likewise.
7893 (getAttribute): Fix inequality.
7894 (getAttributes): Likewise.
7895 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7896
7897 2004-03-23 Kim Ho <kho@redhat.com>
7898
7899 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7900 (calculateSizes): Return real width and height.
7901
7902 2004-03-23 Kim Ho <kho@redhat.com>
7903
7904 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7905 (calculateTabRects): Set the selectedRun before
7906 trying to rotate tabs.
7907
7908 2004-03-23 Kim Ho <kho@redhat.com>
7909
7910 * Makefile.am: New file
7911 * Makefile.in: Regenerate
7912 * java/awt/Graphics.java: (drawRect):
7913 Draw to the correct point.
7914 * javax/swing/DefaultSingleSelectionModel.java
7915 (isSelected): Return true if the selected index
7916 is not -1.
7917 * javax/swing/JLabel.java: Do not change mnemonic
7918 index if text is null.
7919 * javax/swing/JProgressBar.java: Use JComponent's
7920 EventListenerList.
7921 * javax/swing/JScrollBar.java: Ditto.
7922 * javax/swing/JSlider.java: Ditto.
7923 * javax/swing/JTabbedPane.java: Reimplement.
7924 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7925 Add defaults for TabbedPane.
7926 * javax/swing/plaf/basic/BasicArrowButton.java:
7927 Implement
7928 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7929 (paintDeterminate): Don't paint String if it's
7930 empty.
7931 (paintIndeterminate): ditto.
7932 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7933 Reimplement.
7934
7935 2004-03-19 Michael Koch <konqueror@gmx.de>
7936
7937 * java/awt/image/AffineTransformOp.java
7938 (AffineTransformOp): Made public.
7939 * javax/swing/JComponent.java
7940 (listenerList): Made protected.
7941 (accessibleContext): Likewise.
7942 * javax/swing/JList.java
7943 (valueChanged): Dont use internal fields of ListSelectionEvent.
7944 * javax/swing/JViewport.java
7945 (getView): Dont use internal fields of Component.
7946 (addImpl): Likewise.
7947 * javax/swing/Timer.java
7948 (isRunning): Made public.
7949 (start): Likewise.
7950 (stop): Likewise.
7951 * javax/swing/UIDefaults.java
7952 (getInt): Made public.
7953 * javax/swing/plaf/basic/BasicListUI.java
7954 (mousePressed): Dont use internal fields of MouseEvent.
7955 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7956 * javax/swing/plaf/basic/BasicScrollBarUI.java
7957 (arrowIcon): Made static.
7958 * javax/swing/plaf/basic/BasicViewportUI.java
7959 (stateChanged): Dont use internal field on ChangeEvent.
7960 * javax/swing/text/JTextComponent.java
7961 (getUI): Call UIManager.getUI().
7962 (updateUI): Use getUI().
7963
7964 2004-03-19 Graydon Hoare <graydon@redhat.com>
7965
7966 * javax/swing/JComponent.java: Turn off double buffer by default.
7967 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7969 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7970 Use cairo to copy areas.
7971 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7972 Initialize and set clip region.
7973
7974 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7975
7976 * java/applet/Applet.java (preferredSize): Override deprecated
7977 variant of getPreferredSize.
7978 (minimumSize): Override deprecated variant of getMinimumSize.
7979
7980 2004-03-15 Olga Rodimina <rodimina@redhat.com>
7981
7982 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7983 (drawImage(img,xform,bgcolor,obs)): New Method.
7984 Helper function that every drawImage method will
7985 use.
7986 (drawRaster): Added new parameter, bgcolor. All
7987 transparent pixels are changed to bgcolor before
7988 image is drawn.
7989 (drawRenderedImage): Fixed to use changed drawRaster().
7990 (drawImage(image,xform,obs): Fixed to use new helper function
7991 (drawImage(image,op,x,y)): Ditto.
7992 (drawImage (img,x,y,observer)): Ditto.
7993 ((PainterThread) bgcolor): New Field.
7994 ((PainterThread) (setPixels)): Changed all transparent pixels
7995 to bgcolor.
7996 (drawImage(img,x,y,width,height,bgcolor,observer)):
7997 Fixed FIXME - all the transparent pixels are
7998 changed to the specified bgcolor.
7999 (drawImage(img, x, y, width, height, observer): Changed to
8000 use function above.
8001 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8002 Fixed FIXME- changed all transparent pixels to bgcolor.
8003 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8004 Changed to use function above.
8005
8006 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8007
8008 * java/applet/Applet.java (dimensions): New field.
8009 (getDimensions): New method.
8010 (getPreferredSize): Call getDimensions.
8011 (getMinimumSize): Likewise.
8012
8013 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8014
8015 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8016 * jni/classpath/jnilink.c: Likewise.
8017
8018 * java/applet/Applet.java (getPreferredSize): New method.
8019 (getMinimumSize): New method.
8020
8021 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8022
8023 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8024 (_Jv_AllocObjectNoFinalizer): Likewise.
8025 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8026 (_Jv_AllocPtrFreeObject): Likewise.
8027 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8028 directly even in the JVMPI case.
8029 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8030 _Jv_AllocObject calls.
8031 * gcj/javaprims.h: Update prototypes.
8032 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8033 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8034 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8035
8036 2004-04-14 Andrew Haley <aph@redhat.com>
8037 Bryce McKinlay <mckinlay@redhat.com>
8038
8039 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8040 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8041 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8042
8043 * testsuite/libjava.lang/InvokeInterface.java: New file.
8044 * testsuite/libjava.lang/InvokeInterface.out: New file.
8045
8046 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8047
8048 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8049 modified lookup().
8050 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8051 StackTraceElement directly.
8052 (newElement): New native helper method to create StackTraceElement
8053 bypassing Java access control.
8054 (createStackTraceElement): Use newElement() instead of directly
8055 calling StackTraceElement's constructor.
8056 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8057
8058 2004-04-01 Michael Koch <konqueror@gmx.de>
8059
8060 * java/lang/SecurityManager.java
8061 (checkAwtEventQueueAccess): Implemented.
8062
8063 2004-04-01 Gary Benson <gbenson@redhat.com>
8064
8065 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8066 (_Jv_SearchMethodInClass): Likewise.
8067
8068 2004-03-26 Peter Moon <peterm@miraculum.com>
8069
8070 * java/text/NumberFormat.java: Fix spelling of setCurrency
8071 method.
8072
8073 2004-03-21 Anthony Green <green@redhat.com>
8074
8075 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8076 recursion when searching for the system ClassLoader.
8077
8078 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8079
8080 * java/net/ServerSocket.java
8081 (accept): Close the socket when error occured.
8082
8083 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8084
8085 * java/net/URI.java (parseURI): Added unquoting.
8086 (unquote): New method.
8087 (quoteAuthority): Implemented.
8088 (quote(String,String)): New method.
8089 (quotePath): Implemented.
8090 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8091 (getSchemeSpecificPart): Removed FIXME comment.
8092 (getRawAuthority): Return new rawAuthority field.
8093 (getAuthority): Removed FIXME comment.
8094 (getRawUserInfo): Return new rawUserInfo field.
8095 (getUserInfo): Removed FIXME comment.
8096 (getRawPath): Return new rawPath field.
8097 (getPath): Removed FIXME comment.
8098 (getRawQuery): Return new rawQuery field.
8099 (getQuery): Removed FIXME comment.
8100 (getRawFragment): Return new rawFragment field.
8101 (getFragment): Removed FIXME comment.
8102
8103 2004-03-20 Michael Koch <konqueror@gmx.de>
8104
8105 * java/net/URLConnection.java: Merged copyright year with classpath.
8106
8107 2004-03-20 Norbert Frese <postfach@nfrese.net>
8108
8109 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8110 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8111 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8112 rmi-message.
8113 (getObjectInputStream): Return object reference, throw IOException if null.
8114 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8115 (getObjectOutputStream): Return object reference, throw IOException if null.
8116 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8117 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8118 (UnicastConnectionManager): Throw RemoteException if port is not available.
8119 (getInstance): Throw RemoteException.
8120 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8121 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8122 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8123 Collect Exceptions which are returned by a rmi-call and fix void returns.
8124 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8125 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8126 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8127 (dispatch): Answer ping messages which are sent by other java implementions.
8128 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8129 for every rmi-message and fix void return problems.
8130 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8131 (UnicastServerRef): Throw RemoteException.
8132 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8133 In some situations it is necessary to export a subclass of the class which has the _Stub.
8134 For instance when the class with has the _Stub is abstract.
8135 (findStubSkelClass): New method which looks for the class which has the _Stub.
8136 (getClientHost): Implementated.
8137 * gcc/libjava/java/rmi/server/RemoteServer.java
8138 (getClientHost): Implementated.
8139 * gcc/libjava/Makefile.am (rmi_java_source_files):
8140 Added gnu/java/rmi/server/RMIIncomingThread.java.
8141 * Makefile.in: Regenerated.
8142
8143 2004-03-20 Michael Koch <konqueror@gmx.de>
8144
8145 * java/net/InetAddress.java
8146 (getLocalHostname): Added javadoc.
8147
8148 2004-03-19 Per Bothner <per@bothner.com>
8149
8150 * configure.in: FILE variable overrides FLATFORM when linking
8151 natFileChannelXXX.cc.
8152
8153 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8154 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8155
8156 2004-03-19 Per Bothner <per@bothner.com>
8157
8158 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8159 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8160 * Makefile.am: Update accordingly.
8161 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8162 as aliases for UnicodeLittle and UnicodeBig.
8163
8164 2004-03-20 Mark Wielaard <mark@klomp.org>
8165
8166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8167 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8168 Don't access ws when it is null.
8169 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8170 Likewise.
8171
8172 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8173
8174 * java/lang/ThreadGroup.java (list): Changed print to println.
8175
8176 2004-03-19 Mark Wielaard <mark@klomp.org>
8177
8178 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8179 happy.
8180
8181 2004-02-10 Randolph Chung <tausq@debian.org>
8182
8183 * configure.in: Build java for hppa target.
8184 * configure: Regenerate.
8185 * libjava/configure.host (hppa-*): Add target.
8186 * libjava/sysdeps/pa/lock.h: New file.
8187
8188 2004-03-19 Mark Wielaard <mark@klomp.org>
8189
8190 Reported by Stephen Crawley
8191 * java/io/FilePermission.java (implies): Use String.length() -1 to
8192 access last char of String.
8193
8194 2004-03-19 Michael Koch <konqueror@gmx.de>
8195
8196 * java/awt/image/AffineTransformOp.java
8197 (AffineTransformOp): Made public.
8198 * javax/swing/JComponent.java
8199 (listenerList): Made protected.
8200 (accessibleContext): Likewise.
8201 * javax/swing/JList.java
8202 (valueChanged): Dont use internal fields of ListSelectionEvent.
8203 * javax/swing/JViewport.java
8204 (getView): Dont use internal fields of Component.
8205 (addImpl): Likewise.
8206 * javax/swing/Timer.java
8207 (isRunning): Made public.
8208 (start): Likewise.
8209 (stop): Likewise.
8210 * javax/swing/UIDefaults.java
8211 (getInt): Made public.
8212 * javax/swing/plaf/basic/BasicListUI.java
8213 (mousePressed): Dont use internal fields of MouseEvent.
8214 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8215 * javax/swing/plaf/basic/BasicScrollBarUI.java
8216 (arrowIcon): Made static.
8217 * javax/swing/plaf/basic/BasicViewportUI.java
8218 (stateChanged): Dont use internal field on ChangeEvent.
8219 * javax/swing/text/JTextComponent.java
8220 (getUI): Call UIManager.getUI().
8221 (updateUI): Use getUI().
8222
8223 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8224
8225 * verify.cc: Undef PC.
8226
8227 2004-03-18 Michael Koch <konqueror@gmx.de>
8228
8229 * java/nio/channels/spi/AbstractSelectableChannel.java
8230 (keys): Initialize at declaration.
8231 (locate): keys cant be null.
8232 (add): Removed.
8233 (addSelectionKey): New method.
8234 (removeSelectionKey): New method.
8235 * java/nio/channels/spi/AbstractSelectionKey.java
8236 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8237 * java/nio/channels/spi/AbstractSelector.java
8238 (provider): Javadoc added.
8239 (cancelledKeys): Javadoc added.
8240 (cancelKey): Javadoc added, add key to cancelledKeys.
8241 (deregister): Implemented.
8242
8243 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8244
8245 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8246 MAP_FAILED to void *.
8247
8248 2004-03-12 Graydon Hoare <graydon@redhat.com>
8249
8250 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8251 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8252 * javax/swing/JList.java (ListListener): Revalidate on changes.
8253 * javax/swing/JScrollPane.java: Reimplement.
8254 * javax/swing/JViewport.java: Reimplement.
8255 * javax/swing/ScrollPaneLayout.java: Reimplement.
8256 * javax/swing/ViewportLayout.java: Tidy up.
8257 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8258 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8259 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8260 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8261 backing store only.
8262
8263 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8264
8265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8266 (window_wm_protocols_filter): New function.
8267 (window_focus_in_cb): Remove function.
8268 (window_focus_out_cb): Likewise.
8269 (window_focus_or_active_state_change_cb): New function.
8270 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8271 (connectSignals): Don't attach handlers to focus-in-event or
8272 focus-out-event signals. Handle notify signal.
8273
8274 2004-03-11 David Jee <djee@redhat.com>
8275
8276 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8277 (gtkSetLabel): New native method declaration.
8278 (setLabel): Use gtkSetLabel.
8279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8280 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8281
8282 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8283
8284 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8285 black when color argument is null.
8286
8287 2004-03-10 Kim Ho <kho@redhat.com>
8288
8289 * java/awt/Container.java: Remove check
8290 for drag events.
8291
8292 2004-03-10 Kim Ho <kho@redhat.com>
8293
8294 * java/awt/Container.java: (visitChild):
8295 Remove candidate clip. Use the component
8296 clip to intersect.
8297 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8298 (handleEvent): Use the PaintEvent's clip.
8299
8300 2004-03-10 Kim Ho <kho@redhat.com>
8301
8302 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8303 (handleEvent): Don't set the clip for the
8304 Graphics object.
8305
8306 2004-03-09 Graydon Hoare <graydon@redhat.com>
8307
8308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8309 Fix double <-> fixed macros, reset font transform.
8310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8311 Likewise.
8312
8313 2004-03-09  Kim Ho <kho@redhat.com>
8314
8315 * java/awt/Container.java: (visitChild): Move
8316 the x and y coordinate of the component rectangle
8317 to correct position.
8318 (handleEvent): Forward drag events to the pressed
8319 component.
8320 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8321 Fix comments.
8322 (ArrowButtonListener::mousePressed): Stop the
8323 existing timer.
8324 (mouseDragged): Implement.
8325 (TrackListener::mousePressed): Only react if
8326 the press doesn't occur on the thumb, otherwise
8327 just set the offset.
8328 (TrackListener::mouseReleased): Unset the isAdjusting
8329 value.
8330 (createIncreaseIcon): Switch icon.
8331 (createDecreaseIcon): Switch icon.
8332 (calculatePreferredSize): Use width.
8333 (getThumbBounds): Use the top as the lower value.
8334 (layoutVScrollBar): Switch the button locations.
8335 (paintIncreaseHighlight): Paint correct side of thumb.
8336 (paintDecreaseHighlight): ditto.
8337 (valueForYPosition): Use top as the lower value.
8338 * javax/swing/plaf/basic/BasicSliderUI.java:
8339 Fix comments.
8340 (mouseDragged): Implement.
8341 (mousePressed): Only react when the thumb isn't
8342 pressed, otherwise just set offset.
8343 (mouseReleased): Handle a release of the thumb.
8344 (scrollDueToClickInTrack): Stop the timer first.
8345 * javax/swing/JProgressBar.java:
8346 (setString): Fix change condition.
8347 * javax/swing/JSeparator.java:
8348 Remove println's.
8349
8350 2004-03-08 David Jee <djee@redhat.com>
8351
8352 * java/awt/image/AffineTransformOp.java:
8353 (filter): Use Graphics2D interface instead of directly using the
8354 GdkGraphics2D peer.
8355
8356 2004-03-05 David Jee <djee@redhat.com>
8357
8358 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8359 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8360 * java/awt/Container.java
8361 (acquireComponentForMouseEvent): Fixed.
8362 (handleEvent): Fixed.
8363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8364 (state_to_awt_mods_with_button_states): New method.
8365 (pre_event_handler): Fixed mouse event generation.
8366
8367 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8368
8369 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8370 (GdkGraphics2D (BufferedImage)): Initialize
8371 pixmap associated with specified BufferedImage.
8372 (setPaint): Changed implementation of Texture
8373 Paint to use AffineTransformOp.
8374 * java/awt/image/AffineTransformOp.java
8375 (createCompatibleDestRaster): Throw RasterFormatException
8376 if resulting width or height of raster is 0.
8377
8378 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8379
8380 * java/awt/image/AffineTransformOp.java:
8381 Removed unnecessary field interpolationType.
8382 Formatted some of the lines to be consistent with
8383 the GNU style.
8384 (AffineTransformOp): Create new RenderingHints
8385 containing specified interpolation type.
8386 (createCompatibleDestImage): Implemented.
8387 (createCompatibleDestRaster): Implemented.
8388 (filter): Implemented.
8389 (getBounds2D(BufferedImage)): Implemented.
8390 (getBounds2D(Raster)): Implemented.
8391 (getInterpolationType): Get interpolation value from
8392 rendering hints.
8393
8394 2004-03-04 David Jee <djee@redhat.com>
8395
8396 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8397 (setFont): Check if child peers are null.
8398
8399 2004-03-04 Graydon Hoare <graydon@redhat.com>
8400
8401 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8402 .libs in -L option.
8403 (libjava_arguments): Add new libraries to argument list.
8404
8405 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8406
8407 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8408 * Makefile.in: Re-generated.
8409 * java/awt/image/AffineTransformOp.java: New Class.
8410
8411 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8412
8413 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8414 (setPaint): Interpret correctly TexturePaint's
8415 anchor rectangle.
8416 (drawImage): Fixed scale factors of the affine
8417 transform.
8418
8419 2004-02-27 David Jee <djee@redhat.com>
8420
8421 * gnu/java/awt/peer/gtk/GdkGraphics.java
8422 (GdkGraphics(Component)): Inherit font from component.
8423 (drawString): Use font style.
8424 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8425 (gtkSetFont): New native method declaration.
8426 (setFont): New method.
8427 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8428 (gtkSetFont): New native method declaration.
8429 (setFont): Call new native method gtkSetFont.
8430 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8431 (setFont): For all child components who do not their fonts set,
8432 set their peers' fonts with this container's font.
8433 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8434 Move all native method declarations to the top for readability.
8435 (gtkSetFont): New native method declaration.
8436 (setFont): New method.
8437 * java/awt/Component.java
8438 (setFont): Invalidate after setting the font.
8439 * java/awt/Container.java
8440 (invalidateTree): New method.
8441 (setFont): Invalidate the container tree after setting the font.
8442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8443 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8445 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8447 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8449 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8450
8451 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8452
8453 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8454 (updateBufferedImage): New helper function.
8455 Updates BufferedImage in memory if it was changed.
8456 (draw): changed to update BufferedImage in memory after
8457 this drawing operation
8458 (fill): Ditto.
8459 (draw3DRect): Ditto.
8460 (fill3DRect): Ditto.
8461 (clearRect): Ditto.
8462 (drawRaster): Ditto.
8463 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8464 no affine transformation.
8465 (drawGlyphVector): Ditto.
8466
8467 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8468
8469 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8470 (isBufferedImageGraphics): New Helper function.
8471 Returns true if this graphics2d can be used to draw
8472 into buffered image and false otherwise.
8473 (updateImagePixels): New Helper function.
8474 Updates pixels in the BufferedImage.
8475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8476 (getImagePixels): New function. Returns pixels
8477 of the buffered image associated with
8478 this Graphics2D.
8479
8480 2004-02-26 David Jee <djee@redhat.com>
8481
8482 * java/awt/BorderLayout.java
8483 (layoutContainer): Fix width and height calculations to ensure
8484 that they're non-negative.
8485 * java/awt/Component.java
8486 (setBackground): If c is null, inherit from closest ancestor whose
8487 background color is set.
8488
8489 2004-02-26  Kim Ho  <kho@redhat.com>
8490
8491 * Makefile.am: Add new files.
8492 * Makefile.in: Re-generate.
8493 * javax/swing/JProgressBar.java:
8494 (JProgressBar(int, int int)): Throw
8495 IllegalArgumentException if orientation is
8496 invalid.
8497 (JProgressBar(BoundedRangeModel)): Create
8498 ChangeListener and register it. UpdateUI.
8499 (getChangeListeners): Implement.
8500 (setModel): Reset ChangeListener.
8501 * javax/swing/JScrollBar.java: Implement.
8502 * javax/swing/JSeparator.java: Implement.
8503 * javax/swing/JSlider.java:
8504 (JSlider(int, int, int, int)): Throw
8505 IllegalArgumentException if orientation
8506 is invalid.
8507 (getChangeListeners): Fix method name.
8508 * javax/swing/SwingUtilities.java:
8509 (layoutCompoundLabel): If there is no text,
8510 set the text rectangle dimensions to 0.
8511 * javax/swing/plaf/basic/BasicButtonUI.java:
8512 (paint): If there is no text, don't paint it.
8513 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8514 Implement.
8515 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8516 Implement.
8517 * javax/swing/plaf/basic/BasicSliderUI.java:
8518 (propertyChange): If the model changes, change
8519 the listeners accordingly.
8520
8521 2004-02-25 Graydon Hoare <graydon@redhat.com>
8522
8523 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8524 * javax/swing/JList.java: Reimplement.
8525 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8526 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8527 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8528 * javax/swing/ListModel.java: Javadoc.
8529 * javax/swing/ListSelectionModel.java: Add missing methods.
8530 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8531 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8532 * javax/swing/ListModel.java: Javadoc and corrections.
8533 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8534
8535 2004-02-25 David Jee <djee@redhat.com>
8536
8537 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8538 (GtkFontPeer): Change default size to 12.
8539 * gnu/java/awt/peer/gtk/GtkToolkit.java
8540 (getFontPeer): Change default size to 12.
8541 (getClasspathFontPeer): Likewise. Set default name to "Default".
8542 * java/awt/Font.java
8543 (Font(Map)): Call Font(String,Map).
8544 (Font(String,Map)): If attrs is null, initialize it as an empty
8545 HashMap, which will ensure that the Font will get default attributes.
8546
8547 2004-02-25 David Jee <djee@redhat.com>
8548
8549 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8550 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8551 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8552 * gnu/java/awt/peer/gtk/GtkToolkit.java
8553 (getFontPeer(String,int)): Call the new overload method with size 1.
8554 (getFontPeer(String,int,int)): New method. Overloaded with size
8555 attribute.
8556 (getClasspathFontPeer): Set the size of the font.
8557
8558 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8559
8560 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8561 (bimage): New field.
8562 (GdkGraphics2D): New Constructor. Constructs Graphics
8563 object that can be used to draw into the Buffered Image.
8564 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8565 (GdkGraphicsEnvironment): Fixed to include public
8566 keyword.
8567 (createGraphics): Implemented.
8568 * gnu/java/awt/peer/gtk/GtkToolkit.java
8569 (getLocalGraphicsEnvironment): Implemented.
8570 * java/awt/GraphicsEnvironment.java:
8571 (getLocalGraphicsEnvironment): Implemented.
8572 * java/awt/image/BufferedImage.java:
8573 (createGraphics): Implemented.
8574
8575 2004-02-24 David Jee <djee@redhat.com>
8576
8577 * java/awt/Component.java
8578 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8579 * java/awt/Container.java
8580 (addNotifyContainerChildren): Fix event enabling.
8581
8582 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8583
8584 * Makefile.am: Added
8585 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8586 * Makefile.in: Re-generated.
8587 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8588 New Class.
8589
8590 2004-02-19 Kim Ho <kho@redhat.com>
8591
8592 * Makefile.am: Add BasicProgressBarUI
8593 * Makefile.in: Regenerate.
8594 * javax/swing/JProgressBar.java:
8595 Re-implement.
8596 * javax/swing/plaf/basic/BasicLookAndFeel.java
8597 Add constants for JProgressBar.
8598 * javax/swing/plaf/basic/BasicProgressBarUI.java
8599 Implement.
8600 * javax/swing/plaf/basic/BasicSliderUI.java
8601 Change comments.
8602 (calculateGeometry): New method
8603 (paint): Remove unnecessary size calculations.
8604
8605 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8606
8607 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8608 (drawRaster): Fixed small error that caused
8609 imageToUser transformation to be set incorrectly.
8610 (toString): Implemented.
8611
8612 2004-02-18 David Jee <djee@redhat.com>
8613
8614 * java/awt/CardLayout.java
8615 (addLayoutComponent): Show the first component added as the default.
8616 (removeLayoutComponent): After removing, show the next component.
8617 (gotoComponent): If there is only one component, show it and return.
8618
8619 2004-02-18 Kim Ho <kho@redhat.com>
8620
8621 * javax/swing/JSlider.java: Re-order
8622 modifiers.
8623 * javax/swing/JLabel.java: Re-order
8624 modifiers.
8625 * javax/swing/JComponent.java:
8626 (addPropertyChangeListener):
8627 Implement.
8628 (removePropertyChangeListener):
8629 ditto.
8630 (firePropertyChangeEvent):
8631 ditto.
8632
8633 2004-02-17 David Jee <djee@redhat.com>
8634
8635 * java/awt/Component.java
8636 (show): Dispatch ComponentEvent via system event queue.
8637 (hide): Likewise.
8638 (move): Likewise.
8639 (resize): Likewise.
8640 (reshape): Likewise.
8641 * java/awt/Window.java
8642 (setBoundsCallback): Likewise.
8643
8644 2004-02-17 David Jee <djee@redhat.com>
8645
8646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8647 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8648 Use gtk_widget_set_size_request() instead of the deprecated
8649 gtk_widget_set_usize().
8650
8651 2004-02-17 Kim Ho <kho@redhat.com>
8652
8653 * javax/swing/JSlider.java: Fix comments and
8654 make property strings constants.
8655 (createStandardLabels): Use the labels
8656 preferred size as bounds.
8657 * javax/swing/plaf/basic/BasicSliderUI.java
8658 Fix comments.
8659 (ScrollHandler::actionPerformed): Don't
8660 calculate the timer stop value. Let the
8661 MouseListeners find the stop location.
8662 (getPreferredHorizontalSize): Re-implement.
8663 (getPreferredVerticalSize): ditto.
8664 (getMinimumHorizontalSize): ditto.
8665 (getMinimumVerticalSize): ditto.
8666 (getPreferredSize): ditto.
8667 (getMinimumSize): ditto.
8668 (getMaximumSize): ditto.
8669 (paintTicks): Use doubles to find the
8670 tick location.
8671 (paintHorizontalLabel):  Use preferredSize
8672 as initial width and height.
8673 (paintVerticalLabel): ditto.
8674
8675 2004-02-17 Kim Ho <kho@redhat.com>
8676
8677 * javax/swing/JLabel.java: Changed
8678 property strings to constants.
8679 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8680 New property.
8681 (setText): Change mnemonic index if
8682 text is too short.
8683 (setDisplayedMnemonicIndex): Fire property
8684 change event.
8685 (getDisplayedMnemonicIndex): Remove check
8686 against short text.
8687
8688 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8689
8690 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8691 (drawImage(img,xform,obs)): Invert xform before
8692 passing the xform to cairo.
8693 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8694 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8695 implemented.
8696 (drawImage (img,x,y,w,h,obs)): Implemented.
8697 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8698 bgcolor,obs)): Partly implemented.
8699 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8700 Implemented.
8701 * java/awt/image/BufferedImage.java:
8702 (copyData): if dest is null, create raster with same
8703 dimensions as the current image.
8704
8705 2004-02-16 Graydon Hoare <graydon@redhat.com>
8706
8707 * javax/swing/plaf/basic/BasicLabelUI.java
8708 (getPreferredSize): Use layoutCL.
8709 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8710 (getPreferredButtonSize): Start with empty view rect, layout using
8711 component's preferred alignment.
8712 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8713 List defaults.
8714
8715 2004-02-16 David Jee <djee@redhat.com>
8716
8717 * java/awt/Component.java
8718 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8719 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8720 (move): Erase old bounds and repaint new bounds. Dispatch
8721 COMPONENT_MOVED ComponentEvent.
8722 (resize): Erase old bounds and repaint new bounds. Dispatch
8723 COMPONENT_RESIZED ComponentEvent.
8724 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8725 ComponentEvents.
8726 * java/awt/Window.java
8727 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8728 ComponentEvents.
8729
8730 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8731
8732 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8733 (setRenderingHint): Added implementation of
8734 Interpolation rendering hints.
8735 (setRenderingHints): Ditto.
8736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8737 (drawPixels): fixed to allow user to choose type
8738 of filtering that should be used when displaying images.
8739 (cairoSurfaceSetFilter): New method. Sets filter type for
8740 interpolation of pixel values.
8741
8742 2004-02-16 David Jee <djee@redhat.com>
8743
8744 * java/awt/GridBagLayout.java
8745 (calcCellSizes): Rows or columns with zero sizes should still be
8746 considered for extra space distribution.
8747
8748 2004-02-16 Kim Ho <kho@redhat.com>
8749
8750 * javax/swing/JLabel.java: Re-implement.
8751 * javax/swing/plaf/basic/BasicLabelUI.java
8752 Re-implement.
8753 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8754 Added constant.
8755
8756 2004-02-16  Kim Ho  <kho@redhat.com>
8757
8758 * javax/swing/JSlider.java: Fix indentation and comments.
8759 (setModel): Remove null check to conform with Sun's.
8760 (setOrientation): Throw exception if not
8761 HORIZONTAL or VERTICAL.
8762 (getInverted): Use private variable instead of
8763 ComponentOrientation.
8764 (setInverted): ditto.
8765 * javax/swing/plaf/basic/BasicSliderUI.java:
8766 Fix indentation and comments.
8767 (propertyChange): Remove check for inverted slider, handle
8768 in main paint.
8769 (getMinimumSize): Return preferred size.
8770 (getMaximumSize): ditto.
8771 (calculateFocusRect): Don't relocate rectangle.
8772 (drawInverted): Return XOR of the slider's inversion and
8773 the component's orientation.
8774 (paint): Update leftToRightCache
8775
8776 2004-02-13 David Jee <djee@redhat.com>
8777
8778 * java/awt/GridBagLayout.java
8779 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8780 code to helper methods.
8781 (sortBySpan): New helper method.
8782 (distributeSizeAndWeight): Likewise.
8783 (calcCellWeights): Likewise.
8784 (calcCellSizes): Add comments.
8785
8786 2004-02-13 David Jee <djee@redhat.com>
8787
8788 * java/awt/Component.java
8789 (show): Only do something if component is invisible at the moment.
8790 (hide): Only do something if component is visible at the moment.
8791 (reshape): If lightweight, erase old bounds and repaint new bounds.
8792
8793 2004-02-13  Kim Ho  <kho@redhat.com>
8794
8795 * Makefile.am: Updated for new file.
8796 * Makefile.in: Regenerated.
8797 * javax/swing/JSlider.java: Reimplement.
8798 * javax/swing/SwingUtilities.java
8799 (layoutCompoundLabel): Use icon height
8800 instead of width.
8801 (paintComponent): Implement.
8802 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8803 Add JSlider defaults.
8804 * javax/swing/plaf/basic/BasicSliderUI.java:
8805 Implement. New file.
8806
8807 2004-03-17 Michael Koch <konqueror@gmx.de>
8808
8809 * gnu/java/net/PlainDatagramSocketImpl.java
8810 (RECEIVE_LOCK): New member field.
8811 (SEND_LOCK): New member field.
8812 (send0): New method.
8813 (send): Synchronize on SEND_LOCK.
8814 (receive0): New method.
8815 (receive): Synchronize on RECEIVE_LOCK.
8816 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8817 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8818 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8819 (send0): Renamed from send.
8820 (receive0): Renamed from receive.
8821 2004-03-17 Michael Koch <konqueror@gmx.de>
8822
8823 * gnu/java/net/natPlainSocketImplPosix.cc
8824 (write): Just call write(jbyteArray, offset, len).
8825 (read): Just call read(jbyteArray, offset, len).
8826
8827 2004-03-16 Michael Koch <konqueror@gmx.de>
8828
8829 * javax/swing/JTabbedPane.java
8830 (serialVersionUID): New field.
8831
8832 2004-03-16 Norbert Frese <postfach@nfrese.net>
8833
8834 * java/net/InetAddress.java
8835 (getByName): Handle hostname == "" case.
8836
8837 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8838
8839 Reported by: Adam Heath <doogie@debian.org>
8840 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8841 class loader.
8842
8843 2004-03-15 Michael Koch <konqueror@gmx.de>
8844
8845 * java/util/Locale.java: Reverting my last patch
8846 and add a comment why the original version was okay.
8847
8848 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8849
8850 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8851 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8852 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8853 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8854
8855 2004-03-12 Michael Koch <konqueror@gmx.de>
8856
8857 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8858
8859 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8860
8861 * java/net/URI.java (toURL): Implemented.
8862
8863 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8864
8865 * java/net/URI.java
8866 (URI_REGEXP) updated to contain scheme specific part.
8867 (SCHEME_SPEC_PART_GROUP) new constant.
8868 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8869 updated to make room for SCHEME_SPEC_PART_GROUP.
8870 (parseURI) parse scheme specific part.
8871 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8872 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8873 getQuery, getFragment) implemented.
8874
8875 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8876
8877 * libraries/javalib/java/net/URI.java
8878 partially implemented using java.util.regex.
8879 (URI_REGEXP) new constant. Used to parse URIs.
8880 (SCHEME_GROUP) new constant representing index of scheme group
8881 in parsed URI.
8882 (AUTHORITY_GROUP) new constant representing index of authority
8883 group in parsed URI.
8884 (PATH_GROUP) new constant representing index of path group in
8885 parsed URI.
8886 (QUERY_GROUP) new constant representing index of query group in
8887 parsed URI.
8888 (FRAGMENT_GROUP) new constant representing index of fragment
8889 group in parsed URI.
8890 (getURIGroup) new static utility method.
8891 (parseURI) implemented.
8892 (quote) stub for new static utility method.
8893 (quoteAuthority) stub for new static utility method.
8894 (quoteHost) stub for new static utility method.
8895 (quotePath) stub for new static utility method.
8896 (quoteUserInfo) stub for new static utility method.
8897 (URI) implemented.
8898 (create) don't throw URISyntaxException. Implemented.
8899 (toString) implemented.
8900
8901 2004-03-12 Michael Koch <konqueror@gmx.de>
8902
8903 * java/net/HttpURLConnection.java
8904 (getResponseCode): Fix another typo in javadoc.
8905
8906 2004-03-11 Michael Koch <konqueror@gmx.de>
8907
8908 * java/util/logging/Level.java
8909 (parse): Use String.equals() instead of ==.
8910
8911 2004-03-11 Michael Koch <konqueror@gmx.de>
8912
8913 * gnu/java/net/protocol/jar/Connection.java
8914 (getContentLength): New method.
8915
8916 2004-03-11 Michael Koch <konqueror@gmx.de>
8917
8918 * gnu/java/net/PlainSocketImpl.java:
8919 Reformated to merge better with classpath's version.
8920
8921 2004-03-11 Michael Koch <konqueror@gmx.de>
8922
8923 * java/util/Locale.java
8924 (getISO3Language): Use String.equals() instead of ==.
8925 (getISO3Country): Likewise.
8926
8927 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8928
8929 * java/text/AttributedString.java
8930 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8931 Use HashMap instead of Hashtable since value can be null, and
8932 you can not store a null value in a Hashtable.
8933
8934 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8935
8936 * java/text/AttributedStringIterator.java
8937 (getAllAttributesKey): Return only keys concerned
8938 by the current iterator.
8939 (getAttributes): Use strict inequality for
8940 end_index.
8941
8942 2004-03-11 Michael Koch <konqueror@gmx.de>
8943
8944 * java/net/HttpURLConnection.java:
8945 Fixed typo in javadoc.
8946
8947 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8948
8949 * java/io/BufferedInputStream.java (marktarget): New field for max
8950 mark limit.
8951 (CHUNKSIZE): New constant for incremental mark buffer allocation.
8952 (mark): Use new fields.
8953 (read): Likewise.
8954 (read(byte[],int,int)): Likewise.
8955 (skip): Likewise.
8956 (refill): Likewise.
8957
8958 2004-03-11 Mark Wielaard <mark@klomp.org>
8959
8960 * java/beans/BeanDescriptor.java (BeanDescriptor):
8961 Set the FeatureDescriptor programmatic name.
8962
8963 2004-03-11 Michael Koch <konqueror@gmx.de>
8964
8965 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
8966 This file was was just copied form java/io/natFileDescriptorEcos.cc
8967 and never changed to compile correctly.
8968
8969 2004-03-11 Michael Koch <konqueror@gmx.de>
8970
8971 * gnu/java/nio/PipeImpl.java
8972 (SourceChannelImpl): Made final.
8973 (read): Implemented.
8974 (SinkChannelImpl): Made final.
8975 (write): Implemented.
8976
8977 2004-03-11 Michael Koch <konqueror@gmx.de>
8978
8979 * gnu/java/net/PlainDatagramSocketImpl.java:
8980 Reformated to match classpath's version more.
8981
8982 2004-03-11 Michael Koch <konqueror@gmx.de>
8983
8984 * gnu/java/awt/peer/ClasspathFontPeer.java:
8985 Fixed javadoc to be correct xhtml.
8986 * gnu/java/awt/peer/gtk/GtkArgList.java
8987 (add): Use Boolean.valueOf() instead of new Boolean().
8988
8989 2004-03-09 Michael Koch <konqueror@gmx.de>
8990
8991 * java/lang/Thread.java
8992 (runnable): Moved around.
8993 (daemon): Renamed from daemon_flag.
8994 (contextClassLoader): Renamed from context_class_loader.
8995 (Thread): Reordered constructors.
8996 (activeCount): Use group directly.
8997 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
8998 (holdsLock): Reworked javadoc.
8999 (setDaemon): Reworked.
9000 * java/lang/natThread.cc
9001 (destroy): Removed.
9002
9003 2004-03-08 Anthony Green <green@redhat.com>
9004
9005 * Makefile.am: Build property resource files into libgcj.
9006 * Makefile.in: Rebuilt.
9007 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9008 java/util/regex/PatternSyntaxException.java,
9009 gnu/regexp/CharIndexed.java,
9010 gnu/regexp/CharIndexedCharArray.java,
9011 gnu/regexp/CharIndexedInputStream.java,
9012 gnu/regexp/CharIndexedReader.java,
9013 gnu/regexp/CharIndexedString.java,
9014 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9015 gnu/regexp/REException.java,
9016 gnu/regexp/REFilterInputStream.java,
9017 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9018 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9019 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9020 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9021 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9022 gnu/regexp/RETokenLookAhead.java,
9023 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9024 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9025 gnu/regexp/RETokenStart.java,
9026 gnu/regexp/RETokenWordBoundary.java,
9027 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9028
9029 2004-03-03 Per Bothner <per@bothner.com>
9030
9031 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9032 Optimize when argument is a FileChannelImpl.
9033 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9034 New native methods.
9035 * java/nio/channels/natChannels.cc: New file for new native methods.
9036 * Makefile.am: Update accordingly.
9037
9038 2004-03-02 Jan Hubicka <jh@suse.cz>
9039
9040 * configure.host: Pass -fno-omit-frame-pointer for i386.
9041 * configure.in: Likewise.
9042 * configure: Regenerate.
9043
9044 2004-03-01 Per Bothner <per@bothner.com>
9045
9046 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9047
9048 2004-02-29 Per Bothner <per@bothner.com>
9049
9050 * java/nio/channels/FileChannelImpl.java: Moved to package
9051 gnu/java/nio/channels, since we need to refer to it from java.io.
9052 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9053 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9054 from java/nio/channels. Don't depend on FileDescriptor.
9055 (in, out, err): New static fields.
9056 (mode): New field.
9057 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9058 from FileDescriptor.
9059 (by): Removed MappedByteBuffer field.
9060 (map): New working implementation.
9061 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9062 some code "ported" from natFileDescriptoPosix.cc.
9063 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9064 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9065 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9066 Remove native methods.
9067 * Makefile.am, configure.in: Updated accordingly.
9068
9069 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9070 (ch): New FileChannelImpl field. Update constructor to match.
9071 (releaseImpl): Remove native method. Instead ...
9072 (release): Call unlock on channel.
9073 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9074
9075 * java/io/natFileDescriptorEcos.cc: Remove file.
9076 * java/io/natFileDescriptorPosix.cc: Remove file.
9077 * java/io/natFileDescriptorWin32.cc: Remove file.
9078 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9079 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9080 (<init>(FileChannelImpl)): New package-private constructor.
9081 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9082 (available, close, read, skip): Implement using FileChannelImpl.
9083 (getFD): Allocate FileDescriptor if needed.
9084 (getChannel): Is now trivial.
9085 * java/io/FileOutputStream.java: Corresponding changes.
9086 * java/io/RandomAccessFile.java: Corresponding changes.
9087
9088 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9089 unmapImpl): New dummy methods, to be overridden by subclass.
9090 (finalize, isLoaded, load, force): New methods.
9091 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9092 Now works, at least for read mapping.
9093
9094 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9095 streams using FileChannelImpl, not FileDescriptor.
9096 * java/lang/natWin32Process.cc (startProcess): Likewise.
9097
9098 2004-02-28 Michael Koch <konqueror@gmx.de>
9099
9100 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9101 wrong code.
9102
9103 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9104
9105 * java/io/ObjectInputStream.java
9106 (readClassDescriptor): Keep elements of the mapping non null.
9107 (checkTypeConsistency): New method.
9108 (readFields): Fixed main loop and base logic. Small reindentation.
9109 * java/io/ObjectStreamField.java
9110 (lookupField): New method to update the field reference.
9111 (checkFieldType): New method.
9112 * java/io/ObjectStreamClass.java
9113 (setClass, setFields): Call lookupField when building the field
9114 database. Check the real field type.
9115
9116 2004-02-28 Michael Koch <konqueror@gmx.de>
9117
9118 * java/nio/ByteOrder.java
9119 (nativeOrder): Use equals() to compare strings.
9120
9121 2004-02-26 Michael Koch <konqueror@gmx.de>
9122
9123 * gnu/java/nio/FileLockImpl.java
9124 (finalize): Made protected.
9125 * java/nio/channels/FileChannel.java
9126 (MapMode.READ_ONLY): Made final.
9127 (MapMode.READ_WRITE): Made final.
9128 (MapMode.PRIVATE): Made final.
9129 * java/nio/channels/SocketChannel.java
9130 (open): Simplified code.
9131 * java/nio/channels/spi/AbstractSelectableChannel.java
9132 (registered): Unused, removed.
9133 (keyFor): Check channel is open, only locate key
9134 and not add a new one.
9135 (register): Don't delete attachments.
9136
9137 2004-02-26 Michael Koch <konqueror@gmx.de>
9138
9139 * gnu/java/awt/ComponentDataBlitOp.java
9140 (INSTANCE): Made final.
9141 * gnu/java/awt/image/ImageDecoder.java:
9142 Reworked imports.
9143 (cm): Unused, removed.
9144
9145 2004-02-26 Michael Koch <konqueror@gmx.de>
9146
9147 * gnu/java/nio/DatagramChannelImpl.java
9148 (send): Check if target address is resolved.
9149
9150 2004-02-26 Michael Koch <konqueror@gmx.de>
9151
9152 * Makefile.am: Generate and install headers for inner classes in
9153 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9154 * Makefile.in: Regenerated.
9155
9156 2004-02-24 Anthony Green <green@redhat.com>
9157
9158 * java/lang/StringBuffer.java: No need to NULL out remainder of
9159 buffer since ensureCapacity_unsynchronized will have done this for
9160 us.
9161
9162 2004-02-20 Michael Koch <konqueror@gmx.de>
9163
9164 * gnu/java/net/protocol/jar/Handler.java
9165 (): Removed unneeded check for file != null. java.net.URL.getFile()
9166 returns an empty string but never null.
9167
9168 2004-02-20 Michael Koch <konqueror@gmx.de>
9169
9170 * gnu/gcj/convert/Convert.java
9171 (main): Use equals() to compare strings.
9172
9173 2004-02-20 Michael Koch <konqueror@gmx.de>
9174
9175 * javax/swing/AbstractButton.java: Made several constants final.
9176 (getRolloverSelectedIcon): Made public.
9177 (getSelectedIcon): Made public.
9178
9179 2004-02-16 Per Bothner <per@bothner.com>
9180
9181 * java/nio/CharBufferImpl.java: Inline super constructor.
9182 * java/nio/DoubleBufferImpl.java: Likewise.
9183 * java/nio/FloatBufferImpl.java: Likewise.
9184 * java/nio/IntBufferImpl.java: Likewise.
9185 * java/nio/LongBufferImpl.java: Likewise.
9186 * java/nio/ShortBufferImpl.java: Likewise.
9187 * java/nio/CharBuffer.java: Remove unused constructor.
9188 * java/nio/DoubleBuffer.java: Likewise.
9189 * java/nio/FloatBuffer.java: Likewise.
9190 * java/nio/IntBuffer.java: Likewise.
9191 * java/nio/LongBuffer.java: Likewise.
9192 * java/nio/ShortBuffer.java: Likewise.
9193 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9194 Fix buggy call to super constructor.
9195 * java/nio/DoubleViewBufferImpl.java: Likewise.
9196 * java/nio/FloatViewBufferImpl.java: Likewise.
9197 * java/nio/IntViewBufferImpl.java: Likewise.
9198 * java/nio/LongViewBufferImpl.java: Likewise.
9199 * java/nio/ShortViewBufferImpl.java: Likewise.
9200
9201 * java/nio/ByteBuffer.java (endian): Make non-private so other
9202 java.nio classes can inherit it.
9203 (<init>): Don't bother clearing array_offset.
9204 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9205 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9206 Remove redundant test.
9207
9208 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9209 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9210 Use new XxxViewBufferImpl constructors.
9211 * java/nio/MappedByteBufferImpl.java: Likewise.
9212 * java/nio/DirectByteBufferImpl.java: Likewise.
9213
9214 * java/nio/ByteBufferImpl.java: Remove one constructor.
9215 Inline super in remaining constructor.
9216 * java/nio/ByteBuffer.java: Remove unused constructor.
9217
9218 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9219
9220 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9221 * java/nio/DirectByteBufferImpl.java (owner): New field.
9222 (offset): Remove unused field.
9223 (<init>): Modify one and add another constructor. Change callers.
9224 (allocateDirect): Removed - not used.
9225 (getImpl, putImpl): Make static and pass address explicitly,
9226 to make them useful for MappedByteBufferImpl.
9227 (get, put): Check for underflow. Modify for new getImpl.
9228 (getImpl): New native method where target is array.
9229 (get(byte[],int,int)): Use the above.
9230 (adjustAddress): New static native method.
9231 (slice, duplicate, asReadOnly): New implementations.
9232 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9233 adjustAddress): New or updated native methods.
9234
9235 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9236
9237 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9238 overflow of fieldmapping.
9239
9240 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9241
9242 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9243
9244 2004-02-14 Per Bothner <per@bothner.com>
9245
9246 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9247 Set closed before calling implCloseChannel, as in the spec.
9248
9249 2004-02-09 Graydon Hoare <graydon@redhat.com>
9250
9251 * javax/swing/ToggleButtonModel.java: Remove dead class.
9252 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9253 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9254 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9255 * Makefile.am: Update for new and removed files.
9256 * Makefile.in: Regenerate.
9257
9258 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9259 * javax/swing/AbstractButton.java
9260 (AbstractButton): Initialize fields correctly in ctor.
9261 * javax/swing/JCheckbox.java
9262 (JCheckBox): Override painting flags.
9263 * javax/swing/DefaultButtonModel.java: Conform to sun.
9264 * javax/swing/JComponent.java (paint): Fill with background color
9265 if available.
9266 (processComponentKeyEvent)
9267 (processFocusEvent)
9268 (processKeyEvent)
9269 (processMouseMotionEvent): Remove event-consuming empty methods.
9270 (getUIClassID): Return "ComponentUI" not "JComponent"
9271 * javax/swing/JFrame.java: Remove some debugging chatter.
9272 (JFrame): Subscribe to window events.
9273 * javax/swing/JRadioButton.java
9274 (JRadioButton): Override painting flags.
9275 * javax/swing/JRootPane.java
9276 (JRootPane): Set background from UIDefaults.
9277 * javax/swing/JToggleButton.java
9278 (ToggleButtonModel): New inner class.
9279 (JToggleButton): Override layout alighment.
9280 * javax/swing/SwingUtilities.java:
9281 (getLocalBounds): Return width and height, not x and y.
9282 (calculateInnerArea): Use local bounds, not bounds.
9283 (layoutCompoundLabel): Provide overridden form.
9284 (layoutCompoundLabel): Correct bugs.
9285 * javax/swing/UIDefaults.java: Correct comment.
9286 * javax/swing/plaf/basic/BasicButtonUI.java:
9287 Move most logic into defaults, external listener.
9288 (paintIcon): Implement icon painting.
9289 (paint): Fix state painting to conform to changes in model.
9290 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9291 Remove most dead/wrong methods.
9292 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9293 * javax/swing/plaf/basic/BasicIconFactory.java:
9294 (DummyIcon): New class.
9295 (getMenuItemCheckIcon)
9296 (getMenuItemArrowIcon)
9297 (getMenuArrowIcon)
9298 (getCheckBoxMenuItemIcon)
9299 (getRadioButtonMenuItemIcon)
9300 (createEmptyFrameIcon): Return DummyIcons, not null.
9301 (getCheckBoxIcon): Implement an icon that looks like sun's.
9302 (getRadioButtonIcon): Implement an icon that looks like sun's.
9303 * javax/swing/plaf/basic/BasicLookAndFeel.java
9304 (initComponentDefaults): Fix impossible values, add some missing.
9305 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9306 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9307 Remove most dead/wrong methods.
9308 (icon): New field.
9309 (getDefaultIcon): New method.
9310 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9311 Remove most dead/wrong methods.
9312 * javax/swing/plaf/metal/MetalLookAndFeel.java
9313 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9315 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9316 Implement "clearing" as drawing, when on pixmap drawables.
9317
9318 * javax/swing/JButton.java (getUIClassID):
9319 * javax/swing/JCheckBox.java (getUIClassID):
9320 * javax/swing/JEditorPane.java (getUIClassID):
9321 * javax/swing/JLabel.java (getUIClassID):
9322 * javax/swing/JList.java (getUIClassID):
9323 * javax/swing/JOptionPane.java (getUIClassID):
9324 * javax/swing/JPanel.java (getUIClassID):
9325 * javax/swing/JPasswordField.java (uiClassID):
9326 * javax/swing/JRadioButton.java (getUIClassID):
9327 * javax/swing/JRootPane.java (getUIClassID):
9328 * javax/swing/JScrollPane.java (getUIClassID):
9329 * javax/swing/JTabbedPane.java (getUIClassID):
9330 * javax/swing/JToggleButton.java (getUIClassID):
9331 * javax/swing/JTree.java (getUIClassID):
9332 * javax/swing/JViewport.java (getUIClassID):
9333 * javax/swing/text/JTextComponent.java (getUIClassID):
9334 Return "fooUI" not "Jfoo"
9335
9336 2004-02-11 Michael Koch <konqueror@gmx.de>
9337
9338 * java/net/DatagramSocket.java
9339 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9340 Boolean object.
9341 (setBroadcast): Likewise.
9342 * java/net/MulticastSocket.java
9343 (setLoopbackMode): Likewise.
9344 * java/net/ServerSocket.java
9345 (setReuseAddress): Likewise.
9346 * java/net/Socket.java
9347 (setTcpNoDelay): Likewise.
9348 (setSoLinger): Likewise.
9349 (setOOBInline): Likewise.
9350 (setKeepAlive): Likewise.
9351 (setReuseAddress): Likewise.
9352 * java/net/URLConnection.java
9353 (setContentHandler): Replace == with equals().
9354 * java/net/URLStreamHandler.java
9355 (hostSEquals): Fix checking host addresses.
9356 (toExternalForm): Dont check protocol for null. We know already its
9357 not null.
9358
9359 2004-02-10 David Jee <djee@redhat.com>
9360
9361 * java/awt/BorderLayout.java
9362 (calcCompSize): Invisible components get zero dimensions.
9363 * java/awt/Button.java
9364 (setLabel): Set actionCommand.
9365 * java/awt/Component.java
9366 (show): Invalidate component and parent container.
9367 (hide): Likewise.
9368
9369 2004-02-10 David Jee <djee@redhat.com>
9370
9371 * java/awt/GridBagLayout.java
9372 (GridBagLayout): New private field, internalcomptable.
9373 (lookupInternalConstraints): New method.
9374 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9375 (GetLayoutInfo): Reimplement.
9376 (calcCellSizes): Ignore rows/columns with size 0.
9377
9378 2004-02-10 Michael Koch <konqueror@gmx.de>
9379
9380 * gnu/java/awt/EmbeddedWindow.java
9381 (setHandle): Use java.awt.Component.getPeer() instead of
9382 java.awt.Component.peer directly.
9383
9384 2004-02-10 David Jee <djee@redhat.com>
9385
9386 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9387 (gtkSetLabel): New native method definition.
9388 (setLabel): Use gtkSetLabel.
9389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9390 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9391
9392 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9393
9394 * include/powerpc-signal.h: Revert 2004-01-21 change.
9395 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9396 from syscall for ppc32 versions.
9397
9398 2004-02-08 Per Bothner <per@bothner.com>
9399
9400 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9401 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9402 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9403 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9404 Pass ByteOrder parameter to most methods, since the underlying
9405 ByteBuffer's order isn't always what we should use.
9406 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9407 * java/nio/DirectByteBufferImpl.java: Likewise.
9408 Use ByteBufferHelper methods.
9409 * java/nio/MappedByteBufferImpl.java: Likewise.
9410 (compact): Use shiftDown.
9411 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9412 (get, put): Use ByteBufferHelper.
9413 (compact): Use new shiftDown method.
9414 (duplicate(boolean)): New helper method.
9415 (duplicate, asReadOnlyBuffer): Use it.
9416 (order): Return endian field.
9417 * java/nio/DoubleViewBufferImpl.java: Likewise.
9418 * java/nio/FloatViewBufferImpl.java: Likewise.
9419 * java/nio/IntViewBufferImpl.java: Likewise.
9420 * java/nio/LongViewBufferImpl.java: Likewise.
9421 * java/nio/ShortViewBufferImpl.java: Likewise.
9422 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9423 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9424 (compact): Re-implement using shiftDown.
9425
9426 2004-02-08 Andreas Jaeger <aj@suse.de>
9427
9428 * include/x86_64-signal.h: Fix typo.
9429
9430 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9431
9432 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9433 qualifier to _regs.
9434 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9435
9436 2004-02-06 Michael Koch <konqueror@gmx.de>
9437
9438 * java/io/ObjectInputStream.java
9439 (currentClassLoader): Reverted to old version of this method.
9440
9441 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9442
9443 * java/io/ObjectInputStream.java: Made all calls
9444 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9445 use cached info from ObjectStreamClass. (readClassDescriptor):
9446 Cache more information in ObjectStreamClass. (processResolution,
9447 readFields): Use cached info from ObjectStreamClass.
9448 (newObject): Throw exception instead of returning null for failure.
9449 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9450 setCharField, setDoubleField, setFloatField, setIntField,
9451 setLongField, setShortField, setObjectField, readObjectParams):
9452 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9453 check.
9454 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9455 (setClass): Added call to cacheMethods() (findMethod): New method.
9456 (cacheMethods): New method. (ObjectStreamClass): Added call to
9457 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9458 AccessController.doPrivileged to invoke setAccessible.
9459 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9460 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9461 New fields.
9462 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9463 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9464 isPrimitive): Made safe for cases where type == null.
9465 (setBooleanField, setByteField, setCharField, setShortField,
9466 setIntField, setLongField, setFloatField, setDoubleField,
9467 setObjectField): New methods.
9468
9469 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9470
9471 * java/awt/Component.java (getFont): Return a default font
9472 instead of null.
9473
9474 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9475 (Scrollbar (int, int, int, int, int)): Make default page
9476 increment 10.
9477 (setValues): Only call peer.setValues if one of the values has
9478 changed.
9479 (generateName): New method.
9480 (getUniqueLong): New method.
9481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9482 (range_scrollbar): Remove structure.
9483 (post_adjustment_event): Remove function.
9484 (post_change_event): Accept jobject argument.
9485 (create): Cast jints to gdoubles. Round scrollbar values to the
9486 nearest integer. Clamp min, max and value settings.
9487 (connectJObject): Connect hook to widget->window.
9488 (connectSignals): Remove range_scrollbar structure variables.
9489 Remove "move-slider" connection. Pass global peer reference to
9490 "value-changed" callback.
9491 (setLineIncrement): Cast jint value to gdouble.
9492 (setPageIncrement): Likewise.
9493 (setValues): Likewise. Clamp min, max and value settings.
9494
9495 2004-02-05 Michael Koch <konqueror@gmx.de>
9496
9497 * javax/swing/AbstractCellEditor.java
9498 (getCellEditorValue): Removed.
9499 * javax/swing/Box.java: Reformated.
9500 (serialVersionUID): New field.
9501 * javax/swing/ButtonGroup.java:
9502 Removed some weird whitespace.
9503 * javax/swing/CellEditor.java: Reformated.
9504 * javax/swing/CellRendererPane.java
9505 (serialVersionUID): New field.
9506 (AccessibleCellRendererPaneserialVersionUID): New field.
9507 * javax/swing/DefaultListModel.java
9508 (serialVersionUID): New field.
9509 * javax/swing/JEditorPane.java
9510 (serialVersionUID): New field.
9511 (setPage): Throws IOException.
9512 (addHyperlinkListener): Implemented.
9513 (removeHyperlinkListener): Implemented.
9514 (getHyperlinkListener): New method.
9515 * javax/swing/JFileChooser.java
9516 (serialVersionUID): New field.
9517 (AccessibleJFileChooser.serialVersionUID): New field.
9518 (addActionListener): Implemented.
9519 (removeActionListener): Implemented.
9520 (getActionListeners): New method.
9521 * javax/swing/JFormattedTextField.java
9522 (serialVersionUID): New field.
9523 (AbstractFormatter.serialVersionUID): New field.
9524 (clone): Throws CloneNotSupportedException
9525 (setEditValid): Add missing argument.
9526 (stringToValue): Throws ParseExcpetion.
9527 (valueToString): Throws ParseException.
9528 (commitEdit): Throws ParseException.
9529 * javax/swing/JLabel.java
9530 (serialVersionUID): New field.
9531 * javax/swing/JList.java
9532 (serialVersionUID): New field.
9533 (addListSelectionListener): Reformated.
9534 (removeListSelectionListener): Reformated.
9535 (getListSelectionListeners): New method.
9536 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9537 Reformated.
9538 (serialVersionUID): New field.
9539 * javax/swing/table/AbstractTableModel.java
9540 (getValueAt): Removed.
9541 (getColumnCount): Removed.
9542 (getRowCount): Removed.
9543
9544 2004-02-05 Michael Koch <konqueror@gmx.de>
9545
9546 * java/awt/datatransfer/DataFlavor.java
9547 (imageFlavor): Javadoc added.
9548 (javaJVMLocalObjectType): Fixed.
9549
9550 2004-02-05 Michael Koch <konqueror@gmx.de>
9551
9552 * java/lang/Thread.java
9553 (Thread): Reordered.
9554 (setContextClassLoader): Fixed javadoc comment.
9555 (setPriority): Reordered.
9556 (yield): Reordered.
9557 (initialize_native): Reordered.
9558 (gen_name): Reordered.
9559
9560 2004-02-05 Michael Koch <konqueror@gmx.de>
9561
9562 * java/lang/Thread.java: Reordered fields, reformated much code,
9563 no functional changes, some variables renamed, javadoc comments
9564 merged.
9565
9566 2004-02-05 Michael Koch <konqueror@gmx.de>
9567
9568 * java/util/zip/Deflater.java,
9569 java/util/zip/DeflaterOutputStream.java,
9570 java/util/zip/GZIPInputStream.java:
9571 Reformated and javadoc comments merged from classpath.
9572
9573 2004-02-05 Michael Koch <konqueror@gmx.de>
9574
9575 * gnu/java/nio/NIOServerSocket.java
9576 (impl): Unused, removed.
9577 * gnu/java/nio/SocketChannelImpl.java
9578 (finnishConnect): Don't throw NoConnectionPendingException if not
9579 connected or no connection pending.
9580
9581 2004-02-02 Graydon Hoare <graydon@redhat.com>
9582
9583 * javax/swing/SwingUtilities.java: Many new functions.
9584 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9585 * javax/swing/basic/BasicGraphicsUtils.java
9586 (getPreferredButtonSize): Start layout from top-left corner.
9587
9588 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9589
9590 * java/awt/geom/AffineTransform.java:
9591 Corrected comments on the field definitions for
9592 m11 and m10.
9593 (shear): Fixed few errors that caused shear
9594 transformation to be performed incorrectly.
9595 (createInverse): Fixed to return correct
9596 inverse of the given matrix.
9597
9598 2004-02-03 Tom Tromey <tromey@redhat.com>
9599
9600 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9601 PATH or LD_LIBRARY_PATH is not set in parent environment.
9602
9603 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9604
9605 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9606 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9607 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9608 java/awt/Component.java, java/awt/Container.java,
9609 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9610 java/awt/LayoutManager2.java, java/awt/List.java,
9611 java/awt/Menu.java, java/awt/MenuBar.java,
9612 java/awt/MenuItem.java, java/awt/Polygon.java,
9613 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9614 java/awt/Scrollbar.java, java/awt/TextArea.java,
9615 java/awt/TextField.java,
9616 java/awt/image/renderable/RenderContext.java,
9617 javax/swing/JApplet.java: Fix handling of alias methods, where a
9618 method has been deprecated in favour of a new one with the same
9619 funtion but a different name. Put the method implementation in
9620 the deprecated method and have the new method call the
9621 deprecated one. Make all other code call the new method.
9622
9623 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9624
9625 * gnu/java/nio/DatagramChannelImpl.java
9626 (inChannelOperation): New field.
9627 (isInChannelOperation): New accessor.
9628 (setInChannelOperation): New modifier.
9629 (receive): Use capacity() - position() of destination
9630 buffer instead of remaining(). Set and reset our "in
9631 channel operation indicator" before and after delegating
9632 the receive to our datagram socket. Removed testing code.
9633 Update destination buffer's current position if it is
9634 backed by a byte array (hasArray() is true).
9635 (send): Set and reset our "in channel operation indicator"
9636 before and after delegating the send to our datagram socket.
9637 Removed testing code. Update source buffer's current position
9638 if it is backed by a byte array (hasArray() is true).
9639 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9640 Use capacity() - position() of destination buffer instead
9641 of remaining().
9642 * java/net/DatagramSocket.java (receive): Don't throw an
9643 IllegalBlockingModeException if we have a non-blocking
9644 channel which initiated this operation.
9645 (send): Likewise.
9646
9647 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9648
9649 * configure.in: Add pkgconfig check for glib and gthread.
9650 * configure: Regenerate.
9651
9652 2004-02-01 Michael Koch <konqueror@gmx.de>
9653
9654 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9655 arguments.
9656 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9657 * verify.cc (debug_print): Mark 'fmt' unused.
9658
9659 2004-01-30 Michael Koch <konqueror@gmx.de>
9660
9661 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9662 * configure: Regenerated.
9663 * glib-2.0.m4: Removed.
9664 * gtk-2.0.m4: Removed.
9665 * libart.m4: Removed.
9666 * pkg.m4: New file.
9667
9668 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9669
9670 * gnu/java/net/PlainSocketImpl.java
9671 (inChannelOperation): New field.
9672 (isInChannelOperation): New accessor.
9673 (setInChannelOperation): New modifier.
9674 * gnu/java/nio/ServerSocketChannelImpl.java
9675 (accept): Set and reset our server socket's PlainSocketImpl's
9676 "in channel operation" indicator before and after delegating
9677 the accept to our server socket.
9678 * gnu/java/nio/SocketChannelImpl.java
9679 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9680 operation" indicator before and after delegating the operation to
9681 our socket.
9682 (read): Likewise.
9683 (write): Likewise.
9684 * java/net/ServerSocket.java (implAccept): Don't throw an
9685 IllegalBlockingModeException if we have a non-blocking
9686 channel which initiated this accept operation.
9687 * java/net/Socket.java (connect): Don't throw an
9688 IllegalBlockingModeException if we have a non-blocking
9689 channel which initiated this connect operation.
9690 * java/nio/channels/spi/AbstractSelectableChannel.java
9691 (configureBlocking): Only call implConfigureBlocking() if
9692 the desired blocking mode is different from our current one.
9693
9694 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9695
9696 * java/io/BufferedReader.java (sbuf): New field.
9697 (readLine): Use String.valueOf instead of new String() as per
9698 Per Bothner's suggestion. Use instance sbuf field instead of a
9699 local StringBuffer instance.
9700 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9701 caller's buffer to refill().
9702 (read(void)): Pass our internal work buffer to refill if our
9703 input queue is empty.
9704 (refill): Changed return type to int. Use the specified buffer
9705 instead of our work buffer as per Bryce McKinlay's suggestion.
9706 Return the number of characters read or -1 for EOF.
9707
9708 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9709
9710 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9711
9712 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9713
9714 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9715 * Makefile.in: Re-generated.
9716 * gnu/awt/xlib/XFontPeer.java: New file.
9717 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9718 (setClip): Commented out debug printout.
9719 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9720 (getFontPeer): Return XFontPeer.
9721 (getLocalGraphicsEnvironment): New method.
9722 (getClasspathFontPeer): New method.
9723 (createFont): New method.
9724
9725 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9726
9727 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9728 return null.
9729
9730 2004-01-29 Kim Ho <kho@redhat.com>
9731
9732 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9733 (gtkLayoutSetVisible): New method
9734 (setMenuBar): Hide layout before setting MenuBar
9735 and reshow it after.
9736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9737 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9738
9739 2004-01-28 Michael Koch <konqueror@gmx.de>
9740
9741 * gnu/java/lang/ClassHelper.java
9742 (getPackagePortion): Removed.
9743
9744 2004-01-28 Michael Koch <konqueror@gmx.de>
9745
9746 * javax/swing/JComponent.java
9747 (listenerList): Initalize globally.
9748 (ancestor_list): Removed.
9749 (veto_list): Removed.
9750 (change_list): Removed.
9751 (get_veto_list): Removed.
9752 (get_change_list): Removed.
9753 (get_ancestor_list): Removed.
9754 (removeAncestorListener): Reimplemented.
9755 (removePropertyChangeListener): Likewise.
9756 (removeVetoableChangeListener): Likewise.
9757 (addAncestorListener): Likewise.
9758 (addPropertyChangeListener): Likewise.
9759 (addVetoableChangeListener): Likewise.
9760 (getListeners): New method.
9761 (getAncestorListeners): Likewise.
9762 (getVetoableChangeListeners): Likewise.
9763 (fireVetoableChange): Throws PropertyVetoException.
9764 * javax/swing/JEditorPane.java
9765 (JEditorPane): Throws IOException.
9766
9767 2004-01-28 David Jee <djee@redhat.com>
9768
9769 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9770 (create): Set the default foreground color to
9771 java.awt.SystemColor.windowText.
9772
9773 2004-01-27 Michael Koch <konqueror@gmx.de>
9774
9775 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9776 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9777 Reindented to merge with classpath.
9778
9779 2004-01-27 David Jee <djee@redhat.com>
9780
9781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9782 (addExposeFilter): Handle GtkFramePeer separately.
9783 (removeExposeFilter): Likewise.
9784
9785 2004-01-27 Michael Koch <konqueror@gmx.de>
9786
9787 * gnu/java/net/protocol/http/Connection.java
9788 (getOutputStream): Fixed typo.
9789
9790 2004-01-27 Michael Koch <konqueror@gmx.de>
9791
9792 * java/lang/Class.java
9793 (getConstructor): Removed SecurityException from throws clause.
9794 (_getConstructors): Likewise.
9795 (getConstructors): Likewise.
9796 (getDeclaredConstructor): Likewise.
9797 (getDeclaredClasses): Likewise.
9798 (getDeclaredConstructors): Likewise.
9799 (getDeclaredField): Likewise.
9800 (getDeclaredMethod): Likewise.
9801 (getDeclaredMethods): Likewise.
9802 (getField): Likewise.
9803 (getMethod): Likewise.
9804 (getMethods): Likewise.
9805
9806 2004-01-27 Kim Ho <kho@redhat.com>
9807
9808 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9809 (removeMenuBarPeer): Remove MenuBarPeer argument.
9810 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9811 (dispose): Call native method.
9812 * java/awt/Frame.java (setMenuBar): Create and remove
9813 MenuBar peers only if the Frame has a peer.
9814 (addNotify): Create the MenuBar peer if one exists.
9815 (removeNotify): Remove MenuBar peer if one exists.
9816 * java/awt/Menu.java: Fix imports.
9817 (addNotify): Don't use full class name.
9818 (removeNotify): Call removeNotify on all children.
9819 * java/awt/MenuBar.java (removeNotify): Call
9820 removeNotify on all children.
9821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9822 (removeMenuBarPeer): Remove MenuBarPeer argument.
9823 Iterate through children to find the Frame's MenuBar.
9824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9825 New file.
9826 (dispose): Remove references to the MenuComponent.
9827
9828 2004-01-27 Michael Koch <konqueror@gmx.de>
9829
9830 * javax/swing/AbstractCellEditor.java: Reformated.
9831 * javax/swing/DefaultListSelectionModel.java
9832 (listenerList): Made protected.
9833 (addListSelectionListener): Javadoc added.
9834 (removeListSelectionListener): Likewise.
9835 (getListeners): Likewise.
9836 (getListSelectionListeners): Likewise.
9837 * javax/swing/JComboBox.java: Merged copyright year.
9838 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9839
9840 2004-01-26 Andrew Haley <aph@redhat.com>
9841
9842 * javax/swing/table/JTableHeader.java: Extend JComponent
9843
9844 2004-01-26 Kim Ho <kho@redhat.com>
9845
9846 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9847 Fix spacing.
9848
9849 2004-01-26 Kim Ho <kho@redhat.com>
9850
9851 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9852 method.
9853 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9854 height and let the Layout Managers readjust anything that
9855 needs to move.
9856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9857 (moveLayout): New method. Shift everything in the Gtk
9858 layout in the Y direction by an offset.
9859
9860 2004-01-26 David Jee <djee@redhat.com>
9861
9862 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9863 (handleEvent): Implemented. Handles PaintEvents.
9864 (paint): Implemented. Use GTK native methods to queue updates
9865 for this heavyweight peer.
9866 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9867 (handleEvent): Removed.
9868 * java/awt/Component.java
9869 (paint): Implemented. Explictly paint the heavyweight peer.
9870 (update): Clear the background for heavyweight components.
9871 (paintAll): No need to call peer.paint() anymore.
9872 (processEvent): Don't process PaintEvents here. It's now done in
9873 the peer's handleEvent().
9874 (processPaintEvent): Removed.
9875 * java/awt/Container.java
9876 (paint): No need to call super.paint(). Visit heavyweight
9877 children as well.
9878 (update): Don't clear the background here. It's done in
9879 Component.update().
9880 (visitChildren): Added check to not recurse into Containers.
9881 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9882 (filter_expose_event_handler): New method. Filter unwanted
9883 expose events while painting heavyweight peers.
9884 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9885 New method. Connect filter and block pre_event_handler.
9886 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9887 New method. Disconnect filter and unblock pre_event_handler.
9888 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9889 New method. Invalidate and update given area.
9890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9891 (pre_event_handler): Add checks for unwanted expose events.
9892
9893 2004-01-26 David Jee <djee@redhat.com>
9894
9895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9896 (find_bg_color_widget): For GtkButton, return its child.
9897
9898 2004-01-26 Kim Ho <kho@redhat.com>
9899
9900 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9901 private.
9902 (setMenuBar): Grab MenuBar height and change insets.
9903 (setBounds): Account for MenuBar height.
9904 (postInsetsChangedEvent): Ditto.
9905 (postSizeAllocateEvent): Remove.
9906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9907 (menubar_resize_cb): Remove
9908 (setMenuBarPeer): Remove callback.
9909 (getMenuBarHeight): Use size requisition instead of
9910 allocation.
9911
9912 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9913
9914 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9915 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9916 when peer is null.
9917 (setColumns): Remove FIXME -- peer will retrieve number of
9918 columns by calling getColumns.
9919 (setRows): Likewise for number of rows.
9920 (next_text_number): New field.
9921 (paramString): Fix param string.
9922 (generateName): New method.
9923 (getUniqueLong): New method.
9924
9925 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9926
9927 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9928 image observer of image loading status.
9929 (getImage (String)): Start image production.
9930 (getImage (URL)): Likewise.
9931
9932 2004-01-25 Michael Koch <konqueror@gmx.de>
9933
9934 * java/lang/Class.java: Imports reworked, reformated.
9935 (Class): Javadoc added.
9936 (forName): Likewise.
9937 (getClasses): Likewise.
9938 (getClassLoader): Likewise.
9939 (getComponentType): Likewise.
9940 (getConstructor): Likewise.
9941 (getConstructors): Likewise.
9942 (getDeclaredConstructor): Likewise.
9943 (getDeclaredClasses): Likewise.
9944 (getDeclaredConstructors): Likewise.
9945 (getDeclaredField): Likewise.
9946 (getDeclaredMethod): Likewise.
9947 (getDeclaredMethods): Likewise.
9948 (getDeclaringClass): Likewise.
9949 (getField): Likewise.
9950 (getInterfaces): Likewise.
9951 (getMethod): Likewise.
9952 (getMethods): Likewise.
9953 (getModifiers): Likewise.
9954 (getName): Likewise.
9955 (getResource): Likewise.
9956 (getResourceAsStream): Likewise.
9957 (getSigners): Likewise.
9958 (setSigners): Likewise.
9959 (getSuperclass): Likewise.
9960 (isArray): Likewise.
9961 (isAssignableFrom): Likewise.
9962 (isInstance): Likewise.
9963 (isInterface): Likewise.
9964 (isPrimitive): Likewise.
9965 (newInstance): Likewise.
9966 (getProtectionDomain): Likewise.
9967 (toString): Likewise.
9968 (Class): Moved.
9969 (initializeClass): Likewise.
9970 (finalize): Likewise.
9971
9972 2004-01-24 Michael Koch <konqueror@gmx.de>
9973
9974 * gnu/java/net/protocol/jar/Connection.java
9975 (hdrHash): Removed.
9976 (hdrVec): Removed.
9977 (gotHeaders): Removed.
9978 (getHeaderField): Removed.
9979 (getHeaderFields): Removed.
9980 (getHeaderFieldKey): Removed.
9981 (getKey): Removed.
9982 (getField): Removed.
9983 (getHeaders): Removed.
9984
9985 2004-01-24 Michael Koch <konqueror@gmx.de>
9986
9987 * Makefile.am: Added library version to gtk peer lib.
9988 * Makefile.in: Regenerated.
9989
9990 2004-01-24 Michael Koch <konqueror@gmx.de>
9991
9992 * java/util/zip/InflaterInputStream.java: Merged class documentation
9993 with classpath.
9994
9995 2004-01-21 Jakub Jelinek <jakub@redhat.com>
9996
9997 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
9998 header. For __powerpc64__ provide the default-signal.h definitions
9999 for now.
10000 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10001 instead of the dummy definitions.
10002 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10003 (powerpc64*-*): Remove with_libffi_default.
10004 Only add -mminimal-toc for 64-bit compilations.
10005 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10006 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10007 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10008 * configure: Rebuilt.
10009
10010 2004-01-23 Michael Koch <konqueror@gmx.de>
10011
10012 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10013
10014 2004-01-23 Michael Koch <konqueror@gmx.de>
10015
10016 * java/lang/VMClassLoader.java: Reworked imports.
10017
10018 2004-01-23 Michael Koch <konqueror@gmx.de>
10019
10020 * javax/swing/AbstractAction.java: Reformated.
10021
10022 2004-01-23 Michael Koch <konqueror@gmx.de>
10023
10024 * java/text/CollationElementIterator.java:
10025 (setText): New method.
10026
10027 2004-01-23 Michael Koch <konqueror@gmx.de>
10028
10029 * gnu/java/nio/FileLockImpl.java:
10030 Fixed filename in copyright.
10031 (released): Removed.
10032 (finalize): New method.
10033 * gnu/java/nio/natFileLockImpl.cc
10034 (releaseImpl): Implemented.
10035 * java/nio/channels/FileChannelImpl.java:
10036 Reworked imports.
10037 (lock): Implemented.
10038 (lockImpl): New method.
10039 (tryLock): Implemented.
10040 (tryLockImpl): New method.
10041 * java/nio/channels/natFileChannelImpl.cc
10042 (lockImpl): New method.
10043 (tryLockImpl): New method.
10044
10045 2004-01-23 Michael Koch <konqueror@gmx.de>
10046
10047 * java/io/FileDescriptor.java
10048 (lock): New method.
10049 (tryLock): New method.
10050 (unlock): New method.
10051 * java/io/natFileDescriptorEcos.cc
10052 (lock): New method.
10053 (tryLock): New method.
10054 (unlock): New method.
10055 * java/io/natFileDescriptorPosix.cc
10056 (lock): New method.
10057 (tryLock): New method.
10058 (unlock): New method.
10059 * java/io/natFileDescriptorWin32.cc
10060 (lock): New method.
10061 (tryLock): New method.
10062 (unlock): New method.
10063
10064 2004-01-23 Michael Koch <konqueror@gmx.de>
10065
10066 * java/io/FileDescriptor.java
10067 (sync): Moved around, added javadoc.
10068 (valid): Likewise.
10069 (open): Likewise.
10070 (write): Likewise.
10071 (close): Likewise.
10072 (setLength): Likewise.
10073 (seek): Likewise.
10074 (getLength): Likewise.
10075 (getFilePointer): Likewise.
10076 (read): Likewise.
10077 (available): Likewise.
10078 (finalize): Likewise.
10079
10080 2004-01-23 Michael Koch <konqueror@gmx.de>
10081
10082 * javax/swing/AbstractAction.java: Reformated.
10083 (getPropertyChangeListeners): New method.
10084 * javax/swing/AbstractCellEditor.java: Reformated.
10085 (getCellEditorListeners): New method.
10086 * javax/swing/DefaultListSelectionModel.java
10087 (listenerList): New field.
10088 (listeners): Removed.
10089 (get_listeners): Removed.
10090 (addListSelectionListener): Rewritten.
10091 (removeListSelectionListener): Rewritten.
10092 (getListSelectionListeners): New method.
10093 (getListeners): New method.
10094 * javax/swing/JComboBox.java: Imports reworked.
10095 (addActionListener): Implemented.
10096 (removeActionListener): Implemented.
10097 (addItemListener): Implemented.
10098 (removeItemListener): Implemented.
10099 (addPopupMenuListener): Implemented.
10100 (removePopupMenuListener): Implemented.
10101 (getActionListeners): New method.
10102 (getItemListeners): New method.
10103 (getPopupMenuListeners): New method.
10104
10105 2004-01-23 Michael Koch <konqueror@gmx.de>
10106
10107 * gnu/java/net/protocol/http/Connection.java
10108 (connect): Don't initialize bufferedOutputStream if not needed.
10109 (sendRequest): Set property for content length if content is present.
10110 Write content only if present.
10111 (getOutputStream): Check if already connected, dont connect,
10112 initalize bufferedOutputStream if needed.
10113
10114 2004-01-23 Michael Koch <konqueror@gmx.de>
10115
10116 * java/io/FileDescriptor.java
10117 (in, out, err): Added javadoc.
10118 (static): Merged loading code.
10119 (fd, position): Moved around.
10120
10121 2004-01-23 Michael Koch <konqueror@gmx.de>
10122
10123 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10124 New file.
10125
10126 2004-01-23 Michael Koch <konqueror@gmx.de>
10127
10128 * java/lang/Class.java,
10129 java/lang/Object.java,
10130 java/lang/Thread.java: Merged copyright with classpath.
10131
10132 2004-01-23 Michael Koch <konqueror@gmx.de>
10133
10134 * java/io/FileDescriptor.java: Merged copyright with classpath to
10135 start merging this class.
10136
10137 2004-01-22 Tom Tromey <tromey@redhat.com>
10138
10139 PR libgcj/13107:
10140 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10141 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10142 * testsuite/libjava.lang/pr13107_3.java: New file.
10143 * testsuite/libjava.lang/pr13107_3.out: New file.
10144 * testsuite/libjava.lang/pr13107_2.java: New file.
10145 * testsuite/libjava.lang/pr13107_2.out: New file.
10146 * testsuite/libjava.lang/pr13107.java: New file.
10147 * testsuite/libjava.lang/pr13107.out: New file.
10148 * verify.cc (jsr_ptrs): Removed.
10149 (entry_points): Likewise.
10150 (struct subr_info): Likewise.
10151 (struct subr_entry_info): Likewise.
10152 (type_val::unused_by_subroutine_type): Likewise.
10153 (type::merge): Don't handle unused_by_subroutine_type.
10154 (type::print): Likewise.
10155 (state::flags): Removed.
10156 (state::subroutine): Likewise.
10157 (state::seen_subrs): Likewise.
10158 (state::NO_STACK): Likewise.
10159 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10160 (state): Updated all methods.
10161 (state::clean_subrs): Removed.
10162 (state::state): Removed `ret_semantics' flag.
10163 (state::copy): Likewise.
10164 (state::add_subr): Removed.
10165 (state::enter_subroutine): Likewise.
10166 (type::set_return_address): New method.
10167 (handle_jsr_insn): Set return address on the type. Always
10168 invalidate PC after call.
10169 (check_nonrecursive_call): Removed.
10170 (~_Jv_BytecodeVerifier): Updated.
10171 (branch_prepass): Removed special handling of jsr.
10172 (note_branch_target): Likewise.
10173 (get_subroutine): Removed.
10174 (state::merge): Don't merge subroutines and don't handle
10175 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10176 (state::note_variable): Removed.
10177 (state::is_unmerged_ret_state): Likewise.
10178 (state::print): Updated.
10179 (set_variable): Likewise.
10180 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10181 and jsr_semantics arguments. Updated for new reverification
10182 list.
10183 (pop_jump): Rewrote.
10184 (construct_primitive_array_type): Updated.
10185 (state::next): Removed.
10186 (INVALID_STATE): New define.
10187 (state::INVALID): Removed.
10188 (state::NO_NEXT): New value.
10189 (state::pc, state::next): New fields.
10190 (state::get_pc): New method.
10191 (next_verify_pc): Removed.
10192 (next_verify_state): New field.
10193 (verify_instructions_0): Always check for falling off end.
10194 (linked): New type.
10195 (linked_utf8): Removed.
10196 (states): Changed type.
10197 (type::state_mergeable_p): New method.
10198 (state::state_mergeable_p): Likewise.
10199 (handle_ret_insn): Removed most code.
10200 (state::reverify): New method.
10201 (add_new_state): Likewise.
10202 (state::set_pc): Likewise.
10203
10204 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10205
10206 PR java/13733
10207 * testsuite/libjava.compile/PR13733.java: New file.
10208 * testsuite/libjava.compile/PR13733.xfail: New file.
10209
10210 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10211 Michael Koch <konqueror@gmx.de>
10212
10213 * javax/swing/table/DefaultTableCellRenderer.java
10214 (DefaultTableCellRenderer): Added javadoc for the class and for
10215 the constructor, Border instance, create an EmptyBorder.
10216 (UIResource): Removed the comment at the end of the class
10217 (setForeground): New method.
10218 (setBackground): New method.
10219 (updateUI): New method.
10220 (getTableCellRendererComponent): Rewritten with the help of
10221 dvholten and Stephane Meslin-Weber.
10222 (validate): New method.
10223 (repaint): New method.
10224 (firePropertyChange): New method.
10225 (setValue): New method.
10226
10227 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10228
10229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10230 (connectJObject): Replace printf calls with g_assert statements.
10231 Move property-notify-event signal connection to ...
10232 (connectSignals): Connect property-notify-event signal. Iterate
10233 through the vbox's children to find layout.
10234
10235 2004-01-22 Graydon Hoare <graydon@redhat.com>
10236
10237 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10238 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10239 Predicate static initialization on GtkToolkit.useGraphics2D().
10240 * java/awt/Component.java (processPaintEvent): Consume event.
10241 * javax/swing/AbstractButton.java: Reimplement, document.
10242 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10243 * javax/swing/JComponent.java (paint): Use double buffer.
10244 (listenerList): Enable member.
10245 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10246 * javax/swing/JToggleButton.java
10247 (JToggleButton): Modify model constructor.
10248 * javax/swing/SwingUtilities.java
10249 (layoutCompoundLabel): Adjust arithmetic.
10250 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10251 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10252 (getPreferredButtonSize): Include margins in calculation.
10253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10254 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10255 Receive up events from subordinate layout component.
10256
10257 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10258
10259 * java/awt/Component.java (show): Set visible to true before
10260 showing the peer.
10261
10262 2004-01-21 Kim Ho <kho@redhat.com>
10263
10264 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10265 Fix comments.
10266 (removeMenuBarPeer): Make package private.
10267 (setMenuBarPeer): Make package private.
10268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10269 (menubar_resize_cb): Mark attributes unused.
10270 (getMenuBarHeight): ditto.
10271
10272 2004-01-21 David Jee <djee@redhat.com>
10273
10274 * java/awt/Container.java
10275 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10276 dispatching MOUSE_ENTERED event twice. Translate the point for
10277 the mouse event target before dispatching the event.
10278
10279 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10280
10281 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10282 lib_org_w3c_dom_la_LDFLAGS): New.
10283 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10284 * Makefile.in: Rebuilt.
10285
10286 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10287
10288 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10289 Calculate proper offsets for heavyweight components packed in
10290 lightweight containers.
10291
10292 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10293 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10294 (native create): Add width parameter.
10295 (create): Calculate text entry width based on current font's
10296 metrics and number of columns. Set TextField's font if not
10297 already set. Call native create.
10298 (gtkEntryGetBorderWidth): New native method.
10299 (gtkEntryGetSize): Remove method.
10300 (getMinimumSize): Call minimumSize.
10301 (getPreferredSize): Call preferredSize.
10302 (minimumSize): Calculate minimum size based on backing
10303 GtkEntry's borders, font metrics and number of columns.
10304 (preferredSize): Likewise for preferred size.
10305 (get_border_width): New static function.
10306
10307 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10308 Override GtkWindowPeer's setResizable method to account for menu
10309 bar height when setting the frame's size.
10310
10311 2004-01-19 Matthias Klose <doko@debian.org>
10312
10313 * libtool-version: Increased `current' to 6.
10314
10315 2004-01-19 Kim Ho <kho@redhat.com>
10316
10317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10318 (connectJObject): Iterate through the vbox's children to find layout.
10319
10320 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10321
10322 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10323 isDispatchThread method to replace wrong test condition.
10324
10325 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10326
10327 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10328 events to the queue out of order by acquiring locks in the proper
10329 order and not by releasing one before acquiring the other.
10330
10331 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10332
10333 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10334 visible so that dialog can be reused.
10335
10336 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10337
10338 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10339 events may be handled by any queue in the stack.
10340
10341 2004-01-19 Kim Ho <kho@redhat.com>
10342
10343 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10344 MenuBarPeer parameter.
10345 (removeMenuBarPeer): New native method.
10346 (setMenuBar): Call remove if menu bar is null. Adjust insets
10347 appropriately.
10348 (postSizeAllocateEvent): New method. Called when menu bar size is
10349 allocated. Adjust insets and redo layout.
10350 (GtkFramePeer): Set menu bar during frame creation.
10351 (postConfigureEvent): Adjust position and size to accomodate
10352 menu bar.
10353 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10354 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10355 (addNotify): Create the peer if it doesn't exist and call addNotify
10356 for the menu's items.
10357 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10358 * java/awt/MenuItem.java (addNotify): Create the peer if it
10359 doesn't exist.
10360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10361 (removeMenuBarPeer): New method. Remove menu bar on the current
10362 frame.
10363 (setMenuBarPeer): Add the menu bar to the current frame and the
10364 callback for size-allocate events on the menu bar.
10365 (getMenuBarHeight): Add menu bar parameter.
10366 (menubar_resize_cb): New callback method for postSizeAllocate events.
10367
10368 Also: Fix indentation on last ChangeLog entry.
10369
10370 2004-01-16 Kim Ho <kho@redhat.com>
10371
10372 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10373 (gtkWidgetGetDimensions): Remove.
10374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10375 (gtkWidgetGetDimensions): Remove.
10376
10377 2004-01-16 Tom Tromey <tromey@redhat.com>
10378
10379 * java/awt/Container.java: Typo and indentation fixes.
10380
10381 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10382 * java/lang/natVMClassLoader.cc: ...here. New file.
10383 * Makefile.in: Rebuilt.
10384 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10385
10386 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10387
10388 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10389 Discard GDK_ENTER_NOTIFY related to ungrabs.
10390
10391 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10392
10393 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10394 is called for an intermediate queue.
10395
10396 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10397
10398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10399 (window_property_changed_cb): Set id_set.
10400
10401 2004-01-16 Kim Ho <kho@redhat.com>
10402
10403 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10404 it is a FileDialog and has dimensions of 0 by 0, then the initial
10405 size is set to size request plus insets.
10406 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10407 (gtkWidgetGetDimensions): Override method.
10408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10409 (gtkWidgetGetDimensions): Override method. Returns size request plus
10410 insets.
10411
10412 2004-01-16 Andrew Haley <aph@redhat.com>
10413
10414 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10415 * sysdep/i386/locks.h: Likewise.
10416
10417 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10418
10419 * java/awt/EventDispatchThread.java (run): Stop running when
10420 interrupted.
10421 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10422 Reset the queue after transferring its contents.
10423 (push): Start a new dispatch thread if none is running.
10424
10425 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10426
10427 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10428 (doPolygon): set fill rule of polygon to
10429 WIND_EVEN_ODD by default.
10430
10431 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10432
10433 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10434 Implemented rendering hints related methods.
10435 (getDefaultHints): New helper method. Returns
10436 default rendering hints.
10437 (walkPath): changed to normalize path if
10438 the KEY_STROKE_CONTROL key is in "normalize" mode.
10439 (draw3DRect): changed coordinates of rectangle by +0.5
10440 if in "normalize" mode.
10441
10442 2004-01-15 Tom Tromey <tromey@redhat.com>
10443
10444 * Makefile.in: Rebuilt.
10445 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10446 (%.lo: %.java) Filter out StackTrace.lo.
10447
10448 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10449
10450 * configure.in: Add in AC_PREREQ(2.13)
10451 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10452 FIXME comment.
10453
10454 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10455 Tom Tromey <tromey@redhat.com>
10456
10457 PR libgcj/12001:
10458 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10459 array to superclass.
10460 (init): Changed interface; add URLs here.
10461 (initialize): New static method.
10462 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10463 (_Jv_RunMain): ... not here.
10464
10465 2004-01-14 Michael Koch <konqueror@gmx.de>
10466
10467 * java/text/MessageFormat.java:
10468 Added descriptions to exceptions.
10469 This fixes PR libgcj/2429.
10470
10471 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10472
10473 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10474 (push): Make sure push is performed at the top of the thread stack.
10475
10476 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10477
10478 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10480 (native create): Add width and height parameters. Set text
10481 view's size request according to new parameters.
10482 (create): Calculate text view size based on current font's
10483 metrics and number of rows and columns. Set TextArea's font if
10484 not already set. Call native create.
10485 (getMinimumSize): Call minimumSize.
10486 (getPreferredSize): Call preferredSize.
10487 (getHScrollbarHeight): New method.
10488 (getVScrollbarWidth): New method.
10489 (minimumSize): Calculate minimum size based on scrollbar
10490 visibility, scrollbar sizes, font metrics and number of rows and
10491 columns.
10492 (preferredSize): Likewise for preferred size.
10493 (gtkTextGetSize): Remove method.
10494
10495 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10496
10497 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10498 (initializeInsets): Remove method.
10499 (GtkComponentPeer): Initialize insets field. Remove call to
10500 initializeInsets.
10501 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10502 Remove method.
10503 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10504 Remove method.
10505 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10506 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10507 (latestInsets): Remove field.
10508 (native create): Add insets parameter. Call
10509 window_get_frame_extents. Set the window's default size and
10510 size request based on its frame extents.
10511 (create): Initialize insets.
10512 (postInsetsChangedEvent): New method.
10513 (postConfigureEvent): Remove parameters top, left, bottom,
10514 right. Remove insets-related logic.
10515 (connectJObject): Handle property-notify-event.
10516 (window_get_frame_extents, request_frame_extents,
10517 property_notify_predicate, window_property_changed_cb): New
10518 static functions.
10519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10520 (pre_event_handler): Remove insets-related logic for configure
10521 events.
10522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10523 Update postConfigureEvent signature.
10524
10525 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10526
10527 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10528 to handle Window "Closing" events.
10529
10530 2004-01-13  David Jee  <djee@redhat.com>
10531
10532 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10533 (setBackground): New method. Children with no explicitly-set
10534 background will be repainted with the parent container's new
10535 background color.
10536
10537 2004-01-13  David Jee  <djee@redhat.com>
10538
10539 * Makefile.am: Add BitwiseXORComposite.java.
10540 * Makefile.in: Regenerated.
10541 * gcj/Makefile.in: Regenerated.
10542 * include/Makefile.in: Regenerated.
10543 * testsuite/Makefile.in: Regenerated.
10544
10545 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10546
10547 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10548 not show modal dialogs twice and so that it allows showing a modal
10549 dialog from another modal dialog.
10550
10551 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10552
10553 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10554 and run secondary dispatch thread to process event queue while this
10555 thread is blocked.
10556
10557 2004-01-12 Graydon Hoare <graydon@redhat.com>
10558
10559 * gnu/java/awt/gtk/GdkGraphics2D.java
10560 (static): Check GtkToolkit before initializing static state.
10561 (Graphics2D): Don't construct transform with 0.5 unit offset.
10562
10563 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10564
10565 * gnu/java/awt/BitwiseXORComposite.java: Add.
10566 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10567 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10568 (BitwiseXORComposite): Remove inner class.
10569
10570 2004-01-11 Michael Koch <konqueror@gmx.de>
10571
10572 * gnu/java/lang/reflect/TypeSignature.java
10573 (getEncodingOfClass): Documentation fixed.
10574 (getClassForEncoding): Give class loader to Class.forName().
10575 Documentation fixed.
10576
10577 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10578
10579 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10580
10581 2004-01-11 Michael Koch <konqueror@gmx.de>
10582
10583 * javax/swing/undo/StateEditable.java
10584 (RCSID): Removed redundant modifiers.
10585
10586 2004-01-10 Michael Koch <konqueror@gmx.de>
10587
10588 * javax/print/attribute/EnumSyntax.java
10589 (getStringTable): Made protected.
10590 (getEnumValueTable): Likewise.
10591 * javax/print/attribute/standard/JobKOctetsProcessed.java
10592 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10593 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10594 (JobMediaSheetsCompleted): Made class final.
10595 * javax/print/attribute/standard/OutputDeviceAssigned.java
10596 (getName): Fixed typo.
10597 * javax/print/attribute/standard/RequestingUserName.java
10598 (serialVersionUID): Fixed value.
10599
10600 2004-01-10 Michael Koch <konqueror@gmx.de>
10601
10602 * javax/swing/plaf/basic/BasicButtonUI.java,
10603 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10604 javax/swing/plaf/basic/BasicListUI.java,
10605 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10606 javax/swing/plaf/basic/BasicPanelUI.java,
10607 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10608 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10609 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10610 javax/swing/plaf/basic/BasicViewportUI.java:
10611 Fixed import statements.
10612
10613 2004-01-10 Michael Koch <konqueror@gmx.de>
10614
10615 * gnu/java/awt/image/ImageDecoder.java
10616 (produce): Made public.
10617 * gnu/java/awt/peer/GLightweightPeer.java,
10618 gnu/java/awt/peer/gtk/GtkToolkit.java:
10619 Reformated.
10620
10621 2004-01-10 Michael Koch <konqueror@gmx.de>
10622
10623 * javax/swing/JRadioButtonMenuItem.java,
10624 javax/swing/JSeparator.java,
10625 javax/swing/JSplitPane.java,
10626 javax/swing/JTextPane.java,
10627 javax/swing/JToolBar.java,
10628 javax/swing/ListCellRenderer.java,
10629 javax/swing/ListModel.java,
10630 javax/swing/MenuElement.java,
10631 javax/swing/OverlayLayout.java,
10632 javax/swing/ProgressMonitor.java,
10633 javax/swing/ProgressMonitorInputStream.java,
10634 javax/swing/Renderer.java,
10635 javax/swing/RootPaneContainer.java,
10636 javax/swing/Scrollable.java,
10637 javax/swing/SingleSelectionModel.java,
10638 javax/swing/ToolTipManager.java,
10639 javax/swing/ViewportLayout.java,
10640 javax/swing/event/DocumentEvent.java,
10641 javax/swing/event/SwingPropertyChangeSupport.java,
10642 javax/swing/event/TreeSelectionEvent.java,
10643 javax/swing/event/UndoableEditEvent.java,
10644 javax/swing/text/AbstractDocument.java,
10645 javax/swing/text/AttributeSet.java,
10646 javax/swing/text/Caret.java,
10647 javax/swing/text/ComponentView.java,
10648 javax/swing/text/DefaultCaret.java,
10649 javax/swing/text/DefaultEditorKit.java,
10650 javax/swing/text/Document.java,
10651 javax/swing/text/EditorKit.java,
10652 javax/swing/text/GapContent.java,
10653 javax/swing/text/Keymap.java,
10654 javax/swing/text/MutableAttributeSet.java,
10655 javax/swing/text/PlainEditorKit.java,
10656 javax/swing/text/Segment.java,
10657 javax/swing/text/Style.java,
10658 javax/swing/text/StyledDocument.java,
10659 javax/swing/text/StyledEditorKit.java,
10660 javax/swing/text/TextAction.java,
10661 javax/swing/text/View.java: Fixed import statements.
10662
10663 2004-01-08 Graydon Hoare <graydon@redhat.com>
10664
10665 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10666 djee@redhat.com's recent inverse ordering of Container elements.
10667
10668 2004-01-09 Michael Koch <konqueror@gmx.de>
10669
10670 * gnu/java/lang/ArrayHelper.java
10671 (equalsArray): Removed.
10672
10673 2004-01-09 Andrew Haley <aph@redhat.com>
10674
10675 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10676 a Utf8Const field before looking at its class.
10677
10678 2004-01-09 Michael Koch <konqueror@gmx.de>
10679
10680 * javax/print/attribute/standard/DocumentName.java,
10681 javax/print/attribute/standard/JobHoldUntil.java,
10682 javax/print/attribute/standard/JobMessageFromOperator.java,
10683 javax/print/attribute/standard/JobName.java,
10684 javax/print/attribute/standard/JobOriginatingUserName.java,
10685 javax/print/attribute/standard/OutputDeviceAssigned.java,
10686 javax/print/attribute/standard/PrinterInfo.java,
10687 javax/print/attribute/standard/PrinterLocation.java,
10688 javax/print/attribute/standard/PrinterMakeAndModel.java,
10689 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10690 javax/print/attribute/standard/PrinterName.java,
10691 javax/print/attribute/standard/RequestingUserName.java: New files.
10692 * Makefile.am (javax_source_files): Added new files.
10693 * Makefile.in: Regenerated.
10694
10695 2004-01-09 Michael Koch <konqueror@gmx.de>
10696
10697 * javax/swing/AbstractAction.java,
10698 javax/swing/AbstractSet.java,
10699 javax/swing/Action.java,
10700 javax/swing/ActionMap.java,
10701 javax/swing/BoundedRangeModel.java,
10702 javax/swing/ButtonModel.java,
10703 javax/swing/CellEditor.java,
10704 javax/swing/CellRendererPane.java,
10705 javax/swing/ComboBoxEditor.java,
10706 javax/swing/DebugGraphics.java,
10707 javax/swing/DefaultCellEditor.java,
10708 javax/swing/DefaultCellRenderer.java,
10709 javax/swing/DefaultComboBoxModel.java,
10710 javax/swing/DefaultDesktopManager.java,
10711 javax/swing/DefaultFocusManager.java,
10712 javax/swing/DefaultListCellRenderer.java,
10713 javax/swing/Icon.java,
10714 javax/swing/JButton.java,
10715 javax/swing/JCheckBoxMenuItem.java,
10716 javax/swing/JDesktopPane.java,
10717 javax/swing/JEditorPane.java,
10718 javax/swing/JMenu.java,
10719 javax/swing/JPanel.java,
10720 javax/swing/JPasswordField.java,
10721 javax/swing/JPopupMenu.java,
10722 javax/swing/JProgressBar.java: Reworked imports.
10723
10724 2004-01-09 Michael Koch <konqueror@gmx.de>
10725
10726 * java/awt/geom/PathIterator.java
10727 (WIND_EVEN_ODD): Removed redundant modifiers.
10728 (WIND_NON_ZERO): Likewise.
10729 (SEG_MOVETO): Likewise.
10730 (SEG_LINETO): Likewise.
10731 (SEG_QUADTO): Likewise.
10732 (SEG_CUBICTO): Likewise.
10733 (SEG_CLOSE): Likewise.
10734 * java/awt/image/SinglePixelPackedSampleModel.java:
10735 Removed redundant semicolon.
10736 * java/io/ObjectInputStream.java
10737 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10738 * java/util/logging/Filter.java
10739 (isLoggable): Removed redundant modifier.
10740 * java/util/logging/LogManager.java:
10741 Removed redundant semicolon.
10742 * java/util/logging/XMLFormatter.java
10743 (format): Removed unused variable "key".
10744
10745 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10746
10747 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10748 New name for the former setFile native method.
10749 (setFile): New method.
10750 (setDirectory): Implemented.
10751 (connectSignals): New native method.
10752 (setFilenameFilter): Improve comment.
10753 (getGraphics): Comment.
10754 (gtkHideFileDialog): New method.
10755 (gtkDisposeFileDialog): New method.
10756 (gtkSetFilename): New method.
10757 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10758 for FileDialog for now.
10759 (hide): New method.
10760 (dispose): New method.
10761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10762 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10763 deprecated creation functions. Make dialog modal. Add it to the
10764 window group.
10765 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10766 function.
10767 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10768 Rename to...
10769 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10770 name.
10771 (window_closed): New function.
10772 (ok_clicked): New function.
10773 (cancel_clicked): New function.
10774
10775 2004-01-08 Michael Koch <konqueror@gmx.de>
10776
10777 * javax/swing/JLayeredPane.java: Revert changes to standard
10778 boilerplate, reworked imports.
10779
10780 2004-01-07 Tom Tromey <tromey@redhat.com>
10781
10782 PR libgcj/13439:
10783 * verify.cc (state::merge): Copy changed locals out of subroutine
10784 in NO_STACK case.
10785 (state::FLAG_CHANGED): New const.
10786 (state::FLAG_UNUSED): Likewise.
10787 (state::local_changed): Removed. Updated all users.
10788 (state::flags): New field.
10789 (state::merge): Added jsr_semantics argument, more logic.
10790 (push_jump_merge): Added jsr_semantics argument.
10791 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10792 merging through the jsr instruction.
10793
10794 2004-01-07 Tom Tromey <tromey@redhat.com>
10795
10796 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10797 backslash-newline.
10798
10799 2004-01-07 Graydon Hoare <graydon@redhat.com>
10800
10801 * java/awt/Container.java (LightweightDispatcher): Implement.
10802 (visitChild): Reuse graphics object.
10803 (dispatchEventImpl): Optionally dispatch to lightweight.
10804 (addNotifyContainerChildren): Build LightweightDispatcher.
10805
10806 2004-01-07 David Jee <djee@redhat.com>
10807
10808 * java/awt/Container.java
10809 (update): Clear only the clipped region, instead of clearing the
10810 entire Container.
10811 (visitChildren): Visit children in descending order.
10812
10813 2004-01-07 Michael Koch <konqueror@gmx.de>
10814
10815 * java/lang/reflect/Array.java: Merged documentation with classpath.
10816
10817 2004-01-07 Michael Koch <konqueror@gmx.de>
10818
10819 * java/text/CollationElementIterator.java
10820 (textIndex): Renamed from index.
10821 * java/text/CollationKey.java
10822 (collator): New member.
10823 (CollationKey): New argument for parent collator.
10824 (equals): Check for same collator, source string and key array.
10825 * java/text/RuleBasedCollator.java:
10826 Reformated.
10827 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10828 value.
10829 (getCollationElementIterator): Rewritten.
10830 (getCollationKey): Added new argument to CollationKey constructor.
10831
10832 2004-01-07 Michael Koch <konqueror@gmx.de>
10833
10834 * gnu/java/nio/DatagramChannelImpl.java
10835 (blocking): Removed.
10836 (DatagramChannelImpl): Call configureBlocking().
10837 (implConfigureBlocking): Dont initialize blocking.
10838 * gnu/java/nio/ServerSocketChannelImpl.java
10839 (blocking): Removed.
10840 (ServerSocketChannelImpl): Call configureBlocking().
10841 (implConfigureBlocking): Dont initialize blocking.
10842 * gnu/java/nio/SocketChannelImpl.java
10843 (blocking): Removed.
10844 (SocketChannelImpl): Call configureBlocking().
10845 (implConfigureBlocking): Dont initialize blocking.
10846 (connect): Use isBlocking().
10847 * java/nio/channels/spi/AbstractSelectableChannel.java
10848 (configureBlocking): Use blockingLock() instead of LOCK.
10849 Set blocking after successfully called implConfigureBlocking().
10850 (register): Use blockingLock() instead of LOCK.
10851
10852 2004-01-07 Michael Koch <konqueror@gmx.de>
10853
10854 * java/net/ServerSocket.java (isBound): Fixed documentation.
10855
10856 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10857
10858 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10859 (changeEvent): Create event object on demand.
10860 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10861 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10862 fireStateChanged): Re-written.
10863 * javax/swing/event/EventListenerList.java: Reformatted, document
10864 typical usage.
10865 (toString): Implemented.
10866 (getListeners): Re-written.
10867 (remove): Re-written.
10868 (add): Re-written.
10869 (NO_LISTENERS): New singleton field.
10870 (listenerList): Declare as transient; document.
10871 (serialVersionUID): Document.
10872 (getListenerCount(Class)): More efficient implementation,
10873 also accepts null argument. Improve Javadoc.
10874 (getListenerCount()): Remove unnecessary cast; docfix.
10875 * javax/swing/undo/UndoableEditSupport.java:
10876 Re-format, document.
10877 (UndoableEditSupport): Set realSource field. Improve documentation.
10878 (_postEdit): Iterate over cloned listener vector.
10879 (toString): Don't emit realSource.
10880 (beginUpdate, endUpdate): Support nested updates.
10881 (postEdit): Use compound edit if present.
10882
10883 2004-01-06 Graydon Hoare <graydon@redhat.com>
10884
10885 * java/awt/Container.java (swapComponents): Add forgotten
10886 function, required for JLayeredPane change.
10887
10888 2004-01-06 Michael Koch <konqueror@gmx.de>
10889
10890 * java/text/CollationElementIterator.java: Reformated.
10891 (CollationElementIterator): Changed order of arguments.
10892 * java/text/RuleBasedCollator.java
10893 (RuleBasedCollator): Merged class documentation.
10894 (CollationElement): Added documentation.
10895 (compare): Reformated, renamed arguments.
10896 (equals): Likewise.
10897 (getCollationElementIterator): Likewise.
10898 (getCollationKey): Likewise.
10899
10900 2004-01-06 Graydon Hoare <graydon@redhat.com>
10901
10902 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10903
10904 2004-01-06 Michael Koch <konqueror@gmx.de>
10905
10906 * gnu/java/net/protocol/file/Connection.java:
10907 Reformated copyright.
10908 (hdrHash): Removed.
10909 (hdrVec): Removed.
10910 (gotHeaders): Removed.
10911 (getHeaderField): Removed.
10912 (getHeaderField): Removed.
10913 (getHeaderFieldKey): Removed.
10914 (getKey): Removed.
10915 (getField): Removed.
10916 (getHeaders): Removed.
10917
10918 2004-01-06 Michael Koch <konqueror@gmx.de>
10919
10920 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10921 javax/print/attribute/standard/DateTimeAtCreation.java,
10922 javax/print/attribute/standard/DateTimeAtProcessing.java,
10923 javax/print/attribute/standard/JobImpressionsCompleted.java,
10924 javax/print/attribute/standard/JobKOctets.java,
10925 javax/print/attribute/standard/JobKOctetsProcessed.java,
10926 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10927 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10928 * Makefile.am (javax_source_files): Added new files.
10929 * Makefile.in: Regenerated.
10930
10931 2004-01-06 Michael Koch <konqueror@gmx.de>
10932
10933 * java/net/URLConnection.java
10934 (contentHandler): Removed.
10935 (locale): Removed.
10936 (getHeaderFields): Return an empty map instead of null.
10937 (getContent): Connect if needed, renamed "cType" to "type" and
10938 "contentHandler" to "ch" and made it a local variable.
10939 (getPermission): Don't use package in class name.
10940 (setDefaultRequestProperty): Fixed typo in documentation.
10941 (initializeDateFormats): Made locale a local variable.
10942
10943 2004-01-06 Michael Koch <konqueror@gmx.de>
10944
10945 * java/lang/Package.java
10946 (getPackage): Get the current class loader directly.
10947 * java/lang/SecurityManager.java
10948 (currentLoadedClass): Dont iterate over class contexts.
10949 (classLoaderDepth): Don't check class loaders if everything is allowed.
10950
10951 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10952
10953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10954 (pre_event_handler): Set all insets to 0 when a Configure event
10955 is received for a GtkPlug.
10956 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
10957 Make handle long, not int.
10958 (EmbeddedWindow()): New constructor.
10959 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
10960 long, not int.
10961 (setHandle): New method.
10962 (getHandle): Return long, not int.
10963 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
10964 declaration.
10965 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
10966 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
10967 (create(long)): Take long parameter, not int. Cast gtk_plug_new
10968 argument to GdkNativeWindow.
10969 (construct): New method.
10970 (embed): New method.
10971
10972 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10973 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
10974 (create(int, int)): New method.
10975 (create): Call new create method.
10976 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
10977 methods.
10978 (childResized): Remove native implementation. Implement in
10979 Java.
10980 (getHScrollbarHeight, getVScrollbarWidth): Call
10981 gtk_widget_size_request to get scrollbar dimensions.
10982 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
10983 call getVScrollbarWidth and getHScrollbarHeight when vertical
10984 and horizontal scrollbars respectively are needed.
10985 (doLayout): Enlarge child if it is smaller than the viewport.
10986
10987 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10988
10989 * java/awt/Dialog.java (constructor): Accept null title as per spec.
10990 * java/awt/FileDialog.java (constructor): Throw exception on invalid
10991 argument as per spec.
10992
10993 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10994
10995 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
10996 (insert): Ditto.
10997 (remove): Ditto. Also, Check for valid argument.
10998 (removeAll): Use peer interface method.
10999 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11000 native add function.
11001 (nativeRemove): New name for native remove function.
11002 (getHistory): New native function.
11003 (constructor): Generate ItemEvent.
11004 (add): Ditto, if selection is changed.
11005 (remove): Ditto, ditto.
11006 (removeAll): Add implementation.
11007 (handleEvent): Remove. Dead code.
11008 (choicePostItemEvent): Add comment.
11009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11010 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11011 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11012 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11013 comments and fix condition to change selection.
11014 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11015 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11016 remove all capability.
11017 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11018 (item_activate): Add cast to remove compiler warning.
11019
11020 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11021
11022 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11023 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11024 (getPreferredSize): Call preferredSize.
11025 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11026 (getMinimumSize): Call minimumSize.
11027 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11028 (gtkWidgetGetDimensions): Return the peer widget's current size
11029 request.
11030 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11031 natural size request.
11032
11033 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11034
11035 Thanks to Brian Gough <bjg@network-theory.com>
11036 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11037 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11038
11039 2004-01-04 Matthias Klose <doko@debian.org>
11040
11041 * aclocal.m4: Rebuilt using "aclocal -I .".
11042 * configure: Rebuilt.
11043
11044 2004-01-03 Per Bothner <per@bothner.com>
11045
11046 * java/util/Date.java (parse): Fix a number of problems.
11047 (skipParens): Remove no-longer-needed method.
11048