From 947b8814056ea2fba6bbcfab86591f74bffc0311 Mon Sep 17 00:00:00 2001 From: tromey Date: Fri, 23 Sep 2005 21:31:04 +0000 Subject: [PATCH] Imported Classpath 0.18. * sources.am, Makefile.in: Updated. * Makefile.am (nat_source_files): Removed natProxy.cc. * java/lang/reflect/natProxy.cc: Removed. * gnu/classpath/jdwp/VMFrame.java, gnu/classpath/jdwp/VMIdManager.java, gnu/classpath/jdwp/VMVirtualMachine.java, java/lang/reflect/VMProxy.java: New files. 2005-09-23 Thomas Fitzsimmons * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC list. 2005-09-23 Thomas Fitzsimmons * gnu/java/net/DefaultContentHandlerFactory.java (getContent): Remove ClasspathToolkit references. 2005-09-23 Thomas Fitzsimmons * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods. * gnu/awt/xlib/XFramePeer.java: Likewise. * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise. 2005-09-23 Thomas Fitzsimmons * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add classpath/native/jawt/jawt.c. * Makefile.in: Regenerate. * jawt.c: Remove file. * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and jawt_md.h. Add ../classpath/include/jawt.h and ../classpath/include/jawt_md.h. * include/Makefile.in: Regenerate. * include/jawt.h: Regenerate. * include/jawt_md.h: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104586 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 40 + libjava/Makefile.am | 3 +- libjava/Makefile.in | 173 +- libjava/classpath/.classpath | 28 +- libjava/classpath/.cvsignore | 1 + .../.externalToolBuilders/Configure.launch | 12 +- libjava/classpath/.project | 20 + libjava/classpath/AUTHORS | 1 + libjava/classpath/ChangeLog | 5602 ++++++++++++++++++ libjava/classpath/ChangeLog.gcj | 4 + libjava/classpath/INSTALL | 25 +- libjava/classpath/Makefile.am | 1 + libjava/classpath/Makefile.in | 39 +- libjava/classpath/NEWS | 83 + libjava/classpath/README | 5 +- libjava/classpath/aclocal.m4 | 432 +- libjava/classpath/autogen.sh | 16 +- libjava/classpath/configure | 4189 +++++++------ libjava/classpath/configure.ac | 58 +- libjava/classpath/doc/Makefile.in | 37 +- libjava/classpath/doc/README.jaxp | 6 + libjava/classpath/doc/api/Makefile.am | 2 + libjava/classpath/doc/api/Makefile.in | 59 +- .../classpath/doc/www.gnu.org/events/events.wml | 48 +- libjava/classpath/doc/www.gnu.org/faq/faq.wml | 22 + .../classpath/doc/www.gnu.org/include/layout.wml | 2 +- libjava/classpath/doc/www.gnu.org/newsitems.txt | 10 + libjava/classpath/examples/.cvsignore | 1 + libjava/classpath/examples/Makefile.am | 20 +- libjava/classpath/examples/Makefile.in | 44 +- libjava/classpath/examples/README | 26 +- .../gnu/classpath/examples/swing/Demo.java | 38 +- libjava/classpath/external/Makefile.in | 37 +- libjava/classpath/external/sax/Makefile.in | 17 +- libjava/classpath/external/w3c_dom/Makefile.in | 17 +- libjava/classpath/gnu/CORBA/CDR/Vio.java | 186 +- libjava/classpath/gnu/CORBA/CDR/cdrInput.java | 3 +- libjava/classpath/gnu/CORBA/CDR/cdrOutput.java | 12 +- libjava/classpath/gnu/CORBA/Connected_objects.java | 63 +- .../gnu/CORBA/DynAn/NameValuePairHolder.java | 7 +- libjava/classpath/gnu/CORBA/ExceptionCreator.java | 9 +- libjava/classpath/gnu/CORBA/Functional_ORB.java | 809 ++- libjava/classpath/gnu/CORBA/GIOP/ReplyHeader.java | 27 +- .../classpath/gnu/CORBA/GIOP/RequestHeader.java | 39 +- .../classpath/gnu/CORBA/GIOP/ServiceContext.java | 138 +- .../gnu/CORBA/GIOP/v1_0/RequestHeader.java | 4 +- libjava/classpath/gnu/CORBA/IOR.java | 351 +- libjava/classpath/gnu/CORBA/IOR_Delegate.java | 343 +- .../NamingService/NamingServiceTransient.java | 82 +- libjava/classpath/gnu/CORBA/ObjectCreator.java | 195 +- libjava/classpath/gnu/CORBA/Restricted_ORB.java | 135 +- .../classpath/gnu/CORBA/ServiceRequestAdapter.java | 37 +- libjava/classpath/gnu/CORBA/Simple_delegate.java | 33 +- libjava/classpath/gnu/CORBA/SocketRepository.java | 22 +- .../gnu/CORBA/bufferedResponseHandler.java | 88 +- libjava/classpath/gnu/CORBA/fixedTypeCode.java | 14 +- libjava/classpath/gnu/CORBA/gnuAny.java | 94 +- libjava/classpath/gnu/CORBA/gnuCodecFactory.java | 21 +- libjava/classpath/gnu/CORBA/gnuRequest.java | 668 ++- libjava/classpath/gnu/CORBA/holderFactory.java | 123 +- .../gnu/CORBA/primitiveArrayTypeCode.java | 78 +- libjava/classpath/gnu/CORBA/primitiveTypeCode.java | 69 +- libjava/classpath/gnu/CORBA/typeNamer.java | 13 +- libjava/classpath/gnu/CORBA/universalHolder.java | 23 +- .../classpath/gnu/classpath/Configuration.java.in | 27 - libjava/classpath/gnu/classpath/RawData.java | 47 - libjava/classpath/gnu/classpath/RawData32.java | 52 - libjava/classpath/gnu/classpath/RawData64.java | 52 - .../classpath/gnu/classpath/debug/Component.java | 6 + .../exception/InvalidThreadGroupException.java | 4 +- .../jdwp/exception/JdwpInternalErrorException.java | 9 +- .../gnu/classpath/jdwp/id/ClassLoaderId.java | 18 + .../gnu/classpath/jdwp/id/ClassObjectId.java | 18 + .../classpath/gnu/classpath/jdwp/id/JdwpId.java | 34 +- .../gnu/classpath/jdwp/id/JdwpIdFactory.java | 165 - .../classpath/gnu/classpath/jdwp/id/ObjectId.java | 42 +- .../gnu/classpath/jdwp/id/ReferenceTypeId.java | 18 + .../classpath/gnu/classpath/jdwp/id/StringId.java | 18 + .../gnu/classpath/jdwp/id/ThreadGroupId.java | 18 + .../classpath/gnu/classpath/jdwp/id/ThreadId.java | 21 + .../gnu/classpath/jdwp/processor/CommandSet.java | 16 +- .../classpath/jdwp/processor/FieldCommandSet.java | 3 +- .../jdwp/processor/InterfaceTypeCommandSet.java | 3 +- .../jdwp/processor/ObjectReferenceCommandSet.java | 104 +- .../classpath/jdwp/processor/PacketProcessor.java | 7 +- .../jdwp/processor/ReferenceTypeCommandSet.java | 51 +- .../jdwp/processor/StringReferenceCommandSet.java | 10 +- .../jdwp/processor/VirtualMachineCommandSet.java | 56 +- .../gnu/classpath/jdwp/transport/ITransport.java | 7 +- .../classpath/jdwp/transport/JdwpConnection.java | 5 +- .../classpath/jdwp/transport/SocketTransport.java | 18 +- libjava/classpath/gnu/java/awt/AWTUtilities.java | 377 +- .../classpath/gnu/java/awt/ClasspathToolkit.java | 248 +- libjava/classpath/gnu/java/awt/EmbeddedWindow.java | 6 +- .../gnu/java/awt/peer/GLightweightPeer.java | 41 + .../gnu/java/awt/peer/gtk/GdkGraphics.java | 32 +- .../gnu/java/awt/peer/gtk/GdkGraphics2D.java | 180 +- .../awt/peer/gtk/GdkGraphicsConfiguration.java | 14 +- .../java/awt/peer/gtk/GdkGraphicsEnvironment.java | 12 +- .../gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | 6 +- .../java/awt/peer/gtk/GdkScreenGraphicsDevice.java | 8 +- .../gnu/java/awt/peer/gtk/GtkButtonPeer.java | 40 +- .../gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | 12 + .../gnu/java/awt/peer/gtk/GtkChoicePeer.java | 13 +- .../gnu/java/awt/peer/gtk/GtkClipboard.java | 390 +- .../gnu/java/awt/peer/gtk/GtkComponentPeer.java | 124 +- .../gnu/java/awt/peer/gtk/GtkContainerPeer.java | 21 +- .../gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | 28 +- .../gnu/java/awt/peer/gtk/GtkFramePeer.java | 62 +- .../classpath/gnu/java/awt/peer/gtk/GtkImage.java | 100 +- .../gnu/java/awt/peer/gtk/GtkImageConsumer.java | 6 +- .../gnu/java/awt/peer/gtk/GtkLabelPeer.java | 7 + .../gnu/java/awt/peer/gtk/GtkMenuBarPeer.java | 5 + .../java/awt/peer/gtk/GtkMenuComponentPeer.java | 6 + .../gnu/java/awt/peer/gtk/GtkMenuPeer.java | 5 + .../gnu/java/awt/peer/gtk/GtkTextAreaPeer.java | 7 + .../gnu/java/awt/peer/gtk/GtkTextFieldPeer.java | 6 + .../gnu/java/awt/peer/gtk/GtkToolkit.java | 42 +- .../gnu/java/awt/peer/gtk/GtkWindowPeer.java | 65 +- libjava/classpath/gnu/java/nio/FileLockImpl.java | 42 +- .../gnu/java/nio/channels/FileChannelImpl.java | 90 +- .../gnu/java/nio/charset/UTF_16Decoder.java | 12 +- .../gnu/java/nio/charset/iconv/IconvDecoder.java | 4 +- .../gnu/java/nio/charset/iconv/IconvEncoder.java | 4 +- libjava/classpath/gnu/java/security/OID.java | 4 +- .../classpath/gnu/java/security/PolicyFile.java | 93 +- .../security/provider/DSAKeyPairGenerator.java | 121 +- .../provider/PKIXCertPathValidatorImpl.java | 4 +- .../gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java | 69 - .../gnu/javax/swing/plaf/gtk/GtkIconFactory.java | 99 - .../gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java | 241 - .../gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java | 69 - .../gnu/javax/swing/plaf/gtk/GtkSliderUI.java | 230 - libjava/classpath/gnu/javax/swing/plaf/gtk/README | 37 - .../gnu/javax/swing/plaf/gtk/SliderTest.java | 82 - .../classpath/gnu/xml/xpath/ArithmeticExpr.java | 28 +- libjava/classpath/gnu/xml/xpath/XPathParser.java | 74 +- libjava/classpath/gnu/xml/xpath/XPathParser.y | 74 +- libjava/classpath/include/Makefile.am | 45 + libjava/classpath/include/Makefile.in | 173 +- libjava/classpath/include/config.h.in | 24 + .../include/gnu_java_awt_peer_gtk_GdkGraphics.h | 2 + .../include/gnu_java_awt_peer_gtk_GdkGraphics2D.h | 11 + .../include/gnu_java_awt_peer_gtk_GtkButtonPeer.h | 1 + .../include/gnu_java_awt_peer_gtk_GtkChoicePeer.h | 3 +- .../include/gnu_java_awt_peer_gtk_GtkClipboard.h | 7 +- .../gnu_java_awt_peer_gtk_GtkComponentPeer.h | 5 +- .../gnu_java_awt_peer_gtk_GtkFileDialogPeer.h | 2 +- .../include/gnu_java_awt_peer_gtk_GtkFramePeer.h | 1 + .../include/gnu_java_awt_peer_gtk_GtkImage.h | 2 + .../include/gnu_java_awt_peer_gtk_GtkLabelPeer.h | 1 + .../include/gnu_java_awt_peer_gtk_GtkToolkit.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkWindowPeer.h | 5 +- .../include/java_nio_VMDirectByteBuffer.h | 8 +- libjava/classpath/java/awt/AWTKeyStroke.java | 20 +- libjava/classpath/java/awt/BorderLayout.java | 974 ++-- libjava/classpath/java/awt/Component.java | 179 +- libjava/classpath/java/awt/Container.java | 323 +- libjava/classpath/java/awt/EventQueue.java | 75 +- libjava/classpath/java/awt/FlowLayout.java | 14 +- libjava/classpath/java/awt/Font.java | 8 +- libjava/classpath/java/awt/FontMetrics.java | 6 +- libjava/classpath/java/awt/Frame.java | 25 - .../classpath/java/awt/GraphicsConfiguration.java | 16 + libjava/classpath/java/awt/GridBagLayout.java | 10 +- libjava/classpath/java/awt/Label.java | 15 +- libjava/classpath/java/awt/List.java | 1 + libjava/classpath/java/awt/MenuItem.java | 13 +- libjava/classpath/java/awt/TextComponent.java | 2 +- libjava/classpath/java/awt/Toolkit.java | 6 + libjava/classpath/java/awt/Window.java | 63 +- .../classpath/java/awt/datatransfer/Clipboard.java | 123 +- .../java/awt/datatransfer/DataFlavor.java | 55 +- .../classpath/java/awt/event/MouseWheelEvent.java | 2 +- .../java/awt/image/AreaAveragingScaleFilter.java | 3 + libjava/classpath/java/awt/image/ConvolveOp.java | 10 +- .../classpath/java/awt/image/CropImageFilter.java | 18 +- .../classpath/java/awt/image/DirectColorModel.java | 18 +- libjava/classpath/java/awt/image/ImageFilter.java | 9 +- libjava/classpath/java/awt/image/PixelGrabber.java | 20 +- .../classpath/java/awt/image/RGBImageFilter.java | 14 +- .../java/awt/image/ReplicateScaleFilter.java | 20 +- libjava/classpath/java/awt/peer/ComponentPeer.java | 45 + libjava/classpath/java/awt/peer/ContainerPeer.java | 27 +- libjava/classpath/java/awt/peer/FramePeer.java | 20 + libjava/classpath/java/awt/peer/MenuBarPeer.java | 1 + .../classpath/java/awt/peer/MenuComponentPeer.java | 10 + libjava/classpath/java/awt/peer/MenuPeer.java | 1 + .../classpath/java/awt/peer/TextComponentPeer.java | 9 + libjava/classpath/java/awt/peer/WindowPeer.java | 14 + libjava/classpath/java/beans/Expression.java | 10 +- libjava/classpath/java/beans/Statement.java | 83 +- libjava/classpath/java/io/ObjectInputStream.java | 106 +- libjava/classpath/java/lang/Character.java | 165 + libjava/classpath/java/lang/Class.java | 24 +- libjava/classpath/java/lang/ClassLoader.java | 36 +- .../java/lang/IllegalArgumentException.java | 56 +- .../classpath/java/lang/IllegalStateException.java | 57 +- libjava/classpath/java/lang/Integer.java | 10 +- libjava/classpath/java/lang/SecurityException.java | 56 +- .../java/lang/UnsupportedOperationException.java | 56 +- libjava/classpath/java/lang/reflect/Proxy.java | 133 +- libjava/classpath/java/net/DatagramSocket.java | 6 +- libjava/classpath/java/net/Inet4Address.java | 4 +- libjava/classpath/java/net/JarURLConnection.java | 5 +- libjava/classpath/java/net/NetworkInterface.java | 52 +- libjava/classpath/java/net/URLClassLoader.java | 32 +- libjava/classpath/java/nio/Buffer.java | 4 +- .../classpath/java/nio/DirectByteBufferImpl.java | 94 +- .../classpath/java/nio/MappedByteBufferImpl.java | 6 +- libjava/classpath/java/nio/channels/FileLock.java | 8 +- libjava/classpath/java/nio/charset/Charset.java | 30 +- .../classpath/java/rmi/server/RMIClassLoader.java | 4 +- .../classpath/java/security/KeyPairGenerator.java | 3 +- .../java/security/cert/X509CertSelector.java | 4 +- libjava/classpath/java/sql/Date.java | 6 +- libjava/classpath/java/sql/Time.java | 6 +- .../java/text/AttributedCharacterIterator.java | 58 +- libjava/classpath/java/text/AttributedString.java | 687 +-- .../java/text/AttributedStringIterator.java | 501 +- libjava/classpath/java/text/BreakIterator.java | 31 +- libjava/classpath/java/text/CharacterIterator.java | 18 +- libjava/classpath/java/text/ChoiceFormat.java | 19 +- .../java/text/CollationElementIterator.java | 20 +- libjava/classpath/java/text/CollationKey.java | 6 +- libjava/classpath/java/text/Collator.java | 18 +- libjava/classpath/java/text/DateFormat.java | 52 +- libjava/classpath/java/text/DateFormatSymbols.java | 47 +- .../classpath/java/text/DecimalFormatSymbols.java | 15 +- libjava/classpath/java/text/MessageFormat.java | 17 +- libjava/classpath/java/text/NumberFormat.java | 50 +- libjava/classpath/java/text/ParseException.java | 2 +- libjava/classpath/java/text/SimpleDateFormat.java | 117 +- .../java/text/StringCharacterIterator.java | 7 +- libjava/classpath/java/util/Observable.java | 2 + libjava/classpath/java/util/Properties.java | 33 +- libjava/classpath/java/util/TimeZone.java | 260 +- libjava/classpath/java/util/Vector.java | 8 +- libjava/classpath/java/util/jar/JarFile.java | 6 +- libjava/classpath/java/util/logging/Logger.java | 48 +- .../classpath/java/util/zip/DeflaterHuffman.java | 4 +- .../java/util/zip/DeflaterOutputStream.java | 6 +- libjava/classpath/java/util/zip/ZipEntry.java | 13 +- libjava/classpath/java/util/zip/ZipFile.java | 24 +- .../classpath/java/util/zip/ZipInputStream.java | 13 +- .../classpath/java/util/zip/ZipOutputStream.java | 45 +- .../classpath/javax/imageio/spi/IIORegistry.java | 1 + .../javax/imageio/stream/ImageInputStream.java | 1 + .../javax/security/auth/x500/X500Principal.java | 18 +- libjava/classpath/javax/security/sasl/Sasl.java | 4 +- libjava/classpath/javax/swing/AbstractAction.java | 3 +- libjava/classpath/javax/swing/AbstractButton.java | 58 +- .../classpath/javax/swing/AbstractCellEditor.java | 5 +- .../classpath/javax/swing/AbstractListModel.java | 13 +- .../javax/swing/AbstractSpinnerModel.java | 7 +- libjava/classpath/javax/swing/Action.java | 2 +- libjava/classpath/javax/swing/ActionMap.java | 8 + libjava/classpath/javax/swing/BorderFactory.java | 7 +- .../classpath/javax/swing/BoundedRangeModel.java | 58 +- libjava/classpath/javax/swing/Box.java | 6 + libjava/classpath/javax/swing/BoxLayout.java | 9 +- libjava/classpath/javax/swing/ButtonGroup.java | 20 +- .../classpath/javax/swing/CellRendererPane.java | 10 +- .../classpath/javax/swing/ComponentInputMap.java | 9 +- libjava/classpath/javax/swing/DebugGraphics.java | 8 +- .../javax/swing/DefaultBoundedRangeModel.java | 4 +- .../classpath/javax/swing/DefaultButtonModel.java | 20 +- .../classpath/javax/swing/DefaultCellEditor.java | 154 +- .../javax/swing/DefaultComboBoxModel.java | 4 +- .../javax/swing/DefaultDesktopManager.java | 4 +- .../classpath/javax/swing/DefaultFocusManager.java | 8 +- .../javax/swing/DefaultListCellRenderer.java | 12 +- .../classpath/javax/swing/DefaultListModel.java | 2 +- .../javax/swing/DefaultListSelectionModel.java | 34 +- .../javax/swing/DefaultSingleSelectionModel.java | 3 +- libjava/classpath/javax/swing/FocusManager.java | 8 +- libjava/classpath/javax/swing/GrayFilter.java | 6 + libjava/classpath/javax/swing/Icon.java | 23 +- libjava/classpath/javax/swing/ImageIcon.java | 110 +- libjava/classpath/javax/swing/InputMap.java | 12 +- libjava/classpath/javax/swing/InputVerifier.java | 7 +- .../swing/InternalFrameFocusTraversalPolicy.java | 7 +- libjava/classpath/javax/swing/JApplet.java | 5 + libjava/classpath/javax/swing/JButton.java | 31 +- libjava/classpath/javax/swing/JCheckBox.java | 11 +- .../classpath/javax/swing/JCheckBoxMenuItem.java | 17 +- libjava/classpath/javax/swing/JColorChooser.java | 6 +- libjava/classpath/javax/swing/JComboBox.java | 10 +- libjava/classpath/javax/swing/JComponent.java | 218 +- libjava/classpath/javax/swing/JDesktopPane.java | 2 +- libjava/classpath/javax/swing/JDialog.java | 11 +- libjava/classpath/javax/swing/JEditorPane.java | 25 +- libjava/classpath/javax/swing/JFileChooser.java | 15 +- .../classpath/javax/swing/JFormattedTextField.java | 22 +- libjava/classpath/javax/swing/JFrame.java | 14 +- libjava/classpath/javax/swing/JLabel.java | 251 +- libjava/classpath/javax/swing/JLayeredPane.java | 51 +- libjava/classpath/javax/swing/JList.java | 59 +- libjava/classpath/javax/swing/JMenuBar.java | 2 +- libjava/classpath/javax/swing/JOptionPane.java | 60 +- libjava/classpath/javax/swing/JPasswordField.java | 46 +- libjava/classpath/javax/swing/JPopupMenu.java | 6 +- libjava/classpath/javax/swing/JScrollBar.java | 2 - libjava/classpath/javax/swing/JScrollPane.java | 26 +- libjava/classpath/javax/swing/JSeparator.java | 2 - libjava/classpath/javax/swing/JSlider.java | 66 +- libjava/classpath/javax/swing/JSpinner.java | 3 +- libjava/classpath/javax/swing/JSplitPane.java | 2 - libjava/classpath/javax/swing/JTable.java | 265 +- libjava/classpath/javax/swing/JTextArea.java | 20 +- libjava/classpath/javax/swing/JTextField.java | 2 +- libjava/classpath/javax/swing/JTextPane.java | 581 +- libjava/classpath/javax/swing/JToggleButton.java | 23 +- libjava/classpath/javax/swing/JTree.java | 124 +- libjava/classpath/javax/swing/JViewport.java | 43 +- .../javax/swing/MenuSelectionManager.java | 17 +- libjava/classpath/javax/swing/RepaintManager.java | 9 +- .../classpath/javax/swing/SizeRequirements.java | 1 - .../javax/swing/SortingFocusTraversalPolicy.java | 10 +- .../classpath/javax/swing/SpinnerListModel.java | 2 + libjava/classpath/javax/swing/Spring.java | 6 +- libjava/classpath/javax/swing/SpringLayout.java | 10 +- libjava/classpath/javax/swing/SwingUtilities.java | 31 +- libjava/classpath/javax/swing/UIDefaults.java | 36 +- libjava/classpath/javax/swing/UIManager.java | 298 +- libjava/classpath/javax/swing/ViewportLayout.java | 14 +- .../javax/swing/border/AbstractBorder.java | 2 +- .../classpath/javax/swing/border/BevelBorder.java | 4 +- .../classpath/javax/swing/border/EtchedBorder.java | 2 +- .../classpath/javax/swing/border/LineBorder.java | 2 +- .../javax/swing/border/SoftBevelBorder.java | 4 +- .../classpath/javax/swing/border/TitledBorder.java | 6 +- .../classpath/javax/swing/event/DocumentEvent.java | 134 +- .../javax/swing/event/EventListenerList.java | 4 +- .../classpath/javax/swing/event/MenuKeyEvent.java | 2 +- .../swing/event/SwingPropertyChangeSupport.java | 494 +- .../javax/swing/event/TreeSelectionEvent.java | 4 +- .../javax/swing/plaf/BorderUIResource.java | 4 +- .../classpath/javax/swing/plaf/FileChooserUI.java | 4 +- libjava/classpath/javax/swing/plaf/TextUI.java | 15 +- libjava/classpath/javax/swing/plaf/UIResource.java | 4 +- .../javax/swing/plaf/basic/BasicArrowButton.java | 2 +- .../javax/swing/plaf/basic/BasicButtonUI.java | 30 +- .../swing/plaf/basic/BasicCheckBoxMenuItemUI.java | 6 +- .../javax/swing/plaf/basic/BasicCheckBoxUI.java | 12 +- .../swing/plaf/basic/BasicComboBoxEditor.java | 5 +- .../javax/swing/plaf/basic/BasicDesktopPaneUI.java | 2 +- .../javax/swing/plaf/basic/BasicEditorPaneUI.java | 39 + .../javax/swing/plaf/basic/BasicFileChooserUI.java | 16 +- .../javax/swing/plaf/basic/BasicGraphicsUtils.java | 6 +- .../javax/swing/plaf/basic/BasicIconFactory.java | 306 +- .../plaf/basic/BasicInternalFrameTitlePane.java | 51 +- .../swing/plaf/basic/BasicInternalFrameUI.java | 24 +- .../javax/swing/plaf/basic/BasicLabelUI.java | 173 +- .../javax/swing/plaf/basic/BasicListUI.java | 92 +- .../javax/swing/plaf/basic/BasicLookAndFeel.java | 85 +- .../javax/swing/plaf/basic/BasicMenuItemUI.java | 22 +- .../javax/swing/plaf/basic/BasicMenuUI.java | 23 +- .../javax/swing/plaf/basic/BasicOptionPaneUI.java | 8 +- .../javax/swing/plaf/basic/BasicPanelUI.java | 4 + .../plaf/basic/BasicRadioButtonMenuItemUI.java | 6 +- .../javax/swing/plaf/basic/BasicRadioButtonUI.java | 105 +- .../javax/swing/plaf/basic/BasicScrollBarUI.java | 2 - .../javax/swing/plaf/basic/BasicScrollPaneUI.java | 8 - .../javax/swing/plaf/basic/BasicSliderUI.java | 270 +- .../javax/swing/plaf/basic/BasicSplitPaneUI.java | 11 +- .../javax/swing/plaf/basic/BasicTabbedPaneUI.java | 12 - .../javax/swing/plaf/basic/BasicTableUI.java | 785 ++- .../javax/swing/plaf/basic/BasicTextUI.java | 463 +- .../swing/plaf/basic/BasicToggleButtonUI.java | 2 +- .../javax/swing/plaf/basic/BasicToolBarUI.java | 13 - .../javax/swing/plaf/basic/BasicTreeUI.java | 6146 +++++++++++--------- .../javax/swing/plaf/basic/BasicViewportUI.java | 8 +- .../javax/swing/plaf/metal/MetalBorders.java | 392 +- .../javax/swing/plaf/metal/MetalButtonUI.java | 50 +- .../javax/swing/plaf/metal/MetalCheckBoxIcon.java | 10 +- .../javax/swing/plaf/metal/MetalCheckBoxUI.java | 20 +- .../javax/swing/plaf/metal/MetalIconFactory.java | 806 +++ .../swing/plaf/metal/MetalInternalFrameUI.java | 11 + .../javax/swing/plaf/metal/MetalLabelUI.java | 47 +- .../javax/swing/plaf/metal/MetalLookAndFeel.java | 85 +- .../javax/swing/plaf/metal/MetalSliderUI.java | 263 +- .../javax/swing/plaf/metal/MetalTabbedPaneUI.java | 278 + .../swing/plaf/metal/MetalToggleButtonUI.java | 51 +- .../javax/swing/plaf/metal/MetalTreeUI.java | 4 +- .../swing/table/DefaultTableCellRenderer.java | 7 +- .../javax/swing/text/AbstractDocument.java | 1236 +++- .../classpath/javax/swing/text/AttributeSet.java | 121 +- .../javax/swing/text/BadLocationException.java | 23 +- libjava/classpath/javax/swing/text/Caret.java | 168 +- .../classpath/javax/swing/text/ComponentView.java | 18 + .../classpath/javax/swing/text/DateFormatter.java | 2 +- .../classpath/javax/swing/text/DefaultCaret.java | 293 +- .../javax/swing/text/DefaultEditorKit.java | 590 +- .../javax/swing/text/DefaultStyledDocument.java | 307 +- libjava/classpath/javax/swing/text/FieldView.java | 5 + libjava/classpath/javax/swing/text/GapContent.java | 360 +- .../javax/swing/text/InternationalFormatter.java | 2 +- .../classpath/javax/swing/text/JTextComponent.java | 27 +- .../classpath/javax/swing/text/PasswordView.java | 170 +- .../classpath/javax/swing/text/PlainDocument.java | 16 - libjava/classpath/javax/swing/text/PlainView.java | 18 + .../javax/swing/text/StyledEditorKit.java | 569 +- libjava/classpath/javax/swing/text/View.java | 140 +- .../javax/swing/text/html/HTMLEditorKit.java | 7 +- .../javax/swing/text/html/parser/DTD.java | 7 +- .../javax/swing/text/html/parser/DTDConstants.java | 6 +- .../swing/text/html/parser/DocumentParser.java | 12 +- .../javax/swing/text/html/parser/Element.java | 2 +- .../javax/swing/text/html/parser/Parser.java | 12 +- .../swing/text/html/parser/ParserDelegator.java | 4 +- .../javax/swing/tree/AbstractLayoutCache.java | 14 +- .../javax/swing/tree/DefaultTreeCellEditor.java | 520 +- .../javax/swing/tree/DefaultTreeCellRenderer.java | 1216 ++-- .../javax/swing/tree/DefaultTreeModel.java | 924 +-- .../swing/tree/DefaultTreeSelectionModel.java | 2 +- .../javax/swing/tree/FixedHeightLayoutCache.java | 2 +- .../javax/xml/datatype/DatatypeFactory.java | 10 +- libjava/classpath/javax/xml/namespace/QName.java | 78 +- .../javax/xml/parsers/DocumentBuilder.java | 2 +- libjava/classpath/javax/xml/parsers/SAXParser.java | 2 +- libjava/classpath/javax/xml/transform/Source.java | 2 +- libjava/classpath/lib/.cvsignore | 3 + libjava/classpath/lib/Makefile.am | 26 +- libjava/classpath/lib/Makefile.gcj | 7 +- libjava/classpath/lib/Makefile.in | 41 +- libjava/classpath/lib/gen-classlist.sh.in | 5 +- libjava/classpath/lib/split-for-gcj.sh | 38 +- libjava/classpath/lib/standard.omit | 4 +- libjava/classpath/ltcf-c.sh | 2 +- libjava/classpath/ltcf-cxx.sh | 2 +- libjava/classpath/ltcf-gcj.sh | 2 +- libjava/classpath/ltconfig | 6 +- libjava/classpath/m4/acinclude.m4 | 17 +- libjava/classpath/native/Makefile.am | 8 +- libjava/classpath/native/Makefile.in | 42 +- libjava/classpath/native/fdlibm/Makefile.in | 17 +- libjava/classpath/native/jni/Makefile.am | 10 +- libjava/classpath/native/jni/Makefile.in | 44 +- libjava/classpath/native/jni/classpath/Makefile.am | 3 + libjava/classpath/native/jni/classpath/Makefile.in | 20 +- .../native/jni/classpath/classpath_jawt.h | 72 +- libjava/classpath/native/jni/classpath/jcl.c | 91 + libjava/classpath/native/jni/classpath/jcl.h | 11 + .../classpath/native/jni/classpath/native_state.c | 28 + libjava/classpath/native/jni/gtk-peer/Makefile.am | 2 + libjava/classpath/native/jni/gtk-peer/Makefile.in | 28 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c | 8 - .../gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | 119 +- .../gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | 259 +- .../gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | 16 - .../gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c | 4 - .../gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | 95 +- .../gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | 4 - .../gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | 25 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c | 456 +- .../gnu_java_awt_peer_gtk_GtkComponentPeer.c | 100 +- .../gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | 139 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c | 45 +- .../gnu_java_awt_peer_gtk_GtkGenericPeer.c | 7 - .../jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | 117 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | 38 + .../gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | 12 - .../gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | 4 +- .../gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | 2 - .../gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | 90 +- .../gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | 181 +- libjava/classpath/native/jni/gtk-peer/gtkpeer.h | 28 +- libjava/classpath/native/jni/java-io/Makefile.in | 17 +- libjava/classpath/native/jni/java-lang/Makefile.in | 17 +- .../native/jni/java-lang/java_lang_VMDouble.c | 5 - libjava/classpath/native/jni/java-net/Makefile.in | 17 +- .../jni/java-net/gnu_java_net_PlainSocketImpl.c | 1 + libjava/classpath/native/jni/java-nio/Makefile.in | 17 +- .../gnu_java_nio_channels_FileChannelImpl.c | 185 +- .../gnu_java_nio_charset_iconv_IconvDecoder.c | 26 +- .../gnu_java_nio_charset_iconv_IconvEncoder.c | 28 +- .../jni/java-nio/java_nio_MappedByteBufferImpl.c | 197 +- .../jni/java-nio/java_nio_VMDirectByteBuffer.c | 138 +- libjava/classpath/native/jni/java-util/Makefile.in | 17 +- libjava/classpath/native/jni/xmlj/Makefile.in | 17 +- libjava/classpath/native/jni/xmlj/xmlj_util.c | 27 +- libjava/classpath/native/target/Linux/Makefile.in | 17 +- libjava/classpath/native/target/Makefile.in | 37 +- .../classpath/native/target/generic/Makefile.in | 17 +- .../native/target/generic/target_generic_network.h | 10 + libjava/classpath/org/omg/CORBA/Any.java | 12 +- .../org/omg/CORBA/DynAnyPackage/Invalid.java | 59 +- .../org/omg/CORBA/DynAnyPackage/InvalidSeq.java | 58 +- .../org/omg/CORBA/DynAnyPackage/InvalidValue.java | 58 +- .../org/omg/CORBA/DynAnyPackage/TypeMismatch.java | 58 +- libjava/classpath/org/omg/CORBA/ORB.java | 209 +- libjava/classpath/org/omg/CORBA/ObjectHelper.java | 7 +- libjava/classpath/org/omg/CORBA/ObjectHolder.java | 17 +- .../org/omg/CORBA/ServiceDetailHelper.java | 13 +- libjava/classpath/org/omg/CORBA/TypeCode.java | 66 +- libjava/classpath/org/omg/CORBA/package.html | 106 +- .../org/omg/CORBA/portable/ObjectImpl.java | 11 +- .../org/omg/CORBA_2_3/portable/InputStream.java | 13 +- .../org/omg/CORBA_2_3/portable/OutputStream.java | 2 +- .../org/omg/CosNaming/NamingContextOperations.java | 2 +- .../omg/CosNaming/_NamingContextExtImplBase.java | 2 +- .../org/omg/CosNaming/_NamingContextImplBase.java | 3 +- libjava/classpath/org/omg/IOP/ServiceContext.java | 2 +- .../org/omg/IOP/TaggedComponentHelper.java | 89 +- .../classpath/org/omg/IOP/TaggedProfileHelper.java | 93 +- .../omg/PortableInterceptor/LOCATION_FORWARD.java | 5 +- .../ORBInitInfoPackage/DuplicateName.java | 36 +- .../ORBInitInfoPackage/DuplicateNameHelper.java | 23 +- .../ORBInitInfoPackage/InvalidName.java | 23 +- .../ORBInitInfoPackage/InvalidNameHelper.java | 8 +- .../org/omg/PortableInterceptor/SUCCESSFUL.java | 3 +- .../omg/PortableInterceptor/SYSTEM_EXCEPTION.java | 3 +- .../omg/PortableInterceptor/TRANSPORT_RETRY.java | 5 +- .../omg/PortableInterceptor/USER_EXCEPTION.java | 3 +- libjava/classpath/resource/Makefile.am | 4 - libjava/classpath/resource/Makefile.in | 21 +- libjava/classpath/resource/japhar-0.09.patch.1 | 305 - libjava/classpath/resource/orp-1.0.8.patch | 19 - libjava/classpath/resource/orp-1.0.9.patch | 25 - libjava/classpath/scripts/Makefile.in | 17 +- libjava/classpath/scripts/check_jni_methods.sh | 41 +- libjava/classpath/scripts/timezones.pl | 32 +- libjava/classpath/scripts/tzabbrevs | 2 +- .../classpath/vm/reference/java/lang/VMClass.java | 32 +- .../vm/reference/java/lang/VMClassLoader.java | 7 + .../vm/reference/java/net/VMNetworkInterface.java | 10 + .../vm/reference/java/nio/VMDirectByteBuffer.java | 23 +- libjava/gnu/awt/xlib/XCanvasPeer.java | 60 +- libjava/gnu/awt/xlib/XFramePeer.java | 22 + libjava/gnu/awt/xlib/XGraphicsConfiguration.java | 9 + .../classpath/jdwp/VMFrame.java} | 102 +- libjava/gnu/classpath/jdwp/VMIdManager.java | 427 ++ libjava/gnu/classpath/jdwp/VMVirtualMachine.java | 329 ++ .../gnu/java/net/DefaultContentHandlerFactory.java | 8 +- libjava/include/Makefile.am | 4 +- libjava/include/Makefile.in | 4 +- libjava/include/jawt.h | 101 - libjava/include/jawt_md.h | 64 - libjava/java/lang/reflect/VMProxy.java | 143 + libjava/java/lang/reflect/natProxy.cc | 38 - libjava/jawt.c | 178 - libjava/scripts/makemake.tcl | 1 + libjava/sources.am | 121 +- 544 files changed, 36195 insertions(+), 15983 deletions(-) delete mode 100644 libjava/classpath/gnu/classpath/RawData.java delete mode 100644 libjava/classpath/gnu/classpath/RawData32.java delete mode 100644 libjava/classpath/gnu/classpath/RawData64.java delete mode 100644 libjava/classpath/gnu/classpath/jdwp/id/JdwpIdFactory.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/GtkIconFactory.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/GtkSliderUI.java delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/README delete mode 100644 libjava/classpath/gnu/javax/swing/plaf/gtk/SliderTest.java delete mode 100644 libjava/classpath/resource/japhar-0.09.patch.1 delete mode 100644 libjava/classpath/resource/orp-1.0.8.patch delete mode 100644 libjava/classpath/resource/orp-1.0.9.patch rename libjava/{classpath/gnu/javax/swing/plaf/gtk/GtkBorders.java => gnu/classpath/jdwp/VMFrame.java} (54%) create mode 100644 libjava/gnu/classpath/jdwp/VMIdManager.java create mode 100644 libjava/gnu/classpath/jdwp/VMVirtualMachine.java delete mode 100644 libjava/include/jawt.h delete mode 100644 libjava/include/jawt_md.h create mode 100644 libjava/java/lang/reflect/VMProxy.java delete mode 100644 libjava/java/lang/reflect/natProxy.cc delete mode 100644 libjava/jawt.c diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3834686..9b81eeb 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,43 @@ +2005-09-23 Tom Tromey + + Imported Classpath 0.18. + * sources.am, Makefile.in: Updated. + * Makefile.am (nat_source_files): Removed natProxy.cc. + * java/lang/reflect/natProxy.cc: Removed. + * gnu/classpath/jdwp/VMFrame.java, + gnu/classpath/jdwp/VMIdManager.java, + gnu/classpath/jdwp/VMVirtualMachine.java, + java/lang/reflect/VMProxy.java: New files. + +2005-09-23 Thomas Fitzsimmons + + * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC + list. + +2005-09-23 Thomas Fitzsimmons + + * gnu/java/net/DefaultContentHandlerFactory.java (getContent): + Remove ClasspathToolkit references. + +2005-09-23 Thomas Fitzsimmons + + * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods. + * gnu/awt/xlib/XFramePeer.java: Likewise. + * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise. + +2005-09-23 Thomas Fitzsimmons + + * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add + classpath/native/jawt/jawt.c. + * Makefile.in: Regenerate. + * jawt.c: Remove file. + * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and + jawt_md.h. Add ../classpath/include/jawt.h and + ../classpath/include/jawt_md.h. + * include/Makefile.in: Regenerate. + * include/jawt.h: Regenerate. + * include/jawt_md.h: Regenerate. + 2005-09-21 Bryce McKinlay * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass diff --git a/libjava/Makefile.am b/libjava/Makefile.am index b0b759d..725e5d4 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -263,7 +263,7 @@ lib_gnu_java_awt_peer_gtk_la_LDFLAGS = \ -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC) $(X_LIBS) -lXtst lib_gnu_java_awt_peer_gtk_la_LINK = $(LIBLINK) -libgcjawt_la_SOURCES = jawt.c +libgcjawt_la_SOURCES = classpath/native/jawt/jawt.c libgcjawt_la_CFLAGS = -I$(srcdir)/classpath/native/jni/classpath \ $(PEDANTIC_CFLAGS) $(X_CFLAGS) ## See jv_convert_LDADD. @@ -809,7 +809,6 @@ java/lang/reflect/natArray.cc \ java/lang/reflect/natConstructor.cc \ java/lang/reflect/natField.cc \ java/lang/reflect/natMethod.cc \ -java/lang/reflect/natProxy.cc \ java/net/natVMNetworkInterface.cc \ java/net/natInetAddress.cc \ java/nio/channels/natChannels.cc \ diff --git a/libjava/Makefile.in b/libjava/Makefile.in index 4cee2c4..a1ef532 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -194,13 +194,13 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ javax/swing/colorchooser.lo javax/swing/event.lo \ javax/swing/filechooser.lo javax/swing/plaf.lo \ javax/swing/plaf/basic.lo javax/swing/plaf/metal.lo \ - javax/swing/table.lo javax/swing/text.lo \ - javax/swing/text/html.lo javax/swing/text/html/parser.lo \ - javax/swing/text/rtf.lo javax/swing/tree.lo \ - javax/swing/undo.lo javax/transaction.lo \ + javax/swing/plaf/multi.lo javax/swing/table.lo \ + javax/swing/text.lo javax/swing/text/html.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-awt-peer-qt.lo gnu-java-beans.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 \ @@ -238,7 +238,6 @@ am__libgcj_la_SOURCES_DIST = prims.cc jni.cc exception.cc \ java/lang/ref/natReference.cc java/lang/reflect/natArray.cc \ java/lang/reflect/natConstructor.cc \ java/lang/reflect/natField.cc java/lang/reflect/natMethod.cc \ - java/lang/reflect/natProxy.cc \ java/net/natVMNetworkInterface.cc java/net/natInetAddress.cc \ java/nio/channels/natChannels.cc \ java/nio/natDirectByteBufferImpl.cc java/text/natCollator.cc \ @@ -279,7 +278,6 @@ am__objects_2 = gnu/classpath/natSystemProperties.lo \ java/lang/ref/natReference.lo java/lang/reflect/natArray.lo \ java/lang/reflect/natConstructor.lo \ java/lang/reflect/natField.lo java/lang/reflect/natMethod.lo \ - java/lang/reflect/natProxy.lo \ java/net/natVMNetworkInterface.lo java/net/natInetAddress.lo \ java/nio/channels/natChannels.lo \ java/nio/natDirectByteBufferImpl.lo java/text/natCollator.lo \ @@ -303,7 +301,7 @@ am_libgcj_la_OBJECTS = prims.lo jni.lo exception.lo stacktrace.lo \ $(am__objects_9) $(am__objects_10) $(am__objects_11) libgcj_la_OBJECTS = $(am_libgcj_la_OBJECTS) libgcjawt_la_DEPENDENCIES = lib-gnu-java-awt-peer-gtk.la -am_libgcjawt_la_OBJECTS = libgcjawt_la-jawt.lo +am_libgcjawt_la_OBJECTS = classpath/native/jawt/libgcjawt_la-jawt.lo libgcjawt_la_OBJECTS = $(am_libgcjawt_la_OBJECTS) @GTK_AWT_TRUE@am_libgcjawt_la_rpath = -rpath $(toolexeclibdir) am_libgij_la_OBJECTS = gij.lo @@ -740,7 +738,7 @@ lib_gnu_java_awt_peer_gtk_la_LDFLAGS = \ -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC) $(X_LIBS) -lXtst lib_gnu_java_awt_peer_gtk_la_LINK = $(LIBLINK) -libgcjawt_la_SOURCES = jawt.c +libgcjawt_la_SOURCES = classpath/native/jawt/jawt.c libgcjawt_la_CFLAGS = -I$(srcdir)/classpath/native/jni/classpath \ $(PEDANTIC_CFLAGS) $(X_CFLAGS) @@ -814,9 +812,9 @@ 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/Configuration.java \ -classpath/gnu/classpath/RawData.java \ -classpath/gnu/classpath/RawData32.java \ -classpath/gnu/classpath/RawData64.java \ +classpath/gnu/classpath/Pointer.java \ +classpath/gnu/classpath/Pointer32.java \ +classpath/gnu/classpath/Pointer64.java \ classpath/gnu/classpath/ServiceFactory.java \ classpath/gnu/classpath/ServiceProviderLoadingAction.java \ gnu/classpath/SystemProperties.java @@ -971,6 +969,7 @@ classpath/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkCheckboxPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkChoicePeer.java \ classpath/gnu/java/awt/peer/gtk/GtkClipboard.java \ +classpath/gnu/java/awt/peer/gtk/GtkClipboardNotifier.java \ classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkContainerPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkDialogPeer.java \ @@ -991,12 +990,58 @@ classpath/gnu/java/awt/peer/gtk/GtkPanelPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkScrollPanePeer.java \ classpath/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java \ +classpath/gnu/java/awt/peer/gtk/GtkSelection.java \ classpath/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java \ classpath/gnu/java/awt/peer/gtk/GtkToolkit.java \ classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java \ classpath/gnu/java/awt/peer/gtk/GtkWindowPeer.java +gnu_java_awt_peer_qt_source_files = \ +classpath/gnu/java/awt/peer/qt/MainQtThread.java \ +classpath/gnu/java/awt/peer/qt/NativeWrapper.java \ +classpath/gnu/java/awt/peer/qt/QMatrix.java \ +classpath/gnu/java/awt/peer/qt/QPainterPath.java \ +classpath/gnu/java/awt/peer/qt/QPen.java \ +classpath/gnu/java/awt/peer/qt/QtAudioClip.java \ +classpath/gnu/java/awt/peer/qt/QtButtonPeer.java \ +classpath/gnu/java/awt/peer/qt/QtCanvasPeer.java \ +classpath/gnu/java/awt/peer/qt/QtCheckboxPeer.java \ +classpath/gnu/java/awt/peer/qt/QtChoicePeer.java \ +classpath/gnu/java/awt/peer/qt/QtComponentGraphics.java \ +classpath/gnu/java/awt/peer/qt/QtComponentPeer.java \ +classpath/gnu/java/awt/peer/qt/QtContainerPeer.java \ +classpath/gnu/java/awt/peer/qt/QtDialogPeer.java \ +classpath/gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java \ +classpath/gnu/java/awt/peer/qt/QtFileDialogPeer.java \ +classpath/gnu/java/awt/peer/qt/QtFontMetrics.java \ +classpath/gnu/java/awt/peer/qt/QtFontPeer.java \ +classpath/gnu/java/awt/peer/qt/QtFramePeer.java \ +classpath/gnu/java/awt/peer/qt/QtGraphics.java \ +classpath/gnu/java/awt/peer/qt/QtGraphicsEnvironment.java \ +classpath/gnu/java/awt/peer/qt/QtImage.java \ +classpath/gnu/java/awt/peer/qt/QtImageConsumer.java \ +classpath/gnu/java/awt/peer/qt/QtImageDirectGraphics.java \ +classpath/gnu/java/awt/peer/qt/QtImageGraphics.java \ +classpath/gnu/java/awt/peer/qt/QtLabelPeer.java \ +classpath/gnu/java/awt/peer/qt/QtListPeer.java \ +classpath/gnu/java/awt/peer/qt/QtMenuBarPeer.java \ +classpath/gnu/java/awt/peer/qt/QtMenuComponentPeer.java \ +classpath/gnu/java/awt/peer/qt/QtMenuItemPeer.java \ +classpath/gnu/java/awt/peer/qt/QtMenuPeer.java \ +classpath/gnu/java/awt/peer/qt/QtPanelPeer.java \ +classpath/gnu/java/awt/peer/qt/QtPopupMenuPeer.java \ +classpath/gnu/java/awt/peer/qt/QtRepaintThread.java \ +classpath/gnu/java/awt/peer/qt/QtScreenDevice.java \ +classpath/gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java \ +classpath/gnu/java/awt/peer/qt/QtScrollPanePeer.java \ +classpath/gnu/java/awt/peer/qt/QtScrollbarPeer.java \ +classpath/gnu/java/awt/peer/qt/QtTextAreaPeer.java \ +classpath/gnu/java/awt/peer/qt/QtTextFieldPeer.java \ +classpath/gnu/java/awt/peer/qt/QtToolkit.java \ +classpath/gnu/java/awt/peer/qt/QtVolatileImage.java \ +classpath/gnu/java/awt/peer/qt/QtWindowPeer.java + gnu_java_beans_source_files = \ classpath/gnu/java/beans/BeanInfoEmbryo.java \ classpath/gnu/java/beans/DummyAppletContext.java \ @@ -2017,6 +2062,8 @@ java_awt_datatransfer_source_files = \ classpath/java/awt/datatransfer/Clipboard.java \ classpath/java/awt/datatransfer/ClipboardOwner.java \ classpath/java/awt/datatransfer/DataFlavor.java \ +classpath/java/awt/datatransfer/FlavorEvent.java \ +classpath/java/awt/datatransfer/FlavorListener.java \ classpath/java/awt/datatransfer/FlavorMap.java \ classpath/java/awt/datatransfer/FlavorTable.java \ classpath/java/awt/datatransfer/MimeTypeParseException.java \ @@ -2522,6 +2569,7 @@ classpath/java/lang/reflect/Proxy.java \ classpath/java/lang/reflect/ReflectPermission.java \ classpath/java/lang/reflect/Type.java \ classpath/java/lang/reflect/UndeclaredThrowableException.java \ +java/lang/reflect/VMProxy.java \ classpath/java/lang/reflect/WildcardType.java java_lang_reflect_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(java_lang_reflect_source_files))) @@ -3905,6 +3953,7 @@ 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/MetalIconFactory.java \ +classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java \ classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java \ classpath/javax/swing/plaf/metal/MetalLabelUI.java \ classpath/javax/swing/plaf/metal/MetalLookAndFeel.java \ @@ -3928,6 +3977,40 @@ classpath/javax/swing/plaf/metal/MetalTreeUI.java \ classpath/javax/swing/plaf/metal/MetalUtils.java javax_swing_plaf_metal_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_plaf_metal_source_files))) +javax_swing_plaf_multi_source_files = \ +classpath/javax/swing/plaf/multi/MultiButtonUI.java \ +classpath/javax/swing/plaf/multi/MultiColorChooserUI.java \ +classpath/javax/swing/plaf/multi/MultiComboBoxUI.java \ +classpath/javax/swing/plaf/multi/MultiDesktopIconUI.java \ +classpath/javax/swing/plaf/multi/MultiDesktopPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiFileChooserUI.java \ +classpath/javax/swing/plaf/multi/MultiInternalFrameUI.java \ +classpath/javax/swing/plaf/multi/MultiLabelUI.java \ +classpath/javax/swing/plaf/multi/MultiListUI.java \ +classpath/javax/swing/plaf/multi/MultiLookAndFeel.java \ +classpath/javax/swing/plaf/multi/MultiMenuBarUI.java \ +classpath/javax/swing/plaf/multi/MultiMenuItemUI.java \ +classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiPanelUI.java \ +classpath/javax/swing/plaf/multi/MultiPopupMenuUI.java \ +classpath/javax/swing/plaf/multi/MultiProgressBarUI.java \ +classpath/javax/swing/plaf/multi/MultiRootPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiScrollBarUI.java \ +classpath/javax/swing/plaf/multi/MultiScrollPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiSeparatorUI.java \ +classpath/javax/swing/plaf/multi/MultiSliderUI.java \ +classpath/javax/swing/plaf/multi/MultiSpinnerUI.java \ +classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java \ +classpath/javax/swing/plaf/multi/MultiTableHeaderUI.java \ +classpath/javax/swing/plaf/multi/MultiTableUI.java \ +classpath/javax/swing/plaf/multi/MultiTextUI.java \ +classpath/javax/swing/plaf/multi/MultiToolBarUI.java \ +classpath/javax/swing/plaf/multi/MultiToolTipUI.java \ +classpath/javax/swing/plaf/multi/MultiTreeUI.java \ +classpath/javax/swing/plaf/multi/MultiViewportUI.java + +javax_swing_plaf_multi_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_plaf_multi_source_files))) javax_swing_table_source_files = \ classpath/javax/swing/table/AbstractTableModel.java \ classpath/javax/swing/table/DefaultTableCellRenderer.java \ @@ -3943,11 +4026,14 @@ classpath/javax/swing/table/TableModel.java javax_swing_table_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_table_source_files))) javax_swing_text_source_files = \ classpath/javax/swing/text/AbstractDocument.java \ +classpath/javax/swing/text/AbstractWriter.java \ classpath/javax/swing/text/AttributeSet.java \ classpath/javax/swing/text/BadLocationException.java \ +classpath/javax/swing/text/BoxView.java \ classpath/javax/swing/text/Caret.java \ classpath/javax/swing/text/ChangedCharSetException.java \ classpath/javax/swing/text/ComponentView.java \ +classpath/javax/swing/text/CompositeView.java \ classpath/javax/swing/text/DateFormatter.java \ classpath/javax/swing/text/DefaultCaret.java \ classpath/javax/swing/text/DefaultEditorKit.java \ @@ -3958,15 +4044,22 @@ classpath/javax/swing/text/Document.java \ classpath/javax/swing/text/DocumentFilter.java \ classpath/javax/swing/text/EditorKit.java \ classpath/javax/swing/text/Element.java \ +classpath/javax/swing/text/ElementIterator.java \ classpath/javax/swing/text/FieldView.java \ +classpath/javax/swing/text/FlowView.java \ classpath/javax/swing/text/GapContent.java \ +classpath/javax/swing/text/GlyphView.java \ classpath/javax/swing/text/Highlighter.java \ +classpath/javax/swing/text/IconView.java \ classpath/javax/swing/text/InternationalFormatter.java \ classpath/javax/swing/text/JTextComponent.java \ classpath/javax/swing/text/Keymap.java \ +classpath/javax/swing/text/LabelView.java \ classpath/javax/swing/text/LayeredHighlighter.java \ +classpath/javax/swing/text/LayoutQueue.java \ classpath/javax/swing/text/MutableAttributeSet.java \ classpath/javax/swing/text/NavigationFilter.java \ +classpath/javax/swing/text/ParagraphView.java \ classpath/javax/swing/text/PasswordView.java \ classpath/javax/swing/text/PlainDocument.java \ classpath/javax/swing/text/PlainView.java \ @@ -4453,6 +4546,7 @@ all_packages_source_files = \ javax/swing/plaf.list \ javax/swing/plaf/basic.list \ javax/swing/plaf/metal.list \ + javax/swing/plaf/multi.list \ javax/swing/table.list \ javax/swing/text.list \ javax/swing/text/html.list \ @@ -4592,6 +4686,7 @@ ordinary_header_files = \ $(javax_swing_plaf_header_files) \ $(javax_swing_plaf_basic_header_files) \ $(javax_swing_plaf_metal_header_files) \ + $(javax_swing_plaf_multi_header_files) \ $(javax_swing_table_header_files) \ $(javax_swing_text_header_files) \ $(javax_swing_text_html_header_files) \ @@ -4604,6 +4699,7 @@ ordinary_header_files = \ $(org_ietf_jgss_header_files) bc_objects = \ + gnu-java-awt-peer-qt.lo \ gnu-java-beans.lo \ gnu-xml.lo \ javax-imageio.lo \ @@ -4734,7 +4830,6 @@ java/lang/reflect/natArray.cc \ java/lang/reflect/natConstructor.cc \ java/lang/reflect/natField.cc \ java/lang/reflect/natMethod.cc \ -java/lang/reflect/natProxy.cc \ java/net/natVMNetworkInterface.cc \ java/net/natInetAddress.cc \ java/nio/channels/natChannels.cc \ @@ -5161,8 +5256,6 @@ java/lang/reflect/natField.lo: java/lang/reflect/$(am__dirstamp) \ java/lang/reflect/$(DEPDIR)/$(am__dirstamp) java/lang/reflect/natMethod.lo: java/lang/reflect/$(am__dirstamp) \ java/lang/reflect/$(DEPDIR)/$(am__dirstamp) -java/lang/reflect/natProxy.lo: java/lang/reflect/$(am__dirstamp) \ - java/lang/reflect/$(DEPDIR)/$(am__dirstamp) java/net/$(am__dirstamp): @$(mkdir_p) java/net @: > java/net/$(am__dirstamp) @@ -5235,6 +5328,15 @@ sysdep/dwarf2-backtrace.lo: sysdep/$(am__dirstamp) \ sysdep/$(DEPDIR)/$(am__dirstamp) libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES) $(libgcj_la_LINK) -rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(libgcj_la_OBJECTS) $(libgcj_la_LIBADD) $(LIBS) +classpath/native/jawt/$(am__dirstamp): + @$(mkdir_p) classpath/native/jawt + @: > classpath/native/jawt/$(am__dirstamp) +classpath/native/jawt/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) classpath/native/jawt/$(DEPDIR) + @: > classpath/native/jawt/$(DEPDIR)/$(am__dirstamp) +classpath/native/jawt/libgcjawt_la-jawt.lo: \ + classpath/native/jawt/$(am__dirstamp) \ + classpath/native/jawt/$(DEPDIR)/$(am__dirstamp) libgcjawt.la: $(libgcjawt_la_OBJECTS) $(libgcjawt_la_DEPENDENCIES) $(libgcjawt_la_LINK) $(am_libgcjawt_la_rpath) $(libgcjawt_la_LDFLAGS) $(libgcjawt_la_OBJECTS) $(libgcjawt_la_LIBADD) $(LIBS) libgij.la: $(libgij_la_OBJECTS) $(libgij_la_DEPENDENCIES) @@ -5331,6 +5433,8 @@ uninstall-binSCRIPTS: mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f classpath/native/jawt/libgcjawt_la-jawt.$(OBJEXT) + -rm -f classpath/native/jawt/libgcjawt_la-jawt.lo -rm -f gnu/classpath/natSystemProperties.$(OBJEXT) -rm -f gnu/classpath/natSystemProperties.lo -rm -f gnu/gcj/convert/JIS0208_to_Unicode.$(OBJEXT) @@ -5477,8 +5581,6 @@ mostlyclean-compile: -rm -f java/lang/reflect/natField.lo -rm -f java/lang/reflect/natMethod.$(OBJEXT) -rm -f java/lang/reflect/natMethod.lo - -rm -f java/lang/reflect/natProxy.$(OBJEXT) - -rm -f java/lang/reflect/natProxy.lo -rm -f java/net/natInetAddress.$(OBJEXT) -rm -f java/net/natInetAddress.lo -rm -f java/net/natVMNetworkInterface.$(OBJEXT) @@ -5512,7 +5614,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gij.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/interpret.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jni.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcjawt_la-jawt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/no-threads.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nogc.Plo@am__quote@ @@ -5523,6 +5624,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/verify.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win32-threads.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@classpath/native/jawt/$(DEPDIR)/libgcjawt_la-jawt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gnu/classpath/$(DEPDIR)/natSystemProperties.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gnu/gcj/$(DEPDIR)/natCore.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gnu/gcj/convert/$(DEPDIR)/JIS0208_to_Unicode.Plo@am__quote@ @@ -5598,7 +5700,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@java/lang/reflect/$(DEPDIR)/natConstructor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@java/lang/reflect/$(DEPDIR)/natField.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@java/lang/reflect/$(DEPDIR)/natMethod.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@java/lang/reflect/$(DEPDIR)/natProxy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@java/net/$(DEPDIR)/natInetAddress.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@java/net/$(DEPDIR)/natVMNetworkInterface.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@java/nio/$(DEPDIR)/natDirectByteBufferImpl.Plo@am__quote@ @@ -5635,12 +5736,12 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< -libgcjawt_la-jawt.lo: jawt.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcjawt_la_CFLAGS) $(CFLAGS) -MT libgcjawt_la-jawt.lo -MD -MP -MF "$(DEPDIR)/libgcjawt_la-jawt.Tpo" -c -o libgcjawt_la-jawt.lo `test -f 'jawt.c' || echo '$(srcdir)/'`jawt.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgcjawt_la-jawt.Tpo" "$(DEPDIR)/libgcjawt_la-jawt.Plo"; else rm -f "$(DEPDIR)/libgcjawt_la-jawt.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='jawt.c' object='libgcjawt_la-jawt.lo' libtool=yes @AMDEPBACKSLASH@ +classpath/native/jawt/libgcjawt_la-jawt.lo: classpath/native/jawt/jawt.c +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcjawt_la_CFLAGS) $(CFLAGS) -MT classpath/native/jawt/libgcjawt_la-jawt.lo -MD -MP -MF "classpath/native/jawt/$(DEPDIR)/libgcjawt_la-jawt.Tpo" -c -o classpath/native/jawt/libgcjawt_la-jawt.lo `test -f 'classpath/native/jawt/jawt.c' || echo '$(srcdir)/'`classpath/native/jawt/jawt.c; \ +@am__fastdepCC_TRUE@ then mv -f "classpath/native/jawt/$(DEPDIR)/libgcjawt_la-jawt.Tpo" "classpath/native/jawt/$(DEPDIR)/libgcjawt_la-jawt.Plo"; else rm -f "classpath/native/jawt/$(DEPDIR)/libgcjawt_la-jawt.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='classpath/native/jawt/jawt.c' object='classpath/native/jawt/libgcjawt_la-jawt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcjawt_la_CFLAGS) $(CFLAGS) -c -o libgcjawt_la-jawt.lo `test -f 'jawt.c' || echo '$(srcdir)/'`jawt.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcjawt_la_CFLAGS) $(CFLAGS) -c -o classpath/native/jawt/libgcjawt_la-jawt.lo `test -f 'classpath/native/jawt/jawt.c' || echo '$(srcdir)/'`classpath/native/jawt/jawt.c .cc.o: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ @@ -5835,6 +5936,7 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs + -rm -rf classpath/native/jawt/.libs classpath/native/jawt/_libs -rm -rf gnu/classpath/.libs gnu/classpath/_libs -rm -rf gnu/gcj/.libs gnu/gcj/_libs -rm -rf gnu/gcj/convert/.libs gnu/gcj/convert/_libs @@ -6223,6 +6325,8 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -rm -f classpath/native/jawt/$(DEPDIR)/$(am__dirstamp) + -rm -f classpath/native/jawt/$(am__dirstamp) -rm -f gnu/classpath/$(DEPDIR)/$(am__dirstamp) -rm -f gnu/classpath/$(am__dirstamp) -rm -f gnu/gcj/$(DEPDIR)/$(am__dirstamp) @@ -6286,7 +6390,7 @@ clean-am: clean-binPROGRAMS clean-generic clean-libtool \ distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ./$(DEPDIR) gnu/classpath/$(DEPDIR) gnu/gcj/$(DEPDIR) gnu/gcj/convert/$(DEPDIR) gnu/gcj/io/$(DEPDIR) gnu/gcj/runtime/$(DEPDIR) gnu/gcj/tools/gcj_dbtool/$(DEPDIR) gnu/gcj/util/$(DEPDIR) gnu/gcj/xlib/$(DEPDIR) gnu/java/lang/$(DEPDIR) gnu/java/net/$(DEPDIR) gnu/java/net/protocol/core/$(DEPDIR) gnu/java/nio/$(DEPDIR) gnu/java/nio/channels/$(DEPDIR) java/io/$(DEPDIR) java/lang/$(DEPDIR) java/lang/ref/$(DEPDIR) java/lang/reflect/$(DEPDIR) java/net/$(DEPDIR) java/nio/$(DEPDIR) java/nio/channels/$(DEPDIR) java/text/$(DEPDIR) java/util/$(DEPDIR) java/util/logging/$(DEPDIR) java/util/zip/$(DEPDIR) sysdep/$(DEPDIR) + -rm -rf ./$(DEPDIR) classpath/native/jawt/$(DEPDIR) gnu/classpath/$(DEPDIR) gnu/gcj/$(DEPDIR) gnu/gcj/convert/$(DEPDIR) gnu/gcj/io/$(DEPDIR) gnu/gcj/runtime/$(DEPDIR) gnu/gcj/tools/gcj_dbtool/$(DEPDIR) gnu/gcj/util/$(DEPDIR) gnu/gcj/xlib/$(DEPDIR) gnu/java/lang/$(DEPDIR) gnu/java/net/$(DEPDIR) gnu/java/net/protocol/core/$(DEPDIR) gnu/java/nio/$(DEPDIR) gnu/java/nio/channels/$(DEPDIR) java/io/$(DEPDIR) java/lang/$(DEPDIR) java/lang/ref/$(DEPDIR) java/lang/reflect/$(DEPDIR) java/net/$(DEPDIR) java/nio/$(DEPDIR) java/nio/channels/$(DEPDIR) java/text/$(DEPDIR) java/util/$(DEPDIR) java/util/logging/$(DEPDIR) java/util/zip/$(DEPDIR) sysdep/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-local distclean-tags @@ -6317,7 +6421,7 @@ installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ./$(DEPDIR) gnu/classpath/$(DEPDIR) gnu/gcj/$(DEPDIR) gnu/gcj/convert/$(DEPDIR) gnu/gcj/io/$(DEPDIR) gnu/gcj/runtime/$(DEPDIR) gnu/gcj/tools/gcj_dbtool/$(DEPDIR) gnu/gcj/util/$(DEPDIR) gnu/gcj/xlib/$(DEPDIR) gnu/java/lang/$(DEPDIR) gnu/java/net/$(DEPDIR) gnu/java/net/protocol/core/$(DEPDIR) gnu/java/nio/$(DEPDIR) gnu/java/nio/channels/$(DEPDIR) java/io/$(DEPDIR) java/lang/$(DEPDIR) java/lang/ref/$(DEPDIR) java/lang/reflect/$(DEPDIR) java/net/$(DEPDIR) java/nio/$(DEPDIR) java/nio/channels/$(DEPDIR) java/text/$(DEPDIR) java/util/$(DEPDIR) java/util/logging/$(DEPDIR) java/util/zip/$(DEPDIR) sysdep/$(DEPDIR) + -rm -rf ./$(DEPDIR) classpath/native/jawt/$(DEPDIR) gnu/classpath/$(DEPDIR) gnu/gcj/$(DEPDIR) gnu/gcj/convert/$(DEPDIR) gnu/gcj/io/$(DEPDIR) gnu/gcj/runtime/$(DEPDIR) gnu/gcj/tools/gcj_dbtool/$(DEPDIR) gnu/gcj/util/$(DEPDIR) gnu/gcj/xlib/$(DEPDIR) gnu/java/lang/$(DEPDIR) gnu/java/net/$(DEPDIR) gnu/java/net/protocol/core/$(DEPDIR) gnu/java/nio/$(DEPDIR) gnu/java/nio/channels/$(DEPDIR) java/io/$(DEPDIR) java/lang/$(DEPDIR) java/lang/ref/$(DEPDIR) java/lang/reflect/$(DEPDIR) java/net/$(DEPDIR) java/nio/$(DEPDIR) java/nio/channels/$(DEPDIR) java/text/$(DEPDIR) java/util/$(DEPDIR) java/util/logging/$(DEPDIR) java/util/zip/$(DEPDIR) sysdep/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -6558,6 +6662,11 @@ gnu-java-awt-peer-gtk.lo: $(gnu_java_awt_peer_gtk_source_files) $(LTGCJCOMPILE) -fjni -findirect-dispatch -c -o gnu-java-awt-peer-gtk.lo @gnu-java-awt-peer-gtk.list @rm -f gnu-java-awt-peer-gtk.list +gnu-java-awt-peer-qt.lo: $(gnu_java_awt_peer_qt_source_files) + @find classpath/lib/gnu/java/awt/peer/qt -name '*.class' > gnu-java-awt-peer-qt.list + $(LTGCJCOMPILE) -fjni -findirect-dispatch -c -o gnu-java-awt-peer-qt.lo @gnu-java-awt-peer-qt.list + @rm -f gnu-java-awt-peer-qt.list + gnu-java-beans.lo: $(gnu_java_beans_source_files) @find classpath/lib/gnu/java/beans -name '*.class' > gnu-java-beans.list $(LTGCJCOMPILE) -fjni -findirect-dispatch -c -o gnu-java-beans.lo @gnu-java-beans.list @@ -7713,6 +7822,16 @@ javax/swing/plaf/metal.list: $(javax_swing_plaf_metal_source_files) -include javax/swing/plaf/metal.deps +javax/swing/plaf/multi.list: $(javax_swing_plaf_multi_source_files) + @$(mkinstalldirs) $(dir $@) + @for file in $(javax_swing_plaf_multi_source_files); do \ + if test -f $(srcdir)/$$file; then \ + echo $(srcdir)/$$file; \ + else echo $$file; fi; \ + done > javax/swing/plaf/multi.list + +-include javax/swing/plaf/multi.deps + javax/swing/table.list: $(javax_swing_table_source_files) @$(mkinstalldirs) $(dir $@) @for file in $(javax_swing_table_source_files); do \ diff --git a/libjava/classpath/.classpath b/libjava/classpath/.classpath index 0689e09..5131536 100644 --- a/libjava/classpath/.classpath +++ b/libjava/classpath/.classpath @@ -1,24 +1,10 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + diff --git a/libjava/classpath/.cvsignore b/libjava/classpath/.cvsignore index 8d1d08c..83b1bb6 100644 --- a/libjava/classpath/.cvsignore +++ b/libjava/classpath/.cvsignore @@ -9,3 +9,4 @@ Makefile stamp-h stamp-h.in autom4te*.cache +install diff --git a/libjava/classpath/.externalToolBuilders/Configure.launch b/libjava/classpath/.externalToolBuilders/Configure.launch index acf9b35..575eb7b 100644 --- a/libjava/classpath/.externalToolBuilders/Configure.launch +++ b/libjava/classpath/.externalToolBuilders/Configure.launch @@ -1,10 +1,2 @@ - - - - - - - - - - + + \ No newline at end of file diff --git a/libjava/classpath/.project b/libjava/classpath/.project index 92d714d..f9372aa 100644 --- a/libjava/classpath/.project +++ b/libjava/classpath/.project @@ -26,6 +26,26 @@ + org.eclipse.ui.externaltools.ExternalToolBuilder + full,incremental, + + + LaunchConfigHandle + <project>/.externalToolBuilders/CreateLocaleData.launch + + + + + org.eclipse.ui.externaltools.ExternalToolBuilder + full,incremental, + + + LaunchConfigHandle + <project>/.externalToolBuilders/CompileNative.launch + + + + org.eclipse.jdt.core.javabuilder diff --git a/libjava/classpath/AUTHORS b/libjava/classpath/AUTHORS index 53255d1..2f021ea 100644 --- a/libjava/classpath/AUTHORS +++ b/libjava/classpath/AUTHORS @@ -20,6 +20,7 @@ Michael Koch (konqueror@gmx.de) John Keiser (jkeiser@iname.com) John Leuner (jewel@debian.org) Warren Levy (warrenl@cygnus.com) +Sven de Marothy (sven@physto.se) Bryce McKinlay (bryce@waitaki.otago.ac.nz) Audrius Meskauskas (audriusa@Bioinformatics.org) Aaron M. Renn (arenn@urbanophile.com) diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index 71ae0c5..6463f49 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -1,3 +1,5605 @@ +2005-09-06 Mark Wielaard + + * NEWS: Add new features for 0.18. + * configure.ac: Set version to 0.18. + +2005-09-06 Thomas Fitzsimmons + + * native/jni/gtk-peer/gtkpeer.h (SYNCHRONIZE_GDK): Define. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit) + [SYNCHRONIZE_GDK]: Make GDK synchronous. + +2005-09-05 Thomas Fitzsimmons + + PR awt/20720 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (get_first_keyval_from_keymap): Return -1 if no keyval was found + for given hardware keycode. + (keysym_to_awt_keycode): Likewise. + (keysym_to_awt_keylocation): Likewise. + (key_press_cb): Return immediately if no keyval was found for + given hardware keycode. + (key_release_cb): Likewise. + +2005-09-05 Andreas Tobler + + * native/jni/Makefile.am (all-local): Invoke $(SHELL) to execute + the script. + + * scripts/check_jni_methods.sh: Make script working with non GNU + grep versions. + +2005-09-05 Roman Kennke + + * javax/swing/event/DocumentEvent.java: + (ElementChange) Made inner interface static to conform to the specs. + +2005-09-05 Roman Kennke + + * javax/swing/JDesktopPane.java: Fixed typo in class description. + * javax/swing/JEditorPane.java: Removed unneeded import. + Added class description. + * javax/swing/JDialog.java: Made class description more useful. + * javax/swing/JFileChooser.java: Added class description. + * javax/swing/JFormattedTextField.java: Added class description. + (AbstractFormatter): Likewise. + (AbstractFormatterFactory): Likewise. + * javax/swing/JFrame.java: Made class description more useful. + +2005-09-05 Roman Kennke + + * javax/swing/event/DocumentEvent.java: + Reindented file to conform to our coding standards. + +2005-09-05 Chris Burdess + + * gnu/xml/stream/XMLEventAllocatorImpl.java, + gnu/xml/stream/XMLInputFactoryImpl.java, + gnu/xml/stream/XMLStreamReaderImpl.java: Various fixes from system + testing. + * javax/xml/namespace/QName.java: Avoid unnecessary test. + +2005-09-05 Mark Wielaard + + * lib/standard.omit: Add gnu/xml/stream and javax/xml/stream. + * NEWS: Describe Untested/Disabled new features. + +2005-09-04 Mark Wielaard + + * configure.ac (AC_CONFIG_FILES): Add examples/Makefile.jawt. + * examples/.cvsignore: Add Makefile.jawt. + * examples/Makefile.am (EXAMPLE_C_FILES): New variable. + (ALL_EXAMPLE_FILES): Likewise. + (install-data-local): Use ALL_EXAMPLE_FILES and add Makefile.jawt. + (uninstall-local): Likewise. + (EXTRA_DIST): Add Makefile.awt.in. + * examples/Makefile.jawt.in: New file. + * examples/README: Add jawt instructions. + * examples/gnu/classpath/examples/jawt/DemoJAWT.c + (Java_DemoJAWT_paint): Rename to + Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt. + (Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt): Flip foreground + color based on on parameter. + * examples/gnu/classpath/examples/jawt/DemoJAWT.java (paint): Renamed + paintIt. + (paint): Call paintIt. + (on): New boolean field. + (main): Add Frame name, switch on variable every 0.5 seconds and call + Frame.repaint(). + * examples/gnu/classpath/examples/jawt/Makefile: Removed. + * include/Makefile.am (include_HEADERS): New for jni.h, jni_md.h, + jawt.h and jawt_md.h. + +2005-09-05 Jeroen Frijters + + * java/lang/reflect/Proxy.java + (sameTypes): Removed. + (equals): Fixed bug #23727. + +2005-09-04 Mark Wielaard + + * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java + (matches): Remove InvalidClassException since it is never thrown. + * vm/reference/gnu/classpath/jdwp/VMIdManager.java + (newReferenceTypeId): Only return null when SoftReference is cleared, + don't catch InstantiationException or IllegalAccessException since + they are never thrown. + +2005-09-04 Mark Wielaard + + * gnu/CORBA/NamingService/NamingServiceTransient.java: Re-un-indent + boilerplate. + +2005-09-04 Mark Wielaard + + * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Mark static. + * gnu/java/awt/peer/qt/QtButtonPeer.java: Replace uses of + toolkit.eventQueue.postEvent() with QtToolkit.eventQueue.postEvent(). + * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtChoicePeer.java: Likewise. + * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise and similar + for guiThread and graphicsEnv. + * gnu/java/awt/peer/qt/QtListPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtMenuPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtScrollbarPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtTextAreaPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtTextFieldPeer.java: Likewise. + +2005-09-04 Chris Burdess + + * doc/README.jaxp: Updated JAXP documentation for StAX. + * javax/xml/stream/XMLEventFactory.java, + * javax/xml/stream/XMLInputFactory.java, + * javax/xml/stream/XMLOutputFactory.java: Use GNU implementation by + default. + +2005-09-04 Andreas Tobler + + Fix for bug #23653 + * lib/Makefile.am (metafiles): Use find -name -prune not -path. + +2005-09-04 Mark Wielaard + + * NEWS: Add description of new awt.datatransfer functionality. + +2005-09-04 Mark Wielaard + + * javax/swing/text/AbstractDocument.java + (LeafElement.LeafElement): Set startPos and endPos through + createPosition() if parent is null. + +2005-09-04 Chris Burdess + + * gnu/xml/stream: StAX implementation. + +2005-09-04 Guilhem Lavaux + + * java/lang/Integer.java + (parseInt): Added some messages to the exception thrown by this + method. + +2005-09-04 Chris Burdess + + * javax/xml/stream/XMLEventFactory.java, + * javax/xml/stream/XMLEventWriter.java, + * javax/xml/stream/XMLInputFactory.java, + * javax/xml/stream/XMLOutputFactory.java, + * javax/xml/stream/XMLResolver.java, + * javax/xml/stream/XMLStreamConstants.java, + * javax/xml/stream/events/Attribute.java, + * javax/xml/stream/events/EndEntity.java, + * javax/xml/stream/events/EntityDeclaration.java, + * javax/xml/stream/events/EntityReference.java, + * javax/xml/stream/events/StartEntity.java, + * javax/xml/stream/events/XMLEvent.java, + * javax/xml/stream/util/EventReaderDelegate.java: + StAX API changes to conform to JWSDP 1.5. + +2005-09-03 Mark Wielaard + + Fixes bug #23701 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c + (clipboard_owner_change_cb): Only used when GTK_MINOR_VERSION > 4. + (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): + Only request owner-change events for GTK_MINOR_VERSION > 4. + (clipboard_get_func): Only handle pixbuf and uri when + GTK_MINOR_VERSION > 4. + (Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent): Only call + gtk_target_list_add_* functions when GTK_MINOR_VERSION > 4. Similar + for gtk_clipboard_set_can_store. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaledFlipped): Mark + flipx and flipy unused for GTK_MINOR_VERSION <= 4. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c + (clipboard_targets_received): Don't handle images for + GTK_MINOR_VERSION <= 4. + (Java_gnu_java_awt_peer_gtk_GtkSelection_requestImage): Likewise. + (clipboard_uris_received): Likewise for text/uri-list. + (Java_gnu_java_awt_peer_gtk_GtkSelection_requestURIs): Likewise. + +2005-09-03 Andreas Tobler + + * autogen.sh: Document libtool version needed for Darwin. + (LIBTOOLIZE): Don't special case Darwin, always use libtoolize. + +2005-09-03 Chris Burdess + + * javax/xml/stream, + * javax/xml/stream/events, + * javax/xml/stream/util: + New StAX API classes. + +2005-09-02 Keith Seitz + + * gnu/classpath/jdwp/transport/ITransport.java (shutdown): New method. + * gnu/classpath/jdwp/transport/JdwpConnection.java (JdwpConnection): + Add ThreadGroup argument. + * gnu/classpath/jdwp/transport/SocketTransport.java (shutdown): + New method. + +2005-09-02 Keith Seitz + + * gnu/classpath/jdwp/Jdwp.java: New file. + * gnu/classpath/jdwp/JdwpConstants.java: New file. + * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: New file. + +2005-09-02 Keith Seitz + + * gnu/classpath/jdwp/processor/CommandSet.java [vm]: Remove. + VMVirtualMachine is entirely static. + * gnu/classpath/jdwp/event/EventManager.java (requestEvent) + (deleteRequest, clearRequests): Change all VMVirtualMachine calls + to reflect new API. + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java + (executeVisibleClasses): Likewise. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (invokeMethod): Likewise. + * gnu/classpath/jdwp/processor/MethodCommandSet.java + (executeLineTable, executeVariableTable): Likewise. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (executeInvokeMethod): Likewise. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeSourceFile, executeStatus): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executeGetValues, ,executeSetValues, executeThisObject): Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (executeSuspend, executeResume, executeStatus, executeFrames) + (executeFrameCount, executeSuspendCount): Likewise. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeClassesBySignature, executeClassesBySignature) + (executeAllClasses, executeDispose, executeSuspend) + (executeResume): Likewise. + +2005-09-02 Audrius Meskauskas + + * org/omg/CosNaming/NamingContextOperations.java: + Do not inherit from CORBA object. + * org/omg/CosNaming/_NamingContextExtImplBase.java (_methods), + * omg/CosNaming/_NamingContextImplBase.java (methods): + Made package private. + * omg/CosNaming/NamingContextPOA.java, + * omg/CosNaming/NamingContextExtPOA.java, + * org/omg/CosNaming/BindingIteratorPOA.java: New files. + +2005-09-02 Thomas Fitzsimmons + + * java/awt/image/CropImageFilter.java + (setPixels(int,int,int,int,ColorModel,byte[],int,int)): Set + consumer pixels at 0, 0 location. + (setPixels(int,int,int,int,ColorModel,int[],int,int)): Likewise. + +2005-09-02 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (mousepressed): Fixed, so that clicking on control icon will not + start editing. + +2005-09-02 Anthony Balkissoon + + * javax/swing/JTree.java: + (getScrollableTracksViewportHeight): Return true if parent is a + JViewport and parent's height is smaller than ours. + (getScrollableTracksViewportWidth): Return true if parent is a + JViewport and parent's width is smaller than ours. + +2005-09-02 Lillian Angel + + * javax/swing/JTree.java + (installUI): TreeSelectionListener removed because added too many + times. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Fixed names for some tree defaults. + * javax/swing/plaf/basic/BasicTreeUI.java: + Added new fields for editing and keyboard actions. + (setCellEditor): Took out unneeded if statement. + (isEditing): Returned boolean instead. + (updateCellEditor): Used set method. + (installDefaults): Set focus to tree. + (installKeyBoardActions): Implemented. + (convertModifiers): New function implemented. + (installUI): Used set method and initialized isEditing. + (startEditing): set isEditing. + (TreeAction): New class implemented to perform keyboard actions. + (ActionListenerProxy): New private class used to distribute the key + board actions to the true receiver. + (editingStopped): Added code to prevent NPEs. set isEditing and focus + to tree. Also, removed TreeSelectionListeners for cellEditor. + (editingCanceled): Likewise. + (keyPressed): Removed code, not needed anymore. + (actionPerformed): Implemented for up/down keyboard actions. + (actionPerformed): Implemented for left/right keyboard actions. + * javax/swing/tree/DefaultTreeCellEditor.java + (DefaultTreeCellEditor): Set lastPath. + (isCellEditable): editingComponent should be configured if has not + been. + (stopCellEditing): No need to set cell editor to null here. + (cancelCellEditing): Likewise. + (valueChanged): Set tPath to the path that was last selected. Used for + the click-pause-click implementation. + (actionPerformed): Re-implemented in a simplier fashion. + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Only set border color if val is lead + selection path. + +2005-09-02 Audrius Meskauskas + + * gnu/CORBA/Interceptor/ClientRequestInterceptors.java (send_poll): + remove ForwardRequest from declaration. + +2005-09-02 Audrius Meskauskas + + * org/omg/PortableInterceptor/CurrentOperations.java: + Inherit from org.omg.CORBA.CurrentOperations. + * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java + (send_poll): Remove ForwardRequest from declaration. + +2005-09-02 Anthony Balkissoon + + * javax/swing/JList.java: + (getPreferredScrollableViewportSize): Implemented. + +2005-09-02 Audrius Meskauskas + + * gnu/CORBA/IOR_Delegate.java (request), + * gnu/CORBA/SocketRepository.java (get_socket), + * gnu/CORBA/gnuRequest (getParameterStream), + * gnu/CORBA/NamingService/NameParser.java, + * gnu/CORBA/NamingService/NamingServiceTransient.java: Rewritten. + * gnu/CORBA/Functional_ORB.java (nameParser): New field. + (string_to_object): Rewritten. + (ior_to_object): Made public. + * org/omg/CORBA/ORB.java (string_to_object): + Documentation update. + +2005-09-02 Anthony Balkissoon + + * javax/swing/JTree.java: + (getPreferredScrollableViewportSize): Implemented. + +2005-09-02 David Gilbert + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): set correct value for + 'InternalFrame.titleFont'. + +2005-09-02 Mark Wielaard + + * gnu/java/awt/ClasspathToolkit.java (registerImageIOSpis): + Reintroduced (empty) method. + * gnu/java/awt/peer/gtk/GtkToolkit.java (static): Moved initialization + of imageIOSpis to new registerImageIOSpis() method. + (registerImageIOSpis): New (overloaded) method. + * javax/imageio/spi/IIORegistry.java (IIORegistry): Call to Toolkit + registration method if instanceof ClasspathToolkit. + +2005-09-02 Thomas Fitzsimmons + + PR awt/22979 + * gnu/java/awt/peer/gtk/GtkImage.java, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (GtkImage()): + New constructor. + (drawPixelsScaled): Return immediately if width or height is <= 0. + (drawPixelsScaledFlipped): Likewise for srcwidth, srcheight, + dstwidth, dstheight. + * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage(String)): + Create a blank image when filename is "". + * javax/swing/ImageIcon.java (ImageIcon(String)): Mention blank + icons in documentation. + (ImageIcon(String,String)): Likewise. + +2005-09-02 Thomas Fitzsimmons + + PR awt/23557 + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawString(String, + float, float)): Return immediately if string is null or + zero-length. + +2005-09-02 Thomas Fitzsimmons + + PR awt/20014 + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Always call + initStaticState. + +2005-09-02 Robert Schuster + + * README: Added MysaifuVM to list of VMs + * INSTALL: Added info about Qt4 and ecj. + +2005-09-01 Thomas Fitzsimmons + + PR awt/23536 + * gnu/java/awt/peer/gtk/GtkImage.java, + gnu_java_awt_peer_gtk_GtkImage.c (GtkImage(URL)): New constructor. + (GtkImage(byte[])) New constructor. + (loadImageFromData): New method. + * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage(URL)): Call + GtkImage(URL) constructor. + (createImage(byte[],int,int)): Call GtkImage(byte[]) constructor. + * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerate. + +2005-09-01 Mark Wielaard + + * gnu/java/awt/ClasspathToolkit.java (getFont): Get non-public + constructor from Font. Chain "cannot happen" exceptions in + AssertionError. + +2005-09-01 Mark Wielaard + + * java/util/jar/JarFile.java (JarEnumeration.nextElement): Only + readSignature when verifying jar. + (getEntry): Likewise. + +2005-09-01 Anthony Balkissoon + + Fixes bug #23204 + * javax/swing/ViewportLayout.java: + (preferredLayoutSize): If the view is scrollable, call its + getPreferredScrollableViewportSize method. + (layoutContainer): If the view is scrollable, check its + getScrollableTracksViewportWidth and getScrollableTracksViewportHeight + methods before resizing the view to match the viewport. + +2005-09-01 Mark Wielaard + + * native/jni/gtk-peer/gtk_jawt.c + (classpath_jawt_get_visualID): Cast returned NULL to VisualID. + (classpath_jawt_get_drawable): Cast returned NULL to Drawable. + +2005-09-01 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added new field to keep track of contents in newly edited cell. + (isEditing): Made more intuitive. + (stopEditing): Changed because it was causing an infinite loop. + (installUI): Should be set to true when set. + (completeEditing): Passed newVal to valueForPathChanged instead. + (EditorTimerUpdate): Made timer faster because was not working well. + (actionPerformed): No need for 'BasicTreeUI.this.' + (update): Likewise. + (editingStopped): Likewise. Also, set newVal to appropriate value. + (editingCanceled): Likewise. + (keyPressed): Likewise. + (mousePressed): Likewise. + (treeExpanded): Likewise. + (treeCollapsed): Likewise. + (treeNodesChanged): Likewise. + (TreeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (valueChanged): Editing is canceled when a new cell is clicked. + (getCellBounds): Initialized row for path. + * javax/swing/tree/DefaultTreeCellEditor.java + (startEditingTimer): No need to start timer if it is already set. + * javax/swing/tree/DefaultTreeModel.java + (valueForPathChanged): Fixed so value of node is changed only if it + is a MutableTreeNode. Otherwise, it cannot be changed. Also, + implemented with check if root node is the node being changed. + (nodeChanged): Should get the path of the node, not the parent. + +2005-08-31 Thomas Fitzsimmons + + PR awt/20782 + * native/jni/gtk-peer/gtk_jawt.c + (classpath_jawt_get_default_display): Check if widget is realized + and return NULL if it is not. + (classpath_jawt_get_visualID): Likewise. + (classpath_jawt_get_drawable): Likewise. + +2005-08-31 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): Only + add parent's x and y co-ordinates to translation if parent's + parent is not a window. + +2005-08-31 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicFileChooserUI.java: + (boxEntries): Made this method package private because I added a + call to it from an implicitly defined listener class. Also fixed + indentation. + (createPropertyChangeListener): If the returned property listener + hears DIRECTORY_CHANGED_PROPERTY, call boxEntries() to update the + look-in box entries. + +2005-08-31 Anthony Balkissoon + + PR swing/23037 + * javax/swing/JFileChooser.java + (changeToParentDirectory): If parent directory is null, do nothing. + +2005-08-31 Anthony Balkissoon + + * javax/swing/JTable.java: + (initializeLocalVars): Changed default autoResizeMode to + AUTO_RESIZE_SUBSEQUENT_COLUMNS to match the JDK. + * javax/swing/plaf/basic/BasicTableUI.java: + (getMaximumSize): Implemented. + (getMinimumSize): Implemented. + +2005-08-31 Mark Wielaard + + * java/nio/charset/Charset.java (charsetForName): Try default provider + before trying to load extra providers. + (availableCharsets): Explicitly add default provider Charsets. + (providers2): Don't include default provider. + +2005-08-31 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (textFieldBorder): new field, + (Flush3DBorder): new class, + (TextFieldBorder): new class, + (getTextFieldBorder): implemented. + +2005-08-31 David Gilbert + + * javax/swing/plaf/basic/BasicButtonUI.java + (getPropertyPrefix): include dot in prefix, + (installDefaults): remove dot which is included in prefix now, + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (getPropertyPrefix): return correct prefix, + * javax/swing/plaf/basic/BasicCheckBoxUI.java + (getPropertyPrefix): return correct prefix, + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPropertyPrefix): return correct prefix, + * javax/swing/plaf/basic/BasicMenuUI.java + (getPropertyPrefix): return correct prefix, + * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java + (getPropertyPrefix): return correct prefix, + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (getPropertyPrefix): include dot in prefix, + (getDefaultIcon): removed dot which is part of the prefix, + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (getPropertyPrefix): include dot in prefix, + * javax/swing/plaf/metal/MetalCheckBoxUI.java: now extends + MetalRadioButtonUI, + (getPropertyPrefix): implemented. + +2005-08-30 Mark Wielaard + Christian Schlichtherle + + * java/util/zip/ZipEntry.java (setTime): Use + Calendar.setTimeInMillis(). + (getTime): First parse extra bytes. Use Calendar.getTimeInMillis(). + (parseExtra): Don't return early to make sure that KNOWN_EXTRA is + always set. + * java/util/zip/ZipFile.java (readEntries): Parse name and comment + as UTF-8 string. + (close): Check that raf is not null. + * java/util/zip/ZipInputStream.java (getNextEntry): Set name as + UTF-8 bytes. + * java/util/zip/ZipOutputStream.java (setComment): Set comment as + UTF-8 bytes. + (putNextEntry): Likewise for name. + (finish): Likewise for both. + +2005-08-30 David Gilbert + + * examples/gnu/classpath/examples/swing/Demo.java + (mkMenuBar): added a JRadioButtonMenuItem, + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonMenuItemIcon): new inner class, + (getRadioButtonMenuItemIcon): implemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added RadioButtonMenuItem defaults. + +2005-08-30 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added a timer field for repainting the editing component. + (EditorUpdateTimer): Inner class added and implemented. Updates + the caret and text box. Still need to fix typing in text box. + (startEditing): Started the timer. + (editingCanceled): Stopped the timer. + (editingStopped): Likewise. + +2005-08-30 Lillian Angel + + * examples/gnu/classpath/examples/swing/Demo.java + (mkTreeWorld): Made tree editable. + * javax/swing/DefaultCellEditor.java + (isCellEditable): Added in check for number of mouse clicks. + (DefaultCellEditor): To start editing a textfield, number of clicks + is 3. + * javax/swing/plaf/basic/BasicTreeUI.java: + Took out unneeded fields + (isEditing): Fixed to check boolean. + (updateCellEditor): Made more efficent. + (installUI): Created cell editor for initialization. + (editingStopped): Added in check to prevent a NPE. + (editingCanceled): Likewise. + (keyPressed): Added in check for pressing Enter. Enter should stop + editing and complete it, when in the process of editing. + (mousePressed): Optimized by using MouseEvent's getClickCount. The + clicking on nodes works better. Also, added in code to start the + editing. + (valueChanged): Implemented. + (selectPath): Took out code to remove an already selected path. A node + should remain selected if clicked on more than once. Works like JDK. + * javax/swing/tree/DefaultTreeCellEditor.java: + Added a helper field. + (paint): Took out redundant code. + (DefaultTreeCellEditor): Added class to listener list. + (configureEditingComponent): Updated since listener was added to list. + (isCellEditable): Finished implementation. + (stopCellEditing): Added a check for editingComponent to prevent a NPE. + (cancelCellEditing): Likewise. + (valueChanged): Took out redundant code. + (actionPerformed): Added code in to implement click-pause-click + editing. + (shouldStartTimer): Fixed check. + (canEditImmediately): Took out redunant code. + (inHitRegion): Changed region to be text area only (not icon). + (createTreeCellEditor): No need to use canEdit here, removed. + +2005-08-30 Christian Schlichtherle + + * java/util/zip/DeflaterOutputStream.java + (DeflaterOutputStream(OutputStream)): Increase buffer size to 4096. + (DeflaterOutputStream(OutputStream,Deflater)): Likewise. + +2005-08-30 Christian Schlichtherle + + * java/util/zip/DeflaterHuffman.java (bit4Reverse): Mark final. + +2005-08-30 David Gilbert + + * javax/swing/plaf/metal/MetalLabelUI.java + (instance): renamed 'metalLabelUI' and changed from private to + protected, + (createUI): modified for renamed field, + (paintDisabledText): implemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): modified Label defaults. + +2005-08-30 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added some defaults for TabbedPane, + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + (TabbedPaneLayout): implemented new class, + (createLayoutManager): implemented, + (paintTabBorder): implemented, + (paintTopTabBorder): implemented, + (paintLeftTabBorder): implemented, + (paintBottomTabBorder): implemented, + (paintRightTabBorder): implemented, + (paintTabBackground): implemented, + (shouldPadTabRun): implemented, + * examples/gnu/classpath/examples/swing/Demo.java: + (mkTabWorld): new method, + (mkTabbedPane): added tab for 'Tab World'. + +2005-08-30 Robert Schuster + + * java/beans/Statement.java: + (Statement): Use zero length array if argument array is null. + (toString): Use StringBuffer for efficiency reasons, make use of + internal name. + (generateInternalName): New method, generates instance names like + the JDK has. + (doExecute): Removed debugging output that could lead to an exception + because wrong loop variable usage. + * java/beans/Expression.java: Static constant 'unset' renamed to + 'UNSET'. + +2005-08-29 Keith Seitz + + * gnu/classpath/jdwp/event/Event.java: New file describing JDWP + events. + * gnu/classpath/jdwp/event/ClassPrepareEvent.java: New file. + * gnu/classpath/jdwp/event/ThreadEndEvent.java: New file. + * gnu/classpath/jdwp/event/ThreadStartEvent.java: New file. + * gnu/classpath/jdwp/event/VmInitEvent.java (VmInitEvent): New file. + +2005-08-29 Tom Tromey + + * .externalToolBuilders/Configure.launch: Changed --prefix. + * .externalToolBuilders/CompileNative.launch: Invoke install target. + * .cdtproject: New file. + * .classpath: Changed output directory. + * .cvsignore: Added 'install'. + +2005-08-29 Lillian Angel + + * javax/swing/JPasswordField.java + (getText): Changed to pass error to AssertionError. + * javax/swing/plaf/basic/BasicTreeUI.java + (setCellEditor): Updated boolean when appropriate. + (stopEditing): Took out redundant code. + (updateCellEditor): Updated boolean when appropriate. + (installListeners): Took out CellEditorListener. It is added + when the cellEditor is set. + (installUI): Similar. + (ensureRowsAreVisible): Fixed API documentation + (startEditing): Fixed to add editing container to the tree. + (checkForClickInExpandControl): Fixed API documentation. + (editingStopped): Added code to remove listeners and container. + (editingCanceled): Similar. + (mousePressed): Updated to stop editing when a different cell is + clicked. + (treeNodesChanged): Called repaint. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (paintNode): Updated to paint a node that is being edited. + (paintRecursive): Fixed API documentation. + * javax/swing/tree/DefaultTreeCellEditor.java + (paint): Fixed to paint icon and text box in correct location with + correct spacing. + (doLayout): Fixed API documentation. + (DefaultTreeCellEditor): Took out call to configure editing component. + (configureEditingComponent): Initialized editing icon. + (getTreeCellEditorComponent): Took out code to stop editing. + Not needed. + (addCellEditorListener): Passed on to realEditor. + (removeCellEditorListener): Likewise. + +2005-08-29 Audrius Meskauskas + + * org/omg/CORBA/ORB.java (string_to_object): Documentation update. + * gnu/CORBA/Functional_ORB.java (string_to_object): Rewritten. + (ior_to_object): New method. + * gnu/CORBA/NamingService/NameParser.java: New file. + +2005-08-28 Mark Wielaard + + * javax/swing/text/AbstractDocument.java (addEdit): Document gcj bug + workaround. + (getChange): Likewise. + +2005-08-28 Tom Tromey + + * org/omg/PortableInterceptor/ORBInitInfoOperations.java: Removed + non-ascii character. + +2005-08-28 Chris Burdess + + * javax/swing/text/AbstractDocument.java: Fully qualify references to + ElementChange class. + +2005-08-28 Audrius Meskauskas + + * gnu/CORBA/Interceptor/ForwardRequestHolder.java, + * gnu/CORBA/Interceptor/gnuClientRequestInfo.java, + * gnu/CORBA/Interceptor/gnuIcCurrent.java, + * gnu/CORBA/Interceptor/gnuIorInfo.java, + * gnu/CORBA/Interceptor/gnuServerRequestInfo.java, + * gnu/CORBA/Interceptor/IORInterceptors.java, + * gnu/CORBA/Interceptor/ClientRequestInterceptors.java, + * gnu/CORBA/Interceptor/Registrator.java, + * gnu/CORBA/Interceptor/ServerRequestInterceptors.java, + * gnu/CORBA/GIOP/contextSupportingHeader.java, + * org/omg/PortableInterceptor/ClientRequestInfo.java, + * org/omg/PortableInterceptor/ClientRequestInfoOperations.java, + * org/omg/PortableInterceptor/ClientRequestInterceptor.java, + * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java, + * org/omg/PortableInterceptor/Current.java, + * org/omg/PortableInterceptor/CurrentHelper.java, + * org/omg/PortableInterceptor/CurrentOperations.java, + * org/omg/PortableInterceptor/ForwardRequest.java, + * org/omg/PortableInterceptor/ForwardRequestHelper.java, + * org/omg/PortableInterceptor/InvalidSlot.java, + * org/omg/PortableInterceptor/InvalidSlotHelper.java, + * org/omg/PortableInterceptor/ORBInitInfo.java, + * org/omg/PortableInterceptor/ORBInitInfoOperations.java, + * org/omg/PortableInterceptor/ORBInitializer.java, + * org/omg/PortableInterceptor/ORBInitializerOperations.java, + * org/omg/PortableInterceptor/PolicyFactory.java, + * org/omg/PortableInterceptor/PolicyFactoryOperations.java, + * org/omg/PortableInterceptor/RequestInfo.java, + * org/omg/PortableInterceptor/RequestInfoOperations.java, + * org/omg/PortableInterceptor/ServerRequestInfo.java, + * org/omg/PortableInterceptor/ServerRequestInfoOperations.java, + * org/omg/PortableInterceptor/ServerRequestInterceptor.java, + * org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java, + * org/omg/PortableInterceptor/package.html: + New files. + * gnu/CORBA/ExceptionCreator.java, + * gnu/CORBA/Functional_ORB.java, + * gnu/CORBA/IOR.java, + * gnu/CORBA/IOR_Delegate.java, + * gnu/CORBA/ObjectCreator.java, + * gnu/CORBA/Restricted_ORB.java, + * gnu/CORBA/bufferedResponseHandler.java, + * gnu/CORBA/gnuCodecFactory.java, + * gnu/CORBA/gnuRequest.java, + * gnu/CORBA/primitiveArrayTypeCode.java, + * gnu/CORBA/primitiveTypeCode.java, + * gnu/CORBA/CDR/Vio.java, + * gnu/CORBA/CDR/cdrOutput.java, + * gnu/CORBA/DynAn/gnuDynAny.java, + * gnu/CORBA/DynAn/gnuDynEnum.java, + * gnu/CORBA/DynAn/gnuDynFixed.java, + * gnu/CORBA/DynAn/gnuDynValue.java, + * gnu/CORBA/GIOP/ReplyHeader.java, + * gnu/CORBA/GIOP/RequestHeader.java, + * gnu/CORBA/GIOP/ServiceContext.java, + * gnu/CORBA/GIOP/v1_0/RequestHeader.java, + * gnu/CORBA/Poa/LocalDelegate.java, + * gnu/CORBA/Poa/LocalRequest.java, + * gnu/CORBA/Poa/ORB_1_4.java, + * gnu/CORBA/Poa/gnuServantObject.java, + * gnu/CORBA/Poa/servantDelegate.java, + * org/omg/CORBA/ServiceDetailHelper.java, + * org/omg/CORBA/DynAnyPackage/Invalid.java, + * org/omg/CORBA/DynAnyPackage/InvalidSeq.java, + * org/omg/CORBA/DynAnyPackage/InvalidValue.java, + * org/omg/CORBA/DynAnyPackage/TypeMismatch.java, + * org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, + * org/omg/DynamicAny/_DynAnyFactoryStub.java, + * org/omg/DynamicAny/_DynAnyStub.java, + * org/omg/DynamicAny/_DynArrayStub.java, + * org/omg/DynamicAny/_DynEnumStub.java, + * org/omg/DynamicAny/_DynFixedStub.java, + * org/omg/DynamicAny/_DynSequenceStub.java, + * org/omg/DynamicAny/_DynStructStub.java, + * org/omg/DynamicAny/_DynUnionStub.java, + * org/omg/DynamicAny/_DynValueStub.java, + * org/omg/IOP/ServiceContext.java, + * org/omg/IOP/TaggedComponentHelper.java, + * org/omg/IOP/TaggedProfileHelper.java, + * org/omg/PortableInterceptor/IORInfo.java, + * org/omg/PortableInterceptor/IORInfoOperations.java, + * org/omg/PortableInterceptor/IORInterceptor.java, + * org/omg/PortableInterceptor/IORInterceptorOperations.java, + * org/omg/PortableInterceptor/Interceptor.java, + * org/omg/PortableInterceptor/LOCATION_FORWARD.java, + * org/omg/PortableInterceptor/SUCCESSFUL.java, + * org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java, + * org/omg/PortableInterceptor/TRANSPORT_RETRY.java, + * org/omg/PortableInterceptor/USER_EXCEPTION.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java: + Rewritten. + * org/omg/CORBA/ORB.java, + * org/omg/CORBA/package.html, + * NEWS: + Documentation update. + +2005-08-28 Chris Burdess + + * gnu/xml/xpath/ArithmeticExpr.java: Fix div and mod by zero to + follow IEEE rules. + +2005-08-27 Tom Tromey + + * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Always check for 'zip' + program. Changed zip install handling. + +2005-08-26 Keith Seitz + + * gnu/classpath/jdwp/event/EventRequest.java: New file. + * gnu/classpath/jdwp/exception/JdwpIllegalArgumentException.java: + New file. + +2005-08-26 Keith Seitz + + * gnu/classpath/jdwp/event/filters/IEventFilter.java: New file. + Describes the interface used for event filtering managed by + the event manager. + * gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java: New file. + * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: New file. + * gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java: New file. + * gnu/classpath/jdwp/event/filters/ConditionalFilter.java: New file. + * gnu/classpath/jdwp/event/filters/CountFilter.java: New file. + * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java: New file. + * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java: New file. + * gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java: New file. + * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java: New file. + * gnu/classpath/jdwp/event/filters/StepFilter.java: New file. + * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: New file. + +2005-08-26 David Gilbert + + * javax/swing/plaf/basic/BasicCheckBoxUI.java + (installUI): removed, + * javax/swing/plaf/basic/BasicIconFactory.java + (CheckBoxMenuItemIcon): new support class, + (getCheckBoxMenuItemIcon): return instance of CheckBoxMenuItemIcon, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): changed value for 'CheckBoxMenuItem.checkIcon' + and removed entry for 'CheckBoxMenuItem.icon', + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): let icon handle selection status, + * javax/swing/plaf/metal/MetalIconFactory.java + (CheckBoxMenuItemIcon): new support class, + (getCheckBoxIcon): implemented, + (getCheckBoxMenuItemIcon): implemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added entry for 'CheckBoxMenuItem.checkIcon'. + +2005-08-26 Thomas Fitzsimmons + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c + (create): Only set overwrite confirmation if using GTK >= 2.8. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (setVisibleNative): Call gdk_flush before releasing GDK lock. + (setVisibleNativeUnlocked): Don't call gdk_flush. + +2005-08-26 Thomas Fitzsimmons + + PR classpath/21660: + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c + (AWT_FILEDIALOG_LOAD): New macro. + (AWT_FILEDIALOG_SAVE): Likewise. + (create(GtkContainerPeer,int)): Add mode parameter. Create Save + dialog if mode is AWT_FILEDIALOG_SAVE. Remove workaround for + http://bugzilla.gnome.org/show_bug.cgi?id=166852. + (create()): Add mode argument to create call. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (setVisibleNative): Override method. + (setVisibleNativeUnlocked): Override method. Call gdk_flush after + showing or hiding window. + * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: Regenerate. + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerate. + +2005-08-25 Mark Wielaard + + * timezones.pl (parseRule): Add dayoffset when $time represents + more then a day. + * java/util/TimeZone.java (timezones): Regenerate. + +2005-08-25 Keith Seitz + + * gnu/classpath/jdwp/util/Value.java (Value): Update for + real VMIdManager API. + * gnu/classpath/jdwp/util/Location.java (Location): Likewise. + +2005-08-25 Keith Seitz + + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (executeSet): Use constants for case values. + Fix "typo": It is really ThreadOnlyFilter. + Correct arguments to InstanceOnlyFilter. + +2005-08-25 Keith Seitz + + * gnu/classpath/jdwp/processor/CommandSet.java (CommandSet): Make + an abstract class. + Add protected variables for VMIdManager and VMVirtualMachine. + (runCommand): Make abstract. + * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java + (ArrayReferenceCommandSet): Derive from CommandSet instead of + implementing it. Remove private hooks to ID manager and VM. + Update all VMIdManager and EventManager API calls. + * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java + (ArrayTypeCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java + (ClassLoaderReferenceCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java + (ClassObjectReferenceCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (ClassTypeCommandSet): Likewise. + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (EventRequestCommandSet): Likewise. + * gnu/classpath/jdwp/processor/FieldCommandSet.java + (FieldCommandSet): Likewise. + * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java + (InterfaceTypeCommandSet): Likewise. + * gnu/classpath/jdwp/processor/MethodCommandSet.java + (MethodCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (ObjectReferenceCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (ReferenceTypeCommandSet): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (StackFrameCommandSet): Likewise. + * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java + (StringReferenceCommandSet): Likewise. + * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java + (ThreadGroupReferenceCommandSet.java): Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (ThreadReferenceCommandSet): Likewise. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (VirtualMachineCommandSet): Likewise. + + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (executeStatus): Fix constant name. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeDisposeObjects): Don't do anything yet -- this + is unimplemented. + +2005-08-25 Mark Wielaard + + Reported by Bastiaan Huisman + * scripts/tzabbrevs: Change America/Buenos_Aires to + America/Argentina/Buenos_Aires for AGT link. + * scripts/timezones.pl (parseTime): Assume and return wall time. + Reindent output. + * java/util/TimeZone.java (timezones): Regenerate using tzdata2005l. + +2005-08-25 Keith Seitz + + * gnu/classpath/jdwp/event/EventManager.java: New file concerning + JDWP event request management and notification infrastructure. + +2005-08-25 Audrius Meskauskas + + * scripts/eclipse-gnu.xml: Reverted my patch 2005-07-31. + +2005-08-25 Roman Kennke + + * javax/swing/JTextPane.java + (JTextPane()): Don't set the document to null here. + +2005-08-25 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (RootView.preferenceChanged): Revalidate the text component. + (RootView.setParent): Set parent of views to null. The parent + of the added child view is set to the root view in the + BasicTextUI class. + (RootView.getView): Implemented new method. + (RootView.getViewCount): Implemented new method. + (RootView.changedUpdate): Use the correct ViewFactory here. + (RootView.insertUpdate): Use the correct ViewFactory here. + (RootView.removeUpdate): Use the correct ViewFactory here. + (setView): Set the view's parent to the root view. + +2005-08-25 Roman Kennke + + * javax/swing/text/View.java + (View): Don't manage child views here. + (getContainer): Throw AssertionError if we have no parent. This + should not happen. + (append): Call replace to do the real action. Child views + are not managed in the View class itself. + (removeAll): Give replace an empty array instead of null. + Avoids NPEs in subclasses that don't handle the null case. + (preferenceChanged): Don't revalidate here. This is too + expensive and not necessary. + (updateChildren): Let replace do the actual action. We don't + manage child views in the View class. + (forwardUpdate): Don't access children directly. + (dump): Added package private methods useful for debugging. + +2005-08-25 Roman Kennke + + * javax/swing/text/StyledEditorKit.java + (StyledViewFactory.create): Use new BoxView constructor. Throw + AssertionError if an unknown element type is encountered, + since this should not happen. + +2005-08-25 Roman Kennke + + * javax/swing/text/GlyphView.java + (GlyphPainter): Implemented abstract inner class. + (DefaultGlyphPainter): Implemented concrete impl of + GlyphPainter. + (getGlyphPainter): Implemented new method. + (setGlyphPainter): Likewise. + (checkPainter): Likewise. + (paint): Likewise. + (getPreferredSpan): Likewise. + (modelToView): Likewise. + (getTabExpander): Likewise. + (getTabbedSpan): Likewise. + (getPartialSpan): Likewise. + (getBeginIndex): Likewise. + (getEndIndex): Likewise. + (getText): Likewise. + (getFont): Likewise. + (getForeground): Likewise. + +2005-08-25 Roman Kennke + + * javax/swing/text/GapContent.java + (getString): Throw BadLocationException instead of letting + a StringIndexOutOfBoundsException bubble up. + +2005-08-25 Roman Kennke + + * javax/swing/text/ParagraphView.java + (Row): Implemented inner class. + (ParagraphView(Element)): Implemented constructor. + (nextTabStop): Added dummy implementation for TabExpander + interface. + (createRow): Implemented new method. + +2005-08-25 Roman Kennke + + * javax/swing/text/FlowView.java + (FlowStrategy): Implemented inner class. + (LogicalView): Likewise. + (FlowView(Element, int)): Implemented constructor. + (getFlowAxis): Implemented new method. + (getFlowSpan): Likewise. + (getFlowStart): Likewise. + (createRow): Added new abstract method. + (loadChildren): Implemented new method. + (layout): Implemented new method. + (insertUpdate): Implemented new method. + (removeUpdate): Implemented new method. + (changedUpdate): Implemented new method. + (getViewIndexAtPosition): Implemented new method. + +2005-08-25 Roman Kennke + + * javax/swing/text/CompositeView.java + (loadChildren): Call replace to actually change the child + elements. This way subclasses can modify the child + management behaviour by simply overriding replace. + (setParent): Only call loadChildren if the parent to be set + is actually not null. + (replace): Check for null children. Set the parent of removed + children to null. Set the parent of the added children to + this. + (modelToView): Added some sanity checks. + +2005-08-25 Roman Kennke + + * javax/swing/text/BoxView.java + (BoxView(Element, int)): Implemented. + (getAxis): Likewise. + (setAxis): Likewise. + (layoutChanged): Likewise. + (isLayoutValid): Likewise. + (paintChild): Likewise. + (replace): Likewise. + (paint): Likewise. + (getPreferredSpan): Likewise. + (getMaximumSpan): Likewise. + (baselineRequirements): Likewise. + (calculateMajorAxisRequirements): Likewise. + (calculateMinorAxisRequirements): Likewise. + (isBefore): Likewise. + (isAfter): Likewise. + (getViewAtPoint): Likewise. + (childAllocation): Likewise. + (layout): Likewise. + (layoutMajorAxis): Likewise. + (layoutMinorAxis): Likewise. + (isAllocationValid): Likewise. + (getWidth): Likewise. + (getHeight): Likewise. + (setSize): Likewise. + (validateLayout): Likewise. + +2005-08-25 Roman Kennke + + * javax/swing/text/AbstractDocument.java + (AbstractElement.dumpElement): Throw AssertionError when + a BadLocationException is encountered. + (BranchElement.getElementIndex): Return -1 if there is no child + element. Return elementCount - 1 if the requested offset is after + the child elements of that element. + (BranchElement.getEndOffset): Throw NPE if this element has no + children. + (BranchElement.getStartOffset): Throw NPE if this element has + no children. + (DefaultDocumentEvent.addEdit): Implemented. + (DefaultDocumentEvent.getChange): Implemented. + +2005-08-25 Lillian Angel + + * javax/swing/JPasswordField.java + (setText): Changed to raise an AssertionError when a + BadLocationException is caught. + +2005-08-25 Tom Tromey + + * configure.ac: Call AC_PROG_CXX. + +2005-08-25 Mark Wielaard + + * javax/xml/namespace/QName.java: Updated boilerplate address. + * gnu/xml/xpath/XPathParser.y: Likewise. + * gnu/xml/xpath/XPathParser.java: Regenerated. + +2005-08-25 David Gilbert + + * javax/xml/datatype/DatatypeFactory.java: minor API doc fixes, + * javax/xml/parsers/DocumentBuilder.java: likewise, + * javax/xml/parsers/SAXParser.java: likewise, + * javax/xml/transform/Source.java: likewise. + +2005-08-25 David Gilbert + + * javax/swing/tree/DefaultTreeModel.java + (nodesWereRemoved): minor API doc fix. + +2005-08-25 David Gilbert + + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (activeBGColor): removed, + (activeFGColor): removed, + (inactiveBGColor): removed, + (inactiveFGColor): removed, + (installDefaults): replaced removed fields above with correct ones, + (uninstallDefaults): likewise, + (setButtonIcons): implemented, + (paintComponent): replaced removed fields above with correct ones; + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: implemented, + * javax/swing/plaf/metal/MetalInternalFrameUI.java + (createNorthPane): implemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added internal frame icons. + +2005-08-25 Thomas Fitzsimmons + + * gnu/java/awt/ClasspathToolkit.java (getFont): Throw + RuntimeException in case of error. + * gnu/java/awt/EmbeddedWindow.java (addNotify): Likewise. + +2005-08-24 Thomas Fitzsimmons + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c + (beginNativeRepaintID): Remove variable. + (endNativeRepaintID): Likewise. + (cp_gtk_button_init_jni): Don't look up beginNativeRepaint and + endNativeRepaint methods. + * gnu/java/awt/peer/gtk/GtkFramePeer.java (resizing): Remove + field. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (resizing): Remove field. + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (hiding): Remove + field. + (setVisible): Don't override. + * gnu/java/awt/peer/gtk/GtkChoicePeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c + (selectNative): New method. + (selectNativeUnlocked): Likewise. + (select): Call setNativeUnlocked if in the GTK main thread, + selectNative otherwise. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (gtkWidgetSetCursorUnlocked): New method. + (setCursor(Cursor)): Call gtkWidgetSetCursorUnlocked if in the GTK + main thread, gtkWidgetSetCursor otherwise. + (setVisibleNative): New method. + (setVisibleNativeUnlocked): Likewise. + (setVisible): Call setVisibleNativeUnlocked if in the GTK main + thread, setVisibleNative otherwise. + (hide): Call setVisible(false). + (show): Call setVisible(true). + +2005-08-24 Tom Tromey + + * java/text/SimpleDateFormat.java (compileFormat): Correctly + handle quoted single quotes. PR classpath/23183. + +2005-08-24 Mark Wielaard + + * vm/reference/gnu/classpath/jdwp/VMFrame.java: Update copyright + boilerplate address. + * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise. + +2005-08-24 Mark Wielaard + + * doc/www.gnu.org/newsitems.txt: Fix announcement url. + +2005-08-24 David Gilbert + + * javax/swing/plaf/metal/MetalIconFactory.java + (InternalFrameCloseIcon): new private class, + (InternalFrameAltMaximizeIcon): likewise, + (InternalFrameMaximizeIcon): likewise, + (InternalFrameMinimizeIcon): likewise, + (getInternalFrameCloseIcon): implemented, + (getInternalFrameMaximizeIcon): implemented, + (getInternalFrameMinimizeIcon): implemented, + (getInternalFrameAltMaximizeIcon): implemented. + +2005-08-24 Mark Wielaard + + * gnu/CORBA/ForwardRequestHelper.java: Update copyright boilerplate + address. + * gnu/classpath/jdwp/processor/CommandSet.java: Likewise. + * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java: + Likewise. + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java: + Likewise. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java: Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: + Likewise. + * gnu/classpath/jdwp/util/LineTable.java: Likewise. + * gnu/classpath/jdwp/util/MethodResult.java: Likewise. + * gnu/classpath/jdwp/util/VariableTable.java: Likewise. + * javax/xml/namespace/QName.java: Likewise. + * org/omg/DynamicAny/_DynAnyFactoryStub.java: Likewise. + * org/omg/DynamicAny/_DynAnyStub.java: Likewise. + * org/omg/DynamicAny/_DynArrayStub.java: Likewise. + * org/omg/DynamicAny/_DynEnumStub.java: Likewise. + * org/omg/DynamicAny/_DynFixedStub.java: Likewise. + * org/omg/DynamicAny/_DynSequenceStub.java: Likewise. + * org/omg/DynamicAny/_DynStructStub.java: Likewise. + * org/omg/DynamicAny/_DynUnionStub.java: Likewise. + * org/omg/DynamicAny/_DynValueStub.java: Likewise. + * org/omg/PortableServer/ForwardRequest.java: Likewise. + * org/omg/PortableServer/CurrentHelper.java: Likewise. + * org/omg/PortableServer/ForwardRequestHelper.java: Likewise. + * org/omg/PortableServer/ServantActivatorHelper.java: Likewise. + * org/omg/PortableServer/ServantLocatorHelper.java: Likewise. + * org/omg/PortableServer/_ServantActivatorStub.java: Likewise. + * org/omg/PortableServer/_ServantLocatorStub.java: Likewise. + +2005-08-24 Mark Wielaard + + * configure.ac: Set version to 0.18-pre. + +2005-08-24 Mark Wielaard + + * doc/www.gnu.org/newsitems.txt: Add Generics Branch Merge + Announcement. + +2005-08-24 Lillian Angel + + * javax/swing/DefaultCellEditor.java + (isCellEditable): Reversed last changes. + +2005-08-24 Lillian Angel + + * javax/swing/DefaultCellEditor.java + (isCellEditable): If the event is null, the cell is still + editable. + * javax/swing/plaf/basic/BasicTextUI.java + (getVisibleEditorRect): Use getPreferredSize to get the width + and height. + * javax/swing/tree/DefaultTreeCellEditor.java + (paint): Fixed to paint the JTextField with the background + and border at the correct location. + (DefaultTreeCellEditor): Changed to initialize realEditor. + (configureEditingComponent): Helper function implemented. + (getTreeCellEditorComponent): Fixed to use realEditor to get component. + (isCellEditable): Fixed to configure editing component. + (shouldSelectCell): Always returns true. + (stopCellEditing): Fixed to configure editing component if needed. + (cancelCellEditing): Fixed to configure editing component if needed. + (createTreeCellEditor): Fixed to initialize fields. + +2005-08-24 Mark Wielaard + + * resource/japhar-0.09.patch.1: Removed. + * resource/orp-1.0.8.patch: Removed. + * resource/orp-1.0.9.patch: Removed. + * resource/Makefile.am (EXTRA_DIST): Removed. + +2005-08-24 Mark Wielaard + + * NEWS: Split in general changes and vm interface changes. Add RawData + to Pointer conversion. + +2005-08-24 Mark Wielaard + + * native/jni/java-lang/java_lang_VMDouble.c + (Java_java_lang_VMDouble_parseDouble): Remove KISSME_LINUX_USER hack. + +2005-08-24 Mark Wielaard + + * configure.ac: Check for QtGui >= 4.0.1. Check for and + add extra include dirs ($includedir/Qt) to QT_CFLAGS. + * native/jni/qt-peer/.cvsignore: Add slotcallbacks.moc.h. + * native/jni/qt-peer/Makefile.am (QT_CXXFLAGS): Removed. + (libqtpeer_la_CXXFLAGS): Removed. + (libqtpeer_la_LDFLAGS): Removed. + (AM_LDFLAGS): Set to @CLASSPATH_MODULE@ @QT_LIBS@. + (AM_CXXFLAGS): Set to @QT_CFLAGS@. + +2005-08-24 David Gilbert + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (installDefaults): just fetch border from UIDefaults, + * javax/swing/plaf/metal/MetalIconFactory.java + (InternalFrameDefaultMenuIcon): implemented, + (getInternalFrameDefaultMenuIcon): implemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): add values for "InternalFrame.border" and + "InternalFrame.icon". + +2005-08-24 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java + (InternalFrameBorder): implemented. + +2005-08-24 David Gilbert + + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (installDefaults): set background color using "desktop" color, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initSystemColorDefaults): removed "Desktop.background" color, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initSystemColorDefaults): added "desktop" color. + +2005-08-23 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (stopEditing): Implemented. + (cancelEditing): Implemented. + (startEditingAtPath): Implemented. + (getEditingPath): Implemented. + (createDefaultCellEditor): Implemented. + (updateCellEditor): Implemented. + (completeEditing): Implemented. + (completeEditing): Implemented. + (startEditing): Implemented. + (editingStopped): Implemented. + (editingCanceled): Implemented. + * javax/swing/tree/DefaultTreeCellEditor.java + (stopCellEditing): Stopped the timer. + (cancelCellEditing): Likewise. + +2005-08-23 Lillian Angel + + * javax/swing/DefaultCellEditor.java + (getTreeCellEditorComponent): Implemented cases for JCheckBox + and JComboBox. + * javax/swing/plaf/basic/BasicTreeUI.java + (BasicTreeUI): Moved lines to installUI where the renderer + and editor are created. + (installUI): Likewise. + * javax/swing/tree/DefaultTreeCellEditor.java + (getPreferredSize): Implemented. + (DefaultTreeCellEditor): Implemented. + (DefaultTreeCellEditor): Implemented. + (getTreeCellEditorComponent): Implemented. + (getCellEditorValue): Implemented. + (isCellEditable): Implemented. + (shouldSelectCell): Implemented. + (stopCellEditing): Implemented. + (cancelCellEditing): Implemented. + (valueChanged): Implemented. + (actionPerformed): Implemented. + (shouldStartEditingTimer): Implemented. + (startEditingTimer): Implemented. + (canEditImmediately): Implemented. + (inHitRegion): Implemented. + (determineOffset): Implemented. + (prepareForEditing): Implemented. + (createContainer): Implemented. + (createTreeCellEditor): Implemented. + +2005-08-23 Tom Tromey + + * java/text/SimpleDateFormat.java (compileFormat): Reformatted. + +2005-08-23 Tom Tromey + + PR classpath/23531 + * java/sql/Date.java (toString): Not deprecated. + (valueOf): Likewise. + * java/sql/Time.java (toString): Not deprecated. + (valueOf): Likewise. + +2005-08-23 David Gilbert + + * javax/swing/UIManager.java: + (addAuxiliaryLookAndFeel): renamed field, added check for null + argument, + (removeAuxiliaryLookAndFeel): reimplemented, + (getAuxiliaryLookAndFeels): renamed field, + (installLookAndFeel): implemented by delegation. + +2005-08-23 David Gilbert + + * javax/swing/UIManager.java: added API docs all over. + +2005-08-23 David Gilbert + + * javax/swing/UIManager.java: + (look_and_feel): renamed currentLookAndFeel, + (currentUIDefaults): new field, + (get(Object)): access cached UIDefaults, + (get(Object, Locale)): likewise, + (getBoolean(Object)): likewise, + (getBoolean(Object, Locale)): likewise, + (getBorder(Object)): likewise, + (getBorder(Object, Locale)): likewise, + (getColor(Object)): likewise, + (getColor(Object, Locale)): likewise, + (getDefaults): return reference to UIDefaults from current look and + feel rather than recreating them every time, + (getDimension(Object)): access local defaults, + (getDimension(Object, Locale)): likewise, + (getFont(Object)): likewise, + (getFont(Object, Locale)): likewise, + (getIcon(Object)): likewise, + (getIcon(Object, Locale)): likewise, + (getInsets(Object)): likewise, + (getInsets(Object, Locale)): likewise, + (getInt(Object)): likewise, + (getInt(Object, Locale)): likewise, + (getLookAndFeel): renamed attribute, + (getLookAndFeelDefaults): return reference to UIDefaults from current + look and feel rather than recreating them every time, + (getString(Object)): access local defaults, + (getString(Object, Locale)): likewise, + (getUI(JComponent)): likewise, + (installLookAndFeel(String, String)): implemented by delegation, + (put(Object, Object)): update local defaults, + (setLookAndFeel): create and retain reference to UIDefaults. + +2005-08-23 David Gilbert + + * javax/swing/UIManager.java: + (addPropertyChangeListener): implemented, + (removePropertyChangeListener): likewise, + (getPropertyChangeListeners): likewise, + (setLookAndFeel): fire a property change event. + +2005-08-23 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (BasicTreeUI): Moved these lines to installUI + because they were causing NullPointerExceptions. + (installUI): Added code from constructor. + * javax/swing/plaf/metal/MetalTreeUI.java + (createUI): Formatted code. + +2005-08-23 Tom Tromey + + * configure.ac: Fixed typo. + +2005-08-23 David Gilbert + + * javax/swing/event/SwingPropertyChangeSupport.java + (writeObject): removed empty method, + (readObject): likewise, + (getPropertyChangeListeners()): implemented, + (getPropertyChangeListeners(String)): likewise, + (hasListeners): return true if there are any general listeners, + added API docs all over. + +2005-08-23 Mark Wielaard + + * native/jni/qt-peer/qttextfieldpeer.cpp + (Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getCaretPosition): Renamed + from Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getCaretPositionNative. + + * gnu/java/awt/peer/qt/QtComponentPeer.java (getMinimumSizeNative): + Removed unused native method. + (getPreferredSizeNative): Likewise. + + * include/gnu_java_awt_peer_qt_QMatrix.h: Regenerated. + * include/gnu_java_awt_peer_qt_QPainterPath.h: Likewise. + * include/gnu_java_awt_peer_qt_QPen.h: Likewise. + * include/gnu_java_awt_peer_qt_QtAudioClip.h: Likewise. + * include/gnu_java_awt_peer_qt_QtButtonPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtCanvasPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtChoicePeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtComponentPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtDialogPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtFontMetrics.h: Likewise. + * include/gnu_java_awt_peer_qt_QtFontPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtFramePeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtGraphics.h: Likewise. + * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h: Likewise. + * include/gnu_java_awt_peer_qt_QtImage.h: Likewise. + * include/gnu_java_awt_peer_qt_QtLabelPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtListPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtMenuPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtPanelPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtScreenDevice.h: Likewise. + * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h: Likewise. + * include/gnu_java_awt_peer_qt_QtToolkit.h: Likewise. + * include/gnu_java_awt_peer_qt_QtVolatileImage.h: Likewise. + * include/gnu_java_awt_peer_qt_QtWindowPeer.h: Likewise. + +2005-08-23 Thomas Fitzsimmons + + * java/awt/EventQueue.java (getNextEvent): Don't check if this is + the dispatch thread. + +2005-08-23 Sven de Marothy + + * gnu/java/awt/peer/qt/QtAudioClip.java + * gnu/java/awt/peer/qt/QtComponentGraphics.java + * gnu/java/awt/peer/qt/QtComponentPeer.java + * gnu/java/awt/peer/qt/QtDialogPeer.java + * gnu/java/awt/peer/qt/QtFontPeer.java + * gnu/java/awt/peer/qt/QtFramePeer.java + * gnu/java/awt/peer/qt/QtGraphics.java + * gnu/java/awt/peer/qt/QtImage.java + * gnu/java/awt/peer/qt/QtImageGraphics.java + * gnu/java/awt/peer/qt/QtLabelPeer.java + * gnu/java/awt/peer/qt/QtMenuBarPeer.java + * gnu/java/awt/peer/qt/QtMenuComponentPeer.java + * gnu/java/awt/peer/qt/QtMenuPeer.java + * gnu/java/awt/peer/qt/QtPanelPeer.java + * gnu/java/awt/peer/qt/QtRepaintThread.java + * gnu/java/awt/peer/qt/QtToolkit.java + * gnu/java/awt/peer/qt/QtVolatileImage.java + * include/gnu_java_awt_peer_qt_QtComponentPeer.h + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h + * include/gnu_java_awt_peer_qt_QtGraphics.h + * include/gnu_java_awt_peer_qt_QtMenuPeer.h + * include/gnu_java_awt_peer_qt_QtVolatileImage.h + * native/jni/qt-peer/componentevent.cpp + * native/jni/qt-peer/componentevent.h + * native/jni/qt-peer/eventmethods.h + * native/jni/qt-peer/keybindings.cpp + * native/jni/qt-peer/keybindings.h + * native/jni/qt-peer/qtcomponentpeer.cpp + * native/jni/qt-peer/qtframepeer.cpp + * native/jni/qt-peer/qtgraphics.cpp + * native/jni/qt-peer/qtimage.h + * native/jni/qt-peer/qtlabelpeer.cpp + * native/jni/qt-peer/qtmenucomponentpeer.cpp + * native/jni/qt-peer/qtmenupeer.cpp + * native/jni/qt-peer/qtscrollpanepeer.cpp + * native/jni/qt-peer/qttextfieldpeer.cpp + * native/jni/qt-peer/qtvolatileimage.cpp + * native/jni/qt-peer/qtwindowpeer.cpp: + Reindented, minor fixes. + * gnu/java/awt/peer/qt/QtImageDirectGraphics.java + New file. + +2005-08-22 Tom Tromey + + * java/net/JarURLConnection.java (getJarEntry): Return null if no + entry specified. + +2005-08-22 Tom Tromey + + * lib/split-for-gcj.sh: Create Makefile.deps atomically. + * lib/gen-classlist.sh.in: Don't run split-for-gcj.sh. + * lib/Makefile.gcj (Makefile.deps): New target. + * lib/Makefile.am (compile-classes): Pass top_srcdir to + Makefile.gcj. + +2005-08-22 Lillian Angel + + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Added in default border for Tree. + * javax/swing/tree/DefaultTreeCellRenderer.java: + Formatting entire class. + (getPreferredSize): Implemented. + +2005-08-22 David Gilbert + + * javax/swing/event/SwingPropertyChangeSupport.java: reformatted. + +2005-08-22 Mark Wielaard + + * javax/swing/ImageIcon.java: Add documentation. + +2005-08-22 Tom Tromey + + * javax/swing/text/LayoutQueue.java: New file. + +2005-08-22 Tom Tromey + + PR libgcj/23499: + * doc/api/Makefile.am (install-data-local): Now conditional on + CREATE_API_DOCS. + (uninstall-local): Likewise. + +2005-08-22 Kelley Cook + + * Makefile.am (ACLOCAL_AMFLAGS): New. + +2005-08-22 David Gilbert + + * javax/swing/UIManager.java: fixed error message typo in static + initialization code. + +2005-08-22 David Gilbert + + * javax/swing/text/AbstractDocument.java: fixed minor API doc problems, + * javax/swing/text/Caret.java: likewise, + * javax/swing/text/CompositeView.java: likewise, + * javax/swing/text/DefaultCaret.java: likewise, + * javax/swing/text/DefaultEditorKit.java: likewise, + * javax/swing/text/DefaultStyledDocument.java: likewise, + * javax/swing/text/ElementIterator.java: likewise, + * javax/swing/text/GlyphView.java: likewise, + * javax/swing/text/IconView.java: likewise, + * javax/swing/text/View.java: likewise. + +2005-08-22 David Gilbert + + * javax/swing/SwingUtilities.java: fixed some minor API doc problems. + +2005-08-22 David Gilbert + + * NEWS: added item regarding javax.swing.plaf.multi.* package + implementation. + +2005-08-22 Mark Wielaard + + * native/jni/gtk-peer/gtkpeer.h (cp_gtk_clipboard, + cp_gtk_stringTarget, cp_gtk_imageTarget, cp_gtk_filesTarget): New + extern variables. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c: New file. + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add + gnu_java_awt_peer_gtk_GtkSelection.c. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Renames + clipboard to cp_gtk_clipboard, stringTarget to cp_gtk_stringTarget, + imageTarget to cp_gtk_imageTarget, filesTarget to cp_gtk_filesTarget, + cp_gtk_clipboard_owner_change_cb to clipboard_owner_change_cb, + cp_gtk_clipboard_get_func to clipboard_get_func, + cp_gtk_clipboard_clear_func to clipboard_clear_func, moved + GtkSelection native methods to new file. + +2005-08-21 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkSelection.java: Update for new FSF + address. + +2005-08-21 Thomas Fitzsimmons + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (KEYBOARD_DIVIDER_MOVE_OFFSET): Initialize with 3. + +2005-08-21 Thomas Fitzsimmons + + * javax/swing/ImageIcon.java (getIconHeight): Return -1 if image + is null. + (getIconWidth): Likewise. + +2005-08-21 Thomas Fitzsimmons + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (window_get_frame_extents): If window is not decorated, guess 0, + 0, 0, 0 inset values. + +2005-08-21 Tom Tromey + + * javax/swing/text/AbstractWriter.java (NEWLINE): Now 'final'. + +2005-08-21 Thomas Fitzsimmons + + * java/awt/Label.java (setText): Refine text inequality test. + +2005-08-21 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip(Shape)): Clear + clip when clip == null. + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setClip(Shape)): + Likewise. + +2005-08-20 Thomas Fitzsimmons + + * java/awt/Label.java (setText): Invalidate label. + +2005-08-20 Thomas Fitzsimmons + + * java/awt/image/AreaAveragingScaleFilter.java: Add checks for + consumer != null. + * java/awt/image/CropImageFilter.java: Likewise. + * java/awt/image/ImageFilter.java: Likewise. + * java/awt/image/RGBImageFilter.java: Likewise. + * java/awt/image/ReplicateScaleFilter.java: Likewise. + +2005-08-20 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (findFormatName): + Just return null when ext == null. + +2005-08-20 Thomas Fitzsimmons + + * java/awt/AWTKeyStroke.java (getAWTKeyStroke): Include old-style + modifiers in returned AWTKeyStroke's modifier mask. + +2005-08-20 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setStroke): Clear + dashes if dashes is null. + (setStrokeUnlocked): Likewise. + +2005-08-20 Thomas Fitzsimmons + + * java/awt/Window.java (getMostRecentFocusOwner): New method. + +2005-08-20 Sven de Marothy + + * gnu/java/awt/peer/qt/MainQtThread.java + * gnu/java/awt/peer/qt/QtComponentGraphics.java + * gnu/java/awt/peer/qt/QtComponentPeer.java + * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java + * gnu/java/awt/peer/qt/QtFramePeer.java + * gnu/java/awt/peer/qt/QtImage.java + * gnu/java/awt/peer/qt/QtListPeer.java + * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java + * gnu/java/awt/peer/qt/QtToolkit.java + * native/jni/qt-peer/componentevent.cpp + * native/jni/qt-peer/componentevent.h + * native/jni/qt-peer/eventmethods.h + * native/jni/qt-peer/mainqtthread.cpp + * native/jni/qt-peer/mainthreadinterface.cpp + * native/jni/qt-peer/mainthreadinterface.h + * native/jni/qt-peer/qtcomponentpeer.cpp + * native/jni/qt-peer/qtframepeer.cpp + * native/jni/qt-peer/qtgraphics.cpp + Refactored. + * include/gnu_java_awt_peer_qt_MainQtThread.h + * include/gnu_java_awt_peer_qt_QMatrix.h + * include/gnu_java_awt_peer_qt_QPainterPath.h + * include/gnu_java_awt_peer_qt_QPen.h + * include/gnu_java_awt_peer_qt_QtAudioClip.h + * include/gnu_java_awt_peer_qt_QtButtonPeer.h + * include/gnu_java_awt_peer_qt_QtCanvasPeer.h + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h + * include/gnu_java_awt_peer_qt_QtChoicePeer.h + * include/gnu_java_awt_peer_qt_QtComponentPeer.h + * include/gnu_java_awt_peer_qt_QtContainerPeer.h + * include/gnu_java_awt_peer_qt_QtDialogPeer.h + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h + * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h + * include/gnu_java_awt_peer_qt_QtFontMetrics.h + * include/gnu_java_awt_peer_qt_QtFontPeer.h + * include/gnu_java_awt_peer_qt_QtFramePeer.h + * include/gnu_java_awt_peer_qt_QtGraphics.h + * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h + * include/gnu_java_awt_peer_qt_QtImage.h + * include/gnu_java_awt_peer_qt_QtLabelPeer.h + * include/gnu_java_awt_peer_qt_QtListPeer.h + * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h + * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h + * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h + * include/gnu_java_awt_peer_qt_QtMenuPeer.h + * include/gnu_java_awt_peer_qt_QtPanelPeer.h + * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h + * include/gnu_java_awt_peer_qt_QtScreenDevice.h + * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h + * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h + * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h + * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h + * include/gnu_java_awt_peer_qt_QtToolkit.h + * include/gnu_java_awt_peer_qt_QtVolatileImage.h + * include/gnu_java_awt_peer_qt_QtWindowPeer.h + Regenerated. + * gnu/java/awt/peer/qt/QtRepaintThread.java: + New file. + +2005-08-20 Thomas Fitzsimmons + + * native/jni/gtk-peer/gtk_jawt.c + (classpath_jawt_get_default_display): Remove locking. + (classpath_jawt_get_visualID): Likewise. + (classpath_jawt_get_drawable): Likewise. + (classpath_jawt_object_lock): Remove function. + (classpath_jawt_object_unlock): Likewise. + (classpath_jawt_create_lock): Likewise. + (classpath_jawt_destroy_lock): Likewise. + * native/jni/classpath/classpath_jawt.h + (classpath_jawt_object_lock): Remove function. + (classpath_jawt_object_unlock): Likewise. + (classpath_jawt_create_lock): Likewise. + (classpath_jawt_destroy_lock): Likewise. + * native/jawt/jawt.c [!__GNUC__] (__attribute__): Define to + nothing. + (_Jv_Lock): Call classpath_jawt_lock. + (_Jv_Unlock): Call classpath_jawt_unlock. + (_Jv_GetDrawingSurfaceInfo): Move surface_info_x11 initialization + from ... + (_Jv_GetDrawingSurface): Remove surface_info_x11 initialization. + (_Jv_FreeDrawingSurface): Don't destroy target object. + * native/jawt/Makefile.am: Add SONAME FIXME. + * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Re-order + display field. Add colour map, depth and GetAWTColor function + pointer fields. + * include/jawt.h (struct _JAWT_Rectangle): New structure. + (struct _JAWT_DrawingSurfaceInfo): Add drawing surface, bounds, + clip size and clipping rectangle fields. + (struct _JAWT_DrawingSurface): Add env field. Rename lock field + target. Re-order function pointer and lock fields. Remove + surface_info field. + (struct _JAWT): Add GetComponent function pointer field. + +2005-08-20 Keith Seitz + + * gnu/classpath/jdwp/id/ClassLoaderId.java (getClassLoader): New method. + * gnu/classpath/jdwp/id/ClassObjectId.java (getClassObject): New method. + * gnu/classpath/jdwp/id/JdwpId.java + (getReference): New method. + (setReference): New method. + * gnu/classpath/jdwp/id/ObjectId.java (getObject): New method. + * gnu/classpath/jdwp/id/ReferenceTypeId.java (getType): New method. + * gnu/classpath/jdwp/id/StringId.java (getString): New method. + * gnu/classpath/jdwp/id/ThreadGroupId.java (getThreadGroup): New method. + * gnu/classpath/jdwp/id/ThreadId.java (getThread): New method. + + * gnu/classpath/jdwp/id/ObjectId.java (setId): New method. + (disableCollection): New method. + (enableCollection): New method. + + * gnu/classpath/jdwp/id/JdwpId.java (equals): Remove test for class equality. + (setId): Make public. + +2005-08-20 Keith Seitz + + * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java + (InvalidThreadGroupException): Fix misleading string error message. + (InvalidThreadGroupException): Fix typo -- should be + JdwpConstants.Error.INVALID_THREAD_GROUP. + + * gnu/classpath/jdwp/exception/InvalidClassLoaderException.java: New + exception. + * gnu/classpath/jdwp/exception/InvalidFieldException.java: New + exception. + * gnu/classpath/jdwp/exception/InvalidLocationException.java: New + exception. + * gnu/classpath/jdwp/exception/InvalidMethodException.java: New + exception. + +2005-08-19 Audrius Meskauskas + + * NEWS: Added note about DynamicAny package. + +2005-08-19 Mark Wielaard + + * native/jni/qt-peer/Makefile.am (libqtpeer_la_SOURCES): + Added eventmethods.h. + +2005-08-19 Tom Tromey + + * javax/swing/tree/DefaultTreeCellEditor.java: Removed erroneous + import. + +2005-08-19 Tom Tromey + + * javax/swing/text/AbstractWriter.java: New file. + * javax/swing/text/ElementIterator.java: New file. + +2005-08-19 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (getCellBounds): No need to call getFont twice. This + is fixed. + * javax/swing/tree/DefaultTreeCellEditor.java: + Added API documentation for all fields. + (getPreferredSize): Implemented. + (paint): Implemented. + (doLayout): Implemented. + (getFont): Implemented. + (getPreferredSize): Implemented. + (DefaultTreeCellEditor): Partially implemented. + (DefaultTreeCellEditor): Partially implemented. + (setBorderSelectionColor): Implemented. + (getBorderSelectionColor): Implemented. + (setFont): Implemented. + (getFont): Implemented. + (getTreeCellEditorComponent): Added API documentation. + (getCellEditorValue): Added API documentation. + (isCellEditable): Added API documentation. + (shouldSelectCell): Added API documentation. + (stopCellEditing): Added API documentation. + (cancelCellEditing): Added API documentation. + (valueChanged): Added API documentation. + (actionPerformed): Added API documentation. + (setTree): Implemented. + (shouldStartEditingTimer): Added API documentation. + (startEditingTimer): Added API documentation. + (canEditImmediately): Added API documentation. + (inHitRegion): Added API documentation. + (determineOffset): Added API documentation. + (prepareForEditing): Added API documentation. + (createContainer): Added API documentation. + (createTreeCellEditor): Added API documentation. + +2005-08-19 Thomas Fitzsimmons + + * lib/.cvsignore: Add META-INF, Makefile.deps and lists. + +2005-08-19 Thomas Fitzsimmons + + * configure.ac: Generate native/jawt/Makefile. + * include/jawt.h: Import from libgcj. + * include/jawt_md.h: Likewise. + * native/Makefile.am (JAWTDIR): New variable. + * native/jawt: New directory. + * native/jawt/.cvsignore: New file. + * native/jawt/Makefile.am: Likewise. + * native/jawt/jawt.c: Import from libgcj. + +2005-08-19 Lillian Angel + + * javax/swing/tree/DefaultTreeModel.java + (setAsksAllowsChildren): Removed comment, unneeded. + (setRoot): Formatting. + (getIndexOfChild): Formatting. + (reload): Added API documentation. + (reload): Likewise. + (valueForPathChanged): Implemented. + (insertNodeInto): Implemented. + (removeNodeFromParent): Implemented. + (nodeChanged): Implemented. + (nodesWereInserted): Implemented. + (nodesWereRemoved): Implemented. + (nodesChanged): Implemented. + (nodeStructureChanged): Added API documentation. + (getPathToRoot): Implemented. + (getPathToRoot): Implemented. + (fireTreeNodesChanged): Added API documentation. + +2005-08-19 Roman Kennke + + * java/awt/image/DirectColorModel.java + (createCompatibleWritableRaster): Added API documentation. + +2005-08-18 Thomas Fitzsimmons + + * java/awt/Font.java (Font(String,Map)): Make package private. + * gnu/java/awt/ClasspathToolkit.java (getFont): Access + package-private Font.Font(String,Map) constructor using + reflection. + +2005-08-18 Thomas Fitzsimmons + + * gnu/java/awt/peer/GLightweightPeer.java, + gnu/java/awt/peer/gtk/GtkComponentPeer.java, + gnu/java/awt/peer/gtk/GtkContainerPeer.java, + gnu/java/awt/peer/gtk/GtkFramePeer.java, + gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, + gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, + gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, + gnu/java/awt/peer/gtk/GtkToolkit.java, + gnu/java/awt/peer/gtk/GtkWindowPeer.java, + gnu/java/awt/peer/qt/QtComponentPeer.java, + gnu/java/awt/peer/qt/QtContainerPeer.java, + gnu/java/awt/peer/qt/QtFramePeer.java, + gnu/java/awt/peer/qt/QtMenuComponentPeer.java, + gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, + gnu/java/awt/peer/qt/QtTextAreaPeer.java, + gnu/java/awt/peer/qt/QtTextFieldPeer.java, + gnu/java/awt/peer/qt/QtWindowPeer.java, + java/awt/peer/ComponentPeer.java, + java/awt/peer/ContainerPeer.java, java/awt/peer/FramePeer.java, + java/awt/peer/MenuComponentPeer.java, + java/awt/peer/TextComponentPeer.java, + java/awt/peer/WindowPeer.java: Add new 1.5 methods. + * java/awt/Window.java (Window()): Initialize + graphicsConfiguration. + * java/awt/GraphicsConfiguration.java + (createCompatibleVolatileImage(int,int,int)): New method. + * java/awt/Font.java (Font(String,Map)): Add FIXME. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (getLocalGraphicsEnvironment): Call new constructor. + * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java (getToolkit): + Remove method. + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java + (GdkGraphicsEnvironment(GtkToolkit)): Remove method. + (GdkGraphicsEnvironment()): New constructor. + (getToolkit): Remove method. + * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java + (getToolkit): Remove method. + (createCompatibleVolatileImage): New method. + * gnu/java/awt/ClasspathToolkit.java (getFont): Add FIXME. + +2005-08-18 Lillian Angel + + * javax/swing/DefaultCellEditor.java + (getTreeCellEditorComponent): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java + (isEditing): Implemented. + (mouseClicked): Moved code to mousePressed + (mousePressed): Code moved here from mouseClicked and + added in code to stop editing. + (selectPath): Default is changed to CONTIGUOUS_TREE_SELECTION + * javax/swing/tree/DefaultTreeSelectionModel.java + (DefaultTreeSelectionModel): Default is changed to CONTIGUOUS_TREE_SELECTION. + +2005-08-18 Roman Kennke + + * javax/swing/plaf/basic/BasicArrowButton.java: + Set default size to 12. + * javax/swing/plaf/basic/BasicScrollBarUI.java + (calculatePreferredSize): Don't restrict width and height to + a minimum of 20. + +2005-08-18 Keith Seitz + + * vm/reference/gnu/classpath/jdwp/VMIdManager.java: New file + with example implementation of ID-management for JDWP back-end. + * gnu/classpath/jdwp/id/JdwpIdFactory.java: Removed. Now part of + VMIdManager. + +2005-08-18 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (setHashColor): Implemented. + (getRowForPath): Implemented. + +2005-08-18 Lillian Angel + + * javax/swing/tree/DefaultTreeCellRenderer.java + (paint): Added check for null border. + +2005-08-18 Roman Kennke + + * java/awt/FlowLayout.java + (setAlignment): Added comment explaining why we don't check + for illegal values here. + +2005-08-18 Roman Kennke + + * java/awt/image/PixelGrabber.java + (startGrabbing): Replaced ImageConsumer.ABORTED with + ImageConsumer.IMAGEABORTED. + +2005-08-18 Roman Kennke + + * java/awt/image/PixelGrabber.java + (constructors): Check if the ImageProducer is null and throw + a NPE if that is the case. + (startGrabbing): When an exception is thrown in the grabber thread, + exit gracefully and notify the waiting threads. + (imageComplete): Only call ip.removeConsumer() if ip is not null. + +2005-08-18 David Gilbert + + * java/text/StringCharacterIterator.java + (StringCharacterIterator(String)): documented NullPointerException. + +2005-08-18 David Gilbert + + * javax/swing/plaf/multi/MultiButtonUI.java: new file, + * javax/swing/plaf/multi/MultiColorChooserUI.java: new file, + * javax/swing/plaf/multi/MultiComboBoxUI.java: new file, + * javax/swing/plaf/multi/MultiDesktopIconUI.java: new file, + * javax/swing/plaf/multi/MultiDesktopPaneUI.java: new file, + * javax/swing/plaf/multi/MultiFileChooserUI.java: new file, + * javax/swing/plaf/multi/MultiInternalFrameUI.java: new file, + * javax/swing/plaf/multi/MultiLabelUI.java: new file, + * javax/swing/plaf/multi/MultiListUI.java: new file, + * javax/swing/plaf/multi/MultiLookAndFeel.java: new file, + * javax/swing/plaf/multi/MultiMenuBarUI.java: new file, + * javax/swing/plaf/multi/MultiMenuItemUI.java: new file, + * javax/swing/plaf/multi/MultiOptionPaneUI.java: new file, + * javax/swing/plaf/multi/MultiPanelUI.java: new file, + * javax/swing/plaf/multi/MultiPopupMenuUI.java: new file, + * javax/swing/plaf/multi/MultiProgressBarUI.java: new file, + * javax/swing/plaf/multi/MultiRootPaneUI.java: new file, + * javax/swing/plaf/multi/MultiScrollBarUI.java: new file, + * javax/swing/plaf/multi/MultiScrollPaneUI.java: new file, + * javax/swing/plaf/multi/MultiSeparatorUI.java: new file, + * javax/swing/plaf/multi/MultiSliderUI.java: new file, + * javax/swing/plaf/multi/MultiSpinnerUI.java: new file, + * javax/swing/plaf/multi/MultiSplitPaneUI.java: new file, + * javax/swing/plaf/multi/MultiTabbedPaneUI.java: new file, + * javax/swing/plaf/multi/MultiTableHeaderUI.java: new file, + * javax/swing/plaf/multi/MultiTableUI.java: new file, + * javax/swing/plaf/multi/MultiTextUI.java: new file, + * javax/swing/plaf/multi/MultiToolBarUI.java: new file, + * javax/swing/plaf/multi/MultiToolTipUI.java: new file, + * javax/swing/plaf/multi/MultiTreeUI.java: new file, + * javax/swing/plaf/multi/MultiViewportUI.java: new file, + * javax/swing/plaf/multi/package.html: new file. + +2005-08-18 David Gilbert + + * java/util/Vector.java + (copyInto) fixed incorrect API description. + +2005-08-17 Thomas Fitzsimmons + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Remove + JamVM deadlock workarounds. + +2005-08-17 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkFramePeer.java, + gnu_java_awt_peer_gtk_GtkFramePeer.c (postConfigureEvent): Prevent + callback calling back into peers. + (setBounds): Likewise. + (setMenuBarWidthUnlocked): New method. + * native/jni/gtk-peer/gtkpeer.h (cp_gtk_filedialog_init_jni): + Declare function. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (gtkInit): Call cp_gtk_filedialog_init_jni. + (loadSystemColors): Work around deadlock. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c + (textcomponent_changed_cb): Don't release GDK lock. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c + (item_activate_cb): Don't release GDK lock. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c + (item_highlighted_cb): Don't release GDK lock. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (component_button_press_cb): Don't release GDK lock. + (component_button_release_cb): Likewise. + (component_motion_notify_cb): Likewise. + (component_enter_notify_cb): Likewise. + (component_leave_notify_cb): Likewise. + (component_expose_cb): Likewise. + (component_focus_in_cb): Likewise. + (component_focus_out_cb): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c + (block_expose_event_cb): Remove callback. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java, + gnu_java_awt_peer_gtk_GtkWindowPeer.c (postConfigureEvent): + Prevent callback calling back into peers. + (setBounds): Likewise. + (nativeSetBoundsUnlocked): New method. + (setBoundsUnlocked): Likewise. + (nativeSetVisibleUnlocked): Likewise. + (setVisibleUnlocked): Likewise. + (window_delete_cb): Don't release GDK lock. + (window_destroy_cb): Likewise. + (window_show_cb): Likewise. + (window_active_state_change_cb): Likewise. + (window_focus_state_change_cb): Likewise. + (window_focus_in_cb): Likewise. + (window_focus_out_cb): Likewise. + (window_window_state_cb): Likewise. + (window_property_changed_cb): Likewise. + (realize_cb): Likewise. + * gnu/java/awt/peer/gtk/GtkToolkit.java (mainThread): New + variable. + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, + gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (setVisible): Prevent + callback calling back into peers. + (filename_filter_cb): Don't release GDK lock. + (handle_response_cb): Likewise. + (cp_gtk_filedialog_init_jni): New function. + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (setState): Prevent + callback from calling back into peers. + (item_toggled_cb): Don't release GDK lock. + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, + gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_prepared_cb): Don't + release GDK lock. + (area_updated_cb): Likewise. + * gnu/java/awt/peer/gtk/GdkGraphics2D.java, + gnu_java_awt_peer_gtk_GdkGraphics2D.c (initStateUnlocked): New + method. + (cairoSurfaceSetFilterUnlocked): Likewise. + (initComponentGraphics2DUnlocked): Likewise. + (setTexturePixelsUnlocked): Likewise. + (setGradientUnlocked): Likewise. + (cairoSetMatrixUnlocked): Likewise. + (cairoSetRGBAColorUnlocked): Likewise. + (cairoSetLineWidthUnlocked): Likewise. + (cairoSetLineCapUnlocked): Likewise. + (cairoSetLineJoinUnlocked): Likewise. + (cairoSetDashUnlocked): Likewise. + (cairoSetMiterLimitUnlocked): Likewise. + (setPaintUnlocked): Likewise. + (setTransformUnlocked): Likewise. + (setStrokeUnlocked): Likewise. + (setColorUnlocked): Likewise. + (setBackgroundUnlocked): Likewise. + (setRenderingHintsUnlocked): Likewise. + (setFontUnlocked): Likewise. + (realize_cb): Don't release GDK lock. Call + initComponentGraphics2DUnlocked. + * gnu/java/awt/peer/gtk/GdkGraphics.java, + gnu_java_awt_peer_gtk_GdkGraphics.c (initStateUnlocked): New + method. + (initComponentGraphicsUnlocked): New method. + (realize_cb): Don't release GDK lock. Call + initComponentGraphicsUnlocked. + * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate. + * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Likewise. + * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Likewise. + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Likewise. + +2005-08-17 Tom Tromey + + * .project: Correctly omit jdwp from vm/reference. + +2005-08-17 Lillian Angel + + * javax/swing/plaf/basic/BasicTextUI.java + (viewToModel): Changed to match API spec. + * javax/swing/text/CompositeView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/FieldView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/GlyphView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/IconView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/PasswordView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/PlainView.java + (viewToModel): Changed to match API spec. + * javax/swing/text/View.java + (viewToModel): Changed to match API spec. + +2005-08-17 Anthony Balkissoon + + * javax/swing/JList.java: + (indexToLocation): Implemented. + (getLastVisibleIndex): If the last index in the list is showing and + there is extra room at the bottom, return the last index, not -1. + +2005-08-17 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (getCellLocation): Added in check if node is a leaf. + Shouldnt call getChildCount if a leaf. May cause NPE. + (paintRecursive): Likewise. + (paintControlIcons): Likewise. + (findNode): Likewise. + (getNextNode): Likewise. + (getPreviousNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + +2005-08-17 Lillian Angel + + * javax/swing/tree/DefaultTreeCellRenderer.java + (paint): paints the background and border of cell. + +2005-08-17 Roman Kennke + + Reported by Ingo Proetel + * java/awt/image/DirectColorModel.java + (createCompatibleWritableRaster): Added argument check. + +2005-08-17 Roman Kennke + + * java/awt/FontMetrics.java + (charWidth(int)): Correctly map Unicode indices to char[] here. + +2005-08-17 Roman Kennke + + * java/lang/Character.java + (toChars(int)): New JDK1.5 method. + (toChars(int, char[], int)): New JDK1.5 method. + (charCount): New JDK1.5 method. + (isSupplementaryCodePoint): New JDK1.5 method. + (isValidCodePoint): New JDK1.5 method. + +2005-08-17 Lillian Angel + + * java/awt/FontMetrics.java + (charWidth): Reversed Roman's patch, was not compiling. + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Set Opaque to true for + painting reasons. + +2005-08-17 Mark Wielaard + + * gnu/java/awt/peer/qt/QtFramePeer.java (setIcon): Mark non-native + and add FIXME. + (setMaximizedBounds): Likewise. + * include/gnu_java_awt_peer_qt_QtFramePeer.h: Regenerated. + * native/jni/qt-peer/.cvsignore: New file. + * native/jni/qt-peer/Makefile.am (libqtpeer_la_SOURCES): + Remove eventmethods.h. + +2005-08-17 Mark Wielaard + + * scripts/check_jni_methods.sh: Find JNI method declarations in + .cpp files. Check both GNU style functions (start of line) and + one-line like declarations. Use diff -U 0, not -0. + +2005-08-17 Roman Kennke + + * javax/swing/plaf/basic/BasicLabelUI.java + (paint): Don't paint the border here. If there is a border to + be painted, this is usually performed in JComponent.paint(). + +2005-08-17 Roman Kennke + + * java/awt/FontMetrics.java + (charWidth(int)): Correctly map Unicode indices to char[] here. + +2005-08-17 Roman Kennke + + * java/awt/Component.java + This applies to various variants of the repaint() methods: + (repaint): If the component is not showing, forward repaint + request to the parent. + +2005-08-17 Roman Kennke + + * javax/swing/plaf/basic/BasicLabelUI.java + (paint): Don't fill the background here. If the label is opaque + then the background is filled in ComponentUI.update(), otherwise + it must not be touched. + +2005-08-17 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java + (setComponentBounds): Don't post COMPONENT_RESIZED event. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (setBoundsCallbackID): Remove variable. + (cp_gtk_window_init_jni): Don't initialize setBoundsCallbackID. + (setBoundsCallback): Remove method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c + (setMenuBarPeer): Check if menubar is NULL. + (setMenuBarWidth): Likewise. + * java/awt/Window.java (dispatchEventImpl): Validate upon + receiving a COMPONENT_RESIZED event. + (setBoundsCallback): Remove method. + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerate. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setBoundsCallback): + Remove method declaration. + (postConfigureEvent): Separate handling of resizes and moves. + Call setSize and post COMPONENT_RESIZED event. + * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent): + Separate handling of resizes and moves. Call setSize. + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java + (setComponentBounds): Call setSize and post COMPONENT_RESIZED + event. + * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating): + Remove field. + +2005-08-15 Dalibor Topic + + * configure.ac: Added option to enable building qt peers. + + * include/Makefile.am: Added qt peer headers. + + * include/gnu_java_awt_peer_qt_MainQtThread.h, + include/gnu_java_awt_peer_qt_QMatrix.h, + include/gnu_java_awt_peer_qt_QPainterPath.h, + include/gnu_java_awt_peer_qt_QPen.h, + include/gnu_java_awt_peer_qt_QtAudioClip.h, + include/gnu_java_awt_peer_qt_QtButtonPeer.h, + include/gnu_java_awt_peer_qt_QtCanvasPeer.h, + include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, + include/gnu_java_awt_peer_qt_QtChoicePeer.h, + include/gnu_java_awt_peer_qt_QtComponentPeer.h, + include/gnu_java_awt_peer_qt_QtContainerPeer.h, + include/gnu_java_awt_peer_qt_QtDialogPeer.h, + include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, + include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, + include/gnu_java_awt_peer_qt_QtFontMetrics.h, + include/gnu_java_awt_peer_qt_QtFontPeer.h, + include/gnu_java_awt_peer_qt_QtFramePeer.h, + include/gnu_java_awt_peer_qt_QtGraphics.h, + include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, + include/gnu_java_awt_peer_qt_QtImage.h, + include/gnu_java_awt_peer_qt_QtLabelPeer.h, + include/gnu_java_awt_peer_qt_QtListPeer.h, + include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, + include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, + include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, + include/gnu_java_awt_peer_qt_QtMenuPeer.h, + include/gnu_java_awt_peer_qt_QtPanelPeer.h, + include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, + include/gnu_java_awt_peer_qt_QtScreenDevice.h, + include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, + include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, + include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, + include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, + include/gnu_java_awt_peer_qt_QtToolkit.h, + include/gnu_java_awt_peer_qt_QtVolatileImage.h, + include/gnu_java_awt_peer_qt_QtWindowPeer.h, + native/jni/qt-peer/Makefile.am: + New files. + + * native/jni/Makefile.am: Handle qt peers. + + * native/jni/qt-peer/slotcallbacks.moc.h: Removed. Now generated + on demand by moc. + +2005-08-16 Sven de Marothy + + * gnu/java/awt/peer/qt/QtButtonPeer.java + * gnu/java/awt/peer/qt/QtCheckboxPeer.java + * gnu/java/awt/peer/qt/QtChoicePeer.java + * gnu/java/awt/peer/qt/QtComponentGraphics.java + * gnu/java/awt/peer/qt/QtComponentPeer.java + * gnu/java/awt/peer/qt/QtContainerPeer.java + * gnu/java/awt/peer/qt/QtDialogPeer.java + * gnu/java/awt/peer/qt/QtFontPeer.java + * gnu/java/awt/peer/qt/QtFramePeer.java + * gnu/java/awt/peer/qt/QtGraphics.java + * gnu/java/awt/peer/qt/QtImage.java + * gnu/java/awt/peer/qt/QtImageGraphics.java + * gnu/java/awt/peer/qt/QtListPeer.java + * gnu/java/awt/peer/qt/QtMenuBarPeer.java + * gnu/java/awt/peer/qt/QtMenuItemPeer.java + * gnu/java/awt/peer/qt/QtMenuPeer.java + * gnu/java/awt/peer/qt/QtScrollbarPeer.java + * gnu/java/awt/peer/qt/QtTextAreaPeer.java + * gnu/java/awt/peer/qt/QtTextFieldPeer.java + * gnu/java/awt/peer/qt/QtToolkit.java + * gnu/java/awt/peer/qt/QtWindowPeer.java + * native/jni/qt-peer/keybindings.cpp + * native/jni/qt-peer/keybindings.h + * native/jni/qt-peer/qtbuttonpeer.cpp + * native/jni/qt-peer/qtcanvaspeer.cpp + * native/jni/qt-peer/qtcheckboxpeer.cpp + * native/jni/qt-peer/qtchoicepeer.cpp + * native/jni/qt-peer/qtcomponent.cpp + * native/jni/qt-peer/qtcomponentpeer.cpp + * native/jni/qt-peer/qtdialogpeer.cpp + * native/jni/qt-peer/qtframepeer.cpp + * native/jni/qt-peer/qtgraphics.cpp + * native/jni/qt-peer/qtimage.cpp + * native/jni/qt-peer/qtlabelpeer.cpp + * native/jni/qt-peer/qtlistpeer.cpp + * native/jni/qt-peer/qtmenupeer.cpp + * native/jni/qt-peer/qtpanelpeer.cpp + * native/jni/qt-peer/qtscrollbarpeer.cpp + * native/jni/qt-peer/qtscrollpanepeer.cpp + * native/jni/qt-peer/qttextareapeer.cpp + * native/jni/qt-peer/qttextfieldpeer.cpp + * native/jni/qt-peer/qtwindowpeer.cpp + * native/jni/qt-peer/slotcallbacks.cpp + * native/jni/qt-peer/slotcallbacks.h + Reindented, Transmogrified and Wielaardituded. + * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java + * native/jni/qt-peer/eventmethods.h + * native/jni/qt-peer/qtembeddedwindowpeer.cpp + * native/jni/qt-peer/slotcallbacks.moc.h + New files + * native/jni/qt-peer/eventmethods.cpp + * native/jni/qt-peer/slotcallbacks.moc + Removed. + +2005-08-16 Tom Tromey + + * .project: Fixed typo. Added builder for native code. + * .externalToolBuilders/CompileNative.launch: New file. + +2005-08-16 Tom Tromey + + * .classpath: Ignore jdwp. + * .project: Added builder to create LocaleData.java. + * .externalToolBuilders/CreateLocaleData.launch: New file. + * examples/gnu/classpath/examples/jawt/DemoJAWT.java: Added package. + +2005-08-16 Lillian Angel + + * javax/swing/text/PasswordView.java + (drawUnselectedText): Fixed so the password is drawn correctly + in the text box and no * characters are drawn before anything + was typed. + +2005-08-16 Mark Wielaard + + * gnu/java/awt/peer/gtk/GtkClipboard.java: Reimplemented. + * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: New class. + * gnu/java/awt/peer/gtk/GtkSelection.java: New class. + * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(Pointer)): New + constructor. + (createFromPixbuf): New private native method. + * gnu/java/awt/peer/gtk/GtkToolkit.java (systemClipboard): Removed. + (getSystemClipboard): Do security check and return + GtkClipboard.getInstance(). + * include/Makefile.am: Add gnu_java_awt_peer_gtk_GtkSelection.h. + * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerated. + * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerated. + * include/gnu_java_awt_peer_gtk_GtkSelection.h: New header file. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: + Reimplemented. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): New + +2005-08-16 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (ActionListenerProxy): Replaced type TableAction with parent type + ActionListener to avoid Semantic errors. + +2005-08-16 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Fixed typo. + * javax/swing/plaf/basic/BasicTableUI.java: + (installKeyboardActions): Replaced calls to registerKeyboardAction with + additions to an explicit InputMap-ActionMap pair and then set this + pair as the parent pair to the JTable's. This matches the JDK where + the UI Input-Action pairs are the parents of the component's. + (ActionListenerProxy): New class. + +2005-08-16 Mark Wielaard + + * examples/gnu/classpath/examples/datatransfer/Demo.java: + Document and implement ItemListener and FlavorListener. + (flavors): New field. + (details): New field. + (Demo): Add more space, add the flavors panel and flavor listener. + (createTextPanel): Smaller and wider. + (createFlavorsPanel): New private method. + (flavorsChanged): New public method. + (itemStateChanged): Likewise. + (ImageComponent.ImageComponent): Smaller default. + (ObjectComponent.ObjectComponent): Make wider. + (FlavorsComponent): New static class. + (FlavorDetailsComponent): Likewise. + +2005-08-16 Lillian Angel + + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Changed font for PasswordField because textbox was + being drawn at an awkward height. + * javax/swing/text/PasswordView.java + (getPreferredSpan): Implemented + (modelToView): likewise. + (viewToModel): partially implemented. + +2005-08-16 Jeroen Frijters + + * java/awt/Component.java + (dispatchEventImpl): Always call peer.handleEvent(). + +2005-08-16 Jeroen Frijters + + * java/awt/Container.java + (addImpl, remove): Only repaint if the container is showing. + +2005-08-16 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty): Removed. + +2005-08-15 Dalibor Topic + + * native/jni/qt-peer/mainqtthread.cpp, + native/jni/qt-peer/qmatrix.cpp, + native/jni/qt-peer/qpainterpath.cpp, + native/jni/qt-peer/qpen.cpp, + native/jni/qt-peer/qtbuttonpeer.cpp, + native/jni/qt-peer/qtcanvaspeer.cpp, + native/jni/qt-peer/qtcheckboxpeer.cpp, + native/jni/qt-peer/qtchoicepeer.cpp, + native/jni/qt-peer/qtcomponentpeer.cpp, + native/jni/qt-peer/qtdialogpeer.cpp, + native/jni/qt-peer/qtfiledialogpeer.cpp, + native/jni/qt-peer/qtfontmetrics.cpp, + native/jni/qt-peer/qtfontpeer.cpp, + native/jni/qt-peer/qtframepeer.cpp, + native/jni/qt-peer/qtgraphics.cpp, + native/jni/qt-peer/qtimage.cpp, + native/jni/qt-peer/qtlabelpeer.cpp, + native/jni/qt-peer/qtlistpeer.cpp, + native/jni/qt-peer/qtmenubarpeer.cpp, + native/jni/qt-peer/qtmenucomponentpeer.cpp, + native/jni/qt-peer/qtmenuitempeer.cpp, + native/jni/qt-peer/qtmenupeer.cpp, + native/jni/qt-peer/qtpanelpeer.cpp, + native/jni/qt-peer/qtpopupmenupeer.cpp, + native/jni/qt-peer/qtscreendevice.cpp, + native/jni/qt-peer/qtscrollbarpeer.cpp, + native/jni/qt-peer/qtscrollpanepeer.cpp, + native/jni/qt-peer/qttextareapeer.cpp, + native/jni/qt-peer/qttextfieldpeer.cpp, + native/jni/qt-peer/qtvolatileimage.cpp, + native/jni/qt-peer/qtwindowpeer.cpp: + Include . + +2005-08-15 Lillian Angel + + * javax/swing/JPasswordField.java + (getText): Fixed the length of the string to retrieve. + +2005-08-15 Sven de Marothy + + * java/awt/TextComponent.java + (select): Fix typo. + +2005-08-15 Anthony Balkissoon + + * javax/swing/JComponent.java: + (processKeyEvent): Added functionality for processing key events in + non-focused components using the WHEN_ANCESTOR_OF_FOCUSED_COMPONENT + field. + * javax/swing/plaf/basic/BasicTableUI.java: + (installKeyboardActions): Changed key bindings to be registered as + WHEN_ANCESTOR_OF_FOCUSED_COMPONENT rather than as WHEN_FOCUSED. + (TableAction.actionPerformed): If the key action is anything besides + "start editing" then we stop editing if we are doing so. Repaint the + table at the end of this method. + +2005-08-15 Lillian Angel + + * javax/swing/JPasswordField.java + (echoCharIsSet): Fixed this to work according to API. + (getText): Implemented + (getText): Implemented + (getPassword): Implemented + (paramString): Implemented + +2005-08-15 Thomas Fitzsimmons + + * gnu/java/awt/ClasspathToolkit.java (nativeQueueEmpty): Remove + method. + (wakeNativeQueue): Likewise. + (iterateNativeQueue): Likewise. + * gnu/java/awt/peer/gtk/GtkToolkit.java (static): Start GTK main + thread. + (nativeQueueEmpty): Remove method. + (wakeNativeQueue): Likewise. + (iterateNativeQueue): Likewise. + (gtkMain): New method. + * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerate. + * java/awt/EventQueue.java: Remove references to ClasspathToolkit. + * java/awt/Frame.java (fireDummyEvent): Remove method. + Remove calls to fireDummyEvent. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c + (dispose): Don't wake up main thread. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove + single-thread code. + +2005-08-15 Lillian Angel + + * javax/swing/JTree.java + (expandPath): called fireTreeWillExpand and fireTreeExpanded + since it is not required that the calling class fires these + events. + (collapsePath): Likewise. + * javax/swing/plaf/basic/BasicTreeUI.java + (mouseClicked): Took out code that called fireTreeWillExpand/ + fireTreeWillCollapse and fireTreeExpanded/fireTreeCollapsed. + (keyPressed): Likewise. + +2005-08-15 Roman Kennke + + * java/awt/FlowLayout.java + (setAlignment): Removed check for illegal values. These values + are treated as LEFT alignment instead. + (layoutContainer): Treat unknown align values as LEFT in default + clause of if-else statement. + +2005-08-15 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove + method. + (postActionEvent): New method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: + Rename state_to_awt_mods cp_gtk_state_to_awt_mods. + * native/jni/gtk-peer/gtkpeer.h: Declare cp_gtk_state_to_awt_mods. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c + (clicked_cb): New function. + (connectSignals): Connect clicked_cb callback to "clicked" signal. + +2005-08-14 Casey Marshall + + * gnu/java/security/provider/DSAKeyPairGenerator.java + (initialize): set 'keysize' to 'modlen.' + (getDefaults): return 'true' for keysizes '768' and '1024.' + +2005-08-14 Thomas Fitzsimmons + + * lib/Makefile.am (JAVAC): Disable ecj warning output. + +2005-08-14 Sven de Marothy + + * gnu/java/awt/ClasspathToolkit.java + (getScreenSize, getColorModel, getFontMetrics, getImage, createImage, + createImageProducer, registerImageIOSpis): + Remove redundant (overloaded) methods. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (registerImageIOSpis): Move registration to static initializer. + * javax/imageio/spi/IIORegistry.java: + Remove call to Toolkit registration method. + +2005-08-13 Mark Wielaard + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): Make + field final. + +2005-08-14 Sven de Marothy + + * java/awt/Container.java + (addImpl): Call addNotify() only if the container has a peer. + +2005-08-13 Jeroen Frijters + + * java/io/ObjectInputStream.java + (readClassDescriptor): Don't cache caller's class loader. + (resolveClass): Don't cache caller's class loader and support + primitive types. Fixes bug #23377. + +2005-08-13 Mark Wielaard + + * scripts/check_jni_methods.sh: Set and check for PROBLEM. + +2005-08-13 Mark Wielaard + + * scripts/check_jni_methods.sh: Don't create temp files in source dir. + Don't override existing files. Fast fail on errors. + +2005-08-12 Aaron Luchko + + * vm/reference/gnu/classpath/jdwp/VMFrame.java(getValue): + Fix typo in comment. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeAllThreads): Use enumerate(Thread[]) instead of + enumerate(Thread[], true). + (runCommand): Throw NotImplementedException when command is not found. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (executeInvokeMethod): Change MethodInvoker to MethodResult. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/util/VariableTable.java: A class representing a + Variable Table for a method. + * gnu/classpath/jdwp/util/LineTable.java: A class representing a Line + Table for a method. + +2005-08-12 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (addMenu(Menu)): New + method. + * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addSeparator): Likewise. + * java/awt/peer/MenuBarPeer.java (addMenu): New method + declaration. + * java/awt/peer/MenuPeer.java (addSeparator): New method + declaration. + +2005-08-12 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): Get + frame insets directly from peer rather than from Window.getInsets. + (toString): New method. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/util/Location.java: New file to handle JDWP + locations. + +2005-08-12 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkButtonPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c + (gtkWidgetGetPreferredDimensions): New method. + * gnu/java/awt/peer/gtk/GtkLabelPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c + (gtkWidgetGetPreferredDimensions): New method. + * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerate. + * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: Likewise. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java + (JdwpInternalErrorException): Added new constructor. + * gnu/classpath/jdwp/util/Value.java + (getUntaggedObj): + Changed InvalidFieldException to JdwpInternalErrorException. + (writeUntaggedValue): Likewise. + (writeTaggedValue): Likewise. + (writeValue): Likewise. + +2005-08-12 Aaron Luchko + + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java: + Implemented the EventRequest CommandSet. + +2005-08-12 Anthony Balkissoon + + * javax/swing/JTable.java: + (setValueAt): Do nothing if isCellEditable returns false. + (editCelLAt): Removed the Key Listener for the JTextField. Listening + for ESCAPE should be handled by the JTable itself. Note, this is not + implemented yet. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added several keybindings to JTable's + ancestorInputMap. These are all implemented. + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler): Removed this class. Note that most of the code from the + keyPressed method now resides in the actionPerformed method of the + BasicTableUI.TableAction class. + (convertModifiers): New private method to convert from new InputEvent + modifier masks to the old style. + (installKeyboardActions): Implemented. Gets the key bindings from + the UIManager and registers them for the JTable. + (TableAction): New class. This is where the actions corresponding to + key presses resides. + (installListeners): Removed installation of KeyListener. + +2005-08-12 Aaron Luchko + + * vm/reference/standard.omit: New file to omit jdwp reference classes + from build. + +2005-08-12 Aaron Luchko + + * vm/reference/gnu/classpath/jdwp/VMFrame.java: Implemented reference + implementation of interface to VM for JDWP frame management. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: Updated + import. + (executeGetValues): Use VMFrame instead of Frame. + (executeSetValues): Use VMFrame instead of Frame. + (executeThisObject): Use VMFrame instead of Frame. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: + Updated import. + (executeFrames): Changed getLoc() to getLocation() and use + VMFrame instead of Frame. + +2005-08-12 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (getCellLocation): Added in a check to make sure the node has children. + Fixed loop to use post-increment. + (paintRecursive): Fixed loop to use post-increment. + (paintControlIcons): Likewise. + (getNextNode): Fixed check to make sure that node has children. + (getPreviousSibling): Added in check to make sure index is in correct + range. + +2005-08-12 Mark Wielaard + + * gnu/java/awt/peer/qt/QtButtonPeer.java: Replace uses of + toolkit.eventQueue.postEvent() with QtToolkit.eventQueue.postEvent(). + * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtChoicePeer.java: Likewise. + * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise and for + guiThread.QApplicationPointer and graphicsEnv.getScreenDevices(). + * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtMenuPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtScrollbarPeer.java: Likewise. + * gnu/java/security/PolicyFile.javai (refresh): Assign only outside + if statement. + +2005-08-12 Roman Kennke + + * javax/swing/text/GapContent.java + (insertString): Use replace() to actually insert content. + (remove): Use replace() to actually remove content. + (shiftGap): Repaired misplaced curly brace in if block of + boudary check. + (replace): Check for null argument for addItems. + +2005-08-12 Roman Kennke + + Reported by: Ingo Proetel + * java/net/URLClassLoader.java + (findClass): Added null check to avoid NullPointerException. + +2005-08-12 Roman Kennke + + Reported by: Ingo Proetel + * java/util/logging/Logger.java + This applies to a couple of log() methods: + (log): Added check if the specified level is actually enabled, + otherwise ignore logging request. + +2005-08-12 Lillian Angel + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + * (getMinimumDividerLocation): Fixed to work similar to + getMaximumDividerLocation. Was not able to move divider + in both directions before. + +2005-08-12 Roman Kennke + + * java/awt/Component.java + (reshape): Simplified repainting of parent. + (paint): Don't call peer.paint() here. The paint method is + exclusivly meant to be overridden by subclasses that wish to + perform custom painting and should do nothing by default. + (repaint): Use local variable in null pointer checks to avoid + NullPointerExceptions. + (imageUpdate): Slight formatting adjustments. + (dispatchEvent): Don't call peer.handleEvent() here, this must + be done in dispatchEventImpl(). + (dispatchEventImpl): Dispatch PAINT and UPDATE events to the + peer. + * java/awt/Container.java + (paint): Don't call super.paint() here, this method does nothing + anyway. Visit only lightweight children. + (update): Instead of clearing the background only for top-level + containers, clear the background for all heavyweight containers. + +2005-08-12 Thomas Fitzsimmons + + * examples/gnu/classpath/examples/jawt/DemoJAWT.c: New file. + * examples/gnu/classpath/examples/jawt/DemoJAWT.java: Likewise. + * examples/gnu/classpath/examples/jawt/Makefile: Likewise. + +2005-08-11 Mark Wielaard + + * examples/gnu/classpath/examples/datatransfer/Demo.java: + New example. + +2005-08-11 Tom Tromey + + For PR classpath/23008: + * gnu/java/nio/charset/UTF_16Decoder.java (decodeLoop): Correctly + mask bytes when constructing characters. + +2005-08-11 Mark Wielaard + + * native/jni/classpath/Makefile.am (EXTRA_DIST): Add classpath_jawt.h. + * include/gnu_java_awt_peer_qt_*: Removed. + +2005-08-11 Audrius Meskauskas + + * org/omg/PortableInterceptor/IORInfoOperations.java, + org/omg/PortableInterceptor/IORInterceptor.java, + org/omg/PortableInterceptor/IORInterceptorOperations.java, + org/omg/PortableInterceptor/IORInfo.java: New files. + +2005-08-11 Lillian Angel + + * javax/swing/JTable + (rowAtPoint): Added in a check for null. Was getting NPE. + (columnAtPoint): Likewise. + +2005-08-11 Lillian Angel + + * javax/swing/plaf/basic/BasicViewportUI.java + (paintSimple): Changed to paint the portBounds from (0,0). + +2005-08-11 Tom Tromey + + * java/awt/image/ConvolveOp.java (filter): Defer numBands check + until after null check. PR classpath/22999. + +2005-08-11 Tom Tromey + + * java/util/Observable.java (addObserver): Throw + NullPointerException if necessary. PR classpath/23279. + +2005-08-11 Sven de Marothy + + * gnu/java/awt/peer/qt/QtMenuComponentPeer.java, + gnu/java/awt/peer/qt/QtGraphics.java, + gnu/java/awt/peer/qt/QtTextFieldPeer.java, + gnu/java/awt/peer/qt/QtFramePeer.java, + gnu/java/awt/peer/qt/QtPanelPeer.java, + gnu/java/awt/peer/qt/QtToolkit.java, + gnu/java/awt/peer/qt/QtWindowPeer.java, + gnu/java/awt/peer/qt/QtButtonPeer.java, + gnu/java/awt/peer/qt/QtImageGraphics.java, + gnu/java/awt/peer/qt/QtContainerPeer.java, + gnu/java/awt/peer/qt/QtComponentPeer.java, + gnu/java/awt/peer/qt/QtListPeer.java, + gnu/java/awt/peer/qt/QtChoicePeer.java, + gnu/java/awt/peer/qt/QtScrollPanePeer.java, + gnu/java/awt/peer/qt/MainQtThread.java, + gnu/java/awt/peer/qt/QtImage.java, + gnu/java/awt/peer/qt/NativeWrapper.java, + gnu/java/awt/peer/qt/QtCheckboxPeer.java, + gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, + gnu/java/awt/peer/qt/QtTextAreaPeer.java, + gnu/java/awt/peer/qt/QtDialogPeer.java, + gnu/java/awt/peer/qt/QPen.java, + gnu/java/awt/peer/qt/QtCanvasPeer.java, + gnu/java/awt/peer/qt/QtLabelPeer.java, + gnu/java/awt/peer/qt/QtGraphicsEnvironment.java, + gnu/java/awt/peer/qt/QtImageConsumer.java, + gnu/java/awt/peer/qt/QtScrollbarPeer.java, + gnu/java/awt/peer/qt/QtFontMetrics.java, + gnu/java/awt/peer/qt/QtMenuBarPeer.java, + gnu/java/awt/peer/qt/QtFontPeer.java, + gnu/java/awt/peer/qt/QMatrix.java, + gnu/java/awt/peer/qt/QtVolatileImage.java, + gnu/java/awt/peer/qt/QPainterPath.java, + gnu/java/awt/peer/qt/QtComponentGraphics.java, + gnu/java/awt/peer/qt/QtScreenDevice.java, + gnu/java/awt/peer/qt/QtMenuPeer.java, + gnu/java/awt/peer/qt/QtAudioClip.java, + gnu/java/awt/peer/qt/QtPopupMenuPeer.java, + gnu/java/awt/peer/qt/QtFileDialogPeer.java, + gnu/java/awt/peer/qt/QtMenuItemPeer.java, + * native/jni/qt-peer/qpen.cpp, + native/jni/qt-peer/keybindings.cpp, + native/jni/qt-peer/qtcomponentpeer.cpp, + native/jni/qt-peer/buttonevent.h, + native/jni/qt-peer/qtdialogpeer.cpp, + native/jni/qt-peer/qtmenubarpeer.cpp, + native/jni/qt-peer/mainqtthread.cpp, + native/jni/qt-peer/qtpanelpeer.cpp, + native/jni/qt-peer/qmatrix.cpp, + native/jni/qt-peer/qtmenucomponentpeer.cpp, + native/jni/qt-peer/qtgraphics.cpp, + native/jni/qt-peer/qttoolkit.cpp, + native/jni/qt-peer/qtbuttonpeer.cpp, + native/jni/qt-peer/keybindings.h, + native/jni/qt-peer/qtvolatileimage.cpp, + native/jni/qt-peer/qtcomponent.h, + native/jni/qt-peer/slotcallbacks.cpp, + native/jni/qt-peer/qtpopupmenupeer.cpp, + native/jni/qt-peer/qtmenuitempeer.cpp, + native/jni/qt-peer/qtchoicepeer.cpp, + native/jni/qt-peer/nativewrapper.cpp, + native/jni/qt-peer/qtscreendevice.cpp, + native/jni/qt-peer/qtfontpeer.cpp, + native/jni/qt-peer/qpainterpath.cpp, + native/jni/qt-peer/qtstrings.h, + native/jni/qt-peer/qttextfieldpeer.cpp, + native/jni/qt-peer/qtimage.cpp, + native/jni/qt-peer/componentevent.h, + native/jni/qt-peer/qtwindowpeer.cpp, + native/jni/qt-peer/qtframepeer.cpp, + native/jni/qt-peer/qtscrollpanepeer.cpp, + native/jni/qt-peer/qtfontmetrics.cpp, + native/jni/qt-peer/qtlistpeer.cpp, + native/jni/qt-peer/mainthreadinterface.h + native/jni/qt-peer/slotcallbacks.h + native/jni/qt-peer/qtfiledialogpeer.cpp, + native/jni/qt-peer/eventmethods.cpp, + native/jni/qt-peer/qtimage.h, + native/jni/qt-peer/qtstrings.cpp, + native/jni/qt-peer/nativewrapper.h + native/jni/qt-peer/qtaudioclip.cpp, + native/jni/qt-peer/qtfont.h, + native/jni/qt-peer/qtscrollbarpeer.cpp, + native/jni/qt-peer/containers.h, + native/jni/qt-peer/qtcheckboxpeer.cpp, + native/jni/qt-peer/mainthreadinterface.cpp, + native/jni/qt-peer/componentevent.cpp, + native/jni/qt-peer/qttextareapeer.cpp, + native/jni/qt-peer/qtcomponent.cpp, + native/jni/qt-peer/qtmenupeer.cpp, + native/jni/qt-peer/qtlabelpeer.cpp, + native/jni/qt-peer/qtcanvaspeer.cpp, + native/jni/qt-peer/qtgraphics.h, + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, + include/gnu_java_awt_peer_qt_QtToolkit.h, + include/gnu_java_awt_peer_qt_QtAudioClip.h, + include/gnu_java_awt_peer_qt_QtScreenDevice.h, + include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, + include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, + include/gnu_java_awt_peer_qt_QtButtonPeer.h, + include/gnu_java_awt_peer_qt_QtWindowPeer.h, + include/gnu_java_awt_peer_qt_QtDialogPeer.h, + include/gnu_java_awt_peer_qt_QtImage.h, + include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, + include/gnu_java_awt_peer_qt_QtVolatileImage.h, + include/gnu_java_awt_peer_qt_QtFontPeer.h, + include/gnu_java_awt_peer_qt_QtChoicePeer.h, + include/gnu_java_awt_peer_qt_QtGraphics.h, + include/gnu_java_awt_peer_qt_QtComponentPeer.h, + include/gnu_java_awt_peer_qt_QtMenuPeer.h, + include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, + include/gnu_java_awt_peer_qt_QPen.h, + include/gnu_java_awt_peer_qt_QtPanelPeer.h, + include/gnu_java_awt_peer_qt_QPainterPath.h, + include/gnu_java_awt_peer_qt_QtFontMetrics.h, + include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, + include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, + include/gnu_java_awt_peer_qt_QMatrix.h, + include/gnu_java_awt_peer_qt_QtLabelPeer.h, + include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, + include/gnu_java_awt_peer_qt_QtFramePeer.h, + include/gnu_java_awt_peer_qt_QtListPeer.h, + include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, + include/gnu_java_awt_peer_qt_QtCanvasPeer.h, + include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, + include/gnu_java_awt_peer_qt_MainQtThread.h, + include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, + include/gnu_java_awt_peer_qt_QtContainerPeer.h: + New files. + +2005-08-11 Tom Tromey + + For PR classpath/23238: + * lib/gen-classlist.sh.in: Use @SHELL@; invoke split-for-gcj.sh + with it. + * configure.ac (SH): Removed subst. + +2005-08-11 Andrew Haley + + * lib/split-for-gcj.sh: Comment. + +2005-08-11 Lillian Angel + + * javax/swing/plaf/basic/BasicViewportUI.java + (paintSimple): This line was causing problems with the JTable viewport. + However, the scrollpane still needs to be fixed. It is still not + painting beyond the view's bounds. + +2005-08-10 Rainer Orth + + * lib/split-for-gcj.sh: Don't use unportable %{parameter%word}. + Don't use unportable !. + +2005-08-10 Tom Tromey + + * lib/gen-classlist.sh.in (GCJ): New subst. + Invoke split-for-gcj.sh if the results changed. + * lib/Makefile.am (CLEANFILES): Removed old entries. + (compile-classes): Don't run split-for-gcj.sh. + +2005-08-10 Aaron Luchko + + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: + Implemented the ThreadReference CommandSet. + +2005-08-10 Aaron Luchko + + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java: + Implemented the ClassType CommandSet. + * gnu/classpath/jdwp/util/MethodResult.java: Class to wrap + around results of method executions. + +2005-08-10 Tom Tromey + + For PR classpath/22580: + * lib/Makefile.am (compile-classes): Made conditional on + FOUND_GCJ. + (JAVAC): Redefined when FOUND_GCJ. + +2005-08-10 Tom Tromey + + * lib/Makefile.am (JAVAC): Use $(SHELL) to invoke + split-for-gcj.sh. For PR classpath/23238. + +2005-08-10 Tom Tromey + + * lib/split-for-gcj.sh: Use 'while' loop to avoid length limits. + +2005-08-10 Andreas Tobler + + * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Include + target_native_file.h. PR classpath/22926. + +2005-08-10 Lillian Angel + + * javax/swing/JTree.java + (doExpandParents): Took out call to checkExpandParents. + (checkExpandParents): Helper method not needed. Caused problems since + fireTreeWillExpand was being called too many times. fireTreeWillExpand + is called from BasicTreeUI whenever a node is expanded. + +2005-08-10 Audrius Meskauskas + + * org/omg/PortableInterceptor/Interceptor.java, + org/omg/PortableInterceptor/InterceptorOperations.java: New files. + * org/omg/DynamicAny/_DynAnyFactoryStub.java, + org/omg/DynamicAny/_DynAnyStub.java, + org/omg/DynamicAny/_DynArrayStub.java, + org/omg/DynamicAny/_DynEnumStub.java, + org/omg/DynamicAny/_DynFixedStub.java, + org/omg/DynamicAny/_DynStructStub.java, + org/omg/DynamicAny/_DynUnionStub.java, + org/omg/DynamicAny/_DynValueStub.java, + org/omg/DynamicAny/_DynSequenceStub.java: Added _opsClass field. + +2005-08-10 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + Formatted entire class. + +2005-08-10 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (mouseClicked): Called fireTreeWillExpand and fireTreeWillCollapse when + appropriate. + (keyPressed): Likewise. + +2005-08-10 Roman Kennke + + * java/awt/Container.java + (paint): Call visitChildren with lightweightOnly == true. + (update): Only call paint if we are not in a toplevel container. + +2005-08-09 Aaron Luchko + + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: + Implemented the StackFrame CommandSet. + +2005-08-09 Anthony Balkissoon + + * javax/swing/JTable.java: + (editingCancelled): Implemented. + (editCellAt): Added a KeyListener to our editor to listen for + the ESCAPE key and cancel editing upon receiving it. + +2005-08-09 Lillian Angel + + * javax/swing/JTable.java + (setRowHeight): Fixed condition on when to throw exception. + (setRowHeight): Parameters were mixed up. + +2005-08-09 Lillian Angel + + * javax/swing/plaf/basic/BasicLabelUI.java + (paint): Added in painting code for label border. + * javax/swing/plaf/basic/BasicTreeUI.java + (paintControlIcons): Fixed location for control icons. + * javax/swing/plaf/metal/MetalLookAndFeel.java: + Added defaults for selection and non-selection border for + tree cells. + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Set borders for node. Also, + made node transparent (not opaque), So JLabel draws icon, + text and border appropriately. + +2005-08-09 Lillian Angel + + * javax/swing/plaf/basic/BasicLabelUI.java + (paint): Added in code to paint background rect according to + API. Also, formatting changes. + * javax/swing/plaf/basic/BasicTreeUI.java + (setCellRenderer): Fixed to changed renderer in JTree. + (uninstallDefaults): Line taken out because not needed. + (paintNode): Took out unneeded code because BasicLabelUI was fixed. + (paintRecursive): Fixed so lines are only drawn when parents have + children. + +2005-08-09 Anthony Balkissoon + + * javax/swing/DefaultCellEditor.java: + (EditorDelegate.setValue): Implemented. + (EditorDelegate.getCellEditorValue): Implemented. + (EditorDelegate.isCellEditable): Implemented. + (EditorDelegate.shouldSelectCell): Implemented. + (EditorDelegate.stopCellEditing): Implemented. + (EditorDelegate.cancelCellEditing): Implemented. + (EditorDelegate.startCellEditing): Implemented. + (EditorDelegate.actionPerformed): Implemented. + (EditorDelegate.itemStateChanged): Implemented. + (EditorDelegate.fireEditingStopped): New implementation method. + (EditorDelegate.fireEditingCancelled): New implementation method. + (DefaultCellEditor): Implemented 3 constructors. + (getComponent): Implemented. + (getClickCountToStart): Implemented. + (setClickCountToStart): Implemented. + (getCellEditorValue): Implemented. + (isCellEditable): Implemented. + (shouldSelectCell): Implemented. + (cancelCellEditing): Implemented. + (getTableCellEditorComponent): Implemented. + * javax/swing/JTable.java: + (EditorUpdateTimer): New private class. + (editingStopped): Implemented. + (setValueAt): If the Object value is a Component, add it to the JTable + so it can obtain focus. + (editCellAt): Implemented. + (removeEditor): Implemented. + (prepareEditor): Implemented. + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Added F2 "start editing" key action. + (MouseHandler.mousePressed): Added check to see if a new cell was + selected and we need to stop editing. + (paint): If the cell is a JTextField, paint its Caret as well. + * javax/swing/table/DefaultTableCellRenderer.java: + (getTableCellRendererComponent): If a JTextField is passed in, return + one. This is used for editing JTable cells. + +2005-08-09 Aaron Luchko + + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java: + Implemented the ClassLoaderReference CommandSet. + +2005-08-09 Mark Wielaard + + * javax/swing/tree/DefaultTreeModel.java: Fix copyright + boilerplate formatting. + +2005-08-09 Lillian Angel + + * javax/swing/tree/DefaultTreeModel.java: + Fixed formatting of class. + +2005-08-09 Lillian Angel + + Fixes Bug #23255 + * javax/swing/plaf/basic/BasicTreeUI.java: + Fixed entire class to use Objects as opposed to TreeNodes. + (getPathBounds): Changed root to Object + (getPathForRow): Likewise. + (getRowCount): Likewise. + (getPreferredSize): Changed root and nextNode to be of type + Object. + (isLeaf): Took out unnecessary code. + (keyPressed): Changed all TreeNodes to be of type Object. + (getCellLocation): Likewise. + (paintNode): Likewise. + (paintRecursive): Likewise. + (getParent): Implemented. + (findNode): Helper Implemented. + (getNextVisibleNode): Changed return and parameter type to Object. + (getPreviousVisibleNode): Likewise. + (getNextNode): Likewise. + (getPreviousNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + (getPathToRoot): Likewise. + (getLevel): Likewise. + * javax/swing/tree/DefaultTreeModel.java + (getIndexOfChild): Implemented. + +2005-08-09 Audrius Meskauskas + + * org/omg/CORBA/package.html: Documentation update. + * org/omg/DynamicAny/package.html: New file. + +2005-08-08 Casey Marshall + + PR classpath/23120 + * gnu/java/security/provider/DSAKeyPairGenerator.java + (): made public; set default values. + (initialize): just call 'initialize(int,boolean,SecureRandom).' + (initialize): just call 'initialize(DSAParams,SecureRandom).' + (initialize): check all values for 'null' before overwriting. + (initialize): fill in defaults or generate new parameters here. + (generateKeyPair): don't create parameters; fill in 'random' if + 'null;' use 'random,' not a new Random object, when generating + random numbers. + (getDefaults): fix keysize check. + + PR classpath/22990 + * java/security/KeyPairGenerator.java (initialize): do nothing. + +2005-08-08 Tom Tromey + + PR classpath/23285: + * native/jni/classpath/classpath_jawt.h + (classpath_jawt_get_awt_version, classpath_jawt_lock, + classpath_jawt_unlock, classpath_jawt_create_lock, + classpath_jawt_destroy_lock): Use '(void)' in prototype. + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Added + gtk_jawt.c. + * native/jni/gtk-peer/gtk_jawt.c: New file from libgcj. + (classpath_jawt_create_lock, classpath_jawt_destroy_lock): Use + cp_gtk_gdk_env. + +2005-08-08 Audrius Meskauskas + + * org/omg/DynamicAny/FieldNameHelper.java: New file. + +2005-08-08 Audrius Meskauskas + + * org/omg/DynamicAny/_DynAnyFactoryStub.java, + org/omg/DynamicAny/_DynAnyStub.java, + org/omg/DynamicAny/_DynArrayStub.java, + org/omg/DynamicAny/_DynEnumStub.java, + org/omg/DynamicAny/_DynFixedStub.java, + org/omg/DynamicAny/_DynStructStub.java, + org/omg/DynamicAny/_DynUnionStub.java, + org/omg/DynamicAny/_DynValueStub.java, + org/omg/DynamicAny/_DynSequenceStub.java: New files. + +2005-08-08 Lillian Angel + + Fixes bug #23252 + * javax/swing/JTree.java + (setModel): Changed to allow model to be null. + * javax/swing/plaf/basic/BasicTreeUI.java + (setModel): Changed to depend on JTree functions + (getPathBounds): Fixed to work when model = null. + (getPathForRow): Likewise. + (getRowCount): Likewise. + (installListeners): Likewise. + (installUI): Likewise. + (paint): Likewise. + (getPreferredSize): Likewise. + +2005-08-08 Casey Marshall + + Fixes bug #22914 + * gnu/classpath/debug/Component.java (POLICY): new constant. + * gnu/java/security/PolicyFile.java (logger): new constant. + (DEBUG,debug,debug): removed. + (DEFAULT_POLICY): use 'SystemProperties' class to bypass security + check. + (DEFAULT_USER_POLICY): new constant. + (getPermissions): replace 'debug' calls with logger calls. + (refresh): add 'DEFAULT_USER_POLICY' to the initial list; + interpret 'java.security.policy' and 'policy.url' properties + properly; replace 'debug' calls with logger calls. + (parse): replace 'debug' calls with logger calls. + +2005-08-07 Casey Marshall + + * javax/security/auth/x500/X500Principal.java + (encodeDer): use the right iterator for the inner loop. + (parseString): test for end of input. + (readAttributeType): provide detail message for exception. + (readAttributeValue): return the result on end of input; + read the next character while looping. + (putComponent): accept 'o' and 'ou' short names. + +2005-08-07 Audrius Meskauskas + + * org/omg/DynamicAny/AnySeqHelper.java, + org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, + org/omg/DynamicAny/NameValuePairHelper.java, + org/omg/DynamicAny/NameDynAnyPairHelper.java, + org/omg/DynamicAny/NameValuePairSeqHelper.java, + org/omg/DynamicAny/DynAnySeqHelper.java, + gnu/CORBA/DynAnySeqHolder.java, + gnu/CORBA/NameDynAnyPairSeqHolder.java, + gnu/CORBA/NameDynAnyPairHolder.java, + gnu/CORBA/NameValuePairSeqHolder.java, + gnu/CORBA/NameValuePairHolder.java: New files. + +2005-08-07 Ito Kazumitsu + + Fixes bug #22929 + * java/net/NetworkInterface.java + (condense): New static private method. + (getNetworkInterfaces): Call condense(). + (getByName, getByInetAddress): Call getNetworkInterfaces() + so that condensed result may be returned. + * vm/reference/java/net/VMNetworkInterface.java (getInterfaces): + Clarify return value in documentation. + +2005-08-07 Mark Wielaard + + Fixes bug #22920 + * java/net/DatagramSocket.java (DatagramSocket(SocketAddress)): + Use gnu.classpath.SystemProperties to get impl.prefix. + +2005-08-03 Audrius Meskauskas + + * gnu/CORBA/CDR/noHeaderInput.java, + gnu/CORBA/gnuValueHolder.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/DynAn/gnuDynSequence.java, + gnu/CORBA/DynAn/gnuDynValueBox.java, + gnu/CORBA/DynAn/abstractRecord.java, + gnu/CORBA/DynAn/gnuDynAnyFactory.java, + gnu/CORBA/DynAn/gnuDynValue.java, + gnu/CORBA/DynAn/gnuDynStruct.java, + gnu/CORBA/DynAn/anyDivideable.java, + gnu/CORBA/DynAn/anyUndivideable.java, + gnu/CORBA/DynAn/gnuDynEnum.java, + gnu/CORBA/DynAn/abstractDynAny.java, + gnu/CORBA/DynAn/gnuDynFixed.java, + gnu/CORBA/DynAn/valueChangedListener.java, + gnu/CORBA/DynAn/gnuDynUnion.java: New files. + * org/omg/DynamicAny/DynUnionOperations.java, + org/omg/DynamicAny/DynAnyOperations.java, + org/omg/DynamicAny/DynAnyFactoryOperations.java, + org/omg/DynamicAny/DynValueBox.java, + org/omg/DynamicAny/DynValueCommon.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + gnu/CORBA/typeNamer.java, + gnu/CORBA/fixedTypeCode.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/holderFactory.java, + gnu/CORBA/universalHolder.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/gnuAny.java, + org/omg/CORBA/TypeCode.java + org/omg/CORBA/Any.java, + org/omg/CORBA/ORB.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/ObjectHolder.java, + org/omg/CORBA_2_3/portable/InputStream.java, + org/omg/CORBA_2_3/portable/OutputStream.java, + gnu/CORBA/DynAn/NameValuePairHolder.java: Rewritten. + +2005-08-06 Jeroen Frijters + + * java/io/ObjectInputStream.java + (readClassDescriptor): Removed bogus handling of primitive types. + (readFields.GetField.defaulted): Pass cause to exception. + (readFields.GetField.getField): Pass cause to exception. + (newObject, callReadMethod): Call initCause on exception. + +2005-08-06 Jeroen Frijters + + * java/lang/IllegalArgumentException.java, + java/lang/IllegalStateException.java, + java/lang/SecurityException.java, + java/lang/UnsupportedOperationException.java: Merged from generics + branch. + +2005-08-05 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java: + (getPathBounds): Changed to use TreeNode and not + DefaultMutableTreeNode. + (getPathForRow): Likewise. + (getRowCount): Likewise. + (getPreferredSize): Likewise. + (keyPressed): Likewise. + (paintNode): Likewise. + (getCellLocation): Likewise. + (paintRecursive): Likewise. + (paintControlIcons): Likewise. + (getNextVisibleNode): Likewise. + (getPreviousVisibleNode): Likewise. + (getNextNode): Implemented because not using DefaultMutableTreeNode. + (getPreviousNode): Implemented + (getNextSibling): Implemented + (getPreviousSibling): Implemented + (getPathToRoot): Implemented + (getLevel): Implemented + +2005-08-05 Mark Wielaard + + * java/awt/datatransfer/FlavorEvent.java: New class. + * java/awt/datatransfer/FlavorListener.java: Likewise. + * java/awt/datatransfer/Clipboard.java (name): Made final. + (listeners): New final ArrayList field. + (setContents): Reimplemented. + (getAvailableDataFlavors): New method. + (isDataFlavorAvailable): Likewise. + (getData): Likewise. + (addFlavorListener): Likewise. + (removeFlavorListener): Likewise. + (getFlavorListeners): Likewise. + * java/awt/datatransfer/DataFlavor.java (javaFileListFlavor): + Construct with mime media-type application/x-java-file-list. + (DataFlavor(String mimeType, String humanPresentableName)): Call + constructor that uses given mimeType. + (getSubType): Reimplemented. + (getParameter): Handle 'vitual' humanPresentableName parameter. + (isMimeTypeEqual): Reimplement. + (isRepresentationClassRemote): Implement. + (toString): Add formatting. + +2005-08-05 Lillian Angel + + * java/awt/GridBagLayout.java + (setConstraints): Removed checks in if statements because if the height + or width is less than 0, it should be updated to a positive number in + all cases. + +2005-08-05 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Include + jcl.h. + (createRawData): Removed unused variable method. + (getData): Removed unused variable field. + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c + (createRawData): Removed unused variable method. + (getData): Removed unused variable field. + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c + (createRawData): Removed unused variable method. + (getData): Removed unused variable field. + * native/jni/java-nio/java_nio_VMDirectByteBuffer.c + (Java_java_nio_VMDirectByteBuffer_init): Removed. + * vm/reference/java/nio/VMDirectByteBuffer.java (init): Removed. + * include/java_nio_VMDirectByteBuffer.h: Regenerated. + +2005-08-05 Roman Kennke + + * java/awt/Container.java: + (preferredSize): Call getLayout() instead of directly referencing + the private field. This makes components work that override + getLayout(). + (minimumSize): Call getLayout() instead of directly referencing + the private field. This makes components work that override + getLayout(). Use cached size if component is still valid. + (maximumSize): Call getLayout() instead of directly referencing + the private field. This makes components work that override + getLayout(). Use cached size if component is still valid. + (update): If we are a top-level-container, call super.update(), + otherwise directly call paint(). + (visitChildren): Also visit children that are itself Containers. + * java/awt/Component.java + (update): Clear the background only for lightweight and top-level + components. + +2005-08-05 Lillian Angel + + * javax/swing/plaf/basic/BasicGraphicsUtils.java + (getPreferredButtonSize): Added horizontalAdjustment to width + to create gap at end of label text. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredSize): Removed "*2" since fix was moved to + BasicGraphicsUtils + +2005-08-05 Roman Kennke + + * javax/swing/text/DefaultCaret.java: Added API comments all + over. + * javax/swing/text/DefaultEditorKit.java: Added API comments + all over. + +2005-08-05 Jeroen Frijters + + * java/io/ObjectInputStream.java + (read(byte[],int,int)): Simplified and fixed bug 23236. + +2005-08-04 Aaron Luchko + + * gnu/classpath/jdwp/processor/MethodCommandSet.java: Implemented + the Method CommandSet. + +2005-08-04 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredSize): Multiplied defaultTextIconGap by 2, + so there is equal space around the MenuItem + +2005-08-04 Lillian Angel + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintIcon): Added in border painting code for MenuItem + * javax/swing/plaf/metal/MetalLookAndFeel.java: + Added in default for CheckBox border + +2005-08-04 Roman Kennke + + * java/awt/BorderLayout.java: Reformatted this file to meet our + coding standards. + +2005-08-04 Roman Kennke + + * java/awt/BorderLayout.java + (layoutContainer): Replaced getSize() call with getWidth() and + getHeight(). This avoids heap allocation and fixes a bug in + an application here. + +2005-08-04 Lillian Angel + + * javax/swing/JCheckBox.java + (init): Moved these to ui + * javax/swing/plaf/basic/BasicCheckBoxUI.java + (installUI): initalized icons + * javax/swing/plaf/metal/MetalLookAndFeel.java: + Took out CheckBoxMenuItem defaults because did not + work as expected. For now it uses the BasicL&F's defaults. + +2005-08-04 Anthony Balkissoon + + * javax/swing/JList.java: + (getFirstVisibleIndex): Translate visible rectangle by one less pixel. + (getLastVisibleIndex): Likewise. + +2005-08-04 Lillian Angel + + * javax/swing/JCheckBox.java + (init): Initialized icons. Was not working otherwise. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Added in checkIcon for the CheckBox. + * javax/swing/plaf/metal/MetalLookAndFeel.java: + Added in checkIcon for CheckBox and defaults for + CheckBoxMenuItem. + +2005-08-03 Lillian Angel + + * javax/swing/JCheckBoxMenuItem.java + (installUI): set the items visible. Fixes exceptions that are + thrown because item is not explicitly set visible. + +2005-08-03 Roman Kennke + + * javax/swing/plaf/basic/BasicViewportUI.java + (paintSimple): Corrected the clip that is used to draw the + viewport's content. This fixes scrolling in JScrollPane and + JViewport. + +2005-08-03 Lillian Angel + + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Changed the fonts from Helvetica to Dialog. + +2005-08-03 Guilhem Lavaux + + * include/java_nio_VMDirectByteBuffer.h: + Regenerated. + + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c + (getData): Fixed function call. + + Reported by: Andreas Tobler + +2005-08-03 Lillian Angel + + * javax/swing/plaf/basic/BasicIconFactory.java: + (getMenuItemCheckIcon): Implemented so a check mark is drawn when + the item is selected. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + Modified the checkbox defaults + * javax/swing/plaf/basic/BasicMenuItemUI.java: + (paintMenuItem): Changed to only draw check when item is selected. + +2005-08-03 Roman Kennke + + * java/awt/FontMetrics.java + (charsWidth): Iterate to len + offset instead to len. + +2005-08-03 Guilhem Lavaux + + * native/jni/classpath/jcl.c + (JCL_NewRawDataObject): Fixed typo. + +2005-08-03 Guilhem Lavaux + + * gnu/classpath/Pointer.java, + gnu/classpath/Pointer32.java, + gnu/classpath/Pointer64.java, + gnu/classpath/RawData.java, + gnu/classpath/RawData32.java, + gnu/classpath/RawData64.java, + gnu/java/awt/peer/gtk/GtkImage.java, + gnu/java/nio/charset/iconv/IconvDecoder.java, + gnu/java/nio/charset/iconv/IconvEncoder.java, + java/nio/Buffer.java, + java/nio/DirectByteBufferImpl.java, + java/nio/MappedByteBufferImpl.java, + native/jni/classpath/jcl.c, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, + native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c, + native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, + native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, + native/jni/java-nio/java_nio_MappedByteBufferImpl.c, + native/jni/java-nio/java_nio_VMDirectByteBuffer.c, + vm/reference/java/nio/VMDirectByteBuffer.java: Renamed + references to gnu/classpath/RawData to gnu/classpath/Pointer. + +2005-08-03 Guilhem Lavaux + + * java-nio/gnu_java_nio_channels_FileChannelImpl.c + (mapImpl): Fixed typo. + +2005-08-03 Guilhem Lavaux + + * classpath/jcl.c + (JCl_NewRawDataObject): Added error handling. + + * classpath/jcl.h + (jpointer): New integer type to represent a pointer. + + * gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, + java-nio/gnu_java_nio_channels_FileChannelImpl.c, + java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, + java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, + java-nio/java_nio_MappedByteBufferImpl.c, + java-nio/java_nio_VMDirectByteBuffer.c, + xmlj/xmlj_util.c: Use JCL functions instead of directly + accessing gnu/classpath/RawData. + +2005-08-03 Roman Kennke + + * javax/swing/text/AttributeSet.java: Added some API comments + to class description. + * javax/swing/text/BadLocationException.java: Added / fixed + API comments all over. + * javax/swing/text/Caret.java: Added API comments all over. + +2005-08-02 Roman Kennke + + * java/awt/Component.java + (getBounds): Removed debug statements that accidentally slipped in. + +2005-08-02 Anthony Balkissoon + + * javax/swing/JTable.java: + (getCellRect): Height should be the row height, not the entire table + height. + (getRowHeight): New public method, part of API. + * javax/swing/JViewport.java: + (scrollRectToVisible): Fixed buggy scrolling conditions. + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Implemented PAGE-UP, PAGE-DOWN, CTRL-PAGE-UP, + and CTRL-PAGE-DOWN key actions. Also added line to scroll the table + appropriately after changing the selection. + (KeyHandler.getFirstVisibleColumnIndex): New implementation method. + (KeyHandler.getLastVisibleColumnIndex): Likewise. + (KeyHandler.getFirstVisibleRowIndex): Likewise. + (KeyHandler.getLastVisibleRowIndex): Likewise. + +2005-08-02 Roman Kennke + + * javax/swing/text/AbstractDocument.java + (AbstractElement.AbstractElement): Create an empty AttributeSet + if the argument s == null. + (AbstractElement.getAttribute): Return the element itself instead + of the wrapped attributes. + +2005-08-02 Roman Kennke + + * java/awt/Toolkit.java + (createCustomCursor): Added check for headless environment. + (getBestCursorSize): Added check for headless environment. + +2005-08-02 Lillian Angel + + * javax/swing/text/GapContent.java + (shiftGap): Changed to used '&&'. both indexes should be + greater than 0. + +2005-08-02 Lillian Angel + + * javax/swing/text/GapContent.java: + Formatting code. + +2005-08-02 Lillian Angel + + * javax/swing/text/GapContent.java + (shiftGap): Added in if statement to check if indexes are negative. + Does not work properly if they are. + +2005-08-02 Roman Kennke + + * javax/swing/plaf/basic/BasicTextUI.java + (RootView.viewToModel): New method. + * javax/swing/text/BoxView.java + (isBefore): New method. This is a stub method to implement the + new abstract method from CompositeView. + (isAfter): New method. This is a stub method to implement the + new abstract method from CompositeView. + (getViewAtPoint): New method. This is a stub method to implement the + new abstract method from CompositeView. + (childAllocation): New method. This is a stub method to implement the + new abstract method from CompositeView. + * javax/swing/text/ComponentView.java + (viewToModel): New method. This is a stub method to implement the + new abstract method from View. + * javax/swing/text/CompositeView.java + (loadChildren): Implemented new method. + (setParent): Implemented new method. + (getViewCount): Implemented new method. + (getView): Implemented new method. + (replace): Implemented new method. + (getChildAllocation): Implemented new method. + (modelToView(int, Shape, Position.Bias)): Implemented this method. + (modelToView(int, Position.Bias, int, Position.Bias, Shape): + Implemented new method. + (viewToModel): Implemented new method. + (getNextVisualPositionFrom): Implemented new method. + (getViewIndex): Implemented new method. + (isBefore): New abstract method. + (isAfter): New abstract method. + (getViewAtPoint): New abstract method. + (childAllocation): New abstract method. + (getViewAtPosition): Implemented new method. + (getViewIndexAtPosition): Implemented new method. + (getInsideAllocation): Implemented new method. + (setParagraphInsets): Implemented new method. + (setInsets): Implemented new method. + (getLeftInset): Implemented new method. + (getRightInset): Implemented new method. + (getTopInset): Implemented new method. + (getBottomInset): Implemented new method. + (getNextNorthSouthVisualPositionFrom): New method. + (getNextEastWestVisualPositionFrom): New method. + (flipEastAndWestAtEnds): Implemented new method. + * javax/swing/text/GlyphView.java + (viewToModel): New method. This is a stub method to implement the + new abstract method from View. + * javax/swing/text/IconView.java + (viewToModel): New method. This is a stub method to implement the + new abstract method from View. + * javax/swing/text/PlainView.java + (viewToModel): New method. This is a stub method to implement the + new abstract method from View. + * javax/swing/text/View.java + (viewToModel): New abstract method. + +2005-08-02 Audrius Meskauskas + + * org/omg/DynamicAny/DynValueCommon.java: Inherit from + DynValueOperations, DynAny, IDLEntity, org.omg.CORBA.Object, + Serializable. + * org/omg/DynamicAny/DynValueCommonOperations.java: Inherit from + DynAnyOperations. + * org/omg/DynamicAny/DynAnyHelper.java, + org/omg/DynamicAny/DynStructHelper.java, + org/omg/DynamicAny/DynUnionHelper.java, + org/omg/DynamicAny/DynValueHelper.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/DynArrayHelper.java, + org/omg/DynamicAny/DynEnumHelper.java, + org/omg/DynamicAny/DynFixedHelper.java, + org/omg/DynamicAny/DynSequenceHelper.java: New files. + +2005-08-01 Andreas Tobler + + * examples/README: Add GNULookAndFeel.java to the compile command. + +2005-08-01 Mark Wielaard + + * examples/gnu/classpath/examples/swing/Demo.java (mkTreeWorld): + Remove double declaration of int i. + +2005-08-01 Andreas Tobler + + * examples/gnu/classpath/examples/swing/Demo.java: Exit when + pressing 'Close' on the panel. + +2005-08-01 Andreas Tobler + + * configure.ac (LIBVERSION): Check against darwin to set module + 'no' for it. Modules under darwin are not linkable. + +2005-08-01 Roman Kennke + + * javax/swing/text/AttributeSet.java: Added API comments all over. + +2005-08-01 Roman Kennke + + * javax/swing/text/AbstractDocument.java: Added API comments all over. + +2005-08-01 Jeroen Frijters + + * java/lang/ClassLoader.java + (defineClass(String,byte[],int,int,ProtectionDomain), + resolveClass, findSystemClass, setSigners, findLoadedClass): + Added call to checkInitialized(). + (checkInitialized): New method. + +2005-08-01 Jeroen Frijters + + * NEWS: Added info about VM interfaces changes. + * java/lang/Class.java + (forName(String), forName(String, boolean, ClassLoader)): Simplified + VM interface. + * java/lang/ClassLoader.java + (loadedClasses): Removed field. + (defineClass(String,byte[],int,int,ProtectionDomain)): Removed + code to add class to loadedClasses. + * vm/reference/java/lang/VMClass.java + (forName(String)): Removed method. + (forName(String,boolean,ClassLoader)): New method. + (initialize): Removed method. + (loadArrayClass): Removed method. + * vm/reference/java/lang/VMClassLoader.java + (USE_VM_CACHE): Removed field. + (findLoadedClass): Made native. + +2005-08-01 Mark Wielaard + + Reported by Wolfgang Baer + * javax/swing/text/GapContent.java (shiftGap): Use new + CapContentPosition in binarySearch. + (shiftEnd): Likewise. + +2005-08-01 Mark Wielaard + + * doc/www.gnu.org/bugs.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add bugzilla entry. + * doc/www.gnu.org/events/events.wml: Correct Fosdem 2005 date. + * doc/www.gnu.org/include/layout.wml: Direct bug reports to bugs.html. + +2005-08-01 Jan Roehrich + + * javax.swing.plaf.basic.BasicTreeUI: Method drawCentered + added / corrected javadoc issues in paintHorizonalLine + and paintVerticalLine / fixed getRightChildIndent signature + (problem probably caused by copy/paste) + +2005-08-01 Jan Roehrich + + * javax.swing.plaf.basic.BasicTreeUI: paintVerticalLine and + paintHorizontalLine added. + +2005-07-31 Audrius Meskauskas + + org/omg/DynamicAny/DynValueOperations.java, + org/omg/DynamicAny/DynAnyFactory.java, + org/omg/DynamicAny/DynAnyFactoryOperations.java, + org/omg/DynamicAny/DynValue.java, + org/omg/DynamicAny/DynValueBox.java, + org/omg/DynamicAny/DynValueBoxOperations.java, + org/omg/DynamicAny/DynValueCommon.java, + org/omg/DynamicAny/DynValueCommonOperations.java: New files. + +2005-07-31 Audrius Meskauskas + + * org/omg/DynamicAny/DynFixedOperations.java, + org/omg/DynamicAny/DynEnum.java, + org/omg/DynamicAny/DynArrayOperations.java: Inherit from + DynAnyOperations. + * org/omg/DynamicAny/NameDynAnyPair.java: Inherit from + org.omg.CORBA.portable.IDLEntity. + * org/omg/DynamicAny/DynAnyOperations.java + (assign, current_component): Fixes in throws declaration. + * org/omg/DynamicAny/DynEnumOperations.java, + org/omg/DynamicAny/DynSequenceOperations.java, + org/omg/DynamicAny/DynStructOperations.java, + org/omg/DynamicAny/DynUnionOperations.java, + org/omg/DynamicAny/DynAny.java, + org/omg/DynamicAny/DynFixed.java, + org/omg/DynamicAny/DynSequence.java, + org/omg/DynamicAny/DynStruct.java, + org/omg/DynamicAny/DynUnion.java, + org/omg/DynamicAny/DynArray.java, + org/omg/DynamicAny/NameValuePair.java: Reformatted. + +2005-07-31 Mark Wielaard + + * gnu/java/nio/FileLockImpl.java: Mark class final. + (ch): Removed field. + (valid): New field. + (FileLockImpl): Set valid to true. + (isValid): Test and set valid field. + (release): Release lock if it is still valid. + * java/nio/channels/FileLock.java: Mark all fields private final. + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (Java_gnu_java_nio_channels_FileChannelImpl_lock): Translate + Long.MAX_VALUE to zero for fcntl. + (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Likewise. + +2005-07-31 Audrius Meskauskas + + * scripts/eclipse-gnu.xml: Drop extends, implements, + throws into new line. + +2005-07-31 Jan Roehrich + + * javax.swing.plaf.basic.BasicTreeUI: fixed indentation. + +2005-07-30 Casey Marshall + + * native/jni/java-nio/java_nio_MappedByteBuffer.c + (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): cast argument 3 + to 'mincore' to 'void *' to avoid warnings on GNU. + +2005-07-30 Casey Marshall + + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): + eliminate various compiler warnings; mark 'buffer' as 'volatile;' + throw an exception if we can't get a constructor method ID. + * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: + include 'stdlib.h.' + (get_raw_values): eliminate compiler warnings. + (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): likewise. + * native/jni/java-nio/java_nio_VMDirectByteBuffer.c + (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2I_3BII): + eliminate compiler warning. + +2005-07-29 Roman Kennke + + * javax/swing/text/StyledEditorKit.java: Added the remaining API + comments. + +2005-07-29 Lillian Angel + + * javax/swing/MenuSelectionManager.java + (isComponentPartOfCurrentMenu): Fixed to prevent NPE. + * javax/swing/plaf/basic/BasicMenuUI.java + (popupVisible): Likewise. + +2005-07-29 David Gilbert + + * java/awt/event/MouseWheelEvent.java: fixed typo in API docs. + +2005-07-29 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java: Added + comments all over. + * javax/swing/text/StyledEditorKit: Likewise. + +2005-07-29 Lillian Angel + + * javax/swing/JTextField.java + (insertString): Added in check for null to resolve a NPE. + * javax/swing/text/GapContent.java + (getOffset): Added in check for mark = gapStart because + if mark = gapStart = 0, then a negative is returned. This was + not right. + +2005-07-29 Roman Kennke + + * javax/swing/plaf/basic/BasicEditorPaneUI.java: Added API + comments all over. + * javax/swing/plaf/basic/BasicTextUI.java: Likewise. + +2005-07-29 Roman Kennke + + * javax/swing/text/DefaultStyledDocument.java + (split): Moved throw statement into proper else clause. + * javax/swing/text/StyledEditorKit.java + (StyledViewFactory.create): Return the actual view instead of null. + +2005-07-29 Roman Kennke + + * javax/swing/JTextPane.java: Added API comments all over. + +2005-07-29 Roman Kennke + + * javax/swing/JTextPane.java + (constructor()): Implemented this constructor. Initialize the + EditorKit and set the Document to null. + (constructor(StyledDocument)): Implemented this constructor. + Initialize the EditorKit and Document. + (getUIClassID): Inlined the constant String. + (setDocument): Implemented this method. + (getStyledDocument): Likewise. + (setStyledDocument): Likewise. + (replaceSelection): Likewise. + (insertComponent): Clarified the TODO comment. + (insertIcon): Clarified the TODO comment. + (addStyle): Implemented this method. + (removeStyle): Likewise. + (getStyle): Likewise. + (getLogicalStyle): Likewise. + (setLogicalStyle): Likewise. + (getCharacterAttributes): Likewise. + (setCharacterAttributes): Likewise. + (getParagraphAttributes): Likewise. + (getInputAttributes): Likewise. + (getStyledEditorKit): Likewise. + (createDefaultEditorKit): Likewise. + (setEditorKit): Likewise. + * javax/swing/plaf/basic/BasicEditorPaneUI.java + (getEditorKit): Implemented this method. + * javax/swing/plaf/basic/BasicTextUI.java + (RootView.getViewFactory): Ask the installed EditorKit for its + ViewFactory. + (RootView.setView): Set this as the parent of the installed real + root view. + (RootView.modelToView): Don't cast to PlainView here. Use View + instead. + (setView): Don't set the parent here. This is handled inside the + root view. + +2005-07-29 Roman Kennke + + * javax/swing/text/AbstractDocument.java + (createPosition): Delegate this call to the actual Content. + (LeafElement.constructor): Manage the start and end marks via + Position objects. + (LeafElement.getEndOffset): Use Position instead of static mark. + (LeafElement.getStartOffset): Use Position instead of static mark. + * javax/swing/text/DefaultStyledDocument.java + (ElementBuffer.change): New method. Performs structural changes + in the element tree that are necessary in order to change + text attributes. + (ElementBuffer.changeUpdate): New method. This is the method for + change(). + (ElementBuffer.split): New package-private method. Splits an + element into two elements. + (setCharacterAttributes): Implemented this method. This sets + character attributes on a piece of content. + * javax/swing/text/GapContent.java + (GapContentPosition): New inner class. Implements the Position + interface for GapContent. + (constructor): Initialize the list that stores the Position objects. + (createPosition): Reimplemented. Now uses the GapContentPosition + class. + (shiftEnd): Update the stored positions. + (shiftGap): Update the stored positions. + * javax/swing/text/LabelView.java: New class. + * javax/swing/text/PlainDocument.java + (removeUpdate): Don't update the element positions, this should + now be handled by the Positions. + +2005-07-29 Roman Kennke + + * javax/swing/text/BoxView.java: New class. + * javax/swing/text/CompositeView.java: New class. + * javax/swing/text/FlowView.java: New class. + * javax/swing/text/GlyphView.java: New class. + * javax/swing/text/IconView.java: New class. + * javax/swing/text/ParagraphView.java: New class. + * javax/swing/text/StyledEditorKit.java + (UnderLineAction.constructor): Added TODO comment. + (UnderLineAction.actionPerformed): Implemented this method. This + toggles the underline attribute to a piece of content. + (ItalicAction.constructor): Added TODO comment. + (ItalicAction.actionPerformed): Implemented this method. This + toggles the italic attribute to a piece of content. + (BoldAction.constructor): Added TODO comment. + (BoldAction.actionPerformed): Implemented this method. This + toggles the bold attribute to a piece of content. + (AlignmentAction.constructor): Implemented this constructor. + (AlignmentAction.actionPerformed): Implemented this method. This + sets the alignment attribute for a piece of content. + (ForegroundAction.constructor): Implemented this constructor. + (ForegroundAction.actionPerformed): Implemented this method. This + sets the foreground attribute for a piece of content. + (FontSizeAction.constructor): Implemented this constructor. + (FontSizeAction.actionPerformed): Implemented this method. This + sets the font size attribute for a piece of content. + (FontFamilyAction.constructor): Implemented this constructor. + (FontFamilyAction.actionPerformed): Implemented this method. This + sets the font family attribute for a piece of content. + (StyledTextAction.constructor): Removed TODO comment. + (StyledTextAction.getEditor): Implemented this method. + (StyledTextAction.getStyledDocument): Implemented this method. + (StyledTextAction.getStyledEditorKit): Implemented this method. + (StyledTextAction.setCharacterAttributes): Implemented this method. + (StyledTextAction.setParagraphAttributes): Implemented this method. + (StyledViewFactory.constructor): Removed. This is not necessary here. + (StyledViewFactory.create): Implemented this method. + (AttributeTracker): Removed this inner class. + (CaretTracker): New inner class. + (CaretTracker.caretUpdate): Implemented this method. This meeps + track of the caret in a text component and updates some fields + of the StyledEditorKit. + (constructor): Implemented this constructor. + The inputAttributes are initialized here. + (clone): Implemented this method. + (getActions): Implemented this method. + (getInputAttributes): Implemented this method. + (getCharacterAttributeRun): Implemented this method. + (createDefaultDocument): Implemented this method. + (install): Implemented this method. + (deinstall): Implemented this method. + (getViewFactory): Implemented this method. + (createInputAttributes): Implemented this method. + * javax/swing/text/View.java + (modelToView(int, Shape, Position.Bias)): Added new abstract method. + (modelToView(int, Position.Bias, int, Position.Bias, Shape): + New method. + +2005-07-28 Anthony Balkissoon + + * javax/swing/JViewport.java: + (scrollRectToVisible): Consider the x and y position of the viewport + itself when scrolling down. This fixes an off-by-1-pixel problem. + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler.keyPressed): Implemented PAGEUP, SHIFT-PAGEUP, PAGEDOWN, + and SHIFT-PAGEDOWN key actions. + +2005-07-28 Lillian Angel + + * java/awt/GridBagLayout.java + (distributeSizeAndWeight): added in check, because OutOfBounds exception + was being raised. + * javax/swing/JTable.java + (setRowHeight): Added in, but not implemented. + * javax/swing/plaf/basic/BasicComboBoxEditor.java + (setItem): added in check, because NullPointerException was being + raised. + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathBounds): Took out unneeded call. + (uninstallListeners): added in check, because NPE was being raised. + (installUI): took out unneeded call. + (paint): Likewise. + (getPreferredSize): Should not assume root is an instance of Default + MutableTreeNode. Changed to use TreeNode instead. + (getCellBounds): Should never return null + (getCellLocation): Took out unneeded call. + +2005-07-28 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler.keyPressed): Replaced calls to KeyEvent.isShiftDown() and + isControlDown() with comparisons of KeyEvent.getModifiers() and + InputEvent.SHIFT_MASK and CTRL_MASK. + (MouseInputHandler.mouseClicked): Reordered SHIFT and CTRL modifier + actions to correspond to JDK. Note the JDK simply ignores other + modifiers so isShiftDown() and isControlDown() are okay for mouse + input. + +2005-07-27 Audrius Meskauskas + + * org/omg/DynamicAny/DynUnion.java, + org/omg/DynamicAny/DynUnionOperations.java, + org/omg/DynamicAny/NameDynAnyPair.java, + org/omg/DynamicAny/NameValuePair.java, + org/omg/DynamicAny/DynAny.java, + org/omg/DynamicAny/DynAnyOperations.java, + org/omg/DynamicAny/DynArray.java, + org/omg/DynamicAny/DynArrayOperations.java, + org/omg/DynamicAny/DynEnum.java, + org/omg/DynamicAny/DynEnumOperations.java, + org/omg/DynamicAny/DynFixed.java, + org/omg/DynamicAny/DynFixedOperations.java, + org/omg/DynamicAny/DynSequence.java, + org/omg/DynamicAny/DynSequenceOperations.java, + org/omg/DynamicAny/DynStructOperations.java, + org/omg/DynamicAny/DynStruct.java: New files. + +2005-07-28 Anthony Balkissoon + + * javax/swing/JViewport.java: + (scrollRectToVisible): New method, overrides JComponent method as + intended. + +2005-07-28 Christian Thalinger + + * native/jni/java-nio/java_nio_MappedByteBufferImpl.c + (get_raw_values): Add env to getObjectClass call for 64-bit case. + +2005-07-28 David Gilbert + + * java/text/AttributedStringIterator.java: reformatted. + +2005-07-27 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler.keyPressed): Ensure the new lead selection index is visible + after making a change. + (MouseInputHandler.mouseClicked): Likewise. + +2005-07-27 Aaron Luchko + + * gnu/classpath/jdwp/util/PacketProcessor.java: Implement + PrivilegedAction to allow privilaged operations. + +2005-07-27 Mark Wielaard + + * doc/www.gnu.org/events/events.wml: Add old and upcomming events. + +2005-07-27 Aaron Luchko + + * gnu/classpath/jdwp/util/Value.java: Class to read/write JDWP + untagged values and tagged values. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java: + use new api for Values and IVirtualMachine and fix message in + exception. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java: + use new api for Values and fix message in exception. + +2005-07-27 Audrius Meskauskas + + * org/omg/PortableServer/POAHelper.java (type, insert, extract, + id, read, write): New methods. + +2005-07-27 David Gilbert + + * java/text/AttributedString.java: added/edited API docs. + +2005-07-27 David Gilbert + + * java/text/AttributedString.java: reformatted. + +2005-07-27 Roman Kennke + + * javax/swing/JTextPane.java: + Reformatted file to match our coding style. + +2005-07-27 Roman Kennke + + * javax/swing/JTextPane.java + (getCharacterAttributes): Return SimpleAttributeSet.EMPTY instead + of null. + +2005-07-27 Roman Kennke + + * javax/swing/plaf/basic/BasicPanelUI.java + (installDefaults): Install background color on JPanel. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added background color for Panel. + +2005-07-27 David Gilbert + + * java/text/AttributedCharacterIterator.java: API doc fixes. + +2005-07-27 David Gilbert + + * javax/swing/text/html/parser/DocumentParser.java: reverted API fix. + +2005-07-27 Roman Kennke + + * javax/swing/DefaultBoundedRangeModel.java: + Fixed / added API comments for class description. + * javax/swing/DefaultButtonModel.java: Likewise. + * javax/swing/DefaultCellEditor.java: Likewise. + * javax/swing/DefaultComboBoxModel.java: Likewise. + * javax/swing/DefaultDesktopManager.java: Likewise. + * javax/swing/DefaultButtonModel.java: Likewise. + * javax/swing/DefaultFocusManager.java: Likewise. + * javax/swing/DefaultListCellRenderer.java: Likewise. + * javax/swing/DefaultListModel.java: Likewise. + * javax/swing/DefaultListSelectionModel.java: Likewise. + * javax/swing/DefaultSingleSelectionModel.java: Likewise. + * javax/swing/FocusManager.java: Likewise. + * javax/swing/GrayFilter.java: Likewise. + * javax/swing/ImageIcon.java: Likewise. + * javax/swing/InputMap.java: Likewise. + * javax/swing/InputVerifier.java: Likewise. + * javax/swing/InternalFrameFocusTraversalPolicy.java: Likewise. + * javax/swing/JApplet.java: Likewise. + * javax/swing/JCheckBox.java: Likewise. + * javax/swing/JCheckBoxMenuItem.java: Likewise. + * javax/swing/JColorChooser.java: Likewise. + * javax/swing/JComboBox.java: Likewise. + * javax/swing/JComponent.java: Likewise. + +2005-07-27 Roman Kennke + + * java/util/Properties.java + (getPropertyInternal): Removed. + (getProperty(String)): Search for property here instead of + getProperty(String, String). + (getProperty(String,String)): Call getProperty(String). + +2005-07-27 Roman Kennke + + * java/awt/MenuItem.java + (AccessibleAWTMenuItem.setCurrentAccessibleValue): Removed + duplicate code. Added this to make setEnabled unambiguous for + javac 1.3 compiler. + +2005-07-27 David Gilbert + + * javax/swing/text/html/parser/DocumentParser.java: API doc fixes, + * javax/swing/text/html/parser/DTD.java: likewise, + * javax/swing/text/html/parser/DTDConstants.java: likewise, + * javax/swing/text/html/parser/Element.java: likewise, + * javax/swing/text/html/parser/Parser.java: likewise, + * javax/swing/text/html/parser/ParserDelegator.java: likewise. + +2005-07-27 David Gilbert + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added menu-related defaults. + +2005-07-26 Aaron Luchko + + * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java: + Implemented the ArrayReference CommandSet. + +2005-07-26 Aaron Luchko + + * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java: + Implemented the ThreadGroupReference CommandSet. + +2005-07-26 Tom Tromey + + PR classpath/22989: + * java/net/Inet4Address.java (isMCNodeLocal): Use super call. + (isMCOrgLocal): Likewise. + +2005-07-26 Tom Tromey + + * gnu/java/security/provider/PKIXCertPathValidatorImpl.java + (engineValidate): Fix sense of test. PR classpath/22991. + +2005-07-26 Tom Tromey + + PR classpath/22992: + * javax/security/sasl/Sasl.java (getSaslClientFactories): Fix + sense of test. + (getSaslServerFactories): Likewise. + +2005-07-26 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): Make + daemon thread. + + * gnu/java/awt/peer/gtk/GdkGraphics.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Add + static initializer. + (initStaticState): New method. + Add new global graphics reference state table and macros. + * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Use new + NSA_GET_G_PTR macro to retreive graphics objects. + * native/jni/gtk-peer/gtkpeer.h: Add new graphics state table and + macros. + +2005-07-26 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Replaced calls to KeyEvent.isShiftDown() and + isControlDown() with mask comparisons of KeyEvent.getModifiers() and + InputEvent.SHIFT_MASK and CTRL_MASK. This makes it easier to ignore + invalid modifiers. + +2005-07-26 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Implemented CTRL-SPACE key action. + +2005-07-26 Tom Tromey + + * java/security/cert/X509CertSelector.java (match): Convert sigId + to String before comparison. PR classpath/22987. + +2005-07-26 Tom Tromey + + * gnu/java/security/OID.java: Typo fix. + +2005-07-26 Tom Tromey + + * javax/security/auth/x500/X500Principal.java (getName): Don't + compare oid to String. PR classpath/22988. + +2005-07-26 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaint): Reuse + repaint timer across repaint calls. + +2005-07-26 Roman Kennke + + * javax/swing/AbstractAction.java + Fixed / Added API doc comments for the class description. + * javax/swing/AbstractButton.java: Likewise. + * javax/swing/AbstractCellEditor.java: Likewise. + * javax/swing/AbstractListModel.java: Likewise. + * javax/swing/AbstractSpinnerModel.java: Likewise. + * javax/swing/ActionMap.java: Likewise. + * javax/swing/BorderFactory.java: Likewise. + * javax/swing/Box.java: Likewise. + * javax/swing/BoxLayout.java: Likewise. + * javax/swing/ButtonGroup.java: Likewise. + * javax/swing/CellRendererPane.java: Likewise. + * javax/swing/ComponentInputMap.java: Likewise. + * javax/swing/DebugGraphics.java: Likewise. + +2005-07-26 Mark Wielaard + + * java/text/DateFormat.java (equals): Reimplement. + +2005-07-26 Roman Kennke + + * javax/swing/plaf/basic/BasicButtonUI.java + (paint): Only call paintFocus if the button is actually focused. + (paintFocus): The default implementation in the BasicLookAndFeel + does nothing. I removed the code here. + +2005-07-26 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added new borders for MenuBar and MenuItem. + +2005-07-26 Roman Kennke + + * java/util/Properties.java + (getPropertyInternal): New method. Avoids infinite recursion if + getProperty() methods are overridden in subclasses. + (getProperty(String)): Use getPropertyInternal to avoid recursion. + (getProperty(String,String)): Likewise. + +2005-07-26 Mark Wielaard + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (getPreferredSize): Removed. + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (getPreferredSize): Removed. + * javax/swing/plaf/basic/BasicToolBarUI.java + (getPreferredSize): Removed. + +2005-07-26 Roman Kennke + + * gnu/java/awt/AWTUtilities.java: + Fixed formatting of this file. + +2005-07-26 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java: + (MenuBarBorder): new inner class. + +2005-07-26 David Gilbert + + * javax/swing/plaf/metal/MetalBorders.java: + (MenuItemBorder): new inner class. + +2005-07-26 Mark Wielaard + + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (Java_gnu_java_nio_channels_FileChannelImpl_init): Mark clazz as + unused. Remove unused variables constructor and obj. + (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel): Retry + when interrupted. + (Java_gnu_java_nio_channels_FileChannelImpl_available): Likewise. + +2005-07-26 Mark Wielaard + + * gnu/java/nio/channels/FileChannelImpl.java (lockCheck): New method. + (tryLock): Use lockCheck(). + (lock): Likewise. + +2005-07-26 Christian Thalinger + + * native/target/generic/target_generic_network.h + (TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT): Added + missing sys/time.h include. + +2005-07-26 Mark Wielaard + + * gnu/java/nio/channels/FileChannelImpl.java (description): + New final field. + (FileChannelImpl): Set description. + (init): Likewise. + (toString): New method. + All methods add parameters when throwing IllegalArgumentException. + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (open): Add filename to FileNotFoundException. + +2005-07-26 Jeroen Frijters + + * NEWS: Added comment about new VMProxy class. + * gnu/classpath/Configuration.java.in + (HAVE_NATIVE_GET_PROXY_CLASS): Removed. + (HAVE_NATIVE_GET_PROXY_DATA): Removed. + (HAVE_NATIVE_GENERATE_PROXY_CLASS): Removed. + * java/lang/reflect/Proxy.java + (getProxyClass): Changed to call VMProxy. + (getProxyClass0): Removed. + (getProxyData0): Removed. + (generateProxyClass0): Removed. + (ProxyData): Removed private modifier. + (POOL): Removed (was unused). + (INVOKESTATIC): Removed (was unused). + * vm/reference/java/lang/reflect/VMProxy.java: New file. + +2005-07-26 Jeroen Frijters + + * NEWS: Added comment about new VM hook in VMClassLoader. + +2005-07-26 David Gilbert + + * javax/swing/text/DateFormatter.java: API doc fixes, + * javax/swing/text/InternationalFormatter.java: likewise, + * javax/swing/text/JTextComponent.java: likewise. + +2005-07-26 Mark Wielaard + + * examples/Makefile.am (clean-local): Use rm -rf. + +2005-07-26 Jeroen Frijters + + * vm/reference/java/lang/VMClassLoader.java + (USE_VM_CACHE): Removed final modifier. + +2005-07-25 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaint): Implement + timed repaint. + (updateCursorImmediately): Implement. + (RepaintTimerTask): New class. + * gnu/java/awt/peer/gtk/GtkImageConsumer.java (imageComplete): + Don't remove consumer if source is a MemoryImageSource. + +2005-07-25 Archie Cobbs + + * native/jni/classpath/native_state.c: add assertion for object type + +2005-07-25 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.advanceSingleSelection): New method. Helper method for + ENTER, SHIFT-ENTER, TAB, and SHIFT-TAB key events. + (KeyHandler.advanceMultipleSelection): Likewise, used when the table + has multiple selections at the time that ENTER or TAB was pressed. + (KeyHandler.keyPressed): Implemented TAB, SHIFT-TAB, and SHIFT-ENTER + and merged these with existing code for ENTER event, because of the + similarites. + +2005-07-25 Tom Tromey + + * java/text/CollationKey.java (equals): Use Arrays.equals. + PR classpath/22986. + +2005-07-25 Tom Tromey + + * java/util/Properties.java (load): Handle case where backslash + appears at EOF when reading the key. PR classpath/22994. + +2005-07-25 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): moved code to paintNode + (getCellBounds): width increased, slightly short before + (paintNode): changed to paint node depending if icons exist + +2005-07-25 Guilhem Lavaux + + * native/jni/classpath/jcl.c, + native/jni/classpath/jcl.h + (JCL_NewRawDataObject): New function. + (JCL_GetRawData): New function. + +2005-07-25 Anthony Balkissoon + + * java/awt/Container.java: + (setFocusTraversalKeys): Instantiate focusTraversalKeys to an array of + size 4, not 3. This must have been a typo. + +2005-07-25 Jeroen Frijters + + * java/rmi/server/RMIClassLoader.java + (loadClass(String, String)): Use Class.forName() instead of + directly calling ClassLoader.loadClass(), to handle array + types correctly. + +2005-07-25 Anthony Balkissoon + + * javax/swing/JTable.java: + (selectAll): Store the lead selection indices and restore them after + selecting all cells. + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Changed the criteria for "only one selection" + when the ENTER key is pressed to match the behavior of the JDK. Also + replaced direct code for CTRL-A with call to JTable.selectAll(). + +2005-07-25 Jeroen Frijters + + * java/lang/ClassLoader.java + (loadedClasses): Set based on VMClassLoader.VM_USE_CACHE. + (defineClass): Modified to respect VMClassLoader.VM_USE_CACHE. + * vm/reference/java/lang/VMClassLoader.java + (VM_USE_CACHE): New field. + +2005-07-25 Roman Kennke + + * gnu/java/awt/AWTUtilities.java: + Added methods from SwingUtilities so that AWT does not have to + depend on Swing. + * java/awt/Component.java: + Reverted my DEFAULT_FONT patch from yesterday. This does not + seem to work with the Gtk peers. + * java/awt/Container.java + (addImpl): Call addNotify() on the added child. Invalidate not + only the container but also the added child. Repaint the container. + (remove): Repaint the container. + (invalidate): Also invalidate the LayoutManager. + (invalidateTree): Call super.invalidate to invalidate the container + itself. Also invalidate the LayoutManager. + (setFont): Only set the font if the specified argument actually + differs from the current font. + (preferredSize): Optimized this method so the LayoutManager is only + called if the layout is invalid. Otherwise we return the preferred + size that has been stored during last validation/layout. + (getAlignmentX): Despite common belief, this method does _not_ + call the LayoutManagers getAlignmentX in the JDK. So we also don't. + (getAlignmentY): Despite common belief, this method does _not_ + call the LayoutManagers getAlignmentX in the JDK. So we also don't. + (dispatchEventImpl): Let the dispatcher decide if it is enabled + for the incoming event type. + (eventTypeEnabled): Enables only container events for containers. + (addNotifyContainerChildren): Coalesced two if statements into one. + Enable events on the dispatcher for this container. + (LightweightDispatcher): Made this class reentrant. Handle + events enabling/disabling here. + +2005-07-25 Roman Kennke + + * gnu/java/nio/channels/FileChannelImpl.java + (static initializer): Init out, err and in here. + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (Java_gnu_java_nio_channels_FileChannelImpl_init): Moved init code + for in, out and err to Java code. + +2005-07-25 Mark Wielaard + + * doc/www.gnu.org/faq.wml: Expand contribution assign answer. + +2005-07-25 David Gilbert + + * java/awt/image/ConvolveOp.java: + (getKernel): return a clone of the kernel. + +2005-07-25 Jeroen Frijters + + * java/lang/ClassLoader.java + (findLoadedClass): Call VMClassLoader.findLoadedClass. + * vm/reference/java/lang/VMClassLoader.java + (findLoadedClass): New method. + +2005-07-23 Mark Wielaard + + * lib/standard.omit: Don't omit gnu/javax/swing/plaf/gtk files. + * lib/Makefile.am (dist-hook): Don't remove standard.omit dirs. + + * gnu/javax/swing/plaf/gtk/GtkBorders.java: Removed. + * gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java: Likewise. + * gnu/javax/swing/plaf/gtk/GtkIconFactory.java: Likewise. + * gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java: Likewise. + * gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java: Likewise. + * gnu/javax/swing/plaf/gtk/GtkSliderUI.java: Likewise. + * gnu/javax/swing/plaf/gtk/README: Likewise. + * gnu/javax/swing/plaf/gtk/SliderTest.java: Likewise. + +2003-07-23 Casey Marshall + + * configure.ac (AC_CHECK_HEADERS): add 'sys/mman.h'. + (AC_CHECK_FUNCS): add mmap and related functions. + * include/java_nio_VMDirectByteBuffer.h: regenerated. + * java/nio/DirectByteBufferImpl.java (put): new method. + * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c + (ALIGN_DOWN): new macro. + (ALIGN_UP): new macro. + (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): implemented. + * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: updated + copyright years. + (ALIGN_DOWN): new macro. + (ALIGN_UP): new macro. + (get_pagesize): new function. + (get_raw_values): new function. + (Java_java_nio_MappedByteBufferImpl_unmapImpl): implemented. + (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): implemented. + (Java_java_nio_MappedByteBufferImpl_loadImpl): implemented. + (Java_java_nio_MappedByteBufferImpl_forceImpl): implemented. + * native/jni/java-nio/java_nio_VMDirectByteBuffer.c + (Java_java_nio_VMDirectByteBuffer_put): renamed to + 'Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2IB.' + (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_RawData_2I_3BII): + call 'ReleaseByteArrayElements' on the source byte array elements. + (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2I_3BII): + new method. + * vm/reference/java/nio/VMDirectByteBuffer.java (put): new method. + +2005-07-23 David Gilbert + + * javax/swing/BoundedRangeModel.java: added/updated API doc comments. + +2005-07-23 David Gilbert + + * javax/swing/Icon.java: added API doc comments. + +2005-07-23 David Gilbert + + * java/text/AttributedString.java: API doc fixes, + * java/text/ChoiceFormat.java: likewise, + * java/text/CollationElementIterator.java: likewise, + * java/text/CollationKey.java: likewise, + * java/text/Collator.java: likewise, + * java/text/DateFormat.java: likewise, + * java/text/DateFormatSymbols.java: likewise, + * java/text/DecimalFormatSymbols.java: likewise, + * java/text/MessageFormat.java: likewise, + * java/text/NumberFormat.java: likewise, + * java/text/ParseException.java: likewise, + * java/text/SimpleDateFormat.java: likewise, + * java/text/StringCharacterIterator.java: likewise. + +2005-07-23 David Gilbert + + * javax/swing/ImageIcon.java: API doc fixes, + * javax/swing/JLayeredPane.java: likewise, + * javax/swing/JSplitPane.java: likewise, + * javax/swing/JTree.java: likewise, + * javax/swing/JViewport.java: likewise, + * javax/swing/RepaintManager.java: likewise, + * javax/swing/SizeRequirements.java: likewise, + * javax/swing/SortingFocusTraversalPolicy.java. + +2005-07-23 Audrius Meskauskas + + * org/omg/PortableServer/ServantLocatorOperations.java, + org/omg/PortableServer/ServantActivatorOperations.java: + Inherit from ServantManagerOperations. + * org/omg/PortableServer/CurrentOperations.java: + Inherit from org.omg.CORBA.CurrentOperations. + org/omg/PortableServer/ForwardRequestHelper.java: New file. + +2005-07-23 Sven de Marothy + + * java/awt/List.java (List): Initialize selected[] to an empty array. + +2005-07-23 Audrius Meskauskas + + * NEWS: Added entry about POA. + +2005-07-22 Audrius Meskauskas + + * org/omg/PortableServer/RequestProcessingPolicyOperations.java, + org/omg/PortableServer/ServantRetentionPolicyOperations.java, + org/omg/PortableServer/ThreadPolicyOperations.java, + org/omg/PortableServer/IdAssignmentPolicyOperations.java, + org/omg/PortableServer/IdUniquenessPolicyOperations.java, + org/omg/PortableServer/ImplicitActivationPolicyOperations.java, + org/omg/PortableServer/LifespanPolicyOperations.java: + Inherit from PolicyOperations. + +2005-07-22 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): If row selection is not allowed in the table, + then consider all rows of a particular column selected when you get an + ENTER key event. This matches JDK behaviour and fixes an out of + bounds error. Also, wrapped lines at 80 chars. + +2005-07-22 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (paint): Only highlight the border of a table cell if it is the most + recently updated cell. + +2005-07-22 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicListUI.java: + (paintCell): Fixed misnamed variable. + +2005-07-22 Audrius Meskauskas + + * gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuPOAManager.java, + gnu/CORBA/Poa/activeObjectMap.java, + gnu/CORBA/Poa/gnuAdapterActivator.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Poa/servantDelegate.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/policySets.java, + gnu/CORBA/Poa/gnuPoaCurrent.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/dynImpHandler.java, + gnu/CORBA/Poa/LocalServerRequest.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, + gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, + gnu/CORBA/Poa/gnuThreadPolicy.java, + gnu/CORBA/Poa/gnuLifespanPolicy.java, + gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, + gnu/CORBA/Poa/gnuServantRetentionPolicy.java, + gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, + gnu/CORBA/Poa/gnuForwardRequest.java, + gnu/CORBA/ForwardRequestHelper.java, + gnu/CORBA/Poa/vPolicy.java, + gnu/CORBA/Poa/ForwardRequestHolder.java, + org/omg/PortableServer/POA.java, + org/omg/PortableServer/POAManagerOperations.java, + org/omg/PortableServer/POAOperations.java, + org/omg/PortableServer/Servant.java, + org/omg/PortableServer/DynamicImplementation.java, + org/omg/PortableServer/ServantActivator.java, + org/omg/PortableServer/ServantActivatorOperations.java, + org/omg/PortableServer/ServantLocator.java, + org/omg/PortableServer/ServantLocatorOperations.java, + org/omg/PortableServer/ServantManager.java, + org/omg/PortableServer/Current.java, + org/omg/PortableServer/CurrentHelper.java, + org/omg/PortableServer/CurrentOperations.java, + org/omg/PortableServer/_ServantLocatorStub.java, + org/omg/PortableServer/portable/Delegate.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/_ServantActivatorStub.java, + org/omg/PortableServer/ServantLocatorHelper.java, + org/omg/PortableServer/ServantActivatorPOA.java, + org/omg/PortableServer/ServantLocatorPOA.java, + org/omg/PortableServer/AdapterActivatorOperations.java, + org/omg/PortableServer/AdapterActivator.java, + org/omg/PortableServer/POAHelper.java, + org/omg/PortableServer/ServantManagerOperations.java, + org/omg/PortableServer/POAManager.java, + org/omg/PortableServer/package.html: New files. + * org/omg/CORBA/ORB.java: Documented POA features. + gnu/CORBA/gnuRequest.java (_releaseReply, equals): Mind that + the delegate can be null. + * gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/Functional_ORB.java, + org/omg/CORBA/portable/ObjectImpl.java, + gnu/CORBA/Connected_objects.java: Rewritten. + * gnu/CORBA/Simple_delegate.java (is_equivalent): This method + is rewritten. + * gnu/CORBA/ServiceRequestAdapter.java: Added return value support. + +2005-07-22 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicListUI.java: + (paintCell): Set hasFocused to true if the cell is the lead selection + index and if the list has focus. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added List.focusCellHighlightBorder default. + +2005-07-22 Aaron Luchko + + * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java: + Implemented the ArrayType CommandSet. + +2005-07-22 Roman Kennke + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added defaults for ToggleButton. + +2005-07-22 Roman Kennke + + * java/awt/Component.java + (setForeground): Fire PropertyChangeEvent after the foreground + has actually changed, instead of before. + (setBackground): Fire PropertyChangeEvent after the foreground + has actually changed, instead of before. Avoid one comparison + at the beginning of method. + (getBackground): If background is null and parent is null, return + null, instead of SystemColor.window. This is what it's supposed + to do. + (getFont): Avoid NPE by creating a local reference. Return + static final DEFAULT_FONT instead of creating a new font every time + we and our parents have no font set. + (setFont): Made check for font equality more precise. + (paramString): Added parent in paramString. + +2005-07-22 Roman Kennke + + * javax/swing/JToggleButton.java + (ToggleButtonModel.setPressed): Fixed order in which events + get fired. + +2005-07-22 Roman Kennke + + * javax/swing/DefaultButtonModel.java + (setPressed): Changed order in which the events get fired. The + ActionEvent must be fired before the ChangeEvent gets fired. + +2005-07-22 Roman Kennke + + * java/awt/Component.java + (show): Instead of invalidating the component, only invalidate + the parent, if there is one. Also repaint this parent. + Also, avoid NPEs by creating local references. + (hide): Instead of invalidating the component, only invalidate + the parent, if there is one. Also repaint this parent. + Also, avoid NPEs by creating local references. + +2005-07-22 David Gilbert + + * javax/swing/plaf/basic/BasicButtonUI.java: API doc fixes, + * javax/swing/plaf/basic/BasicRadioButtonUI.java: likewise, + * javax/swing/plaf/basic/BasicTreeUI.java: likewise. + +2005-07-22 David Gilbert + + * javax/swing/plaf/metal/MetalCheckBoxIcon.java: API doc fixes, + * javax/swing/plaf/metal/MetalIconFactory.java: likewise. + +2005-07-22 David Gilbert + + * javax/swing/text/html/HTMLEditorKit.java: API doc fixes. + +2005-07-22 David Gilbert + + * javax/swing/tree/AbstractLayoutCache.java: API doc fixes, + * javax/swing/tree/DefaultTreeCellRenderer.java: likewise, + * javax/swing/tree/DefaultTreeModel.java: likewise, + * javax/swing/tree/FixedHeightLayoutCache: likewise. + +2005-07-22 Roman Kennke + + * javax/swing/plaf/metal/MetalToggleButtonUI.java + (constructor): Initialize colors. + (getFocusColor): Fetches the focus property from the UIDefaults. + (getSelectColor): Fetches the select property from the UIDefaults. + (getDisabledTextColor): Fetches the disabledText property from the + UIDefaults. + +2005-07-21 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.updateSelection): Update the ListSelectionModels even if + rowSelectionAllowed or columnSelectionAllowed is false. This + complies with the JDK. + (KeyHandler.keyPressed): Implemented the ENTER key action. + +2005-07-21 David Gilbert + + * javax/swing/plaf/BorderUIResource.java: API doc fixes, + * javax/swing/plaf/FileChooserUI.java: likewise, + * javax/swing/plaf/TextUI.java: likewise, + * javax/swing/plaf/UIResource.java: likewise. + +2005-07-21 David Gilbert + + * javax/swing/event/EventListenerList.java: API doc fixes, + * javax/swing/event/MenuKeyEvent.java: likewise, + * javax/swing/event/TreeSelectionEvent.java: likewise. + +2005-07-21 David Gilbert + + * javax/swing/border/AbstractBorder.java: API doc fixes, + * javax/swing/border/BevelBorder.java: likewise, + * javax/swing/border/EtchedBorder.java: likewise, + * javax/swing/border/LineBorder.java: likewise, + * javax/swing/border/SoftBevelBorder.java: likewise, + * javax/swing/border/TitledBorder.java: likewise. + +2005-07-21 Roman Kennke + + * javax/swing/plaf/metal/MetalButtonUI.java + (constructor): Initialize colors. + (getFocusColor): Fetches the focus property from the UIDefaults. + (getSelectColor): Fetches the select property from the UIDefaults. + (getDisabledTextColor): Fetches the disabledText property from the + UIDefaults. + +2005-07-21 Roman Kennke + + * javax/swing/text/GapContent.java + (replace): New method. Replaces a chunk of the buffer with + another chunk. + +2005-07-21 David Gilbert + + * javax/swing/AbstractListModel.java: API doc fixes, + * javax/swing/BorderFactory.java: likewise, + * javax/swing/BoundedRangeModel.java: likewise, + * javax/swing/BoxLayout.java: likewise, + * javax/swing/CellRendererPane.java: likewise, + * javax/swing/ComponentInputMap.java: likewise, + * javax/swing/DefaultBoundedRangeModel.java: likewise, + * javax/swing/DefaultButtonModel.java: likewise, + * javax/swing/DefaultCellEditor.java: likewise, + * javax/swing/InputMap.java: likewise, + * javax/swing/JButton.java: likewise, + * javax/swing/JFrame.java: likewise, + * javax/swing/JLabel.java: likewise, + * javax/swing/JMenuBar.java: likewise, + * javax/swing/JPopupMenu.java: likewise, + * javax/swing/JScrollBar.java: likewise, + * javax/swing/JScrollPane.java: likewise, + * javax/swing/JSeparator.java: likewise, + * javax/swing/JSlider.java: likewise, + * javax/swing/JSpinner.java: likewise, + * javax/swing/JTextArea.java: likewise, + * javax/swing/JToggleButton.java: likewise, + * javax/swing/SpinnerListModel.java: likewise, + * javax/swing/Spring.java: likewise, + * javax/swing/SpringLayout.java: likewise. + +2005-07-21 Lillian Angel + * javax/swing/plaf/basic/BasicTreeUI.java + (getPreferredSize): Changed to depend on visible nodes. + (mouseClicked): Fixed to keep track of last cell clicked, so expand/collapse + works properly by clicking 2 times on the same cell. + +2005-07-21 Roman Kennke + + * javax/swing/JComponent.java + (putClientProperty): If value == null, remove the key from the + Hashtable, otherwise we would get an NPE here. + +2005-07-21 David Gilbert + + * javax/swing/plaf/basic/BasicSliderUI.java: + (thumbHeight): removed, + (thumbWidth): removed, + (tickHeight): removed, + (installDefaults): deleted initialisation of thumbHeight, thumbWidth + and thumbRect, + (getPreferredHorizontalSize): changed source of thumb height and width, + (getPreferredVerticalSize): likewise, + (getMinimumHorizontalSize): reimplemented, + (getMinimumVerticalSize): reimplemented, + (getMinimumSize): reimplemented, + (getMaximumSize): reimplemented, + (calculateThumbSize): use getThumbSize(), + (calculateThumbLocation): use trackRect not contentRect, + (calculateTrackBuffer): use half the thumbRect, + (getThumbSize): use constant size, + (calculateTrackRect): move track down to middle of contentRect, + (getTickLength): return constant, + (paintTrack): removed unused local variables, + (paintTicks): apply a translation to g temporarily before calling + methods to draw ticks, add 0.5 to solve rounding problem, + (paintMinorTickForHorizSlider): modified to account for translation + already applied to g, + (paintMajorTickForHorizSlider): likewise, + (paintMinorTickForVertSlider): likewise, + (paintMajorTickForVertSlider): likewise, + (xPositionForValue): subtract 1 from width, + (yPositionForValue): likewise, + *javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): add slider defaults, + *javax/swing/plaf/metal/MetalSliderUI.java: implemented missing + methods, + * examples/gnu/classpath/examples/swing/Demo.java + (mkSliders): added minor ticks and labels. + +2005-07-21 Roman Kennke + + * javax/swing/AbstractButton.java + (init): Only set icon if the supplied icon is not null. Otherwise + we would override icons that are possibly set by the UI. + * javax/swing/plaf/basic/BasicIconFactory.java + (CheckBoxIcon): An new Icon implementation used for CheckBoxes + in the Basic L&F. + (RadioButtonIcon): An new Icon implementation used for + RadioButtons in the Basic L&F. + (getCheckBoxIcon): Now returns a (cached) instance of CheckBoxIcon + instead of the (wrong) inner icon implementation. + (getRadioButtonIcon): Now returns a (cached) instance of + RadioButtonIcon instead of the (wrong) inner icon implementation. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Registered new icons for CheckBox and + RadioButton, using a LazyValue entry. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + Added API documentation all over. + (installUI): Removed this method. + (installDefaults): New method. Installs the default icons if there + is no other icon set. + (getPropertyPrefix): New method. Returns the prefix that is used + to look up UIDefault entries. + (getDefaultIcon): Use propertyPrefix instead of hardcoded property. + (paint): New method. Override paint for customized painting + of RadioButtons. + * javax/swing/plaf/metal/MetalCheckBoxIcon.java + (drawCheck): Respect the x and y parameter. + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonIcon): An Icon implementation for Metal RadioButtons. + (getRadioButtonIcon): New method. Returns a shared instance of + RadioButtonIcon. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Register new icons for CheckBox and + RadioButton using a LazyValue entry. + +2005-07-21 Roman Kennke + + * javax/swing/JOptionPane.java + (createInternalFrame): Look for a JDesktopPane first, then + look for a JLayeredPane as fallback. Set this JOptionPane as + contentPane for the found JDesktopPane. Make the InternalFrame + visible and appropriatly sized here. + (showInternalConfirmDialog): ALL VARIANTS OF THIS METHOD: + Adjusted call to startModel to only take one parameter. + (showInternalInputDialog): ALL VARIANTS OF THIS METHOD: + Adjusted call to startModel to only take one parameter. + (showInternalMessageDialog): ALL VARIANTS OF THIS METHOD: + Adjusted call to startModel to only take one parameter. + (showInternalOptionDialog): ALL VARIANTS OF THIS METHOD: + Adjusted call to startModel to only take one parameter. + (startModal): Now only takes one parameter. This method does no + longer add the JOptionPane to the contentPane of the InternalFrame, + set the size and make the InternalFrame visible. This is done in + createInternalFrame. + +2005-07-21 David Gilbert + + * javax/swing/DefaultListSelectionModel.java: API doc fixes. + +2005-07-21 David Gilbert + + * javax/swing/AbstractButton.java: API doc fixes all over. + +2005-07-21 David Gilbert + + * javax/swing/UIDefaults.java + (getFont(Object, Locale)): matched argument name to API doc comment, + (getColor(Object, Locale)): likewise, + (getIcon(Object, Locale)): likewise, + (getBorder(Object, Locale)): likewise, + (getString(Object, Locale)): likewise, + (getInt(Object, Locale)): likewise, + (getBoolean(Object, Locale)): likewise, + (getInsets(Object, Locale)): likewise, + (getDimension(Object, Locale)): likewise. + +2005-07-21 David Gilbert + + * javax/swing/JComponent.java: API doc fixes all over. + +2005-07-21 David Gilbert + + * java/net/URLClassLoader.java: reordered some API doc comments to + suppress Eclipse warnings, and fixed API doc link. + +2005-07-20 Anthony Balkissoon + + * java/awt/BorderLayout.java: + (layoutContainer): Removed addition of horizontal and vertical gaps + when there is no corresponding adjacent component. + +2005-07-20 Anthony Balkissoon + + * javax/swing/JTable: + (JTable): Set the lead selection index for each of the two lists + associated with this table to 0 (instead of -1). This complies with + JDK. + * javax/swing/plaf/basic/BasicTableUI.java: + (KeyHandler.keyPressed): Implemented the following key actions (with + CTRL/SHIFT handling when appropriate): UP/DOWN/LEFT/RIGHT, HOME/END, + CTRL-A, CTRL-\, CTRL-/. + +2005-07-20 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler.keyPressed): Restore the lead selection index after doing + a "select all" operation. + +2005-07-20 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (keyPressed): Implemented some more VK_XXX and VK_KP_XXX events. + +2005-07-20 Aaron Luchko + + * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java: + Implemented the ClassObjectReference CommandSet. + +2005-07-20 Roman Kennke + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Added value for InternalFrame.icon. + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (installDefaults): Install icon from UIDefaults. + +2005-07-20 Roman Kennke + + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (createSeparator): Return null here. + (installComponents): Don't add a separator in the OptionPane. + +2005-07-20 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): Changed to paint children of root as roots if the + root is not visible, but the root path is expanded. + (getPathForRow): If the root is not visible, but expanded, + the first child should be considered row 0. + (getRowCount): Likewise. + (getPathBounds): Likewise. + (getCellLocation): If root is not visible, but expanded, the + level of each node is lowered by 1. + (paintRecursive): If root is not visible, but expanded, there should + be no indentation when the children are drawn. Also, there should be no + line drawn connecting the children. This makes it look like there are 2 + independant trees (works same as JDK). + +2005-07-20 Roman Kennke + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (installUI): Moved titlePane.setOpaque() call into + BasicInternalFrameTitlePane's constructor. + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (constructor): Moved titlePane.setOpaque() call from + BasicInternalFrameUI.installUI into this constructor. + +2005-07-20 Roman Kennke + + * javax/swing/JOptionPane.java + (createInternalFrame): Look up the nearest JLayeredPane instead + of JDesktopPane. This is in contrast to the specs but what the JDK + does and what makes sense. + +2005-07-20 Roman Kennke + + * javax/swing/SwingUtilities.java: + Made class description more concise. + +2005-07-20 Roman Kennke + + * javax/swing/JButton.java: + Made class description more concise. + +2005-07-20 Roman Kennke + + * javax/swing/JButton.java + (AccessibleJButton): Added accessibility support for JButton. + (getAccessibleContext): Implemented to return an AccessibleJButton. + * javax/swing/JLabel.java + (AccessibleJLabel): Added accessibility support for JLabel. + (getAccessibleContext): Implemented to return an AccessibleJLabel. + +2005-07-20 David Gilbert + + * javax/swing/JSlider.java + (setMinimum): fire PropertyChangeEvent for new value, + (setMaximum): likewise, + (setSnapToTicks): fire PropertyChangeEvent, not ChangeEvent, + (setPaintTrack): fire PropertyChangeEvent for new value, + (setPaintLabels): initialise label table. + +2005-07-20 Roman Kennke + + * javax/swing/JLayeredPane.java: + Fixed and extended API documentation / class description. + +2005-07-20 Roman Kennke + + * javax/swing/Action.java: + Fixes the class description to be more concise. + +2005-07-20 David Gilbert + + * java/text/AttributedCharacterIterator.java: fixed minor API doc + problems and 80 column wrapping; + * java/text/BreakIterator.java + (getCharacterInstance(Locale)): matched argument name to API docs, + (getLineInstance(Locale)): likewise, + (getSentenceInstance(Locale)): likewise, + (getWordInstance(Locale)): likewise, + and fixed minor API doc problems all over; + * java/text/CharacterIterator.java: fixed minor API doc problems. + +2005-07-19 Audrius Meskauskas + + * org/omg/PortableServer/ForwardRequest.java: New file. + +2005-17-19 Lillian Angel + + * javax/swing/plaf/BasicTreeUI + (setModel): changed to call JTree's setModel + (setRootVisible): Likewise + (isRootVisible): Likewise + (getClosestPathForLocation): Implemented + (paint): took out translate, no need to. + (mouseClicked): clicking made smoother. + +2005-17-19 Lillian Angel + + * javax/swing/plaf/BasicTreeUI: + Moved several functions around for readability. + Some formatting in various places. + (paint): extended size of border drawn + (mouseClicked): checked if path was null + (getCellLocation): Now package-private. + (paintNode): Implemented, there is no need to paint the leaf and non + leaf separately. Works with custom icons. + (paintRecursive): Now package-private. Changed to paint with paintNode. + (paintControlIcons): Now package-private. + (hasControlIcons): Now package-private. + +2005-17-19 David Gilbert + + * javax/swing/JSlider.java + (createStandardLabels(int)): updated API docs, + (createStandardLabels(int, int)): throw IllegalArgumentException for + bad arguments. + +2005-17-18 Lillian Angel + + * javax/swing/plaf/BasicTreeUI + (getPathBounds): checked if path was null initially + (paint): no need to check for control icons + (paintLeaf): reseting of icon + (paintNonLeaf): resetting of icon + (paintControlIcons): cleaned up + (hasControlIcons): cleaned up + * javax/swing/tree/DefaultTreeCellRenderer + (getTreeCellRendererComponent): fixed to follow API + +2005-07-18 David Gilbert + + * javax/swing/JSlider.java: + (JSlider(int)): updated API docs, + (JSlider(int, int, int)): likewise, + (JSlider(BoundedRangeModel)): removed code that handles a null + argument, and updated API docs. + +2005-07-18 David Gilbert + + * javax/swing/JSlider.java: initialise snapToTicks to false. + +2005-07-18 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + (paintMenuItem): Don't highlight background of a selected + JCheckboxMenuItem. + (paintText): Don't highlight text of a selected JCheckBoxMenuItem. + +2005-07-18 Anthony Balkissoon + + * javax/swing/JPopupMenu.java: + (insert): Resize the container to its preferred size when an item is + inserted. + (remove): Resize the container to its preferred size when an item is + removed. + +2005-07-18 Anthony Balkissoon + + * javax/swing/plaf/basic/BasicMenuUI.java: + (getMaximumSize): Added check for this menu not being a top level menu. + If that's the case, return the maximum size as if it were a regular + JMenuItem. + +2005-07-18 Tom Tromey + + * lib/Makefile.gcj (%.stamp): Added -MP. + +2005-07-18 Tom Tromey + + * include/.cvsignore: Removed jni.h. + +2005-07-18 Tom Tromey + + * native/jni/classpath/classpath_jawt.h: Updated copyright + header. + +2005-07-18 David Gilbert + + * javax/imageio/stream/ImageInputStream.java: added import to fix + minor API doc problems. + +2005-07-18 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): Only paint border if using MetalL&F + (mouseClicked): Check that control icons exist + (paintNonLeaf): Changed to paint icon depending on height + (hasControlIcons): Implemented to return true if control icons exist + +2005-07-18 Lillian Angel + + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): Implemented painting of border around selected path + (mouseClicked): Fixed clicking of icon + +2005-07-18 David Gilbert + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): changed Slider.thumbWidth. + * javax/swing/plaf/basic/BasicSliderUI.java + (paintThumb): fixed thumb painting. + +2005-07-17 Audrius Meskauskas + + * org/omg/PortableServer/ThreadPolicyValue.java, + org/omg/PortableServer/IdAssignmentPolicy.java, + org/omg/PortableServer/IdUniquenessPolicyOperations.java, + org/omg/PortableServer/IdAssignmentPolicyOperations.java, + org/omg/PortableServer/IdUniquenessPolicy.java, + org/omg/PortableServer/ImplicitActivationPolicyOperations.java, + org/omg/PortableServer/LifespanPolicyOperations.java, + org/omg/PortableServer/LifespanPolicy.java, + org/omg/PortableServer/ImplicitActivationPolicy.java, + org/omg/PortableServer/ServantRetentionPolicy.java, + org/omg/PortableServer/RequestProcessingPolicy.java, + org/omg/PortableServer/ServantRetentionPolicyOperations.java, + org/omg/PortableServer/ThreadPolicyOperations.java, + org/omg/PortableServer/RequestProcessingPolicyOperations.java, + org/omg/PortableServer/ThreadPolicy.java: New files. + 2005-07-15 Lillian Angel * javax/swing/plaf/basic/BasicTreeUI.java (mouseClicked): Implemented clicking on control icons. diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj index 813715a..bc2bbb5 100644 --- a/libjava/classpath/ChangeLog.gcj +++ b/libjava/classpath/ChangeLog.gcj @@ -1,3 +1,7 @@ +2005-09-23 Tom Tromey + + Imported Classpath 0.18. + 2005-08-23 Tom Tromey * configure: Rebuilt. diff --git a/libjava/classpath/INSTALL b/libjava/classpath/INSTALL index b9cadee..9151507 100644 --- a/libjava/classpath/INSTALL +++ b/libjava/classpath/INSTALL @@ -1,4 +1,4 @@ -Installing GNU Classpath - Last updated: January 6, 2005 +Installing GNU Classpath - Last updated: August 31, 2005 First, this is a development release only! Unless you are interested in active development and debugging, or just like running random alpha code, @@ -28,11 +28,12 @@ Suggested Software For building the Java bytecode (.class files), one of these compilers are required. You can select which compiler using - --with-jikes, --with-gcj or --with-kjc as argument to + --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). - 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. @@ -48,7 +49,18 @@ Suggested Software For building the Cairo GdkGraphics2D backend you need at least Cairo 0.5.0. - For building the xmlj JAXP implementation (dsabled by default, use + For building the Qt AWT peer JNI native libraries you have to + specify --enable-qt-peer and need the following library: + + - Qt 4.0.1 + + Please note that at the moment most operating systems do not + ship Qt4 by default. We recommend using GNU Classpath' Qt4 + support only for its developers and bug reporters. See + http://developer.classpath.org/mediation/ClasspathShowcase + for details on how to get it to work. + + For building the xmlj JAXP implementation (disabled by default, use configure --enable-xmlj) you need the following installed: - The XML C library for Gnome (libxml2) http://www.xmlsoft.org/ @@ -74,6 +86,11 @@ gives a complete list. --enable-jni compile JNI source default=yes --enable-gtk-peer compile GTK native peers default=yes --enable-gtk-cairo compile cairo based Graphics2D default=no + --enable-qt-peer compile Qt4 native peers default=no + --enable-default-toolkit + fully qualified class name of default AWT toolkit + default=no + --enable-xmlj compile native libxml/xslt library default=no --enable-load-library enable to use JNI native methods default=yes --with-jikes to compile the class library using jikes the default is to use gcj @@ -83,7 +100,7 @@ gives a complete list. 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/Makefile.am b/libjava/classpath/Makefile.am index 6cc0754..24813e3 100644 --- a/libjava/classpath/Makefile.am +++ b/libjava/classpath/Makefile.am @@ -4,6 +4,7 @@ SUBDIRS = lib doc external include native resource scripts $(EXAMPLESDIR) DIST_SUBDIRS = lib doc external include native resource scripts examples +## GCJ LOCAL: we need an extra -I here. ACLOCAL_AMFLAGS = -I m4 -I ../.. native: lib diff --git a/libjava/classpath/Makefile.in b/libjava/classpath/Makefile.in index fd9f5b7..e62746e 100644 --- a/libjava/classpath/Makefile.in +++ b/libjava/classpath/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.5 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -107,8 +107,14 @@ CREATE_JNI_HEADERS_FALSE = @CREATE_JNI_HEADERS_FALSE@ CREATE_JNI_HEADERS_TRUE = @CREATE_JNI_HEADERS_TRUE@ CREATE_JNI_LIBRARIES_FALSE = @CREATE_JNI_LIBRARIES_FALSE@ CREATE_JNI_LIBRARIES_TRUE = @CREATE_JNI_LIBRARIES_TRUE@ +CREATE_QT_PEER_LIBRARIES_FALSE = @CREATE_QT_PEER_LIBRARIES_FALSE@ +CREATE_QT_PEER_LIBRARIES_TRUE = @CREATE_QT_PEER_LIBRARIES_TRUE@ CREATE_XMLJ_LIBRARY_FALSE = @CREATE_XMLJ_LIBRARY_FALSE@ CREATE_XMLJ_LIBRARY_TRUE = @CREATE_XMLJ_LIBRARY_TRUE@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE = @DATE@ DEFS = @DEFS@ @@ -170,6 +176,7 @@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKDIR = @MKDIR@ +MOC = @MOC@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -181,12 +188,13 @@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +QT_CFLAGS = @QT_CFLAGS@ +QT_LIBS = @QT_LIBS@ RANLIB = @RANLIB@ REGEN_PARSERS_FALSE = @REGEN_PARSERS_FALSE@ REGEN_PARSERS_TRUE = @REGEN_PARSERS_TRUE@ REMOVE = @REMOVE@ SET_MAKE = @SET_MAKE@ -SH = @SH@ SHELL = @SHELL@ STRICT_WARNING_CFLAGS = @STRICT_WARNING_CFLAGS@ STRIP = @STRIP@ @@ -208,10 +216,13 @@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ZIP = @ZIP@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -316,13 +327,7 @@ uninstall-info-am: # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -334,7 +339,7 @@ $(RECURSIVE_TARGETS): local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -342,13 +347,7 @@ $(RECURSIVE_TARGETS): mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -369,7 +368,7 @@ maintainer-clean-recursive: local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -444,7 +443,7 @@ distclean-tags: distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) - $(mkdir_p) $(distdir)/../.. $(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 55cb064..4d91852 100644 --- a/libjava/classpath/NEWS +++ b/libjava/classpath/NEWS @@ -1,3 +1,86 @@ +New in release 0.18 (Sep 6, 2005) + +* 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. + New in release 0.17 (Jul 15, 2005) * gnu.xml fix for nodes created outside a namespace context. diff --git a/libjava/classpath/README b/libjava/classpath/README index 535014f..27e22dc 100644 --- a/libjava/classpath/README +++ b/libjava/classpath/README @@ -1,4 +1,4 @@ -GNU Classpath README - Last updated: Jul 9, 2004 +GNU Classpath README - Last updated: August 31, 2005 GNU Classpath, Essential Libraries for Java is a project to create a free software implementation of the core class libraries for the java @@ -55,7 +55,8 @@ some of which synchronizes with the Classpath CVS head every couple of weeks: * IKVM.NET (http://www.ikvm.net/) * JC (http://jcvm.sourceforge.net/) * JNode (http://jnode.sourceforge.net/) - * SableVM (http://www.sablevm.org) + * MysaifuVM (http://www2s.biglobe.ne.jp/~dat/java/project/jvm/) + * SableVM (http://www.sablevm.org) See for a more complete list of GNU Classpath based projects the GNU Classpath website: http://www.gnu.org/software/classpath/stories.html diff --git a/libjava/classpath/aclocal.m4 b/libjava/classpath/aclocal.m4 index f99df43..8723094 100644 --- a/libjava/classpath/aclocal.m4 +++ b/libjava/classpath/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.5 -*- Autoconf -*- +# generated automatically by aclocal 1.9.3 -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,11 +11,23 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# -*- Autoconf -*- +# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Generated from amversion.in; do not edit by hand. + +# 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 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- @@ -28,15 +40,26 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.5])]) + [AM_AUTOMAKE_VERSION([1.9.3])]) -# AM_AUX_DIR_EXPAND -*- Autoconf -*- +# AM_AUX_DIR_EXPAND -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 2001, 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. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to @@ -83,16 +106,26 @@ AC_PREREQ([2.50])dnl am_aux_dir=`cd $ac_aux_dir && pwd` ]) -# AM_CONDITIONAL -*- Autoconf -*- +# AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 1997, 2000, 2001, 2003, 2004 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 7 +# serial 6 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -116,15 +149,26 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) +# serial 7 -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. -# serial 8 +# 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. + # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -133,6 +177,7 @@ fi])]) # CC etc. in the Makefile, will ask for an AC_PROG_CC use... + # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. @@ -272,16 +317,27 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) -# Generate code to set up dependency tracking. -*- Autoconf -*- +# Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# 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 3 +#serial 2 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ @@ -340,19 +396,30 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) -# Do all the work for Automake. -*- Autoconf -*- +# Do all the work for Automake. -*- Autoconf -*- + +# This macro actually does too much some checks are only needed if +# your package does certain things. But this isn't really a big deal. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. -# serial 12 +# 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 macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. +# 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 11 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) @@ -454,27 +521,51 @@ for _am_header in $config_headers :; do done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. + +# Copyright (C) 2001, 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. + AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# -*- Autoconf -*- +# Copyright (C) 2003 Free Software Foundation, Inc. -# serial 2 +# 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. @@ -489,17 +580,28 @@ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# Add --enable-maintainer-mode option to configure. # From Jim Meyering -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. -# serial 4 +# 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 3 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) @@ -518,15 +620,26 @@ AC_DEFUN([AM_MAINTAINER_MODE], AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) -# Check to see how 'make' treats includes. -*- Autoconf -*- +# Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. -# serial 3 +# 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 2 # AM_MAKE_INCLUDE() # ----------------- @@ -570,16 +683,27 @@ AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- +# -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. -# serial 4 +# Copyright (C) 1997, 1999, 2000, 2001, 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 3 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -605,16 +729,27 @@ else fi ]) -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# + +# Copyright (C) 2003, 2004 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. + # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). @@ -668,15 +803,26 @@ else fi AC_SUBST([mkdir_p])]) -# Helper functions for option handling. -*- Autoconf -*- +# Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. -# serial 3 +# 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 2 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -701,11 +847,22 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. -*- Autoconf -*- + +# 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. # AM_RUN_LOG(COMMAND) # ------------------- @@ -718,16 +875,28 @@ AC_DEFUN([AM_RUN_LOG], echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. # -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Check to make sure that the build environment is sane. +# + +# Copyright (C) 1996, 1997, 2000, 2001, 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. -# serial 4 +# 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 3 # AM_SANITY_CHECK # --------------- @@ -770,14 +939,25 @@ Check your system clock]) fi AC_MSG_RESULT(yes)]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - # AM_PROG_INSTALL_STRIP -# --------------------- + +# Copyright (C) 2001, 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. + # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip @@ -800,13 +980,25 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# Copyright (C) 2004 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 -# serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- diff --git a/libjava/classpath/autogen.sh b/libjava/classpath/autogen.sh index 644b155..e20cc38 100755 --- a/libjava/classpath/autogen.sh +++ b/libjava/classpath/autogen.sh @@ -12,16 +12,9 @@ FILE=java/lang/Object.java DIE=0 -case `uname -s` in -Darwin) - LIBTOOLIZE=glibtoolize - ;; -*) - LIBTOOLIZE=libtoolize - ;; -esac - -have_libtool=true +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/'` case $libtool_version in @@ -35,6 +28,9 @@ if $have_libtool ; then : ; else echo "You must have libtool 1.5 installed to compile $PROJECT." echo "Install the appropriate package for your distribution," echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/" + echo "For Darwin you need the latest stable (1.5.18) to support" + echo "Frameworks linking. Also, you have to point ACLOCAL_FLAGS" + echo "to this libtool/share/aclocal." DIE=1 fi diff --git a/libjava/classpath/configure b/libjava/classpath/configure index b42c613..0760964 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.17+cvs. +# Generated by GNU Autoconf 2.59 for GNU Classpath 0.18. # # 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.17+cvs' -PACKAGE_STRING='GNU Classpath 0.17+cvs' +PACKAGE_VERSION='0.18' +PACKAGE_STRING='GNU Classpath 0.18' 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_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 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 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 SH 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 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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LIBTOOL CXXCPP CPP 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_files='' # Initialize some variables set by options. @@ -753,14 +753,14 @@ ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias -ac_env_CC_set=${CC+set} -ac_env_CC_value=$CC -ac_cv_env_CC_set=${CC+set} -ac_cv_env_CC_value=$CC -ac_env_CFLAGS_set=${CFLAGS+set} -ac_env_CFLAGS_value=$CFLAGS -ac_cv_env_CFLAGS_set=${CFLAGS+set} -ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} @@ -769,6 +769,18 @@ ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} @@ -781,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.17+cvs to adapt to many kinds of systems. +\`configure' configures GNU Classpath 0.18 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -852,7 +864,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Classpath 0.17+cvs:";; + short | recursive ) echo "Configuration of GNU Classpath 0.18:";; esac cat <<\_ACEOF @@ -872,12 +884,14 @@ Optional Features: --enable-gtk-cairo build the cairo Graphics2D implementation on GTK default=no + --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni) + default=no --enable-regen-headers automatically regenerate JNI headers default=no + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors --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 @@ -914,12 +928,15 @@ Optional Packages: path to the jay executable Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags + CXX C++ compiler command + CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory + CC C compiler command + CFLAGS C compiler flags + CXXCPP C++ preprocessor CPP C preprocessor Use these variables to override the choices made by `configure' or to help @@ -1021,7 +1038,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -GNU Classpath configure 0.17+cvs +GNU Classpath configure 0.18 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1035,7 +1052,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.17+cvs, which was +It was created by GNU Classpath $as_me 0.18, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1485,7 +1502,16 @@ if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi LIBVERSION="0:0:0" -CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined" +case "$host_os" in + darwin*) + cp_module="" + ;; + *) + cp_module="-module" + ;; +esac + +CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined" @@ -1771,7 +1797,7 @@ fi # Define the identity of the package. PACKAGE='classpath' - VERSION='0.17+cvs' + VERSION='0.18' cat >>confdefs.h <<_ACEOF @@ -2135,6 +2161,28 @@ else 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 --enable-regen-headers or --disable-regen-headers was given. if test "${enable_regen_headers+set}" = set; then enableval="$enable_regen_headers" @@ -2248,152 +2296,23 @@ 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 +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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 +if test "${ac_cv_prog_CXX+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. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -2402,7 +2321,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_CC="${ac_tool_prefix}gcc" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -2411,27 +2330,31 @@ done fi fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$CXX" && break + done 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 +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $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_ac_ct_CXX+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 "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -2440,7 +2363,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_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -2449,254 +2372,26 @@ 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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 - -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 - 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}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done + test -n "$ac_ct_CXX" && break done +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" -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 + CXX=$ac_ct_CXX 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 -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 - 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="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" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -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 - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $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 - 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. -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="$ac_prog" - 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 - - test -n "$ac_ct_CC" && break -done - - CC=$ac_ct_CC -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ - "checking for C compiler version" >&5 + "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 @@ -2734,8 +2429,8 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 +echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 @@ -2778,9 +2473,9 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables See \`config.log' for more details." >&5 -echo "$as_me: error: C compiler cannot create executables +echo "$as_me: error: C++ compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi @@ -2791,8 +2486,8 @@ echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 +echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then @@ -2807,10 +2502,10 @@ if test "$cross_compiling" != yes; then if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. + { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C compiled programs. +echo "$as_me: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } @@ -2915,9 +2610,9 @@ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 -if test "${ac_cv_c_compiler_gnu+set}" = set; then +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -2947,7 +2642,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" + { 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 @@ -2968,18 +2663,18 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -CFLAGS="-g" -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_g+set}" = set; then +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -3006,7 +2701,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" + { 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 @@ -3019,200 +2714,54 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_prog_cc_g=yes + ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_prog_cc_g=no +ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" else - CFLAGS="-g" + CXXFLAGS="-g" fi else - if test "$GCC" = yes; then - CFLAGS="-O2" + if test "$GXX" = yes; then + CXXFLAGS="-O2" else - CFLAGS= + CXXFLAGS= fi fi -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_stdc=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF +for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + 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 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) +$ac_declaration +#include +int +main () { - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std1 is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std1. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi -# Ultrix and OSF/1 -std1 -# HP-UX 10.20 and later -Ae -# HP-UX older versions -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - 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_prog_cc_stdc=$ac_arg -break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext -done -rm -f conftest.$ac_ext conftest.$ac_objext -CC=$ac_save_CC - -fi - -case "x$ac_cv_prog_cc_stdc" in - x|xno) - echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 ;; - *) - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 - CC="$CC $ac_cv_prog_cc_stdc" ;; -esac - -# Some people use a C++ compiler to compile C. Since we use `exit', -# in C++ we need to declare it. In case someone uses the same compiler -# for both compiling C and C++ we need to have the C++ compiler decide -# the declaration of exit, since it's the most demanding environment. -cat >conftest.$ac_ext <<_ACEOF -#ifndef __cplusplus - choke me -#endif -_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 - for ac_declaration in \ - '' \ - 'extern "C" void std::exit (int) throw (); using std::exit;' \ - 'extern "C" void std::exit (int); using std::exit;' \ - 'extern "C" void exit (int) throw ();' \ - 'extern "C" void exit (int);' \ - 'void exit (int);' -do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_declaration -#include -int -main () -{ -exit (42); - ; - return 0; +exit (42); + ; + return 0; } _ACEOF rm -f conftest.$ac_objext @@ -3224,7 +2773,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" + { 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 @@ -3269,7 +2818,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" + { 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 @@ -3297,23 +2846,82 @@ if test -n "$ac_declaration"; then echo '#endif' >>confdefs.h fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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 +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 -depcc="$CC" am_compiler_list= + + + +depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -3335,7 +2943,7 @@ else # directory. mkdir sub - am_cv_CC_dependencies_compiler_type=none + am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi @@ -3388,7 +2996,7 @@ else # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode + am_cv_CXX_dependencies_compiler_type=$depmode break fi fi @@ -3397,187 +3005,1091 @@ else cd .. rm -rf conftest.dir else - am_cv_CC_dependencies_compiler_type=none + am_cv_CXX_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 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_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='#' + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi - -# Check whether --with-gnu-ld or --without-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval="$with_gnu_ld" - test "$withval" = no || with_gnu_ld=yes +# 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 - with_gnu_ld=no + enable_static=no fi; -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - echo "$as_me:$LINENO: checking for ld used by GCC" >&5 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [A-Za-z]:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the path of ld - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 -else - echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 -fi -if test "${lt_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +# 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 - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi + 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 - lt_cv_path_LD="$LD" # Let the user override the test with a path. + enable_fast_install=yes +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 + fi fi - -LD="$lt_cv_path_LD" -if test -n "$LD"; then - echo "$as_me:$LINENO: result: $LD" >&5 -echo "${ECHO_T}$LD" >&6 +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 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 -if test "${lt_cv_prog_gnu_ld+set}" = set; then + +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 - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else - lt_cv_prog_gnu_ld=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 + 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 + fi fi -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 -with_gnu_ld=$lt_cv_prog_gnu_ld - +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 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 -if test "${lt_cv_ld_reload_flag+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + CC=$ac_ct_CC else - lt_cv_ld_reload_flag='-r' + CC="$ac_cv_prog_CC" fi -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 -if test "${lt_cv_path_NM+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 - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +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}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + 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 -NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 -if test "${lt_cv_deplibs_check_method+set}" = set; then +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 +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 - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support + 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="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" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +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 + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $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 + 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. +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="$ac_prog" + 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 + + test -n "$ac_ct_CC" && break +done + + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+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. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + 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_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+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. */ + +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_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +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 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + 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_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_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 + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () +{ +exit (42); + ; + 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 + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + 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 + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +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 + +depcc="$CC" am_compiler_list= + +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + 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 + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi; +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + echo "$as_me:$LINENO: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 +else + echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 +fi +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + lt_cv_prog_gnu_ld=yes +else + lt_cv_prog_gnu_ld=no +fi +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 +if test "${lt_cv_ld_reload_flag+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_ld_reload_flag='-r' +fi +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 +reload_flag=$lt_cv_ld_reload_flag +test -n "$reload_flag" && reload_flag=" $reload_flag" + +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 +if test "${lt_cv_path_NM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + test -z "$ac_dir" && ac_dir=. + tmp_nm=$ac_dir/${ac_tool_prefix}nm + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + lt_cv_path_NM="$tmp_nm -B" + break + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then + lt_cv_path_NM="$tmp_nm -p" + break + else + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + fi + fi + done + IFS="$ac_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi +fi + +NM="$lt_cv_path_NM" +echo "$as_me:$LINENO: result: $NM" >&5 +echo "${ECHO_T}$NM" >&6 + +echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 +if test "${lt_cv_deplibs_check_method+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. @@ -3588,831 +4100,1085 @@ lt_cv_deplibs_check_method='unknown' # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. -case $host_os in -aix*) - lt_cv_deplibs_check_method=pass_all +case $host_os in +aix*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi4*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin* | mingw* |pw32*) + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.012) + lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | kfreebsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20*|hpux11*) + case $host_cpu in + hppa*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + esac + ;; + +irix5* | irix6*) + case $host_os in + irix5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" + ;; + *) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" + ;; + esac + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux-gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + fi + ;; + +newsos6) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so + ;; + +sysv5uw[78]* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + esac + ;; +esac + +fi +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 +file_magic_cmd=$lt_cv_file_magic_cmd +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 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for *BSD + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + esac + +fi + +if test -n "$lt_cv_sys_max_cmd_len" ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in + /*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; + ?:/*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; + *) + ac_save_MAGIC_CMD="$MAGIC_CMD" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="/usr/bin:$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + egrep "$file_magic_regex" > /dev/null; then + : + else + cat <&2 -beos*) - lt_cv_deplibs_check_method=pass_all +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$ac_save_ifs" + MAGIC_CMD="$ac_save_MAGIC_CMD" ;; +esac +fi -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in + /*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; + ?:/*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; + *) + ac_save_MAGIC_CMD="$MAGIC_CMD" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="/usr/bin:$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + egrep "$file_magic_regex" > /dev/null; then + : + else + cat <&2 -cygwin* | mingw* |pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$ac_save_ifs" + MAGIC_CMD="$ac_save_MAGIC_CMD" ;; +esac +fi -darwin* | rhapsody*) - # this will be overwritten by pass_all, but leave it in just in case - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.012) - lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' - ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' - ;; - esac - lt_cv_deplibs_check_method=pass_all +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi ;; +esac + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; 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_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -freebsd* | kfreebsd*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; 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_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi - ;; +done +done -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -hpux10.20*|hpux11*) - case $host_cpu in - hppa*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - esac - ;; + STRIP=$ac_ct_STRIP +else + STRIP="$ac_cv_prog_STRIP" +fi -irix5* | irix6*) - case $host_os in - irix5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; -# This must be Linux ELF. -linux-gnu*) - lt_cv_deplibs_check_method=pass_all - ;; +# Check for any special flags to pass to ltconfig. +libtool_flags="--cache-file=$cache_file" +test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" +test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" +test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" +test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" +test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" -netbsd* | knetbsd*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' - fi - ;; -newsos6) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; +fi; +test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" +test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" +test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 4652 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - esac +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* ;; -esac -fi -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 -file_magic_cmd=$lt_cv_file_magic_cmd -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 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for *BSD - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - esac -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 "$lt_cv_sys_max_cmd_len" ; then - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 -else - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -fi + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +main () +{ -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 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_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 + lt_cv_cc_needs_belf=yes else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac +lt_cv_cc_needs_belf=no fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + 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 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi ;; + + esac -fi -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi +# Save cache, so that ltconfig can load it +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 +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else + if test -w $cache_file; then + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file else - MAGIC_CMD=: + echo "not updating unwritable cache $cache_file" fi fi +rm -f confcache - fi - ;; -esac +# Actually configure libtool. ac_aux_dir is where install-sh is found. +AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ +MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ +LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ +AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ +objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ +deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ +$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ +|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 +echo "$as_me: error: libtool configure failed" >&2;} + { (exit 1); exit 1; }; } -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 +# Reload cache, that may have been modified by ltconfig +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac fi -done -done - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - echo "$as_me:$LINENO: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6 else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; 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_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -echo "${ECHO_T}$ac_ct_RANLIB" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - RANLIB=$ac_ct_RANLIB -else - RANLIB="$ac_cv_prog_RANLIB" -fi +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi +# Redirect the config.log output again, so that the ltconfig log is not +# clobbered by the next message. +exec 5>>./config.log -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; 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_STRIP+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes 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_STRIP="strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 + # 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_cxx_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag + else + ac_cpp_err= fi -done -done - - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" -fi +else + ac_cpp_err=yes fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6 +if test -z "$ac_cpp_err"; then + : else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + 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 - STRIP=$ac_ct_STRIP + # 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_cxx_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag + else + ac_cpp_err= + fi else - STRIP="$ac_cv_prog_STRIP" + 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 -# Check for any special flags to pass to ltconfig. -libtool_flags="--cache-file=$cache_file" -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" -test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" -test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" - - -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" - -fi; -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" +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_CXXCPP=$CXXCPP -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" +fi + CXXCPP=$ac_cv_prog_CXXCPP else - pic_mode=default -fi; -test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" -test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4140 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case "`/usr/bin/file conftest.o`" in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; - -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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); }; then - case "`/usr/bin/file conftest.o`" in - *32-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag + else + ac_cpp_err= fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 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 - 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 + # 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. */ - -int -main () -{ - - ; - return 0; -} +#include _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +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); } && - { 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_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 - lt_cv_cc_needs_belf=yes + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_cxx_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 -lt_cv_cc_needs_belf=no + # Passes both tests. +ac_preproc_ok=: +break fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c +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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" 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 -fi -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; - - -esac - - -# Save cache, so that ltconfig can load it -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 -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} | - sed ' - t clear - : clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - : end' >>confcache -if diff $cache_file confcache >/dev/null 2>&1; then :; else - if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" - cat confcache >$cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache -# Actually configure libtool. ac_aux_dir is where install-sh is found. -AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ +LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh" +lt_save_CC="$CC" +lt_save_CFLAGS="$CFLAGS" +AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \ MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ -deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ -$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ -|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 -echo "$as_me: error: libtool configure failed" >&2;} +deplibs_check_method="$deplibs_check_method" \ +file_magic_cmd="$file_magic_cmd" \ +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \ +--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \ +|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5 +echo "$as_me: error: libtool tag configuration failed" >&2;} { (exit 1); exit 1; }; } - -# Reload cache, that may have been modified by ltconfig -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . $cache_file;; - *) . ./$cache_file;; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' +CC="$lt_save_CC" +CFLAGS="$lt_save_CFLAGS" # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. @@ -6049,13 +6815,15 @@ done + for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \ asm/ioctls.h \ inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \ sys/time.h \ sys/select.h \ crt_externs.h \ - fcntl.h + fcntl.h \ + sys/mman.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -6316,6 +7084,13 @@ rm -f conftest* + + + + + + + for ac_func in ftruncate fsync select \ gethostname socket strerror fork pipe execve open close \ lseek fstat read write htonl memset htons connect \ @@ -6323,7 +7098,8 @@ for ac_func in ftruncate fsync select \ recvfrom send sendto setsockopt getsockopt time mktime \ localtime_r \ strerror_r \ - fcntl + fcntl \ + mmap munmap mincore msync madvise getpagesize sysconf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -9470,23 +10246,126 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_Xtst_XTestQueryExtension=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5 -echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6 -if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then - true -else - { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5 -echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;} +ac_cv_lib_Xtst_XTestQueryExtension=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5 +echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6 +if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then + true +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 + + + 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 + fi + + fi + + if test "x${COMPILE_QT_PEER}" = xyes; then + succeeded=no if test -z "$PKG_CONFIG"; then @@ -9540,32 +10419,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 QtGui >= 4.0.1" >&5 +echo $ECHO_N "checking for QtGui >= 4.0.1... $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 "QtGui >= 4.0.1" ; 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 + 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 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 - GTK_CFLAGS="" - GTK_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. - 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 + QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"` + echo $QT_PKG_ERRORS fi @@ -9579,11 +10458,99 @@ 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 (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;} { (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 @@ -11977,45 +12944,6 @@ fi; REMOVE="" -# Extract the first word of "sh", so it can be a program name with args. -set dummy sh; 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_SH+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $SH in - [\\/]* | ?:[\\/]*) - ac_cv_path_SH="$SH" # 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_SH="$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 - - ;; -esac -fi -SH=$ac_cv_path_SH - -if test -n "$SH"; then - echo "$as_me:$LINENO: result: $SH" >&5 -echo "${ECHO_T}$SH" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -12175,13 +13103,7 @@ fi - -# Check whether --with-glibj or --without-glibj was given. -if test "${with_glibj+set}" = set; then - withval="$with_glibj" - - if test "x${withval}" = xyes || test "x${withval}" = xzip; then - # Extract the first word of "zip", so it can be a program name with args. + # Extract the first word of "zip", so it can be a program name with args. set dummy zip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 @@ -12220,62 +13142,31 @@ else echo "${ECHO_T}no" >&6 fi + +# Check whether --with-glibj or --without-glibj was given. +if test "${with_glibj+set}" = set; then + withval="$with_glibj" + + if test "x${withval}" = xyes || test "x${withval}" = xzip; then install_class_files=no build_class_files=yes + use_zip=yes elif test "x${withval}" = xboth; then - # Extract the first word of "zip", so it can be a program name with args. -set dummy zip; 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_ZIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_ZIP="$ZIP" # 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_ZIP="$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 - - ;; -esac -fi -ZIP=$ac_cv_path_ZIP - -if test -n "$ZIP"; then - echo "$as_me:$LINENO: result: $ZIP" >&5 -echo "${ECHO_T}$ZIP" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - install_class_files=yes build_class_files=yes + use_zip=yes elif test "x${withval}" = xflat; then - ZIP= install_class_files=yes build_class_files=yes + use_zip=no elif test "x${withval}" = xno || test "x${withval}" = xnone; then - ZIP= install_class_files=no build_class_files=no + use_zip=no elif test "x${withval}" = xbuild; then - ZIP= install_class_files=no build_class_files=yes + use_zip=no else { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5 echo "$as_me: error: unknown value given to --with-glibj" >&2;} @@ -12284,51 +13175,13 @@ echo "$as_me: error: unknown value given to --with-glibj" >&2;} else - # Extract the first word of "zip", so it can be a program name with args. -set dummy zip; 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_ZIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_ZIP="$ZIP" # 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_ZIP="$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 - - ;; -esac -fi -ZIP=$ac_cv_path_ZIP - -if test -n "$ZIP"; then - echo "$as_me:$LINENO: result: $ZIP" >&5 -echo "${ECHO_T}$ZIP" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - install_class_files=no + use_zip=yes fi; -if test "x${ZIP}" != x; then +if test "x${use_zip}" = xyes; then INSTALL_GLIBJ_ZIP_TRUE= INSTALL_GLIBJ_ZIP_FALSE='#' else @@ -12370,7 +13223,7 @@ echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;} else EXAMPLESDIR="examples" fi; - if test "x${ZIP}" = x && test "x${install_class_files}" = xno; then + if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then EXAMPLESDIR="" fi @@ -12600,7 +13453,7 @@ 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/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/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" + 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_commands="$ac_config_commands gen-classlist" @@ -12730,6 +13583,13 @@ echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -12744,6 +13604,13 @@ 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__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" 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 @@ -13141,7 +14008,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by GNU Classpath $as_me 0.17+cvs, which was +This file was extended by GNU Classpath $as_me 0.18, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13207,7 +14074,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -GNU Classpath config.status 0.17+cvs +GNU Classpath config.status 0.18 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -13327,6 +14194,7 @@ do "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;; "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;; + "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;; "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;; "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;; "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;; @@ -13335,6 +14203,7 @@ do "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;; "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;; "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/target/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;; "native/target/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;; @@ -13345,6 +14214,7 @@ do "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.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" ;; @@ -13483,14 +14353,16 @@ 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,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t -s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t @@ -13499,12 +14371,19 @@ s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;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,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@LIBTOOL@,$LIBTOOL,;t t +s,@CXXCPP@,$CXXCPP,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@LIBICONV@,$LIBICONV,;t t @@ -13523,6 +14402,9 @@ 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 @@ -13558,7 +14440,6 @@ s,@LIBDEBUG@,$LIBDEBUG,;t t s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t s,@REMOVE@,$REMOVE,;t t -s,@SH@,$SH,;t t s,@MKDIR@,$MKDIR,;t t s,@CP@,$CP,;t t s,@DATE@,$DATE,;t t diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac index 1e92a56..96b425b 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.17+cvs],[classpath@gnu.org],[classpath]) +AC_INIT([GNU Classpath],[0.18],[classpath@gnu.org],[classpath]) AC_CONFIG_SRCDIR(java/lang/System.java) AC_CANONICAL_TARGET @@ -21,7 +21,16 @@ dnl We will not track/change lib version until we reach version 1.0 dnl at which time we'll have to be more anal about such things dnl ----------------------------------------------------------- AC_SUBST(LIBVERSION, "0:0:0") -CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined" +case "$host_os" in + darwin*) + cp_module="" + ;; + *) + cp_module="-module" + ;; +esac + +CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined" AC_SUBST(CLASSPATH_MODULE) AC_PREREQ(2.59) @@ -129,6 +138,19 @@ fi AM_CONDITIONAL(GTK_CAIRO, test "x${GTK_CAIRO_ENABLED}" = xtrue) dnl ----------------------------------------------------------- +dnl Qt native peer (disabled by default) +dnl ----------------------------------------------------------- +AC_ARG_ENABLE([qt-peer], + [AS_HELP_STRING(--enable-qt-peer,compile Qt4 native peers (disabled by --disable-jni) [default=no])], + [case "${enableval}" in + yes) COMPILE_QT_PEER=yes ;; + no) COMPILE_QT_PEER=no ;; + *) COMPILE_QT_PEER=yes ;; + esac], + [COMPILE_QT_PEER=no]) +AM_CONDITIONAL(CREATE_QT_PEER_LIBRARIES, test "x${COMPILE_QT_PEER}" = xyes) + +dnl ----------------------------------------------------------- dnl Regenerate headers at build time (disabled by default) dnl ----------------------------------------------------------- AC_ARG_ENABLE([regen-headers], @@ -147,7 +169,7 @@ AC_PROG_INSTALL dnl ----------------------------------------------------------- dnl Checks for programs. dnl ----------------------------------------------------------- -dnl AC_PROG_CXX +AC_PROG_CXX dnl Initialize libtool AC_DISABLE_STATIC AC_PROG_LIBTOOL @@ -175,7 +197,8 @@ if test "x${COMPILE_JNI}" = xyes; then sys/time.h \ sys/select.h \ crt_externs.h \ - fcntl.h]) + fcntl.h \ + sys/mman.h]) AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) @@ -189,7 +212,8 @@ if test "x${COMPILE_JNI}" = xyes; then recvfrom send sendto setsockopt getsockopt time mktime \ localtime_r \ strerror_r \ - fcntl]) + fcntl \ + mmap munmap mincore msync madvise getpagesize sysconf]) AC_HEADER_TIME AC_STRUCT_TM @@ -271,6 +295,24 @@ if test "x${COMPILE_JNI}" = xyes; then AC_SUBST(GTK_LIBS) 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]))) + 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) @@ -380,7 +422,6 @@ AC_SUBST(REMOVE) dnl ----------------------------------------------------------- dnl This is probably useless. dnl ----------------------------------------------------------- -AC_PATH_PROG(SH, sh) AC_PATH_PROG(MKDIR, mkdir) AC_PATH_PROG(CP, cp) AC_PATH_PROG(DATE, date) @@ -437,6 +478,7 @@ 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 @@ -445,6 +487,7 @@ 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 @@ -454,6 +497,7 @@ scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh -examples/Makefile]) +examples/Makefile +examples/Makefile.jawt]) AC_CONFIG_COMMANDS([gen-classlist],[chmod 755 lib/gen-classlist.sh]) AC_OUTPUT diff --git a/libjava/classpath/doc/Makefile.in b/libjava/classpath/doc/Makefile.in index 255b2ac..7c96cf9 100644 --- a/libjava/classpath/doc/Makefile.in +++ b/libjava/classpath/doc/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.5 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -91,8 +91,14 @@ CREATE_JNI_HEADERS_FALSE = @CREATE_JNI_HEADERS_FALSE@ CREATE_JNI_HEADERS_TRUE = @CREATE_JNI_HEADERS_TRUE@ CREATE_JNI_LIBRARIES_FALSE = @CREATE_JNI_LIBRARIES_FALSE@ CREATE_JNI_LIBRARIES_TRUE = @CREATE_JNI_LIBRARIES_TRUE@ +CREATE_QT_PEER_LIBRARIES_FALSE = @CREATE_QT_PEER_LIBRARIES_FALSE@ +CREATE_QT_PEER_LIBRARIES_TRUE = @CREATE_QT_PEER_LIBRARIES_TRUE@ CREATE_XMLJ_LIBRARY_FALSE = @CREATE_XMLJ_LIBRARY_FALSE@ CREATE_XMLJ_LIBRARY_TRUE = @CREATE_XMLJ_LIBRARY_TRUE@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE = @DATE@ DEFS = @DEFS@ @@ -154,6 +160,7 @@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKDIR = @MKDIR@ +MOC = @MOC@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -165,12 +172,13 @@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +QT_CFLAGS = @QT_CFLAGS@ +QT_LIBS = @QT_LIBS@ RANLIB = @RANLIB@ REGEN_PARSERS_FALSE = @REGEN_PARSERS_FALSE@ REGEN_PARSERS_TRUE = @REGEN_PARSERS_TRUE@ REMOVE = @REMOVE@ SET_MAKE = @SET_MAKE@ -SH = @SH@ SHELL = @SHELL@ STRICT_WARNING_CFLAGS = @STRICT_WARNING_CFLAGS@ STRIP = @STRIP@ @@ -192,10 +200,13 @@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ZIP = @ZIP@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -287,13 +298,7 @@ uninstall-info-am: # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -305,7 +310,7 @@ $(RECURSIVE_TARGETS): local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -313,13 +318,7 @@ $(RECURSIVE_TARGETS): mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -340,7 +339,7 @@ maintainer-clean-recursive: local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ diff --git a/libjava/classpath/doc/README.jaxp b/libjava/classpath/doc/README.jaxp index e067299..12fd052 100644 --- a/libjava/classpath/doc/README.jaxp +++ b/libjava/classpath/doc/README.jaxp @@ -17,6 +17,7 @@ PACKAGES . gnu.xml.xpath.* ... JAXP XPath implementation . gnu.xml.transform.* ... JAXP XSL transformer implementation . gnu.xml.pipeline.* ... SAX2 event pipeline support +. gnu.xml.stream.* ... StAX pull parser implementation . gnu.xml.util.* ... various XML utility classes . gnu.xml.libxmlj.dom.* ... libxmlj DOM Level 3 Core and XPath . gnu.xml.libxmlj.sax.* ... libxmlj SAX parser @@ -133,6 +134,11 @@ To enable the various GNU JAXP factories, set the following system properties GNU XSL transformer: -Djavax.xml.transform.TransformerFactory=gnu.xml.transform.TransformerFactoryImpl + GNU StAX: + -Djavax.xml.stream.XMLEventFactory=gnu.xml.stream.XMLEventFactoryImpl + -Djavax.xml.stream.XMLInputFactory=gnu.xml.stream.XMLInputFactoryImpl + -Djavax.xml.stream.XMLOutputFactory=gnu.xml.stream.XMLOutputFactoryImpl + libxmlj SAX: -Djavax.xml.parsers.SAXParserFactory=gnu.xml.libxmlj.sax.GnomeSAXParserFactory diff --git a/libjava/classpath/doc/api/Makefile.am b/libjava/classpath/doc/api/Makefile.am index 3e36c3b..9f7e808 100644 --- a/libjava/classpath/doc/api/Makefile.am +++ b/libjava/classpath/doc/api/Makefile.am @@ -6,6 +6,7 @@ sourcepath = $(top_builddir):$(top_srcdir):$(top_srcdir)/vm/reference:$(top_srcd classpathbox = "