2004-09-26 Casey Marshall <csm@gnu.org>
[gcc.git] / libjava / ChangeLog
1 2004-09-26 Casey Marshall <csm@gnu.org>
2
3 * java/security/ProtectionDomain.java
4 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5 `true'.
6
7 * java/security/SecureClassLoader.java
8 (defineClass): make protection domain dynamically bound.
9 (getPermissions): call `getCurrentPolicy' to avoid permission
10 check.
11
12 2004-09-25 Mark Wielaard <mark@klomp.org>
13
14 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
15 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
16 * Makefile.in: Regenerated.
17
18 * gcj/javaprims.h: Regenerated.
19
20 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
21 (getDefaultTimeZone): Make package private. Check that GMToffset
22 contains at least one digit.
23 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
24 VMTimeZone.
25 * util/VMTimeZone.java: New file with above methods.
26
27 * java/util/natTimeZone.cc: Removed (renamed).
28 * java/util/natVMTimeZone.cc: Added (renamed).
29
30 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
31
32 * java/util/TimeZone.java
33 (getDefaultTimeZone): Fixed test to distinguish between hours and
34 minutes in specified timezone.
35
36 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
37
38 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
39 handling of default package. (generate): Removed confused comments
40 and code about making Method and Field accessible.
41
42 2004-09-25 Tom Tromey <tromey@redhat.com>
43
44 PR java/17500:
45 * testsuite/libjava.compile/pr17500.java: New file.
46
47 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
48 Mark Wielaard <mark@klomp.org>
49
50 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
51 * gnu/regexp/RETokenLookAhead.java: New file.
52
53 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
54 * Makefile.in: Regenerated.
55
56 2004-09-25 Michael Koch <konqueror@gmx.de>
57
58 * java/io/ObjectStreamField.java:
59 Removed unused import statement.
60
61 2004-09-24 Tom Tromey <tromey@redhat.com>
62
63 PR java/15656:
64 * testsuite/libjava.compile/pr15656.xfail: New file.
65 * testsuite/libjava.compile/pr15656.java: new file.
66
67 PR java/16789:
68 * testsuite/libjava.lang/pr16789.out: New file.
69 * testsuite/libjava.lang/pr16789.java: New file.
70
71 2004-09-24 Andrew Haley <aph@redhat.com>
72
73 PR java/16927
74 * testsuite/libjava.compile/AssertBug.java: New file.
75
76 2004-09-24 Casey Marshall <csm@gnu.org>
77
78 * java/util/PropertyPermissionCollection.java
79 (implies): avoid infinite loop.
80
81 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
82
83 * javax/security/auth/PrivateCredentialPermission.java
84 (PrivateCredentialPermission): added serialization UID
85
86
87 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
88
89 * gnu/java/rmi/server/UnicastServer.java
90 (incomingMessageCall): Added code to handle Errors.
91 * gnu/java/rmi/server/UnicastServerRef.java
92 (incomingMessageCall): Added code to handle Errors.
93
94
95 2004-09-24 Tom Tromey <tromey@redhat.com>
96
97 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
98 (definedPackages): Likewise.
99
100 2004-09-24 Michael Koch <konqueror@gmx.de>
101
102 * java/io/ObjectInputStream.java:
103 Re-ordered imports.
104
105 2004-09-24 Casey Marshall <csm@gnu.org>
106
107 * java/io/ObjectInputStream.java (callReadMethod): re-throw
108 `ClassNotFoundException'.
109
110 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
111
112 * java/io/ObjectInputStream.java (readObject): Delegate instantation
113 of Externalizable classes to ObjectStreamClass.
114 * java/io/ObjectStreamClass.java (newInstance): New method to
115 instantiate Externalizable (while ignoring the accessibility of
116 the constructor). (constructor): New field to cache the constructor.
117
118 2004-09-24 Mark Wielaard <mark@klomp.org>
119
120 * java/net/URL.java (systemClassLoader): New static field.
121 (getURLStreamHandler): Always use system/application classloader
122 for finding URLStreamhandler. Remove unecessary instanceof checks.
123
124 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
125
126 * java/net/URL.java
127 (set): This method now matches the behaviour of the JDK.
128 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
129
130 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
131
132 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
133
134 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
135
136 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
137 Don't set authority if host isn't specified.
138
139 2004-09-24 Michael Koch <konqueror@gmx.de>
140
141 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
142 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
143 * gnu/java/nio/VMPipe.java,
144 gnu/java/nio/VMSelector.java:
145 New files.
146 * gnu/java/nio/natPipeImplEcos.cc,
147 gnu/java/nio/natPipeImplPosix.cc,
148 gnu/java/nio/natPipeImplWin32.cc:
149 Ported to VMPipe.
150 * gnu/java/nio/natSelectorImplEcos.cc,
151 gnu/java/nio/natSelectorImplPosix.cc,
152 gnu/java/nio/natSelectorImplWin32.cc:
153 Ported to VMSelector.
154 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
155 gnu/java/nio/VMSelector.java.
156 * Makefile.in: Regenerated.
157
158 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
159
160 * java/lang/StackTraceElement.java
161 (className): Renamed field to declaringClass to be compatible
162 with Sun serialization format.
163
164 2004-09-23 Michael Koch <konqueror@gmx.de>
165
166 * java/applet/AppletContext.java,
167 java/applet/Applet.java,
168 java/applet/AppletStub.java,
169 java/applet/AudioClip.java:
170 Jalopied and checkstyle clean.
171
172 2004-09-23 Mark Wielaard <mark@klomp.org>
173
174 * java/util/Collections.java
175 (binarySearch(List, Object, Comparator)): Explicitly
176 reverse direction in list iterator.
177 (rotate): Just return when list is empty.
178
179 2004-09-23 Tom Tromey <tromey@redhat.com>
180
181 PR java/17329:
182 * testsuite/libjava.compile/pr17329.java: New file.
183
184 PR java/17380:
185 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
186 9.2-implicit-7.
187
188 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
189
190 * Makefile.am: Run aclocal with -I ../config
191 * acinclude.m4: Delete macros picked up from ../config and tidy.
192 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
193 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
194 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
195
196 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
197
198 * aclocal.m4: Regenerate with aclocal 1.9.2.
199 * configure: Regenerate.
200 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
201 * include/Makefile.in, testsuite/Makefile.in: Likewise.
202
203 2004-09-22 David Daney <ddaney@avtrex.com>
204
205 PR libgcj/17623
206 * java/net/URL.java (URL): Copy userInfo from context.
207 (getUserInfo): Return cached userInfo if present.
208
209 2004-09-22 Tom Tromey <tromey@redhat.com>
210
211 PR libgcj/6182:
212 * mauve-libgcj: Enable java.lang.Character tests.
213
214 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
215
216 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
217 dependencies.
218 (lib_org_ietf_jgss_la_LIBADD): Likewise.
219 * Makefile.in: Regenerated.
220
221 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
222
223 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
224 * configure: Regenerate.
225 * include/config.h.in: Likewise.
226 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
228 macro to gtkpeer.h.
229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
230 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
231 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
232 architectures.
233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
234 Likewise.
235
236 2004-09-22 Tom Tromey <tromey@redhat.com>
237
238 PR libgcj/14446:
239 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
240 when comparing CRCs.
241 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
242 field.
243 (read()): New overload.
244
245 2004-09-21 Tom Tromey <tromey@redhat.com>
246
247 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
248 Indentation fix.
249
250 2004-09-21 Michael Koch <konqueror@gmx.de>
251
252 * java/net/Socket.java
253 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
254
255 2004-09-21 Casey Marshall <csm@gnu.org>
256
257 * javax/crypto/MacSpi.java (clone): Provide meaningful
258 implementation.
259
260 2004-09-21 Tom Tromey <tromey@redhat.com>
261
262 PR libgcj/16869:
263 * Makefile.in: Rebuilt.
264 * Makefile.am (MOSTLYCLEANFILES): Removed.
265 (mostlyclean-local): Remove header files.
266
267 2004-09-21 Casey Marshall <csm@gnu.org>
268
269 * java/security/cert/X509CRLSelector.java:
270 (match): remove unreachable try-catch clauses.
271 Reported by: Dalibor Topic <robilad@kaffe.org>
272
273 2004-09-21 Mark Wielaard <mark@klomp.org>
274
275 * java/util/TreeMap.java (root): Don't initialize.
276 (TreeMap(Comparator)): Call fabricateTree(0).
277 (fabricateTree): Initialize root and size when count is 0.
278
279 2004-09-21 Sven de Marothy <sven@physto.se>
280
281 * java/nio/ByteBuffer.java (hashCode): Implemented.
282 * java/nio/CharBuffer.java: Likewise.
283 * java/nio/DoubleBuffer.java: Likewise.
284 * java/nio/FloatBuffer.java: Likewise.
285 * java/nio/LongBuffer.java: Likewise.
286 * java/nio/IntBuffer.java: Likewise.
287 * java/nio/ShortBuffer.java: Likewise.
288
289 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
290
291 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
292
293 2004-09-21 Michael Koch <konqueror@gmx.de>
294
295 * javax/net/ssl/SSLServerSocket.java:
296 Removed comment about "Do not edit this file, it's generated.".
297
298 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
299
300 Import the big Crypto/Jessie/Security merge from Classpath.
301
302 * Makefile.am: Add imported files.
303 * Makefile.in: Regenerate.
304
305 2004-08-14 Casey Marshall <csm@gnu.org>
306
307 The Big Crypto Merge of 2004.
308
309 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
310 Crypto's version.
311
312 Files imported from GNU Crypto.
313 * javax/crypto/BadPaddingException.java
314 * javax/crypto/Cipher.java
315 * javax/crypto/CipherInputStream.java
316 * javax/crypto/CipherOutputStream.java
317 * javax/crypto/CipherSpi.java
318 * javax/crypto/EncryptedPrivateKeyInfo.java
319 * javax/crypto/ExemptionMechanism.java
320 * javax/crypto/ExemptionMechanismException.java
321 * javax/crypto/ExemptionMechanismSpi.java
322 * javax/crypto/IllegalBlockSizeException.java
323 * javax/crypto/KeyAgreement.java
324 * javax/crypto/KeyAgreementSpi.java
325 * javax/crypto/KeyGenerator.java
326 * javax/crypto/KeyGeneratorSpi.java
327 * javax/crypto/Mac.java
328 * javax/crypto/MacSpi.java
329 * javax/crypto/Makefile.am
330 * javax/crypto/NoSuchPaddingException.java
331 * javax/crypto/NullCipher.java
332 * javax/crypto/NullCipherImpl.java
333 * javax/crypto/SealedObject.java
334 * javax/crypto/SecretKey.java
335 * javax/crypto/SecretKeyFactory.java
336 * javax/crypto/SecretKeyFactorySpi.java
337 * javax/crypto/ShortBufferException.java
338 * javax/crypto/interfaces/DHKey.java
339 * javax/crypto/interfaces/DHPrivateKey.java
340 * javax/crypto/interfaces/DHPublicKey.java
341 * javax/crypto/interfaces/PBEKey.java
342 * javax/crypto/spec/DESKeySpec.java
343 * javax/crypto/spec/DESedeKeySpec.java
344 * javax/crypto/spec/DHGenParameterSpec.java
345 * javax/crypto/spec/DHParameterSpec.java
346 * javax/crypto/spec/DHPrivateKeySpec.java
347 * javax/crypto/spec/DHPublicKeySpec.java
348 * javax/crypto/spec/IvParameterSpec.java
349 * javax/crypto/spec/PBEKeySpec.java
350 * javax/crypto/spec/PBEParameterSpec.java
351 * javax/crypto/spec/RC2ParameterSpec.java
352 * javax/crypto/spec/RC5ParameterSpec.java
353 * javax/crypto/spec/SecretKeySpec.java
354 * javax/security/auth/AuthPermission.java
355 * javax/security/auth/DestroyFailedException.java
356 * javax/security/auth/Destroyable.java
357 * javax/security/auth/Policy.java
358 * javax/security/auth/PrivateCredentialPermission.java
359 * javax/security/auth/RefreshFailedException.java
360 * javax/security/auth/Refreshable.java
361 * javax/security/auth/Subject.java
362 * javax/security/auth/SubjectDomainCombiner.java
363 * javax/security/auth/callback/Callback.java
364 * javax/security/auth/callback/CallbackHandler.java
365 * javax/security/auth/callback/ChoiceCallback.java
366 * javax/security/auth/callback/ConfirmationCallback.java
367 * javax/security/auth/callback/LanguageCallback.java
368 * javax/security/auth/callback/NameCallback.java
369 * javax/security/auth/callback/PasswordCallback.java
370 * javax/security/auth/callback/TextInputCallback.java
371 * javax/security/auth/callback/TextOutputCallback.java
372 * javax/security/auth/callback/UnsupportedCallbackException.java
373 * javax/security/auth/login/AccountExpiredException.java
374 * javax/security/auth/login/AppConfigurationEntry.java
375 * javax/security/auth/login/Configuration.java
376 * javax/security/auth/login/CredentialExpiredException.java
377 * javax/security/auth/login/FailedLoginException.java
378 * javax/security/auth/login/LoginContext.java
379 * javax/security/auth/login/LoginException.java
380 * javax/security/auth/login/NullConfiguration.java
381 * javax/security/auth/x500/X500PrivateCredential.java
382 * javax/security/sasl/AuthenticationException.java
383 * javax/security/sasl/AuthorizeCallback.java
384 * javax/security/sasl/RealmCallback.java
385 * javax/security/sasl/RealmChoiceCallback.java
386 * javax/security/sasl/Sasl.java
387 * javax/security/sasl/SaslClient.java
388 * javax/security/sasl/SaslClientFactory.java
389 * javax/security/sasl/SaslException.java
390 * javax/security/sasl/SaslServer.java
391 * javax/security/sasl/SaslServerFactory.java
392 * org/ietf/jgss/ChannelBinding.java
393 * org/ietf/jgss/GSSContext.java
394 * org/ietf/jgss/GSSCredential.java
395 * org/ietf/jgss/GSSException.java
396 * org/ietf/jgss/GSSManager.java
397 * org/ietf/jgss/GSSName.java
398 * org/ietf/jgss/MessageProp.java
399 * org/ietf/jgss/Oid.java
400 * org/ietf/jgss/MessagesBundle.properties
401
402 Files imported from Jessie <http://www.nongnu.org/jessie/>
403 * javax/net/ServerSocketFactory.java
404 * javax/net/SocketFactory.java
405 * javax/net/VanillaServerSocketFactory.java
406 * javax/net/VanillaSocketFactory.java
407 * javax/net/ssl/HandshakeCompletedEvent.java
408 * javax/net/ssl/HandshakeCompletedListener.java
409 * javax/net/ssl/HostnameVerifier.java
410 * javax/net/ssl/HttpsURLConnection.java
411 * javax/net/ssl/KeyManager.java
412 * javax/net/ssl/KeyManagerFactory.java
413 * javax/net/ssl/KeyManagerFactorySpi.java
414 * javax/net/ssl/ManagerFactoryParameters.java
415 * javax/net/ssl/SSLContext.java
416 * javax/net/ssl/SSLContextSpi.java
417 * javax/net/ssl/SSLException.java
418 * javax/net/ssl/SSLHandshakeException.java
419 * javax/net/ssl/SSLKeyException.java
420 * javax/net/ssl/SSLPeerUnverifiedException.java
421 * javax/net/ssl/SSLPermission.java
422 * javax/net/ssl/SSLProtocolException.java
423 * javax/net/ssl/SSLServerSocket.java
424 * javax/net/ssl/SSLServerSocketFactory.java
425 * javax/net/ssl/SSLSession.java
426 * javax/net/ssl/SSLSessionBindingEvent.java
427 * javax/net/ssl/SSLSessionBindingListener.java
428 * javax/net/ssl/SSLSessionContext.java
429 * javax/net/ssl/SSLSocket.java
430 * javax/net/ssl/SSLSocketFactory.java
431 * javax/net/ssl/TrivialHostnameVerifier.java
432 * javax/net/ssl/TrustManager.java
433 * javax/net/ssl/TrustManagerFactory.java
434 * javax/net/ssl/TrustManagerFactorySpi.java
435 * javax/net/ssl/X509KeyManager.java
436 * javax/net/ssl/X509TrustManager.java
437 * javax/security/cert/Certificate.java
438 * javax/security/cert/CertificateEncodingException.java
439 * javax/security/cert/CertificateException.java
440 * javax/security/cert/CertificateExpiredException.java
441 * javax/security/cert/CertificateNotYetValidException.java
442 * javax/security/cert/CertificateParsingException.java
443 * javax/security/cert/X509CertBridge.java
444 * javax/security/cert/X509Certificate.java
445
446 2004-08-20 Casey Marshall <csm@gnu.org>
447
448 * java/security/cert/X509CRLSelector.java: New file.
449 * java/security/cert/X509CertSelector.java: New file.
450
451 2004-09-15 Michael Koch <konqueror@gmx.de>
452
453 * gnu/java/net/protocol/file/Handler.java
454 (openConnection): Don't throw exception if host part for file: URI is
455 present. setURL() keeps file: protocol if ftp: protocol is not
456 available.
457
458 2004-09-14 Richard Henderson <rth@redhat.com>
459
460 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
461 value of sigsuspend.
462
463 2004-09-12 Tom Tromey <tromey@redhat.com>
464
465 * javax/naming/CompoundName.java (CompoundName): Don't check for
466 separator in "flat" case.
467
468 2004-09-12 Michael Koch <konqueror@gmx.de>
469
470 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
471 AM_CONFIG_HEADER by AC_CONFIG_FILES.
472 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
473 Regenerate.
474
475 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
476
477 PR libgcj/14751
478 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
479 handle in newly-allocated _Jv_Thread_t.
480 (_Jv_ThreadDestroyData): Close thread handle.
481 (_Jv_ThreadStart): Remove obsolete comment.
482 Store handle of newly-created thread in _Jv_Thread_t.
483 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
484 before including <windows.h>
485 #define _Jv_HaveCondDestroy
486
487 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
488
489 * java/lang/natThread.cc (finalize_native): Destroy
490 join conditional variable and mutex if these destroy
491 operations are supported.
492
493 2004-09-10 Dalibor Topic <robilad@kaffe.org>
494
495 * gnu/java/net/protocol/file/Connection.java (permission): New field.
496 (DEFAULT_PERMISSION): New constant.
497 (Connection): Create a FilePermission with permission to read file.
498
499 2004-09-10 Michael Koch <konqueror@gmx.de>
500
501 * gnu/java/net/protocol/file/Connection.java
502 (getLastModified): Moved around.
503 (getPermission): Return stored permission.
504
505 2004-09-10 Michael Koch <konqueror@gmx.de>
506
507 * Makefile.in: Regenerate.
508
509 2004-09-10 Michael Koch <konqueror@gmx.de>
510
511 * Makefile.am: Reverted accidently commited stuff.
512 * configure: Regenerated.
513
514 2004-09-10 Michael Koch <konqueror@gmx.de>
515
516 * gnu/java/net/protocol/file/Connection.java
517 (lineSeparator): Made non-final.
518 (static): Removed.
519 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
520 instead of StringBufferInputStream.
521
522 2004-09-10 Michael Koch <konqueror@gmx.de>
523
524 * gnu/java/net/protocol/file/Connection.java
525 (connect): Handle file is a directory case.
526
527 2004-09-10 Michael Koch <konqueror@gmx.de>
528
529 * Makefile.am
530 (xlib_includes): Removed.
531 (AM_CPPFLAGS): Renamed from INCLUDES.
532 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
533 * Makefile.in: Regenerate.
534
535 2004-09-09 Michael Koch <konqueror@gmx.de>
536
537 * java/security/ProtectionDomain.java,
538 * java/util/PropertyPermissionCollection.java:
539 Fixed javadocs all over.
540
541 2004-09-09 Sven de Marothy <sven@physto.se>
542
543 Patch from David Gilbert <david.gilbert@object-refinery.com>
544 * java/lang/Comparable.java: Fixed documentation errors.
545 * java/util/Arrays.java: Likewise.
546
547 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
548
549 * java/net/Inet4Address.java
550 (Inet4Address): Added comment to serialization UID.
551 * java/text/Format.java
552 (Format): Added comment to serialization UID.
553
554 2004-09-09 Michael Koch <konqueror@gmx.de>
555
556 * java/lang/System.java
557 (err): Fixed javadoci to point to setErr() and not setOut().
558
559 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
560
561 (normalizePath): Added special case for windows systems.
562
563 2004-09-09 Michael Koch <konqueror@gmx.de>
564
565 * java/io/File.java
566 (dupSeparator): Made private.
567 (File(URI)): New constructor.
568 (getParentFile): Fixed javadoc.
569 (createTempFile): Reformated.
570 (setReadOnly): Added comment.
571 (deleteOnExit): Merged javadoc with classpath version.
572
573 2004-09-09 Michael Koch <konqueror@gmx.de>
574
575 * Makefile.am: Don't try to include deps.mk.
576 * Makefile.in: Regenerated.
577
578 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
579
580 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
581 .d files.
582 * configure: Rebuilt.
583
584 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
585
586 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
587 Changed pfn from static local to local.
588
589 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
590 H.J. Lu <hongjiu.lu@intel.com>
591
592 PR libgcj/17290
593 * Makefile.am (GCJCOMPILE): Remove definition.
594 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
595 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
596 * Makefile.in: Rebuilt.
597
598 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
599
600 * configure.ac (enable-gc-debug): Update help for new syntax.
601 * configure: Regenerate.
602
603 2004-09-03 David Daney <ddaney@avtrex.com>
604
605 * include/mips-signal.h: Update copyright.
606
607 2004-09-03 David Daney <ddaney@avtrex.com>
608
609 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
610 * include/mips-signal.h: Added HANDLE_FPE support.
611
612 2004-08-31 Michael Koch <konqueror@gmx.de>
613
614 * javax/swing/plaf/basic/BasicTextAreaUI.java
615 (create): New method.
616 * javax/swing/text/DefaultHighlighter.java
617 (DefaultHighlightPainter.debugRect): Removed.
618 * javax/swing/text/StyleContext.java
619 (DEFAULT_STYLE): New field.
620
621 2004-08-31 Michael Koch <konqueror@gmx.de>
622
623 * javax/swing/plaf/basic/BasicLookAndFeel.java
624 (initComponentDefaults): Add keybindings for selection.backward and
625 selection-forward for text components.
626 * javax/swing/plaf/basic/BasicTextUI.java
627 (paintSafely): Paint highlight only when something is actually
628 selected.
629 * javax/swing/text/DefaultCaret.java
630 (handleHighlight): New method.
631 (setSelectionVisible): Don't do anything when nothing changes.
632 Handle highlight.
633 (moveDot): Reimplemented. Handle highlight.
634 (setDot): Set mark too. Handle highlight.
635 (getSelectionPainter): New method.
636 * javax/swing/text/DefaultEditorKit.java
637 (defaultActions): Added new actions for text selection.
638 * javax/swing/text/DefaultHighlighter.java
639 (DefaultHighlightPainter): New inner class.
640 (DefaultPainter): New field.
641 (paint): Implemented.
642 * javax/swing/text/PlainView.java
643 (paint): Don't draw background here again.
644 * javax/swing/text/Utilities.java
645 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
646 (drawTabbedText): Likewise.
647
648 2004-08-31 Graydon Hoare <graydon@redhat.com>
649
650 * javax/swing/JComponent.java
651 (resetKeyboardActions): Add null checks.
652
653 2004-08-31 Graydon Hoare <graydon@redhat.com>
654
655 * javax/swing/DefaultButtonModel.java:
656 Skip group notification when no group is set.
657
658 2004-08-31 Graydon Hoare <graydon@redhat.com>
659
660 * javax/swing/JColorChooser.java:
661 Make a couple inner classes static, for jikes.
662
663 2004-08-31 Michael Koch <konqueror@gmx.de>
664
665 * javax/swing/plaf/basic/BasicTextUI.java
666 (RottView.modelToView): New method.
667 (UpdateHandler): Renamed from EventHandler.
668 (updateHandler): Renamed from eventHandler.
669 (modelToView): Implemented.
670 * javax/swing/text/AbstractDocument.java
671 (BranchElement.getElement): Return null for non-existing indeces.
672 (BranchElement.getElementIndex): Return 0 in some corner cases.
673 * javax/swing/text/FieldView.java
674 (modelToView): New method.
675 * javax/swing/text/PlainView.java
676 (modelToView): Made public.
677
678 2004-08-31 Kim Ho <kho@redhat.com>
679
680 * Makefile.am: New files.
681 * Makefile.in: Regenerate.
682 * gcj/Makefile.in: Regenerate.
683 * include/Makefile.in: Regenerate.
684 * java/awt/Color.java: Fix documentation.
685 (RGBtoHSB): Use floats for conversions.
686 * javax/swing/ButtonGroup.java: Run Jalopy.
687 (setSelected): Reimplement.
688 * javax/swing/DefaultButtonModel.java: Run Jalopy.
689 (changeState): Let ButtonGroup know that the button
690 is changing state.
691 * javax/swing/JColorChooser.java: Implement.
692 * javax/swing/JLabel.java: Run Jalopy.
693 * javax/swing/JSpinner.java: Run Jalopy.
694 (setValue): New method.
695 * javax/swing/JTabbedPane.java: Run Jalopy.
696 (removeTabAt): Call correct remove method.
697 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
698 (getPreviousValue): Compare minimum value.
699 * javax/swing/Timer.java: Run Jalopy.
700 (run): Comment out println.
701 * javax/swing/ToolTipManager.java:
702 (mouseMoved): Get new tooltip text for location.
703 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
704 Jalopy and Javadoc.
705 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
706 Implement.
707 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
708 Run Jalopy.
709 (setSelectedColor): Fire ChangeEvent.
710 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
711 New file. Implement.
712 * javax/swing/colorchooser/DefaultPreviewPanel.java:
713 Ditto.
714 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
715 Ditto.
716 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
717 Ditto.
718 * javax/swing/plaf/basic/BasicArrowButton.java:
719 (getArrow): Fix size of upward pointing button.
720 * javax/swing/plaf/basic/BasicColorChooserUI.java:
721 Implement.
722 * javax/swing/plaf/basic/BasicSliderUI.java:
723 (getWidthOfWidestLabel): Use preferred dimensions.
724 (getHeightOfTallestLabel): Ditto.
725 * javax/swing/plaf/basic/BasicSpinnerUI.java:
726 Run Jalopy.
727 (mousePressed): Disable changes to spinner if it is not enabled.
728 * testsuite/Makefile.in: Regenerate.
729
730
731 2004-08-31 Michael Koch <konqueror@gmx.de>
732
733 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
734 javax/swing/plaf/basic/BasicTableUI.java:
735 Added copyright notice.
736
737 2004-08-31 Olga Rodimina <rodimina@redhat.com>
738
739 * Makefile.am: Added new files.
740 * Makefile.in: Regenerate.
741 * javax/swing/ComboBoxEditor.java: Added javadocs.
742 * javax/swing/ComboBoxModel.java: Likewise.
743 * javax/swing/DefaultComboBoxModel.java: Implemented.
744 * javax/swing/DefaultListCellRenderer.java: Added javadocs
745 and ran through jalopy to fix formatting style.
746 (getListCellRendererComponent): Use appropriate border
747 if renderer has focus and use noFocusBorder when it doesn't.
748 * javax/swing/JComboBox.java: Implemented.
749 * javax/swing/JList.java:
750 (locationToIndex): New Method. Implemented.
751 (indexToLocation): New Method.
752 * javax/swing/JPopupMenu.java:
753 (visible): New field.
754 (isVisible): Changed to use new field above.
755 (setVisible): Likewise.
756 * javax/swing/MutableComboBoxModel.java: Added javadocs.
757 * javax/swing/plaf/basic/BasicArrowButton.java:
758 (shadow): Changed default color to Color.gray.
759 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
760 UI delegate for JComboBox.
761 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
762 Popup menu containing list of JComboBox's items.
763 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
764 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
765 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
766 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
767 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
768 (popupMenuWillBecomeVisible): Set selected path to the first
769 element only if it is of type MenuElement. Also fix formatting
770 style.
771 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
772 methods signatures.
773
774 2004-08-31 Michael Koch <konqueror@gmx.de>
775
776 * javax/swing/text/AbstractDocument.java
777 (createBranchElement): Use new constructor of BranchElement.
778 (createLeafElement): Renamed arguments.
779 (getRootElements): Implemented.
780 (BranchElement.start): Removed.
781 (BranchElement.end): Likewise.
782 (BranchElement.BranchElement): Fixed arguments.
783 (BranchElement.getEndOffset): Reimplemented.
784 (BranchElement.getStartOffset): Likewis.
785 * javax/swing/text/DefaultCaret.java
786 (paint): Draw simple vertical line as caret instead of a rectangle.
787 * javax/swing/text/JTextComponent.java
788 (setText): Use doc directly.
789 * javax/swing/text/PlainView.java
790 (nextTabStop): Implemented.
791 * javax/swing/text/Utilities.java
792 (drawTabbedText): nextTabStop() returns an absolute x position.
793 (getTabbedTextWidth): Likewise.
794
795 2004-08-31 Graydon Hoare <graydon@redhat.com>
796
797 * java/awt/Component.java
798 (isFocusTraversable): Predicate on isLightweight()
799 (setFocusable): Set isFocusTraversableOverridden.
800 (requestFocus): Predicate peer dispatch on !isLightweight()
801 (requestFocusInWindow): Likewise.
802 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
803 * java/awt/Container.java
804 (dispatchEventImpl): Predicate on event mask.
805 (LightweightDispatcher): Remove focus machinery.
806 * java/awt/DefaultFocusTraversalPolicy.java
807 (accept): Expand predicate to include isFocusable().
808 * java/awt/DefaultKeyboardFocusManager.java:
809 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
810 * java/awt/KeyboardFocusManager.java
811 (redispatchEvent): Synchronize on event to prevent feedback.
812 * javax/swing/AbstractButton.java
813 (ButtonFocusListener): Remove class.
814 (init): Set focusPainted, focusable.
815 * javax/swing/ActionMap.java (get): Check parent for null.
816 * javax/swing/InputMap.java (get): Likewise.
817 * javax/swing/JComponent.java
818 (inputMap_whenFocused): New InputMap.
819 (inputMap_whenAncestorOfFocused): Likewise.
820 (inputMap_whenInFocusedWindow): Likewise.
821 (getActionForKeyStroke): Rewrite.
822 (getConditionForKeystroke): Likewise.
823 (ActionListenerProxy): New private class.
824 (setInputMap): Implement.
825 (getInputMap): Likewise.
826 (setActionMap): Likewise.
827 (getActionMap): Likewise.
828 (processComponentKeyEvent): New empty method.
829 (processKeyEvent): Implement.
830 (processKeyBinding): Likewise.
831 (resetKeyboardActions): Rewrite.
832 * javax/swing/KeyStroke.java: Rewrite.
833 * javax/swing/SwingUtilities.java
834 (notifyAction): Implement.
835 (replaceUIActionMap): Likewise.
836 (replaceUIInputMap): Likewise.
837 * javax/swing/plaf/basic/BasicButtonListener.java
838 (focusGained): Implement.
839 (focusLost): Repaint if focusPainted().
840 (installKeyboardActions): Install pressed / released actions.
841 (uninstallKeyboardActions): Implement.
842 * javax/swing/plaf/basic/BasicButtonUI.java
843 (focusColor): New field.
844 (installDefaults): Load focus color, install input map.
845 (installKeyboardActions): Implement.
846 (uninstallKeyboardActions): Likewise.
847 (paintFocus): Rewrite.
848 * javax/swing/plaf/basic/BasicLookAndFeel.java
849 (Button.focus): New default, midPurple.
850 * javax/swing/plaf/basic/BasicTextUI.java
851 (kit): Make static.
852 (installUI): Get doc from kit, load defaults.
853 (getKeymapName): Implement.
854 (createKeymap): Likewise.
855 (installKeyboardActions): Likewise.
856 (getInputMap): Likewise.
857 (getActionMap): Likewise.
858 (createActionMap): Likewise.
859 * javax/swing/text/AbstractDocument.java
860 (getStartPosition): Implement.
861 (getEndPosition): Likewise.
862 * javax/swing/text/DefaultEditorKit.java
863 (CopyAction): New class.
864 (CutAction): Likewise.
865 (DefaultKeyTypedAction): Likewise.
866 (InsertBreakAction): Likewise.
867 (InsertContentAction): Likewise.
868 (InsertTabAction): Likewise.
869 (PasteAction): Likewise.
870 (defaultActions): New static table.
871 (createCaret): Implement.
872 (getActions): Likewise.
873 * javax/swing/text/JTextComponent.java
874 (KeymapWrapper): New private class.
875 (KeymapActionMap): Likewise.
876 (DefaultKeymap): New class.
877 (keymaps): New static table.
878 (keymap): New field.
879 (getKeymap): Implement.
880 (removeKeymap): Likewise.
881 (addKeymap): Likewise.
882 (setKeymap): Likewise.
883 (loadKeymap): Likewise.
884 (getActions): Likewise.
885 (margin): New field.
886 (JTextComponent): Build and install default keymap.
887 * javax/swing/text/TextAction.java
888 (textAction): Call super properly.
889 (getTextComponent): Implement.
890 * javax/swing/text/Utilities.java
891 (drawTabbedText): Adjust position by ascent.
892
893 2004-08-31 David Jee <djee@redhat.com>
894
895 PR AWT/17156
896
897 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
898 (setEnabled): Make it a native method.
899 * java/awt/DefaultKeyboardFocusManager.java
900 (postProcessKeyEvent): Only post event if the menu item
901 is active.
902 * java/awt/MenuItem.java:
903 Private field 'enabled' should be true by default.
904 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
905 (setEnabled): New function.
906
907 2004-08-31 David Jee <djee@redhat.com>
908
909 PR AWT/17059
910
911 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
912 (nativeSetHelpMenu): New native method declaration.
913 (addHelpMenu): Call nativeSetHelpMenu().
914 (addMenu): Remove.
915 * java/awt/MenuBar.java
916 (setHelpMenu): Call addNotify() on the new help menu.
917 (add): Call addNotify() on the new menu.
918 (addNotify): Set the help menu if one exists.
919 * java/awt/peer/MenuBarPeer.java
920 (addMenu): Remove.
921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
922 (nativeSetHelpMenu): New method.
923
924 2004-08-31 Graydon Hoare <graydon@redhat.com>
925
926 * Makefile.am: Add new files.
927 * Makefile.in: Regenerate.
928 * javax/swing/Box.java: Fix setting of layout in ctor.
929 * javax/swing/JScrollPane.java: Scroll headers as well.
930 * javax/swing/JTable.java: Reimplement.
931 * javax/swing/JViewPort.java: Only add non-null children.
932 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
933 * javax/swing/Timer.java: Fix stopping null waker.
934 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
935 * javax/swing/plaf/basic/BasicTableUI.java: New file.
936 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
937 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
938 * javax/swing/table/DefaultTableModel.java: Clean up.
939 * javax/swing/table/JTableHeader.java: Implement.
940
941 2004-08-31 Mark Wielaard <mark@klomp.org>
942
943 * javax/swing/JSpinner.java (getChangeListeners): Remove double
944 semi-colon.
945
946 2004-08-31 Mark Wielaard <mark@klomp.org>
947
948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
949 Declare variables at top of functions/block.
950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
951
952 2004-08-31 Mark Wielaard <mark@klomp.org>
953
954 * java/lang/Rectangle.java (intersects): Check r.width and r.height
955 first.
956
957 2004-08-31 Michael Koch <konqueror@gmx.de>
958
959 * javax/swing/text/PlainView.java
960 (selectedColor): New field.
961 (unselectedColor): Likewise.
962 (font): Likewise.
963 (updateMetrics): New method.
964 (lineToRect): Likewise.
965 (modelToView): Likewise.
966 (drawSelectedText): Use color from JTextComponent ad draw with
967 Utilities class.
968 (drawUnselectedText): Likewise.
969 (paint): Initialize helper fields.
970 * javax/swing/text/View.java
971 (getChildAllocation): New method.
972 (getViewIndex): Likewise.
973 (getToolTipText): Likewise.
974
975 2004-08-31 Michael Koch <konqueror@gmx.de>
976
977 * javax/swing/text/Utilities.java
978 (drawTabbedText): Reimplemented.
979 (getTabbedTextWidth): Likewise.
980
981 2004-08-31 Michael Koch <konqueror@gmx.de>
982
983 * javax/swing/plaf/basic/BasicTextUI.java
984 (installDefaults): Install caret and highlighter.
985 (modelToView): Use Bias.Forward when calling sibling.
986 * javax/swing/text/AbstractDocument.java
987 (ElementEdit): Implements DocumentEvent.ElementChange.
988 (ElementEdit.ElementEdit): New method.
989 (ElementEdit.getChildrenAdded): Likewise.
990 (ElementEdit.getChildrenRemoved): Likewise.
991 (ElementEdit.getElement): Likewise.
992 (ElementEdit.getIndex): Likewise.
993 * javax/swing/text/DefaultCaret.java
994 (color): Removed.
995 (textComponent): Renamed from parent, made private.
996 (selectionVisible): Renamed from vis_sel, made private.
997 (blinkRate): Renamed from blink, made private.
998 (magicCaretPosition): Renamed from magic, made private.
999 (visible): Renamed from vis, made private.
1000 (dot): Made private.
1001 (mark): Likewise.
1002 (deinstall): Remove as MouseMotionListener.
1003 (install): Initialize textComponent first. Add as MouseMotionListener.
1004 (paint): Reimplemented.
1005 * javax/swing/text/JTextComponent.java
1006 (setCaret): Deinstall old caret, install new one and fire property
1007 change after setting property.
1008 (setHighlighter): Deinstall old highlighter, install new one and fire
1009 property change after setting property.
1010 (setCaretColor): Fire property change after setting property.
1011 (setDisabledTextColor): Likewise.
1012 (setSelectedTextColor): Likewise.
1013 (setSelectionColor): Likewise.
1014 (modelToView): New method.
1015
1016 2004-08-31 Michael Koch <konqueror@gmx.de>
1017
1018 * javax/swing/text/AbstractDocument.java
1019 (getText): Simplified.
1020 * javax/swing/text/Segment.java
1021 (current): New field.
1022 (current): Reimplemented.
1023 (first): Likewise.
1024 (getIndex): Likewise.
1025 (last): Likewise.
1026 (next): Likewise.
1027 (previous): Likewise.
1028 (setIndex): Likewise.
1029
1030 2004-08-31 Michael Koch <konqueror@gmx.de>
1031
1032 * javax/swing/plaf/basic/BasicButtonUI.java
1033 (defaultTextIconGap): Made protected.
1034 (defaultTextShiftOffset): Likewise.
1035 (textShiftOffset): New field.
1036 (clearTextShiftOffset): New method.
1037 (getTextShiftOffset): Likewise.
1038 (setTextShiftOffset): Likewise.
1039
1040 2004-08-31 Michael Koch <konqueror@gmx.de>
1041
1042 * javax/swing/plaf/basic/BasicTextUI.java
1043 (installUI): Add eventHandler as property listener.
1044 (uninstallUI): remove eventHandler as propert listener.
1045 (installDefaults): Added comment.
1046 (installListeners): Likewise.
1047 (installKeyboardActions): Likewise.
1048 (uninstallDefaults): Likewise.
1049 (uninstallListeners): Likewise.
1050 (uninstallKeyboardActions): Likewise.
1051
1052 2004-08-31 Michael Koch <konqueror@gmx.de>
1053
1054 * javax/swing/text/AbstractDocument.java:
1055 Fixed some typos in comments.
1056 (insertString): Reimplemented.
1057 (remove): Likewise.
1058 (replace): New method.
1059 (children): Dont use fully qualified class name.
1060 (DefaultDocumentEvent.offset): Renamed from off.
1061 (DefaultDocumentEvent.length): Renamed from len.
1062 (DefaultDocumentEvent.type): New field.
1063 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1064 (DefaultDocumentEvent.getType): Implemented.
1065
1066 2004-08-31 Michael Koch <konqueror@gmx.de>
1067
1068 * javax/swing/plaf/basic/BasicTextUI.java
1069 (RootView.textComponent): Removed.
1070 (RootView.RootView): Don't initialize textComponent.
1071 (RootView.getViewFactory): New method.
1072 (EventHandler): New inner class.
1073 (rootView): Initialize at instance creation.
1074 (eventHandler): New field.
1075 (installUI): Don't create view hierarchy directly,
1076 call modelChanged() instead.
1077 (modelChanged): New method.
1078 * javax/swing/text/JTextComponent.java
1079 (setDocument): Fire property change event.
1080
1081 2004-08-31 Michael Koch <konqueror@gmx.de>
1082
1083 * javax/swing/plaf/basic/BasicTextUI.java
1084 (RootView.paint): Removed debug output.
1085 (paintSafely): Draw highlighter before text.
1086 (paintBackground): Use background color of text component.
1087 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1088 Reformatted.
1089
1090 2004-08-31 Michael Koch <konqueror@gmx.de>
1091
1092 * javax/swing/plaf/basic/BasicToolBarUI.java
1093 (BasicToolBarUI): Fixed arguments for constructor.
1094 (createUI): Fixed creation of object.
1095
1096 2004-08-31 Michael Koch <konqueror@gmx.de>
1097
1098 * javax/swing/DefaultListSelectionModel.java
1099 (fireValueChanged): Renamed from fireSelectionValueChanged,
1100 made protected.
1101
1102 2004-08-31 Michael Koch <konqueror@gmx.de>
1103
1104 * javax/swing/text/TabSet.java
1105 (TabSet): Implements java.io.Serializable.
1106 * javax/swing/text/TabStop.java
1107 (TabStop): Implements java.io.Serializable.
1108 (TabStop): Made public.
1109
1110 2004-08-31 Michael Koch <konqueror@gmx.de>
1111
1112 * javax/swing/JComponent.java
1113 (setUI): Fire PropertyChange.
1114 * javax/swing/JLabel.java
1115 (text): Renamed from labelText.
1116 (horizontalAlignment): New default vlaue.
1117 (icon): Renamed from activeIcon.
1118 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1119 (displayedMnemonicIndex): Renamed from underlineChar.
1120 (setDisplayedMnemonic): Reimplemented.
1121 * javax/swing/JRadioButton.java
1122 (JRadioButton): New constructors.
1123 * javax/swing/JTextField.java
1124 (JTextField): Throw exception if colums < 0, initialitialz
1125 this.columns directly and initialize document with text conditionally.
1126
1127 2004-08-31 Michael Koch <konqueror@gmx.de>
1128
1129 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1130 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1131 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1132 * javax/swing/text/FieldView.java
1133 (paint): Just call super method for now.
1134 * Makefile.am: Added new files.
1135 * Makefile.in: Regenerated.
1136
1137 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1138
1139 * javax/swing/AbstractSpinnerModel.java,
1140 javax/swing/JSpinner.java,
1141 javax/swing/SpinnerNumberModel.java,
1142 javax/swing/plaf/basic/BasicSpinnerUI.java:
1143 New files.
1144 * javax/swing/plaf/basic/BasicLookAndFeel.java
1145 (initClassDefaults): Added defaults for BasicSpinnerUI.
1146
1147 2004-08-31 Michael Koch <konqueror@gmx.de>
1148
1149 * Makefile.am: Added new files.
1150 * Makefile.in: Regenerated.
1151
1152 2004-08-31 Michael Koch <konqueror@gmx.de>
1153
1154 * javax/swing/TransferHandler.java,
1155 javax/swing/plaf/basic/ComboPopup.java: New files
1156 * Makefile.am: Added javax/swing/TransferHandler.java and
1157 javax/swing/plaf/basic/ComboPopup.java
1158 * Makefile.in: Regenerated.
1159
1160 2004-08-31 Roman Kennke <roman@ontographics.com>
1161
1162 * javax/swing/text/Utilities.java: New file.
1163
1164 2004-08-31 Michael Koch <konqueror@gmx.de>
1165
1166 * Makefile.am: Added javax/swing/text/Utilities.java.
1167 * Makefile.in: Regenerated.
1168
1169 2004-08-31 Graydon Hoare <graydon@redhat.com>
1170
1171 * javax/swing/text/SimpleAttributeSet.java: New file.
1172 * javax/swing/text/StyleConstants.java: New file.
1173 * javax/swing/text/StyleContext.java: New file.
1174 * javax/swing/text/TabSet.java: New file.
1175 * javax/swing/text/TabStop.java: New file.
1176 * javax/swing/text/AbstactDocument.java:
1177 (AbstractElement): Implement attribute support.
1178 * javax/swing/text/AttributeSet.java
1179 (NameAttribute): New static field.
1180 (ResolveAttribute): New static field.
1181 * Makefile.am: Update for new files.
1182 * Makefile.in: Regenerate.
1183
1184 2004-08-31 Craig Black <craig.black@aonix.com>
1185
1186 * gnu/java/awt/peer/gtk/GdkGraphics.java
1187 (drawImage): Add support for scaling pixmaps.
1188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1189 (copyAndScalePixmap): New native method.
1190
1191 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1192
1193 PR AWT/16121
1194 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1195 type-punning compiler warnings using unions.
1196 (throw): Replace bzero with memset.
1197
1198 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1199 Thomas Fitzsimmons <fitzsim@redhat.com>
1200
1201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1202 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1203 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1205 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1206
1207 2004-08-31 Mark Wielaard <mark@klomp.org>
1208
1209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1210 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1211 and stdlib.h, not gtkpeer.h.
1212 (*vm): New static variable.
1213 (areaPreparedID): Make static.
1214 (areaUpdatedID): Likewise.
1215 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1216 (area_prepared): Likewise.
1217 (area_updated): Likewise.
1218 (closed): Likewise.
1219 (initStaticState): Initialize *vm javaVM.
1220 (pumpBytes): Use given env, not global gdk_env.
1221
1222 2004-08-31 Mark Wielaard <mark@klomp.org>
1223
1224 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1225 comments.
1226
1227 2004-08-31 Sven de Marothy <sven@physto.se>
1228
1229 * java/awt/geom/CubicCurve2D.java: Reindent.
1230 (contains): Implemented.
1231 (intersects): Implemented.
1232 * java/awt/geom/QuadCurve2D.java: Likewise.
1233 * java/awt/geom/GeneralPath.java: Reindent and document.
1234 Fully (re)implemented using separate xpoints and ypoints
1235 float[] coords.
1236 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1237
1238 2004-08-31 Michael Koch <konqueror@gmx.de>
1239
1240 * javax/swing/JMenuItem.java
1241 (getMenuDragMouseListeners): New method.
1242 (getMenuKeyListeners): Likewise.
1243
1244 2004-08-31 Michael Koch <konqueror@gmx.de>
1245
1246 * javax/swing/AbstractButton.java
1247 (model): Made protected.
1248 (actionListener): Likewise.
1249 (changeListener): Likewise.
1250 (itemListener): Likewise.
1251 (multiClickThreshhold): New field.
1252 (getActionListeners): New method.
1253 (getChangeListeners): Likewise.
1254 (getItemListeners): Likewise.
1255 (fireItemStateChanged): Simplified implementation.
1256 (fireActionPerformed): Likewise.
1257 (fireStateChanged): Likewise.
1258 (getMultiClickThreshhold): New method.
1259 (setMultiClickThreshhold): Likewise.
1260
1261 2004-08-31 Tom Tromey <tromey@redhat.com>
1262
1263 * java/awt/image/Kernel.java (clone): Use super.clone().
1264
1265 2004-08-31 David Jee <djee@redhat.com>
1266
1267 PR AWT/16682
1268 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1269 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1270 (nativeSetIconImageFromData): New native method declaration.
1271 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1272 * gnu/java/awt/peer/gtk/GtkImage.java
1273 (getPixelCache): New method.
1274 (getColorModel): New method.
1275 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1276 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1277 (free_pixbuf_data): New helper function.
1278 (nativeSetIconImageFromData): New function.
1279
1280 2004-08-31 Graydon Hoare <graydon@redhat.com>
1281
1282 PR SWING/16576
1283 * javax/swing/JLayeredPane.java
1284 (setLayer): Permit changing layer after addition.
1285 (setPosition): Permit over-length positions.
1286 (layerToRange): Compare intValue()s.
1287 * javax/swing/Box.java (createHorizontalBox): Implement.
1288 (createRigidArea): Likewise.
1289 (createVerticalBox): Likewise.
1290
1291 2004-08-31 Kim Ho <kho@redhat.com>
1292
1293 * java/awt/Component.java:
1294 (processMouseEvent): Consume event after
1295 listeners process it.
1296 (processMouseMotionEvent): ditto.
1297 (processMouseWheelEvent): ditto.
1298 * java/awt/Container.java:
1299 (acquireComponentForMouseEvent):
1300 Do not dispatch to events that have been
1301 removed from the Container.
1302 (handleEvent): Consume the MouseEvents.
1303 * javax/swing/RepaintManager.java:
1304 (paintDirtyRegions): Do not add to list of
1305 damaged areas if the component has no root.
1306
1307 2004-08-31 Michael Koch <konqueror@gmx.de>
1308
1309 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1310
1311 2004-08-31 Mark Wielaard <mark@klomp.org>
1312
1313 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1314 null when a MissingResourceException is thrown. Should never happen.
1315
1316 2004-08-31 Mark Wielaard <mark@klomp.org>
1317
1318 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1319 when argument is null.
1320
1321 2004-08-31 Mark Wielaard <mark@klomp.org>
1322
1323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1324 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1325 Define hid at start of function.
1326 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1327 Likewise.
1328
1329 2004-08-31 Mark Wielaard <mark@klomp.org>
1330
1331 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1332 * javax/swing/JButton.java: Reindent.
1333 * javax/swing/JCheckBox.java: Reindent.
1334
1335 2004-08-31 Mark Wielaard <mark@klomp.org>
1336
1337 * Makefile.am (gtk_c_source_files): Added
1338 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1339 (gtk_awt_peer_sources): Added
1340 gnu/java/awt/peer/gtk/GThreadMutex.java and
1341 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1342 * Makefile.in: Regenerated.
1343
1344 2004-08-31 Archie Cobbs <archie@dellroad.org>
1345
1346 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1347
1348 2004-08-31 Steven Augart <augart@watson.ibm.com>
1349
1350 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1351 Added jfieldID, jmethodID.
1352
1353 2004-08-31 Mark Wielaard <mark@klomp.org>
1354
1355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1356 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1357 gdk_env before calling any gdk or gtk function.
1358
1359 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1360 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1361 (run): Set gtkInitCalled.
1362
1363 2004-08-31 Steven Augart <augart@watson.ibm.com>
1364
1365 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1366 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1367
1368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1369 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1370 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1371 init_glib_threads.
1372 (init_glib_threads): New function.
1373
1374 2004-08-31 Mark Wielaard <mark@klomp.org>
1375
1376 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1377 PRIORITY when not already defined in header file.
1378
1379 2004-08-31 Mark Wielaard <mark@klomp.org>
1380
1381 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1382 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1383
1384 2004-08-31 Steven Augart <augart@watson.ibm.com>
1385
1386 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1387 Implemented missing functions for GTK2.
1388 Added error handling.
1389 Renamed static functions out of the g_ namespace.
1390 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1391 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1392 Rewrote global-reference code.
1393 Eliminated cascading errors.
1394 (mutex_trylock_jni_impl) Fully implemented.
1395 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1396 resolution.
1397 (setup_cache) New function.
1398 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1399 bug where they were not unlocking the GMutex associated with the
1400 condition variable during the wait on that condition variable.
1401
1402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1403 native/jni/gtk-peer/gthread-jni.c,
1404 native/jni/gtk-peer/gthread-jni.h
1405 (g_thread_jni_functions): Renamed to ...
1406 (portable_native_sync_jni_functions): this name.
1407 (gdk_vm): Renamed to...
1408 (the_vm): this name.
1409
1410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1411 (gdk_vm): Removed duplicate definition.
1412 (gtkInit): Removed stray message to stdout.
1413 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1414 (gtkInit): Fix a const assignment bug.
1415 (gtkInit): Simplified code.
1416
1417 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1418 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1419 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1420 gnu/java/awt/peer/gtk/GThreadMutex.java:
1421 New files.
1422
1423 2004-08-31 Mark Wielaard <mark@klomp.org>
1424
1425 * javax/swing/Box.java: Put FIXME comment above class declaration.
1426 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1427 * javax/swing/JCheckBox.java: Likewise.
1428 * javax/swing/JDialog.java: Likewise.
1429 * javax/swing/JRadioButton.java: Likewise.
1430 * javax/swing/JToggleButton.java: Likewise.
1431 * javax/swing/UIManager.java: Likewise.
1432 * javax/swing/border/TitledBorder.java: Likewise.
1433 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1434 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1435 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1436 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1437 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1438 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1439 * javax/swing/text/JTextComponent.java: Likewise.
1440
1441 2004-08-31 David Jee <djee@redhat.com>
1442
1443 PR AWT/16682
1444 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1445 (setIconImage): Add a FIXME for unhandled cases.
1446
1447 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1448
1449 PR AWT/16040
1450 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1451 getModifiers. Replace old button masks with new ones.
1452 * gnu/awt/xlib/XEventLoop.java: Likewise.
1453 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1454 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1455 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1456 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1457 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1458 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1459 * java/awt/Component.java: Replace old modifier masks with new
1460 ones.
1461 * java/awt/Container.java: Call getModifiersEx, not
1462 getModifiers.
1463 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1464 old modifier masks.
1465 * javax/swing/JMenuItem.java: Replace old button masks with new
1466 ones.
1467 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1468 getModifiers.
1469 * javax/swing/SwingUtilities.java: Likewise.
1470 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1471 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1473 mask macros with new ones.
1474 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1475 macros with new ones representing new masks.
1476
1477 2004-08-31 Craig Black <craig.black@aonix.com>
1478
1479 * gnu/java/awt/peer/gtk/GdkGraphics.java
1480 (drawRoundRect): Implemented.
1481 (fillRoundRect): Implemented.
1482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1483 (drawRoundRect): Reimplemented to match GdkGraphics.
1484 (fillRoundRect): Reimplemented to match GdkGraphics.
1485
1486 2004-08-31 Mark Wielaard <mark@klomp.org>
1487
1488 * Makefile.in: Regenerated.
1489
1490 2004-08-31 Michael Koch <konqueror@gmx.de>
1491
1492 * gnu/java/awt/EmbeddedWindow.java
1493 (addNotify): Use AccessController to allow execution of privileged
1494 code.
1495
1496 2004-08-31 Michael Koch <konqueror@gmx.de>
1497
1498 * gnu/java/awt/EmbeddedWindow.java
1499 (static): Removed.
1500 (addNotify): Set peer via reflection.
1501 (setWindowPeer): Removed.
1502 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1503 * Makefile.am (nat_source_files):
1504 Removed gnu/java/awt/natEmbeddedWindow.cc.
1505
1506 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1507
1508 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1509 and gnu/java/security/action/SetAccessibleAction.java.
1510
1511 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1512
1513 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1514 Renamed from 'setName'. New 2-argument form with default value.
1515 (run): Pass default 'value' parameter to System.getProperty().
1516 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1517 typos.
1518
1519 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1520
1521 * gnu/java/security/action/GetPropertyAction.java: New class.
1522 * gnu/java/security/action/SetAccessibleAction.java: New class.
1523
1524 2004-08-31 David Jee <djee@redhat.com>
1525
1526 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1527 (setIconImage): Check if image is null.
1528
1529 2004-08-31 David Jee <djee@redhat.com>
1530
1531 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1532 (create): Set the icon image.
1533 (nativeSetIconImage): New native method declaration.
1534 (setIconImage): Implement.
1535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1536 (nativeSetIconImage): New function.
1537
1538 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1539
1540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1541 (filenameFilterCallback): Declare local variable accepted before use.
1542
1543 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1544
1545 * gnu/java/awt/ComponentDataBlitOp.java:
1546 Cleaned up imports.
1547
1548 2004-08-31 Tom Tromey <tromey@redhat.com>
1549
1550 * gnu/java/awt/peer/GLightweightPeer.java,
1551 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1552 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1553 javax/swing/JScrollPane.java: Removed
1554 redundant imports.
1555
1556 2004-08-31 David Jee <djee@redhat.com>
1557
1558 * java/awt/DefaultKeyboardFocusManager.java
1559 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1560 event. Fix shift modifier checking.
1561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1562 (accel_attach): Remove.
1563 (setupAccelGroup): Remove calls to accel_attach.
1564
1565 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1566
1567 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1568 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1569
1570 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1571 GtkArgList.java.
1572 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1573 * Makefile.in: Regenerate.
1574 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1575 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1576 (create(String)): New method.
1577 (create): Call new create method.
1578 (getArgs): Remove method.
1579 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1580 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1581 (nativeCreate): Rename to create.
1582 (gtkSetLabel): Rename to gtkButtonSetLabel.
1583 (gtkToggleButtonSetActive): New method.
1584 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1585 (setState): Replace set call with gtkToggleButtonSetActive.
1586 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1587 (getArgs): Remove method.
1588 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1589 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1590 (gtkWidgetSetSensitive): New method.
1591 (gtkWidgetSetParent): Likewise.
1592 (GtkComponentPeer): Call setParent, setComponentBounds and
1593 setVisibleAndEnabled.
1594 (setParent): New method.
1595 (setComponentBounds): New method.
1596 (setVisibleAndEnabled): New method.
1597 (setEnabled): Call gtkWidgetSetSensitive.
1598 (getArgs): Remove method.
1599 Remove all set methods.
1600 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1601 gtkWindowSetModal, setTitle and setResizable.
1602 (getArgs): Remove method.
1603 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1604 (setComponentBounds): New method.
1605 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1606 Replace set call with gtkWindowSetResizable.
1607 (getArgs): Remove method.
1608 (create): Call setTitle and setResizable.
1609 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1610 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1611 (gtkWindowSetTitle): New method.
1612 (gtkWindowSetResizable): New method.
1613 (gtkWindowSetModal): New method.
1614 (setParent): New method.
1615 (setVisibleAndEnabled): New method.
1616 (getArgs): Remove method.
1617 (setTitle): Call gtkWindowSetTitle.
1618 (setResizable): Call gtkWindowSetResizable.
1619 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1620 and off locking instrumentation.
1621
1622 2004-08-31 Kim Ho <kho@redhat.com>
1623
1624 * Makefile.am: Add new file.
1625 * Makefile.in: Regenerate.
1626 * gcj/Makefile.in: Regenerate
1627 * include/Makefile.in:
1628 * java/awt/Container.java:
1629 (acquireComponentForMouseEvent): Respect
1630 the event mask when looking for candidate.
1631 * javax/swing/JComponent.java:
1632 Remove toolTip field.
1633 (createToolTip): Create a tooltip on demand.
1634 (setToolTipText): Register with the ToolTipManager.
1635 (getToolTipText(MouseEvent)): Return getToolTipText().
1636 * javax/swing/JToolTip.java: Implement.
1637 * javax/swing/Timer.java: Jalopy.
1638 (restart): Call stop, then start.
1639 (stop): Interrupt the timer rather than wait for
1640 the timer to come to a stop naturally.
1641 * javax/swing/ToolTipManager.java: Implement.
1642 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1643 Change ToolTip.background color.
1644 * javax/swing/plaf/basic/BasicToolTipUI.java:
1645 Implement.
1646 * testsuite/Makefile.in: Regenerate
1647
1648 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1649
1650 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1651 constructor param comments.
1652
1653 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1654
1655 * java/awt/Component.java: Document AWT 1.0 event handler
1656 methods.
1657
1658 2004-08-31 Roman Kennke <roman@ontographics.com>
1659
1660 * javax/swing/Box.java:
1661 (createGlue): Implemented
1662 (createHorizontalGlue): Implemented
1663 (createHorizontalStrut): Implemented
1664 (createVerticalGlue): Implemented
1665 (createVerticalStrut): Implemented
1666
1667 2004-08-31 David Jee <djee@redhat.com>
1668
1669 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1670 (GtkChoicePeer): Do not automatically select first item.
1671 (getHistory): Remove.
1672 (nativeGetSelected): New method.
1673 (nativeRemoveAll): New method.
1674 (add): Use nativeGetSelected() instead of getHistory().
1675 (remove): Likewise.
1676 (removeAll): Call nativeRemoveAll().
1677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1678 (create): Migrate to GtkComboBox.
1679 (append): Likewise.
1680 (nativeAdd): Likewise.
1681 (nativeRemove): Likewise.
1682 (select): Likewise.
1683 (nativeRemoveAll): New method.
1684 (nativeGetSelected): New method.
1685 (selection_changed): New method.
1686 (getHistory): Remove.
1687 (item_activate): Remove.
1688 (item_removed): Remove.
1689 (connect_choice_item_selectable_hook): Remove.
1690
1691 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1692
1693 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1694 variable in setEditable call.
1695
1696 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1697 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1698 (gtkWidgetSetBackground): New method.
1699 (gtkWidgetSetForeground): Likewise.
1700 (create): Set peer's editable state based on awtComponent's.
1701
1702 * java/awt/Button.java (Button()): Use empty string rather than
1703 null in no-label constructor.
1704
1705 2004-08-31 Roman Kennke <roman@ontographics.com>
1706
1707 * javax/swing/BoxLayout.java: Reimplement.
1708
1709 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1710
1711 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1712 gnu_java_awt_peer_gtk_GdkGraphics.c
1713 (initState(GtkComponentPeer)): Don't return array of colour
1714 values.
1715 (GdkGraphics(int,int)): Set default font to size 12.
1716 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1717 component's foreground colour.
1718 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1719 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1720 (initState(GtkComponentPeer)): Don't return array of colour
1721 values.
1722 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1723 colours to component's colours.
1724 (current_colors_of_widget): Remove function.
1725 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1726 Return a new graphics object.
1727 * java/awt/Font.java (toString): Fix format.
1728 * java/awt/Graphics.java (toString): Likewise.
1729
1730 2004-08-31 Craig Black <craig.black@aonix.com>
1731
1732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1733 (addTearOff): New function.
1734 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1735 New native method.
1736 (init): Call addTearOff() when menu.isTearOff().
1737
1738 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1739
1740 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1741 Default implementation.
1742 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1743 Implement using GdkPixbufDecoder.
1744
1745 2004-08-31 David Jee <djee@redhat.com>
1746
1747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1748 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1749 setting the size of GtkFileDialogPeers.
1750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1751 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1752 use their default sizes rather than their natural requisitions.
1753
1754 2004-08-31 Michael Koch <konqueror@gmx.de>
1755
1756 * javax/swing/JFormattedTextField.java
1757 (JFormattedTextField): Implemented.
1758 * javax/swing/text/DefaultEditorKit.java
1759 (BeepAction): New inner class.
1760 * javax/swing/text/Segment.java
1761 (partialReturn): New field.
1762 (setPartialReturn): New method.
1763 (isPartialReturn): Likewise.
1764 * javax/swing/text/View.java
1765 (createFragment): Fixed typo.
1766 (getStartOffset): New method.
1767 (getEndOffset): Likewise.
1768
1769 2004-08-31 Michael Koch <konqueror@gmx.de>
1770
1771 * javax/swing/table/DefaultTableColumnModel.java
1772 (serialVersionUID): Made private.
1773 (listenerList): Initialize.
1774 (changeEvent): Initialize.
1775 * javax/swing/table/JTableHeader.java
1776 (JTableHeader): New constructors.
1777 (createDefaultColumnModel): New method.
1778 * javax/swing/table/TableColumn.java
1779 (setHeaderRenderer): Simplified code.
1780 (setCellRenderer): Likewise.
1781 (setWidth): Likewise.
1782
1783 2004-08-31 Tom Tromey <tromey@redhat.com>
1784
1785 * java/text/AttributedString.java (AttributedString): Use
1786 ArrayList to build array of attribute ranges. Don't use
1787 `attribs' before it is set.
1788
1789 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1790
1791 * HACKING: Remove reference to special automake. No longer needed.
1792
1793 2004-08-30 Tom Tromey <tromey@redhat.com>
1794
1795 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1796 return result from `add'.
1797
1798 2004-08-30 Tom Tromey <tromey@redhat.com>
1799
1800 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1801
1802 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1803
1804 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1805
1806 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1807
1808 * java/io/File.java File(String,String): Fixed handling of empty
1809 path.
1810
1811 2004-08-30 Casey Marshall <csm@gnu.org>
1812
1813 Author e-mail updated for all files.
1814 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1815 instance of OID.
1816 (compareTo): Use `equals'.
1817 * gnu/java/security/der/BitString.java (equals): Test if the
1818 argument is an instance of BitString.
1819 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1820 class final. Made fields private.
1821 (<init>): New constructor.
1822 (skip): New method.
1823 (makeString): Made static; don't use NIO.
1824 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1825 * gnu/java/security/der/DERWriter.java: Fixed imports.
1826 (writeString): Don't use NIO.
1827 (toIso88591, toUtf16Be, toUtf8): New methods.
1828 * gnu/java/security/der/DERValue.java: Formatting changes only.
1829 * gnu/java/security/der/DER.java: Likewise.
1830
1831 2004-08-30 Tom Tromey <tromey@redhat.com>
1832
1833 * java/nio/CharBuffer.java (put): Fix typo.
1834 * java/nio/DoubleBuffer.java (put): Fix typo.
1835 * java/nio/FloatBuffer.java (put): Fix typo.
1836 * java/nio/IntBuffer.java (put): Fix typo.
1837 * java/nio/LongBuffer.java (put): Fix typo.
1838 * java/nio/ShortBuffer.java (put): Fix typo.
1839
1840 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
1841
1842 * java/nio/ByteBuffer.java (put): Fix typo.
1843
1844 2004-08-30 Casey Marshall <csm@gnu.org>
1845
1846 * java/security/DummyKeyPairGenerator.java (clone): Removed
1847 useless instanceof check.
1848 * java/security/DummyMessageDigest.java (clone): Likewise.
1849 * java/security/DummySignature.java (clone): Likewise.
1850 * java/security/MessageDigest.java (clone): Remove useless
1851 instanceof check.
1852 * java/security/MessageDigestSpi.java (clone): Likewise.
1853 * java/security/Signature.java (clone): Provide meaningful
1854 implementation.
1855 * java/security/SignatureSpi.java (clone): Likewise.
1856
1857 2004-08-29 Mark Wielaard <mark@klomp.org>
1858
1859 * java/util/Arrays.java
1860 (sort(byte[], int, int)): Check fromIndex < 0.
1861 (sort(char[], int, int)): Likewise.
1862 (sort(short[], int, int)): Likewise.
1863 (sort(int[], int, int)): Likewise.
1864 (sort(long[], int, int)): Likewise.
1865 (sort(float[], int, int)): Likewise.
1866 (sort(double[], int, int)): Likewise.
1867 (sort(Object[], int, int, Comparator)): Likewise.
1868 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1869 (qsort(char[], int, int)): Likewise.
1870 (qsort(short[], int, int)): Likewise.
1871 (qsort(int[], int, int)): Likewise.
1872 (qsort(long[], int, int)): Likewise.
1873 (qsort(float[], int, int)): Likewise.
1874 (qsort(double[], int, int)): Likewise.
1875
1876 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1877
1878 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1879 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1880 java/util/ArrayList.java, java/util/Arrays.java,
1881 java/util/BitSet.java, java/util/Calendar.java,
1882 java/util/Collection.java, java/util/ListIterator.java,
1883 java/util/Map.java, java/util/SortedSet.java:
1884 Added additional exceptions to documentation, along
1885 with some additions and corrections.
1886
1887 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1888
1889 * configure.ac: Handle --enable-gc-debug.
1890 * configure: Regenerate.
1891 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1892 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1893 Rearrange include file order.
1894 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1895 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1896 (disable_gc_mutex): Delete along with all references.
1897 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1898 adjust for debug header size.
1899 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1900 debug case.
1901 (_Jv_AllocArray): Declare min_heap_addr only if needed.
1902 (gcj_describe_type_fn): New.
1903 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1904 Register gcj_describe_type_fn.
1905 * include/boehm-gc.h:
1906 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1907 Don't define, but declare, for debug case.
1908 * java/lang/natObject.cc:
1909 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1910
1911 2004-08-26 Mark Wielaard <mark@klomp.org>
1912
1913 Fixes PR libgcj/17002:
1914 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
1915 a TimeZoneId string and then try to convert that to a TimeZone with
1916 getDefaultSystemTimeZone(String).
1917 (timezones0): Changed type from Hashtable to HashMap.
1918 (timezones): Create HashMap, not Hashtable.
1919 (getDefaultTimeZone): New method, rewritten from CNI version.
1920 (readTimeZoneFile): New method.
1921 (readtzFile): Likewise.
1922 (skipFully): Likewise.
1923 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
1924 getDefaultTimeZoneId and rewritten.
1925 (getDefaultTimeZoneId): Rewritten in java.
1926
1927 2004-08-25 David Daney <daney@avtrex.com>
1928
1929 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
1930 * Makefile.in: Regenerated.
1931
1932 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1933
1934 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
1935 only if jvmpi is enabled.
1936 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
1937 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
1938 (_Jv_AllocString): Likewise.
1939 (_Jv_AllocPtrFreeObject): Likewise.
1940
1941 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
1942
1943 * defineclass.cc: Include <stdio.h>.
1944 * java/lang/natClassLoader.cc: Include <stdio.h>.
1945
1946 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
1947 Michael Koch <konqueror@gmx.de>
1948
1949 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
1950 * Makefile.in: Regenerated.
1951
1952 2004-08-20 Michael Koch <konqueror@gmx.de>
1953
1954 * configure.ac: Replaced all AC_TRY_COMPILE macros with
1955 AC_COMPILE_IFELSE macros.
1956
1957 2004-08-20 Michael Koch <konqueror@gmx.de>
1958
1959 * configure.in: Renamed to configure.ac.
1960 * configure.ac: New file.
1961 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
1962 include/config.h.in, testsuite/Makefile.in: Regenerated.
1963
1964 2004-08-20 Michael Koch <konqueror@gmx.de>
1965
1966 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
1967 * aclocal.m4, configure: Regenerated.
1968
1969 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1970 Michael Koch <konqueror@gmx.de>
1971
1972 * configure.in, Makefile.am: Ported to automake 1.9.
1973 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
1974 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
1975 Regenerated.
1976
1977 2004-08-19 Tom Tromey <tromey@redhat.com>
1978
1979 * java/net/DatagramSocket.java: Fixed typo.
1980
1981 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1982
1983 PR libgcj/17081
1984 * java/net/URI.java (string): New field. Make all other fields
1985 transient.
1986 (readObject): Implemented.
1987 (writeObject): Implemented.
1988 (URI): Set 'string'.
1989
1990 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1991
1992 PR libgcj/17079
1993 * java/util/logging/Handler.java (isLoggable): Accept record if its
1994 log level equals the threshold level. From Robin Green.
1995
1996 2004-08-18 David Daney <ddaney@avtrex.com>
1997
1998 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
1999 instead of sigwait.
2000
2001 2004-08-17 Michael Koch <konqueror@gmx.de>
2002
2003 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2004 * Makefile.in: Regenerated.
2005
2006 2004-08-16 Tom Tromey <tromey@redhat.com>
2007
2008 PR java/8473:
2009 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2010
2011 2004-08-16 Michael Koch <konqueror@gmx.de>
2012
2013 * Makefile.am
2014 (math_c_files): Renamed from c_files.
2015 (math_c_source_files): Renamed from c_source_files.
2016 * Makefile.in,
2017 gcj/Makefile.in,
2018 include/Makefile.in,
2019 testsuite/Makefile.in: Regenerated.
2020
2021 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2022
2023 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2024 to avoid autoconf warning.
2025 * configure: Rebuilt.
2026
2027 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2028
2029 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2030 localhostAddress to loopbackAddress.
2031 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2032
2033 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2034
2035 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2036 boehm-gc's include dirs.
2037 * configure: Rebuilt.
2038 * include/boehm-gc.h: Include gc_config.h.
2039
2040 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2041
2042 * java/net/InetAddress.java (loopbackAddress): Renamed from
2043 localhostAddress.
2044 (getByName): Return loopback address for null hostname, without
2045 security check. Use lookup(), not getAllByName.
2046 (getAllByName): Return loopback address for null hostname, without
2047 security check.
2048 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2049 check here.
2050
2051 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2052
2053 PR libgcj/17020
2054 Reported by Robin Green.
2055 * defineclass.cc (handleField): Don't throw exception on unrecognised
2056 modifier. Add FIXME comments for spec compliance.
2057 (handleMethod): Likewise.
2058
2059 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2060
2061 PR libgcj/16662
2062 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2063 (Almost everywhere): add LOG calls, fix, add comments.
2064 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2065 Add explicit check for LOCKED bit in slow case (PR 16662).
2066 (_Jv_MonitorExit): Add casts in debug-only code.
2067 Always release LOCKED bit before throwing exception.
2068 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2069 isn't. Handle easy cases without lock acquisition.
2070 (Object::wait): Use NotifyAll for lock inflation.
2071
2072 2004-08-12 David Daney <ddaney@avtrex.com>
2073
2074 * testsuite/libjava.lang/Process_1.java: New test.
2075 * testsuite/libjava.lang/Process_2.java: New test.
2076 * testsuite/libjava.lang/Process_3.java: New test.
2077 * testsuite/libjava.lang/Process_4.java: New test.
2078 * testsuite/libjava.lang/Process_5.java: New test.
2079 * testsuite/libjava.lang/Process_6.java: New test.
2080 * testsuite/libjava.lang/Process_1.out: Expected result.
2081 * testsuite/libjava.lang/Process_2.out: Expected result.
2082 * testsuite/libjava.lang/Process_3.out: Expected result.
2083 * testsuite/libjava.lang/Process_4.out: Expected result.
2084 * testsuite/libjava.lang/Process_5.out: Expected result.
2085 * testsuite/libjava.lang/Process_6.out: Expected result.
2086
2087 2004-08-12 David Daney <ddaney@avtrex.com>
2088
2089 PR libgcj/11801
2090 * java/lang/PosixProcess.java: Rewrote.
2091 * java/lang/natPosixProcess.cc: Rewrote.
2092 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2093 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2094 * posix-threads.cc (block_sigchld) New function.
2095 (_Jv_ThreadRegister) Use it.
2096 (_Jv_ThreadStart) Use it.
2097 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2098 * Makefile.am: ... to specify extra native headers.
2099 * configure: Regenerated.
2100 * include/config.h: Regenerated.
2101 * Makefile.in: Regenerated.
2102 * gcj/Makefile.in: Regenerated.
2103 * include/Makefile.in: Regenerated.
2104 * testsuite/Makefile.in: Regenerated.
2105
2106 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2107
2108 PR tree-optimization/16867
2109 * testsuite/libjava.lang/PR16867.java: New test.
2110
2111 2004-08-09 Per Bothner <per@bothner.com>
2112
2113 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2114 with private fields and access methods.
2115 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2116 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2117 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2118 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2119 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2120 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2121 * jni.cc: Likewise.
2122 * resolve.cc: Likewise.
2123 * gcj/field.h: Likewise.
2124 * include/jvm.h: Likewise.
2125 * java/lang/Class.h: Likewise.
2126 * java/lang/natClass.cc: Likwise.
2127 * java/lang/natClassLoader.cc: Likewise
2128 * java/lang/reflect/natMethod.cc: Likewise
2129 * verify.cc: Likewise.
2130 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2131 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2132
2133 2004-08-10 Andrew Haley <aph@redhat.com>
2134
2135 * testsuite/libjava.lang/err14.java: New file.
2136 * testsuite/libjava.lang/err14.out: New file.
2137
2138 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2139
2140 * Makefile.am: Fix missing rename from x_nat_headers to
2141 xlib_nat_headers.
2142 * Makefile.in: Regenerated.
2143
2144 2004-08-04 Andrew Haley <aph@redhat.com>
2145
2146 * java/security/BasicPermission.java: Don't check wildcards.
2147
2148 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2149 Michael Koch <konqueror@gmx.de>
2150
2151 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2152 * configure.in: Replaced all usages of AC_LINK_FILES by
2153 AC_CONFIG_LINKS.
2154 * aclocal.m4,
2155 configure: Regenerated.
2156
2157 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2158 Michael Koch <konqueror@gmx.de>
2159
2160 * acconfig.h: Removed.
2161 * Makefile.am: Rename variables for xlib peer to include xlib and
2162 gtk_c_headers to gtk_jni_headers.
2163 * Makefile.in: Regenerated.
2164
2165 2004-08-04 Andrew Haley <aph@redhat.com>
2166
2167 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2168 debugging.
2169
2170 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2171
2172 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2173 Replace most top level 'dnl' comments with '#' comments, conforming
2174 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2175 help strings.
2176 * configure: Rebuilt.
2177
2178 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2179
2180 * acinclude.m4: Include no-executables.m4.
2181 * aclocal.m4: Rebuild.
2182 * configure.in: Convert to the autoconf 2.59 version of
2183 of the no-executables hack, and also of the nonstandard CXX
2184 hack and the multilibbed CC and CXX hack. Change prerequisite
2185 to autoconf 2.59.
2186 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2187 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2188 testsuite/Makefile.in: Regenerate.
2189
2190 2004-08-03 Tom Tromey <tromey@redhat.com>
2191
2192 * jni.cc: Reindented.
2193
2194 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2195
2196 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2197
2198 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2199
2200 * testsuite/libjava.compile/PR16701.java: New test.
2201
2202 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2203
2204 * java/util/Collection.java, java/util/List.java,
2205 java/util/Map.java, java/util/Set.java,
2206 java/util/SortedMap.java, java/util/SortedSet.java:
2207 Added additional exceptions to documentation.
2208
2209 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2210
2211 PR libgcj/16814
2212 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2213 * configure. Regenerate.
2214 * include/win32.h: Explicitly include winsock2.h
2215 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2216 Winsock api.
2217
2218 2004-07-30 Michael Koch <konqueror@gmx.de>
2219
2220 * java/util/zip/GZIPInputStream.java
2221 (GZIPInputStream): Increase buffer size to 4k.
2222 * java/util/zip/GZIPOutputStream.java
2223 (GZIPOutputStream): Likewise.
2224 * java/util/zip/Inflater.java
2225 (setInput): Merged formating with GNU classpath.
2226 * java/util/zip/InflaterInputStream.java
2227 (InflaterInputStream): Increase buffer size to 4k.
2228 (fill): Throw exception if stream ends early.
2229 (read): Merged endless-loop with GNU classpath.
2230 (skip): Increase buffer size to 2k.
2231
2232 2004-07-30 Michael Koch <konqueror@gmx.de>
2233
2234 * gnu/java/awt/EmbeddedWindow.java
2235 (addNotify): Use AccessController to allow execution of privileged
2236 code.
2237
2238 2004-07-29 Michael Koch <konqueror@gmx.de>
2239
2240 * gnu/java/lang/MainThread.java:
2241 Explicitely import used classes.
2242 (args): Make it type String[].
2243
2244 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2245
2246 * gnu/java/awt/ComponentDataBlitOp.java,
2247 gnu/java/beans/ExplicitBeanInfo.java,
2248 gnu/java/beans/IntrospectionIncubator.java,
2249 gnu/java/beans/editors/ColorEditor.java,
2250 gnu/java/beans/editors/FontEditor.java,
2251 gnu/java/beans/editors/NativeBooleanEditor.java,
2252 gnu/java/beans/editors/NativeByteEditor.java,
2253 gnu/java/beans/editors/NativeDoubleEditor.java,
2254 gnu/java/beans/editors/NativeFloatEditor.java,
2255 gnu/java/beans/editors/NativeIntEditor.java,
2256 gnu/java/beans/editors/NativeLongEditor.java,
2257 gnu/java/beans/editors/NativeShortEditor.java,
2258 gnu/java/beans/editors/StringEditor.java,
2259 gnu/java/io/ClassLoaderObjectInputStream.java,
2260 gnu/java/io/decode/Decoder.java,
2261 gnu/java/io/encode/Encoder.java,
2262 gnu/java/lang/ClassHelper.java,
2263 gnu/java/locale/Calendar.java,
2264 gnu/java/locale/Calendar_de.java,
2265 gnu/java/locale/Calendar_en.java,
2266 gnu/java/locale/Calendar_nl.java,
2267 gnu/java/locale/LocaleInformation_de.java,
2268 gnu/java/locale/LocaleInformation_en.java,
2269 gnu/java/locale/LocaleInformation_nl.java:
2270 Cleaned up imports.
2271
2272 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2273
2274 * README: Remove obsolete info. Update bug URL.
2275 * THANKS: Updated.
2276 * NEWS: Updated with news up to GCC 3.4 release.
2277
2278 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2279
2280 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2281 Renamed from 'setName'. New 2-argument form with default value.
2282 (run): Pass default 'value' parameter to System.getProperty().
2283 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2284 typos.
2285 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2286 not 'setName'.
2287
2288 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2289
2290 * configure.in: Check for minimum GTK version 2.4 requirement.
2291 * configure: Rebuilt.
2292
2293 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2294
2295 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2296 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2297 Reduce sleep time.
2298 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2299 compiler bug.
2300 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2301 address. Reduce sleep times. Synchronize with target threads before
2302 attempting to interrupt them. Don't try to calibrate yeild count,
2303 instead, always loop for a fixed time.
2304 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2305 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2306 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2307 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2308 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2309 * testsuite/libjava.lang/pr179.java: Likewise.
2310 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2311 time. Remove upper bounds check on sleep time.
2312
2313 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2314
2315 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2316 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2317
2318 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2319
2320 * java/io/File.java (toURI): Throw RuntimeException, not
2321 InternalError.
2322 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2323 class name, not instance.
2324
2325 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2326
2327 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2328 and gnu/java/security/action/SetAccessibleAction.java.
2329 * Makefile.in: Rebuilt.
2330
2331 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2332
2333 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2334 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2335 _Jv_InitPrimClass.
2336 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2337 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2338 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2339
2340 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2341
2342 * Makefile.am: Replace jar, rmic and rmiregistry references with
2343 gjar, grmic and grmiregistry.
2344 * configure.in: Likewise.
2345 * Makefile.in: Regenerate.
2346 * configure: Likewise.
2347 * gcj/Makefile.in: Likewise.
2348 * include/Makefile.in: Likewise.
2349 * testsuite/Makefile.in: Likewise.
2350
2351 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2352
2353 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2354 for privileged getProperty calls.
2355 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2356 SetAccessibleAction instead of anonymous class for doPrivileged call.
2357 (getMethod): Likewise.
2358 (setAccessible): New field. PrivilegedAction object to use when
2359 calling setAccessible.
2360 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2361 SetAccessibleAction instead of anonymous class for diPrivileged call.
2362 (setFields): Likewise.
2363 (getClassUID): Likewise.
2364 (findMethod): Likewise.
2365 * gnu/java/security/action/GetPropertyAction.java: New class.
2366 * gnu/java/security/action/SetAccessibleAction.java: New class.
2367
2368 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2369
2370 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2371 for final fields.
2372 * testsuite/libjava.lang/Serialization.java: New test.
2373 * testsuite/libjava.lang/Serialization.out: New.
2374
2375 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2376
2377 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2378 missed in last commit.
2379
2380 2004-07-23 Mark Wielaard <mark@klomp.org>
2381
2382 * java/lang/System.java (static): Set http.agent system property when
2383 not yet set.
2384 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2385 from system property inside AccessController.doPrivileged() call.
2386 (proxyPort): Made package private.
2387 (proxyInUse): Likewise.
2388 (proxyHost): Likewise.
2389 (userAgent): Likewise.
2390
2391 2004-07-23 Mark Wielaard <mark@klomp.org>
2392
2393 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2394 implementation.
2395
2396 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2397
2398 * Makefile.am (ordinary_java_source_files): Add
2399 DefaultContentHandlerFactory.java.
2400 * Makefile.in: Rebuilt.
2401 * java/net/URLConnection.java (defaultFactory): New field.
2402 (getContent):
2403 (getContentHandler): Renamed from 'setContentHandler'. Try
2404 defaultFactory after user-set factory, if any. Search for content
2405 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2406 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2407 Implemented.
2408 (getLastModified): Implemented.
2409 (getPermission): Create file permission here, instead of in
2410 constructor.
2411 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2412 Implemented.
2413 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2414 Implemented.
2415 (getLastModified): Implemented.
2416 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2417 Default implementation.
2418 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2419 Implement using GdkPixbufDecoder.
2420
2421 2004-07-21 Michael Koch <konqueror@gmx.de>
2422
2423 * javax/swing/JTextArea.java
2424 (setLineWrap): Fire property change event after new value is set.
2425 (setTabSize): Likewise.
2426
2427 2004-07-21 Michael Koch <konqueror@gmx.de>
2428
2429 * javax/swing/JTable.java
2430 (autoCreateColumnsFromModel): New field.
2431 (autoResizeMode): Likewise.
2432 (cellEditor): Likewise.
2433 (cellSelectionEnabled): Likewise.
2434 (columnModel): Likewise.
2435 (dataModel): Likewise.
2436 (defaultEditorsByColumnClass): Likewise.
2437 (defaultRenderersByColumnClass): Likewise.
2438 (editingColumn): Likewise.
2439 (editingRow): Likewise.
2440 (gridColor): Likewise.
2441 (preferredViewportSize): Likewise.
2442 (rowHeight): Likewise.
2443 (rowMargin): Likewise.
2444 (rowSelectionAllowed): Likewise.
2445 (selectionBackground): Likewise.
2446 (selectionForeground): Likewise.
2447 (selectionModel): Likewise.
2448 (showHorizontalLines): Likewise.
2449 (showVerticalLines): Likewise.
2450 (tableHeader): Likewise.
2451 (JTable): Implemented.
2452 (getColumnModel): Likewise.
2453 (getSelectedRow): Likewise.
2454 (getSelectionModel): Likewise.
2455 (setModel): Likewise.
2456 (setSelectionModel): Likewise.
2457 (createScrollPaneForTable): New method.
2458 (createDefaultDataModel): Likewise.
2459 (createDefaultListSelectionModel): Likewise.
2460 (getModel): Likewise.
2461 (getTableHeader): Likewise.
2462 (setTableHeader): Likewise.
2463 (getColumnSelectionAllowed): Likewise.
2464 (setColumnSelectionAllowed): Likewise.
2465 (getRowSelectionAllowed): Likewise.
2466 (setRowSelectionAllowed): Likewise.
2467 (getAutoResizeMode): Likewise.
2468 (setAutoResizeMode): Likewise.
2469 (getColumnCount): Likewise.
2470 (getRowCount): Likewise.
2471 (getCellRenderer): Likewise.
2472 * javax/swing/JTree.java
2473 (cellRenderer): New field.
2474 (editable): Likewise.
2475 (rootVisible): Likewise.
2476 (showsRootHandles): Likewise.
2477 (getModel): New method.
2478 (setModel): Likewise.
2479 (isEditable): Likewise.
2480 (setEditable): Likewise.
2481 (isRootVisbile): Likewise.
2482 (setRootVisible): Likewise.
2483 (getShowsRootHandles): Likewise.
2484 (setShowRootHandles): Likewise.
2485 (getCellRenderer): Likewise.
2486 (setCellRenderer): Likewise.
2487
2488 2004-07-21 Michael Koch <konqueror@gmx.de>
2489
2490 * javax/swing/JFormattedTextField.java
2491 (setDocument): Implemented.
2492 * javax/swing/JRootPane.java:
2493 Fixed javadocs.
2494 * javax/swing/JTable.java
2495 (getDefaultRenderer): New method.
2496 * javax/swing/JTextField.java
2497 (setFont): Likewise.
2498 (getPreferredSize): Likewise.
2499 * javax/swing/JToggleButton.java
2500 (getAccessibleContext): Fix javadoc.
2501 * javax/swing/JTree.java:
2502 Add some javadocs.
2503 * javax/swing/JViewport.java:
2504 Likewise.
2505
2506 2004-07-21 David Jee <djee@redhat.com>
2507
2508 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2509 Collect all native method declaration at the top.
2510 (create): Set the filename filter if necessary.
2511 (setDirectory): Call nativeSetDirectory().
2512 (setFilenameFilter): Implement.
2513 (filenameFilterCallback): New method.
2514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2515 (create): Configure dialog to show hidden files.
2516 (filenameFilterCallback): New function.
2517 (nativeSetFilenameFilter): New function.
2518 (nativeSetDirectory): New function.
2519
2520 2004-07-21 Kim Ho <kho@redhat.com>
2521
2522 * javax/swing/plaf/basic/BasicSliderUI.java:
2523 Ran Jalopy.
2524 (paintTrack): Fill the track before painting
2525 the borders.
2526
2527 2004-07-21 Graydon Hoare <graydon@redhat.com>
2528
2529 patch from Roman Kennke <roman@ontographics.com>
2530 * javax/swing/Spring.java: New file.
2531 * javax/swing/SpringLayout.java: New file.
2532 * Makefile.am: Add new files.
2533 * Makefile.in: Regenerate.
2534
2535 2004-07-21 Graydon Hoare <graydon@redhat.com>
2536
2537 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2538 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2539 * javax/swing/ScrollPaneLayout.java: Likewise.
2540
2541 2004-07-21 Kim Ho <kho@redhat.com>
2542
2543 * javax/swing/DefaultDesktopManager.java:
2544 (findMinimum): Removed.
2545 (resizeFrame): Trust the UI to pass valid
2546 bounds.
2547 * javax/swing/JOptionPane.java:
2548 Implemented showInternalXXXDialog methods.
2549 (startModal): New method.
2550 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2551 (BorderListener::mouseDragged): Verify that the new
2552 bounds are valid before passing them to the DesktopManager.
2553 (preferredLayoutSize): Delegate
2554 to getSize.
2555 (minimumLayoutSize): Ditto.
2556 (getSize): New method.
2557 (GlassPaneDispatcher): Reimplemented by copying
2558 a stripped down LightweightDispatcher from Container.
2559 (getMinimumSize): Call minimumLayoutSize.
2560 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2561 Ran Jalopy.
2562 (mousePressed): Add ability to properly close
2563 JInternalFrames.
2564 * javax/swing/plaf/basic/BasicToolBarUI.java:
2565 (DragWindow): Set owner for DragWindow.
2566
2567 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2568
2569 * java/awt/image/ShortLookupTable.java: New file.
2570 * java/awt/image/ByteLookupTable.java: New file.
2571 * Makefile.am: Added new files.
2572 * Makefile.in: Regenerated.
2573
2574 2004-07-21 David Jee <djee@redhat.com>
2575
2576 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2577 (create(GtkContainerPeer)): New native method.
2578 (create()): Call native create(), passing in the parent frame
2579 as the paramter. Natively set the current file and directory.
2580 (setFile): Construct an absolute filename before passing it to
2581 the native peer.
2582 (nativeGetDirectory): New method.
2583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2584 (window_closed): Removed.
2585 (ok_clicked): Likewise.
2586 (cancel_clicked): Likewise.
2587 (handle_response): New method.
2588 (create): Use GtkFileChooserDialog.
2589 (connectSignals): Connect to handle_response.
2590 (nativeGetDirectory): New method.
2591 (nativeSetFile): Use GtkFileChooserDialog.
2592
2593 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2594
2595 * java/awt/image/LookupTable.java: New file.
2596 * Makefile.am: Added new file.
2597 * Makefile.in: Regenerated.
2598
2599 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2600
2601 * java/awt/image/Kernel.java: New file.
2602 * Makefile.am: Added new file.
2603 * Makefile.in: Regenerated.
2604
2605 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2606
2607 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2608 * javax/swing/JMenu.java: Likewise.
2609 * javax/swing/JMenuBar.java: Likewise.
2610 (MARGIN_CHANGED_PROPERTY): New property.
2611 (setMargin): Implemented.
2612 * javax/swing/JMenuItem.java: Fixed javadocs.
2613 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2614 (LABEL_CHANGED_PROPERTY): New property.
2615 (add): changed to use createActionComponent.
2616 (createActionComponent): Implemented.
2617 (setLabel): Fire PropertyChangeEvent if label property
2618 changes.
2619 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2620 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2621 (ContainerHandler): Repaint if margin property has changed.
2622 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2623 (installUI): Call installComponents().
2624 (uninstallUI): Call uinstallComponents().
2625 * javax/swing/plaf/basic/BasicMenuUI.java:
2626 Fixed javadocs.
2627 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2628 Likewise.
2629
2630 2004-07-21 Kim Ho <kho@redhat.com>
2631
2632 * javax/swing/plaf/basic/BasicToolBarUI.java:
2633 (DragWindow): Use the right constructor.
2634
2635 2004-07-21 Kim Ho <kho@redhat.com>
2636
2637 * javax/swing/JToolBar.java:
2638 (layoutContainer): Use getComponents.
2639 * javax/swing/plaf/basic/BasicToolBarUI.java:
2640 (DragWindow): Don't use SwingUtilities'
2641 getOwnerFrame
2642 (ToolBarDialog): ditto.
2643
2644 2004-07-21 Kim Ho <kho@redhat.com>
2645
2646 * javax/swing/JRootPane.java:
2647 Ran jalopy.
2648 (layoutContainer): Set the glasspane's size to
2649 be the same as the content pane.
2650 (createGlassPane): Set opaque property to false.
2651
2652 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2653
2654 * java/awt/Component.java (requestFocus()): Don't handle Panels
2655 specially.
2656 (requestFocus(boolean)): Likewise.
2657 (requestFocusInWindow(boolean)): Likewise.
2658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2659 Set GTK_CAN_FOCUS flag.
2660
2661 2004-07-21 Kim Ho <kho@redhat.com>
2662
2663 * Makefile.am: Added new file.
2664 * Makefile.in: Regenerated.
2665 * gcj/Makefile.in: Regenerated.
2666 * include/Makefile.in: Regenerated.
2667 * javax/swing/AbstractButton.java:
2668 Add rollOverEnabled property.
2669 (setRolloverEnabled): Use new property.
2670 (isRolloverEnabled): Use new property.
2671 * javax/swing/JTabbedPane.java:
2672 (setComponent): Remove useless JTabbedPane.this.
2673 * javax/swing/JToolBar.java: Finish implementation.
2674 * javax/swing/plaf/basic/BasicArrowButton.java:
2675 (paint): Moved border painting to a border.
2676 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2677 Change JToolBar look and feel defaults.
2678 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2679 (actionPerformed): Return Integer index instead of name.
2680 (addButtonComponents): Check to see if component is
2681 JButton last.
2682 (createMessageArea): Don't use components that are not
2683 completed yet.
2684 (getIconForType): Use temporary icons.
2685 * javax/swing/plaf/basic/BasicSliderUI.java:
2686 (mousePressed): Do not return if it's on thumb.
2687 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2688 (paintMinorTickForVertSlider): ditto.
2689 (paintMajorTickForHorizSlider): ditto.
2690 (paintMajorTickForVertSlider): ditto.
2691 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2692 Add a border around the SplitPaneDivider.
2693 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2694 Remove comments.
2695 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2696 New file. Implemented.
2697 * javax/swing/plaf/basic/BasicToolBarUI.java:
2698 Implemented.
2699 * testsuite/Makefile.in: Regenerated.
2700
2701 2004-07-21 Graydon Hoare <graydon@redhat.com>
2702
2703 * javax/swing/Timer.java (run): Queue events each time cycle.
2704
2705 2004-07-21 David Jee <djee@redhat.com>
2706
2707 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2708 (imageComplete): Call image.imageComplete().
2709 * java/awt/image/MemoryImageSource.java:
2710 Reimplement consumers as a Vector instead of a Hashtable. This is
2711 because enumeration on a Hashtable is not thread-safe.
2712 (addConsumer): Adapt to Vector consumers.
2713 (isConsumer): Adapt to Vector consumers.
2714 (removeConsumer): Adapt to Vector consumers.
2715 (startProduction): Adapt to Vector consumers. Call imageComplete()
2716 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2717 (newPixels): Adapt to Vector consumers.
2718 (sendPicture): Set the color model of the image consumer.
2719 (newPixels(IIII)): Adapt to Vector consumers.
2720 (newPixels(IIIIB)): Adapt to Vector consumers.
2721
2722 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2723
2724 * java/awt/Component.java (deliverEvent): Implement.
2725 (postEvent): Implement.
2726 (handleEvent): Implement.
2727 (translateEvent): New method.
2728 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2729 * java/awt/Container.java (deliverEvent): Implement.
2730 * java/awt/Event.java (paramString): Fix formatting.
2731 * java/awt/Font.java (toString): Likewise.
2732 * java/awt/Window.java (postEvent): Implement.
2733
2734 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2735
2736 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2737 Set window's focus owner upon receiving a FOCUS_LOST event.
2738 * java/awt/Window.java (Window()): Refocus the previously
2739 focused component within the window when the window regains the
2740 top-level focus.
2741 (setFocusOwner): New method.
2742 * java/awt/Component.java (requestFocus): Add FIXME.
2743
2744 * libgcj.pc.in: Remove library flags.
2745
2746 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2747
2748 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2749 MOUSE_PRESSED event.
2750 * java/awt/Component.java (requestFocus()): Handle Panel
2751 specially. Post FOCUS_LOST event on opposite component.
2752 (requestFocus(boolean)): Likewise.
2753 (requestFocusInWindow(boolean)): Likewise.
2754 (paramString): Reorder dimension fields.
2755 * java/awt/Container.java (paramString): Fix string format.
2756 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2757 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2758 process key events if the focus owner is non-null.
2759 (dispatchKeyEvent): Likewise.
2760 * java/awt/Frame.java (paramString): Fix formatting.
2761 (generateName): New method.
2762 (getUniqueLong): Likewise.
2763 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2764 the temporary focus owner is null. If so, return the permanent
2765 focus owner.
2766 * java/awt/Panel.java (generateName): New method.
2767 (getUniqueLong): Likewise.
2768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2769 signal handling to make callbacks more specific.
2770
2771 2004-07-21 Michael Koch <konqueror@gmx.de>
2772
2773 * javax/swing/text/Position.java
2774 (Bias): Implemented.
2775
2776 2004-07-21 Michael Koch <konqueror@gmx.de>
2777
2778 * javax/swing/LookAndFeel.java
2779 (provideErrorFeedback): New method.
2780
2781 2004-07-21 Michael Koch <konqueror@gmx.de>
2782
2783 * javax/swing/JTextArea.java
2784 (tabSize): New field.
2785 (getTabSize): New method.
2786 (setTabSize): Likewise.
2787
2788 2004-07-21 Michael Koch <konqueror@gmx.de>
2789
2790 * javax/swing/ActionMap.java:
2791 Fixed javadocs all over.
2792 (serialVersionUID): Made private.
2793 (parent): Don't explicitely initialize with default value.
2794 (get): SImplified.
2795 (keys): Reimplemented.
2796 (allKeys): Likewise.
2797 (convertSet): Removed.
2798 * javax/swing/ComponentInputMap.java:
2799 Fixed javadocs all over.
2800 (ComponentInputMap): Implemented.
2801 (put): Likewise.
2802 (clear): Likewise.
2803 (remove): Likewise.
2804 (SetParent): Likewise.
2805 (getComponent): Likewise.
2806 * javax/swing/InputMap.java:
2807 Fixed javadocs all over.
2808 (serialVersionUID): Made private.
2809 (parent): Don't explicitely initialize with default value.
2810 (get): SImplified.
2811 (keys): Reimplemented.
2812 (allKeys): Likewise.
2813 (convertSet): Removed.
2814
2815 2004-07-21 Michael Koch <konqueror@gmx.de>
2816
2817 * javax/swing/ActionMap.java,
2818 javax/swing/ComponentInputMap.java,
2819 javax/swing/InputMap.java,
2820 javax/swing/table/DefaultTableColumnModel.java,
2821 javax/swing/table/TableColumn.java,
2822 javax/swing/table/TableColumnModel.java,
2823 javax/swing/table/TableModel.java,
2824 javax/swing/text/AbstractDocument.java,
2825 javax/swing/text/TextAction.java:
2826 Reformated.
2827
2828 2004-07-21 Graydon Hoare <graydon@redhat.com>
2829
2830 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2831 Make method non-static.
2832 * javax/swing/AbstractButton.java:
2833 Rename fields to match property names where possible.
2834 (iconTextGap): New property.
2835 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2836 (init) New method, call from after various constructors.
2837 * javax/swing/JComponent.java (revalidate):
2838 Invalidate before queueing repair.
2839 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2840 Reimplement in terms of visibleRowCount property.
2841 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2842 * javax/swing/JScrollPane.java (createScrollListener):
2843 Remove tracing chatter.
2844 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2845 * javax/swing/RepaintManager.java (addInvalidComponent):
2846 Don't invalidate.
2847 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2848 calculations.
2849 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2850 Mimic sun behavior on top left/right positioning.
2851 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2852 Remove mistaken use of preferredScrollableViewportSize here.
2853 (layoutContainer): Use view's preferred size as basis.
2854 * javax/swing/plaf/basic/BasicButtonUI.java:
2855 Set, get, and use textIconGap property.
2856 (paint) Paint text returned from layout (with ellipsis).
2857 * javax/swing/plaf/basic/BasicListUI.java:
2858 Remove tracing chatter, correct various minor calculations.
2859 (getCellBounds): Update layout state before calculating.
2860 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2861 Use margin default similar to sun's.
2862 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2863 (createIncreaseIcon): Center icon, minimize margins.
2864 (createDecreaseIcon): Likewise.
2865 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2866 Implement.
2867 (installUI): Call it.
2868 (uninstallDefaults): Implement.
2869 (uninstallUI): Call it.
2870 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2871 Call existing Window constructor.
2872 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2873 Set clip before painting.
2874
2875 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2876
2877 * javax/swing/JMenuItem.java:
2878 (processMouseEvent): Reimplemented to deal with
2879 mouse drag events.
2880 (createMenuDragMouseEvent): New private helper method.
2881 Creates MenuDragMouseEvent.
2882 * javax/swing/MenuSelectionManager.java
2883 (componentForPoint): Implemented.
2884 (isComponentPartOfCurrentMenu): Made public.
2885 (processMouseEvent): Reimplemented to deal with
2886 mouse drag events.
2887 (setSelectedPath): Corrected small mistake that caused
2888 path to be set incorrectly.
2889 (getPath): If given component is JMenu then also add this
2890 menu's popup menu to the selected path.
2891 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2892 (getPath): Ditto.
2893 (getPreferredSize): Call getPreferredMenuItemSize().
2894 (getPreferredItemSize): Moved code from getPreferredSize to here.
2895 (installListeners): Install MouseMotionListeners.
2896 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
2897 if mouse wasn't released in the bounds of this menu item.
2898 (MenuDragMouseHandler): Implemented.
2899 * javax/swing/plaf/basic/BasicMenuUI.java:
2900 (installListeners): Install MouseMotionListener and
2901 MenuDrageMouseListener.
2902 (MenuDragMouseHandler): Implemented.
2903 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2904 (uninstallListeners): Implemented.
2905
2906 2004-07-21 Michael Koch <konqueror@gmx.de>
2907
2908 * javax/swing/JCheckBox.java: Reformated.
2909 (JCheckBox): Fixed all constructors.
2910 (isBorderPaintedFlat): New method.
2911 (setBorderPaintedFlat): New method.
2912 * javax/swing/JEditorPane.java
2913 (createEditorKitForContentType): Made public.
2914 (scrollToReference): Likewise.
2915 * javax/swing/JTextArea.java
2916 (setLineWrap): Fire property change.
2917 * javax/swing/JToggleButton.java
2918 (JToggleButton): New constructor.
2919 (JToggleButton): Simplified.
2920 * javax/swing/text/AttributeSet.java
2921 (FontAttribute): Renamed from FontCharacterAttribute.
2922 * javax/swing/text/JTextComponent.java
2923 (KeyBinBinding): Added javadoc.
2924 (JTextComponent): Likewise.
2925 (getAccessibleContext): Fixed javadoc.
2926 * javax/swing/text/View.java
2927 (View): Added javadoc.
2928 * javax/swing/text/TabableView.java: New file.
2929 * Makefile.am: Added javax/swing/text/TabableView.java.
2930 * Makefile.in: Regenerated.
2931
2932 2004-07-21 Graydon Hoare <graydon@redhat.com>
2933
2934 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
2935 * gnu/java/awt/peer/gtk/GtkToolkit.java
2936 (GtkErrorImage): New helper class.
2937 (bufferedImageOrError): New helper method.
2938 (createImage): Use it.
2939
2940 2004-07-21 David Jee <djee@redhat.com>
2941
2942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2943 (setCaretPosition): Scroll the text view so the new caret position
2944 is visible on screen.
2945
2946 2004-07-21 David Jee <djee@redhat.com>
2947
2948 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
2949 (setBounds): Do not validate awtComponent here.
2950 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2951 (getPreferredSize): New method.
2952 * java/awt/ScrollPane.java
2953 (ScrollPane): Set default size to 100x100.
2954 (addNotify): If child is not a Panel, wrap it with a new Panel.
2955 (paramString): Implement.
2956
2957 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2958
2959 * javax/swing/JMenu.java:
2960 (setSelected): Display popup menu only if this menu
2961 is showing on the screen.
2962 * javax/swing/JPopupMenu.java:
2963 (processMouseEvent): Added comment.
2964 (processKeyEvent): Likewise.
2965 * javax/swing/MenuSelectionManager.java:
2966 (clearSelectedPath): Only fireStateChanged() after
2967 selected path was changed, not before.
2968 (setSelectedPath): Likewise.
2969 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2970 (paintMenuItem): Corrected position of menu item's
2971 icon.
2972 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2973 (installUI): Correct setDefaultLightWeightPopupEnabled call.
2974 (popupMenuCanceled): Reimplemented.
2975 (popupMenuWillBecomeVisible): Select first menu item by default
2976 when displaying free floating popup menus.
2977 (TopWindowListener): Reimplemented.
2978
2979 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2980
2981 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
2982 Panel from being painted twice when it is first shown.
2983
2984 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2985
2986 * java/awt/Window.java: Reverted changes from my
2987 previous patch for creating window without an owner.
2988 * javax/swing/SwingUtilities.java:
2989 (SwingUtilities.OwnerFrame): made static.
2990 (OwnerFrame.setVisible): New method. Overridden with
2991 empty implementation.
2992 (OwnerFrame.isShowing): New method. Ovverridden
2993 to return always true.
2994
2995 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2996
2997 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2998 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2999 (GtkComponentPeer): Remove temporary try/catch block.
3000 (setVisible): Call show and hide.
3001 (show): Make native.
3002 (hide): Likewise.
3003 (getArgs): Don't add "visible" argument.
3004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3005 (property_notify_predicate): Return Bool instead of int.
3006 (find_layout): New function.
3007 (connectJObject): Call find_layout.
3008 (connectSignals): Likewise.
3009 (moveLayout): Likewise.
3010 (gtkLayoutSetVisible): Likewise.
3011
3012 2004-07-21 Mark Wielaard <mark@klomp.org>
3013
3014 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3015 on notifier object before calling notifyAll().
3016
3017 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3018
3019 * java/awt/Window.java: Changed constructors to use new
3020 method that is described below. Constructors call this
3021 methods only if newly created window should have an owner.
3022 (setWindowOwner): New method. Implementation for
3023 this method is moved from this(owner,configuration).
3024 * javax/swing/JWindow.java:
3025 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3026 instead of owner.
3027 * javax/swing/SwingUtilities.java:
3028 (ownerFrame): Change type of this field to OwnerFrame.
3029 (getOwnerFrame): Changed to return object of type OwnerFrame.
3030 (SwingUtilities.OwnerFrame): New class. Represents owner
3031 of a Window that is not provided with one.
3032
3033 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3034
3035 * javax/swing/AbstractButton.java:
3036 (configurePropertiesFromAction): Set action command
3037 to button's text by default if action command is not
3038 explicitely specified.
3039 * javax/swing/JMenu.java: Remove unnecessary listener
3040 and methods relevant to it.
3041 (setSelected): Reimplemented.
3042 (menuSelectionChanged): Moved most part of implementation to
3043 setSelected() and call it instead.
3044 * javax/swing/JMenuItem.java:
3045 (init): Comment out statement that sets paint_border to false.
3046 (configurePropertiesFromAction): Do not set accelerator
3047 for JMenu.
3048 (menuSelectionChanged): Change selected index in the selection
3049 model of menu item's parent.
3050 * javax/swing/JPopupMenu.java:
3051 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3052 instead of GridBagConstraints.HORIZONTAL.
3053 (insert): Likewise.
3054 (createActionChangeListener): Implemented.
3055 (setVisible): Correct location of HeavyWeightMenu and
3056 don't firePopupMenuCanceled().
3057 (menuSelectionChanged): Implemented.
3058 (ActionChangeListener): New Listener. Implemented.
3059 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3060 (BasicMenuBarUI.ContainerHandler): Implemented.
3061 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3062 (paintMenuItem): Uncommented out code that paints
3063 icon, now that icons are working properly.
3064 (PropertyChangeListener): Implemented.
3065 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3066 Added javadocs.
3067 (topWindowListener): New field.
3068 (Constructor): initialize topWindowListener.
3069 (BasicPopupMenuUI.TopWindowListener): Implemented.
3070 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3071 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3072 Implemented.
3073
3074 2004-07-21 Michael Koch <konqueror@gmx.de>
3075
3076 * javax/swing/plaf/basic/BasicButtonUI.java
3077 (paintFocus): Fixed method signature.
3078 (paintButtonPressed): Likewise.
3079 (paintButtonNormal): Likewise.
3080 (paintText): New method.
3081 * javax/swing/plaf/basic/BasicLabelUI.java
3082 (paint): Re-indented.
3083 * javax/swing/plaf/basic/BasicTextUI.java
3084 (installUI): Set parent textComponent to opaque.
3085 * javax/swing/text/DefaultHighlighter.java
3086 (checkPositions): New helper method.
3087 (addHighlight): Throws BadLocationException, check positions.
3088 (changeHighlight): Likewise.
3089 * javax/swing/text/EditorKit.java
3090 (EditorKit): Implements Serializable.
3091 * javax/swing/text/JTextComponent.java
3092 (getUI): Added javadoc.
3093 (setUI): Likewise.
3094 (upadteUI): Added javadoc, don't revalidate and repaint.
3095
3096 2004-07-21 David Jee <djee@redhat.com>
3097
3098 * java/awt/GridBagLayout.java
3099 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3100 * javax/swing/AbstractButton.java
3101 (setText): Reindent.
3102 * javax/swing/RepaintManager.java
3103 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3104
3105 2004-07-21 Michael Koch <konqueror@gmx.de>
3106
3107 * javax/swing/JFormattedTextField.java
3108 (value): New field.
3109 (JFormattedTextField): Implemented.
3110 (getValue): Likewise.
3111 (setValue): Likewise.
3112 * javax/swing/LookAndFeel.java
3113 (getSupportsWindowDecorations): New method.
3114 * javax/swing/UIDefaults.java:
3115 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3116 (addPropertyChangeListener): Made public.
3117 (addResourceBundle): Likewise.
3118 (removeResourceBundle): Likewise.
3119 (setDefaultLocale): Likewise.
3120 * javax/swing/plaf/basic/BasicRootPaneUI.java
3121 (BasicRootPaneUI): Implements PropertyChangeListener.
3122 (propertyChange): New method.
3123 * javax/swing/plaf/basic/BasicTextUI.java
3124 (BasicHighlighter): New inner class.
3125 (createHighlighter): New method.
3126 * javax/swing/plaf/basic/BasicToolBarUI.java
3127 (DragWindow): Extends java.awt.Window.
3128 * javax/swing/text/JTextComponent.java
3129 (getDocument): Removed debug output.
3130 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3131 javax/swing/text/DefaultHighlighter.java,
3132 javax/swing/text/FieldView.java,
3133 javax/swing/text/PlainView.java: New files.
3134 * Makefile.am: Added new files.
3135 * Makefile.in: Regenerated.
3136
3137 2004-07-21 Michael Koch <konqueror@gmx.de>
3138
3139 * javax/swing/JEditorPane.java
3140 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3141 (createEditorKitForContentType): Likewise.
3142 * javax/swing/text/DefaultEditorKit.java
3143 (serialVersionUID): Added constant field.
3144 (EndOfLineStringPropery): Fixed typo.
3145 (DefaultEditorKit): New constructor.
3146 * javax/swing/text/Segment.java:
3147 Import java.text.CharacterIterator.
3148 * javax/swing/text/CharacterIterator.java,
3149 javax/swing/text/PlainEditorKit.java: Removed.
3150 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3151 javax/swing/text/PlainEditorKit.java.
3152 * Makefile.in: Regenerated.
3153
3154 2004-07-21 Michael Koch <konqueror@gmx.de>
3155
3156 * javax/swing/JButton.java,
3157 javax/swing/text/DefaultEditorKit.java,
3158 javax/swing/text/EditorKit.java,
3159 javax/swing/text/Segment.java,
3160 javax/swing/text/StyledEditorKit.java:
3161 Reformatted.
3162
3163 2004-07-21 Michael Koch <konqueror@gmx.de>
3164
3165 * javax/swing/ImageIcon.java
3166 (file): Removed.
3167 (description): Renamed from descr.
3168 (ImageIcon): Added missing constructors.
3169 (setParent): Removed.
3170 (setImageObserver): New method.
3171 (getImageObserver): New method.
3172 (paintIcon): Handle observer = null.
3173 * javax/swing/JButton.java
3174 (removeNotify): Fixed javadoc.
3175 (updateUI): Simplified.
3176 * javax/swing/JRootPane.java
3177 (serialVersionUID): New constant field.
3178 * javax/swing/UIManager.java:
3179 Fixed javadocs all over.
3180 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3181 * javax/swing/text/AbstractDocument.java
3182 (createPosition): Throws BadLocationException.
3183 (getText): Likewise.
3184 (remove): Likewise.
3185 * javax/swing/text/ComponentView.java
3186 (modelToView): Likewise.
3187 * javax/swing/text/DefaultEditorKit.java:
3188 Made all public methods public.
3189 (read): Throws BadLocationException and IOException.
3190 (write): Likewise.
3191 * javax/swing/text/EditorKit.java:
3192 Made all public methods public.
3193 (serialVersionUID): New constant field.
3194 (clone): New method.
3195 (read): Throws BadLocationException and IOException.
3196 (write): Likewise.
3197 * javax/swing/text/Segment.java
3198 (array): Made public.
3199 (count): Likewise.
3200 (offset): Likewise.
3201 (Segment): New constructors.
3202 (clone): Reimplemented.
3203 * javax/swing/text/StyledEditorKit.java
3204 (serialVersionUID): New constant field.
3205
3206 2004-07-21 Graydon Hoare <graydon@redhat.com>
3207
3208 * java/awt/image/BufferedImage.java
3209 (getSource): Implement.
3210 * javax/swing/ImageIcon.java
3211 (ImageIcon): Implement ctor.
3212 * javax/swing/ScrollPaneLayout.java
3213 (preferredLayoutSize): Be more careful about nulls.
3214
3215 2004-07-21 Michael Koch <konqueror@gmx.de>
3216
3217 * javax/swing/text/AttributeSet.java
3218 (CharacterAttribute): New interface
3219 (ColorAttribute): Likewise.
3220 (FontCharacterAttribute): Likewise.
3221 (ParagraphAttribute): Likewise.
3222 * javax/swing/text/DefaultCaret.java
3223 (moveCaret): New method.
3224 (positionCaret): Likewise.
3225 (repaint): Made protected.
3226 * javax/swing/text/JTextComponent.java
3227 (KeyBinding): Made it static.
3228 * javax/swing/text/View.java
3229 (getContainer): Honor parent == null.
3230
3231 2004-07-21 Michael Koch <konqueror@gmx.de>
3232
3233 * javax/swing/text/AbstractDocument.java:
3234 Reformatted.
3235
3236 2004-07-21 Michael Koch <konqueror@gmx.de>
3237
3238 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3239 Import javax.swing.UIManager explicitely.
3240 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3241 (ScrollingButton): Made it static.
3242
3243 2004-07-21 Michael Koch <konqueror@gmx.de>
3244
3245 * javax/swing/UIDefaults.java
3246 (ActiveValue): Made public.
3247 (LazyValue): Likewise.
3248 * javax/swing/plaf/basic/BasicTextUI.java
3249 (RootView): Reintroduced.
3250 (view): Removed.
3251 (rootView): New field.
3252 (installUI): Create document if needed, initialize rootView.
3253 (uninstallUI): Hanle rootView.
3254 (paint): Likewise.
3255 (getRootView): Likewise.
3256 (setView): Likewise.
3257 * javax/swing/text/DefaultCaret.java:
3258 Renamed all "evt" variables to "event".
3259
3260 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3261
3262 * libgcj.spec.in: Add -l-java-util-logging.
3263
3264 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3265
3266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3267 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3268 gtk-xft-dpi can no calculate the right value.
3269 (dpi_changed_cb): Mark *pspec as unsused.
3270
3271 2004-07-21 David Jee <djee@redhat.com>
3272
3273 * java/awt/Component.java
3274 (move): Delegate to setBounds().
3275 (resize): Likewise.
3276 (reshape): Fix so it repaints parent and self only when necessary.
3277
3278 2004-07-21 David Jee <djee@redhat.com>
3279
3280 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3281 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3282 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3283 (setVisible): Likewise.
3284 (show): Likewise.
3285 (hide): Likewise.
3286 (getArgs): Likewise.
3287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3288 (property_notify_predicate): Likewise.
3289 (find_layout): Likewise.
3290 (connectJObject): Likewise.
3291 (connectSignals): Likewise.
3292 (moveLayout): Likewise.
3293 (gtkLayoutSetVisible): Likewise.
3294
3295 2004-07-21 Graydon Hoare <graydon@redhat.com>
3296
3297 * Makefile.am
3298 (jv_convert_LDADD):
3299 (gij_LDADD):
3300 (rmic_LDADD):
3301 (rmiregistry_LDADD): Add lib-java-util-logging.la
3302 * Makefile.in: Regenerate.
3303
3304 2004-07-21 Michael Koch <konqueror@gmx.de>
3305
3306 * javax/swing/text/AbstractDocument.java
3307 (replace): Dont use protected method of java.util.Vector directly.
3308
3309 2004-07-21 Michael Koch <konqueror@gmx.de>
3310
3311 * javax/swing/plaf/basic/BasicTextUI.java
3312 (installUI): Call specialized install methods.
3313 (installDefaults): New method.
3314 (installListeners): Likewise.
3315 (installKeyboardActions): Likewise.
3316 (uninstallUI): Likewise.
3317 (uninstallDefaults): New method.
3318 (uninstallListeners): Likewise.
3319 (uninstallKeyboardActions): Likewise.
3320 (getPropertyPrefix): New abstract method.
3321 (paint): Made final, just call paintSafely().
3322 (paintSavely): New method.
3323 (paintBackground): Likewise.
3324 (getVisibleEditorRect): Likewise.
3325 * javax/swing/text/LayeredHighlighter.java,
3326 javax/swing/text/TabExpander.java: New files.
3327 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3328 and javax/swing/text/TabExpander.java.
3329 * Makefile.in: Regenerated.
3330
3331 2004-07-21 Michael Koch <konqueror@gmx.de>
3332
3333 * javax/swing/plaf/basic/BasicTextUI.java
3334 (BasicTextUI): Made abstract.
3335 (BasicCaret): New inner class.
3336 (view): Don't explicitely initialize with "null".
3337 (textComponent): New field.
3338 (textColor): Removed.
3339 (disabledTextColor): Removed.
3340 (normalBackgroundColor): Removed.
3341 (RootView): Removed commented out inner class.
3342 (createUI): Removed.
3343 (createCaret): New method.
3344 (getComponent): Likewise.
3345 (installUI): Initialize textComponent only.
3346 (getPreferredSize): Use installed JTextComponent.
3347 (setView): New method.
3348 (create): Likewise.
3349 * javax/swing/text/JTextComponent.java
3350 (highlighter): New field.
3351 (caretColor): Likewise.
3352 (disabledTextColor): Likewise.
3353 (seletedTextColor): Likewise.
3354 (selectionColor): Likewise.
3355 (setUI): New method.
3356 (getCaretColor): Likewise.
3357 (setCaretColor): Likewise.
3358 (getDisabledColor): Likewise.
3359 (setDisabledColor): Likewise.
3360 (getSelectedTextColor): Likewise.
3361 (setSelectedTextColor): Likewise.
3362 (getSelectionColor): Likewise.
3363 (setSelectionColor): Likewise.
3364 (getHighlighter): Likewise.
3365 (setHighlighter): Likewise.
3366 (replaceSelection): Likewise.
3367
3368 2004-07-21 Michael Koch <konqueror@gmx.de>
3369
3370 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3371 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3372 * javax/swing/plaf/basic/BasicToolBarUI.java
3373 (BasicToolBarUI): Implements SwingConstants.
3374
3375 2004-07-21 Michael Koch <konqueror@gmx.de>
3376
3377 * javax/swing/JPopupMenu.java: Removed CVS tags.
3378 * javax/swing/UIDefaults.java: Reformatted.
3379 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3380 Explicitely import used classes.
3381
3382 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3383
3384 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3386 (GtkComponentPeer): Remove temporary try/catch block.
3387 (setVisible): Call show and hide.
3388 (show): Make native.
3389 (hide): Likewise.
3390 (getArgs): Don't add "visible" argument.
3391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3392 (property_notify_predicate): Return Bool instead of int.
3393 (find_layout): New function.
3394 (connectJObject): Call find_layout.
3395 (connectSignals): Likewise.
3396 (moveLayout): Likewise.
3397 (gtkLayoutSetVisible): Likewise.
3398
3399 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3400
3401 * javax/swing/AbstractButton.java:
3402 (setDisplayedMnemonicIndex): Check if button
3403 text is not null before checking its length.
3404 * javax/swing/JMenuItem.java:
3405 (processMouseEvent): Disarm menu item if mouse has
3406 exited it.
3407 * javax/swing/plaf/basic/BasicMenuUI.java:
3408 (MouseInputHandler.mouseEntered): Do not raise
3409 popup menu if this menu is already selected.
3410 (MouseInputHandler.mousePressed): Do not fire
3411 MenuEvents.
3412 (MenuHandler): Implemented.
3413
3414 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3415
3416 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3417 (getSelectedObjects): Implemented.
3418 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3419 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3420 Added javadoc for few methods.
3421 (processMouseEvent): Made public.
3422 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3423 (processMouseEvent): Likewise.
3424
3425 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3426
3427 * javax/swing/AbstractButton.java:
3428 (init): Set display mnemonic index to -1.
3429 (setMnemonic(char)): Use setMnemonic(int).
3430 (setMnemonic(int)): Set display mnemonic index.
3431 (getDisplayedMnemonicIndex): Change method signature
3432 by removing 'index' parameter.
3433 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3434 Added default for Menu.selectionBackground.
3435 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3436 (paintMenuItem): Change background color of the selected
3437 menu item.
3438 (paintText): Paint differently when menu item is disabled.
3439 Also paint mnemonic if it appears in the menu item's label.
3440 (paintAccelerator): Paint accelerator differently
3441 if menu item is disabled.
3442 * javax/swing/plaf/basic/BasicMenuUI.java:
3443 (installDefaults): Install defaults for
3444 selectionForeground and selectionBackground.
3445 (uninstallDefaults): Uninstall defauls for
3446 selectionForeground and selectionBackground.
3447
3448 2004-07-21 Michael Koch <konqueror@gmx.de>
3449
3450 * javax/swing/text/AbstractDocument.java
3451 (BranchElement): Implemented.
3452 (LeafElement): Implemented.
3453 * javax/swing/text/DefaultCaret.java:
3454 Import used classes.
3455 (serialVersionUID): New constant.
3456 * javax/swing/text/JTextComponent.java
3457 (AccessibleJTextComponent): Removed dead declaration.
3458 (caretPos): Removed.
3459 (setCaret): New method.
3460 * javax/swing/text/PlainDocument.java
3461 (rootElement): New field.
3462 (PlainDocument): Initialize rootElement.
3463 (createDefaultRoot): New method.
3464 (getDefaultRootElement): Implemented.
3465 * javax/swing/text/View.java: Reformatted.
3466 * javax/swing/text/ViewFactory.java
3467 (create): Added javadoc.
3468
3469 2004-07-21 Michael Koch <konqueror@gmx.de>
3470
3471 * javax/swing/ToolTipManager.java: Reformatted.
3472
3473 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3474
3475 * javax/swing/AbstractButton.java
3476 (changeEvent): New field.
3477 (fireItemStateChanged): Change source of the event
3478 to 'this' before firing it to button listeners.
3479 (fireActionPerformed): Likewise.
3480 (fireStateChanged): Likewise.
3481 (createActionListener): Do not set source
3482 of the event to AbstractButton.
3483 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3484 (ContainerHandler.componentAdded): Removed
3485 print out statement.
3486 (ContainerHandler.componentRemoved): Likewise.
3487
3488 2004-07-21 Michael Koch <konqueror@gmx.de>
3489
3490 * javax/swing/text/Highlighter.java: New file.
3491 * Makefile.am: Added javax/swing/text/Highlighter.java.
3492 * Makefile.in: Regenerated.
3493
3494 2004-07-21 Michael Koch <konqueror@gmx.de>
3495
3496 * javax/swing/ToolTipManager.java
3497 (stillInsideTimerAction): Fixed constructor arguments.
3498 (outsideTimerAction): Likewise.
3499 (insideTimerAction): Likewise.
3500
3501 2004-07-21 Michael Koch <konqueror@gmx.de>
3502
3503 * javax/swing/JButton.java: Reformatted.
3504 * javax/swing/JFormattedTextField.java
3505 (getUIClassID): Implemented.
3506 * javax/swing/JRootPane.java
3507 (serialVersionUID): New constant.
3508 * javax/swing/JTextField.java
3509 (align): New field.
3510 (JTextField): Simplified.
3511 (getUIClassID): New method.
3512 (getActionListeners): Added @since tag.
3513 (setColumns): Invalidate layout and repaint.
3514 (getHorizontalAlignment): New method.
3515 (setHorizontalAlignment): New method.
3516 (selectAll): Removed.
3517 * javax/swing/SwingUtilities.java
3518 (getAncestorOfClass): Removed redundant @see tag.
3519 (isLeftMouseButton): Fixed implementation.
3520 (isMiddleMouseButton): Likewise.
3521 (isRightMouseButton): Likewise.
3522 * javax/swing/text/AbstractDocument.java
3523 (AttributeContext.addAttribute): New method.
3524 (AttributeContext.addAttributes): New method.
3525 (AttributeContext.getEmptySet): New method.
3526 (AttributeContext.reclaim): New method.
3527 (AttributeContext.removeAttribute): New method.
3528 (AttributeContext.removeAttributes): New method.
3529 * javax/swing/text/Document.java
3530 (createPosition): Throws BadLocationException.
3531 (getText): Likewise.
3532 (remove): Likewise.
3533 * javax/swing/text/JTextComponent.java
3534 (getText): Return null if no document is set. Catch
3535 BadLocationException.
3536 (getUI): Return ui.
3537 (updateUI): Simplified.
3538
3539 2004-07-21 Michael Koch <konqueror@gmx.de>
3540
3541 * javax/swing/JButton.java
3542 (removeNotify): Fixed javadoc.
3543 (updateUI): Simplified.
3544
3545 2004-07-21 David Jee <djee@redhat.com>
3546
3547 * gnu/java/awt/image/ImageDecoder.java
3548 (startProduction): Only add consumer if it's not added yet.
3549 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3550 (GdkPixbufDecoder): Don't call initState() here.
3551 (produce): Call initState() here, to ensure area_prepared and
3552 area_updated signals are properly connected.
3553 * gnu/java/awt/peer/gtk/GtkImage.java
3554 (setColorModel): Use equals() to compare ColorModel objects.
3555 (setPixels): Likewise.
3556 * java/awt/image/ColorModel.java
3557 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3558 * java/awt/image/RGBImageFilter.java
3559 (setColorModel): Set consumer's color model.
3560 (setPixels): Use equals() to compare ColorModel objects.
3561
3562 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3563
3564 * java/net/URLConnection.java (position): New field.
3565 (dateFormat1, dateFormat2, dateFormat3): Removed.
3566 (dateFormats): New field.
3567 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3568 each time instead of re-allocating.
3569 (initializeDateFormats): Initialize 'dateFormats'.
3570
3571 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3572
3573 PR libgcj/16591
3574 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3575 is defined.
3576
3577 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3578
3579 * java/net/Socket.java (getImpl): Now private. Remove comment.
3580
3581 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3582
3583 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3584 of chained Writer when calling super-constructor.
3585 * java/io/FilterWriter.java (FilterWriter): Likewise.
3586 * java/io/PrintWriter.java (PrintWriter): Likewise.
3587
3588 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3589
3590 * prims.cc (process_gcj_properties): Don't increment i within LHS
3591 of assignment.
3592
3593 2004-07-19 Per Bothner <per@bothner.com>
3594
3595 Print -verbose:message on "loading", not initialization.
3596 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3597 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3598 gcj::verbose_class_flag.
3599 * java/lang/natClass.cc (initializeClass): Don't print message here.
3600 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3601 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3602 (_Jv_PrepareCompiledClass): Likewise.
3603
3604 2004-07-18 Matthias Klose <doko@debian.org>
3605
3606 * configure.in: Substitute target_noncanonical.
3607 * configure: Regenerate
3608
3609 2004-07-17 Michael Koch <konqueror@gmx.de>
3610
3611 * java/lang/String.java: Fixed javadocs all over.
3612
3613 2004-07-17 Mark Wielaard <mark@klomp.org>
3614
3615 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3616 when size is smaller.
3617 * java/io/RandomAccessFile.java (setLength): Use truncate for
3618 shrinking the file and seek plus write for expanding the file.
3619
3620 2004-07-17 Michael Koch <konqueror@gmx.de>
3621
3622 * gnu/java/nio/channels/natFileChannelPosix.cc
3623 (implTruncate): Always save current position. Only reposition file
3624 pointer to where we started if not beyond new lenght. Reposition file
3625 pointer to file length if it points beyond the end of file.
3626
3627 2004-07-17 Mark Wielaard <mark@klomp.org>
3628
3629 * javax/swing/Box.java: Put FIXME comment above class declaration.
3630 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3631 * javax/swing/JCheckBox.java: Likewise.
3632 * javax/swing/JDialog.java: Likewise.
3633 * javax/swing/JRadioButton.java: Likewise.
3634 * javax/swing/JToggleButton.java: Likewise.
3635 * javax/swing/UIManager.java: Likewise.
3636 * javax/swing/border/TitledBorder.java: Likewise.
3637 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3638 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3639 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3640 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3641 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3642 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3643 * javax/swing/text/JTextComponent.java: Likewise.
3644
3645 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3646
3647 * java/net/DatagramPacket.java (setAddress): Removed check for
3648 null address.
3649
3650 2004-07-17 Michael Koch <konqueror@gmx.de>
3651
3652 * java/net/DatagramSocket.java
3653 (getLocalAddress): Check if socket is bound or not.
3654 * java/net/Socket.java
3655 (getLocalAddrss): Check if socket is bound or not.
3656 (getPort): Return -1 when not connected. Dont check getImpl() for
3657 null.
3658 (setReuseAddress): Check if socket is closed.
3659 (isConnected): Check if getImpl() returns null.
3660
3661 2004-07-17 Mark Wielaard <mark@klomp.org>
3662
3663 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3664 on notifier object before calling notifyAll().
3665
3666 2004-07-17 Michael Koch <konqueror@gmx.de>
3667
3668 * gnu/java/nio/channels/FileChannelImpl.java
3669 (finalize): Added javadoc.
3670
3671 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3672
3673 * java/text/CollationElementIterator.java
3674 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3675 (setText): Use ArrayList instead of Vector.
3676
3677 2004-07-17 Michael Koch <konqueror@gmx.de>
3678
3679 * java/nio/ByteOrder.java
3680 (static): Removed. Not needed.
3681 Thanks to Patrick Reali for noticing.
3682 * java/nio/charset/CharsetDecoder.java
3683 (decode): Fix for classpath bug #9177: Reset state before flipping.
3684
3685 2004-07-17 Michael Koch <konqueror@gmx.de>
3686
3687 * java/security/Security.java: Fixed javadocs all over.
3688
3689 2004-07-17 Michael Koch <konqueror@gmx.de>
3690
3691 * gnu/java/awt/EmbeddedWindow.java
3692 (static): Removed.
3693 (addNotify): Set peer via reflection.
3694 (setWindowPeer): Removed.
3695 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3696 * Makefile.am (nat_source_files):
3697 Removed gnu/java/awt/natEmbeddedWindow.cc.
3698 * Makefile.in: Regenerated.
3699
3700 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3701
3702 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3703 assignment.
3704 * configure: Regenerated.
3705
3706 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3707
3708 * configure.in: Use build_noncanonical rather than build_alias.
3709 * configure: Rebuild.
3710
3711 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3712 by logic refactoring. Move default definition of NATIVE closer
3713 to first alternate definition.
3714 * configure: Regenerate.
3715
3716 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3717 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3718 gcj/Makefile.in: Regenerate.
3719 * configure.in: Set ZIP and GCJH. Remove redundant condition
3720 in AM_CONDITIONAL(NATIVE,...)
3721 * configure: Regenerate.
3722
3723 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3724
3725 * configure.in: Use target_noncanonical rather than
3726 target_alias for forward-compatibility with autoconf 2.59.
3727 * configure: Regenerate.
3728 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3729 testsuite/Makefile.am: Substitute target_noncanonical.
3730 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3731 testsuite/Makefile.in: Regenerate.
3732
3733 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3734 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3735 * acinclude.m4: Include acx.m4.
3736 * aclocal.m4: Regenerate.
3737 * configure: Regenerate.
3738
3739 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3740
3741 PR libgcj/16574
3742 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3743 (decimalFormat): New static variable.
3744 (sbuf): Likewise.
3745 (getTime): New. Override Date.getTime().
3746 (toString): Synchronize. Use decimalFormat to format nanos value
3747 correctly. Truncate extra zeros.
3748 (before): Compare getNanos() only if getTime() is equal.
3749 (after): Likewise.
3750
3751 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3752
3753 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3754 * configure.in: ...here.
3755 * aclocal.m4: Regenerate.
3756 * configure: Regenerate.
3757
3758 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3759 * configure: Rebuilt with autoconf 2.13.
3760 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3761 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3762
3763 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3764
3765 PR libgcj/16204
3766 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3767 large file support.
3768 * Makefile.in: Rebuilt.
3769 * testsuite/libjava.lang/LargeFile.java: New test case.
3770 * testsuite/libjava.lang/LargeFile.out: New file.
3771
3772 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3773
3774 * java/beans/EventHandler.java: Remove debugging statements.
3775
3776 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3777
3778 * java/beans/EventHandler.java: New file.
3779 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3780 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3781 testsuite/Makefile.in: Regenerate.
3782
3783 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3784
3785 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3786 flag to the gcj_setup.
3787 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3788 the tclsh.
3789 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3790 deprecation flag change. 58 XFAILS removed.
3791
3792 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3793
3794 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3795 -fno-use-divide-subroutine.
3796 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3797 (HANDLE_FPE): Define.
3798 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3799 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3800 (HANDLE_DIVIDE_OVERFLOW): Define.
3801
3802 2004-07-14 Michael Koch <konqueror@gmx.de>
3803 Matthias Klose <doko@debian.org>
3804
3805 * java/awt/im/InputContext.java: Initialize in, line.
3806
3807 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3808
3809 * interpret.cc (run): Correctly access libffi return values of
3810 integral smaller-than-int type; these are implicitly promoted.
3811
3812 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3813
3814 PR libgcj/7587
3815 * interpret.cc (compile_mutex): New.
3816 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3817 (run): Lock compile_mutex before calling compile() if compilation is
3818 required.
3819 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3820 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3821
3822 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3823
3824 PR libgcj/15713
3825 * include/jvm.h (_Jv_value): New union type.
3826 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3827 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3828 union members.
3829
3830 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3831
3832 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3833 * gnu/awt/xlib/XOffScreenImage.java
3834 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3835 constructor argument. Add constructor using ImageProducer.
3836 (getSource): Implement.
3837 (imageComplete): New method.
3838 (setColorModel): New method.
3839 (setDimensions): New method.
3840 (setHints): New method.
3841 (setPixels): New method.
3842 (setProperties): New method.
3843 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3844 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3845
3846 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3847
3848 PR libgcj/16478
3849 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3850 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3851 (finalizerReady): Now native.
3852 (run): Likewise.
3853 (runFinalizers): Removed.
3854 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3855 a primitive lock, and don't hold it while running the finalizers.
3856 (runFinalizers): Implement. Don't aquire any Java lock.
3857 (finalizerReady): Use lock primitives to signal finalizer thread.
3858
3859 2004-07-11 Mark Wielaard <mark@klomp.org>
3860
3861 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3862 * java/net/URLStreamHandler.java (parseURL): When url file part
3863 doesn't contain a '/' just ignore context.
3864
3865 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3866
3867 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3868 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3869 (MAKE_THROW_FRAME): Do not modify PSW address.
3870 (INIT_SEGV): Install SIGINFO-style signal handler.
3871 (INIT_FPE): Likewise.
3872
3873 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3874
3875 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3876 status. 21 xfail's removed, 1 added.
3877
3878 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3879
3880 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3881
3882 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3883
3884 * java/text/MessageFormat.java
3885 (formatInternal): Append "{n}" if argument n is unavailable.
3886 (format(Object, StringBuffer, FieldPosition)): This
3887 should be equivalent to format(Object[],
3888 StringBuffer, FieldPosition).
3889
3890 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3891
3892 * java.util.Calendar.java (cache): New private static field. Cached
3893 mappings of locales->calendar classes.
3894 (ctorArgTypes): New private static field. Singleton argument for
3895 calendar class constructor lookup.
3896 (getInstance): Cache Locale->Calendar class mappings using HashMap.
3897 Optimize by bypassing reflection instantiation for the
3898 GregorianCalendar case.
3899
3900 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3901
3902 * java/util/Calendar.java: Use getSystemClassLoader as argument for
3903 ResourceBundle.getBundle() calls.
3904 * java/util/GregorianCalendar.java: Likewise.
3905 * java/util/Currency.java: Likewise.
3906 * java/text/BreakIterator.java: Likewise.
3907 * java/text/Collator.java: Likewise.
3908 * java/text/DateFormat.java: Likewise.
3909 * java/text/DateFormatSymbols.java: Likewise.
3910 * java/text/DecimalFormatSymbols.java: Likewise.
3911 * java/text/NumberFormat.java: Likewise.
3912 * java/awt/Window.java: Likewise.
3913
3914 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3915
3916 * java/util/ResourceBundle.java (bundleCache): Renamed from
3917 resourceBundleCache. Update comments.
3918 (getObject): Don't catch MissingResourceException.
3919 (getBundle(String)): Remove 'final'. Use system classloader if
3920 getCallingClassLoader returned null.
3921 (getBundle(String, Locale)): Likewise.
3922 (BundleKey): New private class. HashMap key for bundle cache lookup.
3923 (lookupKey): New. Singleton instance of BundleKey.
3924 (nullEntry): New. Cache entry to represent failed lookups.
3925 (getBundle(String, Locale, ClassLoader)): Re-written to use new
3926 caching strategy, no-allocation lookup, and new tryBundle methods.
3927 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
3928 name using given classloader.
3929 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
3930 baseName for given Locale and attempt to load bundle.
3931
3932 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3933
3934 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
3935 illegal protected method calls.
3936
3937 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3938
3939 Fix or remove some bogus test cases.
3940 * testsuite/libjava.compile/pr10459_2.java: Removed.
3941 * testsuite/libjava.compile/pr10459.java: Test using its own method,
3942 not Object.clone().
3943 * testsuite/libjava.compile/inner_data.java: Test against its own
3944 protected field.
3945
3946 2004-07-09 Michael Koch <konqueror@gmx.de>
3947
3948 * scripts/unicode-muncher.pl: Updated to version 2.1
3949 from GNU classpath. Added some clarifications on where to find the
3950 needed files from www.unicode.org.
3951 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
3952 gnu/gcj/convert/UnicodeData-3.0.0.txt:
3953 Removed, these can directly be downloaded from www.unicode.org if
3954 needed.
3955 * gnu/java/lang/CharData.java: Regenerated.
3956 * include/java-chartables.h: Regenerated.
3957 * Makefile.am (ordinary_java_source_files):
3958 Removed gnu/java/lang/CharData.java.
3959 * Makefile.in: Regenerated.
3960
3961 2004-07-09 Michael Koch <konqueror@gmx.de>
3962
3963 * java/security/AccessControlContext.java,
3964 java/security/SecureClassLoader.java:
3965 Fixed javadocs.
3966
3967 2004-07-09 Michael Koch <konqueror@gmx.de>
3968
3969 * java/io/ObjectInputStream.java (readFields): Use long datatype
3970 when shifting byte values more then 24 bits left.
3971
3972 2004-07-09 Michael Koch <konqueror@gmx.de>
3973
3974 * java/util/zip/DeflaterOutputStream.java,
3975 java/util/zip/GZIPInputStream.java,
3976 java/util/zip/GZIPOutputStream.java,
3977 java/util/zip/InflaterInputStream.java:
3978 Reformatted. Added javadocs. Reordered all stuff.
3979 Renamed variables to be more clear.
3980
3981 2004-07-09 Michael Koch <konqueror@gmx.de>
3982
3983 * javax/imageio/IIOException.java,
3984 javax/imageio/event/IIOReadProgressListener.java,
3985 javax/imageio/event/IIOReadUpdateListener.java,
3986 javax/imageio/event/IIOReadWarningListener.java,
3987 javax/imageio/event/IIOWriteProgressListener.java,
3988 javax/imageio/event/IIOWriteWarningListener.java:
3989 New files.
3990 * Makefile.am: Added new files.
3991 * Makefile.in: Regenerated.
3992
3993 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
3994
3995 * java/text/RuleBasedCollator.java
3996 (mergeRules): Use ArrayList instead of Vector.
3997 (subParseString): likewise.
3998 (parseString): likewise.
3999 (buildCollationVector): likewise.
4000 (getCollationKey): likewise.
4001
4002 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4003
4004 * java/text/DateFormat.java (parse):
4005 Improved javadoc. Improved exception message.
4006
4007 2004-07-09 Mark Wielaard <mark@klomp.org>
4008
4009 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4010 interrupted() method to clear interupt flag of our Thread.
4011
4012 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4013
4014 * java/nio/Buffer.java,
4015 java/nio/ByteBuffer.java,
4016 java/nio/ByteBufferHelper.java,
4017 java/nio/ByteBufferImpl.java,
4018 java/nio/CharBuffer.java,
4019 java/nio/CharBufferImpl.java,
4020 java/nio/CharViewBufferImpl.java,
4021 java/nio/DirectByteBufferImpl.java,
4022 java/nio/DoubleBuffer.java,
4023 java/nio/DoubleBufferImpl.java,
4024 java/nio/DoubleViewBufferImpl.java,
4025 java/nio/FloatBuffer.java,
4026 java/nio/FloatBufferImpl.java,
4027 java/nio/FloatViewBufferImpl.java,
4028 java/nio/IntBuffer.java,
4029 java/nio/IntBufferImpl.java,
4030 java/nio/IntViewBufferImpl.java,
4031 java/nio/LongBuffer.java,
4032 java/nio/LongBufferImpl.java,
4033 java/nio/LongViewBufferImpl.java,
4034 java/nio/MappedByteBufferImpl.java,
4035 java/nio/ShortBuffer.java,
4036 java/nio/ShortBufferImpl.java,
4037 java/nio/ShortViewBufferImpl.java:
4038 Fixed javadocs all over. Improved input error
4039 checking.
4040
4041 * java/nio/Buffer.java
4042 (checkForUnderflow, checkForOverflow, checkIndex,
4043 checkIfReadOnly, checkArraySize): New helper methods
4044 for error checking.
4045
4046 * java/nio/ByteBufferHelper.java
4047 (checkRemainingForRead, checkRemainingForWrite,
4048 checkAvailableForRead, checkAvailableForWrite): Removed
4049 no longer needed methods.
4050
4051 2004-07-09 Michael Koch <konqueror@gmx.de>
4052
4053 * gnu/regexp/CharIndexedInputStream.java:
4054 Reordered imports to match classpath.
4055
4056 2004-07-09 Michael Koch <konqueror@gmx.de>
4057
4058 * gnu/java/awt/EmbeddedWindow.java:
4059 Load native library for setWindowPeer method.
4060
4061 2004-07-08 Randolph Chung <tausq@debian.org>
4062
4063 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4064 * configure: Regenerate.
4065 * configure.host: Set can_unwind_signal for hppa*-linux.
4066 * include/pa-signal.h: New file.
4067
4068 2004-07-07 Per Bothner <per@bothner.com>
4069
4070 * Makefile.am: Add rules to build libgij from just gij.cc.
4071
4072 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4073 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4074 (initializeClass): If verbose_class_flag, print message.
4075 * gij.cc (main): Handle -verbose:class flag.
4076
4077 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4078
4079 * configure.host: Enable hash synchronization on Darwin.
4080 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4081 ';', since this is a comment on Darwin.
4082 (compare_and_swap_release): Likewise.
4083
4084 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4085
4086 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4087 file portion of URL in addition to spec for file: protocol.
4088
4089 2004-07-05 Anthony Green <green@redhat.com>
4090
4091 * java/io/File.java (toURI): Merge from Classpath.
4092
4093 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4094
4095 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4096 before passing to URL constructor. Rethrow any MalformedURLException
4097 as a RuntimeException. Catch MalformedURLException specifically, not
4098 all exceptions.
4099
4100 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4101
4102 * java/util/Locale.java (readObject): Intern strings read from object
4103 stream.
4104
4105 2004-07-04 Michael Koch <konqueror@gmx.de>
4106
4107 * gnu/gcj/runtime/FirstThread.java,
4108 gnu/gcj/runtime/natFirstThread.cc: Removed.
4109 * gnu/java/lang/MainThread.java,
4110 gnu/java/lang/natMainThread.cc: New files.
4111 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4112 * Makefile.am: Added new files and removed deleted ones.
4113 * Makefile.in: Regenerated.
4114
4115 2004-07-03 Mark Wielaard <mark@klomp.org>
4116 Anthony Green <green@redhat.com>
4117
4118 * java/net/URL.java (getFile): Clarify return value doc.
4119 (getPath): Return null if file is empty - not empty String.
4120 (set): Convert protocol to lower case before doing anything.
4121 Only change the protocol handler if it's different.
4122
4123 2004-07-03 Anthony Green <green@redhat.com>
4124
4125 * java/net/URL.java (URL): Convert protocol to lower case before
4126 doing anything, so we getURLStreamHandler() with the proper value.
4127
4128 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4129
4130 * java/util/Locale.java (hashcode): Made transient.
4131 (hashCode): No longer synchronized.
4132 (equals): Remove comment.
4133 (writeObject): No longer synchronized. Implement using writeObject
4134 calls instead of tweaking hashCode field. Update doc.
4135 (readObject): Implement using readObject calls.
4136
4137 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4138 Andreas Tobler <a.tobler@schweiz.ch>
4139
4140 * configure.host (powerpc-*-darwin*): New case, define
4141 can_unwind_signal.
4142 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4143 * configure: Regenerate.
4144 * include/darwin-signal.h: New.
4145
4146 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4147
4148 * java/beans/Statement.java (doExecute): Fix formatting.
4149
4150 2004-06-29 Per Bothner <per@bothner.com>
4151
4152 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4153 etc etc): Remove needless parenthesis, which causes __stdcall__
4154 attribute on MinGW to get ignored.
4155
4156 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4157
4158 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4159
4160 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4161
4162 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4163
4164 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4165
4166 * java/beans/Expression.java: New file.
4167 * java/beans/Statement.java: New file.
4168 * Makefile.am: Added new files.
4169 * Makefile.in: Re-generate.
4170
4171 2004-06-27 Mark Wielaard <mark@klomp.org>
4172
4173 * java/io/FilePermission.java (usingPerms): Removed.
4174 (actionsString): Made final.
4175 (cachePerms): Renamed to checkPerms.
4176 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4177 on action String.
4178 (FilePermission): Check arguments, call checkPerms().
4179 (equals): Remove cachePerms() call.
4180 (implies): Likewise.
4181
4182 2004-06-27 Mark Wielaard <mark@klomp.org>
4183
4184 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4185 final field.
4186 (sendRequest): Use new field in user-agent http agent.
4187
4188 2004-06-27 Mark Wielaard <mark@klomp.org>
4189
4190 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4191 when argument is null.
4192
4193 2004-06-26 Mark Wielaard <mark@klomp.org>
4194
4195 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4196 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4197 GetMethodID call.
4198 (cancel_clicked): Likewise.
4199
4200 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4201
4202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4203 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4204 can not calculate the right value.
4205 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4206
4207 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4208
4209 * testsuite/libjava.jacks/jacks.xfail: Remove
4210 15.9.1-qualified-concrete-20.
4211
4212 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4213
4214 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4215 encoding name to iconv.
4216 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4217
4218 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4219
4220 PR libgcj/16134:
4221 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4222 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4223 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4224
4225 2004-06-21 Andrew Haley <aph@redhat.com>
4226
4227 * java/io/ObjectOutputStream.java: Add DEBUG statements
4228 everywhere.
4229 (dumpElementln): New method.
4230 (depth): New field.
4231 * java/io/ObjectInputStream.java
4232 (currentClassLoader): Make native.
4233 (callersClassLoader): New field.
4234 (depth): New field.
4235 (readObject): ENDBLOCKDATA is generated if the class has a write
4236 method, not if it has a read method.
4237 (readObject): Save and restore this.currentObject and
4238 this.currentObjectStreamClass around calls to callReadMethod().
4239 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4240 method.
4241
4242 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4243
4244 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4245 darwin.
4246
4247 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4248
4249 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4250 if desired, before the default class loader is initialised.
4251 Call INIT_SEGV only if HANDLE_SEGV is defined.
4252
4253 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4254
4255 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4256 directory only if it actually exists.
4257
4258 2004-06-18 Graydon Hoare <graydon@redhat.com>
4259
4260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4261 Fix up non-ansi comments.
4262
4263 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4264
4265 * javax/swing/text/AbstractDocument.java: Adding missing import
4266 for javax.swing.event.EventListenerList.
4267 * javax/swing/text/DefaultCaret.java: Likewise.
4268
4269 2004-06-17 Michael Koch <konqueror@gmx.de>
4270
4271 * javax/swing/JToolBar.java
4272 (name): Removed.
4273 (JToolBar): Use Component.setName(String) instead of doing it all
4274 alone.
4275 * javax/swing/Timer.java
4276 (queueEvent): Added missing modifier.
4277
4278 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4279
4280 * Makefile.am: Added new file.
4281 * Makefile.in: Re-generate.
4282 * javax/swing/JMenu.java:
4283 (insertSeparator): Implemented.
4284 * javax/swing/JPopupMenu.java:
4285 (JPopupMenu.Separator): Implemented.
4286 * javax/swing/MenuSelectionManager.java:
4287 (processMouseEvent): Use java.awt.Component
4288 for event source instead of javax.swing.JComponent.
4289 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4290 New File. Implemented.
4291
4292 2004-06-16 David Jee <djee@redhat.com>
4293
4294 * java/awt/GridBagLayout.java
4295 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4296 Make sure pos_x and pos_y are never negative.
4297
4298 2004-04-16 Andrew Overholt <overholt@redhat.com>
4299
4300 * Makefile.am: Add new file.
4301 * Makefile.in: Re-generate.
4302 * javax/swing/JToolBar.java
4303 Partially implemented.
4304 * javax/swing/plaf/basic/BasicToolBarUI.java
4305 New file. Partially implemented.
4306
4307 2004-06-16 Graydon Hoare <graydon@redhat.com>
4308
4309 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4310 (setComposite): Accept AlphaComposite arguments.
4311 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4312 (createBufferedImage): Add new overloads.
4313 * gnu/java/awt/peer/gtk/GtkToolkit.java
4314 (createImage): Use GdkPixbufDecoder.createBufferedImage
4315 when useGraphics2D() is true.
4316 (getImage): Delegate to createImage.
4317 * javax/swing/JList.java
4318 (isSelectionEmpty):
4319 (getFirstVisibleIndex):
4320 (getLastVisibleIndex):
4321 (setSelectedValue):
4322 (ensureIndexIsVisible): New methods.
4323 * javax/swing/Timer.java: Reimplement.
4324
4325 2004-06-16 Michael Koch <konqueror@gmx.de>
4326
4327 * javax/swing/text/AbstractDocument.java
4328 (AbstracElement): Made public, implements java.io.Serializable.
4329 (AttributeContext): Made public.
4330 (BranchElement): Likewise.
4331 (Content): Likewise.
4332 (DefaultDocumentEvent): Made public, extends
4333 javax.swing.undo.CompoundEdit.
4334 (ElementEdit): Made public, extends
4335 javax.swing.undo.AbstractUndoableEdit.
4336 (LeafElement): Made public.
4337 (LeafElement.LeafElement): Made public.
4338
4339 2004-06-16 Michael Koch <konqueror@gmx.de>
4340
4341 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4342 methods (that were obviously never be intended to get included hi this
4343 class. Added some methods too.
4344
4345 2004-06-16 Michael Koch <konqueror@gmx.de>
4346
4347 * javax/swing/text/PlainDocument.java
4348 (serialVersionUID): New constant.
4349 (lineLimitAttribute): Likewise.
4350 (tabSizeAttribute): Likewise.
4351 (tabSize): New field.
4352 (PlainDocument): Made public.
4353 (PlainDocument): New constructor.
4354
4355 2004-06-16 Michael Koch <konqueror@gmx.de>
4356
4357 * javax/swing/text/AbstractDocument.java
4358 (insertString): Throws BadLocationException.
4359 * javax/swing/text/Document.java
4360 (insertString): Likewise.
4361 * javax/swing/text/JTextComponent.java:
4362 Javadocs and comments cleaned up.
4363
4364 2004-06-16 Michael Koch <konqueror@gmx.de>
4365
4366 * javax/swing/event/UndoableEditListener.java: Reformatted.
4367 * javax/swing/text/AbstractDocument.java
4368 (AbstractDocument): Implements java.io.Serializable.
4369 (doc_list): Removed.
4370 (undo_list): Removed.
4371 (AbstractElement.serialVerionUID): New field.
4372 (BranchElement.serialVerionUID): Likewise.
4373 (DefaultDocumentEvent.serialVerionUID): Likewise.
4374 (ElementEdit.serialVerionUID): Likewise.
4375 (LeafElement.serialVerionUID): Likewise.
4376 (serialVerionUID): Likewise.
4377 (BAD_LOCATION): New constant.
4378 (BidiElementName): Likewise.
4379 (ContentElementName): Likewise.
4380 (ParagraphElementName): Likewise.
4381 (SectionElementName): Likewise.
4382 (ElementNameAttribute): Likewise.
4383 (AbstractDocument): Made protected.
4384 (AbstractDocument): New construtor.
4385 (listenerList): New field.
4386 (fireChangedUpdate): Implemented.
4387 (fireInsertUpdate): Likewise.
4388 (fireRemoveUpdate): Likewise.
4389 (fireUndoableEditUpdate): Likewise.
4390 (getListeners): Likewise.
4391 (addDocumentListener): Likewise.
4392 (removeDocumentListener): Likewise.
4393 (addUndoableEditListener): Likewise.
4394 (removeUndoableEditListener): Likewise.
4395 (getDocumentListeners): New method.
4396 (getUndoableEditListeners): Likewise.
4397 (getAsynchronousLoadPriority): Made public.
4398 (getBidiRootElement): Likewise.
4399 (setAsynchronousLoadPriority): Likewise.
4400 (setDocumentProperties): Likewise.
4401 * javax/swing/text/BadLocationException.java
4402 (serialVerionUID): New field.
4403 * javax/swing/text/DefaultCaret.java
4404 (changeEvent): New field.
4405 (listenerList): Likewise.
4406 (changes): Removed.
4407 (addChangeListener): Reimplemented.
4408 (removeChangeListener): Likewise.
4409 (getListeners): New method.
4410 (getChangeListeners): Likwise.
4411 (getComponent): Likewise.
4412 * javax/swing/text/GapContent.java
4413 (GapContent): Implements java.io.Serializable.
4414 (serialVerionUID): New field.
4415
4416 2004-06-16 Michael Koch <konqueror@gmx.de>
4417
4418 * javax/swing/JTree.java
4419 (treeModel): New field.
4420 (JTree): New constructors, one existing one made public.
4421 (createTreeModel): New method.
4422 (addTreeExpansionListener): Likewise.
4423 (removeTreeExpansionListener): Likewise.
4424 (getTreeExpansionListeners): Likewise.
4425 (fireTreeCollapsed): Likewise.
4426 (fireTreeExpanded): Likewise.
4427 (addTreeSelectionListener): Likewise.
4428 (removeTreeSelectionListener): Likewise.
4429 (getTreeSelectionListeners): Likewise.
4430 (fireValueChanged): Likewise.
4431 (addTreeWillExpandListener): Likewise.
4432 (removeTreeWillExpandListener): Likewise.
4433 (getTreeWillExpandListeners): Likewise.
4434 (fireTreeWillCollapse): Likewise.
4435 (fireTreeWillExpand): Likewise.
4436
4437 2004-06-16 Michael Koch <konqueror@gmx.de>
4438
4439 * javax/swing/JTree.java: Reformatted.
4440
4441 2004-06-16 Michael Koch <konqueror@gmx.de>
4442
4443 * javax/swing/JTextArea.java: New file.
4444 * javax/swing/JTextField.java
4445 (actions): Removed.
4446 (notifyAction): New constant.
4447 (columns): New field.
4448 (JTextField): New constructors.
4449 (createDefaultModel): New method.
4450 (addActionListener): Reimplmemented.
4451 (removeActionListener): Reimplemented.
4452 (getActionListeners): New method.
4453 (fireActionPerformed): New method.
4454 (getColumns): New method.
4455 (setColumne): New method.
4456 * javax/swing/text/JTextComponent.java
4457 (AccessibleJTextComponent.serialVersionUID): New field.
4458 (serialVersionUID): Likewise.
4459 (DEFAULT_KEYMAP): Likewise.
4460 (FOCUS_ACCELERATOR_KEY): Likewise.
4461 (doc): Made private.
4462 (icon_gap): Likewise.
4463 (icon): Likewise.
4464 (align): Likewise.
4465 (JTextComponent): Some constructors removed.
4466 (getScrollableTracksViewportHeight): New method.
4467 (getScrollableTracksViewportWidth): Likewise.
4468 * Makefile.am: Added javax/swing/JTextArea.java.
4469 * Makefile.in: Regenerated.
4470
4471 2004-06-15 Graydon Hoare <graydon@redhat.com>
4472
4473 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4474 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4475 * javax/swing/JViewport.java
4476 (getExtentSize): Return size rather than preferred size.
4477 (toViewCoordinates): New methods.
4478 (getViewSize): Return size rather than preferred size.
4479 (setViewSize): Note view size as set.
4480 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4481 * javax/swing/plaf/basic/BasicScrollBarUI.java
4482 (getPreferredSize): Don't redo layout.
4483 * javax/swing/plaf/basic/BasicViewportUI.java
4484 (paint): Translate image properly and eat exceptions.
4485
4486 2004-06-15 Kim Ho <kho@redhat.com>
4487
4488 * javax/swing/JTabbedPane.java
4489 (setComponent): Remove old component and
4490 add new component.
4491 (setSelectedIndex): Don't operate on the
4492 components if they're null. Don't set index
4493 on the model if the index is the same.
4494 (insertTab): Don't add or hide the component
4495 if it's null. Repaint the container.
4496 * javax/swing/plaf/basic/BasicLookAndFeel.java
4497 Change colors for TabbedPane.
4498 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4499 (mousePressed): Re-layout and paint the component.
4500 (layoutContainer): Don't set location on the view.
4501 (ScrollingViewport::paint): Remove.
4502
4503 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4504
4505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4506 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4507
4508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4509 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4510 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4511 critical region.
4512 (drawLine): Call gdk_flush before leaving GDK critical region.
4513 (fillRect): Likewise.
4514 (drawRect): Likewise.
4515 (copyArea): Likewise.
4516 (copyPixmap): Likewise.
4517 (clearRect): Likewise.
4518 (drawArc): Likewise.
4519 (drawPolyline): Likewise.
4520 (drawPolygon): Likewise.
4521 (fillPolygon): Likewise.
4522 (fillArc): Likewise.
4523 (drawOval): Likewise.
4524 (fillOval): Likewise.
4525
4526 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4527 style parameter.
4528 (GdkFontMetrics): Add style argument to initState call.
4529 (stringWidth(String,int,int,String)): Add style parameter.
4530 (stringWidth(String)): Add style argument to stringWidth call.
4531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4532 (initState): Set pango font style and weight based on AWT style
4533 parameter. Pass default GTK language to
4534 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4535 simply dividing by PANGO_SCALE.
4536 (stringWidth): Set pango font style and weight based on AWT style
4537 parameter.
4538
4539 * java/awt/Button.java (next_button_number): New field.
4540 (paramString): Change output.
4541 (generateName): New method.
4542 (getUniqueLong): New method.
4543
4544 2004-06-14 Kim Ho <kho@redhat.com>
4545
4546 * javax/swing/JTabbedPane.java:
4547 (setComponentAt): Set the component, not
4548 the enabled status.
4549 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4550 (actionPerformed): Let deiconize catch exception.
4551
4552 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4553
4554 * javax/swing/JPopupMenu.java:
4555 (setVisible): Corrected location of a
4556 heavyweight popup menu.
4557
4558 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4559
4560 * javax/swing/MenuSelectionManager.java:
4561 Ran through jalopy to fix formatting style.
4562
4563 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4564
4565 * javax/swing/JLayeredPane.java:
4566 (remove): Revalidate and repaint layered pane after
4567 the component was removed.
4568 javax/swing/JMenu.java:
4569 (setVisible): Display popup menu at the user location,
4570 if one was set by the user.
4571 (setMenuLocation): Reimplemented. Fixed javadoc.
4572 * javax/swing/JMenuBar.java: Added javadoc.
4573 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4574 (MODEL_CHANGED_PROPERTY): New Property.
4575 (isSelected): Implemented.
4576 (setBorderPainted): Fire PropertyChangeEvent
4577 if paintBorder property changes.
4578 (setSelected): Implemented.
4579 (setSelectionModel): Implemented.
4580 * javax/swing/JPopupMenu.java: Added Javadoc
4581 (pack): Implemented.
4582 (setVisible): Reimplemented.
4583 (show): Fixed location.
4584 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4585 Container instead of JPanel.
4586 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4587 (clearSelectedPath): Reimplemented to clear selectedPath
4588 in reverse order.
4589 (processMouseEvent): Reimplemented.
4590 (setSelectedPath): Fire stateChange event indicating that
4591 selected menu path has changed.
4592 (getPath): Change to use ArrayList instead of Vector.
4593 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4594 (installUI): call installKeyboardActions().
4595 (uninstallUI): call uninstallKeyboardActions().
4596
4597 2004-06-13 Michael Koch <konqueror@gmx.de>
4598
4599 * javax/swing/text/DefaultCaret.java,
4600 javax/swing/text/BadLocationException.java:
4601 Reformatted.
4602
4603 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4604
4605 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4606 DEFAULT_COLS): New variables.
4607 (create): Don't allow 0 rows or 0 columns. Instead, set the
4608 values to DEFAULT_ROWS or DEFAULT_COLS.
4609 (getMinimumSize): Likewise.
4610 (getPreferredSize): Likewise.
4611 (minimumSize): Likewise.
4612 (preferredSize): Likewise.
4613 (create): Set peer's editable state.
4614 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4615 zero. Update javadocs.
4616 (TextArea(String)): Likewise.
4617 (TextArea(int,int)): Fix javadocs.
4618 (TextArea(String,int,int,int)): Only throw exception if one of
4619 rows or columns is zero. Fix javadocs.
4620
4621 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4622
4623 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4624 addition to Components.
4625
4626 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4627 wasn't consumed by normal processing, send it to the parent
4628 menu.
4629
4630 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4631 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4632 translation.
4633
4634 2004-06-11 David Jee <djee@redhat.com>
4635
4636 * java/awt/MediaTracker.java
4637 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4638 (addImage(Image,int,int,int)): Likewise.
4639
4640 2004-06-11 Michael Koch <konqueror@gmx.de>
4641
4642 * javax/swing/text/AbstractDocument.java,
4643 javax/swing/text/Document.java,
4644 javax/swing/text/GapContent.java,
4645 javax/swing/text/JTextComponent.java,
4646 javax/swing/text/PlainDocument.java:
4647 Reformatted.
4648
4649 2004-06-11 Michael Koch <konqueror@gmx.de>
4650
4651 * javax/swing/JRootPane.java
4652 (AccessibleJRootPane.serialVersionUID): New field.
4653 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4654 (AccessibleJRootPane.getAccessibleRole): New method.
4655 (RootLayout): Implements Serializable.
4656 (RootLayout.serialVersionUID): New field.
4657 (RootLayout.RootLayout): New constructor.
4658 (setJMenuBar): Made public.
4659 (getJMenuBar): Likewise.
4660 (JRootPane): Likewise.
4661 (createContentPane): Likewise.
4662 (createGlassPane): Likewise.
4663 (createLayeredPane): Likewise.
4664
4665 2004-06-11 Michael Koch <konqueror@gmx.de>
4666
4667 * javax/swing/SwingUtilities.java
4668 (isLeftMouseButton): Fixed javadoc.
4669 (isMiddleMouseButton): Likewise.
4670 (isRightMouseButton): Likewise.
4671
4672 2004-06-11 Michael Koch <konqueror@gmx.de>
4673
4674 * javax/swing/JScrollPane.java
4675 (serialVersionUID): New field.
4676 (columnHeader): Made protected.
4677 (rowHeader): Likewise.
4678 (lowerLeft): Likewise.
4679 (lowerRight): Likewise.
4680 (upperLeft): Likewise.
4681 (upperRight): Likewise.
4682 (horizontalScrollBar): Likewise.
4683 (horizontalScrollBarPolicy): Likewise.
4684 (verticalScrollBar): Likewise.
4685 (verticalScrollBarPolicy): Likewise.
4686 (viewport): Likewise.
4687
4688 2004-06-11 Michael Koch <konqueror@gmx.de>
4689
4690 * javax/swing/LookAndFeel.java: Fixed javadocs.
4691
4692 2004-06-11 Michael Koch <konqueror@gmx.de>
4693
4694 * javax/swing/JEditorPane.java: Fixed javadocs.
4695 (JEditorPane): Removed redundant call to to this().
4696 (fireHyperlinkUpdate): Implemented.
4697
4698 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4699
4700 * javax/swing/JMenu.java: Fixed file name
4701 in the file comment.
4702
4703 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4704
4705 * javax/swing/JMenu.java: Added javadoc.
4706 (JMenu): Added MenuChangeListener to listen to
4707 ChangeEvents occuring in menu's model.
4708 (insert): Throw IllegalArgumentException if
4709 index is less than 0
4710 (setSelected): Reimplement.
4711 (setPopupMenuVisible): Call menu's model isEnabled()
4712 (setDelay): Throw IllegalArgumentException if
4713 given amount of delay is less than 0.
4714 (createActionComponent): Implemented.
4715 (createActionChangeListener): Implemented.
4716 (addSeparator): Implemented.
4717 (getItem): Throw IllegalArgumentException if index is
4718 less than 0.
4719 (getItemCount): Implemented.
4720 (fireMenuSelected): Changed to use menuEvent.
4721 (fireMenuDeselected): Likewise.
4722 (fireMenuCanceled): Likewise.
4723 (setAccelerator): Changed to throw an error if this
4724 method is used.
4725 (doClick): Implemented.
4726 (JMenu.ActionChangedListener): New inner class to handle
4727 PropertyChangeEvents occuring in the actions associated with menu.
4728 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4729 (BasicMenuUI): Added PropertyChangeListener to the menu.
4730 (createChangeListener): Implemented.
4731 (createMenuDragMouseListener): Likewise.
4732 (createMenuKeyListener): Likewise.
4733 (createPropertyChangeListener): Likewise.
4734 (uninstallListeners): Likewise.
4735 (BasicMenuUI.MouseInputHandler): Reimplemented.
4736 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4737 (BasicMenuUI.ChangeHandler): Likewise.
4738 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4739 (BasicMenuUI.MenuKeyHandler): Likewise.
4740
4741 2004-06-10 David Jee <djee@redhat.com>
4742
4743 * java/awt/MediaTracker.java
4744 (imageUpdate): Only do notifyAll() if the image is complete.
4745
4746 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4747
4748 * javax/swing/JApplet.java:
4749 (getJMenuBar): Made public.
4750 (setJMenuBar): Likewise.
4751 * javax/swing/JFrame.java:
4752 (getJMenuBar): Made public.
4753 (setJMenuBar): Likewise.
4754 * javax/swing/JWindow.java:
4755 (getJMenuBar): Removed.
4756 (setJMenuBar): Removed.
4757
4758 2004-06-10 Michael Koch <konqueror@gmx.de>
4759
4760 * javax/swing/JEditorPane.java
4761 (createEditorKitForContentType): Fixed visibility.
4762 (fireHyperlinkUpdate): Likewise.
4763 (getContentType): Likewise.
4764 (getEditorKit): Likewise.
4765 (getEditorKitForContentType): Likewise.
4766 (getPage): Likewise.
4767 (read): Likewise.
4768 (registerEditorKitForContentTyoe): Likewise.
4769 (replaceSelection): Likewise.
4770 (setContentType): Likewise.
4771 (setEditorKit): Likewise.
4772 (setPage): Likewise.
4773
4774 2004-06-10 Michael Koch <konqueror@gmx.de>
4775
4776 * javax/swing/Timer.java
4777 (Timer): New constructor.
4778 * javax/swing/plaf/basic/BasicProgressBarUI.java
4779 (animationTimer): Don't initialize at construction.
4780 (startAnimationTimer): Added since tag.
4781 (stopAnimationTimer): Likewise.
4782 (installUI): Use new Timer constructor.
4783 * javax/swing/plaf/basic/BasicScrollBarUI.java
4784 (installUI): Likewise.
4785 * javax/swing/plaf/basic/BasicSliderUI.java
4786 (installUI): Likewise.
4787
4788 2004-06-10 Michael Koch <konqueror@gmx.de>
4789
4790 * javax/swing/ButtonGroup.java
4791 (serialVersionUID): Made private.
4792 (buttons): Renamed from v, added javadoc.
4793 (sel): Added javadoc.
4794 (ButtonGroup): Likewise.
4795 (add): Likewise.
4796 (remove): Likewise.
4797 (getElements): Likewise.
4798 (getSelection): Likewise.
4799 (setSelected): Likewise.
4800 (isSelected): Likewise.
4801 (getButtonCount): Likewise.
4802
4803 2004-06-10 Michael Koch <konqueror@gmx.de>
4804
4805 * javax/swing/ButtonGroup.java,
4806 javax/swing/ImageIcon.java,
4807 javax/swing/JEditorPane.java,
4808 javax/swing/JRootPane.java,
4809 javax/swing/JTextField.java,
4810 javax/swing/LookAndFeel.java,
4811 javax/swing/plaf/basic/BasicTextUI.java:
4812 Reindented.
4813
4814 2004-06-10 Michael Koch <konqueror@gmx.de>
4815
4816 * javax/swing/text/Style.java: Added javadocs.
4817
4818 2004-06-10 Michael Koch <konqueror@gmx.de>
4819
4820 * javax/swing/JComponent.java
4821 (fireVetoableChange): Removed redundant cast.
4822 * javax/swing/JLabel.java
4823 (getDisabledIcon): Save icon for next call.
4824
4825 2004-06-10 Michael Koch <konqueror@gmx.de>
4826
4827 * javax/swing/KeyStroke.java
4828 (getKeyStroke(char,boolean)): Marked deprecated.
4829
4830 2004-06-10 Michael Koch <konqueror@gmx.de>
4831
4832 * javax/swing/DefaultCellEditor.java,
4833 javax/swing/GrayFilter.java,
4834 javax/swing/event/DocumentEvent.java,
4835 javax/swing/text/JTextComponent.java,
4836 javax/swing/text/MutableAttributeSet.java:
4837 Reindented.
4838
4839 2004-06-10 Michael Koch <konqueror@gmx.de>
4840
4841 * javax/swing/plaf/BorderUIResource.java:
4842 Added serialVersionUID all over.
4843
4844 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
4845
4846 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4847
4848 2004-06-10 Michael Koch <konqueror@gmx.de>
4849
4850 * javax/swing/table/DefaultTableCellRenderer.java
4851 (noFocusBorder): Initialize directly.
4852
4853 2004-06-10 Michael Koch <konqueror@gmx.de>
4854
4855 * javax/swing/plaf/basic/BasicArrowButton.java
4856 (setDirection): Use method argument.
4857
4858 2004-06-10 Michael Koch <konqueror@gmx.de>
4859
4860 * javax/swing/plaf/BorderUIResource.java,
4861 javax/swing/plaf/ComponentUI.java,
4862 javax/swing/undo/CompoundEdit.java,
4863 javax/swing/undo/StateEdit.java:
4864 Fixed javadocs all over.
4865
4866 2004-06-10 Michael Koch <konqueror@gmx.de>
4867
4868 * javax/swing/DefaultButtonModel.java
4869 (ARMED): Made public final, fixed value.
4870 (ENABLED): Likewise.
4871 (PRESSED): Likewise.
4872 (ROLLOVER): Likewise.
4873 (SELECTED): Likewise.
4874 (stateMask): Initialize directly.
4875 (listenerList): Likewise.
4876 (mnemonic): Likewise.
4877 (fireStateChanged): Removed argument, use changeEvent as event.
4878 All places where this method is called are fixed too.
4879 (getActionCommant): Fixed javadoc.
4880 (setGroup): Fixed javadoc.
4881 (getGroup): New method.
4882
4883 2004-06-09 Olga Rodimina <rodimina@redhat.com>
4884
4885 * javax/swing/AbstractButton.java
4886 (AbstractButton): Use init() to initialize the button.
4887 (init): New Method. Initializes AbstractButton.
4888 * javax/swing/JMenuItem.java: Documented.
4889 (JMenuItem): Reimplemented.
4890 (init): Implemented.
4891 (setEnabled): Changed to call super.setEnabled()
4892 (processMouseEvent): Reimplemented.
4893 (fireMenuKeyPressed): Implemented.
4894 (fireMenuKeyReleased): Implemented.
4895 (fireMenuKeyTyped): Implemented.
4896 (menuSelectionChanged): disarm the model if the menu item was
4897 deselected.
4898 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
4899 (getPath): Change to use ArrayList instead of Vector.
4900 (getPreferredSize): Renamed variable.
4901 (paintMenuItem): Paint margin area of menu item.
4902 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
4903 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
4904 menu item's bounds before clearing the selection.
4905
4906 2004-06-09 David Jee <djee@redhat.com>
4907
4908 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4909 (GtkTextComponentPeer): Set caret position to 0.
4910 * java/awt/TextComponent.java
4911 (setText): Set caret position to 0.
4912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4913 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
4914 Handle GtkScrolledWindow separately. Fix signal handler blocking.
4915 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
4916 Likewise.
4917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4918 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
4919 visible.
4920
4921 2004-06-09 Kim Ho <kho@redhat.com>
4922
4923 * Makefile.am: New files
4924 * Makefile.in: Regenerated
4925 * java/awt/Container.java
4926 (getComponentAt): Removed.
4927 * javax/swing/AbstractAction.java
4928 (ENABLED_PROPERTY): New property.
4929 (putValue): Fire PropertyChangeEvents.
4930 (setEnabled): ditto.
4931 (firePropertyChange): Javadoc and implement
4932 convenience method.
4933 * javax/swing/AbstractButton.java
4934 (setAction): Don't create PropertyChangeListener
4935 if new Action is null.
4936 (setIcon): Don't set icon till after comparing
4937 it.
4938 (configurePropertiesFromAction): Check mnemonic
4939 key before calling intValue().
4940 (createActionPropertyChangeListener): Check
4941 properties rather than bulk change.
4942 * javax/swing/DefaultDesktopManager.java:
4943 Implement.
4944 * javax/swing/DesktopManager.java:
4945 Jalopy and javadoc.
4946 * javax/swing/JComponent.java
4947 (fireVetoableChange): Implement.
4948 (paintImmediately): Use root component.
4949 * javax/swing/JDesktopPane.java: Implement
4950 * javax/swing/JInternalFrame.java: Implement
4951 * javax/swing/JLabel.java
4952 (getDisabledIcon): Return grayscaled icon if
4953 no disabled icon specified.
4954 * javax/swing/JMenuBar.java
4955 (getComponentAtIndex): Use getComponent
4956 * javax/swing/JOptionPane.java
4957 (getDesktopPaneForComponent): Use SwingUtilities'
4958 getAncestorOfClass
4959 (getFrameForComponent): ditto.
4960 * javax/swing/JSplitPane.java
4961 (remove): Use getComponent.
4962 * javax/swing/SwingUtilities.java
4963 (convertPoint): Implement.
4964 * javax/swing/plaf/basic/BasicButtonUI.java
4965 (paintButtonNormal): Check opaqueness before
4966 filling background.
4967 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
4968 Implement
4969 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
4970 Implement.
4971 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
4972 Implement.
4973 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4974 Implement.
4975 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4976 Change InternalFrame and Desktop colors.
4977
4978 2004-06-09 David Jee <djee@redhat.com>
4979
4980 * java/awt/Container.java
4981 (remove): Do not set component to invisible.
4982
4983 2004-06-09 Michael Koch <konqueror@gmx.de>
4984
4985 * javax/swing/tree/DefaultMutableTreeNode.java
4986 (getLeafCount): Renamed enum to e.
4987
4988 2004-06-09 Michael Koch <konqueror@gmx.de>
4989
4990 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
4991 (positionForMouseEvent): Removed redundant semicolon.
4992 (continueDrag): Use method arguments.
4993
4994 2004-06-09 Michael Koch <konqueror@gmx.de>
4995
4996 * javax/swing/border/TitledBorder.java,
4997 javax/swing/filechooser/FileSystemView.java,
4998 javax/swing/plaf/basic/BasicButtonListener.java,
4999 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5000 javax/swing/plaf/basic/BasicLabelUI.java,
5001 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5002 javax/swing/plaf/basic/BasicScrollBarUI.java,
5003 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5004 javax/swing/plaf/basic/BasicSliderUI.java,
5005 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5006 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5007 javax/swing/table/JTableHeader.java,
5008 javax/swing/text/AbstractDocument.java,
5009 javax/swing/text/DefaultCaret.java,
5010 javax/swing/text/StyledEditorKit.java,
5011 javax/swing/tree/DefaultTreeCellEditor.java:
5012 Reworked import statements.
5013
5014 2004-06-08 Graydon Hoare <graydon@redhat.com>
5015
5016 * javax/swing/Box.java: Temporarily comment out code
5017 broken due to visibility bug.
5018
5019 2004-06-09 Michael Koch <konqueror@gmx.de>
5020
5021 * javax/swing/ImageIcon.java
5022 (ImageIcon): Added missing constructor.
5023
5024 2004-06-08 Michael Koch <konqueror@gmx.de>
5025
5026 * javax/swing/JToggleButton.java
5027 (JToggleButton): New constructor.
5028 (getAccessibleContext): Moved documentation into javadoc.
5029 (getUIClassID): Likewise.
5030
5031 2004-06-08 Michael Koch <konqueror@gmx.de>
5032
5033 * javax/swing/AbstractButton.java
5034 (getDisabledIcon): Create disabled icon if none exists yet.
5035
5036 2004-06-08 Michael Koch <konqueror@gmx.de>
5037
5038 * javax/swing/plaf/basic/BasicLookAndFeel.java
5039 (initClassDefaults): Added FormattedTextFieldUI.
5040 (loadResourceBundle): Renamed enum to e.
5041
5042 2004-06-08 Michael Koch <konqueror@gmx.de>
5043
5044 * javax/swing/plaf/basic/BasicButtonUI.java
5045 (paintIcon): Simplified.
5046 (paintText): Paint disabled button correctly.
5047
5048 2004-06-08 Michael Koch <konqueror@gmx.de>
5049
5050 * javax/swing/JComponent.java
5051 (createToolTip): Use official JToolTip API.
5052
5053 2004-06-08 Michael Koch <konqueror@gmx.de>
5054
5055 * javax/swing/JToolTip.java
5056 (JToolTip): No arguments in API.
5057 (setTipText): New method.
5058
5059 2004-06-08 Michael Koch <konqueror@gmx.de>
5060
5061 * javax/swing/SwingUtilities.java
5062 (isLeftMouseButton): New method.
5063 (isMiddleMouseButton): New method.
5064 (isRightMouseButton): New method.
5065
5066 2004-06-08 Michael Koch <konqueror@gmx.de>
5067
5068 * javax/swing/AbstractButton.java,
5069 javax/swing/CellRendererPane.java,
5070 javax/swing/JCheckBoxMenuItem.java,
5071 javax/swing/JColorChooser.java,
5072 javax/swing/JComboBox.java,
5073 javax/swing/JComponent.java,
5074 javax/swing/JDesktopPane.java,
5075 javax/swing/JFileChooser.java,
5076 javax/swing/JMenu.java,
5077 javax/swing/JMenuItem.java,
5078 javax/swing/JOptionPane.java,
5079 javax/swing/JPasswordField.java,
5080 javax/swing/JPopupMenu.java,
5081 javax/swing/JProgressBar.java,
5082 javax/swing/JRadioButtonMenuItem.java,
5083 javax/swing/JScrollBar.java,
5084 javax/swing/JSeparator.java,
5085 javax/swing/JSlider.java,
5086 javax/swing/JSplitPane.java,
5087 javax/swing/JTabbedPane.java,
5088 javax/swing/JTextField.java,
5089 javax/swing/JToolBar.java,
5090 javax/swing/text/JTextComponent.java:
5091 Fixed all constructors of accessibility classes.
5092
5093 2004-06-08 Michael Koch <konqueror@gmx.de>
5094
5095 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5096 over.
5097
5098 2004-06-08 Michael Koch <konqueror@gmx.de>
5099
5100 * javax/swing/Box.java
5101 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5102 (AccessibleBoxFiller.serialVersionUID): New member variable.
5103 * javax/swing/DefaultButtonModel.java
5104 (stateMask): Made protected.
5105 (listenerList): Likewise.
5106 (changeEvent): Likewise.
5107 (group): Likewise.
5108 (mnemonic): Likewise.
5109 (actionCommand): Likewise.
5110 (getListeners): New method.
5111 (getActionListeners): New method.
5112 (getItemListeners): New method.
5113 (getChangeListeners): New method.
5114 (fireItemStateChanged): Simplified.
5115 (fireActionPerformed): Simplified.
5116 (fireStateChanged): Simplified.
5117 * javax/swing/JFrame.java
5118 (JFrame): Implements WindowContants.
5119 (HIDE_ON_CLOSE): Removed.
5120 (EXIT_ON_CLOSE): Removed.
5121 (DISPOSE_ON_CLOSE): Removed.
5122 (DO_NOTHING_ON_CLOSE): Removed.
5123 (processWindowEvent): Exit with code 0.
5124 (setDefaultCloseOperation): Do security check before setting value.
5125 * javax/swing/JOptionPane.java
5126 (message): Initialize only in constructor.
5127 * javax/swing/JToolTip.java: Removed unused imports.
5128 * javax/swing/JViewport.java
5129 (serialVersionUID): New member variable.
5130 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5131 (BLIT_SCROLL_MODE): Likewise.
5132 (BACKINGSTORE_SCROLL_MODE): Likewise.
5133 (scrollUnderway): Made protected.
5134 (isViewSizeSet): Likewise.
5135 * javax/swing/ListModel.java: Fixed javadoc.
5136 * javax/swing/Popup.java: Likewise.
5137 * javax/swing/RepaintManager.java
5138 (paintDirtyRegions): Don't use internal classes of
5139 java.util.AbstractMap.
5140 * javax/swing/ScrollPaneConstants.java: Reindented.
5141 * javax/swing/ScrollPaneLayout.java
5142 (viewport): Made protected.
5143 (verticalScrollBar): Made protected, renamed to vsb.
5144 (horizontalScrollBar): Made protected, renamed to hsb.
5145 (rowHeader): Made protected, renamed to rowHead.
5146 (columnHeader): Made protected, renamed to colHead.
5147 (lowerLeft): Made protected.
5148 (lowerRight): Made protected.
5149 (upperLeft): Made protected.
5150 (upperRight): Made protected.
5151 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5152 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5153
5154 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5155
5156 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5157 LOADING if flags has SOMEBITS set.
5158
5159 2004-06-07 Michael Koch <konqueror@gmx.de>
5160
5161 * javax/swing/AbstractButton.java: Reorganized imports.
5162 * javax/swing/ActionMap.java: Likewise.
5163 * javax/swing/DefaultButtonModel.java: Likewise.
5164 * javax/swing/DefaultListModel.java: Likewise.
5165 * javax/swing/ImageIcon.java: Likewise.
5166 (serialVersionUID): New member variable.
5167 * javax/swing/JComboBox.java: Reorganized imports.
5168 * javax/swing/JComponent.java: Likewise.
5169 (ui): Made protected.
5170 (listenerList): Made protected.
5171 (TOOL_TIP_TEXT_KEY): New constant.
5172 (scrollRectToVisible): Removed redundant null check.
5173 * javax/swing/JFrame.java: Reorganized imports.
5174 * javax/swing/JInternalFrame.java: Reorganized imports.
5175 * javax/swing/JProgressBar.java: Likewise.
5176 * javax/swing/JRootPane.java: Likewise.
5177 * javax/swing/JScrollBar.java: Likewise.
5178 * javax/swing/JSeparator.java: Likewise.
5179 * javax/swing/JSlider.java: Likewise.
5180 * javax/swing/JTabbedPane.java: Likewise.
5181 * javax/swing/JTextField.java: Likewise.
5182 * javax/swing/JToolBar.java: Likewise.
5183 * javax/swing/JTree.java: Likewise.
5184 * javax/swing/JViewport.java: Likewise.
5185 * javax/swing/JWindow.java: Likewise.
5186 * javax/swing/KeyStroke.java: Likewise.
5187 * javax/swing/LookAndFeel.java: Likewise.
5188 * javax/swing/MenuSelectionManager.java: Likewise.
5189 * javax/swing/SwingUtilities.java: Likewise.
5190 * javax/swing/Timer.java: Likewise.
5191 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5192 * javax/swing/JList.java
5193 (HORIZONTAL_WRAP): Made final, fixed value.
5194 (VERTICAL): Likewise.
5195 (VERTICAL_WRAP): Likewise.
5196
5197 2004-06-07 Michael Koch <konqueror@gmx.de>
5198
5199 * javax/swing/AbstractButton.java
5200 (serialVersionUID): New member variable.
5201 (AccessibleAbstractButton.serialVersionUID): Likewise.
5202 (AbstractButton): Made public.
5203 * javax/swing/Box.java
5204 (AccessibleBox.serialVersionUID): New member variable.
5205 (Filler.serialVersionUID): Likewise.
5206 * javax/swing/DefaultListSelectionModel.java
5207 (serialVersionUID): Likewise.
5208 * javax/swing/JApplet.java
5209 (serialVersionUID): Likewise.
5210 * javax/swing/JCheckBox.java
5211 (serialVersionUID): Likewise.
5212 * javax/swing/JCheckBoxMenuItem.java
5213 (serialVersionUID): Likewise.
5214 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5215 * javax/swing/JColorChooser.java
5216 (serialVersionUID): Likewise.
5217 (AccessibleJColorChooser.serialVersionUID): Likewise.
5218 * javax/swing/JComponent.java
5219 (serialVersionUID): Made private.
5220 (AccessibleJComponent.serialVersionUID): New member variable.
5221 * javax/swing/JDesktopPane.java
5222 (serialVersionUID): Likewise.
5223 * javax/swing/JDialog.java
5224 (serialVersionUID): Likewise.
5225 * javax/swing/JFormattedTextField.java
5226 (serialVersionUID): Fixed value.
5227 * javax/swing/JFrame.java
5228 (serialVersionUID): New member variable.
5229 (getDefaultCloseOpertation): Made public.
5230 * javax/swing/JLayeredPane.java
5231 (serialVersionUID): Likewise.
5232 (LAYER_PROPERTY): Made final, fixed value.
5233 (JLayeredPane): Made public.
5234 * javax/swing/JMenu.java
5235 (AccessibleJMenu.serialVersionUID): New member variable.
5236 (WinListener.serialVersionUID): Likewise.
5237 * javax/swing/JMenuBar.java
5238 (serialVersionUID): Likewise.
5239 (getComponentAtIndex): Added @deprecated tag.
5240 * javax/swing/JMenuItem.java
5241 (serialVersionUID): New member variable.
5242 (AccessibleJMenuItem.serialVersionUID): Likewise.
5243 * javax/swing/JOptionPane.java
5244 (serialVersionUID): Likewise.
5245 (AccessibleJOptionPane.serialVersionUID): Likewise.
5246 * javax/swing/JPopupMenu.java
5247 (serialVersionUID): Likewise.
5248 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5249 (getPopupMenuListeners): New method.
5250 (getComponentAtIndex): Added @deprecated tag.
5251 * javax/swing/JProgressBar.java
5252 (serialVersionUID): New member variable.
5253 (AccessibleJProgressBar.serialVersionUID): Likewise.
5254 * javax/swing/JRadioButton.java
5255 (serialVersionUID): Likewise.
5256 * javax/swing/JRadioButtonMenuItem.java
5257 (serialVersionUID): Likewise.
5258 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5259 * javax/swing/JScrollBar.java
5260 (serialVersionUID): Likewise.
5261 (AccessibleJScrollBar.serialVersionUID): Likewise.
5262 * javax/swing/JSeparator.java
5263 (serialVersionUID): Likewise.
5264 (AccessibleJSeparator.serialVersionUID): Likewise.
5265 * javax/swing/JSlider.java: Fixed javadocs.
5266 (AccessibleJSlider.serialVersionUID): New member variable.
5267 * javax/swing/JSplitPane.java: Added copyright statement.
5268 (serialVersionUID): New member variable.
5269 (AccessibleJSplitPane.serialVersionUID): Likewise.
5270 * javax/swing/JTabbedPane.java
5271 (serialVersionUID): Likewise.
5272 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5273 (ModelListener.serialVersionUID): Likewise.
5274 (ModelListener.ModelListener): New constructor.
5275 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5276 (WRAP_TAB_LAYOUT): Likewise.
5277 * javax/swing/JTable.java
5278 (serialVersionUID): New member variable.
5279 * javax/swing/JToggleButton.java
5280 (serialVersionUID): Likewise.
5281 (ToggleButtonModel): Made static.
5282 (ToggleButtonModel.serialVersionUID): New member variable.
5283 * javax/swing/JToolTip.java
5284 (serialVersionUID): Likewise.
5285 * javax/swing/JTree.java
5286 (serialVersionUID): Likewise.
5287 * javax/swing/JWindow.java
5288 (serialVersionUID): Likewise.
5289 * javax/swing/Timer.java
5290 (serialVersionUID): Likewise.
5291
5292 2004-06-06 Michael Koch <konqueror@gmx.de>
5293
5294 * javax/swing/SwingConstants.java
5295 (NEXT): New constant.
5296 (PREVIOUS): Likewise.
5297 * javax/swing/UIManager.java
5298 (LookAndFeel): Made public.
5299 (LookAndFeel.getClassName): Likewise.
5300 (LookAndFeel.getName): Likewise.
5301
5302 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5303
5304 * javax/swing/JCheckBoxMenuItem.java:
5305 Removed CVS tags.
5306 * javax/swing/JMenu.java: Likewise.
5307 * javax/swing/JMenuBar.java: Likewise.
5308 * javax/swing/JMenuItem.java: Likewise.
5309 * javax/swing/JPopupMenu.java: Likewise.
5310 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5311 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5312 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5313 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5314 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5315 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5316 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5317
5318 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5319
5320 * javax/swing/plaf/basic/BasicMenuUI.java:
5321 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5322 Call getPath() from super class instead.
5323
5324 2004-05-31 David Jee <djee@redhat.com>
5325
5326 * java/awt/Container.java
5327 (remove): Set component visibility to false after removing it.
5328
5329 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5330
5331 * java/awt/Component.java (getForeground): Return SystemColor if
5332 parent is null.
5333 (getBackground): Likewise.
5334
5335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5336 (item_highlighted): New function.
5337 (connectSignals): Set item_highlighted as list's select
5338 function.
5339
5340 * java/applet/Applet.java: Revert changes from 2004-04-29,
5341 2004-03-15 and 2004-03-14.
5342
5343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5344 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5345 factor.
5346
5347 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5348 "Dialog" as the default font.
5349 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5350 Likewise.
5351 * java/awt/Component.java (getFont): Return "Dialog" font by
5352 default.
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5354 Multiply size argument to pango_font_description_set_size by the
5355 DPI conversion factor rather than by PANGO_SCALE.
5356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5366 Divide baseline y coordinate by DPI conversion factor rather
5367 than by PANGO_SCALE.
5368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5369 (area_prepared): Fix typo.
5370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5371 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5373 (dpi_conversion_factor): New global variable.
5374 (init_dpi_conversion_factor): New function to calculate and
5375 track DPI conversion factor.
5376 (dpi_changed_cb): New callback.
5377 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5378
5379 2004-05-27 David Jee <djee@redhat.com>
5380
5381 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5382 (getGraphics): Return a new GdkGraphics instance.
5383 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5384 (getGraphics): Call super.getGraphics().
5385
5386 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5387
5388 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5389 (setNativeBounds): Clamp width and height values to >= 0.
5390
5391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5392 (find_fg_color_widget): Handle GtkOptionMenu specially.
5393
5394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5395 (pre_event_handler): Only post configure events to visible
5396 top-level windows.
5397
5398 2004-05-26 David Jee <djee@redhat.com>
5399
5400 * java/awt/BorderLayout.java
5401 (layoutContainer): Fix size calculations.
5402
5403 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5404
5405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5406 (window_wm_protocols_filter): Remove function.
5407 (create): Remove filter that removes WM_TAKE_FOCUS client
5408 messages.
5409
5410 2004-06-17 Anthony Green <green@redhat.com>
5411
5412 * java/util/zip/ZipFile.java (getInputStream): Return null if
5413 entry not found.
5414
5415 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5416 directory contents to the class path.
5417
5418 2004-06-15 Andrew Haley <aph@redhat.com>
5419
5420 * java/lang/natSystem.cc (getenv0): Don't assume environment
5421 variable is Latin 1 coded.
5422
5423 2004-06-14 Andreas Jaeger <aj@suse.de>
5424
5425 * configure.in: Support --enable-version-specific-runtime-libs.
5426 * configure: Regenerated.
5427
5428 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5429
5430 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5431 to pass ClassLoader argument.
5432 * java/util/GregorianCalendar.java: Likewise.
5433 * java/util/Currency.java: Likewise.
5434 * java/text/BreakIterator.java: Likewise.
5435 * java/text/Collator.java: Likewise.
5436 * java/text/DateFormat.java: Likewise.
5437 * java/text/DateFormatSymbols.java: Likewise.
5438 * java/text/DecimalFormatSymbols.java: Likewise.
5439 * java/text/NumberFormat.java: Likewise.
5440 * java/awt/Window.java: Likewise.
5441
5442 2004-06-14 Andrew Haley <aph@redhat.com>
5443
5444 * java/lang/System.java: (getenv0): New method.
5445 (getenv): Add security check. Do the right thing.
5446 * java/lang/natSystem.cc (getenv0): New method.
5447
5448 2004-06-12 Mark Wielaard <mark@klomp.org>
5449
5450 * javax/swing/RepaintManager.java
5451 (paintDirtyRegions): Use entrySet(), not values().
5452
5453 2004-06-10 Mark Wielaard <mark@klomp.org>
5454
5455 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5456 NoSuchMethodError.
5457
5458 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5459
5460 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5461 when we already know the answer.
5462 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5463 (setStartRule,setEndRule): Don't take abs of day number.
5464 (getOffset): Clarify docs. Add argument checks.
5465 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5466 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5467 endTimeMode.
5468
5469 2004-06-10 Tom Tromey <tromey@redhat.com>
5470
5471 * interpret.cc (run): Handle wide fload.
5472
5473 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5474
5475 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5476
5477 2004-06-05 Michael Koch <konqueror@gmx.de>
5478
5479 * javax/swing/SwingConstants.java
5480 (NEXT): New constant.
5481 (PREVIOUS): Likewise.
5482
5483 2004-06-05 Michael Koch <konqueror@gmx.de>
5484
5485 * javax/swing/UIManager.java
5486 (LookAndFeel): Made public.
5487 (LookAndFeel.getName): Likewise.
5488 (LookAndFeel.getClassName): Likewise.
5489
5490 2004-06-03 Michael Koch <konqueror@gmx.de>
5491
5492 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5493 (requestFocus): Revert last changes.
5494 (gtkRequestFocus): Removed.
5495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5496 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5497 Renamed to ...
5498 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5499 Reverted last patch.
5500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5501 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5502 Reverted comment change.
5503
5504 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5505
5506 * javax/swing/JCheckBoxMenuItem.java:
5507 Removed CVS tags.
5508 * javax/swing/JMenu.java: Likewise.
5509 * javax/swing/JMenuBar.java: Likewise.
5510 * javax/swing/JMenuItem.java: Likewise.
5511 * javax/swing/JPopupMenu.java: Likewise.
5512 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5513 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5514 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5515 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5516 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5517 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5518 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5519
5520 2004-06-01 Tom Tromey <tromey@redhat.com>
5521
5522 * java/io/ObjectStreamField.java: Cleaned up imports.
5523
5524 2004-06-01 Michael Koch <konqueror@gmx.de>
5525
5526 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5527
5528 2004-06-01 Mark Wielaard <mark@klomp.org>
5529
5530 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5531
5532 2004-06-01 Michael Koch <konqueror@gmx.de>
5533
5534 * java/security/Security.java
5535 (insertProviderAt): Use equals() instead of ==.
5536 (removeProvicer): Likewise.
5537 (getProvider): Likewise.
5538 * java/security/Signature.java
5539 (sign): Don't set state to UNINITIALIZED.
5540 (verify): Likewise.
5541
5542 2004-06-01 Mark Wielaard <mark@klomp.org>
5543
5544 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5545 Implement by calling gtkRequestFocus.
5546 (gtkRequestFocus): New native method.
5547 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5548 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5549 Renamed to ...
5550 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5551 New function name.
5552 (filter_expose_event_handler):
5553 Mark static.
5554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5555 (menu_pos): Mark static.
5556
5557 2004-06-01 Michael Koch <konqueror@gmx.de>
5558
5559 * java/text/CollationElementIterator.java,
5560 java/text/CollationKey.java,
5561 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5562 * testsuite/libjava.mauve/xfails: Removed all
5563 java.text.CollationElementIterator tests.
5564
5565 2004-06-01 Michael Koch <konqueror@gmx.de>
5566
5567 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5568 version.
5569 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5570 Java 1.5 keyword usage.
5571
5572 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5573
5574 * javax/swing/plaf/basic/BasicMenuUI.java:
5575 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5576 Call getPath() from super class instead.
5577
5578 2004-05-31 Michael Koch <konqueror@gmx.de>
5579
5580 * java/io/SequenceInputStream.java:
5581 Rename enum to e because enum is a keyword in Java 1.5.
5582
5583 2004-05-31 Michael Koch <konqueror@gmx.de>
5584
5585 * gnu/java/rmi/rmic/CompilerProcess.java:
5586 Fixed javadoc to by XHTML compliant.
5587
5588 2004-05-30 Mark Wielaard <mark@klomp.org>
5589
5590 * java/awt/Toolkit.java (loadSystemColors): Implement.
5591
5592 2004-05-30 Michael Koch <konqueror@gmx.de>
5593
5594 * java/lang/System.java: Reordered imports.
5595
5596 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5597
5598 * java/text/DecimalFormat.java
5599 (parse): Fixed parsing of decimal strings. Number of maximum
5600 digits to be read should now work.
5601 * java/text/SimpleDateFormat.java
5602 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5603 formatter. This fixes DateFormatTest.
5604
5605 2004-05-30 Michael Koch <konqueror@gmx.de>
5606
5607 * java/nio/Buffer.java
5608 (limit): Fixed off by one error.
5609 * java/nio/CharBuffer.java
5610 (wrap): Fixed arguments, added javadocs.
5611
5612 2004-05-30 Michael Koch <konqueror@gmx.de>
5613
5614 * gnu/java/beans/BeanInfoEmbryo.java,
5615 java/awt/im/InputContext.java,
5616 javax/swing/tree/DefaultMutableTreeNode.java:
5617 Rename enum to e because enum is a keyword in Java 1.5.
5618
5619 2004-05-30 Michael Koch <konqueror@gmx.de>
5620
5621 * gnu/java/math/MPN.java,
5622 java/awt/geom/Arc2D.java:
5623 Fixed javadocs all over.
5624
5625 2004-05-30 Michael Koch <konqueror@gmx.de>
5626
5627 * java/awt/DefaultKeyboardFocusManager.java
5628 (dispatchEvent): Call method to get key event dispatchers.
5629 (dispatchKeyEvent): Call method to get key event post processors.
5630 * javax/swing/JComponent.java
5631 (listenerList): Made protected.
5632 * javax/swing/JOptionPane.java
5633 (message): Don't initialize.
5634 (JOptionPane): Set message text.
5635 * javax/swing/JPopupMenu.java
5636 (show): Fixed typo in argument name.
5637 * javax/swing/RepaintManager.java
5638 (paintDirtyRegions): Use public API of java.util.Map.
5639 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5640 (positionForMouseEvent): Removed redundant ';'.
5641 (continueDrag): Use method arguments.
5642
5643 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5644
5645 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5646 results.
5647
5648 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5649
5650 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5651 _Jv_AllocBytes.
5652 * gnu/gcj/RawDataManaged.java: New file.
5653 * java/lang/Thread.java (data): Declare as RawDataManaged.
5654 * java/lang/natThread.cc (init_native): Cast natThread data to
5655 RawDataManaged, not jobject.
5656 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5657 * Makefile.in: Rebuilt.
5658
5659 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5660
5661 * java/util/SimpleTimeZone.java: Reverting my last change until I
5662 can fix it properly.
5663
5664 2004-05-27 Michael Koch <konqueror@gmx.de>
5665
5666 * javax/swing/JPopupMenu.java
5667 (isVisible): Do not use visible directly.
5668 (setVisible): Likewise.
5669 * javax/swing/JWindow.java
5670 (JWindow): call accessible constructor.
5671 * javax/swing/RepaintManager.java
5672 (paintDirtyRegions): Use public methods to obtain iterator.
5673
5674 2004-05-25 David Jee <djee@redhat.com>
5675
5676 * java/awt/Container.java
5677 (remove): Set component's parent to null only after we removed the
5678 component from its parent's layout manager.
5679
5680 2004-05-25 David Jee <djee@redhat.com>
5681
5682 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5683 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5684 is valid.
5685 * gnu/java/awt/peer/gtk/GtkListPeer.java
5686 (getSize): Change native method declaration.
5687 (minimumSize): Pass visible row count into getSize().
5688 (preferredSize): Likewise.
5689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5690 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5691 natural size. Use visible row count to determine the final height
5692 value to return.
5693
5694 2004-05-21 Graydon Hoare <graydon@redhat.com>
5695
5696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5697 (setClip): Minor correction to order of operations.
5698
5699 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5700 * javax/swing/ScrollPaneLayout.java: Likewise.
5701 * javax/swing/JViewPort.java: Likewise.
5702 * javax/swing/ViewportLayout.java: Likewise.
5703
5704 * javax/swing/JComponent.java: Rewrite.
5705 * javax/swing/RepaintManager.java: Likewise.
5706
5707 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5708 * javax/swing/JList.java
5709 (setSelectedIndices):
5710 (getSelectedIndices):
5711 (getSelectedValues): New functions.
5712 (getPreferredScrollableViewportSize): Return preferred size.
5713 (getScrollableUnitIncrement):
5714 (getScrollableBlockIncrement): Initial implementations.
5715 * javax/swing/JRootPane.java: Clean up slightly.
5716 (getUI):
5717 (setUI):
5718 (updateUI):
5719 (getUIClassID):
5720 (isValidateRoot): Add overrides from JComponent.
5721 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5722 * javax/swing/UIManager.java (getDimension): Return the dimension.
5723
5724 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5725 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5726 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5727 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5728 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5729 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5730 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5731 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5732 Likewise, and set background.
5733 * javax/swing/plaf/basic/BasicListUI.java:
5734 Likewise, and improve a bit.
5735 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5736 Likewise, and adjust calculations.
5737 * javax/swing/plaf/basic/BasicViewportUI.java:
5738 Likewise, and improve a bit.
5739 * javax/swing/plaf/basic/BasicLookAndFeel.java
5740 (Button.margin): Shrink.
5741
5742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5743 Hack to set horizontal always, workaround pango.
5744
5745 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5747 Synchronize more often, check cairo status after ops,
5748 handle changes to cairo pattern API, check for disposal.
5749
5750 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5751
5752 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5753 (BasicMenuItemUI): Create propertyChangeListener.
5754 (getPath):Implemented.
5755 (installListeners): Add propertyChangeListener to menuItem.
5756 (uninstallListeners): Remove propertyChangeListener from menuItem.
5757 (update): Implemented.
5758 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5759 (mouseEntered): Take insets of popup menu into account when
5760 calculating position of popup menu.
5761
5762 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5763
5764 * Makefile.am: Added new file.
5765 * Makefile.in: Regenerate.
5766 * javax/swing/JMenuBar.java:
5767 Started implementation.
5768 * javax/swing/JPopupMenu.java:
5769 (setVisible): Fixed location of lightweight/mediumweight
5770 popup menu.
5771 (show): Fixed location of PopupMenu.
5772 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5773 New file. UI Delegate for JMenuBar.
5774 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5775 (mouseEntered): Corrected position of the submenu.
5776
5777 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5778
5779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5780 to _gtk_accel_group_attach.
5781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5782 Likewise.
5783
5784 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5785 package access. Don't override setFont.
5786 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5787 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5788 gtkWidgetRequestFocus package access.
5789 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5790 setFont.
5791 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5792 Give gtkWidgetRequestFocus package access.
5793 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5794 gtkWidgetRequestFocus package access. Don't override setFont.
5795 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5796 setFont.
5797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5798 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5799 region.
5800 (gtkSetFont): Likewise.
5801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5802 Implement.
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5804 (gtkSetFont): Whitespace fix.
5805
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5807 (gtkWidgetSetUsize): Remove method.
5808
5809 2004-05-18 David Jee <djee@redhat.com>
5810
5811 * java/awt/image/MemoryImageSource.java
5812 (newPixels(int,int,int,int,boolean)): Set only the specified
5813 rectangle of pixels.
5814 (newPixels(byte[],ColorModel,int,int)): Implement.
5815 (newPixels(int[],ColorModel,int,int)): Implement.
5816
5817 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5818
5819 * Makefile.am: Added new file.
5820 * Makefile.in: Regenerate.
5821 * javax/swing/JMenu.java: Started
5822 implementation.
5823 * javax/swing/JPopupMenu.java:
5824 (insert): If specified index is -1, then
5825 add component at the end.
5826 (isPopupTrigger): Reimplemented.
5827 (JPopupMenu.LightWeightPopup): setBounds
5828 of the lightWeightPopup before adding it
5829 to the layeredPane.
5830 (javax/swing/plaf/basic/BasicIconFactory.java):
5831 (getMenuArrowIcon): Implemented.
5832 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5833 (getPreferredSize): Add size of the arrow icon
5834 if this menu item is instance of JMenu.
5835 (paintMenuItem): Paint arrow icon if this
5836 menu item is a submenu.
5837 * javax/swing/plaf/basic/BasicMenuUI.java:
5838 New File. UI Delegate for JMenu.
5839
5840 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5841
5842 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5843 Post KEY_TYPED events.
5844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5845 (generates_key_typed_event): Remove function.
5846
5847 2004-05-17 Olga Rodimina <rodimina@redhat.com>
5848
5849 * javax/swing/JRootPane.java
5850 (JRootPane.RootLayout): Reimplemented to
5851 set bounds of contentPane and menuBar.
5852 (setJMenuBar): Add menu bar to the layered pane.
5853 (createLayeredPane): Set layout of layeredPane
5854 to null.
5855 * javax/swing/JLayeredPane.java:
5856 (addImpl): Calculate index of the component in the
5857 layeredPane according to the specified position within
5858 the layer.
5859
5860 2004-05-17 David Jee <djee@redhat.com>
5861
5862 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5863 (setPixels): Change color model to the default model after
5864 converting pixels.
5865 * java/awt/image/MemoryImageSource.java
5866 (newPixels): Set only the specified rectangle of pixels.
5867
5868 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5869
5870 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5871 -l-java-beans -l-javax-accessibility -l-javax-swing.
5872
5873 * java/awt/AWTEvent.java (toString): Print source's name rather
5874 than the source itself.
5875
5876 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5877
5878 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5879 native.
5880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5881 (gdk_color_to_java_color): New function.
5882 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5883
5884 2004-05-12 David Jee <djee@redhat.com>
5885
5886 * java/awt/image/RGBImageFilter.java:
5887 Initialize origmodel as null.
5888 (makeColor): Fix pixel component order.
5889 (filterRGBPixels): Fix pixel iteration.
5890 (setPixels): Add extra checks for index color model. Convert pixels
5891 to default color model if necessary.
5892 (convertColorModelToDefault): New override method for byte pixels.
5893 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5894 (makeColorbyDefaultCM): New override method for byte pixels.
5895 (makeColorbyDefaultCM): For int pixel, add color model as argument.
5896 (makeColor): Fix pixel component order.
5897
5898 2004-05-11 Kim Ho <kho@redhat.com>
5899
5900 * javax/swing/Box.java:
5901 Comment out more parts of Box.Filler.
5902
5903 2004-05-11 Kim Ho <kho@redhat.com>
5904
5905 * javax/swing/Box.java:
5906 Remove reference to AccessibleAWTComponent so
5907 it compiles again.
5908
5909 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
5910
5911 * gnu/java/awt/peer/gtk/GtkListPeer.java,
5912 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
5913 implementation of list peer to use GtkTreeView instead of
5914 deprecated GtkCList.
5915
5916 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5917
5918 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5919 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
5920 (handleEvent): Remove keyChar argument to
5921 gtkWidgetDispatchKeyEvent calls.
5922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
5923 compiler warnings.
5924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
5926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5927 Likewise.
5928
5929 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5930
5931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5932 (gtkWidgetRequestFocus): Mark protected.
5933 (GtkComponentPeer): Only set the peer's bounds if its component
5934 is valid.
5935 * java/awt/Component.java (static): Set the default keyboard
5936 focus manager.
5937 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
5938 requestFocusInWindow(temporary)): Don't request focus if the
5939 component is not showing. Get tree lock before traversing
5940 component hierarchy.
5941 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5942 Only set the global focus owner if it is not a Window.
5943 (processKeyEvent): Consume keystrokes associated with the focus
5944 traversal keystroke.
5945 (focusPreviousComponent, focusNextComponent, upFocusCycle,
5946 downFocusCycle): Call requestFocusInWindow instead of
5947 requestFocus.
5948 * java/awt/EventDispatchThread.java (run): Move setting of
5949 default keyboard focus manager to Component.java.
5950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5951 (awt_keycode_to_keysym): New function.
5952 (gtkWidgetDispatchKeyEvent): Finish implementation.
5953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5954 (pre_event_handler): Add FIXME comment.
5955
5956 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5957 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5958 (gtkWidgetRequestFocus): New method.
5959 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
5960 disable Tab and Shift-Tab keystrokes.
5961 (addNotify, appendText, insertText, replaceText): Simplify peer
5962 retrieval code.
5963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5964 (connectSignals): Remove connections to "commit" signals.
5965 Remove C++-style comments.
5966
5967 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5968 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5969 (handleEvent): Activate GTK button when the space bar key is
5970 pressed.
5971 (gtkActivate): New method.
5972
5973 2004-05-06 David Jee <djee@redhat.com>
5974
5975 * java/awt/image/CropImageFilter.java
5976 (setPixels): Implement for byte array pixels.
5977 * java/awt/image/ReplicateScaleFilter.java
5978 (setPixels): Implement for byte array pixels.
5979 (replicatePixels): Overload for byte array pixels.
5980
5981 2004-05-06 Kim Ho <kho@redhat.com>
5982
5983 * javax/swing/Box.java:
5984 (getAccessibleContext): Return an instance of the
5985 correct class.
5986
5987 2004-05-05 David Jee <djee@redhat.com>
5988
5989 * gnu/java/awt/peer/gtk/GdkGraphics.java
5990 (drawImage): When component is null, use SystemColor.window as
5991 the default bgcolor.
5992 * gnu/java/awt/peer/gtk/GtkImage.java
5993 (setPixels): We can avoid iterating through the pixel rows only
5994 when height is 1.
5995 * java/awt/Image.java
5996 (getScaledInstance): Partially implement.
5997 * java/awt/image/CropImageFilter.java
5998 (setProperties): Fix "filter" property.
5999 (setPixels): Implement.
6000 * java/awt/image/ReplicateScaleFilter.java
6001 (setDimensions): Use scaled dimensions.
6002 (setPixels): Implement.
6003 (replicatePixels): New method.
6004
6005 2004-05-05 David Jee <djee@redhat.com>
6006
6007 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6008 (convertPixels): If either pixels or model is null, return null.
6009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6010 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6011 is null, do nothing and return.
6012
6013 2004-05-03 Kim Ho <kho@redhat.com>
6014
6015 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6016 (getGraphics): Like GtkFramePeer, the Graphics
6017 object needs to be translate to account for
6018 window decorations.
6019 (postMouseEvent): New method. Account for
6020 translation.
6021 (postExposeEvent): ditto.
6022 * javax/swing/Box.java: Stubbed.
6023 * javax/swing/JDialog.java: Ran through jalopy
6024 to fix indentation.
6025 (JDialog): Call SwingUtilities' getOwnerFrame
6026 for null owners.
6027 (setLayout): Check isRootPaneCheckingEnabled
6028 * javax/swing/JOptionPane.java: Re-implemented.
6029 * javax/swing/SwingUtilities.java:
6030 (getOwnerFrame): Static method to grab a default
6031 owner frame for Dialogs that don't specify owners.
6032 * javax/swing/event/SwingPropertyChangeSupport.java:
6033 (firePropertyChange): Fix early exit condition.
6034 * javax/swing/plaf/basic/BasicLabelUI.java:
6035 (paint): Avoid painting text if it is null
6036 or empty.
6037 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6038 Implement.
6039
6040 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6041
6042 * Makefile.am: Added new file.
6043 * Makefile.in: Regenerate.
6044 * javax/swing/JPopupMenu.java:
6045 Started implementation.
6046 * javax/swing/JWindow.java
6047 (JWindow): call super() if parent for window
6048 is not specified.
6049 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6050 New File. UI Delegate for JPopupMenu.
6051
6052 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6053
6054 * javax/swing/JApplet.java: Indicated that JApplet
6055 implements RootPaneContainer and made method of this
6056 interface public.
6057 * javax/swing/JFrame.java: Ditto.
6058 * javax/swing/JWindow.java: Ditto.
6059
6060 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6061
6062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6063 (nativeSetBounds): Call gdk_window_move in addition to
6064 gtk_window_move.
6065
6066 * java/applet/Applet.java (preferredSize): Call parent's
6067 preferredSize if the applet stub is null.
6068 (minimumSize): Likewise for parent's minimumSize.
6069
6070 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6071
6072 * javax/swing/JMenuItem.java
6073 (createActionPropertyChangeListener): Implemented.
6074 (processMouseEvent): Ditto.
6075 (fireMenuDragMouseEntered): Ditto.
6076 (fireMenuDragMouseExited): Ditto.
6077 (fireMenuDragMouseDragged): Ditto.
6078 (fireMenuDragMouseReleased): Ditto.
6079 (menuSelectionChanged): Ditto.
6080 (getSubElements): Ditto.
6081 (getComponent): Ditto.
6082 (addMenuDragMouseListener): Ditto.
6083 (removeMenuDragMouseListener):Ditto.
6084 (addMenuKeyListener): Ditto.
6085 (removeMenuKeyListener): Ditto.
6086 * javax/swing/plaf/basic/BasicMenuItemUI.java
6087 (doClick): Imlemented.
6088 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6089 Don't handle mouse events here. Pass them to
6090 MenuSelectionManager.
6091
6092 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6093 Used correct version of jalopy configuration
6094 file to fix style in the files below.
6095
6096 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6097
6098 * javax/swing/JCheckBoxMenuItem.java:
6099 Fixed style and removed unnecessary comments.
6100 * javax/swing/JMenuItem.java: Ditto.
6101 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6102 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6103 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6104 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6105
6106 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6107
6108 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6109 C-style.
6110
6111 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6112
6113 * java/awt/ContainerOrderFocusTraversalPolicy.java
6114 (getComponentAfter): Start from current component and work up
6115 the component hierarchy until an acceptable component is found.
6116 Synchronize on tree lock.
6117 (getComponentBefore): Likewise.
6118
6119 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6120
6121 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6122 focus-related debugging messages.
6123 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6124 * java/awt/EventDispatchThread.java: Likewise.
6125 * java/awt/KeyboardFocusManager.java: Likewise.
6126 * java/awt/Window.java: Likewise.
6127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6129
6130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6131 new C++-style comments to C-style comments.
6132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6133
6134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6136 (handleEvent): Dispatch key press and key release events to
6137 backing widget.
6138 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6139 (gtkWidgetRequestFocus): New method.
6140 (gtkWidgetDispatchKeyEvent): Likewise.
6141 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6142 requestFocusInWindow, requestFocusInWindow(boolean),
6143 getFocusCycleRootAncestor, nextFocus, transferFocus,
6144 transferFocusBackward, transferFocusUpCycle, hasFocus,
6145 isFocusOwner): Implement and document focus-handling methods.
6146 (setFocusTraversalKeys): Inherit focus traversal keys when
6147 keystrokes argument is null. Fix focus-handling documentation
6148 throughout class.
6149 * java/awt/Container.java (setFocusTraversalKeys,
6150 getFocusTraversalKeys, areFocusTraversalKeysSet,
6151 isFocusCycleRoot, setFocusTraversalPolicy,
6152 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6153 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6154 Implement and document focus-handling methods.
6155 (transferFocusBackward): Remove method.
6156 (readObject, writeObject): Implement and document serialization
6157 methods.
6158 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6159 and document.
6160 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6161 document.
6162 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6163 partially document.
6164 * java/awt/EventDispatchThread.java (run): Set default keyboard
6165 focus manager. Attempt to dispatch each event to the keyboard
6166 focus manager before normal dispatch.
6167 * java/awt/KeyboardFocusManager.java: Implement and partially
6168 document.
6169 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6170 (show): Focus initial component when window is shown for the
6171 first time.
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6173 (pre_event_handler): Replace complex key press and key release
6174 logic with simple callbacks into GtkComponentPeer.
6175 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6176
6177 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6178
6179 * javax/swing/MenuSelectionManager.java
6180 (componentForPoint): Added new method.
6181 (defaultManager): New Method. Implemented.
6182 (getSelectedPath): Ditto.
6183 (isComponentPartOfCurrentMenu): Ditto.
6184 (processKeyEvent): Added new method.
6185 (processMouseEvent): New Method. Implemented.
6186 (setSelectedPath): Ditto.
6187 (getPath): Ditto.
6188
6189 2004-04-19 Kim Ho <kho@redhat.com>
6190
6191 * java/awt/Container.java:
6192 (remove): Set the component's parent to null.
6193 (getComponentAt): Implement.
6194 * javax/swing/JComponent.java:
6195 (JComponent): Initialize defaultLocale
6196 (getDefaultLocale): Implement.
6197 (setDefaultLocale): ditto.
6198 * javax/swing/JSlider.java:
6199 (JSlider): Fix calculation of value.
6200 * javax/swing/JSplitPane.java: Implement.
6201 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6202 Change SplitPane's default divider size.
6203 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6204 (paint): Remove unused code.
6205 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6206 Added comments and ran through jalopy.
6207 (setBasicSplitPaneUI): Get reference to hidden divider
6208 and set up one touch buttons if necessary.
6209 (setBorder): Fire propertyChangeEvent only if
6210 borders are different.
6211 (getPreferredSize): Defer to layout manager.
6212 (propertyChange): Implement.
6213 (oneTouchExpandableChanged): ditto.
6214 (createLeftOneTouchButton): Use BasicArrowButton.
6215 (createRightOneTouchButton): ditto.
6216 (moveDividerTo): New method. Moves the divider
6217 to a set location based on the last divider location.
6218 (BasicSplitPaneDivider::MouseHandler): Implement.
6219 (BasicSplitPaneDivider::OneTouchButton): Removed.
6220 (BasicSplitPaneDivider::DragController): Implement.
6221 (BasicSplitPaneDivider::VerticalDragController):
6222 ditto.
6223 (BasicSplitPaneDivider::DividerLayout): ditto.
6224 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6225 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6226 (calculateLayoutInfo): Don't show component if it's
6227 null.
6228 (paintTab): Fix title paint logic.
6229
6230 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6231
6232 PR libgcj/8321
6233 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6234 (setStartRule,setEndRule): Don't take abs of day number.
6235 (getOffset): Clarify docs. Add argument checks.
6236 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6237 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6238 endTimeMode.
6239 * testsuite/libjava.mauve/xfails
6240 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6241
6242 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6243
6244 Layout interfaces during preparation, not initialization.
6245 * java/lang/natClass.cc (initializeClass): Move
6246 _Jv_LayoutInterfaceMethods call...
6247 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6248
6249 2004-05-19 Anthony Green <green@localhost.localdomain>
6250
6251 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6252 gnu.javax.rmi code.
6253 * Makefile.in: Rebuilt.
6254 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6255 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6256 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6257 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6258 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6259 gnu/javax/rmi/CORBA/DelegateFactory.java,
6260 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6261 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6262 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6263 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6264 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6265 gnu/javax/rmi/PortableServer.java: Remove files.
6266
6267 2004-05-19 Anthony Green <green@redhat.com>
6268
6269 * Makefile.am: Define JAVA_EXT_DIRS.
6270 * Makefile.in: Rebuilt.
6271 * java/lang/natRuntime.cc (insertSystemProperties): Set
6272 java.ext.dirs property.
6273
6274 2004-05-16 Mark Wielaard <mark@klomp.org>
6275
6276 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6277
6278 2004-05-15 Mark Wielaard <mark@klomp.org>
6279
6280 * doc/cni.sgml: Removed, merged into gcj.texi.
6281
6282 2004-05-15 Mark Wielaard <mark@klomp.org>
6283
6284 * Makefile.am (ordinary_java_source_files): Add new javax.print
6285 classes.
6286 * Makefile.in: Regenerated.
6287
6288 2004-05-15 Michael Koch <konqueror@gmx.de>
6289
6290 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6291 javax/print/attribute/standard/DateTimeAtCreation.java,
6292 javax/print/attribute/standard/DateTimeAtProcessing.java,
6293 javax/print/attribute/standard/DocumentName.java,
6294 javax/print/attribute/standard/JobHoldUntil.java,
6295 javax/print/attribute/standard/JobImpressionsCompleted.java,
6296 javax/print/attribute/standard/JobMessageFromOperator.java,
6297 javax/print/attribute/standard/JobName.java,
6298 javax/print/attribute/standard/JobOriginatingUserName.java,
6299 javax/print/attribute/standard/JobPriority.java,
6300 javax/print/attribute/standard/JobPrioritySupported.java,
6301 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6302 javax/print/attribute/standard/OutputDeviceAssigned.java,
6303 javax/print/attribute/standard/PrinterInfo.java,
6304 javax/print/attribute/standard/PrinterLocation.java,
6305 javax/print/attribute/standard/PrinterMakeAndModel.java,
6306 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6307 javax/print/attribute/standard/PrinterName.java,
6308 javax/print/attribute/standard/QueuedJobCount.java,
6309 javax/print/attribute/standard/RequestingUserName.java:
6310 Fixed javadocs all over.
6311
6312 2004-05-15 Michael Koch <konqueror@gmx.de>
6313
6314 * javax/print/DocFlavor.java,
6315 javax/print/attribute/standard/ColorSupported.java,
6316 javax/print/attribute/standard/Compression.java,
6317 javax/print/attribute/standard/CopiesSupported.java,
6318 javax/print/attribute/standard/Fidelity.java,
6319 javax/print/attribute/standard/Finishings.java,
6320 javax/print/attribute/standard/JobImpressionsSupported.java,
6321 javax/print/attribute/standard/JobKOctetsSupported.java,
6322 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6323 javax/print/attribute/standard/JobSheets.java,
6324 javax/print/attribute/standard/JobState.java,
6325 javax/print/attribute/standard/JobStateReason.java,
6326 javax/print/attribute/standard/JobStateReasons.java,
6327 javax/print/attribute/standard/Media.java,
6328 javax/print/attribute/standard/MediaSizeName.java,
6329 javax/print/attribute/standard/MultipleDocumentHandling.java,
6330 javax/print/attribute/standard/NumberUpSupported.java,
6331 javax/print/attribute/standard/OrientationRequested.java,
6332 javax/print/attribute/standard/PDLOverrideSupported.java,
6333 javax/print/attribute/standard/PageRanges.java,
6334 javax/print/attribute/standard/PresentationDirection.java,
6335 javax/print/attribute/standard/PrintQuality.java,
6336 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6337 javax/print/attribute/standard/PrinterMoreInfo.java,
6338 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6339 javax/print/attribute/standard/PrinterResolution.java,
6340 javax/print/attribute/standard/PrinterState.java,
6341 javax/print/attribute/standard/PrinterStateReason.java,
6342 javax/print/attribute/standard/PrinterStateReasons.java,
6343 javax/print/attribute/standard/PrinterURI.java,
6344 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6345 javax/print/attribute/standard/Severity.java,
6346 javax/print/attribute/standard/SheetCollate.java,
6347 javax/print/attribute/standard/Sides.java:
6348 Added serialVersionUID and removed final keyword where it doenst
6349 belong.
6350
6351 2004-05-15 Michael Koch <konqueror@gmx.de>
6352
6353 * javax/print/PrintServiceLookup.java: New file.
6354
6355 2004-05-15 Michael Koch <konqueror@gmx.de>
6356
6357 * javax/print/DocFlavor.java:
6358 Implemented all flavor classes.
6359
6360 2004-05-15 Michael Koch <konqueror@gmx.de>
6361
6362 * javax/print/attribute/standard/ColorSupported.java,
6363 javax/print/attribute/standard/Compression.java,
6364 javax/print/attribute/standard/CopiesSupported.java,
6365 javax/print/attribute/standard/Fidelity.java,
6366 javax/print/attribute/standard/Finishings.java,
6367 javax/print/attribute/standard/JobImpressionsSupported.java,
6368 javax/print/attribute/standard/JobKOctetsSupported.java,
6369 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6370 javax/print/attribute/standard/JobSheets.java,
6371 javax/print/attribute/standard/JobState.java,
6372 javax/print/attribute/standard/JobStateReason.java,
6373 javax/print/attribute/standard/JobStateReasons.java,
6374 javax/print/attribute/standard/Media.java,
6375 javax/print/attribute/standard/MediaSizeName.java,
6376 javax/print/attribute/standard/MultipleDocumentHandling.java,
6377 javax/print/attribute/standard/NumberUpSupported.java,
6378 javax/print/attribute/standard/OrientationRequested.java,
6379 javax/print/attribute/standard/PDLOverrideSupported.java,
6380 javax/print/attribute/standard/PageRanges.java,
6381 javax/print/attribute/standard/PresentationDirection.java,
6382 javax/print/attribute/standard/PrintQuality.java,
6383 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6384 javax/print/attribute/standard/PrinterMoreInfo.java,
6385 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6386 javax/print/attribute/standard/PrinterResolution.java,
6387 javax/print/attribute/standard/PrinterState.java,
6388 javax/print/attribute/standard/PrinterStateReason.java,
6389 javax/print/attribute/standard/PrinterStateReasons.java,
6390 javax/print/attribute/standard/PrinterURI.java,
6391 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6392 javax/print/attribute/standard/Severity.java,
6393 javax/print/attribute/standard/SheetCollate.java,
6394 javax/print/attribute/standard/Sides.java: New files.
6395
6396 2004-05-15 Michael Koch <konqueror@gmx.de>
6397
6398 * javax/print/Doc.java
6399 (getPrintData): Throws IOException.
6400 (getReaderForText): Likewise.
6401 (getStreamForBytes): Likewise.
6402 * javax/print/DocFlavor.java:
6403 Fixed filename in copyright.
6404 (serialVersionUID): New field.
6405 * javax/print/ServiceUIFactory.java:
6406 Made all constants final.
6407 * javax/print/AttributeException.java
6408 javax/print/MultiDoc.java
6409 javax/print/MultiDocPrintJob.java
6410 javax/print/MultiDocPrintService.java
6411 javax/print/StreamPrintService.java
6412 javax/print/URIException.java: New files.
6413 * javax/print/Makefile.am
6414 (EXTRA_DIST): Added all new files.
6415
6416 2004-05-15 Michael Koch <konqueror@gmx.de>
6417
6418 * javax/print/attribute/standard/Copies.java,
6419 javax/print/attribute/standard/DateTimeAtCompleted.java,
6420 javax/print/attribute/standard/DateTimeAtCreation.java,
6421 javax/print/attribute/standard/DateTimeAtProcessing.java,
6422 javax/print/attribute/standard/DocumentName.java,
6423 javax/print/attribute/standard/JobHoldUntil.java,
6424 javax/print/attribute/standard/JobImpressions.java,
6425 javax/print/attribute/standard/JobImpressionsCompleted.java,
6426 javax/print/attribute/standard/JobKOctets.java,
6427 javax/print/attribute/standard/JobKOctetsProcessed.java,
6428 javax/print/attribute/standard/JobMediaSheets.java,
6429 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6430 javax/print/attribute/standard/JobMessageFromOperator.java,
6431 javax/print/attribute/standard/JobName.java,
6432 javax/print/attribute/standard/JobOriginatingUserName.java,
6433 javax/print/attribute/standard/JobPriority.java,
6434 javax/print/attribute/standard/JobPrioritySupported.java,
6435 javax/print/attribute/standard/NumberOfDocuments.java,
6436 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6437 javax/print/attribute/standard/NumberUp.java,
6438 javax/print/attribute/standard/OutputDeviceAssigned.java,
6439 javax/print/attribute/standard/PagesPerMinute.java,
6440 javax/print/attribute/standard/PagesPerMinuteColor.java:
6441 Fixed @return tag all over.
6442
6443 2004-05-15 Michael Koch <konqueror@gmx.de>
6444
6445 * javax/print/attribute/AttributeSetUtilities.java
6446 (verifyCategoryForValue): Fixed typo in javadoc.
6447 * javax/print/attribute/HashAttributeSet.java
6448 (containsKey): Fixed @return tag.
6449 (comtainsValue): Likewise.
6450 (equals): Likewise.
6451 * javax/print/attribute/IntegerSyntax.java
6452 (equals): Likewise.
6453 * javax/print/attribute/ResolutionSyntax.java
6454 (equals): Likewise.
6455 (getCrossFeedResolution): Removed unused code.
6456 (getFeedResolution): Likewise.
6457 * javax/print/attribute/SetOfIntegerSyntax.java
6458 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6459 (equals): Fixed @return tag.
6460 * javax/print/attribute/TextSyntax.java
6461 (TextSyntax): Take locale into account.
6462 (hashCode): Better implementation.
6463
6464 2004-05-15 Michael Koch <konqueror@gmx.de>
6465
6466 * javax/print/CancelablePrintJob.java,
6467 javax/print/Doc.java,
6468 javax/print/DocFlavor.java,
6469 javax/print/DocPrintJob.java,
6470 javax/print/FlavorException.java,
6471 javax/print/PrintException.java,
6472 javax/print/PrintService.java,
6473 javax/print/ServiceUIFactory.java: New files.
6474
6475 2004-05-15 Mark Wielaard <mark@klomp.org>
6476
6477 * gnu/regexp/CharIndexedReader.java: Removed.
6478 * gnu/regexp/REFilterReader.java: Likewise.
6479 * gnu/regexp/RETokenLookAhead.java: Likewise.
6480 * Makefile.am (ordinary_java_source_files): Remove above classes.
6481 * Makefile.in: Regenerated.
6482
6483 2004-05-14 Tom Tromey <tromey@redhat.com>
6484
6485 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6486 not `XGraphicsConfiguration.XOffScreenImage'.
6487
6488 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6489
6490 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6491
6492 2004-05-14 Steven Augart <augart@watson.ibm.com>
6493
6494 * include/jni.h (_Jv_func): Removed.
6495 (struct JNINativeInterface): Use `void *' for reserved slots.
6496 (struct JNIInvokeInterface): Likewise.
6497
6498 2004-05-11 Michael Koch <konqueror@gmx.de>
6499
6500 * gnu/java/net/natPlainSocketImplPosix.cc
6501 (read): Fixed typo in expression.
6502
6503 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6504
6505 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6506 ld_library_additions. Adjust all calls to libjava_invoke to match
6507 the new argument.
6508
6509 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6510 path to cxxflagslist.
6511 Pass path of libstdc++ to libjava_invoke.
6512
6513 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6514 libjava_invoke arguments.
6515
6516 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6517
6518 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6519 reality.
6520
6521 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6522
6523 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6524 main binary against the JNI shared library.
6525
6526 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6527
6528 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6529 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6530 (SimpleTimeZone): Tweak docs. Add new variation.
6531 (setStartRule,setEndRule): Add new variations. Use
6532 startTimeMode and endTimeMode.
6533
6534 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6535
6536 * java/util/Calendar.java (getActualMinimum,
6537 getActualMaximum): Remove abstract. Implement.
6538
6539 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6540
6541 Run the jni tests using the interpreter.
6542 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6543 options_cxx to shared lib compile command.
6544 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6545 they are used to link the shared lib, not the main binary.
6546 Use libjava_invoke to run gij.
6547
6548 2004-05-06 Michael Koch <konqueror@gmx.de>
6549
6550 * java/util/logging/Level.java
6551 (parse): Use == instead of String.equals().
6552
6553 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6554
6555 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6556 verify_field_signature and verify_method_signature, not
6557 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6558 (_Jv_ClassReader::handleField): Likewise.
6559 (_Jv_ClassReader::handleMethod): Likewise.
6560
6561 2004-05-06 Michael Koch <konqueror@gmx.de>
6562
6563 * javax/swing/table/TableColumn.java:
6564 Reformated.
6565
6566 2004-05-06 Michael Koch <konqueror@gmx.de>
6567
6568 * javax/imageio/spi/ImageReaderWriterSpi.java
6569 (ImageReaderWriterSpi): Made it public.
6570 * javax/imageio/stream/ImageInputStream.java:
6571 Clean up imports.
6572
6573 2004-05-06 Michael Koch <konqueror@gmx.de>
6574
6575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6576 Removed empty line.
6577
6578 2004-05-06 Michael Koch <konqueror@gmx.de>
6579
6580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6581 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6582 New files.
6583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6584 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6586 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6587 their own source file.
6588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6589 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6590 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6592 (create): Define variable on top of function.
6593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6594 (menu_pos): Prototyped.
6595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6596 (setTitle): Removed.
6597 * jni/gtk-peer/gthread-jni.c
6598 (gdk_threads_wake): Removed.
6599 * Makefile.am (gtk_c_source_files): Added new files
6600 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6601 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6602 * Makefile.in: Regenerated.
6603
6604 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6605
6606 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6607 call.
6608
6609 2004-05-05 Mark Wielaard <mark@klomp.org>
6610
6611 * javax/swing/AbstractButton.java: Replace special HTML entities with
6612 ASCII equivalent.
6613 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6614 * javax/swing/DefaultButtonModel.java: Likewise.
6615 * javax/swing/DefaultListModel.java: Likewise.
6616 * javax/swing/JList.java: Likewise.
6617 * javax/swing/JSlider.java: Likewise.
6618 * javax/swing/ListModel.java: Likewise.
6619 * javax/swing/Popup.java: Likewise.
6620 * javax/swing/SwingUtilities.java: Likewise.
6621
6622 2004-05-05 Michael Koch <konqueror@gmx.de>
6623
6624 * javax/swing/AbstractButton.java,
6625 javax/swing/ActionMap.java,
6626 javax/swing/DefaultButtonModel.java,
6627 javax/swing/DefaultListModel.java,
6628 javax/swing/ImageIcon.java,
6629 javax/swing/JComboBox.java,
6630 javax/swing/JComponent.java,
6631 javax/swing/JFrame.java,
6632 javax/swing/JInternalFrame.java,
6633 javax/swing/JMenuBar.java,
6634 javax/swing/JMenuItem.java,
6635 javax/swing/JOptionPane.java,
6636 javax/swing/JProgressBar.java,
6637 javax/swing/JRootPane.java,
6638 javax/swing/JScrollBar.java,
6639 javax/swing/JScrollPane.java,
6640 javax/swing/JSeparator.java,
6641 javax/swing/JSlider.java,
6642 javax/swing/JTabbedPane.java,
6643 javax/swing/JTable.java,
6644 javax/swing/JTextField.java,
6645 javax/swing/JToolBar.java,
6646 javax/swing/JToolTip.java,
6647 javax/swing/JTree.java,
6648 javax/swing/JViewport.java,
6649 javax/swing/JWindow.java,
6650 javax/swing/KeyStroke.java,
6651 javax/swing/LookAndFeel.java,
6652 javax/swing/SwingUtilities.java,
6653 javax/swing/Timer.java,
6654 javax/swing/ToolTipManager.java,
6655 javax/swing/UIDefaults.java,
6656 javax/swing/border/TitledBorder.java,
6657 javax/swing/filechooser/FileSystemView.java,
6658 javax/swing/plaf/basic/BasicButtonListener.java,
6659 javax/swing/plaf/basic/BasicButtonUI.java,
6660 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6661 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6662 javax/swing/plaf/basic/BasicLabelUI.java,
6663 javax/swing/plaf/basic/BasicMenuItemUI.java,
6664 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6665 javax/swing/plaf/basic/BasicRootPaneUI.java,
6666 javax/swing/plaf/basic/BasicScrollBarUI.java,
6667 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6668 javax/swing/plaf/basic/BasicSliderUI.java,
6669 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6670 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6671 javax/swing/table/JTableHeader.java,
6672 javax/swing/text/AbstractDocument.java,
6673 javax/swing/text/DefaultCaret.java,
6674 javax/swing/text/StyledEditorKit.java,
6675 javax/swing/tree/DefaultTreeCellEditor.java:
6676 Cleaned up imports.
6677
6678 2004-05-05 Michael Koch <konqueror@gmx.de>
6679
6680 * java/util/prefs/AbstractPreferences.java
6681 (AbstractPreferences): Added parenthesis for clarity.
6682 Closes classpath bug #7940.
6683
6684 2004-05-05 Tom Tromey <tromey@redhat.com>
6685
6686 * javax/naming/CompoundName.java (endsWith): Look at correct
6687 element of source name.
6688
6689 2004-05-05 Mark Wielaard <mark@klomp.org>
6690
6691 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6692 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6693
6694 2004-05-05 Tom Tromey <tromey@redhat.com>
6695
6696 * java/io/BufferedReader.java (skip): Removed unused
6697 variable.
6698
6699 2004-05-05 Michael Koch <konqueror@gmx.de>
6700
6701 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6702
6703 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6704
6705 * java/text/AttributedString.java,
6706 java/text/AttributedStringIterator.java,
6707 java/text/Collator.java,
6708 java/text/DecimalFormatSymbols.java,
6709 java/text/NumberFormat.java,
6710 java/text/RuleBasedCollator.java:
6711 Cleaned up imports.
6712
6713 2004-05-05 Tom Tromey <tromey@redhat.com>
6714
6715 * java/text/Format.java: Cleaned up imports.
6716 * java/text/DecimalFormat.java: Cleaned up imports.
6717 * java/security/SecureRandom.java: Cleaned up imports.
6718 (SecureRandom): Removed unused variable.
6719 * java/security/UnresolvedPermission.java: Cleaned up imports.
6720 * java/util/Date.java (parse): Removed unused variable.
6721 * java/util/ResourceBundle.java: Cleaned up imports.
6722 (getBundle): Removed unused variable.
6723 (tryBundle): Likewise.
6724 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6725
6726 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6727
6728 * java/text/SimpleDateFormat.java:
6729 (formatWithAttribute): New method. It implements
6730 the formatting process with attributes.
6731 (format): Use formatWithAttribute.
6732 (formatToCharacterIterator): New method. Use
6733 formatWithAttribute.
6734
6735 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6736
6737 * java/text/MessageFormat.java:
6738 (class Field): New class.
6739 (formatToCharacterIterator): New method.
6740 (format): Use formatInternal now.
6741 (formatInternal): New method. String formatter should
6742 be done here (with attributes). Attributes merging supported.
6743 (parse): More documentation.
6744 (getFormatsByArgumentIndex): New method.
6745 (setFormatByArgumentIndex): New method.
6746 (setFormatsByArgumentIndex): New method.
6747
6748 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6749
6750 * java/text/DecimalFormat.java
6751 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6752 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6753 (parse): Fixed handling of exponentiation notation and grouping.
6754
6755 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6756
6757 * java/text/DecimalFormat.java
6758 (scanFix): Build attribute array. Fixed error reporting.
6759 (applyPatternWithSymbols): Store attributes for the prefix and
6760 suffix.
6761 (formatInternal): New method. Changed the way the string is
6762 computed. Implemented attributes. Cleant up rounding in
6763 exponential notation.
6764 (format): Use formatInternal.
6765 (formatToCharacterIterator): New method.
6766 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6767 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6768 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6769 New fields.
6770
6771 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6772
6773 * java/security/interfaces/DSAKeyPairGenerator.java,
6774 java/security/interfaces/DSAPrivateKey.java,
6775 java/security/interfaces/DSAPublicKey.java,
6776 java/security/interfaces/RSAPrivateKey.java,
6777 java/security/interfaces/RSAPublicKey.java:
6778 Cleaned up imports.
6779
6780 2004-05-04 Michael Koch <konqueror@gmx.de>
6781
6782 * java/nio/ByteBuffer.java,
6783 java/nio/CharBuffer.java,
6784 java/nio/DoubleBuffer.java,
6785 java/nio/FloatBuffer.java,
6786 java/nio/IntBuffer.java,
6787 java/nio/LongBuffer.java,
6788 java/nio/ShortBuffer.java:
6789 (compareTo): Fixed bogus implementation in all buffer classes.
6790
6791 2004-05-04 Ingo Proetel <proetel@aicas.com>
6792
6793 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6794 32 bit pixels not 8 bit pixels.
6795 (isCompatibleRaster): Added javadoc comment.
6796
6797 2004-05-04 Ingo Proetel <proetel@aicas.com>
6798
6799 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6800 scanline stride.
6801
6802 2004-05-04 Ingo Proetel <proetel@aicas.com>
6803
6804 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6805 (getColorModel): Return the actual color model.
6806 (getRaster): Implemented.
6807 (ColorRaster): New inner class.
6808 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6809 a PaintContext.
6810 * java/awt/Color.java (<init>): Make exception more verbose.
6811 (createContext): Use ColorModel when creating a PaintContext.
6812
6813 2004-05-04 Michael Koch <konqueror@gmx.de>
6814
6815 * gnu/java/text/CharacterBreakIterator.java
6816 (previous): Removed unused variable.
6817
6818 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6819
6820 * gnu/java/text/FormatBuffer.java,
6821 gnu/java/text/AttributedFormatBuffer.java,
6822 gnu/java/text/StringFormatBuffer.java: New classes to implement
6823 attributed iterators in java.text.
6824 * gnu/java/text/FormatCharacterIterator.java: Moved
6825 from java/text as it is an internal class.
6826 * java/text/FormatCharacterIterator.java: Removed.
6827 * java/text/Format.java:
6828 Import gnu.java.text.FormatCharacterIterator.
6829 * Makefile.am (java_source_files): Added new files.
6830 * Makefile.in: Regenerated.
6831
6832
6833 2004-05-04 Mark Wielaard <mark@klomp.org>
6834
6835 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6836
6837 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6838
6839 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6840 * Makefile.in: Rebuilt.
6841
6842 2004-05-03 Mark Wielaard <mark@klomp.org>
6843
6844 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6845 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6846 * java/net/URL.java
6847 (set(String, String, int, String, String, String, String, String)):
6848 Assign this.file to path or path + "?" + query.
6849 * java/util/Arrays.java: Call static methods staticly.
6850 * java/util/zip/ZipEntry.java: Likewise.
6851 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6852 dir to this.direction.
6853 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6854 Assign static field only once.
6855 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6856
6857 2004-05-03 Mark Wielaard <mark@klomp.org>
6858
6859 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6860 unused variables hScrollbarHeight and vScrollbarWidth.
6861 (preferredSize): Likewise.
6862 * gnu/java/security/provider/DSAParameters.java (engineToString):
6863 Removed unused call to System.getProperty("line.seperator");
6864 * java/security/Security.java (loadProviders): Return result.
6865
6866 2004-05-03 Tom Tromey <tromey@redhat.com>
6867
6868 * java/net/URLStreamHandler.java (toExternalForm): Removed
6869 unused variables.
6870 unused constructor.
6871 * java/math/BigDecimal.java (divide): Removed unused variable.
6872 * java/lang/Throwable.java: Cleaned up imports.
6873 * java/lang/ClassLoader.java: Cleaned up imports.
6874 * java/io/FilePermission.java (implies): Removed unused
6875 variable.
6876 * java/awt/TextComponent.java: Removed unused import.
6877 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6878 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6879 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6880 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6881 import.
6882 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6883 * gnu/java/text/CharacterBreakIterator.java: Removed
6884 unused import.
6885 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6886 Cleaned up imports.
6887 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6888 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6889 unused method.
6890 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6891 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6892 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6893 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6894 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6895 (lookupProviders): Removed unused variable.
6896 (loadNextServiceProvider): Likewise.
6897 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
6898
6899 2004-05-03 Michael Koch <konqueror@gmx.de>
6900
6901 Fixes PR libgcj/14695:
6902 * java/net/NetworkInterface.java
6903 (getByName): Return null when no interface was found.
6904
6905 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
6906 Tom Tromey <tromey@redhat.com>
6907
6908 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
6909 additional option "-Wmissing-prototypes" for compiling C sources.
6910 Print actual filename for pass/fail rather than $name.c.
6911 * testsuite/libjava.jni/PR15133.java: New testcase file.
6912 * testsuite/libjava.jni/PR15133.c: Likewise.
6913 * testsuite/libjava.jni/PR15133.out: Likewise.
6914
6915 2004-04-30 Roger Sayle <roger@eyesopen.com>
6916
6917 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
6918 ceil and floor.
6919
6920 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
6921
6922 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
6923 limit the maximum heap size to avoid unnecessary thrashing.
6924
6925 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
6926
6927 * java/text/CollationElementIterator.java (reset): Reset
6928 lookahead variables.
6929
6930 2004-04-23 Mark Wielaard <mark@klomp.org>
6931
6932 * jni/classpath/jcl.c: Changed C++ comments into C comments.
6933
6934 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6935
6936 * java/sql/DriverManager.java:
6937 Cleaned up imports.
6938
6939 2004-04-23 Michael Koch <konqueror@gmx.de>
6940
6941 * java/net/URL.java
6942 (hashcode): Don't initialize with default value explicitely.
6943 (getContent): Removed redundant "final" keyword.
6944 (openStream): Likewise.
6945 (getURLStreamHandler): Fixed coding style.
6946 * java/net/URLConnection.java
6947 (defaultAllowUserInteraction): Don't initialize with default value
6948 explicitely.
6949 (connected): Likewise.
6950 (doOutput): Likewise.
6951 (ifModifiedSince): Likewise.
6952 (dateformats_initialized): Likewise.
6953 (setURLStreamHander): Use StreamTokenizer where it belongs to.
6954
6955 2004-04-23 Michael Koch <konqueror@gmx.de>
6956
6957 * gnu/java/nio/channels/FileChannelImpl.java
6958 (SET, CUR): Unused, removed.
6959 (read): Implement here directly.
6960 (implRead): Removed.
6961 (write): Implement here directly.
6962 (implWrite): Removed.
6963
6964 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6965
6966 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6967 javax/rmi/CORBA/Stub.java,
6968 javax/rmi/CORBA/Util.java,
6969 javax/rmi/CORBA/ValueHandler.java,
6970 javax/rmi/CORBA/ValueHandler.java,
6971 javax/rmi/PortableRemoteObject.java:
6972 Cleaned up imports.
6973
6974 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6975
6976 * java/util/jar/JarFile.java,
6977 java/util/jar/JarInputStream.java,
6978 java/util/jar/JarOutputStream.java,
6979 java/util/jar/Manifest.java:
6980 Cleaned up imports.
6981
6982 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6983
6984 * java/util/ArrayList.java,
6985 java/util/Calendar.java,
6986 java/util/Currency.java,
6987 java/util/HashMap.java,
6988 java/util/HashSet.java,
6989 java/util/Hashtable.java,
6990 java/util/LinkedList.java,
6991 java/util/Properties.java,
6992 java/util/PropertyPermission.java,
6993 java/util/TimeZone.java,
6994 java/util/TreeMap.java,
6995 java/util/TreeSet.java,
6996 java/util/Vector.java,
6997 java/util/WeakHashMap.java:
6998 Cleaned up imports.
6999
7000 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7001
7002 * java/util/logging/FileHandler.java,
7003 java/util/logging/Formatter.java,
7004 java/util/logging/Handler.java,
7005 java/util/logging/Logger.java,
7006 java/util/logging/SimpleFormatter.java,
7007 java/util/logging/XMLFormatter.java:
7008 Cleaned up imports.
7009
7010 2004-04-22 Mark Wielaard <mark@klomp.org>
7011
7012 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7013 -Wno-long-long flags variable.
7014 (gtk_c_files): Use PEDANTIC_CFLAGS.
7015 * Makefile.in: Regenerated.
7016
7017 2004-04-22 Mark Wielaard <mark@klomp.org>
7018
7019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7020 Changed C++ comments into C comments.
7021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7022 Likewise.
7023
7024 2004-04-22 Michael Koch <konqueror@gmx.de>
7025
7026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7027 Merged copyright year with GNU classpath.
7028
7029 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7030
7031 * javax/security/auth/x500/X500Principal.java:
7032 Cleaned up imports.
7033
7034 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7035
7036 * javax/swing/JSlider.java:
7037 Fixed HTML tags in comments.
7038
7039 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7040
7041 * javax/accessibility/AccessibleText.java:
7042 Cleaned up imports.
7043
7044 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7045
7046 * java/net/URLStreamHandler.java
7047 (parseURL): Convert the file path to using '/' instead of native
7048 file separator.
7049
7050 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7051
7052 * java/net/URL.java
7053 (userInfo): New field.
7054 (URL): Set authority to the right value.
7055 (setURL): Fixed authority and file initialization.
7056 * java/net/URLStreamHandler.java
7057 (parseURL): Take care of the query tag. Build authority.
7058 (toExternalForm): Fixed URL building using authority.
7059
7060 2004-04-22 Michael Koch <konqueror@gmx.de>
7061
7062 * java/net/Socket.java
7063 (impl): Made package-private.
7064 * java/net/ServerSocket.java
7065 (implAccept): Access Socket.impl field directly.
7066
7067 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7068
7069 * java/util/prefs/Preferences.java,
7070 java/util/prefs/InvalidPreferencesFormatException.java,
7071 java/util/prefs/BackingStoreException.java,
7072 java/util/prefs/AbstractPreferences.java:
7073 Cleaned up imports.
7074
7075 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7076
7077 * java/util/regex/Matcher.java,
7078 java/util/regex/Pattern.java:
7079 Cleaned up imports.
7080
7081 2004-04-22 Michael Koch <konqueror@gmx.de>
7082
7083 * java/nio/charset/IllegalCharsetNameException.java
7084 (charsetName): Made private.
7085 (IllegalCharsetNameException): Added @param tag to javadoc.
7086 (getCharsetName): Added @return tag to javadoc.
7087 * java/nio/charset/MalformedInputException.java
7088 (MalformedInputException): Added @param tag to javadoc.
7089 (getInputLength): Revised method description, added @return tag.
7090 (getMessage): Added @return tag.
7091
7092 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7093
7094 * java/awt/Font.java (deriveFont): Implement missing variants.
7095 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7096 missing variants.
7097
7098 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7099
7100 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7101 Set method->index values for interface methods to their itable index.
7102 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7103
7104 2004-04-21 Michael Koch <konqueror@gmx.de>
7105
7106 * java/nio/DirectByteBufferImpl.java
7107 (shiftDown): Made static, give address as argument and
7108 provide a convenience method that overwrites shiftDown in
7109 ByteBufferImpl and calls the native shiftDown.
7110 * java/nio/MappedByteBufferImpl.java
7111 (): Use optimized method in DirectByteBufferImpl.
7112 * java/nio/natDirectByteBufferImpl.cc
7113 (shiftDown): Changed method signature. Removed usage of array_offset.
7114
7115 2004-04-21 Michael Koch <konqueror@gmx.de>
7116
7117 * gnu/java/net/natPlainSocketImplPosix.cc
7118 (SocketInputStream::read): Make sure returned data is a byte value.
7119
7120 2004-04-21 Michael Koch <konqueror@gmx.de>
7121
7122 * gnu/classpath/ServiceFactory.java,
7123 gnu/classpath/ServiceProviderLoadingAction.java,
7124 javax/imageio/ImageReader.java,
7125 javax/imageio/ImageTranscoder.java,
7126 javax/imageio/ImageWriter.java,
7127 javax/imageio/package.html,
7128 javax/imageio/spi/IIOServiceProvider.java,
7129 javax/imageio/spi/ImageInputStreamSpi.java,
7130 javax/imageio/spi/ImageOutputStreamSpi.java,
7131 javax/imageio/spi/ImageReaderWriterSpi.java,
7132 javax/imageio/spi/ImageTranscoderSpi.java,
7133 javax/imageio/spi/RegisterableService.java,
7134 javax/imageio/spi/ServiceRegistry.java,
7135 javax/imageio/spi/package.html,
7136 javax/imageio/stream/IIOByteBuffer.java,
7137 javax/imageio/stream/ImageInputStream.java,
7138 javax/imageio/stream/ImageOutputStream.java,
7139 javax/imageio/stream/package.html:
7140 New files.
7141 * Makefile.am
7142 (ordinary_java_source_files): Added
7143 gnu/classpath/ServiceFactory.java and
7144 gnu/classpath/ServiceProviderLoadingAction.java.
7145 (javax_source_files): Added
7146 javax/imageio/ImageReader.java,
7147 javax/imageio/ImageTranscoder.java,
7148 javax/imageio/ImageWriter.java,
7149 javax/imageio/spi/IIOServiceProvider.java,
7150 javax/imageio/spi/ImageInputStreamSpi.java,
7151 javax/imageio/spi/ImageOutputStreamSpi.java,
7152 javax/imageio/spi/ImageReaderWriterSpi.java,
7153 javax/imageio/spi/ImageTranscoderSpi.java,
7154 javax/imageio/spi/RegisterableService.java,
7155 javax/imageio/spi/ServiceRegistry.java,
7156 javax/imageio/stream/IIOByteBuffer.java,
7157 javax/imageio/stream/ImageInputStream.java and
7158 javax/imageio/stream/ImageOutputStream.java.
7159 * Makefile.in: Regenerated.
7160
7161 2004-04-21 Michael Koch <konqueror@gmx.de>
7162
7163 * java/util/Properties.java
7164 (load): Fix wrongly merged fix.
7165
7166 2004-04-21 Mark Wielaard <mark@klomp.org>
7167
7168 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7169 malloc and free buf.
7170
7171 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7172
7173 * javax/naming/AuthenticationException.java,
7174 javax/naming/AuthenticationNotSupportedException.java,
7175 javax/naming/CannotProceedException.java,
7176 javax/naming/CommunicationException.java,
7177 javax/naming/CompoundName.java,
7178 javax/naming/ConfigurationException.java,
7179 javax/naming/ContextNotEmptyException.java,
7180 javax/naming/InitialContext.java,
7181 javax/naming/InsufficientResourcesException.java,
7182 javax/naming/InterruptedNamingException.java,
7183 javax/naming/LimitExceededException.java,
7184 javax/naming/LinkException.java,
7185 javax/naming/LinkLoopException.java,
7186 javax/naming/LinkRef.java,
7187 javax/naming/MalformedLinkException.java,
7188 javax/naming/Name.java,
7189 javax/naming/NameAlreadyBoundException.java,
7190 javax/naming/NameNotFoundException.java,
7191 javax/naming/NamingSecurityException.java,
7192 javax/naming/NoInitialContextException.java,
7193 javax/naming/NoPermissionException.java,
7194 javax/naming/NotContextException.java,
7195 javax/naming/PartialResultException.java,
7196 javax/naming/ReferralException.java,
7197 javax/naming/ServiceUnavailableException.java,
7198 javax/naming/SizeLimitExceededException.java,
7199 javax/naming/TimeLimitExceededException.java,
7200 javax/naming/directory/Attribute.java,
7201 javax/naming/directory/Attributes.java,
7202 javax/naming/directory/SearchResult.java,
7203 javax/naming/event/NamingExceptionEvent.java,
7204 javax/naming/spi/ResolveResult.java:
7205 Cleaned up imports.
7206
7207 2004-04-21 Mark Wielaard <mark@klomp.org>
7208
7209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7210 Changed C++ comments into C comments. Removed commented out code.
7211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7212 Likewise.
7213 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7214 Likewise.
7215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7216 Likewise.
7217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7218 Likewise.
7219 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7220 Likewise.
7221 * native/jni/gtk-peer/gthread-jni.c:
7222 Likewise.
7223
7224 2004-04-21 Mark Wielaard <mark@klomp.org>
7225
7226 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7227 static fields defined in interface.
7228 * javax/awt/JDialog.java: Likewise.
7229 (JDialog): Make constructors public.
7230 (getDefaultCloseOperation): Make public.
7231 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7232 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7233 * javax/swing/JViewport.java (JViewport): Make constructor public.
7234
7235 2004-04-21 Michael Koch <konqueror@gmx.de>
7236
7237 * java/util/Map.java
7238 (Entry): Removed redundant "static" modifier.
7239 * java/text/AttributedCharacterIterator.java:
7240 Updated copyright year.
7241
7242 2004-04-20 Michael Koch <konqueror@gmx.de>
7243
7244 * javax/naming/directory/SearchControls.java:
7245 Don't explicitely extend java.lang.Object.
7246 * javax/naming/spi/DirStateFactory.java:
7247 Merged copyright year with GNU classpath.
7248
7249 2004-04-20 Michael Koch <konqueror@gmx.de>
7250
7251 * java/nio/channels/Channels.java:
7252 Merged coding style with GNU classpath.
7253
7254 2004-04-20 Michael Koch <konqueror@gmx.de>
7255
7256 * java/net/ServerSocket.java
7257 Merged coding style from GNU classpath.
7258
7259 2004-04-20 Michael Koch <konqueror@gmx.de>
7260
7261 * java/io/BufferedWriter.java:
7262 Reordered variables to be at top of the class.
7263 (localFlush): Removed redundant final keyword.
7264
7265 2004-04-20 Ingo Proetel <proetel@aicas.com>
7266
7267 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7268
7269 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7270
7271 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7272 for percent and permill check.
7273
7274 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7275
7276 * java/text/FieldPosition.java
7277 (FieldPosition) Constructor now behaves as it should according
7278 to the java documentation.
7279
7280 2004-04-20 Mark Wielaard <mark@klomp.org>
7281
7282 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7283 documentation.
7284
7285 2004-04-20 Michael Koch <konqueror@gmx.de>
7286
7287 * java/nio/Buffer.java,
7288 java/nio/channels/AlreadyConnectedException.java,
7289 java/nio/channels/AsynchronousCloseException.java,
7290 java/nio/channels/ByteChannel.java,
7291 java/nio/channels/CancelledKeyException.java,
7292 java/nio/channels/Channel.java,
7293 java/nio/channels/Channels.java,
7294 java/nio/channels/ClosedByInterruptException.java,
7295 java/nio/channels/ClosedChannelException.java,
7296 java/nio/channels/ClosedSelectorException.java,
7297 java/nio/channels/ConnectionPendingException.java,
7298 java/nio/channels/DatagramChannel.java,
7299 java/nio/channels/FileChannel.java,
7300 java/nio/channels/FileLock.java,
7301 java/nio/channels/FileLockInterruptionException.java,
7302 java/nio/channels/GatheringByteChannel.java,
7303 java/nio/channels/IllegalBlockingModeException.java,
7304 java/nio/channels/IllegalSelectorException.java,
7305 java/nio/channels/InterruptibleChannel.java,
7306 java/nio/channels/NoConnectionPendingException.java,
7307 java/nio/channels/NonReadableChannelException.java,
7308 java/nio/channels/NonWritableChannelException.java,
7309 java/nio/channels/NotYetBoundException.java,
7310 java/nio/channels/NotYetConnectedException.java,
7311 java/nio/channels/OverlappingFileLockException.java,
7312 java/nio/channels/Pipe.java,
7313 java/nio/channels/ReadableByteChannel.java,
7314 java/nio/channels/ScatteringByteChannel.java,
7315 java/nio/channels/SelectableChannel.java,
7316 java/nio/channels/SelectionKey.java,
7317 java/nio/channels/Selector.java,
7318 java/nio/channels/ServerSocketChannel.java,
7319 java/nio/channels/SocketChannel.java,
7320 java/nio/channels/UnresolvedAddressException.java,
7321 java/nio/channels/UnsupportedAddressTypeException.java,
7322 java/nio/channels/WritableByteChannel.java,
7323 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7324 java/nio/channels/spi/AbstractSelectableChannel.java,
7325 java/nio/channels/spi/AbstractSelectionKey.java,
7326 java/nio/channels/spi/AbstractSelector.java,
7327 java/nio/channels/spi/SelectorProvider.java,
7328 java/nio/charset/spi/CharsetProvider.java:
7329 Fixed javadocs and jalopied all over java.nio.
7330
7331 2004-04-20 Michael Koch <konqueror@gmx.de>
7332
7333 * java/nio/ByteBufferImpl.java,
7334 java/nio/CharBufferImpl.java,
7335 java/nio/DirectByteBufferImpl.java,
7336 java/nio/DoubleBufferImpl.java,
7337 java/nio/DoubleViewBufferImpl.java,
7338 java/nio/FloatBufferImpl.java,
7339 java/nio/FloatViewBufferImpl.java,
7340 java/nio/IntBufferImpl.java,
7341 java/nio/IntViewBufferImpl.java,
7342 java/nio/LongBufferImpl.java,
7343 java/nio/LongViewBufferImpl.java,
7344 java/nio/MappedByteBufferImpl.java,
7345 java/nio/ShortBufferImpl.java,
7346 java/nio/ShortViewBufferImpl.java:
7347 Made sure all classes are final and removed final keyword from all
7348 methods.
7349
7350 2004-04-20 Michael Koch <konqueror@gmx.de>
7351
7352 * java/rmi/MarshalledObject.java,
7353 java/rmi/Naming.java,
7354 java/rmi/RemoteException.java,
7355 java/rmi/activation/ActivationException.java,
7356 java/rmi/server/ServerCloneException.java,
7357 java/security/AccessController.java,
7358 java/security/AlgorithmParameterGenerator.java,
7359 java/security/AlgorithmParameters.java,
7360 java/security/CodeSource.java,
7361 java/security/Identity.java,
7362 java/security/IdentityScope.java,
7363 java/security/KeyPairGenerator.java,
7364 java/security/KeyStore.java,
7365 java/security/Security.java,
7366 java/security/Signature.java,
7367 java/security/SignatureSpi.java,
7368 java/security/SignedObject.java,
7369 java/security/spec/DSAParameterSpec.java,
7370 java/security/spec/DSAPrivateKeySpec.java,
7371 java/security/spec/DSAPublicKeySpec.java,
7372 java/sql/Array.java,
7373 java/sql/DatabaseMetaData.java,
7374 java/sql/ResultSet.java,
7375 java/text/ChoiceFormat.java,
7376 java/text/CollationElementIterator.java,
7377 java/text/CollationKey.java,
7378 java/text/Collator.java,
7379 java/text/DateFormat.java,
7380 java/text/DateFormatSymbols.java,
7381 java/text/DecimalFormatSymbols.java,
7382 java/text/Format.java,
7383 java/text/ParsePosition.java,
7384 java/text/RuleBasedCollator.java,
7385 java/text/SimpleDateFormat.java,
7386 java/text/StringCharacterIterator.java,
7387 java/util/Collections.java,
7388 java/util/PropertyResourceBundle.java,
7389 java/util/ResourceBundle.java,
7390 java/util/StringTokenizer.java,
7391 java/util/jar/Attributes.java,
7392 java/util/logging/ConsoleHandler.java,
7393 java/util/logging/LogManager.java,
7394 java/util/logging/MemoryHandler.java,
7395 java/util/logging/SocketHandler.java,
7396 javax/naming/NamingException.java:
7397 Fixed javadoc, coding style and argument names all over.
7398
7399 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7400
7401 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7402 constructor. (valid) Added null check.
7403
7404 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7405
7406 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7407 * java/io/FileOutputStream.java
7408 (FileOutputStream) Reorganized constructors. Constructors now
7409 check whether the given path is directory.
7410
7411 2004-04-20 Michael Koch <konqueror@gmx.de>
7412
7413 * java/net/Authenticator.java,
7414 java/net/BindException.java,
7415 java/net/ConnectException.java,
7416 java/net/ContentHandler.java,
7417 java/net/ContentHandlerFactory.java,
7418 java/net/DatagramPacket.java,
7419 java/net/DatagramSocket.java,
7420 java/net/DatagramSocketImpl.java,
7421 java/net/DatagramSocketImplFactory.java,
7422 java/net/FileNameMap.java,
7423 java/net/HttpURLConnection.java,
7424 java/net/Inet4Address.java,
7425 java/net/Inet6Address.java,
7426 java/net/InetAddress.java,
7427 java/net/InetSocketAddress.java,
7428 java/net/JarURLConnection.java,
7429 java/net/MalformedURLException.java,
7430 java/net/MulticastSocket.java,
7431 java/net/NetPermission.java,
7432 java/net/NetworkInterface.java,
7433 java/net/NoRouteToHostException.java,
7434 java/net/PasswordAuthentication.java,
7435 java/net/PortUnreachableException.java,
7436 java/net/ProtocolException.java,
7437 java/net/ServerSocket.java,
7438 java/net/Socket.java,
7439 java/net/SocketAddress.java,
7440 java/net/SocketException.java,
7441 java/net/SocketImpl.java,
7442 java/net/SocketImplFactory.java,
7443 java/net/SocketOptions.java,
7444 java/net/SocketPermission.java,
7445 java/net/SocketTimeoutException.java,
7446 java/net/URI.java,
7447 java/net/URISyntaxException.java,
7448 java/net/URL.java,
7449 java/net/URLClassLoader.java,
7450 java/net/URLConnection.java,
7451 java/net/URLDecoder.java,
7452 java/net/URLEncoder.java,
7453 java/net/URLStreamHandler.java,
7454 java/net/URLStreamHandlerFactory.java,
7455 java/net/UnknownHostException.java,
7456 java/net/UnknownServiceException.java:
7457 Fixed javadocs, coding style and argument names all over.
7458
7459 2004-04-20 Michael Koch <konqueror@gmx.de>
7460
7461 * java/lang/Byte.java,
7462 java/lang/CharSequence.java,
7463 java/lang/ClassLoader.java,
7464 java/lang/Compiler.java,
7465 java/lang/Double.java,
7466 java/lang/Float.java,
7467 java/lang/Integer.java,
7468 java/lang/Long.java,
7469 java/lang/Math.java,
7470 java/lang/Number.java,
7471 java/lang/Package.java,
7472 java/lang/Runtime.java,
7473 java/lang/RuntimePermission.java,
7474 java/lang/SecurityManager.java,
7475 java/lang/Short.java,
7476 java/lang/StringBuffer.java,
7477 java/lang/System.java,
7478 java/lang/ThreadGroup.java,
7479 java/lang/Throwable.java,
7480 java/lang/reflect/InvocationHandler.java,
7481 java/lang/reflect/Proxy.java:
7482 Fixed javadocs, coding style and argument names all over.
7483
7484 2004-04-20 Michael Koch <konqueror@gmx.de>
7485
7486 * java/io/BufferedWriter.java,
7487 java/io/ByteArrayInputStream.java,
7488 java/io/CharArrayWriter.java,
7489 java/io/DataInput.java,
7490 java/io/DataInputStream.java,
7491 java/io/File.java,
7492 java/io/FilterInputStream.java,
7493 java/io/InputStream.java,
7494 java/io/InputStreamReader.java,
7495 java/io/ObjectInputStream.java,
7496 java/io/ObjectStreamClass.java,
7497 java/io/PipedInputStream.java,
7498 java/io/PipedReader.java,
7499 java/io/PushbackInputStream.java,
7500 java/io/PushbackReader.java,
7501 java/io/RandomAccessFile.java,
7502 java/io/SerializablePermission.java,
7503 java/io/StreamTokenizer.java,
7504 java/io/StringWriter.java,
7505 java/io/WriteAbortedException.java,
7506 java/io/Writer.java:
7507 Fixed javadocs all over, rename arguments to match javadocs,
7508 fixed coding style.
7509
7510 2004-04-20 Ingo Proetel <proetel@aicas.com>
7511
7512 * java/awt/FontMetrics.java:
7513 (charsWidth): fixed accumulation of total_width
7514 (getWidth): simple default implementation
7515 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7516 in Rectangle constructor.
7517 * java/awt/image/Raster.java (toString): Added method.
7518 * java/awt/image/SampleModel.java (<init>): Added error cause
7519 information to thrown exception.
7520 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7521 New method.
7522 (setDataElements): New method.
7523 (setPixels): New method.
7524 (toString): New method.
7525
7526 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7527
7528 * java/awt/image/ComponentColorModel.java
7529 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7530 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7531 Mauve tests on this method. Improved documentation.
7532
7533 2004-04-20 Michael Koch <konqueror@gmx.de>
7534
7535 * javax/swing/JLayeredPane.java,
7536 javax/swing/plaf/BorderUIResource.java,
7537 javax/swing/plaf/ComponentUI.java,
7538 javax/swing/undo/CompoundEdit.java,
7539 javax/swing/undo/StateEdit.java:
7540 Fixed HTML tags in javadocs all over.
7541
7542 2004-04-20 Michael Koch <konqueror@gmx.de>
7543
7544 * javax/print/attribute/EnumSyntax.java
7545 (getOffset): Made protected.
7546 * javax/print/attribute/HashAttributeSet.java
7547 (HashAttributeSet): Likewise.
7548 * javax/print/attribute/ResolutionSyntax.java
7549 (getFeedResolution): Fixed typo in exception name.
7550 (getCrossFeedResolution): Likewise.
7551 * javax/print/attribute/SetOfIntegerSyntax.java
7552 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7553 * javax/print/attribute/TextSyntax.java
7554 (TextSyntax): Handle locale correctly.
7555 (hashCode): Calc better hashcode value.
7556 (equals): Fixed @return tag.
7557 (toString): New method.
7558
7559 2004-04-20 Michael Koch <konqueror@gmx.de>
7560
7561 * gnu/java/nio/FileLockImpl.java
7562 (static): Removed, not needed anymore.
7563 * gnu/java/nio/channels/FileChannelImpl.java
7564 (FileChannelImpl): Made final.
7565 (mode): Made private.
7566 (READ, WRITE, APPEND): Made public.
7567 (EXCL, SYNC, DSYNC): Likewise.
7568 (static): Load native JNI library, when needed.
7569 (length): Unused, removed.
7570 (available): Made public.
7571 (implPosition): Throws IOException.
7572 (seek): Likewise.
7573 (implTruncate): Likewise.
7574 (unlock): Likewise.
7575 (lock): Likewise.
7576
7577 2004-04-20 Michael Koch <konqueror@gmx.de>
7578
7579 * java/awt/AWTPermission.java,
7580 java/awt/Component.java,
7581 java/awt/ComponentOrientation.java,,
7582 java/awt/Dialog.java,
7583 java/awt/FontMetrics.java,
7584 java/awt/Graphics.java,
7585 java/awt/datatransfer/DataFlavor.java,
7586 java/beans/Introspector.java,
7587 java/beans/PropertyEditor.java,
7588 java/beans/PropertyEditorManager.java,
7589 java/beans/beancontext/BeanContextServiceProvider.java:
7590 Fixed HTML tags in javadocs all over.
7591
7592 2004-04-20 Mark Wielaard <mark@klomp.org>
7593
7594 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7595 MissingResourceException is thrown.
7596 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7597 null when a MissingResourceException is thrown. Should never happen.
7598
7599 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7600
7601 * java/awt/image/DataBufferShort.java,
7602 java/awt/image/DataBufferFloat.java,
7603 java/awt/image/DataBufferDouble.java,
7604 java/awt/image/PixelInterleavedSampleModel.java: New files.
7605 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7606 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7607
7608 2004-04-20 Michael Koch <konqueror@gmx.de>
7609
7610 * Makefile.am (java_source_files): Added
7611 java/awt/image/DataBufferDouble.java,
7612 java/awt/image/DataBufferFloat.java,
7613 java/awt/image/DataBufferShort.java and
7614 java/awt/image/PixelInterleavedSampleModel.java.
7615 * Makefile.in: Regenerated.
7616
7617 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7618
7619 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7620 undocumented CNI calls.
7621 * include/java-interp.h (_Jv_InterpClass): No longer
7622 extends java.lang.Class.
7623 * java/lang/Class.h (Class): Add new field `aux_info'.
7624 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7625 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7626 Use Class->aux_info instead.
7627 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7628 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7629 Use Class->aux_info instead.
7630 * java/io/natObjectInputStream.cc (allocateObject): Use
7631 _Jv_AllocObject.
7632 * java/lang/natClass.cc (newInstance): Likewise.
7633 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7634 * java/lang/natObject.cc (clone): Likewise.
7635 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7636 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7637 JvAllocObject. Allocate klass->aux_info here for interpreted
7638 class.
7639
7640 2004-04-17 Mark Wielaard <mark@klomp.org>
7641
7642 * javax/swing/JToggleButton.java (ToggleButtonModel):
7643 Make public static inner class.
7644 * javax/swing/JTabbedPane.java (setComponentAt):
7645 Call Page.setComponent().
7646 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7647 (WRAP_TAB_LAYOUT): Make public, value is 0.
7648 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7649 Make private static inner class.
7650
7651 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7652
7653 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7654 arguments to match new signature. Remove FIXME comments.
7655
7656 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7657
7658 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7659 Remove method.
7660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7661 unused code.
7662
7663 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7664
7665 * Makefile.am: Added new file.
7666 * Makefile.in: Regenerate.
7667 * javax/swing/ImageIcon.java:
7668 (ImageIcon(file)): set description of the icon
7669 to the file name
7670 * javax/swing/JCheckBoxMenuItem.java:
7671 Mostly Implemented. Work in progress.
7672 * javax/swing/JRadioButtonMenuItem.java:
7673 Reimplement constructors to use JToggleButtonModel.
7674 * javax/swing/plaf/basic/BasicIconFactory.java:
7675 (getCheckBoxMenuItemIcon): return check box
7676 icon.
7677 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7678 paint menu item selected only when it is armed and
7679 pressed.
7680
7681 2004-04-02 David Jee <djee@redhat.com>
7682
7683 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7684 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7685 * java/awt/Component.java
7686 (add): Set the parent of the popup as this component.
7687 * java/awt/PopupMenu.java
7688 (addNotify): Create popup menu when peer is null.
7689 (show): Call addNotify() if peer is null.
7690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7691 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7692 argument for gtk_menu_popup() as zero. This causes the popup menu to
7693 respond to any mouse button.
7694
7695 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7696
7697 * Makefile.am: Added new file.
7698 * Makefile.in: Regenerate.
7699 * javax/swing/JRadioButtonMenuItem.java:
7700 Implemented.
7701 * javax/swing/plaf/basic/BasicIconFactory.java:
7702 (getRadioButtonMenuItemIcon): Return
7703 radio button icon.
7704 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7705 (getPreferredSize): Add size of checkIcon if it
7706 exists.
7707 (installDefaults): Don't initialize checkIcon.
7708 It's value will be set in subclasses.
7709 (uninstallDefaults): remove uninstallation of
7710 checkIcon.
7711 (paint): Moved code to paintMenuItem().
7712 (paintMenuItem): Implemented.
7713 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7714 UI delegate for JRadioButtonMenuItem.
7715
7716 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7717
7718 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7719 Corrected position of the accelerator.
7720
7721 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7722
7723 * Makefile.am: Added new file.
7724 * Makefile.in: Regenerate.
7725 * javax/swing/JMenuItem.java: Partly
7726 implemented. Work in progress
7727 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7728 Changed default value of acceleratorDelimiter.
7729 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7730 New class. Partly implemented.
7731
7732 2004-03-26 Mark Wielaard <mark@klomp.org>
7733
7734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7735 (item_activate): Declare label before use.
7736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7737 (gtkSetFont): Removed unused variable label.
7738 (addExposeFilter): Declare variables before use.
7739 (removeExposeFilter): Likewise.
7740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7741 (ok_clicked): Declare str_fileName before use.
7742
7743 2004-03-26 David Jee <djee@redhat.com>
7744
7745 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7746 (addSeparator): Remove.
7747 * java/awt/Menu.java
7748 (separator): Remove static final MenuItem field.
7749 (separatorLabel): New static final String field.
7750 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7751 Use separatorLabel to denote that it is a separator.
7752 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7753 of reusing the static separator instance, because a MenuItem instance
7754 can't be added more than once without being cloned.
7755 * java/awt/peer/MenuPeer.java
7756 (addSeparator): Remove from interface.
7757
7758 2004-03-26 David Jee <djee@redhat.com>
7759
7760 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7761 (connectSignals): New native method declaration.
7762 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7763 * java/awt/MenuItem.java
7764 (getActionCommand): Return the label if the action command is not set.
7765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7766 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7767 gtk_menu_shell_append().
7768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7769 (item_activate): Fix argument type.
7770 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7771 signal here.
7772 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7773 method.
7774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7775 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7776 given. Add the menu widget's top-level GtkWindow to the global window
7777 group, so it can grab the pointer.
7778 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7779 gtk_menu_shell_append().
7780
7781 2004-03-23 Graydon Hoare <graydon@redhat.com>
7782
7783 * java/text/AttributedString.java
7784 (addAttribute): Fix off-by-one.
7785 (getIterator): Likewise.
7786 * java/text/AttributedStringIterator.java
7787 (getRunLimit): Correct logic.
7788 (getRunStart): Likewise.
7789 (getAttribute): Fix inequality.
7790 (getAttributes): Likewise.
7791 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7792
7793 2004-03-23 Kim Ho <kho@redhat.com>
7794
7795 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7796 (calculateSizes): Return real width and height.
7797
7798 2004-03-23 Kim Ho <kho@redhat.com>
7799
7800 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7801 (calculateTabRects): Set the selectedRun before
7802 trying to rotate tabs.
7803
7804 2004-03-23 Kim Ho <kho@redhat.com>
7805
7806 * Makefile.am: New file
7807 * Makefile.in: Regenerate
7808 * java/awt/Graphics.java: (drawRect):
7809 Draw to the correct point.
7810 * javax/swing/DefaultSingleSelectionModel.java
7811 (isSelected): Return true if the selected index
7812 is not -1.
7813 * javax/swing/JLabel.java: Do not change mnemonic
7814 index if text is null.
7815 * javax/swing/JProgressBar.java: Use JComponent's
7816 EventListenerList.
7817 * javax/swing/JScrollBar.java: Ditto.
7818 * javax/swing/JSlider.java: Ditto.
7819 * javax/swing/JTabbedPane.java: Reimplement.
7820 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7821 Add defaults for TabbedPane.
7822 * javax/swing/plaf/basic/BasicArrowButton.java:
7823 Implement
7824 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7825 (paintDeterminate): Don't paint String if it's
7826 empty.
7827 (paintIndeterminate): ditto.
7828 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7829 Reimplement.
7830
7831 2004-03-19 Michael Koch <konqueror@gmx.de>
7832
7833 * java/awt/image/AffineTransformOp.java
7834 (AffineTransformOp): Made public.
7835 * javax/swing/JComponent.java
7836 (listenerList): Made protected.
7837 (accessibleContext): Likewise.
7838 * javax/swing/JList.java
7839 (valueChanged): Dont use internal fields of ListSelectionEvent.
7840 * javax/swing/JViewport.java
7841 (getView): Dont use internal fields of Component.
7842 (addImpl): Likewise.
7843 * javax/swing/Timer.java
7844 (isRunning): Made public.
7845 (start): Likewise.
7846 (stop): Likewise.
7847 * javax/swing/UIDefaults.java
7848 (getInt): Made public.
7849 * javax/swing/plaf/basic/BasicListUI.java
7850 (mousePressed): Dont use internal fields of MouseEvent.
7851 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7852 * javax/swing/plaf/basic/BasicScrollBarUI.java
7853 (arrowIcon): Made static.
7854 * javax/swing/plaf/basic/BasicViewportUI.java
7855 (stateChanged): Dont use internal field on ChangeEvent.
7856 * javax/swing/text/JTextComponent.java
7857 (getUI): Call UIManager.getUI().
7858 (updateUI): Use getUI().
7859
7860 2004-03-19 Graydon Hoare <graydon@redhat.com>
7861
7862 * javax/swing/JComponent.java: Turn off double buffer by default.
7863 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7865 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7866 Use cairo to copy areas.
7867 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7868 Initialize and set clip region.
7869
7870 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7871
7872 * java/applet/Applet.java (preferredSize): Override deprecated
7873 variant of getPreferredSize.
7874 (minimumSize): Override deprecated variant of getMinimumSize.
7875
7876 2004-03-15 Olga Rodimina <rodimina@redhat.com>
7877
7878 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7879 (drawImage(img,xform,bgcolor,obs)): New Method.
7880 Helper function that every drawImage method will
7881 use.
7882 (drawRaster): Added new parameter, bgcolor. All
7883 transparent pixels are changed to bgcolor before
7884 image is drawn.
7885 (drawRenderedImage): Fixed to use changed drawRaster().
7886 (drawImage(image,xform,obs): Fixed to use new helper function
7887 (drawImage(image,op,x,y)): Ditto.
7888 (drawImage (img,x,y,observer)): Ditto.
7889 ((PainterThread) bgcolor): New Field.
7890 ((PainterThread) (setPixels)): Changed all transparent pixels
7891 to bgcolor.
7892 (drawImage(img,x,y,width,height,bgcolor,observer)):
7893 Fixed FIXME - all the transparent pixels are
7894 changed to the specified bgcolor.
7895 (drawImage(img, x, y, width, height, observer): Changed to
7896 use function above.
7897 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
7898 Fixed FIXME- changed all transparent pixels to bgcolor.
7899 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
7900 Changed to use function above.
7901
7902 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7903
7904 * java/applet/Applet.java (dimensions): New field.
7905 (getDimensions): New method.
7906 (getPreferredSize): Call getDimensions.
7907 (getMinimumSize): Likewise.
7908
7909 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7910
7911 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
7912 * jni/classpath/jnilink.c: Likewise.
7913
7914 * java/applet/Applet.java (getPreferredSize): New method.
7915 (getMinimumSize): New method.
7916
7917 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
7918
7919 * prims.cc (_Jv_AllocObject): Remove `size' argument.
7920 (_Jv_AllocObjectNoFinalizer): Likewise.
7921 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
7922 (_Jv_AllocPtrFreeObject): Likewise.
7923 (_Jv_AllocString): Moved from natString.cc. Call collector interface
7924 directly even in the JVMPI case.
7925 * gcj/cni.h (JvAllocObject): Remove `size' argument from
7926 _Jv_AllocObject calls.
7927 * gcj/javaprims.h: Update prototypes.
7928 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
7929 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
7930 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
7931
7932 2004-04-14 Andrew Haley <aph@redhat.com>
7933 Bryce McKinlay <mckinlay@redhat.com>
7934
7935 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
7936 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
7937 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
7938
7939 * testsuite/libjava.lang/InvokeInterface.java: New file.
7940 * testsuite/libjava.lang/InvokeInterface.out: New file.
7941
7942 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
7943
7944 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
7945 modified lookup().
7946 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
7947 StackTraceElement directly.
7948 (newElement): New native helper method to create StackTraceElement
7949 bypassing Java access control.
7950 (createStackTraceElement): Use newElement() instead of directly
7951 calling StackTraceElement's constructor.
7952 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
7953
7954 2004-04-01 Michael Koch <konqueror@gmx.de>
7955
7956 * java/lang/SecurityManager.java
7957 (checkAwtEventQueueAccess): Implemented.
7958
7959 2004-04-01 Gary Benson <gbenson@redhat.com>
7960
7961 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
7962 (_Jv_SearchMethodInClass): Likewise.
7963
7964 2004-03-26 Peter Moon <peterm@miraculum.com>
7965
7966 * java/text/NumberFormat.java: Fix spelling of setCurrency
7967 method.
7968
7969 2004-03-21 Anthony Green <green@redhat.com>
7970
7971 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
7972 recursion when searching for the system ClassLoader.
7973
7974 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7975
7976 * java/net/ServerSocket.java
7977 (accept): Close the socket when error occured.
7978
7979 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
7980
7981 * java/net/URI.java (parseURI): Added unquoting.
7982 (unquote): New method.
7983 (quoteAuthority): Implemented.
7984 (quote(String,String)): New method.
7985 (quotePath): Implemented.
7986 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
7987 (getSchemeSpecificPart): Removed FIXME comment.
7988 (getRawAuthority): Return new rawAuthority field.
7989 (getAuthority): Removed FIXME comment.
7990 (getRawUserInfo): Return new rawUserInfo field.
7991 (getUserInfo): Removed FIXME comment.
7992 (getRawPath): Return new rawPath field.
7993 (getPath): Removed FIXME comment.
7994 (getRawQuery): Return new rawQuery field.
7995 (getQuery): Removed FIXME comment.
7996 (getRawFragment): Return new rawFragment field.
7997 (getFragment): Removed FIXME comment.
7998
7999 2004-03-20 Michael Koch <konqueror@gmx.de>
8000
8001 * java/net/URLConnection.java: Merged copyright year with classpath.
8002
8003 2004-03-20 Norbert Frese <postfach@nfrese.net>
8004
8005 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8006 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8007 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8008 rmi-message.
8009 (getObjectInputStream): Return object reference, throw IOException if null.
8010 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8011 (getObjectOutputStream): Return object reference, throw IOException if null.
8012 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8013 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8014 (UnicastConnectionManager): Throw RemoteException if port is not available.
8015 (getInstance): Throw RemoteException.
8016 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8017 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8018 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8019 Collect Exceptions which are returned by a rmi-call and fix void returns.
8020 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8021 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8022 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8023 (dispatch): Answer ping messages which are sent by other java implementions.
8024 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8025 for every rmi-message and fix void return problems.
8026 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8027 (UnicastServerRef): Throw RemoteException.
8028 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8029 In some situations it is necessary to export a subclass of the class which has the _Stub.
8030 For instance when the class with has the _Stub is abstract.
8031 (findStubSkelClass): New method which looks for the class which has the _Stub.
8032 (getClientHost): Implementated.
8033 * gcc/libjava/java/rmi/server/RemoteServer.java
8034 (getClientHost): Implementated.
8035 * gcc/libjava/Makefile.am (rmi_java_source_files):
8036 Added gnu/java/rmi/server/RMIIncomingThread.java.
8037 * Makefile.in: Regenerated.
8038
8039 2004-03-20 Michael Koch <konqueror@gmx.de>
8040
8041 * java/net/InetAddress.java
8042 (getLocalHostname): Added javadoc.
8043
8044 2004-03-19 Per Bothner <per@bothner.com>
8045
8046 * configure.in: FILE variable overrides FLATFORM when linking
8047 natFileChannelXXX.cc.
8048
8049 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8050 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8051
8052 2004-03-19 Per Bothner <per@bothner.com>
8053
8054 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8055 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8056 * Makefile.am: Update accordingly.
8057 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8058 as aliases for UnicodeLittle and UnicodeBig.
8059
8060 2004-03-20 Mark Wielaard <mark@klomp.org>
8061
8062 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8063 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8064 Don't access ws when it is null.
8065 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8066 Likewise.
8067
8068 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8069
8070 * java/lang/ThreadGroup.java (list): Changed print to println.
8071
8072 2004-03-19 Mark Wielaard <mark@klomp.org>
8073
8074 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8075 happy.
8076
8077 2004-02-10 Randolph Chung <tausq@debian.org>
8078
8079 * configure.in: Build java for hppa target.
8080 * configure: Regenerate.
8081 * libjava/configure.host (hppa-*): Add target.
8082 * libjava/sysdeps/pa/lock.h: New file.
8083
8084 2004-03-19 Mark Wielaard <mark@klomp.org>
8085
8086 Reported by Stephen Crawley
8087 * java/io/FilePermission.java (implies): Use String.length() -1 to
8088 access last char of String.
8089
8090 2004-03-19 Michael Koch <konqueror@gmx.de>
8091
8092 * java/awt/image/AffineTransformOp.java
8093 (AffineTransformOp): Made public.
8094 * javax/swing/JComponent.java
8095 (listenerList): Made protected.
8096 (accessibleContext): Likewise.
8097 * javax/swing/JList.java
8098 (valueChanged): Dont use internal fields of ListSelectionEvent.
8099 * javax/swing/JViewport.java
8100 (getView): Dont use internal fields of Component.
8101 (addImpl): Likewise.
8102 * javax/swing/Timer.java
8103 (isRunning): Made public.
8104 (start): Likewise.
8105 (stop): Likewise.
8106 * javax/swing/UIDefaults.java
8107 (getInt): Made public.
8108 * javax/swing/plaf/basic/BasicListUI.java
8109 (mousePressed): Dont use internal fields of MouseEvent.
8110 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8111 * javax/swing/plaf/basic/BasicScrollBarUI.java
8112 (arrowIcon): Made static.
8113 * javax/swing/plaf/basic/BasicViewportUI.java
8114 (stateChanged): Dont use internal field on ChangeEvent.
8115 * javax/swing/text/JTextComponent.java
8116 (getUI): Call UIManager.getUI().
8117 (updateUI): Use getUI().
8118
8119 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8120
8121 * verify.cc: Undef PC.
8122
8123 2004-03-18 Michael Koch <konqueror@gmx.de>
8124
8125 * java/nio/channels/spi/AbstractSelectableChannel.java
8126 (keys): Initialize at declaration.
8127 (locate): keys cant be null.
8128 (add): Removed.
8129 (addSelectionKey): New method.
8130 (removeSelectionKey): New method.
8131 * java/nio/channels/spi/AbstractSelectionKey.java
8132 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8133 * java/nio/channels/spi/AbstractSelector.java
8134 (provider): Javadoc added.
8135 (cancelledKeys): Javadoc added.
8136 (cancelKey): Javadoc added, add key to cancelledKeys.
8137 (deregister): Implemented.
8138
8139 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8140
8141 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8142 MAP_FAILED to void *.
8143
8144 2004-03-12 Graydon Hoare <graydon@redhat.com>
8145
8146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8147 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8148 * javax/swing/JList.java (ListListener): Revalidate on changes.
8149 * javax/swing/JScrollPane.java: Reimplement.
8150 * javax/swing/JViewport.java: Reimplement.
8151 * javax/swing/ScrollPaneLayout.java: Reimplement.
8152 * javax/swing/ViewportLayout.java: Tidy up.
8153 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8154 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8155 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8156 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8157 backing store only.
8158
8159 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8160
8161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8162 (window_wm_protocols_filter): New function.
8163 (window_focus_in_cb): Remove function.
8164 (window_focus_out_cb): Likewise.
8165 (window_focus_or_active_state_change_cb): New function.
8166 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8167 (connectSignals): Don't attach handlers to focus-in-event or
8168 focus-out-event signals. Handle notify signal.
8169
8170 2004-03-11 David Jee <djee@redhat.com>
8171
8172 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8173 (gtkSetLabel): New native method declaration.
8174 (setLabel): Use gtkSetLabel.
8175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8176 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8177
8178 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8179
8180 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8181 black when color argument is null.
8182
8183 2004-03-10 Kim Ho <kho@redhat.com>
8184
8185 * java/awt/Container.java: Remove check
8186 for drag events.
8187
8188 2004-03-10 Kim Ho <kho@redhat.com>
8189
8190 * java/awt/Container.java: (visitChild):
8191 Remove candidate clip. Use the component
8192 clip to intersect.
8193 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8194 (handleEvent): Use the PaintEvent's clip.
8195
8196 2004-03-10 Kim Ho <kho@redhat.com>
8197
8198 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8199 (handleEvent): Don't set the clip for the
8200 Graphics object.
8201
8202 2004-03-09 Graydon Hoare <graydon@redhat.com>
8203
8204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8205 Fix double <-> fixed macros, reset font transform.
8206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8207 Likewise.
8208
8209 2004-03-09  Kim Ho <kho@redhat.com>
8210
8211 * java/awt/Container.java: (visitChild): Move
8212 the x and y coordinate of the component rectangle
8213 to correct position.
8214 (handleEvent): Forward drag events to the pressed
8215 component.
8216 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8217 Fix comments.
8218 (ArrowButtonListener::mousePressed): Stop the
8219 existing timer.
8220 (mouseDragged): Implement.
8221 (TrackListener::mousePressed): Only react if
8222 the press doesn't occur on the thumb, otherwise
8223 just set the offset.
8224 (TrackListener::mouseReleased): Unset the isAdjusting
8225 value.
8226 (createIncreaseIcon): Switch icon.
8227 (createDecreaseIcon): Switch icon.
8228 (calculatePreferredSize): Use width.
8229 (getThumbBounds): Use the top as the lower value.
8230 (layoutVScrollBar): Switch the button locations.
8231 (paintIncreaseHighlight): Paint correct side of thumb.
8232 (paintDecreaseHighlight): ditto.
8233 (valueForYPosition): Use top as the lower value.
8234 * javax/swing/plaf/basic/BasicSliderUI.java:
8235 Fix comments.
8236 (mouseDragged): Implement.
8237 (mousePressed): Only react when the thumb isn't
8238 pressed, otherwise just set offset.
8239 (mouseReleased): Handle a release of the thumb.
8240 (scrollDueToClickInTrack): Stop the timer first.
8241 * javax/swing/JProgressBar.java:
8242 (setString): Fix change condition.
8243 * javax/swing/JSeparator.java:
8244 Remove println's.
8245
8246 2004-03-08 David Jee <djee@redhat.com>
8247
8248 * java/awt/image/AffineTransformOp.java:
8249 (filter): Use Graphics2D interface instead of directly using the
8250 GdkGraphics2D peer.
8251
8252 2004-03-05 David Jee <djee@redhat.com>
8253
8254 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8255 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8256 * java/awt/Container.java
8257 (acquireComponentForMouseEvent): Fixed.
8258 (handleEvent): Fixed.
8259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8260 (state_to_awt_mods_with_button_states): New method.
8261 (pre_event_handler): Fixed mouse event generation.
8262
8263 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8264
8265 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8266 (GdkGraphics2D (BufferedImage)): Initialize
8267 pixmap associated with specified BufferedImage.
8268 (setPaint): Changed implementation of Texture
8269 Paint to use AffineTransformOp.
8270 * java/awt/image/AffineTransformOp.java
8271 (createCompatibleDestRaster): Throw RasterFormatException
8272 if resulting width or height of raster is 0.
8273
8274 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8275
8276 * java/awt/image/AffineTransformOp.java:
8277 Removed unnecessary field interpolationType.
8278 Formatted some of the lines to be consistent with
8279 the GNU style.
8280 (AffineTransformOp): Create new RenderingHints
8281 containing specified interpolation type.
8282 (createCompatibleDestImage): Implemented.
8283 (createCompatibleDestRaster): Implemented.
8284 (filter): Implemented.
8285 (getBounds2D(BufferedImage)): Implemented.
8286 (getBounds2D(Raster)): Implemented.
8287 (getInterpolationType): Get interpolation value from
8288 rendering hints.
8289
8290 2004-03-04 David Jee <djee@redhat.com>
8291
8292 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8293 (setFont): Check if child peers are null.
8294
8295 2004-03-04 Graydon Hoare <graydon@redhat.com>
8296
8297 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8298 .libs in -L option.
8299 (libjava_arguments): Add new libraries to argument list.
8300
8301 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8302
8303 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8304 * Makefile.in: Re-generated.
8305 * java/awt/image/AffineTransformOp.java: New Class.
8306
8307 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8308
8309 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8310 (setPaint): Interpret correctly TexturePaint's
8311 anchor rectangle.
8312 (drawImage): Fixed scale factors of the affine
8313 transform.
8314
8315 2004-02-27 David Jee <djee@redhat.com>
8316
8317 * gnu/java/awt/peer/gtk/GdkGraphics.java
8318 (GdkGraphics(Component)): Inherit font from component.
8319 (drawString): Use font style.
8320 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8321 (gtkSetFont): New native method declaration.
8322 (setFont): New method.
8323 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8324 (gtkSetFont): New native method declaration.
8325 (setFont): Call new native method gtkSetFont.
8326 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8327 (setFont): For all child components who do not their fonts set,
8328 set their peers' fonts with this container's font.
8329 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8330 Move all native method declarations to the top for readability.
8331 (gtkSetFont): New native method declaration.
8332 (setFont): New method.
8333 * java/awt/Component.java
8334 (setFont): Invalidate after setting the font.
8335 * java/awt/Container.java
8336 (invalidateTree): New method.
8337 (setFont): Invalidate the container tree after setting the font.
8338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8339 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8341 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8345 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8346
8347 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8348
8349 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8350 (updateBufferedImage): New helper function.
8351 Updates BufferedImage in memory if it was changed.
8352 (draw): changed to update BufferedImage in memory after
8353 this drawing operation
8354 (fill): Ditto.
8355 (draw3DRect): Ditto.
8356 (fill3DRect): Ditto.
8357 (clearRect): Ditto.
8358 (drawRaster): Ditto.
8359 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8360 no affine transformation.
8361 (drawGlyphVector): Ditto.
8362
8363 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8364
8365 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8366 (isBufferedImageGraphics): New Helper function.
8367 Returns true if this graphics2d can be used to draw
8368 into buffered image and false otherwise.
8369 (updateImagePixels): New Helper function.
8370 Updates pixels in the BufferedImage.
8371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8372 (getImagePixels): New function. Returns pixels
8373 of the buffered image associated with
8374 this Graphics2D.
8375
8376 2004-02-26 David Jee <djee@redhat.com>
8377
8378 * java/awt/BorderLayout.java
8379 (layoutContainer): Fix width and height calculations to ensure
8380 that they're non-negative.
8381 * java/awt/Component.java
8382 (setBackground): If c is null, inherit from closest ancestor whose
8383 background color is set.
8384
8385 2004-02-26  Kim Ho  <kho@redhat.com>
8386
8387 * Makefile.am: Add new files.
8388 * Makefile.in: Re-generate.
8389 * javax/swing/JProgressBar.java:
8390 (JProgressBar(int, int int)): Throw
8391 IllegalArgumentException if orientation is
8392 invalid.
8393 (JProgressBar(BoundedRangeModel)): Create
8394 ChangeListener and register it. UpdateUI.
8395 (getChangeListeners): Implement.
8396 (setModel): Reset ChangeListener.
8397 * javax/swing/JScrollBar.java: Implement.
8398 * javax/swing/JSeparator.java: Implement.
8399 * javax/swing/JSlider.java:
8400 (JSlider(int, int, int, int)): Throw
8401 IllegalArgumentException if orientation
8402 is invalid.
8403 (getChangeListeners): Fix method name.
8404 * javax/swing/SwingUtilities.java:
8405 (layoutCompoundLabel): If there is no text,
8406 set the text rectangle dimensions to 0.
8407 * javax/swing/plaf/basic/BasicButtonUI.java:
8408 (paint): If there is no text, don't paint it.
8409 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8410 Implement.
8411 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8412 Implement.
8413 * javax/swing/plaf/basic/BasicSliderUI.java:
8414 (propertyChange): If the model changes, change
8415 the listeners accordingly.
8416
8417 2004-02-25 Graydon Hoare <graydon@redhat.com>
8418
8419 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8420 * javax/swing/JList.java: Reimplement.
8421 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8422 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8423 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8424 * javax/swing/ListModel.java: Javadoc.
8425 * javax/swing/ListSelectionModel.java: Add missing methods.
8426 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8427 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8428 * javax/swing/ListModel.java: Javadoc and corrections.
8429 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8430
8431 2004-02-25 David Jee <djee@redhat.com>
8432
8433 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8434 (GtkFontPeer): Change default size to 12.
8435 * gnu/java/awt/peer/gtk/GtkToolkit.java
8436 (getFontPeer): Change default size to 12.
8437 (getClasspathFontPeer): Likewise. Set default name to "Default".
8438 * java/awt/Font.java
8439 (Font(Map)): Call Font(String,Map).
8440 (Font(String,Map)): If attrs is null, initialize it as an empty
8441 HashMap, which will ensure that the Font will get default attributes.
8442
8443 2004-02-25 David Jee <djee@redhat.com>
8444
8445 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8446 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8447 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8448 * gnu/java/awt/peer/gtk/GtkToolkit.java
8449 (getFontPeer(String,int)): Call the new overload method with size 1.
8450 (getFontPeer(String,int,int)): New method. Overloaded with size
8451 attribute.
8452 (getClasspathFontPeer): Set the size of the font.
8453
8454 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8455
8456 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8457 (bimage): New field.
8458 (GdkGraphics2D): New Constructor. Constructs Graphics
8459 object that can be used to draw into the Buffered Image.
8460 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8461 (GdkGraphicsEnvironment): Fixed to include public
8462 keyword.
8463 (createGraphics): Implemented.
8464 * gnu/java/awt/peer/gtk/GtkToolkit.java
8465 (getLocalGraphicsEnvironment): Implemented.
8466 * java/awt/GraphicsEnvironment.java:
8467 (getLocalGraphicsEnvironment): Implemented.
8468 * java/awt/image/BufferedImage.java:
8469 (createGraphics): Implemented.
8470
8471 2004-02-24 David Jee <djee@redhat.com>
8472
8473 * java/awt/Component.java
8474 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8475 * java/awt/Container.java
8476 (addNotifyContainerChildren): Fix event enabling.
8477
8478 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8479
8480 * Makefile.am: Added
8481 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8482 * Makefile.in: Re-generated.
8483 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8484 New Class.
8485
8486 2004-02-19 Kim Ho <kho@redhat.com>
8487
8488 * Makefile.am: Add BasicProgressBarUI
8489 * Makefile.in: Regenerate.
8490 * javax/swing/JProgressBar.java:
8491 Re-implement.
8492 * javax/swing/plaf/basic/BasicLookAndFeel.java
8493 Add constants for JProgressBar.
8494 * javax/swing/plaf/basic/BasicProgressBarUI.java
8495 Implement.
8496 * javax/swing/plaf/basic/BasicSliderUI.java
8497 Change comments.
8498 (calculateGeometry): New method
8499 (paint): Remove unnecessary size calculations.
8500
8501 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8502
8503 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8504 (drawRaster): Fixed small error that caused
8505 imageToUser transformation to be set incorrectly.
8506 (toString): Implemented.
8507
8508 2004-02-18 David Jee <djee@redhat.com>
8509
8510 * java/awt/CardLayout.java
8511 (addLayoutComponent): Show the first component added as the default.
8512 (removeLayoutComponent): After removing, show the next component.
8513 (gotoComponent): If there is only one component, show it and return.
8514
8515 2004-02-18 Kim Ho <kho@redhat.com>
8516
8517 * javax/swing/JSlider.java: Re-order
8518 modifiers.
8519 * javax/swing/JLabel.java: Re-order
8520 modifiers.
8521 * javax/swing/JComponent.java:
8522 (addPropertyChangeListener):
8523 Implement.
8524 (removePropertyChangeListener):
8525 ditto.
8526 (firePropertyChangeEvent):
8527 ditto.
8528
8529 2004-02-17 David Jee <djee@redhat.com>
8530
8531 * java/awt/Component.java
8532 (show): Dispatch ComponentEvent via system event queue.
8533 (hide): Likewise.
8534 (move): Likewise.
8535 (resize): Likewise.
8536 (reshape): Likewise.
8537 * java/awt/Window.java
8538 (setBoundsCallback): Likewise.
8539
8540 2004-02-17 David Jee <djee@redhat.com>
8541
8542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8543 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8544 Use gtk_widget_set_size_request() instead of the deprecated
8545 gtk_widget_set_usize().
8546
8547 2004-02-17 Kim Ho <kho@redhat.com>
8548
8549 * javax/swing/JSlider.java: Fix comments and
8550 make property strings constants.
8551 (createStandardLabels): Use the labels
8552 preferred size as bounds.
8553 * javax/swing/plaf/basic/BasicSliderUI.java
8554 Fix comments.
8555 (ScrollHandler::actionPerformed): Don't
8556 calculate the timer stop value. Let the
8557 MouseListeners find the stop location.
8558 (getPreferredHorizontalSize): Re-implement.
8559 (getPreferredVerticalSize): ditto.
8560 (getMinimumHorizontalSize): ditto.
8561 (getMinimumVerticalSize): ditto.
8562 (getPreferredSize): ditto.
8563 (getMinimumSize): ditto.
8564 (getMaximumSize): ditto.
8565 (paintTicks): Use doubles to find the
8566 tick location.
8567 (paintHorizontalLabel):  Use preferredSize
8568 as initial width and height.
8569 (paintVerticalLabel): ditto.
8570
8571 2004-02-17 Kim Ho <kho@redhat.com>
8572
8573 * javax/swing/JLabel.java: Changed
8574 property strings to constants.
8575 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8576 New property.
8577 (setText): Change mnemonic index if
8578 text is too short.
8579 (setDisplayedMnemonicIndex): Fire property
8580 change event.
8581 (getDisplayedMnemonicIndex): Remove check
8582 against short text.
8583
8584 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8585
8586 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8587 (drawImage(img,xform,obs)): Invert xform before
8588 passing the xform to cairo.
8589 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8590 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8591 implemented.
8592 (drawImage (img,x,y,w,h,obs)): Implemented.
8593 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8594 bgcolor,obs)): Partly implemented.
8595 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8596 Implemented.
8597 * java/awt/image/BufferedImage.java:
8598 (copyData): if dest is null, create raster with same
8599 dimensions as the current image.
8600
8601 2004-02-16 Graydon Hoare <graydon@redhat.com>
8602
8603 * javax/swing/plaf/basic/BasicLabelUI.java
8604 (getPreferredSize): Use layoutCL.
8605 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8606 (getPreferredButtonSize): Start with empty view rect, layout using
8607 component's preferred alignment.
8608 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8609 List defaults.
8610
8611 2004-02-16 David Jee <djee@redhat.com>
8612
8613 * java/awt/Component.java
8614 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8615 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8616 (move): Erase old bounds and repaint new bounds. Dispatch
8617 COMPONENT_MOVED ComponentEvent.
8618 (resize): Erase old bounds and repaint new bounds. Dispatch
8619 COMPONENT_RESIZED ComponentEvent.
8620 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8621 ComponentEvents.
8622 * java/awt/Window.java
8623 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8624 ComponentEvents.
8625
8626 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8627
8628 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8629 (setRenderingHint): Added implementation of
8630 Interpolation rendering hints.
8631 (setRenderingHints): Ditto.
8632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8633 (drawPixels): fixed to allow user to choose type
8634 of filtering that should be used when displaying images.
8635 (cairoSurfaceSetFilter): New method. Sets filter type for
8636 interpolation of pixel values.
8637
8638 2004-02-16 David Jee <djee@redhat.com>
8639
8640 * java/awt/GridBagLayout.java
8641 (calcCellSizes): Rows or columns with zero sizes should still be
8642 considered for extra space distribution.
8643
8644 2004-02-16 Kim Ho <kho@redhat.com>
8645
8646 * javax/swing/JLabel.java: Re-implement.
8647 * javax/swing/plaf/basic/BasicLabelUI.java
8648 Re-implement.
8649 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8650 Added constant.
8651
8652 2004-02-16  Kim Ho  <kho@redhat.com>
8653
8654 * javax/swing/JSlider.java: Fix indentation and comments.
8655 (setModel): Remove null check to conform with Sun's.
8656 (setOrientation): Throw exception if not
8657 HORIZONTAL or VERTICAL.
8658 (getInverted): Use private variable instead of
8659 ComponentOrientation.
8660 (setInverted): ditto.
8661 * javax/swing/plaf/basic/BasicSliderUI.java:
8662 Fix indentation and comments.
8663 (propertyChange): Remove check for inverted slider, handle
8664 in main paint.
8665 (getMinimumSize): Return preferred size.
8666 (getMaximumSize): ditto.
8667 (calculateFocusRect): Don't relocate rectangle.
8668 (drawInverted): Return XOR of the slider's inversion and
8669 the component's orientation.
8670 (paint): Update leftToRightCache
8671
8672 2004-02-13 David Jee <djee@redhat.com>
8673
8674 * java/awt/GridBagLayout.java
8675 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8676 code to helper methods.
8677 (sortBySpan): New helper method.
8678 (distributeSizeAndWeight): Likewise.
8679 (calcCellWeights): Likewise.
8680 (calcCellSizes): Add comments.
8681
8682 2004-02-13 David Jee <djee@redhat.com>
8683
8684 * java/awt/Component.java
8685 (show): Only do something if component is invisible at the moment.
8686 (hide): Only do something if component is visible at the moment.
8687 (reshape): If lightweight, erase old bounds and repaint new bounds.
8688
8689 2004-02-13  Kim Ho  <kho@redhat.com>
8690
8691 * Makefile.am: Updated for new file.
8692 * Makefile.in: Regenerated.
8693 * javax/swing/JSlider.java: Reimplement.
8694 * javax/swing/SwingUtilities.java
8695 (layoutCompoundLabel): Use icon height
8696 instead of width.
8697 (paintComponent): Implement.
8698 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8699 Add JSlider defaults.
8700 * javax/swing/plaf/basic/BasicSliderUI.java:
8701 Implement. New file.
8702
8703 2004-03-17 Michael Koch <konqueror@gmx.de>
8704
8705 * gnu/java/net/PlainDatagramSocketImpl.java
8706 (RECEIVE_LOCK): New member field.
8707 (SEND_LOCK): New member field.
8708 (send0): New method.
8709 (send): Synchronize on SEND_LOCK.
8710 (receive0): New method.
8711 (receive): Synchronize on RECEIVE_LOCK.
8712 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8713 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8714 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8715 (send0): Renamed from send.
8716 (receive0): Renamed from receive.
8717 2004-03-17 Michael Koch <konqueror@gmx.de>
8718
8719 * gnu/java/net/natPlainSocketImplPosix.cc
8720 (write): Just call write(jbyteArray, offset, len).
8721 (read): Just call read(jbyteArray, offset, len).
8722
8723 2004-03-16 Michael Koch <konqueror@gmx.de>
8724
8725 * javax/swing/JTabbedPane.java
8726 (serialVersionUID): New field.
8727
8728 2004-03-16 Norbert Frese <postfach@nfrese.net>
8729
8730 * java/net/InetAddress.java
8731 (getByName): Handle hostname == "" case.
8732
8733 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8734
8735 Reported by: Adam Heath <doogie@debian.org>
8736 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8737 class loader.
8738
8739 2004-03-15 Michael Koch <konqueror@gmx.de>
8740
8741 * java/util/Locale.java: Reverting my last patch
8742 and add a comment why the original version was okay.
8743
8744 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8745
8746 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8747 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8748 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8749 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8750
8751 2004-03-12 Michael Koch <konqueror@gmx.de>
8752
8753 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8754
8755 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8756
8757 * java/net/URI.java (toURL): Implemented.
8758
8759 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8760
8761 * java/net/URI.java
8762 (URI_REGEXP) updated to contain scheme specific part.
8763 (SCHEME_SPEC_PART_GROUP) new constant.
8764 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8765 updated to make room for SCHEME_SPEC_PART_GROUP.
8766 (parseURI) parse scheme specific part.
8767 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8768 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8769 getQuery, getFragment) implemented.
8770
8771 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8772
8773 * libraries/javalib/java/net/URI.java
8774 partially implemented using java.util.regex.
8775 (URI_REGEXP) new constant. Used to parse URIs.
8776 (SCHEME_GROUP) new constant representing index of scheme group
8777 in parsed URI.
8778 (AUTHORITY_GROUP) new constant representing index of authority
8779 group in parsed URI.
8780 (PATH_GROUP) new constant representing index of path group in
8781 parsed URI.
8782 (QUERY_GROUP) new constant representing index of query group in
8783 parsed URI.
8784 (FRAGMENT_GROUP) new constant representing index of fragment
8785 group in parsed URI.
8786 (getURIGroup) new static utility method.
8787 (parseURI) implemented.
8788 (quote) stub for new static utility method.
8789 (quoteAuthority) stub for new static utility method.
8790 (quoteHost) stub for new static utility method.
8791 (quotePath) stub for new static utility method.
8792 (quoteUserInfo) stub for new static utility method.
8793 (URI) implemented.
8794 (create) don't throw URISyntaxException. Implemented.
8795 (toString) implemented.
8796
8797 2004-03-12 Michael Koch <konqueror@gmx.de>
8798
8799 * java/net/HttpURLConnection.java
8800 (getResponseCode): Fix another typo in javadoc.
8801
8802 2004-03-11 Michael Koch <konqueror@gmx.de>
8803
8804 * java/util/logging/Level.java
8805 (parse): Use String.equals() instead of ==.
8806
8807 2004-03-11 Michael Koch <konqueror@gmx.de>
8808
8809 * gnu/java/net/protocol/jar/Connection.java
8810 (getContentLength): New method.
8811
8812 2004-03-11 Michael Koch <konqueror@gmx.de>
8813
8814 * gnu/java/net/PlainSocketImpl.java:
8815 Reformated to merge better with classpath's version.
8816
8817 2004-03-11 Michael Koch <konqueror@gmx.de>
8818
8819 * java/util/Locale.java
8820 (getISO3Language): Use String.equals() instead of ==.
8821 (getISO3Country): Likewise.
8822
8823 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8824
8825 * java/text/AttributedString.java
8826 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8827 Use HashMap instead of Hashtable since value can be null, and
8828 you can not store a null value in a Hashtable.
8829
8830 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8831
8832 * java/text/AttributedStringIterator.java
8833 (getAllAttributesKey): Return only keys concerned
8834 by the current iterator.
8835 (getAttributes): Use strict inequality for
8836 end_index.
8837
8838 2004-03-11 Michael Koch <konqueror@gmx.de>
8839
8840 * java/net/HttpURLConnection.java:
8841 Fixed typo in javadoc.
8842
8843 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8844
8845 * java/io/BufferedInputStream.java (marktarget): New field for max
8846 mark limit.
8847 (CHUNKSIZE): New constant for incremental mark buffer allocation.
8848 (mark): Use new fields.
8849 (read): Likewise.
8850 (read(byte[],int,int)): Likewise.
8851 (skip): Likewise.
8852 (refill): Likewise.
8853
8854 2004-03-11 Mark Wielaard <mark@klomp.org>
8855
8856 * java/beans/BeanDescriptor.java (BeanDescriptor):
8857 Set the FeatureDescriptor programmatic name.
8858
8859 2004-03-11 Michael Koch <konqueror@gmx.de>
8860
8861 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
8862 This file was was just copied form java/io/natFileDescriptorEcos.cc
8863 and never changed to compile correctly.
8864
8865 2004-03-11 Michael Koch <konqueror@gmx.de>
8866
8867 * gnu/java/nio/PipeImpl.java
8868 (SourceChannelImpl): Made final.
8869 (read): Implemented.
8870 (SinkChannelImpl): Made final.
8871 (write): Implemented.
8872
8873 2004-03-11 Michael Koch <konqueror@gmx.de>
8874
8875 * gnu/java/net/PlainDatagramSocketImpl.java:
8876 Reformated to match classpath's version more.
8877
8878 2004-03-11 Michael Koch <konqueror@gmx.de>
8879
8880 * gnu/java/awt/peer/ClasspathFontPeer.java:
8881 Fixed javadoc to be correct xhtml.
8882 * gnu/java/awt/peer/gtk/GtkArgList.java
8883 (add): Use Boolean.valueOf() instead of new Boolean().
8884
8885 2004-03-09 Michael Koch <konqueror@gmx.de>
8886
8887 * java/lang/Thread.java
8888 (runnable): Moved around.
8889 (daemon): Renamed from daemon_flag.
8890 (contextClassLoader): Renamed from context_class_loader.
8891 (Thread): Reordered constructors.
8892 (activeCount): Use group directly.
8893 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
8894 (holdsLock): Reworked javadoc.
8895 (setDaemon): Reworked.
8896 * java/lang/natThread.cc
8897 (destroy): Removed.
8898
8899 2004-03-08 Anthony Green <green@redhat.com>
8900
8901 * Makefile.am: Build property resource files into libgcj.
8902 * Makefile.in: Rebuilt.
8903 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8904 java/util/regex/PatternSyntaxException.java,
8905 gnu/regexp/CharIndexed.java,
8906 gnu/regexp/CharIndexedCharArray.java,
8907 gnu/regexp/CharIndexedInputStream.java,
8908 gnu/regexp/CharIndexedReader.java,
8909 gnu/regexp/CharIndexedString.java,
8910 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
8911 gnu/regexp/REException.java,
8912 gnu/regexp/REFilterInputStream.java,
8913 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
8914 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
8915 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
8916 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
8917 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
8918 gnu/regexp/RETokenLookAhead.java,
8919 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
8920 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
8921 gnu/regexp/RETokenStart.java,
8922 gnu/regexp/RETokenWordBoundary.java,
8923 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
8924
8925 2004-03-03 Per Bothner <per@bothner.com>
8926
8927 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
8928 Optimize when argument is a FileChannelImpl.
8929 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
8930 New native methods.
8931 * java/nio/channels/natChannels.cc: New file for new native methods.
8932 * Makefile.am: Update accordingly.
8933
8934 2004-03-02 Jan Hubicka <jh@suse.cz>
8935
8936 * configure.host: Pass -fno-omit-frame-pointer for i386.
8937 * configure.in: Likewise.
8938 * configure: Regenerate.
8939
8940 2004-03-01 Per Bothner <per@bothner.com>
8941
8942 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
8943
8944 2004-02-29 Per Bothner <per@bothner.com>
8945
8946 * java/nio/channels/FileChannelImpl.java: Moved to package
8947 gnu/java/nio/channels, since we need to refer to it from java.io.
8948 * java/nio/channels/natFileChannelImpl.cc: Removed file.
8949 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
8950 from java/nio/channels. Don't depend on FileDescriptor.
8951 (in, out, err): New static fields.
8952 (mode): New field.
8953 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
8954 from FileDescriptor.
8955 (by): Removed MappedByteBuffer field.
8956 (map): New working implementation.
8957 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
8958 some code "ported" from natFileDescriptoPosix.cc.
8959 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
8960 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
8961 * java/io/FileDescriptor.java: Implement on top of FileChannel.
8962 Remove native methods.
8963 * Makefile.am, configure.in: Updated accordingly.
8964
8965 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
8966 (ch): New FileChannelImpl field. Update constructor to match.
8967 (releaseImpl): Remove native method. Instead ...
8968 (release): Call unlock on channel.
8969 * gnu/java/nio/natFileLockImpl.cc: Removed file.
8970
8971 * java/io/natFileDescriptorEcos.cc: Remove file.
8972 * java/io/natFileDescriptorPosix.cc: Remove file.
8973 * java/io/natFileDescriptorWin32.cc: Remove file.
8974 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
8975 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
8976 (<init>(FileChannelImpl)): New package-private constructor.
8977 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
8978 (available, close, read, skip): Implement using FileChannelImpl.
8979 (getFD): Allocate FileDescriptor if needed.
8980 (getChannel): Is now trivial.
8981 * java/io/FileOutputStream.java: Corresponding changes.
8982 * java/io/RandomAccessFile.java: Corresponding changes.
8983
8984 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
8985 unmapImpl): New dummy methods, to be overridden by subclass.
8986 (finalize, isLoaded, load, force): New methods.
8987 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
8988 Now works, at least for read mapping.
8989
8990 * java/lang/natPosixProcess.cc (startProcess): Implement standard
8991 streams using FileChannelImpl, not FileDescriptor.
8992 * java/lang/natWin32Process.cc (startProcess): Likewise.
8993
8994 2004-02-28 Michael Koch <konqueror@gmx.de>
8995
8996 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
8997 wrong code.
8998
8999 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9000
9001 * java/io/ObjectInputStream.java
9002 (readClassDescriptor): Keep elements of the mapping non null.
9003 (checkTypeConsistency): New method.
9004 (readFields): Fixed main loop and base logic. Small reindentation.
9005 * java/io/ObjectStreamField.java
9006 (lookupField): New method to update the field reference.
9007 (checkFieldType): New method.
9008 * java/io/ObjectStreamClass.java
9009 (setClass, setFields): Call lookupField when building the field
9010 database. Check the real field type.
9011
9012 2004-02-28 Michael Koch <konqueror@gmx.de>
9013
9014 * java/nio/ByteOrder.java
9015 (nativeOrder): Use equals() to compare strings.
9016
9017 2004-02-26 Michael Koch <konqueror@gmx.de>
9018
9019 * gnu/java/nio/FileLockImpl.java
9020 (finalize): Made protected.
9021 * java/nio/channels/FileChannel.java
9022 (MapMode.READ_ONLY): Made final.
9023 (MapMode.READ_WRITE): Made final.
9024 (MapMode.PRIVATE): Made final.
9025 * java/nio/channels/SocketChannel.java
9026 (open): Simplified code.
9027 * java/nio/channels/spi/AbstractSelectableChannel.java
9028 (registered): Unused, removed.
9029 (keyFor): Check channel is open, only locate key
9030 and not add a new one.
9031 (register): Don't delete attachments.
9032
9033 2004-02-26 Michael Koch <konqueror@gmx.de>
9034
9035 * gnu/java/awt/ComponentDataBlitOp.java
9036 (INSTANCE): Made final.
9037 * gnu/java/awt/image/ImageDecoder.java:
9038 Reworked imports.
9039 (cm): Unused, removed.
9040
9041 2004-02-26 Michael Koch <konqueror@gmx.de>
9042
9043 * gnu/java/nio/DatagramChannelImpl.java
9044 (send): Check if target address is resolved.
9045
9046 2004-02-26 Michael Koch <konqueror@gmx.de>
9047
9048 * Makefile.am: Generate and install headers for inner classes in
9049 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9050 * Makefile.in: Regenerated.
9051
9052 2004-02-24 Anthony Green <green@redhat.com>
9053
9054 * java/lang/StringBuffer.java: No need to NULL out remainder of
9055 buffer since ensureCapacity_unsynchronized will have done this for
9056 us.
9057
9058 2004-02-20 Michael Koch <konqueror@gmx.de>
9059
9060 * gnu/java/net/protocol/jar/Handler.java
9061 (): Removed unneeded check for file != null. java.net.URL.getFile()
9062 returns an empty string but never null.
9063
9064 2004-02-20 Michael Koch <konqueror@gmx.de>
9065
9066 * gnu/gcj/convert/Convert.java
9067 (main): Use equals() to compare strings.
9068
9069 2004-02-20 Michael Koch <konqueror@gmx.de>
9070
9071 * javax/swing/AbstractButton.java: Made several constants final.
9072 (getRolloverSelectedIcon): Made public.
9073 (getSelectedIcon): Made public.
9074
9075 2004-02-16 Per Bothner <per@bothner.com>
9076
9077 * java/nio/CharBufferImpl.java: Inline super constructor.
9078 * java/nio/DoubleBufferImpl.java: Likewise.
9079 * java/nio/FloatBufferImpl.java: Likewise.
9080 * java/nio/IntBufferImpl.java: Likewise.
9081 * java/nio/LongBufferImpl.java: Likewise.
9082 * java/nio/ShortBufferImpl.java: Likewise.
9083 * java/nio/CharBuffer.java: Remove unused constructor.
9084 * java/nio/DoubleBuffer.java: Likewise.
9085 * java/nio/FloatBuffer.java: Likewise.
9086 * java/nio/IntBuffer.java: Likewise.
9087 * java/nio/LongBuffer.java: Likewise.
9088 * java/nio/ShortBuffer.java: Likewise.
9089 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9090 Fix buggy call to super constructor.
9091 * java/nio/DoubleViewBufferImpl.java: Likewise.
9092 * java/nio/FloatViewBufferImpl.java: Likewise.
9093 * java/nio/IntViewBufferImpl.java: Likewise.
9094 * java/nio/LongViewBufferImpl.java: Likewise.
9095 * java/nio/ShortViewBufferImpl.java: Likewise.
9096
9097 * java/nio/ByteBuffer.java (endian): Make non-private so other
9098 java.nio classes can inherit it.
9099 (<init>): Don't bother clearing array_offset.
9100 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9101 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9102 Remove redundant test.
9103
9104 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9105 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9106 Use new XxxViewBufferImpl constructors.
9107 * java/nio/MappedByteBufferImpl.java: Likewise.
9108 * java/nio/DirectByteBufferImpl.java: Likewise.
9109
9110 * java/nio/ByteBufferImpl.java: Remove one constructor.
9111 Inline super in remaining constructor.
9112 * java/nio/ByteBuffer.java: Remove unused constructor.
9113
9114 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9115
9116 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9117 * java/nio/DirectByteBufferImpl.java (owner): New field.
9118 (offset): Remove unused field.
9119 (<init>): Modify one and add another constructor. Change callers.
9120 (allocateDirect): Removed - not used.
9121 (getImpl, putImpl): Make static and pass address explicitly,
9122 to make them useful for MappedByteBufferImpl.
9123 (get, put): Check for underflow. Modify for new getImpl.
9124 (getImpl): New native method where target is array.
9125 (get(byte[],int,int)): Use the above.
9126 (adjustAddress): New static native method.
9127 (slice, duplicate, asReadOnly): New implementations.
9128 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9129 adjustAddress): New or updated native methods.
9130
9131 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9132
9133 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9134 overflow of fieldmapping.
9135
9136 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9137
9138 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9139
9140 2004-02-14 Per Bothner <per@bothner.com>
9141
9142 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9143 Set closed before calling implCloseChannel, as in the spec.
9144
9145 2004-02-09 Graydon Hoare <graydon@redhat.com>
9146
9147 * javax/swing/ToggleButtonModel.java: Remove dead class.
9148 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9149 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9150 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9151 * Makefile.am: Update for new and removed files.
9152 * Makefile.in: Regenerate.
9153
9154 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9155 * javax/swing/AbstractButton.java
9156 (AbstractButton): Initialize fields correctly in ctor.
9157 * javax/swing/JCheckbox.java
9158 (JCheckBox): Override painting flags.
9159 * javax/swing/DefaultButtonModel.java: Conform to sun.
9160 * javax/swing/JComponent.java (paint): Fill with background color
9161 if available.
9162 (processComponentKeyEvent)
9163 (processFocusEvent)
9164 (processKeyEvent)
9165 (processMouseMotionEvent): Remove event-consuming empty methods.
9166 (getUIClassID): Return "ComponentUI" not "JComponent"
9167 * javax/swing/JFrame.java: Remove some debugging chatter.
9168 (JFrame): Subscribe to window events.
9169 * javax/swing/JRadioButton.java
9170 (JRadioButton): Override painting flags.
9171 * javax/swing/JRootPane.java
9172 (JRootPane): Set background from UIDefaults.
9173 * javax/swing/JToggleButton.java
9174 (ToggleButtonModel): New inner class.
9175 (JToggleButton): Override layout alighment.
9176 * javax/swing/SwingUtilities.java:
9177 (getLocalBounds): Return width and height, not x and y.
9178 (calculateInnerArea): Use local bounds, not bounds.
9179 (layoutCompoundLabel): Provide overridden form.
9180 (layoutCompoundLabel): Correct bugs.
9181 * javax/swing/UIDefaults.java: Correct comment.
9182 * javax/swing/plaf/basic/BasicButtonUI.java:
9183 Move most logic into defaults, external listener.
9184 (paintIcon): Implement icon painting.
9185 (paint): Fix state painting to conform to changes in model.
9186 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9187 Remove most dead/wrong methods.
9188 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9189 * javax/swing/plaf/basic/BasicIconFactory.java:
9190 (DummyIcon): New class.
9191 (getMenuItemCheckIcon)
9192 (getMenuItemArrowIcon)
9193 (getMenuArrowIcon)
9194 (getCheckBoxMenuItemIcon)
9195 (getRadioButtonMenuItemIcon)
9196 (createEmptyFrameIcon): Return DummyIcons, not null.
9197 (getCheckBoxIcon): Implement an icon that looks like sun's.
9198 (getRadioButtonIcon): Implement an icon that looks like sun's.
9199 * javax/swing/plaf/basic/BasicLookAndFeel.java
9200 (initComponentDefaults): Fix impossible values, add some missing.
9201 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9202 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9203 Remove most dead/wrong methods.
9204 (icon): New field.
9205 (getDefaultIcon): New method.
9206 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9207 Remove most dead/wrong methods.
9208 * javax/swing/plaf/metal/MetalLookAndFeel.java
9209 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9211 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9212 Implement "clearing" as drawing, when on pixmap drawables.
9213
9214 * javax/swing/JButton.java (getUIClassID):
9215 * javax/swing/JCheckBox.java (getUIClassID):
9216 * javax/swing/JEditorPane.java (getUIClassID):
9217 * javax/swing/JLabel.java (getUIClassID):
9218 * javax/swing/JList.java (getUIClassID):
9219 * javax/swing/JOptionPane.java (getUIClassID):
9220 * javax/swing/JPanel.java (getUIClassID):
9221 * javax/swing/JPasswordField.java (uiClassID):
9222 * javax/swing/JRadioButton.java (getUIClassID):
9223 * javax/swing/JRootPane.java (getUIClassID):
9224 * javax/swing/JScrollPane.java (getUIClassID):
9225 * javax/swing/JTabbedPane.java (getUIClassID):
9226 * javax/swing/JToggleButton.java (getUIClassID):
9227 * javax/swing/JTree.java (getUIClassID):
9228 * javax/swing/JViewport.java (getUIClassID):
9229 * javax/swing/text/JTextComponent.java (getUIClassID):
9230 Return "fooUI" not "Jfoo"
9231
9232 2004-02-11 Michael Koch <konqueror@gmx.de>
9233
9234 * java/net/DatagramSocket.java
9235 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9236 Boolean object.
9237 (setBroadcast): Likewise.
9238 * java/net/MulticastSocket.java
9239 (setLoopbackMode): Likewise.
9240 * java/net/ServerSocket.java
9241 (setReuseAddress): Likewise.
9242 * java/net/Socket.java
9243 (setTcpNoDelay): Likewise.
9244 (setSoLinger): Likewise.
9245 (setOOBInline): Likewise.
9246 (setKeepAlive): Likewise.
9247 (setReuseAddress): Likewise.
9248 * java/net/URLConnection.java
9249 (setContentHandler): Replace == with equals().
9250 * java/net/URLStreamHandler.java
9251 (hostSEquals): Fix checking host addresses.
9252 (toExternalForm): Dont check protocol for null. We know already its
9253 not null.
9254
9255 2004-02-10 David Jee <djee@redhat.com>
9256
9257 * java/awt/BorderLayout.java
9258 (calcCompSize): Invisible components get zero dimensions.
9259 * java/awt/Button.java
9260 (setLabel): Set actionCommand.
9261 * java/awt/Component.java
9262 (show): Invalidate component and parent container.
9263 (hide): Likewise.
9264
9265 2004-02-10 David Jee <djee@redhat.com>
9266
9267 * java/awt/GridBagLayout.java
9268 (GridBagLayout): New private field, internalcomptable.
9269 (lookupInternalConstraints): New method.
9270 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9271 (GetLayoutInfo): Reimplement.
9272 (calcCellSizes): Ignore rows/columns with size 0.
9273
9274 2004-02-10 Michael Koch <konqueror@gmx.de>
9275
9276 * gnu/java/awt/EmbeddedWindow.java
9277 (setHandle): Use java.awt.Component.getPeer() instead of
9278 java.awt.Component.peer directly.
9279
9280 2004-02-10 David Jee <djee@redhat.com>
9281
9282 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9283 (gtkSetLabel): New native method definition.
9284 (setLabel): Use gtkSetLabel.
9285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9286 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9287
9288 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9289
9290 * include/powerpc-signal.h: Revert 2004-01-21 change.
9291 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9292 from syscall for ppc32 versions.
9293
9294 2004-02-08 Per Bothner <per@bothner.com>
9295
9296 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9297 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9298 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9299 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9300 Pass ByteOrder parameter to most methods, since the underlying
9301 ByteBuffer's order isn't always what we should use.
9302 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9303 * java/nio/DirectByteBufferImpl.java: Likewise.
9304 Use ByteBufferHelper methods.
9305 * java/nio/MappedByteBufferImpl.java: Likewise.
9306 (compact): Use shiftDown.
9307 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9308 (get, put): Use ByteBufferHelper.
9309 (compact): Use new shiftDown method.
9310 (duplicate(boolean)): New helper method.
9311 (duplicate, asReadOnlyBuffer): Use it.
9312 (order): Return endian field.
9313 * java/nio/DoubleViewBufferImpl.java: Likewise.
9314 * java/nio/FloatViewBufferImpl.java: Likewise.
9315 * java/nio/IntViewBufferImpl.java: Likewise.
9316 * java/nio/LongViewBufferImpl.java: Likewise.
9317 * java/nio/ShortViewBufferImpl.java: Likewise.
9318 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9319 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9320 (compact): Re-implement using shiftDown.
9321
9322 2004-02-08 Andreas Jaeger <aj@suse.de>
9323
9324 * include/x86_64-signal.h: Fix typo.
9325
9326 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9327
9328 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9329 qualifier to _regs.
9330 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9331
9332 2004-02-06 Michael Koch <konqueror@gmx.de>
9333
9334 * java/io/ObjectInputStream.java
9335 (currentClassLoader): Reverted to old version of this method.
9336
9337 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9338
9339 * java/io/ObjectInputStream.java: Made all calls
9340 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9341 use cached info from ObjectStreamClass. (readClassDescriptor):
9342 Cache more information in ObjectStreamClass. (processResolution,
9343 readFields): Use cached info from ObjectStreamClass.
9344 (newObject): Throw exception instead of returning null for failure.
9345 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9346 setCharField, setDoubleField, setFloatField, setIntField,
9347 setLongField, setShortField, setObjectField, readObjectParams):
9348 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9349 check.
9350 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9351 (setClass): Added call to cacheMethods() (findMethod): New method.
9352 (cacheMethods): New method. (ObjectStreamClass): Added call to
9353 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9354 AccessController.doPrivileged to invoke setAccessible.
9355 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9356 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9357 New fields.
9358 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9359 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9360 isPrimitive): Made safe for cases where type == null.
9361 (setBooleanField, setByteField, setCharField, setShortField,
9362 setIntField, setLongField, setFloatField, setDoubleField,
9363 setObjectField): New methods.
9364
9365 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9366
9367 * java/awt/Component.java (getFont): Return a default font
9368 instead of null.
9369
9370 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9371 (Scrollbar (int, int, int, int, int)): Make default page
9372 increment 10.
9373 (setValues): Only call peer.setValues if one of the values has
9374 changed.
9375 (generateName): New method.
9376 (getUniqueLong): New method.
9377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9378 (range_scrollbar): Remove structure.
9379 (post_adjustment_event): Remove function.
9380 (post_change_event): Accept jobject argument.
9381 (create): Cast jints to gdoubles. Round scrollbar values to the
9382 nearest integer. Clamp min, max and value settings.
9383 (connectJObject): Connect hook to widget->window.
9384 (connectSignals): Remove range_scrollbar structure variables.
9385 Remove "move-slider" connection. Pass global peer reference to
9386 "value-changed" callback.
9387 (setLineIncrement): Cast jint value to gdouble.
9388 (setPageIncrement): Likewise.
9389 (setValues): Likewise. Clamp min, max and value settings.
9390
9391 2004-02-05 Michael Koch <konqueror@gmx.de>
9392
9393 * javax/swing/AbstractCellEditor.java
9394 (getCellEditorValue): Removed.
9395 * javax/swing/Box.java: Reformated.
9396 (serialVersionUID): New field.
9397 * javax/swing/ButtonGroup.java:
9398 Removed some weird whitespace.
9399 * javax/swing/CellEditor.java: Reformated.
9400 * javax/swing/CellRendererPane.java
9401 (serialVersionUID): New field.
9402 (AccessibleCellRendererPaneserialVersionUID): New field.
9403 * javax/swing/DefaultListModel.java
9404 (serialVersionUID): New field.
9405 * javax/swing/JEditorPane.java
9406 (serialVersionUID): New field.
9407 (setPage): Throws IOException.
9408 (addHyperlinkListener): Implemented.
9409 (removeHyperlinkListener): Implemented.
9410 (getHyperlinkListener): New method.
9411 * javax/swing/JFileChooser.java
9412 (serialVersionUID): New field.
9413 (AccessibleJFileChooser.serialVersionUID): New field.
9414 (addActionListener): Implemented.
9415 (removeActionListener): Implemented.
9416 (getActionListeners): New method.
9417 * javax/swing/JFormattedTextField.java
9418 (serialVersionUID): New field.
9419 (AbstractFormatter.serialVersionUID): New field.
9420 (clone): Throws CloneNotSupportedException
9421 (setEditValid): Add missing argument.
9422 (stringToValue): Throws ParseExcpetion.
9423 (valueToString): Throws ParseException.
9424 (commitEdit): Throws ParseException.
9425 * javax/swing/JLabel.java
9426 (serialVersionUID): New field.
9427 * javax/swing/JList.java
9428 (serialVersionUID): New field.
9429 (addListSelectionListener): Reformated.
9430 (removeListSelectionListener): Reformated.
9431 (getListSelectionListeners): New method.
9432 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9433 Reformated.
9434 (serialVersionUID): New field.
9435 * javax/swing/table/AbstractTableModel.java
9436 (getValueAt): Removed.
9437 (getColumnCount): Removed.
9438 (getRowCount): Removed.
9439
9440 2004-02-05 Michael Koch <konqueror@gmx.de>
9441
9442 * java/awt/datatransfer/DataFlavor.java
9443 (imageFlavor): Javadoc added.
9444 (javaJVMLocalObjectType): Fixed.
9445
9446 2004-02-05 Michael Koch <konqueror@gmx.de>
9447
9448 * java/lang/Thread.java
9449 (Thread): Reordered.
9450 (setContextClassLoader): Fixed javadoc comment.
9451 (setPriority): Reordered.
9452 (yield): Reordered.
9453 (initialize_native): Reordered.
9454 (gen_name): Reordered.
9455
9456 2004-02-05 Michael Koch <konqueror@gmx.de>
9457
9458 * java/lang/Thread.java: Reordered fields, reformated much code,
9459 no functional changes, some variables renamed, javadoc comments
9460 merged.
9461
9462 2004-02-05 Michael Koch <konqueror@gmx.de>
9463
9464 * java/util/zip/Deflater.java,
9465 java/util/zip/DeflaterOutputStream.java,
9466 java/util/zip/GZIPInputStream.java:
9467 Reformated and javadoc comments merged from classpath.
9468
9469 2004-02-05 Michael Koch <konqueror@gmx.de>
9470
9471 * gnu/java/nio/NIOServerSocket.java
9472 (impl): Unused, removed.
9473 * gnu/java/nio/SocketChannelImpl.java
9474 (finnishConnect): Don't throw NoConnectionPendingException if not
9475 connected or no connection pending.
9476
9477 2004-02-02 Graydon Hoare <graydon@redhat.com>
9478
9479 * javax/swing/SwingUtilities.java: Many new functions.
9480 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9481 * javax/swing/basic/BasicGraphicsUtils.java
9482 (getPreferredButtonSize): Start layout from top-left corner.
9483
9484 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9485
9486 * java/awt/geom/AffineTransform.java:
9487 Corrected comments on the field definitions for
9488 m11 and m10.
9489 (shear): Fixed few errors that caused shear
9490 transformation to be performed incorrectly.
9491 (createInverse): Fixed to return correct
9492 inverse of the given matrix.
9493
9494 2004-02-03 Tom Tromey <tromey@redhat.com>
9495
9496 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9497 PATH or LD_LIBRARY_PATH is not set in parent environment.
9498
9499 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9500
9501 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9502 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9503 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9504 java/awt/Component.java, java/awt/Container.java,
9505 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9506 java/awt/LayoutManager2.java, java/awt/List.java,
9507 java/awt/Menu.java, java/awt/MenuBar.java,
9508 java/awt/MenuItem.java, java/awt/Polygon.java,
9509 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9510 java/awt/Scrollbar.java, java/awt/TextArea.java,
9511 java/awt/TextField.java,
9512 java/awt/image/renderable/RenderContext.java,
9513 javax/swing/JApplet.java: Fix handling of alias methods, where a
9514 method has been deprecated in favour of a new one with the same
9515 funtion but a different name. Put the method implementation in
9516 the deprecated method and have the new method call the
9517 deprecated one. Make all other code call the new method.
9518
9519 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9520
9521 * gnu/java/nio/DatagramChannelImpl.java
9522 (inChannelOperation): New field.
9523 (isInChannelOperation): New accessor.
9524 (setInChannelOperation): New modifier.
9525 (receive): Use capacity() - position() of destination
9526 buffer instead of remaining(). Set and reset our "in
9527 channel operation indicator" before and after delegating
9528 the receive to our datagram socket. Removed testing code.
9529 Update destination buffer's current position if it is
9530 backed by a byte array (hasArray() is true).
9531 (send): Set and reset our "in channel operation indicator"
9532 before and after delegating the send to our datagram socket.
9533 Removed testing code. Update source buffer's current position
9534 if it is backed by a byte array (hasArray() is true).
9535 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9536 Use capacity() - position() of destination buffer instead
9537 of remaining().
9538 * java/net/DatagramSocket.java (receive): Don't throw an
9539 IllegalBlockingModeException if we have a non-blocking
9540 channel which initiated this operation.
9541 (send): Likewise.
9542
9543 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9544
9545 * configure.in: Add pkgconfig check for glib and gthread.
9546 * configure: Regenerate.
9547
9548 2004-02-01 Michael Koch <konqueror@gmx.de>
9549
9550 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9551 arguments.
9552 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9553 * verify.cc (debug_print): Mark 'fmt' unused.
9554
9555 2004-01-30 Michael Koch <konqueror@gmx.de>
9556
9557 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9558 * configure: Regenerated.
9559 * glib-2.0.m4: Removed.
9560 * gtk-2.0.m4: Removed.
9561 * libart.m4: Removed.
9562 * pkg.m4: New file.
9563
9564 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9565
9566 * gnu/java/net/PlainSocketImpl.java
9567 (inChannelOperation): New field.
9568 (isInChannelOperation): New accessor.
9569 (setInChannelOperation): New modifier.
9570 * gnu/java/nio/ServerSocketChannelImpl.java
9571 (accept): Set and reset our server socket's PlainSocketImpl's
9572 "in channel operation" indicator before and after delegating
9573 the accept to our server socket.
9574 * gnu/java/nio/SocketChannelImpl.java
9575 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9576 operation" indicator before and after delegating the operation to
9577 our socket.
9578 (read): Likewise.
9579 (write): Likewise.
9580 * java/net/ServerSocket.java (implAccept): Don't throw an
9581 IllegalBlockingModeException if we have a non-blocking
9582 channel which initiated this accept operation.
9583 * java/net/Socket.java (connect): Don't throw an
9584 IllegalBlockingModeException if we have a non-blocking
9585 channel which initiated this connect operation.
9586 * java/nio/channels/spi/AbstractSelectableChannel.java
9587 (configureBlocking): Only call implConfigureBlocking() if
9588 the desired blocking mode is different from our current one.
9589
9590 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9591
9592 * java/io/BufferedReader.java (sbuf): New field.
9593 (readLine): Use String.valueOf instead of new String() as per
9594 Per Bothner's suggestion. Use instance sbuf field instead of a
9595 local StringBuffer instance.
9596 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9597 caller's buffer to refill().
9598 (read(void)): Pass our internal work buffer to refill if our
9599 input queue is empty.
9600 (refill): Changed return type to int. Use the specified buffer
9601 instead of our work buffer as per Bryce McKinlay's suggestion.
9602 Return the number of characters read or -1 for EOF.
9603
9604 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9605
9606 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9607
9608 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9609
9610 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9611 * Makefile.in: Re-generated.
9612 * gnu/awt/xlib/XFontPeer.java: New file.
9613 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9614 (setClip): Commented out debug printout.
9615 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9616 (getFontPeer): Return XFontPeer.
9617 (getLocalGraphicsEnvironment): New method.
9618 (getClasspathFontPeer): New method.
9619 (createFont): New method.
9620
9621 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9622
9623 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9624 return null.
9625
9626 2004-01-29 Kim Ho <kho@redhat.com>
9627
9628 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9629 (gtkLayoutSetVisible): New method
9630 (setMenuBar): Hide layout before setting MenuBar
9631 and reshow it after.
9632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9633 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9634
9635 2004-01-28 Michael Koch <konqueror@gmx.de>
9636
9637 * gnu/java/lang/ClassHelper.java
9638 (getPackagePortion): Removed.
9639
9640 2004-01-28 Michael Koch <konqueror@gmx.de>
9641
9642 * javax/swing/JComponent.java
9643 (listenerList): Initalize globally.
9644 (ancestor_list): Removed.
9645 (veto_list): Removed.
9646 (change_list): Removed.
9647 (get_veto_list): Removed.
9648 (get_change_list): Removed.
9649 (get_ancestor_list): Removed.
9650 (removeAncestorListener): Reimplemented.
9651 (removePropertyChangeListener): Likewise.
9652 (removeVetoableChangeListener): Likewise.
9653 (addAncestorListener): Likewise.
9654 (addPropertyChangeListener): Likewise.
9655 (addVetoableChangeListener): Likewise.
9656 (getListeners): New method.
9657 (getAncestorListeners): Likewise.
9658 (getVetoableChangeListeners): Likewise.
9659 (fireVetoableChange): Throws PropertyVetoException.
9660 * javax/swing/JEditorPane.java
9661 (JEditorPane): Throws IOException.
9662
9663 2004-01-28 David Jee <djee@redhat.com>
9664
9665 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9666 (create): Set the default foreground color to
9667 java.awt.SystemColor.windowText.
9668
9669 2004-01-27 Michael Koch <konqueror@gmx.de>
9670
9671 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9672 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9673 Reindented to merge with classpath.
9674
9675 2004-01-27 David Jee <djee@redhat.com>
9676
9677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9678 (addExposeFilter): Handle GtkFramePeer separately.
9679 (removeExposeFilter): Likewise.
9680
9681 2004-01-27 Michael Koch <konqueror@gmx.de>
9682
9683 * gnu/java/net/protocol/http/Connection.java
9684 (getOutputStream): Fixed typo.
9685
9686 2004-01-27 Michael Koch <konqueror@gmx.de>
9687
9688 * java/lang/Class.java
9689 (getConstructor): Removed SecurityException from throws clause.
9690 (_getConstructors): Likewise.
9691 (getConstructors): Likewise.
9692 (getDeclaredConstructor): Likewise.
9693 (getDeclaredClasses): Likewise.
9694 (getDeclaredConstructors): Likewise.
9695 (getDeclaredField): Likewise.
9696 (getDeclaredMethod): Likewise.
9697 (getDeclaredMethods): Likewise.
9698 (getField): Likewise.
9699 (getMethod): Likewise.
9700 (getMethods): Likewise.
9701
9702 2004-01-27 Kim Ho <kho@redhat.com>
9703
9704 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9705 (removeMenuBarPeer): Remove MenuBarPeer argument.
9706 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9707 (dispose): Call native method.
9708 * java/awt/Frame.java (setMenuBar): Create and remove
9709 MenuBar peers only if the Frame has a peer.
9710 (addNotify): Create the MenuBar peer if one exists.
9711 (removeNotify): Remove MenuBar peer if one exists.
9712 * java/awt/Menu.java: Fix imports.
9713 (addNotify): Don't use full class name.
9714 (removeNotify): Call removeNotify on all children.
9715 * java/awt/MenuBar.java (removeNotify): Call
9716 removeNotify on all children.
9717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9718 (removeMenuBarPeer): Remove MenuBarPeer argument.
9719 Iterate through children to find the Frame's MenuBar.
9720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9721 New file.
9722 (dispose): Remove references to the MenuComponent.
9723
9724 2004-01-27 Michael Koch <konqueror@gmx.de>
9725
9726 * javax/swing/AbstractCellEditor.java: Reformated.
9727 * javax/swing/DefaultListSelectionModel.java
9728 (listenerList): Made protected.
9729 (addListSelectionListener): Javadoc added.
9730 (removeListSelectionListener): Likewise.
9731 (getListeners): Likewise.
9732 (getListSelectionListeners): Likewise.
9733 * javax/swing/JComboBox.java: Merged copyright year.
9734 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9735
9736 2004-01-26 Andrew Haley <aph@redhat.com>
9737
9738 * javax/swing/table/JTableHeader.java: Extend JComponent
9739
9740 2004-01-26 Kim Ho <kho@redhat.com>
9741
9742 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9743 Fix spacing.
9744
9745 2004-01-26 Kim Ho <kho@redhat.com>
9746
9747 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9748 method.
9749 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9750 height and let the Layout Managers readjust anything that
9751 needs to move.
9752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9753 (moveLayout): New method. Shift everything in the Gtk
9754 layout in the Y direction by an offset.
9755
9756 2004-01-26 David Jee <djee@redhat.com>
9757
9758 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9759 (handleEvent): Implemented. Handles PaintEvents.
9760 (paint): Implemented. Use GTK native methods to queue updates
9761 for this heavyweight peer.
9762 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9763 (handleEvent): Removed.
9764 * java/awt/Component.java
9765 (paint): Implemented. Explictly paint the heavyweight peer.
9766 (update): Clear the background for heavyweight components.
9767 (paintAll): No need to call peer.paint() anymore.
9768 (processEvent): Don't process PaintEvents here. It's now done in
9769 the peer's handleEvent().
9770 (processPaintEvent): Removed.
9771 * java/awt/Container.java
9772 (paint): No need to call super.paint(). Visit heavyweight
9773 children as well.
9774 (update): Don't clear the background here. It's done in
9775 Component.update().
9776 (visitChildren): Added check to not recurse into Containers.
9777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9778 (filter_expose_event_handler): New method. Filter unwanted
9779 expose events while painting heavyweight peers.
9780 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9781 New method. Connect filter and block pre_event_handler.
9782 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9783 New method. Disconnect filter and unblock pre_event_handler.
9784 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9785 New method. Invalidate and update given area.
9786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9787 (pre_event_handler): Add checks for unwanted expose events.
9788
9789 2004-01-26 David Jee <djee@redhat.com>
9790
9791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9792 (find_bg_color_widget): For GtkButton, return its child.
9793
9794 2004-01-26 Kim Ho <kho@redhat.com>
9795
9796 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9797 private.
9798 (setMenuBar): Grab MenuBar height and change insets.
9799 (setBounds): Account for MenuBar height.
9800 (postInsetsChangedEvent): Ditto.
9801 (postSizeAllocateEvent): Remove.
9802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9803 (menubar_resize_cb): Remove
9804 (setMenuBarPeer): Remove callback.
9805 (getMenuBarHeight): Use size requisition instead of
9806 allocation.
9807
9808 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9809
9810 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9811 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9812 when peer is null.
9813 (setColumns): Remove FIXME -- peer will retrieve number of
9814 columns by calling getColumns.
9815 (setRows): Likewise for number of rows.
9816 (next_text_number): New field.
9817 (paramString): Fix param string.
9818 (generateName): New method.
9819 (getUniqueLong): New method.
9820
9821 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9822
9823 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9824 image observer of image loading status.
9825 (getImage (String)): Start image production.
9826 (getImage (URL)): Likewise.
9827
9828 2004-01-25 Michael Koch <konqueror@gmx.de>
9829
9830 * java/lang/Class.java: Imports reworked, reformated.
9831 (Class): Javadoc added.
9832 (forName): Likewise.
9833 (getClasses): Likewise.
9834 (getClassLoader): Likewise.
9835 (getComponentType): Likewise.
9836 (getConstructor): Likewise.
9837 (getConstructors): Likewise.
9838 (getDeclaredConstructor): Likewise.
9839 (getDeclaredClasses): Likewise.
9840 (getDeclaredConstructors): Likewise.
9841 (getDeclaredField): Likewise.
9842 (getDeclaredMethod): Likewise.
9843 (getDeclaredMethods): Likewise.
9844 (getDeclaringClass): Likewise.
9845 (getField): Likewise.
9846 (getInterfaces): Likewise.
9847 (getMethod): Likewise.
9848 (getMethods): Likewise.
9849 (getModifiers): Likewise.
9850 (getName): Likewise.
9851 (getResource): Likewise.
9852 (getResourceAsStream): Likewise.
9853 (getSigners): Likewise.
9854 (setSigners): Likewise.
9855 (getSuperclass): Likewise.
9856 (isArray): Likewise.
9857 (isAssignableFrom): Likewise.
9858 (isInstance): Likewise.
9859 (isInterface): Likewise.
9860 (isPrimitive): Likewise.
9861 (newInstance): Likewise.
9862 (getProtectionDomain): Likewise.
9863 (toString): Likewise.
9864 (Class): Moved.
9865 (initializeClass): Likewise.
9866 (finalize): Likewise.
9867
9868 2004-01-24 Michael Koch <konqueror@gmx.de>
9869
9870 * gnu/java/net/protocol/jar/Connection.java
9871 (hdrHash): Removed.
9872 (hdrVec): Removed.
9873 (gotHeaders): Removed.
9874 (getHeaderField): Removed.
9875 (getHeaderFields): Removed.
9876 (getHeaderFieldKey): Removed.
9877 (getKey): Removed.
9878 (getField): Removed.
9879 (getHeaders): Removed.
9880
9881 2004-01-24 Michael Koch <konqueror@gmx.de>
9882
9883 * Makefile.am: Added library version to gtk peer lib.
9884 * Makefile.in: Regenerated.
9885
9886 2004-01-24 Michael Koch <konqueror@gmx.de>
9887
9888 * java/util/zip/InflaterInputStream.java: Merged class documentation
9889 with classpath.
9890
9891 2004-01-21 Jakub Jelinek <jakub@redhat.com>
9892
9893 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
9894 header. For __powerpc64__ provide the default-signal.h definitions
9895 for now.
9896 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
9897 instead of the dummy definitions.
9898 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
9899 (powerpc64*-*): Remove with_libffi_default.
9900 Only add -mminimal-toc for 64-bit compilations.
9901 * configure.in: Use powerpc-signal.h on powerpc64 as well.
9902 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
9903 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
9904 * configure: Rebuilt.
9905
9906 2004-01-23 Michael Koch <konqueror@gmx.de>
9907
9908 * gnu/java/nio/FileLockImpl.java: Compile fixes.
9909
9910 2004-01-23 Michael Koch <konqueror@gmx.de>
9911
9912 * java/lang/VMClassLoader.java: Reworked imports.
9913
9914 2004-01-23 Michael Koch <konqueror@gmx.de>
9915
9916 * javax/swing/AbstractAction.java: Reformated.
9917
9918 2004-01-23 Michael Koch <konqueror@gmx.de>
9919
9920 * java/text/CollationElementIterator.java:
9921 (setText): New method.
9922
9923 2004-01-23 Michael Koch <konqueror@gmx.de>
9924
9925 * gnu/java/nio/FileLockImpl.java:
9926 Fixed filename in copyright.
9927 (released): Removed.
9928 (finalize): New method.
9929 * gnu/java/nio/natFileLockImpl.cc
9930 (releaseImpl): Implemented.
9931 * java/nio/channels/FileChannelImpl.java:
9932 Reworked imports.
9933 (lock): Implemented.
9934 (lockImpl): New method.
9935 (tryLock): Implemented.
9936 (tryLockImpl): New method.
9937 * java/nio/channels/natFileChannelImpl.cc
9938 (lockImpl): New method.
9939 (tryLockImpl): New method.
9940
9941 2004-01-23 Michael Koch <konqueror@gmx.de>
9942
9943 * java/io/FileDescriptor.java
9944 (lock): New method.
9945 (tryLock): New method.
9946 (unlock): New method.
9947 * java/io/natFileDescriptorEcos.cc
9948 (lock): New method.
9949 (tryLock): New method.
9950 (unlock): New method.
9951 * java/io/natFileDescriptorPosix.cc
9952 (lock): New method.
9953 (tryLock): New method.
9954 (unlock): New method.
9955 * java/io/natFileDescriptorWin32.cc
9956 (lock): New method.
9957 (tryLock): New method.
9958 (unlock): New method.
9959
9960 2004-01-23 Michael Koch <konqueror@gmx.de>
9961
9962 * java/io/FileDescriptor.java
9963 (sync): Moved around, added javadoc.
9964 (valid): Likewise.
9965 (open): Likewise.
9966 (write): Likewise.
9967 (close): Likewise.
9968 (setLength): Likewise.
9969 (seek): Likewise.
9970 (getLength): Likewise.
9971 (getFilePointer): Likewise.
9972 (read): Likewise.
9973 (available): Likewise.
9974 (finalize): Likewise.
9975
9976 2004-01-23 Michael Koch <konqueror@gmx.de>
9977
9978 * javax/swing/AbstractAction.java: Reformated.
9979 (getPropertyChangeListeners): New method.
9980 * javax/swing/AbstractCellEditor.java: Reformated.
9981 (getCellEditorListeners): New method.
9982 * javax/swing/DefaultListSelectionModel.java
9983 (listenerList): New field.
9984 (listeners): Removed.
9985 (get_listeners): Removed.
9986 (addListSelectionListener): Rewritten.
9987 (removeListSelectionListener): Rewritten.
9988 (getListSelectionListeners): New method.
9989 (getListeners): New method.
9990 * javax/swing/JComboBox.java: Imports reworked.
9991 (addActionListener): Implemented.
9992 (removeActionListener): Implemented.
9993 (addItemListener): Implemented.
9994 (removeItemListener): Implemented.
9995 (addPopupMenuListener): Implemented.
9996 (removePopupMenuListener): Implemented.
9997 (getActionListeners): New method.
9998 (getItemListeners): New method.
9999 (getPopupMenuListeners): New method.
10000
10001 2004-01-23 Michael Koch <konqueror@gmx.de>
10002
10003 * gnu/java/net/protocol/http/Connection.java
10004 (connect): Don't initialize bufferedOutputStream if not needed.
10005 (sendRequest): Set property for content length if content is present.
10006 Write content only if present.
10007 (getOutputStream): Check if already connected, dont connect,
10008 initalize bufferedOutputStream if needed.
10009
10010 2004-01-23 Michael Koch <konqueror@gmx.de>
10011
10012 * java/io/FileDescriptor.java
10013 (in, out, err): Added javadoc.
10014 (static): Merged loading code.
10015 (fd, position): Moved around.
10016
10017 2004-01-23 Michael Koch <konqueror@gmx.de>
10018
10019 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10020 New file.
10021
10022 2004-01-23 Michael Koch <konqueror@gmx.de>
10023
10024 * java/lang/Class.java,
10025 java/lang/Object.java,
10026 java/lang/Thread.java: Merged copyright with classpath.
10027
10028 2004-01-23 Michael Koch <konqueror@gmx.de>
10029
10030 * java/io/FileDescriptor.java: Merged copyright with classpath to
10031 start merging this class.
10032
10033 2004-01-22 Tom Tromey <tromey@redhat.com>
10034
10035 PR libgcj/13107:
10036 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10037 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10038 * testsuite/libjava.lang/pr13107_3.java: New file.
10039 * testsuite/libjava.lang/pr13107_3.out: New file.
10040 * testsuite/libjava.lang/pr13107_2.java: New file.
10041 * testsuite/libjava.lang/pr13107_2.out: New file.
10042 * testsuite/libjava.lang/pr13107.java: New file.
10043 * testsuite/libjava.lang/pr13107.out: New file.
10044 * verify.cc (jsr_ptrs): Removed.
10045 (entry_points): Likewise.
10046 (struct subr_info): Likewise.
10047 (struct subr_entry_info): Likewise.
10048 (type_val::unused_by_subroutine_type): Likewise.
10049 (type::merge): Don't handle unused_by_subroutine_type.
10050 (type::print): Likewise.
10051 (state::flags): Removed.
10052 (state::subroutine): Likewise.
10053 (state::seen_subrs): Likewise.
10054 (state::NO_STACK): Likewise.
10055 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10056 (state): Updated all methods.
10057 (state::clean_subrs): Removed.
10058 (state::state): Removed `ret_semantics' flag.
10059 (state::copy): Likewise.
10060 (state::add_subr): Removed.
10061 (state::enter_subroutine): Likewise.
10062 (type::set_return_address): New method.
10063 (handle_jsr_insn): Set return address on the type. Always
10064 invalidate PC after call.
10065 (check_nonrecursive_call): Removed.
10066 (~_Jv_BytecodeVerifier): Updated.
10067 (branch_prepass): Removed special handling of jsr.
10068 (note_branch_target): Likewise.
10069 (get_subroutine): Removed.
10070 (state::merge): Don't merge subroutines and don't handle
10071 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10072 (state::note_variable): Removed.
10073 (state::is_unmerged_ret_state): Likewise.
10074 (state::print): Updated.
10075 (set_variable): Likewise.
10076 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10077 and jsr_semantics arguments. Updated for new reverification
10078 list.
10079 (pop_jump): Rewrote.
10080 (construct_primitive_array_type): Updated.
10081 (state::next): Removed.
10082 (INVALID_STATE): New define.
10083 (state::INVALID): Removed.
10084 (state::NO_NEXT): New value.
10085 (state::pc, state::next): New fields.
10086 (state::get_pc): New method.
10087 (next_verify_pc): Removed.
10088 (next_verify_state): New field.
10089 (verify_instructions_0): Always check for falling off end.
10090 (linked): New type.
10091 (linked_utf8): Removed.
10092 (states): Changed type.
10093 (type::state_mergeable_p): New method.
10094 (state::state_mergeable_p): Likewise.
10095 (handle_ret_insn): Removed most code.
10096 (state::reverify): New method.
10097 (add_new_state): Likewise.
10098 (state::set_pc): Likewise.
10099
10100 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10101
10102 PR java/13733
10103 * testsuite/libjava.compile/PR13733.java: New file.
10104 * testsuite/libjava.compile/PR13733.xfail: New file.
10105
10106 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10107 Michael Koch <konqueror@gmx.de>
10108
10109 * javax/swing/table/DefaultTableCellRenderer.java
10110 (DefaultTableCellRenderer): Added javadoc for the class and for
10111 the constructor, Border instance, create an EmptyBorder.
10112 (UIResource): Removed the comment at the end of the class
10113 (setForeground): New method.
10114 (setBackground): New method.
10115 (updateUI): New method.
10116 (getTableCellRendererComponent): Rewritten with the help of
10117 dvholten and Stephane Meslin-Weber.
10118 (validate): New method.
10119 (repaint): New method.
10120 (firePropertyChange): New method.
10121 (setValue): New method.
10122
10123 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10124
10125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10126 (connectJObject): Replace printf calls with g_assert statements.
10127 Move property-notify-event signal connection to ...
10128 (connectSignals): Connect property-notify-event signal. Iterate
10129 through the vbox's children to find layout.
10130
10131 2004-01-22 Graydon Hoare <graydon@redhat.com>
10132
10133 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10134 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10135 Predicate static initialization on GtkToolkit.useGraphics2D().
10136 * java/awt/Component.java (processPaintEvent): Consume event.
10137 * javax/swing/AbstractButton.java: Reimplement, document.
10138 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10139 * javax/swing/JComponent.java (paint): Use double buffer.
10140 (listenerList): Enable member.
10141 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10142 * javax/swing/JToggleButton.java
10143 (JToggleButton): Modify model constructor.
10144 * javax/swing/SwingUtilities.java
10145 (layoutCompoundLabel): Adjust arithmetic.
10146 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10147 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10148 (getPreferredButtonSize): Include margins in calculation.
10149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10150 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10151 Receive up events from subordinate layout component.
10152
10153 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10154
10155 * java/awt/Component.java (show): Set visible to true before
10156 showing the peer.
10157
10158 2004-01-21 Kim Ho <kho@redhat.com>
10159
10160 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10161 Fix comments.
10162 (removeMenuBarPeer): Make package private.
10163 (setMenuBarPeer): Make package private.
10164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10165 (menubar_resize_cb): Mark attributes unused.
10166 (getMenuBarHeight): ditto.
10167
10168 2004-01-21 David Jee <djee@redhat.com>
10169
10170 * java/awt/Container.java
10171 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10172 dispatching MOUSE_ENTERED event twice. Translate the point for
10173 the mouse event target before dispatching the event.
10174
10175 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10176
10177 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10178 lib_org_w3c_dom_la_LDFLAGS): New.
10179 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10180 * Makefile.in: Rebuilt.
10181
10182 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10183
10184 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10185 Calculate proper offsets for heavyweight components packed in
10186 lightweight containers.
10187
10188 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10189 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10190 (native create): Add width parameter.
10191 (create): Calculate text entry width based on current font's
10192 metrics and number of columns. Set TextField's font if not
10193 already set. Call native create.
10194 (gtkEntryGetBorderWidth): New native method.
10195 (gtkEntryGetSize): Remove method.
10196 (getMinimumSize): Call minimumSize.
10197 (getPreferredSize): Call preferredSize.
10198 (minimumSize): Calculate minimum size based on backing
10199 GtkEntry's borders, font metrics and number of columns.
10200 (preferredSize): Likewise for preferred size.
10201 (get_border_width): New static function.
10202
10203 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10204 Override GtkWindowPeer's setResizable method to account for menu
10205 bar height when setting the frame's size.
10206
10207 2004-01-19 Matthias Klose <doko@debian.org>
10208
10209 * libtool-version: Increased `current' to 6.
10210
10211 2004-01-19 Kim Ho <kho@redhat.com>
10212
10213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10214 (connectJObject): Iterate through the vbox's children to find layout.
10215
10216 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10217
10218 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10219 isDispatchThread method to replace wrong test condition.
10220
10221 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10222
10223 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10224 events to the queue out of order by acquiring locks in the proper
10225 order and not by releasing one before acquiring the other.
10226
10227 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10228
10229 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10230 visible so that dialog can be reused.
10231
10232 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10233
10234 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10235 events may be handled by any queue in the stack.
10236
10237 2004-01-19 Kim Ho <kho@redhat.com>
10238
10239 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10240 MenuBarPeer parameter.
10241 (removeMenuBarPeer): New native method.
10242 (setMenuBar): Call remove if menu bar is null. Adjust insets
10243 appropriately.
10244 (postSizeAllocateEvent): New method. Called when menu bar size is
10245 allocated. Adjust insets and redo layout.
10246 (GtkFramePeer): Set menu bar during frame creation.
10247 (postConfigureEvent): Adjust position and size to accomodate
10248 menu bar.
10249 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10250 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10251 (addNotify): Create the peer if it doesn't exist and call addNotify
10252 for the menu's items.
10253 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10254 * java/awt/MenuItem.java (addNotify): Create the peer if it
10255 doesn't exist.
10256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10257 (removeMenuBarPeer): New method. Remove menu bar on the current
10258 frame.
10259 (setMenuBarPeer): Add the menu bar to the current frame and the
10260 callback for size-allocate events on the menu bar.
10261 (getMenuBarHeight): Add menu bar parameter.
10262 (menubar_resize_cb): New callback method for postSizeAllocate events.
10263
10264 Also: Fix indentation on last ChangeLog entry.
10265
10266 2004-01-16 Kim Ho <kho@redhat.com>
10267
10268 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10269 (gtkWidgetGetDimensions): Remove.
10270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10271 (gtkWidgetGetDimensions): Remove.
10272
10273 2004-01-16 Tom Tromey <tromey@redhat.com>
10274
10275 * java/awt/Container.java: Typo and indentation fixes.
10276
10277 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10278 * java/lang/natVMClassLoader.cc: ...here. New file.
10279 * Makefile.in: Rebuilt.
10280 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10281
10282 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10283
10284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10285 Discard GDK_ENTER_NOTIFY related to ungrabs.
10286
10287 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10288
10289 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10290 is called for an intermediate queue.
10291
10292 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10293
10294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10295 (window_property_changed_cb): Set id_set.
10296
10297 2004-01-16 Kim Ho <kho@redhat.com>
10298
10299 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10300 it is a FileDialog and has dimensions of 0 by 0, then the initial
10301 size is set to size request plus insets.
10302 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10303 (gtkWidgetGetDimensions): Override method.
10304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10305 (gtkWidgetGetDimensions): Override method. Returns size request plus
10306 insets.
10307
10308 2004-01-16 Andrew Haley <aph@redhat.com>
10309
10310 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10311 * sysdep/i386/locks.h: Likewise.
10312
10313 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10314
10315 * java/awt/EventDispatchThread.java (run): Stop running when
10316 interrupted.
10317 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10318 Reset the queue after transferring its contents.
10319 (push): Start a new dispatch thread if none is running.
10320
10321 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10322
10323 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10324 (doPolygon): set fill rule of polygon to
10325 WIND_EVEN_ODD by default.
10326
10327 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10328
10329 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10330 Implemented rendering hints related methods.
10331 (getDefaultHints): New helper method. Returns
10332 default rendering hints.
10333 (walkPath): changed to normalize path if
10334 the KEY_STROKE_CONTROL key is in "normalize" mode.
10335 (draw3DRect): changed coordinates of rectangle by +0.5
10336 if in "normalize" mode.
10337
10338 2004-01-15 Tom Tromey <tromey@redhat.com>
10339
10340 * Makefile.in: Rebuilt.
10341 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10342 (%.lo: %.java) Filter out StackTrace.lo.
10343
10344 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10345
10346 * configure.in: Add in AC_PREREQ(2.13)
10347 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10348 FIXME comment.
10349
10350 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10351 Tom Tromey <tromey@redhat.com>
10352
10353 PR libgcj/12001:
10354 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10355 array to superclass.
10356 (init): Changed interface; add URLs here.
10357 (initialize): New static method.
10358 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10359 (_Jv_RunMain): ... not here.
10360
10361 2004-01-14 Michael Koch <konqueror@gmx.de>
10362
10363 * java/text/MessageFormat.java:
10364 Added descriptions to exceptions.
10365 This fixes PR libgcj/2429.
10366
10367 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10368
10369 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10370 (push): Make sure push is performed at the top of the thread stack.
10371
10372 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10373
10374 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10376 (native create): Add width and height parameters. Set text
10377 view's size request according to new parameters.
10378 (create): Calculate text view size based on current font's
10379 metrics and number of rows and columns. Set TextArea's font if
10380 not already set. Call native create.
10381 (getMinimumSize): Call minimumSize.
10382 (getPreferredSize): Call preferredSize.
10383 (getHScrollbarHeight): New method.
10384 (getVScrollbarWidth): New method.
10385 (minimumSize): Calculate minimum size based on scrollbar
10386 visibility, scrollbar sizes, font metrics and number of rows and
10387 columns.
10388 (preferredSize): Likewise for preferred size.
10389 (gtkTextGetSize): Remove method.
10390
10391 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10392
10393 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10394 (initializeInsets): Remove method.
10395 (GtkComponentPeer): Initialize insets field. Remove call to
10396 initializeInsets.
10397 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10398 Remove method.
10399 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10400 Remove method.
10401 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10403 (latestInsets): Remove field.
10404 (native create): Add insets parameter. Call
10405 window_get_frame_extents. Set the window's default size and
10406 size request based on its frame extents.
10407 (create): Initialize insets.
10408 (postInsetsChangedEvent): New method.
10409 (postConfigureEvent): Remove parameters top, left, bottom,
10410 right. Remove insets-related logic.
10411 (connectJObject): Handle property-notify-event.
10412 (window_get_frame_extents, request_frame_extents,
10413 property_notify_predicate, window_property_changed_cb): New
10414 static functions.
10415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10416 (pre_event_handler): Remove insets-related logic for configure
10417 events.
10418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10419 Update postConfigureEvent signature.
10420
10421 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10422
10423 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10424 to handle Window "Closing" events.
10425
10426 2004-01-13  David Jee  <djee@redhat.com>
10427
10428 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10429 (setBackground): New method. Children with no explicitly-set
10430 background will be repainted with the parent container's new
10431 background color.
10432
10433 2004-01-13  David Jee  <djee@redhat.com>
10434
10435 * Makefile.am: Add BitwiseXORComposite.java.
10436 * Makefile.in: Regenerated.
10437 * gcj/Makefile.in: Regenerated.
10438 * include/Makefile.in: Regenerated.
10439 * testsuite/Makefile.in: Regenerated.
10440
10441 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10442
10443 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10444 not show modal dialogs twice and so that it allows showing a modal
10445 dialog from another modal dialog.
10446
10447 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10448
10449 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10450 and run secondary dispatch thread to process event queue while this
10451 thread is blocked.
10452
10453 2004-01-12 Graydon Hoare <graydon@redhat.com>
10454
10455 * gnu/java/awt/gtk/GdkGraphics2D.java
10456 (static): Check GtkToolkit before initializing static state.
10457 (Graphics2D): Don't construct transform with 0.5 unit offset.
10458
10459 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10460
10461 * gnu/java/awt/BitwiseXORComposite.java: Add.
10462 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10463 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10464 (BitwiseXORComposite): Remove inner class.
10465
10466 2004-01-11 Michael Koch <konqueror@gmx.de>
10467
10468 * gnu/java/lang/reflect/TypeSignature.java
10469 (getEncodingOfClass): Documentation fixed.
10470 (getClassForEncoding): Give class loader to Class.forName().
10471 Documentation fixed.
10472
10473 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10474
10475 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10476
10477 2004-01-11 Michael Koch <konqueror@gmx.de>
10478
10479 * javax/swing/undo/StateEditable.java
10480 (RCSID): Removed redundant modifiers.
10481
10482 2004-01-10 Michael Koch <konqueror@gmx.de>
10483
10484 * javax/print/attribute/EnumSyntax.java
10485 (getStringTable): Made protected.
10486 (getEnumValueTable): Likewise.
10487 * javax/print/attribute/standard/JobKOctetsProcessed.java
10488 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10489 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10490 (JobMediaSheetsCompleted): Made class final.
10491 * javax/print/attribute/standard/OutputDeviceAssigned.java
10492 (getName): Fixed typo.
10493 * javax/print/attribute/standard/RequestingUserName.java
10494 (serialVersionUID): Fixed value.
10495
10496 2004-01-10 Michael Koch <konqueror@gmx.de>
10497
10498 * javax/swing/plaf/basic/BasicButtonUI.java,
10499 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10500 javax/swing/plaf/basic/BasicListUI.java,
10501 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10502 javax/swing/plaf/basic/BasicPanelUI.java,
10503 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10504 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10505 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10506 javax/swing/plaf/basic/BasicViewportUI.java:
10507 Fixed import statements.
10508
10509 2004-01-10 Michael Koch <konqueror@gmx.de>
10510
10511 * gnu/java/awt/image/ImageDecoder.java
10512 (produce): Made public.
10513 * gnu/java/awt/peer/GLightweightPeer.java,
10514 gnu/java/awt/peer/gtk/GtkToolkit.java:
10515 Reformated.
10516
10517 2004-01-10 Michael Koch <konqueror@gmx.de>
10518
10519 * javax/swing/JRadioButtonMenuItem.java,
10520 javax/swing/JSeparator.java,
10521 javax/swing/JSplitPane.java,
10522 javax/swing/JTextPane.java,
10523 javax/swing/JToolBar.java,
10524 javax/swing/ListCellRenderer.java,
10525 javax/swing/ListModel.java,
10526 javax/swing/MenuElement.java,
10527 javax/swing/OverlayLayout.java,
10528 javax/swing/ProgressMonitor.java,
10529 javax/swing/ProgressMonitorInputStream.java,
10530 javax/swing/Renderer.java,
10531 javax/swing/RootPaneContainer.java,
10532 javax/swing/Scrollable.java,
10533 javax/swing/SingleSelectionModel.java,
10534 javax/swing/ToolTipManager.java,
10535 javax/swing/ViewportLayout.java,
10536 javax/swing/event/DocumentEvent.java,
10537 javax/swing/event/SwingPropertyChangeSupport.java,
10538 javax/swing/event/TreeSelectionEvent.java,
10539 javax/swing/event/UndoableEditEvent.java,
10540 javax/swing/text/AbstractDocument.java,
10541 javax/swing/text/AttributeSet.java,
10542 javax/swing/text/Caret.java,
10543 javax/swing/text/ComponentView.java,
10544 javax/swing/text/DefaultCaret.java,
10545 javax/swing/text/DefaultEditorKit.java,
10546 javax/swing/text/Document.java,
10547 javax/swing/text/EditorKit.java,
10548 javax/swing/text/GapContent.java,
10549 javax/swing/text/Keymap.java,
10550 javax/swing/text/MutableAttributeSet.java,
10551 javax/swing/text/PlainEditorKit.java,
10552 javax/swing/text/Segment.java,
10553 javax/swing/text/Style.java,
10554 javax/swing/text/StyledDocument.java,
10555 javax/swing/text/StyledEditorKit.java,
10556 javax/swing/text/TextAction.java,
10557 javax/swing/text/View.java: Fixed import statements.
10558
10559 2004-01-08 Graydon Hoare <graydon@redhat.com>
10560
10561 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10562 djee@redhat.com's recent inverse ordering of Container elements.
10563
10564 2004-01-09 Michael Koch <konqueror@gmx.de>
10565
10566 * gnu/java/lang/ArrayHelper.java
10567 (equalsArray): Removed.
10568
10569 2004-01-09 Andrew Haley <aph@redhat.com>
10570
10571 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10572 a Utf8Const field before looking at its class.
10573
10574 2004-01-09 Michael Koch <konqueror@gmx.de>
10575
10576 * javax/print/attribute/standard/DocumentName.java,
10577 javax/print/attribute/standard/JobHoldUntil.java,
10578 javax/print/attribute/standard/JobMessageFromOperator.java,
10579 javax/print/attribute/standard/JobName.java,
10580 javax/print/attribute/standard/JobOriginatingUserName.java,
10581 javax/print/attribute/standard/OutputDeviceAssigned.java,
10582 javax/print/attribute/standard/PrinterInfo.java,
10583 javax/print/attribute/standard/PrinterLocation.java,
10584 javax/print/attribute/standard/PrinterMakeAndModel.java,
10585 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10586 javax/print/attribute/standard/PrinterName.java,
10587 javax/print/attribute/standard/RequestingUserName.java: New files.
10588 * Makefile.am (javax_source_files): Added new files.
10589 * Makefile.in: Regenerated.
10590
10591 2004-01-09 Michael Koch <konqueror@gmx.de>
10592
10593 * javax/swing/AbstractAction.java,
10594 javax/swing/AbstractSet.java,
10595 javax/swing/Action.java,
10596 javax/swing/ActionMap.java,
10597 javax/swing/BoundedRangeModel.java,
10598 javax/swing/ButtonModel.java,
10599 javax/swing/CellEditor.java,
10600 javax/swing/CellRendererPane.java,
10601 javax/swing/ComboBoxEditor.java,
10602 javax/swing/DebugGraphics.java,
10603 javax/swing/DefaultCellEditor.java,
10604 javax/swing/DefaultCellRenderer.java,
10605 javax/swing/DefaultComboBoxModel.java,
10606 javax/swing/DefaultDesktopManager.java,
10607 javax/swing/DefaultFocusManager.java,
10608 javax/swing/DefaultListCellRenderer.java,
10609 javax/swing/Icon.java,
10610 javax/swing/JButton.java,
10611 javax/swing/JCheckBoxMenuItem.java,
10612 javax/swing/JDesktopPane.java,
10613 javax/swing/JEditorPane.java,
10614 javax/swing/JMenu.java,
10615 javax/swing/JPanel.java,
10616 javax/swing/JPasswordField.java,
10617 javax/swing/JPopupMenu.java,
10618 javax/swing/JProgressBar.java: Reworked imports.
10619
10620 2004-01-09 Michael Koch <konqueror@gmx.de>
10621
10622 * java/awt/geom/PathIterator.java
10623 (WIND_EVEN_ODD): Removed redundant modifiers.
10624 (WIND_NON_ZERO): Likewise.
10625 (SEG_MOVETO): Likewise.
10626 (SEG_LINETO): Likewise.
10627 (SEG_QUADTO): Likewise.
10628 (SEG_CUBICTO): Likewise.
10629 (SEG_CLOSE): Likewise.
10630 * java/awt/image/SinglePixelPackedSampleModel.java:
10631 Removed redundant semicolon.
10632 * java/io/ObjectInputStream.java
10633 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10634 * java/util/logging/Filter.java
10635 (isLoggable): Removed redundant modifier.
10636 * java/util/logging/LogManager.java:
10637 Removed redundant semicolon.
10638 * java/util/logging/XMLFormatter.java
10639 (format): Removed unused variable "key".
10640
10641 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10642
10643 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10644 New name for the former setFile native method.
10645 (setFile): New method.
10646 (setDirectory): Implemented.
10647 (connectSignals): New native method.
10648 (setFilenameFilter): Improve comment.
10649 (getGraphics): Comment.
10650 (gtkHideFileDialog): New method.
10651 (gtkDisposeFileDialog): New method.
10652 (gtkSetFilename): New method.
10653 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10654 for FileDialog for now.
10655 (hide): New method.
10656 (dispose): New method.
10657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10658 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10659 deprecated creation functions. Make dialog modal. Add it to the
10660 window group.
10661 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10662 function.
10663 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10664 Rename to...
10665 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10666 name.
10667 (window_closed): New function.
10668 (ok_clicked): New function.
10669 (cancel_clicked): New function.
10670
10671 2004-01-08 Michael Koch <konqueror@gmx.de>
10672
10673 * javax/swing/JLayeredPane.java: Revert changes to standard
10674 boilerplate, reworked imports.
10675
10676 2004-01-07 Tom Tromey <tromey@redhat.com>
10677
10678 PR libgcj/13439:
10679 * verify.cc (state::merge): Copy changed locals out of subroutine
10680 in NO_STACK case.
10681 (state::FLAG_CHANGED): New const.
10682 (state::FLAG_UNUSED): Likewise.
10683 (state::local_changed): Removed. Updated all users.
10684 (state::flags): New field.
10685 (state::merge): Added jsr_semantics argument, more logic.
10686 (push_jump_merge): Added jsr_semantics argument.
10687 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10688 merging through the jsr instruction.
10689
10690 2004-01-07 Tom Tromey <tromey@redhat.com>
10691
10692 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10693 backslash-newline.
10694
10695 2004-01-07 Graydon Hoare <graydon@redhat.com>
10696
10697 * java/awt/Container.java (LightweightDispatcher): Implement.
10698 (visitChild): Reuse graphics object.
10699 (dispatchEventImpl): Optionally dispatch to lightweight.
10700 (addNotifyContainerChildren): Build LightweightDispatcher.
10701
10702 2004-01-07 David Jee <djee@redhat.com>
10703
10704 * java/awt/Container.java
10705 (update): Clear only the clipped region, instead of clearing the
10706 entire Container.
10707 (visitChildren): Visit children in descending order.
10708
10709 2004-01-07 Michael Koch <konqueror@gmx.de>
10710
10711 * java/lang/reflect/Array.java: Merged documentation with classpath.
10712
10713 2004-01-07 Michael Koch <konqueror@gmx.de>
10714
10715 * java/text/CollationElementIterator.java
10716 (textIndex): Renamed from index.
10717 * java/text/CollationKey.java
10718 (collator): New member.
10719 (CollationKey): New argument for parent collator.
10720 (equals): Check for same collator, source string and key array.
10721 * java/text/RuleBasedCollator.java:
10722 Reformated.
10723 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10724 value.
10725 (getCollationElementIterator): Rewritten.
10726 (getCollationKey): Added new argument to CollationKey constructor.
10727
10728 2004-01-07 Michael Koch <konqueror@gmx.de>
10729
10730 * gnu/java/nio/DatagramChannelImpl.java
10731 (blocking): Removed.
10732 (DatagramChannelImpl): Call configureBlocking().
10733 (implConfigureBlocking): Dont initialize blocking.
10734 * gnu/java/nio/ServerSocketChannelImpl.java
10735 (blocking): Removed.
10736 (ServerSocketChannelImpl): Call configureBlocking().
10737 (implConfigureBlocking): Dont initialize blocking.
10738 * gnu/java/nio/SocketChannelImpl.java
10739 (blocking): Removed.
10740 (SocketChannelImpl): Call configureBlocking().
10741 (implConfigureBlocking): Dont initialize blocking.
10742 (connect): Use isBlocking().
10743 * java/nio/channels/spi/AbstractSelectableChannel.java
10744 (configureBlocking): Use blockingLock() instead of LOCK.
10745 Set blocking after successfully called implConfigureBlocking().
10746 (register): Use blockingLock() instead of LOCK.
10747
10748 2004-01-07 Michael Koch <konqueror@gmx.de>
10749
10750 * java/net/ServerSocket.java (isBound): Fixed documentation.
10751
10752 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10753
10754 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10755 (changeEvent): Create event object on demand.
10756 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10757 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10758 fireStateChanged): Re-written.
10759 * javax/swing/event/EventListenerList.java: Reformatted, document
10760 typical usage.
10761 (toString): Implemented.
10762 (getListeners): Re-written.
10763 (remove): Re-written.
10764 (add): Re-written.
10765 (NO_LISTENERS): New singleton field.
10766 (listenerList): Declare as transient; document.
10767 (serialVersionUID): Document.
10768 (getListenerCount(Class)): More efficient implementation,
10769 also accepts null argument. Improve Javadoc.
10770 (getListenerCount()): Remove unnecessary cast; docfix.
10771 * javax/swing/undo/UndoableEditSupport.java:
10772 Re-format, document.
10773 (UndoableEditSupport): Set realSource field. Improve documentation.
10774 (_postEdit): Iterate over cloned listener vector.
10775 (toString): Don't emit realSource.
10776 (beginUpdate, endUpdate): Support nested updates.
10777 (postEdit): Use compound edit if present.
10778
10779 2004-01-06 Graydon Hoare <graydon@redhat.com>
10780
10781 * java/awt/Container.java (swapComponents): Add forgotten
10782 function, required for JLayeredPane change.
10783
10784 2004-01-06 Michael Koch <konqueror@gmx.de>
10785
10786 * java/text/CollationElementIterator.java: Reformated.
10787 (CollationElementIterator): Changed order of arguments.
10788 * java/text/RuleBasedCollator.java
10789 (RuleBasedCollator): Merged class documentation.
10790 (CollationElement): Added documentation.
10791 (compare): Reformated, renamed arguments.
10792 (equals): Likewise.
10793 (getCollationElementIterator): Likewise.
10794 (getCollationKey): Likewise.
10795
10796 2004-01-06 Graydon Hoare <graydon@redhat.com>
10797
10798 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10799
10800 2004-01-06 Michael Koch <konqueror@gmx.de>
10801
10802 * gnu/java/net/protocol/file/Connection.java:
10803 Reformated copyright.
10804 (hdrHash): Removed.
10805 (hdrVec): Removed.
10806 (gotHeaders): Removed.
10807 (getHeaderField): Removed.
10808 (getHeaderField): Removed.
10809 (getHeaderFieldKey): Removed.
10810 (getKey): Removed.
10811 (getField): Removed.
10812 (getHeaders): Removed.
10813
10814 2004-01-06 Michael Koch <konqueror@gmx.de>
10815
10816 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10817 javax/print/attribute/standard/DateTimeAtCreation.java,
10818 javax/print/attribute/standard/DateTimeAtProcessing.java,
10819 javax/print/attribute/standard/JobImpressionsCompleted.java,
10820 javax/print/attribute/standard/JobKOctets.java,
10821 javax/print/attribute/standard/JobKOctetsProcessed.java,
10822 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10823 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10824 * Makefile.am (javax_source_files): Added new files.
10825 * Makefile.in: Regenerated.
10826
10827 2004-01-06 Michael Koch <konqueror@gmx.de>
10828
10829 * java/net/URLConnection.java
10830 (contentHandler): Removed.
10831 (locale): Removed.
10832 (getHeaderFields): Return an empty map instead of null.
10833 (getContent): Connect if needed, renamed "cType" to "type" and
10834 "contentHandler" to "ch" and made it a local variable.
10835 (getPermission): Don't use package in class name.
10836 (setDefaultRequestProperty): Fixed typo in documentation.
10837 (initializeDateFormats): Made locale a local variable.
10838
10839 2004-01-06 Michael Koch <konqueror@gmx.de>
10840
10841 * java/lang/Package.java
10842 (getPackage): Get the current class loader directly.
10843 * java/lang/SecurityManager.java
10844 (currentLoadedClass): Dont iterate over class contexts.
10845 (classLoaderDepth): Don't check class loaders if everything is allowed.
10846
10847 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10848
10849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10850 (pre_event_handler): Set all insets to 0 when a Configure event
10851 is received for a GtkPlug.
10852 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
10853 Make handle long, not int.
10854 (EmbeddedWindow()): New constructor.
10855 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
10856 long, not int.
10857 (setHandle): New method.
10858 (getHandle): Return long, not int.
10859 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
10860 declaration.
10861 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
10862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
10863 (create(long)): Take long parameter, not int. Cast gtk_plug_new
10864 argument to GdkNativeWindow.
10865 (construct): New method.
10866 (embed): New method.
10867
10868 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10869 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
10870 (create(int, int)): New method.
10871 (create): Call new create method.
10872 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
10873 methods.
10874 (childResized): Remove native implementation. Implement in
10875 Java.
10876 (getHScrollbarHeight, getVScrollbarWidth): Call
10877 gtk_widget_size_request to get scrollbar dimensions.
10878 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
10879 call getVScrollbarWidth and getHScrollbarHeight when vertical
10880 and horizontal scrollbars respectively are needed.
10881 (doLayout): Enlarge child if it is smaller than the viewport.
10882
10883 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10884
10885 * java/awt/Dialog.java (constructor): Accept null title as per spec.
10886 * java/awt/FileDialog.java (constructor): Throw exception on invalid
10887 argument as per spec.
10888
10889 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10890
10891 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
10892 (insert): Ditto.
10893 (remove): Ditto. Also, Check for valid argument.
10894 (removeAll): Use peer interface method.
10895 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
10896 native add function.
10897 (nativeRemove): New name for native remove function.
10898 (getHistory): New native function.
10899 (constructor): Generate ItemEvent.
10900 (add): Ditto, if selection is changed.
10901 (remove): Ditto, ditto.
10902 (removeAll): Add implementation.
10903 (handleEvent): Remove. Dead code.
10904 (choicePostItemEvent): Add comment.
10905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10906 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
10907 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
10908 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
10909 comments and fix condition to change selection.
10910 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
10911 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
10912 remove all capability.
10913 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
10914 (item_activate): Add cast to remove compiler warning.
10915
10916 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10917
10918 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10920 (getPreferredSize): Call preferredSize.
10921 (preferredSize): Call gtkWidgetGetPreferredDimensions.
10922 (getMinimumSize): Call minimumSize.
10923 (minimumSize): Call gtkWidgetGetPreferredDimensions.
10924 (gtkWidgetGetDimensions): Return the peer widget's current size
10925 request.
10926 (gtkWidgetGetPreferredDimensions): Return the peer widget's
10927 natural size request.
10928
10929 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
10930
10931 Thanks to Brian Gough <bjg@network-theory.com>
10932 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
10933 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
10934
10935 2004-01-04 Matthias Klose <doko@debian.org>
10936
10937 * aclocal.m4: Rebuilt using "aclocal -I .".
10938 * configure: Rebuilt.
10939
10940 2004-01-03 Per Bothner <per@bothner.com>
10941
10942 * java/util/Date.java (parse): Fix a number of problems.
10943 (skipParens): Remove no-longer-needed method.
10944