summaryrefslogtreecommitdiff
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * java/nio/ByteBuffer.java (endian): Make non-private so otherbothner2004-02-166-96/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.nio classes can inherit it. (<init>): Don't bother clearing array_offset. * java/nio/ByteBuffer.java (allocate): Re-implement using wrap. * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow. Remove redundant test. * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer, asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer): Use new XxxViewBufferImpl constructors. * java/nio/MappedByteBufferImpl.java: Likewise. * java/nio/DirectByteBufferImpl.java: Likewise. * java/nio/ByteBufferImpl.java: Remove one constructor. Inline super in remaining constructor. * java/nio/ByteBuffer.java: Remove unused constructor. * java/nio/ByteBufferImpl.java (shiftDown): New optimized method. * java/nio/ByteBufferImpl.java (get, put): Add array_offset. * java/nio/DirectByteBufferImpl.java (owner): New field. (offset): Remove unused field. (<init>): Modify one and add another constructor. Change callers. (allocateDirect): Removed - not used. (getImpl, putImpl): Make static and pass address explicitly, to make them useful for MappedByteBufferImpl. (get, put): Check for underflow. Modify for new getImpl. (getImpl): New native method where target is array. (get(byte[],int,int)): Use the above. (adjustAddress): New static native method. (slice, duplicate, asReadOnly): New implementations. * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown, adjustAddress): New or updated native methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77919 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nio/CharViewBufferImpl.java: New convenience constructor.bothner2004-02-167-6/+67
| | | | | | | | | | | | Fix buggy call to super constructor. * java/nio/DoubleViewBufferImpl.java: Likewise. * java/nio/FloatViewBufferImpl.java: Likewise. * java/nio/IntViewBufferImpl.java: Likewise. * java/nio/LongViewBufferImpl.java: Likewise. * java/nio/ShortViewBufferImpl.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77917 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nio/CharBufferImpl.java: Inline super constructor.bothner2004-02-1613-48/+33
| | | | | | | | | | | | | | | | | * java/nio/DoubleBufferImpl.java: Likewise. * java/nio/FloatBufferImpl.java: Likewise. * java/nio/IntBufferImpl.java: Likewise. * java/nio/LongBufferImpl.java: Likewise. * java/nio/ShortBufferImpl.java: Likewise. * java/nio/CharBuffer.java: Remove unused constructor. * java/nio/DoubleBuffer.java: Likewise. * java/nio/FloatBuffer.java: Likewise. * java/nio/IntBuffer.java: Likewise. * java/nio/LongBuffer.java: Likewise. * java/nio/ShortBuffer.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77916 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>mkoch2004-02-152-2/+19
| | | | | | | | * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the overflow of fieldmapping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77843 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-14 Sascha Brawer <brawer@dandelis.ch>mkoch2004-02-142-216/+585
| | | | | | | * javax/swing/undo/UndoManager.java: Re-written from scratch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77827 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):bothner2004-02-142-1/+6
| | | | | | | Set closed before calling implCloseChannel, as in the spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77809 138bc75d-0d04-0410-961f-82ee72b054a4
* remove accidentally-committed extra makefile entry (not yet finished or added).graydon2004-02-122-80/+77
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77695 138bc75d-0d04-0410-961f-82ee72b054a4
* oops, forgot added and removed files.graydon2004-02-123-139/+203
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77694 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-09 Graydon Hoare <graydon@redhat.com>graydon2004-02-1235-749/+873
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/ToggleButtonModel.java: Remove dead class. * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class. * javax/swing/plaf/basic/BasicButtonListener.java: New class. * javax/swing/plaf/basic/BasicRootPaneUI.java: New class. * Makefile.am: Update for new and removed files. * Makefile.in: Regenerate. * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints. * javax/swing/AbstractButton.java (AbstractButton): Initialize fields correctly in ctor. * javax/swing/JCheckbox.java (JCheckBox): Override painting flags. * javax/swing/DefaultButtonModel.java: Conform to sun. * javax/swing/JComponent.java (paint): Fill with background color if available. (processComponentKeyEvent) (processFocusEvent) (processKeyEvent) (processMouseMotionEvent): Remove event-consuming empty methods. (getUIClassID): Return "ComponentUI" not "JComponent" * javax/swing/JFrame.java: Remove some debugging chatter. (JFrame): Subscribe to window events. * javax/swing/JRadioButton.java (JRadioButton): Override painting flags. * javax/swing/JRootPane.java (JRootPane): Set background from UIDefaults. * javax/swing/JToggleButton.java (ToggleButtonModel): New inner class. (JToggleButton): Override layout alighment. * javax/swing/SwingUtilities.java: (getLocalBounds): Return width and height, not x and y. (calculateInnerArea): Use local bounds, not bounds. (layoutCompoundLabel): Provide overridden form. (layoutCompoundLabel): Correct bugs. * javax/swing/UIDefaults.java: Correct comment. * javax/swing/plaf/basic/BasicButtonUI.java: Move most logic into defaults, external listener. (paintIcon): Implement icon painting. (paint): Fix state painting to conform to changes in model. * javax/swing/plaf/basic/BasicCheckBoxUI.java: Remove most dead/wrong methods. (getDefaultIcon): Return defaults.getIcon("CheckBox.icon"). * javax/swing/plaf/basic/BasicIconFactory.java: (DummyIcon): New class. (getMenuItemCheckIcon) (getMenuItemArrowIcon) (getMenuArrowIcon) (getCheckBoxMenuItemIcon) (getRadioButtonMenuItemIcon) (createEmptyFrameIcon): Return DummyIcons, not null. (getCheckBoxIcon): Implement an icon that looks like sun's. (getRadioButtonIcon): Implement an icon that looks like sun's. * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Fix impossible values, add some missing. * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field. * javax/swing/plaf/basic/BasicRadioButtonUI.java: Remove most dead/wrong methods. (icon): New field. (getDefaultIcon): New method. * javax/swing/plaf/basic/BasicToggleButtonUI.java: Remove most dead/wrong methods. * javax/swing/plaf/metal/MetalLookAndFeel.java (getDefaults): Return super.getDefaults(), not BasicDefaults. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Implement "clearing" as drawing, when on pixmap drawables. * javax/swing/JButton.java (getUIClassID): * javax/swing/JCheckBox.java (getUIClassID): * javax/swing/JEditorPane.java (getUIClassID): * javax/swing/JLabel.java (getUIClassID): * javax/swing/JList.java (getUIClassID): * javax/swing/JOptionPane.java (getUIClassID): * javax/swing/JPanel.java (getUIClassID): * javax/swing/JPasswordField.java (uiClassID): * javax/swing/JRadioButton.java (getUIClassID): * javax/swing/JRootPane.java (getUIClassID): * javax/swing/JScrollPane.java (getUIClassID): * javax/swing/JTabbedPane.java (getUIClassID): * javax/swing/JToggleButton.java (getUIClassID): * javax/swing/JTree.java (getUIClassID): * javax/swing/JViewport.java (getUIClassID): * javax/swing/text/JTextComponent.java (getUIClassID): Return "fooUI" not "Jfoo" git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77686 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-11 Michael Koch <konqueror@gmx.de>mkoch2004-02-117-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (setReuseAddress): Use Boolean.valueOf() instead of creating a new Boolean object. (setBroadcast): Likewise. * java/net/MulticastSocket.java (setLoopbackMode): Likewise. * java/net/ServerSocket.java (setReuseAddress): Likewise. * java/net/Socket.java (setTcpNoDelay): Likewise. (setSoLinger): Likewise. (setOOBInline): Likewise. (setKeepAlive): Likewise. (setReuseAddress): Likewise. * java/net/URLConnection.java (setContentHandler): Replace == with equals(). * java/net/URLStreamHandler.java (hostSEquals): Fix checking host addresses. (toExternalForm): Dont check protocol for null. We know already its not null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77670 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-10 David Jee <djee@redhat.com>djee2004-02-104-1/+14
| | | | | | | | | | | | | * java/awt/BorderLayout.java (calcCompSize): Invisible components get zero dimensions. * java/awt/Button.java (setLabel): Set actionCommand. * java/awt/Component.java (show): Invalidate component and parent container. (hide): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77613 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-10 David Jee <djee@redhat.com>djee2004-02-102-113/+376
| | | | | | | | | | | | * java/awt/GridBagLayout.java (GridBagLayout): New private field, internalcomptable. (lookupInternalConstraints): New method. (ArrangeGrid): Use components' MINSIZE. Use internalcomptable. (GetLayoutInfo): Reimplement. (calcCellSizes): Ignore rows/columns with size 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-10 Michael Koch <konqueror@gmx.de>mkoch2004-02-102-2/+8
| | | | | | | | | * gnu/java/awt/EmbeddedWindow.java (setHandle): Use java.awt.Component.getPeer() instead of java.awt.Component.peer directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-10 David Jee <djee@redhat.com>djee2004-02-103-1/+29
| | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkSetLabel): New native method definition. (setLabel): Use gtkSetLabel. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77604 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don'tamodra2004-02-102-19/+50
| | | | | | | | | | | bump retaddr here. * include/powerpc-signal.h: Revert 2004-01-21 change. (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return from syscall for ppc32 versions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77601 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nio/ByteBuffer.java (shiftDown): New helper method.bothner2004-02-0813-548/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation. * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method. * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers. Pass ByteOrder parameter to most methods, since the underlying ByteBuffer's order isn't always what we should use. * java/nio/ByteBufferImpl.java: Pass byte-order various places. * java/nio/DirectByteBufferImpl.java: Likewise. Use ByteBufferHelper methods. * java/nio/MappedByteBufferImpl.java: Likewise. (compact): Use shiftDown. * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order. (get, put): Use ByteBufferHelper. (compact): Use new shiftDown method. (duplicate(boolean)): New helper method. (duplicate, asReadOnlyBuffer): Use it. (order): Return endian field. * java/nio/DoubleViewBufferImpl.java: Likewise. * java/nio/FloatViewBufferImpl.java: Likewise. * java/nio/IntViewBufferImpl.java: Likewise. * java/nio/LongViewBufferImpl.java: Likewise. * java/nio/ShortViewBufferImpl.java: Likewise. * java/nio/CharViewBufferImpl.java (subsequence): Redundant test. * java/nio/DirectByteBufferImpl.java (shiftDown): New native method. (compact): Re-implement using shiftDown. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77501 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/x86_64-signal.h: Fix typo.aj2004-02-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77491 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatilednovillo2004-02-081-1/+1
| | | | | | | qualifier to _regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77489 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatilednovillo2004-02-081-0/+1
| | | | | | | qualifier to _regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77488 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/i386-signal.h (MAKE_THROW_FRAME): Add volatilednovillo2004-02-082-1/+6
| | | | | | | qualifier to _regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77484 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-06 Michael Koch <konqueror@gmx.de>mkoch2004-02-062-1/+10
| | | | | | | | * java/io/ObjectInputStream.java (currentClassLoader): Reverted to old version of this method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77397 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-06 Jeroen Frijters <jeroen@frijters.net>mkoch2004-02-064-595/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/ObjectInputStream.java: Made all calls to dumpElement[ln] conditional on dump flag. (readObject): Changed to use cached info from ObjectStreamClass. (readClassDescriptor): Cache more information in ObjectStreamClass. (processResolution, readFields): Use cached info from ObjectStreamClass. (newObject): Throw exception instead of returning null for failure. (getField, getMethod, callReadMethod, setBooleanField, setByteField, setCharField, setDoubleField, setFloatField, setIntField, setLongField, setShortField, setObjectField, readObjectParams): Removed. (dumpElement, dumpElementln): Removed dump flag condition check. * java/io/ObjectStreamField.java (hasReadMethod): Removed. (setClass): Added call to cacheMethods() (findMethod): New method. (cacheMethods): New method. (ObjectStreamClass): Added call to cacheMethods(). (setFields): Cache fields. (getClassUID): Use AccessController.doPrivileged to invoke setAccessible. (readObjectMethod, readResolveMethod, realClassIsSerializable, realClassIsExternalizable, fieldMapping, firstNonSerializableParent): New fields. * java/io/ObjectStreamField.java (ObjectStreamField): New constructor. (ObjectStreamField): Removed FIXME workaround. (getTypeString, isPrimitive): Made safe for cases where type == null. (setBooleanField, setByteField, setCharField, setShortField, setIntField, setLongField, setFloatField, setDoubleField, setObjectField): New methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77395 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2004-02-052-1/+8
| | | | | | | | * java/awt/Component.java (getFont): Return a default font instead of null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77352 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2004-02-053-108/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/Scrollbar.java (next_scrollbar_number): New field. (Scrollbar (int, int, int, int, int)): Make default page increment 10. (setValues): Only call peer.setValues if one of the values has changed. (generateName): New method. (getUniqueLong): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c (range_scrollbar): Remove structure. (post_adjustment_event): Remove function. (post_change_event): Accept jobject argument. (create): Cast jints to gdoubles. Round scrollbar values to the nearest integer. Clamp min, max and value settings. (connectJObject): Connect hook to widget->window. (connectSignals): Remove range_scrollbar structure variables. Remove "move-slider" connection. Pass global peer reference to "value-changed" callback. (setLineIncrement): Cast jint value to gdouble. (setPageIncrement): Likewise. (setValues): Likewise. Clamp min, max and value settings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77332 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-0514-130/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/AbstractCellEditor.java (getCellEditorValue): Removed. * javax/swing/Box.java: Reformated. (serialVersionUID): New field. * javax/swing/ButtonGroup.java: Removed some weird whitespace. * javax/swing/CellEditor.java: Reformated. * javax/swing/CellRendererPane.java (serialVersionUID): New field. (AccessibleCellRendererPaneserialVersionUID): New field. * javax/swing/DefaultListModel.java (serialVersionUID): New field. * javax/swing/JEditorPane.java (serialVersionUID): New field. (setPage): Throws IOException. (addHyperlinkListener): Implemented. (removeHyperlinkListener): Implemented. (getHyperlinkListener): New method. * javax/swing/JFileChooser.java (serialVersionUID): New field. (AccessibleJFileChooser.serialVersionUID): New field. (addActionListener): Implemented. (removeActionListener): Implemented. (getActionListeners): New method. * javax/swing/JFormattedTextField.java (serialVersionUID): New field. (AbstractFormatter.serialVersionUID): New field. (clone): Throws CloneNotSupportedException (setEditValid): Add missing argument. (stringToValue): Throws ParseExcpetion. (valueToString): Throws ParseException. (commitEdit): Throws ParseException. * javax/swing/JLabel.java (serialVersionUID): New field. * javax/swing/JList.java (serialVersionUID): New field. (addListSelectionListener): Reformated. (removeListSelectionListener): Reformated. (getListSelectionListeners): New method. * javax/swing/colorchooser/AbstractColorChooserPanel.java: Reformated. (serialVersionUID): New field. * javax/swing/table/AbstractTableModel.java (getValueAt): Removed. (getColumnCount): Removed. (getRowCount): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77329 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-052-7/+13
| | | | | | | | | * java/awt/datatransfer/DataFlavor.java (imageFlavor): Javadoc added. (javaJVMLocalObjectType): Fixed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77328 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-052-264/+270
| | | | | | | | | | | | | * java/lang/Thread.java (Thread): Reordered. (setContextClassLoader): Fixed javadoc comment. (setPriority): Reordered. (yield): Reordered. (initialize_native): Reordered. (gen_name): Reordered. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77327 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-052-86/+107
| | | | | | | | | * java/lang/Thread.java: Reordered fields, reformated much code, no functional changes, some variables renamed, javadoc comments merged. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77322 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-054-109/+299
| | | | | | | | | | * java/util/zip/Deflater.java, java/util/zip/DeflaterOutputStream.java, java/util/zip/GZIPInputStream.java: Reformated and javadoc comments merged from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77319 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-053-3/+10
| | | | | | | | | | | * gnu/java/nio/NIOServerSocket.java (impl): Unused, removed. * gnu/java/nio/SocketChannelImpl.java (finnishConnect): Don't throw NoConnectionPendingException if not connected or no connection pending. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77317 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-02 Graydon Hoare <graydon@redhat.com>graydon2004-02-044-106/+652
| | | | | | | | | | * javax/swing/SwingUtilities.java: Many new functions. * java/awt/Container.java (LightweightDispatcher): Reimplement. * javax/swing/basic/BasicGraphicsUtils.java (getPreferredButtonSize): Start layout from top-left corner. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77271 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/geom/AffineTransform.java:rodimina2004-02-042-8/+57
| | | | | | | | | | | | Corrected comments on the field definitions for m11 and m10. (shear): Fixed few errors that caused shear transformation to be performed incorrectly. (createInverse): Fixed to return correct inverse of the given matrix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77261 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (startProcess): Handle case wheretromey2004-02-042-3/+8
| | | | | | | PATH or LD_LIBRARY_PATH is not set in parent environment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77203 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2004-02-0323-698/+713
| | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkListPeer.java, java/awt/BorderLayout.java, java/awt/CardLayout.java, java/awt/CheckboxGroup.java, java/awt/Choice.java, java/awt/Component.java, java/awt/Container.java, java/awt/FontMetrics.java, java/awt/GridBagLayout.java, java/awt/LayoutManager2.java, java/awt/List.java, java/awt/Menu.java, java/awt/MenuBar.java, java/awt/MenuItem.java, java/awt/Polygon.java, java/awt/Rectangle.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/image/renderable/RenderContext.java, javax/swing/JApplet.java: Fix handling of alias methods, where a method has been deprecated in favour of a new one with the same funtion but a different name. Put the method implementation in the deprecated method and have the new method call the deprecated one. Make all other code call the new method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77178 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/nio/DatagramChannelImpl.javamembar2004-02-034-12/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | (inChannelOperation): New field. (isInChannelOperation): New accessor. (setInChannelOperation): New modifier. (receive): Use capacity() - position() of destination buffer instead of remaining(). Set and reset our "in channel operation indicator" before and after delegating the receive to our datagram socket. Removed testing code. Update destination buffer's current position if it is backed by a byte array (hasArray() is true). (send): Set and reset our "in channel operation indicator" before and after delegating the send to our datagram socket. Removed testing code. Update source buffer's current position if it is backed by a byte array (hasArray() is true). * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)): Use capacity() - position() of destination buffer instead of remaining(). * java/net/DatagramSocket.java (receive): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this operation. (send): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77173 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2004-02-023-82/+185
| | | | | | | | * configure.in: Add pkgconfig check for glib and gthread. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77093 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-01 Michael Koch <konqueror@gmx.de>mkoch2004-02-014-2/+12
| | | | | | | | | | * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused arguments. * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused. * verify.cc (debug_print): Mark 'fmt' unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77079 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-30 Michael Koch <konqueror@gmx.de>mkoch2004-01-307-1639/+494
| | | | | | | | | | | | * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1. * configure: Regenerated. * glib-2.0.m4: Removed. * gtk-2.0.m4: Removed. * libart.m4: Removed. * pkg.m4: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76993 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/net/PlainSocketImpl.javamembar2004-01-307-26/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (inChannelOperation): New field. (isInChannelOperation): New accessor. (setInChannelOperation): New modifier. * gnu/java/nio/ServerSocketChannelImpl.java (accept): Set and reset our server socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the accept to our server socket. * gnu/java/nio/SocketChannelImpl.java (connect): Set and reset our socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the operation to our socket. (read): Likewise. (write): Likewise. * java/net/ServerSocket.java (implAccept): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this accept operation. * java/net/Socket.java (connect): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this connect operation. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Only call implConfigureBlocking() if the desired blocking mode is different from our current one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76956 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedReader.java (sbuf): New field.membar2004-01-303-25/+41
| | | | | | | | | | | | | | | | (readLine): Use String.valueOf instead of new String() as per Per Bothner's suggestion. Use instance sbuf field instead of a local StringBuffer instance. * java/io/InputStreamReader.java (read(char[],int,int)): Pass the caller's buffer to refill(). (read(void)): Pass our internal work buffer to refill if our input queue is empty. (refill): Changed return type to int. Use the specified buffer instead of our work buffer as per Bryce McKinlay's suggestion. Return the number of characters read or -1 for EOF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76927 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.sgilbertson2004-01-291-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76900 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libjava/ChangeLogsgilbertson2004-01-291-0/+26
| | | | | | | | | from Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76899 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.sgilbertson2004-01-296-9/+393
| | | | | | | | | | | | | | | * Makefile.in: Re-generated. * gnu/awt/xlib/XFontPeer.java: New file. * gnu/awt/xlib/XGraphics.java (setFont): Test for null font. (setClip): Commented out debug printout. * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit. (getFontPeer): Return XFontPeer. (getLocalGraphicsEnvironment): New method. (getClasspathFontPeer): New method. (createFont): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76891 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Neversgilbertson2004-01-292-0/+7
| | | | | | | return null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76874 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-29 Kim Ho <kho@redhat.com>kho2004-01-293-0/+45
| | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkFramePeer.java (gtkLayoutSetVisible): New method (setMenuBar): Hide layout before setting MenuBar and reshow it after. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (gtkLayoutSetVisible): Hide or show the Gtk Layout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76861 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-28 Michael Koch <konqueror@gmx.de>mkoch2004-01-282-14/+5
| | | | | | | | * gnu/java/lang/ClassHelper.java (getPackagePortion): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76809 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-28 Michael Koch <konqueror@gmx.de>mkoch2004-01-283-51/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/JComponent.java (listenerList): Initalize globally. (ancestor_list): Removed. (veto_list): Removed. (change_list): Removed. (get_veto_list): Removed. (get_change_list): Removed. (get_ancestor_list): Removed. (removeAncestorListener): Reimplemented. (removePropertyChangeListener): Likewise. (removeVetoableChangeListener): Likewise. (addAncestorListener): Likewise. (addPropertyChangeListener): Likewise. (addVetoableChangeListener): Likewise. (getListeners): New method. (getAncestorListeners): Likewise. (getVetoableChangeListeners): Likewise. (fireVetoableChange): Throws PropertyVetoException. * javax/swing/JEditorPane.java (JEditorPane): Throws IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76802 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-28 David Jee <djee@redhat.com>djee2004-01-282-0/+7
| | | | | | | | | * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Set the default foreground color to java.awt.SystemColor.windowText. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-27 Michael Koch <konqueror@gmx.de>mkoch2004-01-273-2/+8
| | | | | | | | | * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Reindented to merge with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-27 David Jee <djee@redhat.com>djee2004-01-272-4/+64
| | | | | | | | | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (addExposeFilter): Handle GtkFramePeer separately. (removeExposeFilter): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76751 138bc75d-0d04-0410-961f-82ee72b054a4