OSDN Git Service

improve open-coding of complex divide, use new method in g77
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 1a0e8a5..b554fb5 100644 (file)
@@ -1,3 +1,202 @@
+1999-05-17  Tom Tromey  <tromey@cygnus.com>
+
+       * java/lang/natSystem.cc (init_properties): URL now points to
+       sourceware.
+
+1999-05-12  Per Bothner  <bothner@cygnus.com>
+
+       * java/util/Calendar.java (set):  First call computeFields if needed.
+       * java/util/natGregorianCalendar.cc (computeTime):  Cast 1000 to jlong.
+       
+1999-05-12  Tom Tromey  <tromey@cygnus.com>
+
+       * configure: Rebuilt.
+       * configure.in: Look for -ldl when using the Boehm collector.
+       Look for sched_yield in -lposix4.
+
+1999-05-12  Per Bothner  <bothner@cygnus.com>
+
+       * java/io/File.java (mkdirs):  Handle a null parent directory.
+
+1999-05-12  Tom Tromey  <tromey@cygnus.com>
+
+       * include/javaprims.h: Updated namespace declarations.
+       * classes.pl (scan): Uniquify class list.
+       * Makefile.in, configure: Rebuilt.
+       * Makefile.am (nat_source_files): Added natConcreteProcess.cc.
+       (built_java_source_files): New macro.
+       (nat_headers): Added built_java_source_files.
+       (javao_files): Likewise.
+       (EXTRA_libgcj_la_SOURCES): Likewise.
+       (libgcj.zip): Create built class files.
+       ($(built_java_source_files:.java=.class)): New target.
+       (jv_convert_LDADD): Added -L$(here)/.libs.
+       * configure.in: Create links for ConcreteProcess.java and
+       natConcreteProcess.cc.
+       * java/lang/Runtime.java (exec): Create a ConcreteProcess.
+       * java/lang/natEcosProcess.cc: New file.
+       * java/lang/EcosProcess.java: New file.
+       * java/lang/PosixProcess.java: New file.
+       * java/lang/natPosixProcess.cc: New file.
+
+1999-05-12  Warren Levy  <warrenl@cygnus.com>
+
+       * java/net/PlainSocketImpl.java: Corrected copyright & header comments.
+       * java/net/SocketImpl.java: Added marker for JDK 1.2 work.
+       * java/net/natPlainSocketImpl.cc (bind): Throw BindException.
+       (connect): Throw ConnectException.
+
+1999-05-11  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec.
+       * libgcj.spec.in: Don't use `+'.  Instead, put old lib spec after
+       our libraries.
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed
+       and it causes problems with libtool.
+
+       * Makefile.in, configure: Rebuilt.
+       * Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs.
+       (jv_convert_LDADD): Added ZLIBS.  Removed -lm, -lc, -lgcc.
+       (jv_convert_DEPENDENCIES): Added ZDEPS.
+       * configure.in (GCSPEC): Added `-L' to point to boehm-gc build
+       directory.
+       (THREADSPEC): Added `-L' to point to qthreads build directory.
+       (ZLIBS): New subst.
+       (ZDEPS): New subst.
+
+       * configure, Makefile.in: Rebuilt.
+       * Makefile.am (toolexeclib_DATA): New macro.
+       * configure.in: Create libgcj.spec.  Look for -lsocket and -lnsl.
+       Recognize --with-system-zlib.
+       (GCSPEC): New subst.
+       (THREADSPEC): New subst.
+       (SYSTEMSPEC): New subst.
+       (ZLIBSPEC): New subst.
+       * libgcj.spec.in: New file.
+
+1999-05-10  Tom Tromey  <tromey@cygnus.com>
+
+       * java/io/InputStreamReader.java (read): If length is 0, return
+       0.  Reset `wpos' and `wcount' when buffer has been filled and
+       emptied.
+
+       * java/util/Properties.java (save): Removed `FIXME' comment.
+       (load): Invalid characters in \u now treated as terminators.
+       Make sure to append character resulting from `\' handling.
+       Cast to `char' when appending to key or value.
+       (skip_ws): Inverted test for whitespace.
+
+       * java/io/RandomAccessFile.java (RandomAccessFile): Removed
+       `FIXME' comment.
+       (readLine): Likewise.
+       (readFully): Implemented.
+
+       * java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.
+
+       * java/awt/natToolkit.cc: Added copyright header.
+       * java/util/zip/InflaterInputStream.java: Added copyright header.
+
+       * java/io/FilterWriter.java (FilterWriter): Removed `FIXME'
+       comment.
+       * java/io/SequenceInputStream.java (SequenceInputStream): Removed
+       `FIXME' comment.
+       (getNextStream): Likewise.
+
+       * java/util/ResourceBundle.java (partialGetBundle): Explicitly use
+       locale.toString().
+       (getBundle): Don't explicitly throw null pointer exception.
+
+       * gnu/gcj/RawData.java: Added copyright header.
+
+       * include/jni.h (_Jv_va_list): Always define as va_list.
+
+1999-05-9  Anthony Green  <green@cygnus.com>
+
+       * java/text/DateFormat.java (computeInstance): Separate time
+       and date styles.
+       (getDateTimeInstance): Ditto.
+       (getDateTimeInstance(int,int)): New method.
+
+        * Makefile.in: Rebuilt.
+       * Makefile.am (ordinary_java_source_files): Add new classes.
+
+       * java/util/PropertyResourceBundle.java: New file.
+       * gnu/gcj/util/EnumerationChain.java: New file.
+
+1999-05-07  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h (GCJVERSION): New undef.
+       * java/lang/natSystem.cc (init_properties): Define java.version,
+       java.class.version, os.name, os.arch, os.version.
+       Include <sys/utsname.h> if required.
+       * configure: Rebuilt.
+       * configure.in: Compute and define GCJVERSION.
+
+       * java/lang/natSystem.cc (default_file_encoding): Now static.
+
+       * java/lang/natCharacter.cc (isLowerCase): Use a binary search.
+
+       * libtool-version: New file.
+       * Makefile.in: Rebuilt.
+       * Makefile.am (libgcj_la_LDFLAGS): Use -version-info, not
+       -release.
+
+       * mauve-libgcj: Don't omit Utf8Encoding or StringTest.
+       Comment out FieldPosition, ParsePosition, and SimpleDateFormat
+       again (oops).
+
+       * mauve-libgcj: Test more from java.text.  Don't mention 1.1 tests
+       (we pick those up already).
+
+1999-05-05  Per Bothner  <bothner@cygnus.com>
+
+       * java/awt/*:  Check a bunch of classes, a few complete, but mostly
+       stub classes.  (This is enough to get Kawa to compile against libgcj.)
+
+       * gnu/gcj/RawData.java:  New class.
+       * doc/cni.sgml:  Document RawData.
+
+       * java/util/zip/InflaterInputStream.java:  New stub class.
+       * java/util/zip/ZipInputStream.java:  New class.  Partly works.
+       * java/util/zip/ZipConstants.java:  Add two (internal) constants.
+       * java/util/zip/ZipEntry.java (timeFromDOS):  New static method.
+       * java/util/zip/ZipFile.java:  Now mostly works (unless compressed).
+       * java/util/zip/ZipOutputStream.java:  Start implementation.
+       
+       * java/lang/natSystem.cc (DEFAULT_FILE_ENCODING):  New macro.
+       (default_file_encoding):  New global, initial value is above macro.
+       (init_properties):  Default file.encoding to default_file_encoding.
+       
+       * Makefile.am:  Add new classes.
+
+1999-05-05  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (CLEANFILES): Don't mention $(class_files).
+       (clean-local): New target
+
+       * java/lang/natRuntime.cc: Include <ltdl.h> if required.
+       (load, loadLibrary): Now native.
+       (init): New method.
+       * java/lang/Runtime.java (load, loadLibrary): Now native.
+       (init): New native method.
+       (Runtime): Use init.
+       * prims.cc: Include <ltdl.h> if required.
+       (JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS.
+
+1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
+
+       * configure.in: Switch from irix threads to posix threads
+       * configure: Regenerate.
+
+1999-04-30  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (jv_convert_LDADD): Added -lgcc.
+
 1999-04-29  Tom Tromey  <tromey@cygnus.com>
 
        * java/lang/StringBuffer.java (ensureCapacity): Don't resize