OSDN Git Service

2002-03-07 Adam Megacz <adam@xwt.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index c2132ab..7483b4c 100644 (file)
@@ -1,3 +1,202 @@
+2002-03-07  Adam Megacz  <adam@xwt.org>
+
+        * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
+        WIN32, and added thunks for read(), write(), and close().
+        * java/net/natPlainSocketImpl.cc (accept, read, read):
+        Disabled timeouts on WIN32 pending discussion.
+
+2002-03-07  Adam Megacz  <adam@xwt.org>
+
+        * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
+        returns jlong. Added implementation
+        * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
+        returns jlong.
+        * win32.h (_Jv_platform_gettimeofday): Now takes no args,
+        returns jlong.
+        * posix.h (_Jv_platform_gettimeofday): Now takes no args,
+        returns jlong.
+        * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
+        _Jv_platform_gettimeofday signature.
+       
+2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
+       (read): Call recv() directly, not _Jv_recv().
+
+2002-03-06  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/natFileDescriptorEcos.cc (init): Don't use
+       GetStdHandle.
+       * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
+       is negative.
+       (init): Don't use GetStdHandle.
+
+       * include/config.h.in: Rebuilt.
+       * configure: Rebuilt.
+       * Makefile.in: Rebuilt.
+
+2002-03-06  Adam Megacz  <adam@xwt.org>
+
+        * java/io/FileDescriptor.java: Initialize in/out/err in init().
+        * java/io/natFileDescriptorWin32.cc (init()): Added function.
+        * java/io/natFileDescriptorPosix.cc (init()): Added function.
+        * java/io/natFileDescriptorEcos.cc (init()): Added function.
+
+2002-03-06  Eric Blake  <ebb9@email.byu.edu>
+
+       * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
+       the code for generating include/java-chartables.h.
+       * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
+       merge with Classpath.
+       * scripts/unicode-muncher.pl: Copy from Classpath.
+       * scritps/MakeCharTables.java: New file.
+       * gnu/gcj/convert/Blocks-3.txt: New file.
+       * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
+       * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
+       * gnu/java/lang/CharData.java: Copy from Classpath.
+       * Makefile.am (ordinary_java_source_files): Add
+       gnu/java/lang/CharData.java.
+       * configure.in: Remove --enable-fast-character option.
+       * java/lang/Character.java: Merge algorithms and Javadoc with
+       Classpath.
+       * java/lang/natCharacter.cc: Implement Unicode lookup table more
+       efficiently.
+       * include/java-chardecomp.h: Regenerate.
+       * include/java-chartables.h: Regenerate.
+
+2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/awt/MediaTracker.java: Implemented.
+       * Makefile.am: Add MediaTracker.
+       * Makefile.in: Rebuilt.
+
+2002-03-05  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natPosixProcess.cc (fail): Removed.
+       (startProcess): Simplified error-handling.  Preserve
+       LD_LIBRARY_PATH across exec.
+
+       * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
+       AbstractMethodError.
+
+2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * Makefile.am: Use -bootclasspath, not -CLASSPATH.
+       * Makefile.in: Rebuilt.
+
+2002-03-03 Mark Wielaard <mark@klomp.org>
+
+       * java/util/Timer (TaskQueue.stop): set elements to zero.
+
+2002-02-28  Anthony Green  <green@redhat.com>
+
+       * java/lang/reflect/natMethod.cc (result): Add void* element.
+       (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
+       constructor test.
+
+2002-02-27  Adam Megacz <adam@xwt.org>
+
+       * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
+       '#undef STRICT'.
+
+2002-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natSystem.cc (init_properties): Use __VERSION__.
+       * gij.cc (version): Use __VERSION__.
+       * include/config.h.in: Rebuilt.
+       * acconfig.h (GCJVERSION): Removed.
+       * configure: Rebuilt.
+       * configure.in (GCJVERSION): Removed.
+
+2002-02-26  Andreas Schwab  <schwab@suse.de>
+
+       * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
+       glibcpp_CXX, since libjava uses even another CXX.
+       * aclocal.m4, configure: Regenerated.
+
+2002-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
+       `1'.
+
+2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
+       dependency tracking for .java files.
+       * Makefile.in: Rebuilt.
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
+       typo. Sorry.
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
+       for Win32, changed #ifdefs to check WIN32 instead of the
+       (now-obsolete) USE_WINSOCK, and removed support for socket
+       timeouts on Win32 pending further discussion.
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
+       * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
+       delete
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * java/lang/Win32Process.java: Created a dummy class to allow
+       build process to run to completion.
+
+2002-02-24  Jeff Sturm  <jsturm@one-point.com>
+
+       * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
+       Define ffi_result union for ffi_call result.  Cast
+       ffi_result members to jvalue.
+2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
+       * testsuite/Makefile.in: Likewise.
+
+2002-02-20  Per Bothner  <per@bothner.com>
+
+       * java/net/URL.java (getPath):  New JDK 1.3 method.
+
+       * java/net/URLStreamHandler.java (parseURL):
+       It is wrong to prepend '/' to the file part of a relative url.
+
+       * java/net/URLStreamHandler.java (parseURL):
+       Minor optizations - append '/' rather than "/".
+
+       * java/net/URLStreamHandler.java (parseURL):
+       Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
+       We probably should canonicalize for a context-relative url, though.
+       * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
+       * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
+       (sameFile):  New method.  Uses canonicalizeFilename.
+
+2002-02-22  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
+       java.vendor and java.vm.vendor.
+       * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
+       recent copyright date.
+       * gnu/gcj/convert/Convert.java (version): Print `Inc'.
+       * gij.cc (version): Print `Inc'.
+
+2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
+       * aclocal.m4, configure: Rebuilt.
+
+2002-02-20  Per Bothner  <per@bothner.com>
+
+       * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
+       and/or output streams immediately here, instead of using File.exists.
+       (inputStream, outputStream):  New fields to save open streams.
+       (getInputStream, getOutputStream):  Use already-opened streams.
+
 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
 
        * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.