aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2003-05-25PushbackInputStream.java, [...]: Merged new versions from classpath.Michael Koch11-418/+396
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-25Checkbox.java, [...]: New versions from classpath.Michael Koch7-16/+221
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-23re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)Jeff Sturm1-1/+1
PR libgcj/10838: * java/io/ObjectInputStream (enableResolveObject): Fixed spelling of permission name. From-SVN: r67111
2003-05-202003-05-20 Michael Koch <konqueror@gmx.de>Michael Koch2-6/+12
* 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-20DataInputStream.java: Reformatted, Replaced < and & with html entitites in ↵Michael Koch3-147/+158
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-20ByteBufferImpl.java, [...]: Moved files to java/nio.Michael Koch22-15/+2793
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-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+6
* java/util/Calendar.java (get): Not final anymore since JDK 1.4 (set): Likewise. From-SVN: r66956
2003-05-19CollationKey.java: Merged copyright and dat from classpath.Michael Koch2-2/+88
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-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+3
* java/nio/CharBuffer.java (toString): Compile fix. From-SVN: r66953
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch3-3/+4
* 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-162003-05-16 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+2
* java/io/natFileDescriptorPosix.cc (open): Commented out the O_SYNC and O_DSYNC usage until its better tested. From-SVN: r66859
2003-05-142003-05-14 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+1
* 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-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+2
* 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-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch5-20/+35
* 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-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch1-140/+161
* 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-12ByteBufferImpl.java: Reformatted.Michael Koch6-377/+1282
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-102003-05-10 Michael Koch <konqueror@gmx.de>Michael Koch6-13/+13
* 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-102003-05-10 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+8
* 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-10Identity.java, [...]: New versions from classpath.Michael Koch14-14/+17
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-092003-05-09 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+19
* java/net/JarURLConnection.java (getJarEntry): Merged documentation from classpath. (getJarFile): Likewise. (getMainAttributes): Likewise. (getAttributes): Likewise. (getManifest): Likewise. (getCertificates): Reformatted. * java/net/URLConnection.java: Little classpath merge. From-SVN: r66625
2003-05-092003-05-09 Michael Koch <konqueror@gmx.de>Michael Koch3-26/+110
* java/io/DataOutputStream.java (writeShort): Made it synchronized. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Liekwise. (writeUTF): Made it synchronized, renamed argument to match classpath. * java/io/InputStreamReader.java (converter): Added documentation. (read): Merged documentation from classpath. * java/io/OutputStreamWriter.java (OutputStreamWriter): Merged documentation from classpath. (close): Reformatted. (getEncoding): Likewise. (flush): Likewise. (write): Merged documentation from classpath, reformatted. From-SVN: r66624
2003-05-062003-05-06 Michael Koch <konqueror@gmx.de>Michael Koch5-98/+264
* java/io/DataOutputStream.java (write): Renamed argument to "value", merged documentation from classpath. (writeBoolean): Likewise. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * java/io/File.java (performDelete): Added documentation. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (delete): Made it sychronized. (renameTo): Made it sychronized. (equals): Reformatted. (isHidden): Likewise. (listFiles): Likewise. (setReadOnly): Likewise. (listRoots): Likewise. (setLastModified): Likewise. (checkRead): Likewise. (checkWrite): Likewise. * java/io/FileInputStream.java (skip): Made it sychronized, merged from classpath. * java/io/FileOutputStream.java (write): Merged from classpath. * java/io/InputStreamReader.java: (InputStreamReader): Merged documentation from classpath. From-SVN: r66520
2003-05-052003-05-05 Michael Koch <konqueror@gmx.de>Michael Koch1-9/+6
* java/net/NetworkInterface.java (networkInterfaces): Removed. (getByName): Use getRealNetworkInterfaces() instead of networkInterfaces. (getByInetAddress): Likewise. (getNetworkInterfaces): Likewise. (toString): Fix output of addresses of an interface. From-SVN: r66500
2003-05-05DataInputStream.java: Reordered methods to match libgcj.Michael Koch1-49/+66
2003-05-04 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reordered methods to match libgcj. From-SVN: r66478
2003-05-05Forgot to add this to commit line on 2003/05/02. Its in Changelog already.Michael Koch1-1/+0
>2003-05-02 Michael Koch <konqueror@gmx.de> > > * java/net/URI.java > (create): Doesnt throws any exceptions. From-SVN: r66474
2003-05-03GtkButtonPeer.java: Fix misspelling of "version".Matt Kraai4-4/+4
* libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of "version". * libjava/gnu/awt/gtk/GtkComponentPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkContainerPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkFramePeer.java: Likewise. * libjava/gnu/awt/gtk/GtkLabelPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkMainThread.java: Likewise. * libjava/gnu/awt/gtk/GtkToolkit.java: Likewise. * libjava/gnu/awt/gtk/GtkWindowPeer.java: Likewise. * libjava/java/security/Key.java: Likewise. * libjava/java/security/PrivateKey.java: Likewise. * libjava/java/security/Provider.java: Likewise. * libjava/java/security/PublicKey.java: Likewise. From-SVN: r66431
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch1-60/+96
* java/net/URI.java (create): Doesnt throws any exceptions. * java/net/URLConnection.java (URLConnection): Commend added. (getExpiration): The header field is called "expires" not "expiration". (getHeaderField): Merged documentation with classpath. (getHeaderFieldInt): Likewise. (getHeaderFieldDate): Likewise. (getHeaderFieldKey): Likewise. (getPermission): Likewise. (setDefaultUseCaches): Likewise. (setRequestProperty): Likewise. (addRequestProperty): Likewise. (getRequestProperty): Likewise. (getRequestProperties): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (guessContentTypeFromStream): Likewise. (getFileNameMap): Likewise. (setFileNameMap): Likewise. (setDoInput): Merged implementation and documentation with classpath. (setDoOutput): Likewise. (setAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (setContentHandlerFactory): Made it synchronized, merged documentation with classpath. (guessContentTypeFromName): Renamed argument fname to filename to match classpath, merged documentation with classpath. From-SVN: r66384
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch3-69/+228
* java/net/JarURLConnection.java (JarURLConnection): Class documentation merged with classpath. (getJarFileURL): Moved and documentation merged with classpath. (getEntryName): Likewise. (JarURLConnection): Documentation merged with classpath. (getJarEntry): Likewise. (getJarFile): Likewise. * java/net/PlainDatagramSocketImpl.java: Class documentation moved. * java/net/URLConnection.java (fileNameMap): Moved and documentation merged with classpath. (factory): Likewise. (defaultAllowUserInteraction): Likewis. (defaultUseCaches): Likewise. (allowUserInteraction): Likewise. (connected): Likewise. (url): Likewise. (connect): Documentation merged with classpath. (getURL): Likewise. (getContentLength): Likewise. (getContentType): Likewise. (getContentEncoding): Likewise. (getExpiration): Likewise. (getDate): Likewise. (getLastModified): Likewise. (getHeaderField): Likewise. (getContent): Likewise. (getPermission): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (toString): Likewise. (getDoInput): Likewise. (getDoOutput): Likewise. (setAllowUserInteraction): Likewise. (getAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (getDefaultAllowUserInteraction): Likewise. (setUseCaches): Likewise. (getUseCaches): Likewise. (setIfModifiedSince): Likewise. (getIfModifiedSince): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (setContentHandlerFactory): Likewise. (setFileNameMap): Likewise. From-SVN: r66379
2003-05-02InetAddress.java: Merged class documentation with classpath.Michael Koch5-18/+114
2003-05-02 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Merged class documentation with classpath. * java/net/JarURLConnection.java: Explicitely import all used classes. * java/net/URL.java: Reformatting. * java/net/ServerSocket.java, java/net/Socket.java: New versions from classpath. From-SVN: r66376
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+8
* gnu/java/nio/FileChannelImpl.java (read): New implementation. (implRead): New methods. (write): New implementation, call other write insteal of read method. (implWrite): New methods. (map): Added comment. (transferFrom): Implemented. (transferTo): Implemented. (lock): Added checks to throw exceptions. (truncate): Added check to throw exception. * gnu/java/nio/natFileChannelImpl.cc (implRead): New method. (implWrite): New method. * java/nio/ByteBuffer.java (hashCode): Fixed comment. (get): Fixed exception documentation. (put): Fixed exception documentation. * java/nio/CharBuffer.java: Added comment for later optimizations. From-SVN: r66373
2003-05-01re PR libgcj/10582 (array assignment fails in some situations)Tom Tromey1-16/+24
PR libgcj/10582: * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): Removed. (type::compatible): Use _Jv_IsAssignableFrom. * java/lang/natClass.cc (iindex_mutex_initialized): Now static. (_Jv_IsAssignableFrom): Work even when source or target class is not prepared. From-SVN: r66348
2003-04-302003-04-30 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+15
* java/text/BreakIterator.java (clone): New method. From-SVN: r66289
2003-04-30CollationElementIterator.java, [...]: Merged copyright and documentation ↵Michael Koch3-86/+300
from classpath and rearranged some code. 2003-04-30 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/RuleBasedCollator.java: Merged copyright and documentation from classpath and rearranged some code. No code changes done. From-SVN: r66288
2003-04-302003-04-30 Michael Koch <konqueror@gmx.de>Michael Koch2-13/+274
* java/util/regex/Matcher.java (pattern): New member variable. (appendReplacement): New method. (appendTail): New method. (end): New method. (find): New method. (group): New method. (replaceFirst): Added documentation. (replaceAll): Added documentation. (groupCount): New method. (lookingAt): New method. (matches): New method. (reset): New method. (start): New method. * java/util/regex/Pattern.java (serialVersionUID): New constant. (CANON_EQ): New constant. (CASE_INSENSITIVE): New constant. (COMMENTS): New constant. (DOTALL): New constant. (MULTILINE): New constant. (UNICODE_CASE): New constant. (UNIX_LINES): New constant. (regex): New member variable. (flags): New member variable. (Pattern): New method. (compile): Documentation added. (flags): New method. (matches): Documentation added. (matcher): Documentation added. (split): Documentation added. (pattern): New method. From-SVN: r66285
2003-04-30Engine.java, [...]: New files from classpath.Michael Koch39-442/+3910
2003-04-30 Michael Koch <konqueror@gmx.de> * gnu/java/security/Engine.java, gnu/java/security/OID.java, gnu/java/security/der/BitString.java, gnu/java/security/der/DER.java, gnu/java/security/der/DERReader.java, gnu/java/security/der/DERValue.java, gnu/java/security/der/DERWriter.java, gnu/java/security/provider/DSAKeyFactory.java, gnu/java/security/provider/X509CertificateFactory.java, gnu/java/security/x509/X500DistinguishedName.java, gnu/java/security/x509/X509CRL.java, gnu/java/security/x509/X509CRLEntry.java, gnu/java/security/x509/X509Certificate.java, java/security/cert/CRLSelector.java, java/security/cert/CertPathBuilder.java, java/security/cert/CertPathBuilderResult.java, java/security/cert/CertPathBuilderSpi.java, java/security/cert/CertPathParameters.java, java/security/cert/CertPathValidator.java, java/security/cert/CertPathValidatorResult.java, java/security/cert/CertPathValidatorSpi.java, java/security/cert/CertSelector.java, java/security/cert/CertStore.java, java/security/cert/CertStoreParameters.java, java/security/cert/CertStoreSpi.java, java/security/cert/CollectionCertStoreParameters.java, java/security/cert/LDAPCertStoreParameters.java, java/security/cert/PKIXBuilderParameters.java, java/security/cert/PKIXCertPathBuilderResult.java, java/security/cert/PKIXCertPathChecker.java, java/security/cert/PKIXCertPathValidatorResult.java, java/security/cert/PKIXParameters.java, java/security/cert/PolicyNode.java, java/security/cert/PolicyQualifierInfo.java, java/security/cert/TrustAnchor.java, javax/security/auth/x500/X500Principal.java: New files from classpath. * gnu/java/io/ASN1ParsingException.java, gnu/java/io/Base64InputStream.java, gnu/java/security/der/DEREncodingException.java, gnu/java/security/provider/DSAParameters.java, gnu/java/security/provider/DSASignature.java, gnu/java/security/provider/Gnu.java, gnu/java/security/provider/GnuDSAPrivateKey.java, gnu/java/security/provider/GnuDSAPublicKey.java, java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/KeyFactory.java, java/security/KeyPairGenerator.java, java/security/KeyStore.java, java/security/MessageDigest.java, java/security/SecureClassLoader.java, java/security/SecureRandom.java, java/security/Security.java, java/security/Signature.java, java/security/cert/Certificate.java, java/security/cert/CertificateFactory.java, java/security/cert/CertificateFactorySpi.java, java/security/cert/X509CRL.java, java/security/cert/X509Certificate.java, java/security/spec/DSAPublicKeySpec.java: New versions from classpath. * gnu/java/security/provider/DERReader.java, gnu/java/security/provider/DERWriter.java, java/security/Engine.java: Removed. * Makefile.am (java_source_files, javax_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r66283
2003-04-29PropertyPermission.java: New version from classpathMichael Koch2-6/+31
2003-04-29 Michael Koch <konqueror@gmx.de> * java/util/PropertyPermission.java: New version from classpath * java/util/ResourceBundle.java: Partly merged from classpath (getObject): Reformated. (tryBundle): Set foundBundle = null if no bundle found. From-SVN: r66214
2003-04-292003-04-29 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+2
* java/awt/Window.java (show): Call super.show() instead of setVisible() to avoid endless loop. (hide): Call super.hide() instead of setVisible() to avoid endless loop. From-SVN: r66208
2003-04-29Deflater.java, [...]: Partly merged with classpath.Michael Koch2-7/+39
2003-04-29 Michael Koch <konqueror@gmx.de> * java/util/zip/Deflater.java, java/util/zip/DeflaterOutputStream.java: Partly merged with classpath. From-SVN: r66207
2003-04-28natString.cc (_Jv_AllocString): Initialize cachedHashCode.Tom Tromey1-0/+2
* java/lang/natString.cc (_Jv_AllocString): Initialize cachedHashCode. (init): Likewise. (_Jv_NewStringUtf8Const): Likewise. From-SVN: r66180
2003-04-25jvm.h: (_Jv_GetNbArgs) added (_Jv_GetSafeArg) added (_Jv_SetArgs) addedMohan Embar1-5/+1
2003-03-29 Mohan Embar <gnustuff@thisiscool.com> * include/jvm.h: (_Jv_GetNbArgs) added (_Jv_GetSafeArg) added (_Jv_SetArgs) added * prims.cc: (_Jv_GetNbArgs) implemented (_Jv_GetSafeArg) implemented (_Jv_SetArgs) implemented (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly setting _Jv_argc and _Jv_argv * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg() instead of _Jv_argv * java/lang/natRuntime.cc: (insertSystemProperties) use _Jv_GetSafeArg() instead of _Jv_argv From-SVN: r66067
2003-04-20Container.java (addImpl): Enable paint events if adding a lightweight to a ↵Scott Gilbertson1-6/+14
heavyweight. 2003-04-20 Scott Gilbertson <scottg@mantatest.com> * java/awt/Container.java (addImpl): Enable paint events if adding a lightweight to a heavyweight. (addNotify): Ensure that peer is created before addNotifyContainerChildren. (addNotifyContainerChildren): Enable paint events if a heavyweight container contains a lightweight. From-SVN: r65870
2003-04-20BufferedReader.java, [...]: Imports from Classpath.Tom Tromey4-19/+20
* java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/DataInput.java, java/io/DataOutput.java: Imports from Classpath. From-SVN: r65868
2003-04-19Date.java, [...]: New versions from Classpath.Tom Tromey4-17/+177
* java/sql/Date.java, java/sql/DriverManager.java, java/sql/Time.java, java/sql/Timestamp.java: New versions from Classpath. From-SVN: r65831
2003-04-19Makefile.in: Rebuilt.Tom Tromey21-1887/+3752
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added new files. * java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/Engine.java, java/security/Identity.java, java/security/IdentityScope.java, java/security/KeyFactory.java, java/security/KeyPairGenerator.java, java/security/KeyStore.java, java/security/MessageDigest.java, java/security/Policy.java, java/security/ProtectionDomain.java, java/security/SecureRandom.java, java/security/Security.java, java/security/Signature.java, java/security/SignatureSpi.java, java/security/SignedObject.java, java/security/Signer.java, java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, java/security/spec/PSSParameterSpec.java, java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java, java/security/spec/RSAOtherPrimeInfo.java: New versions from Classpath. From-SVN: r65829
2003-04-19XGraphics.java (XGraphics): Use new GC.create.Scott Gilbertson1-4/+11
2003-04-19 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create. (dispose): Null metrics. * gnu/awt/xlib/XToolkit.java (sync): Implement. * gnu/gcj/xlib/Clip.java (dispose): Change name of native from finalize. (finalize): Call dispose. * gnu/gcj/xlib/Drawable.java (gcCache): New field. (gcCachedCount): New field. (finalize): New method. (putGCInCache): New method. (getGCFromCache): New method. * gnu/gcj/xlib/GC.java (GC): Make protected. (clone): Get new GC from cache if possible. (create): New static method. (dispose): Save old GC in cache. * gnu/gcj/xlib/natClip.cc (dispose): Check for null before deleting. * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc is null. * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create. * java/awt/Container.java (visitChild): Dispose gfx2 when finished. From-SVN: r65827
2003-04-19BigInteger.java (probablePrime): New.Jerry Quinn2-0/+22
2003-04-19 Jerry Quinn <jlquinn@optonline.net> * java/math/BigInteger.java (probablePrime): New. * java/math/BigDecimal.java (unscaledValue): New. From-SVN: r65825
2003-04-19File.java (getAbsolutePath): On Windows, take care of paths like "C:", ↵Ranjit Mathew2-10/+102
"G:foo\bar", etc. 2003-04-19 Ranjit Mathew <rmathew@hotmail.com> * java/io/File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc. (getName): Make it work correctly on Windows. (getParent): Make it work correctly on Windows. For UNIX, fix bug that causes "/" to be returned as the parent of "/", instead of null as returned by Sun's JRE. * java/io/natFileWin32.cc: Change copyright owner to FSF. From-SVN: r65823
2003-04-16ieeefp.h: Handle ARM platforms that have pure-endian floating point.Richard Earnshaw1-2/+12
* java/lang/ieeefp.h: Handle ARM platforms that have pure-endian floating point. From-SVN: r65693
2003-04-072003-04-07 Aaron M. Renn (arenn@urbanophile.com)Aaron M. Renn9-73/+241
* java/io/ObjectStreamException * java/io/FileFilter * java/io/FilenameFilter * java/io/ObjectInput * java/io/ObjectOutput * java/io/ObjectStreamConstants Minor doc fixes, format fixes, spelling corrections, etc. * java/io/DataInput Corrected code samples in Javadocs to match reality * java/io/DataOutput * java/io/ObjectInputValidation Major documentation fixes - all Javadocs re-written or updated From-SVN: r65329
2003-04-06URLConnection.java: Import classes directly.Michael Koch1-15/+80
2003-04-06 Michael Koch <konqueror@gmx.de> * java/net/URLConnection.java: Import classes directly. (URLConnection): Merged class documentation with classpath. (url): Moved, documentation from classpath added. (doInput): Moved, documentation from classpath added. (doOutput): Moved, documentation from classpath added. (allowUserInteraction): Moved. (useCaches): Moved, documentation from classpath added. (ifModifiedSince): Moved, documentation from classpath added. (connected): Moved, documentation from classpath added. From-SVN: r65301