OSDN Git Service

* lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 52c0ce1..991730d 100644 (file)
@@ -1,3 +1,390 @@
+2003-05-16  Michael Koch  <konqueror@gmx.de>
+
+       * java/io/natFileDescriptorPosix.cc
+       (open): Commented out the O_SYNC and O_DSYNC usage until its better
+       tested.
+
+2003-05-14  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/FileLockImpl.java
+       (released): New member variable.
+       (FileLockImpl): Initialize released.
+       (releaseImpl): New native method.
+       (release): Implemented.
+       * gnu/java/nio/SelectorImpl.java: Reformatted.
+       * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
+       * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
+       (accept): Throws IOException.
+       * gnu/java/nio/SocketChannelImpl.java: Reformatted.
+       (implConfigureBlocking): Throws IOException.
+       (connect): Likewise.
+       (read): Likewise.
+       (write): Likewise.
+       * gnu/java/nio/natFileLockImpl.cc: New file.
+       * java/nio/channels/FileLock.java: Reformatted.
+       * Makefile.am:
+       (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
+       (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
+       * Makefile.in: Regenerated.
+
+2003-05-13  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/CharViewBufferImpl.java
+       (CharViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+       * gnu/java/nio/DoubleViewBufferImpl.java
+       (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+       * gnu/java/nio/FloatViewBufferImpl.java
+       (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+       * gnu/java/nio/IntViewBufferImpl.java
+       (IntViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+       * gnu/java/nio/LongViewBufferImpl.java
+       (LongViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+       * gnu/java/nio/ShortViewBufferImpl.java
+       (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
+       (get): Shift bits to the right direction.
+       (put): Likewise.
+
+2003-05-13  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/natDirectByteBufferImpl.cc
+       (allocateImpl): jlong -> RawData*.
+       (freeImpl): Likewise.
+
+2003-05-13  Michael Koch  <konqueror@gmx.de>
+
+       * java/nio/channels/FileChannel.java
+       (MapMode.m): Made it package-private to match JDK 1.4.
+       * java/nio/charset/Charset.java
+       (decode): Made it final to match JDK 1.4.
+
+2003-05-13  Michael Koch  <konqueror@gmx.de>
+
+       * java/io/FileDescriptor.java
+       (SYNC): New constant.
+       (DSYNC): Likewise.
+       (getLength): Renamed from lenght() to match classpath's
+       FileDescriptor.java.
+       * java/io/RandomAccessFile.java
+       (RandomAccessFile): Removed unneeded mode check, implemented mode
+       "rws" and "rwd", merged documentation from classpath.
+       (setLength): Reformatted.
+       (length): Use new getLength() of FileDescriptor.
+       * java/io/natFileDescriptorEcos.cc
+       (getLength): Renamed from length().
+       * java/io/natFileDescriptorPosix.cc
+       (open): Implemented support for SYNC and DSYNC.
+       (seek): Use getLength() instead of length().
+       (getLength): Renamed from length().
+       * java/io/natFileDescriptorWin32.cc
+       (getLength): Renamed from length().
+       (seek): Use getLength() instead of length().
+       (available): Likewise.
+       * gnu/java/nio/natFileChannelImpl.cc
+       (size): Use getLength() instead of length().
+
+2003-05-13  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/ByteBufferImpl.java
+       (ByteBufferImpl): All constructors revised.
+       (slice): Reimplemented.
+       (duplicate): Reimplemented.
+       (asReadOnlyBuffer): Reimplemented.
+       * java/nio/ByteBuffer.java:
+       Reformatted.
+       (array_offset): Renamed from "offset" to match all other buffer
+       classes.
+       (ByteBuffer): All constructors revised.
+       (allocateDirect): Implemented.
+       (allocate): New implementation, documentation reworked.
+       (wrap): Likewise.
+       (get): Documentation reworked.
+       (put): New implementation, documentation reworked.
+       (hasArray): Documentation reworked.
+       (arrayOffset): Likewise.
+       (hashCode): Likewise.
+       (equals): Likewise.
+       (compareTo): Likewise.
+       (order): Likewise.
+       (compact): Likewise.
+       (isDirect): Likewise.
+       (slice): Likewise.
+       (duplicate): Likewise.
+       (asReadOnlyBuffer): Likewise.
+       * Makefile.am
+       (ordinary_java_source_files):
+       Added gnu/java/nio/DirectByteBufferImpl.java.
+       (nat_source_files):
+       Added gnu/java/nio/natDirectByteBufferImpl.cc.
+       * Makefile.in: Regenerated.
+
+2003-05-12  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/ByteBufferImpl.java: Reformatted.
+       (nio_get_*): Removed.
+       (nio_put_*): Removed.
+       (as*Buffer): Implemented.
+       (compact): Implemented.
+       (get): Documentation added.
+       (put): Documentation added.
+       (get*): Newly implemented.
+       (put*): Newly implemented.
+       * gnu/java/nio/CharBufferImpl.java: Reformatted.
+       (CharBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * gnu/java/nio/DirectByteBufferImpl.java
+       (allocateDirect): objects can be null not 0.
+       * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
+       (DoubleBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * gnu/java/nio/FloatBufferImpl.java: Reformatted.
+       (FloatBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * gnu/java/nio/IntBufferImpl.java: Reformatted.
+       (IntBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * gnu/java/nio/LongBufferImpl.java: Reformatted.
+       (LongBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * gnu/java/nio/ShortBufferImpl.java: Reformatted.
+       (ShortBufferImpl): Revised.
+       (slice): New implementation.
+       (duplicate): New implementation.
+       (compact): New implementation.
+       (asReadOnlyBuffer): New implementation.
+       (get): Documentation revised.
+       (order): Return native byte order.
+       * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
+       (CharBuffer): Revised.
+       (order): Removed.
+       * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
+       (DoubleBuffer): Revised.
+       (allocateDirect): Removed.
+       (order): Removed.
+       * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
+       (FloatBuffer): Revised.
+       (allocateDirect): Removed.
+       (order): Removed.
+       * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
+       (IntBuffer): Revised.
+       (allocateDirect): Removed.
+       (order): Removed.
+       * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
+       (LongBuffer): Revised.
+       (allocateDirect): Removed.
+       (order): Removed.
+       * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
+       (ShortBuffer): Revised.
+       (allocateDirect): Removed.
+       (order): Removed.
+       * gnu/java/nio/natByteBufferImpl.cc: Removed.
+       * gnu/java/nio/natCharBufferImpl.cc: Removed.
+       * Makefile.am
+       (ordinary_java_source_files): Added the following files:
+       gnu/java/nio/CharViewBufferImpl.java,
+       gnu/java/nio/DoubleViewBufferImpl.java,
+       gnu/java/nio/FloatViewBufferImpl.java,
+       gnu/java/nio/IntViewBufferImpl.java,
+       gnu/java/nio/LongViewBufferImpl.java,
+       gnu/java/nio/ShortViewBufferImpl.java
+       (nat_source_files): Removed the following files:
+       gnu/java/nio/natByteBufferImpl.cc,
+       gnu/java/nio/natCharBufferImpl.cc
+       * Makefile.in: Regenerated.
+
+2003-05-12  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/CharViewBufferImpl.java,
+       gnu/java/nio/DirectByteBufferImpl.java,
+       gnu/java/nio/DoubleViewBufferImpl.java,
+       gnu/java/nio/FloatViewBufferImpl.java,
+       gnu/java/nio/IntViewBufferImpl.java,
+       gnu/java/nio/LongViewBufferImpl.java,
+       gnu/java/nio/ShortViewBufferImpl.java,
+       gnu/java/nio/natDirectByteBufferImpl.cc:
+       New files, not yet to be compiled.
+
+2003-05-10  Michael Koch  <konqueror@gmx.de>
+
+       * javax/swing/plaf/ButtonUI.java,
+       javax/swing/plaf/ColorUIResource.java,
+       javax/swing/plaf/ComponentUI.java,
+       javax/swing/plaf/DimensionUIResource.java,
+       javax/swing/plaf/FontUIResource.java,
+       javax/swing/plaf/IconUIResource.java,
+       javax/swing/plaf/InsetsUIResource.java,
+       javax/swing/plaf/LabelUI.java,
+       javax/swing/plaf/ListUI.java,
+       javax/swing/plaf/OptionPaneUI.java,
+       javax/swing/plaf/PanelUI.java,
+       javax/swing/plaf/TabbedPaneUI.java,
+       javax/swing/plaf/TextUI.java,
+       javax/swing/plaf/TreeUI.java,
+       javax/swing/plaf/ViewportUI.java,
+       javax/swing/plaf/basic/BasicBorders.java,
+       javax/swing/plaf/basic/BasicButtonUI.java,
+       javax/swing/plaf/basic/BasicCheckBoxUI.java,
+       javax/swing/plaf/basic/BasicDefaults.java,
+       javax/swing/plaf/basic/BasicGraphicsUtils.java,
+       javax/swing/plaf/basic/BasicIconFactory.java,
+       javax/swing/plaf/basic/BasicLabelUI.java,
+       javax/swing/plaf/basic/BasicListUI.java,
+       javax/swing/plaf/basic/BasicOptionPaneUI.java,
+       javax/swing/plaf/basic/BasicPanelUI.java,
+       javax/swing/plaf/basic/BasicRadioButtonUI.java,
+       javax/swing/plaf/basic/BasicScrollPaneUI.java,
+       javax/swing/plaf/basic/BasicTabbedPaneUI.java,
+       javax/swing/plaf/basic/BasicTextUI.java,
+       javax/swing/plaf/basic/BasicToggleButtonUI.java,
+       javax/swing/plaf/basic/BasicTreeUI.java,
+       javax/swing/plaf/basic/BasicViewportUI.java,
+       javax/swing/plaf/metal/MetalLookAndFeel.java:
+       New versions from classpath. This adds copyrights to all files and
+       some serialVersionUIDs.
+
+2003-05-10  Michael Koch  <konqueror@gmx.de>
+
+       * java/nio/CharBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+       * java/nio/DoubleBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+       (put): Reformatted.
+       * java/nio/FloatBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+       * java/nio/IntBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+       * java/nio/LongBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+       * java/nio/ShortBuffer.java
+       (offset): Make it package-private.
+       (backing_buffer): Likewise.
+
+2003-05-10  Michael Koch  <konqueror@gmx.de>
+
+       * java/nio/CharBuffer.java
+       (put): Fixed precondtion check.
+       (toString): Make it work without backing array.
+       (put): Skip one level of method calling.
+
+2003-05-10  Michael Koch  <konqueror@gmx.de>
+
+       * java/security/Identity.java,
+       java/security/IdentityScope.java,
+       java/security/Key.java,
+       java/security/KeyPair.java,
+       java/security/PrivateKey.java,
+       java/security/Provider.java,
+       java/security/PublicKey.java,
+       java/security/SecureRandom.java,
+       java/security/SecureRandomSpi.java,
+       java/security/SignedObject.java,
+       java/security/Signer.java,
+       java/security/cert/Certificate.java,
+       java/security/cert/PKIXCertPathBuilderResult.java,
+       java/security/cert/X509Certificate.java:
+       New versions from classpath.
+
+2003-05-09  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (nat_source_files): Removed old files.
+       * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
+       * gnu/java/nio/natFloatBufferImpl.cc: Removed.
+       * gnu/java/nio/natIntBufferImpl.cc: Removed.
+       * gnu/java/nio/natLongBufferImpl.cc: Removed.
+       * gnu/java/nio/natShortBufferImpl.cc: Removed.
+
+2003-05-09  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/ByteBufferImpl.java
+       (nio_cast): Removed.
+       (ByteBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       (asCharBuffer): Removed implementation and throw exception.
+       (asShortBuffer): Likewise.
+       (asIntBuffer): Likewise.
+       (asLongBuffer): Likewise.
+       (asFloatBuffer): Likewise.
+       (asDoubleBuffer): Likewise.
+       * gnu/java/nio/CharBufferImpl.java
+       (CharBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/DoubleBufferImpl.java
+       (DoubleBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/FloatBufferImpl.java
+       (FloatBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/IntBufferImpl.java
+       (IntBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/LongBufferImpl.java
+       (LongBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/ShortBufferImpl.java
+       (ShortBufferImpl): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       (asByteBuffer): Removed.
+       * gnu/java/nio/natByteBufferImpl.cc
+       (nio_cast): Removed.
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+       * gnu/java/nio/natCharBufferImpl.cc
+       (nio_get_Byte): Removed.
+       (nio_put_Byte): Removed.
+
 2003-05-09  Michael Koch  <konqueror@gmx.de>
 
        * java/net/JarURLConnection.java