verify.cc (state::check_no_uninitialized_objects): Removed.
[gcc.git] / libjava / ChangeLog
1 2004-11-01 Tom Tromey <tromey@redhat.com>
2
3 * verify.cc (state::check_no_uninitialized_objects): Removed.
4 (push_jump): Updated.
5 (push_exception_jump): Likewise.
6 (handle_ret_insn): Likewise.
7 (handle_jsr_insn): Likewise.
8
9 2004-10-30 Mark Wielaard <mark@klomp.org>
10
11 PR libgcj/18234
12 * java/lang/Runtime.java (static): Call init().
13 (Runtime): Remove call to init().
14 (init): Make static.
15
16 2004-10-28 David Daney <ddaney@avtrex.com>
17
18 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
19 * Makefile.am: Build it.
20 * Makefile.in: Regenerate.
21
22 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
23
24 PR libgcj/18104
25 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
26 colon.
27 * Makefile.in: Regenerate.
28 * configure: Regenerate.
29 * configure.ac (CLASSPATH_SEPARATOR): Define.
30 * gcj/Makefile.in: Regenerate.
31 * include/Makefile.in: Regenerate.
32 * testsuite/Makefile.in: Regenerate.
33 * testsuite/lib/libjava.exp (libjava_arguments): Fix
34 CLASSPATH separator handling for Windows.
35
36 2004-10-26 Michael Koch <konqueror@gmx.de>
37
38 * gnu/java/net/protocol/http/Connection.java
39 (getOutputStream): Implicitely switch to POST method.
40
41 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
42
43 * libjava/java/lang/Class.h
44 (java::lang::Class): Correct friend class declaration.
45
46 2004-10-25 Geoffrey Keating <geoffk@apple.com>
47
48 * Makefile.am (DARWIN_CRT_SRC): New.
49 (libgcj_la_SOURCES): Use it.
50 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
51 * darwin.cc: New file.
52 * include/jvm.h (_Jv_RegisterClasses): Constify.
53 (_Jv_RegisterClasses_Counted): New prototype.
54 * java/lang/Class.h: Include stddef.h.
55 (_Jv_RegisterClasses): Constify.
56 (_Jv_RegisterClasses_Counted): New prototype.
57 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
58 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
59 (_Jv_RegisterClasses_Counted): New function.
60 * configure: Regenerate.
61 * Makefile.in: Regenerate.
62 * gcj/Makefile.in: Regenerate.
63 * include/Makefile.in: Regenerate.
64 * testsuite/Makefile.in: Regenerate.
65
66 2004-10-25 Tom Tromey <tromey@redhat.com>
67
68 * java/util/ResourceBundle.java (tryBundle): Use
69 Class.isAssignableFrom rather than catching ClassCastException.
70
71 2004-10-25 Tom Tromey <tromey@redhat.com>
72
73 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
74 initialize `iter'.
75 * gnu/java/text/SentenceBreakIterator.java
76 (SentenceBreakIterator): Don't initialize `iter'.
77 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
78 initialize `iter'.
79 * gnu/java/text/CharacterBreakIterator.java
80 (CharacterBreakIterator): Don't initialize `iter'.
81 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
82 constructor.
83 * java/text/BreakIterator.java: Updated documentation.
84
85 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
86
87 PR other/18138
88 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
89
90 2004-10-23 Michael Koch <konqueror@gmx.de>
91
92 * javax/print/DocFlavor.java,
93 javax/print/attribute/standard/JobStateReason.java,
94 javax/print/attribute/standard/MultipleDocumentHandling.java:
95 Added missing constants.
96
97 2004-10-22 Tom Tromey <tromey@redhat.com>
98
99 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
100 typo.
101
102 2004-10-22 Michael Koch <konqueror@gmx.de>
103
104 PR libjava/14009
105 * gnu/java/net/protocol/http/Connection.java
106 (sendRequest): Handle case when url.getFile() returns an empty string.
107
108 2004-10-22 Michael Koch <konqueror@gmx.de>
109
110 * java/lang/Math.java,
111 java/lang/StackTraceElement.java,
112 java/nio/Buffer.java,
113 java/nio/ByteBuffer.java,
114 java/nio/CharBuffer.java,
115 java/nio/DoubleBuffer.java,
116 java/nio/FloatBuffer.java,
117 java/nio/IntBuffer.java,
118 java/nio/LongBuffer.java,
119 java/nio/ShortBuffer.java,
120 java/nio/charset/Charset.java,
121 java/rmi/server/RMIClassLoader.java,
122 java/rmi/server/RMISocketFactory.java,
123 java/security/Policy.java,
124 java/text/ChoiceFormat.java,
125 java/text/CollationElementIterator.java,
126 java/text/DateFormat.java,
127 java/text/DecimalFormat.java,
128 java/text/DecimalFormatSymbols.java,
129 java/text/MessageFormat.java,
130 java/text/NumberFormat.java,
131 java/text/RuleBasedCollator.java,
132 java/text/SimpleDateFormat.java,
133 java/util/BitSet.java,
134 java/util/Calendar.java,
135 java/util/Collections.java,
136 java/util/IdentityHashMap.java,
137 java/util/Locale.java,
138 java/util/TreeMap.java,
139 java/util/logging/LogRecord.java,
140 java/util/logging/XMLFormatter.java,
141 java/util/prefs/AbstractPreferences.java,
142 java/util/prefs/Preferences.java,
143 javax/crypto/interfaces/DHPrivateKey.java,
144 javax/crypto/interfaces/DHPublicKey.java,
145 javax/crypto/interfaces/PBEKey.java,
146 javax/net/ssl/HandshakeCompletedEvent.java,
147 javax/security/auth/Subject.java:
148 Removed redundant and reordered modifiers.
149
150 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
151
152 * gnu/java/net/natPlainSocketImplPosix.cc
153 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
154 with 'int *' argument instead of 'long *'.
155
156 2004-10-21 Michael Koch <konqueror@gmx.de>
157
158 * java/net/NetworkInterface.java,
159 java/text/Format.java,
160 javax/security/auth/x500/X500Principal.java,
161 javax/security/auth/x500/X500PrivateCredential.java,
162 javax/security/cert/X509CertBridge.java,
163 javax/security/sasl/Sasl.java,
164 javax/sql/XAConnection.java:
165 Import cleanup.
166
167 2004-10-21 Michael Koch <konqueror@gmx.de>
168
169 * javax/net/ssl/HandshakeCompletedEvent.java,
170 javax/net/ssl/KeyManagerFactory.java,
171 javax/net/ssl/SSLContext.java,
172 javax/net/ssl/SSLServerSocketFactory.java,
173 javax/net/ssl/SSLSession.java,
174 javax/net/ssl/SSLSocketFactory.java,
175 javax/net/ssl/TrustManagerFactory.java:
176 Import cleanup.
177
178 2004-10-21 Michael Koch <konqueror@gmx.de>
179
180 * javax/naming/directory/BasicAttribute.java,
181 javax/naming/directory/BasicAttributes.java,
182 javax/naming/directory/InitialDirContext.java,
183 javax/naming/event/NamingEvent.java,
184 javax/naming/ldap/ControlFactory.java,
185 javax/naming/ldap/ExtendedRequest.java,
186 javax/naming/ldap/InitialLdapContext.java,
187 javax/naming/ldap/LdapReferralException.java,
188 javax/naming/spi/DirObjectFactory.java,
189 javax/naming/spi/DirStateFactory.java,
190 javax/naming/spi/DirectoryManager.java,
191 javax/naming/spi/InitialContextFactory.java,
192 javax/naming/spi/InitialContextFactoryBuilder.java,
193 javax/naming/spi/NamingManager.java,
194 javax/naming/spi/ObjectFactory.java,
195 javax/naming/spi/ObjectFactoryBuilder.java,
196 javax/naming/spi/StateFactory.java:
197 Import cleanup.
198
199 2004-10-21 Michael Koch <konqueror@gmx.de>
200
201 * javax/crypto/Cipher.java,
202 javax/crypto/EncryptedPrivateKeyInfo.java,
203 javax/crypto/ExemptionMechanism.java,
204 javax/crypto/KeyAgreement.java,
205 javax/crypto/KeyGenerator.java,
206 javax/crypto/Mac.java,
207 javax/crypto/SecretKeyFactory.java,
208 javax/crypto/SecretKeyFactorySpi.java,
209 javax/crypto/spec/SecretKeySpec.java:
210 Import cleanup.
211
212 2004-10-21 Michael Koch <konqueror@gmx.de>
213
214 * java/security/AlgorithmParameterGenerator.java,
215 java/security/AlgorithmParameters.java,
216 java/security/AlgorithmParametersSpi.java,
217 java/security/AllPermission.java,
218 java/security/BasicPermission.java,
219 java/security/Certificate.java,
220 java/security/CodeSource.java,
221 java/security/DigestInputStream.java,
222 java/security/DigestOutputStream.java,
223 java/security/GuardedObject.java,
224 java/security/KeyFactory.java,
225 java/security/KeyFactorySpi.java,
226 java/security/KeyPairGenerator.java,
227 java/security/KeyStore.java,
228 java/security/KeyStoreSpi.java,
229 java/security/Permissions.java,
230 java/security/Security.java,
231 java/security/Signature.java,
232 java/security/UnresolvedPermission.java,
233 java/security/cert/CertPathBuilder.java,
234 java/security/cert/CertPathValidator.java,
235 java/security/cert/CertStore.java,
236 java/security/cert/Certificate.java,
237 java/security/cert/CertificateFactory.java,
238 java/security/cert/PolicyQualifierInfo.java,
239 java/security/cert/TrustAnchor.java,
240 java/security/cert/X509CRL.java,
241 java/security/cert/X509CRLSelector.java,
242 java/security/cert/X509CertSelector.java:
243 Import cleanup.
244
245 2004-10-21 Michael Koch <konqueror@gmx.de>
246
247 * java/rmi/MarshalledObject.java,
248 java/rmi/Naming.java,
249 java/rmi/activation/Activatable.java,
250 java/rmi/activation/ActivationGroup.java,
251 java/rmi/activation/ActivationGroupDesc.java,
252 java/rmi/activation/ActivationInstantiator.java,
253 java/rmi/activation/ActivationMonitor.java,
254 java/rmi/activation/ActivationSystem.java,
255 java/rmi/activation/Activator.java,
256 java/rmi/registry/LocateRegistry.java,
257 java/rmi/registry/Registry.java,
258 java/rmi/server/LogStream.java,
259 java/rmi/server/ObjID.java,
260 java/rmi/server/RMIClientSocketFactory.java,
261 java/rmi/server/RMIServerSocketFactory.java,
262 java/rmi/server/RMISocketFactory.java,
263 java/rmi/server/RemoteCall.java,
264 java/rmi/server/RemoteServer.java,
265 java/rmi/server/ServerRef.java,
266 java/rmi/server/UID.java,
267 java/rmi/server/UnicastRemoteObject.java:
268 Import cleanup.
269
270 2004-10-21 Tom Tromey <tromey@redhat.com>
271
272 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
273 exception if we hit EOF of `in'.
274 (read): Handle case where inflating returns -1.
275
276 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
277
278 * gnu/java/nio/channels/natFileChannelPosix.cc
279 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
280 argument instead of 'long *'.
281
282 2004-10-21 Tom Tromey <tromey@redhat.com>
283
284 * java/util/ResourceBundle.java (tryBundle): Also ignore
285 ClassCastException.
286
287 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
288
289 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
290 for all sh*-*-linux* targets.
291 * configure: Regenerate.
292 * include/sh-signal.h: New file.
293
294 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
295
296 * java/lang/ieeefp.h: Add m32r support.
297
298 2004-10-20 Andreas Schwab <schwab@suse.de>
299
300 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
301 to uaddr, not int.
302 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
303 Likewise.
304
305 2004-10-20 Michael Koch <konqueror@gmx.de>
306
307 * javax/print/attribute/standard/ColorSupported.java,
308 javax/print/attribute/standard/Compression.java,
309 javax/print/attribute/standard/Copies.java,
310 javax/print/attribute/standard/CopiesSupported.java,
311 javax/print/attribute/standard/DateTimeAtCompleted.java,
312 javax/print/attribute/standard/DateTimeAtCreation.java,
313 javax/print/attribute/standard/DateTimeAtProcessing.java,
314 javax/print/attribute/standard/DocumentName.java,
315 javax/print/attribute/standard/Fidelity.java,
316 javax/print/attribute/standard/Finishings.java,
317 javax/print/attribute/standard/JobHoldUntil.java,
318 javax/print/attribute/standard/JobImpressions.java,
319 javax/print/attribute/standard/JobImpressionsCompleted.java,
320 javax/print/attribute/standard/JobImpressionsSupported.java,
321 javax/print/attribute/standard/JobKOctets.java,
322 javax/print/attribute/standard/JobKOctetsProcessed.java,
323 javax/print/attribute/standard/JobKOctetsSupported.java,
324 javax/print/attribute/standard/JobMediaSheets.java,
325 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
326 javax/print/attribute/standard/JobMediaSheetsSupported.java,
327 javax/print/attribute/standard/JobMessageFromOperator.java,
328 javax/print/attribute/standard/JobName.java,
329 javax/print/attribute/standard/JobOriginatingUserName.java,
330 javax/print/attribute/standard/JobPriority.java,
331 javax/print/attribute/standard/JobPrioritySupported.java,
332 javax/print/attribute/standard/JobSheets.java,
333 javax/print/attribute/standard/JobState.java,
334 javax/print/attribute/standard/JobStateReason.java,
335 javax/print/attribute/standard/JobStateReasons.java,
336 javax/print/attribute/standard/Media.java,
337 javax/print/attribute/standard/MultipleDocumentHandling.java,
338 javax/print/attribute/standard/NumberOfDocuments.java,
339 javax/print/attribute/standard/NumberOfInterveningJobs.java,
340 javax/print/attribute/standard/NumberUp.java,
341 javax/print/attribute/standard/NumberUpSupported.java,
342 javax/print/attribute/standard/OrientationRequested.java,
343 javax/print/attribute/standard/OutputDeviceAssigned.java,
344 javax/print/attribute/standard/PDLOverrideSupported.java,
345 javax/print/attribute/standard/PageRanges.java,
346 javax/print/attribute/standard/PagesPerMinute.java,
347 javax/print/attribute/standard/PagesPerMinuteColor.java,
348 javax/print/attribute/standard/PrintQuality.java,
349 javax/print/attribute/standard/PrinterInfo.java,
350 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
351 javax/print/attribute/standard/PrinterLocation.java,
352 javax/print/attribute/standard/PrinterMakeAndModel.java,
353 javax/print/attribute/standard/PrinterMessageFromOperator.java,
354 javax/print/attribute/standard/PrinterMoreInfo.java,
355 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
356 javax/print/attribute/standard/PrinterName.java,
357 javax/print/attribute/standard/PrinterStateReason.java,
358 javax/print/attribute/standard/PrinterStateReasons.java,
359 javax/print/attribute/standard/PrinterURI.java,
360 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
361 javax/print/attribute/standard/RequestingUserName.java:
362 Reorganized imports and removed redundant final modifiers.
363
364 2004-10-20 Michael Koch <konqueror@gmx.de>
365
366 * javax/security/sasl/SaslClient.java,
367 javax/security/sasl/SaslClientFactory.java,
368 javax/security/sasl/SaslException.java,
369 javax/security/sasl/SaslServer.java,
370 javax/security/sasl/SaslServerFactory.java:
371 Remvoed CVS tags.
372
373 2004-10-20 Michael Koch <konqueror@gmx.de>
374
375 * javax/security/auth/login/NullConfiguration.java,
376 javax/security/auth/x500/X500Principal.java,
377 javax/security/cert/X509Certificate.java,
378 javax/security/sasl/AuthenticationException.java,
379 javax/security/sasl/AuthorizeCallback.java,
380 javax/security/sasl/RealmCallback.java,
381 javax/security/sasl/RealmChoiceCallback.java,
382 javax/security/sasl/Sasl.java,
383 javax/security/sasl/SaslClient.java,
384 javax/security/sasl/SaslClientFactory.java,
385 javax/security/sasl/SaslException.java,
386 javax/security/sasl/SaslServer.java,
387 javax/security/sasl/SaslServerFactory.java:
388 Cleaned up import statements and copyright notices.
389
390 2004-10-20 Michael Koch <konqueror@gmx.de>
391
392 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
393
394 2004-10-20 Michael Koch <konqueror@gmx.de>
395
396 * java/sql/Timestamp.java,
397 java/text/AttributedCharacterIterator.java,
398 java/text/AttributedString.java,
399 java/util/zip/CheckedOutputStream.java,
400 java/util/zip/DeflaterOutputStream.java,
401 java/util/zip/ZipFile.java,
402 javax/crypto/Cipher.java,
403 javax/crypto/ExemptionMechanismException.java,
404 javax/crypto/SecretKey.java,
405 javax/crypto/SecretKeyFactory.java,
406 javax/naming/directory/ModificationItem.java,
407 javax/naming/directory/SearchControls.java,
408 javax/naming/event/NamingListener.java,
409 javax/naming/ldap/Control.java,
410 javax/naming/ldap/ExtendedResponse.java,
411 javax/net/ssl/SSLSocketFactory.java:
412 Reorganized imports and fixed copyright headers.
413
414 2004-10-20 Michael Koch <konqueror@gmx.de>
415
416 * java/util/logging/ConsoleHandler.java,
417 java/util/logging/ErrorManager.java,
418 java/util/logging/FileHandler.java,
419 java/util/logging/Filter.java,
420 java/util/logging/Formatter.java,
421 java/util/logging/Handler.java,
422 java/util/logging/Level.java,
423 java/util/logging/LogManager.java,
424 java/util/logging/LogRecord.java,
425 java/util/logging/Logger.java,
426 java/util/logging/LoggingPermission.java,
427 java/util/logging/MemoryHandler.java,
428 java/util/logging/SimpleFormatter.java,
429 java/util/logging/SocketHandler.java,
430 java/util/logging/StreamHandler.java,
431 java/util/logging/XMLFormatter.java:
432 Standardized copyrigth header.
433
434 2004-10-20 Michael Koch <konqueror@gmx.de>
435
436 * java/security/AlgorithmParameterGenerator.java,
437 java/security/AlgorithmParameters.java,
438 java/security/DigestInputStream.java,
439 java/security/Identity.java,
440 java/security/KeyFactory.java,
441 java/security/KeyPairGenerator.java,
442 java/security/KeyStore.java,
443 java/security/MessageDigest.java,
444 java/security/MessageDigestSpi.java,
445 java/security/Policy.java,
446 java/security/SecureRandom.java,
447 java/security/Security.java,
448 java/security/Signature.java,
449 java/security/SignatureSpi.java,
450 java/security/cert/CertPathBuilder.java,
451 java/security/cert/CertPathValidator.java,
452 java/security/cert/CertStore.java,
453 java/security/cert/Certificate.java,
454 java/security/cert/CertificateFactory.java,
455 java/security/cert/PolicyQualifierInfo.java,
456 java/security/cert/TrustAnchor.java,
457 java/security/cert/X509CRL.java,
458 java/security/cert/X509CRLEntry.java,
459 java/security/cert/X509Certificate.java,
460 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
461 Import statements reorganized, some little formatting issues,
462 used java-style array declarations, added comments in empty catch
463 blocks.
464
465 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
466
467 * java/security/Security.java
468 (static): Use AccessController.doPrivileged to get system property.
469
470 2004-10-18 Sven de Marothy <sven@physto.se>
471
472 * java/nio/ByteBufferHelper.java
473 (putDouble): Use Double.toRawLongBits instead.
474
475 2004-10-18 Mark Wielaard <mark@klomp.org>
476 Andrew Haley <aph@redhat.com>
477
478 * testsuite/libjava.lang/ExtraClassLoader.java: New.
479
480 2004-10-18 Andrew Haley <aph@redhat.com>
481
482 PR java/18036:
483 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
484 and correct logic used to find interpreter.
485
486 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
487
488 * java/util/logging/LogManager.java
489 (findAncestor): Fixed IndexOutOfBoundsException.
490
491 2004-10-18 Michael Koch <konqueror@gmx.de>
492
493 * java/io/BufferedInputStream.java: Fixed @author tag.
494 (read): Simplified expression.
495 (read): Merged javadoc a bit more.
496 (read): Renamed 'remain' to 'totalBytesRead'.
497 * java/io/DataInputStream.java,
498 java/io/DataOutputStream.java,
499 java/io/ObjectInputStream.java,
500 java/io/ObjectOutputStream.java:
501 Reworked modifier order.
502
503 2004-10-18 Michael Koch <konqueror@gmx.de>
504
505 * java/net/Inet4Address.java: Merged file header and javadocs.
506 * java/net/Inet6Address.java: Likewise.
507 * java/net/InetAddress.java
508 (getCanonicalHostName): Create Inet4Address object instead of
509 InetAddress and add comment regarding IPv6.
510 (toString): Simplified.
511
512 2004-10-18 Michael Koch <konqueror@gmx.de>
513
514 * gnu/java/net/protocol/http/Connection.java,
515 java/nio/MappedByteBufferImpl.java,
516 java/text/RuleBasedCollator.java,
517 java/util/ResourceBundle.java:
518 Reworked import statements.
519
520 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
521
522 * java/security/IdentityScope.java
523 (systemScope): Removed useless initializer.
524 * java/security/Policy.java
525 (currentPolicy): Likewise.
526
527 2004-10-18 Michael Koch <konqueror@gmx.de>
528
529 * java/lang/System.java: Revert accidential change.
530
531 2004-10-18 Michael Koch <konqueror@gmx.de>
532
533 * java/lang/Math.java,
534 java/lang/Package.java,
535 java/lang/Runtime.java,
536 java/lang/StrictMath.java,
537 java/lang/System.java,
538 java/lang/Thread.java,
539 java/lang/ThreadLocal.java,
540 java/lang/Void.java:
541 Reworked import statements, HTML in javadocs and modifier orders.
542
543 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
544
545 * java/util/Timer.java
546 (nr): Removed useless initializer.
547 * java/util/logging/LogRecord.java
548 (lastSeqNum): Likewise.
549 * javax/naming/spi/NamingManager.java
550 (icfb, ofb): Likewise.
551
552 2004-10-18 Michael Koch <konqueror@gmx.de>
553
554 * gnu/java/net/PlainDatagramSocketImpl.java:
555 Reworked import statements.
556 * gnu/java/security/provider/DSAParameters.java:
557 Fixed copyrigth years.
558 * java/net/JarURLConnection.java:
559 Fixed HTML in @author tags.
560
561
562 2004-10-18 Michael Koch <konqueror@gmx.de>
563
564 * java/rmi/activation/ActivationSystem.java
565 (SYSTEM_PORT): Initialize with correct port number.
566
567 2004-10-18 Michael Koch <konqueror@gmx.de>
568
569 * java/lang/reflect/Proxy.java: Improved javadocs.
570
571 2004-10-18 Michael Koch <konqueror@gmx.de>
572
573 * java/lang/reflect/AccessibleObject.java
574 (checkPermission): Removed redundant final modifier.
575 (secureSetAccessible): Likewise.
576 * java/lang/reflect/Proxy.java:
577 Reworked import statements.
578 (generate): Removed redundant final modifier.
579 * java/lang/reflect/ReflectPermission.java:
580 Reorder package declaration and import statement.
581
582 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
583
584 * java/lang/reflect/Proxy.java
585 (count): Removed useless initializer.
586
587 2004-10-17 Michael Koch <konqueror@gmx.de>
588
589 * java/net/BindException.java,
590 java/net/ConnectException.java,
591 java/net/ContentHandler.java,
592 java/net/ContentHandlerFactory.java,
593 java/net/DatagramPacket.java,
594 java/net/DatagramSocket.java,
595 java/net/DatagramSocketImpl.java,
596 java/net/DatagramSocketImplFactory.java,
597 java/net/FileNameMap.java,
598 java/net/HttpURLConnection.java,
599 java/net/MalformedURLException.java,
600 java/net/MulticastSocket.java,
601 java/net/NetworkInterface.java,
602 java/net/NoRouteToHostException.java,
603 java/net/PasswordAuthentication.java,
604 java/net/PortUnreachableException.java,
605 java/net/ProtocolException.java,
606 java/net/ServerSocket.java,
607 java/net/Socket.java,
608 java/net/SocketException.java,
609 java/net/SocketImpl.java,
610 java/net/SocketImplFactory.java,
611 java/net/SocketOptions.java,
612 java/net/SocketPermission.java,
613 java/net/SocketTimeoutException.java,
614 java/net/URI.java,
615 java/net/URISyntaxException.java,
616 java/net/URL.java,
617 java/net/URLDecoder.java,
618 java/net/URLEncoder.java,
619 java/net/URLStreamHandler.java,
620 java/net/URLStreamHandlerFactory.java,
621 java/net/UnknownHostException.java,
622 java/net/UnknownServiceException.java:
623 Big import statement and @author tag cleanup.
624
625 2004-10-17 Michael Koch <konqueror@gmx.de>
626
627 * gnu/java/security/OID.java,
628 gnu/java/security/provider/DSAParameters.java,
629 gnu/java/security/provider/DSASignature.java,
630 gnu/java/security/x509/X500DistinguishedName.java,
631 gnu/java/security/x509/X509CRL.java:
632 Import statements cleaned up.
633
634 2004-10-16 Michael Koch <konqueror@gmx.de>
635
636 * gnu/java/nio/NIODatagramSocket.java,
637 gnu/java/nio/ServerSocketChannelImpl.java:
638 Reorganized import statements.
639
640 2004-10-16 Michael Koch <konqueror@gmx.de>
641
642 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
643 gnu/java/rmi/rmic/RMIC.java,
644 gnu/java/rmi/server/RMIHashes.java,
645 gnu/java/rmi/server/RMIObjectInputStream.java,
646 gnu/java/rmi/server/RMIObjectOutputStream.java,
647 gnu/java/rmi/server/UnicastConnection.java,
648 gnu/java/rmi/server/UnicastConnectionManager.java,
649 gnu/java/rmi/server/UnicastRemoteCall.java,
650 gnu/java/rmi/server/UnicastServer.java,
651 gnu/java/rmi/server/UnicastServerRef.java,
652 java/rmi/MarshalledObject.java,
653 java/rmi/Naming.java,
654 java/rmi/RMISecurityManager.java,
655 java/rmi/Remote.java,
656 java/rmi/activation/Activatable.java,
657 java/rmi/activation/ActivationDesc.java,
658 java/rmi/activation/ActivationGroup.java,
659 java/rmi/activation/ActivationGroupDesc.java,
660 java/rmi/activation/ActivationGroupID.java,
661 java/rmi/activation/ActivationID.java,
662 java/rmi/activation/ActivationInstantiator.java,
663 java/rmi/activation/ActivationMonitor.java,
664 java/rmi/activation/ActivationSystem.java,
665 java/rmi/activation/Activator.java,
666 java/rmi/dgc/DGC.java,
667 java/rmi/dgc/Lease.java,
668 java/rmi/dgc/VMID.java,
669 java/rmi/registry/LocateRegistry.java,
670 java/rmi/registry/Registry.java,
671 java/rmi/registry/RegistryHandler.java,
672 java/rmi/server/LoaderHandler.java,
673 java/rmi/server/LogStream.java,
674 java/rmi/server/ObjID.java,
675 java/rmi/server/Operation.java,
676 java/rmi/server/RMIClassLoader.java,
677 java/rmi/server/RMIClassLoaderSpi.java,
678 java/rmi/server/RMIClientSocketFactory.java,
679 java/rmi/server/RMIFailureHandler.java,
680 java/rmi/server/RMIServerSocketFactory.java,
681 java/rmi/server/RMISocketFactory.java,
682 java/rmi/server/RemoteCall.java,
683 java/rmi/server/RemoteObject.java,
684 java/rmi/server/RemoteRef.java,
685 java/rmi/server/RemoteServer.java,
686 java/rmi/server/RemoteStub.java,
687 java/rmi/server/ServerRef.java,
688 java/rmi/server/Skeleton.java,
689 java/rmi/server/SkeletonMismatchException.java,
690 java/rmi/server/UID.java,
691 java/rmi/server/UnicastRemoteObject.java,
692 java/rmi/server/Unreferenced.java:
693 File headers and import statements cleaned up.
694
695 2004-10-16 Michael Koch <konqueror@gmx.de>
696
697 * libjava/gnu/java/nio/charset/UTF_16.java,
698 libjava/gnu/java/nio/charset/UTF_16BE.java,
699 libjava/gnu/java/nio/charset/UTF_16LE.java,
700 libjava/java/nio/ByteOrder.java,
701 libjava/java/nio/MappedByteBuffer.java,
702 libjava/java/nio/channels/Channels.java,
703 libjava/java/nio/channels/spi/SelectorProvider.java,
704 libjava/java/nio/charset/Charset.java:
705 Cleanup.
706
707 2004-10-16 Michael Koch <konqueror@gmx.de>
708
709 * gnu/java/nio/charset/UTF_16Encoder.java
710 (UTF_16Encoder): Fixed maxBytesPerChar handling.
711
712 2004-10-16 Michael Koch <konqueror@gmx.de>
713
714 * java/math/BigDecimal.java, java/math/BigInteger.java:
715 Reorganized import statements, removed redundant and
716 reorganized modifiers.
717
718 2004-10-16 Michael Koch <konqueror@gmx.de>
719
720 * gnu/java/beans/ExplicitBeanInfo.java:
721 Explicitely import java.awt.Image.
722 (getIcon): Fixed off-by-one error.
723
724 2004-10-15 Andrew Haley <aph@redhat.com>
725
726 * Makefile.am (nat_files, xlib_nat_files): New.
727 * Makefile.in: Regenerate.
728
729 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
730
731 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
732 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
733
734 2004-10-13 Andrew Haley <aph@redhat.com>
735
736 * interpret.cc (_Jv_InterpMethod::run): Initialize
737 _Jv_StartOfInterpreter.
738 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
739 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
740 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
741 _Unwind_FindEnclosingFunction to discover whether PC is within the
742 interpreter.
743
744 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
745
746 PR libgcj/17903:
747 * testsuite/libjava.lang/md5test.java: New file.
748 * testsuite/libjava.lang/md5test.out: Likewise.
749 * testsuite/libjava.lang/shatest.java: Likewise.
750 * testsuite/libjava.lang/shatest.out: Likewise.
751
752 2004-10-11 Richard Henderson <rth@redhat.com>
753
754 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
755 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
756
757 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
758
759 * java/util/Calendar.java (set): Invalidate DST_OFFSET
760 field as a DST boundary may have been crossed.
761 * java/util/GregorianCalendar.java (add): Throw
762 IllegalArgumentException on attempt to add to DST_OFFSET or
763 ZONE_OFFSET fields. Update javadoc.
764
765 2004-10-09 Michael Koch <konqueror@gmx.de>
766
767 * java/io/CharArrayWriter.java
768 (resize): Removed redundant 'final' modifier.
769 * java/io/DataInputStream.java
770 (readFully): Throw IndexOutOfBoundsException of len < 0.
771 * java/io/FileDescriptor.java,
772 java/io/FileInputStream.java,
773 java/io/FileOutputStream.java,
774 java/io/ObjectOutputStream.java,
775 java/io/ObjectStreamClass.java,
776 java/io/PipedInputStream.java,
777 java/io/RandomAccessFile.java:
778 Reorganized import statements.
779
780 2004-10-09 Michael Koch <konqueror@gmx.de>
781
782 * gnu/java/rmi/rmic/RMIC.java,
783 gnu/java/rmi/server/RMIHashes.java,
784 gnu/java/rmi/server/RMIObjectInputStream.java,
785 gnu/java/rmi/server/UnicastConnection.java,
786 gnu/java/rmi/server/UnicastConnectionManager.java,
787 gnu/java/rmi/server/UnicastRemoteCall.java,
788 gnu/java/rmi/server/UnicastServerRef.java:
789 Reworked import statements and fixed file headers.
790
791 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
792
793 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
794 emission rule.
795 * configure: Rebuilt.
796
797 2004-09-30 Tom Tromey <tromey@redhat.com>
798
799 * java/text/MessageFormat.java (Field): Constructor now
800 protected.
801
802 2004-09-30 Tom Tromey <tromey@redhat.com>
803
804 * javax/crypto/MacSpi.java: Fixed typo.
805
806 2004-09-30 Michael Koch <konqueror@gmx.de>
807
808 * java/net/InetAddress.java: Reformatted.
809 (loopback): Initialize with Inet4Address object.
810 (static): Initialize ANY_IF with Inet4Address object.
811 (InetAddress): Removed unused package-private constructor.
812
813 2004-09-30 Michael Koch <konqueror@gmx.de>
814
815 * java/beans/Beans.java,
816 java/beans/EventHandler.java,
817 java/beans/EventSetDescriptor.java,
818 java/beans/Introspector.java,
819 java/beans/PropertyEditorManager.java,
820 java/beans/beancontext/BeanContext.java,
821 java/beans/beancontext/BeanContextChild.java,
822 java/beans/beancontext/BeanContextChildSupport.java,
823 java/beans/beancontext/BeanContextMembershipEvent.java:
824 Reordered import statements and removed redundant modifiers.
825
826 2004-09-29 Tom Tromey <tromey@redhat.com>
827
828 PR libgcj/17715:
829 * Makefile.in: Rebuilt.
830 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
831 files.
832 (all_property_files): New macro.
833
834 * Makefile.in: Rebuilt.
835 * Makefile.am (ordinary_java_source_files): Re-sorted.
836 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
837
838 2004-09-28 Tom Tromey <tromey@redhat.com>
839
840 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
841
842 PR libgcj/17222:
843 * Makefile.am (libgcj.la): Restored.
844 * Makefile.in: Rebuilt.
845
846 2004-09-28 Michael Koch <konqueror@gmx.de>
847
848 * java/net/URLConnection.java: Reformatted.
849 * java/net/URLClassLoader.java: Reformatted.
850 (getContent): Reordered return of content.
851 (getContentHandler): Don't check for null explicitely.
852
853 2004-09-27 Michael Koch <konqueror@gmx.de>
854
855 * java/io/BufferedInputStream.java
856 (BufferedInputStream): Added Jeroen Frijters to authors.
857 (count): Don't explicitely initialize with default value.
858 (pos): Likewise.
859 (marklimit): Likewise.
860 (read): Changed boolean expression to match GNU classpath' version.
861 (reset): Add proper message to exception.
862 (skip): Check for closed stream.
863 (refill): Likewise.
864
865 2004-09-26 Per Bothner <per@bothner.com>
866
867 * prims.cc (unblock_signal): Annotate signum with __unused__ to
868 avoid warnings in the non-POSIX_VERSION case.
869 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
870 so place it inside an #if block.
871 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
872 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
873 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
874 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
875
876 2004-09-26 Per Bothner <per@bothner.com>
877
878 * prims.cc (process_gcj_properties): Optimization.
879
880 2004-09-26 Per Bothner <per@bothner.com>
881
882 * java/util/Collections.java (sort): Copy from array in forwards
883 order, rather than reverse order which may be much less efficient.
884
885 2004-09-26 Mark Wielaard <mark@klomp.org>
886
887 * java/lang/System.java (properties): Make package private.
888 * java/lang/Throwable.java (StaticData.nl): Initialize through
889 directly accessing System.properties.getProperty().
890
891 * java/lang/Throwable.java (nl): Remove static field.
892 (StaticData): New private static inner class.
893 (stackTraceStringBuffer): Use StaticData.nl.
894
895 2004-09-26 Casey Marshall <csm@gnu.org>
896
897 * java/security/ProtectionDomain.java
898 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
899 `true'.
900
901 * java/security/SecureClassLoader.java
902 (defineClass): make protection domain dynamically bound.
903 (getPermissions): call `getCurrentPolicy' to avoid permission
904 check.
905
906 2004-09-25 Mark Wielaard <mark@klomp.org>
907
908 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
909 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
910 * Makefile.in: Regenerated.
911
912 * gcj/javaprims.h: Regenerated.
913
914 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
915 (getDefaultTimeZone): Make package private. Check that GMToffset
916 contains at least one digit.
917 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
918 VMTimeZone.
919 * util/VMTimeZone.java: New file with above methods.
920
921 * java/util/natTimeZone.cc: Removed (renamed).
922 * java/util/natVMTimeZone.cc: Added (renamed).
923
924 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
925
926 * java/util/TimeZone.java
927 (getDefaultTimeZone): Fixed test to distinguish between hours and
928 minutes in specified timezone.
929
930 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
931
932 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
933 handling of default package. (generate): Removed confused comments
934 and code about making Method and Field accessible.
935
936 2004-09-25 Tom Tromey <tromey@redhat.com>
937
938 PR java/17500:
939 * testsuite/libjava.compile/pr17500.java: New file.
940
941 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
942 Mark Wielaard <mark@klomp.org>
943
944 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
945 * gnu/regexp/RETokenLookAhead.java: New file.
946
947 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
948 * Makefile.in: Regenerated.
949
950 2004-09-25 Michael Koch <konqueror@gmx.de>
951
952 * java/io/ObjectStreamField.java:
953 Removed unused import statement.
954
955 2004-09-24 Tom Tromey <tromey@redhat.com>
956
957 PR java/15656:
958 * testsuite/libjava.compile/pr15656.xfail: New file.
959 * testsuite/libjava.compile/pr15656.java: new file.
960
961 PR java/16789:
962 * testsuite/libjava.lang/pr16789.out: New file.
963 * testsuite/libjava.lang/pr16789.java: New file.
964
965 2004-09-24 Andrew Haley <aph@redhat.com>
966
967 PR java/16927
968 * testsuite/libjava.compile/AssertBug.java: New file.
969
970 2004-09-24 Casey Marshall <csm@gnu.org>
971
972 * java/util/PropertyPermissionCollection.java
973 (implies): avoid infinite loop.
974
975 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
976
977 * javax/security/auth/PrivateCredentialPermission.java
978 (PrivateCredentialPermission): added serialization UID
979
980
981 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
982
983 * gnu/java/rmi/server/UnicastServer.java
984 (incomingMessageCall): Added code to handle Errors.
985 * gnu/java/rmi/server/UnicastServerRef.java
986 (incomingMessageCall): Added code to handle Errors.
987
988
989 2004-09-24 Tom Tromey <tromey@redhat.com>
990
991 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
992 (definedPackages): Likewise.
993
994 2004-09-24 Michael Koch <konqueror@gmx.de>
995
996 * java/io/ObjectInputStream.java:
997 Re-ordered imports.
998
999 2004-09-24 Casey Marshall <csm@gnu.org>
1000
1001 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1002 `ClassNotFoundException'.
1003
1004 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1005
1006 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1007 of Externalizable classes to ObjectStreamClass.
1008 * java/io/ObjectStreamClass.java (newInstance): New method to
1009 instantiate Externalizable (while ignoring the accessibility of
1010 the constructor). (constructor): New field to cache the constructor.
1011
1012 2004-09-24 Mark Wielaard <mark@klomp.org>
1013
1014 * java/net/URL.java (systemClassLoader): New static field.
1015 (getURLStreamHandler): Always use system/application classloader
1016 for finding URLStreamhandler. Remove unecessary instanceof checks.
1017
1018 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1019
1020 * java/net/URL.java
1021 (set): This method now matches the behaviour of the JDK.
1022 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1023
1024 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1025
1026 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1027
1028 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1029
1030 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1031 Don't set authority if host isn't specified.
1032
1033 2004-09-24 Michael Koch <konqueror@gmx.de>
1034
1035 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1036 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1037 * gnu/java/nio/VMPipe.java,
1038 gnu/java/nio/VMSelector.java:
1039 New files.
1040 * gnu/java/nio/natPipeImplEcos.cc,
1041 gnu/java/nio/natPipeImplPosix.cc,
1042 gnu/java/nio/natPipeImplWin32.cc:
1043 Ported to VMPipe.
1044 * gnu/java/nio/natSelectorImplEcos.cc,
1045 gnu/java/nio/natSelectorImplPosix.cc,
1046 gnu/java/nio/natSelectorImplWin32.cc:
1047 Ported to VMSelector.
1048 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1049 gnu/java/nio/VMSelector.java.
1050 * Makefile.in: Regenerated.
1051
1052 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1053
1054 * java/lang/StackTraceElement.java
1055 (className): Renamed field to declaringClass to be compatible
1056 with Sun serialization format.
1057
1058 2004-09-23 Michael Koch <konqueror@gmx.de>
1059
1060 * java/applet/AppletContext.java,
1061 java/applet/Applet.java,
1062 java/applet/AppletStub.java,
1063 java/applet/AudioClip.java:
1064 Jalopied and checkstyle clean.
1065
1066 2004-09-23 Mark Wielaard <mark@klomp.org>
1067
1068 * java/util/Collections.java
1069 (binarySearch(List, Object, Comparator)): Explicitly
1070 reverse direction in list iterator.
1071 (rotate): Just return when list is empty.
1072
1073 2004-09-23 Tom Tromey <tromey@redhat.com>
1074
1075 PR java/17329:
1076 * testsuite/libjava.compile/pr17329.java: New file.
1077
1078 PR java/17380:
1079 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1080 9.2-implicit-7.
1081
1082 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1083
1084 * Makefile.am: Run aclocal with -I ../config
1085 * acinclude.m4: Delete macros picked up from ../config and tidy.
1086 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1087 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1088 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1089
1090 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1091
1092 * aclocal.m4: Regenerate with aclocal 1.9.2.
1093 * configure: Regenerate.
1094 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1095 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1096
1097 2004-09-22 David Daney <ddaney@avtrex.com>
1098
1099 PR libgcj/17623
1100 * java/net/URL.java (URL): Copy userInfo from context.
1101 (getUserInfo): Return cached userInfo if present.
1102
1103 2004-09-22 Tom Tromey <tromey@redhat.com>
1104
1105 PR libgcj/6182:
1106 * mauve-libgcj: Enable java.lang.Character tests.
1107
1108 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1109
1110 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1111 dependencies.
1112 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1113 * Makefile.in: Regenerated.
1114
1115 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1116
1117 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1118 * configure: Regenerate.
1119 * include/config.h.in: Likewise.
1120 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1122 macro to gtkpeer.h.
1123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1124 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1125 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1126 architectures.
1127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1128 Likewise.
1129
1130 2004-09-22 Tom Tromey <tromey@redhat.com>
1131
1132 PR libgcj/14446:
1133 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1134 when comparing CRCs.
1135 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1136 field.
1137 (read()): New overload.
1138
1139 2004-09-21 Tom Tromey <tromey@redhat.com>
1140
1141 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1142 Indentation fix.
1143
1144 2004-09-21 Michael Koch <konqueror@gmx.de>
1145
1146 * java/net/Socket.java
1147 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1148
1149 2004-09-21 Casey Marshall <csm@gnu.org>
1150
1151 * javax/crypto/MacSpi.java (clone): Provide meaningful
1152 implementation.
1153
1154 2004-09-21 Tom Tromey <tromey@redhat.com>
1155
1156 PR libgcj/16869:
1157 * Makefile.in: Rebuilt.
1158 * Makefile.am (MOSTLYCLEANFILES): Removed.
1159 (mostlyclean-local): Remove header files.
1160
1161 2004-09-21 Casey Marshall <csm@gnu.org>
1162
1163 * java/security/cert/X509CRLSelector.java:
1164 (match): remove unreachable try-catch clauses.
1165 Reported by: Dalibor Topic <robilad@kaffe.org>
1166
1167 2004-09-21 Mark Wielaard <mark@klomp.org>
1168
1169 * java/util/TreeMap.java (root): Don't initialize.
1170 (TreeMap(Comparator)): Call fabricateTree(0).
1171 (fabricateTree): Initialize root and size when count is 0.
1172
1173 2004-09-21 Sven de Marothy <sven@physto.se>
1174
1175 * java/nio/ByteBuffer.java (hashCode): Implemented.
1176 * java/nio/CharBuffer.java: Likewise.
1177 * java/nio/DoubleBuffer.java: Likewise.
1178 * java/nio/FloatBuffer.java: Likewise.
1179 * java/nio/LongBuffer.java: Likewise.
1180 * java/nio/IntBuffer.java: Likewise.
1181 * java/nio/ShortBuffer.java: Likewise.
1182
1183 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1184
1185 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1186
1187 2004-09-21 Michael Koch <konqueror@gmx.de>
1188
1189 * javax/net/ssl/SSLServerSocket.java:
1190 Removed comment about "Do not edit this file, it's generated.".
1191
1192 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1193
1194 Import the big Crypto/Jessie/Security merge from Classpath.
1195
1196 * Makefile.am: Add imported files.
1197 * Makefile.in: Regenerate.
1198
1199 2004-08-14 Casey Marshall <csm@gnu.org>
1200
1201 The Big Crypto Merge of 2004.
1202
1203 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1204 Crypto's version.
1205
1206 Files imported from GNU Crypto.
1207 * javax/crypto/BadPaddingException.java
1208 * javax/crypto/Cipher.java
1209 * javax/crypto/CipherInputStream.java
1210 * javax/crypto/CipherOutputStream.java
1211 * javax/crypto/CipherSpi.java
1212 * javax/crypto/EncryptedPrivateKeyInfo.java
1213 * javax/crypto/ExemptionMechanism.java
1214 * javax/crypto/ExemptionMechanismException.java
1215 * javax/crypto/ExemptionMechanismSpi.java
1216 * javax/crypto/IllegalBlockSizeException.java
1217 * javax/crypto/KeyAgreement.java
1218 * javax/crypto/KeyAgreementSpi.java
1219 * javax/crypto/KeyGenerator.java
1220 * javax/crypto/KeyGeneratorSpi.java
1221 * javax/crypto/Mac.java
1222 * javax/crypto/MacSpi.java
1223 * javax/crypto/Makefile.am
1224 * javax/crypto/NoSuchPaddingException.java
1225 * javax/crypto/NullCipher.java
1226 * javax/crypto/NullCipherImpl.java
1227 * javax/crypto/SealedObject.java
1228 * javax/crypto/SecretKey.java
1229 * javax/crypto/SecretKeyFactory.java
1230 * javax/crypto/SecretKeyFactorySpi.java
1231 * javax/crypto/ShortBufferException.java
1232 * javax/crypto/interfaces/DHKey.java
1233 * javax/crypto/interfaces/DHPrivateKey.java
1234 * javax/crypto/interfaces/DHPublicKey.java
1235 * javax/crypto/interfaces/PBEKey.java
1236 * javax/crypto/spec/DESKeySpec.java
1237 * javax/crypto/spec/DESedeKeySpec.java
1238 * javax/crypto/spec/DHGenParameterSpec.java
1239 * javax/crypto/spec/DHParameterSpec.java
1240 * javax/crypto/spec/DHPrivateKeySpec.java
1241 * javax/crypto/spec/DHPublicKeySpec.java
1242 * javax/crypto/spec/IvParameterSpec.java
1243 * javax/crypto/spec/PBEKeySpec.java
1244 * javax/crypto/spec/PBEParameterSpec.java
1245 * javax/crypto/spec/RC2ParameterSpec.java
1246 * javax/crypto/spec/RC5ParameterSpec.java
1247 * javax/crypto/spec/SecretKeySpec.java
1248 * javax/security/auth/AuthPermission.java
1249 * javax/security/auth/DestroyFailedException.java
1250 * javax/security/auth/Destroyable.java
1251 * javax/security/auth/Policy.java
1252 * javax/security/auth/PrivateCredentialPermission.java
1253 * javax/security/auth/RefreshFailedException.java
1254 * javax/security/auth/Refreshable.java
1255 * javax/security/auth/Subject.java
1256 * javax/security/auth/SubjectDomainCombiner.java
1257 * javax/security/auth/callback/Callback.java
1258 * javax/security/auth/callback/CallbackHandler.java
1259 * javax/security/auth/callback/ChoiceCallback.java
1260 * javax/security/auth/callback/ConfirmationCallback.java
1261 * javax/security/auth/callback/LanguageCallback.java
1262 * javax/security/auth/callback/NameCallback.java
1263 * javax/security/auth/callback/PasswordCallback.java
1264 * javax/security/auth/callback/TextInputCallback.java
1265 * javax/security/auth/callback/TextOutputCallback.java
1266 * javax/security/auth/callback/UnsupportedCallbackException.java
1267 * javax/security/auth/login/AccountExpiredException.java
1268 * javax/security/auth/login/AppConfigurationEntry.java
1269 * javax/security/auth/login/Configuration.java
1270 * javax/security/auth/login/CredentialExpiredException.java
1271 * javax/security/auth/login/FailedLoginException.java
1272 * javax/security/auth/login/LoginContext.java
1273 * javax/security/auth/login/LoginException.java
1274 * javax/security/auth/login/NullConfiguration.java
1275 * javax/security/auth/x500/X500PrivateCredential.java
1276 * javax/security/sasl/AuthenticationException.java
1277 * javax/security/sasl/AuthorizeCallback.java
1278 * javax/security/sasl/RealmCallback.java
1279 * javax/security/sasl/RealmChoiceCallback.java
1280 * javax/security/sasl/Sasl.java
1281 * javax/security/sasl/SaslClient.java
1282 * javax/security/sasl/SaslClientFactory.java
1283 * javax/security/sasl/SaslException.java
1284 * javax/security/sasl/SaslServer.java
1285 * javax/security/sasl/SaslServerFactory.java
1286 * org/ietf/jgss/ChannelBinding.java
1287 * org/ietf/jgss/GSSContext.java
1288 * org/ietf/jgss/GSSCredential.java
1289 * org/ietf/jgss/GSSException.java
1290 * org/ietf/jgss/GSSManager.java
1291 * org/ietf/jgss/GSSName.java
1292 * org/ietf/jgss/MessageProp.java
1293 * org/ietf/jgss/Oid.java
1294 * org/ietf/jgss/MessagesBundle.properties
1295
1296 Files imported from Jessie <http://www.nongnu.org/jessie/>
1297 * javax/net/ServerSocketFactory.java
1298 * javax/net/SocketFactory.java
1299 * javax/net/VanillaServerSocketFactory.java
1300 * javax/net/VanillaSocketFactory.java
1301 * javax/net/ssl/HandshakeCompletedEvent.java
1302 * javax/net/ssl/HandshakeCompletedListener.java
1303 * javax/net/ssl/HostnameVerifier.java
1304 * javax/net/ssl/HttpsURLConnection.java
1305 * javax/net/ssl/KeyManager.java
1306 * javax/net/ssl/KeyManagerFactory.java
1307 * javax/net/ssl/KeyManagerFactorySpi.java
1308 * javax/net/ssl/ManagerFactoryParameters.java
1309 * javax/net/ssl/SSLContext.java
1310 * javax/net/ssl/SSLContextSpi.java
1311 * javax/net/ssl/SSLException.java
1312 * javax/net/ssl/SSLHandshakeException.java
1313 * javax/net/ssl/SSLKeyException.java
1314 * javax/net/ssl/SSLPeerUnverifiedException.java
1315 * javax/net/ssl/SSLPermission.java
1316 * javax/net/ssl/SSLProtocolException.java
1317 * javax/net/ssl/SSLServerSocket.java
1318 * javax/net/ssl/SSLServerSocketFactory.java
1319 * javax/net/ssl/SSLSession.java
1320 * javax/net/ssl/SSLSessionBindingEvent.java
1321 * javax/net/ssl/SSLSessionBindingListener.java
1322 * javax/net/ssl/SSLSessionContext.java
1323 * javax/net/ssl/SSLSocket.java
1324 * javax/net/ssl/SSLSocketFactory.java
1325 * javax/net/ssl/TrivialHostnameVerifier.java
1326 * javax/net/ssl/TrustManager.java
1327 * javax/net/ssl/TrustManagerFactory.java
1328 * javax/net/ssl/TrustManagerFactorySpi.java
1329 * javax/net/ssl/X509KeyManager.java
1330 * javax/net/ssl/X509TrustManager.java
1331 * javax/security/cert/Certificate.java
1332 * javax/security/cert/CertificateEncodingException.java
1333 * javax/security/cert/CertificateException.java
1334 * javax/security/cert/CertificateExpiredException.java
1335 * javax/security/cert/CertificateNotYetValidException.java
1336 * javax/security/cert/CertificateParsingException.java
1337 * javax/security/cert/X509CertBridge.java
1338 * javax/security/cert/X509Certificate.java
1339
1340 2004-08-20 Casey Marshall <csm@gnu.org>
1341
1342 * java/security/cert/X509CRLSelector.java: New file.
1343 * java/security/cert/X509CertSelector.java: New file.
1344
1345 2004-09-15 Michael Koch <konqueror@gmx.de>
1346
1347 * gnu/java/net/protocol/file/Handler.java
1348 (openConnection): Don't throw exception if host part for file: URI is
1349 present. setURL() keeps file: protocol if ftp: protocol is not
1350 available.
1351
1352 2004-09-14 Richard Henderson <rth@redhat.com>
1353
1354 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1355 value of sigsuspend.
1356
1357 2004-09-12 Tom Tromey <tromey@redhat.com>
1358
1359 * javax/naming/CompoundName.java (CompoundName): Don't check for
1360 separator in "flat" case.
1361
1362 2004-09-12 Michael Koch <konqueror@gmx.de>
1363
1364 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1365 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1366 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1367 Regenerate.
1368
1369 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1370
1371 PR libgcj/14751
1372 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1373 handle in newly-allocated _Jv_Thread_t.
1374 (_Jv_ThreadDestroyData): Close thread handle.
1375 (_Jv_ThreadStart): Remove obsolete comment.
1376 Store handle of newly-created thread in _Jv_Thread_t.
1377 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1378 before including <windows.h>
1379 #define _Jv_HaveCondDestroy
1380
1381 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1382
1383 * java/lang/natThread.cc (finalize_native): Destroy
1384 join conditional variable and mutex if these destroy
1385 operations are supported.
1386
1387 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1388
1389 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1390 (DEFAULT_PERMISSION): New constant.
1391 (Connection): Create a FilePermission with permission to read file.
1392
1393 2004-09-10 Michael Koch <konqueror@gmx.de>
1394
1395 * gnu/java/net/protocol/file/Connection.java
1396 (getLastModified): Moved around.
1397 (getPermission): Return stored permission.
1398
1399 2004-09-10 Michael Koch <konqueror@gmx.de>
1400
1401 * Makefile.in: Regenerate.
1402
1403 2004-09-10 Michael Koch <konqueror@gmx.de>
1404
1405 * Makefile.am: Reverted accidently commited stuff.
1406 * configure: Regenerated.
1407
1408 2004-09-10 Michael Koch <konqueror@gmx.de>
1409
1410 * gnu/java/net/protocol/file/Connection.java
1411 (lineSeparator): Made non-final.
1412 (static): Removed.
1413 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1414 instead of StringBufferInputStream.
1415
1416 2004-09-10 Michael Koch <konqueror@gmx.de>
1417
1418 * gnu/java/net/protocol/file/Connection.java
1419 (connect): Handle file is a directory case.
1420
1421 2004-09-10 Michael Koch <konqueror@gmx.de>
1422
1423 * Makefile.am
1424 (xlib_includes): Removed.
1425 (AM_CPPFLAGS): Renamed from INCLUDES.
1426 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1427 * Makefile.in: Regenerate.
1428
1429 2004-09-09 Michael Koch <konqueror@gmx.de>
1430
1431 * java/security/ProtectionDomain.java,
1432 * java/util/PropertyPermissionCollection.java:
1433 Fixed javadocs all over.
1434
1435 2004-09-09 Sven de Marothy <sven@physto.se>
1436
1437 Patch from David Gilbert <david.gilbert@object-refinery.com>
1438 * java/lang/Comparable.java: Fixed documentation errors.
1439 * java/util/Arrays.java: Likewise.
1440
1441 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1442
1443 * java/net/Inet4Address.java
1444 (Inet4Address): Added comment to serialization UID.
1445 * java/text/Format.java
1446 (Format): Added comment to serialization UID.
1447
1448 2004-09-09 Michael Koch <konqueror@gmx.de>
1449
1450 * java/lang/System.java
1451 (err): Fixed javadoci to point to setErr() and not setOut().
1452
1453 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1454
1455 (normalizePath): Added special case for windows systems.
1456
1457 2004-09-09 Michael Koch <konqueror@gmx.de>
1458
1459 * java/io/File.java
1460 (dupSeparator): Made private.
1461 (File(URI)): New constructor.
1462 (getParentFile): Fixed javadoc.
1463 (createTempFile): Reformated.
1464 (setReadOnly): Added comment.
1465 (deleteOnExit): Merged javadoc with classpath version.
1466
1467 2004-09-09 Michael Koch <konqueror@gmx.de>
1468
1469 * Makefile.am: Don't try to include deps.mk.
1470 * Makefile.in: Regenerated.
1471
1472 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1473
1474 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1475 .d files.
1476 * configure: Rebuilt.
1477
1478 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1479
1480 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1481 Changed pfn from static local to local.
1482
1483 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1484 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR libgcj/17290
1487 * Makefile.am (GCJCOMPILE): Remove definition.
1488 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1489 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1490 * Makefile.in: Rebuilt.
1491
1492 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1493
1494 * configure.ac (enable-gc-debug): Update help for new syntax.
1495 * configure: Regenerate.
1496
1497 2004-09-03 David Daney <ddaney@avtrex.com>
1498
1499 * include/mips-signal.h: Update copyright.
1500
1501 2004-09-03 David Daney <ddaney@avtrex.com>
1502
1503 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1504 * include/mips-signal.h: Added HANDLE_FPE support.
1505
1506 2004-08-31 Michael Koch <konqueror@gmx.de>
1507
1508 * javax/swing/plaf/basic/BasicTextAreaUI.java
1509 (create): New method.
1510 * javax/swing/text/DefaultHighlighter.java
1511 (DefaultHighlightPainter.debugRect): Removed.
1512 * javax/swing/text/StyleContext.java
1513 (DEFAULT_STYLE): New field.
1514
1515 2004-08-31 Michael Koch <konqueror@gmx.de>
1516
1517 * javax/swing/plaf/basic/BasicLookAndFeel.java
1518 (initComponentDefaults): Add keybindings for selection.backward and
1519 selection-forward for text components.
1520 * javax/swing/plaf/basic/BasicTextUI.java
1521 (paintSafely): Paint highlight only when something is actually
1522 selected.
1523 * javax/swing/text/DefaultCaret.java
1524 (handleHighlight): New method.
1525 (setSelectionVisible): Don't do anything when nothing changes.
1526 Handle highlight.
1527 (moveDot): Reimplemented. Handle highlight.
1528 (setDot): Set mark too. Handle highlight.
1529 (getSelectionPainter): New method.
1530 * javax/swing/text/DefaultEditorKit.java
1531 (defaultActions): Added new actions for text selection.
1532 * javax/swing/text/DefaultHighlighter.java
1533 (DefaultHighlightPainter): New inner class.
1534 (DefaultPainter): New field.
1535 (paint): Implemented.
1536 * javax/swing/text/PlainView.java
1537 (paint): Don't draw background here again.
1538 * javax/swing/text/Utilities.java
1539 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1540 (drawTabbedText): Likewise.
1541
1542 2004-08-31 Graydon Hoare <graydon@redhat.com>
1543
1544 * javax/swing/JComponent.java
1545 (resetKeyboardActions): Add null checks.
1546
1547 2004-08-31 Graydon Hoare <graydon@redhat.com>
1548
1549 * javax/swing/DefaultButtonModel.java:
1550 Skip group notification when no group is set.
1551
1552 2004-08-31 Graydon Hoare <graydon@redhat.com>
1553
1554 * javax/swing/JColorChooser.java:
1555 Make a couple inner classes static, for jikes.
1556
1557 2004-08-31 Michael Koch <konqueror@gmx.de>
1558
1559 * javax/swing/plaf/basic/BasicTextUI.java
1560 (RottView.modelToView): New method.
1561 (UpdateHandler): Renamed from EventHandler.
1562 (updateHandler): Renamed from eventHandler.
1563 (modelToView): Implemented.
1564 * javax/swing/text/AbstractDocument.java
1565 (BranchElement.getElement): Return null for non-existing indeces.
1566 (BranchElement.getElementIndex): Return 0 in some corner cases.
1567 * javax/swing/text/FieldView.java
1568 (modelToView): New method.
1569 * javax/swing/text/PlainView.java
1570 (modelToView): Made public.
1571
1572 2004-08-31 Kim Ho <kho@redhat.com>
1573
1574 * Makefile.am: New files.
1575 * Makefile.in: Regenerate.
1576 * gcj/Makefile.in: Regenerate.
1577 * include/Makefile.in: Regenerate.
1578 * java/awt/Color.java: Fix documentation.
1579 (RGBtoHSB): Use floats for conversions.
1580 * javax/swing/ButtonGroup.java: Run Jalopy.
1581 (setSelected): Reimplement.
1582 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1583 (changeState): Let ButtonGroup know that the button
1584 is changing state.
1585 * javax/swing/JColorChooser.java: Implement.
1586 * javax/swing/JLabel.java: Run Jalopy.
1587 * javax/swing/JSpinner.java: Run Jalopy.
1588 (setValue): New method.
1589 * javax/swing/JTabbedPane.java: Run Jalopy.
1590 (removeTabAt): Call correct remove method.
1591 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1592 (getPreviousValue): Compare minimum value.
1593 * javax/swing/Timer.java: Run Jalopy.
1594 (run): Comment out println.
1595 * javax/swing/ToolTipManager.java:
1596 (mouseMoved): Get new tooltip text for location.
1597 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1598 Jalopy and Javadoc.
1599 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1600 Implement.
1601 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1602 Run Jalopy.
1603 (setSelectedColor): Fire ChangeEvent.
1604 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1605 New file. Implement.
1606 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1607 Ditto.
1608 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1609 Ditto.
1610 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1611 Ditto.
1612 * javax/swing/plaf/basic/BasicArrowButton.java:
1613 (getArrow): Fix size of upward pointing button.
1614 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1615 Implement.
1616 * javax/swing/plaf/basic/BasicSliderUI.java:
1617 (getWidthOfWidestLabel): Use preferred dimensions.
1618 (getHeightOfTallestLabel): Ditto.
1619 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1620 Run Jalopy.
1621 (mousePressed): Disable changes to spinner if it is not enabled.
1622 * testsuite/Makefile.in: Regenerate.
1623
1624
1625 2004-08-31 Michael Koch <konqueror@gmx.de>
1626
1627 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1628 javax/swing/plaf/basic/BasicTableUI.java:
1629 Added copyright notice.
1630
1631 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1632
1633 * Makefile.am: Added new files.
1634 * Makefile.in: Regenerate.
1635 * javax/swing/ComboBoxEditor.java: Added javadocs.
1636 * javax/swing/ComboBoxModel.java: Likewise.
1637 * javax/swing/DefaultComboBoxModel.java: Implemented.
1638 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1639 and ran through jalopy to fix formatting style.
1640 (getListCellRendererComponent): Use appropriate border
1641 if renderer has focus and use noFocusBorder when it doesn't.
1642 * javax/swing/JComboBox.java: Implemented.
1643 * javax/swing/JList.java:
1644 (locationToIndex): New Method. Implemented.
1645 (indexToLocation): New Method.
1646 * javax/swing/JPopupMenu.java:
1647 (visible): New field.
1648 (isVisible): Changed to use new field above.
1649 (setVisible): Likewise.
1650 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1651 * javax/swing/plaf/basic/BasicArrowButton.java:
1652 (shadow): Changed default color to Color.gray.
1653 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1654 UI delegate for JComboBox.
1655 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1656 Popup menu containing list of JComboBox's items.
1657 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1658 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1659 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1660 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1661 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1662 (popupMenuWillBecomeVisible): Set selected path to the first
1663 element only if it is of type MenuElement. Also fix formatting
1664 style.
1665 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1666 methods signatures.
1667
1668 2004-08-31 Michael Koch <konqueror@gmx.de>
1669
1670 * javax/swing/text/AbstractDocument.java
1671 (createBranchElement): Use new constructor of BranchElement.
1672 (createLeafElement): Renamed arguments.
1673 (getRootElements): Implemented.
1674 (BranchElement.start): Removed.
1675 (BranchElement.end): Likewise.
1676 (BranchElement.BranchElement): Fixed arguments.
1677 (BranchElement.getEndOffset): Reimplemented.
1678 (BranchElement.getStartOffset): Likewis.
1679 * javax/swing/text/DefaultCaret.java
1680 (paint): Draw simple vertical line as caret instead of a rectangle.
1681 * javax/swing/text/JTextComponent.java
1682 (setText): Use doc directly.
1683 * javax/swing/text/PlainView.java
1684 (nextTabStop): Implemented.
1685 * javax/swing/text/Utilities.java
1686 (drawTabbedText): nextTabStop() returns an absolute x position.
1687 (getTabbedTextWidth): Likewise.
1688
1689 2004-08-31 Graydon Hoare <graydon@redhat.com>
1690
1691 * java/awt/Component.java
1692 (isFocusTraversable): Predicate on isLightweight()
1693 (setFocusable): Set isFocusTraversableOverridden.
1694 (requestFocus): Predicate peer dispatch on !isLightweight()
1695 (requestFocusInWindow): Likewise.
1696 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1697 * java/awt/Container.java
1698 (dispatchEventImpl): Predicate on event mask.
1699 (LightweightDispatcher): Remove focus machinery.
1700 * java/awt/DefaultFocusTraversalPolicy.java
1701 (accept): Expand predicate to include isFocusable().
1702 * java/awt/DefaultKeyboardFocusManager.java:
1703 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1704 * java/awt/KeyboardFocusManager.java
1705 (redispatchEvent): Synchronize on event to prevent feedback.
1706 * javax/swing/AbstractButton.java
1707 (ButtonFocusListener): Remove class.
1708 (init): Set focusPainted, focusable.
1709 * javax/swing/ActionMap.java (get): Check parent for null.
1710 * javax/swing/InputMap.java (get): Likewise.
1711 * javax/swing/JComponent.java
1712 (inputMap_whenFocused): New InputMap.
1713 (inputMap_whenAncestorOfFocused): Likewise.
1714 (inputMap_whenInFocusedWindow): Likewise.
1715 (getActionForKeyStroke): Rewrite.
1716 (getConditionForKeystroke): Likewise.
1717 (ActionListenerProxy): New private class.
1718 (setInputMap): Implement.
1719 (getInputMap): Likewise.
1720 (setActionMap): Likewise.
1721 (getActionMap): Likewise.
1722 (processComponentKeyEvent): New empty method.
1723 (processKeyEvent): Implement.
1724 (processKeyBinding): Likewise.
1725 (resetKeyboardActions): Rewrite.
1726 * javax/swing/KeyStroke.java: Rewrite.
1727 * javax/swing/SwingUtilities.java
1728 (notifyAction): Implement.
1729 (replaceUIActionMap): Likewise.
1730 (replaceUIInputMap): Likewise.
1731 * javax/swing/plaf/basic/BasicButtonListener.java
1732 (focusGained): Implement.
1733 (focusLost): Repaint if focusPainted().
1734 (installKeyboardActions): Install pressed / released actions.
1735 (uninstallKeyboardActions): Implement.
1736 * javax/swing/plaf/basic/BasicButtonUI.java
1737 (focusColor): New field.
1738 (installDefaults): Load focus color, install input map.
1739 (installKeyboardActions): Implement.
1740 (uninstallKeyboardActions): Likewise.
1741 (paintFocus): Rewrite.
1742 * javax/swing/plaf/basic/BasicLookAndFeel.java
1743 (Button.focus): New default, midPurple.
1744 * javax/swing/plaf/basic/BasicTextUI.java
1745 (kit): Make static.
1746 (installUI): Get doc from kit, load defaults.
1747 (getKeymapName): Implement.
1748 (createKeymap): Likewise.
1749 (installKeyboardActions): Likewise.
1750 (getInputMap): Likewise.
1751 (getActionMap): Likewise.
1752 (createActionMap): Likewise.
1753 * javax/swing/text/AbstractDocument.java
1754 (getStartPosition): Implement.
1755 (getEndPosition): Likewise.
1756 * javax/swing/text/DefaultEditorKit.java
1757 (CopyAction): New class.
1758 (CutAction): Likewise.
1759 (DefaultKeyTypedAction): Likewise.
1760 (InsertBreakAction): Likewise.
1761 (InsertContentAction): Likewise.
1762 (InsertTabAction): Likewise.
1763 (PasteAction): Likewise.
1764 (defaultActions): New static table.
1765 (createCaret): Implement.
1766 (getActions): Likewise.
1767 * javax/swing/text/JTextComponent.java
1768 (KeymapWrapper): New private class.
1769 (KeymapActionMap): Likewise.
1770 (DefaultKeymap): New class.
1771 (keymaps): New static table.
1772 (keymap): New field.
1773 (getKeymap): Implement.
1774 (removeKeymap): Likewise.
1775 (addKeymap): Likewise.
1776 (setKeymap): Likewise.
1777 (loadKeymap): Likewise.
1778 (getActions): Likewise.
1779 (margin): New field.
1780 (JTextComponent): Build and install default keymap.
1781 * javax/swing/text/TextAction.java
1782 (textAction): Call super properly.
1783 (getTextComponent): Implement.
1784 * javax/swing/text/Utilities.java
1785 (drawTabbedText): Adjust position by ascent.
1786
1787 2004-08-31 David Jee <djee@redhat.com>
1788
1789 PR AWT/17156
1790
1791 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1792 (setEnabled): Make it a native method.
1793 * java/awt/DefaultKeyboardFocusManager.java
1794 (postProcessKeyEvent): Only post event if the menu item
1795 is active.
1796 * java/awt/MenuItem.java:
1797 Private field 'enabled' should be true by default.
1798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1799 (setEnabled): New function.
1800
1801 2004-08-31 David Jee <djee@redhat.com>
1802
1803 PR AWT/17059
1804
1805 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1806 (nativeSetHelpMenu): New native method declaration.
1807 (addHelpMenu): Call nativeSetHelpMenu().
1808 (addMenu): Remove.
1809 * java/awt/MenuBar.java
1810 (setHelpMenu): Call addNotify() on the new help menu.
1811 (add): Call addNotify() on the new menu.
1812 (addNotify): Set the help menu if one exists.
1813 * java/awt/peer/MenuBarPeer.java
1814 (addMenu): Remove.
1815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1816 (nativeSetHelpMenu): New method.
1817
1818 2004-08-31 Graydon Hoare <graydon@redhat.com>
1819
1820 * Makefile.am: Add new files.
1821 * Makefile.in: Regenerate.
1822 * javax/swing/Box.java: Fix setting of layout in ctor.
1823 * javax/swing/JScrollPane.java: Scroll headers as well.
1824 * javax/swing/JTable.java: Reimplement.
1825 * javax/swing/JViewPort.java: Only add non-null children.
1826 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1827 * javax/swing/Timer.java: Fix stopping null waker.
1828 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1829 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1830 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1831 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1832 * javax/swing/table/DefaultTableModel.java: Clean up.
1833 * javax/swing/table/JTableHeader.java: Implement.
1834
1835 2004-08-31 Mark Wielaard <mark@klomp.org>
1836
1837 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1838 semi-colon.
1839
1840 2004-08-31 Mark Wielaard <mark@klomp.org>
1841
1842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1843 Declare variables at top of functions/block.
1844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1845
1846 2004-08-31 Mark Wielaard <mark@klomp.org>
1847
1848 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1849 first.
1850
1851 2004-08-31 Michael Koch <konqueror@gmx.de>
1852
1853 * javax/swing/text/PlainView.java
1854 (selectedColor): New field.
1855 (unselectedColor): Likewise.
1856 (font): Likewise.
1857 (updateMetrics): New method.
1858 (lineToRect): Likewise.
1859 (modelToView): Likewise.
1860 (drawSelectedText): Use color from JTextComponent ad draw with
1861 Utilities class.
1862 (drawUnselectedText): Likewise.
1863 (paint): Initialize helper fields.
1864 * javax/swing/text/View.java
1865 (getChildAllocation): New method.
1866 (getViewIndex): Likewise.
1867 (getToolTipText): Likewise.
1868
1869 2004-08-31 Michael Koch <konqueror@gmx.de>
1870
1871 * javax/swing/text/Utilities.java
1872 (drawTabbedText): Reimplemented.
1873 (getTabbedTextWidth): Likewise.
1874
1875 2004-08-31 Michael Koch <konqueror@gmx.de>
1876
1877 * javax/swing/plaf/basic/BasicTextUI.java
1878 (installDefaults): Install caret and highlighter.
1879 (modelToView): Use Bias.Forward when calling sibling.
1880 * javax/swing/text/AbstractDocument.java
1881 (ElementEdit): Implements DocumentEvent.ElementChange.
1882 (ElementEdit.ElementEdit): New method.
1883 (ElementEdit.getChildrenAdded): Likewise.
1884 (ElementEdit.getChildrenRemoved): Likewise.
1885 (ElementEdit.getElement): Likewise.
1886 (ElementEdit.getIndex): Likewise.
1887 * javax/swing/text/DefaultCaret.java
1888 (color): Removed.
1889 (textComponent): Renamed from parent, made private.
1890 (selectionVisible): Renamed from vis_sel, made private.
1891 (blinkRate): Renamed from blink, made private.
1892 (magicCaretPosition): Renamed from magic, made private.
1893 (visible): Renamed from vis, made private.
1894 (dot): Made private.
1895 (mark): Likewise.
1896 (deinstall): Remove as MouseMotionListener.
1897 (install): Initialize textComponent first. Add as MouseMotionListener.
1898 (paint): Reimplemented.
1899 * javax/swing/text/JTextComponent.java
1900 (setCaret): Deinstall old caret, install new one and fire property
1901 change after setting property.
1902 (setHighlighter): Deinstall old highlighter, install new one and fire
1903 property change after setting property.
1904 (setCaretColor): Fire property change after setting property.
1905 (setDisabledTextColor): Likewise.
1906 (setSelectedTextColor): Likewise.
1907 (setSelectionColor): Likewise.
1908 (modelToView): New method.
1909
1910 2004-08-31 Michael Koch <konqueror@gmx.de>
1911
1912 * javax/swing/text/AbstractDocument.java
1913 (getText): Simplified.
1914 * javax/swing/text/Segment.java
1915 (current): New field.
1916 (current): Reimplemented.
1917 (first): Likewise.
1918 (getIndex): Likewise.
1919 (last): Likewise.
1920 (next): Likewise.
1921 (previous): Likewise.
1922 (setIndex): Likewise.
1923
1924 2004-08-31 Michael Koch <konqueror@gmx.de>
1925
1926 * javax/swing/plaf/basic/BasicButtonUI.java
1927 (defaultTextIconGap): Made protected.
1928 (defaultTextShiftOffset): Likewise.
1929 (textShiftOffset): New field.
1930 (clearTextShiftOffset): New method.
1931 (getTextShiftOffset): Likewise.
1932 (setTextShiftOffset): Likewise.
1933
1934 2004-08-31 Michael Koch <konqueror@gmx.de>
1935
1936 * javax/swing/plaf/basic/BasicTextUI.java
1937 (installUI): Add eventHandler as property listener.
1938 (uninstallUI): remove eventHandler as propert listener.
1939 (installDefaults): Added comment.
1940 (installListeners): Likewise.
1941 (installKeyboardActions): Likewise.
1942 (uninstallDefaults): Likewise.
1943 (uninstallListeners): Likewise.
1944 (uninstallKeyboardActions): Likewise.
1945
1946 2004-08-31 Michael Koch <konqueror@gmx.de>
1947
1948 * javax/swing/text/AbstractDocument.java:
1949 Fixed some typos in comments.
1950 (insertString): Reimplemented.
1951 (remove): Likewise.
1952 (replace): New method.
1953 (children): Dont use fully qualified class name.
1954 (DefaultDocumentEvent.offset): Renamed from off.
1955 (DefaultDocumentEvent.length): Renamed from len.
1956 (DefaultDocumentEvent.type): New field.
1957 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1958 (DefaultDocumentEvent.getType): Implemented.
1959
1960 2004-08-31 Michael Koch <konqueror@gmx.de>
1961
1962 * javax/swing/plaf/basic/BasicTextUI.java
1963 (RootView.textComponent): Removed.
1964 (RootView.RootView): Don't initialize textComponent.
1965 (RootView.getViewFactory): New method.
1966 (EventHandler): New inner class.
1967 (rootView): Initialize at instance creation.
1968 (eventHandler): New field.
1969 (installUI): Don't create view hierarchy directly,
1970 call modelChanged() instead.
1971 (modelChanged): New method.
1972 * javax/swing/text/JTextComponent.java
1973 (setDocument): Fire property change event.
1974
1975 2004-08-31 Michael Koch <konqueror@gmx.de>
1976
1977 * javax/swing/plaf/basic/BasicTextUI.java
1978 (RootView.paint): Removed debug output.
1979 (paintSafely): Draw highlighter before text.
1980 (paintBackground): Use background color of text component.
1981 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1982 Reformatted.
1983
1984 2004-08-31 Michael Koch <konqueror@gmx.de>
1985
1986 * javax/swing/plaf/basic/BasicToolBarUI.java
1987 (BasicToolBarUI): Fixed arguments for constructor.
1988 (createUI): Fixed creation of object.
1989
1990 2004-08-31 Michael Koch <konqueror@gmx.de>
1991
1992 * javax/swing/DefaultListSelectionModel.java
1993 (fireValueChanged): Renamed from fireSelectionValueChanged,
1994 made protected.
1995
1996 2004-08-31 Michael Koch <konqueror@gmx.de>
1997
1998 * javax/swing/text/TabSet.java
1999 (TabSet): Implements java.io.Serializable.
2000 * javax/swing/text/TabStop.java
2001 (TabStop): Implements java.io.Serializable.
2002 (TabStop): Made public.
2003
2004 2004-08-31 Michael Koch <konqueror@gmx.de>
2005
2006 * javax/swing/JComponent.java
2007 (setUI): Fire PropertyChange.
2008 * javax/swing/JLabel.java
2009 (text): Renamed from labelText.
2010 (horizontalAlignment): New default vlaue.
2011 (icon): Renamed from activeIcon.
2012 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2013 (displayedMnemonicIndex): Renamed from underlineChar.
2014 (setDisplayedMnemonic): Reimplemented.
2015 * javax/swing/JRadioButton.java
2016 (JRadioButton): New constructors.
2017 * javax/swing/JTextField.java
2018 (JTextField): Throw exception if colums < 0, initialitialz
2019 this.columns directly and initialize document with text conditionally.
2020
2021 2004-08-31 Michael Koch <konqueror@gmx.de>
2022
2023 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2024 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2025 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2026 * javax/swing/text/FieldView.java
2027 (paint): Just call super method for now.
2028 * Makefile.am: Added new files.
2029 * Makefile.in: Regenerated.
2030
2031 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2032
2033 * javax/swing/AbstractSpinnerModel.java,
2034 javax/swing/JSpinner.java,
2035 javax/swing/SpinnerNumberModel.java,
2036 javax/swing/plaf/basic/BasicSpinnerUI.java:
2037 New files.
2038 * javax/swing/plaf/basic/BasicLookAndFeel.java
2039 (initClassDefaults): Added defaults for BasicSpinnerUI.
2040
2041 2004-08-31 Michael Koch <konqueror@gmx.de>
2042
2043 * Makefile.am: Added new files.
2044 * Makefile.in: Regenerated.
2045
2046 2004-08-31 Michael Koch <konqueror@gmx.de>
2047
2048 * javax/swing/TransferHandler.java,
2049 javax/swing/plaf/basic/ComboPopup.java: New files
2050 * Makefile.am: Added javax/swing/TransferHandler.java and
2051 javax/swing/plaf/basic/ComboPopup.java
2052 * Makefile.in: Regenerated.
2053
2054 2004-08-31 Roman Kennke <roman@ontographics.com>
2055
2056 * javax/swing/text/Utilities.java: New file.
2057
2058 2004-08-31 Michael Koch <konqueror@gmx.de>
2059
2060 * Makefile.am: Added javax/swing/text/Utilities.java.
2061 * Makefile.in: Regenerated.
2062
2063 2004-08-31 Graydon Hoare <graydon@redhat.com>
2064
2065 * javax/swing/text/SimpleAttributeSet.java: New file.
2066 * javax/swing/text/StyleConstants.java: New file.
2067 * javax/swing/text/StyleContext.java: New file.
2068 * javax/swing/text/TabSet.java: New file.
2069 * javax/swing/text/TabStop.java: New file.
2070 * javax/swing/text/AbstactDocument.java:
2071 (AbstractElement): Implement attribute support.
2072 * javax/swing/text/AttributeSet.java
2073 (NameAttribute): New static field.
2074 (ResolveAttribute): New static field.
2075 * Makefile.am: Update for new files.
2076 * Makefile.in: Regenerate.
2077
2078 2004-08-31 Craig Black <craig.black@aonix.com>
2079
2080 * gnu/java/awt/peer/gtk/GdkGraphics.java
2081 (drawImage): Add support for scaling pixmaps.
2082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2083 (copyAndScalePixmap): New native method.
2084
2085 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2086
2087 PR AWT/16121
2088 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2089 type-punning compiler warnings using unions.
2090 (throw): Replace bzero with memset.
2091
2092 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2093 Thomas Fitzsimmons <fitzsim@redhat.com>
2094
2095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2096 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2097 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2099 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2100
2101 2004-08-31 Mark Wielaard <mark@klomp.org>
2102
2103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2104 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2105 and stdlib.h, not gtkpeer.h.
2106 (*vm): New static variable.
2107 (areaPreparedID): Make static.
2108 (areaUpdatedID): Likewise.
2109 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2110 (area_prepared): Likewise.
2111 (area_updated): Likewise.
2112 (closed): Likewise.
2113 (initStaticState): Initialize *vm javaVM.
2114 (pumpBytes): Use given env, not global gdk_env.
2115
2116 2004-08-31 Mark Wielaard <mark@klomp.org>
2117
2118 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2119 comments.
2120
2121 2004-08-31 Sven de Marothy <sven@physto.se>
2122
2123 * java/awt/geom/CubicCurve2D.java: Reindent.
2124 (contains): Implemented.
2125 (intersects): Implemented.
2126 * java/awt/geom/QuadCurve2D.java: Likewise.
2127 * java/awt/geom/GeneralPath.java: Reindent and document.
2128 Fully (re)implemented using separate xpoints and ypoints
2129 float[] coords.
2130 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2131
2132 2004-08-31 Michael Koch <konqueror@gmx.de>
2133
2134 * javax/swing/JMenuItem.java
2135 (getMenuDragMouseListeners): New method.
2136 (getMenuKeyListeners): Likewise.
2137
2138 2004-08-31 Michael Koch <konqueror@gmx.de>
2139
2140 * javax/swing/AbstractButton.java
2141 (model): Made protected.
2142 (actionListener): Likewise.
2143 (changeListener): Likewise.
2144 (itemListener): Likewise.
2145 (multiClickThreshhold): New field.
2146 (getActionListeners): New method.
2147 (getChangeListeners): Likewise.
2148 (getItemListeners): Likewise.
2149 (fireItemStateChanged): Simplified implementation.
2150 (fireActionPerformed): Likewise.
2151 (fireStateChanged): Likewise.
2152 (getMultiClickThreshhold): New method.
2153 (setMultiClickThreshhold): Likewise.
2154
2155 2004-08-31 Tom Tromey <tromey@redhat.com>
2156
2157 * java/awt/image/Kernel.java (clone): Use super.clone().
2158
2159 2004-08-31 David Jee <djee@redhat.com>
2160
2161 PR AWT/16682
2162 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2163 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2164 (nativeSetIconImageFromData): New native method declaration.
2165 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2166 * gnu/java/awt/peer/gtk/GtkImage.java
2167 (getPixelCache): New method.
2168 (getColorModel): New method.
2169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2170 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2171 (free_pixbuf_data): New helper function.
2172 (nativeSetIconImageFromData): New function.
2173
2174 2004-08-31 Graydon Hoare <graydon@redhat.com>
2175
2176 PR SWING/16576
2177 * javax/swing/JLayeredPane.java
2178 (setLayer): Permit changing layer after addition.
2179 (setPosition): Permit over-length positions.
2180 (layerToRange): Compare intValue()s.
2181 * javax/swing/Box.java (createHorizontalBox): Implement.
2182 (createRigidArea): Likewise.
2183 (createVerticalBox): Likewise.
2184
2185 2004-08-31 Kim Ho <kho@redhat.com>
2186
2187 * java/awt/Component.java:
2188 (processMouseEvent): Consume event after
2189 listeners process it.
2190 (processMouseMotionEvent): ditto.
2191 (processMouseWheelEvent): ditto.
2192 * java/awt/Container.java:
2193 (acquireComponentForMouseEvent):
2194 Do not dispatch to events that have been
2195 removed from the Container.
2196 (handleEvent): Consume the MouseEvents.
2197 * javax/swing/RepaintManager.java:
2198 (paintDirtyRegions): Do not add to list of
2199 damaged areas if the component has no root.
2200
2201 2004-08-31 Michael Koch <konqueror@gmx.de>
2202
2203 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2204
2205 2004-08-31 Mark Wielaard <mark@klomp.org>
2206
2207 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2208 null when a MissingResourceException is thrown. Should never happen.
2209
2210 2004-08-31 Mark Wielaard <mark@klomp.org>
2211
2212 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2213 when argument is null.
2214
2215 2004-08-31 Mark Wielaard <mark@klomp.org>
2216
2217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2218 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2219 Define hid at start of function.
2220 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2221 Likewise.
2222
2223 2004-08-31 Mark Wielaard <mark@klomp.org>
2224
2225 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2226 * javax/swing/JButton.java: Reindent.
2227 * javax/swing/JCheckBox.java: Reindent.
2228
2229 2004-08-31 Mark Wielaard <mark@klomp.org>
2230
2231 * Makefile.am (gtk_c_source_files): Added
2232 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2233 (gtk_awt_peer_sources): Added
2234 gnu/java/awt/peer/gtk/GThreadMutex.java and
2235 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2236 * Makefile.in: Regenerated.
2237
2238 2004-08-31 Archie Cobbs <archie@dellroad.org>
2239
2240 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2241
2242 2004-08-31 Steven Augart <augart@watson.ibm.com>
2243
2244 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2245 Added jfieldID, jmethodID.
2246
2247 2004-08-31 Mark Wielaard <mark@klomp.org>
2248
2249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2250 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2251 gdk_env before calling any gdk or gtk function.
2252
2253 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2254 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2255 (run): Set gtkInitCalled.
2256
2257 2004-08-31 Steven Augart <augart@watson.ibm.com>
2258
2259 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2260 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2261
2262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2263 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2264 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2265 init_glib_threads.
2266 (init_glib_threads): New function.
2267
2268 2004-08-31 Mark Wielaard <mark@klomp.org>
2269
2270 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2271 PRIORITY when not already defined in header file.
2272
2273 2004-08-31 Mark Wielaard <mark@klomp.org>
2274
2275 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2276 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2277
2278 2004-08-31 Steven Augart <augart@watson.ibm.com>
2279
2280 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2281 Implemented missing functions for GTK2.
2282 Added error handling.
2283 Renamed static functions out of the g_ namespace.
2284 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2285 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2286 Rewrote global-reference code.
2287 Eliminated cascading errors.
2288 (mutex_trylock_jni_impl) Fully implemented.
2289 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2290 resolution.
2291 (setup_cache) New function.
2292 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2293 bug where they were not unlocking the GMutex associated with the
2294 condition variable during the wait on that condition variable.
2295
2296 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2297 native/jni/gtk-peer/gthread-jni.c,
2298 native/jni/gtk-peer/gthread-jni.h
2299 (g_thread_jni_functions): Renamed to ...
2300 (portable_native_sync_jni_functions): this name.
2301 (gdk_vm): Renamed to...
2302 (the_vm): this name.
2303
2304 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2305 (gdk_vm): Removed duplicate definition.
2306 (gtkInit): Removed stray message to stdout.
2307 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2308 (gtkInit): Fix a const assignment bug.
2309 (gtkInit): Simplified code.
2310
2311 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2312 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2313 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2314 gnu/java/awt/peer/gtk/GThreadMutex.java:
2315 New files.
2316
2317 2004-08-31 Mark Wielaard <mark@klomp.org>
2318
2319 * javax/swing/Box.java: Put FIXME comment above class declaration.
2320 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2321 * javax/swing/JCheckBox.java: Likewise.
2322 * javax/swing/JDialog.java: Likewise.
2323 * javax/swing/JRadioButton.java: Likewise.
2324 * javax/swing/JToggleButton.java: Likewise.
2325 * javax/swing/UIManager.java: Likewise.
2326 * javax/swing/border/TitledBorder.java: Likewise.
2327 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2328 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2329 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2330 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2331 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2332 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2333 * javax/swing/text/JTextComponent.java: Likewise.
2334
2335 2004-08-31 David Jee <djee@redhat.com>
2336
2337 PR AWT/16682
2338 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2339 (setIconImage): Add a FIXME for unhandled cases.
2340
2341 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2342
2343 PR AWT/16040
2344 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2345 getModifiers. Replace old button masks with new ones.
2346 * gnu/awt/xlib/XEventLoop.java: Likewise.
2347 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2348 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2349 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2350 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2351 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2352 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2353 * java/awt/Component.java: Replace old modifier masks with new
2354 ones.
2355 * java/awt/Container.java: Call getModifiersEx, not
2356 getModifiers.
2357 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2358 old modifier masks.
2359 * javax/swing/JMenuItem.java: Replace old button masks with new
2360 ones.
2361 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2362 getModifiers.
2363 * javax/swing/SwingUtilities.java: Likewise.
2364 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2365 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2367 mask macros with new ones.
2368 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2369 macros with new ones representing new masks.
2370
2371 2004-08-31 Craig Black <craig.black@aonix.com>
2372
2373 * gnu/java/awt/peer/gtk/GdkGraphics.java
2374 (drawRoundRect): Implemented.
2375 (fillRoundRect): Implemented.
2376 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2377 (drawRoundRect): Reimplemented to match GdkGraphics.
2378 (fillRoundRect): Reimplemented to match GdkGraphics.
2379
2380 2004-08-31 Mark Wielaard <mark@klomp.org>
2381
2382 * Makefile.in: Regenerated.
2383
2384 2004-08-31 Michael Koch <konqueror@gmx.de>
2385
2386 * gnu/java/awt/EmbeddedWindow.java
2387 (addNotify): Use AccessController to allow execution of privileged
2388 code.
2389
2390 2004-08-31 Michael Koch <konqueror@gmx.de>
2391
2392 * gnu/java/awt/EmbeddedWindow.java
2393 (static): Removed.
2394 (addNotify): Set peer via reflection.
2395 (setWindowPeer): Removed.
2396 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2397 * Makefile.am (nat_source_files):
2398 Removed gnu/java/awt/natEmbeddedWindow.cc.
2399
2400 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2401
2402 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2403 and gnu/java/security/action/SetAccessibleAction.java.
2404
2405 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2406
2407 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2408 Renamed from 'setName'. New 2-argument form with default value.
2409 (run): Pass default 'value' parameter to System.getProperty().
2410 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2411 typos.
2412
2413 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2414
2415 * gnu/java/security/action/GetPropertyAction.java: New class.
2416 * gnu/java/security/action/SetAccessibleAction.java: New class.
2417
2418 2004-08-31 David Jee <djee@redhat.com>
2419
2420 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2421 (setIconImage): Check if image is null.
2422
2423 2004-08-31 David Jee <djee@redhat.com>
2424
2425 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2426 (create): Set the icon image.
2427 (nativeSetIconImage): New native method declaration.
2428 (setIconImage): Implement.
2429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2430 (nativeSetIconImage): New function.
2431
2432 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2433
2434 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2435 (filenameFilterCallback): Declare local variable accepted before use.
2436
2437 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2438
2439 * gnu/java/awt/ComponentDataBlitOp.java:
2440 Cleaned up imports.
2441
2442 2004-08-31 Tom Tromey <tromey@redhat.com>
2443
2444 * gnu/java/awt/peer/GLightweightPeer.java,
2445 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2446 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2447 javax/swing/JScrollPane.java: Removed
2448 redundant imports.
2449
2450 2004-08-31 David Jee <djee@redhat.com>
2451
2452 * java/awt/DefaultKeyboardFocusManager.java
2453 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2454 event. Fix shift modifier checking.
2455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2456 (accel_attach): Remove.
2457 (setupAccelGroup): Remove calls to accel_attach.
2458
2459 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2460
2461 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2462 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2463
2464 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2465 GtkArgList.java.
2466 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2467 * Makefile.in: Regenerate.
2468 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2469 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2470 (create(String)): New method.
2471 (create): Call new create method.
2472 (getArgs): Remove method.
2473 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2474 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2475 (nativeCreate): Rename to create.
2476 (gtkSetLabel): Rename to gtkButtonSetLabel.
2477 (gtkToggleButtonSetActive): New method.
2478 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2479 (setState): Replace set call with gtkToggleButtonSetActive.
2480 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2481 (getArgs): Remove method.
2482 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2483 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2484 (gtkWidgetSetSensitive): New method.
2485 (gtkWidgetSetParent): Likewise.
2486 (GtkComponentPeer): Call setParent, setComponentBounds and
2487 setVisibleAndEnabled.
2488 (setParent): New method.
2489 (setComponentBounds): New method.
2490 (setVisibleAndEnabled): New method.
2491 (setEnabled): Call gtkWidgetSetSensitive.
2492 (getArgs): Remove method.
2493 Remove all set methods.
2494 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2495 gtkWindowSetModal, setTitle and setResizable.
2496 (getArgs): Remove method.
2497 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2498 (setComponentBounds): New method.
2499 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2500 Replace set call with gtkWindowSetResizable.
2501 (getArgs): Remove method.
2502 (create): Call setTitle and setResizable.
2503 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2504 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2505 (gtkWindowSetTitle): New method.
2506 (gtkWindowSetResizable): New method.
2507 (gtkWindowSetModal): New method.
2508 (setParent): New method.
2509 (setVisibleAndEnabled): New method.
2510 (getArgs): Remove method.
2511 (setTitle): Call gtkWindowSetTitle.
2512 (setResizable): Call gtkWindowSetResizable.
2513 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2514 and off locking instrumentation.
2515
2516 2004-08-31 Kim Ho <kho@redhat.com>
2517
2518 * Makefile.am: Add new file.
2519 * Makefile.in: Regenerate.
2520 * gcj/Makefile.in: Regenerate
2521 * include/Makefile.in:
2522 * java/awt/Container.java:
2523 (acquireComponentForMouseEvent): Respect
2524 the event mask when looking for candidate.
2525 * javax/swing/JComponent.java:
2526 Remove toolTip field.
2527 (createToolTip): Create a tooltip on demand.
2528 (setToolTipText): Register with the ToolTipManager.
2529 (getToolTipText(MouseEvent)): Return getToolTipText().
2530 * javax/swing/JToolTip.java: Implement.
2531 * javax/swing/Timer.java: Jalopy.
2532 (restart): Call stop, then start.
2533 (stop): Interrupt the timer rather than wait for
2534 the timer to come to a stop naturally.
2535 * javax/swing/ToolTipManager.java: Implement.
2536 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2537 Change ToolTip.background color.
2538 * javax/swing/plaf/basic/BasicToolTipUI.java:
2539 Implement.
2540 * testsuite/Makefile.in: Regenerate
2541
2542 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2543
2544 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2545 constructor param comments.
2546
2547 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2548
2549 * java/awt/Component.java: Document AWT 1.0 event handler
2550 methods.
2551
2552 2004-08-31 Roman Kennke <roman@ontographics.com>
2553
2554 * javax/swing/Box.java:
2555 (createGlue): Implemented
2556 (createHorizontalGlue): Implemented
2557 (createHorizontalStrut): Implemented
2558 (createVerticalGlue): Implemented
2559 (createVerticalStrut): Implemented
2560
2561 2004-08-31 David Jee <djee@redhat.com>
2562
2563 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2564 (GtkChoicePeer): Do not automatically select first item.
2565 (getHistory): Remove.
2566 (nativeGetSelected): New method.
2567 (nativeRemoveAll): New method.
2568 (add): Use nativeGetSelected() instead of getHistory().
2569 (remove): Likewise.
2570 (removeAll): Call nativeRemoveAll().
2571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2572 (create): Migrate to GtkComboBox.
2573 (append): Likewise.
2574 (nativeAdd): Likewise.
2575 (nativeRemove): Likewise.
2576 (select): Likewise.
2577 (nativeRemoveAll): New method.
2578 (nativeGetSelected): New method.
2579 (selection_changed): New method.
2580 (getHistory): Remove.
2581 (item_activate): Remove.
2582 (item_removed): Remove.
2583 (connect_choice_item_selectable_hook): Remove.
2584
2585 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2586
2587 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2588 variable in setEditable call.
2589
2590 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2591 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2592 (gtkWidgetSetBackground): New method.
2593 (gtkWidgetSetForeground): Likewise.
2594 (create): Set peer's editable state based on awtComponent's.
2595
2596 * java/awt/Button.java (Button()): Use empty string rather than
2597 null in no-label constructor.
2598
2599 2004-08-31 Roman Kennke <roman@ontographics.com>
2600
2601 * javax/swing/BoxLayout.java: Reimplement.
2602
2603 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2604
2605 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2606 gnu_java_awt_peer_gtk_GdkGraphics.c
2607 (initState(GtkComponentPeer)): Don't return array of colour
2608 values.
2609 (GdkGraphics(int,int)): Set default font to size 12.
2610 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2611 component's foreground colour.
2612 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2613 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2614 (initState(GtkComponentPeer)): Don't return array of colour
2615 values.
2616 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2617 colours to component's colours.
2618 (current_colors_of_widget): Remove function.
2619 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2620 Return a new graphics object.
2621 * java/awt/Font.java (toString): Fix format.
2622 * java/awt/Graphics.java (toString): Likewise.
2623
2624 2004-08-31 Craig Black <craig.black@aonix.com>
2625
2626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2627 (addTearOff): New function.
2628 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2629 New native method.
2630 (init): Call addTearOff() when menu.isTearOff().
2631
2632 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2633
2634 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2635 Default implementation.
2636 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2637 Implement using GdkPixbufDecoder.
2638
2639 2004-08-31 David Jee <djee@redhat.com>
2640
2641 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2642 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2643 setting the size of GtkFileDialogPeers.
2644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2645 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2646 use their default sizes rather than their natural requisitions.
2647
2648 2004-08-31 Michael Koch <konqueror@gmx.de>
2649
2650 * javax/swing/JFormattedTextField.java
2651 (JFormattedTextField): Implemented.
2652 * javax/swing/text/DefaultEditorKit.java
2653 (BeepAction): New inner class.
2654 * javax/swing/text/Segment.java
2655 (partialReturn): New field.
2656 (setPartialReturn): New method.
2657 (isPartialReturn): Likewise.
2658 * javax/swing/text/View.java
2659 (createFragment): Fixed typo.
2660 (getStartOffset): New method.
2661 (getEndOffset): Likewise.
2662
2663 2004-08-31 Michael Koch <konqueror@gmx.de>
2664
2665 * javax/swing/table/DefaultTableColumnModel.java
2666 (serialVersionUID): Made private.
2667 (listenerList): Initialize.
2668 (changeEvent): Initialize.
2669 * javax/swing/table/JTableHeader.java
2670 (JTableHeader): New constructors.
2671 (createDefaultColumnModel): New method.
2672 * javax/swing/table/TableColumn.java
2673 (setHeaderRenderer): Simplified code.
2674 (setCellRenderer): Likewise.
2675 (setWidth): Likewise.
2676
2677 2004-08-31 Tom Tromey <tromey@redhat.com>
2678
2679 * java/text/AttributedString.java (AttributedString): Use
2680 ArrayList to build array of attribute ranges. Don't use
2681 `attribs' before it is set.
2682
2683 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2684
2685 * HACKING: Remove reference to special automake. No longer needed.
2686
2687 2004-08-30 Tom Tromey <tromey@redhat.com>
2688
2689 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2690 return result from `add'.
2691
2692 2004-08-30 Tom Tromey <tromey@redhat.com>
2693
2694 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2695
2696 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2697
2698 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2699
2700 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2701
2702 * java/io/File.java File(String,String): Fixed handling of empty
2703 path.
2704
2705 2004-08-30 Casey Marshall <csm@gnu.org>
2706
2707 Author e-mail updated for all files.
2708 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2709 instance of OID.
2710 (compareTo): Use `equals'.
2711 * gnu/java/security/der/BitString.java (equals): Test if the
2712 argument is an instance of BitString.
2713 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2714 class final. Made fields private.
2715 (<init>): New constructor.
2716 (skip): New method.
2717 (makeString): Made static; don't use NIO.
2718 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2719 * gnu/java/security/der/DERWriter.java: Fixed imports.
2720 (writeString): Don't use NIO.
2721 (toIso88591, toUtf16Be, toUtf8): New methods.
2722 * gnu/java/security/der/DERValue.java: Formatting changes only.
2723 * gnu/java/security/der/DER.java: Likewise.
2724
2725 2004-08-30 Tom Tromey <tromey@redhat.com>
2726
2727 * java/nio/CharBuffer.java (put): Fix typo.
2728 * java/nio/DoubleBuffer.java (put): Fix typo.
2729 * java/nio/FloatBuffer.java (put): Fix typo.
2730 * java/nio/IntBuffer.java (put): Fix typo.
2731 * java/nio/LongBuffer.java (put): Fix typo.
2732 * java/nio/ShortBuffer.java (put): Fix typo.
2733
2734 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2735
2736 * java/nio/ByteBuffer.java (put): Fix typo.
2737
2738 2004-08-30 Casey Marshall <csm@gnu.org>
2739
2740 * java/security/DummyKeyPairGenerator.java (clone): Removed
2741 useless instanceof check.
2742 * java/security/DummyMessageDigest.java (clone): Likewise.
2743 * java/security/DummySignature.java (clone): Likewise.
2744 * java/security/MessageDigest.java (clone): Remove useless
2745 instanceof check.
2746 * java/security/MessageDigestSpi.java (clone): Likewise.
2747 * java/security/Signature.java (clone): Provide meaningful
2748 implementation.
2749 * java/security/SignatureSpi.java (clone): Likewise.
2750
2751 2004-08-29 Mark Wielaard <mark@klomp.org>
2752
2753 * java/util/Arrays.java
2754 (sort(byte[], int, int)): Check fromIndex < 0.
2755 (sort(char[], int, int)): Likewise.
2756 (sort(short[], int, int)): Likewise.
2757 (sort(int[], int, int)): Likewise.
2758 (sort(long[], int, int)): Likewise.
2759 (sort(float[], int, int)): Likewise.
2760 (sort(double[], int, int)): Likewise.
2761 (sort(Object[], int, int, Comparator)): Likewise.
2762 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2763 (qsort(char[], int, int)): Likewise.
2764 (qsort(short[], int, int)): Likewise.
2765 (qsort(int[], int, int)): Likewise.
2766 (qsort(long[], int, int)): Likewise.
2767 (qsort(float[], int, int)): Likewise.
2768 (qsort(double[], int, int)): Likewise.
2769
2770 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2771
2772 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2773 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2774 java/util/ArrayList.java, java/util/Arrays.java,
2775 java/util/BitSet.java, java/util/Calendar.java,
2776 java/util/Collection.java, java/util/ListIterator.java,
2777 java/util/Map.java, java/util/SortedSet.java:
2778 Added additional exceptions to documentation, along
2779 with some additions and corrections.
2780
2781 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2782
2783 * configure.ac: Handle --enable-gc-debug.
2784 * configure: Regenerate.
2785 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2786 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2787 Rearrange include file order.
2788 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2789 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2790 (disable_gc_mutex): Delete along with all references.
2791 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2792 adjust for debug header size.
2793 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2794 debug case.
2795 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2796 (gcj_describe_type_fn): New.
2797 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2798 Register gcj_describe_type_fn.
2799 * include/boehm-gc.h:
2800 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2801 Don't define, but declare, for debug case.
2802 * java/lang/natObject.cc:
2803 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2804
2805 2004-08-26 Mark Wielaard <mark@klomp.org>
2806
2807 Fixes PR libgcj/17002:
2808 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2809 a TimeZoneId string and then try to convert that to a TimeZone with
2810 getDefaultSystemTimeZone(String).
2811 (timezones0): Changed type from Hashtable to HashMap.
2812 (timezones): Create HashMap, not Hashtable.
2813 (getDefaultTimeZone): New method, rewritten from CNI version.
2814 (readTimeZoneFile): New method.
2815 (readtzFile): Likewise.
2816 (skipFully): Likewise.
2817 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2818 getDefaultTimeZoneId and rewritten.
2819 (getDefaultTimeZoneId): Rewritten in java.
2820
2821 2004-08-25 David Daney <daney@avtrex.com>
2822
2823 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2824 * Makefile.in: Regenerated.
2825
2826 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2827
2828 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2829 only if jvmpi is enabled.
2830 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2831 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2832 (_Jv_AllocString): Likewise.
2833 (_Jv_AllocPtrFreeObject): Likewise.
2834
2835 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2836
2837 * defineclass.cc: Include <stdio.h>.
2838 * java/lang/natClassLoader.cc: Include <stdio.h>.
2839
2840 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2841 Michael Koch <konqueror@gmx.de>
2842
2843 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2844 * Makefile.in: Regenerated.
2845
2846 2004-08-20 Michael Koch <konqueror@gmx.de>
2847
2848 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2849 AC_COMPILE_IFELSE macros.
2850
2851 2004-08-20 Michael Koch <konqueror@gmx.de>
2852
2853 * configure.in: Renamed to configure.ac.
2854 * configure.ac: New file.
2855 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2856 include/config.h.in, testsuite/Makefile.in: Regenerated.
2857
2858 2004-08-20 Michael Koch <konqueror@gmx.de>
2859
2860 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2861 * aclocal.m4, configure: Regenerated.
2862
2863 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2864 Michael Koch <konqueror@gmx.de>
2865
2866 * configure.in, Makefile.am: Ported to automake 1.9.
2867 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2868 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2869 Regenerated.
2870
2871 2004-08-19 Tom Tromey <tromey@redhat.com>
2872
2873 * java/net/DatagramSocket.java: Fixed typo.
2874
2875 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2876
2877 PR libgcj/17081
2878 * java/net/URI.java (string): New field. Make all other fields
2879 transient.
2880 (readObject): Implemented.
2881 (writeObject): Implemented.
2882 (URI): Set 'string'.
2883
2884 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2885
2886 PR libgcj/17079
2887 * java/util/logging/Handler.java (isLoggable): Accept record if its
2888 log level equals the threshold level. From Robin Green.
2889
2890 2004-08-18 David Daney <ddaney@avtrex.com>
2891
2892 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2893 instead of sigwait.
2894
2895 2004-08-17 Michael Koch <konqueror@gmx.de>
2896
2897 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2898 * Makefile.in: Regenerated.
2899
2900 2004-08-16 Tom Tromey <tromey@redhat.com>
2901
2902 PR java/8473:
2903 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2904
2905 2004-08-16 Michael Koch <konqueror@gmx.de>
2906
2907 * Makefile.am
2908 (math_c_files): Renamed from c_files.
2909 (math_c_source_files): Renamed from c_source_files.
2910 * Makefile.in,
2911 gcj/Makefile.in,
2912 include/Makefile.in,
2913 testsuite/Makefile.in: Regenerated.
2914
2915 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2916
2917 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2918 to avoid autoconf warning.
2919 * configure: Rebuilt.
2920
2921 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2922
2923 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2924 localhostAddress to loopbackAddress.
2925 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2926
2927 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2928
2929 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2930 boehm-gc's include dirs.
2931 * configure: Rebuilt.
2932 * include/boehm-gc.h: Include gc_config.h.
2933
2934 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2935
2936 * java/net/InetAddress.java (loopbackAddress): Renamed from
2937 localhostAddress.
2938 (getByName): Return loopback address for null hostname, without
2939 security check. Use lookup(), not getAllByName.
2940 (getAllByName): Return loopback address for null hostname, without
2941 security check.
2942 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2943 check here.
2944
2945 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2946
2947 PR libgcj/17020
2948 Reported by Robin Green.
2949 * defineclass.cc (handleField): Don't throw exception on unrecognised
2950 modifier. Add FIXME comments for spec compliance.
2951 (handleMethod): Likewise.
2952
2953 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2954
2955 PR libgcj/16662
2956 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2957 (Almost everywhere): add LOG calls, fix, add comments.
2958 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2959 Add explicit check for LOCKED bit in slow case (PR 16662).
2960 (_Jv_MonitorExit): Add casts in debug-only code.
2961 Always release LOCKED bit before throwing exception.
2962 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2963 isn't. Handle easy cases without lock acquisition.
2964 (Object::wait): Use NotifyAll for lock inflation.
2965
2966 2004-08-12 David Daney <ddaney@avtrex.com>
2967
2968 * testsuite/libjava.lang/Process_1.java: New test.
2969 * testsuite/libjava.lang/Process_2.java: New test.
2970 * testsuite/libjava.lang/Process_3.java: New test.
2971 * testsuite/libjava.lang/Process_4.java: New test.
2972 * testsuite/libjava.lang/Process_5.java: New test.
2973 * testsuite/libjava.lang/Process_6.java: New test.
2974 * testsuite/libjava.lang/Process_1.out: Expected result.
2975 * testsuite/libjava.lang/Process_2.out: Expected result.
2976 * testsuite/libjava.lang/Process_3.out: Expected result.
2977 * testsuite/libjava.lang/Process_4.out: Expected result.
2978 * testsuite/libjava.lang/Process_5.out: Expected result.
2979 * testsuite/libjava.lang/Process_6.out: Expected result.
2980
2981 2004-08-12 David Daney <ddaney@avtrex.com>
2982
2983 PR libgcj/11801
2984 * java/lang/PosixProcess.java: Rewrote.
2985 * java/lang/natPosixProcess.cc: Rewrote.
2986 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2987 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2988 * posix-threads.cc (block_sigchld) New function.
2989 (_Jv_ThreadRegister) Use it.
2990 (_Jv_ThreadStart) Use it.
2991 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2992 * Makefile.am: ... to specify extra native headers.
2993 * configure: Regenerated.
2994 * include/config.h: Regenerated.
2995 * Makefile.in: Regenerated.
2996 * gcj/Makefile.in: Regenerated.
2997 * include/Makefile.in: Regenerated.
2998 * testsuite/Makefile.in: Regenerated.
2999
3000 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3001
3002 PR tree-optimization/16867
3003 * testsuite/libjava.lang/PR16867.java: New test.
3004
3005 2004-08-09 Per Bothner <per@bothner.com>
3006
3007 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3008 with private fields and access methods.
3009 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3010 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3011 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3012 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3013 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3014 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3015 * jni.cc: Likewise.
3016 * resolve.cc: Likewise.
3017 * gcj/field.h: Likewise.
3018 * include/jvm.h: Likewise.
3019 * java/lang/Class.h: Likewise.
3020 * java/lang/natClass.cc: Likwise.
3021 * java/lang/natClassLoader.cc: Likewise
3022 * java/lang/reflect/natMethod.cc: Likewise
3023 * verify.cc: Likewise.
3024 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3025 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3026
3027 2004-08-10 Andrew Haley <aph@redhat.com>
3028
3029 * testsuite/libjava.lang/err14.java: New file.
3030 * testsuite/libjava.lang/err14.out: New file.
3031
3032 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3033
3034 * Makefile.am: Fix missing rename from x_nat_headers to
3035 xlib_nat_headers.
3036 * Makefile.in: Regenerated.
3037
3038 2004-08-04 Andrew Haley <aph@redhat.com>
3039
3040 * java/security/BasicPermission.java: Don't check wildcards.
3041
3042 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3043 Michael Koch <konqueror@gmx.de>
3044
3045 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3046 * configure.in: Replaced all usages of AC_LINK_FILES by
3047 AC_CONFIG_LINKS.
3048 * aclocal.m4,
3049 configure: Regenerated.
3050
3051 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3052 Michael Koch <konqueror@gmx.de>
3053
3054 * acconfig.h: Removed.
3055 * Makefile.am: Rename variables for xlib peer to include xlib and
3056 gtk_c_headers to gtk_jni_headers.
3057 * Makefile.in: Regenerated.
3058
3059 2004-08-04 Andrew Haley <aph@redhat.com>
3060
3061 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3062 debugging.
3063
3064 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3065
3066 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3067 Replace most top level 'dnl' comments with '#' comments, conforming
3068 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3069 help strings.
3070 * configure: Rebuilt.
3071
3072 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3073
3074 * acinclude.m4: Include no-executables.m4.
3075 * aclocal.m4: Rebuild.
3076 * configure.in: Convert to the autoconf 2.59 version of
3077 of the no-executables hack, and also of the nonstandard CXX
3078 hack and the multilibbed CC and CXX hack. Change prerequisite
3079 to autoconf 2.59.
3080 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3081 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3082 testsuite/Makefile.in: Regenerate.
3083
3084 2004-08-03 Tom Tromey <tromey@redhat.com>
3085
3086 * jni.cc: Reindented.
3087
3088 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3089
3090 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3091
3092 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3093
3094 * testsuite/libjava.compile/PR16701.java: New test.
3095
3096 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3097
3098 * java/util/Collection.java, java/util/List.java,
3099 java/util/Map.java, java/util/Set.java,
3100 java/util/SortedMap.java, java/util/SortedSet.java:
3101 Added additional exceptions to documentation.
3102
3103 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3104
3105 PR libgcj/16814
3106 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3107 * configure. Regenerate.
3108 * include/win32.h: Explicitly include winsock2.h
3109 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3110 Winsock api.
3111
3112 2004-07-30 Michael Koch <konqueror@gmx.de>
3113
3114 * java/util/zip/GZIPInputStream.java
3115 (GZIPInputStream): Increase buffer size to 4k.
3116 * java/util/zip/GZIPOutputStream.java
3117 (GZIPOutputStream): Likewise.
3118 * java/util/zip/Inflater.java
3119 (setInput): Merged formating with GNU classpath.
3120 * java/util/zip/InflaterInputStream.java
3121 (InflaterInputStream): Increase buffer size to 4k.
3122 (fill): Throw exception if stream ends early.
3123 (read): Merged endless-loop with GNU classpath.
3124 (skip): Increase buffer size to 2k.
3125
3126 2004-07-30 Michael Koch <konqueror@gmx.de>
3127
3128 * gnu/java/awt/EmbeddedWindow.java
3129 (addNotify): Use AccessController to allow execution of privileged
3130 code.
3131
3132 2004-07-29 Michael Koch <konqueror@gmx.de>
3133
3134 * gnu/java/lang/MainThread.java:
3135 Explicitely import used classes.
3136 (args): Make it type String[].
3137
3138 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3139
3140 * gnu/java/awt/ComponentDataBlitOp.java,
3141 gnu/java/beans/ExplicitBeanInfo.java,
3142 gnu/java/beans/IntrospectionIncubator.java,
3143 gnu/java/beans/editors/ColorEditor.java,
3144 gnu/java/beans/editors/FontEditor.java,
3145 gnu/java/beans/editors/NativeBooleanEditor.java,
3146 gnu/java/beans/editors/NativeByteEditor.java,
3147 gnu/java/beans/editors/NativeDoubleEditor.java,
3148 gnu/java/beans/editors/NativeFloatEditor.java,
3149 gnu/java/beans/editors/NativeIntEditor.java,
3150 gnu/java/beans/editors/NativeLongEditor.java,
3151 gnu/java/beans/editors/NativeShortEditor.java,
3152 gnu/java/beans/editors/StringEditor.java,
3153 gnu/java/io/ClassLoaderObjectInputStream.java,
3154 gnu/java/io/decode/Decoder.java,
3155 gnu/java/io/encode/Encoder.java,
3156 gnu/java/lang/ClassHelper.java,
3157 gnu/java/locale/Calendar.java,
3158 gnu/java/locale/Calendar_de.java,
3159 gnu/java/locale/Calendar_en.java,
3160 gnu/java/locale/Calendar_nl.java,
3161 gnu/java/locale/LocaleInformation_de.java,
3162 gnu/java/locale/LocaleInformation_en.java,
3163 gnu/java/locale/LocaleInformation_nl.java:
3164 Cleaned up imports.
3165
3166 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3167
3168 * README: Remove obsolete info. Update bug URL.
3169 * THANKS: Updated.
3170 * NEWS: Updated with news up to GCC 3.4 release.
3171
3172 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3173
3174 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3175 Renamed from 'setName'. New 2-argument form with default value.
3176 (run): Pass default 'value' parameter to System.getProperty().
3177 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3178 typos.
3179 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3180 not 'setName'.
3181
3182 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3183
3184 * configure.in: Check for minimum GTK version 2.4 requirement.
3185 * configure: Rebuilt.
3186
3187 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3188
3189 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3190 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3191 Reduce sleep time.
3192 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3193 compiler bug.
3194 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3195 address. Reduce sleep times. Synchronize with target threads before
3196 attempting to interrupt them. Don't try to calibrate yeild count,
3197 instead, always loop for a fixed time.
3198 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3199 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3200 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3201 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3202 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3203 * testsuite/libjava.lang/pr179.java: Likewise.
3204 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3205 time. Remove upper bounds check on sleep time.
3206
3207 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3208
3209 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3210 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3211
3212 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3213
3214 * java/io/File.java (toURI): Throw RuntimeException, not
3215 InternalError.
3216 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3217 class name, not instance.
3218
3219 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3220
3221 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3222 and gnu/java/security/action/SetAccessibleAction.java.
3223 * Makefile.in: Rebuilt.
3224
3225 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3226
3227 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3228 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3229 _Jv_InitPrimClass.
3230 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3231 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3232 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3233
3234 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3235
3236 * Makefile.am: Replace jar, rmic and rmiregistry references with
3237 gjar, grmic and grmiregistry.
3238 * configure.in: Likewise.
3239 * Makefile.in: Regenerate.
3240 * configure: Likewise.
3241 * gcj/Makefile.in: Likewise.
3242 * include/Makefile.in: Likewise.
3243 * testsuite/Makefile.in: Likewise.
3244
3245 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3246
3247 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3248 for privileged getProperty calls.
3249 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3250 SetAccessibleAction instead of anonymous class for doPrivileged call.
3251 (getMethod): Likewise.
3252 (setAccessible): New field. PrivilegedAction object to use when
3253 calling setAccessible.
3254 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3255 SetAccessibleAction instead of anonymous class for diPrivileged call.
3256 (setFields): Likewise.
3257 (getClassUID): Likewise.
3258 (findMethod): Likewise.
3259 * gnu/java/security/action/GetPropertyAction.java: New class.
3260 * gnu/java/security/action/SetAccessibleAction.java: New class.
3261
3262 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3263
3264 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3265 for final fields.
3266 * testsuite/libjava.lang/Serialization.java: New test.
3267 * testsuite/libjava.lang/Serialization.out: New.
3268
3269 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3270
3271 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3272 missed in last commit.
3273
3274 2004-07-23 Mark Wielaard <mark@klomp.org>
3275
3276 * java/lang/System.java (static): Set http.agent system property when
3277 not yet set.
3278 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3279 from system property inside AccessController.doPrivileged() call.
3280 (proxyPort): Made package private.
3281 (proxyInUse): Likewise.
3282 (proxyHost): Likewise.
3283 (userAgent): Likewise.
3284
3285 2004-07-23 Mark Wielaard <mark@klomp.org>
3286
3287 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3288 implementation.
3289
3290 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3291
3292 * Makefile.am (ordinary_java_source_files): Add
3293 DefaultContentHandlerFactory.java.
3294 * Makefile.in: Rebuilt.
3295 * java/net/URLConnection.java (defaultFactory): New field.
3296 (getContent):
3297 (getContentHandler): Renamed from 'setContentHandler'. Try
3298 defaultFactory after user-set factory, if any. Search for content
3299 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3300 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3301 Implemented.
3302 (getLastModified): Implemented.
3303 (getPermission): Create file permission here, instead of in
3304 constructor.
3305 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3306 Implemented.
3307 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3308 Implemented.
3309 (getLastModified): Implemented.
3310 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3311 Default implementation.
3312 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3313 Implement using GdkPixbufDecoder.
3314
3315 2004-07-21 Michael Koch <konqueror@gmx.de>
3316
3317 * javax/swing/JTextArea.java
3318 (setLineWrap): Fire property change event after new value is set.
3319 (setTabSize): Likewise.
3320
3321 2004-07-21 Michael Koch <konqueror@gmx.de>
3322
3323 * javax/swing/JTable.java
3324 (autoCreateColumnsFromModel): New field.
3325 (autoResizeMode): Likewise.
3326 (cellEditor): Likewise.
3327 (cellSelectionEnabled): Likewise.
3328 (columnModel): Likewise.
3329 (dataModel): Likewise.
3330 (defaultEditorsByColumnClass): Likewise.
3331 (defaultRenderersByColumnClass): Likewise.
3332 (editingColumn): Likewise.
3333 (editingRow): Likewise.
3334 (gridColor): Likewise.
3335 (preferredViewportSize): Likewise.
3336 (rowHeight): Likewise.
3337 (rowMargin): Likewise.
3338 (rowSelectionAllowed): Likewise.
3339 (selectionBackground): Likewise.
3340 (selectionForeground): Likewise.
3341 (selectionModel): Likewise.
3342 (showHorizontalLines): Likewise.
3343 (showVerticalLines): Likewise.
3344 (tableHeader): Likewise.
3345 (JTable): Implemented.
3346 (getColumnModel): Likewise.
3347 (getSelectedRow): Likewise.
3348 (getSelectionModel): Likewise.
3349 (setModel): Likewise.
3350 (setSelectionModel): Likewise.
3351 (createScrollPaneForTable): New method.
3352 (createDefaultDataModel): Likewise.
3353 (createDefaultListSelectionModel): Likewise.
3354 (getModel): Likewise.
3355 (getTableHeader): Likewise.
3356 (setTableHeader): Likewise.
3357 (getColumnSelectionAllowed): Likewise.
3358 (setColumnSelectionAllowed): Likewise.
3359 (getRowSelectionAllowed): Likewise.
3360 (setRowSelectionAllowed): Likewise.
3361 (getAutoResizeMode): Likewise.
3362 (setAutoResizeMode): Likewise.
3363 (getColumnCount): Likewise.
3364 (getRowCount): Likewise.
3365 (getCellRenderer): Likewise.
3366 * javax/swing/JTree.java
3367 (cellRenderer): New field.
3368 (editable): Likewise.
3369 (rootVisible): Likewise.
3370 (showsRootHandles): Likewise.
3371 (getModel): New method.
3372 (setModel): Likewise.
3373 (isEditable): Likewise.
3374 (setEditable): Likewise.
3375 (isRootVisbile): Likewise.
3376 (setRootVisible): Likewise.
3377 (getShowsRootHandles): Likewise.
3378 (setShowRootHandles): Likewise.
3379 (getCellRenderer): Likewise.
3380 (setCellRenderer): Likewise.
3381
3382 2004-07-21 Michael Koch <konqueror@gmx.de>
3383
3384 * javax/swing/JFormattedTextField.java
3385 (setDocument): Implemented.
3386 * javax/swing/JRootPane.java:
3387 Fixed javadocs.
3388 * javax/swing/JTable.java
3389 (getDefaultRenderer): New method.
3390 * javax/swing/JTextField.java
3391 (setFont): Likewise.
3392 (getPreferredSize): Likewise.
3393 * javax/swing/JToggleButton.java
3394 (getAccessibleContext): Fix javadoc.
3395 * javax/swing/JTree.java:
3396 Add some javadocs.
3397 * javax/swing/JViewport.java:
3398 Likewise.
3399
3400 2004-07-21 David Jee <djee@redhat.com>
3401
3402 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3403 Collect all native method declaration at the top.
3404 (create): Set the filename filter if necessary.
3405 (setDirectory): Call nativeSetDirectory().
3406 (setFilenameFilter): Implement.
3407 (filenameFilterCallback): New method.
3408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3409 (create): Configure dialog to show hidden files.
3410 (filenameFilterCallback): New function.
3411 (nativeSetFilenameFilter): New function.
3412 (nativeSetDirectory): New function.
3413
3414 2004-07-21 Kim Ho <kho@redhat.com>
3415
3416 * javax/swing/plaf/basic/BasicSliderUI.java:
3417 Ran Jalopy.
3418 (paintTrack): Fill the track before painting
3419 the borders.
3420
3421 2004-07-21 Graydon Hoare <graydon@redhat.com>
3422
3423 patch from Roman Kennke <roman@ontographics.com>
3424 * javax/swing/Spring.java: New file.
3425 * javax/swing/SpringLayout.java: New file.
3426 * Makefile.am: Add new files.
3427 * Makefile.in: Regenerate.
3428
3429 2004-07-21 Graydon Hoare <graydon@redhat.com>
3430
3431 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3432 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3433 * javax/swing/ScrollPaneLayout.java: Likewise.
3434
3435 2004-07-21 Kim Ho <kho@redhat.com>
3436
3437 * javax/swing/DefaultDesktopManager.java:
3438 (findMinimum): Removed.
3439 (resizeFrame): Trust the UI to pass valid
3440 bounds.
3441 * javax/swing/JOptionPane.java:
3442 Implemented showInternalXXXDialog methods.
3443 (startModal): New method.
3444 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3445 (BorderListener::mouseDragged): Verify that the new
3446 bounds are valid before passing them to the DesktopManager.
3447 (preferredLayoutSize): Delegate
3448 to getSize.
3449 (minimumLayoutSize): Ditto.
3450 (getSize): New method.
3451 (GlassPaneDispatcher): Reimplemented by copying
3452 a stripped down LightweightDispatcher from Container.
3453 (getMinimumSize): Call minimumLayoutSize.
3454 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3455 Ran Jalopy.
3456 (mousePressed): Add ability to properly close
3457 JInternalFrames.
3458 * javax/swing/plaf/basic/BasicToolBarUI.java:
3459 (DragWindow): Set owner for DragWindow.
3460
3461 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3462
3463 * java/awt/image/ShortLookupTable.java: New file.
3464 * java/awt/image/ByteLookupTable.java: New file.
3465 * Makefile.am: Added new files.
3466 * Makefile.in: Regenerated.
3467
3468 2004-07-21 David Jee <djee@redhat.com>
3469
3470 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3471 (create(GtkContainerPeer)): New native method.
3472 (create()): Call native create(), passing in the parent frame
3473 as the paramter. Natively set the current file and directory.
3474 (setFile): Construct an absolute filename before passing it to
3475 the native peer.
3476 (nativeGetDirectory): New method.
3477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3478 (window_closed): Removed.
3479 (ok_clicked): Likewise.
3480 (cancel_clicked): Likewise.
3481 (handle_response): New method.
3482 (create): Use GtkFileChooserDialog.
3483 (connectSignals): Connect to handle_response.
3484 (nativeGetDirectory): New method.
3485 (nativeSetFile): Use GtkFileChooserDialog.
3486
3487 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3488
3489 * java/awt/image/LookupTable.java: New file.
3490 * Makefile.am: Added new file.
3491 * Makefile.in: Regenerated.
3492
3493 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3494
3495 * java/awt/image/Kernel.java: New file.
3496 * Makefile.am: Added new file.
3497 * Makefile.in: Regenerated.
3498
3499 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3500
3501 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3502 * javax/swing/JMenu.java: Likewise.
3503 * javax/swing/JMenuBar.java: Likewise.
3504 (MARGIN_CHANGED_PROPERTY): New property.
3505 (setMargin): Implemented.
3506 * javax/swing/JMenuItem.java: Fixed javadocs.
3507 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3508 (LABEL_CHANGED_PROPERTY): New property.
3509 (add): changed to use createActionComponent.
3510 (createActionComponent): Implemented.
3511 (setLabel): Fire PropertyChangeEvent if label property
3512 changes.
3513 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3514 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3515 (ContainerHandler): Repaint if margin property has changed.
3516 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3517 (installUI): Call installComponents().
3518 (uninstallUI): Call uinstallComponents().
3519 * javax/swing/plaf/basic/BasicMenuUI.java:
3520 Fixed javadocs.
3521 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3522 Likewise.
3523
3524 2004-07-21 Kim Ho <kho@redhat.com>
3525
3526 * javax/swing/plaf/basic/BasicToolBarUI.java:
3527 (DragWindow): Use the right constructor.
3528
3529 2004-07-21 Kim Ho <kho@redhat.com>
3530
3531 * javax/swing/JToolBar.java:
3532 (layoutContainer): Use getComponents.
3533 * javax/swing/plaf/basic/BasicToolBarUI.java:
3534 (DragWindow): Don't use SwingUtilities'
3535 getOwnerFrame
3536 (ToolBarDialog): ditto.
3537
3538 2004-07-21 Kim Ho <kho@redhat.com>
3539
3540 * javax/swing/JRootPane.java:
3541 Ran jalopy.
3542 (layoutContainer): Set the glasspane's size to
3543 be the same as the content pane.
3544 (createGlassPane): Set opaque property to false.
3545
3546 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3547
3548 * java/awt/Component.java (requestFocus()): Don't handle Panels
3549 specially.
3550 (requestFocus(boolean)): Likewise.
3551 (requestFocusInWindow(boolean)): Likewise.
3552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3553 Set GTK_CAN_FOCUS flag.
3554
3555 2004-07-21 Kim Ho <kho@redhat.com>
3556
3557 * Makefile.am: Added new file.
3558 * Makefile.in: Regenerated.
3559 * gcj/Makefile.in: Regenerated.
3560 * include/Makefile.in: Regenerated.
3561 * javax/swing/AbstractButton.java:
3562 Add rollOverEnabled property.
3563 (setRolloverEnabled): Use new property.
3564 (isRolloverEnabled): Use new property.
3565 * javax/swing/JTabbedPane.java:
3566 (setComponent): Remove useless JTabbedPane.this.
3567 * javax/swing/JToolBar.java: Finish implementation.
3568 * javax/swing/plaf/basic/BasicArrowButton.java:
3569 (paint): Moved border painting to a border.
3570 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3571 Change JToolBar look and feel defaults.
3572 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3573 (actionPerformed): Return Integer index instead of name.
3574 (addButtonComponents): Check to see if component is
3575 JButton last.
3576 (createMessageArea): Don't use components that are not
3577 completed yet.
3578 (getIconForType): Use temporary icons.
3579 * javax/swing/plaf/basic/BasicSliderUI.java:
3580 (mousePressed): Do not return if it's on thumb.
3581 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3582 (paintMinorTickForVertSlider): ditto.
3583 (paintMajorTickForHorizSlider): ditto.
3584 (paintMajorTickForVertSlider): ditto.
3585 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3586 Add a border around the SplitPaneDivider.
3587 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3588 Remove comments.
3589 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3590 New file. Implemented.
3591 * javax/swing/plaf/basic/BasicToolBarUI.java:
3592 Implemented.
3593 * testsuite/Makefile.in: Regenerated.
3594
3595 2004-07-21 Graydon Hoare <graydon@redhat.com>
3596
3597 * javax/swing/Timer.java (run): Queue events each time cycle.
3598
3599 2004-07-21 David Jee <djee@redhat.com>
3600
3601 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3602 (imageComplete): Call image.imageComplete().
3603 * java/awt/image/MemoryImageSource.java:
3604 Reimplement consumers as a Vector instead of a Hashtable. This is
3605 because enumeration on a Hashtable is not thread-safe.
3606 (addConsumer): Adapt to Vector consumers.
3607 (isConsumer): Adapt to Vector consumers.
3608 (removeConsumer): Adapt to Vector consumers.
3609 (startProduction): Adapt to Vector consumers. Call imageComplete()
3610 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3611 (newPixels): Adapt to Vector consumers.
3612 (sendPicture): Set the color model of the image consumer.
3613 (newPixels(IIII)): Adapt to Vector consumers.
3614 (newPixels(IIIIB)): Adapt to Vector consumers.
3615
3616 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3617
3618 * java/awt/Component.java (deliverEvent): Implement.
3619 (postEvent): Implement.
3620 (handleEvent): Implement.
3621 (translateEvent): New method.
3622 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3623 * java/awt/Container.java (deliverEvent): Implement.
3624 * java/awt/Event.java (paramString): Fix formatting.
3625 * java/awt/Font.java (toString): Likewise.
3626 * java/awt/Window.java (postEvent): Implement.
3627
3628 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3629
3630 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3631 Set window's focus owner upon receiving a FOCUS_LOST event.
3632 * java/awt/Window.java (Window()): Refocus the previously
3633 focused component within the window when the window regains the
3634 top-level focus.
3635 (setFocusOwner): New method.
3636 * java/awt/Component.java (requestFocus): Add FIXME.
3637
3638 * libgcj.pc.in: Remove library flags.
3639
3640 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3641
3642 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3643 MOUSE_PRESSED event.
3644 * java/awt/Component.java (requestFocus()): Handle Panel
3645 specially. Post FOCUS_LOST event on opposite component.
3646 (requestFocus(boolean)): Likewise.
3647 (requestFocusInWindow(boolean)): Likewise.
3648 (paramString): Reorder dimension fields.
3649 * java/awt/Container.java (paramString): Fix string format.
3650 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3651 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3652 process key events if the focus owner is non-null.
3653 (dispatchKeyEvent): Likewise.
3654 * java/awt/Frame.java (paramString): Fix formatting.
3655 (generateName): New method.
3656 (getUniqueLong): Likewise.
3657 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3658 the temporary focus owner is null. If so, return the permanent
3659 focus owner.
3660 * java/awt/Panel.java (generateName): New method.
3661 (getUniqueLong): Likewise.
3662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3663 signal handling to make callbacks more specific.
3664
3665 2004-07-21 Michael Koch <konqueror@gmx.de>
3666
3667 * javax/swing/text/Position.java
3668 (Bias): Implemented.
3669
3670 2004-07-21 Michael Koch <konqueror@gmx.de>
3671
3672 * javax/swing/LookAndFeel.java
3673 (provideErrorFeedback): New method.
3674
3675 2004-07-21 Michael Koch <konqueror@gmx.de>
3676
3677 * javax/swing/JTextArea.java
3678 (tabSize): New field.
3679 (getTabSize): New method.
3680 (setTabSize): Likewise.
3681
3682 2004-07-21 Michael Koch <konqueror@gmx.de>
3683
3684 * javax/swing/ActionMap.java:
3685 Fixed javadocs all over.
3686 (serialVersionUID): Made private.
3687 (parent): Don't explicitely initialize with default value.
3688 (get): SImplified.
3689 (keys): Reimplemented.
3690 (allKeys): Likewise.
3691 (convertSet): Removed.
3692 * javax/swing/ComponentInputMap.java:
3693 Fixed javadocs all over.
3694 (ComponentInputMap): Implemented.
3695 (put): Likewise.
3696 (clear): Likewise.
3697 (remove): Likewise.
3698 (SetParent): Likewise.
3699 (getComponent): Likewise.
3700 * javax/swing/InputMap.java:
3701 Fixed javadocs all over.
3702 (serialVersionUID): Made private.
3703 (parent): Don't explicitely initialize with default value.
3704 (get): SImplified.
3705 (keys): Reimplemented.
3706 (allKeys): Likewise.
3707 (convertSet): Removed.
3708
3709 2004-07-21 Michael Koch <konqueror@gmx.de>
3710
3711 * javax/swing/ActionMap.java,
3712 javax/swing/ComponentInputMap.java,
3713 javax/swing/InputMap.java,
3714 javax/swing/table/DefaultTableColumnModel.java,
3715 javax/swing/table/TableColumn.java,
3716 javax/swing/table/TableColumnModel.java,
3717 javax/swing/table/TableModel.java,
3718 javax/swing/text/AbstractDocument.java,
3719 javax/swing/text/TextAction.java:
3720 Reformated.
3721
3722 2004-07-21 Graydon Hoare <graydon@redhat.com>
3723
3724 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3725 Make method non-static.
3726 * javax/swing/AbstractButton.java:
3727 Rename fields to match property names where possible.
3728 (iconTextGap): New property.
3729 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3730 (init) New method, call from after various constructors.
3731 * javax/swing/JComponent.java (revalidate):
3732 Invalidate before queueing repair.
3733 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3734 Reimplement in terms of visibleRowCount property.
3735 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3736 * javax/swing/JScrollPane.java (createScrollListener):
3737 Remove tracing chatter.
3738 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3739 * javax/swing/RepaintManager.java (addInvalidComponent):
3740 Don't invalidate.
3741 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3742 calculations.
3743 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3744 Mimic sun behavior on top left/right positioning.
3745 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3746 Remove mistaken use of preferredScrollableViewportSize here.
3747 (layoutContainer): Use view's preferred size as basis.
3748 * javax/swing/plaf/basic/BasicButtonUI.java:
3749 Set, get, and use textIconGap property.
3750 (paint) Paint text returned from layout (with ellipsis).
3751 * javax/swing/plaf/basic/BasicListUI.java:
3752 Remove tracing chatter, correct various minor calculations.
3753 (getCellBounds): Update layout state before calculating.
3754 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3755 Use margin default similar to sun's.
3756 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3757 (createIncreaseIcon): Center icon, minimize margins.
3758 (createDecreaseIcon): Likewise.
3759 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3760 Implement.
3761 (installUI): Call it.
3762 (uninstallDefaults): Implement.
3763 (uninstallUI): Call it.
3764 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3765 Call existing Window constructor.
3766 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3767 Set clip before painting.
3768
3769 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3770
3771 * javax/swing/JMenuItem.java:
3772 (processMouseEvent): Reimplemented to deal with
3773 mouse drag events.
3774 (createMenuDragMouseEvent): New private helper method.
3775 Creates MenuDragMouseEvent.
3776 * javax/swing/MenuSelectionManager.java
3777 (componentForPoint): Implemented.
3778 (isComponentPartOfCurrentMenu): Made public.
3779 (processMouseEvent): Reimplemented to deal with
3780 mouse drag events.
3781 (setSelectedPath): Corrected small mistake that caused
3782 path to be set incorrectly.
3783 (getPath): If given component is JMenu then also add this
3784 menu's popup menu to the selected path.
3785 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3786 (getPath): Ditto.
3787 (getPreferredSize): Call getPreferredMenuItemSize().
3788 (getPreferredItemSize): Moved code from getPreferredSize to here.
3789 (installListeners): Install MouseMotionListeners.
3790 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3791 if mouse wasn't released in the bounds of this menu item.
3792 (MenuDragMouseHandler): Implemented.
3793 * javax/swing/plaf/basic/BasicMenuUI.java:
3794 (installListeners): Install MouseMotionListener and
3795 MenuDrageMouseListener.
3796 (MenuDragMouseHandler): Implemented.
3797 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3798 (uninstallListeners): Implemented.
3799
3800 2004-07-21 Michael Koch <konqueror@gmx.de>
3801
3802 * javax/swing/JCheckBox.java: Reformated.
3803 (JCheckBox): Fixed all constructors.
3804 (isBorderPaintedFlat): New method.
3805 (setBorderPaintedFlat): New method.
3806 * javax/swing/JEditorPane.java
3807 (createEditorKitForContentType): Made public.
3808 (scrollToReference): Likewise.
3809 * javax/swing/JTextArea.java
3810 (setLineWrap): Fire property change.
3811 * javax/swing/JToggleButton.java
3812 (JToggleButton): New constructor.
3813 (JToggleButton): Simplified.
3814 * javax/swing/text/AttributeSet.java
3815 (FontAttribute): Renamed from FontCharacterAttribute.
3816 * javax/swing/text/JTextComponent.java
3817 (KeyBinBinding): Added javadoc.
3818 (JTextComponent): Likewise.
3819 (getAccessibleContext): Fixed javadoc.
3820 * javax/swing/text/View.java
3821 (View): Added javadoc.
3822 * javax/swing/text/TabableView.java: New file.
3823 * Makefile.am: Added javax/swing/text/TabableView.java.
3824 * Makefile.in: Regenerated.
3825
3826 2004-07-21 Graydon Hoare <graydon@redhat.com>
3827
3828 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3829 * gnu/java/awt/peer/gtk/GtkToolkit.java
3830 (GtkErrorImage): New helper class.
3831 (bufferedImageOrError): New helper method.
3832 (createImage): Use it.
3833
3834 2004-07-21 David Jee <djee@redhat.com>
3835
3836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3837 (setCaretPosition): Scroll the text view so the new caret position
3838 is visible on screen.
3839
3840 2004-07-21 David Jee <djee@redhat.com>
3841
3842 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3843 (setBounds): Do not validate awtComponent here.
3844 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3845 (getPreferredSize): New method.
3846 * java/awt/ScrollPane.java
3847 (ScrollPane): Set default size to 100x100.
3848 (addNotify): If child is not a Panel, wrap it with a new Panel.
3849 (paramString): Implement.
3850
3851 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3852
3853 * javax/swing/JMenu.java:
3854 (setSelected): Display popup menu only if this menu
3855 is showing on the screen.
3856 * javax/swing/JPopupMenu.java:
3857 (processMouseEvent): Added comment.
3858 (processKeyEvent): Likewise.
3859 * javax/swing/MenuSelectionManager.java:
3860 (clearSelectedPath): Only fireStateChanged() after
3861 selected path was changed, not before.
3862 (setSelectedPath): Likewise.
3863 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3864 (paintMenuItem): Corrected position of menu item's
3865 icon.
3866 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3867 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3868 (popupMenuCanceled): Reimplemented.
3869 (popupMenuWillBecomeVisible): Select first menu item by default
3870 when displaying free floating popup menus.
3871 (TopWindowListener): Reimplemented.
3872
3873 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3874
3875 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3876 Panel from being painted twice when it is first shown.
3877
3878 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3879
3880 * java/awt/Window.java: Reverted changes from my
3881 previous patch for creating window without an owner.
3882 * javax/swing/SwingUtilities.java:
3883 (SwingUtilities.OwnerFrame): made static.
3884 (OwnerFrame.setVisible): New method. Overridden with
3885 empty implementation.
3886 (OwnerFrame.isShowing): New method. Ovverridden
3887 to return always true.
3888
3889 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3890
3891 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3892 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3893 (GtkComponentPeer): Remove temporary try/catch block.
3894 (setVisible): Call show and hide.
3895 (show): Make native.
3896 (hide): Likewise.
3897 (getArgs): Don't add "visible" argument.
3898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3899 (property_notify_predicate): Return Bool instead of int.
3900 (find_layout): New function.
3901 (connectJObject): Call find_layout.
3902 (connectSignals): Likewise.
3903 (moveLayout): Likewise.
3904 (gtkLayoutSetVisible): Likewise.
3905
3906 2004-07-21 Mark Wielaard <mark@klomp.org>
3907
3908 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3909 on notifier object before calling notifyAll().
3910
3911 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3912
3913 * java/awt/Window.java: Changed constructors to use new
3914 method that is described below. Constructors call this
3915 methods only if newly created window should have an owner.
3916 (setWindowOwner): New method. Implementation for
3917 this method is moved from this(owner,configuration).
3918 * javax/swing/JWindow.java:
3919 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3920 instead of owner.
3921 * javax/swing/SwingUtilities.java:
3922 (ownerFrame): Change type of this field to OwnerFrame.
3923 (getOwnerFrame): Changed to return object of type OwnerFrame.
3924 (SwingUtilities.OwnerFrame): New class. Represents owner
3925 of a Window that is not provided with one.
3926
3927 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3928
3929 * javax/swing/AbstractButton.java:
3930 (configurePropertiesFromAction): Set action command
3931 to button's text by default if action command is not
3932 explicitely specified.
3933 * javax/swing/JMenu.java: Remove unnecessary listener
3934 and methods relevant to it.
3935 (setSelected): Reimplemented.
3936 (menuSelectionChanged): Moved most part of implementation to
3937 setSelected() and call it instead.
3938 * javax/swing/JMenuItem.java:
3939 (init): Comment out statement that sets paint_border to false.
3940 (configurePropertiesFromAction): Do not set accelerator
3941 for JMenu.
3942 (menuSelectionChanged): Change selected index in the selection
3943 model of menu item's parent.
3944 * javax/swing/JPopupMenu.java:
3945 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3946 instead of GridBagConstraints.HORIZONTAL.
3947 (insert): Likewise.
3948 (createActionChangeListener): Implemented.
3949 (setVisible): Correct location of HeavyWeightMenu and
3950 don't firePopupMenuCanceled().
3951 (menuSelectionChanged): Implemented.
3952 (ActionChangeListener): New Listener. Implemented.
3953 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3954 (BasicMenuBarUI.ContainerHandler): Implemented.
3955 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3956 (paintMenuItem): Uncommented out code that paints
3957 icon, now that icons are working properly.
3958 (PropertyChangeListener): Implemented.
3959 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3960 Added javadocs.
3961 (topWindowListener): New field.
3962 (Constructor): initialize topWindowListener.
3963 (BasicPopupMenuUI.TopWindowListener): Implemented.
3964 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3965 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3966 Implemented.
3967
3968 2004-07-21 Michael Koch <konqueror@gmx.de>
3969
3970 * javax/swing/plaf/basic/BasicButtonUI.java
3971 (paintFocus): Fixed method signature.
3972 (paintButtonPressed): Likewise.
3973 (paintButtonNormal): Likewise.
3974 (paintText): New method.
3975 * javax/swing/plaf/basic/BasicLabelUI.java
3976 (paint): Re-indented.
3977 * javax/swing/plaf/basic/BasicTextUI.java
3978 (installUI): Set parent textComponent to opaque.
3979 * javax/swing/text/DefaultHighlighter.java
3980 (checkPositions): New helper method.
3981 (addHighlight): Throws BadLocationException, check positions.
3982 (changeHighlight): Likewise.
3983 * javax/swing/text/EditorKit.java
3984 (EditorKit): Implements Serializable.
3985 * javax/swing/text/JTextComponent.java
3986 (getUI): Added javadoc.
3987 (setUI): Likewise.
3988 (upadteUI): Added javadoc, don't revalidate and repaint.
3989
3990 2004-07-21 David Jee <djee@redhat.com>
3991
3992 * java/awt/GridBagLayout.java
3993 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3994 * javax/swing/AbstractButton.java
3995 (setText): Reindent.
3996 * javax/swing/RepaintManager.java
3997 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3998
3999 2004-07-21 Michael Koch <konqueror@gmx.de>
4000
4001 * javax/swing/JFormattedTextField.java
4002 (value): New field.
4003 (JFormattedTextField): Implemented.
4004 (getValue): Likewise.
4005 (setValue): Likewise.
4006 * javax/swing/LookAndFeel.java
4007 (getSupportsWindowDecorations): New method.
4008 * javax/swing/UIDefaults.java:
4009 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4010 (addPropertyChangeListener): Made public.
4011 (addResourceBundle): Likewise.
4012 (removeResourceBundle): Likewise.
4013 (setDefaultLocale): Likewise.
4014 * javax/swing/plaf/basic/BasicRootPaneUI.java
4015 (BasicRootPaneUI): Implements PropertyChangeListener.
4016 (propertyChange): New method.
4017 * javax/swing/plaf/basic/BasicTextUI.java
4018 (BasicHighlighter): New inner class.
4019 (createHighlighter): New method.
4020 * javax/swing/plaf/basic/BasicToolBarUI.java
4021 (DragWindow): Extends java.awt.Window.
4022 * javax/swing/text/JTextComponent.java
4023 (getDocument): Removed debug output.
4024 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4025 javax/swing/text/DefaultHighlighter.java,
4026 javax/swing/text/FieldView.java,
4027 javax/swing/text/PlainView.java: New files.
4028 * Makefile.am: Added new files.
4029 * Makefile.in: Regenerated.
4030
4031 2004-07-21 Michael Koch <konqueror@gmx.de>
4032
4033 * javax/swing/JEditorPane.java
4034 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4035 (createEditorKitForContentType): Likewise.
4036 * javax/swing/text/DefaultEditorKit.java
4037 (serialVersionUID): Added constant field.
4038 (EndOfLineStringPropery): Fixed typo.
4039 (DefaultEditorKit): New constructor.
4040 * javax/swing/text/Segment.java:
4041 Import java.text.CharacterIterator.
4042 * javax/swing/text/CharacterIterator.java,
4043 javax/swing/text/PlainEditorKit.java: Removed.
4044 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4045 javax/swing/text/PlainEditorKit.java.
4046 * Makefile.in: Regenerated.
4047
4048 2004-07-21 Michael Koch <konqueror@gmx.de>
4049
4050 * javax/swing/JButton.java,
4051 javax/swing/text/DefaultEditorKit.java,
4052 javax/swing/text/EditorKit.java,
4053 javax/swing/text/Segment.java,
4054 javax/swing/text/StyledEditorKit.java:
4055 Reformatted.
4056
4057 2004-07-21 Michael Koch <konqueror@gmx.de>
4058
4059 * javax/swing/ImageIcon.java
4060 (file): Removed.
4061 (description): Renamed from descr.
4062 (ImageIcon): Added missing constructors.
4063 (setParent): Removed.
4064 (setImageObserver): New method.
4065 (getImageObserver): New method.
4066 (paintIcon): Handle observer = null.
4067 * javax/swing/JButton.java
4068 (removeNotify): Fixed javadoc.
4069 (updateUI): Simplified.
4070 * javax/swing/JRootPane.java
4071 (serialVersionUID): New constant field.
4072 * javax/swing/UIManager.java:
4073 Fixed javadocs all over.
4074 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4075 * javax/swing/text/AbstractDocument.java
4076 (createPosition): Throws BadLocationException.
4077 (getText): Likewise.
4078 (remove): Likewise.
4079 * javax/swing/text/ComponentView.java
4080 (modelToView): Likewise.
4081 * javax/swing/text/DefaultEditorKit.java:
4082 Made all public methods public.
4083 (read): Throws BadLocationException and IOException.
4084 (write): Likewise.
4085 * javax/swing/text/EditorKit.java:
4086 Made all public methods public.
4087 (serialVersionUID): New constant field.
4088 (clone): New method.
4089 (read): Throws BadLocationException and IOException.
4090 (write): Likewise.
4091 * javax/swing/text/Segment.java
4092 (array): Made public.
4093 (count): Likewise.
4094 (offset): Likewise.
4095 (Segment): New constructors.
4096 (clone): Reimplemented.
4097 * javax/swing/text/StyledEditorKit.java
4098 (serialVersionUID): New constant field.
4099
4100 2004-07-21 Graydon Hoare <graydon@redhat.com>
4101
4102 * java/awt/image/BufferedImage.java
4103 (getSource): Implement.
4104 * javax/swing/ImageIcon.java
4105 (ImageIcon): Implement ctor.
4106 * javax/swing/ScrollPaneLayout.java
4107 (preferredLayoutSize): Be more careful about nulls.
4108
4109 2004-07-21 Michael Koch <konqueror@gmx.de>
4110
4111 * javax/swing/text/AttributeSet.java
4112 (CharacterAttribute): New interface
4113 (ColorAttribute): Likewise.
4114 (FontCharacterAttribute): Likewise.
4115 (ParagraphAttribute): Likewise.
4116 * javax/swing/text/DefaultCaret.java
4117 (moveCaret): New method.
4118 (positionCaret): Likewise.
4119 (repaint): Made protected.
4120 * javax/swing/text/JTextComponent.java
4121 (KeyBinding): Made it static.
4122 * javax/swing/text/View.java
4123 (getContainer): Honor parent == null.
4124
4125 2004-07-21 Michael Koch <konqueror@gmx.de>
4126
4127 * javax/swing/text/AbstractDocument.java:
4128 Reformatted.
4129
4130 2004-07-21 Michael Koch <konqueror@gmx.de>
4131
4132 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4133 Import javax.swing.UIManager explicitely.
4134 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4135 (ScrollingButton): Made it static.
4136
4137 2004-07-21 Michael Koch <konqueror@gmx.de>
4138
4139 * javax/swing/UIDefaults.java
4140 (ActiveValue): Made public.
4141 (LazyValue): Likewise.
4142 * javax/swing/plaf/basic/BasicTextUI.java
4143 (RootView): Reintroduced.
4144 (view): Removed.
4145 (rootView): New field.
4146 (installUI): Create document if needed, initialize rootView.
4147 (uninstallUI): Hanle rootView.
4148 (paint): Likewise.
4149 (getRootView): Likewise.
4150 (setView): Likewise.
4151 * javax/swing/text/DefaultCaret.java:
4152 Renamed all "evt" variables to "event".
4153
4154 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4155
4156 * libgcj.spec.in: Add -l-java-util-logging.
4157
4158 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4159
4160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4161 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4162 gtk-xft-dpi can no calculate the right value.
4163 (dpi_changed_cb): Mark *pspec as unsused.
4164
4165 2004-07-21 David Jee <djee@redhat.com>
4166
4167 * java/awt/Component.java
4168 (move): Delegate to setBounds().
4169 (resize): Likewise.
4170 (reshape): Fix so it repaints parent and self only when necessary.
4171
4172 2004-07-21 David Jee <djee@redhat.com>
4173
4174 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4176 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4177 (setVisible): Likewise.
4178 (show): Likewise.
4179 (hide): Likewise.
4180 (getArgs): Likewise.
4181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4182 (property_notify_predicate): Likewise.
4183 (find_layout): Likewise.
4184 (connectJObject): Likewise.
4185 (connectSignals): Likewise.
4186 (moveLayout): Likewise.
4187 (gtkLayoutSetVisible): Likewise.
4188
4189 2004-07-21 Graydon Hoare <graydon@redhat.com>
4190
4191 * Makefile.am
4192 (jv_convert_LDADD):
4193 (gij_LDADD):
4194 (rmic_LDADD):
4195 (rmiregistry_LDADD): Add lib-java-util-logging.la
4196 * Makefile.in: Regenerate.
4197
4198 2004-07-21 Michael Koch <konqueror@gmx.de>
4199
4200 * javax/swing/text/AbstractDocument.java
4201 (replace): Dont use protected method of java.util.Vector directly.
4202
4203 2004-07-21 Michael Koch <konqueror@gmx.de>
4204
4205 * javax/swing/plaf/basic/BasicTextUI.java
4206 (installUI): Call specialized install methods.
4207 (installDefaults): New method.
4208 (installListeners): Likewise.
4209 (installKeyboardActions): Likewise.
4210 (uninstallUI): Likewise.
4211 (uninstallDefaults): New method.
4212 (uninstallListeners): Likewise.
4213 (uninstallKeyboardActions): Likewise.
4214 (getPropertyPrefix): New abstract method.
4215 (paint): Made final, just call paintSafely().
4216 (paintSavely): New method.
4217 (paintBackground): Likewise.
4218 (getVisibleEditorRect): Likewise.
4219 * javax/swing/text/LayeredHighlighter.java,
4220 javax/swing/text/TabExpander.java: New files.
4221 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4222 and javax/swing/text/TabExpander.java.
4223 * Makefile.in: Regenerated.
4224
4225 2004-07-21 Michael Koch <konqueror@gmx.de>
4226
4227 * javax/swing/plaf/basic/BasicTextUI.java
4228 (BasicTextUI): Made abstract.
4229 (BasicCaret): New inner class.
4230 (view): Don't explicitely initialize with "null".
4231 (textComponent): New field.
4232 (textColor): Removed.
4233 (disabledTextColor): Removed.
4234 (normalBackgroundColor): Removed.
4235 (RootView): Removed commented out inner class.
4236 (createUI): Removed.
4237 (createCaret): New method.
4238 (getComponent): Likewise.
4239 (installUI): Initialize textComponent only.
4240 (getPreferredSize): Use installed JTextComponent.
4241 (setView): New method.
4242 (create): Likewise.
4243 * javax/swing/text/JTextComponent.java
4244 (highlighter): New field.
4245 (caretColor): Likewise.
4246 (disabledTextColor): Likewise.
4247 (seletedTextColor): Likewise.
4248 (selectionColor): Likewise.
4249 (setUI): New method.
4250 (getCaretColor): Likewise.
4251 (setCaretColor): Likewise.
4252 (getDisabledColor): Likewise.
4253 (setDisabledColor): Likewise.
4254 (getSelectedTextColor): Likewise.
4255 (setSelectedTextColor): Likewise.
4256 (getSelectionColor): Likewise.
4257 (setSelectionColor): Likewise.
4258 (getHighlighter): Likewise.
4259 (setHighlighter): Likewise.
4260 (replaceSelection): Likewise.
4261
4262 2004-07-21 Michael Koch <konqueror@gmx.de>
4263
4264 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4265 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4266 * javax/swing/plaf/basic/BasicToolBarUI.java
4267 (BasicToolBarUI): Implements SwingConstants.
4268
4269 2004-07-21 Michael Koch <konqueror@gmx.de>
4270
4271 * javax/swing/JPopupMenu.java: Removed CVS tags.
4272 * javax/swing/UIDefaults.java: Reformatted.
4273 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4274 Explicitely import used classes.
4275
4276 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4277
4278 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4279 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4280 (GtkComponentPeer): Remove temporary try/catch block.
4281 (setVisible): Call show and hide.
4282 (show): Make native.
4283 (hide): Likewise.
4284 (getArgs): Don't add "visible" argument.
4285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4286 (property_notify_predicate): Return Bool instead of int.
4287 (find_layout): New function.
4288 (connectJObject): Call find_layout.
4289 (connectSignals): Likewise.
4290 (moveLayout): Likewise.
4291 (gtkLayoutSetVisible): Likewise.
4292
4293 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4294
4295 * javax/swing/AbstractButton.java:
4296 (setDisplayedMnemonicIndex): Check if button
4297 text is not null before checking its length.
4298 * javax/swing/JMenuItem.java:
4299 (processMouseEvent): Disarm menu item if mouse has
4300 exited it.
4301 * javax/swing/plaf/basic/BasicMenuUI.java:
4302 (MouseInputHandler.mouseEntered): Do not raise
4303 popup menu if this menu is already selected.
4304 (MouseInputHandler.mousePressed): Do not fire
4305 MenuEvents.
4306 (MenuHandler): Implemented.
4307
4308 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4309
4310 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4311 (getSelectedObjects): Implemented.
4312 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4313 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4314 Added javadoc for few methods.
4315 (processMouseEvent): Made public.
4316 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4317 (processMouseEvent): Likewise.
4318
4319 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4320
4321 * javax/swing/AbstractButton.java:
4322 (init): Set display mnemonic index to -1.
4323 (setMnemonic(char)): Use setMnemonic(int).
4324 (setMnemonic(int)): Set display mnemonic index.
4325 (getDisplayedMnemonicIndex): Change method signature
4326 by removing 'index' parameter.
4327 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4328 Added default for Menu.selectionBackground.
4329 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4330 (paintMenuItem): Change background color of the selected
4331 menu item.
4332 (paintText): Paint differently when menu item is disabled.
4333 Also paint mnemonic if it appears in the menu item's label.
4334 (paintAccelerator): Paint accelerator differently
4335 if menu item is disabled.
4336 * javax/swing/plaf/basic/BasicMenuUI.java:
4337 (installDefaults): Install defaults for
4338 selectionForeground and selectionBackground.
4339 (uninstallDefaults): Uninstall defauls for
4340 selectionForeground and selectionBackground.
4341
4342 2004-07-21 Michael Koch <konqueror@gmx.de>
4343
4344 * javax/swing/text/AbstractDocument.java
4345 (BranchElement): Implemented.
4346 (LeafElement): Implemented.
4347 * javax/swing/text/DefaultCaret.java:
4348 Import used classes.
4349 (serialVersionUID): New constant.
4350 * javax/swing/text/JTextComponent.java
4351 (AccessibleJTextComponent): Removed dead declaration.
4352 (caretPos): Removed.
4353 (setCaret): New method.
4354 * javax/swing/text/PlainDocument.java
4355 (rootElement): New field.
4356 (PlainDocument): Initialize rootElement.
4357 (createDefaultRoot): New method.
4358 (getDefaultRootElement): Implemented.
4359 * javax/swing/text/View.java: Reformatted.
4360 * javax/swing/text/ViewFactory.java
4361 (create): Added javadoc.
4362
4363 2004-07-21 Michael Koch <konqueror@gmx.de>
4364
4365 * javax/swing/ToolTipManager.java: Reformatted.
4366
4367 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4368
4369 * javax/swing/AbstractButton.java
4370 (changeEvent): New field.
4371 (fireItemStateChanged): Change source of the event
4372 to 'this' before firing it to button listeners.
4373 (fireActionPerformed): Likewise.
4374 (fireStateChanged): Likewise.
4375 (createActionListener): Do not set source
4376 of the event to AbstractButton.
4377 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4378 (ContainerHandler.componentAdded): Removed
4379 print out statement.
4380 (ContainerHandler.componentRemoved): Likewise.
4381
4382 2004-07-21 Michael Koch <konqueror@gmx.de>
4383
4384 * javax/swing/text/Highlighter.java: New file.
4385 * Makefile.am: Added javax/swing/text/Highlighter.java.
4386 * Makefile.in: Regenerated.
4387
4388 2004-07-21 Michael Koch <konqueror@gmx.de>
4389
4390 * javax/swing/ToolTipManager.java
4391 (stillInsideTimerAction): Fixed constructor arguments.
4392 (outsideTimerAction): Likewise.
4393 (insideTimerAction): Likewise.
4394
4395 2004-07-21 Michael Koch <konqueror@gmx.de>
4396
4397 * javax/swing/JButton.java: Reformatted.
4398 * javax/swing/JFormattedTextField.java
4399 (getUIClassID): Implemented.
4400 * javax/swing/JRootPane.java
4401 (serialVersionUID): New constant.
4402 * javax/swing/JTextField.java
4403 (align): New field.
4404 (JTextField): Simplified.
4405 (getUIClassID): New method.
4406 (getActionListeners): Added @since tag.
4407 (setColumns): Invalidate layout and repaint.
4408 (getHorizontalAlignment): New method.
4409 (setHorizontalAlignment): New method.
4410 (selectAll): Removed.
4411 * javax/swing/SwingUtilities.java
4412 (getAncestorOfClass): Removed redundant @see tag.
4413 (isLeftMouseButton): Fixed implementation.
4414 (isMiddleMouseButton): Likewise.
4415 (isRightMouseButton): Likewise.
4416 * javax/swing/text/AbstractDocument.java
4417 (AttributeContext.addAttribute): New method.
4418 (AttributeContext.addAttributes): New method.
4419 (AttributeContext.getEmptySet): New method.
4420 (AttributeContext.reclaim): New method.
4421 (AttributeContext.removeAttribute): New method.
4422 (AttributeContext.removeAttributes): New method.
4423 * javax/swing/text/Document.java
4424 (createPosition): Throws BadLocationException.
4425 (getText): Likewise.
4426 (remove): Likewise.
4427 * javax/swing/text/JTextComponent.java
4428 (getText): Return null if no document is set. Catch
4429 BadLocationException.
4430 (getUI): Return ui.
4431 (updateUI): Simplified.
4432
4433 2004-07-21 Michael Koch <konqueror@gmx.de>
4434
4435 * javax/swing/JButton.java
4436 (removeNotify): Fixed javadoc.
4437 (updateUI): Simplified.
4438
4439 2004-07-21 David Jee <djee@redhat.com>
4440
4441 * gnu/java/awt/image/ImageDecoder.java
4442 (startProduction): Only add consumer if it's not added yet.
4443 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4444 (GdkPixbufDecoder): Don't call initState() here.
4445 (produce): Call initState() here, to ensure area_prepared and
4446 area_updated signals are properly connected.
4447 * gnu/java/awt/peer/gtk/GtkImage.java
4448 (setColorModel): Use equals() to compare ColorModel objects.
4449 (setPixels): Likewise.
4450 * java/awt/image/ColorModel.java
4451 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4452 * java/awt/image/RGBImageFilter.java
4453 (setColorModel): Set consumer's color model.
4454 (setPixels): Use equals() to compare ColorModel objects.
4455
4456 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4457
4458 * java/net/URLConnection.java (position): New field.
4459 (dateFormat1, dateFormat2, dateFormat3): Removed.
4460 (dateFormats): New field.
4461 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4462 each time instead of re-allocating.
4463 (initializeDateFormats): Initialize 'dateFormats'.
4464
4465 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4466
4467 PR libgcj/16591
4468 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4469 is defined.
4470
4471 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4472
4473 * java/net/Socket.java (getImpl): Now private. Remove comment.
4474
4475 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4476
4477 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4478 of chained Writer when calling super-constructor.
4479 * java/io/FilterWriter.java (FilterWriter): Likewise.
4480 * java/io/PrintWriter.java (PrintWriter): Likewise.
4481
4482 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4483
4484 * prims.cc (process_gcj_properties): Don't increment i within LHS
4485 of assignment.
4486
4487 2004-07-19 Per Bothner <per@bothner.com>
4488
4489 Print -verbose:message on "loading", not initialization.
4490 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4491 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4492 gcj::verbose_class_flag.
4493 * java/lang/natClass.cc (initializeClass): Don't print message here.
4494 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4495 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4496 (_Jv_PrepareCompiledClass): Likewise.
4497
4498 2004-07-18 Matthias Klose <doko@debian.org>
4499
4500 * configure.in: Substitute target_noncanonical.
4501 * configure: Regenerate
4502
4503 2004-07-17 Michael Koch <konqueror@gmx.de>
4504
4505 * java/lang/String.java: Fixed javadocs all over.
4506
4507 2004-07-17 Mark Wielaard <mark@klomp.org>
4508
4509 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4510 when size is smaller.
4511 * java/io/RandomAccessFile.java (setLength): Use truncate for
4512 shrinking the file and seek plus write for expanding the file.
4513
4514 2004-07-17 Michael Koch <konqueror@gmx.de>
4515
4516 * gnu/java/nio/channels/natFileChannelPosix.cc
4517 (implTruncate): Always save current position. Only reposition file
4518 pointer to where we started if not beyond new lenght. Reposition file
4519 pointer to file length if it points beyond the end of file.
4520
4521 2004-07-17 Mark Wielaard <mark@klomp.org>
4522
4523 * javax/swing/Box.java: Put FIXME comment above class declaration.
4524 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4525 * javax/swing/JCheckBox.java: Likewise.
4526 * javax/swing/JDialog.java: Likewise.
4527 * javax/swing/JRadioButton.java: Likewise.
4528 * javax/swing/JToggleButton.java: Likewise.
4529 * javax/swing/UIManager.java: Likewise.
4530 * javax/swing/border/TitledBorder.java: Likewise.
4531 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4532 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4533 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4534 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4535 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4536 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4537 * javax/swing/text/JTextComponent.java: Likewise.
4538
4539 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4540
4541 * java/net/DatagramPacket.java (setAddress): Removed check for
4542 null address.
4543
4544 2004-07-17 Michael Koch <konqueror@gmx.de>
4545
4546 * java/net/DatagramSocket.java
4547 (getLocalAddress): Check if socket is bound or not.
4548 * java/net/Socket.java
4549 (getLocalAddrss): Check if socket is bound or not.
4550 (getPort): Return -1 when not connected. Dont check getImpl() for
4551 null.
4552 (setReuseAddress): Check if socket is closed.
4553 (isConnected): Check if getImpl() returns null.
4554
4555 2004-07-17 Mark Wielaard <mark@klomp.org>
4556
4557 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4558 on notifier object before calling notifyAll().
4559
4560 2004-07-17 Michael Koch <konqueror@gmx.de>
4561
4562 * gnu/java/nio/channels/FileChannelImpl.java
4563 (finalize): Added javadoc.
4564
4565 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4566
4567 * java/text/CollationElementIterator.java
4568 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4569 (setText): Use ArrayList instead of Vector.
4570
4571 2004-07-17 Michael Koch <konqueror@gmx.de>
4572
4573 * java/nio/ByteOrder.java
4574 (static): Removed. Not needed.
4575 Thanks to Patrick Reali for noticing.
4576 * java/nio/charset/CharsetDecoder.java
4577 (decode): Fix for classpath bug #9177: Reset state before flipping.
4578
4579 2004-07-17 Michael Koch <konqueror@gmx.de>
4580
4581 * java/security/Security.java: Fixed javadocs all over.
4582
4583 2004-07-17 Michael Koch <konqueror@gmx.de>
4584
4585 * gnu/java/awt/EmbeddedWindow.java
4586 (static): Removed.
4587 (addNotify): Set peer via reflection.
4588 (setWindowPeer): Removed.
4589 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4590 * Makefile.am (nat_source_files):
4591 Removed gnu/java/awt/natEmbeddedWindow.cc.
4592 * Makefile.in: Regenerated.
4593
4594 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4595
4596 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4597 assignment.
4598 * configure: Regenerated.
4599
4600 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4601
4602 * configure.in: Use build_noncanonical rather than build_alias.
4603 * configure: Rebuild.
4604
4605 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4606 by logic refactoring. Move default definition of NATIVE closer
4607 to first alternate definition.
4608 * configure: Regenerate.
4609
4610 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4611 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4612 gcj/Makefile.in: Regenerate.
4613 * configure.in: Set ZIP and GCJH. Remove redundant condition
4614 in AM_CONDITIONAL(NATIVE,...)
4615 * configure: Regenerate.
4616
4617 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4618
4619 * configure.in: Use target_noncanonical rather than
4620 target_alias for forward-compatibility with autoconf 2.59.
4621 * configure: Regenerate.
4622 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4623 testsuite/Makefile.am: Substitute target_noncanonical.
4624 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4625 testsuite/Makefile.in: Regenerate.
4626
4627 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4628 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4629 * acinclude.m4: Include acx.m4.
4630 * aclocal.m4: Regenerate.
4631 * configure: Regenerate.
4632
4633 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4634
4635 PR libgcj/16574
4636 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4637 (decimalFormat): New static variable.
4638 (sbuf): Likewise.
4639 (getTime): New. Override Date.getTime().
4640 (toString): Synchronize. Use decimalFormat to format nanos value
4641 correctly. Truncate extra zeros.
4642 (before): Compare getNanos() only if getTime() is equal.
4643 (after): Likewise.
4644
4645 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4646
4647 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4648 * configure.in: ...here.
4649 * aclocal.m4: Regenerate.
4650 * configure: Regenerate.
4651
4652 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4653 * configure: Rebuilt with autoconf 2.13.
4654 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4655 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4656
4657 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4658
4659 PR libgcj/16204
4660 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4661 large file support.
4662 * Makefile.in: Rebuilt.
4663 * testsuite/libjava.lang/LargeFile.java: New test case.
4664 * testsuite/libjava.lang/LargeFile.out: New file.
4665
4666 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4667
4668 * java/beans/EventHandler.java: Remove debugging statements.
4669
4670 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4671
4672 * java/beans/EventHandler.java: New file.
4673 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4674 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4675 testsuite/Makefile.in: Regenerate.
4676
4677 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4678
4679 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4680 flag to the gcj_setup.
4681 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4682 the tclsh.
4683 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4684 deprecation flag change. 58 XFAILS removed.
4685
4686 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4687
4688 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4689 -fno-use-divide-subroutine.
4690 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4691 (HANDLE_FPE): Define.
4692 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4693 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4694 (HANDLE_DIVIDE_OVERFLOW): Define.
4695
4696 2004-07-14 Michael Koch <konqueror@gmx.de>
4697 Matthias Klose <doko@debian.org>
4698
4699 * java/awt/im/InputContext.java: Initialize in, line.
4700
4701 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4702
4703 * interpret.cc (run): Correctly access libffi return values of
4704 integral smaller-than-int type; these are implicitly promoted.
4705
4706 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4707
4708 PR libgcj/7587
4709 * interpret.cc (compile_mutex): New.
4710 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4711 (run): Lock compile_mutex before calling compile() if compilation is
4712 required.
4713 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4714 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4715
4716 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4717
4718 PR libgcj/15713
4719 * include/jvm.h (_Jv_value): New union type.
4720 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4721 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4722 union members.
4723
4724 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4725
4726 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4727 * gnu/awt/xlib/XOffScreenImage.java
4728 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4729 constructor argument. Add constructor using ImageProducer.
4730 (getSource): Implement.
4731 (imageComplete): New method.
4732 (setColorModel): New method.
4733 (setDimensions): New method.
4734 (setHints): New method.
4735 (setPixels): New method.
4736 (setProperties): New method.
4737 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4738 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4739
4740 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4741
4742 PR libgcj/16478
4743 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4744 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4745 (finalizerReady): Now native.
4746 (run): Likewise.
4747 (runFinalizers): Removed.
4748 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4749 a primitive lock, and don't hold it while running the finalizers.
4750 (runFinalizers): Implement. Don't aquire any Java lock.
4751 (finalizerReady): Use lock primitives to signal finalizer thread.
4752
4753 2004-07-11 Mark Wielaard <mark@klomp.org>
4754
4755 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4756 * java/net/URLStreamHandler.java (parseURL): When url file part
4757 doesn't contain a '/' just ignore context.
4758
4759 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4760
4761 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4762 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4763 (MAKE_THROW_FRAME): Do not modify PSW address.
4764 (INIT_SEGV): Install SIGINFO-style signal handler.
4765 (INIT_FPE): Likewise.
4766
4767 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4768
4769 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4770 status. 21 xfail's removed, 1 added.
4771
4772 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4773
4774 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4775
4776 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4777
4778 * java/text/MessageFormat.java
4779 (formatInternal): Append "{n}" if argument n is unavailable.
4780 (format(Object, StringBuffer, FieldPosition)): This
4781 should be equivalent to format(Object[],
4782 StringBuffer, FieldPosition).
4783
4784 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4785
4786 * java.util.Calendar.java (cache): New private static field. Cached
4787 mappings of locales->calendar classes.
4788 (ctorArgTypes): New private static field. Singleton argument for
4789 calendar class constructor lookup.
4790 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4791 Optimize by bypassing reflection instantiation for the
4792 GregorianCalendar case.
4793
4794 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4795
4796 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4797 ResourceBundle.getBundle() calls.
4798 * java/util/GregorianCalendar.java: Likewise.
4799 * java/util/Currency.java: Likewise.
4800 * java/text/BreakIterator.java: Likewise.
4801 * java/text/Collator.java: Likewise.
4802 * java/text/DateFormat.java: Likewise.
4803 * java/text/DateFormatSymbols.java: Likewise.
4804 * java/text/DecimalFormatSymbols.java: Likewise.
4805 * java/text/NumberFormat.java: Likewise.
4806 * java/awt/Window.java: Likewise.
4807
4808 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4809
4810 * java/util/ResourceBundle.java (bundleCache): Renamed from
4811 resourceBundleCache. Update comments.
4812 (getObject): Don't catch MissingResourceException.
4813 (getBundle(String)): Remove 'final'. Use system classloader if
4814 getCallingClassLoader returned null.
4815 (getBundle(String, Locale)): Likewise.
4816 (BundleKey): New private class. HashMap key for bundle cache lookup.
4817 (lookupKey): New. Singleton instance of BundleKey.
4818 (nullEntry): New. Cache entry to represent failed lookups.
4819 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4820 caching strategy, no-allocation lookup, and new tryBundle methods.
4821 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4822 name using given classloader.
4823 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4824 baseName for given Locale and attempt to load bundle.
4825
4826 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4827
4828 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4829 illegal protected method calls.
4830
4831 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4832
4833 Fix or remove some bogus test cases.
4834 * testsuite/libjava.compile/pr10459_2.java: Removed.
4835 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4836 not Object.clone().
4837 * testsuite/libjava.compile/inner_data.java: Test against its own
4838 protected field.
4839
4840 2004-07-09 Michael Koch <konqueror@gmx.de>
4841
4842 * scripts/unicode-muncher.pl: Updated to version 2.1
4843 from GNU classpath. Added some clarifications on where to find the
4844 needed files from www.unicode.org.
4845 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4846 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4847 Removed, these can directly be downloaded from www.unicode.org if
4848 needed.
4849 * gnu/java/lang/CharData.java: Regenerated.
4850 * include/java-chartables.h: Regenerated.
4851 * Makefile.am (ordinary_java_source_files):
4852 Removed gnu/java/lang/CharData.java.
4853 * Makefile.in: Regenerated.
4854
4855 2004-07-09 Michael Koch <konqueror@gmx.de>
4856
4857 * java/security/AccessControlContext.java,
4858 java/security/SecureClassLoader.java:
4859 Fixed javadocs.
4860
4861 2004-07-09 Michael Koch <konqueror@gmx.de>
4862
4863 * java/io/ObjectInputStream.java (readFields): Use long datatype
4864 when shifting byte values more then 24 bits left.
4865
4866 2004-07-09 Michael Koch <konqueror@gmx.de>
4867
4868 * java/util/zip/DeflaterOutputStream.java,
4869 java/util/zip/GZIPInputStream.java,
4870 java/util/zip/GZIPOutputStream.java,
4871 java/util/zip/InflaterInputStream.java:
4872 Reformatted. Added javadocs. Reordered all stuff.
4873 Renamed variables to be more clear.
4874
4875 2004-07-09 Michael Koch <konqueror@gmx.de>
4876
4877 * javax/imageio/IIOException.java,
4878 javax/imageio/event/IIOReadProgressListener.java,
4879 javax/imageio/event/IIOReadUpdateListener.java,
4880 javax/imageio/event/IIOReadWarningListener.java,
4881 javax/imageio/event/IIOWriteProgressListener.java,
4882 javax/imageio/event/IIOWriteWarningListener.java:
4883 New files.
4884 * Makefile.am: Added new files.
4885 * Makefile.in: Regenerated.
4886
4887 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4888
4889 * java/text/RuleBasedCollator.java
4890 (mergeRules): Use ArrayList instead of Vector.
4891 (subParseString): likewise.
4892 (parseString): likewise.
4893 (buildCollationVector): likewise.
4894 (getCollationKey): likewise.
4895
4896 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4897
4898 * java/text/DateFormat.java (parse):
4899 Improved javadoc. Improved exception message.
4900
4901 2004-07-09 Mark Wielaard <mark@klomp.org>
4902
4903 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4904 interrupted() method to clear interupt flag of our Thread.
4905
4906 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4907
4908 * java/nio/Buffer.java,
4909 java/nio/ByteBuffer.java,
4910 java/nio/ByteBufferHelper.java,
4911 java/nio/ByteBufferImpl.java,
4912 java/nio/CharBuffer.java,
4913 java/nio/CharBufferImpl.java,
4914 java/nio/CharViewBufferImpl.java,
4915 java/nio/DirectByteBufferImpl.java,
4916 java/nio/DoubleBuffer.java,
4917 java/nio/DoubleBufferImpl.java,
4918 java/nio/DoubleViewBufferImpl.java,
4919 java/nio/FloatBuffer.java,
4920 java/nio/FloatBufferImpl.java,
4921 java/nio/FloatViewBufferImpl.java,
4922 java/nio/IntBuffer.java,
4923 java/nio/IntBufferImpl.java,
4924 java/nio/IntViewBufferImpl.java,
4925 java/nio/LongBuffer.java,
4926 java/nio/LongBufferImpl.java,
4927 java/nio/LongViewBufferImpl.java,
4928 java/nio/MappedByteBufferImpl.java,
4929 java/nio/ShortBuffer.java,
4930 java/nio/ShortBufferImpl.java,
4931 java/nio/ShortViewBufferImpl.java:
4932 Fixed javadocs all over. Improved input error
4933 checking.
4934
4935 * java/nio/Buffer.java
4936 (checkForUnderflow, checkForOverflow, checkIndex,
4937 checkIfReadOnly, checkArraySize): New helper methods
4938 for error checking.
4939
4940 * java/nio/ByteBufferHelper.java
4941 (checkRemainingForRead, checkRemainingForWrite,
4942 checkAvailableForRead, checkAvailableForWrite): Removed
4943 no longer needed methods.
4944
4945 2004-07-09 Michael Koch <konqueror@gmx.de>
4946
4947 * gnu/regexp/CharIndexedInputStream.java:
4948 Reordered imports to match classpath.
4949
4950 2004-07-09 Michael Koch <konqueror@gmx.de>
4951
4952 * gnu/java/awt/EmbeddedWindow.java:
4953 Load native library for setWindowPeer method.
4954
4955 2004-07-08 Randolph Chung <tausq@debian.org>
4956
4957 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4958 * configure: Regenerate.
4959 * configure.host: Set can_unwind_signal for hppa*-linux.
4960 * include/pa-signal.h: New file.
4961
4962 2004-07-07 Per Bothner <per@bothner.com>
4963
4964 * Makefile.am: Add rules to build libgij from just gij.cc.
4965
4966 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4967 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4968 (initializeClass): If verbose_class_flag, print message.
4969 * gij.cc (main): Handle -verbose:class flag.
4970
4971 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4972
4973 * configure.host: Enable hash synchronization on Darwin.
4974 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4975 ';', since this is a comment on Darwin.
4976 (compare_and_swap_release): Likewise.
4977
4978 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4979
4980 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4981 file portion of URL in addition to spec for file: protocol.
4982
4983 2004-07-05 Anthony Green <green@redhat.com>
4984
4985 * java/io/File.java (toURI): Merge from Classpath.
4986
4987 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4988
4989 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4990 before passing to URL constructor. Rethrow any MalformedURLException
4991 as a RuntimeException. Catch MalformedURLException specifically, not
4992 all exceptions.
4993
4994 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4995
4996 * java/util/Locale.java (readObject): Intern strings read from object
4997 stream.
4998
4999 2004-07-04 Michael Koch <konqueror@gmx.de>
5000
5001 * gnu/gcj/runtime/FirstThread.java,
5002 gnu/gcj/runtime/natFirstThread.cc: Removed.
5003 * gnu/java/lang/MainThread.java,
5004 gnu/java/lang/natMainThread.cc: New files.
5005 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5006 * Makefile.am: Added new files and removed deleted ones.
5007 * Makefile.in: Regenerated.
5008
5009 2004-07-03 Mark Wielaard <mark@klomp.org>
5010 Anthony Green <green@redhat.com>
5011
5012 * java/net/URL.java (getFile): Clarify return value doc.
5013 (getPath): Return null if file is empty - not empty String.
5014 (set): Convert protocol to lower case before doing anything.
5015 Only change the protocol handler if it's different.
5016
5017 2004-07-03 Anthony Green <green@redhat.com>
5018
5019 * java/net/URL.java (URL): Convert protocol to lower case before
5020 doing anything, so we getURLStreamHandler() with the proper value.
5021
5022 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5023
5024 * java/util/Locale.java (hashcode): Made transient.
5025 (hashCode): No longer synchronized.
5026 (equals): Remove comment.
5027 (writeObject): No longer synchronized. Implement using writeObject
5028 calls instead of tweaking hashCode field. Update doc.
5029 (readObject): Implement using readObject calls.
5030
5031 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5032 Andreas Tobler <a.tobler@schweiz.ch>
5033
5034 * configure.host (powerpc-*-darwin*): New case, define
5035 can_unwind_signal.
5036 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5037 * configure: Regenerate.
5038 * include/darwin-signal.h: New.
5039
5040 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5041
5042 * java/beans/Statement.java (doExecute): Fix formatting.
5043
5044 2004-06-29 Per Bothner <per@bothner.com>
5045
5046 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5047 etc etc): Remove needless parenthesis, which causes __stdcall__
5048 attribute on MinGW to get ignored.
5049
5050 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5051
5052 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5053
5054 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5055
5056 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5057
5058 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5059
5060 * java/beans/Expression.java: New file.
5061 * java/beans/Statement.java: New file.
5062 * Makefile.am: Added new files.
5063 * Makefile.in: Re-generate.
5064
5065 2004-06-27 Mark Wielaard <mark@klomp.org>
5066
5067 * java/io/FilePermission.java (usingPerms): Removed.
5068 (actionsString): Made final.
5069 (cachePerms): Renamed to checkPerms.
5070 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5071 on action String.
5072 (FilePermission): Check arguments, call checkPerms().
5073 (equals): Remove cachePerms() call.
5074 (implies): Likewise.
5075
5076 2004-06-27 Mark Wielaard <mark@klomp.org>
5077
5078 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5079 final field.
5080 (sendRequest): Use new field in user-agent http agent.
5081
5082 2004-06-27 Mark Wielaard <mark@klomp.org>
5083
5084 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5085 when argument is null.
5086
5087 2004-06-26 Mark Wielaard <mark@klomp.org>
5088
5089 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5090 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5091 GetMethodID call.
5092 (cancel_clicked): Likewise.
5093
5094 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5095
5096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5097 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5098 can not calculate the right value.
5099 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5100
5101 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5102
5103 * testsuite/libjava.jacks/jacks.xfail: Remove
5104 15.9.1-qualified-concrete-20.
5105
5106 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5107
5108 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5109 encoding name to iconv.
5110 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5111
5112 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5113
5114 PR libgcj/16134:
5115 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5116 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5117 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5118
5119 2004-06-21 Andrew Haley <aph@redhat.com>
5120
5121 * java/io/ObjectOutputStream.java: Add DEBUG statements
5122 everywhere.
5123 (dumpElementln): New method.
5124 (depth): New field.
5125 * java/io/ObjectInputStream.java
5126 (currentClassLoader): Make native.
5127 (callersClassLoader): New field.
5128 (depth): New field.
5129 (readObject): ENDBLOCKDATA is generated if the class has a write
5130 method, not if it has a read method.
5131 (readObject): Save and restore this.currentObject and
5132 this.currentObjectStreamClass around calls to callReadMethod().
5133 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5134 method.
5135
5136 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5137
5138 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5139 darwin.
5140
5141 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5142
5143 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5144 if desired, before the default class loader is initialised.
5145 Call INIT_SEGV only if HANDLE_SEGV is defined.
5146
5147 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5148
5149 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5150 directory only if it actually exists.
5151
5152 2004-06-18 Graydon Hoare <graydon@redhat.com>
5153
5154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5155 Fix up non-ansi comments.
5156
5157 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5158
5159 * javax/swing/text/AbstractDocument.java: Adding missing import
5160 for javax.swing.event.EventListenerList.
5161 * javax/swing/text/DefaultCaret.java: Likewise.
5162
5163 2004-06-17 Michael Koch <konqueror@gmx.de>
5164
5165 * javax/swing/JToolBar.java
5166 (name): Removed.
5167 (JToolBar): Use Component.setName(String) instead of doing it all
5168 alone.
5169 * javax/swing/Timer.java
5170 (queueEvent): Added missing modifier.
5171
5172 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5173
5174 * Makefile.am: Added new file.
5175 * Makefile.in: Re-generate.
5176 * javax/swing/JMenu.java:
5177 (insertSeparator): Implemented.
5178 * javax/swing/JPopupMenu.java:
5179 (JPopupMenu.Separator): Implemented.
5180 * javax/swing/MenuSelectionManager.java:
5181 (processMouseEvent): Use java.awt.Component
5182 for event source instead of javax.swing.JComponent.
5183 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5184 New File. Implemented.
5185
5186 2004-06-16 David Jee <djee@redhat.com>
5187
5188 * java/awt/GridBagLayout.java
5189 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5190 Make sure pos_x and pos_y are never negative.
5191
5192 2004-04-16 Andrew Overholt <overholt@redhat.com>
5193
5194 * Makefile.am: Add new file.
5195 * Makefile.in: Re-generate.
5196 * javax/swing/JToolBar.java
5197 Partially implemented.
5198 * javax/swing/plaf/basic/BasicToolBarUI.java
5199 New file. Partially implemented.
5200
5201 2004-06-16 Graydon Hoare <graydon@redhat.com>
5202
5203 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5204 (setComposite): Accept AlphaComposite arguments.
5205 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5206 (createBufferedImage): Add new overloads.
5207 * gnu/java/awt/peer/gtk/GtkToolkit.java
5208 (createImage): Use GdkPixbufDecoder.createBufferedImage
5209 when useGraphics2D() is true.
5210 (getImage): Delegate to createImage.
5211 * javax/swing/JList.java
5212 (isSelectionEmpty):
5213 (getFirstVisibleIndex):
5214 (getLastVisibleIndex):
5215 (setSelectedValue):
5216 (ensureIndexIsVisible): New methods.
5217 * javax/swing/Timer.java: Reimplement.
5218
5219 2004-06-16 Michael Koch <konqueror@gmx.de>
5220
5221 * javax/swing/text/AbstractDocument.java
5222 (AbstracElement): Made public, implements java.io.Serializable.
5223 (AttributeContext): Made public.
5224 (BranchElement): Likewise.
5225 (Content): Likewise.
5226 (DefaultDocumentEvent): Made public, extends
5227 javax.swing.undo.CompoundEdit.
5228 (ElementEdit): Made public, extends
5229 javax.swing.undo.AbstractUndoableEdit.
5230 (LeafElement): Made public.
5231 (LeafElement.LeafElement): Made public.
5232
5233 2004-06-16 Michael Koch <konqueror@gmx.de>
5234
5235 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5236 methods (that were obviously never be intended to get included hi this
5237 class. Added some methods too.
5238
5239 2004-06-16 Michael Koch <konqueror@gmx.de>
5240
5241 * javax/swing/text/PlainDocument.java
5242 (serialVersionUID): New constant.
5243 (lineLimitAttribute): Likewise.
5244 (tabSizeAttribute): Likewise.
5245 (tabSize): New field.
5246 (PlainDocument): Made public.
5247 (PlainDocument): New constructor.
5248
5249 2004-06-16 Michael Koch <konqueror@gmx.de>
5250
5251 * javax/swing/text/AbstractDocument.java
5252 (insertString): Throws BadLocationException.
5253 * javax/swing/text/Document.java
5254 (insertString): Likewise.
5255 * javax/swing/text/JTextComponent.java:
5256 Javadocs and comments cleaned up.
5257
5258 2004-06-16 Michael Koch <konqueror@gmx.de>
5259
5260 * javax/swing/event/UndoableEditListener.java: Reformatted.
5261 * javax/swing/text/AbstractDocument.java
5262 (AbstractDocument): Implements java.io.Serializable.
5263 (doc_list): Removed.
5264 (undo_list): Removed.
5265 (AbstractElement.serialVerionUID): New field.
5266 (BranchElement.serialVerionUID): Likewise.
5267 (DefaultDocumentEvent.serialVerionUID): Likewise.
5268 (ElementEdit.serialVerionUID): Likewise.
5269 (LeafElement.serialVerionUID): Likewise.
5270 (serialVerionUID): Likewise.
5271 (BAD_LOCATION): New constant.
5272 (BidiElementName): Likewise.
5273 (ContentElementName): Likewise.
5274 (ParagraphElementName): Likewise.
5275 (SectionElementName): Likewise.
5276 (ElementNameAttribute): Likewise.
5277 (AbstractDocument): Made protected.
5278 (AbstractDocument): New construtor.
5279 (listenerList): New field.
5280 (fireChangedUpdate): Implemented.
5281 (fireInsertUpdate): Likewise.
5282 (fireRemoveUpdate): Likewise.
5283 (fireUndoableEditUpdate): Likewise.
5284 (getListeners): Likewise.
5285 (addDocumentListener): Likewise.
5286 (removeDocumentListener): Likewise.
5287 (addUndoableEditListener): Likewise.
5288 (removeUndoableEditListener): Likewise.
5289 (getDocumentListeners): New method.
5290 (getUndoableEditListeners): Likewise.
5291 (getAsynchronousLoadPriority): Made public.
5292 (getBidiRootElement): Likewise.
5293 (setAsynchronousLoadPriority): Likewise.
5294 (setDocumentProperties): Likewise.
5295 * javax/swing/text/BadLocationException.java
5296 (serialVerionUID): New field.
5297 * javax/swing/text/DefaultCaret.java
5298 (changeEvent): New field.
5299 (listenerList): Likewise.
5300 (changes): Removed.
5301 (addChangeListener): Reimplemented.
5302 (removeChangeListener): Likewise.
5303 (getListeners): New method.
5304 (getChangeListeners): Likwise.
5305 (getComponent): Likewise.
5306 * javax/swing/text/GapContent.java
5307 (GapContent): Implements java.io.Serializable.
5308 (serialVerionUID): New field.
5309
5310 2004-06-16 Michael Koch <konqueror@gmx.de>
5311
5312 * javax/swing/JTree.java
5313 (treeModel): New field.
5314 (JTree): New constructors, one existing one made public.
5315 (createTreeModel): New method.
5316 (addTreeExpansionListener): Likewise.
5317 (removeTreeExpansionListener): Likewise.
5318 (getTreeExpansionListeners): Likewise.
5319 (fireTreeCollapsed): Likewise.
5320 (fireTreeExpanded): Likewise.
5321 (addTreeSelectionListener): Likewise.
5322 (removeTreeSelectionListener): Likewise.
5323 (getTreeSelectionListeners): Likewise.
5324 (fireValueChanged): Likewise.
5325 (addTreeWillExpandListener): Likewise.
5326 (removeTreeWillExpandListener): Likewise.
5327 (getTreeWillExpandListeners): Likewise.
5328 (fireTreeWillCollapse): Likewise.
5329 (fireTreeWillExpand): Likewise.
5330
5331 2004-06-16 Michael Koch <konqueror@gmx.de>
5332
5333 * javax/swing/JTree.java: Reformatted.
5334
5335 2004-06-16 Michael Koch <konqueror@gmx.de>
5336
5337 * javax/swing/JTextArea.java: New file.
5338 * javax/swing/JTextField.java
5339 (actions): Removed.
5340 (notifyAction): New constant.
5341 (columns): New field.
5342 (JTextField): New constructors.
5343 (createDefaultModel): New method.
5344 (addActionListener): Reimplmemented.
5345 (removeActionListener): Reimplemented.
5346 (getActionListeners): New method.
5347 (fireActionPerformed): New method.
5348 (getColumns): New method.
5349 (setColumne): New method.
5350 * javax/swing/text/JTextComponent.java
5351 (AccessibleJTextComponent.serialVersionUID): New field.
5352 (serialVersionUID): Likewise.
5353 (DEFAULT_KEYMAP): Likewise.
5354 (FOCUS_ACCELERATOR_KEY): Likewise.
5355 (doc): Made private.
5356 (icon_gap): Likewise.
5357 (icon): Likewise.
5358 (align): Likewise.
5359 (JTextComponent): Some constructors removed.
5360 (getScrollableTracksViewportHeight): New method.
5361 (getScrollableTracksViewportWidth): Likewise.
5362 * Makefile.am: Added javax/swing/JTextArea.java.
5363 * Makefile.in: Regenerated.
5364
5365 2004-06-15 Graydon Hoare <graydon@redhat.com>
5366
5367 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5368 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5369 * javax/swing/JViewport.java
5370 (getExtentSize): Return size rather than preferred size.
5371 (toViewCoordinates): New methods.
5372 (getViewSize): Return size rather than preferred size.
5373 (setViewSize): Note view size as set.
5374 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5375 * javax/swing/plaf/basic/BasicScrollBarUI.java
5376 (getPreferredSize): Don't redo layout.
5377 * javax/swing/plaf/basic/BasicViewportUI.java
5378 (paint): Translate image properly and eat exceptions.
5379
5380 2004-06-15 Kim Ho <kho@redhat.com>
5381
5382 * javax/swing/JTabbedPane.java
5383 (setComponent): Remove old component and
5384 add new component.
5385 (setSelectedIndex): Don't operate on the
5386 components if they're null. Don't set index
5387 on the model if the index is the same.
5388 (insertTab): Don't add or hide the component
5389 if it's null. Repaint the container.
5390 * javax/swing/plaf/basic/BasicLookAndFeel.java
5391 Change colors for TabbedPane.
5392 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5393 (mousePressed): Re-layout and paint the component.
5394 (layoutContainer): Don't set location on the view.
5395 (ScrollingViewport::paint): Remove.
5396
5397 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5398
5399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5400 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5401
5402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5403 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5404 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5405 critical region.
5406 (drawLine): Call gdk_flush before leaving GDK critical region.
5407 (fillRect): Likewise.
5408 (drawRect): Likewise.
5409 (copyArea): Likewise.
5410 (copyPixmap): Likewise.
5411 (clearRect): Likewise.
5412 (drawArc): Likewise.
5413 (drawPolyline): Likewise.
5414 (drawPolygon): Likewise.
5415 (fillPolygon): Likewise.
5416 (fillArc): Likewise.
5417 (drawOval): Likewise.
5418 (fillOval): Likewise.
5419
5420 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5421 style parameter.
5422 (GdkFontMetrics): Add style argument to initState call.
5423 (stringWidth(String,int,int,String)): Add style parameter.
5424 (stringWidth(String)): Add style argument to stringWidth call.
5425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5426 (initState): Set pango font style and weight based on AWT style
5427 parameter. Pass default GTK language to
5428 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5429 simply dividing by PANGO_SCALE.
5430 (stringWidth): Set pango font style and weight based on AWT style
5431 parameter.
5432
5433 * java/awt/Button.java (next_button_number): New field.
5434 (paramString): Change output.
5435 (generateName): New method.
5436 (getUniqueLong): New method.
5437
5438 2004-06-14 Kim Ho <kho@redhat.com>
5439
5440 * javax/swing/JTabbedPane.java:
5441 (setComponentAt): Set the component, not
5442 the enabled status.
5443 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5444 (actionPerformed): Let deiconize catch exception.
5445
5446 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5447
5448 * javax/swing/JPopupMenu.java:
5449 (setVisible): Corrected location of a
5450 heavyweight popup menu.
5451
5452 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5453
5454 * javax/swing/MenuSelectionManager.java:
5455 Ran through jalopy to fix formatting style.
5456
5457 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5458
5459 * javax/swing/JLayeredPane.java:
5460 (remove): Revalidate and repaint layered pane after
5461 the component was removed.
5462 javax/swing/JMenu.java:
5463 (setVisible): Display popup menu at the user location,
5464 if one was set by the user.
5465 (setMenuLocation): Reimplemented. Fixed javadoc.
5466 * javax/swing/JMenuBar.java: Added javadoc.
5467 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5468 (MODEL_CHANGED_PROPERTY): New Property.
5469 (isSelected): Implemented.
5470 (setBorderPainted): Fire PropertyChangeEvent
5471 if paintBorder property changes.
5472 (setSelected): Implemented.
5473 (setSelectionModel): Implemented.
5474 * javax/swing/JPopupMenu.java: Added Javadoc
5475 (pack): Implemented.
5476 (setVisible): Reimplemented.
5477 (show): Fixed location.
5478 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5479 Container instead of JPanel.
5480 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5481 (clearSelectedPath): Reimplemented to clear selectedPath
5482 in reverse order.
5483 (processMouseEvent): Reimplemented.
5484 (setSelectedPath): Fire stateChange event indicating that
5485 selected menu path has changed.
5486 (getPath): Change to use ArrayList instead of Vector.
5487 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5488 (installUI): call installKeyboardActions().
5489 (uninstallUI): call uninstallKeyboardActions().
5490
5491 2004-06-13 Michael Koch <konqueror@gmx.de>
5492
5493 * javax/swing/text/DefaultCaret.java,
5494 javax/swing/text/BadLocationException.java:
5495 Reformatted.
5496
5497 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5498
5499 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5500 DEFAULT_COLS): New variables.
5501 (create): Don't allow 0 rows or 0 columns. Instead, set the
5502 values to DEFAULT_ROWS or DEFAULT_COLS.
5503 (getMinimumSize): Likewise.
5504 (getPreferredSize): Likewise.
5505 (minimumSize): Likewise.
5506 (preferredSize): Likewise.
5507 (create): Set peer's editable state.
5508 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5509 zero. Update javadocs.
5510 (TextArea(String)): Likewise.
5511 (TextArea(int,int)): Fix javadocs.
5512 (TextArea(String,int,int,int)): Only throw exception if one of
5513 rows or columns is zero. Fix javadocs.
5514
5515 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5516
5517 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5518 addition to Components.
5519
5520 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5521 wasn't consumed by normal processing, send it to the parent
5522 menu.
5523
5524 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5525 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5526 translation.
5527
5528 2004-06-11 David Jee <djee@redhat.com>
5529
5530 * java/awt/MediaTracker.java
5531 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5532 (addImage(Image,int,int,int)): Likewise.
5533
5534 2004-06-11 Michael Koch <konqueror@gmx.de>
5535
5536 * javax/swing/text/AbstractDocument.java,
5537 javax/swing/text/Document.java,
5538 javax/swing/text/GapContent.java,
5539 javax/swing/text/JTextComponent.java,
5540 javax/swing/text/PlainDocument.java:
5541 Reformatted.
5542
5543 2004-06-11 Michael Koch <konqueror@gmx.de>
5544
5545 * javax/swing/JRootPane.java
5546 (AccessibleJRootPane.serialVersionUID): New field.
5547 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5548 (AccessibleJRootPane.getAccessibleRole): New method.
5549 (RootLayout): Implements Serializable.
5550 (RootLayout.serialVersionUID): New field.
5551 (RootLayout.RootLayout): New constructor.
5552 (setJMenuBar): Made public.
5553 (getJMenuBar): Likewise.
5554 (JRootPane): Likewise.
5555 (createContentPane): Likewise.
5556 (createGlassPane): Likewise.
5557 (createLayeredPane): Likewise.
5558
5559 2004-06-11 Michael Koch <konqueror@gmx.de>
5560
5561 * javax/swing/SwingUtilities.java
5562 (isLeftMouseButton): Fixed javadoc.
5563 (isMiddleMouseButton): Likewise.
5564 (isRightMouseButton): Likewise.
5565
5566 2004-06-11 Michael Koch <konqueror@gmx.de>
5567
5568 * javax/swing/JScrollPane.java
5569 (serialVersionUID): New field.
5570 (columnHeader): Made protected.
5571 (rowHeader): Likewise.
5572 (lowerLeft): Likewise.
5573 (lowerRight): Likewise.
5574 (upperLeft): Likewise.
5575 (upperRight): Likewise.
5576 (horizontalScrollBar): Likewise.
5577 (horizontalScrollBarPolicy): Likewise.
5578 (verticalScrollBar): Likewise.
5579 (verticalScrollBarPolicy): Likewise.
5580 (viewport): Likewise.
5581
5582 2004-06-11 Michael Koch <konqueror@gmx.de>
5583
5584 * javax/swing/LookAndFeel.java: Fixed javadocs.
5585
5586 2004-06-11 Michael Koch <konqueror@gmx.de>
5587
5588 * javax/swing/JEditorPane.java: Fixed javadocs.
5589 (JEditorPane): Removed redundant call to to this().
5590 (fireHyperlinkUpdate): Implemented.
5591
5592 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5593
5594 * javax/swing/JMenu.java: Fixed file name
5595 in the file comment.
5596
5597 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5598
5599 * javax/swing/JMenu.java: Added javadoc.
5600 (JMenu): Added MenuChangeListener to listen to
5601 ChangeEvents occuring in menu's model.
5602 (insert): Throw IllegalArgumentException if
5603 index is less than 0
5604 (setSelected): Reimplement.
5605 (setPopupMenuVisible): Call menu's model isEnabled()
5606 (setDelay): Throw IllegalArgumentException if
5607 given amount of delay is less than 0.
5608 (createActionComponent): Implemented.
5609 (createActionChangeListener): Implemented.
5610 (addSeparator): Implemented.
5611 (getItem): Throw IllegalArgumentException if index is
5612 less than 0.
5613 (getItemCount): Implemented.
5614 (fireMenuSelected): Changed to use menuEvent.
5615 (fireMenuDeselected): Likewise.
5616 (fireMenuCanceled): Likewise.
5617 (setAccelerator): Changed to throw an error if this
5618 method is used.
5619 (doClick): Implemented.
5620 (JMenu.ActionChangedListener): New inner class to handle
5621 PropertyChangeEvents occuring in the actions associated with menu.
5622 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5623 (BasicMenuUI): Added PropertyChangeListener to the menu.
5624 (createChangeListener): Implemented.
5625 (createMenuDragMouseListener): Likewise.
5626 (createMenuKeyListener): Likewise.
5627 (createPropertyChangeListener): Likewise.
5628 (uninstallListeners): Likewise.
5629 (BasicMenuUI.MouseInputHandler): Reimplemented.
5630 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5631 (BasicMenuUI.ChangeHandler): Likewise.
5632 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5633 (BasicMenuUI.MenuKeyHandler): Likewise.
5634
5635 2004-06-10 David Jee <djee@redhat.com>
5636
5637 * java/awt/MediaTracker.java
5638 (imageUpdate): Only do notifyAll() if the image is complete.
5639
5640 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5641
5642 * javax/swing/JApplet.java:
5643 (getJMenuBar): Made public.
5644 (setJMenuBar): Likewise.
5645 * javax/swing/JFrame.java:
5646 (getJMenuBar): Made public.
5647 (setJMenuBar): Likewise.
5648 * javax/swing/JWindow.java:
5649 (getJMenuBar): Removed.
5650 (setJMenuBar): Removed.
5651
5652 2004-06-10 Michael Koch <konqueror@gmx.de>
5653
5654 * javax/swing/JEditorPane.java
5655 (createEditorKitForContentType): Fixed visibility.
5656 (fireHyperlinkUpdate): Likewise.
5657 (getContentType): Likewise.
5658 (getEditorKit): Likewise.
5659 (getEditorKitForContentType): Likewise.
5660 (getPage): Likewise.
5661 (read): Likewise.
5662 (registerEditorKitForContentTyoe): Likewise.
5663 (replaceSelection): Likewise.
5664 (setContentType): Likewise.
5665 (setEditorKit): Likewise.
5666 (setPage): Likewise.
5667
5668 2004-06-10 Michael Koch <konqueror@gmx.de>
5669
5670 * javax/swing/Timer.java
5671 (Timer): New constructor.
5672 * javax/swing/plaf/basic/BasicProgressBarUI.java
5673 (animationTimer): Don't initialize at construction.
5674 (startAnimationTimer): Added since tag.
5675 (stopAnimationTimer): Likewise.
5676 (installUI): Use new Timer constructor.
5677 * javax/swing/plaf/basic/BasicScrollBarUI.java
5678 (installUI): Likewise.
5679 * javax/swing/plaf/basic/BasicSliderUI.java
5680 (installUI): Likewise.
5681
5682 2004-06-10 Michael Koch <konqueror@gmx.de>
5683
5684 * javax/swing/ButtonGroup.java
5685 (serialVersionUID): Made private.
5686 (buttons): Renamed from v, added javadoc.
5687 (sel): Added javadoc.
5688 (ButtonGroup): Likewise.
5689 (add): Likewise.
5690 (remove): Likewise.
5691 (getElements): Likewise.
5692 (getSelection): Likewise.
5693 (setSelected): Likewise.
5694 (isSelected): Likewise.
5695 (getButtonCount): Likewise.
5696
5697 2004-06-10 Michael Koch <konqueror@gmx.de>
5698
5699 * javax/swing/ButtonGroup.java,
5700 javax/swing/ImageIcon.java,
5701 javax/swing/JEditorPane.java,
5702 javax/swing/JRootPane.java,
5703 javax/swing/JTextField.java,
5704 javax/swing/LookAndFeel.java,
5705 javax/swing/plaf/basic/BasicTextUI.java:
5706 Reindented.
5707
5708 2004-06-10 Michael Koch <konqueror@gmx.de>
5709
5710 * javax/swing/text/Style.java: Added javadocs.
5711
5712 2004-06-10 Michael Koch <konqueror@gmx.de>
5713
5714 * javax/swing/JComponent.java
5715 (fireVetoableChange): Removed redundant cast.
5716 * javax/swing/JLabel.java
5717 (getDisabledIcon): Save icon for next call.
5718
5719 2004-06-10 Michael Koch <konqueror@gmx.de>
5720
5721 * javax/swing/KeyStroke.java
5722 (getKeyStroke(char,boolean)): Marked deprecated.
5723
5724 2004-06-10 Michael Koch <konqueror@gmx.de>
5725
5726 * javax/swing/DefaultCellEditor.java,
5727 javax/swing/GrayFilter.java,
5728 javax/swing/event/DocumentEvent.java,
5729 javax/swing/text/JTextComponent.java,
5730 javax/swing/text/MutableAttributeSet.java:
5731 Reindented.
5732
5733 2004-06-10 Michael Koch <konqueror@gmx.de>
5734
5735 * javax/swing/plaf/BorderUIResource.java:
5736 Added serialVersionUID all over.
5737
5738 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5739
5740 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5741
5742 2004-06-10 Michael Koch <konqueror@gmx.de>
5743
5744 * javax/swing/table/DefaultTableCellRenderer.java
5745 (noFocusBorder): Initialize directly.
5746
5747 2004-06-10 Michael Koch <konqueror@gmx.de>
5748
5749 * javax/swing/plaf/basic/BasicArrowButton.java
5750 (setDirection): Use method argument.
5751
5752 2004-06-10 Michael Koch <konqueror@gmx.de>
5753
5754 * javax/swing/plaf/BorderUIResource.java,
5755 javax/swing/plaf/ComponentUI.java,
5756 javax/swing/undo/CompoundEdit.java,
5757 javax/swing/undo/StateEdit.java:
5758 Fixed javadocs all over.
5759
5760 2004-06-10 Michael Koch <konqueror@gmx.de>
5761
5762 * javax/swing/DefaultButtonModel.java
5763 (ARMED): Made public final, fixed value.
5764 (ENABLED): Likewise.
5765 (PRESSED): Likewise.
5766 (ROLLOVER): Likewise.
5767 (SELECTED): Likewise.
5768 (stateMask): Initialize directly.
5769 (listenerList): Likewise.
5770 (mnemonic): Likewise.
5771 (fireStateChanged): Removed argument, use changeEvent as event.
5772 All places where this method is called are fixed too.
5773 (getActionCommant): Fixed javadoc.
5774 (setGroup): Fixed javadoc.
5775 (getGroup): New method.
5776
5777 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5778
5779 * javax/swing/AbstractButton.java
5780 (AbstractButton): Use init() to initialize the button.
5781 (init): New Method. Initializes AbstractButton.
5782 * javax/swing/JMenuItem.java: Documented.
5783 (JMenuItem): Reimplemented.
5784 (init): Implemented.
5785 (setEnabled): Changed to call super.setEnabled()
5786 (processMouseEvent): Reimplemented.
5787 (fireMenuKeyPressed): Implemented.
5788 (fireMenuKeyReleased): Implemented.
5789 (fireMenuKeyTyped): Implemented.
5790 (menuSelectionChanged): disarm the model if the menu item was
5791 deselected.
5792 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5793 (getPath): Change to use ArrayList instead of Vector.
5794 (getPreferredSize): Renamed variable.
5795 (paintMenuItem): Paint margin area of menu item.
5796 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5797 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5798 menu item's bounds before clearing the selection.
5799
5800 2004-06-09 David Jee <djee@redhat.com>
5801
5802 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5803 (GtkTextComponentPeer): Set caret position to 0.
5804 * java/awt/TextComponent.java
5805 (setText): Set caret position to 0.
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5807 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5808 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5809 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5810 Likewise.
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5812 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5813 visible.
5814
5815 2004-06-09 Kim Ho <kho@redhat.com>
5816
5817 * Makefile.am: New files
5818 * Makefile.in: Regenerated
5819 * java/awt/Container.java
5820 (getComponentAt): Removed.
5821 * javax/swing/AbstractAction.java
5822 (ENABLED_PROPERTY): New property.
5823 (putValue): Fire PropertyChangeEvents.
5824 (setEnabled): ditto.
5825 (firePropertyChange): Javadoc and implement
5826 convenience method.
5827 * javax/swing/AbstractButton.java
5828 (setAction): Don't create PropertyChangeListener
5829 if new Action is null.
5830 (setIcon): Don't set icon till after comparing
5831 it.
5832 (configurePropertiesFromAction): Check mnemonic
5833 key before calling intValue().
5834 (createActionPropertyChangeListener): Check
5835 properties rather than bulk change.
5836 * javax/swing/DefaultDesktopManager.java:
5837 Implement.
5838 * javax/swing/DesktopManager.java:
5839 Jalopy and javadoc.
5840 * javax/swing/JComponent.java
5841 (fireVetoableChange): Implement.
5842 (paintImmediately): Use root component.
5843 * javax/swing/JDesktopPane.java: Implement
5844 * javax/swing/JInternalFrame.java: Implement
5845 * javax/swing/JLabel.java
5846 (getDisabledIcon): Return grayscaled icon if
5847 no disabled icon specified.
5848 * javax/swing/JMenuBar.java
5849 (getComponentAtIndex): Use getComponent
5850 * javax/swing/JOptionPane.java
5851 (getDesktopPaneForComponent): Use SwingUtilities'
5852 getAncestorOfClass
5853 (getFrameForComponent): ditto.
5854 * javax/swing/JSplitPane.java
5855 (remove): Use getComponent.
5856 * javax/swing/SwingUtilities.java
5857 (convertPoint): Implement.
5858 * javax/swing/plaf/basic/BasicButtonUI.java
5859 (paintButtonNormal): Check opaqueness before
5860 filling background.
5861 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5862 Implement
5863 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5864 Implement.
5865 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5866 Implement.
5867 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5868 Implement.
5869 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5870 Change InternalFrame and Desktop colors.
5871
5872 2004-06-09 David Jee <djee@redhat.com>
5873
5874 * java/awt/Container.java
5875 (remove): Do not set component to invisible.
5876
5877 2004-06-09 Michael Koch <konqueror@gmx.de>
5878
5879 * javax/swing/tree/DefaultMutableTreeNode.java
5880 (getLeafCount): Renamed enum to e.
5881
5882 2004-06-09 Michael Koch <konqueror@gmx.de>
5883
5884 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5885 (positionForMouseEvent): Removed redundant semicolon.
5886 (continueDrag): Use method arguments.
5887
5888 2004-06-09 Michael Koch <konqueror@gmx.de>
5889
5890 * javax/swing/border/TitledBorder.java,
5891 javax/swing/filechooser/FileSystemView.java,
5892 javax/swing/plaf/basic/BasicButtonListener.java,
5893 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5894 javax/swing/plaf/basic/BasicLabelUI.java,
5895 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5896 javax/swing/plaf/basic/BasicScrollBarUI.java,
5897 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5898 javax/swing/plaf/basic/BasicSliderUI.java,
5899 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5900 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5901 javax/swing/table/JTableHeader.java,
5902 javax/swing/text/AbstractDocument.java,
5903 javax/swing/text/DefaultCaret.java,
5904 javax/swing/text/StyledEditorKit.java,
5905 javax/swing/tree/DefaultTreeCellEditor.java:
5906 Reworked import statements.
5907
5908 2004-06-08 Graydon Hoare <graydon@redhat.com>
5909
5910 * javax/swing/Box.java: Temporarily comment out code
5911 broken due to visibility bug.
5912
5913 2004-06-09 Michael Koch <konqueror@gmx.de>
5914
5915 * javax/swing/ImageIcon.java
5916 (ImageIcon): Added missing constructor.
5917
5918 2004-06-08 Michael Koch <konqueror@gmx.de>
5919
5920 * javax/swing/JToggleButton.java
5921 (JToggleButton): New constructor.
5922 (getAccessibleContext): Moved documentation into javadoc.
5923 (getUIClassID): Likewise.
5924
5925 2004-06-08 Michael Koch <konqueror@gmx.de>
5926
5927 * javax/swing/AbstractButton.java
5928 (getDisabledIcon): Create disabled icon if none exists yet.
5929
5930 2004-06-08 Michael Koch <konqueror@gmx.de>
5931
5932 * javax/swing/plaf/basic/BasicLookAndFeel.java
5933 (initClassDefaults): Added FormattedTextFieldUI.
5934 (loadResourceBundle): Renamed enum to e.
5935
5936 2004-06-08 Michael Koch <konqueror@gmx.de>
5937
5938 * javax/swing/plaf/basic/BasicButtonUI.java
5939 (paintIcon): Simplified.
5940 (paintText): Paint disabled button correctly.
5941
5942 2004-06-08 Michael Koch <konqueror@gmx.de>
5943
5944 * javax/swing/JComponent.java
5945 (createToolTip): Use official JToolTip API.
5946
5947 2004-06-08 Michael Koch <konqueror@gmx.de>
5948
5949 * javax/swing/JToolTip.java
5950 (JToolTip): No arguments in API.
5951 (setTipText): New method.
5952
5953 2004-06-08 Michael Koch <konqueror@gmx.de>
5954
5955 * javax/swing/SwingUtilities.java
5956 (isLeftMouseButton): New method.
5957 (isMiddleMouseButton): New method.
5958 (isRightMouseButton): New method.
5959
5960 2004-06-08 Michael Koch <konqueror@gmx.de>
5961
5962 * javax/swing/AbstractButton.java,
5963 javax/swing/CellRendererPane.java,
5964 javax/swing/JCheckBoxMenuItem.java,
5965 javax/swing/JColorChooser.java,
5966 javax/swing/JComboBox.java,
5967 javax/swing/JComponent.java,
5968 javax/swing/JDesktopPane.java,
5969 javax/swing/JFileChooser.java,
5970 javax/swing/JMenu.java,
5971 javax/swing/JMenuItem.java,
5972 javax/swing/JOptionPane.java,
5973 javax/swing/JPasswordField.java,
5974 javax/swing/JPopupMenu.java,
5975 javax/swing/JProgressBar.java,
5976 javax/swing/JRadioButtonMenuItem.java,
5977 javax/swing/JScrollBar.java,
5978 javax/swing/JSeparator.java,
5979 javax/swing/JSlider.java,
5980 javax/swing/JSplitPane.java,
5981 javax/swing/JTabbedPane.java,
5982 javax/swing/JTextField.java,
5983 javax/swing/JToolBar.java,
5984 javax/swing/text/JTextComponent.java:
5985 Fixed all constructors of accessibility classes.
5986
5987 2004-06-08 Michael Koch <konqueror@gmx.de>
5988
5989 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5990 over.
5991
5992 2004-06-08 Michael Koch <konqueror@gmx.de>
5993
5994 * javax/swing/Box.java
5995 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5996 (AccessibleBoxFiller.serialVersionUID): New member variable.
5997 * javax/swing/DefaultButtonModel.java
5998 (stateMask): Made protected.
5999 (listenerList): Likewise.
6000 (changeEvent): Likewise.
6001 (group): Likewise.
6002 (mnemonic): Likewise.
6003 (actionCommand): Likewise.
6004 (getListeners): New method.
6005 (getActionListeners): New method.
6006 (getItemListeners): New method.
6007 (getChangeListeners): New method.
6008 (fireItemStateChanged): Simplified.
6009 (fireActionPerformed): Simplified.
6010 (fireStateChanged): Simplified.
6011 * javax/swing/JFrame.java
6012 (JFrame): Implements WindowContants.
6013 (HIDE_ON_CLOSE): Removed.
6014 (EXIT_ON_CLOSE): Removed.
6015 (DISPOSE_ON_CLOSE): Removed.
6016 (DO_NOTHING_ON_CLOSE): Removed.
6017 (processWindowEvent): Exit with code 0.
6018 (setDefaultCloseOperation): Do security check before setting value.
6019 * javax/swing/JOptionPane.java
6020 (message): Initialize only in constructor.
6021 * javax/swing/JToolTip.java: Removed unused imports.
6022 * javax/swing/JViewport.java
6023 (serialVersionUID): New member variable.
6024 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6025 (BLIT_SCROLL_MODE): Likewise.
6026 (BACKINGSTORE_SCROLL_MODE): Likewise.
6027 (scrollUnderway): Made protected.
6028 (isViewSizeSet): Likewise.
6029 * javax/swing/ListModel.java: Fixed javadoc.
6030 * javax/swing/Popup.java: Likewise.
6031 * javax/swing/RepaintManager.java
6032 (paintDirtyRegions): Don't use internal classes of
6033 java.util.AbstractMap.
6034 * javax/swing/ScrollPaneConstants.java: Reindented.
6035 * javax/swing/ScrollPaneLayout.java
6036 (viewport): Made protected.
6037 (verticalScrollBar): Made protected, renamed to vsb.
6038 (horizontalScrollBar): Made protected, renamed to hsb.
6039 (rowHeader): Made protected, renamed to rowHead.
6040 (columnHeader): Made protected, renamed to colHead.
6041 (lowerLeft): Made protected.
6042 (lowerRight): Made protected.
6043 (upperLeft): Made protected.
6044 (upperRight): Made protected.
6045 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6046 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6047
6048 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6049
6050 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6051 LOADING if flags has SOMEBITS set.
6052
6053 2004-06-07 Michael Koch <konqueror@gmx.de>
6054
6055 * javax/swing/AbstractButton.java: Reorganized imports.
6056 * javax/swing/ActionMap.java: Likewise.
6057 * javax/swing/DefaultButtonModel.java: Likewise.
6058 * javax/swing/DefaultListModel.java: Likewise.
6059 * javax/swing/ImageIcon.java: Likewise.
6060 (serialVersionUID): New member variable.
6061 * javax/swing/JComboBox.java: Reorganized imports.
6062 * javax/swing/JComponent.java: Likewise.
6063 (ui): Made protected.
6064 (listenerList): Made protected.
6065 (TOOL_TIP_TEXT_KEY): New constant.
6066 (scrollRectToVisible): Removed redundant null check.
6067 * javax/swing/JFrame.java: Reorganized imports.
6068 * javax/swing/JInternalFrame.java: Reorganized imports.
6069 * javax/swing/JProgressBar.java: Likewise.
6070 * javax/swing/JRootPane.java: Likewise.
6071 * javax/swing/JScrollBar.java: Likewise.
6072 * javax/swing/JSeparator.java: Likewise.
6073 * javax/swing/JSlider.java: Likewise.
6074 * javax/swing/JTabbedPane.java: Likewise.
6075 * javax/swing/JTextField.java: Likewise.
6076 * javax/swing/JToolBar.java: Likewise.
6077 * javax/swing/JTree.java: Likewise.
6078 * javax/swing/JViewport.java: Likewise.
6079 * javax/swing/JWindow.java: Likewise.
6080 * javax/swing/KeyStroke.java: Likewise.
6081 * javax/swing/LookAndFeel.java: Likewise.
6082 * javax/swing/MenuSelectionManager.java: Likewise.
6083 * javax/swing/SwingUtilities.java: Likewise.
6084 * javax/swing/Timer.java: Likewise.
6085 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6086 * javax/swing/JList.java
6087 (HORIZONTAL_WRAP): Made final, fixed value.
6088 (VERTICAL): Likewise.
6089 (VERTICAL_WRAP): Likewise.
6090
6091 2004-06-07 Michael Koch <konqueror@gmx.de>
6092
6093 * javax/swing/AbstractButton.java
6094 (serialVersionUID): New member variable.
6095 (AccessibleAbstractButton.serialVersionUID): Likewise.
6096 (AbstractButton): Made public.
6097 * javax/swing/Box.java
6098 (AccessibleBox.serialVersionUID): New member variable.
6099 (Filler.serialVersionUID): Likewise.
6100 * javax/swing/DefaultListSelectionModel.java
6101 (serialVersionUID): Likewise.
6102 * javax/swing/JApplet.java
6103 (serialVersionUID): Likewise.
6104 * javax/swing/JCheckBox.java
6105 (serialVersionUID): Likewise.
6106 * javax/swing/JCheckBoxMenuItem.java
6107 (serialVersionUID): Likewise.
6108 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6109 * javax/swing/JColorChooser.java
6110 (serialVersionUID): Likewise.
6111 (AccessibleJColorChooser.serialVersionUID): Likewise.
6112 * javax/swing/JComponent.java
6113 (serialVersionUID): Made private.
6114 (AccessibleJComponent.serialVersionUID): New member variable.
6115 * javax/swing/JDesktopPane.java
6116 (serialVersionUID): Likewise.
6117 * javax/swing/JDialog.java
6118 (serialVersionUID): Likewise.
6119 * javax/swing/JFormattedTextField.java
6120 (serialVersionUID): Fixed value.
6121 * javax/swing/JFrame.java
6122 (serialVersionUID): New member variable.
6123 (getDefaultCloseOpertation): Made public.
6124 * javax/swing/JLayeredPane.java
6125 (serialVersionUID): Likewise.
6126 (LAYER_PROPERTY): Made final, fixed value.
6127 (JLayeredPane): Made public.
6128 * javax/swing/JMenu.java
6129 (AccessibleJMenu.serialVersionUID): New member variable.
6130 (WinListener.serialVersionUID): Likewise.
6131 * javax/swing/JMenuBar.java
6132 (serialVersionUID): Likewise.
6133 (getComponentAtIndex): Added @deprecated tag.
6134 * javax/swing/JMenuItem.java
6135 (serialVersionUID): New member variable.
6136 (AccessibleJMenuItem.serialVersionUID): Likewise.
6137 * javax/swing/JOptionPane.java
6138 (serialVersionUID): Likewise.
6139 (AccessibleJOptionPane.serialVersionUID): Likewise.
6140 * javax/swing/JPopupMenu.java
6141 (serialVersionUID): Likewise.
6142 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6143 (getPopupMenuListeners): New method.
6144 (getComponentAtIndex): Added @deprecated tag.
6145 * javax/swing/JProgressBar.java
6146 (serialVersionUID): New member variable.
6147 (AccessibleJProgressBar.serialVersionUID): Likewise.
6148 * javax/swing/JRadioButton.java
6149 (serialVersionUID): Likewise.
6150 * javax/swing/JRadioButtonMenuItem.java
6151 (serialVersionUID): Likewise.
6152 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6153 * javax/swing/JScrollBar.java
6154 (serialVersionUID): Likewise.
6155 (AccessibleJScrollBar.serialVersionUID): Likewise.
6156 * javax/swing/JSeparator.java
6157 (serialVersionUID): Likewise.
6158 (AccessibleJSeparator.serialVersionUID): Likewise.
6159 * javax/swing/JSlider.java: Fixed javadocs.
6160 (AccessibleJSlider.serialVersionUID): New member variable.
6161 * javax/swing/JSplitPane.java: Added copyright statement.
6162 (serialVersionUID): New member variable.
6163 (AccessibleJSplitPane.serialVersionUID): Likewise.
6164 * javax/swing/JTabbedPane.java
6165 (serialVersionUID): Likewise.
6166 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6167 (ModelListener.serialVersionUID): Likewise.
6168 (ModelListener.ModelListener): New constructor.
6169 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6170 (WRAP_TAB_LAYOUT): Likewise.
6171 * javax/swing/JTable.java
6172 (serialVersionUID): New member variable.
6173 * javax/swing/JToggleButton.java
6174 (serialVersionUID): Likewise.
6175 (ToggleButtonModel): Made static.
6176 (ToggleButtonModel.serialVersionUID): New member variable.
6177 * javax/swing/JToolTip.java
6178 (serialVersionUID): Likewise.
6179 * javax/swing/JTree.java
6180 (serialVersionUID): Likewise.
6181 * javax/swing/JWindow.java
6182 (serialVersionUID): Likewise.
6183 * javax/swing/Timer.java
6184 (serialVersionUID): Likewise.
6185
6186 2004-06-06 Michael Koch <konqueror@gmx.de>
6187
6188 * javax/swing/SwingConstants.java
6189 (NEXT): New constant.
6190 (PREVIOUS): Likewise.
6191 * javax/swing/UIManager.java
6192 (LookAndFeel): Made public.
6193 (LookAndFeel.getClassName): Likewise.
6194 (LookAndFeel.getName): Likewise.
6195
6196 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6197
6198 * javax/swing/JCheckBoxMenuItem.java:
6199 Removed CVS tags.
6200 * javax/swing/JMenu.java: Likewise.
6201 * javax/swing/JMenuBar.java: Likewise.
6202 * javax/swing/JMenuItem.java: Likewise.
6203 * javax/swing/JPopupMenu.java: Likewise.
6204 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6205 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6206 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6207 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6208 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6209 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6210 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6211
6212 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6213
6214 * javax/swing/plaf/basic/BasicMenuUI.java:
6215 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6216 Call getPath() from super class instead.
6217
6218 2004-05-31 David Jee <djee@redhat.com>
6219
6220 * java/awt/Container.java
6221 (remove): Set component visibility to false after removing it.
6222
6223 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6224
6225 * java/awt/Component.java (getForeground): Return SystemColor if
6226 parent is null.
6227 (getBackground): Likewise.
6228
6229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6230 (item_highlighted): New function.
6231 (connectSignals): Set item_highlighted as list's select
6232 function.
6233
6234 * java/applet/Applet.java: Revert changes from 2004-04-29,
6235 2004-03-15 and 2004-03-14.
6236
6237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6238 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6239 factor.
6240
6241 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6242 "Dialog" as the default font.
6243 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6244 Likewise.
6245 * java/awt/Component.java (getFont): Return "Dialog" font by
6246 default.
6247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6248 Multiply size argument to pango_font_description_set_size by the
6249 DPI conversion factor rather than by PANGO_SCALE.
6250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6258 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6260 Divide baseline y coordinate by DPI conversion factor rather
6261 than by PANGO_SCALE.
6262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6263 (area_prepared): Fix typo.
6264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6265 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6267 (dpi_conversion_factor): New global variable.
6268 (init_dpi_conversion_factor): New function to calculate and
6269 track DPI conversion factor.
6270 (dpi_changed_cb): New callback.
6271 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6272
6273 2004-05-27 David Jee <djee@redhat.com>
6274
6275 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6276 (getGraphics): Return a new GdkGraphics instance.
6277 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6278 (getGraphics): Call super.getGraphics().
6279
6280 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6281
6282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6283 (setNativeBounds): Clamp width and height values to >= 0.
6284
6285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6286 (find_fg_color_widget): Handle GtkOptionMenu specially.
6287
6288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6289 (pre_event_handler): Only post configure events to visible
6290 top-level windows.
6291
6292 2004-05-26 David Jee <djee@redhat.com>
6293
6294 * java/awt/BorderLayout.java
6295 (layoutContainer): Fix size calculations.
6296
6297 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6298
6299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6300 (window_wm_protocols_filter): Remove function.
6301 (create): Remove filter that removes WM_TAKE_FOCUS client
6302 messages.
6303
6304 2004-06-17 Anthony Green <green@redhat.com>
6305
6306 * java/util/zip/ZipFile.java (getInputStream): Return null if
6307 entry not found.
6308
6309 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6310 directory contents to the class path.
6311
6312 2004-06-15 Andrew Haley <aph@redhat.com>
6313
6314 * java/lang/natSystem.cc (getenv0): Don't assume environment
6315 variable is Latin 1 coded.
6316
6317 2004-06-14 Andreas Jaeger <aj@suse.de>
6318
6319 * configure.in: Support --enable-version-specific-runtime-libs.
6320 * configure: Regenerated.
6321
6322 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6323
6324 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6325 to pass ClassLoader argument.
6326 * java/util/GregorianCalendar.java: Likewise.
6327 * java/util/Currency.java: Likewise.
6328 * java/text/BreakIterator.java: Likewise.
6329 * java/text/Collator.java: Likewise.
6330 * java/text/DateFormat.java: Likewise.
6331 * java/text/DateFormatSymbols.java: Likewise.
6332 * java/text/DecimalFormatSymbols.java: Likewise.
6333 * java/text/NumberFormat.java: Likewise.
6334 * java/awt/Window.java: Likewise.
6335
6336 2004-06-14 Andrew Haley <aph@redhat.com>
6337
6338 * java/lang/System.java: (getenv0): New method.
6339 (getenv): Add security check. Do the right thing.
6340 * java/lang/natSystem.cc (getenv0): New method.
6341
6342 2004-06-12 Mark Wielaard <mark@klomp.org>
6343
6344 * javax/swing/RepaintManager.java
6345 (paintDirtyRegions): Use entrySet(), not values().
6346
6347 2004-06-10 Mark Wielaard <mark@klomp.org>
6348
6349 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6350 NoSuchMethodError.
6351
6352 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6353
6354 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6355 when we already know the answer.
6356 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6357 (setStartRule,setEndRule): Don't take abs of day number.
6358 (getOffset): Clarify docs. Add argument checks.
6359 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6360 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6361 endTimeMode.
6362
6363 2004-06-10 Tom Tromey <tromey@redhat.com>
6364
6365 * interpret.cc (run): Handle wide fload.
6366
6367 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6368
6369 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6370
6371 2004-06-05 Michael Koch <konqueror@gmx.de>
6372
6373 * javax/swing/SwingConstants.java
6374 (NEXT): New constant.
6375 (PREVIOUS): Likewise.
6376
6377 2004-06-05 Michael Koch <konqueror@gmx.de>
6378
6379 * javax/swing/UIManager.java
6380 (LookAndFeel): Made public.
6381 (LookAndFeel.getName): Likewise.
6382 (LookAndFeel.getClassName): Likewise.
6383
6384 2004-06-03 Michael Koch <konqueror@gmx.de>
6385
6386 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6387 (requestFocus): Revert last changes.
6388 (gtkRequestFocus): Removed.
6389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6390 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6391 Renamed to ...
6392 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6393 Reverted last patch.
6394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6395 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6396 Reverted comment change.
6397
6398 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6399
6400 * javax/swing/JCheckBoxMenuItem.java:
6401 Removed CVS tags.
6402 * javax/swing/JMenu.java: Likewise.
6403 * javax/swing/JMenuBar.java: Likewise.
6404 * javax/swing/JMenuItem.java: Likewise.
6405 * javax/swing/JPopupMenu.java: Likewise.
6406 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6407 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6408 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6409 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6410 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6411 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6412 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6413
6414 2004-06-01 Tom Tromey <tromey@redhat.com>
6415
6416 * java/io/ObjectStreamField.java: Cleaned up imports.
6417
6418 2004-06-01 Michael Koch <konqueror@gmx.de>
6419
6420 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6421
6422 2004-06-01 Mark Wielaard <mark@klomp.org>
6423
6424 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6425
6426 2004-06-01 Michael Koch <konqueror@gmx.de>
6427
6428 * java/security/Security.java
6429 (insertProviderAt): Use equals() instead of ==.
6430 (removeProvicer): Likewise.
6431 (getProvider): Likewise.
6432 * java/security/Signature.java
6433 (sign): Don't set state to UNINITIALIZED.
6434 (verify): Likewise.
6435
6436 2004-06-01 Mark Wielaard <mark@klomp.org>
6437
6438 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6439 Implement by calling gtkRequestFocus.
6440 (gtkRequestFocus): New native method.
6441 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6442 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6443 Renamed to ...
6444 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6445 New function name.
6446 (filter_expose_event_handler):
6447 Mark static.
6448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6449 (menu_pos): Mark static.
6450
6451 2004-06-01 Michael Koch <konqueror@gmx.de>
6452
6453 * java/text/CollationElementIterator.java,
6454 java/text/CollationKey.java,
6455 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6456 * testsuite/libjava.mauve/xfails: Removed all
6457 java.text.CollationElementIterator tests.
6458
6459 2004-06-01 Michael Koch <konqueror@gmx.de>
6460
6461 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6462 version.
6463 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6464 Java 1.5 keyword usage.
6465
6466 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6467
6468 * javax/swing/plaf/basic/BasicMenuUI.java:
6469 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6470 Call getPath() from super class instead.
6471
6472 2004-05-31 Michael Koch <konqueror@gmx.de>
6473
6474 * java/io/SequenceInputStream.java:
6475 Rename enum to e because enum is a keyword in Java 1.5.
6476
6477 2004-05-31 Michael Koch <konqueror@gmx.de>
6478
6479 * gnu/java/rmi/rmic/CompilerProcess.java:
6480 Fixed javadoc to by XHTML compliant.
6481
6482 2004-05-30 Mark Wielaard <mark@klomp.org>
6483
6484 * java/awt/Toolkit.java (loadSystemColors): Implement.
6485
6486 2004-05-30 Michael Koch <konqueror@gmx.de>
6487
6488 * java/lang/System.java: Reordered imports.
6489
6490 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6491
6492 * java/text/DecimalFormat.java
6493 (parse): Fixed parsing of decimal strings. Number of maximum
6494 digits to be read should now work.
6495 * java/text/SimpleDateFormat.java
6496 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6497 formatter. This fixes DateFormatTest.
6498
6499 2004-05-30 Michael Koch <konqueror@gmx.de>
6500
6501 * java/nio/Buffer.java
6502 (limit): Fixed off by one error.
6503 * java/nio/CharBuffer.java
6504 (wrap): Fixed arguments, added javadocs.
6505
6506 2004-05-30 Michael Koch <konqueror@gmx.de>
6507
6508 * gnu/java/beans/BeanInfoEmbryo.java,
6509 java/awt/im/InputContext.java,
6510 javax/swing/tree/DefaultMutableTreeNode.java:
6511 Rename enum to e because enum is a keyword in Java 1.5.
6512
6513 2004-05-30 Michael Koch <konqueror@gmx.de>
6514
6515 * gnu/java/math/MPN.java,
6516 java/awt/geom/Arc2D.java:
6517 Fixed javadocs all over.
6518
6519 2004-05-30 Michael Koch <konqueror@gmx.de>
6520
6521 * java/awt/DefaultKeyboardFocusManager.java
6522 (dispatchEvent): Call method to get key event dispatchers.
6523 (dispatchKeyEvent): Call method to get key event post processors.
6524 * javax/swing/JComponent.java
6525 (listenerList): Made protected.
6526 * javax/swing/JOptionPane.java
6527 (message): Don't initialize.
6528 (JOptionPane): Set message text.
6529 * javax/swing/JPopupMenu.java
6530 (show): Fixed typo in argument name.
6531 * javax/swing/RepaintManager.java
6532 (paintDirtyRegions): Use public API of java.util.Map.
6533 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6534 (positionForMouseEvent): Removed redundant ';'.
6535 (continueDrag): Use method arguments.
6536
6537 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6538
6539 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6540 results.
6541
6542 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6543
6544 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6545 _Jv_AllocBytes.
6546 * gnu/gcj/RawDataManaged.java: New file.
6547 * java/lang/Thread.java (data): Declare as RawDataManaged.
6548 * java/lang/natThread.cc (init_native): Cast natThread data to
6549 RawDataManaged, not jobject.
6550 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6551 * Makefile.in: Rebuilt.
6552
6553 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6554
6555 * java/util/SimpleTimeZone.java: Reverting my last change until I
6556 can fix it properly.
6557
6558 2004-05-27 Michael Koch <konqueror@gmx.de>
6559
6560 * javax/swing/JPopupMenu.java
6561 (isVisible): Do not use visible directly.
6562 (setVisible): Likewise.
6563 * javax/swing/JWindow.java
6564 (JWindow): call accessible constructor.
6565 * javax/swing/RepaintManager.java
6566 (paintDirtyRegions): Use public methods to obtain iterator.
6567
6568 2004-05-25 David Jee <djee@redhat.com>
6569
6570 * java/awt/Container.java
6571 (remove): Set component's parent to null only after we removed the
6572 component from its parent's layout manager.
6573
6574 2004-05-25 David Jee <djee@redhat.com>
6575
6576 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6577 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6578 is valid.
6579 * gnu/java/awt/peer/gtk/GtkListPeer.java
6580 (getSize): Change native method declaration.
6581 (minimumSize): Pass visible row count into getSize().
6582 (preferredSize): Likewise.
6583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6584 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6585 natural size. Use visible row count to determine the final height
6586 value to return.
6587
6588 2004-05-21 Graydon Hoare <graydon@redhat.com>
6589
6590 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6591 (setClip): Minor correction to order of operations.
6592
6593 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6594 * javax/swing/ScrollPaneLayout.java: Likewise.
6595 * javax/swing/JViewPort.java: Likewise.
6596 * javax/swing/ViewportLayout.java: Likewise.
6597
6598 * javax/swing/JComponent.java: Rewrite.
6599 * javax/swing/RepaintManager.java: Likewise.
6600
6601 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6602 * javax/swing/JList.java
6603 (setSelectedIndices):
6604 (getSelectedIndices):
6605 (getSelectedValues): New functions.
6606 (getPreferredScrollableViewportSize): Return preferred size.
6607 (getScrollableUnitIncrement):
6608 (getScrollableBlockIncrement): Initial implementations.
6609 * javax/swing/JRootPane.java: Clean up slightly.
6610 (getUI):
6611 (setUI):
6612 (updateUI):
6613 (getUIClassID):
6614 (isValidateRoot): Add overrides from JComponent.
6615 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6616 * javax/swing/UIManager.java (getDimension): Return the dimension.
6617
6618 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6619 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6620 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6621 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6622 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6623 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6624 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6625 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6626 Likewise, and set background.
6627 * javax/swing/plaf/basic/BasicListUI.java:
6628 Likewise, and improve a bit.
6629 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6630 Likewise, and adjust calculations.
6631 * javax/swing/plaf/basic/BasicViewportUI.java:
6632 Likewise, and improve a bit.
6633 * javax/swing/plaf/basic/BasicLookAndFeel.java
6634 (Button.margin): Shrink.
6635
6636 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6637 Hack to set horizontal always, workaround pango.
6638
6639 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6641 Synchronize more often, check cairo status after ops,
6642 handle changes to cairo pattern API, check for disposal.
6643
6644 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6645
6646 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6647 (BasicMenuItemUI): Create propertyChangeListener.
6648 (getPath):Implemented.
6649 (installListeners): Add propertyChangeListener to menuItem.
6650 (uninstallListeners): Remove propertyChangeListener from menuItem.
6651 (update): Implemented.
6652 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6653 (mouseEntered): Take insets of popup menu into account when
6654 calculating position of popup menu.
6655
6656 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6657
6658 * Makefile.am: Added new file.
6659 * Makefile.in: Regenerate.
6660 * javax/swing/JMenuBar.java:
6661 Started implementation.
6662 * javax/swing/JPopupMenu.java:
6663 (setVisible): Fixed location of lightweight/mediumweight
6664 popup menu.
6665 (show): Fixed location of PopupMenu.
6666 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6667 New file. UI Delegate for JMenuBar.
6668 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6669 (mouseEntered): Corrected position of the submenu.
6670
6671 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6672
6673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6674 to _gtk_accel_group_attach.
6675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6676 Likewise.
6677
6678 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6679 package access. Don't override setFont.
6680 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6681 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6682 gtkWidgetRequestFocus package access.
6683 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6684 setFont.
6685 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6686 Give gtkWidgetRequestFocus package access.
6687 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6688 gtkWidgetRequestFocus package access. Don't override setFont.
6689 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6690 setFont.
6691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6692 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6693 region.
6694 (gtkSetFont): Likewise.
6695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6696 Implement.
6697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6698 (gtkSetFont): Whitespace fix.
6699
6700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6701 (gtkWidgetSetUsize): Remove method.
6702
6703 2004-05-18 David Jee <djee@redhat.com>
6704
6705 * java/awt/image/MemoryImageSource.java
6706 (newPixels(int,int,int,int,boolean)): Set only the specified
6707 rectangle of pixels.
6708 (newPixels(byte[],ColorModel,int,int)): Implement.
6709 (newPixels(int[],ColorModel,int,int)): Implement.
6710
6711 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6712
6713 * Makefile.am: Added new file.
6714 * Makefile.in: Regenerate.
6715 * javax/swing/JMenu.java: Started
6716 implementation.
6717 * javax/swing/JPopupMenu.java:
6718 (insert): If specified index is -1, then
6719 add component at the end.
6720 (isPopupTrigger): Reimplemented.
6721 (JPopupMenu.LightWeightPopup): setBounds
6722 of the lightWeightPopup before adding it
6723 to the layeredPane.
6724 (javax/swing/plaf/basic/BasicIconFactory.java):
6725 (getMenuArrowIcon): Implemented.
6726 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6727 (getPreferredSize): Add size of the arrow icon
6728 if this menu item is instance of JMenu.
6729 (paintMenuItem): Paint arrow icon if this
6730 menu item is a submenu.
6731 * javax/swing/plaf/basic/BasicMenuUI.java:
6732 New File. UI Delegate for JMenu.
6733
6734 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6735
6736 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6737 Post KEY_TYPED events.
6738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6739 (generates_key_typed_event): Remove function.
6740
6741 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6742
6743 * javax/swing/JRootPane.java
6744 (JRootPane.RootLayout): Reimplemented to
6745 set bounds of contentPane and menuBar.
6746 (setJMenuBar): Add menu bar to the layered pane.
6747 (createLayeredPane): Set layout of layeredPane
6748 to null.
6749 * javax/swing/JLayeredPane.java:
6750 (addImpl): Calculate index of the component in the
6751 layeredPane according to the specified position within
6752 the layer.
6753
6754 2004-05-17 David Jee <djee@redhat.com>
6755
6756 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6757 (setPixels): Change color model to the default model after
6758 converting pixels.
6759 * java/awt/image/MemoryImageSource.java
6760 (newPixels): Set only the specified rectangle of pixels.
6761
6762 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6763
6764 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6765 -l-java-beans -l-javax-accessibility -l-javax-swing.
6766
6767 * java/awt/AWTEvent.java (toString): Print source's name rather
6768 than the source itself.
6769
6770 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6771
6772 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6773 native.
6774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6775 (gdk_color_to_java_color): New function.
6776 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6777
6778 2004-05-12 David Jee <djee@redhat.com>
6779
6780 * java/awt/image/RGBImageFilter.java:
6781 Initialize origmodel as null.
6782 (makeColor): Fix pixel component order.
6783 (filterRGBPixels): Fix pixel iteration.
6784 (setPixels): Add extra checks for index color model. Convert pixels
6785 to default color model if necessary.
6786 (convertColorModelToDefault): New override method for byte pixels.
6787 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6788 (makeColorbyDefaultCM): New override method for byte pixels.
6789 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6790 (makeColor): Fix pixel component order.
6791
6792 2004-05-11 Kim Ho <kho@redhat.com>
6793
6794 * javax/swing/Box.java:
6795 Comment out more parts of Box.Filler.
6796
6797 2004-05-11 Kim Ho <kho@redhat.com>
6798
6799 * javax/swing/Box.java:
6800 Remove reference to AccessibleAWTComponent so
6801 it compiles again.
6802
6803 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6804
6805 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6807 implementation of list peer to use GtkTreeView instead of
6808 deprecated GtkCList.
6809
6810 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6811
6812 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6813 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6814 (handleEvent): Remove keyChar argument to
6815 gtkWidgetDispatchKeyEvent calls.
6816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6817 compiler warnings.
6818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6821 Likewise.
6822
6823 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6824
6825 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6826 (gtkWidgetRequestFocus): Mark protected.
6827 (GtkComponentPeer): Only set the peer's bounds if its component
6828 is valid.
6829 * java/awt/Component.java (static): Set the default keyboard
6830 focus manager.
6831 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6832 requestFocusInWindow(temporary)): Don't request focus if the
6833 component is not showing. Get tree lock before traversing
6834 component hierarchy.
6835 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6836 Only set the global focus owner if it is not a Window.
6837 (processKeyEvent): Consume keystrokes associated with the focus
6838 traversal keystroke.
6839 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6840 downFocusCycle): Call requestFocusInWindow instead of
6841 requestFocus.
6842 * java/awt/EventDispatchThread.java (run): Move setting of
6843 default keyboard focus manager to Component.java.
6844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6845 (awt_keycode_to_keysym): New function.
6846 (gtkWidgetDispatchKeyEvent): Finish implementation.
6847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6848 (pre_event_handler): Add FIXME comment.
6849
6850 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6851 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6852 (gtkWidgetRequestFocus): New method.
6853 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6854 disable Tab and Shift-Tab keystrokes.
6855 (addNotify, appendText, insertText, replaceText): Simplify peer
6856 retrieval code.
6857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6858 (connectSignals): Remove connections to "commit" signals.
6859 Remove C++-style comments.
6860
6861 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6863 (handleEvent): Activate GTK button when the space bar key is
6864 pressed.
6865 (gtkActivate): New method.
6866
6867 2004-05-06 David Jee <djee@redhat.com>
6868
6869 * java/awt/image/CropImageFilter.java
6870 (setPixels): Implement for byte array pixels.
6871 * java/awt/image/ReplicateScaleFilter.java
6872 (setPixels): Implement for byte array pixels.
6873 (replicatePixels): Overload for byte array pixels.
6874
6875 2004-05-06 Kim Ho <kho@redhat.com>
6876
6877 * javax/swing/Box.java:
6878 (getAccessibleContext): Return an instance of the
6879 correct class.
6880
6881 2004-05-05 David Jee <djee@redhat.com>
6882
6883 * gnu/java/awt/peer/gtk/GdkGraphics.java
6884 (drawImage): When component is null, use SystemColor.window as
6885 the default bgcolor.
6886 * gnu/java/awt/peer/gtk/GtkImage.java
6887 (setPixels): We can avoid iterating through the pixel rows only
6888 when height is 1.
6889 * java/awt/Image.java
6890 (getScaledInstance): Partially implement.
6891 * java/awt/image/CropImageFilter.java
6892 (setProperties): Fix "filter" property.
6893 (setPixels): Implement.
6894 * java/awt/image/ReplicateScaleFilter.java
6895 (setDimensions): Use scaled dimensions.
6896 (setPixels): Implement.
6897 (replicatePixels): New method.
6898
6899 2004-05-05 David Jee <djee@redhat.com>
6900
6901 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6902 (convertPixels): If either pixels or model is null, return null.
6903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6904 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6905 is null, do nothing and return.
6906
6907 2004-05-03 Kim Ho <kho@redhat.com>
6908
6909 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6910 (getGraphics): Like GtkFramePeer, the Graphics
6911 object needs to be translate to account for
6912 window decorations.
6913 (postMouseEvent): New method. Account for
6914 translation.
6915 (postExposeEvent): ditto.
6916 * javax/swing/Box.java: Stubbed.
6917 * javax/swing/JDialog.java: Ran through jalopy
6918 to fix indentation.
6919 (JDialog): Call SwingUtilities' getOwnerFrame
6920 for null owners.
6921 (setLayout): Check isRootPaneCheckingEnabled
6922 * javax/swing/JOptionPane.java: Re-implemented.
6923 * javax/swing/SwingUtilities.java:
6924 (getOwnerFrame): Static method to grab a default
6925 owner frame for Dialogs that don't specify owners.
6926 * javax/swing/event/SwingPropertyChangeSupport.java:
6927 (firePropertyChange): Fix early exit condition.
6928 * javax/swing/plaf/basic/BasicLabelUI.java:
6929 (paint): Avoid painting text if it is null
6930 or empty.
6931 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6932 Implement.
6933
6934 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6935
6936 * Makefile.am: Added new file.
6937 * Makefile.in: Regenerate.
6938 * javax/swing/JPopupMenu.java:
6939 Started implementation.
6940 * javax/swing/JWindow.java
6941 (JWindow): call super() if parent for window
6942 is not specified.
6943 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6944 New File. UI Delegate for JPopupMenu.
6945
6946 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6947
6948 * javax/swing/JApplet.java: Indicated that JApplet
6949 implements RootPaneContainer and made method of this
6950 interface public.
6951 * javax/swing/JFrame.java: Ditto.
6952 * javax/swing/JWindow.java: Ditto.
6953
6954 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6955
6956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6957 (nativeSetBounds): Call gdk_window_move in addition to
6958 gtk_window_move.
6959
6960 * java/applet/Applet.java (preferredSize): Call parent's
6961 preferredSize if the applet stub is null.
6962 (minimumSize): Likewise for parent's minimumSize.
6963
6964 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6965
6966 * javax/swing/JMenuItem.java
6967 (createActionPropertyChangeListener): Implemented.
6968 (processMouseEvent): Ditto.
6969 (fireMenuDragMouseEntered): Ditto.
6970 (fireMenuDragMouseExited): Ditto.
6971 (fireMenuDragMouseDragged): Ditto.
6972 (fireMenuDragMouseReleased): Ditto.
6973 (menuSelectionChanged): Ditto.
6974 (getSubElements): Ditto.
6975 (getComponent): Ditto.
6976 (addMenuDragMouseListener): Ditto.
6977 (removeMenuDragMouseListener):Ditto.
6978 (addMenuKeyListener): Ditto.
6979 (removeMenuKeyListener): Ditto.
6980 * javax/swing/plaf/basic/BasicMenuItemUI.java
6981 (doClick): Imlemented.
6982 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6983 Don't handle mouse events here. Pass them to
6984 MenuSelectionManager.
6985
6986 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6987 Used correct version of jalopy configuration
6988 file to fix style in the files below.
6989
6990 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6991
6992 * javax/swing/JCheckBoxMenuItem.java:
6993 Fixed style and removed unnecessary comments.
6994 * javax/swing/JMenuItem.java: Ditto.
6995 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6996 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6997 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6998 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6999
7000 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7001
7002 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7003 C-style.
7004
7005 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7006
7007 * java/awt/ContainerOrderFocusTraversalPolicy.java
7008 (getComponentAfter): Start from current component and work up
7009 the component hierarchy until an acceptable component is found.
7010 Synchronize on tree lock.
7011 (getComponentBefore): Likewise.
7012
7013 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7014
7015 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7016 focus-related debugging messages.
7017 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7018 * java/awt/EventDispatchThread.java: Likewise.
7019 * java/awt/KeyboardFocusManager.java: Likewise.
7020 * java/awt/Window.java: Likewise.
7021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7022 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7023
7024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7025 new C++-style comments to C-style comments.
7026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7027
7028 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7029 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7030 (handleEvent): Dispatch key press and key release events to
7031 backing widget.
7032 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7033 (gtkWidgetRequestFocus): New method.
7034 (gtkWidgetDispatchKeyEvent): Likewise.
7035 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7036 requestFocusInWindow, requestFocusInWindow(boolean),
7037 getFocusCycleRootAncestor, nextFocus, transferFocus,
7038 transferFocusBackward, transferFocusUpCycle, hasFocus,
7039 isFocusOwner): Implement and document focus-handling methods.
7040 (setFocusTraversalKeys): Inherit focus traversal keys when
7041 keystrokes argument is null. Fix focus-handling documentation
7042 throughout class.
7043 * java/awt/Container.java (setFocusTraversalKeys,
7044 getFocusTraversalKeys, areFocusTraversalKeysSet,
7045 isFocusCycleRoot, setFocusTraversalPolicy,
7046 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7047 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7048 Implement and document focus-handling methods.
7049 (transferFocusBackward): Remove method.
7050 (readObject, writeObject): Implement and document serialization
7051 methods.
7052 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7053 and document.
7054 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7055 document.
7056 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7057 partially document.
7058 * java/awt/EventDispatchThread.java (run): Set default keyboard
7059 focus manager. Attempt to dispatch each event to the keyboard
7060 focus manager before normal dispatch.
7061 * java/awt/KeyboardFocusManager.java: Implement and partially
7062 document.
7063 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7064 (show): Focus initial component when window is shown for the
7065 first time.
7066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7067 (pre_event_handler): Replace complex key press and key release
7068 logic with simple callbacks into GtkComponentPeer.
7069 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7070
7071 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7072
7073 * javax/swing/MenuSelectionManager.java
7074 (componentForPoint): Added new method.
7075 (defaultManager): New Method. Implemented.
7076 (getSelectedPath): Ditto.
7077 (isComponentPartOfCurrentMenu): Ditto.
7078 (processKeyEvent): Added new method.
7079 (processMouseEvent): New Method. Implemented.
7080 (setSelectedPath): Ditto.
7081 (getPath): Ditto.
7082
7083 2004-04-19 Kim Ho <kho@redhat.com>
7084
7085 * java/awt/Container.java:
7086 (remove): Set the component's parent to null.
7087 (getComponentAt): Implement.
7088 * javax/swing/JComponent.java:
7089 (JComponent): Initialize defaultLocale
7090 (getDefaultLocale): Implement.
7091 (setDefaultLocale): ditto.
7092 * javax/swing/JSlider.java:
7093 (JSlider): Fix calculation of value.
7094 * javax/swing/JSplitPane.java: Implement.
7095 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7096 Change SplitPane's default divider size.
7097 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7098 (paint): Remove unused code.
7099 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7100 Added comments and ran through jalopy.
7101 (setBasicSplitPaneUI): Get reference to hidden divider
7102 and set up one touch buttons if necessary.
7103 (setBorder): Fire propertyChangeEvent only if
7104 borders are different.
7105 (getPreferredSize): Defer to layout manager.
7106 (propertyChange): Implement.
7107 (oneTouchExpandableChanged): ditto.
7108 (createLeftOneTouchButton): Use BasicArrowButton.
7109 (createRightOneTouchButton): ditto.
7110 (moveDividerTo): New method. Moves the divider
7111 to a set location based on the last divider location.
7112 (BasicSplitPaneDivider::MouseHandler): Implement.
7113 (BasicSplitPaneDivider::OneTouchButton): Removed.
7114 (BasicSplitPaneDivider::DragController): Implement.
7115 (BasicSplitPaneDivider::VerticalDragController):
7116 ditto.
7117 (BasicSplitPaneDivider::DividerLayout): ditto.
7118 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7119 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7120 (calculateLayoutInfo): Don't show component if it's
7121 null.
7122 (paintTab): Fix title paint logic.
7123
7124 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7125
7126 PR libgcj/8321
7127 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7128 (setStartRule,setEndRule): Don't take abs of day number.
7129 (getOffset): Clarify docs. Add argument checks.
7130 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7131 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7132 endTimeMode.
7133 * testsuite/libjava.mauve/xfails
7134 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7135
7136 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7137
7138 Layout interfaces during preparation, not initialization.
7139 * java/lang/natClass.cc (initializeClass): Move
7140 _Jv_LayoutInterfaceMethods call...
7141 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7142
7143 2004-05-19 Anthony Green <green@localhost.localdomain>
7144
7145 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7146 gnu.javax.rmi code.
7147 * Makefile.in: Rebuilt.
7148 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7149 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7150 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7151 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7152 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7153 gnu/javax/rmi/CORBA/DelegateFactory.java,
7154 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7155 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7156 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7157 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7158 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7159 gnu/javax/rmi/PortableServer.java: Remove files.
7160
7161 2004-05-19 Anthony Green <green@redhat.com>
7162
7163 * Makefile.am: Define JAVA_EXT_DIRS.
7164 * Makefile.in: Rebuilt.
7165 * java/lang/natRuntime.cc (insertSystemProperties): Set
7166 java.ext.dirs property.
7167
7168 2004-05-16 Mark Wielaard <mark@klomp.org>
7169
7170 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7171
7172 2004-05-15 Mark Wielaard <mark@klomp.org>
7173
7174 * doc/cni.sgml: Removed, merged into gcj.texi.
7175
7176 2004-05-15 Mark Wielaard <mark@klomp.org>
7177
7178 * Makefile.am (ordinary_java_source_files): Add new javax.print
7179 classes.
7180 * Makefile.in: Regenerated.
7181
7182 2004-05-15 Michael Koch <konqueror@gmx.de>
7183
7184 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7185 javax/print/attribute/standard/DateTimeAtCreation.java,
7186 javax/print/attribute/standard/DateTimeAtProcessing.java,
7187 javax/print/attribute/standard/DocumentName.java,
7188 javax/print/attribute/standard/JobHoldUntil.java,
7189 javax/print/attribute/standard/JobImpressionsCompleted.java,
7190 javax/print/attribute/standard/JobMessageFromOperator.java,
7191 javax/print/attribute/standard/JobName.java,
7192 javax/print/attribute/standard/JobOriginatingUserName.java,
7193 javax/print/attribute/standard/JobPriority.java,
7194 javax/print/attribute/standard/JobPrioritySupported.java,
7195 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7196 javax/print/attribute/standard/OutputDeviceAssigned.java,
7197 javax/print/attribute/standard/PrinterInfo.java,
7198 javax/print/attribute/standard/PrinterLocation.java,
7199 javax/print/attribute/standard/PrinterMakeAndModel.java,
7200 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7201 javax/print/attribute/standard/PrinterName.java,
7202 javax/print/attribute/standard/QueuedJobCount.java,
7203 javax/print/attribute/standard/RequestingUserName.java:
7204 Fixed javadocs all over.
7205
7206 2004-05-15 Michael Koch <konqueror@gmx.de>
7207
7208 * javax/print/DocFlavor.java,
7209 javax/print/attribute/standard/ColorSupported.java,
7210 javax/print/attribute/standard/Compression.java,
7211 javax/print/attribute/standard/CopiesSupported.java,
7212 javax/print/attribute/standard/Fidelity.java,
7213 javax/print/attribute/standard/Finishings.java,
7214 javax/print/attribute/standard/JobImpressionsSupported.java,
7215 javax/print/attribute/standard/JobKOctetsSupported.java,
7216 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7217 javax/print/attribute/standard/JobSheets.java,
7218 javax/print/attribute/standard/JobState.java,
7219 javax/print/attribute/standard/JobStateReason.java,
7220 javax/print/attribute/standard/JobStateReasons.java,
7221 javax/print/attribute/standard/Media.java,
7222 javax/print/attribute/standard/MediaSizeName.java,
7223 javax/print/attribute/standard/MultipleDocumentHandling.java,
7224 javax/print/attribute/standard/NumberUpSupported.java,
7225 javax/print/attribute/standard/OrientationRequested.java,
7226 javax/print/attribute/standard/PDLOverrideSupported.java,
7227 javax/print/attribute/standard/PageRanges.java,
7228 javax/print/attribute/standard/PresentationDirection.java,
7229 javax/print/attribute/standard/PrintQuality.java,
7230 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7231 javax/print/attribute/standard/PrinterMoreInfo.java,
7232 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7233 javax/print/attribute/standard/PrinterResolution.java,
7234 javax/print/attribute/standard/PrinterState.java,
7235 javax/print/attribute/standard/PrinterStateReason.java,
7236 javax/print/attribute/standard/PrinterStateReasons.java,
7237 javax/print/attribute/standard/PrinterURI.java,
7238 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7239 javax/print/attribute/standard/Severity.java,
7240 javax/print/attribute/standard/SheetCollate.java,
7241 javax/print/attribute/standard/Sides.java:
7242 Added serialVersionUID and removed final keyword where it doenst
7243 belong.
7244
7245 2004-05-15 Michael Koch <konqueror@gmx.de>
7246
7247 * javax/print/PrintServiceLookup.java: New file.
7248
7249 2004-05-15 Michael Koch <konqueror@gmx.de>
7250
7251 * javax/print/DocFlavor.java:
7252 Implemented all flavor classes.
7253
7254 2004-05-15 Michael Koch <konqueror@gmx.de>
7255
7256 * javax/print/attribute/standard/ColorSupported.java,
7257 javax/print/attribute/standard/Compression.java,
7258 javax/print/attribute/standard/CopiesSupported.java,
7259 javax/print/attribute/standard/Fidelity.java,
7260 javax/print/attribute/standard/Finishings.java,
7261 javax/print/attribute/standard/JobImpressionsSupported.java,
7262 javax/print/attribute/standard/JobKOctetsSupported.java,
7263 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7264 javax/print/attribute/standard/JobSheets.java,
7265 javax/print/attribute/standard/JobState.java,
7266 javax/print/attribute/standard/JobStateReason.java,
7267 javax/print/attribute/standard/JobStateReasons.java,
7268 javax/print/attribute/standard/Media.java,
7269 javax/print/attribute/standard/MediaSizeName.java,
7270 javax/print/attribute/standard/MultipleDocumentHandling.java,
7271 javax/print/attribute/standard/NumberUpSupported.java,
7272 javax/print/attribute/standard/OrientationRequested.java,
7273 javax/print/attribute/standard/PDLOverrideSupported.java,
7274 javax/print/attribute/standard/PageRanges.java,
7275 javax/print/attribute/standard/PresentationDirection.java,
7276 javax/print/attribute/standard/PrintQuality.java,
7277 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7278 javax/print/attribute/standard/PrinterMoreInfo.java,
7279 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7280 javax/print/attribute/standard/PrinterResolution.java,
7281 javax/print/attribute/standard/PrinterState.java,
7282 javax/print/attribute/standard/PrinterStateReason.java,
7283 javax/print/attribute/standard/PrinterStateReasons.java,
7284 javax/print/attribute/standard/PrinterURI.java,
7285 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7286 javax/print/attribute/standard/Severity.java,
7287 javax/print/attribute/standard/SheetCollate.java,
7288 javax/print/attribute/standard/Sides.java: New files.
7289
7290 2004-05-15 Michael Koch <konqueror@gmx.de>
7291
7292 * javax/print/Doc.java
7293 (getPrintData): Throws IOException.
7294 (getReaderForText): Likewise.
7295 (getStreamForBytes): Likewise.
7296 * javax/print/DocFlavor.java:
7297 Fixed filename in copyright.
7298 (serialVersionUID): New field.
7299 * javax/print/ServiceUIFactory.java:
7300 Made all constants final.
7301 * javax/print/AttributeException.java
7302 javax/print/MultiDoc.java
7303 javax/print/MultiDocPrintJob.java
7304 javax/print/MultiDocPrintService.java
7305 javax/print/StreamPrintService.java
7306 javax/print/URIException.java: New files.
7307 * javax/print/Makefile.am
7308 (EXTRA_DIST): Added all new files.
7309
7310 2004-05-15 Michael Koch <konqueror@gmx.de>
7311
7312 * javax/print/attribute/standard/Copies.java,
7313 javax/print/attribute/standard/DateTimeAtCompleted.java,
7314 javax/print/attribute/standard/DateTimeAtCreation.java,
7315 javax/print/attribute/standard/DateTimeAtProcessing.java,
7316 javax/print/attribute/standard/DocumentName.java,
7317 javax/print/attribute/standard/JobHoldUntil.java,
7318 javax/print/attribute/standard/JobImpressions.java,
7319 javax/print/attribute/standard/JobImpressionsCompleted.java,
7320 javax/print/attribute/standard/JobKOctets.java,
7321 javax/print/attribute/standard/JobKOctetsProcessed.java,
7322 javax/print/attribute/standard/JobMediaSheets.java,
7323 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7324 javax/print/attribute/standard/JobMessageFromOperator.java,
7325 javax/print/attribute/standard/JobName.java,
7326 javax/print/attribute/standard/JobOriginatingUserName.java,
7327 javax/print/attribute/standard/JobPriority.java,
7328 javax/print/attribute/standard/JobPrioritySupported.java,
7329 javax/print/attribute/standard/NumberOfDocuments.java,
7330 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7331 javax/print/attribute/standard/NumberUp.java,
7332 javax/print/attribute/standard/OutputDeviceAssigned.java,
7333 javax/print/attribute/standard/PagesPerMinute.java,
7334 javax/print/attribute/standard/PagesPerMinuteColor.java:
7335 Fixed @return tag all over.
7336
7337 2004-05-15 Michael Koch <konqueror@gmx.de>
7338
7339 * javax/print/attribute/AttributeSetUtilities.java
7340 (verifyCategoryForValue): Fixed typo in javadoc.
7341 * javax/print/attribute/HashAttributeSet.java
7342 (containsKey): Fixed @return tag.
7343 (comtainsValue): Likewise.
7344 (equals): Likewise.
7345 * javax/print/attribute/IntegerSyntax.java
7346 (equals): Likewise.
7347 * javax/print/attribute/ResolutionSyntax.java
7348 (equals): Likewise.
7349 (getCrossFeedResolution): Removed unused code.
7350 (getFeedResolution): Likewise.
7351 * javax/print/attribute/SetOfIntegerSyntax.java
7352 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7353 (equals): Fixed @return tag.
7354 * javax/print/attribute/TextSyntax.java
7355 (TextSyntax): Take locale into account.
7356 (hashCode): Better implementation.
7357
7358 2004-05-15 Michael Koch <konqueror@gmx.de>
7359
7360 * javax/print/CancelablePrintJob.java,
7361 javax/print/Doc.java,
7362 javax/print/DocFlavor.java,
7363 javax/print/DocPrintJob.java,
7364 javax/print/FlavorException.java,
7365 javax/print/PrintException.java,
7366 javax/print/PrintService.java,
7367 javax/print/ServiceUIFactory.java: New files.
7368
7369 2004-05-15 Mark Wielaard <mark@klomp.org>
7370
7371 * gnu/regexp/CharIndexedReader.java: Removed.
7372 * gnu/regexp/REFilterReader.java: Likewise.
7373 * gnu/regexp/RETokenLookAhead.java: Likewise.
7374 * Makefile.am (ordinary_java_source_files): Remove above classes.
7375 * Makefile.in: Regenerated.
7376
7377 2004-05-14 Tom Tromey <tromey@redhat.com>
7378
7379 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7380 not `XGraphicsConfiguration.XOffScreenImage'.
7381
7382 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7383
7384 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7385
7386 2004-05-14 Steven Augart <augart@watson.ibm.com>
7387
7388 * include/jni.h (_Jv_func): Removed.
7389 (struct JNINativeInterface): Use `void *' for reserved slots.
7390 (struct JNIInvokeInterface): Likewise.
7391
7392 2004-05-11 Michael Koch <konqueror@gmx.de>
7393
7394 * gnu/java/net/natPlainSocketImplPosix.cc
7395 (read): Fixed typo in expression.
7396
7397 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7398
7399 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7400 ld_library_additions. Adjust all calls to libjava_invoke to match
7401 the new argument.
7402
7403 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7404 path to cxxflagslist.
7405 Pass path of libstdc++ to libjava_invoke.
7406
7407 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7408 libjava_invoke arguments.
7409
7410 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7411
7412 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7413 reality.
7414
7415 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7416
7417 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7418 main binary against the JNI shared library.
7419
7420 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7421
7422 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7423 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7424 (SimpleTimeZone): Tweak docs. Add new variation.
7425 (setStartRule,setEndRule): Add new variations. Use
7426 startTimeMode and endTimeMode.
7427
7428 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7429
7430 * java/util/Calendar.java (getActualMinimum,
7431 getActualMaximum): Remove abstract. Implement.
7432
7433 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7434
7435 Run the jni tests using the interpreter.
7436 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7437 options_cxx to shared lib compile command.
7438 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7439 they are used to link the shared lib, not the main binary.
7440 Use libjava_invoke to run gij.
7441
7442 2004-05-06 Michael Koch <konqueror@gmx.de>
7443
7444 * java/util/logging/Level.java
7445 (parse): Use == instead of String.equals().
7446
7447 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7448
7449 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7450 verify_field_signature and verify_method_signature, not
7451 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7452 (_Jv_ClassReader::handleField): Likewise.
7453 (_Jv_ClassReader::handleMethod): Likewise.
7454
7455 2004-05-06 Michael Koch <konqueror@gmx.de>
7456
7457 * javax/swing/table/TableColumn.java:
7458 Reformated.
7459
7460 2004-05-06 Michael Koch <konqueror@gmx.de>
7461
7462 * javax/imageio/spi/ImageReaderWriterSpi.java
7463 (ImageReaderWriterSpi): Made it public.
7464 * javax/imageio/stream/ImageInputStream.java:
7465 Clean up imports.
7466
7467 2004-05-06 Michael Koch <konqueror@gmx.de>
7468
7469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7470 Removed empty line.
7471
7472 2004-05-06 Michael Koch <konqueror@gmx.de>
7473
7474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7475 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7476 New files.
7477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7478 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7480 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7481 their own source file.
7482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7483 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7484 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7486 (create): Define variable on top of function.
7487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7488 (menu_pos): Prototyped.
7489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7490 (setTitle): Removed.
7491 * jni/gtk-peer/gthread-jni.c
7492 (gdk_threads_wake): Removed.
7493 * Makefile.am (gtk_c_source_files): Added new files
7494 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7495 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7496 * Makefile.in: Regenerated.
7497
7498 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7499
7500 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7501 call.
7502
7503 2004-05-05 Mark Wielaard <mark@klomp.org>
7504
7505 * javax/swing/AbstractButton.java: Replace special HTML entities with
7506 ASCII equivalent.
7507 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7508 * javax/swing/DefaultButtonModel.java: Likewise.
7509 * javax/swing/DefaultListModel.java: Likewise.
7510 * javax/swing/JList.java: Likewise.
7511 * javax/swing/JSlider.java: Likewise.
7512 * javax/swing/ListModel.java: Likewise.
7513 * javax/swing/Popup.java: Likewise.
7514 * javax/swing/SwingUtilities.java: Likewise.
7515
7516 2004-05-05 Michael Koch <konqueror@gmx.de>
7517
7518 * javax/swing/AbstractButton.java,
7519 javax/swing/ActionMap.java,
7520 javax/swing/DefaultButtonModel.java,
7521 javax/swing/DefaultListModel.java,
7522 javax/swing/ImageIcon.java,
7523 javax/swing/JComboBox.java,
7524 javax/swing/JComponent.java,
7525 javax/swing/JFrame.java,
7526 javax/swing/JInternalFrame.java,
7527 javax/swing/JMenuBar.java,
7528 javax/swing/JMenuItem.java,
7529 javax/swing/JOptionPane.java,
7530 javax/swing/JProgressBar.java,
7531 javax/swing/JRootPane.java,
7532 javax/swing/JScrollBar.java,
7533 javax/swing/JScrollPane.java,
7534 javax/swing/JSeparator.java,
7535 javax/swing/JSlider.java,
7536 javax/swing/JTabbedPane.java,
7537 javax/swing/JTable.java,
7538 javax/swing/JTextField.java,
7539 javax/swing/JToolBar.java,
7540 javax/swing/JToolTip.java,
7541 javax/swing/JTree.java,
7542 javax/swing/JViewport.java,
7543 javax/swing/JWindow.java,
7544 javax/swing/KeyStroke.java,
7545 javax/swing/LookAndFeel.java,
7546 javax/swing/SwingUtilities.java,
7547 javax/swing/Timer.java,
7548 javax/swing/ToolTipManager.java,
7549 javax/swing/UIDefaults.java,
7550 javax/swing/border/TitledBorder.java,
7551 javax/swing/filechooser/FileSystemView.java,
7552 javax/swing/plaf/basic/BasicButtonListener.java,
7553 javax/swing/plaf/basic/BasicButtonUI.java,
7554 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7555 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7556 javax/swing/plaf/basic/BasicLabelUI.java,
7557 javax/swing/plaf/basic/BasicMenuItemUI.java,
7558 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7559 javax/swing/plaf/basic/BasicRootPaneUI.java,
7560 javax/swing/plaf/basic/BasicScrollBarUI.java,
7561 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7562 javax/swing/plaf/basic/BasicSliderUI.java,
7563 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7564 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7565 javax/swing/table/JTableHeader.java,
7566 javax/swing/text/AbstractDocument.java,
7567 javax/swing/text/DefaultCaret.java,
7568 javax/swing/text/StyledEditorKit.java,
7569 javax/swing/tree/DefaultTreeCellEditor.java:
7570 Cleaned up imports.
7571
7572 2004-05-05 Michael Koch <konqueror@gmx.de>
7573
7574 * java/util/prefs/AbstractPreferences.java
7575 (AbstractPreferences): Added parenthesis for clarity.
7576 Closes classpath bug #7940.
7577
7578 2004-05-05 Tom Tromey <tromey@redhat.com>
7579
7580 * javax/naming/CompoundName.java (endsWith): Look at correct
7581 element of source name.
7582
7583 2004-05-05 Mark Wielaard <mark@klomp.org>
7584
7585 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7586 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7587
7588 2004-05-05 Tom Tromey <tromey@redhat.com>
7589
7590 * java/io/BufferedReader.java (skip): Removed unused
7591 variable.
7592
7593 2004-05-05 Michael Koch <konqueror@gmx.de>
7594
7595 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7596
7597 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7598
7599 * java/text/AttributedString.java,
7600 java/text/AttributedStringIterator.java,
7601 java/text/Collator.java,
7602 java/text/DecimalFormatSymbols.java,
7603 java/text/NumberFormat.java,
7604 java/text/RuleBasedCollator.java:
7605 Cleaned up imports.
7606
7607 2004-05-05 Tom Tromey <tromey@redhat.com>
7608
7609 * java/text/Format.java: Cleaned up imports.
7610 * java/text/DecimalFormat.java: Cleaned up imports.
7611 * java/security/SecureRandom.java: Cleaned up imports.
7612 (SecureRandom): Removed unused variable.
7613 * java/security/UnresolvedPermission.java: Cleaned up imports.
7614 * java/util/Date.java (parse): Removed unused variable.
7615 * java/util/ResourceBundle.java: Cleaned up imports.
7616 (getBundle): Removed unused variable.
7617 (tryBundle): Likewise.
7618 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7619
7620 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7621
7622 * java/text/SimpleDateFormat.java:
7623 (formatWithAttribute): New method. It implements
7624 the formatting process with attributes.
7625 (format): Use formatWithAttribute.
7626 (formatToCharacterIterator): New method. Use
7627 formatWithAttribute.
7628
7629 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7630
7631 * java/text/MessageFormat.java:
7632 (class Field): New class.
7633 (formatToCharacterIterator): New method.
7634 (format): Use formatInternal now.
7635 (formatInternal): New method. String formatter should
7636 be done here (with attributes). Attributes merging supported.
7637 (parse): More documentation.
7638 (getFormatsByArgumentIndex): New method.
7639 (setFormatByArgumentIndex): New method.
7640 (setFormatsByArgumentIndex): New method.
7641
7642 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7643
7644 * java/text/DecimalFormat.java
7645 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7646 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7647 (parse): Fixed handling of exponentiation notation and grouping.
7648
7649 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7650
7651 * java/text/DecimalFormat.java
7652 (scanFix): Build attribute array. Fixed error reporting.
7653 (applyPatternWithSymbols): Store attributes for the prefix and
7654 suffix.
7655 (formatInternal): New method. Changed the way the string is
7656 computed. Implemented attributes. Cleant up rounding in
7657 exponential notation.
7658 (format): Use formatInternal.
7659 (formatToCharacterIterator): New method.
7660 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7661 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7662 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7663 New fields.
7664
7665 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7666
7667 * java/security/interfaces/DSAKeyPairGenerator.java,
7668 java/security/interfaces/DSAPrivateKey.java,
7669 java/security/interfaces/DSAPublicKey.java,
7670 java/security/interfaces/RSAPrivateKey.java,
7671 java/security/interfaces/RSAPublicKey.java:
7672 Cleaned up imports.
7673
7674 2004-05-04 Michael Koch <konqueror@gmx.de>
7675
7676 * java/nio/ByteBuffer.java,
7677 java/nio/CharBuffer.java,
7678 java/nio/DoubleBuffer.java,
7679 java/nio/FloatBuffer.java,
7680 java/nio/IntBuffer.java,
7681 java/nio/LongBuffer.java,
7682 java/nio/ShortBuffer.java:
7683 (compareTo): Fixed bogus implementation in all buffer classes.
7684
7685 2004-05-04 Ingo Proetel <proetel@aicas.com>
7686
7687 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7688 32 bit pixels not 8 bit pixels.
7689 (isCompatibleRaster): Added javadoc comment.
7690
7691 2004-05-04 Ingo Proetel <proetel@aicas.com>
7692
7693 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7694 scanline stride.
7695
7696 2004-05-04 Ingo Proetel <proetel@aicas.com>
7697
7698 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7699 (getColorModel): Return the actual color model.
7700 (getRaster): Implemented.
7701 (ColorRaster): New inner class.
7702 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7703 a PaintContext.
7704 * java/awt/Color.java (<init>): Make exception more verbose.
7705 (createContext): Use ColorModel when creating a PaintContext.
7706
7707 2004-05-04 Michael Koch <konqueror@gmx.de>
7708
7709 * gnu/java/text/CharacterBreakIterator.java
7710 (previous): Removed unused variable.
7711
7712 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7713
7714 * gnu/java/text/FormatBuffer.java,
7715 gnu/java/text/AttributedFormatBuffer.java,
7716 gnu/java/text/StringFormatBuffer.java: New classes to implement
7717 attributed iterators in java.text.
7718 * gnu/java/text/FormatCharacterIterator.java: Moved
7719 from java/text as it is an internal class.
7720 * java/text/FormatCharacterIterator.java: Removed.
7721 * java/text/Format.java:
7722 Import gnu.java.text.FormatCharacterIterator.
7723 * Makefile.am (java_source_files): Added new files.
7724 * Makefile.in: Regenerated.
7725
7726
7727 2004-05-04 Mark Wielaard <mark@klomp.org>
7728
7729 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7730
7731 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7732
7733 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7734 * Makefile.in: Rebuilt.
7735
7736 2004-05-03 Mark Wielaard <mark@klomp.org>
7737
7738 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7739 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7740 * java/net/URL.java
7741 (set(String, String, int, String, String, String, String, String)):
7742 Assign this.file to path or path + "?" + query.
7743 * java/util/Arrays.java: Call static methods staticly.
7744 * java/util/zip/ZipEntry.java: Likewise.
7745 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7746 dir to this.direction.
7747 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7748 Assign static field only once.
7749 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7750
7751 2004-05-03 Mark Wielaard <mark@klomp.org>
7752
7753 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7754 unused variables hScrollbarHeight and vScrollbarWidth.
7755 (preferredSize): Likewise.
7756 * gnu/java/security/provider/DSAParameters.java (engineToString):
7757 Removed unused call to System.getProperty("line.seperator");
7758 * java/security/Security.java (loadProviders): Return result.
7759
7760 2004-05-03 Tom Tromey <tromey@redhat.com>
7761
7762 * java/net/URLStreamHandler.java (toExternalForm): Removed
7763 unused variables.
7764 unused constructor.
7765 * java/math/BigDecimal.java (divide): Removed unused variable.
7766 * java/lang/Throwable.java: Cleaned up imports.
7767 * java/lang/ClassLoader.java: Cleaned up imports.
7768 * java/io/FilePermission.java (implies): Removed unused
7769 variable.
7770 * java/awt/TextComponent.java: Removed unused import.
7771 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7772 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7773 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7774 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7775 import.
7776 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7777 * gnu/java/text/CharacterBreakIterator.java: Removed
7778 unused import.
7779 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7780 Cleaned up imports.
7781 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7782 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7783 unused method.
7784 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7785 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7786 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7787 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7788 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7789 (lookupProviders): Removed unused variable.
7790 (loadNextServiceProvider): Likewise.
7791 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7792
7793 2004-05-03 Michael Koch <konqueror@gmx.de>
7794
7795 Fixes PR libgcj/14695:
7796 * java/net/NetworkInterface.java
7797 (getByName): Return null when no interface was found.
7798
7799 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7800 Tom Tromey <tromey@redhat.com>
7801
7802 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7803 additional option "-Wmissing-prototypes" for compiling C sources.
7804 Print actual filename for pass/fail rather than $name.c.
7805 * testsuite/libjava.jni/PR15133.java: New testcase file.
7806 * testsuite/libjava.jni/PR15133.c: Likewise.
7807 * testsuite/libjava.jni/PR15133.out: Likewise.
7808
7809 2004-04-30 Roger Sayle <roger@eyesopen.com>
7810
7811 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7812 ceil and floor.
7813
7814 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7815
7816 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7817 limit the maximum heap size to avoid unnecessary thrashing.
7818
7819 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7820
7821 * java/text/CollationElementIterator.java (reset): Reset
7822 lookahead variables.
7823
7824 2004-04-23 Mark Wielaard <mark@klomp.org>
7825
7826 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7827
7828 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7829
7830 * java/sql/DriverManager.java:
7831 Cleaned up imports.
7832
7833 2004-04-23 Michael Koch <konqueror@gmx.de>
7834
7835 * java/net/URL.java
7836 (hashcode): Don't initialize with default value explicitely.
7837 (getContent): Removed redundant "final" keyword.
7838 (openStream): Likewise.
7839 (getURLStreamHandler): Fixed coding style.
7840 * java/net/URLConnection.java
7841 (defaultAllowUserInteraction): Don't initialize with default value
7842 explicitely.
7843 (connected): Likewise.
7844 (doOutput): Likewise.
7845 (ifModifiedSince): Likewise.
7846 (dateformats_initialized): Likewise.
7847 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7848
7849 2004-04-23 Michael Koch <konqueror@gmx.de>
7850
7851 * gnu/java/nio/channels/FileChannelImpl.java
7852 (SET, CUR): Unused, removed.
7853 (read): Implement here directly.
7854 (implRead): Removed.
7855 (write): Implement here directly.
7856 (implWrite): Removed.
7857
7858 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7859
7860 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7861 javax/rmi/CORBA/Stub.java,
7862 javax/rmi/CORBA/Util.java,
7863 javax/rmi/CORBA/ValueHandler.java,
7864 javax/rmi/CORBA/ValueHandler.java,
7865 javax/rmi/PortableRemoteObject.java:
7866 Cleaned up imports.
7867
7868 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7869
7870 * java/util/jar/JarFile.java,
7871 java/util/jar/JarInputStream.java,
7872 java/util/jar/JarOutputStream.java,
7873 java/util/jar/Manifest.java:
7874 Cleaned up imports.
7875
7876 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7877
7878 * java/util/ArrayList.java,
7879 java/util/Calendar.java,
7880 java/util/Currency.java,
7881 java/util/HashMap.java,
7882 java/util/HashSet.java,
7883 java/util/Hashtable.java,
7884 java/util/LinkedList.java,
7885 java/util/Properties.java,
7886 java/util/PropertyPermission.java,
7887 java/util/TimeZone.java,
7888 java/util/TreeMap.java,
7889 java/util/TreeSet.java,
7890 java/util/Vector.java,
7891 java/util/WeakHashMap.java:
7892 Cleaned up imports.
7893
7894 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7895
7896 * java/util/logging/FileHandler.java,
7897 java/util/logging/Formatter.java,
7898 java/util/logging/Handler.java,
7899 java/util/logging/Logger.java,
7900 java/util/logging/SimpleFormatter.java,
7901 java/util/logging/XMLFormatter.java:
7902 Cleaned up imports.
7903
7904 2004-04-22 Mark Wielaard <mark@klomp.org>
7905
7906 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7907 -Wno-long-long flags variable.
7908 (gtk_c_files): Use PEDANTIC_CFLAGS.
7909 * Makefile.in: Regenerated.
7910
7911 2004-04-22 Mark Wielaard <mark@klomp.org>
7912
7913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7914 Changed C++ comments into C comments.
7915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7916 Likewise.
7917
7918 2004-04-22 Michael Koch <konqueror@gmx.de>
7919
7920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7921 Merged copyright year with GNU classpath.
7922
7923 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7924
7925 * javax/security/auth/x500/X500Principal.java:
7926 Cleaned up imports.
7927
7928 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7929
7930 * javax/swing/JSlider.java:
7931 Fixed HTML tags in comments.
7932
7933 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7934
7935 * javax/accessibility/AccessibleText.java:
7936 Cleaned up imports.
7937
7938 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7939
7940 * java/net/URLStreamHandler.java
7941 (parseURL): Convert the file path to using '/' instead of native
7942 file separator.
7943
7944 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7945
7946 * java/net/URL.java
7947 (userInfo): New field.
7948 (URL): Set authority to the right value.
7949 (setURL): Fixed authority and file initialization.
7950 * java/net/URLStreamHandler.java
7951 (parseURL): Take care of the query tag. Build authority.
7952 (toExternalForm): Fixed URL building using authority.
7953
7954 2004-04-22 Michael Koch <konqueror@gmx.de>
7955
7956 * java/net/Socket.java
7957 (impl): Made package-private.
7958 * java/net/ServerSocket.java
7959 (implAccept): Access Socket.impl field directly.
7960
7961 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7962
7963 * java/util/prefs/Preferences.java,
7964 java/util/prefs/InvalidPreferencesFormatException.java,
7965 java/util/prefs/BackingStoreException.java,
7966 java/util/prefs/AbstractPreferences.java:
7967 Cleaned up imports.
7968
7969 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7970
7971 * java/util/regex/Matcher.java,
7972 java/util/regex/Pattern.java:
7973 Cleaned up imports.
7974
7975 2004-04-22 Michael Koch <konqueror@gmx.de>
7976
7977 * java/nio/charset/IllegalCharsetNameException.java
7978 (charsetName): Made private.
7979 (IllegalCharsetNameException): Added @param tag to javadoc.
7980 (getCharsetName): Added @return tag to javadoc.
7981 * java/nio/charset/MalformedInputException.java
7982 (MalformedInputException): Added @param tag to javadoc.
7983 (getInputLength): Revised method description, added @return tag.
7984 (getMessage): Added @return tag.
7985
7986 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7987
7988 * java/awt/Font.java (deriveFont): Implement missing variants.
7989 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7990 missing variants.
7991
7992 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7993
7994 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7995 Set method->index values for interface methods to their itable index.
7996 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7997
7998 2004-04-21 Michael Koch <konqueror@gmx.de>
7999
8000 * java/nio/DirectByteBufferImpl.java
8001 (shiftDown): Made static, give address as argument and
8002 provide a convenience method that overwrites shiftDown in
8003 ByteBufferImpl and calls the native shiftDown.
8004 * java/nio/MappedByteBufferImpl.java
8005 (): Use optimized method in DirectByteBufferImpl.
8006 * java/nio/natDirectByteBufferImpl.cc
8007 (shiftDown): Changed method signature. Removed usage of array_offset.
8008
8009 2004-04-21 Michael Koch <konqueror@gmx.de>
8010
8011 * gnu/java/net/natPlainSocketImplPosix.cc
8012 (SocketInputStream::read): Make sure returned data is a byte value.
8013
8014 2004-04-21 Michael Koch <konqueror@gmx.de>
8015
8016 * gnu/classpath/ServiceFactory.java,
8017 gnu/classpath/ServiceProviderLoadingAction.java,
8018 javax/imageio/ImageReader.java,
8019 javax/imageio/ImageTranscoder.java,
8020 javax/imageio/ImageWriter.java,
8021 javax/imageio/package.html,
8022 javax/imageio/spi/IIOServiceProvider.java,
8023 javax/imageio/spi/ImageInputStreamSpi.java,
8024 javax/imageio/spi/ImageOutputStreamSpi.java,
8025 javax/imageio/spi/ImageReaderWriterSpi.java,
8026 javax/imageio/spi/ImageTranscoderSpi.java,
8027 javax/imageio/spi/RegisterableService.java,
8028 javax/imageio/spi/ServiceRegistry.java,
8029 javax/imageio/spi/package.html,
8030 javax/imageio/stream/IIOByteBuffer.java,
8031 javax/imageio/stream/ImageInputStream.java,
8032 javax/imageio/stream/ImageOutputStream.java,
8033 javax/imageio/stream/package.html:
8034 New files.
8035 * Makefile.am
8036 (ordinary_java_source_files): Added
8037 gnu/classpath/ServiceFactory.java and
8038 gnu/classpath/ServiceProviderLoadingAction.java.
8039 (javax_source_files): Added
8040 javax/imageio/ImageReader.java,
8041 javax/imageio/ImageTranscoder.java,
8042 javax/imageio/ImageWriter.java,
8043 javax/imageio/spi/IIOServiceProvider.java,
8044 javax/imageio/spi/ImageInputStreamSpi.java,
8045 javax/imageio/spi/ImageOutputStreamSpi.java,
8046 javax/imageio/spi/ImageReaderWriterSpi.java,
8047 javax/imageio/spi/ImageTranscoderSpi.java,
8048 javax/imageio/spi/RegisterableService.java,
8049 javax/imageio/spi/ServiceRegistry.java,
8050 javax/imageio/stream/IIOByteBuffer.java,
8051 javax/imageio/stream/ImageInputStream.java and
8052 javax/imageio/stream/ImageOutputStream.java.
8053 * Makefile.in: Regenerated.
8054
8055 2004-04-21 Michael Koch <konqueror@gmx.de>
8056
8057 * java/util/Properties.java
8058 (load): Fix wrongly merged fix.
8059
8060 2004-04-21 Mark Wielaard <mark@klomp.org>
8061
8062 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8063 malloc and free buf.
8064
8065 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8066
8067 * javax/naming/AuthenticationException.java,
8068 javax/naming/AuthenticationNotSupportedException.java,
8069 javax/naming/CannotProceedException.java,
8070 javax/naming/CommunicationException.java,
8071 javax/naming/CompoundName.java,
8072 javax/naming/ConfigurationException.java,
8073 javax/naming/ContextNotEmptyException.java,
8074 javax/naming/InitialContext.java,
8075 javax/naming/InsufficientResourcesException.java,
8076 javax/naming/InterruptedNamingException.java,
8077 javax/naming/LimitExceededException.java,
8078 javax/naming/LinkException.java,
8079 javax/naming/LinkLoopException.java,
8080 javax/naming/LinkRef.java,
8081 javax/naming/MalformedLinkException.java,
8082 javax/naming/Name.java,
8083 javax/naming/NameAlreadyBoundException.java,
8084 javax/naming/NameNotFoundException.java,
8085 javax/naming/NamingSecurityException.java,
8086 javax/naming/NoInitialContextException.java,
8087 javax/naming/NoPermissionException.java,
8088 javax/naming/NotContextException.java,
8089 javax/naming/PartialResultException.java,
8090 javax/naming/ReferralException.java,
8091 javax/naming/ServiceUnavailableException.java,
8092 javax/naming/SizeLimitExceededException.java,
8093 javax/naming/TimeLimitExceededException.java,
8094 javax/naming/directory/Attribute.java,
8095 javax/naming/directory/Attributes.java,
8096 javax/naming/directory/SearchResult.java,
8097 javax/naming/event/NamingExceptionEvent.java,
8098 javax/naming/spi/ResolveResult.java:
8099 Cleaned up imports.
8100
8101 2004-04-21 Mark Wielaard <mark@klomp.org>
8102
8103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8104 Changed C++ comments into C comments. Removed commented out code.
8105 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8106 Likewise.
8107 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8108 Likewise.
8109 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8110 Likewise.
8111 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8112 Likewise.
8113 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8114 Likewise.
8115 * native/jni/gtk-peer/gthread-jni.c:
8116 Likewise.
8117
8118 2004-04-21 Mark Wielaard <mark@klomp.org>
8119
8120 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8121 static fields defined in interface.
8122 * javax/awt/JDialog.java: Likewise.
8123 (JDialog): Make constructors public.
8124 (getDefaultCloseOperation): Make public.
8125 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8126 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8127 * javax/swing/JViewport.java (JViewport): Make constructor public.
8128
8129 2004-04-21 Michael Koch <konqueror@gmx.de>
8130
8131 * java/util/Map.java
8132 (Entry): Removed redundant "static" modifier.
8133 * java/text/AttributedCharacterIterator.java:
8134 Updated copyright year.
8135
8136 2004-04-20 Michael Koch <konqueror@gmx.de>
8137
8138 * javax/naming/directory/SearchControls.java:
8139 Don't explicitely extend java.lang.Object.
8140 * javax/naming/spi/DirStateFactory.java:
8141 Merged copyright year with GNU classpath.
8142
8143 2004-04-20 Michael Koch <konqueror@gmx.de>
8144
8145 * java/nio/channels/Channels.java:
8146 Merged coding style with GNU classpath.
8147
8148 2004-04-20 Michael Koch <konqueror@gmx.de>
8149
8150 * java/net/ServerSocket.java
8151 Merged coding style from GNU classpath.
8152
8153 2004-04-20 Michael Koch <konqueror@gmx.de>
8154
8155 * java/io/BufferedWriter.java:
8156 Reordered variables to be at top of the class.
8157 (localFlush): Removed redundant final keyword.
8158
8159 2004-04-20 Ingo Proetel <proetel@aicas.com>
8160
8161 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8162
8163 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8164
8165 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8166 for percent and permill check.
8167
8168 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8169
8170 * java/text/FieldPosition.java
8171 (FieldPosition) Constructor now behaves as it should according
8172 to the java documentation.
8173
8174 2004-04-20 Mark Wielaard <mark@klomp.org>
8175
8176 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8177 documentation.
8178
8179 2004-04-20 Michael Koch <konqueror@gmx.de>
8180
8181 * java/nio/Buffer.java,
8182 java/nio/channels/AlreadyConnectedException.java,
8183 java/nio/channels/AsynchronousCloseException.java,
8184 java/nio/channels/ByteChannel.java,
8185 java/nio/channels/CancelledKeyException.java,
8186 java/nio/channels/Channel.java,
8187 java/nio/channels/Channels.java,
8188 java/nio/channels/ClosedByInterruptException.java,
8189 java/nio/channels/ClosedChannelException.java,
8190 java/nio/channels/ClosedSelectorException.java,
8191 java/nio/channels/ConnectionPendingException.java,
8192 java/nio/channels/DatagramChannel.java,
8193 java/nio/channels/FileChannel.java,
8194 java/nio/channels/FileLock.java,
8195 java/nio/channels/FileLockInterruptionException.java,
8196 java/nio/channels/GatheringByteChannel.java,
8197 java/nio/channels/IllegalBlockingModeException.java,
8198 java/nio/channels/IllegalSelectorException.java,
8199 java/nio/channels/InterruptibleChannel.java,
8200 java/nio/channels/NoConnectionPendingException.java,
8201 java/nio/channels/NonReadableChannelException.java,
8202 java/nio/channels/NonWritableChannelException.java,
8203 java/nio/channels/NotYetBoundException.java,
8204 java/nio/channels/NotYetConnectedException.java,
8205 java/nio/channels/OverlappingFileLockException.java,
8206 java/nio/channels/Pipe.java,
8207 java/nio/channels/ReadableByteChannel.java,
8208 java/nio/channels/ScatteringByteChannel.java,
8209 java/nio/channels/SelectableChannel.java,
8210 java/nio/channels/SelectionKey.java,
8211 java/nio/channels/Selector.java,
8212 java/nio/channels/ServerSocketChannel.java,
8213 java/nio/channels/SocketChannel.java,
8214 java/nio/channels/UnresolvedAddressException.java,
8215 java/nio/channels/UnsupportedAddressTypeException.java,
8216 java/nio/channels/WritableByteChannel.java,
8217 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8218 java/nio/channels/spi/AbstractSelectableChannel.java,
8219 java/nio/channels/spi/AbstractSelectionKey.java,
8220 java/nio/channels/spi/AbstractSelector.java,
8221 java/nio/channels/spi/SelectorProvider.java,
8222 java/nio/charset/spi/CharsetProvider.java:
8223 Fixed javadocs and jalopied all over java.nio.
8224
8225 2004-04-20 Michael Koch <konqueror@gmx.de>
8226
8227 * java/nio/ByteBufferImpl.java,
8228 java/nio/CharBufferImpl.java,
8229 java/nio/DirectByteBufferImpl.java,
8230 java/nio/DoubleBufferImpl.java,
8231 java/nio/DoubleViewBufferImpl.java,
8232 java/nio/FloatBufferImpl.java,
8233 java/nio/FloatViewBufferImpl.java,
8234 java/nio/IntBufferImpl.java,
8235 java/nio/IntViewBufferImpl.java,
8236 java/nio/LongBufferImpl.java,
8237 java/nio/LongViewBufferImpl.java,
8238 java/nio/MappedByteBufferImpl.java,
8239 java/nio/ShortBufferImpl.java,
8240 java/nio/ShortViewBufferImpl.java:
8241 Made sure all classes are final and removed final keyword from all
8242 methods.
8243
8244 2004-04-20 Michael Koch <konqueror@gmx.de>
8245
8246 * java/rmi/MarshalledObject.java,
8247 java/rmi/Naming.java,
8248 java/rmi/RemoteException.java,
8249 java/rmi/activation/ActivationException.java,
8250 java/rmi/server/ServerCloneException.java,
8251 java/security/AccessController.java,
8252 java/security/AlgorithmParameterGenerator.java,
8253 java/security/AlgorithmParameters.java,
8254 java/security/CodeSource.java,
8255 java/security/Identity.java,
8256 java/security/IdentityScope.java,
8257 java/security/KeyPairGenerator.java,
8258 java/security/KeyStore.java,
8259 java/security/Security.java,
8260 java/security/Signature.java,
8261 java/security/SignatureSpi.java,
8262 java/security/SignedObject.java,
8263 java/security/spec/DSAParameterSpec.java,
8264 java/security/spec/DSAPrivateKeySpec.java,
8265 java/security/spec/DSAPublicKeySpec.java,
8266 java/sql/Array.java,
8267 java/sql/DatabaseMetaData.java,
8268 java/sql/ResultSet.java,
8269 java/text/ChoiceFormat.java,
8270 java/text/CollationElementIterator.java,
8271 java/text/CollationKey.java,
8272 java/text/Collator.java,
8273 java/text/DateFormat.java,
8274 java/text/DateFormatSymbols.java,
8275 java/text/DecimalFormatSymbols.java,
8276 java/text/Format.java,
8277 java/text/ParsePosition.java,
8278 java/text/RuleBasedCollator.java,
8279 java/text/SimpleDateFormat.java,
8280 java/text/StringCharacterIterator.java,
8281 java/util/Collections.java,
8282 java/util/PropertyResourceBundle.java,
8283 java/util/ResourceBundle.java,
8284 java/util/StringTokenizer.java,
8285 java/util/jar/Attributes.java,
8286 java/util/logging/ConsoleHandler.java,
8287 java/util/logging/LogManager.java,
8288 java/util/logging/MemoryHandler.java,
8289 java/util/logging/SocketHandler.java,
8290 javax/naming/NamingException.java:
8291 Fixed javadoc, coding style and argument names all over.
8292
8293 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8294
8295 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8296 constructor. (valid) Added null check.
8297
8298 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8299
8300 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8301 * java/io/FileOutputStream.java
8302 (FileOutputStream) Reorganized constructors. Constructors now
8303 check whether the given path is directory.
8304
8305 2004-04-20 Michael Koch <konqueror@gmx.de>
8306
8307 * java/net/Authenticator.java,
8308 java/net/BindException.java,
8309 java/net/ConnectException.java,
8310 java/net/ContentHandler.java,
8311 java/net/ContentHandlerFactory.java,
8312 java/net/DatagramPacket.java,
8313 java/net/DatagramSocket.java,
8314 java/net/DatagramSocketImpl.java,
8315 java/net/DatagramSocketImplFactory.java,
8316 java/net/FileNameMap.java,
8317 java/net/HttpURLConnection.java,
8318 java/net/Inet4Address.java,
8319 java/net/Inet6Address.java,
8320 java/net/InetAddress.java,
8321 java/net/InetSocketAddress.java,
8322 java/net/JarURLConnection.java,
8323 java/net/MalformedURLException.java,
8324 java/net/MulticastSocket.java,
8325 java/net/NetPermission.java,
8326 java/net/NetworkInterface.java,
8327 java/net/NoRouteToHostException.java,
8328 java/net/PasswordAuthentication.java,
8329 java/net/PortUnreachableException.java,
8330 java/net/ProtocolException.java,
8331 java/net/ServerSocket.java,
8332 java/net/Socket.java,
8333 java/net/SocketAddress.java,
8334 java/net/SocketException.java,
8335 java/net/SocketImpl.java,
8336 java/net/SocketImplFactory.java,
8337 java/net/SocketOptions.java,
8338 java/net/SocketPermission.java,
8339 java/net/SocketTimeoutException.java,
8340 java/net/URI.java,
8341 java/net/URISyntaxException.java,
8342 java/net/URL.java,
8343 java/net/URLClassLoader.java,
8344 java/net/URLConnection.java,
8345 java/net/URLDecoder.java,
8346 java/net/URLEncoder.java,
8347 java/net/URLStreamHandler.java,
8348 java/net/URLStreamHandlerFactory.java,
8349 java/net/UnknownHostException.java,
8350 java/net/UnknownServiceException.java:
8351 Fixed javadocs, coding style and argument names all over.
8352
8353 2004-04-20 Michael Koch <konqueror@gmx.de>
8354
8355 * java/lang/Byte.java,
8356 java/lang/CharSequence.java,
8357 java/lang/ClassLoader.java,
8358 java/lang/Compiler.java,
8359 java/lang/Double.java,
8360 java/lang/Float.java,
8361 java/lang/Integer.java,
8362 java/lang/Long.java,
8363 java/lang/Math.java,
8364 java/lang/Number.java,
8365 java/lang/Package.java,
8366 java/lang/Runtime.java,
8367 java/lang/RuntimePermission.java,
8368 java/lang/SecurityManager.java,
8369 java/lang/Short.java,
8370 java/lang/StringBuffer.java,
8371 java/lang/System.java,
8372 java/lang/ThreadGroup.java,
8373 java/lang/Throwable.java,
8374 java/lang/reflect/InvocationHandler.java,
8375 java/lang/reflect/Proxy.java:
8376 Fixed javadocs, coding style and argument names all over.
8377
8378 2004-04-20 Michael Koch <konqueror@gmx.de>
8379
8380 * java/io/BufferedWriter.java,
8381 java/io/ByteArrayInputStream.java,
8382 java/io/CharArrayWriter.java,
8383 java/io/DataInput.java,
8384 java/io/DataInputStream.java,
8385 java/io/File.java,
8386 java/io/FilterInputStream.java,
8387 java/io/InputStream.java,
8388 java/io/InputStreamReader.java,
8389 java/io/ObjectInputStream.java,
8390 java/io/ObjectStreamClass.java,
8391 java/io/PipedInputStream.java,
8392 java/io/PipedReader.java,
8393 java/io/PushbackInputStream.java,
8394 java/io/PushbackReader.java,
8395 java/io/RandomAccessFile.java,
8396 java/io/SerializablePermission.java,
8397 java/io/StreamTokenizer.java,
8398 java/io/StringWriter.java,
8399 java/io/WriteAbortedException.java,
8400 java/io/Writer.java:
8401 Fixed javadocs all over, rename arguments to match javadocs,
8402 fixed coding style.
8403
8404 2004-04-20 Ingo Proetel <proetel@aicas.com>
8405
8406 * java/awt/FontMetrics.java:
8407 (charsWidth): fixed accumulation of total_width
8408 (getWidth): simple default implementation
8409 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8410 in Rectangle constructor.
8411 * java/awt/image/Raster.java (toString): Added method.
8412 * java/awt/image/SampleModel.java (<init>): Added error cause
8413 information to thrown exception.
8414 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8415 New method.
8416 (setDataElements): New method.
8417 (setPixels): New method.
8418 (toString): New method.
8419
8420 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8421
8422 * java/awt/image/ComponentColorModel.java
8423 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8424 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8425 Mauve tests on this method. Improved documentation.
8426
8427 2004-04-20 Michael Koch <konqueror@gmx.de>
8428
8429 * javax/swing/JLayeredPane.java,
8430 javax/swing/plaf/BorderUIResource.java,
8431 javax/swing/plaf/ComponentUI.java,
8432 javax/swing/undo/CompoundEdit.java,
8433 javax/swing/undo/StateEdit.java:
8434 Fixed HTML tags in javadocs all over.
8435
8436 2004-04-20 Michael Koch <konqueror@gmx.de>
8437
8438 * javax/print/attribute/EnumSyntax.java
8439 (getOffset): Made protected.
8440 * javax/print/attribute/HashAttributeSet.java
8441 (HashAttributeSet): Likewise.
8442 * javax/print/attribute/ResolutionSyntax.java
8443 (getFeedResolution): Fixed typo in exception name.
8444 (getCrossFeedResolution): Likewise.
8445 * javax/print/attribute/SetOfIntegerSyntax.java
8446 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8447 * javax/print/attribute/TextSyntax.java
8448 (TextSyntax): Handle locale correctly.
8449 (hashCode): Calc better hashcode value.
8450 (equals): Fixed @return tag.
8451 (toString): New method.
8452
8453 2004-04-20 Michael Koch <konqueror@gmx.de>
8454
8455 * gnu/java/nio/FileLockImpl.java
8456 (static): Removed, not needed anymore.
8457 * gnu/java/nio/channels/FileChannelImpl.java
8458 (FileChannelImpl): Made final.
8459 (mode): Made private.
8460 (READ, WRITE, APPEND): Made public.
8461 (EXCL, SYNC, DSYNC): Likewise.
8462 (static): Load native JNI library, when needed.
8463 (length): Unused, removed.
8464 (available): Made public.
8465 (implPosition): Throws IOException.
8466 (seek): Likewise.
8467 (implTruncate): Likewise.
8468 (unlock): Likewise.
8469 (lock): Likewise.
8470
8471 2004-04-20 Michael Koch <konqueror@gmx.de>
8472
8473 * java/awt/AWTPermission.java,
8474 java/awt/Component.java,
8475 java/awt/ComponentOrientation.java,,
8476 java/awt/Dialog.java,
8477 java/awt/FontMetrics.java,
8478 java/awt/Graphics.java,
8479 java/awt/datatransfer/DataFlavor.java,
8480 java/beans/Introspector.java,
8481 java/beans/PropertyEditor.java,
8482 java/beans/PropertyEditorManager.java,
8483 java/beans/beancontext/BeanContextServiceProvider.java:
8484 Fixed HTML tags in javadocs all over.
8485
8486 2004-04-20 Mark Wielaard <mark@klomp.org>
8487
8488 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8489 MissingResourceException is thrown.
8490 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8491 null when a MissingResourceException is thrown. Should never happen.
8492
8493 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8494
8495 * java/awt/image/DataBufferShort.java,
8496 java/awt/image/DataBufferFloat.java,
8497 java/awt/image/DataBufferDouble.java,
8498 java/awt/image/PixelInterleavedSampleModel.java: New files.
8499 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8500 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8501
8502 2004-04-20 Michael Koch <konqueror@gmx.de>
8503
8504 * Makefile.am (java_source_files): Added
8505 java/awt/image/DataBufferDouble.java,
8506 java/awt/image/DataBufferFloat.java,
8507 java/awt/image/DataBufferShort.java and
8508 java/awt/image/PixelInterleavedSampleModel.java.
8509 * Makefile.in: Regenerated.
8510
8511 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8512
8513 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8514 undocumented CNI calls.
8515 * include/java-interp.h (_Jv_InterpClass): No longer
8516 extends java.lang.Class.
8517 * java/lang/Class.h (Class): Add new field `aux_info'.
8518 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8519 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8520 Use Class->aux_info instead.
8521 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8522 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8523 Use Class->aux_info instead.
8524 * java/io/natObjectInputStream.cc (allocateObject): Use
8525 _Jv_AllocObject.
8526 * java/lang/natClass.cc (newInstance): Likewise.
8527 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8528 * java/lang/natObject.cc (clone): Likewise.
8529 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8530 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8531 JvAllocObject. Allocate klass->aux_info here for interpreted
8532 class.
8533
8534 2004-04-17 Mark Wielaard <mark@klomp.org>
8535
8536 * javax/swing/JToggleButton.java (ToggleButtonModel):
8537 Make public static inner class.
8538 * javax/swing/JTabbedPane.java (setComponentAt):
8539 Call Page.setComponent().
8540 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8541 (WRAP_TAB_LAYOUT): Make public, value is 0.
8542 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8543 Make private static inner class.
8544
8545 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8546
8547 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8548 arguments to match new signature. Remove FIXME comments.
8549
8550 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8551
8552 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8553 Remove method.
8554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8555 unused code.
8556
8557 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8558
8559 * Makefile.am: Added new file.
8560 * Makefile.in: Regenerate.
8561 * javax/swing/ImageIcon.java:
8562 (ImageIcon(file)): set description of the icon
8563 to the file name
8564 * javax/swing/JCheckBoxMenuItem.java:
8565 Mostly Implemented. Work in progress.
8566 * javax/swing/JRadioButtonMenuItem.java:
8567 Reimplement constructors to use JToggleButtonModel.
8568 * javax/swing/plaf/basic/BasicIconFactory.java:
8569 (getCheckBoxMenuItemIcon): return check box
8570 icon.
8571 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8572 paint menu item selected only when it is armed and
8573 pressed.
8574
8575 2004-04-02 David Jee <djee@redhat.com>
8576
8577 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8578 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8579 * java/awt/Component.java
8580 (add): Set the parent of the popup as this component.
8581 * java/awt/PopupMenu.java
8582 (addNotify): Create popup menu when peer is null.
8583 (show): Call addNotify() if peer is null.
8584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8585 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8586 argument for gtk_menu_popup() as zero. This causes the popup menu to
8587 respond to any mouse button.
8588
8589 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8590
8591 * Makefile.am: Added new file.
8592 * Makefile.in: Regenerate.
8593 * javax/swing/JRadioButtonMenuItem.java:
8594 Implemented.
8595 * javax/swing/plaf/basic/BasicIconFactory.java:
8596 (getRadioButtonMenuItemIcon): Return
8597 radio button icon.
8598 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8599 (getPreferredSize): Add size of checkIcon if it
8600 exists.
8601 (installDefaults): Don't initialize checkIcon.
8602 It's value will be set in subclasses.
8603 (uninstallDefaults): remove uninstallation of
8604 checkIcon.
8605 (paint): Moved code to paintMenuItem().
8606 (paintMenuItem): Implemented.
8607 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8608 UI delegate for JRadioButtonMenuItem.
8609
8610 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8611
8612 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8613 Corrected position of the accelerator.
8614
8615 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8616
8617 * Makefile.am: Added new file.
8618 * Makefile.in: Regenerate.
8619 * javax/swing/JMenuItem.java: Partly
8620 implemented. Work in progress
8621 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8622 Changed default value of acceleratorDelimiter.
8623 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8624 New class. Partly implemented.
8625
8626 2004-03-26 Mark Wielaard <mark@klomp.org>
8627
8628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8629 (item_activate): Declare label before use.
8630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8631 (gtkSetFont): Removed unused variable label.
8632 (addExposeFilter): Declare variables before use.
8633 (removeExposeFilter): Likewise.
8634 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8635 (ok_clicked): Declare str_fileName before use.
8636
8637 2004-03-26 David Jee <djee@redhat.com>
8638
8639 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8640 (addSeparator): Remove.
8641 * java/awt/Menu.java
8642 (separator): Remove static final MenuItem field.
8643 (separatorLabel): New static final String field.
8644 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8645 Use separatorLabel to denote that it is a separator.
8646 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8647 of reusing the static separator instance, because a MenuItem instance
8648 can't be added more than once without being cloned.
8649 * java/awt/peer/MenuPeer.java
8650 (addSeparator): Remove from interface.
8651
8652 2004-03-26 David Jee <djee@redhat.com>
8653
8654 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8655 (connectSignals): New native method declaration.
8656 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8657 * java/awt/MenuItem.java
8658 (getActionCommand): Return the label if the action command is not set.
8659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8660 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8661 gtk_menu_shell_append().
8662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8663 (item_activate): Fix argument type.
8664 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8665 signal here.
8666 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8667 method.
8668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8669 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8670 given. Add the menu widget's top-level GtkWindow to the global window
8671 group, so it can grab the pointer.
8672 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8673 gtk_menu_shell_append().
8674
8675 2004-03-23 Graydon Hoare <graydon@redhat.com>
8676
8677 * java/text/AttributedString.java
8678 (addAttribute): Fix off-by-one.
8679 (getIterator): Likewise.
8680 * java/text/AttributedStringIterator.java
8681 (getRunLimit): Correct logic.
8682 (getRunStart): Likewise.
8683 (getAttribute): Fix inequality.
8684 (getAttributes): Likewise.
8685 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8686
8687 2004-03-23 Kim Ho <kho@redhat.com>
8688
8689 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8690 (calculateSizes): Return real width and height.
8691
8692 2004-03-23 Kim Ho <kho@redhat.com>
8693
8694 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8695 (calculateTabRects): Set the selectedRun before
8696 trying to rotate tabs.
8697
8698 2004-03-23 Kim Ho <kho@redhat.com>
8699
8700 * Makefile.am: New file
8701 * Makefile.in: Regenerate
8702 * java/awt/Graphics.java: (drawRect):
8703 Draw to the correct point.
8704 * javax/swing/DefaultSingleSelectionModel.java
8705 (isSelected): Return true if the selected index
8706 is not -1.
8707 * javax/swing/JLabel.java: Do not change mnemonic
8708 index if text is null.
8709 * javax/swing/JProgressBar.java: Use JComponent's
8710 EventListenerList.
8711 * javax/swing/JScrollBar.java: Ditto.
8712 * javax/swing/JSlider.java: Ditto.
8713 * javax/swing/JTabbedPane.java: Reimplement.
8714 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8715 Add defaults for TabbedPane.
8716 * javax/swing/plaf/basic/BasicArrowButton.java:
8717 Implement
8718 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8719 (paintDeterminate): Don't paint String if it's
8720 empty.
8721 (paintIndeterminate): ditto.
8722 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8723 Reimplement.
8724
8725 2004-03-19 Michael Koch <konqueror@gmx.de>
8726
8727 * java/awt/image/AffineTransformOp.java
8728 (AffineTransformOp): Made public.
8729 * javax/swing/JComponent.java
8730 (listenerList): Made protected.
8731 (accessibleContext): Likewise.
8732 * javax/swing/JList.java
8733 (valueChanged): Dont use internal fields of ListSelectionEvent.
8734 * javax/swing/JViewport.java
8735 (getView): Dont use internal fields of Component.
8736 (addImpl): Likewise.
8737 * javax/swing/Timer.java
8738 (isRunning): Made public.
8739 (start): Likewise.
8740 (stop): Likewise.
8741 * javax/swing/UIDefaults.java
8742 (getInt): Made public.
8743 * javax/swing/plaf/basic/BasicListUI.java
8744 (mousePressed): Dont use internal fields of MouseEvent.
8745 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8746 * javax/swing/plaf/basic/BasicScrollBarUI.java
8747 (arrowIcon): Made static.
8748 * javax/swing/plaf/basic/BasicViewportUI.java
8749 (stateChanged): Dont use internal field on ChangeEvent.
8750 * javax/swing/text/JTextComponent.java
8751 (getUI): Call UIManager.getUI().
8752 (updateUI): Use getUI().
8753
8754 2004-03-19 Graydon Hoare <graydon@redhat.com>
8755
8756 * javax/swing/JComponent.java: Turn off double buffer by default.
8757 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8759 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8760 Use cairo to copy areas.
8761 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8762 Initialize and set clip region.
8763
8764 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8765
8766 * java/applet/Applet.java (preferredSize): Override deprecated
8767 variant of getPreferredSize.
8768 (minimumSize): Override deprecated variant of getMinimumSize.
8769
8770 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8771
8772 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8773 (drawImage(img,xform,bgcolor,obs)): New Method.
8774 Helper function that every drawImage method will
8775 use.
8776 (drawRaster): Added new parameter, bgcolor. All
8777 transparent pixels are changed to bgcolor before
8778 image is drawn.
8779 (drawRenderedImage): Fixed to use changed drawRaster().
8780 (drawImage(image,xform,obs): Fixed to use new helper function
8781 (drawImage(image,op,x,y)): Ditto.
8782 (drawImage (img,x,y,observer)): Ditto.
8783 ((PainterThread) bgcolor): New Field.
8784 ((PainterThread) (setPixels)): Changed all transparent pixels
8785 to bgcolor.
8786 (drawImage(img,x,y,width,height,bgcolor,observer)):
8787 Fixed FIXME - all the transparent pixels are
8788 changed to the specified bgcolor.
8789 (drawImage(img, x, y, width, height, observer): Changed to
8790 use function above.
8791 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8792 Fixed FIXME- changed all transparent pixels to bgcolor.
8793 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8794 Changed to use function above.
8795
8796 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8797
8798 * java/applet/Applet.java (dimensions): New field.
8799 (getDimensions): New method.
8800 (getPreferredSize): Call getDimensions.
8801 (getMinimumSize): Likewise.
8802
8803 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8804
8805 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8806 * jni/classpath/jnilink.c: Likewise.
8807
8808 * java/applet/Applet.java (getPreferredSize): New method.
8809 (getMinimumSize): New method.
8810
8811 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8812
8813 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8814 (_Jv_AllocObjectNoFinalizer): Likewise.
8815 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8816 (_Jv_AllocPtrFreeObject): Likewise.
8817 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8818 directly even in the JVMPI case.
8819 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8820 _Jv_AllocObject calls.
8821 * gcj/javaprims.h: Update prototypes.
8822 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8823 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8824 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8825
8826 2004-04-14 Andrew Haley <aph@redhat.com>
8827 Bryce McKinlay <mckinlay@redhat.com>
8828
8829 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8830 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8831 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8832
8833 * testsuite/libjava.lang/InvokeInterface.java: New file.
8834 * testsuite/libjava.lang/InvokeInterface.out: New file.
8835
8836 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8837
8838 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8839 modified lookup().
8840 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8841 StackTraceElement directly.
8842 (newElement): New native helper method to create StackTraceElement
8843 bypassing Java access control.
8844 (createStackTraceElement): Use newElement() instead of directly
8845 calling StackTraceElement's constructor.
8846 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8847
8848 2004-04-01 Michael Koch <konqueror@gmx.de>
8849
8850 * java/lang/SecurityManager.java
8851 (checkAwtEventQueueAccess): Implemented.
8852
8853 2004-04-01 Gary Benson <gbenson@redhat.com>
8854
8855 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8856 (_Jv_SearchMethodInClass): Likewise.
8857
8858 2004-03-26 Peter Moon <peterm@miraculum.com>
8859
8860 * java/text/NumberFormat.java: Fix spelling of setCurrency
8861 method.
8862
8863 2004-03-21 Anthony Green <green@redhat.com>
8864
8865 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8866 recursion when searching for the system ClassLoader.
8867
8868 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8869
8870 * java/net/ServerSocket.java
8871 (accept): Close the socket when error occured.
8872
8873 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8874
8875 * java/net/URI.java (parseURI): Added unquoting.
8876 (unquote): New method.
8877 (quoteAuthority): Implemented.
8878 (quote(String,String)): New method.
8879 (quotePath): Implemented.
8880 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8881 (getSchemeSpecificPart): Removed FIXME comment.
8882 (getRawAuthority): Return new rawAuthority field.
8883 (getAuthority): Removed FIXME comment.
8884 (getRawUserInfo): Return new rawUserInfo field.
8885 (getUserInfo): Removed FIXME comment.
8886 (getRawPath): Return new rawPath field.
8887 (getPath): Removed FIXME comment.
8888 (getRawQuery): Return new rawQuery field.
8889 (getQuery): Removed FIXME comment.
8890 (getRawFragment): Return new rawFragment field.
8891 (getFragment): Removed FIXME comment.
8892
8893 2004-03-20 Michael Koch <konqueror@gmx.de>
8894
8895 * java/net/URLConnection.java: Merged copyright year with classpath.
8896
8897 2004-03-20 Norbert Frese <postfach@nfrese.net>
8898
8899 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8900 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8901 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8902 rmi-message.
8903 (getObjectInputStream): Return object reference, throw IOException if null.
8904 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8905 (getObjectOutputStream): Return object reference, throw IOException if null.
8906 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8907 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8908 (UnicastConnectionManager): Throw RemoteException if port is not available.
8909 (getInstance): Throw RemoteException.
8910 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8911 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8912 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8913 Collect Exceptions which are returned by a rmi-call and fix void returns.
8914 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8915 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8916 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8917 (dispatch): Answer ping messages which are sent by other java implementions.
8918 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8919 for every rmi-message and fix void return problems.
8920 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8921 (UnicastServerRef): Throw RemoteException.
8922 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8923 In some situations it is necessary to export a subclass of the class which has the _Stub.
8924 For instance when the class with has the _Stub is abstract.
8925 (findStubSkelClass): New method which looks for the class which has the _Stub.
8926 (getClientHost): Implementated.
8927 * gcc/libjava/java/rmi/server/RemoteServer.java
8928 (getClientHost): Implementated.
8929 * gcc/libjava/Makefile.am (rmi_java_source_files):
8930 Added gnu/java/rmi/server/RMIIncomingThread.java.
8931 * Makefile.in: Regenerated.
8932
8933 2004-03-20 Michael Koch <konqueror@gmx.de>
8934
8935 * java/net/InetAddress.java
8936 (getLocalHostname): Added javadoc.
8937
8938 2004-03-19 Per Bothner <per@bothner.com>
8939
8940 * configure.in: FILE variable overrides FLATFORM when linking
8941 natFileChannelXXX.cc.
8942
8943 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8944 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8945
8946 2004-03-19 Per Bothner <per@bothner.com>
8947
8948 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8949 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8950 * Makefile.am: Update accordingly.
8951 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8952 as aliases for UnicodeLittle and UnicodeBig.
8953
8954 2004-03-20 Mark Wielaard <mark@klomp.org>
8955
8956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8957 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8958 Don't access ws when it is null.
8959 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8960 Likewise.
8961
8962 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8963
8964 * java/lang/ThreadGroup.java (list): Changed print to println.
8965
8966 2004-03-19 Mark Wielaard <mark@klomp.org>
8967
8968 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8969 happy.
8970
8971 2004-02-10 Randolph Chung <tausq@debian.org>
8972
8973 * configure.in: Build java for hppa target.
8974 * configure: Regenerate.
8975 * libjava/configure.host (hppa-*): Add target.
8976 * libjava/sysdeps/pa/lock.h: New file.
8977
8978 2004-03-19 Mark Wielaard <mark@klomp.org>
8979
8980 Reported by Stephen Crawley
8981 * java/io/FilePermission.java (implies): Use String.length() -1 to
8982 access last char of String.
8983
8984 2004-03-19 Michael Koch <konqueror@gmx.de>
8985
8986 * java/awt/image/AffineTransformOp.java
8987 (AffineTransformOp): Made public.
8988 * javax/swing/JComponent.java
8989 (listenerList): Made protected.
8990 (accessibleContext): Likewise.
8991 * javax/swing/JList.java
8992 (valueChanged): Dont use internal fields of ListSelectionEvent.
8993 * javax/swing/JViewport.java
8994 (getView): Dont use internal fields of Component.
8995 (addImpl): Likewise.
8996 * javax/swing/Timer.java
8997 (isRunning): Made public.
8998 (start): Likewise.
8999 (stop): Likewise.
9000 * javax/swing/UIDefaults.java
9001 (getInt): Made public.
9002 * javax/swing/plaf/basic/BasicListUI.java
9003 (mousePressed): Dont use internal fields of MouseEvent.
9004 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9005 * javax/swing/plaf/basic/BasicScrollBarUI.java
9006 (arrowIcon): Made static.
9007 * javax/swing/plaf/basic/BasicViewportUI.java
9008 (stateChanged): Dont use internal field on ChangeEvent.
9009 * javax/swing/text/JTextComponent.java
9010 (getUI): Call UIManager.getUI().
9011 (updateUI): Use getUI().
9012
9013 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9014
9015 * verify.cc: Undef PC.
9016
9017 2004-03-18 Michael Koch <konqueror@gmx.de>
9018
9019 * java/nio/channels/spi/AbstractSelectableChannel.java
9020 (keys): Initialize at declaration.
9021 (locate): keys cant be null.
9022 (add): Removed.
9023 (addSelectionKey): New method.
9024 (removeSelectionKey): New method.
9025 * java/nio/channels/spi/AbstractSelectionKey.java
9026 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9027 * java/nio/channels/spi/AbstractSelector.java
9028 (provider): Javadoc added.
9029 (cancelledKeys): Javadoc added.
9030 (cancelKey): Javadoc added, add key to cancelledKeys.
9031 (deregister): Implemented.
9032
9033 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9034
9035 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9036 MAP_FAILED to void *.
9037
9038 2004-03-12 Graydon Hoare <graydon@redhat.com>
9039
9040 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9041 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9042 * javax/swing/JList.java (ListListener): Revalidate on changes.
9043 * javax/swing/JScrollPane.java: Reimplement.
9044 * javax/swing/JViewport.java: Reimplement.
9045 * javax/swing/ScrollPaneLayout.java: Reimplement.
9046 * javax/swing/ViewportLayout.java: Tidy up.
9047 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9048 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9049 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9050 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9051 backing store only.
9052
9053 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9054
9055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9056 (window_wm_protocols_filter): New function.
9057 (window_focus_in_cb): Remove function.
9058 (window_focus_out_cb): Likewise.
9059 (window_focus_or_active_state_change_cb): New function.
9060 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9061 (connectSignals): Don't attach handlers to focus-in-event or
9062 focus-out-event signals. Handle notify signal.
9063
9064 2004-03-11 David Jee <djee@redhat.com>
9065
9066 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9067 (gtkSetLabel): New native method declaration.
9068 (setLabel): Use gtkSetLabel.
9069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9070 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9071
9072 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9073
9074 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9075 black when color argument is null.
9076
9077 2004-03-10 Kim Ho <kho@redhat.com>
9078
9079 * java/awt/Container.java: Remove check
9080 for drag events.
9081
9082 2004-03-10 Kim Ho <kho@redhat.com>
9083
9084 * java/awt/Container.java: (visitChild):
9085 Remove candidate clip. Use the component
9086 clip to intersect.
9087 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9088 (handleEvent): Use the PaintEvent's clip.
9089
9090 2004-03-10 Kim Ho <kho@redhat.com>
9091
9092 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9093 (handleEvent): Don't set the clip for the
9094 Graphics object.
9095
9096 2004-03-09 Graydon Hoare <graydon@redhat.com>
9097
9098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9099 Fix double <-> fixed macros, reset font transform.
9100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9101 Likewise.
9102
9103 2004-03-09  Kim Ho <kho@redhat.com>
9104
9105 * java/awt/Container.java: (visitChild): Move
9106 the x and y coordinate of the component rectangle
9107 to correct position.
9108 (handleEvent): Forward drag events to the pressed
9109 component.
9110 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9111 Fix comments.
9112 (ArrowButtonListener::mousePressed): Stop the
9113 existing timer.
9114 (mouseDragged): Implement.
9115 (TrackListener::mousePressed): Only react if
9116 the press doesn't occur on the thumb, otherwise
9117 just set the offset.
9118 (TrackListener::mouseReleased): Unset the isAdjusting
9119 value.
9120 (createIncreaseIcon): Switch icon.
9121 (createDecreaseIcon): Switch icon.
9122 (calculatePreferredSize): Use width.
9123 (getThumbBounds): Use the top as the lower value.
9124 (layoutVScrollBar): Switch the button locations.
9125 (paintIncreaseHighlight): Paint correct side of thumb.
9126 (paintDecreaseHighlight): ditto.
9127 (valueForYPosition): Use top as the lower value.
9128 * javax/swing/plaf/basic/BasicSliderUI.java:
9129 Fix comments.
9130 (mouseDragged): Implement.
9131 (mousePressed): Only react when the thumb isn't
9132 pressed, otherwise just set offset.
9133 (mouseReleased): Handle a release of the thumb.
9134 (scrollDueToClickInTrack): Stop the timer first.
9135 * javax/swing/JProgressBar.java:
9136 (setString): Fix change condition.
9137 * javax/swing/JSeparator.java:
9138 Remove println's.
9139
9140 2004-03-08 David Jee <djee@redhat.com>
9141
9142 * java/awt/image/AffineTransformOp.java:
9143 (filter): Use Graphics2D interface instead of directly using the
9144 GdkGraphics2D peer.
9145
9146 2004-03-05 David Jee <djee@redhat.com>
9147
9148 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9149 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9150 * java/awt/Container.java
9151 (acquireComponentForMouseEvent): Fixed.
9152 (handleEvent): Fixed.
9153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9154 (state_to_awt_mods_with_button_states): New method.
9155 (pre_event_handler): Fixed mouse event generation.
9156
9157 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9158
9159 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9160 (GdkGraphics2D (BufferedImage)): Initialize
9161 pixmap associated with specified BufferedImage.
9162 (setPaint): Changed implementation of Texture
9163 Paint to use AffineTransformOp.
9164 * java/awt/image/AffineTransformOp.java
9165 (createCompatibleDestRaster): Throw RasterFormatException
9166 if resulting width or height of raster is 0.
9167
9168 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9169
9170 * java/awt/image/AffineTransformOp.java:
9171 Removed unnecessary field interpolationType.
9172 Formatted some of the lines to be consistent with
9173 the GNU style.
9174 (AffineTransformOp): Create new RenderingHints
9175 containing specified interpolation type.
9176 (createCompatibleDestImage): Implemented.
9177 (createCompatibleDestRaster): Implemented.
9178 (filter): Implemented.
9179 (getBounds2D(BufferedImage)): Implemented.
9180 (getBounds2D(Raster)): Implemented.
9181 (getInterpolationType): Get interpolation value from
9182 rendering hints.
9183
9184 2004-03-04 David Jee <djee@redhat.com>
9185
9186 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9187 (setFont): Check if child peers are null.
9188
9189 2004-03-04 Graydon Hoare <graydon@redhat.com>
9190
9191 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9192 .libs in -L option.
9193 (libjava_arguments): Add new libraries to argument list.
9194
9195 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9196
9197 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9198 * Makefile.in: Re-generated.
9199 * java/awt/image/AffineTransformOp.java: New Class.
9200
9201 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9202
9203 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9204 (setPaint): Interpret correctly TexturePaint's
9205 anchor rectangle.
9206 (drawImage): Fixed scale factors of the affine
9207 transform.
9208
9209 2004-02-27 David Jee <djee@redhat.com>
9210
9211 * gnu/java/awt/peer/gtk/GdkGraphics.java
9212 (GdkGraphics(Component)): Inherit font from component.
9213 (drawString): Use font style.
9214 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9215 (gtkSetFont): New native method declaration.
9216 (setFont): New method.
9217 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9218 (gtkSetFont): New native method declaration.
9219 (setFont): Call new native method gtkSetFont.
9220 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9221 (setFont): For all child components who do not their fonts set,
9222 set their peers' fonts with this container's font.
9223 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9224 Move all native method declarations to the top for readability.
9225 (gtkSetFont): New native method declaration.
9226 (setFont): New method.
9227 * java/awt/Component.java
9228 (setFont): Invalidate after setting the font.
9229 * java/awt/Container.java
9230 (invalidateTree): New method.
9231 (setFont): Invalidate the container tree after setting the font.
9232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9233 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9235 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9237 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9239 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9240
9241 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9242
9243 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9244 (updateBufferedImage): New helper function.
9245 Updates BufferedImage in memory if it was changed.
9246 (draw): changed to update BufferedImage in memory after
9247 this drawing operation
9248 (fill): Ditto.
9249 (draw3DRect): Ditto.
9250 (fill3DRect): Ditto.
9251 (clearRect): Ditto.
9252 (drawRaster): Ditto.
9253 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9254 no affine transformation.
9255 (drawGlyphVector): Ditto.
9256
9257 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9258
9259 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9260 (isBufferedImageGraphics): New Helper function.
9261 Returns true if this graphics2d can be used to draw
9262 into buffered image and false otherwise.
9263 (updateImagePixels): New Helper function.
9264 Updates pixels in the BufferedImage.
9265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9266 (getImagePixels): New function. Returns pixels
9267 of the buffered image associated with
9268 this Graphics2D.
9269
9270 2004-02-26 David Jee <djee@redhat.com>
9271
9272 * java/awt/BorderLayout.java
9273 (layoutContainer): Fix width and height calculations to ensure
9274 that they're non-negative.
9275 * java/awt/Component.java
9276 (setBackground): If c is null, inherit from closest ancestor whose
9277 background color is set.
9278
9279 2004-02-26  Kim Ho  <kho@redhat.com>
9280
9281 * Makefile.am: Add new files.
9282 * Makefile.in: Re-generate.
9283 * javax/swing/JProgressBar.java:
9284 (JProgressBar(int, int int)): Throw
9285 IllegalArgumentException if orientation is
9286 invalid.
9287 (JProgressBar(BoundedRangeModel)): Create
9288 ChangeListener and register it. UpdateUI.
9289 (getChangeListeners): Implement.
9290 (setModel): Reset ChangeListener.
9291 * javax/swing/JScrollBar.java: Implement.
9292 * javax/swing/JSeparator.java: Implement.
9293 * javax/swing/JSlider.java:
9294 (JSlider(int, int, int, int)): Throw
9295 IllegalArgumentException if orientation
9296 is invalid.
9297 (getChangeListeners): Fix method name.
9298 * javax/swing/SwingUtilities.java:
9299 (layoutCompoundLabel): If there is no text,
9300 set the text rectangle dimensions to 0.
9301 * javax/swing/plaf/basic/BasicButtonUI.java:
9302 (paint): If there is no text, don't paint it.
9303 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9304 Implement.
9305 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9306 Implement.
9307 * javax/swing/plaf/basic/BasicSliderUI.java:
9308 (propertyChange): If the model changes, change
9309 the listeners accordingly.
9310
9311 2004-02-25 Graydon Hoare <graydon@redhat.com>
9312
9313 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9314 * javax/swing/JList.java: Reimplement.
9315 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9316 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9317 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9318 * javax/swing/ListModel.java: Javadoc.
9319 * javax/swing/ListSelectionModel.java: Add missing methods.
9320 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9321 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9322 * javax/swing/ListModel.java: Javadoc and corrections.
9323 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9324
9325 2004-02-25 David Jee <djee@redhat.com>
9326
9327 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9328 (GtkFontPeer): Change default size to 12.
9329 * gnu/java/awt/peer/gtk/GtkToolkit.java
9330 (getFontPeer): Change default size to 12.
9331 (getClasspathFontPeer): Likewise. Set default name to "Default".
9332 * java/awt/Font.java
9333 (Font(Map)): Call Font(String,Map).
9334 (Font(String,Map)): If attrs is null, initialize it as an empty
9335 HashMap, which will ensure that the Font will get default attributes.
9336
9337 2004-02-25 David Jee <djee@redhat.com>
9338
9339 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9340 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9341 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9342 * gnu/java/awt/peer/gtk/GtkToolkit.java
9343 (getFontPeer(String,int)): Call the new overload method with size 1.
9344 (getFontPeer(String,int,int)): New method. Overloaded with size
9345 attribute.
9346 (getClasspathFontPeer): Set the size of the font.
9347
9348 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9349
9350 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9351 (bimage): New field.
9352 (GdkGraphics2D): New Constructor. Constructs Graphics
9353 object that can be used to draw into the Buffered Image.
9354 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9355 (GdkGraphicsEnvironment): Fixed to include public
9356 keyword.
9357 (createGraphics): Implemented.
9358 * gnu/java/awt/peer/gtk/GtkToolkit.java
9359 (getLocalGraphicsEnvironment): Implemented.
9360 * java/awt/GraphicsEnvironment.java:
9361 (getLocalGraphicsEnvironment): Implemented.
9362 * java/awt/image/BufferedImage.java:
9363 (createGraphics): Implemented.
9364
9365 2004-02-24 David Jee <djee@redhat.com>
9366
9367 * java/awt/Component.java
9368 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9369 * java/awt/Container.java
9370 (addNotifyContainerChildren): Fix event enabling.
9371
9372 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9373
9374 * Makefile.am: Added
9375 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9376 * Makefile.in: Re-generated.
9377 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9378 New Class.
9379
9380 2004-02-19 Kim Ho <kho@redhat.com>
9381
9382 * Makefile.am: Add BasicProgressBarUI
9383 * Makefile.in: Regenerate.
9384 * javax/swing/JProgressBar.java:
9385 Re-implement.
9386 * javax/swing/plaf/basic/BasicLookAndFeel.java
9387 Add constants for JProgressBar.
9388 * javax/swing/plaf/basic/BasicProgressBarUI.java
9389 Implement.
9390 * javax/swing/plaf/basic/BasicSliderUI.java
9391 Change comments.
9392 (calculateGeometry): New method
9393 (paint): Remove unnecessary size calculations.
9394
9395 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9396
9397 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9398 (drawRaster): Fixed small error that caused
9399 imageToUser transformation to be set incorrectly.
9400 (toString): Implemented.
9401
9402 2004-02-18 David Jee <djee@redhat.com>
9403
9404 * java/awt/CardLayout.java
9405 (addLayoutComponent): Show the first component added as the default.
9406 (removeLayoutComponent): After removing, show the next component.
9407 (gotoComponent): If there is only one component, show it and return.
9408
9409 2004-02-18 Kim Ho <kho@redhat.com>
9410
9411 * javax/swing/JSlider.java: Re-order
9412 modifiers.
9413 * javax/swing/JLabel.java: Re-order
9414 modifiers.
9415 * javax/swing/JComponent.java:
9416 (addPropertyChangeListener):
9417 Implement.
9418 (removePropertyChangeListener):
9419 ditto.
9420 (firePropertyChangeEvent):
9421 ditto.
9422
9423 2004-02-17 David Jee <djee@redhat.com>
9424
9425 * java/awt/Component.java
9426 (show): Dispatch ComponentEvent via system event queue.
9427 (hide): Likewise.
9428 (move): Likewise.
9429 (resize): Likewise.
9430 (reshape): Likewise.
9431 * java/awt/Window.java
9432 (setBoundsCallback): Likewise.
9433
9434 2004-02-17 David Jee <djee@redhat.com>
9435
9436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9437 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9438 Use gtk_widget_set_size_request() instead of the deprecated
9439 gtk_widget_set_usize().
9440
9441 2004-02-17 Kim Ho <kho@redhat.com>
9442
9443 * javax/swing/JSlider.java: Fix comments and
9444 make property strings constants.
9445 (createStandardLabels): Use the labels
9446 preferred size as bounds.
9447 * javax/swing/plaf/basic/BasicSliderUI.java
9448 Fix comments.
9449 (ScrollHandler::actionPerformed): Don't
9450 calculate the timer stop value. Let the
9451 MouseListeners find the stop location.
9452 (getPreferredHorizontalSize): Re-implement.
9453 (getPreferredVerticalSize): ditto.
9454 (getMinimumHorizontalSize): ditto.
9455 (getMinimumVerticalSize): ditto.
9456 (getPreferredSize): ditto.
9457 (getMinimumSize): ditto.
9458 (getMaximumSize): ditto.
9459 (paintTicks): Use doubles to find the
9460 tick location.
9461 (paintHorizontalLabel):  Use preferredSize
9462 as initial width and height.
9463 (paintVerticalLabel): ditto.
9464
9465 2004-02-17 Kim Ho <kho@redhat.com>
9466
9467 * javax/swing/JLabel.java: Changed
9468 property strings to constants.
9469 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9470 New property.
9471 (setText): Change mnemonic index if
9472 text is too short.
9473 (setDisplayedMnemonicIndex): Fire property
9474 change event.
9475 (getDisplayedMnemonicIndex): Remove check
9476 against short text.
9477
9478 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9479
9480 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9481 (drawImage(img,xform,obs)): Invert xform before
9482 passing the xform to cairo.
9483 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9484 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9485 implemented.
9486 (drawImage (img,x,y,w,h,obs)): Implemented.
9487 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9488 bgcolor,obs)): Partly implemented.
9489 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9490 Implemented.
9491 * java/awt/image/BufferedImage.java:
9492 (copyData): if dest is null, create raster with same
9493 dimensions as the current image.
9494
9495 2004-02-16 Graydon Hoare <graydon@redhat.com>
9496
9497 * javax/swing/plaf/basic/BasicLabelUI.java
9498 (getPreferredSize): Use layoutCL.
9499 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9500 (getPreferredButtonSize): Start with empty view rect, layout using
9501 component's preferred alignment.
9502 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9503 List defaults.
9504
9505 2004-02-16 David Jee <djee@redhat.com>
9506
9507 * java/awt/Component.java
9508 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9509 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9510 (move): Erase old bounds and repaint new bounds. Dispatch
9511 COMPONENT_MOVED ComponentEvent.
9512 (resize): Erase old bounds and repaint new bounds. Dispatch
9513 COMPONENT_RESIZED ComponentEvent.
9514 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9515 ComponentEvents.
9516 * java/awt/Window.java
9517 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9518 ComponentEvents.
9519
9520 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9521
9522 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9523 (setRenderingHint): Added implementation of
9524 Interpolation rendering hints.
9525 (setRenderingHints): Ditto.
9526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9527 (drawPixels): fixed to allow user to choose type
9528 of filtering that should be used when displaying images.
9529 (cairoSurfaceSetFilter): New method. Sets filter type for
9530 interpolation of pixel values.
9531
9532 2004-02-16 David Jee <djee@redhat.com>
9533
9534 * java/awt/GridBagLayout.java
9535 (calcCellSizes): Rows or columns with zero sizes should still be
9536 considered for extra space distribution.
9537
9538 2004-02-16 Kim Ho <kho@redhat.com>
9539
9540 * javax/swing/JLabel.java: Re-implement.
9541 * javax/swing/plaf/basic/BasicLabelUI.java
9542 Re-implement.
9543 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9544 Added constant.
9545
9546 2004-02-16  Kim Ho  <kho@redhat.com>
9547
9548 * javax/swing/JSlider.java: Fix indentation and comments.
9549 (setModel): Remove null check to conform with Sun's.
9550 (setOrientation): Throw exception if not
9551 HORIZONTAL or VERTICAL.
9552 (getInverted): Use private variable instead of
9553 ComponentOrientation.
9554 (setInverted): ditto.
9555 * javax/swing/plaf/basic/BasicSliderUI.java:
9556 Fix indentation and comments.
9557 (propertyChange): Remove check for inverted slider, handle
9558 in main paint.
9559 (getMinimumSize): Return preferred size.
9560 (getMaximumSize): ditto.
9561 (calculateFocusRect): Don't relocate rectangle.
9562 (drawInverted): Return XOR of the slider's inversion and
9563 the component's orientation.
9564 (paint): Update leftToRightCache
9565
9566 2004-02-13 David Jee <djee@redhat.com>
9567
9568 * java/awt/GridBagLayout.java
9569 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9570 code to helper methods.
9571 (sortBySpan): New helper method.
9572 (distributeSizeAndWeight): Likewise.
9573 (calcCellWeights): Likewise.
9574 (calcCellSizes): Add comments.
9575
9576 2004-02-13 David Jee <djee@redhat.com>
9577
9578 * java/awt/Component.java
9579 (show): Only do something if component is invisible at the moment.
9580 (hide): Only do something if component is visible at the moment.
9581 (reshape): If lightweight, erase old bounds and repaint new bounds.
9582
9583 2004-02-13  Kim Ho  <kho@redhat.com>
9584
9585 * Makefile.am: Updated for new file.
9586 * Makefile.in: Regenerated.
9587 * javax/swing/JSlider.java: Reimplement.
9588 * javax/swing/SwingUtilities.java
9589 (layoutCompoundLabel): Use icon height
9590 instead of width.
9591 (paintComponent): Implement.
9592 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9593 Add JSlider defaults.
9594 * javax/swing/plaf/basic/BasicSliderUI.java:
9595 Implement. New file.
9596
9597 2004-03-17 Michael Koch <konqueror@gmx.de>
9598
9599 * gnu/java/net/PlainDatagramSocketImpl.java
9600 (RECEIVE_LOCK): New member field.
9601 (SEND_LOCK): New member field.
9602 (send0): New method.
9603 (send): Synchronize on SEND_LOCK.
9604 (receive0): New method.
9605 (receive): Synchronize on RECEIVE_LOCK.
9606 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9607 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9608 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9609 (send0): Renamed from send.
9610 (receive0): Renamed from receive.
9611 2004-03-17 Michael Koch <konqueror@gmx.de>
9612
9613 * gnu/java/net/natPlainSocketImplPosix.cc
9614 (write): Just call write(jbyteArray, offset, len).
9615 (read): Just call read(jbyteArray, offset, len).
9616
9617 2004-03-16 Michael Koch <konqueror@gmx.de>
9618
9619 * javax/swing/JTabbedPane.java
9620 (serialVersionUID): New field.
9621
9622 2004-03-16 Norbert Frese <postfach@nfrese.net>
9623
9624 * java/net/InetAddress.java
9625 (getByName): Handle hostname == "" case.
9626
9627 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9628
9629 Reported by: Adam Heath <doogie@debian.org>
9630 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9631 class loader.
9632
9633 2004-03-15 Michael Koch <konqueror@gmx.de>
9634
9635 * java/util/Locale.java: Reverting my last patch
9636 and add a comment why the original version was okay.
9637
9638 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9639
9640 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9641 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9642 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9643 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9644
9645 2004-03-12 Michael Koch <konqueror@gmx.de>
9646
9647 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9648
9649 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9650
9651 * java/net/URI.java (toURL): Implemented.
9652
9653 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9654
9655 * java/net/URI.java
9656 (URI_REGEXP) updated to contain scheme specific part.
9657 (SCHEME_SPEC_PART_GROUP) new constant.
9658 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9659 updated to make room for SCHEME_SPEC_PART_GROUP.
9660 (parseURI) parse scheme specific part.
9661 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9662 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9663 getQuery, getFragment) implemented.
9664
9665 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9666
9667 * libraries/javalib/java/net/URI.java
9668 partially implemented using java.util.regex.
9669 (URI_REGEXP) new constant. Used to parse URIs.
9670 (SCHEME_GROUP) new constant representing index of scheme group
9671 in parsed URI.
9672 (AUTHORITY_GROUP) new constant representing index of authority
9673 group in parsed URI.
9674 (PATH_GROUP) new constant representing index of path group in
9675 parsed URI.
9676 (QUERY_GROUP) new constant representing index of query group in
9677 parsed URI.
9678 (FRAGMENT_GROUP) new constant representing index of fragment
9679 group in parsed URI.
9680 (getURIGroup) new static utility method.
9681 (parseURI) implemented.
9682 (quote) stub for new static utility method.
9683 (quoteAuthority) stub for new static utility method.
9684 (quoteHost) stub for new static utility method.
9685 (quotePath) stub for new static utility method.
9686 (quoteUserInfo) stub for new static utility method.
9687 (URI) implemented.
9688 (create) don't throw URISyntaxException. Implemented.
9689 (toString) implemented.
9690
9691 2004-03-12 Michael Koch <konqueror@gmx.de>
9692
9693 * java/net/HttpURLConnection.java
9694 (getResponseCode): Fix another typo in javadoc.
9695
9696 2004-03-11 Michael Koch <konqueror@gmx.de>
9697
9698 * java/util/logging/Level.java
9699 (parse): Use String.equals() instead of ==.
9700
9701 2004-03-11 Michael Koch <konqueror@gmx.de>
9702
9703 * gnu/java/net/protocol/jar/Connection.java
9704 (getContentLength): New method.
9705
9706 2004-03-11 Michael Koch <konqueror@gmx.de>
9707
9708 * gnu/java/net/PlainSocketImpl.java:
9709 Reformated to merge better with classpath's version.
9710
9711 2004-03-11 Michael Koch <konqueror@gmx.de>
9712
9713 * java/util/Locale.java
9714 (getISO3Language): Use String.equals() instead of ==.
9715 (getISO3Country): Likewise.
9716
9717 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9718
9719 * java/text/AttributedString.java
9720 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9721 Use HashMap instead of Hashtable since value can be null, and
9722 you can not store a null value in a Hashtable.
9723
9724 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9725
9726 * java/text/AttributedStringIterator.java
9727 (getAllAttributesKey): Return only keys concerned
9728 by the current iterator.
9729 (getAttributes): Use strict inequality for
9730 end_index.
9731
9732 2004-03-11 Michael Koch <konqueror@gmx.de>
9733
9734 * java/net/HttpURLConnection.java:
9735 Fixed typo in javadoc.
9736
9737 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9738
9739 * java/io/BufferedInputStream.java (marktarget): New field for max
9740 mark limit.
9741 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9742 (mark): Use new fields.
9743 (read): Likewise.
9744 (read(byte[],int,int)): Likewise.
9745 (skip): Likewise.
9746 (refill): Likewise.
9747
9748 2004-03-11 Mark Wielaard <mark@klomp.org>
9749
9750 * java/beans/BeanDescriptor.java (BeanDescriptor):
9751 Set the FeatureDescriptor programmatic name.
9752
9753 2004-03-11 Michael Koch <konqueror@gmx.de>
9754
9755 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9756 This file was was just copied form java/io/natFileDescriptorEcos.cc
9757 and never changed to compile correctly.
9758
9759 2004-03-11 Michael Koch <konqueror@gmx.de>
9760
9761 * gnu/java/nio/PipeImpl.java
9762 (SourceChannelImpl): Made final.
9763 (read): Implemented.
9764 (SinkChannelImpl): Made final.
9765 (write): Implemented.
9766
9767 2004-03-11 Michael Koch <konqueror@gmx.de>
9768
9769 * gnu/java/net/PlainDatagramSocketImpl.java:
9770 Reformated to match classpath's version more.
9771
9772 2004-03-11 Michael Koch <konqueror@gmx.de>
9773
9774 * gnu/java/awt/peer/ClasspathFontPeer.java:
9775 Fixed javadoc to be correct xhtml.
9776 * gnu/java/awt/peer/gtk/GtkArgList.java
9777 (add): Use Boolean.valueOf() instead of new Boolean().
9778
9779 2004-03-09 Michael Koch <konqueror@gmx.de>
9780
9781 * java/lang/Thread.java
9782 (runnable): Moved around.
9783 (daemon): Renamed from daemon_flag.
9784 (contextClassLoader): Renamed from context_class_loader.
9785 (Thread): Reordered constructors.
9786 (activeCount): Use group directly.
9787 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9788 (holdsLock): Reworked javadoc.
9789 (setDaemon): Reworked.
9790 * java/lang/natThread.cc
9791 (destroy): Removed.
9792
9793 2004-03-08 Anthony Green <green@redhat.com>
9794
9795 * Makefile.am: Build property resource files into libgcj.
9796 * Makefile.in: Rebuilt.
9797 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9798 java/util/regex/PatternSyntaxException.java,
9799 gnu/regexp/CharIndexed.java,
9800 gnu/regexp/CharIndexedCharArray.java,
9801 gnu/regexp/CharIndexedInputStream.java,
9802 gnu/regexp/CharIndexedReader.java,
9803 gnu/regexp/CharIndexedString.java,
9804 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9805 gnu/regexp/REException.java,
9806 gnu/regexp/REFilterInputStream.java,
9807 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9808 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9809 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9810 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9811 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9812 gnu/regexp/RETokenLookAhead.java,
9813 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9814 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9815 gnu/regexp/RETokenStart.java,
9816 gnu/regexp/RETokenWordBoundary.java,
9817 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9818
9819 2004-03-03 Per Bothner <per@bothner.com>
9820
9821 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9822 Optimize when argument is a FileChannelImpl.
9823 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9824 New native methods.
9825 * java/nio/channels/natChannels.cc: New file for new native methods.
9826 * Makefile.am: Update accordingly.
9827
9828 2004-03-02 Jan Hubicka <jh@suse.cz>
9829
9830 * configure.host: Pass -fno-omit-frame-pointer for i386.
9831 * configure.in: Likewise.
9832 * configure: Regenerate.
9833
9834 2004-03-01 Per Bothner <per@bothner.com>
9835
9836 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9837
9838 2004-02-29 Per Bothner <per@bothner.com>
9839
9840 * java/nio/channels/FileChannelImpl.java: Moved to package
9841 gnu/java/nio/channels, since we need to refer to it from java.io.
9842 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9843 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9844 from java/nio/channels. Don't depend on FileDescriptor.
9845 (in, out, err): New static fields.
9846 (mode): New field.
9847 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9848 from FileDescriptor.
9849 (by): Removed MappedByteBuffer field.
9850 (map): New working implementation.
9851 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9852 some code "ported" from natFileDescriptoPosix.cc.
9853 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9854 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9855 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9856 Remove native methods.
9857 * Makefile.am, configure.in: Updated accordingly.
9858
9859 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9860 (ch): New FileChannelImpl field. Update constructor to match.
9861 (releaseImpl): Remove native method. Instead ...
9862 (release): Call unlock on channel.
9863 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9864
9865 * java/io/natFileDescriptorEcos.cc: Remove file.
9866 * java/io/natFileDescriptorPosix.cc: Remove file.
9867 * java/io/natFileDescriptorWin32.cc: Remove file.
9868 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9869 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9870 (<init>(FileChannelImpl)): New package-private constructor.
9871 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9872 (available, close, read, skip): Implement using FileChannelImpl.
9873 (getFD): Allocate FileDescriptor if needed.
9874 (getChannel): Is now trivial.
9875 * java/io/FileOutputStream.java: Corresponding changes.
9876 * java/io/RandomAccessFile.java: Corresponding changes.
9877
9878 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9879 unmapImpl): New dummy methods, to be overridden by subclass.
9880 (finalize, isLoaded, load, force): New methods.
9881 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9882 Now works, at least for read mapping.
9883
9884 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9885 streams using FileChannelImpl, not FileDescriptor.
9886 * java/lang/natWin32Process.cc (startProcess): Likewise.
9887
9888 2004-02-28 Michael Koch <konqueror@gmx.de>
9889
9890 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9891 wrong code.
9892
9893 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9894
9895 * java/io/ObjectInputStream.java
9896 (readClassDescriptor): Keep elements of the mapping non null.
9897 (checkTypeConsistency): New method.
9898 (readFields): Fixed main loop and base logic. Small reindentation.
9899 * java/io/ObjectStreamField.java
9900 (lookupField): New method to update the field reference.
9901 (checkFieldType): New method.
9902 * java/io/ObjectStreamClass.java
9903 (setClass, setFields): Call lookupField when building the field
9904 database. Check the real field type.
9905
9906 2004-02-28 Michael Koch <konqueror@gmx.de>
9907
9908 * java/nio/ByteOrder.java
9909 (nativeOrder): Use equals() to compare strings.
9910
9911 2004-02-26 Michael Koch <konqueror@gmx.de>
9912
9913 * gnu/java/nio/FileLockImpl.java
9914 (finalize): Made protected.
9915 * java/nio/channels/FileChannel.java
9916 (MapMode.READ_ONLY): Made final.
9917 (MapMode.READ_WRITE): Made final.
9918 (MapMode.PRIVATE): Made final.
9919 * java/nio/channels/SocketChannel.java
9920 (open): Simplified code.
9921 * java/nio/channels/spi/AbstractSelectableChannel.java
9922 (registered): Unused, removed.
9923 (keyFor): Check channel is open, only locate key
9924 and not add a new one.
9925 (register): Don't delete attachments.
9926
9927 2004-02-26 Michael Koch <konqueror@gmx.de>
9928
9929 * gnu/java/awt/ComponentDataBlitOp.java
9930 (INSTANCE): Made final.
9931 * gnu/java/awt/image/ImageDecoder.java:
9932 Reworked imports.
9933 (cm): Unused, removed.
9934
9935 2004-02-26 Michael Koch <konqueror@gmx.de>
9936
9937 * gnu/java/nio/DatagramChannelImpl.java
9938 (send): Check if target address is resolved.
9939
9940 2004-02-26 Michael Koch <konqueror@gmx.de>
9941
9942 * Makefile.am: Generate and install headers for inner classes in
9943 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9944 * Makefile.in: Regenerated.
9945
9946 2004-02-24 Anthony Green <green@redhat.com>
9947
9948 * java/lang/StringBuffer.java: No need to NULL out remainder of
9949 buffer since ensureCapacity_unsynchronized will have done this for
9950 us.
9951
9952 2004-02-20 Michael Koch <konqueror@gmx.de>
9953
9954 * gnu/java/net/protocol/jar/Handler.java
9955 (): Removed unneeded check for file != null. java.net.URL.getFile()
9956 returns an empty string but never null.
9957
9958 2004-02-20 Michael Koch <konqueror@gmx.de>
9959
9960 * gnu/gcj/convert/Convert.java
9961 (main): Use equals() to compare strings.
9962
9963 2004-02-20 Michael Koch <konqueror@gmx.de>
9964
9965 * javax/swing/AbstractButton.java: Made several constants final.
9966 (getRolloverSelectedIcon): Made public.
9967 (getSelectedIcon): Made public.
9968
9969 2004-02-16 Per Bothner <per@bothner.com>
9970
9971 * java/nio/CharBufferImpl.java: Inline super constructor.
9972 * java/nio/DoubleBufferImpl.java: Likewise.
9973 * java/nio/FloatBufferImpl.java: Likewise.
9974 * java/nio/IntBufferImpl.java: Likewise.
9975 * java/nio/LongBufferImpl.java: Likewise.
9976 * java/nio/ShortBufferImpl.java: Likewise.
9977 * java/nio/CharBuffer.java: Remove unused constructor.
9978 * java/nio/DoubleBuffer.java: Likewise.
9979 * java/nio/FloatBuffer.java: Likewise.
9980 * java/nio/IntBuffer.java: Likewise.
9981 * java/nio/LongBuffer.java: Likewise.
9982 * java/nio/ShortBuffer.java: Likewise.
9983 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9984 Fix buggy call to super constructor.
9985 * java/nio/DoubleViewBufferImpl.java: Likewise.
9986 * java/nio/FloatViewBufferImpl.java: Likewise.
9987 * java/nio/IntViewBufferImpl.java: Likewise.
9988 * java/nio/LongViewBufferImpl.java: Likewise.
9989 * java/nio/ShortViewBufferImpl.java: Likewise.
9990
9991 * java/nio/ByteBuffer.java (endian): Make non-private so other
9992 java.nio classes can inherit it.
9993 (<init>): Don't bother clearing array_offset.
9994 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9995 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9996 Remove redundant test.
9997
9998 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9999 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10000 Use new XxxViewBufferImpl constructors.
10001 * java/nio/MappedByteBufferImpl.java: Likewise.
10002 * java/nio/DirectByteBufferImpl.java: Likewise.
10003
10004 * java/nio/ByteBufferImpl.java: Remove one constructor.
10005 Inline super in remaining constructor.
10006 * java/nio/ByteBuffer.java: Remove unused constructor.
10007
10008 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10009
10010 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10011 * java/nio/DirectByteBufferImpl.java (owner): New field.
10012 (offset): Remove unused field.
10013 (<init>): Modify one and add another constructor. Change callers.
10014 (allocateDirect): Removed - not used.
10015 (getImpl, putImpl): Make static and pass address explicitly,
10016 to make them useful for MappedByteBufferImpl.
10017 (get, put): Check for underflow. Modify for new getImpl.
10018 (getImpl): New native method where target is array.
10019 (get(byte[],int,int)): Use the above.
10020 (adjustAddress): New static native method.
10021 (slice, duplicate, asReadOnly): New implementations.
10022 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10023 adjustAddress): New or updated native methods.
10024
10025 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10026
10027 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10028 overflow of fieldmapping.
10029
10030 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10031
10032 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10033
10034 2004-02-14 Per Bothner <per@bothner.com>
10035
10036 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10037 Set closed before calling implCloseChannel, as in the spec.
10038
10039 2004-02-09 Graydon Hoare <graydon@redhat.com>
10040
10041 * javax/swing/ToggleButtonModel.java: Remove dead class.
10042 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10043 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10044 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10045 * Makefile.am: Update for new and removed files.
10046 * Makefile.in: Regenerate.
10047
10048 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10049 * javax/swing/AbstractButton.java
10050 (AbstractButton): Initialize fields correctly in ctor.
10051 * javax/swing/JCheckbox.java
10052 (JCheckBox): Override painting flags.
10053 * javax/swing/DefaultButtonModel.java: Conform to sun.
10054 * javax/swing/JComponent.java (paint): Fill with background color
10055 if available.
10056 (processComponentKeyEvent)
10057 (processFocusEvent)
10058 (processKeyEvent)
10059 (processMouseMotionEvent): Remove event-consuming empty methods.
10060 (getUIClassID): Return "ComponentUI" not "JComponent"
10061 * javax/swing/JFrame.java: Remove some debugging chatter.
10062 (JFrame): Subscribe to window events.
10063 * javax/swing/JRadioButton.java
10064 (JRadioButton): Override painting flags.
10065 * javax/swing/JRootPane.java
10066 (JRootPane): Set background from UIDefaults.
10067 * javax/swing/JToggleButton.java
10068 (ToggleButtonModel): New inner class.
10069 (JToggleButton): Override layout alighment.
10070 * javax/swing/SwingUtilities.java:
10071 (getLocalBounds): Return width and height, not x and y.
10072 (calculateInnerArea): Use local bounds, not bounds.
10073 (layoutCompoundLabel): Provide overridden form.
10074 (layoutCompoundLabel): Correct bugs.
10075 * javax/swing/UIDefaults.java: Correct comment.
10076 * javax/swing/plaf/basic/BasicButtonUI.java:
10077 Move most logic into defaults, external listener.
10078 (paintIcon): Implement icon painting.
10079 (paint): Fix state painting to conform to changes in model.
10080 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10081 Remove most dead/wrong methods.
10082 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10083 * javax/swing/plaf/basic/BasicIconFactory.java:
10084 (DummyIcon): New class.
10085 (getMenuItemCheckIcon)
10086 (getMenuItemArrowIcon)
10087 (getMenuArrowIcon)
10088 (getCheckBoxMenuItemIcon)
10089 (getRadioButtonMenuItemIcon)
10090 (createEmptyFrameIcon): Return DummyIcons, not null.
10091 (getCheckBoxIcon): Implement an icon that looks like sun's.
10092 (getRadioButtonIcon): Implement an icon that looks like sun's.
10093 * javax/swing/plaf/basic/BasicLookAndFeel.java
10094 (initComponentDefaults): Fix impossible values, add some missing.
10095 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10096 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10097 Remove most dead/wrong methods.
10098 (icon): New field.
10099 (getDefaultIcon): New method.
10100 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10101 Remove most dead/wrong methods.
10102 * javax/swing/plaf/metal/MetalLookAndFeel.java
10103 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10105 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10106 Implement "clearing" as drawing, when on pixmap drawables.
10107
10108 * javax/swing/JButton.java (getUIClassID):
10109 * javax/swing/JCheckBox.java (getUIClassID):
10110 * javax/swing/JEditorPane.java (getUIClassID):
10111 * javax/swing/JLabel.java (getUIClassID):
10112 * javax/swing/JList.java (getUIClassID):
10113 * javax/swing/JOptionPane.java (getUIClassID):
10114 * javax/swing/JPanel.java (getUIClassID):
10115 * javax/swing/JPasswordField.java (uiClassID):
10116 * javax/swing/JRadioButton.java (getUIClassID):
10117 * javax/swing/JRootPane.java (getUIClassID):
10118 * javax/swing/JScrollPane.java (getUIClassID):
10119 * javax/swing/JTabbedPane.java (getUIClassID):
10120 * javax/swing/JToggleButton.java (getUIClassID):
10121 * javax/swing/JTree.java (getUIClassID):
10122 * javax/swing/JViewport.java (getUIClassID):
10123 * javax/swing/text/JTextComponent.java (getUIClassID):
10124 Return "fooUI" not "Jfoo"
10125
10126 2004-02-11 Michael Koch <konqueror@gmx.de>
10127
10128 * java/net/DatagramSocket.java
10129 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10130 Boolean object.
10131 (setBroadcast): Likewise.
10132 * java/net/MulticastSocket.java
10133 (setLoopbackMode): Likewise.
10134 * java/net/ServerSocket.java
10135 (setReuseAddress): Likewise.
10136 * java/net/Socket.java
10137 (setTcpNoDelay): Likewise.
10138 (setSoLinger): Likewise.
10139 (setOOBInline): Likewise.
10140 (setKeepAlive): Likewise.
10141 (setReuseAddress): Likewise.
10142 * java/net/URLConnection.java
10143 (setContentHandler): Replace == with equals().
10144 * java/net/URLStreamHandler.java
10145 (hostSEquals): Fix checking host addresses.
10146 (toExternalForm): Dont check protocol for null. We know already its
10147 not null.
10148
10149 2004-02-10 David Jee <djee@redhat.com>
10150
10151 * java/awt/BorderLayout.java
10152 (calcCompSize): Invisible components get zero dimensions.
10153 * java/awt/Button.java
10154 (setLabel): Set actionCommand.
10155 * java/awt/Component.java
10156 (show): Invalidate component and parent container.
10157 (hide): Likewise.
10158
10159 2004-02-10 David Jee <djee@redhat.com>
10160
10161 * java/awt/GridBagLayout.java
10162 (GridBagLayout): New private field, internalcomptable.
10163 (lookupInternalConstraints): New method.
10164 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10165 (GetLayoutInfo): Reimplement.
10166 (calcCellSizes): Ignore rows/columns with size 0.
10167
10168 2004-02-10 Michael Koch <konqueror@gmx.de>
10169
10170 * gnu/java/awt/EmbeddedWindow.java
10171 (setHandle): Use java.awt.Component.getPeer() instead of
10172 java.awt.Component.peer directly.
10173
10174 2004-02-10 David Jee <djee@redhat.com>
10175
10176 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10177 (gtkSetLabel): New native method definition.
10178 (setLabel): Use gtkSetLabel.
10179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10180 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10181
10182 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10183
10184 * include/powerpc-signal.h: Revert 2004-01-21 change.
10185 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10186 from syscall for ppc32 versions.
10187
10188 2004-02-08 Per Bothner <per@bothner.com>
10189
10190 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10191 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10192 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10193 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10194 Pass ByteOrder parameter to most methods, since the underlying
10195 ByteBuffer's order isn't always what we should use.
10196 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10197 * java/nio/DirectByteBufferImpl.java: Likewise.
10198 Use ByteBufferHelper methods.
10199 * java/nio/MappedByteBufferImpl.java: Likewise.
10200 (compact): Use shiftDown.
10201 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10202 (get, put): Use ByteBufferHelper.
10203 (compact): Use new shiftDown method.
10204 (duplicate(boolean)): New helper method.
10205 (duplicate, asReadOnlyBuffer): Use it.
10206 (order): Return endian field.
10207 * java/nio/DoubleViewBufferImpl.java: Likewise.
10208 * java/nio/FloatViewBufferImpl.java: Likewise.
10209 * java/nio/IntViewBufferImpl.java: Likewise.
10210 * java/nio/LongViewBufferImpl.java: Likewise.
10211 * java/nio/ShortViewBufferImpl.java: Likewise.
10212 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10213 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10214 (compact): Re-implement using shiftDown.
10215
10216 2004-02-08 Andreas Jaeger <aj@suse.de>
10217
10218 * include/x86_64-signal.h: Fix typo.
10219
10220 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10221
10222 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10223 qualifier to _regs.
10224 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10225
10226 2004-02-06 Michael Koch <konqueror@gmx.de>
10227
10228 * java/io/ObjectInputStream.java
10229 (currentClassLoader): Reverted to old version of this method.
10230
10231 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10232
10233 * java/io/ObjectInputStream.java: Made all calls
10234 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10235 use cached info from ObjectStreamClass. (readClassDescriptor):
10236 Cache more information in ObjectStreamClass. (processResolution,
10237 readFields): Use cached info from ObjectStreamClass.
10238 (newObject): Throw exception instead of returning null for failure.
10239 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10240 setCharField, setDoubleField, setFloatField, setIntField,
10241 setLongField, setShortField, setObjectField, readObjectParams):
10242 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10243 check.
10244 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10245 (setClass): Added call to cacheMethods() (findMethod): New method.
10246 (cacheMethods): New method. (ObjectStreamClass): Added call to
10247 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10248 AccessController.doPrivileged to invoke setAccessible.
10249 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10250 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10251 New fields.
10252 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10253 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10254 isPrimitive): Made safe for cases where type == null.
10255 (setBooleanField, setByteField, setCharField, setShortField,
10256 setIntField, setLongField, setFloatField, setDoubleField,
10257 setObjectField): New methods.
10258
10259 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10260
10261 * java/awt/Component.java (getFont): Return a default font
10262 instead of null.
10263
10264 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10265 (Scrollbar (int, int, int, int, int)): Make default page
10266 increment 10.
10267 (setValues): Only call peer.setValues if one of the values has
10268 changed.
10269 (generateName): New method.
10270 (getUniqueLong): New method.
10271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10272 (range_scrollbar): Remove structure.
10273 (post_adjustment_event): Remove function.
10274 (post_change_event): Accept jobject argument.
10275 (create): Cast jints to gdoubles. Round scrollbar values to the
10276 nearest integer. Clamp min, max and value settings.
10277 (connectJObject): Connect hook to widget->window.
10278 (connectSignals): Remove range_scrollbar structure variables.
10279 Remove "move-slider" connection. Pass global peer reference to
10280 "value-changed" callback.
10281 (setLineIncrement): Cast jint value to gdouble.
10282 (setPageIncrement): Likewise.
10283 (setValues): Likewise. Clamp min, max and value settings.
10284
10285 2004-02-05 Michael Koch <konqueror@gmx.de>
10286
10287 * javax/swing/AbstractCellEditor.java
10288 (getCellEditorValue): Removed.
10289 * javax/swing/Box.java: Reformated.
10290 (serialVersionUID): New field.
10291 * javax/swing/ButtonGroup.java:
10292 Removed some weird whitespace.
10293 * javax/swing/CellEditor.java: Reformated.
10294 * javax/swing/CellRendererPane.java
10295 (serialVersionUID): New field.
10296 (AccessibleCellRendererPaneserialVersionUID): New field.
10297 * javax/swing/DefaultListModel.java
10298 (serialVersionUID): New field.
10299 * javax/swing/JEditorPane.java
10300 (serialVersionUID): New field.
10301 (setPage): Throws IOException.
10302 (addHyperlinkListener): Implemented.
10303 (removeHyperlinkListener): Implemented.
10304 (getHyperlinkListener): New method.
10305 * javax/swing/JFileChooser.java
10306 (serialVersionUID): New field.
10307 (AccessibleJFileChooser.serialVersionUID): New field.
10308 (addActionListener): Implemented.
10309 (removeActionListener): Implemented.
10310 (getActionListeners): New method.
10311 * javax/swing/JFormattedTextField.java
10312 (serialVersionUID): New field.
10313 (AbstractFormatter.serialVersionUID): New field.
10314 (clone): Throws CloneNotSupportedException
10315 (setEditValid): Add missing argument.
10316 (stringToValue): Throws ParseExcpetion.
10317 (valueToString): Throws ParseException.
10318 (commitEdit): Throws ParseException.
10319 * javax/swing/JLabel.java
10320 (serialVersionUID): New field.
10321 * javax/swing/JList.java
10322 (serialVersionUID): New field.
10323 (addListSelectionListener): Reformated.
10324 (removeListSelectionListener): Reformated.
10325 (getListSelectionListeners): New method.
10326 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10327 Reformated.
10328 (serialVersionUID): New field.
10329 * javax/swing/table/AbstractTableModel.java
10330 (getValueAt): Removed.
10331 (getColumnCount): Removed.
10332 (getRowCount): Removed.
10333
10334 2004-02-05 Michael Koch <konqueror@gmx.de>
10335
10336 * java/awt/datatransfer/DataFlavor.java
10337 (imageFlavor): Javadoc added.
10338 (javaJVMLocalObjectType): Fixed.
10339
10340 2004-02-05 Michael Koch <konqueror@gmx.de>
10341
10342 * java/lang/Thread.java
10343 (Thread): Reordered.
10344 (setContextClassLoader): Fixed javadoc comment.
10345 (setPriority): Reordered.
10346 (yield): Reordered.
10347 (initialize_native): Reordered.
10348 (gen_name): Reordered.
10349
10350 2004-02-05 Michael Koch <konqueror@gmx.de>
10351
10352 * java/lang/Thread.java: Reordered fields, reformated much code,
10353 no functional changes, some variables renamed, javadoc comments
10354 merged.
10355
10356 2004-02-05 Michael Koch <konqueror@gmx.de>
10357
10358 * java/util/zip/Deflater.java,
10359 java/util/zip/DeflaterOutputStream.java,
10360 java/util/zip/GZIPInputStream.java:
10361 Reformated and javadoc comments merged from classpath.
10362
10363 2004-02-05 Michael Koch <konqueror@gmx.de>
10364
10365 * gnu/java/nio/NIOServerSocket.java
10366 (impl): Unused, removed.
10367 * gnu/java/nio/SocketChannelImpl.java
10368 (finnishConnect): Don't throw NoConnectionPendingException if not
10369 connected or no connection pending.
10370
10371 2004-02-02 Graydon Hoare <graydon@redhat.com>
10372
10373 * javax/swing/SwingUtilities.java: Many new functions.
10374 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10375 * javax/swing/basic/BasicGraphicsUtils.java
10376 (getPreferredButtonSize): Start layout from top-left corner.
10377
10378 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10379
10380 * java/awt/geom/AffineTransform.java:
10381 Corrected comments on the field definitions for
10382 m11 and m10.
10383 (shear): Fixed few errors that caused shear
10384 transformation to be performed incorrectly.
10385 (createInverse): Fixed to return correct
10386 inverse of the given matrix.
10387
10388 2004-02-03 Tom Tromey <tromey@redhat.com>
10389
10390 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10391 PATH or LD_LIBRARY_PATH is not set in parent environment.
10392
10393 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10394
10395 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10396 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10397 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10398 java/awt/Component.java, java/awt/Container.java,
10399 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10400 java/awt/LayoutManager2.java, java/awt/List.java,
10401 java/awt/Menu.java, java/awt/MenuBar.java,
10402 java/awt/MenuItem.java, java/awt/Polygon.java,
10403 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10404 java/awt/Scrollbar.java, java/awt/TextArea.java,
10405 java/awt/TextField.java,
10406 java/awt/image/renderable/RenderContext.java,
10407 javax/swing/JApplet.java: Fix handling of alias methods, where a
10408 method has been deprecated in favour of a new one with the same
10409 funtion but a different name. Put the method implementation in
10410 the deprecated method and have the new method call the
10411 deprecated one. Make all other code call the new method.
10412
10413 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10414
10415 * gnu/java/nio/DatagramChannelImpl.java
10416 (inChannelOperation): New field.
10417 (isInChannelOperation): New accessor.
10418 (setInChannelOperation): New modifier.
10419 (receive): Use capacity() - position() of destination
10420 buffer instead of remaining(). Set and reset our "in
10421 channel operation indicator" before and after delegating
10422 the receive to our datagram socket. Removed testing code.
10423 Update destination buffer's current position if it is
10424 backed by a byte array (hasArray() is true).
10425 (send): Set and reset our "in channel operation indicator"
10426 before and after delegating the send to our datagram socket.
10427 Removed testing code. Update source buffer's current position
10428 if it is backed by a byte array (hasArray() is true).
10429 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10430 Use capacity() - position() of destination buffer instead
10431 of remaining().
10432 * java/net/DatagramSocket.java (receive): Don't throw an
10433 IllegalBlockingModeException if we have a non-blocking
10434 channel which initiated this operation.
10435 (send): Likewise.
10436
10437 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10438
10439 * configure.in: Add pkgconfig check for glib and gthread.
10440 * configure: Regenerate.
10441
10442 2004-02-01 Michael Koch <konqueror@gmx.de>
10443
10444 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10445 arguments.
10446 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10447 * verify.cc (debug_print): Mark 'fmt' unused.
10448
10449 2004-01-30 Michael Koch <konqueror@gmx.de>
10450
10451 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10452 * configure: Regenerated.
10453 * glib-2.0.m4: Removed.
10454 * gtk-2.0.m4: Removed.
10455 * libart.m4: Removed.
10456 * pkg.m4: New file.
10457
10458 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10459
10460 * gnu/java/net/PlainSocketImpl.java
10461 (inChannelOperation): New field.
10462 (isInChannelOperation): New accessor.
10463 (setInChannelOperation): New modifier.
10464 * gnu/java/nio/ServerSocketChannelImpl.java
10465 (accept): Set and reset our server socket's PlainSocketImpl's
10466 "in channel operation" indicator before and after delegating
10467 the accept to our server socket.
10468 * gnu/java/nio/SocketChannelImpl.java
10469 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10470 operation" indicator before and after delegating the operation to
10471 our socket.
10472 (read): Likewise.
10473 (write): Likewise.
10474 * java/net/ServerSocket.java (implAccept): Don't throw an
10475 IllegalBlockingModeException if we have a non-blocking
10476 channel which initiated this accept operation.
10477 * java/net/Socket.java (connect): Don't throw an
10478 IllegalBlockingModeException if we have a non-blocking
10479 channel which initiated this connect operation.
10480 * java/nio/channels/spi/AbstractSelectableChannel.java
10481 (configureBlocking): Only call implConfigureBlocking() if
10482 the desired blocking mode is different from our current one.
10483
10484 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10485
10486 * java/io/BufferedReader.java (sbuf): New field.
10487 (readLine): Use String.valueOf instead of new String() as per
10488 Per Bothner's suggestion. Use instance sbuf field instead of a
10489 local StringBuffer instance.
10490 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10491 caller's buffer to refill().
10492 (read(void)): Pass our internal work buffer to refill if our
10493 input queue is empty.
10494 (refill): Changed return type to int. Use the specified buffer
10495 instead of our work buffer as per Bryce McKinlay's suggestion.
10496 Return the number of characters read or -1 for EOF.
10497
10498 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10499
10500 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10501
10502 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10503
10504 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10505 * Makefile.in: Re-generated.
10506 * gnu/awt/xlib/XFontPeer.java: New file.
10507 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10508 (setClip): Commented out debug printout.
10509 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10510 (getFontPeer): Return XFontPeer.
10511 (getLocalGraphicsEnvironment): New method.
10512 (getClasspathFontPeer): New method.
10513 (createFont): New method.
10514
10515 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10516
10517 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10518 return null.
10519
10520 2004-01-29 Kim Ho <kho@redhat.com>
10521
10522 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10523 (gtkLayoutSetVisible): New method
10524 (setMenuBar): Hide layout before setting MenuBar
10525 and reshow it after.
10526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10527 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10528
10529 2004-01-28 Michael Koch <konqueror@gmx.de>
10530
10531 * gnu/java/lang/ClassHelper.java
10532 (getPackagePortion): Removed.
10533
10534 2004-01-28 Michael Koch <konqueror@gmx.de>
10535
10536 * javax/swing/JComponent.java
10537 (listenerList): Initalize globally.
10538 (ancestor_list): Removed.
10539 (veto_list): Removed.
10540 (change_list): Removed.
10541 (get_veto_list): Removed.
10542 (get_change_list): Removed.
10543 (get_ancestor_list): Removed.
10544 (removeAncestorListener): Reimplemented.
10545 (removePropertyChangeListener): Likewise.
10546 (removeVetoableChangeListener): Likewise.
10547 (addAncestorListener): Likewise.
10548 (addPropertyChangeListener): Likewise.
10549 (addVetoableChangeListener): Likewise.
10550 (getListeners): New method.
10551 (getAncestorListeners): Likewise.
10552 (getVetoableChangeListeners): Likewise.
10553 (fireVetoableChange): Throws PropertyVetoException.
10554 * javax/swing/JEditorPane.java
10555 (JEditorPane): Throws IOException.
10556
10557 2004-01-28 David Jee <djee@redhat.com>
10558
10559 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10560 (create): Set the default foreground color to
10561 java.awt.SystemColor.windowText.
10562
10563 2004-01-27 Michael Koch <konqueror@gmx.de>
10564
10565 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10566 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10567 Reindented to merge with classpath.
10568
10569 2004-01-27 David Jee <djee@redhat.com>
10570
10571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10572 (addExposeFilter): Handle GtkFramePeer separately.
10573 (removeExposeFilter): Likewise.
10574
10575 2004-01-27 Michael Koch <konqueror@gmx.de>
10576
10577 * gnu/java/net/protocol/http/Connection.java
10578 (getOutputStream): Fixed typo.
10579
10580 2004-01-27 Michael Koch <konqueror@gmx.de>
10581
10582 * java/lang/Class.java
10583 (getConstructor): Removed SecurityException from throws clause.
10584 (_getConstructors): Likewise.
10585 (getConstructors): Likewise.
10586 (getDeclaredConstructor): Likewise.
10587 (getDeclaredClasses): Likewise.
10588 (getDeclaredConstructors): Likewise.
10589 (getDeclaredField): Likewise.
10590 (getDeclaredMethod): Likewise.
10591 (getDeclaredMethods): Likewise.
10592 (getField): Likewise.
10593 (getMethod): Likewise.
10594 (getMethods): Likewise.
10595
10596 2004-01-27 Kim Ho <kho@redhat.com>
10597
10598 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10599 (removeMenuBarPeer): Remove MenuBarPeer argument.
10600 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10601 (dispose): Call native method.
10602 * java/awt/Frame.java (setMenuBar): Create and remove
10603 MenuBar peers only if the Frame has a peer.
10604 (addNotify): Create the MenuBar peer if one exists.
10605 (removeNotify): Remove MenuBar peer if one exists.
10606 * java/awt/Menu.java: Fix imports.
10607 (addNotify): Don't use full class name.
10608 (removeNotify): Call removeNotify on all children.
10609 * java/awt/MenuBar.java (removeNotify): Call
10610 removeNotify on all children.
10611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10612 (removeMenuBarPeer): Remove MenuBarPeer argument.
10613 Iterate through children to find the Frame's MenuBar.
10614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10615 New file.
10616 (dispose): Remove references to the MenuComponent.
10617
10618 2004-01-27 Michael Koch <konqueror@gmx.de>
10619
10620 * javax/swing/AbstractCellEditor.java: Reformated.
10621 * javax/swing/DefaultListSelectionModel.java
10622 (listenerList): Made protected.
10623 (addListSelectionListener): Javadoc added.
10624 (removeListSelectionListener): Likewise.
10625 (getListeners): Likewise.
10626 (getListSelectionListeners): Likewise.
10627 * javax/swing/JComboBox.java: Merged copyright year.
10628 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10629
10630 2004-01-26 Andrew Haley <aph@redhat.com>
10631
10632 * javax/swing/table/JTableHeader.java: Extend JComponent
10633
10634 2004-01-26 Kim Ho <kho@redhat.com>
10635
10636 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10637 Fix spacing.
10638
10639 2004-01-26 Kim Ho <kho@redhat.com>
10640
10641 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10642 method.
10643 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10644 height and let the Layout Managers readjust anything that
10645 needs to move.
10646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10647 (moveLayout): New method. Shift everything in the Gtk
10648 layout in the Y direction by an offset.
10649
10650 2004-01-26 David Jee <djee@redhat.com>
10651
10652 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10653 (handleEvent): Implemented. Handles PaintEvents.
10654 (paint): Implemented. Use GTK native methods to queue updates
10655 for this heavyweight peer.
10656 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10657 (handleEvent): Removed.
10658 * java/awt/Component.java
10659 (paint): Implemented. Explictly paint the heavyweight peer.
10660 (update): Clear the background for heavyweight components.
10661 (paintAll): No need to call peer.paint() anymore.
10662 (processEvent): Don't process PaintEvents here. It's now done in
10663 the peer's handleEvent().
10664 (processPaintEvent): Removed.
10665 * java/awt/Container.java
10666 (paint): No need to call super.paint(). Visit heavyweight
10667 children as well.
10668 (update): Don't clear the background here. It's done in
10669 Component.update().
10670 (visitChildren): Added check to not recurse into Containers.
10671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10672 (filter_expose_event_handler): New method. Filter unwanted
10673 expose events while painting heavyweight peers.
10674 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10675 New method. Connect filter and block pre_event_handler.
10676 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10677 New method. Disconnect filter and unblock pre_event_handler.
10678 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10679 New method. Invalidate and update given area.
10680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10681 (pre_event_handler): Add checks for unwanted expose events.
10682
10683 2004-01-26 David Jee <djee@redhat.com>
10684
10685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10686 (find_bg_color_widget): For GtkButton, return its child.
10687
10688 2004-01-26 Kim Ho <kho@redhat.com>
10689
10690 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10691 private.
10692 (setMenuBar): Grab MenuBar height and change insets.
10693 (setBounds): Account for MenuBar height.
10694 (postInsetsChangedEvent): Ditto.
10695 (postSizeAllocateEvent): Remove.
10696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10697 (menubar_resize_cb): Remove
10698 (setMenuBarPeer): Remove callback.
10699 (getMenuBarHeight): Use size requisition instead of
10700 allocation.
10701
10702 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10703
10704 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10705 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10706 when peer is null.
10707 (setColumns): Remove FIXME -- peer will retrieve number of
10708 columns by calling getColumns.
10709 (setRows): Likewise for number of rows.
10710 (next_text_number): New field.
10711 (paramString): Fix param string.
10712 (generateName): New method.
10713 (getUniqueLong): New method.
10714
10715 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10716
10717 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10718 image observer of image loading status.
10719 (getImage (String)): Start image production.
10720 (getImage (URL)): Likewise.
10721
10722 2004-01-25 Michael Koch <konqueror@gmx.de>
10723
10724 * java/lang/Class.java: Imports reworked, reformated.
10725 (Class): Javadoc added.
10726 (forName): Likewise.
10727 (getClasses): Likewise.
10728 (getClassLoader): Likewise.
10729 (getComponentType): Likewise.
10730 (getConstructor): Likewise.
10731 (getConstructors): Likewise.
10732 (getDeclaredConstructor): Likewise.
10733 (getDeclaredClasses): Likewise.
10734 (getDeclaredConstructors): Likewise.
10735 (getDeclaredField): Likewise.
10736 (getDeclaredMethod): Likewise.
10737 (getDeclaredMethods): Likewise.
10738 (getDeclaringClass): Likewise.
10739 (getField): Likewise.
10740 (getInterfaces): Likewise.
10741 (getMethod): Likewise.
10742 (getMethods): Likewise.
10743 (getModifiers): Likewise.
10744 (getName): Likewise.
10745 (getResource): Likewise.
10746 (getResourceAsStream): Likewise.
10747 (getSigners): Likewise.
10748 (setSigners): Likewise.
10749 (getSuperclass): Likewise.
10750 (isArray): Likewise.
10751 (isAssignableFrom): Likewise.
10752 (isInstance): Likewise.
10753 (isInterface): Likewise.
10754 (isPrimitive): Likewise.
10755 (newInstance): Likewise.
10756 (getProtectionDomain): Likewise.
10757 (toString): Likewise.
10758 (Class): Moved.
10759 (initializeClass): Likewise.
10760 (finalize): Likewise.
10761
10762 2004-01-24 Michael Koch <konqueror@gmx.de>
10763
10764 * gnu/java/net/protocol/jar/Connection.java
10765 (hdrHash): Removed.
10766 (hdrVec): Removed.
10767 (gotHeaders): Removed.
10768 (getHeaderField): Removed.
10769 (getHeaderFields): Removed.
10770 (getHeaderFieldKey): Removed.
10771 (getKey): Removed.
10772 (getField): Removed.
10773 (getHeaders): Removed.
10774
10775 2004-01-24 Michael Koch <konqueror@gmx.de>
10776
10777 * Makefile.am: Added library version to gtk peer lib.
10778 * Makefile.in: Regenerated.
10779
10780 2004-01-24 Michael Koch <konqueror@gmx.de>
10781
10782 * java/util/zip/InflaterInputStream.java: Merged class documentation
10783 with classpath.
10784
10785 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10786
10787 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10788 header. For __powerpc64__ provide the default-signal.h definitions
10789 for now.
10790 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10791 instead of the dummy definitions.
10792 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10793 (powerpc64*-*): Remove with_libffi_default.
10794 Only add -mminimal-toc for 64-bit compilations.
10795 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10796 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10797 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10798 * configure: Rebuilt.
10799
10800 2004-01-23 Michael Koch <konqueror@gmx.de>
10801
10802 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10803
10804 2004-01-23 Michael Koch <konqueror@gmx.de>
10805
10806 * java/lang/VMClassLoader.java: Reworked imports.
10807
10808 2004-01-23 Michael Koch <konqueror@gmx.de>
10809
10810 * javax/swing/AbstractAction.java: Reformated.
10811
10812 2004-01-23 Michael Koch <konqueror@gmx.de>
10813
10814 * java/text/CollationElementIterator.java:
10815 (setText): New method.
10816
10817 2004-01-23 Michael Koch <konqueror@gmx.de>
10818
10819 * gnu/java/nio/FileLockImpl.java:
10820 Fixed filename in copyright.
10821 (released): Removed.
10822 (finalize): New method.
10823 * gnu/java/nio/natFileLockImpl.cc
10824 (releaseImpl): Implemented.
10825 * java/nio/channels/FileChannelImpl.java:
10826 Reworked imports.
10827 (lock): Implemented.
10828 (lockImpl): New method.
10829 (tryLock): Implemented.
10830 (tryLockImpl): New method.
10831 * java/nio/channels/natFileChannelImpl.cc
10832 (lockImpl): New method.
10833 (tryLockImpl): New method.
10834
10835 2004-01-23 Michael Koch <konqueror@gmx.de>
10836
10837 * java/io/FileDescriptor.java
10838 (lock): New method.
10839 (tryLock): New method.
10840 (unlock): New method.
10841 * java/io/natFileDescriptorEcos.cc
10842 (lock): New method.
10843 (tryLock): New method.
10844 (unlock): New method.
10845 * java/io/natFileDescriptorPosix.cc
10846 (lock): New method.
10847 (tryLock): New method.
10848 (unlock): New method.
10849 * java/io/natFileDescriptorWin32.cc
10850 (lock): New method.
10851 (tryLock): New method.
10852 (unlock): New method.
10853
10854 2004-01-23 Michael Koch <konqueror@gmx.de>
10855
10856 * java/io/FileDescriptor.java
10857 (sync): Moved around, added javadoc.
10858 (valid): Likewise.
10859 (open): Likewise.
10860 (write): Likewise.
10861 (close): Likewise.
10862 (setLength): Likewise.
10863 (seek): Likewise.
10864 (getLength): Likewise.
10865 (getFilePointer): Likewise.
10866 (read): Likewise.
10867 (available): Likewise.
10868 (finalize): Likewise.
10869
10870 2004-01-23 Michael Koch <konqueror@gmx.de>
10871
10872 * javax/swing/AbstractAction.java: Reformated.
10873 (getPropertyChangeListeners): New method.
10874 * javax/swing/AbstractCellEditor.java: Reformated.
10875 (getCellEditorListeners): New method.
10876 * javax/swing/DefaultListSelectionModel.java
10877 (listenerList): New field.
10878 (listeners): Removed.
10879 (get_listeners): Removed.
10880 (addListSelectionListener): Rewritten.
10881 (removeListSelectionListener): Rewritten.
10882 (getListSelectionListeners): New method.
10883 (getListeners): New method.
10884 * javax/swing/JComboBox.java: Imports reworked.
10885 (addActionListener): Implemented.
10886 (removeActionListener): Implemented.
10887 (addItemListener): Implemented.
10888 (removeItemListener): Implemented.
10889 (addPopupMenuListener): Implemented.
10890 (removePopupMenuListener): Implemented.
10891 (getActionListeners): New method.
10892 (getItemListeners): New method.
10893 (getPopupMenuListeners): New method.
10894
10895 2004-01-23 Michael Koch <konqueror@gmx.de>
10896
10897 * gnu/java/net/protocol/http/Connection.java
10898 (connect): Don't initialize bufferedOutputStream if not needed.
10899 (sendRequest): Set property for content length if content is present.
10900 Write content only if present.
10901 (getOutputStream): Check if already connected, dont connect,
10902 initalize bufferedOutputStream if needed.
10903
10904 2004-01-23 Michael Koch <konqueror@gmx.de>
10905
10906 * java/io/FileDescriptor.java
10907 (in, out, err): Added javadoc.
10908 (static): Merged loading code.
10909 (fd, position): Moved around.
10910
10911 2004-01-23 Michael Koch <konqueror@gmx.de>
10912
10913 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10914 New file.
10915
10916 2004-01-23 Michael Koch <konqueror@gmx.de>
10917
10918 * java/lang/Class.java,
10919 java/lang/Object.java,
10920 java/lang/Thread.java: Merged copyright with classpath.
10921
10922 2004-01-23 Michael Koch <konqueror@gmx.de>
10923
10924 * java/io/FileDescriptor.java: Merged copyright with classpath to
10925 start merging this class.
10926
10927 2004-01-22 Tom Tromey <tromey@redhat.com>
10928
10929 PR libgcj/13107:
10930 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10931 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10932 * testsuite/libjava.lang/pr13107_3.java: New file.
10933 * testsuite/libjava.lang/pr13107_3.out: New file.
10934 * testsuite/libjava.lang/pr13107_2.java: New file.
10935 * testsuite/libjava.lang/pr13107_2.out: New file.
10936 * testsuite/libjava.lang/pr13107.java: New file.
10937 * testsuite/libjava.lang/pr13107.out: New file.
10938 * verify.cc (jsr_ptrs): Removed.
10939 (entry_points): Likewise.
10940 (struct subr_info): Likewise.
10941 (struct subr_entry_info): Likewise.
10942 (type_val::unused_by_subroutine_type): Likewise.
10943 (type::merge): Don't handle unused_by_subroutine_type.
10944 (type::print): Likewise.
10945 (state::flags): Removed.
10946 (state::subroutine): Likewise.
10947 (state::seen_subrs): Likewise.
10948 (state::NO_STACK): Likewise.
10949 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10950 (state): Updated all methods.
10951 (state::clean_subrs): Removed.
10952 (state::state): Removed `ret_semantics' flag.
10953 (state::copy): Likewise.
10954 (state::add_subr): Removed.
10955 (state::enter_subroutine): Likewise.
10956 (type::set_return_address): New method.
10957 (handle_jsr_insn): Set return address on the type. Always
10958 invalidate PC after call.
10959 (check_nonrecursive_call): Removed.
10960 (~_Jv_BytecodeVerifier): Updated.
10961 (branch_prepass): Removed special handling of jsr.
10962 (note_branch_target): Likewise.
10963 (get_subroutine): Removed.
10964 (state::merge): Don't merge subroutines and don't handle
10965 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10966 (state::note_variable): Removed.
10967 (state::is_unmerged_ret_state): Likewise.
10968 (state::print): Updated.
10969 (set_variable): Likewise.
10970 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10971 and jsr_semantics arguments. Updated for new reverification
10972 list.
10973 (pop_jump): Rewrote.
10974 (construct_primitive_array_type): Updated.
10975 (state::next): Removed.
10976 (INVALID_STATE): New define.
10977 (state::INVALID): Removed.
10978 (state::NO_NEXT): New value.
10979 (state::pc, state::next): New fields.
10980 (state::get_pc): New method.
10981 (next_verify_pc): Removed.
10982 (next_verify_state): New field.
10983 (verify_instructions_0): Always check for falling off end.
10984 (linked): New type.
10985 (linked_utf8): Removed.
10986 (states): Changed type.
10987 (type::state_mergeable_p): New method.
10988 (state::state_mergeable_p): Likewise.
10989 (handle_ret_insn): Removed most code.
10990 (state::reverify): New method.
10991 (add_new_state): Likewise.
10992 (state::set_pc): Likewise.
10993
10994 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10995
10996 PR java/13733
10997 * testsuite/libjava.compile/PR13733.java: New file.
10998 * testsuite/libjava.compile/PR13733.xfail: New file.
10999
11000 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11001 Michael Koch <konqueror@gmx.de>
11002
11003 * javax/swing/table/DefaultTableCellRenderer.java
11004 (DefaultTableCellRenderer): Added javadoc for the class and for
11005 the constructor, Border instance, create an EmptyBorder.
11006 (UIResource): Removed the comment at the end of the class
11007 (setForeground): New method.
11008 (setBackground): New method.
11009 (updateUI): New method.
11010 (getTableCellRendererComponent): Rewritten with the help of
11011 dvholten and Stephane Meslin-Weber.
11012 (validate): New method.
11013 (repaint): New method.
11014 (firePropertyChange): New method.
11015 (setValue): New method.
11016
11017 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11018
11019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11020 (connectJObject): Replace printf calls with g_assert statements.
11021 Move property-notify-event signal connection to ...
11022 (connectSignals): Connect property-notify-event signal. Iterate
11023 through the vbox's children to find layout.
11024
11025 2004-01-22 Graydon Hoare <graydon@redhat.com>
11026
11027 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11028 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11029 Predicate static initialization on GtkToolkit.useGraphics2D().
11030 * java/awt/Component.java (processPaintEvent): Consume event.
11031 * javax/swing/AbstractButton.java: Reimplement, document.
11032 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11033 * javax/swing/JComponent.java (paint): Use double buffer.
11034 (listenerList): Enable member.
11035 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11036 * javax/swing/JToggleButton.java
11037 (JToggleButton): Modify model constructor.
11038 * javax/swing/SwingUtilities.java
11039 (layoutCompoundLabel): Adjust arithmetic.
11040 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11041 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11042 (getPreferredButtonSize): Include margins in calculation.
11043 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11044 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11045 Receive up events from subordinate layout component.
11046
11047 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11048
11049 * java/awt/Component.java (show): Set visible to true before
11050 showing the peer.
11051
11052 2004-01-21 Kim Ho <kho@redhat.com>
11053
11054 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11055 Fix comments.
11056 (removeMenuBarPeer): Make package private.
11057 (setMenuBarPeer): Make package private.
11058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11059 (menubar_resize_cb): Mark attributes unused.
11060 (getMenuBarHeight): ditto.
11061
11062 2004-01-21 David Jee <djee@redhat.com>
11063
11064 * java/awt/Container.java
11065 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11066 dispatching MOUSE_ENTERED event twice. Translate the point for
11067 the mouse event target before dispatching the event.
11068
11069 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11070
11071 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11072 lib_org_w3c_dom_la_LDFLAGS): New.
11073 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11074 * Makefile.in: Rebuilt.
11075
11076 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11077
11078 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11079 Calculate proper offsets for heavyweight components packed in
11080 lightweight containers.
11081
11082 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11083 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11084 (native create): Add width parameter.
11085 (create): Calculate text entry width based on current font's
11086 metrics and number of columns. Set TextField's font if not
11087 already set. Call native create.
11088 (gtkEntryGetBorderWidth): New native method.
11089 (gtkEntryGetSize): Remove method.
11090 (getMinimumSize): Call minimumSize.
11091 (getPreferredSize): Call preferredSize.
11092 (minimumSize): Calculate minimum size based on backing
11093 GtkEntry's borders, font metrics and number of columns.
11094 (preferredSize): Likewise for preferred size.
11095 (get_border_width): New static function.
11096
11097 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11098 Override GtkWindowPeer's setResizable method to account for menu
11099 bar height when setting the frame's size.
11100
11101 2004-01-19 Matthias Klose <doko@debian.org>
11102
11103 * libtool-version: Increased `current' to 6.
11104
11105 2004-01-19 Kim Ho <kho@redhat.com>
11106
11107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11108 (connectJObject): Iterate through the vbox's children to find layout.
11109
11110 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11111
11112 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11113 isDispatchThread method to replace wrong test condition.
11114
11115 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11116
11117 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11118 events to the queue out of order by acquiring locks in the proper
11119 order and not by releasing one before acquiring the other.
11120
11121 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11122
11123 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11124 visible so that dialog can be reused.
11125
11126 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11127
11128 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11129 events may be handled by any queue in the stack.
11130
11131 2004-01-19 Kim Ho <kho@redhat.com>
11132
11133 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11134 MenuBarPeer parameter.
11135 (removeMenuBarPeer): New native method.
11136 (setMenuBar): Call remove if menu bar is null. Adjust insets
11137 appropriately.
11138 (postSizeAllocateEvent): New method. Called when menu bar size is
11139 allocated. Adjust insets and redo layout.
11140 (GtkFramePeer): Set menu bar during frame creation.
11141 (postConfigureEvent): Adjust position and size to accomodate
11142 menu bar.
11143 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11144 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11145 (addNotify): Create the peer if it doesn't exist and call addNotify
11146 for the menu's items.
11147 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11148 * java/awt/MenuItem.java (addNotify): Create the peer if it
11149 doesn't exist.
11150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11151 (removeMenuBarPeer): New method. Remove menu bar on the current
11152 frame.
11153 (setMenuBarPeer): Add the menu bar to the current frame and the
11154 callback for size-allocate events on the menu bar.
11155 (getMenuBarHeight): Add menu bar parameter.
11156 (menubar_resize_cb): New callback method for postSizeAllocate events.
11157
11158 Also: Fix indentation on last ChangeLog entry.
11159
11160 2004-01-16 Kim Ho <kho@redhat.com>
11161
11162 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11163 (gtkWidgetGetDimensions): Remove.
11164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11165 (gtkWidgetGetDimensions): Remove.
11166
11167 2004-01-16 Tom Tromey <tromey@redhat.com>
11168
11169 * java/awt/Container.java: Typo and indentation fixes.
11170
11171 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11172 * java/lang/natVMClassLoader.cc: ...here. New file.
11173 * Makefile.in: Rebuilt.
11174 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11175
11176 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11177
11178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11179 Discard GDK_ENTER_NOTIFY related to ungrabs.
11180
11181 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11182
11183 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11184 is called for an intermediate queue.
11185
11186 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11187
11188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11189 (window_property_changed_cb): Set id_set.
11190
11191 2004-01-16 Kim Ho <kho@redhat.com>
11192
11193 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11194 it is a FileDialog and has dimensions of 0 by 0, then the initial
11195 size is set to size request plus insets.
11196 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11197 (gtkWidgetGetDimensions): Override method.
11198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11199 (gtkWidgetGetDimensions): Override method. Returns size request plus
11200 insets.
11201
11202 2004-01-16 Andrew Haley <aph@redhat.com>
11203
11204 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11205 * sysdep/i386/locks.h: Likewise.
11206
11207 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11208
11209 * java/awt/EventDispatchThread.java (run): Stop running when
11210 interrupted.
11211 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11212 Reset the queue after transferring its contents.
11213 (push): Start a new dispatch thread if none is running.
11214
11215 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11216
11217 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11218 (doPolygon): set fill rule of polygon to
11219 WIND_EVEN_ODD by default.
11220
11221 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11222
11223 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11224 Implemented rendering hints related methods.
11225 (getDefaultHints): New helper method. Returns
11226 default rendering hints.
11227 (walkPath): changed to normalize path if
11228 the KEY_STROKE_CONTROL key is in "normalize" mode.
11229 (draw3DRect): changed coordinates of rectangle by +0.5
11230 if in "normalize" mode.
11231
11232 2004-01-15 Tom Tromey <tromey@redhat.com>
11233
11234 * Makefile.in: Rebuilt.
11235 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11236 (%.lo: %.java) Filter out StackTrace.lo.
11237
11238 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11239
11240 * configure.in: Add in AC_PREREQ(2.13)
11241 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11242 FIXME comment.
11243
11244 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11245 Tom Tromey <tromey@redhat.com>
11246
11247 PR libgcj/12001:
11248 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11249 array to superclass.
11250 (init): Changed interface; add URLs here.
11251 (initialize): New static method.
11252 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11253 (_Jv_RunMain): ... not here.
11254
11255 2004-01-14 Michael Koch <konqueror@gmx.de>
11256
11257 * java/text/MessageFormat.java:
11258 Added descriptions to exceptions.
11259 This fixes PR libgcj/2429.
11260
11261 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11262
11263 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11264 (push): Make sure push is performed at the top of the thread stack.
11265
11266 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11267
11268 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11269 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11270 (native create): Add width and height parameters. Set text
11271 view's size request according to new parameters.
11272 (create): Calculate text view size based on current font's
11273 metrics and number of rows and columns. Set TextArea's font if
11274 not already set. Call native create.
11275 (getMinimumSize): Call minimumSize.
11276 (getPreferredSize): Call preferredSize.
11277 (getHScrollbarHeight): New method.
11278 (getVScrollbarWidth): New method.
11279 (minimumSize): Calculate minimum size based on scrollbar
11280 visibility, scrollbar sizes, font metrics and number of rows and
11281 columns.
11282 (preferredSize): Likewise for preferred size.
11283 (gtkTextGetSize): Remove method.
11284
11285 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11286
11287 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11288 (initializeInsets): Remove method.
11289 (GtkComponentPeer): Initialize insets field. Remove call to
11290 initializeInsets.
11291 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11292 Remove method.
11293 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11294 Remove method.
11295 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11297 (latestInsets): Remove field.
11298 (native create): Add insets parameter. Call
11299 window_get_frame_extents. Set the window's default size and
11300 size request based on its frame extents.
11301 (create): Initialize insets.
11302 (postInsetsChangedEvent): New method.
11303 (postConfigureEvent): Remove parameters top, left, bottom,
11304 right. Remove insets-related logic.
11305 (connectJObject): Handle property-notify-event.
11306 (window_get_frame_extents, request_frame_extents,
11307 property_notify_predicate, window_property_changed_cb): New
11308 static functions.
11309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11310 (pre_event_handler): Remove insets-related logic for configure
11311 events.
11312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11313 Update postConfigureEvent signature.
11314
11315 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11316
11317 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11318 to handle Window "Closing" events.
11319
11320 2004-01-13  David Jee  <djee@redhat.com>
11321
11322 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11323 (setBackground): New method. Children with no explicitly-set
11324 background will be repainted with the parent container's new
11325 background color.
11326
11327 2004-01-13  David Jee  <djee@redhat.com>
11328
11329 * Makefile.am: Add BitwiseXORComposite.java.
11330 * Makefile.in: Regenerated.
11331 * gcj/Makefile.in: Regenerated.
11332 * include/Makefile.in: Regenerated.
11333 * testsuite/Makefile.in: Regenerated.
11334
11335 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11336
11337 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11338 not show modal dialogs twice and so that it allows showing a modal
11339 dialog from another modal dialog.
11340
11341 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11342
11343 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11344 and run secondary dispatch thread to process event queue while this
11345 thread is blocked.
11346
11347 2004-01-12 Graydon Hoare <graydon@redhat.com>
11348
11349 * gnu/java/awt/gtk/GdkGraphics2D.java
11350 (static): Check GtkToolkit before initializing static state.
11351 (Graphics2D): Don't construct transform with 0.5 unit offset.
11352
11353 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11354
11355 * gnu/java/awt/BitwiseXORComposite.java: Add.
11356 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11357 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11358 (BitwiseXORComposite): Remove inner class.
11359
11360 2004-01-11 Michael Koch <konqueror@gmx.de>
11361
11362 * gnu/java/lang/reflect/TypeSignature.java
11363 (getEncodingOfClass): Documentation fixed.
11364 (getClassForEncoding): Give class loader to Class.forName().
11365 Documentation fixed.
11366
11367 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11368
11369 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11370
11371 2004-01-11 Michael Koch <konqueror@gmx.de>
11372
11373 * javax/swing/undo/StateEditable.java
11374 (RCSID): Removed redundant modifiers.
11375
11376 2004-01-10 Michael Koch <konqueror@gmx.de>
11377
11378 * javax/print/attribute/EnumSyntax.java
11379 (getStringTable): Made protected.
11380 (getEnumValueTable): Likewise.
11381 * javax/print/attribute/standard/JobKOctetsProcessed.java
11382 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11383 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11384 (JobMediaSheetsCompleted): Made class final.
11385 * javax/print/attribute/standard/OutputDeviceAssigned.java
11386 (getName): Fixed typo.
11387 * javax/print/attribute/standard/RequestingUserName.java
11388 (serialVersionUID): Fixed value.
11389
11390 2004-01-10 Michael Koch <konqueror@gmx.de>
11391
11392 * javax/swing/plaf/basic/BasicButtonUI.java,
11393 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11394 javax/swing/plaf/basic/BasicListUI.java,
11395 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11396 javax/swing/plaf/basic/BasicPanelUI.java,
11397 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11398 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11399 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11400 javax/swing/plaf/basic/BasicViewportUI.java:
11401 Fixed import statements.
11402
11403 2004-01-10 Michael Koch <konqueror@gmx.de>
11404
11405 * gnu/java/awt/image/ImageDecoder.java
11406 (produce): Made public.
11407 * gnu/java/awt/peer/GLightweightPeer.java,
11408 gnu/java/awt/peer/gtk/GtkToolkit.java:
11409 Reformated.
11410
11411 2004-01-10 Michael Koch <konqueror@gmx.de>
11412
11413 * javax/swing/JRadioButtonMenuItem.java,
11414 javax/swing/JSeparator.java,
11415 javax/swing/JSplitPane.java,
11416 javax/swing/JTextPane.java,
11417 javax/swing/JToolBar.java,
11418 javax/swing/ListCellRenderer.java,
11419 javax/swing/ListModel.java,
11420 javax/swing/MenuElement.java,
11421 javax/swing/OverlayLayout.java,
11422 javax/swing/ProgressMonitor.java,
11423 javax/swing/ProgressMonitorInputStream.java,
11424 javax/swing/Renderer.java,
11425 javax/swing/RootPaneContainer.java,
11426 javax/swing/Scrollable.java,
11427 javax/swing/SingleSelectionModel.java,
11428 javax/swing/ToolTipManager.java,
11429 javax/swing/ViewportLayout.java,
11430 javax/swing/event/DocumentEvent.java,
11431 javax/swing/event/SwingPropertyChangeSupport.java,
11432 javax/swing/event/TreeSelectionEvent.java,
11433 javax/swing/event/UndoableEditEvent.java,
11434 javax/swing/text/AbstractDocument.java,
11435 javax/swing/text/AttributeSet.java,
11436 javax/swing/text/Caret.java,
11437 javax/swing/text/ComponentView.java,
11438 javax/swing/text/DefaultCaret.java,
11439 javax/swing/text/DefaultEditorKit.java,
11440 javax/swing/text/Document.java,
11441 javax/swing/text/EditorKit.java,
11442 javax/swing/text/GapContent.java,
11443 javax/swing/text/Keymap.java,
11444 javax/swing/text/MutableAttributeSet.java,
11445 javax/swing/text/PlainEditorKit.java,
11446 javax/swing/text/Segment.java,
11447 javax/swing/text/Style.java,
11448 javax/swing/text/StyledDocument.java,
11449 javax/swing/text/StyledEditorKit.java,
11450 javax/swing/text/TextAction.java,
11451 javax/swing/text/View.java: Fixed import statements.
11452
11453 2004-01-08 Graydon Hoare <graydon@redhat.com>
11454
11455 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11456 djee@redhat.com's recent inverse ordering of Container elements.
11457
11458 2004-01-09 Michael Koch <konqueror@gmx.de>
11459
11460 * gnu/java/lang/ArrayHelper.java
11461 (equalsArray): Removed.
11462
11463 2004-01-09 Andrew Haley <aph@redhat.com>
11464
11465 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11466 a Utf8Const field before looking at its class.
11467
11468 2004-01-09 Michael Koch <konqueror@gmx.de>
11469
11470 * javax/print/attribute/standard/DocumentName.java,
11471 javax/print/attribute/standard/JobHoldUntil.java,
11472 javax/print/attribute/standard/JobMessageFromOperator.java,
11473 javax/print/attribute/standard/JobName.java,
11474 javax/print/attribute/standard/JobOriginatingUserName.java,
11475 javax/print/attribute/standard/OutputDeviceAssigned.java,
11476 javax/print/attribute/standard/PrinterInfo.java,
11477 javax/print/attribute/standard/PrinterLocation.java,
11478 javax/print/attribute/standard/PrinterMakeAndModel.java,
11479 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11480 javax/print/attribute/standard/PrinterName.java,
11481 javax/print/attribute/standard/RequestingUserName.java: New files.
11482 * Makefile.am (javax_source_files): Added new files.
11483 * Makefile.in: Regenerated.
11484
11485 2004-01-09 Michael Koch <konqueror@gmx.de>
11486
11487 * javax/swing/AbstractAction.java,
11488 javax/swing/AbstractSet.java,
11489 javax/swing/Action.java,
11490 javax/swing/ActionMap.java,
11491 javax/swing/BoundedRangeModel.java,
11492 javax/swing/ButtonModel.java,
11493 javax/swing/CellEditor.java,
11494 javax/swing/CellRendererPane.java,
11495 javax/swing/ComboBoxEditor.java,
11496 javax/swing/DebugGraphics.java,
11497 javax/swing/DefaultCellEditor.java,
11498 javax/swing/DefaultCellRenderer.java,
11499 javax/swing/DefaultComboBoxModel.java,
11500 javax/swing/DefaultDesktopManager.java,
11501 javax/swing/DefaultFocusManager.java,
11502 javax/swing/DefaultListCellRenderer.java,
11503 javax/swing/Icon.java,
11504 javax/swing/JButton.java,
11505 javax/swing/JCheckBoxMenuItem.java,
11506 javax/swing/JDesktopPane.java,
11507 javax/swing/JEditorPane.java,
11508 javax/swing/JMenu.java,
11509 javax/swing/JPanel.java,
11510 javax/swing/JPasswordField.java,
11511 javax/swing/JPopupMenu.java,
11512 javax/swing/JProgressBar.java: Reworked imports.
11513
11514 2004-01-09 Michael Koch <konqueror@gmx.de>
11515
11516 * java/awt/geom/PathIterator.java
11517 (WIND_EVEN_ODD): Removed redundant modifiers.
11518 (WIND_NON_ZERO): Likewise.
11519 (SEG_MOVETO): Likewise.
11520 (SEG_LINETO): Likewise.
11521 (SEG_QUADTO): Likewise.
11522 (SEG_CUBICTO): Likewise.
11523 (SEG_CLOSE): Likewise.
11524 * java/awt/image/SinglePixelPackedSampleModel.java:
11525 Removed redundant semicolon.
11526 * java/io/ObjectInputStream.java
11527 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11528 * java/util/logging/Filter.java
11529 (isLoggable): Removed redundant modifier.
11530 * java/util/logging/LogManager.java:
11531 Removed redundant semicolon.
11532 * java/util/logging/XMLFormatter.java
11533 (format): Removed unused variable "key".
11534
11535 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11536
11537 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11538 New name for the former setFile native method.
11539 (setFile): New method.
11540 (setDirectory): Implemented.
11541 (connectSignals): New native method.
11542 (setFilenameFilter): Improve comment.
11543 (getGraphics): Comment.
11544 (gtkHideFileDialog): New method.
11545 (gtkDisposeFileDialog): New method.
11546 (gtkSetFilename): New method.
11547 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11548 for FileDialog for now.
11549 (hide): New method.
11550 (dispose): New method.
11551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11552 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11553 deprecated creation functions. Make dialog modal. Add it to the
11554 window group.
11555 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11556 function.
11557 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11558 Rename to...
11559 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11560 name.
11561 (window_closed): New function.
11562 (ok_clicked): New function.
11563 (cancel_clicked): New function.
11564
11565 2004-01-08 Michael Koch <konqueror@gmx.de>
11566
11567 * javax/swing/JLayeredPane.java: Revert changes to standard
11568 boilerplate, reworked imports.
11569
11570 2004-01-07 Tom Tromey <tromey@redhat.com>
11571
11572 PR libgcj/13439:
11573 * verify.cc (state::merge): Copy changed locals out of subroutine
11574 in NO_STACK case.
11575 (state::FLAG_CHANGED): New const.
11576 (state::FLAG_UNUSED): Likewise.
11577 (state::local_changed): Removed. Updated all users.
11578 (state::flags): New field.
11579 (state::merge): Added jsr_semantics argument, more logic.
11580 (push_jump_merge): Added jsr_semantics argument.
11581 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11582 merging through the jsr instruction.
11583
11584 2004-01-07 Tom Tromey <tromey@redhat.com>
11585
11586 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11587 backslash-newline.
11588
11589 2004-01-07 Graydon Hoare <graydon@redhat.com>
11590
11591 * java/awt/Container.java (LightweightDispatcher): Implement.
11592 (visitChild): Reuse graphics object.
11593 (dispatchEventImpl): Optionally dispatch to lightweight.
11594 (addNotifyContainerChildren): Build LightweightDispatcher.
11595
11596 2004-01-07 David Jee <djee@redhat.com>
11597
11598 * java/awt/Container.java
11599 (update): Clear only the clipped region, instead of clearing the
11600 entire Container.
11601 (visitChildren): Visit children in descending order.
11602
11603 2004-01-07 Michael Koch <konqueror@gmx.de>
11604
11605 * java/lang/reflect/Array.java: Merged documentation with classpath.
11606
11607 2004-01-07 Michael Koch <konqueror@gmx.de>
11608
11609 * java/text/CollationElementIterator.java
11610 (textIndex): Renamed from index.
11611 * java/text/CollationKey.java
11612 (collator): New member.
11613 (CollationKey): New argument for parent collator.
11614 (equals): Check for same collator, source string and key array.
11615 * java/text/RuleBasedCollator.java:
11616 Reformated.
11617 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11618 value.
11619 (getCollationElementIterator): Rewritten.
11620 (getCollationKey): Added new argument to CollationKey constructor.
11621
11622 2004-01-07 Michael Koch <konqueror@gmx.de>
11623
11624 * gnu/java/nio/DatagramChannelImpl.java
11625 (blocking): Removed.
11626 (DatagramChannelImpl): Call configureBlocking().
11627 (implConfigureBlocking): Dont initialize blocking.
11628 * gnu/java/nio/ServerSocketChannelImpl.java
11629 (blocking): Removed.
11630 (ServerSocketChannelImpl): Call configureBlocking().
11631 (implConfigureBlocking): Dont initialize blocking.
11632 * gnu/java/nio/SocketChannelImpl.java
11633 (blocking): Removed.
11634 (SocketChannelImpl): Call configureBlocking().
11635 (implConfigureBlocking): Dont initialize blocking.
11636 (connect): Use isBlocking().
11637 * java/nio/channels/spi/AbstractSelectableChannel.java
11638 (configureBlocking): Use blockingLock() instead of LOCK.
11639 Set blocking after successfully called implConfigureBlocking().
11640 (register): Use blockingLock() instead of LOCK.
11641
11642 2004-01-07 Michael Koch <konqueror@gmx.de>
11643
11644 * java/net/ServerSocket.java (isBound): Fixed documentation.
11645
11646 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11647
11648 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11649 (changeEvent): Create event object on demand.
11650 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11651 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11652 fireStateChanged): Re-written.
11653 * javax/swing/event/EventListenerList.java: Reformatted, document
11654 typical usage.
11655 (toString): Implemented.
11656 (getListeners): Re-written.
11657 (remove): Re-written.
11658 (add): Re-written.
11659 (NO_LISTENERS): New singleton field.
11660 (listenerList): Declare as transient; document.
11661 (serialVersionUID): Document.
11662 (getListenerCount(Class)): More efficient implementation,
11663 also accepts null argument. Improve Javadoc.
11664 (getListenerCount()): Remove unnecessary cast; docfix.
11665 * javax/swing/undo/UndoableEditSupport.java:
11666 Re-format, document.
11667 (UndoableEditSupport): Set realSource field. Improve documentation.
11668 (_postEdit): Iterate over cloned listener vector.
11669 (toString): Don't emit realSource.
11670 (beginUpdate, endUpdate): Support nested updates.
11671 (postEdit): Use compound edit if present.
11672
11673 2004-01-06 Graydon Hoare <graydon@redhat.com>
11674
11675 * java/awt/Container.java (swapComponents): Add forgotten
11676 function, required for JLayeredPane change.
11677
11678 2004-01-06 Michael Koch <konqueror@gmx.de>
11679
11680 * java/text/CollationElementIterator.java: Reformated.
11681 (CollationElementIterator): Changed order of arguments.
11682 * java/text/RuleBasedCollator.java
11683 (RuleBasedCollator): Merged class documentation.
11684 (CollationElement): Added documentation.
11685 (compare): Reformated, renamed arguments.
11686 (equals): Likewise.
11687 (getCollationElementIterator): Likewise.
11688 (getCollationKey): Likewise.
11689
11690 2004-01-06 Graydon Hoare <graydon@redhat.com>
11691
11692 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11693
11694 2004-01-06 Michael Koch <konqueror@gmx.de>
11695
11696 * gnu/java/net/protocol/file/Connection.java:
11697 Reformated copyright.
11698 (hdrHash): Removed.
11699 (hdrVec): Removed.
11700 (gotHeaders): Removed.
11701 (getHeaderField): Removed.
11702 (getHeaderField): Removed.
11703 (getHeaderFieldKey): Removed.
11704 (getKey): Removed.
11705 (getField): Removed.
11706 (getHeaders): Removed.
11707
11708 2004-01-06 Michael Koch <konqueror@gmx.de>
11709
11710 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11711 javax/print/attribute/standard/DateTimeAtCreation.java,
11712 javax/print/attribute/standard/DateTimeAtProcessing.java,
11713 javax/print/attribute/standard/JobImpressionsCompleted.java,
11714 javax/print/attribute/standard/JobKOctets.java,
11715 javax/print/attribute/standard/JobKOctetsProcessed.java,
11716 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11717 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11718 * Makefile.am (javax_source_files): Added new files.
11719 * Makefile.in: Regenerated.
11720
11721 2004-01-06 Michael Koch <konqueror@gmx.de>
11722
11723 * java/net/URLConnection.java
11724 (contentHandler): Removed.
11725 (locale): Removed.
11726 (getHeaderFields): Return an empty map instead of null.
11727 (getContent): Connect if needed, renamed "cType" to "type" and
11728 "contentHandler" to "ch" and made it a local variable.
11729 (getPermission): Don't use package in class name.
11730 (setDefaultRequestProperty): Fixed typo in documentation.
11731 (initializeDateFormats): Made locale a local variable.
11732
11733 2004-01-06 Michael Koch <konqueror@gmx.de>
11734
11735 * java/lang/Package.java
11736 (getPackage): Get the current class loader directly.
11737 * java/lang/SecurityManager.java
11738 (currentLoadedClass): Dont iterate over class contexts.
11739 (classLoaderDepth): Don't check class loaders if everything is allowed.
11740
11741 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11742
11743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11744 (pre_event_handler): Set all insets to 0 when a Configure event
11745 is received for a GtkPlug.
11746 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11747 Make handle long, not int.
11748 (EmbeddedWindow()): New constructor.
11749 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11750 long, not int.
11751 (setHandle): New method.
11752 (getHandle): Return long, not int.
11753 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11754 declaration.
11755 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11756 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11757 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11758 argument to GdkNativeWindow.
11759 (construct): New method.
11760 (embed): New method.
11761
11762 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11763 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11764 (create(int, int)): New method.
11765 (create): Call new create method.
11766 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11767 methods.
11768 (childResized): Remove native implementation. Implement in
11769 Java.
11770 (getHScrollbarHeight, getVScrollbarWidth): Call
11771 gtk_widget_size_request to get scrollbar dimensions.
11772 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11773 call getVScrollbarWidth and getHScrollbarHeight when vertical
11774 and horizontal scrollbars respectively are needed.
11775 (doLayout): Enlarge child if it is smaller than the viewport.
11776
11777 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11778
11779 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11780 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11781 argument as per spec.
11782
11783 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11784
11785 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11786 (insert): Ditto.
11787 (remove): Ditto. Also, Check for valid argument.
11788 (removeAll): Use peer interface method.
11789 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11790 native add function.
11791 (nativeRemove): New name for native remove function.
11792 (getHistory): New native function.
11793 (constructor): Generate ItemEvent.
11794 (add): Ditto, if selection is changed.
11795 (remove): Ditto, ditto.
11796 (removeAll): Add implementation.
11797 (handleEvent): Remove. Dead code.
11798 (choicePostItemEvent): Add comment.
11799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11800 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11801 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11802 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11803 comments and fix condition to change selection.
11804 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11805 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11806 remove all capability.
11807 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11808 (item_activate): Add cast to remove compiler warning.
11809
11810 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11811
11812 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11813 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11814 (getPreferredSize): Call preferredSize.
11815 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11816 (getMinimumSize): Call minimumSize.
11817 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11818 (gtkWidgetGetDimensions): Return the peer widget's current size
11819 request.
11820 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11821 natural size request.
11822
11823 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11824
11825 Thanks to Brian Gough <bjg@network-theory.com>
11826 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11827 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11828
11829 2004-01-04 Matthias Klose <doko@debian.org>
11830
11831 * aclocal.m4: Rebuilt using "aclocal -I .".
11832 * configure: Rebuilt.
11833
11834 2004-01-03 Per Bothner <per@bothner.com>
11835
11836 * java/util/Date.java (parse): Fix a number of problems.
11837 (skipParens): Remove no-longer-needed method.
11838