X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libjava%2FChangeLog;h=7c9ca24af5aad06d6608ebef23578fc8bafc7b7c;hb=95e4499f5b9dc067678b1fb219edc11aadfedc4a;hp=6ea4e137e81ccad898816b6cdea7ef827284b46c;hpb=e273c79f07bf83d9590b16616c620f908a136739;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6ea4e137e81..7c9ca24af5a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,421 @@ +2001-02-08 Tom Tromey + + * java/lang/Float.java (parseFloat): New method. + +2001-02-08 Tom Tromey + + From paul@dawa.demon.co.uk. Fix for PR libgcj/1913: + * java/io/InputStreamReader.java (ready, read): Throw IOException + if stream has been closed. + +2001-02-08 Joseph S. Myers + + * README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc: + Change sources.redhat.com and sourceware.cygnus.com references to + gcc.gnu.org. + +2001-02-07 Tom Tromey + + Fix for PR libgcj/1906: + * java/text/MessageFormat.java (setLocale): Use named class + literals. + (forName): Removed. + (format(Object,StringBuffer,FieldPosition)): Special case if + argument is an Object[]. + +2001-02-07 Bryce McKinlay + + * java/util/Arrays.java: Removed "cmp" methods. + (qsort): Don't use "cmp". + (med3): Likewise. + +2001-02-07 Mark Benvenuto + + * java/util/Arrays.java (qsort): Handle N value of 7 with insertion + sort. Fix for PR java/1895. + +2001-02-03 Jeff Sturm + + * configure.host: Use sjlj-exceptions for Alpha. + +2001-02-03 Bryce McKinlay + + * libgcj.spec.in: Don't force static libgcc into the executable. + * configure.in (FORCELIBGCCSPEC): Removed. + * configure: Rebuilt. + +2001-01-31 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (LTCXXCOMPILE): New macro. + +2001-01-26 Andrew Haley + + (INIT_FPE): Use a direct system call to set the handler. + +2001-01-27 Richard Henderson + + * configure.host (alpha*-*) [libgcj_flags]: Add -mieee. + +2001-01-27 Tom Tromey + + * jni.cc (_Jv_JNIFunctions): Added comment for each entry in + native interface structure. + +2001-01-27 Bryce McKinlay + + * java/io/ObjectInputStream.java (read): AND byte with 0xff to make + result unsigned. + (read (byte[], int, int)): Only call readNextBlock() if the block + buffer would actually be overrun. Increment blockDataPosition. + (callReadMethod): Propagate exceptions from invocation target. + * java/io/ObjectOutputStream.java (callWriteMethod): Propagate + exceptions from invocation target. + +2001-01-26 Tom Tromey + + * jni.cc (_Jv_JNI_GetAnyMethodID): Rewrite signature from external + to internal representation. + (_Jv_JNI_GetAnyFieldID): Likewise. Also, only use + _Jv_FindClassFromSignature. + +2001-01-26 Warren Levy + + * java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoff + and timezone if they are available on the system. + +2001-01-24 Tom Tromey + + * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t. + +2001-01-24 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (c_source_files): Added sf_fabs.c. + * java/lang/sf_fabs.c: New file. + +2001-01-19 Warren Levy + + * java/text/SimpleDateFormat.java (format): Compute hour for cases + HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11) + correctly. Adjust properly from 0-23 clock hour. + +2001-01-17 Mark Wielaard + + * java/bean/Beans.java (instantiate): enable Applet code from Classpath + +2001-01-17 Bryce McKinlay + + * java/lang/Class.h (isInterface): Move implementation from + natClass.cc. Declare inline. + (Class): Add default constructor. + * java/lang/Object.h: Update comments. + * java/lang/natClass.cc (initializeClass): Use _Jv_InitClass to + initialize superclass, saving a call if super is already initialized. + +2001-01-16 Alexandre Petit-Bianco + + * prims.cc (init_prim_class): Deleted. + (DECLARE_PRIM_TYPE): Rewritten. + * java/lang/Class.h (stdio.h): Include removed. + (stddef.h): Included. + (java/lang/reflect/Modifier.h): Likewise. + (Class): Contructor now takes arguments, initializes fields. + (initializePrim): Prototype deleted. + * java/lang/natClass.cc (initializePrim): Deleted. + +2001-01-16 Warren Levy + + * java/math/BigInteger.java: Update Copyright year. + +2001-01-16 Hans Boehm + + * java/math/BigInteger.java (setShiftRight): Only do negative shift + if count != 0. + +2001-01-14 Mark Wielaard + * java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com) + (decode): Merge comments with Classpath, don't throw Exception + +2001-01-12 Tom Tromey + + * gnu/awt/gtk/natGtkComponentPeer.cc (getLocationOnScreen): + Wrote. + (setCursor): Wrote. + Include Cursor.h. + * gnu/awt/gtk/natGtkLabelPeer.cc: New file. + * gnu/awt/gtk/natGtkButtonPeer.cc: New file. + * gnu/awt/gtk/gtkcommon.h (class _Jv_GdkThreadLock): New class. + * gnu/awt/gtk/GtkLabelPeer.java: New file. + * gnu/awt/gtk/GtkButtonPeer.java: New file. + + * java/lang/natSystem.cc: Include locale.h if it exists. + * configure: Rebuilt. + * configure.in: Check for locale.h. + +2001-01-11 Tom Tromey + + * java/awt/Cursor.java (Cursor(String)): Set type to custom. + (Cursor(int), getPredefinedCursor): Throw exception if argument + invalid. + +2001-01-03 Tom Tromey + + * gnu/awt/gtk/natGtkComponentPeer.cc (setCursor): Wrote. + (getLocationOnScreen): Wrote. + +2001-01-11 Bryce McKinlay + + * Makefile.am: Re-enable dependencies. + * Makefile.in: Rebuilt. + +2001-01-10 Warren Levy + + * java/math/BigDecimal.java (divide): Fixed comment. + +2001-01-10 Warren Levy + + Fix for PR libgcj/1596: + * java/math/BigDecimal.java (divide): Check newScale for validity. + Ensure that BigInteger.pow() is called with a non-negative value. + (setScale (int)): New public method. + (setScale (int,int)): New public method. + +2001-01-09 Oskar Liljeblad + + Fix for PR libgcj/1338: + * java/io/StreamTokenizer.java (nextToken): Handle // and /* before + commentChar. Fixed typos in comments. + +2001-01-08 Warren Levy + + Fix for PR libgcj/1411: + * Makefile.am: Removed java/util/natTimeZone.cc. + * Makefile.in: Rebuilt. + * gnu/gcj/text/LocaleData_en_US.java (zoneStringsDefault): Added + missing localized timezone names. + * java/lang/System.java (getDefaultTimeZoneId): New private method. + * java/lang/natSystem.cc (getSystemTimeZone): New private method. + (init_properties): Set user.timezone property. + * java/text/DateFormatSymbols.java (zoneStringsDefault): Added + default timezone names; removed non-standard ones. Use standard + ID names per JCL. + * java/util/Date.java (toGMTString): Removed zoneGMT variable. + (UTC): Ditto. + * java/util/TimeZone.java: Add standard ID names per JCL; removed + non-standard ones. + (getDefaultTimeZoneId): Removed. + (zoneGMT): Removed. + * java/util/natTimeZone.cc: Removed. + +2001-01-08 Bryce McKinlay + + * java/lang/Class.h (_Jv_InitClass): Use __builtin_expect. + (_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. + (_Jv_GetArrayClass): New inline function. + (arrayclass): New field. + * prims.cc (_Jv_NewObjectArray): Use _Jv_GetArrayClass. Don't use + _Jv_GetArrayElementFromElementType. + (_Jv_NewPrimArray): Ditto. + (_Jv_PrimClass constructor): Initialize "depth", "ancestors", and + "idt" for completeness. Initialze "arrayclass" using _Jv_NewArrayClass. + Set Modifier::ABSTRACT. + * java/lang/natClassLoader.cc (_Jv_NewClass): Initialize "arrayclass". + (_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. Now void. + Now synchronized. Array classes are now referenced from + elementClass->arrayclass. Don't use _Jv_FindClassInCache. + Set array classes' accessibility flags correctly. Optimize so that + all array classes share the same IDT. + * java/lang/reflect/natArray.cc (newInstance): Use _Jv_GetArrayClass. + * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature): Ditto. + * java/lang/natClass.cc (_getFields): Increment offset. Prevent fields + in superclasses from overwriting classes own fields. + (_Jv_IsAssignableFrom): Check for NULL source idt instead of calling + Modifier::isAbstract(). + (null_idt): New static field. + (_Jv_PrepareConstantTimeTables): Optimize case where class implements + no interfaces. + (_Jv_IndexOf): Made inline. + * boehm.cc (_Jv_MarkObj): Mark "arrayclass" field. + +2001-01-08 Tom Tromey + + Fix for PR java/1586: + * Makefile.in: Rebuilt. + * Makefile.am (AUTOMAKE_OPTIONS): Added no-dependencies. + +2001-01-08 Bryce McKinlay + + * Makefile.am: Use the new "-M -MF" option for generating dependencies + from the c++ compiler. + * Makefile.in: Rebuilt. + +2001-01-07 Alexandre Petit-Bianco + + All files with updated copyright. + * prims.cc (class _Jv_PrimClass): Removed. + (init_prim_class): New function. + (DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces + `_Jv_PrimClass' in primitive type declarations. Assign to the + value returned by `init_prim_class.' + * gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in + primitive type declarations. + (JvPrimClass): Cast to `jclass' removed. + * java/lang/Class.h (Class): New constructor. + (Class): New copy constructor. + (initializePrim): New prototype. + (_Jv_PrimClass): Field removed. + * java/lang/Object.h (struct _JvObjectPrefix): New virtuals + nacd_1 and nacd_2 (for compatibility with the new C++ ABI.) + (class java::lang::Object): `finalize' moved up front. + * java/lang/natClass.cc + (isAssignableFrom): Turned outline. + (isInstance): Likewise. + (isInterface): Likewise, fixed indentation. + (initializePrim): New function. + +2001-01-07 Anthony Green + + * Makefile.am (texinfo): Add texinfo target for generating texinfo + documentation. + * Makefile.in: Rebuilt. + + * scripts/TexinfoDoclet.java: New file. + + * doc/java-applet.texi, doc/java-lang-reflect.texi, + doc/java-awt-color.texi, doc/java-lang.texi, + doc/java-awt-datatransfer.texi, doc/java-math.texi, + doc/java-awt-event.texi, doc/java-net.texi, + doc/java-awt-geom.texi, doc/java-security-spec.texi, + doc/java-awt-image.texi, doc/java-security.texi, + doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi, + doc/java-text.texi, doc/java-beans-beancontext.texi, + doc/java-util-jar.texi, doc/java-beans.texi, + doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi, + doc/java-lang-ref.texi: New files. + +2001-01-07 Anthony Green + + * java/net/URLConnection.java (setDoOutput): URLConnection's may + be used for both input and output, so don't clear doInput. + + * java/lang/StringBuffer.java: Fix comments. + +2001-01-06 Anthony Green + + * java/beans/PropertyDescriptor.java: Fix comment. + * java/io/PushbackReader.java: Fix comment. + * java/io/ObjectStreamClass.java: Fix comment. + * java/io/DataInputStream.java: Fix comment. + * java/io/PipedInputStream.java: Fix comments. + * java/io/PipedReader.java: Fix comments. + * java/sql/DatabaseMetaData.java: Fix comments. + +2001-01-06 Bryce McKinlay + + * java/io/PipedReader: Synchronize on "lock" instead of this. + +2001-01-05 Bryce McKinlay + + * java/lang/Thread.java: Update comment. + + * java/io/PipedInputStream: Rewrote to be simpler and more correct. + * java/io/PipedOutputStream: Updated to match new PipedInputStream. + * java/io/PipedReader: New implementation based on new + PipedInputStream. + * java/io/PipedWriter: Updated to match new PipedReader. + +2001-01-03 Tom Tromey + + * java/awt/ScrollPane.java (setBlockIncrement): Throw error. + (getViewportSize): Insets include scrollbar size. + (doLayout): Finished. + (getScrollPosition): Wrote. + * java/awt/peer/ScrollPanePeer.java (setBlockIncrement): Removed. + +2001-01-02 Tom Tromey + + * java/awt/ScrollPane.java: Wrote. + * java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New + method. + + * java/awt/Panel.java (Panel()): Fixed. + + * java/awt/Component.java (isShowing): Return false if no peer + exists, and true if component is visible and no parent exists. + (getLocationOnScreen): Wrote. + (getPreferredSize): Removed FIXME comment. + (getMinimumSize): Likewise. + (getAlignmentX, getAlignmentY): Wrote. + (list): Wrote. + (requestFocus): Wrote. + (transferFocus): Wrote. + (findNextFocusComponent): New method. + (hasFocus()): Wrote. + (checkImage): Wrote. + (enableEvents): Call setEventMask on the peer. + + * java/awt/Container.java (list): Use super.list() to print self. + (findNextFocusComponent): New method. + (setLayout): Call invalidate. + (findComponentAt): Wrote. + +2000-12-30 Bryce McKinlay + + * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that + the correct versions of various linuxthreads functions get linked. + * Makefile.in: Rebuilt. + * java/lang/natThread.cc (finalize_native): New static function. Call + _Jv_ThreadDestroyData. + (initialize_native): Register finalizer for "data". + * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype. + (_Jv_ThreadDestroyData): New prototype. + * include/win32-threads.h: Ditto. + * include/no-threads.h: Ditto. + * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype. + (_Jv_ThreadDestroyData): New function. Free native thread "data" and + move mutex and condition variable destroy code from: + (really_start): ...here. + (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED. + * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype. + (_Jv_ThreadDestroyData): Implemented. + * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t". + (_Jv_AllocArray): Ditto. + +2000-12-27 Jeff Sturm + + * java/sql/DriverManager.java (getConnection): Don't set user/password + properties if null. + +2000-12-27 Warren Levy + + Fix for PR libgcj/1358: + * java/lang/System.java: Update Copyright date properly. + * java/util/Calendar.java: Fix typo in comment. + (set): Set 24-hour clock hour instead of 12-hour clock hour. + * java/util/GregorianCalendar.java (GregorianCalendar): Properly + initialize times. Spec says to set H:M:S values to zero only if + a date is given. + * java/util/TimeZone.java (getDefaultDisplayName): Casts to char + needed for evaluating numbers '0' to '9' in printouts of GMT offsets. + * java/util/natGregorianCalendar.cc (computeTime): Properly handle + timezones and GMT offsets, being careful to account for units of + milliseconds vs. seconds. + +2000-12-28 Bryce McKinlay + + * java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can + not be assigned to Object. + + Fix for PR libgcj/1516: + * java/lang/reflect/natMethod.cc (primitives): Remove void entry. + Add boolean entry. + (can_widen): Declared inline. Remove redundant checks for void + arguments and char->short conversion. Add special case for boolean + conversions. + (ffi_type): Declared inline. + (_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block. + 2000-12-26 Petter Reinholdtsen * java/sql/SQLWarning.java: Fixed typo in comment.