summaryrefslogtreecommitdiff
path: root/java/text
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-02-21 Michael Koch <konqueror@gmx.de>Michael Koch2005-02-212-52/+54
| | | | | | | | | | | * java/awt/Button.java, java/awt/Container.java, java/awt/Font.java, java/awt/Frame.java, java/text/CollationElementIterator.java, java/text/RuleBasedCollator.java, java/util/PropertyPermission.java: Fixed formatting issues all over.
* 2005-02-20 Sven de Marothy <sven@physto.se>Sven de Marothy2005-02-201-1/+5
| | | | | * java/text/SimpleDateFormat.java, (parse): Set DST_OFFSET to the correct value.
* * java/text/SimpleDateFormat.javaMark Wielaard2005-02-201-1/+3
| | | | | (SimpleDateFormat(String, DateFormatSymbols)): Throw NullPointerException when formatData is null.
* 2005-02-16 Michael Koch <konqueror@gmx.de>Michael Koch2005-02-1613-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/applet/Applet.java, java/beans/AppletInitializer.java, java/beans/ExceptionListener.java, java/beans/PropertyChangeEvent.java, java/beans/PropertyChangeListenerProxy.java, java/beans/PropertyChangeSupport.java, java/beans/PropertyDescriptor.java, java/beans/VetoableChangeListenerProxy.java, java/beans/VetoableChangeSupport.java, java/io/BufferedInputStream.java, java/io/BufferedReader.java, java/io/ByteArrayInputStream.java, java/io/ByteArrayOutputStream.java, java/io/CharArrayReader.java, java/io/CharArrayWriter.java, java/io/CharConversionException.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/DataOutput.java, java/io/DataOutputStream.java, java/io/EOFException.java, java/io/FileInputStream.java, java/io/FileNotFoundException.java, java/io/FileOutputStream.java, java/io/FilenameFilter.java, java/io/FilterInputStream.java, java/io/FilterOutputStream.java, java/io/FilterReader.java, java/io/FilterWriter.java, java/io/IOException.java, java/io/InputStream.java, java/io/InputStreamReader.java, java/io/InterruptedIOException.java, java/io/LineNumberInputStream.java, java/io/LineNumberReader.java, java/io/ObjectStreamException.java, java/io/OptionalDataException.java, java/io/OutputStream.java, java/io/OutputStreamWriter.java, java/io/PrintStream.java, java/io/PrintWriter.java, java/io/PushbackInputStream.java, java/io/PushbackReader.java, java/io/RandomAccessFile.java, java/io/Reader.java, java/io/SequenceInputStream.java, java/io/Serializable.java, java/io/StreamCorruptedException.java, java/io/StreamTokenizer.java, java/io/StringBufferInputStream.java, java/io/StringWriter.java, java/io/SyncFailedException.java, java/io/UTFDataFormatException.java, java/io/UnsupportedEncodingException.java, java/io/WriteAbortedException.java, java/io/Writer.java, java/lang/AbstractMethodError.java, java/lang/ArithmeticException.java, java/lang/ArrayIndexOutOfBoundsException.java, java/lang/ArrayStoreException.java, java/lang/AssertionError.java, java/lang/Boolean.java, java/lang/Byte.java, java/lang/ClassCastException.java, java/lang/ClassCircularityError.java, java/lang/ClassLoader.java, java/lang/ClassNotFoundException.java, java/lang/CloneNotSupportedException.java, java/lang/Cloneable.java, java/lang/Comparable.java, java/lang/Compiler.java, java/lang/Double.java, java/lang/Error.java, java/lang/Exception.java, java/lang/ExceptionInInitializerError.java, java/lang/Float.java, java/lang/IllegalAccessError.java, java/lang/IllegalAccessException.java, java/lang/IllegalArgumentException.java, java/lang/IllegalMonitorStateException.java, java/lang/IllegalStateException.java, java/lang/IllegalThreadStateException.java, java/lang/IncompatibleClassChangeError.java, java/lang/IndexOutOfBoundsException.java, java/lang/InheritableThreadLocal.java, java/lang/InstantiationError.java, java/lang/InstantiationException.java, java/lang/Integer.java, java/lang/InternalError.java, java/lang/InterruptedException.java, java/lang/LinkageError.java, java/lang/Long.java, java/lang/NegativeArraySizeException.java, java/lang/NoClassDefFoundError.java, java/lang/NoSuchFieldError.java, java/lang/NoSuchFieldException.java, java/lang/NoSuchMethodError.java, java/lang/NoSuchMethodException.java, java/lang/NullPointerException.java, java/lang/Number.java, java/lang/NumberFormatException.java, java/lang/OutOfMemoryError.java, java/lang/Process.java, java/lang/Runnable.java, java/lang/Runtime.java, java/lang/RuntimeException.java, java/lang/RuntimePermission.java, java/lang/SecurityException.java, java/lang/SecurityManager.java, java/lang/Short.java, java/lang/StackOverflowError.java, java/lang/StackTraceElement.java, java/lang/StringBuffer.java, java/lang/StringIndexOutOfBoundsException.java, java/lang/ThreadDeath.java, java/lang/ThreadGroup.java, java/lang/Throwable.java, java/lang/UnsatisfiedLinkError.java, java/lang/UnsupportedOperationException.java, java/lang/VerifyError.java, java/lang/VirtualMachineError.java, java/lang/reflect/AccessibleObject.java, java/lang/reflect/Array.java, java/lang/reflect/InvocationTargetException.java, java/lang/reflect/Member.java, java/lang/reflect/Modifier.java, java/lang/reflect/Proxy.java, java/lang/reflect/ReflectPermission.java, java/lang/reflect/UndeclaredThrowableException.java, java/math/BigInteger.java, java/nio/ByteBufferHelper.java, java/nio/channels/IllegalBlockingModeException.java, java/nio/charset/spi/CharsetProvider.java, java/security/AccessControlException.java, java/security/AllPermission.java, java/security/BasicPermission.java, java/security/DigestException.java, java/security/DigestInputStream.java, java/security/DigestOutputStream.java, java/security/GeneralSecurityException.java, java/security/Guard.java, java/security/GuardedObject.java, java/security/InvalidAlgorithmParameterException.java, java/security/InvalidKeyException.java, java/security/InvalidParameterException.java, java/security/Key.java, java/security/KeyException.java, java/security/KeyManagementException.java, java/security/KeyStoreException.java, java/security/MessageDigestSpi.java, java/security/NoSuchAlgorithmException.java, java/security/NoSuchProviderException.java, java/security/Permission.java, java/security/PermissionCollection.java, java/security/Permissions.java, java/security/Principal.java, java/security/PrivateKey.java, java/security/PrivilegedActionException.java, java/security/ProviderException.java, java/security/PublicKey.java, java/security/SecureRandom.java, java/security/SecureRandomSpi.java, java/security/SignatureException.java, java/security/SignatureSpi.java, java/security/SignedObject.java, java/security/Signer.java, java/security/UnrecoverableKeyException.java, java/security/UnresolvedPermission.java, java/security/acl/AclNotFoundException.java, java/security/acl/LastOwnerException.java, java/security/acl/NotOwnerException.java, java/security/cert/CertPath.java, java/security/cert/CertPathBuilderException.java, java/security/cert/CertPathValidatorException.java, java/security/cert/CertStoreException.java, java/text/BreakIterator.java, java/text/ChoiceFormat.java, java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/Collator.java, java/text/DateFormat.java, java/text/DateFormatSymbols.java, java/text/FieldPosition.java, java/text/Format.java, java/text/MessageFormat.java, java/text/ParseException.java, java/text/ParsePosition.java, java/text/StringCharacterIterator.java, java/util/AbstractCollection.java, java/util/AbstractList.java, java/util/AbstractMap.java, java/util/AbstractSequentialList.java, java/util/AbstractSet.java, java/util/ArrayList.java, java/util/Arrays.java, java/util/BitSet.java, java/util/Collection.java, java/util/Collections.java, java/util/Comparator.java, java/util/ConcurrentModificationException.java, java/util/EmptyStackException.java, java/util/Enumeration.java, java/util/EventListener.java, java/util/EventListenerProxy.java, java/util/EventObject.java, java/util/HashMap.java, java/util/HashSet.java, java/util/Hashtable.java, java/util/IdentityHashMap.java, java/util/Iterator.java, java/util/LinkedHashSet.java, java/util/LinkedList.java, java/util/List.java, java/util/ListIterator.java, java/util/ListResourceBundle.java, java/util/Map.java, java/util/MissingResourceException.java, java/util/NoSuchElementException.java, java/util/Observable.java, java/util/Observer.java, java/util/Properties.java, java/util/PropertyPermissionCollection.java, java/util/RandomAccess.java, java/util/Set.java, java/util/SortedMap.java, java/util/SortedSet.java, java/util/Stack.java, java/util/StringTokenizer.java, java/util/TooManyListenersException.java, java/util/TreeMap.java, java/util/TreeSet.java, java/util/Vector.java, java/util/logging/Level.java, java/util/prefs/BackingStoreException.java: Fixed @author tag all over.
* 2005-02-16 Michael Koch <konqueror@gmx.de>Michael Koch2005-02-161-4/+5
| | | | | | | | | | | | | * java/awt/EventQueue.java: Reworked import statements. * java/lang/StringBuilder.java (DEFAULT_CAPACITY): Reordered modifiers. * java/text/SimpleDateFormat.java: Reworked import statements. Fixed one littel formatting issue. (formatData): Removed a useless comment. * javax/imageio/ImageIO.java: Reworked import statements. * javax/swing/text/StringContent.java: Likewise. * javax/swing/JTextField.java: Likewise. (notifyAction): Added javadoc.
* 2005-02-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-02-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/color/ClutProfileConverter.java, gnu/java/awt/peer/ClasspathTextLayoutPeer.java, gnu/java/awt/peer/gtk/GdkFontPeer.java, gnu/java/awt/peer/gtk/GdkGlyphVector.java, gnu/java/awt/peer/gtk/GdkGraphics2D.java, gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, gnu/java/awt/peer/gtk/GdkRobotPeer.java, gnu/java/awt/peer/gtk/GdkTextLayout.java, gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkDialogPeer.java, gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, gnu/java/awt/peer/gtk/GtkFontPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkLabelPeer.java, gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, gnu/java/awt/peer/gtk/GtkToolkit.java, gnu/java/awt/peer/gtk/GtkWindowPeer.java, gnu/java/io/EncodingManager.java, gnu/java/io/decode/DecoderUTF8.java, gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/ftp/ActiveModeDTP.java, gnu/java/net/protocol/ftp/BlockInputStream.java, gnu/java/net/protocol/ftp/BlockOutputStream.java, gnu/java/net/protocol/ftp/CompressedOutputStream.java, gnu/java/net/protocol/ftp/StreamInputStream.java, gnu/java/net/protocol/ftp/StreamOutputStream.java, gnu/java/net/protocol/http/Cookie.java, gnu/java/net/protocol/http/HTTPConnection.java, gnu/java/net/protocol/http/HTTPDateFormat.java, gnu/java/net/protocol/http/Request.java, gnu/java/nio/SelectorImpl.java, gnu/java/rmi/dgc/DGCImpl.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/security/pkcs/SignerInfo.java, gnu/java/security/provider/EncodedKeyFactory.java, gnu/java/security/provider/GnuDHPublicKey.java, gnu/java/security/provider/PKIXCertPathValidatorImpl.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, gnu/java/security/x509/ext/AuthorityKeyIdentifier.java, gnu/java/security/x509/ext/CertificatePolicies.java, gnu/java/security/x509/ext/PolicyConstraint.java, gnu/xml/aelfred2/SAXDriver.java, gnu/xml/dom/Consumer.java, gnu/xml/dom/DomCharacterData.java, gnu/xml/dom/DomDocument.java, gnu/xml/dom/DomDocumentBuilder.java, gnu/xml/dom/DomIterator.java, gnu/xml/dom/DomNode.java, gnu/xml/dom/DomXPathExpression.java, gnu/xml/dom/DomXPathResult.java, gnu/xml/dom/JAXPFactory.java, gnu/xml/dom/ls/DomLSException.java, gnu/xml/libxmlj/dom/GnomeDocumentBuilder.java, gnu/xml/libxmlj/dom/GnomeXPathNodeList.java, gnu/xml/libxmlj/sax/GnomeXMLReader.java, gnu/xml/libxmlj/transform/GnomeTransformer.java, gnu/xml/libxmlj/transform/GnomeTransformerFactory.java, gnu/xml/libxmlj/util/XMLJ.java, gnu/xml/pipeline/CallFilter.java, gnu/xml/pipeline/DomConsumer.java, gnu/xml/pipeline/LinkFilter.java, gnu/xml/pipeline/NSFilter.java, gnu/xml/pipeline/TeeConsumer.java, gnu/xml/pipeline/ValidationConsumer.java, gnu/xml/pipeline/WellFormednessFilter.java, gnu/xml/pipeline/XIncludeFilter.java, gnu/xml/pipeline/XsltFilter.java, gnu/xml/transform/ApplyImportsNode.java, gnu/xml/transform/Bindings.java, gnu/xml/transform/DocumentFunction.java, gnu/xml/transform/FormatNumberFunction.java, gnu/xml/transform/NodeNumberNode.java, gnu/xml/transform/NumberNode.java, gnu/xml/transform/Stylesheet.java, gnu/xml/transform/SystemPropertyFunction.java, gnu/xml/transform/Template.java, gnu/xml/transform/TemplatesImpl.java, gnu/xml/transform/TransformerImpl.java, gnu/xml/transform/ValueOfNode.java, gnu/xml/transform/XSLURIResolver.java, gnu/xml/util/DoParse.java, gnu/xml/util/Resolver.java, gnu/xml/xpath/Expr.java, gnu/xml/xpath/FunctionCall.java, gnu/xml/xpath/RelationalExpr.java, gnu/xml/xpath/Selector.java, gnu/xml/xpath/XPathParser.java, java/beans/XMLDecoder.java, java/text/SimpleDateFormat.java, javax/swing/JPopupMenu.java, javax/swing/JSpinner.java, javax/swing/SortingFocusTraversalPolicy.java, javax/swing/SwingUtilities.java, javax/swing/plaf/basic/BasicComboBoxEditor.java, javax/swing/plaf/basic/BasicComboBoxRenderer.java, javax/swing/tree/DefaultMutableTreeNode.java, javax/xml/parsers/DocumentBuilder.java, javax/xml/parsers/DocumentBuilderFactory.java, javax/xml/transform/sax/SAXTransformerFactory.java, vm/reference/java/lang/VMClassLoader.java, vm/reference/java/lang/VMProcess.java, vm/reference/java/lang/VMRuntime.java, vm/reference/java/lang/VMSystem.java, vm/reference/java/security/VMAccessController.java: Removed unused imports and expanded starred imports.
* 2005-02-10 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2005-02-101-2/+3
| | | | | | | * java/text/Collator.java (getInstance(Locale)): Added default collation pattern to handle case when resource is missing and throw InternalError instead of returning null should parsing fail.
* 2005-02-06 Sven de Marothy <sven@physto.se>Sven de Marothy2005-02-061-3/+5
| | | | | | | | | | * java/text/SimpleDateFormat.java (parse): Tweak handling of 2-year dates * java/util/Calendar.java (clear): Clear fields to correct value. * java/util/GregorianCalendar.java (computeTime): Correct handling of time zones. Correct field minimum values.
* Small inner classes cleanupDalibor Topic2005-02-031-97/+97
| | | | | | | | | | | | | | | | | 2005-02-03 Dalibor Topic <robilad@kaffe.org> * libraries/javalib/gnu/regexp/RE.java, libraries/javalib/java/io/ObjectInputStream.java, libraries/javalib/java/io/ObjectStreamClass.java, libraries/javalib/java/lang/SecurityManager.java, libraries/javalib/java/security/AllPermission.java, libraries/javalib/java/security/BasicPermission.java, libraries/javalib/java/security/Permissions.java, libraries/javalib/java/text/MessageFormat.java, libraries/javalib/java/util/AbstractList.java: Made 'inner' classes real public static inner classes, and made them final where possible, or removed them where unused.
* 2005-02-02 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-02-021-30/+178
| | | | | | | | | | | | | | | * java/text/SimpleDateFormat.java Lots of documentation updates. (readObject(java.io.ObjectInputStream)): Wraps IllegalArgumentException as specified. (compileFormat(String)): Uses standardChars rather than the local pattern characters. Throws IllegalArgumentException rather than storing a -1 field. (toString()): Extended to include all variables in a better format. (translateLocalizedPattern(String, String, String)): Renamed to better define the use of this method.
* 2005-01-29 Ito Kazumitsu <kaz@maczuka.gcd.org>Andrew John Hughes2005-01-291-0/+1
| | | | | | * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones.
* 2005-01-25 Ito Kazumitsu <kaz@maczuka.gcd.org>Andrew John Hughes2005-01-251-3/+3
| | | | | | | | * java/text/SimpleDateFormat.java: (parse): Use offset to set ZONE_OFFSET rather than the DST_OFFSET, so that GMT offset timezones change the right one.
* 2005-01-23 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-232-45/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/locale/LocaleInformation.java: Extended localPatternChars string to match root.xml. * gnu/java/locale/LocaleInformation_en.java: Removed invalid localPatternChars string. * gnu/java/locale/LocaleInformation_nl.java: Likewise. * java/text/DateFormat.java: Documented pattern character offset constants and added new ones. (Field): Added new static fields for new pattern chars. * java/text/SimpleDateFormat.java: (CompiledField): Changed name of FieldSizePair class to CompiledField after adding the character as an attribute. Changed fields to private and added accessors to give encapsulation. (CompiledField.CompiledField(int,int,char)): Extended with character field. (CompiledField.getField()): New accessor method. (CompiledField.getSize()): New acceessor method. (CompiledField.getCharacter()): New accessor method. (CompiledField.toString()): Added primarily for debugging. (standardChars): Now uses extended 24 character sequence. (compileFormat(String)): Changed to use CompiledField. (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer, java.text.FieldPosition)): Changed to use CompiledField. New handler for RFC 822 timezones added.
* 2005-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-221-37/+126
| | | | | | | | | | | | | | | | | * java/text/SimpleDateFormat.java: (parse(String, java.text.ParsePosition)): Changed 'E' and 'M' cases to use both short and long names. Extended 'z' case to also handle 'Z', and deal with simple GMT offsets such as +0100. (computeOffset(String)): New private method, which converts a GMT offset specification, such as GMT-0500 to a numeric offset in milliseconds. * java/util/TimeZone.java: (timezones()): Added "CEST", the daylight savings time version of "CET", or Central European Time.
* * java/text/MessageFormat.java (scanString): Changed how quotingTom Tromey2005-01-181-20/+32
| | | | | is handled. (scanFormatElement): Likewise.
* 2005-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-161-4/+25
| | | | | | | | * java/text/SimpleDateFormat.java: (getDateFormatSymbols()): return a copy (setDateFormatSymbols(java.text.DateFormatSymbols)): throw exception on null input (clone()): implemented to clone internal fields
* 2005-01-13 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-131-203/+203
| | | | | | * java/text/SimpleDateFormat.java: (parse): extend try{} block so all illegal arguments are caught and returned as null
* 2005-01-13 Sven de Marothy <sven@physto.se>Sven de Marothy2005-01-131-2/+4
| | | | | * java/text/SimpleDateFormat.java (parse): comparison should be case-insensitive, ignore null strings.
* 2005-01-12 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-131-5/+9
| | | | | | | * java/text/DecimalFormatSymbols.java (DecimalFormatSymbols(java.util.Locale)): defaults changed to "?" and "XXX" to match a nuance of Sun's impl. along with documentation
* 2005-01-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2005-01-111-2/+19
| | | | | | | | | | | | | * java/text/DecimalFormatSymbols.java (DecimalFormatSymbols(java.util.Locale)): check for errors in setting the currency and default to null and empty strings if unavailable (setCurrency(Currency)): moved assignment to ensure currency is not accidentally set to null * java/util/Currency.java (Currency(java.util.Locale)): throw IllegalArgumentException for empty country string and NullPointerException for null locale or country
* 2004-12-30 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2004-12-302-24/+52
| | | | | | | | | | | | | * java/text/DecimalFormatSymbols.java New transient currency variable. (getCurrency()): uses local variable instead (getExponential()): documentation (setExponential(char)): documentation (getInternationalCurrencySymbol()): documentation fix (setInternationalCurrencySymbol(String)): sets currency * java/text/NumberFormat.java (getCurrencyInstance(java.util.Locale)): sets fraction digits from the currency after creation of the format.
* 2004-12-30 Michael Koch <konqueror@gmx.de>Michael Koch2004-12-301-5/+2
| | | | | | | | | * java/text/DateFormat.java (getAvailableLocales): Implemented. * java/util/Locale.java (availableLocales): Fix modifier order. (localeMap): Likewise. (getAvailableLocales): Likewise.
* 2004-12-30 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2004-12-303-45/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/locale/LocaleInformation.java Additional currency symbols. * java/text/DecimalFormat.java Correction of authorship < to (. (scanFix): removed currency changes (DecimalFormat()): documentation (DecimalFormat(String)): documentation (DecimalFormat(String, DecimalFormatSymbols): documentation (formatInternal(double,FormatBuffer,FieldPosition)): added currency substitution (apologies for reformatting). (format(long,FormatBuffer,FieldPosition): ditto (parse(String)): corrected compile warning (naming of multiplier) (substituteCurrency(String,double)): new method * java/text/DecimalFormatSymbols.java Correction of authorship < to (. (safeGetString): documentation (DecimalFormatSymbols()): currency uses java.util.Currency (setCurrency(java.util.Currency)): changes currency symbol and intl. currency symbol (setInternationalCurrencySymbol(String)): sets currency symbol on basis of change * java/text/NumberFormat.java Correction of authorship < to (. 2004-12-30 Michael Koch <konqueror@gmx.de> * gnu/java/locale/LocaleInformation.java Addition of currency code to symbols mapping. * java/util/Currency.java (Currency()): added symbol retrieval (getSymbol()): implemented
* * java/text/DecimalFormat.javaAndrew John Hughes2004-12-291-0/+3
| | | | | (format(long,StringBuffer,FieldPosition)): multiply number by multiplier before formatting.
* 2004-12-14 Michael Koch <konqueror@gmx.de>Michael Koch2004-12-141-0/+1
| | | | | * java/text/NumberFormat.java (getIntegerInstance): Make sure that doubles get formatted as integers.
* * java/text/MessageFormat.java (scanFormat): Chain thrown exception.Mark Wielaard2004-12-101-1/+3
|
* 2004-11-15 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2004-11-154-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/StackTraceElement.java: Made final. * java/nio/channels/Channels.java: Added private constructor. * java/rmi/Naming.java: Added private constructor. * java/rmi/registry/LocateRegistry.java: Added private constructor. * java/rmi/server/RMIClassLoader.java: Added private constructor. * java/security/KeyPairGeneratorSpi.java (clone): Made protected and simplified implementation. * java/text/DateFormat.java (allFields): Made package accessible. * java/text/DecimalFormat.java (formatInternal): Made private. * java/text/Format.java (formatInternal): Made private. * java/util/logging/Handler.java: Made constructor protected. * java/util/regex/Matcher.java: Made final. * java/util/regex/Pattern.java: Made final. * java/util/zip/InflaterHuffmanTree.java: Made package. * javax/crypto/CipherInputStream.java (mark): Corrected mark parameter type (from long to int). * javax/crypto/ExemptionMechanism.java (finalize): Added. * javax/crypto/Mac.java (getMacLength): Made final. (clone): Made final. * javax/imageio/ImageIO.java: Added private constructor. * javax/imageio/stream/ImageInputStreamImpl.java (checkClosed): Made final. * javax/net/ssl/SSLPermission.java: Made final. * javax/print/DocFlavor.java (hostEncoding): Added work-around to prevent the field from being a compile time constant. * javax/print/attribute/AttributeSetUtilities.java: Added private constructor. (UnmodifiableDocAttributeSet): Made private. (UnmodifiablePrintJobAttributeSet): Made private. (UnmodifiablePrintRequestAttributeSet): Made private. (UnmodifiablePrintServiceAttributeSet): Made private. (SynchronizedAttributeSet): Made private. (SynchronizedDocAttributeSet): Made private. (SynchronizedPrintJobAttributeSet): Made private. (SynchronizedPrintRequestAttributeSet): Made private. (SynchronizedPrintServiceAttributeSet): Made private. * javax/security/auth/PrivateCredentialPermission.java: Made final.
* * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don'tTom Tromey2004-10-251-1/+5
| | | | | | | | | | | | | initialize `iter'. * gnu/java/text/SentenceBreakIterator.java (SentenceBreakIterator): Don't initialize `iter'. * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't initialize `iter'. * gnu/java/text/CharacterBreakIterator.java (CharacterBreakIterator): Don't initialize `iter'. * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New constructor. * java/text/BreakIterator.java: Updated documentation.
* 2004-10-22 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-229-47/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/Math.java * java/lang/StackTraceElement.java * java/nio/Buffer.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 * java/nio/charset/Charset.java * java/rmi/server/RMIClassLoader.java * java/rmi/server/RMISocketFactory.java * java/security/Policy.java * java/text/ChoiceFormat.java * java/text/CollationElementIterator.java * java/text/DateFormat.java * java/text/DecimalFormat.java * java/text/DecimalFormatSymbols.java * java/text/MessageFormat.java * java/text/NumberFormat.java * java/text/RuleBasedCollator.java * java/text/SimpleDateFormat.java * java/util/BitSet.java * java/util/Calendar.java * java/util/Collections.java * java/util/IdentityHashMap.java * java/util/Locale.java * java/util/TreeMap.java * java/util/logging/LogRecord.java * java/util/logging/XMLFormatter.java * java/util/prefs/AbstractPreferences.java * java/util/prefs/Preferences.java * javax/crypto/interfaces/DHPrivateKey.java * javax/crypto/interfaces/DHPublicKey.java * javax/crypto/interfaces/PBEKey.java * javax/net/ssl/HandshakeCompletedEvent.java * javax/security/auth/Subject.java
* 2004-10-21 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-211-0/+1
| | | | | | | | | | | * java/net/NetworkInterface.java, java/text/Format.java, javax/security/auth/x500/X500Principal.java, javax/security/auth/x500/X500PrivateCredential.java, javax/security/cert/X509CertBridge.java, javax/security/sasl/Sasl.java, javax/sql/XAConnection.java: Import cleanup.
* 2004-10-20 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * java/io/File.java: Fixed @author tag to be HTML compatible. * java/sql/Timestamp.java, java/text/AttributedCharacterIterator.java, java/text/AttributedString.java, java/util/zip/CheckedOutputStream.java, java/util/zip/DeflaterOutputStream.java, java/util/zip/GZIPInputStream.java, java/util/zip/ZipFile.java, javax/crypto/Cipher.java, javax/crypto/ExemptionMechanismException.java, javax/crypto/SecretKey.java, javax/crypto/SecretKeyFactory.java, javax/naming/directory/ModificationItem.java, javax/naming/directory/SearchControls.java, javax/naming/event/NamingListener.java, javax/naming/ldap/Control.java, javax/naming/ldap/ExtendedResponse.java, javax/net/ssl/SSLSocketFactory.java: Reorganized imports and fixed copyright headers.
* 2004-10-18 Michael Koch <konqueror@gmx.de>Michael Koch2004-10-181-2/+2
| | | | | * java/text/RuleBasedCollator.java: Reorganized import statements.
* * java/text/MessageFormat.java (Field): Constructor nowTom Tromey2004-09-281-1/+1
| | | | protected.
* * java/awt/Canvas.javaAndrew John Hughes2004-09-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | (AccessibleAWTCanvas): added serialization UID * java/awt/Label.java (AccessibleAWTLabel): added serialization UID * java/net/Inet4Address.java (Inet4Address): added comment to serialization UID * java/text/Format.java (Format): added comment to serialization UID * javax/rmi/CORBA/Stub.java (Stub): added serialization UID * javax/security/auth/PrivateCredentialPermission.java (PrivateCredentialPermission): added serialization UID * javax/swing/JRootPane.java (AccessibleJRootPane): added comment to existing UID * javax/swing/JSpinner.java (DefaultEditor): added serialization UID (NumberEditor): added serialization UID * javax/swing/SpinnerListModel.java (SpinnerListModel): added serialization UID * javax/swing/SpinnerNumberModel.java (SpinnerNumberModel): added serialization UID * javax/swing/text/html/HTML.java (UnknownTag): added serialization UID * org/ietf/jgss/GSSException.java (GSSException): added serialization UID
* Bug 9949.Tom Tromey2004-08-171-5/+7
| | | | | | * java/text/AttributedString.java (AttributedString): Use ArrayList to build array of attribute ranges. Don't use `attribs' before it is set.
* 2004-07-28 Michael Koch <konqueror@gmx.de>Michael Koch2004-07-282-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (SUBIDRS): Removed gnu, java, javax and vm. * configure.ac (AC_CONFIG_FILES): Removed all now unused Makefiles. * lib/Makefile.am (dist-hook): New target to put all files in the gnu, java, javax and vm directories into the dist tarball. * lib/gen-classlist.sh.in: Don't search for class files in ${top_builddir}/java and ${top_builddir}/javax. There are none. * gnu/classpath/.cvsignore, gnu/classpath/Makefile.am, gnu/.cvsignore, gnu/java/awt/.cvsignore, gnu/java/awt/image/.cvsignore, gnu/java/awt/image/Makefile.am, gnu/java/awt/Makefile.am, gnu/java/awt/peer/.cvsignore, gnu/java/awt/peer/gtk/.cvsignore, gnu/java/awt/peer/gtk/Makefile.am, gnu/java/awt/peer/Makefile.am, gnu/java/beans/.cvsignore, gnu/java/beans/editors/.cvsignore, gnu/java/beans/editors/Makefile.am, gnu/java/beans/info/.cvsignore, gnu/java/beans/info/Makefile.am, gnu/java/beans/Makefile.am, gnu/java/.cvsignore, gnu/java/io/.cvsignore, gnu/java/io/decode/.cvsignore, gnu/java/io/decode/Makefile.am, gnu/java/io/encode/.cvsignore, gnu/java/io/encode/Makefile.am, gnu/java/io/Makefile.am, gnu/java/lang/.cvsignore, gnu/java/lang/Makefile.am, gnu/java/lang/reflect/.cvsignore, gnu/java/lang/reflect/Makefile.am, gnu/java/locale/.cvsignore, gnu/java/locale/Makefile.am, gnu/java/Makefile.am, gnu/java/math/.cvsignore, gnu/java/math/Makefile.am, gnu/java/net/content/.cvsignore, gnu/java/net/content/Makefile.am, gnu/java/net/content/text/.cvsignore, gnu/java/net/content/text/Makefile.am, gnu/java/net/.cvsignore, gnu/java/net/Makefile.am, gnu/java/net/protocol/.cvsignore, gnu/java/net/protocol/file/.cvsignore, gnu/java/net/protocol/file/Makefile.am, gnu/java/net/protocol/http/.cvsignore, gnu/java/net/protocol/http/Makefile.am, gnu/java/net/protocol/jar/.cvsignore, gnu/java/net/protocol/jar/Makefile.am, gnu/java/net/protocol/Makefile.am, gnu/java/nio/channels/.cvsignore, gnu/java/nio/channels/Makefile.am, gnu/java/nio/charset/.cvsignore, gnu/java/nio/charset/Makefile.am, gnu/java/nio/.cvsignore, gnu/java/nio/Makefile.am, gnu/java/rmi/.cvsignore, gnu/java/rmi/dgc/.cvsignore, gnu/java/rmi/dgc/Makefile.am, gnu/java/rmi/Makefile.am, gnu/java/rmi/registry/.cvsignore, gnu/java/rmi/registry/Makefile.am, gnu/java/rmi/rmic/.cvsignore, gnu/java/rmi/rmic/Makefile.am, gnu/java/rmi/server/.cvsignore, gnu/java/rmi/server/Makefile.am, gnu/java/security/action/Makefile.am, gnu/java/security/.cvsignore, gnu/java/security/der/.cvsignore, gnu/java/security/der/Makefile.am, gnu/java/security/Makefile.am, gnu/java/security/provider/.cvsignore, gnu/java/security/provider/Makefile.am, gnu/java/security/util/.cvsignore, gnu/java/security/util/Makefile.am, gnu/java/security/x509/.cvsignore, gnu/java/security/x509/Makefile.am, gnu/java/text/.cvsignore, gnu/java/text/Makefile.am, gnu/java/util/.cvsignore, gnu/java/util/Makefile.am, gnu/java/util/prefs/.cvsignore, gnu/java/util/prefs/Makefile.am, gnu/javax/.cvsignore, gnu/javax/Makefile.am, gnu/javax/rmi/CORBA/.cvsignore, gnu/javax/rmi/CORBA/Makefile.am, gnu/javax/rmi/.cvsignore, gnu/javax/rmi/Makefile.am, gnu/Makefile.am, gnu/regexp/.cvsignore, gnu/regexp/Makefile.am, java/applet/.cvsignore, java/applet/Makefile.am, java/awt/color/.cvsignore, java/awt/color/Makefile.am, java/awt/.cvsignore, java/awt/datatransfer/.cvsignore, java/awt/datatransfer/Makefile.am, java/awt/dnd/.cvsignore, java/awt/dnd/Makefile.am, java/awt/dnd/peer/.cvsignore, java/awt/dnd/peer/Makefile.am, java/awt/event/.cvsignore, java/awt/event/Makefile.am, java/awt/font/.cvsignore, java/awt/font/Makefile.am, java/awt/geom/.cvsignore, java/awt/geom/Makefile.am, java/awt/image/.cvsignore, java/awt/image/Makefile.am, java/awt/image/renderable/.cvsignore, java/awt/image/renderable/Makefile.am, java/awt/im/.cvsignore, java/awt/im/Makefile.am, java/awt/im/spi/.cvsignore, java/awt/im/spi/Makefile.am, java/awt/Makefile.am, java/awt/peer/.cvsignore, java/awt/peer/Makefile.am, java/awt/print/.cvsignore, java/awt/print/Makefile.am, java/beans/beancontext/.cvsignore, java/beans/beancontext/Makefile.am, java/beans/.cvsignore, java/beans/Makefile.am, java/.cvsignore, java/io/.cvsignore, java/io/Makefile.am, java/lang/.cvsignore, java/lang/Makefile.am, java/lang/ref/.cvsignore, java/lang/reflect/.cvsignore, java/lang/reflect/Makefile.am, java/lang/ref/Makefile.am, java/Makefile.am, java/math/.cvsignore, java/math/Makefile.am, java/net/.cvsignore, java/net/Makefile.am, java/nio/channels/.cvsignore, java/nio/channels/Makefile.am, java/nio/channels/spi/.cvsignore, java/nio/channels/spi/Makefile.am, java/nio/charset/.cvsignore, java/nio/charset/Makefile.am, java/nio/charset/spi/.cvsignore, java/nio/charset/spi/Makefile.am, java/nio/.cvsignore, java/nio/Makefile.am, java/rmi/activation/.cvsignore, java/rmi/activation/Makefile.am, java/rmi/.cvsignore, java/rmi/dgc/.cvsignore, java/rmi/dgc/Makefile.am, java/rmi/Makefile.am, java/rmi/registry/.cvsignore, java/rmi/registry/Makefile.am, java/rmi/server/.cvsignore, java/rmi/server/Makefile.am, java/security/acl/.cvsignore, java/security/acl/Makefile.am, java/security/cert/.cvsignore, java/security/cert/Makefile.am, java/security/.cvsignore, java/security/interfaces/.cvsignore, java/security/interfaces/Makefile.am, java/security/Makefile.am, java/security/spec/.cvsignore, java/security/spec/Makefile.am, java/sql/.cvsignore, java/sql/Makefile.am, java/text/.cvsignore, java/text/Makefile.am, java/util/.cvsignore, java/util/jar/.cvsignore, java/util/jar/Makefile.am, java/util/logging/.cvsignore, java/util/logging/Makefile.am, java/util/Makefile.am, java/util/prefs/.cvsignore, java/util/prefs/Makefile.am, java/util/regex/.cvsignore, java/util/regex/Makefile.am, java/util/zip/.cvsignore, java/util/zip/Makefile.am, javax/accessibility/.cvsignore, javax/accessibility/Makefile.am, javax/.cvsignore, javax/imageio/.cvsignore, javax/imageio/event/.cvsignore, javax/imageio/event/Makefile.am, javax/imageio/Makefile.am, javax/imageio/spi/.cvsignore, javax/imageio/spi/Makefile.am, javax/imageio/stream/.cvsignore, javax/imageio/stream/Makefile.am, javax/Makefile.am, javax/naming/.cvsignore, javax/naming/directory/.cvsignore, javax/naming/directory/Makefile.am, javax/naming/event/.cvsignore, javax/naming/event/Makefile.am, javax/naming/ldap/.cvsignore, javax/naming/ldap/Makefile.am, javax/naming/Makefile.am, javax/naming/spi/.cvsignore, javax/naming/spi/Makefile.am, javax/print/attribute/.cvsignore, javax/print/attribute/Makefile.am, javax/print/attribute/standard/Makefile.am, javax/print/.cvsignore, javax/print/event/.cvsignore, javax/print/event/Makefile.am, javax/print/Makefile.am, javax/rmi/CORBA/.cvsignore, javax/rmi/CORBA/Makefile.am, javax/rmi/.cvsignore, javax/rmi/Makefile.am, javax/security/auth/.cvsignore, javax/security/auth/Makefile.am, javax/security/auth/x500/.cvsignore, javax/security/auth/x500/Makefile.am, javax/security/.cvsignore, javax/security/Makefile.am, javax/sql/.cvsignore, javax/sql/Makefile.am, javax/swing/border/.cvsignore, javax/swing/border/Makefile.am, javax/swing/colorchooser/.cvsignore, javax/swing/colorchooser/Makefile.am, javax/swing/.cvsignore, javax/swing/event/.cvsignore, javax/swing/event/Makefile.am, javax/swing/filechooser/.cvsignore, javax/swing/filechooser/Makefile.am, javax/swing/Makefile.am, javax/swing/plaf/basic/.cvsignore, javax/swing/plaf/basic/Makefile.am, javax/swing/plaf/.cvsignore, javax/swing/plaf/Makefile.am, javax/swing/plaf/metal/.cvsignore, javax/swing/plaf/metal/Makefile.am, javax/swing/table/.cvsignore, javax/swing/table/Makefile.am, javax/swing/text/.cvsignore, javax/swing/text/html/.cvsignore, javax/swing/text/html/Makefile.am, javax/swing/text/html/parser/.cvsignore, javax/swing/text/html/parser/Makefile.am, javax/swing/text/Makefile.am, javax/swing/tree/.cvsignore, javax/swing/tree/Makefile.am, javax/swing/undo/.cvsignore, javax/swing/undo/Makefile.am, javax/transaction/.cvsignore, javax/transaction/Makefile.am, javax/transaction/xa/.cvsignore, javax/transaction/xa/Makefile.am, vm/reference/gnu/.cvsignore, vm/reference/gnu/java/.cvsignore, vm/reference/gnu/java/Makefile.am, vm/reference/gnu/java/nio/.cvsignore, vm/reference/gnu/java/nio/Makefile.am, vm/reference/gnu/Makefile.am, vm/reference/java/.cvsignore, vm/reference/java/io/.cvsignore, vm/reference/java/io/Makefile.am, vm/reference/java/lang/.cvsignore, vm/reference/java/lang/Makefile.am, vm/reference/java/lang/reflect/.cvsignore, vm/reference/java/lang/reflect/Makefile.am, vm/reference/java/Makefile.am, vm/reference/java/security/.cvsignore, vm/reference/java/security/Makefile.am: Removed.
* 2004-07-15 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-07-151-23/+22
| | | | | | * java/text/CollationElementIterator.java (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] (setText): Use ArrayList instead of Vector.
* 2004-07-08 Ito Kazumitsu <kaz@maczuka.gcd.org>Mark Wielaard2004-07-081-36/+33
| | | | | | | * java/text/MessageFormat.java (formatInternal): Append "{n}" if argument n is unavailable. (format(Object, StringBuffer, FieldPosition)): This should be equivalent to format(Object[], StringBuffer, FieldPosition).
* 2003-06-27 Dalibor Topic <robilad@kaffe.org>Mark Wielaard2004-06-281-2/+5
| | | | | * java/text/DateFormat.java (parse): Improved javadoc. Improved exception message.
* 2004-06-15 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-06-156-6/+6
| | | | | | | | | | | | | | * java/util/Calendar.java: Use getSystemClassLoader as argument for ResourceBundle.getBundle() calls. * java/util/GregorianCalendar.java: Likewise. * java/util/Currency.java: Likewise. * java/text/BreakIterator.java: Likewise. * java/text/Collator.java: Likewise. * java/text/DateFormat.java: Likewise. * java/text/DateFormatSymbols.java: Likewise. * java/text/DecimalFormatSymbols.java: Likewise. * java/text/NumberFormat.java: Likewise. * java/awt/Window.java: Likewise.
* 2004-06-15 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-06-156-6/+7
| | | | | | | | | | | | | | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader argument. * java/util/GregorianCalendar.java: Likewise. * java/util/Currency.java: Likewise. * java/text/BreakIterator.java: Likewise. * java/text/Collator.java: Likewise. * java/text/DateFormat.java: Likewise. * java/text/DateFormatSymbols.java: Likewise. * java/text/DecimalFormatSymbols.java: Likewise. * java/text/NumberFormat.java: Likewise. * java/awt/Window.java: Likewise.
* 2004-06-04 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-06-041-22/+21
| | | | | | | | | * java/text/RuleBasedCollator.java (mergeRules): Use ArrayList instead of Vector. (subParseString): likewise. (parseString): likewise. (buildCollationVector): likewise. (getCollationKey): likewise.
* 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-05-302-49/+62
| | | | | | | | | | | | | * java/text/RuleBasedCollator.java (CollationElement.CollationElement): Removed unused constructor. New argument for the other one. (subParseString): Mark the element as ignorable but do not erase them from the database. (compare): Take into account the ignore field for ignorable elements. (buildCollationVector): Use the ignore field now. * java/text/CollationElementIterator.java (setText): Keep ignorable characters.
* 2004-05-20 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-05-204-36/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/text/CollationElementIterator.java (nextBlock, previousBlock): Use text_indexes to compute textIndex. (setOffset): Use text_indexes to chose the right position. (text_indexes): New field. (setText): Build text_indexes. Better handling of expansion ordering. * java/text/RuleBasedCollator.java (CollationElement, CollationSorter): Made static. (last_tertiary_value, SPECIAL_UNKNOWN_SEQ): Introduced special collation elements for unknown character this is for sequence using resets. (mergeRules): Fixed insertion point. (buildCollationVector): Initialize last_tertiary_value. (compare): Handle special cases of accented characters. (getDefaultAccentedElement): New method. (getCollationFixed): Fixed key building. * java/text/DecimalFormat.java (parse): Fixed parsing of decimal strings. Number of maximum digits to be read should now work. * java/text/SimpleDateFormat.java: (SimpleDateFormat): Set maximumFractionDigit to 0 for the number formatter. This fixes DateFormatTest.
* 2004-05-01 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-05-011-17/+132
| | | | | | | * 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.
* * java/text/AttributedString.java: Cleaned up imports.Tom Tromey2004-04-291-1/+0
| | | | | * java/util/zip/Deflater.java (strategy): Removed. * java/util/zip/DeflaterEngine.java (buffer): Removed.
* 2004-04-28 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-04-286-642/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. * gnu/java/text/Makefile.am: Added new files to EXTRA_DIST. * java/text/Makefile.am: Removed moved classes from EXTRA_DIST. 2004-04-28 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-04-28 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-04-28 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-04-28 Guilhem Lavaux <guilhem@kaffe.org> * java/text/Format.java: Updated importations. Removed unnecessary classes.
* * java/text/Format.java: Cleaned up imports.Tom Tromey2004-04-232-8/+2
| | | | | | | | | | | | | | * 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. * java/util/zip/DeflaterHuffman.java (buildCodes): Removed unused variable.
* * gnu/java/security/der/DERReader.java: Call static methods staticly.Mark Wielaard2004-04-231-8/+8
| | | | | | | | | | | | | | | | | * java/awt/TextComponent.java (select): Use selectionEnd parameter. * java/lang/System.java (runFinalizersOnExit): Call static Runtime.runFinalizersOnExit staticly. * java/net/URL.java (set(String, String, int, String, String, String, String, String)): Assign this.file to path or path + "?" + query. * java/text/RuleBasedCollator.java: Call static methods staticly.A * java/util/Arrays.java: Likewise. * 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.
* cleaned up imports in java.textDalibor Topic2004-04-237-17/+13
| | | | | | | | | | | | | 2004-04-22 Dalibor Topic <robilad@kaffe.org> java/text/AttributedString.java, java/text/AttributedStringIterator.java, java/text/CollationElementIterator.java, java/text/Collator.java, java/text/DecimalFormatSymbols.java, java/text/NumberFormat.java, java/text/RuleBasedCollator.java: Cleaned up imports.