OSDN Git Service

2004-05-05 Mark Wielaard <mark@klomp.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index b88ceb0..cdb04d0 100644 (file)
@@ -1,3 +1,353 @@
+2004-05-05  Mark Wielaard  <mark@klomp.org>
+
+       Reported by f.haeglsperger@gmx.de [classpath patch #2485]
+       * java/util/HashMap.java (rehash): Add entry at start of bucket.
+
+2004-05-05  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/BufferedReader.java (skip): Removed unused
+       variable.
+
+2004-05-05  Michael Koch  <konqueror@gmx.de>
+
+       * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
+
+2004-05-05  Dalibor Topic  <robilad@kaffe.org>
+
+       * java/text/AttributedString.java,
+       java/text/AttributedStringIterator.java,
+       java/text/Collator.java,
+       java/text/DecimalFormatSymbols.java,
+       java/text/NumberFormat.java,
+       java/text/RuleBasedCollator.java:
+       Cleaned up imports.
+
+2004-05-05  Tom Tromey  <tromey@redhat.com>
+
+       * java/text/Format.java: Cleaned up imports.
+       * java/text/DecimalFormat.java: Cleaned up imports.
+       * java/security/SecureRandom.java: Cleaned up imports.
+       (SecureRandom): Removed unused variable.
+       * java/security/UnresolvedPermission.java: Cleaned up imports.
+       * java/util/Date.java (parse): Removed unused variable.
+       * java/util/ResourceBundle.java: Cleaned up imports.
+       (getBundle): Removed unused variable.
+       (tryBundle): Likewise.
+       * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
+
+2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * java/text/SimpleDateFormat.java:
+       (formatWithAttribute): New method. It implements
+       the formatting process with attributes.
+       (format): Use formatWithAttribute.
+       (formatToCharacterIterator): New method. Use
+       formatWithAttribute.
+
+2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * java/text/MessageFormat.java:
+       (class Field): New class.
+       (formatToCharacterIterator): New method.
+       (format): Use formatInternal now.
+       (formatInternal): New method. String formatter should
+       be done here (with attributes). Attributes merging supported.
+       (parse): More documentation.
+       (getFormatsByArgumentIndex): New method.
+       (setFormatByArgumentIndex): New method.
+       (setFormatsByArgumentIndex): New method.
+
+2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * java/text/DecimalFormat.java
+       (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
+       (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
+       (parse): Fixed handling of exponentiation notation and grouping.
+
+2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * java/text/DecimalFormat.java
+       (scanFix): Build attribute array. Fixed error reporting.
+       (applyPatternWithSymbols): Store attributes for the prefix and
+       suffix.
+       (formatInternal): New method. Changed the way the string is
+       computed. Implemented attributes. Cleant up rounding in
+       exponential notation.
+       (format): Use formatInternal.
+       (formatToCharacterIterator): New method.
+       (exponentRound, negativePrefixRanges, positivePrefixRanges,
+       negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
+       positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
+       New fields.
+
+2004-05-04  Dalibor Topic  <robilad@kaffe.org>
+
+       * java/security/interfaces/DSAKeyPairGenerator.java,
+       java/security/interfaces/DSAPrivateKey.java,
+       java/security/interfaces/DSAPublicKey.java,
+       java/security/interfaces/RSAPrivateKey.java,
+       java/security/interfaces/RSAPublicKey.java:
+       Cleaned up imports.
+
+2004-05-04  Michael Koch  <konqueror@gmx.de>
+
+       * 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:
+       (compareTo): Fixed bogus implementation in all buffer classes.
+
+2004-05-04  Ingo Proetel  <proetel@aicas.com>
+
+       * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
+        32 bit pixels not 8 bit pixels.
+       (isCompatibleRaster): Added javadoc comment.
+
+2004-05-04  Ingo Proetel  <proetel@aicas.com>
+
+       * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
+       scanline stride.
+
+2004-05-04  Ingo Proetel  <proetel@aicas.com>
+
+       * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
+       (getColorModel): Return the actual color model.
+       (getRaster): Implemented.
+       (ColorRaster): New inner class.
+       * java/awt/SystemColor.java (createContext): Use ColorModel when creating
+       a PaintContext.
+       * java/awt/Color.java (<init>): Make exception more verbose.
+       (createContext): Use ColorModel when creating a PaintContext.
+
+2004-05-04  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/text/CharacterBreakIterator.java
+       (previous): Removed unused variable.
+
+2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * gnu/java/text/FormatBuffer.java,
+       gnu/java/text/AttributedFormatBuffer.java,
+       gnu/java/text/StringFormatBuffer.java: New classes to implement
+       attributed iterators in java.text.
+       * gnu/java/text/FormatCharacterIterator.java: Moved 
+       from java/text as it is an internal class.
+       * java/text/FormatCharacterIterator.java: Removed.
+       * java/text/Format.java:
+       Import gnu.java.text.FormatCharacterIterator.
+       * Makefile.am (java_source_files): Added new files.
+       * Makefile.in: Regenerated.
+       
+
+2004-05-04  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
+
+2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
+       * Makefile.in: Rebuilt.
+
+2004-05-03  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/security/der/DERReader.java: Call static methods staticly.
+       * java/awt/TextComponent.java (select): Use selectionEnd parameter.
+       * java/net/URL.java
+       (set(String, String, int, String, String, String, String, String)):
+       Assign this.file to path or path + "?" + query.
+       * java/util/Arrays.java: Call static methods staticly.
+       * java/util/zip/ZipEntry.java: Likewise.
+       * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
+       dir to this.direction.
+       * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
+       Assign static field only once.
+       (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
+
+2004-05-03  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
+       unused variables hScrollbarHeight and vScrollbarWidth.
+       (preferredSize): Likewise.
+       * gnu/java/security/provider/DSAParameters.java (engineToString):
+       Removed unused call to System.getProperty("line.seperator");
+       * java/security/Security.java (loadProviders): Return result.
+
+2004-05-03  Tom Tromey  <tromey@redhat.com>
+
+       * java/net/URLStreamHandler.java (toExternalForm): Removed
+       unused variables.
+       unused constructor.
+       * java/math/BigDecimal.java (divide): Removed unused variable.
+       * java/lang/Throwable.java: Cleaned up imports.
+       * java/lang/ClassLoader.java: Cleaned up imports.
+       * java/io/FilePermission.java (implies): Removed unused
+       variable.
+       * java/awt/TextComponent.java: Removed unused import.
+       * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
+       * gnu/java/util/DoubleEnumeration.java: Removed unused import.
+       * gnu/java/text/WordBreakIterator.java: Removed unused import.
+       * gnu/java/text/SentenceBreakIterator.java: Removed unused
+       import.
+       * gnu/java/text/LineBreakIterator.java: Removed unused import.
+       * gnu/java/text/CharacterBreakIterator.java: Removed
+       unused import.
+       * gnu/java/security/provider/DSAKeyPairGenerator.java:
+       Cleaned up imports.
+       * gnu/java/security/der/DERWriter.java: Cleaned up imports.
+       * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
+       unused method.
+       * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
+       * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
+       * gnu/java/io/Base64InputStream.java: Cleaned up imports.
+       * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
+       * gnu/classpath/ServiceFactory.java: Cleaned up imports.
+       (lookupProviders): Removed unused variable.
+       (loadNextServiceProvider): Likewise.
+       * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
+
+2004-05-03  Michael Koch  <konqueror@gmx.de>
+
+       Fixes PR libgcj/14695:
+       * java/net/NetworkInterface.java
+       (getByName): Return null when no interface was found.
+
+2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
+            Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
+       additional option "-Wmissing-prototypes" for compiling C sources.
+       Print actual filename for pass/fail rather than $name.c.
+       * testsuite/libjava.jni/PR15133.java: New testcase file.
+       * testsuite/libjava.jni/PR15133.c: Likewise.
+       * testsuite/libjava.jni/PR15133.out: Likewise.
+
+2004-04-30  Roger Sayle  <roger@eyesopen.com>
+
+       * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
+       ceil and floor.
+
+2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
+       
+       * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
+       limit the maximum heap size to avoid unnecessary thrashing.
+
+2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
+
+       * java/text/CollationElementIterator.java (reset): Reset
+        lookahead variables.
+
+2004-04-23  Mark Wielaard  <mark@klomp.org>
+
+       * jni/classpath/jcl.c: Changed C++ comments into C comments.
+
+2004-04-23 Dalibor Topic <robilad@kaffe.org>
+
+       * java/sql/DriverManager.java:
+       Cleaned up imports.
+
+2004-04-23  Michael Koch  <konqueror@gmx.de>
+
+       * java/net/URL.java
+       (hashcode): Don't initialize with default value explicitely.
+       (getContent): Removed redundant "final" keyword.
+       (openStream): Likewise.
+       (getURLStreamHandler): Fixed coding style.
+       * java/net/URLConnection.java
+       (defaultAllowUserInteraction): Don't initialize with default value
+       explicitely.
+       (connected): Likewise.
+       (doOutput): Likewise.
+       (ifModifiedSince): Likewise.
+       (dateformats_initialized): Likewise.
+       (setURLStreamHander): Use StreamTokenizer where it belongs to.
+
+2004-04-23  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/channels/FileChannelImpl.java
+       (SET, CUR): Unused, removed.
+       (read): Implement here directly.
+       (implRead): Removed.
+       (write): Implement here directly.
+       (implWrite): Removed.
+
+2004-04-23  Dalibor Topic  <robilad@kaffe.org>
+
+       * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
+       javax/rmi/CORBA/Stub.java,
+       javax/rmi/CORBA/Util.java,
+       javax/rmi/CORBA/ValueHandler.java,
+       javax/rmi/CORBA/ValueHandler.java,
+       javax/rmi/PortableRemoteObject.java:
+       Cleaned up imports.
+
+2004-04-23 Dalibor Topic <robilad@kaffe.org>
+
+       * java/util/jar/JarFile.java,
+       java/util/jar/JarInputStream.java,
+       java/util/jar/JarOutputStream.java,
+       java/util/jar/Manifest.java:
+       Cleaned up imports.
+
+2004-04-23 Dalibor Topic <robilad@kaffe.org>
+
+       * java/util/ArrayList.java,
+       java/util/Calendar.java,
+       java/util/Currency.java,
+       java/util/HashMap.java,
+       java/util/HashSet.java,
+       java/util/Hashtable.java,
+       java/util/LinkedList.java,
+       java/util/Properties.java,
+       java/util/PropertyPermission.java,
+       java/util/TimeZone.java,
+       java/util/TreeMap.java,
+       java/util/TreeSet.java,
+       java/util/Vector.java,
+       java/util/WeakHashMap.java:
+       Cleaned up imports.
+
+2004-04-23  Dalibor Topic  <robilad@kaffe.org>
+
+       * java/util/logging/FileHandler.java,
+       java/util/logging/Formatter.java,
+       java/util/logging/Handler.java,
+       java/util/logging/Logger.java,
+       java/util/logging/SimpleFormatter.java,
+       java/util/logging/XMLFormatter.java:
+       Cleaned up imports.
+
+2004-04-22  Mark Wielaard  <mark@klomp.org>
+
+       * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
+       -Wno-long-long flags variable.
+       (gtk_c_files): Use PEDANTIC_CFLAGS.
+       * Makefile.in: Regenerated.
+
+2004-04-22  Mark Wielaard  <mark@klomp.org>
+
+       * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
+       Changed C++ comments into C comments.
+       * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
+       Likewise.
+
+2004-04-22  Michael Koch  <konqueror@gmx.de>
+
+       * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
+       Merged copyright year with GNU classpath.
+
+2004-04-22  Dalibor Topic  <robilad@kaffe.org>
+
+       * javax/security/auth/x500/X500Principal.java:
+       Cleaned up imports.
+
+2004-04-22  Dalibor Topic  <robilad@kaffe.org>
+
+       * javax/swing/JSlider.java:
+       Fixed HTML tags in comments.
+
 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
 
        * javax/accessibility/AccessibleText.java: