From 8079928c7ce26b013601b8ebf20c69c63181278f Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 15 Nov 2005 23:20:01 +0000 Subject: Imported GNU Classpath 0.19 + gcj-import-20051115. * sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107049 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 7 + libjava/Makefile.in | 523 +- libjava/classpath/.classpath | 4 +- .../classpath/.settings/org.eclipse.jdt.core.prefs | 18 +- .../classpath/.settings/org.eclipse.jdt.ui.prefs | 5 +- libjava/classpath/AUTHORS | 6 +- libjava/classpath/BUGS | 2 +- libjava/classpath/ChangeLog | 9590 +++++++++++++++++++- libjava/classpath/INSTALL | 35 +- libjava/classpath/LICENSE | 14 + libjava/classpath/Makefile.am | 3 +- libjava/classpath/Makefile.in | 17 +- libjava/classpath/NEWS | 55 + libjava/classpath/aclocal.m4 | 37 +- libjava/classpath/autogen.sh | 2 +- libjava/classpath/config.guess | 614 +- libjava/classpath/config.sub | 185 +- libjava/classpath/configure | 3173 ++++--- libjava/classpath/configure.ac | 167 +- libjava/classpath/doc/Makefile.in | 12 +- libjava/classpath/doc/api/Makefile.in | 12 +- .../doc/www.gnu.org/announce/20050906.wml | 221 + .../doc/www.gnu.org/announce/20051102.wml | 247 + libjava/classpath/doc/www.gnu.org/corba.wml | 37 + .../doc/www.gnu.org/cp-tools/cp-tools.wml | 9 + .../doc/www.gnu.org/downloads/downloads.wml | 20 +- libjava/classpath/doc/www.gnu.org/home.wml | 2 +- .../classpath/doc/www.gnu.org/include/layout.wml | 2 +- libjava/classpath/doc/www.gnu.org/newsitems.txt | 10 + libjava/classpath/doc/www.gnu.org/tasks.wml | 338 +- libjava/classpath/examples/Makefile.in | 12 +- .../examples/CORBA/NamingService/Demo.java | 4 +- .../examples/CORBA/SimpleCommunication/Demo.java | 31 +- .../CORBA/SimpleCommunication/DemoServer.java | 118 + .../CORBA/SimpleCommunication/comServer.java | 118 - .../communication/DemoServant.java | 230 + .../communication/DemoTester.java | 111 + .../communication/DirectTest.java | 40 +- .../communication/RequestTest.java | 56 +- .../communication/StructureToPass.java | 66 + .../communication/StructureToPassHelper.java | 101 + .../communication/StructureToPassHolder.java | 37 + .../communication/StructureToReturn.java | 71 + .../communication/StructureToReturnHelper.java | 114 + .../communication/StructureToReturnHolder.java | 60 + .../communication/TreeNode.java | 60 + .../communication/TreeNodeHelper.java | 160 + .../communication/TreeNodeHolder.java | 100 + .../communication/WeThrowThisException.java | 75 + .../communication/WeThrowThisExceptionHelper.java | 116 + .../communication/_DemoTesterImplBase.java | 209 + .../communication/_DemoTesterStub.java | 429 + .../communication/_comTesterImplBase.java | 206 - .../communication/_comTesterStub.java | 426 - .../communication/comServant.java | 236 - .../communication/comTester.java | 111 - .../SimpleCommunication/communication/node.java | 55 - .../communication/nodeHelper.java | 160 - .../communication/nodeHolder.java | 100 - .../communication/ourUserException.java | 70 - .../communication/ourUserExceptionHelper.java | 116 - .../communication/passThis.java | 61 - .../communication/passThisHelper.java | 102 - .../communication/passThisHolder.java | 37 - .../communication/returnThis.java | 66 - .../communication/returnThisHelper.java | 115 - .../communication/returnThisHolder.java | 60 - .../examples/gnu/classpath/examples/midi/Demo.java | 137 + .../gnu/classpath/examples/swing/ButtonDemo.java | 284 + .../swing/ClasspathSwingActivityBoard.launch | 19 + .../gnu/classpath/examples/swing/ComboBoxDemo.java | 360 + .../gnu/classpath/examples/swing/Demo.java | 214 +- .../classpath/examples/swing/FileChooserDemo.java | 228 + .../classpath/examples/swing/GNULookAndFeel.java | 184 +- .../classpath/examples/swing/ProgressBarDemo.java | 219 + .../classpath/examples/swing/ScrollBarDemo.java | 141 + .../gnu/classpath/examples/swing/SliderDemo.java | 249 + .../classpath/examples/swing/TextFieldDemo.java | 488 + libjava/classpath/external/Makefile.in | 12 +- libjava/classpath/external/sax/Makefile.in | 12 +- libjava/classpath/external/w3c_dom/Makefile.in | 12 +- .../classpath/gnu/CORBA/CDR/AbstractCdrInput.java | 1768 ++++ .../classpath/gnu/CORBA/CDR/AbstractCdrOutput.java | 1047 +++ .../classpath/gnu/CORBA/CDR/AbstractDataInput.java | 392 + .../gnu/CORBA/CDR/AbstractDataOutput.java | 185 + libjava/classpath/gnu/CORBA/CDR/AligningInput.java | 131 + .../classpath/gnu/CORBA/CDR/AligningOutput.java | 148 + .../classpath/gnu/CORBA/CDR/ArrayValueHelper.java | 254 + .../gnu/CORBA/CDR/BigEndianInputStream.java | 2 +- .../gnu/CORBA/CDR/BigEndianOutputStream.java | 2 +- .../classpath/gnu/CORBA/CDR/BufferedCdrOutput.java | 156 + .../classpath/gnu/CORBA/CDR/BufferredCdrInput.java | 153 + .../gnu/CORBA/CDR/EncapsulationStream.java | 146 + libjava/classpath/gnu/CORBA/CDR/HeadlessInput.java | 749 ++ libjava/classpath/gnu/CORBA/CDR/IDLTypeHelper.java | 169 + .../gnu/CORBA/CDR/LittleEndianInputStream.java | 2 +- .../gnu/CORBA/CDR/LittleEndianOutputStream.java | 2 +- .../gnu/CORBA/CDR/UnknownExceptionCtxHandler.java | 292 + libjava/classpath/gnu/CORBA/CDR/VMVio.java | 101 + libjava/classpath/gnu/CORBA/CDR/Vio.java | 1459 ++- .../gnu/CORBA/CDR/abstractDataInputStream.java | 392 - .../gnu/CORBA/CDR/abstractDataOutputStream.java | 185 - .../gnu/CORBA/CDR/aligningInputStream.java | 122 - .../gnu/CORBA/CDR/aligningOutputStream.java | 121 - libjava/classpath/gnu/CORBA/CDR/cdrBufInput.java | 115 - libjava/classpath/gnu/CORBA/CDR/cdrBufOutput.java | 115 - libjava/classpath/gnu/CORBA/CDR/cdrInput.java | 1672 ---- libjava/classpath/gnu/CORBA/CDR/cdrOutput.java | 1009 -- .../gnu/CORBA/CDR/encapsulatedOutput.java | 146 - libjava/classpath/gnu/CORBA/CDR/gnuRuntime.java | 336 + .../classpath/gnu/CORBA/CDR/gnuValueStream.java | 71 + libjava/classpath/gnu/CORBA/CDR/noHeaderInput.java | 166 - .../classpath/gnu/CORBA/CdrEncapsCodecImpl.java | 358 + libjava/classpath/gnu/CORBA/Connected_objects.java | 11 - libjava/classpath/gnu/CORBA/CorbaList.java | 115 + .../classpath/gnu/CORBA/DefaultSocketFactory.java | 79 + libjava/classpath/gnu/CORBA/DynAn/AbstractAny.java | 177 + .../classpath/gnu/CORBA/DynAn/DivideableAny.java | 514 ++ libjava/classpath/gnu/CORBA/DynAn/RecordAny.java | 405 + .../classpath/gnu/CORBA/DynAn/UndivideableAny.java | 493 + .../gnu/CORBA/DynAn/ValueChangeListener.java | 50 + .../classpath/gnu/CORBA/DynAn/abstractDynAny.java | 177 - .../classpath/gnu/CORBA/DynAn/abstractRecord.java | 405 - .../classpath/gnu/CORBA/DynAn/anyDivideable.java | 514 -- .../classpath/gnu/CORBA/DynAn/anyUndivideable.java | 493 - libjava/classpath/gnu/CORBA/DynAn/gnuDynAny.java | 28 +- .../gnu/CORBA/DynAn/gnuDynAnyFactory.java | 8 +- libjava/classpath/gnu/CORBA/DynAn/gnuDynArray.java | 14 +- libjava/classpath/gnu/CORBA/DynAn/gnuDynEnum.java | 2 +- libjava/classpath/gnu/CORBA/DynAn/gnuDynFixed.java | 2 +- .../classpath/gnu/CORBA/DynAn/gnuDynStruct.java | 4 +- libjava/classpath/gnu/CORBA/DynAn/gnuDynUnion.java | 10 +- libjava/classpath/gnu/CORBA/DynAn/gnuDynValue.java | 14 +- .../classpath/gnu/CORBA/DynAn/gnuDynValueBox.java | 6 +- .../gnu/CORBA/DynAn/valueChangedListener.java | 50 - .../classpath/gnu/CORBA/EmptyExceptionHolder.java | 1 + libjava/classpath/gnu/CORBA/ExceptionCreator.java | 245 - .../classpath/gnu/CORBA/ForwardRequestHelper.java | 1 + libjava/classpath/gnu/CORBA/Functional_ORB.java | 1627 ---- libjava/classpath/gnu/CORBA/GIOP/CharSets_OSF.java | 5 +- libjava/classpath/gnu/CORBA/GIOP/CloseMessage.java | 10 +- .../gnu/CORBA/GIOP/CodeSetServiceContext.java | 224 + .../classpath/gnu/CORBA/GIOP/ContextHandler.java | 76 + libjava/classpath/gnu/CORBA/GIOP/ErrorMessage.java | 23 +- .../classpath/gnu/CORBA/GIOP/MessageHeader.java | 200 +- libjava/classpath/gnu/CORBA/GIOP/ReplyHeader.java | 10 +- .../classpath/gnu/CORBA/GIOP/RequestHeader.java | 10 +- .../classpath/gnu/CORBA/GIOP/ServiceContext.java | 88 +- .../gnu/CORBA/GIOP/contextSupportingHeader.java | 76 - libjava/classpath/gnu/CORBA/GIOP/cxCodeSet.java | 224 - .../classpath/gnu/CORBA/GIOP/v1_0/ReplyHeader.java | 14 +- .../gnu/CORBA/GIOP/v1_0/RequestHeader.java | 14 +- .../classpath/gnu/CORBA/GIOP/v1_2/ReplyHeader.java | 16 +- .../gnu/CORBA/GIOP/v1_2/RequestHeader.java | 27 +- libjava/classpath/gnu/CORBA/GeneralHolder.java | 178 + libjava/classpath/gnu/CORBA/HolderLocator.java | 184 + libjava/classpath/gnu/CORBA/IOR.java | 96 +- libjava/classpath/gnu/CORBA/IOR_Delegate.java | 466 - .../classpath/gnu/CORBA/IOR_contructed_object.java | 109 - .../gnu/CORBA/Interceptor/IORInterceptors.java | 83 +- .../gnu/CORBA/Interceptor/Registrator.java | 8 +- .../gnu/CORBA/Interceptor/gnuIcCurrent.java | 4 +- .../gnu/CORBA/Interceptor/gnuIorInfo.java | 44 +- .../CORBA/Interceptor/gnuServerRequestInfo.java | 20 + libjava/classpath/gnu/CORBA/IorDelegate.java | 442 + libjava/classpath/gnu/CORBA/IorObject.java | 118 + libjava/classpath/gnu/CORBA/IorProvider.java | 52 + libjava/classpath/gnu/CORBA/Minor.java | 282 + libjava/classpath/gnu/CORBA/NamingService/Ext.java | 2 +- .../NamingService/NameComponentComparator.java | 98 + .../gnu/CORBA/NamingService/NameParser.java | 197 +- .../gnu/CORBA/NamingService/NameTransformer.java | 328 + .../gnu/CORBA/NamingService/NamingMap.java | 2 +- .../NamingService/NamingServiceTransient.java | 10 +- .../gnu/CORBA/NamingService/cmpNameComponent.java | 98 - .../gnu/CORBA/NamingService/snConverter.java | 328 - libjava/classpath/gnu/CORBA/ObjectCreator.java | 397 +- libjava/classpath/gnu/CORBA/OctetHolder.java | 4 +- libjava/classpath/gnu/CORBA/OrbFocused.java | 375 + libjava/classpath/gnu/CORBA/OrbFunctional.java | 1766 ++++ libjava/classpath/gnu/CORBA/OrbRestricted.java | 529 ++ libjava/classpath/gnu/CORBA/Poa/AOM.java | 382 + .../classpath/gnu/CORBA/Poa/AccessiblePolicy.java | 62 + .../classpath/gnu/CORBA/Poa/DynamicImpHandler.java | 85 + .../classpath/gnu/CORBA/Poa/ForwardedServant.java | 16 +- libjava/classpath/gnu/CORBA/Poa/LocalDelegate.java | 79 +- libjava/classpath/gnu/CORBA/Poa/LocalRequest.java | 42 +- libjava/classpath/gnu/CORBA/Poa/ORB_1_4.java | 51 +- .../gnu/CORBA/Poa/ServantDelegateImpl.java | 232 + .../classpath/gnu/CORBA/Poa/StandardPolicies.java | 128 + .../classpath/gnu/CORBA/Poa/activeObjectMap.java | 394 - libjava/classpath/gnu/CORBA/Poa/dynImpHandler.java | 85 - .../gnu/CORBA/Poa/gnuAdapterActivator.java | 2 +- .../gnu/CORBA/Poa/gnuIdAssignmentPolicy.java | 2 +- .../gnu/CORBA/Poa/gnuIdUniquenessPolicy.java | 2 +- .../gnu/CORBA/Poa/gnuImplicitActivationPolicy.java | 2 +- .../classpath/gnu/CORBA/Poa/gnuLifespanPolicy.java | 2 +- libjava/classpath/gnu/CORBA/Poa/gnuPOA.java | 471 +- libjava/classpath/gnu/CORBA/Poa/gnuPOAManager.java | 60 +- .../gnu/CORBA/Poa/gnuRequestProcessingPolicy.java | 2 +- .../classpath/gnu/CORBA/Poa/gnuServantObject.java | 60 +- .../gnu/CORBA/Poa/gnuServantRetentionPolicy.java | 2 +- .../classpath/gnu/CORBA/Poa/gnuThreadPolicy.java | 2 +- libjava/classpath/gnu/CORBA/Poa/policySets.java | 128 - .../classpath/gnu/CORBA/Poa/servantDelegate.java | 232 - libjava/classpath/gnu/CORBA/Poa/vPolicy.java | 62 - libjava/classpath/gnu/CORBA/RawReply.java | 95 + .../classpath/gnu/CORBA/ResponseHandlerImpl.java | 189 + libjava/classpath/gnu/CORBA/Restricted_ORB.java | 524 -- .../classpath/gnu/CORBA/ServiceRequestAdapter.java | 10 +- libjava/classpath/gnu/CORBA/SimpleDelegate.java | 294 + libjava/classpath/gnu/CORBA/Simple_delegate.java | 276 - libjava/classpath/gnu/CORBA/SocketRepository.java | 86 +- .../classpath/gnu/CORBA/StreamBasedRequest.java | 60 + libjava/classpath/gnu/CORBA/StreamHolder.java | 123 + libjava/classpath/gnu/CORBA/StubLocator.java | 110 + libjava/classpath/gnu/CORBA/TypeCodeHelper.java | 35 +- libjava/classpath/gnu/CORBA/TypeKindNamer.java | 183 + libjava/classpath/gnu/CORBA/Version.java | 26 +- libjava/classpath/gnu/CORBA/WCharHolder.java | 4 +- libjava/classpath/gnu/CORBA/WStringHolder.java | 6 +- libjava/classpath/gnu/CORBA/_PolicyImplBase.java | 3 +- libjava/classpath/gnu/CORBA/aliasTypeCode.java | 142 - libjava/classpath/gnu/CORBA/binaryReply.java | 95 - .../gnu/CORBA/bufferedResponseHandler.java | 189 - libjava/classpath/gnu/CORBA/cdrEncapsCodec.java | 356 - libjava/classpath/gnu/CORBA/corbaArrayList.java | 115 - libjava/classpath/gnu/CORBA/fixedTypeCode.java | 145 - libjava/classpath/gnu/CORBA/generalTypeCode.java | 243 - libjava/classpath/gnu/CORBA/gnuAny.java | 139 +- libjava/classpath/gnu/CORBA/gnuCodecFactory.java | 2 +- libjava/classpath/gnu/CORBA/gnuContextList.java | 2 +- libjava/classpath/gnu/CORBA/gnuExceptionList.java | 2 +- libjava/classpath/gnu/CORBA/gnuNVList.java | 6 +- libjava/classpath/gnu/CORBA/gnuRequest.java | 134 +- libjava/classpath/gnu/CORBA/gnuValueHolder.java | 2 +- libjava/classpath/gnu/CORBA/holderFactory.java | 184 - .../gnu/CORBA/interfaces/SocketFactory.java | 95 + .../classpath/gnu/CORBA/interfaces/package.html | 49 + .../gnu/CORBA/primitiveArrayTypeCode.java | 265 - libjava/classpath/gnu/CORBA/primitiveTypeCode.java | 196 - libjava/classpath/gnu/CORBA/recordTypeCode.java | 245 - libjava/classpath/gnu/CORBA/recursiveTypeCode.java | 78 - libjava/classpath/gnu/CORBA/streamReadyHolder.java | 120 - libjava/classpath/gnu/CORBA/streamRequest.java | 60 - libjava/classpath/gnu/CORBA/stringTypeCode.java | 83 - libjava/classpath/gnu/CORBA/stubFinder.java | 110 - libjava/classpath/gnu/CORBA/typeNamer.java | 180 - .../gnu/CORBA/typecodes/AliasTypeCode.java | 148 + .../gnu/CORBA/typecodes/ArrayTypeCode.java | 272 + .../gnu/CORBA/typecodes/FixedTypeCode.java | 152 + .../gnu/CORBA/typecodes/GeneralTypeCode.java | 249 + .../gnu/CORBA/typecodes/PrimitiveTypeCode.java | 201 + .../gnu/CORBA/typecodes/RecordTypeCode.java | 252 + .../gnu/CORBA/typecodes/RecursiveTypeCode.java | 84 + .../gnu/CORBA/typecodes/StringTypeCode.java | 89 + libjava/classpath/gnu/CORBA/typecodes/package.html | 48 + libjava/classpath/gnu/CORBA/universalHolder.java | 174 - libjava/classpath/gnu/classpath/ByteArray.java | 109 + .../classpath/gnu/classpath/SystemProperties.java | 6 - .../gnu/classpath/jdwp/event/VmDeathEvent.java | 85 + .../classpath/jdwp/event/filters/StepFilter.java | 2 +- .../jdwp/event/filters/ThreadOnlyFilter.java | 2 +- .../jdwp/processor/ArrayReferenceCommandSet.java | 3 +- .../jdwp/processor/ArrayTypeCommandSet.java | 3 +- .../processor/ClassLoaderReferenceCommandSet.java | 3 +- .../processor/ClassObjectReferenceCommandSet.java | 3 +- .../jdwp/processor/ClassTypeCommandSet.java | 3 +- .../jdwp/processor/EventRequestCommandSet.java | 3 +- .../classpath/jdwp/processor/MethodCommandSet.java | 3 +- .../jdwp/processor/ObjectReferenceCommandSet.java | 3 +- .../jdwp/processor/ReferenceTypeCommandSet.java | 3 +- .../jdwp/processor/StackFrameCommandSet.java | 3 +- .../jdwp/processor/StringReferenceCommandSet.java | 3 +- .../processor/ThreadGroupReferenceCommandSet.java | 3 +- .../jdwp/processor/ThreadReferenceCommandSet.java | 3 +- .../jdwp/processor/VirtualMachineCommandSet.java | 13 +- libjava/classpath/gnu/java/awt/AWTUtilities.java | 9 +- libjava/classpath/gnu/java/awt/EmbeddedWindow.java | 6 +- libjava/classpath/gnu/java/awt/FocusManager.java | 52 - .../gnu/java/awt/peer/gtk/GdkFontMetrics.java | 29 +- .../gnu/java/awt/peer/gtk/GdkGraphics.java | 12 +- .../gnu/java/awt/peer/gtk/GdkGraphics2D.java | 53 +- .../gnu/java/awt/peer/gtk/GdkTextLayout.java | 5 +- .../gnu/java/awt/peer/gtk/GtkChoicePeer.java | 3 - .../gnu/java/awt/peer/gtk/GtkComponentPeer.java | 7 +- .../gnu/java/awt/peer/gtk/GtkDialogPeer.java | 28 +- .../gnu/java/awt/peer/gtk/GtkFramePeer.java | 3 +- .../classpath/gnu/java/awt/peer/qt/QtToolkit.java | 4 +- .../gnu/java/beans/DummyAppletContext.java | 37 +- .../gnu/java/beans/decoder/BooleanHandler.java | 4 +- libjava/classpath/gnu/java/io/PlatformHelper.java | 5 - .../classpath/gnu/java/net/LineInputStream.java | 13 +- .../protocol/http/ByteArrayResponseBodyReader.java | 123 - .../java/net/protocol/http/ChunkedInputStream.java | 2 +- .../gnu/java/net/protocol/http/Cookie.java | 2 +- .../gnu/java/net/protocol/http/HTTPConnection.java | 174 +- .../java/net/protocol/http/HTTPURLConnection.java | 108 +- .../gnu/java/net/protocol/http/Headers.java | 85 +- .../protocol/http/LimitedLengthInputStream.java | 220 + .../gnu/java/net/protocol/http/Request.java | 191 +- .../gnu/java/net/protocol/http/Response.java | 55 +- .../java/net/protocol/http/ResponseBodyReader.java | 70 - .../net/protocol/http/event/ConnectionEvent.java | 81 - .../protocol/http/event/ConnectionListener.java | 58 - .../java/net/protocol/http/event/RequestEvent.java | 107 - .../net/protocol/http/event/RequestListener.java | 70 - .../gnu/java/net/protocol/http/event/package.html | 46 - .../gnu/java/net/protocol/jar/Connection.java | 23 +- .../classpath/gnu/java/nio/SocketChannelImpl.java | 2 +- .../gnu/java/nio/channels/FileChannelImpl.java | 3 +- .../gnu/java/nio/charset/UTF_16Decoder.java | 19 +- .../gnu/java/nio/charset/UnicodeLittle.java | 2 +- .../gnu/java/nio/charset/iconv/IconvProvider.java | 6 +- .../classpath/gnu/java/rmi/dgc/DGCImpl_Stub.java | 2 +- .../gnu/java/rmi/server/RMIClassLoaderImpl.java | 350 + .../gnu/java/rmi/server/RMIObjectInputStream.java | 2 +- .../gnu/java/rmi/server/UnicastServer.java | 5 +- .../classpath/gnu/java/security/PolicyFile.java | 6 +- .../classpath/gnu/java/security/der/BitString.java | 13 + .../classpath/gnu/java/security/der/DERReader.java | 2 +- .../provider/DiffieHellmanKeyFactoryImpl.java | 123 + .../DiffieHellmanKeyPairGeneratorImpl.java | 86 + .../classpath/gnu/java/security/provider/Gnu.java | 15 +- .../java/security/x509/ext/BasicConstraints.java | 2 +- .../gnu/java/security/x509/ext/Extension.java | 10 +- .../classpath/gnu/java/text/BaseBreakIterator.java | 7 +- .../gnu/javax/crypto/DiffieHellmanImpl.java | 159 + .../gnu/javax/crypto/GnuDHPrivateKey.java | 90 + .../classpath/gnu/javax/crypto/RSACipherImpl.java | 311 + .../gnu/javax/imageio/bmp/BMPDecoder.java | 169 + .../gnu/javax/imageio/bmp/BMPException.java | 47 + .../gnu/javax/imageio/bmp/BMPFileHeader.java | 128 + .../gnu/javax/imageio/bmp/BMPImageReader.java | 153 + .../gnu/javax/imageio/bmp/BMPImageReaderSpi.java | 123 + .../gnu/javax/imageio/bmp/BMPInfoHeader.java | 201 + .../gnu/javax/imageio/bmp/DecodeBF16.java | 104 + .../gnu/javax/imageio/bmp/DecodeBF32.java | 108 + .../gnu/javax/imageio/bmp/DecodeRGB1.java | 96 + .../gnu/javax/imageio/bmp/DecodeRGB24.java | 77 + .../gnu/javax/imageio/bmp/DecodeRGB4.java | 92 + .../gnu/javax/imageio/bmp/DecodeRGB8.java | 90 + .../gnu/javax/imageio/bmp/DecodeRLE4.java | 176 + .../gnu/javax/imageio/bmp/DecodeRLE8.java | 143 + .../classpath/gnu/javax/rmi/CORBA/CorbaInput.java | 297 + .../classpath/gnu/javax/rmi/CORBA/CorbaOutput.java | 219 + .../javax/rmi/CORBA/DefaultWriteObjectTester.java | 85 + .../gnu/javax/rmi/CORBA/DelegateFactory.java | 76 +- .../CORBA/PortableRemoteObjectDelegateImpl.java | 352 +- .../gnu/javax/rmi/CORBA/RmiUtilities.java | 946 ++ .../gnu/javax/rmi/CORBA/StubDelegateImpl.java | 262 +- .../gnu/javax/rmi/CORBA/TieTargetRecord.java | 93 + .../gnu/javax/rmi/CORBA/UtilDelegateImpl.java | 714 +- .../javax/rmi/CORBA/ValueHandlerDelegateImpl.java | 163 + .../gnu/javax/rmi/CORBA/ValueHandlerImpl.java | 82 - .../classpath/gnu/javax/rmi/PortableServer.java | 141 - .../javax/sound/midi/alsa/AlsaInputPortDevice.java | 130 + .../sound/midi/alsa/AlsaMidiDeviceProvider.java | 216 + .../sound/midi/alsa/AlsaMidiSequencerDevice.java | 519 ++ .../sound/midi/alsa/AlsaOutputPortDevice.java | 131 + .../gnu/javax/sound/midi/alsa/AlsaPortDevice.java | 153 + .../sound/midi/dssi/DSSIMidiDeviceProvider.java | 173 + .../gnu/javax/sound/midi/dssi/DSSISynthesizer.java | 745 ++ .../classpath/gnu/xml/aelfred2/JAXPFactory.java | 2 +- libjava/classpath/gnu/xml/aelfred2/SAXDriver.java | 4 +- libjava/classpath/gnu/xml/dom/DomDocument.java | 50 +- .../gnu/xml/libxmlj/dom/GnomeDocument.java | 48 +- .../gnu/xml/pipeline/ValidationConsumer.java | 2 +- .../gnu/xml/stream/XMLOutputFactoryImpl.java | 3 +- .../gnu/xml/stream/XMLStreamWriterImpl.java | 81 +- .../gnu/xml/transform/StreamSerializer.java | 6 +- .../gnu/xml/transform/TransformerImpl.java | 8 +- libjava/classpath/include/Makefile.am | 14 + libjava/classpath/include/Makefile.in | 26 +- libjava/classpath/include/config.h.in | 9 + .../include/gnu_java_awt_peer_gtk_GdkTextLayout.h | 1 + .../gnu_java_awt_peer_gtk_GtkComponentPeer.h | 1 + ..._javax_sound_midi_alsa_AlsaMidiDeviceProvider.h | 21 + ...javax_sound_midi_alsa_AlsaMidiSequencerDevice.h | 20 + .../gnu_javax_sound_midi_alsa_AlsaPortDevice.h | 19 + ..._javax_sound_midi_dssi_DSSIMidiDeviceProvider.h | 25 + .../gnu_javax_sound_midi_dssi_DSSISynthesizer.h | 29 + libjava/classpath/java/applet/Applet.java | 76 +- libjava/classpath/java/awt/BorderLayout.java | 130 +- libjava/classpath/java/awt/Button.java | 2 + libjava/classpath/java/awt/Canvas.java | 14 +- libjava/classpath/java/awt/Checkbox.java | 11 +- libjava/classpath/java/awt/CheckboxMenuItem.java | 2 + libjava/classpath/java/awt/Choice.java | 4 + libjava/classpath/java/awt/Color.java | 2 +- libjava/classpath/java/awt/ColorPaintContext.java | 4 +- libjava/classpath/java/awt/Component.java | 89 +- libjava/classpath/java/awt/Container.java | 132 +- .../java/awt/DefaultKeyboardFocusManager.java | 4 +- libjava/classpath/java/awt/Dialog.java | 2 + libjava/classpath/java/awt/EventQueue.java | 1 - libjava/classpath/java/awt/Font.java | 2072 ++--- libjava/classpath/java/awt/FontMetrics.java | 21 + libjava/classpath/java/awt/Frame.java | 2 + libjava/classpath/java/awt/Graphics.java | 1291 ++- .../classpath/java/awt/GraphicsConfiguration.java | 5 +- libjava/classpath/java/awt/GridBagLayout.java | 23 +- libjava/classpath/java/awt/Image.java | 20 +- .../classpath/java/awt/KeyboardFocusManager.java | 75 +- libjava/classpath/java/awt/List.java | 15 +- libjava/classpath/java/awt/Menu.java | 2 + libjava/classpath/java/awt/MenuComponent.java | 4 +- libjava/classpath/java/awt/MenuItem.java | 2 + libjava/classpath/java/awt/Point.java | 4 + libjava/classpath/java/awt/Polygon.java | 1 - libjava/classpath/java/awt/PopupMenu.java | 2 + libjava/classpath/java/awt/Rectangle.java | 4 + libjava/classpath/java/awt/ScrollPane.java | 4 +- .../classpath/java/awt/ScrollPaneAdjustable.java | 8 +- libjava/classpath/java/awt/TextArea.java | 2 + libjava/classpath/java/awt/TextComponent.java | 2 + libjava/classpath/java/awt/TextField.java | 2 + libjava/classpath/java/awt/Window.java | 110 +- libjava/classpath/java/awt/color/ICC_Profile.java | 18 +- libjava/classpath/java/awt/event/InputEvent.java | 41 +- .../classpath/java/awt/event/InvocationEvent.java | 25 +- libjava/classpath/java/awt/event/KeyEvent.java | 2 +- libjava/classpath/java/awt/event/MouseEvent.java | 23 +- libjava/classpath/java/awt/geom/Area.java | 2 +- libjava/classpath/java/awt/geom/GeneralPath.java | 3 +- libjava/classpath/java/awt/im/InputContext.java | 3 +- .../java/awt/im/InputMethodHighlight.java | 5 +- .../classpath/java/awt/im/InputMethodRequests.java | 2 + libjava/classpath/java/awt/im/spi/InputMethod.java | 10 +- .../java/awt/im/spi/InputMethodContext.java | 4 +- .../java/awt/im/spi/InputMethodDescriptor.java | 3 +- .../java/awt/image/AreaAveragingScaleFilter.java | 2 +- .../classpath/java/awt/image/BufferedImage.java | 18 +- libjava/classpath/java/awt/image/ColorModel.java | 2 +- .../java/awt/image/ComponentSampleModel.java | 8 +- .../classpath/java/awt/image/ImageConsumer.java | 2 +- .../classpath/java/awt/image/PackedColorModel.java | 6 +- libjava/classpath/java/awt/image/SampleModel.java | 3 +- libjava/classpath/java/awt/print/PrinterJob.java | 7 +- .../java/beans/IndexedPropertyDescriptor.java | 610 +- .../classpath/java/beans/PropertyDescriptor.java | 17 +- .../beancontext/BeanContextServicesSupport.java | 2 +- .../java/beans/beancontext/BeanContextSupport.java | 2 +- .../classpath/java/io/ByteArrayOutputStream.java | 5 +- libjava/classpath/java/io/DataOutputStream.java | 6 +- libjava/classpath/java/io/File.java | 39 +- libjava/classpath/java/io/FileWriter.java | 2 +- libjava/classpath/java/io/FilterReader.java | 2 +- libjava/classpath/java/io/InputStreamReader.java | 25 +- libjava/classpath/java/io/LineNumberReader.java | 6 +- libjava/classpath/java/io/ObjectInputStream.java | 588 +- libjava/classpath/java/io/ObjectOutputStream.java | 79 +- libjava/classpath/java/io/ObjectStreamField.java | 2 +- libjava/classpath/java/io/OutputStreamWriter.java | 160 +- libjava/classpath/java/io/PipedInputStream.java | 2 +- libjava/classpath/java/io/PrintWriter.java | 75 +- libjava/classpath/java/io/PushbackInputStream.java | 9 +- libjava/classpath/java/lang/Boolean.java | 32 + libjava/classpath/java/lang/Byte.java | 32 +- libjava/classpath/java/lang/Character.java | 275 +- libjava/classpath/java/lang/Class.java | 11 +- libjava/classpath/java/lang/ClassLoader.java | 36 +- libjava/classpath/java/lang/Double.java | 23 +- .../java/lang/EnumConstantNotPresentException.java | 93 + libjava/classpath/java/lang/Float.java | 22 + libjava/classpath/java/lang/Integer.java | 4 +- libjava/classpath/java/lang/Long.java | 153 +- libjava/classpath/java/lang/Object.java | 4 +- libjava/classpath/java/lang/Process.java | 1 + libjava/classpath/java/lang/Readable.java | 1 + libjava/classpath/java/lang/RuntimePermission.java | 1 + libjava/classpath/java/lang/SecurityManager.java | 30 +- libjava/classpath/java/lang/Short.java | 44 + libjava/classpath/java/lang/StrictMath.java | 10 +- libjava/classpath/java/lang/String.java | 207 +- libjava/classpath/java/lang/StringBuffer.java | 259 +- libjava/classpath/java/lang/StringBuilder.java | 65 + libjava/classpath/java/lang/System.java | 2 +- libjava/classpath/java/lang/Thread.java | 12 +- libjava/classpath/java/lang/ThreadLocal.java | 1 - libjava/classpath/java/lang/ref/Reference.java | 6 +- libjava/classpath/java/lang/ref/WeakReference.java | 2 +- libjava/classpath/java/lang/reflect/Member.java | 4 +- libjava/classpath/java/lang/reflect/Proxy.java | 19 +- .../lang/reflect/UndeclaredThrowableException.java | 2 +- libjava/classpath/java/math/BigDecimal.java | 19 +- libjava/classpath/java/math/BigInteger.java | 19 +- libjava/classpath/java/net/DatagramSocket.java | 1 - libjava/classpath/java/net/Inet4Address.java | 2 +- libjava/classpath/java/net/InetSocketAddress.java | 2 +- libjava/classpath/java/net/ServerSocket.java | 4 +- libjava/classpath/java/net/Socket.java | 9 +- libjava/classpath/java/net/URLClassLoader.java | 110 +- libjava/classpath/java/net/URLConnection.java | 8 +- libjava/classpath/java/net/URLStreamHandler.java | 22 +- .../channels/spi/AbstractSelectableChannel.java | 6 + libjava/classpath/java/nio/charset/Charset.java | 27 +- .../java/rmi/activation/ActivationGroup_Stub.java | 110 + .../classpath/java/rmi/server/LoaderHandler.java | 6 +- .../classpath/java/rmi/server/RMIClassLoader.java | 312 +- .../classpath/java/rmi/server/RemoteObject.java | 4 +- libjava/classpath/java/rmi/server/RemoteRef.java | 6 +- .../java/security/AccessControlContext.java | 34 +- .../classpath/java/security/AccessController.java | 16 +- libjava/classpath/java/security/Identity.java | 8 +- libjava/classpath/java/security/Security.java | 4 +- libjava/classpath/java/text/AttributedString.java | 48 +- .../java/text/AttributedStringIterator.java | 183 +- libjava/classpath/java/text/CharacterIterator.java | 2 +- libjava/classpath/java/text/DateFormat.java | 3 + libjava/classpath/java/text/ParsePosition.java | 9 + libjava/classpath/java/text/RuleBasedCollator.java | 2 +- .../java/text/StringCharacterIterator.java | 12 +- libjava/classpath/java/util/ArrayList.java | 4 +- libjava/classpath/java/util/Arrays.java | 180 + libjava/classpath/java/util/Calendar.java | 23 +- libjava/classpath/java/util/Collections.java | 17 +- libjava/classpath/java/util/GregorianCalendar.java | 14 +- libjava/classpath/java/util/HashMap.java | 2 +- .../util/InvalidPropertiesFormatException.java | 57 + libjava/classpath/java/util/Locale.java | 4 +- libjava/classpath/java/util/Map.java | 8 +- libjava/classpath/java/util/Properties.java | 348 +- libjava/classpath/java/util/Random.java | 2 +- libjava/classpath/java/util/ResourceBundle.java | 9 +- libjava/classpath/java/util/SimpleTimeZone.java | 3 +- libjava/classpath/java/util/Timer.java | 93 +- libjava/classpath/java/util/TreeMap.java | 2 +- libjava/classpath/java/util/WeakHashMap.java | 28 +- libjava/classpath/java/util/jar/Manifest.java | 8 +- .../classpath/java/util/logging/FileHandler.java | 4 - libjava/classpath/java/util/logging/Handler.java | 6 +- .../classpath/java/util/logging/LogManager.java | 4 +- .../java/util/logging/LoggingPermission.java | 2 + .../java/util/logging/SimpleFormatter.java | 2 +- .../classpath/java/util/logging/XMLFormatter.java | 2 +- libjava/classpath/java/util/prefs/Preferences.java | 28 +- libjava/classpath/java/util/regex/Matcher.java | 8 +- libjava/classpath/java/util/zip/PendingBuffer.java | 2 +- libjava/classpath/java/util/zip/ZipFile.java | 17 +- libjava/classpath/javax/imageio/IIOException.java | 3 +- libjava/classpath/javax/imageio/IIOImage.java | 137 +- libjava/classpath/javax/imageio/IIOParam.java | 364 +- .../javax/imageio/IIOParamController.java | 13 +- libjava/classpath/javax/imageio/ImageIO.java | 609 +- .../classpath/javax/imageio/ImageReadParam.java | 2 + libjava/classpath/javax/imageio/ImageReader.java | 1724 +++- .../classpath/javax/imageio/ImageTranscoder.java | 48 + .../javax/imageio/ImageTypeSpecifier.java | 467 + .../classpath/javax/imageio/ImageWriteParam.java | 3 + libjava/classpath/javax/imageio/ImageWriter.java | 1125 ++- .../classpath/javax/imageio/metadata/IIOAttr.java | 378 - .../javax/imageio/metadata/IIOMetadata.java | 114 +- .../imageio/metadata/IIOMetadataFormatImpl.java | 842 ++ .../javax/imageio/metadata/IIOMetadataNode.java | 157 +- .../javax/imageio/metadata/IIONamedNodeMap.java | 138 - .../javax/imageio/metadata/IIONodeList.java | 72 - libjava/classpath/javax/imageio/package.html | 45 +- .../javax/imageio/spi/ImageReaderWriterSpi.java | 86 + libjava/classpath/javax/naming/CompoundName.java | 25 +- libjava/classpath/javax/naming/Name.java | 4 +- libjava/classpath/javax/print/DocFlavor.java | 4 + .../classpath/javax/print/attribute/Attribute.java | 20 +- .../javax/print/attribute/AttributeSet.java | 147 +- .../print/attribute/AttributeSetUtilities.java | 87 +- .../javax/print/attribute/DateTimeSyntax.java | 16 +- .../javax/print/attribute/DocAttribute.java | 19 +- .../javax/print/attribute/DocAttributeSet.java | 35 +- .../javax/print/attribute/EnumSyntax.java | 122 +- .../javax/print/attribute/HashAttributeSet.java | 190 +- .../javax/print/attribute/HashDocAttributeSet.java | 22 +- .../print/attribute/HashPrintJobAttributeSet.java | 22 +- .../attribute/HashPrintRequestAttributeSet.java | 22 +- .../attribute/HashPrintServiceAttributeSet.java | 22 +- .../javax/print/attribute/IntegerSyntax.java | 25 +- .../javax/print/attribute/PrintJobAttribute.java | 19 +- .../print/attribute/PrintJobAttributeSet.java | 35 +- .../print/attribute/PrintRequestAttribute.java | 14 +- .../print/attribute/PrintRequestAttributeSet.java | 35 +- .../print/attribute/PrintServiceAttribute.java | 19 +- .../print/attribute/PrintServiceAttributeSet.java | 35 +- .../javax/print/attribute/SetOfIntegerSyntax.java | 186 +- .../print/attribute/SupportedValuesAttribute.java | 20 +- .../classpath/javax/print/attribute/URISyntax.java | 18 +- .../print/attribute/UnmodifiableSetException.java | 12 +- .../classpath/javax/print/attribute/package.html | 9 +- .../classpath/javax/print/event/PrintEvent.java | 6 +- .../javax/print/event/PrintJobAdapter.java | 34 +- .../javax/print/event/PrintJobAttributeEvent.java | 10 +- .../print/event/PrintJobAttributeListener.java | 6 +- .../classpath/javax/print/event/PrintJobEvent.java | 27 +- .../javax/print/event/PrintJobListener.java | 15 +- .../print/event/PrintServiceAttributeEvent.java | 10 +- .../print/event/PrintServiceAttributeListener.java | 6 +- libjava/classpath/javax/print/event/package.html | 8 +- libjava/classpath/javax/rmi/BAD_OPERATION.java | 4 - libjava/classpath/javax/rmi/CORBA/ClassDesc.java | 33 +- libjava/classpath/javax/rmi/CORBA/ObjectImpl.java | 9 - .../rmi/CORBA/PortableRemoteObjectDelegate.java | 84 +- libjava/classpath/javax/rmi/CORBA/Stub.java | 170 +- .../classpath/javax/rmi/CORBA/StubDelegate.java | 56 +- .../classpath/javax/rmi/CORBA/SystemException.java | 4 - libjava/classpath/javax/rmi/CORBA/Tie.java | 101 +- libjava/classpath/javax/rmi/CORBA/Util.java | 413 +- .../classpath/javax/rmi/CORBA/UtilDelegate.java | 285 +- .../classpath/javax/rmi/CORBA/ValueHandler.java | 101 +- .../javax/rmi/CORBA/ValueHandlerMultiFormat.java | 94 + libjava/classpath/javax/rmi/CORBA/package.html | 36 +- libjava/classpath/javax/rmi/ORB.java | 4 - .../classpath/javax/rmi/PortableRemoteObject.java | 201 +- libjava/classpath/javax/rmi/package.html | 36 +- libjava/classpath/javax/security/auth/Subject.java | 12 +- .../javax/security/auth/SubjectDomainCombiner.java | 7 +- .../javax/security/auth/login/Configuration.java | 46 +- .../javax/security/auth/login/LoginContext.java | 4 +- .../javax/security/auth/x500/X500Principal.java | 16 + .../security/sasl/AuthenticationException.java | 4 +- .../javax/security/sasl/AuthorizeCallback.java | 10 +- .../javax/security/sasl/RealmCallback.java | 4 +- .../javax/security/sasl/RealmChoiceCallback.java | 4 +- libjava/classpath/javax/security/sasl/Sasl.java | 2 + .../classpath/javax/security/sasl/SaslClient.java | 6 +- .../javax/security/sasl/SaslClientFactory.java | 4 +- .../javax/security/sasl/SaslException.java | 6 +- .../classpath/javax/security/sasl/SaslServer.java | 8 +- .../javax/security/sasl/SaslServerFactory.java | 4 +- .../javax/sound/midi/ControllerEventListener.java | 58 + libjava/classpath/javax/sound/midi/Instrument.java | 77 + .../javax/sound/midi/InvalidMidiDataException.java | 90 + .../javax/sound/midi/MetaEventListener.java | 58 + .../classpath/javax/sound/midi/MetaMessage.java | 176 + .../classpath/javax/sound/midi/MidiChannel.java | 236 + libjava/classpath/javax/sound/midi/MidiDevice.java | 220 + libjava/classpath/javax/sound/midi/MidiEvent.java | 95 + .../classpath/javax/sound/midi/MidiFileFormat.java | 158 + .../classpath/javax/sound/midi/MidiMessage.java | 126 + libjava/classpath/javax/sound/midi/MidiSystem.java | 566 ++ .../javax/sound/midi/MidiUnavailableException.java | 90 + libjava/classpath/javax/sound/midi/Patch.java | 86 + libjava/classpath/javax/sound/midi/Receiver.java | 66 + libjava/classpath/javax/sound/midi/Sequence.java | 248 + libjava/classpath/javax/sound/midi/Sequencer.java | 402 + .../classpath/javax/sound/midi/ShortMessage.java | 344 + libjava/classpath/javax/sound/midi/Soundbank.java | 101 + .../javax/sound/midi/SoundbankResource.java | 104 + .../classpath/javax/sound/midi/Synthesizer.java | 173 + .../classpath/javax/sound/midi/SysexMessage.java | 139 + libjava/classpath/javax/sound/midi/Track.java | 160 + .../classpath/javax/sound/midi/Transmitter.java | 70 + .../classpath/javax/sound/midi/VoiceStatus.java | 79 + .../javax/sound/midi/spi/MidiDeviceProvider.java | 90 + .../javax/sound/midi/spi/MidiFileReader.java | 125 + .../javax/sound/midi/spi/MidiFileWriter.java | 143 + .../javax/sound/midi/spi/SoundbankReader.java | 97 + .../javax/sound/sampled/AudioFileFormat.java | 242 + .../classpath/javax/sound/sampled/AudioFormat.java | 345 + .../javax/sound/sampled/AudioInputStream.java | 258 + .../javax/sound/sampled/AudioPermission.java | 70 + .../classpath/javax/sound/sampled/AudioSystem.java | 744 ++ .../javax/sound/sampled/BooleanControl.java | 145 + libjava/classpath/javax/sound/sampled/Clip.java | 115 + .../javax/sound/sampled/CompoundControl.java | 102 + libjava/classpath/javax/sound/sampled/Control.java | 111 + .../classpath/javax/sound/sampled/DataLine.java | 265 + .../classpath/javax/sound/sampled/EnumControl.java | 126 + .../javax/sound/sampled/FloatControl.java | 267 + libjava/classpath/javax/sound/sampled/Line.java | 150 + .../classpath/javax/sound/sampled/LineEvent.java | 150 + .../javax/sound/sampled/LineListener.java | 55 + .../sound/sampled/LineUnavailableException.java | 61 + libjava/classpath/javax/sound/sampled/Mixer.java | 206 + libjava/classpath/javax/sound/sampled/Port.java | 135 + .../classpath/javax/sound/sampled/ReverbType.java | 144 + .../javax/sound/sampled/SourceDataLine.java | 77 + .../javax/sound/sampled/TargetDataLine.java | 79 + .../sampled/UnsupportedAudioFileException.java | 65 + .../javax/sound/sampled/spi/AudioFileReader.java | 146 + .../javax/sound/sampled/spi/AudioFileWriter.java | 131 + .../sampled/spi/FormatConversionProvider.java | 179 + .../javax/sound/sampled/spi/MixerProvider.java | 86 + libjava/classpath/javax/swing/AbstractButton.java | 123 +- .../javax/swing/AbstractSpinnerModel.java | 1 + libjava/classpath/javax/swing/ActionMap.java | 9 +- libjava/classpath/javax/swing/BorderFactory.java | 2 +- .../classpath/javax/swing/BoundedRangeModel.java | 4 +- libjava/classpath/javax/swing/Box.java | 21 +- libjava/classpath/javax/swing/BoxLayout.java | 693 +- libjava/classpath/javax/swing/ButtonGroup.java | 5 +- libjava/classpath/javax/swing/ButtonModel.java | 260 +- libjava/classpath/javax/swing/CellEditor.java | 2 +- .../classpath/javax/swing/CellRendererPane.java | 38 +- libjava/classpath/javax/swing/ComboBoxEditor.java | 2 +- .../classpath/javax/swing/ComponentInputMap.java | 26 +- libjava/classpath/javax/swing/DebugGraphics.java | 308 +- .../classpath/javax/swing/DefaultButtonModel.java | 1 + .../classpath/javax/swing/DefaultCellEditor.java | 7 +- .../javax/swing/DefaultComboBoxModel.java | 172 +- .../javax/swing/DefaultDesktopManager.java | 4 + .../javax/swing/DefaultListCellRenderer.java | 14 + .../javax/swing/DefaultListSelectionModel.java | 60 +- libjava/classpath/javax/swing/DesktopManager.java | 2 +- libjava/classpath/javax/swing/FocusManager.java | 425 +- libjava/classpath/javax/swing/ImageIcon.java | 9 +- libjava/classpath/javax/swing/InputMap.java | 12 +- libjava/classpath/javax/swing/InputVerifier.java | 1 + libjava/classpath/javax/swing/JApplet.java | 58 +- libjava/classpath/javax/swing/JButton.java | 7 +- libjava/classpath/javax/swing/JCheckBox.java | 70 +- .../classpath/javax/swing/JCheckBoxMenuItem.java | 13 +- libjava/classpath/javax/swing/JColorChooser.java | 2 + libjava/classpath/javax/swing/JComboBox.java | 115 +- libjava/classpath/javax/swing/JComponent.java | 1053 ++- libjava/classpath/javax/swing/JDesktopPane.java | 3 + libjava/classpath/javax/swing/JDialog.java | 48 +- libjava/classpath/javax/swing/JEditorPane.java | 441 +- libjava/classpath/javax/swing/JFileChooser.java | 767 +- libjava/classpath/javax/swing/JFrame.java | 57 +- libjava/classpath/javax/swing/JInternalFrame.java | 45 +- libjava/classpath/javax/swing/JLabel.java | 18 +- libjava/classpath/javax/swing/JLayeredPane.java | 137 +- libjava/classpath/javax/swing/JList.java | 850 +- libjava/classpath/javax/swing/JMenu.java | 27 +- libjava/classpath/javax/swing/JMenuBar.java | 206 +- libjava/classpath/javax/swing/JMenuItem.java | 34 +- libjava/classpath/javax/swing/JOptionPane.java | 160 +- libjava/classpath/javax/swing/JPanel.java | 132 +- libjava/classpath/javax/swing/JPasswordField.java | 1 + libjava/classpath/javax/swing/JPopupMenu.java | 343 +- libjava/classpath/javax/swing/JProgressBar.java | 5 +- libjava/classpath/javax/swing/JRadioButton.java | 4 +- .../javax/swing/JRadioButtonMenuItem.java | 8 +- libjava/classpath/javax/swing/JRootPane.java | 252 +- libjava/classpath/javax/swing/JScrollPane.java | 220 +- libjava/classpath/javax/swing/JSeparator.java | 2 +- libjava/classpath/javax/swing/JSlider.java | 3 + libjava/classpath/javax/swing/JSpinner.java | 42 +- libjava/classpath/javax/swing/JSplitPane.java | 3 + libjava/classpath/javax/swing/JTabbedPane.java | 130 +- libjava/classpath/javax/swing/JTable.java | 1012 ++- libjava/classpath/javax/swing/JTextArea.java | 61 +- libjava/classpath/javax/swing/JTextField.java | 183 +- libjava/classpath/javax/swing/JTextPane.java | 11 +- libjava/classpath/javax/swing/JToggleButton.java | 24 +- libjava/classpath/javax/swing/JToolBar.java | 4 +- libjava/classpath/javax/swing/JToolTip.java | 3 + libjava/classpath/javax/swing/JTree.java | 4355 +++++---- libjava/classpath/javax/swing/JViewport.java | 579 +- libjava/classpath/javax/swing/JWindow.java | 48 +- libjava/classpath/javax/swing/KeyStroke.java | 1 + libjava/classpath/javax/swing/KeyboardManager.java | 280 + .../classpath/javax/swing/ListCellRenderer.java | 8 +- .../classpath/javax/swing/ListSelectionModel.java | 34 +- libjava/classpath/javax/swing/LookAndFeel.java | 115 +- libjava/classpath/javax/swing/MenuElement.java | 84 +- .../javax/swing/MenuSelectionManager.java | 9 +- .../javax/swing/MutableComboBoxModel.java | 4 +- libjava/classpath/javax/swing/OverlayLayout.java | 507 +- libjava/classpath/javax/swing/Popup.java | 112 +- libjava/classpath/javax/swing/PopupFactory.java | 33 +- libjava/classpath/javax/swing/ProgressMonitor.java | 567 +- .../javax/swing/ProgressMonitorInputStream.java | 291 +- libjava/classpath/javax/swing/Renderer.java | 32 +- libjava/classpath/javax/swing/RepaintManager.java | 292 +- .../classpath/javax/swing/RootPaneContainer.java | 96 +- .../classpath/javax/swing/ScrollPaneLayout.java | 426 +- libjava/classpath/javax/swing/Scrollable.java | 17 +- .../javax/swing/SingleSelectionModel.java | 81 +- .../classpath/javax/swing/SizeRequirements.java | 211 +- libjava/classpath/javax/swing/SizeSequence.java | 399 +- .../javax/swing/SortingFocusTraversalPolicy.java | 2 +- .../classpath/javax/swing/SpinnerListModel.java | 415 +- libjava/classpath/javax/swing/Spring.java | 1 + libjava/classpath/javax/swing/SpringLayout.java | 43 +- libjava/classpath/javax/swing/SwingUtilities.java | 26 +- libjava/classpath/javax/swing/Timer.java | 106 +- libjava/classpath/javax/swing/ToolTipManager.java | 219 +- libjava/classpath/javax/swing/TransferHandler.java | 57 +- libjava/classpath/javax/swing/UIDefaults.java | 10 +- libjava/classpath/javax/swing/UIManager.java | 22 +- .../swing/UnsupportedLookAndFeelException.java | 8 +- libjava/classpath/javax/swing/ViewportLayout.java | 5 + libjava/classpath/javax/swing/WindowConstants.java | 43 +- .../javax/swing/border/AbstractBorder.java | 46 +- .../classpath/javax/swing/border/BevelBorder.java | 13 +- libjava/classpath/javax/swing/border/Border.java | 6 +- .../javax/swing/border/CompoundBorder.java | 57 +- .../classpath/javax/swing/border/EmptyBorder.java | 4 +- .../classpath/javax/swing/border/EtchedBorder.java | 45 +- .../classpath/javax/swing/border/LineBorder.java | 44 +- .../classpath/javax/swing/border/MatteBorder.java | 4 +- .../javax/swing/border/SoftBevelBorder.java | 12 +- .../classpath/javax/swing/border/TitledBorder.java | 112 +- .../colorchooser/AbstractColorChooserPanel.java | 35 +- .../colorchooser/ColorChooserComponentFactory.java | 3 +- .../colorchooser/DefaultSwatchChooserPanel.java | 3 + .../javax/swing/event/EventListenerList.java | 1 + .../javax/swing/event/InternalFrameAdapter.java | 147 +- .../javax/swing/event/ListDataListener.java | 55 +- .../javax/swing/event/MouseInputListener.java | 13 +- .../swing/event/SwingPropertyChangeSupport.java | 7 +- .../javax/swing/event/TreeModelEvent.java | 8 +- .../javax/swing/filechooser/FileFilter.java | 77 +- .../javax/swing/filechooser/FileSystemView.java | 181 +- .../javax/swing/filechooser/FileView.java | 152 +- .../swing/filechooser/UnixFileSystemView.java | 47 +- .../javax/swing/plaf/ActionMapUIResource.java | 4 +- .../javax/swing/plaf/BorderUIResource.java | 4 +- libjava/classpath/javax/swing/plaf/ButtonUI.java | 4 +- .../classpath/javax/swing/plaf/ColorChooserUI.java | 3 +- .../javax/swing/plaf/ColorUIResource.java | 4 +- libjava/classpath/javax/swing/plaf/ComboBoxUI.java | 4 +- .../swing/plaf/ComponentInputMapUIResource.java | 3 +- .../classpath/javax/swing/plaf/ComponentUI.java | 10 +- .../classpath/javax/swing/plaf/DesktopIconUI.java | 4 +- .../classpath/javax/swing/plaf/DesktopPaneUI.java | 5 +- .../javax/swing/plaf/DimensionUIResource.java | 4 +- .../classpath/javax/swing/plaf/FileChooserUI.java | 4 +- .../classpath/javax/swing/plaf/FontUIResource.java | 4 +- .../classpath/javax/swing/plaf/IconUIResource.java | 3 +- .../javax/swing/plaf/InputMapUIResource.java | 6 +- .../javax/swing/plaf/InsetsUIResource.java | 3 +- .../javax/swing/plaf/InternalFrameUI.java | 4 +- libjava/classpath/javax/swing/plaf/LabelUI.java | 4 +- libjava/classpath/javax/swing/plaf/ListUI.java | 4 +- libjava/classpath/javax/swing/plaf/MenuBarUI.java | 4 +- libjava/classpath/javax/swing/plaf/MenuItemUI.java | 4 +- libjava/classpath/javax/swing/plaf/PanelUI.java | 4 +- .../classpath/javax/swing/plaf/PopupMenuUI.java | 4 +- .../classpath/javax/swing/plaf/ProgressBarUI.java | 4 +- libjava/classpath/javax/swing/plaf/RootPaneUI.java | 4 +- .../classpath/javax/swing/plaf/ScrollBarUI.java | 4 +- .../classpath/javax/swing/plaf/ScrollPaneUI.java | 4 +- .../classpath/javax/swing/plaf/SeparatorUI.java | 1 + libjava/classpath/javax/swing/plaf/SliderUI.java | 4 +- libjava/classpath/javax/swing/plaf/SpinnerUI.java | 4 +- .../classpath/javax/swing/plaf/SplitPaneUI.java | 4 +- .../classpath/javax/swing/plaf/TabbedPaneUI.java | 4 +- .../classpath/javax/swing/plaf/TableHeaderUI.java | 4 +- libjava/classpath/javax/swing/plaf/TableUI.java | 4 +- libjava/classpath/javax/swing/plaf/TextUI.java | 4 +- libjava/classpath/javax/swing/plaf/ToolBarUI.java | 4 +- libjava/classpath/javax/swing/plaf/ToolTipUI.java | 4 +- libjava/classpath/javax/swing/plaf/TreeUI.java | 4 +- libjava/classpath/javax/swing/plaf/UIResource.java | 6 +- libjava/classpath/javax/swing/plaf/ViewportUI.java | 4 +- .../javax/swing/plaf/basic/BasicArrowButton.java | 406 +- .../javax/swing/plaf/basic/BasicBorders.java | 13 +- .../swing/plaf/basic/BasicButtonListener.java | 11 +- .../javax/swing/plaf/basic/BasicButtonUI.java | 146 +- .../swing/plaf/basic/BasicCheckBoxMenuItemUI.java | 23 +- .../swing/plaf/basic/BasicColorChooserUI.java | 20 +- .../swing/plaf/basic/BasicComboBoxEditor.java | 45 +- .../swing/plaf/basic/BasicComboBoxRenderer.java | 72 +- .../javax/swing/plaf/basic/BasicComboBoxUI.java | 778 +- .../javax/swing/plaf/basic/BasicComboPopup.java | 60 +- .../javax/swing/plaf/basic/BasicDesktopIconUI.java | 2 + .../javax/swing/plaf/basic/BasicDesktopPaneUI.java | 80 +- .../javax/swing/plaf/basic/BasicFileChooserUI.java | 875 +- .../plaf/basic/BasicFormattedTextFieldUI.java | 9 +- .../javax/swing/plaf/basic/BasicGraphicsUtils.java | 1 + .../javax/swing/plaf/basic/BasicIconFactory.java | 26 +- .../plaf/basic/BasicInternalFrameTitlePane.java | 155 +- .../swing/plaf/basic/BasicInternalFrameUI.java | 691 +- .../javax/swing/plaf/basic/BasicLabelUI.java | 18 +- .../javax/swing/plaf/basic/BasicListUI.java | 671 +- .../javax/swing/plaf/basic/BasicLookAndFeel.java | 170 +- .../javax/swing/plaf/basic/BasicMenuBarUI.java | 105 +- .../javax/swing/plaf/basic/BasicMenuItemUI.java | 673 +- .../javax/swing/plaf/basic/BasicMenuUI.java | 88 +- .../javax/swing/plaf/basic/BasicOptionPaneUI.java | 81 +- .../javax/swing/plaf/basic/BasicPanelUI.java | 28 +- .../swing/plaf/basic/BasicPasswordFieldUI.java | 7 + .../javax/swing/plaf/basic/BasicPopupMenuUI.java | 47 +- .../javax/swing/plaf/basic/BasicProgressBarUI.java | 417 +- .../plaf/basic/BasicRadioButtonMenuItemUI.java | 4 +- .../javax/swing/plaf/basic/BasicRadioButtonUI.java | 35 +- .../javax/swing/plaf/basic/BasicRootPaneUI.java | 119 +- .../javax/swing/plaf/basic/BasicScrollBarUI.java | 335 +- .../javax/swing/plaf/basic/BasicScrollPaneUI.java | 418 +- .../javax/swing/plaf/basic/BasicSeparatorUI.java | 73 +- .../javax/swing/plaf/basic/BasicSliderUI.java | 51 +- .../javax/swing/plaf/basic/BasicSpinnerUI.java | 16 +- .../swing/plaf/basic/BasicSplitPaneDivider.java | 1 + .../javax/swing/plaf/basic/BasicSplitPaneUI.java | 72 +- .../javax/swing/plaf/basic/BasicTabbedPaneUI.java | 1524 ++-- .../javax/swing/plaf/basic/BasicTableHeaderUI.java | 63 +- .../javax/swing/plaf/basic/BasicTableUI.java | 586 +- .../javax/swing/plaf/basic/BasicTextAreaUI.java | 47 +- .../javax/swing/plaf/basic/BasicTextFieldUI.java | 22 +- .../javax/swing/plaf/basic/BasicTextPaneUI.java | 32 + .../javax/swing/plaf/basic/BasicTextUI.java | 167 +- .../swing/plaf/basic/BasicToggleButtonUI.java | 65 +- .../swing/plaf/basic/BasicToolBarSeparatorUI.java | 5 +- .../javax/swing/plaf/basic/BasicToolBarUI.java | 56 +- .../javax/swing/plaf/basic/BasicToolTipUI.java | 99 +- .../javax/swing/plaf/basic/BasicTreeUI.java | 1327 +-- .../javax/swing/plaf/basic/BasicViewportUI.java | 177 +- .../javax/swing/plaf/metal/MetalBorders.java | 799 +- .../swing/plaf/metal/MetalButtonListener.java | 86 + .../javax/swing/plaf/metal/MetalButtonUI.java | 158 +- .../javax/swing/plaf/metal/MetalCheckBoxIcon.java | 10 +- .../javax/swing/plaf/metal/MetalCheckBoxUI.java | 7 +- .../swing/plaf/metal/MetalComboBoxButton.java | 241 + .../swing/plaf/metal/MetalComboBoxEditor.java | 143 + .../javax/swing/plaf/metal/MetalComboBoxIcon.java | 9 +- .../javax/swing/plaf/metal/MetalComboBoxUI.java | 264 +- .../javax/swing/plaf/metal/MetalDesktopIconUI.java | 10 +- .../javax/swing/plaf/metal/MetalFileChooserUI.java | 430 + .../javax/swing/plaf/metal/MetalIconFactory.java | 1386 ++- .../plaf/metal/MetalInternalFrameTitlePane.java | 325 +- .../swing/plaf/metal/MetalInternalFrameUI.java | 120 +- .../javax/swing/plaf/metal/MetalLabelUI.java | 10 +- .../javax/swing/plaf/metal/MetalLookAndFeel.java | 422 +- .../plaf/metal/MetalPopupMenuSeparatorUI.java | 10 +- .../javax/swing/plaf/metal/MetalProgressBarUI.java | 101 +- .../javax/swing/plaf/metal/MetalRadioButtonUI.java | 130 +- .../javax/swing/plaf/metal/MetalRootPaneUI.java | 13 +- .../javax/swing/plaf/metal/MetalScrollBarUI.java | 430 +- .../javax/swing/plaf/metal/MetalScrollButton.java | 483 + .../javax/swing/plaf/metal/MetalScrollPaneUI.java | 19 +- .../javax/swing/plaf/metal/MetalSeparatorUI.java | 63 +- .../javax/swing/plaf/metal/MetalSliderUI.java | 220 +- .../swing/plaf/metal/MetalSplitPaneDivider.java | 2 +- .../javax/swing/plaf/metal/MetalSplitPaneUI.java | 35 +- .../javax/swing/plaf/metal/MetalTabbedPaneUI.java | 30 +- .../javax/swing/plaf/metal/MetalTextFieldUI.java | 32 +- .../swing/plaf/metal/MetalToggleButtonUI.java | 129 +- .../javax/swing/plaf/metal/MetalToolBarUI.java | 112 +- .../javax/swing/plaf/metal/MetalToolTipUI.java | 272 +- .../javax/swing/plaf/metal/MetalTreeUI.java | 278 +- .../javax/swing/plaf/metal/MetalUtils.java | 103 +- .../javax/swing/plaf/metal/OceanTheme.java | 209 + .../classpath/javax/swing/plaf/metal/package.html | 13 +- .../javax/swing/plaf/multi/MultiLookAndFeel.java | 1 + .../swing/table/DefaultTableCellRenderer.java | 49 +- .../classpath/javax/swing/table/JTableHeader.java | 109 +- .../classpath/javax/swing/table/TableColumn.java | 10 +- .../javax/swing/table/TableColumnModel.java | 4 +- .../javax/swing/text/AbstractDocument.java | 326 +- .../classpath/javax/swing/text/AttributeSet.java | 6 +- libjava/classpath/javax/swing/text/BoxView.java | 256 +- .../classpath/javax/swing/text/ComponentView.java | 200 +- .../classpath/javax/swing/text/CompositeView.java | 66 +- .../classpath/javax/swing/text/DefaultCaret.java | 409 +- .../javax/swing/text/DefaultEditorKit.java | 45 +- .../javax/swing/text/DefaultFormatter.java | 15 +- .../javax/swing/text/DefaultHighlighter.java | 2 + .../javax/swing/text/DefaultStyledDocument.java | 1032 ++- .../classpath/javax/swing/text/DefaultTextUI.java | 61 + libjava/classpath/javax/swing/text/EditorKit.java | 10 +- libjava/classpath/javax/swing/text/FieldView.java | 17 +- libjava/classpath/javax/swing/text/FlowView.java | 70 +- libjava/classpath/javax/swing/text/GapContent.java | 382 +- libjava/classpath/javax/swing/text/GlyphView.java | 652 +- libjava/classpath/javax/swing/text/IconView.java | 32 + .../javax/swing/text/InternationalFormatter.java | 5 +- .../classpath/javax/swing/text/JTextComponent.java | 211 +- libjava/classpath/javax/swing/text/LabelView.java | 242 +- .../classpath/javax/swing/text/LayoutQueue.java | 1 + .../classpath/javax/swing/text/ParagraphView.java | 30 + .../classpath/javax/swing/text/PlainDocument.java | 28 +- libjava/classpath/javax/swing/text/PlainView.java | 371 +- libjava/classpath/javax/swing/text/Segment.java | 4 +- .../javax/swing/text/SimpleAttributeSet.java | 57 +- .../classpath/javax/swing/text/StringContent.java | 3 + .../classpath/javax/swing/text/StyleConstants.java | 6 +- .../classpath/javax/swing/text/StyleContext.java | 19 +- .../classpath/javax/swing/text/StyledDocument.java | 191 +- .../javax/swing/text/StyledEditorKit.java | 24 +- libjava/classpath/javax/swing/text/TabSet.java | 3 + libjava/classpath/javax/swing/text/TabStop.java | 3 + libjava/classpath/javax/swing/text/Utilities.java | 410 + libjava/classpath/javax/swing/text/View.java | 76 +- .../javax/swing/text/WrappedPlainView.java | 700 ++ libjava/classpath/javax/swing/text/html/CSS.java | 461 + libjava/classpath/javax/swing/text/html/HTML.java | 13 +- .../javax/swing/text/html/HTMLDocument.java | 215 + .../javax/swing/text/html/HTMLEditorKit.java | 38 +- .../swing/text/html/HTMLFrameHyperlinkEvent.java | 4 +- .../javax/swing/text/html/parser/ContentModel.java | 5 +- .../javax/swing/text/html/parser/DTD.java | 6 +- .../swing/text/html/parser/DocumentParser.java | 7 + .../javax/swing/text/html/parser/Element.java | 2 +- .../javax/swing/text/html/parser/Parser.java | 10 + .../javax/swing/tree/DefaultMutableTreeNode.java | 1 - .../javax/swing/tree/DefaultTreeCellEditor.java | 15 +- .../javax/swing/tree/DefaultTreeCellRenderer.java | 3 +- .../javax/swing/tree/DefaultTreeModel.java | 1 + .../javax/swing/tree/TreeCellRenderer.java | 34 +- libjava/classpath/javax/swing/tree/TreeModel.java | 122 +- .../javax/swing/undo/CannotRedoException.java | 4 +- .../javax/swing/undo/CannotUndoException.java | 1 + libjava/classpath/javax/xml/namespace/QName.java | 56 +- .../TransformerConfigurationException.java | 6 +- .../javax/xml/transform/TransformerException.java | 22 +- .../TransformerFactoryConfigurationError.java | 2 + .../classpath/javax/xml/xpath/XPathException.java | 2 + .../javax/xml/xpath/XPathExpressionException.java | 1 + .../xpath/XPathFactoryConfigurationException.java | 1 + .../javax/xml/xpath/XPathFunctionException.java | 1 + libjava/classpath/lib/Makefile.am | 8 +- libjava/classpath/lib/Makefile.in | 69 +- libjava/classpath/lib/copy-vmresources.sh.in | 41 + libjava/classpath/lib/gen-classlist.sh.in | 6 +- libjava/classpath/lib/split-for-gcj.sh | 2 +- libjava/classpath/lib/standard.omit | 3 - libjava/classpath/ltmain.sh | 52 +- libjava/classpath/m4/acattribute.m4 | 25 + libjava/classpath/m4/acinclude.m4 | 53 +- libjava/classpath/native/Makefile.in | 12 +- libjava/classpath/native/fdlibm/Makefile.in | 12 +- libjava/classpath/native/fdlibm/java-assert.h | 6 +- libjava/classpath/native/fdlibm/mprec.h | 5 + libjava/classpath/native/jawt/Makefile.in | 12 +- libjava/classpath/native/jawt/jawt.c | 4 +- libjava/classpath/native/jni/Makefile.am | 13 +- libjava/classpath/native/jni/Makefile.in | 20 +- libjava/classpath/native/jni/classpath/Makefile.am | 1 - libjava/classpath/native/jni/classpath/Makefile.in | 17 +- libjava/classpath/native/jni/classpath/jcl.c | 16 +- libjava/classpath/native/jni/classpath/primlib.c | 724 -- libjava/classpath/native/jni/classpath/primlib.h | 119 - libjava/classpath/native/jni/gtk-peer/Makefile.am | 6 +- libjava/classpath/native/jni/gtk-peer/Makefile.in | 19 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | 5 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | 42 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | 59 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c | 234 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c | 4 +- .../gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c | 2 +- .../gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | 2 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c | 8 + .../gnu_java_awt_peer_gtk_GtkComponentPeer.c | 76 +- .../jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | 2 +- .../gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | 4 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | 2 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | 4 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | 97 +- libjava/classpath/native/jni/gtk-peer/gtkpeer.h | 11 + libjava/classpath/native/jni/java-io/Makefile.am | 2 +- libjava/classpath/native/jni/java-io/Makefile.in | 62 +- libjava/classpath/native/jni/java-lang/Makefile.am | 2 +- libjava/classpath/native/jni/java-lang/Makefile.in | 64 +- .../native/jni/java-lang/java_lang_VMProcess.c | 3 +- .../native/jni/java-lang/java_lang_reflect_Array.c | 1 + libjava/classpath/native/jni/java-net/Makefile.am | 2 +- libjava/classpath/native/jni/java-net/Makefile.in | 62 +- .../native/jni/java-net/java_net_VMInetAddress.c | 3 +- libjava/classpath/native/jni/java-net/javanet.c | 14 +- libjava/classpath/native/jni/java-nio/Makefile.am | 2 +- libjava/classpath/native/jni/java-nio/Makefile.in | 62 +- .../gnu_java_nio_charset_iconv_IconvDecoder.c | 2 +- libjava/classpath/native/jni/java-util/Makefile.am | 2 +- libjava/classpath/native/jni/java-util/Makefile.in | 62 +- libjava/classpath/native/jni/midi-alsa/.cvsignore | 9 + libjava/classpath/native/jni/midi-alsa/Makefile.am | 11 + libjava/classpath/native/jni/midi-alsa/Makefile.in | 563 ++ ..._javax_sound_midi_alsa_AlsaMidiDeviceProvider.c | 148 + ...javax_sound_midi_alsa_AlsaMidiSequencerDevice.c | 59 + .../gnu_javax_sound_midi_alsa_AlsaPortDevice.c | 150 + libjava/classpath/native/jni/midi-dssi/.cvsignore | 9 + libjava/classpath/native/jni/midi-dssi/Makefile.am | 11 + libjava/classpath/native/jni/midi-dssi/Makefile.in | 562 ++ libjava/classpath/native/jni/midi-dssi/README | 134 + libjava/classpath/native/jni/midi-dssi/dssi_data.h | 121 + ..._javax_sound_midi_dssi_DSSIMidiDeviceProvider.c | 139 + .../gnu_javax_sound_midi_dssi_DSSISynthesizer.c | 584 ++ libjava/classpath/native/jni/qt-peer/Makefile.in | 12 +- .../native/jni/qt-peer/componentevent.cpp | 1 + libjava/classpath/native/jni/xmlj/Makefile.in | 12 +- libjava/classpath/native/target/Linux/Makefile.in | 12 +- libjava/classpath/native/target/Makefile.in | 12 +- .../classpath/native/target/generic/Makefile.in | 12 +- libjava/classpath/org/ietf/jgss/GSSCredential.java | 10 + libjava/classpath/org/ietf/jgss/GSSException.java | 47 +- libjava/classpath/org/ietf/jgss/GSSName.java | 9 + .../org/omg/CORBA/ACTIVITY_COMPLETED.java | 102 + .../classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java | 100 + libjava/classpath/org/omg/CORBA/AnyHolder.java | 4 +- libjava/classpath/org/omg/CORBA/AnySeqHelper.java | 4 +- libjava/classpath/org/omg/CORBA/AnySeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/BAD_OPERATION.java | 92 +- libjava/classpath/org/omg/CORBA/BAD_QOS.java | 99 + libjava/classpath/org/omg/CORBA/BooleanHolder.java | 4 +- .../classpath/org/omg/CORBA/BooleanSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/BooleanSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/ByteHolder.java | 4 +- .../org/omg/CORBA/CODESET_INCOMPATIBLE.java | 103 + libjava/classpath/org/omg/CORBA/CharHolder.java | 4 +- libjava/classpath/org/omg/CORBA/CharSeqHelper.java | 4 +- libjava/classpath/org/omg/CORBA/CharSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/CompletionStatus.java | 10 +- .../org/omg/CORBA/CompletionStatusHelper.java | 4 +- .../classpath/org/omg/CORBA/DATA_CONVERSION.java | 20 + .../org/omg/CORBA/DefinitionKindHelper.java | 6 +- libjava/classpath/org/omg/CORBA/DoubleHolder.java | 4 +- .../classpath/org/omg/CORBA/DoubleSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/DoubleSeqHolder.java | 6 +- .../org/omg/CORBA/DynamicImplementation.java | 111 +- .../classpath/org/omg/CORBA/FieldNameHelper.java | 4 +- libjava/classpath/org/omg/CORBA/FixedHolder.java | 6 +- libjava/classpath/org/omg/CORBA/FloatHolder.java | 4 +- .../classpath/org/omg/CORBA/FloatSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/FloatSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/IDLEntity.java | 50 - libjava/classpath/org/omg/CORBA/IDLTypeHelper.java | 4 +- .../classpath/org/omg/CORBA/INVALID_ACTIVITY.java | 100 + .../classpath/org/omg/CORBA/IdentifierHelper.java | 4 +- libjava/classpath/org/omg/CORBA/IntHolder.java | 4 +- libjava/classpath/org/omg/CORBA/LocalObject.java | 128 + libjava/classpath/org/omg/CORBA/LongHolder.java | 4 +- .../classpath/org/omg/CORBA/LongLongSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/LongLongSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/LongSeqHelper.java | 4 +- libjava/classpath/org/omg/CORBA/LongSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/MARSHAL.java | 260 +- libjava/classpath/org/omg/CORBA/NO_RESOURCES.java | 70 +- .../org/omg/CORBA/NameValuePairHelper.java | 15 +- libjava/classpath/org/omg/CORBA/OMGVMCID.java | 100 +- libjava/classpath/org/omg/CORBA/ORB.java | 274 +- libjava/classpath/org/omg/CORBA/ObjectHelper.java | 7 +- libjava/classpath/org/omg/CORBA/ObjectHolder.java | 8 +- .../classpath/org/omg/CORBA/OctetSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/OctetSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/PERSIST_STORE.java | 2 +- .../org/omg/CORBA/ParameterModeHelper.java | 4 +- libjava/classpath/org/omg/CORBA/PolicyError.java | 8 +- .../org/omg/CORBA/PolicyErrorCodeHelper.java | 115 + .../classpath/org/omg/CORBA/PolicyErrorHelper.java | 158 + .../classpath/org/omg/CORBA/PolicyErrorHolder.java | 103 + libjava/classpath/org/omg/CORBA/PolicyHelper.java | 6 +- .../classpath/org/omg/CORBA/PolicyListHelper.java | 6 +- .../classpath/org/omg/CORBA/PrincipalHolder.java | 4 +- libjava/classpath/org/omg/CORBA/REBIND.java | 99 + .../org/omg/CORBA/RepositoryIdHelper.java | 4 +- .../org/omg/CORBA/ServiceDetailHelper.java | 6 +- .../org/omg/CORBA/SetOverrideTypeHelper.java | 4 +- libjava/classpath/org/omg/CORBA/ShortHolder.java | 4 +- .../classpath/org/omg/CORBA/ShortSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/ShortSeqHolder.java | 6 +- libjava/classpath/org/omg/CORBA/StringHolder.java | 6 +- .../classpath/org/omg/CORBA/StringSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/StringSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/StringValueHelper.java | 19 +- .../org/omg/CORBA/StructMemberHelper.java | 7 +- .../classpath/org/omg/CORBA/SystemException.java | 87 +- libjava/classpath/org/omg/CORBA/TIMEOUT.java | 98 + .../classpath/org/omg/CORBA/TRANSACTION_MODE.java | 99 + .../org/omg/CORBA/TRANSACTION_UNAVAILABLE.java | 99 + .../classpath/org/omg/CORBA/TypeCodeHolder.java | 4 +- .../org/omg/CORBA/TypeCodePackage/BadKind.java | 2 +- .../org/omg/CORBA/TypeCodePackage/Bounds.java | 2 +- .../org/omg/CORBA/ULongLongSeqHelper.java | 4 +- .../org/omg/CORBA/ULongLongSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/ULongSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/ULongSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/UShortSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/UShortSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/UnionMemberHelper.java | 7 +- .../org/omg/CORBA/UnknownUserExceptionHelper.java | 157 + .../org/omg/CORBA/UnknownUserExceptionHolder.java | 103 + .../classpath/org/omg/CORBA/ValueBaseHelper.java | 4 +- .../classpath/org/omg/CORBA/ValueBaseHolder.java | 10 +- .../classpath/org/omg/CORBA/ValueMemberHelper.java | 7 +- .../classpath/org/omg/CORBA/VersionSpecHelper.java | 4 +- .../classpath/org/omg/CORBA/VisibilityHelper.java | 14 +- .../classpath/org/omg/CORBA/WCharSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/WCharSeqHolder.java | 6 +- .../classpath/org/omg/CORBA/WStringSeqHelper.java | 4 +- .../classpath/org/omg/CORBA/WStringSeqHolder.java | 6 +- .../org/omg/CORBA/WStringValueHelper.java | 19 +- .../org/omg/CORBA/WrongTransactionHelper.java | 151 + .../org/omg/CORBA/WrongTransactionHolder.java | 103 + libjava/classpath/org/omg/CORBA/_IDLTypeStub.java | 6 +- .../org/omg/CORBA/portable/ObjectImpl.java | 4 +- libjava/classpath/org/omg/CORBA_2_3/ORB.java | 8 +- .../org/omg/CORBA_2_3/portable/InputStream.java | 18 +- .../org/omg/CORBA_2_3/portable/OutputStream.java | 66 +- .../classpath/org/omg/CosNaming/BindingHelper.java | 7 +- .../org/omg/CosNaming/BindingIteratorHelper.java | 32 + .../org/omg/CosNaming/BindingIteratorPOA.java | 5 +- .../org/omg/CosNaming/BindingTypeHelper.java | 3 + .../classpath/org/omg/CosNaming/IstringHelper.java | 4 +- .../classpath/org/omg/CosNaming/NameComponent.java | 14 +- .../org/omg/CosNaming/NameComponentHelper.java | 3 + .../classpath/org/omg/CosNaming/NameHelper.java | 3 + .../org/omg/CosNaming/NamingContextExtHelper.java | 32 + .../org/omg/CosNaming/NamingContextExtPOA.java | 4 +- .../org/omg/CosNaming/NamingContextHelper.java | 32 + .../org/omg/CosNaming/NamingContextPOA.java | 4 +- .../NamingContextPackage/AlreadyBoundHelper.java | 7 +- .../NamingContextPackage/CannotProceedHelper.java | 7 +- .../NamingContextPackage/InvalidNameHelper.java | 7 +- .../NamingContextPackage/NotEmptyHelper.java | 7 +- .../NamingContextPackage/NotFoundHelper.java | 7 +- .../NamingContextPackage/NotFoundReasonHelper.java | 7 +- .../omg/CosNaming/_BindingIteratorImplBase.java | 5 +- .../org/omg/CosNaming/_NamingContextExtStub.java | 4 +- .../org/omg/CosNaming/_NamingContextImplBase.java | 6 +- .../org/omg/DynamicAny/DynAnyFactoryHelper.java | 32 +- .../InconsistentTypeCodeHelper.java | 2 + .../classpath/org/omg/DynamicAny/DynAnyHelper.java | 19 + .../DynAnyPackage/InvalidValueHelper.java | 2 + .../DynAnyPackage/TypeMismatchHelper.java | 2 + .../org/omg/DynamicAny/DynAnySeqHelper.java | 2 + .../org/omg/DynamicAny/DynArrayHelper.java | 19 + .../org/omg/DynamicAny/DynEnumHelper.java | 19 + .../org/omg/DynamicAny/DynFixedHelper.java | 19 + .../org/omg/DynamicAny/DynSequenceHelper.java | 19 + .../org/omg/DynamicAny/DynStructHelper.java | 19 + .../org/omg/DynamicAny/DynUnionHelper.java | 19 + .../org/omg/DynamicAny/DynValueHelper.java | 19 + .../org/omg/DynamicAny/FieldNameHelper.java | 4 +- .../org/omg/DynamicAny/NameDynAnyPairHelper.java | 2 + .../omg/DynamicAny/NameDynAnyPairSeqHelper.java | 2 + .../org/omg/DynamicAny/NameValuePairHelper.java | 2 + .../org/omg/DynamicAny/NameValuePairSeqHelper.java | 2 + .../org/omg/DynamicAny/_DynAnyFactoryStub.java | 10 +- .../classpath/org/omg/IOP/CodecFactoryHelper.java | 19 + .../CodecFactoryPackage/UnknownEncodingHelper.java | 2 + .../omg/IOP/CodecPackage/FormatMismatchHelper.java | 2 + .../CodecPackage/InvalidTypeForEncodingHelper.java | 2 + .../omg/IOP/CodecPackage/TypeMismatchHelper.java | 2 + .../org/omg/IOP/ExceptionDetailMessage.java | 60 + libjava/classpath/org/omg/IOP/IORHelper.java | 3 + .../omg/IOP/MultipleComponentProfileHelper.java | 3 + .../org/omg/IOP/RMICustomMaxStreamFormat.java | 56 + .../org/omg/IOP/ServiceContextHelper.java | 3 + .../org/omg/IOP/ServiceContextListHelper.java | 7 +- .../omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.java | 61 + .../org/omg/IOP/TaggedComponentHelper.java | 5 + .../classpath/org/omg/IOP/TaggedProfileHelper.java | 13 +- .../org/omg/Messaging/SyncScopeHelper.java | 8 +- .../org/omg/PortableInterceptor/ACTIVE.java | 55 + .../AdapterManagerIdHelper.java | 119 + .../omg/PortableInterceptor/AdapterNameHelper.java | 144 + .../PortableInterceptor/AdapterStateHelper.java | 119 + .../org/omg/PortableInterceptor/CurrentHelper.java | 30 +- .../org/omg/PortableInterceptor/DISCARDING.java | 55 + .../PortableInterceptor/ForwardRequestHelper.java | 2 + .../org/omg/PortableInterceptor/HOLDING.java | 55 + .../org/omg/PortableInterceptor/INACTIVE.java | 57 + .../omg/PortableInterceptor/IORInfoOperations.java | 52 +- .../IORInterceptorOperations.java | 6 +- .../PortableInterceptor/IORInterceptor_3_0.java | 59 + .../IORInterceptor_3_0Helper.java | 195 + .../IORInterceptor_3_0Holder.java | 106 + .../IORInterceptor_3_0Operations.java | 90 + .../omg/PortableInterceptor/InvalidSlotHelper.java | 2 + .../org/omg/PortableInterceptor/NON_EXISTENT.java | 57 + .../org/omg/PortableInterceptor/ORBIdHelper.java | 119 + .../PortableInterceptor/ORBInitInfoOperations.java | 17 +- .../ORBInitInfoPackage/DuplicateNameHelper.java | 1 + .../ORBInitInfoPackage/InvalidNameHelper.java | 2 + .../ORBInitInfoPackage/ObjectIdHelper.java | 10 +- .../omg/PortableInterceptor/ObjectIdHelper.java | 121 + .../ObjectReferenceFactory.java | 57 + .../ObjectReferenceFactoryHelper.java | 150 + .../ObjectReferenceFactoryHolder.java | 105 + .../ObjectReferenceFactoryOperations.java | 69 + .../ObjectReferenceTemplate.java | 78 + .../ObjectReferenceTemplateHelper.java | 144 + .../ObjectReferenceTemplateHolder.java | 103 + .../ObjectReferenceTemplateSeqHelper.java | 169 + .../ObjectReferenceTemplateSeqHolder.java | 104 + .../omg/PortableInterceptor/ServerIdHelper.java | 119 + .../ServerRequestInfoOperations.java | 38 +- .../_IORInterceptor_3_0Stub.java | 272 + .../CurrentPackage/NoContextHelper.java | 2 + .../omg/PortableServer/ForwardRequestHelper.java | 2 + .../PortableServer/IdAssignmentPolicyValue.java | 6 +- .../PortableServer/IdUniquenessPolicyValue.java | 6 +- .../ImplicitActivationPolicyValue.java | 6 +- .../omg/PortableServer/LifespanPolicyValue.java | 6 +- .../org/omg/PortableServer/POAHelper.java | 10 +- .../POAManagerPackage/AdapterInactiveHelper.java | 2 + .../PortableServer/POAManagerPackage/State.java | 11 +- .../POAPackage/AdapterAlreadyExistsHelper.java | 2 + .../POAPackage/AdapterNonExistentHelper.java | 2 + .../POAPackage/InvalidPolicyHelper.java | 2 + .../PortableServer/POAPackage/NoServantHelper.java | 2 + .../POAPackage/ObjectAlreadyActiveHelper.java | 2 + .../POAPackage/ObjectNotActiveHelper.java | 2 + .../POAPackage/ServantAlreadyActiveHelper.java | 2 + .../POAPackage/ServantNotActiveHelper.java | 2 + .../POAPackage/WrongAdapterHelper.java | 2 + .../POAPackage/WrongPolicyHelper.java | 2 + .../RequestProcessingPolicyValue.java | 6 +- .../classpath/org/omg/PortableServer/Servant.java | 4 + .../omg/PortableServer/ServantActivatorHelper.java | 31 +- .../omg/PortableServer/ServantLocatorHelper.java | 30 +- .../ServantRetentionPolicyValue.java | 6 +- .../org/omg/PortableServer/ThreadPolicyValue.java | 6 +- .../javax.sound.midi.spi.MidiDeviceProvider | 3 + libjava/classpath/resource/Makefile.in | 12 +- libjava/classpath/scripts/Makefile.in | 12 +- libjava/classpath/scripts/loc | 44 + .../classpath/test/native/lib/PrimlibInterface.c | 162 - .../classpath/test/native/lib/PrimlibInterface.h | 141 - libjava/classpath/test/native/lib/PrimlibTest.java | 88 - .../vm/reference/gnu/classpath/VMStackWalker.java | 16 +- .../reference/gnu/classpath/jdwp/VMIdManager.java | 3 +- .../vm/reference/java/io/VMObjectInputStream.java | 10 +- .../vm/reference/java/io/VMObjectStreamClass.java | 11 +- .../vm/reference/java/lang/VMClassLoader.java | 123 +- .../classpath/vm/reference/java/lang/VMThread.java | 9 +- .../java/security/VMAccessController.java | 42 +- libjava/classpath/vm/reference/standard.omit | 1 - libjava/scripts/makemake.tcl | 2 +- libjava/sources.am | 523 +- 1310 files changed, 112432 insertions(+), 40005 deletions(-) create mode 100644 libjava/classpath/doc/www.gnu.org/announce/20050906.wml create mode 100644 libjava/classpath/doc/www.gnu.org/announce/20051102.wml create mode 100644 libjava/classpath/doc/www.gnu.org/corba.wml create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/DemoServer.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/comServer.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoServant.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoTester.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHolder.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHolder.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHolder.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterImplBase.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterStub.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comServant.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comTester.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/node.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHelper.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHolder.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserException.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserExceptionHelper.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThis.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHelper.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHolder.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThis.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHelper.java delete mode 100644 libjava/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHolder.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/midi/Demo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/ButtonDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/ClasspathSwingActivityBoard.launch create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/ComboBoxDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/FileChooserDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/ProgressBarDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/ScrollBarDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/SliderDemo.java create mode 100644 libjava/classpath/examples/gnu/classpath/examples/swing/TextFieldDemo.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AbstractCdrInput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AbstractCdrOutput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AbstractDataInput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AbstractDataOutput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AligningInput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/AligningOutput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/ArrayValueHelper.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/BufferedCdrOutput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/BufferredCdrInput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/EncapsulationStream.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/HeadlessInput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/IDLTypeHelper.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/UnknownExceptionCtxHandler.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/VMVio.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/abstractDataInputStream.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/abstractDataOutputStream.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/aligningInputStream.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/aligningOutputStream.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/cdrBufInput.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/cdrBufOutput.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/cdrInput.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/cdrOutput.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/encapsulatedOutput.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/gnuRuntime.java create mode 100644 libjava/classpath/gnu/CORBA/CDR/gnuValueStream.java delete mode 100644 libjava/classpath/gnu/CORBA/CDR/noHeaderInput.java create mode 100644 libjava/classpath/gnu/CORBA/CdrEncapsCodecImpl.java create mode 100644 libjava/classpath/gnu/CORBA/CorbaList.java create mode 100644 libjava/classpath/gnu/CORBA/DefaultSocketFactory.java create mode 100644 libjava/classpath/gnu/CORBA/DynAn/AbstractAny.java create mode 100644 libjava/classpath/gnu/CORBA/DynAn/DivideableAny.java create mode 100644 libjava/classpath/gnu/CORBA/DynAn/RecordAny.java create mode 100644 libjava/classpath/gnu/CORBA/DynAn/UndivideableAny.java create mode 100644 libjava/classpath/gnu/CORBA/DynAn/ValueChangeListener.java delete mode 100644 libjava/classpath/gnu/CORBA/DynAn/abstractDynAny.java delete mode 100644 libjava/classpath/gnu/CORBA/DynAn/abstractRecord.java delete mode 100644 libjava/classpath/gnu/CORBA/DynAn/anyDivideable.java delete mode 100644 libjava/classpath/gnu/CORBA/DynAn/anyUndivideable.java delete mode 100644 libjava/classpath/gnu/CORBA/DynAn/valueChangedListener.java delete mode 100644 libjava/classpath/gnu/CORBA/ExceptionCreator.java delete mode 100644 libjava/classpath/gnu/CORBA/Functional_ORB.java create mode 100644 libjava/classpath/gnu/CORBA/GIOP/CodeSetServiceContext.java create mode 100644 libjava/classpath/gnu/CORBA/GIOP/ContextHandler.java delete mode 100644 libjava/classpath/gnu/CORBA/GIOP/contextSupportingHeader.java delete mode 100644 libjava/classpath/gnu/CORBA/GIOP/cxCodeSet.java create mode 100644 libjava/classpath/gnu/CORBA/GeneralHolder.java create mode 100644 libjava/classpath/gnu/CORBA/HolderLocator.java delete mode 100644 libjava/classpath/gnu/CORBA/IOR_Delegate.java delete mode 100644 libjava/classpath/gnu/CORBA/IOR_contructed_object.java create mode 100644 libjava/classpath/gnu/CORBA/IorDelegate.java create mode 100644 libjava/classpath/gnu/CORBA/IorObject.java create mode 100644 libjava/classpath/gnu/CORBA/IorProvider.java create mode 100644 libjava/classpath/gnu/CORBA/Minor.java create mode 100644 libjava/classpath/gnu/CORBA/NamingService/NameComponentComparator.java create mode 100644 libjava/classpath/gnu/CORBA/NamingService/NameTransformer.java delete mode 100644 libjava/classpath/gnu/CORBA/NamingService/cmpNameComponent.java delete mode 100644 libjava/classpath/gnu/CORBA/NamingService/snConverter.java create mode 100644 libjava/classpath/gnu/CORBA/OrbFocused.java create mode 100644 libjava/classpath/gnu/CORBA/OrbFunctional.java create mode 100644 libjava/classpath/gnu/CORBA/OrbRestricted.java create mode 100644 libjava/classpath/gnu/CORBA/Poa/AOM.java create mode 100644 libjava/classpath/gnu/CORBA/Poa/AccessiblePolicy.java create mode 100644 libjava/classpath/gnu/CORBA/Poa/DynamicImpHandler.java create mode 100644 libjava/classpath/gnu/CORBA/Poa/ServantDelegateImpl.java create mode 100644 libjava/classpath/gnu/CORBA/Poa/StandardPolicies.java delete mode 100644 libjava/classpath/gnu/CORBA/Poa/activeObjectMap.java delete mode 100644 libjava/classpath/gnu/CORBA/Poa/dynImpHandler.java delete mode 100644 libjava/classpath/gnu/CORBA/Poa/policySets.java delete mode 100644 libjava/classpath/gnu/CORBA/Poa/servantDelegate.java delete mode 100644 libjava/classpath/gnu/CORBA/Poa/vPolicy.java create mode 100644 libjava/classpath/gnu/CORBA/RawReply.java create mode 100644 libjava/classpath/gnu/CORBA/ResponseHandlerImpl.java delete mode 100644 libjava/classpath/gnu/CORBA/Restricted_ORB.java create mode 100644 libjava/classpath/gnu/CORBA/SimpleDelegate.java delete mode 100644 libjava/classpath/gnu/CORBA/Simple_delegate.java create mode 100644 libjava/classpath/gnu/CORBA/StreamBasedRequest.java create mode 100644 libjava/classpath/gnu/CORBA/StreamHolder.java create mode 100644 libjava/classpath/gnu/CORBA/StubLocator.java create mode 100644 libjava/classpath/gnu/CORBA/TypeKindNamer.java delete mode 100644 libjava/classpath/gnu/CORBA/aliasTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/binaryReply.java delete mode 100644 libjava/classpath/gnu/CORBA/bufferedResponseHandler.java delete mode 100644 libjava/classpath/gnu/CORBA/cdrEncapsCodec.java delete mode 100644 libjava/classpath/gnu/CORBA/corbaArrayList.java delete mode 100644 libjava/classpath/gnu/CORBA/fixedTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/generalTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/holderFactory.java create mode 100644 libjava/classpath/gnu/CORBA/interfaces/SocketFactory.java create mode 100644 libjava/classpath/gnu/CORBA/interfaces/package.html delete mode 100644 libjava/classpath/gnu/CORBA/primitiveArrayTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/primitiveTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/recordTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/recursiveTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/streamReadyHolder.java delete mode 100644 libjava/classpath/gnu/CORBA/streamRequest.java delete mode 100644 libjava/classpath/gnu/CORBA/stringTypeCode.java delete mode 100644 libjava/classpath/gnu/CORBA/stubFinder.java delete mode 100644 libjava/classpath/gnu/CORBA/typeNamer.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/AliasTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/ArrayTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/FixedTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/GeneralTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/PrimitiveTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/RecordTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/RecursiveTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/StringTypeCode.java create mode 100644 libjava/classpath/gnu/CORBA/typecodes/package.html delete mode 100644 libjava/classpath/gnu/CORBA/universalHolder.java create mode 100644 libjava/classpath/gnu/classpath/ByteArray.java create mode 100644 libjava/classpath/gnu/classpath/jdwp/event/VmDeathEvent.java delete mode 100644 libjava/classpath/gnu/java/awt/FocusManager.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java create mode 100644 libjava/classpath/gnu/java/net/protocol/http/LimitedLengthInputStream.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/ResponseBodyReader.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/event/ConnectionEvent.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/event/ConnectionListener.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/event/RequestEvent.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/event/RequestListener.java delete mode 100644 libjava/classpath/gnu/java/net/protocol/http/event/package.html create mode 100644 libjava/classpath/gnu/java/rmi/server/RMIClassLoaderImpl.java create mode 100644 libjava/classpath/gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java create mode 100644 libjava/classpath/gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java create mode 100644 libjava/classpath/gnu/javax/crypto/DiffieHellmanImpl.java create mode 100644 libjava/classpath/gnu/javax/crypto/GnuDHPrivateKey.java create mode 100644 libjava/classpath/gnu/javax/crypto/RSACipherImpl.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPDecoder.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPException.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPFileHeader.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPImageReader.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPImageReaderSpi.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/BMPInfoHeader.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeBF16.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeBF32.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRGB1.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRGB24.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRGB4.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRGB8.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRLE4.java create mode 100644 libjava/classpath/gnu/javax/imageio/bmp/DecodeRLE8.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/CorbaInput.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/CorbaOutput.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/RmiUtilities.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/TieTargetRecord.java create mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java delete mode 100644 libjava/classpath/gnu/javax/rmi/CORBA/ValueHandlerImpl.java delete mode 100644 libjava/classpath/gnu/javax/rmi/PortableServer.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/alsa/AlsaPortDevice.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java create mode 100644 libjava/classpath/gnu/javax/sound/midi/dssi/DSSISynthesizer.java create mode 100644 libjava/classpath/include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h create mode 100644 libjava/classpath/include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h create mode 100644 libjava/classpath/include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h create mode 100644 libjava/classpath/include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h create mode 100644 libjava/classpath/include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h create mode 100644 libjava/classpath/java/lang/EnumConstantNotPresentException.java create mode 100644 libjava/classpath/java/rmi/activation/ActivationGroup_Stub.java create mode 100644 libjava/classpath/java/util/InvalidPropertiesFormatException.java delete mode 100644 libjava/classpath/javax/imageio/metadata/IIOAttr.java delete mode 100644 libjava/classpath/javax/imageio/metadata/IIONamedNodeMap.java delete mode 100644 libjava/classpath/javax/imageio/metadata/IIONodeList.java delete mode 100644 libjava/classpath/javax/rmi/BAD_OPERATION.java delete mode 100644 libjava/classpath/javax/rmi/CORBA/ObjectImpl.java delete mode 100644 libjava/classpath/javax/rmi/CORBA/SystemException.java create mode 100644 libjava/classpath/javax/rmi/CORBA/ValueHandlerMultiFormat.java delete mode 100644 libjava/classpath/javax/rmi/ORB.java create mode 100644 libjava/classpath/javax/sound/midi/ControllerEventListener.java create mode 100644 libjava/classpath/javax/sound/midi/Instrument.java create mode 100644 libjava/classpath/javax/sound/midi/InvalidMidiDataException.java create mode 100644 libjava/classpath/javax/sound/midi/MetaEventListener.java create mode 100644 libjava/classpath/javax/sound/midi/MetaMessage.java create mode 100644 libjava/classpath/javax/sound/midi/MidiChannel.java create mode 100644 libjava/classpath/javax/sound/midi/MidiDevice.java create mode 100644 libjava/classpath/javax/sound/midi/MidiEvent.java create mode 100644 libjava/classpath/javax/sound/midi/MidiFileFormat.java create mode 100644 libjava/classpath/javax/sound/midi/MidiMessage.java create mode 100644 libjava/classpath/javax/sound/midi/MidiSystem.java create mode 100644 libjava/classpath/javax/sound/midi/MidiUnavailableException.java create mode 100644 libjava/classpath/javax/sound/midi/Patch.java create mode 100644 libjava/classpath/javax/sound/midi/Receiver.java create mode 100644 libjava/classpath/javax/sound/midi/Sequence.java create mode 100644 libjava/classpath/javax/sound/midi/Sequencer.java create mode 100644 libjava/classpath/javax/sound/midi/ShortMessage.java create mode 100644 libjava/classpath/javax/sound/midi/Soundbank.java create mode 100644 libjava/classpath/javax/sound/midi/SoundbankResource.java create mode 100644 libjava/classpath/javax/sound/midi/Synthesizer.java create mode 100644 libjava/classpath/javax/sound/midi/SysexMessage.java create mode 100644 libjava/classpath/javax/sound/midi/Track.java create mode 100644 libjava/classpath/javax/sound/midi/Transmitter.java create mode 100644 libjava/classpath/javax/sound/midi/VoiceStatus.java create mode 100644 libjava/classpath/javax/sound/midi/spi/MidiDeviceProvider.java create mode 100644 libjava/classpath/javax/sound/midi/spi/MidiFileReader.java create mode 100644 libjava/classpath/javax/sound/midi/spi/MidiFileWriter.java create mode 100644 libjava/classpath/javax/sound/midi/spi/SoundbankReader.java create mode 100644 libjava/classpath/javax/sound/sampled/AudioFileFormat.java create mode 100644 libjava/classpath/javax/sound/sampled/AudioFormat.java create mode 100644 libjava/classpath/javax/sound/sampled/AudioInputStream.java create mode 100644 libjava/classpath/javax/sound/sampled/AudioPermission.java create mode 100644 libjava/classpath/javax/sound/sampled/AudioSystem.java create mode 100644 libjava/classpath/javax/sound/sampled/BooleanControl.java create mode 100644 libjava/classpath/javax/sound/sampled/Clip.java create mode 100644 libjava/classpath/javax/sound/sampled/CompoundControl.java create mode 100644 libjava/classpath/javax/sound/sampled/Control.java create mode 100644 libjava/classpath/javax/sound/sampled/DataLine.java create mode 100644 libjava/classpath/javax/sound/sampled/EnumControl.java create mode 100644 libjava/classpath/javax/sound/sampled/FloatControl.java create mode 100644 libjava/classpath/javax/sound/sampled/Line.java create mode 100644 libjava/classpath/javax/sound/sampled/LineEvent.java create mode 100644 libjava/classpath/javax/sound/sampled/LineListener.java create mode 100644 libjava/classpath/javax/sound/sampled/LineUnavailableException.java create mode 100644 libjava/classpath/javax/sound/sampled/Mixer.java create mode 100644 libjava/classpath/javax/sound/sampled/Port.java create mode 100644 libjava/classpath/javax/sound/sampled/ReverbType.java create mode 100644 libjava/classpath/javax/sound/sampled/SourceDataLine.java create mode 100644 libjava/classpath/javax/sound/sampled/TargetDataLine.java create mode 100644 libjava/classpath/javax/sound/sampled/UnsupportedAudioFileException.java create mode 100644 libjava/classpath/javax/sound/sampled/spi/AudioFileReader.java create mode 100644 libjava/classpath/javax/sound/sampled/spi/AudioFileWriter.java create mode 100644 libjava/classpath/javax/sound/sampled/spi/FormatConversionProvider.java create mode 100644 libjava/classpath/javax/sound/sampled/spi/MixerProvider.java create mode 100644 libjava/classpath/javax/swing/KeyboardManager.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/MetalButtonListener.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/MetalComboBoxButton.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/MetalComboBoxEditor.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/MetalScrollButton.java create mode 100644 libjava/classpath/javax/swing/plaf/metal/OceanTheme.java create mode 100644 libjava/classpath/javax/swing/text/DefaultTextUI.java create mode 100644 libjava/classpath/javax/swing/text/WrappedPlainView.java create mode 100644 libjava/classpath/javax/swing/text/html/CSS.java create mode 100644 libjava/classpath/lib/copy-vmresources.sh.in create mode 100644 libjava/classpath/m4/acattribute.m4 delete mode 100644 libjava/classpath/native/jni/classpath/primlib.c delete mode 100644 libjava/classpath/native/jni/classpath/primlib.h create mode 100644 libjava/classpath/native/jni/midi-alsa/.cvsignore create mode 100644 libjava/classpath/native/jni/midi-alsa/Makefile.am create mode 100644 libjava/classpath/native/jni/midi-alsa/Makefile.in create mode 100644 libjava/classpath/native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c create mode 100644 libjava/classpath/native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.c create mode 100644 libjava/classpath/native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c create mode 100644 libjava/classpath/native/jni/midi-dssi/.cvsignore create mode 100644 libjava/classpath/native/jni/midi-dssi/Makefile.am create mode 100644 libjava/classpath/native/jni/midi-dssi/Makefile.in create mode 100644 libjava/classpath/native/jni/midi-dssi/README create mode 100644 libjava/classpath/native/jni/midi-dssi/dssi_data.h create mode 100644 libjava/classpath/native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c create mode 100644 libjava/classpath/native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c create mode 100644 libjava/classpath/org/omg/CORBA/ACTIVITY_COMPLETED.java create mode 100644 libjava/classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java create mode 100644 libjava/classpath/org/omg/CORBA/BAD_QOS.java create mode 100644 libjava/classpath/org/omg/CORBA/CODESET_INCOMPATIBLE.java delete mode 100644 libjava/classpath/org/omg/CORBA/IDLEntity.java create mode 100644 libjava/classpath/org/omg/CORBA/INVALID_ACTIVITY.java create mode 100644 libjava/classpath/org/omg/CORBA/PolicyErrorCodeHelper.java create mode 100644 libjava/classpath/org/omg/CORBA/PolicyErrorHelper.java create mode 100644 libjava/classpath/org/omg/CORBA/PolicyErrorHolder.java create mode 100644 libjava/classpath/org/omg/CORBA/REBIND.java create mode 100644 libjava/classpath/org/omg/CORBA/TIMEOUT.java create mode 100644 libjava/classpath/org/omg/CORBA/TRANSACTION_MODE.java create mode 100644 libjava/classpath/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java create mode 100644 libjava/classpath/org/omg/CORBA/UnknownUserExceptionHelper.java create mode 100644 libjava/classpath/org/omg/CORBA/UnknownUserExceptionHolder.java create mode 100644 libjava/classpath/org/omg/CORBA/WrongTransactionHelper.java create mode 100644 libjava/classpath/org/omg/CORBA/WrongTransactionHolder.java create mode 100644 libjava/classpath/org/omg/IOP/ExceptionDetailMessage.java create mode 100644 libjava/classpath/org/omg/IOP/RMICustomMaxStreamFormat.java create mode 100644 libjava/classpath/org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ACTIVE.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/AdapterManagerIdHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/AdapterNameHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/AdapterStateHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/DISCARDING.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/HOLDING.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/INACTIVE.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/NON_EXISTENT.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ORBIdHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectIdHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactory.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplate.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/ServerIdHelper.java create mode 100644 libjava/classpath/org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java create mode 100644 libjava/classpath/resource/META-INF/services/javax.sound.midi.spi.MidiDeviceProvider create mode 100755 libjava/classpath/scripts/loc delete mode 100644 libjava/classpath/test/native/lib/PrimlibInterface.c delete mode 100644 libjava/classpath/test/native/lib/PrimlibInterface.h delete mode 100644 libjava/classpath/test/native/lib/PrimlibTest.java delete mode 100644 libjava/classpath/vm/reference/standard.omit diff --git a/libjava/ChangeLog b/libjava/ChangeLog index d534360f78e..c7b541a5dca 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2005-11-15 Mark Wielaard + + Imported GNU Classpath 0.19 + gcj-import-20051115. + * sources.am: Regenerated. + * Makefile.in: Likewise. + * scripts/makemake.tcl: Use glob -nocomplain. + 2005-11-15 Scott Gilbertson * Makefile.in: Re-generated. diff --git a/libjava/Makefile.in b/libjava/Makefile.in index 561c4eb1abb..77f11cc2348 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -150,14 +150,18 @@ lib_gnu_java_awt_peer_qt_la_OBJECTS = \ @QT_AWT_TRUE@am_lib_gnu_java_awt_peer_qt_la_rpath = -rpath \ @QT_AWT_TRUE@ $(toolexeclibdir) am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ - gnu/classpath/debug.lo gnu/gcj.lo gnu/gcj/convert.lo \ - gnu/gcj/io.lo gnu/gcj/runtime.lo gnu/gcj/util.lo \ - gnu/java/awt.lo gnu/java/awt/color.lo gnu/java/awt/image.lo \ - gnu/java/awt/peer.lo gnu/java/io.lo gnu/java/lang.lo \ - gnu/java/lang/reflect.lo gnu/java/locale.lo gnu/java/math.lo \ - gnu/java/net.lo gnu/java/net/protocol/file.lo \ + gnu/classpath/debug.lo gnu/classpath/jdwp.lo \ + gnu/classpath/jdwp/event.lo \ + gnu/classpath/jdwp/event/filters.lo \ + gnu/classpath/jdwp/exception.lo gnu/classpath/jdwp/id.lo \ + gnu/classpath/jdwp/processor.lo \ + gnu/classpath/jdwp/transport.lo gnu/classpath/jdwp/util.lo \ + gnu/gcj.lo gnu/gcj/convert.lo gnu/gcj/io.lo gnu/gcj/runtime.lo \ + gnu/gcj/util.lo gnu/java/awt.lo gnu/java/awt/color.lo \ + gnu/java/awt/image.lo gnu/java/awt/peer.lo gnu/java/io.lo \ + gnu/java/lang.lo gnu/java/lang/reflect.lo gnu/java/locale.lo \ + gnu/java/math.lo gnu/java/net.lo gnu/java/net/protocol/file.lo \ gnu/java/net/protocol/ftp.lo gnu/java/net/protocol/http.lo \ - gnu/java/net/protocol/http/event.lo \ gnu/java/net/protocol/https.lo gnu/java/net/protocol/jar.lo \ gnu/java/nio.lo gnu/java/nio/channels.lo \ gnu/java/nio/charset.lo gnu/java/rmi.lo gnu/java/rmi/dgc.lo \ @@ -167,8 +171,8 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ gnu/java/security/pkcs.lo gnu/java/security/provider.lo \ gnu/java/security/util.lo gnu/java/security/x509.lo \ gnu/java/security/x509/ext.lo gnu/java/text.lo \ - gnu/java/util.lo gnu/java/util/prefs.lo \ - gnu/javax/swing/text/html/parser.lo \ + gnu/java/util.lo gnu/java/util/prefs.lo gnu/javax/crypto.lo \ + gnu/javax/imageio/bmp.lo gnu/javax/swing/text/html/parser.lo \ gnu/javax/swing/text/html/parser/models.lo \ gnu/javax/swing/text/html/parser/support.lo \ gnu/javax/swing/text/html/parser/support/low.lo gnu/regexp.lo \ @@ -196,7 +200,9 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ javax/print/event.lo javax/security/auth.lo \ javax/security/auth/callback.lo javax/security/auth/login.lo \ javax/security/auth/spi.lo javax/security/auth/x500.lo \ - javax/security/cert.lo javax/security/sasl.lo javax/sql.lo \ + javax/security/cert.lo javax/security/sasl.lo \ + javax/sound/midi.lo javax/sound/midi/spi.lo \ + javax/sound/sampled.lo javax/sound/sampled/spi.lo javax/sql.lo \ javax/swing.lo javax/swing/border.lo \ javax/swing/colorchooser.lo javax/swing/event.lo \ javax/swing/filechooser.lo javax/swing/plaf.lo \ @@ -206,8 +212,8 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ javax/swing/text/html/parser.lo javax/swing/text/rtf.lo \ javax/swing/tree.lo javax/swing/undo.lo javax/transaction.lo \ javax/transaction/xa.lo org/ietf/jgss.lo -am__DEPENDENCIES_3 = gnu-java-beans.lo gnu-xml.lo javax-imageio.lo \ - javax-xml.lo org-w3c.lo org-xml.lo +am__DEPENDENCIES_3 = gnu-java-beans.lo gnu-javax-sound-midi.lo \ + gnu-xml.lo javax-imageio.lo javax-xml.lo org-w3c.lo org-xml.lo am__DEPENDENCIES_4 = $(patsubst classpath/resource/%,%,$(addsuffix \ .lo,$(property_files))) am__libgcj_la_SOURCES_DIST = prims.cc jni.cc exception.cc \ @@ -837,6 +843,7 @@ gnu/awt/xlib/XToolkit.java gnu_awt_xlib_header_files = $(patsubst %.java,%.h,$(gnu_awt_xlib_source_files)) gnu_classpath_source_files = \ +classpath/gnu/classpath/ByteArray.java \ classpath/gnu/classpath/Configuration.java \ classpath/gnu/classpath/Pointer.java \ classpath/gnu/classpath/Pointer32.java \ @@ -852,6 +859,116 @@ classpath/gnu/classpath/debug/PreciseFilter.java \ classpath/gnu/classpath/debug/SystemLogger.java gnu_classpath_debug_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_debug_source_files))) +gnu_classpath_jdwp_source_files = \ +classpath/gnu/classpath/jdwp/Jdwp.java \ +classpath/gnu/classpath/jdwp/JdwpConstants.java \ +gnu/classpath/jdwp/VMFrame.java \ +gnu/classpath/jdwp/VMIdManager.java \ +gnu/classpath/jdwp/VMVirtualMachine.java + +gnu_classpath_jdwp_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_source_files))) +gnu_classpath_jdwp_event_source_files = \ +classpath/gnu/classpath/jdwp/event/ClassPrepareEvent.java \ +classpath/gnu/classpath/jdwp/event/Event.java \ +classpath/gnu/classpath/jdwp/event/EventManager.java \ +classpath/gnu/classpath/jdwp/event/EventRequest.java \ +classpath/gnu/classpath/jdwp/event/ThreadEndEvent.java \ +classpath/gnu/classpath/jdwp/event/ThreadStartEvent.java \ +classpath/gnu/classpath/jdwp/event/VmDeathEvent.java \ +classpath/gnu/classpath/jdwp/event/VmInitEvent.java + +gnu_classpath_jdwp_event_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_event_source_files))) +gnu_classpath_jdwp_event_filters_source_files = \ +classpath/gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/ClassMatchFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/ConditionalFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/CountFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/IEventFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/StepFilter.java \ +classpath/gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java + +gnu_classpath_jdwp_event_filters_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_event_filters_source_files))) +gnu_classpath_jdwp_exception_source_files = \ +classpath/gnu/classpath/jdwp/exception/InvalidClassException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidClassLoaderException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidCountException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidEventTypeException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidFieldException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidLocationException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidMethodException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidObjectException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidStringException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidThreadException.java \ +classpath/gnu/classpath/jdwp/exception/InvalidThreadGroupException.java \ +classpath/gnu/classpath/jdwp/exception/JdwpException.java \ +classpath/gnu/classpath/jdwp/exception/JdwpIllegalArgumentException.java \ +classpath/gnu/classpath/jdwp/exception/JdwpInternalErrorException.java \ +classpath/gnu/classpath/jdwp/exception/NotImplementedException.java \ +classpath/gnu/classpath/jdwp/exception/VmDeadException.java + +gnu_classpath_jdwp_exception_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_exception_source_files))) +gnu_classpath_jdwp_id_source_files = \ +classpath/gnu/classpath/jdwp/id/ArrayId.java \ +classpath/gnu/classpath/jdwp/id/ArrayReferenceTypeId.java \ +classpath/gnu/classpath/jdwp/id/ClassLoaderId.java \ +classpath/gnu/classpath/jdwp/id/ClassObjectId.java \ +classpath/gnu/classpath/jdwp/id/ClassReferenceTypeId.java \ +classpath/gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java \ +classpath/gnu/classpath/jdwp/id/JdwpId.java \ +classpath/gnu/classpath/jdwp/id/ObjectId.java \ +classpath/gnu/classpath/jdwp/id/ReferenceTypeId.java \ +classpath/gnu/classpath/jdwp/id/StringId.java \ +classpath/gnu/classpath/jdwp/id/ThreadGroupId.java \ +classpath/gnu/classpath/jdwp/id/ThreadId.java + +gnu_classpath_jdwp_id_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_id_source_files))) +gnu_classpath_jdwp_processor_source_files = \ +classpath/gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ClassTypeCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/CommandSet.java \ +classpath/gnu/classpath/jdwp/processor/EventRequestCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/FieldCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/MethodCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/PacketProcessor.java \ +classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/StringReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java \ +classpath/gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + +gnu_classpath_jdwp_processor_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_processor_source_files))) +gnu_classpath_jdwp_transport_source_files = \ +classpath/gnu/classpath/jdwp/transport/ITransport.java \ +classpath/gnu/classpath/jdwp/transport/JdwpCommandPacket.java \ +classpath/gnu/classpath/jdwp/transport/JdwpConnection.java \ +classpath/gnu/classpath/jdwp/transport/JdwpPacket.java \ +classpath/gnu/classpath/jdwp/transport/JdwpReplyPacket.java \ +classpath/gnu/classpath/jdwp/transport/SocketTransport.java \ +classpath/gnu/classpath/jdwp/transport/TransportException.java \ +classpath/gnu/classpath/jdwp/transport/TransportFactory.java + +gnu_classpath_jdwp_transport_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_transport_source_files))) +gnu_classpath_jdwp_util_source_files = \ +classpath/gnu/classpath/jdwp/util/JdwpString.java \ +classpath/gnu/classpath/jdwp/util/LineTable.java \ +classpath/gnu/classpath/jdwp/util/Location.java \ +classpath/gnu/classpath/jdwp/util/MethodResult.java \ +classpath/gnu/classpath/jdwp/util/Signature.java \ +classpath/gnu/classpath/jdwp/util/Value.java \ +classpath/gnu/classpath/jdwp/util/VariableTable.java + +gnu_classpath_jdwp_util_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_util_source_files))) gnu_gcj_source_files = \ gnu/gcj/Core.java \ gnu/gcj/RawData.java \ @@ -942,7 +1059,6 @@ classpath/gnu/java/awt/ClasspathToolkit.java \ classpath/gnu/java/awt/ComponentDataBlitOp.java \ classpath/gnu/java/awt/EmbeddedWindow.java \ classpath/gnu/java/awt/EventModifier.java \ -classpath/gnu/java/awt/FocusManager.java \ classpath/gnu/java/awt/GradientPaintContext.java gnu_java_awt_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_awt_source_files))) @@ -1335,7 +1451,6 @@ gnu_java_net_protocol_ftp_header_files = $(patsubst classpath/%,%,$(patsubst %.j gnu_java_net_protocol_http_source_files = \ classpath/gnu/java/net/protocol/http/Authenticator.java \ classpath/gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java \ -classpath/gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java \ classpath/gnu/java/net/protocol/http/ChunkedInputStream.java \ classpath/gnu/java/net/protocol/http/Cookie.java \ classpath/gnu/java/net/protocol/http/CookieManager.java \ @@ -1345,21 +1460,14 @@ classpath/gnu/java/net/protocol/http/HTTPDateFormat.java \ classpath/gnu/java/net/protocol/http/HTTPURLConnection.java \ classpath/gnu/java/net/protocol/http/Handler.java \ classpath/gnu/java/net/protocol/http/Headers.java \ +classpath/gnu/java/net/protocol/http/LimitedLengthInputStream.java \ classpath/gnu/java/net/protocol/http/Request.java \ classpath/gnu/java/net/protocol/http/RequestBodyWriter.java \ classpath/gnu/java/net/protocol/http/Response.java \ -classpath/gnu/java/net/protocol/http/ResponseBodyReader.java \ classpath/gnu/java/net/protocol/http/ResponseHeaderHandler.java \ classpath/gnu/java/net/protocol/http/SimpleCookieManager.java gnu_java_net_protocol_http_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_net_protocol_http_source_files))) -gnu_java_net_protocol_http_event_source_files = \ -classpath/gnu/java/net/protocol/http/event/ConnectionEvent.java \ -classpath/gnu/java/net/protocol/http/event/ConnectionListener.java \ -classpath/gnu/java/net/protocol/http/event/RequestEvent.java \ -classpath/gnu/java/net/protocol/http/event/RequestListener.java - -gnu_java_net_protocol_http_event_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_net_protocol_http_event_source_files))) gnu_java_net_protocol_https_source_files = \ classpath/gnu/java/net/protocol/https/Handler.java @@ -1490,6 +1598,7 @@ gnu_java_rmi_registry_header_files = $(patsubst classpath/%,%,$(patsubst %.java, gnu_java_rmi_server_source_files = \ classpath/gnu/java/rmi/server/ConnectionRunnerPool.java \ classpath/gnu/java/rmi/server/ProtocolConstants.java \ +classpath/gnu/java/rmi/server/RMIClassLoaderImpl.java \ classpath/gnu/java/rmi/server/RMIDefaultSocketFactory.java \ classpath/gnu/java/rmi/server/RMIHashes.java \ classpath/gnu/java/rmi/server/RMIIncomingThread.java \ @@ -1546,6 +1655,8 @@ classpath/gnu/java/security/provider/DSAParameterGenerator.java \ classpath/gnu/java/security/provider/DSAParameters.java \ classpath/gnu/java/security/provider/DSASignature.java \ classpath/gnu/java/security/provider/DefaultPolicy.java \ +classpath/gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java \ +classpath/gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java \ classpath/gnu/java/security/provider/EncodedKeyFactory.java \ classpath/gnu/java/security/provider/Gnu.java \ classpath/gnu/java/security/provider/GnuDHPublicKey.java \ @@ -1626,6 +1737,38 @@ classpath/gnu/java/util/prefs/NodeReader.java \ classpath/gnu/java/util/prefs/NodeWriter.java gnu_java_util_prefs_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_util_prefs_source_files))) +gnu_javax_crypto_source_files = \ +classpath/gnu/javax/crypto/DiffieHellmanImpl.java \ +classpath/gnu/javax/crypto/GnuDHPrivateKey.java \ +classpath/gnu/javax/crypto/RSACipherImpl.java + +gnu_javax_crypto_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_javax_crypto_source_files))) +gnu_javax_imageio_bmp_source_files = \ +classpath/gnu/javax/imageio/bmp/BMPDecoder.java \ +classpath/gnu/javax/imageio/bmp/BMPException.java \ +classpath/gnu/javax/imageio/bmp/BMPFileHeader.java \ +classpath/gnu/javax/imageio/bmp/BMPImageReader.java \ +classpath/gnu/javax/imageio/bmp/BMPImageReaderSpi.java \ +classpath/gnu/javax/imageio/bmp/BMPInfoHeader.java \ +classpath/gnu/javax/imageio/bmp/DecodeBF16.java \ +classpath/gnu/javax/imageio/bmp/DecodeBF32.java \ +classpath/gnu/javax/imageio/bmp/DecodeRGB1.java \ +classpath/gnu/javax/imageio/bmp/DecodeRGB24.java \ +classpath/gnu/javax/imageio/bmp/DecodeRGB4.java \ +classpath/gnu/javax/imageio/bmp/DecodeRGB8.java \ +classpath/gnu/javax/imageio/bmp/DecodeRLE4.java \ +classpath/gnu/javax/imageio/bmp/DecodeRLE8.java + +gnu_javax_imageio_bmp_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_javax_imageio_bmp_source_files))) +gnu_javax_sound_midi_source_files = \ +classpath/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java \ +classpath/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java \ +classpath/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java \ +classpath/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java \ +classpath/gnu/javax/sound/midi/alsa/AlsaPortDevice.java \ +classpath/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java \ +classpath/gnu/javax/sound/midi/dssi/DSSISynthesizer.java + gnu_javax_swing_text_html_parser_source_files = \ classpath/gnu/javax/swing/text/html/parser/HTML_401F.java \ classpath/gnu/javax/swing/text/html/parser/gnuDTD.java \ @@ -1850,6 +1993,33 @@ classpath/gnu/xml/pipeline/ValidationConsumer.java \ classpath/gnu/xml/pipeline/WellFormednessFilter.java \ classpath/gnu/xml/pipeline/XIncludeFilter.java \ classpath/gnu/xml/pipeline/XsltFilter.java \ +classpath/gnu/xml/stream/AttributeImpl.java \ +classpath/gnu/xml/stream/CharactersImpl.java \ +classpath/gnu/xml/stream/CommentImpl.java \ +classpath/gnu/xml/stream/DTDImpl.java \ +classpath/gnu/xml/stream/EndDocumentImpl.java \ +classpath/gnu/xml/stream/EndElementImpl.java \ +classpath/gnu/xml/stream/EndEntityImpl.java \ +classpath/gnu/xml/stream/EntityDeclarationImpl.java \ +classpath/gnu/xml/stream/EntityReferenceImpl.java \ +classpath/gnu/xml/stream/FilteredEventReader.java \ +classpath/gnu/xml/stream/FilteredStreamReader.java \ +classpath/gnu/xml/stream/LocationImpl.java \ +classpath/gnu/xml/stream/NamespaceImpl.java \ +classpath/gnu/xml/stream/NotationDeclarationImpl.java \ +classpath/gnu/xml/stream/ProcessingInstructionImpl.java \ +classpath/gnu/xml/stream/StartDocumentImpl.java \ +classpath/gnu/xml/stream/StartElementImpl.java \ +classpath/gnu/xml/stream/StartEntityImpl.java \ +classpath/gnu/xml/stream/XMLEventAllocatorImpl.java \ +classpath/gnu/xml/stream/XMLEventFactoryImpl.java \ +classpath/gnu/xml/stream/XMLEventImpl.java \ +classpath/gnu/xml/stream/XMLEventReaderImpl.java \ +classpath/gnu/xml/stream/XMLEventWriterImpl.java \ +classpath/gnu/xml/stream/XMLInputFactoryImpl.java \ +classpath/gnu/xml/stream/XMLOutputFactoryImpl.java \ +classpath/gnu/xml/stream/XMLStreamReaderImpl.java \ +classpath/gnu/xml/stream/XMLStreamWriterImpl.java \ classpath/gnu/xml/transform/AbstractNumberNode.java \ classpath/gnu/xml/transform/ApplyImportsNode.java \ classpath/gnu/xml/transform/ApplyTemplatesNode.java \ @@ -2497,6 +2667,7 @@ classpath/java/lang/Comparable.java \ classpath/java/lang/Compiler.java \ java/lang/ConcreteProcess.java \ java/lang/Double.java \ +classpath/java/lang/EnumConstantNotPresentException.java \ classpath/java/lang/Error.java \ classpath/java/lang/Exception.java \ classpath/java/lang/ExceptionInInitializerError.java \ @@ -2782,6 +2953,7 @@ classpath/java/rmi/activation/ActivationException.java \ classpath/java/rmi/activation/ActivationGroup.java \ classpath/java/rmi/activation/ActivationGroupDesc.java \ classpath/java/rmi/activation/ActivationGroupID.java \ +classpath/java/rmi/activation/ActivationGroup_Stub.java \ classpath/java/rmi/activation/ActivationID.java \ classpath/java/rmi/activation/ActivationInstantiator.java \ classpath/java/rmi/activation/ActivationMonitor.java \ @@ -3076,6 +3248,7 @@ classpath/java/util/HashMap.java \ classpath/java/util/HashSet.java \ classpath/java/util/Hashtable.java \ classpath/java/util/IdentityHashMap.java \ +classpath/java/util/InvalidPropertiesFormatException.java \ classpath/java/util/Iterator.java \ classpath/java/util/LinkedHashMap.java \ classpath/java/util/LinkedHashSet.java \ @@ -3274,15 +3447,12 @@ classpath/javax/imageio/event/IIOReadUpdateListener.java \ classpath/javax/imageio/event/IIOReadWarningListener.java \ classpath/javax/imageio/event/IIOWriteProgressListener.java \ classpath/javax/imageio/event/IIOWriteWarningListener.java \ -classpath/javax/imageio/metadata/IIOAttr.java \ classpath/javax/imageio/metadata/IIOInvalidTreeException.java \ classpath/javax/imageio/metadata/IIOMetadata.java \ classpath/javax/imageio/metadata/IIOMetadataController.java \ classpath/javax/imageio/metadata/IIOMetadataFormat.java \ classpath/javax/imageio/metadata/IIOMetadataFormatImpl.java \ classpath/javax/imageio/metadata/IIOMetadataNode.java \ -classpath/javax/imageio/metadata/IIONamedNodeMap.java \ -classpath/javax/imageio/metadata/IIONodeList.java \ classpath/javax/imageio/spi/IIORegistry.java \ classpath/javax/imageio/spi/IIOServiceProvider.java \ classpath/javax/imageio/spi/ImageInputStreamSpi.java \ @@ -3645,6 +3815,72 @@ classpath/javax/security/sasl/SaslServer.java \ classpath/javax/security/sasl/SaslServerFactory.java javax_security_sasl_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_security_sasl_source_files))) +javax_sound_midi_source_files = \ +classpath/javax/sound/midi/ControllerEventListener.java \ +classpath/javax/sound/midi/Instrument.java \ +classpath/javax/sound/midi/InvalidMidiDataException.java \ +classpath/javax/sound/midi/MetaEventListener.java \ +classpath/javax/sound/midi/MetaMessage.java \ +classpath/javax/sound/midi/MidiChannel.java \ +classpath/javax/sound/midi/MidiDevice.java \ +classpath/javax/sound/midi/MidiEvent.java \ +classpath/javax/sound/midi/MidiFileFormat.java \ +classpath/javax/sound/midi/MidiMessage.java \ +classpath/javax/sound/midi/MidiSystem.java \ +classpath/javax/sound/midi/MidiUnavailableException.java \ +classpath/javax/sound/midi/Patch.java \ +classpath/javax/sound/midi/Receiver.java \ +classpath/javax/sound/midi/Sequence.java \ +classpath/javax/sound/midi/Sequencer.java \ +classpath/javax/sound/midi/ShortMessage.java \ +classpath/javax/sound/midi/Soundbank.java \ +classpath/javax/sound/midi/SoundbankResource.java \ +classpath/javax/sound/midi/Synthesizer.java \ +classpath/javax/sound/midi/SysexMessage.java \ +classpath/javax/sound/midi/Track.java \ +classpath/javax/sound/midi/Transmitter.java \ +classpath/javax/sound/midi/VoiceStatus.java + +javax_sound_midi_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_sound_midi_source_files))) +javax_sound_midi_spi_source_files = \ +classpath/javax/sound/midi/spi/MidiDeviceProvider.java \ +classpath/javax/sound/midi/spi/MidiFileReader.java \ +classpath/javax/sound/midi/spi/MidiFileWriter.java \ +classpath/javax/sound/midi/spi/SoundbankReader.java + +javax_sound_midi_spi_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_sound_midi_spi_source_files))) +javax_sound_sampled_source_files = \ +classpath/javax/sound/sampled/AudioFileFormat.java \ +classpath/javax/sound/sampled/AudioFormat.java \ +classpath/javax/sound/sampled/AudioInputStream.java \ +classpath/javax/sound/sampled/AudioPermission.java \ +classpath/javax/sound/sampled/AudioSystem.java \ +classpath/javax/sound/sampled/BooleanControl.java \ +classpath/javax/sound/sampled/Clip.java \ +classpath/javax/sound/sampled/CompoundControl.java \ +classpath/javax/sound/sampled/Control.java \ +classpath/javax/sound/sampled/DataLine.java \ +classpath/javax/sound/sampled/EnumControl.java \ +classpath/javax/sound/sampled/FloatControl.java \ +classpath/javax/sound/sampled/Line.java \ +classpath/javax/sound/sampled/LineEvent.java \ +classpath/javax/sound/sampled/LineListener.java \ +classpath/javax/sound/sampled/LineUnavailableException.java \ +classpath/javax/sound/sampled/Mixer.java \ +classpath/javax/sound/sampled/Port.java \ +classpath/javax/sound/sampled/ReverbType.java \ +classpath/javax/sound/sampled/SourceDataLine.java \ +classpath/javax/sound/sampled/TargetDataLine.java \ +classpath/javax/sound/sampled/UnsupportedAudioFileException.java + +javax_sound_sampled_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_sound_sampled_source_files))) +javax_sound_sampled_spi_source_files = \ +classpath/javax/sound/sampled/spi/AudioFileReader.java \ +classpath/javax/sound/sampled/spi/AudioFileWriter.java \ +classpath/javax/sound/sampled/spi/FormatConversionProvider.java \ +classpath/javax/sound/sampled/spi/MixerProvider.java + +javax_sound_sampled_spi_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_sound_sampled_spi_source_files))) javax_sql_source_files = \ classpath/javax/sql/ConnectionEvent.java \ classpath/javax/sql/ConnectionEventListener.java \ @@ -3746,6 +3982,7 @@ classpath/javax/swing/JTree.java \ classpath/javax/swing/JViewport.java \ classpath/javax/swing/JWindow.java \ classpath/javax/swing/KeyStroke.java \ +classpath/javax/swing/KeyboardManager.java \ classpath/javax/swing/LayoutFocusTraversalPolicy.java \ classpath/javax/swing/ListCellRenderer.java \ classpath/javax/swing/ListModel.java \ @@ -3972,12 +4209,16 @@ javax_swing_plaf_basic_header_files = $(patsubst classpath/%,%,$(patsubst %.java javax_swing_plaf_metal_source_files = \ classpath/javax/swing/plaf/metal/DefaultMetalTheme.java \ classpath/javax/swing/plaf/metal/MetalBorders.java \ +classpath/javax/swing/plaf/metal/MetalButtonListener.java \ classpath/javax/swing/plaf/metal/MetalButtonUI.java \ classpath/javax/swing/plaf/metal/MetalCheckBoxIcon.java \ classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java \ +classpath/javax/swing/plaf/metal/MetalComboBoxButton.java \ +classpath/javax/swing/plaf/metal/MetalComboBoxEditor.java \ classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java \ classpath/javax/swing/plaf/metal/MetalComboBoxUI.java \ classpath/javax/swing/plaf/metal/MetalDesktopIconUI.java \ +classpath/javax/swing/plaf/metal/MetalFileChooserUI.java \ classpath/javax/swing/plaf/metal/MetalIconFactory.java \ classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java \ classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java \ @@ -3988,6 +4229,7 @@ classpath/javax/swing/plaf/metal/MetalProgressBarUI.java \ classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java \ classpath/javax/swing/plaf/metal/MetalRootPaneUI.java \ classpath/javax/swing/plaf/metal/MetalScrollBarUI.java \ +classpath/javax/swing/plaf/metal/MetalScrollButton.java \ classpath/javax/swing/plaf/metal/MetalScrollPaneUI.java \ classpath/javax/swing/plaf/metal/MetalSeparatorUI.java \ classpath/javax/swing/plaf/metal/MetalSliderUI.java \ @@ -4000,7 +4242,8 @@ classpath/javax/swing/plaf/metal/MetalToggleButtonUI.java \ classpath/javax/swing/plaf/metal/MetalToolBarUI.java \ classpath/javax/swing/plaf/metal/MetalToolTipUI.java \ classpath/javax/swing/plaf/metal/MetalTreeUI.java \ -classpath/javax/swing/plaf/metal/MetalUtils.java +classpath/javax/swing/plaf/metal/MetalUtils.java \ +classpath/javax/swing/plaf/metal/OceanTheme.java javax_swing_plaf_metal_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_plaf_metal_source_files))) javax_swing_plaf_multi_source_files = \ @@ -4066,6 +4309,7 @@ classpath/javax/swing/text/DefaultEditorKit.java \ classpath/javax/swing/text/DefaultFormatter.java \ classpath/javax/swing/text/DefaultHighlighter.java \ classpath/javax/swing/text/DefaultStyledDocument.java \ +classpath/javax/swing/text/DefaultTextUI.java \ classpath/javax/swing/text/Document.java \ classpath/javax/swing/text/DocumentFilter.java \ classpath/javax/swing/text/EditorKit.java \ @@ -4105,10 +4349,12 @@ classpath/javax/swing/text/TabableView.java \ classpath/javax/swing/text/TextAction.java \ classpath/javax/swing/text/Utilities.java \ classpath/javax/swing/text/View.java \ -classpath/javax/swing/text/ViewFactory.java +classpath/javax/swing/text/ViewFactory.java \ +classpath/javax/swing/text/WrappedPlainView.java javax_swing_text_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_text_source_files))) javax_swing_text_html_source_files = \ +classpath/javax/swing/text/html/CSS.java \ classpath/javax/swing/text/html/HTML.java \ classpath/javax/swing/text/html/HTMLDocument.java \ classpath/javax/swing/text/html/HTMLEditorKit.java \ @@ -4208,6 +4454,43 @@ classpath/javax/xml/parsers/FactoryConfigurationError.java \ classpath/javax/xml/parsers/ParserConfigurationException.java \ classpath/javax/xml/parsers/SAXParser.java \ classpath/javax/xml/parsers/SAXParserFactory.java \ +classpath/javax/xml/stream/EventFilter.java \ +classpath/javax/xml/stream/FactoryConfigurationError.java \ +classpath/javax/xml/stream/Location.java \ +classpath/javax/xml/stream/StreamFilter.java \ +classpath/javax/xml/stream/XMLEventFactory.java \ +classpath/javax/xml/stream/XMLEventReader.java \ +classpath/javax/xml/stream/XMLEventWriter.java \ +classpath/javax/xml/stream/XMLFilter.java \ +classpath/javax/xml/stream/XMLInputFactory.java \ +classpath/javax/xml/stream/XMLIterator.java \ +classpath/javax/xml/stream/XMLOutputFactory.java \ +classpath/javax/xml/stream/XMLReporter.java \ +classpath/javax/xml/stream/XMLResolver.java \ +classpath/javax/xml/stream/XMLStreamConstants.java \ +classpath/javax/xml/stream/XMLStreamException.java \ +classpath/javax/xml/stream/XMLStreamReader.java \ +classpath/javax/xml/stream/XMLStreamWriter.java \ +classpath/javax/xml/stream/events/Attribute.java \ +classpath/javax/xml/stream/events/Characters.java \ +classpath/javax/xml/stream/events/Comment.java \ +classpath/javax/xml/stream/events/DTD.java \ +classpath/javax/xml/stream/events/EndDocument.java \ +classpath/javax/xml/stream/events/EndElement.java \ +classpath/javax/xml/stream/events/EndEntity.java \ +classpath/javax/xml/stream/events/EntityDeclaration.java \ +classpath/javax/xml/stream/events/EntityReference.java \ +classpath/javax/xml/stream/events/Namespace.java \ +classpath/javax/xml/stream/events/NotationDeclaration.java \ +classpath/javax/xml/stream/events/ProcessingInstruction.java \ +classpath/javax/xml/stream/events/StartDocument.java \ +classpath/javax/xml/stream/events/StartElement.java \ +classpath/javax/xml/stream/events/StartEntity.java \ +classpath/javax/xml/stream/events/XMLEvent.java \ +classpath/javax/xml/stream/util/EventReaderDelegate.java \ +classpath/javax/xml/stream/util/ReaderDelegate.java \ +classpath/javax/xml/stream/util/XMLEventAllocator.java \ +classpath/javax/xml/stream/util/XMLEventConsumer.java \ classpath/javax/xml/transform/ErrorListener.java \ classpath/javax/xml/transform/OutputKeys.java \ classpath/javax/xml/transform/Result.java \ @@ -4449,6 +4732,14 @@ all_packages_source_files = \ gnu/awt/j2d.list \ gnu/classpath.list \ gnu/classpath/debug.list \ + gnu/classpath/jdwp.list \ + gnu/classpath/jdwp/event.list \ + gnu/classpath/jdwp/event/filters.list \ + gnu/classpath/jdwp/exception.list \ + gnu/classpath/jdwp/id.list \ + gnu/classpath/jdwp/processor.list \ + gnu/classpath/jdwp/transport.list \ + gnu/classpath/jdwp/util.list \ gnu/gcj.list \ gnu/gcj/convert.list \ gnu/gcj/io.list \ @@ -4467,7 +4758,6 @@ all_packages_source_files = \ gnu/java/net/protocol/file.list \ gnu/java/net/protocol/ftp.list \ gnu/java/net/protocol/http.list \ - gnu/java/net/protocol/http/event.list \ gnu/java/net/protocol/https.list \ gnu/java/net/protocol/jar.list \ gnu/java/nio.list \ @@ -4489,6 +4779,8 @@ all_packages_source_files = \ gnu/java/text.list \ gnu/java/util.list \ gnu/java/util/prefs.list \ + gnu/javax/crypto.list \ + gnu/javax/imageio/bmp.list \ gnu/javax/swing/text/html/parser.list \ gnu/javax/swing/text/html/parser/models.list \ gnu/javax/swing/text/html/parser/support.list \ @@ -4563,6 +4855,10 @@ all_packages_source_files = \ javax/security/auth/x500.list \ javax/security/cert.list \ javax/security/sasl.list \ + javax/sound/midi.list \ + javax/sound/midi/spi.list \ + javax/sound/sampled.list \ + javax/sound/sampled/spi.list \ javax/sql.list \ javax/swing.list \ javax/swing/border.list \ @@ -4589,6 +4885,14 @@ ordinary_header_files = \ $(gnu_awt_j2d_header_files) \ $(gnu_classpath_header_files) \ $(gnu_classpath_debug_header_files) \ + $(gnu_classpath_jdwp_header_files) \ + $(gnu_classpath_jdwp_event_header_files) \ + $(gnu_classpath_jdwp_event_filters_header_files) \ + $(gnu_classpath_jdwp_exception_header_files) \ + $(gnu_classpath_jdwp_id_header_files) \ + $(gnu_classpath_jdwp_processor_header_files) \ + $(gnu_classpath_jdwp_transport_header_files) \ + $(gnu_classpath_jdwp_util_header_files) \ $(gnu_gcj_header_files) \ $(gnu_gcj_convert_header_files) \ $(gnu_gcj_io_header_files) \ @@ -4607,7 +4911,6 @@ ordinary_header_files = \ $(gnu_java_net_protocol_file_header_files) \ $(gnu_java_net_protocol_ftp_header_files) \ $(gnu_java_net_protocol_http_header_files) \ - $(gnu_java_net_protocol_http_event_header_files) \ $(gnu_java_net_protocol_https_header_files) \ $(gnu_java_net_protocol_jar_header_files) \ $(gnu_java_nio_header_files) \ @@ -4629,6 +4932,8 @@ ordinary_header_files = \ $(gnu_java_text_header_files) \ $(gnu_java_util_header_files) \ $(gnu_java_util_prefs_header_files) \ + $(gnu_javax_crypto_header_files) \ + $(gnu_javax_imageio_bmp_header_files) \ $(gnu_javax_swing_text_html_parser_header_files) \ $(gnu_javax_swing_text_html_parser_models_header_files) \ $(gnu_javax_swing_text_html_parser_support_header_files) \ @@ -4703,6 +5008,10 @@ ordinary_header_files = \ $(javax_security_auth_x500_header_files) \ $(javax_security_cert_header_files) \ $(javax_security_sasl_header_files) \ + $(javax_sound_midi_header_files) \ + $(javax_sound_midi_spi_header_files) \ + $(javax_sound_sampled_header_files) \ + $(javax_sound_sampled_spi_header_files) \ $(javax_sql_header_files) \ $(javax_swing_header_files) \ $(javax_swing_border_header_files) \ @@ -4726,6 +5035,7 @@ ordinary_header_files = \ bc_objects = \ gnu-java-beans.lo \ + gnu-javax-sound-midi.lo \ gnu-xml.lo \ javax-imageio.lo \ javax-xml.lo \ @@ -6584,6 +6894,86 @@ gnu/classpath/debug.list: $(gnu_classpath_debug_source_files) -include gnu/classpath/debug.deps +gnu/classpath/jdwp.list: $(gnu_classpath_jdwp_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp.list + +-include gnu/classpath/jdwp.deps + +gnu/classpath/jdwp/event.list: $(gnu_classpath_jdwp_event_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_event_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/event.list + +-include gnu/classpath/jdwp/event.deps + +gnu/classpath/jdwp/event/filters.list: $(gnu_classpath_jdwp_event_filters_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_event_filters_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/event/filters.list + +-include gnu/classpath/jdwp/event/filters.deps + +gnu/classpath/jdwp/exception.list: $(gnu_classpath_jdwp_exception_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_exception_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/exception.list + +-include gnu/classpath/jdwp/exception.deps + +gnu/classpath/jdwp/id.list: $(gnu_classpath_jdwp_id_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_id_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/id.list + +-include gnu/classpath/jdwp/id.deps + +gnu/classpath/jdwp/processor.list: $(gnu_classpath_jdwp_processor_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_processor_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/processor.list + +-include gnu/classpath/jdwp/processor.deps + +gnu/classpath/jdwp/transport.list: $(gnu_classpath_jdwp_transport_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_transport_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/transport.list + +-include gnu/classpath/jdwp/transport.deps + +gnu/classpath/jdwp/util.list: $(gnu_classpath_jdwp_util_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_classpath_jdwp_util_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/classpath/jdwp/util.list + +-include gnu/classpath/jdwp/util.deps + gnu/gcj.list: $(gnu_gcj_source_files) @$(mkinstalldirs) $(dir $@) @for file in $(gnu_gcj_source_files); do \ @@ -6789,16 +7179,6 @@ gnu/java/net/protocol/http.list: $(gnu_java_net_protocol_http_source_files) -include gnu/java/net/protocol/http.deps -gnu/java/net/protocol/http/event.list: $(gnu_java_net_protocol_http_event_source_files) - @$(mkinstalldirs) $(dir $@) - @for file in $(gnu_java_net_protocol_http_event_source_files); do \ - if test -f $(srcdir)/$$file; then \ - echo $(srcdir)/$$file; \ - else echo $$file; fi; \ - done > gnu/java/net/protocol/http/event.list - --include gnu/java/net/protocol/http/event.deps - gnu/java/net/protocol/https.list: $(gnu_java_net_protocol_https_source_files) @$(mkinstalldirs) $(dir $@) @for file in $(gnu_java_net_protocol_https_source_files); do \ @@ -7009,6 +7389,31 @@ gnu/java/util/prefs.list: $(gnu_java_util_prefs_source_files) -include gnu/java/util/prefs.deps +gnu/javax/crypto.list: $(gnu_javax_crypto_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_javax_crypto_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/javax/crypto.list + +-include gnu/javax/crypto.deps + +gnu/javax/imageio/bmp.list: $(gnu_javax_imageio_bmp_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(gnu_javax_imageio_bmp_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > gnu/javax/imageio/bmp.list + +-include gnu/javax/imageio/bmp.deps + +gnu-javax-sound-midi.lo: $(gnu_javax_sound_midi_source_files) + @find classpath/lib/gnu/javax/sound/midi -name '*.class' > gnu-javax-sound-midi.list + $(LTGCJCOMPILE) -fjni -findirect-dispatch -c -o gnu-javax-sound-midi.lo @gnu-javax-sound-midi.list + @rm -f gnu-javax-sound-midi.list + gnu/javax/swing/text/html/parser.list: $(gnu_javax_swing_text_html_parser_source_files) @$(mkinstalldirs) $(dir $@) @for file in $(gnu_javax_swing_text_html_parser_source_files); do \ @@ -7759,6 +8164,46 @@ javax/security/sasl.list: $(javax_security_sasl_source_files) -include javax/security/sasl.deps +javax/sound/midi.list: $(javax_sound_midi_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(javax_sound_midi_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > javax/sound/midi.list + +-include javax/sound/midi.deps + +javax/sound/midi/spi.list: $(javax_sound_midi_spi_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(javax_sound_midi_spi_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > javax/sound/midi/spi.list + +-include javax/sound/midi/spi.deps + +javax/sound/sampled.list: $(javax_sound_sampled_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(javax_sound_sampled_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > javax/sound/sampled.list + +-include javax/sound/sampled.deps + +javax/sound/sampled/spi.list: $(javax_sound_sampled_spi_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(javax_sound_sampled_spi_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > javax/sound/sampled/spi.list + +-include javax/sound/sampled/spi.deps + javax/sql.list: $(javax_sql_source_files) @$(mkinstalldirs) $(dir $@) @for file in $(javax_sql_source_files); do \ diff --git a/libjava/classpath/.classpath b/libjava/classpath/.classpath index 51315366e6c..f170038598e 100644 --- a/libjava/classpath/.classpath +++ b/libjava/classpath/.classpath @@ -1,8 +1,8 @@ - + - + diff --git a/libjava/classpath/.settings/org.eclipse.jdt.core.prefs b/libjava/classpath/.settings/org.eclipse.jdt.core.prefs index 6977f23851e..0c544bd829e 100644 --- a/libjava/classpath/.settings/org.eclipse.jdt.core.prefs +++ b/libjava/classpath/.settings/org.eclipse.jdt.core.prefs @@ -1,12 +1,13 @@ -#Mon Apr 25 22:37:20 MDT 2005 +#Tue Sep 13 16:15:04 MDT 2005 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.autoboxing=ignore @@ -22,9 +23,20 @@ org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error @@ -50,7 +62,7 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=di org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.4 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=18 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 diff --git a/libjava/classpath/.settings/org.eclipse.jdt.ui.prefs b/libjava/classpath/.settings/org.eclipse.jdt.ui.prefs index 7fc356fd571..05d8922d3c0 100644 --- a/libjava/classpath/.settings/org.eclipse.jdt.ui.prefs +++ b/libjava/classpath/.settings/org.eclipse.jdt.ui.prefs @@ -1,4 +1,5 @@ -#Mon Apr 25 21:37:39 MDT 2005 +#Sat Sep 17 22:04:29 MDT 2005 eclipse.preferences.version=1 formatter_settings_version=8 -org.eclipse.jdt.ui.text.custom_code_templates=\n +internal.default.compliance=user +org.eclipse.jdt.ui.text.custom_code_templates=\n diff --git a/libjava/classpath/AUTHORS b/libjava/classpath/AUTHORS index 2f021ea0441..339138aef06 100644 --- a/libjava/classpath/AUTHORS +++ b/libjava/classpath/AUTHORS @@ -4,7 +4,8 @@ caught bugs or submitted minor patches. If your name does not appear on either list, but should, let us know. Please keep this list in alphabetic order. -Stuart Ballard (stuart.ballard@mcmail.com) +Lillian Angel (langel@redhat.com) +Stuart Ballard (stuart.a.ballard@gmail.com) Mark Benvenuto (mcb54@columbia.edu) Geoff Berry (gcb@gnu.org) James E. Blair (corvus@gnu.org) @@ -12,8 +13,10 @@ Eric Blake (ebb9@email.byu.edu) Sascha Brawer (brawer@acm.org) Nic Ferrier (nferrier@tapsellferrier.co.uk) Paul Fisher (rao@gnu.org) +David Gilbert (david.gilbert@object-refinery.com) Anthony Green (green@redhat.com) Jochen Hoenicke (Jochen.Hoenicke@Informatik.Uni-Oldenburg.de) +Andrew John Hughes (gnu_andrew@member.fsf.org) Brian Jones (cbj@gnu.org) Roman Kennke (roman@kennke.org) Michael Koch (konqueror@gmx.de) @@ -25,6 +28,7 @@ Bryce McKinlay (bryce@waitaki.otago.ac.nz) Audrius Meskauskas (audriusa@Bioinformatics.org) Aaron M. Renn (arenn@urbanophile.com) Andrew Selkirk (aselkirk@sympatico.ca) +Christian Thalinger (twisti@complang.tuwien.ac.at) Tom Tromey (tromey@cygnus.com) Ronald Veldema (rveldema@cs.vu.nl) Mark Wielaard (mark@klomp.org) diff --git a/libjava/classpath/BUGS b/libjava/classpath/BUGS index abdb4e4d5e0..aa75439582c 100644 --- a/libjava/classpath/BUGS +++ b/libjava/classpath/BUGS @@ -2,4 +2,4 @@ This package is still in the early development phase. That means too early to start listing bugs in a file like this one! Report bugs to classpath@gnu.org or much better via Savannah at this -URL: http://savannah.gnu.org/bugs/?group=classpath +URL: http://www.gnu.org/software/classpath/bugs.html diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index e1868f26ea2..d40cc1a418c 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -1,7 +1,9593 @@ +2005-11-15 Wolfgang Baer + + * javax/print/attribute/DateTimeSyntax.java, + * javax/print/attribute/EnumSyntax.java, + * javax/print/attribute/IntegerSyntax.java, + * javax/print/attribute/URISyntax.java: + Added and enhances some api docs. + +2005-11-15 Lillian Angel + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (gtkWindowGetLocationOnScreen): Added declaration + for native function. + (getLocationOnScreen): Changed to handle 2 different cases. + If the component is a window, gtkWindowGetLocationOnScreen is + called; otherwise, gtkWidetGetLocationOnScreen. + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: + Added signature for new function Java_gnu_java_awt_peer_ + gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): + Implemented. + +2005-11-15 Roman Kennke + + * javax/swing/JViewport.java + (JViewport): Recognize setting of a system property + gnu.javax.swing.JViewport for the scrollMode. + +2005-11-15 Roman Kennke + + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern2D): Fixed the texture width. + (initializePattern): Made texture transparent. + +2005-11-15 Roman Kennke + + * javax/swing/JTextField.java + (createDefaultModel): Set the filterNewlines property on the created + model. + +2005-11-15 Roman Kennke + + * javax/swing/plaf/basic/BasicListUI.java + Fixed API docs all over to better explain the changed (but correct) + behaviour. + (convertYToRow): Added some short-circuits for special cases. Update + the layout state if necessary. Fixed to match the JDK behaviour. + Added API docs to better explain the behaviour. + (updateLayoutState): When a fixedCellHeight is set, then use the + cellHeight field, otherwise use the cellHeights array. + (uninstallDefaults): Removed unnecessary statement. + (paintBackground): Removed unnecessary method. + (paintCell): Removed some commented-out code. + (paint): Removed call to paintBackground(). + (locationToIndex): Removed unused statement. + +2005-11-14 Wolfgang Baer + + * javax/print/attribute/AttributeSetUtilities.java: + Added api docs and enhanced api docs all over the place. + (verifyCategoryForValue): Throw exception when arguments + are _not_ equal and throw NPE also if attribute is null. + +2005-11-14 Lillian Angel + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (getLocationOnScreen): The insets should be taken into account + when returning the location of an object on the screen. + +2005-11-14 Anthony Balkissoon + + * javax/swing/JMenuBar.java: + (removeNotify): Unregister this JMenuBar from the KeyboardManager. + * javax/swing/KeyboardManager.java: + (unregisterJMenuBar): New implementation method. + +2005-11-14 Anthony Balkissoon + + * javax/swing/JComponent.java: + (removeNotify): Removed unncessary InputMap and ActionMap inheritance + code. Added FIXME to remove the WHEN_IN_FOCUSED_WINDOW bindings from + the KeyboardManager. + * javax/swing/JMenuBar.java: + (removeNotify): Added FIXME to unregister this JMenuBar from the + KeyboardManager. + +2005-11-14 Wolfgang Baer + + * javax/print/attribute/HashAttributeSet.java: + Added api docs to class and clarified method documentation. + (toArray): Get iterator from values instead of entries. + (hashCode): Compute hashcode according to specification. + (get): Throw NullPointerException if category is null. + (HashAttributeSet(Attribute[],Class)): Changed to allow + Attribute[] to be null. + +2005-11-14 Mark Wielaard + + As suggested by Joao Victor : + * javax/swing/Timer.java (Waker): Removed class. + (Task): New class. + (timer): New field. + (running): Removed field. + (waker): Likewise. + (task): New field. + (isRunning): Check whether task is null. + (start): Create task and schedule it with timer. + (stop): Cancel task and clear field. + (queueEvent): Synchronized on queueLock. + +2005-11-14 Lillian Angel + + * javax/swing/JTree.java + (expandPath): No need to get the parent path. + * javax/swing/event/TreeModelEvent.java: + Variables should be initialized to null. + (toString): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java + (treeStructureChanged): Implemented. + (getParent): Added check to avoid infinite loop. + (findNode): Fixed check to use getChild, instead of + getIndexOfChild. + (updateCurrentVisiblePath): Added a loop to check + the parent's sibling, if the current node has no + other siblings. + +2005-11-14 Anthony Balkissoon + + * javax/swing/ActionMap.java: + (keys): Return null if the map is empty. + (allKeys): Likewise. + * javax/swing/InputMap.java: + (keys): Return null if the map is empty. + (allKeys): Likewise. + * javax/swing/JMenuBar: + (addNotify): Register the menu with the KeyboardManager. + (processKeyBinding): New API method. + (processKeyBindingHelper): New implementation method. + * javax/swing/JMenuItem.java: + (setAccelerator): Fire a PropertyChangeEvent after changing the + accelerator. + * javax/swing/KeyboardManager.java: + (menuBarLookup): New field, Hashtable mapping between top-level + containers and a Vector of the JMenuBars contained in them. + (getHashtableForTopLevel): Changed this public method to package + private. + (registerEntireMap): Avoid NPE by returning early if the parameter + is null or contains no mappings. + (processKeyStroke): If the mapped component doesn't consume the event, + let all JMenuBars in the top-level container have a chance at it. + (getVectorForTopLevel): New implementation method. + (registerJMenuBar): Likewise. + * javax/swing/plaf/basic/BasicMenuItemUI.java: + (propertyChangeListener): New field. + (PropertyChangeHandler): New class to handle PropertyChangeEvents on + the JMenuItem. + (ClickAction): New class to implement accelerator key handling. + (BasicMenuItemUI): Instantiate the propertyChangeListener field. + (installKeyboardActions): Implemented. + (installListeners): Install the propertyChangeListener. + (installUI): Call installKeyboardAcions after installing the listeners. + (uninstallKeyboardActions): Implemented. + (uninstallListeners): Remove the propertyChangeListener. + +2005-11-14 Tom Tromey + + * java/applet/Applet.java (URLAudioClip): New class. + (newAudioClip): Implemented. + * gnu/java/beans/DummyAppletContext.java (getAudioClip): Use + Applet.newAudioClip. + (DUMMY_CLIP): Removed. + (DummyAudioClip): Removed. + +2005-11-14 Tom Tromey + + * javax/sound/sampled/Line.java (open): Throws + LineUnavailableException. + +2005-11-14 Roman Kennke + + Reported by Ingo Proetel + * gnu/java/io/PlatformHelper.java + (toCanonicalForm): Remove lowercasing of paths in Windows. This + breaks working with URLs, like when accessing files withing JAR + files. + +2005-11-14 Roman Kennke + + * javax/swing/JLayeredPane.java + (paint): Only clear the background if the layeredPane is opaque. + +2005-11-14 Roman Kennke + + * javax/swing/RepaintManager.java + (globalManager): Removed obsolete field. + (currentRepaintManagers): New field. + (RepaintWorker.run): Fetch current RepaintManager for the current + thread group. + (currentManager): Return the current manager for the current thread + group. + (setCurrentManager): Set the repaint manager for the current thread + group. + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicComboPopup.java + (show): Instead of fiddling with the list size, set the preferredSize + of the scroller. + (configureScroller): Set border to null. + (configurePopup): Set border correctly. + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (setButtonIcons): Only set icons if buttons are != null. + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed some UI defaults used by ProgressBar. + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicTextFieldUI.java + (propertyChange): Get new value from the PropertyChangeEvent and + not from the component itself (since when it receives the event, + the component still has the old state). + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (uninstallListeners): Uninstall the document listener here. + (getVisibleEditorRect): Fetch the textComponent via getComponent(). + +2005-11-14 Roman Kennke + + * javax/swing/text/BoxView.java + (paint): Only paint child if it is inside the current clip. + +2005-11-14 Roman Kennke + + * javax/swing/AbstractButton.java + (setEnabled): Also set focusable flag on the button when the enabled + property changes. + +2005-11-14 Roman Kennke + + * javax/swing/plaf/basic/BasicProgressBarUI.java + (boxRect): New protected field. + (PropertyChangeHandler.propertyChange): Fixed typo in 'indeterminate'. + Only start animation when progressBar is actually showing. Removed + repaint call. + (AncestorHandler): New inner class. Helps starting/stopping the + animation when progressBar becomes showing/hidden. + (ComponentHandler): New inner class. Recalculates box sizes for + indeterminate progress bars when the size of the progress bar + changes. + (boxRect): New protected field. + (boxDependent): New transient field. + (boxIndependent): New transient field. + (incr): New transient field. + (ancestorListener): New private field. + (componentListener): New private field. + (getBox): Fixed calculation of the indeterminate progress bar box + to match the JDK behaviour. + (getMaximumSize): Implemented the maximumSize for progressBars. + (getMinimumSize): Implemented the minimumSize for progressBars. + (getPreferredInnerHorizontal): Implemented correctly. + (getPreferredInnerVertical): Implemented correctly. + (getPreferredSize): Implemented correctly using the getPreferredXXX() + helper methods. + (paintDeterminate): Fixed painting to better match the JDK behaviour. + (paintIndeterminate): Fixed painting to better match the JDK behaviour. + (paintString): Implemented 'half-dark-half-light' painted text. + (installListeners): Install new listeners. + (uninstallListeners): Uninstall new listeners. + * javax/swing/plaf/basic/MetalProgressBarUI.java + (paintDeterminate): New method. + (paintIndeterminate): New method. + +2005-11-14 Roman Kennke + + * examples/gnu/classpath/examples/swing/Demo.java + (static_initializer): Set the L&F and theme explicitly for the + default option, because JDK1.4 and JDK1.5 have different defaults. + (mkMenuBar): For the slider demo, trigger the new SliderDemo + class. Added ProgressBarDemo to menu. + (mkSliders): Removed obsolete slider demo. + (mkButtonBar): Added ProgressBar demo. + * examples/gnu/classpath/examples/swing/ProgressBarDemo.java: + New file. Demonstrates the JProgressBar. + +2005-11-13 Archie Cobbs + + * vm/reference/gnu/classpath/VMStackWalker.java (getClassLoader()): + added to fix an infinite loop bug. + * NEWS: note VM interface change. + +2005-11-13 Ito Kazumitsu + + Fixes bug #23008 + * gnu/java/nio/charset/UTF_16Decoder.java + MAYBE_BIG_ENDIAN, MAYBE_LITTLE_ENDIAN: New constants representing + such endianness which is similar to UNKNOWN_ENDIAN but defaults + to big/little endian without a byte order mark. + (decodeLoop): Handle MAYBE_BIG_ENDIAN and MAYBE_LITTLE_ENDIAN. + * gnu/java/nio/charset/UnicodeLittle.java + (newDecoder): Set the endianness to MAYBE_LITTLE_ENDIAN. + +2005-11-13 Audrius Meskauskas + + PR 24733 + * javax/swing/TransferHandler.java (getClipboard): Rewritten. + +2005-11-13 Wolfgang Baer + + * javax/print/attribute/HashDocAttributeSet.java, + * javax/print/attribute/HashPrintJobAttributeSet.java, + * javax/print/attribute/HashPrintRequestAttributeSet.java, + * javax/print/attribute/HashPrintServiceAttributeSet.java, + Added class api docs and enhanced method api docs. + +2005-11-13 Tom Tromey + + * native/jni/midi-dssi/.cvsignore: Updated. + * native/jni/midi-alsa/.cvsignore: New file. + * lib/.cvsignore: Updated. + +2005-11-13 Tom Tromey + + * javax/sound/sampled/AudioFileFormat.java: New file. + * javax/sound/sampled/AudioFormat.java: New file. + * javax/sound/sampled/AudioInputStream.java: New file. + * javax/sound/sampled/AudioPermission.java: New file. + * javax/sound/sampled/AudioSystem.java: New file. + * javax/sound/sampled/BooleanControl.java: New file. + * javax/sound/sampled/Clip.java: New file. + * javax/sound/sampled/CompoundControl.java: New file. + * javax/sound/sampled/Control.java: New file. + * javax/sound/sampled/DataLine.java: New file. + * javax/sound/sampled/EnumControl.java: New file. + * javax/sound/sampled/FloatControl.java: New file. + * javax/sound/sampled/LineEvent.java: New file. + * javax/sound/sampled/Line.java: New file. + * javax/sound/sampled/LineListener.java: New file. + * javax/sound/sampled/LineUnavailableException.java: New file. + * javax/sound/sampled/Mixer.java: New file. + * javax/sound/sampled/Port.java: New file. + * javax/sound/sampled/ReverbType.java: New file. + * javax/sound/sampled/SourceDataLine.java: New file. + * javax/sound/sampled/spi/AudioFileReader.java: New file. + * javax/sound/sampled/spi/AudioFileWriter.java: New file. + * javax/sound/sampled/spi/FormatConversionProvider.java: New file. + * javax/sound/sampled/spi/MixerProvider.java: New file. + * javax/sound/sampled/TargetDataLine.java: New file. + * javax/sound/sampled/UnsupportedAudioFileException.java: New file. + +2005-11-13 Wolfgang Baer + + * javax/print/attribute/EnumSyntax.java: + API docs added and enhanced for class and methods. + (readResolve): New method. + +2005-11-13 Wolfgang Baer + + * javax/print/attribute/Attribute.java, + javax/print/attribute/AttributeSet.java, + javax/print/attribute/DocAttribute.java, + javax/print/attribute/DocAttributeSet.java, + javax/print/attribute/PrintJobAttribute.java, + javax/print/attribute/PrintJobAttributeSet.java, + javax/print/attribute/PrintRequestAttribute.java, + javax/print/attribute/PrintRequestAttributeSet.java, + javax/print/attribute/PrintServiceAttribute.java, + javax/print/attribute/PrintServiceAttributeSet.java, + javax/print/attribute/SupportedValuesAttribute.java, + javax/print/attribute/UnmodifiableSetException.java: + Added api documentation to class and method definitions. + * javax/print/attribute/package.html: Included a package description. + +2005-11-13 Audrius Meskauskas + + * gnu/CORBA/Interceptor/gnuIorInfo.java (state): Made public. + * gnu/CORBA/Interceptor/gnuServerRequestInfo.java + (adapter_name, orb_id, server_id): New methods. + * org/omg/PortableInterceptor/IORInfoOperations.java + (state): New method. + * org/omg/PortableInterceptor/ServerRequestInfoOperations.java + (adapter_name, orb_id, server_id): New methods. + +2005-11-13 Audrius Meskauskas + + PR 24749 + * javax/swing/plaf/basic/BasicTextUI.java (installDefaults): + Call setSelectionColor. + +2005-11-12 Wolfgang Baer + + * java/io/ObjectInputStream.java + (processResolution): Pass Error, RuntimeException and + ObjectStreamException through to the caller. + (readObject): Documentation update. + +2005-11-11 Mark Wielaard + Anthony Green + + * java/util/Properties.java (load): Short-circuit parsing when key or + value doesn't contain escape character. Use StringBuilder instead of + StringBuffer. + (store): Use StringBuilder instead of StringBuffer. + (formatForOutput): Likewise. + +2005-11-11 Lillian Angel + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (getMinimumDividerLocation): Fixed to use the minimum size + of the correct component. Also, removed call to getAvailableSize, + this is not needed for the minimum location. + +2005-11-11 Archie Cobbs + + * autogen.sh: Fix broken libtool version detection on FreeBSD. + +2005-11-11 Lillian Angel + + * java/awt/Container.java + (LightweightDispatcher.acquireComponentForMouseEvent): If the + event is not being dispatched, the pressCount should be reset. + +2005-11-11 Mark Wielaard + + * javax/swing/text/FieldView.java (getPreferredSpan): Chain + BadLocationException when throwing assertion. + +2005-11-11 Mark Wielaard + + Reported by john.zigman@anu.edu.au as bug #24608. + * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in + destination ByteBuffer when it doesn't have an array instead of len + bytes. + +2005-11-11 Audrius Meskauskas + + * org/omg/PortableInterceptor/IORInterceptor_3_0.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java, + org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java: New files. + * gnu/CORBA/Interceptor/IORInterceptors.java, + gnu/CORBA/Interceptor/gnuIorInfo.java, + gnu/CORBA/OrbRestricted.java, + gnu/CORBA/Poa/AOM.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuPOAManager.java, + org/omg/PortableInterceptor/IORInfoOperations.java, + org/omg/PortableInterceptor/IORInterceptorOperations.java, + org/omg/PortableInterceptor/ORBInitInfoOperations.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: + Rewritten to support the IORInterceptor_3_0. + +2005-11-10 Lillian Angel + + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (paintFocus): Centered border around rectangle. It seemed + a bit offset and too small at times. + +2005-11-10 Roman Kennke + + * javax/swing/plaf/basic/BasicListUI.java + (valueChanged): Repaint list when selection changed. + (updateLayoutState): Reworked to correctly respect fixed cell sizes. + (installListeners): Create component listener before adding it. + (paint): Optimized to only draw the cells in the clip. + +2005-11-10 Anthony Balkissoon + + * javax/swing/JComponent.java: + (processKeyEvent): Reworked this method to improve performance. Return + early if the event has already been handled. Don't stop climbing when + we hit a JInternalFrame, only stop at Applets or Windows (this fixes + PR 24781). Don't check WHEN_IN_FOCUSED_WINDOW bindings if there is no + top-level container present. If there is a top-level container, pass + it to KeyboardManager.processKeyStroke rather than the JComponent that + actually received the event, to save time in finding the top-level + container within KeyboardManager. + * javax/swing/KeyboardManager.java: + (findTopLevel): Changed parameter from JComponent to Component to allow + generality and to allow passing in of already-determined top-level + containers to save time. + (processKeyStroke): Likewise. + +2005-11-10 Mark Wielaard + + Fixes bug #24731 reported by freebeans@xqb.biglobe.ne.jp. + * java/awt/ScrollPane.java (addNotify): Return immediately when peer + already set. + +2005-11-10 Roman Kennke + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installListeners): Also install focusListener on the listBox. + (uninstallListeners): Also uninstall focusListener from the listBox. + (setPopupVisible): Request focus on the listbox when making the + popup visible. + +2005-11-10 Roman Kennke + + * javax/swing/JComponent.java + (paintingTile): New field. + (isPaintingTile): Implemented. + (paintChildren): Optimized painting of overlapping children. + +2005-11-10 Mark Wielaard + + Reported by Petteri bug #24768 and bug #24769. + * configure.ac (dssi): Change accidental alsa reference to dssi. + * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_SOURCES): Add + dssi_data.h. + +2005-11-10 Audrius Meskauskas + + * gnu/CORBA/OrbFunctional.java (use_properties, set_parameters): + Rewritten to support orb and server ids. + * org/omg/CORBA/ORB.java, + org/omg/PortableInterceptor/ObjectReferenceTemplate.java: + Documentation update. + +2005-11-09 Anthony Balkissoon + + * javax/swing/JComponent.java: + (addNotify): Unregister all WHEN_IN_FOCUSED_WINDOW bindings for this + JComponent and then register them with its (potentially) new top level + ancestor. Removed unncessary code that copied regular (WHEN_FOCUSED) + key bindings up the parent hierarchy. + +2005-11-09 Roman Kennke + + Reported by Friedjof Siebert + * java/util/WeakHashMap.java + (WeakEntrySet.Iterator.checkMod): Improved exception message. + (internalRemove): Removed redundant reads of buckets[slot] and + prev.next and added checks to ensure that no null pointer + exception may occur and that this can be proved automatically. + +2005-11-09 Roman Kennke + + Reported by Friedjof Siebert + * java/io/PrintWriter.java + (line_separator): Added default value for property to ensure + absence of null pointer exception even if property is not set. + +2005-11-09 Roman Kennke + + * java/io/InputStreamReader.java + (InputStreamReader(InputStream, CharsetDecoder)): Catch the case + when the CharsetDecoder returns a null charset and handle it like + US-ASCII. + +2005-11-09 Mark Wielaard + + Reported by Petteri Räty + * INSTALL: Remove double --enable-xmlj entry. + +2005-11-09 Anthony Balkissoon + + * javax/swing/JComponent.java: + (processKeyEvent): Use local variables for boolean pressed and for + the KeyStroke. Implemented the code for WHEN_IN_FOCUSED_WINDOW + bindings. + (updateComponentInputMap): Implemented and fixed typo in docs. + * javax/swing/KeyboardManager.java: New class. + +2005-11-09 Lillian Angel + + * javax/swing/JTabbedPane.java + (setComponent): Tab should be inserted with a title, and removed from + the vector once set. + (removeTabAt): Tab should only be removed from vector. + remove(Component) is called to remove the tab from the JTabbedPane. + (remove): Added call to the component. This function should remove + the component as well as the tab. + +2005-11-09 Lillian Angel + + * javax/swing/JTabbedPane.java + (setComponent): No need to remove and add tab. + (remove): Fixed API documentation. + (remove): Fixed API documentation. Re-implemented according to API. + +2005-11-09 Mark Wielaard + + * doc/www.gnu.org/cp-tools/cp-tools.wml: Add gjdoc download link. + +2005-11-09 Chris Burdess + + * gnu/xml/aelfred2/SAXDriver.java: Ensure that absolutize does not + throw exception when custom entity resolver is set. + +2005-11-09 Anthony Balkissoon + + * java/awt/event/InvocationEvent.java: + (exception): Replaced this field (removed yesterday) because it is + needed for serialization. + (dispatch): Save thrown exception. + (getException): Directly return exception, no need to cast throwable. + +2005-11-09 Anthony Balkissoon + + * javax/swing/ComponentInputMap.java: + (put): Notify the component. + (clear): Likewise. + (remove): Likewise. + (setParent): Notify the parent. Improved the exception messages. + * javax/swing/JComponent.java: + (inputMap_whenInFocusedWindow): Changed type from InputMap to + ComponentInputMap. + (setInputMap): If we're setting the WHEN_IN_FOCUSED_WINDOW map and + the parameter is not a ComponentInputMap or is not associated with + the same Component, throw an IllegalArgumentException. + (getInputMap): Create a new ComponentInputMap instead of a new + InputMap when the WHEN_IN_FOCUSED_WINDOW map doesn't yet exist. + (udpateComponentInputMap): New method. This is the method that + ComponentInputMap calls when it is updated. Not yet completely + implemented. + +2005-11-09 Audrius Meskauskas + + * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java: + New files. + +2005-11-09 Audrius Meskauskas + + * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java: + New files. + +2005-11-09 Lillian Angel + + * javax/swing/JTabbedPane.java + (setComponent): Added check to prevent infinite loops. + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + (createLayoutManager): Should call super here, so the layout + is set properly depending on the layout mode. + +2005-11-09 David Gilbert + + * examples/gnu/classpath/examples/swing/Demo.java + (mkMenuBar): added file chooser item, + (mkButtonBar): split buttons into two rows, added 'FileChooser' button, + * examples/gnu/classpath/examples/swing/FileChooserDemo.java: New file. + +2005-11-09 Audrius Meskauskas + + * org/omg/PortableInterceptor/ObjectReferenceFactory.java: Do not + inherit from org.omg.CORBA.Object. + +2005-11-09 Roman Kennke + + * javax/swing/plaf/ComponentUI.java + (update): Restore the foreground color after filling the background. + +2005-11-09 Roman Kennke + + * javax/swing/JComponent.java + (paint): Fetch a new componentGraphics here instead of + paintComponent. + (paintComponent): Don't fetch the componentGraphics here. This + must be done in paint. + +2005-11-09 David Gilbert + + * javax/swing/JList.java + (setModel): throw IllegalArgumentException for null model. + +2005-11-09 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (getVisibleEditorRect): Correctly calculate the inner rectangle. + +2005-11-09 Christian Thalinger + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (initStaticState): Register global variable glyphVector_class + as global reference. + +2005-11-08 Audrius Meskauskas + + * javax/swing/text/DefaultCaret.java (BlinkTimerListener): + Added ignoreNextEvent flag and its handling. + (blinkListener): New field. (initBlinkTimer): + Initialise blinkListener field. + (setDot, moveDot): Call appear() instead of repaint(). + (appear): new method. + +2005-11-08 Lillian Angel + + * examples/gnu/classpath/examples/swing/GNULookAndFeel.java + (getDefaults): Added icons for checkboxes and radiobutton. + (CheckBoxIcon): New class, implemented. + (RadioButtonIcon): New class, implemented. + +2005-11-08 Tom Tromey + + * gnu/classpath/SystemProperties.java: Don't mention + gnu.java.awt.FocusManager. + +2005-11-08 Roman Kennke + + * javax/swing/text/CompositeView.java + (modelToView): Adjust the allocation to the child allocation before + forwarding to the child's modelToView. Replaced AssertionError by + BadLocationException, because that is the right thing to do here. + +2005-11-08 Roman Kennke + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (GlassPaneDispatcher.acquireComponentForMouseEvent): Use the + frame's layeredPane as parent instead of the content pane + when searching for the event target. This way a possibly set menubar + is also included in the search. + +2005-11-08 Lillian Angel + + * java/awt/Window.java + (setLocationRelativeTo): Changed x and y to use getLocationOnScreen + and moved setLocation call outside of check. + * javax/swing/JOptionPane.java + (createDialog): Moved pack call and setLocationRelativeTo call here + and removed these calls from all other functions that call + createDialog. Also, removed FIXME, since call to setLocationRelativeTo + fixes this. + (showConfirmDialog): Removed pack and setLocationRelativeTo calls. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showOptionDialog): Likewise. + * javax/swing/JTree.java + (JTree): Should not use a shared instance of the selection model. It + is a problem when one application has two different trees. + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRow): Changed parameter to be the focus of the tree. + (updateCurrentVisiblePath): Adjusted root path incase the root is hidden. + +2005-11-08 Anthony Balkissoon + + * java/awt/event/InvocationEvent.java: + (exception): Removed unnecessary field. + (dispatch): Removed reference to field exception. + (getException): If throwable is an Exception, return a casted version, + otherwise return null. + (getThrowable): Improved docs. + +2005-11-08 Anthony Balkissoon + + * javax/swing/SwingUtilities.java: + (replaceUIActionMap): Stop climbing hierarchy once we've found an + ActionMapUIResource, don't keep looking until parent is null. No need + to check if child is null. + (replaceUIInputMap): Use a local variable for the parent rather than + 3 calls to get parent. No need to check if child is null. + * javax/swing/plaf/basic/BasicListUI.java: + * javax/swing/plaf/basic/BasicTableUI.java: + * javax/swing/plaf/basic/BasicTreeUI.java: + (installKeyboardActions): UI ActionMap should be of type + ActionMapUIResource, not just ActionMap. + +2005-11-08 Anthony Balkissoon + + * javax/swing/text/DefaultStyledDocument.java: + (ElementBuffer.clone): New API method. + +2005-11-08 Anthony Balkissoon + + * java/lang/String.java: + (replace): Use a StringBuilder instead of a StringBuffer because this + is faster and we don't need thread-safety. + +2005-11-08 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Initialize background field correctly. + +2005-11-08 Roman Kennke + + * java/awt/BorderLayout.java + (getAlignmentX): Return 0.5F here. + (getAlignmentY): Return 0.5F here. + +2005-11-08 Roman Kennke + + * javax/swing/JRootPane.java + (RootLayout.glassPaneBounds): New field. + (RootLayout.layeredPaneBounds): New field. + (RootLayout.contentPaneBounds): New field. + (RootLayout.menuBarBounds): New field. + (RootLayout.prefSize): New field. + (getLayoutAlignmentX): Return 0.0F here. + (getLayoutAlignmentY): Return 0.0F here. + (invalidateLayout): Throw away cached layout information. + (layoutContainer): Simplified and fixed the layout. Use cache if + possible. + (preferredLayoutSize): Simplified and fixed the layout. Use cache if + possible. + +2005-11-08 Roman Kennke + + * javax/swing/JComponent.java + (alignmentX): Changed default value to -1.0. + (alignmentY): Changed default value to -1.0. + (getAlignmentX): If no value has been set, refer to the superclass + behaviour. + (getAlignmentY): If no value has been set, refer to the superclass + behaviour. + (setAlignmentX): Catch invalid values and adjust them to the nearest + valid value. + (setAlignmentY): Catch invalid values and adjust them to the nearest + valid value. + +2005-11-08 Roman Kennke + + * java/awt/Container.java + (getAlignmentX): Refer to the layout managers layoutAlignmentX + property if layout manager is a LayoutManager2. + (getAlignmentY): Refer to the layout managers layoutAlignmentY + property if layout manager is a LayoutManager2. + +2005-11-08 Roman Kennke + + * javax/swing/JLayeredPane.java + (layerToRange): Return empty array for unknown layer instead of + throwing an exception. + +2005-11-08 Roman Kennke + + * java/awt/Component.java + (invalidate): Don't invalidate invalid parents. + +2005-11-08 Audrius Meskauskas + + * javax/swing/JComponent.java (setMaximumSize, + setMinimumSize, setPreferredSize): Clone the passed parameter. + +2005-11-07 Roman Kennke + + * java/awt/Component.java + (invalidate): Invalidate up the whole tree, regardless if some + parent is already marked invalid. This is needed in some situations + for layout managers to throw away their cache. + +2005-11-07 Lillian Angel + + * javax/swing/JTable.java + (tableChanged): Cleared selection if there are no more rows. Prevents a + NPE. + * javax/swing/JTree.java + (scrollRectToVisible): No need to set the selection path here. + (expandPath): Sometimes it is required to set the state of a leaf, + especially if the leaf is the root node. + * javax/swing/plaf/basic/BasicTreeUI.java + (getRowCount): Added call to updateCurrentVisiblePath, so the + correct value is always returned. + (paint): No need to paint if the visible path is null. + (propertyChange): Implemented. + (paintRecursive): Added check for visibility of child. If it is + not visible because it was explicitly set to be hidden, no lines + should be drawn. + (paintControlIcons): Likewise. + (getPreviousNode): Fixed check to include root. + (paintRow): Set focus to be true (this will change in the future). + (updateCurrentVisiblePath): Fixed check to call getNextNode if + the current node is a leaf (more efficent than calling getNextSibling). + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Changed to draw border if node has focus. + +2005-11-07 Ito Kazumitsu + + Fixes bug #24467 + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c + (Java_gnu_java_nio_charset_iconv_IconvDecoder_decode): + Do not check errno == EINVAL, which is a normal case. + +2005-11-07 Ito Kazumitsu + + Fixes bug #22968 + * gnu/java/nio/charset/iconv/IconvProvider.java + (IconvProvider): Declare the constructor public. + +2005-11-07 Roman Kennke + + * javax/swing/JApplet.java + (initStageDone): Removed unnecessary field. + (JApplet): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JDialog.java + (initStageDone): Removed unnecessary field. + (dialogInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JFrame.java + (initStageDone): Removed unnecessary field. + (frameInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JWindow.java + (initStageDone): Removed unnecessary field. + (windowInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JInternalFrame.java + (initStageDone): Removed unnecessary field. + (JInternalFrame): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + (paramString): Return superclass paramstring. + (reshape): Call revalidate() instead of invalidate() and doLayout(). + (setUI): Temporarily go into init mode, so that the UI can + manipulate the frame directly. + (updateUI): Likewise. + +2005-11-07 Anthony Balkissoon + + * java/lang/String.java: + (replace): Use a StringBuffer instead of String. Only search for new + occurrences of the target that occur AFTER the text just inserted, so + if the replacement string contains the target string we won't go into + an infinite loop. Use local variables instead of repeated calls to + length() and toString(). + +2005-11-07 Christian Thalinger + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: + Use long for 64-bit architectures. + +2005-11-07 Anthony Balkissoon + + * java/util/Arrays.java: + (toString(long[])): New API method. + (toString(int[])): Likewise. + (toString(short[])): Likewise. + (toString(char[])): Likewise. + (toString(byte[])): Likewise. + (toString(boolean[])): Likewise. + (toString(float[])): Likewise. + (toString(double[])): Likewise. + (toString(Object[])): Likewise. + +2005-11-07 Anthony Balkissoon + + * java/awt/event/InvocationEvent.java: + (throwable): New field. + (getThrowable): New API method. + (dispatch()): Catch Throwable, not Exception. Save the Throwable. If + it is an Exception, save the Exception. + +2005-11-07 Lillian Angel + + * javax/swing/Popup.java + (show): Set layout for panel. Otherwise, contents are + displayed at an arbitrary location. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredMenuItemSize): Took into account insets. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintFocus): Don't paint focus if not enabled. + +2005-11-07 Anthony Balkissoon + + * java/lang/String.java: + (contains): New API method. + (replace): New API method. + +2005-11-07 Anthony Balkissoon + + * java/lang/Boolean.java: + (compareTo(Boolean)): New API method. + +2005-11-07 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): update local reference to editor component always, + (getDisplaySize): implement new calculation for editable combo boxes, + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (editorBorderInsets): initialise with correct value, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (getMinimumSize): implemented different calculation for editable combo + boxes. + +2005-11-07 Lillian Angel + + * javax/swing/JOptionPane.java + (showConfirmDialog): Added call to set the location of the + dialog relative to its parent. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showOptionDialog): Likewise. + +2005-11-07 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredMenuItemSize): Adjusted width of menu item with + arrow icon. If the menu item can fit in the current width of + the top level menu, then the width of the menu item is set to + the width of the popup menu. Otherwise, the width of the + menu item is adjusted so that the width of the popup menu + is increased. + +2005-11-07 Mark Wielaard + + * configure.ac: Don't check or replace FREETYPE2. + * native/jni/gtk-peer/Makefile.am: Remove FREETYPE2_LIBS and + FREETYPE2_CFLAGS. + +2005-11-07 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (MetalComboBoxEditor): don't create new editor. + +2005-11-07 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxEditor.java: API docs plus + (BasicComboBoxEditor): set border to null and columns to 9, + (addActionListener): implemented, + (removeActionListener): implemented. + +2005-11-07 Audrius Meskauskas + + * gnu/CORBA/IOR.java (equals, hasCode): Compare port number as well + and do not crash on IOR.Internet==null. + +2005-11-06 Mark Wielaard + + * javax/swing/Timer.java (Waker.run): Test and set running while + holding queueLock. + (start): Set running to true. + (stop): Unconditionally notify queueLock. + (queueEvent): Only called when queueLock already held. + +2005-11-06 Andreas Tobler + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setGradientUnlocked): Update + debug output to reflect actual situation. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): + Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_drawPixels): Adjust + formatting. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetMatrixUnlocked): + Update debug output to reflect actual situation. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetRGBAColorUnlocked): + Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoCurveTo): Adjust + formatting. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRelCurveTo): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRectangle): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked): + Update debug output to reflect actual situation. + +2005-11-06 Mark Wielaard + + * java/awt/image/AreaAveragingScaleFilter.java: Add FIXME + * java/awt/Image.java (getScaledInstance): In case of + SCALE_AREA_AVERAGING use AreaAveragingScaleFilter. + +2005-11-06 Wolfgang Baer + + * javax/print/event/PrintEvent.java, + * javax/print/event/PrintJobAdapter.java, + * javax/print/event/PrintJobAttributeEvent.java, + * javax/print/event/PrintJobAttributeListener.java, + * javax/print/event/PrintJobEvent.java, + * javax/print/event/PrintJobListener.java, + * javax/print/event/PrintServiceAttributeEvent.java, + * javax/print/event/PrintServiceAttributeListener.java, + * javax/print/event/package.html: Added API docs all over. + +2005-11-06 Wolfgang Baer + + * java/io/File.java + (getParent): If pathname is "" return null. + (toURI): Also append separatorChar if path equals "". + (getAbsolutePath): If path equals "" only return the value + of the user.dir system property. + +2005-11-06 Chris Burdess + + * gnu/xml/stream/XMLStreamWriterImpl.java: Ensure that generated + prefixes do not accidentally clash, and provide documentation for + new virtual methods. createPrefix (new method) signature changed to + provide namespace URI for the benefit of subclasses. + +2005-11-06 Chris Burdess + + * gnu/xml/transform/StreamSerializer.java: Avoid undeclared apos + entity when output mode is HTML. + +2005-11-06 Audrius Meskauskas + + * gnu/CORBA/IOR.java (equals, hashCode): New metods. + * gnu/CORBA/SimpleDelegate.java (is_equivalent): Compare IORs when applicable. + +2005-11-06 Audrius Meskauskas + + * gnu/CORBA/Minor.java (IOR_missing): New minor code. + * gnu/CORBA/NamingService/NameParser.java (corbaloc): Implemented + file//, ftp:// and http:// support. + * gnu/javax/rmi/CORBA/UtilDelegateImpl.java (mapSystemException): + Set the cause directly. + * org/omg/CORBA/DATA_CONVERSION.java, + org/omg/CORBA/ORB.java (string_to_object): Documentation update. + +2005-11-06 Chris Burdess + + * gnu/xml/stream/XMLStreamWriterImpl.java: Fixed handling of + namespaces when isPrefixDefaulting is set. + +2005-11-04 Anthony Balkissoon + + * javax/swing/text/DefaultStyledDocument.java: Reformatted. + +2005-11-04 Lillian Angel + + * java/awt/Window.java + (setLocationRelativeTo): Implemented case when + component is not null. + +2005-11-04 Tom Tromey + + * java/awt/image/BufferedImage.java (BufferedImage): Implement + Transparency. + (getTransparency): New method. + +2005-11-04 Audrius Meskauskas + + * gnu/CORBA/SocketRepository.java (sockets): Changed type to + HashMap. (put_socket, get_socket, gc): + Always synchronize on 'sockets'. + +2005-11-04 Mark Wielaard + + * configure.ac: Set version to 0.20-pre. + +2005-11-04 Anthony Balkissoon + + * javax/swing/text/StyleConstants.java: + (Family): New API field. + (Size): New API field. + +2005-11-04 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): Changed to use isTopLevelMenu rather than checking + instance of parent. + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (popupMenuWillBecomeInvisible): Added check to prevent NPE. + * javax/swing/Popup.java: + Added new private field. + (LightweightPopup): Initialized layeredPane. + (show): Removed unneeded code. + (hide): Likewise. + +2005-11-04 Roman Kennke + + * javax/swing/table/DefaultTableCellRenderer.java + (updateUI): Set the background and foreground color fields to null + here so that installing the LabelUI does not interfere with our + custom set colors. + (getTableCellRendererComponent): Only set UI focus colors when + cell is actually editable. Added optimization for the case + when background is equal to table background. + +2005-11-04 Roman Kennke + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Call super.setBackground() or + super.setForeground() to avoid overriding custom set background or + foreground colors. Set the UI focus colors when focused. + +2005-11-04 Roman Kennke + + * examples/gnu/classpath/examples/swing/TextFieldDemo.java: New file. + Demonstrates the JTextFields in various states. + * examples/gnu/classpath/examples/swing/Demo.java: Replaced the + old textfield demo with the new one. + +2005-11-04 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (getMinimumSize): New method. + * javax/swing/text/FieldView.java + (getPreferredSpan): Added assert that replaces a 'should never happen' + comment. + +2005-11-04 Roman Kennke + + * javax/swing/SizeRequirements.java + (getTiledSizeRequirements): Added check for overflows. + (adjustGreater): Fixed overflow handling through usage of long + instead of int. + +2005-11-03 Roman Kennke + + * javax/swing/text/DefaultCaret.java + (positionCaret): Call setDot instead of moveDot. + * javax/swing/text/PlainView.java + (viewToModel): Exclude the final newline character from calculation. + +2005-11-03 Mark Wielaard + + * doc/www.gnu.org/announce/20051102.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add 0.19 release announcement. + * doc/www.gnu.org/downloads/downloads.wml: Add 0.19. + +2005-11-03 Roman Kennke + + * javax/swing/table/DefaultTableCellRenderer.java + (background): New field. + (foreground): New field. + (setBackground): Store the color that is set here. + (setForeground): Store the color that is set here. + (getTableCellRendererComponent): For the unselected color, set the + value of the foreground or background fields if not null, otherwise + the value of the according table properties. Don't change + the color in the focused clause. + +2005-11-03 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (mousePressed): If the control icon is clicked, the + path selected should not be changed. + (paintRecursively): Moved call to getChildCount before + loop. + (paintRow): Added a check to prevent NPE. + (updateCurrentVisiblePath): Made this slightly more efficent. + Instead of checking each path, we can check the siblings if the + current node is not expanded. + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Fixed indentation, and changed + to set the background color if it is not an instance of + ColorUIResource. Prevents overriding a user-set color. + +2005-11-03 Anthony Balkissoon + + * javax/swing/text/WrappedPlainView.java: Fixed some > 80 chars lines. + (drawSelectedText): Fixed startOffset for call to + Utilities.drawTabbedText to make sure tabs are properly expanded. + (drawUnselectedText): Likewise. + (getMinimumSpan): New API method. + (getMaximumSpan): New API method. + (setSize): Call preferenceChanged if the width has changed. + (WrappedLine.determineNumLines): Move numLines=0 to the top in case + the early return happens, numLines will still be correct. + (WrappedLine.updateDamage): New implementation method called by + insertUpdate and removeUpdate to repaint the appropriate part of the + JTextArea. + (WrappedLine.insertUpdate): New method. + (WrappedLine.removeUpdate): New method. + +2005-11-03 Lillian Angel + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Fixed so that the label is + painted with the correct background color. Does not depend on + type of border. Removed this code. + +2005-11-03 Anthony Balkissoon + + * javax/swing/text/JTextComponent.java: + (select): The end index cannot be smaller than the start index, changed + Math.max(end, 0) to Math.max(end, start). + * javax/swing/text/WrappedPlainView.java: + (selectionStart): New package private field. + (selectionEnd): Likewise. + (drawLine): Implemented to call drawUnselectedText and drawSelectedText + on the appropriate parts of the line. Before it just drew the whole + line with drawUnselectedText. + (paint): Store the start and end of the selection. + (WrappedLine.paint): Set the selected color to Color.WHITE. + +2005-11-03 Lillian Angel + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Should only draw focus if the border + is not an empty border. + +2005-11-03 Audrius Meskauskas + + PR swing/24650 + * javax/swing/text/PlainView.java (viewToModel)): + The end of line symbol (0xA), if being the last member in the + obtained text, should not be counted. + +2005-11-03 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Changed field to be the gap between the different + menu's instead. defaultTextArrowGap is not needed. + (getPreferredMenuItemSize): Adjusted preferred size of + Menu Item with an arrowIcon to be the size of the + popupMenu. If its parent is not a popupMenu, then + it is a new Menu on a MenuBar. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintFocus): Height of focus border should not be + adjusted. It was being cutoff. + +2005-11-03 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (RootView.getNextVisualPositionFrom): New method. + +2005-11-03 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (AttributeUndoableEdit): New inner class. + (StyleChangeListener): New inner class. + (styleChangeListener): New field. + (addStyle): Add styleChangeListener to new style. + (getStyleNames): New method. + (styleChanged): New method. + (insert): New method. + (create): New method. + +2005-11-03 Roman Kennke + + * javax/swing/text/DefaultTextUI.java: New file. + +2005-11-03 Roman Kennke + + * javax/swing/text/DefaultCaret.java + (mouseDragged): Call moveCaret. + (mouseClicked): Made TODO comment more precise. + (mouseExited): Replaced TODO comment with Nothing to do comment. + (mousePressed): Call positionCaret. + (moveCaret): Implemented. + (positionCaret): Implemented. + (moveDot): Call adjustVisibility. + (setDot): Call adjustVisibility. + (adjustVisibility): New method. + +2005-11-03 Roman Kennke + + * javax/swing/text/Utilities.java + (getPositionAbove): New utility method. + (getPositionBelow): New utility method. + (getParagraphElement): Special case for StyledDocuments. + * javax/swing/text/View.java + (getNextVisualPositionFrom): New abstract method. + * javax/swing/text/ComponentView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/CompositeView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/FlowView.java + (LogicalView.getNextVisualPositionFrom): New method. + * javax/swing/text/GlyphView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/IconView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/PlainView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/WrappedPlainView.java + (WrappedLine.getNextVisualPositionFrom): New method. + +2005-11-03 Roman Kennke + + * javax/swing/text/DefaultCaret.java + (BlinkTimerListener): New inner class. Listens for when the + blink timer fires and updates the visible flag accordingly. + (visible): Default value for visible should be false. + (blinkTimer): New field. + (Caret): New constructor. + (focusGained): Make the caret visible. + (focusLost): Make caret invisible if the focus lost is permanent. + (deinstall): Deinstall the blink timer. + (repaint): Call getComponent() instead of directly accessing the + textComponent field. + (paint): Call getComponent() instead of directly accessing the + textComponent field. Added an assert for the 'this should never + happen' comment. Update the caret rectangle if damage hasn't been + called before. + (setBlinkRate): Set the blink rate in the timer if there is already + a timer present. + (setVisible): Call damage on the caret's location. Start/Stop blink + timer. + (damage): New method. Updates the caret's bounds. + * javax/swing/text/JTextComponent.java + (CaretBlinkTimer): Removed unneeded inner class. + (caretBlinkTimer): Removed unneeded field. + (JTextComponent): Removed initialization of blink timer. + (setEditable): Removed starting of blink timer. + (setCaret): Likewise. + * javax/swing/text/Utilities.java + (getParagraphElement): New utility method. + +2005-11-02 Mark Wielaard + + * gnu/java/awt/peer/gtk/GdkGraphics.java (initComponentGraphics): Set + color to BLACK when getForeground() returns null. + (initComponentGraphicsUnlocked): Likewise. + +2005-11-02 Mark Wielaard + + * javax/swing/Timer.java (Waker.run): Synchronize on queueLock and use + queueLock.wait(), not Thread.sleep(). + (start): Synchronize on queueLock and check whether waker is null. + (stop): Synchronize on queueLock and notifyAll(). + +2005-11-02 Mark Wielaard + + * configure.ac: Set version to 0.19. + * NEWS: Add date of release. + +2005-11-02 Roman Kennke + + * java/awt/Dialog.java + (show): Do not call pack() here. + +2005-11-02 Andrew John Hughes + + * AUTHORS: Added myself. + +2005-11-02 Mark Wielaard + + * javax/swing/Timer.java (Waker.run): Only break out when !running. + +2005-11-02 Mark Wielaard + + * javax/swing/UIManager.java (static): Print complete exception. + +2005-11-02 Mark Wielaard + + * lib/Makefile.am: Add typeHiding, unchecked, unused and varargsCast + to ECJ compile warning rule. + +2005-11-02 Guilhem Lavaux + + * lib/copy-vmresources.sh.in: Added definition for top_srcdir. + +2005-11-02 Andreas Tobler + + * NEWS: Mention Qt4 configury for OS-X. + +2005-11-02 Roman Kennke + + * NEWS: Added some news items regarding my Swing work. + +2005-11-02 Roman Kennke + + * javax/swing/JComponent.java + (findOverlapFreeParent): Don't search beyond the components + containing window (important when in a Dialog). + +2005-11-02 Christian Thalinger + + * AUTHORS: Added myself to the cool gang. + +2005-11-02 Anthony Balkissoon + + * javax/swing/text/WrappedPlainView.java: + (calculateBreakPosition): If the component is not valid use it's + preferredSize instead of getBounds(). + +2005-11-02 Lillian Angel + + * java/awt/Dialog.java + (show): pack should always be called before show, so Dialog is + set to the correct size and validated. + +2005-11-02 Christian Thalinger + + * configure.ac: Check for cairo, pangoft2 and freetype2 only + when gtk peers are enabled. + +2005-11-02 Audrius Meskauskas + + * AUTHORS (Stuart Ballard): Address update. + +2005-11-02 Audrius Meskauskas + + * AUTHORS: Added Lillian Angel. + +2005-11-02 Roman Kennke + + * javax/swing/JToolBar.java + (addImpl): Don't call updateUI here. This is really not necessary. + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): Call setRolloverBorders() here in order to + initialize the button borders. + +2005-11-02 Roman Kennke + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (PropertyChangeHandler.propertyChange): Re-setup listeners on + the scrollbars if the scrollbars change. + +2005-11-02 Roman Kennke + + * java/awt/Container.java + (addImpl): Notify registered ContainerListeners even when the + Container is not showing. Notify the listeners directly, not + via the event queue. + +2005-11-02 Roman Kennke + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed the defaults for EditorPane.border, + TextArea.font and TextPane.border. + +2005-11-02 Roman Kennke + + * java/awt/Component.java + (getForeground): Return null as default color, instead of some + system color. + +2005-11-02 Roman Kennke + + * javax/swing/BoxLayout.java + (BoxLayout): Throw AWTError when the axis is invalid. + (minimumLayoutSize): Respect the insets of the container. + (maximumLayoutSize): Likewise. + (invalidateLayout): Throw AWTError if the managed container is + not the same as the parent parameter. + +2005-11-02 Roman Kennke + + * java/awt/Component.java + (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) instead + of (Integer.MAX_VALUE, Integer.MAX_VALUE) as shown by the + Mauve test. + +2005-11-02 Roman Kennke + + * javax/swing/JTable.java + (AccessibleJTable.AccessibleJTableCell): New inner class. + +2005-11-02 David Gilbert + + * javax/swing/filechooser/FileSystemView.java: Added API docs all over, + * javax/swing/filechooser/UnixFileSystemView.java: Likewise. + +2005-11-02 Christian Thalinger + + * java/lang/String.java (String): Added + StringIndexOutOfBoundsException check (overflow) and a message + to the exceptions. + +2005-11-02 David Gilbert + + * NEWS: added entries for javax.swing.plaf.metal.* package and updates + to the gnu.classpath.examples.swing.Demo application, + * AUTHORS: Added my name to bring honour and glory to myself and all + my descendants. + +2005-11-02 Roman Kennke + + * javax/swing/JComponent.java + (AccessibleJComponent.changeSupport): New field. + (AccessibleJComponent.AccessibleJComponent): Initialize changeSupport. + (AccessibleJComponent.addPropertyChangeListener): Implemented this + method. + (AccessibleJComponent.removePropertyChangeListener): Implemented this + method. + (AccessibleJComponent.getAccessibleChildrenCount): Implemented this + method. + (AccessibleJComponent.getAccessibleChild): Implemented this + method. + (AccessibleJComponent.getAccessibleName): Added API comment and + TODO tag. + (AccessibleJComponent.getAccessibleDescription): Added API comment + and TODO tag. + (AccessibleJComponent.getAccessibleRole): Implemented this method. + (AccessibleJComponent.getBorderTitle): Implemented this method. + (AccessibleJComponent.getToolTipText): Implemented this method. + (AccessibleJComponent.getTitledBorderText): Implemented this method. + (AccessibleJComponent.getAccessibleKeyBinding): Added API comment + and TODO tag. + +2005-11-01 Mark Wielaard + + * examples/gnu/classpath/examples/swing/Demo.java (init): Use + JOptionPane to select the laf if not explicitly set. + +2005-11-01 Andrew John Hughes + + * java/io/ObjectInputStream.java: + (parseContent(byte)): Remove weird exception + throwing. + +2005-11-01 Roman Kennke + + * java/awt/Window.java + (show): Don't set size of the window here. + +2005-11-01 Roman Kennke + + * javax/swing/plaf/metal/MetalScrollPaneUI.java + (instance): Removed unnecessary field. + (createUI): Always return a new instance instead of returning a + shared instance. + +2005-11-01 Lillian Angel + + * java/awt/Window.java + (show): If pack is not called before show, the size of the + window is often set to 0. This is now fixed. + +2005-11-01 Roman Kennke + + * javax/swing/JPopupMenu.java + (setVisible): Pack the JPopupMenu before fetching the Popup + instance. Otherwise the PopupFactory has the wrong size for + its size check. + +2005-11-01 Anthony Balkissoon + + * javax/swing/JTable.java: + (JTable(TableModel, TableColumnModel, ListSelectionModel)): Call + updateUI after initializeLocalVars. Manually set the lead selection + indices. + +2005-11-01 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicFileChooserUI.java: + (getApproveButtonText): First use the JFileChooser's approve button + text, but if it is null, then try otherwise. + +2005-11-01 Christian Thalinger + + * vm/reference/java/lang/VMThread.java (sleep): Don't round + ms and pass ns to Object.wait, fixes mauve test. + +2005-11-01 Anthony Balkissoon + + * javax/swing/JFileChooser.java: + (getDialogTitle): Allow return of null. + (getApproveButtonText): Likewise. + (getFileView): Likewise. + (getName): First try using the JFileChooser's FileView, if null, then + pass call to UI. + (getDescription): Likewise. + (getTypeDescription): Likewise. + (getIcon): Likewise. + +2005-11-01 Anthony Balkissoon + + * javax/swing/JTable.java: + (JTable(TableModel, TableColumnModel, ListSelectionModel)): Set the + model before calling initializeLocalVars. + +2005-11-01 Lillian Angel + + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (BasicCheckBoxMenuItem): Moved code to BasicMenuItemUI.installDefaults + (processMouseEvent): Added TODO comment. Not sure about the + correct implementation yet. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Removed MenuItem.checkIcon default. Only + RadioButtonMenuItem's and CheckBoxMenuItem's have checkIcons. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (installDefaults): Fixed to initialized checkIcon. If the menuItem is + not a RadioButtonMenuItem or CheckBoxMenuItem, then checkIcon is null. + Also, fixed defaults to use prefix. + +2005-11-01 Jeroen Frijters + + * java/io/ObjectOutputStream.java + (writeObject): Fixed NPE. + +2005-10-31 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTextAreaUI.java: + (create): Added docs. Create WrappedPlainView instead of PlainView if + the text area has line wrapping turned on. + (propertyChange): New API method. If line wrapping is turned on or off + or if the style of wrapping (character or word) is changed, call + modelChanged(). + * javax/swing/plaf/basic/BasicTextUI.java: + (setView): Call revalidate and repaint after setting the View. + * javax/swing/text/WrappedPlainView.java: + (insertUpdate): Repaint the container. + (removeUpdate): Likewise. + (changedUpdate): Likewise. + +2005-10-31 Anthony Balkissoon + + * javax/swing/text/WrappedPlainView.java: + (viewFactory): New field. + (drawLine): New API method. + (calculateBreakPosition): Update the metrics before calling Utilities + methods. Fixed error in offset argument passed to the Utilities + methods. + (updateMetrics): New implementation method. + (getPreferredSpan): New API method. + (insertUpdate): Likewise. + (removeUpdate): Likewise. + (changedUpdate): Likewise. + (WrappedLineCreator): New class. + (paint): New API method. + (setSize): New API method. + (WrappedLine.paint): Implemented. + (WrappedLine.getPreferredSpan): Don't update the metrics, this is now + done in WrappedPlainView.paint. + (WrappedLine.modelToView): Likewise. + (WrappedLine.viewToModel): Likewise. + +2005-10-31 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getTabbedTextOffset): Adjusted for loop bound down by s.offset and + adjusted array index up by s.offset. This fixes the second part of + PR 24316. Expand tabs, not newlines. Allow the x-position to reach + the end specified position (use < instead of <=). + +2005-10-31 Roman Kennke + + * javax/swing/JTextField.java + (horizontalVisibility): New field. + (JTextField): Initialize horizontalVisibility field. + (getHorizontalVisibility): New method. + +2005-10-31 Audrius Meskauskas + + * gnu/CORBA/SocketRepository.java (not_reusable, gc): New methods. + (sockets): Use hashtable. (get_socket): Rewritten. + +2005-10-31 Roman Kennke + + * javax/swing/JTable.java + (AccessibleJTable.tableChanged): Implemented. + (AccessibleJTable.tableRowsInserted): Implemented. + (AccessibleJTable.tableRowsDeleted): Implemented. + +2005-10-30 Mark Wielaard + + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCurrentVisiblePath): Check whether treeModel is null. + +2005-10-30 Mark Wielaard + + * examples/gnu/classpath/examples/swing/Demo.java (static): Set look + and feel before showing dialog. Clean up message text. + +2005-10-30 Mark Wielaard + + * javax/swing/text/PlainView.java (determineMaxLineLength): Get + correct lenght of text. + (drawLine): Throw AssertionError on unexpected bad location. + (viewToModel): Likewise. + +2005-10-30 Mark Wielaard + + * javax/swing/text/AbstractDocument.java (dump): Actually throw + AssertionError when constructed. + * javax/swing/text/DefaultFormatter.java (checkValidInput): Add cause + to AssertionError. + * javax/swing/text/DefaultStyledDocument.java (insertUpdate): + Likewise. + * javax/swing/text/GlyphView.java (getPartialSpan): Likewise. + (getText): Likewise. + * javax/swing/text/PlainView.java (determineMaxLineLength): Likewise. + (updateDamage): Likewise. + +2005-10-30 Mark Wielaard + + * gnu/java/rmi/server/UnicastServer.java (refcache): Make it a + synchronized IdentityHashMap. + +2005-10-30 Mark Wielaard + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (GdkGraphics2D(GdkGraphics2D,int, int, int,int)): New constructor. + (create(int,int,int,int)): Use new constructor. + (copyArea): Implement through create() and gdkDrawDrawable(). + +2005-10-29 Guilhem Lavaux + + * java/nio/channels/spi/AbstractSelectableChannel.java + (register): Throw IllegalBlockingModeException if the channel is + not in blocking mode. + +2005-10-29 David Gilbert + + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/SliderDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): add separate checkBoxPanel but don't add closePanel + here. + +2005-10-28 Roman Kennke + + * java/awt/KeyboardFocusManager.java + (setCurrentKeyboardFocusManager): Create a DefaultKeyboardFocusManager + directly. + (createFocusManager): Removed. + * gnu/java/awt/FocusManager.java: Removed. + * javax/swing/FocusManager.java + (DisabledFocusManager): Removed inner class. + (WrappingFocusManager): New inner class. + (getCurrentManager): Return WrappingKeyboardFocusManager instance. + +2005-10-28 Anthony Balkissoon + + * java/awt/Component.java: + (requestFocus): If this component is a Container, start here, not at + its parent when looking for the top-level ancestor. If no top-level + ancestor is found (parent == null), return. + +2005-10-28 Roman Kennke + + * javax/swing/table/DefaulTableCellRenderer.java + (getTableCellRenderer): Correctly configure the cell renderer for + selected and / or focused cells. + * javax/swing/table/JTableHeader.java + (getHeaderRect): Don't include the intercellSpacing in the + header rectangle. + +2005-10-28 Roman Kennke + + * javax/swing/plaf/basic/BasicTableUI.java + (MouseInputHandler.mouseDragged): Only react if table is enabled. + (MouseInputHandler.mousePressed): Only react if table is enabled. + (MouseInputHandler.mouseReleased): Only react if table is enabled. + (PropertyChangeHandler): New inner class. Updates the state of + the table if the model property changes. + (installDefaults): Don't load the highlightCellBorder here. This + is done in the cell renderer now. + (installListeners): Install the new PropertyChangeListener. + (uninstallListeners): Uninstall the new PropertyChangeListener. + (paintCell): Fixed determination of the selected and focused state + of the cell. Removed handling of the border (this is moved into + the cell renderer). + (paint): Fixed the rectangle calculation of the cell. Fixed painting + of the grid. + +2005-10-28 Roman Kennke + + * javax/swing/DefaultListSelectionModel.java + (setLeadSelectionIndex): Forbit some changes to leadSelectionIndex + when the anchorSelectionIndex is not set properly. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/Poa/AOM.java, + gnu/CORBA/Poa/AccessiblePolicy.java, + gnu/CORBA/Poa/DynamicImpHandler.java, + gnu/CORBA/Poa/StandardPolicies.java, + gnu/CORBA/Poa/ServantDelegateImpl.java, + gnu/CORBA/Poa/NamingService/NameComponentComparator.java + gnu/CORBA/Poa/NamingService/NameTransformer.java + gnu/CORBA/GIOP/ContextHandler.java, + gnu/CORBA/GIOP/CodeSetServiceContext.java: New files. + * gnu/CORBA/GIOP/contextSupportingHeader.java, + gnu/CORBA/GIOP/cxCodeSet.java, + gnu/CORBA/NamingService/cmpNameComponent.java, + gnu/CORBA/NamingService/snConverter.java, + gnu/CORBA/Poa/activeObjectMap.java, + gnu/CORBA/Poa/dynImpHandler.java, + gnu/CORBA/Poa/policySets.java, + gnu/CORBA/Poa/servantDelegate.java, + gnu/CORBA/Poa/vPolicy.java: Removed. + * gnu/CORBA/GIOP/CharSets_OSF: + Explaining the reason of setting "_OSF" apart. + * gnu/CORBA/CDR/AbstractCdrInput.java, + gnu/CORBA/CDR/AbstractCdrOutput.java, + gnu/CORBA/GIOP/CharSets_OSF.java, + gnu/CORBA/GIOP/ReplyHeader.java, + gnu/CORBA/GIOP/RequestHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/GIOP/v1_0/ReplyHeader.java, + gnu/CORBA/GIOP/v1_0/RequestHeader.java, + gnu/CORBA/GIOP/v1_2/ReplyHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/IOR.java, + gnu/CORBA/NamingService/Ext.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingMap.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuAdapterActivator.java, + gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, + gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, + gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, + gnu/CORBA/Poa/gnuLifespanPolicy.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Poa/gnuServantRetentionPolicy.java, + gnu/CORBA/Poa/gnuThreadPolicy.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/gnuRequest.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CosNaming/_NamingContextExtStub.java: + References updated. + +2005-10-28 Roman Kennke + + * javax/swing/JTable.java + (JTable): Changed order of initialization (UI first, then the model + etc), so that the UI gets notified of the initial model change. + (rowAtPoint): Don't add the intercellSpacing in the calculation + of the row-at-Point. + (setModel): Throw a PropertyChangeEvent here if the model changes. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/DynAn/ValueChangeListener.java + gnu/CORBA/DynAn/AbstractAny.java + gnu/CORBA/DynAn/RecordAny.java + gnu/CORBA/DynAn/DivideableAny.java + gnu/CORBA/DynAn/UndivideableAny.java: New files. + * gnu/CORBA/DynAn/abstractDynAny.java, + gnu/CORBA/DynAn/recordAny.java, + gnu/CORBA/DynAn/anyDivideable.java, + gnu/CORBA/DynAn/anyUndivideable.java, + gnu/CORBA/DynAn/valueChangedListener.java: Removed. + * gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/DynAn/gnuDynEnum.java, + gnu/CORBA/DynAn/gnuDynFixed.java, + gnu/CORBA/DynAn/gnuDynStruct.java, + gnu/CORBA/DynAn/gnuDynUnion.java, + gnu/CORBA/DynAn/gnuDynValue.java, + gnu/CORBA/DynAn/gnuDynValueBox.java: + References updated. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/CDR/abstractDataInputStream.java, + gnu/CORBA/CDR/abstractDataOutputStream.java, + gnu/CORBA/CDR/aligningInputStream.java, + gnu/CORBA/CDR/aligningOutputStream.java, + gnu/CORBA/CDR/cdrBufInput.java.java, + gnu/CORBA/CDR/cdrBufOutput.java + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/encapsulatedOutput.java, + gnu/CORBA/CDR/noHeaderInput.java: Removed. + * gnu/CORBA/CDR/HeadlessInput.java + gnu/CORBA/CDR/AbstractCdrInput.java + gnu/CORBA/CDR/AbstractCdrOutput.java + gnu/CORBA/CDR/AbstractDataInput.java + gnu/CORBA/CDR/AbstractDataOutput.java + gnu/CORBA/CDR/AligningInput.java + gnu/CORBA/CDR/AligningOutput.java + gnu/CORBA/CDR/BufferedCdrOutput.java + gnu/CORBA/CDR/BufferredCdrInput.java + gnu/CORBA/CDR/EncapsulationStream.java: New files. + * gnu/CORBA/CDR/ArrayValueHelper.java, + gnu/CORBA/CDR/BigEndianInputStream.java, + gnu/CORBA/CDR/BigEndianOutputStream.java, + gnu/CORBA/CDR/LittleEndianInputStream.java, + gnu/CORBA/CDR/LittleEndianOutputStream.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CdrEncapsCodecImpl.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/ReplyHeader.java, + gnu/CORBA/GIOP/RequestHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/GIOP/cxCodeSet.java, + gnu/CORBA/GIOP/v1_0/ReplyHeader.java, + gnu/CORBA/GIOP/v1_0/RequestHeader.java, + gnu/CORBA/GIOP/v1_2/ReplyHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/GeneralHolder.java, + gnu/CORBA/IOR.java, + gnu/CORBA/Interceptor/gnuIcCurrent.java, + gnu/CORBA/IorDelegate.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/OrbFunctional.java, + gnu/CORBA/OrbRestricted.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/RawReply.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/ServiceRequestAdapter.java, + gnu/CORBA/StreamBasedRequest.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/typecodes/GeneralTypeCode.java, + gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, + gnu/javax/rmi/CORBA/RmiUtilities.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + org/omg/IOP/TaggedProfileHelper.java: + References updated. + +2005-10-28 Audrius Meskauskas + + * gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil: Deleted. + * gnu/javax/rmi/CORBA/CorbaInput.java, + gnu/javax/rmi/CORBA/CorbaOutput.java, + gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, + gnu/javax/rmi/CORBA/RmiUtilities.java: New files. + * gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java: + References updated. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/holderFactory.java, + gnu/CORBA/IOR_contructed_object.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/Simple_delegate.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/Focused_ORB.java: Removed. + * gnu/CORBA/HolderLocator.java + gnu/CORBA/IorDelegate.java + gnu/CORBA/IorObject.java + gnu/CORBA/OrbFocused.java + gnu/CORBA/OrbFunctional.java + gnu/CORBA/OrbRestricted.java + gnu/CORBA/SimpleDelegate.java: New files. + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/DynAn/abstractRecord.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynAnyFactory.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/DynAn/gnuDynValueBox.java, + gnu/CORBA/GIOP/ErrorMessage.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingServiceTransient.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/StubLocator.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java, + org/omg/CORBA/CompletionStatusHelper.java, + org/omg/CORBA/DefinitionKindHelper.java, + org/omg/CORBA/FieldNameHelper.java, + org/omg/CORBA/IDLTypeHelper.java, + org/omg/CORBA/IdentifierHelper.java, + org/omg/CORBA/ORB.java, + org/omg/CORBA/ParameterModeHelper.java, + org/omg/CORBA/RepositoryIdHelper.java, + org/omg/CORBA/SetOverrideTypeHelper.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/StructMemberHelper.java, + org/omg/CORBA/UnionMemberHelper.java, + org/omg/CORBA/ValueMemberHelper.java, + org/omg/CORBA/VersionSpecHelper.java, + org/omg/CORBA/VisibilityHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/_IDLTypeStub.java, + org/omg/CosNaming/IstringHelper.java, + org/omg/DynamicAny/FieldNameHelper.java, + org/omg/PortableInterceptor/AdapterNameHelper.java, + org/omg/PortableInterceptor/ORBIdHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, + org/omg/PortableInterceptor/ObjectIdHelper.java, + org/omg/PortableInterceptor/ServerIdHelper.java: + References updated. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/universalHolder.java + gnu/CORBA/stubFinder.java + gnu/CORBA/typeNamer.java + gnu/CORBA/streamRequest.java + gnu/CORBA/streamReadyHolder.java + gnu/CORBA/binaryReply.java + gnu/CORBA/bufferedResponseHandler.java + gnu/CORBA/cdrEncapsCodec.java + gnu/CORBA/corbaArrayList.java: Removed. + * gnu/CORBA/CdrEncapsCodecImpl.java, + gnu/CORBA/CorbaList.java, + gnu/CORBA/GeneralHolder.java, + gnu/CORBA/RawReply.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/StreamBasedRequest.java, + gnu/CORBA/StreamHolder.java, + gnu/CORBA/StubLocator.java, + gnu/CORBA/TypeKindNamer.java: New files. + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/DynAn/abstractDynAny.java, + gnu/CORBA/DynAn/anyDivideable.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynAnyFactory.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/ServiceRequestAdapter.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuCodecFactory.java, + gnu/CORBA/gnuContextList.java, + gnu/CORBA/gnuExceptionList.java, + gnu/CORBA/gnuNVList.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/typecodes/RecordTypeCode.java: + References updated. + +2005-10-28 Audrius Meskauskas + + * gnu/CORBA/typecodes/AliasTypeCode.java, + gnu/CORBA/typecodes/ArrayTypeCode.java, + gnu/CORBA/typecodes/FixedTypeCode.java, + gnu/CORBA/typecodes/GeneralTypeCode.java, + gnu/CORBA/typecodes/PrimitiveTypeCode.java, + gnu/CORBA/typecodes/RecordTypeCode.java, + gnu/CORBA/typecodes/RecursiveTypeCode.java, + gnu/CORBA/typecodes/StringTypeCode.java, + gnu/CORBA/typecodes/package.html: New files. + * gnu/CORBA/aliasTypeCode.java, + gnu/CORBA/primitiveArrayTypeCode.java, + gnu/CORBA/fixedTypeCode.java, + gnu/CORBA/generalTypeCode.java, + gnu/CORBA/primitiveTypeCode.java, + gnu/CORBA/recordTypeCode.java, + gnu/CORBA/recursiveTypeCode.java, + gnu/CORBA/stringTypeCode.java: Deleted. + * gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/OctetHolder.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/TypeCodeHelper.java, + gnu/CORBA/WCharHolder.java, + gnu/CORBA/WStringHolder.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/typeNamer.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CORBA/AnyHolder.java, + org/omg/CORBA/AnySeqHelper.java, + org/omg/CORBA/AnySeqHolder.java, + org/omg/CORBA/BooleanHolder.java, + org/omg/CORBA/BooleanSeqHelper.java, + org/omg/CORBA/BooleanSeqHolder.java, + org/omg/CORBA/ByteHolder.java, + org/omg/CORBA/CharHolder.java, + org/omg/CORBA/CharSeqHelper.java, + org/omg/CORBA/CharSeqHolder.java, + org/omg/CORBA/DefinitionKindHelper.java, + org/omg/CORBA/DoubleHolder.java, + org/omg/CORBA/DoubleSeqHelper.java, + org/omg/CORBA/DoubleSeqHolder.java, + org/omg/CORBA/FixedHolder.java, + org/omg/CORBA/FloatHolder.java, + org/omg/CORBA/FloatSeqHelper.java, + org/omg/CORBA/FloatSeqHolder.java, + org/omg/CORBA/IntHolder.java, + org/omg/CORBA/LongHolder.java, + org/omg/CORBA/LongLongSeqHelper.java, + org/omg/CORBA/LongLongSeqHolder.java, + org/omg/CORBA/LongSeqHelper.java, + org/omg/CORBA/LongSeqHolder.java, + org/omg/CORBA/NameValuePairHelper.java, + org/omg/CORBA/ORB.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/ObjectHolder.java, + org/omg/CORBA/OctetSeqHelper.java, + org/omg/CORBA/OctetSeqHolder.java, + org/omg/CORBA/PolicyErrorCodeHelper.java, + org/omg/CORBA/PrincipalHolder.java, + org/omg/CORBA/ShortHolder.java, + org/omg/CORBA/ShortSeqHelper.java, + org/omg/CORBA/ShortSeqHolder.java, + org/omg/CORBA/StringHolder.java, + org/omg/CORBA/StringSeqHelper.java, + org/omg/CORBA/StringSeqHolder.java, + org/omg/CORBA/TypeCodeHolder.java, + org/omg/CORBA/ULongLongSeqHelper.java, + org/omg/CORBA/ULongLongSeqHolder.java, + org/omg/CORBA/ULongSeqHelper.java, + org/omg/CORBA/ULongSeqHolder.java, + org/omg/CORBA/UShortSeqHelper.java, + org/omg/CORBA/UShortSeqHolder.java, + org/omg/CORBA/ValueBaseHelper.java, + org/omg/CORBA/WCharSeqHelper.java, + org/omg/CORBA/WCharSeqHolder.java, + org/omg/CORBA/WStringSeqHelper.java, + org/omg/CORBA/WStringSeqHolder.java, + org/omg/Messaging/SyncScopeHelper.java: References modified. + +2005-10-28 Nicolas Geoffray + + Reported by: Gael Thomas + * NEWS : added entry about new implementation of + VMClassLoader.getPackage(s), and new method + VMClassLoader.getBootPackages + * vm/reference/java/lang/VMClassLoader.java: + Added new definedPackages field to store packages + loaded by the bootstrap classloader. + Added new static initializer to create all packages + which names are returned by getBootPackages + (getBootPackages): new private method. Helper + to get as a String[] the native package names + (getPackage): uses the new definedPackages field + (getPackages): uses the new definedPackages field + * java/lang/Class.java: + (getPackage): if the classloader of the class is null + then call VMClassLoader.getPackage + +2005-10-27 Anthony Balkissoon + + * javax/swing/JEditorPane.java: + (getScrollableTracksViewportWidth): Return true if the component is + valid. + (getScrollableTracksViewportHeight): Likewise. + +2005-10-27 Anthony Balkissoon + + * javax/swing/ScrollPaneLayout.java: + (preferredLayoutSize): Fixed the conditions for allocating space for + the scrollbars. Should allocate space if the View's dimension is + larger than the Viewport's dimension. This fixes the problem in + comment 1) for PR 23530. + +2005-10-27 Anthony Balkissoon + + * javax/swing/JViewport.java: + (scrollRectToVisible): Use the viewport bounds instead of the view + bounds when scrolling up and scrolling left. + +2005-10-27 Roman Kennke + + * javax/swing/text/FieldView.java + (getPreferredSpan): For the Y_AXIS call the superclass behaviour as + described in the Swing book by OReilly. + +2005-10-27 Audrius Meskauskas + + * org/omg/PortableInterceptor/ObjectIdHelper.java: + Assuming ObjectId as alias of byte[], not alias of String. + +2005-10-27 Roman Kennke + + * javax/swing/JTextField.java + (createDefaultModel): Return a normal PlainDocument here. + * javax/swing/text/AbstractDocument.java + (insertString): Correctly placed locking so that insertUpdate() is + called within a lock as specified. Do not setup any ElementChanges + here, this must be done in subclasses in insertUpdate() method. + Fire an UndoableEditEvent. + * javax/swing/text/PlainDocument.java + (insertString): New method. Replaces newlines with whitespace + when document property 'filterNewlines' is set. + +2005-10-27 Roman Kennke + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (PropertyChangeHandler.propertyChange): If orientation property + changes, re-setup the UI. + (TrackListener.mouseReleased): Removed unused code. + (createIncreaseButton): Simply return a new instance without any + hacks. + (createDecreaseButton): Likewise. + (installComponents): Do not create the incrButton and decrButton + here, only install them on the ScrollBar. + (installDefaults): Also initialize the incrButton and decrButton + fields here. + (uninstallComponents): Added some null checks. + (uninstallDefaults): Uninstall border using the LookAndFeel utility + method. Set incrButton and decrButton to null here. + (uninstallListeners): Added null checks. + (uninstallUI): Changed order of method calls. First uninstall + listeners then uninstallDefaults, because uninstallDefaults sets + the incrButton and decrButton fields to null, and uninstallListeners + removes a listener from them. Avoids NPE. + +2005-10-27 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java: API doc updates, + * javax/swing/plaf/metal/MetalButtonUI.java: likewise, + * javax/swing/plaf/metal/MetalCheckBoxIcon.java: likewise, + * javax/swing/plaf/metal/MetalCheckBoxUI.java: likewise, + * javax/swing/plaf/metal/MetalDesktopIconUI.java: likewise, + * javax/swing/plaf/metal/MetalIconFactory.java: likewise, + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: likewise, + * javax/swing/plaf/metal/MetalInternalFrameUI.java: likewise, + * javax/swing/plaf/metal/MetalLabelUI.java: likewise, + * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: likewise, + * javax/swing/plaf/metal/MetalProgressBarUI.java: likewise, + * javax/swing/plaf/metal/MetalRadioButtonUI.java: likewise, + * javax/swing/plaf/metal/MetalRootPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalScrollBarUI.java: likewise, + * javax/swing/plaf/metal/MetalScrollPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalSeparatorUI.java: likewise, + * javax/swing/plaf/metal/MetalSliderUI.java: likewise, + * javax/swing/plaf/metal/MetalSplitPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalTabbedPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalTextFieldUI.java: likewise, + * javax/swing/plaf/metal/MetalToolBarUI.java: likewise, + * javax/swing/plaf/metal/MetalToolTipUI.java: likewise, + * javax/swing/plaf/metal/MetalTreeUI.java: likewise, + * javax/swing/plaf/metal/package.html: likewise. + +2005-10-27 David Gilbert + + * javax/swing/plaf/metal/MetalToggleButtonUI.java: + (MetalToggleButtonUI): removed color field initialisation, + (installDefaults): added color field initialisation formerly in + the constructor. + +2005-10-27 David Gilbert + + * javax/swing/RepaintManager.java + (paintDirtyRegions): replaced characters in comment that caused + warnings in gjdoc and Eclipse. + +2005-10-27 Audrius Meskauskas + + * BUGS: URL refreshed. + +2005-10-27 Audrius Meskauskas + + * gnu/CORBA/ExceptionCreator.java: Deleted. + +2005-10-26 Audrius Meskauskas + + * org/omg/PortableInterceptor/ObjectReferenceFactory.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: + New files. + +2005-10-26 Anthony Balkissoon + + * javax/swing/ViewportLayout.java: + (layoutContainer): Fixed incorrect boundary checks, should have been + checking for viewport being smaller than minimum size, not smaller + than preferred size. + +2005-10-26 Andreas Tobler + + * configure.ac: Rename --with-qtdir to --with-qt4dir to make clear + which Qt version is meant. + +2005-10-26 Anthony Balkissoon + + * javax/swing/JList.java: + (getPreferredScrollableViewportSize): Use the preferred width instead + of the width of the widest element. This allows us to use the + user-specified preferred width if setPreferredSize was called. Use + the height of the first row, not the first visible row, when + calculating the preferred height. Added comments and made code cleaner + and more readable. + +2005-10-26 Thomas Fitzsimmons + + * javax/imageio/spi/ImageReaderWriterSpi.java + (getStreamMetadataFormat): Implement. + (getImageMetadataFormat): Likewise. + +2005-10-26 David Gilbert + + * javax/swing/colorchooser/AbstractColorChooserPanel.java + (getMnemonic): implemented, + (getDisplayedMnemonicIndex): implemented. + +2005-10-26 Audrius Meskauskas + + * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, + org/omg/PortableInterceptor/AdapterNameHelper.java, + org/omg/PortableInterceptor/AdapterStateHelper.java, + org/omg/PortableInterceptor/ORBIdHelper.java, + org/omg/PortableInterceptor/ObjectIdHelper.java, + org/omg/PortableInterceptor/ServerIdHelper.java: New files. + * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java + (type): Fixed typo in typecode name. + +2005-10-25 Anthony Balkissoon + + * javax/swing/text/WrappedPlainView: New class. + +2005-10-25 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Removed initialization of unnecessary focusColor + field. + (paintButtonPressed): Only paint if button is opaque. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintButtonPressed): Only paint if button is opaque and + contentAreaFilled. + +2005-10-25 Anthony Balkissoon + + * javax/swing/text/CompositeView.java: + (getViewIndexAtPosition): Fixed boundary conditions (less than and + greater than signs were backward). + +2005-10-25 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getBreakLocation): New API method. + +2005-10-25 Tom Tromey + + * java/io/ObjectOutputStream.java (useProtocolVersion): Typo fix. + +2005-10-25 Roman Kennke + + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): Changed classname for the heavyweight testclass to match + the new classes introduced by my popup patch earlier this day. + +2005-10-25 Roman Kennke + + * examples/gnu/classpath/examples/swing/Demo.java + (mkMenuBar): Replaced some demos with new external demo programs, + namely the button demo, the scrollbar demo, the combobox demo and + the slider demo. + (mkButtonBar): Likewise. + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/SliderDemo.java + (createContent): Made package private so that the Demo.java can + access it. + +2005-10-25 Roman Kennke + + * javax/swing/JLayeredPane.java + (addImpl): Removed unnecessary repaint() and revalidate() calls. + * javax/swing/JPopupMenu.java + (remove): Removed unnecessary revalidate() call. + (insert): Removed code that installs GridBagConstraints. JPopupMenu + uses a BoxLayout and this is not needed anymore. + (pack): Send this method call to the event queue to avoid + synchronization problems. Set size to preferredSize of this menu. + (setVisible): Send this method call to the event queue to avoid + synchronization problems. Use PopupFactory for creating a popup. + (setLocation): Use int fields instead of a Point field. + (Popup): Removed inner interface. We use javax.swing.Popup now. + (LightweightPopup): Likewise. + (MediumWeightPopup): Likewise. + (HeavyWeightPopup): Likewise. + * javax/swing/Popup.java + (JWindowPopup.JWindowPopup): Add contents to contentPane of window. + Set focusableWindowState to false. + (JWindowPopup.show): Set size of window here. + (LightweightPopup): New inner class. + * javax/swing/PopupFactory.java + (getPopup): Return heavyweight or lightweight popup depending on + the parameters. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (PropertyChangeHandler): Removed unneeded inner class. + (BasicMenuItemUI): Removed instantiation of PropertyChangeHandler. + (installListeners): Removed handling of the PropertyChangeHandler. + (uninstallListeners): Removed handling of the PropertyChangeHandler. + * javax/swing/plaf/basic/BasicMenuUI.java + (getMaximumSize): Don't treat popup menus different. + +2005-10-25 Audrius Meskauskas + + * gnu/classpath/examples/CORBA/NamingService/Demo.java (main): + Make arguments not final. + +2005-10-25 Audrius Meskauskas + + * org/omg/CORBA/IDLEntity.java: Deleted. + * gnu/CORBA/primitiveTypeCode.java, + org/omg/CORBA/PolicyError.java, + org/omg/CORBA/TypeCodePackage/BadKind.java, + org/omg/CORBA/TypeCodePackage/Bounds.java: + Use org.omg.CORBA.portable.IDLEntity. + +2005-10-25 Audrius Meskauskas + + * gnu/CORBA/interfaces/SocketFactory.java: New file. + * gnu/CORBA/interfaces/gnuSocketFactory.java: Deleted. + * gnu/CORBA/DefaultSocketFactory.java, + gnu/CORBA/Functional_ORB.java, + org/omg/CORBA/ORB.java: Replacing gnuSocketFactory into SocketFactory. + +2005-10-25 Audrius Meskauskas + + * org/omg/CosNaming/BindingIteratorHelper.java, + org/omg/CosNaming/NamingContextExtHelper.java, + org/omg/CosNaming/NamingContextHelper.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/DynAnyHelper.java, + org/omg/DynamicAny/DynArrayHelper.java, + org/omg/DynamicAny/DynEnumHelper.java, + org/omg/DynamicAny/DynFixedHelper.java, + org/omg/DynamicAny/DynSequenceHelper.java, + org/omg/DynamicAny/DynStructHelper.java, + org/omg/DynamicAny/DynUnionHelper.java, + org/omg/DynamicAny/DynValueHelper.java, + org/omg/IOP/CodecFactoryHelper.java, + org/omg/PortableInterceptor/CurrentHelper.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/ServantLocatorHelper.java: Added + unchecked_narrow method. + +2005-10-25 Roman Kennke + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): + Call gdk_window_get_root_origin instead of gdk_window_get_origin + so that the window decorations are correctly respected. + +2005-10-24 Tom Tromey + + * java/io/ObjectOutputStream.java (useProtocolVersion): Fixed typo + in javadoc. + +2005-10-24 Tom Tromey + + * java/lang/StringBuffer.java (appendCodePoint): Added @since. + * java/lang/StringBuilder.java (insert): New overloads. + (appendCodePoint): New method. + +2005-10-24 Dalibor Topic + + * test/native/lib/PrimlibInterface.c, + * test/native/lib/PrimlibInterface.h, + * test/native/lib/PrimlibTest.java: + Removed unused test. + +2005-10-24 Dalibor Topic + + * native/jni/classpath/primlib.c, + native/jni/classpath/primlib.h: Removed since unused. + + * native/jni/classpath/Makefile.am: (libclasspath_la_SOURCES) + Removed primlib.c and primlib.h. + +2005-10-24 David Gilbert + + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: New file. + +2005-10-24 David Gilbert + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (ModelListener.stateChanged): changed call to getThumbBounds() to + updateThumbRect(), + (PropertyChangeHandler.propertyChange): likewise, plus added handling + for 'enabled' property, + (getMaximumSize): return maximum dimension, + (getThumbBounds): just return field value, + (getTrackBounds): just return field value, + (installUI): switch order of calls to installDefaults() and + installComponents(), + (layoutHScrollBar): reimplemented using new updateThumbRect() method, + (layoutVScrollBar): likewise, + (updateThumbRect): new method, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added 'ScrollBar.width' default, + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MIN_THUMB_SIZE): changed value, + (MIN_THUMB_SIZE_FREE_STANDING): new field, + (isFreeStanding): set default to true, + (scrollBarShadowColor): new field, + (installDefaults): initialise scrollBarShadowColor, + (createDecreaseButton): retain reference in decreaseButton field, + (createIncreaseButton): retain reference in increaseButton field, + (paintTrackHorizontal): use scrollBarShadowColor, add special handling + for free standing scroll bar in disabled state, + (paintTrackVertical): likewise, + (paintThumb): separate horizontal and vertical cases, + (paintThumbHorizontal): new method, + (paintThumbVertical): new method, + (getMinimumThumbSize): return different size depending on whether or + not the scroll bar is free standing, + * javax/swing/plaf/metal/MetalScrollButton.java + (paintNorthBorderFreeStanding): modified drawing. + +2005-10-24 Thomas Fitzsimmons + + * javax/imageio/metadata/IIOMetadataFormatImpl.java: Complete. + * javax/imageio/metadata/IIOMetadataNode.java: Complete stubs. + * javax/imageio/metadata/IIOAttr.java: Replace with + IIOMetadataFormatImpl.IIOMetadataNodeAttr. Remove file. + * javax/imageio/metadata/IIONamedNodeMap.java: Replace with + IIOMetadataNode.IIONamedNodeMap. Remove file. + * javax/imageio/metadata/IIONodeList.java: Replace with + IIOMetadataNode.IIONodeList. Remove file. + +2005-10-24 Tom Tromey + + * java/text/AttributedStringIterator.java (getRunLimit): Add + explicit qualification. + (getRunStart): Likewise. + +2005-10-24 David Gilbert + + * java/text/AttributedString.java + (AttributedString(AttributedCharacterIterator, int, int, + AttributedCharacterIterator.Attribute[])): renamed arguments, and + updated IllegalArgumentException check, + (addAttribute(AttributedCharacterIterator.Attribute, Object, int, + int)): likewise, + (addAttributes(Map, int, int)): changed IllegalArgumentException to + NullPointerException, and modified check for illegal range, + * java/text/AttributedStringIterator.java + (getRunLimit(Set)): reimplemented, + (getRunStart): added API docs, + (getRunStart(AttributedCharacterIterator.Attribute)): handle null + argument as a special case, + (getRunStart(Set)): reimplemented, + (getAttribute(AttributedCharacterIterator.Attribute, int)): new + private method, + (getAttribute(AttributedCharacterIterator.Attribute)): reimplemented + using new private method. + * java/text/CharacterIterator.java: minor API doc fix. + +2005-10-24 Roman Kennke + + Fixes Bug #24359 + * javax/swing/BoxLayout.java: + Made class thread safe. + +2005-10-23 Tom Tromey + + * java/util/InvalidPropertiesFormatException.java: New file. + +2005-10-23 Andrew John Hughes + + * java/util/Properties.java + (storeToXML(OutputStream,String,String)): Added null pointer checks. + (loadFromXML(InputStream)): Implemented. + (PropertiesHandler): New class to handle parsing events. + (PropertiesHandler()): New constructor. + (startDTD(String,String,String)): Implemented. + (startElement(String,String,String,Attributes)): Implemented. + (characters(char[],int,int)): Implemented. + (endElement(String,String,String)): Implemented. + (endDocument()): Implemented. + +2005-10-23 Guilhem Lavaux + + * java/lang/Thread.java + (sleep): Better exception message. + + * java/security/AccessControlContext.java + (checkPermission): Likewise. + + * java/util/ResourceBundle.java + (getBundle): Likewise. + + * java/util/SimpleTimeZone.java + (setStartRule): Added some documentation. + +2005-10-23 Guilhem Lavaux + + * configure.ac: Added support for "--with-native-libdir" and + "--with-glibj-dir". Generate copy-vmresources.sh + + * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm + resources from the vmdirs. + + * lib/copy-vmresources.sh.in: New script file. + + * lib/gen-classlist.sh.in: Include com/ as base package for the + vm directories. + + * native/jawt/Makefile.am, + native/jni/gtk-peer/Makefile.am, + native/jni/java-io/Makefile.am, + native/jni/java-lang/Makefile.am, + native/jni/java-net/Makefile.am, + native/jni/java-nio/Makefile.am, + native/jni/java-util/Makefile.am, + native/jni/midi-alsa/Makefile.am, + native/jni/midi-dssi/Makefile.am, + native/jni/qt-peer/Makefile.am, + native/jni/xmlj/Makefile.am: Install libraries in nativelibdir + and not pkglib. + +2005-10-23 Audrius Meskauskas + + PR classpath/22972 + * java/io/File (createTempFile): Rewritten. + +2005-10-23 Audrius Meskauskas + + * org/omg/IOP/RMICustomMaxStreamFormat.java, + * org/omg/IOP/ExceptionDetailMessage.java: New files. + +2005-10-23 Audrius Meskauskas + + * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static. + +2005-10-23 Audrius Meskauskas + + * gnu/javax/rmi/CORBA/gnuRmiUtil.java (readValue): + Do not read fields of the ObjectImpl. + +2005-10-23 Audrius Meskauskas + + * org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT, + * org/omg/PortableInterceptor/ACTIVE.java, + * org/omg/PortableInterceptor/DISCARDING.java, + * org/omg/PortableInterceptor/HOLDING.java, + * org/omg/PortableInterceptor/INACTIVE.java, + * org/omg/PortableInterceptor/NON_EXISTENT.java: New files. + +2005-10-22 Julian Scheid + + * java/util/Map.java (Entry.equals): Fixed invalid example code + in documentation. + +2005-10-22 Audrius Meskauskas + + * org/omg/CORBA/ACTIVITY_COMPLETED.java, + * org/omg/CORBA/ACTIVITY_REQUIRED.java, + * org/omg/CORBA/BAD_QOS.java, + * org/omg/CORBA/CODESET_INCOMPATIBLE.java, + * org/omg/CORBA/INVALID_ACTIVITY.java, + * org/omg/CORBA/REBIND.java, + * org/omg/CORBA/TIMEOUT.java, + * org/omg/CORBA/TRANSACTION_MODE.java, + * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java: New exceptions. + +2005-10-22 Audrius Meskauskas + + * javax/rmi/CORBA/ValueHandlerMultiFormat.java: New interface. + * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java + (getMaximumStreamFormatVersion, writeValue): New methods. + +2005-10-22 Mark Wielaard + + * java/net/URLClassloader.java (addURLs): Add comment about jboss. + +2005-10-21 Lillian Angel + + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (BasicCheckBoxMenuItem): Implemented. + (installDefaults): Removed method, not in API. + (processMouseEvent): Implemented. + * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java + (processMouseEvent): Implemented. + +2005-10-21 Christian Thalinger + + * configure.ac: Also check for pangoft2 without cairo and + additionally check for freetype2. + * native/jni/gtk-peer/Makefile.am: Added X, pangoft2 and + freetype2 CFLAGS and LDFLAGS. + +2005-10-21 Nicolas Geoffray + + * vm/reference/java/lang/VMClassLoader.java + (getResources): uses a new static field HashMap to + store opened zip files from property java.boot.class.path. + +2005-10-21 Nicolas Geoffray + + * vm/reference/java/lang/VMClassLoader.java + (getRessources): In case the property java.boot.class.path + contains directories, tests if the ressource exists before adding + it to the vector result. + +2005-10-21 Lillian Angel + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Only paint focus if enabled. + +2005-10-21 David Daney + + * NEWS: Added entry about HttpURLConnection improvements. + +2005-10-21 Audrius Meskauskas + + * gnu/CORBA/DefaultSocketFactory.java, + * gnu/CORBA/interfaces/gnuSocketFactory.java, + * gnu/CORBA/interfaces/package.html: New files. + * gnu/CORBA/Functional_ORB.java, + * gnu/CORBA/Focused_ORB.java (getPortServer), + * gnu/CORBA/GIOP/ErrorMessage.java (send), + * gnu/CORBA/gnuRequest.java (submit): Rewritten to support + gnu.Corba.SocketFactory property. + * org/omg/CORBA/ORB.java: Documentation update. + +2005-10-21 Lillian Angel + + * javax/swing/JPopupMenu.java + (show): Fixed to set the size if it was never set. + * javax/swing/plaf/basic/BasicMenuUI.java + (menuDeselected): Added check to prevent NPE. + * javax/swing/plaf/basic/BasicSeparatorUI.java: + Removed minSize, horizontalPrefSize, verticalPrefSize and + maxSize fields. They were causing problems when other classes + were setting this variables to something else. More reliable if + actual value is returned. + (getPreferredSize): Returned appropriate values. + (getMinimumSize): Likewise. + (getMaximumSize): Likewise. + +2005-10-21 Jeroen Frijters + + * java/lang/reflect/Proxy.java + (ProxyType.ProxyType): Don't replace null with system class loader. + (ProxyType.hashCode): Handle null loader. + +2005-10-20 Anthony Balkissoon + + * javax/swing/DefaultListSelectionModel.java: + (setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then + pass this call to setSelectionInterval. + (addSelectionInterval): If the selection mode is SINGLE_SELECTION then + pass the call to setSelectionInterval and avoid the lengthy checks + that don't apply to this mode. + * javax/swing/JList.java: + (getSelectedIndices): Changed bounds of for loop to include the + maxSelectionIndex. + +2005-10-20 Lillian Angel + + * examples/gnu/classpath/examples/swing/Demo.java + (mkRadio): Changed to create a panel that contains + 2 buttons in a ButtonGroup. + * javax/swing/ButtonGroup.java + (add): Fixed to initialize sel if the newly added + button is already selected. + * javax/swing/JToggleButton.java + (isSelected): Implemented. + (setSelected): Implemented. + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (paintFocus): Fixed size of border drawn around the + radio button. + +2005-10-20 Anthony Balkissoon + + * java/awt/ScrollPaneAdjustable.java: + (addAdjustmentListener): If parameter is null take no action and throw + no exception. Store the resulting listener chain from call to + AWTEventMulticaster.add. + (removeAdjustmentListener): If parameter is null take no action and + throw no exception. Store the resulting listener chain from call to + AWTEventMulticaster.remove. + +2005-10-20 Anthony Balkissoon + + * javax/swing/LookAndFeel.java: + (loadKeyBindings): Implemented and added docs. + (makeComponentInputMap): Likewise. + (makeInputMap): Likewise. + (makeKeyBindings): Likewise. + * javax/swing/plaf/basic/BasicListUI.java: + (convertModifiers): Removed this no longer needed private method. + (installKeyboardActions): Removed the code relating to modifier + conversion and made code more readable by using local variables. + * javax/swing/plaf/basic/BasicTableUI.java: + (convertModifiers): Removed this no longer needed private method. + (installKeyboardActions): Removed the code relating to modifier + conversion and made code more readbale by using local variables. + +2005-10-20 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Added new ItemListener field. + (BasicMenuItemUI): Initialized new field. + (installListeners): Installed new listener. + (removeListeners): Removed new listener. + (MenuDragMouseHandler): Class should be private, not + in API. + (MenuKeyHandler): Likewise. + (PropertyChangeHandler): Likewise. + (ItemHandler): New class implemented to change the + state of the menu item if it is a checkbox menu item. + +2005-10-20 Roman Kennke + + * javax/swing/text/BoxView.java + (layoutMinorAxis): Calculate total requirements before calling + the SizeRequirements utility method. Avoids an NPE. + +2005-10-20 David Gilbert + + * javax/swing/plaf/basic/BasicArrowButton.java: Updated API docs all + over, plus: + (defaultSize): removed field, + (upIcon): removed field, + (downIcon): removed field, + (leftIcon): removed field, + (rightIcon): removed field, + (darkShadow): changed color value, + (paint): ignore insets for triangle positioning, but check 'armed' + state, + (paintTriangle): delegate to new private methods depending on + direction, + (paintTriangleNorth): new private method, + (paintTriangleSouth): new private method, + (paintTriangleEast): new private method, + (paintTriangleWest): new private method. + +2005-10-20 Audrius Meskauskas + + * org/ietf/jgss/GSSCredential.java (hashCode), + * org/ietf/jgss/GSSName.java (hashCode): New declarations. + +2005-10-19 Mark Wielaard + + * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but + call urls.add() and addURLImpl() directly on each URL. + +2005-10-19 Andreas Tobler + + * javax/swing/text/html/HTMLEditorKit.java: Add missing import. + +2005-10-19 Audrius Meskauskas + + * javax/swing/text/html/HTMLEditorKit.java (getParser): New method. + +2005-10-19 Audrius Meskauskas + + * javax/swing/text/html/parser/ContentModel.java: Fixed comments for + parameterless constructor. + +2005-10-19 Roman Kennke + + * javax/swing/JComponent.java + (getDebugGraphicsOptions): Removed debug output. + +2005-10-19 Roman Kennke + + * java/awt/Component.java + (isShowing): Fixed condition. + (show): Only repaint if component is showing. + (hide): Only repaint if component was showing. + +2005-10-19 Mark Wielaard + + * javax/security/auth/login/LoginContext.java (lookupModule): + Load LoginModule through Thread context class loader. + +2005-10-19 Mark Wielaard + + * java/net/Socket.java (getImpl): Chain exception before throwing. + +2005-10-19 Roman Kennke + + * javax/swing/AbstractSpinnerModel.java + * javax/swing/ActionMap.java + * javax/swing/BoundedRangeModel.java + * javax/swing/Box.java + * javax/swing/BoxLayout.java + * javax/swing/ButtonGroup.java + * javax/swing/CellEditor.java + * javax/swing/CellRendererPane.java + * javax/swing/ComboBoxEditor.java + * javax/swing/DefaultButtonModel.java + * javax/swing/DefaultCellEditor.java + * javax/swing/DefaultDesktopManager.java + * javax/swing/DefaultListCellRenderer.java + * javax/swing/DesktopManager.java + * javax/swing/ImageIcon.java + * javax/swing/InputVerifier.java + * javax/swing/JCheckBoxMenuItem.java + * javax/swing/JColorChooser.java + * javax/swing/JDesktopPane.java + * javax/swing/JFileChooser.java + * javax/swing/JLayeredPane.java + * javax/swing/JList.java + * javax/swing/JMenu.java + * javax/swing/JMenuBar.java + * javax/swing/JMenuItem.java + * javax/swing/JOptionPane.java + * javax/swing/JPasswordField.java + * javax/swing/JPopupMenu.java + * javax/swing/JProgressBar.java + * javax/swing/JRadioButtonMenuItem.java + * javax/swing/JRootPane.java + * javax/swing/JSeparator.java + * javax/swing/JSlider.java + * javax/swing/JSpinner.java + * javax/swing/JSplitPane.java + * javax/swing/JTabbedPane.java + * javax/swing/JTable.java + * javax/swing/JTextPane.java + * javax/swing/JToolBar.java + * javax/swing/JToolTip.java + * javax/swing/JTree.java + * javax/swing/KeyStroke.java + * javax/swing/LookAndFeel.java + * javax/swing/MutableComboBoxModel.java + * javax/swing/Popup.java + * javax/swing/PopupFactory.java + * javax/swing/RepaintManager.java + * javax/swing/SortingFocusTraversalPolicy.java + * javax/swing/Spring.java + * javax/swing/SwingUtilities.java + * javax/swing/ToolTipManager.java + * javax/swing/TransferHandler.java + * javax/swing/ViewportLayout.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. Removed + unneeded serialization methods. + +2005-10-19 Roman Kennke + + * javax/swing/OverlayLayout.java + (checkLayout): Respect the container's insets correctly. + +2005-10-19 Roman Kennke + + * javax/swing/JLabel.java + (setText): Call revalidate() and repaint(). + +2005-10-19 Roman Kennke + + * javax/swing/JEditorPane.java + Added comments to empty blocks. + (read): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke + + * javax/swing/JComboBox.java + Added comments to empty blocks. + (writeObject): Removed unnecessary serialization method. + (processKeyEvent): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke + + * javax/swing/JButton.java + (removeNotify): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke + + * javax/swing/undo/CannotRedoException.java + * javax/swing/undo/CannotUndoException.java + Put super() call in empty constructors. + +2005-10-19 Roman Kennke + + * javax/swing/tree/DefaultMutableTreeNode.java + * javax/swing/tree/DefaultTreeCellEditor.java + * javax/swing/tree/TreeCellRenderer.java + * javax/swing/tree/TreeModel.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 Roman Kennke + + * javax/swing/text/AbstractDocument.java + * javax/swing/text/AttributeSet.java + * javax/swing/text/ComponentView.java + * javax/swing/text/DefaultCaret.java + * javax/swing/text/DefaultEditorKit.java + * javax/swing/text/DefaultHighlighter.java + * javax/swing/text/EditorKit.java + * javax/swing/text/FieldView.java + * javax/swing/text/FlowView.java + * javax/swing/text/GlyphView.java + * javax/swing/text/JTextComponent.java + * javax/swing/text/LayoutQueue.java + * javax/swing/text/PlainView.java + * javax/swing/text/Segment.java + * javax/swing/text/StyledDocument.java + * javax/swing/text/html/HTMLEditorKit.java + * javax/swing/text/html/HTMLFrameHyperlinkEvent.java + * javax/swing/text/html/parser/DocumentParser.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 David Gilbert + + * javax/swing/plaf/basic/BasicArrowButton.java + (buttonBorder): removed, + (BasicArrowButton): don't set border, use default border, + * javax/swing/plaf/basic/BasicComboBoxUI.java + (configureArrowButton): don't set margin here, + (getPreferredSize): added comment, + (getMinimumSize): icon width is the same as the display area height, + (getDefaultSize): return size of space char plus 1 pixel margin, + (getDisplaySize): take into account the prototype display value, if + there is one, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): updated 'Button.margin' default, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, + JList)): check for null JComboBox, don't set margin here, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (createArrowButton): set margin, + (getMinimumSize): reimplemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): changed 'Button.margin' default to from Insets + to InsetsUIResource. + +2005-10-19 Roman Kennke + + * javax/swing/text/html/HTML.java + * javax/swing/text/html/HTMLDocument.java + Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke + + * javax/swing/text/html/parser/ContentModel.java + * javax/swing/text/html/parser/DTD.java + * javax/swing/text/html/parser/DocumentParser.java + * javax/swing/text/html/parser/Element.java + * javax/swing/text/html/parser/Parser.java + Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke + + * javax/swing/table/TableColumnModel.java: + Fixed some minor API doc errors. + +2005-10-19 Roman Kennke + + * javax/swing/plaf/ActionMapUIResource.java + * javax/swing/plaf/BorderUIResource.java + * javax/swing/plaf/ButtonUI.java + * javax/swing/plaf/ColorChooserUI.java + * javax/swing/plaf/ColorUIResource.java + * javax/swing/plaf/ComboBoxUI.java + * javax/swing/plaf/ComponentInputMapUIResource.java + * javax/swing/plaf/DesktopIconUI.java + * javax/swing/plaf/DesktopPaneUI.java + * javax/swing/plaf/DimensionUIResource.java + * javax/swing/plaf/FileChooserUI.java + * javax/swing/plaf/FontUIResource.java + * javax/swing/plaf/IconUIResource.java + * javax/swing/plaf/InputMapUIResource.java + * javax/swing/plaf/InsetsUIResource.java + * javax/swing/plaf/InternalFrameUI.java + * javax/swing/plaf/LabelUI.java + * javax/swing/plaf/ListUI.java + * javax/swing/plaf/MenuBarUI.java + * javax/swing/plaf/MenuItemUI.java + * javax/swing/plaf/PanelUI.java + * javax/swing/plaf/PopupMenuUI.java + * javax/swing/plaf/ProgressBarUI.java + * javax/swing/plaf/RootPaneUI.java + * javax/swing/plaf/ScrollBarUI.java + * javax/swing/plaf/ScrollPaneUI.java + * javax/swing/plaf/SeparatorUI.java + * javax/swing/plaf/SliderUI.java + * javax/swing/plaf/SpinnerUI.java + * javax/swing/plaf/SplitPaneUI.java + * javax/swing/plaf/TabbedPaneUI.java + * javax/swing/plaf/TableHeaderUI.java + * javax/swing/plaf/TableUI.java + * javax/swing/plaf/TextUI.java + * javax/swing/plaf/ToolBarUI.java + * javax/swing/plaf/ToolTipUI.java + * javax/swing/plaf/TreeUI.java + * javax/swing/plaf/UIResource.java + * javax/swing/plaf/ViewportUI.java + Reformatted slightly. Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke + + * javax/swing/plaf/ComponentUI.java + Filled empty blocks with comments. + (update): Reverted my patch from 2005-10-12. This is wrong. If there + are still clipping problems, then certainly in another area. + +2005-10-19 Roman Kennke + + * javax/swing/plaf/multi/MultiLookAndFeel.java + Filled empty block with comment. + +2005-10-19 Roman Kennke + + * javax/swing/plaf/metal/MetalBorders.java + * javax/swing/plaf/metal/MetalButtonListener.java + * javax/swing/plaf/metal/MetalComboBoxEditor.java + * javax/swing/plaf/metal/MetalComboBoxUI.java + * javax/swing/plaf/metal/MetalFileChooserUI.java + * javax/swing/plaf/metal/MetalIconFactory.java + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + * javax/swing/plaf/metal/MetalProgressBarUI.java + * javax/swing/plaf/metal/MetalScrollBarUI.java + * javax/swing/plaf/metal/MetalSliderUI.java + * javax/swing/plaf/metal/MetalSplitPaneUI.java + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + * javax/swing/plaf/metal/MetalTextFieldUI.java + * javax/swing/plaf/metal/MetalToolBarUI.java + * javax/swing/plaf/metal/MetalTreeUI.java + * javax/swing/plaf/metal/MetalUtils.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 Roman Kennke + + * javax/swing/JComponent.java + (getDebugGraphicsOptions): Fixed to load system property if present. + +2005-10-19 Roman Kennke + + * javax/swing/DebugGraphics.java + (counter): New field. + (color): Removed unneeded field. + (DebugGraphics()): Count up. + (DebugGraphics(Graphics,JComponent)): Call this(Graphics). + (DebugGraphics(Graphics)): Call this(). + (setColor): Implemented logging facility. + (create): Copy debugOptions over to new DebugGraphics instance. + (create(int,int,int,int)): Likewise. + (setFont): Implemented logging facility. + (getColor): Return graphics.getColor(). + (translate): Implemented logging facility. + (setPaintMode): Likewise. + (setXORMode): Likewise. + (clipRect): Likewise. + (setClip(int,int,int,int)): Likewise. + (setClip(Shape)): Likewise. + (drawRect): Likewise. Only flash when FLASH_OPTION is set. + (fillRect): Likewise. + (clearRect): Implemented logging facility. + (drawRoundRect): Likewise. + (fillRoundRect): Likewise. + (drawLine): Likewise. + (draw3DRect): Likewise. + (fill3DRect): Likewise. + (drawOval): Likewise. + (fillOval): Likewise. + (drawArc): Likewise. + (fillArc): Likewise. + (drawPolyline): Likewise. + (drawPolygon): Likewise. + (fillPolygon): Likewise. + (drawString(String,int,int)): Likewise. + (drawString(AttributedCharacterIterator,int,int)): Likewise. + (drawByted): Likewise. + (drawChars): Likewise. Only flash if FLASH_OPTION is set. + (drawImage): Implemented logging facility. (Also applies to all + overloaded versions of this method). + (copyArea): Likewise. + (setDebugOptions): Likewise. + (prefix): New helper method. + * javax/swing/JComponent.java + (getComponentGraphics): Implemented to return DebugGraphics when + needed. + (getDebugGraphicsOptions): Implemented to return the correct options. + Also, this loads a system property gnu.javax.swing.DebugGraphics + if present and evaluates it. + +2005-10-19 Lillian Angel + + * javax/swing/JList.java + (getAccessibleContext): Returned an instance of + AccessibleJList. Should never return null. + +2005-10-19 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added MouseListener and removed MouseInputListener. + (BasicTreeUI): Initialized mouseListener and removed + mouseInputListener. + (removeListeners): Removed mouseListener and removed + mouseInputListener code. + (installListeners): Likewise. + (MouseInputHandler.mousePressed): Moved code to MouseHandler. + (MouseHandler.mousePressed): Likewise. + * javax/swing/plaf/metal/MetalTreeUI.java: + Added MouseListener and removed MouseInputListener. + (installUI): Initialized mouseListener and removed + mouseInputListener. + (uninstallUI): Removed mouseListener and removed + mouseInputListener code. + +2005-10-19 Roman Kennke + + * javax/swing/plaf/basic/BasicBorders.java + * javax/swing/plaf/basic/BasicButtonListener.java + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + * javax/swing/plaf/basic/BasicComboBoxEditor.java + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + * javax/swing/plaf/basic/BasicDesktopIconUI.java + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + * javax/swing/plaf/basic/BasicFileChooserUI.java + * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java + * javax/swing/plaf/basic/BasicGraphicsUtils.java + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + * javax/swing/plaf/basic/BasicInternalFrameUI.java + * javax/swing/plaf/basic/BasicLabelUI.java + * javax/swing/plaf/basic/BasicListUI.java + * javax/swing/plaf/basic/BasicMenuBarUI.java + * javax/swing/plaf/basic/BasicMenuItemUI.java + * javax/swing/plaf/basic/BasicMenuUI.java + * javax/swing/plaf/basic/BasicOptionPaneUI.java + * javax/swing/plaf/basic/BasicPasswordFieldUI.java + * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java + * javax/swing/plaf/basic/BasicRootPaneUI.java + * javax/swing/plaf/basic/BasicScrollPaneUI.java + * javax/swing/plaf/basic/BasicSplitPaneDivider.java + * javax/swing/plaf/basic/BasicSplitPaneUI.java + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + * javax/swing/plaf/basic/BasicTableHeaderUI.java + * javax/swing/plaf/basic/BasicTableUI.java + * javax/swing/plaf/basic/BasicTextAreaUI.java + * javax/swing/plaf/basic/BasicTextUI.java + * javax/swing/plaf/basic/BasicToolBarUI.java + * javax/swing/plaf/basic/BasicToolTipUI.java + * javax/swing/plaf/basic/BasicTreeUI.java + * javax/swing/plaf/basic/BasicViewportUI.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. + +2005-10-18 Roman Kennke + + * javax/swing/filechooser/FileFilter.java: + * javax/swing/filechooser/FileView.java: + Filled empty blocks with comments. + +2005-10-18 Roman Kennke + + * javax/swing/event/EventListenerList.java: + * javax/swing/event/InternalFrameAdapter.java: + * javax/swing/event/MouseInputListener.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors + +2005-10-18 Roman Kennke + + * javax/swing/colorchooser/AbstractColorChooserPanel.java: + * javax/swing/colorchooser/ColorChooserComponentFactory.java: + * javax/swing/colorchooser/DefaultSwatchChooserPanel.java: + Filled empty blocks with comments. + +2005-10-18 Roman Kennke + + * javax/swing/border/AbstractBorder.java: + * javax/swing/border/BevelBorder.java: + * javax/swing/border/Border.java: + * javax/swing/border/CompoundBorder.java: + * javax/swing/border/EmptyBorder.java: + * javax/swing/border/EtchedBorder.java: + * javax/swing/border/LineBorder.java: + * javax/swing/border/MatteBorder.java: + * javax/swing/border/SoftBevelBorder.java: + * javax/swing/border/TitledBorder.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors + +2005-10-18 Lillian Angel + + * java/awt/GridBagLayout.java + (GetLayoutInfo): Added a null check for lastComponent. Prevents + NPE. + +2005-10-18 Lillian Angel + + * javax/swing/JTable.java + (JTable): Moved code around so all models are set before + any other function is called. Prevents all NPEs with + models. + +2005-10-18 Anthony Balkissoon + + * javax/swing/DefaultListSelectionModel.java: + (setLeadSelectionIndex): Avoid index out of bounds error on initial + call of this method by checking explicitly for oldLeadIndex being -1. + Also remove unused BitSet newRange and oldRange. + (moveLeadSelectionIndex): New API method implemented (@since 1.5). + * javax/swing/plaf/basic/BasicListUI.java: + (ListAction.actionPerformed): Make code more readable by declaring + local variables for the actionCommand and for the list's + selectionModel. Implemented the following bindings: + selectLastRowChangeLead, scrollDownChangeLead, scrollUpChangeLead, + selectFirstRowChangeLead, selectNextRowChangeLead, + selectPreviousRowChangeLead, addToSelection, toggleAndAnchor, + extendTo. + (MouseInputHandler.mousePressed): Made code more readable by removing + unnecessary full qualification from variable 'list'. Change + behaviour of shift-click based on whether or not the anchor index is + selected. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added remaining bindings for + Table.ancestorMap. + * javax/swing/plaf/basic/BasicTableUI.java: + (TableAction.actionPerformed): Made type of variables rowModel and + colModel more specific to avoid many casts later on (makes code more + readable). Also declare local variable to store the action command to + make the code more readable. Implemented the following bindings: + selectNextRowChangeLead, selectPreviousRowChangeLead, + selectNextColumnChangeLead, selectPreviousColumnChangeLead, + addToSelection, extendTo, toggleAndAnchor. Added commented-out debug + statement to print unimplemented bindings when used. Added check for + the SPACE character to make sure it doesn't stop editing. + +2005-10-18 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + Removed leafIcon field. + (BasicTreeUI): Removed leafIcon initialization. + (installDefaults): Icon defaults were wrong, fixed. + (isLocationInExpandControl): Fixed to incorporated gap. + (mousePressed): Fixed to include correct icon widths. Sometimes + the labels icon is different from what the tree's default icon is + set to. Added a check for this. + (getCellBounds): No need to include gap here. + (getCurrentControlIcon): Fixed to use expandedIcon and collapsedIcon. + (paintRow): No need paint beyond preferred width of tree here. + (updateCurrentVisiblePath): If nothing is selected, the root should + be selected without focus. + * javax/swing/plaf/metal/MetalTreeUI.java + (installDefaults): Fixed defaults for the expanded/collapsed icons. + +2005-10-18 David Gilbert + + * javax/swing/JComboBox.java + (setModel): update the selectedItemReminder field, + (selectedItemChanged): only send ItemEvent.SELECTED event if the new + selection is non-null. + +2005-10-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): only set default editor if the current editor is + null or implements UIResource, + (uninstallComponents): only clear editor if it implements UIResource. + +2005-10-18 Lillian Angel + + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Set the selected text color for the + text component. + +2005-10-18 Lillian Angel + + * javax/swing/JTree.java + (scrollPathToVisible): Reimplemented to make the path visible if its + parent is not expanded. + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Initialized row height for the tree. + (updateCurrentVisiblePath): Updated the visible row count. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Initialized row height for the tree. + +2005-10-18 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxUI.java + (editablePropertyChanged): handle null selected item. + +2005-10-18 Roman Kennke + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (PropertyChangeHandler.propertyChange): Removed repaint call. + +2005-10-18 Roman Kennke + + * javax/swing/AbstractButton.java + Filled empty blocks with comments. + (ButtonChangeListener.stateChanged): Moved implementation from + inner class in createChangeListener to this protected class. + (setEnabled): Do nothing if actual state does not change. + (createChangeListener): Return instance of ButtonChangeListener + here. + +2005-10-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (buttonBackground): new field, + (shadow): renamed buttonShadow, + (darkShadow): renamed buttonDarkShadow, + (highlight): renamed buttonHighlight, + (installDefaults): initialise buttonBackground, plus updates for + renamed fields, + (uninstallDefaults): clear buttonBackground, plus updates for renamed + fields, + (createEditor): return subclass that implements UIResource, + (createArrowButton): use constructor that accepts colors, + (getMaximumSize): fix API doc error, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): correct 'ComboBox.buttonDarkShadow' default. + +2005-10-18 Roman Kennke + + * javax/swing/JViewport.java + (setView): Added repaint() call. + (revalidate): Removed unnecessary and unspecified method. + (reshape): Fire stateChanged if only the size changes. Do not fire + stateChanged if only the location changes. + (scrollRectToVisible): Reworked most of this method to correctly + determine the scroll offsets. Added validation of view as specified. + +2005-10-18 Roman Kennke + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Removed check for JScrollPane argument. + Added code to respect the insets of the JScrollPane. + (minimumLayoutSize): Likewise. + (layoutContainer): Removed check for JScrollPane argument. + +2005-10-18 Jeroen Frijters + + * java/io/ObjectInputStream.java + (parseContent): Removed bogus println and fixed bug #24422. + +2005-10-17 Lillian Angel + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (setDividerLocation): Added a check for the size + of the splitpane, in some cases the divider's + initial location was being set to 0. + +2005-10-17 Anthony Balkissoon + + * javax/swing/JViewport.java: + (scrollRectToVisible): Return immediately if the View is null. Check + for contentRect being bigger than the port bounds separately in each + direction, rather than together. + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler): Removed this private class that listened directly for + key presses. This is now handled through InputMap-ActionMap pairs. + (ActionListenerProxy): New class to wrap the Actions for this lists + ActionMap. + (ListAction): New class, the actions for keypresses on this list. + (convertModifiers): New private method converts key press modifiers to + the old style (CTRL_MASK instead of CTRL_DOWN_MASK, etc.). + (installKeyboardActions): Get the InputMap from the UIManager and + register new InputMap-ActionMap pairs, then set these as the parents + of the list's InputMap and ActionMap. + (selectNextIndex): Avoid NPE by checking if we're already at the last + index. + (selectPreviousIndex): Check if we're already at the first index. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added bindings for List.focusInputMap. + +2005-10-17 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Moved call to installKeyboardActions and Listeners + to before expansion of root. + (paint): Added check to make sure the cached visible path is updated. + (treeExpanded): Added call to update visible path. + (treeCollapsed): Likewise. + (treeNodesChanged): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (paintRecursive): Moved code to paintRow. + (paintControlIcons): Fixed to paint custom control icons properly. + (paintExpandControl): Removed unneeded parameter. + (paintRow): Added code to paint the row with the correct width. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Moved code to expand the root after all the listeners + have been initialized. + +2005-10-17 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (ItemHandler.itemStateChanged): if combo box is editable, update edit + text field with new selection. + +2005-10-17 David Gilbert + + * javax/swing/event/ListDataListener: + reformatted and added API docs. + +2005-10-17 Roman Kennke + + * javax/swing/JPopupMenu.java + (setVisible): Set size according to the size property instead of + the preferredSize property. + * javax/swing/plaf/basic/BasicComboPopup.java + (ListMouseHandler.mouseReleased): Set comboBox selected index before + closing the popup. + +2005-10-17 Roman Kennke + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Setup colors (more) correctly. + * javax/swing/DefaultListSelectionModel.java + (isSelectedIndex): Check for an illegal index argument. + +2005-10-17 Roman Kennke + + * javax/swing/JComponent.java + Filled empty blocks with comments. + (setVisible): Notify AncestorListeners when visibility state is + changed. + (removeNotifiy): Notify AncestorListeners via fireAncestorEvent + method. + (addNotifiy): Notify AncestorListeners via fireAncestorEvent + method. + +2005-10-17 Roman Kennke + + * javax/swing/JViewport.java + (setView): Removed unnecessary loop. We only have on component. + (isOptimizedDrawingEnabled): Added comment explaining why this + method is necessary. + +2005-10-17 Roman Kennke + + * javax/swing/plaf/basic/BasicComboBoxUI.java + Filled empty blocks with comments. + (FocusHandler.focusLost): Close popup when the combobox loses focus. + * javax/swing/plaf/basic/BasicComboPopup.java + Filled empty blocks with comments. + (updateListBoxSelectionForEvent): Implemented partly. + (ListMouseHandler.mouseReleased): Call updateListBoxSelectionForEvent. + (ListMouseMotionHandler.mouseReleased): Likewise. + +2005-10-17 David Gilbert + + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: + (CustomCellRenderer): new inner class, + (comboState6): new field, + (combo11): new field, + (combo12): new field, + (createContent): add panel from createPanel6(), + (createPanel6): new method, + (actionPerformed): update state for new JComboBoxes, + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): don't create arrowButton until after listBox is + created, set listBox to the JList created by the popup, + * javax/swing/plaf/metal/MetalComboBoxButton.java: + (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, + JList)): set margins to zero, + (paintComponent): use list cell renderer to paint button content, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): add 'List.font' default. + +2005-10-17 Andrew John Hughes + + * java/util/Properties.java: + (storeToXML(OutputStream,String)): Implemented. + (storeToXml(OutputStream,String,String)): Likewise. + +2005-10-17 Audrius Meskauskas + + * gnu/CORBA/Focused_ORB.java: New file. + * gnu/CORBA/Functional_ORB.java, + org/omg/CORBA/ORB.java: Adapted to support the + gnu.CORBA.ListenerPort property. + +2005-10-15 Audrius Meskauskas + + * org/omg/CORBA/DynamicImplementation.java: Made concrete. + (invoke): Implemented. + gnu/CORBA/Simple_delegate.java (request): Implemented. + +2005-10-14 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (treeNodesChanged): Added call to revalidate and resize tree. + * javax/swing/tree/DefaultTreeModel.java + (insertNodeInto): Needed to set parent for new node. + +2005-10-14 Robert Schuster + + * java/net/URLStreamHandler.java: + (toExternalForm): Use "//" + authority format when file part starts + with two slashes. + +2005-10-14 Roman Kennke + + * javax/swing/JComponent.java + (paintLock): Removed unneeded field. + (isCompletelyDirty): New field. + (setBorder): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (paint): Mark this component as clean after painting when the clip + covered the whole component. + (paintImmediately): Find more sensible paint root via new helper + methods. + (paintDoubleBuffered): Don't synchronize here. + (setFont): Don't get active if actual value didn't change. + Otherwise trigger a repaint and revalidate. + (setBackground): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (setForeground): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (setUI): Trigger a repaint. + (findPaintRoot): New helper method. + (findOverlapFreeParent): New helper method. + (findOpaqueParent): New helper method. + * javax/swing/RepaintManager.java + (ComponentComparator): New inner class. Used to sort components + according to their depth in the containment hierarchy. + (dirtyComponents): Use HashMap instead of Hashtable. + (workDirtyComponents): New field. + (repaintOrder): New field. + (workRepaintOrder): New field. + (comparator): New field. + (invalidComponents): Use ArrayList instead of Vector. + (workInvalidComponents): New field. + (RepaintManager): Initialize new fields. + (removeInvalidComponent): Adjusted for ArrayList. + (addDirtyRegion): Return if component in question is not showing. + Insert the new component in the repaintOrder list. + (insertRepaintOrder): New method. Maintains a sorted list of + components. + (getDirtyRegion): Return empty Rectangle instead of null when + component is not dirty, as specified. + (markCompletelyDirty): Set flag in JComponent. + (markCompletelyClean): Synchronize access to fields. + (isCompletelyDirty): Use flag in JComponent to determine this + property. + (validateInvalidComponents): Use workInvalidComponents when + revalidating. This avoids blocking of application threads + in revalidate() calls. + (paintDirtyRegion): Use work* fields when + repainting. This avoids blocking of application threads + in repaint() calls. Simplify actual work, now we simply call + paintImmediatly() on the dirty components. + +2005-10-14 Lillian Angel + + * javax/swing/LookAndFeel.java + (makeIcon): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCachedPreferredSize): Should only add with of control icon if + not a leaf. + (mousePressed): Fixed to use new gap field. + (paintRecursive): Likewise. + (paintRow): Likewise. + (updateCurrentVisiblePath): Shouldn't include root if it is + not of a valid size to be painted. + +2005-10-14 Roman Kennke + + * javax/swing/JLayeredPane.java + (isOptimizedDrawingEnabled): New method. + +2005-10-14 Audrius Meskauskas + + * org/omg/CORBA/PolicyErrorHelper.java, + org/omg/CORBA/PolicyErrorHolder.java, + org/omg/CORBA/UnknownUserExceptionHelper.java, + org/omg/CORBA/UnknownUserExceptionHolder.java, + org/omg/CORBA/WrongTransactionHelper.java, + org/omg/CORBA/WrongTransactionHolder.java: New files. + +2005-10-14 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (nextTabStop): Tab size should be multiplied by the width of 'm', not + added to it. + +2005-10-14 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (getTabSize): Check the Document's properties for + PlainDocument.tabSizeAttribute before defaulting to 8. + +2005-10-14 Anthony Balkissoon + + * javax/swing/text/BoxView.java: + (preferenceChanged): New method (overrides method in View). Set flag + indicating that cached layout information is invalid, then call super + implementation. + +2005-10-14 Anthony Balkissoon + + * javax/swing/text/CompositeView.java: Minor doc fixes. + * javax/swing/text/BoxView.java: Minor doc fixes. + +2005-10-14 Lillian Angel + + * javax/swing/JTree.java + (getAccessibleContext): Fixed API docs, and returned the correct value. + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCachedPreferredSize): Fixed parameter passed to isLeaf, node + should be passed in and not a path. + +2005-10-14 Anthony Balkissoon + + * javax/swing/text/DefaultCaret.java: + (ALWAYS_UPDATE): New field. + (NEVER_UPDATE): New field. + (UPDATE_WHEN_ON_EDIT): New field. + (insertUpdate): Fixed docs. Only update the dot if the policy is + ALWAYS_UPDATE or if the policy is UPDATE_WHEN_ON_EDT and the event + was generated on the Event Dispatch thread. + (removeUpdate): Fixed docs. Only update the dot if the policy is + ALWAYS_UPDATE, if the policy is UPDATE_WHEN_ON_EDT and the event was + generated on the Event Dispatch thread, or if the document length + has become less than the current dot position. + (setUpdatePolicy): New method. + (getUpdatePolicy): New method. + +2005-10-14 Roman Kennke + + * javax/swing/BoxLayout.java + (layoutContainer): Perform layout inside the container's treeLock. + Respect the insets of the container. + +2005-10-14 Lillian Angel + + * javax/swing/JTree.java + (getAccessibleSelectionCount): Fixed API documentation. + (getScrollableTracksViewportWidth): Was using height instead of + width, fixed this. + (getScrollableTracksViewportHeight): Likewise. + * javax/swing/plaf/basic/BasicTreeUI.java + (BasicTreeUI): Initialized validCachedPreferredSize. + (updateCachedPreferredSize): Implemented. + (pathWasExpanded): Implemented. + (pathWasCollapsed): Implemented. + (installDefaults): Fixed API documentation. + (uninstallDefaults): Likewise. + (setPreferredMinSize): Likewise. + (getPreferredMinSize): Likewise. + (getPreferredSize): Reimplemented to use updateCachedPreferredSize. + (startEditing): set validCachedPreferredSize. + (editingStopped): Likewise. + (editingCanceled): Likewise. + (treeExpanded): Likewise. + (treeCollaped): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (getNextVisibleNode): Fixed API documentation. + (getNextNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + (getLevel): Likewise. + (paintVerticalPartOfLeg): Likewise. + +2005-10-14 Audrius Meskauskas + + * org/omg/CORBA/PolicyErrorCodeHelper.java: New class. + +2005-10-14 Audrius Meskauskas + + * org/omg/CORBA/LocalObject.java (_get_interface, _invoke, _is_local, + _orb, _releaseReply, _request, _servant_postinvoke, _servant_preinvoke, + validate_connection): New methods. + +2005-10-14 Michael Koch + + * native/jni/midi-alsa/.cvsignore, + native/jni/midi-dssi/.cvsignore: New files + +2005-10-13 Audrius Meskauskas + + * gnu/CORBA/ObjectCreator.java (forName): + Use gnu.classpath.VMStackWalker. + * gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/gnuValueHolder.java, + gnu/CORBA/stubFinder.java, + gnu/javax/rmi/CORBA/DelegateFactory.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + org/omg/CORBA/ORB.java: Load class via ObjectCreator. + +2005-10-13 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (updateDamage): Made this method protected, not package-private. + +2005-10-13 Roman Kennke + + * javax/swing/BoxLayout.java + (xChildren): New field. + (yChildren): New field. + (xTotal): New field. + (yTotal): New field. + (offsetsX): New field. + (offsetsY): New field. + (spansX): New field. + (spansY): New field. + (preferredLayoutSize): Rewritted to use cached values if available. + (minimumLayoutSize): Rewritted to use cached values if available. + (maximumLayoutSize): Rewritted to use cached values if available. + (layoutContainer): Rewritted to use cached values if available. + (getAlignmentX): Implemented. + (getAlignmentY): Implemented. + (invalidateLayout): Clear the cache. + (getSizeRequirements): Removed unneeded method. Replaced by + checkRequirements(). + (checkTotalRequirements): New helper method. + (checkRequirements): New helper method. + (checkLayout): New helper method. + +2005-10-13 Roman Kennke + + * javax/swing/SizeRequirements.java + (calculateAlignedPositions): Determine baseline using the total + requirements argument. + (adjustFromRight): Use float instead of int for baseline argument. + Don't handle the + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added leafIcon field. + (BasicTreeUI): Initialized leafIcon field. + (installDefaults): Fixed icon defaults. + (getPreferredSize): Fixed up code slightly. + (startEditing): Called revalidate because size of + view may change. + (EditingStopped): Likewise. + (EditingCanceled): Likewise. + (mousePressed): Fixed up icon sizes. + (paintRecursive): Fixed up width painted. + * javax/swing/plaf/metal/MetalTreeUI.java + (installDefaults): Fixed icon defaults. + +2005-10-13 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableHeaderUI.java: + (paint): Reset the clip of the Graphics object after each iteration. + +2005-10-13 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (installDefaults): Initialize rendererPane. + (paintCell): New method to paint an individual cell using a + CellRendererPane, taking borders and highlighting into account. + (paint): Removed direct painting code, let paintCell handle this. + +2005-10-13 Roman Kennke + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Added some more null checks to avoid NPEs. + (minimumLayoutSize): Added some more null checks to avoid NPEs. + +2005-10-13 Jan Roehrich + + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Fixed setting of local JTree reference + +2005-10-13 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (getPreferredSize): Added check to prevent NPE. + (mousePressed): Likewise. + (paintRecursive): Likewise. + (paintExpandedControlIcons): Likewise. + (paintRow): Fixed painting location of textarea. + +2005-10-13 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (updateDamage): Repaint the container if a new line is added. + +2005-10-13 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathForRow): Added check to prevent NPE. + (getRowCount): Likewise. + (getRowForPath): Likewise. + (getPreferredSize): Adjusted width depending on x location and + icon. + (paintRecursive): Likewise. + (getPreviousNode): Added check to prevent NPE. + (getNextVisibleNode): Likewise. + +2005-10-13 Roman Kennke + + * javax/swing/text/PlainView.java + (lineBuffer): New field used as buffer to fetch text from a + document. + (getLineBuffer): New method, provides access to the new field + above. + (modelToView): Use new lineBuffer. + (drawSelectedText): Likewise. + (drawUnselectedText): Likewise. + (determineMaxLineLength): Likewise. + (viewToModel): Likewise. + (updateDamage): Likewise. + +2005-10-13 Roman Kennke + + * javax/swing/text/JTextComponent.java + (replaceSelection): Removed debug statement. + * javax/swing/text/PlainView.java + (updateDamage): Removed unnecessary repaint call. + (damageLineRange): Trigger repaint over the whole width of the + text component at the requested line range. Otherwise we might + not clear deleted text. + * javax/swing/plaf/basic/BasicTextUI.java + (DocumentHandler.changedUpdate): Use visibleEditorRect as + initial allocation. + (DocumentHandler.removeUpdate): Use visibleEditorRect as + initial allocation. + (DocumentHandler.insertUpdate): Use visibleEditorRect as + initial allocation. + (getVisibleEditorRect): If component width and height values are + invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead + of null. + +2005-10-13 David Gilbert + + * javax/swing/plaf/metal/MetalFileChooserUI.java + (DirectoryComboBoxAction): new inner class, + (FileRenderer): new inner class, + (directoryModel): new private field. + +2005-10-13 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added default value for + 'List.focusCellHighlightBorder'. + +2005-10-12 Lillian Angel + + * javax/swing/UIDefaults.java + (getUIClass): Fixed to use the system class loader if + the loader is null. + +2005-10-12 David Daney + + PR classpath/24259 + * gnu/java/net/LineInputStream.java: Import BufferedInputStream. + (Constructor): Don't do blockReads on BufferedInputStreams. + (readLine): Rename MIN_LENGTH to MAX_LENGTH. Limit buffer size to + MAX_LENGTH. + +2005-10-12 Anthony Balkissoon + + * javax/swing/JTable.java: Fixed some API docs and unused imports. + +2005-10-12 Roman Kennke + + * javax/swing/JComponent.java + (paintImmediately): Find the paint root more cleverly, instead of + going up to the root. + (findPaintRoot): New helper method. + (findOverlapFreeParent): New helper method. + (findOpaqueParent): New helper method. + * javax/swing/RepaintManager.java + (addDirtyRegion): Collapse overlapping dirty regions into single + regions. + (paintDirtyRegions): Simple iterator over dirty regions and + paint them. The optimizations are done in JComponent and + addDirtyRegion. + +2005-10-12 Roman Kennke + + * javax/swing/ScrollPaneLayout.java + (minimumLayoutSize): Added checks to avoid NPEs. + +2005-10-12 David Daney + + PR classpath/24086, PR classpath/24091, PR classpath/24104 + * gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java: Removed. + * gnu/java/net/protocol/http/ResponseBodyReader.java: Removed. + * gnu/java/net/protocol/http/event/ConnectionEvent.java: Removed. + * gnu/java/net/protocol/http/event/ConnectionListener.java: Removed. + * gnu/java/net/protocol/http/event/RequestEvent.java: Removed. + * gnu/java/net/protocol/http/event/RequestListener.java: Removed. + * gnu/java/net/protocol/http/event/package.html: Removed. + * gnu/java/net/protocol/http/HTTPConnection.java: Cleaned up imports. + (connectionListeners): Removed. + (requestListeners): Removed. + (pool): New field. + (Constructor): Don't initialize connectionListeners or + requestListeners. + (useCount): New field. + (getPoolKey): New method. + (setPool): New method. + (release): New method. + (newRequest): Don't call fireRequestEvent. Use StringBuilder instead + of StringBuffer. + (close): Don't call fireConnectionEvent. + (getURI):Use StringBuilder instead of StringBuffer. + (addConnectionListener): Removed. + (removeConnectionListener): Removed. + (fireConnectionEvent): Removed. + (addRequestListener): Removed. + (removeRequestListener): Removed. + (fireRequestEvent): Removed. + * gnu/java/net/protocol/http/HTTPURLConnection.java:Cleaned up imports. + (connectionPool): Changed type to LinkedHashMap. + (maxConnections): Made static. + (responseSink): Changed type to InputStream. + (errorSink): Likewise. + (connect): Eliminate reader. Get responseSink from response. + (getConnection): Rewrote. + (getHeaderFields): Use null as key for status line. Return + unmodifiable Map. + * gnu/java/net/protocol/http/Headers.java: Extend LinkedHashMap, + instead of implement Map. + (headers): Removed. + (Constructor): Do not initialize headers. + (size): Removed. + (isEmpth): Removed. + (containsKey): Rewrote. + (containsValue): Removed. + (get): Call super.get(). + (getValue): Likewise. + (getLongValue): New method. + (put): Call super.put(). + (remove): Call super.remove(). + (putAll): Rewrote. + (clear): Removed. + (keySet): Call super.keySet(). + (values): Removed. + (entrySet): Call super.entrySet(). + (equals): Removed. + (hashCode): Removed. + (parse): Use StringBuilder instead of StringBuffer. + (addValue): Call super.* instead of headers.*. + * gnu/java/net/protocol/http/LimitedLengthInputStream.java: New class. + * gnu/java/net/protocol/http/Request.java: Cleaned up imports. + (responseBodyReader): Removed. + (setResponseBodyReader): Removed. + (dispatch): Don't create LineInputStream. Don't call fireRequestEvent. + Don't append CRLF to Request body. Handle unsolicited 100 Continue + response. + (readResponse): Rewrote. + (readResponseBody): Renamed to ... + (createResponseBodyStream): ... And rewritten. + (parseAuthParams): Use StringBuilder instead of StringBuffer. + (getNonceCount): Likewise. + (handleSetCookie): Likewise. + * gnu/java/net/protocol/http/Response.java: Cleaned up imports. + (codeClass): Removed. + (body): New field. + (Constructor): Don't initialize codeClass. Initialize body. + (getCodeClass): Rewrote. + (getLongHeader): New method. + (getBody): New method. + * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Use + StringBuilder instead of StringBuffer. + * gnu/java/net/protocol/http/Cookie.java (toString): Use StringBuilder + instead of StringBuffer. + +2005-10-12 Roman Kennke + + * javax/swing/plaf/basic/BasicFileChooserUI.java + (getFileView): Don't call back into the JFileChooser, avoids + a StackOverflow. + (getApproveButtonText): Likewise. + +2005-10-12 Mark Wielaard + + Fixes bug #22841 + * java/io/ObjectInputStream (validators): Removed field. + (isDeserializing): Removed field. + (currentObjectValidators): New field. + (ObjectInputStream): Remove validators and isDeserializing + initialization. + (readObject): Remove isDeserializing logic. Don't call + invokeValidators() here. + (parseContent): Call invokeValidators() after TC_OBJECT done. + (registerValidation): Create currentObjectValidators if needed. + (invokeValidators): Rewritten. + +2005-10-12 Roman Kennke + + * javax/swing/CellRendererPane.java + (paintComponent): Fix clipping of cells. + * javax/swing/plaf/basic/BasicTableUI.java + (paint): Fix clipping of cells. + +2005-10-12 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: + (insertString): Don't include an ElementChange if no children were + added. + (remove): Don't include an ElementChange if no children were removed. + +2005-10-12 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (insertOrRemoveUpdate): Renamed this method to udpateDamage because + changedUpdate calls it as well. + (updateDamage): This method used to be named insertOrRemoveDamage. + Changes are: If no children were added or removed, repaint only the + area containing the line that was changed. Also, if children were + added or removed, call repaint on the entire container. Also fixed a + serious logic error in the bounds for Document.getText(). + (insertUpdate): Changed call from insertOrRemoveUpdate to updateDamage + and removed repaint call (this is done in updateDamage). + (removeUpdate): Likewise. + (changedUpdate): Implemented. + (damageLineRange): Implemented. + +2005-10-12 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (treeExpanded): Added revalidate call. + (treeCollapsed): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + +2005-10-12 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for FileView. + +2005-10-12 Roman Kennke + + * javax/swing/JViewport.java + (sizeChanged): A new flag, indicating when the size of the + viewport has changed relative to the last painting operation. + (reshape): Set sizeChanged flag if size has changed. + (paintBackingStore): Only create new backingstore image when + the size has changed. + +2005-10-12 Roman Kennke + + * java/awt/Component.java + (reshape): Fixed calculation of newBounds and oldBounds to create + rectangles relative to the parent, and not to the parent's parent. + Solves a painting problem in an app here. + +2005-10-12 Roman Kennke + + * javax/swing/plaf/ComponentUI.java + (update): Only fill the current clip. This solves a problem with + components in JViewport and should also optimize drawing a little. + +2005-10-12 Roman Kennke + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Reworked. The old impl used to actually + modify the layout, which is not allowed. + (minimumLayoutSize): Reworked. The old impl used to actually + modify the layout, which is not allowed. + (layoutContainer): Reworked. The old impl did not properly determine + when the scrollbars should be visible and when not. + +2005-10-12 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (FileIcon16.getIconHeight): add result of getAdditionalHeight(), + (FolderIcon16.getIconHeight): add result of getAdditionalHeight(), + (checkBoxIcon): new private field, + (checkBoxMenuItemIcon): likewise, + (fileChooserDetailViewIcon): likewise, + (fileChooserHomeFolderIcon): likewise, + (fileChooserListViewIcon): likewise, + (fileChooserNewFolderIcon): likewise, + (fileChooserUpFolderIcon): likewise, + (radioButtonMenuItemIcon): likewise, + (internalFrameDefaultMenuIcon): likewise, + (treeComputerIcon): likewise, + (treeFloppyDriveIcon): likewise, + (treeHardDriveIcon): likewise, + (getCheckBoxIcon): return single instance, + (getCheckBoxMenuItemIcon): likewise, + (getFileChooserDetailViewIcon): likewise, + (getFileChooserHomeFolderIcon): likewise, + (getFileChooserListViewIcon): likewise, + (getFileChooserNewFolderIcon): likewise, + (getFileChooserUpFolderIcon): likewise, + (getRadioButtonMenuItemIcon): likewise, + (getInternalFrameDefaultMenuIcon): likewise, + (getTreeComputerIcon): likewise, + (getTreeFloppyDriveIcon): likewise, + (getTreeHardDriveIcon): likewise. + +2005-10-12 Roman Kennke + + * javax/swing/AbstractButton.java + (AbstractButton): Set button to be opaque. + +2005-10-12 Roman Kennke + + * javax/swing/JList.java + (locationToIndex): Put opening brace on next line. + (indexToLocation): Call UI's indexToLocation. + (getCellBounds): Replaced cast with getUI() call. + +2005-10-12 Roman Kennke + + * javax/swing/JFileChooser.java + (getDialogTitle): If no dialog title has been set, forward this + call to the UI. + (getApproveButtonText): If no text has been set, forward this + call to the UI. + (getFileView): If no file view has been set, forward this call + to the UI. + (getInternalFileView): Removed unneeded method. + (getName): Call getFileView instead of getInternalFileView. + (getDescription): Call getFileView instead of getInternalFileView. + (getTypeDescription): Call getFileView instead of + getInternalFileView. + (getIcon): Call getFileView instead of getInternalFileView. + +2005-10-12 Roman Kennke + + * javax/swing/JComponent.java + (setFont): Only get active if the new font differs from the old one. + Call revalidate when font changes. + (setUI): Call revalidate when UI changes. + +2005-10-12 Roman Kennke + + * javax/swing/JComboBox.java + (isFocusTraversable): Removed unneeded and unspecified method. + +2005-10-12 Roman Kennke + + * javax/swing/JViewport.java + (ViewListener.componentResized): Only call revalidate instead of + going through weird reverting code. + (JViewport): First call updateUI, then set layout. + (setViewPosition): Don't do anything if there is no real + change. + (setView): Don't remove the old component. This is handled by + addImpl. Call revalidate(). + * javax/swing/ViewportLayout.java + (layoutContainer): Preferably set view size to it's preferredSize + instead of its minimumSize. + +2005-10-12 Roman Kennke + + * javax/swing/text/JTextComponent.java + (getToolTipText): New method. + +2005-10-12 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Fixed value for + Table.focusCellHighlightBorder. + +2005-10-12 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicColorChooserUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (installDefaults): Only install background color, if installed + color is null or an UIResource instance. + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicLabelUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicListUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Added default for List.font. + * javax/swing/plaf/basic/BasicMenuBarUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicMenuUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicPanelUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicProgressBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicScrollBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicSeparatorUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicSliderUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicSpinnerUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTableUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicToolTipUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicViewportUI.java + (installDefaults): Use new LookAndFeel install* methods. + +2005-10-12 Roman Kennke + + * javax/swing/LookAndFeel.java + (installBorder): Implemented. + (installColors): Implemented. + (installColorsAndFont): Implemented. + +2005-10-12 Mark Wielaard + + Reported by Christian Thalinger + * native/jni/java-lang/java_lang_VMProcess.c + (Java_java_lang_VMProcess_nativeSpawn): Don't delete clazz local + reference twice. + +2005-10-12 David Gilbert + + * javax/swing/event/SwingPropertyChangeSupport.java + (firePropertyChange(PropertyChangeEvent)): if old and new values are + both null, listeners should be notified. + +2005-10-11 David Gilbert + + * javax/swing/DefaultComboBoxModel.java + (setSelectedItem): allow values not in list, and don't fire an event + if the value is unchanged. + +2005-10-11 Anthony Balkissoon + + * javax/swing/text/GapContent.java: + (getPositionsInRange): Corrected interval check. This mirrors Roman's + change in GapContent from 2005-10-05 for adjustPositionsInRange and + setPositionsInRange. + +2005-10-11 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTextUI.java: + (viewToModel): Implemented. + * javax/swing/text/DefaultCaret.java: + (mousePressed): Implemented. + * javax/swing/text/PlainView.java: + (viewToModel): Implemented. + +2005-10-11 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (insertUpdate): Repaint the JTextComponent after the update. + (removeUpdate): Likewise. + +2005-10-11 David Gilbert + + * javax/swing/JFileChooser.java: Added API docs all over. + +2005-10-11 Roman Kennke + + * javax/swing/JEditorPane.java + (AccessibleJEditorPaneHTML): New inner class. + (JEditorPaneAccessibleHypertextSupport): New inner class. + (getAccessibleContext): Handle special case when we have + a HTMLEditorKit. + (setEditorKit): Reset the accessibleContext. + +2005-10-11 David Gilbert + + * javax/swing/filechooser/FileSystemView.java + (defaultFileSystemView): new private field, + (getFileSystemView): initialise (if necessary) and return + defaultFileSystemView. + +2005-10-11 Audrius Meskauskas + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java + (main): Message removed from the loop. + +2005-10-10 Audrius Meskauskas + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java + (main): 3 sec pause replaced by while(..) loop. + +2005-10-10 Audrius Meskauskas + + * gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/gnuValueHolder.java, + gnu/CORBA/stubFinder.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CORBA/ORB.java: Use context class loader. + +2005-10-10 Roman Kennke + + * javax/swing/text/View.java + (modelToView(pos, Shape)): New method. + (viewToModel(float, float, Shape)): New method. + +2005-10-10 Roman Kennke + + * javax/swing/JEditorPane.java + (AccessibleJEditorPane): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJEditorPane. + * javax/swing/JScrollPane.java + (AccessibleJScrollPane): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJScrollPane. + (setViewport): Call accessibleContext's resetViewPort() method. + * javax/swing/JTextArea.java + (AccessibleJTextArea): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJTextArea. + * javax/swing/JTextField.java + (AccessibleJTextField): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJTextField. + * javax/swing/JRootPane.java + (defaultPressAction): New field. + (defaultReleaseAction): New field. + +2005-10-10 Roman Kennke + + * javax/swing/JMenuBar.java + (AccessibleJMenuBar): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJMenuBar. + +2005-10-10 Roman Kennke + + * javax/swing/JComponent.java + (paintChildren): Skip children if their clip _doesn't_ hit the + current clip. + (setVisible): Do nothing if the actual value didn't change. + +2005-10-10 Roman Kennke + + * java/awt/Graphics.java + (hitClip): Implemented this method. + +2005-10-10 Roman Kennke + + * java/awt/Graphics.java: Reformatted file. + +2005-10-10 Roman Kennke + + * java/beans/IndexedPropertyDescriptor.java + (setIndexedReadMethod): Changed signature to throw + IntrospectionException as specified. + (setIndexedWriteMethod): Changed signature to throw + IntrospectionException as specified. + +2005-10-10 Roman Kennke + + * javax/swing/JComponent.java + (rectCache): New field. Caches Rectangle objects for reuse. + (paintChildren): Changed to reuse cached Rectangle object. + +2005-10-10 David Gilbert + + * javax/swing/border/TitledBorder.java + (TitledBorder(String)): Changed default justification and position, + (TitledBorder(Border)): Likewise, + (TitledBorder(Border, String)): Likewise, + (BorderPainter.paint(Graphics)): Use full width and height, + (BorderPainter.paintExcept): Fixed bounds for region 3, + (paintBorder): indented left justified title further, adjusted + ABOVE_TOP text position, adjusted bounds for call to paintExcept(), + updated for renamed fields in Measurements class, + (getMeasurements): added special handling for null text, increased + outer spacing, adjusted spacing for TOP, BOTTOM and BELOW_BOTTOM title + positions, + (Measurements.borderSpacing): renamed outerSpacing, + (Measurements.edgeSpacing): renamed innerSpacing, + (Measurements.getContentInsets): updated for renamed fields, + (Measurements.getMinimumSize): wrap at 80 columns. + +2005-10-09 Mark Wielaard + + Fixes bug #24006 + * java/net/Socket.java (bound): Make package private. + * java/net/ServerSocket.java (implAccept): Set Socket.bound to true. + +2005-10-07 Anthony Green + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (process): call run_multiple_synths if required. + +2005-10-07 Anthony Green + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Attempt + to connect to the jack server automatically. Fail gracefully. + +2005-10-07 Anthony Green + + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java (loadInstrument): + Implement. + (selectProgram_): New native method. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (selectProgram_): New function. + +2005-10-07 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent): + Don't call select on the AWT Choice component. + * java/awt/Choice.java (processItemEvent): Set the selected index + without calling into the peers. + +2005-10-07 Anthony Green + + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java + Doc cleanups. + (DSSISynthesizer.DSSISoundbank): New class. + (DSSISynthesizer.DSSIInstrument): New class. + (soundbanks, defaultSoundbank): New fields. + (getDefaultSoundbank): Implemented. + (getAvailableInstruments): Implemented. + (getProgramName_, getProgramBank_, getProgramProgram_): New native + methods. + (DSSISynthesizer): Create default soundbank. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramName_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramBank_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramProgram_1): + New functions. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + +2005-10-07 Roman Kennke + + * javax/swing/JTable.java + (tableChanged): Revalidate table if its structure changes. + +2005-10-07 Jan Roehrich + + * javax/swing/JTree.java: (JTree): + * javax/swing/plaf/basic/BasicTreeUI.java: (updateRenderer): + moved setting of TreeCellRenderer from JTree to BasicTreeUI. + +2005-10-07 Roman Kennke + + * java/beans/IndexedPropertyDescriptor.java + (setIndexedReadMethod): New method. + (setIndexedWriteMethod): New method. + +2005-10-07 Roman Kennke + + * java/beans/IndexedPropertyDescriptor.java: Reformatted. + +2005-10-07 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Fix icon for disabled selected buttons. + (paint): Only paint focus indicator if button is actually + focusPainted. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (installDefaults): Install icons for disabledIcon and + disabledSelectedIcon. + (paint): Paint the correct icon. Only paint focus indicator + if button is actually focusPainted. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): Only paint focus indicator if button is actually + focusPainted. + +2005-10-07 Roman Kennke + + * javax/swing/JComponent.java + (paint): Call paintBorder before paintChildren. + (reshape): Fire AncestorEvent if position has changed. + (fireAncestorMoved): New method. Fires AncestorEvents to this + component and all of it's children. + +2005-10-07 Roman Kennke + + * javax/swing/BorderFactory.java + (createLineBorder(Color)): Forward call to + createLineBorder(Color, int) with thickness of 1. + +2005-10-06 Anthony Green + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Ignore + controllers that aren't mapped to MIDI controls. + +2005-10-06 Anthony Green + + * INSTALL: Describe midi provider dependencies. + + * native/jni/midi-dssi/README: New file. + * LICENSE (terms): Add notice about code copied from the DSSI + distribution. + + * examples/gnu/classpath/examples/midi/Demo.java: New file. + + * native/jni/midi-dssi/dssi_data.h (dssi_data): Add control_count, + control_port_map, control_value_map, sample_rate, and + control_values fields. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (DEBUG_DSSI_PROVIDER): New macro. + (get_port_default): New function. + (set_control): New function. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove + debug output. Reformat. Allocate the control ports and assign + proper default values. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1): Use + JLONG_TO_PTR. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Ditto. + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java + (Channel.controlChange): Implement. + (controlChange_): New native method. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + + * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Make + instance final. + +2005-10-06 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (determineMaxLength): Avoid NPE by checking the Segment that getText + returns. No need to return Math.max (0, maxLineLength) because + maxLineLength is guaranteed to be 0 or greater. + +2005-10-06 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (determineMaxLength): If maxLineLength is -1 we should return 0. + (insertOrRemoveUpdate): Avoid NPE by checking the Segment that + getText returns. + +2005-10-06 Thomas Fitzsimmons + + * javax/imageio/metadata/IIOMetadata.java: Complete. + +2005-10-06 Roman Kennke + + * javax/swing/text/BoxView.java + (paint): Only call paintChild if child allocation is not empty. + (layout): Don't store the width and height fields here. + (setSize): Store the width and height fields here. + * javax/swing/text/CompositeView.java + (getViewIndexAtPosition): Reworked child view searching. + (getInsideAllocation): Fixed insets calculation. + * javax/swing/text/FlowView.java + (FlowStrategy.layoutRow): Return an offset of -1 if no more child + views are in the logical view. + (FlowStrategy.createView): If there are no more child views, + then return null. + (LogicalView.getViewIndex): New method. Implements child view + searching for the LogicalView. + * javax/swing/text/GlyphView.java + (DefaultGlyphPainter.getHeight): Use Toolkit FontMetrics instead + of parent containers FontMetrics. + (DefaultGlyphPainter.getSpan): Use Toolkit FontMetrics instead + of parent containers FontMetrics. + * javax/swing/text/Utilities.java + (getTabbedTextOffset): Check for 0 in the char array and stop + there. + * javax/swing/text/View.java + (getContainer): If there's no parent, don't throw an Error, instead + return null as specified. + +2005-10-06 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: Implemeted locking. + (insertString): Obtain write lock before altering document. + (readLock): Implemented. + (readUnlock): Implemented. + (remove): Obtain write lock before altering document. + (render): Implemented. + (writeLock): Implemented. + (writeUnlock): Implemented. + (getCurrentWriter): Implemented. + +2005-10-06 Roman Kennke + + * javax/swing/JLabel.java + (JLabel): Set alignmentX value to 0.0F. + +2005-10-06 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (startEditing): Should always change the bounds, whenever + we start editing. + (paintRow): Fixed location where editing component should + be drawn. The constant takes care of the space around the + icon. + * javax/swing/JTree.java + (JTree): Called updateUI first so currentVisiblePath is + cached right away. Prevents NPEs. + +2005-10-06 Tom Tromey + + * javax/print/attribute/SetOfIntegerSyntax.java (toString): Wrote. + (hashCode): Likewise. + (equals): Likewise. + (getMembers): Likewise. + (contains): Fixed boundary condition check. + (next): Wrote. + (normalize): Rewrote. + (SetOfIntegerSyntax): Updated. + (SetOfIntegerSyntax(String)): New constructor. + (skipNumber): New method. + (skipWhitespace): Likewise. + +2005-10-06 Roman Kennke + + * javax/swing/plaf/basic/BasicRootPaneUI.java + (installUI): Call new hook methods. + (installDefaults): New hook method. + (installComponents): New hook method. + (installListeners): New hook method. + (installKeyboardActions): New hook method. + (uninstallUI): New method. + (uninstallDefaults): New hook method. + (uninstallComponents): New hook method. + (uninstallListeners): New hook method. + (uninstallKeyboardActions): New hook method. + +2005-10-06 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (mousePressed): Shouldn't change x location for leaf. + +2005-10-06 Andreas Tobler + + * configure.ac: Add Qt4 configury bits for OS-X. + +2005-10-05 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRow): Fixed indentation. + (updateCurrentVisiblePath): Added FIXME + comment. + +2005-10-05 Roman Kennke + + * javax/swing/text/BoxView.java + (baselineLayout): New method. + (calculateMajorAxisRequirements): Reimplemented to use the + SizeRequirements utility methods. + (calculateMinorAxisRequirements): Reimplemented to use the + SizeRequirements utility methods. + (layout): Use the new baselineLayout method. + (layoutMajorAxis): Reimplemented to use the new + getChildRequirements method. + (layoutMinorAxis): Reimplemented to use the new + getChildRequirements method. + (getChildRequirements): New method. + (getSpan): New method. + (getOffset): New method. + (getAlignment): New method. + * javax/swing/text/ParagraphView.java + (Row.getAlignment): New method. + (getAlignment): New method. + * javax/swing/text/View.java + (getContainer): Improved error message in assertion a little. + +2005-10-05 Lillian Angel + + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Fixed to call toggleExpandState instead. + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathForRow): Used currentVisiblePath to get Path. + (getRowForPath): Used currentVisiblePath to get row. + (getRowCount): Returned currentVisiblePath length. + (updateLayoutCacheExpandedNodes): Took out unneeded code. + (installUI): Fixed to call toggleExpandState instead. + (getPreferredSize): Made more efficent by using currentVisiblePath. + (toggleExpandState): Called updateCurrentVisiblePath. + (getCellLocation): Made more efficent. + (paintNode): Removed. + (paintRecursive): Made more efficent, changed paintNode calls to + paintRow. + (getNextVisibleNode): Reimplemented to use currentVisiblePath. + (getPreviousVisibleNode): Likewise. + (paintRow): Implemented. + (updateCurrentVisiblePath): New helper used to cache the current + visible path. + +2005-10-05 Mark Wielaard + + Reported by Nicolas Geoffray + * java/security/AccessController.java + (doPrivileged(PrivilegedExceptionAction)): If the Exception is a + Runtime exception, then throw the exception directly, otherwise + wrap it. + (doPrivileged(PrivilegedExceptionAction,AccessControlContext)): + Likewise. + +2005-10-05 Roman Kennke + + * javax/swing/text/GapContent.java + (setPositionsInRange): Changed check for interval end to actually + check for the position offsets. + (adjustPositionsInRange): Changed check for interval end to actually + check for the position offsets. + (dump): New method for debugging. + (dumpPositions): New method for debugging. + +2005-10-05 Christian Thalinger + + * m4/acattribute.m4: Added. + * configure.ac: Added AC_C_ATTRIBUTE. + * native/fdlibm/java-assert.h: Added missing config.h include, + changed comments to C comments. + * native/jni/java-lang/java_lang_reflect_Array.c: Added missing + config.h include. + +2005-10-05 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (insertOrRemoveUpdate): New method. + (insertUpdate): New method. + (removeUpdate): New method. + +2005-10-05 Mark Wielaard + + * javax/swing/JOptionPane.java + (showInputDialog(Component,Object,String,int,Icon,Object[],Object)): + Don't cast return value. + (internalShowInputDialog(Component,Object,String,int,Icon,Object[], + Object)): Likewise. + +2005-10-05 Audrius Meskauskas + + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/EmptyExceptionHolder.java, + gnu/CORBA/ForwardRequestHelper.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/_PolicyImplBase.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/universalHolder.java, + org/omg/CORBA/CompletionStatus.java, + org/omg/CORBA/NameValuePairHelper.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/PolicyHelper.java, + org/omg/CORBA/PolicyListHelper.java, + org/omg/CORBA/ServiceDetailHelper.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CosNaming/BindingHelper.java, + org/omg/CosNaming/BindingIteratorHelper.java, + org/omg/CosNaming/BindingIteratorPOA.java, + org/omg/CosNaming/BindingTypeHelper.java, + org/omg/CosNaming/NameComponentHelper.java, + org/omg/CosNaming/NameHelper.java, + org/omg/CosNaming/NamingContextExtHelper.java, + org/omg/CosNaming/NamingContextExtPOA.java, + org/omg/CosNaming/NamingContextHelper.java, + org/omg/CosNaming/NamingContextPOA.java, + org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, + org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, + org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, + org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, + org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, + org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, + org/omg/CosNaming/_BindingIteratorImplBase.java, + org/omg/CosNaming/_NamingContextImplBase.java, + org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, + org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, + org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, + org/omg/DynamicAny/DynAnySeqHelper.java, + org/omg/DynamicAny/NameDynAnyPairHelper.java, + org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, + org/omg/DynamicAny/NameValuePairHelper.java, + org/omg/DynamicAny/NameValuePairSeqHelper.java, + org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, + org/omg/IOP/CodecPackage/FormatMismatchHelper.java, + org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, + org/omg/IOP/CodecPackage/TypeMismatchHelper.java, + org/omg/IOP/IORHelper.java, + org/omg/IOP/MultipleComponentProfileHelper.java, + org/omg/IOP/ServiceContextHelper.java, + org/omg/IOP/ServiceContextListHelper.java, + org/omg/IOP/TaggedComponentHelper.java, + org/omg/IOP/TaggedProfileHelper.java, + org/omg/PortableInterceptor/ForwardRequestHelper.java, + org/omg/PortableInterceptor/InvalidSlotHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, + org/omg/PortableServer/CurrentPackage/NoContextHelper.java, + org/omg/PortableServer/ForwardRequestHelper.java, + org/omg/PortableServer/IdAssignmentPolicyValue.java, + org/omg/PortableServer/IdUniquenessPolicyValue.java, + org/omg/PortableServer/ImplicitActivationPolicyValue.java, + org/omg/PortableServer/LifespanPolicyValue.java, + org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, + org/omg/PortableServer/POAManagerPackage/State.java, + org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, + org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, + org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, + org/omg/PortableServer/POAPackage/NoServantHelper.java, + org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, + org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, + org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, + org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, + org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, + org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, + org/omg/PortableServer/RequestProcessingPolicyValue.java, + org/omg/PortableServer/Servant.java, + org/omg/PortableServer/ServantLocatorHelper.java, + org/omg/PortableServer/ServantRetentionPolicyValue.java, + org/omg/PortableServer/ThreadPolicyValue.java: Added minor codes for BAD_PARAM and NO_RESOURCES. + * gnu/CORBA/Minor.java: Introduces new minor codes. + * org/omg/CORBA/BAD_OPERATION.java, + org/omg/CORBA/MARSHAL.java, + org/omg/CORBA/NO_RESOURCES.java: Documentation update. + +2005-10-05 Stuart Ballard + + * java/rmi/LoaderHandler.java (packagePrefix): Match Sun's value. + * java/rmi/RemoteRef.java (packagePrefix): Likewise. + * java/rmi/RemoteObject.java (readObject): Hardcode the GNU package + prefix. + +2005-10-05 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: + (remove): If removing content returns an UndoableEdit, then add an + ElementEdit to the DocumentEvent before firing. + * javax/swing/text/GapContent.java: + (UndoRemove): New class to implement UndoableEdit for remove operation. + (remove): Return an UndoableEdit instead of null. + +2005-10-05 Roman Kennke + + * javax/swing/text/LabelView.java + (LabelView): Implemented the constructor. + (setPropertiesFromAttributes): New method. + (changedUpdate): New method. + (getBackground): New method. + (setBackground): New method. + (getForeground): New method. + (getFont): New method. + (getFontMetrics): New method. + (isUnderline): New method. + (setUnderline): New method. + (isSubscript): New method. + (setSubscript): New method. + (isSuperscript): New method. + (setSuperscript): New method. + (isStrikeThrough): New method. + (setStrikeThrough): New method. + +2005-10-05 Roman Kennke + + * javax/swing/table/JTableHeader.java + (accessibleContext): Removed unneeded field. The protected + field with the same name should be used instead. + (JTableHeader): Moved field initialization to new method + initializeLocalVars(). + (setColumnModel): Add and remove this to the old and new model. + (columnAdded): New listener method. + (columnMarginChanged): New listener method. + (columnMoved): New listener method. + (columnRemoved): New listener method. + (columnSelectionChanged): New listener method. + (resizeAndRepaint): New method. + (initializeLocalVars): New method. + +2005-10-04 David Gilbert + + * javax/swing/plaf/basic/BasicFileChooserUI.java: Added API docs all + over. + +2005-10-04 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: + (insertString): If inserting a string into the Content returns an + UndoableEdit, then add an ElementEdit to the DocumentEvent before + firing. + (remove): Don't fire a removeUpdate unless some content was actually + removed. + * javax/swing/text/GapContent.java: + (UndoInsertString): New class to implement UndoableEdit functions. + (insertString): Return an UndoableEdit instead of null. Also use + locally calculated length of String rather than calculating again. + * javax/swing/text/JTextComponent.java: + (setText): If the Document is an AbstractDocument this should pass + through AbstractDocument.replace rather than calling remove and insert. + * javax/swing/text/PlainView.java: + (determineMaxLength): Keep track of which line was the longest as well + as the length of it. We'll need this to know when the longest line is + removed and we need to redetermine the longest line. + +2005-10-04 Thomas Fitzsimmons + + * javax/imageio/ImageWriter.java + (processWarningOccurred(int,String,String)): New method. + * javax/imageio/ImageReader.java + (processWarningOccurred(String,String)): New method. + +2005-10-04 Thomas Fitzsimmons + + * javax/imageio/ImageReader.java (getDestination): Throw + IIOException, not IOException. + * javax/imageio/ImageTypeSpecifier.java + (createGrayscale(int,int,boolean)): Rename from createGrayScale. + (createGrayscale(int,int,boolean,boolean)): Likewise. + (createIndexed): Rename from createIndex. + +2005-10-04 Audrius Meskauskas + + * doc/www.gnu.org/corba.wml: + Link to http://doc.omg.org/vendor-tags. + +2005-10-04 Audrius Meskauskas + + * gnu/CORBA/Minor.java: New file. + * gnu/CORBA/CDR/IDLTypeHelper.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/CORBA/CDR/noHeaderInput.java, + gnu/CORBA/DynAn/gnuDynValue.java, + gnu/CORBA/GIOP/CloseMessage.java, + gnu/CORBA/GIOP/ErrorMessage.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/IOR.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Version.java, + gnu/CORBA/cdrEncapsCodec.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/streamReadyHolder.java, + gnu/CORBA/universalHolder.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/StructMemberHelper.java, + org/omg/CORBA/UnionMemberHelper.java, + org/omg/CORBA/ValueMemberHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/_IDLTypeStub.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/_DynAnyFactoryStub.java, + org/omg/IOP/TaggedComponentHelper.java, + org/omg/IOP/TaggedProfileHelper.java, + org/omg/PortableInterceptor/CurrentHelper.java, + org/omg/PortableServer/POAHelper.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/ServantLocatorHelper.java: + Initialising minor codes for MARSHAL. + * org/omg/CORBA/SystemException.java: Documentation update and + add minor code to the exception message. + * org/omg/CORBA/MARSHAL.java: Documentation update. + +2005-10-04 Mark Wielaard + + * javax/swing/plaf/metal/MetalBorders.java (paintBorder): Check + whether Component is JTextComponent. + +2005-10-04 Andreas Tobler + + * javax/imageio/ImageWriter.java (availableLocales, locale, + originatingProvider, output, progressListeners, warningListeners, + warningLocales): Initialize. + (addIIOWriteProgressListener): Check progressListeners against null + to avoid NPE. Create new ArrayList if progressListeners is null. + (addIIOWriteWarningListener): Likewise for warningListeners. + (processImageComplete): Check progressListeners against null to + avoid NPE. + (processImageProgress): Likewise. + (processImageStarted): Likewise. + (processThumbnailComplete): Likewise. + (processThumbnailProgress): Likewise. + (processThumbnailStarted): Likewise. + (processWarningOccurred): Likewise for warningListeners. + (processWriteAborted): Likewise for progressListeners. + (removeAllIIOWriteProgressListeners): Likewise. + (removeAllIIOWriteWarningListeners): Likewise. + (removeIIOWriteProgressListener): Likewise. + (removeIIOWriteWarningListener): Likewise for warningListeners. + + * javax/imageio/ImageReader.java (addIIOReadProgressListener): Check + progressListeners against null to avoid NPE. Create new ArrayList + if progressListeners is null. + (addIIOReadUpdateListener): Likewise for updateListeners. + (addIIOReadWarningListener): Likewise for warningListeners. + (processImageComplete): Check progressListeners against null to + avoid NPE. + (processImageProgress): Likewise. + (processImageStarted): Likewise. + (processImageUpdate): Likewise for updateListeners. + (processPassComplete): Likewise. + (processPassStarted): Likewise. + (processReadAborted): Likewise for progressListeners. + (processSequenceComplete): Likewise. + (processSequenceStarted): Likewise. + (processThumbnailComplete): Likewise. + (processThumbnailPassComplete): Likewise for updateListeners. + (processThumbnailPassStarted): Likewise. + (processThumbnailProgress): Likewise for progressListeners. + (processThumbnailStarted): Likewise. + (processThumbnailUpdate): Likewise for updateListeners. + (processWarningOccurred): Likewise for warningListeners. + (removeIIOReadProgressListener): Likewise for progressListeners. + (removeIIOReadUpdateListener): Likewise for updateListeners. + (removeIIOReadWarningListener): Likewise for warningListeners. + +2005-10-04 Lillian Angel + + * javax/swing/plaf/metal/MetalToolTipUI.java + (paint): Added space around the toolTip's accelerator. + (fetchAcceleratorString): Added code to get mnemonic for + JMenuItem if it does not have an accelerator. + +2005-10-04 Roman Kennke + + * javax/swing/text/DefaultCaret.java + (repaint): Adjust repaint rectangle. + (setVisible): Only repaint if the visible property actually changed. + +2005-10-04 Anthony Balkissoon + + * javax/swing/text/JTextComponent.java: Reformatted file. + +2005-10-04 Roman Kennke + + Fixes Bug #24080 + * javax/swing/SizeRequirements.java + (adjustGreater): Added check to prevent overflow. + +2005-10-04 David Gilbert + + * javax/swing/plaf/basic/BasicToolTipUI.java + (accText): removed, + (accDeliminator): removed, + (accFont): removed, + (accFore): removed, + (getPreferredSize): removed accelerator code (now in MetalToolTipUI), + (getAcceleratorText): removed (equivalent is now in MetalToolTipUI), + (paint): removed accelerator painting, + * javax/swing/plaf/metal/MetalToolTipUI.java + (padSpaceBetweenStrings): new field, + (MetalToolTipUI): initialise defaults, + (getAcceleratorString): new method, + (installUI): new method, + (uninstallUI): new method, + (isAcceleratorHidden): new method, + (getPreferredSize): new method, + (paint): new method, + (fetchAcceleratorString): new private method, + (acceleratorToString): new private method, + * examples/gnu/classpath/examples/swing/Demo.java + (mkButton): set tool tip. + +2005-10-04 Roman Kennke + + * java/awt/Component.java + (getFont): Fall back to peer.getGraphics().getFont() if no font + is found. + (getGraphics): Set font here. This avoids a loop in the above + fallback. + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics): Don't initialize font here. This would cause a + loop in the above fallback. + +2005-10-04 Anthony Green + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (process): Add comments. Remove unused gettimeofday call. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove + debug output. Add comments. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Add + comments. Remove bogus __attribute__((unused)). + * native/jni/midi-dssi/dssi_data.h (JLONG_TO_PTR, PTR_TO_JLONG): + Document helper macros. + (dssi_data): Document. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c: + Formatting fixes. + * native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c + (Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1): + Remove debugging output. + +2005-10-04 Roman Kennke + + * javax/swing/AbstractButton.java + (AbstractButton): Set text to "" here. + +2005-10-04 Andreas Tobler + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (clearRect): Check bg + against null to avoid NPE. + +2005-10-03 Tom Tromey + + * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Use Configuration + to see if library should be loaded. + +2005-10-03 Anthony Balkissoon + + * javax/swing/text/PlainView.java: + (maxLineLength): New variable to cache the length of the longest line. + (determineMaxLength): New implementation method. + (getPreferredSpan): Call determine max length instead of calculating + it here. + +2005-10-03 Tom Tromey + + * java/awt/image/ComponentSampleModel.java (numBands): Updated + javadoc. + (ComponentSampleModel): Set numBands. + * java/awt/image/SampleModel.java (numBands): Now protected. + +2005-10-03 Tom Tromey + + * java/awt/Polygon.java (evaluateCrossings): Removed @see. + * java/awt/image/ImageConsumer.java (SINGLEPASS): Javadoc fix. + * java/awt/Image.java (getGraphics): Removed @see. + * java/awt/MenuComponent.java (setEnabled): Javadoc fix. + (setBackground): Likewise. + * java/awt/event/MouseEvent.java: Added import for javadoc. + * java/awt/im/spi/InputMethodDescriptor.java: Added import for javadoc. + (getAvailableLocales): Javadoc fix. + * java/awt/KeyboardFocusManager.java: Added import for javadoc. + (defaultPolicy): Javadoc fix. + (setGlobalObject): Javadoc fixes. + (getObject): Likewise. + (getGlobalObject): Likewise. + * java/awt/im/InputMethodRequests.java: Added imports for javadoc. + * java/awt/im/spi/InputMethodContext.java: Added imports for javadoc. + (enableClientWindowNotification): Javadoc fix. + * java/awt/im/spi/InputMethod.java: Added imports for javadoc. + (removeNotify): Javadoc fix. + (notifyClientWindowChange): Likewise. + * java/awt/im/InputContext.java: Added import for javadoc. + * java/awt/image/ColorModel.java (getDataElements): Javadoc fix. + * java/awt/geom/Area.java (recursiveSubdivide): Javadoc fix. + * java/awt/geom/GeneralPath.java (GeneralPathIterator): Javadoc fix. + * java/awt/im/InputMethodHighlight.java: Javadoc fixes. Added + imports. + * java/awt/color/ICC_Profile.java (getInstance): Javadoc fix. + (getInstance): Likewise. + * java/awt/EventQueue.java: Organized imports. + * java/awt/image/BufferedImage.java: Organized imports. + * java/awt/image/PackedColorModel.java (initMasks): Javadoc fix. + * java/awt/GraphicsConfiguration.java (createCompatibleVolatileImage): + Javadoc fixes. + * java/awt/DefaultKeyboardFocusManager.java (delayRequests): Javadoc + fix. + * java/awt/ColorPaintContext.java (ColorPaintContext): Javadoc fix. + +2005-10-03 Lillian Angel + + * javax/swing/JOptionPane.java + (getInputValue): If the option selected is 'Cancel', then + the input value is set to null. + (showInternalConfirmDialog): Added check to prevent NPE. + (showInternalConfirmDialog): Likewise. + (showInternalConfirmDialog): Likewise. + (showInternalConfirmDialog): Likewise. + (showInternalOptionDialog): Likewise. + (showOptionDialog): Likewise. + +2005-10-03 Audrius Meskauskas + + * javax/rmi/CORBA/ValueHandler.java (getRunTimeCodeBase): + Fixed return type. + * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java + (getRunTimeCodeBase): Implemented. + +2005-10-03 Lillian Angel + + * javax/swing/JMenuItem.java + (init): Set horizontalTextPosition to TRAILING, instead of + LEFT. Icons are drawn in the correct spot now. + +2005-10-03 Audrius Meskauskas + + * doc/www.gnu.org/corba.wml: New file. + +2005-10-03 David Gilbert + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (layoutLabel): place text to the right of the icon, if there is one. + +2005-10-03 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxButton.java + (paintComponent): reposition text and truncate if necessary, + (truncateText): private utility method. + +2005-10-03 Audrius Meskauskas + + * NEWS: Added entry about Classpath VMCID and IIOP. + +2005-10-02 Anthony Green + + * native/jni/Makefile.am: Maybe build ALSA code. + Maybe build DSSI code. + + * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, + gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java + gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java + gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java + gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Rebuilt. + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c, + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c, + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.c, + native/jni/midi-dssi/dssi_data.h, native/jni/midi-dssi/Makefile.am, + native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c + native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c, + native/jni/midi-alsa/Makefile.am: New files. + + * include/Makefile.am: Add sound header files. + * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, + include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h + include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h + include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, + include/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.h: New + files. + + * configure.ac (AC_CONFIG_FILES): Add + native/jni/midi-alsa/Makefile, native/jni/midi-dssi/Makefile. + +2005-10-02 Mark Wielaard + + * java/awt/Font.java (peer): Make field transient. + (Font(String,int,int)): Explicitly set name field. + (Font(String,Map)): Likewise. + (readObject): New private method. + +2005-10-02 Mark Wielaard + + * java/io/ObjectOutputStream.java (writeObject): Add defining class + to NotSerializableException. + +2005-10-02 Tom Tromey + + * java/net/URLStreamHandler.java (hostsEqual): Javadoc fix. + * java/net/URLClassLoader.java (definePackage): Javadoc fixes. + * java/net/Inet4Address.java (Inet4Address): Javadoc fix. + * java/net/Socket.java (getLocalAddress): Javadoc fix. + * java/net/DatagramSocket.java (connect): Javadoc fix. + +2005-10-02 Audrius Meskauskas + + * gnu/javax/rmi/PortableServer.java, + gnu/javax/rmi/CORBA/ValueHandlerImpl.java, + javax/rmi/BAD_OPERATION.java, + javax/rmi/ORB.java, + javax/rmi/CORBA/ObjectImpl.java, + javax/rmi/CORBA/SystemException.java: Deleted. + +2005-10-02 Audrius Meskauskas + + * gnu/javax/rmi/CORBA/corbaObjectOutput.java (main): + Removed method. + +2005-10-02 Casey Marshall + + * gnu/javax/crypto/DiffieHellmanImpl.java (random): removed. + (): removed 'random' initialization. + (engineDoPhase): use params from the incoming key; generate the + intermediate result from the incoming key, not a random one; only + support one-phase DH, for now. + (engineInit): removed 'random' initialization. + +2005-10-02 Robert Schuster + + * gnu/xml/stream/XMLOutputFactoryImpl.java: + (setProperty): Added 'else'. + +2005-10-02 Audrius Meskauskas + + * gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrBufOutput.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java: Corrected copyright + header identation. + +2005-10-02 Audrius Meskauskas + + * gnu/CORBA/CDR/ArrayValueHelper.java, + gnu/CORBA/CDR/IDLTypeHelper.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/CORBA/CDR/gnuValueStream.java, + gnu/CORBA/CDR/VMVio.java, + gnu/CORBA/IorProvider.java, + gnu/javax/rmi/CORBA/TieTargetRecord.java, + gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java, + gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java: New files. + * gnu/CORBA/CDR/aligningInputStream.java, + gnu/CORBA/CDR/aligningOutputStream.java: + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrBufInput.java, + gnu/CORBA/CDR/cdrBufOutput.java, + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/noHeaderInput.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/IOR_contructed_object.java, + gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingServiceTransient.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Simple_delegate.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + org/omg/CORBA/OMGVMCID.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/SystemException.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/portable/ObjectImpl.java, + org/omg/CORBA_2_3/ORB.java, + org/omg/CORBA_2_3/portable/InputStream.java, + org/omg/CORBA_2_3/portable/OutputStream.java: Modified to support + RMI over CORBA mechanism. + * gnu/javax/rmi/CORBA/DelegateFactory.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + javax/rmi/CORBA/ClassDesc.java, + javax/rmi/CORBA/PortableRemoteObjectDelegate.java, + javax/rmi/CORBA/Stub.java, + javax/rmi/CORBA/StubDelegate.java, + javax/rmi/CORBA/Tie.java, + javax/rmi/CORBA/Util.java, + javax/rmi/CORBA/UtilDelegate.java, + javax/rmi/CORBA/ValueHandler.java, + javax/rmi/CORBA/package.html, + javax/rmi/PortableRemoteObject.java, + javax/rmi/package.html: New files (replacing). + * gnu/javax/rmi/CORBA/ValueHandlerImpl.java, + gnu/javax/rmi/PortableServer.java: Modified to keep the code + compileable between subsequent patches. + +2005-10-02 Thomas Fitzsimmons + + * javax/imageio/ImageIO.java: Fix compilation problems. + +2005-10-01 Mark Wielaard + + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MetalScrollBarPropertyChangeHandler.propertyChange): + Only set free standing when increase or decrease button isn't null. + If not FREE_STANDING_PROP pass up event to super class. + +2005-10-02 Mark Wielaard + + Workarounds for bug #24166 + * javax/imageio/ImageIO.java (filter): Catch IOException in + canDecodeInput(). + (TranscoderFilter.WriterObjectFilter): Renamed to TranscoderFilter. + (getImageReadersBySuffix): Use ReaderObjectFilter, not the nonexisting + ReaderSuffixFilter. + (createImageInputStream): Test with Class.isAssignableFrom() and for + foundSpi == null. + (createImageOutputStream): Likewise and use output, not input. + (getImageReader): Always return null for now. + (getImageReaders): Use input, not object. + (getImageWriters): Rename formatName to format and create a + WriterObjectFilter with type and format not just object. + (getImageWriter): Always return null for now. + (getImageTranscoders): Create TranscoderFilter not ImageTranscoderSpi + instance. + +2005-10-02 David Gilbert + + * javax/swing/plaf/basic/BasicButtonUI.java: API doc updates. + +2005-10-02 Thomas Fitzsimmons + + * javax/imageio/IIOException.java: Document. + * javax/imageio/IIOImage.java: Document. + * javax/imageio/IIOParam.java: Complete and document. + * javax/imageio/IIOParamController.java: Document. + * javax/imageio/ImageIO.java: Complete and document. + * javax/imageio/ImageReader.java: Complete and document. + * javax/imageio/ImageTranscoder.java: Document. + * javax/imageio/ImageTypeSpecifier.java: Complete and document. + * javax/imageio/ImageWriter.java: Complete and document. + * javax/imageio/package.html: Write. + +2005-10-01 Tom Tromey + + PR classpath/23890: + * java/util/Calendar.java (equals): Include other calendar + attributes. + (hashCode): Updated. + * java/util/GregorianCalendar.java (hashCode): New method. + (equals): Use super.equals(). + +2005-10-01 Thomas Fitzsimmons + + * java/awt/image/ComponentSampleModel.java (numBands): Shadow + package-private field in parent class with this protected field. + * java/awt/image/SampleModel.java (numBands): Make field + package-private. + +2005-10-01 Tom Tromey + + PR classpath/23880: + * gnu/java/security/x509/ext/Extension.java (Value.hashCode): New + method. + * gnu/java/security/der/BitString.java (hashCode): New method. + * javax/security/auth/x500/X500Principal.java (hashCode): New method. + +2005-10-01 Jeroen Frijters + + * java/net/URLClassLoader.java + (Resource.name): Removed field. + (JarURLResource.name): Added field. + (FileResource.getURL): Use File.toURL() instead of doing it in + a way that breaks on Windows. + +2005-10-01 Mark Wielaard + + * doc/www.gnu.org/include/layout.wml: Point Tasks menu item to + mediation wiki. + * doc/www.gnu.org/tasks.wml: Redirect to mediation wiki. + +2005-10-01 Andreas Tobler + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): + Call cairo_pattern_set_extend after gr->pattern has been set and checked + versus NULL. + +2005-09-30 Roman Kennke + + * javax/swing/JTextPane.java + (replaceSelection): Don't update the caret position here. + * javax/swing/plaf/basic/BasicTextUI.java + (DocumentHandler.insertUpdate): Likewise. + (DocumentHandler.removeUpdate): Likewise. + * javax/swing/text/DefaultCaret.java + (DocumentHandler): New inner class. Handles caret position updates. + (PropertyChangeHandler): New inner class. (Un)installs document + listener when the text component's document changes. + (install): Install the new listeners on the text component. + (deinstall): Deinstall the new listeners on the text component. + * javax/swing/text/DefaultEditorKit.java + (DefaultKeyTypedAction.actionPerformed): Don't update the caret + position here. + +2005-09-30 Lillian Angel + + * javax/swing/AbstractButton.java + (AbstractButton): updateUI should be called after + everything is initialized, so everything is revalidated. + * javax/swing/JMenuItem.java + (JMenuItem): Added call to init so model is set. + (JMenuItem): Likewise. + * javax/swing/JOptionPane.java + (createDialog): Removed invalidate and repaint calls. + (JOptionPane): Likewise. + * javax/swing/JPopupMenu.java + (setVisible): Changed size to be the preferred size. + +2005-09-30 Lillian Angel + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (paintTabArea): Added check to adjust runCount if + it is less that tabCount. + +2005-09-30 Anthony Balkissoon + + * javax/swing/text/PlainDocument.java: + (removeUpdate): Fixed length of new LeafElement and off-by-one error + in call to rootElement.replace(). + +2005-09-30 Lillian Angel + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (propertyChange): No reason to reset the layout manager here. + (setDividerLocation): Changed to check right component, not left. + Also, updated the location to a valid spot. + +2005-09-30 David Gilbert + + * examples/gnu/classpath/examples/swing/SliderDemo.java: + New file. + +2005-09-30 Lillian Angel + + * javax/swing/AbstractButton.java + (setActionCommand): Added check to prevent NPE. + (getMnemonic): Likewise. + (setMnemonic): Likewise. + (setSelected): Likewise. + (isSelected): Likewise. + (setEnabled): Likewise. + (doClick): Likewise. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): Added check to prevent NPE. + (paintText): Likewise. + +2005-09-30 Lillian Angel + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (propertyChange): Added call to reset the layout manager + whenever the size of the divider is changed. + (setDividerLocation): Added adjustment to container + sizes if the divider goes over the bottom/right side. + Also, fixed the size of the right/top component. + (validLocation): Added check for min/max location returned. + +2005-09-30 Anthony Balkissoon + + * javax/swing/text/StyleContext.java: + (SmallAttributeSet.getAttribute): If the attribute we're looking for is + ResolveAttribute, don't try to check the resolve parent, because this + will cause an infinite loop. + +2005-09-30 Roman Kennke + + * javax/swing/JTable.java + (accessibleContext): Removed unneeded field. This is already + declared in JComponent. + * javax/swing/Box.java + (accessibleContext): Removed unneeded field. This is already + declared in JComponent. + * javax/swing/JFrame.java + (EXIT_ON_CLOSE): New constant field. + +2005-09-30 Anthony Balkissoon + + * javax/swing/text/GapContent.java: + (shiftEnd): Call adjustPositionsInRange rather than getPositionsInRange + and then iterating over the set and adjusting them. + (shiftGap): Likewise. + (shiftGapStartDown): Call setPositionsInRange rather than + getPositionsInRange and then iterating over the set to set each + Position. + (shiftGapEndUp): Likewise. + (setPositionsInRange): New implementation method. + (adjustPositionsInRange): New implementation method. + (resetMarksAtZero): Call setPositionsInRange rather than + getPositionsInRange and then iterating over the set to set each + Position. + +2005-09-30 Roman Kennke + + * javax/swing/JTable.java + (getScrollableUnitIncrement): Respect the direction argument. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (VSBChangeListener.stateChanged): Compare ypos with viewPosition.y + instead of viewPosition.x. + (ViewportChangeHandler.stateChanged): Call + syncScrollPaneWithViewport in all cases, not only when the + extents have changed. + (syncScrollPaneWithViewport): Also sync the maximum and value + properties of the scrollbar models with the viewport. + +2005-09-30 Roman Kennke + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Only call paintFocus if button is actually focused. + +2005-09-30 Roman Kennke + + Fixes Bug #24115 + * javax/swing/AbstractButton.java + (AbstractButton): Don't call init() from here. Moved some + initialization code from init() to the constructor. + (init): Moved most of the initialization code to the constructor. + * javax/swing/JCheckBox.java + (JCheckBox()): call this(..) instead of super(..). Don't call init() + here, this is already performed by the JToggleButton constructor. + (JCheckBox(Action)): Don't call init() here, this is already + performed by the JToggleButton constructor. + (JCheckBox(Icon)): call this(..) instead of super(..). Don't call + init() here, this is already performed by the JToggleButton + constructor. + (JCheckBox(Icon, boolean)): Likewise. + (JCheckBox(String)): Likewise. + (JCheckBox(String, boolean)): Likewise. + (JCheckBox(String, Icon)): Likewise. + (JCheckBox(String, Icon, boolean)): Don' call init here. This is + already performed by the JToggleButton constructor. Set the + correct defaults for horizontalAlignment and borderPainted + properties here. + * javax/swing/JRadioButton.java + (JRadioButton(String, Icon, boolean)): Use acccessor methods + instead of directly manipulating package private fields of + AbstractButton. + * javax/swing/JToggleButton.java + (JToggleButton(String, Icon, boolean)): Set correct value for the + alignmentX property. + +2005-09-30 Mark Wielaard + + * javax/swing/JFileChooser.java: Import AccessibleRole. + +2005-09-30 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (cp_gtk_graphics2d_init_jni): Check ExceptionOccured after running + class initializer. + +2005-09-30 Mark Wielaard + + * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initFont): New static + method. + (GdkFontMetrics): Use initFont() in super() call. + +2005-09-30 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (Java_gnu_java_awt_peer_gtk_GdkTextLayout_getOutline): Initialize all + fields of the FT_Outline_Funcs ftCallbacks struct. + (_moveTo): Takes an void * as argument. + (_lineTo): Likewise. + (_quadTo): Likewise. + (_curveTo): Likewise. + +2005-09-30 Sven de Marothy + + * javax/swing/JFileChooser.java: + (getAccessibleContext): Implement. + (AccessibleJFileChooser): Inner class implemented. + +2005-09-30 Jeroen Frijters + + Fixes Bug 24122 + * gnu/xml/transform/TransformerImpl.java + (writeStreamResult): Added call to connection.setDoInput(false). + +2005-09-29 Tom Tromey + + * java/net/URLConnection.java (setDoInput): Javadoc fix. + (setDoOutput): Likewise. + (setContentHandlerFactory): Likewise. + (setFileNameMap): Likewise. + +2005-09-29 Roman Kennke + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (installUI): Call the new installKeyboardActions hook. + (uninstallUI): Call the new uninstallKeyboardActions hook. + (installKeyboardActions): New hook method. + (uninstallKeyboardActions): New hook method. + +2005-09-29 Roman Kennke + + * javax/swing/plaf/basic/BasicSliderUI.java + (ActionScroller.ActionScroller): Added constructor. + +2005-09-29 Roman Kennke + + * javax/swing/plaf/basic/BasicTableUI.java + (KeyHandler): New inner class. + (createKeyListener): New method. + +2005-09-29 Roman Kennke + + * javax/swing/plaf/basic/BasicTreeUI.java + (getLeftChildIndent): Fixed method signature. + (drawCentered): Fixed method signature. + +2005-09-29 Tom Tromey + + PR classpath/23381: + * java/beans/PropertyDescriptor.java (hashCode): New method. + +2005-09-29 Roman Kennke + + * javax/swing/OverlayLayout.java: Added API docs all over. + +2005-09-29 David Gilbert + + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (createContent): add a close button, + (actionPerformed): perform close action, + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (createContent): add a close button, + (actionPerformed): perform close action. + +2005-09-29 Roman Kennke + + * javax/swing/SizeRequirements.java + (getAlignedSizeRequirements): Fixed calculation of preferred and + maximum size as well as the alignment. + +2005-09-29 Roman Kennke + + Fixes Bug #23851 + * javax/swing/OverlayLayout.java + (OverlayLayout): Implemented. + (invalidateLayout): Implemented. + (addLayoutComponent(Component, Object)): Implemented. + (addLayoutComponent(String, Component)): Implemented. + (removeLayoutComponent): Implemented. + (preferredLayoutSize): Implemented. + (minimumLayoutSize): Implemented. + (maximumLayoutSize): Implemented. + (getLayoutAlignmentX): Implemented. + (getLayoutAlignmentY): Implemented. + (layoutContainer): Implemented. + (checkRequirements): New private helper method. + (checkTotalRequirements): New private helper method. + (checkLayout): New private helper method. + +2005-09-29 David Gilbert + + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: new demo. + +2005-09-29 Thomas Fitzsimmons + + * java/awt/print/PrinterJob.java + (print(PrintRequestAttributeSet)): Remove abstract modifier and + implement. + +2005-09-29 David Gilbert + + * javax/swing/JPopupMenu.java + (setVisible): use current size, not preferred size, when checking for + screen edge, + * javax/swing/plaf/basic/BasicComboPopup.java + (show): include top and bottom insets in preferred size, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (MetalComboBoxButton): don't pass icon to super class, + (paintComponent): call super.paintComponent() and reworked label + drawing. + +2005-09-29 Roman Kennke + + Fixes Bug #24105 + * javax/swing/text/GapContent.java + (GapContentPosition.getOffset): Adjusted assert statement. + (shiftGap): Adjusted index in getPositionsInRange call. Call + resetMarksAtZero if gapStart has moved to 0. + (replace): Call shiftGap and shiftGapEndUp only if necessary. + (resetMarksAtZero): New method. + +2005-09-29 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Added a new field for the gap between the icon and text. + (setPreferredMenuItemSize): Changed gap from defaultTextIconGap + to defaultTextArrowIconGap + +2005-09-29 Tom Tromey + + * java/rmi/activation/ActivationGroup_Stub.java (serialVersionUID): + New field. + +2005-09-28 Lillian Angel + + Fixes Bug #24080 + * java/awt/Window.java + (show): Fixed the synchronized block to fix deadlock + problem. + +2005-09-29 Sven de Marothy + + * gnu/java/awt/peer/gtk/GdkTextLayout.java + (getOutline): Implement as native + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h + Add declaration + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (getOutline): Implement. + +2005-09-29 Roman Kennke + + * java/rmi/server/RMIClassLoader.java + (loadClass(URL, String)): New method. + +2005-09-29 Roman Kennke + + Fixes Bug #24114 + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Set the background color correctly. + +2005-09-29 David Gilbert + + * javax/swing/plaf/basic/BasicIconFactory.java + (getMenuArrowIcon): adjusted the size and painting of the returned + icon, + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): adjusted arrow icon position. + +2005-09-28 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: + (BranchElement.getElementIndex): If there are no children, don't return + -1, instead getStartOffset() will throw NPE. Also, if no child Element + contains the specified offset, return the closest one. + +2005-09-28 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Added check to prevent NPE. + (adjustLocation): Changed else if to if, to + check final y position of tooltip incase + it is still cut off. + +2005-09-28 Roman Kennke + + * java/rmi/server/RMIClassLoader.java: + Moved all implementation code to + gnu.java.rmi.server.RMIClassLoaderImpl. + (getProviderInstance): New helper method to find a provider. + (getDefaultProviderInstance): New helper method to find a provider. + (loadClass(String, String, Class)): New method. + * gnu/java/rmi/server/RMIClassLoaderImpl.java: + New class. The implementation is moved from + java.rmi.server.RMIClassLoader. + +2005-09-28 Anthony Balkissoon + + * javax/swing/text/AbstractDocument.java: + (AbstractElement.getResolveParent): If the AttributeSet's + getResolveParent returns null, use the Element's parent's AttributeSet. + +2005-09-28 Roman Kennke + + * java/rmi/activation/ActivationGroup_Stub.java: + New class. + +2005-09-28 Lillian Angel + + * javax/swing/plaf/basic/BasicSliderUI.java + (paint): No need to call calculateThumbLocation, called + by calculateGeometry. + +2005-09-28 Lillian Angel + + Fixes Bug #23934 + * javax/swing/plaf/basic/BasicSliderUI.java + (paint): Called calculateGeometry, so the slider is + initially set up. + +2005-09-28 Lillian Angel + + Fixes Bug #24080 + * java/awt/Window.java + (show): Added a synchronized block to fix deadlock + problem. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/basic/BasicSliderUI.java + (ActionScroller): Added unused class for binary compatibility. + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (MouseInputHandler): Made inner class public as specified. + * javax/swing/plaf/basic/BasicTableUI.java + (FocusHandler): Made inner class public as specified. + (MouseInputHandler): Made inner class public as specified. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Made method package private, so that other button + UIs can access it. + (paint): Removed unnecessary call to paintButtonNormal(). + (paintButtonNormal): Removed unnecessary method. The background + is already filled correctly when paint() is entered. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Call the new paintFocus() method instead of the inherited + from BasicButtonUI. + (paintFocus): New method. Paints the focus indicator for + JRadioButtons and subclasses. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): New method. Implements custom painting. Mostly, this + is needed in order to call the new paintIcon() method. + (paintIcon): New method. Narrows the types from the super-class + method. + +2005-09-28 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getRowEnd): Call getText() rather than trying to get the Element- + specific portion to avoid GapContent errors. + (getRowStart): Likewise. + +2005-09-28 Tom Tromey + + * javax/sound/midi/MidiUnavailableException.java (serialVersionUID): + New field. + * javax/sound/midi/InvalidMidiDataException.java (serialVersionUID): + New field. + +2005-09-28 David Gilbert + + * javax/swing/UIDefaults.java + (getBoolean(Object)): API doc correction. + +2005-09-28 David Gilbert + + * javax/swing/plaf/metal/MetalButtonListener.java + (propertyChange): check new value of property to determine which + border to set. + +2005-09-28 Lillian Angel + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installDefaults): Fixed checks for setting defaults. + Should check if default is null also. + +2005-09-28 Lillian Angel + + Fixes Bug #24077 + * gnu/java/awt/peer/gtk/GdkFontMetrics.java + (GdkFontMetrics): Added a check for the font + being null. Fixed a NPE. + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics): Added check if the font is null. + If it is, the font should be set to the default. + (setFont): If font parameter is null, this.font should not + be changed. + * javax/swing/JPopupMenu.java: + Fixed API documentation to say 'JDialog' rather than + 'JWindow'. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Made method package private, so that other button + UIs can access it. + (paint): Removed unnecessary call to paintButtonNormal(). + (paintButtonNormal): Removed unnecessary method. The background + is already filled correctly when paint() is entered. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Call the new paintFocus() method instead of the inherited + from BasicButtonUI. + (paintFocus): New method. Paints the focus indicator for + JRadioButtons and subclasses. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): New method. Implements custom painting. Mostly, this + is needed in order to call the new paintIcon() method. + (paintIcon): New method. Narrows the types from the super-class + method. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (createDefaultTheme): Change default back to DefaultMetalTheme. + The Ocean theme is too inconsistent. + +2005-09-28 Roman Kennke + + * java/awt/Font.java + (tk): Made method package private. Must not be protected. + (getFontFromToolkit): Made method package private. Must not + be protected. + (getPeerFromToolkit): Made method package private. Must not + be protected. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (createMouseWheelListener): New hook method for creating + mouse wheel listeners. + (installListeners): Use new hook method to create mouse wheel + listeners. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalProgressBarUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalSeparatorUI.java + (paint): New method. Uses the metal colors for drawing separators. + * javax/swing/plaf/metal/MetalSplitPaneUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTextFieldUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTreeUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/Ocean.java + (addCustomEntriesToTable): New method. Adds some custom UI defaults + for the Ocean theme. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalScrollBarUI.java + (paintThumb): Use new MetalUtils.fillMetalPattern signature. + * javax/swing/plaf/metal/MetalSplitPaneDivider.java + (paint): Use new MetalUtils.fillMetalPattern signature. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + (paintPalette): Use new MetalUtils.fillMetalPattern signature. + (paintComponent): Use new MetalUtils.fillMetalPattern signature. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalBorders.java + (MenuItemBorder.paintBorder): Fixed painting so that a thin white + line is drawn on the left of unarmed items. Fixed color handling. + (PopupMenuBorder.borderInsets): Fixed insets. + (PopupMenuBorder.paintBorder): Removed left white line. This is + drawn now in the MenuItemBorder. + (ToolBarBorder.paintBorder): Use correct call to new MetalUtils + fillMetalPattern method signature. + +2005-09-28 Roman Kennke + + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern): If we have a Graphics2D, then go into + optimized drawing mode. + (fillMetalPattern2D): New method. Implements pattern drawing using + textures. + (initializePattern): New method. Initializes the texture. + +2005-09-28 Roman Kennke + + * java/awt/Font.java: Reformatted file. + +2005-09-28 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (TreeHardDriveIcon): new private class, + (TreeFloppyDriveIcon): new private class, + (TreeComputerIcon): new private class, + (getTreeControlIcon): implemented, + (getTreeComputerIcon): implemented, + (getTreeHardDriveIcon): implemented. + +2005-09-28 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (ToolBarBorder): now implements SwingConstants. + +2005-09-27 Anthony Green + + * javax/sound/midi/MidiSystem.java (getSequence): Add + missing methods. + * javax/sound/midi/Sequencer.java (stopRecording): Ditto. + * javax/sound/midi/ShortMessage.java (ShortMessage): Ditto. + (setMessage): Fix visibility. Add missing implementations. + * javax/sound/midi/ShoundbankResouce.java: Rename "soundBank" to + "soundbank", and "getSoundBank" to "getSoundbank". + +2005-09-27 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (rolloverBorder): new field, + (getRolloverBorder): new method, + * javax/swing/plaf/metal/MetalButtonListener.java: new class, + * javax/swing/plaf/metal/MetalButtonUI.java + (instance): removed field, + (constructor): initialise fields from UI defaults, + (getFocusColor): just return field value, + (getSelectColor): just return field value, + (getDisabledTextColor): just return field value, + (createUI): return a new instance every time, + (installDefaults): check for isRolloverEnabled and install rollover + border if necessary, + (uninstallDefaults): implemented, + (createButtonListener): implemented, + (paintButtonPressed): implemented, + (paintFocus): implemented, + (paintText): implemented. + +2005-09-27 Anthony Balkissoon + + * javax/swing/text/SimpleAttributeSet.java: + (containsAttribute): Check the resolve parent if the attribute is not + found locally. + (containsAttributeLocally): New package-private method. + (isEqual): Re-implemented. Return true if the two sets have the same + size and this set contains the given set. + +2005-09-27 Roman Kennke + + * javax/swing/JSeparator.java + (updateUI): Removed invalidate call. This is unnecessary. + * javax/swing/plaf/basic/BasicSeparatorUI.java + (paint): Reworked painting so that it paints the separator + correctly. + (getPreferredSize): Fixed to return the correct values according + to the JDK. + (getMinimumSize): Likewise. + (getMaximumSize): Likewise. + +2005-09-27 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (RolloverButtonBorder): new class. + +2005-09-27 Roman Kennke + + * javax/swing/BoxLayout.java + (preferredLayoutSize): Fixed to respect the containers insets. + (layoutComponent): Likewise. + +2005-09-27 Roman Kennke + + * javax/swing/SizeRequirements.java + (calculateTiledPositions): Only adjust sizes if the allocated + span is actually different from the used span. + (calculateAlignedPositions): Call adjustFromRight also if + baseline == 0, otherwise we get strange results because 0 * x = 0. + +2005-09-27 Anthony Balkissoon + + * javax/swing/text/SimpleAttributeSet.java: + (removeAttributes(AttributeSet)): Only remove attributes from the + current set if their keys AND values are found in the given set + +2005-09-27 Lillian Angel + + Fixes Bug #24067 + * java/awt/Component.java + (removeNotify): Should call hide on the peer before + disposing of it. This stops the flashing when the + tooltips are removed from the component. + * javax/swing/plaf/basic/BasicToolTipUI.java + (getPreferredSize): If the accelerator is null, we should + paint the mnenomic if it is available. + +2005-09-27 Tom Tromey + + * java/awt/Window.java (createBufferStrategy): Can throw AWTException. + * java/awt/Canvas.java (createBufferStrategy): Can throw AWTException. + +2005-09-27 Lillian Angel + + Fixes Bug #24044 + * javax/swing/ToolTipManager.java + (showTip): currentTip needs to be revalidated on HeavyWeightPopups + * javax/swing/plaf/basic/BasicToolTipUI.java + (getPreferredSize): Fixed to get the preferred size of the + tooltip including the accelerator, if it has one. + (paint): Fixed to paint the accelerator in its font + and color, if it has one. + +2005-09-27 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getRowEnd): New method. + (getRowStart): New method. + +2005-09-27 Tom Tromey + + * java/beans/beancontext/BeanContextServicesSupport.java + (BCSSChild.serialVersionUID): Fixed. + * java/beans/beancontext/BeanContextSupport.java + (BCSChild.serialVersionUID): Fixed. + +2005-09-27 David Gilbert + + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): get border from UI defaults, + * javax/swing/plaf/metal/MetalBorders.java: + (ToolBarBorder): new class, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added tool bar border default, + * javax/swing/plaf/metal/MetalToolBarUI.java + (MetalContainerListener): new class, + (instance): removed field, + (MetalRolloverListener): new class, + (contListener): new field, + (rolloverListener): new field, + (createUI): return a new instance every time, + (createRolloverListener): implemented, + (createContainerListener): implemented, + (createNonRolloverBorder): implemented. + +2005-09-27 Anthony Green + + * javax/sound/midi/MidiFileFormat.java (bytes, microseconds): + Rename to byteLength and microsecondLength respectively. + +2005-09-26 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): validating of toolTipWindow should not have been + removed. + +2005-09-26 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Removed validating of currentTip. setVisible(true) + does this. Also, removed validating of toolTipWindow because + show() does this. + +2005-09-27 Roman Kennke + + * javax/swing/SizeRequirements.java + (adjustGreater): Special handle the case when the components have + no spare room for adjustment. + (adjustSmaller): Special handle the case when the components have + no spare room for adjustment. + +2005-09-27 Roman Kennke + + * java/awt/Component.java + (hide): Repaint component before invalidating the parent. + (show): Repaint component before invalidating the parent. + * javax/swing/JComponent.java + (revalidate): Check if we are in the event thread, and if not, + then queue a self-request in the event thread. + (setVisible): Repaint the parent and queue a revalidate. + +2005-09-27 Sven de Marothy + + * javax/swing/JComboBox.java + (firePopupMenuCanceled): Implement + (firePopupMenuWillBecomeInvisible): Implement + (firePopupMenuWillBecomeVisible): Implement + +2005-09-27 Sven de Marothy + + * javax/swing/text/html/CSS.java + (getAttribute,getAllAttributeKeys): Implement + +2005-09-26 Lillian Angel + + * javax/swing/JTree.java + (JTree): Root should be visible by default. + * javax/swing/ToolTipManager.java + (showTip): Added check for validity of currentTip. Prevents + over-validating. + (hideTip): currentTip should be reset. + * javax/swing/JMenuItem.java + (setAccelerator): Registered accelerator as a keyboard action. + +2005-09-26 Tom Tromey + + * java/lang/reflect/Proxy.java: Javadoc fix. + * java/io/OutputStreamWriter.java (OutputStreamWriter): Javadoc fix. + +2005-09-26 Anthony Green + + * javax/sound/midi/Synthesizer.java (loadInstrument, + unloadInstrument, remapInstrument, loadAllInstruments, + unloadAllInstruments, unloadInstrument, loadInstrument): Don't + declare the unchecked IllegalArgumentException. + * javax/sound/midi/MidiSystem.java (getMidiDevice, write): Ditto. + * javax/sound/midi/ShortMessage.java: Fix 80-column formatting + problem. + * javax/sound/midi/Sequence.java: Ditto. + * javax/sound/midi/MidiMessage.java: Ditto. + * javax/sound/midi/MidiSystem.java: Ditto. + * javax/sound/midi/MidiFileFormat.java: Ditto. + +2005-09-26 Anthony Green + + * javax/sound/midi/InvalidMidiDataException.java + * javax/sound/midi/MidiFileFormat.java + * javax/sound/midi/ControllerEventListener.java + * javax/sound/midi/Patch.java javax/sound/midi/Sequence.java + * javax/sound/midi/SysexMessage.java javax/sound/midi/Sequencer.java + * javax/sound/midi/spi/MidiFileReader.java + * javax/sound/midi/spi/MidiFileWriter.java + * javax/sound/midi/spi/SoundbankReader.java + * javax/sound/midi/spi/MidiDeviceProvider.java + * javax/sound/midi/Track.java javax/sound/midi/MidiChannel.java + * javax/sound/midi/MetaMessage.java javax/sound/midi/Instrument.java + * javax/sound/midi/MidiMessage.java + * javax/sound/midi/MidiUnavailableException.java + * javax/sound/midi/Transmitter.java javax/sound/midi/MidiEvent.java + * javax/sound/midi/VoiceStatus.java javax/sound/midi/MidiDevice.java + * javax/sound/midi/SoundbankResource.java + * javax/sound/midi/Soundbank.java javax/sound/midi/Receiver.java + * javax/sound/midi/MetaEventListener.java + * javax/sound/midi/ShortMessage.java + * javax/sound/midi/Synthesizer.java + * javax/sound/midi/MidiSystem.java: New files. + +2005-09-26 Lillian Angel + + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): If the dialog is a toolTip or a + PopupMenu, its type should be set to: + GDK_WINDOW_TYPE_HINT_MENU, so the parent + window does not lose focus. + * javax/swing/JTree.java + (setModel): Should update the UI everytime the + model is changed. + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Should not set the root to be visible. + (paintControlIcons): changed to use getVisibleRect. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Should not set the root to be visible. + +2005-09-26 Anthony Balkissoon + + * gnu/java/text/BaseBreakIterator.java: + (following): Removed unused local variable. + +2005-09-26 Roman Kennke + + * javax/swing/SizeRequirements.java + (calculateTiledPositions): Improved to also take minimum and maximum + sizes into account and better use the allocated space. + (adjustGreater): New helper function. + (adjustSmaller): New helper function. + +2005-09-25 Casey Marshall + + Fixes PR classpath/23916. Fix suggested by Santiago Gala + . + * java/security/AccessControlContext.java + (): update javadoc; check SecurityPermission + "createAccessControlContext" if a security manager is set. + (getProtectionDomains): new method. + * vm/reference/java/security/VMAccessController.java + (DEBUG): set to 'gnu.classpath.Configuration.DEBUG.' + (pushContext, popContext): add debug statement. + (getContext): debug output changes; include the DomainCombiner + specified in the AccessControlContext, if any. + +2005-09-25 Tom Tromey + + * javax/security/sasl/SaslServerFactory.java: Updated javadoc. + * javax/security/sasl/Sasl.java: Updated javadoc. + * javax/security/sasl/SaslClientFactory.java: Updated javadoc. + * javax/security/sasl/RealmChoiceCallback.java: Updated javadoc. + * javax/security/sasl/RealmCallback.java: Updated javadoc. + * javax/security/sasl/AuthenticationException.java: Updated + javadoc. + * javax/security/sasl/SaslServer.java (getNegotiatedProperty): + Don't throw SaslException. + * javax/security/sasl/SaslClient.java (getNegotiatedProperty): + Don't throw SaslException. + * javax/security/sasl/SaslException.java (serialVersionUID): New + field. + * javax/security/sasl/AuthorizeCallback.java (AuthorizeCallback): + Implements Serializable. + (serialVersionUID): New field. + +2005-09-25 Casey Marshall + + * gnu/java/security/provider/Gnu.java + (): add Diffie-Hellman key factory and key pair generator. + * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java, + * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java: + new files. + +2005-09-24 Roman Kennke + + * javax/swing/SizeRequirements.java + (calculateAlignedPositions): Improved algorithm to better respect + the minimum and maximum size and to better use the available space. + (adjustFromRight): New helper method. + (adjustFromLeft): New helper method. + +2005-09-24 Roman Kennke + + * javax/swing/BoxLayout.java + (layoutContainer): Respect the insets of the container. + +2005-09-24 Roman Kennke + + * javax/swing/JComponent.java + Fixed some API comments. + (paintChildren): Set clip to exclude the border area. + +2005-09-24 Roman Kennke + + * javax/swing/JComponent.java + (paint): Paint border after the children are painted. Otherwise the + children could draw over the border. + +2005-09-24 Roman Kennke + + * javax/swing/SizeRequirements.java + (getAlignedRequirements): Implemented this method. + (calculateAlignedPositions): Implemented this method. + * javax/swing/BoxLayout.java + (Direction): Removed unneeded inner interface. + (Horizontal): Removed unneeded inner class. + (Vertical): Removed unneeded inner class. + (SizeReq): Removed unneeded inner class. + (preferredLayoutSize): Reimplemented to use SizeRequirements. + (minimumLayoutSize): Reimplemented to use SizeRequirements. + (maximumLayoutSize): Reimplemented to use SizeRequirements. + (layoutContainer): Reimplemented to use SizeRequirements. + (layoutAlgorithm): Removed unneeded package private method. + (distributeSpace): Removed unneeded package private method. + (getSizeRequirements): New private helper method. + +2005-09-24 Sven de Marothy + + * gnu/javax/imageio/bmp/BMPDecoder.java + (BMPDecoder): Fix static field references. + +2005-09-24 Sven de Marothy + + * java/awt/Font.java + Fixed comments. + (pointSize): New field. + (Font): Set size fields. + (getSize, getSize2D): Return size fields. + +2005-09-24 Roman Kennke + + * javax/swing/JComponent.java + (paint): Check if clip == null and if so set it to the component's + bounds. + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (getClipBounds): Added null check so that null is returned when + clip == null, instead of throwing an NPE while accessing + null.getBounds2D(). + +2005-09-24 Andreas Tobler + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Replace deprecated + gtk colormap stuff. + +2005-09-24 Roman Kennke + + * javax/swing/JComponent.java + (paint): Activate double buffering if it is not already activated. + (paintImmediately2): Prepare a component graphics object here and + call paintDoubleBuffered with this. + (paintDoubleBuffered): Changed to work nicely with the new paint() + and paintImmediately2() methods. + +2005-09-24 Roman Kennke + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Added font default for + FormattedTextField.font. Solves an NPE that was caused by a null + font on a JFormattedTextField. + +2005-09-24 David Gilbert + + * javax/swing/DefaultComboBoxModel.java + (addElement): always fire event for interval added, and call + setSelectedItem() if this is the first item. + +2005-09-24 David Gilbert + + * javax/swing/DefaultComboBoxModel.java: updated API docs all over. + +2005-09-24 Sven de Marothy + + * java/awt/FontMetrics.java + (getMaxCharBounds, hasUniformLineMetrics): New methods. + +2005-09-24 Sven de Marothy + + * gnu/javax/imageio/bmp/BMPDecoder.java, + * gnu/javax/imageio/bmp/BMPImageReaderSpi.java, + * gnu/javax/imageio/bmp/DecodeBF32.java, + * gnu/javax/imageio/bmp/DecodeRGB8.java, + * gnu/javax/imageio/bmp/BMPException.java, + * gnu/javax/imageio/bmp/BMPInfoHeader.java, + * gnu/javax/imageio/bmp/DecodeRGB1.java, + * gnu/javax/imageio/bmp/DecodeRLE4.java, + * gnu/javax/imageio/bmp/BMPFileHeader.java, + * gnu/javax/imageio/bmp/DecodeRGB24.java, + * gnu/javax/imageio/bmp/DecodeRLE8.java, + * gnu/javax/imageio/bmp/BMPImageReader.java, + * gnu/javax/imageio/bmp/DecodeBF16.java, + * gnu/javax/imageio/bmp/DecodeRGB4.java: + New files. + +2005-09-23 Roman Kennke + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (setFont): If font == null, simply return. Avoids a NPE. + +2005-09-23 Sven de Marothy + + * java/io/OutputStreamWriter.java: + (OutputStreamWriter): Added missing constructors. + +2005-09-23 Lillian Angel + + * java/awt/Component.java + (getFont): Should return null, not a default font. + * javax/swing/ToolTipManager.java + (showTip): Called revalidate currentTip before painted, and + called validate on JDialog toolTip. + +2005-09-23 Roman Kennke + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): Removed debug code. + +2005-09-23 Roman Kennke + + * javax/swing/JScrollPane.java + (setHorizontalScrollBar): Removed handling of listeners on the model. + This is now done in the BasicScrollPaneUI. + (setHorizontalScrollBarPolicy): Added revalidate call. + (setVerticalScrollBar): Removed handling of listeners on the model. + This is now done in the BasicScrollPaneUI. + (setVerticalScrollBarPolicy): Added revalidate call. + (setViewport): Removed handling of listeners on the viewport. + This is now done in the BasicScrollPaneUI. + (createScrollListener): Removed unnecessary and undocumented method. + The functionality of this method is moved to BasicScrollPaneUI + as specified. + (JScrollPane): Removed initialization of removed listener. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (HSBChangeListener): New inner class. + (VSBChangeListener): New inner class. + (ViewportChangeHandler): New inner class. + (PropertyChangeHandler): New inner class. + (MouseWheelHandler): New inner class. + (installUI): Also call installListeners. + (installListeners): New method. Initializes the listeners on the + scrollpane. + (createHSBChangeListener): New method. + (createVSBChangeListener): New method. + (createViewport): New method. + (createPropertyChangeListener): New method. + (uninstallUI): Also call uninstallListeners. + (uninstallListeners): New method. + (syncScrollPaneWithViewport): New method. + (updateColumnHeader): New method. + (updateRowHeader): New method. + (updateScrollBarDisplayPolicy): New method. + (updateViewport): New method. + +2005-09-23 Anthony Balkissoon + + * javax/swing/JTextField.java: Reformatted and added API docs. + +2005-09-23 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Set lightWeightPopupEnabled to default. + Validated and repainted new containerPanel and + repainted toolTipWindow and repainted currentTip. The + toolTips paint well now. + +2005-09-23 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRecursive): Changed clip to be the visible + rectangle of the view. + +2005-09-23 David Gilbert + + * javax/swing/DefaultComboBoxModel.java + (DefaultComboBoxModel(Object[])): set selected item, + (DefaultComboBoxModel(Vector): likewise, + (addElement): reimplemented, + (removeElementAt): update selected item, + (removeAllElements): clear selected item and fire correct event, + (setSelectedItem): update item always, + (getElementAt): return null for index out of bounds, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (paintComponent): check for null selection. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicToolBarUI.java + Added some deprecated and unused fields for binary compatibility. + (installListeners): Fixed method parameters. + (installUI): Call installListeners with fixed method parameters. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicPanelUI.java + (uninstallUI): New method. + (uninstallDefaults): New method. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (MinimumHeight): New constant field. + (MinimumWidth): New constant field. + (minimumWidth): Removed unused field. + (minimumHeight): Removed unused field. + (installDefaults): Removed initializing of minimumSize and + minimumHeight. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Initialize OptionPane.minimumSize from + constant fields in BasicOptionPaneUI. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicMenuUI.java + (ChangeHandler): Added some deprecated and unused fields for + binary compatibility. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (deactivateFrame): New method. + (InternalFramePropertyChangeListener.propertyChange): Call + new deactivate() method instead of getDesktopManager.deactivate() + +2005-09-23 Lillian Angel + + Fixes Bug #24022 + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): Took out unneeded code. + +2005-09-23 Lillian Angel + + Fixes Bug #23529 + * javax/swing/plaf/basic/BasicScrollBarUI.java + (mousepressed): Made delay shorted while pressing the arrow + button. This makes the scrollbar move more smoothly. + (mouseReleased): Reset the delay to the default, so single + clicks only move the scrollbar 1 unit. Also, when the + mouse is released, the scrollbar should move 1 unit. + (shouldScroll): Should not be able to scroll by block + when the mouse is in the thumbRect. + (mousePressed): Made delay shorted while pressing in the + scroll area. This makes the scrollbar move more smoothly. + (mouseReleased): Should move the scrollbar 1 block when the + mouse is released. Also, reset the timer to default delay. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (installKeyboardActions): Call renamed method registerKeyboardActions. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (registerKeyboardAction): Renamed this method to + registerKeyboardActions as specifie. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicListUI.java + (FocusHandler.repaintCellFocus): Marked protected instead of + package private as specified. + (KeyHandler.keyPressed): Call new methods selectNextIndex and + selectPreviousIndex instead of doing the work here. + (PropertyChangeHandler.propertyChange): Update the + updateLayoutStateNeeded field correctly. + (BasicListUI): Removed listener initialization. Moved this + to installListeners. + (installListeners): Initialize listeners here instead in the + constructor. Use the createXXXListener hooks instead of creating + the listeners directly. + (createFocusListener): New hook method for creating a focus listener. + (createListDataListener): New hook method for creating a list + data listener. + (createListSelectionListener): New hook method for creating a list + selection listener. + (createMouseInputListener): New hook method for creating a mouse + input listener. + (createPropertyChangeListener): New hook method for creating a + property change listener. + +2005-09-23 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (OptionDialogBorder): new class. + +2005-09-23 Roman Kennke + + * javax/swing/plaf/basic/BasicColorChooserUI.java + (uninstallDefaultChoosers): New method. + (uninstallUI): Call uninstallDefaultChoosers. + +2005-09-23 Roman Kennke + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): Fix the case when verticalTextPosition=BOTTOM + and without icon. The label text slipped out of the view rectangle + in this case. + +2005-09-23 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (setCurrentTheme): throw exception if argument is null, improved API + docs. + +2005-09-22 Roman Kennke + + * javax/swing/JPanel.java + (accessibleContext): Removed this unnecessary field. Use the + inherited field of the same name from JComponent instead. + +2005-09-22 Roman Kennke + + * javax/swing/UIManager.java + (static_initializer): Load MetalLookAndFeel only as fallback, if + the system property 'swing.defaultlaf' is not defined. Before + it has accidentally loaded the MetalLookAndFeel in all cases, + regardless of the property setting. + +2005-09-22 Roman Kennke + + * javax/swing/JComponent.java + (paintChildren): If a child component is invisible, skip it. + Handle the (rare) case when no clip is set as if it's set to the + child component's bounds. These fixes should make Swing working + again as before. + +2005-09-22 Andreas Tobler + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): + Replace deprecated gtk_window_set_policy with gtk_window_set_resizable. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c + (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Replace deprecated + gtk_container_children with gtk_container_get_children. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c + (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu): Likewise. + (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_delMenu): Likewise. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Replace deprecated + gdk_pixmap_unref with g_object_unref. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked): + Replace deprecated gdk_cursor_destroy with gdk_cursor_unref. + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetParent): + Replace deprecated gtk_container_children with + gtk_container_get_children. + (find_fg_color_widget): Replace deprecated macro GTK_IS_OPTION_MENU with + GTK_IS_COMBO_BOX. + (component_button_release_cb): Replace deprecated gdk_window_get_size + with gdk_drawable_get_size. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): + Replace deprecated gtk_radio_button_group with + gtk_radio_button_get_group. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer_remove): Likewise. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Replace deprecated + gtk_type_new with gtk_drawing_area_new. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyState): Replace deprecated + gdk_*_ref with g_object_ref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II): Likewise. + Replace deprecated gdk_rgb_get_cmap with gdk_rgb_get_colormap. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage): Replace + deprecated gdk_*_ref with g_object_ref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_dispose): Replace deprecated + gdk_*_unref with g_object_unref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyArea): Replace deprecated + gdk_window_copy_area with gdk_draw_drawable. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor): Replace deprecated + gdk_color_alloc with gdk_colormap_alloc_color. + +2005-09-22 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getWordEnd): Implemented. + (getWordStart): Implemented. + +2005-09-22 Keith SEitz + + * gnu/classpath/jdwp/event/filters/StepFilter.java (StepFilter): Do not test + for null thread ID -- just test if it has not been garbage collected. + * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java (ThreadOnlyFilter): + Likewise. + +2005-09-22 Lillian Angel + + * javax/swing/JPopupMenu.java + (setVisible): Size of menu should always be the preferred + size. It was sometimes cutting of the accelerator. + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Increased defaultAcceleratorLabelGap field to 10, to + make menuItem more readable. + +2005-09-22 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getPreviousWord): Fixed incorrect logic. Use preceding() instead of + following(), previous() instead of next(). + +2005-09-22 Anthony Balkissoon + + * gnu/java/text/BaseBreakIterator.java: + (following): Don't restore old CharacterIterator index. + +2005-09-22 Tom Tromey + + * javax/swing/JList.java (AccessibleJList): New constructor. + +2005-09-22 Tom Tromey + + * java/net/ServerSocket.java (accept): Use correct security manager + call. + +2005-09-22 Anthony Balkissoon + + * javax/swing/text/Utilities.java: + (getNextWord): Implemented. + (getPreviousWord): Implemented. + +2005-09-22 Lillian Angel + + * javax/swing/plaf/MetalLookAndFeel.java + (initComponentDefaults): Changed back to original + values. + +2005-09-22 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Moved tooltip location adjustments to a + helper method. + (adjustLocation): New helper method. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed defaults for Table, + TableHeader, Tree to match JDK. + * javax/swing/plaf/MetalLookAndFeel.java + (initComponentDefaults): Fixed defaults for Table and + TableHeader to match JDK. + * javax/swing/plaf/basic/BasicToolTipUI.java + (defaultBorder): Removed, along with inner class. Not needed. + (installDefaults): Changed border to be the default border in + L&F. + +2005-09-22 Roman Kennke + + * javax/swing/JSpinner.java + (ListEditor): New inner class. Provides an editor for the + SpinnerListModel. + +2005-09-22 Tom Tromey + + * java/io/FileWriter.java (FileWriter): Typo fix. + +2005-09-22 Roman Kennke + + * javax/swing/JApplet.java + (accessibleContext): Made field protected as specified. + * javax/swing/JButton.java + (accessibleContext): Removed field. The inherited JComponents + accessibleContext field should be used instead. + * javax/swing/JLabel.java + (accessibleContext): Removed field. The inherited JComponents + accessibleContext field should be used instead. + * javax/swing/JRootPane.java + (JRootPane): Removed unnecessary setDoubleBuffered() call. + +2005-09-22 Anthony Balkissoon + + * javax/swing/text/html/HTML.java: + (SYNTHETIC): Renamed variable SYNTETIC to SYNTHETIC. + (Tag): Changed comment for static Tag IMPLIED. + +2005-09-22 Roman Kennke + + * javax/swing/JViewport.java + (JViewport): Initialize cached fields for blitting. + (setViewPosition): Repaint viewport. + (revalidate): Set damaged flag. Used for blitting. + (reshape): Likewise. + (paint): New method. Decide which paint method to use. + (computeBlit): New method. Computes the parameters for blitting. + (paintSimple): New method. Performs painting in simple mode. + (paintBackingStore): New method. Performs painting in backingstore + mode. + (paintBlit): New method. Performs painting in blit mode. For + now this falls back to backing store mode. + * javax/swing/plaf/basic/BasicViewportUI.java + (ChangeListener): Removed inner class. + (installDefaults): Load default for background color. Changed + signature to protected. + (installListeners): Removed method. + (uninstallDefaults): Changed signature to protected. + (installUI): Call installDefaults(). + (uninstallUI): Call uninstallDefaults(). + (getPreferredSize): Removed. + (paint): Removed. + (paintSimple): Removed. + (paintBackingStore): Removed. + +2005-09-22 Roman Kennke + + * javax/swing/JComponent.java + (AccessibleJComponent.addPropertyChangeListener): Partly omplemented. + (AccessibleJComponent.getAccessibleStateSet): Partly implemented. + (doubleBuffered): Default value of this field is true. + (paint): Moved double buffer painting stuff to separate method. + (paintChildren): Don't call into AWT painting code here. This allows + for a small optimization. + (paintImmediately): Don't go up to the parent window, try to start + painting on the nearest JRootPane if possible. + (paintImmediately2): New method. Actually performs repainting + on the repaint root. + (paintDoubleBuffered): New method. Performs painting using + a double buffer. + (paintSimple): New method. Performs painting without buffer. + +2005-09-22 David Gilbert + + * javax/swing/filechooser/FileFilter.java: reformatted and added API + docs. + +2004-10-09 Tom Tromey + + * java/lang/ClassLoader.java + (defineClass(String,ByteBuffer,ProtectionDomain)): New method. + +2005-09-21 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Fixed location of tooltip. Sometimes + the ToolTip was being cut off. + +2005-09-21 Mark Wielaard + + * gnu/classpath/ByteArray.java: Reindent boilerplate. + +2005-09-21 Andrew John Hughes + + * gnu/classpath/ByteArray.java, + * gnu/javax/crypto/DiffieHellmanImpl.java, + * gnu/javax/crypto/GnuDHPrivateKey.java, + * gnu/javax/crypto/RSACipherImpl.java: + Fixed address within GPL license. + +2005-09-21 Mark Wielaard + + * lib/split-for-gcj.sh: Cut list to 3 package levels deep. + +2005-09-21 Anthony Balkissoon + + * javax/swing/text/html/HTML.java: + (Tag): Changed name of IMPLIED Tag from "implied" to "p-implied" to + match the JDK. + * javax/swing/text/html/HTMLDocument.java: + (AdditionalComments): New field. + +2005-09-21 Anthony Balkissoon + + * javax/swing/text/html/HTMLDocument.java: + (getBase): Implemented. + (setBase): Implemented. + (getPreservesUnknownTags): Implemented. + (setPreservesUnknownTags): Implemented. + (BlockElement): New class partially implemented. + +2005-09-21 Tom Tromey + + * java/awt/BorderLayout.java: Reverted field reordering. + +2005-09-21 Lillian Angel + + * javax/swing/JTable.java + (distributeSpill): Fixed a NPE. + * javax/swing/ToolTipManager.java + (mouseExited): No need to do this stuff, removed code. + (showTip): Revalidating and repainting too much, removed. + (hideTip): Likewise. + +2005-09-21 Tom Tromey + + * java/awt/BorderLayout.java (invalidateLayout): Updated comment. + (setBounds): Likewise. + (MIN, MAX, PREF): Moved nearer top of file. + (getLayoutComponent): New methods. + (getConstraints): New method. + (vgap, hgap, north, south, east, west): Reordered fields to conform + to serialization spec. + +2005-09-21 Anthony Balkissoon + + * javax/swing/text/html/HTMLDocument.java: + (LeafIterator): New class. + (getIterator): Implemented. + (Iterator): New abstract class. + +2005-09-21 Tom Tromey + + * java/math/BigDecimal.java (ZERO, ONE): Now public. Updated + javadoc. + (TEN): New constant. + * java/math/BigInteger.java (ZERO): Updated javadoc. + (ONE): Likewise. + (TEN): New constant. + +2005-09-21 Lillian Angel + + Fixes Bug #23937 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (propertyChange): When WANTS_INPUT_PROPERTY is changed, + the buttons should be updated. + (getButtons): Applied patch in bug report. Sets default + buttons. + +2005-09-21 Lillian Angel + + * javax/swing/ToolTipManager.java + (showTip): Added code to move currentPoint to a new place. + (getGoodPoint): Removed, not needed. + +2005-09-21 David Gilbert + + * javax/swing/plaf/metal/MetalFileChooserUI.java: new file (partial + implementation). + +2005-09-20 Lillian Angel + + * javax/swing/JPopupMenu.java + (setVisible): If HeavyWeightPopup, setLightWeightPopupEnabled + is false. + * javax/swing/ToolTipManager.java + (showTip): Change so toolTips on lightWeightPopups are + added different than those on heavyWeightPopups. + (canToolTipFit): Removed. This is not needed/used. + +2005-09-20 Lillian Angel + + * javax/swing/ToolTipManager.java + (mouseMoved): Removed unneeded code. If the mouse + moves into another component, then mouseEntered would + do the same thing. Otherwise, it is not needed. + (showTip): Fixed so that the containerPanel is an + instance of Panel. Made code more efficent. + Tooltips were causing weird problems with the + JMenus. + (getGoodPoint): Fixed to return a better location. + * javax/swing/plaf/basic/BasicMenuBarUI.java + (mouseClicked): Fixed to prevent a NPE. + +2005-09-20 Tom Tromey + + PR classpath/22906: + * gnu/java/net/protocol/jar/Connection.java (get): Added useCaches + argument. + (connect): Updated. + +2005-09-20 Tom Tromey + + * javax/print/DocFlavor.java (serialVersionUID): Fixed typo. + +2005-09-19 Anthony Balkissoon + + * javax/swing/text/DefaultEditorKit.java: + (write): Partially Implemented and made slight correction to API docs. + * javax/swing/text/html/HTMLEditorKit.java: + (createDefaultDocument): Override parent method because we need to + return an HTMLDocument not a DefaultStyledDocument. + +2005-09-20 Roman Kennke + + Fixes PR #23900. + * javax/swing/JLayeredPane.java + (remove(int)): Removed repaint() call. This is unnecessary because + already triggered by Container.remove(). + (remove(Component)): Removed this superfluous method. It's not + in the specs and the functionality is already in Container. + (paint): New method. Overridden in order to provide reasonable + painting for JLayeredPanes. + +2005-09-20 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler): Renamed to PropertyChangeHandler. This name is + closer to the purpose of this class. + (PropertyChangeHandler.propertyChange): Delegate property change + to propertyChange hook method in the enclosing BasicTextUI. + (propertyChange): New protected method. This serves as a hook + for subclasses to handle property changes in the text component. + * javax/swing/plaf/basic/BasicTextFieldUI.java + (properyChange): Handle editable property here and adjust background + accordingly. + +2005-09-20 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (getParagraphElement): If the position argument is out of the + document's bounds, then the closest paragraph element must be + returned. This is fixed. + +2005-09-20 Roman Kennke + + * javax/swing/JTable.java + (resizeAndRepaint): New protected method. + +2005-09-20 Tom Tromey + + * javax/xml/namespace/QName.java: Now Serializable. + (serialVersionUID): New field. + (qName, hashCode): Now transient. + (QName): Don't compute qName here. + (equals): Now final. + (hashCode): Simplified. + (toString): Compute qName here. + +2005-09-20 Roman Kennke + + * javax/swing/plaf/metal/MetalBorders.java + (getTextFieldBorder): This method must return an BorderUIResource + instance. Fixed. + +2005-09-20 Mark Wielaard + + Reported by Martin Cordova + * native/jni/java-net/javanet.c (_javanet_accept): Throw + SocketTimeoutException on EAGAIN timeout. + +2005-09-20 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Handle the rollover UIDefaults property. + (paintText): Correctly paint disabled button label text. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fix some text component border defaults. + * javax/swing/plaf/basic/BasicTextPaneUI.java + (installUI): New method. This sets up some style attributes + for the JTextPane. + +2005-09-20 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefault): Added and fixed some UI defaults. + +2005-09-20 Roman Kennke + + * javax/swing/plaf/metal/MetalBorders.java + (ButtonBorder.paintBorder): Fetch correct color for disabled + button border. + (getTextFieldBorder): Correctly initialize text field border. This + should be a compound border with a MarginBorder and TextFieldBorder + instead of a plain TextFieldBorder. + (getTextBorder): New method. + +2005-09-20 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (setParagraphAttributes): Implemented this method. + (insertUpdate): Fixed attribute comparison to avoid NPE. + +2005-09-20 Thomas Fitzsimmons + + PR awt/23951 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (isRealized): Leave GDK critical region when exiting early. + +2005-09-19 Tom Tromey + + * java/awt/PopupMenu.java (AccessibleAWTPopupMenu.serialVersionUID): + New field. + * java/awt/TextField.java (AccessibleAWTTextField.serialVersionUID): + New field. + * java/awt/TextArea.java (AccessibleAWTTextArea.serialVersionUID): + New field. + * java/awt/Menu.java (AccessibleAWTMenu.serialVersionUID): New field. + * java/awt/CheckboxMenuItem.java (AccessibleAWTCheckboxMenuItem.serialVersionUID): + New field. + * java/awt/TextComponent.java (AccessibleAWTTextComponent.serialVersionUID): + New field. + * java/awt/MenuItem.java (AccessibleAWTMenuItem.serialVersionUID): + New field. + * java/awt/Frame.java (AccessibleAWTFrame.serialVersionUID): New + field. + * java/awt/Dialog.java (AccessibleAWTDialog.serialVersionUID): New + field. + * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): New + field. + * java/awt/Window.java (AccessibleAWTWindow.serialVersionUID): New + field. + * java/awt/ScrollPane.java (AccessibleAWTScrollPane.serialVersionUID): + New field. + * java/awt/List.java (AccessibleAWTList.serialVersionUID): New field. + (AccessibleAWTListChild.serialVersionUID): Likewise. + (AccessibleAWTListChild.parent): Moved earlier. + (AccessibleAWTListChild.indexInParent): Renamed. + +2005-09-19 David Gilbert + + * javax/swing/filechooser/FileView.java: + Reformatted and added API doc comments. + +2005-09-19 Anthony Balkissoon + + * javax/swing/JRootPane.java: + (createGlassPane): Don't set the layout manager to BorderLayout. Leave + it as JPanel's default FlowLayout. + +2005-09-19 Lillian Angel + + * javax/swing/ToolTipManager.java: + Changed tooltip to be JDialog (no entry in taskbar), + instead of JWindow. + (actionPerformed): No need to start timer here. + (mouseEntered): No need to call showTip here, it is called + when the timer fires. + (showTip): Shouldn't show tip if it is already visible or + the current component is not showing. + * javax/swing/plaf/basic/BasicTreeUI.java + (getRowForPath): Re-implemented. + (mousePressed): Call getRowForPath instead, also + added a check in for leaf icons. + +2005-09-19 Anthony Balkissoon + + * javax/swing/JLayeredPane.java: + (): Set layout manager to null. + +2005-09-19 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + (GlassPaneDispatcher.handleEvent): Added check for mouseEventTarget + being null to avoid NPE. + +2005-09-19 Anthony Balkissoon + + * javax/swing/JRootPane.java: + (RootLayout.layoutContainer): Added comment about how the + components should be sized. Fixed size of glassPane which fills the + entire viewable region, including overtop the menuBar. Used bounds + minus insets for containerSize, as indicated in comment, rather than + getSize(). Used setBounds instead of setSize for layeredPane because + its relation to the other components' sizes is more obvious that way. + +2005-09-19 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + (GlassPaneDispatcher.handleEvent): Replaced call to SwingUtilities' + convertMouseEvent (with identical source and desination) with a simple + cast. If acquireComponentForMouseEvent reveals we're going to + re-dispatch this event to ourselves (and loop infinitely), return. Also + replaced contentPane by glassPane as the source argument to + SwingUtilities.convertMouseEvent since the glassPane is the real + source. + +2005-09-19 David Gilbert + + * javax/swing/plaf/basic/BasicArrowButton.java + (paintTriangle): minor correction to highlight on triangle for disabled + buttons. + +2005-09-19 Tom Tromey + + * javax/print/DocFlavor.java (BYTE_ARRAY.serialVersionUID): New field. + (INPUT_STREAM.serialVersionUID): Likewise. + +2005-09-19 Tom Tromey + + * java/text/DateFormat.java (serialVersionUID): New field. + +2005-19-19 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (selectPath): Changed so DISCONTIGUOUS_TREE_SELECTION is the + default. + * javax/swing/JTree.java + (AccessibleJTreeNode): Initialized all fields. + (addAccessibleSelection): Implemented. + (clearAccessibleSelection): Implemented. + (doAccessibleAction): Implemented. + (getAccessibleAction): Implemented. + (getAccessibleActionCount): Implemented. + (getAccessibleActionDescription): Implemented. + (getAccesssibleChild): Remove mod variable, made global. + (getAccessibleComponent): Changed to return this, since this + class implements AccessibleComponent. + (getAccessibleSelection): Likewise. + (getAccessibleSelection): Implemented. + (getAccessibleSelectionCount): Implemented. + (getAccessibleStateSet): Remove mod variable, made global. + (getCursor): Implemented. + (isAccessibleChildSelected): Remove mod variable, made global. + (removeAccessibleSelection): Implemented. + (selectAllAccessibleSelection): Implemented. + (setCursor): Implemented. + (AccessibleJTree): Nothing to do. + (getAccessibleAt): Implemented. + (getAccessibleSelection): Implemented. + (getAccessibleSelection): Implemented. + +2005-09-19 Tom Tromey + + * javax/xml/xpath/XPathFunctionException.java (serialVersionUID): New + field. + * javax/xml/xpath/XPathFactoryConfigurationException.java + (serialVersionUID): New field. + * javax/xml/xpath/XPathExpressionException.java (serialVersionUID): New + field. + * javax/xml/xpath/XPathException.java (serialVersionUID): New field. + * javax/xml/transform/TransformerConfigurationException.java (locator): + Removed. + (TransformerConfigurationException): Pass locator to super constructor. + (serialVersionUID): New field. + * javax/xml/transform/TransformerFactoryConfigurationError.java + (serialVersionUID): New field. + * javax/xml/transform/TransformerException.java (containedException): + Renamed field. + (serialVersionUID): New field. + +2005-09-19 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChange): Handle changes of the editable + property. + (paintBackground): Moved implementation to + UpdateHandler.propertyChange. This method itself should not fill + the background. + +2005-09-19 Mark Wielaard + + * native/jni/java-net/java_net_VMInetAddress.c + (Java_java_net_VMInetAddress_getHostByAddr): Add error string as + exception message. + * native/jni/java-net/javanet.c (_javanet_accept): Likewise. + (_javanet_shutdownInput): Likewise. + (_javanet_shutdownOutput): Likewise. + +2005-09-19 Roman Kennke + + * javax/swing/border/TitledBorder.java + (paintBorder): Correctly set the Y offset for the border title. + (getMeasurements): Determine the correct Y offset for the border + title. + +2005-09-19 Robert Schuster + + * java/awt/Checkbox.java: + (Checkbox): Properly set as selected checkbox in corresponding + checkbox group. + (paramString): Removed checkbox group information. + * java/awt/Component.java: + (paramString): Removed redundant "=". + +2005-09-19 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): call configureArrowButton after creating button, + (configureEditor): set the selected item, + (configureArrowButton): set a zero margin, + (getPreferredSize): delegate to getMinimumSize(), + (getMinimumSize): now uses code that was in getPreferredSize(), + (getDefaultSize): reduce default height, + (ComboBoxLayoutManager.layoutComponent): use comboBox height as button + width, + (PropertyChangeHandler.propertyChange): set font on arrow button, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (instances): deleted field, + (MetalComboBoxLayoutManager): new class, + (MetalPropertyChangeListener): new class, + (MetalComboPopup): new class, + (createUI): just return new instance, + (createEditor): implemented, + (createPopup): implemented, + (createArrowButton): implemented, + (createPropertyChangeListener): implemented, + (paint): implemented, + (editablePropertyChanged): implemented, + (createLayoutManager): implemented, + (removeListeners): implemented, + (getMinimumSize): implemented. + +2005-09-19 Andreas Tobler + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Fix double + unreferencing pfont->font. Unref pfont->layout instead. + +2005-09-18 Tom Tromey + + * java/util/Timer.java (TaskQueue.purge): New method. + (Timer(String)): New constructor. + (Timer(String,boolean)): Likewise. + (purge): New method. + +2005-09-18 Tom Tromey + + * java/lang/Short.java (valueOf): New method. + * java/lang/Double.java (valueOf): New method. + * java/lang/Float.java (valueOf): New method. + +2005-09-18 Tom Tromey + + * java/lang/Long.java (reverse): Correctly handle sign extension. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): remove listBox color settings, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): corrected ComboBox and ListBox defaults. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + (BasicComboBoxRenderer): set no focus border, + (getListCellRendererComponent): set background color if cell has focus, + removed border switching code. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (borderInsets): deleted, + (arrowButtonWidth): deleted, + (configureEditor): set font, + (isFocusTraversable): set to true for non-editable combobox, + (paint): deleted border painting code, + (paintBorder): deleted, + (getPreferredSize): returns a value, not null, + (getMinimumSize): likewise, + (getMaximumSize): likewise, + (rectangleForCurrentValue): reimplemented, + (paintCurrentValue): no longer adjusts for border insets, + (getDisplaySize): update maximum width and height independently, + (ComboBoxLayoutManager): removed redundant 'extends Object', + (ComboBoxLayoutManager.preferredLayoutSize): call getPreferredSize(), + (ComboBoxLayoutManager.minimumLayoutSize): delegate to + preferredLayoutSize(), + (ComboBoxLayoutManager.layoutContainer): use arrow button preferred + size in layout, + (PropertyChangeHandler.propertyChange): added 'font' handling. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installListeners): add listener to arrowButton instead of comboBox, + deleted call to configureArrowButton(), + (uninstallListeners): remove listener from arrowButton instead of + comboBox, and deleted call to unconfigureArrowButton(), + (configureArrowButton): set font and enabled state, deleted + addMouseListener() call, + (unconfigureArrowButton): deleted removeMouseListener() call, + (MouseHandler.mousePressed): just toggle display status of popup, + (MouseHandler.mouseReleased): deleted. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (largestItemSize): renamed displaySize, + (getLargestItemSize): renamed getDisplaySize and changed to protected, + (ComboBoxLayoutManager.preferredLayoutSize): updated for renamed field + and method, + (ListDataHandler.intervalAdded): likewise, + (ListDataHandler.intervalRemoved): likewise. + +2005-09-18 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java: + Updated API docs all over. + +2005-09-18 David Gilbert + + * java/text/RuleBasedCollator.java: + Fixed spelling error in comment. + +2005-09-17 Tom Tromey + + * .settings/org.eclipse.jdt.ui.prefs: Add file template. + +2005-09-17 Anthony Green + + * java/security/Security.java (getProviders): Pre-allocate the + target array for Collection.toArray call. + * gnu/java/security/PolicyFile.java (parse): Ditto. + * javax/swing/filechooser/FileSystemView.java: Ditto. + * javax/swing/JFileChooser.java (getChoosableFileFilters): Ditto. + +2005-09-17 Tom Tromey + + PR classpath/22963: + * java/nio/charset/Charset.java (forName): Javadoc fix. + (providers2): Use ServiceFactory. + +2005-09-17 Mark Wielaard + + * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, + BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, + DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, + NO_CONTEXT, NO_CRED, OLD_TOKEN): Document official RFC values. + +2005-09-17 Tom Tromey + + * java/lang/Short.java (SIZE): New constant. + (MIN_CACHE, MAX_CACHE): Likewise. + (shortCache): New field. + (reverseBytes): New method. + * java/lang/Long.java (SIZE): New constant. + (valueOf): New method. + (bitCount): New method. + (rotateLeft): New method. + (rotateRight): New method. + (highestOneBit): New method. + (numberOfLeadingZeros): New method. + (lowestOneBit): New method. + (numberOfTrailingZeros): New method. + (signum): New method. + (reverseBytes): New method. + (reverse): New method. + * java/lang/Float.java (SIZE): New constant. + * java/lang/Double.java (SIZE): New constant. + * java/lang/Character.java (SIZE): New constant. + (MAX_CACHE): Likewise. + (charCache): New field. + (valueOf): New method. + (reverseBytes): Likewise. + * java/lang/Byte.java (SIZE): New constant. + (byteCache): New field. + (valueOf): New method. + * java/lang/Boolean.java (parseBoolean): New method. + +2005-09-17 Mark Wielaard + + Reported by David Lichteblau + * native/jni/classpath/jcl.c (JCL_NewRawDataObject): Create + NewGlobalRef before calling DeleteLocalRef. + +2005-09-17 Paul Jenner + + * configure.ac: Clarify that Werror configure option is + disabled by default. + +2005-09-17 Mark Wielaard + + * javax/swing/plaf/basic/BasicMenuItemUI.java: Reindent boilerplate. + +2005-09-17 Tom Tromey + + * java/util/prefs/Preferences.java (systemNodeForPackage): + Javadoc fix. + (userNodeForPackage): Likewise. + * java/util/logging/LoggingPermission.java (serialVersionUID): + New field. + * java/io/ObjectInputStream.java (parseContent): Javadoc fix. + +2005-09-17 Mark Wielaard + + * doc/www.gnu.org/home.wml: Update mauve link. + +2005-09-16 Anthony Green + + PR libgcj/20198 + * java/net/URLClassLoader.java (FileURLLoader.getResource): File + resources should all have canonicalized names. + +2005-09-16 Lillian Angel + + * javax/swing/JTree.java + (AccessibleJTreeNode): Fixed documentation. + (addAccessibleSelection): Likewise, still needs to + be implemented. + (addFocusListener): Implemented. + (addPropertyChangeListener): Implemented. + (clearAccessibleSelection): Implemented. + (contains): Implemented. + (doAccessibleAction): Fixed documentation, still + needs to be implemented. + (getAccessibleAction): Likewise. + (getAccessibleActionCount): Likewise. + (getAccessibleActionDescription): Implemented. + (getAccessibleAt): Implemented. + (getAccessibleChild): Implemented. + (getAccessibleChildrenCount): Implemented. + (getAccessibleComponent): Fixed documentation. + (getAccessibleContext): Implemented. + (getAccessibleDescription): Implemented. + (getAccessibleIndexInParent): Implemented. + (getAccessibleName): Implemented. + (getAccessibleParent): Fixed documentation. + (getAccessibleRole): Likewise. + (getAccessibleSelection): Likewise, still needs to + be implemented. + (getAccessibleSelection): Likewise. + (getAccessibleSelectionCount): Implemented. + (getAccessibleStateSet): Implemented. + (getAccessibleText): Fixed documentation. + (getAccessibleValue): Likewise. + (getBackground): Implemented. + (getBounds): Implemented. + (getCursor): Fixed documentation, still needs to be + implemented. + (getFont): Implemented. + (getFontMetrics): Implemented. + (getForeground): Implemented. + (getLocale): Implemented. + (getLocation): Implemented. + (getLocationInJTree): Implemented. + (getLocationOnScreen): Implemented. + (getSize): Implemented. + (isAccessibleChildSelected): Implemented. + (isEnabled): Implemented. + (isFocusTraversable): Implemented. + (isShowing): Implemented. + (isVisible): Implemented. + (removeAccessibleSelection): Fixed documentation, need to + fix current implementation. + (removeFocusListener): Implemented. + (removePropertyChangeListener): Implemented. + (requestFocus): Implemented. + (selectAllAccessibleSelection): Need to implement. Added FIXME. + (setAccessibleDescription): Implemented. + (setAccessibleName): Implemented. + (setBackground): Implemented. + (setBounds): Implemented. + (setCursor): Fixed documentation, still need to implement. + (setEnabled): Implemented. + (setFont): Implemented. + (setForeground): Implemented. + (setLocation): Implemented. + (setSize): Implemented. + (setVisible): Implemented. + (AccessibleJTree): Fixed documentation, still need + to implement. + (addAccessibleSelection): Implemented. + (clearAccessibleSelection): Implemented. + (fireVisibleDataPropertyChange): Implemented. + (getAccessibleAt): Fixed documentation, need to implement. + (getAccessibleChild): Implemented. + (getAccessibleChildrenCount): Implemented. + (getAccessibleIndexInParent): Fixed documentation. + (getAccessibleRole): Likewise. + (getAccessibleSelection): Likewise, still need to implement. + (getAccessibleSelection): Likewise. + (getAccessibleSelectionCount): Implemented. + (isAccessibleChildSelected): Implemented. + (removeAccessibleSelection): Implemented. + (selectAllAccessibleSelection): Implemented. + (treeCollapsed): Implemented. + (treeExpanded): Implemented. + (treeNodesChanged): Implemented. + (treeNodesInserted): Implemented. + (treeNodesRemoved): Implemented. + (treeStructureChanged): Implemented. + (valueChanged): Implemented. + (TreeModelListener): Fixed documentation. + +2005-09-16 Tom Tromey + + * java/io/PrintWriter.java (PrintWriter): New constructors. + +2005-09-16 Tom Tromey + + PR classpath/22689: + * java/io/PrintWriter.java (closed): New field. + (checkError): Only flush if stream not closed. + (close): Set 'closed'. + +2005-09-16 Tom Tromey + + * java/lang/Character.java (MIN_SURROGATE, MAX_SURROGATE): New + constants. + (isHighSurrogate): New method. + (isLowSurrogate): Likewise. + (isSurrogatePair): Likewise. + (toCodePoint): Likewise. + (codePointAt): Likewise. + (codePointBefore): Likewise. + * java/lang/StringBuffer.java (codePointCount): Check bounds. + (codePointAt): Rewrote. + (codePointBefore): Likewise. + * java/lang/String.java (codePointAt): New method. + (codePointBefore): Likewise. + (codePointCount): Likewise. + (contentEquals): New overload. + +2005-09-16 Robert Schuster + + * javax/swing/ProgressMonitor: Implemented the former stubbed + class and added documentation. + (close): Implemented and added documentation. + (setProgress): Dito. + (isCanceled): Dito. + (setMinimum): Added documentation. + (getMinimum): Dito. + (setMaximum): Dito. + (getMaximum): Dito. + (setNote): Dito. + (getMillisToDecideToPopup): Dito. + (setMillisToDecideToPopup): Dito. + (getMillisToPopup): Dito. + (setMillisToPopup): Dito. + (getNote): Dito. + * javax/swing/ProgressMonitorInputStream: Implemented stub + methods. + (close): Implemented. + (read): Dito. + (reset): Dito. + (skip): Dito. + (getProgressMonitor): Dito. + +2005-09-16 Tom Tromey + + PR classpath/23882: + * java/text/StringCharacterIterator.java (StringCharacterIterator): + Javadoc fix. + (hashCode): New method. + * java/text/ParsePosition.java (hashCode): New method + +2005-09-16 Audrius Meskauskas + + * javax/swing/Timer.java (Waker.run): Do not enter loop on + repeats = false (fixes #23918). + +2005-09-16 Andrew Haley + + * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow + protected readResolve(). Rewrite accessibility check. + 2005-09-16 Andrew Haley - * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow - protected readResolve(). Rewrite accessibility check. + * scripts/loc: New file. + +2005-09-16 Anthony Green + + * java/lang/String.java (getBytes): Throw an InternalError instead + of silently returning null. + +2005-09-16 Lillian Angel + + Fixes Bug #22610 + * java/awt/Container.java + (remove): Removed component listeners from the component + being removed. This was a problem if that same component + that was removed was added to a new component. + +2005-09-16 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (MetalComboBoxEditorBorder.paintBorder): modified border appearance. + +2005-09-16 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java: updated API docs + and minor reformatting. + +2005-09-16 Roman Kennke + + * javax/swing/JList.java + (AccessibleJList): New inner class. + +2005-09-16 David Gilbert + + * examples/gnu/classpath/examples/swing/ButtonDemo.java: new file. + +2005-09-16 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonIcon.paintIcon): change color of selection indicator + according to component state. + +2005-09-16 David Gilbert + + * javax/swing/plaf/metal/MetalCheckBoxIcon.java + (drawCheck): change color according to component state. + +2005-09-16 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (ButtonBorder.paintBorder): draw a different border for a disabled + button. + +2005-09-15 Anthony Green + + * java/awt/Color.java (RGBtoHSB): Don't use integer division when + calculating saturation. + * java/awt/Rectangle.java (equals): Explain why hashCode() isn't + required. + * java/awt/Point.java (equals): Ditto. + + * java/util/zip/ZipFile.java (checkZipFile): Make sure we read the + 4 byte magic number. + +2005-09-15 Tom Tromey + + * javax/swing/text/html/parser/DTD.java (FILE_VERSION): Now + final. + +2005-09-15 Tom Tromey + + * javax/naming/Name.java: Extends Comparable. + +2005-09-15 Anthony Balkissoon + + * java/awt/Component.java: + (isDisplayable): Don't check the parent's displayability, only return + true if peer is non-null and false if peer is null. + +2005-09-15 David Gilbert + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): check for empty text string, + * javax/swing/plaf/basic/BasicButtonUI.java + (paint): check isBorderPainted() when calculating view rect, + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (CloseAction): new constructor, + (IconifyAction): new constructor, + (MaximizeAction): new constructor, + (MoveAction): new constructor, + (RestoreAction): new constructor, + (SizeAction): new constructor, + (TitlePaneLayout.layoutContainer): calculate button widths from icon + widths, + (installDefaults): initialise icon fields, + (uninstallDefaults): clear icon fields, + (createButtons): set button text to null, + (setButtonIcons): use icon fields. + +2005-09-15 Lillian Angel + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + (getListCellRendererComponent): Added code in to check if string + is larger than comboBox. If it is, the string is truncated and + '...' is drawn at the end of it. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (getDefaultSize): Initially too small, still not fully implemented. + (getLargestItemSize): Made private, not in API. + (minimumLayoutSize): Implemented properly. + (intervalAdded): ComboBox should not be resized with every new + component. This is fixed. + +2005-09-15 Tom Tromey + + * java/lang/EnumConstantNotPresentException.java: New file. + +2005-09-15 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + Reformatted file. + +2005-09-15 Lillian Angel + + Fixes Bug #23678 + * javax/swing/plaf/basic/BasicFileChooserUI.java + (CBLabelRenderer): Removed. Not in API, and it is really + redundant to have. + (installComponents): Changed the renderer set for the combo box. + Also, added the buttonPanel to the parentsPanel, so they are + always painted correctly. Set the FlowLayout to LEFT + instead of default being CENTER. + +2005-09-15 Anthony Balkissoon + + * javax/swing/JRootPane.java: + (setContentPane): Remove the old content pane first. Throw + IllegalComponentStateException if the parameter is null. Added docs. + +2005-09-15 Tom Tromey + + Workaround for PR classpath/23863: + * native/fdlibm/mprec.h (MAX_BIGNUM_WDS): Define as 128 on + non-Pack_32 platforms. + +2005-09-15 Anthony Balkissoon + + * java/awt/Component.java: + (isDisplayable): Return true if peer != null. + * java/awt/Window.java: + (isDisplayable): Removed this method. Now inherits from Component. + +2005-09-15 Anthony Green + + * java/io/PushbackInputStream.java (available, read, skip): Handle + closed stream operations gracefully. + +2005-09-15 Anthony Green + + * java/nio/charset/Charset.java: close() each stream we open. + * java/net/URLStreamHandler.java: Remove redundant null pointer + check. + * java/security/Identity.java (equals, identityEquals): Don't use + `==' to compare uninterned Strings. Use String.equals(). + * java/lang/Class.java (pd): Mark this field as transient for + FindBugs won't complain (although not strictly necessary). + +2005-09-15 Anthony Balkissoon + + * javax/swing/JTextArea.java: + (append): Changed invalidate call to revalidate call. + (setRows): Likewise. + (setColumns): Likewise. + +2005-09-15 Lillian Angel + + Fixes #23873 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (createMessageArea): Changed orientation of message from EAST to + CENTER. Also, fixed empty border values to make message more centered. + * javax/swing/JOptionPane.java + (showConfirmDialog): Added check for pane.getValue, since clicking on + 'x' of window does not have an initialized value. Was causing a + ClassCastException. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + +2005-09-15 David Gilbert + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): set font, + (uninstallDefaults): clear font, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): update ToggleButton defaults, + * javax/swing/plaf/metal/MetalToggleButtonUI.java + (instance): removed field, + (createUI): just return new instance every time, + (MetalToggleButtonUI): look up defaults directly, + (getFocusColor): return value from field initialised in constructor, + (getSelectColor): likewise, + (getDisabledTextColor): likewise, + (installDefaults): override to make public, + (paintButtonPressed): implemented, + (paintText): implemented, + (paintFocus): implemented. + +2005-09-15 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (toggleButtonBorder): new private field, + (ToggleButtonBorder): new class, + (getToggleButtonBorder): new method. + +2005-09-14 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (insertUpdate): Tweaked attribute comparison to avoid NPE. + +2005-09-14 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (insertUpdate): Tweaked attribute comparison to avoid NPE. + * javax/swing/text/GlyphView.java + (DefaultGlyphPainter.getBoundedPosition): Implemented. + (DefaultGlyphPainter.viewToModel): Implemented. + (getTabExpander): Don't be specific to ParagraphView here. All + parents that implement TabExpander can be accepted. + (getBeginIndex): Removed. This method is not documented in the + specs. + (getBreakWeight): Implemented. + (changedUpdate): Implemented. + (insertUpdate): Implemented. + (removeUpdate): Implemented. + (createFragment): Implemented. + (breakView): Use createFragment. + * javax/swing/text/Utilities.java + (getTabbedTextOffset): Implemented both variants of this method. + +2005-09-14 Audrius Meskauskas + + * gnu/CORBA/Connected_objects.java (equals), + * gnu/CORBA/Poa/activeObjectMap.java (equals): Removed, fixes + #23879. + * gnu/CORBA/Version.java (hashCode), + * gnu/CORBA/gnuAny.java (hashCode): New method, fixes #23879. + +2005-09-14 Lillian Angel + + * javax/swing/JProgressBar.java + (JProgressBar): Fixed to use setOrientation function. + * javax/swing/plaf/metal/MetalProgressBarUI.java + (createUI): Was using the same instance of the UI for + each new JProgressBar. Fixed this. + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Added call to prepareForUIInstall. + (uninstallUI): Added call to prepareForUIUninstall. + +2005-09-14 Anthony Balkisoon + + * javax/swing/text/ComponentView.java: + (createComponent): Implemented. + +2005-09-14 Audrius Meskauskas + + * org/omg/CosNaming/NameComponent (hashCode): New method, + fixes #23883). + +2005-09-14 Lillian Angel + + Fixes Bug #23795 + * javax/swing/plaf/basic/BasicTreeUI.java: + Made private fields package private. + (setCellRenderer): Took out code that updateRenderer takes + care of. + (getPathBounds): Fixed to use treeModel field. + (getPathForRow): Likewise. + (getRowCount): Likewise. + (installComponents): Implemented. + (createNodeDimensions): Implemented. + (uninstallComponents): Implemented. + (getVerticalLegBuffer): Implemented. + (getHorizontalLegBuffer): Implemented. + (updateLayoutCacheExpandedNodes): Implemented. + (updateExpandedDescendants): Implemented. + (updateDepthOffset): Implemented. + (updateRenderer): Implemented. + (updateSize): Implemented. + (installDefaults): Added some more defaults. + (installUI): Moved code to installComponents. + (paint): Fixed to use treeModel field. + (ensureRowsAreVisible): Implemented. + (getMinimumSize): Implemented. + (getMaximumSize): Implemented. + (checkForClickInExpandControl): Implemented. + (isLocationInExpandControl): Implemented. + (handleExpandControlClick): Implemented. + (toggleExpandState): Implemented. + (isToggleSelectionEvent): Implemented. + (isMultiSelectEvent): Implemented. + (isToggleEvent): Implemented. + (selectPathForEvent): Implemented. + (actionPerformed): Changed to use toggleExpandState. + (mousePressed): Fixed code to use helper methods. Made + more efficent. + (TreeCancelEditingAction): Fixed Constructor signature. + (actionPerformed): Fixed to use treeModel field. + (paintRecursive): Fixed to use line drawing helper methods. + (paintControlIcons): Fixed to use control icons helper methods. + (getCurrentControlIcon): New method. + (findNode): Changed to use treeModel field. + (getNextNode): Likewise. + (getPreviousNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + (getPathToRoot): Likewise. + (drawDashedHorizontalLine): Implemented. + (drawDashedVerticalLine): Implemented. + (paintExpandControl): Implemented. + (paintHorizontalPartOfLeg): New method. + (paintVerticalPartOfLeg): New method. + (paintRow): New method. + (shouldPaintExpandControl): New Method. + * javax/swing/plaf/metal/MetalTreeUI.java: + Added private fields for listeners. + (getHorizontalLegBuffer): Implemented. + (installUI): Implemented. + (uninstallUI): Implemented. + (decodeLineStyle): New method. + (isLocationInExpandControl): Implemented. + (paint): Implemented. + (paintHorizontalSeparators): New method. + (paintVerticalPartOfLeg): Implemented. + (paintHorizontalPartOfLeg): Implemented. + +2005-09-14 Anthony Balkissoon + + * javax/swing/JTextArea.java: + (append): After non-empty append, invalidate. + (setRows): If number of rows changes, invalidate. + (setColumns): If number of columns changes, invalidate. + +2005-09-14 Anthony Green + + * java/net/InetSocketAddress.java (toString): Adjust to match Sun + JRE output, which is [HOSTNAME]/[IPADDRESS]:[PORT]. + * gnu/java/security/der/DERReader.java: Remove stray semicolon. + * gnu/xml/pipeline/ValidationConsumer.java: Fix flags test (was + constant expression). + * javax/swing/plaf/basic/BasicFileChooserUI.java, + * javax/swing/filechooser/FileSystemView.java, + * java/util/logging/LogManager.java, + * gnu/xml/libxmlj/dom/GnomeDocument.java, + * gnu/xml/aelfred2/JAXPFactory.java, + * gnu/java/security/x509/ext/Extension.java, + * gnu/java/security/x509/ext/BasicConstraints.java, + * gnu/java/rmi/server/RMIObjectInputStream.java, + * gnu/java/rmi/dgc/DGCImpl_Stub.java, + * gnu/java/beans/decoder/BooleanHandler.java: Use + Boolean.valueOf() instead of new Boolean. + +2005-09-13 Tom Tromey + + * java/lang/StringBuffer.java (StringBuffer): New constructor. + (trimToSize): New method. + (codePointAt): Likewise. + (codePointBefore): Likewise. + (codePointCount): Likewise. + (appendCodePoint): Likewise. + (append): New overloads. + (insert): Likewise. + +2005-09-13 Tom Tromey + + * java/lang/Character.java: Typo fixes in javadoc. + +2005-09-14 Roman Kennke + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (calculateTabWidth): Don't use the calcRect here. This lead to an + inconsistent state when this method is called from another method + that also uses calcRect. + (calculateTabHeight): Don't use the calcRect here. This lead to an + inconsistent state when this method is called from another method + that also uses calcRect. + +2005-09-14 Roman Kennke + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java: + Reformatted file. + +2005-09-14 Andrew John Hughes + + * java/io/ObjectInputStream.java: + (readObject()): Moved marker parsing to its own method. + (parseContent(byte)): Fixed TC_OBJECT handling to loop on + blockdata written manually by the class. + +2005-09-14 Christian Thalinger + + * native/jni/classpath/jcl.c: Replaced undefined + POINTERS_ARE_64BIT with SIZEOF_VOID_P == 8. + +2005-09-14 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (PaletteCloseIcon): now implements UIResource. + +2005-09-14 Roman Kennke + + * javax/swing/ButtonModel.java: Added API docs all over. + +2005-09-14 Roman Kennke + + * javax/swing/JTabbedPane.java: Added API comments to make clear + that null values for tab titles are allowed. + +2005-09-14 Roman Kennke + + Fixes Bug#23859. + * javax/swing/JTabbedPane.java + (insertTab): Check if title == null and if so, then set it + to "". Otherwise the null string would cause a segfault or + an assertion failure in font metrics calculation as reported + in bug#23859. + +2005-09-14 David Gilbert + + * gnu/CORBA/ExceptionCreator.java: minor API doc fixes, + * gnu/CORBA/Version.java: likewise. + +2005-09-14 David Gilbert + + * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicPasswordFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextAreaUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextPaneUI.java: + (getPropertyPrefix): added API docs. + +2005-09-14 David Gilbert + + * org/omg/CORBA/ORB.java: minor API doc fixes, + * org/omg/CORBA/PERSIST_STORE.java: likewise, + * org/omg/CORBA/PolicyError.java: likewise, + * org/omg/CORBA/ValueBaseHolder.java: likewise, + * org/omg/CORBA/VisibilityHelper.java: likewise. + +2005-09-14 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxIcon.java: fixed header, + (paintIcon): change color to reflect component state. + +2005-09-13 Tom Tromey + + * .settings/org.eclipse.jdt.core.prefs: Ignore javadoc warnings + for hidden or deprecated members. + +2005-09-14 Roman Kennke + + * javax/swing/text/AbstractDocument.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (getContent): Made method final. + (AbstractElement.dumpElement): Removed superfluous private method. + (AbstractElement.dump): Made diagnostic output more speaking. + * javax/swing/text/BoxView.java + (paintChild): Don't allocate the child region here. + (paint): Allocate the child region here instead. + * javax/swing/text/ComponentView.java: + Added API doc comments. + * javax/swing/text/CompositeView.java + (getNextVisualPositionFrom): Declared to throw BadLocationException. + (getNextNorthSouthVisualPositionFrom): Likewise. + (getNextEastWestVisualPositionFrom): Likewise. + * javax/swing/text/DefaultCaret.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/DefaultEditorKit.java + Slight reformatting. + * javax/swing/text/DefaultFormatter.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/DefaultStyledEditorKit.java + (ElementBuffer.insertUpdate): Removed unneeded statement. + (ElementBuffer.insertStartTag): Attach a resolve parent to new + paragraph elements. + (createDefaultRoot): Attach a resolve parent to new paragraph + elements. + * javax/swing/text/InternationalFormatter.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/JTextComponent.java + Slight reformatting. + (paramString): Added TODO comment. + * javax/swing/text/SimpleAttributeSet.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (equals): Don't require object to be SimpleAttributeSet. Allows + comparing to all kinds of AttributeSets. + (isEqual): Likewise. + * javax/swing/text/StringContent.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/StyleConstants.java + (getBackground): Return white as default background instead of black. + * javax/swing/text/StyleConstext.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (SmallAttributeSet.equals): Don't require object to be + SmallAttributeSet. Allows comparing to all kinds of AttributeSets. + * javax/swing/text/StyledEditorKit.java + Fixed some comments. + * javax/swing/text/TabSet.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/TabStop.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/View.java + Removed unneeded import. + +2005-09-14 Robert Schuster + + * javax/swing/JOptionPane.java: + (showConfirmDialog): Changed QUESTION_MESSAGE like the JDK + does. + * javax/swing/plaf/basic/BasicOptionPaneUI.java: + (getButtons): Treat DEFAULT_OPTION like + YES_NO_CANCEL_OPTION like the JDK. + +2005-09-14 Roman Kennke + + * javax/swing/text/GapContent.java + (GapContentPosition.getOffset): Made assertion more speaking. + (GapContent): Modified initialization for compatibility with JDK. + (shiftEnd): Update marks prior to modification of the content. + Use new getPositionsInRange method. + (shiftGap): Use new getPositionsInRange method. Tweaked to corectly + update the marks. + (shiftGapStartDown): New method. + (shiftGapEndUp): New method. + (replace): Use shiftGapEndUp. Modified resizing offset. + (getGapStart): New method. + (getGapEnd): New method. + (getPositionsInRange): New method. + +2005-09-14 Roman Kennke + + * javax/swing/text/GlyphView.java + (AbstractGlyphPainter.getAscent): New abstract method. + (AbstractGlyphPainter.getDescent): New abstract method. + (AbstractGlyphPainter.getBoundedPosition): New abstract method. + (AbstractGlyphPainter.viewToModel): New abstract method. + (AbstractGlyphPainter.getNextVisualPositionFrom): New method. + (AbstractGlyphPainter.getPainter): New method. + (DefaultGlyphPainter.paint): Add support for more text attributes. + (DefaultGlyphPainter.getAscent): New method. + (DefaultGlyphPainter.getDescent): New method. + (DefaultGlyphPainter.getBoundedPosition): New method. + (DefaultGlyphPainter.viewToModel): New method. + (GlyphView): Store start and end offset in the GlyphView. + (getPreferredSpan): Differentiate the axis parameter. + (viewToModel): Implemented this method. + (getStartOffset): Return value of private field instead of the + element value. + (getEndOffset): Return value of private field instead of the + element value. + (getBackground): New method. + (isStrikeThrough): New method. + (isSubscript): New method. + (isSuperscript): New method. + (isUnderline): New method. + (clone): New method. + (breakView): New method. + (getBreakWeight): New method. + (changedUpdate): New method. + (insertUpdate): New method. + (removeUpdate): New method. + (createFragment): New method. + (getAlignment): New method. + (getNextVisualPositionFrom): New method. + +2005-09-13 Tom Tromey + + * java/util/regex/Matcher.java (matches): Javadoc fix. + (start): Likewise. + * java/lang/reflect/Proxy.java (equals): Javadoc fix. + * java/io/ObjectInputStream.java (inputGetObjectStreamClasses): Javadoc + fix. + * java/util/zip/ZipFile.java (getEntry): Javadoc fix. + * java/util/logging/XMLFormatter.java (getHead): Javadoc fix. + * java/util/logging/LogManager.java (getLevelProperty): Javadoc fix. + * java/util/logging/Handler.java (getEncoding): Javadoc fix. + (setFilter): Likewise. + * java/util/logging/FileHandler.java: Organized imports. + * java/util/jar/Manifest.java (Manifest): Javadoc fix. + * java/util/TreeMap.java (putFromObjStream): Javadoc fix. + * java/util/SimpleTimeZone.java (isBefore): Javadoc fix. + * java/util/ResourceBundle.java (tryBundle): Javadoc fix. + * java/util/Random.java (seed): Javadoc fix. + * java/util/Collections.java (SynchronizedSortedSet): Javadoc fix. + (SingletonMap): Likewise. + (addAll): Javadoc fix. + * java/lang/reflect/UndeclaredThrowableException.java: Javadoc fix. + * java/lang/reflect/Member.java (DECLARED, PUBLIC): Javadoc fix. + * java/lang/ref/WeakReference.java: Javadoc fix. + * java/lang/ref/Reference.java: Javadoc fix. + (Reference): Likewise. + * java/lang/Thread.java (setContextClassLoader): Javadoc fix. + (getContextClassLoader): Likewise. + (stop): Likewise. + * java/lang/System.java (runFinalizersOnExit): Javadoc fix. + * java/lang/String.java (upperExpand): Javadoc fix. + * java/lang/StrictMath.java: Javadoc fixes. + * java/lang/SecurityManager.java: Added imports for javadoc. + (currentClassLoader): Javadoc fix. + (classLoaderDepth): Likewise. + (currentLoadedClass): Likewise. + (checkRead): Likewise. + (checkWrite): Likewise. + (checkAccess): Likewise. + * java/lang/RuntimePermission.java: Added import for javadoc. + * java/lang/Readable.java (read): Added import for javadoc. + +2005-09-13 Casey Marshall + + * gnu/classpath/ByteArray.java: new file. + * gnu/java/security/provider/Gnu.java + (): add Diffie Hellman and RSA algorithms. + * gnu/javax/crypto/DiffieHellmanImpl.java: new file. + * gnu/javax/crypto/GnuDHPrivateKey.java: new file. + * gnu/javax/crypto/RSACipherImpl.java: new file. + +2005-09-13 David Gilbert + + * javax/swing/plaf/metal/MetalComboBoxButton.java: new file, + * javax/swing/plaf/metal/MetalComboBoxEditor.java: likewise. + +2005-09-13 Tom Tromey + + * java/lang/Process.java: Added import for javadoc. + * java/lang/Object.java (notify): Javadoc fix. + (notifyAll): Likewise. + * java/io/PipedInputStream.java (connect): Javadoc fix. + * java/io/OutputStreamWriter.java: Organized imports. + * java/io/ObjectStreamField.java (setOffset): Javadoc fix. + * java/io/ObjectInputStream.java (readFields): Javadoc fix. + * java/io/DataOutputStream.java (writeChars): Javadoc fix. + (writeFloat): Likewise. + (writeDouble): Likewise. + * java/util/Locale.java (readObject): Javadoc fix. + (writeObject): Likewise. + * java/io/LineNumberReader.java (read): Javadoc fix. + (setLineNumber): Likewise. + (mark): Likewise. + * java/io/InputStreamReader.java: Updated imports. + * java/lang/Integer.java (parseInt): Javadoc fix. + * java/io/FilterReader.java (skip): Javadoc fix. + * java/util/HashMap.java (containsValue): Javadoc fix. + * java/lang/ClassLoader.java (findLibrary): Javadoc fix. + (setPackageAssertionStatus): Likewise. + (setClassAssertionStatus): Likewise. + * java/lang/Class.java: Added imports for javadoc. + (matchMethod): Javadoc fix. + * java/util/ArrayList.java (readObject): Javadoc fix. + (writeObject): Likewise. + * java/lang/String.java (CaseInsensitiveComparator): Javadoc fix. + * java/util/zip/PendingBuffer.java (toByteArray): Javadoc fix. + * javax/swing/plaf/metal/OceanTheme.java: Mark as 1.5. + * java/util/logging/SimpleFormatter.java (format): Javadoc fix. + * java/util/zip/ZipFile.java (getEntries): Javadoc fix. + +2005-09-13 David Gilbert + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (lightHighlight): removed, + (installDefaults): only update component attributes if they are tagged + with UIResource, initialise button colors from correct defaults, + (uninstallDefaults): only clear attributes that are tagged with + UIResource. + +2005-09-13 Lillian Angel + + * javax/swing/JTree.java + (AccessibleJTree): Added new Inner class. + (AccessibleJTree.addAccessibleSelection): New method. + (AccessibleJTree.clearAccessibleSelection): New method. + (AccessibleJTree.fireVisibleDataPropertyChange): New method. + (AccessibleJTree.getAccessibleAt): New method. + (AccessibleJTree.getAccessibleChild): New method. + (AccessibleJTree.getAccessibleChildrenCount): New method. + (AccessibleJTree.getAccessibleIndexInParent): New method. + (AccessibleJTree.getAccessibleRole): New method. + (AccessibleJTree.getAccessibleSelection): New method. + (AccessibleJTree.getAccessibleSelection): New method. + (AccessibleJTree.getAccessibleSelectionCount): New method. + (AccessibleJTree.isAccessibleChildSelected): New method. + (AccessibleJTree.removeAccessibleSelection): New method. + (AccessibleJTree.selectAllAccessibleSelection): New method. + (AccessibleJTree.treeCollapsed): New method. + (AccessibleJTree.treeExpanded): New method. + (AccessibleJTree.treeNodesChanged): New method. + (AccessibleJTree.treeNodesInserted): New method. + (AccessibleJTree.treeNodesRemoved): New method. + (AccessibleJTree.treeStructureChanged): New method. + (AccessibleJTree.valueChanged): New method. + (AccessibleJTreeNode): Likewise. + (AccessibleJTreeNode.addAccessibleSelection): New method. + (AccessibleJTreeNode.addFocusListener): New method. + (AccessibleJTreeNode.addPropertyChangeListener): New method. + (AccessibleJTreeNode.clearAccessibleSelection): New method. + (AccessibleJTreeNode.contains): New method. + (AccessibleJTreeNode.doAccessibleAction): New method. + (AccessibleJTreeNode.getAccessibleAction): New method. + (AccessibleJTreeNode.getAccessibleActionCount): New method. + (AccessibleJTreeNode.getAccessibleActionDescription): New method. + (AccessibleJTreeNode.getAccessibleAt): New method. + (AccessibleJTreeNode.getAccessibleChild): New method. + (AccessibleJTreeNode.getAccessibleChildrenCount): New method. + (AccessibleJTreeNode.getAccessibleComponent): New method. + (AccessibleJTreeNode.getAccessibleContext): New method. + (AccessibleJTreeNode.getAccessibleDescription): New method. + (AccessibleJTreeNode.getAccessibleIndexInParent): New method. + (AccessibleJTreeNode.getAccessibleName): New method. + (AccessibleJTreeNode.getAccessibleParent): New method. + (AccessibleJTreeNode.getAccessibleRole): New method. + (AccessibleJTreeNode.getAccessibleSelection): New method. + (AccessibleJTreeNode.getAccessibleSelectionCount): New method. + (AccessibleJTreeNode.getAccessibleStateSet): New method. + (AccessibleJTreeNode.getAccessibleText): New method. + (AccessibleJTreeNode.getAccessibleValue): New method. + (AccessibleJTreeNode.getBackground): New method. + (AccessibleJTreeNode.getBounds): New method. + (AccessibleJTreeNode.getCursor): New method. + (AccessibleJTreeNode.getFont): New method. + (AccessibleJTreeNode.getFontMetrics): New method. + (AccessibleJTreeNode.getForeground): New method. + (AccessibleJTreeNode.getLocale): New method. + (AccessibleJTreeNode.getLocation): New method. + (AccessibleJTreeNode.getLocationInJTree): New method. + (AccessibleJTreeNode.getLocationOnScreen): New method. + (AccessibleJTreeNode.getSize): New method. + (AccessibleJTreeNode.isAccessibleChildSelected): New method. + (AccessibleJTreeNode.isEnabled): New method. + (AccessibleJTreeNode.isVisible): New method. + (AccessibleJTreeNode.removeAccessibleSelection): New method. + (AccessibleJTreeNode.removeFocusListener): New method. + (AccessibleJTreeNode.removePropertyChangeListener): New method. + (AccessibleJTreeNode.requestFocus): New method. + (AccessibleJTreeNode.selectAllAccessibleSelection): New method. + (AccessibleJTreeNode.setAccessibleDescription): New method. + (AccessibleJTreeNode.setAccessibleName): New method. + (AccessibleJTreeNode.setBackground): New method. + (AccessibleJTreeNode.setBounds): New method. + (AccessibleJTreeNode.setCursor): New method. + (AccessibleJTreeNode.setEnabled): New method. + (AccessibleJTreeNode.setFont): New method. + (AccessibleJTreeNode.setForeground): New method. + (AccessibleJTreeNode.setLocation): New method. + (AccessibleJTreeNode.setVisible): New method. + (removeDescendantToggledPaths): Implemented. + (treeDidChange): Implemented. + +2005-09-13 Thomas Fitzsimmons + + * native/jawt/jawt.c (_Jv_AWTLock): Do nothing. + (_Jv_AWTUnlock): Likewise. + +2005-09-13 David Daney + + * java/io/ByteArrayOutputStream.java: Reformated copyright notice. + (toString(int)): Pass correct parameters to String constructor. + +2005-09-13 David Gilbert + + * javax/swing/JComboBox.java + (getPrototypeDisplayValue): added API docs, + (setPrototypeDisplayValue): fire property change event. + +2005-09-13 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (ElementSpec): New inner class. + (ElementBuffer.change): Also store the DefaultDocumentEvent. + (ElementBuffer.split): Also update the document event. + (ElementBuffer.insert): New method. + (ElementBuffer.insertUpdate): New method. + (ElementBuffer.insertStartTag): New method. + (ElementBuffer.insertEndTag): New method. + (ElementBuffer.insertContentTag): New method. + (SectionElement): New inner class. + (createDefaultRoot): Return SectionElement instead of BranchElement. + (getParagraphElement): Optimized access to paragraph element. + (setCharacterAttributes): Fire changedUpdate after modification. + (insertUpdate): New method. + +2005-09-13 Roman Kennke + + * javax/swing/SizeRequirements.java + (toString): Implemented this method. + (calculateAlignedPositions): Partly implemented this method. + +2005-09-13 Roman Kennke + + * javax/swing/JTabbedPane.java: Added API comments all over. + +2005-09-13 Roman Kennke + + * javax/swing/JTree.java: Reformatted file. + * javax/swing/ListCellRenderer.java: Likewise. + * javax/swing/ListSelectionModel.java: Likewise. + * javax/swing/MenuElement.java: Likewise. + * javax/swing/OverlayLayout.java: Likewise. + * javax/swing/ProgressMonitor.java: Likewise. + * javax/swing/ProgressMonitorInputStream.java: Likewise. + * javax/swing/Renderer.java: Likewise. + * javax/swing/RepaintManager.java: Likewise. + * javax/swing/RootPaneContainer.java: Likewise. + * javax/swing/Scrollable.java: Likewise. + * javax/swing/SingleSelectionModel.java: Likewise. + * javax/swing/SizeSequence.java: Likewise. + * javax/swing/SpinnerListModel.java: Likewise. + * javax/swing/UnsupportedLookAndFeelException.java: Likewise. + * javax/swing/ViewportLayout.java: Likewise. + * javax/swing/WindowConstants.java: Likewise. + +2005-09-12 Tom Tromey + + * .settings/org.eclipse.jdt.core.prefs: Enable javadoc warnings. + +2005-09-12 Tom Tromey + + * java/lang/ThreadLocal.java: Organized imports. + * java/lang/Double.java: Organized imports. + +2005-09-12 Casey Marshall + + PR 23819 + * javax/security/auth/Subject.java (SecureSet.): rename + input paremeter to 'inElements.' + (SecureSet.contains): return 'elements.contains,' not + 'elements.remove.' + + PR 23822 + * javax/security/auth/SubjectDomainCombiner.java + (combine): don't access 'subject' if null. + +2005-09-12 David Gilbert + + * examples/gnu/classpath/examples/swing/Demo.java + (mkDesktopWorld): add palette style frame, + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (closeIcon): new field, + (installListeners): call createPropertyChangeListener() to create the + new listener to allow for overriding, + (installDefaults): set the font in the title, read closeIcon from + defaults, + (uninstallDefaults): clear closeIcon, + (setButtonIcons): set icon for closeButton, + (paintComponent): set font for title, + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + (MetalInternalFrameTitlePanePropertyChangeHandler): new support class, + (MetalTitlePaneLayout): likewise, + (paletteTitleHeight): initialise from defaults elsewhere, + (title): new private field, + (installDefaults): initialise various defaults, + (uninstallDefaults): clear defaults, + (addSubComponents): add sub-components used in this look and feel, + (createLayout): return new instance of MetalTitlePaneLayout, + (paintPalette): renders the title pane using the palette style, + (paintComponent): call paintPalette() if the internal frame uses the + palette style, otherwise handle painting without calling superclass + anymore, + (setPalette): update the icon visibility, + (createPropertyChangeListener): return a new change handler, + * javax/swing/plaf/metal/MetalInternalFrameUI.java + (IS_PALETTE): new static field, + (installUI): check IS_PALETTE property, + (createNorthPane): removed empty border, + (setPalette): update border as appropriate, + (paletteListener): new private field, + (installListeners): install a listener to handle changes in the + IS_PALETTE property, + (uninstallListeners): clear the listener from installListeners(), + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for 'DesktopIcon.border', + 'InternalFrame.paletteBorder', 'InternalFrame.paletteCloseIcon', and + 'InternalFrame.paletteTitleHeight'. + +2005-09-12 David Gilbert + + * javax/swing/JComponent.java + (putClientProperty): fire property change event. + +2005-09-12 Anthony Balkissoon + + * javax/swing/JScrollPane.java: + (addNonNull): Changed from adding to container with no constraints to + adding to container with the appropriate ScrollPaneConstant as a + constraint. This avoids IllegalArgumentExceptions in ScrollPaneLayout. + (setColumnHeader): Added constraint to addNonNull call. + (setCorner): Likewise. + (setHorizontalScrollBar): Likewise. + (setRowHeader): Likewise. + (setVerticalScrollBar): Likewise. + (setViewport): Likewise. + * javax/swing/JViewport.java: + (setViewSize): Don't set the size or fireStateChanged unless the new + size is different from the old size. + (setView): Reset isViewSizeSet to false. + * javax/swing/ScrollPaneLayout: + (addSingletonComponent): Implemented and documented. + (addLayoutComponent): Throw an IllegalArgumentException if key is + not one of the appropriate ScrollPaneConstants constants. Added docs. + (setVerticalScrollBarPolicy): Likewise. + (setHorizontalScrollBarPolicy): Likewise. + (getCorner): Added docs. + +2005-09-12 Roman Kennke + + * javax/swing/JCheckBox.java + (AccessibleJCheckBox): New inner class. + (getAccessibleContext): Implemented this method. + * javax/swing/JLayeredPane.java + (AccessibleJLayeredPane): New inner class. + (getAccessibleContext): Implemented this method. + +2005-09-12 Roman Kennke + + * javax/swing/JTable.java + (getCellRect): Don't include cell gap in cell rectangle + calculation. It's already included in TableColumnModel.getWidth(). + (createDefaultColumnsFromModel): Initialize table header values. + * javax/swing/plaf/basic/BasicTableUI.java + (paint): Don't include cell gap in cell rectangle + calculation. It's already included in TableColumnModel.getWidth(). + +2005-09-12 Tom Tromey + + * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, + BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, + DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, + NO_CONTEXT, NO_CRED, OLD_TOKEN): Use values from JDK, not RFC. + +2005-09-12 Thomas Fitzsimmons + + * lib/Makefile.am (JAVAC): Specify -source 1.4 to ecj. + +2005-09-12 Lillian Angel + + * javax/swing/tree/DefaultTreeCellEditor.java + (isCellEditable): Stopped the timer if it is started and + should not be restarted. This is a fix for the 'click-pause- + click' method to start editing. + +2005-09-12 Lillian Angel + + * gnu/java/awt/AWTUtilities.java + (convertPoint): Added a check to determine if source and + destination components are showing. + * javax/swing/JPopupMenu.java + (setVisible): Added check to determine if component is showing. + (show): Likewise. + * javax/swing/MenuSelectionManager.java + (componentForPoint): Added check to determine if component is showing. + * javax/swing/ToolTipManager.java + (showTip): Added check to determine if component is showing. + * javax/swing/plaf/basic/BasicToolBarUI.java + (mousePressed): Added check to determine if component is showing. + +2005-09-12 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (InternalFrameCloseIcon.paintIcon): change colors according to button + state, + (InternalFrameAltMaximizeIcon.paintIcon): likewise, + (InternalFrameMaximizeIcon.paintIcon): likewise, + (InternalFrameMinimizeIcon.paintIcon): likewise. + +2005-09-12 Roman Kennke + + * javax/swing/plaf/metal/MetalBorders.java + (TableHeaderBorder): New inner class. + (TextFieldBorder.paintBorder): Only paint the active border + if the text field is enabled _and_ editable. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added default to use the new + TableHeaderBorder for table headers. + +2005-09-12 Anthony Balkissoon + + * java/awt/Container.java: + (findComponentForMouseEventAt): Reduced visibility to package-private. + (getDeepestComponentForMouseEventAt): Reduced visibility to + package-private and removed static modifier. + +2005-09-12 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (desktopIconBorder): new private field, + (DesktopIconBorder): new support class, + (getDesktopIconBorder): implemented, + (InternalFrameBorder.paintBorder): change color of line highlights if + the internal frame is selected. + +2005-09-12 Chris Burdess + + * gnu/xml/dom/DomDocument.java: Implementation of xml:id W3C + Recommendation. + +2005-09-12 Roman Kennke + + * javax/swing/JTable.java + (TableColumnPropertyChangeHandler): New inner class. Handles + changes of column widths. + (JTable(TableModel, TableColumnModel, ListSelectionModel)): + Check if column model == null and if so, create a default model. + (initializeLocalVars): Changed to use createDefaultColumnsFromModel + instead of createColumnsFromModel. + (addColumn): Add property change handler to new column. + (createColumnsFromModel): Removed redundant private method. + Use the public createDefaultColumnsFromModel instead. + (tableChanged): Use createDefaultColumnsFromModel instead of + createColumnsFromModel. + (setModel): Use createDefaultColumnsFromModel instead of + createColumnsFromModel. + (doLayout): When handling AUTO_RESIZE_OFF, then adjust the + size of the resizing column to it's (new) preferred size. + (createDefaultColumnsFromModel): Added assertion to make sure + that the column model is not null. Add property change handler + to new columns. + * javax/swing/table/TableColumn.java + (setWidth): Fire property change with name 'width' instead + of using the (obsolete) constant field COLUMN_WIDTH_PROPERTY. + (setPreferredWidth): Make this property a bound property. + +2005-09-11 Thomas Fitzsimmons + + PR swing/22922 + * java/awt/event/InputEvent.java (modifiersEx): New field. + (InputEvent): Assume modifiers parameter contains both new- and + old-style masks. + (isShiftDown): Check modifiers for old-style shift mask and + modifiersEx for new-style shift mask. + (isControlDown): Likewise for control mask. + (isMetaDown): Likewise for meta mask. + (isAltDown): Likewise for alt mask. + (isAltGraphDown): Likewise for alt-graph mask. + (getModifiers): Return value of modifiers field. + (getModifiersEx): Return value of modifiersEx field. + * java/awt/event/MouseEvent.java + (MouseEvent(Component,int,long,int,int,int,int,boolean,int)): + Clear button new-style mask for mouse released events. + (paramString): Remove old-style modifier handling. + (readObject): Extend modifiers and assign to modifiersEx. + * java/awt/event/KeyEvent.java (readObject): Extend modifiers and + assign to modifiersEx. + * native/jni/gtk-peer/gtkpeer.h: Define macros for new-style mouse + masks. Define macros for old-style key masks. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: + Remove macros for old-style key masks. + (button_to_awt_mods): Always return bitwise OR of new- and + old-style modifiers. + (cp_gtk_state_to_awt_mods): Likewise. + (state_to_awt_mods_with_button_states): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (keyevent_state_to_awt_mods): Likewise. + +2005-09-11 Mark Wielaard + + * m4/acinclude.m4 (CLASSPATH_CHECK_GCJ): Check for gcj 4 with + #if __GNUC__ <= 3. + +2005-09-11 Mark Wielaard + + * lib/gen-classlist.sh.in: Use sort -r to work around bug #21418. + +2005-09-11 Mark Wielaard + + * gnu/java/nio/channels/FileChannelImpl.java (finalize): Check whether + fd != -1 before calling close(). + +2005-09-10 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (PaletteBorder): new class. + +2005-09-10 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (PaletteCloseIcon): new class. + +2005-09-10 David Gilbert + + * javax/swing/plaf/metal/MetalInternalFrameUI.java: + (instances): removed, + (createUI): just return new instance, + API docs all over. + +2005-09-10 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (fail_g2d): New method. + (GdkGraphics2D(GdkGraphics2D)): Call fail_g2d if Graphics2D not + specified. + (GdkGraphics2D(int,int)): Likewise. + (GdkGraphics2D(GtkComponentPeer)): Likewise. + +2005-09-10 Thomas Fitzsimmons + + * gnu/java/awt/EmbeddedWindow.java (addNotify): Throw + AssertionError if field access fails. + +2005-09-09 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Reindent + second error message. + +2005-09-09 Thomas Fitzsimmons + + PR awt/23692 + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Only call + initStaticState if using Graphics2D. Otherwise print error and + exit. + (setClip(Shape)): If clip == null and component == null, do + nothing. + +2005-09-09 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics(GtkComponentPeer)): Set font field to a sensible + default if component font is null. + +2005-09-09 Keith Seitz + + * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newObjectId): + Set the reference for the ID. + +2005-09-09 Keith Seitz + + * gnu/classpath/jdwp/event/VmDeathEvent.java: New file. + +2005-09-09 Tom Tromey + + For PR libgcj/23288: + * java/net/URLClassLoader.java (definePackage): Correctly order + arguments to definePackage. Look up per-entry Attributes. + (getAttributeValue): New method. + +2005-09-09 Thomas Fitzsimmons + + * javax/swing/plaf/basic/BasicTreeUI.java (installUI): Install + defaults after initializing tree. + +2005-09-09 Roman Kennke + + * javax/swing/text/html/CSS.java + New file. Defines standard CSS attributes. + +2005-09-09 Thomas Fitzsimmons + + * java/awt/Window.java (isDisplayable): Do not call super's + isDisplayable. + +2005-09-09 Thomas Fitzsimmons + + PR swing/23796 + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): Respect dialog's decorated flag. + +2005-09-09 Thomas Fitzsimmons + + PR swing/23558 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (window_get_new_state): Remove function. + (window_get_new_state): Mark widget parameter as unused. Remove + call to window_get_new_state. + (window_active_state_change_cb): Remove function. + (connectSignals): Do not connect window_active_state_change_cb + callback. + +2005-09-09 Thomas Fitzsimmons + + PR swing/23796 + * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Respect + frame's decorated flag. + +2005-09-09 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Fixed method signature. + (uninstallDefaults): Likewise. + (uninstallUI): Fixed call to uninstallDefaults. + (installUI): Fixed call to installDefaults. + * javax/swing/JPopupMenu.java + (HeavyWeightPopup): Fixed to extend JDialog, since + nothing is added to the taskbar with JDialog. Also, + fixed so the popup menu is undecorated. Frames and + title bars should not be drawn, when popup is a + HeavyWeightPopup. A new bug was filed since the + decorated and undecorated frames are all drawn + alike. + * javax/swing/JRootPane.java + (setWindowDecorationStyle): Added check for + PLAIN_DIALOG. + +2005-09-09 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added the remaining color defaults. + +2005-09-09 Andrew Haley + + * java/net/URLClassLoader.java (addURLImpl): Synchronize on the + loader. + (toString): Likewise. + +2005-09-09 Jeroen Frijters + + * javax/security/auth/login/Configuration.java + (getConfiguration): Call getConfig() instead of doing the work. + (getConfig): Instantiate the configuration provider. + +2005-09-09 Jeroen Frijters + + * java/lang/reflect/Proxy.java + (pack): Initialize field. + +2005-09-09 Jeroen Frijters + + * java/io/ObjectInputStream.java: Removed static initializer. + * java/io/ObjectOutputStream.java: Removed static initializer. + * vm/reference/java/io/VMObjectInputStream.java: Added static + initializer. + (oisClass, vmoisClass): Removed unused fields. + * vm/reference/java/io/VMObjectStreamClass.java: Added static + initializer. + +2005-09-09 David Gilbert + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): re-added 'ScrollBar.width' default. + +2005-09-09 David Gilbert + + * javax/swing/plaf/basic/BasicArrowButton.java + (buttonBorder.paintBorder): fixed drawing issues, + (getMaximumSize): return constant value, + (getMinimumSize): likewise, + (getPreferredSize): likewise. + +2005-09-09 Thomas Fitzsimmons + + PR swing/23558 + * javax/swing/plaf/basic/BasicComboBoxUI.java + (FocusHandler.focusLost): Do not call popup.hide. + +2005-09-08 Mark Wielaard + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Fix typo + (Grahics -> Graphics). + +2005-09-08 Tom Tromey + + * examples/gnu/classpath/examples/swing/ClasspathSwingActivityBoard.launch: + New file. + +2005-09-08 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (MetalLookAndFeel): Only load default theme if no theme has been + set before. + (initComponentDefaults): Fixed and added color default values + for various components. + +2005-09-08 Anthony Balkissoon + + * java/awt/Container.java: + (findComponentForMouseEventAt): Removed check for opacity. + +2005-09-08 Keith Seitz + + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeVersion): Major and minor version are integers, not bytes. + +2005-09-08 Anthony Balkissoon + + * java/awt/Container.java: + (findComponentForMouseEventAt): New implementation method. + (getDeepestComponentForMouseEventAt): New implementation method. + (acquireComponentForMouseEvent): Replaced call to + AWTUtilities.getDeepestComponentAt with call to new implementation + method getDeepestComponentAt to appropriately handle transparent + components with no MouseListeners attached. + +2005-09-08 Tom Tromey + + * .classpath: Enable compilation of jdwp. + +2005-09-08 Keith Seitz + + * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java + (runCommand): Return value is true to indicate that the back-end + should shutdown; not whether it should stay alive. + * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/MethodCommandSet.java (runCommand): + Likewise + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (runCommand): Likewise. + +2005-09-08 Lillian Angel + + * javax/swing/JPopupMenu.java: + Fixes Bug #PR23533 + (setVisible): Adjusted popup menu's location + depending on the size of the screen. + +2005-09-08 Mark Wielaard + + * Makefile.am (EXTRA_DIST): Add autogen.sh + * lib/standard.omit: Remove gnu/classpath/jdwp, gnu/xml/stream and + javax/xml/stream. + * vm/reference/standard.omit: Removed. + +2005-09-08 Tom Tromey + + * .classpath: Omit more directories and files. + * .settings/org.eclipse.jdt.core.prefs: Compile to 1.4 platform. + * .settings/org.eclipse.jdt.ui.prefs: Likewise. + +2005-09-08 Roman Kennke + + * javax/swing/plaf/metal/OceanTheme.java + New class. Implements the ocean theme for Metal. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (createDefaultTheme): Made Ocean the default theme as in JDK1.5. + +2005-09-08 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (FileChooserDetailViewIcon): new private class, + (FileChooserHomeFolderIcon): likewise, + (FileChooserListViewIcon): likewise, + (FileChooserNewFolderIcon): likewise, + (FileChooserUpFolderIcon): likewise, + (getFileChooserDetailViewIcon): implemented, + (getFileChooserHomeFolderIcon): implemented, + (getFileChooserListViewIcon): implemented, + (getFileChooserNewFolderIcon): implemented, + (getFileChooserUpFolderIcon): implemented. + +2005-09-08 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (foreground): Removed this field. This is better stored + in the text component itself. + (inactiveForeground): Removed this field. This is stored + in the disabledTextColor property of the text component. + (installDefaults): Load foreground and disabledTextColor + properties from UIDefaults. Remove call to updateComponentColors. + (paintBackground): Set the correct background color here. + (updateComponentColor): Removed this method. + * javax/swing/text/PlainView.java + (disabledColor): New field. Stores the text color for disabled + text fields. + (drawUnselectedText): Respect the 'enabled' property of + the text component. + (paint): Fetch the disabled color of the text component. + +2005-09-08 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChanged): Also update colors if the + 'editable' property is changed. + (updateComponentColors): Correctly handle editable vs. enabled + changes. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Fixed color defaults for TextFields + to use the current theme. + +2005-09-08 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChanged): Update the components colors + when the state of the 'enabled' property changes. + (foreground): New field that stores the foreground color. + (background): New field that stores the background color. + (inactiveForeground): New field that stores the inactive + foreground color. + (inactiveBackground): New field that stores the inactive + background color. + (updateComponentColors): New method. Updates the text + components' colors according to the state of the 'enabled' + property. + (installDefaults): Load the defaults for the component colors. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added defaults for TextField colors + and border. + +2005-09-08 Roman Kennke + + * javax/swing/text/GapContent.java + Fixes Bug #22966. + (GapContentPosition.getOffset): Added assertion to check for + consistent state of the Position. Fixed condition in if-statement. + (serialVersionUID): Updated serialVersionUID to match JDK1.5. + (shiftGap): If gapStart == newGapStart, then return immediatly. + +2005-09-08 David Gilbert + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): added 'ScrollBar.width' default, + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MetalScrollBarPropertyChangeHandler): new class, + (FREE_STANDING_PROP): added, + (MIN_THUMB_SIZE): modified dimensions, + (increaseButton): new field, + (decreaseButton): new field, + (scrollBarWidth): new field, + (isFreeStanding): new field, + (createUI): just return a new instance, + (installDefaults): implemented, + (createPropertyChangeListener): implemented, + (createDecreaseButton): implemented, + (createIncreaseButton): implemented, + (paintTrack): implemented, + (paintTrackHorizontal): new private method, + (paintTrackVertical): new private method, + (paintThumb): updated, + * javax/swing/plaf/metal/MetalScrollButton.java: implemented, + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern): modified alternating color calculation. + +2005-09-08 Jeroen Frijters + + * java/io/ObjectInputStream.java + (readObject): Removed println and fixed Proxy class descriptor + deserialization. + (resolveProxyClass): Use Class.forName() instead of calling + ClassLoader.loadClass() directly. + * java/io/ObjectOutputStream.java + (writeClassDescriptor): Added support for serializing Proxy + class descriptor. + +2005-09-08 Jeroen Frijters + + * javax/naming/CompoundName.java + (readObject, writeObject): New methods. + +2005-09-07 Lillian Angel + + * javax/swing/SpringLayout.java: + Fixes Bug #PR23003 + (getConstraints): Width and height should always + be reset, even if constraints is not null. Constraints + deal with the location of the component. + +2005-09-07 Lillian Angel + + * javax/swing/text/GapContent.java: + Fixes Bug #PR22966 + (getOffset): Fixed check, was redundant. + +2005-09-07 Lillian Angel + + * javax/swing/text/GapContent.java: + Fixes Bug #PR22966 + (getOffset): Added check for mark <= gapEnd + +2005-09-07 Roman Kennke + + * javax/swing/JApplet.java + (AccessibleJApplet): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JDialog.java + (AccessibleJDialog): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JFrame.java + (AccessibleJFrame): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JWindow.java + (AccessibleJWindow): New inner class. + (getAccesibleContext): Implemented accessibility support. + +2005-09-07 Roman Kennke + + * javax/swing/JPanel.java + (AccessibleJPanel): New inner class. + (getAccessibleContext): Implemented this method. + +2005-09-07 Roman Kennke + + * javax/swing/JPanel.java: Reformatted to match our coding + standards. + +2005-09-07 Roman Kennke + + * javax/swing/JViewport.java + (AccessibleJViewport): New inner class. + (getAccessibleContext): New method. Implements the Accessible + interface for JViewport. + +2005-09-07 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (HorizontalSliderThumbIcon.paintIcon): handle disabled component state, + and fetch colors from the look and feel, + (VerticalSliderThumbIcon.paintIcon): likewise, + * javax/swing/plaf/metal/MetalSliderUI.java + (MetalPropertyListener): implemented, + (constructor): added color initialisation, + (createUI): reimplemented to return a new instance every time, + (createPropertyChangeListener): return a new instance of + MetalPropertyListener, + (paintTrack): reimplemented to handle track fill option, and the + disabled component state, + (paintMinorTickForHorizSlider): fetch colors from look and feel, + (paintMajorTickForHorizSlider): likewise, + (paintMinorTickForVertSlider): likewise, + (paintMajorTickForVertSlider): likewise. + +2005-09-07 Robert Schuster + + * native/jni/qt-peer/componentevent.cpp: Added inclusion + of assert.h + +2005-09-07 Robert Schuster + + * INSTALL: Mention that GCJ4 is now mandatory. + +2005-09-07 Robert Schuster + + * javax/swing/Box.java: Added java.awt.Container import statement. + +2005-09-06 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added some RadioButton defaults, + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (instance): removed, + (focusColor): added, + (selectColor): added, + (disabledTextColor): added, + (createUI): return a new instance for every component, + (installDefaults): implemented, + (uninstallDefaults): implemented, + (getSelectColor): implemented, + (getDisabledTextColor): implemented, + (getFocusColor): implemented, + (paint): added FIXME note, + (paintFocus): implemented. + +2005-09-06 Lillian Angel + + Fixes Bug #PR23023 + * javax/swing/plaf/basic/BasicFileChooserUI.java: + Added 2 fields and reformatted copyright. + (actionPerformed): Should be able to open directories. + (mouseClicked): Set text in text field. + (installUI): Initialized the current parent path. + (installComponents): Fixed initialization for text field. + +2005-09-06 Lillian Angel + + * javax/swing/plaf/basic/BasicFileChooserUI.java: + Formatted entire class. + +2005-09-06 Mark Wielaard + + * configure.ac: Set version to 0.19-pre. + + * doc/www.gnu.org/announce/20050906.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add 0.18 release announcement. + * doc/www.gnu.org/downloads/downloads.wml: Add 0.18. + +2005-09-06 Roman Kennke + + * javax/swing/Box.java + (AccessibleBox): Extend Container.AccessibleAWTContainer. + (Filler.AccessibleBoxFiller): Extend Component.AccessibleAWTComponent. + (Filler.getAccessibleContext): Uncomment disabled code. + (getAccessibleContext): Uncomment disabled code. + * javax/swing/JRootPane.java: + JRootPane implements Accessible. + (AccessibleJRootPane): Extend AccessibleJComponent. + +2005-09-06 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonIcon.drawCheck): removed, + (RadioButtonIcon.paintIcon): reimplemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for JRadioButton. + +2005-09-06 Lillian Angel + + Fixes Bug #PR20015 + * javax/swing/JMenuBar.java + (getUIClassID): Fixed API documentation. + * javax/swing/plaf/basic/BasicMenuBarUI.java: + Added a private field for the mouse listener. + (BasicMenuBarUI): Initialized mouseListener. + (installListeners): Added mouseListener. + (uninstallListeners): Removed mouseListener. + (MouseInputHandler): New class added. + (mouseClicked): Added code to deselect menu items + when menu bar is clicked. + +2005-09-06 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Fixes Bug #PR23527 + (paintMenuItem): Moved view rectangle over to the + left the same amount as defaultTextIconGap so the + accelerator is painted with some space on the right. + +2005-09-06 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Formatted class. + +2005-09-06 Lillian Angel + + * javax/swing/plaf/basic/BasicScrollBarUI: + Fixes Bug PR23529. + (installUI): Changed delay for Timer. Was set too + long and actionPerformed was not being called fast + enough when the user clicks on the scroll bar. This + is because the timer is stopped after the mouse is + released. 2005-09-06 Mark Wielaard diff --git a/libjava/classpath/INSTALL b/libjava/classpath/INSTALL index 91515076cd3..7da23666937 100644 --- a/libjava/classpath/INSTALL +++ b/libjava/classpath/INSTALL @@ -1,4 +1,4 @@ -Installing GNU Classpath - Last updated: August 31, 2005 +Installing GNU Classpath - Last updated: September 7, 2005 First, this is a development release only! Unless you are interested in active development and debugging, or just like running random alpha code, @@ -31,12 +31,17 @@ Suggested Software --with-jikes, --with-gcj, --with-ecj or --with-kjc as argument to configure; the present default is gcj. - - GCJ 3.3+ (part of the GNU GCC package). + - GCJ 4.0+ (part of the GNU GCC package). - IBM jikes 1.19+. - Eclipse Compiler for Java 3.1+ - The kjc compiler is supported with configure but we have been unable to successfully compile with it. + IMPORTANT: Versions of GCJ which are earlier than 4.0 contain + bugs which make it impossible to compile the class library and + are *not* supported any more. If you are stuck on a system where + GCC 3.x is the system compiler we recommend using Jikes. + For building the gtk+ AWT peer JNI native libraries, the following are required unless --disable-gtk-peer is used as an argument to configure. @@ -74,6 +79,29 @@ Suggested Software - texinfo 4.2 or higher. + For building the ALSA midi provider code you will need + ALSA. http://www.alsa-project.org. + + For building the DSSI midi synthesizer provider code you will + need DSSI from http://dssi.sourceforge.net. This, in turn, + introduces many dependencies, including: + + - liblo: the Lightweight OSC implementation + http://plugin.org.uk/liblo/ + + - LADSPA: Linux Audio Developer's Simple Plugin API + http://www.ladspa.org + + - the JACK Audio Connection Kit: A low latency audio server + http://jackit.sourceforge.net + + - libsndfile: an audio file I/O library + http://www.mega-nerd.com/libsndfile/ + + - fluidsynth: a real-time SoundFont 2 based soft-synth + http://www.fluidsynth.org/ + + This package was designed to use the GNU standard for configuration and makefiles. To build and install do the following: @@ -99,8 +127,7 @@ gives a complete list. --enable-Werror whether to compile C code with -Werror which turns any compiler warning into a compilation failure default=no - --enable-xmlj compile native libxml/xslt library default=no - --with-gjdoc generate documentation using gjdoc default=no + --with-gjdoc generate documentation using gjdoc default=no --with-jay Regenerate the parsers with jay must be given the path to the jay executable diff --git a/libjava/classpath/LICENSE b/libjava/classpath/LICENSE index 240f834ddff..273623b2c48 100644 --- a/libjava/classpath/LICENSE +++ b/libjava/classpath/LICENSE @@ -284,3 +284,17 @@ All these files are distributed under the following terms: shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. + + +The file native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c +contains two functions (get_port_default and set_control) derived from +example code in the DSSI distribution (http://dssi.sourceforge.net). +The original DSSI example code is distributed under the following +terms: + + Copyright 2004 Chris Cannam, Steve Harris and Sean Bolton. + + Permission to use, copy, modify, distribute, and sell this software + for any purpose is hereby granted without fee, provided that the + above copyright notice and this permission notice are included in + all copies or substantial portions of the software. diff --git a/libjava/classpath/Makefile.am b/libjava/classpath/Makefile.am index 63b26c197d1..69bdb4aa431 100644 --- a/libjava/classpath/Makefile.am +++ b/libjava/classpath/Makefile.am @@ -11,7 +11,8 @@ native: lib EXTRA_DIST = HACKING BUGS THANKYOU mauve-classpath LICENSE \ ChangeLog-2003 ChangeLog-2004 \ - ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj + ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj \ + autogen.sh #DISTCHECK_CONFIGURE_FLAGS = --enable-gjdoc diff --git a/libjava/classpath/Makefile.in b/libjava/classpath/Makefile.in index 957fc5325a4..410171efc59 100644 --- a/libjava/classpath/Makefile.in +++ b/libjava/classpath/Makefile.in @@ -44,10 +44,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ ltmain.sh missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ - $(top_srcdir)/../../config/lead-dot.m4 \ - $(top_srcdir)/../../config/no-executables.m4 \ - $(top_srcdir)/../../libtool.m4 $(top_srcdir)/m4/accross.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/../../libtool.m4 \ + $(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ $(top_srcdir)/m4/acinclude.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/pkg.m4 \ @@ -100,10 +98,14 @@ CLASSPATH_MODULE = @CLASSPATH_MODULE@ CP = @CP@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CREATE_ALSA_LIBRARIES_FALSE = @CREATE_ALSA_LIBRARIES_FALSE@ +CREATE_ALSA_LIBRARIES_TRUE = @CREATE_ALSA_LIBRARIES_TRUE@ CREATE_API_DOCS_FALSE = @CREATE_API_DOCS_FALSE@ CREATE_API_DOCS_TRUE = @CREATE_API_DOCS_TRUE@ CREATE_CORE_JNI_LIBRARIES_FALSE = @CREATE_CORE_JNI_LIBRARIES_FALSE@ CREATE_CORE_JNI_LIBRARIES_TRUE = @CREATE_CORE_JNI_LIBRARIES_TRUE@ +CREATE_DSSI_LIBRARIES_FALSE = @CREATE_DSSI_LIBRARIES_FALSE@ +CREATE_DSSI_LIBRARIES_TRUE = @CREATE_DSSI_LIBRARIES_TRUE@ CREATE_GTK_PEER_LIBRARIES_FALSE = @CREATE_GTK_PEER_LIBRARIES_FALSE@ CREATE_GTK_PEER_LIBRARIES_TRUE = @CREATE_GTK_PEER_LIBRARIES_TRUE@ CREATE_JNI_HEADERS_FALSE = @CREATE_JNI_HEADERS_FALSE@ @@ -240,6 +242,7 @@ build_vendor = @build_vendor@ datadir = @datadir@ default_toolkit = @default_toolkit@ exec_prefix = @exec_prefix@ +glibjdir = @glibjdir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ @@ -253,6 +256,7 @@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ +nativelibdir = @nativelibdir@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ @@ -272,7 +276,8 @@ DIST_SUBDIRS = lib doc external include native resource scripts examples ACLOCAL_AMFLAGS = -I m4 -I ../.. -I ../../config EXTRA_DIST = HACKING BUGS THANKYOU mauve-classpath LICENSE \ ChangeLog-2003 ChangeLog-2004 \ - ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj + ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj \ + autogen.sh all: all-recursive @@ -446,7 +451,7 @@ distclean-tags: distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) - $(mkdir_p) $(distdir)/../.. $(distdir)/../../config $(distdir)/examples $(distdir)/gnu/classpath $(distdir)/lib $(distdir)/m4 $(distdir)/scripts + $(mkdir_p) $(distdir)/../.. $(distdir)/examples $(distdir)/gnu/classpath $(distdir)/lib $(distdir)/m4 $(distdir)/scripts @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ diff --git a/libjava/classpath/NEWS b/libjava/classpath/NEWS index 4d918525963..778369385b7 100644 --- a/libjava/classpath/NEWS +++ b/libjava/classpath/NEWS @@ -1,3 +1,58 @@ +New in release 0.20 + +Runtime interface changes: + +* New method VMStackWalker.getClassLoader() was added to avoid an infinite + loop between getCallingClassLoader() and Class.getClassLoader(). + +New in release 0.19 (Nov 2, 2005) + +* The Swing RepaintManager has been reworked for more efficient painting, + especially for large GUIs. + +* The Swing layout manager OverlayLayout has been implemented, the BoxLayout + has been rewritten to make use of the SizeRequirements utility class and + caching for more efficient layout. + +* Improved accessibility support for Swing. + +* The java.net.HttpURLConnection implementation no longer buffers the + entire response body in memory. This means that response bodies + larger than available memory can now be handled. + +* The Andrew Watson, Vice President and Technical Director of the Object + Management Group, has officially assigned us 20 bit Vendor Minor Code Id: + 0x47430 ("GC") that will mark remote Classpath - specific system exceptions. + Obtaining the VMCID means that GNU Classpath now is a recogniseable type of + node in a highly interoperable CORBA world. + +* Classpath now includes the first working draft to support the RMI over + IIOP protocol. The current implementation is capable for remote invocations, + transferring various Serializables and Externalizables via RMI-IIOP protocol. + It can flatten graphs and, at least for the simple cases, is interoperable + with Sun's jdk 1.5. + +* Qt4 configury switches for OS-X. Additional to the --enable-qt-peer, OS-X + users with a Qt4 installation can build the qt-peers with the argument + --with-qt4dir=. + +* Significant progress has been made in the implementation of the + javax.swing.plaf.metal.* package, with most UI delegates in a working state + now. Please test this with your own applications and provide feedback that + will help us to improve this package. + +* The GUI demo (gnu.classpath.examples.swing.Demo) has been extended to + highlight various features in our free-swing implementation. And includes + a look and feel switcher (Metal default, Ocean or GNU). + +Runtime interface changes: + +* Changed implementation of VMClassLoader.getPackage(s) : new method + VMClassLoader.getBootPackages should be implemented by the vm, and sould + return a string array of boot package names ("java.lang", "java.net", ...). + Feedback from vm implementors for usability and relevance of the + getBootPackages method would be greatly appreciated. + New in release 0.18 (Sep 6, 2005) * GNU JAWT implementation, the AWT Native Interface, which allows direct diff --git a/libjava/classpath/aclocal.m4 b/libjava/classpath/aclocal.m4 index fbe1f32dd7a..7f4f5c62f22 100644 --- a/libjava/classpath/aclocal.m4 +++ b/libjava/classpath/aclocal.m4 @@ -547,6 +547,39 @@ AC_DEFUN([AM_PROG_INSTALL_SH], install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) +# -*- Autoconf -*- +# Copyright (C) 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 1 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + # Add --enable-maintainer-mode option to configure. # From Jim Meyering @@ -1053,10 +1086,8 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR -m4_include([../../config/depstand.m4]) -m4_include([../../config/lead-dot.m4]) -m4_include([../../config/no-executables.m4]) m4_include([../../libtool.m4]) +m4_include([m4/acattribute.m4]) m4_include([m4/accross.m4]) m4_include([m4/acinclude.m4]) m4_include([m4/iconv.m4]) diff --git a/libjava/classpath/autogen.sh b/libjava/classpath/autogen.sh index e20cc38695a..babfa4e5d83 100755 --- a/libjava/classpath/autogen.sh +++ b/libjava/classpath/autogen.sh @@ -16,7 +16,7 @@ LIBTOOLIZE=libtoolize have_libtool=false if ${LIBTOOLIZE} --version < /dev/null > /dev/null 2>&1 ; then - libtool_version=`${LIBTOOLIZE} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'` + libtool_version=`${LIBTOOLIZE} --version | sed 's/^.*[^0-9.]\([0-9]\{1,\}\.[0-9.]\{1,\}\).*/\1/'` case $libtool_version in 1.5*) have_libtool=true diff --git a/libjava/classpath/config.guess b/libjava/classpath/config.guess index 2fc3acce2ea..917bbc50f36 100755 --- a/libjava/classpath/config.guess +++ b/libjava/classpath/config.guess @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2003-06-17' +timestamp='2005-07-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -17,13 +17,15 @@ timestamp='2003-06-17' # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. + # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. @@ -53,7 +55,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -66,11 +68,11 @@ Try \`$me --help' for more information." while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; + echo "$timestamp" ; exit ;; --version | -v ) - echo "$version" ; exit 0 ;; + echo "$version" ; exit ;; --help | --h* | -h ) - echo "$usage"; exit 0 ;; + echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. @@ -123,7 +125,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ;' +esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) @@ -136,13 +138,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -## for Red Hat Linux -if test -f /etc/redhat-release ; then - VENDOR=redhat ; -else - VENDOR= ; -fi - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -203,50 +198,29 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerppc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU @@ -284,42 +258,49 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha*:OpenVMS:*:*) - echo alpha-hp-vms - exit 0 ;; + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix - exit 0 ;; + exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 - exit 0 ;; + exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 - exit 0;; + exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; + exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; + exit ;; *:OS/390:*:*) echo i370-ibm-openedition - exit 0 ;; + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp - exit 0;; + exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then @@ -327,32 +308,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in else echo pyramid-pyramid-bsd fi - exit 0 ;; + exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 - exit 0 ;; + exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 - exit 0 ;; - DRS?6000:UNIX_SV:4.2*:7*) + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7 && exit 0 ;; + sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) @@ -361,10 +342,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; + exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; + exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 @@ -376,10 +357,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in echo sparc-sun-sunos${UNAME_RELEASE} ;; esac - exit 0 ;; + exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; + exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -390,37 +371,40 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; + exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 - exit 0 ;; + exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; + exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c @@ -444,32 +428,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit (-1); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c \ - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && exit 0 + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; + exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax - exit 0 ;; + exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax - exit 0 ;; + exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax - exit 0 ;; + exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix - exit 0 ;; + exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 - exit 0 ;; + exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 - exit 0 ;; + exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` @@ -485,29 +470,29 @@ EOF else echo i586-dg-dgux${UNAME_RELEASE} fi - exit 0 ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 - exit 0 ;; + exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 - exit 0 ;; + exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd - exit 0 ;; + exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; + exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix - exit 0 ;; + exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` @@ -515,7 +500,7 @@ EOF IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; + exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build @@ -530,14 +515,18 @@ EOF exit(0); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 - echo rs6000-ibm-aix3.2.5 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi - exit 0 ;; + exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then @@ -551,28 +540,28 @@ EOF IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; + exit ;; *:AIX:*:*) echo rs6000-ibm-aix - exit 0 ;; + exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 - exit 0 ;; + exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 + exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx - exit 0 ;; + exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 - exit 0 ;; + exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd - exit 0 ;; + exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 - exit 0 ;; + exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in @@ -634,9 +623,19 @@ EOF esac if [ ${HP_ARCH} = "hppa2.0w" ] then - # avoid double evaluation of $set_cc_for_build - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else @@ -644,11 +643,11 @@ EOF fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; + exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; + exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c @@ -676,150 +675,166 @@ EOF exit (0); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 - exit 0 ;; + exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd - exit 0 ;; + exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd - exit 0 ;; + exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix - exit 0 ;; + exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf - exit 0 ;; + exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf - exit 0 ;; + exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi - exit 0 ;; + exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites - exit 0 ;; + exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit 0 ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit 0 ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit 0 ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit 0 ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; *:UNICOS/mp:*:*) - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) - # Determine whether the default compiler uses glibc. - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #if __GLIBC__ >= 2 - LIBC=gnu - #else - LIBC= - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} - exit 0 ;; + exit ;; + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; + exit ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; + exit ;; x86:Interix*:[34]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' - exit 0 ;; + exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks - exit 0 ;; + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix - exit 0 ;; + exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; + exit ;; + amd64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin - exit 0 ;; + exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; + exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu - exit 0 ;; + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu - exit 0 ;; + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c @@ -837,7 +852,7 @@ EOF #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build @@ -856,14 +871,14 @@ EOF #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; ppc:Linux:*:*) - echo powerpc-${VENDOR:-unknown}-linux-gnu - exit 0 ;; + echo powerpc-unknown-linux-gnu + exit ;; ppc64:Linux:*:*) - echo powerpc64-${VENDOR:-unknown}-linux-gnu - exit 0 ;; + echo powerpc64-unknown-linux-gnu + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; @@ -877,7 +892,7 @@ EOF objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; + exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in @@ -885,25 +900,25 @@ EOF PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac - exit 0 ;; + exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu - exit 0 ;; + exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu - exit 0 ;; + echo ${UNAME_MACHINE}-ibm-linux + exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + exit ;; x86_64:Linux:*:*) - echo x86_64-${VENDOR:-unknown}-linux-gnu - exit 0 ;; + echo x86_64-unknown-linux-gnu + exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent @@ -921,15 +936,15 @@ EOF ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; + exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; + exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; + exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build @@ -952,17 +967,23 @@ EOF LIBC=gnuaout #endif #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + test x"${LIBC}" != x && { + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit + } + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 - exit 0 ;; + exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... @@ -970,24 +991,27 @@ EOF # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; + exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; + exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; + exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; + exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then @@ -995,15 +1019,16 @@ EOF else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi - exit 0 ;; - i*86:*:5:[78]*) + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; + exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi - exit 0 ;; + exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv - exit 0 ;; + exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv - exit 0 ;; + exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; + && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 - exit 0 ;; + exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; + exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` @@ -1095,68 +1120,73 @@ EOF else echo ns32k-sni-sysv fi - exit 0 ;; + exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 - exit 0 ;; + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 - exit 0 ;; + exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 - exit 0 ;; + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos - exit 0 ;; + exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; + exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 - exit 0 ;; + exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi - exit 0 ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos - exit 0 ;; + exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos - exit 0 ;; + exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos - exit 0 ;; + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Darwin:*:*) - case `uname -p` in + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in *86) UNAME_PROCESSOR=i686 ;; - powerpc) UNAME_PROCESSOR=powerpc ;; + unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit 0 ;; + exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then @@ -1164,22 +1194,25 @@ EOF UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit 0 ;; + exit ;; *:QNX:*:4*) echo i386-pc-qnx - exit 0 ;; - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; + exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux - exit 0 ;; + exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv - exit 0 ;; + exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 @@ -1190,28 +1223,44 @@ EOF UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; + exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 - exit 0 ;; + exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex - exit 0 ;; + exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 - exit 0 ;; + exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 - exit 0 ;; + exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 - exit 0 ;; + exit ;; *:ITS:*:*) echo pdp10-unknown-its - exit 0 ;; + exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 @@ -1243,7 +1292,7 @@ main () #endif #if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); + printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) @@ -1332,11 +1381,12 @@ main () } EOF -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) @@ -1345,22 +1395,22 @@ then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd - exit 0 ;; + exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; c34*) echo c34-convex-bsd - exit 0 ;; + exit ;; c38*) echo c38-convex-bsd - exit 0 ;; + exit ;; c4*) echo c4-convex-bsd - exit 0 ;; + exit ;; esac fi @@ -1371,7 +1421,9 @@ This script, last modified $timestamp, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from - ftp://ftp.gnu.org/pub/gnu/config/ + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess +and + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub If the version you run ($0) is already up to date, please send the following data and any information you think might be diff --git a/libjava/classpath/config.sub b/libjava/classpath/config.sub index 6b2ff9f6a7a..1c366dfde9a 100755 --- a/libjava/classpath/config.sub +++ b/libjava/classpath/config.sub @@ -1,9 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2003-06-18' +timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -21,14 +21,15 @@ timestamp='2003-06-18' # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. + # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # @@ -70,7 +71,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -83,11 +84,11 @@ Try \`$me --help' for more information." while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; + echo "$timestamp" ; exit ;; --version | -v ) - echo "$version" ; exit 0 ;; + echo "$version" ; exit ;; --help | --h* | -h ) - echo "$usage"; exit 0 ;; + echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. @@ -99,7 +100,7 @@ while test $# -gt 0 ; do *local*) # First pass through any local machine types. echo $1 - exit 0;; + exit ;; * ) break ;; @@ -118,7 +119,8 @@ esac # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -144,7 +146,7 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) + -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; @@ -228,14 +230,16 @@ case $basic_machine in | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ - | ip2k \ - | m32r | m68000 | m68k | m88k | mcore \ + | ip2k | iq2000 \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -244,31 +248,37 @@ case $basic_machine in | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | ms1 \ | msp430 \ | ns16k | ns32k \ - | openrisc | or32 \ + | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | s390 | s390x \ - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; + m32c) + basic_machine=$basic_machine-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -296,19 +306,19 @@ case $basic_machine in | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ - | bs2000-* \ + | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | cydra-* \ + | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* \ - | m32r-* \ + | ip2k-* | iq2000-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -317,34 +327,40 @@ case $basic_machine in | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | ms1-* \ | msp430-* \ - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | s390-* | s390x-* \ - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; + m32c-*) + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -361,6 +377,9 @@ case $basic_machine in basic_machine=a29k-amd os=-udi ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -378,6 +397,9 @@ case $basic_machine in amd64) basic_machine=x86_64-pc ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -437,12 +459,27 @@ case $basic_machine in basic_machine=j90-cray os=-unicos ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16c) + basic_machine=cr16c-unknown + os=-elf + ;; crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; @@ -465,6 +502,10 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx @@ -643,10 +684,6 @@ case $basic_machine in mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; monitor) basic_machine=m68k-rom68k os=-coff @@ -727,10 +764,6 @@ case $basic_machine in np1) basic_machine=np1-gould ;; - nv1) - basic_machine=nv1-cray - os=-unicosmp - ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -738,9 +771,12 @@ case $basic_machine in basic_machine=hppa1.1-oki os=-proelf ;; - or32 | or32-*) + openrisc | openrisc-*) basic_machine=or32-unknown - os=-coff + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson @@ -833,6 +869,12 @@ case $basic_machine in rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; sa29200) basic_machine=a29k-amd os=-udi @@ -956,6 +998,10 @@ case $basic_machine in tower | tower-32) basic_machine=m68k-ncr ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; udi29k) basic_machine=a29k-amd os=-udi @@ -999,6 +1045,10 @@ case $basic_machine in basic_machine=hppa1.1-winbond os=-proelf ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; xps | xps100) basic_machine=xps100-honeywell ;; @@ -1029,6 +1079,9 @@ case $basic_machine in romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; @@ -1045,12 +1098,9 @@ case $basic_machine in we32k) basic_machine=we32k-att ;; - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sh64) - basic_machine=sh64-unknown - ;; sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; @@ -1124,19 +1174,21 @@ case $os in | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1154,12 +1206,15 @@ case $os in os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -1172,6 +1227,9 @@ case $os in -opened*) os=-openedition ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -1193,6 +1251,9 @@ case $os in -atheos*) os=-atheos ;; + -syllable*) + os=-syllable + ;; -386bsd) os=-bsd ;; @@ -1215,6 +1276,9 @@ case $os in -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1251,6 +1315,9 @@ case $os in -kaos*) os=-kaos ;; + -zvmoe) + os=-zvmoe + ;; -none) ;; *) @@ -1282,9 +1349,9 @@ case $basic_machine in arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 @@ -1328,9 +1395,15 @@ case $basic_machine in *-be) os=-beos ;; + *-haiku) + os=-haiku + ;; *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; *-wec) os=-proelf ;; @@ -1463,9 +1536,15 @@ case $basic_machine in -mvs* | -opened*) vendor=ibm ;; + -os400*) + vendor=ibm + ;; -ptx*) vendor=sequent ;; + -tpf*) + vendor=ibm + ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; @@ -1490,7 +1569,7 @@ case $basic_machine in esac echo $basic_machine$os -exit 0 +exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) diff --git a/libjava/classpath/configure b/libjava/classpath/configure index 0c6781a815a..203822ddd78 100755 --- a/libjava/classpath/configure +++ b/libjava/classpath/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for GNU Classpath 0.18. +# Generated by GNU Autoconf 2.59 for GNU Classpath 0.20-pre. # # Report bugs to . # @@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='GNU Classpath' PACKAGE_TARNAME='classpath' -PACKAGE_VERSION='0.18' -PACKAGE_STRING='GNU Classpath 0.18' +PACKAGE_VERSION='0.20-pre' +PACKAGE_STRING='GNU Classpath 0.20-pre' PACKAGE_BUGREPORT='classpath@gnu.org' ac_unique_file="java/lang/System.java" @@ -312,7 +312,7 @@ ac_includes_default="\ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LIBTOOL CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP EGREP LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS QT_CFLAGS QT_LIBS MOC CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE nativelibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS QT_CFLAGS QT_LIBS MOC USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -793,7 +793,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU Classpath 0.18 to adapt to many kinds of systems. +\`configure' configures GNU Classpath 0.20-pre to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -864,7 +864,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Classpath 0.18:";; + short | recursive ) echo "Configuration of GNU Classpath 0.20-pre:";; esac cat <<\_ACEOF @@ -873,12 +873,18 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-jni compile JNI source default=yes --enable-core-jni compile JNI sources for core default=yes - --disable-Werror whether to compile C code with -Werror which turns + --enable-Werror whether to compile C code with -Werror which turns any compiler warning into a compilation failure default=no --enable-default-toolkit fully qualified class name of default AWT toolkit --enable-xmlj compile native libxml/xslt library default=no + --disable-alsa compile ALSA providers (enable by --enable-alsa) + default=yes + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-dssi compile DSSI providers (enable by --enable-dssi) + default=yes --disable-gtk-peer compile GTK native peers (disabled by --disable-jni) default=yes @@ -890,8 +896,6 @@ Optional Features: --enable-static=PKGS build static libraries default=no --enable-shared=PKGS build shared libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths --enable-maintainer-mode enable make rules and dependencies not useful @@ -908,11 +912,17 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-native-libdir sets the installation directore for native libraries + default='${libdir}/${PACKAGE}' + --with-glibj-dir sets the installation directory for glibj.zip + default='${libdir}/${PACKAGE}' --with-gnu-ld assume the C compiler uses GNU ld default=no --with-pic try to use only PIC/non-PIC objects default=use both --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-x use the X Window System + --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other + systems use pkg-config. --with-javah specify path or name of a javah-like program --with-gcj bytecode compilation with gcj --with-jikes bytecode compilation with jikes @@ -1031,14 +1041,14 @@ esac else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi - cd $ac_popdir + cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -GNU Classpath configure 0.18 +GNU Classpath configure 0.20-pre generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1052,7 +1062,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU Classpath $as_me 0.18, which was +It was created by GNU Classpath $as_me 0.20-pre, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1797,7 +1807,7 @@ fi # Define the identity of the package. PACKAGE='classpath' - VERSION='0.18' + VERSION='0.20-pre' cat >>confdefs.h <<_ACEOF @@ -2062,7 +2072,7 @@ if test "${enable_Werror+set}" = set; then case "${enableval}" in yes) ENABLE_WERROR=yes ;; no) ENABLE_WERROR=no ;; - *) ENABLE_WERROR=yes ;; + *) ENABLE_WERROR=no ;; esac else ENABLE_WERROR=no @@ -2101,359 +2111,175 @@ else fi -# Check whether --enable-gtk-peer or --disable-gtk-peer was given. -if test "${enable_gtk_peer+set}" = set; then - enableval="$enable_gtk_peer" - case "${enableval}" in - yes) COMPILE_GTK_PEER=yes ;; - no) COMPILE_GTK_PEER=no ;; - *) COMPILE_GTK_PEER=yes ;; - esac -else - COMPILE_GTK_PEER=yes -fi; - +DEPDIR="${am__leading_dot}deps" -if test "x${COMPILE_GTK_PEER}" = xyes; then - CREATE_GTK_PEER_LIBRARIES_TRUE= - CREATE_GTK_PEER_LIBRARIES_FALSE='#' -else - CREATE_GTK_PEER_LIBRARIES_TRUE='#' - CREATE_GTK_PEER_LIBRARIES_FALSE= -fi + ac_config_commands="$ac_config_commands depfiles" -# Check whether --enable-gtk-peers or --disable-gtk-peers was given. -if test "${enable_gtk_peers+set}" = set; then - enableval="$enable_gtk_peers" - { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5 -echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;} - { (exit 1); exit 1; }; } -fi; +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi -# Check whether --enable-gtk-cairo or --disable-gtk-cairo was given. -if test "${enable_gtk_cairo+set}" = set; then - enableval="$enable_gtk_cairo" - case "${enableval}" in - yes) GTK_CAIRO_ENABLED=true ;; - no) GTK_CAIRO_ENABLED=false ;; - *) GTK_CAIRO_ENABLED=true ;; - esac -else - GTK_CAIRO_ENABLED=false -fi; -if test "x${GTK_CAIRO_ENABLED}" = xtrue; then +echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6 +rm -f confinc confmf -cat >>confdefs.h <<\_ACEOF -#define GTK_CAIRO 1 -_ACEOF +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" +fi; +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' fi -if test "x${GTK_CAIRO_ENABLED}" = xtrue; then - GTK_CAIRO_TRUE= - GTK_CAIRO_FALSE='#' +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' else - GTK_CAIRO_TRUE='#' - GTK_CAIRO_FALSE= + AMDEP_TRUE='#' + AMDEP_FALSE= fi -# Check whether --enable-qt-peer or --disable-qt-peer was given. -if test "${enable_qt_peer+set}" = set; then - enableval="$enable_qt_peer" - case "${enableval}" in - yes) COMPILE_QT_PEER=yes ;; - no) COMPILE_QT_PEER=no ;; - *) COMPILE_QT_PEER=yes ;; - esac -else - COMPILE_QT_PEER=no -fi; +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -if test "x${COMPILE_QT_PEER}" = xyes; then - CREATE_QT_PEER_LIBRARIES_TRUE= - CREATE_QT_PEER_LIBRARIES_FALSE='#' +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - CREATE_QT_PEER_LIBRARIES_TRUE='#' - CREATE_QT_PEER_LIBRARIES_FALSE= + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - -# Check whether --enable-regen-headers or --disable-regen-headers was given. -if test "${enable_regen_headers+set}" = set; then - enableval="$enable_regen_headers" - case "${enableval}" in - yes) REGENERATE_JNI_HEADERS=yes ;; - no) REGENERATE_JNI_HEADERS=no ;; - *) REGENERATE_JNI_HEADERS=no ;; - esac +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - REGENERATE_JNI_HEADERS=no -fi; - + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -if test "x${REGENERATE_JNI_HEADERS}" = xyes; then - CREATE_JNI_HEADERS_TRUE= - CREATE_JNI_HEADERS_FALSE='#' +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - CREATE_JNI_HEADERS_TRUE='#' - CREATE_JNI_HEADERS_FALSE= + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - -echo "$as_me:$LINENO: checking whether ln -s works" >&5 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + CC=$ac_ct_CC else - echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -echo "${ECHO_T}no, using $LN_S" >&6 + CC="$ac_cv_prog_CC" fi -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL=$ac_install_sh - fi -fi -echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - - - -# Check whether --enable-static or --disable-static was given. -if test "${enable_static+set}" = set; then - enableval="$enable_static" - p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac -else - enable_static=no -fi; -# Check whether --enable-shared or --disable-shared was given. -if test "${enable_shared+set}" = set; then - enableval="$enable_shared" - p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac -else - enable_shared=yes -fi; -# Check whether --enable-fast-install or --disable-fast-install was given. -if test "${enable_fast_install+set}" = set; then - enableval="$enable_fast_install" - p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac -else - enable_fast_install=yes -fi; -DEPDIR="${am__leading_dot}deps" - - ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo done -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi - - -echo "$as_me:$LINENO: result: $_am_result" >&5 -echo "${ECHO_T}$_am_result" >&6 -rm -f confinc confmf - -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then - enableval="$enable_dependency_tracking" - -fi; -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - - -if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" + ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -2474,8 +2300,8 @@ fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then @@ -2491,7 +2317,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" + ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -2514,10 +2340,10 @@ else CC="$ac_cv_prog_CC" fi +fi if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then @@ -2526,6 +2352,7 @@ else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else + ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do @@ -2533,13 +2360,29 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi fi fi CC=$ac_cv_prog_CC @@ -2552,17 +2395,19 @@ echo "${ECHO_T}no" >&6 fi fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then +if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -2571,106 +2416,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -2772,39 +2518,6 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -int -main () -{ - - ; - return 0; -} -_ACEOF -# FIXME: Cleanup? -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - gcc_no_link=no -else - gcc_no_link=yes -fi - -if test x$gcc_no_link = xyes; then - # Setting cross_compile will disable run tests; it will - # also disable AC_CHECK_FILE but that's generally - # correct if we can't link. - cross_compiling=yes - EXEEXT= -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - int main () { @@ -2949,7 +2662,6 @@ echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -fi echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then @@ -3032,8 +2744,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3091,8 +2802,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3208,8 +2918,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3263,8 +2972,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3309,8 +3017,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3354,8 +3061,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3479,31 +3185,1157 @@ else fi done - cd .. - rm -rf conftest.dir + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +# Check whether --enable-alsa or --disable-alsa was given. +if test "${enable_alsa+set}" = set; then + enableval="$enable_alsa" + case "${enableval}" in + yes) COMPILE_ALSA=yes ;; + no) COMPILE_ALSA=no ;; + *) COMPILE_ALSA=yes ;; + esac +else + +for ac_header in alsa/asoundlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## -------------------------------- ## +## Report this to classpath@gnu.org ## +## -------------------------------- ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + COMPILE_ALSA=yes +else + COMPILE_ALSA=no +fi + +done + +fi; + + +if test "x${COMPILE_ALSA}" = xyes; then + CREATE_ALSA_LIBRARIES_TRUE= + CREATE_ALSA_LIBRARIES_FALSE='#' +else + CREATE_ALSA_LIBRARIES_TRUE='#' + CREATE_ALSA_LIBRARIES_FALSE= +fi + + +# Check whether --enable-dssi or --disable-dssi was given. +if test "${enable_dssi+set}" = set; then + enableval="$enable_dssi" + case "${enableval}" in + yes) COMPILE_DSSI=yes ;; + no) COMPILE_DSSI=no ;; + *) COMPILE_DSSI=yes ;; + esac +else + +for ac_header in dssi.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## -------------------------------- ## +## Report this to classpath@gnu.org ## +## -------------------------------- ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + COMPILE_DSSI=yes +else + COMPILE_DSSI=no +fi + +done + +fi; + + +if test "x${COMPILE_DSSI}" = xyes; then + CREATE_DSSI_LIBRARIES_TRUE= + CREATE_DSSI_LIBRARIES_FALSE='#' +else + CREATE_DSSI_LIBRARIES_TRUE='#' + CREATE_DSSI_LIBRARIES_FALSE= +fi + + +# Check whether --enable-gtk-peer or --disable-gtk-peer was given. +if test "${enable_gtk_peer+set}" = set; then + enableval="$enable_gtk_peer" + case "${enableval}" in + yes) COMPILE_GTK_PEER=yes ;; + no) COMPILE_GTK_PEER=no ;; + *) COMPILE_GTK_PEER=yes ;; + esac +else + COMPILE_GTK_PEER=yes +fi; + + +if test "x${COMPILE_GTK_PEER}" = xyes; then + CREATE_GTK_PEER_LIBRARIES_TRUE= + CREATE_GTK_PEER_LIBRARIES_FALSE='#' +else + CREATE_GTK_PEER_LIBRARIES_TRUE='#' + CREATE_GTK_PEER_LIBRARIES_FALSE= +fi + + +# Check whether --enable-gtk-peers or --disable-gtk-peers was given. +if test "${enable_gtk_peers+set}" = set; then + enableval="$enable_gtk_peers" + { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5 +echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;} + { (exit 1); exit 1; }; } +fi; + +# Check whether --enable-gtk-cairo or --disable-gtk-cairo was given. +if test "${enable_gtk_cairo+set}" = set; then + enableval="$enable_gtk_cairo" + case "${enableval}" in + yes) GTK_CAIRO_ENABLED=true ;; + no) GTK_CAIRO_ENABLED=false ;; + *) GTK_CAIRO_ENABLED=true ;; + esac +else + GTK_CAIRO_ENABLED=false +fi; + +if test "x${GTK_CAIRO_ENABLED}" = xtrue; then + +cat >>confdefs.h <<\_ACEOF +#define GTK_CAIRO 1 +_ACEOF + +fi + + +if test "x${GTK_CAIRO_ENABLED}" = xtrue; then + GTK_CAIRO_TRUE= + GTK_CAIRO_FALSE='#' +else + GTK_CAIRO_TRUE='#' + GTK_CAIRO_FALSE= +fi + + +# Check whether --enable-qt-peer or --disable-qt-peer was given. +if test "${enable_qt_peer+set}" = set; then + enableval="$enable_qt_peer" + case "${enableval}" in + yes) COMPILE_QT_PEER=yes ;; + no) COMPILE_QT_PEER=no ;; + *) COMPILE_QT_PEER=yes ;; + esac +else + COMPILE_QT_PEER=no +fi; + + +if test "x${COMPILE_QT_PEER}" = xyes; then + CREATE_QT_PEER_LIBRARIES_TRUE= + CREATE_QT_PEER_LIBRARIES_FALSE='#' +else + CREATE_QT_PEER_LIBRARIES_TRUE='#' + CREATE_QT_PEER_LIBRARIES_FALSE= +fi + + + + +# Check whether --with-native-libdir or --without-native-libdir was given. +if test "${with_native_libdir+set}" = set; then + withval="$with_native_libdir" + + nativelibdir=${withval} + +else + + nativelibdir='${libdir}/${PACKAGE}' + +fi; + + + + +# Check whether --with-glibj-dir or --without-glibj-dir was given. +if test "${with_glibj_dir+set}" = set; then + withval="$with_glibj_dir" + + glibjdir=${withval} + +else + + glibjdir='${datadir}/${PACKAGE}' + +fi; + + + +# Check whether --enable-regen-headers or --disable-regen-headers was given. +if test "${enable_regen_headers+set}" = set; then + enableval="$enable_regen_headers" + case "${enableval}" in + yes) REGENERATE_JNI_HEADERS=yes ;; + no) REGENERATE_JNI_HEADERS=no ;; + *) REGENERATE_JNI_HEADERS=no ;; + esac +else + REGENERATE_JNI_HEADERS=no +fi; + + +if test "x${REGENERATE_JNI_HEADERS}" = xyes; then + CREATE_JNI_HEADERS_TRUE= + CREATE_JNI_HEADERS_FALSE='#' else - am_cv_CC_dependencies_compiler_type=none + CREATE_JNI_HEADERS_TRUE='#' + CREATE_JNI_HEADERS_FALSE= fi + +echo "$as_me:$LINENO: checking whether ln -s works" >&5 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:$LINENO: result: no, using $LN_S" >&5 +echo "${ECHO_T}no, using $LN_S" >&6 fi -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done -if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL=$ac_install_sh + fi +fi +echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +GCC_NO_EXECUTABLES + +# Check whether --enable-static or --disable-static was given. +if test "${enable_static+set}" = set; then + enableval="$enable_static" + p=${PACKAGE-default} +case $enableval in +yes) enable_static=yes ;; +no) enable_static=no ;; +*) + enable_static=no + # Look at the argument we got. We use all the common list separators. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," + for pkg in $enableval; do + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$ac_save_ifs" + ;; +esac +else + enable_static=no +fi; +# Check whether --enable-shared or --disable-shared was given. +if test "${enable_shared+set}" = set; then + enableval="$enable_shared" + p=${PACKAGE-default} +case $enableval in +yes) enable_shared=yes ;; +no) enable_shared=no ;; +*) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," + for pkg in $enableval; do + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$ac_save_ifs" + ;; +esac +else + enable_shared=yes +fi; +# Check whether --enable-fast-install or --disable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval="$enable_fast_install" + p=${PACKAGE-default} +case $enableval in +yes) enable_fast_install=yes ;; +no) enable_fast_install=no ;; +*) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," + for pkg in $enableval; do + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$ac_save_ifs" + ;; +esac +else + enable_fast_install=yes +fi; + # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" @@ -3825,7 +4657,6 @@ deplibs_check_method=$lt_cv_deplibs_check_method - # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments @@ -4222,7 +5053,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 4225 "configure"' > conftest.$ac_ext + echo '#line 5056 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -4340,12 +5171,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4369,8 +5195,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4880,8 +5705,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4939,8 +5763,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5056,8 +5879,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5111,8 +5933,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5157,8 +5978,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5202,8 +6022,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5730,8 +6549,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5789,8 +6607,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5861,8 +6678,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -5906,8 +6722,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -6306,23 +7121,7 @@ exec 5>>./config.log if test "x${COMPILE_JNI}" = xyes; then - -echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6 -if test "${ac_cv_prog_egrep+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi -fi -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6 - EGREP=$ac_cv_prog_egrep - - -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6355,8 +7154,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -6522,8 +7320,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -6596,8 +7393,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -6638,8 +7434,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -6741,108 +7536,36 @@ EOF fi echo $ac_n 'guessing bigendian ... ' >&6 fi - fi -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6 -fi -if test $ac_cv_c_bigendian = yes; then - -cat >>confdefs.h <<\_ACEOF -#define WORDS_BIGENDIAN 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define HOST_WORDS_BIG_ENDIAN 1 -_ACEOF - - BYTEORDER=4321 -else - BYTEORDER=1234 -fi - -cat >>confdefs.h <<_ACEOF -#define BYTEORDER $BYTEORDER -_ACEOF - -if test $ac_cv_c_bigendian = unknown; then - { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5 -echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;} - { (exit 1); exit 1; }; } -fi - - - # On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ + fi +echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6 +fi +if test $ac_cv_c_bigendian = yes; then + +cat >>confdefs.h <<\_ACEOF +#define WORDS_BIGENDIAN 1 _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> + +cat >>confdefs.h <<\_ACEOF +#define HOST_WORDS_BIG_ENDIAN 1 _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_Header=no" -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + BYTEORDER=4321 +else + BYTEORDER=1234 fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 + +cat >>confdefs.h <<_ACEOF +#define BYTEORDER $BYTEORDER _ACEOF +if test $ac_cv_c_bigendian = unknown; then + { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5 +echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;} + { (exit 1); exit 1; }; } fi -done - @@ -6899,8 +7622,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7150,12 +7872,7 @@ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -7215,8 +7932,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7282,8 +7998,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7345,8 +8060,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7411,8 +8125,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7458,8 +8171,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7505,12 +8217,7 @@ echo $ECHO_N "checking for tzname... $ECHO_C" >&6 if test "${ac_cv_var_tzname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -7538,8 +8245,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7599,8 +8305,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7651,8 +8356,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7703,8 +8407,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7811,8 +8514,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -7843,6 +8545,66 @@ _ACEOF fi + echo "$as_me:$LINENO: checking for __attribute__" >&5 +echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6 +if test "${ac_cv_c_attribute+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +void foo(void) __attribute__ ((__noreturn__)); + +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_attribute=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_attribute=no + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5 +echo "${ECHO_T}$ac_cv_c_attribute" >&6 + + +case $ac_cv_c_attribute in + yes) ;; + no) + cat >>confdefs.h <<_ACEOF +#define __attribute__(x) /* nothing */ +_ACEOF + ;; +esac + if test "X$prefix" = "XNONE"; then @@ -8425,12 +9187,7 @@ else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -8457,8 +9214,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -8481,12 +9237,7 @@ rm -f conftest.err conftest.$ac_objext \ if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -8513,8 +9264,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -8604,8 +9354,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -8860,9 +9609,12 @@ echo "$as_me: error: Library requirements (libxslt >= 1.1.11) not met; consider fi if test "x${COMPILE_GTK_PEER}" = xyes; then - echo "$as_me:$LINENO: checking for X" >&5 + +if test "x$ac_path_x_has_been_run" != xyes; then + echo "$as_me:$LINENO: checking for X" >&5 echo $ECHO_N "checking for X... $ECHO_C" >&6 +ac_path_x_has_been_run=yes # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -8955,7 +9707,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Intrinsic.h. + # Guess where to find include files, by looking for a specified header file. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -8963,7 +9715,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -8990,7 +9742,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Intrinsic.h"; then + if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi @@ -9004,23 +9756,18 @@ if test "$ac_x_libraries" = no; then # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lXt $LIBS" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + LIBS="-lX11 $LIBS" + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { -XtMalloc (0) +XrmInitialize () ; return 0; } @@ -9034,8 +9781,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9059,7 +9805,7 @@ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl; do - if test -r $ac_dir/libXt.$ac_extension; then + if test -r $ac_dir/libX11.$ac_extension; then ac_x_libraries=$ac_dir break 2 fi @@ -9095,10 +9841,15 @@ else # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes \ ac_x_includes=$x_includes ac_x_libraries=$x_libraries" - echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 + # It might be that x_includes is empty (headers are found in the + # standard search path. Then output the corresponding message + ac_out_x_includes=$x_includes + test "x$x_includes" = x && ac_out_x_includes="in standard search path" + echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 +echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 fi +fi if test "$no_x" = yes; then # Not all programs may use this symbol, but it does not hurt to define it. @@ -9122,12 +9873,7 @@ else echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9151,8 +9897,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9179,12 +9924,7 @@ echo "${ECHO_T}no" >&6 X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9208,8 +9948,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9254,12 +9993,7 @@ echo "${ECHO_T}neither works" >&6 # libraries were built with DECnet support. And Karl Berry says # the Alpha needs dnet_stub (dnet does not exist). ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9290,8 +10024,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9315,11 +10048,6 @@ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9351,8 +10079,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9389,11 +10116,6 @@ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9425,8 +10147,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9474,12 +10195,7 @@ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 if test "${ac_cv_func_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9539,8 +10255,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9573,11 +10288,6 @@ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9609,8 +10319,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9647,11 +10356,6 @@ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9683,8 +10387,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9728,12 +10431,7 @@ echo $ECHO_N "checking for connect... $ECHO_C" >&6 if test "${ac_cv_func_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9793,8 +10491,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9827,11 +10524,6 @@ if test "${ac_cv_lib_socket_connect+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -9863,8 +10555,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -9901,12 +10592,7 @@ echo $ECHO_N "checking for remove... $ECHO_C" >&6 if test "${ac_cv_func_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -9966,8 +10652,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10000,11 +10685,6 @@ if test "${ac_cv_lib_posix_remove+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10036,8 +10716,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10074,12 +10753,7 @@ echo $ECHO_N "checking for shmat... $ECHO_C" >&6 if test "${ac_cv_func_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -10139,8 +10813,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10173,11 +10846,6 @@ if test "${ac_cv_lib_ipc_shmat+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10209,8 +10877,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10258,11 +10925,6 @@ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then else ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10294,8 +10956,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10328,23 +10989,18 @@ fi fi - if test "$no_x" = yes; then - { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5 + if test "$no_x" = yes; then + { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;} { (exit 1); exit 1; }; } - fi - echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5 + fi + echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXtst ${X_LIBS} $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10376,8 +11032,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -10408,8 +11063,108 @@ else { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;} { (exit 1); exit 1; }; } -fi +fi + + + succeeded=no + + if test -z "$PKG_CONFIG"; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG + +if test -n "$PKG_CONFIG"; then + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5 +echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6 + + if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + succeeded=yes + + echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 +echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 + GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` + echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 +echo "${ECHO_T}$GTK_CFLAGS" >&6 + + echo "$as_me:$LINENO: checking GTK_LIBS" >&5 +echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 + GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` + echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 +echo "${ECHO_T}$GTK_LIBS" >&6 + else + GTK_CFLAGS="" + GTK_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` + echo $GTK_PKG_ERRORS + fi + + + + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + : + else + { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 +echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} + { (exit 1); exit 1; }; } + fi + + if test "x${enable_gtk_cairo}" = xyes; then succeeded=no @@ -10464,32 +11219,32 @@ fi else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5 -echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5 +echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6 - if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then + if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes - echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 -echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 - GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` - echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 -echo "${ECHO_T}$GTK_CFLAGS" >&6 + echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5 +echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6 + CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"` + echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5 +echo "${ECHO_T}$CAIRO_CFLAGS" >&6 - echo "$as_me:$LINENO: checking GTK_LIBS" >&5 -echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 - GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` - echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 -echo "${ECHO_T}$GTK_LIBS" >&6 + echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5 +echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6 + CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"` + echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5 +echo "${ECHO_T}$CAIRO_LIBS" >&6 else - GTK_CFLAGS="" - GTK_LIBS="" + CAIRO_CFLAGS="" + CAIRO_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"` - echo $GTK_PKG_ERRORS + CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"` + echo $CAIRO_PKG_ERRORS fi @@ -10503,17 +11258,14 @@ echo "${ECHO_T}$GTK_LIBS" >&6 if test $succeeded = yes; then : else - { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 -echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} + { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 +echo "$as_me: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} { (exit 1); exit 1; }; } fi + fi - fi - - if test "x${COMPILE_QT_PEER}" = xyes; then - succeeded=no if test -z "$PKG_CONFIG"; then @@ -10567,32 +11319,32 @@ fi else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo "$as_me:$LINENO: checking for QtGui >= 4.0.1" >&5 -echo $ECHO_N "checking for QtGui >= 4.0.1... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for pangoft2" >&5 +echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6 - if $PKG_CONFIG --exists "QtGui >= 4.0.1" ; then + if $PKG_CONFIG --exists "pangoft2" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes - echo "$as_me:$LINENO: checking QT_CFLAGS" >&5 -echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6 - QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0.1"` - echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5 -echo "${ECHO_T}$QT_CFLAGS" >&6 + echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5 +echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6 + PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` + echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5 +echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6 - echo "$as_me:$LINENO: checking QT_LIBS" >&5 -echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6 - QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0.1"` - echo "$as_me:$LINENO: result: $QT_LIBS" >&5 -echo "${ECHO_T}$QT_LIBS" >&6 + echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5 +echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6 + PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` + echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5 +echo "${ECHO_T}$PANGOFT2_LIBS" >&6 else - QT_CFLAGS="" - QT_LIBS="" + PANGOFT2_CFLAGS="" + PANGOFT2_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"` - echo $QT_PKG_ERRORS + PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"` + echo $PANGOFT2_PKG_ERRORS fi @@ -10606,104 +11358,21 @@ echo "${ECHO_T}$QT_LIBS" >&6 if test $succeeded = yes; then : else - { { echo "$as_me:$LINENO: error: Library requirements (QtGui >= 4.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 -echo "$as_me: error: Library requirements (QtGui >= 4.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} + { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 +echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} { (exit 1); exit 1; }; } fi - QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) - EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" - as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5 -echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6 -if eval "test \"\${$as_ac_File+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - test "$cross_compiling" = yes && - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} - { (exit 1); exit 1; }; } -if test -r "$QT_INCLUDE_DIR/QWidget"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 -if test `eval echo '${'$as_ac_File'}'` = yes; then - { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5 -echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;} -else - as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5 -echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6 -if eval "test \"\${$as_ac_File+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - test "$cross_compiling" = yes && - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} - { (exit 1); exit 1; }; } -if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 -if test `eval echo '${'$as_ac_File'}'` = yes; then - QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR" -else - { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5 -echo "$as_me: WARNING: QWidget not found" >&2;} -fi -fi - { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5 -echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;} - # Extract the first word of "moc", so it can be a program name with args. -set dummy moc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_MOC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$MOC"; then - ac_cv_prog_MOC="$MOC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_MOC="moc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -fi -fi -MOC=$ac_cv_prog_MOC -if test -n "$MOC"; then - echo "$as_me:$LINENO: result: $MOC" >&5 -echo "${ECHO_T}$MOC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + fi - if test "x${enable_gtk_cairo}" = xyes; then + if test "x${COMPILE_QT_PEER}" = xyes; then succeeded=no @@ -10758,32 +11427,32 @@ fi else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5 -echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for QtGui >= 4.0.1" >&5 +echo $ECHO_N "checking for QtGui >= 4.0.1... $ECHO_C" >&6 - if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then + if $PKG_CONFIG --exists "QtGui >= 4.0.1" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes - echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5 -echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6 - CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"` - echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5 -echo "${ECHO_T}$CAIRO_CFLAGS" >&6 + echo "$as_me:$LINENO: checking QT_CFLAGS" >&5 +echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6 + QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0.1"` + echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5 +echo "${ECHO_T}$QT_CFLAGS" >&6 - echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5 -echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6 - CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"` - echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5 -echo "${ECHO_T}$CAIRO_LIBS" >&6 + echo "$as_me:$LINENO: checking QT_LIBS" >&5 +echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6 + QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0.1"` + echo "$as_me:$LINENO: result: $QT_LIBS" >&5 +echo "${ECHO_T}$QT_LIBS" >&6 else - CAIRO_CFLAGS="" - CAIRO_LIBS="" + QT_CFLAGS="" + QT_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"` - echo $CAIRO_PKG_ERRORS + QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"` + fi @@ -10795,116 +11464,177 @@ echo "${ECHO_T}$CAIRO_LIBS" >&6 fi if test $succeeded = yes; then - : + HAVE_QT4="yes" else - { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 -echo "$as_me: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} - { (exit 1); exit 1; }; } + HAVE_QT4="no" fi + if test "x$HAVE_QT4" = "xyes"; then + QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) + EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" + as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5 +echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6 +if eval "test \"\${$as_ac_File+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + test "$cross_compiling" = yes && + { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} + { (exit 1); exit 1; }; } +if test -r "$QT_INCLUDE_DIR/QWidget"; then + eval "$as_ac_File=yes" +else + eval "$as_ac_File=no" +fi +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 +if test `eval echo '${'$as_ac_File'}'` = yes; then + { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5 +echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;} +else + as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5 +echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6 +if eval "test \"\${$as_ac_File+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + test "$cross_compiling" = yes && + { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} + { (exit 1); exit 1; }; } +if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then + eval "$as_ac_File=yes" +else + eval "$as_ac_File=no" +fi +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 +if test `eval echo '${'$as_ac_File'}'` = yes; then + QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR" +else + { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5 +echo "$as_me: WARNING: QWidget not found" >&2;} +fi - succeeded=no +fi - if test -z "$PKG_CONFIG"; then - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 + # Extract the first word of "moc", so it can be a program name with args. +set dummy moc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then +if test "${ac_cv_prog_MOC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + if test -n "$MOC"; then + ac_cv_prog_MOC="$MOC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + ac_cv_prog_MOC="moc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" - ;; -esac fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG - -if test -n "$PKG_CONFIG"; then - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6 +fi +MOC=$ac_cv_prog_MOC +if test -n "$MOC"; then + echo "$as_me:$LINENO: result: $MOC" >&5 +echo "${ECHO_T}$MOC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi - fi - - if test "$PKG_CONFIG" = "no" ; then - echo "*** The pkg-config script could not be found. Make sure it is" - echo "*** in your path, or set the PKG_CONFIG environment variable" - echo "*** to the full path to pkg-config." - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo "$as_me:$LINENO: checking for pangoft2" >&5 -echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6 - - if $PKG_CONFIG --exists "pangoft2" ; then - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - succeeded=yes - - echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5 -echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6 - PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` - echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5 -echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6 - - echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5 -echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6 - PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` - echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5 -echo "${ECHO_T}$PANGOFT2_LIBS" >&6 - else - PANGOFT2_CFLAGS="" - PANGOFT2_LIBS="" - ## If we have a custom action on failure, don't print errors, but - ## do set a variable so people can do so. - PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"` - echo $PANGOFT2_PKG_ERRORS - fi - - + fi + if test "x$HAVE_QT4" = "xno"; then + { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5 +echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;} + case "$host_os" in + darwin*) - else - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." - echo "*** See http://www.freedesktop.org/software/pkgconfig" - fi - fi +# Check whether --with-qt4dir or --without-qt4dir was given. +if test "${with_qt4dir+set}" = set; then + withval="$with_qt4dir" + QT4DIR=$withval - if test $succeeded = yes; then - : - else - { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 -echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} +fi; + if test x"$QT4DIR" = x ; then + { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5 +echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;} { (exit 1); exit 1; }; } + fi + echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5 +echo "${ECHO_T}QT4DIR... $QT4DIR" >&6 + # Extract the first word of "moc", so it can be a program name with args. +set dummy moc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_MOC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$MOC"; then + ac_cv_prog_MOC="$MOC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $QT4DIR/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MOC="$QT4DIR/bin/moc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi +done +done - fi - +fi +fi +MOC=$ac_cv_prog_MOC +if test -n "$MOC"; then + echo "$as_me:$LINENO: result: $MOC" >&5 +echo "${ECHO_T}$MOC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + if test x"$MOC" = x; then + { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5 +echo "$as_me: error: *** This is not the right Qt installation" >&2;} + { (exit 1); exit 1; }; } + fi + QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers" + QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers" + QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore" + QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui" + ;; + *) + { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version + of your installed Qt4 installation." >&5 +echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version + of your installed Qt4 installation." >&2;} + { (exit 1); exit 1; }; } + ;; + esac + fi + { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5 +echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;} + fi fi @@ -11347,51 +12077,36 @@ echo "${ECHO_T}no" >&6 fi fi - - if test "x$GCJ" != x; then - ## GCC version 2 puts out version messages that looked like: - ## 2.95 - - ## GCC version 3 puts out version messages like: - ## gcj (GCC) 3.3.3 - ## Copyright (C) 2003 Free Software Foundation, Inc. - ## This is free software; see the source for copying conditions. There is NO - ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - echo "$as_me:$LINENO: checking gcj version" >&5 -echo $ECHO_N "checking gcj version... $ECHO_C" >&6 - ## Take the output from gcj --version and extract just the version number - ## into GCJ_VERSION. - ## (we need to do this to be compatible with both GCC 2 and GCC 3 version - ## numbers) - ## - ## First, we get rid of everything before the first number on that line. - ## Assume that the first number on that line is the start of the - ## version. - ## - ## Second, while we're at it, go ahead and get rid of the first character - ## that is not part of a version number (i.e., is neither a digit nor - ## a dot). - ## - ## Third, quit, so that we won't process the second and subsequent lines. - GCJ_VERSION=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'` - GCJ_VERSION_MAJOR=`echo "$GCJ_VERSION" | cut -d '.' -f 1` - GCJ_VERSION_MINOR=`echo "$GCJ_VERSION" | cut -d '.' -f 2` - - if expr "$GCJ_VERSION_MAJOR" \< 3 > /dev/null; then - GCJ="" - fi - if expr "$GCJ_VERSION_MAJOR" = 3 > /dev/null; then - if expr "$GCJ_VERSION_MINOR" \< 3; then - GCJ="" - fi - fi if test "x$GCJ" != x; then - echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5 -echo "${ECHO_T}$GCJ_VERSION" >&6 + echo "$as_me:$LINENO: checking gcj version 4.0" >&5 +echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +#if __GNUC__ <= 3 + #error GCJ 4.0.0 or higher is required + #endif + +_ACEOF + $GCJ -E conftest.c > /dev/null + gcj_4_result=$? + if test "x$gcj_4_result" = "x0"; then + echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 +echo "${ECHO_T}4.0 or higher found" >&6 else - { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5 -echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;} + { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 +echo "$as_me: WARNING: 4.0 or higher required" >&2;} fi + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi else @@ -11482,51 +12197,36 @@ echo "${ECHO_T}no" >&6 fi fi - - if test "x$GCJ" != x; then - ## GCC version 2 puts out version messages that looked like: - ## 2.95 - - ## GCC version 3 puts out version messages like: - ## gcj (GCC) 3.3.3 - ## Copyright (C) 2003 Free Software Foundation, Inc. - ## This is free software; see the source for copying conditions. There is NO - ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - echo "$as_me:$LINENO: checking gcj version" >&5 -echo $ECHO_N "checking gcj version... $ECHO_C" >&6 - ## Take the output from gcj --version and extract just the version number - ## into GCJ_VERSION. - ## (we need to do this to be compatible with both GCC 2 and GCC 3 version - ## numbers) - ## - ## First, we get rid of everything before the first number on that line. - ## Assume that the first number on that line is the start of the - ## version. - ## - ## Second, while we're at it, go ahead and get rid of the first character - ## that is not part of a version number (i.e., is neither a digit nor - ## a dot). - ## - ## Third, quit, so that we won't process the second and subsequent lines. - GCJ_VERSION=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'` - GCJ_VERSION_MAJOR=`echo "$GCJ_VERSION" | cut -d '.' -f 1` - GCJ_VERSION_MINOR=`echo "$GCJ_VERSION" | cut -d '.' -f 2` - - if expr "$GCJ_VERSION_MAJOR" \< 3 > /dev/null; then - GCJ="" - fi - if expr "$GCJ_VERSION_MAJOR" = 3 > /dev/null; then - if expr "$GCJ_VERSION_MINOR" \< 3; then - GCJ="" - fi - fi if test "x$GCJ" != x; then - echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5 -echo "${ECHO_T}$GCJ_VERSION" >&6 + echo "$as_me:$LINENO: checking gcj version 4.0" >&5 +echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +#if __GNUC__ <= 3 + #error GCJ 4.0.0 or higher is required + #endif + +_ACEOF + $GCJ -E conftest.c > /dev/null + gcj_4_result=$? + if test "x$gcj_4_result" = "x0"; then + echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 +echo "${ECHO_T}4.0 or higher found" >&6 else - { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5 -echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;} + { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 +echo "$as_me: WARNING: 4.0 or higher required" >&2;} fi + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi fi @@ -11621,51 +12321,36 @@ echo "${ECHO_T}no" >&6 fi fi - - if test "x$GCJ" != x; then - ## GCC version 2 puts out version messages that looked like: - ## 2.95 - - ## GCC version 3 puts out version messages like: - ## gcj (GCC) 3.3.3 - ## Copyright (C) 2003 Free Software Foundation, Inc. - ## This is free software; see the source for copying conditions. There is NO - ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - echo "$as_me:$LINENO: checking gcj version" >&5 -echo $ECHO_N "checking gcj version... $ECHO_C" >&6 - ## Take the output from gcj --version and extract just the version number - ## into GCJ_VERSION. - ## (we need to do this to be compatible with both GCC 2 and GCC 3 version - ## numbers) - ## - ## First, we get rid of everything before the first number on that line. - ## Assume that the first number on that line is the start of the - ## version. - ## - ## Second, while we're at it, go ahead and get rid of the first character - ## that is not part of a version number (i.e., is neither a digit nor - ## a dot). - ## - ## Third, quit, so that we won't process the second and subsequent lines. - GCJ_VERSION=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'` - GCJ_VERSION_MAJOR=`echo "$GCJ_VERSION" | cut -d '.' -f 1` - GCJ_VERSION_MINOR=`echo "$GCJ_VERSION" | cut -d '.' -f 2` - - if expr "$GCJ_VERSION_MAJOR" \< 3 > /dev/null; then - GCJ="" - fi - if expr "$GCJ_VERSION_MAJOR" = 3 > /dev/null; then - if expr "$GCJ_VERSION_MINOR" \< 3; then - GCJ="" - fi - fi if test "x$GCJ" != x; then - echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5 -echo "${ECHO_T}$GCJ_VERSION" >&6 + echo "$as_me:$LINENO: checking gcj version 4.0" >&5 +echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +#if __GNUC__ <= 3 + #error GCJ 4.0.0 or higher is required + #endif + +_ACEOF + $GCJ -E conftest.c > /dev/null + gcj_4_result=$? + if test "x$gcj_4_result" = "x0"; then + echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 +echo "${ECHO_T}4.0 or higher found" >&6 else - { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5 -echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;} + { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 +echo "$as_me: WARNING: 4.0 or higher required" >&2;} fi + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi @@ -13601,10 +14286,12 @@ echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" > esac fi; - ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh examples/Makefile examples/Makefile.jawt" + ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh examples/Makefile examples/Makefile.jawt" ac_config_commands="$ac_config_commands gen-classlist" + ac_config_commands="$ac_config_commands copy-vmresources" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -13717,6 +14404,34 @@ echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -13745,20 +14460,6 @@ echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -14156,7 +14857,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by GNU Classpath $as_me 0.18, which was +This file was extended by GNU Classpath $as_me 0.20-pre, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14222,7 +14923,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -GNU Classpath config.status 0.18 +GNU Classpath config.status 0.20-pre configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -14353,6 +15054,8 @@ do "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;; "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;; "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;; + "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;; + "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;; "native/target/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;; "native/target/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;; "native/target/generic/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/generic/Makefile" ;; @@ -14361,11 +15064,13 @@ do "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;; "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;; + "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;; "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;; "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;; + "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;; "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -14496,16 +15201,6 @@ s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t s,@default_toolkit@,$default_toolkit,;t t s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t -s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t -s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t -s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t -s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t -s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t -s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t -s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t -s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t -s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t -s,@LN_S@,$LN_S,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -14522,10 +15217,27 @@ s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t +s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t +s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t +s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t +s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t +s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t +s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t +s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t +s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t +s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t +s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t +s,@nativelibdir@,$nativelibdir,;t t +s,@glibjdir@,$glibjdir,;t t +s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t +s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t +s,@LN_S@,$LN_S,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@LIBTOOL@,$LIBTOOL,;t t -s,@CPP@,$CPP,;t t s,@CXX@,$CXX,;t t s,@CXXFLAGS@,$CXXFLAGS,;t t s,@ac_ct_CXX@,$ac_ct_CXX,;t t @@ -14533,7 +15245,6 @@ s,@CXXDEPMODE@,$CXXDEPMODE,;t t s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t s,@CXXCPP@,$CXXCPP,;t t -s,@EGREP@,$EGREP,;t t s,@LIBICONV@,$LIBICONV,;t t s,@LTLIBICONV@,$LTLIBICONV,;t t s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t @@ -14550,13 +15261,13 @@ s,@X_LIBS@,$X_LIBS,;t t s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t s,@GTK_LIBS@,$GTK_LIBS,;t t -s,@QT_CFLAGS@,$QT_CFLAGS,;t t -s,@QT_LIBS@,$QT_LIBS,;t t -s,@MOC@,$MOC,;t t s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t +s,@QT_CFLAGS@,$QT_CFLAGS,;t t +s,@QT_LIBS@,$QT_LIBS,;t t +s,@MOC@,$MOC,;t t s,@USER_JAVAH@,$USER_JAVAH,;t t s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t @@ -14775,11 +15486,6 @@ esac *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ @@ -14818,6 +15524,12 @@ echo "$as_me: error: cannot find input file: $f" >&2;} fi;; esac done` || { (exit 1); exit 1; } + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub @@ -15430,6 +16142,7 @@ echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} done ;; gen-classlist ) chmod 755 lib/gen-classlist.sh ;; + copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;; esac done _ACEOF diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac index 8a39cb037db..d13526b5b9b 100644 --- a/libjava/classpath/configure.ac +++ b/libjava/classpath/configure.ac @@ -6,7 +6,7 @@ dnl ----------------------------------------------------------- dnl define([AC_CACHE_LOAD], )dnl dnl define([AC_CACHE_SAVE], )dnl -AC_INIT([GNU Classpath],[0.18],[classpath@gnu.org],[classpath]) +AC_INIT([GNU Classpath],[0.20-pre],[classpath@gnu.org],[classpath]) AC_CONFIG_SRCDIR(java/lang/System.java) AC_CANONICAL_TARGET @@ -65,15 +65,15 @@ AC_ARG_ENABLE([core-jni], [COMPILE_CORE_JNI=yes]) AM_CONDITIONAL(CREATE_CORE_JNI_LIBRARIES, test "x${COMPILE_CORE_JNI}" = xyes) -dnl ----------------------------------------------------------- -dnl Whether to compile with -Werror or not (enabled by default) -dnl ----------------------------------------------------------- +dnl ------------------------------------------------------------ +dnl Whether to compile with -Werror or not (disabled by default) +dnl ------------------------------------------------------------ AC_ARG_ENABLE([Werror], - [AS_HELP_STRING(--disable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=no])], + [AS_HELP_STRING(--enable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=no])], [case "${enableval}" in yes) ENABLE_WERROR=yes ;; no) ENABLE_WERROR=no ;; - *) ENABLE_WERROR=yes ;; + *) ENABLE_WERROR=no ;; esac], [ENABLE_WERROR=no]) @@ -102,6 +102,32 @@ AC_ARG_ENABLE([xmlj], [COMPILE_XMLJ=no]) AM_CONDITIONAL(CREATE_XMLJ_LIBRARY, test "x${COMPILE_XMLJ}" = xyes) +dnl ----------------------------------------------------------- +dnl ALSA code (enabled by default) +dnl ----------------------------------------------------------- +AC_ARG_ENABLE([alsa], + [AS_HELP_STRING(--disable-alsa,compile ALSA providers (enable by --enable-alsa) [default=yes])], + [case "${enableval}" in + yes) COMPILE_ALSA=yes ;; + no) COMPILE_ALSA=no ;; + *) COMPILE_ALSA=yes ;; + esac], + [AC_CHECK_HEADERS([alsa/asoundlib.h],COMPILE_ALSA=yes,COMPILE_ALSA=no)]) +AM_CONDITIONAL(CREATE_ALSA_LIBRARIES, test "x${COMPILE_ALSA}" = xyes) + +dnl ----------------------------------------------------------- +dnl DSSI code (enabled by default) +dnl ----------------------------------------------------------- +AC_ARG_ENABLE([dssi], + [AS_HELP_STRING(--disable-dssi,compile DSSI providers (enable by --enable-dssi) [default=yes])], + [case "${enableval}" in + yes) COMPILE_DSSI=yes ;; + no) COMPILE_DSSI=no ;; + *) COMPILE_DSSI=yes ;; + esac], + [AC_CHECK_HEADERS([dssi.h],COMPILE_DSSI=yes,COMPILE_DSSI=no)]) +AM_CONDITIONAL(CREATE_DSSI_LIBRARIES, test "x${COMPILE_DSSI}" = xyes) + dnl ----------------------------------------------------------- dnl GTK native peer (enabled by default) dnl ----------------------------------------------------------- @@ -150,6 +176,35 @@ AC_ARG_ENABLE([qt-peer], [COMPILE_QT_PEER=no]) AM_CONDITIONAL(CREATE_QT_PEER_LIBRARIES, test "x${COMPILE_QT_PEER}" = xyes) + +dnl ----------------------------------------------------------- +dnl Sets the native libraries installation dir +dnl ----------------------------------------------------------- +AC_ARG_WITH([native-libdir], + [AS_HELP_STRING(--with-native-libdir,sets the installation directore for native libraries [default='${libdir}/${PACKAGE}'])], + [ + nativelibdir=${withval} + ], + [ + nativelibdir='${libdir}/${PACKAGE}' + ]) + +AC_SUBST(nativelibdir) + +dnl ----------------------------------------------------------- +dnl Sets the Java library installation dir. +dnl ----------------------------------------------------------- +AC_ARG_WITH([glibj-dir], + [AS_HELP_STRING(--with-glibj-dir,sets the installation directory for glibj.zip [default='${libdir}/${PACKAGE}'])], + [ + glibjdir=${withval} + ], + [ + glibjdir='${datadir}/${PACKAGE}' + ]) + +AC_SUBST(glibjdir) + dnl ----------------------------------------------------------- dnl Regenerate headers at build time (disabled by default) dnl ----------------------------------------------------------- @@ -246,6 +301,7 @@ if test "x${COMPILE_JNI}" = xyes; then [AC_MSG_RESULT(no)])])]) AC_C_CONST + AC_C_ATTRIBUTE dnl See if we HAVE_ICONV, how ICONV_CONST is set and LTLIBICONV AM_ICONV @@ -286,45 +342,78 @@ if test "x${COMPILE_JNI}" = xyes; then dnl Check for AWT related gthread/gtk if test "x${COMPILE_GTK_PEER}" = xyes; then - AC_PATH_XTRA - if test "$no_x" = yes; then - AC_MSG_ERROR([GTK+ peers requested but no X library available]) - fi - dnl We explicitly want the XTest Extension for Robot support. - AC_CHECK_LIB([Xtst], [XTestQueryExtension], [true], - [AC_MSG_ERROR([libXtst NOT found, required for GdkRobot])], - [${X_LIBS}]) - PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) + AC_PATH_XTRA + if test "$no_x" = yes; then + AC_MSG_ERROR([GTK+ peers requested but no X library available]) + fi + dnl We explicitly want the XTest Extension for Robot support. + AC_CHECK_LIB([Xtst], [XTestQueryExtension], [true], + [AC_MSG_ERROR([libXtst NOT found, required for GdkRobot])], + [${X_LIBS}]) + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) + + if test "x${enable_gtk_cairo}" = xyes; then + PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0) + fi + + PKG_CHECK_MODULES(PANGOFT2, pangoft2) + + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + AC_SUBST(CAIRO_LIBS) + AC_SUBST(CAIRO_CFLAGS) + AC_SUBST(PANGOFT2_LIBS) + AC_SUBST(PANGOFT2_CFLAGS) fi dnl Check for AWT related Qt4 if test "x${COMPILE_QT_PEER}" = xyes; then - PKG_CHECK_MODULES(QT, QtGui >= 4.0.1) - dnl Check needed because in some cases the QtGui includedir - dnl doesn't contain the subsystem dir. - QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) - EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" - AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], - AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), - AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QWidget], - QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR", - AC_MSG_WARN([QWidget not found]))) + PKG_CHECK_MODULES(QT, QtGui >= 4.0.1, HAVE_QT4="yes", HAVE_QT4="no") + if test "x$HAVE_QT4" = "xyes"; then + dnl Check needed because in some cases the QtGui includedir + dnl doesn't contain the subsystem dir. + QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) + EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" + AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], + AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), + AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QWidget], + QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR", + AC_MSG_WARN([QWidget not found]))) + AC_CHECK_PROG(MOC, [moc], [moc]) + fi + if test "x$HAVE_QT4" = "xno"; then + AC_MSG_NOTICE([Looking for QT_CFLAGS and QT_LIBS without pkg-config]) + case "$host_os" in + darwin*) + AC_ARG_WITH([qt4dir], + [AS_HELP_STRING([--with-qt4dir=DIR], + [Qt4 installation directory used for OS-X. + For other systems use pkg-config.])], + [QT4DIR=$withval] + ) + if test x"$QT4DIR" = x ; then + AC_MSG_ERROR([*** No path for Qt4 --with-qt4dir option given]) + fi + AC_MSG_RESULT([QT4DIR... $QT4DIR]) + AC_CHECK_PROG(MOC, [moc], [$QT4DIR/bin/moc], [], $QT4DIR/bin) + if test x"$MOC" = x; then + AC_MSG_ERROR([*** This is not the right Qt installation]) + fi + QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers" + QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers" + QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore" + QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui" + ;; + *) + AC_MSG_ERROR([*** Please check PKG_CONFIG_PATH or the version + of your installed Qt4 installation.]) + ;; + esac + fi AC_MSG_NOTICE([Set QT_CFLAGS... $QT_CFLAGS]) - AC_CHECK_PROG(MOC, [moc], [moc]) AC_SUBST(QT_CFLAGS) AC_SUBST(QT_LIBS) fi - - if test "x${enable_gtk_cairo}" = xyes; then - PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0) - PKG_CHECK_MODULES(PANGOFT2, pangoft2) - fi - AC_SUBST(CAIRO_LIBS) - AC_SUBST(CAIRO_CFLAGS) - AC_SUBST(PANGOFT2_LIBS) - AC_SUBST(PANGOFT2_CFLAGS) fi CLASSPATH_WITH_JAVAH @@ -493,6 +582,8 @@ native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile +native/jni/midi-alsa/Makefile +native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile @@ -501,7 +592,9 @@ scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh +lib/copy-vmresources.sh examples/Makefile examples/Makefile.jawt]) AC_CONFIG_COMMANDS([gen-classlist],[chmod 755 lib/gen-classlist.sh]) +AC_CONFIG_COMMANDS([copy-vmresources],[chmod 755 lib/copy-vmresources.sh]) AC_OUTPUT diff --git a/libjava/classpath/doc/Makefile.in b/libjava/classpath/doc/Makefile.in index fe23b3a65e4..34bdbb19c16 100644 --- a/libjava/classpath/doc/Makefile.in +++ b/libjava/classpath/doc/Makefile.in @@ -39,10 +39,8 @@ target_triplet = @target@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in texinfo.tex ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ - $(top_srcdir)/../../config/lead-dot.m4 \ - $(top_srcdir)/../../config/no-executables.m4 \ - $(top_srcdir)/../../libtool.m4 $(top_srcdir)/m4/accross.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/../../libtool.m4 \ + $(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ $(top_srcdir)/m4/acinclude.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/pkg.m4 \ @@ -84,10 +82,14 @@ CLASSPATH_MODULE = @CLASSPATH_MODULE@ CP = @CP@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CREATE_ALSA_LIBRARIES_FALSE = @CREATE_ALSA_LIBRARIES_FALSE@ +CREATE_ALSA_LIBRARIES_TRUE = @CREATE_ALSA_LIBRARIES_TRUE@ CREATE_API_DOCS_FALSE = @CREATE_API_DOCS_FALSE@ CREATE_API_DOCS_TRUE = @CREATE_API_DOCS_TRUE@ CREATE_CORE_JNI_LIBRARIES_FALSE = @CREATE_CORE_JNI_LIBRARIES_FALSE@ CREATE_CORE_JNI_LIBRARIES_TRUE = @CREATE_CORE_JNI_LIBRARIES_TRUE@ +CREATE_DSSI_LIBRARIES_FALSE = @CREATE_DSSI_LIBRARIES_FALSE@ +CREATE_DSSI_LIBRARIES_TRUE = @CREATE_DSSI_LIBRARIES_TRUE@ CREATE_GTK_PEER_LIBRARIES_FALSE = @CREATE_GTK_PEER_LIBRARIES_FALSE@ CREATE_GTK_PEER_LIBRARIES_TRUE = @CREATE_GTK_PEER_LIBRARIES_TRUE@ CREATE_JNI_HEADERS_FALSE = @CREATE_JNI_HEADERS_FALSE@ @@ -224,6 +226,7 @@ build_vendor = @build_vendor@ datadir = @datadir@ default_toolkit = @default_toolkit@ exec_prefix = @exec_prefix@ +glibjdir = @glibjdir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ @@ -237,6 +240,7 @@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ +nativelibdir = @nativelibdir@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ diff --git a/libjava/classpath/doc/api/Makefile.in b/libjava/classpath/doc/api/Makefile.in index c0b6e87312d..dafdd41f5b5 100644 --- a/libjava/classpath/doc/api/Makefile.in +++ b/libjava/classpath/doc/api/Makefile.in @@ -40,10 +40,8 @@ target_triplet = @target@ subdir = doc/api DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ - $(top_srcdir)/../../config/lead-dot.m4 \ - $(top_srcdir)/../../config/no-executables.m4 \ - $(top_srcdir)/../../libtool.m4 $(top_srcdir)/m4/accross.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/../../libtool.m4 \ + $(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ $(top_srcdir)/m4/acinclude.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/pkg.m4 \ @@ -77,10 +75,14 @@ CLASSPATH_MODULE = @CLASSPATH_MODULE@ CP = @CP@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CREATE_ALSA_LIBRARIES_FALSE = @CREATE_ALSA_LIBRARIES_FALSE@ +CREATE_ALSA_LIBRARIES_TRUE = @CREATE_ALSA_LIBRARIES_TRUE@ CREATE_API_DOCS_FALSE = @CREATE_API_DOCS_FALSE@ CREATE_API_DOCS_TRUE = @CREATE_API_DOCS_TRUE@ CREATE_CORE_JNI_LIBRARIES_FALSE = @CREATE_CORE_JNI_LIBRARIES_FALSE@ CREATE_CORE_JNI_LIBRARIES_TRUE = @CREATE_CORE_JNI_LIBRARIES_TRUE@ +CREATE_DSSI_LIBRARIES_FALSE = @CREATE_DSSI_LIBRARIES_FALSE@ +CREATE_DSSI_LIBRARIES_TRUE = @CREATE_DSSI_LIBRARIES_TRUE@ CREATE_GTK_PEER_LIBRARIES_FALSE = @CREATE_GTK_PEER_LIBRARIES_FALSE@ CREATE_GTK_PEER_LIBRARIES_TRUE = @CREATE_GTK_PEER_LIBRARIES_TRUE@ CREATE_JNI_HEADERS_FALSE = @CREATE_JNI_HEADERS_FALSE@ @@ -217,6 +219,7 @@ build_vendor = @build_vendor@ datadir = @datadir@ default_toolkit = @default_toolkit@ exec_prefix = @exec_prefix@ +glibjdir = @glibjdir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ @@ -230,6 +233,7 @@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ +nativelibdir = @nativelibdir@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ diff --git a/libjava/classpath/doc/www.gnu.org/announce/20050906.wml b/libjava/classpath/doc/www.gnu.org/announce/20050906.wml new file mode 100644 index 00000000000..2f95d58b3b9 --- /dev/null +++ b/libjava/classpath/doc/www.gnu.org/announce/20050906.wml @@ -0,0 +1,221 @@ +#!wml --include=.. + +#use wml::std::page +#use wml::std::lang +#use wml::fmt::isolatin +#use wml::std::case global=upper + + + + + +#include + +
+
+GNU Classpath 0.18 released.
+
+We are pleased to announce a new developer snapshot of GNU Classpath.
+
+GNU Classpath, essential libraries for java, is a project to create free
+core class libraries for use with runtimes, compilers and tools for the
+java programming language.
+
+The GNU Classpath developer snapshot releases are not directly aimed
+at the end user but are meant to be integrated into larger development
+platforms. For example the GCC (gcj) and Kaffe projects will use the
+developer snapshots as a base for future versions.
+
+This is our first release after "The Big Merge" with GCC/GCJ.  GNU
+Classpath can now be used as a subdirectory of libgcj inside the GCC
+tree so it will be much easier to keep GCC up-to-date with the latest
+GNU Classpath developer release snapshots.
+
+Some highlights of changes in this release (more extensive list below):
+
+  Added GNU JAWT for awt native interface support. Datatransfer
+  clipboard updated to 1.5 including support for copy/paste of
+  serialized objects, images and files.  Completed the org.omg
+  PortableInterceptor, DynamicAny and Portable Object Adapter
+  packages. Multi plaf support for Free Swing. Editing support for
+  JTree and JTable. Lots of icons and look and feel improvements for
+  Free Swing basic and metal themes. NIO FileChannel.map implemented
+  and DirectByteBuffer put method speedups. Image loading speedups for
+  awt. Support for darwin and solaris out of the box.
+
+29 people actively contributed to this release and made 535 CVS
+commits during the two months of development. diffstat since 0.17:
+ 994 files changed, 114744 insertions(+), 13663 deletions(-)
+
+More details about the various changes and contributions below.
+
+A full list of bug reports fixed for this release can be found at:
+http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.18
+
+This release depends on gtk+ 2.4 for AWT support. But gtk+ 2.6 or
+higher is recommended. Included, but not activated by default in this
+release is a Graphics2D implementation based on the Cairo Graphics
+framework (http://www.cairographics.org). Enabling this makes programs
+like JFreeChart and JEdit start up on GNU Classpath based runtimes.
+To enable this support install the cairo 0.5.x snapshot, configure GNU
+Classpath with --enable-gtk-cairo.
+
+One of the major focuses of the GNU Classpath project is expanding
+and using the Mauve test suite for Compatibility, Completeness and
+Correctness checking.  Various groups around GNU Classpath collaborate
+on the free software Mauve test suite which contains 32.000+ core
+library tests.  Mauve has various modules for testing core class
+library implementations, byte code verifiers, source to byte code and
+native code compiler tests.  Mauve also contains the Wonka visual test
+suite and the Jacks Compiler Killer Suite.
+See for more information: http://www.sourceware.org/mauve/
+This release passes 31194 out of 32253 Mauve core library tests.
+
+Conformance reports for the included jaxp support can be found in the
+doc/README.jaxp file.
+
+GNU Classpath 0.18 can be downloaded from
+ftp://ftp.gnu.org/pub/gnu/classpath/
+or one of the ftp.gnu.org mirrors
+http://www.gnu.org/order/ftp.html
+
+File: classpath-0.18.tar.gz
+MD5sum: c0650c257aa93eafb709553f172f0bbb
+SHA1sum: 28061c750244cac4ff0151da6aba183b94b98b25
+
+The GNU Classpath developers site http://developer.classpath.org/
+provides detailed information on how to start with helping the GNU
+Classpath project and gives an overview of the core class library
+packages currently provided.  For each snapshot release generated
+documentation is provided through the GNU Classpath Tools gjdoc
+project.  A documentation generation framework for java source
+files used by the GNU project. Full documentation on the currently
+implementated packages and classes can be found at:
+http://developer.classpath.org/doc/
+
+New in release 0.18 (Sep 6, 2005)
+(See the ChangeLog file for a full list of changes.)
+
+* GNU JAWT implementation, the AWT Native Interface, which allows
+  direct access to native screen resources from within a Canvas's
+  paint method.  GNU Classpath Examples comes with a Demo, see
+  examples/README.
+* awt.datatransfer updated to 1.5 with supports for FlavorEvents.
+  The gtk+ awt peers now allow copy/paste of text, images, uris/files
+  and serialized objects with other applications and tracking
+  clipboard change events with gtk+ 2.6 (for gtk+ 2.4 only text and
+  serialized objects are supported). A GNU Classpath Examples
+  datatransfer Demo was added to show the new functionality.
+* org.omg.PortableInterceptor and related functionality in other
+  packages is now implemented:
+    - The sever and client interceptors work as required since 1.4.
+    - The IOR interceptor works as needed for 1.5.
+* The org.omg.DynamicAny package is completed and passes the prepared
+  tests.
+* The Portable Object Adapter should now support the output of the
+  recent IDL to java compilers. These compilers now generate servants and 
+  not CORBA objects as before, making the output depended on the existing 
+  POA implementation. Completing POA means that such code can already be 
+  tried to run on Classpath. Our POA is tested for the following usager
+  scenarios:
+    - POA converts servant to the CORBA object.
+    - Servant provides to the CORBA object.
+    - POA activates new CORBA object with the given Object Id
+      (byte array) that is later accessible for the servant.
+    - During the first call, the ServantActivator provides servant for
+      this and all subsequent calls on the current object.
+    - During each call, the ServantLocator provides servant for this call
+      only.
+    - ServantLocator or ServantActivator forwards call to another server.
+    - POA has a single servant, responsible for all objects.
+    - POA has a default servant, but some objects are explicitly
+      connected to they specific servants.
+  The POA is verified using tests from the former cost.omg.org.      
+* The javax.swing.plaf.multi.* package is now implemented.
+* Editing and several key actions for JTree and JTable were implemented.
+* Lots of icons and look and feel improvements for Free Swing basic
+  and metal themes were added.  Try running the GNU Classpath Swing
+  Demo in examples (gnu.classpath.examples.swing.Demo) with:
+  -Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFeel
+  -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
+* Start of styled text capabilites for java.swing.text.
+* NIO FileChannel.map implementation, fast bulk put implementation for
+  DirectByteBuffer (speeds up this method 10x).
+* Split gtk+ awt peers event handling in two threads and improve gdk
+  lock handling (solves several AWT lock ups).
+* Speed up awt Image loading.
+* Updated TimeZone data against Olson tzdata2005l.
+* Make zip and jar UTF-8 "clean".
+* "native" code builds and compiles (warning free) on Darwin and
+  Solaris.
+
+Runtime interface changes:
+
+* All native resource "pointers" in the VM interface classes are now
+  exposed as gnu.classpath.Pointer objects. This might impact runtimes
+  that optimize and support java.nio.DirectByteBuffers. Creating these
+  classes and accessing the contents as void * pointers for the native
+  reference JNI implementation is done through the
+  JCL_NewRawDataObject and JCL_GetRawData functions.
+* Simplified the Class/VMClass interface.
+* Removed loadedClasses map from ClassLoader. It's now the VMs
+  responsibility to manage the list of defined and loaded classes for
+  each class loader.
+* Moved native methods from java.lang.reflect.Proxy to VMProxy.
+* Added hook to VMClassLoader to allow VM to do class caching.
+
+New Untested/Disabled Features:
+
+  The following new features are included, but not ready for
+  production yet. They are explicitly disabled and not supported. But
+  if you want to help with the development of these new features we
+  are interested in feedback. You will have to explicitly enable them
+  to try them out (and they will most likely contain bugs). If you are
+  interested in any of these then please join the mailing-list and
+  follow development in CVS.
+
+* QT4 AWT peers, enable by giving configure --enable-qt-peer.
+* JDWP framework, enable by deleting the jdwp references from
+  lib/standard.omit and vm/reference/standard.omit. No default
+  implementation is provided. Work is being done on gcj/gij
+  integration.
+* StAX java.xml.stream, enable by deleting the gnu.xml.stream and
+  java.xml.stream references in lib/standard.omit.
+
+The following people helped with this release:
+
+Aaron Luchko (Lots of JDWP work)
+Andreas Tobler (Darwin and Solaris testing and fixing
+Andrew Haley (gcj build speedups)
+Anthony Balkissoon (Lots of Free Swing work including JTable editing)
+Archie Cobbs (Build fixes)
+Audrius Meskauskas (Lots of omg corba work plus testing and documenting)
+Bastiaan Huisman (TimeZone bug fixing)
+Casey Marshall (NIO FileChannel.map support, security and policy updates)
+Chris Burdess (StAX work and gnu xml fixes)
+Christian Schlichtherle (Zip fixes and cleanups)
+Christian Thalinger (64-bit cleanups)
+Dalibor Topic (Qt4 build infrastructure)
+David Gilbert (Basic and Metal icon and plaf and lots of documenting)
+Guilhem Lavaux (JCL native Pointer updates)
+Ingo Proetel (Image, Logger and URLClassLoader updates)
+Ito Kazumitsu (NetworkInterfaces implementation and updates)
+Jan Roehrich (BasicTreeUI updates)
+Jeroen Frijters (VMProxy and VMClassLoader updates, RMIClassLoader fixes)
+Keith Seitz (Lots of JDWP work)
+Kelley Cook (Build fixes)
+Lillian Angel (Lots of Free Swing work including JTree editing)
+Mark Wielaard (Clipboard implementation, build and release infrastructure)
+Rainer Orth (Build fixes)
+Robert Schuster (Documentation updates and beans fixes)
+Roman Kennke (Lots of Free Swing work including styled text)
+Sven de Marothy (Qt4 peers)
+Thomas Fitzsimmons (Lots of gtk+ awt peer work)
+Tom Tromey (Lots of fixes including coordinating The Big Merge)
+Wolfgang Baer (GapContent bug fixes)
+
+We would also like to thank the numerous bug reporters and testers!
+
+
+ +