Makefile.in: Rebuilt.
[gcc.git] / libjava / ChangeLog
1 2004-09-29 Tom Tromey <tromey@redhat.com>
2
3 * Makefile.in: Rebuilt.
4 * Makefile.am (ordinary_java_source_files): Re-sorted.
5 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
6
7 2004-09-28 Tom Tromey <tromey@redhat.com>
8
9 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
10
11 PR libgcj/17222:
12 * Makefile.am (libgcj.la): Restored.
13 * Makefile.in: Rebuilt.
14
15 2004-09-28 Michael Koch <konqueror@gmx.de>
16
17 * java/net/URLConnection.java: Reformatted.
18 * java/net/URLClassLoader.java: Reformatted.
19 (getContent): Reordered return of content.
20 (getContentHandler): Don't check for null explicitely.
21
22 2004-09-27 Michael Koch <konqueror@gmx.de>
23
24 * java/io/BufferedInputStream.java
25 (BufferedInputStream): Added Jeroen Frijters to authors.
26 (count): Don't explicitely initialize with default value.
27 (pos): Likewise.
28 (marklimit): Likewise.
29 (read): Changed boolean expression to match GNU classpath' version.
30 (reset): Add proper message to exception.
31 (skip): Check for closed stream.
32 (refill): Likewise.
33
34 2004-09-26 Per Bothner <per@bothner.com>
35
36 * prims.cc (unblock_signal): Annotate signum with __unused__ to
37 avoid warnings in the non-POSIX_VERSION case.
38 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
39 so place it inside an #if block.
40 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
41 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
42 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
43 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
44
45 2004-09-26 Per Bothner <per@bothner.com>
46
47 * prims.cc (process_gcj_properties): Optimization.
48
49 2004-09-26 Per Bothner <per@bothner.com>
50
51 * java/util/Collections.java (sort): Copy from array in forwards
52 order, rather than reverse order which may be much less efficient.
53
54 2004-09-26 Mark Wielaard <mark@klomp.org>
55
56 * java/lang/System.java (properties): Make package private.
57 * java/lang/Throwable.java (StaticData.nl): Initialize through
58 directly accessing System.properties.getProperty().
59
60 * java/lang/Throwable.java (nl): Remove static field.
61 (StaticData): New private static inner class.
62 (stackTraceStringBuffer): Use StaticData.nl.
63
64 2004-09-26 Casey Marshall <csm@gnu.org>
65
66 * java/security/ProtectionDomain.java
67 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
68 `true'.
69
70 * java/security/SecureClassLoader.java
71 (defineClass): make protection domain dynamically bound.
72 (getPermissions): call `getCurrentPolicy' to avoid permission
73 check.
74
75 2004-09-25 Mark Wielaard <mark@klomp.org>
76
77 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
78 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
79 * Makefile.in: Regenerated.
80
81 * gcj/javaprims.h: Regenerated.
82
83 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
84 (getDefaultTimeZone): Make package private. Check that GMToffset
85 contains at least one digit.
86 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
87 VMTimeZone.
88 * util/VMTimeZone.java: New file with above methods.
89
90 * java/util/natTimeZone.cc: Removed (renamed).
91 * java/util/natVMTimeZone.cc: Added (renamed).
92
93 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
94
95 * java/util/TimeZone.java
96 (getDefaultTimeZone): Fixed test to distinguish between hours and
97 minutes in specified timezone.
98
99 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
100
101 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
102 handling of default package. (generate): Removed confused comments
103 and code about making Method and Field accessible.
104
105 2004-09-25 Tom Tromey <tromey@redhat.com>
106
107 PR java/17500:
108 * testsuite/libjava.compile/pr17500.java: New file.
109
110 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
111 Mark Wielaard <mark@klomp.org>
112
113 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
114 * gnu/regexp/RETokenLookAhead.java: New file.
115
116 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
117 * Makefile.in: Regenerated.
118
119 2004-09-25 Michael Koch <konqueror@gmx.de>
120
121 * java/io/ObjectStreamField.java:
122 Removed unused import statement.
123
124 2004-09-24 Tom Tromey <tromey@redhat.com>
125
126 PR java/15656:
127 * testsuite/libjava.compile/pr15656.xfail: New file.
128 * testsuite/libjava.compile/pr15656.java: new file.
129
130 PR java/16789:
131 * testsuite/libjava.lang/pr16789.out: New file.
132 * testsuite/libjava.lang/pr16789.java: New file.
133
134 2004-09-24 Andrew Haley <aph@redhat.com>
135
136 PR java/16927
137 * testsuite/libjava.compile/AssertBug.java: New file.
138
139 2004-09-24 Casey Marshall <csm@gnu.org>
140
141 * java/util/PropertyPermissionCollection.java
142 (implies): avoid infinite loop.
143
144 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
145
146 * javax/security/auth/PrivateCredentialPermission.java
147 (PrivateCredentialPermission): added serialization UID
148
149
150 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
151
152 * gnu/java/rmi/server/UnicastServer.java
153 (incomingMessageCall): Added code to handle Errors.
154 * gnu/java/rmi/server/UnicastServerRef.java
155 (incomingMessageCall): Added code to handle Errors.
156
157
158 2004-09-24 Tom Tromey <tromey@redhat.com>
159
160 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
161 (definedPackages): Likewise.
162
163 2004-09-24 Michael Koch <konqueror@gmx.de>
164
165 * java/io/ObjectInputStream.java:
166 Re-ordered imports.
167
168 2004-09-24 Casey Marshall <csm@gnu.org>
169
170 * java/io/ObjectInputStream.java (callReadMethod): re-throw
171 `ClassNotFoundException'.
172
173 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
174
175 * java/io/ObjectInputStream.java (readObject): Delegate instantation
176 of Externalizable classes to ObjectStreamClass.
177 * java/io/ObjectStreamClass.java (newInstance): New method to
178 instantiate Externalizable (while ignoring the accessibility of
179 the constructor). (constructor): New field to cache the constructor.
180
181 2004-09-24 Mark Wielaard <mark@klomp.org>
182
183 * java/net/URL.java (systemClassLoader): New static field.
184 (getURLStreamHandler): Always use system/application classloader
185 for finding URLStreamhandler. Remove unecessary instanceof checks.
186
187 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
188
189 * java/net/URL.java
190 (set): This method now matches the behaviour of the JDK.
191 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
192
193 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
194
195 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
196
197 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
198
199 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
200 Don't set authority if host isn't specified.
201
202 2004-09-24 Michael Koch <konqueror@gmx.de>
203
204 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
205 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
206 * gnu/java/nio/VMPipe.java,
207 gnu/java/nio/VMSelector.java:
208 New files.
209 * gnu/java/nio/natPipeImplEcos.cc,
210 gnu/java/nio/natPipeImplPosix.cc,
211 gnu/java/nio/natPipeImplWin32.cc:
212 Ported to VMPipe.
213 * gnu/java/nio/natSelectorImplEcos.cc,
214 gnu/java/nio/natSelectorImplPosix.cc,
215 gnu/java/nio/natSelectorImplWin32.cc:
216 Ported to VMSelector.
217 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
218 gnu/java/nio/VMSelector.java.
219 * Makefile.in: Regenerated.
220
221 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
222
223 * java/lang/StackTraceElement.java
224 (className): Renamed field to declaringClass to be compatible
225 with Sun serialization format.
226
227 2004-09-23 Michael Koch <konqueror@gmx.de>
228
229 * java/applet/AppletContext.java,
230 java/applet/Applet.java,
231 java/applet/AppletStub.java,
232 java/applet/AudioClip.java:
233 Jalopied and checkstyle clean.
234
235 2004-09-23 Mark Wielaard <mark@klomp.org>
236
237 * java/util/Collections.java
238 (binarySearch(List, Object, Comparator)): Explicitly
239 reverse direction in list iterator.
240 (rotate): Just return when list is empty.
241
242 2004-09-23 Tom Tromey <tromey@redhat.com>
243
244 PR java/17329:
245 * testsuite/libjava.compile/pr17329.java: New file.
246
247 PR java/17380:
248 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
249 9.2-implicit-7.
250
251 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
252
253 * Makefile.am: Run aclocal with -I ../config
254 * acinclude.m4: Delete macros picked up from ../config and tidy.
255 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
256 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
257 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
258
259 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
260
261 * aclocal.m4: Regenerate with aclocal 1.9.2.
262 * configure: Regenerate.
263 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
264 * include/Makefile.in, testsuite/Makefile.in: Likewise.
265
266 2004-09-22 David Daney <ddaney@avtrex.com>
267
268 PR libgcj/17623
269 * java/net/URL.java (URL): Copy userInfo from context.
270 (getUserInfo): Return cached userInfo if present.
271
272 2004-09-22 Tom Tromey <tromey@redhat.com>
273
274 PR libgcj/6182:
275 * mauve-libgcj: Enable java.lang.Character tests.
276
277 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
278
279 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
280 dependencies.
281 (lib_org_ietf_jgss_la_LIBADD): Likewise.
282 * Makefile.in: Regenerated.
283
284 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
285
286 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
287 * configure: Regenerate.
288 * include/config.h.in: Likewise.
289 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
291 macro to gtkpeer.h.
292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
293 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
294 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
295 architectures.
296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
297 Likewise.
298
299 2004-09-22 Tom Tromey <tromey@redhat.com>
300
301 PR libgcj/14446:
302 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
303 when comparing CRCs.
304 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
305 field.
306 (read()): New overload.
307
308 2004-09-21 Tom Tromey <tromey@redhat.com>
309
310 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
311 Indentation fix.
312
313 2004-09-21 Michael Koch <konqueror@gmx.de>
314
315 * java/net/Socket.java
316 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
317
318 2004-09-21 Casey Marshall <csm@gnu.org>
319
320 * javax/crypto/MacSpi.java (clone): Provide meaningful
321 implementation.
322
323 2004-09-21 Tom Tromey <tromey@redhat.com>
324
325 PR libgcj/16869:
326 * Makefile.in: Rebuilt.
327 * Makefile.am (MOSTLYCLEANFILES): Removed.
328 (mostlyclean-local): Remove header files.
329
330 2004-09-21 Casey Marshall <csm@gnu.org>
331
332 * java/security/cert/X509CRLSelector.java:
333 (match): remove unreachable try-catch clauses.
334 Reported by: Dalibor Topic <robilad@kaffe.org>
335
336 2004-09-21 Mark Wielaard <mark@klomp.org>
337
338 * java/util/TreeMap.java (root): Don't initialize.
339 (TreeMap(Comparator)): Call fabricateTree(0).
340 (fabricateTree): Initialize root and size when count is 0.
341
342 2004-09-21 Sven de Marothy <sven@physto.se>
343
344 * java/nio/ByteBuffer.java (hashCode): Implemented.
345 * java/nio/CharBuffer.java: Likewise.
346 * java/nio/DoubleBuffer.java: Likewise.
347 * java/nio/FloatBuffer.java: Likewise.
348 * java/nio/LongBuffer.java: Likewise.
349 * java/nio/IntBuffer.java: Likewise.
350 * java/nio/ShortBuffer.java: Likewise.
351
352 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
353
354 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
355
356 2004-09-21 Michael Koch <konqueror@gmx.de>
357
358 * javax/net/ssl/SSLServerSocket.java:
359 Removed comment about "Do not edit this file, it's generated.".
360
361 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
362
363 Import the big Crypto/Jessie/Security merge from Classpath.
364
365 * Makefile.am: Add imported files.
366 * Makefile.in: Regenerate.
367
368 2004-08-14 Casey Marshall <csm@gnu.org>
369
370 The Big Crypto Merge of 2004.
371
372 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
373 Crypto's version.
374
375 Files imported from GNU Crypto.
376 * javax/crypto/BadPaddingException.java
377 * javax/crypto/Cipher.java
378 * javax/crypto/CipherInputStream.java
379 * javax/crypto/CipherOutputStream.java
380 * javax/crypto/CipherSpi.java
381 * javax/crypto/EncryptedPrivateKeyInfo.java
382 * javax/crypto/ExemptionMechanism.java
383 * javax/crypto/ExemptionMechanismException.java
384 * javax/crypto/ExemptionMechanismSpi.java
385 * javax/crypto/IllegalBlockSizeException.java
386 * javax/crypto/KeyAgreement.java
387 * javax/crypto/KeyAgreementSpi.java
388 * javax/crypto/KeyGenerator.java
389 * javax/crypto/KeyGeneratorSpi.java
390 * javax/crypto/Mac.java
391 * javax/crypto/MacSpi.java
392 * javax/crypto/Makefile.am
393 * javax/crypto/NoSuchPaddingException.java
394 * javax/crypto/NullCipher.java
395 * javax/crypto/NullCipherImpl.java
396 * javax/crypto/SealedObject.java
397 * javax/crypto/SecretKey.java
398 * javax/crypto/SecretKeyFactory.java
399 * javax/crypto/SecretKeyFactorySpi.java
400 * javax/crypto/ShortBufferException.java
401 * javax/crypto/interfaces/DHKey.java
402 * javax/crypto/interfaces/DHPrivateKey.java
403 * javax/crypto/interfaces/DHPublicKey.java
404 * javax/crypto/interfaces/PBEKey.java
405 * javax/crypto/spec/DESKeySpec.java
406 * javax/crypto/spec/DESedeKeySpec.java
407 * javax/crypto/spec/DHGenParameterSpec.java
408 * javax/crypto/spec/DHParameterSpec.java
409 * javax/crypto/spec/DHPrivateKeySpec.java
410 * javax/crypto/spec/DHPublicKeySpec.java
411 * javax/crypto/spec/IvParameterSpec.java
412 * javax/crypto/spec/PBEKeySpec.java
413 * javax/crypto/spec/PBEParameterSpec.java
414 * javax/crypto/spec/RC2ParameterSpec.java
415 * javax/crypto/spec/RC5ParameterSpec.java
416 * javax/crypto/spec/SecretKeySpec.java
417 * javax/security/auth/AuthPermission.java
418 * javax/security/auth/DestroyFailedException.java
419 * javax/security/auth/Destroyable.java
420 * javax/security/auth/Policy.java
421 * javax/security/auth/PrivateCredentialPermission.java
422 * javax/security/auth/RefreshFailedException.java
423 * javax/security/auth/Refreshable.java
424 * javax/security/auth/Subject.java
425 * javax/security/auth/SubjectDomainCombiner.java
426 * javax/security/auth/callback/Callback.java
427 * javax/security/auth/callback/CallbackHandler.java
428 * javax/security/auth/callback/ChoiceCallback.java
429 * javax/security/auth/callback/ConfirmationCallback.java
430 * javax/security/auth/callback/LanguageCallback.java
431 * javax/security/auth/callback/NameCallback.java
432 * javax/security/auth/callback/PasswordCallback.java
433 * javax/security/auth/callback/TextInputCallback.java
434 * javax/security/auth/callback/TextOutputCallback.java
435 * javax/security/auth/callback/UnsupportedCallbackException.java
436 * javax/security/auth/login/AccountExpiredException.java
437 * javax/security/auth/login/AppConfigurationEntry.java
438 * javax/security/auth/login/Configuration.java
439 * javax/security/auth/login/CredentialExpiredException.java
440 * javax/security/auth/login/FailedLoginException.java
441 * javax/security/auth/login/LoginContext.java
442 * javax/security/auth/login/LoginException.java
443 * javax/security/auth/login/NullConfiguration.java
444 * javax/security/auth/x500/X500PrivateCredential.java
445 * javax/security/sasl/AuthenticationException.java
446 * javax/security/sasl/AuthorizeCallback.java
447 * javax/security/sasl/RealmCallback.java
448 * javax/security/sasl/RealmChoiceCallback.java
449 * javax/security/sasl/Sasl.java
450 * javax/security/sasl/SaslClient.java
451 * javax/security/sasl/SaslClientFactory.java
452 * javax/security/sasl/SaslException.java
453 * javax/security/sasl/SaslServer.java
454 * javax/security/sasl/SaslServerFactory.java
455 * org/ietf/jgss/ChannelBinding.java
456 * org/ietf/jgss/GSSContext.java
457 * org/ietf/jgss/GSSCredential.java
458 * org/ietf/jgss/GSSException.java
459 * org/ietf/jgss/GSSManager.java
460 * org/ietf/jgss/GSSName.java
461 * org/ietf/jgss/MessageProp.java
462 * org/ietf/jgss/Oid.java
463 * org/ietf/jgss/MessagesBundle.properties
464
465 Files imported from Jessie <http://www.nongnu.org/jessie/>
466 * javax/net/ServerSocketFactory.java
467 * javax/net/SocketFactory.java
468 * javax/net/VanillaServerSocketFactory.java
469 * javax/net/VanillaSocketFactory.java
470 * javax/net/ssl/HandshakeCompletedEvent.java
471 * javax/net/ssl/HandshakeCompletedListener.java
472 * javax/net/ssl/HostnameVerifier.java
473 * javax/net/ssl/HttpsURLConnection.java
474 * javax/net/ssl/KeyManager.java
475 * javax/net/ssl/KeyManagerFactory.java
476 * javax/net/ssl/KeyManagerFactorySpi.java
477 * javax/net/ssl/ManagerFactoryParameters.java
478 * javax/net/ssl/SSLContext.java
479 * javax/net/ssl/SSLContextSpi.java
480 * javax/net/ssl/SSLException.java
481 * javax/net/ssl/SSLHandshakeException.java
482 * javax/net/ssl/SSLKeyException.java
483 * javax/net/ssl/SSLPeerUnverifiedException.java
484 * javax/net/ssl/SSLPermission.java
485 * javax/net/ssl/SSLProtocolException.java
486 * javax/net/ssl/SSLServerSocket.java
487 * javax/net/ssl/SSLServerSocketFactory.java
488 * javax/net/ssl/SSLSession.java
489 * javax/net/ssl/SSLSessionBindingEvent.java
490 * javax/net/ssl/SSLSessionBindingListener.java
491 * javax/net/ssl/SSLSessionContext.java
492 * javax/net/ssl/SSLSocket.java
493 * javax/net/ssl/SSLSocketFactory.java
494 * javax/net/ssl/TrivialHostnameVerifier.java
495 * javax/net/ssl/TrustManager.java
496 * javax/net/ssl/TrustManagerFactory.java
497 * javax/net/ssl/TrustManagerFactorySpi.java
498 * javax/net/ssl/X509KeyManager.java
499 * javax/net/ssl/X509TrustManager.java
500 * javax/security/cert/Certificate.java
501 * javax/security/cert/CertificateEncodingException.java
502 * javax/security/cert/CertificateException.java
503 * javax/security/cert/CertificateExpiredException.java
504 * javax/security/cert/CertificateNotYetValidException.java
505 * javax/security/cert/CertificateParsingException.java
506 * javax/security/cert/X509CertBridge.java
507 * javax/security/cert/X509Certificate.java
508
509 2004-08-20 Casey Marshall <csm@gnu.org>
510
511 * java/security/cert/X509CRLSelector.java: New file.
512 * java/security/cert/X509CertSelector.java: New file.
513
514 2004-09-15 Michael Koch <konqueror@gmx.de>
515
516 * gnu/java/net/protocol/file/Handler.java
517 (openConnection): Don't throw exception if host part for file: URI is
518 present. setURL() keeps file: protocol if ftp: protocol is not
519 available.
520
521 2004-09-14 Richard Henderson <rth@redhat.com>
522
523 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
524 value of sigsuspend.
525
526 2004-09-12 Tom Tromey <tromey@redhat.com>
527
528 * javax/naming/CompoundName.java (CompoundName): Don't check for
529 separator in "flat" case.
530
531 2004-09-12 Michael Koch <konqueror@gmx.de>
532
533 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
534 AM_CONFIG_HEADER by AC_CONFIG_FILES.
535 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
536 Regenerate.
537
538 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
539
540 PR libgcj/14751
541 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
542 handle in newly-allocated _Jv_Thread_t.
543 (_Jv_ThreadDestroyData): Close thread handle.
544 (_Jv_ThreadStart): Remove obsolete comment.
545 Store handle of newly-created thread in _Jv_Thread_t.
546 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
547 before including <windows.h>
548 #define _Jv_HaveCondDestroy
549
550 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
551
552 * java/lang/natThread.cc (finalize_native): Destroy
553 join conditional variable and mutex if these destroy
554 operations are supported.
555
556 2004-09-10 Dalibor Topic <robilad@kaffe.org>
557
558 * gnu/java/net/protocol/file/Connection.java (permission): New field.
559 (DEFAULT_PERMISSION): New constant.
560 (Connection): Create a FilePermission with permission to read file.
561
562 2004-09-10 Michael Koch <konqueror@gmx.de>
563
564 * gnu/java/net/protocol/file/Connection.java
565 (getLastModified): Moved around.
566 (getPermission): Return stored permission.
567
568 2004-09-10 Michael Koch <konqueror@gmx.de>
569
570 * Makefile.in: Regenerate.
571
572 2004-09-10 Michael Koch <konqueror@gmx.de>
573
574 * Makefile.am: Reverted accidently commited stuff.
575 * configure: Regenerated.
576
577 2004-09-10 Michael Koch <konqueror@gmx.de>
578
579 * gnu/java/net/protocol/file/Connection.java
580 (lineSeparator): Made non-final.
581 (static): Removed.
582 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
583 instead of StringBufferInputStream.
584
585 2004-09-10 Michael Koch <konqueror@gmx.de>
586
587 * gnu/java/net/protocol/file/Connection.java
588 (connect): Handle file is a directory case.
589
590 2004-09-10 Michael Koch <konqueror@gmx.de>
591
592 * Makefile.am
593 (xlib_includes): Removed.
594 (AM_CPPFLAGS): Renamed from INCLUDES.
595 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
596 * Makefile.in: Regenerate.
597
598 2004-09-09 Michael Koch <konqueror@gmx.de>
599
600 * java/security/ProtectionDomain.java,
601 * java/util/PropertyPermissionCollection.java:
602 Fixed javadocs all over.
603
604 2004-09-09 Sven de Marothy <sven@physto.se>
605
606 Patch from David Gilbert <david.gilbert@object-refinery.com>
607 * java/lang/Comparable.java: Fixed documentation errors.
608 * java/util/Arrays.java: Likewise.
609
610 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
611
612 * java/net/Inet4Address.java
613 (Inet4Address): Added comment to serialization UID.
614 * java/text/Format.java
615 (Format): Added comment to serialization UID.
616
617 2004-09-09 Michael Koch <konqueror@gmx.de>
618
619 * java/lang/System.java
620 (err): Fixed javadoci to point to setErr() and not setOut().
621
622 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
623
624 (normalizePath): Added special case for windows systems.
625
626 2004-09-09 Michael Koch <konqueror@gmx.de>
627
628 * java/io/File.java
629 (dupSeparator): Made private.
630 (File(URI)): New constructor.
631 (getParentFile): Fixed javadoc.
632 (createTempFile): Reformated.
633 (setReadOnly): Added comment.
634 (deleteOnExit): Merged javadoc with classpath version.
635
636 2004-09-09 Michael Koch <konqueror@gmx.de>
637
638 * Makefile.am: Don't try to include deps.mk.
639 * Makefile.in: Regenerated.
640
641 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
642
643 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
644 .d files.
645 * configure: Rebuilt.
646
647 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
648
649 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
650 Changed pfn from static local to local.
651
652 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
653 H.J. Lu <hongjiu.lu@intel.com>
654
655 PR libgcj/17290
656 * Makefile.am (GCJCOMPILE): Remove definition.
657 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
658 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
659 * Makefile.in: Rebuilt.
660
661 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
662
663 * configure.ac (enable-gc-debug): Update help for new syntax.
664 * configure: Regenerate.
665
666 2004-09-03 David Daney <ddaney@avtrex.com>
667
668 * include/mips-signal.h: Update copyright.
669
670 2004-09-03 David Daney <ddaney@avtrex.com>
671
672 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
673 * include/mips-signal.h: Added HANDLE_FPE support.
674
675 2004-08-31 Michael Koch <konqueror@gmx.de>
676
677 * javax/swing/plaf/basic/BasicTextAreaUI.java
678 (create): New method.
679 * javax/swing/text/DefaultHighlighter.java
680 (DefaultHighlightPainter.debugRect): Removed.
681 * javax/swing/text/StyleContext.java
682 (DEFAULT_STYLE): New field.
683
684 2004-08-31 Michael Koch <konqueror@gmx.de>
685
686 * javax/swing/plaf/basic/BasicLookAndFeel.java
687 (initComponentDefaults): Add keybindings for selection.backward and
688 selection-forward for text components.
689 * javax/swing/plaf/basic/BasicTextUI.java
690 (paintSafely): Paint highlight only when something is actually
691 selected.
692 * javax/swing/text/DefaultCaret.java
693 (handleHighlight): New method.
694 (setSelectionVisible): Don't do anything when nothing changes.
695 Handle highlight.
696 (moveDot): Reimplemented. Handle highlight.
697 (setDot): Set mark too. Handle highlight.
698 (getSelectionPainter): New method.
699 * javax/swing/text/DefaultEditorKit.java
700 (defaultActions): Added new actions for text selection.
701 * javax/swing/text/DefaultHighlighter.java
702 (DefaultHighlightPainter): New inner class.
703 (DefaultPainter): New field.
704 (paint): Implemented.
705 * javax/swing/text/PlainView.java
706 (paint): Don't draw background here again.
707 * javax/swing/text/Utilities.java
708 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
709 (drawTabbedText): Likewise.
710
711 2004-08-31 Graydon Hoare <graydon@redhat.com>
712
713 * javax/swing/JComponent.java
714 (resetKeyboardActions): Add null checks.
715
716 2004-08-31 Graydon Hoare <graydon@redhat.com>
717
718 * javax/swing/DefaultButtonModel.java:
719 Skip group notification when no group is set.
720
721 2004-08-31 Graydon Hoare <graydon@redhat.com>
722
723 * javax/swing/JColorChooser.java:
724 Make a couple inner classes static, for jikes.
725
726 2004-08-31 Michael Koch <konqueror@gmx.de>
727
728 * javax/swing/plaf/basic/BasicTextUI.java
729 (RottView.modelToView): New method.
730 (UpdateHandler): Renamed from EventHandler.
731 (updateHandler): Renamed from eventHandler.
732 (modelToView): Implemented.
733 * javax/swing/text/AbstractDocument.java
734 (BranchElement.getElement): Return null for non-existing indeces.
735 (BranchElement.getElementIndex): Return 0 in some corner cases.
736 * javax/swing/text/FieldView.java
737 (modelToView): New method.
738 * javax/swing/text/PlainView.java
739 (modelToView): Made public.
740
741 2004-08-31 Kim Ho <kho@redhat.com>
742
743 * Makefile.am: New files.
744 * Makefile.in: Regenerate.
745 * gcj/Makefile.in: Regenerate.
746 * include/Makefile.in: Regenerate.
747 * java/awt/Color.java: Fix documentation.
748 (RGBtoHSB): Use floats for conversions.
749 * javax/swing/ButtonGroup.java: Run Jalopy.
750 (setSelected): Reimplement.
751 * javax/swing/DefaultButtonModel.java: Run Jalopy.
752 (changeState): Let ButtonGroup know that the button
753 is changing state.
754 * javax/swing/JColorChooser.java: Implement.
755 * javax/swing/JLabel.java: Run Jalopy.
756 * javax/swing/JSpinner.java: Run Jalopy.
757 (setValue): New method.
758 * javax/swing/JTabbedPane.java: Run Jalopy.
759 (removeTabAt): Call correct remove method.
760 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
761 (getPreviousValue): Compare minimum value.
762 * javax/swing/Timer.java: Run Jalopy.
763 (run): Comment out println.
764 * javax/swing/ToolTipManager.java:
765 (mouseMoved): Get new tooltip text for location.
766 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
767 Jalopy and Javadoc.
768 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
769 Implement.
770 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
771 Run Jalopy.
772 (setSelectedColor): Fire ChangeEvent.
773 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
774 New file. Implement.
775 * javax/swing/colorchooser/DefaultPreviewPanel.java:
776 Ditto.
777 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
778 Ditto.
779 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
780 Ditto.
781 * javax/swing/plaf/basic/BasicArrowButton.java:
782 (getArrow): Fix size of upward pointing button.
783 * javax/swing/plaf/basic/BasicColorChooserUI.java:
784 Implement.
785 * javax/swing/plaf/basic/BasicSliderUI.java:
786 (getWidthOfWidestLabel): Use preferred dimensions.
787 (getHeightOfTallestLabel): Ditto.
788 * javax/swing/plaf/basic/BasicSpinnerUI.java:
789 Run Jalopy.
790 (mousePressed): Disable changes to spinner if it is not enabled.
791 * testsuite/Makefile.in: Regenerate.
792
793
794 2004-08-31 Michael Koch <konqueror@gmx.de>
795
796 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
797 javax/swing/plaf/basic/BasicTableUI.java:
798 Added copyright notice.
799
800 2004-08-31 Olga Rodimina <rodimina@redhat.com>
801
802 * Makefile.am: Added new files.
803 * Makefile.in: Regenerate.
804 * javax/swing/ComboBoxEditor.java: Added javadocs.
805 * javax/swing/ComboBoxModel.java: Likewise.
806 * javax/swing/DefaultComboBoxModel.java: Implemented.
807 * javax/swing/DefaultListCellRenderer.java: Added javadocs
808 and ran through jalopy to fix formatting style.
809 (getListCellRendererComponent): Use appropriate border
810 if renderer has focus and use noFocusBorder when it doesn't.
811 * javax/swing/JComboBox.java: Implemented.
812 * javax/swing/JList.java:
813 (locationToIndex): New Method. Implemented.
814 (indexToLocation): New Method.
815 * javax/swing/JPopupMenu.java:
816 (visible): New field.
817 (isVisible): Changed to use new field above.
818 (setVisible): Likewise.
819 * javax/swing/MutableComboBoxModel.java: Added javadocs.
820 * javax/swing/plaf/basic/BasicArrowButton.java:
821 (shadow): Changed default color to Color.gray.
822 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
823 UI delegate for JComboBox.
824 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
825 Popup menu containing list of JComboBox's items.
826 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
827 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
828 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
829 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
830 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
831 (popupMenuWillBecomeVisible): Set selected path to the first
832 element only if it is of type MenuElement. Also fix formatting
833 style.
834 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
835 methods signatures.
836
837 2004-08-31 Michael Koch <konqueror@gmx.de>
838
839 * javax/swing/text/AbstractDocument.java
840 (createBranchElement): Use new constructor of BranchElement.
841 (createLeafElement): Renamed arguments.
842 (getRootElements): Implemented.
843 (BranchElement.start): Removed.
844 (BranchElement.end): Likewise.
845 (BranchElement.BranchElement): Fixed arguments.
846 (BranchElement.getEndOffset): Reimplemented.
847 (BranchElement.getStartOffset): Likewis.
848 * javax/swing/text/DefaultCaret.java
849 (paint): Draw simple vertical line as caret instead of a rectangle.
850 * javax/swing/text/JTextComponent.java
851 (setText): Use doc directly.
852 * javax/swing/text/PlainView.java
853 (nextTabStop): Implemented.
854 * javax/swing/text/Utilities.java
855 (drawTabbedText): nextTabStop() returns an absolute x position.
856 (getTabbedTextWidth): Likewise.
857
858 2004-08-31 Graydon Hoare <graydon@redhat.com>
859
860 * java/awt/Component.java
861 (isFocusTraversable): Predicate on isLightweight()
862 (setFocusable): Set isFocusTraversableOverridden.
863 (requestFocus): Predicate peer dispatch on !isLightweight()
864 (requestFocusInWindow): Likewise.
865 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
866 * java/awt/Container.java
867 (dispatchEventImpl): Predicate on event mask.
868 (LightweightDispatcher): Remove focus machinery.
869 * java/awt/DefaultFocusTraversalPolicy.java
870 (accept): Expand predicate to include isFocusable().
871 * java/awt/DefaultKeyboardFocusManager.java:
872 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
873 * java/awt/KeyboardFocusManager.java
874 (redispatchEvent): Synchronize on event to prevent feedback.
875 * javax/swing/AbstractButton.java
876 (ButtonFocusListener): Remove class.
877 (init): Set focusPainted, focusable.
878 * javax/swing/ActionMap.java (get): Check parent for null.
879 * javax/swing/InputMap.java (get): Likewise.
880 * javax/swing/JComponent.java
881 (inputMap_whenFocused): New InputMap.
882 (inputMap_whenAncestorOfFocused): Likewise.
883 (inputMap_whenInFocusedWindow): Likewise.
884 (getActionForKeyStroke): Rewrite.
885 (getConditionForKeystroke): Likewise.
886 (ActionListenerProxy): New private class.
887 (setInputMap): Implement.
888 (getInputMap): Likewise.
889 (setActionMap): Likewise.
890 (getActionMap): Likewise.
891 (processComponentKeyEvent): New empty method.
892 (processKeyEvent): Implement.
893 (processKeyBinding): Likewise.
894 (resetKeyboardActions): Rewrite.
895 * javax/swing/KeyStroke.java: Rewrite.
896 * javax/swing/SwingUtilities.java
897 (notifyAction): Implement.
898 (replaceUIActionMap): Likewise.
899 (replaceUIInputMap): Likewise.
900 * javax/swing/plaf/basic/BasicButtonListener.java
901 (focusGained): Implement.
902 (focusLost): Repaint if focusPainted().
903 (installKeyboardActions): Install pressed / released actions.
904 (uninstallKeyboardActions): Implement.
905 * javax/swing/plaf/basic/BasicButtonUI.java
906 (focusColor): New field.
907 (installDefaults): Load focus color, install input map.
908 (installKeyboardActions): Implement.
909 (uninstallKeyboardActions): Likewise.
910 (paintFocus): Rewrite.
911 * javax/swing/plaf/basic/BasicLookAndFeel.java
912 (Button.focus): New default, midPurple.
913 * javax/swing/plaf/basic/BasicTextUI.java
914 (kit): Make static.
915 (installUI): Get doc from kit, load defaults.
916 (getKeymapName): Implement.
917 (createKeymap): Likewise.
918 (installKeyboardActions): Likewise.
919 (getInputMap): Likewise.
920 (getActionMap): Likewise.
921 (createActionMap): Likewise.
922 * javax/swing/text/AbstractDocument.java
923 (getStartPosition): Implement.
924 (getEndPosition): Likewise.
925 * javax/swing/text/DefaultEditorKit.java
926 (CopyAction): New class.
927 (CutAction): Likewise.
928 (DefaultKeyTypedAction): Likewise.
929 (InsertBreakAction): Likewise.
930 (InsertContentAction): Likewise.
931 (InsertTabAction): Likewise.
932 (PasteAction): Likewise.
933 (defaultActions): New static table.
934 (createCaret): Implement.
935 (getActions): Likewise.
936 * javax/swing/text/JTextComponent.java
937 (KeymapWrapper): New private class.
938 (KeymapActionMap): Likewise.
939 (DefaultKeymap): New class.
940 (keymaps): New static table.
941 (keymap): New field.
942 (getKeymap): Implement.
943 (removeKeymap): Likewise.
944 (addKeymap): Likewise.
945 (setKeymap): Likewise.
946 (loadKeymap): Likewise.
947 (getActions): Likewise.
948 (margin): New field.
949 (JTextComponent): Build and install default keymap.
950 * javax/swing/text/TextAction.java
951 (textAction): Call super properly.
952 (getTextComponent): Implement.
953 * javax/swing/text/Utilities.java
954 (drawTabbedText): Adjust position by ascent.
955
956 2004-08-31 David Jee <djee@redhat.com>
957
958 PR AWT/17156
959
960 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
961 (setEnabled): Make it a native method.
962 * java/awt/DefaultKeyboardFocusManager.java
963 (postProcessKeyEvent): Only post event if the menu item
964 is active.
965 * java/awt/MenuItem.java:
966 Private field 'enabled' should be true by default.
967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
968 (setEnabled): New function.
969
970 2004-08-31 David Jee <djee@redhat.com>
971
972 PR AWT/17059
973
974 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
975 (nativeSetHelpMenu): New native method declaration.
976 (addHelpMenu): Call nativeSetHelpMenu().
977 (addMenu): Remove.
978 * java/awt/MenuBar.java
979 (setHelpMenu): Call addNotify() on the new help menu.
980 (add): Call addNotify() on the new menu.
981 (addNotify): Set the help menu if one exists.
982 * java/awt/peer/MenuBarPeer.java
983 (addMenu): Remove.
984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
985 (nativeSetHelpMenu): New method.
986
987 2004-08-31 Graydon Hoare <graydon@redhat.com>
988
989 * Makefile.am: Add new files.
990 * Makefile.in: Regenerate.
991 * javax/swing/Box.java: Fix setting of layout in ctor.
992 * javax/swing/JScrollPane.java: Scroll headers as well.
993 * javax/swing/JTable.java: Reimplement.
994 * javax/swing/JViewPort.java: Only add non-null children.
995 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
996 * javax/swing/Timer.java: Fix stopping null waker.
997 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
998 * javax/swing/plaf/basic/BasicTableUI.java: New file.
999 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1000 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1001 * javax/swing/table/DefaultTableModel.java: Clean up.
1002 * javax/swing/table/JTableHeader.java: Implement.
1003
1004 2004-08-31 Mark Wielaard <mark@klomp.org>
1005
1006 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1007 semi-colon.
1008
1009 2004-08-31 Mark Wielaard <mark@klomp.org>
1010
1011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1012 Declare variables at top of functions/block.
1013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1014
1015 2004-08-31 Mark Wielaard <mark@klomp.org>
1016
1017 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1018 first.
1019
1020 2004-08-31 Michael Koch <konqueror@gmx.de>
1021
1022 * javax/swing/text/PlainView.java
1023 (selectedColor): New field.
1024 (unselectedColor): Likewise.
1025 (font): Likewise.
1026 (updateMetrics): New method.
1027 (lineToRect): Likewise.
1028 (modelToView): Likewise.
1029 (drawSelectedText): Use color from JTextComponent ad draw with
1030 Utilities class.
1031 (drawUnselectedText): Likewise.
1032 (paint): Initialize helper fields.
1033 * javax/swing/text/View.java
1034 (getChildAllocation): New method.
1035 (getViewIndex): Likewise.
1036 (getToolTipText): Likewise.
1037
1038 2004-08-31 Michael Koch <konqueror@gmx.de>
1039
1040 * javax/swing/text/Utilities.java
1041 (drawTabbedText): Reimplemented.
1042 (getTabbedTextWidth): Likewise.
1043
1044 2004-08-31 Michael Koch <konqueror@gmx.de>
1045
1046 * javax/swing/plaf/basic/BasicTextUI.java
1047 (installDefaults): Install caret and highlighter.
1048 (modelToView): Use Bias.Forward when calling sibling.
1049 * javax/swing/text/AbstractDocument.java
1050 (ElementEdit): Implements DocumentEvent.ElementChange.
1051 (ElementEdit.ElementEdit): New method.
1052 (ElementEdit.getChildrenAdded): Likewise.
1053 (ElementEdit.getChildrenRemoved): Likewise.
1054 (ElementEdit.getElement): Likewise.
1055 (ElementEdit.getIndex): Likewise.
1056 * javax/swing/text/DefaultCaret.java
1057 (color): Removed.
1058 (textComponent): Renamed from parent, made private.
1059 (selectionVisible): Renamed from vis_sel, made private.
1060 (blinkRate): Renamed from blink, made private.
1061 (magicCaretPosition): Renamed from magic, made private.
1062 (visible): Renamed from vis, made private.
1063 (dot): Made private.
1064 (mark): Likewise.
1065 (deinstall): Remove as MouseMotionListener.
1066 (install): Initialize textComponent first. Add as MouseMotionListener.
1067 (paint): Reimplemented.
1068 * javax/swing/text/JTextComponent.java
1069 (setCaret): Deinstall old caret, install new one and fire property
1070 change after setting property.
1071 (setHighlighter): Deinstall old highlighter, install new one and fire
1072 property change after setting property.
1073 (setCaretColor): Fire property change after setting property.
1074 (setDisabledTextColor): Likewise.
1075 (setSelectedTextColor): Likewise.
1076 (setSelectionColor): Likewise.
1077 (modelToView): New method.
1078
1079 2004-08-31 Michael Koch <konqueror@gmx.de>
1080
1081 * javax/swing/text/AbstractDocument.java
1082 (getText): Simplified.
1083 * javax/swing/text/Segment.java
1084 (current): New field.
1085 (current): Reimplemented.
1086 (first): Likewise.
1087 (getIndex): Likewise.
1088 (last): Likewise.
1089 (next): Likewise.
1090 (previous): Likewise.
1091 (setIndex): Likewise.
1092
1093 2004-08-31 Michael Koch <konqueror@gmx.de>
1094
1095 * javax/swing/plaf/basic/BasicButtonUI.java
1096 (defaultTextIconGap): Made protected.
1097 (defaultTextShiftOffset): Likewise.
1098 (textShiftOffset): New field.
1099 (clearTextShiftOffset): New method.
1100 (getTextShiftOffset): Likewise.
1101 (setTextShiftOffset): Likewise.
1102
1103 2004-08-31 Michael Koch <konqueror@gmx.de>
1104
1105 * javax/swing/plaf/basic/BasicTextUI.java
1106 (installUI): Add eventHandler as property listener.
1107 (uninstallUI): remove eventHandler as propert listener.
1108 (installDefaults): Added comment.
1109 (installListeners): Likewise.
1110 (installKeyboardActions): Likewise.
1111 (uninstallDefaults): Likewise.
1112 (uninstallListeners): Likewise.
1113 (uninstallKeyboardActions): Likewise.
1114
1115 2004-08-31 Michael Koch <konqueror@gmx.de>
1116
1117 * javax/swing/text/AbstractDocument.java:
1118 Fixed some typos in comments.
1119 (insertString): Reimplemented.
1120 (remove): Likewise.
1121 (replace): New method.
1122 (children): Dont use fully qualified class name.
1123 (DefaultDocumentEvent.offset): Renamed from off.
1124 (DefaultDocumentEvent.length): Renamed from len.
1125 (DefaultDocumentEvent.type): New field.
1126 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1127 (DefaultDocumentEvent.getType): Implemented.
1128
1129 2004-08-31 Michael Koch <konqueror@gmx.de>
1130
1131 * javax/swing/plaf/basic/BasicTextUI.java
1132 (RootView.textComponent): Removed.
1133 (RootView.RootView): Don't initialize textComponent.
1134 (RootView.getViewFactory): New method.
1135 (EventHandler): New inner class.
1136 (rootView): Initialize at instance creation.
1137 (eventHandler): New field.
1138 (installUI): Don't create view hierarchy directly,
1139 call modelChanged() instead.
1140 (modelChanged): New method.
1141 * javax/swing/text/JTextComponent.java
1142 (setDocument): Fire property change event.
1143
1144 2004-08-31 Michael Koch <konqueror@gmx.de>
1145
1146 * javax/swing/plaf/basic/BasicTextUI.java
1147 (RootView.paint): Removed debug output.
1148 (paintSafely): Draw highlighter before text.
1149 (paintBackground): Use background color of text component.
1150 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1151 Reformatted.
1152
1153 2004-08-31 Michael Koch <konqueror@gmx.de>
1154
1155 * javax/swing/plaf/basic/BasicToolBarUI.java
1156 (BasicToolBarUI): Fixed arguments for constructor.
1157 (createUI): Fixed creation of object.
1158
1159 2004-08-31 Michael Koch <konqueror@gmx.de>
1160
1161 * javax/swing/DefaultListSelectionModel.java
1162 (fireValueChanged): Renamed from fireSelectionValueChanged,
1163 made protected.
1164
1165 2004-08-31 Michael Koch <konqueror@gmx.de>
1166
1167 * javax/swing/text/TabSet.java
1168 (TabSet): Implements java.io.Serializable.
1169 * javax/swing/text/TabStop.java
1170 (TabStop): Implements java.io.Serializable.
1171 (TabStop): Made public.
1172
1173 2004-08-31 Michael Koch <konqueror@gmx.de>
1174
1175 * javax/swing/JComponent.java
1176 (setUI): Fire PropertyChange.
1177 * javax/swing/JLabel.java
1178 (text): Renamed from labelText.
1179 (horizontalAlignment): New default vlaue.
1180 (icon): Renamed from activeIcon.
1181 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1182 (displayedMnemonicIndex): Renamed from underlineChar.
1183 (setDisplayedMnemonic): Reimplemented.
1184 * javax/swing/JRadioButton.java
1185 (JRadioButton): New constructors.
1186 * javax/swing/JTextField.java
1187 (JTextField): Throw exception if colums < 0, initialitialz
1188 this.columns directly and initialize document with text conditionally.
1189
1190 2004-08-31 Michael Koch <konqueror@gmx.de>
1191
1192 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1193 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1194 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1195 * javax/swing/text/FieldView.java
1196 (paint): Just call super method for now.
1197 * Makefile.am: Added new files.
1198 * Makefile.in: Regenerated.
1199
1200 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1201
1202 * javax/swing/AbstractSpinnerModel.java,
1203 javax/swing/JSpinner.java,
1204 javax/swing/SpinnerNumberModel.java,
1205 javax/swing/plaf/basic/BasicSpinnerUI.java:
1206 New files.
1207 * javax/swing/plaf/basic/BasicLookAndFeel.java
1208 (initClassDefaults): Added defaults for BasicSpinnerUI.
1209
1210 2004-08-31 Michael Koch <konqueror@gmx.de>
1211
1212 * Makefile.am: Added new files.
1213 * Makefile.in: Regenerated.
1214
1215 2004-08-31 Michael Koch <konqueror@gmx.de>
1216
1217 * javax/swing/TransferHandler.java,
1218 javax/swing/plaf/basic/ComboPopup.java: New files
1219 * Makefile.am: Added javax/swing/TransferHandler.java and
1220 javax/swing/plaf/basic/ComboPopup.java
1221 * Makefile.in: Regenerated.
1222
1223 2004-08-31 Roman Kennke <roman@ontographics.com>
1224
1225 * javax/swing/text/Utilities.java: New file.
1226
1227 2004-08-31 Michael Koch <konqueror@gmx.de>
1228
1229 * Makefile.am: Added javax/swing/text/Utilities.java.
1230 * Makefile.in: Regenerated.
1231
1232 2004-08-31 Graydon Hoare <graydon@redhat.com>
1233
1234 * javax/swing/text/SimpleAttributeSet.java: New file.
1235 * javax/swing/text/StyleConstants.java: New file.
1236 * javax/swing/text/StyleContext.java: New file.
1237 * javax/swing/text/TabSet.java: New file.
1238 * javax/swing/text/TabStop.java: New file.
1239 * javax/swing/text/AbstactDocument.java:
1240 (AbstractElement): Implement attribute support.
1241 * javax/swing/text/AttributeSet.java
1242 (NameAttribute): New static field.
1243 (ResolveAttribute): New static field.
1244 * Makefile.am: Update for new files.
1245 * Makefile.in: Regenerate.
1246
1247 2004-08-31 Craig Black <craig.black@aonix.com>
1248
1249 * gnu/java/awt/peer/gtk/GdkGraphics.java
1250 (drawImage): Add support for scaling pixmaps.
1251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1252 (copyAndScalePixmap): New native method.
1253
1254 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1255
1256 PR AWT/16121
1257 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1258 type-punning compiler warnings using unions.
1259 (throw): Replace bzero with memset.
1260
1261 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1262 Thomas Fitzsimmons <fitzsim@redhat.com>
1263
1264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1265 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1266 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1268 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1269
1270 2004-08-31 Mark Wielaard <mark@klomp.org>
1271
1272 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1273 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1274 and stdlib.h, not gtkpeer.h.
1275 (*vm): New static variable.
1276 (areaPreparedID): Make static.
1277 (areaUpdatedID): Likewise.
1278 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1279 (area_prepared): Likewise.
1280 (area_updated): Likewise.
1281 (closed): Likewise.
1282 (initStaticState): Initialize *vm javaVM.
1283 (pumpBytes): Use given env, not global gdk_env.
1284
1285 2004-08-31 Mark Wielaard <mark@klomp.org>
1286
1287 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1288 comments.
1289
1290 2004-08-31 Sven de Marothy <sven@physto.se>
1291
1292 * java/awt/geom/CubicCurve2D.java: Reindent.
1293 (contains): Implemented.
1294 (intersects): Implemented.
1295 * java/awt/geom/QuadCurve2D.java: Likewise.
1296 * java/awt/geom/GeneralPath.java: Reindent and document.
1297 Fully (re)implemented using separate xpoints and ypoints
1298 float[] coords.
1299 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1300
1301 2004-08-31 Michael Koch <konqueror@gmx.de>
1302
1303 * javax/swing/JMenuItem.java
1304 (getMenuDragMouseListeners): New method.
1305 (getMenuKeyListeners): Likewise.
1306
1307 2004-08-31 Michael Koch <konqueror@gmx.de>
1308
1309 * javax/swing/AbstractButton.java
1310 (model): Made protected.
1311 (actionListener): Likewise.
1312 (changeListener): Likewise.
1313 (itemListener): Likewise.
1314 (multiClickThreshhold): New field.
1315 (getActionListeners): New method.
1316 (getChangeListeners): Likewise.
1317 (getItemListeners): Likewise.
1318 (fireItemStateChanged): Simplified implementation.
1319 (fireActionPerformed): Likewise.
1320 (fireStateChanged): Likewise.
1321 (getMultiClickThreshhold): New method.
1322 (setMultiClickThreshhold): Likewise.
1323
1324 2004-08-31 Tom Tromey <tromey@redhat.com>
1325
1326 * java/awt/image/Kernel.java (clone): Use super.clone().
1327
1328 2004-08-31 David Jee <djee@redhat.com>
1329
1330 PR AWT/16682
1331 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1332 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1333 (nativeSetIconImageFromData): New native method declaration.
1334 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1335 * gnu/java/awt/peer/gtk/GtkImage.java
1336 (getPixelCache): New method.
1337 (getColorModel): New method.
1338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1339 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1340 (free_pixbuf_data): New helper function.
1341 (nativeSetIconImageFromData): New function.
1342
1343 2004-08-31 Graydon Hoare <graydon@redhat.com>
1344
1345 PR SWING/16576
1346 * javax/swing/JLayeredPane.java
1347 (setLayer): Permit changing layer after addition.
1348 (setPosition): Permit over-length positions.
1349 (layerToRange): Compare intValue()s.
1350 * javax/swing/Box.java (createHorizontalBox): Implement.
1351 (createRigidArea): Likewise.
1352 (createVerticalBox): Likewise.
1353
1354 2004-08-31 Kim Ho <kho@redhat.com>
1355
1356 * java/awt/Component.java:
1357 (processMouseEvent): Consume event after
1358 listeners process it.
1359 (processMouseMotionEvent): ditto.
1360 (processMouseWheelEvent): ditto.
1361 * java/awt/Container.java:
1362 (acquireComponentForMouseEvent):
1363 Do not dispatch to events that have been
1364 removed from the Container.
1365 (handleEvent): Consume the MouseEvents.
1366 * javax/swing/RepaintManager.java:
1367 (paintDirtyRegions): Do not add to list of
1368 damaged areas if the component has no root.
1369
1370 2004-08-31 Michael Koch <konqueror@gmx.de>
1371
1372 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1373
1374 2004-08-31 Mark Wielaard <mark@klomp.org>
1375
1376 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1377 null when a MissingResourceException is thrown. Should never happen.
1378
1379 2004-08-31 Mark Wielaard <mark@klomp.org>
1380
1381 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1382 when argument is null.
1383
1384 2004-08-31 Mark Wielaard <mark@klomp.org>
1385
1386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1387 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1388 Define hid at start of function.
1389 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1390 Likewise.
1391
1392 2004-08-31 Mark Wielaard <mark@klomp.org>
1393
1394 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1395 * javax/swing/JButton.java: Reindent.
1396 * javax/swing/JCheckBox.java: Reindent.
1397
1398 2004-08-31 Mark Wielaard <mark@klomp.org>
1399
1400 * Makefile.am (gtk_c_source_files): Added
1401 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1402 (gtk_awt_peer_sources): Added
1403 gnu/java/awt/peer/gtk/GThreadMutex.java and
1404 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1405 * Makefile.in: Regenerated.
1406
1407 2004-08-31 Archie Cobbs <archie@dellroad.org>
1408
1409 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1410
1411 2004-08-31 Steven Augart <augart@watson.ibm.com>
1412
1413 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1414 Added jfieldID, jmethodID.
1415
1416 2004-08-31 Mark Wielaard <mark@klomp.org>
1417
1418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1419 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1420 gdk_env before calling any gdk or gtk function.
1421
1422 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1423 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1424 (run): Set gtkInitCalled.
1425
1426 2004-08-31 Steven Augart <augart@watson.ibm.com>
1427
1428 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1429 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1430
1431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1432 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1433 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1434 init_glib_threads.
1435 (init_glib_threads): New function.
1436
1437 2004-08-31 Mark Wielaard <mark@klomp.org>
1438
1439 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1440 PRIORITY when not already defined in header file.
1441
1442 2004-08-31 Mark Wielaard <mark@klomp.org>
1443
1444 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1445 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1446
1447 2004-08-31 Steven Augart <augart@watson.ibm.com>
1448
1449 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1450 Implemented missing functions for GTK2.
1451 Added error handling.
1452 Renamed static functions out of the g_ namespace.
1453 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1454 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1455 Rewrote global-reference code.
1456 Eliminated cascading errors.
1457 (mutex_trylock_jni_impl) Fully implemented.
1458 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1459 resolution.
1460 (setup_cache) New function.
1461 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1462 bug where they were not unlocking the GMutex associated with the
1463 condition variable during the wait on that condition variable.
1464
1465 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1466 native/jni/gtk-peer/gthread-jni.c,
1467 native/jni/gtk-peer/gthread-jni.h
1468 (g_thread_jni_functions): Renamed to ...
1469 (portable_native_sync_jni_functions): this name.
1470 (gdk_vm): Renamed to...
1471 (the_vm): this name.
1472
1473 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1474 (gdk_vm): Removed duplicate definition.
1475 (gtkInit): Removed stray message to stdout.
1476 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1477 (gtkInit): Fix a const assignment bug.
1478 (gtkInit): Simplified code.
1479
1480 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1481 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1482 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1483 gnu/java/awt/peer/gtk/GThreadMutex.java:
1484 New files.
1485
1486 2004-08-31 Mark Wielaard <mark@klomp.org>
1487
1488 * javax/swing/Box.java: Put FIXME comment above class declaration.
1489 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1490 * javax/swing/JCheckBox.java: Likewise.
1491 * javax/swing/JDialog.java: Likewise.
1492 * javax/swing/JRadioButton.java: Likewise.
1493 * javax/swing/JToggleButton.java: Likewise.
1494 * javax/swing/UIManager.java: Likewise.
1495 * javax/swing/border/TitledBorder.java: Likewise.
1496 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1497 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1498 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1499 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1500 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1501 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1502 * javax/swing/text/JTextComponent.java: Likewise.
1503
1504 2004-08-31 David Jee <djee@redhat.com>
1505
1506 PR AWT/16682
1507 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1508 (setIconImage): Add a FIXME for unhandled cases.
1509
1510 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1511
1512 PR AWT/16040
1513 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1514 getModifiers. Replace old button masks with new ones.
1515 * gnu/awt/xlib/XEventLoop.java: Likewise.
1516 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1517 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1518 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1519 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1520 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1521 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1522 * java/awt/Component.java: Replace old modifier masks with new
1523 ones.
1524 * java/awt/Container.java: Call getModifiersEx, not
1525 getModifiers.
1526 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1527 old modifier masks.
1528 * javax/swing/JMenuItem.java: Replace old button masks with new
1529 ones.
1530 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1531 getModifiers.
1532 * javax/swing/SwingUtilities.java: Likewise.
1533 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1534 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1536 mask macros with new ones.
1537 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1538 macros with new ones representing new masks.
1539
1540 2004-08-31 Craig Black <craig.black@aonix.com>
1541
1542 * gnu/java/awt/peer/gtk/GdkGraphics.java
1543 (drawRoundRect): Implemented.
1544 (fillRoundRect): Implemented.
1545 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1546 (drawRoundRect): Reimplemented to match GdkGraphics.
1547 (fillRoundRect): Reimplemented to match GdkGraphics.
1548
1549 2004-08-31 Mark Wielaard <mark@klomp.org>
1550
1551 * Makefile.in: Regenerated.
1552
1553 2004-08-31 Michael Koch <konqueror@gmx.de>
1554
1555 * gnu/java/awt/EmbeddedWindow.java
1556 (addNotify): Use AccessController to allow execution of privileged
1557 code.
1558
1559 2004-08-31 Michael Koch <konqueror@gmx.de>
1560
1561 * gnu/java/awt/EmbeddedWindow.java
1562 (static): Removed.
1563 (addNotify): Set peer via reflection.
1564 (setWindowPeer): Removed.
1565 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1566 * Makefile.am (nat_source_files):
1567 Removed gnu/java/awt/natEmbeddedWindow.cc.
1568
1569 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1570
1571 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1572 and gnu/java/security/action/SetAccessibleAction.java.
1573
1574 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1575
1576 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1577 Renamed from 'setName'. New 2-argument form with default value.
1578 (run): Pass default 'value' parameter to System.getProperty().
1579 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1580 typos.
1581
1582 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1583
1584 * gnu/java/security/action/GetPropertyAction.java: New class.
1585 * gnu/java/security/action/SetAccessibleAction.java: New class.
1586
1587 2004-08-31 David Jee <djee@redhat.com>
1588
1589 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1590 (setIconImage): Check if image is null.
1591
1592 2004-08-31 David Jee <djee@redhat.com>
1593
1594 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1595 (create): Set the icon image.
1596 (nativeSetIconImage): New native method declaration.
1597 (setIconImage): Implement.
1598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1599 (nativeSetIconImage): New function.
1600
1601 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1602
1603 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1604 (filenameFilterCallback): Declare local variable accepted before use.
1605
1606 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1607
1608 * gnu/java/awt/ComponentDataBlitOp.java:
1609 Cleaned up imports.
1610
1611 2004-08-31 Tom Tromey <tromey@redhat.com>
1612
1613 * gnu/java/awt/peer/GLightweightPeer.java,
1614 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1615 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1616 javax/swing/JScrollPane.java: Removed
1617 redundant imports.
1618
1619 2004-08-31 David Jee <djee@redhat.com>
1620
1621 * java/awt/DefaultKeyboardFocusManager.java
1622 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1623 event. Fix shift modifier checking.
1624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1625 (accel_attach): Remove.
1626 (setupAccelGroup): Remove calls to accel_attach.
1627
1628 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1629
1630 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1631 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1632
1633 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1634 GtkArgList.java.
1635 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1636 * Makefile.in: Regenerate.
1637 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1638 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1639 (create(String)): New method.
1640 (create): Call new create method.
1641 (getArgs): Remove method.
1642 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1643 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1644 (nativeCreate): Rename to create.
1645 (gtkSetLabel): Rename to gtkButtonSetLabel.
1646 (gtkToggleButtonSetActive): New method.
1647 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1648 (setState): Replace set call with gtkToggleButtonSetActive.
1649 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1650 (getArgs): Remove method.
1651 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1652 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1653 (gtkWidgetSetSensitive): New method.
1654 (gtkWidgetSetParent): Likewise.
1655 (GtkComponentPeer): Call setParent, setComponentBounds and
1656 setVisibleAndEnabled.
1657 (setParent): New method.
1658 (setComponentBounds): New method.
1659 (setVisibleAndEnabled): New method.
1660 (setEnabled): Call gtkWidgetSetSensitive.
1661 (getArgs): Remove method.
1662 Remove all set methods.
1663 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1664 gtkWindowSetModal, setTitle and setResizable.
1665 (getArgs): Remove method.
1666 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1667 (setComponentBounds): New method.
1668 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1669 Replace set call with gtkWindowSetResizable.
1670 (getArgs): Remove method.
1671 (create): Call setTitle and setResizable.
1672 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1673 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1674 (gtkWindowSetTitle): New method.
1675 (gtkWindowSetResizable): New method.
1676 (gtkWindowSetModal): New method.
1677 (setParent): New method.
1678 (setVisibleAndEnabled): New method.
1679 (getArgs): Remove method.
1680 (setTitle): Call gtkWindowSetTitle.
1681 (setResizable): Call gtkWindowSetResizable.
1682 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1683 and off locking instrumentation.
1684
1685 2004-08-31 Kim Ho <kho@redhat.com>
1686
1687 * Makefile.am: Add new file.
1688 * Makefile.in: Regenerate.
1689 * gcj/Makefile.in: Regenerate
1690 * include/Makefile.in:
1691 * java/awt/Container.java:
1692 (acquireComponentForMouseEvent): Respect
1693 the event mask when looking for candidate.
1694 * javax/swing/JComponent.java:
1695 Remove toolTip field.
1696 (createToolTip): Create a tooltip on demand.
1697 (setToolTipText): Register with the ToolTipManager.
1698 (getToolTipText(MouseEvent)): Return getToolTipText().
1699 * javax/swing/JToolTip.java: Implement.
1700 * javax/swing/Timer.java: Jalopy.
1701 (restart): Call stop, then start.
1702 (stop): Interrupt the timer rather than wait for
1703 the timer to come to a stop naturally.
1704 * javax/swing/ToolTipManager.java: Implement.
1705 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1706 Change ToolTip.background color.
1707 * javax/swing/plaf/basic/BasicToolTipUI.java:
1708 Implement.
1709 * testsuite/Makefile.in: Regenerate
1710
1711 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1712
1713 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1714 constructor param comments.
1715
1716 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1717
1718 * java/awt/Component.java: Document AWT 1.0 event handler
1719 methods.
1720
1721 2004-08-31 Roman Kennke <roman@ontographics.com>
1722
1723 * javax/swing/Box.java:
1724 (createGlue): Implemented
1725 (createHorizontalGlue): Implemented
1726 (createHorizontalStrut): Implemented
1727 (createVerticalGlue): Implemented
1728 (createVerticalStrut): Implemented
1729
1730 2004-08-31 David Jee <djee@redhat.com>
1731
1732 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1733 (GtkChoicePeer): Do not automatically select first item.
1734 (getHistory): Remove.
1735 (nativeGetSelected): New method.
1736 (nativeRemoveAll): New method.
1737 (add): Use nativeGetSelected() instead of getHistory().
1738 (remove): Likewise.
1739 (removeAll): Call nativeRemoveAll().
1740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1741 (create): Migrate to GtkComboBox.
1742 (append): Likewise.
1743 (nativeAdd): Likewise.
1744 (nativeRemove): Likewise.
1745 (select): Likewise.
1746 (nativeRemoveAll): New method.
1747 (nativeGetSelected): New method.
1748 (selection_changed): New method.
1749 (getHistory): Remove.
1750 (item_activate): Remove.
1751 (item_removed): Remove.
1752 (connect_choice_item_selectable_hook): Remove.
1753
1754 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1755
1756 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1757 variable in setEditable call.
1758
1759 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1760 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1761 (gtkWidgetSetBackground): New method.
1762 (gtkWidgetSetForeground): Likewise.
1763 (create): Set peer's editable state based on awtComponent's.
1764
1765 * java/awt/Button.java (Button()): Use empty string rather than
1766 null in no-label constructor.
1767
1768 2004-08-31 Roman Kennke <roman@ontographics.com>
1769
1770 * javax/swing/BoxLayout.java: Reimplement.
1771
1772 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1773
1774 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1775 gnu_java_awt_peer_gtk_GdkGraphics.c
1776 (initState(GtkComponentPeer)): Don't return array of colour
1777 values.
1778 (GdkGraphics(int,int)): Set default font to size 12.
1779 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1780 component's foreground colour.
1781 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1782 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1783 (initState(GtkComponentPeer)): Don't return array of colour
1784 values.
1785 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1786 colours to component's colours.
1787 (current_colors_of_widget): Remove function.
1788 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1789 Return a new graphics object.
1790 * java/awt/Font.java (toString): Fix format.
1791 * java/awt/Graphics.java (toString): Likewise.
1792
1793 2004-08-31 Craig Black <craig.black@aonix.com>
1794
1795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1796 (addTearOff): New function.
1797 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1798 New native method.
1799 (init): Call addTearOff() when menu.isTearOff().
1800
1801 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1802
1803 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1804 Default implementation.
1805 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1806 Implement using GdkPixbufDecoder.
1807
1808 2004-08-31 David Jee <djee@redhat.com>
1809
1810 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1811 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1812 setting the size of GtkFileDialogPeers.
1813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1814 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1815 use their default sizes rather than their natural requisitions.
1816
1817 2004-08-31 Michael Koch <konqueror@gmx.de>
1818
1819 * javax/swing/JFormattedTextField.java
1820 (JFormattedTextField): Implemented.
1821 * javax/swing/text/DefaultEditorKit.java
1822 (BeepAction): New inner class.
1823 * javax/swing/text/Segment.java
1824 (partialReturn): New field.
1825 (setPartialReturn): New method.
1826 (isPartialReturn): Likewise.
1827 * javax/swing/text/View.java
1828 (createFragment): Fixed typo.
1829 (getStartOffset): New method.
1830 (getEndOffset): Likewise.
1831
1832 2004-08-31 Michael Koch <konqueror@gmx.de>
1833
1834 * javax/swing/table/DefaultTableColumnModel.java
1835 (serialVersionUID): Made private.
1836 (listenerList): Initialize.
1837 (changeEvent): Initialize.
1838 * javax/swing/table/JTableHeader.java
1839 (JTableHeader): New constructors.
1840 (createDefaultColumnModel): New method.
1841 * javax/swing/table/TableColumn.java
1842 (setHeaderRenderer): Simplified code.
1843 (setCellRenderer): Likewise.
1844 (setWidth): Likewise.
1845
1846 2004-08-31 Tom Tromey <tromey@redhat.com>
1847
1848 * java/text/AttributedString.java (AttributedString): Use
1849 ArrayList to build array of attribute ranges. Don't use
1850 `attribs' before it is set.
1851
1852 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1853
1854 * HACKING: Remove reference to special automake. No longer needed.
1855
1856 2004-08-30 Tom Tromey <tromey@redhat.com>
1857
1858 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1859 return result from `add'.
1860
1861 2004-08-30 Tom Tromey <tromey@redhat.com>
1862
1863 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1864
1865 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1866
1867 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1868
1869 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1870
1871 * java/io/File.java File(String,String): Fixed handling of empty
1872 path.
1873
1874 2004-08-30 Casey Marshall <csm@gnu.org>
1875
1876 Author e-mail updated for all files.
1877 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1878 instance of OID.
1879 (compareTo): Use `equals'.
1880 * gnu/java/security/der/BitString.java (equals): Test if the
1881 argument is an instance of BitString.
1882 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1883 class final. Made fields private.
1884 (<init>): New constructor.
1885 (skip): New method.
1886 (makeString): Made static; don't use NIO.
1887 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1888 * gnu/java/security/der/DERWriter.java: Fixed imports.
1889 (writeString): Don't use NIO.
1890 (toIso88591, toUtf16Be, toUtf8): New methods.
1891 * gnu/java/security/der/DERValue.java: Formatting changes only.
1892 * gnu/java/security/der/DER.java: Likewise.
1893
1894 2004-08-30 Tom Tromey <tromey@redhat.com>
1895
1896 * java/nio/CharBuffer.java (put): Fix typo.
1897 * java/nio/DoubleBuffer.java (put): Fix typo.
1898 * java/nio/FloatBuffer.java (put): Fix typo.
1899 * java/nio/IntBuffer.java (put): Fix typo.
1900 * java/nio/LongBuffer.java (put): Fix typo.
1901 * java/nio/ShortBuffer.java (put): Fix typo.
1902
1903 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
1904
1905 * java/nio/ByteBuffer.java (put): Fix typo.
1906
1907 2004-08-30 Casey Marshall <csm@gnu.org>
1908
1909 * java/security/DummyKeyPairGenerator.java (clone): Removed
1910 useless instanceof check.
1911 * java/security/DummyMessageDigest.java (clone): Likewise.
1912 * java/security/DummySignature.java (clone): Likewise.
1913 * java/security/MessageDigest.java (clone): Remove useless
1914 instanceof check.
1915 * java/security/MessageDigestSpi.java (clone): Likewise.
1916 * java/security/Signature.java (clone): Provide meaningful
1917 implementation.
1918 * java/security/SignatureSpi.java (clone): Likewise.
1919
1920 2004-08-29 Mark Wielaard <mark@klomp.org>
1921
1922 * java/util/Arrays.java
1923 (sort(byte[], int, int)): Check fromIndex < 0.
1924 (sort(char[], int, int)): Likewise.
1925 (sort(short[], int, int)): Likewise.
1926 (sort(int[], int, int)): Likewise.
1927 (sort(long[], int, int)): Likewise.
1928 (sort(float[], int, int)): Likewise.
1929 (sort(double[], int, int)): Likewise.
1930 (sort(Object[], int, int, Comparator)): Likewise.
1931 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1932 (qsort(char[], int, int)): Likewise.
1933 (qsort(short[], int, int)): Likewise.
1934 (qsort(int[], int, int)): Likewise.
1935 (qsort(long[], int, int)): Likewise.
1936 (qsort(float[], int, int)): Likewise.
1937 (qsort(double[], int, int)): Likewise.
1938
1939 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1940
1941 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1942 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1943 java/util/ArrayList.java, java/util/Arrays.java,
1944 java/util/BitSet.java, java/util/Calendar.java,
1945 java/util/Collection.java, java/util/ListIterator.java,
1946 java/util/Map.java, java/util/SortedSet.java:
1947 Added additional exceptions to documentation, along
1948 with some additions and corrections.
1949
1950 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1951
1952 * configure.ac: Handle --enable-gc-debug.
1953 * configure: Regenerate.
1954 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1955 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1956 Rearrange include file order.
1957 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1958 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1959 (disable_gc_mutex): Delete along with all references.
1960 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1961 adjust for debug header size.
1962 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1963 debug case.
1964 (_Jv_AllocArray): Declare min_heap_addr only if needed.
1965 (gcj_describe_type_fn): New.
1966 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1967 Register gcj_describe_type_fn.
1968 * include/boehm-gc.h:
1969 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1970 Don't define, but declare, for debug case.
1971 * java/lang/natObject.cc:
1972 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1973
1974 2004-08-26 Mark Wielaard <mark@klomp.org>
1975
1976 Fixes PR libgcj/17002:
1977 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
1978 a TimeZoneId string and then try to convert that to a TimeZone with
1979 getDefaultSystemTimeZone(String).
1980 (timezones0): Changed type from Hashtable to HashMap.
1981 (timezones): Create HashMap, not Hashtable.
1982 (getDefaultTimeZone): New method, rewritten from CNI version.
1983 (readTimeZoneFile): New method.
1984 (readtzFile): Likewise.
1985 (skipFully): Likewise.
1986 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
1987 getDefaultTimeZoneId and rewritten.
1988 (getDefaultTimeZoneId): Rewritten in java.
1989
1990 2004-08-25 David Daney <daney@avtrex.com>
1991
1992 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
1993 * Makefile.in: Regenerated.
1994
1995 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1996
1997 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
1998 only if jvmpi is enabled.
1999 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2000 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2001 (_Jv_AllocString): Likewise.
2002 (_Jv_AllocPtrFreeObject): Likewise.
2003
2004 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2005
2006 * defineclass.cc: Include <stdio.h>.
2007 * java/lang/natClassLoader.cc: Include <stdio.h>.
2008
2009 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2010 Michael Koch <konqueror@gmx.de>
2011
2012 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2013 * Makefile.in: Regenerated.
2014
2015 2004-08-20 Michael Koch <konqueror@gmx.de>
2016
2017 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2018 AC_COMPILE_IFELSE macros.
2019
2020 2004-08-20 Michael Koch <konqueror@gmx.de>
2021
2022 * configure.in: Renamed to configure.ac.
2023 * configure.ac: New file.
2024 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2025 include/config.h.in, testsuite/Makefile.in: Regenerated.
2026
2027 2004-08-20 Michael Koch <konqueror@gmx.de>
2028
2029 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2030 * aclocal.m4, configure: Regenerated.
2031
2032 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2033 Michael Koch <konqueror@gmx.de>
2034
2035 * configure.in, Makefile.am: Ported to automake 1.9.
2036 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2037 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2038 Regenerated.
2039
2040 2004-08-19 Tom Tromey <tromey@redhat.com>
2041
2042 * java/net/DatagramSocket.java: Fixed typo.
2043
2044 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2045
2046 PR libgcj/17081
2047 * java/net/URI.java (string): New field. Make all other fields
2048 transient.
2049 (readObject): Implemented.
2050 (writeObject): Implemented.
2051 (URI): Set 'string'.
2052
2053 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2054
2055 PR libgcj/17079
2056 * java/util/logging/Handler.java (isLoggable): Accept record if its
2057 log level equals the threshold level. From Robin Green.
2058
2059 2004-08-18 David Daney <ddaney@avtrex.com>
2060
2061 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2062 instead of sigwait.
2063
2064 2004-08-17 Michael Koch <konqueror@gmx.de>
2065
2066 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2067 * Makefile.in: Regenerated.
2068
2069 2004-08-16 Tom Tromey <tromey@redhat.com>
2070
2071 PR java/8473:
2072 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2073
2074 2004-08-16 Michael Koch <konqueror@gmx.de>
2075
2076 * Makefile.am
2077 (math_c_files): Renamed from c_files.
2078 (math_c_source_files): Renamed from c_source_files.
2079 * Makefile.in,
2080 gcj/Makefile.in,
2081 include/Makefile.in,
2082 testsuite/Makefile.in: Regenerated.
2083
2084 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2085
2086 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2087 to avoid autoconf warning.
2088 * configure: Rebuilt.
2089
2090 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2091
2092 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2093 localhostAddress to loopbackAddress.
2094 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2095
2096 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2097
2098 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2099 boehm-gc's include dirs.
2100 * configure: Rebuilt.
2101 * include/boehm-gc.h: Include gc_config.h.
2102
2103 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2104
2105 * java/net/InetAddress.java (loopbackAddress): Renamed from
2106 localhostAddress.
2107 (getByName): Return loopback address for null hostname, without
2108 security check. Use lookup(), not getAllByName.
2109 (getAllByName): Return loopback address for null hostname, without
2110 security check.
2111 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2112 check here.
2113
2114 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2115
2116 PR libgcj/17020
2117 Reported by Robin Green.
2118 * defineclass.cc (handleField): Don't throw exception on unrecognised
2119 modifier. Add FIXME comments for spec compliance.
2120 (handleMethod): Likewise.
2121
2122 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2123
2124 PR libgcj/16662
2125 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2126 (Almost everywhere): add LOG calls, fix, add comments.
2127 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2128 Add explicit check for LOCKED bit in slow case (PR 16662).
2129 (_Jv_MonitorExit): Add casts in debug-only code.
2130 Always release LOCKED bit before throwing exception.
2131 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2132 isn't. Handle easy cases without lock acquisition.
2133 (Object::wait): Use NotifyAll for lock inflation.
2134
2135 2004-08-12 David Daney <ddaney@avtrex.com>
2136
2137 * testsuite/libjava.lang/Process_1.java: New test.
2138 * testsuite/libjava.lang/Process_2.java: New test.
2139 * testsuite/libjava.lang/Process_3.java: New test.
2140 * testsuite/libjava.lang/Process_4.java: New test.
2141 * testsuite/libjava.lang/Process_5.java: New test.
2142 * testsuite/libjava.lang/Process_6.java: New test.
2143 * testsuite/libjava.lang/Process_1.out: Expected result.
2144 * testsuite/libjava.lang/Process_2.out: Expected result.
2145 * testsuite/libjava.lang/Process_3.out: Expected result.
2146 * testsuite/libjava.lang/Process_4.out: Expected result.
2147 * testsuite/libjava.lang/Process_5.out: Expected result.
2148 * testsuite/libjava.lang/Process_6.out: Expected result.
2149
2150 2004-08-12 David Daney <ddaney@avtrex.com>
2151
2152 PR libgcj/11801
2153 * java/lang/PosixProcess.java: Rewrote.
2154 * java/lang/natPosixProcess.cc: Rewrote.
2155 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2156 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2157 * posix-threads.cc (block_sigchld) New function.
2158 (_Jv_ThreadRegister) Use it.
2159 (_Jv_ThreadStart) Use it.
2160 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2161 * Makefile.am: ... to specify extra native headers.
2162 * configure: Regenerated.
2163 * include/config.h: Regenerated.
2164 * Makefile.in: Regenerated.
2165 * gcj/Makefile.in: Regenerated.
2166 * include/Makefile.in: Regenerated.
2167 * testsuite/Makefile.in: Regenerated.
2168
2169 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2170
2171 PR tree-optimization/16867
2172 * testsuite/libjava.lang/PR16867.java: New test.
2173
2174 2004-08-09 Per Bothner <per@bothner.com>
2175
2176 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2177 with private fields and access methods.
2178 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2179 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2180 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2181 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2182 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2183 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2184 * jni.cc: Likewise.
2185 * resolve.cc: Likewise.
2186 * gcj/field.h: Likewise.
2187 * include/jvm.h: Likewise.
2188 * java/lang/Class.h: Likewise.
2189 * java/lang/natClass.cc: Likwise.
2190 * java/lang/natClassLoader.cc: Likewise
2191 * java/lang/reflect/natMethod.cc: Likewise
2192 * verify.cc: Likewise.
2193 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2194 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2195
2196 2004-08-10 Andrew Haley <aph@redhat.com>
2197
2198 * testsuite/libjava.lang/err14.java: New file.
2199 * testsuite/libjava.lang/err14.out: New file.
2200
2201 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2202
2203 * Makefile.am: Fix missing rename from x_nat_headers to
2204 xlib_nat_headers.
2205 * Makefile.in: Regenerated.
2206
2207 2004-08-04 Andrew Haley <aph@redhat.com>
2208
2209 * java/security/BasicPermission.java: Don't check wildcards.
2210
2211 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2212 Michael Koch <konqueror@gmx.de>
2213
2214 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2215 * configure.in: Replaced all usages of AC_LINK_FILES by
2216 AC_CONFIG_LINKS.
2217 * aclocal.m4,
2218 configure: Regenerated.
2219
2220 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2221 Michael Koch <konqueror@gmx.de>
2222
2223 * acconfig.h: Removed.
2224 * Makefile.am: Rename variables for xlib peer to include xlib and
2225 gtk_c_headers to gtk_jni_headers.
2226 * Makefile.in: Regenerated.
2227
2228 2004-08-04 Andrew Haley <aph@redhat.com>
2229
2230 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2231 debugging.
2232
2233 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2234
2235 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2236 Replace most top level 'dnl' comments with '#' comments, conforming
2237 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2238 help strings.
2239 * configure: Rebuilt.
2240
2241 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2242
2243 * acinclude.m4: Include no-executables.m4.
2244 * aclocal.m4: Rebuild.
2245 * configure.in: Convert to the autoconf 2.59 version of
2246 of the no-executables hack, and also of the nonstandard CXX
2247 hack and the multilibbed CC and CXX hack. Change prerequisite
2248 to autoconf 2.59.
2249 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2250 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2251 testsuite/Makefile.in: Regenerate.
2252
2253 2004-08-03 Tom Tromey <tromey@redhat.com>
2254
2255 * jni.cc: Reindented.
2256
2257 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2258
2259 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2260
2261 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2262
2263 * testsuite/libjava.compile/PR16701.java: New test.
2264
2265 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2266
2267 * java/util/Collection.java, java/util/List.java,
2268 java/util/Map.java, java/util/Set.java,
2269 java/util/SortedMap.java, java/util/SortedSet.java:
2270 Added additional exceptions to documentation.
2271
2272 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2273
2274 PR libgcj/16814
2275 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2276 * configure. Regenerate.
2277 * include/win32.h: Explicitly include winsock2.h
2278 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2279 Winsock api.
2280
2281 2004-07-30 Michael Koch <konqueror@gmx.de>
2282
2283 * java/util/zip/GZIPInputStream.java
2284 (GZIPInputStream): Increase buffer size to 4k.
2285 * java/util/zip/GZIPOutputStream.java
2286 (GZIPOutputStream): Likewise.
2287 * java/util/zip/Inflater.java
2288 (setInput): Merged formating with GNU classpath.
2289 * java/util/zip/InflaterInputStream.java
2290 (InflaterInputStream): Increase buffer size to 4k.
2291 (fill): Throw exception if stream ends early.
2292 (read): Merged endless-loop with GNU classpath.
2293 (skip): Increase buffer size to 2k.
2294
2295 2004-07-30 Michael Koch <konqueror@gmx.de>
2296
2297 * gnu/java/awt/EmbeddedWindow.java
2298 (addNotify): Use AccessController to allow execution of privileged
2299 code.
2300
2301 2004-07-29 Michael Koch <konqueror@gmx.de>
2302
2303 * gnu/java/lang/MainThread.java:
2304 Explicitely import used classes.
2305 (args): Make it type String[].
2306
2307 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2308
2309 * gnu/java/awt/ComponentDataBlitOp.java,
2310 gnu/java/beans/ExplicitBeanInfo.java,
2311 gnu/java/beans/IntrospectionIncubator.java,
2312 gnu/java/beans/editors/ColorEditor.java,
2313 gnu/java/beans/editors/FontEditor.java,
2314 gnu/java/beans/editors/NativeBooleanEditor.java,
2315 gnu/java/beans/editors/NativeByteEditor.java,
2316 gnu/java/beans/editors/NativeDoubleEditor.java,
2317 gnu/java/beans/editors/NativeFloatEditor.java,
2318 gnu/java/beans/editors/NativeIntEditor.java,
2319 gnu/java/beans/editors/NativeLongEditor.java,
2320 gnu/java/beans/editors/NativeShortEditor.java,
2321 gnu/java/beans/editors/StringEditor.java,
2322 gnu/java/io/ClassLoaderObjectInputStream.java,
2323 gnu/java/io/decode/Decoder.java,
2324 gnu/java/io/encode/Encoder.java,
2325 gnu/java/lang/ClassHelper.java,
2326 gnu/java/locale/Calendar.java,
2327 gnu/java/locale/Calendar_de.java,
2328 gnu/java/locale/Calendar_en.java,
2329 gnu/java/locale/Calendar_nl.java,
2330 gnu/java/locale/LocaleInformation_de.java,
2331 gnu/java/locale/LocaleInformation_en.java,
2332 gnu/java/locale/LocaleInformation_nl.java:
2333 Cleaned up imports.
2334
2335 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2336
2337 * README: Remove obsolete info. Update bug URL.
2338 * THANKS: Updated.
2339 * NEWS: Updated with news up to GCC 3.4 release.
2340
2341 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2342
2343 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2344 Renamed from 'setName'. New 2-argument form with default value.
2345 (run): Pass default 'value' parameter to System.getProperty().
2346 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2347 typos.
2348 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2349 not 'setName'.
2350
2351 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2352
2353 * configure.in: Check for minimum GTK version 2.4 requirement.
2354 * configure: Rebuilt.
2355
2356 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2357
2358 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2359 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2360 Reduce sleep time.
2361 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2362 compiler bug.
2363 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2364 address. Reduce sleep times. Synchronize with target threads before
2365 attempting to interrupt them. Don't try to calibrate yeild count,
2366 instead, always loop for a fixed time.
2367 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2368 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2369 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2370 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2371 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2372 * testsuite/libjava.lang/pr179.java: Likewise.
2373 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2374 time. Remove upper bounds check on sleep time.
2375
2376 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2377
2378 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2379 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2380
2381 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2382
2383 * java/io/File.java (toURI): Throw RuntimeException, not
2384 InternalError.
2385 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2386 class name, not instance.
2387
2388 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2389
2390 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2391 and gnu/java/security/action/SetAccessibleAction.java.
2392 * Makefile.in: Rebuilt.
2393
2394 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2395
2396 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2397 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2398 _Jv_InitPrimClass.
2399 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2400 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2401 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2402
2403 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2404
2405 * Makefile.am: Replace jar, rmic and rmiregistry references with
2406 gjar, grmic and grmiregistry.
2407 * configure.in: Likewise.
2408 * Makefile.in: Regenerate.
2409 * configure: Likewise.
2410 * gcj/Makefile.in: Likewise.
2411 * include/Makefile.in: Likewise.
2412 * testsuite/Makefile.in: Likewise.
2413
2414 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2415
2416 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2417 for privileged getProperty calls.
2418 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2419 SetAccessibleAction instead of anonymous class for doPrivileged call.
2420 (getMethod): Likewise.
2421 (setAccessible): New field. PrivilegedAction object to use when
2422 calling setAccessible.
2423 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2424 SetAccessibleAction instead of anonymous class for diPrivileged call.
2425 (setFields): Likewise.
2426 (getClassUID): Likewise.
2427 (findMethod): Likewise.
2428 * gnu/java/security/action/GetPropertyAction.java: New class.
2429 * gnu/java/security/action/SetAccessibleAction.java: New class.
2430
2431 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2432
2433 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2434 for final fields.
2435 * testsuite/libjava.lang/Serialization.java: New test.
2436 * testsuite/libjava.lang/Serialization.out: New.
2437
2438 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2439
2440 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2441 missed in last commit.
2442
2443 2004-07-23 Mark Wielaard <mark@klomp.org>
2444
2445 * java/lang/System.java (static): Set http.agent system property when
2446 not yet set.
2447 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2448 from system property inside AccessController.doPrivileged() call.
2449 (proxyPort): Made package private.
2450 (proxyInUse): Likewise.
2451 (proxyHost): Likewise.
2452 (userAgent): Likewise.
2453
2454 2004-07-23 Mark Wielaard <mark@klomp.org>
2455
2456 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2457 implementation.
2458
2459 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2460
2461 * Makefile.am (ordinary_java_source_files): Add
2462 DefaultContentHandlerFactory.java.
2463 * Makefile.in: Rebuilt.
2464 * java/net/URLConnection.java (defaultFactory): New field.
2465 (getContent):
2466 (getContentHandler): Renamed from 'setContentHandler'. Try
2467 defaultFactory after user-set factory, if any. Search for content
2468 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2469 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2470 Implemented.
2471 (getLastModified): Implemented.
2472 (getPermission): Create file permission here, instead of in
2473 constructor.
2474 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2475 Implemented.
2476 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2477 Implemented.
2478 (getLastModified): Implemented.
2479 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2480 Default implementation.
2481 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2482 Implement using GdkPixbufDecoder.
2483
2484 2004-07-21 Michael Koch <konqueror@gmx.de>
2485
2486 * javax/swing/JTextArea.java
2487 (setLineWrap): Fire property change event after new value is set.
2488 (setTabSize): Likewise.
2489
2490 2004-07-21 Michael Koch <konqueror@gmx.de>
2491
2492 * javax/swing/JTable.java
2493 (autoCreateColumnsFromModel): New field.
2494 (autoResizeMode): Likewise.
2495 (cellEditor): Likewise.
2496 (cellSelectionEnabled): Likewise.
2497 (columnModel): Likewise.
2498 (dataModel): Likewise.
2499 (defaultEditorsByColumnClass): Likewise.
2500 (defaultRenderersByColumnClass): Likewise.
2501 (editingColumn): Likewise.
2502 (editingRow): Likewise.
2503 (gridColor): Likewise.
2504 (preferredViewportSize): Likewise.
2505 (rowHeight): Likewise.
2506 (rowMargin): Likewise.
2507 (rowSelectionAllowed): Likewise.
2508 (selectionBackground): Likewise.
2509 (selectionForeground): Likewise.
2510 (selectionModel): Likewise.
2511 (showHorizontalLines): Likewise.
2512 (showVerticalLines): Likewise.
2513 (tableHeader): Likewise.
2514 (JTable): Implemented.
2515 (getColumnModel): Likewise.
2516 (getSelectedRow): Likewise.
2517 (getSelectionModel): Likewise.
2518 (setModel): Likewise.
2519 (setSelectionModel): Likewise.
2520 (createScrollPaneForTable): New method.
2521 (createDefaultDataModel): Likewise.
2522 (createDefaultListSelectionModel): Likewise.
2523 (getModel): Likewise.
2524 (getTableHeader): Likewise.
2525 (setTableHeader): Likewise.
2526 (getColumnSelectionAllowed): Likewise.
2527 (setColumnSelectionAllowed): Likewise.
2528 (getRowSelectionAllowed): Likewise.
2529 (setRowSelectionAllowed): Likewise.
2530 (getAutoResizeMode): Likewise.
2531 (setAutoResizeMode): Likewise.
2532 (getColumnCount): Likewise.
2533 (getRowCount): Likewise.
2534 (getCellRenderer): Likewise.
2535 * javax/swing/JTree.java
2536 (cellRenderer): New field.
2537 (editable): Likewise.
2538 (rootVisible): Likewise.
2539 (showsRootHandles): Likewise.
2540 (getModel): New method.
2541 (setModel): Likewise.
2542 (isEditable): Likewise.
2543 (setEditable): Likewise.
2544 (isRootVisbile): Likewise.
2545 (setRootVisible): Likewise.
2546 (getShowsRootHandles): Likewise.
2547 (setShowRootHandles): Likewise.
2548 (getCellRenderer): Likewise.
2549 (setCellRenderer): Likewise.
2550
2551 2004-07-21 Michael Koch <konqueror@gmx.de>
2552
2553 * javax/swing/JFormattedTextField.java
2554 (setDocument): Implemented.
2555 * javax/swing/JRootPane.java:
2556 Fixed javadocs.
2557 * javax/swing/JTable.java
2558 (getDefaultRenderer): New method.
2559 * javax/swing/JTextField.java
2560 (setFont): Likewise.
2561 (getPreferredSize): Likewise.
2562 * javax/swing/JToggleButton.java
2563 (getAccessibleContext): Fix javadoc.
2564 * javax/swing/JTree.java:
2565 Add some javadocs.
2566 * javax/swing/JViewport.java:
2567 Likewise.
2568
2569 2004-07-21 David Jee <djee@redhat.com>
2570
2571 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2572 Collect all native method declaration at the top.
2573 (create): Set the filename filter if necessary.
2574 (setDirectory): Call nativeSetDirectory().
2575 (setFilenameFilter): Implement.
2576 (filenameFilterCallback): New method.
2577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2578 (create): Configure dialog to show hidden files.
2579 (filenameFilterCallback): New function.
2580 (nativeSetFilenameFilter): New function.
2581 (nativeSetDirectory): New function.
2582
2583 2004-07-21 Kim Ho <kho@redhat.com>
2584
2585 * javax/swing/plaf/basic/BasicSliderUI.java:
2586 Ran Jalopy.
2587 (paintTrack): Fill the track before painting
2588 the borders.
2589
2590 2004-07-21 Graydon Hoare <graydon@redhat.com>
2591
2592 patch from Roman Kennke <roman@ontographics.com>
2593 * javax/swing/Spring.java: New file.
2594 * javax/swing/SpringLayout.java: New file.
2595 * Makefile.am: Add new files.
2596 * Makefile.in: Regenerate.
2597
2598 2004-07-21 Graydon Hoare <graydon@redhat.com>
2599
2600 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2601 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2602 * javax/swing/ScrollPaneLayout.java: Likewise.
2603
2604 2004-07-21 Kim Ho <kho@redhat.com>
2605
2606 * javax/swing/DefaultDesktopManager.java:
2607 (findMinimum): Removed.
2608 (resizeFrame): Trust the UI to pass valid
2609 bounds.
2610 * javax/swing/JOptionPane.java:
2611 Implemented showInternalXXXDialog methods.
2612 (startModal): New method.
2613 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2614 (BorderListener::mouseDragged): Verify that the new
2615 bounds are valid before passing them to the DesktopManager.
2616 (preferredLayoutSize): Delegate
2617 to getSize.
2618 (minimumLayoutSize): Ditto.
2619 (getSize): New method.
2620 (GlassPaneDispatcher): Reimplemented by copying
2621 a stripped down LightweightDispatcher from Container.
2622 (getMinimumSize): Call minimumLayoutSize.
2623 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2624 Ran Jalopy.
2625 (mousePressed): Add ability to properly close
2626 JInternalFrames.
2627 * javax/swing/plaf/basic/BasicToolBarUI.java:
2628 (DragWindow): Set owner for DragWindow.
2629
2630 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2631
2632 * java/awt/image/ShortLookupTable.java: New file.
2633 * java/awt/image/ByteLookupTable.java: New file.
2634 * Makefile.am: Added new files.
2635 * Makefile.in: Regenerated.
2636
2637 2004-07-21 David Jee <djee@redhat.com>
2638
2639 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2640 (create(GtkContainerPeer)): New native method.
2641 (create()): Call native create(), passing in the parent frame
2642 as the paramter. Natively set the current file and directory.
2643 (setFile): Construct an absolute filename before passing it to
2644 the native peer.
2645 (nativeGetDirectory): New method.
2646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2647 (window_closed): Removed.
2648 (ok_clicked): Likewise.
2649 (cancel_clicked): Likewise.
2650 (handle_response): New method.
2651 (create): Use GtkFileChooserDialog.
2652 (connectSignals): Connect to handle_response.
2653 (nativeGetDirectory): New method.
2654 (nativeSetFile): Use GtkFileChooserDialog.
2655
2656 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2657
2658 * java/awt/image/LookupTable.java: New file.
2659 * Makefile.am: Added new file.
2660 * Makefile.in: Regenerated.
2661
2662 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2663
2664 * java/awt/image/Kernel.java: New file.
2665 * Makefile.am: Added new file.
2666 * Makefile.in: Regenerated.
2667
2668 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2669
2670 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2671 * javax/swing/JMenu.java: Likewise.
2672 * javax/swing/JMenuBar.java: Likewise.
2673 (MARGIN_CHANGED_PROPERTY): New property.
2674 (setMargin): Implemented.
2675 * javax/swing/JMenuItem.java: Fixed javadocs.
2676 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2677 (LABEL_CHANGED_PROPERTY): New property.
2678 (add): changed to use createActionComponent.
2679 (createActionComponent): Implemented.
2680 (setLabel): Fire PropertyChangeEvent if label property
2681 changes.
2682 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2683 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2684 (ContainerHandler): Repaint if margin property has changed.
2685 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2686 (installUI): Call installComponents().
2687 (uninstallUI): Call uinstallComponents().
2688 * javax/swing/plaf/basic/BasicMenuUI.java:
2689 Fixed javadocs.
2690 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2691 Likewise.
2692
2693 2004-07-21 Kim Ho <kho@redhat.com>
2694
2695 * javax/swing/plaf/basic/BasicToolBarUI.java:
2696 (DragWindow): Use the right constructor.
2697
2698 2004-07-21 Kim Ho <kho@redhat.com>
2699
2700 * javax/swing/JToolBar.java:
2701 (layoutContainer): Use getComponents.
2702 * javax/swing/plaf/basic/BasicToolBarUI.java:
2703 (DragWindow): Don't use SwingUtilities'
2704 getOwnerFrame
2705 (ToolBarDialog): ditto.
2706
2707 2004-07-21 Kim Ho <kho@redhat.com>
2708
2709 * javax/swing/JRootPane.java:
2710 Ran jalopy.
2711 (layoutContainer): Set the glasspane's size to
2712 be the same as the content pane.
2713 (createGlassPane): Set opaque property to false.
2714
2715 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2716
2717 * java/awt/Component.java (requestFocus()): Don't handle Panels
2718 specially.
2719 (requestFocus(boolean)): Likewise.
2720 (requestFocusInWindow(boolean)): Likewise.
2721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2722 Set GTK_CAN_FOCUS flag.
2723
2724 2004-07-21 Kim Ho <kho@redhat.com>
2725
2726 * Makefile.am: Added new file.
2727 * Makefile.in: Regenerated.
2728 * gcj/Makefile.in: Regenerated.
2729 * include/Makefile.in: Regenerated.
2730 * javax/swing/AbstractButton.java:
2731 Add rollOverEnabled property.
2732 (setRolloverEnabled): Use new property.
2733 (isRolloverEnabled): Use new property.
2734 * javax/swing/JTabbedPane.java:
2735 (setComponent): Remove useless JTabbedPane.this.
2736 * javax/swing/JToolBar.java: Finish implementation.
2737 * javax/swing/plaf/basic/BasicArrowButton.java:
2738 (paint): Moved border painting to a border.
2739 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2740 Change JToolBar look and feel defaults.
2741 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2742 (actionPerformed): Return Integer index instead of name.
2743 (addButtonComponents): Check to see if component is
2744 JButton last.
2745 (createMessageArea): Don't use components that are not
2746 completed yet.
2747 (getIconForType): Use temporary icons.
2748 * javax/swing/plaf/basic/BasicSliderUI.java:
2749 (mousePressed): Do not return if it's on thumb.
2750 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2751 (paintMinorTickForVertSlider): ditto.
2752 (paintMajorTickForHorizSlider): ditto.
2753 (paintMajorTickForVertSlider): ditto.
2754 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2755 Add a border around the SplitPaneDivider.
2756 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2757 Remove comments.
2758 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2759 New file. Implemented.
2760 * javax/swing/plaf/basic/BasicToolBarUI.java:
2761 Implemented.
2762 * testsuite/Makefile.in: Regenerated.
2763
2764 2004-07-21 Graydon Hoare <graydon@redhat.com>
2765
2766 * javax/swing/Timer.java (run): Queue events each time cycle.
2767
2768 2004-07-21 David Jee <djee@redhat.com>
2769
2770 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2771 (imageComplete): Call image.imageComplete().
2772 * java/awt/image/MemoryImageSource.java:
2773 Reimplement consumers as a Vector instead of a Hashtable. This is
2774 because enumeration on a Hashtable is not thread-safe.
2775 (addConsumer): Adapt to Vector consumers.
2776 (isConsumer): Adapt to Vector consumers.
2777 (removeConsumer): Adapt to Vector consumers.
2778 (startProduction): Adapt to Vector consumers. Call imageComplete()
2779 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2780 (newPixels): Adapt to Vector consumers.
2781 (sendPicture): Set the color model of the image consumer.
2782 (newPixels(IIII)): Adapt to Vector consumers.
2783 (newPixels(IIIIB)): Adapt to Vector consumers.
2784
2785 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2786
2787 * java/awt/Component.java (deliverEvent): Implement.
2788 (postEvent): Implement.
2789 (handleEvent): Implement.
2790 (translateEvent): New method.
2791 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2792 * java/awt/Container.java (deliverEvent): Implement.
2793 * java/awt/Event.java (paramString): Fix formatting.
2794 * java/awt/Font.java (toString): Likewise.
2795 * java/awt/Window.java (postEvent): Implement.
2796
2797 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2798
2799 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2800 Set window's focus owner upon receiving a FOCUS_LOST event.
2801 * java/awt/Window.java (Window()): Refocus the previously
2802 focused component within the window when the window regains the
2803 top-level focus.
2804 (setFocusOwner): New method.
2805 * java/awt/Component.java (requestFocus): Add FIXME.
2806
2807 * libgcj.pc.in: Remove library flags.
2808
2809 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2810
2811 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2812 MOUSE_PRESSED event.
2813 * java/awt/Component.java (requestFocus()): Handle Panel
2814 specially. Post FOCUS_LOST event on opposite component.
2815 (requestFocus(boolean)): Likewise.
2816 (requestFocusInWindow(boolean)): Likewise.
2817 (paramString): Reorder dimension fields.
2818 * java/awt/Container.java (paramString): Fix string format.
2819 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2820 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2821 process key events if the focus owner is non-null.
2822 (dispatchKeyEvent): Likewise.
2823 * java/awt/Frame.java (paramString): Fix formatting.
2824 (generateName): New method.
2825 (getUniqueLong): Likewise.
2826 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2827 the temporary focus owner is null. If so, return the permanent
2828 focus owner.
2829 * java/awt/Panel.java (generateName): New method.
2830 (getUniqueLong): Likewise.
2831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2832 signal handling to make callbacks more specific.
2833
2834 2004-07-21 Michael Koch <konqueror@gmx.de>
2835
2836 * javax/swing/text/Position.java
2837 (Bias): Implemented.
2838
2839 2004-07-21 Michael Koch <konqueror@gmx.de>
2840
2841 * javax/swing/LookAndFeel.java
2842 (provideErrorFeedback): New method.
2843
2844 2004-07-21 Michael Koch <konqueror@gmx.de>
2845
2846 * javax/swing/JTextArea.java
2847 (tabSize): New field.
2848 (getTabSize): New method.
2849 (setTabSize): Likewise.
2850
2851 2004-07-21 Michael Koch <konqueror@gmx.de>
2852
2853 * javax/swing/ActionMap.java:
2854 Fixed javadocs all over.
2855 (serialVersionUID): Made private.
2856 (parent): Don't explicitely initialize with default value.
2857 (get): SImplified.
2858 (keys): Reimplemented.
2859 (allKeys): Likewise.
2860 (convertSet): Removed.
2861 * javax/swing/ComponentInputMap.java:
2862 Fixed javadocs all over.
2863 (ComponentInputMap): Implemented.
2864 (put): Likewise.
2865 (clear): Likewise.
2866 (remove): Likewise.
2867 (SetParent): Likewise.
2868 (getComponent): Likewise.
2869 * javax/swing/InputMap.java:
2870 Fixed javadocs all over.
2871 (serialVersionUID): Made private.
2872 (parent): Don't explicitely initialize with default value.
2873 (get): SImplified.
2874 (keys): Reimplemented.
2875 (allKeys): Likewise.
2876 (convertSet): Removed.
2877
2878 2004-07-21 Michael Koch <konqueror@gmx.de>
2879
2880 * javax/swing/ActionMap.java,
2881 javax/swing/ComponentInputMap.java,
2882 javax/swing/InputMap.java,
2883 javax/swing/table/DefaultTableColumnModel.java,
2884 javax/swing/table/TableColumn.java,
2885 javax/swing/table/TableColumnModel.java,
2886 javax/swing/table/TableModel.java,
2887 javax/swing/text/AbstractDocument.java,
2888 javax/swing/text/TextAction.java:
2889 Reformated.
2890
2891 2004-07-21 Graydon Hoare <graydon@redhat.com>
2892
2893 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2894 Make method non-static.
2895 * javax/swing/AbstractButton.java:
2896 Rename fields to match property names where possible.
2897 (iconTextGap): New property.
2898 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2899 (init) New method, call from after various constructors.
2900 * javax/swing/JComponent.java (revalidate):
2901 Invalidate before queueing repair.
2902 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2903 Reimplement in terms of visibleRowCount property.
2904 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2905 * javax/swing/JScrollPane.java (createScrollListener):
2906 Remove tracing chatter.
2907 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2908 * javax/swing/RepaintManager.java (addInvalidComponent):
2909 Don't invalidate.
2910 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2911 calculations.
2912 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2913 Mimic sun behavior on top left/right positioning.
2914 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2915 Remove mistaken use of preferredScrollableViewportSize here.
2916 (layoutContainer): Use view's preferred size as basis.
2917 * javax/swing/plaf/basic/BasicButtonUI.java:
2918 Set, get, and use textIconGap property.
2919 (paint) Paint text returned from layout (with ellipsis).
2920 * javax/swing/plaf/basic/BasicListUI.java:
2921 Remove tracing chatter, correct various minor calculations.
2922 (getCellBounds): Update layout state before calculating.
2923 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2924 Use margin default similar to sun's.
2925 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2926 (createIncreaseIcon): Center icon, minimize margins.
2927 (createDecreaseIcon): Likewise.
2928 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2929 Implement.
2930 (installUI): Call it.
2931 (uninstallDefaults): Implement.
2932 (uninstallUI): Call it.
2933 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2934 Call existing Window constructor.
2935 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2936 Set clip before painting.
2937
2938 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2939
2940 * javax/swing/JMenuItem.java:
2941 (processMouseEvent): Reimplemented to deal with
2942 mouse drag events.
2943 (createMenuDragMouseEvent): New private helper method.
2944 Creates MenuDragMouseEvent.
2945 * javax/swing/MenuSelectionManager.java
2946 (componentForPoint): Implemented.
2947 (isComponentPartOfCurrentMenu): Made public.
2948 (processMouseEvent): Reimplemented to deal with
2949 mouse drag events.
2950 (setSelectedPath): Corrected small mistake that caused
2951 path to be set incorrectly.
2952 (getPath): If given component is JMenu then also add this
2953 menu's popup menu to the selected path.
2954 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2955 (getPath): Ditto.
2956 (getPreferredSize): Call getPreferredMenuItemSize().
2957 (getPreferredItemSize): Moved code from getPreferredSize to here.
2958 (installListeners): Install MouseMotionListeners.
2959 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
2960 if mouse wasn't released in the bounds of this menu item.
2961 (MenuDragMouseHandler): Implemented.
2962 * javax/swing/plaf/basic/BasicMenuUI.java:
2963 (installListeners): Install MouseMotionListener and
2964 MenuDrageMouseListener.
2965 (MenuDragMouseHandler): Implemented.
2966 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2967 (uninstallListeners): Implemented.
2968
2969 2004-07-21 Michael Koch <konqueror@gmx.de>
2970
2971 * javax/swing/JCheckBox.java: Reformated.
2972 (JCheckBox): Fixed all constructors.
2973 (isBorderPaintedFlat): New method.
2974 (setBorderPaintedFlat): New method.
2975 * javax/swing/JEditorPane.java
2976 (createEditorKitForContentType): Made public.
2977 (scrollToReference): Likewise.
2978 * javax/swing/JTextArea.java
2979 (setLineWrap): Fire property change.
2980 * javax/swing/JToggleButton.java
2981 (JToggleButton): New constructor.
2982 (JToggleButton): Simplified.
2983 * javax/swing/text/AttributeSet.java
2984 (FontAttribute): Renamed from FontCharacterAttribute.
2985 * javax/swing/text/JTextComponent.java
2986 (KeyBinBinding): Added javadoc.
2987 (JTextComponent): Likewise.
2988 (getAccessibleContext): Fixed javadoc.
2989 * javax/swing/text/View.java
2990 (View): Added javadoc.
2991 * javax/swing/text/TabableView.java: New file.
2992 * Makefile.am: Added javax/swing/text/TabableView.java.
2993 * Makefile.in: Regenerated.
2994
2995 2004-07-21 Graydon Hoare <graydon@redhat.com>
2996
2997 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
2998 * gnu/java/awt/peer/gtk/GtkToolkit.java
2999 (GtkErrorImage): New helper class.
3000 (bufferedImageOrError): New helper method.
3001 (createImage): Use it.
3002
3003 2004-07-21 David Jee <djee@redhat.com>
3004
3005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3006 (setCaretPosition): Scroll the text view so the new caret position
3007 is visible on screen.
3008
3009 2004-07-21 David Jee <djee@redhat.com>
3010
3011 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3012 (setBounds): Do not validate awtComponent here.
3013 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3014 (getPreferredSize): New method.
3015 * java/awt/ScrollPane.java
3016 (ScrollPane): Set default size to 100x100.
3017 (addNotify): If child is not a Panel, wrap it with a new Panel.
3018 (paramString): Implement.
3019
3020 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3021
3022 * javax/swing/JMenu.java:
3023 (setSelected): Display popup menu only if this menu
3024 is showing on the screen.
3025 * javax/swing/JPopupMenu.java:
3026 (processMouseEvent): Added comment.
3027 (processKeyEvent): Likewise.
3028 * javax/swing/MenuSelectionManager.java:
3029 (clearSelectedPath): Only fireStateChanged() after
3030 selected path was changed, not before.
3031 (setSelectedPath): Likewise.
3032 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3033 (paintMenuItem): Corrected position of menu item's
3034 icon.
3035 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3036 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3037 (popupMenuCanceled): Reimplemented.
3038 (popupMenuWillBecomeVisible): Select first menu item by default
3039 when displaying free floating popup menus.
3040 (TopWindowListener): Reimplemented.
3041
3042 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3043
3044 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3045 Panel from being painted twice when it is first shown.
3046
3047 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3048
3049 * java/awt/Window.java: Reverted changes from my
3050 previous patch for creating window without an owner.
3051 * javax/swing/SwingUtilities.java:
3052 (SwingUtilities.OwnerFrame): made static.
3053 (OwnerFrame.setVisible): New method. Overridden with
3054 empty implementation.
3055 (OwnerFrame.isShowing): New method. Ovverridden
3056 to return always true.
3057
3058 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3059
3060 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3062 (GtkComponentPeer): Remove temporary try/catch block.
3063 (setVisible): Call show and hide.
3064 (show): Make native.
3065 (hide): Likewise.
3066 (getArgs): Don't add "visible" argument.
3067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3068 (property_notify_predicate): Return Bool instead of int.
3069 (find_layout): New function.
3070 (connectJObject): Call find_layout.
3071 (connectSignals): Likewise.
3072 (moveLayout): Likewise.
3073 (gtkLayoutSetVisible): Likewise.
3074
3075 2004-07-21 Mark Wielaard <mark@klomp.org>
3076
3077 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3078 on notifier object before calling notifyAll().
3079
3080 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3081
3082 * java/awt/Window.java: Changed constructors to use new
3083 method that is described below. Constructors call this
3084 methods only if newly created window should have an owner.
3085 (setWindowOwner): New method. Implementation for
3086 this method is moved from this(owner,configuration).
3087 * javax/swing/JWindow.java:
3088 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3089 instead of owner.
3090 * javax/swing/SwingUtilities.java:
3091 (ownerFrame): Change type of this field to OwnerFrame.
3092 (getOwnerFrame): Changed to return object of type OwnerFrame.
3093 (SwingUtilities.OwnerFrame): New class. Represents owner
3094 of a Window that is not provided with one.
3095
3096 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3097
3098 * javax/swing/AbstractButton.java:
3099 (configurePropertiesFromAction): Set action command
3100 to button's text by default if action command is not
3101 explicitely specified.
3102 * javax/swing/JMenu.java: Remove unnecessary listener
3103 and methods relevant to it.
3104 (setSelected): Reimplemented.
3105 (menuSelectionChanged): Moved most part of implementation to
3106 setSelected() and call it instead.
3107 * javax/swing/JMenuItem.java:
3108 (init): Comment out statement that sets paint_border to false.
3109 (configurePropertiesFromAction): Do not set accelerator
3110 for JMenu.
3111 (menuSelectionChanged): Change selected index in the selection
3112 model of menu item's parent.
3113 * javax/swing/JPopupMenu.java:
3114 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3115 instead of GridBagConstraints.HORIZONTAL.
3116 (insert): Likewise.
3117 (createActionChangeListener): Implemented.
3118 (setVisible): Correct location of HeavyWeightMenu and
3119 don't firePopupMenuCanceled().
3120 (menuSelectionChanged): Implemented.
3121 (ActionChangeListener): New Listener. Implemented.
3122 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3123 (BasicMenuBarUI.ContainerHandler): Implemented.
3124 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3125 (paintMenuItem): Uncommented out code that paints
3126 icon, now that icons are working properly.
3127 (PropertyChangeListener): Implemented.
3128 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3129 Added javadocs.
3130 (topWindowListener): New field.
3131 (Constructor): initialize topWindowListener.
3132 (BasicPopupMenuUI.TopWindowListener): Implemented.
3133 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3134 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3135 Implemented.
3136
3137 2004-07-21 Michael Koch <konqueror@gmx.de>
3138
3139 * javax/swing/plaf/basic/BasicButtonUI.java
3140 (paintFocus): Fixed method signature.
3141 (paintButtonPressed): Likewise.
3142 (paintButtonNormal): Likewise.
3143 (paintText): New method.
3144 * javax/swing/plaf/basic/BasicLabelUI.java
3145 (paint): Re-indented.
3146 * javax/swing/plaf/basic/BasicTextUI.java
3147 (installUI): Set parent textComponent to opaque.
3148 * javax/swing/text/DefaultHighlighter.java
3149 (checkPositions): New helper method.
3150 (addHighlight): Throws BadLocationException, check positions.
3151 (changeHighlight): Likewise.
3152 * javax/swing/text/EditorKit.java
3153 (EditorKit): Implements Serializable.
3154 * javax/swing/text/JTextComponent.java
3155 (getUI): Added javadoc.
3156 (setUI): Likewise.
3157 (upadteUI): Added javadoc, don't revalidate and repaint.
3158
3159 2004-07-21 David Jee <djee@redhat.com>
3160
3161 * java/awt/GridBagLayout.java
3162 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3163 * javax/swing/AbstractButton.java
3164 (setText): Reindent.
3165 * javax/swing/RepaintManager.java
3166 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3167
3168 2004-07-21 Michael Koch <konqueror@gmx.de>
3169
3170 * javax/swing/JFormattedTextField.java
3171 (value): New field.
3172 (JFormattedTextField): Implemented.
3173 (getValue): Likewise.
3174 (setValue): Likewise.
3175 * javax/swing/LookAndFeel.java
3176 (getSupportsWindowDecorations): New method.
3177 * javax/swing/UIDefaults.java:
3178 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3179 (addPropertyChangeListener): Made public.
3180 (addResourceBundle): Likewise.
3181 (removeResourceBundle): Likewise.
3182 (setDefaultLocale): Likewise.
3183 * javax/swing/plaf/basic/BasicRootPaneUI.java
3184 (BasicRootPaneUI): Implements PropertyChangeListener.
3185 (propertyChange): New method.
3186 * javax/swing/plaf/basic/BasicTextUI.java
3187 (BasicHighlighter): New inner class.
3188 (createHighlighter): New method.
3189 * javax/swing/plaf/basic/BasicToolBarUI.java
3190 (DragWindow): Extends java.awt.Window.
3191 * javax/swing/text/JTextComponent.java
3192 (getDocument): Removed debug output.
3193 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3194 javax/swing/text/DefaultHighlighter.java,
3195 javax/swing/text/FieldView.java,
3196 javax/swing/text/PlainView.java: New files.
3197 * Makefile.am: Added new files.
3198 * Makefile.in: Regenerated.
3199
3200 2004-07-21 Michael Koch <konqueror@gmx.de>
3201
3202 * javax/swing/JEditorPane.java
3203 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3204 (createEditorKitForContentType): Likewise.
3205 * javax/swing/text/DefaultEditorKit.java
3206 (serialVersionUID): Added constant field.
3207 (EndOfLineStringPropery): Fixed typo.
3208 (DefaultEditorKit): New constructor.
3209 * javax/swing/text/Segment.java:
3210 Import java.text.CharacterIterator.
3211 * javax/swing/text/CharacterIterator.java,
3212 javax/swing/text/PlainEditorKit.java: Removed.
3213 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3214 javax/swing/text/PlainEditorKit.java.
3215 * Makefile.in: Regenerated.
3216
3217 2004-07-21 Michael Koch <konqueror@gmx.de>
3218
3219 * javax/swing/JButton.java,
3220 javax/swing/text/DefaultEditorKit.java,
3221 javax/swing/text/EditorKit.java,
3222 javax/swing/text/Segment.java,
3223 javax/swing/text/StyledEditorKit.java:
3224 Reformatted.
3225
3226 2004-07-21 Michael Koch <konqueror@gmx.de>
3227
3228 * javax/swing/ImageIcon.java
3229 (file): Removed.
3230 (description): Renamed from descr.
3231 (ImageIcon): Added missing constructors.
3232 (setParent): Removed.
3233 (setImageObserver): New method.
3234 (getImageObserver): New method.
3235 (paintIcon): Handle observer = null.
3236 * javax/swing/JButton.java
3237 (removeNotify): Fixed javadoc.
3238 (updateUI): Simplified.
3239 * javax/swing/JRootPane.java
3240 (serialVersionUID): New constant field.
3241 * javax/swing/UIManager.java:
3242 Fixed javadocs all over.
3243 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3244 * javax/swing/text/AbstractDocument.java
3245 (createPosition): Throws BadLocationException.
3246 (getText): Likewise.
3247 (remove): Likewise.
3248 * javax/swing/text/ComponentView.java
3249 (modelToView): Likewise.
3250 * javax/swing/text/DefaultEditorKit.java:
3251 Made all public methods public.
3252 (read): Throws BadLocationException and IOException.
3253 (write): Likewise.
3254 * javax/swing/text/EditorKit.java:
3255 Made all public methods public.
3256 (serialVersionUID): New constant field.
3257 (clone): New method.
3258 (read): Throws BadLocationException and IOException.
3259 (write): Likewise.
3260 * javax/swing/text/Segment.java
3261 (array): Made public.
3262 (count): Likewise.
3263 (offset): Likewise.
3264 (Segment): New constructors.
3265 (clone): Reimplemented.
3266 * javax/swing/text/StyledEditorKit.java
3267 (serialVersionUID): New constant field.
3268
3269 2004-07-21 Graydon Hoare <graydon@redhat.com>
3270
3271 * java/awt/image/BufferedImage.java
3272 (getSource): Implement.
3273 * javax/swing/ImageIcon.java
3274 (ImageIcon): Implement ctor.
3275 * javax/swing/ScrollPaneLayout.java
3276 (preferredLayoutSize): Be more careful about nulls.
3277
3278 2004-07-21 Michael Koch <konqueror@gmx.de>
3279
3280 * javax/swing/text/AttributeSet.java
3281 (CharacterAttribute): New interface
3282 (ColorAttribute): Likewise.
3283 (FontCharacterAttribute): Likewise.
3284 (ParagraphAttribute): Likewise.
3285 * javax/swing/text/DefaultCaret.java
3286 (moveCaret): New method.
3287 (positionCaret): Likewise.
3288 (repaint): Made protected.
3289 * javax/swing/text/JTextComponent.java
3290 (KeyBinding): Made it static.
3291 * javax/swing/text/View.java
3292 (getContainer): Honor parent == null.
3293
3294 2004-07-21 Michael Koch <konqueror@gmx.de>
3295
3296 * javax/swing/text/AbstractDocument.java:
3297 Reformatted.
3298
3299 2004-07-21 Michael Koch <konqueror@gmx.de>
3300
3301 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3302 Import javax.swing.UIManager explicitely.
3303 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3304 (ScrollingButton): Made it static.
3305
3306 2004-07-21 Michael Koch <konqueror@gmx.de>
3307
3308 * javax/swing/UIDefaults.java
3309 (ActiveValue): Made public.
3310 (LazyValue): Likewise.
3311 * javax/swing/plaf/basic/BasicTextUI.java
3312 (RootView): Reintroduced.
3313 (view): Removed.
3314 (rootView): New field.
3315 (installUI): Create document if needed, initialize rootView.
3316 (uninstallUI): Hanle rootView.
3317 (paint): Likewise.
3318 (getRootView): Likewise.
3319 (setView): Likewise.
3320 * javax/swing/text/DefaultCaret.java:
3321 Renamed all "evt" variables to "event".
3322
3323 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3324
3325 * libgcj.spec.in: Add -l-java-util-logging.
3326
3327 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3328
3329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3330 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3331 gtk-xft-dpi can no calculate the right value.
3332 (dpi_changed_cb): Mark *pspec as unsused.
3333
3334 2004-07-21 David Jee <djee@redhat.com>
3335
3336 * java/awt/Component.java
3337 (move): Delegate to setBounds().
3338 (resize): Likewise.
3339 (reshape): Fix so it repaints parent and self only when necessary.
3340
3341 2004-07-21 David Jee <djee@redhat.com>
3342
3343 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3344 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3345 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3346 (setVisible): Likewise.
3347 (show): Likewise.
3348 (hide): Likewise.
3349 (getArgs): Likewise.
3350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3351 (property_notify_predicate): Likewise.
3352 (find_layout): Likewise.
3353 (connectJObject): Likewise.
3354 (connectSignals): Likewise.
3355 (moveLayout): Likewise.
3356 (gtkLayoutSetVisible): Likewise.
3357
3358 2004-07-21 Graydon Hoare <graydon@redhat.com>
3359
3360 * Makefile.am
3361 (jv_convert_LDADD):
3362 (gij_LDADD):
3363 (rmic_LDADD):
3364 (rmiregistry_LDADD): Add lib-java-util-logging.la
3365 * Makefile.in: Regenerate.
3366
3367 2004-07-21 Michael Koch <konqueror@gmx.de>
3368
3369 * javax/swing/text/AbstractDocument.java
3370 (replace): Dont use protected method of java.util.Vector directly.
3371
3372 2004-07-21 Michael Koch <konqueror@gmx.de>
3373
3374 * javax/swing/plaf/basic/BasicTextUI.java
3375 (installUI): Call specialized install methods.
3376 (installDefaults): New method.
3377 (installListeners): Likewise.
3378 (installKeyboardActions): Likewise.
3379 (uninstallUI): Likewise.
3380 (uninstallDefaults): New method.
3381 (uninstallListeners): Likewise.
3382 (uninstallKeyboardActions): Likewise.
3383 (getPropertyPrefix): New abstract method.
3384 (paint): Made final, just call paintSafely().
3385 (paintSavely): New method.
3386 (paintBackground): Likewise.
3387 (getVisibleEditorRect): Likewise.
3388 * javax/swing/text/LayeredHighlighter.java,
3389 javax/swing/text/TabExpander.java: New files.
3390 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3391 and javax/swing/text/TabExpander.java.
3392 * Makefile.in: Regenerated.
3393
3394 2004-07-21 Michael Koch <konqueror@gmx.de>
3395
3396 * javax/swing/plaf/basic/BasicTextUI.java
3397 (BasicTextUI): Made abstract.
3398 (BasicCaret): New inner class.
3399 (view): Don't explicitely initialize with "null".
3400 (textComponent): New field.
3401 (textColor): Removed.
3402 (disabledTextColor): Removed.
3403 (normalBackgroundColor): Removed.
3404 (RootView): Removed commented out inner class.
3405 (createUI): Removed.
3406 (createCaret): New method.
3407 (getComponent): Likewise.
3408 (installUI): Initialize textComponent only.
3409 (getPreferredSize): Use installed JTextComponent.
3410 (setView): New method.
3411 (create): Likewise.
3412 * javax/swing/text/JTextComponent.java
3413 (highlighter): New field.
3414 (caretColor): Likewise.
3415 (disabledTextColor): Likewise.
3416 (seletedTextColor): Likewise.
3417 (selectionColor): Likewise.
3418 (setUI): New method.
3419 (getCaretColor): Likewise.
3420 (setCaretColor): Likewise.
3421 (getDisabledColor): Likewise.
3422 (setDisabledColor): Likewise.
3423 (getSelectedTextColor): Likewise.
3424 (setSelectedTextColor): Likewise.
3425 (getSelectionColor): Likewise.
3426 (setSelectionColor): Likewise.
3427 (getHighlighter): Likewise.
3428 (setHighlighter): Likewise.
3429 (replaceSelection): Likewise.
3430
3431 2004-07-21 Michael Koch <konqueror@gmx.de>
3432
3433 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3434 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3435 * javax/swing/plaf/basic/BasicToolBarUI.java
3436 (BasicToolBarUI): Implements SwingConstants.
3437
3438 2004-07-21 Michael Koch <konqueror@gmx.de>
3439
3440 * javax/swing/JPopupMenu.java: Removed CVS tags.
3441 * javax/swing/UIDefaults.java: Reformatted.
3442 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3443 Explicitely import used classes.
3444
3445 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3446
3447 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3448 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3449 (GtkComponentPeer): Remove temporary try/catch block.
3450 (setVisible): Call show and hide.
3451 (show): Make native.
3452 (hide): Likewise.
3453 (getArgs): Don't add "visible" argument.
3454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3455 (property_notify_predicate): Return Bool instead of int.
3456 (find_layout): New function.
3457 (connectJObject): Call find_layout.
3458 (connectSignals): Likewise.
3459 (moveLayout): Likewise.
3460 (gtkLayoutSetVisible): Likewise.
3461
3462 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3463
3464 * javax/swing/AbstractButton.java:
3465 (setDisplayedMnemonicIndex): Check if button
3466 text is not null before checking its length.
3467 * javax/swing/JMenuItem.java:
3468 (processMouseEvent): Disarm menu item if mouse has
3469 exited it.
3470 * javax/swing/plaf/basic/BasicMenuUI.java:
3471 (MouseInputHandler.mouseEntered): Do not raise
3472 popup menu if this menu is already selected.
3473 (MouseInputHandler.mousePressed): Do not fire
3474 MenuEvents.
3475 (MenuHandler): Implemented.
3476
3477 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3478
3479 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3480 (getSelectedObjects): Implemented.
3481 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3482 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3483 Added javadoc for few methods.
3484 (processMouseEvent): Made public.
3485 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3486 (processMouseEvent): Likewise.
3487
3488 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3489
3490 * javax/swing/AbstractButton.java:
3491 (init): Set display mnemonic index to -1.
3492 (setMnemonic(char)): Use setMnemonic(int).
3493 (setMnemonic(int)): Set display mnemonic index.
3494 (getDisplayedMnemonicIndex): Change method signature
3495 by removing 'index' parameter.
3496 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3497 Added default for Menu.selectionBackground.
3498 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3499 (paintMenuItem): Change background color of the selected
3500 menu item.
3501 (paintText): Paint differently when menu item is disabled.
3502 Also paint mnemonic if it appears in the menu item's label.
3503 (paintAccelerator): Paint accelerator differently
3504 if menu item is disabled.
3505 * javax/swing/plaf/basic/BasicMenuUI.java:
3506 (installDefaults): Install defaults for
3507 selectionForeground and selectionBackground.
3508 (uninstallDefaults): Uninstall defauls for
3509 selectionForeground and selectionBackground.
3510
3511 2004-07-21 Michael Koch <konqueror@gmx.de>
3512
3513 * javax/swing/text/AbstractDocument.java
3514 (BranchElement): Implemented.
3515 (LeafElement): Implemented.
3516 * javax/swing/text/DefaultCaret.java:
3517 Import used classes.
3518 (serialVersionUID): New constant.
3519 * javax/swing/text/JTextComponent.java
3520 (AccessibleJTextComponent): Removed dead declaration.
3521 (caretPos): Removed.
3522 (setCaret): New method.
3523 * javax/swing/text/PlainDocument.java
3524 (rootElement): New field.
3525 (PlainDocument): Initialize rootElement.
3526 (createDefaultRoot): New method.
3527 (getDefaultRootElement): Implemented.
3528 * javax/swing/text/View.java: Reformatted.
3529 * javax/swing/text/ViewFactory.java
3530 (create): Added javadoc.
3531
3532 2004-07-21 Michael Koch <konqueror@gmx.de>
3533
3534 * javax/swing/ToolTipManager.java: Reformatted.
3535
3536 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3537
3538 * javax/swing/AbstractButton.java
3539 (changeEvent): New field.
3540 (fireItemStateChanged): Change source of the event
3541 to 'this' before firing it to button listeners.
3542 (fireActionPerformed): Likewise.
3543 (fireStateChanged): Likewise.
3544 (createActionListener): Do not set source
3545 of the event to AbstractButton.
3546 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3547 (ContainerHandler.componentAdded): Removed
3548 print out statement.
3549 (ContainerHandler.componentRemoved): Likewise.
3550
3551 2004-07-21 Michael Koch <konqueror@gmx.de>
3552
3553 * javax/swing/text/Highlighter.java: New file.
3554 * Makefile.am: Added javax/swing/text/Highlighter.java.
3555 * Makefile.in: Regenerated.
3556
3557 2004-07-21 Michael Koch <konqueror@gmx.de>
3558
3559 * javax/swing/ToolTipManager.java
3560 (stillInsideTimerAction): Fixed constructor arguments.
3561 (outsideTimerAction): Likewise.
3562 (insideTimerAction): Likewise.
3563
3564 2004-07-21 Michael Koch <konqueror@gmx.de>
3565
3566 * javax/swing/JButton.java: Reformatted.
3567 * javax/swing/JFormattedTextField.java
3568 (getUIClassID): Implemented.
3569 * javax/swing/JRootPane.java
3570 (serialVersionUID): New constant.
3571 * javax/swing/JTextField.java
3572 (align): New field.
3573 (JTextField): Simplified.
3574 (getUIClassID): New method.
3575 (getActionListeners): Added @since tag.
3576 (setColumns): Invalidate layout and repaint.
3577 (getHorizontalAlignment): New method.
3578 (setHorizontalAlignment): New method.
3579 (selectAll): Removed.
3580 * javax/swing/SwingUtilities.java
3581 (getAncestorOfClass): Removed redundant @see tag.
3582 (isLeftMouseButton): Fixed implementation.
3583 (isMiddleMouseButton): Likewise.
3584 (isRightMouseButton): Likewise.
3585 * javax/swing/text/AbstractDocument.java
3586 (AttributeContext.addAttribute): New method.
3587 (AttributeContext.addAttributes): New method.
3588 (AttributeContext.getEmptySet): New method.
3589 (AttributeContext.reclaim): New method.
3590 (AttributeContext.removeAttribute): New method.
3591 (AttributeContext.removeAttributes): New method.
3592 * javax/swing/text/Document.java
3593 (createPosition): Throws BadLocationException.
3594 (getText): Likewise.
3595 (remove): Likewise.
3596 * javax/swing/text/JTextComponent.java
3597 (getText): Return null if no document is set. Catch
3598 BadLocationException.
3599 (getUI): Return ui.
3600 (updateUI): Simplified.
3601
3602 2004-07-21 Michael Koch <konqueror@gmx.de>
3603
3604 * javax/swing/JButton.java
3605 (removeNotify): Fixed javadoc.
3606 (updateUI): Simplified.
3607
3608 2004-07-21 David Jee <djee@redhat.com>
3609
3610 * gnu/java/awt/image/ImageDecoder.java
3611 (startProduction): Only add consumer if it's not added yet.
3612 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3613 (GdkPixbufDecoder): Don't call initState() here.
3614 (produce): Call initState() here, to ensure area_prepared and
3615 area_updated signals are properly connected.
3616 * gnu/java/awt/peer/gtk/GtkImage.java
3617 (setColorModel): Use equals() to compare ColorModel objects.
3618 (setPixels): Likewise.
3619 * java/awt/image/ColorModel.java
3620 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3621 * java/awt/image/RGBImageFilter.java
3622 (setColorModel): Set consumer's color model.
3623 (setPixels): Use equals() to compare ColorModel objects.
3624
3625 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3626
3627 * java/net/URLConnection.java (position): New field.
3628 (dateFormat1, dateFormat2, dateFormat3): Removed.
3629 (dateFormats): New field.
3630 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3631 each time instead of re-allocating.
3632 (initializeDateFormats): Initialize 'dateFormats'.
3633
3634 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3635
3636 PR libgcj/16591
3637 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3638 is defined.
3639
3640 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3641
3642 * java/net/Socket.java (getImpl): Now private. Remove comment.
3643
3644 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3645
3646 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3647 of chained Writer when calling super-constructor.
3648 * java/io/FilterWriter.java (FilterWriter): Likewise.
3649 * java/io/PrintWriter.java (PrintWriter): Likewise.
3650
3651 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3652
3653 * prims.cc (process_gcj_properties): Don't increment i within LHS
3654 of assignment.
3655
3656 2004-07-19 Per Bothner <per@bothner.com>
3657
3658 Print -verbose:message on "loading", not initialization.
3659 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3660 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3661 gcj::verbose_class_flag.
3662 * java/lang/natClass.cc (initializeClass): Don't print message here.
3663 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3664 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3665 (_Jv_PrepareCompiledClass): Likewise.
3666
3667 2004-07-18 Matthias Klose <doko@debian.org>
3668
3669 * configure.in: Substitute target_noncanonical.
3670 * configure: Regenerate
3671
3672 2004-07-17 Michael Koch <konqueror@gmx.de>
3673
3674 * java/lang/String.java: Fixed javadocs all over.
3675
3676 2004-07-17 Mark Wielaard <mark@klomp.org>
3677
3678 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3679 when size is smaller.
3680 * java/io/RandomAccessFile.java (setLength): Use truncate for
3681 shrinking the file and seek plus write for expanding the file.
3682
3683 2004-07-17 Michael Koch <konqueror@gmx.de>
3684
3685 * gnu/java/nio/channels/natFileChannelPosix.cc
3686 (implTruncate): Always save current position. Only reposition file
3687 pointer to where we started if not beyond new lenght. Reposition file
3688 pointer to file length if it points beyond the end of file.
3689
3690 2004-07-17 Mark Wielaard <mark@klomp.org>
3691
3692 * javax/swing/Box.java: Put FIXME comment above class declaration.
3693 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3694 * javax/swing/JCheckBox.java: Likewise.
3695 * javax/swing/JDialog.java: Likewise.
3696 * javax/swing/JRadioButton.java: Likewise.
3697 * javax/swing/JToggleButton.java: Likewise.
3698 * javax/swing/UIManager.java: Likewise.
3699 * javax/swing/border/TitledBorder.java: Likewise.
3700 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3701 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3702 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3703 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3704 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3705 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3706 * javax/swing/text/JTextComponent.java: Likewise.
3707
3708 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3709
3710 * java/net/DatagramPacket.java (setAddress): Removed check for
3711 null address.
3712
3713 2004-07-17 Michael Koch <konqueror@gmx.de>
3714
3715 * java/net/DatagramSocket.java
3716 (getLocalAddress): Check if socket is bound or not.
3717 * java/net/Socket.java
3718 (getLocalAddrss): Check if socket is bound or not.
3719 (getPort): Return -1 when not connected. Dont check getImpl() for
3720 null.
3721 (setReuseAddress): Check if socket is closed.
3722 (isConnected): Check if getImpl() returns null.
3723
3724 2004-07-17 Mark Wielaard <mark@klomp.org>
3725
3726 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3727 on notifier object before calling notifyAll().
3728
3729 2004-07-17 Michael Koch <konqueror@gmx.de>
3730
3731 * gnu/java/nio/channels/FileChannelImpl.java
3732 (finalize): Added javadoc.
3733
3734 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3735
3736 * java/text/CollationElementIterator.java
3737 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3738 (setText): Use ArrayList instead of Vector.
3739
3740 2004-07-17 Michael Koch <konqueror@gmx.de>
3741
3742 * java/nio/ByteOrder.java
3743 (static): Removed. Not needed.
3744 Thanks to Patrick Reali for noticing.
3745 * java/nio/charset/CharsetDecoder.java
3746 (decode): Fix for classpath bug #9177: Reset state before flipping.
3747
3748 2004-07-17 Michael Koch <konqueror@gmx.de>
3749
3750 * java/security/Security.java: Fixed javadocs all over.
3751
3752 2004-07-17 Michael Koch <konqueror@gmx.de>
3753
3754 * gnu/java/awt/EmbeddedWindow.java
3755 (static): Removed.
3756 (addNotify): Set peer via reflection.
3757 (setWindowPeer): Removed.
3758 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3759 * Makefile.am (nat_source_files):
3760 Removed gnu/java/awt/natEmbeddedWindow.cc.
3761 * Makefile.in: Regenerated.
3762
3763 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3764
3765 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3766 assignment.
3767 * configure: Regenerated.
3768
3769 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3770
3771 * configure.in: Use build_noncanonical rather than build_alias.
3772 * configure: Rebuild.
3773
3774 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3775 by logic refactoring. Move default definition of NATIVE closer
3776 to first alternate definition.
3777 * configure: Regenerate.
3778
3779 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3780 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3781 gcj/Makefile.in: Regenerate.
3782 * configure.in: Set ZIP and GCJH. Remove redundant condition
3783 in AM_CONDITIONAL(NATIVE,...)
3784 * configure: Regenerate.
3785
3786 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3787
3788 * configure.in: Use target_noncanonical rather than
3789 target_alias for forward-compatibility with autoconf 2.59.
3790 * configure: Regenerate.
3791 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3792 testsuite/Makefile.am: Substitute target_noncanonical.
3793 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3794 testsuite/Makefile.in: Regenerate.
3795
3796 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3797 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3798 * acinclude.m4: Include acx.m4.
3799 * aclocal.m4: Regenerate.
3800 * configure: Regenerate.
3801
3802 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3803
3804 PR libgcj/16574
3805 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3806 (decimalFormat): New static variable.
3807 (sbuf): Likewise.
3808 (getTime): New. Override Date.getTime().
3809 (toString): Synchronize. Use decimalFormat to format nanos value
3810 correctly. Truncate extra zeros.
3811 (before): Compare getNanos() only if getTime() is equal.
3812 (after): Likewise.
3813
3814 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3815
3816 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3817 * configure.in: ...here.
3818 * aclocal.m4: Regenerate.
3819 * configure: Regenerate.
3820
3821 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3822 * configure: Rebuilt with autoconf 2.13.
3823 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3824 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3825
3826 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3827
3828 PR libgcj/16204
3829 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3830 large file support.
3831 * Makefile.in: Rebuilt.
3832 * testsuite/libjava.lang/LargeFile.java: New test case.
3833 * testsuite/libjava.lang/LargeFile.out: New file.
3834
3835 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3836
3837 * java/beans/EventHandler.java: Remove debugging statements.
3838
3839 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3840
3841 * java/beans/EventHandler.java: New file.
3842 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3843 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3844 testsuite/Makefile.in: Regenerate.
3845
3846 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3847
3848 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3849 flag to the gcj_setup.
3850 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3851 the tclsh.
3852 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3853 deprecation flag change. 58 XFAILS removed.
3854
3855 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3856
3857 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3858 -fno-use-divide-subroutine.
3859 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3860 (HANDLE_FPE): Define.
3861 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3862 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3863 (HANDLE_DIVIDE_OVERFLOW): Define.
3864
3865 2004-07-14 Michael Koch <konqueror@gmx.de>
3866 Matthias Klose <doko@debian.org>
3867
3868 * java/awt/im/InputContext.java: Initialize in, line.
3869
3870 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3871
3872 * interpret.cc (run): Correctly access libffi return values of
3873 integral smaller-than-int type; these are implicitly promoted.
3874
3875 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3876
3877 PR libgcj/7587
3878 * interpret.cc (compile_mutex): New.
3879 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3880 (run): Lock compile_mutex before calling compile() if compilation is
3881 required.
3882 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3883 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3884
3885 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3886
3887 PR libgcj/15713
3888 * include/jvm.h (_Jv_value): New union type.
3889 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3890 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3891 union members.
3892
3893 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3894
3895 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3896 * gnu/awt/xlib/XOffScreenImage.java
3897 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3898 constructor argument. Add constructor using ImageProducer.
3899 (getSource): Implement.
3900 (imageComplete): New method.
3901 (setColorModel): New method.
3902 (setDimensions): New method.
3903 (setHints): New method.
3904 (setPixels): New method.
3905 (setProperties): New method.
3906 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3907 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3908
3909 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3910
3911 PR libgcj/16478
3912 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3913 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3914 (finalizerReady): Now native.
3915 (run): Likewise.
3916 (runFinalizers): Removed.
3917 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3918 a primitive lock, and don't hold it while running the finalizers.
3919 (runFinalizers): Implement. Don't aquire any Java lock.
3920 (finalizerReady): Use lock primitives to signal finalizer thread.
3921
3922 2004-07-11 Mark Wielaard <mark@klomp.org>
3923
3924 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3925 * java/net/URLStreamHandler.java (parseURL): When url file part
3926 doesn't contain a '/' just ignore context.
3927
3928 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3929
3930 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3931 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3932 (MAKE_THROW_FRAME): Do not modify PSW address.
3933 (INIT_SEGV): Install SIGINFO-style signal handler.
3934 (INIT_FPE): Likewise.
3935
3936 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3937
3938 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3939 status. 21 xfail's removed, 1 added.
3940
3941 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3942
3943 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3944
3945 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3946
3947 * java/text/MessageFormat.java
3948 (formatInternal): Append "{n}" if argument n is unavailable.
3949 (format(Object, StringBuffer, FieldPosition)): This
3950 should be equivalent to format(Object[],
3951 StringBuffer, FieldPosition).
3952
3953 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3954
3955 * java.util.Calendar.java (cache): New private static field. Cached
3956 mappings of locales->calendar classes.
3957 (ctorArgTypes): New private static field. Singleton argument for
3958 calendar class constructor lookup.
3959 (getInstance): Cache Locale->Calendar class mappings using HashMap.
3960 Optimize by bypassing reflection instantiation for the
3961 GregorianCalendar case.
3962
3963 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3964
3965 * java/util/Calendar.java: Use getSystemClassLoader as argument for
3966 ResourceBundle.getBundle() calls.
3967 * java/util/GregorianCalendar.java: Likewise.
3968 * java/util/Currency.java: Likewise.
3969 * java/text/BreakIterator.java: Likewise.
3970 * java/text/Collator.java: Likewise.
3971 * java/text/DateFormat.java: Likewise.
3972 * java/text/DateFormatSymbols.java: Likewise.
3973 * java/text/DecimalFormatSymbols.java: Likewise.
3974 * java/text/NumberFormat.java: Likewise.
3975 * java/awt/Window.java: Likewise.
3976
3977 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3978
3979 * java/util/ResourceBundle.java (bundleCache): Renamed from
3980 resourceBundleCache. Update comments.
3981 (getObject): Don't catch MissingResourceException.
3982 (getBundle(String)): Remove 'final'. Use system classloader if
3983 getCallingClassLoader returned null.
3984 (getBundle(String, Locale)): Likewise.
3985 (BundleKey): New private class. HashMap key for bundle cache lookup.
3986 (lookupKey): New. Singleton instance of BundleKey.
3987 (nullEntry): New. Cache entry to represent failed lookups.
3988 (getBundle(String, Locale, ClassLoader)): Re-written to use new
3989 caching strategy, no-allocation lookup, and new tryBundle methods.
3990 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
3991 name using given classloader.
3992 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
3993 baseName for given Locale and attempt to load bundle.
3994
3995 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3996
3997 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
3998 illegal protected method calls.
3999
4000 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4001
4002 Fix or remove some bogus test cases.
4003 * testsuite/libjava.compile/pr10459_2.java: Removed.
4004 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4005 not Object.clone().
4006 * testsuite/libjava.compile/inner_data.java: Test against its own
4007 protected field.
4008
4009 2004-07-09 Michael Koch <konqueror@gmx.de>
4010
4011 * scripts/unicode-muncher.pl: Updated to version 2.1
4012 from GNU classpath. Added some clarifications on where to find the
4013 needed files from www.unicode.org.
4014 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4015 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4016 Removed, these can directly be downloaded from www.unicode.org if
4017 needed.
4018 * gnu/java/lang/CharData.java: Regenerated.
4019 * include/java-chartables.h: Regenerated.
4020 * Makefile.am (ordinary_java_source_files):
4021 Removed gnu/java/lang/CharData.java.
4022 * Makefile.in: Regenerated.
4023
4024 2004-07-09 Michael Koch <konqueror@gmx.de>
4025
4026 * java/security/AccessControlContext.java,
4027 java/security/SecureClassLoader.java:
4028 Fixed javadocs.
4029
4030 2004-07-09 Michael Koch <konqueror@gmx.de>
4031
4032 * java/io/ObjectInputStream.java (readFields): Use long datatype
4033 when shifting byte values more then 24 bits left.
4034
4035 2004-07-09 Michael Koch <konqueror@gmx.de>
4036
4037 * java/util/zip/DeflaterOutputStream.java,
4038 java/util/zip/GZIPInputStream.java,
4039 java/util/zip/GZIPOutputStream.java,
4040 java/util/zip/InflaterInputStream.java:
4041 Reformatted. Added javadocs. Reordered all stuff.
4042 Renamed variables to be more clear.
4043
4044 2004-07-09 Michael Koch <konqueror@gmx.de>
4045
4046 * javax/imageio/IIOException.java,
4047 javax/imageio/event/IIOReadProgressListener.java,
4048 javax/imageio/event/IIOReadUpdateListener.java,
4049 javax/imageio/event/IIOReadWarningListener.java,
4050 javax/imageio/event/IIOWriteProgressListener.java,
4051 javax/imageio/event/IIOWriteWarningListener.java:
4052 New files.
4053 * Makefile.am: Added new files.
4054 * Makefile.in: Regenerated.
4055
4056 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4057
4058 * java/text/RuleBasedCollator.java
4059 (mergeRules): Use ArrayList instead of Vector.
4060 (subParseString): likewise.
4061 (parseString): likewise.
4062 (buildCollationVector): likewise.
4063 (getCollationKey): likewise.
4064
4065 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4066
4067 * java/text/DateFormat.java (parse):
4068 Improved javadoc. Improved exception message.
4069
4070 2004-07-09 Mark Wielaard <mark@klomp.org>
4071
4072 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4073 interrupted() method to clear interupt flag of our Thread.
4074
4075 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4076
4077 * java/nio/Buffer.java,
4078 java/nio/ByteBuffer.java,
4079 java/nio/ByteBufferHelper.java,
4080 java/nio/ByteBufferImpl.java,
4081 java/nio/CharBuffer.java,
4082 java/nio/CharBufferImpl.java,
4083 java/nio/CharViewBufferImpl.java,
4084 java/nio/DirectByteBufferImpl.java,
4085 java/nio/DoubleBuffer.java,
4086 java/nio/DoubleBufferImpl.java,
4087 java/nio/DoubleViewBufferImpl.java,
4088 java/nio/FloatBuffer.java,
4089 java/nio/FloatBufferImpl.java,
4090 java/nio/FloatViewBufferImpl.java,
4091 java/nio/IntBuffer.java,
4092 java/nio/IntBufferImpl.java,
4093 java/nio/IntViewBufferImpl.java,
4094 java/nio/LongBuffer.java,
4095 java/nio/LongBufferImpl.java,
4096 java/nio/LongViewBufferImpl.java,
4097 java/nio/MappedByteBufferImpl.java,
4098 java/nio/ShortBuffer.java,
4099 java/nio/ShortBufferImpl.java,
4100 java/nio/ShortViewBufferImpl.java:
4101 Fixed javadocs all over. Improved input error
4102 checking.
4103
4104 * java/nio/Buffer.java
4105 (checkForUnderflow, checkForOverflow, checkIndex,
4106 checkIfReadOnly, checkArraySize): New helper methods
4107 for error checking.
4108
4109 * java/nio/ByteBufferHelper.java
4110 (checkRemainingForRead, checkRemainingForWrite,
4111 checkAvailableForRead, checkAvailableForWrite): Removed
4112 no longer needed methods.
4113
4114 2004-07-09 Michael Koch <konqueror@gmx.de>
4115
4116 * gnu/regexp/CharIndexedInputStream.java:
4117 Reordered imports to match classpath.
4118
4119 2004-07-09 Michael Koch <konqueror@gmx.de>
4120
4121 * gnu/java/awt/EmbeddedWindow.java:
4122 Load native library for setWindowPeer method.
4123
4124 2004-07-08 Randolph Chung <tausq@debian.org>
4125
4126 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4127 * configure: Regenerate.
4128 * configure.host: Set can_unwind_signal for hppa*-linux.
4129 * include/pa-signal.h: New file.
4130
4131 2004-07-07 Per Bothner <per@bothner.com>
4132
4133 * Makefile.am: Add rules to build libgij from just gij.cc.
4134
4135 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4136 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4137 (initializeClass): If verbose_class_flag, print message.
4138 * gij.cc (main): Handle -verbose:class flag.
4139
4140 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4141
4142 * configure.host: Enable hash synchronization on Darwin.
4143 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4144 ';', since this is a comment on Darwin.
4145 (compare_and_swap_release): Likewise.
4146
4147 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4148
4149 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4150 file portion of URL in addition to spec for file: protocol.
4151
4152 2004-07-05 Anthony Green <green@redhat.com>
4153
4154 * java/io/File.java (toURI): Merge from Classpath.
4155
4156 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4157
4158 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4159 before passing to URL constructor. Rethrow any MalformedURLException
4160 as a RuntimeException. Catch MalformedURLException specifically, not
4161 all exceptions.
4162
4163 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4164
4165 * java/util/Locale.java (readObject): Intern strings read from object
4166 stream.
4167
4168 2004-07-04 Michael Koch <konqueror@gmx.de>
4169
4170 * gnu/gcj/runtime/FirstThread.java,
4171 gnu/gcj/runtime/natFirstThread.cc: Removed.
4172 * gnu/java/lang/MainThread.java,
4173 gnu/java/lang/natMainThread.cc: New files.
4174 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4175 * Makefile.am: Added new files and removed deleted ones.
4176 * Makefile.in: Regenerated.
4177
4178 2004-07-03 Mark Wielaard <mark@klomp.org>
4179 Anthony Green <green@redhat.com>
4180
4181 * java/net/URL.java (getFile): Clarify return value doc.
4182 (getPath): Return null if file is empty - not empty String.
4183 (set): Convert protocol to lower case before doing anything.
4184 Only change the protocol handler if it's different.
4185
4186 2004-07-03 Anthony Green <green@redhat.com>
4187
4188 * java/net/URL.java (URL): Convert protocol to lower case before
4189 doing anything, so we getURLStreamHandler() with the proper value.
4190
4191 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4192
4193 * java/util/Locale.java (hashcode): Made transient.
4194 (hashCode): No longer synchronized.
4195 (equals): Remove comment.
4196 (writeObject): No longer synchronized. Implement using writeObject
4197 calls instead of tweaking hashCode field. Update doc.
4198 (readObject): Implement using readObject calls.
4199
4200 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4201 Andreas Tobler <a.tobler@schweiz.ch>
4202
4203 * configure.host (powerpc-*-darwin*): New case, define
4204 can_unwind_signal.
4205 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4206 * configure: Regenerate.
4207 * include/darwin-signal.h: New.
4208
4209 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4210
4211 * java/beans/Statement.java (doExecute): Fix formatting.
4212
4213 2004-06-29 Per Bothner <per@bothner.com>
4214
4215 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4216 etc etc): Remove needless parenthesis, which causes __stdcall__
4217 attribute on MinGW to get ignored.
4218
4219 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4220
4221 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4222
4223 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4224
4225 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4226
4227 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4228
4229 * java/beans/Expression.java: New file.
4230 * java/beans/Statement.java: New file.
4231 * Makefile.am: Added new files.
4232 * Makefile.in: Re-generate.
4233
4234 2004-06-27 Mark Wielaard <mark@klomp.org>
4235
4236 * java/io/FilePermission.java (usingPerms): Removed.
4237 (actionsString): Made final.
4238 (cachePerms): Renamed to checkPerms.
4239 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4240 on action String.
4241 (FilePermission): Check arguments, call checkPerms().
4242 (equals): Remove cachePerms() call.
4243 (implies): Likewise.
4244
4245 2004-06-27 Mark Wielaard <mark@klomp.org>
4246
4247 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4248 final field.
4249 (sendRequest): Use new field in user-agent http agent.
4250
4251 2004-06-27 Mark Wielaard <mark@klomp.org>
4252
4253 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4254 when argument is null.
4255
4256 2004-06-26 Mark Wielaard <mark@klomp.org>
4257
4258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4259 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4260 GetMethodID call.
4261 (cancel_clicked): Likewise.
4262
4263 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4264
4265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4266 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4267 can not calculate the right value.
4268 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4269
4270 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4271
4272 * testsuite/libjava.jacks/jacks.xfail: Remove
4273 15.9.1-qualified-concrete-20.
4274
4275 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4276
4277 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4278 encoding name to iconv.
4279 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4280
4281 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4282
4283 PR libgcj/16134:
4284 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4285 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4286 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4287
4288 2004-06-21 Andrew Haley <aph@redhat.com>
4289
4290 * java/io/ObjectOutputStream.java: Add DEBUG statements
4291 everywhere.
4292 (dumpElementln): New method.
4293 (depth): New field.
4294 * java/io/ObjectInputStream.java
4295 (currentClassLoader): Make native.
4296 (callersClassLoader): New field.
4297 (depth): New field.
4298 (readObject): ENDBLOCKDATA is generated if the class has a write
4299 method, not if it has a read method.
4300 (readObject): Save and restore this.currentObject and
4301 this.currentObjectStreamClass around calls to callReadMethod().
4302 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4303 method.
4304
4305 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4306
4307 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4308 darwin.
4309
4310 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4311
4312 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4313 if desired, before the default class loader is initialised.
4314 Call INIT_SEGV only if HANDLE_SEGV is defined.
4315
4316 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4317
4318 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4319 directory only if it actually exists.
4320
4321 2004-06-18 Graydon Hoare <graydon@redhat.com>
4322
4323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4324 Fix up non-ansi comments.
4325
4326 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4327
4328 * javax/swing/text/AbstractDocument.java: Adding missing import
4329 for javax.swing.event.EventListenerList.
4330 * javax/swing/text/DefaultCaret.java: Likewise.
4331
4332 2004-06-17 Michael Koch <konqueror@gmx.de>
4333
4334 * javax/swing/JToolBar.java
4335 (name): Removed.
4336 (JToolBar): Use Component.setName(String) instead of doing it all
4337 alone.
4338 * javax/swing/Timer.java
4339 (queueEvent): Added missing modifier.
4340
4341 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4342
4343 * Makefile.am: Added new file.
4344 * Makefile.in: Re-generate.
4345 * javax/swing/JMenu.java:
4346 (insertSeparator): Implemented.
4347 * javax/swing/JPopupMenu.java:
4348 (JPopupMenu.Separator): Implemented.
4349 * javax/swing/MenuSelectionManager.java:
4350 (processMouseEvent): Use java.awt.Component
4351 for event source instead of javax.swing.JComponent.
4352 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4353 New File. Implemented.
4354
4355 2004-06-16 David Jee <djee@redhat.com>
4356
4357 * java/awt/GridBagLayout.java
4358 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4359 Make sure pos_x and pos_y are never negative.
4360
4361 2004-04-16 Andrew Overholt <overholt@redhat.com>
4362
4363 * Makefile.am: Add new file.
4364 * Makefile.in: Re-generate.
4365 * javax/swing/JToolBar.java
4366 Partially implemented.
4367 * javax/swing/plaf/basic/BasicToolBarUI.java
4368 New file. Partially implemented.
4369
4370 2004-06-16 Graydon Hoare <graydon@redhat.com>
4371
4372 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4373 (setComposite): Accept AlphaComposite arguments.
4374 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4375 (createBufferedImage): Add new overloads.
4376 * gnu/java/awt/peer/gtk/GtkToolkit.java
4377 (createImage): Use GdkPixbufDecoder.createBufferedImage
4378 when useGraphics2D() is true.
4379 (getImage): Delegate to createImage.
4380 * javax/swing/JList.java
4381 (isSelectionEmpty):
4382 (getFirstVisibleIndex):
4383 (getLastVisibleIndex):
4384 (setSelectedValue):
4385 (ensureIndexIsVisible): New methods.
4386 * javax/swing/Timer.java: Reimplement.
4387
4388 2004-06-16 Michael Koch <konqueror@gmx.de>
4389
4390 * javax/swing/text/AbstractDocument.java
4391 (AbstracElement): Made public, implements java.io.Serializable.
4392 (AttributeContext): Made public.
4393 (BranchElement): Likewise.
4394 (Content): Likewise.
4395 (DefaultDocumentEvent): Made public, extends
4396 javax.swing.undo.CompoundEdit.
4397 (ElementEdit): Made public, extends
4398 javax.swing.undo.AbstractUndoableEdit.
4399 (LeafElement): Made public.
4400 (LeafElement.LeafElement): Made public.
4401
4402 2004-06-16 Michael Koch <konqueror@gmx.de>
4403
4404 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4405 methods (that were obviously never be intended to get included hi this
4406 class. Added some methods too.
4407
4408 2004-06-16 Michael Koch <konqueror@gmx.de>
4409
4410 * javax/swing/text/PlainDocument.java
4411 (serialVersionUID): New constant.
4412 (lineLimitAttribute): Likewise.
4413 (tabSizeAttribute): Likewise.
4414 (tabSize): New field.
4415 (PlainDocument): Made public.
4416 (PlainDocument): New constructor.
4417
4418 2004-06-16 Michael Koch <konqueror@gmx.de>
4419
4420 * javax/swing/text/AbstractDocument.java
4421 (insertString): Throws BadLocationException.
4422 * javax/swing/text/Document.java
4423 (insertString): Likewise.
4424 * javax/swing/text/JTextComponent.java:
4425 Javadocs and comments cleaned up.
4426
4427 2004-06-16 Michael Koch <konqueror@gmx.de>
4428
4429 * javax/swing/event/UndoableEditListener.java: Reformatted.
4430 * javax/swing/text/AbstractDocument.java
4431 (AbstractDocument): Implements java.io.Serializable.
4432 (doc_list): Removed.
4433 (undo_list): Removed.
4434 (AbstractElement.serialVerionUID): New field.
4435 (BranchElement.serialVerionUID): Likewise.
4436 (DefaultDocumentEvent.serialVerionUID): Likewise.
4437 (ElementEdit.serialVerionUID): Likewise.
4438 (LeafElement.serialVerionUID): Likewise.
4439 (serialVerionUID): Likewise.
4440 (BAD_LOCATION): New constant.
4441 (BidiElementName): Likewise.
4442 (ContentElementName): Likewise.
4443 (ParagraphElementName): Likewise.
4444 (SectionElementName): Likewise.
4445 (ElementNameAttribute): Likewise.
4446 (AbstractDocument): Made protected.
4447 (AbstractDocument): New construtor.
4448 (listenerList): New field.
4449 (fireChangedUpdate): Implemented.
4450 (fireInsertUpdate): Likewise.
4451 (fireRemoveUpdate): Likewise.
4452 (fireUndoableEditUpdate): Likewise.
4453 (getListeners): Likewise.
4454 (addDocumentListener): Likewise.
4455 (removeDocumentListener): Likewise.
4456 (addUndoableEditListener): Likewise.
4457 (removeUndoableEditListener): Likewise.
4458 (getDocumentListeners): New method.
4459 (getUndoableEditListeners): Likewise.
4460 (getAsynchronousLoadPriority): Made public.
4461 (getBidiRootElement): Likewise.
4462 (setAsynchronousLoadPriority): Likewise.
4463 (setDocumentProperties): Likewise.
4464 * javax/swing/text/BadLocationException.java
4465 (serialVerionUID): New field.
4466 * javax/swing/text/DefaultCaret.java
4467 (changeEvent): New field.
4468 (listenerList): Likewise.
4469 (changes): Removed.
4470 (addChangeListener): Reimplemented.
4471 (removeChangeListener): Likewise.
4472 (getListeners): New method.
4473 (getChangeListeners): Likwise.
4474 (getComponent): Likewise.
4475 * javax/swing/text/GapContent.java
4476 (GapContent): Implements java.io.Serializable.
4477 (serialVerionUID): New field.
4478
4479 2004-06-16 Michael Koch <konqueror@gmx.de>
4480
4481 * javax/swing/JTree.java
4482 (treeModel): New field.
4483 (JTree): New constructors, one existing one made public.
4484 (createTreeModel): New method.
4485 (addTreeExpansionListener): Likewise.
4486 (removeTreeExpansionListener): Likewise.
4487 (getTreeExpansionListeners): Likewise.
4488 (fireTreeCollapsed): Likewise.
4489 (fireTreeExpanded): Likewise.
4490 (addTreeSelectionListener): Likewise.
4491 (removeTreeSelectionListener): Likewise.
4492 (getTreeSelectionListeners): Likewise.
4493 (fireValueChanged): Likewise.
4494 (addTreeWillExpandListener): Likewise.
4495 (removeTreeWillExpandListener): Likewise.
4496 (getTreeWillExpandListeners): Likewise.
4497 (fireTreeWillCollapse): Likewise.
4498 (fireTreeWillExpand): Likewise.
4499
4500 2004-06-16 Michael Koch <konqueror@gmx.de>
4501
4502 * javax/swing/JTree.java: Reformatted.
4503
4504 2004-06-16 Michael Koch <konqueror@gmx.de>
4505
4506 * javax/swing/JTextArea.java: New file.
4507 * javax/swing/JTextField.java
4508 (actions): Removed.
4509 (notifyAction): New constant.
4510 (columns): New field.
4511 (JTextField): New constructors.
4512 (createDefaultModel): New method.
4513 (addActionListener): Reimplmemented.
4514 (removeActionListener): Reimplemented.
4515 (getActionListeners): New method.
4516 (fireActionPerformed): New method.
4517 (getColumns): New method.
4518 (setColumne): New method.
4519 * javax/swing/text/JTextComponent.java
4520 (AccessibleJTextComponent.serialVersionUID): New field.
4521 (serialVersionUID): Likewise.
4522 (DEFAULT_KEYMAP): Likewise.
4523 (FOCUS_ACCELERATOR_KEY): Likewise.
4524 (doc): Made private.
4525 (icon_gap): Likewise.
4526 (icon): Likewise.
4527 (align): Likewise.
4528 (JTextComponent): Some constructors removed.
4529 (getScrollableTracksViewportHeight): New method.
4530 (getScrollableTracksViewportWidth): Likewise.
4531 * Makefile.am: Added javax/swing/JTextArea.java.
4532 * Makefile.in: Regenerated.
4533
4534 2004-06-15 Graydon Hoare <graydon@redhat.com>
4535
4536 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4537 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4538 * javax/swing/JViewport.java
4539 (getExtentSize): Return size rather than preferred size.
4540 (toViewCoordinates): New methods.
4541 (getViewSize): Return size rather than preferred size.
4542 (setViewSize): Note view size as set.
4543 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4544 * javax/swing/plaf/basic/BasicScrollBarUI.java
4545 (getPreferredSize): Don't redo layout.
4546 * javax/swing/plaf/basic/BasicViewportUI.java
4547 (paint): Translate image properly and eat exceptions.
4548
4549 2004-06-15 Kim Ho <kho@redhat.com>
4550
4551 * javax/swing/JTabbedPane.java
4552 (setComponent): Remove old component and
4553 add new component.
4554 (setSelectedIndex): Don't operate on the
4555 components if they're null. Don't set index
4556 on the model if the index is the same.
4557 (insertTab): Don't add or hide the component
4558 if it's null. Repaint the container.
4559 * javax/swing/plaf/basic/BasicLookAndFeel.java
4560 Change colors for TabbedPane.
4561 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4562 (mousePressed): Re-layout and paint the component.
4563 (layoutContainer): Don't set location on the view.
4564 (ScrollingViewport::paint): Remove.
4565
4566 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4567
4568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4569 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4570
4571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4572 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4573 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4574 critical region.
4575 (drawLine): Call gdk_flush before leaving GDK critical region.
4576 (fillRect): Likewise.
4577 (drawRect): Likewise.
4578 (copyArea): Likewise.
4579 (copyPixmap): Likewise.
4580 (clearRect): Likewise.
4581 (drawArc): Likewise.
4582 (drawPolyline): Likewise.
4583 (drawPolygon): Likewise.
4584 (fillPolygon): Likewise.
4585 (fillArc): Likewise.
4586 (drawOval): Likewise.
4587 (fillOval): Likewise.
4588
4589 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4590 style parameter.
4591 (GdkFontMetrics): Add style argument to initState call.
4592 (stringWidth(String,int,int,String)): Add style parameter.
4593 (stringWidth(String)): Add style argument to stringWidth call.
4594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4595 (initState): Set pango font style and weight based on AWT style
4596 parameter. Pass default GTK language to
4597 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4598 simply dividing by PANGO_SCALE.
4599 (stringWidth): Set pango font style and weight based on AWT style
4600 parameter.
4601
4602 * java/awt/Button.java (next_button_number): New field.
4603 (paramString): Change output.
4604 (generateName): New method.
4605 (getUniqueLong): New method.
4606
4607 2004-06-14 Kim Ho <kho@redhat.com>
4608
4609 * javax/swing/JTabbedPane.java:
4610 (setComponentAt): Set the component, not
4611 the enabled status.
4612 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4613 (actionPerformed): Let deiconize catch exception.
4614
4615 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4616
4617 * javax/swing/JPopupMenu.java:
4618 (setVisible): Corrected location of a
4619 heavyweight popup menu.
4620
4621 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4622
4623 * javax/swing/MenuSelectionManager.java:
4624 Ran through jalopy to fix formatting style.
4625
4626 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4627
4628 * javax/swing/JLayeredPane.java:
4629 (remove): Revalidate and repaint layered pane after
4630 the component was removed.
4631 javax/swing/JMenu.java:
4632 (setVisible): Display popup menu at the user location,
4633 if one was set by the user.
4634 (setMenuLocation): Reimplemented. Fixed javadoc.
4635 * javax/swing/JMenuBar.java: Added javadoc.
4636 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4637 (MODEL_CHANGED_PROPERTY): New Property.
4638 (isSelected): Implemented.
4639 (setBorderPainted): Fire PropertyChangeEvent
4640 if paintBorder property changes.
4641 (setSelected): Implemented.
4642 (setSelectionModel): Implemented.
4643 * javax/swing/JPopupMenu.java: Added Javadoc
4644 (pack): Implemented.
4645 (setVisible): Reimplemented.
4646 (show): Fixed location.
4647 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4648 Container instead of JPanel.
4649 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4650 (clearSelectedPath): Reimplemented to clear selectedPath
4651 in reverse order.
4652 (processMouseEvent): Reimplemented.
4653 (setSelectedPath): Fire stateChange event indicating that
4654 selected menu path has changed.
4655 (getPath): Change to use ArrayList instead of Vector.
4656 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4657 (installUI): call installKeyboardActions().
4658 (uninstallUI): call uninstallKeyboardActions().
4659
4660 2004-06-13 Michael Koch <konqueror@gmx.de>
4661
4662 * javax/swing/text/DefaultCaret.java,
4663 javax/swing/text/BadLocationException.java:
4664 Reformatted.
4665
4666 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4667
4668 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4669 DEFAULT_COLS): New variables.
4670 (create): Don't allow 0 rows or 0 columns. Instead, set the
4671 values to DEFAULT_ROWS or DEFAULT_COLS.
4672 (getMinimumSize): Likewise.
4673 (getPreferredSize): Likewise.
4674 (minimumSize): Likewise.
4675 (preferredSize): Likewise.
4676 (create): Set peer's editable state.
4677 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4678 zero. Update javadocs.
4679 (TextArea(String)): Likewise.
4680 (TextArea(int,int)): Fix javadocs.
4681 (TextArea(String,int,int,int)): Only throw exception if one of
4682 rows or columns is zero. Fix javadocs.
4683
4684 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4685
4686 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4687 addition to Components.
4688
4689 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4690 wasn't consumed by normal processing, send it to the parent
4691 menu.
4692
4693 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4694 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4695 translation.
4696
4697 2004-06-11 David Jee <djee@redhat.com>
4698
4699 * java/awt/MediaTracker.java
4700 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4701 (addImage(Image,int,int,int)): Likewise.
4702
4703 2004-06-11 Michael Koch <konqueror@gmx.de>
4704
4705 * javax/swing/text/AbstractDocument.java,
4706 javax/swing/text/Document.java,
4707 javax/swing/text/GapContent.java,
4708 javax/swing/text/JTextComponent.java,
4709 javax/swing/text/PlainDocument.java:
4710 Reformatted.
4711
4712 2004-06-11 Michael Koch <konqueror@gmx.de>
4713
4714 * javax/swing/JRootPane.java
4715 (AccessibleJRootPane.serialVersionUID): New field.
4716 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4717 (AccessibleJRootPane.getAccessibleRole): New method.
4718 (RootLayout): Implements Serializable.
4719 (RootLayout.serialVersionUID): New field.
4720 (RootLayout.RootLayout): New constructor.
4721 (setJMenuBar): Made public.
4722 (getJMenuBar): Likewise.
4723 (JRootPane): Likewise.
4724 (createContentPane): Likewise.
4725 (createGlassPane): Likewise.
4726 (createLayeredPane): Likewise.
4727
4728 2004-06-11 Michael Koch <konqueror@gmx.de>
4729
4730 * javax/swing/SwingUtilities.java
4731 (isLeftMouseButton): Fixed javadoc.
4732 (isMiddleMouseButton): Likewise.
4733 (isRightMouseButton): Likewise.
4734
4735 2004-06-11 Michael Koch <konqueror@gmx.de>
4736
4737 * javax/swing/JScrollPane.java
4738 (serialVersionUID): New field.
4739 (columnHeader): Made protected.
4740 (rowHeader): Likewise.
4741 (lowerLeft): Likewise.
4742 (lowerRight): Likewise.
4743 (upperLeft): Likewise.
4744 (upperRight): Likewise.
4745 (horizontalScrollBar): Likewise.
4746 (horizontalScrollBarPolicy): Likewise.
4747 (verticalScrollBar): Likewise.
4748 (verticalScrollBarPolicy): Likewise.
4749 (viewport): Likewise.
4750
4751 2004-06-11 Michael Koch <konqueror@gmx.de>
4752
4753 * javax/swing/LookAndFeel.java: Fixed javadocs.
4754
4755 2004-06-11 Michael Koch <konqueror@gmx.de>
4756
4757 * javax/swing/JEditorPane.java: Fixed javadocs.
4758 (JEditorPane): Removed redundant call to to this().
4759 (fireHyperlinkUpdate): Implemented.
4760
4761 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4762
4763 * javax/swing/JMenu.java: Fixed file name
4764 in the file comment.
4765
4766 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4767
4768 * javax/swing/JMenu.java: Added javadoc.
4769 (JMenu): Added MenuChangeListener to listen to
4770 ChangeEvents occuring in menu's model.
4771 (insert): Throw IllegalArgumentException if
4772 index is less than 0
4773 (setSelected): Reimplement.
4774 (setPopupMenuVisible): Call menu's model isEnabled()
4775 (setDelay): Throw IllegalArgumentException if
4776 given amount of delay is less than 0.
4777 (createActionComponent): Implemented.
4778 (createActionChangeListener): Implemented.
4779 (addSeparator): Implemented.
4780 (getItem): Throw IllegalArgumentException if index is
4781 less than 0.
4782 (getItemCount): Implemented.
4783 (fireMenuSelected): Changed to use menuEvent.
4784 (fireMenuDeselected): Likewise.
4785 (fireMenuCanceled): Likewise.
4786 (setAccelerator): Changed to throw an error if this
4787 method is used.
4788 (doClick): Implemented.
4789 (JMenu.ActionChangedListener): New inner class to handle
4790 PropertyChangeEvents occuring in the actions associated with menu.
4791 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4792 (BasicMenuUI): Added PropertyChangeListener to the menu.
4793 (createChangeListener): Implemented.
4794 (createMenuDragMouseListener): Likewise.
4795 (createMenuKeyListener): Likewise.
4796 (createPropertyChangeListener): Likewise.
4797 (uninstallListeners): Likewise.
4798 (BasicMenuUI.MouseInputHandler): Reimplemented.
4799 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4800 (BasicMenuUI.ChangeHandler): Likewise.
4801 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4802 (BasicMenuUI.MenuKeyHandler): Likewise.
4803
4804 2004-06-10 David Jee <djee@redhat.com>
4805
4806 * java/awt/MediaTracker.java
4807 (imageUpdate): Only do notifyAll() if the image is complete.
4808
4809 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4810
4811 * javax/swing/JApplet.java:
4812 (getJMenuBar): Made public.
4813 (setJMenuBar): Likewise.
4814 * javax/swing/JFrame.java:
4815 (getJMenuBar): Made public.
4816 (setJMenuBar): Likewise.
4817 * javax/swing/JWindow.java:
4818 (getJMenuBar): Removed.
4819 (setJMenuBar): Removed.
4820
4821 2004-06-10 Michael Koch <konqueror@gmx.de>
4822
4823 * javax/swing/JEditorPane.java
4824 (createEditorKitForContentType): Fixed visibility.
4825 (fireHyperlinkUpdate): Likewise.
4826 (getContentType): Likewise.
4827 (getEditorKit): Likewise.
4828 (getEditorKitForContentType): Likewise.
4829 (getPage): Likewise.
4830 (read): Likewise.
4831 (registerEditorKitForContentTyoe): Likewise.
4832 (replaceSelection): Likewise.
4833 (setContentType): Likewise.
4834 (setEditorKit): Likewise.
4835 (setPage): Likewise.
4836
4837 2004-06-10 Michael Koch <konqueror@gmx.de>
4838
4839 * javax/swing/Timer.java
4840 (Timer): New constructor.
4841 * javax/swing/plaf/basic/BasicProgressBarUI.java
4842 (animationTimer): Don't initialize at construction.
4843 (startAnimationTimer): Added since tag.
4844 (stopAnimationTimer): Likewise.
4845 (installUI): Use new Timer constructor.
4846 * javax/swing/plaf/basic/BasicScrollBarUI.java
4847 (installUI): Likewise.
4848 * javax/swing/plaf/basic/BasicSliderUI.java
4849 (installUI): Likewise.
4850
4851 2004-06-10 Michael Koch <konqueror@gmx.de>
4852
4853 * javax/swing/ButtonGroup.java
4854 (serialVersionUID): Made private.
4855 (buttons): Renamed from v, added javadoc.
4856 (sel): Added javadoc.
4857 (ButtonGroup): Likewise.
4858 (add): Likewise.
4859 (remove): Likewise.
4860 (getElements): Likewise.
4861 (getSelection): Likewise.
4862 (setSelected): Likewise.
4863 (isSelected): Likewise.
4864 (getButtonCount): Likewise.
4865
4866 2004-06-10 Michael Koch <konqueror@gmx.de>
4867
4868 * javax/swing/ButtonGroup.java,
4869 javax/swing/ImageIcon.java,
4870 javax/swing/JEditorPane.java,
4871 javax/swing/JRootPane.java,
4872 javax/swing/JTextField.java,
4873 javax/swing/LookAndFeel.java,
4874 javax/swing/plaf/basic/BasicTextUI.java:
4875 Reindented.
4876
4877 2004-06-10 Michael Koch <konqueror@gmx.de>
4878
4879 * javax/swing/text/Style.java: Added javadocs.
4880
4881 2004-06-10 Michael Koch <konqueror@gmx.de>
4882
4883 * javax/swing/JComponent.java
4884 (fireVetoableChange): Removed redundant cast.
4885 * javax/swing/JLabel.java
4886 (getDisabledIcon): Save icon for next call.
4887
4888 2004-06-10 Michael Koch <konqueror@gmx.de>
4889
4890 * javax/swing/KeyStroke.java
4891 (getKeyStroke(char,boolean)): Marked deprecated.
4892
4893 2004-06-10 Michael Koch <konqueror@gmx.de>
4894
4895 * javax/swing/DefaultCellEditor.java,
4896 javax/swing/GrayFilter.java,
4897 javax/swing/event/DocumentEvent.java,
4898 javax/swing/text/JTextComponent.java,
4899 javax/swing/text/MutableAttributeSet.java:
4900 Reindented.
4901
4902 2004-06-10 Michael Koch <konqueror@gmx.de>
4903
4904 * javax/swing/plaf/BorderUIResource.java:
4905 Added serialVersionUID all over.
4906
4907 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
4908
4909 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4910
4911 2004-06-10 Michael Koch <konqueror@gmx.de>
4912
4913 * javax/swing/table/DefaultTableCellRenderer.java
4914 (noFocusBorder): Initialize directly.
4915
4916 2004-06-10 Michael Koch <konqueror@gmx.de>
4917
4918 * javax/swing/plaf/basic/BasicArrowButton.java
4919 (setDirection): Use method argument.
4920
4921 2004-06-10 Michael Koch <konqueror@gmx.de>
4922
4923 * javax/swing/plaf/BorderUIResource.java,
4924 javax/swing/plaf/ComponentUI.java,
4925 javax/swing/undo/CompoundEdit.java,
4926 javax/swing/undo/StateEdit.java:
4927 Fixed javadocs all over.
4928
4929 2004-06-10 Michael Koch <konqueror@gmx.de>
4930
4931 * javax/swing/DefaultButtonModel.java
4932 (ARMED): Made public final, fixed value.
4933 (ENABLED): Likewise.
4934 (PRESSED): Likewise.
4935 (ROLLOVER): Likewise.
4936 (SELECTED): Likewise.
4937 (stateMask): Initialize directly.
4938 (listenerList): Likewise.
4939 (mnemonic): Likewise.
4940 (fireStateChanged): Removed argument, use changeEvent as event.
4941 All places where this method is called are fixed too.
4942 (getActionCommant): Fixed javadoc.
4943 (setGroup): Fixed javadoc.
4944 (getGroup): New method.
4945
4946 2004-06-09 Olga Rodimina <rodimina@redhat.com>
4947
4948 * javax/swing/AbstractButton.java
4949 (AbstractButton): Use init() to initialize the button.
4950 (init): New Method. Initializes AbstractButton.
4951 * javax/swing/JMenuItem.java: Documented.
4952 (JMenuItem): Reimplemented.
4953 (init): Implemented.
4954 (setEnabled): Changed to call super.setEnabled()
4955 (processMouseEvent): Reimplemented.
4956 (fireMenuKeyPressed): Implemented.
4957 (fireMenuKeyReleased): Implemented.
4958 (fireMenuKeyTyped): Implemented.
4959 (menuSelectionChanged): disarm the model if the menu item was
4960 deselected.
4961 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
4962 (getPath): Change to use ArrayList instead of Vector.
4963 (getPreferredSize): Renamed variable.
4964 (paintMenuItem): Paint margin area of menu item.
4965 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
4966 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
4967 menu item's bounds before clearing the selection.
4968
4969 2004-06-09 David Jee <djee@redhat.com>
4970
4971 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4972 (GtkTextComponentPeer): Set caret position to 0.
4973 * java/awt/TextComponent.java
4974 (setText): Set caret position to 0.
4975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4976 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
4977 Handle GtkScrolledWindow separately. Fix signal handler blocking.
4978 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
4979 Likewise.
4980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4981 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
4982 visible.
4983
4984 2004-06-09 Kim Ho <kho@redhat.com>
4985
4986 * Makefile.am: New files
4987 * Makefile.in: Regenerated
4988 * java/awt/Container.java
4989 (getComponentAt): Removed.
4990 * javax/swing/AbstractAction.java
4991 (ENABLED_PROPERTY): New property.
4992 (putValue): Fire PropertyChangeEvents.
4993 (setEnabled): ditto.
4994 (firePropertyChange): Javadoc and implement
4995 convenience method.
4996 * javax/swing/AbstractButton.java
4997 (setAction): Don't create PropertyChangeListener
4998 if new Action is null.
4999 (setIcon): Don't set icon till after comparing
5000 it.
5001 (configurePropertiesFromAction): Check mnemonic
5002 key before calling intValue().
5003 (createActionPropertyChangeListener): Check
5004 properties rather than bulk change.
5005 * javax/swing/DefaultDesktopManager.java:
5006 Implement.
5007 * javax/swing/DesktopManager.java:
5008 Jalopy and javadoc.
5009 * javax/swing/JComponent.java
5010 (fireVetoableChange): Implement.
5011 (paintImmediately): Use root component.
5012 * javax/swing/JDesktopPane.java: Implement
5013 * javax/swing/JInternalFrame.java: Implement
5014 * javax/swing/JLabel.java
5015 (getDisabledIcon): Return grayscaled icon if
5016 no disabled icon specified.
5017 * javax/swing/JMenuBar.java
5018 (getComponentAtIndex): Use getComponent
5019 * javax/swing/JOptionPane.java
5020 (getDesktopPaneForComponent): Use SwingUtilities'
5021 getAncestorOfClass
5022 (getFrameForComponent): ditto.
5023 * javax/swing/JSplitPane.java
5024 (remove): Use getComponent.
5025 * javax/swing/SwingUtilities.java
5026 (convertPoint): Implement.
5027 * javax/swing/plaf/basic/BasicButtonUI.java
5028 (paintButtonNormal): Check opaqueness before
5029 filling background.
5030 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5031 Implement
5032 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5033 Implement.
5034 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5035 Implement.
5036 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5037 Implement.
5038 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5039 Change InternalFrame and Desktop colors.
5040
5041 2004-06-09 David Jee <djee@redhat.com>
5042
5043 * java/awt/Container.java
5044 (remove): Do not set component to invisible.
5045
5046 2004-06-09 Michael Koch <konqueror@gmx.de>
5047
5048 * javax/swing/tree/DefaultMutableTreeNode.java
5049 (getLeafCount): Renamed enum to e.
5050
5051 2004-06-09 Michael Koch <konqueror@gmx.de>
5052
5053 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5054 (positionForMouseEvent): Removed redundant semicolon.
5055 (continueDrag): Use method arguments.
5056
5057 2004-06-09 Michael Koch <konqueror@gmx.de>
5058
5059 * javax/swing/border/TitledBorder.java,
5060 javax/swing/filechooser/FileSystemView.java,
5061 javax/swing/plaf/basic/BasicButtonListener.java,
5062 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5063 javax/swing/plaf/basic/BasicLabelUI.java,
5064 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5065 javax/swing/plaf/basic/BasicScrollBarUI.java,
5066 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5067 javax/swing/plaf/basic/BasicSliderUI.java,
5068 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5069 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5070 javax/swing/table/JTableHeader.java,
5071 javax/swing/text/AbstractDocument.java,
5072 javax/swing/text/DefaultCaret.java,
5073 javax/swing/text/StyledEditorKit.java,
5074 javax/swing/tree/DefaultTreeCellEditor.java:
5075 Reworked import statements.
5076
5077 2004-06-08 Graydon Hoare <graydon@redhat.com>
5078
5079 * javax/swing/Box.java: Temporarily comment out code
5080 broken due to visibility bug.
5081
5082 2004-06-09 Michael Koch <konqueror@gmx.de>
5083
5084 * javax/swing/ImageIcon.java
5085 (ImageIcon): Added missing constructor.
5086
5087 2004-06-08 Michael Koch <konqueror@gmx.de>
5088
5089 * javax/swing/JToggleButton.java
5090 (JToggleButton): New constructor.
5091 (getAccessibleContext): Moved documentation into javadoc.
5092 (getUIClassID): Likewise.
5093
5094 2004-06-08 Michael Koch <konqueror@gmx.de>
5095
5096 * javax/swing/AbstractButton.java
5097 (getDisabledIcon): Create disabled icon if none exists yet.
5098
5099 2004-06-08 Michael Koch <konqueror@gmx.de>
5100
5101 * javax/swing/plaf/basic/BasicLookAndFeel.java
5102 (initClassDefaults): Added FormattedTextFieldUI.
5103 (loadResourceBundle): Renamed enum to e.
5104
5105 2004-06-08 Michael Koch <konqueror@gmx.de>
5106
5107 * javax/swing/plaf/basic/BasicButtonUI.java
5108 (paintIcon): Simplified.
5109 (paintText): Paint disabled button correctly.
5110
5111 2004-06-08 Michael Koch <konqueror@gmx.de>
5112
5113 * javax/swing/JComponent.java
5114 (createToolTip): Use official JToolTip API.
5115
5116 2004-06-08 Michael Koch <konqueror@gmx.de>
5117
5118 * javax/swing/JToolTip.java
5119 (JToolTip): No arguments in API.
5120 (setTipText): New method.
5121
5122 2004-06-08 Michael Koch <konqueror@gmx.de>
5123
5124 * javax/swing/SwingUtilities.java
5125 (isLeftMouseButton): New method.
5126 (isMiddleMouseButton): New method.
5127 (isRightMouseButton): New method.
5128
5129 2004-06-08 Michael Koch <konqueror@gmx.de>
5130
5131 * javax/swing/AbstractButton.java,
5132 javax/swing/CellRendererPane.java,
5133 javax/swing/JCheckBoxMenuItem.java,
5134 javax/swing/JColorChooser.java,
5135 javax/swing/JComboBox.java,
5136 javax/swing/JComponent.java,
5137 javax/swing/JDesktopPane.java,
5138 javax/swing/JFileChooser.java,
5139 javax/swing/JMenu.java,
5140 javax/swing/JMenuItem.java,
5141 javax/swing/JOptionPane.java,
5142 javax/swing/JPasswordField.java,
5143 javax/swing/JPopupMenu.java,
5144 javax/swing/JProgressBar.java,
5145 javax/swing/JRadioButtonMenuItem.java,
5146 javax/swing/JScrollBar.java,
5147 javax/swing/JSeparator.java,
5148 javax/swing/JSlider.java,
5149 javax/swing/JSplitPane.java,
5150 javax/swing/JTabbedPane.java,
5151 javax/swing/JTextField.java,
5152 javax/swing/JToolBar.java,
5153 javax/swing/text/JTextComponent.java:
5154 Fixed all constructors of accessibility classes.
5155
5156 2004-06-08 Michael Koch <konqueror@gmx.de>
5157
5158 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5159 over.
5160
5161 2004-06-08 Michael Koch <konqueror@gmx.de>
5162
5163 * javax/swing/Box.java
5164 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5165 (AccessibleBoxFiller.serialVersionUID): New member variable.
5166 * javax/swing/DefaultButtonModel.java
5167 (stateMask): Made protected.
5168 (listenerList): Likewise.
5169 (changeEvent): Likewise.
5170 (group): Likewise.
5171 (mnemonic): Likewise.
5172 (actionCommand): Likewise.
5173 (getListeners): New method.
5174 (getActionListeners): New method.
5175 (getItemListeners): New method.
5176 (getChangeListeners): New method.
5177 (fireItemStateChanged): Simplified.
5178 (fireActionPerformed): Simplified.
5179 (fireStateChanged): Simplified.
5180 * javax/swing/JFrame.java
5181 (JFrame): Implements WindowContants.
5182 (HIDE_ON_CLOSE): Removed.
5183 (EXIT_ON_CLOSE): Removed.
5184 (DISPOSE_ON_CLOSE): Removed.
5185 (DO_NOTHING_ON_CLOSE): Removed.
5186 (processWindowEvent): Exit with code 0.
5187 (setDefaultCloseOperation): Do security check before setting value.
5188 * javax/swing/JOptionPane.java
5189 (message): Initialize only in constructor.
5190 * javax/swing/JToolTip.java: Removed unused imports.
5191 * javax/swing/JViewport.java
5192 (serialVersionUID): New member variable.
5193 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5194 (BLIT_SCROLL_MODE): Likewise.
5195 (BACKINGSTORE_SCROLL_MODE): Likewise.
5196 (scrollUnderway): Made protected.
5197 (isViewSizeSet): Likewise.
5198 * javax/swing/ListModel.java: Fixed javadoc.
5199 * javax/swing/Popup.java: Likewise.
5200 * javax/swing/RepaintManager.java
5201 (paintDirtyRegions): Don't use internal classes of
5202 java.util.AbstractMap.
5203 * javax/swing/ScrollPaneConstants.java: Reindented.
5204 * javax/swing/ScrollPaneLayout.java
5205 (viewport): Made protected.
5206 (verticalScrollBar): Made protected, renamed to vsb.
5207 (horizontalScrollBar): Made protected, renamed to hsb.
5208 (rowHeader): Made protected, renamed to rowHead.
5209 (columnHeader): Made protected, renamed to colHead.
5210 (lowerLeft): Made protected.
5211 (lowerRight): Made protected.
5212 (upperLeft): Made protected.
5213 (upperRight): Made protected.
5214 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5215 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5216
5217 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5218
5219 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5220 LOADING if flags has SOMEBITS set.
5221
5222 2004-06-07 Michael Koch <konqueror@gmx.de>
5223
5224 * javax/swing/AbstractButton.java: Reorganized imports.
5225 * javax/swing/ActionMap.java: Likewise.
5226 * javax/swing/DefaultButtonModel.java: Likewise.
5227 * javax/swing/DefaultListModel.java: Likewise.
5228 * javax/swing/ImageIcon.java: Likewise.
5229 (serialVersionUID): New member variable.
5230 * javax/swing/JComboBox.java: Reorganized imports.
5231 * javax/swing/JComponent.java: Likewise.
5232 (ui): Made protected.
5233 (listenerList): Made protected.
5234 (TOOL_TIP_TEXT_KEY): New constant.
5235 (scrollRectToVisible): Removed redundant null check.
5236 * javax/swing/JFrame.java: Reorganized imports.
5237 * javax/swing/JInternalFrame.java: Reorganized imports.
5238 * javax/swing/JProgressBar.java: Likewise.
5239 * javax/swing/JRootPane.java: Likewise.
5240 * javax/swing/JScrollBar.java: Likewise.
5241 * javax/swing/JSeparator.java: Likewise.
5242 * javax/swing/JSlider.java: Likewise.
5243 * javax/swing/JTabbedPane.java: Likewise.
5244 * javax/swing/JTextField.java: Likewise.
5245 * javax/swing/JToolBar.java: Likewise.
5246 * javax/swing/JTree.java: Likewise.
5247 * javax/swing/JViewport.java: Likewise.
5248 * javax/swing/JWindow.java: Likewise.
5249 * javax/swing/KeyStroke.java: Likewise.
5250 * javax/swing/LookAndFeel.java: Likewise.
5251 * javax/swing/MenuSelectionManager.java: Likewise.
5252 * javax/swing/SwingUtilities.java: Likewise.
5253 * javax/swing/Timer.java: Likewise.
5254 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5255 * javax/swing/JList.java
5256 (HORIZONTAL_WRAP): Made final, fixed value.
5257 (VERTICAL): Likewise.
5258 (VERTICAL_WRAP): Likewise.
5259
5260 2004-06-07 Michael Koch <konqueror@gmx.de>
5261
5262 * javax/swing/AbstractButton.java
5263 (serialVersionUID): New member variable.
5264 (AccessibleAbstractButton.serialVersionUID): Likewise.
5265 (AbstractButton): Made public.
5266 * javax/swing/Box.java
5267 (AccessibleBox.serialVersionUID): New member variable.
5268 (Filler.serialVersionUID): Likewise.
5269 * javax/swing/DefaultListSelectionModel.java
5270 (serialVersionUID): Likewise.
5271 * javax/swing/JApplet.java
5272 (serialVersionUID): Likewise.
5273 * javax/swing/JCheckBox.java
5274 (serialVersionUID): Likewise.
5275 * javax/swing/JCheckBoxMenuItem.java
5276 (serialVersionUID): Likewise.
5277 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5278 * javax/swing/JColorChooser.java
5279 (serialVersionUID): Likewise.
5280 (AccessibleJColorChooser.serialVersionUID): Likewise.
5281 * javax/swing/JComponent.java
5282 (serialVersionUID): Made private.
5283 (AccessibleJComponent.serialVersionUID): New member variable.
5284 * javax/swing/JDesktopPane.java
5285 (serialVersionUID): Likewise.
5286 * javax/swing/JDialog.java
5287 (serialVersionUID): Likewise.
5288 * javax/swing/JFormattedTextField.java
5289 (serialVersionUID): Fixed value.
5290 * javax/swing/JFrame.java
5291 (serialVersionUID): New member variable.
5292 (getDefaultCloseOpertation): Made public.
5293 * javax/swing/JLayeredPane.java
5294 (serialVersionUID): Likewise.
5295 (LAYER_PROPERTY): Made final, fixed value.
5296 (JLayeredPane): Made public.
5297 * javax/swing/JMenu.java
5298 (AccessibleJMenu.serialVersionUID): New member variable.
5299 (WinListener.serialVersionUID): Likewise.
5300 * javax/swing/JMenuBar.java
5301 (serialVersionUID): Likewise.
5302 (getComponentAtIndex): Added @deprecated tag.
5303 * javax/swing/JMenuItem.java
5304 (serialVersionUID): New member variable.
5305 (AccessibleJMenuItem.serialVersionUID): Likewise.
5306 * javax/swing/JOptionPane.java
5307 (serialVersionUID): Likewise.
5308 (AccessibleJOptionPane.serialVersionUID): Likewise.
5309 * javax/swing/JPopupMenu.java
5310 (serialVersionUID): Likewise.
5311 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5312 (getPopupMenuListeners): New method.
5313 (getComponentAtIndex): Added @deprecated tag.
5314 * javax/swing/JProgressBar.java
5315 (serialVersionUID): New member variable.
5316 (AccessibleJProgressBar.serialVersionUID): Likewise.
5317 * javax/swing/JRadioButton.java
5318 (serialVersionUID): Likewise.
5319 * javax/swing/JRadioButtonMenuItem.java
5320 (serialVersionUID): Likewise.
5321 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5322 * javax/swing/JScrollBar.java
5323 (serialVersionUID): Likewise.
5324 (AccessibleJScrollBar.serialVersionUID): Likewise.
5325 * javax/swing/JSeparator.java
5326 (serialVersionUID): Likewise.
5327 (AccessibleJSeparator.serialVersionUID): Likewise.
5328 * javax/swing/JSlider.java: Fixed javadocs.
5329 (AccessibleJSlider.serialVersionUID): New member variable.
5330 * javax/swing/JSplitPane.java: Added copyright statement.
5331 (serialVersionUID): New member variable.
5332 (AccessibleJSplitPane.serialVersionUID): Likewise.
5333 * javax/swing/JTabbedPane.java
5334 (serialVersionUID): Likewise.
5335 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5336 (ModelListener.serialVersionUID): Likewise.
5337 (ModelListener.ModelListener): New constructor.
5338 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5339 (WRAP_TAB_LAYOUT): Likewise.
5340 * javax/swing/JTable.java
5341 (serialVersionUID): New member variable.
5342 * javax/swing/JToggleButton.java
5343 (serialVersionUID): Likewise.
5344 (ToggleButtonModel): Made static.
5345 (ToggleButtonModel.serialVersionUID): New member variable.
5346 * javax/swing/JToolTip.java
5347 (serialVersionUID): Likewise.
5348 * javax/swing/JTree.java
5349 (serialVersionUID): Likewise.
5350 * javax/swing/JWindow.java
5351 (serialVersionUID): Likewise.
5352 * javax/swing/Timer.java
5353 (serialVersionUID): Likewise.
5354
5355 2004-06-06 Michael Koch <konqueror@gmx.de>
5356
5357 * javax/swing/SwingConstants.java
5358 (NEXT): New constant.
5359 (PREVIOUS): Likewise.
5360 * javax/swing/UIManager.java
5361 (LookAndFeel): Made public.
5362 (LookAndFeel.getClassName): Likewise.
5363 (LookAndFeel.getName): Likewise.
5364
5365 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5366
5367 * javax/swing/JCheckBoxMenuItem.java:
5368 Removed CVS tags.
5369 * javax/swing/JMenu.java: Likewise.
5370 * javax/swing/JMenuBar.java: Likewise.
5371 * javax/swing/JMenuItem.java: Likewise.
5372 * javax/swing/JPopupMenu.java: Likewise.
5373 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5374 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5375 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5376 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5377 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5378 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5379 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5380
5381 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5382
5383 * javax/swing/plaf/basic/BasicMenuUI.java:
5384 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5385 Call getPath() from super class instead.
5386
5387 2004-05-31 David Jee <djee@redhat.com>
5388
5389 * java/awt/Container.java
5390 (remove): Set component visibility to false after removing it.
5391
5392 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5393
5394 * java/awt/Component.java (getForeground): Return SystemColor if
5395 parent is null.
5396 (getBackground): Likewise.
5397
5398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5399 (item_highlighted): New function.
5400 (connectSignals): Set item_highlighted as list's select
5401 function.
5402
5403 * java/applet/Applet.java: Revert changes from 2004-04-29,
5404 2004-03-15 and 2004-03-14.
5405
5406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5407 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5408 factor.
5409
5410 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5411 "Dialog" as the default font.
5412 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5413 Likewise.
5414 * java/awt/Component.java (getFont): Return "Dialog" font by
5415 default.
5416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5417 Multiply size argument to pango_font_description_set_size by the
5418 DPI conversion factor rather than by PANGO_SCALE.
5419 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5429 Divide baseline y coordinate by DPI conversion factor rather
5430 than by PANGO_SCALE.
5431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5432 (area_prepared): Fix typo.
5433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5434 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5436 (dpi_conversion_factor): New global variable.
5437 (init_dpi_conversion_factor): New function to calculate and
5438 track DPI conversion factor.
5439 (dpi_changed_cb): New callback.
5440 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5441
5442 2004-05-27 David Jee <djee@redhat.com>
5443
5444 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5445 (getGraphics): Return a new GdkGraphics instance.
5446 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5447 (getGraphics): Call super.getGraphics().
5448
5449 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5450
5451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5452 (setNativeBounds): Clamp width and height values to >= 0.
5453
5454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5455 (find_fg_color_widget): Handle GtkOptionMenu specially.
5456
5457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5458 (pre_event_handler): Only post configure events to visible
5459 top-level windows.
5460
5461 2004-05-26 David Jee <djee@redhat.com>
5462
5463 * java/awt/BorderLayout.java
5464 (layoutContainer): Fix size calculations.
5465
5466 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5467
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5469 (window_wm_protocols_filter): Remove function.
5470 (create): Remove filter that removes WM_TAKE_FOCUS client
5471 messages.
5472
5473 2004-06-17 Anthony Green <green@redhat.com>
5474
5475 * java/util/zip/ZipFile.java (getInputStream): Return null if
5476 entry not found.
5477
5478 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5479 directory contents to the class path.
5480
5481 2004-06-15 Andrew Haley <aph@redhat.com>
5482
5483 * java/lang/natSystem.cc (getenv0): Don't assume environment
5484 variable is Latin 1 coded.
5485
5486 2004-06-14 Andreas Jaeger <aj@suse.de>
5487
5488 * configure.in: Support --enable-version-specific-runtime-libs.
5489 * configure: Regenerated.
5490
5491 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5492
5493 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5494 to pass ClassLoader argument.
5495 * java/util/GregorianCalendar.java: Likewise.
5496 * java/util/Currency.java: Likewise.
5497 * java/text/BreakIterator.java: Likewise.
5498 * java/text/Collator.java: Likewise.
5499 * java/text/DateFormat.java: Likewise.
5500 * java/text/DateFormatSymbols.java: Likewise.
5501 * java/text/DecimalFormatSymbols.java: Likewise.
5502 * java/text/NumberFormat.java: Likewise.
5503 * java/awt/Window.java: Likewise.
5504
5505 2004-06-14 Andrew Haley <aph@redhat.com>
5506
5507 * java/lang/System.java: (getenv0): New method.
5508 (getenv): Add security check. Do the right thing.
5509 * java/lang/natSystem.cc (getenv0): New method.
5510
5511 2004-06-12 Mark Wielaard <mark@klomp.org>
5512
5513 * javax/swing/RepaintManager.java
5514 (paintDirtyRegions): Use entrySet(), not values().
5515
5516 2004-06-10 Mark Wielaard <mark@klomp.org>
5517
5518 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5519 NoSuchMethodError.
5520
5521 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5522
5523 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5524 when we already know the answer.
5525 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5526 (setStartRule,setEndRule): Don't take abs of day number.
5527 (getOffset): Clarify docs. Add argument checks.
5528 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5529 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5530 endTimeMode.
5531
5532 2004-06-10 Tom Tromey <tromey@redhat.com>
5533
5534 * interpret.cc (run): Handle wide fload.
5535
5536 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5537
5538 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5539
5540 2004-06-05 Michael Koch <konqueror@gmx.de>
5541
5542 * javax/swing/SwingConstants.java
5543 (NEXT): New constant.
5544 (PREVIOUS): Likewise.
5545
5546 2004-06-05 Michael Koch <konqueror@gmx.de>
5547
5548 * javax/swing/UIManager.java
5549 (LookAndFeel): Made public.
5550 (LookAndFeel.getName): Likewise.
5551 (LookAndFeel.getClassName): Likewise.
5552
5553 2004-06-03 Michael Koch <konqueror@gmx.de>
5554
5555 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5556 (requestFocus): Revert last changes.
5557 (gtkRequestFocus): Removed.
5558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5559 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5560 Renamed to ...
5561 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5562 Reverted last patch.
5563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5564 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5565 Reverted comment change.
5566
5567 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5568
5569 * javax/swing/JCheckBoxMenuItem.java:
5570 Removed CVS tags.
5571 * javax/swing/JMenu.java: Likewise.
5572 * javax/swing/JMenuBar.java: Likewise.
5573 * javax/swing/JMenuItem.java: Likewise.
5574 * javax/swing/JPopupMenu.java: Likewise.
5575 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5576 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5577 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5578 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5579 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5580 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5581 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5582
5583 2004-06-01 Tom Tromey <tromey@redhat.com>
5584
5585 * java/io/ObjectStreamField.java: Cleaned up imports.
5586
5587 2004-06-01 Michael Koch <konqueror@gmx.de>
5588
5589 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5590
5591 2004-06-01 Mark Wielaard <mark@klomp.org>
5592
5593 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5594
5595 2004-06-01 Michael Koch <konqueror@gmx.de>
5596
5597 * java/security/Security.java
5598 (insertProviderAt): Use equals() instead of ==.
5599 (removeProvicer): Likewise.
5600 (getProvider): Likewise.
5601 * java/security/Signature.java
5602 (sign): Don't set state to UNINITIALIZED.
5603 (verify): Likewise.
5604
5605 2004-06-01 Mark Wielaard <mark@klomp.org>
5606
5607 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5608 Implement by calling gtkRequestFocus.
5609 (gtkRequestFocus): New native method.
5610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5611 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5612 Renamed to ...
5613 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5614 New function name.
5615 (filter_expose_event_handler):
5616 Mark static.
5617 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5618 (menu_pos): Mark static.
5619
5620 2004-06-01 Michael Koch <konqueror@gmx.de>
5621
5622 * java/text/CollationElementIterator.java,
5623 java/text/CollationKey.java,
5624 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5625 * testsuite/libjava.mauve/xfails: Removed all
5626 java.text.CollationElementIterator tests.
5627
5628 2004-06-01 Michael Koch <konqueror@gmx.de>
5629
5630 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5631 version.
5632 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5633 Java 1.5 keyword usage.
5634
5635 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5636
5637 * javax/swing/plaf/basic/BasicMenuUI.java:
5638 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5639 Call getPath() from super class instead.
5640
5641 2004-05-31 Michael Koch <konqueror@gmx.de>
5642
5643 * java/io/SequenceInputStream.java:
5644 Rename enum to e because enum is a keyword in Java 1.5.
5645
5646 2004-05-31 Michael Koch <konqueror@gmx.de>
5647
5648 * gnu/java/rmi/rmic/CompilerProcess.java:
5649 Fixed javadoc to by XHTML compliant.
5650
5651 2004-05-30 Mark Wielaard <mark@klomp.org>
5652
5653 * java/awt/Toolkit.java (loadSystemColors): Implement.
5654
5655 2004-05-30 Michael Koch <konqueror@gmx.de>
5656
5657 * java/lang/System.java: Reordered imports.
5658
5659 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5660
5661 * java/text/DecimalFormat.java
5662 (parse): Fixed parsing of decimal strings. Number of maximum
5663 digits to be read should now work.
5664 * java/text/SimpleDateFormat.java
5665 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5666 formatter. This fixes DateFormatTest.
5667
5668 2004-05-30 Michael Koch <konqueror@gmx.de>
5669
5670 * java/nio/Buffer.java
5671 (limit): Fixed off by one error.
5672 * java/nio/CharBuffer.java
5673 (wrap): Fixed arguments, added javadocs.
5674
5675 2004-05-30 Michael Koch <konqueror@gmx.de>
5676
5677 * gnu/java/beans/BeanInfoEmbryo.java,
5678 java/awt/im/InputContext.java,
5679 javax/swing/tree/DefaultMutableTreeNode.java:
5680 Rename enum to e because enum is a keyword in Java 1.5.
5681
5682 2004-05-30 Michael Koch <konqueror@gmx.de>
5683
5684 * gnu/java/math/MPN.java,
5685 java/awt/geom/Arc2D.java:
5686 Fixed javadocs all over.
5687
5688 2004-05-30 Michael Koch <konqueror@gmx.de>
5689
5690 * java/awt/DefaultKeyboardFocusManager.java
5691 (dispatchEvent): Call method to get key event dispatchers.
5692 (dispatchKeyEvent): Call method to get key event post processors.
5693 * javax/swing/JComponent.java
5694 (listenerList): Made protected.
5695 * javax/swing/JOptionPane.java
5696 (message): Don't initialize.
5697 (JOptionPane): Set message text.
5698 * javax/swing/JPopupMenu.java
5699 (show): Fixed typo in argument name.
5700 * javax/swing/RepaintManager.java
5701 (paintDirtyRegions): Use public API of java.util.Map.
5702 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5703 (positionForMouseEvent): Removed redundant ';'.
5704 (continueDrag): Use method arguments.
5705
5706 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5707
5708 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5709 results.
5710
5711 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5712
5713 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5714 _Jv_AllocBytes.
5715 * gnu/gcj/RawDataManaged.java: New file.
5716 * java/lang/Thread.java (data): Declare as RawDataManaged.
5717 * java/lang/natThread.cc (init_native): Cast natThread data to
5718 RawDataManaged, not jobject.
5719 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5720 * Makefile.in: Rebuilt.
5721
5722 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5723
5724 * java/util/SimpleTimeZone.java: Reverting my last change until I
5725 can fix it properly.
5726
5727 2004-05-27 Michael Koch <konqueror@gmx.de>
5728
5729 * javax/swing/JPopupMenu.java
5730 (isVisible): Do not use visible directly.
5731 (setVisible): Likewise.
5732 * javax/swing/JWindow.java
5733 (JWindow): call accessible constructor.
5734 * javax/swing/RepaintManager.java
5735 (paintDirtyRegions): Use public methods to obtain iterator.
5736
5737 2004-05-25 David Jee <djee@redhat.com>
5738
5739 * java/awt/Container.java
5740 (remove): Set component's parent to null only after we removed the
5741 component from its parent's layout manager.
5742
5743 2004-05-25 David Jee <djee@redhat.com>
5744
5745 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5746 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5747 is valid.
5748 * gnu/java/awt/peer/gtk/GtkListPeer.java
5749 (getSize): Change native method declaration.
5750 (minimumSize): Pass visible row count into getSize().
5751 (preferredSize): Likewise.
5752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5753 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5754 natural size. Use visible row count to determine the final height
5755 value to return.
5756
5757 2004-05-21 Graydon Hoare <graydon@redhat.com>
5758
5759 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5760 (setClip): Minor correction to order of operations.
5761
5762 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5763 * javax/swing/ScrollPaneLayout.java: Likewise.
5764 * javax/swing/JViewPort.java: Likewise.
5765 * javax/swing/ViewportLayout.java: Likewise.
5766
5767 * javax/swing/JComponent.java: Rewrite.
5768 * javax/swing/RepaintManager.java: Likewise.
5769
5770 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5771 * javax/swing/JList.java
5772 (setSelectedIndices):
5773 (getSelectedIndices):
5774 (getSelectedValues): New functions.
5775 (getPreferredScrollableViewportSize): Return preferred size.
5776 (getScrollableUnitIncrement):
5777 (getScrollableBlockIncrement): Initial implementations.
5778 * javax/swing/JRootPane.java: Clean up slightly.
5779 (getUI):
5780 (setUI):
5781 (updateUI):
5782 (getUIClassID):
5783 (isValidateRoot): Add overrides from JComponent.
5784 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5785 * javax/swing/UIManager.java (getDimension): Return the dimension.
5786
5787 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5788 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5789 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5790 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5791 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5792 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5793 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5794 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5795 Likewise, and set background.
5796 * javax/swing/plaf/basic/BasicListUI.java:
5797 Likewise, and improve a bit.
5798 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5799 Likewise, and adjust calculations.
5800 * javax/swing/plaf/basic/BasicViewportUI.java:
5801 Likewise, and improve a bit.
5802 * javax/swing/plaf/basic/BasicLookAndFeel.java
5803 (Button.margin): Shrink.
5804
5805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5806 Hack to set horizontal always, workaround pango.
5807
5808 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5810 Synchronize more often, check cairo status after ops,
5811 handle changes to cairo pattern API, check for disposal.
5812
5813 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5814
5815 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5816 (BasicMenuItemUI): Create propertyChangeListener.
5817 (getPath):Implemented.
5818 (installListeners): Add propertyChangeListener to menuItem.
5819 (uninstallListeners): Remove propertyChangeListener from menuItem.
5820 (update): Implemented.
5821 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5822 (mouseEntered): Take insets of popup menu into account when
5823 calculating position of popup menu.
5824
5825 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5826
5827 * Makefile.am: Added new file.
5828 * Makefile.in: Regenerate.
5829 * javax/swing/JMenuBar.java:
5830 Started implementation.
5831 * javax/swing/JPopupMenu.java:
5832 (setVisible): Fixed location of lightweight/mediumweight
5833 popup menu.
5834 (show): Fixed location of PopupMenu.
5835 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5836 New file. UI Delegate for JMenuBar.
5837 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5838 (mouseEntered): Corrected position of the submenu.
5839
5840 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5841
5842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5843 to _gtk_accel_group_attach.
5844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5845 Likewise.
5846
5847 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5848 package access. Don't override setFont.
5849 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5850 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5851 gtkWidgetRequestFocus package access.
5852 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5853 setFont.
5854 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5855 Give gtkWidgetRequestFocus package access.
5856 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5857 gtkWidgetRequestFocus package access. Don't override setFont.
5858 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5859 setFont.
5860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5861 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5862 region.
5863 (gtkSetFont): Likewise.
5864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5865 Implement.
5866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5867 (gtkSetFont): Whitespace fix.
5868
5869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5870 (gtkWidgetSetUsize): Remove method.
5871
5872 2004-05-18 David Jee <djee@redhat.com>
5873
5874 * java/awt/image/MemoryImageSource.java
5875 (newPixels(int,int,int,int,boolean)): Set only the specified
5876 rectangle of pixels.
5877 (newPixels(byte[],ColorModel,int,int)): Implement.
5878 (newPixels(int[],ColorModel,int,int)): Implement.
5879
5880 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5881
5882 * Makefile.am: Added new file.
5883 * Makefile.in: Regenerate.
5884 * javax/swing/JMenu.java: Started
5885 implementation.
5886 * javax/swing/JPopupMenu.java:
5887 (insert): If specified index is -1, then
5888 add component at the end.
5889 (isPopupTrigger): Reimplemented.
5890 (JPopupMenu.LightWeightPopup): setBounds
5891 of the lightWeightPopup before adding it
5892 to the layeredPane.
5893 (javax/swing/plaf/basic/BasicIconFactory.java):
5894 (getMenuArrowIcon): Implemented.
5895 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5896 (getPreferredSize): Add size of the arrow icon
5897 if this menu item is instance of JMenu.
5898 (paintMenuItem): Paint arrow icon if this
5899 menu item is a submenu.
5900 * javax/swing/plaf/basic/BasicMenuUI.java:
5901 New File. UI Delegate for JMenu.
5902
5903 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5904
5905 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5906 Post KEY_TYPED events.
5907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5908 (generates_key_typed_event): Remove function.
5909
5910 2004-05-17 Olga Rodimina <rodimina@redhat.com>
5911
5912 * javax/swing/JRootPane.java
5913 (JRootPane.RootLayout): Reimplemented to
5914 set bounds of contentPane and menuBar.
5915 (setJMenuBar): Add menu bar to the layered pane.
5916 (createLayeredPane): Set layout of layeredPane
5917 to null.
5918 * javax/swing/JLayeredPane.java:
5919 (addImpl): Calculate index of the component in the
5920 layeredPane according to the specified position within
5921 the layer.
5922
5923 2004-05-17 David Jee <djee@redhat.com>
5924
5925 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5926 (setPixels): Change color model to the default model after
5927 converting pixels.
5928 * java/awt/image/MemoryImageSource.java
5929 (newPixels): Set only the specified rectangle of pixels.
5930
5931 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5932
5933 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5934 -l-java-beans -l-javax-accessibility -l-javax-swing.
5935
5936 * java/awt/AWTEvent.java (toString): Print source's name rather
5937 than the source itself.
5938
5939 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5940
5941 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5942 native.
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5944 (gdk_color_to_java_color): New function.
5945 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5946
5947 2004-05-12 David Jee <djee@redhat.com>
5948
5949 * java/awt/image/RGBImageFilter.java:
5950 Initialize origmodel as null.
5951 (makeColor): Fix pixel component order.
5952 (filterRGBPixels): Fix pixel iteration.
5953 (setPixels): Add extra checks for index color model. Convert pixels
5954 to default color model if necessary.
5955 (convertColorModelToDefault): New override method for byte pixels.
5956 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5957 (makeColorbyDefaultCM): New override method for byte pixels.
5958 (makeColorbyDefaultCM): For int pixel, add color model as argument.
5959 (makeColor): Fix pixel component order.
5960
5961 2004-05-11 Kim Ho <kho@redhat.com>
5962
5963 * javax/swing/Box.java:
5964 Comment out more parts of Box.Filler.
5965
5966 2004-05-11 Kim Ho <kho@redhat.com>
5967
5968 * javax/swing/Box.java:
5969 Remove reference to AccessibleAWTComponent so
5970 it compiles again.
5971
5972 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
5973
5974 * gnu/java/awt/peer/gtk/GtkListPeer.java,
5975 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
5976 implementation of list peer to use GtkTreeView instead of
5977 deprecated GtkCList.
5978
5979 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5980
5981 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5982 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
5983 (handleEvent): Remove keyChar argument to
5984 gtkWidgetDispatchKeyEvent calls.
5985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
5986 compiler warnings.
5987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
5989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5990 Likewise.
5991
5992 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5993
5994 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5995 (gtkWidgetRequestFocus): Mark protected.
5996 (GtkComponentPeer): Only set the peer's bounds if its component
5997 is valid.
5998 * java/awt/Component.java (static): Set the default keyboard
5999 focus manager.
6000 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6001 requestFocusInWindow(temporary)): Don't request focus if the
6002 component is not showing. Get tree lock before traversing
6003 component hierarchy.
6004 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6005 Only set the global focus owner if it is not a Window.
6006 (processKeyEvent): Consume keystrokes associated with the focus
6007 traversal keystroke.
6008 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6009 downFocusCycle): Call requestFocusInWindow instead of
6010 requestFocus.
6011 * java/awt/EventDispatchThread.java (run): Move setting of
6012 default keyboard focus manager to Component.java.
6013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6014 (awt_keycode_to_keysym): New function.
6015 (gtkWidgetDispatchKeyEvent): Finish implementation.
6016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6017 (pre_event_handler): Add FIXME comment.
6018
6019 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6020 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6021 (gtkWidgetRequestFocus): New method.
6022 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6023 disable Tab and Shift-Tab keystrokes.
6024 (addNotify, appendText, insertText, replaceText): Simplify peer
6025 retrieval code.
6026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6027 (connectSignals): Remove connections to "commit" signals.
6028 Remove C++-style comments.
6029
6030 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6031 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6032 (handleEvent): Activate GTK button when the space bar key is
6033 pressed.
6034 (gtkActivate): New method.
6035
6036 2004-05-06 David Jee <djee@redhat.com>
6037
6038 * java/awt/image/CropImageFilter.java
6039 (setPixels): Implement for byte array pixels.
6040 * java/awt/image/ReplicateScaleFilter.java
6041 (setPixels): Implement for byte array pixels.
6042 (replicatePixels): Overload for byte array pixels.
6043
6044 2004-05-06 Kim Ho <kho@redhat.com>
6045
6046 * javax/swing/Box.java:
6047 (getAccessibleContext): Return an instance of the
6048 correct class.
6049
6050 2004-05-05 David Jee <djee@redhat.com>
6051
6052 * gnu/java/awt/peer/gtk/GdkGraphics.java
6053 (drawImage): When component is null, use SystemColor.window as
6054 the default bgcolor.
6055 * gnu/java/awt/peer/gtk/GtkImage.java
6056 (setPixels): We can avoid iterating through the pixel rows only
6057 when height is 1.
6058 * java/awt/Image.java
6059 (getScaledInstance): Partially implement.
6060 * java/awt/image/CropImageFilter.java
6061 (setProperties): Fix "filter" property.
6062 (setPixels): Implement.
6063 * java/awt/image/ReplicateScaleFilter.java
6064 (setDimensions): Use scaled dimensions.
6065 (setPixels): Implement.
6066 (replicatePixels): New method.
6067
6068 2004-05-05 David Jee <djee@redhat.com>
6069
6070 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6071 (convertPixels): If either pixels or model is null, return null.
6072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6073 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6074 is null, do nothing and return.
6075
6076 2004-05-03 Kim Ho <kho@redhat.com>
6077
6078 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6079 (getGraphics): Like GtkFramePeer, the Graphics
6080 object needs to be translate to account for
6081 window decorations.
6082 (postMouseEvent): New method. Account for
6083 translation.
6084 (postExposeEvent): ditto.
6085 * javax/swing/Box.java: Stubbed.
6086 * javax/swing/JDialog.java: Ran through jalopy
6087 to fix indentation.
6088 (JDialog): Call SwingUtilities' getOwnerFrame
6089 for null owners.
6090 (setLayout): Check isRootPaneCheckingEnabled
6091 * javax/swing/JOptionPane.java: Re-implemented.
6092 * javax/swing/SwingUtilities.java:
6093 (getOwnerFrame): Static method to grab a default
6094 owner frame for Dialogs that don't specify owners.
6095 * javax/swing/event/SwingPropertyChangeSupport.java:
6096 (firePropertyChange): Fix early exit condition.
6097 * javax/swing/plaf/basic/BasicLabelUI.java:
6098 (paint): Avoid painting text if it is null
6099 or empty.
6100 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6101 Implement.
6102
6103 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6104
6105 * Makefile.am: Added new file.
6106 * Makefile.in: Regenerate.
6107 * javax/swing/JPopupMenu.java:
6108 Started implementation.
6109 * javax/swing/JWindow.java
6110 (JWindow): call super() if parent for window
6111 is not specified.
6112 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6113 New File. UI Delegate for JPopupMenu.
6114
6115 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6116
6117 * javax/swing/JApplet.java: Indicated that JApplet
6118 implements RootPaneContainer and made method of this
6119 interface public.
6120 * javax/swing/JFrame.java: Ditto.
6121 * javax/swing/JWindow.java: Ditto.
6122
6123 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6124
6125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6126 (nativeSetBounds): Call gdk_window_move in addition to
6127 gtk_window_move.
6128
6129 * java/applet/Applet.java (preferredSize): Call parent's
6130 preferredSize if the applet stub is null.
6131 (minimumSize): Likewise for parent's minimumSize.
6132
6133 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6134
6135 * javax/swing/JMenuItem.java
6136 (createActionPropertyChangeListener): Implemented.
6137 (processMouseEvent): Ditto.
6138 (fireMenuDragMouseEntered): Ditto.
6139 (fireMenuDragMouseExited): Ditto.
6140 (fireMenuDragMouseDragged): Ditto.
6141 (fireMenuDragMouseReleased): Ditto.
6142 (menuSelectionChanged): Ditto.
6143 (getSubElements): Ditto.
6144 (getComponent): Ditto.
6145 (addMenuDragMouseListener): Ditto.
6146 (removeMenuDragMouseListener):Ditto.
6147 (addMenuKeyListener): Ditto.
6148 (removeMenuKeyListener): Ditto.
6149 * javax/swing/plaf/basic/BasicMenuItemUI.java
6150 (doClick): Imlemented.
6151 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6152 Don't handle mouse events here. Pass them to
6153 MenuSelectionManager.
6154
6155 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6156 Used correct version of jalopy configuration
6157 file to fix style in the files below.
6158
6159 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6160
6161 * javax/swing/JCheckBoxMenuItem.java:
6162 Fixed style and removed unnecessary comments.
6163 * javax/swing/JMenuItem.java: Ditto.
6164 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6165 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6166 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6167 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6168
6169 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6170
6171 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6172 C-style.
6173
6174 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6175
6176 * java/awt/ContainerOrderFocusTraversalPolicy.java
6177 (getComponentAfter): Start from current component and work up
6178 the component hierarchy until an acceptable component is found.
6179 Synchronize on tree lock.
6180 (getComponentBefore): Likewise.
6181
6182 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6183
6184 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6185 focus-related debugging messages.
6186 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6187 * java/awt/EventDispatchThread.java: Likewise.
6188 * java/awt/KeyboardFocusManager.java: Likewise.
6189 * java/awt/Window.java: Likewise.
6190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6192
6193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6194 new C++-style comments to C-style comments.
6195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6196
6197 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6198 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6199 (handleEvent): Dispatch key press and key release events to
6200 backing widget.
6201 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6202 (gtkWidgetRequestFocus): New method.
6203 (gtkWidgetDispatchKeyEvent): Likewise.
6204 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6205 requestFocusInWindow, requestFocusInWindow(boolean),
6206 getFocusCycleRootAncestor, nextFocus, transferFocus,
6207 transferFocusBackward, transferFocusUpCycle, hasFocus,
6208 isFocusOwner): Implement and document focus-handling methods.
6209 (setFocusTraversalKeys): Inherit focus traversal keys when
6210 keystrokes argument is null. Fix focus-handling documentation
6211 throughout class.
6212 * java/awt/Container.java (setFocusTraversalKeys,
6213 getFocusTraversalKeys, areFocusTraversalKeysSet,
6214 isFocusCycleRoot, setFocusTraversalPolicy,
6215 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6216 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6217 Implement and document focus-handling methods.
6218 (transferFocusBackward): Remove method.
6219 (readObject, writeObject): Implement and document serialization
6220 methods.
6221 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6222 and document.
6223 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6224 document.
6225 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6226 partially document.
6227 * java/awt/EventDispatchThread.java (run): Set default keyboard
6228 focus manager. Attempt to dispatch each event to the keyboard
6229 focus manager before normal dispatch.
6230 * java/awt/KeyboardFocusManager.java: Implement and partially
6231 document.
6232 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6233 (show): Focus initial component when window is shown for the
6234 first time.
6235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6236 (pre_event_handler): Replace complex key press and key release
6237 logic with simple callbacks into GtkComponentPeer.
6238 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6239
6240 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6241
6242 * javax/swing/MenuSelectionManager.java
6243 (componentForPoint): Added new method.
6244 (defaultManager): New Method. Implemented.
6245 (getSelectedPath): Ditto.
6246 (isComponentPartOfCurrentMenu): Ditto.
6247 (processKeyEvent): Added new method.
6248 (processMouseEvent): New Method. Implemented.
6249 (setSelectedPath): Ditto.
6250 (getPath): Ditto.
6251
6252 2004-04-19 Kim Ho <kho@redhat.com>
6253
6254 * java/awt/Container.java:
6255 (remove): Set the component's parent to null.
6256 (getComponentAt): Implement.
6257 * javax/swing/JComponent.java:
6258 (JComponent): Initialize defaultLocale
6259 (getDefaultLocale): Implement.
6260 (setDefaultLocale): ditto.
6261 * javax/swing/JSlider.java:
6262 (JSlider): Fix calculation of value.
6263 * javax/swing/JSplitPane.java: Implement.
6264 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6265 Change SplitPane's default divider size.
6266 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6267 (paint): Remove unused code.
6268 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6269 Added comments and ran through jalopy.
6270 (setBasicSplitPaneUI): Get reference to hidden divider
6271 and set up one touch buttons if necessary.
6272 (setBorder): Fire propertyChangeEvent only if
6273 borders are different.
6274 (getPreferredSize): Defer to layout manager.
6275 (propertyChange): Implement.
6276 (oneTouchExpandableChanged): ditto.
6277 (createLeftOneTouchButton): Use BasicArrowButton.
6278 (createRightOneTouchButton): ditto.
6279 (moveDividerTo): New method. Moves the divider
6280 to a set location based on the last divider location.
6281 (BasicSplitPaneDivider::MouseHandler): Implement.
6282 (BasicSplitPaneDivider::OneTouchButton): Removed.
6283 (BasicSplitPaneDivider::DragController): Implement.
6284 (BasicSplitPaneDivider::VerticalDragController):
6285 ditto.
6286 (BasicSplitPaneDivider::DividerLayout): ditto.
6287 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6288 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6289 (calculateLayoutInfo): Don't show component if it's
6290 null.
6291 (paintTab): Fix title paint logic.
6292
6293 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6294
6295 PR libgcj/8321
6296 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6297 (setStartRule,setEndRule): Don't take abs of day number.
6298 (getOffset): Clarify docs. Add argument checks.
6299 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6300 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6301 endTimeMode.
6302 * testsuite/libjava.mauve/xfails
6303 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6304
6305 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6306
6307 Layout interfaces during preparation, not initialization.
6308 * java/lang/natClass.cc (initializeClass): Move
6309 _Jv_LayoutInterfaceMethods call...
6310 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6311
6312 2004-05-19 Anthony Green <green@localhost.localdomain>
6313
6314 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6315 gnu.javax.rmi code.
6316 * Makefile.in: Rebuilt.
6317 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6318 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6319 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6320 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6321 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6322 gnu/javax/rmi/CORBA/DelegateFactory.java,
6323 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6324 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6325 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6326 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6327 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6328 gnu/javax/rmi/PortableServer.java: Remove files.
6329
6330 2004-05-19 Anthony Green <green@redhat.com>
6331
6332 * Makefile.am: Define JAVA_EXT_DIRS.
6333 * Makefile.in: Rebuilt.
6334 * java/lang/natRuntime.cc (insertSystemProperties): Set
6335 java.ext.dirs property.
6336
6337 2004-05-16 Mark Wielaard <mark@klomp.org>
6338
6339 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6340
6341 2004-05-15 Mark Wielaard <mark@klomp.org>
6342
6343 * doc/cni.sgml: Removed, merged into gcj.texi.
6344
6345 2004-05-15 Mark Wielaard <mark@klomp.org>
6346
6347 * Makefile.am (ordinary_java_source_files): Add new javax.print
6348 classes.
6349 * Makefile.in: Regenerated.
6350
6351 2004-05-15 Michael Koch <konqueror@gmx.de>
6352
6353 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6354 javax/print/attribute/standard/DateTimeAtCreation.java,
6355 javax/print/attribute/standard/DateTimeAtProcessing.java,
6356 javax/print/attribute/standard/DocumentName.java,
6357 javax/print/attribute/standard/JobHoldUntil.java,
6358 javax/print/attribute/standard/JobImpressionsCompleted.java,
6359 javax/print/attribute/standard/JobMessageFromOperator.java,
6360 javax/print/attribute/standard/JobName.java,
6361 javax/print/attribute/standard/JobOriginatingUserName.java,
6362 javax/print/attribute/standard/JobPriority.java,
6363 javax/print/attribute/standard/JobPrioritySupported.java,
6364 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6365 javax/print/attribute/standard/OutputDeviceAssigned.java,
6366 javax/print/attribute/standard/PrinterInfo.java,
6367 javax/print/attribute/standard/PrinterLocation.java,
6368 javax/print/attribute/standard/PrinterMakeAndModel.java,
6369 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6370 javax/print/attribute/standard/PrinterName.java,
6371 javax/print/attribute/standard/QueuedJobCount.java,
6372 javax/print/attribute/standard/RequestingUserName.java:
6373 Fixed javadocs all over.
6374
6375 2004-05-15 Michael Koch <konqueror@gmx.de>
6376
6377 * javax/print/DocFlavor.java,
6378 javax/print/attribute/standard/ColorSupported.java,
6379 javax/print/attribute/standard/Compression.java,
6380 javax/print/attribute/standard/CopiesSupported.java,
6381 javax/print/attribute/standard/Fidelity.java,
6382 javax/print/attribute/standard/Finishings.java,
6383 javax/print/attribute/standard/JobImpressionsSupported.java,
6384 javax/print/attribute/standard/JobKOctetsSupported.java,
6385 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6386 javax/print/attribute/standard/JobSheets.java,
6387 javax/print/attribute/standard/JobState.java,
6388 javax/print/attribute/standard/JobStateReason.java,
6389 javax/print/attribute/standard/JobStateReasons.java,
6390 javax/print/attribute/standard/Media.java,
6391 javax/print/attribute/standard/MediaSizeName.java,
6392 javax/print/attribute/standard/MultipleDocumentHandling.java,
6393 javax/print/attribute/standard/NumberUpSupported.java,
6394 javax/print/attribute/standard/OrientationRequested.java,
6395 javax/print/attribute/standard/PDLOverrideSupported.java,
6396 javax/print/attribute/standard/PageRanges.java,
6397 javax/print/attribute/standard/PresentationDirection.java,
6398 javax/print/attribute/standard/PrintQuality.java,
6399 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6400 javax/print/attribute/standard/PrinterMoreInfo.java,
6401 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6402 javax/print/attribute/standard/PrinterResolution.java,
6403 javax/print/attribute/standard/PrinterState.java,
6404 javax/print/attribute/standard/PrinterStateReason.java,
6405 javax/print/attribute/standard/PrinterStateReasons.java,
6406 javax/print/attribute/standard/PrinterURI.java,
6407 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6408 javax/print/attribute/standard/Severity.java,
6409 javax/print/attribute/standard/SheetCollate.java,
6410 javax/print/attribute/standard/Sides.java:
6411 Added serialVersionUID and removed final keyword where it doenst
6412 belong.
6413
6414 2004-05-15 Michael Koch <konqueror@gmx.de>
6415
6416 * javax/print/PrintServiceLookup.java: New file.
6417
6418 2004-05-15 Michael Koch <konqueror@gmx.de>
6419
6420 * javax/print/DocFlavor.java:
6421 Implemented all flavor classes.
6422
6423 2004-05-15 Michael Koch <konqueror@gmx.de>
6424
6425 * javax/print/attribute/standard/ColorSupported.java,
6426 javax/print/attribute/standard/Compression.java,
6427 javax/print/attribute/standard/CopiesSupported.java,
6428 javax/print/attribute/standard/Fidelity.java,
6429 javax/print/attribute/standard/Finishings.java,
6430 javax/print/attribute/standard/JobImpressionsSupported.java,
6431 javax/print/attribute/standard/JobKOctetsSupported.java,
6432 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6433 javax/print/attribute/standard/JobSheets.java,
6434 javax/print/attribute/standard/JobState.java,
6435 javax/print/attribute/standard/JobStateReason.java,
6436 javax/print/attribute/standard/JobStateReasons.java,
6437 javax/print/attribute/standard/Media.java,
6438 javax/print/attribute/standard/MediaSizeName.java,
6439 javax/print/attribute/standard/MultipleDocumentHandling.java,
6440 javax/print/attribute/standard/NumberUpSupported.java,
6441 javax/print/attribute/standard/OrientationRequested.java,
6442 javax/print/attribute/standard/PDLOverrideSupported.java,
6443 javax/print/attribute/standard/PageRanges.java,
6444 javax/print/attribute/standard/PresentationDirection.java,
6445 javax/print/attribute/standard/PrintQuality.java,
6446 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6447 javax/print/attribute/standard/PrinterMoreInfo.java,
6448 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6449 javax/print/attribute/standard/PrinterResolution.java,
6450 javax/print/attribute/standard/PrinterState.java,
6451 javax/print/attribute/standard/PrinterStateReason.java,
6452 javax/print/attribute/standard/PrinterStateReasons.java,
6453 javax/print/attribute/standard/PrinterURI.java,
6454 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6455 javax/print/attribute/standard/Severity.java,
6456 javax/print/attribute/standard/SheetCollate.java,
6457 javax/print/attribute/standard/Sides.java: New files.
6458
6459 2004-05-15 Michael Koch <konqueror@gmx.de>
6460
6461 * javax/print/Doc.java
6462 (getPrintData): Throws IOException.
6463 (getReaderForText): Likewise.
6464 (getStreamForBytes): Likewise.
6465 * javax/print/DocFlavor.java:
6466 Fixed filename in copyright.
6467 (serialVersionUID): New field.
6468 * javax/print/ServiceUIFactory.java:
6469 Made all constants final.
6470 * javax/print/AttributeException.java
6471 javax/print/MultiDoc.java
6472 javax/print/MultiDocPrintJob.java
6473 javax/print/MultiDocPrintService.java
6474 javax/print/StreamPrintService.java
6475 javax/print/URIException.java: New files.
6476 * javax/print/Makefile.am
6477 (EXTRA_DIST): Added all new files.
6478
6479 2004-05-15 Michael Koch <konqueror@gmx.de>
6480
6481 * javax/print/attribute/standard/Copies.java,
6482 javax/print/attribute/standard/DateTimeAtCompleted.java,
6483 javax/print/attribute/standard/DateTimeAtCreation.java,
6484 javax/print/attribute/standard/DateTimeAtProcessing.java,
6485 javax/print/attribute/standard/DocumentName.java,
6486 javax/print/attribute/standard/JobHoldUntil.java,
6487 javax/print/attribute/standard/JobImpressions.java,
6488 javax/print/attribute/standard/JobImpressionsCompleted.java,
6489 javax/print/attribute/standard/JobKOctets.java,
6490 javax/print/attribute/standard/JobKOctetsProcessed.java,
6491 javax/print/attribute/standard/JobMediaSheets.java,
6492 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6493 javax/print/attribute/standard/JobMessageFromOperator.java,
6494 javax/print/attribute/standard/JobName.java,
6495 javax/print/attribute/standard/JobOriginatingUserName.java,
6496 javax/print/attribute/standard/JobPriority.java,
6497 javax/print/attribute/standard/JobPrioritySupported.java,
6498 javax/print/attribute/standard/NumberOfDocuments.java,
6499 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6500 javax/print/attribute/standard/NumberUp.java,
6501 javax/print/attribute/standard/OutputDeviceAssigned.java,
6502 javax/print/attribute/standard/PagesPerMinute.java,
6503 javax/print/attribute/standard/PagesPerMinuteColor.java:
6504 Fixed @return tag all over.
6505
6506 2004-05-15 Michael Koch <konqueror@gmx.de>
6507
6508 * javax/print/attribute/AttributeSetUtilities.java
6509 (verifyCategoryForValue): Fixed typo in javadoc.
6510 * javax/print/attribute/HashAttributeSet.java
6511 (containsKey): Fixed @return tag.
6512 (comtainsValue): Likewise.
6513 (equals): Likewise.
6514 * javax/print/attribute/IntegerSyntax.java
6515 (equals): Likewise.
6516 * javax/print/attribute/ResolutionSyntax.java
6517 (equals): Likewise.
6518 (getCrossFeedResolution): Removed unused code.
6519 (getFeedResolution): Likewise.
6520 * javax/print/attribute/SetOfIntegerSyntax.java
6521 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6522 (equals): Fixed @return tag.
6523 * javax/print/attribute/TextSyntax.java
6524 (TextSyntax): Take locale into account.
6525 (hashCode): Better implementation.
6526
6527 2004-05-15 Michael Koch <konqueror@gmx.de>
6528
6529 * javax/print/CancelablePrintJob.java,
6530 javax/print/Doc.java,
6531 javax/print/DocFlavor.java,
6532 javax/print/DocPrintJob.java,
6533 javax/print/FlavorException.java,
6534 javax/print/PrintException.java,
6535 javax/print/PrintService.java,
6536 javax/print/ServiceUIFactory.java: New files.
6537
6538 2004-05-15 Mark Wielaard <mark@klomp.org>
6539
6540 * gnu/regexp/CharIndexedReader.java: Removed.
6541 * gnu/regexp/REFilterReader.java: Likewise.
6542 * gnu/regexp/RETokenLookAhead.java: Likewise.
6543 * Makefile.am (ordinary_java_source_files): Remove above classes.
6544 * Makefile.in: Regenerated.
6545
6546 2004-05-14 Tom Tromey <tromey@redhat.com>
6547
6548 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6549 not `XGraphicsConfiguration.XOffScreenImage'.
6550
6551 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6552
6553 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6554
6555 2004-05-14 Steven Augart <augart@watson.ibm.com>
6556
6557 * include/jni.h (_Jv_func): Removed.
6558 (struct JNINativeInterface): Use `void *' for reserved slots.
6559 (struct JNIInvokeInterface): Likewise.
6560
6561 2004-05-11 Michael Koch <konqueror@gmx.de>
6562
6563 * gnu/java/net/natPlainSocketImplPosix.cc
6564 (read): Fixed typo in expression.
6565
6566 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6567
6568 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6569 ld_library_additions. Adjust all calls to libjava_invoke to match
6570 the new argument.
6571
6572 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6573 path to cxxflagslist.
6574 Pass path of libstdc++ to libjava_invoke.
6575
6576 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6577 libjava_invoke arguments.
6578
6579 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6580
6581 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6582 reality.
6583
6584 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6585
6586 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6587 main binary against the JNI shared library.
6588
6589 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6590
6591 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6592 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6593 (SimpleTimeZone): Tweak docs. Add new variation.
6594 (setStartRule,setEndRule): Add new variations. Use
6595 startTimeMode and endTimeMode.
6596
6597 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6598
6599 * java/util/Calendar.java (getActualMinimum,
6600 getActualMaximum): Remove abstract. Implement.
6601
6602 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6603
6604 Run the jni tests using the interpreter.
6605 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6606 options_cxx to shared lib compile command.
6607 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6608 they are used to link the shared lib, not the main binary.
6609 Use libjava_invoke to run gij.
6610
6611 2004-05-06 Michael Koch <konqueror@gmx.de>
6612
6613 * java/util/logging/Level.java
6614 (parse): Use == instead of String.equals().
6615
6616 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6617
6618 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6619 verify_field_signature and verify_method_signature, not
6620 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6621 (_Jv_ClassReader::handleField): Likewise.
6622 (_Jv_ClassReader::handleMethod): Likewise.
6623
6624 2004-05-06 Michael Koch <konqueror@gmx.de>
6625
6626 * javax/swing/table/TableColumn.java:
6627 Reformated.
6628
6629 2004-05-06 Michael Koch <konqueror@gmx.de>
6630
6631 * javax/imageio/spi/ImageReaderWriterSpi.java
6632 (ImageReaderWriterSpi): Made it public.
6633 * javax/imageio/stream/ImageInputStream.java:
6634 Clean up imports.
6635
6636 2004-05-06 Michael Koch <konqueror@gmx.de>
6637
6638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6639 Removed empty line.
6640
6641 2004-05-06 Michael Koch <konqueror@gmx.de>
6642
6643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6644 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6645 New files.
6646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6647 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6649 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6650 their own source file.
6651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6652 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6653 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6655 (create): Define variable on top of function.
6656 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6657 (menu_pos): Prototyped.
6658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6659 (setTitle): Removed.
6660 * jni/gtk-peer/gthread-jni.c
6661 (gdk_threads_wake): Removed.
6662 * Makefile.am (gtk_c_source_files): Added new files
6663 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6665 * Makefile.in: Regenerated.
6666
6667 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6668
6669 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6670 call.
6671
6672 2004-05-05 Mark Wielaard <mark@klomp.org>
6673
6674 * javax/swing/AbstractButton.java: Replace special HTML entities with
6675 ASCII equivalent.
6676 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6677 * javax/swing/DefaultButtonModel.java: Likewise.
6678 * javax/swing/DefaultListModel.java: Likewise.
6679 * javax/swing/JList.java: Likewise.
6680 * javax/swing/JSlider.java: Likewise.
6681 * javax/swing/ListModel.java: Likewise.
6682 * javax/swing/Popup.java: Likewise.
6683 * javax/swing/SwingUtilities.java: Likewise.
6684
6685 2004-05-05 Michael Koch <konqueror@gmx.de>
6686
6687 * javax/swing/AbstractButton.java,
6688 javax/swing/ActionMap.java,
6689 javax/swing/DefaultButtonModel.java,
6690 javax/swing/DefaultListModel.java,
6691 javax/swing/ImageIcon.java,
6692 javax/swing/JComboBox.java,
6693 javax/swing/JComponent.java,
6694 javax/swing/JFrame.java,
6695 javax/swing/JInternalFrame.java,
6696 javax/swing/JMenuBar.java,
6697 javax/swing/JMenuItem.java,
6698 javax/swing/JOptionPane.java,
6699 javax/swing/JProgressBar.java,
6700 javax/swing/JRootPane.java,
6701 javax/swing/JScrollBar.java,
6702 javax/swing/JScrollPane.java,
6703 javax/swing/JSeparator.java,
6704 javax/swing/JSlider.java,
6705 javax/swing/JTabbedPane.java,
6706 javax/swing/JTable.java,
6707 javax/swing/JTextField.java,
6708 javax/swing/JToolBar.java,
6709 javax/swing/JToolTip.java,
6710 javax/swing/JTree.java,
6711 javax/swing/JViewport.java,
6712 javax/swing/JWindow.java,
6713 javax/swing/KeyStroke.java,
6714 javax/swing/LookAndFeel.java,
6715 javax/swing/SwingUtilities.java,
6716 javax/swing/Timer.java,
6717 javax/swing/ToolTipManager.java,
6718 javax/swing/UIDefaults.java,
6719 javax/swing/border/TitledBorder.java,
6720 javax/swing/filechooser/FileSystemView.java,
6721 javax/swing/plaf/basic/BasicButtonListener.java,
6722 javax/swing/plaf/basic/BasicButtonUI.java,
6723 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6724 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6725 javax/swing/plaf/basic/BasicLabelUI.java,
6726 javax/swing/plaf/basic/BasicMenuItemUI.java,
6727 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6728 javax/swing/plaf/basic/BasicRootPaneUI.java,
6729 javax/swing/plaf/basic/BasicScrollBarUI.java,
6730 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6731 javax/swing/plaf/basic/BasicSliderUI.java,
6732 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6733 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6734 javax/swing/table/JTableHeader.java,
6735 javax/swing/text/AbstractDocument.java,
6736 javax/swing/text/DefaultCaret.java,
6737 javax/swing/text/StyledEditorKit.java,
6738 javax/swing/tree/DefaultTreeCellEditor.java:
6739 Cleaned up imports.
6740
6741 2004-05-05 Michael Koch <konqueror@gmx.de>
6742
6743 * java/util/prefs/AbstractPreferences.java
6744 (AbstractPreferences): Added parenthesis for clarity.
6745 Closes classpath bug #7940.
6746
6747 2004-05-05 Tom Tromey <tromey@redhat.com>
6748
6749 * javax/naming/CompoundName.java (endsWith): Look at correct
6750 element of source name.
6751
6752 2004-05-05 Mark Wielaard <mark@klomp.org>
6753
6754 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6755 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6756
6757 2004-05-05 Tom Tromey <tromey@redhat.com>
6758
6759 * java/io/BufferedReader.java (skip): Removed unused
6760 variable.
6761
6762 2004-05-05 Michael Koch <konqueror@gmx.de>
6763
6764 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6765
6766 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6767
6768 * java/text/AttributedString.java,
6769 java/text/AttributedStringIterator.java,
6770 java/text/Collator.java,
6771 java/text/DecimalFormatSymbols.java,
6772 java/text/NumberFormat.java,
6773 java/text/RuleBasedCollator.java:
6774 Cleaned up imports.
6775
6776 2004-05-05 Tom Tromey <tromey@redhat.com>
6777
6778 * java/text/Format.java: Cleaned up imports.
6779 * java/text/DecimalFormat.java: Cleaned up imports.
6780 * java/security/SecureRandom.java: Cleaned up imports.
6781 (SecureRandom): Removed unused variable.
6782 * java/security/UnresolvedPermission.java: Cleaned up imports.
6783 * java/util/Date.java (parse): Removed unused variable.
6784 * java/util/ResourceBundle.java: Cleaned up imports.
6785 (getBundle): Removed unused variable.
6786 (tryBundle): Likewise.
6787 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6788
6789 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6790
6791 * java/text/SimpleDateFormat.java:
6792 (formatWithAttribute): New method. It implements
6793 the formatting process with attributes.
6794 (format): Use formatWithAttribute.
6795 (formatToCharacterIterator): New method. Use
6796 formatWithAttribute.
6797
6798 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6799
6800 * java/text/MessageFormat.java:
6801 (class Field): New class.
6802 (formatToCharacterIterator): New method.
6803 (format): Use formatInternal now.
6804 (formatInternal): New method. String formatter should
6805 be done here (with attributes). Attributes merging supported.
6806 (parse): More documentation.
6807 (getFormatsByArgumentIndex): New method.
6808 (setFormatByArgumentIndex): New method.
6809 (setFormatsByArgumentIndex): New method.
6810
6811 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6812
6813 * java/text/DecimalFormat.java
6814 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6815 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6816 (parse): Fixed handling of exponentiation notation and grouping.
6817
6818 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6819
6820 * java/text/DecimalFormat.java
6821 (scanFix): Build attribute array. Fixed error reporting.
6822 (applyPatternWithSymbols): Store attributes for the prefix and
6823 suffix.
6824 (formatInternal): New method. Changed the way the string is
6825 computed. Implemented attributes. Cleant up rounding in
6826 exponential notation.
6827 (format): Use formatInternal.
6828 (formatToCharacterIterator): New method.
6829 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6830 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6831 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6832 New fields.
6833
6834 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6835
6836 * java/security/interfaces/DSAKeyPairGenerator.java,
6837 java/security/interfaces/DSAPrivateKey.java,
6838 java/security/interfaces/DSAPublicKey.java,
6839 java/security/interfaces/RSAPrivateKey.java,
6840 java/security/interfaces/RSAPublicKey.java:
6841 Cleaned up imports.
6842
6843 2004-05-04 Michael Koch <konqueror@gmx.de>
6844
6845 * java/nio/ByteBuffer.java,
6846 java/nio/CharBuffer.java,
6847 java/nio/DoubleBuffer.java,
6848 java/nio/FloatBuffer.java,
6849 java/nio/IntBuffer.java,
6850 java/nio/LongBuffer.java,
6851 java/nio/ShortBuffer.java:
6852 (compareTo): Fixed bogus implementation in all buffer classes.
6853
6854 2004-05-04 Ingo Proetel <proetel@aicas.com>
6855
6856 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6857 32 bit pixels not 8 bit pixels.
6858 (isCompatibleRaster): Added javadoc comment.
6859
6860 2004-05-04 Ingo Proetel <proetel@aicas.com>
6861
6862 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6863 scanline stride.
6864
6865 2004-05-04 Ingo Proetel <proetel@aicas.com>
6866
6867 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6868 (getColorModel): Return the actual color model.
6869 (getRaster): Implemented.
6870 (ColorRaster): New inner class.
6871 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6872 a PaintContext.
6873 * java/awt/Color.java (<init>): Make exception more verbose.
6874 (createContext): Use ColorModel when creating a PaintContext.
6875
6876 2004-05-04 Michael Koch <konqueror@gmx.de>
6877
6878 * gnu/java/text/CharacterBreakIterator.java
6879 (previous): Removed unused variable.
6880
6881 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6882
6883 * gnu/java/text/FormatBuffer.java,
6884 gnu/java/text/AttributedFormatBuffer.java,
6885 gnu/java/text/StringFormatBuffer.java: New classes to implement
6886 attributed iterators in java.text.
6887 * gnu/java/text/FormatCharacterIterator.java: Moved
6888 from java/text as it is an internal class.
6889 * java/text/FormatCharacterIterator.java: Removed.
6890 * java/text/Format.java:
6891 Import gnu.java.text.FormatCharacterIterator.
6892 * Makefile.am (java_source_files): Added new files.
6893 * Makefile.in: Regenerated.
6894
6895
6896 2004-05-04 Mark Wielaard <mark@klomp.org>
6897
6898 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6899
6900 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6901
6902 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6903 * Makefile.in: Rebuilt.
6904
6905 2004-05-03 Mark Wielaard <mark@klomp.org>
6906
6907 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6908 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6909 * java/net/URL.java
6910 (set(String, String, int, String, String, String, String, String)):
6911 Assign this.file to path or path + "?" + query.
6912 * java/util/Arrays.java: Call static methods staticly.
6913 * java/util/zip/ZipEntry.java: Likewise.
6914 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6915 dir to this.direction.
6916 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6917 Assign static field only once.
6918 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6919
6920 2004-05-03 Mark Wielaard <mark@klomp.org>
6921
6922 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6923 unused variables hScrollbarHeight and vScrollbarWidth.
6924 (preferredSize): Likewise.
6925 * gnu/java/security/provider/DSAParameters.java (engineToString):
6926 Removed unused call to System.getProperty("line.seperator");
6927 * java/security/Security.java (loadProviders): Return result.
6928
6929 2004-05-03 Tom Tromey <tromey@redhat.com>
6930
6931 * java/net/URLStreamHandler.java (toExternalForm): Removed
6932 unused variables.
6933 unused constructor.
6934 * java/math/BigDecimal.java (divide): Removed unused variable.
6935 * java/lang/Throwable.java: Cleaned up imports.
6936 * java/lang/ClassLoader.java: Cleaned up imports.
6937 * java/io/FilePermission.java (implies): Removed unused
6938 variable.
6939 * java/awt/TextComponent.java: Removed unused import.
6940 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6941 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6942 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6943 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6944 import.
6945 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6946 * gnu/java/text/CharacterBreakIterator.java: Removed
6947 unused import.
6948 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6949 Cleaned up imports.
6950 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6951 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6952 unused method.
6953 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6954 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6955 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6956 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6957 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6958 (lookupProviders): Removed unused variable.
6959 (loadNextServiceProvider): Likewise.
6960 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
6961
6962 2004-05-03 Michael Koch <konqueror@gmx.de>
6963
6964 Fixes PR libgcj/14695:
6965 * java/net/NetworkInterface.java
6966 (getByName): Return null when no interface was found.
6967
6968 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
6969 Tom Tromey <tromey@redhat.com>
6970
6971 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
6972 additional option "-Wmissing-prototypes" for compiling C sources.
6973 Print actual filename for pass/fail rather than $name.c.
6974 * testsuite/libjava.jni/PR15133.java: New testcase file.
6975 * testsuite/libjava.jni/PR15133.c: Likewise.
6976 * testsuite/libjava.jni/PR15133.out: Likewise.
6977
6978 2004-04-30 Roger Sayle <roger@eyesopen.com>
6979
6980 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
6981 ceil and floor.
6982
6983 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
6984
6985 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
6986 limit the maximum heap size to avoid unnecessary thrashing.
6987
6988 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
6989
6990 * java/text/CollationElementIterator.java (reset): Reset
6991 lookahead variables.
6992
6993 2004-04-23 Mark Wielaard <mark@klomp.org>
6994
6995 * jni/classpath/jcl.c: Changed C++ comments into C comments.
6996
6997 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6998
6999 * java/sql/DriverManager.java:
7000 Cleaned up imports.
7001
7002 2004-04-23 Michael Koch <konqueror@gmx.de>
7003
7004 * java/net/URL.java
7005 (hashcode): Don't initialize with default value explicitely.
7006 (getContent): Removed redundant "final" keyword.
7007 (openStream): Likewise.
7008 (getURLStreamHandler): Fixed coding style.
7009 * java/net/URLConnection.java
7010 (defaultAllowUserInteraction): Don't initialize with default value
7011 explicitely.
7012 (connected): Likewise.
7013 (doOutput): Likewise.
7014 (ifModifiedSince): Likewise.
7015 (dateformats_initialized): Likewise.
7016 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7017
7018 2004-04-23 Michael Koch <konqueror@gmx.de>
7019
7020 * gnu/java/nio/channels/FileChannelImpl.java
7021 (SET, CUR): Unused, removed.
7022 (read): Implement here directly.
7023 (implRead): Removed.
7024 (write): Implement here directly.
7025 (implWrite): Removed.
7026
7027 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7028
7029 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7030 javax/rmi/CORBA/Stub.java,
7031 javax/rmi/CORBA/Util.java,
7032 javax/rmi/CORBA/ValueHandler.java,
7033 javax/rmi/CORBA/ValueHandler.java,
7034 javax/rmi/PortableRemoteObject.java:
7035 Cleaned up imports.
7036
7037 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7038
7039 * java/util/jar/JarFile.java,
7040 java/util/jar/JarInputStream.java,
7041 java/util/jar/JarOutputStream.java,
7042 java/util/jar/Manifest.java:
7043 Cleaned up imports.
7044
7045 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7046
7047 * java/util/ArrayList.java,
7048 java/util/Calendar.java,
7049 java/util/Currency.java,
7050 java/util/HashMap.java,
7051 java/util/HashSet.java,
7052 java/util/Hashtable.java,
7053 java/util/LinkedList.java,
7054 java/util/Properties.java,
7055 java/util/PropertyPermission.java,
7056 java/util/TimeZone.java,
7057 java/util/TreeMap.java,
7058 java/util/TreeSet.java,
7059 java/util/Vector.java,
7060 java/util/WeakHashMap.java:
7061 Cleaned up imports.
7062
7063 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7064
7065 * java/util/logging/FileHandler.java,
7066 java/util/logging/Formatter.java,
7067 java/util/logging/Handler.java,
7068 java/util/logging/Logger.java,
7069 java/util/logging/SimpleFormatter.java,
7070 java/util/logging/XMLFormatter.java:
7071 Cleaned up imports.
7072
7073 2004-04-22 Mark Wielaard <mark@klomp.org>
7074
7075 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7076 -Wno-long-long flags variable.
7077 (gtk_c_files): Use PEDANTIC_CFLAGS.
7078 * Makefile.in: Regenerated.
7079
7080 2004-04-22 Mark Wielaard <mark@klomp.org>
7081
7082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7083 Changed C++ comments into C comments.
7084 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7085 Likewise.
7086
7087 2004-04-22 Michael Koch <konqueror@gmx.de>
7088
7089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7090 Merged copyright year with GNU classpath.
7091
7092 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7093
7094 * javax/security/auth/x500/X500Principal.java:
7095 Cleaned up imports.
7096
7097 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7098
7099 * javax/swing/JSlider.java:
7100 Fixed HTML tags in comments.
7101
7102 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7103
7104 * javax/accessibility/AccessibleText.java:
7105 Cleaned up imports.
7106
7107 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7108
7109 * java/net/URLStreamHandler.java
7110 (parseURL): Convert the file path to using '/' instead of native
7111 file separator.
7112
7113 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7114
7115 * java/net/URL.java
7116 (userInfo): New field.
7117 (URL): Set authority to the right value.
7118 (setURL): Fixed authority and file initialization.
7119 * java/net/URLStreamHandler.java
7120 (parseURL): Take care of the query tag. Build authority.
7121 (toExternalForm): Fixed URL building using authority.
7122
7123 2004-04-22 Michael Koch <konqueror@gmx.de>
7124
7125 * java/net/Socket.java
7126 (impl): Made package-private.
7127 * java/net/ServerSocket.java
7128 (implAccept): Access Socket.impl field directly.
7129
7130 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7131
7132 * java/util/prefs/Preferences.java,
7133 java/util/prefs/InvalidPreferencesFormatException.java,
7134 java/util/prefs/BackingStoreException.java,
7135 java/util/prefs/AbstractPreferences.java:
7136 Cleaned up imports.
7137
7138 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7139
7140 * java/util/regex/Matcher.java,
7141 java/util/regex/Pattern.java:
7142 Cleaned up imports.
7143
7144 2004-04-22 Michael Koch <konqueror@gmx.de>
7145
7146 * java/nio/charset/IllegalCharsetNameException.java
7147 (charsetName): Made private.
7148 (IllegalCharsetNameException): Added @param tag to javadoc.
7149 (getCharsetName): Added @return tag to javadoc.
7150 * java/nio/charset/MalformedInputException.java
7151 (MalformedInputException): Added @param tag to javadoc.
7152 (getInputLength): Revised method description, added @return tag.
7153 (getMessage): Added @return tag.
7154
7155 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7156
7157 * java/awt/Font.java (deriveFont): Implement missing variants.
7158 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7159 missing variants.
7160
7161 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7162
7163 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7164 Set method->index values for interface methods to their itable index.
7165 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7166
7167 2004-04-21 Michael Koch <konqueror@gmx.de>
7168
7169 * java/nio/DirectByteBufferImpl.java
7170 (shiftDown): Made static, give address as argument and
7171 provide a convenience method that overwrites shiftDown in
7172 ByteBufferImpl and calls the native shiftDown.
7173 * java/nio/MappedByteBufferImpl.java
7174 (): Use optimized method in DirectByteBufferImpl.
7175 * java/nio/natDirectByteBufferImpl.cc
7176 (shiftDown): Changed method signature. Removed usage of array_offset.
7177
7178 2004-04-21 Michael Koch <konqueror@gmx.de>
7179
7180 * gnu/java/net/natPlainSocketImplPosix.cc
7181 (SocketInputStream::read): Make sure returned data is a byte value.
7182
7183 2004-04-21 Michael Koch <konqueror@gmx.de>
7184
7185 * gnu/classpath/ServiceFactory.java,
7186 gnu/classpath/ServiceProviderLoadingAction.java,
7187 javax/imageio/ImageReader.java,
7188 javax/imageio/ImageTranscoder.java,
7189 javax/imageio/ImageWriter.java,
7190 javax/imageio/package.html,
7191 javax/imageio/spi/IIOServiceProvider.java,
7192 javax/imageio/spi/ImageInputStreamSpi.java,
7193 javax/imageio/spi/ImageOutputStreamSpi.java,
7194 javax/imageio/spi/ImageReaderWriterSpi.java,
7195 javax/imageio/spi/ImageTranscoderSpi.java,
7196 javax/imageio/spi/RegisterableService.java,
7197 javax/imageio/spi/ServiceRegistry.java,
7198 javax/imageio/spi/package.html,
7199 javax/imageio/stream/IIOByteBuffer.java,
7200 javax/imageio/stream/ImageInputStream.java,
7201 javax/imageio/stream/ImageOutputStream.java,
7202 javax/imageio/stream/package.html:
7203 New files.
7204 * Makefile.am
7205 (ordinary_java_source_files): Added
7206 gnu/classpath/ServiceFactory.java and
7207 gnu/classpath/ServiceProviderLoadingAction.java.
7208 (javax_source_files): Added
7209 javax/imageio/ImageReader.java,
7210 javax/imageio/ImageTranscoder.java,
7211 javax/imageio/ImageWriter.java,
7212 javax/imageio/spi/IIOServiceProvider.java,
7213 javax/imageio/spi/ImageInputStreamSpi.java,
7214 javax/imageio/spi/ImageOutputStreamSpi.java,
7215 javax/imageio/spi/ImageReaderWriterSpi.java,
7216 javax/imageio/spi/ImageTranscoderSpi.java,
7217 javax/imageio/spi/RegisterableService.java,
7218 javax/imageio/spi/ServiceRegistry.java,
7219 javax/imageio/stream/IIOByteBuffer.java,
7220 javax/imageio/stream/ImageInputStream.java and
7221 javax/imageio/stream/ImageOutputStream.java.
7222 * Makefile.in: Regenerated.
7223
7224 2004-04-21 Michael Koch <konqueror@gmx.de>
7225
7226 * java/util/Properties.java
7227 (load): Fix wrongly merged fix.
7228
7229 2004-04-21 Mark Wielaard <mark@klomp.org>
7230
7231 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7232 malloc and free buf.
7233
7234 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7235
7236 * javax/naming/AuthenticationException.java,
7237 javax/naming/AuthenticationNotSupportedException.java,
7238 javax/naming/CannotProceedException.java,
7239 javax/naming/CommunicationException.java,
7240 javax/naming/CompoundName.java,
7241 javax/naming/ConfigurationException.java,
7242 javax/naming/ContextNotEmptyException.java,
7243 javax/naming/InitialContext.java,
7244 javax/naming/InsufficientResourcesException.java,
7245 javax/naming/InterruptedNamingException.java,
7246 javax/naming/LimitExceededException.java,
7247 javax/naming/LinkException.java,
7248 javax/naming/LinkLoopException.java,
7249 javax/naming/LinkRef.java,
7250 javax/naming/MalformedLinkException.java,
7251 javax/naming/Name.java,
7252 javax/naming/NameAlreadyBoundException.java,
7253 javax/naming/NameNotFoundException.java,
7254 javax/naming/NamingSecurityException.java,
7255 javax/naming/NoInitialContextException.java,
7256 javax/naming/NoPermissionException.java,
7257 javax/naming/NotContextException.java,
7258 javax/naming/PartialResultException.java,
7259 javax/naming/ReferralException.java,
7260 javax/naming/ServiceUnavailableException.java,
7261 javax/naming/SizeLimitExceededException.java,
7262 javax/naming/TimeLimitExceededException.java,
7263 javax/naming/directory/Attribute.java,
7264 javax/naming/directory/Attributes.java,
7265 javax/naming/directory/SearchResult.java,
7266 javax/naming/event/NamingExceptionEvent.java,
7267 javax/naming/spi/ResolveResult.java:
7268 Cleaned up imports.
7269
7270 2004-04-21 Mark Wielaard <mark@klomp.org>
7271
7272 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7273 Changed C++ comments into C comments. Removed commented out code.
7274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7275 Likewise.
7276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7277 Likewise.
7278 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7279 Likewise.
7280 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7281 Likewise.
7282 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7283 Likewise.
7284 * native/jni/gtk-peer/gthread-jni.c:
7285 Likewise.
7286
7287 2004-04-21 Mark Wielaard <mark@klomp.org>
7288
7289 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7290 static fields defined in interface.
7291 * javax/awt/JDialog.java: Likewise.
7292 (JDialog): Make constructors public.
7293 (getDefaultCloseOperation): Make public.
7294 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7295 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7296 * javax/swing/JViewport.java (JViewport): Make constructor public.
7297
7298 2004-04-21 Michael Koch <konqueror@gmx.de>
7299
7300 * java/util/Map.java
7301 (Entry): Removed redundant "static" modifier.
7302 * java/text/AttributedCharacterIterator.java:
7303 Updated copyright year.
7304
7305 2004-04-20 Michael Koch <konqueror@gmx.de>
7306
7307 * javax/naming/directory/SearchControls.java:
7308 Don't explicitely extend java.lang.Object.
7309 * javax/naming/spi/DirStateFactory.java:
7310 Merged copyright year with GNU classpath.
7311
7312 2004-04-20 Michael Koch <konqueror@gmx.de>
7313
7314 * java/nio/channels/Channels.java:
7315 Merged coding style with GNU classpath.
7316
7317 2004-04-20 Michael Koch <konqueror@gmx.de>
7318
7319 * java/net/ServerSocket.java
7320 Merged coding style from GNU classpath.
7321
7322 2004-04-20 Michael Koch <konqueror@gmx.de>
7323
7324 * java/io/BufferedWriter.java:
7325 Reordered variables to be at top of the class.
7326 (localFlush): Removed redundant final keyword.
7327
7328 2004-04-20 Ingo Proetel <proetel@aicas.com>
7329
7330 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7331
7332 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7333
7334 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7335 for percent and permill check.
7336
7337 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7338
7339 * java/text/FieldPosition.java
7340 (FieldPosition) Constructor now behaves as it should according
7341 to the java documentation.
7342
7343 2004-04-20 Mark Wielaard <mark@klomp.org>
7344
7345 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7346 documentation.
7347
7348 2004-04-20 Michael Koch <konqueror@gmx.de>
7349
7350 * java/nio/Buffer.java,
7351 java/nio/channels/AlreadyConnectedException.java,
7352 java/nio/channels/AsynchronousCloseException.java,
7353 java/nio/channels/ByteChannel.java,
7354 java/nio/channels/CancelledKeyException.java,
7355 java/nio/channels/Channel.java,
7356 java/nio/channels/Channels.java,
7357 java/nio/channels/ClosedByInterruptException.java,
7358 java/nio/channels/ClosedChannelException.java,
7359 java/nio/channels/ClosedSelectorException.java,
7360 java/nio/channels/ConnectionPendingException.java,
7361 java/nio/channels/DatagramChannel.java,
7362 java/nio/channels/FileChannel.java,
7363 java/nio/channels/FileLock.java,
7364 java/nio/channels/FileLockInterruptionException.java,
7365 java/nio/channels/GatheringByteChannel.java,
7366 java/nio/channels/IllegalBlockingModeException.java,
7367 java/nio/channels/IllegalSelectorException.java,
7368 java/nio/channels/InterruptibleChannel.java,
7369 java/nio/channels/NoConnectionPendingException.java,
7370 java/nio/channels/NonReadableChannelException.java,
7371 java/nio/channels/NonWritableChannelException.java,
7372 java/nio/channels/NotYetBoundException.java,
7373 java/nio/channels/NotYetConnectedException.java,
7374 java/nio/channels/OverlappingFileLockException.java,
7375 java/nio/channels/Pipe.java,
7376 java/nio/channels/ReadableByteChannel.java,
7377 java/nio/channels/ScatteringByteChannel.java,
7378 java/nio/channels/SelectableChannel.java,
7379 java/nio/channels/SelectionKey.java,
7380 java/nio/channels/Selector.java,
7381 java/nio/channels/ServerSocketChannel.java,
7382 java/nio/channels/SocketChannel.java,
7383 java/nio/channels/UnresolvedAddressException.java,
7384 java/nio/channels/UnsupportedAddressTypeException.java,
7385 java/nio/channels/WritableByteChannel.java,
7386 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7387 java/nio/channels/spi/AbstractSelectableChannel.java,
7388 java/nio/channels/spi/AbstractSelectionKey.java,
7389 java/nio/channels/spi/AbstractSelector.java,
7390 java/nio/channels/spi/SelectorProvider.java,
7391 java/nio/charset/spi/CharsetProvider.java:
7392 Fixed javadocs and jalopied all over java.nio.
7393
7394 2004-04-20 Michael Koch <konqueror@gmx.de>
7395
7396 * java/nio/ByteBufferImpl.java,
7397 java/nio/CharBufferImpl.java,
7398 java/nio/DirectByteBufferImpl.java,
7399 java/nio/DoubleBufferImpl.java,
7400 java/nio/DoubleViewBufferImpl.java,
7401 java/nio/FloatBufferImpl.java,
7402 java/nio/FloatViewBufferImpl.java,
7403 java/nio/IntBufferImpl.java,
7404 java/nio/IntViewBufferImpl.java,
7405 java/nio/LongBufferImpl.java,
7406 java/nio/LongViewBufferImpl.java,
7407 java/nio/MappedByteBufferImpl.java,
7408 java/nio/ShortBufferImpl.java,
7409 java/nio/ShortViewBufferImpl.java:
7410 Made sure all classes are final and removed final keyword from all
7411 methods.
7412
7413 2004-04-20 Michael Koch <konqueror@gmx.de>
7414
7415 * java/rmi/MarshalledObject.java,
7416 java/rmi/Naming.java,
7417 java/rmi/RemoteException.java,
7418 java/rmi/activation/ActivationException.java,
7419 java/rmi/server/ServerCloneException.java,
7420 java/security/AccessController.java,
7421 java/security/AlgorithmParameterGenerator.java,
7422 java/security/AlgorithmParameters.java,
7423 java/security/CodeSource.java,
7424 java/security/Identity.java,
7425 java/security/IdentityScope.java,
7426 java/security/KeyPairGenerator.java,
7427 java/security/KeyStore.java,
7428 java/security/Security.java,
7429 java/security/Signature.java,
7430 java/security/SignatureSpi.java,
7431 java/security/SignedObject.java,
7432 java/security/spec/DSAParameterSpec.java,
7433 java/security/spec/DSAPrivateKeySpec.java,
7434 java/security/spec/DSAPublicKeySpec.java,
7435 java/sql/Array.java,
7436 java/sql/DatabaseMetaData.java,
7437 java/sql/ResultSet.java,
7438 java/text/ChoiceFormat.java,
7439 java/text/CollationElementIterator.java,
7440 java/text/CollationKey.java,
7441 java/text/Collator.java,
7442 java/text/DateFormat.java,
7443 java/text/DateFormatSymbols.java,
7444 java/text/DecimalFormatSymbols.java,
7445 java/text/Format.java,
7446 java/text/ParsePosition.java,
7447 java/text/RuleBasedCollator.java,
7448 java/text/SimpleDateFormat.java,
7449 java/text/StringCharacterIterator.java,
7450 java/util/Collections.java,
7451 java/util/PropertyResourceBundle.java,
7452 java/util/ResourceBundle.java,
7453 java/util/StringTokenizer.java,
7454 java/util/jar/Attributes.java,
7455 java/util/logging/ConsoleHandler.java,
7456 java/util/logging/LogManager.java,
7457 java/util/logging/MemoryHandler.java,
7458 java/util/logging/SocketHandler.java,
7459 javax/naming/NamingException.java:
7460 Fixed javadoc, coding style and argument names all over.
7461
7462 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7463
7464 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7465 constructor. (valid) Added null check.
7466
7467 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7468
7469 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7470 * java/io/FileOutputStream.java
7471 (FileOutputStream) Reorganized constructors. Constructors now
7472 check whether the given path is directory.
7473
7474 2004-04-20 Michael Koch <konqueror@gmx.de>
7475
7476 * java/net/Authenticator.java,
7477 java/net/BindException.java,
7478 java/net/ConnectException.java,
7479 java/net/ContentHandler.java,
7480 java/net/ContentHandlerFactory.java,
7481 java/net/DatagramPacket.java,
7482 java/net/DatagramSocket.java,
7483 java/net/DatagramSocketImpl.java,
7484 java/net/DatagramSocketImplFactory.java,
7485 java/net/FileNameMap.java,
7486 java/net/HttpURLConnection.java,
7487 java/net/Inet4Address.java,
7488 java/net/Inet6Address.java,
7489 java/net/InetAddress.java,
7490 java/net/InetSocketAddress.java,
7491 java/net/JarURLConnection.java,
7492 java/net/MalformedURLException.java,
7493 java/net/MulticastSocket.java,
7494 java/net/NetPermission.java,
7495 java/net/NetworkInterface.java,
7496 java/net/NoRouteToHostException.java,
7497 java/net/PasswordAuthentication.java,
7498 java/net/PortUnreachableException.java,
7499 java/net/ProtocolException.java,
7500 java/net/ServerSocket.java,
7501 java/net/Socket.java,
7502 java/net/SocketAddress.java,
7503 java/net/SocketException.java,
7504 java/net/SocketImpl.java,
7505 java/net/SocketImplFactory.java,
7506 java/net/SocketOptions.java,
7507 java/net/SocketPermission.java,
7508 java/net/SocketTimeoutException.java,
7509 java/net/URI.java,
7510 java/net/URISyntaxException.java,
7511 java/net/URL.java,
7512 java/net/URLClassLoader.java,
7513 java/net/URLConnection.java,
7514 java/net/URLDecoder.java,
7515 java/net/URLEncoder.java,
7516 java/net/URLStreamHandler.java,
7517 java/net/URLStreamHandlerFactory.java,
7518 java/net/UnknownHostException.java,
7519 java/net/UnknownServiceException.java:
7520 Fixed javadocs, coding style and argument names all over.
7521
7522 2004-04-20 Michael Koch <konqueror@gmx.de>
7523
7524 * java/lang/Byte.java,
7525 java/lang/CharSequence.java,
7526 java/lang/ClassLoader.java,
7527 java/lang/Compiler.java,
7528 java/lang/Double.java,
7529 java/lang/Float.java,
7530 java/lang/Integer.java,
7531 java/lang/Long.java,
7532 java/lang/Math.java,
7533 java/lang/Number.java,
7534 java/lang/Package.java,
7535 java/lang/Runtime.java,
7536 java/lang/RuntimePermission.java,
7537 java/lang/SecurityManager.java,
7538 java/lang/Short.java,
7539 java/lang/StringBuffer.java,
7540 java/lang/System.java,
7541 java/lang/ThreadGroup.java,
7542 java/lang/Throwable.java,
7543 java/lang/reflect/InvocationHandler.java,
7544 java/lang/reflect/Proxy.java:
7545 Fixed javadocs, coding style and argument names all over.
7546
7547 2004-04-20 Michael Koch <konqueror@gmx.de>
7548
7549 * java/io/BufferedWriter.java,
7550 java/io/ByteArrayInputStream.java,
7551 java/io/CharArrayWriter.java,
7552 java/io/DataInput.java,
7553 java/io/DataInputStream.java,
7554 java/io/File.java,
7555 java/io/FilterInputStream.java,
7556 java/io/InputStream.java,
7557 java/io/InputStreamReader.java,
7558 java/io/ObjectInputStream.java,
7559 java/io/ObjectStreamClass.java,
7560 java/io/PipedInputStream.java,
7561 java/io/PipedReader.java,
7562 java/io/PushbackInputStream.java,
7563 java/io/PushbackReader.java,
7564 java/io/RandomAccessFile.java,
7565 java/io/SerializablePermission.java,
7566 java/io/StreamTokenizer.java,
7567 java/io/StringWriter.java,
7568 java/io/WriteAbortedException.java,
7569 java/io/Writer.java:
7570 Fixed javadocs all over, rename arguments to match javadocs,
7571 fixed coding style.
7572
7573 2004-04-20 Ingo Proetel <proetel@aicas.com>
7574
7575 * java/awt/FontMetrics.java:
7576 (charsWidth): fixed accumulation of total_width
7577 (getWidth): simple default implementation
7578 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7579 in Rectangle constructor.
7580 * java/awt/image/Raster.java (toString): Added method.
7581 * java/awt/image/SampleModel.java (<init>): Added error cause
7582 information to thrown exception.
7583 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7584 New method.
7585 (setDataElements): New method.
7586 (setPixels): New method.
7587 (toString): New method.
7588
7589 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7590
7591 * java/awt/image/ComponentColorModel.java
7592 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7593 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7594 Mauve tests on this method. Improved documentation.
7595
7596 2004-04-20 Michael Koch <konqueror@gmx.de>
7597
7598 * javax/swing/JLayeredPane.java,
7599 javax/swing/plaf/BorderUIResource.java,
7600 javax/swing/plaf/ComponentUI.java,
7601 javax/swing/undo/CompoundEdit.java,
7602 javax/swing/undo/StateEdit.java:
7603 Fixed HTML tags in javadocs all over.
7604
7605 2004-04-20 Michael Koch <konqueror@gmx.de>
7606
7607 * javax/print/attribute/EnumSyntax.java
7608 (getOffset): Made protected.
7609 * javax/print/attribute/HashAttributeSet.java
7610 (HashAttributeSet): Likewise.
7611 * javax/print/attribute/ResolutionSyntax.java
7612 (getFeedResolution): Fixed typo in exception name.
7613 (getCrossFeedResolution): Likewise.
7614 * javax/print/attribute/SetOfIntegerSyntax.java
7615 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7616 * javax/print/attribute/TextSyntax.java
7617 (TextSyntax): Handle locale correctly.
7618 (hashCode): Calc better hashcode value.
7619 (equals): Fixed @return tag.
7620 (toString): New method.
7621
7622 2004-04-20 Michael Koch <konqueror@gmx.de>
7623
7624 * gnu/java/nio/FileLockImpl.java
7625 (static): Removed, not needed anymore.
7626 * gnu/java/nio/channels/FileChannelImpl.java
7627 (FileChannelImpl): Made final.
7628 (mode): Made private.
7629 (READ, WRITE, APPEND): Made public.
7630 (EXCL, SYNC, DSYNC): Likewise.
7631 (static): Load native JNI library, when needed.
7632 (length): Unused, removed.
7633 (available): Made public.
7634 (implPosition): Throws IOException.
7635 (seek): Likewise.
7636 (implTruncate): Likewise.
7637 (unlock): Likewise.
7638 (lock): Likewise.
7639
7640 2004-04-20 Michael Koch <konqueror@gmx.de>
7641
7642 * java/awt/AWTPermission.java,
7643 java/awt/Component.java,
7644 java/awt/ComponentOrientation.java,,
7645 java/awt/Dialog.java,
7646 java/awt/FontMetrics.java,
7647 java/awt/Graphics.java,
7648 java/awt/datatransfer/DataFlavor.java,
7649 java/beans/Introspector.java,
7650 java/beans/PropertyEditor.java,
7651 java/beans/PropertyEditorManager.java,
7652 java/beans/beancontext/BeanContextServiceProvider.java:
7653 Fixed HTML tags in javadocs all over.
7654
7655 2004-04-20 Mark Wielaard <mark@klomp.org>
7656
7657 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7658 MissingResourceException is thrown.
7659 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7660 null when a MissingResourceException is thrown. Should never happen.
7661
7662 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7663
7664 * java/awt/image/DataBufferShort.java,
7665 java/awt/image/DataBufferFloat.java,
7666 java/awt/image/DataBufferDouble.java,
7667 java/awt/image/PixelInterleavedSampleModel.java: New files.
7668 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7669 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7670
7671 2004-04-20 Michael Koch <konqueror@gmx.de>
7672
7673 * Makefile.am (java_source_files): Added
7674 java/awt/image/DataBufferDouble.java,
7675 java/awt/image/DataBufferFloat.java,
7676 java/awt/image/DataBufferShort.java and
7677 java/awt/image/PixelInterleavedSampleModel.java.
7678 * Makefile.in: Regenerated.
7679
7680 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7681
7682 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7683 undocumented CNI calls.
7684 * include/java-interp.h (_Jv_InterpClass): No longer
7685 extends java.lang.Class.
7686 * java/lang/Class.h (Class): Add new field `aux_info'.
7687 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7688 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7689 Use Class->aux_info instead.
7690 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7691 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7692 Use Class->aux_info instead.
7693 * java/io/natObjectInputStream.cc (allocateObject): Use
7694 _Jv_AllocObject.
7695 * java/lang/natClass.cc (newInstance): Likewise.
7696 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7697 * java/lang/natObject.cc (clone): Likewise.
7698 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7699 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7700 JvAllocObject. Allocate klass->aux_info here for interpreted
7701 class.
7702
7703 2004-04-17 Mark Wielaard <mark@klomp.org>
7704
7705 * javax/swing/JToggleButton.java (ToggleButtonModel):
7706 Make public static inner class.
7707 * javax/swing/JTabbedPane.java (setComponentAt):
7708 Call Page.setComponent().
7709 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7710 (WRAP_TAB_LAYOUT): Make public, value is 0.
7711 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7712 Make private static inner class.
7713
7714 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7715
7716 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7717 arguments to match new signature. Remove FIXME comments.
7718
7719 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7720
7721 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7722 Remove method.
7723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7724 unused code.
7725
7726 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7727
7728 * Makefile.am: Added new file.
7729 * Makefile.in: Regenerate.
7730 * javax/swing/ImageIcon.java:
7731 (ImageIcon(file)): set description of the icon
7732 to the file name
7733 * javax/swing/JCheckBoxMenuItem.java:
7734 Mostly Implemented. Work in progress.
7735 * javax/swing/JRadioButtonMenuItem.java:
7736 Reimplement constructors to use JToggleButtonModel.
7737 * javax/swing/plaf/basic/BasicIconFactory.java:
7738 (getCheckBoxMenuItemIcon): return check box
7739 icon.
7740 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7741 paint menu item selected only when it is armed and
7742 pressed.
7743
7744 2004-04-02 David Jee <djee@redhat.com>
7745
7746 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7747 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7748 * java/awt/Component.java
7749 (add): Set the parent of the popup as this component.
7750 * java/awt/PopupMenu.java
7751 (addNotify): Create popup menu when peer is null.
7752 (show): Call addNotify() if peer is null.
7753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7754 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7755 argument for gtk_menu_popup() as zero. This causes the popup menu to
7756 respond to any mouse button.
7757
7758 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7759
7760 * Makefile.am: Added new file.
7761 * Makefile.in: Regenerate.
7762 * javax/swing/JRadioButtonMenuItem.java:
7763 Implemented.
7764 * javax/swing/plaf/basic/BasicIconFactory.java:
7765 (getRadioButtonMenuItemIcon): Return
7766 radio button icon.
7767 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7768 (getPreferredSize): Add size of checkIcon if it
7769 exists.
7770 (installDefaults): Don't initialize checkIcon.
7771 It's value will be set in subclasses.
7772 (uninstallDefaults): remove uninstallation of
7773 checkIcon.
7774 (paint): Moved code to paintMenuItem().
7775 (paintMenuItem): Implemented.
7776 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7777 UI delegate for JRadioButtonMenuItem.
7778
7779 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7780
7781 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7782 Corrected position of the accelerator.
7783
7784 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7785
7786 * Makefile.am: Added new file.
7787 * Makefile.in: Regenerate.
7788 * javax/swing/JMenuItem.java: Partly
7789 implemented. Work in progress
7790 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7791 Changed default value of acceleratorDelimiter.
7792 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7793 New class. Partly implemented.
7794
7795 2004-03-26 Mark Wielaard <mark@klomp.org>
7796
7797 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7798 (item_activate): Declare label before use.
7799 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7800 (gtkSetFont): Removed unused variable label.
7801 (addExposeFilter): Declare variables before use.
7802 (removeExposeFilter): Likewise.
7803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7804 (ok_clicked): Declare str_fileName before use.
7805
7806 2004-03-26 David Jee <djee@redhat.com>
7807
7808 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7809 (addSeparator): Remove.
7810 * java/awt/Menu.java
7811 (separator): Remove static final MenuItem field.
7812 (separatorLabel): New static final String field.
7813 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7814 Use separatorLabel to denote that it is a separator.
7815 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7816 of reusing the static separator instance, because a MenuItem instance
7817 can't be added more than once without being cloned.
7818 * java/awt/peer/MenuPeer.java
7819 (addSeparator): Remove from interface.
7820
7821 2004-03-26 David Jee <djee@redhat.com>
7822
7823 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7824 (connectSignals): New native method declaration.
7825 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7826 * java/awt/MenuItem.java
7827 (getActionCommand): Return the label if the action command is not set.
7828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7829 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7830 gtk_menu_shell_append().
7831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7832 (item_activate): Fix argument type.
7833 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7834 signal here.
7835 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7836 method.
7837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7838 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7839 given. Add the menu widget's top-level GtkWindow to the global window
7840 group, so it can grab the pointer.
7841 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7842 gtk_menu_shell_append().
7843
7844 2004-03-23 Graydon Hoare <graydon@redhat.com>
7845
7846 * java/text/AttributedString.java
7847 (addAttribute): Fix off-by-one.
7848 (getIterator): Likewise.
7849 * java/text/AttributedStringIterator.java
7850 (getRunLimit): Correct logic.
7851 (getRunStart): Likewise.
7852 (getAttribute): Fix inequality.
7853 (getAttributes): Likewise.
7854 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7855
7856 2004-03-23 Kim Ho <kho@redhat.com>
7857
7858 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7859 (calculateSizes): Return real width and height.
7860
7861 2004-03-23 Kim Ho <kho@redhat.com>
7862
7863 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7864 (calculateTabRects): Set the selectedRun before
7865 trying to rotate tabs.
7866
7867 2004-03-23 Kim Ho <kho@redhat.com>
7868
7869 * Makefile.am: New file
7870 * Makefile.in: Regenerate
7871 * java/awt/Graphics.java: (drawRect):
7872 Draw to the correct point.
7873 * javax/swing/DefaultSingleSelectionModel.java
7874 (isSelected): Return true if the selected index
7875 is not -1.
7876 * javax/swing/JLabel.java: Do not change mnemonic
7877 index if text is null.
7878 * javax/swing/JProgressBar.java: Use JComponent's
7879 EventListenerList.
7880 * javax/swing/JScrollBar.java: Ditto.
7881 * javax/swing/JSlider.java: Ditto.
7882 * javax/swing/JTabbedPane.java: Reimplement.
7883 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7884 Add defaults for TabbedPane.
7885 * javax/swing/plaf/basic/BasicArrowButton.java:
7886 Implement
7887 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7888 (paintDeterminate): Don't paint String if it's
7889 empty.
7890 (paintIndeterminate): ditto.
7891 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7892 Reimplement.
7893
7894 2004-03-19 Michael Koch <konqueror@gmx.de>
7895
7896 * java/awt/image/AffineTransformOp.java
7897 (AffineTransformOp): Made public.
7898 * javax/swing/JComponent.java
7899 (listenerList): Made protected.
7900 (accessibleContext): Likewise.
7901 * javax/swing/JList.java
7902 (valueChanged): Dont use internal fields of ListSelectionEvent.
7903 * javax/swing/JViewport.java
7904 (getView): Dont use internal fields of Component.
7905 (addImpl): Likewise.
7906 * javax/swing/Timer.java
7907 (isRunning): Made public.
7908 (start): Likewise.
7909 (stop): Likewise.
7910 * javax/swing/UIDefaults.java
7911 (getInt): Made public.
7912 * javax/swing/plaf/basic/BasicListUI.java
7913 (mousePressed): Dont use internal fields of MouseEvent.
7914 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7915 * javax/swing/plaf/basic/BasicScrollBarUI.java
7916 (arrowIcon): Made static.
7917 * javax/swing/plaf/basic/BasicViewportUI.java
7918 (stateChanged): Dont use internal field on ChangeEvent.
7919 * javax/swing/text/JTextComponent.java
7920 (getUI): Call UIManager.getUI().
7921 (updateUI): Use getUI().
7922
7923 2004-03-19 Graydon Hoare <graydon@redhat.com>
7924
7925 * javax/swing/JComponent.java: Turn off double buffer by default.
7926 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7928 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7929 Use cairo to copy areas.
7930 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7931 Initialize and set clip region.
7932
7933 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7934
7935 * java/applet/Applet.java (preferredSize): Override deprecated
7936 variant of getPreferredSize.
7937 (minimumSize): Override deprecated variant of getMinimumSize.
7938
7939 2004-03-15 Olga Rodimina <rodimina@redhat.com>
7940
7941 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7942 (drawImage(img,xform,bgcolor,obs)): New Method.
7943 Helper function that every drawImage method will
7944 use.
7945 (drawRaster): Added new parameter, bgcolor. All
7946 transparent pixels are changed to bgcolor before
7947 image is drawn.
7948 (drawRenderedImage): Fixed to use changed drawRaster().
7949 (drawImage(image,xform,obs): Fixed to use new helper function
7950 (drawImage(image,op,x,y)): Ditto.
7951 (drawImage (img,x,y,observer)): Ditto.
7952 ((PainterThread) bgcolor): New Field.
7953 ((PainterThread) (setPixels)): Changed all transparent pixels
7954 to bgcolor.
7955 (drawImage(img,x,y,width,height,bgcolor,observer)):
7956 Fixed FIXME - all the transparent pixels are
7957 changed to the specified bgcolor.
7958 (drawImage(img, x, y, width, height, observer): Changed to
7959 use function above.
7960 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
7961 Fixed FIXME- changed all transparent pixels to bgcolor.
7962 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
7963 Changed to use function above.
7964
7965 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7966
7967 * java/applet/Applet.java (dimensions): New field.
7968 (getDimensions): New method.
7969 (getPreferredSize): Call getDimensions.
7970 (getMinimumSize): Likewise.
7971
7972 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7973
7974 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
7975 * jni/classpath/jnilink.c: Likewise.
7976
7977 * java/applet/Applet.java (getPreferredSize): New method.
7978 (getMinimumSize): New method.
7979
7980 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
7981
7982 * prims.cc (_Jv_AllocObject): Remove `size' argument.
7983 (_Jv_AllocObjectNoFinalizer): Likewise.
7984 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
7985 (_Jv_AllocPtrFreeObject): Likewise.
7986 (_Jv_AllocString): Moved from natString.cc. Call collector interface
7987 directly even in the JVMPI case.
7988 * gcj/cni.h (JvAllocObject): Remove `size' argument from
7989 _Jv_AllocObject calls.
7990 * gcj/javaprims.h: Update prototypes.
7991 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
7992 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
7993 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
7994
7995 2004-04-14 Andrew Haley <aph@redhat.com>
7996 Bryce McKinlay <mckinlay@redhat.com>
7997
7998 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
7999 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8000 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8001
8002 * testsuite/libjava.lang/InvokeInterface.java: New file.
8003 * testsuite/libjava.lang/InvokeInterface.out: New file.
8004
8005 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8006
8007 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8008 modified lookup().
8009 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8010 StackTraceElement directly.
8011 (newElement): New native helper method to create StackTraceElement
8012 bypassing Java access control.
8013 (createStackTraceElement): Use newElement() instead of directly
8014 calling StackTraceElement's constructor.
8015 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8016
8017 2004-04-01 Michael Koch <konqueror@gmx.de>
8018
8019 * java/lang/SecurityManager.java
8020 (checkAwtEventQueueAccess): Implemented.
8021
8022 2004-04-01 Gary Benson <gbenson@redhat.com>
8023
8024 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8025 (_Jv_SearchMethodInClass): Likewise.
8026
8027 2004-03-26 Peter Moon <peterm@miraculum.com>
8028
8029 * java/text/NumberFormat.java: Fix spelling of setCurrency
8030 method.
8031
8032 2004-03-21 Anthony Green <green@redhat.com>
8033
8034 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8035 recursion when searching for the system ClassLoader.
8036
8037 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8038
8039 * java/net/ServerSocket.java
8040 (accept): Close the socket when error occured.
8041
8042 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8043
8044 * java/net/URI.java (parseURI): Added unquoting.
8045 (unquote): New method.
8046 (quoteAuthority): Implemented.
8047 (quote(String,String)): New method.
8048 (quotePath): Implemented.
8049 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8050 (getSchemeSpecificPart): Removed FIXME comment.
8051 (getRawAuthority): Return new rawAuthority field.
8052 (getAuthority): Removed FIXME comment.
8053 (getRawUserInfo): Return new rawUserInfo field.
8054 (getUserInfo): Removed FIXME comment.
8055 (getRawPath): Return new rawPath field.
8056 (getPath): Removed FIXME comment.
8057 (getRawQuery): Return new rawQuery field.
8058 (getQuery): Removed FIXME comment.
8059 (getRawFragment): Return new rawFragment field.
8060 (getFragment): Removed FIXME comment.
8061
8062 2004-03-20 Michael Koch <konqueror@gmx.de>
8063
8064 * java/net/URLConnection.java: Merged copyright year with classpath.
8065
8066 2004-03-20 Norbert Frese <postfach@nfrese.net>
8067
8068 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8069 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8070 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8071 rmi-message.
8072 (getObjectInputStream): Return object reference, throw IOException if null.
8073 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8074 (getObjectOutputStream): Return object reference, throw IOException if null.
8075 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8076 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8077 (UnicastConnectionManager): Throw RemoteException if port is not available.
8078 (getInstance): Throw RemoteException.
8079 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8080 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8081 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8082 Collect Exceptions which are returned by a rmi-call and fix void returns.
8083 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8084 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8085 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8086 (dispatch): Answer ping messages which are sent by other java implementions.
8087 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8088 for every rmi-message and fix void return problems.
8089 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8090 (UnicastServerRef): Throw RemoteException.
8091 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8092 In some situations it is necessary to export a subclass of the class which has the _Stub.
8093 For instance when the class with has the _Stub is abstract.
8094 (findStubSkelClass): New method which looks for the class which has the _Stub.
8095 (getClientHost): Implementated.
8096 * gcc/libjava/java/rmi/server/RemoteServer.java
8097 (getClientHost): Implementated.
8098 * gcc/libjava/Makefile.am (rmi_java_source_files):
8099 Added gnu/java/rmi/server/RMIIncomingThread.java.
8100 * Makefile.in: Regenerated.
8101
8102 2004-03-20 Michael Koch <konqueror@gmx.de>
8103
8104 * java/net/InetAddress.java
8105 (getLocalHostname): Added javadoc.
8106
8107 2004-03-19 Per Bothner <per@bothner.com>
8108
8109 * configure.in: FILE variable overrides FLATFORM when linking
8110 natFileChannelXXX.cc.
8111
8112 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8113 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8114
8115 2004-03-19 Per Bothner <per@bothner.com>
8116
8117 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8118 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8119 * Makefile.am: Update accordingly.
8120 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8121 as aliases for UnicodeLittle and UnicodeBig.
8122
8123 2004-03-20 Mark Wielaard <mark@klomp.org>
8124
8125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8126 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8127 Don't access ws when it is null.
8128 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8129 Likewise.
8130
8131 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8132
8133 * java/lang/ThreadGroup.java (list): Changed print to println.
8134
8135 2004-03-19 Mark Wielaard <mark@klomp.org>
8136
8137 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8138 happy.
8139
8140 2004-02-10 Randolph Chung <tausq@debian.org>
8141
8142 * configure.in: Build java for hppa target.
8143 * configure: Regenerate.
8144 * libjava/configure.host (hppa-*): Add target.
8145 * libjava/sysdeps/pa/lock.h: New file.
8146
8147 2004-03-19 Mark Wielaard <mark@klomp.org>
8148
8149 Reported by Stephen Crawley
8150 * java/io/FilePermission.java (implies): Use String.length() -1 to
8151 access last char of String.
8152
8153 2004-03-19 Michael Koch <konqueror@gmx.de>
8154
8155 * java/awt/image/AffineTransformOp.java
8156 (AffineTransformOp): Made public.
8157 * javax/swing/JComponent.java
8158 (listenerList): Made protected.
8159 (accessibleContext): Likewise.
8160 * javax/swing/JList.java
8161 (valueChanged): Dont use internal fields of ListSelectionEvent.
8162 * javax/swing/JViewport.java
8163 (getView): Dont use internal fields of Component.
8164 (addImpl): Likewise.
8165 * javax/swing/Timer.java
8166 (isRunning): Made public.
8167 (start): Likewise.
8168 (stop): Likewise.
8169 * javax/swing/UIDefaults.java
8170 (getInt): Made public.
8171 * javax/swing/plaf/basic/BasicListUI.java
8172 (mousePressed): Dont use internal fields of MouseEvent.
8173 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8174 * javax/swing/plaf/basic/BasicScrollBarUI.java
8175 (arrowIcon): Made static.
8176 * javax/swing/plaf/basic/BasicViewportUI.java
8177 (stateChanged): Dont use internal field on ChangeEvent.
8178 * javax/swing/text/JTextComponent.java
8179 (getUI): Call UIManager.getUI().
8180 (updateUI): Use getUI().
8181
8182 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8183
8184 * verify.cc: Undef PC.
8185
8186 2004-03-18 Michael Koch <konqueror@gmx.de>
8187
8188 * java/nio/channels/spi/AbstractSelectableChannel.java
8189 (keys): Initialize at declaration.
8190 (locate): keys cant be null.
8191 (add): Removed.
8192 (addSelectionKey): New method.
8193 (removeSelectionKey): New method.
8194 * java/nio/channels/spi/AbstractSelectionKey.java
8195 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8196 * java/nio/channels/spi/AbstractSelector.java
8197 (provider): Javadoc added.
8198 (cancelledKeys): Javadoc added.
8199 (cancelKey): Javadoc added, add key to cancelledKeys.
8200 (deregister): Implemented.
8201
8202 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8203
8204 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8205 MAP_FAILED to void *.
8206
8207 2004-03-12 Graydon Hoare <graydon@redhat.com>
8208
8209 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8210 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8211 * javax/swing/JList.java (ListListener): Revalidate on changes.
8212 * javax/swing/JScrollPane.java: Reimplement.
8213 * javax/swing/JViewport.java: Reimplement.
8214 * javax/swing/ScrollPaneLayout.java: Reimplement.
8215 * javax/swing/ViewportLayout.java: Tidy up.
8216 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8217 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8218 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8219 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8220 backing store only.
8221
8222 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8223
8224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8225 (window_wm_protocols_filter): New function.
8226 (window_focus_in_cb): Remove function.
8227 (window_focus_out_cb): Likewise.
8228 (window_focus_or_active_state_change_cb): New function.
8229 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8230 (connectSignals): Don't attach handlers to focus-in-event or
8231 focus-out-event signals. Handle notify signal.
8232
8233 2004-03-11 David Jee <djee@redhat.com>
8234
8235 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8236 (gtkSetLabel): New native method declaration.
8237 (setLabel): Use gtkSetLabel.
8238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8239 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8240
8241 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8242
8243 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8244 black when color argument is null.
8245
8246 2004-03-10 Kim Ho <kho@redhat.com>
8247
8248 * java/awt/Container.java: Remove check
8249 for drag events.
8250
8251 2004-03-10 Kim Ho <kho@redhat.com>
8252
8253 * java/awt/Container.java: (visitChild):
8254 Remove candidate clip. Use the component
8255 clip to intersect.
8256 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8257 (handleEvent): Use the PaintEvent's clip.
8258
8259 2004-03-10 Kim Ho <kho@redhat.com>
8260
8261 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8262 (handleEvent): Don't set the clip for the
8263 Graphics object.
8264
8265 2004-03-09 Graydon Hoare <graydon@redhat.com>
8266
8267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8268 Fix double <-> fixed macros, reset font transform.
8269 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8270 Likewise.
8271
8272 2004-03-09  Kim Ho <kho@redhat.com>
8273
8274 * java/awt/Container.java: (visitChild): Move
8275 the x and y coordinate of the component rectangle
8276 to correct position.
8277 (handleEvent): Forward drag events to the pressed
8278 component.
8279 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8280 Fix comments.
8281 (ArrowButtonListener::mousePressed): Stop the
8282 existing timer.
8283 (mouseDragged): Implement.
8284 (TrackListener::mousePressed): Only react if
8285 the press doesn't occur on the thumb, otherwise
8286 just set the offset.
8287 (TrackListener::mouseReleased): Unset the isAdjusting
8288 value.
8289 (createIncreaseIcon): Switch icon.
8290 (createDecreaseIcon): Switch icon.
8291 (calculatePreferredSize): Use width.
8292 (getThumbBounds): Use the top as the lower value.
8293 (layoutVScrollBar): Switch the button locations.
8294 (paintIncreaseHighlight): Paint correct side of thumb.
8295 (paintDecreaseHighlight): ditto.
8296 (valueForYPosition): Use top as the lower value.
8297 * javax/swing/plaf/basic/BasicSliderUI.java:
8298 Fix comments.
8299 (mouseDragged): Implement.
8300 (mousePressed): Only react when the thumb isn't
8301 pressed, otherwise just set offset.
8302 (mouseReleased): Handle a release of the thumb.
8303 (scrollDueToClickInTrack): Stop the timer first.
8304 * javax/swing/JProgressBar.java:
8305 (setString): Fix change condition.
8306 * javax/swing/JSeparator.java:
8307 Remove println's.
8308
8309 2004-03-08 David Jee <djee@redhat.com>
8310
8311 * java/awt/image/AffineTransformOp.java:
8312 (filter): Use Graphics2D interface instead of directly using the
8313 GdkGraphics2D peer.
8314
8315 2004-03-05 David Jee <djee@redhat.com>
8316
8317 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8318 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8319 * java/awt/Container.java
8320 (acquireComponentForMouseEvent): Fixed.
8321 (handleEvent): Fixed.
8322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8323 (state_to_awt_mods_with_button_states): New method.
8324 (pre_event_handler): Fixed mouse event generation.
8325
8326 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8327
8328 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8329 (GdkGraphics2D (BufferedImage)): Initialize
8330 pixmap associated with specified BufferedImage.
8331 (setPaint): Changed implementation of Texture
8332 Paint to use AffineTransformOp.
8333 * java/awt/image/AffineTransformOp.java
8334 (createCompatibleDestRaster): Throw RasterFormatException
8335 if resulting width or height of raster is 0.
8336
8337 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8338
8339 * java/awt/image/AffineTransformOp.java:
8340 Removed unnecessary field interpolationType.
8341 Formatted some of the lines to be consistent with
8342 the GNU style.
8343 (AffineTransformOp): Create new RenderingHints
8344 containing specified interpolation type.
8345 (createCompatibleDestImage): Implemented.
8346 (createCompatibleDestRaster): Implemented.
8347 (filter): Implemented.
8348 (getBounds2D(BufferedImage)): Implemented.
8349 (getBounds2D(Raster)): Implemented.
8350 (getInterpolationType): Get interpolation value from
8351 rendering hints.
8352
8353 2004-03-04 David Jee <djee@redhat.com>
8354
8355 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8356 (setFont): Check if child peers are null.
8357
8358 2004-03-04 Graydon Hoare <graydon@redhat.com>
8359
8360 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8361 .libs in -L option.
8362 (libjava_arguments): Add new libraries to argument list.
8363
8364 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8365
8366 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8367 * Makefile.in: Re-generated.
8368 * java/awt/image/AffineTransformOp.java: New Class.
8369
8370 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8371
8372 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8373 (setPaint): Interpret correctly TexturePaint's
8374 anchor rectangle.
8375 (drawImage): Fixed scale factors of the affine
8376 transform.
8377
8378 2004-02-27 David Jee <djee@redhat.com>
8379
8380 * gnu/java/awt/peer/gtk/GdkGraphics.java
8381 (GdkGraphics(Component)): Inherit font from component.
8382 (drawString): Use font style.
8383 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8384 (gtkSetFont): New native method declaration.
8385 (setFont): New method.
8386 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8387 (gtkSetFont): New native method declaration.
8388 (setFont): Call new native method gtkSetFont.
8389 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8390 (setFont): For all child components who do not their fonts set,
8391 set their peers' fonts with this container's font.
8392 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8393 Move all native method declarations to the top for readability.
8394 (gtkSetFont): New native method declaration.
8395 (setFont): New method.
8396 * java/awt/Component.java
8397 (setFont): Invalidate after setting the font.
8398 * java/awt/Container.java
8399 (invalidateTree): New method.
8400 (setFont): Invalidate the container tree after setting the font.
8401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8402 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8404 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8406 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8407 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8408 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8409
8410 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8411
8412 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8413 (updateBufferedImage): New helper function.
8414 Updates BufferedImage in memory if it was changed.
8415 (draw): changed to update BufferedImage in memory after
8416 this drawing operation
8417 (fill): Ditto.
8418 (draw3DRect): Ditto.
8419 (fill3DRect): Ditto.
8420 (clearRect): Ditto.
8421 (drawRaster): Ditto.
8422 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8423 no affine transformation.
8424 (drawGlyphVector): Ditto.
8425
8426 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8427
8428 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8429 (isBufferedImageGraphics): New Helper function.
8430 Returns true if this graphics2d can be used to draw
8431 into buffered image and false otherwise.
8432 (updateImagePixels): New Helper function.
8433 Updates pixels in the BufferedImage.
8434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8435 (getImagePixels): New function. Returns pixels
8436 of the buffered image associated with
8437 this Graphics2D.
8438
8439 2004-02-26 David Jee <djee@redhat.com>
8440
8441 * java/awt/BorderLayout.java
8442 (layoutContainer): Fix width and height calculations to ensure
8443 that they're non-negative.
8444 * java/awt/Component.java
8445 (setBackground): If c is null, inherit from closest ancestor whose
8446 background color is set.
8447
8448 2004-02-26  Kim Ho  <kho@redhat.com>
8449
8450 * Makefile.am: Add new files.
8451 * Makefile.in: Re-generate.
8452 * javax/swing/JProgressBar.java:
8453 (JProgressBar(int, int int)): Throw
8454 IllegalArgumentException if orientation is
8455 invalid.
8456 (JProgressBar(BoundedRangeModel)): Create
8457 ChangeListener and register it. UpdateUI.
8458 (getChangeListeners): Implement.
8459 (setModel): Reset ChangeListener.
8460 * javax/swing/JScrollBar.java: Implement.
8461 * javax/swing/JSeparator.java: Implement.
8462 * javax/swing/JSlider.java:
8463 (JSlider(int, int, int, int)): Throw
8464 IllegalArgumentException if orientation
8465 is invalid.
8466 (getChangeListeners): Fix method name.
8467 * javax/swing/SwingUtilities.java:
8468 (layoutCompoundLabel): If there is no text,
8469 set the text rectangle dimensions to 0.
8470 * javax/swing/plaf/basic/BasicButtonUI.java:
8471 (paint): If there is no text, don't paint it.
8472 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8473 Implement.
8474 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8475 Implement.
8476 * javax/swing/plaf/basic/BasicSliderUI.java:
8477 (propertyChange): If the model changes, change
8478 the listeners accordingly.
8479
8480 2004-02-25 Graydon Hoare <graydon@redhat.com>
8481
8482 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8483 * javax/swing/JList.java: Reimplement.
8484 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8485 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8486 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8487 * javax/swing/ListModel.java: Javadoc.
8488 * javax/swing/ListSelectionModel.java: Add missing methods.
8489 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8490 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8491 * javax/swing/ListModel.java: Javadoc and corrections.
8492 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8493
8494 2004-02-25 David Jee <djee@redhat.com>
8495
8496 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8497 (GtkFontPeer): Change default size to 12.
8498 * gnu/java/awt/peer/gtk/GtkToolkit.java
8499 (getFontPeer): Change default size to 12.
8500 (getClasspathFontPeer): Likewise. Set default name to "Default".
8501 * java/awt/Font.java
8502 (Font(Map)): Call Font(String,Map).
8503 (Font(String,Map)): If attrs is null, initialize it as an empty
8504 HashMap, which will ensure that the Font will get default attributes.
8505
8506 2004-02-25 David Jee <djee@redhat.com>
8507
8508 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8509 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8510 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8511 * gnu/java/awt/peer/gtk/GtkToolkit.java
8512 (getFontPeer(String,int)): Call the new overload method with size 1.
8513 (getFontPeer(String,int,int)): New method. Overloaded with size
8514 attribute.
8515 (getClasspathFontPeer): Set the size of the font.
8516
8517 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8518
8519 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8520 (bimage): New field.
8521 (GdkGraphics2D): New Constructor. Constructs Graphics
8522 object that can be used to draw into the Buffered Image.
8523 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8524 (GdkGraphicsEnvironment): Fixed to include public
8525 keyword.
8526 (createGraphics): Implemented.
8527 * gnu/java/awt/peer/gtk/GtkToolkit.java
8528 (getLocalGraphicsEnvironment): Implemented.
8529 * java/awt/GraphicsEnvironment.java:
8530 (getLocalGraphicsEnvironment): Implemented.
8531 * java/awt/image/BufferedImage.java:
8532 (createGraphics): Implemented.
8533
8534 2004-02-24 David Jee <djee@redhat.com>
8535
8536 * java/awt/Component.java
8537 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8538 * java/awt/Container.java
8539 (addNotifyContainerChildren): Fix event enabling.
8540
8541 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8542
8543 * Makefile.am: Added
8544 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8545 * Makefile.in: Re-generated.
8546 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8547 New Class.
8548
8549 2004-02-19 Kim Ho <kho@redhat.com>
8550
8551 * Makefile.am: Add BasicProgressBarUI
8552 * Makefile.in: Regenerate.
8553 * javax/swing/JProgressBar.java:
8554 Re-implement.
8555 * javax/swing/plaf/basic/BasicLookAndFeel.java
8556 Add constants for JProgressBar.
8557 * javax/swing/plaf/basic/BasicProgressBarUI.java
8558 Implement.
8559 * javax/swing/plaf/basic/BasicSliderUI.java
8560 Change comments.
8561 (calculateGeometry): New method
8562 (paint): Remove unnecessary size calculations.
8563
8564 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8565
8566 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8567 (drawRaster): Fixed small error that caused
8568 imageToUser transformation to be set incorrectly.
8569 (toString): Implemented.
8570
8571 2004-02-18 David Jee <djee@redhat.com>
8572
8573 * java/awt/CardLayout.java
8574 (addLayoutComponent): Show the first component added as the default.
8575 (removeLayoutComponent): After removing, show the next component.
8576 (gotoComponent): If there is only one component, show it and return.
8577
8578 2004-02-18 Kim Ho <kho@redhat.com>
8579
8580 * javax/swing/JSlider.java: Re-order
8581 modifiers.
8582 * javax/swing/JLabel.java: Re-order
8583 modifiers.
8584 * javax/swing/JComponent.java:
8585 (addPropertyChangeListener):
8586 Implement.
8587 (removePropertyChangeListener):
8588 ditto.
8589 (firePropertyChangeEvent):
8590 ditto.
8591
8592 2004-02-17 David Jee <djee@redhat.com>
8593
8594 * java/awt/Component.java
8595 (show): Dispatch ComponentEvent via system event queue.
8596 (hide): Likewise.
8597 (move): Likewise.
8598 (resize): Likewise.
8599 (reshape): Likewise.
8600 * java/awt/Window.java
8601 (setBoundsCallback): Likewise.
8602
8603 2004-02-17 David Jee <djee@redhat.com>
8604
8605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8606 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8607 Use gtk_widget_set_size_request() instead of the deprecated
8608 gtk_widget_set_usize().
8609
8610 2004-02-17 Kim Ho <kho@redhat.com>
8611
8612 * javax/swing/JSlider.java: Fix comments and
8613 make property strings constants.
8614 (createStandardLabels): Use the labels
8615 preferred size as bounds.
8616 * javax/swing/plaf/basic/BasicSliderUI.java
8617 Fix comments.
8618 (ScrollHandler::actionPerformed): Don't
8619 calculate the timer stop value. Let the
8620 MouseListeners find the stop location.
8621 (getPreferredHorizontalSize): Re-implement.
8622 (getPreferredVerticalSize): ditto.
8623 (getMinimumHorizontalSize): ditto.
8624 (getMinimumVerticalSize): ditto.
8625 (getPreferredSize): ditto.
8626 (getMinimumSize): ditto.
8627 (getMaximumSize): ditto.
8628 (paintTicks): Use doubles to find the
8629 tick location.
8630 (paintHorizontalLabel):  Use preferredSize
8631 as initial width and height.
8632 (paintVerticalLabel): ditto.
8633
8634 2004-02-17 Kim Ho <kho@redhat.com>
8635
8636 * javax/swing/JLabel.java: Changed
8637 property strings to constants.
8638 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8639 New property.
8640 (setText): Change mnemonic index if
8641 text is too short.
8642 (setDisplayedMnemonicIndex): Fire property
8643 change event.
8644 (getDisplayedMnemonicIndex): Remove check
8645 against short text.
8646
8647 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8648
8649 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8650 (drawImage(img,xform,obs)): Invert xform before
8651 passing the xform to cairo.
8652 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8653 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8654 implemented.
8655 (drawImage (img,x,y,w,h,obs)): Implemented.
8656 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8657 bgcolor,obs)): Partly implemented.
8658 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8659 Implemented.
8660 * java/awt/image/BufferedImage.java:
8661 (copyData): if dest is null, create raster with same
8662 dimensions as the current image.
8663
8664 2004-02-16 Graydon Hoare <graydon@redhat.com>
8665
8666 * javax/swing/plaf/basic/BasicLabelUI.java
8667 (getPreferredSize): Use layoutCL.
8668 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8669 (getPreferredButtonSize): Start with empty view rect, layout using
8670 component's preferred alignment.
8671 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8672 List defaults.
8673
8674 2004-02-16 David Jee <djee@redhat.com>
8675
8676 * java/awt/Component.java
8677 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8678 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8679 (move): Erase old bounds and repaint new bounds. Dispatch
8680 COMPONENT_MOVED ComponentEvent.
8681 (resize): Erase old bounds and repaint new bounds. Dispatch
8682 COMPONENT_RESIZED ComponentEvent.
8683 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8684 ComponentEvents.
8685 * java/awt/Window.java
8686 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8687 ComponentEvents.
8688
8689 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8690
8691 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8692 (setRenderingHint): Added implementation of
8693 Interpolation rendering hints.
8694 (setRenderingHints): Ditto.
8695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8696 (drawPixels): fixed to allow user to choose type
8697 of filtering that should be used when displaying images.
8698 (cairoSurfaceSetFilter): New method. Sets filter type for
8699 interpolation of pixel values.
8700
8701 2004-02-16 David Jee <djee@redhat.com>
8702
8703 * java/awt/GridBagLayout.java
8704 (calcCellSizes): Rows or columns with zero sizes should still be
8705 considered for extra space distribution.
8706
8707 2004-02-16 Kim Ho <kho@redhat.com>
8708
8709 * javax/swing/JLabel.java: Re-implement.
8710 * javax/swing/plaf/basic/BasicLabelUI.java
8711 Re-implement.
8712 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8713 Added constant.
8714
8715 2004-02-16  Kim Ho  <kho@redhat.com>
8716
8717 * javax/swing/JSlider.java: Fix indentation and comments.
8718 (setModel): Remove null check to conform with Sun's.
8719 (setOrientation): Throw exception if not
8720 HORIZONTAL or VERTICAL.
8721 (getInverted): Use private variable instead of
8722 ComponentOrientation.
8723 (setInverted): ditto.
8724 * javax/swing/plaf/basic/BasicSliderUI.java:
8725 Fix indentation and comments.
8726 (propertyChange): Remove check for inverted slider, handle
8727 in main paint.
8728 (getMinimumSize): Return preferred size.
8729 (getMaximumSize): ditto.
8730 (calculateFocusRect): Don't relocate rectangle.
8731 (drawInverted): Return XOR of the slider's inversion and
8732 the component's orientation.
8733 (paint): Update leftToRightCache
8734
8735 2004-02-13 David Jee <djee@redhat.com>
8736
8737 * java/awt/GridBagLayout.java
8738 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8739 code to helper methods.
8740 (sortBySpan): New helper method.
8741 (distributeSizeAndWeight): Likewise.
8742 (calcCellWeights): Likewise.
8743 (calcCellSizes): Add comments.
8744
8745 2004-02-13 David Jee <djee@redhat.com>
8746
8747 * java/awt/Component.java
8748 (show): Only do something if component is invisible at the moment.
8749 (hide): Only do something if component is visible at the moment.
8750 (reshape): If lightweight, erase old bounds and repaint new bounds.
8751
8752 2004-02-13  Kim Ho  <kho@redhat.com>
8753
8754 * Makefile.am: Updated for new file.
8755 * Makefile.in: Regenerated.
8756 * javax/swing/JSlider.java: Reimplement.
8757 * javax/swing/SwingUtilities.java
8758 (layoutCompoundLabel): Use icon height
8759 instead of width.
8760 (paintComponent): Implement.
8761 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8762 Add JSlider defaults.
8763 * javax/swing/plaf/basic/BasicSliderUI.java:
8764 Implement. New file.
8765
8766 2004-03-17 Michael Koch <konqueror@gmx.de>
8767
8768 * gnu/java/net/PlainDatagramSocketImpl.java
8769 (RECEIVE_LOCK): New member field.
8770 (SEND_LOCK): New member field.
8771 (send0): New method.
8772 (send): Synchronize on SEND_LOCK.
8773 (receive0): New method.
8774 (receive): Synchronize on RECEIVE_LOCK.
8775 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8776 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8777 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8778 (send0): Renamed from send.
8779 (receive0): Renamed from receive.
8780 2004-03-17 Michael Koch <konqueror@gmx.de>
8781
8782 * gnu/java/net/natPlainSocketImplPosix.cc
8783 (write): Just call write(jbyteArray, offset, len).
8784 (read): Just call read(jbyteArray, offset, len).
8785
8786 2004-03-16 Michael Koch <konqueror@gmx.de>
8787
8788 * javax/swing/JTabbedPane.java
8789 (serialVersionUID): New field.
8790
8791 2004-03-16 Norbert Frese <postfach@nfrese.net>
8792
8793 * java/net/InetAddress.java
8794 (getByName): Handle hostname == "" case.
8795
8796 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8797
8798 Reported by: Adam Heath <doogie@debian.org>
8799 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8800 class loader.
8801
8802 2004-03-15 Michael Koch <konqueror@gmx.de>
8803
8804 * java/util/Locale.java: Reverting my last patch
8805 and add a comment why the original version was okay.
8806
8807 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8808
8809 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8810 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8811 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8812 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8813
8814 2004-03-12 Michael Koch <konqueror@gmx.de>
8815
8816 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8817
8818 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8819
8820 * java/net/URI.java (toURL): Implemented.
8821
8822 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8823
8824 * java/net/URI.java
8825 (URI_REGEXP) updated to contain scheme specific part.
8826 (SCHEME_SPEC_PART_GROUP) new constant.
8827 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8828 updated to make room for SCHEME_SPEC_PART_GROUP.
8829 (parseURI) parse scheme specific part.
8830 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8831 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8832 getQuery, getFragment) implemented.
8833
8834 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8835
8836 * libraries/javalib/java/net/URI.java
8837 partially implemented using java.util.regex.
8838 (URI_REGEXP) new constant. Used to parse URIs.
8839 (SCHEME_GROUP) new constant representing index of scheme group
8840 in parsed URI.
8841 (AUTHORITY_GROUP) new constant representing index of authority
8842 group in parsed URI.
8843 (PATH_GROUP) new constant representing index of path group in
8844 parsed URI.
8845 (QUERY_GROUP) new constant representing index of query group in
8846 parsed URI.
8847 (FRAGMENT_GROUP) new constant representing index of fragment
8848 group in parsed URI.
8849 (getURIGroup) new static utility method.
8850 (parseURI) implemented.
8851 (quote) stub for new static utility method.
8852 (quoteAuthority) stub for new static utility method.
8853 (quoteHost) stub for new static utility method.
8854 (quotePath) stub for new static utility method.
8855 (quoteUserInfo) stub for new static utility method.
8856 (URI) implemented.
8857 (create) don't throw URISyntaxException. Implemented.
8858 (toString) implemented.
8859
8860 2004-03-12 Michael Koch <konqueror@gmx.de>
8861
8862 * java/net/HttpURLConnection.java
8863 (getResponseCode): Fix another typo in javadoc.
8864
8865 2004-03-11 Michael Koch <konqueror@gmx.de>
8866
8867 * java/util/logging/Level.java
8868 (parse): Use String.equals() instead of ==.
8869
8870 2004-03-11 Michael Koch <konqueror@gmx.de>
8871
8872 * gnu/java/net/protocol/jar/Connection.java
8873 (getContentLength): New method.
8874
8875 2004-03-11 Michael Koch <konqueror@gmx.de>
8876
8877 * gnu/java/net/PlainSocketImpl.java:
8878 Reformated to merge better with classpath's version.
8879
8880 2004-03-11 Michael Koch <konqueror@gmx.de>
8881
8882 * java/util/Locale.java
8883 (getISO3Language): Use String.equals() instead of ==.
8884 (getISO3Country): Likewise.
8885
8886 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8887
8888 * java/text/AttributedString.java
8889 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8890 Use HashMap instead of Hashtable since value can be null, and
8891 you can not store a null value in a Hashtable.
8892
8893 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8894
8895 * java/text/AttributedStringIterator.java
8896 (getAllAttributesKey): Return only keys concerned
8897 by the current iterator.
8898 (getAttributes): Use strict inequality for
8899 end_index.
8900
8901 2004-03-11 Michael Koch <konqueror@gmx.de>
8902
8903 * java/net/HttpURLConnection.java:
8904 Fixed typo in javadoc.
8905
8906 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8907
8908 * java/io/BufferedInputStream.java (marktarget): New field for max
8909 mark limit.
8910 (CHUNKSIZE): New constant for incremental mark buffer allocation.
8911 (mark): Use new fields.
8912 (read): Likewise.
8913 (read(byte[],int,int)): Likewise.
8914 (skip): Likewise.
8915 (refill): Likewise.
8916
8917 2004-03-11 Mark Wielaard <mark@klomp.org>
8918
8919 * java/beans/BeanDescriptor.java (BeanDescriptor):
8920 Set the FeatureDescriptor programmatic name.
8921
8922 2004-03-11 Michael Koch <konqueror@gmx.de>
8923
8924 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
8925 This file was was just copied form java/io/natFileDescriptorEcos.cc
8926 and never changed to compile correctly.
8927
8928 2004-03-11 Michael Koch <konqueror@gmx.de>
8929
8930 * gnu/java/nio/PipeImpl.java
8931 (SourceChannelImpl): Made final.
8932 (read): Implemented.
8933 (SinkChannelImpl): Made final.
8934 (write): Implemented.
8935
8936 2004-03-11 Michael Koch <konqueror@gmx.de>
8937
8938 * gnu/java/net/PlainDatagramSocketImpl.java:
8939 Reformated to match classpath's version more.
8940
8941 2004-03-11 Michael Koch <konqueror@gmx.de>
8942
8943 * gnu/java/awt/peer/ClasspathFontPeer.java:
8944 Fixed javadoc to be correct xhtml.
8945 * gnu/java/awt/peer/gtk/GtkArgList.java
8946 (add): Use Boolean.valueOf() instead of new Boolean().
8947
8948 2004-03-09 Michael Koch <konqueror@gmx.de>
8949
8950 * java/lang/Thread.java
8951 (runnable): Moved around.
8952 (daemon): Renamed from daemon_flag.
8953 (contextClassLoader): Renamed from context_class_loader.
8954 (Thread): Reordered constructors.
8955 (activeCount): Use group directly.
8956 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
8957 (holdsLock): Reworked javadoc.
8958 (setDaemon): Reworked.
8959 * java/lang/natThread.cc
8960 (destroy): Removed.
8961
8962 2004-03-08 Anthony Green <green@redhat.com>
8963
8964 * Makefile.am: Build property resource files into libgcj.
8965 * Makefile.in: Rebuilt.
8966 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8967 java/util/regex/PatternSyntaxException.java,
8968 gnu/regexp/CharIndexed.java,
8969 gnu/regexp/CharIndexedCharArray.java,
8970 gnu/regexp/CharIndexedInputStream.java,
8971 gnu/regexp/CharIndexedReader.java,
8972 gnu/regexp/CharIndexedString.java,
8973 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
8974 gnu/regexp/REException.java,
8975 gnu/regexp/REFilterInputStream.java,
8976 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
8977 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
8978 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
8979 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
8980 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
8981 gnu/regexp/RETokenLookAhead.java,
8982 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
8983 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
8984 gnu/regexp/RETokenStart.java,
8985 gnu/regexp/RETokenWordBoundary.java,
8986 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
8987
8988 2004-03-03 Per Bothner <per@bothner.com>
8989
8990 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
8991 Optimize when argument is a FileChannelImpl.
8992 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
8993 New native methods.
8994 * java/nio/channels/natChannels.cc: New file for new native methods.
8995 * Makefile.am: Update accordingly.
8996
8997 2004-03-02 Jan Hubicka <jh@suse.cz>
8998
8999 * configure.host: Pass -fno-omit-frame-pointer for i386.
9000 * configure.in: Likewise.
9001 * configure: Regenerate.
9002
9003 2004-03-01 Per Bothner <per@bothner.com>
9004
9005 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9006
9007 2004-02-29 Per Bothner <per@bothner.com>
9008
9009 * java/nio/channels/FileChannelImpl.java: Moved to package
9010 gnu/java/nio/channels, since we need to refer to it from java.io.
9011 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9012 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9013 from java/nio/channels. Don't depend on FileDescriptor.
9014 (in, out, err): New static fields.
9015 (mode): New field.
9016 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9017 from FileDescriptor.
9018 (by): Removed MappedByteBuffer field.
9019 (map): New working implementation.
9020 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9021 some code "ported" from natFileDescriptoPosix.cc.
9022 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9023 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9024 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9025 Remove native methods.
9026 * Makefile.am, configure.in: Updated accordingly.
9027
9028 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9029 (ch): New FileChannelImpl field. Update constructor to match.
9030 (releaseImpl): Remove native method. Instead ...
9031 (release): Call unlock on channel.
9032 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9033
9034 * java/io/natFileDescriptorEcos.cc: Remove file.
9035 * java/io/natFileDescriptorPosix.cc: Remove file.
9036 * java/io/natFileDescriptorWin32.cc: Remove file.
9037 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9038 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9039 (<init>(FileChannelImpl)): New package-private constructor.
9040 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9041 (available, close, read, skip): Implement using FileChannelImpl.
9042 (getFD): Allocate FileDescriptor if needed.
9043 (getChannel): Is now trivial.
9044 * java/io/FileOutputStream.java: Corresponding changes.
9045 * java/io/RandomAccessFile.java: Corresponding changes.
9046
9047 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9048 unmapImpl): New dummy methods, to be overridden by subclass.
9049 (finalize, isLoaded, load, force): New methods.
9050 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9051 Now works, at least for read mapping.
9052
9053 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9054 streams using FileChannelImpl, not FileDescriptor.
9055 * java/lang/natWin32Process.cc (startProcess): Likewise.
9056
9057 2004-02-28 Michael Koch <konqueror@gmx.de>
9058
9059 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9060 wrong code.
9061
9062 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9063
9064 * java/io/ObjectInputStream.java
9065 (readClassDescriptor): Keep elements of the mapping non null.
9066 (checkTypeConsistency): New method.
9067 (readFields): Fixed main loop and base logic. Small reindentation.
9068 * java/io/ObjectStreamField.java
9069 (lookupField): New method to update the field reference.
9070 (checkFieldType): New method.
9071 * java/io/ObjectStreamClass.java
9072 (setClass, setFields): Call lookupField when building the field
9073 database. Check the real field type.
9074
9075 2004-02-28 Michael Koch <konqueror@gmx.de>
9076
9077 * java/nio/ByteOrder.java
9078 (nativeOrder): Use equals() to compare strings.
9079
9080 2004-02-26 Michael Koch <konqueror@gmx.de>
9081
9082 * gnu/java/nio/FileLockImpl.java
9083 (finalize): Made protected.
9084 * java/nio/channels/FileChannel.java
9085 (MapMode.READ_ONLY): Made final.
9086 (MapMode.READ_WRITE): Made final.
9087 (MapMode.PRIVATE): Made final.
9088 * java/nio/channels/SocketChannel.java
9089 (open): Simplified code.
9090 * java/nio/channels/spi/AbstractSelectableChannel.java
9091 (registered): Unused, removed.
9092 (keyFor): Check channel is open, only locate key
9093 and not add a new one.
9094 (register): Don't delete attachments.
9095
9096 2004-02-26 Michael Koch <konqueror@gmx.de>
9097
9098 * gnu/java/awt/ComponentDataBlitOp.java
9099 (INSTANCE): Made final.
9100 * gnu/java/awt/image/ImageDecoder.java:
9101 Reworked imports.
9102 (cm): Unused, removed.
9103
9104 2004-02-26 Michael Koch <konqueror@gmx.de>
9105
9106 * gnu/java/nio/DatagramChannelImpl.java
9107 (send): Check if target address is resolved.
9108
9109 2004-02-26 Michael Koch <konqueror@gmx.de>
9110
9111 * Makefile.am: Generate and install headers for inner classes in
9112 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9113 * Makefile.in: Regenerated.
9114
9115 2004-02-24 Anthony Green <green@redhat.com>
9116
9117 * java/lang/StringBuffer.java: No need to NULL out remainder of
9118 buffer since ensureCapacity_unsynchronized will have done this for
9119 us.
9120
9121 2004-02-20 Michael Koch <konqueror@gmx.de>
9122
9123 * gnu/java/net/protocol/jar/Handler.java
9124 (): Removed unneeded check for file != null. java.net.URL.getFile()
9125 returns an empty string but never null.
9126
9127 2004-02-20 Michael Koch <konqueror@gmx.de>
9128
9129 * gnu/gcj/convert/Convert.java
9130 (main): Use equals() to compare strings.
9131
9132 2004-02-20 Michael Koch <konqueror@gmx.de>
9133
9134 * javax/swing/AbstractButton.java: Made several constants final.
9135 (getRolloverSelectedIcon): Made public.
9136 (getSelectedIcon): Made public.
9137
9138 2004-02-16 Per Bothner <per@bothner.com>
9139
9140 * java/nio/CharBufferImpl.java: Inline super constructor.
9141 * java/nio/DoubleBufferImpl.java: Likewise.
9142 * java/nio/FloatBufferImpl.java: Likewise.
9143 * java/nio/IntBufferImpl.java: Likewise.
9144 * java/nio/LongBufferImpl.java: Likewise.
9145 * java/nio/ShortBufferImpl.java: Likewise.
9146 * java/nio/CharBuffer.java: Remove unused constructor.
9147 * java/nio/DoubleBuffer.java: Likewise.
9148 * java/nio/FloatBuffer.java: Likewise.
9149 * java/nio/IntBuffer.java: Likewise.
9150 * java/nio/LongBuffer.java: Likewise.
9151 * java/nio/ShortBuffer.java: Likewise.
9152 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9153 Fix buggy call to super constructor.
9154 * java/nio/DoubleViewBufferImpl.java: Likewise.
9155 * java/nio/FloatViewBufferImpl.java: Likewise.
9156 * java/nio/IntViewBufferImpl.java: Likewise.
9157 * java/nio/LongViewBufferImpl.java: Likewise.
9158 * java/nio/ShortViewBufferImpl.java: Likewise.
9159
9160 * java/nio/ByteBuffer.java (endian): Make non-private so other
9161 java.nio classes can inherit it.
9162 (<init>): Don't bother clearing array_offset.
9163 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9164 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9165 Remove redundant test.
9166
9167 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9168 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9169 Use new XxxViewBufferImpl constructors.
9170 * java/nio/MappedByteBufferImpl.java: Likewise.
9171 * java/nio/DirectByteBufferImpl.java: Likewise.
9172
9173 * java/nio/ByteBufferImpl.java: Remove one constructor.
9174 Inline super in remaining constructor.
9175 * java/nio/ByteBuffer.java: Remove unused constructor.
9176
9177 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9178
9179 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9180 * java/nio/DirectByteBufferImpl.java (owner): New field.
9181 (offset): Remove unused field.
9182 (<init>): Modify one and add another constructor. Change callers.
9183 (allocateDirect): Removed - not used.
9184 (getImpl, putImpl): Make static and pass address explicitly,
9185 to make them useful for MappedByteBufferImpl.
9186 (get, put): Check for underflow. Modify for new getImpl.
9187 (getImpl): New native method where target is array.
9188 (get(byte[],int,int)): Use the above.
9189 (adjustAddress): New static native method.
9190 (slice, duplicate, asReadOnly): New implementations.
9191 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9192 adjustAddress): New or updated native methods.
9193
9194 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9195
9196 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9197 overflow of fieldmapping.
9198
9199 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9200
9201 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9202
9203 2004-02-14 Per Bothner <per@bothner.com>
9204
9205 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9206 Set closed before calling implCloseChannel, as in the spec.
9207
9208 2004-02-09 Graydon Hoare <graydon@redhat.com>
9209
9210 * javax/swing/ToggleButtonModel.java: Remove dead class.
9211 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9212 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9213 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9214 * Makefile.am: Update for new and removed files.
9215 * Makefile.in: Regenerate.
9216
9217 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9218 * javax/swing/AbstractButton.java
9219 (AbstractButton): Initialize fields correctly in ctor.
9220 * javax/swing/JCheckbox.java
9221 (JCheckBox): Override painting flags.
9222 * javax/swing/DefaultButtonModel.java: Conform to sun.
9223 * javax/swing/JComponent.java (paint): Fill with background color
9224 if available.
9225 (processComponentKeyEvent)
9226 (processFocusEvent)
9227 (processKeyEvent)
9228 (processMouseMotionEvent): Remove event-consuming empty methods.
9229 (getUIClassID): Return "ComponentUI" not "JComponent"
9230 * javax/swing/JFrame.java: Remove some debugging chatter.
9231 (JFrame): Subscribe to window events.
9232 * javax/swing/JRadioButton.java
9233 (JRadioButton): Override painting flags.
9234 * javax/swing/JRootPane.java
9235 (JRootPane): Set background from UIDefaults.
9236 * javax/swing/JToggleButton.java
9237 (ToggleButtonModel): New inner class.
9238 (JToggleButton): Override layout alighment.
9239 * javax/swing/SwingUtilities.java:
9240 (getLocalBounds): Return width and height, not x and y.
9241 (calculateInnerArea): Use local bounds, not bounds.
9242 (layoutCompoundLabel): Provide overridden form.
9243 (layoutCompoundLabel): Correct bugs.
9244 * javax/swing/UIDefaults.java: Correct comment.
9245 * javax/swing/plaf/basic/BasicButtonUI.java:
9246 Move most logic into defaults, external listener.
9247 (paintIcon): Implement icon painting.
9248 (paint): Fix state painting to conform to changes in model.
9249 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9250 Remove most dead/wrong methods.
9251 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9252 * javax/swing/plaf/basic/BasicIconFactory.java:
9253 (DummyIcon): New class.
9254 (getMenuItemCheckIcon)
9255 (getMenuItemArrowIcon)
9256 (getMenuArrowIcon)
9257 (getCheckBoxMenuItemIcon)
9258 (getRadioButtonMenuItemIcon)
9259 (createEmptyFrameIcon): Return DummyIcons, not null.
9260 (getCheckBoxIcon): Implement an icon that looks like sun's.
9261 (getRadioButtonIcon): Implement an icon that looks like sun's.
9262 * javax/swing/plaf/basic/BasicLookAndFeel.java
9263 (initComponentDefaults): Fix impossible values, add some missing.
9264 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9265 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9266 Remove most dead/wrong methods.
9267 (icon): New field.
9268 (getDefaultIcon): New method.
9269 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9270 Remove most dead/wrong methods.
9271 * javax/swing/plaf/metal/MetalLookAndFeel.java
9272 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9274 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9275 Implement "clearing" as drawing, when on pixmap drawables.
9276
9277 * javax/swing/JButton.java (getUIClassID):
9278 * javax/swing/JCheckBox.java (getUIClassID):
9279 * javax/swing/JEditorPane.java (getUIClassID):
9280 * javax/swing/JLabel.java (getUIClassID):
9281 * javax/swing/JList.java (getUIClassID):
9282 * javax/swing/JOptionPane.java (getUIClassID):
9283 * javax/swing/JPanel.java (getUIClassID):
9284 * javax/swing/JPasswordField.java (uiClassID):
9285 * javax/swing/JRadioButton.java (getUIClassID):
9286 * javax/swing/JRootPane.java (getUIClassID):
9287 * javax/swing/JScrollPane.java (getUIClassID):
9288 * javax/swing/JTabbedPane.java (getUIClassID):
9289 * javax/swing/JToggleButton.java (getUIClassID):
9290 * javax/swing/JTree.java (getUIClassID):
9291 * javax/swing/JViewport.java (getUIClassID):
9292 * javax/swing/text/JTextComponent.java (getUIClassID):
9293 Return "fooUI" not "Jfoo"
9294
9295 2004-02-11 Michael Koch <konqueror@gmx.de>
9296
9297 * java/net/DatagramSocket.java
9298 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9299 Boolean object.
9300 (setBroadcast): Likewise.
9301 * java/net/MulticastSocket.java
9302 (setLoopbackMode): Likewise.
9303 * java/net/ServerSocket.java
9304 (setReuseAddress): Likewise.
9305 * java/net/Socket.java
9306 (setTcpNoDelay): Likewise.
9307 (setSoLinger): Likewise.
9308 (setOOBInline): Likewise.
9309 (setKeepAlive): Likewise.
9310 (setReuseAddress): Likewise.
9311 * java/net/URLConnection.java
9312 (setContentHandler): Replace == with equals().
9313 * java/net/URLStreamHandler.java
9314 (hostSEquals): Fix checking host addresses.
9315 (toExternalForm): Dont check protocol for null. We know already its
9316 not null.
9317
9318 2004-02-10 David Jee <djee@redhat.com>
9319
9320 * java/awt/BorderLayout.java
9321 (calcCompSize): Invisible components get zero dimensions.
9322 * java/awt/Button.java
9323 (setLabel): Set actionCommand.
9324 * java/awt/Component.java
9325 (show): Invalidate component and parent container.
9326 (hide): Likewise.
9327
9328 2004-02-10 David Jee <djee@redhat.com>
9329
9330 * java/awt/GridBagLayout.java
9331 (GridBagLayout): New private field, internalcomptable.
9332 (lookupInternalConstraints): New method.
9333 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9334 (GetLayoutInfo): Reimplement.
9335 (calcCellSizes): Ignore rows/columns with size 0.
9336
9337 2004-02-10 Michael Koch <konqueror@gmx.de>
9338
9339 * gnu/java/awt/EmbeddedWindow.java
9340 (setHandle): Use java.awt.Component.getPeer() instead of
9341 java.awt.Component.peer directly.
9342
9343 2004-02-10 David Jee <djee@redhat.com>
9344
9345 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9346 (gtkSetLabel): New native method definition.
9347 (setLabel): Use gtkSetLabel.
9348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9349 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9350
9351 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9352
9353 * include/powerpc-signal.h: Revert 2004-01-21 change.
9354 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9355 from syscall for ppc32 versions.
9356
9357 2004-02-08 Per Bothner <per@bothner.com>
9358
9359 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9360 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9361 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9362 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9363 Pass ByteOrder parameter to most methods, since the underlying
9364 ByteBuffer's order isn't always what we should use.
9365 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9366 * java/nio/DirectByteBufferImpl.java: Likewise.
9367 Use ByteBufferHelper methods.
9368 * java/nio/MappedByteBufferImpl.java: Likewise.
9369 (compact): Use shiftDown.
9370 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9371 (get, put): Use ByteBufferHelper.
9372 (compact): Use new shiftDown method.
9373 (duplicate(boolean)): New helper method.
9374 (duplicate, asReadOnlyBuffer): Use it.
9375 (order): Return endian field.
9376 * java/nio/DoubleViewBufferImpl.java: Likewise.
9377 * java/nio/FloatViewBufferImpl.java: Likewise.
9378 * java/nio/IntViewBufferImpl.java: Likewise.
9379 * java/nio/LongViewBufferImpl.java: Likewise.
9380 * java/nio/ShortViewBufferImpl.java: Likewise.
9381 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9382 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9383 (compact): Re-implement using shiftDown.
9384
9385 2004-02-08 Andreas Jaeger <aj@suse.de>
9386
9387 * include/x86_64-signal.h: Fix typo.
9388
9389 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9390
9391 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9392 qualifier to _regs.
9393 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9394
9395 2004-02-06 Michael Koch <konqueror@gmx.de>
9396
9397 * java/io/ObjectInputStream.java
9398 (currentClassLoader): Reverted to old version of this method.
9399
9400 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9401
9402 * java/io/ObjectInputStream.java: Made all calls
9403 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9404 use cached info from ObjectStreamClass. (readClassDescriptor):
9405 Cache more information in ObjectStreamClass. (processResolution,
9406 readFields): Use cached info from ObjectStreamClass.
9407 (newObject): Throw exception instead of returning null for failure.
9408 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9409 setCharField, setDoubleField, setFloatField, setIntField,
9410 setLongField, setShortField, setObjectField, readObjectParams):
9411 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9412 check.
9413 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9414 (setClass): Added call to cacheMethods() (findMethod): New method.
9415 (cacheMethods): New method. (ObjectStreamClass): Added call to
9416 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9417 AccessController.doPrivileged to invoke setAccessible.
9418 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9419 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9420 New fields.
9421 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9422 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9423 isPrimitive): Made safe for cases where type == null.
9424 (setBooleanField, setByteField, setCharField, setShortField,
9425 setIntField, setLongField, setFloatField, setDoubleField,
9426 setObjectField): New methods.
9427
9428 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9429
9430 * java/awt/Component.java (getFont): Return a default font
9431 instead of null.
9432
9433 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9434 (Scrollbar (int, int, int, int, int)): Make default page
9435 increment 10.
9436 (setValues): Only call peer.setValues if one of the values has
9437 changed.
9438 (generateName): New method.
9439 (getUniqueLong): New method.
9440 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9441 (range_scrollbar): Remove structure.
9442 (post_adjustment_event): Remove function.
9443 (post_change_event): Accept jobject argument.
9444 (create): Cast jints to gdoubles. Round scrollbar values to the
9445 nearest integer. Clamp min, max and value settings.
9446 (connectJObject): Connect hook to widget->window.
9447 (connectSignals): Remove range_scrollbar structure variables.
9448 Remove "move-slider" connection. Pass global peer reference to
9449 "value-changed" callback.
9450 (setLineIncrement): Cast jint value to gdouble.
9451 (setPageIncrement): Likewise.
9452 (setValues): Likewise. Clamp min, max and value settings.
9453
9454 2004-02-05 Michael Koch <konqueror@gmx.de>
9455
9456 * javax/swing/AbstractCellEditor.java
9457 (getCellEditorValue): Removed.
9458 * javax/swing/Box.java: Reformated.
9459 (serialVersionUID): New field.
9460 * javax/swing/ButtonGroup.java:
9461 Removed some weird whitespace.
9462 * javax/swing/CellEditor.java: Reformated.
9463 * javax/swing/CellRendererPane.java
9464 (serialVersionUID): New field.
9465 (AccessibleCellRendererPaneserialVersionUID): New field.
9466 * javax/swing/DefaultListModel.java
9467 (serialVersionUID): New field.
9468 * javax/swing/JEditorPane.java
9469 (serialVersionUID): New field.
9470 (setPage): Throws IOException.
9471 (addHyperlinkListener): Implemented.
9472 (removeHyperlinkListener): Implemented.
9473 (getHyperlinkListener): New method.
9474 * javax/swing/JFileChooser.java
9475 (serialVersionUID): New field.
9476 (AccessibleJFileChooser.serialVersionUID): New field.
9477 (addActionListener): Implemented.
9478 (removeActionListener): Implemented.
9479 (getActionListeners): New method.
9480 * javax/swing/JFormattedTextField.java
9481 (serialVersionUID): New field.
9482 (AbstractFormatter.serialVersionUID): New field.
9483 (clone): Throws CloneNotSupportedException
9484 (setEditValid): Add missing argument.
9485 (stringToValue): Throws ParseExcpetion.
9486 (valueToString): Throws ParseException.
9487 (commitEdit): Throws ParseException.
9488 * javax/swing/JLabel.java
9489 (serialVersionUID): New field.
9490 * javax/swing/JList.java
9491 (serialVersionUID): New field.
9492 (addListSelectionListener): Reformated.
9493 (removeListSelectionListener): Reformated.
9494 (getListSelectionListeners): New method.
9495 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9496 Reformated.
9497 (serialVersionUID): New field.
9498 * javax/swing/table/AbstractTableModel.java
9499 (getValueAt): Removed.
9500 (getColumnCount): Removed.
9501 (getRowCount): Removed.
9502
9503 2004-02-05 Michael Koch <konqueror@gmx.de>
9504
9505 * java/awt/datatransfer/DataFlavor.java
9506 (imageFlavor): Javadoc added.
9507 (javaJVMLocalObjectType): Fixed.
9508
9509 2004-02-05 Michael Koch <konqueror@gmx.de>
9510
9511 * java/lang/Thread.java
9512 (Thread): Reordered.
9513 (setContextClassLoader): Fixed javadoc comment.
9514 (setPriority): Reordered.
9515 (yield): Reordered.
9516 (initialize_native): Reordered.
9517 (gen_name): Reordered.
9518
9519 2004-02-05 Michael Koch <konqueror@gmx.de>
9520
9521 * java/lang/Thread.java: Reordered fields, reformated much code,
9522 no functional changes, some variables renamed, javadoc comments
9523 merged.
9524
9525 2004-02-05 Michael Koch <konqueror@gmx.de>
9526
9527 * java/util/zip/Deflater.java,
9528 java/util/zip/DeflaterOutputStream.java,
9529 java/util/zip/GZIPInputStream.java:
9530 Reformated and javadoc comments merged from classpath.
9531
9532 2004-02-05 Michael Koch <konqueror@gmx.de>
9533
9534 * gnu/java/nio/NIOServerSocket.java
9535 (impl): Unused, removed.
9536 * gnu/java/nio/SocketChannelImpl.java
9537 (finnishConnect): Don't throw NoConnectionPendingException if not
9538 connected or no connection pending.
9539
9540 2004-02-02 Graydon Hoare <graydon@redhat.com>
9541
9542 * javax/swing/SwingUtilities.java: Many new functions.
9543 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9544 * javax/swing/basic/BasicGraphicsUtils.java
9545 (getPreferredButtonSize): Start layout from top-left corner.
9546
9547 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9548
9549 * java/awt/geom/AffineTransform.java:
9550 Corrected comments on the field definitions for
9551 m11 and m10.
9552 (shear): Fixed few errors that caused shear
9553 transformation to be performed incorrectly.
9554 (createInverse): Fixed to return correct
9555 inverse of the given matrix.
9556
9557 2004-02-03 Tom Tromey <tromey@redhat.com>
9558
9559 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9560 PATH or LD_LIBRARY_PATH is not set in parent environment.
9561
9562 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9563
9564 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9565 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9566 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9567 java/awt/Component.java, java/awt/Container.java,
9568 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9569 java/awt/LayoutManager2.java, java/awt/List.java,
9570 java/awt/Menu.java, java/awt/MenuBar.java,
9571 java/awt/MenuItem.java, java/awt/Polygon.java,
9572 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9573 java/awt/Scrollbar.java, java/awt/TextArea.java,
9574 java/awt/TextField.java,
9575 java/awt/image/renderable/RenderContext.java,
9576 javax/swing/JApplet.java: Fix handling of alias methods, where a
9577 method has been deprecated in favour of a new one with the same
9578 funtion but a different name. Put the method implementation in
9579 the deprecated method and have the new method call the
9580 deprecated one. Make all other code call the new method.
9581
9582 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9583
9584 * gnu/java/nio/DatagramChannelImpl.java
9585 (inChannelOperation): New field.
9586 (isInChannelOperation): New accessor.
9587 (setInChannelOperation): New modifier.
9588 (receive): Use capacity() - position() of destination
9589 buffer instead of remaining(). Set and reset our "in
9590 channel operation indicator" before and after delegating
9591 the receive to our datagram socket. Removed testing code.
9592 Update destination buffer's current position if it is
9593 backed by a byte array (hasArray() is true).
9594 (send): Set and reset our "in channel operation indicator"
9595 before and after delegating the send to our datagram socket.
9596 Removed testing code. Update source buffer's current position
9597 if it is backed by a byte array (hasArray() is true).
9598 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9599 Use capacity() - position() of destination buffer instead
9600 of remaining().
9601 * java/net/DatagramSocket.java (receive): Don't throw an
9602 IllegalBlockingModeException if we have a non-blocking
9603 channel which initiated this operation.
9604 (send): Likewise.
9605
9606 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9607
9608 * configure.in: Add pkgconfig check for glib and gthread.
9609 * configure: Regenerate.
9610
9611 2004-02-01 Michael Koch <konqueror@gmx.de>
9612
9613 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9614 arguments.
9615 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9616 * verify.cc (debug_print): Mark 'fmt' unused.
9617
9618 2004-01-30 Michael Koch <konqueror@gmx.de>
9619
9620 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9621 * configure: Regenerated.
9622 * glib-2.0.m4: Removed.
9623 * gtk-2.0.m4: Removed.
9624 * libart.m4: Removed.
9625 * pkg.m4: New file.
9626
9627 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9628
9629 * gnu/java/net/PlainSocketImpl.java
9630 (inChannelOperation): New field.
9631 (isInChannelOperation): New accessor.
9632 (setInChannelOperation): New modifier.
9633 * gnu/java/nio/ServerSocketChannelImpl.java
9634 (accept): Set and reset our server socket's PlainSocketImpl's
9635 "in channel operation" indicator before and after delegating
9636 the accept to our server socket.
9637 * gnu/java/nio/SocketChannelImpl.java
9638 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9639 operation" indicator before and after delegating the operation to
9640 our socket.
9641 (read): Likewise.
9642 (write): Likewise.
9643 * java/net/ServerSocket.java (implAccept): Don't throw an
9644 IllegalBlockingModeException if we have a non-blocking
9645 channel which initiated this accept operation.
9646 * java/net/Socket.java (connect): Don't throw an
9647 IllegalBlockingModeException if we have a non-blocking
9648 channel which initiated this connect operation.
9649 * java/nio/channels/spi/AbstractSelectableChannel.java
9650 (configureBlocking): Only call implConfigureBlocking() if
9651 the desired blocking mode is different from our current one.
9652
9653 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9654
9655 * java/io/BufferedReader.java (sbuf): New field.
9656 (readLine): Use String.valueOf instead of new String() as per
9657 Per Bothner's suggestion. Use instance sbuf field instead of a
9658 local StringBuffer instance.
9659 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9660 caller's buffer to refill().
9661 (read(void)): Pass our internal work buffer to refill if our
9662 input queue is empty.
9663 (refill): Changed return type to int. Use the specified buffer
9664 instead of our work buffer as per Bryce McKinlay's suggestion.
9665 Return the number of characters read or -1 for EOF.
9666
9667 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9668
9669 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9670
9671 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9672
9673 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9674 * Makefile.in: Re-generated.
9675 * gnu/awt/xlib/XFontPeer.java: New file.
9676 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9677 (setClip): Commented out debug printout.
9678 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9679 (getFontPeer): Return XFontPeer.
9680 (getLocalGraphicsEnvironment): New method.
9681 (getClasspathFontPeer): New method.
9682 (createFont): New method.
9683
9684 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9685
9686 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9687 return null.
9688
9689 2004-01-29 Kim Ho <kho@redhat.com>
9690
9691 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9692 (gtkLayoutSetVisible): New method
9693 (setMenuBar): Hide layout before setting MenuBar
9694 and reshow it after.
9695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9696 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9697
9698 2004-01-28 Michael Koch <konqueror@gmx.de>
9699
9700 * gnu/java/lang/ClassHelper.java
9701 (getPackagePortion): Removed.
9702
9703 2004-01-28 Michael Koch <konqueror@gmx.de>
9704
9705 * javax/swing/JComponent.java
9706 (listenerList): Initalize globally.
9707 (ancestor_list): Removed.
9708 (veto_list): Removed.
9709 (change_list): Removed.
9710 (get_veto_list): Removed.
9711 (get_change_list): Removed.
9712 (get_ancestor_list): Removed.
9713 (removeAncestorListener): Reimplemented.
9714 (removePropertyChangeListener): Likewise.
9715 (removeVetoableChangeListener): Likewise.
9716 (addAncestorListener): Likewise.
9717 (addPropertyChangeListener): Likewise.
9718 (addVetoableChangeListener): Likewise.
9719 (getListeners): New method.
9720 (getAncestorListeners): Likewise.
9721 (getVetoableChangeListeners): Likewise.
9722 (fireVetoableChange): Throws PropertyVetoException.
9723 * javax/swing/JEditorPane.java
9724 (JEditorPane): Throws IOException.
9725
9726 2004-01-28 David Jee <djee@redhat.com>
9727
9728 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9729 (create): Set the default foreground color to
9730 java.awt.SystemColor.windowText.
9731
9732 2004-01-27 Michael Koch <konqueror@gmx.de>
9733
9734 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9735 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9736 Reindented to merge with classpath.
9737
9738 2004-01-27 David Jee <djee@redhat.com>
9739
9740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9741 (addExposeFilter): Handle GtkFramePeer separately.
9742 (removeExposeFilter): Likewise.
9743
9744 2004-01-27 Michael Koch <konqueror@gmx.de>
9745
9746 * gnu/java/net/protocol/http/Connection.java
9747 (getOutputStream): Fixed typo.
9748
9749 2004-01-27 Michael Koch <konqueror@gmx.de>
9750
9751 * java/lang/Class.java
9752 (getConstructor): Removed SecurityException from throws clause.
9753 (_getConstructors): Likewise.
9754 (getConstructors): Likewise.
9755 (getDeclaredConstructor): Likewise.
9756 (getDeclaredClasses): Likewise.
9757 (getDeclaredConstructors): Likewise.
9758 (getDeclaredField): Likewise.
9759 (getDeclaredMethod): Likewise.
9760 (getDeclaredMethods): Likewise.
9761 (getField): Likewise.
9762 (getMethod): Likewise.
9763 (getMethods): Likewise.
9764
9765 2004-01-27 Kim Ho <kho@redhat.com>
9766
9767 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9768 (removeMenuBarPeer): Remove MenuBarPeer argument.
9769 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9770 (dispose): Call native method.
9771 * java/awt/Frame.java (setMenuBar): Create and remove
9772 MenuBar peers only if the Frame has a peer.
9773 (addNotify): Create the MenuBar peer if one exists.
9774 (removeNotify): Remove MenuBar peer if one exists.
9775 * java/awt/Menu.java: Fix imports.
9776 (addNotify): Don't use full class name.
9777 (removeNotify): Call removeNotify on all children.
9778 * java/awt/MenuBar.java (removeNotify): Call
9779 removeNotify on all children.
9780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9781 (removeMenuBarPeer): Remove MenuBarPeer argument.
9782 Iterate through children to find the Frame's MenuBar.
9783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9784 New file.
9785 (dispose): Remove references to the MenuComponent.
9786
9787 2004-01-27 Michael Koch <konqueror@gmx.de>
9788
9789 * javax/swing/AbstractCellEditor.java: Reformated.
9790 * javax/swing/DefaultListSelectionModel.java
9791 (listenerList): Made protected.
9792 (addListSelectionListener): Javadoc added.
9793 (removeListSelectionListener): Likewise.
9794 (getListeners): Likewise.
9795 (getListSelectionListeners): Likewise.
9796 * javax/swing/JComboBox.java: Merged copyright year.
9797 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9798
9799 2004-01-26 Andrew Haley <aph@redhat.com>
9800
9801 * javax/swing/table/JTableHeader.java: Extend JComponent
9802
9803 2004-01-26 Kim Ho <kho@redhat.com>
9804
9805 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9806 Fix spacing.
9807
9808 2004-01-26 Kim Ho <kho@redhat.com>
9809
9810 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9811 method.
9812 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9813 height and let the Layout Managers readjust anything that
9814 needs to move.
9815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9816 (moveLayout): New method. Shift everything in the Gtk
9817 layout in the Y direction by an offset.
9818
9819 2004-01-26 David Jee <djee@redhat.com>
9820
9821 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9822 (handleEvent): Implemented. Handles PaintEvents.
9823 (paint): Implemented. Use GTK native methods to queue updates
9824 for this heavyweight peer.
9825 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9826 (handleEvent): Removed.
9827 * java/awt/Component.java
9828 (paint): Implemented. Explictly paint the heavyweight peer.
9829 (update): Clear the background for heavyweight components.
9830 (paintAll): No need to call peer.paint() anymore.
9831 (processEvent): Don't process PaintEvents here. It's now done in
9832 the peer's handleEvent().
9833 (processPaintEvent): Removed.
9834 * java/awt/Container.java
9835 (paint): No need to call super.paint(). Visit heavyweight
9836 children as well.
9837 (update): Don't clear the background here. It's done in
9838 Component.update().
9839 (visitChildren): Added check to not recurse into Containers.
9840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9841 (filter_expose_event_handler): New method. Filter unwanted
9842 expose events while painting heavyweight peers.
9843 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9844 New method. Connect filter and block pre_event_handler.
9845 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9846 New method. Disconnect filter and unblock pre_event_handler.
9847 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9848 New method. Invalidate and update given area.
9849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9850 (pre_event_handler): Add checks for unwanted expose events.
9851
9852 2004-01-26 David Jee <djee@redhat.com>
9853
9854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9855 (find_bg_color_widget): For GtkButton, return its child.
9856
9857 2004-01-26 Kim Ho <kho@redhat.com>
9858
9859 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9860 private.
9861 (setMenuBar): Grab MenuBar height and change insets.
9862 (setBounds): Account for MenuBar height.
9863 (postInsetsChangedEvent): Ditto.
9864 (postSizeAllocateEvent): Remove.
9865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9866 (menubar_resize_cb): Remove
9867 (setMenuBarPeer): Remove callback.
9868 (getMenuBarHeight): Use size requisition instead of
9869 allocation.
9870
9871 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9872
9873 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9874 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9875 when peer is null.
9876 (setColumns): Remove FIXME -- peer will retrieve number of
9877 columns by calling getColumns.
9878 (setRows): Likewise for number of rows.
9879 (next_text_number): New field.
9880 (paramString): Fix param string.
9881 (generateName): New method.
9882 (getUniqueLong): New method.
9883
9884 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9885
9886 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9887 image observer of image loading status.
9888 (getImage (String)): Start image production.
9889 (getImage (URL)): Likewise.
9890
9891 2004-01-25 Michael Koch <konqueror@gmx.de>
9892
9893 * java/lang/Class.java: Imports reworked, reformated.
9894 (Class): Javadoc added.
9895 (forName): Likewise.
9896 (getClasses): Likewise.
9897 (getClassLoader): Likewise.
9898 (getComponentType): Likewise.
9899 (getConstructor): Likewise.
9900 (getConstructors): Likewise.
9901 (getDeclaredConstructor): Likewise.
9902 (getDeclaredClasses): Likewise.
9903 (getDeclaredConstructors): Likewise.
9904 (getDeclaredField): Likewise.
9905 (getDeclaredMethod): Likewise.
9906 (getDeclaredMethods): Likewise.
9907 (getDeclaringClass): Likewise.
9908 (getField): Likewise.
9909 (getInterfaces): Likewise.
9910 (getMethod): Likewise.
9911 (getMethods): Likewise.
9912 (getModifiers): Likewise.
9913 (getName): Likewise.
9914 (getResource): Likewise.
9915 (getResourceAsStream): Likewise.
9916 (getSigners): Likewise.
9917 (setSigners): Likewise.
9918 (getSuperclass): Likewise.
9919 (isArray): Likewise.
9920 (isAssignableFrom): Likewise.
9921 (isInstance): Likewise.
9922 (isInterface): Likewise.
9923 (isPrimitive): Likewise.
9924 (newInstance): Likewise.
9925 (getProtectionDomain): Likewise.
9926 (toString): Likewise.
9927 (Class): Moved.
9928 (initializeClass): Likewise.
9929 (finalize): Likewise.
9930
9931 2004-01-24 Michael Koch <konqueror@gmx.de>
9932
9933 * gnu/java/net/protocol/jar/Connection.java
9934 (hdrHash): Removed.
9935 (hdrVec): Removed.
9936 (gotHeaders): Removed.
9937 (getHeaderField): Removed.
9938 (getHeaderFields): Removed.
9939 (getHeaderFieldKey): Removed.
9940 (getKey): Removed.
9941 (getField): Removed.
9942 (getHeaders): Removed.
9943
9944 2004-01-24 Michael Koch <konqueror@gmx.de>
9945
9946 * Makefile.am: Added library version to gtk peer lib.
9947 * Makefile.in: Regenerated.
9948
9949 2004-01-24 Michael Koch <konqueror@gmx.de>
9950
9951 * java/util/zip/InflaterInputStream.java: Merged class documentation
9952 with classpath.
9953
9954 2004-01-21 Jakub Jelinek <jakub@redhat.com>
9955
9956 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
9957 header. For __powerpc64__ provide the default-signal.h definitions
9958 for now.
9959 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
9960 instead of the dummy definitions.
9961 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
9962 (powerpc64*-*): Remove with_libffi_default.
9963 Only add -mminimal-toc for 64-bit compilations.
9964 * configure.in: Use powerpc-signal.h on powerpc64 as well.
9965 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
9966 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
9967 * configure: Rebuilt.
9968
9969 2004-01-23 Michael Koch <konqueror@gmx.de>
9970
9971 * gnu/java/nio/FileLockImpl.java: Compile fixes.
9972
9973 2004-01-23 Michael Koch <konqueror@gmx.de>
9974
9975 * java/lang/VMClassLoader.java: Reworked imports.
9976
9977 2004-01-23 Michael Koch <konqueror@gmx.de>
9978
9979 * javax/swing/AbstractAction.java: Reformated.
9980
9981 2004-01-23 Michael Koch <konqueror@gmx.de>
9982
9983 * java/text/CollationElementIterator.java:
9984 (setText): New method.
9985
9986 2004-01-23 Michael Koch <konqueror@gmx.de>
9987
9988 * gnu/java/nio/FileLockImpl.java:
9989 Fixed filename in copyright.
9990 (released): Removed.
9991 (finalize): New method.
9992 * gnu/java/nio/natFileLockImpl.cc
9993 (releaseImpl): Implemented.
9994 * java/nio/channels/FileChannelImpl.java:
9995 Reworked imports.
9996 (lock): Implemented.
9997 (lockImpl): New method.
9998 (tryLock): Implemented.
9999 (tryLockImpl): New method.
10000 * java/nio/channels/natFileChannelImpl.cc
10001 (lockImpl): New method.
10002 (tryLockImpl): New method.
10003
10004 2004-01-23 Michael Koch <konqueror@gmx.de>
10005
10006 * java/io/FileDescriptor.java
10007 (lock): New method.
10008 (tryLock): New method.
10009 (unlock): New method.
10010 * java/io/natFileDescriptorEcos.cc
10011 (lock): New method.
10012 (tryLock): New method.
10013 (unlock): New method.
10014 * java/io/natFileDescriptorPosix.cc
10015 (lock): New method.
10016 (tryLock): New method.
10017 (unlock): New method.
10018 * java/io/natFileDescriptorWin32.cc
10019 (lock): New method.
10020 (tryLock): New method.
10021 (unlock): New method.
10022
10023 2004-01-23 Michael Koch <konqueror@gmx.de>
10024
10025 * java/io/FileDescriptor.java
10026 (sync): Moved around, added javadoc.
10027 (valid): Likewise.
10028 (open): Likewise.
10029 (write): Likewise.
10030 (close): Likewise.
10031 (setLength): Likewise.
10032 (seek): Likewise.
10033 (getLength): Likewise.
10034 (getFilePointer): Likewise.
10035 (read): Likewise.
10036 (available): Likewise.
10037 (finalize): Likewise.
10038
10039 2004-01-23 Michael Koch <konqueror@gmx.de>
10040
10041 * javax/swing/AbstractAction.java: Reformated.
10042 (getPropertyChangeListeners): New method.
10043 * javax/swing/AbstractCellEditor.java: Reformated.
10044 (getCellEditorListeners): New method.
10045 * javax/swing/DefaultListSelectionModel.java
10046 (listenerList): New field.
10047 (listeners): Removed.
10048 (get_listeners): Removed.
10049 (addListSelectionListener): Rewritten.
10050 (removeListSelectionListener): Rewritten.
10051 (getListSelectionListeners): New method.
10052 (getListeners): New method.
10053 * javax/swing/JComboBox.java: Imports reworked.
10054 (addActionListener): Implemented.
10055 (removeActionListener): Implemented.
10056 (addItemListener): Implemented.
10057 (removeItemListener): Implemented.
10058 (addPopupMenuListener): Implemented.
10059 (removePopupMenuListener): Implemented.
10060 (getActionListeners): New method.
10061 (getItemListeners): New method.
10062 (getPopupMenuListeners): New method.
10063
10064 2004-01-23 Michael Koch <konqueror@gmx.de>
10065
10066 * gnu/java/net/protocol/http/Connection.java
10067 (connect): Don't initialize bufferedOutputStream if not needed.
10068 (sendRequest): Set property for content length if content is present.
10069 Write content only if present.
10070 (getOutputStream): Check if already connected, dont connect,
10071 initalize bufferedOutputStream if needed.
10072
10073 2004-01-23 Michael Koch <konqueror@gmx.de>
10074
10075 * java/io/FileDescriptor.java
10076 (in, out, err): Added javadoc.
10077 (static): Merged loading code.
10078 (fd, position): Moved around.
10079
10080 2004-01-23 Michael Koch <konqueror@gmx.de>
10081
10082 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10083 New file.
10084
10085 2004-01-23 Michael Koch <konqueror@gmx.de>
10086
10087 * java/lang/Class.java,
10088 java/lang/Object.java,
10089 java/lang/Thread.java: Merged copyright with classpath.
10090
10091 2004-01-23 Michael Koch <konqueror@gmx.de>
10092
10093 * java/io/FileDescriptor.java: Merged copyright with classpath to
10094 start merging this class.
10095
10096 2004-01-22 Tom Tromey <tromey@redhat.com>
10097
10098 PR libgcj/13107:
10099 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10100 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10101 * testsuite/libjava.lang/pr13107_3.java: New file.
10102 * testsuite/libjava.lang/pr13107_3.out: New file.
10103 * testsuite/libjava.lang/pr13107_2.java: New file.
10104 * testsuite/libjava.lang/pr13107_2.out: New file.
10105 * testsuite/libjava.lang/pr13107.java: New file.
10106 * testsuite/libjava.lang/pr13107.out: New file.
10107 * verify.cc (jsr_ptrs): Removed.
10108 (entry_points): Likewise.
10109 (struct subr_info): Likewise.
10110 (struct subr_entry_info): Likewise.
10111 (type_val::unused_by_subroutine_type): Likewise.
10112 (type::merge): Don't handle unused_by_subroutine_type.
10113 (type::print): Likewise.
10114 (state::flags): Removed.
10115 (state::subroutine): Likewise.
10116 (state::seen_subrs): Likewise.
10117 (state::NO_STACK): Likewise.
10118 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10119 (state): Updated all methods.
10120 (state::clean_subrs): Removed.
10121 (state::state): Removed `ret_semantics' flag.
10122 (state::copy): Likewise.
10123 (state::add_subr): Removed.
10124 (state::enter_subroutine): Likewise.
10125 (type::set_return_address): New method.
10126 (handle_jsr_insn): Set return address on the type. Always
10127 invalidate PC after call.
10128 (check_nonrecursive_call): Removed.
10129 (~_Jv_BytecodeVerifier): Updated.
10130 (branch_prepass): Removed special handling of jsr.
10131 (note_branch_target): Likewise.
10132 (get_subroutine): Removed.
10133 (state::merge): Don't merge subroutines and don't handle
10134 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10135 (state::note_variable): Removed.
10136 (state::is_unmerged_ret_state): Likewise.
10137 (state::print): Updated.
10138 (set_variable): Likewise.
10139 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10140 and jsr_semantics arguments. Updated for new reverification
10141 list.
10142 (pop_jump): Rewrote.
10143 (construct_primitive_array_type): Updated.
10144 (state::next): Removed.
10145 (INVALID_STATE): New define.
10146 (state::INVALID): Removed.
10147 (state::NO_NEXT): New value.
10148 (state::pc, state::next): New fields.
10149 (state::get_pc): New method.
10150 (next_verify_pc): Removed.
10151 (next_verify_state): New field.
10152 (verify_instructions_0): Always check for falling off end.
10153 (linked): New type.
10154 (linked_utf8): Removed.
10155 (states): Changed type.
10156 (type::state_mergeable_p): New method.
10157 (state::state_mergeable_p): Likewise.
10158 (handle_ret_insn): Removed most code.
10159 (state::reverify): New method.
10160 (add_new_state): Likewise.
10161 (state::set_pc): Likewise.
10162
10163 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10164
10165 PR java/13733
10166 * testsuite/libjava.compile/PR13733.java: New file.
10167 * testsuite/libjava.compile/PR13733.xfail: New file.
10168
10169 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10170 Michael Koch <konqueror@gmx.de>
10171
10172 * javax/swing/table/DefaultTableCellRenderer.java
10173 (DefaultTableCellRenderer): Added javadoc for the class and for
10174 the constructor, Border instance, create an EmptyBorder.
10175 (UIResource): Removed the comment at the end of the class
10176 (setForeground): New method.
10177 (setBackground): New method.
10178 (updateUI): New method.
10179 (getTableCellRendererComponent): Rewritten with the help of
10180 dvholten and Stephane Meslin-Weber.
10181 (validate): New method.
10182 (repaint): New method.
10183 (firePropertyChange): New method.
10184 (setValue): New method.
10185
10186 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10187
10188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10189 (connectJObject): Replace printf calls with g_assert statements.
10190 Move property-notify-event signal connection to ...
10191 (connectSignals): Connect property-notify-event signal. Iterate
10192 through the vbox's children to find layout.
10193
10194 2004-01-22 Graydon Hoare <graydon@redhat.com>
10195
10196 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10197 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10198 Predicate static initialization on GtkToolkit.useGraphics2D().
10199 * java/awt/Component.java (processPaintEvent): Consume event.
10200 * javax/swing/AbstractButton.java: Reimplement, document.
10201 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10202 * javax/swing/JComponent.java (paint): Use double buffer.
10203 (listenerList): Enable member.
10204 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10205 * javax/swing/JToggleButton.java
10206 (JToggleButton): Modify model constructor.
10207 * javax/swing/SwingUtilities.java
10208 (layoutCompoundLabel): Adjust arithmetic.
10209 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10210 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10211 (getPreferredButtonSize): Include margins in calculation.
10212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10213 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10214 Receive up events from subordinate layout component.
10215
10216 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10217
10218 * java/awt/Component.java (show): Set visible to true before
10219 showing the peer.
10220
10221 2004-01-21 Kim Ho <kho@redhat.com>
10222
10223 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10224 Fix comments.
10225 (removeMenuBarPeer): Make package private.
10226 (setMenuBarPeer): Make package private.
10227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10228 (menubar_resize_cb): Mark attributes unused.
10229 (getMenuBarHeight): ditto.
10230
10231 2004-01-21 David Jee <djee@redhat.com>
10232
10233 * java/awt/Container.java
10234 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10235 dispatching MOUSE_ENTERED event twice. Translate the point for
10236 the mouse event target before dispatching the event.
10237
10238 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10239
10240 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10241 lib_org_w3c_dom_la_LDFLAGS): New.
10242 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10243 * Makefile.in: Rebuilt.
10244
10245 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10246
10247 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10248 Calculate proper offsets for heavyweight components packed in
10249 lightweight containers.
10250
10251 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10252 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10253 (native create): Add width parameter.
10254 (create): Calculate text entry width based on current font's
10255 metrics and number of columns. Set TextField's font if not
10256 already set. Call native create.
10257 (gtkEntryGetBorderWidth): New native method.
10258 (gtkEntryGetSize): Remove method.
10259 (getMinimumSize): Call minimumSize.
10260 (getPreferredSize): Call preferredSize.
10261 (minimumSize): Calculate minimum size based on backing
10262 GtkEntry's borders, font metrics and number of columns.
10263 (preferredSize): Likewise for preferred size.
10264 (get_border_width): New static function.
10265
10266 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10267 Override GtkWindowPeer's setResizable method to account for menu
10268 bar height when setting the frame's size.
10269
10270 2004-01-19 Matthias Klose <doko@debian.org>
10271
10272 * libtool-version: Increased `current' to 6.
10273
10274 2004-01-19 Kim Ho <kho@redhat.com>
10275
10276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10277 (connectJObject): Iterate through the vbox's children to find layout.
10278
10279 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10280
10281 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10282 isDispatchThread method to replace wrong test condition.
10283
10284 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10285
10286 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10287 events to the queue out of order by acquiring locks in the proper
10288 order and not by releasing one before acquiring the other.
10289
10290 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10291
10292 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10293 visible so that dialog can be reused.
10294
10295 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10296
10297 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10298 events may be handled by any queue in the stack.
10299
10300 2004-01-19 Kim Ho <kho@redhat.com>
10301
10302 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10303 MenuBarPeer parameter.
10304 (removeMenuBarPeer): New native method.
10305 (setMenuBar): Call remove if menu bar is null. Adjust insets
10306 appropriately.
10307 (postSizeAllocateEvent): New method. Called when menu bar size is
10308 allocated. Adjust insets and redo layout.
10309 (GtkFramePeer): Set menu bar during frame creation.
10310 (postConfigureEvent): Adjust position and size to accomodate
10311 menu bar.
10312 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10313 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10314 (addNotify): Create the peer if it doesn't exist and call addNotify
10315 for the menu's items.
10316 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10317 * java/awt/MenuItem.java (addNotify): Create the peer if it
10318 doesn't exist.
10319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10320 (removeMenuBarPeer): New method. Remove menu bar on the current
10321 frame.
10322 (setMenuBarPeer): Add the menu bar to the current frame and the
10323 callback for size-allocate events on the menu bar.
10324 (getMenuBarHeight): Add menu bar parameter.
10325 (menubar_resize_cb): New callback method for postSizeAllocate events.
10326
10327 Also: Fix indentation on last ChangeLog entry.
10328
10329 2004-01-16 Kim Ho <kho@redhat.com>
10330
10331 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10332 (gtkWidgetGetDimensions): Remove.
10333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10334 (gtkWidgetGetDimensions): Remove.
10335
10336 2004-01-16 Tom Tromey <tromey@redhat.com>
10337
10338 * java/awt/Container.java: Typo and indentation fixes.
10339
10340 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10341 * java/lang/natVMClassLoader.cc: ...here. New file.
10342 * Makefile.in: Rebuilt.
10343 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10344
10345 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10346
10347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10348 Discard GDK_ENTER_NOTIFY related to ungrabs.
10349
10350 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10351
10352 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10353 is called for an intermediate queue.
10354
10355 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10356
10357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10358 (window_property_changed_cb): Set id_set.
10359
10360 2004-01-16 Kim Ho <kho@redhat.com>
10361
10362 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10363 it is a FileDialog and has dimensions of 0 by 0, then the initial
10364 size is set to size request plus insets.
10365 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10366 (gtkWidgetGetDimensions): Override method.
10367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10368 (gtkWidgetGetDimensions): Override method. Returns size request plus
10369 insets.
10370
10371 2004-01-16 Andrew Haley <aph@redhat.com>
10372
10373 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10374 * sysdep/i386/locks.h: Likewise.
10375
10376 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10377
10378 * java/awt/EventDispatchThread.java (run): Stop running when
10379 interrupted.
10380 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10381 Reset the queue after transferring its contents.
10382 (push): Start a new dispatch thread if none is running.
10383
10384 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10385
10386 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10387 (doPolygon): set fill rule of polygon to
10388 WIND_EVEN_ODD by default.
10389
10390 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10391
10392 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10393 Implemented rendering hints related methods.
10394 (getDefaultHints): New helper method. Returns
10395 default rendering hints.
10396 (walkPath): changed to normalize path if
10397 the KEY_STROKE_CONTROL key is in "normalize" mode.
10398 (draw3DRect): changed coordinates of rectangle by +0.5
10399 if in "normalize" mode.
10400
10401 2004-01-15 Tom Tromey <tromey@redhat.com>
10402
10403 * Makefile.in: Rebuilt.
10404 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10405 (%.lo: %.java) Filter out StackTrace.lo.
10406
10407 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10408
10409 * configure.in: Add in AC_PREREQ(2.13)
10410 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10411 FIXME comment.
10412
10413 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10414 Tom Tromey <tromey@redhat.com>
10415
10416 PR libgcj/12001:
10417 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10418 array to superclass.
10419 (init): Changed interface; add URLs here.
10420 (initialize): New static method.
10421 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10422 (_Jv_RunMain): ... not here.
10423
10424 2004-01-14 Michael Koch <konqueror@gmx.de>
10425
10426 * java/text/MessageFormat.java:
10427 Added descriptions to exceptions.
10428 This fixes PR libgcj/2429.
10429
10430 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10431
10432 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10433 (push): Make sure push is performed at the top of the thread stack.
10434
10435 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10436
10437 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10439 (native create): Add width and height parameters. Set text
10440 view's size request according to new parameters.
10441 (create): Calculate text view size based on current font's
10442 metrics and number of rows and columns. Set TextArea's font if
10443 not already set. Call native create.
10444 (getMinimumSize): Call minimumSize.
10445 (getPreferredSize): Call preferredSize.
10446 (getHScrollbarHeight): New method.
10447 (getVScrollbarWidth): New method.
10448 (minimumSize): Calculate minimum size based on scrollbar
10449 visibility, scrollbar sizes, font metrics and number of rows and
10450 columns.
10451 (preferredSize): Likewise for preferred size.
10452 (gtkTextGetSize): Remove method.
10453
10454 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10455
10456 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10457 (initializeInsets): Remove method.
10458 (GtkComponentPeer): Initialize insets field. Remove call to
10459 initializeInsets.
10460 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10461 Remove method.
10462 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10463 Remove method.
10464 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10465 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10466 (latestInsets): Remove field.
10467 (native create): Add insets parameter. Call
10468 window_get_frame_extents. Set the window's default size and
10469 size request based on its frame extents.
10470 (create): Initialize insets.
10471 (postInsetsChangedEvent): New method.
10472 (postConfigureEvent): Remove parameters top, left, bottom,
10473 right. Remove insets-related logic.
10474 (connectJObject): Handle property-notify-event.
10475 (window_get_frame_extents, request_frame_extents,
10476 property_notify_predicate, window_property_changed_cb): New
10477 static functions.
10478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10479 (pre_event_handler): Remove insets-related logic for configure
10480 events.
10481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10482 Update postConfigureEvent signature.
10483
10484 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10485
10486 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10487 to handle Window "Closing" events.
10488
10489 2004-01-13  David Jee  <djee@redhat.com>
10490
10491 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10492 (setBackground): New method. Children with no explicitly-set
10493 background will be repainted with the parent container's new
10494 background color.
10495
10496 2004-01-13  David Jee  <djee@redhat.com>
10497
10498 * Makefile.am: Add BitwiseXORComposite.java.
10499 * Makefile.in: Regenerated.
10500 * gcj/Makefile.in: Regenerated.
10501 * include/Makefile.in: Regenerated.
10502 * testsuite/Makefile.in: Regenerated.
10503
10504 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10505
10506 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10507 not show modal dialogs twice and so that it allows showing a modal
10508 dialog from another modal dialog.
10509
10510 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10511
10512 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10513 and run secondary dispatch thread to process event queue while this
10514 thread is blocked.
10515
10516 2004-01-12 Graydon Hoare <graydon@redhat.com>
10517
10518 * gnu/java/awt/gtk/GdkGraphics2D.java
10519 (static): Check GtkToolkit before initializing static state.
10520 (Graphics2D): Don't construct transform with 0.5 unit offset.
10521
10522 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10523
10524 * gnu/java/awt/BitwiseXORComposite.java: Add.
10525 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10526 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10527 (BitwiseXORComposite): Remove inner class.
10528
10529 2004-01-11 Michael Koch <konqueror@gmx.de>
10530
10531 * gnu/java/lang/reflect/TypeSignature.java
10532 (getEncodingOfClass): Documentation fixed.
10533 (getClassForEncoding): Give class loader to Class.forName().
10534 Documentation fixed.
10535
10536 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10537
10538 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10539
10540 2004-01-11 Michael Koch <konqueror@gmx.de>
10541
10542 * javax/swing/undo/StateEditable.java
10543 (RCSID): Removed redundant modifiers.
10544
10545 2004-01-10 Michael Koch <konqueror@gmx.de>
10546
10547 * javax/print/attribute/EnumSyntax.java
10548 (getStringTable): Made protected.
10549 (getEnumValueTable): Likewise.
10550 * javax/print/attribute/standard/JobKOctetsProcessed.java
10551 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10552 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10553 (JobMediaSheetsCompleted): Made class final.
10554 * javax/print/attribute/standard/OutputDeviceAssigned.java
10555 (getName): Fixed typo.
10556 * javax/print/attribute/standard/RequestingUserName.java
10557 (serialVersionUID): Fixed value.
10558
10559 2004-01-10 Michael Koch <konqueror@gmx.de>
10560
10561 * javax/swing/plaf/basic/BasicButtonUI.java,
10562 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10563 javax/swing/plaf/basic/BasicListUI.java,
10564 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10565 javax/swing/plaf/basic/BasicPanelUI.java,
10566 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10567 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10568 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10569 javax/swing/plaf/basic/BasicViewportUI.java:
10570 Fixed import statements.
10571
10572 2004-01-10 Michael Koch <konqueror@gmx.de>
10573
10574 * gnu/java/awt/image/ImageDecoder.java
10575 (produce): Made public.
10576 * gnu/java/awt/peer/GLightweightPeer.java,
10577 gnu/java/awt/peer/gtk/GtkToolkit.java:
10578 Reformated.
10579
10580 2004-01-10 Michael Koch <konqueror@gmx.de>
10581
10582 * javax/swing/JRadioButtonMenuItem.java,
10583 javax/swing/JSeparator.java,
10584 javax/swing/JSplitPane.java,
10585 javax/swing/JTextPane.java,
10586 javax/swing/JToolBar.java,
10587 javax/swing/ListCellRenderer.java,
10588 javax/swing/ListModel.java,
10589 javax/swing/MenuElement.java,
10590 javax/swing/OverlayLayout.java,
10591 javax/swing/ProgressMonitor.java,
10592 javax/swing/ProgressMonitorInputStream.java,
10593 javax/swing/Renderer.java,
10594 javax/swing/RootPaneContainer.java,
10595 javax/swing/Scrollable.java,
10596 javax/swing/SingleSelectionModel.java,
10597 javax/swing/ToolTipManager.java,
10598 javax/swing/ViewportLayout.java,
10599 javax/swing/event/DocumentEvent.java,
10600 javax/swing/event/SwingPropertyChangeSupport.java,
10601 javax/swing/event/TreeSelectionEvent.java,
10602 javax/swing/event/UndoableEditEvent.java,
10603 javax/swing/text/AbstractDocument.java,
10604 javax/swing/text/AttributeSet.java,
10605 javax/swing/text/Caret.java,
10606 javax/swing/text/ComponentView.java,
10607 javax/swing/text/DefaultCaret.java,
10608 javax/swing/text/DefaultEditorKit.java,
10609 javax/swing/text/Document.java,
10610 javax/swing/text/EditorKit.java,
10611 javax/swing/text/GapContent.java,
10612 javax/swing/text/Keymap.java,
10613 javax/swing/text/MutableAttributeSet.java,
10614 javax/swing/text/PlainEditorKit.java,
10615 javax/swing/text/Segment.java,
10616 javax/swing/text/Style.java,
10617 javax/swing/text/StyledDocument.java,
10618 javax/swing/text/StyledEditorKit.java,
10619 javax/swing/text/TextAction.java,
10620 javax/swing/text/View.java: Fixed import statements.
10621
10622 2004-01-08 Graydon Hoare <graydon@redhat.com>
10623
10624 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10625 djee@redhat.com's recent inverse ordering of Container elements.
10626
10627 2004-01-09 Michael Koch <konqueror@gmx.de>
10628
10629 * gnu/java/lang/ArrayHelper.java
10630 (equalsArray): Removed.
10631
10632 2004-01-09 Andrew Haley <aph@redhat.com>
10633
10634 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10635 a Utf8Const field before looking at its class.
10636
10637 2004-01-09 Michael Koch <konqueror@gmx.de>
10638
10639 * javax/print/attribute/standard/DocumentName.java,
10640 javax/print/attribute/standard/JobHoldUntil.java,
10641 javax/print/attribute/standard/JobMessageFromOperator.java,
10642 javax/print/attribute/standard/JobName.java,
10643 javax/print/attribute/standard/JobOriginatingUserName.java,
10644 javax/print/attribute/standard/OutputDeviceAssigned.java,
10645 javax/print/attribute/standard/PrinterInfo.java,
10646 javax/print/attribute/standard/PrinterLocation.java,
10647 javax/print/attribute/standard/PrinterMakeAndModel.java,
10648 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10649 javax/print/attribute/standard/PrinterName.java,
10650 javax/print/attribute/standard/RequestingUserName.java: New files.
10651 * Makefile.am (javax_source_files): Added new files.
10652 * Makefile.in: Regenerated.
10653
10654 2004-01-09 Michael Koch <konqueror@gmx.de>
10655
10656 * javax/swing/AbstractAction.java,
10657 javax/swing/AbstractSet.java,
10658 javax/swing/Action.java,
10659 javax/swing/ActionMap.java,
10660 javax/swing/BoundedRangeModel.java,
10661 javax/swing/ButtonModel.java,
10662 javax/swing/CellEditor.java,
10663 javax/swing/CellRendererPane.java,
10664 javax/swing/ComboBoxEditor.java,
10665 javax/swing/DebugGraphics.java,
10666 javax/swing/DefaultCellEditor.java,
10667 javax/swing/DefaultCellRenderer.java,
10668 javax/swing/DefaultComboBoxModel.java,
10669 javax/swing/DefaultDesktopManager.java,
10670 javax/swing/DefaultFocusManager.java,
10671 javax/swing/DefaultListCellRenderer.java,
10672 javax/swing/Icon.java,
10673 javax/swing/JButton.java,
10674 javax/swing/JCheckBoxMenuItem.java,
10675 javax/swing/JDesktopPane.java,
10676 javax/swing/JEditorPane.java,
10677 javax/swing/JMenu.java,
10678 javax/swing/JPanel.java,
10679 javax/swing/JPasswordField.java,
10680 javax/swing/JPopupMenu.java,
10681 javax/swing/JProgressBar.java: Reworked imports.
10682
10683 2004-01-09 Michael Koch <konqueror@gmx.de>
10684
10685 * java/awt/geom/PathIterator.java
10686 (WIND_EVEN_ODD): Removed redundant modifiers.
10687 (WIND_NON_ZERO): Likewise.
10688 (SEG_MOVETO): Likewise.
10689 (SEG_LINETO): Likewise.
10690 (SEG_QUADTO): Likewise.
10691 (SEG_CUBICTO): Likewise.
10692 (SEG_CLOSE): Likewise.
10693 * java/awt/image/SinglePixelPackedSampleModel.java:
10694 Removed redundant semicolon.
10695 * java/io/ObjectInputStream.java
10696 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10697 * java/util/logging/Filter.java
10698 (isLoggable): Removed redundant modifier.
10699 * java/util/logging/LogManager.java:
10700 Removed redundant semicolon.
10701 * java/util/logging/XMLFormatter.java
10702 (format): Removed unused variable "key".
10703
10704 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10705
10706 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10707 New name for the former setFile native method.
10708 (setFile): New method.
10709 (setDirectory): Implemented.
10710 (connectSignals): New native method.
10711 (setFilenameFilter): Improve comment.
10712 (getGraphics): Comment.
10713 (gtkHideFileDialog): New method.
10714 (gtkDisposeFileDialog): New method.
10715 (gtkSetFilename): New method.
10716 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10717 for FileDialog for now.
10718 (hide): New method.
10719 (dispose): New method.
10720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10721 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10722 deprecated creation functions. Make dialog modal. Add it to the
10723 window group.
10724 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10725 function.
10726 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10727 Rename to...
10728 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10729 name.
10730 (window_closed): New function.
10731 (ok_clicked): New function.
10732 (cancel_clicked): New function.
10733
10734 2004-01-08 Michael Koch <konqueror@gmx.de>
10735
10736 * javax/swing/JLayeredPane.java: Revert changes to standard
10737 boilerplate, reworked imports.
10738
10739 2004-01-07 Tom Tromey <tromey@redhat.com>
10740
10741 PR libgcj/13439:
10742 * verify.cc (state::merge): Copy changed locals out of subroutine
10743 in NO_STACK case.
10744 (state::FLAG_CHANGED): New const.
10745 (state::FLAG_UNUSED): Likewise.
10746 (state::local_changed): Removed. Updated all users.
10747 (state::flags): New field.
10748 (state::merge): Added jsr_semantics argument, more logic.
10749 (push_jump_merge): Added jsr_semantics argument.
10750 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10751 merging through the jsr instruction.
10752
10753 2004-01-07 Tom Tromey <tromey@redhat.com>
10754
10755 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10756 backslash-newline.
10757
10758 2004-01-07 Graydon Hoare <graydon@redhat.com>
10759
10760 * java/awt/Container.java (LightweightDispatcher): Implement.
10761 (visitChild): Reuse graphics object.
10762 (dispatchEventImpl): Optionally dispatch to lightweight.
10763 (addNotifyContainerChildren): Build LightweightDispatcher.
10764
10765 2004-01-07 David Jee <djee@redhat.com>
10766
10767 * java/awt/Container.java
10768 (update): Clear only the clipped region, instead of clearing the
10769 entire Container.
10770 (visitChildren): Visit children in descending order.
10771
10772 2004-01-07 Michael Koch <konqueror@gmx.de>
10773
10774 * java/lang/reflect/Array.java: Merged documentation with classpath.
10775
10776 2004-01-07 Michael Koch <konqueror@gmx.de>
10777
10778 * java/text/CollationElementIterator.java
10779 (textIndex): Renamed from index.
10780 * java/text/CollationKey.java
10781 (collator): New member.
10782 (CollationKey): New argument for parent collator.
10783 (equals): Check for same collator, source string and key array.
10784 * java/text/RuleBasedCollator.java:
10785 Reformated.
10786 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10787 value.
10788 (getCollationElementIterator): Rewritten.
10789 (getCollationKey): Added new argument to CollationKey constructor.
10790
10791 2004-01-07 Michael Koch <konqueror@gmx.de>
10792
10793 * gnu/java/nio/DatagramChannelImpl.java
10794 (blocking): Removed.
10795 (DatagramChannelImpl): Call configureBlocking().
10796 (implConfigureBlocking): Dont initialize blocking.
10797 * gnu/java/nio/ServerSocketChannelImpl.java
10798 (blocking): Removed.
10799 (ServerSocketChannelImpl): Call configureBlocking().
10800 (implConfigureBlocking): Dont initialize blocking.
10801 * gnu/java/nio/SocketChannelImpl.java
10802 (blocking): Removed.
10803 (SocketChannelImpl): Call configureBlocking().
10804 (implConfigureBlocking): Dont initialize blocking.
10805 (connect): Use isBlocking().
10806 * java/nio/channels/spi/AbstractSelectableChannel.java
10807 (configureBlocking): Use blockingLock() instead of LOCK.
10808 Set blocking after successfully called implConfigureBlocking().
10809 (register): Use blockingLock() instead of LOCK.
10810
10811 2004-01-07 Michael Koch <konqueror@gmx.de>
10812
10813 * java/net/ServerSocket.java (isBound): Fixed documentation.
10814
10815 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10816
10817 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10818 (changeEvent): Create event object on demand.
10819 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10820 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10821 fireStateChanged): Re-written.
10822 * javax/swing/event/EventListenerList.java: Reformatted, document
10823 typical usage.
10824 (toString): Implemented.
10825 (getListeners): Re-written.
10826 (remove): Re-written.
10827 (add): Re-written.
10828 (NO_LISTENERS): New singleton field.
10829 (listenerList): Declare as transient; document.
10830 (serialVersionUID): Document.
10831 (getListenerCount(Class)): More efficient implementation,
10832 also accepts null argument. Improve Javadoc.
10833 (getListenerCount()): Remove unnecessary cast; docfix.
10834 * javax/swing/undo/UndoableEditSupport.java:
10835 Re-format, document.
10836 (UndoableEditSupport): Set realSource field. Improve documentation.
10837 (_postEdit): Iterate over cloned listener vector.
10838 (toString): Don't emit realSource.
10839 (beginUpdate, endUpdate): Support nested updates.
10840 (postEdit): Use compound edit if present.
10841
10842 2004-01-06 Graydon Hoare <graydon@redhat.com>
10843
10844 * java/awt/Container.java (swapComponents): Add forgotten
10845 function, required for JLayeredPane change.
10846
10847 2004-01-06 Michael Koch <konqueror@gmx.de>
10848
10849 * java/text/CollationElementIterator.java: Reformated.
10850 (CollationElementIterator): Changed order of arguments.
10851 * java/text/RuleBasedCollator.java
10852 (RuleBasedCollator): Merged class documentation.
10853 (CollationElement): Added documentation.
10854 (compare): Reformated, renamed arguments.
10855 (equals): Likewise.
10856 (getCollationElementIterator): Likewise.
10857 (getCollationKey): Likewise.
10858
10859 2004-01-06 Graydon Hoare <graydon@redhat.com>
10860
10861 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10862
10863 2004-01-06 Michael Koch <konqueror@gmx.de>
10864
10865 * gnu/java/net/protocol/file/Connection.java:
10866 Reformated copyright.
10867 (hdrHash): Removed.
10868 (hdrVec): Removed.
10869 (gotHeaders): Removed.
10870 (getHeaderField): Removed.
10871 (getHeaderField): Removed.
10872 (getHeaderFieldKey): Removed.
10873 (getKey): Removed.
10874 (getField): Removed.
10875 (getHeaders): Removed.
10876
10877 2004-01-06 Michael Koch <konqueror@gmx.de>
10878
10879 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10880 javax/print/attribute/standard/DateTimeAtCreation.java,
10881 javax/print/attribute/standard/DateTimeAtProcessing.java,
10882 javax/print/attribute/standard/JobImpressionsCompleted.java,
10883 javax/print/attribute/standard/JobKOctets.java,
10884 javax/print/attribute/standard/JobKOctetsProcessed.java,
10885 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10886 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10887 * Makefile.am (javax_source_files): Added new files.
10888 * Makefile.in: Regenerated.
10889
10890 2004-01-06 Michael Koch <konqueror@gmx.de>
10891
10892 * java/net/URLConnection.java
10893 (contentHandler): Removed.
10894 (locale): Removed.
10895 (getHeaderFields): Return an empty map instead of null.
10896 (getContent): Connect if needed, renamed "cType" to "type" and
10897 "contentHandler" to "ch" and made it a local variable.
10898 (getPermission): Don't use package in class name.
10899 (setDefaultRequestProperty): Fixed typo in documentation.
10900 (initializeDateFormats): Made locale a local variable.
10901
10902 2004-01-06 Michael Koch <konqueror@gmx.de>
10903
10904 * java/lang/Package.java
10905 (getPackage): Get the current class loader directly.
10906 * java/lang/SecurityManager.java
10907 (currentLoadedClass): Dont iterate over class contexts.
10908 (classLoaderDepth): Don't check class loaders if everything is allowed.
10909
10910 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10911
10912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10913 (pre_event_handler): Set all insets to 0 when a Configure event
10914 is received for a GtkPlug.
10915 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
10916 Make handle long, not int.
10917 (EmbeddedWindow()): New constructor.
10918 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
10919 long, not int.
10920 (setHandle): New method.
10921 (getHandle): Return long, not int.
10922 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
10923 declaration.
10924 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
10925 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
10926 (create(long)): Take long parameter, not int. Cast gtk_plug_new
10927 argument to GdkNativeWindow.
10928 (construct): New method.
10929 (embed): New method.
10930
10931 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10932 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
10933 (create(int, int)): New method.
10934 (create): Call new create method.
10935 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
10936 methods.
10937 (childResized): Remove native implementation. Implement in
10938 Java.
10939 (getHScrollbarHeight, getVScrollbarWidth): Call
10940 gtk_widget_size_request to get scrollbar dimensions.
10941 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
10942 call getVScrollbarWidth and getHScrollbarHeight when vertical
10943 and horizontal scrollbars respectively are needed.
10944 (doLayout): Enlarge child if it is smaller than the viewport.
10945
10946 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10947
10948 * java/awt/Dialog.java (constructor): Accept null title as per spec.
10949 * java/awt/FileDialog.java (constructor): Throw exception on invalid
10950 argument as per spec.
10951
10952 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10953
10954 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
10955 (insert): Ditto.
10956 (remove): Ditto. Also, Check for valid argument.
10957 (removeAll): Use peer interface method.
10958 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
10959 native add function.
10960 (nativeRemove): New name for native remove function.
10961 (getHistory): New native function.
10962 (constructor): Generate ItemEvent.
10963 (add): Ditto, if selection is changed.
10964 (remove): Ditto, ditto.
10965 (removeAll): Add implementation.
10966 (handleEvent): Remove. Dead code.
10967 (choicePostItemEvent): Add comment.
10968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10969 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
10970 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
10971 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
10972 comments and fix condition to change selection.
10973 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
10974 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
10975 remove all capability.
10976 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
10977 (item_activate): Add cast to remove compiler warning.
10978
10979 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10980
10981 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10982 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10983 (getPreferredSize): Call preferredSize.
10984 (preferredSize): Call gtkWidgetGetPreferredDimensions.
10985 (getMinimumSize): Call minimumSize.
10986 (minimumSize): Call gtkWidgetGetPreferredDimensions.
10987 (gtkWidgetGetDimensions): Return the peer widget's current size
10988 request.
10989 (gtkWidgetGetPreferredDimensions): Return the peer widget's
10990 natural size request.
10991
10992 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
10993
10994 Thanks to Brian Gough <bjg@network-theory.com>
10995 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
10996 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
10997
10998 2004-01-04 Matthias Klose <doko@debian.org>
10999
11000 * aclocal.m4: Rebuilt using "aclocal -I .".
11001 * configure: Rebuilt.
11002
11003 2004-01-03 Per Bothner <per@bothner.com>
11004
11005 * java/util/Date.java (parse): Fix a number of problems.
11006 (skipParens): Remove no-longer-needed method.
11007