Tom Tromey
4982b6384a
natFont.cc (getAscent): Correctly access "ascent" field.
...
* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".
From-SVN: r67695
2003-06-10 02:45:07 +00:00
Scott Gilbertson
0940ed88c4
natFont.cc (getMaxAscent): adjusted return value.
...
2003-06-09 Scott Gilbertson <scottg@mantatest.com>
* gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
(getMaxDescent): adjusted return value.
(getAscent): modified to use metrics for 'O'.
(getDescent): modified to use metrics for 'y'.
From-SVN: r67692
2003-06-10 01:50:12 +00:00
Anthony Green
a8a8de4875
URLStreamHandler.java (sameFile): Fix port value comparison.
...
2003-06-08 Anthony Green <green@redhat.com>
* java/net/URLStreamHandler.java (sameFile): Fix port value
comparison.
* java/net/URL.java (handler): Make package private.
* gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
From-SVN: r67640
2003-06-08 22:07:48 +00:00
Tom Tromey
0a56537c16
For PR libgcj/11085:
...
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
Limit number of characters in numeric field when required.
* java/text/DecimalFormat.java (parse(String,ParsePosition)):
Respect maximumIntegerDigits.
From-SVN: r67633
2003-06-08 19:00:02 +00:00
Michael Koch
742ed2f3da
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(Socket): Dont initialize inputShutdown and outputShutdown twice,
call bind() and connect() to actually do the bind and connect tasks.
(bind): Connect to canonical address if bindpoint is null, create
socket and bind it to bindpoint.
(connect): Check for exceptions.
From-SVN: r67618
2003-06-08 10:12:09 +00:00
Michael Koch
f61e212582
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
into the Multicast constructors.
* java/net/DatagramSocketImpl.java
(getOption): Removed.
(setOption): Removed.
* java/net/MulticastSocket.java
(MulticastSocket): Call setReuseAddress (true).
* java/net/SocketImpl.java
(getOption): Removed.
(setOption): Removed.
From-SVN: r67617
2003-06-08 09:25:54 +00:00
Jeff Sturm
31de261d68
re PR libgcj/10886 (The RMI registry that comes with GCJ does not work correctly)
...
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
From-SVN: r67610
2003-06-08 01:35:32 +00:00
Mark Wielaard
39072dc8df
Security.java (secprops): Initialize.
...
* java/security/Security.java (secprops): Initialize.
(loadProviders): Return boolean.
(static): Check result of loadProvider calls. If necessary
display WARNING and fallback to Gnu provider.
From-SVN: r67597
2003-06-07 18:38:09 +00:00
Mark Wielaard
60e9f0d726
re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)
...
2002-06-06 James Clark <jjc@jclark.com>
Fix for PR libgcj/8738:
* gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
* gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
(write): Always decrease avail when count is increased.
* java/lang/natString.cc (getBytes): Check converter havePendingBytes()
and whether output buffer is full before increasing size.
2002-06-06 Mark Wielaard <mark@klomp dot org>
* java/io/PrintStream.java (writeChars(char[],int, int)):
Check converter.havePendingBytes().
(writeChars(String,int,int)): Likewise.
* java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
Check converter.havePendingBytes() and flush buffer when stalled.
From-SVN: r67595
2003-06-07 18:35:00 +00:00
Michael Koch
248e983efb
2003-06-07 Michael Koch <konqueror@gmx.de>
...
* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).
From-SVN: r67587
2003-06-07 14:30:32 +00:00
Mark Wielaard
6d8176f059
Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.
...
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
AWTError.
From-SVN: r67542
2003-06-06 13:12:47 +00:00
Michael Koch
b82a670a20
BasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.
...
2003-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.
From-SVN: r67531
2003-06-06 06:21:02 +00:00
Matt Kraai
86fb951d4c
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
...
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
From-SVN: r67526
2003-06-06 03:34:36 +00:00
Loren J. Rittle
49c72d225b
posix.h (O_SYNC): Define if not available and a reasonable...
...
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
From-SVN: r67517
2003-06-05 22:37:02 +00:00
Michael Koch
7786a3e47a
BorderUIResource.java, [...]: More compile fixes for latest Border commit.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...
From-SVN: r67513
2003-06-05 21:18:31 +00:00
Michael Koch
486f6e5f72
2003-06-05 Michael Koch <konqueror@gmx.de>
...
* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.
From-SVN: r67511
2003-06-05 20:57:39 +00:00
Michael Koch
48243c88a7
Border.java: New version from classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/Border.java:
New version from classpath.
From-SVN: r67508
2003-06-05 20:03:26 +00:00
Michael Koch
93152c2fd6
AbstractBorder.java, [...]: New versions from Classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/border/EmptyBorder.java,
javax/swing/border/EtchedBorder.java,
javax/swing/border/LineBorder.java,
javax/swing/border/MatteBorder.java,
javax/swing/border/TitledBorder.java:
New versions from Classpath.
From-SVN: r67507
2003-06-05 19:59:44 +00:00
Michael Koch
fe7f8a4ebd
Button.java, [...]: New versions from Classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.
From-SVN: r67506
2003-06-05 19:58:40 +00:00
Scott Gilbertson
9faf44582d
SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true).
...
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).
From-SVN: r67504
2003-06-05 17:57:31 +00:00
Bert Deknuydt
ad23ad2cbe
posix-threads.h: Include <machine/pal.h> on OSF.
...
2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
* include/posix-threads.h: Include <machine/pal.h> on OSF.
From-SVN: r67491
2003-06-05 15:43:58 +00:00
Andrew Haley
9f47031337
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.
...
2003-06-03 Andrew Haley <aph@redhat.com>
* include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
stack volatile to prevent optimization from removing it.
From-SVN: r67379
2003-06-03 16:13:22 +00:00
Michael Koch
98ad580793
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/Deflater.java
(FILTERED): Merged documentation from classpath.
* java/util/zip/DeflaterOutputStream.java
(DeflaterOutputStream): Merged documentation and argument validity
check from classpath.
(deflate): Merged documentation from classpath.
(finish): Likewise.
* java/util/zip/Inflater.java
(Inflater): Merged class documentation from classpath.
(zstream): Reordered.
(is_finished): Reordered.
(dict_needed): Reordered.
(Inflater): Reordered, merged documentation from classpath.
(end): Likewise.
(finalize): Merged documentation from classpath.
(finished): Likewise.
(getAdler): Likewise.
(getRemaining): Likewise.
(getTotalIn): Likewise.
(getTotalOut): Likewise.
(inflate): Likewise.
(needsDictionary): Likewise.
(needsInput): Likewise.
(reset): Likewise.
(setDictionary): Likewise.
(setInput): Likewise.
From-SVN: r67185
2003-05-27 06:34:29 +00:00
Michael Koch
5191f392bb
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/net/URLConnection.java
(getHeaderFieldInt): Merged with classpath.
From-SVN: r67184
2003-05-27 06:17:57 +00:00
Michael Koch
c414a2c3c9
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/io/PrintStream.java
(PrintStream): Reformatted.
(PrintStream): New method, merged from classpath.
(write): Reformatted.
From-SVN: r67183
2003-05-27 06:04:28 +00:00
Michael Koch
91adbcf731
System.java: Explicitely import needed classes.
...
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/lang/System.java:
Explicitely import needed classes.
From-SVN: r67182
2003-05-27 06:03:14 +00:00
Michael Koch
b91c701d19
NetPermission.java, [...]: New versions from classpath.
...
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
2003-05-26 12:58:02 +00:00
Michael Koch
c7684ffe55
PushbackInputStream.java, [...]: Merged new versions from classpath.
...
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/io/PushbackInputStream.java,
java/net/Authenticator.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/URLStreamHandlerFactory.java:
Merged new versions from classpath.
From-SVN: r67165
2003-05-25 11:40:19 +00:00
Michael Koch
eceea3010f
Checkbox.java, [...]: New versions from classpath.
...
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/awt/Checkbox.java,
java/awt/Dialog.java,
java/awt/Font.java,
java/awt/Frame.java,
java/awt/ScrollPaneAdjustable.java,
java/awt/Scrollbar.java,
java/awt/Window.java:
New versions from classpath.
From-SVN: r67164
2003-05-25 11:24:27 +00:00
Jeff Sturm
a8e097d6db
re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)
...
PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.
From-SVN: r67111
2003-05-23 03:15:36 +00:00
Michael Koch
669e91abfa
2003-05-20 Michael Koch <konqueror@gmx.de>
...
* java/io/DataInputStream.java
(convertFromUTF): Merged comment from classpath.
* java/io/PrintStream.java
(error_occured): Renamed from error, merged comment from classpath.
(PrintStream): No need to initialized error.
(checkError): Replace error with error_occurred.
(setError): Likewise.
From-SVN: r66997
2003-05-20 11:53:11 +00:00
Michael Koch
c93aa80414
DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation.
...
2003-05-20 Michael Koch <konqueror@gmx.de>
* java/io/DataInputStream.java:
Reformatted, Replaced < and & with html entitites in documentation.
* java/io/File.java:
Reformatted.
* java/io/PrintWriter.java:
Moved class documentation.
From-SVN: r66992
2003-05-20 09:13:19 +00:00
Michael Koch
3a5eb28322
ByteBufferImpl.java, [...]: Moved files to java/nio.
...
2003-05-20 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java,
gnu/java/nio/CharBufferImpl.java,
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc,
gnu/java/nio/ShortBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java:
Moved files to java/nio.
* gnu/java/nio/SocketChannelImpl.java
* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
Dont import anything.
* java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/CharViewBufferImpl.java,
java/nio/DirectByteBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/natDirectByteBufferImpl.cc,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java:
Moved from gnu/java/nio.
* Makefile.am
(ordinary_java_source_files): Moved files from gnu/java/nio to
java/nio.
(nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
to java/nio.
* Makefile.in: Regenerated.
From-SVN: r66990
2003-05-20 08:58:31 +00:00
Michael Koch
336931c175
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* java/util/Calendar.java
(get): Not final anymore since JDK 1.4
(set): Likewise.
From-SVN: r66956
2003-05-19 09:14:57 +00:00
Michael Koch
66852893a2
CollationKey.java: Merged copyright and dat from classpath.
...
2003-05-19 Michael Koch <konqueror@gmx.de>
* java/text/CollationKey.java:
Merged copyright and dat from classpath.
* java/text/RuleBasedCollator.java:
Merged class documentation from classpath.
From-SVN: r66955
2003-05-19 09:09:23 +00:00
Michael Koch
27d645f767
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* java/nio/CharBuffer.java
(toString): Compile fix.
From-SVN: r66953
2003-05-19 07:48:35 +00:00
Michael Koch
10832fce7c
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/ByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/DirectByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/FileLockImpl.java
(isValid): Reformatted.
* java/nio/Buffer.java
(Buffer): Fixed off-by-one bug in handling mark.
* java/nio/ByteBuffer.java:
Added newline.
* java/nio/CharBuffer.java
(toString): Don't use relative get to get string data.
From-SVN: r66946
2003-05-19 06:59:23 +00:00
Michael Koch
18abc5e1d9
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.
From-SVN: r66859
2003-05-16 08:09:32 +00:00
Michael Koch
cc1b3d6b64
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.
From-SVN: r66799
2003-05-14 06:37:59 +00:00
Michael Koch
d24273abda
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.
From-SVN: r66780
2003-05-13 20:11:02 +00:00
Michael Koch
c484a5fbd3
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/natDirectByteBufferImpl.cc
(allocateImpl): jlong -> RawData*.
(freeImpl): Likewise.
From-SVN: r66760
2003-05-13 12:57:32 +00:00
Michael Koch
c6f824e248
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.
From-SVN: r66756
2003-05-13 10:25:00 +00:00
Michael Koch
e48d8b8886
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().
From-SVN: r66755
2003-05-13 09:13:31 +00:00
Michael Koch
3b6b673dab
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.
From-SVN: r66749
2003-05-13 06:04:19 +00:00
Michael Koch
36d4669b73
ByteBufferImpl.java: Reformatted.
...
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.
From-SVN: r66733
2003-05-12 20:45:20 +00:00
Michael Koch
5560b019e4
CharViewBufferImpl.java, [...]: New files, not yet to be compiled.
...
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.
From-SVN: r66727
2003-05-12 18:32:17 +00:00
Michael Koch
9ca5e6948d
ButtonUI.java, [...]: New versions from classpath.
...
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.
From-SVN: r66658
2003-05-10 08:14:36 +00:00
Michael Koch
ddf87cfafa
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.
From-SVN: r66657
2003-05-10 07:50:00 +00:00
Michael Koch
c363e02d01
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.
From-SVN: r66656
2003-05-10 07:41:59 +00:00
Michael Koch
2d133a9fd0
Identity.java, [...]: New versions from classpath.
...
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.
From-SVN: r66655
2003-05-10 07:12:48 +00:00