BasicAttributes.java (attributes): Now package-private.
[gcc.git] / libjava / ChangeLog
1 2004-11-06 Tom Tromey <tromey@redhat.com>
2
3 * javax/naming/directory/BasicAttributes.java (attributes): Now
4 package-private.
5 * javax/imageio/spi/ServiceRegistry.java (categories): Now
6 package-private.
7
8 2004-11-06 Tom Tromey <tromey@redhat.com>
9
10 * java/net/URLClassLoader.java (URLClassLoader): Now
11 package-private.
12 * java/nio/charset/CoderResult.java (CoderResult): Now
13 package-private.
14 (get): Likewise.
15 (Cache): Likewise. Don't synchronize on `this'.
16 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
17 package-private.
18 * java/util/TimeZone.java (timezones): Now package-private.
19
20 2004-11-06 Tom Tromey <tromey@redhat.com>
21
22 * java/security/Permissions.java (perms): Now package-private.
23 * java/security/UnresolvedPermission.java (permissions): Now
24 package-private.
25
26 2004-11-06 Tom Tromey <tromey@redhat.com>
27
28 * java/io/FilePermission.java: Reindented.
29
30 2004-11-06 Tom Tromey <tromey@redhat.com>
31
32 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
33 package-private.
34 (setBlockDataMode): Likewise.
35
36 2004-11-06 Tom Tromey <tromey@redhat.com>
37
38 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
39 package-private.
40 (Encoder): Likewise.
41 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
42 (Encoder): Likewise.
43 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
44 package-private.
45 (Encoder): Likewise.
46
47 2004-11-06 Mark Wielaard <mark@klomp.org>
48
49 * Makefile.am: Add new javax.imageio files.
50 * Makefile.in: Regenerated.
51
52 2004-11-06 Michael Koch <konqueror@gmx.de>
53
54 * javax/imageio/event/IIOReadProgressListener.java,
55 javax/imageio/event/IIOReadUpdateListener.java,
56 javax/imageio/event/IIOReadWarningListener.java,
57 javax/imageio/event/IIOWriteProgressListener.java,
58 javax/imageio/event/IIOWriteWarningListener.java,
59 javax/imageio/metadata/IIOMetadataFormat.java,
60 javax/imageio/stream/FileCacheImageInputStream.java,
61 javax/imageio/stream/FileCacheImageOutputStream.java,
62 javax/imageio/stream/ImageInputStreamImpl.java:
63 Import cleanup.
64 * javax/imageio/metadata/package.html: New file.
65
66 2004-11-06 Michael Koch <konqueror@gmx.de>
67
68 * javax/imageio/spi/ImageReaderSpi.java
69 (isOwnReader): New method.
70 * javax/imageio/spi/ImageWriterSpi.java
71 (isOwnWriter): Likewise.
72
73 2004-11-06 Michael Koch <konqueror@gmx.de>
74
75 * javax/imageio/ImageWriter.java
76 (convertImageMetadata): New abstract method.
77 (convertStreamMetadata): Likewise.
78 (write): Likewise.
79 * javax/imageio/stream/FileCacheImageInputStream.java
80 (close): Fixed setting of stream to null.
81 (checkStreamClosed): Throws IOException.
82
83 2004-11-06 Michael Koch <konqueror@gmx.de>
84
85 * javax/imageio/stream/FileCacheImageInputStream.java,
86 javax/imageio/stream/FileCacheImageOutputStream.java,
87 javax/imageio/stream/FileImageInputStream.java,
88 javax/imageio/stream/FileImageOutputStream.java,
89 javax/imageio/stream/MemoryCacheImageInputStream.java,
90 javax/imageio/stream/MemoryCacheImageOutputStream.java:
91 New files.
92
93 2004-11-06 Michael Koch <konqueror@gmx.de>
94
95 * javax/imageio/metadata/IIOInvalidTreeException.java,
96 javax/imageio/metadata/IIOMetadataFormatImpl.java,
97 javax/imageio/metadata/IIOMetadataNode.java:
98 New stub files.
99
100 2004-11-06 Michael Koch <konqueror@gmx.de>
101
102 * javax/imageio/stream/ImageInputStreamImpl.java,
103 javax/imageio/stream/ImageOutputStreamImpl.java:
104 New files.
105
106 2004-11-06 Michael Koch <konqueror@gmx.de>
107
108 * javax/imageio/ImageIO.java:
109 Added much new methods.
110
111 2004-11-06 Michael Koch <konqueror@gmx.de>
112
113 * javax/imageio/ImageReader.java,
114 javax/imageio/ImageWriter.java,
115 javax/imageio/spi/ImageWriterSpi.java:
116 Add SOME new methods.
117
118 2004-11-06 Michael Koch <konqueror@gmx.de>
119
120 * javax/imageio/IIOParam.java,
121 javax/imageio/ImageReadParam.java,
122 javax/imageio/ImageReader.java,
123 javax/imageio/ImageWriter.java:
124 Mostly implemented.
125 * javax/imageio/spi/ImageReaderSpi.java,
126 javax/imageio/spi/ImageWriterSpi.java:
127 New files.
128
129 2004-11-06 Michael Koch <konqueror@gmx.de>
130
131 * javax/imageio/ImageWriteParam.java,
132 javax/imageio/metadata/IIOMetadataFormat.java:
133 Implemented.
134
135 2004-11-06 Michael Koch <konqueror@gmx.de>
136
137 * javax/imageio/ImageTypeSpecifier.java:
138 Mostly implemented.
139
140 2004-11-06 Michael Koch <konqueror@gmx.de>
141
142 * javax/imageio/metadata/IIOMetadata.java:
143 Mostly implemented.
144
145 2004-11-06 Michael Koch <konqueror@gmx.de>
146
147 * javax/imageio/IIOImage.java,
148 javax/imageio/ImageReadParam.java,
149 javax/imageio/metadata/IIOMetadataController.java,
150 javax/imageio/metadata/IIOMetadataFormat.java:
151 New files.
152 * javax/imageio/stream/ImageOutputStream.java:
153 Implemented.
154
155 2004-11-06 Michael Koch <konqueror@gmx.de>
156
157 * javax/imageio/IIOParam.java,
158 javax/imageio/IIOParamController.java,
159 javax/imageio/ImageTypeSpecifier.java,
160 javax/imageio/ImageWriteParam.java,
161 javax/imageio/metadata/IIOMetadata.java:
162 New files.
163 * javax/imageio/ImageTranscoder.java:
164 Implemented.
165
166 2004-11-06 Michael Koch <konqueror@gmx.de>
167
168 * javax/imageio/spi/ImageInputStreamSpi.java,
169 javax/imageio/spi/ImageOutputStreamSpi.java:
170 Reworked import startments.
171 * javax/imageio/spi/ServiceRegistry.java:
172 Reworked import startments. Fixed XHTML in javadocs.
173 (ServiceRegistry): Added @param tag to javadoc.
174 * javax/imageio/stream/ImageInputStream.java
175 (mark): Doesn't throws IOException;
176
177 2004-11-06 Michael Koch <konqueror@gmx.de>
178
179 * javax/imageio/ImageIO.java:
180 New file.
181
182 2004-11-06 Michael Koch <konqueror@gmx.de>
183
184 * javax/imageio/spi/IIORegistry.java
185 (static): Don't register ImageReaderSpi.class and
186 ImageWriterSpi.class yet.
187
188 2004-11-06 Michael Koch <konqueror@gmx.de>
189
190 * javax/imageio/spi/IIORegistry.java:
191 New file.
192
193 2004-11-06 Noa Resare <noa@resare.com>
194
195 * java/net/Socket.java (getPort): Return 0 instead of -1 on
196 unconnected sockets.
197
198 2004-11-06 Michael Koch <konqueror@gmx.de>
199
200 * java/lang/StringBuffer.java,
201 java/lang/Throwable.java,
202 java/security/spec/DSAParameterSpec.java,
203 java/util/zip/ZipEntry.java,
204 java/util/zip/ZipFile.java,
205 java/util/zip/ZipInputStream.java,
206 java/util/zip/ZipOutputStream.java:
207 Removed redundant and reordered modifiers.
208
209 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
210
211 * java/io/Vector.java
212 (writeObject): New function to serialized output thread safe.
213
214 * java/io/ObjectOutputStream.java
215 (writeObject): Move the assignment of the class handle to after
216 the assignment of class descriptor handle.
217
218 2004-11-06 Robert Schuster <thebohemian@gmx.net>
219
220 Fixes documentation and indentation
221 * java/beans/PropertyEditorSupport.java:
222 reworked initial API doc
223 (value): changed name from val
224
225 2004-11-06 Robert Schuster <thebohemian@gmx.net>
226
227 Updates to 1.5
228 * java/beans/PropertyEditorSupport.java
229 (PropertyEditorSupport()): Changed modifier to public
230 (PropertyEditorSupport(Object): Changed modifier to public
231 (setSource): New method
232 (getSource): New method
233
234 2004-11-06 Robert Schuster <thebohemian@gmx.net>
235
236 Fixes bug #10799
237 * java/beans/PropertyEditorSupport.java
238 (setValue): Fire property change event
239
240 2004-11-03 Tom Tromey <tromey@redhat.com>
241
242 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
243 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
244 returns jobjectArray.
245 (_Jv_JNIEnv::NewObjectArray): Likewise.
246
247 2004-11-01 Tom Tromey <tromey@redhat.com>
248
249 * verify.cc (state::check_no_uninitialized_objects): Removed.
250 (push_jump): Updated.
251 (push_exception_jump): Likewise.
252 (handle_ret_insn): Likewise.
253 (handle_jsr_insn): Likewise.
254
255 2004-10-30 Mark Wielaard <mark@klomp.org>
256
257 PR libgcj/18234
258 * java/lang/Runtime.java (static): Call init().
259 (Runtime): Remove call to init().
260 (init): Make static.
261
262 2004-10-28 David Daney <ddaney@avtrex.com>
263
264 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
265 * Makefile.am: Build it.
266 * Makefile.in: Regenerate.
267
268 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
269
270 PR libgcj/18104
271 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
272 colon.
273 * Makefile.in: Regenerate.
274 * configure: Regenerate.
275 * configure.ac (CLASSPATH_SEPARATOR): Define.
276 * gcj/Makefile.in: Regenerate.
277 * include/Makefile.in: Regenerate.
278 * testsuite/Makefile.in: Regenerate.
279 * testsuite/lib/libjava.exp (libjava_arguments): Fix
280 CLASSPATH separator handling for Windows.
281
282 2004-10-26 Michael Koch <konqueror@gmx.de>
283
284 * gnu/java/net/protocol/http/Connection.java
285 (getOutputStream): Implicitely switch to POST method.
286
287 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
288
289 * libjava/java/lang/Class.h
290 (java::lang::Class): Correct friend class declaration.
291
292 2004-10-25 Geoffrey Keating <geoffk@apple.com>
293
294 * Makefile.am (DARWIN_CRT_SRC): New.
295 (libgcj_la_SOURCES): Use it.
296 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
297 * darwin.cc: New file.
298 * include/jvm.h (_Jv_RegisterClasses): Constify.
299 (_Jv_RegisterClasses_Counted): New prototype.
300 * java/lang/Class.h: Include stddef.h.
301 (_Jv_RegisterClasses): Constify.
302 (_Jv_RegisterClasses_Counted): New prototype.
303 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
304 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
305 (_Jv_RegisterClasses_Counted): New function.
306 * configure: Regenerate.
307 * Makefile.in: Regenerate.
308 * gcj/Makefile.in: Regenerate.
309 * include/Makefile.in: Regenerate.
310 * testsuite/Makefile.in: Regenerate.
311
312 2004-10-25 Tom Tromey <tromey@redhat.com>
313
314 * java/util/ResourceBundle.java (tryBundle): Use
315 Class.isAssignableFrom rather than catching ClassCastException.
316
317 2004-10-25 Tom Tromey <tromey@redhat.com>
318
319 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
320 initialize `iter'.
321 * gnu/java/text/SentenceBreakIterator.java
322 (SentenceBreakIterator): Don't initialize `iter'.
323 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
324 initialize `iter'.
325 * gnu/java/text/CharacterBreakIterator.java
326 (CharacterBreakIterator): Don't initialize `iter'.
327 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
328 constructor.
329 * java/text/BreakIterator.java: Updated documentation.
330
331 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
332
333 PR other/18138
334 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
335
336 2004-10-23 Michael Koch <konqueror@gmx.de>
337
338 * javax/print/DocFlavor.java,
339 javax/print/attribute/standard/JobStateReason.java,
340 javax/print/attribute/standard/MultipleDocumentHandling.java:
341 Added missing constants.
342
343 2004-10-22 Tom Tromey <tromey@redhat.com>
344
345 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
346 typo.
347
348 2004-10-22 Michael Koch <konqueror@gmx.de>
349
350 PR libjava/14009
351 * gnu/java/net/protocol/http/Connection.java
352 (sendRequest): Handle case when url.getFile() returns an empty string.
353
354 2004-10-22 Michael Koch <konqueror@gmx.de>
355
356 * java/lang/Math.java,
357 java/lang/StackTraceElement.java,
358 java/nio/Buffer.java,
359 java/nio/ByteBuffer.java,
360 java/nio/CharBuffer.java,
361 java/nio/DoubleBuffer.java,
362 java/nio/FloatBuffer.java,
363 java/nio/IntBuffer.java,
364 java/nio/LongBuffer.java,
365 java/nio/ShortBuffer.java,
366 java/nio/charset/Charset.java,
367 java/rmi/server/RMIClassLoader.java,
368 java/rmi/server/RMISocketFactory.java,
369 java/security/Policy.java,
370 java/text/ChoiceFormat.java,
371 java/text/CollationElementIterator.java,
372 java/text/DateFormat.java,
373 java/text/DecimalFormat.java,
374 java/text/DecimalFormatSymbols.java,
375 java/text/MessageFormat.java,
376 java/text/NumberFormat.java,
377 java/text/RuleBasedCollator.java,
378 java/text/SimpleDateFormat.java,
379 java/util/BitSet.java,
380 java/util/Calendar.java,
381 java/util/Collections.java,
382 java/util/IdentityHashMap.java,
383 java/util/Locale.java,
384 java/util/TreeMap.java,
385 java/util/logging/LogRecord.java,
386 java/util/logging/XMLFormatter.java,
387 java/util/prefs/AbstractPreferences.java,
388 java/util/prefs/Preferences.java,
389 javax/crypto/interfaces/DHPrivateKey.java,
390 javax/crypto/interfaces/DHPublicKey.java,
391 javax/crypto/interfaces/PBEKey.java,
392 javax/net/ssl/HandshakeCompletedEvent.java,
393 javax/security/auth/Subject.java:
394 Removed redundant and reordered modifiers.
395
396 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
397
398 * gnu/java/net/natPlainSocketImplPosix.cc
399 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
400 with 'int *' argument instead of 'long *'.
401
402 2004-10-21 Michael Koch <konqueror@gmx.de>
403
404 * java/net/NetworkInterface.java,
405 java/text/Format.java,
406 javax/security/auth/x500/X500Principal.java,
407 javax/security/auth/x500/X500PrivateCredential.java,
408 javax/security/cert/X509CertBridge.java,
409 javax/security/sasl/Sasl.java,
410 javax/sql/XAConnection.java:
411 Import cleanup.
412
413 2004-10-21 Michael Koch <konqueror@gmx.de>
414
415 * javax/net/ssl/HandshakeCompletedEvent.java,
416 javax/net/ssl/KeyManagerFactory.java,
417 javax/net/ssl/SSLContext.java,
418 javax/net/ssl/SSLServerSocketFactory.java,
419 javax/net/ssl/SSLSession.java,
420 javax/net/ssl/SSLSocketFactory.java,
421 javax/net/ssl/TrustManagerFactory.java:
422 Import cleanup.
423
424 2004-10-21 Michael Koch <konqueror@gmx.de>
425
426 * javax/naming/directory/BasicAttribute.java,
427 javax/naming/directory/BasicAttributes.java,
428 javax/naming/directory/InitialDirContext.java,
429 javax/naming/event/NamingEvent.java,
430 javax/naming/ldap/ControlFactory.java,
431 javax/naming/ldap/ExtendedRequest.java,
432 javax/naming/ldap/InitialLdapContext.java,
433 javax/naming/ldap/LdapReferralException.java,
434 javax/naming/spi/DirObjectFactory.java,
435 javax/naming/spi/DirStateFactory.java,
436 javax/naming/spi/DirectoryManager.java,
437 javax/naming/spi/InitialContextFactory.java,
438 javax/naming/spi/InitialContextFactoryBuilder.java,
439 javax/naming/spi/NamingManager.java,
440 javax/naming/spi/ObjectFactory.java,
441 javax/naming/spi/ObjectFactoryBuilder.java,
442 javax/naming/spi/StateFactory.java:
443 Import cleanup.
444
445 2004-10-21 Michael Koch <konqueror@gmx.de>
446
447 * javax/crypto/Cipher.java,
448 javax/crypto/EncryptedPrivateKeyInfo.java,
449 javax/crypto/ExemptionMechanism.java,
450 javax/crypto/KeyAgreement.java,
451 javax/crypto/KeyGenerator.java,
452 javax/crypto/Mac.java,
453 javax/crypto/SecretKeyFactory.java,
454 javax/crypto/SecretKeyFactorySpi.java,
455 javax/crypto/spec/SecretKeySpec.java:
456 Import cleanup.
457
458 2004-10-21 Michael Koch <konqueror@gmx.de>
459
460 * java/security/AlgorithmParameterGenerator.java,
461 java/security/AlgorithmParameters.java,
462 java/security/AlgorithmParametersSpi.java,
463 java/security/AllPermission.java,
464 java/security/BasicPermission.java,
465 java/security/Certificate.java,
466 java/security/CodeSource.java,
467 java/security/DigestInputStream.java,
468 java/security/DigestOutputStream.java,
469 java/security/GuardedObject.java,
470 java/security/KeyFactory.java,
471 java/security/KeyFactorySpi.java,
472 java/security/KeyPairGenerator.java,
473 java/security/KeyStore.java,
474 java/security/KeyStoreSpi.java,
475 java/security/Permissions.java,
476 java/security/Security.java,
477 java/security/Signature.java,
478 java/security/UnresolvedPermission.java,
479 java/security/cert/CertPathBuilder.java,
480 java/security/cert/CertPathValidator.java,
481 java/security/cert/CertStore.java,
482 java/security/cert/Certificate.java,
483 java/security/cert/CertificateFactory.java,
484 java/security/cert/PolicyQualifierInfo.java,
485 java/security/cert/TrustAnchor.java,
486 java/security/cert/X509CRL.java,
487 java/security/cert/X509CRLSelector.java,
488 java/security/cert/X509CertSelector.java:
489 Import cleanup.
490
491 2004-10-21 Michael Koch <konqueror@gmx.de>
492
493 * java/rmi/MarshalledObject.java,
494 java/rmi/Naming.java,
495 java/rmi/activation/Activatable.java,
496 java/rmi/activation/ActivationGroup.java,
497 java/rmi/activation/ActivationGroupDesc.java,
498 java/rmi/activation/ActivationInstantiator.java,
499 java/rmi/activation/ActivationMonitor.java,
500 java/rmi/activation/ActivationSystem.java,
501 java/rmi/activation/Activator.java,
502 java/rmi/registry/LocateRegistry.java,
503 java/rmi/registry/Registry.java,
504 java/rmi/server/LogStream.java,
505 java/rmi/server/ObjID.java,
506 java/rmi/server/RMIClientSocketFactory.java,
507 java/rmi/server/RMIServerSocketFactory.java,
508 java/rmi/server/RMISocketFactory.java,
509 java/rmi/server/RemoteCall.java,
510 java/rmi/server/RemoteServer.java,
511 java/rmi/server/ServerRef.java,
512 java/rmi/server/UID.java,
513 java/rmi/server/UnicastRemoteObject.java:
514 Import cleanup.
515
516 2004-10-21 Tom Tromey <tromey@redhat.com>
517
518 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
519 exception if we hit EOF of `in'.
520 (read): Handle case where inflating returns -1.
521
522 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
523
524 * gnu/java/nio/channels/natFileChannelPosix.cc
525 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
526 argument instead of 'long *'.
527
528 2004-10-21 Tom Tromey <tromey@redhat.com>
529
530 * java/util/ResourceBundle.java (tryBundle): Also ignore
531 ClassCastException.
532
533 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
534
535 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
536 for all sh*-*-linux* targets.
537 * configure: Regenerate.
538 * include/sh-signal.h: New file.
539
540 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
541
542 * java/lang/ieeefp.h: Add m32r support.
543
544 2004-10-20 Andreas Schwab <schwab@suse.de>
545
546 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
547 to uaddr, not int.
548 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
549 Likewise.
550
551 2004-10-20 Michael Koch <konqueror@gmx.de>
552
553 * javax/print/attribute/standard/ColorSupported.java,
554 javax/print/attribute/standard/Compression.java,
555 javax/print/attribute/standard/Copies.java,
556 javax/print/attribute/standard/CopiesSupported.java,
557 javax/print/attribute/standard/DateTimeAtCompleted.java,
558 javax/print/attribute/standard/DateTimeAtCreation.java,
559 javax/print/attribute/standard/DateTimeAtProcessing.java,
560 javax/print/attribute/standard/DocumentName.java,
561 javax/print/attribute/standard/Fidelity.java,
562 javax/print/attribute/standard/Finishings.java,
563 javax/print/attribute/standard/JobHoldUntil.java,
564 javax/print/attribute/standard/JobImpressions.java,
565 javax/print/attribute/standard/JobImpressionsCompleted.java,
566 javax/print/attribute/standard/JobImpressionsSupported.java,
567 javax/print/attribute/standard/JobKOctets.java,
568 javax/print/attribute/standard/JobKOctetsProcessed.java,
569 javax/print/attribute/standard/JobKOctetsSupported.java,
570 javax/print/attribute/standard/JobMediaSheets.java,
571 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
572 javax/print/attribute/standard/JobMediaSheetsSupported.java,
573 javax/print/attribute/standard/JobMessageFromOperator.java,
574 javax/print/attribute/standard/JobName.java,
575 javax/print/attribute/standard/JobOriginatingUserName.java,
576 javax/print/attribute/standard/JobPriority.java,
577 javax/print/attribute/standard/JobPrioritySupported.java,
578 javax/print/attribute/standard/JobSheets.java,
579 javax/print/attribute/standard/JobState.java,
580 javax/print/attribute/standard/JobStateReason.java,
581 javax/print/attribute/standard/JobStateReasons.java,
582 javax/print/attribute/standard/Media.java,
583 javax/print/attribute/standard/MultipleDocumentHandling.java,
584 javax/print/attribute/standard/NumberOfDocuments.java,
585 javax/print/attribute/standard/NumberOfInterveningJobs.java,
586 javax/print/attribute/standard/NumberUp.java,
587 javax/print/attribute/standard/NumberUpSupported.java,
588 javax/print/attribute/standard/OrientationRequested.java,
589 javax/print/attribute/standard/OutputDeviceAssigned.java,
590 javax/print/attribute/standard/PDLOverrideSupported.java,
591 javax/print/attribute/standard/PageRanges.java,
592 javax/print/attribute/standard/PagesPerMinute.java,
593 javax/print/attribute/standard/PagesPerMinuteColor.java,
594 javax/print/attribute/standard/PrintQuality.java,
595 javax/print/attribute/standard/PrinterInfo.java,
596 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
597 javax/print/attribute/standard/PrinterLocation.java,
598 javax/print/attribute/standard/PrinterMakeAndModel.java,
599 javax/print/attribute/standard/PrinterMessageFromOperator.java,
600 javax/print/attribute/standard/PrinterMoreInfo.java,
601 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
602 javax/print/attribute/standard/PrinterName.java,
603 javax/print/attribute/standard/PrinterStateReason.java,
604 javax/print/attribute/standard/PrinterStateReasons.java,
605 javax/print/attribute/standard/PrinterURI.java,
606 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
607 javax/print/attribute/standard/RequestingUserName.java:
608 Reorganized imports and removed redundant final modifiers.
609
610 2004-10-20 Michael Koch <konqueror@gmx.de>
611
612 * javax/security/sasl/SaslClient.java,
613 javax/security/sasl/SaslClientFactory.java,
614 javax/security/sasl/SaslException.java,
615 javax/security/sasl/SaslServer.java,
616 javax/security/sasl/SaslServerFactory.java:
617 Remvoed CVS tags.
618
619 2004-10-20 Michael Koch <konqueror@gmx.de>
620
621 * javax/security/auth/login/NullConfiguration.java,
622 javax/security/auth/x500/X500Principal.java,
623 javax/security/cert/X509Certificate.java,
624 javax/security/sasl/AuthenticationException.java,
625 javax/security/sasl/AuthorizeCallback.java,
626 javax/security/sasl/RealmCallback.java,
627 javax/security/sasl/RealmChoiceCallback.java,
628 javax/security/sasl/Sasl.java,
629 javax/security/sasl/SaslClient.java,
630 javax/security/sasl/SaslClientFactory.java,
631 javax/security/sasl/SaslException.java,
632 javax/security/sasl/SaslServer.java,
633 javax/security/sasl/SaslServerFactory.java:
634 Cleaned up import statements and copyright notices.
635
636 2004-10-20 Michael Koch <konqueror@gmx.de>
637
638 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
639
640 2004-10-20 Michael Koch <konqueror@gmx.de>
641
642 * java/sql/Timestamp.java,
643 java/text/AttributedCharacterIterator.java,
644 java/text/AttributedString.java,
645 java/util/zip/CheckedOutputStream.java,
646 java/util/zip/DeflaterOutputStream.java,
647 java/util/zip/ZipFile.java,
648 javax/crypto/Cipher.java,
649 javax/crypto/ExemptionMechanismException.java,
650 javax/crypto/SecretKey.java,
651 javax/crypto/SecretKeyFactory.java,
652 javax/naming/directory/ModificationItem.java,
653 javax/naming/directory/SearchControls.java,
654 javax/naming/event/NamingListener.java,
655 javax/naming/ldap/Control.java,
656 javax/naming/ldap/ExtendedResponse.java,
657 javax/net/ssl/SSLSocketFactory.java:
658 Reorganized imports and fixed copyright headers.
659
660 2004-10-20 Michael Koch <konqueror@gmx.de>
661
662 * java/util/logging/ConsoleHandler.java,
663 java/util/logging/ErrorManager.java,
664 java/util/logging/FileHandler.java,
665 java/util/logging/Filter.java,
666 java/util/logging/Formatter.java,
667 java/util/logging/Handler.java,
668 java/util/logging/Level.java,
669 java/util/logging/LogManager.java,
670 java/util/logging/LogRecord.java,
671 java/util/logging/Logger.java,
672 java/util/logging/LoggingPermission.java,
673 java/util/logging/MemoryHandler.java,
674 java/util/logging/SimpleFormatter.java,
675 java/util/logging/SocketHandler.java,
676 java/util/logging/StreamHandler.java,
677 java/util/logging/XMLFormatter.java:
678 Standardized copyrigth header.
679
680 2004-10-20 Michael Koch <konqueror@gmx.de>
681
682 * java/security/AlgorithmParameterGenerator.java,
683 java/security/AlgorithmParameters.java,
684 java/security/DigestInputStream.java,
685 java/security/Identity.java,
686 java/security/KeyFactory.java,
687 java/security/KeyPairGenerator.java,
688 java/security/KeyStore.java,
689 java/security/MessageDigest.java,
690 java/security/MessageDigestSpi.java,
691 java/security/Policy.java,
692 java/security/SecureRandom.java,
693 java/security/Security.java,
694 java/security/Signature.java,
695 java/security/SignatureSpi.java,
696 java/security/cert/CertPathBuilder.java,
697 java/security/cert/CertPathValidator.java,
698 java/security/cert/CertStore.java,
699 java/security/cert/Certificate.java,
700 java/security/cert/CertificateFactory.java,
701 java/security/cert/PolicyQualifierInfo.java,
702 java/security/cert/TrustAnchor.java,
703 java/security/cert/X509CRL.java,
704 java/security/cert/X509CRLEntry.java,
705 java/security/cert/X509Certificate.java,
706 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
707 Import statements reorganized, some little formatting issues,
708 used java-style array declarations, added comments in empty catch
709 blocks.
710
711 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
712
713 * java/security/Security.java
714 (static): Use AccessController.doPrivileged to get system property.
715
716 2004-10-18 Sven de Marothy <sven@physto.se>
717
718 * java/nio/ByteBufferHelper.java
719 (putDouble): Use Double.toRawLongBits instead.
720
721 2004-10-18 Mark Wielaard <mark@klomp.org>
722 Andrew Haley <aph@redhat.com>
723
724 * testsuite/libjava.lang/ExtraClassLoader.java: New.
725
726 2004-10-18 Andrew Haley <aph@redhat.com>
727
728 PR java/18036:
729 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
730 and correct logic used to find interpreter.
731
732 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
733
734 * java/util/logging/LogManager.java
735 (findAncestor): Fixed IndexOutOfBoundsException.
736
737 2004-10-18 Michael Koch <konqueror@gmx.de>
738
739 * java/io/BufferedInputStream.java: Fixed @author tag.
740 (read): Simplified expression.
741 (read): Merged javadoc a bit more.
742 (read): Renamed 'remain' to 'totalBytesRead'.
743 * java/io/DataInputStream.java,
744 java/io/DataOutputStream.java,
745 java/io/ObjectInputStream.java,
746 java/io/ObjectOutputStream.java:
747 Reworked modifier order.
748
749 2004-10-18 Michael Koch <konqueror@gmx.de>
750
751 * java/net/Inet4Address.java: Merged file header and javadocs.
752 * java/net/Inet6Address.java: Likewise.
753 * java/net/InetAddress.java
754 (getCanonicalHostName): Create Inet4Address object instead of
755 InetAddress and add comment regarding IPv6.
756 (toString): Simplified.
757
758 2004-10-18 Michael Koch <konqueror@gmx.de>
759
760 * gnu/java/net/protocol/http/Connection.java,
761 java/nio/MappedByteBufferImpl.java,
762 java/text/RuleBasedCollator.java,
763 java/util/ResourceBundle.java:
764 Reworked import statements.
765
766 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
767
768 * java/security/IdentityScope.java
769 (systemScope): Removed useless initializer.
770 * java/security/Policy.java
771 (currentPolicy): Likewise.
772
773 2004-10-18 Michael Koch <konqueror@gmx.de>
774
775 * java/lang/System.java: Revert accidential change.
776
777 2004-10-18 Michael Koch <konqueror@gmx.de>
778
779 * java/lang/Math.java,
780 java/lang/Package.java,
781 java/lang/Runtime.java,
782 java/lang/StrictMath.java,
783 java/lang/System.java,
784 java/lang/Thread.java,
785 java/lang/ThreadLocal.java,
786 java/lang/Void.java:
787 Reworked import statements, HTML in javadocs and modifier orders.
788
789 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
790
791 * java/util/Timer.java
792 (nr): Removed useless initializer.
793 * java/util/logging/LogRecord.java
794 (lastSeqNum): Likewise.
795 * javax/naming/spi/NamingManager.java
796 (icfb, ofb): Likewise.
797
798 2004-10-18 Michael Koch <konqueror@gmx.de>
799
800 * gnu/java/net/PlainDatagramSocketImpl.java:
801 Reworked import statements.
802 * gnu/java/security/provider/DSAParameters.java:
803 Fixed copyrigth years.
804 * java/net/JarURLConnection.java:
805 Fixed HTML in @author tags.
806
807
808 2004-10-18 Michael Koch <konqueror@gmx.de>
809
810 * java/rmi/activation/ActivationSystem.java
811 (SYSTEM_PORT): Initialize with correct port number.
812
813 2004-10-18 Michael Koch <konqueror@gmx.de>
814
815 * java/lang/reflect/Proxy.java: Improved javadocs.
816
817 2004-10-18 Michael Koch <konqueror@gmx.de>
818
819 * java/lang/reflect/AccessibleObject.java
820 (checkPermission): Removed redundant final modifier.
821 (secureSetAccessible): Likewise.
822 * java/lang/reflect/Proxy.java:
823 Reworked import statements.
824 (generate): Removed redundant final modifier.
825 * java/lang/reflect/ReflectPermission.java:
826 Reorder package declaration and import statement.
827
828 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
829
830 * java/lang/reflect/Proxy.java
831 (count): Removed useless initializer.
832
833 2004-10-17 Michael Koch <konqueror@gmx.de>
834
835 * java/net/BindException.java,
836 java/net/ConnectException.java,
837 java/net/ContentHandler.java,
838 java/net/ContentHandlerFactory.java,
839 java/net/DatagramPacket.java,
840 java/net/DatagramSocket.java,
841 java/net/DatagramSocketImpl.java,
842 java/net/DatagramSocketImplFactory.java,
843 java/net/FileNameMap.java,
844 java/net/HttpURLConnection.java,
845 java/net/MalformedURLException.java,
846 java/net/MulticastSocket.java,
847 java/net/NetworkInterface.java,
848 java/net/NoRouteToHostException.java,
849 java/net/PasswordAuthentication.java,
850 java/net/PortUnreachableException.java,
851 java/net/ProtocolException.java,
852 java/net/ServerSocket.java,
853 java/net/Socket.java,
854 java/net/SocketException.java,
855 java/net/SocketImpl.java,
856 java/net/SocketImplFactory.java,
857 java/net/SocketOptions.java,
858 java/net/SocketPermission.java,
859 java/net/SocketTimeoutException.java,
860 java/net/URI.java,
861 java/net/URISyntaxException.java,
862 java/net/URL.java,
863 java/net/URLDecoder.java,
864 java/net/URLEncoder.java,
865 java/net/URLStreamHandler.java,
866 java/net/URLStreamHandlerFactory.java,
867 java/net/UnknownHostException.java,
868 java/net/UnknownServiceException.java:
869 Big import statement and @author tag cleanup.
870
871 2004-10-17 Michael Koch <konqueror@gmx.de>
872
873 * gnu/java/security/OID.java,
874 gnu/java/security/provider/DSAParameters.java,
875 gnu/java/security/provider/DSASignature.java,
876 gnu/java/security/x509/X500DistinguishedName.java,
877 gnu/java/security/x509/X509CRL.java:
878 Import statements cleaned up.
879
880 2004-10-16 Michael Koch <konqueror@gmx.de>
881
882 * gnu/java/nio/NIODatagramSocket.java,
883 gnu/java/nio/ServerSocketChannelImpl.java:
884 Reorganized import statements.
885
886 2004-10-16 Michael Koch <konqueror@gmx.de>
887
888 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
889 gnu/java/rmi/rmic/RMIC.java,
890 gnu/java/rmi/server/RMIHashes.java,
891 gnu/java/rmi/server/RMIObjectInputStream.java,
892 gnu/java/rmi/server/RMIObjectOutputStream.java,
893 gnu/java/rmi/server/UnicastConnection.java,
894 gnu/java/rmi/server/UnicastConnectionManager.java,
895 gnu/java/rmi/server/UnicastRemoteCall.java,
896 gnu/java/rmi/server/UnicastServer.java,
897 gnu/java/rmi/server/UnicastServerRef.java,
898 java/rmi/MarshalledObject.java,
899 java/rmi/Naming.java,
900 java/rmi/RMISecurityManager.java,
901 java/rmi/Remote.java,
902 java/rmi/activation/Activatable.java,
903 java/rmi/activation/ActivationDesc.java,
904 java/rmi/activation/ActivationGroup.java,
905 java/rmi/activation/ActivationGroupDesc.java,
906 java/rmi/activation/ActivationGroupID.java,
907 java/rmi/activation/ActivationID.java,
908 java/rmi/activation/ActivationInstantiator.java,
909 java/rmi/activation/ActivationMonitor.java,
910 java/rmi/activation/ActivationSystem.java,
911 java/rmi/activation/Activator.java,
912 java/rmi/dgc/DGC.java,
913 java/rmi/dgc/Lease.java,
914 java/rmi/dgc/VMID.java,
915 java/rmi/registry/LocateRegistry.java,
916 java/rmi/registry/Registry.java,
917 java/rmi/registry/RegistryHandler.java,
918 java/rmi/server/LoaderHandler.java,
919 java/rmi/server/LogStream.java,
920 java/rmi/server/ObjID.java,
921 java/rmi/server/Operation.java,
922 java/rmi/server/RMIClassLoader.java,
923 java/rmi/server/RMIClassLoaderSpi.java,
924 java/rmi/server/RMIClientSocketFactory.java,
925 java/rmi/server/RMIFailureHandler.java,
926 java/rmi/server/RMIServerSocketFactory.java,
927 java/rmi/server/RMISocketFactory.java,
928 java/rmi/server/RemoteCall.java,
929 java/rmi/server/RemoteObject.java,
930 java/rmi/server/RemoteRef.java,
931 java/rmi/server/RemoteServer.java,
932 java/rmi/server/RemoteStub.java,
933 java/rmi/server/ServerRef.java,
934 java/rmi/server/Skeleton.java,
935 java/rmi/server/SkeletonMismatchException.java,
936 java/rmi/server/UID.java,
937 java/rmi/server/UnicastRemoteObject.java,
938 java/rmi/server/Unreferenced.java:
939 File headers and import statements cleaned up.
940
941 2004-10-16 Michael Koch <konqueror@gmx.de>
942
943 * libjava/gnu/java/nio/charset/UTF_16.java,
944 libjava/gnu/java/nio/charset/UTF_16BE.java,
945 libjava/gnu/java/nio/charset/UTF_16LE.java,
946 libjava/java/nio/ByteOrder.java,
947 libjava/java/nio/MappedByteBuffer.java,
948 libjava/java/nio/channels/Channels.java,
949 libjava/java/nio/channels/spi/SelectorProvider.java,
950 libjava/java/nio/charset/Charset.java:
951 Cleanup.
952
953 2004-10-16 Michael Koch <konqueror@gmx.de>
954
955 * gnu/java/nio/charset/UTF_16Encoder.java
956 (UTF_16Encoder): Fixed maxBytesPerChar handling.
957
958 2004-10-16 Michael Koch <konqueror@gmx.de>
959
960 * java/math/BigDecimal.java, java/math/BigInteger.java:
961 Reorganized import statements, removed redundant and
962 reorganized modifiers.
963
964 2004-10-16 Michael Koch <konqueror@gmx.de>
965
966 * gnu/java/beans/ExplicitBeanInfo.java:
967 Explicitely import java.awt.Image.
968 (getIcon): Fixed off-by-one error.
969
970 2004-10-15 Andrew Haley <aph@redhat.com>
971
972 * Makefile.am (nat_files, xlib_nat_files): New.
973 * Makefile.in: Regenerate.
974
975 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
976
977 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
978 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
979
980 2004-10-13 Andrew Haley <aph@redhat.com>
981
982 * interpret.cc (_Jv_InterpMethod::run): Initialize
983 _Jv_StartOfInterpreter.
984 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
985 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
986 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
987 _Unwind_FindEnclosingFunction to discover whether PC is within the
988 interpreter.
989
990 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
991
992 PR libgcj/17903:
993 * testsuite/libjava.lang/md5test.java: New file.
994 * testsuite/libjava.lang/md5test.out: Likewise.
995 * testsuite/libjava.lang/shatest.java: Likewise.
996 * testsuite/libjava.lang/shatest.out: Likewise.
997
998 2004-10-11 Richard Henderson <rth@redhat.com>
999
1000 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1001 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1002
1003 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1004
1005 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1006 field as a DST boundary may have been crossed.
1007 * java/util/GregorianCalendar.java (add): Throw
1008 IllegalArgumentException on attempt to add to DST_OFFSET or
1009 ZONE_OFFSET fields. Update javadoc.
1010
1011 2004-10-09 Michael Koch <konqueror@gmx.de>
1012
1013 * java/io/CharArrayWriter.java
1014 (resize): Removed redundant 'final' modifier.
1015 * java/io/DataInputStream.java
1016 (readFully): Throw IndexOutOfBoundsException of len < 0.
1017 * java/io/FileDescriptor.java,
1018 java/io/FileInputStream.java,
1019 java/io/FileOutputStream.java,
1020 java/io/ObjectOutputStream.java,
1021 java/io/ObjectStreamClass.java,
1022 java/io/PipedInputStream.java,
1023 java/io/RandomAccessFile.java:
1024 Reorganized import statements.
1025
1026 2004-10-09 Michael Koch <konqueror@gmx.de>
1027
1028 * gnu/java/rmi/rmic/RMIC.java,
1029 gnu/java/rmi/server/RMIHashes.java,
1030 gnu/java/rmi/server/RMIObjectInputStream.java,
1031 gnu/java/rmi/server/UnicastConnection.java,
1032 gnu/java/rmi/server/UnicastConnectionManager.java,
1033 gnu/java/rmi/server/UnicastRemoteCall.java,
1034 gnu/java/rmi/server/UnicastServerRef.java:
1035 Reworked import statements and fixed file headers.
1036
1037 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1038
1039 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1040 emission rule.
1041 * configure: Rebuilt.
1042
1043 2004-09-30 Tom Tromey <tromey@redhat.com>
1044
1045 * java/text/MessageFormat.java (Field): Constructor now
1046 protected.
1047
1048 2004-09-30 Tom Tromey <tromey@redhat.com>
1049
1050 * javax/crypto/MacSpi.java: Fixed typo.
1051
1052 2004-09-30 Michael Koch <konqueror@gmx.de>
1053
1054 * java/net/InetAddress.java: Reformatted.
1055 (loopback): Initialize with Inet4Address object.
1056 (static): Initialize ANY_IF with Inet4Address object.
1057 (InetAddress): Removed unused package-private constructor.
1058
1059 2004-09-30 Michael Koch <konqueror@gmx.de>
1060
1061 * java/beans/Beans.java,
1062 java/beans/EventHandler.java,
1063 java/beans/EventSetDescriptor.java,
1064 java/beans/Introspector.java,
1065 java/beans/PropertyEditorManager.java,
1066 java/beans/beancontext/BeanContext.java,
1067 java/beans/beancontext/BeanContextChild.java,
1068 java/beans/beancontext/BeanContextChildSupport.java,
1069 java/beans/beancontext/BeanContextMembershipEvent.java:
1070 Reordered import statements and removed redundant modifiers.
1071
1072 2004-09-29 Tom Tromey <tromey@redhat.com>
1073
1074 PR libgcj/17715:
1075 * Makefile.in: Rebuilt.
1076 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1077 files.
1078 (all_property_files): New macro.
1079
1080 * Makefile.in: Rebuilt.
1081 * Makefile.am (ordinary_java_source_files): Re-sorted.
1082 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1083
1084 2004-09-28 Tom Tromey <tromey@redhat.com>
1085
1086 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1087
1088 PR libgcj/17222:
1089 * Makefile.am (libgcj.la): Restored.
1090 * Makefile.in: Rebuilt.
1091
1092 2004-09-28 Michael Koch <konqueror@gmx.de>
1093
1094 * java/net/URLConnection.java: Reformatted.
1095 * java/net/URLClassLoader.java: Reformatted.
1096 (getContent): Reordered return of content.
1097 (getContentHandler): Don't check for null explicitely.
1098
1099 2004-09-27 Michael Koch <konqueror@gmx.de>
1100
1101 * java/io/BufferedInputStream.java
1102 (BufferedInputStream): Added Jeroen Frijters to authors.
1103 (count): Don't explicitely initialize with default value.
1104 (pos): Likewise.
1105 (marklimit): Likewise.
1106 (read): Changed boolean expression to match GNU classpath' version.
1107 (reset): Add proper message to exception.
1108 (skip): Check for closed stream.
1109 (refill): Likewise.
1110
1111 2004-09-26 Per Bothner <per@bothner.com>
1112
1113 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1114 avoid warnings in the non-POSIX_VERSION case.
1115 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1116 so place it inside an #if block.
1117 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1118 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1119 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1120 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1121
1122 2004-09-26 Per Bothner <per@bothner.com>
1123
1124 * prims.cc (process_gcj_properties): Optimization.
1125
1126 2004-09-26 Per Bothner <per@bothner.com>
1127
1128 * java/util/Collections.java (sort): Copy from array in forwards
1129 order, rather than reverse order which may be much less efficient.
1130
1131 2004-09-26 Mark Wielaard <mark@klomp.org>
1132
1133 * java/lang/System.java (properties): Make package private.
1134 * java/lang/Throwable.java (StaticData.nl): Initialize through
1135 directly accessing System.properties.getProperty().
1136
1137 * java/lang/Throwable.java (nl): Remove static field.
1138 (StaticData): New private static inner class.
1139 (stackTraceStringBuffer): Use StaticData.nl.
1140
1141 2004-09-26 Casey Marshall <csm@gnu.org>
1142
1143 * java/security/ProtectionDomain.java
1144 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1145 `true'.
1146
1147 * java/security/SecureClassLoader.java
1148 (defineClass): make protection domain dynamically bound.
1149 (getPermissions): call `getCurrentPolicy' to avoid permission
1150 check.
1151
1152 2004-09-25 Mark Wielaard <mark@klomp.org>
1153
1154 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1155 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1156 * Makefile.in: Regenerated.
1157
1158 * gcj/javaprims.h: Regenerated.
1159
1160 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1161 (getDefaultTimeZone): Make package private. Check that GMToffset
1162 contains at least one digit.
1163 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1164 VMTimeZone.
1165 * util/VMTimeZone.java: New file with above methods.
1166
1167 * java/util/natTimeZone.cc: Removed (renamed).
1168 * java/util/natVMTimeZone.cc: Added (renamed).
1169
1170 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1171
1172 * java/util/TimeZone.java
1173 (getDefaultTimeZone): Fixed test to distinguish between hours and
1174 minutes in specified timezone.
1175
1176 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1177
1178 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1179 handling of default package. (generate): Removed confused comments
1180 and code about making Method and Field accessible.
1181
1182 2004-09-25 Tom Tromey <tromey@redhat.com>
1183
1184 PR java/17500:
1185 * testsuite/libjava.compile/pr17500.java: New file.
1186
1187 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1188 Mark Wielaard <mark@klomp.org>
1189
1190 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1191 * gnu/regexp/RETokenLookAhead.java: New file.
1192
1193 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1194 * Makefile.in: Regenerated.
1195
1196 2004-09-25 Michael Koch <konqueror@gmx.de>
1197
1198 * java/io/ObjectStreamField.java:
1199 Removed unused import statement.
1200
1201 2004-09-24 Tom Tromey <tromey@redhat.com>
1202
1203 PR java/15656:
1204 * testsuite/libjava.compile/pr15656.xfail: New file.
1205 * testsuite/libjava.compile/pr15656.java: new file.
1206
1207 PR java/16789:
1208 * testsuite/libjava.lang/pr16789.out: New file.
1209 * testsuite/libjava.lang/pr16789.java: New file.
1210
1211 2004-09-24 Andrew Haley <aph@redhat.com>
1212
1213 PR java/16927
1214 * testsuite/libjava.compile/AssertBug.java: New file.
1215
1216 2004-09-24 Casey Marshall <csm@gnu.org>
1217
1218 * java/util/PropertyPermissionCollection.java
1219 (implies): avoid infinite loop.
1220
1221 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1222
1223 * javax/security/auth/PrivateCredentialPermission.java
1224 (PrivateCredentialPermission): added serialization UID
1225
1226
1227 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1228
1229 * gnu/java/rmi/server/UnicastServer.java
1230 (incomingMessageCall): Added code to handle Errors.
1231 * gnu/java/rmi/server/UnicastServerRef.java
1232 (incomingMessageCall): Added code to handle Errors.
1233
1234
1235 2004-09-24 Tom Tromey <tromey@redhat.com>
1236
1237 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1238 (definedPackages): Likewise.
1239
1240 2004-09-24 Michael Koch <konqueror@gmx.de>
1241
1242 * java/io/ObjectInputStream.java:
1243 Re-ordered imports.
1244
1245 2004-09-24 Casey Marshall <csm@gnu.org>
1246
1247 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1248 `ClassNotFoundException'.
1249
1250 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1251
1252 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1253 of Externalizable classes to ObjectStreamClass.
1254 * java/io/ObjectStreamClass.java (newInstance): New method to
1255 instantiate Externalizable (while ignoring the accessibility of
1256 the constructor). (constructor): New field to cache the constructor.
1257
1258 2004-09-24 Mark Wielaard <mark@klomp.org>
1259
1260 * java/net/URL.java (systemClassLoader): New static field.
1261 (getURLStreamHandler): Always use system/application classloader
1262 for finding URLStreamhandler. Remove unecessary instanceof checks.
1263
1264 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1265
1266 * java/net/URL.java
1267 (set): This method now matches the behaviour of the JDK.
1268 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1269
1270 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1271
1272 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1273
1274 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1275
1276 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1277 Don't set authority if host isn't specified.
1278
1279 2004-09-24 Michael Koch <konqueror@gmx.de>
1280
1281 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1282 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1283 * gnu/java/nio/VMPipe.java,
1284 gnu/java/nio/VMSelector.java:
1285 New files.
1286 * gnu/java/nio/natPipeImplEcos.cc,
1287 gnu/java/nio/natPipeImplPosix.cc,
1288 gnu/java/nio/natPipeImplWin32.cc:
1289 Ported to VMPipe.
1290 * gnu/java/nio/natSelectorImplEcos.cc,
1291 gnu/java/nio/natSelectorImplPosix.cc,
1292 gnu/java/nio/natSelectorImplWin32.cc:
1293 Ported to VMSelector.
1294 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1295 gnu/java/nio/VMSelector.java.
1296 * Makefile.in: Regenerated.
1297
1298 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1299
1300 * java/lang/StackTraceElement.java
1301 (className): Renamed field to declaringClass to be compatible
1302 with Sun serialization format.
1303
1304 2004-09-23 Michael Koch <konqueror@gmx.de>
1305
1306 * java/applet/AppletContext.java,
1307 java/applet/Applet.java,
1308 java/applet/AppletStub.java,
1309 java/applet/AudioClip.java:
1310 Jalopied and checkstyle clean.
1311
1312 2004-09-23 Mark Wielaard <mark@klomp.org>
1313
1314 * java/util/Collections.java
1315 (binarySearch(List, Object, Comparator)): Explicitly
1316 reverse direction in list iterator.
1317 (rotate): Just return when list is empty.
1318
1319 2004-09-23 Tom Tromey <tromey@redhat.com>
1320
1321 PR java/17329:
1322 * testsuite/libjava.compile/pr17329.java: New file.
1323
1324 PR java/17380:
1325 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1326 9.2-implicit-7.
1327
1328 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1329
1330 * Makefile.am: Run aclocal with -I ../config
1331 * acinclude.m4: Delete macros picked up from ../config and tidy.
1332 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1333 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1334 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1335
1336 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1337
1338 * aclocal.m4: Regenerate with aclocal 1.9.2.
1339 * configure: Regenerate.
1340 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1341 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1342
1343 2004-09-22 David Daney <ddaney@avtrex.com>
1344
1345 PR libgcj/17623
1346 * java/net/URL.java (URL): Copy userInfo from context.
1347 (getUserInfo): Return cached userInfo if present.
1348
1349 2004-09-22 Tom Tromey <tromey@redhat.com>
1350
1351 PR libgcj/6182:
1352 * mauve-libgcj: Enable java.lang.Character tests.
1353
1354 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1355
1356 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1357 dependencies.
1358 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1359 * Makefile.in: Regenerated.
1360
1361 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1362
1363 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1364 * configure: Regenerate.
1365 * include/config.h.in: Likewise.
1366 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1368 macro to gtkpeer.h.
1369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1370 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1371 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1372 architectures.
1373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1374 Likewise.
1375
1376 2004-09-22 Tom Tromey <tromey@redhat.com>
1377
1378 PR libgcj/14446:
1379 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1380 when comparing CRCs.
1381 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1382 field.
1383 (read()): New overload.
1384
1385 2004-09-21 Tom Tromey <tromey@redhat.com>
1386
1387 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1388 Indentation fix.
1389
1390 2004-09-21 Michael Koch <konqueror@gmx.de>
1391
1392 * java/net/Socket.java
1393 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1394
1395 2004-09-21 Casey Marshall <csm@gnu.org>
1396
1397 * javax/crypto/MacSpi.java (clone): Provide meaningful
1398 implementation.
1399
1400 2004-09-21 Tom Tromey <tromey@redhat.com>
1401
1402 PR libgcj/16869:
1403 * Makefile.in: Rebuilt.
1404 * Makefile.am (MOSTLYCLEANFILES): Removed.
1405 (mostlyclean-local): Remove header files.
1406
1407 2004-09-21 Casey Marshall <csm@gnu.org>
1408
1409 * java/security/cert/X509CRLSelector.java:
1410 (match): remove unreachable try-catch clauses.
1411 Reported by: Dalibor Topic <robilad@kaffe.org>
1412
1413 2004-09-21 Mark Wielaard <mark@klomp.org>
1414
1415 * java/util/TreeMap.java (root): Don't initialize.
1416 (TreeMap(Comparator)): Call fabricateTree(0).
1417 (fabricateTree): Initialize root and size when count is 0.
1418
1419 2004-09-21 Sven de Marothy <sven@physto.se>
1420
1421 * java/nio/ByteBuffer.java (hashCode): Implemented.
1422 * java/nio/CharBuffer.java: Likewise.
1423 * java/nio/DoubleBuffer.java: Likewise.
1424 * java/nio/FloatBuffer.java: Likewise.
1425 * java/nio/LongBuffer.java: Likewise.
1426 * java/nio/IntBuffer.java: Likewise.
1427 * java/nio/ShortBuffer.java: Likewise.
1428
1429 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1430
1431 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1432
1433 2004-09-21 Michael Koch <konqueror@gmx.de>
1434
1435 * javax/net/ssl/SSLServerSocket.java:
1436 Removed comment about "Do not edit this file, it's generated.".
1437
1438 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1439
1440 Import the big Crypto/Jessie/Security merge from Classpath.
1441
1442 * Makefile.am: Add imported files.
1443 * Makefile.in: Regenerate.
1444
1445 2004-08-14 Casey Marshall <csm@gnu.org>
1446
1447 The Big Crypto Merge of 2004.
1448
1449 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1450 Crypto's version.
1451
1452 Files imported from GNU Crypto.
1453 * javax/crypto/BadPaddingException.java
1454 * javax/crypto/Cipher.java
1455 * javax/crypto/CipherInputStream.java
1456 * javax/crypto/CipherOutputStream.java
1457 * javax/crypto/CipherSpi.java
1458 * javax/crypto/EncryptedPrivateKeyInfo.java
1459 * javax/crypto/ExemptionMechanism.java
1460 * javax/crypto/ExemptionMechanismException.java
1461 * javax/crypto/ExemptionMechanismSpi.java
1462 * javax/crypto/IllegalBlockSizeException.java
1463 * javax/crypto/KeyAgreement.java
1464 * javax/crypto/KeyAgreementSpi.java
1465 * javax/crypto/KeyGenerator.java
1466 * javax/crypto/KeyGeneratorSpi.java
1467 * javax/crypto/Mac.java
1468 * javax/crypto/MacSpi.java
1469 * javax/crypto/Makefile.am
1470 * javax/crypto/NoSuchPaddingException.java
1471 * javax/crypto/NullCipher.java
1472 * javax/crypto/NullCipherImpl.java
1473 * javax/crypto/SealedObject.java
1474 * javax/crypto/SecretKey.java
1475 * javax/crypto/SecretKeyFactory.java
1476 * javax/crypto/SecretKeyFactorySpi.java
1477 * javax/crypto/ShortBufferException.java
1478 * javax/crypto/interfaces/DHKey.java
1479 * javax/crypto/interfaces/DHPrivateKey.java
1480 * javax/crypto/interfaces/DHPublicKey.java
1481 * javax/crypto/interfaces/PBEKey.java
1482 * javax/crypto/spec/DESKeySpec.java
1483 * javax/crypto/spec/DESedeKeySpec.java
1484 * javax/crypto/spec/DHGenParameterSpec.java
1485 * javax/crypto/spec/DHParameterSpec.java
1486 * javax/crypto/spec/DHPrivateKeySpec.java
1487 * javax/crypto/spec/DHPublicKeySpec.java
1488 * javax/crypto/spec/IvParameterSpec.java
1489 * javax/crypto/spec/PBEKeySpec.java
1490 * javax/crypto/spec/PBEParameterSpec.java
1491 * javax/crypto/spec/RC2ParameterSpec.java
1492 * javax/crypto/spec/RC5ParameterSpec.java
1493 * javax/crypto/spec/SecretKeySpec.java
1494 * javax/security/auth/AuthPermission.java
1495 * javax/security/auth/DestroyFailedException.java
1496 * javax/security/auth/Destroyable.java
1497 * javax/security/auth/Policy.java
1498 * javax/security/auth/PrivateCredentialPermission.java
1499 * javax/security/auth/RefreshFailedException.java
1500 * javax/security/auth/Refreshable.java
1501 * javax/security/auth/Subject.java
1502 * javax/security/auth/SubjectDomainCombiner.java
1503 * javax/security/auth/callback/Callback.java
1504 * javax/security/auth/callback/CallbackHandler.java
1505 * javax/security/auth/callback/ChoiceCallback.java
1506 * javax/security/auth/callback/ConfirmationCallback.java
1507 * javax/security/auth/callback/LanguageCallback.java
1508 * javax/security/auth/callback/NameCallback.java
1509 * javax/security/auth/callback/PasswordCallback.java
1510 * javax/security/auth/callback/TextInputCallback.java
1511 * javax/security/auth/callback/TextOutputCallback.java
1512 * javax/security/auth/callback/UnsupportedCallbackException.java
1513 * javax/security/auth/login/AccountExpiredException.java
1514 * javax/security/auth/login/AppConfigurationEntry.java
1515 * javax/security/auth/login/Configuration.java
1516 * javax/security/auth/login/CredentialExpiredException.java
1517 * javax/security/auth/login/FailedLoginException.java
1518 * javax/security/auth/login/LoginContext.java
1519 * javax/security/auth/login/LoginException.java
1520 * javax/security/auth/login/NullConfiguration.java
1521 * javax/security/auth/x500/X500PrivateCredential.java
1522 * javax/security/sasl/AuthenticationException.java
1523 * javax/security/sasl/AuthorizeCallback.java
1524 * javax/security/sasl/RealmCallback.java
1525 * javax/security/sasl/RealmChoiceCallback.java
1526 * javax/security/sasl/Sasl.java
1527 * javax/security/sasl/SaslClient.java
1528 * javax/security/sasl/SaslClientFactory.java
1529 * javax/security/sasl/SaslException.java
1530 * javax/security/sasl/SaslServer.java
1531 * javax/security/sasl/SaslServerFactory.java
1532 * org/ietf/jgss/ChannelBinding.java
1533 * org/ietf/jgss/GSSContext.java
1534 * org/ietf/jgss/GSSCredential.java
1535 * org/ietf/jgss/GSSException.java
1536 * org/ietf/jgss/GSSManager.java
1537 * org/ietf/jgss/GSSName.java
1538 * org/ietf/jgss/MessageProp.java
1539 * org/ietf/jgss/Oid.java
1540 * org/ietf/jgss/MessagesBundle.properties
1541
1542 Files imported from Jessie <http://www.nongnu.org/jessie/>
1543 * javax/net/ServerSocketFactory.java
1544 * javax/net/SocketFactory.java
1545 * javax/net/VanillaServerSocketFactory.java
1546 * javax/net/VanillaSocketFactory.java
1547 * javax/net/ssl/HandshakeCompletedEvent.java
1548 * javax/net/ssl/HandshakeCompletedListener.java
1549 * javax/net/ssl/HostnameVerifier.java
1550 * javax/net/ssl/HttpsURLConnection.java
1551 * javax/net/ssl/KeyManager.java
1552 * javax/net/ssl/KeyManagerFactory.java
1553 * javax/net/ssl/KeyManagerFactorySpi.java
1554 * javax/net/ssl/ManagerFactoryParameters.java
1555 * javax/net/ssl/SSLContext.java
1556 * javax/net/ssl/SSLContextSpi.java
1557 * javax/net/ssl/SSLException.java
1558 * javax/net/ssl/SSLHandshakeException.java
1559 * javax/net/ssl/SSLKeyException.java
1560 * javax/net/ssl/SSLPeerUnverifiedException.java
1561 * javax/net/ssl/SSLPermission.java
1562 * javax/net/ssl/SSLProtocolException.java
1563 * javax/net/ssl/SSLServerSocket.java
1564 * javax/net/ssl/SSLServerSocketFactory.java
1565 * javax/net/ssl/SSLSession.java
1566 * javax/net/ssl/SSLSessionBindingEvent.java
1567 * javax/net/ssl/SSLSessionBindingListener.java
1568 * javax/net/ssl/SSLSessionContext.java
1569 * javax/net/ssl/SSLSocket.java
1570 * javax/net/ssl/SSLSocketFactory.java
1571 * javax/net/ssl/TrivialHostnameVerifier.java
1572 * javax/net/ssl/TrustManager.java
1573 * javax/net/ssl/TrustManagerFactory.java
1574 * javax/net/ssl/TrustManagerFactorySpi.java
1575 * javax/net/ssl/X509KeyManager.java
1576 * javax/net/ssl/X509TrustManager.java
1577 * javax/security/cert/Certificate.java
1578 * javax/security/cert/CertificateEncodingException.java
1579 * javax/security/cert/CertificateException.java
1580 * javax/security/cert/CertificateExpiredException.java
1581 * javax/security/cert/CertificateNotYetValidException.java
1582 * javax/security/cert/CertificateParsingException.java
1583 * javax/security/cert/X509CertBridge.java
1584 * javax/security/cert/X509Certificate.java
1585
1586 2004-08-20 Casey Marshall <csm@gnu.org>
1587
1588 * java/security/cert/X509CRLSelector.java: New file.
1589 * java/security/cert/X509CertSelector.java: New file.
1590
1591 2004-09-15 Michael Koch <konqueror@gmx.de>
1592
1593 * gnu/java/net/protocol/file/Handler.java
1594 (openConnection): Don't throw exception if host part for file: URI is
1595 present. setURL() keeps file: protocol if ftp: protocol is not
1596 available.
1597
1598 2004-09-14 Richard Henderson <rth@redhat.com>
1599
1600 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1601 value of sigsuspend.
1602
1603 2004-09-12 Tom Tromey <tromey@redhat.com>
1604
1605 * javax/naming/CompoundName.java (CompoundName): Don't check for
1606 separator in "flat" case.
1607
1608 2004-09-12 Michael Koch <konqueror@gmx.de>
1609
1610 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1611 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1612 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1613 Regenerate.
1614
1615 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1616
1617 PR libgcj/14751
1618 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1619 handle in newly-allocated _Jv_Thread_t.
1620 (_Jv_ThreadDestroyData): Close thread handle.
1621 (_Jv_ThreadStart): Remove obsolete comment.
1622 Store handle of newly-created thread in _Jv_Thread_t.
1623 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1624 before including <windows.h>
1625 #define _Jv_HaveCondDestroy
1626
1627 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1628
1629 * java/lang/natThread.cc (finalize_native): Destroy
1630 join conditional variable and mutex if these destroy
1631 operations are supported.
1632
1633 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1634
1635 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1636 (DEFAULT_PERMISSION): New constant.
1637 (Connection): Create a FilePermission with permission to read file.
1638
1639 2004-09-10 Michael Koch <konqueror@gmx.de>
1640
1641 * gnu/java/net/protocol/file/Connection.java
1642 (getLastModified): Moved around.
1643 (getPermission): Return stored permission.
1644
1645 2004-09-10 Michael Koch <konqueror@gmx.de>
1646
1647 * Makefile.in: Regenerate.
1648
1649 2004-09-10 Michael Koch <konqueror@gmx.de>
1650
1651 * Makefile.am: Reverted accidently commited stuff.
1652 * configure: Regenerated.
1653
1654 2004-09-10 Michael Koch <konqueror@gmx.de>
1655
1656 * gnu/java/net/protocol/file/Connection.java
1657 (lineSeparator): Made non-final.
1658 (static): Removed.
1659 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1660 instead of StringBufferInputStream.
1661
1662 2004-09-10 Michael Koch <konqueror@gmx.de>
1663
1664 * gnu/java/net/protocol/file/Connection.java
1665 (connect): Handle file is a directory case.
1666
1667 2004-09-10 Michael Koch <konqueror@gmx.de>
1668
1669 * Makefile.am
1670 (xlib_includes): Removed.
1671 (AM_CPPFLAGS): Renamed from INCLUDES.
1672 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1673 * Makefile.in: Regenerate.
1674
1675 2004-09-09 Michael Koch <konqueror@gmx.de>
1676
1677 * java/security/ProtectionDomain.java,
1678 * java/util/PropertyPermissionCollection.java:
1679 Fixed javadocs all over.
1680
1681 2004-09-09 Sven de Marothy <sven@physto.se>
1682
1683 Patch from David Gilbert <david.gilbert@object-refinery.com>
1684 * java/lang/Comparable.java: Fixed documentation errors.
1685 * java/util/Arrays.java: Likewise.
1686
1687 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1688
1689 * java/net/Inet4Address.java
1690 (Inet4Address): Added comment to serialization UID.
1691 * java/text/Format.java
1692 (Format): Added comment to serialization UID.
1693
1694 2004-09-09 Michael Koch <konqueror@gmx.de>
1695
1696 * java/lang/System.java
1697 (err): Fixed javadoci to point to setErr() and not setOut().
1698
1699 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1700
1701 (normalizePath): Added special case for windows systems.
1702
1703 2004-09-09 Michael Koch <konqueror@gmx.de>
1704
1705 * java/io/File.java
1706 (dupSeparator): Made private.
1707 (File(URI)): New constructor.
1708 (getParentFile): Fixed javadoc.
1709 (createTempFile): Reformated.
1710 (setReadOnly): Added comment.
1711 (deleteOnExit): Merged javadoc with classpath version.
1712
1713 2004-09-09 Michael Koch <konqueror@gmx.de>
1714
1715 * Makefile.am: Don't try to include deps.mk.
1716 * Makefile.in: Regenerated.
1717
1718 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1719
1720 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1721 .d files.
1722 * configure: Rebuilt.
1723
1724 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1725
1726 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1727 Changed pfn from static local to local.
1728
1729 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1730 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 PR libgcj/17290
1733 * Makefile.am (GCJCOMPILE): Remove definition.
1734 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1735 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1736 * Makefile.in: Rebuilt.
1737
1738 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1739
1740 * configure.ac (enable-gc-debug): Update help for new syntax.
1741 * configure: Regenerate.
1742
1743 2004-09-03 David Daney <ddaney@avtrex.com>
1744
1745 * include/mips-signal.h: Update copyright.
1746
1747 2004-09-03 David Daney <ddaney@avtrex.com>
1748
1749 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1750 * include/mips-signal.h: Added HANDLE_FPE support.
1751
1752 2004-08-31 Michael Koch <konqueror@gmx.de>
1753
1754 * javax/swing/plaf/basic/BasicTextAreaUI.java
1755 (create): New method.
1756 * javax/swing/text/DefaultHighlighter.java
1757 (DefaultHighlightPainter.debugRect): Removed.
1758 * javax/swing/text/StyleContext.java
1759 (DEFAULT_STYLE): New field.
1760
1761 2004-08-31 Michael Koch <konqueror@gmx.de>
1762
1763 * javax/swing/plaf/basic/BasicLookAndFeel.java
1764 (initComponentDefaults): Add keybindings for selection.backward and
1765 selection-forward for text components.
1766 * javax/swing/plaf/basic/BasicTextUI.java
1767 (paintSafely): Paint highlight only when something is actually
1768 selected.
1769 * javax/swing/text/DefaultCaret.java
1770 (handleHighlight): New method.
1771 (setSelectionVisible): Don't do anything when nothing changes.
1772 Handle highlight.
1773 (moveDot): Reimplemented. Handle highlight.
1774 (setDot): Set mark too. Handle highlight.
1775 (getSelectionPainter): New method.
1776 * javax/swing/text/DefaultEditorKit.java
1777 (defaultActions): Added new actions for text selection.
1778 * javax/swing/text/DefaultHighlighter.java
1779 (DefaultHighlightPainter): New inner class.
1780 (DefaultPainter): New field.
1781 (paint): Implemented.
1782 * javax/swing/text/PlainView.java
1783 (paint): Don't draw background here again.
1784 * javax/swing/text/Utilities.java
1785 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1786 (drawTabbedText): Likewise.
1787
1788 2004-08-31 Graydon Hoare <graydon@redhat.com>
1789
1790 * javax/swing/JComponent.java
1791 (resetKeyboardActions): Add null checks.
1792
1793 2004-08-31 Graydon Hoare <graydon@redhat.com>
1794
1795 * javax/swing/DefaultButtonModel.java:
1796 Skip group notification when no group is set.
1797
1798 2004-08-31 Graydon Hoare <graydon@redhat.com>
1799
1800 * javax/swing/JColorChooser.java:
1801 Make a couple inner classes static, for jikes.
1802
1803 2004-08-31 Michael Koch <konqueror@gmx.de>
1804
1805 * javax/swing/plaf/basic/BasicTextUI.java
1806 (RottView.modelToView): New method.
1807 (UpdateHandler): Renamed from EventHandler.
1808 (updateHandler): Renamed from eventHandler.
1809 (modelToView): Implemented.
1810 * javax/swing/text/AbstractDocument.java
1811 (BranchElement.getElement): Return null for non-existing indeces.
1812 (BranchElement.getElementIndex): Return 0 in some corner cases.
1813 * javax/swing/text/FieldView.java
1814 (modelToView): New method.
1815 * javax/swing/text/PlainView.java
1816 (modelToView): Made public.
1817
1818 2004-08-31 Kim Ho <kho@redhat.com>
1819
1820 * Makefile.am: New files.
1821 * Makefile.in: Regenerate.
1822 * gcj/Makefile.in: Regenerate.
1823 * include/Makefile.in: Regenerate.
1824 * java/awt/Color.java: Fix documentation.
1825 (RGBtoHSB): Use floats for conversions.
1826 * javax/swing/ButtonGroup.java: Run Jalopy.
1827 (setSelected): Reimplement.
1828 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1829 (changeState): Let ButtonGroup know that the button
1830 is changing state.
1831 * javax/swing/JColorChooser.java: Implement.
1832 * javax/swing/JLabel.java: Run Jalopy.
1833 * javax/swing/JSpinner.java: Run Jalopy.
1834 (setValue): New method.
1835 * javax/swing/JTabbedPane.java: Run Jalopy.
1836 (removeTabAt): Call correct remove method.
1837 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1838 (getPreviousValue): Compare minimum value.
1839 * javax/swing/Timer.java: Run Jalopy.
1840 (run): Comment out println.
1841 * javax/swing/ToolTipManager.java:
1842 (mouseMoved): Get new tooltip text for location.
1843 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1844 Jalopy and Javadoc.
1845 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1846 Implement.
1847 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1848 Run Jalopy.
1849 (setSelectedColor): Fire ChangeEvent.
1850 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1851 New file. Implement.
1852 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1853 Ditto.
1854 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1855 Ditto.
1856 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1857 Ditto.
1858 * javax/swing/plaf/basic/BasicArrowButton.java:
1859 (getArrow): Fix size of upward pointing button.
1860 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1861 Implement.
1862 * javax/swing/plaf/basic/BasicSliderUI.java:
1863 (getWidthOfWidestLabel): Use preferred dimensions.
1864 (getHeightOfTallestLabel): Ditto.
1865 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1866 Run Jalopy.
1867 (mousePressed): Disable changes to spinner if it is not enabled.
1868 * testsuite/Makefile.in: Regenerate.
1869
1870
1871 2004-08-31 Michael Koch <konqueror@gmx.de>
1872
1873 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1874 javax/swing/plaf/basic/BasicTableUI.java:
1875 Added copyright notice.
1876
1877 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1878
1879 * Makefile.am: Added new files.
1880 * Makefile.in: Regenerate.
1881 * javax/swing/ComboBoxEditor.java: Added javadocs.
1882 * javax/swing/ComboBoxModel.java: Likewise.
1883 * javax/swing/DefaultComboBoxModel.java: Implemented.
1884 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1885 and ran through jalopy to fix formatting style.
1886 (getListCellRendererComponent): Use appropriate border
1887 if renderer has focus and use noFocusBorder when it doesn't.
1888 * javax/swing/JComboBox.java: Implemented.
1889 * javax/swing/JList.java:
1890 (locationToIndex): New Method. Implemented.
1891 (indexToLocation): New Method.
1892 * javax/swing/JPopupMenu.java:
1893 (visible): New field.
1894 (isVisible): Changed to use new field above.
1895 (setVisible): Likewise.
1896 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1897 * javax/swing/plaf/basic/BasicArrowButton.java:
1898 (shadow): Changed default color to Color.gray.
1899 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1900 UI delegate for JComboBox.
1901 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1902 Popup menu containing list of JComboBox's items.
1903 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1904 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1905 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1906 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1907 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1908 (popupMenuWillBecomeVisible): Set selected path to the first
1909 element only if it is of type MenuElement. Also fix formatting
1910 style.
1911 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1912 methods signatures.
1913
1914 2004-08-31 Michael Koch <konqueror@gmx.de>
1915
1916 * javax/swing/text/AbstractDocument.java
1917 (createBranchElement): Use new constructor of BranchElement.
1918 (createLeafElement): Renamed arguments.
1919 (getRootElements): Implemented.
1920 (BranchElement.start): Removed.
1921 (BranchElement.end): Likewise.
1922 (BranchElement.BranchElement): Fixed arguments.
1923 (BranchElement.getEndOffset): Reimplemented.
1924 (BranchElement.getStartOffset): Likewis.
1925 * javax/swing/text/DefaultCaret.java
1926 (paint): Draw simple vertical line as caret instead of a rectangle.
1927 * javax/swing/text/JTextComponent.java
1928 (setText): Use doc directly.
1929 * javax/swing/text/PlainView.java
1930 (nextTabStop): Implemented.
1931 * javax/swing/text/Utilities.java
1932 (drawTabbedText): nextTabStop() returns an absolute x position.
1933 (getTabbedTextWidth): Likewise.
1934
1935 2004-08-31 Graydon Hoare <graydon@redhat.com>
1936
1937 * java/awt/Component.java
1938 (isFocusTraversable): Predicate on isLightweight()
1939 (setFocusable): Set isFocusTraversableOverridden.
1940 (requestFocus): Predicate peer dispatch on !isLightweight()
1941 (requestFocusInWindow): Likewise.
1942 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1943 * java/awt/Container.java
1944 (dispatchEventImpl): Predicate on event mask.
1945 (LightweightDispatcher): Remove focus machinery.
1946 * java/awt/DefaultFocusTraversalPolicy.java
1947 (accept): Expand predicate to include isFocusable().
1948 * java/awt/DefaultKeyboardFocusManager.java:
1949 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1950 * java/awt/KeyboardFocusManager.java
1951 (redispatchEvent): Synchronize on event to prevent feedback.
1952 * javax/swing/AbstractButton.java
1953 (ButtonFocusListener): Remove class.
1954 (init): Set focusPainted, focusable.
1955 * javax/swing/ActionMap.java (get): Check parent for null.
1956 * javax/swing/InputMap.java (get): Likewise.
1957 * javax/swing/JComponent.java
1958 (inputMap_whenFocused): New InputMap.
1959 (inputMap_whenAncestorOfFocused): Likewise.
1960 (inputMap_whenInFocusedWindow): Likewise.
1961 (getActionForKeyStroke): Rewrite.
1962 (getConditionForKeystroke): Likewise.
1963 (ActionListenerProxy): New private class.
1964 (setInputMap): Implement.
1965 (getInputMap): Likewise.
1966 (setActionMap): Likewise.
1967 (getActionMap): Likewise.
1968 (processComponentKeyEvent): New empty method.
1969 (processKeyEvent): Implement.
1970 (processKeyBinding): Likewise.
1971 (resetKeyboardActions): Rewrite.
1972 * javax/swing/KeyStroke.java: Rewrite.
1973 * javax/swing/SwingUtilities.java
1974 (notifyAction): Implement.
1975 (replaceUIActionMap): Likewise.
1976 (replaceUIInputMap): Likewise.
1977 * javax/swing/plaf/basic/BasicButtonListener.java
1978 (focusGained): Implement.
1979 (focusLost): Repaint if focusPainted().
1980 (installKeyboardActions): Install pressed / released actions.
1981 (uninstallKeyboardActions): Implement.
1982 * javax/swing/plaf/basic/BasicButtonUI.java
1983 (focusColor): New field.
1984 (installDefaults): Load focus color, install input map.
1985 (installKeyboardActions): Implement.
1986 (uninstallKeyboardActions): Likewise.
1987 (paintFocus): Rewrite.
1988 * javax/swing/plaf/basic/BasicLookAndFeel.java
1989 (Button.focus): New default, midPurple.
1990 * javax/swing/plaf/basic/BasicTextUI.java
1991 (kit): Make static.
1992 (installUI): Get doc from kit, load defaults.
1993 (getKeymapName): Implement.
1994 (createKeymap): Likewise.
1995 (installKeyboardActions): Likewise.
1996 (getInputMap): Likewise.
1997 (getActionMap): Likewise.
1998 (createActionMap): Likewise.
1999 * javax/swing/text/AbstractDocument.java
2000 (getStartPosition): Implement.
2001 (getEndPosition): Likewise.
2002 * javax/swing/text/DefaultEditorKit.java
2003 (CopyAction): New class.
2004 (CutAction): Likewise.
2005 (DefaultKeyTypedAction): Likewise.
2006 (InsertBreakAction): Likewise.
2007 (InsertContentAction): Likewise.
2008 (InsertTabAction): Likewise.
2009 (PasteAction): Likewise.
2010 (defaultActions): New static table.
2011 (createCaret): Implement.
2012 (getActions): Likewise.
2013 * javax/swing/text/JTextComponent.java
2014 (KeymapWrapper): New private class.
2015 (KeymapActionMap): Likewise.
2016 (DefaultKeymap): New class.
2017 (keymaps): New static table.
2018 (keymap): New field.
2019 (getKeymap): Implement.
2020 (removeKeymap): Likewise.
2021 (addKeymap): Likewise.
2022 (setKeymap): Likewise.
2023 (loadKeymap): Likewise.
2024 (getActions): Likewise.
2025 (margin): New field.
2026 (JTextComponent): Build and install default keymap.
2027 * javax/swing/text/TextAction.java
2028 (textAction): Call super properly.
2029 (getTextComponent): Implement.
2030 * javax/swing/text/Utilities.java
2031 (drawTabbedText): Adjust position by ascent.
2032
2033 2004-08-31 David Jee <djee@redhat.com>
2034
2035 PR AWT/17156
2036
2037 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2038 (setEnabled): Make it a native method.
2039 * java/awt/DefaultKeyboardFocusManager.java
2040 (postProcessKeyEvent): Only post event if the menu item
2041 is active.
2042 * java/awt/MenuItem.java:
2043 Private field 'enabled' should be true by default.
2044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2045 (setEnabled): New function.
2046
2047 2004-08-31 David Jee <djee@redhat.com>
2048
2049 PR AWT/17059
2050
2051 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2052 (nativeSetHelpMenu): New native method declaration.
2053 (addHelpMenu): Call nativeSetHelpMenu().
2054 (addMenu): Remove.
2055 * java/awt/MenuBar.java
2056 (setHelpMenu): Call addNotify() on the new help menu.
2057 (add): Call addNotify() on the new menu.
2058 (addNotify): Set the help menu if one exists.
2059 * java/awt/peer/MenuBarPeer.java
2060 (addMenu): Remove.
2061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2062 (nativeSetHelpMenu): New method.
2063
2064 2004-08-31 Graydon Hoare <graydon@redhat.com>
2065
2066 * Makefile.am: Add new files.
2067 * Makefile.in: Regenerate.
2068 * javax/swing/Box.java: Fix setting of layout in ctor.
2069 * javax/swing/JScrollPane.java: Scroll headers as well.
2070 * javax/swing/JTable.java: Reimplement.
2071 * javax/swing/JViewPort.java: Only add non-null children.
2072 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2073 * javax/swing/Timer.java: Fix stopping null waker.
2074 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2075 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2076 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2077 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2078 * javax/swing/table/DefaultTableModel.java: Clean up.
2079 * javax/swing/table/JTableHeader.java: Implement.
2080
2081 2004-08-31 Mark Wielaard <mark@klomp.org>
2082
2083 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2084 semi-colon.
2085
2086 2004-08-31 Mark Wielaard <mark@klomp.org>
2087
2088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2089 Declare variables at top of functions/block.
2090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2091
2092 2004-08-31 Mark Wielaard <mark@klomp.org>
2093
2094 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2095 first.
2096
2097 2004-08-31 Michael Koch <konqueror@gmx.de>
2098
2099 * javax/swing/text/PlainView.java
2100 (selectedColor): New field.
2101 (unselectedColor): Likewise.
2102 (font): Likewise.
2103 (updateMetrics): New method.
2104 (lineToRect): Likewise.
2105 (modelToView): Likewise.
2106 (drawSelectedText): Use color from JTextComponent ad draw with
2107 Utilities class.
2108 (drawUnselectedText): Likewise.
2109 (paint): Initialize helper fields.
2110 * javax/swing/text/View.java
2111 (getChildAllocation): New method.
2112 (getViewIndex): Likewise.
2113 (getToolTipText): Likewise.
2114
2115 2004-08-31 Michael Koch <konqueror@gmx.de>
2116
2117 * javax/swing/text/Utilities.java
2118 (drawTabbedText): Reimplemented.
2119 (getTabbedTextWidth): Likewise.
2120
2121 2004-08-31 Michael Koch <konqueror@gmx.de>
2122
2123 * javax/swing/plaf/basic/BasicTextUI.java
2124 (installDefaults): Install caret and highlighter.
2125 (modelToView): Use Bias.Forward when calling sibling.
2126 * javax/swing/text/AbstractDocument.java
2127 (ElementEdit): Implements DocumentEvent.ElementChange.
2128 (ElementEdit.ElementEdit): New method.
2129 (ElementEdit.getChildrenAdded): Likewise.
2130 (ElementEdit.getChildrenRemoved): Likewise.
2131 (ElementEdit.getElement): Likewise.
2132 (ElementEdit.getIndex): Likewise.
2133 * javax/swing/text/DefaultCaret.java
2134 (color): Removed.
2135 (textComponent): Renamed from parent, made private.
2136 (selectionVisible): Renamed from vis_sel, made private.
2137 (blinkRate): Renamed from blink, made private.
2138 (magicCaretPosition): Renamed from magic, made private.
2139 (visible): Renamed from vis, made private.
2140 (dot): Made private.
2141 (mark): Likewise.
2142 (deinstall): Remove as MouseMotionListener.
2143 (install): Initialize textComponent first. Add as MouseMotionListener.
2144 (paint): Reimplemented.
2145 * javax/swing/text/JTextComponent.java
2146 (setCaret): Deinstall old caret, install new one and fire property
2147 change after setting property.
2148 (setHighlighter): Deinstall old highlighter, install new one and fire
2149 property change after setting property.
2150 (setCaretColor): Fire property change after setting property.
2151 (setDisabledTextColor): Likewise.
2152 (setSelectedTextColor): Likewise.
2153 (setSelectionColor): Likewise.
2154 (modelToView): New method.
2155
2156 2004-08-31 Michael Koch <konqueror@gmx.de>
2157
2158 * javax/swing/text/AbstractDocument.java
2159 (getText): Simplified.
2160 * javax/swing/text/Segment.java
2161 (current): New field.
2162 (current): Reimplemented.
2163 (first): Likewise.
2164 (getIndex): Likewise.
2165 (last): Likewise.
2166 (next): Likewise.
2167 (previous): Likewise.
2168 (setIndex): Likewise.
2169
2170 2004-08-31 Michael Koch <konqueror@gmx.de>
2171
2172 * javax/swing/plaf/basic/BasicButtonUI.java
2173 (defaultTextIconGap): Made protected.
2174 (defaultTextShiftOffset): Likewise.
2175 (textShiftOffset): New field.
2176 (clearTextShiftOffset): New method.
2177 (getTextShiftOffset): Likewise.
2178 (setTextShiftOffset): Likewise.
2179
2180 2004-08-31 Michael Koch <konqueror@gmx.de>
2181
2182 * javax/swing/plaf/basic/BasicTextUI.java
2183 (installUI): Add eventHandler as property listener.
2184 (uninstallUI): remove eventHandler as propert listener.
2185 (installDefaults): Added comment.
2186 (installListeners): Likewise.
2187 (installKeyboardActions): Likewise.
2188 (uninstallDefaults): Likewise.
2189 (uninstallListeners): Likewise.
2190 (uninstallKeyboardActions): Likewise.
2191
2192 2004-08-31 Michael Koch <konqueror@gmx.de>
2193
2194 * javax/swing/text/AbstractDocument.java:
2195 Fixed some typos in comments.
2196 (insertString): Reimplemented.
2197 (remove): Likewise.
2198 (replace): New method.
2199 (children): Dont use fully qualified class name.
2200 (DefaultDocumentEvent.offset): Renamed from off.
2201 (DefaultDocumentEvent.length): Renamed from len.
2202 (DefaultDocumentEvent.type): New field.
2203 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2204 (DefaultDocumentEvent.getType): Implemented.
2205
2206 2004-08-31 Michael Koch <konqueror@gmx.de>
2207
2208 * javax/swing/plaf/basic/BasicTextUI.java
2209 (RootView.textComponent): Removed.
2210 (RootView.RootView): Don't initialize textComponent.
2211 (RootView.getViewFactory): New method.
2212 (EventHandler): New inner class.
2213 (rootView): Initialize at instance creation.
2214 (eventHandler): New field.
2215 (installUI): Don't create view hierarchy directly,
2216 call modelChanged() instead.
2217 (modelChanged): New method.
2218 * javax/swing/text/JTextComponent.java
2219 (setDocument): Fire property change event.
2220
2221 2004-08-31 Michael Koch <konqueror@gmx.de>
2222
2223 * javax/swing/plaf/basic/BasicTextUI.java
2224 (RootView.paint): Removed debug output.
2225 (paintSafely): Draw highlighter before text.
2226 (paintBackground): Use background color of text component.
2227 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2228 Reformatted.
2229
2230 2004-08-31 Michael Koch <konqueror@gmx.de>
2231
2232 * javax/swing/plaf/basic/BasicToolBarUI.java
2233 (BasicToolBarUI): Fixed arguments for constructor.
2234 (createUI): Fixed creation of object.
2235
2236 2004-08-31 Michael Koch <konqueror@gmx.de>
2237
2238 * javax/swing/DefaultListSelectionModel.java
2239 (fireValueChanged): Renamed from fireSelectionValueChanged,
2240 made protected.
2241
2242 2004-08-31 Michael Koch <konqueror@gmx.de>
2243
2244 * javax/swing/text/TabSet.java
2245 (TabSet): Implements java.io.Serializable.
2246 * javax/swing/text/TabStop.java
2247 (TabStop): Implements java.io.Serializable.
2248 (TabStop): Made public.
2249
2250 2004-08-31 Michael Koch <konqueror@gmx.de>
2251
2252 * javax/swing/JComponent.java
2253 (setUI): Fire PropertyChange.
2254 * javax/swing/JLabel.java
2255 (text): Renamed from labelText.
2256 (horizontalAlignment): New default vlaue.
2257 (icon): Renamed from activeIcon.
2258 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2259 (displayedMnemonicIndex): Renamed from underlineChar.
2260 (setDisplayedMnemonic): Reimplemented.
2261 * javax/swing/JRadioButton.java
2262 (JRadioButton): New constructors.
2263 * javax/swing/JTextField.java
2264 (JTextField): Throw exception if colums < 0, initialitialz
2265 this.columns directly and initialize document with text conditionally.
2266
2267 2004-08-31 Michael Koch <konqueror@gmx.de>
2268
2269 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2270 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2271 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2272 * javax/swing/text/FieldView.java
2273 (paint): Just call super method for now.
2274 * Makefile.am: Added new files.
2275 * Makefile.in: Regenerated.
2276
2277 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2278
2279 * javax/swing/AbstractSpinnerModel.java,
2280 javax/swing/JSpinner.java,
2281 javax/swing/SpinnerNumberModel.java,
2282 javax/swing/plaf/basic/BasicSpinnerUI.java:
2283 New files.
2284 * javax/swing/plaf/basic/BasicLookAndFeel.java
2285 (initClassDefaults): Added defaults for BasicSpinnerUI.
2286
2287 2004-08-31 Michael Koch <konqueror@gmx.de>
2288
2289 * Makefile.am: Added new files.
2290 * Makefile.in: Regenerated.
2291
2292 2004-08-31 Michael Koch <konqueror@gmx.de>
2293
2294 * javax/swing/TransferHandler.java,
2295 javax/swing/plaf/basic/ComboPopup.java: New files
2296 * Makefile.am: Added javax/swing/TransferHandler.java and
2297 javax/swing/plaf/basic/ComboPopup.java
2298 * Makefile.in: Regenerated.
2299
2300 2004-08-31 Roman Kennke <roman@ontographics.com>
2301
2302 * javax/swing/text/Utilities.java: New file.
2303
2304 2004-08-31 Michael Koch <konqueror@gmx.de>
2305
2306 * Makefile.am: Added javax/swing/text/Utilities.java.
2307 * Makefile.in: Regenerated.
2308
2309 2004-08-31 Graydon Hoare <graydon@redhat.com>
2310
2311 * javax/swing/text/SimpleAttributeSet.java: New file.
2312 * javax/swing/text/StyleConstants.java: New file.
2313 * javax/swing/text/StyleContext.java: New file.
2314 * javax/swing/text/TabSet.java: New file.
2315 * javax/swing/text/TabStop.java: New file.
2316 * javax/swing/text/AbstactDocument.java:
2317 (AbstractElement): Implement attribute support.
2318 * javax/swing/text/AttributeSet.java
2319 (NameAttribute): New static field.
2320 (ResolveAttribute): New static field.
2321 * Makefile.am: Update for new files.
2322 * Makefile.in: Regenerate.
2323
2324 2004-08-31 Craig Black <craig.black@aonix.com>
2325
2326 * gnu/java/awt/peer/gtk/GdkGraphics.java
2327 (drawImage): Add support for scaling pixmaps.
2328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2329 (copyAndScalePixmap): New native method.
2330
2331 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2332
2333 PR AWT/16121
2334 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2335 type-punning compiler warnings using unions.
2336 (throw): Replace bzero with memset.
2337
2338 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2339 Thomas Fitzsimmons <fitzsim@redhat.com>
2340
2341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2342 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2343 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2345 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2346
2347 2004-08-31 Mark Wielaard <mark@klomp.org>
2348
2349 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2350 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2351 and stdlib.h, not gtkpeer.h.
2352 (*vm): New static variable.
2353 (areaPreparedID): Make static.
2354 (areaUpdatedID): Likewise.
2355 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2356 (area_prepared): Likewise.
2357 (area_updated): Likewise.
2358 (closed): Likewise.
2359 (initStaticState): Initialize *vm javaVM.
2360 (pumpBytes): Use given env, not global gdk_env.
2361
2362 2004-08-31 Mark Wielaard <mark@klomp.org>
2363
2364 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2365 comments.
2366
2367 2004-08-31 Sven de Marothy <sven@physto.se>
2368
2369 * java/awt/geom/CubicCurve2D.java: Reindent.
2370 (contains): Implemented.
2371 (intersects): Implemented.
2372 * java/awt/geom/QuadCurve2D.java: Likewise.
2373 * java/awt/geom/GeneralPath.java: Reindent and document.
2374 Fully (re)implemented using separate xpoints and ypoints
2375 float[] coords.
2376 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2377
2378 2004-08-31 Michael Koch <konqueror@gmx.de>
2379
2380 * javax/swing/JMenuItem.java
2381 (getMenuDragMouseListeners): New method.
2382 (getMenuKeyListeners): Likewise.
2383
2384 2004-08-31 Michael Koch <konqueror@gmx.de>
2385
2386 * javax/swing/AbstractButton.java
2387 (model): Made protected.
2388 (actionListener): Likewise.
2389 (changeListener): Likewise.
2390 (itemListener): Likewise.
2391 (multiClickThreshhold): New field.
2392 (getActionListeners): New method.
2393 (getChangeListeners): Likewise.
2394 (getItemListeners): Likewise.
2395 (fireItemStateChanged): Simplified implementation.
2396 (fireActionPerformed): Likewise.
2397 (fireStateChanged): Likewise.
2398 (getMultiClickThreshhold): New method.
2399 (setMultiClickThreshhold): Likewise.
2400
2401 2004-08-31 Tom Tromey <tromey@redhat.com>
2402
2403 * java/awt/image/Kernel.java (clone): Use super.clone().
2404
2405 2004-08-31 David Jee <djee@redhat.com>
2406
2407 PR AWT/16682
2408 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2409 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2410 (nativeSetIconImageFromData): New native method declaration.
2411 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2412 * gnu/java/awt/peer/gtk/GtkImage.java
2413 (getPixelCache): New method.
2414 (getColorModel): New method.
2415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2416 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2417 (free_pixbuf_data): New helper function.
2418 (nativeSetIconImageFromData): New function.
2419
2420 2004-08-31 Graydon Hoare <graydon@redhat.com>
2421
2422 PR SWING/16576
2423 * javax/swing/JLayeredPane.java
2424 (setLayer): Permit changing layer after addition.
2425 (setPosition): Permit over-length positions.
2426 (layerToRange): Compare intValue()s.
2427 * javax/swing/Box.java (createHorizontalBox): Implement.
2428 (createRigidArea): Likewise.
2429 (createVerticalBox): Likewise.
2430
2431 2004-08-31 Kim Ho <kho@redhat.com>
2432
2433 * java/awt/Component.java:
2434 (processMouseEvent): Consume event after
2435 listeners process it.
2436 (processMouseMotionEvent): ditto.
2437 (processMouseWheelEvent): ditto.
2438 * java/awt/Container.java:
2439 (acquireComponentForMouseEvent):
2440 Do not dispatch to events that have been
2441 removed from the Container.
2442 (handleEvent): Consume the MouseEvents.
2443 * javax/swing/RepaintManager.java:
2444 (paintDirtyRegions): Do not add to list of
2445 damaged areas if the component has no root.
2446
2447 2004-08-31 Michael Koch <konqueror@gmx.de>
2448
2449 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2450
2451 2004-08-31 Mark Wielaard <mark@klomp.org>
2452
2453 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2454 null when a MissingResourceException is thrown. Should never happen.
2455
2456 2004-08-31 Mark Wielaard <mark@klomp.org>
2457
2458 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2459 when argument is null.
2460
2461 2004-08-31 Mark Wielaard <mark@klomp.org>
2462
2463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2464 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2465 Define hid at start of function.
2466 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2467 Likewise.
2468
2469 2004-08-31 Mark Wielaard <mark@klomp.org>
2470
2471 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2472 * javax/swing/JButton.java: Reindent.
2473 * javax/swing/JCheckBox.java: Reindent.
2474
2475 2004-08-31 Mark Wielaard <mark@klomp.org>
2476
2477 * Makefile.am (gtk_c_source_files): Added
2478 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2479 (gtk_awt_peer_sources): Added
2480 gnu/java/awt/peer/gtk/GThreadMutex.java and
2481 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2482 * Makefile.in: Regenerated.
2483
2484 2004-08-31 Archie Cobbs <archie@dellroad.org>
2485
2486 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2487
2488 2004-08-31 Steven Augart <augart@watson.ibm.com>
2489
2490 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2491 Added jfieldID, jmethodID.
2492
2493 2004-08-31 Mark Wielaard <mark@klomp.org>
2494
2495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2496 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2497 gdk_env before calling any gdk or gtk function.
2498
2499 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2500 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2501 (run): Set gtkInitCalled.
2502
2503 2004-08-31 Steven Augart <augart@watson.ibm.com>
2504
2505 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2506 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2507
2508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2509 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2510 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2511 init_glib_threads.
2512 (init_glib_threads): New function.
2513
2514 2004-08-31 Mark Wielaard <mark@klomp.org>
2515
2516 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2517 PRIORITY when not already defined in header file.
2518
2519 2004-08-31 Mark Wielaard <mark@klomp.org>
2520
2521 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2522 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2523
2524 2004-08-31 Steven Augart <augart@watson.ibm.com>
2525
2526 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2527 Implemented missing functions for GTK2.
2528 Added error handling.
2529 Renamed static functions out of the g_ namespace.
2530 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2531 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2532 Rewrote global-reference code.
2533 Eliminated cascading errors.
2534 (mutex_trylock_jni_impl) Fully implemented.
2535 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2536 resolution.
2537 (setup_cache) New function.
2538 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2539 bug where they were not unlocking the GMutex associated with the
2540 condition variable during the wait on that condition variable.
2541
2542 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2543 native/jni/gtk-peer/gthread-jni.c,
2544 native/jni/gtk-peer/gthread-jni.h
2545 (g_thread_jni_functions): Renamed to ...
2546 (portable_native_sync_jni_functions): this name.
2547 (gdk_vm): Renamed to...
2548 (the_vm): this name.
2549
2550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2551 (gdk_vm): Removed duplicate definition.
2552 (gtkInit): Removed stray message to stdout.
2553 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2554 (gtkInit): Fix a const assignment bug.
2555 (gtkInit): Simplified code.
2556
2557 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2558 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2559 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2560 gnu/java/awt/peer/gtk/GThreadMutex.java:
2561 New files.
2562
2563 2004-08-31 Mark Wielaard <mark@klomp.org>
2564
2565 * javax/swing/Box.java: Put FIXME comment above class declaration.
2566 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2567 * javax/swing/JCheckBox.java: Likewise.
2568 * javax/swing/JDialog.java: Likewise.
2569 * javax/swing/JRadioButton.java: Likewise.
2570 * javax/swing/JToggleButton.java: Likewise.
2571 * javax/swing/UIManager.java: Likewise.
2572 * javax/swing/border/TitledBorder.java: Likewise.
2573 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2574 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2575 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2576 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2577 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2578 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2579 * javax/swing/text/JTextComponent.java: Likewise.
2580
2581 2004-08-31 David Jee <djee@redhat.com>
2582
2583 PR AWT/16682
2584 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2585 (setIconImage): Add a FIXME for unhandled cases.
2586
2587 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2588
2589 PR AWT/16040
2590 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2591 getModifiers. Replace old button masks with new ones.
2592 * gnu/awt/xlib/XEventLoop.java: Likewise.
2593 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2594 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2595 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2596 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2597 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2598 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2599 * java/awt/Component.java: Replace old modifier masks with new
2600 ones.
2601 * java/awt/Container.java: Call getModifiersEx, not
2602 getModifiers.
2603 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2604 old modifier masks.
2605 * javax/swing/JMenuItem.java: Replace old button masks with new
2606 ones.
2607 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2608 getModifiers.
2609 * javax/swing/SwingUtilities.java: Likewise.
2610 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2611 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2613 mask macros with new ones.
2614 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2615 macros with new ones representing new masks.
2616
2617 2004-08-31 Craig Black <craig.black@aonix.com>
2618
2619 * gnu/java/awt/peer/gtk/GdkGraphics.java
2620 (drawRoundRect): Implemented.
2621 (fillRoundRect): Implemented.
2622 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2623 (drawRoundRect): Reimplemented to match GdkGraphics.
2624 (fillRoundRect): Reimplemented to match GdkGraphics.
2625
2626 2004-08-31 Mark Wielaard <mark@klomp.org>
2627
2628 * Makefile.in: Regenerated.
2629
2630 2004-08-31 Michael Koch <konqueror@gmx.de>
2631
2632 * gnu/java/awt/EmbeddedWindow.java
2633 (addNotify): Use AccessController to allow execution of privileged
2634 code.
2635
2636 2004-08-31 Michael Koch <konqueror@gmx.de>
2637
2638 * gnu/java/awt/EmbeddedWindow.java
2639 (static): Removed.
2640 (addNotify): Set peer via reflection.
2641 (setWindowPeer): Removed.
2642 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2643 * Makefile.am (nat_source_files):
2644 Removed gnu/java/awt/natEmbeddedWindow.cc.
2645
2646 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2647
2648 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2649 and gnu/java/security/action/SetAccessibleAction.java.
2650
2651 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2652
2653 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2654 Renamed from 'setName'. New 2-argument form with default value.
2655 (run): Pass default 'value' parameter to System.getProperty().
2656 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2657 typos.
2658
2659 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2660
2661 * gnu/java/security/action/GetPropertyAction.java: New class.
2662 * gnu/java/security/action/SetAccessibleAction.java: New class.
2663
2664 2004-08-31 David Jee <djee@redhat.com>
2665
2666 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2667 (setIconImage): Check if image is null.
2668
2669 2004-08-31 David Jee <djee@redhat.com>
2670
2671 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2672 (create): Set the icon image.
2673 (nativeSetIconImage): New native method declaration.
2674 (setIconImage): Implement.
2675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2676 (nativeSetIconImage): New function.
2677
2678 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2679
2680 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2681 (filenameFilterCallback): Declare local variable accepted before use.
2682
2683 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2684
2685 * gnu/java/awt/ComponentDataBlitOp.java:
2686 Cleaned up imports.
2687
2688 2004-08-31 Tom Tromey <tromey@redhat.com>
2689
2690 * gnu/java/awt/peer/GLightweightPeer.java,
2691 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2692 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2693 javax/swing/JScrollPane.java: Removed
2694 redundant imports.
2695
2696 2004-08-31 David Jee <djee@redhat.com>
2697
2698 * java/awt/DefaultKeyboardFocusManager.java
2699 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2700 event. Fix shift modifier checking.
2701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2702 (accel_attach): Remove.
2703 (setupAccelGroup): Remove calls to accel_attach.
2704
2705 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2706
2707 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2708 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2709
2710 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2711 GtkArgList.java.
2712 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2713 * Makefile.in: Regenerate.
2714 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2715 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2716 (create(String)): New method.
2717 (create): Call new create method.
2718 (getArgs): Remove method.
2719 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2720 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2721 (nativeCreate): Rename to create.
2722 (gtkSetLabel): Rename to gtkButtonSetLabel.
2723 (gtkToggleButtonSetActive): New method.
2724 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2725 (setState): Replace set call with gtkToggleButtonSetActive.
2726 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2727 (getArgs): Remove method.
2728 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2729 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2730 (gtkWidgetSetSensitive): New method.
2731 (gtkWidgetSetParent): Likewise.
2732 (GtkComponentPeer): Call setParent, setComponentBounds and
2733 setVisibleAndEnabled.
2734 (setParent): New method.
2735 (setComponentBounds): New method.
2736 (setVisibleAndEnabled): New method.
2737 (setEnabled): Call gtkWidgetSetSensitive.
2738 (getArgs): Remove method.
2739 Remove all set methods.
2740 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2741 gtkWindowSetModal, setTitle and setResizable.
2742 (getArgs): Remove method.
2743 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2744 (setComponentBounds): New method.
2745 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2746 Replace set call with gtkWindowSetResizable.
2747 (getArgs): Remove method.
2748 (create): Call setTitle and setResizable.
2749 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2750 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2751 (gtkWindowSetTitle): New method.
2752 (gtkWindowSetResizable): New method.
2753 (gtkWindowSetModal): New method.
2754 (setParent): New method.
2755 (setVisibleAndEnabled): New method.
2756 (getArgs): Remove method.
2757 (setTitle): Call gtkWindowSetTitle.
2758 (setResizable): Call gtkWindowSetResizable.
2759 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2760 and off locking instrumentation.
2761
2762 2004-08-31 Kim Ho <kho@redhat.com>
2763
2764 * Makefile.am: Add new file.
2765 * Makefile.in: Regenerate.
2766 * gcj/Makefile.in: Regenerate
2767 * include/Makefile.in:
2768 * java/awt/Container.java:
2769 (acquireComponentForMouseEvent): Respect
2770 the event mask when looking for candidate.
2771 * javax/swing/JComponent.java:
2772 Remove toolTip field.
2773 (createToolTip): Create a tooltip on demand.
2774 (setToolTipText): Register with the ToolTipManager.
2775 (getToolTipText(MouseEvent)): Return getToolTipText().
2776 * javax/swing/JToolTip.java: Implement.
2777 * javax/swing/Timer.java: Jalopy.
2778 (restart): Call stop, then start.
2779 (stop): Interrupt the timer rather than wait for
2780 the timer to come to a stop naturally.
2781 * javax/swing/ToolTipManager.java: Implement.
2782 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2783 Change ToolTip.background color.
2784 * javax/swing/plaf/basic/BasicToolTipUI.java:
2785 Implement.
2786 * testsuite/Makefile.in: Regenerate
2787
2788 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2789
2790 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2791 constructor param comments.
2792
2793 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2794
2795 * java/awt/Component.java: Document AWT 1.0 event handler
2796 methods.
2797
2798 2004-08-31 Roman Kennke <roman@ontographics.com>
2799
2800 * javax/swing/Box.java:
2801 (createGlue): Implemented
2802 (createHorizontalGlue): Implemented
2803 (createHorizontalStrut): Implemented
2804 (createVerticalGlue): Implemented
2805 (createVerticalStrut): Implemented
2806
2807 2004-08-31 David Jee <djee@redhat.com>
2808
2809 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2810 (GtkChoicePeer): Do not automatically select first item.
2811 (getHistory): Remove.
2812 (nativeGetSelected): New method.
2813 (nativeRemoveAll): New method.
2814 (add): Use nativeGetSelected() instead of getHistory().
2815 (remove): Likewise.
2816 (removeAll): Call nativeRemoveAll().
2817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2818 (create): Migrate to GtkComboBox.
2819 (append): Likewise.
2820 (nativeAdd): Likewise.
2821 (nativeRemove): Likewise.
2822 (select): Likewise.
2823 (nativeRemoveAll): New method.
2824 (nativeGetSelected): New method.
2825 (selection_changed): New method.
2826 (getHistory): Remove.
2827 (item_activate): Remove.
2828 (item_removed): Remove.
2829 (connect_choice_item_selectable_hook): Remove.
2830
2831 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2832
2833 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2834 variable in setEditable call.
2835
2836 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2837 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2838 (gtkWidgetSetBackground): New method.
2839 (gtkWidgetSetForeground): Likewise.
2840 (create): Set peer's editable state based on awtComponent's.
2841
2842 * java/awt/Button.java (Button()): Use empty string rather than
2843 null in no-label constructor.
2844
2845 2004-08-31 Roman Kennke <roman@ontographics.com>
2846
2847 * javax/swing/BoxLayout.java: Reimplement.
2848
2849 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2850
2851 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2852 gnu_java_awt_peer_gtk_GdkGraphics.c
2853 (initState(GtkComponentPeer)): Don't return array of colour
2854 values.
2855 (GdkGraphics(int,int)): Set default font to size 12.
2856 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2857 component's foreground colour.
2858 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2859 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2860 (initState(GtkComponentPeer)): Don't return array of colour
2861 values.
2862 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2863 colours to component's colours.
2864 (current_colors_of_widget): Remove function.
2865 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2866 Return a new graphics object.
2867 * java/awt/Font.java (toString): Fix format.
2868 * java/awt/Graphics.java (toString): Likewise.
2869
2870 2004-08-31 Craig Black <craig.black@aonix.com>
2871
2872 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2873 (addTearOff): New function.
2874 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2875 New native method.
2876 (init): Call addTearOff() when menu.isTearOff().
2877
2878 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2879
2880 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2881 Default implementation.
2882 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2883 Implement using GdkPixbufDecoder.
2884
2885 2004-08-31 David Jee <djee@redhat.com>
2886
2887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2888 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2889 setting the size of GtkFileDialogPeers.
2890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2891 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2892 use their default sizes rather than their natural requisitions.
2893
2894 2004-08-31 Michael Koch <konqueror@gmx.de>
2895
2896 * javax/swing/JFormattedTextField.java
2897 (JFormattedTextField): Implemented.
2898 * javax/swing/text/DefaultEditorKit.java
2899 (BeepAction): New inner class.
2900 * javax/swing/text/Segment.java
2901 (partialReturn): New field.
2902 (setPartialReturn): New method.
2903 (isPartialReturn): Likewise.
2904 * javax/swing/text/View.java
2905 (createFragment): Fixed typo.
2906 (getStartOffset): New method.
2907 (getEndOffset): Likewise.
2908
2909 2004-08-31 Michael Koch <konqueror@gmx.de>
2910
2911 * javax/swing/table/DefaultTableColumnModel.java
2912 (serialVersionUID): Made private.
2913 (listenerList): Initialize.
2914 (changeEvent): Initialize.
2915 * javax/swing/table/JTableHeader.java
2916 (JTableHeader): New constructors.
2917 (createDefaultColumnModel): New method.
2918 * javax/swing/table/TableColumn.java
2919 (setHeaderRenderer): Simplified code.
2920 (setCellRenderer): Likewise.
2921 (setWidth): Likewise.
2922
2923 2004-08-31 Tom Tromey <tromey@redhat.com>
2924
2925 * java/text/AttributedString.java (AttributedString): Use
2926 ArrayList to build array of attribute ranges. Don't use
2927 `attribs' before it is set.
2928
2929 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2930
2931 * HACKING: Remove reference to special automake. No longer needed.
2932
2933 2004-08-30 Tom Tromey <tromey@redhat.com>
2934
2935 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2936 return result from `add'.
2937
2938 2004-08-30 Tom Tromey <tromey@redhat.com>
2939
2940 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2941
2942 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2943
2944 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2945
2946 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2947
2948 * java/io/File.java File(String,String): Fixed handling of empty
2949 path.
2950
2951 2004-08-30 Casey Marshall <csm@gnu.org>
2952
2953 Author e-mail updated for all files.
2954 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2955 instance of OID.
2956 (compareTo): Use `equals'.
2957 * gnu/java/security/der/BitString.java (equals): Test if the
2958 argument is an instance of BitString.
2959 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2960 class final. Made fields private.
2961 (<init>): New constructor.
2962 (skip): New method.
2963 (makeString): Made static; don't use NIO.
2964 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2965 * gnu/java/security/der/DERWriter.java: Fixed imports.
2966 (writeString): Don't use NIO.
2967 (toIso88591, toUtf16Be, toUtf8): New methods.
2968 * gnu/java/security/der/DERValue.java: Formatting changes only.
2969 * gnu/java/security/der/DER.java: Likewise.
2970
2971 2004-08-30 Tom Tromey <tromey@redhat.com>
2972
2973 * java/nio/CharBuffer.java (put): Fix typo.
2974 * java/nio/DoubleBuffer.java (put): Fix typo.
2975 * java/nio/FloatBuffer.java (put): Fix typo.
2976 * java/nio/IntBuffer.java (put): Fix typo.
2977 * java/nio/LongBuffer.java (put): Fix typo.
2978 * java/nio/ShortBuffer.java (put): Fix typo.
2979
2980 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2981
2982 * java/nio/ByteBuffer.java (put): Fix typo.
2983
2984 2004-08-30 Casey Marshall <csm@gnu.org>
2985
2986 * java/security/DummyKeyPairGenerator.java (clone): Removed
2987 useless instanceof check.
2988 * java/security/DummyMessageDigest.java (clone): Likewise.
2989 * java/security/DummySignature.java (clone): Likewise.
2990 * java/security/MessageDigest.java (clone): Remove useless
2991 instanceof check.
2992 * java/security/MessageDigestSpi.java (clone): Likewise.
2993 * java/security/Signature.java (clone): Provide meaningful
2994 implementation.
2995 * java/security/SignatureSpi.java (clone): Likewise.
2996
2997 2004-08-29 Mark Wielaard <mark@klomp.org>
2998
2999 * java/util/Arrays.java
3000 (sort(byte[], int, int)): Check fromIndex < 0.
3001 (sort(char[], int, int)): Likewise.
3002 (sort(short[], int, int)): Likewise.
3003 (sort(int[], int, int)): Likewise.
3004 (sort(long[], int, int)): Likewise.
3005 (sort(float[], int, int)): Likewise.
3006 (sort(double[], int, int)): Likewise.
3007 (sort(Object[], int, int, Comparator)): Likewise.
3008 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3009 (qsort(char[], int, int)): Likewise.
3010 (qsort(short[], int, int)): Likewise.
3011 (qsort(int[], int, int)): Likewise.
3012 (qsort(long[], int, int)): Likewise.
3013 (qsort(float[], int, int)): Likewise.
3014 (qsort(double[], int, int)): Likewise.
3015
3016 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3017
3018 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3019 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3020 java/util/ArrayList.java, java/util/Arrays.java,
3021 java/util/BitSet.java, java/util/Calendar.java,
3022 java/util/Collection.java, java/util/ListIterator.java,
3023 java/util/Map.java, java/util/SortedSet.java:
3024 Added additional exceptions to documentation, along
3025 with some additions and corrections.
3026
3027 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3028
3029 * configure.ac: Handle --enable-gc-debug.
3030 * configure: Regenerate.
3031 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3032 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3033 Rearrange include file order.
3034 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3035 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3036 (disable_gc_mutex): Delete along with all references.
3037 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3038 adjust for debug header size.
3039 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3040 debug case.
3041 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3042 (gcj_describe_type_fn): New.
3043 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3044 Register gcj_describe_type_fn.
3045 * include/boehm-gc.h:
3046 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3047 Don't define, but declare, for debug case.
3048 * java/lang/natObject.cc:
3049 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3050
3051 2004-08-26 Mark Wielaard <mark@klomp.org>
3052
3053 Fixes PR libgcj/17002:
3054 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3055 a TimeZoneId string and then try to convert that to a TimeZone with
3056 getDefaultSystemTimeZone(String).
3057 (timezones0): Changed type from Hashtable to HashMap.
3058 (timezones): Create HashMap, not Hashtable.
3059 (getDefaultTimeZone): New method, rewritten from CNI version.
3060 (readTimeZoneFile): New method.
3061 (readtzFile): Likewise.
3062 (skipFully): Likewise.
3063 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3064 getDefaultTimeZoneId and rewritten.
3065 (getDefaultTimeZoneId): Rewritten in java.
3066
3067 2004-08-25 David Daney <daney@avtrex.com>
3068
3069 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3070 * Makefile.in: Regenerated.
3071
3072 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3073
3074 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3075 only if jvmpi is enabled.
3076 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3077 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3078 (_Jv_AllocString): Likewise.
3079 (_Jv_AllocPtrFreeObject): Likewise.
3080
3081 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3082
3083 * defineclass.cc: Include <stdio.h>.
3084 * java/lang/natClassLoader.cc: Include <stdio.h>.
3085
3086 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3087 Michael Koch <konqueror@gmx.de>
3088
3089 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3090 * Makefile.in: Regenerated.
3091
3092 2004-08-20 Michael Koch <konqueror@gmx.de>
3093
3094 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3095 AC_COMPILE_IFELSE macros.
3096
3097 2004-08-20 Michael Koch <konqueror@gmx.de>
3098
3099 * configure.in: Renamed to configure.ac.
3100 * configure.ac: New file.
3101 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3102 include/config.h.in, testsuite/Makefile.in: Regenerated.
3103
3104 2004-08-20 Michael Koch <konqueror@gmx.de>
3105
3106 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3107 * aclocal.m4, configure: Regenerated.
3108
3109 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3110 Michael Koch <konqueror@gmx.de>
3111
3112 * configure.in, Makefile.am: Ported to automake 1.9.
3113 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3114 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3115 Regenerated.
3116
3117 2004-08-19 Tom Tromey <tromey@redhat.com>
3118
3119 * java/net/DatagramSocket.java: Fixed typo.
3120
3121 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3122
3123 PR libgcj/17081
3124 * java/net/URI.java (string): New field. Make all other fields
3125 transient.
3126 (readObject): Implemented.
3127 (writeObject): Implemented.
3128 (URI): Set 'string'.
3129
3130 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3131
3132 PR libgcj/17079
3133 * java/util/logging/Handler.java (isLoggable): Accept record if its
3134 log level equals the threshold level. From Robin Green.
3135
3136 2004-08-18 David Daney <ddaney@avtrex.com>
3137
3138 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3139 instead of sigwait.
3140
3141 2004-08-17 Michael Koch <konqueror@gmx.de>
3142
3143 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3144 * Makefile.in: Regenerated.
3145
3146 2004-08-16 Tom Tromey <tromey@redhat.com>
3147
3148 PR java/8473:
3149 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3150
3151 2004-08-16 Michael Koch <konqueror@gmx.de>
3152
3153 * Makefile.am
3154 (math_c_files): Renamed from c_files.
3155 (math_c_source_files): Renamed from c_source_files.
3156 * Makefile.in,
3157 gcj/Makefile.in,
3158 include/Makefile.in,
3159 testsuite/Makefile.in: Regenerated.
3160
3161 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3162
3163 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3164 to avoid autoconf warning.
3165 * configure: Rebuilt.
3166
3167 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3168
3169 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3170 localhostAddress to loopbackAddress.
3171 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3172
3173 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3174
3175 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3176 boehm-gc's include dirs.
3177 * configure: Rebuilt.
3178 * include/boehm-gc.h: Include gc_config.h.
3179
3180 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3181
3182 * java/net/InetAddress.java (loopbackAddress): Renamed from
3183 localhostAddress.
3184 (getByName): Return loopback address for null hostname, without
3185 security check. Use lookup(), not getAllByName.
3186 (getAllByName): Return loopback address for null hostname, without
3187 security check.
3188 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3189 check here.
3190
3191 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3192
3193 PR libgcj/17020
3194 Reported by Robin Green.
3195 * defineclass.cc (handleField): Don't throw exception on unrecognised
3196 modifier. Add FIXME comments for spec compliance.
3197 (handleMethod): Likewise.
3198
3199 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3200
3201 PR libgcj/16662
3202 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3203 (Almost everywhere): add LOG calls, fix, add comments.
3204 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3205 Add explicit check for LOCKED bit in slow case (PR 16662).
3206 (_Jv_MonitorExit): Add casts in debug-only code.
3207 Always release LOCKED bit before throwing exception.
3208 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3209 isn't. Handle easy cases without lock acquisition.
3210 (Object::wait): Use NotifyAll for lock inflation.
3211
3212 2004-08-12 David Daney <ddaney@avtrex.com>
3213
3214 * testsuite/libjava.lang/Process_1.java: New test.
3215 * testsuite/libjava.lang/Process_2.java: New test.
3216 * testsuite/libjava.lang/Process_3.java: New test.
3217 * testsuite/libjava.lang/Process_4.java: New test.
3218 * testsuite/libjava.lang/Process_5.java: New test.
3219 * testsuite/libjava.lang/Process_6.java: New test.
3220 * testsuite/libjava.lang/Process_1.out: Expected result.
3221 * testsuite/libjava.lang/Process_2.out: Expected result.
3222 * testsuite/libjava.lang/Process_3.out: Expected result.
3223 * testsuite/libjava.lang/Process_4.out: Expected result.
3224 * testsuite/libjava.lang/Process_5.out: Expected result.
3225 * testsuite/libjava.lang/Process_6.out: Expected result.
3226
3227 2004-08-12 David Daney <ddaney@avtrex.com>
3228
3229 PR libgcj/11801
3230 * java/lang/PosixProcess.java: Rewrote.
3231 * java/lang/natPosixProcess.cc: Rewrote.
3232 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3233 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3234 * posix-threads.cc (block_sigchld) New function.
3235 (_Jv_ThreadRegister) Use it.
3236 (_Jv_ThreadStart) Use it.
3237 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3238 * Makefile.am: ... to specify extra native headers.
3239 * configure: Regenerated.
3240 * include/config.h: Regenerated.
3241 * Makefile.in: Regenerated.
3242 * gcj/Makefile.in: Regenerated.
3243 * include/Makefile.in: Regenerated.
3244 * testsuite/Makefile.in: Regenerated.
3245
3246 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3247
3248 PR tree-optimization/16867
3249 * testsuite/libjava.lang/PR16867.java: New test.
3250
3251 2004-08-09 Per Bothner <per@bothner.com>
3252
3253 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3254 with private fields and access methods.
3255 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3256 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3257 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3258 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3259 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3260 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3261 * jni.cc: Likewise.
3262 * resolve.cc: Likewise.
3263 * gcj/field.h: Likewise.
3264 * include/jvm.h: Likewise.
3265 * java/lang/Class.h: Likewise.
3266 * java/lang/natClass.cc: Likwise.
3267 * java/lang/natClassLoader.cc: Likewise
3268 * java/lang/reflect/natMethod.cc: Likewise
3269 * verify.cc: Likewise.
3270 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3271 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3272
3273 2004-08-10 Andrew Haley <aph@redhat.com>
3274
3275 * testsuite/libjava.lang/err14.java: New file.
3276 * testsuite/libjava.lang/err14.out: New file.
3277
3278 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3279
3280 * Makefile.am: Fix missing rename from x_nat_headers to
3281 xlib_nat_headers.
3282 * Makefile.in: Regenerated.
3283
3284 2004-08-04 Andrew Haley <aph@redhat.com>
3285
3286 * java/security/BasicPermission.java: Don't check wildcards.
3287
3288 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3289 Michael Koch <konqueror@gmx.de>
3290
3291 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3292 * configure.in: Replaced all usages of AC_LINK_FILES by
3293 AC_CONFIG_LINKS.
3294 * aclocal.m4,
3295 configure: Regenerated.
3296
3297 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3298 Michael Koch <konqueror@gmx.de>
3299
3300 * acconfig.h: Removed.
3301 * Makefile.am: Rename variables for xlib peer to include xlib and
3302 gtk_c_headers to gtk_jni_headers.
3303 * Makefile.in: Regenerated.
3304
3305 2004-08-04 Andrew Haley <aph@redhat.com>
3306
3307 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3308 debugging.
3309
3310 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3311
3312 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3313 Replace most top level 'dnl' comments with '#' comments, conforming
3314 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3315 help strings.
3316 * configure: Rebuilt.
3317
3318 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3319
3320 * acinclude.m4: Include no-executables.m4.
3321 * aclocal.m4: Rebuild.
3322 * configure.in: Convert to the autoconf 2.59 version of
3323 of the no-executables hack, and also of the nonstandard CXX
3324 hack and the multilibbed CC and CXX hack. Change prerequisite
3325 to autoconf 2.59.
3326 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3327 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3328 testsuite/Makefile.in: Regenerate.
3329
3330 2004-08-03 Tom Tromey <tromey@redhat.com>
3331
3332 * jni.cc: Reindented.
3333
3334 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3335
3336 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3337
3338 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3339
3340 * testsuite/libjava.compile/PR16701.java: New test.
3341
3342 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3343
3344 * java/util/Collection.java, java/util/List.java,
3345 java/util/Map.java, java/util/Set.java,
3346 java/util/SortedMap.java, java/util/SortedSet.java:
3347 Added additional exceptions to documentation.
3348
3349 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3350
3351 PR libgcj/16814
3352 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3353 * configure. Regenerate.
3354 * include/win32.h: Explicitly include winsock2.h
3355 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3356 Winsock api.
3357
3358 2004-07-30 Michael Koch <konqueror@gmx.de>
3359
3360 * java/util/zip/GZIPInputStream.java
3361 (GZIPInputStream): Increase buffer size to 4k.
3362 * java/util/zip/GZIPOutputStream.java
3363 (GZIPOutputStream): Likewise.
3364 * java/util/zip/Inflater.java
3365 (setInput): Merged formating with GNU classpath.
3366 * java/util/zip/InflaterInputStream.java
3367 (InflaterInputStream): Increase buffer size to 4k.
3368 (fill): Throw exception if stream ends early.
3369 (read): Merged endless-loop with GNU classpath.
3370 (skip): Increase buffer size to 2k.
3371
3372 2004-07-30 Michael Koch <konqueror@gmx.de>
3373
3374 * gnu/java/awt/EmbeddedWindow.java
3375 (addNotify): Use AccessController to allow execution of privileged
3376 code.
3377
3378 2004-07-29 Michael Koch <konqueror@gmx.de>
3379
3380 * gnu/java/lang/MainThread.java:
3381 Explicitely import used classes.
3382 (args): Make it type String[].
3383
3384 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3385
3386 * gnu/java/awt/ComponentDataBlitOp.java,
3387 gnu/java/beans/ExplicitBeanInfo.java,
3388 gnu/java/beans/IntrospectionIncubator.java,
3389 gnu/java/beans/editors/ColorEditor.java,
3390 gnu/java/beans/editors/FontEditor.java,
3391 gnu/java/beans/editors/NativeBooleanEditor.java,
3392 gnu/java/beans/editors/NativeByteEditor.java,
3393 gnu/java/beans/editors/NativeDoubleEditor.java,
3394 gnu/java/beans/editors/NativeFloatEditor.java,
3395 gnu/java/beans/editors/NativeIntEditor.java,
3396 gnu/java/beans/editors/NativeLongEditor.java,
3397 gnu/java/beans/editors/NativeShortEditor.java,
3398 gnu/java/beans/editors/StringEditor.java,
3399 gnu/java/io/ClassLoaderObjectInputStream.java,
3400 gnu/java/io/decode/Decoder.java,
3401 gnu/java/io/encode/Encoder.java,
3402 gnu/java/lang/ClassHelper.java,
3403 gnu/java/locale/Calendar.java,
3404 gnu/java/locale/Calendar_de.java,
3405 gnu/java/locale/Calendar_en.java,
3406 gnu/java/locale/Calendar_nl.java,
3407 gnu/java/locale/LocaleInformation_de.java,
3408 gnu/java/locale/LocaleInformation_en.java,
3409 gnu/java/locale/LocaleInformation_nl.java:
3410 Cleaned up imports.
3411
3412 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3413
3414 * README: Remove obsolete info. Update bug URL.
3415 * THANKS: Updated.
3416 * NEWS: Updated with news up to GCC 3.4 release.
3417
3418 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3419
3420 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3421 Renamed from 'setName'. New 2-argument form with default value.
3422 (run): Pass default 'value' parameter to System.getProperty().
3423 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3424 typos.
3425 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3426 not 'setName'.
3427
3428 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3429
3430 * configure.in: Check for minimum GTK version 2.4 requirement.
3431 * configure: Rebuilt.
3432
3433 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3434
3435 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3436 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3437 Reduce sleep time.
3438 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3439 compiler bug.
3440 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3441 address. Reduce sleep times. Synchronize with target threads before
3442 attempting to interrupt them. Don't try to calibrate yeild count,
3443 instead, always loop for a fixed time.
3444 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3445 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3446 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3447 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3448 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3449 * testsuite/libjava.lang/pr179.java: Likewise.
3450 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3451 time. Remove upper bounds check on sleep time.
3452
3453 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3454
3455 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3456 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3457
3458 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3459
3460 * java/io/File.java (toURI): Throw RuntimeException, not
3461 InternalError.
3462 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3463 class name, not instance.
3464
3465 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3466
3467 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3468 and gnu/java/security/action/SetAccessibleAction.java.
3469 * Makefile.in: Rebuilt.
3470
3471 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3472
3473 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3474 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3475 _Jv_InitPrimClass.
3476 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3477 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3478 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3479
3480 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3481
3482 * Makefile.am: Replace jar, rmic and rmiregistry references with
3483 gjar, grmic and grmiregistry.
3484 * configure.in: Likewise.
3485 * Makefile.in: Regenerate.
3486 * configure: Likewise.
3487 * gcj/Makefile.in: Likewise.
3488 * include/Makefile.in: Likewise.
3489 * testsuite/Makefile.in: Likewise.
3490
3491 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3492
3493 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3494 for privileged getProperty calls.
3495 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3496 SetAccessibleAction instead of anonymous class for doPrivileged call.
3497 (getMethod): Likewise.
3498 (setAccessible): New field. PrivilegedAction object to use when
3499 calling setAccessible.
3500 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3501 SetAccessibleAction instead of anonymous class for diPrivileged call.
3502 (setFields): Likewise.
3503 (getClassUID): Likewise.
3504 (findMethod): Likewise.
3505 * gnu/java/security/action/GetPropertyAction.java: New class.
3506 * gnu/java/security/action/SetAccessibleAction.java: New class.
3507
3508 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3509
3510 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3511 for final fields.
3512 * testsuite/libjava.lang/Serialization.java: New test.
3513 * testsuite/libjava.lang/Serialization.out: New.
3514
3515 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3516
3517 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3518 missed in last commit.
3519
3520 2004-07-23 Mark Wielaard <mark@klomp.org>
3521
3522 * java/lang/System.java (static): Set http.agent system property when
3523 not yet set.
3524 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3525 from system property inside AccessController.doPrivileged() call.
3526 (proxyPort): Made package private.
3527 (proxyInUse): Likewise.
3528 (proxyHost): Likewise.
3529 (userAgent): Likewise.
3530
3531 2004-07-23 Mark Wielaard <mark@klomp.org>
3532
3533 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3534 implementation.
3535
3536 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3537
3538 * Makefile.am (ordinary_java_source_files): Add
3539 DefaultContentHandlerFactory.java.
3540 * Makefile.in: Rebuilt.
3541 * java/net/URLConnection.java (defaultFactory): New field.
3542 (getContent):
3543 (getContentHandler): Renamed from 'setContentHandler'. Try
3544 defaultFactory after user-set factory, if any. Search for content
3545 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3546 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3547 Implemented.
3548 (getLastModified): Implemented.
3549 (getPermission): Create file permission here, instead of in
3550 constructor.
3551 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3552 Implemented.
3553 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3554 Implemented.
3555 (getLastModified): Implemented.
3556 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3557 Default implementation.
3558 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3559 Implement using GdkPixbufDecoder.
3560
3561 2004-07-21 Michael Koch <konqueror@gmx.de>
3562
3563 * javax/swing/JTextArea.java
3564 (setLineWrap): Fire property change event after new value is set.
3565 (setTabSize): Likewise.
3566
3567 2004-07-21 Michael Koch <konqueror@gmx.de>
3568
3569 * javax/swing/JTable.java
3570 (autoCreateColumnsFromModel): New field.
3571 (autoResizeMode): Likewise.
3572 (cellEditor): Likewise.
3573 (cellSelectionEnabled): Likewise.
3574 (columnModel): Likewise.
3575 (dataModel): Likewise.
3576 (defaultEditorsByColumnClass): Likewise.
3577 (defaultRenderersByColumnClass): Likewise.
3578 (editingColumn): Likewise.
3579 (editingRow): Likewise.
3580 (gridColor): Likewise.
3581 (preferredViewportSize): Likewise.
3582 (rowHeight): Likewise.
3583 (rowMargin): Likewise.
3584 (rowSelectionAllowed): Likewise.
3585 (selectionBackground): Likewise.
3586 (selectionForeground): Likewise.
3587 (selectionModel): Likewise.
3588 (showHorizontalLines): Likewise.
3589 (showVerticalLines): Likewise.
3590 (tableHeader): Likewise.
3591 (JTable): Implemented.
3592 (getColumnModel): Likewise.
3593 (getSelectedRow): Likewise.
3594 (getSelectionModel): Likewise.
3595 (setModel): Likewise.
3596 (setSelectionModel): Likewise.
3597 (createScrollPaneForTable): New method.
3598 (createDefaultDataModel): Likewise.
3599 (createDefaultListSelectionModel): Likewise.
3600 (getModel): Likewise.
3601 (getTableHeader): Likewise.
3602 (setTableHeader): Likewise.
3603 (getColumnSelectionAllowed): Likewise.
3604 (setColumnSelectionAllowed): Likewise.
3605 (getRowSelectionAllowed): Likewise.
3606 (setRowSelectionAllowed): Likewise.
3607 (getAutoResizeMode): Likewise.
3608 (setAutoResizeMode): Likewise.
3609 (getColumnCount): Likewise.
3610 (getRowCount): Likewise.
3611 (getCellRenderer): Likewise.
3612 * javax/swing/JTree.java
3613 (cellRenderer): New field.
3614 (editable): Likewise.
3615 (rootVisible): Likewise.
3616 (showsRootHandles): Likewise.
3617 (getModel): New method.
3618 (setModel): Likewise.
3619 (isEditable): Likewise.
3620 (setEditable): Likewise.
3621 (isRootVisbile): Likewise.
3622 (setRootVisible): Likewise.
3623 (getShowsRootHandles): Likewise.
3624 (setShowRootHandles): Likewise.
3625 (getCellRenderer): Likewise.
3626 (setCellRenderer): Likewise.
3627
3628 2004-07-21 Michael Koch <konqueror@gmx.de>
3629
3630 * javax/swing/JFormattedTextField.java
3631 (setDocument): Implemented.
3632 * javax/swing/JRootPane.java:
3633 Fixed javadocs.
3634 * javax/swing/JTable.java
3635 (getDefaultRenderer): New method.
3636 * javax/swing/JTextField.java
3637 (setFont): Likewise.
3638 (getPreferredSize): Likewise.
3639 * javax/swing/JToggleButton.java
3640 (getAccessibleContext): Fix javadoc.
3641 * javax/swing/JTree.java:
3642 Add some javadocs.
3643 * javax/swing/JViewport.java:
3644 Likewise.
3645
3646 2004-07-21 David Jee <djee@redhat.com>
3647
3648 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3649 Collect all native method declaration at the top.
3650 (create): Set the filename filter if necessary.
3651 (setDirectory): Call nativeSetDirectory().
3652 (setFilenameFilter): Implement.
3653 (filenameFilterCallback): New method.
3654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3655 (create): Configure dialog to show hidden files.
3656 (filenameFilterCallback): New function.
3657 (nativeSetFilenameFilter): New function.
3658 (nativeSetDirectory): New function.
3659
3660 2004-07-21 Kim Ho <kho@redhat.com>
3661
3662 * javax/swing/plaf/basic/BasicSliderUI.java:
3663 Ran Jalopy.
3664 (paintTrack): Fill the track before painting
3665 the borders.
3666
3667 2004-07-21 Graydon Hoare <graydon@redhat.com>
3668
3669 patch from Roman Kennke <roman@ontographics.com>
3670 * javax/swing/Spring.java: New file.
3671 * javax/swing/SpringLayout.java: New file.
3672 * Makefile.am: Add new files.
3673 * Makefile.in: Regenerate.
3674
3675 2004-07-21 Graydon Hoare <graydon@redhat.com>
3676
3677 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3678 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3679 * javax/swing/ScrollPaneLayout.java: Likewise.
3680
3681 2004-07-21 Kim Ho <kho@redhat.com>
3682
3683 * javax/swing/DefaultDesktopManager.java:
3684 (findMinimum): Removed.
3685 (resizeFrame): Trust the UI to pass valid
3686 bounds.
3687 * javax/swing/JOptionPane.java:
3688 Implemented showInternalXXXDialog methods.
3689 (startModal): New method.
3690 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3691 (BorderListener::mouseDragged): Verify that the new
3692 bounds are valid before passing them to the DesktopManager.
3693 (preferredLayoutSize): Delegate
3694 to getSize.
3695 (minimumLayoutSize): Ditto.
3696 (getSize): New method.
3697 (GlassPaneDispatcher): Reimplemented by copying
3698 a stripped down LightweightDispatcher from Container.
3699 (getMinimumSize): Call minimumLayoutSize.
3700 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3701 Ran Jalopy.
3702 (mousePressed): Add ability to properly close
3703 JInternalFrames.
3704 * javax/swing/plaf/basic/BasicToolBarUI.java:
3705 (DragWindow): Set owner for DragWindow.
3706
3707 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3708
3709 * java/awt/image/ShortLookupTable.java: New file.
3710 * java/awt/image/ByteLookupTable.java: New file.
3711 * Makefile.am: Added new files.
3712 * Makefile.in: Regenerated.
3713
3714 2004-07-21 David Jee <djee@redhat.com>
3715
3716 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3717 (create(GtkContainerPeer)): New native method.
3718 (create()): Call native create(), passing in the parent frame
3719 as the paramter. Natively set the current file and directory.
3720 (setFile): Construct an absolute filename before passing it to
3721 the native peer.
3722 (nativeGetDirectory): New method.
3723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3724 (window_closed): Removed.
3725 (ok_clicked): Likewise.
3726 (cancel_clicked): Likewise.
3727 (handle_response): New method.
3728 (create): Use GtkFileChooserDialog.
3729 (connectSignals): Connect to handle_response.
3730 (nativeGetDirectory): New method.
3731 (nativeSetFile): Use GtkFileChooserDialog.
3732
3733 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3734
3735 * java/awt/image/LookupTable.java: New file.
3736 * Makefile.am: Added new file.
3737 * Makefile.in: Regenerated.
3738
3739 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3740
3741 * java/awt/image/Kernel.java: New file.
3742 * Makefile.am: Added new file.
3743 * Makefile.in: Regenerated.
3744
3745 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3746
3747 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3748 * javax/swing/JMenu.java: Likewise.
3749 * javax/swing/JMenuBar.java: Likewise.
3750 (MARGIN_CHANGED_PROPERTY): New property.
3751 (setMargin): Implemented.
3752 * javax/swing/JMenuItem.java: Fixed javadocs.
3753 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3754 (LABEL_CHANGED_PROPERTY): New property.
3755 (add): changed to use createActionComponent.
3756 (createActionComponent): Implemented.
3757 (setLabel): Fire PropertyChangeEvent if label property
3758 changes.
3759 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3760 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3761 (ContainerHandler): Repaint if margin property has changed.
3762 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3763 (installUI): Call installComponents().
3764 (uninstallUI): Call uinstallComponents().
3765 * javax/swing/plaf/basic/BasicMenuUI.java:
3766 Fixed javadocs.
3767 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3768 Likewise.
3769
3770 2004-07-21 Kim Ho <kho@redhat.com>
3771
3772 * javax/swing/plaf/basic/BasicToolBarUI.java:
3773 (DragWindow): Use the right constructor.
3774
3775 2004-07-21 Kim Ho <kho@redhat.com>
3776
3777 * javax/swing/JToolBar.java:
3778 (layoutContainer): Use getComponents.
3779 * javax/swing/plaf/basic/BasicToolBarUI.java:
3780 (DragWindow): Don't use SwingUtilities'
3781 getOwnerFrame
3782 (ToolBarDialog): ditto.
3783
3784 2004-07-21 Kim Ho <kho@redhat.com>
3785
3786 * javax/swing/JRootPane.java:
3787 Ran jalopy.
3788 (layoutContainer): Set the glasspane's size to
3789 be the same as the content pane.
3790 (createGlassPane): Set opaque property to false.
3791
3792 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3793
3794 * java/awt/Component.java (requestFocus()): Don't handle Panels
3795 specially.
3796 (requestFocus(boolean)): Likewise.
3797 (requestFocusInWindow(boolean)): Likewise.
3798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3799 Set GTK_CAN_FOCUS flag.
3800
3801 2004-07-21 Kim Ho <kho@redhat.com>
3802
3803 * Makefile.am: Added new file.
3804 * Makefile.in: Regenerated.
3805 * gcj/Makefile.in: Regenerated.
3806 * include/Makefile.in: Regenerated.
3807 * javax/swing/AbstractButton.java:
3808 Add rollOverEnabled property.
3809 (setRolloverEnabled): Use new property.
3810 (isRolloverEnabled): Use new property.
3811 * javax/swing/JTabbedPane.java:
3812 (setComponent): Remove useless JTabbedPane.this.
3813 * javax/swing/JToolBar.java: Finish implementation.
3814 * javax/swing/plaf/basic/BasicArrowButton.java:
3815 (paint): Moved border painting to a border.
3816 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3817 Change JToolBar look and feel defaults.
3818 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3819 (actionPerformed): Return Integer index instead of name.
3820 (addButtonComponents): Check to see if component is
3821 JButton last.
3822 (createMessageArea): Don't use components that are not
3823 completed yet.
3824 (getIconForType): Use temporary icons.
3825 * javax/swing/plaf/basic/BasicSliderUI.java:
3826 (mousePressed): Do not return if it's on thumb.
3827 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3828 (paintMinorTickForVertSlider): ditto.
3829 (paintMajorTickForHorizSlider): ditto.
3830 (paintMajorTickForVertSlider): ditto.
3831 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3832 Add a border around the SplitPaneDivider.
3833 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3834 Remove comments.
3835 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3836 New file. Implemented.
3837 * javax/swing/plaf/basic/BasicToolBarUI.java:
3838 Implemented.
3839 * testsuite/Makefile.in: Regenerated.
3840
3841 2004-07-21 Graydon Hoare <graydon@redhat.com>
3842
3843 * javax/swing/Timer.java (run): Queue events each time cycle.
3844
3845 2004-07-21 David Jee <djee@redhat.com>
3846
3847 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3848 (imageComplete): Call image.imageComplete().
3849 * java/awt/image/MemoryImageSource.java:
3850 Reimplement consumers as a Vector instead of a Hashtable. This is
3851 because enumeration on a Hashtable is not thread-safe.
3852 (addConsumer): Adapt to Vector consumers.
3853 (isConsumer): Adapt to Vector consumers.
3854 (removeConsumer): Adapt to Vector consumers.
3855 (startProduction): Adapt to Vector consumers. Call imageComplete()
3856 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3857 (newPixels): Adapt to Vector consumers.
3858 (sendPicture): Set the color model of the image consumer.
3859 (newPixels(IIII)): Adapt to Vector consumers.
3860 (newPixels(IIIIB)): Adapt to Vector consumers.
3861
3862 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3863
3864 * java/awt/Component.java (deliverEvent): Implement.
3865 (postEvent): Implement.
3866 (handleEvent): Implement.
3867 (translateEvent): New method.
3868 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3869 * java/awt/Container.java (deliverEvent): Implement.
3870 * java/awt/Event.java (paramString): Fix formatting.
3871 * java/awt/Font.java (toString): Likewise.
3872 * java/awt/Window.java (postEvent): Implement.
3873
3874 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3875
3876 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3877 Set window's focus owner upon receiving a FOCUS_LOST event.
3878 * java/awt/Window.java (Window()): Refocus the previously
3879 focused component within the window when the window regains the
3880 top-level focus.
3881 (setFocusOwner): New method.
3882 * java/awt/Component.java (requestFocus): Add FIXME.
3883
3884 * libgcj.pc.in: Remove library flags.
3885
3886 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3887
3888 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3889 MOUSE_PRESSED event.
3890 * java/awt/Component.java (requestFocus()): Handle Panel
3891 specially. Post FOCUS_LOST event on opposite component.
3892 (requestFocus(boolean)): Likewise.
3893 (requestFocusInWindow(boolean)): Likewise.
3894 (paramString): Reorder dimension fields.
3895 * java/awt/Container.java (paramString): Fix string format.
3896 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3897 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3898 process key events if the focus owner is non-null.
3899 (dispatchKeyEvent): Likewise.
3900 * java/awt/Frame.java (paramString): Fix formatting.
3901 (generateName): New method.
3902 (getUniqueLong): Likewise.
3903 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3904 the temporary focus owner is null. If so, return the permanent
3905 focus owner.
3906 * java/awt/Panel.java (generateName): New method.
3907 (getUniqueLong): Likewise.
3908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3909 signal handling to make callbacks more specific.
3910
3911 2004-07-21 Michael Koch <konqueror@gmx.de>
3912
3913 * javax/swing/text/Position.java
3914 (Bias): Implemented.
3915
3916 2004-07-21 Michael Koch <konqueror@gmx.de>
3917
3918 * javax/swing/LookAndFeel.java
3919 (provideErrorFeedback): New method.
3920
3921 2004-07-21 Michael Koch <konqueror@gmx.de>
3922
3923 * javax/swing/JTextArea.java
3924 (tabSize): New field.
3925 (getTabSize): New method.
3926 (setTabSize): Likewise.
3927
3928 2004-07-21 Michael Koch <konqueror@gmx.de>
3929
3930 * javax/swing/ActionMap.java:
3931 Fixed javadocs all over.
3932 (serialVersionUID): Made private.
3933 (parent): Don't explicitely initialize with default value.
3934 (get): SImplified.
3935 (keys): Reimplemented.
3936 (allKeys): Likewise.
3937 (convertSet): Removed.
3938 * javax/swing/ComponentInputMap.java:
3939 Fixed javadocs all over.
3940 (ComponentInputMap): Implemented.
3941 (put): Likewise.
3942 (clear): Likewise.
3943 (remove): Likewise.
3944 (SetParent): Likewise.
3945 (getComponent): Likewise.
3946 * javax/swing/InputMap.java:
3947 Fixed javadocs all over.
3948 (serialVersionUID): Made private.
3949 (parent): Don't explicitely initialize with default value.
3950 (get): SImplified.
3951 (keys): Reimplemented.
3952 (allKeys): Likewise.
3953 (convertSet): Removed.
3954
3955 2004-07-21 Michael Koch <konqueror@gmx.de>
3956
3957 * javax/swing/ActionMap.java,
3958 javax/swing/ComponentInputMap.java,
3959 javax/swing/InputMap.java,
3960 javax/swing/table/DefaultTableColumnModel.java,
3961 javax/swing/table/TableColumn.java,
3962 javax/swing/table/TableColumnModel.java,
3963 javax/swing/table/TableModel.java,
3964 javax/swing/text/AbstractDocument.java,
3965 javax/swing/text/TextAction.java:
3966 Reformated.
3967
3968 2004-07-21 Graydon Hoare <graydon@redhat.com>
3969
3970 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3971 Make method non-static.
3972 * javax/swing/AbstractButton.java:
3973 Rename fields to match property names where possible.
3974 (iconTextGap): New property.
3975 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3976 (init) New method, call from after various constructors.
3977 * javax/swing/JComponent.java (revalidate):
3978 Invalidate before queueing repair.
3979 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3980 Reimplement in terms of visibleRowCount property.
3981 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3982 * javax/swing/JScrollPane.java (createScrollListener):
3983 Remove tracing chatter.
3984 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3985 * javax/swing/RepaintManager.java (addInvalidComponent):
3986 Don't invalidate.
3987 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3988 calculations.
3989 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3990 Mimic sun behavior on top left/right positioning.
3991 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3992 Remove mistaken use of preferredScrollableViewportSize here.
3993 (layoutContainer): Use view's preferred size as basis.
3994 * javax/swing/plaf/basic/BasicButtonUI.java:
3995 Set, get, and use textIconGap property.
3996 (paint) Paint text returned from layout (with ellipsis).
3997 * javax/swing/plaf/basic/BasicListUI.java:
3998 Remove tracing chatter, correct various minor calculations.
3999 (getCellBounds): Update layout state before calculating.
4000 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4001 Use margin default similar to sun's.
4002 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4003 (createIncreaseIcon): Center icon, minimize margins.
4004 (createDecreaseIcon): Likewise.
4005 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4006 Implement.
4007 (installUI): Call it.
4008 (uninstallDefaults): Implement.
4009 (uninstallUI): Call it.
4010 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4011 Call existing Window constructor.
4012 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4013 Set clip before painting.
4014
4015 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4016
4017 * javax/swing/JMenuItem.java:
4018 (processMouseEvent): Reimplemented to deal with
4019 mouse drag events.
4020 (createMenuDragMouseEvent): New private helper method.
4021 Creates MenuDragMouseEvent.
4022 * javax/swing/MenuSelectionManager.java
4023 (componentForPoint): Implemented.
4024 (isComponentPartOfCurrentMenu): Made public.
4025 (processMouseEvent): Reimplemented to deal with
4026 mouse drag events.
4027 (setSelectedPath): Corrected small mistake that caused
4028 path to be set incorrectly.
4029 (getPath): If given component is JMenu then also add this
4030 menu's popup menu to the selected path.
4031 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4032 (getPath): Ditto.
4033 (getPreferredSize): Call getPreferredMenuItemSize().
4034 (getPreferredItemSize): Moved code from getPreferredSize to here.
4035 (installListeners): Install MouseMotionListeners.
4036 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4037 if mouse wasn't released in the bounds of this menu item.
4038 (MenuDragMouseHandler): Implemented.
4039 * javax/swing/plaf/basic/BasicMenuUI.java:
4040 (installListeners): Install MouseMotionListener and
4041 MenuDrageMouseListener.
4042 (MenuDragMouseHandler): Implemented.
4043 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4044 (uninstallListeners): Implemented.
4045
4046 2004-07-21 Michael Koch <konqueror@gmx.de>
4047
4048 * javax/swing/JCheckBox.java: Reformated.
4049 (JCheckBox): Fixed all constructors.
4050 (isBorderPaintedFlat): New method.
4051 (setBorderPaintedFlat): New method.
4052 * javax/swing/JEditorPane.java
4053 (createEditorKitForContentType): Made public.
4054 (scrollToReference): Likewise.
4055 * javax/swing/JTextArea.java
4056 (setLineWrap): Fire property change.
4057 * javax/swing/JToggleButton.java
4058 (JToggleButton): New constructor.
4059 (JToggleButton): Simplified.
4060 * javax/swing/text/AttributeSet.java
4061 (FontAttribute): Renamed from FontCharacterAttribute.
4062 * javax/swing/text/JTextComponent.java
4063 (KeyBinBinding): Added javadoc.
4064 (JTextComponent): Likewise.
4065 (getAccessibleContext): Fixed javadoc.
4066 * javax/swing/text/View.java
4067 (View): Added javadoc.
4068 * javax/swing/text/TabableView.java: New file.
4069 * Makefile.am: Added javax/swing/text/TabableView.java.
4070 * Makefile.in: Regenerated.
4071
4072 2004-07-21 Graydon Hoare <graydon@redhat.com>
4073
4074 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4075 * gnu/java/awt/peer/gtk/GtkToolkit.java
4076 (GtkErrorImage): New helper class.
4077 (bufferedImageOrError): New helper method.
4078 (createImage): Use it.
4079
4080 2004-07-21 David Jee <djee@redhat.com>
4081
4082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4083 (setCaretPosition): Scroll the text view so the new caret position
4084 is visible on screen.
4085
4086 2004-07-21 David Jee <djee@redhat.com>
4087
4088 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4089 (setBounds): Do not validate awtComponent here.
4090 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4091 (getPreferredSize): New method.
4092 * java/awt/ScrollPane.java
4093 (ScrollPane): Set default size to 100x100.
4094 (addNotify): If child is not a Panel, wrap it with a new Panel.
4095 (paramString): Implement.
4096
4097 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4098
4099 * javax/swing/JMenu.java:
4100 (setSelected): Display popup menu only if this menu
4101 is showing on the screen.
4102 * javax/swing/JPopupMenu.java:
4103 (processMouseEvent): Added comment.
4104 (processKeyEvent): Likewise.
4105 * javax/swing/MenuSelectionManager.java:
4106 (clearSelectedPath): Only fireStateChanged() after
4107 selected path was changed, not before.
4108 (setSelectedPath): Likewise.
4109 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4110 (paintMenuItem): Corrected position of menu item's
4111 icon.
4112 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4113 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4114 (popupMenuCanceled): Reimplemented.
4115 (popupMenuWillBecomeVisible): Select first menu item by default
4116 when displaying free floating popup menus.
4117 (TopWindowListener): Reimplemented.
4118
4119 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4120
4121 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4122 Panel from being painted twice when it is first shown.
4123
4124 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4125
4126 * java/awt/Window.java: Reverted changes from my
4127 previous patch for creating window without an owner.
4128 * javax/swing/SwingUtilities.java:
4129 (SwingUtilities.OwnerFrame): made static.
4130 (OwnerFrame.setVisible): New method. Overridden with
4131 empty implementation.
4132 (OwnerFrame.isShowing): New method. Ovverridden
4133 to return always true.
4134
4135 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4136
4137 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4139 (GtkComponentPeer): Remove temporary try/catch block.
4140 (setVisible): Call show and hide.
4141 (show): Make native.
4142 (hide): Likewise.
4143 (getArgs): Don't add "visible" argument.
4144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4145 (property_notify_predicate): Return Bool instead of int.
4146 (find_layout): New function.
4147 (connectJObject): Call find_layout.
4148 (connectSignals): Likewise.
4149 (moveLayout): Likewise.
4150 (gtkLayoutSetVisible): Likewise.
4151
4152 2004-07-21 Mark Wielaard <mark@klomp.org>
4153
4154 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4155 on notifier object before calling notifyAll().
4156
4157 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4158
4159 * java/awt/Window.java: Changed constructors to use new
4160 method that is described below. Constructors call this
4161 methods only if newly created window should have an owner.
4162 (setWindowOwner): New method. Implementation for
4163 this method is moved from this(owner,configuration).
4164 * javax/swing/JWindow.java:
4165 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4166 instead of owner.
4167 * javax/swing/SwingUtilities.java:
4168 (ownerFrame): Change type of this field to OwnerFrame.
4169 (getOwnerFrame): Changed to return object of type OwnerFrame.
4170 (SwingUtilities.OwnerFrame): New class. Represents owner
4171 of a Window that is not provided with one.
4172
4173 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4174
4175 * javax/swing/AbstractButton.java:
4176 (configurePropertiesFromAction): Set action command
4177 to button's text by default if action command is not
4178 explicitely specified.
4179 * javax/swing/JMenu.java: Remove unnecessary listener
4180 and methods relevant to it.
4181 (setSelected): Reimplemented.
4182 (menuSelectionChanged): Moved most part of implementation to
4183 setSelected() and call it instead.
4184 * javax/swing/JMenuItem.java:
4185 (init): Comment out statement that sets paint_border to false.
4186 (configurePropertiesFromAction): Do not set accelerator
4187 for JMenu.
4188 (menuSelectionChanged): Change selected index in the selection
4189 model of menu item's parent.
4190 * javax/swing/JPopupMenu.java:
4191 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4192 instead of GridBagConstraints.HORIZONTAL.
4193 (insert): Likewise.
4194 (createActionChangeListener): Implemented.
4195 (setVisible): Correct location of HeavyWeightMenu and
4196 don't firePopupMenuCanceled().
4197 (menuSelectionChanged): Implemented.
4198 (ActionChangeListener): New Listener. Implemented.
4199 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4200 (BasicMenuBarUI.ContainerHandler): Implemented.
4201 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4202 (paintMenuItem): Uncommented out code that paints
4203 icon, now that icons are working properly.
4204 (PropertyChangeListener): Implemented.
4205 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4206 Added javadocs.
4207 (topWindowListener): New field.
4208 (Constructor): initialize topWindowListener.
4209 (BasicPopupMenuUI.TopWindowListener): Implemented.
4210 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4211 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4212 Implemented.
4213
4214 2004-07-21 Michael Koch <konqueror@gmx.de>
4215
4216 * javax/swing/plaf/basic/BasicButtonUI.java
4217 (paintFocus): Fixed method signature.
4218 (paintButtonPressed): Likewise.
4219 (paintButtonNormal): Likewise.
4220 (paintText): New method.
4221 * javax/swing/plaf/basic/BasicLabelUI.java
4222 (paint): Re-indented.
4223 * javax/swing/plaf/basic/BasicTextUI.java
4224 (installUI): Set parent textComponent to opaque.
4225 * javax/swing/text/DefaultHighlighter.java
4226 (checkPositions): New helper method.
4227 (addHighlight): Throws BadLocationException, check positions.
4228 (changeHighlight): Likewise.
4229 * javax/swing/text/EditorKit.java
4230 (EditorKit): Implements Serializable.
4231 * javax/swing/text/JTextComponent.java
4232 (getUI): Added javadoc.
4233 (setUI): Likewise.
4234 (upadteUI): Added javadoc, don't revalidate and repaint.
4235
4236 2004-07-21 David Jee <djee@redhat.com>
4237
4238 * java/awt/GridBagLayout.java
4239 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4240 * javax/swing/AbstractButton.java
4241 (setText): Reindent.
4242 * javax/swing/RepaintManager.java
4243 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4244
4245 2004-07-21 Michael Koch <konqueror@gmx.de>
4246
4247 * javax/swing/JFormattedTextField.java
4248 (value): New field.
4249 (JFormattedTextField): Implemented.
4250 (getValue): Likewise.
4251 (setValue): Likewise.
4252 * javax/swing/LookAndFeel.java
4253 (getSupportsWindowDecorations): New method.
4254 * javax/swing/UIDefaults.java:
4255 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4256 (addPropertyChangeListener): Made public.
4257 (addResourceBundle): Likewise.
4258 (removeResourceBundle): Likewise.
4259 (setDefaultLocale): Likewise.
4260 * javax/swing/plaf/basic/BasicRootPaneUI.java
4261 (BasicRootPaneUI): Implements PropertyChangeListener.
4262 (propertyChange): New method.
4263 * javax/swing/plaf/basic/BasicTextUI.java
4264 (BasicHighlighter): New inner class.
4265 (createHighlighter): New method.
4266 * javax/swing/plaf/basic/BasicToolBarUI.java
4267 (DragWindow): Extends java.awt.Window.
4268 * javax/swing/text/JTextComponent.java
4269 (getDocument): Removed debug output.
4270 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4271 javax/swing/text/DefaultHighlighter.java,
4272 javax/swing/text/FieldView.java,
4273 javax/swing/text/PlainView.java: New files.
4274 * Makefile.am: Added new files.
4275 * Makefile.in: Regenerated.
4276
4277 2004-07-21 Michael Koch <konqueror@gmx.de>
4278
4279 * javax/swing/JEditorPane.java
4280 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4281 (createEditorKitForContentType): Likewise.
4282 * javax/swing/text/DefaultEditorKit.java
4283 (serialVersionUID): Added constant field.
4284 (EndOfLineStringPropery): Fixed typo.
4285 (DefaultEditorKit): New constructor.
4286 * javax/swing/text/Segment.java:
4287 Import java.text.CharacterIterator.
4288 * javax/swing/text/CharacterIterator.java,
4289 javax/swing/text/PlainEditorKit.java: Removed.
4290 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4291 javax/swing/text/PlainEditorKit.java.
4292 * Makefile.in: Regenerated.
4293
4294 2004-07-21 Michael Koch <konqueror@gmx.de>
4295
4296 * javax/swing/JButton.java,
4297 javax/swing/text/DefaultEditorKit.java,
4298 javax/swing/text/EditorKit.java,
4299 javax/swing/text/Segment.java,
4300 javax/swing/text/StyledEditorKit.java:
4301 Reformatted.
4302
4303 2004-07-21 Michael Koch <konqueror@gmx.de>
4304
4305 * javax/swing/ImageIcon.java
4306 (file): Removed.
4307 (description): Renamed from descr.
4308 (ImageIcon): Added missing constructors.
4309 (setParent): Removed.
4310 (setImageObserver): New method.
4311 (getImageObserver): New method.
4312 (paintIcon): Handle observer = null.
4313 * javax/swing/JButton.java
4314 (removeNotify): Fixed javadoc.
4315 (updateUI): Simplified.
4316 * javax/swing/JRootPane.java
4317 (serialVersionUID): New constant field.
4318 * javax/swing/UIManager.java:
4319 Fixed javadocs all over.
4320 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4321 * javax/swing/text/AbstractDocument.java
4322 (createPosition): Throws BadLocationException.
4323 (getText): Likewise.
4324 (remove): Likewise.
4325 * javax/swing/text/ComponentView.java
4326 (modelToView): Likewise.
4327 * javax/swing/text/DefaultEditorKit.java:
4328 Made all public methods public.
4329 (read): Throws BadLocationException and IOException.
4330 (write): Likewise.
4331 * javax/swing/text/EditorKit.java:
4332 Made all public methods public.
4333 (serialVersionUID): New constant field.
4334 (clone): New method.
4335 (read): Throws BadLocationException and IOException.
4336 (write): Likewise.
4337 * javax/swing/text/Segment.java
4338 (array): Made public.
4339 (count): Likewise.
4340 (offset): Likewise.
4341 (Segment): New constructors.
4342 (clone): Reimplemented.
4343 * javax/swing/text/StyledEditorKit.java
4344 (serialVersionUID): New constant field.
4345
4346 2004-07-21 Graydon Hoare <graydon@redhat.com>
4347
4348 * java/awt/image/BufferedImage.java
4349 (getSource): Implement.
4350 * javax/swing/ImageIcon.java
4351 (ImageIcon): Implement ctor.
4352 * javax/swing/ScrollPaneLayout.java
4353 (preferredLayoutSize): Be more careful about nulls.
4354
4355 2004-07-21 Michael Koch <konqueror@gmx.de>
4356
4357 * javax/swing/text/AttributeSet.java
4358 (CharacterAttribute): New interface
4359 (ColorAttribute): Likewise.
4360 (FontCharacterAttribute): Likewise.
4361 (ParagraphAttribute): Likewise.
4362 * javax/swing/text/DefaultCaret.java
4363 (moveCaret): New method.
4364 (positionCaret): Likewise.
4365 (repaint): Made protected.
4366 * javax/swing/text/JTextComponent.java
4367 (KeyBinding): Made it static.
4368 * javax/swing/text/View.java
4369 (getContainer): Honor parent == null.
4370
4371 2004-07-21 Michael Koch <konqueror@gmx.de>
4372
4373 * javax/swing/text/AbstractDocument.java:
4374 Reformatted.
4375
4376 2004-07-21 Michael Koch <konqueror@gmx.de>
4377
4378 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4379 Import javax.swing.UIManager explicitely.
4380 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4381 (ScrollingButton): Made it static.
4382
4383 2004-07-21 Michael Koch <konqueror@gmx.de>
4384
4385 * javax/swing/UIDefaults.java
4386 (ActiveValue): Made public.
4387 (LazyValue): Likewise.
4388 * javax/swing/plaf/basic/BasicTextUI.java
4389 (RootView): Reintroduced.
4390 (view): Removed.
4391 (rootView): New field.
4392 (installUI): Create document if needed, initialize rootView.
4393 (uninstallUI): Hanle rootView.
4394 (paint): Likewise.
4395 (getRootView): Likewise.
4396 (setView): Likewise.
4397 * javax/swing/text/DefaultCaret.java:
4398 Renamed all "evt" variables to "event".
4399
4400 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4401
4402 * libgcj.spec.in: Add -l-java-util-logging.
4403
4404 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4405
4406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4407 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4408 gtk-xft-dpi can no calculate the right value.
4409 (dpi_changed_cb): Mark *pspec as unsused.
4410
4411 2004-07-21 David Jee <djee@redhat.com>
4412
4413 * java/awt/Component.java
4414 (move): Delegate to setBounds().
4415 (resize): Likewise.
4416 (reshape): Fix so it repaints parent and self only when necessary.
4417
4418 2004-07-21 David Jee <djee@redhat.com>
4419
4420 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4421 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4422 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4423 (setVisible): Likewise.
4424 (show): Likewise.
4425 (hide): Likewise.
4426 (getArgs): Likewise.
4427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4428 (property_notify_predicate): Likewise.
4429 (find_layout): Likewise.
4430 (connectJObject): Likewise.
4431 (connectSignals): Likewise.
4432 (moveLayout): Likewise.
4433 (gtkLayoutSetVisible): Likewise.
4434
4435 2004-07-21 Graydon Hoare <graydon@redhat.com>
4436
4437 * Makefile.am
4438 (jv_convert_LDADD):
4439 (gij_LDADD):
4440 (rmic_LDADD):
4441 (rmiregistry_LDADD): Add lib-java-util-logging.la
4442 * Makefile.in: Regenerate.
4443
4444 2004-07-21 Michael Koch <konqueror@gmx.de>
4445
4446 * javax/swing/text/AbstractDocument.java
4447 (replace): Dont use protected method of java.util.Vector directly.
4448
4449 2004-07-21 Michael Koch <konqueror@gmx.de>
4450
4451 * javax/swing/plaf/basic/BasicTextUI.java
4452 (installUI): Call specialized install methods.
4453 (installDefaults): New method.
4454 (installListeners): Likewise.
4455 (installKeyboardActions): Likewise.
4456 (uninstallUI): Likewise.
4457 (uninstallDefaults): New method.
4458 (uninstallListeners): Likewise.
4459 (uninstallKeyboardActions): Likewise.
4460 (getPropertyPrefix): New abstract method.
4461 (paint): Made final, just call paintSafely().
4462 (paintSavely): New method.
4463 (paintBackground): Likewise.
4464 (getVisibleEditorRect): Likewise.
4465 * javax/swing/text/LayeredHighlighter.java,
4466 javax/swing/text/TabExpander.java: New files.
4467 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4468 and javax/swing/text/TabExpander.java.
4469 * Makefile.in: Regenerated.
4470
4471 2004-07-21 Michael Koch <konqueror@gmx.de>
4472
4473 * javax/swing/plaf/basic/BasicTextUI.java
4474 (BasicTextUI): Made abstract.
4475 (BasicCaret): New inner class.
4476 (view): Don't explicitely initialize with "null".
4477 (textComponent): New field.
4478 (textColor): Removed.
4479 (disabledTextColor): Removed.
4480 (normalBackgroundColor): Removed.
4481 (RootView): Removed commented out inner class.
4482 (createUI): Removed.
4483 (createCaret): New method.
4484 (getComponent): Likewise.
4485 (installUI): Initialize textComponent only.
4486 (getPreferredSize): Use installed JTextComponent.
4487 (setView): New method.
4488 (create): Likewise.
4489 * javax/swing/text/JTextComponent.java
4490 (highlighter): New field.
4491 (caretColor): Likewise.
4492 (disabledTextColor): Likewise.
4493 (seletedTextColor): Likewise.
4494 (selectionColor): Likewise.
4495 (setUI): New method.
4496 (getCaretColor): Likewise.
4497 (setCaretColor): Likewise.
4498 (getDisabledColor): Likewise.
4499 (setDisabledColor): Likewise.
4500 (getSelectedTextColor): Likewise.
4501 (setSelectedTextColor): Likewise.
4502 (getSelectionColor): Likewise.
4503 (setSelectionColor): Likewise.
4504 (getHighlighter): Likewise.
4505 (setHighlighter): Likewise.
4506 (replaceSelection): Likewise.
4507
4508 2004-07-21 Michael Koch <konqueror@gmx.de>
4509
4510 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4511 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4512 * javax/swing/plaf/basic/BasicToolBarUI.java
4513 (BasicToolBarUI): Implements SwingConstants.
4514
4515 2004-07-21 Michael Koch <konqueror@gmx.de>
4516
4517 * javax/swing/JPopupMenu.java: Removed CVS tags.
4518 * javax/swing/UIDefaults.java: Reformatted.
4519 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4520 Explicitely import used classes.
4521
4522 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4523
4524 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4526 (GtkComponentPeer): Remove temporary try/catch block.
4527 (setVisible): Call show and hide.
4528 (show): Make native.
4529 (hide): Likewise.
4530 (getArgs): Don't add "visible" argument.
4531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4532 (property_notify_predicate): Return Bool instead of int.
4533 (find_layout): New function.
4534 (connectJObject): Call find_layout.
4535 (connectSignals): Likewise.
4536 (moveLayout): Likewise.
4537 (gtkLayoutSetVisible): Likewise.
4538
4539 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4540
4541 * javax/swing/AbstractButton.java:
4542 (setDisplayedMnemonicIndex): Check if button
4543 text is not null before checking its length.
4544 * javax/swing/JMenuItem.java:
4545 (processMouseEvent): Disarm menu item if mouse has
4546 exited it.
4547 * javax/swing/plaf/basic/BasicMenuUI.java:
4548 (MouseInputHandler.mouseEntered): Do not raise
4549 popup menu if this menu is already selected.
4550 (MouseInputHandler.mousePressed): Do not fire
4551 MenuEvents.
4552 (MenuHandler): Implemented.
4553
4554 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4555
4556 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4557 (getSelectedObjects): Implemented.
4558 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4559 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4560 Added javadoc for few methods.
4561 (processMouseEvent): Made public.
4562 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4563 (processMouseEvent): Likewise.
4564
4565 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4566
4567 * javax/swing/AbstractButton.java:
4568 (init): Set display mnemonic index to -1.
4569 (setMnemonic(char)): Use setMnemonic(int).
4570 (setMnemonic(int)): Set display mnemonic index.
4571 (getDisplayedMnemonicIndex): Change method signature
4572 by removing 'index' parameter.
4573 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4574 Added default for Menu.selectionBackground.
4575 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4576 (paintMenuItem): Change background color of the selected
4577 menu item.
4578 (paintText): Paint differently when menu item is disabled.
4579 Also paint mnemonic if it appears in the menu item's label.
4580 (paintAccelerator): Paint accelerator differently
4581 if menu item is disabled.
4582 * javax/swing/plaf/basic/BasicMenuUI.java:
4583 (installDefaults): Install defaults for
4584 selectionForeground and selectionBackground.
4585 (uninstallDefaults): Uninstall defauls for
4586 selectionForeground and selectionBackground.
4587
4588 2004-07-21 Michael Koch <konqueror@gmx.de>
4589
4590 * javax/swing/text/AbstractDocument.java
4591 (BranchElement): Implemented.
4592 (LeafElement): Implemented.
4593 * javax/swing/text/DefaultCaret.java:
4594 Import used classes.
4595 (serialVersionUID): New constant.
4596 * javax/swing/text/JTextComponent.java
4597 (AccessibleJTextComponent): Removed dead declaration.
4598 (caretPos): Removed.
4599 (setCaret): New method.
4600 * javax/swing/text/PlainDocument.java
4601 (rootElement): New field.
4602 (PlainDocument): Initialize rootElement.
4603 (createDefaultRoot): New method.
4604 (getDefaultRootElement): Implemented.
4605 * javax/swing/text/View.java: Reformatted.
4606 * javax/swing/text/ViewFactory.java
4607 (create): Added javadoc.
4608
4609 2004-07-21 Michael Koch <konqueror@gmx.de>
4610
4611 * javax/swing/ToolTipManager.java: Reformatted.
4612
4613 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4614
4615 * javax/swing/AbstractButton.java
4616 (changeEvent): New field.
4617 (fireItemStateChanged): Change source of the event
4618 to 'this' before firing it to button listeners.
4619 (fireActionPerformed): Likewise.
4620 (fireStateChanged): Likewise.
4621 (createActionListener): Do not set source
4622 of the event to AbstractButton.
4623 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4624 (ContainerHandler.componentAdded): Removed
4625 print out statement.
4626 (ContainerHandler.componentRemoved): Likewise.
4627
4628 2004-07-21 Michael Koch <konqueror@gmx.de>
4629
4630 * javax/swing/text/Highlighter.java: New file.
4631 * Makefile.am: Added javax/swing/text/Highlighter.java.
4632 * Makefile.in: Regenerated.
4633
4634 2004-07-21 Michael Koch <konqueror@gmx.de>
4635
4636 * javax/swing/ToolTipManager.java
4637 (stillInsideTimerAction): Fixed constructor arguments.
4638 (outsideTimerAction): Likewise.
4639 (insideTimerAction): Likewise.
4640
4641 2004-07-21 Michael Koch <konqueror@gmx.de>
4642
4643 * javax/swing/JButton.java: Reformatted.
4644 * javax/swing/JFormattedTextField.java
4645 (getUIClassID): Implemented.
4646 * javax/swing/JRootPane.java
4647 (serialVersionUID): New constant.
4648 * javax/swing/JTextField.java
4649 (align): New field.
4650 (JTextField): Simplified.
4651 (getUIClassID): New method.
4652 (getActionListeners): Added @since tag.
4653 (setColumns): Invalidate layout and repaint.
4654 (getHorizontalAlignment): New method.
4655 (setHorizontalAlignment): New method.
4656 (selectAll): Removed.
4657 * javax/swing/SwingUtilities.java
4658 (getAncestorOfClass): Removed redundant @see tag.
4659 (isLeftMouseButton): Fixed implementation.
4660 (isMiddleMouseButton): Likewise.
4661 (isRightMouseButton): Likewise.
4662 * javax/swing/text/AbstractDocument.java
4663 (AttributeContext.addAttribute): New method.
4664 (AttributeContext.addAttributes): New method.
4665 (AttributeContext.getEmptySet): New method.
4666 (AttributeContext.reclaim): New method.
4667 (AttributeContext.removeAttribute): New method.
4668 (AttributeContext.removeAttributes): New method.
4669 * javax/swing/text/Document.java
4670 (createPosition): Throws BadLocationException.
4671 (getText): Likewise.
4672 (remove): Likewise.
4673 * javax/swing/text/JTextComponent.java
4674 (getText): Return null if no document is set. Catch
4675 BadLocationException.
4676 (getUI): Return ui.
4677 (updateUI): Simplified.
4678
4679 2004-07-21 Michael Koch <konqueror@gmx.de>
4680
4681 * javax/swing/JButton.java
4682 (removeNotify): Fixed javadoc.
4683 (updateUI): Simplified.
4684
4685 2004-07-21 David Jee <djee@redhat.com>
4686
4687 * gnu/java/awt/image/ImageDecoder.java
4688 (startProduction): Only add consumer if it's not added yet.
4689 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4690 (GdkPixbufDecoder): Don't call initState() here.
4691 (produce): Call initState() here, to ensure area_prepared and
4692 area_updated signals are properly connected.
4693 * gnu/java/awt/peer/gtk/GtkImage.java
4694 (setColorModel): Use equals() to compare ColorModel objects.
4695 (setPixels): Likewise.
4696 * java/awt/image/ColorModel.java
4697 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4698 * java/awt/image/RGBImageFilter.java
4699 (setColorModel): Set consumer's color model.
4700 (setPixels): Use equals() to compare ColorModel objects.
4701
4702 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4703
4704 * java/net/URLConnection.java (position): New field.
4705 (dateFormat1, dateFormat2, dateFormat3): Removed.
4706 (dateFormats): New field.
4707 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4708 each time instead of re-allocating.
4709 (initializeDateFormats): Initialize 'dateFormats'.
4710
4711 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4712
4713 PR libgcj/16591
4714 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4715 is defined.
4716
4717 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4718
4719 * java/net/Socket.java (getImpl): Now private. Remove comment.
4720
4721 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4722
4723 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4724 of chained Writer when calling super-constructor.
4725 * java/io/FilterWriter.java (FilterWriter): Likewise.
4726 * java/io/PrintWriter.java (PrintWriter): Likewise.
4727
4728 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4729
4730 * prims.cc (process_gcj_properties): Don't increment i within LHS
4731 of assignment.
4732
4733 2004-07-19 Per Bothner <per@bothner.com>
4734
4735 Print -verbose:message on "loading", not initialization.
4736 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4737 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4738 gcj::verbose_class_flag.
4739 * java/lang/natClass.cc (initializeClass): Don't print message here.
4740 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4741 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4742 (_Jv_PrepareCompiledClass): Likewise.
4743
4744 2004-07-18 Matthias Klose <doko@debian.org>
4745
4746 * configure.in: Substitute target_noncanonical.
4747 * configure: Regenerate
4748
4749 2004-07-17 Michael Koch <konqueror@gmx.de>
4750
4751 * java/lang/String.java: Fixed javadocs all over.
4752
4753 2004-07-17 Mark Wielaard <mark@klomp.org>
4754
4755 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4756 when size is smaller.
4757 * java/io/RandomAccessFile.java (setLength): Use truncate for
4758 shrinking the file and seek plus write for expanding the file.
4759
4760 2004-07-17 Michael Koch <konqueror@gmx.de>
4761
4762 * gnu/java/nio/channels/natFileChannelPosix.cc
4763 (implTruncate): Always save current position. Only reposition file
4764 pointer to where we started if not beyond new lenght. Reposition file
4765 pointer to file length if it points beyond the end of file.
4766
4767 2004-07-17 Mark Wielaard <mark@klomp.org>
4768
4769 * javax/swing/Box.java: Put FIXME comment above class declaration.
4770 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4771 * javax/swing/JCheckBox.java: Likewise.
4772 * javax/swing/JDialog.java: Likewise.
4773 * javax/swing/JRadioButton.java: Likewise.
4774 * javax/swing/JToggleButton.java: Likewise.
4775 * javax/swing/UIManager.java: Likewise.
4776 * javax/swing/border/TitledBorder.java: Likewise.
4777 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4778 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4779 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4780 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4781 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4782 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4783 * javax/swing/text/JTextComponent.java: Likewise.
4784
4785 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4786
4787 * java/net/DatagramPacket.java (setAddress): Removed check for
4788 null address.
4789
4790 2004-07-17 Michael Koch <konqueror@gmx.de>
4791
4792 * java/net/DatagramSocket.java
4793 (getLocalAddress): Check if socket is bound or not.
4794 * java/net/Socket.java
4795 (getLocalAddrss): Check if socket is bound or not.
4796 (getPort): Return -1 when not connected. Dont check getImpl() for
4797 null.
4798 (setReuseAddress): Check if socket is closed.
4799 (isConnected): Check if getImpl() returns null.
4800
4801 2004-07-17 Mark Wielaard <mark@klomp.org>
4802
4803 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4804 on notifier object before calling notifyAll().
4805
4806 2004-07-17 Michael Koch <konqueror@gmx.de>
4807
4808 * gnu/java/nio/channels/FileChannelImpl.java
4809 (finalize): Added javadoc.
4810
4811 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4812
4813 * java/text/CollationElementIterator.java
4814 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4815 (setText): Use ArrayList instead of Vector.
4816
4817 2004-07-17 Michael Koch <konqueror@gmx.de>
4818
4819 * java/nio/ByteOrder.java
4820 (static): Removed. Not needed.
4821 Thanks to Patrick Reali for noticing.
4822 * java/nio/charset/CharsetDecoder.java
4823 (decode): Fix for classpath bug #9177: Reset state before flipping.
4824
4825 2004-07-17 Michael Koch <konqueror@gmx.de>
4826
4827 * java/security/Security.java: Fixed javadocs all over.
4828
4829 2004-07-17 Michael Koch <konqueror@gmx.de>
4830
4831 * gnu/java/awt/EmbeddedWindow.java
4832 (static): Removed.
4833 (addNotify): Set peer via reflection.
4834 (setWindowPeer): Removed.
4835 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4836 * Makefile.am (nat_source_files):
4837 Removed gnu/java/awt/natEmbeddedWindow.cc.
4838 * Makefile.in: Regenerated.
4839
4840 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4841
4842 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4843 assignment.
4844 * configure: Regenerated.
4845
4846 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4847
4848 * configure.in: Use build_noncanonical rather than build_alias.
4849 * configure: Rebuild.
4850
4851 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4852 by logic refactoring. Move default definition of NATIVE closer
4853 to first alternate definition.
4854 * configure: Regenerate.
4855
4856 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4857 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4858 gcj/Makefile.in: Regenerate.
4859 * configure.in: Set ZIP and GCJH. Remove redundant condition
4860 in AM_CONDITIONAL(NATIVE,...)
4861 * configure: Regenerate.
4862
4863 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4864
4865 * configure.in: Use target_noncanonical rather than
4866 target_alias for forward-compatibility with autoconf 2.59.
4867 * configure: Regenerate.
4868 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4869 testsuite/Makefile.am: Substitute target_noncanonical.
4870 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4871 testsuite/Makefile.in: Regenerate.
4872
4873 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4874 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4875 * acinclude.m4: Include acx.m4.
4876 * aclocal.m4: Regenerate.
4877 * configure: Regenerate.
4878
4879 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4880
4881 PR libgcj/16574
4882 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4883 (decimalFormat): New static variable.
4884 (sbuf): Likewise.
4885 (getTime): New. Override Date.getTime().
4886 (toString): Synchronize. Use decimalFormat to format nanos value
4887 correctly. Truncate extra zeros.
4888 (before): Compare getNanos() only if getTime() is equal.
4889 (after): Likewise.
4890
4891 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4892
4893 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4894 * configure.in: ...here.
4895 * aclocal.m4: Regenerate.
4896 * configure: Regenerate.
4897
4898 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4899 * configure: Rebuilt with autoconf 2.13.
4900 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4901 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4902
4903 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4904
4905 PR libgcj/16204
4906 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4907 large file support.
4908 * Makefile.in: Rebuilt.
4909 * testsuite/libjava.lang/LargeFile.java: New test case.
4910 * testsuite/libjava.lang/LargeFile.out: New file.
4911
4912 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4913
4914 * java/beans/EventHandler.java: Remove debugging statements.
4915
4916 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4917
4918 * java/beans/EventHandler.java: New file.
4919 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4920 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4921 testsuite/Makefile.in: Regenerate.
4922
4923 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4924
4925 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4926 flag to the gcj_setup.
4927 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4928 the tclsh.
4929 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4930 deprecation flag change. 58 XFAILS removed.
4931
4932 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4933
4934 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4935 -fno-use-divide-subroutine.
4936 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4937 (HANDLE_FPE): Define.
4938 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4939 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4940 (HANDLE_DIVIDE_OVERFLOW): Define.
4941
4942 2004-07-14 Michael Koch <konqueror@gmx.de>
4943 Matthias Klose <doko@debian.org>
4944
4945 * java/awt/im/InputContext.java: Initialize in, line.
4946
4947 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4948
4949 * interpret.cc (run): Correctly access libffi return values of
4950 integral smaller-than-int type; these are implicitly promoted.
4951
4952 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4953
4954 PR libgcj/7587
4955 * interpret.cc (compile_mutex): New.
4956 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4957 (run): Lock compile_mutex before calling compile() if compilation is
4958 required.
4959 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4960 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4961
4962 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4963
4964 PR libgcj/15713
4965 * include/jvm.h (_Jv_value): New union type.
4966 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4967 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4968 union members.
4969
4970 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4971
4972 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4973 * gnu/awt/xlib/XOffScreenImage.java
4974 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4975 constructor argument. Add constructor using ImageProducer.
4976 (getSource): Implement.
4977 (imageComplete): New method.
4978 (setColorModel): New method.
4979 (setDimensions): New method.
4980 (setHints): New method.
4981 (setPixels): New method.
4982 (setProperties): New method.
4983 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4984 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4985
4986 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4987
4988 PR libgcj/16478
4989 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4990 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4991 (finalizerReady): Now native.
4992 (run): Likewise.
4993 (runFinalizers): Removed.
4994 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4995 a primitive lock, and don't hold it while running the finalizers.
4996 (runFinalizers): Implement. Don't aquire any Java lock.
4997 (finalizerReady): Use lock primitives to signal finalizer thread.
4998
4999 2004-07-11 Mark Wielaard <mark@klomp.org>
5000
5001 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5002 * java/net/URLStreamHandler.java (parseURL): When url file part
5003 doesn't contain a '/' just ignore context.
5004
5005 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5006
5007 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5008 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5009 (MAKE_THROW_FRAME): Do not modify PSW address.
5010 (INIT_SEGV): Install SIGINFO-style signal handler.
5011 (INIT_FPE): Likewise.
5012
5013 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5014
5015 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5016 status. 21 xfail's removed, 1 added.
5017
5018 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5019
5020 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5021
5022 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5023
5024 * java/text/MessageFormat.java
5025 (formatInternal): Append "{n}" if argument n is unavailable.
5026 (format(Object, StringBuffer, FieldPosition)): This
5027 should be equivalent to format(Object[],
5028 StringBuffer, FieldPosition).
5029
5030 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5031
5032 * java.util.Calendar.java (cache): New private static field. Cached
5033 mappings of locales->calendar classes.
5034 (ctorArgTypes): New private static field. Singleton argument for
5035 calendar class constructor lookup.
5036 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5037 Optimize by bypassing reflection instantiation for the
5038 GregorianCalendar case.
5039
5040 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5041
5042 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5043 ResourceBundle.getBundle() calls.
5044 * java/util/GregorianCalendar.java: Likewise.
5045 * java/util/Currency.java: Likewise.
5046 * java/text/BreakIterator.java: Likewise.
5047 * java/text/Collator.java: Likewise.
5048 * java/text/DateFormat.java: Likewise.
5049 * java/text/DateFormatSymbols.java: Likewise.
5050 * java/text/DecimalFormatSymbols.java: Likewise.
5051 * java/text/NumberFormat.java: Likewise.
5052 * java/awt/Window.java: Likewise.
5053
5054 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5055
5056 * java/util/ResourceBundle.java (bundleCache): Renamed from
5057 resourceBundleCache. Update comments.
5058 (getObject): Don't catch MissingResourceException.
5059 (getBundle(String)): Remove 'final'. Use system classloader if
5060 getCallingClassLoader returned null.
5061 (getBundle(String, Locale)): Likewise.
5062 (BundleKey): New private class. HashMap key for bundle cache lookup.
5063 (lookupKey): New. Singleton instance of BundleKey.
5064 (nullEntry): New. Cache entry to represent failed lookups.
5065 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5066 caching strategy, no-allocation lookup, and new tryBundle methods.
5067 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5068 name using given classloader.
5069 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5070 baseName for given Locale and attempt to load bundle.
5071
5072 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5073
5074 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5075 illegal protected method calls.
5076
5077 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5078
5079 Fix or remove some bogus test cases.
5080 * testsuite/libjava.compile/pr10459_2.java: Removed.
5081 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5082 not Object.clone().
5083 * testsuite/libjava.compile/inner_data.java: Test against its own
5084 protected field.
5085
5086 2004-07-09 Michael Koch <konqueror@gmx.de>
5087
5088 * scripts/unicode-muncher.pl: Updated to version 2.1
5089 from GNU classpath. Added some clarifications on where to find the
5090 needed files from www.unicode.org.
5091 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5092 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5093 Removed, these can directly be downloaded from www.unicode.org if
5094 needed.
5095 * gnu/java/lang/CharData.java: Regenerated.
5096 * include/java-chartables.h: Regenerated.
5097 * Makefile.am (ordinary_java_source_files):
5098 Removed gnu/java/lang/CharData.java.
5099 * Makefile.in: Regenerated.
5100
5101 2004-07-09 Michael Koch <konqueror@gmx.de>
5102
5103 * java/security/AccessControlContext.java,
5104 java/security/SecureClassLoader.java:
5105 Fixed javadocs.
5106
5107 2004-07-09 Michael Koch <konqueror@gmx.de>
5108
5109 * java/io/ObjectInputStream.java (readFields): Use long datatype
5110 when shifting byte values more then 24 bits left.
5111
5112 2004-07-09 Michael Koch <konqueror@gmx.de>
5113
5114 * java/util/zip/DeflaterOutputStream.java,
5115 java/util/zip/GZIPInputStream.java,
5116 java/util/zip/GZIPOutputStream.java,
5117 java/util/zip/InflaterInputStream.java:
5118 Reformatted. Added javadocs. Reordered all stuff.
5119 Renamed variables to be more clear.
5120
5121 2004-07-09 Michael Koch <konqueror@gmx.de>
5122
5123 * javax/imageio/IIOException.java,
5124 javax/imageio/event/IIOReadProgressListener.java,
5125 javax/imageio/event/IIOReadUpdateListener.java,
5126 javax/imageio/event/IIOReadWarningListener.java,
5127 javax/imageio/event/IIOWriteProgressListener.java,
5128 javax/imageio/event/IIOWriteWarningListener.java:
5129 New files.
5130 * Makefile.am: Added new files.
5131 * Makefile.in: Regenerated.
5132
5133 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5134
5135 * java/text/RuleBasedCollator.java
5136 (mergeRules): Use ArrayList instead of Vector.
5137 (subParseString): likewise.
5138 (parseString): likewise.
5139 (buildCollationVector): likewise.
5140 (getCollationKey): likewise.
5141
5142 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5143
5144 * java/text/DateFormat.java (parse):
5145 Improved javadoc. Improved exception message.
5146
5147 2004-07-09 Mark Wielaard <mark@klomp.org>
5148
5149 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5150 interrupted() method to clear interupt flag of our Thread.
5151
5152 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5153
5154 * java/nio/Buffer.java,
5155 java/nio/ByteBuffer.java,
5156 java/nio/ByteBufferHelper.java,
5157 java/nio/ByteBufferImpl.java,
5158 java/nio/CharBuffer.java,
5159 java/nio/CharBufferImpl.java,
5160 java/nio/CharViewBufferImpl.java,
5161 java/nio/DirectByteBufferImpl.java,
5162 java/nio/DoubleBuffer.java,
5163 java/nio/DoubleBufferImpl.java,
5164 java/nio/DoubleViewBufferImpl.java,
5165 java/nio/FloatBuffer.java,
5166 java/nio/FloatBufferImpl.java,
5167 java/nio/FloatViewBufferImpl.java,
5168 java/nio/IntBuffer.java,
5169 java/nio/IntBufferImpl.java,
5170 java/nio/IntViewBufferImpl.java,
5171 java/nio/LongBuffer.java,
5172 java/nio/LongBufferImpl.java,
5173 java/nio/LongViewBufferImpl.java,
5174 java/nio/MappedByteBufferImpl.java,
5175 java/nio/ShortBuffer.java,
5176 java/nio/ShortBufferImpl.java,
5177 java/nio/ShortViewBufferImpl.java:
5178 Fixed javadocs all over. Improved input error
5179 checking.
5180
5181 * java/nio/Buffer.java
5182 (checkForUnderflow, checkForOverflow, checkIndex,
5183 checkIfReadOnly, checkArraySize): New helper methods
5184 for error checking.
5185
5186 * java/nio/ByteBufferHelper.java
5187 (checkRemainingForRead, checkRemainingForWrite,
5188 checkAvailableForRead, checkAvailableForWrite): Removed
5189 no longer needed methods.
5190
5191 2004-07-09 Michael Koch <konqueror@gmx.de>
5192
5193 * gnu/regexp/CharIndexedInputStream.java:
5194 Reordered imports to match classpath.
5195
5196 2004-07-09 Michael Koch <konqueror@gmx.de>
5197
5198 * gnu/java/awt/EmbeddedWindow.java:
5199 Load native library for setWindowPeer method.
5200
5201 2004-07-08 Randolph Chung <tausq@debian.org>
5202
5203 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5204 * configure: Regenerate.
5205 * configure.host: Set can_unwind_signal for hppa*-linux.
5206 * include/pa-signal.h: New file.
5207
5208 2004-07-07 Per Bothner <per@bothner.com>
5209
5210 * Makefile.am: Add rules to build libgij from just gij.cc.
5211
5212 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5213 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5214 (initializeClass): If verbose_class_flag, print message.
5215 * gij.cc (main): Handle -verbose:class flag.
5216
5217 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5218
5219 * configure.host: Enable hash synchronization on Darwin.
5220 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5221 ';', since this is a comment on Darwin.
5222 (compare_and_swap_release): Likewise.
5223
5224 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5225
5226 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5227 file portion of URL in addition to spec for file: protocol.
5228
5229 2004-07-05 Anthony Green <green@redhat.com>
5230
5231 * java/io/File.java (toURI): Merge from Classpath.
5232
5233 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5234
5235 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5236 before passing to URL constructor. Rethrow any MalformedURLException
5237 as a RuntimeException. Catch MalformedURLException specifically, not
5238 all exceptions.
5239
5240 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5241
5242 * java/util/Locale.java (readObject): Intern strings read from object
5243 stream.
5244
5245 2004-07-04 Michael Koch <konqueror@gmx.de>
5246
5247 * gnu/gcj/runtime/FirstThread.java,
5248 gnu/gcj/runtime/natFirstThread.cc: Removed.
5249 * gnu/java/lang/MainThread.java,
5250 gnu/java/lang/natMainThread.cc: New files.
5251 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5252 * Makefile.am: Added new files and removed deleted ones.
5253 * Makefile.in: Regenerated.
5254
5255 2004-07-03 Mark Wielaard <mark@klomp.org>
5256 Anthony Green <green@redhat.com>
5257
5258 * java/net/URL.java (getFile): Clarify return value doc.
5259 (getPath): Return null if file is empty - not empty String.
5260 (set): Convert protocol to lower case before doing anything.
5261 Only change the protocol handler if it's different.
5262
5263 2004-07-03 Anthony Green <green@redhat.com>
5264
5265 * java/net/URL.java (URL): Convert protocol to lower case before
5266 doing anything, so we getURLStreamHandler() with the proper value.
5267
5268 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5269
5270 * java/util/Locale.java (hashcode): Made transient.
5271 (hashCode): No longer synchronized.
5272 (equals): Remove comment.
5273 (writeObject): No longer synchronized. Implement using writeObject
5274 calls instead of tweaking hashCode field. Update doc.
5275 (readObject): Implement using readObject calls.
5276
5277 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5278 Andreas Tobler <a.tobler@schweiz.ch>
5279
5280 * configure.host (powerpc-*-darwin*): New case, define
5281 can_unwind_signal.
5282 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5283 * configure: Regenerate.
5284 * include/darwin-signal.h: New.
5285
5286 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5287
5288 * java/beans/Statement.java (doExecute): Fix formatting.
5289
5290 2004-06-29 Per Bothner <per@bothner.com>
5291
5292 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5293 etc etc): Remove needless parenthesis, which causes __stdcall__
5294 attribute on MinGW to get ignored.
5295
5296 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5297
5298 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5299
5300 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5301
5302 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5303
5304 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5305
5306 * java/beans/Expression.java: New file.
5307 * java/beans/Statement.java: New file.
5308 * Makefile.am: Added new files.
5309 * Makefile.in: Re-generate.
5310
5311 2004-06-27 Mark Wielaard <mark@klomp.org>
5312
5313 * java/io/FilePermission.java (usingPerms): Removed.
5314 (actionsString): Made final.
5315 (cachePerms): Renamed to checkPerms.
5316 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5317 on action String.
5318 (FilePermission): Check arguments, call checkPerms().
5319 (equals): Remove cachePerms() call.
5320 (implies): Likewise.
5321
5322 2004-06-27 Mark Wielaard <mark@klomp.org>
5323
5324 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5325 final field.
5326 (sendRequest): Use new field in user-agent http agent.
5327
5328 2004-06-27 Mark Wielaard <mark@klomp.org>
5329
5330 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5331 when argument is null.
5332
5333 2004-06-26 Mark Wielaard <mark@klomp.org>
5334
5335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5336 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5337 GetMethodID call.
5338 (cancel_clicked): Likewise.
5339
5340 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5341
5342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5343 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5344 can not calculate the right value.
5345 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5346
5347 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5348
5349 * testsuite/libjava.jacks/jacks.xfail: Remove
5350 15.9.1-qualified-concrete-20.
5351
5352 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5353
5354 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5355 encoding name to iconv.
5356 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5357
5358 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5359
5360 PR libgcj/16134:
5361 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5362 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5363 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5364
5365 2004-06-21 Andrew Haley <aph@redhat.com>
5366
5367 * java/io/ObjectOutputStream.java: Add DEBUG statements
5368 everywhere.
5369 (dumpElementln): New method.
5370 (depth): New field.
5371 * java/io/ObjectInputStream.java
5372 (currentClassLoader): Make native.
5373 (callersClassLoader): New field.
5374 (depth): New field.
5375 (readObject): ENDBLOCKDATA is generated if the class has a write
5376 method, not if it has a read method.
5377 (readObject): Save and restore this.currentObject and
5378 this.currentObjectStreamClass around calls to callReadMethod().
5379 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5380 method.
5381
5382 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5383
5384 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5385 darwin.
5386
5387 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5388
5389 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5390 if desired, before the default class loader is initialised.
5391 Call INIT_SEGV only if HANDLE_SEGV is defined.
5392
5393 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5394
5395 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5396 directory only if it actually exists.
5397
5398 2004-06-18 Graydon Hoare <graydon@redhat.com>
5399
5400 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5401 Fix up non-ansi comments.
5402
5403 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5404
5405 * javax/swing/text/AbstractDocument.java: Adding missing import
5406 for javax.swing.event.EventListenerList.
5407 * javax/swing/text/DefaultCaret.java: Likewise.
5408
5409 2004-06-17 Michael Koch <konqueror@gmx.de>
5410
5411 * javax/swing/JToolBar.java
5412 (name): Removed.
5413 (JToolBar): Use Component.setName(String) instead of doing it all
5414 alone.
5415 * javax/swing/Timer.java
5416 (queueEvent): Added missing modifier.
5417
5418 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5419
5420 * Makefile.am: Added new file.
5421 * Makefile.in: Re-generate.
5422 * javax/swing/JMenu.java:
5423 (insertSeparator): Implemented.
5424 * javax/swing/JPopupMenu.java:
5425 (JPopupMenu.Separator): Implemented.
5426 * javax/swing/MenuSelectionManager.java:
5427 (processMouseEvent): Use java.awt.Component
5428 for event source instead of javax.swing.JComponent.
5429 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5430 New File. Implemented.
5431
5432 2004-06-16 David Jee <djee@redhat.com>
5433
5434 * java/awt/GridBagLayout.java
5435 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5436 Make sure pos_x and pos_y are never negative.
5437
5438 2004-04-16 Andrew Overholt <overholt@redhat.com>
5439
5440 * Makefile.am: Add new file.
5441 * Makefile.in: Re-generate.
5442 * javax/swing/JToolBar.java
5443 Partially implemented.
5444 * javax/swing/plaf/basic/BasicToolBarUI.java
5445 New file. Partially implemented.
5446
5447 2004-06-16 Graydon Hoare <graydon@redhat.com>
5448
5449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5450 (setComposite): Accept AlphaComposite arguments.
5451 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5452 (createBufferedImage): Add new overloads.
5453 * gnu/java/awt/peer/gtk/GtkToolkit.java
5454 (createImage): Use GdkPixbufDecoder.createBufferedImage
5455 when useGraphics2D() is true.
5456 (getImage): Delegate to createImage.
5457 * javax/swing/JList.java
5458 (isSelectionEmpty):
5459 (getFirstVisibleIndex):
5460 (getLastVisibleIndex):
5461 (setSelectedValue):
5462 (ensureIndexIsVisible): New methods.
5463 * javax/swing/Timer.java: Reimplement.
5464
5465 2004-06-16 Michael Koch <konqueror@gmx.de>
5466
5467 * javax/swing/text/AbstractDocument.java
5468 (AbstracElement): Made public, implements java.io.Serializable.
5469 (AttributeContext): Made public.
5470 (BranchElement): Likewise.
5471 (Content): Likewise.
5472 (DefaultDocumentEvent): Made public, extends
5473 javax.swing.undo.CompoundEdit.
5474 (ElementEdit): Made public, extends
5475 javax.swing.undo.AbstractUndoableEdit.
5476 (LeafElement): Made public.
5477 (LeafElement.LeafElement): Made public.
5478
5479 2004-06-16 Michael Koch <konqueror@gmx.de>
5480
5481 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5482 methods (that were obviously never be intended to get included hi this
5483 class. Added some methods too.
5484
5485 2004-06-16 Michael Koch <konqueror@gmx.de>
5486
5487 * javax/swing/text/PlainDocument.java
5488 (serialVersionUID): New constant.
5489 (lineLimitAttribute): Likewise.
5490 (tabSizeAttribute): Likewise.
5491 (tabSize): New field.
5492 (PlainDocument): Made public.
5493 (PlainDocument): New constructor.
5494
5495 2004-06-16 Michael Koch <konqueror@gmx.de>
5496
5497 * javax/swing/text/AbstractDocument.java
5498 (insertString): Throws BadLocationException.
5499 * javax/swing/text/Document.java
5500 (insertString): Likewise.
5501 * javax/swing/text/JTextComponent.java:
5502 Javadocs and comments cleaned up.
5503
5504 2004-06-16 Michael Koch <konqueror@gmx.de>
5505
5506 * javax/swing/event/UndoableEditListener.java: Reformatted.
5507 * javax/swing/text/AbstractDocument.java
5508 (AbstractDocument): Implements java.io.Serializable.
5509 (doc_list): Removed.
5510 (undo_list): Removed.
5511 (AbstractElement.serialVerionUID): New field.
5512 (BranchElement.serialVerionUID): Likewise.
5513 (DefaultDocumentEvent.serialVerionUID): Likewise.
5514 (ElementEdit.serialVerionUID): Likewise.
5515 (LeafElement.serialVerionUID): Likewise.
5516 (serialVerionUID): Likewise.
5517 (BAD_LOCATION): New constant.
5518 (BidiElementName): Likewise.
5519 (ContentElementName): Likewise.
5520 (ParagraphElementName): Likewise.
5521 (SectionElementName): Likewise.
5522 (ElementNameAttribute): Likewise.
5523 (AbstractDocument): Made protected.
5524 (AbstractDocument): New construtor.
5525 (listenerList): New field.
5526 (fireChangedUpdate): Implemented.
5527 (fireInsertUpdate): Likewise.
5528 (fireRemoveUpdate): Likewise.
5529 (fireUndoableEditUpdate): Likewise.
5530 (getListeners): Likewise.
5531 (addDocumentListener): Likewise.
5532 (removeDocumentListener): Likewise.
5533 (addUndoableEditListener): Likewise.
5534 (removeUndoableEditListener): Likewise.
5535 (getDocumentListeners): New method.
5536 (getUndoableEditListeners): Likewise.
5537 (getAsynchronousLoadPriority): Made public.
5538 (getBidiRootElement): Likewise.
5539 (setAsynchronousLoadPriority): Likewise.
5540 (setDocumentProperties): Likewise.
5541 * javax/swing/text/BadLocationException.java
5542 (serialVerionUID): New field.
5543 * javax/swing/text/DefaultCaret.java
5544 (changeEvent): New field.
5545 (listenerList): Likewise.
5546 (changes): Removed.
5547 (addChangeListener): Reimplemented.
5548 (removeChangeListener): Likewise.
5549 (getListeners): New method.
5550 (getChangeListeners): Likwise.
5551 (getComponent): Likewise.
5552 * javax/swing/text/GapContent.java
5553 (GapContent): Implements java.io.Serializable.
5554 (serialVerionUID): New field.
5555
5556 2004-06-16 Michael Koch <konqueror@gmx.de>
5557
5558 * javax/swing/JTree.java
5559 (treeModel): New field.
5560 (JTree): New constructors, one existing one made public.
5561 (createTreeModel): New method.
5562 (addTreeExpansionListener): Likewise.
5563 (removeTreeExpansionListener): Likewise.
5564 (getTreeExpansionListeners): Likewise.
5565 (fireTreeCollapsed): Likewise.
5566 (fireTreeExpanded): Likewise.
5567 (addTreeSelectionListener): Likewise.
5568 (removeTreeSelectionListener): Likewise.
5569 (getTreeSelectionListeners): Likewise.
5570 (fireValueChanged): Likewise.
5571 (addTreeWillExpandListener): Likewise.
5572 (removeTreeWillExpandListener): Likewise.
5573 (getTreeWillExpandListeners): Likewise.
5574 (fireTreeWillCollapse): Likewise.
5575 (fireTreeWillExpand): Likewise.
5576
5577 2004-06-16 Michael Koch <konqueror@gmx.de>
5578
5579 * javax/swing/JTree.java: Reformatted.
5580
5581 2004-06-16 Michael Koch <konqueror@gmx.de>
5582
5583 * javax/swing/JTextArea.java: New file.
5584 * javax/swing/JTextField.java
5585 (actions): Removed.
5586 (notifyAction): New constant.
5587 (columns): New field.
5588 (JTextField): New constructors.
5589 (createDefaultModel): New method.
5590 (addActionListener): Reimplmemented.
5591 (removeActionListener): Reimplemented.
5592 (getActionListeners): New method.
5593 (fireActionPerformed): New method.
5594 (getColumns): New method.
5595 (setColumne): New method.
5596 * javax/swing/text/JTextComponent.java
5597 (AccessibleJTextComponent.serialVersionUID): New field.
5598 (serialVersionUID): Likewise.
5599 (DEFAULT_KEYMAP): Likewise.
5600 (FOCUS_ACCELERATOR_KEY): Likewise.
5601 (doc): Made private.
5602 (icon_gap): Likewise.
5603 (icon): Likewise.
5604 (align): Likewise.
5605 (JTextComponent): Some constructors removed.
5606 (getScrollableTracksViewportHeight): New method.
5607 (getScrollableTracksViewportWidth): Likewise.
5608 * Makefile.am: Added javax/swing/JTextArea.java.
5609 * Makefile.in: Regenerated.
5610
5611 2004-06-15 Graydon Hoare <graydon@redhat.com>
5612
5613 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5614 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5615 * javax/swing/JViewport.java
5616 (getExtentSize): Return size rather than preferred size.
5617 (toViewCoordinates): New methods.
5618 (getViewSize): Return size rather than preferred size.
5619 (setViewSize): Note view size as set.
5620 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5621 * javax/swing/plaf/basic/BasicScrollBarUI.java
5622 (getPreferredSize): Don't redo layout.
5623 * javax/swing/plaf/basic/BasicViewportUI.java
5624 (paint): Translate image properly and eat exceptions.
5625
5626 2004-06-15 Kim Ho <kho@redhat.com>
5627
5628 * javax/swing/JTabbedPane.java
5629 (setComponent): Remove old component and
5630 add new component.
5631 (setSelectedIndex): Don't operate on the
5632 components if they're null. Don't set index
5633 on the model if the index is the same.
5634 (insertTab): Don't add or hide the component
5635 if it's null. Repaint the container.
5636 * javax/swing/plaf/basic/BasicLookAndFeel.java
5637 Change colors for TabbedPane.
5638 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5639 (mousePressed): Re-layout and paint the component.
5640 (layoutContainer): Don't set location on the view.
5641 (ScrollingViewport::paint): Remove.
5642
5643 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5644
5645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5646 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5647
5648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5649 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5650 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5651 critical region.
5652 (drawLine): Call gdk_flush before leaving GDK critical region.
5653 (fillRect): Likewise.
5654 (drawRect): Likewise.
5655 (copyArea): Likewise.
5656 (copyPixmap): Likewise.
5657 (clearRect): Likewise.
5658 (drawArc): Likewise.
5659 (drawPolyline): Likewise.
5660 (drawPolygon): Likewise.
5661 (fillPolygon): Likewise.
5662 (fillArc): Likewise.
5663 (drawOval): Likewise.
5664 (fillOval): Likewise.
5665
5666 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5667 style parameter.
5668 (GdkFontMetrics): Add style argument to initState call.
5669 (stringWidth(String,int,int,String)): Add style parameter.
5670 (stringWidth(String)): Add style argument to stringWidth call.
5671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5672 (initState): Set pango font style and weight based on AWT style
5673 parameter. Pass default GTK language to
5674 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5675 simply dividing by PANGO_SCALE.
5676 (stringWidth): Set pango font style and weight based on AWT style
5677 parameter.
5678
5679 * java/awt/Button.java (next_button_number): New field.
5680 (paramString): Change output.
5681 (generateName): New method.
5682 (getUniqueLong): New method.
5683
5684 2004-06-14 Kim Ho <kho@redhat.com>
5685
5686 * javax/swing/JTabbedPane.java:
5687 (setComponentAt): Set the component, not
5688 the enabled status.
5689 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5690 (actionPerformed): Let deiconize catch exception.
5691
5692 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5693
5694 * javax/swing/JPopupMenu.java:
5695 (setVisible): Corrected location of a
5696 heavyweight popup menu.
5697
5698 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5699
5700 * javax/swing/MenuSelectionManager.java:
5701 Ran through jalopy to fix formatting style.
5702
5703 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5704
5705 * javax/swing/JLayeredPane.java:
5706 (remove): Revalidate and repaint layered pane after
5707 the component was removed.
5708 javax/swing/JMenu.java:
5709 (setVisible): Display popup menu at the user location,
5710 if one was set by the user.
5711 (setMenuLocation): Reimplemented. Fixed javadoc.
5712 * javax/swing/JMenuBar.java: Added javadoc.
5713 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5714 (MODEL_CHANGED_PROPERTY): New Property.
5715 (isSelected): Implemented.
5716 (setBorderPainted): Fire PropertyChangeEvent
5717 if paintBorder property changes.
5718 (setSelected): Implemented.
5719 (setSelectionModel): Implemented.
5720 * javax/swing/JPopupMenu.java: Added Javadoc
5721 (pack): Implemented.
5722 (setVisible): Reimplemented.
5723 (show): Fixed location.
5724 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5725 Container instead of JPanel.
5726 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5727 (clearSelectedPath): Reimplemented to clear selectedPath
5728 in reverse order.
5729 (processMouseEvent): Reimplemented.
5730 (setSelectedPath): Fire stateChange event indicating that
5731 selected menu path has changed.
5732 (getPath): Change to use ArrayList instead of Vector.
5733 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5734 (installUI): call installKeyboardActions().
5735 (uninstallUI): call uninstallKeyboardActions().
5736
5737 2004-06-13 Michael Koch <konqueror@gmx.de>
5738
5739 * javax/swing/text/DefaultCaret.java,
5740 javax/swing/text/BadLocationException.java:
5741 Reformatted.
5742
5743 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5744
5745 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5746 DEFAULT_COLS): New variables.
5747 (create): Don't allow 0 rows or 0 columns. Instead, set the
5748 values to DEFAULT_ROWS or DEFAULT_COLS.
5749 (getMinimumSize): Likewise.
5750 (getPreferredSize): Likewise.
5751 (minimumSize): Likewise.
5752 (preferredSize): Likewise.
5753 (create): Set peer's editable state.
5754 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5755 zero. Update javadocs.
5756 (TextArea(String)): Likewise.
5757 (TextArea(int,int)): Fix javadocs.
5758 (TextArea(String,int,int,int)): Only throw exception if one of
5759 rows or columns is zero. Fix javadocs.
5760
5761 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5762
5763 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5764 addition to Components.
5765
5766 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5767 wasn't consumed by normal processing, send it to the parent
5768 menu.
5769
5770 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5771 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5772 translation.
5773
5774 2004-06-11 David Jee <djee@redhat.com>
5775
5776 * java/awt/MediaTracker.java
5777 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5778 (addImage(Image,int,int,int)): Likewise.
5779
5780 2004-06-11 Michael Koch <konqueror@gmx.de>
5781
5782 * javax/swing/text/AbstractDocument.java,
5783 javax/swing/text/Document.java,
5784 javax/swing/text/GapContent.java,
5785 javax/swing/text/JTextComponent.java,
5786 javax/swing/text/PlainDocument.java:
5787 Reformatted.
5788
5789 2004-06-11 Michael Koch <konqueror@gmx.de>
5790
5791 * javax/swing/JRootPane.java
5792 (AccessibleJRootPane.serialVersionUID): New field.
5793 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5794 (AccessibleJRootPane.getAccessibleRole): New method.
5795 (RootLayout): Implements Serializable.
5796 (RootLayout.serialVersionUID): New field.
5797 (RootLayout.RootLayout): New constructor.
5798 (setJMenuBar): Made public.
5799 (getJMenuBar): Likewise.
5800 (JRootPane): Likewise.
5801 (createContentPane): Likewise.
5802 (createGlassPane): Likewise.
5803 (createLayeredPane): Likewise.
5804
5805 2004-06-11 Michael Koch <konqueror@gmx.de>
5806
5807 * javax/swing/SwingUtilities.java
5808 (isLeftMouseButton): Fixed javadoc.
5809 (isMiddleMouseButton): Likewise.
5810 (isRightMouseButton): Likewise.
5811
5812 2004-06-11 Michael Koch <konqueror@gmx.de>
5813
5814 * javax/swing/JScrollPane.java
5815 (serialVersionUID): New field.
5816 (columnHeader): Made protected.
5817 (rowHeader): Likewise.
5818 (lowerLeft): Likewise.
5819 (lowerRight): Likewise.
5820 (upperLeft): Likewise.
5821 (upperRight): Likewise.
5822 (horizontalScrollBar): Likewise.
5823 (horizontalScrollBarPolicy): Likewise.
5824 (verticalScrollBar): Likewise.
5825 (verticalScrollBarPolicy): Likewise.
5826 (viewport): Likewise.
5827
5828 2004-06-11 Michael Koch <konqueror@gmx.de>
5829
5830 * javax/swing/LookAndFeel.java: Fixed javadocs.
5831
5832 2004-06-11 Michael Koch <konqueror@gmx.de>
5833
5834 * javax/swing/JEditorPane.java: Fixed javadocs.
5835 (JEditorPane): Removed redundant call to to this().
5836 (fireHyperlinkUpdate): Implemented.
5837
5838 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5839
5840 * javax/swing/JMenu.java: Fixed file name
5841 in the file comment.
5842
5843 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5844
5845 * javax/swing/JMenu.java: Added javadoc.
5846 (JMenu): Added MenuChangeListener to listen to
5847 ChangeEvents occuring in menu's model.
5848 (insert): Throw IllegalArgumentException if
5849 index is less than 0
5850 (setSelected): Reimplement.
5851 (setPopupMenuVisible): Call menu's model isEnabled()
5852 (setDelay): Throw IllegalArgumentException if
5853 given amount of delay is less than 0.
5854 (createActionComponent): Implemented.
5855 (createActionChangeListener): Implemented.
5856 (addSeparator): Implemented.
5857 (getItem): Throw IllegalArgumentException if index is
5858 less than 0.
5859 (getItemCount): Implemented.
5860 (fireMenuSelected): Changed to use menuEvent.
5861 (fireMenuDeselected): Likewise.
5862 (fireMenuCanceled): Likewise.
5863 (setAccelerator): Changed to throw an error if this
5864 method is used.
5865 (doClick): Implemented.
5866 (JMenu.ActionChangedListener): New inner class to handle
5867 PropertyChangeEvents occuring in the actions associated with menu.
5868 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5869 (BasicMenuUI): Added PropertyChangeListener to the menu.
5870 (createChangeListener): Implemented.
5871 (createMenuDragMouseListener): Likewise.
5872 (createMenuKeyListener): Likewise.
5873 (createPropertyChangeListener): Likewise.
5874 (uninstallListeners): Likewise.
5875 (BasicMenuUI.MouseInputHandler): Reimplemented.
5876 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5877 (BasicMenuUI.ChangeHandler): Likewise.
5878 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5879 (BasicMenuUI.MenuKeyHandler): Likewise.
5880
5881 2004-06-10 David Jee <djee@redhat.com>
5882
5883 * java/awt/MediaTracker.java
5884 (imageUpdate): Only do notifyAll() if the image is complete.
5885
5886 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5887
5888 * javax/swing/JApplet.java:
5889 (getJMenuBar): Made public.
5890 (setJMenuBar): Likewise.
5891 * javax/swing/JFrame.java:
5892 (getJMenuBar): Made public.
5893 (setJMenuBar): Likewise.
5894 * javax/swing/JWindow.java:
5895 (getJMenuBar): Removed.
5896 (setJMenuBar): Removed.
5897
5898 2004-06-10 Michael Koch <konqueror@gmx.de>
5899
5900 * javax/swing/JEditorPane.java
5901 (createEditorKitForContentType): Fixed visibility.
5902 (fireHyperlinkUpdate): Likewise.
5903 (getContentType): Likewise.
5904 (getEditorKit): Likewise.
5905 (getEditorKitForContentType): Likewise.
5906 (getPage): Likewise.
5907 (read): Likewise.
5908 (registerEditorKitForContentTyoe): Likewise.
5909 (replaceSelection): Likewise.
5910 (setContentType): Likewise.
5911 (setEditorKit): Likewise.
5912 (setPage): Likewise.
5913
5914 2004-06-10 Michael Koch <konqueror@gmx.de>
5915
5916 * javax/swing/Timer.java
5917 (Timer): New constructor.
5918 * javax/swing/plaf/basic/BasicProgressBarUI.java
5919 (animationTimer): Don't initialize at construction.
5920 (startAnimationTimer): Added since tag.
5921 (stopAnimationTimer): Likewise.
5922 (installUI): Use new Timer constructor.
5923 * javax/swing/plaf/basic/BasicScrollBarUI.java
5924 (installUI): Likewise.
5925 * javax/swing/plaf/basic/BasicSliderUI.java
5926 (installUI): Likewise.
5927
5928 2004-06-10 Michael Koch <konqueror@gmx.de>
5929
5930 * javax/swing/ButtonGroup.java
5931 (serialVersionUID): Made private.
5932 (buttons): Renamed from v, added javadoc.
5933 (sel): Added javadoc.
5934 (ButtonGroup): Likewise.
5935 (add): Likewise.
5936 (remove): Likewise.
5937 (getElements): Likewise.
5938 (getSelection): Likewise.
5939 (setSelected): Likewise.
5940 (isSelected): Likewise.
5941 (getButtonCount): Likewise.
5942
5943 2004-06-10 Michael Koch <konqueror@gmx.de>
5944
5945 * javax/swing/ButtonGroup.java,
5946 javax/swing/ImageIcon.java,
5947 javax/swing/JEditorPane.java,
5948 javax/swing/JRootPane.java,
5949 javax/swing/JTextField.java,
5950 javax/swing/LookAndFeel.java,
5951 javax/swing/plaf/basic/BasicTextUI.java:
5952 Reindented.
5953
5954 2004-06-10 Michael Koch <konqueror@gmx.de>
5955
5956 * javax/swing/text/Style.java: Added javadocs.
5957
5958 2004-06-10 Michael Koch <konqueror@gmx.de>
5959
5960 * javax/swing/JComponent.java
5961 (fireVetoableChange): Removed redundant cast.
5962 * javax/swing/JLabel.java
5963 (getDisabledIcon): Save icon for next call.
5964
5965 2004-06-10 Michael Koch <konqueror@gmx.de>
5966
5967 * javax/swing/KeyStroke.java
5968 (getKeyStroke(char,boolean)): Marked deprecated.
5969
5970 2004-06-10 Michael Koch <konqueror@gmx.de>
5971
5972 * javax/swing/DefaultCellEditor.java,
5973 javax/swing/GrayFilter.java,
5974 javax/swing/event/DocumentEvent.java,
5975 javax/swing/text/JTextComponent.java,
5976 javax/swing/text/MutableAttributeSet.java:
5977 Reindented.
5978
5979 2004-06-10 Michael Koch <konqueror@gmx.de>
5980
5981 * javax/swing/plaf/BorderUIResource.java:
5982 Added serialVersionUID all over.
5983
5984 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5985
5986 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5987
5988 2004-06-10 Michael Koch <konqueror@gmx.de>
5989
5990 * javax/swing/table/DefaultTableCellRenderer.java
5991 (noFocusBorder): Initialize directly.
5992
5993 2004-06-10 Michael Koch <konqueror@gmx.de>
5994
5995 * javax/swing/plaf/basic/BasicArrowButton.java
5996 (setDirection): Use method argument.
5997
5998 2004-06-10 Michael Koch <konqueror@gmx.de>
5999
6000 * javax/swing/plaf/BorderUIResource.java,
6001 javax/swing/plaf/ComponentUI.java,
6002 javax/swing/undo/CompoundEdit.java,
6003 javax/swing/undo/StateEdit.java:
6004 Fixed javadocs all over.
6005
6006 2004-06-10 Michael Koch <konqueror@gmx.de>
6007
6008 * javax/swing/DefaultButtonModel.java
6009 (ARMED): Made public final, fixed value.
6010 (ENABLED): Likewise.
6011 (PRESSED): Likewise.
6012 (ROLLOVER): Likewise.
6013 (SELECTED): Likewise.
6014 (stateMask): Initialize directly.
6015 (listenerList): Likewise.
6016 (mnemonic): Likewise.
6017 (fireStateChanged): Removed argument, use changeEvent as event.
6018 All places where this method is called are fixed too.
6019 (getActionCommant): Fixed javadoc.
6020 (setGroup): Fixed javadoc.
6021 (getGroup): New method.
6022
6023 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6024
6025 * javax/swing/AbstractButton.java
6026 (AbstractButton): Use init() to initialize the button.
6027 (init): New Method. Initializes AbstractButton.
6028 * javax/swing/JMenuItem.java: Documented.
6029 (JMenuItem): Reimplemented.
6030 (init): Implemented.
6031 (setEnabled): Changed to call super.setEnabled()
6032 (processMouseEvent): Reimplemented.
6033 (fireMenuKeyPressed): Implemented.
6034 (fireMenuKeyReleased): Implemented.
6035 (fireMenuKeyTyped): Implemented.
6036 (menuSelectionChanged): disarm the model if the menu item was
6037 deselected.
6038 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6039 (getPath): Change to use ArrayList instead of Vector.
6040 (getPreferredSize): Renamed variable.
6041 (paintMenuItem): Paint margin area of menu item.
6042 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6043 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6044 menu item's bounds before clearing the selection.
6045
6046 2004-06-09 David Jee <djee@redhat.com>
6047
6048 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6049 (GtkTextComponentPeer): Set caret position to 0.
6050 * java/awt/TextComponent.java
6051 (setText): Set caret position to 0.
6052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6053 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6054 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6055 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6056 Likewise.
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6058 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6059 visible.
6060
6061 2004-06-09 Kim Ho <kho@redhat.com>
6062
6063 * Makefile.am: New files
6064 * Makefile.in: Regenerated
6065 * java/awt/Container.java
6066 (getComponentAt): Removed.
6067 * javax/swing/AbstractAction.java
6068 (ENABLED_PROPERTY): New property.
6069 (putValue): Fire PropertyChangeEvents.
6070 (setEnabled): ditto.
6071 (firePropertyChange): Javadoc and implement
6072 convenience method.
6073 * javax/swing/AbstractButton.java
6074 (setAction): Don't create PropertyChangeListener
6075 if new Action is null.
6076 (setIcon): Don't set icon till after comparing
6077 it.
6078 (configurePropertiesFromAction): Check mnemonic
6079 key before calling intValue().
6080 (createActionPropertyChangeListener): Check
6081 properties rather than bulk change.
6082 * javax/swing/DefaultDesktopManager.java:
6083 Implement.
6084 * javax/swing/DesktopManager.java:
6085 Jalopy and javadoc.
6086 * javax/swing/JComponent.java
6087 (fireVetoableChange): Implement.
6088 (paintImmediately): Use root component.
6089 * javax/swing/JDesktopPane.java: Implement
6090 * javax/swing/JInternalFrame.java: Implement
6091 * javax/swing/JLabel.java
6092 (getDisabledIcon): Return grayscaled icon if
6093 no disabled icon specified.
6094 * javax/swing/JMenuBar.java
6095 (getComponentAtIndex): Use getComponent
6096 * javax/swing/JOptionPane.java
6097 (getDesktopPaneForComponent): Use SwingUtilities'
6098 getAncestorOfClass
6099 (getFrameForComponent): ditto.
6100 * javax/swing/JSplitPane.java
6101 (remove): Use getComponent.
6102 * javax/swing/SwingUtilities.java
6103 (convertPoint): Implement.
6104 * javax/swing/plaf/basic/BasicButtonUI.java
6105 (paintButtonNormal): Check opaqueness before
6106 filling background.
6107 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6108 Implement
6109 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6110 Implement.
6111 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6112 Implement.
6113 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6114 Implement.
6115 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6116 Change InternalFrame and Desktop colors.
6117
6118 2004-06-09 David Jee <djee@redhat.com>
6119
6120 * java/awt/Container.java
6121 (remove): Do not set component to invisible.
6122
6123 2004-06-09 Michael Koch <konqueror@gmx.de>
6124
6125 * javax/swing/tree/DefaultMutableTreeNode.java
6126 (getLeafCount): Renamed enum to e.
6127
6128 2004-06-09 Michael Koch <konqueror@gmx.de>
6129
6130 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6131 (positionForMouseEvent): Removed redundant semicolon.
6132 (continueDrag): Use method arguments.
6133
6134 2004-06-09 Michael Koch <konqueror@gmx.de>
6135
6136 * javax/swing/border/TitledBorder.java,
6137 javax/swing/filechooser/FileSystemView.java,
6138 javax/swing/plaf/basic/BasicButtonListener.java,
6139 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6140 javax/swing/plaf/basic/BasicLabelUI.java,
6141 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6142 javax/swing/plaf/basic/BasicScrollBarUI.java,
6143 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6144 javax/swing/plaf/basic/BasicSliderUI.java,
6145 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6146 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6147 javax/swing/table/JTableHeader.java,
6148 javax/swing/text/AbstractDocument.java,
6149 javax/swing/text/DefaultCaret.java,
6150 javax/swing/text/StyledEditorKit.java,
6151 javax/swing/tree/DefaultTreeCellEditor.java:
6152 Reworked import statements.
6153
6154 2004-06-08 Graydon Hoare <graydon@redhat.com>
6155
6156 * javax/swing/Box.java: Temporarily comment out code
6157 broken due to visibility bug.
6158
6159 2004-06-09 Michael Koch <konqueror@gmx.de>
6160
6161 * javax/swing/ImageIcon.java
6162 (ImageIcon): Added missing constructor.
6163
6164 2004-06-08 Michael Koch <konqueror@gmx.de>
6165
6166 * javax/swing/JToggleButton.java
6167 (JToggleButton): New constructor.
6168 (getAccessibleContext): Moved documentation into javadoc.
6169 (getUIClassID): Likewise.
6170
6171 2004-06-08 Michael Koch <konqueror@gmx.de>
6172
6173 * javax/swing/AbstractButton.java
6174 (getDisabledIcon): Create disabled icon if none exists yet.
6175
6176 2004-06-08 Michael Koch <konqueror@gmx.de>
6177
6178 * javax/swing/plaf/basic/BasicLookAndFeel.java
6179 (initClassDefaults): Added FormattedTextFieldUI.
6180 (loadResourceBundle): Renamed enum to e.
6181
6182 2004-06-08 Michael Koch <konqueror@gmx.de>
6183
6184 * javax/swing/plaf/basic/BasicButtonUI.java
6185 (paintIcon): Simplified.
6186 (paintText): Paint disabled button correctly.
6187
6188 2004-06-08 Michael Koch <konqueror@gmx.de>
6189
6190 * javax/swing/JComponent.java
6191 (createToolTip): Use official JToolTip API.
6192
6193 2004-06-08 Michael Koch <konqueror@gmx.de>
6194
6195 * javax/swing/JToolTip.java
6196 (JToolTip): No arguments in API.
6197 (setTipText): New method.
6198
6199 2004-06-08 Michael Koch <konqueror@gmx.de>
6200
6201 * javax/swing/SwingUtilities.java
6202 (isLeftMouseButton): New method.
6203 (isMiddleMouseButton): New method.
6204 (isRightMouseButton): New method.
6205
6206 2004-06-08 Michael Koch <konqueror@gmx.de>
6207
6208 * javax/swing/AbstractButton.java,
6209 javax/swing/CellRendererPane.java,
6210 javax/swing/JCheckBoxMenuItem.java,
6211 javax/swing/JColorChooser.java,
6212 javax/swing/JComboBox.java,
6213 javax/swing/JComponent.java,
6214 javax/swing/JDesktopPane.java,
6215 javax/swing/JFileChooser.java,
6216 javax/swing/JMenu.java,
6217 javax/swing/JMenuItem.java,
6218 javax/swing/JOptionPane.java,
6219 javax/swing/JPasswordField.java,
6220 javax/swing/JPopupMenu.java,
6221 javax/swing/JProgressBar.java,
6222 javax/swing/JRadioButtonMenuItem.java,
6223 javax/swing/JScrollBar.java,
6224 javax/swing/JSeparator.java,
6225 javax/swing/JSlider.java,
6226 javax/swing/JSplitPane.java,
6227 javax/swing/JTabbedPane.java,
6228 javax/swing/JTextField.java,
6229 javax/swing/JToolBar.java,
6230 javax/swing/text/JTextComponent.java:
6231 Fixed all constructors of accessibility classes.
6232
6233 2004-06-08 Michael Koch <konqueror@gmx.de>
6234
6235 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6236 over.
6237
6238 2004-06-08 Michael Koch <konqueror@gmx.de>
6239
6240 * javax/swing/Box.java
6241 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6242 (AccessibleBoxFiller.serialVersionUID): New member variable.
6243 * javax/swing/DefaultButtonModel.java
6244 (stateMask): Made protected.
6245 (listenerList): Likewise.
6246 (changeEvent): Likewise.
6247 (group): Likewise.
6248 (mnemonic): Likewise.
6249 (actionCommand): Likewise.
6250 (getListeners): New method.
6251 (getActionListeners): New method.
6252 (getItemListeners): New method.
6253 (getChangeListeners): New method.
6254 (fireItemStateChanged): Simplified.
6255 (fireActionPerformed): Simplified.
6256 (fireStateChanged): Simplified.
6257 * javax/swing/JFrame.java
6258 (JFrame): Implements WindowContants.
6259 (HIDE_ON_CLOSE): Removed.
6260 (EXIT_ON_CLOSE): Removed.
6261 (DISPOSE_ON_CLOSE): Removed.
6262 (DO_NOTHING_ON_CLOSE): Removed.
6263 (processWindowEvent): Exit with code 0.
6264 (setDefaultCloseOperation): Do security check before setting value.
6265 * javax/swing/JOptionPane.java
6266 (message): Initialize only in constructor.
6267 * javax/swing/JToolTip.java: Removed unused imports.
6268 * javax/swing/JViewport.java
6269 (serialVersionUID): New member variable.
6270 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6271 (BLIT_SCROLL_MODE): Likewise.
6272 (BACKINGSTORE_SCROLL_MODE): Likewise.
6273 (scrollUnderway): Made protected.
6274 (isViewSizeSet): Likewise.
6275 * javax/swing/ListModel.java: Fixed javadoc.
6276 * javax/swing/Popup.java: Likewise.
6277 * javax/swing/RepaintManager.java
6278 (paintDirtyRegions): Don't use internal classes of
6279 java.util.AbstractMap.
6280 * javax/swing/ScrollPaneConstants.java: Reindented.
6281 * javax/swing/ScrollPaneLayout.java
6282 (viewport): Made protected.
6283 (verticalScrollBar): Made protected, renamed to vsb.
6284 (horizontalScrollBar): Made protected, renamed to hsb.
6285 (rowHeader): Made protected, renamed to rowHead.
6286 (columnHeader): Made protected, renamed to colHead.
6287 (lowerLeft): Made protected.
6288 (lowerRight): Made protected.
6289 (upperLeft): Made protected.
6290 (upperRight): Made protected.
6291 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6292 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6293
6294 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6295
6296 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6297 LOADING if flags has SOMEBITS set.
6298
6299 2004-06-07 Michael Koch <konqueror@gmx.de>
6300
6301 * javax/swing/AbstractButton.java: Reorganized imports.
6302 * javax/swing/ActionMap.java: Likewise.
6303 * javax/swing/DefaultButtonModel.java: Likewise.
6304 * javax/swing/DefaultListModel.java: Likewise.
6305 * javax/swing/ImageIcon.java: Likewise.
6306 (serialVersionUID): New member variable.
6307 * javax/swing/JComboBox.java: Reorganized imports.
6308 * javax/swing/JComponent.java: Likewise.
6309 (ui): Made protected.
6310 (listenerList): Made protected.
6311 (TOOL_TIP_TEXT_KEY): New constant.
6312 (scrollRectToVisible): Removed redundant null check.
6313 * javax/swing/JFrame.java: Reorganized imports.
6314 * javax/swing/JInternalFrame.java: Reorganized imports.
6315 * javax/swing/JProgressBar.java: Likewise.
6316 * javax/swing/JRootPane.java: Likewise.
6317 * javax/swing/JScrollBar.java: Likewise.
6318 * javax/swing/JSeparator.java: Likewise.
6319 * javax/swing/JSlider.java: Likewise.
6320 * javax/swing/JTabbedPane.java: Likewise.
6321 * javax/swing/JTextField.java: Likewise.
6322 * javax/swing/JToolBar.java: Likewise.
6323 * javax/swing/JTree.java: Likewise.
6324 * javax/swing/JViewport.java: Likewise.
6325 * javax/swing/JWindow.java: Likewise.
6326 * javax/swing/KeyStroke.java: Likewise.
6327 * javax/swing/LookAndFeel.java: Likewise.
6328 * javax/swing/MenuSelectionManager.java: Likewise.
6329 * javax/swing/SwingUtilities.java: Likewise.
6330 * javax/swing/Timer.java: Likewise.
6331 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6332 * javax/swing/JList.java
6333 (HORIZONTAL_WRAP): Made final, fixed value.
6334 (VERTICAL): Likewise.
6335 (VERTICAL_WRAP): Likewise.
6336
6337 2004-06-07 Michael Koch <konqueror@gmx.de>
6338
6339 * javax/swing/AbstractButton.java
6340 (serialVersionUID): New member variable.
6341 (AccessibleAbstractButton.serialVersionUID): Likewise.
6342 (AbstractButton): Made public.
6343 * javax/swing/Box.java
6344 (AccessibleBox.serialVersionUID): New member variable.
6345 (Filler.serialVersionUID): Likewise.
6346 * javax/swing/DefaultListSelectionModel.java
6347 (serialVersionUID): Likewise.
6348 * javax/swing/JApplet.java
6349 (serialVersionUID): Likewise.
6350 * javax/swing/JCheckBox.java
6351 (serialVersionUID): Likewise.
6352 * javax/swing/JCheckBoxMenuItem.java
6353 (serialVersionUID): Likewise.
6354 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6355 * javax/swing/JColorChooser.java
6356 (serialVersionUID): Likewise.
6357 (AccessibleJColorChooser.serialVersionUID): Likewise.
6358 * javax/swing/JComponent.java
6359 (serialVersionUID): Made private.
6360 (AccessibleJComponent.serialVersionUID): New member variable.
6361 * javax/swing/JDesktopPane.java
6362 (serialVersionUID): Likewise.
6363 * javax/swing/JDialog.java
6364 (serialVersionUID): Likewise.
6365 * javax/swing/JFormattedTextField.java
6366 (serialVersionUID): Fixed value.
6367 * javax/swing/JFrame.java
6368 (serialVersionUID): New member variable.
6369 (getDefaultCloseOpertation): Made public.
6370 * javax/swing/JLayeredPane.java
6371 (serialVersionUID): Likewise.
6372 (LAYER_PROPERTY): Made final, fixed value.
6373 (JLayeredPane): Made public.
6374 * javax/swing/JMenu.java
6375 (AccessibleJMenu.serialVersionUID): New member variable.
6376 (WinListener.serialVersionUID): Likewise.
6377 * javax/swing/JMenuBar.java
6378 (serialVersionUID): Likewise.
6379 (getComponentAtIndex): Added @deprecated tag.
6380 * javax/swing/JMenuItem.java
6381 (serialVersionUID): New member variable.
6382 (AccessibleJMenuItem.serialVersionUID): Likewise.
6383 * javax/swing/JOptionPane.java
6384 (serialVersionUID): Likewise.
6385 (AccessibleJOptionPane.serialVersionUID): Likewise.
6386 * javax/swing/JPopupMenu.java
6387 (serialVersionUID): Likewise.
6388 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6389 (getPopupMenuListeners): New method.
6390 (getComponentAtIndex): Added @deprecated tag.
6391 * javax/swing/JProgressBar.java
6392 (serialVersionUID): New member variable.
6393 (AccessibleJProgressBar.serialVersionUID): Likewise.
6394 * javax/swing/JRadioButton.java
6395 (serialVersionUID): Likewise.
6396 * javax/swing/JRadioButtonMenuItem.java
6397 (serialVersionUID): Likewise.
6398 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6399 * javax/swing/JScrollBar.java
6400 (serialVersionUID): Likewise.
6401 (AccessibleJScrollBar.serialVersionUID): Likewise.
6402 * javax/swing/JSeparator.java
6403 (serialVersionUID): Likewise.
6404 (AccessibleJSeparator.serialVersionUID): Likewise.
6405 * javax/swing/JSlider.java: Fixed javadocs.
6406 (AccessibleJSlider.serialVersionUID): New member variable.
6407 * javax/swing/JSplitPane.java: Added copyright statement.
6408 (serialVersionUID): New member variable.
6409 (AccessibleJSplitPane.serialVersionUID): Likewise.
6410 * javax/swing/JTabbedPane.java
6411 (serialVersionUID): Likewise.
6412 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6413 (ModelListener.serialVersionUID): Likewise.
6414 (ModelListener.ModelListener): New constructor.
6415 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6416 (WRAP_TAB_LAYOUT): Likewise.
6417 * javax/swing/JTable.java
6418 (serialVersionUID): New member variable.
6419 * javax/swing/JToggleButton.java
6420 (serialVersionUID): Likewise.
6421 (ToggleButtonModel): Made static.
6422 (ToggleButtonModel.serialVersionUID): New member variable.
6423 * javax/swing/JToolTip.java
6424 (serialVersionUID): Likewise.
6425 * javax/swing/JTree.java
6426 (serialVersionUID): Likewise.
6427 * javax/swing/JWindow.java
6428 (serialVersionUID): Likewise.
6429 * javax/swing/Timer.java
6430 (serialVersionUID): Likewise.
6431
6432 2004-06-06 Michael Koch <konqueror@gmx.de>
6433
6434 * javax/swing/SwingConstants.java
6435 (NEXT): New constant.
6436 (PREVIOUS): Likewise.
6437 * javax/swing/UIManager.java
6438 (LookAndFeel): Made public.
6439 (LookAndFeel.getClassName): Likewise.
6440 (LookAndFeel.getName): Likewise.
6441
6442 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6443
6444 * javax/swing/JCheckBoxMenuItem.java:
6445 Removed CVS tags.
6446 * javax/swing/JMenu.java: Likewise.
6447 * javax/swing/JMenuBar.java: Likewise.
6448 * javax/swing/JMenuItem.java: Likewise.
6449 * javax/swing/JPopupMenu.java: Likewise.
6450 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6451 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6452 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6453 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6454 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6455 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6456 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6457
6458 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6459
6460 * javax/swing/plaf/basic/BasicMenuUI.java:
6461 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6462 Call getPath() from super class instead.
6463
6464 2004-05-31 David Jee <djee@redhat.com>
6465
6466 * java/awt/Container.java
6467 (remove): Set component visibility to false after removing it.
6468
6469 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6470
6471 * java/awt/Component.java (getForeground): Return SystemColor if
6472 parent is null.
6473 (getBackground): Likewise.
6474
6475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6476 (item_highlighted): New function.
6477 (connectSignals): Set item_highlighted as list's select
6478 function.
6479
6480 * java/applet/Applet.java: Revert changes from 2004-04-29,
6481 2004-03-15 and 2004-03-14.
6482
6483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6484 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6485 factor.
6486
6487 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6488 "Dialog" as the default font.
6489 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6490 Likewise.
6491 * java/awt/Component.java (getFont): Return "Dialog" font by
6492 default.
6493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6494 Multiply size argument to pango_font_description_set_size by the
6495 DPI conversion factor rather than by PANGO_SCALE.
6496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6506 Divide baseline y coordinate by DPI conversion factor rather
6507 than by PANGO_SCALE.
6508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6509 (area_prepared): Fix typo.
6510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6511 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6513 (dpi_conversion_factor): New global variable.
6514 (init_dpi_conversion_factor): New function to calculate and
6515 track DPI conversion factor.
6516 (dpi_changed_cb): New callback.
6517 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6518
6519 2004-05-27 David Jee <djee@redhat.com>
6520
6521 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6522 (getGraphics): Return a new GdkGraphics instance.
6523 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6524 (getGraphics): Call super.getGraphics().
6525
6526 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6527
6528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6529 (setNativeBounds): Clamp width and height values to >= 0.
6530
6531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6532 (find_fg_color_widget): Handle GtkOptionMenu specially.
6533
6534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6535 (pre_event_handler): Only post configure events to visible
6536 top-level windows.
6537
6538 2004-05-26 David Jee <djee@redhat.com>
6539
6540 * java/awt/BorderLayout.java
6541 (layoutContainer): Fix size calculations.
6542
6543 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6544
6545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6546 (window_wm_protocols_filter): Remove function.
6547 (create): Remove filter that removes WM_TAKE_FOCUS client
6548 messages.
6549
6550 2004-06-17 Anthony Green <green@redhat.com>
6551
6552 * java/util/zip/ZipFile.java (getInputStream): Return null if
6553 entry not found.
6554
6555 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6556 directory contents to the class path.
6557
6558 2004-06-15 Andrew Haley <aph@redhat.com>
6559
6560 * java/lang/natSystem.cc (getenv0): Don't assume environment
6561 variable is Latin 1 coded.
6562
6563 2004-06-14 Andreas Jaeger <aj@suse.de>
6564
6565 * configure.in: Support --enable-version-specific-runtime-libs.
6566 * configure: Regenerated.
6567
6568 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6569
6570 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6571 to pass ClassLoader argument.
6572 * java/util/GregorianCalendar.java: Likewise.
6573 * java/util/Currency.java: Likewise.
6574 * java/text/BreakIterator.java: Likewise.
6575 * java/text/Collator.java: Likewise.
6576 * java/text/DateFormat.java: Likewise.
6577 * java/text/DateFormatSymbols.java: Likewise.
6578 * java/text/DecimalFormatSymbols.java: Likewise.
6579 * java/text/NumberFormat.java: Likewise.
6580 * java/awt/Window.java: Likewise.
6581
6582 2004-06-14 Andrew Haley <aph@redhat.com>
6583
6584 * java/lang/System.java: (getenv0): New method.
6585 (getenv): Add security check. Do the right thing.
6586 * java/lang/natSystem.cc (getenv0): New method.
6587
6588 2004-06-12 Mark Wielaard <mark@klomp.org>
6589
6590 * javax/swing/RepaintManager.java
6591 (paintDirtyRegions): Use entrySet(), not values().
6592
6593 2004-06-10 Mark Wielaard <mark@klomp.org>
6594
6595 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6596 NoSuchMethodError.
6597
6598 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6599
6600 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6601 when we already know the answer.
6602 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6603 (setStartRule,setEndRule): Don't take abs of day number.
6604 (getOffset): Clarify docs. Add argument checks.
6605 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6606 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6607 endTimeMode.
6608
6609 2004-06-10 Tom Tromey <tromey@redhat.com>
6610
6611 * interpret.cc (run): Handle wide fload.
6612
6613 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6614
6615 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6616
6617 2004-06-05 Michael Koch <konqueror@gmx.de>
6618
6619 * javax/swing/SwingConstants.java
6620 (NEXT): New constant.
6621 (PREVIOUS): Likewise.
6622
6623 2004-06-05 Michael Koch <konqueror@gmx.de>
6624
6625 * javax/swing/UIManager.java
6626 (LookAndFeel): Made public.
6627 (LookAndFeel.getName): Likewise.
6628 (LookAndFeel.getClassName): Likewise.
6629
6630 2004-06-03 Michael Koch <konqueror@gmx.de>
6631
6632 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6633 (requestFocus): Revert last changes.
6634 (gtkRequestFocus): Removed.
6635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6636 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6637 Renamed to ...
6638 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6639 Reverted last patch.
6640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6641 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6642 Reverted comment change.
6643
6644 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6645
6646 * javax/swing/JCheckBoxMenuItem.java:
6647 Removed CVS tags.
6648 * javax/swing/JMenu.java: Likewise.
6649 * javax/swing/JMenuBar.java: Likewise.
6650 * javax/swing/JMenuItem.java: Likewise.
6651 * javax/swing/JPopupMenu.java: Likewise.
6652 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6653 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6654 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6655 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6656 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6657 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6658 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6659
6660 2004-06-01 Tom Tromey <tromey@redhat.com>
6661
6662 * java/io/ObjectStreamField.java: Cleaned up imports.
6663
6664 2004-06-01 Michael Koch <konqueror@gmx.de>
6665
6666 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6667
6668 2004-06-01 Mark Wielaard <mark@klomp.org>
6669
6670 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6671
6672 2004-06-01 Michael Koch <konqueror@gmx.de>
6673
6674 * java/security/Security.java
6675 (insertProviderAt): Use equals() instead of ==.
6676 (removeProvicer): Likewise.
6677 (getProvider): Likewise.
6678 * java/security/Signature.java
6679 (sign): Don't set state to UNINITIALIZED.
6680 (verify): Likewise.
6681
6682 2004-06-01 Mark Wielaard <mark@klomp.org>
6683
6684 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6685 Implement by calling gtkRequestFocus.
6686 (gtkRequestFocus): New native method.
6687 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6688 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6689 Renamed to ...
6690 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6691 New function name.
6692 (filter_expose_event_handler):
6693 Mark static.
6694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6695 (menu_pos): Mark static.
6696
6697 2004-06-01 Michael Koch <konqueror@gmx.de>
6698
6699 * java/text/CollationElementIterator.java,
6700 java/text/CollationKey.java,
6701 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6702 * testsuite/libjava.mauve/xfails: Removed all
6703 java.text.CollationElementIterator tests.
6704
6705 2004-06-01 Michael Koch <konqueror@gmx.de>
6706
6707 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6708 version.
6709 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6710 Java 1.5 keyword usage.
6711
6712 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6713
6714 * javax/swing/plaf/basic/BasicMenuUI.java:
6715 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6716 Call getPath() from super class instead.
6717
6718 2004-05-31 Michael Koch <konqueror@gmx.de>
6719
6720 * java/io/SequenceInputStream.java:
6721 Rename enum to e because enum is a keyword in Java 1.5.
6722
6723 2004-05-31 Michael Koch <konqueror@gmx.de>
6724
6725 * gnu/java/rmi/rmic/CompilerProcess.java:
6726 Fixed javadoc to by XHTML compliant.
6727
6728 2004-05-30 Mark Wielaard <mark@klomp.org>
6729
6730 * java/awt/Toolkit.java (loadSystemColors): Implement.
6731
6732 2004-05-30 Michael Koch <konqueror@gmx.de>
6733
6734 * java/lang/System.java: Reordered imports.
6735
6736 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6737
6738 * java/text/DecimalFormat.java
6739 (parse): Fixed parsing of decimal strings. Number of maximum
6740 digits to be read should now work.
6741 * java/text/SimpleDateFormat.java
6742 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6743 formatter. This fixes DateFormatTest.
6744
6745 2004-05-30 Michael Koch <konqueror@gmx.de>
6746
6747 * java/nio/Buffer.java
6748 (limit): Fixed off by one error.
6749 * java/nio/CharBuffer.java
6750 (wrap): Fixed arguments, added javadocs.
6751
6752 2004-05-30 Michael Koch <konqueror@gmx.de>
6753
6754 * gnu/java/beans/BeanInfoEmbryo.java,
6755 java/awt/im/InputContext.java,
6756 javax/swing/tree/DefaultMutableTreeNode.java:
6757 Rename enum to e because enum is a keyword in Java 1.5.
6758
6759 2004-05-30 Michael Koch <konqueror@gmx.de>
6760
6761 * gnu/java/math/MPN.java,
6762 java/awt/geom/Arc2D.java:
6763 Fixed javadocs all over.
6764
6765 2004-05-30 Michael Koch <konqueror@gmx.de>
6766
6767 * java/awt/DefaultKeyboardFocusManager.java
6768 (dispatchEvent): Call method to get key event dispatchers.
6769 (dispatchKeyEvent): Call method to get key event post processors.
6770 * javax/swing/JComponent.java
6771 (listenerList): Made protected.
6772 * javax/swing/JOptionPane.java
6773 (message): Don't initialize.
6774 (JOptionPane): Set message text.
6775 * javax/swing/JPopupMenu.java
6776 (show): Fixed typo in argument name.
6777 * javax/swing/RepaintManager.java
6778 (paintDirtyRegions): Use public API of java.util.Map.
6779 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6780 (positionForMouseEvent): Removed redundant ';'.
6781 (continueDrag): Use method arguments.
6782
6783 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6784
6785 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6786 results.
6787
6788 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6789
6790 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6791 _Jv_AllocBytes.
6792 * gnu/gcj/RawDataManaged.java: New file.
6793 * java/lang/Thread.java (data): Declare as RawDataManaged.
6794 * java/lang/natThread.cc (init_native): Cast natThread data to
6795 RawDataManaged, not jobject.
6796 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6797 * Makefile.in: Rebuilt.
6798
6799 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6800
6801 * java/util/SimpleTimeZone.java: Reverting my last change until I
6802 can fix it properly.
6803
6804 2004-05-27 Michael Koch <konqueror@gmx.de>
6805
6806 * javax/swing/JPopupMenu.java
6807 (isVisible): Do not use visible directly.
6808 (setVisible): Likewise.
6809 * javax/swing/JWindow.java
6810 (JWindow): call accessible constructor.
6811 * javax/swing/RepaintManager.java
6812 (paintDirtyRegions): Use public methods to obtain iterator.
6813
6814 2004-05-25 David Jee <djee@redhat.com>
6815
6816 * java/awt/Container.java
6817 (remove): Set component's parent to null only after we removed the
6818 component from its parent's layout manager.
6819
6820 2004-05-25 David Jee <djee@redhat.com>
6821
6822 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6823 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6824 is valid.
6825 * gnu/java/awt/peer/gtk/GtkListPeer.java
6826 (getSize): Change native method declaration.
6827 (minimumSize): Pass visible row count into getSize().
6828 (preferredSize): Likewise.
6829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6830 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6831 natural size. Use visible row count to determine the final height
6832 value to return.
6833
6834 2004-05-21 Graydon Hoare <graydon@redhat.com>
6835
6836 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6837 (setClip): Minor correction to order of operations.
6838
6839 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6840 * javax/swing/ScrollPaneLayout.java: Likewise.
6841 * javax/swing/JViewPort.java: Likewise.
6842 * javax/swing/ViewportLayout.java: Likewise.
6843
6844 * javax/swing/JComponent.java: Rewrite.
6845 * javax/swing/RepaintManager.java: Likewise.
6846
6847 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6848 * javax/swing/JList.java
6849 (setSelectedIndices):
6850 (getSelectedIndices):
6851 (getSelectedValues): New functions.
6852 (getPreferredScrollableViewportSize): Return preferred size.
6853 (getScrollableUnitIncrement):
6854 (getScrollableBlockIncrement): Initial implementations.
6855 * javax/swing/JRootPane.java: Clean up slightly.
6856 (getUI):
6857 (setUI):
6858 (updateUI):
6859 (getUIClassID):
6860 (isValidateRoot): Add overrides from JComponent.
6861 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6862 * javax/swing/UIManager.java (getDimension): Return the dimension.
6863
6864 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6865 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6866 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6867 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6868 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6869 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6870 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6871 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6872 Likewise, and set background.
6873 * javax/swing/plaf/basic/BasicListUI.java:
6874 Likewise, and improve a bit.
6875 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6876 Likewise, and adjust calculations.
6877 * javax/swing/plaf/basic/BasicViewportUI.java:
6878 Likewise, and improve a bit.
6879 * javax/swing/plaf/basic/BasicLookAndFeel.java
6880 (Button.margin): Shrink.
6881
6882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6883 Hack to set horizontal always, workaround pango.
6884
6885 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6887 Synchronize more often, check cairo status after ops,
6888 handle changes to cairo pattern API, check for disposal.
6889
6890 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6891
6892 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6893 (BasicMenuItemUI): Create propertyChangeListener.
6894 (getPath):Implemented.
6895 (installListeners): Add propertyChangeListener to menuItem.
6896 (uninstallListeners): Remove propertyChangeListener from menuItem.
6897 (update): Implemented.
6898 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6899 (mouseEntered): Take insets of popup menu into account when
6900 calculating position of popup menu.
6901
6902 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6903
6904 * Makefile.am: Added new file.
6905 * Makefile.in: Regenerate.
6906 * javax/swing/JMenuBar.java:
6907 Started implementation.
6908 * javax/swing/JPopupMenu.java:
6909 (setVisible): Fixed location of lightweight/mediumweight
6910 popup menu.
6911 (show): Fixed location of PopupMenu.
6912 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6913 New file. UI Delegate for JMenuBar.
6914 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6915 (mouseEntered): Corrected position of the submenu.
6916
6917 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6918
6919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6920 to _gtk_accel_group_attach.
6921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6922 Likewise.
6923
6924 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6925 package access. Don't override setFont.
6926 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6927 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6928 gtkWidgetRequestFocus package access.
6929 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6930 setFont.
6931 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6932 Give gtkWidgetRequestFocus package access.
6933 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6934 gtkWidgetRequestFocus package access. Don't override setFont.
6935 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6936 setFont.
6937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6938 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6939 region.
6940 (gtkSetFont): Likewise.
6941 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6942 Implement.
6943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6944 (gtkSetFont): Whitespace fix.
6945
6946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6947 (gtkWidgetSetUsize): Remove method.
6948
6949 2004-05-18 David Jee <djee@redhat.com>
6950
6951 * java/awt/image/MemoryImageSource.java
6952 (newPixels(int,int,int,int,boolean)): Set only the specified
6953 rectangle of pixels.
6954 (newPixels(byte[],ColorModel,int,int)): Implement.
6955 (newPixels(int[],ColorModel,int,int)): Implement.
6956
6957 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6958
6959 * Makefile.am: Added new file.
6960 * Makefile.in: Regenerate.
6961 * javax/swing/JMenu.java: Started
6962 implementation.
6963 * javax/swing/JPopupMenu.java:
6964 (insert): If specified index is -1, then
6965 add component at the end.
6966 (isPopupTrigger): Reimplemented.
6967 (JPopupMenu.LightWeightPopup): setBounds
6968 of the lightWeightPopup before adding it
6969 to the layeredPane.
6970 (javax/swing/plaf/basic/BasicIconFactory.java):
6971 (getMenuArrowIcon): Implemented.
6972 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6973 (getPreferredSize): Add size of the arrow icon
6974 if this menu item is instance of JMenu.
6975 (paintMenuItem): Paint arrow icon if this
6976 menu item is a submenu.
6977 * javax/swing/plaf/basic/BasicMenuUI.java:
6978 New File. UI Delegate for JMenu.
6979
6980 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6981
6982 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6983 Post KEY_TYPED events.
6984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6985 (generates_key_typed_event): Remove function.
6986
6987 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6988
6989 * javax/swing/JRootPane.java
6990 (JRootPane.RootLayout): Reimplemented to
6991 set bounds of contentPane and menuBar.
6992 (setJMenuBar): Add menu bar to the layered pane.
6993 (createLayeredPane): Set layout of layeredPane
6994 to null.
6995 * javax/swing/JLayeredPane.java:
6996 (addImpl): Calculate index of the component in the
6997 layeredPane according to the specified position within
6998 the layer.
6999
7000 2004-05-17 David Jee <djee@redhat.com>
7001
7002 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7003 (setPixels): Change color model to the default model after
7004 converting pixels.
7005 * java/awt/image/MemoryImageSource.java
7006 (newPixels): Set only the specified rectangle of pixels.
7007
7008 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7009
7010 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7011 -l-java-beans -l-javax-accessibility -l-javax-swing.
7012
7013 * java/awt/AWTEvent.java (toString): Print source's name rather
7014 than the source itself.
7015
7016 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7017
7018 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7019 native.
7020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7021 (gdk_color_to_java_color): New function.
7022 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7023
7024 2004-05-12 David Jee <djee@redhat.com>
7025
7026 * java/awt/image/RGBImageFilter.java:
7027 Initialize origmodel as null.
7028 (makeColor): Fix pixel component order.
7029 (filterRGBPixels): Fix pixel iteration.
7030 (setPixels): Add extra checks for index color model. Convert pixels
7031 to default color model if necessary.
7032 (convertColorModelToDefault): New override method for byte pixels.
7033 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7034 (makeColorbyDefaultCM): New override method for byte pixels.
7035 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7036 (makeColor): Fix pixel component order.
7037
7038 2004-05-11 Kim Ho <kho@redhat.com>
7039
7040 * javax/swing/Box.java:
7041 Comment out more parts of Box.Filler.
7042
7043 2004-05-11 Kim Ho <kho@redhat.com>
7044
7045 * javax/swing/Box.java:
7046 Remove reference to AccessibleAWTComponent so
7047 it compiles again.
7048
7049 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7050
7051 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7052 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7053 implementation of list peer to use GtkTreeView instead of
7054 deprecated GtkCList.
7055
7056 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7057
7058 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7059 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7060 (handleEvent): Remove keyChar argument to
7061 gtkWidgetDispatchKeyEvent calls.
7062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7063 compiler warnings.
7064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7067 Likewise.
7068
7069 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7070
7071 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7072 (gtkWidgetRequestFocus): Mark protected.
7073 (GtkComponentPeer): Only set the peer's bounds if its component
7074 is valid.
7075 * java/awt/Component.java (static): Set the default keyboard
7076 focus manager.
7077 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7078 requestFocusInWindow(temporary)): Don't request focus if the
7079 component is not showing. Get tree lock before traversing
7080 component hierarchy.
7081 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7082 Only set the global focus owner if it is not a Window.
7083 (processKeyEvent): Consume keystrokes associated with the focus
7084 traversal keystroke.
7085 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7086 downFocusCycle): Call requestFocusInWindow instead of
7087 requestFocus.
7088 * java/awt/EventDispatchThread.java (run): Move setting of
7089 default keyboard focus manager to Component.java.
7090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7091 (awt_keycode_to_keysym): New function.
7092 (gtkWidgetDispatchKeyEvent): Finish implementation.
7093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7094 (pre_event_handler): Add FIXME comment.
7095
7096 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7097 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7098 (gtkWidgetRequestFocus): New method.
7099 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7100 disable Tab and Shift-Tab keystrokes.
7101 (addNotify, appendText, insertText, replaceText): Simplify peer
7102 retrieval code.
7103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7104 (connectSignals): Remove connections to "commit" signals.
7105 Remove C++-style comments.
7106
7107 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7108 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7109 (handleEvent): Activate GTK button when the space bar key is
7110 pressed.
7111 (gtkActivate): New method.
7112
7113 2004-05-06 David Jee <djee@redhat.com>
7114
7115 * java/awt/image/CropImageFilter.java
7116 (setPixels): Implement for byte array pixels.
7117 * java/awt/image/ReplicateScaleFilter.java
7118 (setPixels): Implement for byte array pixels.
7119 (replicatePixels): Overload for byte array pixels.
7120
7121 2004-05-06 Kim Ho <kho@redhat.com>
7122
7123 * javax/swing/Box.java:
7124 (getAccessibleContext): Return an instance of the
7125 correct class.
7126
7127 2004-05-05 David Jee <djee@redhat.com>
7128
7129 * gnu/java/awt/peer/gtk/GdkGraphics.java
7130 (drawImage): When component is null, use SystemColor.window as
7131 the default bgcolor.
7132 * gnu/java/awt/peer/gtk/GtkImage.java
7133 (setPixels): We can avoid iterating through the pixel rows only
7134 when height is 1.
7135 * java/awt/Image.java
7136 (getScaledInstance): Partially implement.
7137 * java/awt/image/CropImageFilter.java
7138 (setProperties): Fix "filter" property.
7139 (setPixels): Implement.
7140 * java/awt/image/ReplicateScaleFilter.java
7141 (setDimensions): Use scaled dimensions.
7142 (setPixels): Implement.
7143 (replicatePixels): New method.
7144
7145 2004-05-05 David Jee <djee@redhat.com>
7146
7147 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7148 (convertPixels): If either pixels or model is null, return null.
7149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7150 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7151 is null, do nothing and return.
7152
7153 2004-05-03 Kim Ho <kho@redhat.com>
7154
7155 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7156 (getGraphics): Like GtkFramePeer, the Graphics
7157 object needs to be translate to account for
7158 window decorations.
7159 (postMouseEvent): New method. Account for
7160 translation.
7161 (postExposeEvent): ditto.
7162 * javax/swing/Box.java: Stubbed.
7163 * javax/swing/JDialog.java: Ran through jalopy
7164 to fix indentation.
7165 (JDialog): Call SwingUtilities' getOwnerFrame
7166 for null owners.
7167 (setLayout): Check isRootPaneCheckingEnabled
7168 * javax/swing/JOptionPane.java: Re-implemented.
7169 * javax/swing/SwingUtilities.java:
7170 (getOwnerFrame): Static method to grab a default
7171 owner frame for Dialogs that don't specify owners.
7172 * javax/swing/event/SwingPropertyChangeSupport.java:
7173 (firePropertyChange): Fix early exit condition.
7174 * javax/swing/plaf/basic/BasicLabelUI.java:
7175 (paint): Avoid painting text if it is null
7176 or empty.
7177 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7178 Implement.
7179
7180 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7181
7182 * Makefile.am: Added new file.
7183 * Makefile.in: Regenerate.
7184 * javax/swing/JPopupMenu.java:
7185 Started implementation.
7186 * javax/swing/JWindow.java
7187 (JWindow): call super() if parent for window
7188 is not specified.
7189 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7190 New File. UI Delegate for JPopupMenu.
7191
7192 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7193
7194 * javax/swing/JApplet.java: Indicated that JApplet
7195 implements RootPaneContainer and made method of this
7196 interface public.
7197 * javax/swing/JFrame.java: Ditto.
7198 * javax/swing/JWindow.java: Ditto.
7199
7200 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7201
7202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7203 (nativeSetBounds): Call gdk_window_move in addition to
7204 gtk_window_move.
7205
7206 * java/applet/Applet.java (preferredSize): Call parent's
7207 preferredSize if the applet stub is null.
7208 (minimumSize): Likewise for parent's minimumSize.
7209
7210 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7211
7212 * javax/swing/JMenuItem.java
7213 (createActionPropertyChangeListener): Implemented.
7214 (processMouseEvent): Ditto.
7215 (fireMenuDragMouseEntered): Ditto.
7216 (fireMenuDragMouseExited): Ditto.
7217 (fireMenuDragMouseDragged): Ditto.
7218 (fireMenuDragMouseReleased): Ditto.
7219 (menuSelectionChanged): Ditto.
7220 (getSubElements): Ditto.
7221 (getComponent): Ditto.
7222 (addMenuDragMouseListener): Ditto.
7223 (removeMenuDragMouseListener):Ditto.
7224 (addMenuKeyListener): Ditto.
7225 (removeMenuKeyListener): Ditto.
7226 * javax/swing/plaf/basic/BasicMenuItemUI.java
7227 (doClick): Imlemented.
7228 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7229 Don't handle mouse events here. Pass them to
7230 MenuSelectionManager.
7231
7232 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7233 Used correct version of jalopy configuration
7234 file to fix style in the files below.
7235
7236 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7237
7238 * javax/swing/JCheckBoxMenuItem.java:
7239 Fixed style and removed unnecessary comments.
7240 * javax/swing/JMenuItem.java: Ditto.
7241 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7242 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7243 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7244 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7245
7246 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7247
7248 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7249 C-style.
7250
7251 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7252
7253 * java/awt/ContainerOrderFocusTraversalPolicy.java
7254 (getComponentAfter): Start from current component and work up
7255 the component hierarchy until an acceptable component is found.
7256 Synchronize on tree lock.
7257 (getComponentBefore): Likewise.
7258
7259 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7260
7261 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7262 focus-related debugging messages.
7263 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7264 * java/awt/EventDispatchThread.java: Likewise.
7265 * java/awt/KeyboardFocusManager.java: Likewise.
7266 * java/awt/Window.java: Likewise.
7267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7269
7270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7271 new C++-style comments to C-style comments.
7272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7273
7274 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7275 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7276 (handleEvent): Dispatch key press and key release events to
7277 backing widget.
7278 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7279 (gtkWidgetRequestFocus): New method.
7280 (gtkWidgetDispatchKeyEvent): Likewise.
7281 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7282 requestFocusInWindow, requestFocusInWindow(boolean),
7283 getFocusCycleRootAncestor, nextFocus, transferFocus,
7284 transferFocusBackward, transferFocusUpCycle, hasFocus,
7285 isFocusOwner): Implement and document focus-handling methods.
7286 (setFocusTraversalKeys): Inherit focus traversal keys when
7287 keystrokes argument is null. Fix focus-handling documentation
7288 throughout class.
7289 * java/awt/Container.java (setFocusTraversalKeys,
7290 getFocusTraversalKeys, areFocusTraversalKeysSet,
7291 isFocusCycleRoot, setFocusTraversalPolicy,
7292 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7293 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7294 Implement and document focus-handling methods.
7295 (transferFocusBackward): Remove method.
7296 (readObject, writeObject): Implement and document serialization
7297 methods.
7298 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7299 and document.
7300 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7301 document.
7302 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7303 partially document.
7304 * java/awt/EventDispatchThread.java (run): Set default keyboard
7305 focus manager. Attempt to dispatch each event to the keyboard
7306 focus manager before normal dispatch.
7307 * java/awt/KeyboardFocusManager.java: Implement and partially
7308 document.
7309 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7310 (show): Focus initial component when window is shown for the
7311 first time.
7312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7313 (pre_event_handler): Replace complex key press and key release
7314 logic with simple callbacks into GtkComponentPeer.
7315 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7316
7317 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7318
7319 * javax/swing/MenuSelectionManager.java
7320 (componentForPoint): Added new method.
7321 (defaultManager): New Method. Implemented.
7322 (getSelectedPath): Ditto.
7323 (isComponentPartOfCurrentMenu): Ditto.
7324 (processKeyEvent): Added new method.
7325 (processMouseEvent): New Method. Implemented.
7326 (setSelectedPath): Ditto.
7327 (getPath): Ditto.
7328
7329 2004-04-19 Kim Ho <kho@redhat.com>
7330
7331 * java/awt/Container.java:
7332 (remove): Set the component's parent to null.
7333 (getComponentAt): Implement.
7334 * javax/swing/JComponent.java:
7335 (JComponent): Initialize defaultLocale
7336 (getDefaultLocale): Implement.
7337 (setDefaultLocale): ditto.
7338 * javax/swing/JSlider.java:
7339 (JSlider): Fix calculation of value.
7340 * javax/swing/JSplitPane.java: Implement.
7341 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7342 Change SplitPane's default divider size.
7343 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7344 (paint): Remove unused code.
7345 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7346 Added comments and ran through jalopy.
7347 (setBasicSplitPaneUI): Get reference to hidden divider
7348 and set up one touch buttons if necessary.
7349 (setBorder): Fire propertyChangeEvent only if
7350 borders are different.
7351 (getPreferredSize): Defer to layout manager.
7352 (propertyChange): Implement.
7353 (oneTouchExpandableChanged): ditto.
7354 (createLeftOneTouchButton): Use BasicArrowButton.
7355 (createRightOneTouchButton): ditto.
7356 (moveDividerTo): New method. Moves the divider
7357 to a set location based on the last divider location.
7358 (BasicSplitPaneDivider::MouseHandler): Implement.
7359 (BasicSplitPaneDivider::OneTouchButton): Removed.
7360 (BasicSplitPaneDivider::DragController): Implement.
7361 (BasicSplitPaneDivider::VerticalDragController):
7362 ditto.
7363 (BasicSplitPaneDivider::DividerLayout): ditto.
7364 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7365 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7366 (calculateLayoutInfo): Don't show component if it's
7367 null.
7368 (paintTab): Fix title paint logic.
7369
7370 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7371
7372 PR libgcj/8321
7373 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7374 (setStartRule,setEndRule): Don't take abs of day number.
7375 (getOffset): Clarify docs. Add argument checks.
7376 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7377 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7378 endTimeMode.
7379 * testsuite/libjava.mauve/xfails
7380 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7381
7382 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7383
7384 Layout interfaces during preparation, not initialization.
7385 * java/lang/natClass.cc (initializeClass): Move
7386 _Jv_LayoutInterfaceMethods call...
7387 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7388
7389 2004-05-19 Anthony Green <green@localhost.localdomain>
7390
7391 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7392 gnu.javax.rmi code.
7393 * Makefile.in: Rebuilt.
7394 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7395 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7396 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7397 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7398 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7399 gnu/javax/rmi/CORBA/DelegateFactory.java,
7400 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7401 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7402 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7403 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7404 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7405 gnu/javax/rmi/PortableServer.java: Remove files.
7406
7407 2004-05-19 Anthony Green <green@redhat.com>
7408
7409 * Makefile.am: Define JAVA_EXT_DIRS.
7410 * Makefile.in: Rebuilt.
7411 * java/lang/natRuntime.cc (insertSystemProperties): Set
7412 java.ext.dirs property.
7413
7414 2004-05-16 Mark Wielaard <mark@klomp.org>
7415
7416 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7417
7418 2004-05-15 Mark Wielaard <mark@klomp.org>
7419
7420 * doc/cni.sgml: Removed, merged into gcj.texi.
7421
7422 2004-05-15 Mark Wielaard <mark@klomp.org>
7423
7424 * Makefile.am (ordinary_java_source_files): Add new javax.print
7425 classes.
7426 * Makefile.in: Regenerated.
7427
7428 2004-05-15 Michael Koch <konqueror@gmx.de>
7429
7430 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7431 javax/print/attribute/standard/DateTimeAtCreation.java,
7432 javax/print/attribute/standard/DateTimeAtProcessing.java,
7433 javax/print/attribute/standard/DocumentName.java,
7434 javax/print/attribute/standard/JobHoldUntil.java,
7435 javax/print/attribute/standard/JobImpressionsCompleted.java,
7436 javax/print/attribute/standard/JobMessageFromOperator.java,
7437 javax/print/attribute/standard/JobName.java,
7438 javax/print/attribute/standard/JobOriginatingUserName.java,
7439 javax/print/attribute/standard/JobPriority.java,
7440 javax/print/attribute/standard/JobPrioritySupported.java,
7441 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7442 javax/print/attribute/standard/OutputDeviceAssigned.java,
7443 javax/print/attribute/standard/PrinterInfo.java,
7444 javax/print/attribute/standard/PrinterLocation.java,
7445 javax/print/attribute/standard/PrinterMakeAndModel.java,
7446 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7447 javax/print/attribute/standard/PrinterName.java,
7448 javax/print/attribute/standard/QueuedJobCount.java,
7449 javax/print/attribute/standard/RequestingUserName.java:
7450 Fixed javadocs all over.
7451
7452 2004-05-15 Michael Koch <konqueror@gmx.de>
7453
7454 * javax/print/DocFlavor.java,
7455 javax/print/attribute/standard/ColorSupported.java,
7456 javax/print/attribute/standard/Compression.java,
7457 javax/print/attribute/standard/CopiesSupported.java,
7458 javax/print/attribute/standard/Fidelity.java,
7459 javax/print/attribute/standard/Finishings.java,
7460 javax/print/attribute/standard/JobImpressionsSupported.java,
7461 javax/print/attribute/standard/JobKOctetsSupported.java,
7462 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7463 javax/print/attribute/standard/JobSheets.java,
7464 javax/print/attribute/standard/JobState.java,
7465 javax/print/attribute/standard/JobStateReason.java,
7466 javax/print/attribute/standard/JobStateReasons.java,
7467 javax/print/attribute/standard/Media.java,
7468 javax/print/attribute/standard/MediaSizeName.java,
7469 javax/print/attribute/standard/MultipleDocumentHandling.java,
7470 javax/print/attribute/standard/NumberUpSupported.java,
7471 javax/print/attribute/standard/OrientationRequested.java,
7472 javax/print/attribute/standard/PDLOverrideSupported.java,
7473 javax/print/attribute/standard/PageRanges.java,
7474 javax/print/attribute/standard/PresentationDirection.java,
7475 javax/print/attribute/standard/PrintQuality.java,
7476 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7477 javax/print/attribute/standard/PrinterMoreInfo.java,
7478 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7479 javax/print/attribute/standard/PrinterResolution.java,
7480 javax/print/attribute/standard/PrinterState.java,
7481 javax/print/attribute/standard/PrinterStateReason.java,
7482 javax/print/attribute/standard/PrinterStateReasons.java,
7483 javax/print/attribute/standard/PrinterURI.java,
7484 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7485 javax/print/attribute/standard/Severity.java,
7486 javax/print/attribute/standard/SheetCollate.java,
7487 javax/print/attribute/standard/Sides.java:
7488 Added serialVersionUID and removed final keyword where it doenst
7489 belong.
7490
7491 2004-05-15 Michael Koch <konqueror@gmx.de>
7492
7493 * javax/print/PrintServiceLookup.java: New file.
7494
7495 2004-05-15 Michael Koch <konqueror@gmx.de>
7496
7497 * javax/print/DocFlavor.java:
7498 Implemented all flavor classes.
7499
7500 2004-05-15 Michael Koch <konqueror@gmx.de>
7501
7502 * javax/print/attribute/standard/ColorSupported.java,
7503 javax/print/attribute/standard/Compression.java,
7504 javax/print/attribute/standard/CopiesSupported.java,
7505 javax/print/attribute/standard/Fidelity.java,
7506 javax/print/attribute/standard/Finishings.java,
7507 javax/print/attribute/standard/JobImpressionsSupported.java,
7508 javax/print/attribute/standard/JobKOctetsSupported.java,
7509 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7510 javax/print/attribute/standard/JobSheets.java,
7511 javax/print/attribute/standard/JobState.java,
7512 javax/print/attribute/standard/JobStateReason.java,
7513 javax/print/attribute/standard/JobStateReasons.java,
7514 javax/print/attribute/standard/Media.java,
7515 javax/print/attribute/standard/MediaSizeName.java,
7516 javax/print/attribute/standard/MultipleDocumentHandling.java,
7517 javax/print/attribute/standard/NumberUpSupported.java,
7518 javax/print/attribute/standard/OrientationRequested.java,
7519 javax/print/attribute/standard/PDLOverrideSupported.java,
7520 javax/print/attribute/standard/PageRanges.java,
7521 javax/print/attribute/standard/PresentationDirection.java,
7522 javax/print/attribute/standard/PrintQuality.java,
7523 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7524 javax/print/attribute/standard/PrinterMoreInfo.java,
7525 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7526 javax/print/attribute/standard/PrinterResolution.java,
7527 javax/print/attribute/standard/PrinterState.java,
7528 javax/print/attribute/standard/PrinterStateReason.java,
7529 javax/print/attribute/standard/PrinterStateReasons.java,
7530 javax/print/attribute/standard/PrinterURI.java,
7531 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7532 javax/print/attribute/standard/Severity.java,
7533 javax/print/attribute/standard/SheetCollate.java,
7534 javax/print/attribute/standard/Sides.java: New files.
7535
7536 2004-05-15 Michael Koch <konqueror@gmx.de>
7537
7538 * javax/print/Doc.java
7539 (getPrintData): Throws IOException.
7540 (getReaderForText): Likewise.
7541 (getStreamForBytes): Likewise.
7542 * javax/print/DocFlavor.java:
7543 Fixed filename in copyright.
7544 (serialVersionUID): New field.
7545 * javax/print/ServiceUIFactory.java:
7546 Made all constants final.
7547 * javax/print/AttributeException.java
7548 javax/print/MultiDoc.java
7549 javax/print/MultiDocPrintJob.java
7550 javax/print/MultiDocPrintService.java
7551 javax/print/StreamPrintService.java
7552 javax/print/URIException.java: New files.
7553 * javax/print/Makefile.am
7554 (EXTRA_DIST): Added all new files.
7555
7556 2004-05-15 Michael Koch <konqueror@gmx.de>
7557
7558 * javax/print/attribute/standard/Copies.java,
7559 javax/print/attribute/standard/DateTimeAtCompleted.java,
7560 javax/print/attribute/standard/DateTimeAtCreation.java,
7561 javax/print/attribute/standard/DateTimeAtProcessing.java,
7562 javax/print/attribute/standard/DocumentName.java,
7563 javax/print/attribute/standard/JobHoldUntil.java,
7564 javax/print/attribute/standard/JobImpressions.java,
7565 javax/print/attribute/standard/JobImpressionsCompleted.java,
7566 javax/print/attribute/standard/JobKOctets.java,
7567 javax/print/attribute/standard/JobKOctetsProcessed.java,
7568 javax/print/attribute/standard/JobMediaSheets.java,
7569 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7570 javax/print/attribute/standard/JobMessageFromOperator.java,
7571 javax/print/attribute/standard/JobName.java,
7572 javax/print/attribute/standard/JobOriginatingUserName.java,
7573 javax/print/attribute/standard/JobPriority.java,
7574 javax/print/attribute/standard/JobPrioritySupported.java,
7575 javax/print/attribute/standard/NumberOfDocuments.java,
7576 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7577 javax/print/attribute/standard/NumberUp.java,
7578 javax/print/attribute/standard/OutputDeviceAssigned.java,
7579 javax/print/attribute/standard/PagesPerMinute.java,
7580 javax/print/attribute/standard/PagesPerMinuteColor.java:
7581 Fixed @return tag all over.
7582
7583 2004-05-15 Michael Koch <konqueror@gmx.de>
7584
7585 * javax/print/attribute/AttributeSetUtilities.java
7586 (verifyCategoryForValue): Fixed typo in javadoc.
7587 * javax/print/attribute/HashAttributeSet.java
7588 (containsKey): Fixed @return tag.
7589 (comtainsValue): Likewise.
7590 (equals): Likewise.
7591 * javax/print/attribute/IntegerSyntax.java
7592 (equals): Likewise.
7593 * javax/print/attribute/ResolutionSyntax.java
7594 (equals): Likewise.
7595 (getCrossFeedResolution): Removed unused code.
7596 (getFeedResolution): Likewise.
7597 * javax/print/attribute/SetOfIntegerSyntax.java
7598 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7599 (equals): Fixed @return tag.
7600 * javax/print/attribute/TextSyntax.java
7601 (TextSyntax): Take locale into account.
7602 (hashCode): Better implementation.
7603
7604 2004-05-15 Michael Koch <konqueror@gmx.de>
7605
7606 * javax/print/CancelablePrintJob.java,
7607 javax/print/Doc.java,
7608 javax/print/DocFlavor.java,
7609 javax/print/DocPrintJob.java,
7610 javax/print/FlavorException.java,
7611 javax/print/PrintException.java,
7612 javax/print/PrintService.java,
7613 javax/print/ServiceUIFactory.java: New files.
7614
7615 2004-05-15 Mark Wielaard <mark@klomp.org>
7616
7617 * gnu/regexp/CharIndexedReader.java: Removed.
7618 * gnu/regexp/REFilterReader.java: Likewise.
7619 * gnu/regexp/RETokenLookAhead.java: Likewise.
7620 * Makefile.am (ordinary_java_source_files): Remove above classes.
7621 * Makefile.in: Regenerated.
7622
7623 2004-05-14 Tom Tromey <tromey@redhat.com>
7624
7625 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7626 not `XGraphicsConfiguration.XOffScreenImage'.
7627
7628 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7629
7630 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7631
7632 2004-05-14 Steven Augart <augart@watson.ibm.com>
7633
7634 * include/jni.h (_Jv_func): Removed.
7635 (struct JNINativeInterface): Use `void *' for reserved slots.
7636 (struct JNIInvokeInterface): Likewise.
7637
7638 2004-05-11 Michael Koch <konqueror@gmx.de>
7639
7640 * gnu/java/net/natPlainSocketImplPosix.cc
7641 (read): Fixed typo in expression.
7642
7643 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7644
7645 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7646 ld_library_additions. Adjust all calls to libjava_invoke to match
7647 the new argument.
7648
7649 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7650 path to cxxflagslist.
7651 Pass path of libstdc++ to libjava_invoke.
7652
7653 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7654 libjava_invoke arguments.
7655
7656 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7657
7658 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7659 reality.
7660
7661 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7662
7663 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7664 main binary against the JNI shared library.
7665
7666 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7667
7668 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7669 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7670 (SimpleTimeZone): Tweak docs. Add new variation.
7671 (setStartRule,setEndRule): Add new variations. Use
7672 startTimeMode and endTimeMode.
7673
7674 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7675
7676 * java/util/Calendar.java (getActualMinimum,
7677 getActualMaximum): Remove abstract. Implement.
7678
7679 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7680
7681 Run the jni tests using the interpreter.
7682 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7683 options_cxx to shared lib compile command.
7684 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7685 they are used to link the shared lib, not the main binary.
7686 Use libjava_invoke to run gij.
7687
7688 2004-05-06 Michael Koch <konqueror@gmx.de>
7689
7690 * java/util/logging/Level.java
7691 (parse): Use == instead of String.equals().
7692
7693 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7694
7695 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7696 verify_field_signature and verify_method_signature, not
7697 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7698 (_Jv_ClassReader::handleField): Likewise.
7699 (_Jv_ClassReader::handleMethod): Likewise.
7700
7701 2004-05-06 Michael Koch <konqueror@gmx.de>
7702
7703 * javax/swing/table/TableColumn.java:
7704 Reformated.
7705
7706 2004-05-06 Michael Koch <konqueror@gmx.de>
7707
7708 * javax/imageio/spi/ImageReaderWriterSpi.java
7709 (ImageReaderWriterSpi): Made it public.
7710 * javax/imageio/stream/ImageInputStream.java:
7711 Clean up imports.
7712
7713 2004-05-06 Michael Koch <konqueror@gmx.de>
7714
7715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7716 Removed empty line.
7717
7718 2004-05-06 Michael Koch <konqueror@gmx.de>
7719
7720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7721 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7722 New files.
7723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7724 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7726 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7727 their own source file.
7728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7729 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7730 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7732 (create): Define variable on top of function.
7733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7734 (menu_pos): Prototyped.
7735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7736 (setTitle): Removed.
7737 * jni/gtk-peer/gthread-jni.c
7738 (gdk_threads_wake): Removed.
7739 * Makefile.am (gtk_c_source_files): Added new files
7740 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7742 * Makefile.in: Regenerated.
7743
7744 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7745
7746 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7747 call.
7748
7749 2004-05-05 Mark Wielaard <mark@klomp.org>
7750
7751 * javax/swing/AbstractButton.java: Replace special HTML entities with
7752 ASCII equivalent.
7753 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7754 * javax/swing/DefaultButtonModel.java: Likewise.
7755 * javax/swing/DefaultListModel.java: Likewise.
7756 * javax/swing/JList.java: Likewise.
7757 * javax/swing/JSlider.java: Likewise.
7758 * javax/swing/ListModel.java: Likewise.
7759 * javax/swing/Popup.java: Likewise.
7760 * javax/swing/SwingUtilities.java: Likewise.
7761
7762 2004-05-05 Michael Koch <konqueror@gmx.de>
7763
7764 * javax/swing/AbstractButton.java,
7765 javax/swing/ActionMap.java,
7766 javax/swing/DefaultButtonModel.java,
7767 javax/swing/DefaultListModel.java,
7768 javax/swing/ImageIcon.java,
7769 javax/swing/JComboBox.java,
7770 javax/swing/JComponent.java,
7771 javax/swing/JFrame.java,
7772 javax/swing/JInternalFrame.java,
7773 javax/swing/JMenuBar.java,
7774 javax/swing/JMenuItem.java,
7775 javax/swing/JOptionPane.java,
7776 javax/swing/JProgressBar.java,
7777 javax/swing/JRootPane.java,
7778 javax/swing/JScrollBar.java,
7779 javax/swing/JScrollPane.java,
7780 javax/swing/JSeparator.java,
7781 javax/swing/JSlider.java,
7782 javax/swing/JTabbedPane.java,
7783 javax/swing/JTable.java,
7784 javax/swing/JTextField.java,
7785 javax/swing/JToolBar.java,
7786 javax/swing/JToolTip.java,
7787 javax/swing/JTree.java,
7788 javax/swing/JViewport.java,
7789 javax/swing/JWindow.java,
7790 javax/swing/KeyStroke.java,
7791 javax/swing/LookAndFeel.java,
7792 javax/swing/SwingUtilities.java,
7793 javax/swing/Timer.java,
7794 javax/swing/ToolTipManager.java,
7795 javax/swing/UIDefaults.java,
7796 javax/swing/border/TitledBorder.java,
7797 javax/swing/filechooser/FileSystemView.java,
7798 javax/swing/plaf/basic/BasicButtonListener.java,
7799 javax/swing/plaf/basic/BasicButtonUI.java,
7800 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7801 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7802 javax/swing/plaf/basic/BasicLabelUI.java,
7803 javax/swing/plaf/basic/BasicMenuItemUI.java,
7804 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7805 javax/swing/plaf/basic/BasicRootPaneUI.java,
7806 javax/swing/plaf/basic/BasicScrollBarUI.java,
7807 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7808 javax/swing/plaf/basic/BasicSliderUI.java,
7809 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7810 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7811 javax/swing/table/JTableHeader.java,
7812 javax/swing/text/AbstractDocument.java,
7813 javax/swing/text/DefaultCaret.java,
7814 javax/swing/text/StyledEditorKit.java,
7815 javax/swing/tree/DefaultTreeCellEditor.java:
7816 Cleaned up imports.
7817
7818 2004-05-05 Michael Koch <konqueror@gmx.de>
7819
7820 * java/util/prefs/AbstractPreferences.java
7821 (AbstractPreferences): Added parenthesis for clarity.
7822 Closes classpath bug #7940.
7823
7824 2004-05-05 Tom Tromey <tromey@redhat.com>
7825
7826 * javax/naming/CompoundName.java (endsWith): Look at correct
7827 element of source name.
7828
7829 2004-05-05 Mark Wielaard <mark@klomp.org>
7830
7831 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7832 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7833
7834 2004-05-05 Tom Tromey <tromey@redhat.com>
7835
7836 * java/io/BufferedReader.java (skip): Removed unused
7837 variable.
7838
7839 2004-05-05 Michael Koch <konqueror@gmx.de>
7840
7841 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7842
7843 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7844
7845 * java/text/AttributedString.java,
7846 java/text/AttributedStringIterator.java,
7847 java/text/Collator.java,
7848 java/text/DecimalFormatSymbols.java,
7849 java/text/NumberFormat.java,
7850 java/text/RuleBasedCollator.java:
7851 Cleaned up imports.
7852
7853 2004-05-05 Tom Tromey <tromey@redhat.com>
7854
7855 * java/text/Format.java: Cleaned up imports.
7856 * java/text/DecimalFormat.java: Cleaned up imports.
7857 * java/security/SecureRandom.java: Cleaned up imports.
7858 (SecureRandom): Removed unused variable.
7859 * java/security/UnresolvedPermission.java: Cleaned up imports.
7860 * java/util/Date.java (parse): Removed unused variable.
7861 * java/util/ResourceBundle.java: Cleaned up imports.
7862 (getBundle): Removed unused variable.
7863 (tryBundle): Likewise.
7864 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7865
7866 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7867
7868 * java/text/SimpleDateFormat.java:
7869 (formatWithAttribute): New method. It implements
7870 the formatting process with attributes.
7871 (format): Use formatWithAttribute.
7872 (formatToCharacterIterator): New method. Use
7873 formatWithAttribute.
7874
7875 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7876
7877 * java/text/MessageFormat.java:
7878 (class Field): New class.
7879 (formatToCharacterIterator): New method.
7880 (format): Use formatInternal now.
7881 (formatInternal): New method. String formatter should
7882 be done here (with attributes). Attributes merging supported.
7883 (parse): More documentation.
7884 (getFormatsByArgumentIndex): New method.
7885 (setFormatByArgumentIndex): New method.
7886 (setFormatsByArgumentIndex): New method.
7887
7888 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7889
7890 * java/text/DecimalFormat.java
7891 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7892 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7893 (parse): Fixed handling of exponentiation notation and grouping.
7894
7895 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7896
7897 * java/text/DecimalFormat.java
7898 (scanFix): Build attribute array. Fixed error reporting.
7899 (applyPatternWithSymbols): Store attributes for the prefix and
7900 suffix.
7901 (formatInternal): New method. Changed the way the string is
7902 computed. Implemented attributes. Cleant up rounding in
7903 exponential notation.
7904 (format): Use formatInternal.
7905 (formatToCharacterIterator): New method.
7906 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7907 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7908 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7909 New fields.
7910
7911 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7912
7913 * java/security/interfaces/DSAKeyPairGenerator.java,
7914 java/security/interfaces/DSAPrivateKey.java,
7915 java/security/interfaces/DSAPublicKey.java,
7916 java/security/interfaces/RSAPrivateKey.java,
7917 java/security/interfaces/RSAPublicKey.java:
7918 Cleaned up imports.
7919
7920 2004-05-04 Michael Koch <konqueror@gmx.de>
7921
7922 * java/nio/ByteBuffer.java,
7923 java/nio/CharBuffer.java,
7924 java/nio/DoubleBuffer.java,
7925 java/nio/FloatBuffer.java,
7926 java/nio/IntBuffer.java,
7927 java/nio/LongBuffer.java,
7928 java/nio/ShortBuffer.java:
7929 (compareTo): Fixed bogus implementation in all buffer classes.
7930
7931 2004-05-04 Ingo Proetel <proetel@aicas.com>
7932
7933 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7934 32 bit pixels not 8 bit pixels.
7935 (isCompatibleRaster): Added javadoc comment.
7936
7937 2004-05-04 Ingo Proetel <proetel@aicas.com>
7938
7939 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7940 scanline stride.
7941
7942 2004-05-04 Ingo Proetel <proetel@aicas.com>
7943
7944 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7945 (getColorModel): Return the actual color model.
7946 (getRaster): Implemented.
7947 (ColorRaster): New inner class.
7948 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7949 a PaintContext.
7950 * java/awt/Color.java (<init>): Make exception more verbose.
7951 (createContext): Use ColorModel when creating a PaintContext.
7952
7953 2004-05-04 Michael Koch <konqueror@gmx.de>
7954
7955 * gnu/java/text/CharacterBreakIterator.java
7956 (previous): Removed unused variable.
7957
7958 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7959
7960 * gnu/java/text/FormatBuffer.java,
7961 gnu/java/text/AttributedFormatBuffer.java,
7962 gnu/java/text/StringFormatBuffer.java: New classes to implement
7963 attributed iterators in java.text.
7964 * gnu/java/text/FormatCharacterIterator.java: Moved
7965 from java/text as it is an internal class.
7966 * java/text/FormatCharacterIterator.java: Removed.
7967 * java/text/Format.java:
7968 Import gnu.java.text.FormatCharacterIterator.
7969 * Makefile.am (java_source_files): Added new files.
7970 * Makefile.in: Regenerated.
7971
7972
7973 2004-05-04 Mark Wielaard <mark@klomp.org>
7974
7975 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7976
7977 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7978
7979 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7980 * Makefile.in: Rebuilt.
7981
7982 2004-05-03 Mark Wielaard <mark@klomp.org>
7983
7984 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7985 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7986 * java/net/URL.java
7987 (set(String, String, int, String, String, String, String, String)):
7988 Assign this.file to path or path + "?" + query.
7989 * java/util/Arrays.java: Call static methods staticly.
7990 * java/util/zip/ZipEntry.java: Likewise.
7991 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7992 dir to this.direction.
7993 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7994 Assign static field only once.
7995 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7996
7997 2004-05-03 Mark Wielaard <mark@klomp.org>
7998
7999 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8000 unused variables hScrollbarHeight and vScrollbarWidth.
8001 (preferredSize): Likewise.
8002 * gnu/java/security/provider/DSAParameters.java (engineToString):
8003 Removed unused call to System.getProperty("line.seperator");
8004 * java/security/Security.java (loadProviders): Return result.
8005
8006 2004-05-03 Tom Tromey <tromey@redhat.com>
8007
8008 * java/net/URLStreamHandler.java (toExternalForm): Removed
8009 unused variables.
8010 unused constructor.
8011 * java/math/BigDecimal.java (divide): Removed unused variable.
8012 * java/lang/Throwable.java: Cleaned up imports.
8013 * java/lang/ClassLoader.java: Cleaned up imports.
8014 * java/io/FilePermission.java (implies): Removed unused
8015 variable.
8016 * java/awt/TextComponent.java: Removed unused import.
8017 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8018 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8019 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8020 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8021 import.
8022 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8023 * gnu/java/text/CharacterBreakIterator.java: Removed
8024 unused import.
8025 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8026 Cleaned up imports.
8027 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8028 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8029 unused method.
8030 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8031 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8032 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8033 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8034 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8035 (lookupProviders): Removed unused variable.
8036 (loadNextServiceProvider): Likewise.
8037 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8038
8039 2004-05-03 Michael Koch <konqueror@gmx.de>
8040
8041 Fixes PR libgcj/14695:
8042 * java/net/NetworkInterface.java
8043 (getByName): Return null when no interface was found.
8044
8045 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8046 Tom Tromey <tromey@redhat.com>
8047
8048 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8049 additional option "-Wmissing-prototypes" for compiling C sources.
8050 Print actual filename for pass/fail rather than $name.c.
8051 * testsuite/libjava.jni/PR15133.java: New testcase file.
8052 * testsuite/libjava.jni/PR15133.c: Likewise.
8053 * testsuite/libjava.jni/PR15133.out: Likewise.
8054
8055 2004-04-30 Roger Sayle <roger@eyesopen.com>
8056
8057 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8058 ceil and floor.
8059
8060 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8061
8062 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8063 limit the maximum heap size to avoid unnecessary thrashing.
8064
8065 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8066
8067 * java/text/CollationElementIterator.java (reset): Reset
8068 lookahead variables.
8069
8070 2004-04-23 Mark Wielaard <mark@klomp.org>
8071
8072 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8073
8074 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8075
8076 * java/sql/DriverManager.java:
8077 Cleaned up imports.
8078
8079 2004-04-23 Michael Koch <konqueror@gmx.de>
8080
8081 * java/net/URL.java
8082 (hashcode): Don't initialize with default value explicitely.
8083 (getContent): Removed redundant "final" keyword.
8084 (openStream): Likewise.
8085 (getURLStreamHandler): Fixed coding style.
8086 * java/net/URLConnection.java
8087 (defaultAllowUserInteraction): Don't initialize with default value
8088 explicitely.
8089 (connected): Likewise.
8090 (doOutput): Likewise.
8091 (ifModifiedSince): Likewise.
8092 (dateformats_initialized): Likewise.
8093 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8094
8095 2004-04-23 Michael Koch <konqueror@gmx.de>
8096
8097 * gnu/java/nio/channels/FileChannelImpl.java
8098 (SET, CUR): Unused, removed.
8099 (read): Implement here directly.
8100 (implRead): Removed.
8101 (write): Implement here directly.
8102 (implWrite): Removed.
8103
8104 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8105
8106 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8107 javax/rmi/CORBA/Stub.java,
8108 javax/rmi/CORBA/Util.java,
8109 javax/rmi/CORBA/ValueHandler.java,
8110 javax/rmi/CORBA/ValueHandler.java,
8111 javax/rmi/PortableRemoteObject.java:
8112 Cleaned up imports.
8113
8114 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8115
8116 * java/util/jar/JarFile.java,
8117 java/util/jar/JarInputStream.java,
8118 java/util/jar/JarOutputStream.java,
8119 java/util/jar/Manifest.java:
8120 Cleaned up imports.
8121
8122 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8123
8124 * java/util/ArrayList.java,
8125 java/util/Calendar.java,
8126 java/util/Currency.java,
8127 java/util/HashMap.java,
8128 java/util/HashSet.java,
8129 java/util/Hashtable.java,
8130 java/util/LinkedList.java,
8131 java/util/Properties.java,
8132 java/util/PropertyPermission.java,
8133 java/util/TimeZone.java,
8134 java/util/TreeMap.java,
8135 java/util/TreeSet.java,
8136 java/util/Vector.java,
8137 java/util/WeakHashMap.java:
8138 Cleaned up imports.
8139
8140 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8141
8142 * java/util/logging/FileHandler.java,
8143 java/util/logging/Formatter.java,
8144 java/util/logging/Handler.java,
8145 java/util/logging/Logger.java,
8146 java/util/logging/SimpleFormatter.java,
8147 java/util/logging/XMLFormatter.java:
8148 Cleaned up imports.
8149
8150 2004-04-22 Mark Wielaard <mark@klomp.org>
8151
8152 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8153 -Wno-long-long flags variable.
8154 (gtk_c_files): Use PEDANTIC_CFLAGS.
8155 * Makefile.in: Regenerated.
8156
8157 2004-04-22 Mark Wielaard <mark@klomp.org>
8158
8159 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8160 Changed C++ comments into C comments.
8161 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8162 Likewise.
8163
8164 2004-04-22 Michael Koch <konqueror@gmx.de>
8165
8166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8167 Merged copyright year with GNU classpath.
8168
8169 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8170
8171 * javax/security/auth/x500/X500Principal.java:
8172 Cleaned up imports.
8173
8174 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8175
8176 * javax/swing/JSlider.java:
8177 Fixed HTML tags in comments.
8178
8179 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8180
8181 * javax/accessibility/AccessibleText.java:
8182 Cleaned up imports.
8183
8184 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8185
8186 * java/net/URLStreamHandler.java
8187 (parseURL): Convert the file path to using '/' instead of native
8188 file separator.
8189
8190 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8191
8192 * java/net/URL.java
8193 (userInfo): New field.
8194 (URL): Set authority to the right value.
8195 (setURL): Fixed authority and file initialization.
8196 * java/net/URLStreamHandler.java
8197 (parseURL): Take care of the query tag. Build authority.
8198 (toExternalForm): Fixed URL building using authority.
8199
8200 2004-04-22 Michael Koch <konqueror@gmx.de>
8201
8202 * java/net/Socket.java
8203 (impl): Made package-private.
8204 * java/net/ServerSocket.java
8205 (implAccept): Access Socket.impl field directly.
8206
8207 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8208
8209 * java/util/prefs/Preferences.java,
8210 java/util/prefs/InvalidPreferencesFormatException.java,
8211 java/util/prefs/BackingStoreException.java,
8212 java/util/prefs/AbstractPreferences.java:
8213 Cleaned up imports.
8214
8215 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8216
8217 * java/util/regex/Matcher.java,
8218 java/util/regex/Pattern.java:
8219 Cleaned up imports.
8220
8221 2004-04-22 Michael Koch <konqueror@gmx.de>
8222
8223 * java/nio/charset/IllegalCharsetNameException.java
8224 (charsetName): Made private.
8225 (IllegalCharsetNameException): Added @param tag to javadoc.
8226 (getCharsetName): Added @return tag to javadoc.
8227 * java/nio/charset/MalformedInputException.java
8228 (MalformedInputException): Added @param tag to javadoc.
8229 (getInputLength): Revised method description, added @return tag.
8230 (getMessage): Added @return tag.
8231
8232 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8233
8234 * java/awt/Font.java (deriveFont): Implement missing variants.
8235 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8236 missing variants.
8237
8238 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8239
8240 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8241 Set method->index values for interface methods to their itable index.
8242 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8243
8244 2004-04-21 Michael Koch <konqueror@gmx.de>
8245
8246 * java/nio/DirectByteBufferImpl.java
8247 (shiftDown): Made static, give address as argument and
8248 provide a convenience method that overwrites shiftDown in
8249 ByteBufferImpl and calls the native shiftDown.
8250 * java/nio/MappedByteBufferImpl.java
8251 (): Use optimized method in DirectByteBufferImpl.
8252 * java/nio/natDirectByteBufferImpl.cc
8253 (shiftDown): Changed method signature. Removed usage of array_offset.
8254
8255 2004-04-21 Michael Koch <konqueror@gmx.de>
8256
8257 * gnu/java/net/natPlainSocketImplPosix.cc
8258 (SocketInputStream::read): Make sure returned data is a byte value.
8259
8260 2004-04-21 Michael Koch <konqueror@gmx.de>
8261
8262 * gnu/classpath/ServiceFactory.java,
8263 gnu/classpath/ServiceProviderLoadingAction.java,
8264 javax/imageio/ImageReader.java,
8265 javax/imageio/ImageTranscoder.java,
8266 javax/imageio/ImageWriter.java,
8267 javax/imageio/package.html,
8268 javax/imageio/spi/IIOServiceProvider.java,
8269 javax/imageio/spi/ImageInputStreamSpi.java,
8270 javax/imageio/spi/ImageOutputStreamSpi.java,
8271 javax/imageio/spi/ImageReaderWriterSpi.java,
8272 javax/imageio/spi/ImageTranscoderSpi.java,
8273 javax/imageio/spi/RegisterableService.java,
8274 javax/imageio/spi/ServiceRegistry.java,
8275 javax/imageio/spi/package.html,
8276 javax/imageio/stream/IIOByteBuffer.java,
8277 javax/imageio/stream/ImageInputStream.java,
8278 javax/imageio/stream/ImageOutputStream.java,
8279 javax/imageio/stream/package.html:
8280 New files.
8281 * Makefile.am
8282 (ordinary_java_source_files): Added
8283 gnu/classpath/ServiceFactory.java and
8284 gnu/classpath/ServiceProviderLoadingAction.java.
8285 (javax_source_files): Added
8286 javax/imageio/ImageReader.java,
8287 javax/imageio/ImageTranscoder.java,
8288 javax/imageio/ImageWriter.java,
8289 javax/imageio/spi/IIOServiceProvider.java,
8290 javax/imageio/spi/ImageInputStreamSpi.java,
8291 javax/imageio/spi/ImageOutputStreamSpi.java,
8292 javax/imageio/spi/ImageReaderWriterSpi.java,
8293 javax/imageio/spi/ImageTranscoderSpi.java,
8294 javax/imageio/spi/RegisterableService.java,
8295 javax/imageio/spi/ServiceRegistry.java,
8296 javax/imageio/stream/IIOByteBuffer.java,
8297 javax/imageio/stream/ImageInputStream.java and
8298 javax/imageio/stream/ImageOutputStream.java.
8299 * Makefile.in: Regenerated.
8300
8301 2004-04-21 Michael Koch <konqueror@gmx.de>
8302
8303 * java/util/Properties.java
8304 (load): Fix wrongly merged fix.
8305
8306 2004-04-21 Mark Wielaard <mark@klomp.org>
8307
8308 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8309 malloc and free buf.
8310
8311 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8312
8313 * javax/naming/AuthenticationException.java,
8314 javax/naming/AuthenticationNotSupportedException.java,
8315 javax/naming/CannotProceedException.java,
8316 javax/naming/CommunicationException.java,
8317 javax/naming/CompoundName.java,
8318 javax/naming/ConfigurationException.java,
8319 javax/naming/ContextNotEmptyException.java,
8320 javax/naming/InitialContext.java,
8321 javax/naming/InsufficientResourcesException.java,
8322 javax/naming/InterruptedNamingException.java,
8323 javax/naming/LimitExceededException.java,
8324 javax/naming/LinkException.java,
8325 javax/naming/LinkLoopException.java,
8326 javax/naming/LinkRef.java,
8327 javax/naming/MalformedLinkException.java,
8328 javax/naming/Name.java,
8329 javax/naming/NameAlreadyBoundException.java,
8330 javax/naming/NameNotFoundException.java,
8331 javax/naming/NamingSecurityException.java,
8332 javax/naming/NoInitialContextException.java,
8333 javax/naming/NoPermissionException.java,
8334 javax/naming/NotContextException.java,
8335 javax/naming/PartialResultException.java,
8336 javax/naming/ReferralException.java,
8337 javax/naming/ServiceUnavailableException.java,
8338 javax/naming/SizeLimitExceededException.java,
8339 javax/naming/TimeLimitExceededException.java,
8340 javax/naming/directory/Attribute.java,
8341 javax/naming/directory/Attributes.java,
8342 javax/naming/directory/SearchResult.java,
8343 javax/naming/event/NamingExceptionEvent.java,
8344 javax/naming/spi/ResolveResult.java:
8345 Cleaned up imports.
8346
8347 2004-04-21 Mark Wielaard <mark@klomp.org>
8348
8349 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8350 Changed C++ comments into C comments. Removed commented out code.
8351 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8352 Likewise.
8353 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8354 Likewise.
8355 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8356 Likewise.
8357 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8358 Likewise.
8359 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8360 Likewise.
8361 * native/jni/gtk-peer/gthread-jni.c:
8362 Likewise.
8363
8364 2004-04-21 Mark Wielaard <mark@klomp.org>
8365
8366 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8367 static fields defined in interface.
8368 * javax/awt/JDialog.java: Likewise.
8369 (JDialog): Make constructors public.
8370 (getDefaultCloseOperation): Make public.
8371 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8372 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8373 * javax/swing/JViewport.java (JViewport): Make constructor public.
8374
8375 2004-04-21 Michael Koch <konqueror@gmx.de>
8376
8377 * java/util/Map.java
8378 (Entry): Removed redundant "static" modifier.
8379 * java/text/AttributedCharacterIterator.java:
8380 Updated copyright year.
8381
8382 2004-04-20 Michael Koch <konqueror@gmx.de>
8383
8384 * javax/naming/directory/SearchControls.java:
8385 Don't explicitely extend java.lang.Object.
8386 * javax/naming/spi/DirStateFactory.java:
8387 Merged copyright year with GNU classpath.
8388
8389 2004-04-20 Michael Koch <konqueror@gmx.de>
8390
8391 * java/nio/channels/Channels.java:
8392 Merged coding style with GNU classpath.
8393
8394 2004-04-20 Michael Koch <konqueror@gmx.de>
8395
8396 * java/net/ServerSocket.java
8397 Merged coding style from GNU classpath.
8398
8399 2004-04-20 Michael Koch <konqueror@gmx.de>
8400
8401 * java/io/BufferedWriter.java:
8402 Reordered variables to be at top of the class.
8403 (localFlush): Removed redundant final keyword.
8404
8405 2004-04-20 Ingo Proetel <proetel@aicas.com>
8406
8407 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8408
8409 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8410
8411 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8412 for percent and permill check.
8413
8414 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8415
8416 * java/text/FieldPosition.java
8417 (FieldPosition) Constructor now behaves as it should according
8418 to the java documentation.
8419
8420 2004-04-20 Mark Wielaard <mark@klomp.org>
8421
8422 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8423 documentation.
8424
8425 2004-04-20 Michael Koch <konqueror@gmx.de>
8426
8427 * java/nio/Buffer.java,
8428 java/nio/channels/AlreadyConnectedException.java,
8429 java/nio/channels/AsynchronousCloseException.java,
8430 java/nio/channels/ByteChannel.java,
8431 java/nio/channels/CancelledKeyException.java,
8432 java/nio/channels/Channel.java,
8433 java/nio/channels/Channels.java,
8434 java/nio/channels/ClosedByInterruptException.java,
8435 java/nio/channels/ClosedChannelException.java,
8436 java/nio/channels/ClosedSelectorException.java,
8437 java/nio/channels/ConnectionPendingException.java,
8438 java/nio/channels/DatagramChannel.java,
8439 java/nio/channels/FileChannel.java,
8440 java/nio/channels/FileLock.java,
8441 java/nio/channels/FileLockInterruptionException.java,
8442 java/nio/channels/GatheringByteChannel.java,
8443 java/nio/channels/IllegalBlockingModeException.java,
8444 java/nio/channels/IllegalSelectorException.java,
8445 java/nio/channels/InterruptibleChannel.java,
8446 java/nio/channels/NoConnectionPendingException.java,
8447 java/nio/channels/NonReadableChannelException.java,
8448 java/nio/channels/NonWritableChannelException.java,
8449 java/nio/channels/NotYetBoundException.java,
8450 java/nio/channels/NotYetConnectedException.java,
8451 java/nio/channels/OverlappingFileLockException.java,
8452 java/nio/channels/Pipe.java,
8453 java/nio/channels/ReadableByteChannel.java,
8454 java/nio/channels/ScatteringByteChannel.java,
8455 java/nio/channels/SelectableChannel.java,
8456 java/nio/channels/SelectionKey.java,
8457 java/nio/channels/Selector.java,
8458 java/nio/channels/ServerSocketChannel.java,
8459 java/nio/channels/SocketChannel.java,
8460 java/nio/channels/UnresolvedAddressException.java,
8461 java/nio/channels/UnsupportedAddressTypeException.java,
8462 java/nio/channels/WritableByteChannel.java,
8463 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8464 java/nio/channels/spi/AbstractSelectableChannel.java,
8465 java/nio/channels/spi/AbstractSelectionKey.java,
8466 java/nio/channels/spi/AbstractSelector.java,
8467 java/nio/channels/spi/SelectorProvider.java,
8468 java/nio/charset/spi/CharsetProvider.java:
8469 Fixed javadocs and jalopied all over java.nio.
8470
8471 2004-04-20 Michael Koch <konqueror@gmx.de>
8472
8473 * java/nio/ByteBufferImpl.java,
8474 java/nio/CharBufferImpl.java,
8475 java/nio/DirectByteBufferImpl.java,
8476 java/nio/DoubleBufferImpl.java,
8477 java/nio/DoubleViewBufferImpl.java,
8478 java/nio/FloatBufferImpl.java,
8479 java/nio/FloatViewBufferImpl.java,
8480 java/nio/IntBufferImpl.java,
8481 java/nio/IntViewBufferImpl.java,
8482 java/nio/LongBufferImpl.java,
8483 java/nio/LongViewBufferImpl.java,
8484 java/nio/MappedByteBufferImpl.java,
8485 java/nio/ShortBufferImpl.java,
8486 java/nio/ShortViewBufferImpl.java:
8487 Made sure all classes are final and removed final keyword from all
8488 methods.
8489
8490 2004-04-20 Michael Koch <konqueror@gmx.de>
8491
8492 * java/rmi/MarshalledObject.java,
8493 java/rmi/Naming.java,
8494 java/rmi/RemoteException.java,
8495 java/rmi/activation/ActivationException.java,
8496 java/rmi/server/ServerCloneException.java,
8497 java/security/AccessController.java,
8498 java/security/AlgorithmParameterGenerator.java,
8499 java/security/AlgorithmParameters.java,
8500 java/security/CodeSource.java,
8501 java/security/Identity.java,
8502 java/security/IdentityScope.java,
8503 java/security/KeyPairGenerator.java,
8504 java/security/KeyStore.java,
8505 java/security/Security.java,
8506 java/security/Signature.java,
8507 java/security/SignatureSpi.java,
8508 java/security/SignedObject.java,
8509 java/security/spec/DSAParameterSpec.java,
8510 java/security/spec/DSAPrivateKeySpec.java,
8511 java/security/spec/DSAPublicKeySpec.java,
8512 java/sql/Array.java,
8513 java/sql/DatabaseMetaData.java,
8514 java/sql/ResultSet.java,
8515 java/text/ChoiceFormat.java,
8516 java/text/CollationElementIterator.java,
8517 java/text/CollationKey.java,
8518 java/text/Collator.java,
8519 java/text/DateFormat.java,
8520 java/text/DateFormatSymbols.java,
8521 java/text/DecimalFormatSymbols.java,
8522 java/text/Format.java,
8523 java/text/ParsePosition.java,
8524 java/text/RuleBasedCollator.java,
8525 java/text/SimpleDateFormat.java,
8526 java/text/StringCharacterIterator.java,
8527 java/util/Collections.java,
8528 java/util/PropertyResourceBundle.java,
8529 java/util/ResourceBundle.java,
8530 java/util/StringTokenizer.java,
8531 java/util/jar/Attributes.java,
8532 java/util/logging/ConsoleHandler.java,
8533 java/util/logging/LogManager.java,
8534 java/util/logging/MemoryHandler.java,
8535 java/util/logging/SocketHandler.java,
8536 javax/naming/NamingException.java:
8537 Fixed javadoc, coding style and argument names all over.
8538
8539 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8540
8541 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8542 constructor. (valid) Added null check.
8543
8544 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8545
8546 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8547 * java/io/FileOutputStream.java
8548 (FileOutputStream) Reorganized constructors. Constructors now
8549 check whether the given path is directory.
8550
8551 2004-04-20 Michael Koch <konqueror@gmx.de>
8552
8553 * java/net/Authenticator.java,
8554 java/net/BindException.java,
8555 java/net/ConnectException.java,
8556 java/net/ContentHandler.java,
8557 java/net/ContentHandlerFactory.java,
8558 java/net/DatagramPacket.java,
8559 java/net/DatagramSocket.java,
8560 java/net/DatagramSocketImpl.java,
8561 java/net/DatagramSocketImplFactory.java,
8562 java/net/FileNameMap.java,
8563 java/net/HttpURLConnection.java,
8564 java/net/Inet4Address.java,
8565 java/net/Inet6Address.java,
8566 java/net/InetAddress.java,
8567 java/net/InetSocketAddress.java,
8568 java/net/JarURLConnection.java,
8569 java/net/MalformedURLException.java,
8570 java/net/MulticastSocket.java,
8571 java/net/NetPermission.java,
8572 java/net/NetworkInterface.java,
8573 java/net/NoRouteToHostException.java,
8574 java/net/PasswordAuthentication.java,
8575 java/net/PortUnreachableException.java,
8576 java/net/ProtocolException.java,
8577 java/net/ServerSocket.java,
8578 java/net/Socket.java,
8579 java/net/SocketAddress.java,
8580 java/net/SocketException.java,
8581 java/net/SocketImpl.java,
8582 java/net/SocketImplFactory.java,
8583 java/net/SocketOptions.java,
8584 java/net/SocketPermission.java,
8585 java/net/SocketTimeoutException.java,
8586 java/net/URI.java,
8587 java/net/URISyntaxException.java,
8588 java/net/URL.java,
8589 java/net/URLClassLoader.java,
8590 java/net/URLConnection.java,
8591 java/net/URLDecoder.java,
8592 java/net/URLEncoder.java,
8593 java/net/URLStreamHandler.java,
8594 java/net/URLStreamHandlerFactory.java,
8595 java/net/UnknownHostException.java,
8596 java/net/UnknownServiceException.java:
8597 Fixed javadocs, coding style and argument names all over.
8598
8599 2004-04-20 Michael Koch <konqueror@gmx.de>
8600
8601 * java/lang/Byte.java,
8602 java/lang/CharSequence.java,
8603 java/lang/ClassLoader.java,
8604 java/lang/Compiler.java,
8605 java/lang/Double.java,
8606 java/lang/Float.java,
8607 java/lang/Integer.java,
8608 java/lang/Long.java,
8609 java/lang/Math.java,
8610 java/lang/Number.java,
8611 java/lang/Package.java,
8612 java/lang/Runtime.java,
8613 java/lang/RuntimePermission.java,
8614 java/lang/SecurityManager.java,
8615 java/lang/Short.java,
8616 java/lang/StringBuffer.java,
8617 java/lang/System.java,
8618 java/lang/ThreadGroup.java,
8619 java/lang/Throwable.java,
8620 java/lang/reflect/InvocationHandler.java,
8621 java/lang/reflect/Proxy.java:
8622 Fixed javadocs, coding style and argument names all over.
8623
8624 2004-04-20 Michael Koch <konqueror@gmx.de>
8625
8626 * java/io/BufferedWriter.java,
8627 java/io/ByteArrayInputStream.java,
8628 java/io/CharArrayWriter.java,
8629 java/io/DataInput.java,
8630 java/io/DataInputStream.java,
8631 java/io/File.java,
8632 java/io/FilterInputStream.java,
8633 java/io/InputStream.java,
8634 java/io/InputStreamReader.java,
8635 java/io/ObjectInputStream.java,
8636 java/io/ObjectStreamClass.java,
8637 java/io/PipedInputStream.java,
8638 java/io/PipedReader.java,
8639 java/io/PushbackInputStream.java,
8640 java/io/PushbackReader.java,
8641 java/io/RandomAccessFile.java,
8642 java/io/SerializablePermission.java,
8643 java/io/StreamTokenizer.java,
8644 java/io/StringWriter.java,
8645 java/io/WriteAbortedException.java,
8646 java/io/Writer.java:
8647 Fixed javadocs all over, rename arguments to match javadocs,
8648 fixed coding style.
8649
8650 2004-04-20 Ingo Proetel <proetel@aicas.com>
8651
8652 * java/awt/FontMetrics.java:
8653 (charsWidth): fixed accumulation of total_width
8654 (getWidth): simple default implementation
8655 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8656 in Rectangle constructor.
8657 * java/awt/image/Raster.java (toString): Added method.
8658 * java/awt/image/SampleModel.java (<init>): Added error cause
8659 information to thrown exception.
8660 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8661 New method.
8662 (setDataElements): New method.
8663 (setPixels): New method.
8664 (toString): New method.
8665
8666 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8667
8668 * java/awt/image/ComponentColorModel.java
8669 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8670 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8671 Mauve tests on this method. Improved documentation.
8672
8673 2004-04-20 Michael Koch <konqueror@gmx.de>
8674
8675 * javax/swing/JLayeredPane.java,
8676 javax/swing/plaf/BorderUIResource.java,
8677 javax/swing/plaf/ComponentUI.java,
8678 javax/swing/undo/CompoundEdit.java,
8679 javax/swing/undo/StateEdit.java:
8680 Fixed HTML tags in javadocs all over.
8681
8682 2004-04-20 Michael Koch <konqueror@gmx.de>
8683
8684 * javax/print/attribute/EnumSyntax.java
8685 (getOffset): Made protected.
8686 * javax/print/attribute/HashAttributeSet.java
8687 (HashAttributeSet): Likewise.
8688 * javax/print/attribute/ResolutionSyntax.java
8689 (getFeedResolution): Fixed typo in exception name.
8690 (getCrossFeedResolution): Likewise.
8691 * javax/print/attribute/SetOfIntegerSyntax.java
8692 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8693 * javax/print/attribute/TextSyntax.java
8694 (TextSyntax): Handle locale correctly.
8695 (hashCode): Calc better hashcode value.
8696 (equals): Fixed @return tag.
8697 (toString): New method.
8698
8699 2004-04-20 Michael Koch <konqueror@gmx.de>
8700
8701 * gnu/java/nio/FileLockImpl.java
8702 (static): Removed, not needed anymore.
8703 * gnu/java/nio/channels/FileChannelImpl.java
8704 (FileChannelImpl): Made final.
8705 (mode): Made private.
8706 (READ, WRITE, APPEND): Made public.
8707 (EXCL, SYNC, DSYNC): Likewise.
8708 (static): Load native JNI library, when needed.
8709 (length): Unused, removed.
8710 (available): Made public.
8711 (implPosition): Throws IOException.
8712 (seek): Likewise.
8713 (implTruncate): Likewise.
8714 (unlock): Likewise.
8715 (lock): Likewise.
8716
8717 2004-04-20 Michael Koch <konqueror@gmx.de>
8718
8719 * java/awt/AWTPermission.java,
8720 java/awt/Component.java,
8721 java/awt/ComponentOrientation.java,,
8722 java/awt/Dialog.java,
8723 java/awt/FontMetrics.java,
8724 java/awt/Graphics.java,
8725 java/awt/datatransfer/DataFlavor.java,
8726 java/beans/Introspector.java,
8727 java/beans/PropertyEditor.java,
8728 java/beans/PropertyEditorManager.java,
8729 java/beans/beancontext/BeanContextServiceProvider.java:
8730 Fixed HTML tags in javadocs all over.
8731
8732 2004-04-20 Mark Wielaard <mark@klomp.org>
8733
8734 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8735 MissingResourceException is thrown.
8736 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8737 null when a MissingResourceException is thrown. Should never happen.
8738
8739 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8740
8741 * java/awt/image/DataBufferShort.java,
8742 java/awt/image/DataBufferFloat.java,
8743 java/awt/image/DataBufferDouble.java,
8744 java/awt/image/PixelInterleavedSampleModel.java: New files.
8745 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8746 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8747
8748 2004-04-20 Michael Koch <konqueror@gmx.de>
8749
8750 * Makefile.am (java_source_files): Added
8751 java/awt/image/DataBufferDouble.java,
8752 java/awt/image/DataBufferFloat.java,
8753 java/awt/image/DataBufferShort.java and
8754 java/awt/image/PixelInterleavedSampleModel.java.
8755 * Makefile.in: Regenerated.
8756
8757 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8758
8759 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8760 undocumented CNI calls.
8761 * include/java-interp.h (_Jv_InterpClass): No longer
8762 extends java.lang.Class.
8763 * java/lang/Class.h (Class): Add new field `aux_info'.
8764 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8765 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8766 Use Class->aux_info instead.
8767 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8768 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8769 Use Class->aux_info instead.
8770 * java/io/natObjectInputStream.cc (allocateObject): Use
8771 _Jv_AllocObject.
8772 * java/lang/natClass.cc (newInstance): Likewise.
8773 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8774 * java/lang/natObject.cc (clone): Likewise.
8775 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8776 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8777 JvAllocObject. Allocate klass->aux_info here for interpreted
8778 class.
8779
8780 2004-04-17 Mark Wielaard <mark@klomp.org>
8781
8782 * javax/swing/JToggleButton.java (ToggleButtonModel):
8783 Make public static inner class.
8784 * javax/swing/JTabbedPane.java (setComponentAt):
8785 Call Page.setComponent().
8786 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8787 (WRAP_TAB_LAYOUT): Make public, value is 0.
8788 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8789 Make private static inner class.
8790
8791 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8792
8793 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8794 arguments to match new signature. Remove FIXME comments.
8795
8796 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8797
8798 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8799 Remove method.
8800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8801 unused code.
8802
8803 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8804
8805 * Makefile.am: Added new file.
8806 * Makefile.in: Regenerate.
8807 * javax/swing/ImageIcon.java:
8808 (ImageIcon(file)): set description of the icon
8809 to the file name
8810 * javax/swing/JCheckBoxMenuItem.java:
8811 Mostly Implemented. Work in progress.
8812 * javax/swing/JRadioButtonMenuItem.java:
8813 Reimplement constructors to use JToggleButtonModel.
8814 * javax/swing/plaf/basic/BasicIconFactory.java:
8815 (getCheckBoxMenuItemIcon): return check box
8816 icon.
8817 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8818 paint menu item selected only when it is armed and
8819 pressed.
8820
8821 2004-04-02 David Jee <djee@redhat.com>
8822
8823 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8824 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8825 * java/awt/Component.java
8826 (add): Set the parent of the popup as this component.
8827 * java/awt/PopupMenu.java
8828 (addNotify): Create popup menu when peer is null.
8829 (show): Call addNotify() if peer is null.
8830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8831 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8832 argument for gtk_menu_popup() as zero. This causes the popup menu to
8833 respond to any mouse button.
8834
8835 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8836
8837 * Makefile.am: Added new file.
8838 * Makefile.in: Regenerate.
8839 * javax/swing/JRadioButtonMenuItem.java:
8840 Implemented.
8841 * javax/swing/plaf/basic/BasicIconFactory.java:
8842 (getRadioButtonMenuItemIcon): Return
8843 radio button icon.
8844 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8845 (getPreferredSize): Add size of checkIcon if it
8846 exists.
8847 (installDefaults): Don't initialize checkIcon.
8848 It's value will be set in subclasses.
8849 (uninstallDefaults): remove uninstallation of
8850 checkIcon.
8851 (paint): Moved code to paintMenuItem().
8852 (paintMenuItem): Implemented.
8853 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8854 UI delegate for JRadioButtonMenuItem.
8855
8856 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8857
8858 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8859 Corrected position of the accelerator.
8860
8861 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8862
8863 * Makefile.am: Added new file.
8864 * Makefile.in: Regenerate.
8865 * javax/swing/JMenuItem.java: Partly
8866 implemented. Work in progress
8867 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8868 Changed default value of acceleratorDelimiter.
8869 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8870 New class. Partly implemented.
8871
8872 2004-03-26 Mark Wielaard <mark@klomp.org>
8873
8874 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8875 (item_activate): Declare label before use.
8876 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8877 (gtkSetFont): Removed unused variable label.
8878 (addExposeFilter): Declare variables before use.
8879 (removeExposeFilter): Likewise.
8880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8881 (ok_clicked): Declare str_fileName before use.
8882
8883 2004-03-26 David Jee <djee@redhat.com>
8884
8885 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8886 (addSeparator): Remove.
8887 * java/awt/Menu.java
8888 (separator): Remove static final MenuItem field.
8889 (separatorLabel): New static final String field.
8890 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8891 Use separatorLabel to denote that it is a separator.
8892 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8893 of reusing the static separator instance, because a MenuItem instance
8894 can't be added more than once without being cloned.
8895 * java/awt/peer/MenuPeer.java
8896 (addSeparator): Remove from interface.
8897
8898 2004-03-26 David Jee <djee@redhat.com>
8899
8900 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8901 (connectSignals): New native method declaration.
8902 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8903 * java/awt/MenuItem.java
8904 (getActionCommand): Return the label if the action command is not set.
8905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8906 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8907 gtk_menu_shell_append().
8908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8909 (item_activate): Fix argument type.
8910 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8911 signal here.
8912 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8913 method.
8914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8915 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8916 given. Add the menu widget's top-level GtkWindow to the global window
8917 group, so it can grab the pointer.
8918 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8919 gtk_menu_shell_append().
8920
8921 2004-03-23 Graydon Hoare <graydon@redhat.com>
8922
8923 * java/text/AttributedString.java
8924 (addAttribute): Fix off-by-one.
8925 (getIterator): Likewise.
8926 * java/text/AttributedStringIterator.java
8927 (getRunLimit): Correct logic.
8928 (getRunStart): Likewise.
8929 (getAttribute): Fix inequality.
8930 (getAttributes): Likewise.
8931 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8932
8933 2004-03-23 Kim Ho <kho@redhat.com>
8934
8935 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8936 (calculateSizes): Return real width and height.
8937
8938 2004-03-23 Kim Ho <kho@redhat.com>
8939
8940 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8941 (calculateTabRects): Set the selectedRun before
8942 trying to rotate tabs.
8943
8944 2004-03-23 Kim Ho <kho@redhat.com>
8945
8946 * Makefile.am: New file
8947 * Makefile.in: Regenerate
8948 * java/awt/Graphics.java: (drawRect):
8949 Draw to the correct point.
8950 * javax/swing/DefaultSingleSelectionModel.java
8951 (isSelected): Return true if the selected index
8952 is not -1.
8953 * javax/swing/JLabel.java: Do not change mnemonic
8954 index if text is null.
8955 * javax/swing/JProgressBar.java: Use JComponent's
8956 EventListenerList.
8957 * javax/swing/JScrollBar.java: Ditto.
8958 * javax/swing/JSlider.java: Ditto.
8959 * javax/swing/JTabbedPane.java: Reimplement.
8960 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8961 Add defaults for TabbedPane.
8962 * javax/swing/plaf/basic/BasicArrowButton.java:
8963 Implement
8964 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8965 (paintDeterminate): Don't paint String if it's
8966 empty.
8967 (paintIndeterminate): ditto.
8968 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8969 Reimplement.
8970
8971 2004-03-19 Michael Koch <konqueror@gmx.de>
8972
8973 * java/awt/image/AffineTransformOp.java
8974 (AffineTransformOp): Made public.
8975 * javax/swing/JComponent.java
8976 (listenerList): Made protected.
8977 (accessibleContext): Likewise.
8978 * javax/swing/JList.java
8979 (valueChanged): Dont use internal fields of ListSelectionEvent.
8980 * javax/swing/JViewport.java
8981 (getView): Dont use internal fields of Component.
8982 (addImpl): Likewise.
8983 * javax/swing/Timer.java
8984 (isRunning): Made public.
8985 (start): Likewise.
8986 (stop): Likewise.
8987 * javax/swing/UIDefaults.java
8988 (getInt): Made public.
8989 * javax/swing/plaf/basic/BasicListUI.java
8990 (mousePressed): Dont use internal fields of MouseEvent.
8991 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8992 * javax/swing/plaf/basic/BasicScrollBarUI.java
8993 (arrowIcon): Made static.
8994 * javax/swing/plaf/basic/BasicViewportUI.java
8995 (stateChanged): Dont use internal field on ChangeEvent.
8996 * javax/swing/text/JTextComponent.java
8997 (getUI): Call UIManager.getUI().
8998 (updateUI): Use getUI().
8999
9000 2004-03-19 Graydon Hoare <graydon@redhat.com>
9001
9002 * javax/swing/JComponent.java: Turn off double buffer by default.
9003 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9005 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9006 Use cairo to copy areas.
9007 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9008 Initialize and set clip region.
9009
9010 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9011
9012 * java/applet/Applet.java (preferredSize): Override deprecated
9013 variant of getPreferredSize.
9014 (minimumSize): Override deprecated variant of getMinimumSize.
9015
9016 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9017
9018 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9019 (drawImage(img,xform,bgcolor,obs)): New Method.
9020 Helper function that every drawImage method will
9021 use.
9022 (drawRaster): Added new parameter, bgcolor. All
9023 transparent pixels are changed to bgcolor before
9024 image is drawn.
9025 (drawRenderedImage): Fixed to use changed drawRaster().
9026 (drawImage(image,xform,obs): Fixed to use new helper function
9027 (drawImage(image,op,x,y)): Ditto.
9028 (drawImage (img,x,y,observer)): Ditto.
9029 ((PainterThread) bgcolor): New Field.
9030 ((PainterThread) (setPixels)): Changed all transparent pixels
9031 to bgcolor.
9032 (drawImage(img,x,y,width,height,bgcolor,observer)):
9033 Fixed FIXME - all the transparent pixels are
9034 changed to the specified bgcolor.
9035 (drawImage(img, x, y, width, height, observer): Changed to
9036 use function above.
9037 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9038 Fixed FIXME- changed all transparent pixels to bgcolor.
9039 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9040 Changed to use function above.
9041
9042 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9043
9044 * java/applet/Applet.java (dimensions): New field.
9045 (getDimensions): New method.
9046 (getPreferredSize): Call getDimensions.
9047 (getMinimumSize): Likewise.
9048
9049 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9050
9051 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9052 * jni/classpath/jnilink.c: Likewise.
9053
9054 * java/applet/Applet.java (getPreferredSize): New method.
9055 (getMinimumSize): New method.
9056
9057 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9058
9059 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9060 (_Jv_AllocObjectNoFinalizer): Likewise.
9061 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9062 (_Jv_AllocPtrFreeObject): Likewise.
9063 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9064 directly even in the JVMPI case.
9065 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9066 _Jv_AllocObject calls.
9067 * gcj/javaprims.h: Update prototypes.
9068 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9069 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9070 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9071
9072 2004-04-14 Andrew Haley <aph@redhat.com>
9073 Bryce McKinlay <mckinlay@redhat.com>
9074
9075 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9076 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9077 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9078
9079 * testsuite/libjava.lang/InvokeInterface.java: New file.
9080 * testsuite/libjava.lang/InvokeInterface.out: New file.
9081
9082 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9083
9084 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9085 modified lookup().
9086 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9087 StackTraceElement directly.
9088 (newElement): New native helper method to create StackTraceElement
9089 bypassing Java access control.
9090 (createStackTraceElement): Use newElement() instead of directly
9091 calling StackTraceElement's constructor.
9092 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9093
9094 2004-04-01 Michael Koch <konqueror@gmx.de>
9095
9096 * java/lang/SecurityManager.java
9097 (checkAwtEventQueueAccess): Implemented.
9098
9099 2004-04-01 Gary Benson <gbenson@redhat.com>
9100
9101 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9102 (_Jv_SearchMethodInClass): Likewise.
9103
9104 2004-03-26 Peter Moon <peterm@miraculum.com>
9105
9106 * java/text/NumberFormat.java: Fix spelling of setCurrency
9107 method.
9108
9109 2004-03-21 Anthony Green <green@redhat.com>
9110
9111 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9112 recursion when searching for the system ClassLoader.
9113
9114 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9115
9116 * java/net/ServerSocket.java
9117 (accept): Close the socket when error occured.
9118
9119 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9120
9121 * java/net/URI.java (parseURI): Added unquoting.
9122 (unquote): New method.
9123 (quoteAuthority): Implemented.
9124 (quote(String,String)): New method.
9125 (quotePath): Implemented.
9126 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9127 (getSchemeSpecificPart): Removed FIXME comment.
9128 (getRawAuthority): Return new rawAuthority field.
9129 (getAuthority): Removed FIXME comment.
9130 (getRawUserInfo): Return new rawUserInfo field.
9131 (getUserInfo): Removed FIXME comment.
9132 (getRawPath): Return new rawPath field.
9133 (getPath): Removed FIXME comment.
9134 (getRawQuery): Return new rawQuery field.
9135 (getQuery): Removed FIXME comment.
9136 (getRawFragment): Return new rawFragment field.
9137 (getFragment): Removed FIXME comment.
9138
9139 2004-03-20 Michael Koch <konqueror@gmx.de>
9140
9141 * java/net/URLConnection.java: Merged copyright year with classpath.
9142
9143 2004-03-20 Norbert Frese <postfach@nfrese.net>
9144
9145 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9146 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9147 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9148 rmi-message.
9149 (getObjectInputStream): Return object reference, throw IOException if null.
9150 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9151 (getObjectOutputStream): Return object reference, throw IOException if null.
9152 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9153 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9154 (UnicastConnectionManager): Throw RemoteException if port is not available.
9155 (getInstance): Throw RemoteException.
9156 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9157 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9158 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9159 Collect Exceptions which are returned by a rmi-call and fix void returns.
9160 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9161 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9162 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9163 (dispatch): Answer ping messages which are sent by other java implementions.
9164 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9165 for every rmi-message and fix void return problems.
9166 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9167 (UnicastServerRef): Throw RemoteException.
9168 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9169 In some situations it is necessary to export a subclass of the class which has the _Stub.
9170 For instance when the class with has the _Stub is abstract.
9171 (findStubSkelClass): New method which looks for the class which has the _Stub.
9172 (getClientHost): Implementated.
9173 * gcc/libjava/java/rmi/server/RemoteServer.java
9174 (getClientHost): Implementated.
9175 * gcc/libjava/Makefile.am (rmi_java_source_files):
9176 Added gnu/java/rmi/server/RMIIncomingThread.java.
9177 * Makefile.in: Regenerated.
9178
9179 2004-03-20 Michael Koch <konqueror@gmx.de>
9180
9181 * java/net/InetAddress.java
9182 (getLocalHostname): Added javadoc.
9183
9184 2004-03-19 Per Bothner <per@bothner.com>
9185
9186 * configure.in: FILE variable overrides FLATFORM when linking
9187 natFileChannelXXX.cc.
9188
9189 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9190 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9191
9192 2004-03-19 Per Bothner <per@bothner.com>
9193
9194 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9195 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9196 * Makefile.am: Update accordingly.
9197 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9198 as aliases for UnicodeLittle and UnicodeBig.
9199
9200 2004-03-20 Mark Wielaard <mark@klomp.org>
9201
9202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9203 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9204 Don't access ws when it is null.
9205 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9206 Likewise.
9207
9208 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9209
9210 * java/lang/ThreadGroup.java (list): Changed print to println.
9211
9212 2004-03-19 Mark Wielaard <mark@klomp.org>
9213
9214 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9215 happy.
9216
9217 2004-02-10 Randolph Chung <tausq@debian.org>
9218
9219 * configure.in: Build java for hppa target.
9220 * configure: Regenerate.
9221 * libjava/configure.host (hppa-*): Add target.
9222 * libjava/sysdeps/pa/lock.h: New file.
9223
9224 2004-03-19 Mark Wielaard <mark@klomp.org>
9225
9226 Reported by Stephen Crawley
9227 * java/io/FilePermission.java (implies): Use String.length() -1 to
9228 access last char of String.
9229
9230 2004-03-19 Michael Koch <konqueror@gmx.de>
9231
9232 * java/awt/image/AffineTransformOp.java
9233 (AffineTransformOp): Made public.
9234 * javax/swing/JComponent.java
9235 (listenerList): Made protected.
9236 (accessibleContext): Likewise.
9237 * javax/swing/JList.java
9238 (valueChanged): Dont use internal fields of ListSelectionEvent.
9239 * javax/swing/JViewport.java
9240 (getView): Dont use internal fields of Component.
9241 (addImpl): Likewise.
9242 * javax/swing/Timer.java
9243 (isRunning): Made public.
9244 (start): Likewise.
9245 (stop): Likewise.
9246 * javax/swing/UIDefaults.java
9247 (getInt): Made public.
9248 * javax/swing/plaf/basic/BasicListUI.java
9249 (mousePressed): Dont use internal fields of MouseEvent.
9250 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9251 * javax/swing/plaf/basic/BasicScrollBarUI.java
9252 (arrowIcon): Made static.
9253 * javax/swing/plaf/basic/BasicViewportUI.java
9254 (stateChanged): Dont use internal field on ChangeEvent.
9255 * javax/swing/text/JTextComponent.java
9256 (getUI): Call UIManager.getUI().
9257 (updateUI): Use getUI().
9258
9259 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9260
9261 * verify.cc: Undef PC.
9262
9263 2004-03-18 Michael Koch <konqueror@gmx.de>
9264
9265 * java/nio/channels/spi/AbstractSelectableChannel.java
9266 (keys): Initialize at declaration.
9267 (locate): keys cant be null.
9268 (add): Removed.
9269 (addSelectionKey): New method.
9270 (removeSelectionKey): New method.
9271 * java/nio/channels/spi/AbstractSelectionKey.java
9272 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9273 * java/nio/channels/spi/AbstractSelector.java
9274 (provider): Javadoc added.
9275 (cancelledKeys): Javadoc added.
9276 (cancelKey): Javadoc added, add key to cancelledKeys.
9277 (deregister): Implemented.
9278
9279 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9280
9281 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9282 MAP_FAILED to void *.
9283
9284 2004-03-12 Graydon Hoare <graydon@redhat.com>
9285
9286 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9287 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9288 * javax/swing/JList.java (ListListener): Revalidate on changes.
9289 * javax/swing/JScrollPane.java: Reimplement.
9290 * javax/swing/JViewport.java: Reimplement.
9291 * javax/swing/ScrollPaneLayout.java: Reimplement.
9292 * javax/swing/ViewportLayout.java: Tidy up.
9293 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9294 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9295 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9296 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9297 backing store only.
9298
9299 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9300
9301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9302 (window_wm_protocols_filter): New function.
9303 (window_focus_in_cb): Remove function.
9304 (window_focus_out_cb): Likewise.
9305 (window_focus_or_active_state_change_cb): New function.
9306 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9307 (connectSignals): Don't attach handlers to focus-in-event or
9308 focus-out-event signals. Handle notify signal.
9309
9310 2004-03-11 David Jee <djee@redhat.com>
9311
9312 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9313 (gtkSetLabel): New native method declaration.
9314 (setLabel): Use gtkSetLabel.
9315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9316 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9317
9318 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9319
9320 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9321 black when color argument is null.
9322
9323 2004-03-10 Kim Ho <kho@redhat.com>
9324
9325 * java/awt/Container.java: Remove check
9326 for drag events.
9327
9328 2004-03-10 Kim Ho <kho@redhat.com>
9329
9330 * java/awt/Container.java: (visitChild):
9331 Remove candidate clip. Use the component
9332 clip to intersect.
9333 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9334 (handleEvent): Use the PaintEvent's clip.
9335
9336 2004-03-10 Kim Ho <kho@redhat.com>
9337
9338 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9339 (handleEvent): Don't set the clip for the
9340 Graphics object.
9341
9342 2004-03-09 Graydon Hoare <graydon@redhat.com>
9343
9344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9345 Fix double <-> fixed macros, reset font transform.
9346 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9347 Likewise.
9348
9349 2004-03-09  Kim Ho <kho@redhat.com>
9350
9351 * java/awt/Container.java: (visitChild): Move
9352 the x and y coordinate of the component rectangle
9353 to correct position.
9354 (handleEvent): Forward drag events to the pressed
9355 component.
9356 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9357 Fix comments.
9358 (ArrowButtonListener::mousePressed): Stop the
9359 existing timer.
9360 (mouseDragged): Implement.
9361 (TrackListener::mousePressed): Only react if
9362 the press doesn't occur on the thumb, otherwise
9363 just set the offset.
9364 (TrackListener::mouseReleased): Unset the isAdjusting
9365 value.
9366 (createIncreaseIcon): Switch icon.
9367 (createDecreaseIcon): Switch icon.
9368 (calculatePreferredSize): Use width.
9369 (getThumbBounds): Use the top as the lower value.
9370 (layoutVScrollBar): Switch the button locations.
9371 (paintIncreaseHighlight): Paint correct side of thumb.
9372 (paintDecreaseHighlight): ditto.
9373 (valueForYPosition): Use top as the lower value.
9374 * javax/swing/plaf/basic/BasicSliderUI.java:
9375 Fix comments.
9376 (mouseDragged): Implement.
9377 (mousePressed): Only react when the thumb isn't
9378 pressed, otherwise just set offset.
9379 (mouseReleased): Handle a release of the thumb.
9380 (scrollDueToClickInTrack): Stop the timer first.
9381 * javax/swing/JProgressBar.java:
9382 (setString): Fix change condition.
9383 * javax/swing/JSeparator.java:
9384 Remove println's.
9385
9386 2004-03-08 David Jee <djee@redhat.com>
9387
9388 * java/awt/image/AffineTransformOp.java:
9389 (filter): Use Graphics2D interface instead of directly using the
9390 GdkGraphics2D peer.
9391
9392 2004-03-05 David Jee <djee@redhat.com>
9393
9394 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9395 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9396 * java/awt/Container.java
9397 (acquireComponentForMouseEvent): Fixed.
9398 (handleEvent): Fixed.
9399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9400 (state_to_awt_mods_with_button_states): New method.
9401 (pre_event_handler): Fixed mouse event generation.
9402
9403 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9404
9405 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9406 (GdkGraphics2D (BufferedImage)): Initialize
9407 pixmap associated with specified BufferedImage.
9408 (setPaint): Changed implementation of Texture
9409 Paint to use AffineTransformOp.
9410 * java/awt/image/AffineTransformOp.java
9411 (createCompatibleDestRaster): Throw RasterFormatException
9412 if resulting width or height of raster is 0.
9413
9414 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9415
9416 * java/awt/image/AffineTransformOp.java:
9417 Removed unnecessary field interpolationType.
9418 Formatted some of the lines to be consistent with
9419 the GNU style.
9420 (AffineTransformOp): Create new RenderingHints
9421 containing specified interpolation type.
9422 (createCompatibleDestImage): Implemented.
9423 (createCompatibleDestRaster): Implemented.
9424 (filter): Implemented.
9425 (getBounds2D(BufferedImage)): Implemented.
9426 (getBounds2D(Raster)): Implemented.
9427 (getInterpolationType): Get interpolation value from
9428 rendering hints.
9429
9430 2004-03-04 David Jee <djee@redhat.com>
9431
9432 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9433 (setFont): Check if child peers are null.
9434
9435 2004-03-04 Graydon Hoare <graydon@redhat.com>
9436
9437 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9438 .libs in -L option.
9439 (libjava_arguments): Add new libraries to argument list.
9440
9441 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9442
9443 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9444 * Makefile.in: Re-generated.
9445 * java/awt/image/AffineTransformOp.java: New Class.
9446
9447 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9448
9449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9450 (setPaint): Interpret correctly TexturePaint's
9451 anchor rectangle.
9452 (drawImage): Fixed scale factors of the affine
9453 transform.
9454
9455 2004-02-27 David Jee <djee@redhat.com>
9456
9457 * gnu/java/awt/peer/gtk/GdkGraphics.java
9458 (GdkGraphics(Component)): Inherit font from component.
9459 (drawString): Use font style.
9460 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9461 (gtkSetFont): New native method declaration.
9462 (setFont): New method.
9463 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9464 (gtkSetFont): New native method declaration.
9465 (setFont): Call new native method gtkSetFont.
9466 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9467 (setFont): For all child components who do not their fonts set,
9468 set their peers' fonts with this container's font.
9469 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9470 Move all native method declarations to the top for readability.
9471 (gtkSetFont): New native method declaration.
9472 (setFont): New method.
9473 * java/awt/Component.java
9474 (setFont): Invalidate after setting the font.
9475 * java/awt/Container.java
9476 (invalidateTree): New method.
9477 (setFont): Invalidate the container tree after setting the font.
9478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9479 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9481 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9483 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9484 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9485 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9486
9487 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9488
9489 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9490 (updateBufferedImage): New helper function.
9491 Updates BufferedImage in memory if it was changed.
9492 (draw): changed to update BufferedImage in memory after
9493 this drawing operation
9494 (fill): Ditto.
9495 (draw3DRect): Ditto.
9496 (fill3DRect): Ditto.
9497 (clearRect): Ditto.
9498 (drawRaster): Ditto.
9499 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9500 no affine transformation.
9501 (drawGlyphVector): Ditto.
9502
9503 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9504
9505 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9506 (isBufferedImageGraphics): New Helper function.
9507 Returns true if this graphics2d can be used to draw
9508 into buffered image and false otherwise.
9509 (updateImagePixels): New Helper function.
9510 Updates pixels in the BufferedImage.
9511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9512 (getImagePixels): New function. Returns pixels
9513 of the buffered image associated with
9514 this Graphics2D.
9515
9516 2004-02-26 David Jee <djee@redhat.com>
9517
9518 * java/awt/BorderLayout.java
9519 (layoutContainer): Fix width and height calculations to ensure
9520 that they're non-negative.
9521 * java/awt/Component.java
9522 (setBackground): If c is null, inherit from closest ancestor whose
9523 background color is set.
9524
9525 2004-02-26  Kim Ho  <kho@redhat.com>
9526
9527 * Makefile.am: Add new files.
9528 * Makefile.in: Re-generate.
9529 * javax/swing/JProgressBar.java:
9530 (JProgressBar(int, int int)): Throw
9531 IllegalArgumentException if orientation is
9532 invalid.
9533 (JProgressBar(BoundedRangeModel)): Create
9534 ChangeListener and register it. UpdateUI.
9535 (getChangeListeners): Implement.
9536 (setModel): Reset ChangeListener.
9537 * javax/swing/JScrollBar.java: Implement.
9538 * javax/swing/JSeparator.java: Implement.
9539 * javax/swing/JSlider.java:
9540 (JSlider(int, int, int, int)): Throw
9541 IllegalArgumentException if orientation
9542 is invalid.
9543 (getChangeListeners): Fix method name.
9544 * javax/swing/SwingUtilities.java:
9545 (layoutCompoundLabel): If there is no text,
9546 set the text rectangle dimensions to 0.
9547 * javax/swing/plaf/basic/BasicButtonUI.java:
9548 (paint): If there is no text, don't paint it.
9549 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9550 Implement.
9551 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9552 Implement.
9553 * javax/swing/plaf/basic/BasicSliderUI.java:
9554 (propertyChange): If the model changes, change
9555 the listeners accordingly.
9556
9557 2004-02-25 Graydon Hoare <graydon@redhat.com>
9558
9559 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9560 * javax/swing/JList.java: Reimplement.
9561 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9562 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9563 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9564 * javax/swing/ListModel.java: Javadoc.
9565 * javax/swing/ListSelectionModel.java: Add missing methods.
9566 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9567 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9568 * javax/swing/ListModel.java: Javadoc and corrections.
9569 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9570
9571 2004-02-25 David Jee <djee@redhat.com>
9572
9573 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9574 (GtkFontPeer): Change default size to 12.
9575 * gnu/java/awt/peer/gtk/GtkToolkit.java
9576 (getFontPeer): Change default size to 12.
9577 (getClasspathFontPeer): Likewise. Set default name to "Default".
9578 * java/awt/Font.java
9579 (Font(Map)): Call Font(String,Map).
9580 (Font(String,Map)): If attrs is null, initialize it as an empty
9581 HashMap, which will ensure that the Font will get default attributes.
9582
9583 2004-02-25 David Jee <djee@redhat.com>
9584
9585 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9586 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9587 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9588 * gnu/java/awt/peer/gtk/GtkToolkit.java
9589 (getFontPeer(String,int)): Call the new overload method with size 1.
9590 (getFontPeer(String,int,int)): New method. Overloaded with size
9591 attribute.
9592 (getClasspathFontPeer): Set the size of the font.
9593
9594 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9595
9596 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9597 (bimage): New field.
9598 (GdkGraphics2D): New Constructor. Constructs Graphics
9599 object that can be used to draw into the Buffered Image.
9600 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9601 (GdkGraphicsEnvironment): Fixed to include public
9602 keyword.
9603 (createGraphics): Implemented.
9604 * gnu/java/awt/peer/gtk/GtkToolkit.java
9605 (getLocalGraphicsEnvironment): Implemented.
9606 * java/awt/GraphicsEnvironment.java:
9607 (getLocalGraphicsEnvironment): Implemented.
9608 * java/awt/image/BufferedImage.java:
9609 (createGraphics): Implemented.
9610
9611 2004-02-24 David Jee <djee@redhat.com>
9612
9613 * java/awt/Component.java
9614 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9615 * java/awt/Container.java
9616 (addNotifyContainerChildren): Fix event enabling.
9617
9618 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9619
9620 * Makefile.am: Added
9621 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9622 * Makefile.in: Re-generated.
9623 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9624 New Class.
9625
9626 2004-02-19 Kim Ho <kho@redhat.com>
9627
9628 * Makefile.am: Add BasicProgressBarUI
9629 * Makefile.in: Regenerate.
9630 * javax/swing/JProgressBar.java:
9631 Re-implement.
9632 * javax/swing/plaf/basic/BasicLookAndFeel.java
9633 Add constants for JProgressBar.
9634 * javax/swing/plaf/basic/BasicProgressBarUI.java
9635 Implement.
9636 * javax/swing/plaf/basic/BasicSliderUI.java
9637 Change comments.
9638 (calculateGeometry): New method
9639 (paint): Remove unnecessary size calculations.
9640
9641 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9642
9643 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9644 (drawRaster): Fixed small error that caused
9645 imageToUser transformation to be set incorrectly.
9646 (toString): Implemented.
9647
9648 2004-02-18 David Jee <djee@redhat.com>
9649
9650 * java/awt/CardLayout.java
9651 (addLayoutComponent): Show the first component added as the default.
9652 (removeLayoutComponent): After removing, show the next component.
9653 (gotoComponent): If there is only one component, show it and return.
9654
9655 2004-02-18 Kim Ho <kho@redhat.com>
9656
9657 * javax/swing/JSlider.java: Re-order
9658 modifiers.
9659 * javax/swing/JLabel.java: Re-order
9660 modifiers.
9661 * javax/swing/JComponent.java:
9662 (addPropertyChangeListener):
9663 Implement.
9664 (removePropertyChangeListener):
9665 ditto.
9666 (firePropertyChangeEvent):
9667 ditto.
9668
9669 2004-02-17 David Jee <djee@redhat.com>
9670
9671 * java/awt/Component.java
9672 (show): Dispatch ComponentEvent via system event queue.
9673 (hide): Likewise.
9674 (move): Likewise.
9675 (resize): Likewise.
9676 (reshape): Likewise.
9677 * java/awt/Window.java
9678 (setBoundsCallback): Likewise.
9679
9680 2004-02-17 David Jee <djee@redhat.com>
9681
9682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9683 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9684 Use gtk_widget_set_size_request() instead of the deprecated
9685 gtk_widget_set_usize().
9686
9687 2004-02-17 Kim Ho <kho@redhat.com>
9688
9689 * javax/swing/JSlider.java: Fix comments and
9690 make property strings constants.
9691 (createStandardLabels): Use the labels
9692 preferred size as bounds.
9693 * javax/swing/plaf/basic/BasicSliderUI.java
9694 Fix comments.
9695 (ScrollHandler::actionPerformed): Don't
9696 calculate the timer stop value. Let the
9697 MouseListeners find the stop location.
9698 (getPreferredHorizontalSize): Re-implement.
9699 (getPreferredVerticalSize): ditto.
9700 (getMinimumHorizontalSize): ditto.
9701 (getMinimumVerticalSize): ditto.
9702 (getPreferredSize): ditto.
9703 (getMinimumSize): ditto.
9704 (getMaximumSize): ditto.
9705 (paintTicks): Use doubles to find the
9706 tick location.
9707 (paintHorizontalLabel):  Use preferredSize
9708 as initial width and height.
9709 (paintVerticalLabel): ditto.
9710
9711 2004-02-17 Kim Ho <kho@redhat.com>
9712
9713 * javax/swing/JLabel.java: Changed
9714 property strings to constants.
9715 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9716 New property.
9717 (setText): Change mnemonic index if
9718 text is too short.
9719 (setDisplayedMnemonicIndex): Fire property
9720 change event.
9721 (getDisplayedMnemonicIndex): Remove check
9722 against short text.
9723
9724 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9725
9726 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9727 (drawImage(img,xform,obs)): Invert xform before
9728 passing the xform to cairo.
9729 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9730 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9731 implemented.
9732 (drawImage (img,x,y,w,h,obs)): Implemented.
9733 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9734 bgcolor,obs)): Partly implemented.
9735 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9736 Implemented.
9737 * java/awt/image/BufferedImage.java:
9738 (copyData): if dest is null, create raster with same
9739 dimensions as the current image.
9740
9741 2004-02-16 Graydon Hoare <graydon@redhat.com>
9742
9743 * javax/swing/plaf/basic/BasicLabelUI.java
9744 (getPreferredSize): Use layoutCL.
9745 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9746 (getPreferredButtonSize): Start with empty view rect, layout using
9747 component's preferred alignment.
9748 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9749 List defaults.
9750
9751 2004-02-16 David Jee <djee@redhat.com>
9752
9753 * java/awt/Component.java
9754 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9755 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9756 (move): Erase old bounds and repaint new bounds. Dispatch
9757 COMPONENT_MOVED ComponentEvent.
9758 (resize): Erase old bounds and repaint new bounds. Dispatch
9759 COMPONENT_RESIZED ComponentEvent.
9760 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9761 ComponentEvents.
9762 * java/awt/Window.java
9763 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9764 ComponentEvents.
9765
9766 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9767
9768 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9769 (setRenderingHint): Added implementation of
9770 Interpolation rendering hints.
9771 (setRenderingHints): Ditto.
9772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9773 (drawPixels): fixed to allow user to choose type
9774 of filtering that should be used when displaying images.
9775 (cairoSurfaceSetFilter): New method. Sets filter type for
9776 interpolation of pixel values.
9777
9778 2004-02-16 David Jee <djee@redhat.com>
9779
9780 * java/awt/GridBagLayout.java
9781 (calcCellSizes): Rows or columns with zero sizes should still be
9782 considered for extra space distribution.
9783
9784 2004-02-16 Kim Ho <kho@redhat.com>
9785
9786 * javax/swing/JLabel.java: Re-implement.
9787 * javax/swing/plaf/basic/BasicLabelUI.java
9788 Re-implement.
9789 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9790 Added constant.
9791
9792 2004-02-16  Kim Ho  <kho@redhat.com>
9793
9794 * javax/swing/JSlider.java: Fix indentation and comments.
9795 (setModel): Remove null check to conform with Sun's.
9796 (setOrientation): Throw exception if not
9797 HORIZONTAL or VERTICAL.
9798 (getInverted): Use private variable instead of
9799 ComponentOrientation.
9800 (setInverted): ditto.
9801 * javax/swing/plaf/basic/BasicSliderUI.java:
9802 Fix indentation and comments.
9803 (propertyChange): Remove check for inverted slider, handle
9804 in main paint.
9805 (getMinimumSize): Return preferred size.
9806 (getMaximumSize): ditto.
9807 (calculateFocusRect): Don't relocate rectangle.
9808 (drawInverted): Return XOR of the slider's inversion and
9809 the component's orientation.
9810 (paint): Update leftToRightCache
9811
9812 2004-02-13 David Jee <djee@redhat.com>
9813
9814 * java/awt/GridBagLayout.java
9815 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9816 code to helper methods.
9817 (sortBySpan): New helper method.
9818 (distributeSizeAndWeight): Likewise.
9819 (calcCellWeights): Likewise.
9820 (calcCellSizes): Add comments.
9821
9822 2004-02-13 David Jee <djee@redhat.com>
9823
9824 * java/awt/Component.java
9825 (show): Only do something if component is invisible at the moment.
9826 (hide): Only do something if component is visible at the moment.
9827 (reshape): If lightweight, erase old bounds and repaint new bounds.
9828
9829 2004-02-13  Kim Ho  <kho@redhat.com>
9830
9831 * Makefile.am: Updated for new file.
9832 * Makefile.in: Regenerated.
9833 * javax/swing/JSlider.java: Reimplement.
9834 * javax/swing/SwingUtilities.java
9835 (layoutCompoundLabel): Use icon height
9836 instead of width.
9837 (paintComponent): Implement.
9838 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9839 Add JSlider defaults.
9840 * javax/swing/plaf/basic/BasicSliderUI.java:
9841 Implement. New file.
9842
9843 2004-03-17 Michael Koch <konqueror@gmx.de>
9844
9845 * gnu/java/net/PlainDatagramSocketImpl.java
9846 (RECEIVE_LOCK): New member field.
9847 (SEND_LOCK): New member field.
9848 (send0): New method.
9849 (send): Synchronize on SEND_LOCK.
9850 (receive0): New method.
9851 (receive): Synchronize on RECEIVE_LOCK.
9852 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9853 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9854 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9855 (send0): Renamed from send.
9856 (receive0): Renamed from receive.
9857 2004-03-17 Michael Koch <konqueror@gmx.de>
9858
9859 * gnu/java/net/natPlainSocketImplPosix.cc
9860 (write): Just call write(jbyteArray, offset, len).
9861 (read): Just call read(jbyteArray, offset, len).
9862
9863 2004-03-16 Michael Koch <konqueror@gmx.de>
9864
9865 * javax/swing/JTabbedPane.java
9866 (serialVersionUID): New field.
9867
9868 2004-03-16 Norbert Frese <postfach@nfrese.net>
9869
9870 * java/net/InetAddress.java
9871 (getByName): Handle hostname == "" case.
9872
9873 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9874
9875 Reported by: Adam Heath <doogie@debian.org>
9876 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9877 class loader.
9878
9879 2004-03-15 Michael Koch <konqueror@gmx.de>
9880
9881 * java/util/Locale.java: Reverting my last patch
9882 and add a comment why the original version was okay.
9883
9884 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9885
9886 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9887 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9888 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9889 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9890
9891 2004-03-12 Michael Koch <konqueror@gmx.de>
9892
9893 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9894
9895 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9896
9897 * java/net/URI.java (toURL): Implemented.
9898
9899 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9900
9901 * java/net/URI.java
9902 (URI_REGEXP) updated to contain scheme specific part.
9903 (SCHEME_SPEC_PART_GROUP) new constant.
9904 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9905 updated to make room for SCHEME_SPEC_PART_GROUP.
9906 (parseURI) parse scheme specific part.
9907 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9908 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9909 getQuery, getFragment) implemented.
9910
9911 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9912
9913 * libraries/javalib/java/net/URI.java
9914 partially implemented using java.util.regex.
9915 (URI_REGEXP) new constant. Used to parse URIs.
9916 (SCHEME_GROUP) new constant representing index of scheme group
9917 in parsed URI.
9918 (AUTHORITY_GROUP) new constant representing index of authority
9919 group in parsed URI.
9920 (PATH_GROUP) new constant representing index of path group in
9921 parsed URI.
9922 (QUERY_GROUP) new constant representing index of query group in
9923 parsed URI.
9924 (FRAGMENT_GROUP) new constant representing index of fragment
9925 group in parsed URI.
9926 (getURIGroup) new static utility method.
9927 (parseURI) implemented.
9928 (quote) stub for new static utility method.
9929 (quoteAuthority) stub for new static utility method.
9930 (quoteHost) stub for new static utility method.
9931 (quotePath) stub for new static utility method.
9932 (quoteUserInfo) stub for new static utility method.
9933 (URI) implemented.
9934 (create) don't throw URISyntaxException. Implemented.
9935 (toString) implemented.
9936
9937 2004-03-12 Michael Koch <konqueror@gmx.de>
9938
9939 * java/net/HttpURLConnection.java
9940 (getResponseCode): Fix another typo in javadoc.
9941
9942 2004-03-11 Michael Koch <konqueror@gmx.de>
9943
9944 * java/util/logging/Level.java
9945 (parse): Use String.equals() instead of ==.
9946
9947 2004-03-11 Michael Koch <konqueror@gmx.de>
9948
9949 * gnu/java/net/protocol/jar/Connection.java
9950 (getContentLength): New method.
9951
9952 2004-03-11 Michael Koch <konqueror@gmx.de>
9953
9954 * gnu/java/net/PlainSocketImpl.java:
9955 Reformated to merge better with classpath's version.
9956
9957 2004-03-11 Michael Koch <konqueror@gmx.de>
9958
9959 * java/util/Locale.java
9960 (getISO3Language): Use String.equals() instead of ==.
9961 (getISO3Country): Likewise.
9962
9963 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9964
9965 * java/text/AttributedString.java
9966 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9967 Use HashMap instead of Hashtable since value can be null, and
9968 you can not store a null value in a Hashtable.
9969
9970 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9971
9972 * java/text/AttributedStringIterator.java
9973 (getAllAttributesKey): Return only keys concerned
9974 by the current iterator.
9975 (getAttributes): Use strict inequality for
9976 end_index.
9977
9978 2004-03-11 Michael Koch <konqueror@gmx.de>
9979
9980 * java/net/HttpURLConnection.java:
9981 Fixed typo in javadoc.
9982
9983 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9984
9985 * java/io/BufferedInputStream.java (marktarget): New field for max
9986 mark limit.
9987 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9988 (mark): Use new fields.
9989 (read): Likewise.
9990 (read(byte[],int,int)): Likewise.
9991 (skip): Likewise.
9992 (refill): Likewise.
9993
9994 2004-03-11 Mark Wielaard <mark@klomp.org>
9995
9996 * java/beans/BeanDescriptor.java (BeanDescriptor):
9997 Set the FeatureDescriptor programmatic name.
9998
9999 2004-03-11 Michael Koch <konqueror@gmx.de>
10000
10001 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10002 This file was was just copied form java/io/natFileDescriptorEcos.cc
10003 and never changed to compile correctly.
10004
10005 2004-03-11 Michael Koch <konqueror@gmx.de>
10006
10007 * gnu/java/nio/PipeImpl.java
10008 (SourceChannelImpl): Made final.
10009 (read): Implemented.
10010 (SinkChannelImpl): Made final.
10011 (write): Implemented.
10012
10013 2004-03-11 Michael Koch <konqueror@gmx.de>
10014
10015 * gnu/java/net/PlainDatagramSocketImpl.java:
10016 Reformated to match classpath's version more.
10017
10018 2004-03-11 Michael Koch <konqueror@gmx.de>
10019
10020 * gnu/java/awt/peer/ClasspathFontPeer.java:
10021 Fixed javadoc to be correct xhtml.
10022 * gnu/java/awt/peer/gtk/GtkArgList.java
10023 (add): Use Boolean.valueOf() instead of new Boolean().
10024
10025 2004-03-09 Michael Koch <konqueror@gmx.de>
10026
10027 * java/lang/Thread.java
10028 (runnable): Moved around.
10029 (daemon): Renamed from daemon_flag.
10030 (contextClassLoader): Renamed from context_class_loader.
10031 (Thread): Reordered constructors.
10032 (activeCount): Use group directly.
10033 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10034 (holdsLock): Reworked javadoc.
10035 (setDaemon): Reworked.
10036 * java/lang/natThread.cc
10037 (destroy): Removed.
10038
10039 2004-03-08 Anthony Green <green@redhat.com>
10040
10041 * Makefile.am: Build property resource files into libgcj.
10042 * Makefile.in: Rebuilt.
10043 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10044 java/util/regex/PatternSyntaxException.java,
10045 gnu/regexp/CharIndexed.java,
10046 gnu/regexp/CharIndexedCharArray.java,
10047 gnu/regexp/CharIndexedInputStream.java,
10048 gnu/regexp/CharIndexedReader.java,
10049 gnu/regexp/CharIndexedString.java,
10050 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10051 gnu/regexp/REException.java,
10052 gnu/regexp/REFilterInputStream.java,
10053 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10054 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10055 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10056 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10057 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10058 gnu/regexp/RETokenLookAhead.java,
10059 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10060 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10061 gnu/regexp/RETokenStart.java,
10062 gnu/regexp/RETokenWordBoundary.java,
10063 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10064
10065 2004-03-03 Per Bothner <per@bothner.com>
10066
10067 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10068 Optimize when argument is a FileChannelImpl.
10069 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10070 New native methods.
10071 * java/nio/channels/natChannels.cc: New file for new native methods.
10072 * Makefile.am: Update accordingly.
10073
10074 2004-03-02 Jan Hubicka <jh@suse.cz>
10075
10076 * configure.host: Pass -fno-omit-frame-pointer for i386.
10077 * configure.in: Likewise.
10078 * configure: Regenerate.
10079
10080 2004-03-01 Per Bothner <per@bothner.com>
10081
10082 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10083
10084 2004-02-29 Per Bothner <per@bothner.com>
10085
10086 * java/nio/channels/FileChannelImpl.java: Moved to package
10087 gnu/java/nio/channels, since we need to refer to it from java.io.
10088 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10089 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10090 from java/nio/channels. Don't depend on FileDescriptor.
10091 (in, out, err): New static fields.
10092 (mode): New field.
10093 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10094 from FileDescriptor.
10095 (by): Removed MappedByteBuffer field.
10096 (map): New working implementation.
10097 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10098 some code "ported" from natFileDescriptoPosix.cc.
10099 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10100 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10101 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10102 Remove native methods.
10103 * Makefile.am, configure.in: Updated accordingly.
10104
10105 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10106 (ch): New FileChannelImpl field. Update constructor to match.
10107 (releaseImpl): Remove native method. Instead ...
10108 (release): Call unlock on channel.
10109 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10110
10111 * java/io/natFileDescriptorEcos.cc: Remove file.
10112 * java/io/natFileDescriptorPosix.cc: Remove file.
10113 * java/io/natFileDescriptorWin32.cc: Remove file.
10114 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10115 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10116 (<init>(FileChannelImpl)): New package-private constructor.
10117 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10118 (available, close, read, skip): Implement using FileChannelImpl.
10119 (getFD): Allocate FileDescriptor if needed.
10120 (getChannel): Is now trivial.
10121 * java/io/FileOutputStream.java: Corresponding changes.
10122 * java/io/RandomAccessFile.java: Corresponding changes.
10123
10124 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10125 unmapImpl): New dummy methods, to be overridden by subclass.
10126 (finalize, isLoaded, load, force): New methods.
10127 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10128 Now works, at least for read mapping.
10129
10130 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10131 streams using FileChannelImpl, not FileDescriptor.
10132 * java/lang/natWin32Process.cc (startProcess): Likewise.
10133
10134 2004-02-28 Michael Koch <konqueror@gmx.de>
10135
10136 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10137 wrong code.
10138
10139 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10140
10141 * java/io/ObjectInputStream.java
10142 (readClassDescriptor): Keep elements of the mapping non null.
10143 (checkTypeConsistency): New method.
10144 (readFields): Fixed main loop and base logic. Small reindentation.
10145 * java/io/ObjectStreamField.java
10146 (lookupField): New method to update the field reference.
10147 (checkFieldType): New method.
10148 * java/io/ObjectStreamClass.java
10149 (setClass, setFields): Call lookupField when building the field
10150 database. Check the real field type.
10151
10152 2004-02-28 Michael Koch <konqueror@gmx.de>
10153
10154 * java/nio/ByteOrder.java
10155 (nativeOrder): Use equals() to compare strings.
10156
10157 2004-02-26 Michael Koch <konqueror@gmx.de>
10158
10159 * gnu/java/nio/FileLockImpl.java
10160 (finalize): Made protected.
10161 * java/nio/channels/FileChannel.java
10162 (MapMode.READ_ONLY): Made final.
10163 (MapMode.READ_WRITE): Made final.
10164 (MapMode.PRIVATE): Made final.
10165 * java/nio/channels/SocketChannel.java
10166 (open): Simplified code.
10167 * java/nio/channels/spi/AbstractSelectableChannel.java
10168 (registered): Unused, removed.
10169 (keyFor): Check channel is open, only locate key
10170 and not add a new one.
10171 (register): Don't delete attachments.
10172
10173 2004-02-26 Michael Koch <konqueror@gmx.de>
10174
10175 * gnu/java/awt/ComponentDataBlitOp.java
10176 (INSTANCE): Made final.
10177 * gnu/java/awt/image/ImageDecoder.java:
10178 Reworked imports.
10179 (cm): Unused, removed.
10180
10181 2004-02-26 Michael Koch <konqueror@gmx.de>
10182
10183 * gnu/java/nio/DatagramChannelImpl.java
10184 (send): Check if target address is resolved.
10185
10186 2004-02-26 Michael Koch <konqueror@gmx.de>
10187
10188 * Makefile.am: Generate and install headers for inner classes in
10189 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10190 * Makefile.in: Regenerated.
10191
10192 2004-02-24 Anthony Green <green@redhat.com>
10193
10194 * java/lang/StringBuffer.java: No need to NULL out remainder of
10195 buffer since ensureCapacity_unsynchronized will have done this for
10196 us.
10197
10198 2004-02-20 Michael Koch <konqueror@gmx.de>
10199
10200 * gnu/java/net/protocol/jar/Handler.java
10201 (): Removed unneeded check for file != null. java.net.URL.getFile()
10202 returns an empty string but never null.
10203
10204 2004-02-20 Michael Koch <konqueror@gmx.de>
10205
10206 * gnu/gcj/convert/Convert.java
10207 (main): Use equals() to compare strings.
10208
10209 2004-02-20 Michael Koch <konqueror@gmx.de>
10210
10211 * javax/swing/AbstractButton.java: Made several constants final.
10212 (getRolloverSelectedIcon): Made public.
10213 (getSelectedIcon): Made public.
10214
10215 2004-02-16 Per Bothner <per@bothner.com>
10216
10217 * java/nio/CharBufferImpl.java: Inline super constructor.
10218 * java/nio/DoubleBufferImpl.java: Likewise.
10219 * java/nio/FloatBufferImpl.java: Likewise.
10220 * java/nio/IntBufferImpl.java: Likewise.
10221 * java/nio/LongBufferImpl.java: Likewise.
10222 * java/nio/ShortBufferImpl.java: Likewise.
10223 * java/nio/CharBuffer.java: Remove unused constructor.
10224 * java/nio/DoubleBuffer.java: Likewise.
10225 * java/nio/FloatBuffer.java: Likewise.
10226 * java/nio/IntBuffer.java: Likewise.
10227 * java/nio/LongBuffer.java: Likewise.
10228 * java/nio/ShortBuffer.java: Likewise.
10229 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10230 Fix buggy call to super constructor.
10231 * java/nio/DoubleViewBufferImpl.java: Likewise.
10232 * java/nio/FloatViewBufferImpl.java: Likewise.
10233 * java/nio/IntViewBufferImpl.java: Likewise.
10234 * java/nio/LongViewBufferImpl.java: Likewise.
10235 * java/nio/ShortViewBufferImpl.java: Likewise.
10236
10237 * java/nio/ByteBuffer.java (endian): Make non-private so other
10238 java.nio classes can inherit it.
10239 (<init>): Don't bother clearing array_offset.
10240 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10241 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10242 Remove redundant test.
10243
10244 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10245 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10246 Use new XxxViewBufferImpl constructors.
10247 * java/nio/MappedByteBufferImpl.java: Likewise.
10248 * java/nio/DirectByteBufferImpl.java: Likewise.
10249
10250 * java/nio/ByteBufferImpl.java: Remove one constructor.
10251 Inline super in remaining constructor.
10252 * java/nio/ByteBuffer.java: Remove unused constructor.
10253
10254 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10255
10256 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10257 * java/nio/DirectByteBufferImpl.java (owner): New field.
10258 (offset): Remove unused field.
10259 (<init>): Modify one and add another constructor. Change callers.
10260 (allocateDirect): Removed - not used.
10261 (getImpl, putImpl): Make static and pass address explicitly,
10262 to make them useful for MappedByteBufferImpl.
10263 (get, put): Check for underflow. Modify for new getImpl.
10264 (getImpl): New native method where target is array.
10265 (get(byte[],int,int)): Use the above.
10266 (adjustAddress): New static native method.
10267 (slice, duplicate, asReadOnly): New implementations.
10268 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10269 adjustAddress): New or updated native methods.
10270
10271 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10272
10273 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10274 overflow of fieldmapping.
10275
10276 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10277
10278 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10279
10280 2004-02-14 Per Bothner <per@bothner.com>
10281
10282 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10283 Set closed before calling implCloseChannel, as in the spec.
10284
10285 2004-02-09 Graydon Hoare <graydon@redhat.com>
10286
10287 * javax/swing/ToggleButtonModel.java: Remove dead class.
10288 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10289 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10290 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10291 * Makefile.am: Update for new and removed files.
10292 * Makefile.in: Regenerate.
10293
10294 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10295 * javax/swing/AbstractButton.java
10296 (AbstractButton): Initialize fields correctly in ctor.
10297 * javax/swing/JCheckbox.java
10298 (JCheckBox): Override painting flags.
10299 * javax/swing/DefaultButtonModel.java: Conform to sun.
10300 * javax/swing/JComponent.java (paint): Fill with background color
10301 if available.
10302 (processComponentKeyEvent)
10303 (processFocusEvent)
10304 (processKeyEvent)
10305 (processMouseMotionEvent): Remove event-consuming empty methods.
10306 (getUIClassID): Return "ComponentUI" not "JComponent"
10307 * javax/swing/JFrame.java: Remove some debugging chatter.
10308 (JFrame): Subscribe to window events.
10309 * javax/swing/JRadioButton.java
10310 (JRadioButton): Override painting flags.
10311 * javax/swing/JRootPane.java
10312 (JRootPane): Set background from UIDefaults.
10313 * javax/swing/JToggleButton.java
10314 (ToggleButtonModel): New inner class.
10315 (JToggleButton): Override layout alighment.
10316 * javax/swing/SwingUtilities.java:
10317 (getLocalBounds): Return width and height, not x and y.
10318 (calculateInnerArea): Use local bounds, not bounds.
10319 (layoutCompoundLabel): Provide overridden form.
10320 (layoutCompoundLabel): Correct bugs.
10321 * javax/swing/UIDefaults.java: Correct comment.
10322 * javax/swing/plaf/basic/BasicButtonUI.java:
10323 Move most logic into defaults, external listener.
10324 (paintIcon): Implement icon painting.
10325 (paint): Fix state painting to conform to changes in model.
10326 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10327 Remove most dead/wrong methods.
10328 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10329 * javax/swing/plaf/basic/BasicIconFactory.java:
10330 (DummyIcon): New class.
10331 (getMenuItemCheckIcon)
10332 (getMenuItemArrowIcon)
10333 (getMenuArrowIcon)
10334 (getCheckBoxMenuItemIcon)
10335 (getRadioButtonMenuItemIcon)
10336 (createEmptyFrameIcon): Return DummyIcons, not null.
10337 (getCheckBoxIcon): Implement an icon that looks like sun's.
10338 (getRadioButtonIcon): Implement an icon that looks like sun's.
10339 * javax/swing/plaf/basic/BasicLookAndFeel.java
10340 (initComponentDefaults): Fix impossible values, add some missing.
10341 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10342 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10343 Remove most dead/wrong methods.
10344 (icon): New field.
10345 (getDefaultIcon): New method.
10346 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10347 Remove most dead/wrong methods.
10348 * javax/swing/plaf/metal/MetalLookAndFeel.java
10349 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10351 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10352 Implement "clearing" as drawing, when on pixmap drawables.
10353
10354 * javax/swing/JButton.java (getUIClassID):
10355 * javax/swing/JCheckBox.java (getUIClassID):
10356 * javax/swing/JEditorPane.java (getUIClassID):
10357 * javax/swing/JLabel.java (getUIClassID):
10358 * javax/swing/JList.java (getUIClassID):
10359 * javax/swing/JOptionPane.java (getUIClassID):
10360 * javax/swing/JPanel.java (getUIClassID):
10361 * javax/swing/JPasswordField.java (uiClassID):
10362 * javax/swing/JRadioButton.java (getUIClassID):
10363 * javax/swing/JRootPane.java (getUIClassID):
10364 * javax/swing/JScrollPane.java (getUIClassID):
10365 * javax/swing/JTabbedPane.java (getUIClassID):
10366 * javax/swing/JToggleButton.java (getUIClassID):
10367 * javax/swing/JTree.java (getUIClassID):
10368 * javax/swing/JViewport.java (getUIClassID):
10369 * javax/swing/text/JTextComponent.java (getUIClassID):
10370 Return "fooUI" not "Jfoo"
10371
10372 2004-02-11 Michael Koch <konqueror@gmx.de>
10373
10374 * java/net/DatagramSocket.java
10375 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10376 Boolean object.
10377 (setBroadcast): Likewise.
10378 * java/net/MulticastSocket.java
10379 (setLoopbackMode): Likewise.
10380 * java/net/ServerSocket.java
10381 (setReuseAddress): Likewise.
10382 * java/net/Socket.java
10383 (setTcpNoDelay): Likewise.
10384 (setSoLinger): Likewise.
10385 (setOOBInline): Likewise.
10386 (setKeepAlive): Likewise.
10387 (setReuseAddress): Likewise.
10388 * java/net/URLConnection.java
10389 (setContentHandler): Replace == with equals().
10390 * java/net/URLStreamHandler.java
10391 (hostSEquals): Fix checking host addresses.
10392 (toExternalForm): Dont check protocol for null. We know already its
10393 not null.
10394
10395 2004-02-10 David Jee <djee@redhat.com>
10396
10397 * java/awt/BorderLayout.java
10398 (calcCompSize): Invisible components get zero dimensions.
10399 * java/awt/Button.java
10400 (setLabel): Set actionCommand.
10401 * java/awt/Component.java
10402 (show): Invalidate component and parent container.
10403 (hide): Likewise.
10404
10405 2004-02-10 David Jee <djee@redhat.com>
10406
10407 * java/awt/GridBagLayout.java
10408 (GridBagLayout): New private field, internalcomptable.
10409 (lookupInternalConstraints): New method.
10410 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10411 (GetLayoutInfo): Reimplement.
10412 (calcCellSizes): Ignore rows/columns with size 0.
10413
10414 2004-02-10 Michael Koch <konqueror@gmx.de>
10415
10416 * gnu/java/awt/EmbeddedWindow.java
10417 (setHandle): Use java.awt.Component.getPeer() instead of
10418 java.awt.Component.peer directly.
10419
10420 2004-02-10 David Jee <djee@redhat.com>
10421
10422 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10423 (gtkSetLabel): New native method definition.
10424 (setLabel): Use gtkSetLabel.
10425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10426 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10427
10428 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10429
10430 * include/powerpc-signal.h: Revert 2004-01-21 change.
10431 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10432 from syscall for ppc32 versions.
10433
10434 2004-02-08 Per Bothner <per@bothner.com>
10435
10436 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10437 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10438 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10439 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10440 Pass ByteOrder parameter to most methods, since the underlying
10441 ByteBuffer's order isn't always what we should use.
10442 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10443 * java/nio/DirectByteBufferImpl.java: Likewise.
10444 Use ByteBufferHelper methods.
10445 * java/nio/MappedByteBufferImpl.java: Likewise.
10446 (compact): Use shiftDown.
10447 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10448 (get, put): Use ByteBufferHelper.
10449 (compact): Use new shiftDown method.
10450 (duplicate(boolean)): New helper method.
10451 (duplicate, asReadOnlyBuffer): Use it.
10452 (order): Return endian field.
10453 * java/nio/DoubleViewBufferImpl.java: Likewise.
10454 * java/nio/FloatViewBufferImpl.java: Likewise.
10455 * java/nio/IntViewBufferImpl.java: Likewise.
10456 * java/nio/LongViewBufferImpl.java: Likewise.
10457 * java/nio/ShortViewBufferImpl.java: Likewise.
10458 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10459 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10460 (compact): Re-implement using shiftDown.
10461
10462 2004-02-08 Andreas Jaeger <aj@suse.de>
10463
10464 * include/x86_64-signal.h: Fix typo.
10465
10466 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10467
10468 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10469 qualifier to _regs.
10470 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10471
10472 2004-02-06 Michael Koch <konqueror@gmx.de>
10473
10474 * java/io/ObjectInputStream.java
10475 (currentClassLoader): Reverted to old version of this method.
10476
10477 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10478
10479 * java/io/ObjectInputStream.java: Made all calls
10480 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10481 use cached info from ObjectStreamClass. (readClassDescriptor):
10482 Cache more information in ObjectStreamClass. (processResolution,
10483 readFields): Use cached info from ObjectStreamClass.
10484 (newObject): Throw exception instead of returning null for failure.
10485 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10486 setCharField, setDoubleField, setFloatField, setIntField,
10487 setLongField, setShortField, setObjectField, readObjectParams):
10488 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10489 check.
10490 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10491 (setClass): Added call to cacheMethods() (findMethod): New method.
10492 (cacheMethods): New method. (ObjectStreamClass): Added call to
10493 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10494 AccessController.doPrivileged to invoke setAccessible.
10495 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10496 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10497 New fields.
10498 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10499 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10500 isPrimitive): Made safe for cases where type == null.
10501 (setBooleanField, setByteField, setCharField, setShortField,
10502 setIntField, setLongField, setFloatField, setDoubleField,
10503 setObjectField): New methods.
10504
10505 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10506
10507 * java/awt/Component.java (getFont): Return a default font
10508 instead of null.
10509
10510 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10511 (Scrollbar (int, int, int, int, int)): Make default page
10512 increment 10.
10513 (setValues): Only call peer.setValues if one of the values has
10514 changed.
10515 (generateName): New method.
10516 (getUniqueLong): New method.
10517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10518 (range_scrollbar): Remove structure.
10519 (post_adjustment_event): Remove function.
10520 (post_change_event): Accept jobject argument.
10521 (create): Cast jints to gdoubles. Round scrollbar values to the
10522 nearest integer. Clamp min, max and value settings.
10523 (connectJObject): Connect hook to widget->window.
10524 (connectSignals): Remove range_scrollbar structure variables.
10525 Remove "move-slider" connection. Pass global peer reference to
10526 "value-changed" callback.
10527 (setLineIncrement): Cast jint value to gdouble.
10528 (setPageIncrement): Likewise.
10529 (setValues): Likewise. Clamp min, max and value settings.
10530
10531 2004-02-05 Michael Koch <konqueror@gmx.de>
10532
10533 * javax/swing/AbstractCellEditor.java
10534 (getCellEditorValue): Removed.
10535 * javax/swing/Box.java: Reformated.
10536 (serialVersionUID): New field.
10537 * javax/swing/ButtonGroup.java:
10538 Removed some weird whitespace.
10539 * javax/swing/CellEditor.java: Reformated.
10540 * javax/swing/CellRendererPane.java
10541 (serialVersionUID): New field.
10542 (AccessibleCellRendererPaneserialVersionUID): New field.
10543 * javax/swing/DefaultListModel.java
10544 (serialVersionUID): New field.
10545 * javax/swing/JEditorPane.java
10546 (serialVersionUID): New field.
10547 (setPage): Throws IOException.
10548 (addHyperlinkListener): Implemented.
10549 (removeHyperlinkListener): Implemented.
10550 (getHyperlinkListener): New method.
10551 * javax/swing/JFileChooser.java
10552 (serialVersionUID): New field.
10553 (AccessibleJFileChooser.serialVersionUID): New field.
10554 (addActionListener): Implemented.
10555 (removeActionListener): Implemented.
10556 (getActionListeners): New method.
10557 * javax/swing/JFormattedTextField.java
10558 (serialVersionUID): New field.
10559 (AbstractFormatter.serialVersionUID): New field.
10560 (clone): Throws CloneNotSupportedException
10561 (setEditValid): Add missing argument.
10562 (stringToValue): Throws ParseExcpetion.
10563 (valueToString): Throws ParseException.
10564 (commitEdit): Throws ParseException.
10565 * javax/swing/JLabel.java
10566 (serialVersionUID): New field.
10567 * javax/swing/JList.java
10568 (serialVersionUID): New field.
10569 (addListSelectionListener): Reformated.
10570 (removeListSelectionListener): Reformated.
10571 (getListSelectionListeners): New method.
10572 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10573 Reformated.
10574 (serialVersionUID): New field.
10575 * javax/swing/table/AbstractTableModel.java
10576 (getValueAt): Removed.
10577 (getColumnCount): Removed.
10578 (getRowCount): Removed.
10579
10580 2004-02-05 Michael Koch <konqueror@gmx.de>
10581
10582 * java/awt/datatransfer/DataFlavor.java
10583 (imageFlavor): Javadoc added.
10584 (javaJVMLocalObjectType): Fixed.
10585
10586 2004-02-05 Michael Koch <konqueror@gmx.de>
10587
10588 * java/lang/Thread.java
10589 (Thread): Reordered.
10590 (setContextClassLoader): Fixed javadoc comment.
10591 (setPriority): Reordered.
10592 (yield): Reordered.
10593 (initialize_native): Reordered.
10594 (gen_name): Reordered.
10595
10596 2004-02-05 Michael Koch <konqueror@gmx.de>
10597
10598 * java/lang/Thread.java: Reordered fields, reformated much code,
10599 no functional changes, some variables renamed, javadoc comments
10600 merged.
10601
10602 2004-02-05 Michael Koch <konqueror@gmx.de>
10603
10604 * java/util/zip/Deflater.java,
10605 java/util/zip/DeflaterOutputStream.java,
10606 java/util/zip/GZIPInputStream.java:
10607 Reformated and javadoc comments merged from classpath.
10608
10609 2004-02-05 Michael Koch <konqueror@gmx.de>
10610
10611 * gnu/java/nio/NIOServerSocket.java
10612 (impl): Unused, removed.
10613 * gnu/java/nio/SocketChannelImpl.java
10614 (finnishConnect): Don't throw NoConnectionPendingException if not
10615 connected or no connection pending.
10616
10617 2004-02-02 Graydon Hoare <graydon@redhat.com>
10618
10619 * javax/swing/SwingUtilities.java: Many new functions.
10620 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10621 * javax/swing/basic/BasicGraphicsUtils.java
10622 (getPreferredButtonSize): Start layout from top-left corner.
10623
10624 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10625
10626 * java/awt/geom/AffineTransform.java:
10627 Corrected comments on the field definitions for
10628 m11 and m10.
10629 (shear): Fixed few errors that caused shear
10630 transformation to be performed incorrectly.
10631 (createInverse): Fixed to return correct
10632 inverse of the given matrix.
10633
10634 2004-02-03 Tom Tromey <tromey@redhat.com>
10635
10636 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10637 PATH or LD_LIBRARY_PATH is not set in parent environment.
10638
10639 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10640
10641 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10642 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10643 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10644 java/awt/Component.java, java/awt/Container.java,
10645 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10646 java/awt/LayoutManager2.java, java/awt/List.java,
10647 java/awt/Menu.java, java/awt/MenuBar.java,
10648 java/awt/MenuItem.java, java/awt/Polygon.java,
10649 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10650 java/awt/Scrollbar.java, java/awt/TextArea.java,
10651 java/awt/TextField.java,
10652 java/awt/image/renderable/RenderContext.java,
10653 javax/swing/JApplet.java: Fix handling of alias methods, where a
10654 method has been deprecated in favour of a new one with the same
10655 funtion but a different name. Put the method implementation in
10656 the deprecated method and have the new method call the
10657 deprecated one. Make all other code call the new method.
10658
10659 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10660
10661 * gnu/java/nio/DatagramChannelImpl.java
10662 (inChannelOperation): New field.
10663 (isInChannelOperation): New accessor.
10664 (setInChannelOperation): New modifier.
10665 (receive): Use capacity() - position() of destination
10666 buffer instead of remaining(). Set and reset our "in
10667 channel operation indicator" before and after delegating
10668 the receive to our datagram socket. Removed testing code.
10669 Update destination buffer's current position if it is
10670 backed by a byte array (hasArray() is true).
10671 (send): Set and reset our "in channel operation indicator"
10672 before and after delegating the send to our datagram socket.
10673 Removed testing code. Update source buffer's current position
10674 if it is backed by a byte array (hasArray() is true).
10675 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10676 Use capacity() - position() of destination buffer instead
10677 of remaining().
10678 * java/net/DatagramSocket.java (receive): Don't throw an
10679 IllegalBlockingModeException if we have a non-blocking
10680 channel which initiated this operation.
10681 (send): Likewise.
10682
10683 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10684
10685 * configure.in: Add pkgconfig check for glib and gthread.
10686 * configure: Regenerate.
10687
10688 2004-02-01 Michael Koch <konqueror@gmx.de>
10689
10690 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10691 arguments.
10692 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10693 * verify.cc (debug_print): Mark 'fmt' unused.
10694
10695 2004-01-30 Michael Koch <konqueror@gmx.de>
10696
10697 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10698 * configure: Regenerated.
10699 * glib-2.0.m4: Removed.
10700 * gtk-2.0.m4: Removed.
10701 * libart.m4: Removed.
10702 * pkg.m4: New file.
10703
10704 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10705
10706 * gnu/java/net/PlainSocketImpl.java
10707 (inChannelOperation): New field.
10708 (isInChannelOperation): New accessor.
10709 (setInChannelOperation): New modifier.
10710 * gnu/java/nio/ServerSocketChannelImpl.java
10711 (accept): Set and reset our server socket's PlainSocketImpl's
10712 "in channel operation" indicator before and after delegating
10713 the accept to our server socket.
10714 * gnu/java/nio/SocketChannelImpl.java
10715 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10716 operation" indicator before and after delegating the operation to
10717 our socket.
10718 (read): Likewise.
10719 (write): Likewise.
10720 * java/net/ServerSocket.java (implAccept): Don't throw an
10721 IllegalBlockingModeException if we have a non-blocking
10722 channel which initiated this accept operation.
10723 * java/net/Socket.java (connect): Don't throw an
10724 IllegalBlockingModeException if we have a non-blocking
10725 channel which initiated this connect operation.
10726 * java/nio/channels/spi/AbstractSelectableChannel.java
10727 (configureBlocking): Only call implConfigureBlocking() if
10728 the desired blocking mode is different from our current one.
10729
10730 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10731
10732 * java/io/BufferedReader.java (sbuf): New field.
10733 (readLine): Use String.valueOf instead of new String() as per
10734 Per Bothner's suggestion. Use instance sbuf field instead of a
10735 local StringBuffer instance.
10736 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10737 caller's buffer to refill().
10738 (read(void)): Pass our internal work buffer to refill if our
10739 input queue is empty.
10740 (refill): Changed return type to int. Use the specified buffer
10741 instead of our work buffer as per Bryce McKinlay's suggestion.
10742 Return the number of characters read or -1 for EOF.
10743
10744 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10745
10746 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10747
10748 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10749
10750 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10751 * Makefile.in: Re-generated.
10752 * gnu/awt/xlib/XFontPeer.java: New file.
10753 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10754 (setClip): Commented out debug printout.
10755 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10756 (getFontPeer): Return XFontPeer.
10757 (getLocalGraphicsEnvironment): New method.
10758 (getClasspathFontPeer): New method.
10759 (createFont): New method.
10760
10761 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10762
10763 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10764 return null.
10765
10766 2004-01-29 Kim Ho <kho@redhat.com>
10767
10768 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10769 (gtkLayoutSetVisible): New method
10770 (setMenuBar): Hide layout before setting MenuBar
10771 and reshow it after.
10772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10773 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10774
10775 2004-01-28 Michael Koch <konqueror@gmx.de>
10776
10777 * gnu/java/lang/ClassHelper.java
10778 (getPackagePortion): Removed.
10779
10780 2004-01-28 Michael Koch <konqueror@gmx.de>
10781
10782 * javax/swing/JComponent.java
10783 (listenerList): Initalize globally.
10784 (ancestor_list): Removed.
10785 (veto_list): Removed.
10786 (change_list): Removed.
10787 (get_veto_list): Removed.
10788 (get_change_list): Removed.
10789 (get_ancestor_list): Removed.
10790 (removeAncestorListener): Reimplemented.
10791 (removePropertyChangeListener): Likewise.
10792 (removeVetoableChangeListener): Likewise.
10793 (addAncestorListener): Likewise.
10794 (addPropertyChangeListener): Likewise.
10795 (addVetoableChangeListener): Likewise.
10796 (getListeners): New method.
10797 (getAncestorListeners): Likewise.
10798 (getVetoableChangeListeners): Likewise.
10799 (fireVetoableChange): Throws PropertyVetoException.
10800 * javax/swing/JEditorPane.java
10801 (JEditorPane): Throws IOException.
10802
10803 2004-01-28 David Jee <djee@redhat.com>
10804
10805 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10806 (create): Set the default foreground color to
10807 java.awt.SystemColor.windowText.
10808
10809 2004-01-27 Michael Koch <konqueror@gmx.de>
10810
10811 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10812 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10813 Reindented to merge with classpath.
10814
10815 2004-01-27 David Jee <djee@redhat.com>
10816
10817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10818 (addExposeFilter): Handle GtkFramePeer separately.
10819 (removeExposeFilter): Likewise.
10820
10821 2004-01-27 Michael Koch <konqueror@gmx.de>
10822
10823 * gnu/java/net/protocol/http/Connection.java
10824 (getOutputStream): Fixed typo.
10825
10826 2004-01-27 Michael Koch <konqueror@gmx.de>
10827
10828 * java/lang/Class.java
10829 (getConstructor): Removed SecurityException from throws clause.
10830 (_getConstructors): Likewise.
10831 (getConstructors): Likewise.
10832 (getDeclaredConstructor): Likewise.
10833 (getDeclaredClasses): Likewise.
10834 (getDeclaredConstructors): Likewise.
10835 (getDeclaredField): Likewise.
10836 (getDeclaredMethod): Likewise.
10837 (getDeclaredMethods): Likewise.
10838 (getField): Likewise.
10839 (getMethod): Likewise.
10840 (getMethods): Likewise.
10841
10842 2004-01-27 Kim Ho <kho@redhat.com>
10843
10844 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10845 (removeMenuBarPeer): Remove MenuBarPeer argument.
10846 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10847 (dispose): Call native method.
10848 * java/awt/Frame.java (setMenuBar): Create and remove
10849 MenuBar peers only if the Frame has a peer.
10850 (addNotify): Create the MenuBar peer if one exists.
10851 (removeNotify): Remove MenuBar peer if one exists.
10852 * java/awt/Menu.java: Fix imports.
10853 (addNotify): Don't use full class name.
10854 (removeNotify): Call removeNotify on all children.
10855 * java/awt/MenuBar.java (removeNotify): Call
10856 removeNotify on all children.
10857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10858 (removeMenuBarPeer): Remove MenuBarPeer argument.
10859 Iterate through children to find the Frame's MenuBar.
10860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10861 New file.
10862 (dispose): Remove references to the MenuComponent.
10863
10864 2004-01-27 Michael Koch <konqueror@gmx.de>
10865
10866 * javax/swing/AbstractCellEditor.java: Reformated.
10867 * javax/swing/DefaultListSelectionModel.java
10868 (listenerList): Made protected.
10869 (addListSelectionListener): Javadoc added.
10870 (removeListSelectionListener): Likewise.
10871 (getListeners): Likewise.
10872 (getListSelectionListeners): Likewise.
10873 * javax/swing/JComboBox.java: Merged copyright year.
10874 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10875
10876 2004-01-26 Andrew Haley <aph@redhat.com>
10877
10878 * javax/swing/table/JTableHeader.java: Extend JComponent
10879
10880 2004-01-26 Kim Ho <kho@redhat.com>
10881
10882 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10883 Fix spacing.
10884
10885 2004-01-26 Kim Ho <kho@redhat.com>
10886
10887 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10888 method.
10889 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10890 height and let the Layout Managers readjust anything that
10891 needs to move.
10892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10893 (moveLayout): New method. Shift everything in the Gtk
10894 layout in the Y direction by an offset.
10895
10896 2004-01-26 David Jee <djee@redhat.com>
10897
10898 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10899 (handleEvent): Implemented. Handles PaintEvents.
10900 (paint): Implemented. Use GTK native methods to queue updates
10901 for this heavyweight peer.
10902 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10903 (handleEvent): Removed.
10904 * java/awt/Component.java
10905 (paint): Implemented. Explictly paint the heavyweight peer.
10906 (update): Clear the background for heavyweight components.
10907 (paintAll): No need to call peer.paint() anymore.
10908 (processEvent): Don't process PaintEvents here. It's now done in
10909 the peer's handleEvent().
10910 (processPaintEvent): Removed.
10911 * java/awt/Container.java
10912 (paint): No need to call super.paint(). Visit heavyweight
10913 children as well.
10914 (update): Don't clear the background here. It's done in
10915 Component.update().
10916 (visitChildren): Added check to not recurse into Containers.
10917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10918 (filter_expose_event_handler): New method. Filter unwanted
10919 expose events while painting heavyweight peers.
10920 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10921 New method. Connect filter and block pre_event_handler.
10922 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10923 New method. Disconnect filter and unblock pre_event_handler.
10924 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10925 New method. Invalidate and update given area.
10926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10927 (pre_event_handler): Add checks for unwanted expose events.
10928
10929 2004-01-26 David Jee <djee@redhat.com>
10930
10931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10932 (find_bg_color_widget): For GtkButton, return its child.
10933
10934 2004-01-26 Kim Ho <kho@redhat.com>
10935
10936 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10937 private.
10938 (setMenuBar): Grab MenuBar height and change insets.
10939 (setBounds): Account for MenuBar height.
10940 (postInsetsChangedEvent): Ditto.
10941 (postSizeAllocateEvent): Remove.
10942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10943 (menubar_resize_cb): Remove
10944 (setMenuBarPeer): Remove callback.
10945 (getMenuBarHeight): Use size requisition instead of
10946 allocation.
10947
10948 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10949
10950 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10951 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10952 when peer is null.
10953 (setColumns): Remove FIXME -- peer will retrieve number of
10954 columns by calling getColumns.
10955 (setRows): Likewise for number of rows.
10956 (next_text_number): New field.
10957 (paramString): Fix param string.
10958 (generateName): New method.
10959 (getUniqueLong): New method.
10960
10961 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10962
10963 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10964 image observer of image loading status.
10965 (getImage (String)): Start image production.
10966 (getImage (URL)): Likewise.
10967
10968 2004-01-25 Michael Koch <konqueror@gmx.de>
10969
10970 * java/lang/Class.java: Imports reworked, reformated.
10971 (Class): Javadoc added.
10972 (forName): Likewise.
10973 (getClasses): Likewise.
10974 (getClassLoader): Likewise.
10975 (getComponentType): Likewise.
10976 (getConstructor): Likewise.
10977 (getConstructors): Likewise.
10978 (getDeclaredConstructor): Likewise.
10979 (getDeclaredClasses): Likewise.
10980 (getDeclaredConstructors): Likewise.
10981 (getDeclaredField): Likewise.
10982 (getDeclaredMethod): Likewise.
10983 (getDeclaredMethods): Likewise.
10984 (getDeclaringClass): Likewise.
10985 (getField): Likewise.
10986 (getInterfaces): Likewise.
10987 (getMethod): Likewise.
10988 (getMethods): Likewise.
10989 (getModifiers): Likewise.
10990 (getName): Likewise.
10991 (getResource): Likewise.
10992 (getResourceAsStream): Likewise.
10993 (getSigners): Likewise.
10994 (setSigners): Likewise.
10995 (getSuperclass): Likewise.
10996 (isArray): Likewise.
10997 (isAssignableFrom): Likewise.
10998 (isInstance): Likewise.
10999 (isInterface): Likewise.
11000 (isPrimitive): Likewise.
11001 (newInstance): Likewise.
11002 (getProtectionDomain): Likewise.
11003 (toString): Likewise.
11004 (Class): Moved.
11005 (initializeClass): Likewise.
11006 (finalize): Likewise.
11007
11008 2004-01-24 Michael Koch <konqueror@gmx.de>
11009
11010 * gnu/java/net/protocol/jar/Connection.java
11011 (hdrHash): Removed.
11012 (hdrVec): Removed.
11013 (gotHeaders): Removed.
11014 (getHeaderField): Removed.
11015 (getHeaderFields): Removed.
11016 (getHeaderFieldKey): Removed.
11017 (getKey): Removed.
11018 (getField): Removed.
11019 (getHeaders): Removed.
11020
11021 2004-01-24 Michael Koch <konqueror@gmx.de>
11022
11023 * Makefile.am: Added library version to gtk peer lib.
11024 * Makefile.in: Regenerated.
11025
11026 2004-01-24 Michael Koch <konqueror@gmx.de>
11027
11028 * java/util/zip/InflaterInputStream.java: Merged class documentation
11029 with classpath.
11030
11031 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11032
11033 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11034 header. For __powerpc64__ provide the default-signal.h definitions
11035 for now.
11036 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11037 instead of the dummy definitions.
11038 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11039 (powerpc64*-*): Remove with_libffi_default.
11040 Only add -mminimal-toc for 64-bit compilations.
11041 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11042 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11043 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11044 * configure: Rebuilt.
11045
11046 2004-01-23 Michael Koch <konqueror@gmx.de>
11047
11048 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11049
11050 2004-01-23 Michael Koch <konqueror@gmx.de>
11051
11052 * java/lang/VMClassLoader.java: Reworked imports.
11053
11054 2004-01-23 Michael Koch <konqueror@gmx.de>
11055
11056 * javax/swing/AbstractAction.java: Reformated.
11057
11058 2004-01-23 Michael Koch <konqueror@gmx.de>
11059
11060 * java/text/CollationElementIterator.java:
11061 (setText): New method.
11062
11063 2004-01-23 Michael Koch <konqueror@gmx.de>
11064
11065 * gnu/java/nio/FileLockImpl.java:
11066 Fixed filename in copyright.
11067 (released): Removed.
11068 (finalize): New method.
11069 * gnu/java/nio/natFileLockImpl.cc
11070 (releaseImpl): Implemented.
11071 * java/nio/channels/FileChannelImpl.java:
11072 Reworked imports.
11073 (lock): Implemented.
11074 (lockImpl): New method.
11075 (tryLock): Implemented.
11076 (tryLockImpl): New method.
11077 * java/nio/channels/natFileChannelImpl.cc
11078 (lockImpl): New method.
11079 (tryLockImpl): New method.
11080
11081 2004-01-23 Michael Koch <konqueror@gmx.de>
11082
11083 * java/io/FileDescriptor.java
11084 (lock): New method.
11085 (tryLock): New method.
11086 (unlock): New method.
11087 * java/io/natFileDescriptorEcos.cc
11088 (lock): New method.
11089 (tryLock): New method.
11090 (unlock): New method.
11091 * java/io/natFileDescriptorPosix.cc
11092 (lock): New method.
11093 (tryLock): New method.
11094 (unlock): New method.
11095 * java/io/natFileDescriptorWin32.cc
11096 (lock): New method.
11097 (tryLock): New method.
11098 (unlock): New method.
11099
11100 2004-01-23 Michael Koch <konqueror@gmx.de>
11101
11102 * java/io/FileDescriptor.java
11103 (sync): Moved around, added javadoc.
11104 (valid): Likewise.
11105 (open): Likewise.
11106 (write): Likewise.
11107 (close): Likewise.
11108 (setLength): Likewise.
11109 (seek): Likewise.
11110 (getLength): Likewise.
11111 (getFilePointer): Likewise.
11112 (read): Likewise.
11113 (available): Likewise.
11114 (finalize): Likewise.
11115
11116 2004-01-23 Michael Koch <konqueror@gmx.de>
11117
11118 * javax/swing/AbstractAction.java: Reformated.
11119 (getPropertyChangeListeners): New method.
11120 * javax/swing/AbstractCellEditor.java: Reformated.
11121 (getCellEditorListeners): New method.
11122 * javax/swing/DefaultListSelectionModel.java
11123 (listenerList): New field.
11124 (listeners): Removed.
11125 (get_listeners): Removed.
11126 (addListSelectionListener): Rewritten.
11127 (removeListSelectionListener): Rewritten.
11128 (getListSelectionListeners): New method.
11129 (getListeners): New method.
11130 * javax/swing/JComboBox.java: Imports reworked.
11131 (addActionListener): Implemented.
11132 (removeActionListener): Implemented.
11133 (addItemListener): Implemented.
11134 (removeItemListener): Implemented.
11135 (addPopupMenuListener): Implemented.
11136 (removePopupMenuListener): Implemented.
11137 (getActionListeners): New method.
11138 (getItemListeners): New method.
11139 (getPopupMenuListeners): New method.
11140
11141 2004-01-23 Michael Koch <konqueror@gmx.de>
11142
11143 * gnu/java/net/protocol/http/Connection.java
11144 (connect): Don't initialize bufferedOutputStream if not needed.
11145 (sendRequest): Set property for content length if content is present.
11146 Write content only if present.
11147 (getOutputStream): Check if already connected, dont connect,
11148 initalize bufferedOutputStream if needed.
11149
11150 2004-01-23 Michael Koch <konqueror@gmx.de>
11151
11152 * java/io/FileDescriptor.java
11153 (in, out, err): Added javadoc.
11154 (static): Merged loading code.
11155 (fd, position): Moved around.
11156
11157 2004-01-23 Michael Koch <konqueror@gmx.de>
11158
11159 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11160 New file.
11161
11162 2004-01-23 Michael Koch <konqueror@gmx.de>
11163
11164 * java/lang/Class.java,
11165 java/lang/Object.java,
11166 java/lang/Thread.java: Merged copyright with classpath.
11167
11168 2004-01-23 Michael Koch <konqueror@gmx.de>
11169
11170 * java/io/FileDescriptor.java: Merged copyright with classpath to
11171 start merging this class.
11172
11173 2004-01-22 Tom Tromey <tromey@redhat.com>
11174
11175 PR libgcj/13107:
11176 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11177 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11178 * testsuite/libjava.lang/pr13107_3.java: New file.
11179 * testsuite/libjava.lang/pr13107_3.out: New file.
11180 * testsuite/libjava.lang/pr13107_2.java: New file.
11181 * testsuite/libjava.lang/pr13107_2.out: New file.
11182 * testsuite/libjava.lang/pr13107.java: New file.
11183 * testsuite/libjava.lang/pr13107.out: New file.
11184 * verify.cc (jsr_ptrs): Removed.
11185 (entry_points): Likewise.
11186 (struct subr_info): Likewise.
11187 (struct subr_entry_info): Likewise.
11188 (type_val::unused_by_subroutine_type): Likewise.
11189 (type::merge): Don't handle unused_by_subroutine_type.
11190 (type::print): Likewise.
11191 (state::flags): Removed.
11192 (state::subroutine): Likewise.
11193 (state::seen_subrs): Likewise.
11194 (state::NO_STACK): Likewise.
11195 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11196 (state): Updated all methods.
11197 (state::clean_subrs): Removed.
11198 (state::state): Removed `ret_semantics' flag.
11199 (state::copy): Likewise.
11200 (state::add_subr): Removed.
11201 (state::enter_subroutine): Likewise.
11202 (type::set_return_address): New method.
11203 (handle_jsr_insn): Set return address on the type. Always
11204 invalidate PC after call.
11205 (check_nonrecursive_call): Removed.
11206 (~_Jv_BytecodeVerifier): Updated.
11207 (branch_prepass): Removed special handling of jsr.
11208 (note_branch_target): Likewise.
11209 (get_subroutine): Removed.
11210 (state::merge): Don't merge subroutines and don't handle
11211 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11212 (state::note_variable): Removed.
11213 (state::is_unmerged_ret_state): Likewise.
11214 (state::print): Updated.
11215 (set_variable): Likewise.
11216 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11217 and jsr_semantics arguments. Updated for new reverification
11218 list.
11219 (pop_jump): Rewrote.
11220 (construct_primitive_array_type): Updated.
11221 (state::next): Removed.
11222 (INVALID_STATE): New define.
11223 (state::INVALID): Removed.
11224 (state::NO_NEXT): New value.
11225 (state::pc, state::next): New fields.
11226 (state::get_pc): New method.
11227 (next_verify_pc): Removed.
11228 (next_verify_state): New field.
11229 (verify_instructions_0): Always check for falling off end.
11230 (linked): New type.
11231 (linked_utf8): Removed.
11232 (states): Changed type.
11233 (type::state_mergeable_p): New method.
11234 (state::state_mergeable_p): Likewise.
11235 (handle_ret_insn): Removed most code.
11236 (state::reverify): New method.
11237 (add_new_state): Likewise.
11238 (state::set_pc): Likewise.
11239
11240 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11241
11242 PR java/13733
11243 * testsuite/libjava.compile/PR13733.java: New file.
11244 * testsuite/libjava.compile/PR13733.xfail: New file.
11245
11246 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11247 Michael Koch <konqueror@gmx.de>
11248
11249 * javax/swing/table/DefaultTableCellRenderer.java
11250 (DefaultTableCellRenderer): Added javadoc for the class and for
11251 the constructor, Border instance, create an EmptyBorder.
11252 (UIResource): Removed the comment at the end of the class
11253 (setForeground): New method.
11254 (setBackground): New method.
11255 (updateUI): New method.
11256 (getTableCellRendererComponent): Rewritten with the help of
11257 dvholten and Stephane Meslin-Weber.
11258 (validate): New method.
11259 (repaint): New method.
11260 (firePropertyChange): New method.
11261 (setValue): New method.
11262
11263 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11264
11265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11266 (connectJObject): Replace printf calls with g_assert statements.
11267 Move property-notify-event signal connection to ...
11268 (connectSignals): Connect property-notify-event signal. Iterate
11269 through the vbox's children to find layout.
11270
11271 2004-01-22 Graydon Hoare <graydon@redhat.com>
11272
11273 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11274 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11275 Predicate static initialization on GtkToolkit.useGraphics2D().
11276 * java/awt/Component.java (processPaintEvent): Consume event.
11277 * javax/swing/AbstractButton.java: Reimplement, document.
11278 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11279 * javax/swing/JComponent.java (paint): Use double buffer.
11280 (listenerList): Enable member.
11281 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11282 * javax/swing/JToggleButton.java
11283 (JToggleButton): Modify model constructor.
11284 * javax/swing/SwingUtilities.java
11285 (layoutCompoundLabel): Adjust arithmetic.
11286 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11287 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11288 (getPreferredButtonSize): Include margins in calculation.
11289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11290 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11291 Receive up events from subordinate layout component.
11292
11293 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11294
11295 * java/awt/Component.java (show): Set visible to true before
11296 showing the peer.
11297
11298 2004-01-21 Kim Ho <kho@redhat.com>
11299
11300 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11301 Fix comments.
11302 (removeMenuBarPeer): Make package private.
11303 (setMenuBarPeer): Make package private.
11304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11305 (menubar_resize_cb): Mark attributes unused.
11306 (getMenuBarHeight): ditto.
11307
11308 2004-01-21 David Jee <djee@redhat.com>
11309
11310 * java/awt/Container.java
11311 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11312 dispatching MOUSE_ENTERED event twice. Translate the point for
11313 the mouse event target before dispatching the event.
11314
11315 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11316
11317 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11318 lib_org_w3c_dom_la_LDFLAGS): New.
11319 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11320 * Makefile.in: Rebuilt.
11321
11322 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11323
11324 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11325 Calculate proper offsets for heavyweight components packed in
11326 lightweight containers.
11327
11328 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11329 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11330 (native create): Add width parameter.
11331 (create): Calculate text entry width based on current font's
11332 metrics and number of columns. Set TextField's font if not
11333 already set. Call native create.
11334 (gtkEntryGetBorderWidth): New native method.
11335 (gtkEntryGetSize): Remove method.
11336 (getMinimumSize): Call minimumSize.
11337 (getPreferredSize): Call preferredSize.
11338 (minimumSize): Calculate minimum size based on backing
11339 GtkEntry's borders, font metrics and number of columns.
11340 (preferredSize): Likewise for preferred size.
11341 (get_border_width): New static function.
11342
11343 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11344 Override GtkWindowPeer's setResizable method to account for menu
11345 bar height when setting the frame's size.
11346
11347 2004-01-19 Matthias Klose <doko@debian.org>
11348
11349 * libtool-version: Increased `current' to 6.
11350
11351 2004-01-19 Kim Ho <kho@redhat.com>
11352
11353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11354 (connectJObject): Iterate through the vbox's children to find layout.
11355
11356 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11357
11358 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11359 isDispatchThread method to replace wrong test condition.
11360
11361 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11362
11363 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11364 events to the queue out of order by acquiring locks in the proper
11365 order and not by releasing one before acquiring the other.
11366
11367 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11368
11369 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11370 visible so that dialog can be reused.
11371
11372 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11373
11374 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11375 events may be handled by any queue in the stack.
11376
11377 2004-01-19 Kim Ho <kho@redhat.com>
11378
11379 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11380 MenuBarPeer parameter.
11381 (removeMenuBarPeer): New native method.
11382 (setMenuBar): Call remove if menu bar is null. Adjust insets
11383 appropriately.
11384 (postSizeAllocateEvent): New method. Called when menu bar size is
11385 allocated. Adjust insets and redo layout.
11386 (GtkFramePeer): Set menu bar during frame creation.
11387 (postConfigureEvent): Adjust position and size to accomodate
11388 menu bar.
11389 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11390 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11391 (addNotify): Create the peer if it doesn't exist and call addNotify
11392 for the menu's items.
11393 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11394 * java/awt/MenuItem.java (addNotify): Create the peer if it
11395 doesn't exist.
11396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11397 (removeMenuBarPeer): New method. Remove menu bar on the current
11398 frame.
11399 (setMenuBarPeer): Add the menu bar to the current frame and the
11400 callback for size-allocate events on the menu bar.
11401 (getMenuBarHeight): Add menu bar parameter.
11402 (menubar_resize_cb): New callback method for postSizeAllocate events.
11403
11404 Also: Fix indentation on last ChangeLog entry.
11405
11406 2004-01-16 Kim Ho <kho@redhat.com>
11407
11408 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11409 (gtkWidgetGetDimensions): Remove.
11410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11411 (gtkWidgetGetDimensions): Remove.
11412
11413 2004-01-16 Tom Tromey <tromey@redhat.com>
11414
11415 * java/awt/Container.java: Typo and indentation fixes.
11416
11417 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11418 * java/lang/natVMClassLoader.cc: ...here. New file.
11419 * Makefile.in: Rebuilt.
11420 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11421
11422 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11423
11424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11425 Discard GDK_ENTER_NOTIFY related to ungrabs.
11426
11427 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11428
11429 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11430 is called for an intermediate queue.
11431
11432 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11433
11434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11435 (window_property_changed_cb): Set id_set.
11436
11437 2004-01-16 Kim Ho <kho@redhat.com>
11438
11439 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11440 it is a FileDialog and has dimensions of 0 by 0, then the initial
11441 size is set to size request plus insets.
11442 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11443 (gtkWidgetGetDimensions): Override method.
11444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11445 (gtkWidgetGetDimensions): Override method. Returns size request plus
11446 insets.
11447
11448 2004-01-16 Andrew Haley <aph@redhat.com>
11449
11450 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11451 * sysdep/i386/locks.h: Likewise.
11452
11453 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11454
11455 * java/awt/EventDispatchThread.java (run): Stop running when
11456 interrupted.
11457 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11458 Reset the queue after transferring its contents.
11459 (push): Start a new dispatch thread if none is running.
11460
11461 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11462
11463 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11464 (doPolygon): set fill rule of polygon to
11465 WIND_EVEN_ODD by default.
11466
11467 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11468
11469 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11470 Implemented rendering hints related methods.
11471 (getDefaultHints): New helper method. Returns
11472 default rendering hints.
11473 (walkPath): changed to normalize path if
11474 the KEY_STROKE_CONTROL key is in "normalize" mode.
11475 (draw3DRect): changed coordinates of rectangle by +0.5
11476 if in "normalize" mode.
11477
11478 2004-01-15 Tom Tromey <tromey@redhat.com>
11479
11480 * Makefile.in: Rebuilt.
11481 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11482 (%.lo: %.java) Filter out StackTrace.lo.
11483
11484 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11485
11486 * configure.in: Add in AC_PREREQ(2.13)
11487 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11488 FIXME comment.
11489
11490 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11491 Tom Tromey <tromey@redhat.com>
11492
11493 PR libgcj/12001:
11494 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11495 array to superclass.
11496 (init): Changed interface; add URLs here.
11497 (initialize): New static method.
11498 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11499 (_Jv_RunMain): ... not here.
11500
11501 2004-01-14 Michael Koch <konqueror@gmx.de>
11502
11503 * java/text/MessageFormat.java:
11504 Added descriptions to exceptions.
11505 This fixes PR libgcj/2429.
11506
11507 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11508
11509 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11510 (push): Make sure push is performed at the top of the thread stack.
11511
11512 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11513
11514 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11515 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11516 (native create): Add width and height parameters. Set text
11517 view's size request according to new parameters.
11518 (create): Calculate text view size based on current font's
11519 metrics and number of rows and columns. Set TextArea's font if
11520 not already set. Call native create.
11521 (getMinimumSize): Call minimumSize.
11522 (getPreferredSize): Call preferredSize.
11523 (getHScrollbarHeight): New method.
11524 (getVScrollbarWidth): New method.
11525 (minimumSize): Calculate minimum size based on scrollbar
11526 visibility, scrollbar sizes, font metrics and number of rows and
11527 columns.
11528 (preferredSize): Likewise for preferred size.
11529 (gtkTextGetSize): Remove method.
11530
11531 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11532
11533 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11534 (initializeInsets): Remove method.
11535 (GtkComponentPeer): Initialize insets field. Remove call to
11536 initializeInsets.
11537 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11538 Remove method.
11539 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11540 Remove method.
11541 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11543 (latestInsets): Remove field.
11544 (native create): Add insets parameter. Call
11545 window_get_frame_extents. Set the window's default size and
11546 size request based on its frame extents.
11547 (create): Initialize insets.
11548 (postInsetsChangedEvent): New method.
11549 (postConfigureEvent): Remove parameters top, left, bottom,
11550 right. Remove insets-related logic.
11551 (connectJObject): Handle property-notify-event.
11552 (window_get_frame_extents, request_frame_extents,
11553 property_notify_predicate, window_property_changed_cb): New
11554 static functions.
11555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11556 (pre_event_handler): Remove insets-related logic for configure
11557 events.
11558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11559 Update postConfigureEvent signature.
11560
11561 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11562
11563 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11564 to handle Window "Closing" events.
11565
11566 2004-01-13  David Jee  <djee@redhat.com>
11567
11568 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11569 (setBackground): New method. Children with no explicitly-set
11570 background will be repainted with the parent container's new
11571 background color.
11572
11573 2004-01-13  David Jee  <djee@redhat.com>
11574
11575 * Makefile.am: Add BitwiseXORComposite.java.
11576 * Makefile.in: Regenerated.
11577 * gcj/Makefile.in: Regenerated.
11578 * include/Makefile.in: Regenerated.
11579 * testsuite/Makefile.in: Regenerated.
11580
11581 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11582
11583 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11584 not show modal dialogs twice and so that it allows showing a modal
11585 dialog from another modal dialog.
11586
11587 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11588
11589 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11590 and run secondary dispatch thread to process event queue while this
11591 thread is blocked.
11592
11593 2004-01-12 Graydon Hoare <graydon@redhat.com>
11594
11595 * gnu/java/awt/gtk/GdkGraphics2D.java
11596 (static): Check GtkToolkit before initializing static state.
11597 (Graphics2D): Don't construct transform with 0.5 unit offset.
11598
11599 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11600
11601 * gnu/java/awt/BitwiseXORComposite.java: Add.
11602 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11603 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11604 (BitwiseXORComposite): Remove inner class.
11605
11606 2004-01-11 Michael Koch <konqueror@gmx.de>
11607
11608 * gnu/java/lang/reflect/TypeSignature.java
11609 (getEncodingOfClass): Documentation fixed.
11610 (getClassForEncoding): Give class loader to Class.forName().
11611 Documentation fixed.
11612
11613 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11614
11615 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11616
11617 2004-01-11 Michael Koch <konqueror@gmx.de>
11618
11619 * javax/swing/undo/StateEditable.java
11620 (RCSID): Removed redundant modifiers.
11621
11622 2004-01-10 Michael Koch <konqueror@gmx.de>
11623
11624 * javax/print/attribute/EnumSyntax.java
11625 (getStringTable): Made protected.
11626 (getEnumValueTable): Likewise.
11627 * javax/print/attribute/standard/JobKOctetsProcessed.java
11628 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11629 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11630 (JobMediaSheetsCompleted): Made class final.
11631 * javax/print/attribute/standard/OutputDeviceAssigned.java
11632 (getName): Fixed typo.
11633 * javax/print/attribute/standard/RequestingUserName.java
11634 (serialVersionUID): Fixed value.
11635
11636 2004-01-10 Michael Koch <konqueror@gmx.de>
11637
11638 * javax/swing/plaf/basic/BasicButtonUI.java,
11639 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11640 javax/swing/plaf/basic/BasicListUI.java,
11641 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11642 javax/swing/plaf/basic/BasicPanelUI.java,
11643 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11644 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11645 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11646 javax/swing/plaf/basic/BasicViewportUI.java:
11647 Fixed import statements.
11648
11649 2004-01-10 Michael Koch <konqueror@gmx.de>
11650
11651 * gnu/java/awt/image/ImageDecoder.java
11652 (produce): Made public.
11653 * gnu/java/awt/peer/GLightweightPeer.java,
11654 gnu/java/awt/peer/gtk/GtkToolkit.java:
11655 Reformated.
11656
11657 2004-01-10 Michael Koch <konqueror@gmx.de>
11658
11659 * javax/swing/JRadioButtonMenuItem.java,
11660 javax/swing/JSeparator.java,
11661 javax/swing/JSplitPane.java,
11662 javax/swing/JTextPane.java,
11663 javax/swing/JToolBar.java,
11664 javax/swing/ListCellRenderer.java,
11665 javax/swing/ListModel.java,
11666 javax/swing/MenuElement.java,
11667 javax/swing/OverlayLayout.java,
11668 javax/swing/ProgressMonitor.java,
11669 javax/swing/ProgressMonitorInputStream.java,
11670 javax/swing/Renderer.java,
11671 javax/swing/RootPaneContainer.java,
11672 javax/swing/Scrollable.java,
11673 javax/swing/SingleSelectionModel.java,
11674 javax/swing/ToolTipManager.java,
11675 javax/swing/ViewportLayout.java,
11676 javax/swing/event/DocumentEvent.java,
11677 javax/swing/event/SwingPropertyChangeSupport.java,
11678 javax/swing/event/TreeSelectionEvent.java,
11679 javax/swing/event/UndoableEditEvent.java,
11680 javax/swing/text/AbstractDocument.java,
11681 javax/swing/text/AttributeSet.java,
11682 javax/swing/text/Caret.java,
11683 javax/swing/text/ComponentView.java,
11684 javax/swing/text/DefaultCaret.java,
11685 javax/swing/text/DefaultEditorKit.java,
11686 javax/swing/text/Document.java,
11687 javax/swing/text/EditorKit.java,
11688 javax/swing/text/GapContent.java,
11689 javax/swing/text/Keymap.java,
11690 javax/swing/text/MutableAttributeSet.java,
11691 javax/swing/text/PlainEditorKit.java,
11692 javax/swing/text/Segment.java,
11693 javax/swing/text/Style.java,
11694 javax/swing/text/StyledDocument.java,
11695 javax/swing/text/StyledEditorKit.java,
11696 javax/swing/text/TextAction.java,
11697 javax/swing/text/View.java: Fixed import statements.
11698
11699 2004-01-08 Graydon Hoare <graydon@redhat.com>
11700
11701 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11702 djee@redhat.com's recent inverse ordering of Container elements.
11703
11704 2004-01-09 Michael Koch <konqueror@gmx.de>
11705
11706 * gnu/java/lang/ArrayHelper.java
11707 (equalsArray): Removed.
11708
11709 2004-01-09 Andrew Haley <aph@redhat.com>
11710
11711 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11712 a Utf8Const field before looking at its class.
11713
11714 2004-01-09 Michael Koch <konqueror@gmx.de>
11715
11716 * javax/print/attribute/standard/DocumentName.java,
11717 javax/print/attribute/standard/JobHoldUntil.java,
11718 javax/print/attribute/standard/JobMessageFromOperator.java,
11719 javax/print/attribute/standard/JobName.java,
11720 javax/print/attribute/standard/JobOriginatingUserName.java,
11721 javax/print/attribute/standard/OutputDeviceAssigned.java,
11722 javax/print/attribute/standard/PrinterInfo.java,
11723 javax/print/attribute/standard/PrinterLocation.java,
11724 javax/print/attribute/standard/PrinterMakeAndModel.java,
11725 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11726 javax/print/attribute/standard/PrinterName.java,
11727 javax/print/attribute/standard/RequestingUserName.java: New files.
11728 * Makefile.am (javax_source_files): Added new files.
11729 * Makefile.in: Regenerated.
11730
11731 2004-01-09 Michael Koch <konqueror@gmx.de>
11732
11733 * javax/swing/AbstractAction.java,
11734 javax/swing/AbstractSet.java,
11735 javax/swing/Action.java,
11736 javax/swing/ActionMap.java,
11737 javax/swing/BoundedRangeModel.java,
11738 javax/swing/ButtonModel.java,
11739 javax/swing/CellEditor.java,
11740 javax/swing/CellRendererPane.java,
11741 javax/swing/ComboBoxEditor.java,
11742 javax/swing/DebugGraphics.java,
11743 javax/swing/DefaultCellEditor.java,
11744 javax/swing/DefaultCellRenderer.java,
11745 javax/swing/DefaultComboBoxModel.java,
11746 javax/swing/DefaultDesktopManager.java,
11747 javax/swing/DefaultFocusManager.java,
11748 javax/swing/DefaultListCellRenderer.java,
11749 javax/swing/Icon.java,
11750 javax/swing/JButton.java,
11751 javax/swing/JCheckBoxMenuItem.java,
11752 javax/swing/JDesktopPane.java,
11753 javax/swing/JEditorPane.java,
11754 javax/swing/JMenu.java,
11755 javax/swing/JPanel.java,
11756 javax/swing/JPasswordField.java,
11757 javax/swing/JPopupMenu.java,
11758 javax/swing/JProgressBar.java: Reworked imports.
11759
11760 2004-01-09 Michael Koch <konqueror@gmx.de>
11761
11762 * java/awt/geom/PathIterator.java
11763 (WIND_EVEN_ODD): Removed redundant modifiers.
11764 (WIND_NON_ZERO): Likewise.
11765 (SEG_MOVETO): Likewise.
11766 (SEG_LINETO): Likewise.
11767 (SEG_QUADTO): Likewise.
11768 (SEG_CUBICTO): Likewise.
11769 (SEG_CLOSE): Likewise.
11770 * java/awt/image/SinglePixelPackedSampleModel.java:
11771 Removed redundant semicolon.
11772 * java/io/ObjectInputStream.java
11773 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11774 * java/util/logging/Filter.java
11775 (isLoggable): Removed redundant modifier.
11776 * java/util/logging/LogManager.java:
11777 Removed redundant semicolon.
11778 * java/util/logging/XMLFormatter.java
11779 (format): Removed unused variable "key".
11780
11781 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11782
11783 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11784 New name for the former setFile native method.
11785 (setFile): New method.
11786 (setDirectory): Implemented.
11787 (connectSignals): New native method.
11788 (setFilenameFilter): Improve comment.
11789 (getGraphics): Comment.
11790 (gtkHideFileDialog): New method.
11791 (gtkDisposeFileDialog): New method.
11792 (gtkSetFilename): New method.
11793 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11794 for FileDialog for now.
11795 (hide): New method.
11796 (dispose): New method.
11797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11798 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11799 deprecated creation functions. Make dialog modal. Add it to the
11800 window group.
11801 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11802 function.
11803 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11804 Rename to...
11805 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11806 name.
11807 (window_closed): New function.
11808 (ok_clicked): New function.
11809 (cancel_clicked): New function.
11810
11811 2004-01-08 Michael Koch <konqueror@gmx.de>
11812
11813 * javax/swing/JLayeredPane.java: Revert changes to standard
11814 boilerplate, reworked imports.
11815
11816 2004-01-07 Tom Tromey <tromey@redhat.com>
11817
11818 PR libgcj/13439:
11819 * verify.cc (state::merge): Copy changed locals out of subroutine
11820 in NO_STACK case.
11821 (state::FLAG_CHANGED): New const.
11822 (state::FLAG_UNUSED): Likewise.
11823 (state::local_changed): Removed. Updated all users.
11824 (state::flags): New field.
11825 (state::merge): Added jsr_semantics argument, more logic.
11826 (push_jump_merge): Added jsr_semantics argument.
11827 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11828 merging through the jsr instruction.
11829
11830 2004-01-07 Tom Tromey <tromey@redhat.com>
11831
11832 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11833 backslash-newline.
11834
11835 2004-01-07 Graydon Hoare <graydon@redhat.com>
11836
11837 * java/awt/Container.java (LightweightDispatcher): Implement.
11838 (visitChild): Reuse graphics object.
11839 (dispatchEventImpl): Optionally dispatch to lightweight.
11840 (addNotifyContainerChildren): Build LightweightDispatcher.
11841
11842 2004-01-07 David Jee <djee@redhat.com>
11843
11844 * java/awt/Container.java
11845 (update): Clear only the clipped region, instead of clearing the
11846 entire Container.
11847 (visitChildren): Visit children in descending order.
11848
11849 2004-01-07 Michael Koch <konqueror@gmx.de>
11850
11851 * java/lang/reflect/Array.java: Merged documentation with classpath.
11852
11853 2004-01-07 Michael Koch <konqueror@gmx.de>
11854
11855 * java/text/CollationElementIterator.java
11856 (textIndex): Renamed from index.
11857 * java/text/CollationKey.java
11858 (collator): New member.
11859 (CollationKey): New argument for parent collator.
11860 (equals): Check for same collator, source string and key array.
11861 * java/text/RuleBasedCollator.java:
11862 Reformated.
11863 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11864 value.
11865 (getCollationElementIterator): Rewritten.
11866 (getCollationKey): Added new argument to CollationKey constructor.
11867
11868 2004-01-07 Michael Koch <konqueror@gmx.de>
11869
11870 * gnu/java/nio/DatagramChannelImpl.java
11871 (blocking): Removed.
11872 (DatagramChannelImpl): Call configureBlocking().
11873 (implConfigureBlocking): Dont initialize blocking.
11874 * gnu/java/nio/ServerSocketChannelImpl.java
11875 (blocking): Removed.
11876 (ServerSocketChannelImpl): Call configureBlocking().
11877 (implConfigureBlocking): Dont initialize blocking.
11878 * gnu/java/nio/SocketChannelImpl.java
11879 (blocking): Removed.
11880 (SocketChannelImpl): Call configureBlocking().
11881 (implConfigureBlocking): Dont initialize blocking.
11882 (connect): Use isBlocking().
11883 * java/nio/channels/spi/AbstractSelectableChannel.java
11884 (configureBlocking): Use blockingLock() instead of LOCK.
11885 Set blocking after successfully called implConfigureBlocking().
11886 (register): Use blockingLock() instead of LOCK.
11887
11888 2004-01-07 Michael Koch <konqueror@gmx.de>
11889
11890 * java/net/ServerSocket.java (isBound): Fixed documentation.
11891
11892 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11893
11894 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11895 (changeEvent): Create event object on demand.
11896 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11897 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11898 fireStateChanged): Re-written.
11899 * javax/swing/event/EventListenerList.java: Reformatted, document
11900 typical usage.
11901 (toString): Implemented.
11902 (getListeners): Re-written.
11903 (remove): Re-written.
11904 (add): Re-written.
11905 (NO_LISTENERS): New singleton field.
11906 (listenerList): Declare as transient; document.
11907 (serialVersionUID): Document.
11908 (getListenerCount(Class)): More efficient implementation,
11909 also accepts null argument. Improve Javadoc.
11910 (getListenerCount()): Remove unnecessary cast; docfix.
11911 * javax/swing/undo/UndoableEditSupport.java:
11912 Re-format, document.
11913 (UndoableEditSupport): Set realSource field. Improve documentation.
11914 (_postEdit): Iterate over cloned listener vector.
11915 (toString): Don't emit realSource.
11916 (beginUpdate, endUpdate): Support nested updates.
11917 (postEdit): Use compound edit if present.
11918
11919 2004-01-06 Graydon Hoare <graydon@redhat.com>
11920
11921 * java/awt/Container.java (swapComponents): Add forgotten
11922 function, required for JLayeredPane change.
11923
11924 2004-01-06 Michael Koch <konqueror@gmx.de>
11925
11926 * java/text/CollationElementIterator.java: Reformated.
11927 (CollationElementIterator): Changed order of arguments.
11928 * java/text/RuleBasedCollator.java
11929 (RuleBasedCollator): Merged class documentation.
11930 (CollationElement): Added documentation.
11931 (compare): Reformated, renamed arguments.
11932 (equals): Likewise.
11933 (getCollationElementIterator): Likewise.
11934 (getCollationKey): Likewise.
11935
11936 2004-01-06 Graydon Hoare <graydon@redhat.com>
11937
11938 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11939
11940 2004-01-06 Michael Koch <konqueror@gmx.de>
11941
11942 * gnu/java/net/protocol/file/Connection.java:
11943 Reformated copyright.
11944 (hdrHash): Removed.
11945 (hdrVec): Removed.
11946 (gotHeaders): Removed.
11947 (getHeaderField): Removed.
11948 (getHeaderField): Removed.
11949 (getHeaderFieldKey): Removed.
11950 (getKey): Removed.
11951 (getField): Removed.
11952 (getHeaders): Removed.
11953
11954 2004-01-06 Michael Koch <konqueror@gmx.de>
11955
11956 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11957 javax/print/attribute/standard/DateTimeAtCreation.java,
11958 javax/print/attribute/standard/DateTimeAtProcessing.java,
11959 javax/print/attribute/standard/JobImpressionsCompleted.java,
11960 javax/print/attribute/standard/JobKOctets.java,
11961 javax/print/attribute/standard/JobKOctetsProcessed.java,
11962 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11963 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11964 * Makefile.am (javax_source_files): Added new files.
11965 * Makefile.in: Regenerated.
11966
11967 2004-01-06 Michael Koch <konqueror@gmx.de>
11968
11969 * java/net/URLConnection.java
11970 (contentHandler): Removed.
11971 (locale): Removed.
11972 (getHeaderFields): Return an empty map instead of null.
11973 (getContent): Connect if needed, renamed "cType" to "type" and
11974 "contentHandler" to "ch" and made it a local variable.
11975 (getPermission): Don't use package in class name.
11976 (setDefaultRequestProperty): Fixed typo in documentation.
11977 (initializeDateFormats): Made locale a local variable.
11978
11979 2004-01-06 Michael Koch <konqueror@gmx.de>
11980
11981 * java/lang/Package.java
11982 (getPackage): Get the current class loader directly.
11983 * java/lang/SecurityManager.java
11984 (currentLoadedClass): Dont iterate over class contexts.
11985 (classLoaderDepth): Don't check class loaders if everything is allowed.
11986
11987 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11988
11989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11990 (pre_event_handler): Set all insets to 0 when a Configure event
11991 is received for a GtkPlug.
11992 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11993 Make handle long, not int.
11994 (EmbeddedWindow()): New constructor.
11995 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11996 long, not int.
11997 (setHandle): New method.
11998 (getHandle): Return long, not int.
11999 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12000 declaration.
12001 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12002 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12003 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12004 argument to GdkNativeWindow.
12005 (construct): New method.
12006 (embed): New method.
12007
12008 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12010 (create(int, int)): New method.
12011 (create): Call new create method.
12012 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12013 methods.
12014 (childResized): Remove native implementation. Implement in
12015 Java.
12016 (getHScrollbarHeight, getVScrollbarWidth): Call
12017 gtk_widget_size_request to get scrollbar dimensions.
12018 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12019 call getVScrollbarWidth and getHScrollbarHeight when vertical
12020 and horizontal scrollbars respectively are needed.
12021 (doLayout): Enlarge child if it is smaller than the viewport.
12022
12023 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12024
12025 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12026 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12027 argument as per spec.
12028
12029 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12030
12031 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12032 (insert): Ditto.
12033 (remove): Ditto. Also, Check for valid argument.
12034 (removeAll): Use peer interface method.
12035 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12036 native add function.
12037 (nativeRemove): New name for native remove function.
12038 (getHistory): New native function.
12039 (constructor): Generate ItemEvent.
12040 (add): Ditto, if selection is changed.
12041 (remove): Ditto, ditto.
12042 (removeAll): Add implementation.
12043 (handleEvent): Remove. Dead code.
12044 (choicePostItemEvent): Add comment.
12045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12046 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12047 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12048 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12049 comments and fix condition to change selection.
12050 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12051 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12052 remove all capability.
12053 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12054 (item_activate): Add cast to remove compiler warning.
12055
12056 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12057
12058 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12059 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12060 (getPreferredSize): Call preferredSize.
12061 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12062 (getMinimumSize): Call minimumSize.
12063 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12064 (gtkWidgetGetDimensions): Return the peer widget's current size
12065 request.
12066 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12067 natural size request.
12068
12069 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12070
12071 Thanks to Brian Gough <bjg@network-theory.com>
12072 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12073 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12074
12075 2004-01-04 Matthias Klose <doko@debian.org>
12076
12077 * aclocal.m4: Rebuilt using "aclocal -I .".
12078 * configure: Rebuilt.
12079
12080 2004-01-03 Per Bothner <per@bothner.com>
12081
12082 * java/util/Date.java (parse): Fix a number of problems.
12083 (skipParens): Remove no-longer-needed method.
12084