1 2004-11-06 Robert Schuster <thebohemian@gmx.net>
3 Fixes documentation and indentation
4 * java/beans/PropertyEditorSupport.java:
5 reworked initial API doc
6 (value): changed name from val
8 2004-11-06 Robert Schuster <thebohemian@gmx.net>
11 * java/beans/PropertyEditorSupport.java
12 (PropertyEditorSupport()): Changed modifier to public
13 (PropertyEditorSupport(Object): Changed modifier to public
14 (setSource): New method
15 (getSource): New method
17 2004-11-06 Robert Schuster <thebohemian@gmx.net>
20 * java/beans/PropertyEditorSupport.java
21 (setValue): Fire property change event
23 2004-11-03 Tom Tromey <tromey@redhat.com>
25 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
26 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
28 (_Jv_JNIEnv::NewObjectArray): Likewise.
30 2004-11-01 Tom Tromey <tromey@redhat.com>
32 * verify.cc (state::check_no_uninitialized_objects): Removed.
34 (push_exception_jump): Likewise.
35 (handle_ret_insn): Likewise.
36 (handle_jsr_insn): Likewise.
38 2004-10-30 Mark Wielaard <mark@klomp.org>
41 * java/lang/Runtime.java (static): Call init().
42 (Runtime): Remove call to init().
45 2004-10-28 David Daney <ddaney@avtrex.com>
47 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
48 * Makefile.am: Build it.
49 * Makefile.in: Regenerate.
51 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
54 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
56 * Makefile.in: Regenerate.
57 * configure: Regenerate.
58 * configure.ac (CLASSPATH_SEPARATOR): Define.
59 * gcj/Makefile.in: Regenerate.
60 * include/Makefile.in: Regenerate.
61 * testsuite/Makefile.in: Regenerate.
62 * testsuite/lib/libjava.exp (libjava_arguments): Fix
63 CLASSPATH separator handling for Windows.
65 2004-10-26 Michael Koch <konqueror@gmx.de>
67 * gnu/java/net/protocol/http/Connection.java
68 (getOutputStream): Implicitely switch to POST method.
70 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
72 * libjava/java/lang/Class.h
73 (java::lang::Class): Correct friend class declaration.
75 2004-10-25 Geoffrey Keating <geoffk@apple.com>
77 * Makefile.am (DARWIN_CRT_SRC): New.
78 (libgcj_la_SOURCES): Use it.
79 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
80 * darwin.cc: New file.
81 * include/jvm.h (_Jv_RegisterClasses): Constify.
82 (_Jv_RegisterClasses_Counted): New prototype.
83 * java/lang/Class.h: Include stddef.h.
84 (_Jv_RegisterClasses): Constify.
85 (_Jv_RegisterClasses_Counted): New prototype.
86 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
87 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
88 (_Jv_RegisterClasses_Counted): New function.
89 * configure: Regenerate.
90 * Makefile.in: Regenerate.
91 * gcj/Makefile.in: Regenerate.
92 * include/Makefile.in: Regenerate.
93 * testsuite/Makefile.in: Regenerate.
95 2004-10-25 Tom Tromey <tromey@redhat.com>
97 * java/util/ResourceBundle.java (tryBundle): Use
98 Class.isAssignableFrom rather than catching ClassCastException.
100 2004-10-25 Tom Tromey <tromey@redhat.com>
102 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
104 * gnu/java/text/SentenceBreakIterator.java
105 (SentenceBreakIterator): Don't initialize `iter'.
106 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
108 * gnu/java/text/CharacterBreakIterator.java
109 (CharacterBreakIterator): Don't initialize `iter'.
110 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
112 * java/text/BreakIterator.java: Updated documentation.
114 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
117 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
119 2004-10-23 Michael Koch <konqueror@gmx.de>
121 * javax/print/DocFlavor.java,
122 javax/print/attribute/standard/JobStateReason.java,
123 javax/print/attribute/standard/MultipleDocumentHandling.java:
124 Added missing constants.
126 2004-10-22 Tom Tromey <tromey@redhat.com>
128 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
131 2004-10-22 Michael Koch <konqueror@gmx.de>
134 * gnu/java/net/protocol/http/Connection.java
135 (sendRequest): Handle case when url.getFile() returns an empty string.
137 2004-10-22 Michael Koch <konqueror@gmx.de>
139 * java/lang/Math.java,
140 java/lang/StackTraceElement.java,
141 java/nio/Buffer.java,
142 java/nio/ByteBuffer.java,
143 java/nio/CharBuffer.java,
144 java/nio/DoubleBuffer.java,
145 java/nio/FloatBuffer.java,
146 java/nio/IntBuffer.java,
147 java/nio/LongBuffer.java,
148 java/nio/ShortBuffer.java,
149 java/nio/charset/Charset.java,
150 java/rmi/server/RMIClassLoader.java,
151 java/rmi/server/RMISocketFactory.java,
152 java/security/Policy.java,
153 java/text/ChoiceFormat.java,
154 java/text/CollationElementIterator.java,
155 java/text/DateFormat.java,
156 java/text/DecimalFormat.java,
157 java/text/DecimalFormatSymbols.java,
158 java/text/MessageFormat.java,
159 java/text/NumberFormat.java,
160 java/text/RuleBasedCollator.java,
161 java/text/SimpleDateFormat.java,
162 java/util/BitSet.java,
163 java/util/Calendar.java,
164 java/util/Collections.java,
165 java/util/IdentityHashMap.java,
166 java/util/Locale.java,
167 java/util/TreeMap.java,
168 java/util/logging/LogRecord.java,
169 java/util/logging/XMLFormatter.java,
170 java/util/prefs/AbstractPreferences.java,
171 java/util/prefs/Preferences.java,
172 javax/crypto/interfaces/DHPrivateKey.java,
173 javax/crypto/interfaces/DHPublicKey.java,
174 javax/crypto/interfaces/PBEKey.java,
175 javax/net/ssl/HandshakeCompletedEvent.java,
176 javax/security/auth/Subject.java:
177 Removed redundant and reordered modifiers.
179 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
181 * gnu/java/net/natPlainSocketImplPosix.cc
182 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
183 with 'int *' argument instead of 'long *'.
185 2004-10-21 Michael Koch <konqueror@gmx.de>
187 * java/net/NetworkInterface.java,
188 java/text/Format.java,
189 javax/security/auth/x500/X500Principal.java,
190 javax/security/auth/x500/X500PrivateCredential.java,
191 javax/security/cert/X509CertBridge.java,
192 javax/security/sasl/Sasl.java,
193 javax/sql/XAConnection.java:
196 2004-10-21 Michael Koch <konqueror@gmx.de>
198 * javax/net/ssl/HandshakeCompletedEvent.java,
199 javax/net/ssl/KeyManagerFactory.java,
200 javax/net/ssl/SSLContext.java,
201 javax/net/ssl/SSLServerSocketFactory.java,
202 javax/net/ssl/SSLSession.java,
203 javax/net/ssl/SSLSocketFactory.java,
204 javax/net/ssl/TrustManagerFactory.java:
207 2004-10-21 Michael Koch <konqueror@gmx.de>
209 * javax/naming/directory/BasicAttribute.java,
210 javax/naming/directory/BasicAttributes.java,
211 javax/naming/directory/InitialDirContext.java,
212 javax/naming/event/NamingEvent.java,
213 javax/naming/ldap/ControlFactory.java,
214 javax/naming/ldap/ExtendedRequest.java,
215 javax/naming/ldap/InitialLdapContext.java,
216 javax/naming/ldap/LdapReferralException.java,
217 javax/naming/spi/DirObjectFactory.java,
218 javax/naming/spi/DirStateFactory.java,
219 javax/naming/spi/DirectoryManager.java,
220 javax/naming/spi/InitialContextFactory.java,
221 javax/naming/spi/InitialContextFactoryBuilder.java,
222 javax/naming/spi/NamingManager.java,
223 javax/naming/spi/ObjectFactory.java,
224 javax/naming/spi/ObjectFactoryBuilder.java,
225 javax/naming/spi/StateFactory.java:
228 2004-10-21 Michael Koch <konqueror@gmx.de>
230 * javax/crypto/Cipher.java,
231 javax/crypto/EncryptedPrivateKeyInfo.java,
232 javax/crypto/ExemptionMechanism.java,
233 javax/crypto/KeyAgreement.java,
234 javax/crypto/KeyGenerator.java,
235 javax/crypto/Mac.java,
236 javax/crypto/SecretKeyFactory.java,
237 javax/crypto/SecretKeyFactorySpi.java,
238 javax/crypto/spec/SecretKeySpec.java:
241 2004-10-21 Michael Koch <konqueror@gmx.de>
243 * java/security/AlgorithmParameterGenerator.java,
244 java/security/AlgorithmParameters.java,
245 java/security/AlgorithmParametersSpi.java,
246 java/security/AllPermission.java,
247 java/security/BasicPermission.java,
248 java/security/Certificate.java,
249 java/security/CodeSource.java,
250 java/security/DigestInputStream.java,
251 java/security/DigestOutputStream.java,
252 java/security/GuardedObject.java,
253 java/security/KeyFactory.java,
254 java/security/KeyFactorySpi.java,
255 java/security/KeyPairGenerator.java,
256 java/security/KeyStore.java,
257 java/security/KeyStoreSpi.java,
258 java/security/Permissions.java,
259 java/security/Security.java,
260 java/security/Signature.java,
261 java/security/UnresolvedPermission.java,
262 java/security/cert/CertPathBuilder.java,
263 java/security/cert/CertPathValidator.java,
264 java/security/cert/CertStore.java,
265 java/security/cert/Certificate.java,
266 java/security/cert/CertificateFactory.java,
267 java/security/cert/PolicyQualifierInfo.java,
268 java/security/cert/TrustAnchor.java,
269 java/security/cert/X509CRL.java,
270 java/security/cert/X509CRLSelector.java,
271 java/security/cert/X509CertSelector.java:
274 2004-10-21 Michael Koch <konqueror@gmx.de>
276 * java/rmi/MarshalledObject.java,
277 java/rmi/Naming.java,
278 java/rmi/activation/Activatable.java,
279 java/rmi/activation/ActivationGroup.java,
280 java/rmi/activation/ActivationGroupDesc.java,
281 java/rmi/activation/ActivationInstantiator.java,
282 java/rmi/activation/ActivationMonitor.java,
283 java/rmi/activation/ActivationSystem.java,
284 java/rmi/activation/Activator.java,
285 java/rmi/registry/LocateRegistry.java,
286 java/rmi/registry/Registry.java,
287 java/rmi/server/LogStream.java,
288 java/rmi/server/ObjID.java,
289 java/rmi/server/RMIClientSocketFactory.java,
290 java/rmi/server/RMIServerSocketFactory.java,
291 java/rmi/server/RMISocketFactory.java,
292 java/rmi/server/RemoteCall.java,
293 java/rmi/server/RemoteServer.java,
294 java/rmi/server/ServerRef.java,
295 java/rmi/server/UID.java,
296 java/rmi/server/UnicastRemoteObject.java:
299 2004-10-21 Tom Tromey <tromey@redhat.com>
301 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
302 exception if we hit EOF of `in'.
303 (read): Handle case where inflating returns -1.
305 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
307 * gnu/java/nio/channels/natFileChannelPosix.cc
308 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
309 argument instead of 'long *'.
311 2004-10-21 Tom Tromey <tromey@redhat.com>
313 * java/util/ResourceBundle.java (tryBundle): Also ignore
316 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
318 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
319 for all sh*-*-linux* targets.
320 * configure: Regenerate.
321 * include/sh-signal.h: New file.
323 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
325 * java/lang/ieeefp.h: Add m32r support.
327 2004-10-20 Andreas Schwab <schwab@suse.de>
329 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
331 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
334 2004-10-20 Michael Koch <konqueror@gmx.de>
336 * javax/print/attribute/standard/ColorSupported.java,
337 javax/print/attribute/standard/Compression.java,
338 javax/print/attribute/standard/Copies.java,
339 javax/print/attribute/standard/CopiesSupported.java,
340 javax/print/attribute/standard/DateTimeAtCompleted.java,
341 javax/print/attribute/standard/DateTimeAtCreation.java,
342 javax/print/attribute/standard/DateTimeAtProcessing.java,
343 javax/print/attribute/standard/DocumentName.java,
344 javax/print/attribute/standard/Fidelity.java,
345 javax/print/attribute/standard/Finishings.java,
346 javax/print/attribute/standard/JobHoldUntil.java,
347 javax/print/attribute/standard/JobImpressions.java,
348 javax/print/attribute/standard/JobImpressionsCompleted.java,
349 javax/print/attribute/standard/JobImpressionsSupported.java,
350 javax/print/attribute/standard/JobKOctets.java,
351 javax/print/attribute/standard/JobKOctetsProcessed.java,
352 javax/print/attribute/standard/JobKOctetsSupported.java,
353 javax/print/attribute/standard/JobMediaSheets.java,
354 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
355 javax/print/attribute/standard/JobMediaSheetsSupported.java,
356 javax/print/attribute/standard/JobMessageFromOperator.java,
357 javax/print/attribute/standard/JobName.java,
358 javax/print/attribute/standard/JobOriginatingUserName.java,
359 javax/print/attribute/standard/JobPriority.java,
360 javax/print/attribute/standard/JobPrioritySupported.java,
361 javax/print/attribute/standard/JobSheets.java,
362 javax/print/attribute/standard/JobState.java,
363 javax/print/attribute/standard/JobStateReason.java,
364 javax/print/attribute/standard/JobStateReasons.java,
365 javax/print/attribute/standard/Media.java,
366 javax/print/attribute/standard/MultipleDocumentHandling.java,
367 javax/print/attribute/standard/NumberOfDocuments.java,
368 javax/print/attribute/standard/NumberOfInterveningJobs.java,
369 javax/print/attribute/standard/NumberUp.java,
370 javax/print/attribute/standard/NumberUpSupported.java,
371 javax/print/attribute/standard/OrientationRequested.java,
372 javax/print/attribute/standard/OutputDeviceAssigned.java,
373 javax/print/attribute/standard/PDLOverrideSupported.java,
374 javax/print/attribute/standard/PageRanges.java,
375 javax/print/attribute/standard/PagesPerMinute.java,
376 javax/print/attribute/standard/PagesPerMinuteColor.java,
377 javax/print/attribute/standard/PrintQuality.java,
378 javax/print/attribute/standard/PrinterInfo.java,
379 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
380 javax/print/attribute/standard/PrinterLocation.java,
381 javax/print/attribute/standard/PrinterMakeAndModel.java,
382 javax/print/attribute/standard/PrinterMessageFromOperator.java,
383 javax/print/attribute/standard/PrinterMoreInfo.java,
384 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
385 javax/print/attribute/standard/PrinterName.java,
386 javax/print/attribute/standard/PrinterStateReason.java,
387 javax/print/attribute/standard/PrinterStateReasons.java,
388 javax/print/attribute/standard/PrinterURI.java,
389 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
390 javax/print/attribute/standard/RequestingUserName.java:
391 Reorganized imports and removed redundant final modifiers.
393 2004-10-20 Michael Koch <konqueror@gmx.de>
395 * javax/security/sasl/SaslClient.java,
396 javax/security/sasl/SaslClientFactory.java,
397 javax/security/sasl/SaslException.java,
398 javax/security/sasl/SaslServer.java,
399 javax/security/sasl/SaslServerFactory.java:
402 2004-10-20 Michael Koch <konqueror@gmx.de>
404 * javax/security/auth/login/NullConfiguration.java,
405 javax/security/auth/x500/X500Principal.java,
406 javax/security/cert/X509Certificate.java,
407 javax/security/sasl/AuthenticationException.java,
408 javax/security/sasl/AuthorizeCallback.java,
409 javax/security/sasl/RealmCallback.java,
410 javax/security/sasl/RealmChoiceCallback.java,
411 javax/security/sasl/Sasl.java,
412 javax/security/sasl/SaslClient.java,
413 javax/security/sasl/SaslClientFactory.java,
414 javax/security/sasl/SaslException.java,
415 javax/security/sasl/SaslServer.java,
416 javax/security/sasl/SaslServerFactory.java:
417 Cleaned up import statements and copyright notices.
419 2004-10-20 Michael Koch <konqueror@gmx.de>
421 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
423 2004-10-20 Michael Koch <konqueror@gmx.de>
425 * java/sql/Timestamp.java,
426 java/text/AttributedCharacterIterator.java,
427 java/text/AttributedString.java,
428 java/util/zip/CheckedOutputStream.java,
429 java/util/zip/DeflaterOutputStream.java,
430 java/util/zip/ZipFile.java,
431 javax/crypto/Cipher.java,
432 javax/crypto/ExemptionMechanismException.java,
433 javax/crypto/SecretKey.java,
434 javax/crypto/SecretKeyFactory.java,
435 javax/naming/directory/ModificationItem.java,
436 javax/naming/directory/SearchControls.java,
437 javax/naming/event/NamingListener.java,
438 javax/naming/ldap/Control.java,
439 javax/naming/ldap/ExtendedResponse.java,
440 javax/net/ssl/SSLSocketFactory.java:
441 Reorganized imports and fixed copyright headers.
443 2004-10-20 Michael Koch <konqueror@gmx.de>
445 * java/util/logging/ConsoleHandler.java,
446 java/util/logging/ErrorManager.java,
447 java/util/logging/FileHandler.java,
448 java/util/logging/Filter.java,
449 java/util/logging/Formatter.java,
450 java/util/logging/Handler.java,
451 java/util/logging/Level.java,
452 java/util/logging/LogManager.java,
453 java/util/logging/LogRecord.java,
454 java/util/logging/Logger.java,
455 java/util/logging/LoggingPermission.java,
456 java/util/logging/MemoryHandler.java,
457 java/util/logging/SimpleFormatter.java,
458 java/util/logging/SocketHandler.java,
459 java/util/logging/StreamHandler.java,
460 java/util/logging/XMLFormatter.java:
461 Standardized copyrigth header.
463 2004-10-20 Michael Koch <konqueror@gmx.de>
465 * java/security/AlgorithmParameterGenerator.java,
466 java/security/AlgorithmParameters.java,
467 java/security/DigestInputStream.java,
468 java/security/Identity.java,
469 java/security/KeyFactory.java,
470 java/security/KeyPairGenerator.java,
471 java/security/KeyStore.java,
472 java/security/MessageDigest.java,
473 java/security/MessageDigestSpi.java,
474 java/security/Policy.java,
475 java/security/SecureRandom.java,
476 java/security/Security.java,
477 java/security/Signature.java,
478 java/security/SignatureSpi.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/X509CRLEntry.java,
488 java/security/cert/X509Certificate.java,
489 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
490 Import statements reorganized, some little formatting issues,
491 used java-style array declarations, added comments in empty catch
494 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
496 * java/security/Security.java
497 (static): Use AccessController.doPrivileged to get system property.
499 2004-10-18 Sven de Marothy <sven@physto.se>
501 * java/nio/ByteBufferHelper.java
502 (putDouble): Use Double.toRawLongBits instead.
504 2004-10-18 Mark Wielaard <mark@klomp.org>
505 Andrew Haley <aph@redhat.com>
507 * testsuite/libjava.lang/ExtraClassLoader.java: New.
509 2004-10-18 Andrew Haley <aph@redhat.com>
512 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
513 and correct logic used to find interpreter.
515 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
517 * java/util/logging/LogManager.java
518 (findAncestor): Fixed IndexOutOfBoundsException.
520 2004-10-18 Michael Koch <konqueror@gmx.de>
522 * java/io/BufferedInputStream.java: Fixed @author tag.
523 (read): Simplified expression.
524 (read): Merged javadoc a bit more.
525 (read): Renamed 'remain' to 'totalBytesRead'.
526 * java/io/DataInputStream.java,
527 java/io/DataOutputStream.java,
528 java/io/ObjectInputStream.java,
529 java/io/ObjectOutputStream.java:
530 Reworked modifier order.
532 2004-10-18 Michael Koch <konqueror@gmx.de>
534 * java/net/Inet4Address.java: Merged file header and javadocs.
535 * java/net/Inet6Address.java: Likewise.
536 * java/net/InetAddress.java
537 (getCanonicalHostName): Create Inet4Address object instead of
538 InetAddress and add comment regarding IPv6.
539 (toString): Simplified.
541 2004-10-18 Michael Koch <konqueror@gmx.de>
543 * gnu/java/net/protocol/http/Connection.java,
544 java/nio/MappedByteBufferImpl.java,
545 java/text/RuleBasedCollator.java,
546 java/util/ResourceBundle.java:
547 Reworked import statements.
549 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
551 * java/security/IdentityScope.java
552 (systemScope): Removed useless initializer.
553 * java/security/Policy.java
554 (currentPolicy): Likewise.
556 2004-10-18 Michael Koch <konqueror@gmx.de>
558 * java/lang/System.java: Revert accidential change.
560 2004-10-18 Michael Koch <konqueror@gmx.de>
562 * java/lang/Math.java,
563 java/lang/Package.java,
564 java/lang/Runtime.java,
565 java/lang/StrictMath.java,
566 java/lang/System.java,
567 java/lang/Thread.java,
568 java/lang/ThreadLocal.java,
570 Reworked import statements, HTML in javadocs and modifier orders.
572 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
574 * java/util/Timer.java
575 (nr): Removed useless initializer.
576 * java/util/logging/LogRecord.java
577 (lastSeqNum): Likewise.
578 * javax/naming/spi/NamingManager.java
579 (icfb, ofb): Likewise.
581 2004-10-18 Michael Koch <konqueror@gmx.de>
583 * gnu/java/net/PlainDatagramSocketImpl.java:
584 Reworked import statements.
585 * gnu/java/security/provider/DSAParameters.java:
586 Fixed copyrigth years.
587 * java/net/JarURLConnection.java:
588 Fixed HTML in @author tags.
591 2004-10-18 Michael Koch <konqueror@gmx.de>
593 * java/rmi/activation/ActivationSystem.java
594 (SYSTEM_PORT): Initialize with correct port number.
596 2004-10-18 Michael Koch <konqueror@gmx.de>
598 * java/lang/reflect/Proxy.java: Improved javadocs.
600 2004-10-18 Michael Koch <konqueror@gmx.de>
602 * java/lang/reflect/AccessibleObject.java
603 (checkPermission): Removed redundant final modifier.
604 (secureSetAccessible): Likewise.
605 * java/lang/reflect/Proxy.java:
606 Reworked import statements.
607 (generate): Removed redundant final modifier.
608 * java/lang/reflect/ReflectPermission.java:
609 Reorder package declaration and import statement.
611 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
613 * java/lang/reflect/Proxy.java
614 (count): Removed useless initializer.
616 2004-10-17 Michael Koch <konqueror@gmx.de>
618 * java/net/BindException.java,
619 java/net/ConnectException.java,
620 java/net/ContentHandler.java,
621 java/net/ContentHandlerFactory.java,
622 java/net/DatagramPacket.java,
623 java/net/DatagramSocket.java,
624 java/net/DatagramSocketImpl.java,
625 java/net/DatagramSocketImplFactory.java,
626 java/net/FileNameMap.java,
627 java/net/HttpURLConnection.java,
628 java/net/MalformedURLException.java,
629 java/net/MulticastSocket.java,
630 java/net/NetworkInterface.java,
631 java/net/NoRouteToHostException.java,
632 java/net/PasswordAuthentication.java,
633 java/net/PortUnreachableException.java,
634 java/net/ProtocolException.java,
635 java/net/ServerSocket.java,
636 java/net/Socket.java,
637 java/net/SocketException.java,
638 java/net/SocketImpl.java,
639 java/net/SocketImplFactory.java,
640 java/net/SocketOptions.java,
641 java/net/SocketPermission.java,
642 java/net/SocketTimeoutException.java,
644 java/net/URISyntaxException.java,
646 java/net/URLDecoder.java,
647 java/net/URLEncoder.java,
648 java/net/URLStreamHandler.java,
649 java/net/URLStreamHandlerFactory.java,
650 java/net/UnknownHostException.java,
651 java/net/UnknownServiceException.java:
652 Big import statement and @author tag cleanup.
654 2004-10-17 Michael Koch <konqueror@gmx.de>
656 * gnu/java/security/OID.java,
657 gnu/java/security/provider/DSAParameters.java,
658 gnu/java/security/provider/DSASignature.java,
659 gnu/java/security/x509/X500DistinguishedName.java,
660 gnu/java/security/x509/X509CRL.java:
661 Import statements cleaned up.
663 2004-10-16 Michael Koch <konqueror@gmx.de>
665 * gnu/java/nio/NIODatagramSocket.java,
666 gnu/java/nio/ServerSocketChannelImpl.java:
667 Reorganized import statements.
669 2004-10-16 Michael Koch <konqueror@gmx.de>
671 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
672 gnu/java/rmi/rmic/RMIC.java,
673 gnu/java/rmi/server/RMIHashes.java,
674 gnu/java/rmi/server/RMIObjectInputStream.java,
675 gnu/java/rmi/server/RMIObjectOutputStream.java,
676 gnu/java/rmi/server/UnicastConnection.java,
677 gnu/java/rmi/server/UnicastConnectionManager.java,
678 gnu/java/rmi/server/UnicastRemoteCall.java,
679 gnu/java/rmi/server/UnicastServer.java,
680 gnu/java/rmi/server/UnicastServerRef.java,
681 java/rmi/MarshalledObject.java,
682 java/rmi/Naming.java,
683 java/rmi/RMISecurityManager.java,
684 java/rmi/Remote.java,
685 java/rmi/activation/Activatable.java,
686 java/rmi/activation/ActivationDesc.java,
687 java/rmi/activation/ActivationGroup.java,
688 java/rmi/activation/ActivationGroupDesc.java,
689 java/rmi/activation/ActivationGroupID.java,
690 java/rmi/activation/ActivationID.java,
691 java/rmi/activation/ActivationInstantiator.java,
692 java/rmi/activation/ActivationMonitor.java,
693 java/rmi/activation/ActivationSystem.java,
694 java/rmi/activation/Activator.java,
695 java/rmi/dgc/DGC.java,
696 java/rmi/dgc/Lease.java,
697 java/rmi/dgc/VMID.java,
698 java/rmi/registry/LocateRegistry.java,
699 java/rmi/registry/Registry.java,
700 java/rmi/registry/RegistryHandler.java,
701 java/rmi/server/LoaderHandler.java,
702 java/rmi/server/LogStream.java,
703 java/rmi/server/ObjID.java,
704 java/rmi/server/Operation.java,
705 java/rmi/server/RMIClassLoader.java,
706 java/rmi/server/RMIClassLoaderSpi.java,
707 java/rmi/server/RMIClientSocketFactory.java,
708 java/rmi/server/RMIFailureHandler.java,
709 java/rmi/server/RMIServerSocketFactory.java,
710 java/rmi/server/RMISocketFactory.java,
711 java/rmi/server/RemoteCall.java,
712 java/rmi/server/RemoteObject.java,
713 java/rmi/server/RemoteRef.java,
714 java/rmi/server/RemoteServer.java,
715 java/rmi/server/RemoteStub.java,
716 java/rmi/server/ServerRef.java,
717 java/rmi/server/Skeleton.java,
718 java/rmi/server/SkeletonMismatchException.java,
719 java/rmi/server/UID.java,
720 java/rmi/server/UnicastRemoteObject.java,
721 java/rmi/server/Unreferenced.java:
722 File headers and import statements cleaned up.
724 2004-10-16 Michael Koch <konqueror@gmx.de>
726 * libjava/gnu/java/nio/charset/UTF_16.java,
727 libjava/gnu/java/nio/charset/UTF_16BE.java,
728 libjava/gnu/java/nio/charset/UTF_16LE.java,
729 libjava/java/nio/ByteOrder.java,
730 libjava/java/nio/MappedByteBuffer.java,
731 libjava/java/nio/channels/Channels.java,
732 libjava/java/nio/channels/spi/SelectorProvider.java,
733 libjava/java/nio/charset/Charset.java:
736 2004-10-16 Michael Koch <konqueror@gmx.de>
738 * gnu/java/nio/charset/UTF_16Encoder.java
739 (UTF_16Encoder): Fixed maxBytesPerChar handling.
741 2004-10-16 Michael Koch <konqueror@gmx.de>
743 * java/math/BigDecimal.java, java/math/BigInteger.java:
744 Reorganized import statements, removed redundant and
745 reorganized modifiers.
747 2004-10-16 Michael Koch <konqueror@gmx.de>
749 * gnu/java/beans/ExplicitBeanInfo.java:
750 Explicitely import java.awt.Image.
751 (getIcon): Fixed off-by-one error.
753 2004-10-15 Andrew Haley <aph@redhat.com>
755 * Makefile.am (nat_files, xlib_nat_files): New.
756 * Makefile.in: Regenerate.
758 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
760 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
761 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
763 2004-10-13 Andrew Haley <aph@redhat.com>
765 * interpret.cc (_Jv_InterpMethod::run): Initialize
766 _Jv_StartOfInterpreter.
767 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
768 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
769 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
770 _Unwind_FindEnclosingFunction to discover whether PC is within the
773 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
776 * testsuite/libjava.lang/md5test.java: New file.
777 * testsuite/libjava.lang/md5test.out: Likewise.
778 * testsuite/libjava.lang/shatest.java: Likewise.
779 * testsuite/libjava.lang/shatest.out: Likewise.
781 2004-10-11 Richard Henderson <rth@redhat.com>
783 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
784 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
786 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
788 * java/util/Calendar.java (set): Invalidate DST_OFFSET
789 field as a DST boundary may have been crossed.
790 * java/util/GregorianCalendar.java (add): Throw
791 IllegalArgumentException on attempt to add to DST_OFFSET or
792 ZONE_OFFSET fields. Update javadoc.
794 2004-10-09 Michael Koch <konqueror@gmx.de>
796 * java/io/CharArrayWriter.java
797 (resize): Removed redundant 'final' modifier.
798 * java/io/DataInputStream.java
799 (readFully): Throw IndexOutOfBoundsException of len < 0.
800 * java/io/FileDescriptor.java,
801 java/io/FileInputStream.java,
802 java/io/FileOutputStream.java,
803 java/io/ObjectOutputStream.java,
804 java/io/ObjectStreamClass.java,
805 java/io/PipedInputStream.java,
806 java/io/RandomAccessFile.java:
807 Reorganized import statements.
809 2004-10-09 Michael Koch <konqueror@gmx.de>
811 * gnu/java/rmi/rmic/RMIC.java,
812 gnu/java/rmi/server/RMIHashes.java,
813 gnu/java/rmi/server/RMIObjectInputStream.java,
814 gnu/java/rmi/server/UnicastConnection.java,
815 gnu/java/rmi/server/UnicastConnectionManager.java,
816 gnu/java/rmi/server/UnicastRemoteCall.java,
817 gnu/java/rmi/server/UnicastServerRef.java:
818 Reworked import statements and fixed file headers.
820 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
822 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
824 * configure: Rebuilt.
826 2004-09-30 Tom Tromey <tromey@redhat.com>
828 * java/text/MessageFormat.java (Field): Constructor now
831 2004-09-30 Tom Tromey <tromey@redhat.com>
833 * javax/crypto/MacSpi.java: Fixed typo.
835 2004-09-30 Michael Koch <konqueror@gmx.de>
837 * java/net/InetAddress.java: Reformatted.
838 (loopback): Initialize with Inet4Address object.
839 (static): Initialize ANY_IF with Inet4Address object.
840 (InetAddress): Removed unused package-private constructor.
842 2004-09-30 Michael Koch <konqueror@gmx.de>
844 * java/beans/Beans.java,
845 java/beans/EventHandler.java,
846 java/beans/EventSetDescriptor.java,
847 java/beans/Introspector.java,
848 java/beans/PropertyEditorManager.java,
849 java/beans/beancontext/BeanContext.java,
850 java/beans/beancontext/BeanContextChild.java,
851 java/beans/beancontext/BeanContextChildSupport.java,
852 java/beans/beancontext/BeanContextMembershipEvent.java:
853 Reordered import statements and removed redundant modifiers.
855 2004-09-29 Tom Tromey <tromey@redhat.com>
858 * Makefile.in: Rebuilt.
859 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
861 (all_property_files): New macro.
863 * Makefile.in: Rebuilt.
864 * Makefile.am (ordinary_java_source_files): Re-sorted.
865 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
867 2004-09-28 Tom Tromey <tromey@redhat.com>
869 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
872 * Makefile.am (libgcj.la): Restored.
873 * Makefile.in: Rebuilt.
875 2004-09-28 Michael Koch <konqueror@gmx.de>
877 * java/net/URLConnection.java: Reformatted.
878 * java/net/URLClassLoader.java: Reformatted.
879 (getContent): Reordered return of content.
880 (getContentHandler): Don't check for null explicitely.
882 2004-09-27 Michael Koch <konqueror@gmx.de>
884 * java/io/BufferedInputStream.java
885 (BufferedInputStream): Added Jeroen Frijters to authors.
886 (count): Don't explicitely initialize with default value.
888 (marklimit): Likewise.
889 (read): Changed boolean expression to match GNU classpath' version.
890 (reset): Add proper message to exception.
891 (skip): Check for closed stream.
894 2004-09-26 Per Bothner <per@bothner.com>
896 * prims.cc (unblock_signal): Annotate signum with __unused__ to
897 avoid warnings in the non-POSIX_VERSION case.
898 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
899 so place it inside an #if block.
900 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
901 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
902 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
903 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
905 2004-09-26 Per Bothner <per@bothner.com>
907 * prims.cc (process_gcj_properties): Optimization.
909 2004-09-26 Per Bothner <per@bothner.com>
911 * java/util/Collections.java (sort): Copy from array in forwards
912 order, rather than reverse order which may be much less efficient.
914 2004-09-26 Mark Wielaard <mark@klomp.org>
916 * java/lang/System.java (properties): Make package private.
917 * java/lang/Throwable.java (StaticData.nl): Initialize through
918 directly accessing System.properties.getProperty().
920 * java/lang/Throwable.java (nl): Remove static field.
921 (StaticData): New private static inner class.
922 (stackTraceStringBuffer): Use StaticData.nl.
924 2004-09-26 Casey Marshall <csm@gnu.org>
926 * java/security/ProtectionDomain.java
927 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
930 * java/security/SecureClassLoader.java
931 (defineClass): make protection domain dynamically bound.
932 (getPermissions): call `getCurrentPolicy' to avoid permission
935 2004-09-25 Mark Wielaard <mark@klomp.org>
937 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
938 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
939 * Makefile.in: Regenerated.
941 * gcj/javaprims.h: Regenerated.
943 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
944 (getDefaultTimeZone): Make package private. Check that GMToffset
945 contains at least one digit.
946 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
948 * util/VMTimeZone.java: New file with above methods.
950 * java/util/natTimeZone.cc: Removed (renamed).
951 * java/util/natVMTimeZone.cc: Added (renamed).
953 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
955 * java/util/TimeZone.java
956 (getDefaultTimeZone): Fixed test to distinguish between hours and
957 minutes in specified timezone.
959 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
961 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
962 handling of default package. (generate): Removed confused comments
963 and code about making Method and Field accessible.
965 2004-09-25 Tom Tromey <tromey@redhat.com>
968 * testsuite/libjava.compile/pr17500.java: New file.
970 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
971 Mark Wielaard <mark@klomp.org>
973 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
974 * gnu/regexp/RETokenLookAhead.java: New file.
976 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
977 * Makefile.in: Regenerated.
979 2004-09-25 Michael Koch <konqueror@gmx.de>
981 * java/io/ObjectStreamField.java:
982 Removed unused import statement.
984 2004-09-24 Tom Tromey <tromey@redhat.com>
987 * testsuite/libjava.compile/pr15656.xfail: New file.
988 * testsuite/libjava.compile/pr15656.java: new file.
991 * testsuite/libjava.lang/pr16789.out: New file.
992 * testsuite/libjava.lang/pr16789.java: New file.
994 2004-09-24 Andrew Haley <aph@redhat.com>
997 * testsuite/libjava.compile/AssertBug.java: New file.
999 2004-09-24 Casey Marshall <csm@gnu.org>
1001 * java/util/PropertyPermissionCollection.java
1002 (implies): avoid infinite loop.
1004 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1006 * javax/security/auth/PrivateCredentialPermission.java
1007 (PrivateCredentialPermission): added serialization UID
1010 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1012 * gnu/java/rmi/server/UnicastServer.java
1013 (incomingMessageCall): Added code to handle Errors.
1014 * gnu/java/rmi/server/UnicastServerRef.java
1015 (incomingMessageCall): Added code to handle Errors.
1018 2004-09-24 Tom Tromey <tromey@redhat.com>
1020 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1021 (definedPackages): Likewise.
1023 2004-09-24 Michael Koch <konqueror@gmx.de>
1025 * java/io/ObjectInputStream.java:
1028 2004-09-24 Casey Marshall <csm@gnu.org>
1030 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1031 `ClassNotFoundException'.
1033 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1035 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1036 of Externalizable classes to ObjectStreamClass.
1037 * java/io/ObjectStreamClass.java (newInstance): New method to
1038 instantiate Externalizable (while ignoring the accessibility of
1039 the constructor). (constructor): New field to cache the constructor.
1041 2004-09-24 Mark Wielaard <mark@klomp.org>
1043 * java/net/URL.java (systemClassLoader): New static field.
1044 (getURLStreamHandler): Always use system/application classloader
1045 for finding URLStreamhandler. Remove unecessary instanceof checks.
1047 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1050 (set): This method now matches the behaviour of the JDK.
1051 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1053 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1055 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1057 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1059 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1060 Don't set authority if host isn't specified.
1062 2004-09-24 Michael Koch <konqueror@gmx.de>
1064 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1065 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1066 * gnu/java/nio/VMPipe.java,
1067 gnu/java/nio/VMSelector.java:
1069 * gnu/java/nio/natPipeImplEcos.cc,
1070 gnu/java/nio/natPipeImplPosix.cc,
1071 gnu/java/nio/natPipeImplWin32.cc:
1073 * gnu/java/nio/natSelectorImplEcos.cc,
1074 gnu/java/nio/natSelectorImplPosix.cc,
1075 gnu/java/nio/natSelectorImplWin32.cc:
1076 Ported to VMSelector.
1077 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1078 gnu/java/nio/VMSelector.java.
1079 * Makefile.in: Regenerated.
1081 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1083 * java/lang/StackTraceElement.java
1084 (className): Renamed field to declaringClass to be compatible
1085 with Sun serialization format.
1087 2004-09-23 Michael Koch <konqueror@gmx.de>
1089 * java/applet/AppletContext.java,
1090 java/applet/Applet.java,
1091 java/applet/AppletStub.java,
1092 java/applet/AudioClip.java:
1093 Jalopied and checkstyle clean.
1095 2004-09-23 Mark Wielaard <mark@klomp.org>
1097 * java/util/Collections.java
1098 (binarySearch(List, Object, Comparator)): Explicitly
1099 reverse direction in list iterator.
1100 (rotate): Just return when list is empty.
1102 2004-09-23 Tom Tromey <tromey@redhat.com>
1105 * testsuite/libjava.compile/pr17329.java: New file.
1108 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1111 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1113 * Makefile.am: Run aclocal with -I ../config
1114 * acinclude.m4: Delete macros picked up from ../config and tidy.
1115 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1116 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1117 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1119 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1121 * aclocal.m4: Regenerate with aclocal 1.9.2.
1122 * configure: Regenerate.
1123 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1124 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1126 2004-09-22 David Daney <ddaney@avtrex.com>
1129 * java/net/URL.java (URL): Copy userInfo from context.
1130 (getUserInfo): Return cached userInfo if present.
1132 2004-09-22 Tom Tromey <tromey@redhat.com>
1135 * mauve-libgcj: Enable java.lang.Character tests.
1137 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1139 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1141 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1142 * Makefile.in: Regenerated.
1144 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1146 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1147 * configure: Regenerate.
1148 * include/config.h.in: Likewise.
1149 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1153 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1154 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1156 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1159 2004-09-22 Tom Tromey <tromey@redhat.com>
1162 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1163 when comparing CRCs.
1164 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1166 (read()): New overload.
1168 2004-09-21 Tom Tromey <tromey@redhat.com>
1170 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1173 2004-09-21 Michael Koch <konqueror@gmx.de>
1175 * java/net/Socket.java
1176 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1178 2004-09-21 Casey Marshall <csm@gnu.org>
1180 * javax/crypto/MacSpi.java (clone): Provide meaningful
1183 2004-09-21 Tom Tromey <tromey@redhat.com>
1186 * Makefile.in: Rebuilt.
1187 * Makefile.am (MOSTLYCLEANFILES): Removed.
1188 (mostlyclean-local): Remove header files.
1190 2004-09-21 Casey Marshall <csm@gnu.org>
1192 * java/security/cert/X509CRLSelector.java:
1193 (match): remove unreachable try-catch clauses.
1194 Reported by: Dalibor Topic <robilad@kaffe.org>
1196 2004-09-21 Mark Wielaard <mark@klomp.org>
1198 * java/util/TreeMap.java (root): Don't initialize.
1199 (TreeMap(Comparator)): Call fabricateTree(0).
1200 (fabricateTree): Initialize root and size when count is 0.
1202 2004-09-21 Sven de Marothy <sven@physto.se>
1204 * java/nio/ByteBuffer.java (hashCode): Implemented.
1205 * java/nio/CharBuffer.java: Likewise.
1206 * java/nio/DoubleBuffer.java: Likewise.
1207 * java/nio/FloatBuffer.java: Likewise.
1208 * java/nio/LongBuffer.java: Likewise.
1209 * java/nio/IntBuffer.java: Likewise.
1210 * java/nio/ShortBuffer.java: Likewise.
1212 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1214 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1216 2004-09-21 Michael Koch <konqueror@gmx.de>
1218 * javax/net/ssl/SSLServerSocket.java:
1219 Removed comment about "Do not edit this file, it's generated.".
1221 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1223 Import the big Crypto/Jessie/Security merge from Classpath.
1225 * Makefile.am: Add imported files.
1226 * Makefile.in: Regenerate.
1228 2004-08-14 Casey Marshall <csm@gnu.org>
1230 The Big Crypto Merge of 2004.
1232 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1235 Files imported from GNU Crypto.
1236 * javax/crypto/BadPaddingException.java
1237 * javax/crypto/Cipher.java
1238 * javax/crypto/CipherInputStream.java
1239 * javax/crypto/CipherOutputStream.java
1240 * javax/crypto/CipherSpi.java
1241 * javax/crypto/EncryptedPrivateKeyInfo.java
1242 * javax/crypto/ExemptionMechanism.java
1243 * javax/crypto/ExemptionMechanismException.java
1244 * javax/crypto/ExemptionMechanismSpi.java
1245 * javax/crypto/IllegalBlockSizeException.java
1246 * javax/crypto/KeyAgreement.java
1247 * javax/crypto/KeyAgreementSpi.java
1248 * javax/crypto/KeyGenerator.java
1249 * javax/crypto/KeyGeneratorSpi.java
1250 * javax/crypto/Mac.java
1251 * javax/crypto/MacSpi.java
1252 * javax/crypto/Makefile.am
1253 * javax/crypto/NoSuchPaddingException.java
1254 * javax/crypto/NullCipher.java
1255 * javax/crypto/NullCipherImpl.java
1256 * javax/crypto/SealedObject.java
1257 * javax/crypto/SecretKey.java
1258 * javax/crypto/SecretKeyFactory.java
1259 * javax/crypto/SecretKeyFactorySpi.java
1260 * javax/crypto/ShortBufferException.java
1261 * javax/crypto/interfaces/DHKey.java
1262 * javax/crypto/interfaces/DHPrivateKey.java
1263 * javax/crypto/interfaces/DHPublicKey.java
1264 * javax/crypto/interfaces/PBEKey.java
1265 * javax/crypto/spec/DESKeySpec.java
1266 * javax/crypto/spec/DESedeKeySpec.java
1267 * javax/crypto/spec/DHGenParameterSpec.java
1268 * javax/crypto/spec/DHParameterSpec.java
1269 * javax/crypto/spec/DHPrivateKeySpec.java
1270 * javax/crypto/spec/DHPublicKeySpec.java
1271 * javax/crypto/spec/IvParameterSpec.java
1272 * javax/crypto/spec/PBEKeySpec.java
1273 * javax/crypto/spec/PBEParameterSpec.java
1274 * javax/crypto/spec/RC2ParameterSpec.java
1275 * javax/crypto/spec/RC5ParameterSpec.java
1276 * javax/crypto/spec/SecretKeySpec.java
1277 * javax/security/auth/AuthPermission.java
1278 * javax/security/auth/DestroyFailedException.java
1279 * javax/security/auth/Destroyable.java
1280 * javax/security/auth/Policy.java
1281 * javax/security/auth/PrivateCredentialPermission.java
1282 * javax/security/auth/RefreshFailedException.java
1283 * javax/security/auth/Refreshable.java
1284 * javax/security/auth/Subject.java
1285 * javax/security/auth/SubjectDomainCombiner.java
1286 * javax/security/auth/callback/Callback.java
1287 * javax/security/auth/callback/CallbackHandler.java
1288 * javax/security/auth/callback/ChoiceCallback.java
1289 * javax/security/auth/callback/ConfirmationCallback.java
1290 * javax/security/auth/callback/LanguageCallback.java
1291 * javax/security/auth/callback/NameCallback.java
1292 * javax/security/auth/callback/PasswordCallback.java
1293 * javax/security/auth/callback/TextInputCallback.java
1294 * javax/security/auth/callback/TextOutputCallback.java
1295 * javax/security/auth/callback/UnsupportedCallbackException.java
1296 * javax/security/auth/login/AccountExpiredException.java
1297 * javax/security/auth/login/AppConfigurationEntry.java
1298 * javax/security/auth/login/Configuration.java
1299 * javax/security/auth/login/CredentialExpiredException.java
1300 * javax/security/auth/login/FailedLoginException.java
1301 * javax/security/auth/login/LoginContext.java
1302 * javax/security/auth/login/LoginException.java
1303 * javax/security/auth/login/NullConfiguration.java
1304 * javax/security/auth/x500/X500PrivateCredential.java
1305 * javax/security/sasl/AuthenticationException.java
1306 * javax/security/sasl/AuthorizeCallback.java
1307 * javax/security/sasl/RealmCallback.java
1308 * javax/security/sasl/RealmChoiceCallback.java
1309 * javax/security/sasl/Sasl.java
1310 * javax/security/sasl/SaslClient.java
1311 * javax/security/sasl/SaslClientFactory.java
1312 * javax/security/sasl/SaslException.java
1313 * javax/security/sasl/SaslServer.java
1314 * javax/security/sasl/SaslServerFactory.java
1315 * org/ietf/jgss/ChannelBinding.java
1316 * org/ietf/jgss/GSSContext.java
1317 * org/ietf/jgss/GSSCredential.java
1318 * org/ietf/jgss/GSSException.java
1319 * org/ietf/jgss/GSSManager.java
1320 * org/ietf/jgss/GSSName.java
1321 * org/ietf/jgss/MessageProp.java
1322 * org/ietf/jgss/Oid.java
1323 * org/ietf/jgss/MessagesBundle.properties
1325 Files imported from Jessie <http://www.nongnu.org/jessie/>
1326 * javax/net/ServerSocketFactory.java
1327 * javax/net/SocketFactory.java
1328 * javax/net/VanillaServerSocketFactory.java
1329 * javax/net/VanillaSocketFactory.java
1330 * javax/net/ssl/HandshakeCompletedEvent.java
1331 * javax/net/ssl/HandshakeCompletedListener.java
1332 * javax/net/ssl/HostnameVerifier.java
1333 * javax/net/ssl/HttpsURLConnection.java
1334 * javax/net/ssl/KeyManager.java
1335 * javax/net/ssl/KeyManagerFactory.java
1336 * javax/net/ssl/KeyManagerFactorySpi.java
1337 * javax/net/ssl/ManagerFactoryParameters.java
1338 * javax/net/ssl/SSLContext.java
1339 * javax/net/ssl/SSLContextSpi.java
1340 * javax/net/ssl/SSLException.java
1341 * javax/net/ssl/SSLHandshakeException.java
1342 * javax/net/ssl/SSLKeyException.java
1343 * javax/net/ssl/SSLPeerUnverifiedException.java
1344 * javax/net/ssl/SSLPermission.java
1345 * javax/net/ssl/SSLProtocolException.java
1346 * javax/net/ssl/SSLServerSocket.java
1347 * javax/net/ssl/SSLServerSocketFactory.java
1348 * javax/net/ssl/SSLSession.java
1349 * javax/net/ssl/SSLSessionBindingEvent.java
1350 * javax/net/ssl/SSLSessionBindingListener.java
1351 * javax/net/ssl/SSLSessionContext.java
1352 * javax/net/ssl/SSLSocket.java
1353 * javax/net/ssl/SSLSocketFactory.java
1354 * javax/net/ssl/TrivialHostnameVerifier.java
1355 * javax/net/ssl/TrustManager.java
1356 * javax/net/ssl/TrustManagerFactory.java
1357 * javax/net/ssl/TrustManagerFactorySpi.java
1358 * javax/net/ssl/X509KeyManager.java
1359 * javax/net/ssl/X509TrustManager.java
1360 * javax/security/cert/Certificate.java
1361 * javax/security/cert/CertificateEncodingException.java
1362 * javax/security/cert/CertificateException.java
1363 * javax/security/cert/CertificateExpiredException.java
1364 * javax/security/cert/CertificateNotYetValidException.java
1365 * javax/security/cert/CertificateParsingException.java
1366 * javax/security/cert/X509CertBridge.java
1367 * javax/security/cert/X509Certificate.java
1369 2004-08-20 Casey Marshall <csm@gnu.org>
1371 * java/security/cert/X509CRLSelector.java: New file.
1372 * java/security/cert/X509CertSelector.java: New file.
1374 2004-09-15 Michael Koch <konqueror@gmx.de>
1376 * gnu/java/net/protocol/file/Handler.java
1377 (openConnection): Don't throw exception if host part for file: URI is
1378 present. setURL() keeps file: protocol if ftp: protocol is not
1381 2004-09-14 Richard Henderson <rth@redhat.com>
1383 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1384 value of sigsuspend.
1386 2004-09-12 Tom Tromey <tromey@redhat.com>
1388 * javax/naming/CompoundName.java (CompoundName): Don't check for
1389 separator in "flat" case.
1391 2004-09-12 Michael Koch <konqueror@gmx.de>
1393 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1394 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1395 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1398 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1401 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1402 handle in newly-allocated _Jv_Thread_t.
1403 (_Jv_ThreadDestroyData): Close thread handle.
1404 (_Jv_ThreadStart): Remove obsolete comment.
1405 Store handle of newly-created thread in _Jv_Thread_t.
1406 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1407 before including <windows.h>
1408 #define _Jv_HaveCondDestroy
1410 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1412 * java/lang/natThread.cc (finalize_native): Destroy
1413 join conditional variable and mutex if these destroy
1414 operations are supported.
1416 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1418 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1419 (DEFAULT_PERMISSION): New constant.
1420 (Connection): Create a FilePermission with permission to read file.
1422 2004-09-10 Michael Koch <konqueror@gmx.de>
1424 * gnu/java/net/protocol/file/Connection.java
1425 (getLastModified): Moved around.
1426 (getPermission): Return stored permission.
1428 2004-09-10 Michael Koch <konqueror@gmx.de>
1430 * Makefile.in: Regenerate.
1432 2004-09-10 Michael Koch <konqueror@gmx.de>
1434 * Makefile.am: Reverted accidently commited stuff.
1435 * configure: Regenerated.
1437 2004-09-10 Michael Koch <konqueror@gmx.de>
1439 * gnu/java/net/protocol/file/Connection.java
1440 (lineSeparator): Made non-final.
1442 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1443 instead of StringBufferInputStream.
1445 2004-09-10 Michael Koch <konqueror@gmx.de>
1447 * gnu/java/net/protocol/file/Connection.java
1448 (connect): Handle file is a directory case.
1450 2004-09-10 Michael Koch <konqueror@gmx.de>
1453 (xlib_includes): Removed.
1454 (AM_CPPFLAGS): Renamed from INCLUDES.
1455 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1456 * Makefile.in: Regenerate.
1458 2004-09-09 Michael Koch <konqueror@gmx.de>
1460 * java/security/ProtectionDomain.java,
1461 * java/util/PropertyPermissionCollection.java:
1462 Fixed javadocs all over.
1464 2004-09-09 Sven de Marothy <sven@physto.se>
1466 Patch from David Gilbert <david.gilbert@object-refinery.com>
1467 * java/lang/Comparable.java: Fixed documentation errors.
1468 * java/util/Arrays.java: Likewise.
1470 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1472 * java/net/Inet4Address.java
1473 (Inet4Address): Added comment to serialization UID.
1474 * java/text/Format.java
1475 (Format): Added comment to serialization UID.
1477 2004-09-09 Michael Koch <konqueror@gmx.de>
1479 * java/lang/System.java
1480 (err): Fixed javadoci to point to setErr() and not setOut().
1482 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1484 (normalizePath): Added special case for windows systems.
1486 2004-09-09 Michael Koch <konqueror@gmx.de>
1489 (dupSeparator): Made private.
1490 (File(URI)): New constructor.
1491 (getParentFile): Fixed javadoc.
1492 (createTempFile): Reformated.
1493 (setReadOnly): Added comment.
1494 (deleteOnExit): Merged javadoc with classpath version.
1496 2004-09-09 Michael Koch <konqueror@gmx.de>
1498 * Makefile.am: Don't try to include deps.mk.
1499 * Makefile.in: Regenerated.
1501 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1503 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1505 * configure: Rebuilt.
1507 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1509 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1510 Changed pfn from static local to local.
1512 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1513 H.J. Lu <hongjiu.lu@intel.com>
1516 * Makefile.am (GCJCOMPILE): Remove definition.
1517 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1518 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1519 * Makefile.in: Rebuilt.
1521 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1523 * configure.ac (enable-gc-debug): Update help for new syntax.
1524 * configure: Regenerate.
1526 2004-09-03 David Daney <ddaney@avtrex.com>
1528 * include/mips-signal.h: Update copyright.
1530 2004-09-03 David Daney <ddaney@avtrex.com>
1532 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1533 * include/mips-signal.h: Added HANDLE_FPE support.
1535 2004-08-31 Michael Koch <konqueror@gmx.de>
1537 * javax/swing/plaf/basic/BasicTextAreaUI.java
1538 (create): New method.
1539 * javax/swing/text/DefaultHighlighter.java
1540 (DefaultHighlightPainter.debugRect): Removed.
1541 * javax/swing/text/StyleContext.java
1542 (DEFAULT_STYLE): New field.
1544 2004-08-31 Michael Koch <konqueror@gmx.de>
1546 * javax/swing/plaf/basic/BasicLookAndFeel.java
1547 (initComponentDefaults): Add keybindings for selection.backward and
1548 selection-forward for text components.
1549 * javax/swing/plaf/basic/BasicTextUI.java
1550 (paintSafely): Paint highlight only when something is actually
1552 * javax/swing/text/DefaultCaret.java
1553 (handleHighlight): New method.
1554 (setSelectionVisible): Don't do anything when nothing changes.
1556 (moveDot): Reimplemented. Handle highlight.
1557 (setDot): Set mark too. Handle highlight.
1558 (getSelectionPainter): New method.
1559 * javax/swing/text/DefaultEditorKit.java
1560 (defaultActions): Added new actions for text selection.
1561 * javax/swing/text/DefaultHighlighter.java
1562 (DefaultHighlightPainter): New inner class.
1563 (DefaultPainter): New field.
1564 (paint): Implemented.
1565 * javax/swing/text/PlainView.java
1566 (paint): Don't draw background here again.
1567 * javax/swing/text/Utilities.java
1568 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1569 (drawTabbedText): Likewise.
1571 2004-08-31 Graydon Hoare <graydon@redhat.com>
1573 * javax/swing/JComponent.java
1574 (resetKeyboardActions): Add null checks.
1576 2004-08-31 Graydon Hoare <graydon@redhat.com>
1578 * javax/swing/DefaultButtonModel.java:
1579 Skip group notification when no group is set.
1581 2004-08-31 Graydon Hoare <graydon@redhat.com>
1583 * javax/swing/JColorChooser.java:
1584 Make a couple inner classes static, for jikes.
1586 2004-08-31 Michael Koch <konqueror@gmx.de>
1588 * javax/swing/plaf/basic/BasicTextUI.java
1589 (RottView.modelToView): New method.
1590 (UpdateHandler): Renamed from EventHandler.
1591 (updateHandler): Renamed from eventHandler.
1592 (modelToView): Implemented.
1593 * javax/swing/text/AbstractDocument.java
1594 (BranchElement.getElement): Return null for non-existing indeces.
1595 (BranchElement.getElementIndex): Return 0 in some corner cases.
1596 * javax/swing/text/FieldView.java
1597 (modelToView): New method.
1598 * javax/swing/text/PlainView.java
1599 (modelToView): Made public.
1601 2004-08-31 Kim Ho <kho@redhat.com>
1603 * Makefile.am: New files.
1604 * Makefile.in: Regenerate.
1605 * gcj/Makefile.in: Regenerate.
1606 * include/Makefile.in: Regenerate.
1607 * java/awt/Color.java: Fix documentation.
1608 (RGBtoHSB): Use floats for conversions.
1609 * javax/swing/ButtonGroup.java: Run Jalopy.
1610 (setSelected): Reimplement.
1611 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1612 (changeState): Let ButtonGroup know that the button
1614 * javax/swing/JColorChooser.java: Implement.
1615 * javax/swing/JLabel.java: Run Jalopy.
1616 * javax/swing/JSpinner.java: Run Jalopy.
1617 (setValue): New method.
1618 * javax/swing/JTabbedPane.java: Run Jalopy.
1619 (removeTabAt): Call correct remove method.
1620 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1621 (getPreviousValue): Compare minimum value.
1622 * javax/swing/Timer.java: Run Jalopy.
1623 (run): Comment out println.
1624 * javax/swing/ToolTipManager.java:
1625 (mouseMoved): Get new tooltip text for location.
1626 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1628 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1630 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1632 (setSelectedColor): Fire ChangeEvent.
1633 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1634 New file. Implement.
1635 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1637 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1639 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1641 * javax/swing/plaf/basic/BasicArrowButton.java:
1642 (getArrow): Fix size of upward pointing button.
1643 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1645 * javax/swing/plaf/basic/BasicSliderUI.java:
1646 (getWidthOfWidestLabel): Use preferred dimensions.
1647 (getHeightOfTallestLabel): Ditto.
1648 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1650 (mousePressed): Disable changes to spinner if it is not enabled.
1651 * testsuite/Makefile.in: Regenerate.
1654 2004-08-31 Michael Koch <konqueror@gmx.de>
1656 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1657 javax/swing/plaf/basic/BasicTableUI.java:
1658 Added copyright notice.
1660 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1662 * Makefile.am: Added new files.
1663 * Makefile.in: Regenerate.
1664 * javax/swing/ComboBoxEditor.java: Added javadocs.
1665 * javax/swing/ComboBoxModel.java: Likewise.
1666 * javax/swing/DefaultComboBoxModel.java: Implemented.
1667 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1668 and ran through jalopy to fix formatting style.
1669 (getListCellRendererComponent): Use appropriate border
1670 if renderer has focus and use noFocusBorder when it doesn't.
1671 * javax/swing/JComboBox.java: Implemented.
1672 * javax/swing/JList.java:
1673 (locationToIndex): New Method. Implemented.
1674 (indexToLocation): New Method.
1675 * javax/swing/JPopupMenu.java:
1676 (visible): New field.
1677 (isVisible): Changed to use new field above.
1678 (setVisible): Likewise.
1679 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1680 * javax/swing/plaf/basic/BasicArrowButton.java:
1681 (shadow): Changed default color to Color.gray.
1682 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1683 UI delegate for JComboBox.
1684 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1685 Popup menu containing list of JComboBox's items.
1686 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1687 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1688 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1689 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1690 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1691 (popupMenuWillBecomeVisible): Set selected path to the first
1692 element only if it is of type MenuElement. Also fix formatting
1694 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1697 2004-08-31 Michael Koch <konqueror@gmx.de>
1699 * javax/swing/text/AbstractDocument.java
1700 (createBranchElement): Use new constructor of BranchElement.
1701 (createLeafElement): Renamed arguments.
1702 (getRootElements): Implemented.
1703 (BranchElement.start): Removed.
1704 (BranchElement.end): Likewise.
1705 (BranchElement.BranchElement): Fixed arguments.
1706 (BranchElement.getEndOffset): Reimplemented.
1707 (BranchElement.getStartOffset): Likewis.
1708 * javax/swing/text/DefaultCaret.java
1709 (paint): Draw simple vertical line as caret instead of a rectangle.
1710 * javax/swing/text/JTextComponent.java
1711 (setText): Use doc directly.
1712 * javax/swing/text/PlainView.java
1713 (nextTabStop): Implemented.
1714 * javax/swing/text/Utilities.java
1715 (drawTabbedText): nextTabStop() returns an absolute x position.
1716 (getTabbedTextWidth): Likewise.
1718 2004-08-31 Graydon Hoare <graydon@redhat.com>
1720 * java/awt/Component.java
1721 (isFocusTraversable): Predicate on isLightweight()
1722 (setFocusable): Set isFocusTraversableOverridden.
1723 (requestFocus): Predicate peer dispatch on !isLightweight()
1724 (requestFocusInWindow): Likewise.
1725 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1726 * java/awt/Container.java
1727 (dispatchEventImpl): Predicate on event mask.
1728 (LightweightDispatcher): Remove focus machinery.
1729 * java/awt/DefaultFocusTraversalPolicy.java
1730 (accept): Expand predicate to include isFocusable().
1731 * java/awt/DefaultKeyboardFocusManager.java:
1732 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1733 * java/awt/KeyboardFocusManager.java
1734 (redispatchEvent): Synchronize on event to prevent feedback.
1735 * javax/swing/AbstractButton.java
1736 (ButtonFocusListener): Remove class.
1737 (init): Set focusPainted, focusable.
1738 * javax/swing/ActionMap.java (get): Check parent for null.
1739 * javax/swing/InputMap.java (get): Likewise.
1740 * javax/swing/JComponent.java
1741 (inputMap_whenFocused): New InputMap.
1742 (inputMap_whenAncestorOfFocused): Likewise.
1743 (inputMap_whenInFocusedWindow): Likewise.
1744 (getActionForKeyStroke): Rewrite.
1745 (getConditionForKeystroke): Likewise.
1746 (ActionListenerProxy): New private class.
1747 (setInputMap): Implement.
1748 (getInputMap): Likewise.
1749 (setActionMap): Likewise.
1750 (getActionMap): Likewise.
1751 (processComponentKeyEvent): New empty method.
1752 (processKeyEvent): Implement.
1753 (processKeyBinding): Likewise.
1754 (resetKeyboardActions): Rewrite.
1755 * javax/swing/KeyStroke.java: Rewrite.
1756 * javax/swing/SwingUtilities.java
1757 (notifyAction): Implement.
1758 (replaceUIActionMap): Likewise.
1759 (replaceUIInputMap): Likewise.
1760 * javax/swing/plaf/basic/BasicButtonListener.java
1761 (focusGained): Implement.
1762 (focusLost): Repaint if focusPainted().
1763 (installKeyboardActions): Install pressed / released actions.
1764 (uninstallKeyboardActions): Implement.
1765 * javax/swing/plaf/basic/BasicButtonUI.java
1766 (focusColor): New field.
1767 (installDefaults): Load focus color, install input map.
1768 (installKeyboardActions): Implement.
1769 (uninstallKeyboardActions): Likewise.
1770 (paintFocus): Rewrite.
1771 * javax/swing/plaf/basic/BasicLookAndFeel.java
1772 (Button.focus): New default, midPurple.
1773 * javax/swing/plaf/basic/BasicTextUI.java
1775 (installUI): Get doc from kit, load defaults.
1776 (getKeymapName): Implement.
1777 (createKeymap): Likewise.
1778 (installKeyboardActions): Likewise.
1779 (getInputMap): Likewise.
1780 (getActionMap): Likewise.
1781 (createActionMap): Likewise.
1782 * javax/swing/text/AbstractDocument.java
1783 (getStartPosition): Implement.
1784 (getEndPosition): Likewise.
1785 * javax/swing/text/DefaultEditorKit.java
1786 (CopyAction): New class.
1787 (CutAction): Likewise.
1788 (DefaultKeyTypedAction): Likewise.
1789 (InsertBreakAction): Likewise.
1790 (InsertContentAction): Likewise.
1791 (InsertTabAction): Likewise.
1792 (PasteAction): Likewise.
1793 (defaultActions): New static table.
1794 (createCaret): Implement.
1795 (getActions): Likewise.
1796 * javax/swing/text/JTextComponent.java
1797 (KeymapWrapper): New private class.
1798 (KeymapActionMap): Likewise.
1799 (DefaultKeymap): New class.
1800 (keymaps): New static table.
1801 (keymap): New field.
1802 (getKeymap): Implement.
1803 (removeKeymap): Likewise.
1804 (addKeymap): Likewise.
1805 (setKeymap): Likewise.
1806 (loadKeymap): Likewise.
1807 (getActions): Likewise.
1808 (margin): New field.
1809 (JTextComponent): Build and install default keymap.
1810 * javax/swing/text/TextAction.java
1811 (textAction): Call super properly.
1812 (getTextComponent): Implement.
1813 * javax/swing/text/Utilities.java
1814 (drawTabbedText): Adjust position by ascent.
1816 2004-08-31 David Jee <djee@redhat.com>
1820 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1821 (setEnabled): Make it a native method.
1822 * java/awt/DefaultKeyboardFocusManager.java
1823 (postProcessKeyEvent): Only post event if the menu item
1825 * java/awt/MenuItem.java:
1826 Private field 'enabled' should be true by default.
1827 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1828 (setEnabled): New function.
1830 2004-08-31 David Jee <djee@redhat.com>
1834 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1835 (nativeSetHelpMenu): New native method declaration.
1836 (addHelpMenu): Call nativeSetHelpMenu().
1838 * java/awt/MenuBar.java
1839 (setHelpMenu): Call addNotify() on the new help menu.
1840 (add): Call addNotify() on the new menu.
1841 (addNotify): Set the help menu if one exists.
1842 * java/awt/peer/MenuBarPeer.java
1844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1845 (nativeSetHelpMenu): New method.
1847 2004-08-31 Graydon Hoare <graydon@redhat.com>
1849 * Makefile.am: Add new files.
1850 * Makefile.in: Regenerate.
1851 * javax/swing/Box.java: Fix setting of layout in ctor.
1852 * javax/swing/JScrollPane.java: Scroll headers as well.
1853 * javax/swing/JTable.java: Reimplement.
1854 * javax/swing/JViewPort.java: Only add non-null children.
1855 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1856 * javax/swing/Timer.java: Fix stopping null waker.
1857 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1858 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1859 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1860 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1861 * javax/swing/table/DefaultTableModel.java: Clean up.
1862 * javax/swing/table/JTableHeader.java: Implement.
1864 2004-08-31 Mark Wielaard <mark@klomp.org>
1866 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1869 2004-08-31 Mark Wielaard <mark@klomp.org>
1871 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1872 Declare variables at top of functions/block.
1873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1875 2004-08-31 Mark Wielaard <mark@klomp.org>
1877 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1880 2004-08-31 Michael Koch <konqueror@gmx.de>
1882 * javax/swing/text/PlainView.java
1883 (selectedColor): New field.
1884 (unselectedColor): Likewise.
1886 (updateMetrics): New method.
1887 (lineToRect): Likewise.
1888 (modelToView): Likewise.
1889 (drawSelectedText): Use color from JTextComponent ad draw with
1891 (drawUnselectedText): Likewise.
1892 (paint): Initialize helper fields.
1893 * javax/swing/text/View.java
1894 (getChildAllocation): New method.
1895 (getViewIndex): Likewise.
1896 (getToolTipText): Likewise.
1898 2004-08-31 Michael Koch <konqueror@gmx.de>
1900 * javax/swing/text/Utilities.java
1901 (drawTabbedText): Reimplemented.
1902 (getTabbedTextWidth): Likewise.
1904 2004-08-31 Michael Koch <konqueror@gmx.de>
1906 * javax/swing/plaf/basic/BasicTextUI.java
1907 (installDefaults): Install caret and highlighter.
1908 (modelToView): Use Bias.Forward when calling sibling.
1909 * javax/swing/text/AbstractDocument.java
1910 (ElementEdit): Implements DocumentEvent.ElementChange.
1911 (ElementEdit.ElementEdit): New method.
1912 (ElementEdit.getChildrenAdded): Likewise.
1913 (ElementEdit.getChildrenRemoved): Likewise.
1914 (ElementEdit.getElement): Likewise.
1915 (ElementEdit.getIndex): Likewise.
1916 * javax/swing/text/DefaultCaret.java
1918 (textComponent): Renamed from parent, made private.
1919 (selectionVisible): Renamed from vis_sel, made private.
1920 (blinkRate): Renamed from blink, made private.
1921 (magicCaretPosition): Renamed from magic, made private.
1922 (visible): Renamed from vis, made private.
1923 (dot): Made private.
1925 (deinstall): Remove as MouseMotionListener.
1926 (install): Initialize textComponent first. Add as MouseMotionListener.
1927 (paint): Reimplemented.
1928 * javax/swing/text/JTextComponent.java
1929 (setCaret): Deinstall old caret, install new one and fire property
1930 change after setting property.
1931 (setHighlighter): Deinstall old highlighter, install new one and fire
1932 property change after setting property.
1933 (setCaretColor): Fire property change after setting property.
1934 (setDisabledTextColor): Likewise.
1935 (setSelectedTextColor): Likewise.
1936 (setSelectionColor): Likewise.
1937 (modelToView): New method.
1939 2004-08-31 Michael Koch <konqueror@gmx.de>
1941 * javax/swing/text/AbstractDocument.java
1942 (getText): Simplified.
1943 * javax/swing/text/Segment.java
1944 (current): New field.
1945 (current): Reimplemented.
1947 (getIndex): Likewise.
1950 (previous): Likewise.
1951 (setIndex): Likewise.
1953 2004-08-31 Michael Koch <konqueror@gmx.de>
1955 * javax/swing/plaf/basic/BasicButtonUI.java
1956 (defaultTextIconGap): Made protected.
1957 (defaultTextShiftOffset): Likewise.
1958 (textShiftOffset): New field.
1959 (clearTextShiftOffset): New method.
1960 (getTextShiftOffset): Likewise.
1961 (setTextShiftOffset): Likewise.
1963 2004-08-31 Michael Koch <konqueror@gmx.de>
1965 * javax/swing/plaf/basic/BasicTextUI.java
1966 (installUI): Add eventHandler as property listener.
1967 (uninstallUI): remove eventHandler as propert listener.
1968 (installDefaults): Added comment.
1969 (installListeners): Likewise.
1970 (installKeyboardActions): Likewise.
1971 (uninstallDefaults): Likewise.
1972 (uninstallListeners): Likewise.
1973 (uninstallKeyboardActions): Likewise.
1975 2004-08-31 Michael Koch <konqueror@gmx.de>
1977 * javax/swing/text/AbstractDocument.java:
1978 Fixed some typos in comments.
1979 (insertString): Reimplemented.
1981 (replace): New method.
1982 (children): Dont use fully qualified class name.
1983 (DefaultDocumentEvent.offset): Renamed from off.
1984 (DefaultDocumentEvent.length): Renamed from len.
1985 (DefaultDocumentEvent.type): New field.
1986 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1987 (DefaultDocumentEvent.getType): Implemented.
1989 2004-08-31 Michael Koch <konqueror@gmx.de>
1991 * javax/swing/plaf/basic/BasicTextUI.java
1992 (RootView.textComponent): Removed.
1993 (RootView.RootView): Don't initialize textComponent.
1994 (RootView.getViewFactory): New method.
1995 (EventHandler): New inner class.
1996 (rootView): Initialize at instance creation.
1997 (eventHandler): New field.
1998 (installUI): Don't create view hierarchy directly,
1999 call modelChanged() instead.
2000 (modelChanged): New method.
2001 * javax/swing/text/JTextComponent.java
2002 (setDocument): Fire property change event.
2004 2004-08-31 Michael Koch <konqueror@gmx.de>
2006 * javax/swing/plaf/basic/BasicTextUI.java
2007 (RootView.paint): Removed debug output.
2008 (paintSafely): Draw highlighter before text.
2009 (paintBackground): Use background color of text component.
2010 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2013 2004-08-31 Michael Koch <konqueror@gmx.de>
2015 * javax/swing/plaf/basic/BasicToolBarUI.java
2016 (BasicToolBarUI): Fixed arguments for constructor.
2017 (createUI): Fixed creation of object.
2019 2004-08-31 Michael Koch <konqueror@gmx.de>
2021 * javax/swing/DefaultListSelectionModel.java
2022 (fireValueChanged): Renamed from fireSelectionValueChanged,
2025 2004-08-31 Michael Koch <konqueror@gmx.de>
2027 * javax/swing/text/TabSet.java
2028 (TabSet): Implements java.io.Serializable.
2029 * javax/swing/text/TabStop.java
2030 (TabStop): Implements java.io.Serializable.
2031 (TabStop): Made public.
2033 2004-08-31 Michael Koch <konqueror@gmx.de>
2035 * javax/swing/JComponent.java
2036 (setUI): Fire PropertyChange.
2037 * javax/swing/JLabel.java
2038 (text): Renamed from labelText.
2039 (horizontalAlignment): New default vlaue.
2040 (icon): Renamed from activeIcon.
2041 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2042 (displayedMnemonicIndex): Renamed from underlineChar.
2043 (setDisplayedMnemonic): Reimplemented.
2044 * javax/swing/JRadioButton.java
2045 (JRadioButton): New constructors.
2046 * javax/swing/JTextField.java
2047 (JTextField): Throw exception if colums < 0, initialitialz
2048 this.columns directly and initialize document with text conditionally.
2050 2004-08-31 Michael Koch <konqueror@gmx.de>
2052 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2053 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2054 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2055 * javax/swing/text/FieldView.java
2056 (paint): Just call super method for now.
2057 * Makefile.am: Added new files.
2058 * Makefile.in: Regenerated.
2060 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2062 * javax/swing/AbstractSpinnerModel.java,
2063 javax/swing/JSpinner.java,
2064 javax/swing/SpinnerNumberModel.java,
2065 javax/swing/plaf/basic/BasicSpinnerUI.java:
2067 * javax/swing/plaf/basic/BasicLookAndFeel.java
2068 (initClassDefaults): Added defaults for BasicSpinnerUI.
2070 2004-08-31 Michael Koch <konqueror@gmx.de>
2072 * Makefile.am: Added new files.
2073 * Makefile.in: Regenerated.
2075 2004-08-31 Michael Koch <konqueror@gmx.de>
2077 * javax/swing/TransferHandler.java,
2078 javax/swing/plaf/basic/ComboPopup.java: New files
2079 * Makefile.am: Added javax/swing/TransferHandler.java and
2080 javax/swing/plaf/basic/ComboPopup.java
2081 * Makefile.in: Regenerated.
2083 2004-08-31 Roman Kennke <roman@ontographics.com>
2085 * javax/swing/text/Utilities.java: New file.
2087 2004-08-31 Michael Koch <konqueror@gmx.de>
2089 * Makefile.am: Added javax/swing/text/Utilities.java.
2090 * Makefile.in: Regenerated.
2092 2004-08-31 Graydon Hoare <graydon@redhat.com>
2094 * javax/swing/text/SimpleAttributeSet.java: New file.
2095 * javax/swing/text/StyleConstants.java: New file.
2096 * javax/swing/text/StyleContext.java: New file.
2097 * javax/swing/text/TabSet.java: New file.
2098 * javax/swing/text/TabStop.java: New file.
2099 * javax/swing/text/AbstactDocument.java:
2100 (AbstractElement): Implement attribute support.
2101 * javax/swing/text/AttributeSet.java
2102 (NameAttribute): New static field.
2103 (ResolveAttribute): New static field.
2104 * Makefile.am: Update for new files.
2105 * Makefile.in: Regenerate.
2107 2004-08-31 Craig Black <craig.black@aonix.com>
2109 * gnu/java/awt/peer/gtk/GdkGraphics.java
2110 (drawImage): Add support for scaling pixmaps.
2111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2112 (copyAndScalePixmap): New native method.
2114 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2117 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2118 type-punning compiler warnings using unions.
2119 (throw): Replace bzero with memset.
2121 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2122 Thomas Fitzsimmons <fitzsim@redhat.com>
2124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2125 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2126 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2128 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2130 2004-08-31 Mark Wielaard <mark@klomp.org>
2132 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2133 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2134 and stdlib.h, not gtkpeer.h.
2135 (*vm): New static variable.
2136 (areaPreparedID): Make static.
2137 (areaUpdatedID): Likewise.
2138 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2139 (area_prepared): Likewise.
2140 (area_updated): Likewise.
2142 (initStaticState): Initialize *vm javaVM.
2143 (pumpBytes): Use given env, not global gdk_env.
2145 2004-08-31 Mark Wielaard <mark@klomp.org>
2147 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2150 2004-08-31 Sven de Marothy <sven@physto.se>
2152 * java/awt/geom/CubicCurve2D.java: Reindent.
2153 (contains): Implemented.
2154 (intersects): Implemented.
2155 * java/awt/geom/QuadCurve2D.java: Likewise.
2156 * java/awt/geom/GeneralPath.java: Reindent and document.
2157 Fully (re)implemented using separate xpoints and ypoints
2159 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2161 2004-08-31 Michael Koch <konqueror@gmx.de>
2163 * javax/swing/JMenuItem.java
2164 (getMenuDragMouseListeners): New method.
2165 (getMenuKeyListeners): Likewise.
2167 2004-08-31 Michael Koch <konqueror@gmx.de>
2169 * javax/swing/AbstractButton.java
2170 (model): Made protected.
2171 (actionListener): Likewise.
2172 (changeListener): Likewise.
2173 (itemListener): Likewise.
2174 (multiClickThreshhold): New field.
2175 (getActionListeners): New method.
2176 (getChangeListeners): Likewise.
2177 (getItemListeners): Likewise.
2178 (fireItemStateChanged): Simplified implementation.
2179 (fireActionPerformed): Likewise.
2180 (fireStateChanged): Likewise.
2181 (getMultiClickThreshhold): New method.
2182 (setMultiClickThreshhold): Likewise.
2184 2004-08-31 Tom Tromey <tromey@redhat.com>
2186 * java/awt/image/Kernel.java (clone): Use super.clone().
2188 2004-08-31 David Jee <djee@redhat.com>
2191 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2192 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2193 (nativeSetIconImageFromData): New native method declaration.
2194 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2195 * gnu/java/awt/peer/gtk/GtkImage.java
2196 (getPixelCache): New method.
2197 (getColorModel): New method.
2198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2199 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2200 (free_pixbuf_data): New helper function.
2201 (nativeSetIconImageFromData): New function.
2203 2004-08-31 Graydon Hoare <graydon@redhat.com>
2206 * javax/swing/JLayeredPane.java
2207 (setLayer): Permit changing layer after addition.
2208 (setPosition): Permit over-length positions.
2209 (layerToRange): Compare intValue()s.
2210 * javax/swing/Box.java (createHorizontalBox): Implement.
2211 (createRigidArea): Likewise.
2212 (createVerticalBox): Likewise.
2214 2004-08-31 Kim Ho <kho@redhat.com>
2216 * java/awt/Component.java:
2217 (processMouseEvent): Consume event after
2218 listeners process it.
2219 (processMouseMotionEvent): ditto.
2220 (processMouseWheelEvent): ditto.
2221 * java/awt/Container.java:
2222 (acquireComponentForMouseEvent):
2223 Do not dispatch to events that have been
2224 removed from the Container.
2225 (handleEvent): Consume the MouseEvents.
2226 * javax/swing/RepaintManager.java:
2227 (paintDirtyRegions): Do not add to list of
2228 damaged areas if the component has no root.
2230 2004-08-31 Michael Koch <konqueror@gmx.de>
2232 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2234 2004-08-31 Mark Wielaard <mark@klomp.org>
2236 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2237 null when a MissingResourceException is thrown. Should never happen.
2239 2004-08-31 Mark Wielaard <mark@klomp.org>
2241 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2242 when argument is null.
2244 2004-08-31 Mark Wielaard <mark@klomp.org>
2246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2247 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2248 Define hid at start of function.
2249 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2252 2004-08-31 Mark Wielaard <mark@klomp.org>
2254 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2255 * javax/swing/JButton.java: Reindent.
2256 * javax/swing/JCheckBox.java: Reindent.
2258 2004-08-31 Mark Wielaard <mark@klomp.org>
2260 * Makefile.am (gtk_c_source_files): Added
2261 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2262 (gtk_awt_peer_sources): Added
2263 gnu/java/awt/peer/gtk/GThreadMutex.java and
2264 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2265 * Makefile.in: Regenerated.
2267 2004-08-31 Archie Cobbs <archie@dellroad.org>
2269 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2271 2004-08-31 Steven Augart <augart@watson.ibm.com>
2273 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2274 Added jfieldID, jmethodID.
2276 2004-08-31 Mark Wielaard <mark@klomp.org>
2278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2279 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2280 gdk_env before calling any gdk or gtk function.
2282 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2283 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2284 (run): Set gtkInitCalled.
2286 2004-08-31 Steven Augart <augart@watson.ibm.com>
2288 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2289 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2292 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2293 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2295 (init_glib_threads): New function.
2297 2004-08-31 Mark Wielaard <mark@klomp.org>
2299 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2300 PRIORITY when not already defined in header file.
2302 2004-08-31 Mark Wielaard <mark@klomp.org>
2304 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2305 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2307 2004-08-31 Steven Augart <augart@watson.ibm.com>
2309 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2310 Implemented missing functions for GTK2.
2311 Added error handling.
2312 Renamed static functions out of the g_ namespace.
2313 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2314 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2315 Rewrote global-reference code.
2316 Eliminated cascading errors.
2317 (mutex_trylock_jni_impl) Fully implemented.
2318 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2320 (setup_cache) New function.
2321 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2322 bug where they were not unlocking the GMutex associated with the
2323 condition variable during the wait on that condition variable.
2325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2326 native/jni/gtk-peer/gthread-jni.c,
2327 native/jni/gtk-peer/gthread-jni.h
2328 (g_thread_jni_functions): Renamed to ...
2329 (portable_native_sync_jni_functions): this name.
2330 (gdk_vm): Renamed to...
2331 (the_vm): this name.
2333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2334 (gdk_vm): Removed duplicate definition.
2335 (gtkInit): Removed stray message to stdout.
2336 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2337 (gtkInit): Fix a const assignment bug.
2338 (gtkInit): Simplified code.
2340 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2341 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2342 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2343 gnu/java/awt/peer/gtk/GThreadMutex.java:
2346 2004-08-31 Mark Wielaard <mark@klomp.org>
2348 * javax/swing/Box.java: Put FIXME comment above class declaration.
2349 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2350 * javax/swing/JCheckBox.java: Likewise.
2351 * javax/swing/JDialog.java: Likewise.
2352 * javax/swing/JRadioButton.java: Likewise.
2353 * javax/swing/JToggleButton.java: Likewise.
2354 * javax/swing/UIManager.java: Likewise.
2355 * javax/swing/border/TitledBorder.java: Likewise.
2356 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2357 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2358 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2359 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2360 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2361 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2362 * javax/swing/text/JTextComponent.java: Likewise.
2364 2004-08-31 David Jee <djee@redhat.com>
2367 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2368 (setIconImage): Add a FIXME for unhandled cases.
2370 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2373 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2374 getModifiers. Replace old button masks with new ones.
2375 * gnu/awt/xlib/XEventLoop.java: Likewise.
2376 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2377 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2378 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2379 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2380 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2381 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2382 * java/awt/Component.java: Replace old modifier masks with new
2384 * java/awt/Container.java: Call getModifiersEx, not
2386 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2388 * javax/swing/JMenuItem.java: Replace old button masks with new
2390 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2392 * javax/swing/SwingUtilities.java: Likewise.
2393 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2394 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2396 mask macros with new ones.
2397 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2398 macros with new ones representing new masks.
2400 2004-08-31 Craig Black <craig.black@aonix.com>
2402 * gnu/java/awt/peer/gtk/GdkGraphics.java
2403 (drawRoundRect): Implemented.
2404 (fillRoundRect): Implemented.
2405 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2406 (drawRoundRect): Reimplemented to match GdkGraphics.
2407 (fillRoundRect): Reimplemented to match GdkGraphics.
2409 2004-08-31 Mark Wielaard <mark@klomp.org>
2411 * Makefile.in: Regenerated.
2413 2004-08-31 Michael Koch <konqueror@gmx.de>
2415 * gnu/java/awt/EmbeddedWindow.java
2416 (addNotify): Use AccessController to allow execution of privileged
2419 2004-08-31 Michael Koch <konqueror@gmx.de>
2421 * gnu/java/awt/EmbeddedWindow.java
2423 (addNotify): Set peer via reflection.
2424 (setWindowPeer): Removed.
2425 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2426 * Makefile.am (nat_source_files):
2427 Removed gnu/java/awt/natEmbeddedWindow.cc.
2429 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2431 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2432 and gnu/java/security/action/SetAccessibleAction.java.
2434 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2436 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2437 Renamed from 'setName'. New 2-argument form with default value.
2438 (run): Pass default 'value' parameter to System.getProperty().
2439 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2442 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2444 * gnu/java/security/action/GetPropertyAction.java: New class.
2445 * gnu/java/security/action/SetAccessibleAction.java: New class.
2447 2004-08-31 David Jee <djee@redhat.com>
2449 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2450 (setIconImage): Check if image is null.
2452 2004-08-31 David Jee <djee@redhat.com>
2454 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2455 (create): Set the icon image.
2456 (nativeSetIconImage): New native method declaration.
2457 (setIconImage): Implement.
2458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2459 (nativeSetIconImage): New function.
2461 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2464 (filenameFilterCallback): Declare local variable accepted before use.
2466 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2468 * gnu/java/awt/ComponentDataBlitOp.java:
2471 2004-08-31 Tom Tromey <tromey@redhat.com>
2473 * gnu/java/awt/peer/GLightweightPeer.java,
2474 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2475 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2476 javax/swing/JScrollPane.java: Removed
2479 2004-08-31 David Jee <djee@redhat.com>
2481 * java/awt/DefaultKeyboardFocusManager.java
2482 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2483 event. Fix shift modifier checking.
2484 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2485 (accel_attach): Remove.
2486 (setupAccelGroup): Remove calls to accel_attach.
2488 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2490 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2491 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2493 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2495 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2496 * Makefile.in: Regenerate.
2497 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2498 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2499 (create(String)): New method.
2500 (create): Call new create method.
2501 (getArgs): Remove method.
2502 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2504 (nativeCreate): Rename to create.
2505 (gtkSetLabel): Rename to gtkButtonSetLabel.
2506 (gtkToggleButtonSetActive): New method.
2507 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2508 (setState): Replace set call with gtkToggleButtonSetActive.
2509 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2510 (getArgs): Remove method.
2511 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2512 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2513 (gtkWidgetSetSensitive): New method.
2514 (gtkWidgetSetParent): Likewise.
2515 (GtkComponentPeer): Call setParent, setComponentBounds and
2516 setVisibleAndEnabled.
2517 (setParent): New method.
2518 (setComponentBounds): New method.
2519 (setVisibleAndEnabled): New method.
2520 (setEnabled): Call gtkWidgetSetSensitive.
2521 (getArgs): Remove method.
2522 Remove all set methods.
2523 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2524 gtkWindowSetModal, setTitle and setResizable.
2525 (getArgs): Remove method.
2526 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2527 (setComponentBounds): New method.
2528 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2529 Replace set call with gtkWindowSetResizable.
2530 (getArgs): Remove method.
2531 (create): Call setTitle and setResizable.
2532 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2534 (gtkWindowSetTitle): New method.
2535 (gtkWindowSetResizable): New method.
2536 (gtkWindowSetModal): New method.
2537 (setParent): New method.
2538 (setVisibleAndEnabled): New method.
2539 (getArgs): Remove method.
2540 (setTitle): Call gtkWindowSetTitle.
2541 (setResizable): Call gtkWindowSetResizable.
2542 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2543 and off locking instrumentation.
2545 2004-08-31 Kim Ho <kho@redhat.com>
2547 * Makefile.am: Add new file.
2548 * Makefile.in: Regenerate.
2549 * gcj/Makefile.in: Regenerate
2550 * include/Makefile.in:
2551 * java/awt/Container.java:
2552 (acquireComponentForMouseEvent): Respect
2553 the event mask when looking for candidate.
2554 * javax/swing/JComponent.java:
2555 Remove toolTip field.
2556 (createToolTip): Create a tooltip on demand.
2557 (setToolTipText): Register with the ToolTipManager.
2558 (getToolTipText(MouseEvent)): Return getToolTipText().
2559 * javax/swing/JToolTip.java: Implement.
2560 * javax/swing/Timer.java: Jalopy.
2561 (restart): Call stop, then start.
2562 (stop): Interrupt the timer rather than wait for
2563 the timer to come to a stop naturally.
2564 * javax/swing/ToolTipManager.java: Implement.
2565 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2566 Change ToolTip.background color.
2567 * javax/swing/plaf/basic/BasicToolTipUI.java:
2569 * testsuite/Makefile.in: Regenerate
2571 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2573 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2574 constructor param comments.
2576 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2578 * java/awt/Component.java: Document AWT 1.0 event handler
2581 2004-08-31 Roman Kennke <roman@ontographics.com>
2583 * javax/swing/Box.java:
2584 (createGlue): Implemented
2585 (createHorizontalGlue): Implemented
2586 (createHorizontalStrut): Implemented
2587 (createVerticalGlue): Implemented
2588 (createVerticalStrut): Implemented
2590 2004-08-31 David Jee <djee@redhat.com>
2592 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2593 (GtkChoicePeer): Do not automatically select first item.
2594 (getHistory): Remove.
2595 (nativeGetSelected): New method.
2596 (nativeRemoveAll): New method.
2597 (add): Use nativeGetSelected() instead of getHistory().
2599 (removeAll): Call nativeRemoveAll().
2600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2601 (create): Migrate to GtkComboBox.
2603 (nativeAdd): Likewise.
2604 (nativeRemove): Likewise.
2606 (nativeRemoveAll): New method.
2607 (nativeGetSelected): New method.
2608 (selection_changed): New method.
2609 (getHistory): Remove.
2610 (item_activate): Remove.
2611 (item_removed): Remove.
2612 (connect_choice_item_selectable_hook): Remove.
2614 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2616 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2617 variable in setEditable call.
2619 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2620 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2621 (gtkWidgetSetBackground): New method.
2622 (gtkWidgetSetForeground): Likewise.
2623 (create): Set peer's editable state based on awtComponent's.
2625 * java/awt/Button.java (Button()): Use empty string rather than
2626 null in no-label constructor.
2628 2004-08-31 Roman Kennke <roman@ontographics.com>
2630 * javax/swing/BoxLayout.java: Reimplement.
2632 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2634 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2635 gnu_java_awt_peer_gtk_GdkGraphics.c
2636 (initState(GtkComponentPeer)): Don't return array of colour
2638 (GdkGraphics(int,int)): Set default font to size 12.
2639 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2640 component's foreground colour.
2641 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2642 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2643 (initState(GtkComponentPeer)): Don't return array of colour
2645 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2646 colours to component's colours.
2647 (current_colors_of_widget): Remove function.
2648 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2649 Return a new graphics object.
2650 * java/awt/Font.java (toString): Fix format.
2651 * java/awt/Graphics.java (toString): Likewise.
2653 2004-08-31 Craig Black <craig.black@aonix.com>
2655 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2656 (addTearOff): New function.
2657 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2659 (init): Call addTearOff() when menu.isTearOff().
2661 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2663 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2664 Default implementation.
2665 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2666 Implement using GdkPixbufDecoder.
2668 2004-08-31 David Jee <djee@redhat.com>
2670 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2671 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2672 setting the size of GtkFileDialogPeers.
2673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2674 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2675 use their default sizes rather than their natural requisitions.
2677 2004-08-31 Michael Koch <konqueror@gmx.de>
2679 * javax/swing/JFormattedTextField.java
2680 (JFormattedTextField): Implemented.
2681 * javax/swing/text/DefaultEditorKit.java
2682 (BeepAction): New inner class.
2683 * javax/swing/text/Segment.java
2684 (partialReturn): New field.
2685 (setPartialReturn): New method.
2686 (isPartialReturn): Likewise.
2687 * javax/swing/text/View.java
2688 (createFragment): Fixed typo.
2689 (getStartOffset): New method.
2690 (getEndOffset): Likewise.
2692 2004-08-31 Michael Koch <konqueror@gmx.de>
2694 * javax/swing/table/DefaultTableColumnModel.java
2695 (serialVersionUID): Made private.
2696 (listenerList): Initialize.
2697 (changeEvent): Initialize.
2698 * javax/swing/table/JTableHeader.java
2699 (JTableHeader): New constructors.
2700 (createDefaultColumnModel): New method.
2701 * javax/swing/table/TableColumn.java
2702 (setHeaderRenderer): Simplified code.
2703 (setCellRenderer): Likewise.
2704 (setWidth): Likewise.
2706 2004-08-31 Tom Tromey <tromey@redhat.com>
2708 * java/text/AttributedString.java (AttributedString): Use
2709 ArrayList to build array of attribute ranges. Don't use
2710 `attribs' before it is set.
2712 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2714 * HACKING: Remove reference to special automake. No longer needed.
2716 2004-08-30 Tom Tromey <tromey@redhat.com>
2718 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2719 return result from `add'.
2721 2004-08-30 Tom Tromey <tromey@redhat.com>
2723 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2725 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2727 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2729 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2731 * java/io/File.java File(String,String): Fixed handling of empty
2734 2004-08-30 Casey Marshall <csm@gnu.org>
2736 Author e-mail updated for all files.
2737 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2739 (compareTo): Use `equals'.
2740 * gnu/java/security/der/BitString.java (equals): Test if the
2741 argument is an instance of BitString.
2742 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2743 class final. Made fields private.
2744 (<init>): New constructor.
2746 (makeString): Made static; don't use NIO.
2747 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2748 * gnu/java/security/der/DERWriter.java: Fixed imports.
2749 (writeString): Don't use NIO.
2750 (toIso88591, toUtf16Be, toUtf8): New methods.
2751 * gnu/java/security/der/DERValue.java: Formatting changes only.
2752 * gnu/java/security/der/DER.java: Likewise.
2754 2004-08-30 Tom Tromey <tromey@redhat.com>
2756 * java/nio/CharBuffer.java (put): Fix typo.
2757 * java/nio/DoubleBuffer.java (put): Fix typo.
2758 * java/nio/FloatBuffer.java (put): Fix typo.
2759 * java/nio/IntBuffer.java (put): Fix typo.
2760 * java/nio/LongBuffer.java (put): Fix typo.
2761 * java/nio/ShortBuffer.java (put): Fix typo.
2763 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2765 * java/nio/ByteBuffer.java (put): Fix typo.
2767 2004-08-30 Casey Marshall <csm@gnu.org>
2769 * java/security/DummyKeyPairGenerator.java (clone): Removed
2770 useless instanceof check.
2771 * java/security/DummyMessageDigest.java (clone): Likewise.
2772 * java/security/DummySignature.java (clone): Likewise.
2773 * java/security/MessageDigest.java (clone): Remove useless
2775 * java/security/MessageDigestSpi.java (clone): Likewise.
2776 * java/security/Signature.java (clone): Provide meaningful
2778 * java/security/SignatureSpi.java (clone): Likewise.
2780 2004-08-29 Mark Wielaard <mark@klomp.org>
2782 * java/util/Arrays.java
2783 (sort(byte[], int, int)): Check fromIndex < 0.
2784 (sort(char[], int, int)): Likewise.
2785 (sort(short[], int, int)): Likewise.
2786 (sort(int[], int, int)): Likewise.
2787 (sort(long[], int, int)): Likewise.
2788 (sort(float[], int, int)): Likewise.
2789 (sort(double[], int, int)): Likewise.
2790 (sort(Object[], int, int, Comparator)): Likewise.
2791 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2792 (qsort(char[], int, int)): Likewise.
2793 (qsort(short[], int, int)): Likewise.
2794 (qsort(int[], int, int)): Likewise.
2795 (qsort(long[], int, int)): Likewise.
2796 (qsort(float[], int, int)): Likewise.
2797 (qsort(double[], int, int)): Likewise.
2799 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2801 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2802 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2803 java/util/ArrayList.java, java/util/Arrays.java,
2804 java/util/BitSet.java, java/util/Calendar.java,
2805 java/util/Collection.java, java/util/ListIterator.java,
2806 java/util/Map.java, java/util/SortedSet.java:
2807 Added additional exceptions to documentation, along
2808 with some additions and corrections.
2810 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2812 * configure.ac: Handle --enable-gc-debug.
2813 * configure: Regenerate.
2814 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2815 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2816 Rearrange include file order.
2817 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2818 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2819 (disable_gc_mutex): Delete along with all references.
2820 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2821 adjust for debug header size.
2822 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2824 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2825 (gcj_describe_type_fn): New.
2826 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2827 Register gcj_describe_type_fn.
2828 * include/boehm-gc.h:
2829 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2830 Don't define, but declare, for debug case.
2831 * java/lang/natObject.cc:
2832 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2834 2004-08-26 Mark Wielaard <mark@klomp.org>
2836 Fixes PR libgcj/17002:
2837 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2838 a TimeZoneId string and then try to convert that to a TimeZone with
2839 getDefaultSystemTimeZone(String).
2840 (timezones0): Changed type from Hashtable to HashMap.
2841 (timezones): Create HashMap, not Hashtable.
2842 (getDefaultTimeZone): New method, rewritten from CNI version.
2843 (readTimeZoneFile): New method.
2844 (readtzFile): Likewise.
2845 (skipFully): Likewise.
2846 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2847 getDefaultTimeZoneId and rewritten.
2848 (getDefaultTimeZoneId): Rewritten in java.
2850 2004-08-25 David Daney <daney@avtrex.com>
2852 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2853 * Makefile.in: Regenerated.
2855 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2857 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2858 only if jvmpi is enabled.
2859 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2860 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2861 (_Jv_AllocString): Likewise.
2862 (_Jv_AllocPtrFreeObject): Likewise.
2864 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2866 * defineclass.cc: Include <stdio.h>.
2867 * java/lang/natClassLoader.cc: Include <stdio.h>.
2869 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2870 Michael Koch <konqueror@gmx.de>
2872 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2873 * Makefile.in: Regenerated.
2875 2004-08-20 Michael Koch <konqueror@gmx.de>
2877 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2878 AC_COMPILE_IFELSE macros.
2880 2004-08-20 Michael Koch <konqueror@gmx.de>
2882 * configure.in: Renamed to configure.ac.
2883 * configure.ac: New file.
2884 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2885 include/config.h.in, testsuite/Makefile.in: Regenerated.
2887 2004-08-20 Michael Koch <konqueror@gmx.de>
2889 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2890 * aclocal.m4, configure: Regenerated.
2892 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2893 Michael Koch <konqueror@gmx.de>
2895 * configure.in, Makefile.am: Ported to automake 1.9.
2896 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2897 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2900 2004-08-19 Tom Tromey <tromey@redhat.com>
2902 * java/net/DatagramSocket.java: Fixed typo.
2904 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2907 * java/net/URI.java (string): New field. Make all other fields
2909 (readObject): Implemented.
2910 (writeObject): Implemented.
2911 (URI): Set 'string'.
2913 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2916 * java/util/logging/Handler.java (isLoggable): Accept record if its
2917 log level equals the threshold level. From Robin Green.
2919 2004-08-18 David Daney <ddaney@avtrex.com>
2921 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2924 2004-08-17 Michael Koch <konqueror@gmx.de>
2926 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2927 * Makefile.in: Regenerated.
2929 2004-08-16 Tom Tromey <tromey@redhat.com>
2932 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2934 2004-08-16 Michael Koch <konqueror@gmx.de>
2937 (math_c_files): Renamed from c_files.
2938 (math_c_source_files): Renamed from c_source_files.
2941 include/Makefile.in,
2942 testsuite/Makefile.in: Regenerated.
2944 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2946 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2947 to avoid autoconf warning.
2948 * configure: Rebuilt.
2950 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2952 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2953 localhostAddress to loopbackAddress.
2954 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2956 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2958 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2959 boehm-gc's include dirs.
2960 * configure: Rebuilt.
2961 * include/boehm-gc.h: Include gc_config.h.
2963 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2965 * java/net/InetAddress.java (loopbackAddress): Renamed from
2967 (getByName): Return loopback address for null hostname, without
2968 security check. Use lookup(), not getAllByName.
2969 (getAllByName): Return loopback address for null hostname, without
2971 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2974 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2977 Reported by Robin Green.
2978 * defineclass.cc (handleField): Don't throw exception on unrecognised
2979 modifier. Add FIXME comments for spec compliance.
2980 (handleMethod): Likewise.
2982 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2985 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2986 (Almost everywhere): add LOG calls, fix, add comments.
2987 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2988 Add explicit check for LOCKED bit in slow case (PR 16662).
2989 (_Jv_MonitorExit): Add casts in debug-only code.
2990 Always release LOCKED bit before throwing exception.
2991 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2992 isn't. Handle easy cases without lock acquisition.
2993 (Object::wait): Use NotifyAll for lock inflation.
2995 2004-08-12 David Daney <ddaney@avtrex.com>
2997 * testsuite/libjava.lang/Process_1.java: New test.
2998 * testsuite/libjava.lang/Process_2.java: New test.
2999 * testsuite/libjava.lang/Process_3.java: New test.
3000 * testsuite/libjava.lang/Process_4.java: New test.
3001 * testsuite/libjava.lang/Process_5.java: New test.
3002 * testsuite/libjava.lang/Process_6.java: New test.
3003 * testsuite/libjava.lang/Process_1.out: Expected result.
3004 * testsuite/libjava.lang/Process_2.out: Expected result.
3005 * testsuite/libjava.lang/Process_3.out: Expected result.
3006 * testsuite/libjava.lang/Process_4.out: Expected result.
3007 * testsuite/libjava.lang/Process_5.out: Expected result.
3008 * testsuite/libjava.lang/Process_6.out: Expected result.
3010 2004-08-12 David Daney <ddaney@avtrex.com>
3013 * java/lang/PosixProcess.java: Rewrote.
3014 * java/lang/natPosixProcess.cc: Rewrote.
3015 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3016 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3017 * posix-threads.cc (block_sigchld) New function.
3018 (_Jv_ThreadRegister) Use it.
3019 (_Jv_ThreadStart) Use it.
3020 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3021 * Makefile.am: ... to specify extra native headers.
3022 * configure: Regenerated.
3023 * include/config.h: Regenerated.
3024 * Makefile.in: Regenerated.
3025 * gcj/Makefile.in: Regenerated.
3026 * include/Makefile.in: Regenerated.
3027 * testsuite/Makefile.in: Regenerated.
3029 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3031 PR tree-optimization/16867
3032 * testsuite/libjava.lang/PR16867.java: New test.
3034 2004-08-09 Per Bothner <per@bothner.com>
3036 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3037 with private fields and access methods.
3038 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3039 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3040 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3041 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3042 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3043 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3045 * resolve.cc: Likewise.
3046 * gcj/field.h: Likewise.
3047 * include/jvm.h: Likewise.
3048 * java/lang/Class.h: Likewise.
3049 * java/lang/natClass.cc: Likwise.
3050 * java/lang/natClassLoader.cc: Likewise
3051 * java/lang/reflect/natMethod.cc: Likewise
3052 * verify.cc: Likewise.
3053 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3054 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3056 2004-08-10 Andrew Haley <aph@redhat.com>
3058 * testsuite/libjava.lang/err14.java: New file.
3059 * testsuite/libjava.lang/err14.out: New file.
3061 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3063 * Makefile.am: Fix missing rename from x_nat_headers to
3065 * Makefile.in: Regenerated.
3067 2004-08-04 Andrew Haley <aph@redhat.com>
3069 * java/security/BasicPermission.java: Don't check wildcards.
3071 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3072 Michael Koch <konqueror@gmx.de>
3074 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3075 * configure.in: Replaced all usages of AC_LINK_FILES by
3078 configure: Regenerated.
3080 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3081 Michael Koch <konqueror@gmx.de>
3083 * acconfig.h: Removed.
3084 * Makefile.am: Rename variables for xlib peer to include xlib and
3085 gtk_c_headers to gtk_jni_headers.
3086 * Makefile.in: Regenerated.
3088 2004-08-04 Andrew Haley <aph@redhat.com>
3090 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3093 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3095 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3096 Replace most top level 'dnl' comments with '#' comments, conforming
3097 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3099 * configure: Rebuilt.
3101 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3103 * acinclude.m4: Include no-executables.m4.
3104 * aclocal.m4: Rebuild.
3105 * configure.in: Convert to the autoconf 2.59 version of
3106 of the no-executables hack, and also of the nonstandard CXX
3107 hack and the multilibbed CC and CXX hack. Change prerequisite
3109 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3110 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3111 testsuite/Makefile.in: Regenerate.
3113 2004-08-03 Tom Tromey <tromey@redhat.com>
3115 * jni.cc: Reindented.
3117 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3119 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3121 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3123 * testsuite/libjava.compile/PR16701.java: New test.
3125 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3127 * java/util/Collection.java, java/util/List.java,
3128 java/util/Map.java, java/util/Set.java,
3129 java/util/SortedMap.java, java/util/SortedSet.java:
3130 Added additional exceptions to documentation.
3132 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3135 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3136 * configure. Regenerate.
3137 * include/win32.h: Explicitly include winsock2.h
3138 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3141 2004-07-30 Michael Koch <konqueror@gmx.de>
3143 * java/util/zip/GZIPInputStream.java
3144 (GZIPInputStream): Increase buffer size to 4k.
3145 * java/util/zip/GZIPOutputStream.java
3146 (GZIPOutputStream): Likewise.
3147 * java/util/zip/Inflater.java
3148 (setInput): Merged formating with GNU classpath.
3149 * java/util/zip/InflaterInputStream.java
3150 (InflaterInputStream): Increase buffer size to 4k.
3151 (fill): Throw exception if stream ends early.
3152 (read): Merged endless-loop with GNU classpath.
3153 (skip): Increase buffer size to 2k.
3155 2004-07-30 Michael Koch <konqueror@gmx.de>
3157 * gnu/java/awt/EmbeddedWindow.java
3158 (addNotify): Use AccessController to allow execution of privileged
3161 2004-07-29 Michael Koch <konqueror@gmx.de>
3163 * gnu/java/lang/MainThread.java:
3164 Explicitely import used classes.
3165 (args): Make it type String[].
3167 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3169 * gnu/java/awt/ComponentDataBlitOp.java,
3170 gnu/java/beans/ExplicitBeanInfo.java,
3171 gnu/java/beans/IntrospectionIncubator.java,
3172 gnu/java/beans/editors/ColorEditor.java,
3173 gnu/java/beans/editors/FontEditor.java,
3174 gnu/java/beans/editors/NativeBooleanEditor.java,
3175 gnu/java/beans/editors/NativeByteEditor.java,
3176 gnu/java/beans/editors/NativeDoubleEditor.java,
3177 gnu/java/beans/editors/NativeFloatEditor.java,
3178 gnu/java/beans/editors/NativeIntEditor.java,
3179 gnu/java/beans/editors/NativeLongEditor.java,
3180 gnu/java/beans/editors/NativeShortEditor.java,
3181 gnu/java/beans/editors/StringEditor.java,
3182 gnu/java/io/ClassLoaderObjectInputStream.java,
3183 gnu/java/io/decode/Decoder.java,
3184 gnu/java/io/encode/Encoder.java,
3185 gnu/java/lang/ClassHelper.java,
3186 gnu/java/locale/Calendar.java,
3187 gnu/java/locale/Calendar_de.java,
3188 gnu/java/locale/Calendar_en.java,
3189 gnu/java/locale/Calendar_nl.java,
3190 gnu/java/locale/LocaleInformation_de.java,
3191 gnu/java/locale/LocaleInformation_en.java,
3192 gnu/java/locale/LocaleInformation_nl.java:
3195 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3197 * README: Remove obsolete info. Update bug URL.
3199 * NEWS: Updated with news up to GCC 3.4 release.
3201 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3203 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3204 Renamed from 'setName'. New 2-argument form with default value.
3205 (run): Pass default 'value' parameter to System.getProperty().
3206 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3208 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3211 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3213 * configure.in: Check for minimum GTK version 2.4 requirement.
3214 * configure: Rebuilt.
3216 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3218 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3219 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3221 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3223 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3224 address. Reduce sleep times. Synchronize with target threads before
3225 attempting to interrupt them. Don't try to calibrate yeild count,
3226 instead, always loop for a fixed time.
3227 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3228 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3229 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3230 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3231 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3232 * testsuite/libjava.lang/pr179.java: Likewise.
3233 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3234 time. Remove upper bounds check on sleep time.
3236 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3238 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3239 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3241 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3243 * java/io/File.java (toURI): Throw RuntimeException, not
3245 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3246 class name, not instance.
3248 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3250 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3251 and gnu/java/security/action/SetAccessibleAction.java.
3252 * Makefile.in: Rebuilt.
3254 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3256 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3257 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3259 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3260 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3261 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3263 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3265 * Makefile.am: Replace jar, rmic and rmiregistry references with
3266 gjar, grmic and grmiregistry.
3267 * configure.in: Likewise.
3268 * Makefile.in: Regenerate.
3269 * configure: Likewise.
3270 * gcj/Makefile.in: Likewise.
3271 * include/Makefile.in: Likewise.
3272 * testsuite/Makefile.in: Likewise.
3274 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3276 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3277 for privileged getProperty calls.
3278 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3279 SetAccessibleAction instead of anonymous class for doPrivileged call.
3280 (getMethod): Likewise.
3281 (setAccessible): New field. PrivilegedAction object to use when
3282 calling setAccessible.
3283 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3284 SetAccessibleAction instead of anonymous class for diPrivileged call.
3285 (setFields): Likewise.
3286 (getClassUID): Likewise.
3287 (findMethod): Likewise.
3288 * gnu/java/security/action/GetPropertyAction.java: New class.
3289 * gnu/java/security/action/SetAccessibleAction.java: New class.
3291 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3293 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3295 * testsuite/libjava.lang/Serialization.java: New test.
3296 * testsuite/libjava.lang/Serialization.out: New.
3298 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3300 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3301 missed in last commit.
3303 2004-07-23 Mark Wielaard <mark@klomp.org>
3305 * java/lang/System.java (static): Set http.agent system property when
3307 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3308 from system property inside AccessController.doPrivileged() call.
3309 (proxyPort): Made package private.
3310 (proxyInUse): Likewise.
3311 (proxyHost): Likewise.
3312 (userAgent): Likewise.
3314 2004-07-23 Mark Wielaard <mark@klomp.org>
3316 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3319 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3321 * Makefile.am (ordinary_java_source_files): Add
3322 DefaultContentHandlerFactory.java.
3323 * Makefile.in: Rebuilt.
3324 * java/net/URLConnection.java (defaultFactory): New field.
3326 (getContentHandler): Renamed from 'setContentHandler'. Try
3327 defaultFactory after user-set factory, if any. Search for content
3328 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3329 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3331 (getLastModified): Implemented.
3332 (getPermission): Create file permission here, instead of in
3334 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3336 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3338 (getLastModified): Implemented.
3339 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3340 Default implementation.
3341 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3342 Implement using GdkPixbufDecoder.
3344 2004-07-21 Michael Koch <konqueror@gmx.de>
3346 * javax/swing/JTextArea.java
3347 (setLineWrap): Fire property change event after new value is set.
3348 (setTabSize): Likewise.
3350 2004-07-21 Michael Koch <konqueror@gmx.de>
3352 * javax/swing/JTable.java
3353 (autoCreateColumnsFromModel): New field.
3354 (autoResizeMode): Likewise.
3355 (cellEditor): Likewise.
3356 (cellSelectionEnabled): Likewise.
3357 (columnModel): Likewise.
3358 (dataModel): Likewise.
3359 (defaultEditorsByColumnClass): Likewise.
3360 (defaultRenderersByColumnClass): Likewise.
3361 (editingColumn): Likewise.
3362 (editingRow): Likewise.
3363 (gridColor): Likewise.
3364 (preferredViewportSize): Likewise.
3365 (rowHeight): Likewise.
3366 (rowMargin): Likewise.
3367 (rowSelectionAllowed): Likewise.
3368 (selectionBackground): Likewise.
3369 (selectionForeground): Likewise.
3370 (selectionModel): Likewise.
3371 (showHorizontalLines): Likewise.
3372 (showVerticalLines): Likewise.
3373 (tableHeader): Likewise.
3374 (JTable): Implemented.
3375 (getColumnModel): Likewise.
3376 (getSelectedRow): Likewise.
3377 (getSelectionModel): Likewise.
3378 (setModel): Likewise.
3379 (setSelectionModel): Likewise.
3380 (createScrollPaneForTable): New method.
3381 (createDefaultDataModel): Likewise.
3382 (createDefaultListSelectionModel): Likewise.
3383 (getModel): Likewise.
3384 (getTableHeader): Likewise.
3385 (setTableHeader): Likewise.
3386 (getColumnSelectionAllowed): Likewise.
3387 (setColumnSelectionAllowed): Likewise.
3388 (getRowSelectionAllowed): Likewise.
3389 (setRowSelectionAllowed): Likewise.
3390 (getAutoResizeMode): Likewise.
3391 (setAutoResizeMode): Likewise.
3392 (getColumnCount): Likewise.
3393 (getRowCount): Likewise.
3394 (getCellRenderer): Likewise.
3395 * javax/swing/JTree.java
3396 (cellRenderer): New field.
3397 (editable): Likewise.
3398 (rootVisible): Likewise.
3399 (showsRootHandles): Likewise.
3400 (getModel): New method.
3401 (setModel): Likewise.
3402 (isEditable): Likewise.
3403 (setEditable): Likewise.
3404 (isRootVisbile): Likewise.
3405 (setRootVisible): Likewise.
3406 (getShowsRootHandles): Likewise.
3407 (setShowRootHandles): Likewise.
3408 (getCellRenderer): Likewise.
3409 (setCellRenderer): Likewise.
3411 2004-07-21 Michael Koch <konqueror@gmx.de>
3413 * javax/swing/JFormattedTextField.java
3414 (setDocument): Implemented.
3415 * javax/swing/JRootPane.java:
3417 * javax/swing/JTable.java
3418 (getDefaultRenderer): New method.
3419 * javax/swing/JTextField.java
3420 (setFont): Likewise.
3421 (getPreferredSize): Likewise.
3422 * javax/swing/JToggleButton.java
3423 (getAccessibleContext): Fix javadoc.
3424 * javax/swing/JTree.java:
3426 * javax/swing/JViewport.java:
3429 2004-07-21 David Jee <djee@redhat.com>
3431 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3432 Collect all native method declaration at the top.
3433 (create): Set the filename filter if necessary.
3434 (setDirectory): Call nativeSetDirectory().
3435 (setFilenameFilter): Implement.
3436 (filenameFilterCallback): New method.
3437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3438 (create): Configure dialog to show hidden files.
3439 (filenameFilterCallback): New function.
3440 (nativeSetFilenameFilter): New function.
3441 (nativeSetDirectory): New function.
3443 2004-07-21 Kim Ho <kho@redhat.com>
3445 * javax/swing/plaf/basic/BasicSliderUI.java:
3447 (paintTrack): Fill the track before painting
3450 2004-07-21 Graydon Hoare <graydon@redhat.com>
3452 patch from Roman Kennke <roman@ontographics.com>
3453 * javax/swing/Spring.java: New file.
3454 * javax/swing/SpringLayout.java: New file.
3455 * Makefile.am: Add new files.
3456 * Makefile.in: Regenerate.
3458 2004-07-21 Graydon Hoare <graydon@redhat.com>
3460 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3461 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3462 * javax/swing/ScrollPaneLayout.java: Likewise.
3464 2004-07-21 Kim Ho <kho@redhat.com>
3466 * javax/swing/DefaultDesktopManager.java:
3467 (findMinimum): Removed.
3468 (resizeFrame): Trust the UI to pass valid
3470 * javax/swing/JOptionPane.java:
3471 Implemented showInternalXXXDialog methods.
3472 (startModal): New method.
3473 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3474 (BorderListener::mouseDragged): Verify that the new
3475 bounds are valid before passing them to the DesktopManager.
3476 (preferredLayoutSize): Delegate
3478 (minimumLayoutSize): Ditto.
3479 (getSize): New method.
3480 (GlassPaneDispatcher): Reimplemented by copying
3481 a stripped down LightweightDispatcher from Container.
3482 (getMinimumSize): Call minimumLayoutSize.
3483 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3485 (mousePressed): Add ability to properly close
3487 * javax/swing/plaf/basic/BasicToolBarUI.java:
3488 (DragWindow): Set owner for DragWindow.
3490 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3492 * java/awt/image/ShortLookupTable.java: New file.
3493 * java/awt/image/ByteLookupTable.java: New file.
3494 * Makefile.am: Added new files.
3495 * Makefile.in: Regenerated.
3497 2004-07-21 David Jee <djee@redhat.com>
3499 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3500 (create(GtkContainerPeer)): New native method.
3501 (create()): Call native create(), passing in the parent frame
3502 as the paramter. Natively set the current file and directory.
3503 (setFile): Construct an absolute filename before passing it to
3505 (nativeGetDirectory): New method.
3506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3507 (window_closed): Removed.
3508 (ok_clicked): Likewise.
3509 (cancel_clicked): Likewise.
3510 (handle_response): New method.
3511 (create): Use GtkFileChooserDialog.
3512 (connectSignals): Connect to handle_response.
3513 (nativeGetDirectory): New method.
3514 (nativeSetFile): Use GtkFileChooserDialog.
3516 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3518 * java/awt/image/LookupTable.java: New file.
3519 * Makefile.am: Added new file.
3520 * Makefile.in: Regenerated.
3522 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3524 * java/awt/image/Kernel.java: New file.
3525 * Makefile.am: Added new file.
3526 * Makefile.in: Regenerated.
3528 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3530 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3531 * javax/swing/JMenu.java: Likewise.
3532 * javax/swing/JMenuBar.java: Likewise.
3533 (MARGIN_CHANGED_PROPERTY): New property.
3534 (setMargin): Implemented.
3535 * javax/swing/JMenuItem.java: Fixed javadocs.
3536 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3537 (LABEL_CHANGED_PROPERTY): New property.
3538 (add): changed to use createActionComponent.
3539 (createActionComponent): Implemented.
3540 (setLabel): Fire PropertyChangeEvent if label property
3542 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3543 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3544 (ContainerHandler): Repaint if margin property has changed.
3545 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3546 (installUI): Call installComponents().
3547 (uninstallUI): Call uinstallComponents().
3548 * javax/swing/plaf/basic/BasicMenuUI.java:
3550 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3553 2004-07-21 Kim Ho <kho@redhat.com>
3555 * javax/swing/plaf/basic/BasicToolBarUI.java:
3556 (DragWindow): Use the right constructor.
3558 2004-07-21 Kim Ho <kho@redhat.com>
3560 * javax/swing/JToolBar.java:
3561 (layoutContainer): Use getComponents.
3562 * javax/swing/plaf/basic/BasicToolBarUI.java:
3563 (DragWindow): Don't use SwingUtilities'
3565 (ToolBarDialog): ditto.
3567 2004-07-21 Kim Ho <kho@redhat.com>
3569 * javax/swing/JRootPane.java:
3571 (layoutContainer): Set the glasspane's size to
3572 be the same as the content pane.
3573 (createGlassPane): Set opaque property to false.
3575 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3577 * java/awt/Component.java (requestFocus()): Don't handle Panels
3579 (requestFocus(boolean)): Likewise.
3580 (requestFocusInWindow(boolean)): Likewise.
3581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3582 Set GTK_CAN_FOCUS flag.
3584 2004-07-21 Kim Ho <kho@redhat.com>
3586 * Makefile.am: Added new file.
3587 * Makefile.in: Regenerated.
3588 * gcj/Makefile.in: Regenerated.
3589 * include/Makefile.in: Regenerated.
3590 * javax/swing/AbstractButton.java:
3591 Add rollOverEnabled property.
3592 (setRolloverEnabled): Use new property.
3593 (isRolloverEnabled): Use new property.
3594 * javax/swing/JTabbedPane.java:
3595 (setComponent): Remove useless JTabbedPane.this.
3596 * javax/swing/JToolBar.java: Finish implementation.
3597 * javax/swing/plaf/basic/BasicArrowButton.java:
3598 (paint): Moved border painting to a border.
3599 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3600 Change JToolBar look and feel defaults.
3601 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3602 (actionPerformed): Return Integer index instead of name.
3603 (addButtonComponents): Check to see if component is
3605 (createMessageArea): Don't use components that are not
3607 (getIconForType): Use temporary icons.
3608 * javax/swing/plaf/basic/BasicSliderUI.java:
3609 (mousePressed): Do not return if it's on thumb.
3610 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3611 (paintMinorTickForVertSlider): ditto.
3612 (paintMajorTickForHorizSlider): ditto.
3613 (paintMajorTickForVertSlider): ditto.
3614 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3615 Add a border around the SplitPaneDivider.
3616 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3618 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3619 New file. Implemented.
3620 * javax/swing/plaf/basic/BasicToolBarUI.java:
3622 * testsuite/Makefile.in: Regenerated.
3624 2004-07-21 Graydon Hoare <graydon@redhat.com>
3626 * javax/swing/Timer.java (run): Queue events each time cycle.
3628 2004-07-21 David Jee <djee@redhat.com>
3630 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3631 (imageComplete): Call image.imageComplete().
3632 * java/awt/image/MemoryImageSource.java:
3633 Reimplement consumers as a Vector instead of a Hashtable. This is
3634 because enumeration on a Hashtable is not thread-safe.
3635 (addConsumer): Adapt to Vector consumers.
3636 (isConsumer): Adapt to Vector consumers.
3637 (removeConsumer): Adapt to Vector consumers.
3638 (startProduction): Adapt to Vector consumers. Call imageComplete()
3639 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3640 (newPixels): Adapt to Vector consumers.
3641 (sendPicture): Set the color model of the image consumer.
3642 (newPixels(IIII)): Adapt to Vector consumers.
3643 (newPixels(IIIIB)): Adapt to Vector consumers.
3645 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3647 * java/awt/Component.java (deliverEvent): Implement.
3648 (postEvent): Implement.
3649 (handleEvent): Implement.
3650 (translateEvent): New method.
3651 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3652 * java/awt/Container.java (deliverEvent): Implement.
3653 * java/awt/Event.java (paramString): Fix formatting.
3654 * java/awt/Font.java (toString): Likewise.
3655 * java/awt/Window.java (postEvent): Implement.
3657 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3659 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3660 Set window's focus owner upon receiving a FOCUS_LOST event.
3661 * java/awt/Window.java (Window()): Refocus the previously
3662 focused component within the window when the window regains the
3664 (setFocusOwner): New method.
3665 * java/awt/Component.java (requestFocus): Add FIXME.
3667 * libgcj.pc.in: Remove library flags.
3669 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3671 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3672 MOUSE_PRESSED event.
3673 * java/awt/Component.java (requestFocus()): Handle Panel
3674 specially. Post FOCUS_LOST event on opposite component.
3675 (requestFocus(boolean)): Likewise.
3676 (requestFocusInWindow(boolean)): Likewise.
3677 (paramString): Reorder dimension fields.
3678 * java/awt/Container.java (paramString): Fix string format.
3679 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3680 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3681 process key events if the focus owner is non-null.
3682 (dispatchKeyEvent): Likewise.
3683 * java/awt/Frame.java (paramString): Fix formatting.
3684 (generateName): New method.
3685 (getUniqueLong): Likewise.
3686 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3687 the temporary focus owner is null. If so, return the permanent
3689 * java/awt/Panel.java (generateName): New method.
3690 (getUniqueLong): Likewise.
3691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3692 signal handling to make callbacks more specific.
3694 2004-07-21 Michael Koch <konqueror@gmx.de>
3696 * javax/swing/text/Position.java
3697 (Bias): Implemented.
3699 2004-07-21 Michael Koch <konqueror@gmx.de>
3701 * javax/swing/LookAndFeel.java
3702 (provideErrorFeedback): New method.
3704 2004-07-21 Michael Koch <konqueror@gmx.de>
3706 * javax/swing/JTextArea.java
3707 (tabSize): New field.
3708 (getTabSize): New method.
3709 (setTabSize): Likewise.
3711 2004-07-21 Michael Koch <konqueror@gmx.de>
3713 * javax/swing/ActionMap.java:
3714 Fixed javadocs all over.
3715 (serialVersionUID): Made private.
3716 (parent): Don't explicitely initialize with default value.
3718 (keys): Reimplemented.
3719 (allKeys): Likewise.
3720 (convertSet): Removed.
3721 * javax/swing/ComponentInputMap.java:
3722 Fixed javadocs all over.
3723 (ComponentInputMap): Implemented.
3727 (SetParent): Likewise.
3728 (getComponent): Likewise.
3729 * javax/swing/InputMap.java:
3730 Fixed javadocs all over.
3731 (serialVersionUID): Made private.
3732 (parent): Don't explicitely initialize with default value.
3734 (keys): Reimplemented.
3735 (allKeys): Likewise.
3736 (convertSet): Removed.
3738 2004-07-21 Michael Koch <konqueror@gmx.de>
3740 * javax/swing/ActionMap.java,
3741 javax/swing/ComponentInputMap.java,
3742 javax/swing/InputMap.java,
3743 javax/swing/table/DefaultTableColumnModel.java,
3744 javax/swing/table/TableColumn.java,
3745 javax/swing/table/TableColumnModel.java,
3746 javax/swing/table/TableModel.java,
3747 javax/swing/text/AbstractDocument.java,
3748 javax/swing/text/TextAction.java:
3751 2004-07-21 Graydon Hoare <graydon@redhat.com>
3753 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3754 Make method non-static.
3755 * javax/swing/AbstractButton.java:
3756 Rename fields to match property names where possible.
3757 (iconTextGap): New property.
3758 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3759 (init) New method, call from after various constructors.
3760 * javax/swing/JComponent.java (revalidate):
3761 Invalidate before queueing repair.
3762 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3763 Reimplement in terms of visibleRowCount property.
3764 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3765 * javax/swing/JScrollPane.java (createScrollListener):
3766 Remove tracing chatter.
3767 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3768 * javax/swing/RepaintManager.java (addInvalidComponent):
3770 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3772 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3773 Mimic sun behavior on top left/right positioning.
3774 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3775 Remove mistaken use of preferredScrollableViewportSize here.
3776 (layoutContainer): Use view's preferred size as basis.
3777 * javax/swing/plaf/basic/BasicButtonUI.java:
3778 Set, get, and use textIconGap property.
3779 (paint) Paint text returned from layout (with ellipsis).
3780 * javax/swing/plaf/basic/BasicListUI.java:
3781 Remove tracing chatter, correct various minor calculations.
3782 (getCellBounds): Update layout state before calculating.
3783 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3784 Use margin default similar to sun's.
3785 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3786 (createIncreaseIcon): Center icon, minimize margins.
3787 (createDecreaseIcon): Likewise.
3788 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3790 (installUI): Call it.
3791 (uninstallDefaults): Implement.
3792 (uninstallUI): Call it.
3793 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3794 Call existing Window constructor.
3795 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3796 Set clip before painting.
3798 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3800 * javax/swing/JMenuItem.java:
3801 (processMouseEvent): Reimplemented to deal with
3803 (createMenuDragMouseEvent): New private helper method.
3804 Creates MenuDragMouseEvent.
3805 * javax/swing/MenuSelectionManager.java
3806 (componentForPoint): Implemented.
3807 (isComponentPartOfCurrentMenu): Made public.
3808 (processMouseEvent): Reimplemented to deal with
3810 (setSelectedPath): Corrected small mistake that caused
3811 path to be set incorrectly.
3812 (getPath): If given component is JMenu then also add this
3813 menu's popup menu to the selected path.
3814 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3816 (getPreferredSize): Call getPreferredMenuItemSize().
3817 (getPreferredItemSize): Moved code from getPreferredSize to here.
3818 (installListeners): Install MouseMotionListeners.
3819 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3820 if mouse wasn't released in the bounds of this menu item.
3821 (MenuDragMouseHandler): Implemented.
3822 * javax/swing/plaf/basic/BasicMenuUI.java:
3823 (installListeners): Install MouseMotionListener and
3824 MenuDrageMouseListener.
3825 (MenuDragMouseHandler): Implemented.
3826 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3827 (uninstallListeners): Implemented.
3829 2004-07-21 Michael Koch <konqueror@gmx.de>
3831 * javax/swing/JCheckBox.java: Reformated.
3832 (JCheckBox): Fixed all constructors.
3833 (isBorderPaintedFlat): New method.
3834 (setBorderPaintedFlat): New method.
3835 * javax/swing/JEditorPane.java
3836 (createEditorKitForContentType): Made public.
3837 (scrollToReference): Likewise.
3838 * javax/swing/JTextArea.java
3839 (setLineWrap): Fire property change.
3840 * javax/swing/JToggleButton.java
3841 (JToggleButton): New constructor.
3842 (JToggleButton): Simplified.
3843 * javax/swing/text/AttributeSet.java
3844 (FontAttribute): Renamed from FontCharacterAttribute.
3845 * javax/swing/text/JTextComponent.java
3846 (KeyBinBinding): Added javadoc.
3847 (JTextComponent): Likewise.
3848 (getAccessibleContext): Fixed javadoc.
3849 * javax/swing/text/View.java
3850 (View): Added javadoc.
3851 * javax/swing/text/TabableView.java: New file.
3852 * Makefile.am: Added javax/swing/text/TabableView.java.
3853 * Makefile.in: Regenerated.
3855 2004-07-21 Graydon Hoare <graydon@redhat.com>
3857 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3858 * gnu/java/awt/peer/gtk/GtkToolkit.java
3859 (GtkErrorImage): New helper class.
3860 (bufferedImageOrError): New helper method.
3861 (createImage): Use it.
3863 2004-07-21 David Jee <djee@redhat.com>
3865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3866 (setCaretPosition): Scroll the text view so the new caret position
3867 is visible on screen.
3869 2004-07-21 David Jee <djee@redhat.com>
3871 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3872 (setBounds): Do not validate awtComponent here.
3873 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3874 (getPreferredSize): New method.
3875 * java/awt/ScrollPane.java
3876 (ScrollPane): Set default size to 100x100.
3877 (addNotify): If child is not a Panel, wrap it with a new Panel.
3878 (paramString): Implement.
3880 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3882 * javax/swing/JMenu.java:
3883 (setSelected): Display popup menu only if this menu
3884 is showing on the screen.
3885 * javax/swing/JPopupMenu.java:
3886 (processMouseEvent): Added comment.
3887 (processKeyEvent): Likewise.
3888 * javax/swing/MenuSelectionManager.java:
3889 (clearSelectedPath): Only fireStateChanged() after
3890 selected path was changed, not before.
3891 (setSelectedPath): Likewise.
3892 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3893 (paintMenuItem): Corrected position of menu item's
3895 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3896 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3897 (popupMenuCanceled): Reimplemented.
3898 (popupMenuWillBecomeVisible): Select first menu item by default
3899 when displaying free floating popup menus.
3900 (TopWindowListener): Reimplemented.
3902 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3904 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3905 Panel from being painted twice when it is first shown.
3907 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3909 * java/awt/Window.java: Reverted changes from my
3910 previous patch for creating window without an owner.
3911 * javax/swing/SwingUtilities.java:
3912 (SwingUtilities.OwnerFrame): made static.
3913 (OwnerFrame.setVisible): New method. Overridden with
3914 empty implementation.
3915 (OwnerFrame.isShowing): New method. Ovverridden
3916 to return always true.
3918 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3920 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3921 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3922 (GtkComponentPeer): Remove temporary try/catch block.
3923 (setVisible): Call show and hide.
3924 (show): Make native.
3926 (getArgs): Don't add "visible" argument.
3927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3928 (property_notify_predicate): Return Bool instead of int.
3929 (find_layout): New function.
3930 (connectJObject): Call find_layout.
3931 (connectSignals): Likewise.
3932 (moveLayout): Likewise.
3933 (gtkLayoutSetVisible): Likewise.
3935 2004-07-21 Mark Wielaard <mark@klomp.org>
3937 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3938 on notifier object before calling notifyAll().
3940 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3942 * java/awt/Window.java: Changed constructors to use new
3943 method that is described below. Constructors call this
3944 methods only if newly created window should have an owner.
3945 (setWindowOwner): New method. Implementation for
3946 this method is moved from this(owner,configuration).
3947 * javax/swing/JWindow.java:
3948 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3950 * javax/swing/SwingUtilities.java:
3951 (ownerFrame): Change type of this field to OwnerFrame.
3952 (getOwnerFrame): Changed to return object of type OwnerFrame.
3953 (SwingUtilities.OwnerFrame): New class. Represents owner
3954 of a Window that is not provided with one.
3956 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3958 * javax/swing/AbstractButton.java:
3959 (configurePropertiesFromAction): Set action command
3960 to button's text by default if action command is not
3961 explicitely specified.
3962 * javax/swing/JMenu.java: Remove unnecessary listener
3963 and methods relevant to it.
3964 (setSelected): Reimplemented.
3965 (menuSelectionChanged): Moved most part of implementation to
3966 setSelected() and call it instead.
3967 * javax/swing/JMenuItem.java:
3968 (init): Comment out statement that sets paint_border to false.
3969 (configurePropertiesFromAction): Do not set accelerator
3971 (menuSelectionChanged): Change selected index in the selection
3972 model of menu item's parent.
3973 * javax/swing/JPopupMenu.java:
3974 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3975 instead of GridBagConstraints.HORIZONTAL.
3977 (createActionChangeListener): Implemented.
3978 (setVisible): Correct location of HeavyWeightMenu and
3979 don't firePopupMenuCanceled().
3980 (menuSelectionChanged): Implemented.
3981 (ActionChangeListener): New Listener. Implemented.
3982 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3983 (BasicMenuBarUI.ContainerHandler): Implemented.
3984 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3985 (paintMenuItem): Uncommented out code that paints
3986 icon, now that icons are working properly.
3987 (PropertyChangeListener): Implemented.
3988 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3990 (topWindowListener): New field.
3991 (Constructor): initialize topWindowListener.
3992 (BasicPopupMenuUI.TopWindowListener): Implemented.
3993 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3994 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3997 2004-07-21 Michael Koch <konqueror@gmx.de>
3999 * javax/swing/plaf/basic/BasicButtonUI.java
4000 (paintFocus): Fixed method signature.
4001 (paintButtonPressed): Likewise.
4002 (paintButtonNormal): Likewise.
4003 (paintText): New method.
4004 * javax/swing/plaf/basic/BasicLabelUI.java
4005 (paint): Re-indented.
4006 * javax/swing/plaf/basic/BasicTextUI.java
4007 (installUI): Set parent textComponent to opaque.
4008 * javax/swing/text/DefaultHighlighter.java
4009 (checkPositions): New helper method.
4010 (addHighlight): Throws BadLocationException, check positions.
4011 (changeHighlight): Likewise.
4012 * javax/swing/text/EditorKit.java
4013 (EditorKit): Implements Serializable.
4014 * javax/swing/text/JTextComponent.java
4015 (getUI): Added javadoc.
4017 (upadteUI): Added javadoc, don't revalidate and repaint.
4019 2004-07-21 David Jee <djee@redhat.com>
4021 * java/awt/GridBagLayout.java
4022 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4023 * javax/swing/AbstractButton.java
4024 (setText): Reindent.
4025 * javax/swing/RepaintManager.java
4026 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4028 2004-07-21 Michael Koch <konqueror@gmx.de>
4030 * javax/swing/JFormattedTextField.java
4032 (JFormattedTextField): Implemented.
4033 (getValue): Likewise.
4034 (setValue): Likewise.
4035 * javax/swing/LookAndFeel.java
4036 (getSupportsWindowDecorations): New method.
4037 * javax/swing/UIDefaults.java:
4038 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4039 (addPropertyChangeListener): Made public.
4040 (addResourceBundle): Likewise.
4041 (removeResourceBundle): Likewise.
4042 (setDefaultLocale): Likewise.
4043 * javax/swing/plaf/basic/BasicRootPaneUI.java
4044 (BasicRootPaneUI): Implements PropertyChangeListener.
4045 (propertyChange): New method.
4046 * javax/swing/plaf/basic/BasicTextUI.java
4047 (BasicHighlighter): New inner class.
4048 (createHighlighter): New method.
4049 * javax/swing/plaf/basic/BasicToolBarUI.java
4050 (DragWindow): Extends java.awt.Window.
4051 * javax/swing/text/JTextComponent.java
4052 (getDocument): Removed debug output.
4053 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4054 javax/swing/text/DefaultHighlighter.java,
4055 javax/swing/text/FieldView.java,
4056 javax/swing/text/PlainView.java: New files.
4057 * Makefile.am: Added new files.
4058 * Makefile.in: Regenerated.
4060 2004-07-21 Michael Koch <konqueror@gmx.de>
4062 * javax/swing/JEditorPane.java
4063 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4064 (createEditorKitForContentType): Likewise.
4065 * javax/swing/text/DefaultEditorKit.java
4066 (serialVersionUID): Added constant field.
4067 (EndOfLineStringPropery): Fixed typo.
4068 (DefaultEditorKit): New constructor.
4069 * javax/swing/text/Segment.java:
4070 Import java.text.CharacterIterator.
4071 * javax/swing/text/CharacterIterator.java,
4072 javax/swing/text/PlainEditorKit.java: Removed.
4073 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4074 javax/swing/text/PlainEditorKit.java.
4075 * Makefile.in: Regenerated.
4077 2004-07-21 Michael Koch <konqueror@gmx.de>
4079 * javax/swing/JButton.java,
4080 javax/swing/text/DefaultEditorKit.java,
4081 javax/swing/text/EditorKit.java,
4082 javax/swing/text/Segment.java,
4083 javax/swing/text/StyledEditorKit.java:
4086 2004-07-21 Michael Koch <konqueror@gmx.de>
4088 * javax/swing/ImageIcon.java
4090 (description): Renamed from descr.
4091 (ImageIcon): Added missing constructors.
4092 (setParent): Removed.
4093 (setImageObserver): New method.
4094 (getImageObserver): New method.
4095 (paintIcon): Handle observer = null.
4096 * javax/swing/JButton.java
4097 (removeNotify): Fixed javadoc.
4098 (updateUI): Simplified.
4099 * javax/swing/JRootPane.java
4100 (serialVersionUID): New constant field.
4101 * javax/swing/UIManager.java:
4102 Fixed javadocs all over.
4103 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4104 * javax/swing/text/AbstractDocument.java
4105 (createPosition): Throws BadLocationException.
4106 (getText): Likewise.
4108 * javax/swing/text/ComponentView.java
4109 (modelToView): Likewise.
4110 * javax/swing/text/DefaultEditorKit.java:
4111 Made all public methods public.
4112 (read): Throws BadLocationException and IOException.
4114 * javax/swing/text/EditorKit.java:
4115 Made all public methods public.
4116 (serialVersionUID): New constant field.
4117 (clone): New method.
4118 (read): Throws BadLocationException and IOException.
4120 * javax/swing/text/Segment.java
4121 (array): Made public.
4124 (Segment): New constructors.
4125 (clone): Reimplemented.
4126 * javax/swing/text/StyledEditorKit.java
4127 (serialVersionUID): New constant field.
4129 2004-07-21 Graydon Hoare <graydon@redhat.com>
4131 * java/awt/image/BufferedImage.java
4132 (getSource): Implement.
4133 * javax/swing/ImageIcon.java
4134 (ImageIcon): Implement ctor.
4135 * javax/swing/ScrollPaneLayout.java
4136 (preferredLayoutSize): Be more careful about nulls.
4138 2004-07-21 Michael Koch <konqueror@gmx.de>
4140 * javax/swing/text/AttributeSet.java
4141 (CharacterAttribute): New interface
4142 (ColorAttribute): Likewise.
4143 (FontCharacterAttribute): Likewise.
4144 (ParagraphAttribute): Likewise.
4145 * javax/swing/text/DefaultCaret.java
4146 (moveCaret): New method.
4147 (positionCaret): Likewise.
4148 (repaint): Made protected.
4149 * javax/swing/text/JTextComponent.java
4150 (KeyBinding): Made it static.
4151 * javax/swing/text/View.java
4152 (getContainer): Honor parent == null.
4154 2004-07-21 Michael Koch <konqueror@gmx.de>
4156 * javax/swing/text/AbstractDocument.java:
4159 2004-07-21 Michael Koch <konqueror@gmx.de>
4161 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4162 Import javax.swing.UIManager explicitely.
4163 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4164 (ScrollingButton): Made it static.
4166 2004-07-21 Michael Koch <konqueror@gmx.de>
4168 * javax/swing/UIDefaults.java
4169 (ActiveValue): Made public.
4170 (LazyValue): Likewise.
4171 * javax/swing/plaf/basic/BasicTextUI.java
4172 (RootView): Reintroduced.
4174 (rootView): New field.
4175 (installUI): Create document if needed, initialize rootView.
4176 (uninstallUI): Hanle rootView.
4178 (getRootView): Likewise.
4179 (setView): Likewise.
4180 * javax/swing/text/DefaultCaret.java:
4181 Renamed all "evt" variables to "event".
4183 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4185 * libgcj.spec.in: Add -l-java-util-logging.
4187 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4190 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4191 gtk-xft-dpi can no calculate the right value.
4192 (dpi_changed_cb): Mark *pspec as unsused.
4194 2004-07-21 David Jee <djee@redhat.com>
4196 * java/awt/Component.java
4197 (move): Delegate to setBounds().
4199 (reshape): Fix so it repaints parent and self only when necessary.
4201 2004-07-21 David Jee <djee@redhat.com>
4203 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4205 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4206 (setVisible): Likewise.
4209 (getArgs): Likewise.
4210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4211 (property_notify_predicate): Likewise.
4212 (find_layout): Likewise.
4213 (connectJObject): Likewise.
4214 (connectSignals): Likewise.
4215 (moveLayout): Likewise.
4216 (gtkLayoutSetVisible): Likewise.
4218 2004-07-21 Graydon Hoare <graydon@redhat.com>
4224 (rmiregistry_LDADD): Add lib-java-util-logging.la
4225 * Makefile.in: Regenerate.
4227 2004-07-21 Michael Koch <konqueror@gmx.de>
4229 * javax/swing/text/AbstractDocument.java
4230 (replace): Dont use protected method of java.util.Vector directly.
4232 2004-07-21 Michael Koch <konqueror@gmx.de>
4234 * javax/swing/plaf/basic/BasicTextUI.java
4235 (installUI): Call specialized install methods.
4236 (installDefaults): New method.
4237 (installListeners): Likewise.
4238 (installKeyboardActions): Likewise.
4239 (uninstallUI): Likewise.
4240 (uninstallDefaults): New method.
4241 (uninstallListeners): Likewise.
4242 (uninstallKeyboardActions): Likewise.
4243 (getPropertyPrefix): New abstract method.
4244 (paint): Made final, just call paintSafely().
4245 (paintSavely): New method.
4246 (paintBackground): Likewise.
4247 (getVisibleEditorRect): Likewise.
4248 * javax/swing/text/LayeredHighlighter.java,
4249 javax/swing/text/TabExpander.java: New files.
4250 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4251 and javax/swing/text/TabExpander.java.
4252 * Makefile.in: Regenerated.
4254 2004-07-21 Michael Koch <konqueror@gmx.de>
4256 * javax/swing/plaf/basic/BasicTextUI.java
4257 (BasicTextUI): Made abstract.
4258 (BasicCaret): New inner class.
4259 (view): Don't explicitely initialize with "null".
4260 (textComponent): New field.
4261 (textColor): Removed.
4262 (disabledTextColor): Removed.
4263 (normalBackgroundColor): Removed.
4264 (RootView): Removed commented out inner class.
4265 (createUI): Removed.
4266 (createCaret): New method.
4267 (getComponent): Likewise.
4268 (installUI): Initialize textComponent only.
4269 (getPreferredSize): Use installed JTextComponent.
4270 (setView): New method.
4272 * javax/swing/text/JTextComponent.java
4273 (highlighter): New field.
4274 (caretColor): Likewise.
4275 (disabledTextColor): Likewise.
4276 (seletedTextColor): Likewise.
4277 (selectionColor): Likewise.
4278 (setUI): New method.
4279 (getCaretColor): Likewise.
4280 (setCaretColor): Likewise.
4281 (getDisabledColor): Likewise.
4282 (setDisabledColor): Likewise.
4283 (getSelectedTextColor): Likewise.
4284 (setSelectedTextColor): Likewise.
4285 (getSelectionColor): Likewise.
4286 (setSelectionColor): Likewise.
4287 (getHighlighter): Likewise.
4288 (setHighlighter): Likewise.
4289 (replaceSelection): Likewise.
4291 2004-07-21 Michael Koch <konqueror@gmx.de>
4293 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4294 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4295 * javax/swing/plaf/basic/BasicToolBarUI.java
4296 (BasicToolBarUI): Implements SwingConstants.
4298 2004-07-21 Michael Koch <konqueror@gmx.de>
4300 * javax/swing/JPopupMenu.java: Removed CVS tags.
4301 * javax/swing/UIDefaults.java: Reformatted.
4302 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4303 Explicitely import used classes.
4305 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4307 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4308 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4309 (GtkComponentPeer): Remove temporary try/catch block.
4310 (setVisible): Call show and hide.
4311 (show): Make native.
4313 (getArgs): Don't add "visible" argument.
4314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4315 (property_notify_predicate): Return Bool instead of int.
4316 (find_layout): New function.
4317 (connectJObject): Call find_layout.
4318 (connectSignals): Likewise.
4319 (moveLayout): Likewise.
4320 (gtkLayoutSetVisible): Likewise.
4322 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4324 * javax/swing/AbstractButton.java:
4325 (setDisplayedMnemonicIndex): Check if button
4326 text is not null before checking its length.
4327 * javax/swing/JMenuItem.java:
4328 (processMouseEvent): Disarm menu item if mouse has
4330 * javax/swing/plaf/basic/BasicMenuUI.java:
4331 (MouseInputHandler.mouseEntered): Do not raise
4332 popup menu if this menu is already selected.
4333 (MouseInputHandler.mousePressed): Do not fire
4335 (MenuHandler): Implemented.
4337 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4339 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4340 (getSelectedObjects): Implemented.
4341 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4342 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4343 Added javadoc for few methods.
4344 (processMouseEvent): Made public.
4345 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4346 (processMouseEvent): Likewise.
4348 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4350 * javax/swing/AbstractButton.java:
4351 (init): Set display mnemonic index to -1.
4352 (setMnemonic(char)): Use setMnemonic(int).
4353 (setMnemonic(int)): Set display mnemonic index.
4354 (getDisplayedMnemonicIndex): Change method signature
4355 by removing 'index' parameter.
4356 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4357 Added default for Menu.selectionBackground.
4358 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4359 (paintMenuItem): Change background color of the selected
4361 (paintText): Paint differently when menu item is disabled.
4362 Also paint mnemonic if it appears in the menu item's label.
4363 (paintAccelerator): Paint accelerator differently
4364 if menu item is disabled.
4365 * javax/swing/plaf/basic/BasicMenuUI.java:
4366 (installDefaults): Install defaults for
4367 selectionForeground and selectionBackground.
4368 (uninstallDefaults): Uninstall defauls for
4369 selectionForeground and selectionBackground.
4371 2004-07-21 Michael Koch <konqueror@gmx.de>
4373 * javax/swing/text/AbstractDocument.java
4374 (BranchElement): Implemented.
4375 (LeafElement): Implemented.
4376 * javax/swing/text/DefaultCaret.java:
4377 Import used classes.
4378 (serialVersionUID): New constant.
4379 * javax/swing/text/JTextComponent.java
4380 (AccessibleJTextComponent): Removed dead declaration.
4381 (caretPos): Removed.
4382 (setCaret): New method.
4383 * javax/swing/text/PlainDocument.java
4384 (rootElement): New field.
4385 (PlainDocument): Initialize rootElement.
4386 (createDefaultRoot): New method.
4387 (getDefaultRootElement): Implemented.
4388 * javax/swing/text/View.java: Reformatted.
4389 * javax/swing/text/ViewFactory.java
4390 (create): Added javadoc.
4392 2004-07-21 Michael Koch <konqueror@gmx.de>
4394 * javax/swing/ToolTipManager.java: Reformatted.
4396 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4398 * javax/swing/AbstractButton.java
4399 (changeEvent): New field.
4400 (fireItemStateChanged): Change source of the event
4401 to 'this' before firing it to button listeners.
4402 (fireActionPerformed): Likewise.
4403 (fireStateChanged): Likewise.
4404 (createActionListener): Do not set source
4405 of the event to AbstractButton.
4406 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4407 (ContainerHandler.componentAdded): Removed
4408 print out statement.
4409 (ContainerHandler.componentRemoved): Likewise.
4411 2004-07-21 Michael Koch <konqueror@gmx.de>
4413 * javax/swing/text/Highlighter.java: New file.
4414 * Makefile.am: Added javax/swing/text/Highlighter.java.
4415 * Makefile.in: Regenerated.
4417 2004-07-21 Michael Koch <konqueror@gmx.de>
4419 * javax/swing/ToolTipManager.java
4420 (stillInsideTimerAction): Fixed constructor arguments.
4421 (outsideTimerAction): Likewise.
4422 (insideTimerAction): Likewise.
4424 2004-07-21 Michael Koch <konqueror@gmx.de>
4426 * javax/swing/JButton.java: Reformatted.
4427 * javax/swing/JFormattedTextField.java
4428 (getUIClassID): Implemented.
4429 * javax/swing/JRootPane.java
4430 (serialVersionUID): New constant.
4431 * javax/swing/JTextField.java
4433 (JTextField): Simplified.
4434 (getUIClassID): New method.
4435 (getActionListeners): Added @since tag.
4436 (setColumns): Invalidate layout and repaint.
4437 (getHorizontalAlignment): New method.
4438 (setHorizontalAlignment): New method.
4439 (selectAll): Removed.
4440 * javax/swing/SwingUtilities.java
4441 (getAncestorOfClass): Removed redundant @see tag.
4442 (isLeftMouseButton): Fixed implementation.
4443 (isMiddleMouseButton): Likewise.
4444 (isRightMouseButton): Likewise.
4445 * javax/swing/text/AbstractDocument.java
4446 (AttributeContext.addAttribute): New method.
4447 (AttributeContext.addAttributes): New method.
4448 (AttributeContext.getEmptySet): New method.
4449 (AttributeContext.reclaim): New method.
4450 (AttributeContext.removeAttribute): New method.
4451 (AttributeContext.removeAttributes): New method.
4452 * javax/swing/text/Document.java
4453 (createPosition): Throws BadLocationException.
4454 (getText): Likewise.
4456 * javax/swing/text/JTextComponent.java
4457 (getText): Return null if no document is set. Catch
4458 BadLocationException.
4460 (updateUI): Simplified.
4462 2004-07-21 Michael Koch <konqueror@gmx.de>
4464 * javax/swing/JButton.java
4465 (removeNotify): Fixed javadoc.
4466 (updateUI): Simplified.
4468 2004-07-21 David Jee <djee@redhat.com>
4470 * gnu/java/awt/image/ImageDecoder.java
4471 (startProduction): Only add consumer if it's not added yet.
4472 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4473 (GdkPixbufDecoder): Don't call initState() here.
4474 (produce): Call initState() here, to ensure area_prepared and
4475 area_updated signals are properly connected.
4476 * gnu/java/awt/peer/gtk/GtkImage.java
4477 (setColorModel): Use equals() to compare ColorModel objects.
4478 (setPixels): Likewise.
4479 * java/awt/image/ColorModel.java
4480 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4481 * java/awt/image/RGBImageFilter.java
4482 (setColorModel): Set consumer's color model.
4483 (setPixels): Use equals() to compare ColorModel objects.
4485 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4487 * java/net/URLConnection.java (position): New field.
4488 (dateFormat1, dateFormat2, dateFormat3): Removed.
4489 (dateFormats): New field.
4490 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4491 each time instead of re-allocating.
4492 (initializeDateFormats): Initialize 'dateFormats'.
4494 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4497 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4500 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4502 * java/net/Socket.java (getImpl): Now private. Remove comment.
4504 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4506 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4507 of chained Writer when calling super-constructor.
4508 * java/io/FilterWriter.java (FilterWriter): Likewise.
4509 * java/io/PrintWriter.java (PrintWriter): Likewise.
4511 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4513 * prims.cc (process_gcj_properties): Don't increment i within LHS
4516 2004-07-19 Per Bothner <per@bothner.com>
4518 Print -verbose:message on "loading", not initialization.
4519 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4520 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4521 gcj::verbose_class_flag.
4522 * java/lang/natClass.cc (initializeClass): Don't print message here.
4523 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4524 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4525 (_Jv_PrepareCompiledClass): Likewise.
4527 2004-07-18 Matthias Klose <doko@debian.org>
4529 * configure.in: Substitute target_noncanonical.
4530 * configure: Regenerate
4532 2004-07-17 Michael Koch <konqueror@gmx.de>
4534 * java/lang/String.java: Fixed javadocs all over.
4536 2004-07-17 Mark Wielaard <mark@klomp.org>
4538 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4539 when size is smaller.
4540 * java/io/RandomAccessFile.java (setLength): Use truncate for
4541 shrinking the file and seek plus write for expanding the file.
4543 2004-07-17 Michael Koch <konqueror@gmx.de>
4545 * gnu/java/nio/channels/natFileChannelPosix.cc
4546 (implTruncate): Always save current position. Only reposition file
4547 pointer to where we started if not beyond new lenght. Reposition file
4548 pointer to file length if it points beyond the end of file.
4550 2004-07-17 Mark Wielaard <mark@klomp.org>
4552 * javax/swing/Box.java: Put FIXME comment above class declaration.
4553 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4554 * javax/swing/JCheckBox.java: Likewise.
4555 * javax/swing/JDialog.java: Likewise.
4556 * javax/swing/JRadioButton.java: Likewise.
4557 * javax/swing/JToggleButton.java: Likewise.
4558 * javax/swing/UIManager.java: Likewise.
4559 * javax/swing/border/TitledBorder.java: Likewise.
4560 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4561 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4562 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4563 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4564 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4565 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4566 * javax/swing/text/JTextComponent.java: Likewise.
4568 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4570 * java/net/DatagramPacket.java (setAddress): Removed check for
4573 2004-07-17 Michael Koch <konqueror@gmx.de>
4575 * java/net/DatagramSocket.java
4576 (getLocalAddress): Check if socket is bound or not.
4577 * java/net/Socket.java
4578 (getLocalAddrss): Check if socket is bound or not.
4579 (getPort): Return -1 when not connected. Dont check getImpl() for
4581 (setReuseAddress): Check if socket is closed.
4582 (isConnected): Check if getImpl() returns null.
4584 2004-07-17 Mark Wielaard <mark@klomp.org>
4586 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4587 on notifier object before calling notifyAll().
4589 2004-07-17 Michael Koch <konqueror@gmx.de>
4591 * gnu/java/nio/channels/FileChannelImpl.java
4592 (finalize): Added javadoc.
4594 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4596 * java/text/CollationElementIterator.java
4597 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4598 (setText): Use ArrayList instead of Vector.
4600 2004-07-17 Michael Koch <konqueror@gmx.de>
4602 * java/nio/ByteOrder.java
4603 (static): Removed. Not needed.
4604 Thanks to Patrick Reali for noticing.
4605 * java/nio/charset/CharsetDecoder.java
4606 (decode): Fix for classpath bug #9177: Reset state before flipping.
4608 2004-07-17 Michael Koch <konqueror@gmx.de>
4610 * java/security/Security.java: Fixed javadocs all over.
4612 2004-07-17 Michael Koch <konqueror@gmx.de>
4614 * gnu/java/awt/EmbeddedWindow.java
4616 (addNotify): Set peer via reflection.
4617 (setWindowPeer): Removed.
4618 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4619 * Makefile.am (nat_source_files):
4620 Removed gnu/java/awt/natEmbeddedWindow.cc.
4621 * Makefile.in: Regenerated.
4623 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4625 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4627 * configure: Regenerated.
4629 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4631 * configure.in: Use build_noncanonical rather than build_alias.
4632 * configure: Rebuild.
4634 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4635 by logic refactoring. Move default definition of NATIVE closer
4636 to first alternate definition.
4637 * configure: Regenerate.
4639 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4640 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4641 gcj/Makefile.in: Regenerate.
4642 * configure.in: Set ZIP and GCJH. Remove redundant condition
4643 in AM_CONDITIONAL(NATIVE,...)
4644 * configure: Regenerate.
4646 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4648 * configure.in: Use target_noncanonical rather than
4649 target_alias for forward-compatibility with autoconf 2.59.
4650 * configure: Regenerate.
4651 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4652 testsuite/Makefile.am: Substitute target_noncanonical.
4653 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4654 testsuite/Makefile.in: Regenerate.
4656 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4657 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4658 * acinclude.m4: Include acx.m4.
4659 * aclocal.m4: Regenerate.
4660 * configure: Regenerate.
4662 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4665 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4666 (decimalFormat): New static variable.
4668 (getTime): New. Override Date.getTime().
4669 (toString): Synchronize. Use decimalFormat to format nanos value
4670 correctly. Truncate extra zeros.
4671 (before): Compare getNanos() only if getTime() is equal.
4674 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4676 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4677 * configure.in: ...here.
4678 * aclocal.m4: Regenerate.
4679 * configure: Regenerate.
4681 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4682 * configure: Rebuilt with autoconf 2.13.
4683 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4684 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4686 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4689 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4691 * Makefile.in: Rebuilt.
4692 * testsuite/libjava.lang/LargeFile.java: New test case.
4693 * testsuite/libjava.lang/LargeFile.out: New file.
4695 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4697 * java/beans/EventHandler.java: Remove debugging statements.
4699 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4701 * java/beans/EventHandler.java: New file.
4702 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4703 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4704 testsuite/Makefile.in: Regenerate.
4706 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4708 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4709 flag to the gcj_setup.
4710 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4712 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4713 deprecation flag change. 58 XFAILS removed.
4715 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4717 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4718 -fno-use-divide-subroutine.
4719 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4720 (HANDLE_FPE): Define.
4721 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4722 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4723 (HANDLE_DIVIDE_OVERFLOW): Define.
4725 2004-07-14 Michael Koch <konqueror@gmx.de>
4726 Matthias Klose <doko@debian.org>
4728 * java/awt/im/InputContext.java: Initialize in, line.
4730 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4732 * interpret.cc (run): Correctly access libffi return values of
4733 integral smaller-than-int type; these are implicitly promoted.
4735 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4738 * interpret.cc (compile_mutex): New.
4739 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4740 (run): Lock compile_mutex before calling compile() if compilation is
4742 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4743 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4745 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4748 * include/jvm.h (_Jv_value): New union type.
4749 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4750 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4753 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4755 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4756 * gnu/awt/xlib/XOffScreenImage.java
4757 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4758 constructor argument. Add constructor using ImageProducer.
4759 (getSource): Implement.
4760 (imageComplete): New method.
4761 (setColorModel): New method.
4762 (setDimensions): New method.
4763 (setHints): New method.
4764 (setPixels): New method.
4765 (setProperties): New method.
4766 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4767 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4769 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4772 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4773 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4774 (finalizerReady): Now native.
4776 (runFinalizers): Removed.
4777 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4778 a primitive lock, and don't hold it while running the finalizers.
4779 (runFinalizers): Implement. Don't aquire any Java lock.
4780 (finalizerReady): Use lock primitives to signal finalizer thread.
4782 2004-07-11 Mark Wielaard <mark@klomp.org>
4784 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4785 * java/net/URLStreamHandler.java (parseURL): When url file part
4786 doesn't contain a '/' just ignore context.
4788 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4790 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4791 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4792 (MAKE_THROW_FRAME): Do not modify PSW address.
4793 (INIT_SEGV): Install SIGINFO-style signal handler.
4794 (INIT_FPE): Likewise.
4796 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4798 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4799 status. 21 xfail's removed, 1 added.
4801 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4803 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4805 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4807 * java/text/MessageFormat.java
4808 (formatInternal): Append "{n}" if argument n is unavailable.
4809 (format(Object, StringBuffer, FieldPosition)): This
4810 should be equivalent to format(Object[],
4811 StringBuffer, FieldPosition).
4813 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4815 * java.util.Calendar.java (cache): New private static field. Cached
4816 mappings of locales->calendar classes.
4817 (ctorArgTypes): New private static field. Singleton argument for
4818 calendar class constructor lookup.
4819 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4820 Optimize by bypassing reflection instantiation for the
4821 GregorianCalendar case.
4823 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4825 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4826 ResourceBundle.getBundle() calls.
4827 * java/util/GregorianCalendar.java: Likewise.
4828 * java/util/Currency.java: Likewise.
4829 * java/text/BreakIterator.java: Likewise.
4830 * java/text/Collator.java: Likewise.
4831 * java/text/DateFormat.java: Likewise.
4832 * java/text/DateFormatSymbols.java: Likewise.
4833 * java/text/DecimalFormatSymbols.java: Likewise.
4834 * java/text/NumberFormat.java: Likewise.
4835 * java/awt/Window.java: Likewise.
4837 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4839 * java/util/ResourceBundle.java (bundleCache): Renamed from
4840 resourceBundleCache. Update comments.
4841 (getObject): Don't catch MissingResourceException.
4842 (getBundle(String)): Remove 'final'. Use system classloader if
4843 getCallingClassLoader returned null.
4844 (getBundle(String, Locale)): Likewise.
4845 (BundleKey): New private class. HashMap key for bundle cache lookup.
4846 (lookupKey): New. Singleton instance of BundleKey.
4847 (nullEntry): New. Cache entry to represent failed lookups.
4848 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4849 caching strategy, no-allocation lookup, and new tryBundle methods.
4850 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4851 name using given classloader.
4852 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4853 baseName for given Locale and attempt to load bundle.
4855 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4857 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4858 illegal protected method calls.
4860 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4862 Fix or remove some bogus test cases.
4863 * testsuite/libjava.compile/pr10459_2.java: Removed.
4864 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4866 * testsuite/libjava.compile/inner_data.java: Test against its own
4869 2004-07-09 Michael Koch <konqueror@gmx.de>
4871 * scripts/unicode-muncher.pl: Updated to version 2.1
4872 from GNU classpath. Added some clarifications on where to find the
4873 needed files from www.unicode.org.
4874 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4875 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4876 Removed, these can directly be downloaded from www.unicode.org if
4878 * gnu/java/lang/CharData.java: Regenerated.
4879 * include/java-chartables.h: Regenerated.
4880 * Makefile.am (ordinary_java_source_files):
4881 Removed gnu/java/lang/CharData.java.
4882 * Makefile.in: Regenerated.
4884 2004-07-09 Michael Koch <konqueror@gmx.de>
4886 * java/security/AccessControlContext.java,
4887 java/security/SecureClassLoader.java:
4890 2004-07-09 Michael Koch <konqueror@gmx.de>
4892 * java/io/ObjectInputStream.java (readFields): Use long datatype
4893 when shifting byte values more then 24 bits left.
4895 2004-07-09 Michael Koch <konqueror@gmx.de>
4897 * java/util/zip/DeflaterOutputStream.java,
4898 java/util/zip/GZIPInputStream.java,
4899 java/util/zip/GZIPOutputStream.java,
4900 java/util/zip/InflaterInputStream.java:
4901 Reformatted. Added javadocs. Reordered all stuff.
4902 Renamed variables to be more clear.
4904 2004-07-09 Michael Koch <konqueror@gmx.de>
4906 * javax/imageio/IIOException.java,
4907 javax/imageio/event/IIOReadProgressListener.java,
4908 javax/imageio/event/IIOReadUpdateListener.java,
4909 javax/imageio/event/IIOReadWarningListener.java,
4910 javax/imageio/event/IIOWriteProgressListener.java,
4911 javax/imageio/event/IIOWriteWarningListener.java:
4913 * Makefile.am: Added new files.
4914 * Makefile.in: Regenerated.
4916 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4918 * java/text/RuleBasedCollator.java
4919 (mergeRules): Use ArrayList instead of Vector.
4920 (subParseString): likewise.
4921 (parseString): likewise.
4922 (buildCollationVector): likewise.
4923 (getCollationKey): likewise.
4925 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4927 * java/text/DateFormat.java (parse):
4928 Improved javadoc. Improved exception message.
4930 2004-07-09 Mark Wielaard <mark@klomp.org>
4932 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4933 interrupted() method to clear interupt flag of our Thread.
4935 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4937 * java/nio/Buffer.java,
4938 java/nio/ByteBuffer.java,
4939 java/nio/ByteBufferHelper.java,
4940 java/nio/ByteBufferImpl.java,
4941 java/nio/CharBuffer.java,
4942 java/nio/CharBufferImpl.java,
4943 java/nio/CharViewBufferImpl.java,
4944 java/nio/DirectByteBufferImpl.java,
4945 java/nio/DoubleBuffer.java,
4946 java/nio/DoubleBufferImpl.java,
4947 java/nio/DoubleViewBufferImpl.java,
4948 java/nio/FloatBuffer.java,
4949 java/nio/FloatBufferImpl.java,
4950 java/nio/FloatViewBufferImpl.java,
4951 java/nio/IntBuffer.java,
4952 java/nio/IntBufferImpl.java,
4953 java/nio/IntViewBufferImpl.java,
4954 java/nio/LongBuffer.java,
4955 java/nio/LongBufferImpl.java,
4956 java/nio/LongViewBufferImpl.java,
4957 java/nio/MappedByteBufferImpl.java,
4958 java/nio/ShortBuffer.java,
4959 java/nio/ShortBufferImpl.java,
4960 java/nio/ShortViewBufferImpl.java:
4961 Fixed javadocs all over. Improved input error
4964 * java/nio/Buffer.java
4965 (checkForUnderflow, checkForOverflow, checkIndex,
4966 checkIfReadOnly, checkArraySize): New helper methods
4969 * java/nio/ByteBufferHelper.java
4970 (checkRemainingForRead, checkRemainingForWrite,
4971 checkAvailableForRead, checkAvailableForWrite): Removed
4972 no longer needed methods.
4974 2004-07-09 Michael Koch <konqueror@gmx.de>
4976 * gnu/regexp/CharIndexedInputStream.java:
4977 Reordered imports to match classpath.
4979 2004-07-09 Michael Koch <konqueror@gmx.de>
4981 * gnu/java/awt/EmbeddedWindow.java:
4982 Load native library for setWindowPeer method.
4984 2004-07-08 Randolph Chung <tausq@debian.org>
4986 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4987 * configure: Regenerate.
4988 * configure.host: Set can_unwind_signal for hppa*-linux.
4989 * include/pa-signal.h: New file.
4991 2004-07-07 Per Bothner <per@bothner.com>
4993 * Makefile.am: Add rules to build libgij from just gij.cc.
4995 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4996 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4997 (initializeClass): If verbose_class_flag, print message.
4998 * gij.cc (main): Handle -verbose:class flag.
5000 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5002 * configure.host: Enable hash synchronization on Darwin.
5003 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5004 ';', since this is a comment on Darwin.
5005 (compare_and_swap_release): Likewise.
5007 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5009 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5010 file portion of URL in addition to spec for file: protocol.
5012 2004-07-05 Anthony Green <green@redhat.com>
5014 * java/io/File.java (toURI): Merge from Classpath.
5016 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5018 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5019 before passing to URL constructor. Rethrow any MalformedURLException
5020 as a RuntimeException. Catch MalformedURLException specifically, not
5023 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5025 * java/util/Locale.java (readObject): Intern strings read from object
5028 2004-07-04 Michael Koch <konqueror@gmx.de>
5030 * gnu/gcj/runtime/FirstThread.java,
5031 gnu/gcj/runtime/natFirstThread.cc: Removed.
5032 * gnu/java/lang/MainThread.java,
5033 gnu/java/lang/natMainThread.cc: New files.
5034 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5035 * Makefile.am: Added new files and removed deleted ones.
5036 * Makefile.in: Regenerated.
5038 2004-07-03 Mark Wielaard <mark@klomp.org>
5039 Anthony Green <green@redhat.com>
5041 * java/net/URL.java (getFile): Clarify return value doc.
5042 (getPath): Return null if file is empty - not empty String.
5043 (set): Convert protocol to lower case before doing anything.
5044 Only change the protocol handler if it's different.
5046 2004-07-03 Anthony Green <green@redhat.com>
5048 * java/net/URL.java (URL): Convert protocol to lower case before
5049 doing anything, so we getURLStreamHandler() with the proper value.
5051 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5053 * java/util/Locale.java (hashcode): Made transient.
5054 (hashCode): No longer synchronized.
5055 (equals): Remove comment.
5056 (writeObject): No longer synchronized. Implement using writeObject
5057 calls instead of tweaking hashCode field. Update doc.
5058 (readObject): Implement using readObject calls.
5060 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5061 Andreas Tobler <a.tobler@schweiz.ch>
5063 * configure.host (powerpc-*-darwin*): New case, define
5065 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5066 * configure: Regenerate.
5067 * include/darwin-signal.h: New.
5069 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5071 * java/beans/Statement.java (doExecute): Fix formatting.
5073 2004-06-29 Per Bothner <per@bothner.com>
5075 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5076 etc etc): Remove needless parenthesis, which causes __stdcall__
5077 attribute on MinGW to get ignored.
5079 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5081 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5083 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5085 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5087 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5089 * java/beans/Expression.java: New file.
5090 * java/beans/Statement.java: New file.
5091 * Makefile.am: Added new files.
5092 * Makefile.in: Re-generate.
5094 2004-06-27 Mark Wielaard <mark@klomp.org>
5096 * java/io/FilePermission.java (usingPerms): Removed.
5097 (actionsString): Made final.
5098 (cachePerms): Renamed to checkPerms.
5099 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5101 (FilePermission): Check arguments, call checkPerms().
5102 (equals): Remove cachePerms() call.
5103 (implies): Likewise.
5105 2004-06-27 Mark Wielaard <mark@klomp.org>
5107 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5109 (sendRequest): Use new field in user-agent http agent.
5111 2004-06-27 Mark Wielaard <mark@klomp.org>
5113 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5114 when argument is null.
5116 2004-06-26 Mark Wielaard <mark@klomp.org>
5118 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5119 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5121 (cancel_clicked): Likewise.
5123 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5126 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5127 can not calculate the right value.
5128 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5130 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5132 * testsuite/libjava.jacks/jacks.xfail: Remove
5133 15.9.1-qualified-concrete-20.
5135 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5137 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5138 encoding name to iconv.
5139 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5141 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5144 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5145 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5146 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5148 2004-06-21 Andrew Haley <aph@redhat.com>
5150 * java/io/ObjectOutputStream.java: Add DEBUG statements
5152 (dumpElementln): New method.
5154 * java/io/ObjectInputStream.java
5155 (currentClassLoader): Make native.
5156 (callersClassLoader): New field.
5158 (readObject): ENDBLOCKDATA is generated if the class has a write
5159 method, not if it has a read method.
5160 (readObject): Save and restore this.currentObject and
5161 this.currentObjectStreamClass around calls to callReadMethod().
5162 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5165 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5167 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5170 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5172 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5173 if desired, before the default class loader is initialised.
5174 Call INIT_SEGV only if HANDLE_SEGV is defined.
5176 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5178 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5179 directory only if it actually exists.
5181 2004-06-18 Graydon Hoare <graydon@redhat.com>
5183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5184 Fix up non-ansi comments.
5186 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5188 * javax/swing/text/AbstractDocument.java: Adding missing import
5189 for javax.swing.event.EventListenerList.
5190 * javax/swing/text/DefaultCaret.java: Likewise.
5192 2004-06-17 Michael Koch <konqueror@gmx.de>
5194 * javax/swing/JToolBar.java
5196 (JToolBar): Use Component.setName(String) instead of doing it all
5198 * javax/swing/Timer.java
5199 (queueEvent): Added missing modifier.
5201 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5203 * Makefile.am: Added new file.
5204 * Makefile.in: Re-generate.
5205 * javax/swing/JMenu.java:
5206 (insertSeparator): Implemented.
5207 * javax/swing/JPopupMenu.java:
5208 (JPopupMenu.Separator): Implemented.
5209 * javax/swing/MenuSelectionManager.java:
5210 (processMouseEvent): Use java.awt.Component
5211 for event source instead of javax.swing.JComponent.
5212 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5213 New File. Implemented.
5215 2004-06-16 David Jee <djee@redhat.com>
5217 * java/awt/GridBagLayout.java
5218 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5219 Make sure pos_x and pos_y are never negative.
5221 2004-04-16 Andrew Overholt <overholt@redhat.com>
5223 * Makefile.am: Add new file.
5224 * Makefile.in: Re-generate.
5225 * javax/swing/JToolBar.java
5226 Partially implemented.
5227 * javax/swing/plaf/basic/BasicToolBarUI.java
5228 New file. Partially implemented.
5230 2004-06-16 Graydon Hoare <graydon@redhat.com>
5232 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5233 (setComposite): Accept AlphaComposite arguments.
5234 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5235 (createBufferedImage): Add new overloads.
5236 * gnu/java/awt/peer/gtk/GtkToolkit.java
5237 (createImage): Use GdkPixbufDecoder.createBufferedImage
5238 when useGraphics2D() is true.
5239 (getImage): Delegate to createImage.
5240 * javax/swing/JList.java
5242 (getFirstVisibleIndex):
5243 (getLastVisibleIndex):
5245 (ensureIndexIsVisible): New methods.
5246 * javax/swing/Timer.java: Reimplement.
5248 2004-06-16 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/text/AbstractDocument.java
5251 (AbstracElement): Made public, implements java.io.Serializable.
5252 (AttributeContext): Made public.
5253 (BranchElement): Likewise.
5254 (Content): Likewise.
5255 (DefaultDocumentEvent): Made public, extends
5256 javax.swing.undo.CompoundEdit.
5257 (ElementEdit): Made public, extends
5258 javax.swing.undo.AbstractUndoableEdit.
5259 (LeafElement): Made public.
5260 (LeafElement.LeafElement): Made public.
5262 2004-06-16 Michael Koch <konqueror@gmx.de>
5264 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5265 methods (that were obviously never be intended to get included hi this
5266 class. Added some methods too.
5268 2004-06-16 Michael Koch <konqueror@gmx.de>
5270 * javax/swing/text/PlainDocument.java
5271 (serialVersionUID): New constant.
5272 (lineLimitAttribute): Likewise.
5273 (tabSizeAttribute): Likewise.
5274 (tabSize): New field.
5275 (PlainDocument): Made public.
5276 (PlainDocument): New constructor.
5278 2004-06-16 Michael Koch <konqueror@gmx.de>
5280 * javax/swing/text/AbstractDocument.java
5281 (insertString): Throws BadLocationException.
5282 * javax/swing/text/Document.java
5283 (insertString): Likewise.
5284 * javax/swing/text/JTextComponent.java:
5285 Javadocs and comments cleaned up.
5287 2004-06-16 Michael Koch <konqueror@gmx.de>
5289 * javax/swing/event/UndoableEditListener.java: Reformatted.
5290 * javax/swing/text/AbstractDocument.java
5291 (AbstractDocument): Implements java.io.Serializable.
5292 (doc_list): Removed.
5293 (undo_list): Removed.
5294 (AbstractElement.serialVerionUID): New field.
5295 (BranchElement.serialVerionUID): Likewise.
5296 (DefaultDocumentEvent.serialVerionUID): Likewise.
5297 (ElementEdit.serialVerionUID): Likewise.
5298 (LeafElement.serialVerionUID): Likewise.
5299 (serialVerionUID): Likewise.
5300 (BAD_LOCATION): New constant.
5301 (BidiElementName): Likewise.
5302 (ContentElementName): Likewise.
5303 (ParagraphElementName): Likewise.
5304 (SectionElementName): Likewise.
5305 (ElementNameAttribute): Likewise.
5306 (AbstractDocument): Made protected.
5307 (AbstractDocument): New construtor.
5308 (listenerList): New field.
5309 (fireChangedUpdate): Implemented.
5310 (fireInsertUpdate): Likewise.
5311 (fireRemoveUpdate): Likewise.
5312 (fireUndoableEditUpdate): Likewise.
5313 (getListeners): Likewise.
5314 (addDocumentListener): Likewise.
5315 (removeDocumentListener): Likewise.
5316 (addUndoableEditListener): Likewise.
5317 (removeUndoableEditListener): Likewise.
5318 (getDocumentListeners): New method.
5319 (getUndoableEditListeners): Likewise.
5320 (getAsynchronousLoadPriority): Made public.
5321 (getBidiRootElement): Likewise.
5322 (setAsynchronousLoadPriority): Likewise.
5323 (setDocumentProperties): Likewise.
5324 * javax/swing/text/BadLocationException.java
5325 (serialVerionUID): New field.
5326 * javax/swing/text/DefaultCaret.java
5327 (changeEvent): New field.
5328 (listenerList): Likewise.
5330 (addChangeListener): Reimplemented.
5331 (removeChangeListener): Likewise.
5332 (getListeners): New method.
5333 (getChangeListeners): Likwise.
5334 (getComponent): Likewise.
5335 * javax/swing/text/GapContent.java
5336 (GapContent): Implements java.io.Serializable.
5337 (serialVerionUID): New field.
5339 2004-06-16 Michael Koch <konqueror@gmx.de>
5341 * javax/swing/JTree.java
5342 (treeModel): New field.
5343 (JTree): New constructors, one existing one made public.
5344 (createTreeModel): New method.
5345 (addTreeExpansionListener): Likewise.
5346 (removeTreeExpansionListener): Likewise.
5347 (getTreeExpansionListeners): Likewise.
5348 (fireTreeCollapsed): Likewise.
5349 (fireTreeExpanded): Likewise.
5350 (addTreeSelectionListener): Likewise.
5351 (removeTreeSelectionListener): Likewise.
5352 (getTreeSelectionListeners): Likewise.
5353 (fireValueChanged): Likewise.
5354 (addTreeWillExpandListener): Likewise.
5355 (removeTreeWillExpandListener): Likewise.
5356 (getTreeWillExpandListeners): Likewise.
5357 (fireTreeWillCollapse): Likewise.
5358 (fireTreeWillExpand): Likewise.
5360 2004-06-16 Michael Koch <konqueror@gmx.de>
5362 * javax/swing/JTree.java: Reformatted.
5364 2004-06-16 Michael Koch <konqueror@gmx.de>
5366 * javax/swing/JTextArea.java: New file.
5367 * javax/swing/JTextField.java
5369 (notifyAction): New constant.
5370 (columns): New field.
5371 (JTextField): New constructors.
5372 (createDefaultModel): New method.
5373 (addActionListener): Reimplmemented.
5374 (removeActionListener): Reimplemented.
5375 (getActionListeners): New method.
5376 (fireActionPerformed): New method.
5377 (getColumns): New method.
5378 (setColumne): New method.
5379 * javax/swing/text/JTextComponent.java
5380 (AccessibleJTextComponent.serialVersionUID): New field.
5381 (serialVersionUID): Likewise.
5382 (DEFAULT_KEYMAP): Likewise.
5383 (FOCUS_ACCELERATOR_KEY): Likewise.
5384 (doc): Made private.
5385 (icon_gap): Likewise.
5388 (JTextComponent): Some constructors removed.
5389 (getScrollableTracksViewportHeight): New method.
5390 (getScrollableTracksViewportWidth): Likewise.
5391 * Makefile.am: Added javax/swing/JTextArea.java.
5392 * Makefile.in: Regenerated.
5394 2004-06-15 Graydon Hoare <graydon@redhat.com>
5396 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5397 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5398 * javax/swing/JViewport.java
5399 (getExtentSize): Return size rather than preferred size.
5400 (toViewCoordinates): New methods.
5401 (getViewSize): Return size rather than preferred size.
5402 (setViewSize): Note view size as set.
5403 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5404 * javax/swing/plaf/basic/BasicScrollBarUI.java
5405 (getPreferredSize): Don't redo layout.
5406 * javax/swing/plaf/basic/BasicViewportUI.java
5407 (paint): Translate image properly and eat exceptions.
5409 2004-06-15 Kim Ho <kho@redhat.com>
5411 * javax/swing/JTabbedPane.java
5412 (setComponent): Remove old component and
5414 (setSelectedIndex): Don't operate on the
5415 components if they're null. Don't set index
5416 on the model if the index is the same.
5417 (insertTab): Don't add or hide the component
5418 if it's null. Repaint the container.
5419 * javax/swing/plaf/basic/BasicLookAndFeel.java
5420 Change colors for TabbedPane.
5421 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5422 (mousePressed): Re-layout and paint the component.
5423 (layoutContainer): Don't set location on the view.
5424 (ScrollingViewport::paint): Remove.
5426 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5429 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5432 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5433 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5435 (drawLine): Call gdk_flush before leaving GDK critical region.
5436 (fillRect): Likewise.
5437 (drawRect): Likewise.
5438 (copyArea): Likewise.
5439 (copyPixmap): Likewise.
5440 (clearRect): Likewise.
5441 (drawArc): Likewise.
5442 (drawPolyline): Likewise.
5443 (drawPolygon): Likewise.
5444 (fillPolygon): Likewise.
5445 (fillArc): Likewise.
5446 (drawOval): Likewise.
5447 (fillOval): Likewise.
5449 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5451 (GdkFontMetrics): Add style argument to initState call.
5452 (stringWidth(String,int,int,String)): Add style parameter.
5453 (stringWidth(String)): Add style argument to stringWidth call.
5454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5455 (initState): Set pango font style and weight based on AWT style
5456 parameter. Pass default GTK language to
5457 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5458 simply dividing by PANGO_SCALE.
5459 (stringWidth): Set pango font style and weight based on AWT style
5462 * java/awt/Button.java (next_button_number): New field.
5463 (paramString): Change output.
5464 (generateName): New method.
5465 (getUniqueLong): New method.
5467 2004-06-14 Kim Ho <kho@redhat.com>
5469 * javax/swing/JTabbedPane.java:
5470 (setComponentAt): Set the component, not
5472 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5473 (actionPerformed): Let deiconize catch exception.
5475 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5477 * javax/swing/JPopupMenu.java:
5478 (setVisible): Corrected location of a
5479 heavyweight popup menu.
5481 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5483 * javax/swing/MenuSelectionManager.java:
5484 Ran through jalopy to fix formatting style.
5486 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5488 * javax/swing/JLayeredPane.java:
5489 (remove): Revalidate and repaint layered pane after
5490 the component was removed.
5491 javax/swing/JMenu.java:
5492 (setVisible): Display popup menu at the user location,
5493 if one was set by the user.
5494 (setMenuLocation): Reimplemented. Fixed javadoc.
5495 * javax/swing/JMenuBar.java: Added javadoc.
5496 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5497 (MODEL_CHANGED_PROPERTY): New Property.
5498 (isSelected): Implemented.
5499 (setBorderPainted): Fire PropertyChangeEvent
5500 if paintBorder property changes.
5501 (setSelected): Implemented.
5502 (setSelectionModel): Implemented.
5503 * javax/swing/JPopupMenu.java: Added Javadoc
5504 (pack): Implemented.
5505 (setVisible): Reimplemented.
5506 (show): Fixed location.
5507 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5508 Container instead of JPanel.
5509 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5510 (clearSelectedPath): Reimplemented to clear selectedPath
5512 (processMouseEvent): Reimplemented.
5513 (setSelectedPath): Fire stateChange event indicating that
5514 selected menu path has changed.
5515 (getPath): Change to use ArrayList instead of Vector.
5516 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5517 (installUI): call installKeyboardActions().
5518 (uninstallUI): call uninstallKeyboardActions().
5520 2004-06-13 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/text/DefaultCaret.java,
5523 javax/swing/text/BadLocationException.java:
5526 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5528 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5529 DEFAULT_COLS): New variables.
5530 (create): Don't allow 0 rows or 0 columns. Instead, set the
5531 values to DEFAULT_ROWS or DEFAULT_COLS.
5532 (getMinimumSize): Likewise.
5533 (getPreferredSize): Likewise.
5534 (minimumSize): Likewise.
5535 (preferredSize): Likewise.
5536 (create): Set peer's editable state.
5537 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5538 zero. Update javadocs.
5539 (TextArea(String)): Likewise.
5540 (TextArea(int,int)): Fix javadocs.
5541 (TextArea(String,int,int,int)): Only throw exception if one of
5542 rows or columns is zero. Fix javadocs.
5544 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5546 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5547 addition to Components.
5549 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5550 wasn't consumed by normal processing, send it to the parent
5553 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5554 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5557 2004-06-11 David Jee <djee@redhat.com>
5559 * java/awt/MediaTracker.java
5560 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5561 (addImage(Image,int,int,int)): Likewise.
5563 2004-06-11 Michael Koch <konqueror@gmx.de>
5565 * javax/swing/text/AbstractDocument.java,
5566 javax/swing/text/Document.java,
5567 javax/swing/text/GapContent.java,
5568 javax/swing/text/JTextComponent.java,
5569 javax/swing/text/PlainDocument.java:
5572 2004-06-11 Michael Koch <konqueror@gmx.de>
5574 * javax/swing/JRootPane.java
5575 (AccessibleJRootPane.serialVersionUID): New field.
5576 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5577 (AccessibleJRootPane.getAccessibleRole): New method.
5578 (RootLayout): Implements Serializable.
5579 (RootLayout.serialVersionUID): New field.
5580 (RootLayout.RootLayout): New constructor.
5581 (setJMenuBar): Made public.
5582 (getJMenuBar): Likewise.
5583 (JRootPane): Likewise.
5584 (createContentPane): Likewise.
5585 (createGlassPane): Likewise.
5586 (createLayeredPane): Likewise.
5588 2004-06-11 Michael Koch <konqueror@gmx.de>
5590 * javax/swing/SwingUtilities.java
5591 (isLeftMouseButton): Fixed javadoc.
5592 (isMiddleMouseButton): Likewise.
5593 (isRightMouseButton): Likewise.
5595 2004-06-11 Michael Koch <konqueror@gmx.de>
5597 * javax/swing/JScrollPane.java
5598 (serialVersionUID): New field.
5599 (columnHeader): Made protected.
5600 (rowHeader): Likewise.
5601 (lowerLeft): Likewise.
5602 (lowerRight): Likewise.
5603 (upperLeft): Likewise.
5604 (upperRight): Likewise.
5605 (horizontalScrollBar): Likewise.
5606 (horizontalScrollBarPolicy): Likewise.
5607 (verticalScrollBar): Likewise.
5608 (verticalScrollBarPolicy): Likewise.
5609 (viewport): Likewise.
5611 2004-06-11 Michael Koch <konqueror@gmx.de>
5613 * javax/swing/LookAndFeel.java: Fixed javadocs.
5615 2004-06-11 Michael Koch <konqueror@gmx.de>
5617 * javax/swing/JEditorPane.java: Fixed javadocs.
5618 (JEditorPane): Removed redundant call to to this().
5619 (fireHyperlinkUpdate): Implemented.
5621 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5623 * javax/swing/JMenu.java: Fixed file name
5624 in the file comment.
5626 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5628 * javax/swing/JMenu.java: Added javadoc.
5629 (JMenu): Added MenuChangeListener to listen to
5630 ChangeEvents occuring in menu's model.
5631 (insert): Throw IllegalArgumentException if
5632 index is less than 0
5633 (setSelected): Reimplement.
5634 (setPopupMenuVisible): Call menu's model isEnabled()
5635 (setDelay): Throw IllegalArgumentException if
5636 given amount of delay is less than 0.
5637 (createActionComponent): Implemented.
5638 (createActionChangeListener): Implemented.
5639 (addSeparator): Implemented.
5640 (getItem): Throw IllegalArgumentException if index is
5642 (getItemCount): Implemented.
5643 (fireMenuSelected): Changed to use menuEvent.
5644 (fireMenuDeselected): Likewise.
5645 (fireMenuCanceled): Likewise.
5646 (setAccelerator): Changed to throw an error if this
5648 (doClick): Implemented.
5649 (JMenu.ActionChangedListener): New inner class to handle
5650 PropertyChangeEvents occuring in the actions associated with menu.
5651 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5652 (BasicMenuUI): Added PropertyChangeListener to the menu.
5653 (createChangeListener): Implemented.
5654 (createMenuDragMouseListener): Likewise.
5655 (createMenuKeyListener): Likewise.
5656 (createPropertyChangeListener): Likewise.
5657 (uninstallListeners): Likewise.
5658 (BasicMenuUI.MouseInputHandler): Reimplemented.
5659 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5660 (BasicMenuUI.ChangeHandler): Likewise.
5661 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5662 (BasicMenuUI.MenuKeyHandler): Likewise.
5664 2004-06-10 David Jee <djee@redhat.com>
5666 * java/awt/MediaTracker.java
5667 (imageUpdate): Only do notifyAll() if the image is complete.
5669 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5671 * javax/swing/JApplet.java:
5672 (getJMenuBar): Made public.
5673 (setJMenuBar): Likewise.
5674 * javax/swing/JFrame.java:
5675 (getJMenuBar): Made public.
5676 (setJMenuBar): Likewise.
5677 * javax/swing/JWindow.java:
5678 (getJMenuBar): Removed.
5679 (setJMenuBar): Removed.
5681 2004-06-10 Michael Koch <konqueror@gmx.de>
5683 * javax/swing/JEditorPane.java
5684 (createEditorKitForContentType): Fixed visibility.
5685 (fireHyperlinkUpdate): Likewise.
5686 (getContentType): Likewise.
5687 (getEditorKit): Likewise.
5688 (getEditorKitForContentType): Likewise.
5689 (getPage): Likewise.
5691 (registerEditorKitForContentTyoe): Likewise.
5692 (replaceSelection): Likewise.
5693 (setContentType): Likewise.
5694 (setEditorKit): Likewise.
5695 (setPage): Likewise.
5697 2004-06-10 Michael Koch <konqueror@gmx.de>
5699 * javax/swing/Timer.java
5700 (Timer): New constructor.
5701 * javax/swing/plaf/basic/BasicProgressBarUI.java
5702 (animationTimer): Don't initialize at construction.
5703 (startAnimationTimer): Added since tag.
5704 (stopAnimationTimer): Likewise.
5705 (installUI): Use new Timer constructor.
5706 * javax/swing/plaf/basic/BasicScrollBarUI.java
5707 (installUI): Likewise.
5708 * javax/swing/plaf/basic/BasicSliderUI.java
5709 (installUI): Likewise.
5711 2004-06-10 Michael Koch <konqueror@gmx.de>
5713 * javax/swing/ButtonGroup.java
5714 (serialVersionUID): Made private.
5715 (buttons): Renamed from v, added javadoc.
5716 (sel): Added javadoc.
5717 (ButtonGroup): Likewise.
5720 (getElements): Likewise.
5721 (getSelection): Likewise.
5722 (setSelected): Likewise.
5723 (isSelected): Likewise.
5724 (getButtonCount): Likewise.
5726 2004-06-10 Michael Koch <konqueror@gmx.de>
5728 * javax/swing/ButtonGroup.java,
5729 javax/swing/ImageIcon.java,
5730 javax/swing/JEditorPane.java,
5731 javax/swing/JRootPane.java,
5732 javax/swing/JTextField.java,
5733 javax/swing/LookAndFeel.java,
5734 javax/swing/plaf/basic/BasicTextUI.java:
5737 2004-06-10 Michael Koch <konqueror@gmx.de>
5739 * javax/swing/text/Style.java: Added javadocs.
5741 2004-06-10 Michael Koch <konqueror@gmx.de>
5743 * javax/swing/JComponent.java
5744 (fireVetoableChange): Removed redundant cast.
5745 * javax/swing/JLabel.java
5746 (getDisabledIcon): Save icon for next call.
5748 2004-06-10 Michael Koch <konqueror@gmx.de>
5750 * javax/swing/KeyStroke.java
5751 (getKeyStroke(char,boolean)): Marked deprecated.
5753 2004-06-10 Michael Koch <konqueror@gmx.de>
5755 * javax/swing/DefaultCellEditor.java,
5756 javax/swing/GrayFilter.java,
5757 javax/swing/event/DocumentEvent.java,
5758 javax/swing/text/JTextComponent.java,
5759 javax/swing/text/MutableAttributeSet.java:
5762 2004-06-10 Michael Koch <konqueror@gmx.de>
5764 * javax/swing/plaf/BorderUIResource.java:
5765 Added serialVersionUID all over.
5767 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5769 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5771 2004-06-10 Michael Koch <konqueror@gmx.de>
5773 * javax/swing/table/DefaultTableCellRenderer.java
5774 (noFocusBorder): Initialize directly.
5776 2004-06-10 Michael Koch <konqueror@gmx.de>
5778 * javax/swing/plaf/basic/BasicArrowButton.java
5779 (setDirection): Use method argument.
5781 2004-06-10 Michael Koch <konqueror@gmx.de>
5783 * javax/swing/plaf/BorderUIResource.java,
5784 javax/swing/plaf/ComponentUI.java,
5785 javax/swing/undo/CompoundEdit.java,
5786 javax/swing/undo/StateEdit.java:
5787 Fixed javadocs all over.
5789 2004-06-10 Michael Koch <konqueror@gmx.de>
5791 * javax/swing/DefaultButtonModel.java
5792 (ARMED): Made public final, fixed value.
5793 (ENABLED): Likewise.
5794 (PRESSED): Likewise.
5795 (ROLLOVER): Likewise.
5796 (SELECTED): Likewise.
5797 (stateMask): Initialize directly.
5798 (listenerList): Likewise.
5799 (mnemonic): Likewise.
5800 (fireStateChanged): Removed argument, use changeEvent as event.
5801 All places where this method is called are fixed too.
5802 (getActionCommant): Fixed javadoc.
5803 (setGroup): Fixed javadoc.
5804 (getGroup): New method.
5806 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5808 * javax/swing/AbstractButton.java
5809 (AbstractButton): Use init() to initialize the button.
5810 (init): New Method. Initializes AbstractButton.
5811 * javax/swing/JMenuItem.java: Documented.
5812 (JMenuItem): Reimplemented.
5813 (init): Implemented.
5814 (setEnabled): Changed to call super.setEnabled()
5815 (processMouseEvent): Reimplemented.
5816 (fireMenuKeyPressed): Implemented.
5817 (fireMenuKeyReleased): Implemented.
5818 (fireMenuKeyTyped): Implemented.
5819 (menuSelectionChanged): disarm the model if the menu item was
5821 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5822 (getPath): Change to use ArrayList instead of Vector.
5823 (getPreferredSize): Renamed variable.
5824 (paintMenuItem): Paint margin area of menu item.
5825 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5826 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5827 menu item's bounds before clearing the selection.
5829 2004-06-09 David Jee <djee@redhat.com>
5831 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5832 (GtkTextComponentPeer): Set caret position to 0.
5833 * java/awt/TextComponent.java
5834 (setText): Set caret position to 0.
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5836 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5837 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5838 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5841 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5844 2004-06-09 Kim Ho <kho@redhat.com>
5846 * Makefile.am: New files
5847 * Makefile.in: Regenerated
5848 * java/awt/Container.java
5849 (getComponentAt): Removed.
5850 * javax/swing/AbstractAction.java
5851 (ENABLED_PROPERTY): New property.
5852 (putValue): Fire PropertyChangeEvents.
5853 (setEnabled): ditto.
5854 (firePropertyChange): Javadoc and implement
5856 * javax/swing/AbstractButton.java
5857 (setAction): Don't create PropertyChangeListener
5858 if new Action is null.
5859 (setIcon): Don't set icon till after comparing
5861 (configurePropertiesFromAction): Check mnemonic
5862 key before calling intValue().
5863 (createActionPropertyChangeListener): Check
5864 properties rather than bulk change.
5865 * javax/swing/DefaultDesktopManager.java:
5867 * javax/swing/DesktopManager.java:
5869 * javax/swing/JComponent.java
5870 (fireVetoableChange): Implement.
5871 (paintImmediately): Use root component.
5872 * javax/swing/JDesktopPane.java: Implement
5873 * javax/swing/JInternalFrame.java: Implement
5874 * javax/swing/JLabel.java
5875 (getDisabledIcon): Return grayscaled icon if
5876 no disabled icon specified.
5877 * javax/swing/JMenuBar.java
5878 (getComponentAtIndex): Use getComponent
5879 * javax/swing/JOptionPane.java
5880 (getDesktopPaneForComponent): Use SwingUtilities'
5882 (getFrameForComponent): ditto.
5883 * javax/swing/JSplitPane.java
5884 (remove): Use getComponent.
5885 * javax/swing/SwingUtilities.java
5886 (convertPoint): Implement.
5887 * javax/swing/plaf/basic/BasicButtonUI.java
5888 (paintButtonNormal): Check opaqueness before
5890 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5892 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5894 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5896 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5898 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5899 Change InternalFrame and Desktop colors.
5901 2004-06-09 David Jee <djee@redhat.com>
5903 * java/awt/Container.java
5904 (remove): Do not set component to invisible.
5906 2004-06-09 Michael Koch <konqueror@gmx.de>
5908 * javax/swing/tree/DefaultMutableTreeNode.java
5909 (getLeafCount): Renamed enum to e.
5911 2004-06-09 Michael Koch <konqueror@gmx.de>
5913 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5914 (positionForMouseEvent): Removed redundant semicolon.
5915 (continueDrag): Use method arguments.
5917 2004-06-09 Michael Koch <konqueror@gmx.de>
5919 * javax/swing/border/TitledBorder.java,
5920 javax/swing/filechooser/FileSystemView.java,
5921 javax/swing/plaf/basic/BasicButtonListener.java,
5922 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5923 javax/swing/plaf/basic/BasicLabelUI.java,
5924 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5925 javax/swing/plaf/basic/BasicScrollBarUI.java,
5926 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5927 javax/swing/plaf/basic/BasicSliderUI.java,
5928 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5929 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5930 javax/swing/table/JTableHeader.java,
5931 javax/swing/text/AbstractDocument.java,
5932 javax/swing/text/DefaultCaret.java,
5933 javax/swing/text/StyledEditorKit.java,
5934 javax/swing/tree/DefaultTreeCellEditor.java:
5935 Reworked import statements.
5937 2004-06-08 Graydon Hoare <graydon@redhat.com>
5939 * javax/swing/Box.java: Temporarily comment out code
5940 broken due to visibility bug.
5942 2004-06-09 Michael Koch <konqueror@gmx.de>
5944 * javax/swing/ImageIcon.java
5945 (ImageIcon): Added missing constructor.
5947 2004-06-08 Michael Koch <konqueror@gmx.de>
5949 * javax/swing/JToggleButton.java
5950 (JToggleButton): New constructor.
5951 (getAccessibleContext): Moved documentation into javadoc.
5952 (getUIClassID): Likewise.
5954 2004-06-08 Michael Koch <konqueror@gmx.de>
5956 * javax/swing/AbstractButton.java
5957 (getDisabledIcon): Create disabled icon if none exists yet.
5959 2004-06-08 Michael Koch <konqueror@gmx.de>
5961 * javax/swing/plaf/basic/BasicLookAndFeel.java
5962 (initClassDefaults): Added FormattedTextFieldUI.
5963 (loadResourceBundle): Renamed enum to e.
5965 2004-06-08 Michael Koch <konqueror@gmx.de>
5967 * javax/swing/plaf/basic/BasicButtonUI.java
5968 (paintIcon): Simplified.
5969 (paintText): Paint disabled button correctly.
5971 2004-06-08 Michael Koch <konqueror@gmx.de>
5973 * javax/swing/JComponent.java
5974 (createToolTip): Use official JToolTip API.
5976 2004-06-08 Michael Koch <konqueror@gmx.de>
5978 * javax/swing/JToolTip.java
5979 (JToolTip): No arguments in API.
5980 (setTipText): New method.
5982 2004-06-08 Michael Koch <konqueror@gmx.de>
5984 * javax/swing/SwingUtilities.java
5985 (isLeftMouseButton): New method.
5986 (isMiddleMouseButton): New method.
5987 (isRightMouseButton): New method.
5989 2004-06-08 Michael Koch <konqueror@gmx.de>
5991 * javax/swing/AbstractButton.java,
5992 javax/swing/CellRendererPane.java,
5993 javax/swing/JCheckBoxMenuItem.java,
5994 javax/swing/JColorChooser.java,
5995 javax/swing/JComboBox.java,
5996 javax/swing/JComponent.java,
5997 javax/swing/JDesktopPane.java,
5998 javax/swing/JFileChooser.java,
5999 javax/swing/JMenu.java,
6000 javax/swing/JMenuItem.java,
6001 javax/swing/JOptionPane.java,
6002 javax/swing/JPasswordField.java,
6003 javax/swing/JPopupMenu.java,
6004 javax/swing/JProgressBar.java,
6005 javax/swing/JRadioButtonMenuItem.java,
6006 javax/swing/JScrollBar.java,
6007 javax/swing/JSeparator.java,
6008 javax/swing/JSlider.java,
6009 javax/swing/JSplitPane.java,
6010 javax/swing/JTabbedPane.java,
6011 javax/swing/JTextField.java,
6012 javax/swing/JToolBar.java,
6013 javax/swing/text/JTextComponent.java:
6014 Fixed all constructors of accessibility classes.
6016 2004-06-08 Michael Koch <konqueror@gmx.de>
6018 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6021 2004-06-08 Michael Koch <konqueror@gmx.de>
6023 * javax/swing/Box.java
6024 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6025 (AccessibleBoxFiller.serialVersionUID): New member variable.
6026 * javax/swing/DefaultButtonModel.java
6027 (stateMask): Made protected.
6028 (listenerList): Likewise.
6029 (changeEvent): Likewise.
6031 (mnemonic): Likewise.
6032 (actionCommand): Likewise.
6033 (getListeners): New method.
6034 (getActionListeners): New method.
6035 (getItemListeners): New method.
6036 (getChangeListeners): New method.
6037 (fireItemStateChanged): Simplified.
6038 (fireActionPerformed): Simplified.
6039 (fireStateChanged): Simplified.
6040 * javax/swing/JFrame.java
6041 (JFrame): Implements WindowContants.
6042 (HIDE_ON_CLOSE): Removed.
6043 (EXIT_ON_CLOSE): Removed.
6044 (DISPOSE_ON_CLOSE): Removed.
6045 (DO_NOTHING_ON_CLOSE): Removed.
6046 (processWindowEvent): Exit with code 0.
6047 (setDefaultCloseOperation): Do security check before setting value.
6048 * javax/swing/JOptionPane.java
6049 (message): Initialize only in constructor.
6050 * javax/swing/JToolTip.java: Removed unused imports.
6051 * javax/swing/JViewport.java
6052 (serialVersionUID): New member variable.
6053 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6054 (BLIT_SCROLL_MODE): Likewise.
6055 (BACKINGSTORE_SCROLL_MODE): Likewise.
6056 (scrollUnderway): Made protected.
6057 (isViewSizeSet): Likewise.
6058 * javax/swing/ListModel.java: Fixed javadoc.
6059 * javax/swing/Popup.java: Likewise.
6060 * javax/swing/RepaintManager.java
6061 (paintDirtyRegions): Don't use internal classes of
6062 java.util.AbstractMap.
6063 * javax/swing/ScrollPaneConstants.java: Reindented.
6064 * javax/swing/ScrollPaneLayout.java
6065 (viewport): Made protected.
6066 (verticalScrollBar): Made protected, renamed to vsb.
6067 (horizontalScrollBar): Made protected, renamed to hsb.
6068 (rowHeader): Made protected, renamed to rowHead.
6069 (columnHeader): Made protected, renamed to colHead.
6070 (lowerLeft): Made protected.
6071 (lowerRight): Made protected.
6072 (upperLeft): Made protected.
6073 (upperRight): Made protected.
6074 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6075 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6077 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6079 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6080 LOADING if flags has SOMEBITS set.
6082 2004-06-07 Michael Koch <konqueror@gmx.de>
6084 * javax/swing/AbstractButton.java: Reorganized imports.
6085 * javax/swing/ActionMap.java: Likewise.
6086 * javax/swing/DefaultButtonModel.java: Likewise.
6087 * javax/swing/DefaultListModel.java: Likewise.
6088 * javax/swing/ImageIcon.java: Likewise.
6089 (serialVersionUID): New member variable.
6090 * javax/swing/JComboBox.java: Reorganized imports.
6091 * javax/swing/JComponent.java: Likewise.
6092 (ui): Made protected.
6093 (listenerList): Made protected.
6094 (TOOL_TIP_TEXT_KEY): New constant.
6095 (scrollRectToVisible): Removed redundant null check.
6096 * javax/swing/JFrame.java: Reorganized imports.
6097 * javax/swing/JInternalFrame.java: Reorganized imports.
6098 * javax/swing/JProgressBar.java: Likewise.
6099 * javax/swing/JRootPane.java: Likewise.
6100 * javax/swing/JScrollBar.java: Likewise.
6101 * javax/swing/JSeparator.java: Likewise.
6102 * javax/swing/JSlider.java: Likewise.
6103 * javax/swing/JTabbedPane.java: Likewise.
6104 * javax/swing/JTextField.java: Likewise.
6105 * javax/swing/JToolBar.java: Likewise.
6106 * javax/swing/JTree.java: Likewise.
6107 * javax/swing/JViewport.java: Likewise.
6108 * javax/swing/JWindow.java: Likewise.
6109 * javax/swing/KeyStroke.java: Likewise.
6110 * javax/swing/LookAndFeel.java: Likewise.
6111 * javax/swing/MenuSelectionManager.java: Likewise.
6112 * javax/swing/SwingUtilities.java: Likewise.
6113 * javax/swing/Timer.java: Likewise.
6114 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6115 * javax/swing/JList.java
6116 (HORIZONTAL_WRAP): Made final, fixed value.
6117 (VERTICAL): Likewise.
6118 (VERTICAL_WRAP): Likewise.
6120 2004-06-07 Michael Koch <konqueror@gmx.de>
6122 * javax/swing/AbstractButton.java
6123 (serialVersionUID): New member variable.
6124 (AccessibleAbstractButton.serialVersionUID): Likewise.
6125 (AbstractButton): Made public.
6126 * javax/swing/Box.java
6127 (AccessibleBox.serialVersionUID): New member variable.
6128 (Filler.serialVersionUID): Likewise.
6129 * javax/swing/DefaultListSelectionModel.java
6130 (serialVersionUID): Likewise.
6131 * javax/swing/JApplet.java
6132 (serialVersionUID): Likewise.
6133 * javax/swing/JCheckBox.java
6134 (serialVersionUID): Likewise.
6135 * javax/swing/JCheckBoxMenuItem.java
6136 (serialVersionUID): Likewise.
6137 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6138 * javax/swing/JColorChooser.java
6139 (serialVersionUID): Likewise.
6140 (AccessibleJColorChooser.serialVersionUID): Likewise.
6141 * javax/swing/JComponent.java
6142 (serialVersionUID): Made private.
6143 (AccessibleJComponent.serialVersionUID): New member variable.
6144 * javax/swing/JDesktopPane.java
6145 (serialVersionUID): Likewise.
6146 * javax/swing/JDialog.java
6147 (serialVersionUID): Likewise.
6148 * javax/swing/JFormattedTextField.java
6149 (serialVersionUID): Fixed value.
6150 * javax/swing/JFrame.java
6151 (serialVersionUID): New member variable.
6152 (getDefaultCloseOpertation): Made public.
6153 * javax/swing/JLayeredPane.java
6154 (serialVersionUID): Likewise.
6155 (LAYER_PROPERTY): Made final, fixed value.
6156 (JLayeredPane): Made public.
6157 * javax/swing/JMenu.java
6158 (AccessibleJMenu.serialVersionUID): New member variable.
6159 (WinListener.serialVersionUID): Likewise.
6160 * javax/swing/JMenuBar.java
6161 (serialVersionUID): Likewise.
6162 (getComponentAtIndex): Added @deprecated tag.
6163 * javax/swing/JMenuItem.java
6164 (serialVersionUID): New member variable.
6165 (AccessibleJMenuItem.serialVersionUID): Likewise.
6166 * javax/swing/JOptionPane.java
6167 (serialVersionUID): Likewise.
6168 (AccessibleJOptionPane.serialVersionUID): Likewise.
6169 * javax/swing/JPopupMenu.java
6170 (serialVersionUID): Likewise.
6171 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6172 (getPopupMenuListeners): New method.
6173 (getComponentAtIndex): Added @deprecated tag.
6174 * javax/swing/JProgressBar.java
6175 (serialVersionUID): New member variable.
6176 (AccessibleJProgressBar.serialVersionUID): Likewise.
6177 * javax/swing/JRadioButton.java
6178 (serialVersionUID): Likewise.
6179 * javax/swing/JRadioButtonMenuItem.java
6180 (serialVersionUID): Likewise.
6181 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6182 * javax/swing/JScrollBar.java
6183 (serialVersionUID): Likewise.
6184 (AccessibleJScrollBar.serialVersionUID): Likewise.
6185 * javax/swing/JSeparator.java
6186 (serialVersionUID): Likewise.
6187 (AccessibleJSeparator.serialVersionUID): Likewise.
6188 * javax/swing/JSlider.java: Fixed javadocs.
6189 (AccessibleJSlider.serialVersionUID): New member variable.
6190 * javax/swing/JSplitPane.java: Added copyright statement.
6191 (serialVersionUID): New member variable.
6192 (AccessibleJSplitPane.serialVersionUID): Likewise.
6193 * javax/swing/JTabbedPane.java
6194 (serialVersionUID): Likewise.
6195 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6196 (ModelListener.serialVersionUID): Likewise.
6197 (ModelListener.ModelListener): New constructor.
6198 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6199 (WRAP_TAB_LAYOUT): Likewise.
6200 * javax/swing/JTable.java
6201 (serialVersionUID): New member variable.
6202 * javax/swing/JToggleButton.java
6203 (serialVersionUID): Likewise.
6204 (ToggleButtonModel): Made static.
6205 (ToggleButtonModel.serialVersionUID): New member variable.
6206 * javax/swing/JToolTip.java
6207 (serialVersionUID): Likewise.
6208 * javax/swing/JTree.java
6209 (serialVersionUID): Likewise.
6210 * javax/swing/JWindow.java
6211 (serialVersionUID): Likewise.
6212 * javax/swing/Timer.java
6213 (serialVersionUID): Likewise.
6215 2004-06-06 Michael Koch <konqueror@gmx.de>
6217 * javax/swing/SwingConstants.java
6218 (NEXT): New constant.
6219 (PREVIOUS): Likewise.
6220 * javax/swing/UIManager.java
6221 (LookAndFeel): Made public.
6222 (LookAndFeel.getClassName): Likewise.
6223 (LookAndFeel.getName): Likewise.
6225 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6227 * javax/swing/JCheckBoxMenuItem.java:
6229 * javax/swing/JMenu.java: Likewise.
6230 * javax/swing/JMenuBar.java: Likewise.
6231 * javax/swing/JMenuItem.java: Likewise.
6232 * javax/swing/JPopupMenu.java: Likewise.
6233 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6234 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6235 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6236 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6237 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6238 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6239 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6241 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6243 * javax/swing/plaf/basic/BasicMenuUI.java:
6244 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6245 Call getPath() from super class instead.
6247 2004-05-31 David Jee <djee@redhat.com>
6249 * java/awt/Container.java
6250 (remove): Set component visibility to false after removing it.
6252 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6254 * java/awt/Component.java (getForeground): Return SystemColor if
6256 (getBackground): Likewise.
6258 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6259 (item_highlighted): New function.
6260 (connectSignals): Set item_highlighted as list's select
6263 * java/applet/Applet.java: Revert changes from 2004-04-29,
6264 2004-03-15 and 2004-03-14.
6266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6267 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6270 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6271 "Dialog" as the default font.
6272 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6274 * java/awt/Component.java (getFont): Return "Dialog" font by
6276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6277 Multiply size argument to pango_font_description_set_size by the
6278 DPI conversion factor rather than by PANGO_SCALE.
6279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6289 Divide baseline y coordinate by DPI conversion factor rather
6290 than by PANGO_SCALE.
6291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6292 (area_prepared): Fix typo.
6293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6294 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6296 (dpi_conversion_factor): New global variable.
6297 (init_dpi_conversion_factor): New function to calculate and
6298 track DPI conversion factor.
6299 (dpi_changed_cb): New callback.
6300 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6302 2004-05-27 David Jee <djee@redhat.com>
6304 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6305 (getGraphics): Return a new GdkGraphics instance.
6306 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6307 (getGraphics): Call super.getGraphics().
6309 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6312 (setNativeBounds): Clamp width and height values to >= 0.
6314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6315 (find_fg_color_widget): Handle GtkOptionMenu specially.
6317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6318 (pre_event_handler): Only post configure events to visible
6321 2004-05-26 David Jee <djee@redhat.com>
6323 * java/awt/BorderLayout.java
6324 (layoutContainer): Fix size calculations.
6326 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6329 (window_wm_protocols_filter): Remove function.
6330 (create): Remove filter that removes WM_TAKE_FOCUS client
6333 2004-06-17 Anthony Green <green@redhat.com>
6335 * java/util/zip/ZipFile.java (getInputStream): Return null if
6338 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6339 directory contents to the class path.
6341 2004-06-15 Andrew Haley <aph@redhat.com>
6343 * java/lang/natSystem.cc (getenv0): Don't assume environment
6344 variable is Latin 1 coded.
6346 2004-06-14 Andreas Jaeger <aj@suse.de>
6348 * configure.in: Support --enable-version-specific-runtime-libs.
6349 * configure: Regenerated.
6351 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6353 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6354 to pass ClassLoader argument.
6355 * java/util/GregorianCalendar.java: Likewise.
6356 * java/util/Currency.java: Likewise.
6357 * java/text/BreakIterator.java: Likewise.
6358 * java/text/Collator.java: Likewise.
6359 * java/text/DateFormat.java: Likewise.
6360 * java/text/DateFormatSymbols.java: Likewise.
6361 * java/text/DecimalFormatSymbols.java: Likewise.
6362 * java/text/NumberFormat.java: Likewise.
6363 * java/awt/Window.java: Likewise.
6365 2004-06-14 Andrew Haley <aph@redhat.com>
6367 * java/lang/System.java: (getenv0): New method.
6368 (getenv): Add security check. Do the right thing.
6369 * java/lang/natSystem.cc (getenv0): New method.
6371 2004-06-12 Mark Wielaard <mark@klomp.org>
6373 * javax/swing/RepaintManager.java
6374 (paintDirtyRegions): Use entrySet(), not values().
6376 2004-06-10 Mark Wielaard <mark@klomp.org>
6378 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6381 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6383 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6384 when we already know the answer.
6385 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6386 (setStartRule,setEndRule): Don't take abs of day number.
6387 (getOffset): Clarify docs. Add argument checks.
6388 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6389 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6392 2004-06-10 Tom Tromey <tromey@redhat.com>
6394 * interpret.cc (run): Handle wide fload.
6396 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6398 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6400 2004-06-05 Michael Koch <konqueror@gmx.de>
6402 * javax/swing/SwingConstants.java
6403 (NEXT): New constant.
6404 (PREVIOUS): Likewise.
6406 2004-06-05 Michael Koch <konqueror@gmx.de>
6408 * javax/swing/UIManager.java
6409 (LookAndFeel): Made public.
6410 (LookAndFeel.getName): Likewise.
6411 (LookAndFeel.getClassName): Likewise.
6413 2004-06-03 Michael Koch <konqueror@gmx.de>
6415 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6416 (requestFocus): Revert last changes.
6417 (gtkRequestFocus): Removed.
6418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6419 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6421 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6422 Reverted last patch.
6423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6424 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6425 Reverted comment change.
6427 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6429 * javax/swing/JCheckBoxMenuItem.java:
6431 * javax/swing/JMenu.java: Likewise.
6432 * javax/swing/JMenuBar.java: Likewise.
6433 * javax/swing/JMenuItem.java: Likewise.
6434 * javax/swing/JPopupMenu.java: Likewise.
6435 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6436 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6437 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6438 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6439 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6440 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6441 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6443 2004-06-01 Tom Tromey <tromey@redhat.com>
6445 * java/io/ObjectStreamField.java: Cleaned up imports.
6447 2004-06-01 Michael Koch <konqueror@gmx.de>
6449 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6451 2004-06-01 Mark Wielaard <mark@klomp.org>
6453 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6455 2004-06-01 Michael Koch <konqueror@gmx.de>
6457 * java/security/Security.java
6458 (insertProviderAt): Use equals() instead of ==.
6459 (removeProvicer): Likewise.
6460 (getProvider): Likewise.
6461 * java/security/Signature.java
6462 (sign): Don't set state to UNINITIALIZED.
6465 2004-06-01 Mark Wielaard <mark@klomp.org>
6467 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6468 Implement by calling gtkRequestFocus.
6469 (gtkRequestFocus): New native method.
6470 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6471 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6473 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6475 (filter_expose_event_handler):
6477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6478 (menu_pos): Mark static.
6480 2004-06-01 Michael Koch <konqueror@gmx.de>
6482 * java/text/CollationElementIterator.java,
6483 java/text/CollationKey.java,
6484 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6485 * testsuite/libjava.mauve/xfails: Removed all
6486 java.text.CollationElementIterator tests.
6488 2004-06-01 Michael Koch <konqueror@gmx.de>
6490 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6492 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6493 Java 1.5 keyword usage.
6495 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6497 * javax/swing/plaf/basic/BasicMenuUI.java:
6498 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6499 Call getPath() from super class instead.
6501 2004-05-31 Michael Koch <konqueror@gmx.de>
6503 * java/io/SequenceInputStream.java:
6504 Rename enum to e because enum is a keyword in Java 1.5.
6506 2004-05-31 Michael Koch <konqueror@gmx.de>
6508 * gnu/java/rmi/rmic/CompilerProcess.java:
6509 Fixed javadoc to by XHTML compliant.
6511 2004-05-30 Mark Wielaard <mark@klomp.org>
6513 * java/awt/Toolkit.java (loadSystemColors): Implement.
6515 2004-05-30 Michael Koch <konqueror@gmx.de>
6517 * java/lang/System.java: Reordered imports.
6519 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6521 * java/text/DecimalFormat.java
6522 (parse): Fixed parsing of decimal strings. Number of maximum
6523 digits to be read should now work.
6524 * java/text/SimpleDateFormat.java
6525 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6526 formatter. This fixes DateFormatTest.
6528 2004-05-30 Michael Koch <konqueror@gmx.de>
6530 * java/nio/Buffer.java
6531 (limit): Fixed off by one error.
6532 * java/nio/CharBuffer.java
6533 (wrap): Fixed arguments, added javadocs.
6535 2004-05-30 Michael Koch <konqueror@gmx.de>
6537 * gnu/java/beans/BeanInfoEmbryo.java,
6538 java/awt/im/InputContext.java,
6539 javax/swing/tree/DefaultMutableTreeNode.java:
6540 Rename enum to e because enum is a keyword in Java 1.5.
6542 2004-05-30 Michael Koch <konqueror@gmx.de>
6544 * gnu/java/math/MPN.java,
6545 java/awt/geom/Arc2D.java:
6546 Fixed javadocs all over.
6548 2004-05-30 Michael Koch <konqueror@gmx.de>
6550 * java/awt/DefaultKeyboardFocusManager.java
6551 (dispatchEvent): Call method to get key event dispatchers.
6552 (dispatchKeyEvent): Call method to get key event post processors.
6553 * javax/swing/JComponent.java
6554 (listenerList): Made protected.
6555 * javax/swing/JOptionPane.java
6556 (message): Don't initialize.
6557 (JOptionPane): Set message text.
6558 * javax/swing/JPopupMenu.java
6559 (show): Fixed typo in argument name.
6560 * javax/swing/RepaintManager.java
6561 (paintDirtyRegions): Use public API of java.util.Map.
6562 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6563 (positionForMouseEvent): Removed redundant ';'.
6564 (continueDrag): Use method arguments.
6566 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6568 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6571 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6573 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6575 * gnu/gcj/RawDataManaged.java: New file.
6576 * java/lang/Thread.java (data): Declare as RawDataManaged.
6577 * java/lang/natThread.cc (init_native): Cast natThread data to
6578 RawDataManaged, not jobject.
6579 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6580 * Makefile.in: Rebuilt.
6582 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6584 * java/util/SimpleTimeZone.java: Reverting my last change until I
6585 can fix it properly.
6587 2004-05-27 Michael Koch <konqueror@gmx.de>
6589 * javax/swing/JPopupMenu.java
6590 (isVisible): Do not use visible directly.
6591 (setVisible): Likewise.
6592 * javax/swing/JWindow.java
6593 (JWindow): call accessible constructor.
6594 * javax/swing/RepaintManager.java
6595 (paintDirtyRegions): Use public methods to obtain iterator.
6597 2004-05-25 David Jee <djee@redhat.com>
6599 * java/awt/Container.java
6600 (remove): Set component's parent to null only after we removed the
6601 component from its parent's layout manager.
6603 2004-05-25 David Jee <djee@redhat.com>
6605 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6606 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6608 * gnu/java/awt/peer/gtk/GtkListPeer.java
6609 (getSize): Change native method declaration.
6610 (minimumSize): Pass visible row count into getSize().
6611 (preferredSize): Likewise.
6612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6613 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6614 natural size. Use visible row count to determine the final height
6617 2004-05-21 Graydon Hoare <graydon@redhat.com>
6619 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6620 (setClip): Minor correction to order of operations.
6622 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6623 * javax/swing/ScrollPaneLayout.java: Likewise.
6624 * javax/swing/JViewPort.java: Likewise.
6625 * javax/swing/ViewportLayout.java: Likewise.
6627 * javax/swing/JComponent.java: Rewrite.
6628 * javax/swing/RepaintManager.java: Likewise.
6630 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6631 * javax/swing/JList.java
6632 (setSelectedIndices):
6633 (getSelectedIndices):
6634 (getSelectedValues): New functions.
6635 (getPreferredScrollableViewportSize): Return preferred size.
6636 (getScrollableUnitIncrement):
6637 (getScrollableBlockIncrement): Initial implementations.
6638 * javax/swing/JRootPane.java: Clean up slightly.
6643 (isValidateRoot): Add overrides from JComponent.
6644 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6645 * javax/swing/UIManager.java (getDimension): Return the dimension.
6647 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6648 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6649 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6650 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6651 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6652 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6653 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6654 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6655 Likewise, and set background.
6656 * javax/swing/plaf/basic/BasicListUI.java:
6657 Likewise, and improve a bit.
6658 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6659 Likewise, and adjust calculations.
6660 * javax/swing/plaf/basic/BasicViewportUI.java:
6661 Likewise, and improve a bit.
6662 * javax/swing/plaf/basic/BasicLookAndFeel.java
6663 (Button.margin): Shrink.
6665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6666 Hack to set horizontal always, workaround pango.
6668 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6670 Synchronize more often, check cairo status after ops,
6671 handle changes to cairo pattern API, check for disposal.
6673 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6675 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6676 (BasicMenuItemUI): Create propertyChangeListener.
6677 (getPath):Implemented.
6678 (installListeners): Add propertyChangeListener to menuItem.
6679 (uninstallListeners): Remove propertyChangeListener from menuItem.
6680 (update): Implemented.
6681 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6682 (mouseEntered): Take insets of popup menu into account when
6683 calculating position of popup menu.
6685 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6687 * Makefile.am: Added new file.
6688 * Makefile.in: Regenerate.
6689 * javax/swing/JMenuBar.java:
6690 Started implementation.
6691 * javax/swing/JPopupMenu.java:
6692 (setVisible): Fixed location of lightweight/mediumweight
6694 (show): Fixed location of PopupMenu.
6695 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6696 New file. UI Delegate for JMenuBar.
6697 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6698 (mouseEntered): Corrected position of the submenu.
6700 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6703 to _gtk_accel_group_attach.
6704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6707 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6708 package access. Don't override setFont.
6709 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6710 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6711 gtkWidgetRequestFocus package access.
6712 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6714 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6715 Give gtkWidgetRequestFocus package access.
6716 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6717 gtkWidgetRequestFocus package access. Don't override setFont.
6718 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6721 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6723 (gtkSetFont): Likewise.
6724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6727 (gtkSetFont): Whitespace fix.
6729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6730 (gtkWidgetSetUsize): Remove method.
6732 2004-05-18 David Jee <djee@redhat.com>
6734 * java/awt/image/MemoryImageSource.java
6735 (newPixels(int,int,int,int,boolean)): Set only the specified
6736 rectangle of pixels.
6737 (newPixels(byte[],ColorModel,int,int)): Implement.
6738 (newPixels(int[],ColorModel,int,int)): Implement.
6740 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6742 * Makefile.am: Added new file.
6743 * Makefile.in: Regenerate.
6744 * javax/swing/JMenu.java: Started
6746 * javax/swing/JPopupMenu.java:
6747 (insert): If specified index is -1, then
6748 add component at the end.
6749 (isPopupTrigger): Reimplemented.
6750 (JPopupMenu.LightWeightPopup): setBounds
6751 of the lightWeightPopup before adding it
6753 (javax/swing/plaf/basic/BasicIconFactory.java):
6754 (getMenuArrowIcon): Implemented.
6755 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6756 (getPreferredSize): Add size of the arrow icon
6757 if this menu item is instance of JMenu.
6758 (paintMenuItem): Paint arrow icon if this
6759 menu item is a submenu.
6760 * javax/swing/plaf/basic/BasicMenuUI.java:
6761 New File. UI Delegate for JMenu.
6763 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6765 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6766 Post KEY_TYPED events.
6767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6768 (generates_key_typed_event): Remove function.
6770 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6772 * javax/swing/JRootPane.java
6773 (JRootPane.RootLayout): Reimplemented to
6774 set bounds of contentPane and menuBar.
6775 (setJMenuBar): Add menu bar to the layered pane.
6776 (createLayeredPane): Set layout of layeredPane
6778 * javax/swing/JLayeredPane.java:
6779 (addImpl): Calculate index of the component in the
6780 layeredPane according to the specified position within
6783 2004-05-17 David Jee <djee@redhat.com>
6785 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6786 (setPixels): Change color model to the default model after
6788 * java/awt/image/MemoryImageSource.java
6789 (newPixels): Set only the specified rectangle of pixels.
6791 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6793 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6794 -l-java-beans -l-javax-accessibility -l-javax-swing.
6796 * java/awt/AWTEvent.java (toString): Print source's name rather
6797 than the source itself.
6799 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6801 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6804 (gdk_color_to_java_color): New function.
6805 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6807 2004-05-12 David Jee <djee@redhat.com>
6809 * java/awt/image/RGBImageFilter.java:
6810 Initialize origmodel as null.
6811 (makeColor): Fix pixel component order.
6812 (filterRGBPixels): Fix pixel iteration.
6813 (setPixels): Add extra checks for index color model. Convert pixels
6814 to default color model if necessary.
6815 (convertColorModelToDefault): New override method for byte pixels.
6816 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6817 (makeColorbyDefaultCM): New override method for byte pixels.
6818 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6819 (makeColor): Fix pixel component order.
6821 2004-05-11 Kim Ho <kho@redhat.com>
6823 * javax/swing/Box.java:
6824 Comment out more parts of Box.Filler.
6826 2004-05-11 Kim Ho <kho@redhat.com>
6828 * javax/swing/Box.java:
6829 Remove reference to AccessibleAWTComponent so
6832 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6834 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6835 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6836 implementation of list peer to use GtkTreeView instead of
6837 deprecated GtkCList.
6839 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6841 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6842 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6843 (handleEvent): Remove keyChar argument to
6844 gtkWidgetDispatchKeyEvent calls.
6845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6852 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6854 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6855 (gtkWidgetRequestFocus): Mark protected.
6856 (GtkComponentPeer): Only set the peer's bounds if its component
6858 * java/awt/Component.java (static): Set the default keyboard
6860 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6861 requestFocusInWindow(temporary)): Don't request focus if the
6862 component is not showing. Get tree lock before traversing
6863 component hierarchy.
6864 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6865 Only set the global focus owner if it is not a Window.
6866 (processKeyEvent): Consume keystrokes associated with the focus
6867 traversal keystroke.
6868 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6869 downFocusCycle): Call requestFocusInWindow instead of
6871 * java/awt/EventDispatchThread.java (run): Move setting of
6872 default keyboard focus manager to Component.java.
6873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6874 (awt_keycode_to_keysym): New function.
6875 (gtkWidgetDispatchKeyEvent): Finish implementation.
6876 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6877 (pre_event_handler): Add FIXME comment.
6879 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6880 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6881 (gtkWidgetRequestFocus): New method.
6882 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6883 disable Tab and Shift-Tab keystrokes.
6884 (addNotify, appendText, insertText, replaceText): Simplify peer
6886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6887 (connectSignals): Remove connections to "commit" signals.
6888 Remove C++-style comments.
6890 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6891 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6892 (handleEvent): Activate GTK button when the space bar key is
6894 (gtkActivate): New method.
6896 2004-05-06 David Jee <djee@redhat.com>
6898 * java/awt/image/CropImageFilter.java
6899 (setPixels): Implement for byte array pixels.
6900 * java/awt/image/ReplicateScaleFilter.java
6901 (setPixels): Implement for byte array pixels.
6902 (replicatePixels): Overload for byte array pixels.
6904 2004-05-06 Kim Ho <kho@redhat.com>
6906 * javax/swing/Box.java:
6907 (getAccessibleContext): Return an instance of the
6910 2004-05-05 David Jee <djee@redhat.com>
6912 * gnu/java/awt/peer/gtk/GdkGraphics.java
6913 (drawImage): When component is null, use SystemColor.window as
6914 the default bgcolor.
6915 * gnu/java/awt/peer/gtk/GtkImage.java
6916 (setPixels): We can avoid iterating through the pixel rows only
6918 * java/awt/Image.java
6919 (getScaledInstance): Partially implement.
6920 * java/awt/image/CropImageFilter.java
6921 (setProperties): Fix "filter" property.
6922 (setPixels): Implement.
6923 * java/awt/image/ReplicateScaleFilter.java
6924 (setDimensions): Use scaled dimensions.
6925 (setPixels): Implement.
6926 (replicatePixels): New method.
6928 2004-05-05 David Jee <djee@redhat.com>
6930 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6931 (convertPixels): If either pixels or model is null, return null.
6932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6933 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6934 is null, do nothing and return.
6936 2004-05-03 Kim Ho <kho@redhat.com>
6938 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6939 (getGraphics): Like GtkFramePeer, the Graphics
6940 object needs to be translate to account for
6942 (postMouseEvent): New method. Account for
6944 (postExposeEvent): ditto.
6945 * javax/swing/Box.java: Stubbed.
6946 * javax/swing/JDialog.java: Ran through jalopy
6948 (JDialog): Call SwingUtilities' getOwnerFrame
6950 (setLayout): Check isRootPaneCheckingEnabled
6951 * javax/swing/JOptionPane.java: Re-implemented.
6952 * javax/swing/SwingUtilities.java:
6953 (getOwnerFrame): Static method to grab a default
6954 owner frame for Dialogs that don't specify owners.
6955 * javax/swing/event/SwingPropertyChangeSupport.java:
6956 (firePropertyChange): Fix early exit condition.
6957 * javax/swing/plaf/basic/BasicLabelUI.java:
6958 (paint): Avoid painting text if it is null
6960 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6963 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6965 * Makefile.am: Added new file.
6966 * Makefile.in: Regenerate.
6967 * javax/swing/JPopupMenu.java:
6968 Started implementation.
6969 * javax/swing/JWindow.java
6970 (JWindow): call super() if parent for window
6972 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6973 New File. UI Delegate for JPopupMenu.
6975 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6977 * javax/swing/JApplet.java: Indicated that JApplet
6978 implements RootPaneContainer and made method of this
6980 * javax/swing/JFrame.java: Ditto.
6981 * javax/swing/JWindow.java: Ditto.
6983 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6986 (nativeSetBounds): Call gdk_window_move in addition to
6989 * java/applet/Applet.java (preferredSize): Call parent's
6990 preferredSize if the applet stub is null.
6991 (minimumSize): Likewise for parent's minimumSize.
6993 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6995 * javax/swing/JMenuItem.java
6996 (createActionPropertyChangeListener): Implemented.
6997 (processMouseEvent): Ditto.
6998 (fireMenuDragMouseEntered): Ditto.
6999 (fireMenuDragMouseExited): Ditto.
7000 (fireMenuDragMouseDragged): Ditto.
7001 (fireMenuDragMouseReleased): Ditto.
7002 (menuSelectionChanged): Ditto.
7003 (getSubElements): Ditto.
7004 (getComponent): Ditto.
7005 (addMenuDragMouseListener): Ditto.
7006 (removeMenuDragMouseListener):Ditto.
7007 (addMenuKeyListener): Ditto.
7008 (removeMenuKeyListener): Ditto.
7009 * javax/swing/plaf/basic/BasicMenuItemUI.java
7010 (doClick): Imlemented.
7011 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7012 Don't handle mouse events here. Pass them to
7013 MenuSelectionManager.
7015 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7016 Used correct version of jalopy configuration
7017 file to fix style in the files below.
7019 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7021 * javax/swing/JCheckBoxMenuItem.java:
7022 Fixed style and removed unnecessary comments.
7023 * javax/swing/JMenuItem.java: Ditto.
7024 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7025 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7026 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7027 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7029 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7031 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7034 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7036 * java/awt/ContainerOrderFocusTraversalPolicy.java
7037 (getComponentAfter): Start from current component and work up
7038 the component hierarchy until an acceptable component is found.
7039 Synchronize on tree lock.
7040 (getComponentBefore): Likewise.
7042 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7044 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7045 focus-related debugging messages.
7046 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7047 * java/awt/EventDispatchThread.java: Likewise.
7048 * java/awt/KeyboardFocusManager.java: Likewise.
7049 * java/awt/Window.java: Likewise.
7050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7054 new C++-style comments to C-style comments.
7055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7057 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7058 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7059 (handleEvent): Dispatch key press and key release events to
7061 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7062 (gtkWidgetRequestFocus): New method.
7063 (gtkWidgetDispatchKeyEvent): Likewise.
7064 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7065 requestFocusInWindow, requestFocusInWindow(boolean),
7066 getFocusCycleRootAncestor, nextFocus, transferFocus,
7067 transferFocusBackward, transferFocusUpCycle, hasFocus,
7068 isFocusOwner): Implement and document focus-handling methods.
7069 (setFocusTraversalKeys): Inherit focus traversal keys when
7070 keystrokes argument is null. Fix focus-handling documentation
7072 * java/awt/Container.java (setFocusTraversalKeys,
7073 getFocusTraversalKeys, areFocusTraversalKeysSet,
7074 isFocusCycleRoot, setFocusTraversalPolicy,
7075 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7076 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7077 Implement and document focus-handling methods.
7078 (transferFocusBackward): Remove method.
7079 (readObject, writeObject): Implement and document serialization
7081 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7083 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7085 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7087 * java/awt/EventDispatchThread.java (run): Set default keyboard
7088 focus manager. Attempt to dispatch each event to the keyboard
7089 focus manager before normal dispatch.
7090 * java/awt/KeyboardFocusManager.java: Implement and partially
7092 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7093 (show): Focus initial component when window is shown for the
7095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7096 (pre_event_handler): Replace complex key press and key release
7097 logic with simple callbacks into GtkComponentPeer.
7098 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7100 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7102 * javax/swing/MenuSelectionManager.java
7103 (componentForPoint): Added new method.
7104 (defaultManager): New Method. Implemented.
7105 (getSelectedPath): Ditto.
7106 (isComponentPartOfCurrentMenu): Ditto.
7107 (processKeyEvent): Added new method.
7108 (processMouseEvent): New Method. Implemented.
7109 (setSelectedPath): Ditto.
7112 2004-04-19 Kim Ho <kho@redhat.com>
7114 * java/awt/Container.java:
7115 (remove): Set the component's parent to null.
7116 (getComponentAt): Implement.
7117 * javax/swing/JComponent.java:
7118 (JComponent): Initialize defaultLocale
7119 (getDefaultLocale): Implement.
7120 (setDefaultLocale): ditto.
7121 * javax/swing/JSlider.java:
7122 (JSlider): Fix calculation of value.
7123 * javax/swing/JSplitPane.java: Implement.
7124 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7125 Change SplitPane's default divider size.
7126 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7127 (paint): Remove unused code.
7128 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7129 Added comments and ran through jalopy.
7130 (setBasicSplitPaneUI): Get reference to hidden divider
7131 and set up one touch buttons if necessary.
7132 (setBorder): Fire propertyChangeEvent only if
7133 borders are different.
7134 (getPreferredSize): Defer to layout manager.
7135 (propertyChange): Implement.
7136 (oneTouchExpandableChanged): ditto.
7137 (createLeftOneTouchButton): Use BasicArrowButton.
7138 (createRightOneTouchButton): ditto.
7139 (moveDividerTo): New method. Moves the divider
7140 to a set location based on the last divider location.
7141 (BasicSplitPaneDivider::MouseHandler): Implement.
7142 (BasicSplitPaneDivider::OneTouchButton): Removed.
7143 (BasicSplitPaneDivider::DragController): Implement.
7144 (BasicSplitPaneDivider::VerticalDragController):
7146 (BasicSplitPaneDivider::DividerLayout): ditto.
7147 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7148 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7149 (calculateLayoutInfo): Don't show component if it's
7151 (paintTab): Fix title paint logic.
7153 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7156 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7157 (setStartRule,setEndRule): Don't take abs of day number.
7158 (getOffset): Clarify docs. Add argument checks.
7159 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7160 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7162 * testsuite/libjava.mauve/xfails
7163 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7165 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7167 Layout interfaces during preparation, not initialization.
7168 * java/lang/natClass.cc (initializeClass): Move
7169 _Jv_LayoutInterfaceMethods call...
7170 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7172 2004-05-19 Anthony Green <green@localhost.localdomain>
7174 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7176 * Makefile.in: Rebuilt.
7177 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7178 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7179 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7180 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7181 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7182 gnu/javax/rmi/CORBA/DelegateFactory.java,
7183 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7184 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7185 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7186 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7187 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7188 gnu/javax/rmi/PortableServer.java: Remove files.
7190 2004-05-19 Anthony Green <green@redhat.com>
7192 * Makefile.am: Define JAVA_EXT_DIRS.
7193 * Makefile.in: Rebuilt.
7194 * java/lang/natRuntime.cc (insertSystemProperties): Set
7195 java.ext.dirs property.
7197 2004-05-16 Mark Wielaard <mark@klomp.org>
7199 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7201 2004-05-15 Mark Wielaard <mark@klomp.org>
7203 * doc/cni.sgml: Removed, merged into gcj.texi.
7205 2004-05-15 Mark Wielaard <mark@klomp.org>
7207 * Makefile.am (ordinary_java_source_files): Add new javax.print
7209 * Makefile.in: Regenerated.
7211 2004-05-15 Michael Koch <konqueror@gmx.de>
7213 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7214 javax/print/attribute/standard/DateTimeAtCreation.java,
7215 javax/print/attribute/standard/DateTimeAtProcessing.java,
7216 javax/print/attribute/standard/DocumentName.java,
7217 javax/print/attribute/standard/JobHoldUntil.java,
7218 javax/print/attribute/standard/JobImpressionsCompleted.java,
7219 javax/print/attribute/standard/JobMessageFromOperator.java,
7220 javax/print/attribute/standard/JobName.java,
7221 javax/print/attribute/standard/JobOriginatingUserName.java,
7222 javax/print/attribute/standard/JobPriority.java,
7223 javax/print/attribute/standard/JobPrioritySupported.java,
7224 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7225 javax/print/attribute/standard/OutputDeviceAssigned.java,
7226 javax/print/attribute/standard/PrinterInfo.java,
7227 javax/print/attribute/standard/PrinterLocation.java,
7228 javax/print/attribute/standard/PrinterMakeAndModel.java,
7229 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7230 javax/print/attribute/standard/PrinterName.java,
7231 javax/print/attribute/standard/QueuedJobCount.java,
7232 javax/print/attribute/standard/RequestingUserName.java:
7233 Fixed javadocs all over.
7235 2004-05-15 Michael Koch <konqueror@gmx.de>
7237 * javax/print/DocFlavor.java,
7238 javax/print/attribute/standard/ColorSupported.java,
7239 javax/print/attribute/standard/Compression.java,
7240 javax/print/attribute/standard/CopiesSupported.java,
7241 javax/print/attribute/standard/Fidelity.java,
7242 javax/print/attribute/standard/Finishings.java,
7243 javax/print/attribute/standard/JobImpressionsSupported.java,
7244 javax/print/attribute/standard/JobKOctetsSupported.java,
7245 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7246 javax/print/attribute/standard/JobSheets.java,
7247 javax/print/attribute/standard/JobState.java,
7248 javax/print/attribute/standard/JobStateReason.java,
7249 javax/print/attribute/standard/JobStateReasons.java,
7250 javax/print/attribute/standard/Media.java,
7251 javax/print/attribute/standard/MediaSizeName.java,
7252 javax/print/attribute/standard/MultipleDocumentHandling.java,
7253 javax/print/attribute/standard/NumberUpSupported.java,
7254 javax/print/attribute/standard/OrientationRequested.java,
7255 javax/print/attribute/standard/PDLOverrideSupported.java,
7256 javax/print/attribute/standard/PageRanges.java,
7257 javax/print/attribute/standard/PresentationDirection.java,
7258 javax/print/attribute/standard/PrintQuality.java,
7259 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7260 javax/print/attribute/standard/PrinterMoreInfo.java,
7261 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7262 javax/print/attribute/standard/PrinterResolution.java,
7263 javax/print/attribute/standard/PrinterState.java,
7264 javax/print/attribute/standard/PrinterStateReason.java,
7265 javax/print/attribute/standard/PrinterStateReasons.java,
7266 javax/print/attribute/standard/PrinterURI.java,
7267 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7268 javax/print/attribute/standard/Severity.java,
7269 javax/print/attribute/standard/SheetCollate.java,
7270 javax/print/attribute/standard/Sides.java:
7271 Added serialVersionUID and removed final keyword where it doenst
7274 2004-05-15 Michael Koch <konqueror@gmx.de>
7276 * javax/print/PrintServiceLookup.java: New file.
7278 2004-05-15 Michael Koch <konqueror@gmx.de>
7280 * javax/print/DocFlavor.java:
7281 Implemented all flavor classes.
7283 2004-05-15 Michael Koch <konqueror@gmx.de>
7285 * javax/print/attribute/standard/ColorSupported.java,
7286 javax/print/attribute/standard/Compression.java,
7287 javax/print/attribute/standard/CopiesSupported.java,
7288 javax/print/attribute/standard/Fidelity.java,
7289 javax/print/attribute/standard/Finishings.java,
7290 javax/print/attribute/standard/JobImpressionsSupported.java,
7291 javax/print/attribute/standard/JobKOctetsSupported.java,
7292 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7293 javax/print/attribute/standard/JobSheets.java,
7294 javax/print/attribute/standard/JobState.java,
7295 javax/print/attribute/standard/JobStateReason.java,
7296 javax/print/attribute/standard/JobStateReasons.java,
7297 javax/print/attribute/standard/Media.java,
7298 javax/print/attribute/standard/MediaSizeName.java,
7299 javax/print/attribute/standard/MultipleDocumentHandling.java,
7300 javax/print/attribute/standard/NumberUpSupported.java,
7301 javax/print/attribute/standard/OrientationRequested.java,
7302 javax/print/attribute/standard/PDLOverrideSupported.java,
7303 javax/print/attribute/standard/PageRanges.java,
7304 javax/print/attribute/standard/PresentationDirection.java,
7305 javax/print/attribute/standard/PrintQuality.java,
7306 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7307 javax/print/attribute/standard/PrinterMoreInfo.java,
7308 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7309 javax/print/attribute/standard/PrinterResolution.java,
7310 javax/print/attribute/standard/PrinterState.java,
7311 javax/print/attribute/standard/PrinterStateReason.java,
7312 javax/print/attribute/standard/PrinterStateReasons.java,
7313 javax/print/attribute/standard/PrinterURI.java,
7314 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7315 javax/print/attribute/standard/Severity.java,
7316 javax/print/attribute/standard/SheetCollate.java,
7317 javax/print/attribute/standard/Sides.java: New files.
7319 2004-05-15 Michael Koch <konqueror@gmx.de>
7321 * javax/print/Doc.java
7322 (getPrintData): Throws IOException.
7323 (getReaderForText): Likewise.
7324 (getStreamForBytes): Likewise.
7325 * javax/print/DocFlavor.java:
7326 Fixed filename in copyright.
7327 (serialVersionUID): New field.
7328 * javax/print/ServiceUIFactory.java:
7329 Made all constants final.
7330 * javax/print/AttributeException.java
7331 javax/print/MultiDoc.java
7332 javax/print/MultiDocPrintJob.java
7333 javax/print/MultiDocPrintService.java
7334 javax/print/StreamPrintService.java
7335 javax/print/URIException.java: New files.
7336 * javax/print/Makefile.am
7337 (EXTRA_DIST): Added all new files.
7339 2004-05-15 Michael Koch <konqueror@gmx.de>
7341 * javax/print/attribute/standard/Copies.java,
7342 javax/print/attribute/standard/DateTimeAtCompleted.java,
7343 javax/print/attribute/standard/DateTimeAtCreation.java,
7344 javax/print/attribute/standard/DateTimeAtProcessing.java,
7345 javax/print/attribute/standard/DocumentName.java,
7346 javax/print/attribute/standard/JobHoldUntil.java,
7347 javax/print/attribute/standard/JobImpressions.java,
7348 javax/print/attribute/standard/JobImpressionsCompleted.java,
7349 javax/print/attribute/standard/JobKOctets.java,
7350 javax/print/attribute/standard/JobKOctetsProcessed.java,
7351 javax/print/attribute/standard/JobMediaSheets.java,
7352 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7353 javax/print/attribute/standard/JobMessageFromOperator.java,
7354 javax/print/attribute/standard/JobName.java,
7355 javax/print/attribute/standard/JobOriginatingUserName.java,
7356 javax/print/attribute/standard/JobPriority.java,
7357 javax/print/attribute/standard/JobPrioritySupported.java,
7358 javax/print/attribute/standard/NumberOfDocuments.java,
7359 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7360 javax/print/attribute/standard/NumberUp.java,
7361 javax/print/attribute/standard/OutputDeviceAssigned.java,
7362 javax/print/attribute/standard/PagesPerMinute.java,
7363 javax/print/attribute/standard/PagesPerMinuteColor.java:
7364 Fixed @return tag all over.
7366 2004-05-15 Michael Koch <konqueror@gmx.de>
7368 * javax/print/attribute/AttributeSetUtilities.java
7369 (verifyCategoryForValue): Fixed typo in javadoc.
7370 * javax/print/attribute/HashAttributeSet.java
7371 (containsKey): Fixed @return tag.
7372 (comtainsValue): Likewise.
7374 * javax/print/attribute/IntegerSyntax.java
7376 * javax/print/attribute/ResolutionSyntax.java
7378 (getCrossFeedResolution): Removed unused code.
7379 (getFeedResolution): Likewise.
7380 * javax/print/attribute/SetOfIntegerSyntax.java
7381 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7382 (equals): Fixed @return tag.
7383 * javax/print/attribute/TextSyntax.java
7384 (TextSyntax): Take locale into account.
7385 (hashCode): Better implementation.
7387 2004-05-15 Michael Koch <konqueror@gmx.de>
7389 * javax/print/CancelablePrintJob.java,
7390 javax/print/Doc.java,
7391 javax/print/DocFlavor.java,
7392 javax/print/DocPrintJob.java,
7393 javax/print/FlavorException.java,
7394 javax/print/PrintException.java,
7395 javax/print/PrintService.java,
7396 javax/print/ServiceUIFactory.java: New files.
7398 2004-05-15 Mark Wielaard <mark@klomp.org>
7400 * gnu/regexp/CharIndexedReader.java: Removed.
7401 * gnu/regexp/REFilterReader.java: Likewise.
7402 * gnu/regexp/RETokenLookAhead.java: Likewise.
7403 * Makefile.am (ordinary_java_source_files): Remove above classes.
7404 * Makefile.in: Regenerated.
7406 2004-05-14 Tom Tromey <tromey@redhat.com>
7408 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7409 not `XGraphicsConfiguration.XOffScreenImage'.
7411 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7413 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7415 2004-05-14 Steven Augart <augart@watson.ibm.com>
7417 * include/jni.h (_Jv_func): Removed.
7418 (struct JNINativeInterface): Use `void *' for reserved slots.
7419 (struct JNIInvokeInterface): Likewise.
7421 2004-05-11 Michael Koch <konqueror@gmx.de>
7423 * gnu/java/net/natPlainSocketImplPosix.cc
7424 (read): Fixed typo in expression.
7426 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7428 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7429 ld_library_additions. Adjust all calls to libjava_invoke to match
7432 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7433 path to cxxflagslist.
7434 Pass path of libstdc++ to libjava_invoke.
7436 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7437 libjava_invoke arguments.
7439 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7441 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7444 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7446 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7447 main binary against the JNI shared library.
7449 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7451 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7452 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7453 (SimpleTimeZone): Tweak docs. Add new variation.
7454 (setStartRule,setEndRule): Add new variations. Use
7455 startTimeMode and endTimeMode.
7457 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7459 * java/util/Calendar.java (getActualMinimum,
7460 getActualMaximum): Remove abstract. Implement.
7462 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7464 Run the jni tests using the interpreter.
7465 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7466 options_cxx to shared lib compile command.
7467 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7468 they are used to link the shared lib, not the main binary.
7469 Use libjava_invoke to run gij.
7471 2004-05-06 Michael Koch <konqueror@gmx.de>
7473 * java/util/logging/Level.java
7474 (parse): Use == instead of String.equals().
7476 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7478 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7479 verify_field_signature and verify_method_signature, not
7480 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7481 (_Jv_ClassReader::handleField): Likewise.
7482 (_Jv_ClassReader::handleMethod): Likewise.
7484 2004-05-06 Michael Koch <konqueror@gmx.de>
7486 * javax/swing/table/TableColumn.java:
7489 2004-05-06 Michael Koch <konqueror@gmx.de>
7491 * javax/imageio/spi/ImageReaderWriterSpi.java
7492 (ImageReaderWriterSpi): Made it public.
7493 * javax/imageio/stream/ImageInputStream.java:
7496 2004-05-06 Michael Koch <konqueror@gmx.de>
7498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7501 2004-05-06 Michael Koch <konqueror@gmx.de>
7503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7504 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7507 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7509 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7510 their own source file.
7511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7512 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7513 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7515 (create): Define variable on top of function.
7516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7517 (menu_pos): Prototyped.
7518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7519 (setTitle): Removed.
7520 * jni/gtk-peer/gthread-jni.c
7521 (gdk_threads_wake): Removed.
7522 * Makefile.am (gtk_c_source_files): Added new files
7523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7524 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7525 * Makefile.in: Regenerated.
7527 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7529 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7532 2004-05-05 Mark Wielaard <mark@klomp.org>
7534 * javax/swing/AbstractButton.java: Replace special HTML entities with
7536 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7537 * javax/swing/DefaultButtonModel.java: Likewise.
7538 * javax/swing/DefaultListModel.java: Likewise.
7539 * javax/swing/JList.java: Likewise.
7540 * javax/swing/JSlider.java: Likewise.
7541 * javax/swing/ListModel.java: Likewise.
7542 * javax/swing/Popup.java: Likewise.
7543 * javax/swing/SwingUtilities.java: Likewise.
7545 2004-05-05 Michael Koch <konqueror@gmx.de>
7547 * javax/swing/AbstractButton.java,
7548 javax/swing/ActionMap.java,
7549 javax/swing/DefaultButtonModel.java,
7550 javax/swing/DefaultListModel.java,
7551 javax/swing/ImageIcon.java,
7552 javax/swing/JComboBox.java,
7553 javax/swing/JComponent.java,
7554 javax/swing/JFrame.java,
7555 javax/swing/JInternalFrame.java,
7556 javax/swing/JMenuBar.java,
7557 javax/swing/JMenuItem.java,
7558 javax/swing/JOptionPane.java,
7559 javax/swing/JProgressBar.java,
7560 javax/swing/JRootPane.java,
7561 javax/swing/JScrollBar.java,
7562 javax/swing/JScrollPane.java,
7563 javax/swing/JSeparator.java,
7564 javax/swing/JSlider.java,
7565 javax/swing/JTabbedPane.java,
7566 javax/swing/JTable.java,
7567 javax/swing/JTextField.java,
7568 javax/swing/JToolBar.java,
7569 javax/swing/JToolTip.java,
7570 javax/swing/JTree.java,
7571 javax/swing/JViewport.java,
7572 javax/swing/JWindow.java,
7573 javax/swing/KeyStroke.java,
7574 javax/swing/LookAndFeel.java,
7575 javax/swing/SwingUtilities.java,
7576 javax/swing/Timer.java,
7577 javax/swing/ToolTipManager.java,
7578 javax/swing/UIDefaults.java,
7579 javax/swing/border/TitledBorder.java,
7580 javax/swing/filechooser/FileSystemView.java,
7581 javax/swing/plaf/basic/BasicButtonListener.java,
7582 javax/swing/plaf/basic/BasicButtonUI.java,
7583 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7584 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7585 javax/swing/plaf/basic/BasicLabelUI.java,
7586 javax/swing/plaf/basic/BasicMenuItemUI.java,
7587 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7588 javax/swing/plaf/basic/BasicRootPaneUI.java,
7589 javax/swing/plaf/basic/BasicScrollBarUI.java,
7590 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7591 javax/swing/plaf/basic/BasicSliderUI.java,
7592 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7593 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7594 javax/swing/table/JTableHeader.java,
7595 javax/swing/text/AbstractDocument.java,
7596 javax/swing/text/DefaultCaret.java,
7597 javax/swing/text/StyledEditorKit.java,
7598 javax/swing/tree/DefaultTreeCellEditor.java:
7601 2004-05-05 Michael Koch <konqueror@gmx.de>
7603 * java/util/prefs/AbstractPreferences.java
7604 (AbstractPreferences): Added parenthesis for clarity.
7605 Closes classpath bug #7940.
7607 2004-05-05 Tom Tromey <tromey@redhat.com>
7609 * javax/naming/CompoundName.java (endsWith): Look at correct
7610 element of source name.
7612 2004-05-05 Mark Wielaard <mark@klomp.org>
7614 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7615 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7617 2004-05-05 Tom Tromey <tromey@redhat.com>
7619 * java/io/BufferedReader.java (skip): Removed unused
7622 2004-05-05 Michael Koch <konqueror@gmx.de>
7624 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7626 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7628 * java/text/AttributedString.java,
7629 java/text/AttributedStringIterator.java,
7630 java/text/Collator.java,
7631 java/text/DecimalFormatSymbols.java,
7632 java/text/NumberFormat.java,
7633 java/text/RuleBasedCollator.java:
7636 2004-05-05 Tom Tromey <tromey@redhat.com>
7638 * java/text/Format.java: Cleaned up imports.
7639 * java/text/DecimalFormat.java: Cleaned up imports.
7640 * java/security/SecureRandom.java: Cleaned up imports.
7641 (SecureRandom): Removed unused variable.
7642 * java/security/UnresolvedPermission.java: Cleaned up imports.
7643 * java/util/Date.java (parse): Removed unused variable.
7644 * java/util/ResourceBundle.java: Cleaned up imports.
7645 (getBundle): Removed unused variable.
7646 (tryBundle): Likewise.
7647 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7649 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7651 * java/text/SimpleDateFormat.java:
7652 (formatWithAttribute): New method. It implements
7653 the formatting process with attributes.
7654 (format): Use formatWithAttribute.
7655 (formatToCharacterIterator): New method. Use
7656 formatWithAttribute.
7658 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7660 * java/text/MessageFormat.java:
7661 (class Field): New class.
7662 (formatToCharacterIterator): New method.
7663 (format): Use formatInternal now.
7664 (formatInternal): New method. String formatter should
7665 be done here (with attributes). Attributes merging supported.
7666 (parse): More documentation.
7667 (getFormatsByArgumentIndex): New method.
7668 (setFormatByArgumentIndex): New method.
7669 (setFormatsByArgumentIndex): New method.
7671 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7673 * java/text/DecimalFormat.java
7674 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7675 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7676 (parse): Fixed handling of exponentiation notation and grouping.
7678 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7680 * java/text/DecimalFormat.java
7681 (scanFix): Build attribute array. Fixed error reporting.
7682 (applyPatternWithSymbols): Store attributes for the prefix and
7684 (formatInternal): New method. Changed the way the string is
7685 computed. Implemented attributes. Cleant up rounding in
7686 exponential notation.
7687 (format): Use formatInternal.
7688 (formatToCharacterIterator): New method.
7689 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7690 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7691 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7694 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7696 * java/security/interfaces/DSAKeyPairGenerator.java,
7697 java/security/interfaces/DSAPrivateKey.java,
7698 java/security/interfaces/DSAPublicKey.java,
7699 java/security/interfaces/RSAPrivateKey.java,
7700 java/security/interfaces/RSAPublicKey.java:
7703 2004-05-04 Michael Koch <konqueror@gmx.de>
7705 * java/nio/ByteBuffer.java,
7706 java/nio/CharBuffer.java,
7707 java/nio/DoubleBuffer.java,
7708 java/nio/FloatBuffer.java,
7709 java/nio/IntBuffer.java,
7710 java/nio/LongBuffer.java,
7711 java/nio/ShortBuffer.java:
7712 (compareTo): Fixed bogus implementation in all buffer classes.
7714 2004-05-04 Ingo Proetel <proetel@aicas.com>
7716 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7717 32 bit pixels not 8 bit pixels.
7718 (isCompatibleRaster): Added javadoc comment.
7720 2004-05-04 Ingo Proetel <proetel@aicas.com>
7722 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7725 2004-05-04 Ingo Proetel <proetel@aicas.com>
7727 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7728 (getColorModel): Return the actual color model.
7729 (getRaster): Implemented.
7730 (ColorRaster): New inner class.
7731 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7733 * java/awt/Color.java (<init>): Make exception more verbose.
7734 (createContext): Use ColorModel when creating a PaintContext.
7736 2004-05-04 Michael Koch <konqueror@gmx.de>
7738 * gnu/java/text/CharacterBreakIterator.java
7739 (previous): Removed unused variable.
7741 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7743 * gnu/java/text/FormatBuffer.java,
7744 gnu/java/text/AttributedFormatBuffer.java,
7745 gnu/java/text/StringFormatBuffer.java: New classes to implement
7746 attributed iterators in java.text.
7747 * gnu/java/text/FormatCharacterIterator.java: Moved
7748 from java/text as it is an internal class.
7749 * java/text/FormatCharacterIterator.java: Removed.
7750 * java/text/Format.java:
7751 Import gnu.java.text.FormatCharacterIterator.
7752 * Makefile.am (java_source_files): Added new files.
7753 * Makefile.in: Regenerated.
7756 2004-05-04 Mark Wielaard <mark@klomp.org>
7758 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7760 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7762 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7763 * Makefile.in: Rebuilt.
7765 2004-05-03 Mark Wielaard <mark@klomp.org>
7767 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7768 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7770 (set(String, String, int, String, String, String, String, String)):
7771 Assign this.file to path or path + "?" + query.
7772 * java/util/Arrays.java: Call static methods staticly.
7773 * java/util/zip/ZipEntry.java: Likewise.
7774 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7775 dir to this.direction.
7776 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7777 Assign static field only once.
7778 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7780 2004-05-03 Mark Wielaard <mark@klomp.org>
7782 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7783 unused variables hScrollbarHeight and vScrollbarWidth.
7784 (preferredSize): Likewise.
7785 * gnu/java/security/provider/DSAParameters.java (engineToString):
7786 Removed unused call to System.getProperty("line.seperator");
7787 * java/security/Security.java (loadProviders): Return result.
7789 2004-05-03 Tom Tromey <tromey@redhat.com>
7791 * java/net/URLStreamHandler.java (toExternalForm): Removed
7794 * java/math/BigDecimal.java (divide): Removed unused variable.
7795 * java/lang/Throwable.java: Cleaned up imports.
7796 * java/lang/ClassLoader.java: Cleaned up imports.
7797 * java/io/FilePermission.java (implies): Removed unused
7799 * java/awt/TextComponent.java: Removed unused import.
7800 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7801 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7802 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7803 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7805 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7806 * gnu/java/text/CharacterBreakIterator.java: Removed
7808 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7810 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7811 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7813 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7814 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7815 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7816 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7817 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7818 (lookupProviders): Removed unused variable.
7819 (loadNextServiceProvider): Likewise.
7820 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7822 2004-05-03 Michael Koch <konqueror@gmx.de>
7824 Fixes PR libgcj/14695:
7825 * java/net/NetworkInterface.java
7826 (getByName): Return null when no interface was found.
7828 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7829 Tom Tromey <tromey@redhat.com>
7831 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7832 additional option "-Wmissing-prototypes" for compiling C sources.
7833 Print actual filename for pass/fail rather than $name.c.
7834 * testsuite/libjava.jni/PR15133.java: New testcase file.
7835 * testsuite/libjava.jni/PR15133.c: Likewise.
7836 * testsuite/libjava.jni/PR15133.out: Likewise.
7838 2004-04-30 Roger Sayle <roger@eyesopen.com>
7840 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7843 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7845 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7846 limit the maximum heap size to avoid unnecessary thrashing.
7848 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7850 * java/text/CollationElementIterator.java (reset): Reset
7851 lookahead variables.
7853 2004-04-23 Mark Wielaard <mark@klomp.org>
7855 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7857 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7859 * java/sql/DriverManager.java:
7862 2004-04-23 Michael Koch <konqueror@gmx.de>
7865 (hashcode): Don't initialize with default value explicitely.
7866 (getContent): Removed redundant "final" keyword.
7867 (openStream): Likewise.
7868 (getURLStreamHandler): Fixed coding style.
7869 * java/net/URLConnection.java
7870 (defaultAllowUserInteraction): Don't initialize with default value
7872 (connected): Likewise.
7873 (doOutput): Likewise.
7874 (ifModifiedSince): Likewise.
7875 (dateformats_initialized): Likewise.
7876 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7878 2004-04-23 Michael Koch <konqueror@gmx.de>
7880 * gnu/java/nio/channels/FileChannelImpl.java
7881 (SET, CUR): Unused, removed.
7882 (read): Implement here directly.
7883 (implRead): Removed.
7884 (write): Implement here directly.
7885 (implWrite): Removed.
7887 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7889 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7890 javax/rmi/CORBA/Stub.java,
7891 javax/rmi/CORBA/Util.java,
7892 javax/rmi/CORBA/ValueHandler.java,
7893 javax/rmi/CORBA/ValueHandler.java,
7894 javax/rmi/PortableRemoteObject.java:
7897 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7899 * java/util/jar/JarFile.java,
7900 java/util/jar/JarInputStream.java,
7901 java/util/jar/JarOutputStream.java,
7902 java/util/jar/Manifest.java:
7905 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7907 * java/util/ArrayList.java,
7908 java/util/Calendar.java,
7909 java/util/Currency.java,
7910 java/util/HashMap.java,
7911 java/util/HashSet.java,
7912 java/util/Hashtable.java,
7913 java/util/LinkedList.java,
7914 java/util/Properties.java,
7915 java/util/PropertyPermission.java,
7916 java/util/TimeZone.java,
7917 java/util/TreeMap.java,
7918 java/util/TreeSet.java,
7919 java/util/Vector.java,
7920 java/util/WeakHashMap.java:
7923 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7925 * java/util/logging/FileHandler.java,
7926 java/util/logging/Formatter.java,
7927 java/util/logging/Handler.java,
7928 java/util/logging/Logger.java,
7929 java/util/logging/SimpleFormatter.java,
7930 java/util/logging/XMLFormatter.java:
7933 2004-04-22 Mark Wielaard <mark@klomp.org>
7935 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7936 -Wno-long-long flags variable.
7937 (gtk_c_files): Use PEDANTIC_CFLAGS.
7938 * Makefile.in: Regenerated.
7940 2004-04-22 Mark Wielaard <mark@klomp.org>
7942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7943 Changed C++ comments into C comments.
7944 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7947 2004-04-22 Michael Koch <konqueror@gmx.de>
7949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7950 Merged copyright year with GNU classpath.
7952 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7954 * javax/security/auth/x500/X500Principal.java:
7957 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7959 * javax/swing/JSlider.java:
7960 Fixed HTML tags in comments.
7962 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7964 * javax/accessibility/AccessibleText.java:
7967 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7969 * java/net/URLStreamHandler.java
7970 (parseURL): Convert the file path to using '/' instead of native
7973 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7976 (userInfo): New field.
7977 (URL): Set authority to the right value.
7978 (setURL): Fixed authority and file initialization.
7979 * java/net/URLStreamHandler.java
7980 (parseURL): Take care of the query tag. Build authority.
7981 (toExternalForm): Fixed URL building using authority.
7983 2004-04-22 Michael Koch <konqueror@gmx.de>
7985 * java/net/Socket.java
7986 (impl): Made package-private.
7987 * java/net/ServerSocket.java
7988 (implAccept): Access Socket.impl field directly.
7990 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7992 * java/util/prefs/Preferences.java,
7993 java/util/prefs/InvalidPreferencesFormatException.java,
7994 java/util/prefs/BackingStoreException.java,
7995 java/util/prefs/AbstractPreferences.java:
7998 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8000 * java/util/regex/Matcher.java,
8001 java/util/regex/Pattern.java:
8004 2004-04-22 Michael Koch <konqueror@gmx.de>
8006 * java/nio/charset/IllegalCharsetNameException.java
8007 (charsetName): Made private.
8008 (IllegalCharsetNameException): Added @param tag to javadoc.
8009 (getCharsetName): Added @return tag to javadoc.
8010 * java/nio/charset/MalformedInputException.java
8011 (MalformedInputException): Added @param tag to javadoc.
8012 (getInputLength): Revised method description, added @return tag.
8013 (getMessage): Added @return tag.
8015 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8017 * java/awt/Font.java (deriveFont): Implement missing variants.
8018 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8021 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8023 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8024 Set method->index values for interface methods to their itable index.
8025 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8027 2004-04-21 Michael Koch <konqueror@gmx.de>
8029 * java/nio/DirectByteBufferImpl.java
8030 (shiftDown): Made static, give address as argument and
8031 provide a convenience method that overwrites shiftDown in
8032 ByteBufferImpl and calls the native shiftDown.
8033 * java/nio/MappedByteBufferImpl.java
8034 (): Use optimized method in DirectByteBufferImpl.
8035 * java/nio/natDirectByteBufferImpl.cc
8036 (shiftDown): Changed method signature. Removed usage of array_offset.
8038 2004-04-21 Michael Koch <konqueror@gmx.de>
8040 * gnu/java/net/natPlainSocketImplPosix.cc
8041 (SocketInputStream::read): Make sure returned data is a byte value.
8043 2004-04-21 Michael Koch <konqueror@gmx.de>
8045 * gnu/classpath/ServiceFactory.java,
8046 gnu/classpath/ServiceProviderLoadingAction.java,
8047 javax/imageio/ImageReader.java,
8048 javax/imageio/ImageTranscoder.java,
8049 javax/imageio/ImageWriter.java,
8050 javax/imageio/package.html,
8051 javax/imageio/spi/IIOServiceProvider.java,
8052 javax/imageio/spi/ImageInputStreamSpi.java,
8053 javax/imageio/spi/ImageOutputStreamSpi.java,
8054 javax/imageio/spi/ImageReaderWriterSpi.java,
8055 javax/imageio/spi/ImageTranscoderSpi.java,
8056 javax/imageio/spi/RegisterableService.java,
8057 javax/imageio/spi/ServiceRegistry.java,
8058 javax/imageio/spi/package.html,
8059 javax/imageio/stream/IIOByteBuffer.java,
8060 javax/imageio/stream/ImageInputStream.java,
8061 javax/imageio/stream/ImageOutputStream.java,
8062 javax/imageio/stream/package.html:
8065 (ordinary_java_source_files): Added
8066 gnu/classpath/ServiceFactory.java and
8067 gnu/classpath/ServiceProviderLoadingAction.java.
8068 (javax_source_files): Added
8069 javax/imageio/ImageReader.java,
8070 javax/imageio/ImageTranscoder.java,
8071 javax/imageio/ImageWriter.java,
8072 javax/imageio/spi/IIOServiceProvider.java,
8073 javax/imageio/spi/ImageInputStreamSpi.java,
8074 javax/imageio/spi/ImageOutputStreamSpi.java,
8075 javax/imageio/spi/ImageReaderWriterSpi.java,
8076 javax/imageio/spi/ImageTranscoderSpi.java,
8077 javax/imageio/spi/RegisterableService.java,
8078 javax/imageio/spi/ServiceRegistry.java,
8079 javax/imageio/stream/IIOByteBuffer.java,
8080 javax/imageio/stream/ImageInputStream.java and
8081 javax/imageio/stream/ImageOutputStream.java.
8082 * Makefile.in: Regenerated.
8084 2004-04-21 Michael Koch <konqueror@gmx.de>
8086 * java/util/Properties.java
8087 (load): Fix wrongly merged fix.
8089 2004-04-21 Mark Wielaard <mark@klomp.org>
8091 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8092 malloc and free buf.
8094 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8096 * javax/naming/AuthenticationException.java,
8097 javax/naming/AuthenticationNotSupportedException.java,
8098 javax/naming/CannotProceedException.java,
8099 javax/naming/CommunicationException.java,
8100 javax/naming/CompoundName.java,
8101 javax/naming/ConfigurationException.java,
8102 javax/naming/ContextNotEmptyException.java,
8103 javax/naming/InitialContext.java,
8104 javax/naming/InsufficientResourcesException.java,
8105 javax/naming/InterruptedNamingException.java,
8106 javax/naming/LimitExceededException.java,
8107 javax/naming/LinkException.java,
8108 javax/naming/LinkLoopException.java,
8109 javax/naming/LinkRef.java,
8110 javax/naming/MalformedLinkException.java,
8111 javax/naming/Name.java,
8112 javax/naming/NameAlreadyBoundException.java,
8113 javax/naming/NameNotFoundException.java,
8114 javax/naming/NamingSecurityException.java,
8115 javax/naming/NoInitialContextException.java,
8116 javax/naming/NoPermissionException.java,
8117 javax/naming/NotContextException.java,
8118 javax/naming/PartialResultException.java,
8119 javax/naming/ReferralException.java,
8120 javax/naming/ServiceUnavailableException.java,
8121 javax/naming/SizeLimitExceededException.java,
8122 javax/naming/TimeLimitExceededException.java,
8123 javax/naming/directory/Attribute.java,
8124 javax/naming/directory/Attributes.java,
8125 javax/naming/directory/SearchResult.java,
8126 javax/naming/event/NamingExceptionEvent.java,
8127 javax/naming/spi/ResolveResult.java:
8130 2004-04-21 Mark Wielaard <mark@klomp.org>
8132 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8133 Changed C++ comments into C comments. Removed commented out code.
8134 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8138 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8140 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8144 * native/jni/gtk-peer/gthread-jni.c:
8147 2004-04-21 Mark Wielaard <mark@klomp.org>
8149 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8150 static fields defined in interface.
8151 * javax/awt/JDialog.java: Likewise.
8152 (JDialog): Make constructors public.
8153 (getDefaultCloseOperation): Make public.
8154 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8155 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8156 * javax/swing/JViewport.java (JViewport): Make constructor public.
8158 2004-04-21 Michael Koch <konqueror@gmx.de>
8160 * java/util/Map.java
8161 (Entry): Removed redundant "static" modifier.
8162 * java/text/AttributedCharacterIterator.java:
8163 Updated copyright year.
8165 2004-04-20 Michael Koch <konqueror@gmx.de>
8167 * javax/naming/directory/SearchControls.java:
8168 Don't explicitely extend java.lang.Object.
8169 * javax/naming/spi/DirStateFactory.java:
8170 Merged copyright year with GNU classpath.
8172 2004-04-20 Michael Koch <konqueror@gmx.de>
8174 * java/nio/channels/Channels.java:
8175 Merged coding style with GNU classpath.
8177 2004-04-20 Michael Koch <konqueror@gmx.de>
8179 * java/net/ServerSocket.java
8180 Merged coding style from GNU classpath.
8182 2004-04-20 Michael Koch <konqueror@gmx.de>
8184 * java/io/BufferedWriter.java:
8185 Reordered variables to be at top of the class.
8186 (localFlush): Removed redundant final keyword.
8188 2004-04-20 Ingo Proetel <proetel@aicas.com>
8190 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8192 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8194 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8195 for percent and permill check.
8197 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8199 * java/text/FieldPosition.java
8200 (FieldPosition) Constructor now behaves as it should according
8201 to the java documentation.
8203 2004-04-20 Mark Wielaard <mark@klomp.org>
8205 * java/util/Properties.java: Use the word umlaut, not ä in api
8208 2004-04-20 Michael Koch <konqueror@gmx.de>
8210 * java/nio/Buffer.java,
8211 java/nio/channels/AlreadyConnectedException.java,
8212 java/nio/channels/AsynchronousCloseException.java,
8213 java/nio/channels/ByteChannel.java,
8214 java/nio/channels/CancelledKeyException.java,
8215 java/nio/channels/Channel.java,
8216 java/nio/channels/Channels.java,
8217 java/nio/channels/ClosedByInterruptException.java,
8218 java/nio/channels/ClosedChannelException.java,
8219 java/nio/channels/ClosedSelectorException.java,
8220 java/nio/channels/ConnectionPendingException.java,
8221 java/nio/channels/DatagramChannel.java,
8222 java/nio/channels/FileChannel.java,
8223 java/nio/channels/FileLock.java,
8224 java/nio/channels/FileLockInterruptionException.java,
8225 java/nio/channels/GatheringByteChannel.java,
8226 java/nio/channels/IllegalBlockingModeException.java,
8227 java/nio/channels/IllegalSelectorException.java,
8228 java/nio/channels/InterruptibleChannel.java,
8229 java/nio/channels/NoConnectionPendingException.java,
8230 java/nio/channels/NonReadableChannelException.java,
8231 java/nio/channels/NonWritableChannelException.java,
8232 java/nio/channels/NotYetBoundException.java,
8233 java/nio/channels/NotYetConnectedException.java,
8234 java/nio/channels/OverlappingFileLockException.java,
8235 java/nio/channels/Pipe.java,
8236 java/nio/channels/ReadableByteChannel.java,
8237 java/nio/channels/ScatteringByteChannel.java,
8238 java/nio/channels/SelectableChannel.java,
8239 java/nio/channels/SelectionKey.java,
8240 java/nio/channels/Selector.java,
8241 java/nio/channels/ServerSocketChannel.java,
8242 java/nio/channels/SocketChannel.java,
8243 java/nio/channels/UnresolvedAddressException.java,
8244 java/nio/channels/UnsupportedAddressTypeException.java,
8245 java/nio/channels/WritableByteChannel.java,
8246 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8247 java/nio/channels/spi/AbstractSelectableChannel.java,
8248 java/nio/channels/spi/AbstractSelectionKey.java,
8249 java/nio/channels/spi/AbstractSelector.java,
8250 java/nio/channels/spi/SelectorProvider.java,
8251 java/nio/charset/spi/CharsetProvider.java:
8252 Fixed javadocs and jalopied all over java.nio.
8254 2004-04-20 Michael Koch <konqueror@gmx.de>
8256 * java/nio/ByteBufferImpl.java,
8257 java/nio/CharBufferImpl.java,
8258 java/nio/DirectByteBufferImpl.java,
8259 java/nio/DoubleBufferImpl.java,
8260 java/nio/DoubleViewBufferImpl.java,
8261 java/nio/FloatBufferImpl.java,
8262 java/nio/FloatViewBufferImpl.java,
8263 java/nio/IntBufferImpl.java,
8264 java/nio/IntViewBufferImpl.java,
8265 java/nio/LongBufferImpl.java,
8266 java/nio/LongViewBufferImpl.java,
8267 java/nio/MappedByteBufferImpl.java,
8268 java/nio/ShortBufferImpl.java,
8269 java/nio/ShortViewBufferImpl.java:
8270 Made sure all classes are final and removed final keyword from all
8273 2004-04-20 Michael Koch <konqueror@gmx.de>
8275 * java/rmi/MarshalledObject.java,
8276 java/rmi/Naming.java,
8277 java/rmi/RemoteException.java,
8278 java/rmi/activation/ActivationException.java,
8279 java/rmi/server/ServerCloneException.java,
8280 java/security/AccessController.java,
8281 java/security/AlgorithmParameterGenerator.java,
8282 java/security/AlgorithmParameters.java,
8283 java/security/CodeSource.java,
8284 java/security/Identity.java,
8285 java/security/IdentityScope.java,
8286 java/security/KeyPairGenerator.java,
8287 java/security/KeyStore.java,
8288 java/security/Security.java,
8289 java/security/Signature.java,
8290 java/security/SignatureSpi.java,
8291 java/security/SignedObject.java,
8292 java/security/spec/DSAParameterSpec.java,
8293 java/security/spec/DSAPrivateKeySpec.java,
8294 java/security/spec/DSAPublicKeySpec.java,
8295 java/sql/Array.java,
8296 java/sql/DatabaseMetaData.java,
8297 java/sql/ResultSet.java,
8298 java/text/ChoiceFormat.java,
8299 java/text/CollationElementIterator.java,
8300 java/text/CollationKey.java,
8301 java/text/Collator.java,
8302 java/text/DateFormat.java,
8303 java/text/DateFormatSymbols.java,
8304 java/text/DecimalFormatSymbols.java,
8305 java/text/Format.java,
8306 java/text/ParsePosition.java,
8307 java/text/RuleBasedCollator.java,
8308 java/text/SimpleDateFormat.java,
8309 java/text/StringCharacterIterator.java,
8310 java/util/Collections.java,
8311 java/util/PropertyResourceBundle.java,
8312 java/util/ResourceBundle.java,
8313 java/util/StringTokenizer.java,
8314 java/util/jar/Attributes.java,
8315 java/util/logging/ConsoleHandler.java,
8316 java/util/logging/LogManager.java,
8317 java/util/logging/MemoryHandler.java,
8318 java/util/logging/SocketHandler.java,
8319 javax/naming/NamingException.java:
8320 Fixed javadoc, coding style and argument names all over.
8322 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8324 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8325 constructor. (valid) Added null check.
8327 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8329 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8330 * java/io/FileOutputStream.java
8331 (FileOutputStream) Reorganized constructors. Constructors now
8332 check whether the given path is directory.
8334 2004-04-20 Michael Koch <konqueror@gmx.de>
8336 * java/net/Authenticator.java,
8337 java/net/BindException.java,
8338 java/net/ConnectException.java,
8339 java/net/ContentHandler.java,
8340 java/net/ContentHandlerFactory.java,
8341 java/net/DatagramPacket.java,
8342 java/net/DatagramSocket.java,
8343 java/net/DatagramSocketImpl.java,
8344 java/net/DatagramSocketImplFactory.java,
8345 java/net/FileNameMap.java,
8346 java/net/HttpURLConnection.java,
8347 java/net/Inet4Address.java,
8348 java/net/Inet6Address.java,
8349 java/net/InetAddress.java,
8350 java/net/InetSocketAddress.java,
8351 java/net/JarURLConnection.java,
8352 java/net/MalformedURLException.java,
8353 java/net/MulticastSocket.java,
8354 java/net/NetPermission.java,
8355 java/net/NetworkInterface.java,
8356 java/net/NoRouteToHostException.java,
8357 java/net/PasswordAuthentication.java,
8358 java/net/PortUnreachableException.java,
8359 java/net/ProtocolException.java,
8360 java/net/ServerSocket.java,
8361 java/net/Socket.java,
8362 java/net/SocketAddress.java,
8363 java/net/SocketException.java,
8364 java/net/SocketImpl.java,
8365 java/net/SocketImplFactory.java,
8366 java/net/SocketOptions.java,
8367 java/net/SocketPermission.java,
8368 java/net/SocketTimeoutException.java,
8370 java/net/URISyntaxException.java,
8372 java/net/URLClassLoader.java,
8373 java/net/URLConnection.java,
8374 java/net/URLDecoder.java,
8375 java/net/URLEncoder.java,
8376 java/net/URLStreamHandler.java,
8377 java/net/URLStreamHandlerFactory.java,
8378 java/net/UnknownHostException.java,
8379 java/net/UnknownServiceException.java:
8380 Fixed javadocs, coding style and argument names all over.
8382 2004-04-20 Michael Koch <konqueror@gmx.de>
8384 * java/lang/Byte.java,
8385 java/lang/CharSequence.java,
8386 java/lang/ClassLoader.java,
8387 java/lang/Compiler.java,
8388 java/lang/Double.java,
8389 java/lang/Float.java,
8390 java/lang/Integer.java,
8391 java/lang/Long.java,
8392 java/lang/Math.java,
8393 java/lang/Number.java,
8394 java/lang/Package.java,
8395 java/lang/Runtime.java,
8396 java/lang/RuntimePermission.java,
8397 java/lang/SecurityManager.java,
8398 java/lang/Short.java,
8399 java/lang/StringBuffer.java,
8400 java/lang/System.java,
8401 java/lang/ThreadGroup.java,
8402 java/lang/Throwable.java,
8403 java/lang/reflect/InvocationHandler.java,
8404 java/lang/reflect/Proxy.java:
8405 Fixed javadocs, coding style and argument names all over.
8407 2004-04-20 Michael Koch <konqueror@gmx.de>
8409 * java/io/BufferedWriter.java,
8410 java/io/ByteArrayInputStream.java,
8411 java/io/CharArrayWriter.java,
8412 java/io/DataInput.java,
8413 java/io/DataInputStream.java,
8415 java/io/FilterInputStream.java,
8416 java/io/InputStream.java,
8417 java/io/InputStreamReader.java,
8418 java/io/ObjectInputStream.java,
8419 java/io/ObjectStreamClass.java,
8420 java/io/PipedInputStream.java,
8421 java/io/PipedReader.java,
8422 java/io/PushbackInputStream.java,
8423 java/io/PushbackReader.java,
8424 java/io/RandomAccessFile.java,
8425 java/io/SerializablePermission.java,
8426 java/io/StreamTokenizer.java,
8427 java/io/StringWriter.java,
8428 java/io/WriteAbortedException.java,
8429 java/io/Writer.java:
8430 Fixed javadocs all over, rename arguments to match javadocs,
8433 2004-04-20 Ingo Proetel <proetel@aicas.com>
8435 * java/awt/FontMetrics.java:
8436 (charsWidth): fixed accumulation of total_width
8437 (getWidth): simple default implementation
8438 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8439 in Rectangle constructor.
8440 * java/awt/image/Raster.java (toString): Added method.
8441 * java/awt/image/SampleModel.java (<init>): Added error cause
8442 information to thrown exception.
8443 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8445 (setDataElements): New method.
8446 (setPixels): New method.
8447 (toString): New method.
8449 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8451 * java/awt/image/ComponentColorModel.java
8452 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8453 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8454 Mauve tests on this method. Improved documentation.
8456 2004-04-20 Michael Koch <konqueror@gmx.de>
8458 * javax/swing/JLayeredPane.java,
8459 javax/swing/plaf/BorderUIResource.java,
8460 javax/swing/plaf/ComponentUI.java,
8461 javax/swing/undo/CompoundEdit.java,
8462 javax/swing/undo/StateEdit.java:
8463 Fixed HTML tags in javadocs all over.
8465 2004-04-20 Michael Koch <konqueror@gmx.de>
8467 * javax/print/attribute/EnumSyntax.java
8468 (getOffset): Made protected.
8469 * javax/print/attribute/HashAttributeSet.java
8470 (HashAttributeSet): Likewise.
8471 * javax/print/attribute/ResolutionSyntax.java
8472 (getFeedResolution): Fixed typo in exception name.
8473 (getCrossFeedResolution): Likewise.
8474 * javax/print/attribute/SetOfIntegerSyntax.java
8475 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8476 * javax/print/attribute/TextSyntax.java
8477 (TextSyntax): Handle locale correctly.
8478 (hashCode): Calc better hashcode value.
8479 (equals): Fixed @return tag.
8480 (toString): New method.
8482 2004-04-20 Michael Koch <konqueror@gmx.de>
8484 * gnu/java/nio/FileLockImpl.java
8485 (static): Removed, not needed anymore.
8486 * gnu/java/nio/channels/FileChannelImpl.java
8487 (FileChannelImpl): Made final.
8488 (mode): Made private.
8489 (READ, WRITE, APPEND): Made public.
8490 (EXCL, SYNC, DSYNC): Likewise.
8491 (static): Load native JNI library, when needed.
8492 (length): Unused, removed.
8493 (available): Made public.
8494 (implPosition): Throws IOException.
8496 (implTruncate): Likewise.
8500 2004-04-20 Michael Koch <konqueror@gmx.de>
8502 * java/awt/AWTPermission.java,
8503 java/awt/Component.java,
8504 java/awt/ComponentOrientation.java,,
8505 java/awt/Dialog.java,
8506 java/awt/FontMetrics.java,
8507 java/awt/Graphics.java,
8508 java/awt/datatransfer/DataFlavor.java,
8509 java/beans/Introspector.java,
8510 java/beans/PropertyEditor.java,
8511 java/beans/PropertyEditorManager.java,
8512 java/beans/beancontext/BeanContextServiceProvider.java:
8513 Fixed HTML tags in javadocs all over.
8515 2004-04-20 Mark Wielaard <mark@klomp.org>
8517 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8518 MissingResourceException is thrown.
8519 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8520 null when a MissingResourceException is thrown. Should never happen.
8522 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8524 * java/awt/image/DataBufferShort.java,
8525 java/awt/image/DataBufferFloat.java,
8526 java/awt/image/DataBufferDouble.java,
8527 java/awt/image/PixelInterleavedSampleModel.java: New files.
8528 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8529 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8531 2004-04-20 Michael Koch <konqueror@gmx.de>
8533 * Makefile.am (java_source_files): Added
8534 java/awt/image/DataBufferDouble.java,
8535 java/awt/image/DataBufferFloat.java,
8536 java/awt/image/DataBufferShort.java and
8537 java/awt/image/PixelInterleavedSampleModel.java.
8538 * Makefile.in: Regenerated.
8540 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8542 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8543 undocumented CNI calls.
8544 * include/java-interp.h (_Jv_InterpClass): No longer
8545 extends java.lang.Class.
8546 * java/lang/Class.h (Class): Add new field `aux_info'.
8547 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8548 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8549 Use Class->aux_info instead.
8550 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8551 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8552 Use Class->aux_info instead.
8553 * java/io/natObjectInputStream.cc (allocateObject): Use
8555 * java/lang/natClass.cc (newInstance): Likewise.
8556 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8557 * java/lang/natObject.cc (clone): Likewise.
8558 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8559 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8560 JvAllocObject. Allocate klass->aux_info here for interpreted
8563 2004-04-17 Mark Wielaard <mark@klomp.org>
8565 * javax/swing/JToggleButton.java (ToggleButtonModel):
8566 Make public static inner class.
8567 * javax/swing/JTabbedPane.java (setComponentAt):
8568 Call Page.setComponent().
8569 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8570 (WRAP_TAB_LAYOUT): Make public, value is 0.
8571 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8572 Make private static inner class.
8574 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8576 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8577 arguments to match new signature. Remove FIXME comments.
8579 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8581 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8586 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8588 * Makefile.am: Added new file.
8589 * Makefile.in: Regenerate.
8590 * javax/swing/ImageIcon.java:
8591 (ImageIcon(file)): set description of the icon
8593 * javax/swing/JCheckBoxMenuItem.java:
8594 Mostly Implemented. Work in progress.
8595 * javax/swing/JRadioButtonMenuItem.java:
8596 Reimplement constructors to use JToggleButtonModel.
8597 * javax/swing/plaf/basic/BasicIconFactory.java:
8598 (getCheckBoxMenuItemIcon): return check box
8600 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8601 paint menu item selected only when it is armed and
8604 2004-04-02 David Jee <djee@redhat.com>
8606 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8607 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8608 * java/awt/Component.java
8609 (add): Set the parent of the popup as this component.
8610 * java/awt/PopupMenu.java
8611 (addNotify): Create popup menu when peer is null.
8612 (show): Call addNotify() if peer is null.
8613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8614 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8615 argument for gtk_menu_popup() as zero. This causes the popup menu to
8616 respond to any mouse button.
8618 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8620 * Makefile.am: Added new file.
8621 * Makefile.in: Regenerate.
8622 * javax/swing/JRadioButtonMenuItem.java:
8624 * javax/swing/plaf/basic/BasicIconFactory.java:
8625 (getRadioButtonMenuItemIcon): Return
8627 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8628 (getPreferredSize): Add size of checkIcon if it
8630 (installDefaults): Don't initialize checkIcon.
8631 It's value will be set in subclasses.
8632 (uninstallDefaults): remove uninstallation of
8634 (paint): Moved code to paintMenuItem().
8635 (paintMenuItem): Implemented.
8636 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8637 UI delegate for JRadioButtonMenuItem.
8639 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8641 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8642 Corrected position of the accelerator.
8644 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8646 * Makefile.am: Added new file.
8647 * Makefile.in: Regenerate.
8648 * javax/swing/JMenuItem.java: Partly
8649 implemented. Work in progress
8650 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8651 Changed default value of acceleratorDelimiter.
8652 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8653 New class. Partly implemented.
8655 2004-03-26 Mark Wielaard <mark@klomp.org>
8657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8658 (item_activate): Declare label before use.
8659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8660 (gtkSetFont): Removed unused variable label.
8661 (addExposeFilter): Declare variables before use.
8662 (removeExposeFilter): Likewise.
8663 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8664 (ok_clicked): Declare str_fileName before use.
8666 2004-03-26 David Jee <djee@redhat.com>
8668 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8669 (addSeparator): Remove.
8670 * java/awt/Menu.java
8671 (separator): Remove static final MenuItem field.
8672 (separatorLabel): New static final String field.
8673 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8674 Use separatorLabel to denote that it is a separator.
8675 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8676 of reusing the static separator instance, because a MenuItem instance
8677 can't be added more than once without being cloned.
8678 * java/awt/peer/MenuPeer.java
8679 (addSeparator): Remove from interface.
8681 2004-03-26 David Jee <djee@redhat.com>
8683 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8684 (connectSignals): New native method declaration.
8685 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8686 * java/awt/MenuItem.java
8687 (getActionCommand): Return the label if the action command is not set.
8688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8689 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8690 gtk_menu_shell_append().
8691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8692 (item_activate): Fix argument type.
8693 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8695 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8698 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8699 given. Add the menu widget's top-level GtkWindow to the global window
8700 group, so it can grab the pointer.
8701 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8702 gtk_menu_shell_append().
8704 2004-03-23 Graydon Hoare <graydon@redhat.com>
8706 * java/text/AttributedString.java
8707 (addAttribute): Fix off-by-one.
8708 (getIterator): Likewise.
8709 * java/text/AttributedStringIterator.java
8710 (getRunLimit): Correct logic.
8711 (getRunStart): Likewise.
8712 (getAttribute): Fix inequality.
8713 (getAttributes): Likewise.
8714 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8716 2004-03-23 Kim Ho <kho@redhat.com>
8718 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8719 (calculateSizes): Return real width and height.
8721 2004-03-23 Kim Ho <kho@redhat.com>
8723 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8724 (calculateTabRects): Set the selectedRun before
8725 trying to rotate tabs.
8727 2004-03-23 Kim Ho <kho@redhat.com>
8729 * Makefile.am: New file
8730 * Makefile.in: Regenerate
8731 * java/awt/Graphics.java: (drawRect):
8732 Draw to the correct point.
8733 * javax/swing/DefaultSingleSelectionModel.java
8734 (isSelected): Return true if the selected index
8736 * javax/swing/JLabel.java: Do not change mnemonic
8737 index if text is null.
8738 * javax/swing/JProgressBar.java: Use JComponent's
8740 * javax/swing/JScrollBar.java: Ditto.
8741 * javax/swing/JSlider.java: Ditto.
8742 * javax/swing/JTabbedPane.java: Reimplement.
8743 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8744 Add defaults for TabbedPane.
8745 * javax/swing/plaf/basic/BasicArrowButton.java:
8747 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8748 (paintDeterminate): Don't paint String if it's
8750 (paintIndeterminate): ditto.
8751 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8754 2004-03-19 Michael Koch <konqueror@gmx.de>
8756 * java/awt/image/AffineTransformOp.java
8757 (AffineTransformOp): Made public.
8758 * javax/swing/JComponent.java
8759 (listenerList): Made protected.
8760 (accessibleContext): Likewise.
8761 * javax/swing/JList.java
8762 (valueChanged): Dont use internal fields of ListSelectionEvent.
8763 * javax/swing/JViewport.java
8764 (getView): Dont use internal fields of Component.
8765 (addImpl): Likewise.
8766 * javax/swing/Timer.java
8767 (isRunning): Made public.
8770 * javax/swing/UIDefaults.java
8771 (getInt): Made public.
8772 * javax/swing/plaf/basic/BasicListUI.java
8773 (mousePressed): Dont use internal fields of MouseEvent.
8774 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8775 * javax/swing/plaf/basic/BasicScrollBarUI.java
8776 (arrowIcon): Made static.
8777 * javax/swing/plaf/basic/BasicViewportUI.java
8778 (stateChanged): Dont use internal field on ChangeEvent.
8779 * javax/swing/text/JTextComponent.java
8780 (getUI): Call UIManager.getUI().
8781 (updateUI): Use getUI().
8783 2004-03-19 Graydon Hoare <graydon@redhat.com>
8785 * javax/swing/JComponent.java: Turn off double buffer by default.
8786 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8788 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8789 Use cairo to copy areas.
8790 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8791 Initialize and set clip region.
8793 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8795 * java/applet/Applet.java (preferredSize): Override deprecated
8796 variant of getPreferredSize.
8797 (minimumSize): Override deprecated variant of getMinimumSize.
8799 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8801 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8802 (drawImage(img,xform,bgcolor,obs)): New Method.
8803 Helper function that every drawImage method will
8805 (drawRaster): Added new parameter, bgcolor. All
8806 transparent pixels are changed to bgcolor before
8808 (drawRenderedImage): Fixed to use changed drawRaster().
8809 (drawImage(image,xform,obs): Fixed to use new helper function
8810 (drawImage(image,op,x,y)): Ditto.
8811 (drawImage (img,x,y,observer)): Ditto.
8812 ((PainterThread) bgcolor): New Field.
8813 ((PainterThread) (setPixels)): Changed all transparent pixels
8815 (drawImage(img,x,y,width,height,bgcolor,observer)):
8816 Fixed FIXME - all the transparent pixels are
8817 changed to the specified bgcolor.
8818 (drawImage(img, x, y, width, height, observer): Changed to
8820 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8821 Fixed FIXME- changed all transparent pixels to bgcolor.
8822 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8823 Changed to use function above.
8825 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8827 * java/applet/Applet.java (dimensions): New field.
8828 (getDimensions): New method.
8829 (getPreferredSize): Call getDimensions.
8830 (getMinimumSize): Likewise.
8832 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8834 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8835 * jni/classpath/jnilink.c: Likewise.
8837 * java/applet/Applet.java (getPreferredSize): New method.
8838 (getMinimumSize): New method.
8840 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8842 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8843 (_Jv_AllocObjectNoFinalizer): Likewise.
8844 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8845 (_Jv_AllocPtrFreeObject): Likewise.
8846 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8847 directly even in the JVMPI case.
8848 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8849 _Jv_AllocObject calls.
8850 * gcj/javaprims.h: Update prototypes.
8851 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8852 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8853 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8855 2004-04-14 Andrew Haley <aph@redhat.com>
8856 Bryce McKinlay <mckinlay@redhat.com>
8858 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8859 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8860 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8862 * testsuite/libjava.lang/InvokeInterface.java: New file.
8863 * testsuite/libjava.lang/InvokeInterface.out: New file.
8865 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8867 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8869 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8870 StackTraceElement directly.
8871 (newElement): New native helper method to create StackTraceElement
8872 bypassing Java access control.
8873 (createStackTraceElement): Use newElement() instead of directly
8874 calling StackTraceElement's constructor.
8875 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8877 2004-04-01 Michael Koch <konqueror@gmx.de>
8879 * java/lang/SecurityManager.java
8880 (checkAwtEventQueueAccess): Implemented.
8882 2004-04-01 Gary Benson <gbenson@redhat.com>
8884 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8885 (_Jv_SearchMethodInClass): Likewise.
8887 2004-03-26 Peter Moon <peterm@miraculum.com>
8889 * java/text/NumberFormat.java: Fix spelling of setCurrency
8892 2004-03-21 Anthony Green <green@redhat.com>
8894 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8895 recursion when searching for the system ClassLoader.
8897 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8899 * java/net/ServerSocket.java
8900 (accept): Close the socket when error occured.
8902 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8904 * java/net/URI.java (parseURI): Added unquoting.
8905 (unquote): New method.
8906 (quoteAuthority): Implemented.
8907 (quote(String,String)): New method.
8908 (quotePath): Implemented.
8909 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8910 (getSchemeSpecificPart): Removed FIXME comment.
8911 (getRawAuthority): Return new rawAuthority field.
8912 (getAuthority): Removed FIXME comment.
8913 (getRawUserInfo): Return new rawUserInfo field.
8914 (getUserInfo): Removed FIXME comment.
8915 (getRawPath): Return new rawPath field.
8916 (getPath): Removed FIXME comment.
8917 (getRawQuery): Return new rawQuery field.
8918 (getQuery): Removed FIXME comment.
8919 (getRawFragment): Return new rawFragment field.
8920 (getFragment): Removed FIXME comment.
8922 2004-03-20 Michael Koch <konqueror@gmx.de>
8924 * java/net/URLConnection.java: Merged copyright year with classpath.
8926 2004-03-20 Norbert Frese <postfach@nfrese.net>
8928 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8929 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8930 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8932 (getObjectInputStream): Return object reference, throw IOException if null.
8933 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8934 (getObjectOutputStream): Return object reference, throw IOException if null.
8935 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8936 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8937 (UnicastConnectionManager): Throw RemoteException if port is not available.
8938 (getInstance): Throw RemoteException.
8939 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8940 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8941 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8942 Collect Exceptions which are returned by a rmi-call and fix void returns.
8943 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8944 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8945 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8946 (dispatch): Answer ping messages which are sent by other java implementions.
8947 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8948 for every rmi-message and fix void return problems.
8949 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8950 (UnicastServerRef): Throw RemoteException.
8951 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8952 In some situations it is necessary to export a subclass of the class which has the _Stub.
8953 For instance when the class with has the _Stub is abstract.
8954 (findStubSkelClass): New method which looks for the class which has the _Stub.
8955 (getClientHost): Implementated.
8956 * gcc/libjava/java/rmi/server/RemoteServer.java
8957 (getClientHost): Implementated.
8958 * gcc/libjava/Makefile.am (rmi_java_source_files):
8959 Added gnu/java/rmi/server/RMIIncomingThread.java.
8960 * Makefile.in: Regenerated.
8962 2004-03-20 Michael Koch <konqueror@gmx.de>
8964 * java/net/InetAddress.java
8965 (getLocalHostname): Added javadoc.
8967 2004-03-19 Per Bothner <per@bothner.com>
8969 * configure.in: FILE variable overrides FLATFORM when linking
8970 natFileChannelXXX.cc.
8972 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8973 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8975 2004-03-19 Per Bothner <per@bothner.com>
8977 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8978 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8979 * Makefile.am: Update accordingly.
8980 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8981 as aliases for UnicodeLittle and UnicodeBig.
8983 2004-03-20 Mark Wielaard <mark@klomp.org>
8985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8986 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8987 Don't access ws when it is null.
8988 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8991 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8993 * java/lang/ThreadGroup.java (list): Changed print to println.
8995 2004-03-19 Mark Wielaard <mark@klomp.org>
8997 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
9000 2004-02-10 Randolph Chung <tausq@debian.org>
9002 * configure.in: Build java for hppa target.
9003 * configure: Regenerate.
9004 * libjava/configure.host (hppa-*): Add target.
9005 * libjava/sysdeps/pa/lock.h: New file.
9007 2004-03-19 Mark Wielaard <mark@klomp.org>
9009 Reported by Stephen Crawley
9010 * java/io/FilePermission.java (implies): Use String.length() -1 to
9011 access last char of String.
9013 2004-03-19 Michael Koch <konqueror@gmx.de>
9015 * java/awt/image/AffineTransformOp.java
9016 (AffineTransformOp): Made public.
9017 * javax/swing/JComponent.java
9018 (listenerList): Made protected.
9019 (accessibleContext): Likewise.
9020 * javax/swing/JList.java
9021 (valueChanged): Dont use internal fields of ListSelectionEvent.
9022 * javax/swing/JViewport.java
9023 (getView): Dont use internal fields of Component.
9024 (addImpl): Likewise.
9025 * javax/swing/Timer.java
9026 (isRunning): Made public.
9029 * javax/swing/UIDefaults.java
9030 (getInt): Made public.
9031 * javax/swing/plaf/basic/BasicListUI.java
9032 (mousePressed): Dont use internal fields of MouseEvent.
9033 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9034 * javax/swing/plaf/basic/BasicScrollBarUI.java
9035 (arrowIcon): Made static.
9036 * javax/swing/plaf/basic/BasicViewportUI.java
9037 (stateChanged): Dont use internal field on ChangeEvent.
9038 * javax/swing/text/JTextComponent.java
9039 (getUI): Call UIManager.getUI().
9040 (updateUI): Use getUI().
9042 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9044 * verify.cc: Undef PC.
9046 2004-03-18 Michael Koch <konqueror@gmx.de>
9048 * java/nio/channels/spi/AbstractSelectableChannel.java
9049 (keys): Initialize at declaration.
9050 (locate): keys cant be null.
9052 (addSelectionKey): New method.
9053 (removeSelectionKey): New method.
9054 * java/nio/channels/spi/AbstractSelectionKey.java
9055 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9056 * java/nio/channels/spi/AbstractSelector.java
9057 (provider): Javadoc added.
9058 (cancelledKeys): Javadoc added.
9059 (cancelKey): Javadoc added, add key to cancelledKeys.
9060 (deregister): Implemented.
9062 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9064 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9065 MAP_FAILED to void *.
9067 2004-03-12 Graydon Hoare <graydon@redhat.com>
9069 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9070 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9071 * javax/swing/JList.java (ListListener): Revalidate on changes.
9072 * javax/swing/JScrollPane.java: Reimplement.
9073 * javax/swing/JViewport.java: Reimplement.
9074 * javax/swing/ScrollPaneLayout.java: Reimplement.
9075 * javax/swing/ViewportLayout.java: Tidy up.
9076 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9077 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9078 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9079 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9082 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9085 (window_wm_protocols_filter): New function.
9086 (window_focus_in_cb): Remove function.
9087 (window_focus_out_cb): Likewise.
9088 (window_focus_or_active_state_change_cb): New function.
9089 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9090 (connectSignals): Don't attach handlers to focus-in-event or
9091 focus-out-event signals. Handle notify signal.
9093 2004-03-11 David Jee <djee@redhat.com>
9095 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9096 (gtkSetLabel): New native method declaration.
9097 (setLabel): Use gtkSetLabel.
9098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9099 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9101 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9103 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9104 black when color argument is null.
9106 2004-03-10 Kim Ho <kho@redhat.com>
9108 * java/awt/Container.java: Remove check
9111 2004-03-10 Kim Ho <kho@redhat.com>
9113 * java/awt/Container.java: (visitChild):
9114 Remove candidate clip. Use the component
9116 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9117 (handleEvent): Use the PaintEvent's clip.
9119 2004-03-10 Kim Ho <kho@redhat.com>
9121 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9122 (handleEvent): Don't set the clip for the
9125 2004-03-09 Graydon Hoare <graydon@redhat.com>
9127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9128 Fix double <-> fixed macros, reset font transform.
9129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9132 2004-03-09Â Kim Ho <kho@redhat.com>
9134 * java/awt/Container.java: (visitChild): Move
9135 the x and y coordinate of the component rectangle
9136 to correct position.
9137 (handleEvent): Forward drag events to the pressed
9139 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9141 (ArrowButtonListener::mousePressed): Stop the
9143 (mouseDragged): Implement.
9144 (TrackListener::mousePressed): Only react if
9145 the press doesn't occur on the thumb, otherwise
9146 just set the offset.
9147 (TrackListener::mouseReleased): Unset the isAdjusting
9149 (createIncreaseIcon): Switch icon.
9150 (createDecreaseIcon): Switch icon.
9151 (calculatePreferredSize): Use width.
9152 (getThumbBounds): Use the top as the lower value.
9153 (layoutVScrollBar): Switch the button locations.
9154 (paintIncreaseHighlight): Paint correct side of thumb.
9155 (paintDecreaseHighlight): ditto.
9156 (valueForYPosition): Use top as the lower value.
9157 * javax/swing/plaf/basic/BasicSliderUI.java:
9159 (mouseDragged): Implement.
9160 (mousePressed): Only react when the thumb isn't
9161 pressed, otherwise just set offset.
9162 (mouseReleased): Handle a release of the thumb.
9163 (scrollDueToClickInTrack): Stop the timer first.
9164 * javax/swing/JProgressBar.java:
9165 (setString): Fix change condition.
9166 * javax/swing/JSeparator.java:
9169 2004-03-08 David Jee <djee@redhat.com>
9171 * java/awt/image/AffineTransformOp.java:
9172 (filter): Use Graphics2D interface instead of directly using the
9175 2004-03-05 David Jee <djee@redhat.com>
9177 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9178 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9179 * java/awt/Container.java
9180 (acquireComponentForMouseEvent): Fixed.
9181 (handleEvent): Fixed.
9182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9183 (state_to_awt_mods_with_button_states): New method.
9184 (pre_event_handler): Fixed mouse event generation.
9186 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9188 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9189 (GdkGraphics2D (BufferedImage)): Initialize
9190 pixmap associated with specified BufferedImage.
9191 (setPaint): Changed implementation of Texture
9192 Paint to use AffineTransformOp.
9193 * java/awt/image/AffineTransformOp.java
9194 (createCompatibleDestRaster): Throw RasterFormatException
9195 if resulting width or height of raster is 0.
9197 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9199 * java/awt/image/AffineTransformOp.java:
9200 Removed unnecessary field interpolationType.
9201 Formatted some of the lines to be consistent with
9203 (AffineTransformOp): Create new RenderingHints
9204 containing specified interpolation type.
9205 (createCompatibleDestImage): Implemented.
9206 (createCompatibleDestRaster): Implemented.
9207 (filter): Implemented.
9208 (getBounds2D(BufferedImage)): Implemented.
9209 (getBounds2D(Raster)): Implemented.
9210 (getInterpolationType): Get interpolation value from
9213 2004-03-04 David Jee <djee@redhat.com>
9215 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9216 (setFont): Check if child peers are null.
9218 2004-03-04 Graydon Hoare <graydon@redhat.com>
9220 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9222 (libjava_arguments): Add new libraries to argument list.
9224 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9226 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9227 * Makefile.in: Re-generated.
9228 * java/awt/image/AffineTransformOp.java: New Class.
9230 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9232 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9233 (setPaint): Interpret correctly TexturePaint's
9235 (drawImage): Fixed scale factors of the affine
9238 2004-02-27 David Jee <djee@redhat.com>
9240 * gnu/java/awt/peer/gtk/GdkGraphics.java
9241 (GdkGraphics(Component)): Inherit font from component.
9242 (drawString): Use font style.
9243 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9244 (gtkSetFont): New native method declaration.
9245 (setFont): New method.
9246 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9247 (gtkSetFont): New native method declaration.
9248 (setFont): Call new native method gtkSetFont.
9249 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9250 (setFont): For all child components who do not their fonts set,
9251 set their peers' fonts with this container's font.
9252 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9253 Move all native method declarations to the top for readability.
9254 (gtkSetFont): New native method declaration.
9255 (setFont): New method.
9256 * java/awt/Component.java
9257 (setFont): Invalidate after setting the font.
9258 * java/awt/Container.java
9259 (invalidateTree): New method.
9260 (setFont): Invalidate the container tree after setting the font.
9261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9262 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9263 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9264 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9266 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9268 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9270 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9272 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9273 (updateBufferedImage): New helper function.
9274 Updates BufferedImage in memory if it was changed.
9275 (draw): changed to update BufferedImage in memory after
9276 this drawing operation
9278 (draw3DRect): Ditto.
9279 (fill3DRect): Ditto.
9281 (drawRaster): Ditto.
9282 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9283 no affine transformation.
9284 (drawGlyphVector): Ditto.
9286 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9288 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9289 (isBufferedImageGraphics): New Helper function.
9290 Returns true if this graphics2d can be used to draw
9291 into buffered image and false otherwise.
9292 (updateImagePixels): New Helper function.
9293 Updates pixels in the BufferedImage.
9294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9295 (getImagePixels): New function. Returns pixels
9296 of the buffered image associated with
9299 2004-02-26 David Jee <djee@redhat.com>
9301 * java/awt/BorderLayout.java
9302 (layoutContainer): Fix width and height calculations to ensure
9303 that they're non-negative.
9304 * java/awt/Component.java
9305 (setBackground): If c is null, inherit from closest ancestor whose
9306 background color is set.
9308 2004-02-26 Kim Ho <kho@redhat.com>
9310 * Makefile.am: Add new files.
9311 * Makefile.in: Re-generate.
9312 * javax/swing/JProgressBar.java:
9313 (JProgressBar(int, int int)): Throw
9314 IllegalArgumentException if orientation is
9316 (JProgressBar(BoundedRangeModel)): Create
9317 ChangeListener and register it. UpdateUI.
9318 (getChangeListeners): Implement.
9319 (setModel): Reset ChangeListener.
9320 * javax/swing/JScrollBar.java: Implement.
9321 * javax/swing/JSeparator.java: Implement.
9322 * javax/swing/JSlider.java:
9323 (JSlider(int, int, int, int)): Throw
9324 IllegalArgumentException if orientation
9326 (getChangeListeners): Fix method name.
9327 * javax/swing/SwingUtilities.java:
9328 (layoutCompoundLabel): If there is no text,
9329 set the text rectangle dimensions to 0.
9330 * javax/swing/plaf/basic/BasicButtonUI.java:
9331 (paint): If there is no text, don't paint it.
9332 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9334 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9336 * javax/swing/plaf/basic/BasicSliderUI.java:
9337 (propertyChange): If the model changes, change
9338 the listeners accordingly.
9340 2004-02-25 Graydon Hoare <graydon@redhat.com>
9342 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9343 * javax/swing/JList.java: Reimplement.
9344 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9345 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9346 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9347 * javax/swing/ListModel.java: Javadoc.
9348 * javax/swing/ListSelectionModel.java: Add missing methods.
9349 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9350 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9351 * javax/swing/ListModel.java: Javadoc and corrections.
9352 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9354 2004-02-25 David Jee <djee@redhat.com>
9356 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9357 (GtkFontPeer): Change default size to 12.
9358 * gnu/java/awt/peer/gtk/GtkToolkit.java
9359 (getFontPeer): Change default size to 12.
9360 (getClasspathFontPeer): Likewise. Set default name to "Default".
9361 * java/awt/Font.java
9362 (Font(Map)): Call Font(String,Map).
9363 (Font(String,Map)): If attrs is null, initialize it as an empty
9364 HashMap, which will ensure that the Font will get default attributes.
9366 2004-02-25 David Jee <djee@redhat.com>
9368 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9369 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9370 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9371 * gnu/java/awt/peer/gtk/GtkToolkit.java
9372 (getFontPeer(String,int)): Call the new overload method with size 1.
9373 (getFontPeer(String,int,int)): New method. Overloaded with size
9375 (getClasspathFontPeer): Set the size of the font.
9377 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9379 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9380 (bimage): New field.
9381 (GdkGraphics2D): New Constructor. Constructs Graphics
9382 object that can be used to draw into the Buffered Image.
9383 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9384 (GdkGraphicsEnvironment): Fixed to include public
9386 (createGraphics): Implemented.
9387 * gnu/java/awt/peer/gtk/GtkToolkit.java
9388 (getLocalGraphicsEnvironment): Implemented.
9389 * java/awt/GraphicsEnvironment.java:
9390 (getLocalGraphicsEnvironment): Implemented.
9391 * java/awt/image/BufferedImage.java:
9392 (createGraphics): Implemented.
9394 2004-02-24 David Jee <djee@redhat.com>
9396 * java/awt/Component.java
9397 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9398 * java/awt/Container.java
9399 (addNotifyContainerChildren): Fix event enabling.
9401 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9403 * Makefile.am: Added
9404 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9405 * Makefile.in: Re-generated.
9406 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9409 2004-02-19 Kim Ho <kho@redhat.com>
9411 * Makefile.am: Add BasicProgressBarUI
9412 * Makefile.in: Regenerate.
9413 * javax/swing/JProgressBar.java:
9415 * javax/swing/plaf/basic/BasicLookAndFeel.java
9416 Add constants for JProgressBar.
9417 * javax/swing/plaf/basic/BasicProgressBarUI.java
9419 * javax/swing/plaf/basic/BasicSliderUI.java
9421 (calculateGeometry): New method
9422 (paint): Remove unnecessary size calculations.
9424 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9426 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9427 (drawRaster): Fixed small error that caused
9428 imageToUser transformation to be set incorrectly.
9429 (toString): Implemented.
9431 2004-02-18 David Jee <djee@redhat.com>
9433 * java/awt/CardLayout.java
9434 (addLayoutComponent): Show the first component added as the default.
9435 (removeLayoutComponent): After removing, show the next component.
9436 (gotoComponent): If there is only one component, show it and return.
9438 2004-02-18 Kim Ho <kho@redhat.com>
9440 * javax/swing/JSlider.java: Re-order
9442 * javax/swing/JLabel.java: Re-order
9444 * javax/swing/JComponent.java:
9445 (addPropertyChangeListener):
9447 (removePropertyChangeListener):
9449 (firePropertyChangeEvent):
9452 2004-02-17 David Jee <djee@redhat.com>
9454 * java/awt/Component.java
9455 (show): Dispatch ComponentEvent via system event queue.
9459 (reshape): Likewise.
9460 * java/awt/Window.java
9461 (setBoundsCallback): Likewise.
9463 2004-02-17 David Jee <djee@redhat.com>
9465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9466 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9467 Use gtk_widget_set_size_request() instead of the deprecated
9468 gtk_widget_set_usize().
9470 2004-02-17 Kim Ho <kho@redhat.com>
9472 * javax/swing/JSlider.java: Fix comments and
9473 make property strings constants.
9474 (createStandardLabels): Use the labels
9475 preferred size as bounds.
9476 * javax/swing/plaf/basic/BasicSliderUI.java
9478 (ScrollHandler::actionPerformed): Don't
9479 calculate the timer stop value. Let the
9480 MouseListeners find the stop location.
9481 (getPreferredHorizontalSize): Re-implement.
9482 (getPreferredVerticalSize): ditto.
9483 (getMinimumHorizontalSize): ditto.
9484 (getMinimumVerticalSize): ditto.
9485 (getPreferredSize): ditto.
9486 (getMinimumSize): ditto.
9487 (getMaximumSize): ditto.
9488 (paintTicks): Use doubles to find the
9490 (paintHorizontalLabel):Â Use preferredSize
9491 as initial width and height.
9492 (paintVerticalLabel): ditto.
9494 2004-02-17 Kim Ho <kho@redhat.com>
9496 * javax/swing/JLabel.java: Changed
9497 property strings to constants.
9498 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9500 (setText): Change mnemonic index if
9502 (setDisplayedMnemonicIndex): Fire property
9504 (getDisplayedMnemonicIndex): Remove check
9507 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9509 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9510 (drawImage(img,xform,obs)): Invert xform before
9511 passing the xform to cairo.
9512 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9513 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9515 (drawImage (img,x,y,w,h,obs)): Implemented.
9516 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9517 bgcolor,obs)): Partly implemented.
9518 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9520 * java/awt/image/BufferedImage.java:
9521 (copyData): if dest is null, create raster with same
9522 dimensions as the current image.
9524 2004-02-16 Graydon Hoare <graydon@redhat.com>
9526 * javax/swing/plaf/basic/BasicLabelUI.java
9527 (getPreferredSize): Use layoutCL.
9528 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9529 (getPreferredButtonSize): Start with empty view rect, layout using
9530 component's preferred alignment.
9531 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9534 2004-02-16 David Jee <djee@redhat.com>
9536 * java/awt/Component.java
9537 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9538 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9539 (move): Erase old bounds and repaint new bounds. Dispatch
9540 COMPONENT_MOVED ComponentEvent.
9541 (resize): Erase old bounds and repaint new bounds. Dispatch
9542 COMPONENT_RESIZED ComponentEvent.
9543 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9545 * java/awt/Window.java
9546 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9549 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9551 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9552 (setRenderingHint): Added implementation of
9553 Interpolation rendering hints.
9554 (setRenderingHints): Ditto.
9555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9556 (drawPixels): fixed to allow user to choose type
9557 of filtering that should be used when displaying images.
9558 (cairoSurfaceSetFilter): New method. Sets filter type for
9559 interpolation of pixel values.
9561 2004-02-16 David Jee <djee@redhat.com>
9563 * java/awt/GridBagLayout.java
9564 (calcCellSizes): Rows or columns with zero sizes should still be
9565 considered for extra space distribution.
9567 2004-02-16 Kim Ho <kho@redhat.com>
9569 * javax/swing/JLabel.java: Re-implement.
9570 * javax/swing/plaf/basic/BasicLabelUI.java
9572 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9575 2004-02-16 Kim Ho <kho@redhat.com>
9577 * javax/swing/JSlider.java: Fix indentation and comments.
9578 (setModel): Remove null check to conform with Sun's.
9579 (setOrientation): Throw exception if not
9580 HORIZONTAL or VERTICAL.
9581 (getInverted): Use private variable instead of
9582 ComponentOrientation.
9583 (setInverted): ditto.
9584 * javax/swing/plaf/basic/BasicSliderUI.java:
9585 Fix indentation and comments.
9586 (propertyChange): Remove check for inverted slider, handle
9588 (getMinimumSize): Return preferred size.
9589 (getMaximumSize): ditto.
9590 (calculateFocusRect): Don't relocate rectangle.
9591 (drawInverted): Return XOR of the slider's inversion and
9592 the component's orientation.
9593 (paint): Update leftToRightCache
9595 2004-02-13 David Jee <djee@redhat.com>
9597 * java/awt/GridBagLayout.java
9598 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9599 code to helper methods.
9600 (sortBySpan): New helper method.
9601 (distributeSizeAndWeight): Likewise.
9602 (calcCellWeights): Likewise.
9603 (calcCellSizes): Add comments.
9605 2004-02-13 David Jee <djee@redhat.com>
9607 * java/awt/Component.java
9608 (show): Only do something if component is invisible at the moment.
9609 (hide): Only do something if component is visible at the moment.
9610 (reshape): If lightweight, erase old bounds and repaint new bounds.
9612 2004-02-13 Kim Ho <kho@redhat.com>
9614 * Makefile.am: Updated for new file.
9615 * Makefile.in: Regenerated.
9616 * javax/swing/JSlider.java: Reimplement.
9617 * javax/swing/SwingUtilities.java
9618 (layoutCompoundLabel): Use icon height
9620 (paintComponent): Implement.
9621 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9622 Add JSlider defaults.
9623 * javax/swing/plaf/basic/BasicSliderUI.java:
9624 Implement. New file.
9626 2004-03-17 Michael Koch <konqueror@gmx.de>
9628 * gnu/java/net/PlainDatagramSocketImpl.java
9629 (RECEIVE_LOCK): New member field.
9630 (SEND_LOCK): New member field.
9631 (send0): New method.
9632 (send): Synchronize on SEND_LOCK.
9633 (receive0): New method.
9634 (receive): Synchronize on RECEIVE_LOCK.
9635 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9636 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9637 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9638 (send0): Renamed from send.
9639 (receive0): Renamed from receive.
9640 2004-03-17 Michael Koch <konqueror@gmx.de>
9642 * gnu/java/net/natPlainSocketImplPosix.cc
9643 (write): Just call write(jbyteArray, offset, len).
9644 (read): Just call read(jbyteArray, offset, len).
9646 2004-03-16 Michael Koch <konqueror@gmx.de>
9648 * javax/swing/JTabbedPane.java
9649 (serialVersionUID): New field.
9651 2004-03-16 Norbert Frese <postfach@nfrese.net>
9653 * java/net/InetAddress.java
9654 (getByName): Handle hostname == "" case.
9656 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9658 Reported by: Adam Heath <doogie@debian.org>
9659 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9662 2004-03-15 Michael Koch <konqueror@gmx.de>
9664 * java/util/Locale.java: Reverting my last patch
9665 and add a comment why the original version was okay.
9667 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9669 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9670 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9671 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9672 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9674 2004-03-12 Michael Koch <konqueror@gmx.de>
9676 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9678 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9680 * java/net/URI.java (toURL): Implemented.
9682 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9685 (URI_REGEXP) updated to contain scheme specific part.
9686 (SCHEME_SPEC_PART_GROUP) new constant.
9687 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9688 updated to make room for SCHEME_SPEC_PART_GROUP.
9689 (parseURI) parse scheme specific part.
9690 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9691 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9692 getQuery, getFragment) implemented.
9694 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9696 * libraries/javalib/java/net/URI.java
9697 partially implemented using java.util.regex.
9698 (URI_REGEXP) new constant. Used to parse URIs.
9699 (SCHEME_GROUP) new constant representing index of scheme group
9701 (AUTHORITY_GROUP) new constant representing index of authority
9702 group in parsed URI.
9703 (PATH_GROUP) new constant representing index of path group in
9705 (QUERY_GROUP) new constant representing index of query group in
9707 (FRAGMENT_GROUP) new constant representing index of fragment
9708 group in parsed URI.
9709 (getURIGroup) new static utility method.
9710 (parseURI) implemented.
9711 (quote) stub for new static utility method.
9712 (quoteAuthority) stub for new static utility method.
9713 (quoteHost) stub for new static utility method.
9714 (quotePath) stub for new static utility method.
9715 (quoteUserInfo) stub for new static utility method.
9717 (create) don't throw URISyntaxException. Implemented.
9718 (toString) implemented.
9720 2004-03-12 Michael Koch <konqueror@gmx.de>
9722 * java/net/HttpURLConnection.java
9723 (getResponseCode): Fix another typo in javadoc.
9725 2004-03-11 Michael Koch <konqueror@gmx.de>
9727 * java/util/logging/Level.java
9728 (parse): Use String.equals() instead of ==.
9730 2004-03-11 Michael Koch <konqueror@gmx.de>
9732 * gnu/java/net/protocol/jar/Connection.java
9733 (getContentLength): New method.
9735 2004-03-11 Michael Koch <konqueror@gmx.de>
9737 * gnu/java/net/PlainSocketImpl.java:
9738 Reformated to merge better with classpath's version.
9740 2004-03-11 Michael Koch <konqueror@gmx.de>
9742 * java/util/Locale.java
9743 (getISO3Language): Use String.equals() instead of ==.
9744 (getISO3Country): Likewise.
9746 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9748 * java/text/AttributedString.java
9749 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9750 Use HashMap instead of Hashtable since value can be null, and
9751 you can not store a null value in a Hashtable.
9753 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9755 * java/text/AttributedStringIterator.java
9756 (getAllAttributesKey): Return only keys concerned
9757 by the current iterator.
9758 (getAttributes): Use strict inequality for
9761 2004-03-11 Michael Koch <konqueror@gmx.de>
9763 * java/net/HttpURLConnection.java:
9764 Fixed typo in javadoc.
9766 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9768 * java/io/BufferedInputStream.java (marktarget): New field for max
9770 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9771 (mark): Use new fields.
9773 (read(byte[],int,int)): Likewise.
9777 2004-03-11 Mark Wielaard <mark@klomp.org>
9779 * java/beans/BeanDescriptor.java (BeanDescriptor):
9780 Set the FeatureDescriptor programmatic name.
9782 2004-03-11 Michael Koch <konqueror@gmx.de>
9784 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9785 This file was was just copied form java/io/natFileDescriptorEcos.cc
9786 and never changed to compile correctly.
9788 2004-03-11 Michael Koch <konqueror@gmx.de>
9790 * gnu/java/nio/PipeImpl.java
9791 (SourceChannelImpl): Made final.
9792 (read): Implemented.
9793 (SinkChannelImpl): Made final.
9794 (write): Implemented.
9796 2004-03-11 Michael Koch <konqueror@gmx.de>
9798 * gnu/java/net/PlainDatagramSocketImpl.java:
9799 Reformated to match classpath's version more.
9801 2004-03-11 Michael Koch <konqueror@gmx.de>
9803 * gnu/java/awt/peer/ClasspathFontPeer.java:
9804 Fixed javadoc to be correct xhtml.
9805 * gnu/java/awt/peer/gtk/GtkArgList.java
9806 (add): Use Boolean.valueOf() instead of new Boolean().
9808 2004-03-09 Michael Koch <konqueror@gmx.de>
9810 * java/lang/Thread.java
9811 (runnable): Moved around.
9812 (daemon): Renamed from daemon_flag.
9813 (contextClassLoader): Renamed from context_class_loader.
9814 (Thread): Reordered constructors.
9815 (activeCount): Use group directly.
9816 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9817 (holdsLock): Reworked javadoc.
9818 (setDaemon): Reworked.
9819 * java/lang/natThread.cc
9822 2004-03-08 Anthony Green <green@redhat.com>
9824 * Makefile.am: Build property resource files into libgcj.
9825 * Makefile.in: Rebuilt.
9826 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9827 java/util/regex/PatternSyntaxException.java,
9828 gnu/regexp/CharIndexed.java,
9829 gnu/regexp/CharIndexedCharArray.java,
9830 gnu/regexp/CharIndexedInputStream.java,
9831 gnu/regexp/CharIndexedReader.java,
9832 gnu/regexp/CharIndexedString.java,
9833 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9834 gnu/regexp/REException.java,
9835 gnu/regexp/REFilterInputStream.java,
9836 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9837 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9838 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9839 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9840 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9841 gnu/regexp/RETokenLookAhead.java,
9842 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9843 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9844 gnu/regexp/RETokenStart.java,
9845 gnu/regexp/RETokenWordBoundary.java,
9846 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9848 2004-03-03 Per Bothner <per@bothner.com>
9850 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9851 Optimize when argument is a FileChannelImpl.
9852 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9854 * java/nio/channels/natChannels.cc: New file for new native methods.
9855 * Makefile.am: Update accordingly.
9857 2004-03-02 Jan Hubicka <jh@suse.cz>
9859 * configure.host: Pass -fno-omit-frame-pointer for i386.
9860 * configure.in: Likewise.
9861 * configure: Regenerate.
9863 2004-03-01 Per Bothner <per@bothner.com>
9865 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9867 2004-02-29 Per Bothner <per@bothner.com>
9869 * java/nio/channels/FileChannelImpl.java: Moved to package
9870 gnu/java/nio/channels, since we need to refer to it from java.io.
9871 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9872 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9873 from java/nio/channels. Don't depend on FileDescriptor.
9874 (in, out, err): New static fields.
9876 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9877 from FileDescriptor.
9878 (by): Removed MappedByteBuffer field.
9879 (map): New working implementation.
9880 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9881 some code "ported" from natFileDescriptoPosix.cc.
9882 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9883 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9884 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9885 Remove native methods.
9886 * Makefile.am, configure.in: Updated accordingly.
9888 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9889 (ch): New FileChannelImpl field. Update constructor to match.
9890 (releaseImpl): Remove native method. Instead ...
9891 (release): Call unlock on channel.
9892 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9894 * java/io/natFileDescriptorEcos.cc: Remove file.
9895 * java/io/natFileDescriptorPosix.cc: Remove file.
9896 * java/io/natFileDescriptorWin32.cc: Remove file.
9897 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9898 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9899 (<init>(FileChannelImpl)): New package-private constructor.
9900 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9901 (available, close, read, skip): Implement using FileChannelImpl.
9902 (getFD): Allocate FileDescriptor if needed.
9903 (getChannel): Is now trivial.
9904 * java/io/FileOutputStream.java: Corresponding changes.
9905 * java/io/RandomAccessFile.java: Corresponding changes.
9907 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9908 unmapImpl): New dummy methods, to be overridden by subclass.
9909 (finalize, isLoaded, load, force): New methods.
9910 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9911 Now works, at least for read mapping.
9913 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9914 streams using FileChannelImpl, not FileDescriptor.
9915 * java/lang/natWin32Process.cc (startProcess): Likewise.
9917 2004-02-28 Michael Koch <konqueror@gmx.de>
9919 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9922 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9924 * java/io/ObjectInputStream.java
9925 (readClassDescriptor): Keep elements of the mapping non null.
9926 (checkTypeConsistency): New method.
9927 (readFields): Fixed main loop and base logic. Small reindentation.
9928 * java/io/ObjectStreamField.java
9929 (lookupField): New method to update the field reference.
9930 (checkFieldType): New method.
9931 * java/io/ObjectStreamClass.java
9932 (setClass, setFields): Call lookupField when building the field
9933 database. Check the real field type.
9935 2004-02-28 Michael Koch <konqueror@gmx.de>
9937 * java/nio/ByteOrder.java
9938 (nativeOrder): Use equals() to compare strings.
9940 2004-02-26 Michael Koch <konqueror@gmx.de>
9942 * gnu/java/nio/FileLockImpl.java
9943 (finalize): Made protected.
9944 * java/nio/channels/FileChannel.java
9945 (MapMode.READ_ONLY): Made final.
9946 (MapMode.READ_WRITE): Made final.
9947 (MapMode.PRIVATE): Made final.
9948 * java/nio/channels/SocketChannel.java
9949 (open): Simplified code.
9950 * java/nio/channels/spi/AbstractSelectableChannel.java
9951 (registered): Unused, removed.
9952 (keyFor): Check channel is open, only locate key
9953 and not add a new one.
9954 (register): Don't delete attachments.
9956 2004-02-26 Michael Koch <konqueror@gmx.de>
9958 * gnu/java/awt/ComponentDataBlitOp.java
9959 (INSTANCE): Made final.
9960 * gnu/java/awt/image/ImageDecoder.java:
9962 (cm): Unused, removed.
9964 2004-02-26 Michael Koch <konqueror@gmx.de>
9966 * gnu/java/nio/DatagramChannelImpl.java
9967 (send): Check if target address is resolved.
9969 2004-02-26 Michael Koch <konqueror@gmx.de>
9971 * Makefile.am: Generate and install headers for inner classes in
9972 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9973 * Makefile.in: Regenerated.
9975 2004-02-24 Anthony Green <green@redhat.com>
9977 * java/lang/StringBuffer.java: No need to NULL out remainder of
9978 buffer since ensureCapacity_unsynchronized will have done this for
9981 2004-02-20 Michael Koch <konqueror@gmx.de>
9983 * gnu/java/net/protocol/jar/Handler.java
9984 (): Removed unneeded check for file != null. java.net.URL.getFile()
9985 returns an empty string but never null.
9987 2004-02-20 Michael Koch <konqueror@gmx.de>
9989 * gnu/gcj/convert/Convert.java
9990 (main): Use equals() to compare strings.
9992 2004-02-20 Michael Koch <konqueror@gmx.de>
9994 * javax/swing/AbstractButton.java: Made several constants final.
9995 (getRolloverSelectedIcon): Made public.
9996 (getSelectedIcon): Made public.
9998 2004-02-16 Per Bothner <per@bothner.com>
10000 * java/nio/CharBufferImpl.java: Inline super constructor.
10001 * java/nio/DoubleBufferImpl.java: Likewise.
10002 * java/nio/FloatBufferImpl.java: Likewise.
10003 * java/nio/IntBufferImpl.java: Likewise.
10004 * java/nio/LongBufferImpl.java: Likewise.
10005 * java/nio/ShortBufferImpl.java: Likewise.
10006 * java/nio/CharBuffer.java: Remove unused constructor.
10007 * java/nio/DoubleBuffer.java: Likewise.
10008 * java/nio/FloatBuffer.java: Likewise.
10009 * java/nio/IntBuffer.java: Likewise.
10010 * java/nio/LongBuffer.java: Likewise.
10011 * java/nio/ShortBuffer.java: Likewise.
10012 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10013 Fix buggy call to super constructor.
10014 * java/nio/DoubleViewBufferImpl.java: Likewise.
10015 * java/nio/FloatViewBufferImpl.java: Likewise.
10016 * java/nio/IntViewBufferImpl.java: Likewise.
10017 * java/nio/LongViewBufferImpl.java: Likewise.
10018 * java/nio/ShortViewBufferImpl.java: Likewise.
10020 * java/nio/ByteBuffer.java (endian): Make non-private so other
10021 java.nio classes can inherit it.
10022 (<init>): Don't bother clearing array_offset.
10023 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10024 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10025 Remove redundant test.
10027 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10028 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10029 Use new XxxViewBufferImpl constructors.
10030 * java/nio/MappedByteBufferImpl.java: Likewise.
10031 * java/nio/DirectByteBufferImpl.java: Likewise.
10033 * java/nio/ByteBufferImpl.java: Remove one constructor.
10034 Inline super in remaining constructor.
10035 * java/nio/ByteBuffer.java: Remove unused constructor.
10037 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10039 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10040 * java/nio/DirectByteBufferImpl.java (owner): New field.
10041 (offset): Remove unused field.
10042 (<init>): Modify one and add another constructor. Change callers.
10043 (allocateDirect): Removed - not used.
10044 (getImpl, putImpl): Make static and pass address explicitly,
10045 to make them useful for MappedByteBufferImpl.
10046 (get, put): Check for underflow. Modify for new getImpl.
10047 (getImpl): New native method where target is array.
10048 (get(byte[],int,int)): Use the above.
10049 (adjustAddress): New static native method.
10050 (slice, duplicate, asReadOnly): New implementations.
10051 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10052 adjustAddress): New or updated native methods.
10054 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10056 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10057 overflow of fieldmapping.
10059 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10061 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10063 2004-02-14 Per Bothner <per@bothner.com>
10065 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10066 Set closed before calling implCloseChannel, as in the spec.
10068 2004-02-09 Graydon Hoare <graydon@redhat.com>
10070 * javax/swing/ToggleButtonModel.java: Remove dead class.
10071 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10072 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10073 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10074 * Makefile.am: Update for new and removed files.
10075 * Makefile.in: Regenerate.
10077 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10078 * javax/swing/AbstractButton.java
10079 (AbstractButton): Initialize fields correctly in ctor.
10080 * javax/swing/JCheckbox.java
10081 (JCheckBox): Override painting flags.
10082 * javax/swing/DefaultButtonModel.java: Conform to sun.
10083 * javax/swing/JComponent.java (paint): Fill with background color
10085 (processComponentKeyEvent)
10086 (processFocusEvent)
10088 (processMouseMotionEvent): Remove event-consuming empty methods.
10089 (getUIClassID): Return "ComponentUI" not "JComponent"
10090 * javax/swing/JFrame.java: Remove some debugging chatter.
10091 (JFrame): Subscribe to window events.
10092 * javax/swing/JRadioButton.java
10093 (JRadioButton): Override painting flags.
10094 * javax/swing/JRootPane.java
10095 (JRootPane): Set background from UIDefaults.
10096 * javax/swing/JToggleButton.java
10097 (ToggleButtonModel): New inner class.
10098 (JToggleButton): Override layout alighment.
10099 * javax/swing/SwingUtilities.java:
10100 (getLocalBounds): Return width and height, not x and y.
10101 (calculateInnerArea): Use local bounds, not bounds.
10102 (layoutCompoundLabel): Provide overridden form.
10103 (layoutCompoundLabel): Correct bugs.
10104 * javax/swing/UIDefaults.java: Correct comment.
10105 * javax/swing/plaf/basic/BasicButtonUI.java:
10106 Move most logic into defaults, external listener.
10107 (paintIcon): Implement icon painting.
10108 (paint): Fix state painting to conform to changes in model.
10109 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10110 Remove most dead/wrong methods.
10111 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10112 * javax/swing/plaf/basic/BasicIconFactory.java:
10113 (DummyIcon): New class.
10114 (getMenuItemCheckIcon)
10115 (getMenuItemArrowIcon)
10117 (getCheckBoxMenuItemIcon)
10118 (getRadioButtonMenuItemIcon)
10119 (createEmptyFrameIcon): Return DummyIcons, not null.
10120 (getCheckBoxIcon): Implement an icon that looks like sun's.
10121 (getRadioButtonIcon): Implement an icon that looks like sun's.
10122 * javax/swing/plaf/basic/BasicLookAndFeel.java
10123 (initComponentDefaults): Fix impossible values, add some missing.
10124 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10125 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10126 Remove most dead/wrong methods.
10128 (getDefaultIcon): New method.
10129 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10130 Remove most dead/wrong methods.
10131 * javax/swing/plaf/metal/MetalLookAndFeel.java
10132 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10134 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10135 Implement "clearing" as drawing, when on pixmap drawables.
10137 * javax/swing/JButton.java (getUIClassID):
10138 * javax/swing/JCheckBox.java (getUIClassID):
10139 * javax/swing/JEditorPane.java (getUIClassID):
10140 * javax/swing/JLabel.java (getUIClassID):
10141 * javax/swing/JList.java (getUIClassID):
10142 * javax/swing/JOptionPane.java (getUIClassID):
10143 * javax/swing/JPanel.java (getUIClassID):
10144 * javax/swing/JPasswordField.java (uiClassID):
10145 * javax/swing/JRadioButton.java (getUIClassID):
10146 * javax/swing/JRootPane.java (getUIClassID):
10147 * javax/swing/JScrollPane.java (getUIClassID):
10148 * javax/swing/JTabbedPane.java (getUIClassID):
10149 * javax/swing/JToggleButton.java (getUIClassID):
10150 * javax/swing/JTree.java (getUIClassID):
10151 * javax/swing/JViewport.java (getUIClassID):
10152 * javax/swing/text/JTextComponent.java (getUIClassID):
10153 Return "fooUI" not "Jfoo"
10155 2004-02-11 Michael Koch <konqueror@gmx.de>
10157 * java/net/DatagramSocket.java
10158 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10160 (setBroadcast): Likewise.
10161 * java/net/MulticastSocket.java
10162 (setLoopbackMode): Likewise.
10163 * java/net/ServerSocket.java
10164 (setReuseAddress): Likewise.
10165 * java/net/Socket.java
10166 (setTcpNoDelay): Likewise.
10167 (setSoLinger): Likewise.
10168 (setOOBInline): Likewise.
10169 (setKeepAlive): Likewise.
10170 (setReuseAddress): Likewise.
10171 * java/net/URLConnection.java
10172 (setContentHandler): Replace == with equals().
10173 * java/net/URLStreamHandler.java
10174 (hostSEquals): Fix checking host addresses.
10175 (toExternalForm): Dont check protocol for null. We know already its
10178 2004-02-10 David Jee <djee@redhat.com>
10180 * java/awt/BorderLayout.java
10181 (calcCompSize): Invisible components get zero dimensions.
10182 * java/awt/Button.java
10183 (setLabel): Set actionCommand.
10184 * java/awt/Component.java
10185 (show): Invalidate component and parent container.
10188 2004-02-10 David Jee <djee@redhat.com>
10190 * java/awt/GridBagLayout.java
10191 (GridBagLayout): New private field, internalcomptable.
10192 (lookupInternalConstraints): New method.
10193 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10194 (GetLayoutInfo): Reimplement.
10195 (calcCellSizes): Ignore rows/columns with size 0.
10197 2004-02-10 Michael Koch <konqueror@gmx.de>
10199 * gnu/java/awt/EmbeddedWindow.java
10200 (setHandle): Use java.awt.Component.getPeer() instead of
10201 java.awt.Component.peer directly.
10203 2004-02-10 David Jee <djee@redhat.com>
10205 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10206 (gtkSetLabel): New native method definition.
10207 (setLabel): Use gtkSetLabel.
10208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10209 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10211 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10213 * include/powerpc-signal.h: Revert 2004-01-21 change.
10214 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10215 from syscall for ppc32 versions.
10217 2004-02-08 Per Bothner <per@bothner.com>
10219 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10220 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10221 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10222 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10223 Pass ByteOrder parameter to most methods, since the underlying
10224 ByteBuffer's order isn't always what we should use.
10225 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10226 * java/nio/DirectByteBufferImpl.java: Likewise.
10227 Use ByteBufferHelper methods.
10228 * java/nio/MappedByteBufferImpl.java: Likewise.
10229 (compact): Use shiftDown.
10230 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10231 (get, put): Use ByteBufferHelper.
10232 (compact): Use new shiftDown method.
10233 (duplicate(boolean)): New helper method.
10234 (duplicate, asReadOnlyBuffer): Use it.
10235 (order): Return endian field.
10236 * java/nio/DoubleViewBufferImpl.java: Likewise.
10237 * java/nio/FloatViewBufferImpl.java: Likewise.
10238 * java/nio/IntViewBufferImpl.java: Likewise.
10239 * java/nio/LongViewBufferImpl.java: Likewise.
10240 * java/nio/ShortViewBufferImpl.java: Likewise.
10241 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10242 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10243 (compact): Re-implement using shiftDown.
10245 2004-02-08 Andreas Jaeger <aj@suse.de>
10247 * include/x86_64-signal.h: Fix typo.
10249 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10251 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10252 qualifier to _regs.
10253 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10255 2004-02-06 Michael Koch <konqueror@gmx.de>
10257 * java/io/ObjectInputStream.java
10258 (currentClassLoader): Reverted to old version of this method.
10260 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10262 * java/io/ObjectInputStream.java: Made all calls
10263 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10264 use cached info from ObjectStreamClass. (readClassDescriptor):
10265 Cache more information in ObjectStreamClass. (processResolution,
10266 readFields): Use cached info from ObjectStreamClass.
10267 (newObject): Throw exception instead of returning null for failure.
10268 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10269 setCharField, setDoubleField, setFloatField, setIntField,
10270 setLongField, setShortField, setObjectField, readObjectParams):
10271 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10273 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10274 (setClass): Added call to cacheMethods() (findMethod): New method.
10275 (cacheMethods): New method. (ObjectStreamClass): Added call to
10276 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10277 AccessController.doPrivileged to invoke setAccessible.
10278 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10279 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10281 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10282 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10283 isPrimitive): Made safe for cases where type == null.
10284 (setBooleanField, setByteField, setCharField, setShortField,
10285 setIntField, setLongField, setFloatField, setDoubleField,
10286 setObjectField): New methods.
10288 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10290 * java/awt/Component.java (getFont): Return a default font
10293 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10294 (Scrollbar (int, int, int, int, int)): Make default page
10296 (setValues): Only call peer.setValues if one of the values has
10298 (generateName): New method.
10299 (getUniqueLong): New method.
10300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10301 (range_scrollbar): Remove structure.
10302 (post_adjustment_event): Remove function.
10303 (post_change_event): Accept jobject argument.
10304 (create): Cast jints to gdoubles. Round scrollbar values to the
10305 nearest integer. Clamp min, max and value settings.
10306 (connectJObject): Connect hook to widget->window.
10307 (connectSignals): Remove range_scrollbar structure variables.
10308 Remove "move-slider" connection. Pass global peer reference to
10309 "value-changed" callback.
10310 (setLineIncrement): Cast jint value to gdouble.
10311 (setPageIncrement): Likewise.
10312 (setValues): Likewise. Clamp min, max and value settings.
10314 2004-02-05 Michael Koch <konqueror@gmx.de>
10316 * javax/swing/AbstractCellEditor.java
10317 (getCellEditorValue): Removed.
10318 * javax/swing/Box.java: Reformated.
10319 (serialVersionUID): New field.
10320 * javax/swing/ButtonGroup.java:
10321 Removed some weird whitespace.
10322 * javax/swing/CellEditor.java: Reformated.
10323 * javax/swing/CellRendererPane.java
10324 (serialVersionUID): New field.
10325 (AccessibleCellRendererPaneserialVersionUID): New field.
10326 * javax/swing/DefaultListModel.java
10327 (serialVersionUID): New field.
10328 * javax/swing/JEditorPane.java
10329 (serialVersionUID): New field.
10330 (setPage): Throws IOException.
10331 (addHyperlinkListener): Implemented.
10332 (removeHyperlinkListener): Implemented.
10333 (getHyperlinkListener): New method.
10334 * javax/swing/JFileChooser.java
10335 (serialVersionUID): New field.
10336 (AccessibleJFileChooser.serialVersionUID): New field.
10337 (addActionListener): Implemented.
10338 (removeActionListener): Implemented.
10339 (getActionListeners): New method.
10340 * javax/swing/JFormattedTextField.java
10341 (serialVersionUID): New field.
10342 (AbstractFormatter.serialVersionUID): New field.
10343 (clone): Throws CloneNotSupportedException
10344 (setEditValid): Add missing argument.
10345 (stringToValue): Throws ParseExcpetion.
10346 (valueToString): Throws ParseException.
10347 (commitEdit): Throws ParseException.
10348 * javax/swing/JLabel.java
10349 (serialVersionUID): New field.
10350 * javax/swing/JList.java
10351 (serialVersionUID): New field.
10352 (addListSelectionListener): Reformated.
10353 (removeListSelectionListener): Reformated.
10354 (getListSelectionListeners): New method.
10355 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10357 (serialVersionUID): New field.
10358 * javax/swing/table/AbstractTableModel.java
10359 (getValueAt): Removed.
10360 (getColumnCount): Removed.
10361 (getRowCount): Removed.
10363 2004-02-05 Michael Koch <konqueror@gmx.de>
10365 * java/awt/datatransfer/DataFlavor.java
10366 (imageFlavor): Javadoc added.
10367 (javaJVMLocalObjectType): Fixed.
10369 2004-02-05 Michael Koch <konqueror@gmx.de>
10371 * java/lang/Thread.java
10372 (Thread): Reordered.
10373 (setContextClassLoader): Fixed javadoc comment.
10374 (setPriority): Reordered.
10375 (yield): Reordered.
10376 (initialize_native): Reordered.
10377 (gen_name): Reordered.
10379 2004-02-05 Michael Koch <konqueror@gmx.de>
10381 * java/lang/Thread.java: Reordered fields, reformated much code,
10382 no functional changes, some variables renamed, javadoc comments
10385 2004-02-05 Michael Koch <konqueror@gmx.de>
10387 * java/util/zip/Deflater.java,
10388 java/util/zip/DeflaterOutputStream.java,
10389 java/util/zip/GZIPInputStream.java:
10390 Reformated and javadoc comments merged from classpath.
10392 2004-02-05 Michael Koch <konqueror@gmx.de>
10394 * gnu/java/nio/NIOServerSocket.java
10395 (impl): Unused, removed.
10396 * gnu/java/nio/SocketChannelImpl.java
10397 (finnishConnect): Don't throw NoConnectionPendingException if not
10398 connected or no connection pending.
10400 2004-02-02 Graydon Hoare <graydon@redhat.com>
10402 * javax/swing/SwingUtilities.java: Many new functions.
10403 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10404 * javax/swing/basic/BasicGraphicsUtils.java
10405 (getPreferredButtonSize): Start layout from top-left corner.
10407 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10409 * java/awt/geom/AffineTransform.java:
10410 Corrected comments on the field definitions for
10412 (shear): Fixed few errors that caused shear
10413 transformation to be performed incorrectly.
10414 (createInverse): Fixed to return correct
10415 inverse of the given matrix.
10417 2004-02-03 Tom Tromey <tromey@redhat.com>
10419 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10420 PATH or LD_LIBRARY_PATH is not set in parent environment.
10422 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10424 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10425 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10426 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10427 java/awt/Component.java, java/awt/Container.java,
10428 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10429 java/awt/LayoutManager2.java, java/awt/List.java,
10430 java/awt/Menu.java, java/awt/MenuBar.java,
10431 java/awt/MenuItem.java, java/awt/Polygon.java,
10432 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10433 java/awt/Scrollbar.java, java/awt/TextArea.java,
10434 java/awt/TextField.java,
10435 java/awt/image/renderable/RenderContext.java,
10436 javax/swing/JApplet.java: Fix handling of alias methods, where a
10437 method has been deprecated in favour of a new one with the same
10438 funtion but a different name. Put the method implementation in
10439 the deprecated method and have the new method call the
10440 deprecated one. Make all other code call the new method.
10442 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10444 * gnu/java/nio/DatagramChannelImpl.java
10445 (inChannelOperation): New field.
10446 (isInChannelOperation): New accessor.
10447 (setInChannelOperation): New modifier.
10448 (receive): Use capacity() - position() of destination
10449 buffer instead of remaining(). Set and reset our "in
10450 channel operation indicator" before and after delegating
10451 the receive to our datagram socket. Removed testing code.
10452 Update destination buffer's current position if it is
10453 backed by a byte array (hasArray() is true).
10454 (send): Set and reset our "in channel operation indicator"
10455 before and after delegating the send to our datagram socket.
10456 Removed testing code. Update source buffer's current position
10457 if it is backed by a byte array (hasArray() is true).
10458 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10459 Use capacity() - position() of destination buffer instead
10461 * java/net/DatagramSocket.java (receive): Don't throw an
10462 IllegalBlockingModeException if we have a non-blocking
10463 channel which initiated this operation.
10466 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10468 * configure.in: Add pkgconfig check for glib and gthread.
10469 * configure: Regenerate.
10471 2004-02-01 Michael Koch <konqueror@gmx.de>
10473 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10475 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10476 * verify.cc (debug_print): Mark 'fmt' unused.
10478 2004-01-30 Michael Koch <konqueror@gmx.de>
10480 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10481 * configure: Regenerated.
10482 * glib-2.0.m4: Removed.
10483 * gtk-2.0.m4: Removed.
10484 * libart.m4: Removed.
10485 * pkg.m4: New file.
10487 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10489 * gnu/java/net/PlainSocketImpl.java
10490 (inChannelOperation): New field.
10491 (isInChannelOperation): New accessor.
10492 (setInChannelOperation): New modifier.
10493 * gnu/java/nio/ServerSocketChannelImpl.java
10494 (accept): Set and reset our server socket's PlainSocketImpl's
10495 "in channel operation" indicator before and after delegating
10496 the accept to our server socket.
10497 * gnu/java/nio/SocketChannelImpl.java
10498 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10499 operation" indicator before and after delegating the operation to
10503 * java/net/ServerSocket.java (implAccept): Don't throw an
10504 IllegalBlockingModeException if we have a non-blocking
10505 channel which initiated this accept operation.
10506 * java/net/Socket.java (connect): Don't throw an
10507 IllegalBlockingModeException if we have a non-blocking
10508 channel which initiated this connect operation.
10509 * java/nio/channels/spi/AbstractSelectableChannel.java
10510 (configureBlocking): Only call implConfigureBlocking() if
10511 the desired blocking mode is different from our current one.
10513 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10515 * java/io/BufferedReader.java (sbuf): New field.
10516 (readLine): Use String.valueOf instead of new String() as per
10517 Per Bothner's suggestion. Use instance sbuf field instead of a
10518 local StringBuffer instance.
10519 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10520 caller's buffer to refill().
10521 (read(void)): Pass our internal work buffer to refill if our
10522 input queue is empty.
10523 (refill): Changed return type to int. Use the specified buffer
10524 instead of our work buffer as per Bryce McKinlay's suggestion.
10525 Return the number of characters read or -1 for EOF.
10527 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10529 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10531 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10533 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10534 * Makefile.in: Re-generated.
10535 * gnu/awt/xlib/XFontPeer.java: New file.
10536 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10537 (setClip): Commented out debug printout.
10538 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10539 (getFontPeer): Return XFontPeer.
10540 (getLocalGraphicsEnvironment): New method.
10541 (getClasspathFontPeer): New method.
10542 (createFont): New method.
10544 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10546 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10549 2004-01-29 Kim Ho <kho@redhat.com>
10551 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10552 (gtkLayoutSetVisible): New method
10553 (setMenuBar): Hide layout before setting MenuBar
10554 and reshow it after.
10555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10556 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10558 2004-01-28 Michael Koch <konqueror@gmx.de>
10560 * gnu/java/lang/ClassHelper.java
10561 (getPackagePortion): Removed.
10563 2004-01-28 Michael Koch <konqueror@gmx.de>
10565 * javax/swing/JComponent.java
10566 (listenerList): Initalize globally.
10567 (ancestor_list): Removed.
10568 (veto_list): Removed.
10569 (change_list): Removed.
10570 (get_veto_list): Removed.
10571 (get_change_list): Removed.
10572 (get_ancestor_list): Removed.
10573 (removeAncestorListener): Reimplemented.
10574 (removePropertyChangeListener): Likewise.
10575 (removeVetoableChangeListener): Likewise.
10576 (addAncestorListener): Likewise.
10577 (addPropertyChangeListener): Likewise.
10578 (addVetoableChangeListener): Likewise.
10579 (getListeners): New method.
10580 (getAncestorListeners): Likewise.
10581 (getVetoableChangeListeners): Likewise.
10582 (fireVetoableChange): Throws PropertyVetoException.
10583 * javax/swing/JEditorPane.java
10584 (JEditorPane): Throws IOException.
10586 2004-01-28 David Jee <djee@redhat.com>
10588 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10589 (create): Set the default foreground color to
10590 java.awt.SystemColor.windowText.
10592 2004-01-27 Michael Koch <konqueror@gmx.de>
10594 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10595 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10596 Reindented to merge with classpath.
10598 2004-01-27 David Jee <djee@redhat.com>
10600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10601 (addExposeFilter): Handle GtkFramePeer separately.
10602 (removeExposeFilter): Likewise.
10604 2004-01-27 Michael Koch <konqueror@gmx.de>
10606 * gnu/java/net/protocol/http/Connection.java
10607 (getOutputStream): Fixed typo.
10609 2004-01-27 Michael Koch <konqueror@gmx.de>
10611 * java/lang/Class.java
10612 (getConstructor): Removed SecurityException from throws clause.
10613 (_getConstructors): Likewise.
10614 (getConstructors): Likewise.
10615 (getDeclaredConstructor): Likewise.
10616 (getDeclaredClasses): Likewise.
10617 (getDeclaredConstructors): Likewise.
10618 (getDeclaredField): Likewise.
10619 (getDeclaredMethod): Likewise.
10620 (getDeclaredMethods): Likewise.
10621 (getField): Likewise.
10622 (getMethod): Likewise.
10623 (getMethods): Likewise.
10625 2004-01-27 Kim Ho <kho@redhat.com>
10627 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10628 (removeMenuBarPeer): Remove MenuBarPeer argument.
10629 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10630 (dispose): Call native method.
10631 * java/awt/Frame.java (setMenuBar): Create and remove
10632 MenuBar peers only if the Frame has a peer.
10633 (addNotify): Create the MenuBar peer if one exists.
10634 (removeNotify): Remove MenuBar peer if one exists.
10635 * java/awt/Menu.java: Fix imports.
10636 (addNotify): Don't use full class name.
10637 (removeNotify): Call removeNotify on all children.
10638 * java/awt/MenuBar.java (removeNotify): Call
10639 removeNotify on all children.
10640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10641 (removeMenuBarPeer): Remove MenuBarPeer argument.
10642 Iterate through children to find the Frame's MenuBar.
10643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10645 (dispose): Remove references to the MenuComponent.
10647 2004-01-27 Michael Koch <konqueror@gmx.de>
10649 * javax/swing/AbstractCellEditor.java: Reformated.
10650 * javax/swing/DefaultListSelectionModel.java
10651 (listenerList): Made protected.
10652 (addListSelectionListener): Javadoc added.
10653 (removeListSelectionListener): Likewise.
10654 (getListeners): Likewise.
10655 (getListSelectionListeners): Likewise.
10656 * javax/swing/JComboBox.java: Merged copyright year.
10657 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10659 2004-01-26 Andrew Haley <aph@redhat.com>
10661 * javax/swing/table/JTableHeader.java: Extend JComponent
10663 2004-01-26 Kim Ho <kho@redhat.com>
10665 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10668 2004-01-26 Kim Ho <kho@redhat.com>
10670 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10672 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10673 height and let the Layout Managers readjust anything that
10675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10676 (moveLayout): New method. Shift everything in the Gtk
10677 layout in the Y direction by an offset.
10679 2004-01-26 David Jee <djee@redhat.com>
10681 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10682 (handleEvent): Implemented. Handles PaintEvents.
10683 (paint): Implemented. Use GTK native methods to queue updates
10684 for this heavyweight peer.
10685 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10686 (handleEvent): Removed.
10687 * java/awt/Component.java
10688 (paint): Implemented. Explictly paint the heavyweight peer.
10689 (update): Clear the background for heavyweight components.
10690 (paintAll): No need to call peer.paint() anymore.
10691 (processEvent): Don't process PaintEvents here. It's now done in
10692 the peer's handleEvent().
10693 (processPaintEvent): Removed.
10694 * java/awt/Container.java
10695 (paint): No need to call super.paint(). Visit heavyweight
10697 (update): Don't clear the background here. It's done in
10698 Component.update().
10699 (visitChildren): Added check to not recurse into Containers.
10700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10701 (filter_expose_event_handler): New method. Filter unwanted
10702 expose events while painting heavyweight peers.
10703 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10704 New method. Connect filter and block pre_event_handler.
10705 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10706 New method. Disconnect filter and unblock pre_event_handler.
10707 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10708 New method. Invalidate and update given area.
10709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10710 (pre_event_handler): Add checks for unwanted expose events.
10712 2004-01-26 David Jee <djee@redhat.com>
10714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10715 (find_bg_color_widget): For GtkButton, return its child.
10717 2004-01-26 Kim Ho <kho@redhat.com>
10719 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10721 (setMenuBar): Grab MenuBar height and change insets.
10722 (setBounds): Account for MenuBar height.
10723 (postInsetsChangedEvent): Ditto.
10724 (postSizeAllocateEvent): Remove.
10725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10726 (menubar_resize_cb): Remove
10727 (setMenuBarPeer): Remove callback.
10728 (getMenuBarHeight): Use size requisition instead of
10731 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10733 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10734 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10736 (setColumns): Remove FIXME -- peer will retrieve number of
10737 columns by calling getColumns.
10738 (setRows): Likewise for number of rows.
10739 (next_text_number): New field.
10740 (paramString): Fix param string.
10741 (generateName): New method.
10742 (getUniqueLong): New method.
10744 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10746 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10747 image observer of image loading status.
10748 (getImage (String)): Start image production.
10749 (getImage (URL)): Likewise.
10751 2004-01-25 Michael Koch <konqueror@gmx.de>
10753 * java/lang/Class.java: Imports reworked, reformated.
10754 (Class): Javadoc added.
10755 (forName): Likewise.
10756 (getClasses): Likewise.
10757 (getClassLoader): Likewise.
10758 (getComponentType): Likewise.
10759 (getConstructor): Likewise.
10760 (getConstructors): Likewise.
10761 (getDeclaredConstructor): Likewise.
10762 (getDeclaredClasses): Likewise.
10763 (getDeclaredConstructors): Likewise.
10764 (getDeclaredField): Likewise.
10765 (getDeclaredMethod): Likewise.
10766 (getDeclaredMethods): Likewise.
10767 (getDeclaringClass): Likewise.
10768 (getField): Likewise.
10769 (getInterfaces): Likewise.
10770 (getMethod): Likewise.
10771 (getMethods): Likewise.
10772 (getModifiers): Likewise.
10773 (getName): Likewise.
10774 (getResource): Likewise.
10775 (getResourceAsStream): Likewise.
10776 (getSigners): Likewise.
10777 (setSigners): Likewise.
10778 (getSuperclass): Likewise.
10779 (isArray): Likewise.
10780 (isAssignableFrom): Likewise.
10781 (isInstance): Likewise.
10782 (isInterface): Likewise.
10783 (isPrimitive): Likewise.
10784 (newInstance): Likewise.
10785 (getProtectionDomain): Likewise.
10786 (toString): Likewise.
10788 (initializeClass): Likewise.
10789 (finalize): Likewise.
10791 2004-01-24 Michael Koch <konqueror@gmx.de>
10793 * gnu/java/net/protocol/jar/Connection.java
10794 (hdrHash): Removed.
10796 (gotHeaders): Removed.
10797 (getHeaderField): Removed.
10798 (getHeaderFields): Removed.
10799 (getHeaderFieldKey): Removed.
10801 (getField): Removed.
10802 (getHeaders): Removed.
10804 2004-01-24 Michael Koch <konqueror@gmx.de>
10806 * Makefile.am: Added library version to gtk peer lib.
10807 * Makefile.in: Regenerated.
10809 2004-01-24 Michael Koch <konqueror@gmx.de>
10811 * java/util/zip/InflaterInputStream.java: Merged class documentation
10814 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10816 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10817 header. For __powerpc64__ provide the default-signal.h definitions
10819 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10820 instead of the dummy definitions.
10821 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10822 (powerpc64*-*): Remove with_libffi_default.
10823 Only add -mminimal-toc for 64-bit compilations.
10824 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10825 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10826 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10827 * configure: Rebuilt.
10829 2004-01-23 Michael Koch <konqueror@gmx.de>
10831 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10833 2004-01-23 Michael Koch <konqueror@gmx.de>
10835 * java/lang/VMClassLoader.java: Reworked imports.
10837 2004-01-23 Michael Koch <konqueror@gmx.de>
10839 * javax/swing/AbstractAction.java: Reformated.
10841 2004-01-23 Michael Koch <konqueror@gmx.de>
10843 * java/text/CollationElementIterator.java:
10844 (setText): New method.
10846 2004-01-23 Michael Koch <konqueror@gmx.de>
10848 * gnu/java/nio/FileLockImpl.java:
10849 Fixed filename in copyright.
10850 (released): Removed.
10851 (finalize): New method.
10852 * gnu/java/nio/natFileLockImpl.cc
10853 (releaseImpl): Implemented.
10854 * java/nio/channels/FileChannelImpl.java:
10856 (lock): Implemented.
10857 (lockImpl): New method.
10858 (tryLock): Implemented.
10859 (tryLockImpl): New method.
10860 * java/nio/channels/natFileChannelImpl.cc
10861 (lockImpl): New method.
10862 (tryLockImpl): New method.
10864 2004-01-23 Michael Koch <konqueror@gmx.de>
10866 * java/io/FileDescriptor.java
10867 (lock): New method.
10868 (tryLock): New method.
10869 (unlock): New method.
10870 * java/io/natFileDescriptorEcos.cc
10871 (lock): New method.
10872 (tryLock): New method.
10873 (unlock): New method.
10874 * java/io/natFileDescriptorPosix.cc
10875 (lock): New method.
10876 (tryLock): New method.
10877 (unlock): New method.
10878 * java/io/natFileDescriptorWin32.cc
10879 (lock): New method.
10880 (tryLock): New method.
10881 (unlock): New method.
10883 2004-01-23 Michael Koch <konqueror@gmx.de>
10885 * java/io/FileDescriptor.java
10886 (sync): Moved around, added javadoc.
10891 (setLength): Likewise.
10893 (getLength): Likewise.
10894 (getFilePointer): Likewise.
10896 (available): Likewise.
10897 (finalize): Likewise.
10899 2004-01-23 Michael Koch <konqueror@gmx.de>
10901 * javax/swing/AbstractAction.java: Reformated.
10902 (getPropertyChangeListeners): New method.
10903 * javax/swing/AbstractCellEditor.java: Reformated.
10904 (getCellEditorListeners): New method.
10905 * javax/swing/DefaultListSelectionModel.java
10906 (listenerList): New field.
10907 (listeners): Removed.
10908 (get_listeners): Removed.
10909 (addListSelectionListener): Rewritten.
10910 (removeListSelectionListener): Rewritten.
10911 (getListSelectionListeners): New method.
10912 (getListeners): New method.
10913 * javax/swing/JComboBox.java: Imports reworked.
10914 (addActionListener): Implemented.
10915 (removeActionListener): Implemented.
10916 (addItemListener): Implemented.
10917 (removeItemListener): Implemented.
10918 (addPopupMenuListener): Implemented.
10919 (removePopupMenuListener): Implemented.
10920 (getActionListeners): New method.
10921 (getItemListeners): New method.
10922 (getPopupMenuListeners): New method.
10924 2004-01-23 Michael Koch <konqueror@gmx.de>
10926 * gnu/java/net/protocol/http/Connection.java
10927 (connect): Don't initialize bufferedOutputStream if not needed.
10928 (sendRequest): Set property for content length if content is present.
10929 Write content only if present.
10930 (getOutputStream): Check if already connected, dont connect,
10931 initalize bufferedOutputStream if needed.
10933 2004-01-23 Michael Koch <konqueror@gmx.de>
10935 * java/io/FileDescriptor.java
10936 (in, out, err): Added javadoc.
10937 (static): Merged loading code.
10938 (fd, position): Moved around.
10940 2004-01-23 Michael Koch <konqueror@gmx.de>
10942 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10945 2004-01-23 Michael Koch <konqueror@gmx.de>
10947 * java/lang/Class.java,
10948 java/lang/Object.java,
10949 java/lang/Thread.java: Merged copyright with classpath.
10951 2004-01-23 Michael Koch <konqueror@gmx.de>
10953 * java/io/FileDescriptor.java: Merged copyright with classpath to
10954 start merging this class.
10956 2004-01-22 Tom Tromey <tromey@redhat.com>
10959 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10960 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10961 * testsuite/libjava.lang/pr13107_3.java: New file.
10962 * testsuite/libjava.lang/pr13107_3.out: New file.
10963 * testsuite/libjava.lang/pr13107_2.java: New file.
10964 * testsuite/libjava.lang/pr13107_2.out: New file.
10965 * testsuite/libjava.lang/pr13107.java: New file.
10966 * testsuite/libjava.lang/pr13107.out: New file.
10967 * verify.cc (jsr_ptrs): Removed.
10968 (entry_points): Likewise.
10969 (struct subr_info): Likewise.
10970 (struct subr_entry_info): Likewise.
10971 (type_val::unused_by_subroutine_type): Likewise.
10972 (type::merge): Don't handle unused_by_subroutine_type.
10973 (type::print): Likewise.
10974 (state::flags): Removed.
10975 (state::subroutine): Likewise.
10976 (state::seen_subrs): Likewise.
10977 (state::NO_STACK): Likewise.
10978 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10979 (state): Updated all methods.
10980 (state::clean_subrs): Removed.
10981 (state::state): Removed `ret_semantics' flag.
10982 (state::copy): Likewise.
10983 (state::add_subr): Removed.
10984 (state::enter_subroutine): Likewise.
10985 (type::set_return_address): New method.
10986 (handle_jsr_insn): Set return address on the type. Always
10987 invalidate PC after call.
10988 (check_nonrecursive_call): Removed.
10989 (~_Jv_BytecodeVerifier): Updated.
10990 (branch_prepass): Removed special handling of jsr.
10991 (note_branch_target): Likewise.
10992 (get_subroutine): Removed.
10993 (state::merge): Don't merge subroutines and don't handle
10994 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10995 (state::note_variable): Removed.
10996 (state::is_unmerged_ret_state): Likewise.
10997 (state::print): Updated.
10998 (set_variable): Likewise.
10999 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11000 and jsr_semantics arguments. Updated for new reverification
11002 (pop_jump): Rewrote.
11003 (construct_primitive_array_type): Updated.
11004 (state::next): Removed.
11005 (INVALID_STATE): New define.
11006 (state::INVALID): Removed.
11007 (state::NO_NEXT): New value.
11008 (state::pc, state::next): New fields.
11009 (state::get_pc): New method.
11010 (next_verify_pc): Removed.
11011 (next_verify_state): New field.
11012 (verify_instructions_0): Always check for falling off end.
11013 (linked): New type.
11014 (linked_utf8): Removed.
11015 (states): Changed type.
11016 (type::state_mergeable_p): New method.
11017 (state::state_mergeable_p): Likewise.
11018 (handle_ret_insn): Removed most code.
11019 (state::reverify): New method.
11020 (add_new_state): Likewise.
11021 (state::set_pc): Likewise.
11023 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11026 * testsuite/libjava.compile/PR13733.java: New file.
11027 * testsuite/libjava.compile/PR13733.xfail: New file.
11029 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11030 Michael Koch <konqueror@gmx.de>
11032 * javax/swing/table/DefaultTableCellRenderer.java
11033 (DefaultTableCellRenderer): Added javadoc for the class and for
11034 the constructor, Border instance, create an EmptyBorder.
11035 (UIResource): Removed the comment at the end of the class
11036 (setForeground): New method.
11037 (setBackground): New method.
11038 (updateUI): New method.
11039 (getTableCellRendererComponent): Rewritten with the help of
11040 dvholten and Stephane Meslin-Weber.
11041 (validate): New method.
11042 (repaint): New method.
11043 (firePropertyChange): New method.
11044 (setValue): New method.
11046 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11049 (connectJObject): Replace printf calls with g_assert statements.
11050 Move property-notify-event signal connection to ...
11051 (connectSignals): Connect property-notify-event signal. Iterate
11052 through the vbox's children to find layout.
11054 2004-01-22 Graydon Hoare <graydon@redhat.com>
11056 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11057 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11058 Predicate static initialization on GtkToolkit.useGraphics2D().
11059 * java/awt/Component.java (processPaintEvent): Consume event.
11060 * javax/swing/AbstractButton.java: Reimplement, document.
11061 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11062 * javax/swing/JComponent.java (paint): Use double buffer.
11063 (listenerList): Enable member.
11064 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11065 * javax/swing/JToggleButton.java
11066 (JToggleButton): Modify model constructor.
11067 * javax/swing/SwingUtilities.java
11068 (layoutCompoundLabel): Adjust arithmetic.
11069 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11070 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11071 (getPreferredButtonSize): Include margins in calculation.
11072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11073 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11074 Receive up events from subordinate layout component.
11076 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11078 * java/awt/Component.java (show): Set visible to true before
11081 2004-01-21 Kim Ho <kho@redhat.com>
11083 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11085 (removeMenuBarPeer): Make package private.
11086 (setMenuBarPeer): Make package private.
11087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11088 (menubar_resize_cb): Mark attributes unused.
11089 (getMenuBarHeight): ditto.
11091 2004-01-21 David Jee <djee@redhat.com>
11093 * java/awt/Container.java
11094 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11095 dispatching MOUSE_ENTERED event twice. Translate the point for
11096 the mouse event target before dispatching the event.
11098 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11100 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11101 lib_org_w3c_dom_la_LDFLAGS): New.
11102 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11103 * Makefile.in: Rebuilt.
11105 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11107 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11108 Calculate proper offsets for heavyweight components packed in
11109 lightweight containers.
11111 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11112 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11113 (native create): Add width parameter.
11114 (create): Calculate text entry width based on current font's
11115 metrics and number of columns. Set TextField's font if not
11116 already set. Call native create.
11117 (gtkEntryGetBorderWidth): New native method.
11118 (gtkEntryGetSize): Remove method.
11119 (getMinimumSize): Call minimumSize.
11120 (getPreferredSize): Call preferredSize.
11121 (minimumSize): Calculate minimum size based on backing
11122 GtkEntry's borders, font metrics and number of columns.
11123 (preferredSize): Likewise for preferred size.
11124 (get_border_width): New static function.
11126 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11127 Override GtkWindowPeer's setResizable method to account for menu
11128 bar height when setting the frame's size.
11130 2004-01-19 Matthias Klose <doko@debian.org>
11132 * libtool-version: Increased `current' to 6.
11134 2004-01-19 Kim Ho <kho@redhat.com>
11136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11137 (connectJObject): Iterate through the vbox's children to find layout.
11139 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11141 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11142 isDispatchThread method to replace wrong test condition.
11144 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11146 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11147 events to the queue out of order by acquiring locks in the proper
11148 order and not by releasing one before acquiring the other.
11150 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11152 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11153 visible so that dialog can be reused.
11155 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11157 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11158 events may be handled by any queue in the stack.
11160 2004-01-19 Kim Ho <kho@redhat.com>
11162 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11163 MenuBarPeer parameter.
11164 (removeMenuBarPeer): New native method.
11165 (setMenuBar): Call remove if menu bar is null. Adjust insets
11167 (postSizeAllocateEvent): New method. Called when menu bar size is
11168 allocated. Adjust insets and redo layout.
11169 (GtkFramePeer): Set menu bar during frame creation.
11170 (postConfigureEvent): Adjust position and size to accomodate
11172 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11173 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11174 (addNotify): Create the peer if it doesn't exist and call addNotify
11175 for the menu's items.
11176 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11177 * java/awt/MenuItem.java (addNotify): Create the peer if it
11179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11180 (removeMenuBarPeer): New method. Remove menu bar on the current
11182 (setMenuBarPeer): Add the menu bar to the current frame and the
11183 callback for size-allocate events on the menu bar.
11184 (getMenuBarHeight): Add menu bar parameter.
11185 (menubar_resize_cb): New callback method for postSizeAllocate events.
11187 Also: Fix indentation on last ChangeLog entry.
11189 2004-01-16 Kim Ho <kho@redhat.com>
11191 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11192 (gtkWidgetGetDimensions): Remove.
11193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11194 (gtkWidgetGetDimensions): Remove.
11196 2004-01-16 Tom Tromey <tromey@redhat.com>
11198 * java/awt/Container.java: Typo and indentation fixes.
11200 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11201 * java/lang/natVMClassLoader.cc: ...here. New file.
11202 * Makefile.in: Rebuilt.
11203 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11205 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11208 Discard GDK_ENTER_NOTIFY related to ungrabs.
11210 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11212 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11213 is called for an intermediate queue.
11215 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11218 (window_property_changed_cb): Set id_set.
11220 2004-01-16 Kim Ho <kho@redhat.com>
11222 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11223 it is a FileDialog and has dimensions of 0 by 0, then the initial
11224 size is set to size request plus insets.
11225 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11226 (gtkWidgetGetDimensions): Override method.
11227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11228 (gtkWidgetGetDimensions): Override method. Returns size request plus
11231 2004-01-16 Andrew Haley <aph@redhat.com>
11233 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11234 * sysdep/i386/locks.h: Likewise.
11236 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11238 * java/awt/EventDispatchThread.java (run): Stop running when
11240 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11241 Reset the queue after transferring its contents.
11242 (push): Start a new dispatch thread if none is running.
11244 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11246 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11247 (doPolygon): set fill rule of polygon to
11248 WIND_EVEN_ODD by default.
11250 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11252 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11253 Implemented rendering hints related methods.
11254 (getDefaultHints): New helper method. Returns
11255 default rendering hints.
11256 (walkPath): changed to normalize path if
11257 the KEY_STROKE_CONTROL key is in "normalize" mode.
11258 (draw3DRect): changed coordinates of rectangle by +0.5
11259 if in "normalize" mode.
11261 2004-01-15 Tom Tromey <tromey@redhat.com>
11263 * Makefile.in: Rebuilt.
11264 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11265 (%.lo: %.java) Filter out StackTrace.lo.
11267 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11269 * configure.in: Add in AC_PREREQ(2.13)
11270 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11273 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11274 Tom Tromey <tromey@redhat.com>
11277 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11278 array to superclass.
11279 (init): Changed interface; add URLs here.
11280 (initialize): New static method.
11281 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11282 (_Jv_RunMain): ... not here.
11284 2004-01-14 Michael Koch <konqueror@gmx.de>
11286 * java/text/MessageFormat.java:
11287 Added descriptions to exceptions.
11288 This fixes PR libgcj/2429.
11290 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11292 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11293 (push): Make sure push is performed at the top of the thread stack.
11295 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11297 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11298 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11299 (native create): Add width and height parameters. Set text
11300 view's size request according to new parameters.
11301 (create): Calculate text view size based on current font's
11302 metrics and number of rows and columns. Set TextArea's font if
11303 not already set. Call native create.
11304 (getMinimumSize): Call minimumSize.
11305 (getPreferredSize): Call preferredSize.
11306 (getHScrollbarHeight): New method.
11307 (getVScrollbarWidth): New method.
11308 (minimumSize): Calculate minimum size based on scrollbar
11309 visibility, scrollbar sizes, font metrics and number of rows and
11311 (preferredSize): Likewise for preferred size.
11312 (gtkTextGetSize): Remove method.
11314 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11316 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11317 (initializeInsets): Remove method.
11318 (GtkComponentPeer): Initialize insets field. Remove call to
11320 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11322 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11324 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11325 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11326 (latestInsets): Remove field.
11327 (native create): Add insets parameter. Call
11328 window_get_frame_extents. Set the window's default size and
11329 size request based on its frame extents.
11330 (create): Initialize insets.
11331 (postInsetsChangedEvent): New method.
11332 (postConfigureEvent): Remove parameters top, left, bottom,
11333 right. Remove insets-related logic.
11334 (connectJObject): Handle property-notify-event.
11335 (window_get_frame_extents, request_frame_extents,
11336 property_notify_predicate, window_property_changed_cb): New
11338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11339 (pre_event_handler): Remove insets-related logic for configure
11341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11342 Update postConfigureEvent signature.
11344 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11346 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11347 to handle Window "Closing" events.
11349 2004-01-13 David Jee <djee@redhat.com>
11351 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11352 (setBackground): New method. Children with no explicitly-set
11353 background will be repainted with the parent container's new
11356 2004-01-13 David Jee <djee@redhat.com>
11358 * Makefile.am: Add BitwiseXORComposite.java.
11359 * Makefile.in: Regenerated.
11360 * gcj/Makefile.in: Regenerated.
11361 * include/Makefile.in: Regenerated.
11362 * testsuite/Makefile.in: Regenerated.
11364 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11366 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11367 not show modal dialogs twice and so that it allows showing a modal
11368 dialog from another modal dialog.
11370 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11372 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11373 and run secondary dispatch thread to process event queue while this
11376 2004-01-12 Graydon Hoare <graydon@redhat.com>
11378 * gnu/java/awt/gtk/GdkGraphics2D.java
11379 (static): Check GtkToolkit before initializing static state.
11380 (Graphics2D): Don't construct transform with 0.5 unit offset.
11382 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11384 * gnu/java/awt/BitwiseXORComposite.java: Add.
11385 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11386 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11387 (BitwiseXORComposite): Remove inner class.
11389 2004-01-11 Michael Koch <konqueror@gmx.de>
11391 * gnu/java/lang/reflect/TypeSignature.java
11392 (getEncodingOfClass): Documentation fixed.
11393 (getClassForEncoding): Give class loader to Class.forName().
11394 Documentation fixed.
11396 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11398 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11400 2004-01-11 Michael Koch <konqueror@gmx.de>
11402 * javax/swing/undo/StateEditable.java
11403 (RCSID): Removed redundant modifiers.
11405 2004-01-10 Michael Koch <konqueror@gmx.de>
11407 * javax/print/attribute/EnumSyntax.java
11408 (getStringTable): Made protected.
11409 (getEnumValueTable): Likewise.
11410 * javax/print/attribute/standard/JobKOctetsProcessed.java
11411 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11412 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11413 (JobMediaSheetsCompleted): Made class final.
11414 * javax/print/attribute/standard/OutputDeviceAssigned.java
11415 (getName): Fixed typo.
11416 * javax/print/attribute/standard/RequestingUserName.java
11417 (serialVersionUID): Fixed value.
11419 2004-01-10 Michael Koch <konqueror@gmx.de>
11421 * javax/swing/plaf/basic/BasicButtonUI.java,
11422 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11423 javax/swing/plaf/basic/BasicListUI.java,
11424 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11425 javax/swing/plaf/basic/BasicPanelUI.java,
11426 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11427 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11428 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11429 javax/swing/plaf/basic/BasicViewportUI.java:
11430 Fixed import statements.
11432 2004-01-10 Michael Koch <konqueror@gmx.de>
11434 * gnu/java/awt/image/ImageDecoder.java
11435 (produce): Made public.
11436 * gnu/java/awt/peer/GLightweightPeer.java,
11437 gnu/java/awt/peer/gtk/GtkToolkit.java:
11440 2004-01-10 Michael Koch <konqueror@gmx.de>
11442 * javax/swing/JRadioButtonMenuItem.java,
11443 javax/swing/JSeparator.java,
11444 javax/swing/JSplitPane.java,
11445 javax/swing/JTextPane.java,
11446 javax/swing/JToolBar.java,
11447 javax/swing/ListCellRenderer.java,
11448 javax/swing/ListModel.java,
11449 javax/swing/MenuElement.java,
11450 javax/swing/OverlayLayout.java,
11451 javax/swing/ProgressMonitor.java,
11452 javax/swing/ProgressMonitorInputStream.java,
11453 javax/swing/Renderer.java,
11454 javax/swing/RootPaneContainer.java,
11455 javax/swing/Scrollable.java,
11456 javax/swing/SingleSelectionModel.java,
11457 javax/swing/ToolTipManager.java,
11458 javax/swing/ViewportLayout.java,
11459 javax/swing/event/DocumentEvent.java,
11460 javax/swing/event/SwingPropertyChangeSupport.java,
11461 javax/swing/event/TreeSelectionEvent.java,
11462 javax/swing/event/UndoableEditEvent.java,
11463 javax/swing/text/AbstractDocument.java,
11464 javax/swing/text/AttributeSet.java,
11465 javax/swing/text/Caret.java,
11466 javax/swing/text/ComponentView.java,
11467 javax/swing/text/DefaultCaret.java,
11468 javax/swing/text/DefaultEditorKit.java,
11469 javax/swing/text/Document.java,
11470 javax/swing/text/EditorKit.java,
11471 javax/swing/text/GapContent.java,
11472 javax/swing/text/Keymap.java,
11473 javax/swing/text/MutableAttributeSet.java,
11474 javax/swing/text/PlainEditorKit.java,
11475 javax/swing/text/Segment.java,
11476 javax/swing/text/Style.java,
11477 javax/swing/text/StyledDocument.java,
11478 javax/swing/text/StyledEditorKit.java,
11479 javax/swing/text/TextAction.java,
11480 javax/swing/text/View.java: Fixed import statements.
11482 2004-01-08 Graydon Hoare <graydon@redhat.com>
11484 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11485 djee@redhat.com's recent inverse ordering of Container elements.
11487 2004-01-09 Michael Koch <konqueror@gmx.de>
11489 * gnu/java/lang/ArrayHelper.java
11490 (equalsArray): Removed.
11492 2004-01-09 Andrew Haley <aph@redhat.com>
11494 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11495 a Utf8Const field before looking at its class.
11497 2004-01-09 Michael Koch <konqueror@gmx.de>
11499 * javax/print/attribute/standard/DocumentName.java,
11500 javax/print/attribute/standard/JobHoldUntil.java,
11501 javax/print/attribute/standard/JobMessageFromOperator.java,
11502 javax/print/attribute/standard/JobName.java,
11503 javax/print/attribute/standard/JobOriginatingUserName.java,
11504 javax/print/attribute/standard/OutputDeviceAssigned.java,
11505 javax/print/attribute/standard/PrinterInfo.java,
11506 javax/print/attribute/standard/PrinterLocation.java,
11507 javax/print/attribute/standard/PrinterMakeAndModel.java,
11508 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11509 javax/print/attribute/standard/PrinterName.java,
11510 javax/print/attribute/standard/RequestingUserName.java: New files.
11511 * Makefile.am (javax_source_files): Added new files.
11512 * Makefile.in: Regenerated.
11514 2004-01-09 Michael Koch <konqueror@gmx.de>
11516 * javax/swing/AbstractAction.java,
11517 javax/swing/AbstractSet.java,
11518 javax/swing/Action.java,
11519 javax/swing/ActionMap.java,
11520 javax/swing/BoundedRangeModel.java,
11521 javax/swing/ButtonModel.java,
11522 javax/swing/CellEditor.java,
11523 javax/swing/CellRendererPane.java,
11524 javax/swing/ComboBoxEditor.java,
11525 javax/swing/DebugGraphics.java,
11526 javax/swing/DefaultCellEditor.java,
11527 javax/swing/DefaultCellRenderer.java,
11528 javax/swing/DefaultComboBoxModel.java,
11529 javax/swing/DefaultDesktopManager.java,
11530 javax/swing/DefaultFocusManager.java,
11531 javax/swing/DefaultListCellRenderer.java,
11532 javax/swing/Icon.java,
11533 javax/swing/JButton.java,
11534 javax/swing/JCheckBoxMenuItem.java,
11535 javax/swing/JDesktopPane.java,
11536 javax/swing/JEditorPane.java,
11537 javax/swing/JMenu.java,
11538 javax/swing/JPanel.java,
11539 javax/swing/JPasswordField.java,
11540 javax/swing/JPopupMenu.java,
11541 javax/swing/JProgressBar.java: Reworked imports.
11543 2004-01-09 Michael Koch <konqueror@gmx.de>
11545 * java/awt/geom/PathIterator.java
11546 (WIND_EVEN_ODD): Removed redundant modifiers.
11547 (WIND_NON_ZERO): Likewise.
11548 (SEG_MOVETO): Likewise.
11549 (SEG_LINETO): Likewise.
11550 (SEG_QUADTO): Likewise.
11551 (SEG_CUBICTO): Likewise.
11552 (SEG_CLOSE): Likewise.
11553 * java/awt/image/SinglePixelPackedSampleModel.java:
11554 Removed redundant semicolon.
11555 * java/io/ObjectInputStream.java
11556 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11557 * java/util/logging/Filter.java
11558 (isLoggable): Removed redundant modifier.
11559 * java/util/logging/LogManager.java:
11560 Removed redundant semicolon.
11561 * java/util/logging/XMLFormatter.java
11562 (format): Removed unused variable "key".
11564 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11566 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11567 New name for the former setFile native method.
11568 (setFile): New method.
11569 (setDirectory): Implemented.
11570 (connectSignals): New native method.
11571 (setFilenameFilter): Improve comment.
11572 (getGraphics): Comment.
11573 (gtkHideFileDialog): New method.
11574 (gtkDisposeFileDialog): New method.
11575 (gtkSetFilename): New method.
11576 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11577 for FileDialog for now.
11578 (hide): New method.
11579 (dispose): New method.
11580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11581 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11582 deprecated creation functions. Make dialog modal. Add it to the
11584 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11586 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11588 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11590 (window_closed): New function.
11591 (ok_clicked): New function.
11592 (cancel_clicked): New function.
11594 2004-01-08 Michael Koch <konqueror@gmx.de>
11596 * javax/swing/JLayeredPane.java: Revert changes to standard
11597 boilerplate, reworked imports.
11599 2004-01-07 Tom Tromey <tromey@redhat.com>
11602 * verify.cc (state::merge): Copy changed locals out of subroutine
11604 (state::FLAG_CHANGED): New const.
11605 (state::FLAG_UNUSED): Likewise.
11606 (state::local_changed): Removed. Updated all users.
11607 (state::flags): New field.
11608 (state::merge): Added jsr_semantics argument, more logic.
11609 (push_jump_merge): Added jsr_semantics argument.
11610 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11611 merging through the jsr instruction.
11613 2004-01-07 Tom Tromey <tromey@redhat.com>
11615 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11618 2004-01-07 Graydon Hoare <graydon@redhat.com>
11620 * java/awt/Container.java (LightweightDispatcher): Implement.
11621 (visitChild): Reuse graphics object.
11622 (dispatchEventImpl): Optionally dispatch to lightweight.
11623 (addNotifyContainerChildren): Build LightweightDispatcher.
11625 2004-01-07 David Jee <djee@redhat.com>
11627 * java/awt/Container.java
11628 (update): Clear only the clipped region, instead of clearing the
11630 (visitChildren): Visit children in descending order.
11632 2004-01-07 Michael Koch <konqueror@gmx.de>
11634 * java/lang/reflect/Array.java: Merged documentation with classpath.
11636 2004-01-07 Michael Koch <konqueror@gmx.de>
11638 * java/text/CollationElementIterator.java
11639 (textIndex): Renamed from index.
11640 * java/text/CollationKey.java
11641 (collator): New member.
11642 (CollationKey): New argument for parent collator.
11643 (equals): Check for same collator, source string and key array.
11644 * java/text/RuleBasedCollator.java:
11646 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11648 (getCollationElementIterator): Rewritten.
11649 (getCollationKey): Added new argument to CollationKey constructor.
11651 2004-01-07 Michael Koch <konqueror@gmx.de>
11653 * gnu/java/nio/DatagramChannelImpl.java
11654 (blocking): Removed.
11655 (DatagramChannelImpl): Call configureBlocking().
11656 (implConfigureBlocking): Dont initialize blocking.
11657 * gnu/java/nio/ServerSocketChannelImpl.java
11658 (blocking): Removed.
11659 (ServerSocketChannelImpl): Call configureBlocking().
11660 (implConfigureBlocking): Dont initialize blocking.
11661 * gnu/java/nio/SocketChannelImpl.java
11662 (blocking): Removed.
11663 (SocketChannelImpl): Call configureBlocking().
11664 (implConfigureBlocking): Dont initialize blocking.
11665 (connect): Use isBlocking().
11666 * java/nio/channels/spi/AbstractSelectableChannel.java
11667 (configureBlocking): Use blockingLock() instead of LOCK.
11668 Set blocking after successfully called implConfigureBlocking().
11669 (register): Use blockingLock() instead of LOCK.
11671 2004-01-07 Michael Koch <konqueror@gmx.de>
11673 * java/net/ServerSocket.java (isBound): Fixed documentation.
11675 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11677 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11678 (changeEvent): Create event object on demand.
11679 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11680 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11681 fireStateChanged): Re-written.
11682 * javax/swing/event/EventListenerList.java: Reformatted, document
11684 (toString): Implemented.
11685 (getListeners): Re-written.
11686 (remove): Re-written.
11688 (NO_LISTENERS): New singleton field.
11689 (listenerList): Declare as transient; document.
11690 (serialVersionUID): Document.
11691 (getListenerCount(Class)): More efficient implementation,
11692 also accepts null argument. Improve Javadoc.
11693 (getListenerCount()): Remove unnecessary cast; docfix.
11694 * javax/swing/undo/UndoableEditSupport.java:
11695 Re-format, document.
11696 (UndoableEditSupport): Set realSource field. Improve documentation.
11697 (_postEdit): Iterate over cloned listener vector.
11698 (toString): Don't emit realSource.
11699 (beginUpdate, endUpdate): Support nested updates.
11700 (postEdit): Use compound edit if present.
11702 2004-01-06 Graydon Hoare <graydon@redhat.com>
11704 * java/awt/Container.java (swapComponents): Add forgotten
11705 function, required for JLayeredPane change.
11707 2004-01-06 Michael Koch <konqueror@gmx.de>
11709 * java/text/CollationElementIterator.java: Reformated.
11710 (CollationElementIterator): Changed order of arguments.
11711 * java/text/RuleBasedCollator.java
11712 (RuleBasedCollator): Merged class documentation.
11713 (CollationElement): Added documentation.
11714 (compare): Reformated, renamed arguments.
11715 (equals): Likewise.
11716 (getCollationElementIterator): Likewise.
11717 (getCollationKey): Likewise.
11719 2004-01-06 Graydon Hoare <graydon@redhat.com>
11721 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11723 2004-01-06 Michael Koch <konqueror@gmx.de>
11725 * gnu/java/net/protocol/file/Connection.java:
11726 Reformated copyright.
11727 (hdrHash): Removed.
11729 (gotHeaders): Removed.
11730 (getHeaderField): Removed.
11731 (getHeaderField): Removed.
11732 (getHeaderFieldKey): Removed.
11734 (getField): Removed.
11735 (getHeaders): Removed.
11737 2004-01-06 Michael Koch <konqueror@gmx.de>
11739 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11740 javax/print/attribute/standard/DateTimeAtCreation.java,
11741 javax/print/attribute/standard/DateTimeAtProcessing.java,
11742 javax/print/attribute/standard/JobImpressionsCompleted.java,
11743 javax/print/attribute/standard/JobKOctets.java,
11744 javax/print/attribute/standard/JobKOctetsProcessed.java,
11745 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11746 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11747 * Makefile.am (javax_source_files): Added new files.
11748 * Makefile.in: Regenerated.
11750 2004-01-06 Michael Koch <konqueror@gmx.de>
11752 * java/net/URLConnection.java
11753 (contentHandler): Removed.
11755 (getHeaderFields): Return an empty map instead of null.
11756 (getContent): Connect if needed, renamed "cType" to "type" and
11757 "contentHandler" to "ch" and made it a local variable.
11758 (getPermission): Don't use package in class name.
11759 (setDefaultRequestProperty): Fixed typo in documentation.
11760 (initializeDateFormats): Made locale a local variable.
11762 2004-01-06 Michael Koch <konqueror@gmx.de>
11764 * java/lang/Package.java
11765 (getPackage): Get the current class loader directly.
11766 * java/lang/SecurityManager.java
11767 (currentLoadedClass): Dont iterate over class contexts.
11768 (classLoaderDepth): Don't check class loaders if everything is allowed.
11770 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11773 (pre_event_handler): Set all insets to 0 when a Configure event
11774 is received for a GtkPlug.
11775 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11776 Make handle long, not int.
11777 (EmbeddedWindow()): New constructor.
11778 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11780 (setHandle): New method.
11781 (getHandle): Return long, not int.
11782 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11784 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11785 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11786 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11787 argument to GdkNativeWindow.
11788 (construct): New method.
11789 (embed): New method.
11791 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11792 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11793 (create(int, int)): New method.
11794 (create): Call new create method.
11795 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11797 (childResized): Remove native implementation. Implement in
11799 (getHScrollbarHeight, getVScrollbarWidth): Call
11800 gtk_widget_size_request to get scrollbar dimensions.
11801 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11802 call getVScrollbarWidth and getHScrollbarHeight when vertical
11803 and horizontal scrollbars respectively are needed.
11804 (doLayout): Enlarge child if it is smaller than the viewport.
11806 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11808 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11809 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11810 argument as per spec.
11812 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11814 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11816 (remove): Ditto. Also, Check for valid argument.
11817 (removeAll): Use peer interface method.
11818 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11819 native add function.
11820 (nativeRemove): New name for native remove function.
11821 (getHistory): New native function.
11822 (constructor): Generate ItemEvent.
11823 (add): Ditto, if selection is changed.
11824 (remove): Ditto, ditto.
11825 (removeAll): Add implementation.
11826 (handleEvent): Remove. Dead code.
11827 (choicePostItemEvent): Add comment.
11828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11829 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11830 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11831 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11832 comments and fix condition to change selection.
11833 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11834 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11835 remove all capability.
11836 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11837 (item_activate): Add cast to remove compiler warning.
11839 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11841 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11842 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11843 (getPreferredSize): Call preferredSize.
11844 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11845 (getMinimumSize): Call minimumSize.
11846 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11847 (gtkWidgetGetDimensions): Return the peer widget's current size
11849 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11850 natural size request.
11852 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11854 Thanks to Brian Gough <bjg@network-theory.com>
11855 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11856 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11858 2004-01-04 Matthias Klose <doko@debian.org>
11860 * aclocal.m4: Rebuilt using "aclocal -I .".
11861 * configure: Rebuilt.
11863 2004-01-03 Per Bothner <per@bothner.com>
11865 * java/util/Date.java (parse): Fix a number of problems.
11866 (skipParens): Remove no-longer-needed method.